codex 1.8.2__py3-none-any.whl → 1.8.4__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 (413) hide show
  1. codex/librarian/scribe/importer/read/extract.py +5 -3
  2. codex/librarian/scribe/importer/search/sync_m2m.py +2 -2
  3. codex/static_root/assets/{VCheckbox-B2ZlilbV.28184c7a94e4.js → VCheckbox-BUS-Yeeg.7324b2d79f7e.js} +1 -1
  4. codex/static_root/assets/VCheckbox-BUS-Yeeg.7324b2d79f7e.js.br +0 -0
  5. codex/static_root/assets/VCheckbox-BUS-Yeeg.7324b2d79f7e.js.gz +0 -0
  6. codex/static_root/assets/{VCheckbox-B2ZlilbV.js → VCheckbox-BUS-Yeeg.js} +1 -1
  7. codex/static_root/assets/VCheckbox-BUS-Yeeg.js.br +0 -0
  8. codex/static_root/assets/VCheckbox-BUS-Yeeg.js.gz +0 -0
  9. codex/static_root/assets/{VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js → VCheckboxBtn-BZqfedDW.52d389bdccde.js} +1 -1
  10. codex/static_root/assets/VCheckboxBtn-BZqfedDW.52d389bdccde.js.br +0 -0
  11. codex/static_root/assets/VCheckboxBtn-BZqfedDW.52d389bdccde.js.gz +0 -0
  12. codex/static_root/assets/{VCheckboxBtn-h7KZtjJ5.js → VCheckboxBtn-BZqfedDW.js} +1 -1
  13. codex/static_root/assets/VCheckboxBtn-BZqfedDW.js.br +0 -0
  14. codex/static_root/assets/VCheckboxBtn-BZqfedDW.js.gz +0 -0
  15. codex/static_root/assets/{VCombobox-BYYvIrtG.1117a51eb643.js → VCombobox-D1Ha7FmT.76d5650a920c.js} +1 -1
  16. codex/static_root/assets/VCombobox-D1Ha7FmT.76d5650a920c.js.br +0 -0
  17. codex/static_root/assets/VCombobox-D1Ha7FmT.76d5650a920c.js.gz +0 -0
  18. codex/static_root/assets/{VCombobox-BYYvIrtG.js → VCombobox-D1Ha7FmT.js} +1 -1
  19. codex/static_root/assets/VCombobox-D1Ha7FmT.js.br +0 -0
  20. codex/static_root/assets/VCombobox-D1Ha7FmT.js.gz +0 -0
  21. codex/static_root/assets/{VDialog-DnPP-omh.0ce4b25f53a2.js → VDialog-CwCy5caJ.31afcb45bd4b.js} +1 -1
  22. codex/static_root/assets/VDialog-CwCy5caJ.31afcb45bd4b.js.br +0 -0
  23. codex/static_root/assets/VDialog-CwCy5caJ.31afcb45bd4b.js.gz +0 -0
  24. codex/static_root/assets/{VDialog-DnPP-omh.js → VDialog-CwCy5caJ.js} +1 -1
  25. codex/static_root/assets/VDialog-CwCy5caJ.js.br +0 -0
  26. codex/static_root/assets/VDialog-CwCy5caJ.js.gz +0 -0
  27. codex/static_root/assets/{VDivider-B71_-qD9.e2cbea33d500.js → VDivider-QEWmQwZy.89d318a32d70.js} +1 -1
  28. codex/static_root/assets/VDivider-QEWmQwZy.89d318a32d70.js.br +0 -0
  29. codex/static_root/assets/VDivider-QEWmQwZy.89d318a32d70.js.gz +0 -0
  30. codex/static_root/assets/{VDivider-B71_-qD9.js → VDivider-QEWmQwZy.js} +1 -1
  31. codex/static_root/assets/VDivider-QEWmQwZy.js.br +0 -0
  32. codex/static_root/assets/VDivider-QEWmQwZy.js.gz +0 -0
  33. codex/static_root/assets/{VExpansionPanels-BIGcavfd.e535f56adb4e.js → VExpansionPanels-Dzh4hOyH.dd0796960676.js} +1 -1
  34. codex/static_root/assets/VExpansionPanels-Dzh4hOyH.dd0796960676.js.br +0 -0
  35. codex/static_root/assets/VExpansionPanels-Dzh4hOyH.dd0796960676.js.gz +0 -0
  36. codex/static_root/assets/{VExpansionPanels-BIGcavfd.js → VExpansionPanels-Dzh4hOyH.js} +1 -1
  37. codex/static_root/assets/VExpansionPanels-Dzh4hOyH.js.br +0 -0
  38. codex/static_root/assets/VExpansionPanels-Dzh4hOyH.js.gz +0 -0
  39. codex/static_root/assets/{VForm-DYkeLPZX.b4cf1062a1ae.js → VForm-CKTqFmYD.837ad5ecbb66.js} +1 -1
  40. codex/static_root/assets/VForm-CKTqFmYD.837ad5ecbb66.js.br +0 -0
  41. codex/static_root/assets/VForm-CKTqFmYD.837ad5ecbb66.js.gz +0 -0
  42. codex/static_root/assets/{VForm-DYkeLPZX.js → VForm-CKTqFmYD.js} +1 -1
  43. codex/static_root/assets/VForm-CKTqFmYD.js.br +0 -0
  44. codex/static_root/assets/VForm-CKTqFmYD.js.gz +0 -0
  45. codex/static_root/assets/{VRadioGroup-BTcnaJxP.48f9437be4cc.js → VRadioGroup-B2m47wR5.cf163036f69b.js} +1 -1
  46. codex/static_root/assets/VRadioGroup-B2m47wR5.cf163036f69b.js.br +0 -0
  47. codex/static_root/assets/VRadioGroup-B2m47wR5.cf163036f69b.js.gz +0 -0
  48. codex/static_root/assets/{VRadioGroup-BTcnaJxP.js → VRadioGroup-B2m47wR5.js} +1 -1
  49. codex/static_root/assets/VRadioGroup-B2m47wR5.js.br +0 -0
  50. codex/static_root/assets/VRadioGroup-B2m47wR5.js.gz +0 -0
  51. codex/static_root/assets/{VSelect-BpsRhDw4.e48026d906d5.js → VSelect-De33kkeP.0679e23c959b.js} +1 -1
  52. codex/static_root/assets/VSelect-De33kkeP.0679e23c959b.js.br +0 -0
  53. codex/static_root/assets/VSelect-De33kkeP.0679e23c959b.js.gz +0 -0
  54. codex/static_root/assets/{VSelect-BpsRhDw4.js → VSelect-De33kkeP.js} +1 -1
  55. codex/static_root/assets/VSelect-De33kkeP.js.br +0 -0
  56. codex/static_root/assets/VSelect-De33kkeP.js.gz +0 -0
  57. codex/static_root/assets/{VSelectionControl-DShFWXoi.d9dc2c02beab.js → VSelectionControl-Cib41eud.c30c8e31df2a.js} +1 -1
  58. codex/static_root/assets/VSelectionControl-Cib41eud.c30c8e31df2a.js.br +0 -0
  59. codex/static_root/assets/VSelectionControl-Cib41eud.c30c8e31df2a.js.gz +0 -0
  60. codex/static_root/assets/{VSelectionControl-DShFWXoi.js → VSelectionControl-Cib41eud.js} +1 -1
  61. codex/static_root/assets/VSelectionControl-Cib41eud.js.br +0 -0
  62. codex/static_root/assets/VSelectionControl-Cib41eud.js.gz +0 -0
  63. codex/static_root/assets/{VTable-DdYDbUS9.9283748ab334.js → VTable-DBmzLdWQ.1b4c12852e73.js} +1 -1
  64. codex/static_root/assets/VTable-DBmzLdWQ.1b4c12852e73.js.br +0 -0
  65. codex/static_root/assets/VTable-DBmzLdWQ.1b4c12852e73.js.gz +0 -0
  66. codex/static_root/assets/{VTable-DdYDbUS9.js → VTable-DBmzLdWQ.js} +1 -1
  67. codex/static_root/assets/VTable-DBmzLdWQ.js.br +0 -0
  68. codex/static_root/assets/VTable-DBmzLdWQ.js.gz +0 -0
  69. codex/static_root/assets/{VWindowItem-DqU2Y2vf.5d09e765604b.js → VWindowItem-BeK4JUp7.4e60834c43b0.js} +1 -1
  70. codex/static_root/assets/VWindowItem-BeK4JUp7.4e60834c43b0.js.br +0 -0
  71. codex/static_root/assets/VWindowItem-BeK4JUp7.4e60834c43b0.js.gz +0 -0
  72. codex/static_root/assets/{VWindowItem-DqU2Y2vf.js → VWindowItem-BeK4JUp7.js} +1 -1
  73. codex/static_root/assets/VWindowItem-BeK4JUp7.js.br +0 -0
  74. codex/static_root/assets/VWindowItem-BeK4JUp7.js.gz +0 -0
  75. codex/static_root/assets/{admin-BNZOvNK8.8a1ec771dfce.js → admin-Bhck3Mck.c3ea899835a2.js} +1 -1
  76. codex/static_root/assets/admin-Bhck3Mck.c3ea899835a2.js.br +0 -0
  77. codex/static_root/assets/admin-Bhck3Mck.c3ea899835a2.js.gz +0 -0
  78. codex/static_root/assets/{admin-BNZOvNK8.js → admin-Bhck3Mck.js} +1 -1
  79. codex/static_root/assets/admin-Bhck3Mck.js.br +0 -0
  80. codex/static_root/assets/admin-Bhck3Mck.js.gz +0 -0
  81. codex/static_root/assets/{admin-CIbnFqxt.aba0cb32c63c.js → admin-CDRC0Rok.0427890caa22.js} +1 -1
  82. codex/static_root/assets/admin-CDRC0Rok.0427890caa22.js.br +0 -0
  83. codex/static_root/assets/admin-CDRC0Rok.0427890caa22.js.gz +0 -0
  84. codex/static_root/assets/{admin-CIbnFqxt.js → admin-CDRC0Rok.js} +1 -1
  85. codex/static_root/assets/admin-CDRC0Rok.js.br +0 -0
  86. codex/static_root/assets/admin-CDRC0Rok.js.gz +0 -0
  87. codex/static_root/assets/{admin-menu-UWxwskvN.dfef156c4ecf.js → admin-menu-BZRid1Ps.3402782e61d1.js} +1 -1
  88. codex/static_root/assets/admin-menu-BZRid1Ps.3402782e61d1.js.br +0 -0
  89. codex/static_root/assets/admin-menu-BZRid1Ps.3402782e61d1.js.gz +0 -0
  90. codex/static_root/assets/{admin-menu-UWxwskvN.js → admin-menu-BZRid1Ps.js} +1 -1
  91. codex/static_root/assets/admin-menu-BZRid1Ps.js.br +0 -0
  92. codex/static_root/assets/admin-menu-BZRid1Ps.js.gz +0 -0
  93. codex/static_root/assets/{admin-settings-button-progress-COcdrWwS.305b57c54f47.js → admin-settings-button-progress-DnsCBRll.5fdbf19092e8.js} +1 -1
  94. codex/static_root/assets/admin-settings-button-progress-DnsCBRll.5fdbf19092e8.js.br +2 -0
  95. codex/static_root/assets/admin-settings-button-progress-DnsCBRll.5fdbf19092e8.js.gz +0 -0
  96. codex/static_root/assets/{admin-settings-button-progress-COcdrWwS.js → admin-settings-button-progress-DnsCBRll.js} +1 -1
  97. codex/static_root/assets/admin-settings-button-progress-DnsCBRll.js.br +2 -0
  98. codex/static_root/assets/admin-settings-button-progress-DnsCBRll.js.gz +0 -0
  99. codex/static_root/assets/{browser-DMRabbl3.a43f49e6d015.js → browser-Dr_bPvQw.45714261db30.js} +1 -1
  100. codex/static_root/assets/browser-Dr_bPvQw.45714261db30.js.br +0 -0
  101. codex/static_root/assets/browser-Dr_bPvQw.45714261db30.js.gz +0 -0
  102. codex/static_root/assets/{browser-DMRabbl3.js → browser-Dr_bPvQw.js} +1 -1
  103. codex/static_root/assets/browser-Dr_bPvQw.js.br +0 -0
  104. codex/static_root/assets/browser-Dr_bPvQw.js.gz +0 -0
  105. codex/static_root/assets/{change-password-dialog-CsooBUm0.c929eba44730.js → change-password-dialog-DgVD2Irc.0bc698baa5dd.js} +1 -1
  106. codex/static_root/assets/change-password-dialog-DgVD2Irc.0bc698baa5dd.js.br +0 -0
  107. codex/static_root/assets/change-password-dialog-DgVD2Irc.0bc698baa5dd.js.gz +0 -0
  108. codex/static_root/assets/{change-password-dialog-CsooBUm0.js → change-password-dialog-DgVD2Irc.js} +1 -1
  109. codex/static_root/assets/change-password-dialog-DgVD2Irc.js.br +0 -0
  110. codex/static_root/assets/change-password-dialog-DgVD2Irc.js.gz +0 -0
  111. codex/static_root/assets/{confirm-dialog-Ct8FD21H.3fec98632388.js → confirm-dialog-CzIH9jqe.1dfcb7de1a9f.js} +1 -1
  112. codex/static_root/assets/confirm-dialog-CzIH9jqe.1dfcb7de1a9f.js.br +0 -0
  113. codex/static_root/assets/confirm-dialog-CzIH9jqe.1dfcb7de1a9f.js.gz +0 -0
  114. codex/static_root/assets/{confirm-dialog-Ct8FD21H.js → confirm-dialog-CzIH9jqe.js} +1 -1
  115. codex/static_root/assets/confirm-dialog-CzIH9jqe.js.br +0 -0
  116. codex/static_root/assets/confirm-dialog-CzIH9jqe.js.gz +0 -0
  117. codex/static_root/assets/{datetime-column-jQlXmdps.d8479a23cdc5.js → datetime-column-dv3EPaad.c897aa7a3039.js} +1 -1
  118. codex/static_root/assets/datetime-column-dv3EPaad.c897aa7a3039.js.br +0 -0
  119. codex/static_root/assets/datetime-column-dv3EPaad.c897aa7a3039.js.gz +0 -0
  120. codex/static_root/assets/{datetime-column-jQlXmdps.js → datetime-column-dv3EPaad.js} +1 -1
  121. codex/static_root/assets/datetime-column-dv3EPaad.js.br +0 -0
  122. codex/static_root/assets/datetime-column-dv3EPaad.js.gz +0 -0
  123. codex/static_root/assets/{filter-6uJYHz1O.cc5fc35d3c24.js → filter-Db5Fln7r.0d58582de664.js} +1 -1
  124. codex/static_root/assets/filter-Db5Fln7r.0d58582de664.js.br +0 -0
  125. codex/static_root/assets/filter-Db5Fln7r.0d58582de664.js.gz +0 -0
  126. codex/static_root/assets/{filter-6uJYHz1O.js → filter-Db5Fln7r.js} +1 -1
  127. codex/static_root/assets/filter-Db5Fln7r.js.br +0 -0
  128. codex/static_root/assets/filter-Db5Fln7r.js.gz +0 -0
  129. codex/static_root/assets/{flag-tab-Dhxz4kfb.e95c21b919b5.js → flag-tab-BZ2kKZ5N.20ffe7c0b7bf.js} +1 -1
  130. codex/static_root/assets/flag-tab-BZ2kKZ5N.20ffe7c0b7bf.js.br +0 -0
  131. codex/static_root/assets/flag-tab-BZ2kKZ5N.20ffe7c0b7bf.js.gz +0 -0
  132. codex/static_root/assets/{flag-tab-Dhxz4kfb.js → flag-tab-BZ2kKZ5N.js} +1 -1
  133. codex/static_root/assets/flag-tab-BZ2kKZ5N.js.br +0 -0
  134. codex/static_root/assets/flag-tab-BZ2kKZ5N.js.gz +0 -0
  135. codex/static_root/assets/{forwardRefs-ChSAhOJC.js → forwardRefs-BtYmQRWE.83587cda5fc0.js} +1 -1
  136. codex/static_root/assets/forwardRefs-BtYmQRWE.83587cda5fc0.js.br +0 -0
  137. codex/static_root/assets/forwardRefs-BtYmQRWE.83587cda5fc0.js.gz +0 -0
  138. codex/static_root/assets/{forwardRefs-ChSAhOJC.6f8396e9fab3.js → forwardRefs-BtYmQRWE.js} +1 -1
  139. codex/static_root/assets/forwardRefs-BtYmQRWE.js.br +0 -0
  140. codex/static_root/assets/forwardRefs-BtYmQRWE.js.gz +0 -0
  141. codex/static_root/assets/{group-tab-CyJtnpUL.847be73eb8f6.js → group-tab-CesC8o-T.d0a43da901be.js} +1 -1
  142. codex/static_root/assets/group-tab-CesC8o-T.d0a43da901be.js.br +0 -0
  143. codex/static_root/assets/group-tab-CesC8o-T.d0a43da901be.js.gz +0 -0
  144. codex/static_root/assets/{group-tab-CyJtnpUL.js → group-tab-CesC8o-T.js} +1 -1
  145. codex/static_root/assets/group-tab-CesC8o-T.js.br +0 -0
  146. codex/static_root/assets/group-tab-CesC8o-T.js.gz +0 -0
  147. codex/static_root/assets/{http-error-epAHz82x.5a5677a44602.js → http-error-DrBUwxBc.8787039f5cec.js} +1 -1
  148. codex/static_root/assets/http-error-DrBUwxBc.8787039f5cec.js.br +0 -0
  149. codex/static_root/assets/http-error-DrBUwxBc.8787039f5cec.js.gz +0 -0
  150. codex/static_root/assets/{http-error-epAHz82x.js → http-error-DrBUwxBc.js} +1 -1
  151. codex/static_root/assets/http-error-DrBUwxBc.js.br +0 -0
  152. codex/static_root/assets/http-error-DrBUwxBc.js.gz +0 -0
  153. codex/static_root/assets/{index-t0GPmIaB.b0ef8e18e375.js → index-C0my3yQ1.36ddbda3d37e.js} +1 -1
  154. codex/static_root/assets/index-C0my3yQ1.36ddbda3d37e.js.br +0 -0
  155. codex/static_root/assets/index-C0my3yQ1.36ddbda3d37e.js.gz +0 -0
  156. codex/static_root/assets/{index-t0GPmIaB.js → index-C0my3yQ1.js} +1 -1
  157. codex/static_root/assets/index-C0my3yQ1.js.br +0 -0
  158. codex/static_root/assets/index-C0my3yQ1.js.gz +0 -0
  159. codex/static_root/assets/{library-tab-CBNwfzuv.js → library-tab-DPHJtlEd.4c7e08aec414.js} +1 -1
  160. codex/static_root/assets/library-tab-DPHJtlEd.4c7e08aec414.js.br +0 -0
  161. codex/static_root/assets/library-tab-DPHJtlEd.4c7e08aec414.js.gz +0 -0
  162. codex/static_root/assets/{library-tab-CBNwfzuv.f135a8b11a7d.js → library-tab-DPHJtlEd.js} +1 -1
  163. codex/static_root/assets/library-tab-DPHJtlEd.js.br +0 -0
  164. codex/static_root/assets/library-tab-DPHJtlEd.js.gz +0 -0
  165. codex/static_root/assets/{main-rTP95ZK5.2b318541936a.js → main-CBIBLN5b.56d293f52ca6.js} +3 -3
  166. codex/static_root/assets/main-CBIBLN5b.56d293f52ca6.js.br +0 -0
  167. codex/static_root/assets/main-CBIBLN5b.56d293f52ca6.js.gz +0 -0
  168. codex/static_root/assets/{main-rTP95ZK5.js → main-CBIBLN5b.js} +3 -3
  169. codex/static_root/assets/main-CBIBLN5b.js.br +0 -0
  170. codex/static_root/assets/main-CBIBLN5b.js.gz +0 -0
  171. codex/static_root/assets/pager-full-pdf-DI-QlEmf.49318b2dfd3f.js +1 -0
  172. codex/static_root/assets/pager-full-pdf-DI-QlEmf.49318b2dfd3f.js.br +0 -0
  173. codex/static_root/assets/pager-full-pdf-DI-QlEmf.49318b2dfd3f.js.gz +0 -0
  174. codex/static_root/assets/pager-full-pdf-DI-QlEmf.js +1 -0
  175. codex/static_root/assets/pager-full-pdf-DI-QlEmf.js.br +0 -0
  176. codex/static_root/assets/pager-full-pdf-DI-QlEmf.js.gz +0 -0
  177. codex/static_root/assets/{pagination-toolbar-Dpvo4Mq8.19a89382cc22.js → pagination-toolbar-CoAXq9YN.aa7525342f11.js} +1 -1
  178. codex/static_root/assets/pagination-toolbar-CoAXq9YN.aa7525342f11.js.br +0 -0
  179. codex/static_root/assets/pagination-toolbar-CoAXq9YN.aa7525342f11.js.gz +0 -0
  180. codex/static_root/assets/{pagination-toolbar-Dpvo4Mq8.js → pagination-toolbar-CoAXq9YN.js} +1 -1
  181. codex/static_root/assets/pagination-toolbar-CoAXq9YN.js.br +0 -0
  182. codex/static_root/assets/pagination-toolbar-CoAXq9YN.js.gz +0 -0
  183. codex/static_root/assets/{pdf-doc-NgjosMDk.d62f72e2cdd5.js → pdf-doc-DGfmGYlA.ba1623aa7715.js} +1 -1
  184. codex/static_root/assets/pdf-doc-DGfmGYlA.ba1623aa7715.js.br +0 -0
  185. codex/static_root/assets/pdf-doc-DGfmGYlA.ba1623aa7715.js.gz +0 -0
  186. codex/static_root/assets/{pdf-doc-NgjosMDk.js → pdf-doc-DGfmGYlA.js} +1 -1
  187. codex/static_root/assets/pdf-doc-DGfmGYlA.js.br +0 -0
  188. codex/static_root/assets/pdf-doc-DGfmGYlA.js.gz +0 -0
  189. codex/static_root/assets/{reader-cxP2TezB.42da6623fbb5.js → reader-U6RQth6A.095d021092dd.js} +2 -2
  190. codex/static_root/assets/reader-U6RQth6A.095d021092dd.js.br +0 -0
  191. codex/static_root/assets/reader-U6RQth6A.095d021092dd.js.gz +0 -0
  192. codex/static_root/assets/{reader-cxP2TezB.js → reader-U6RQth6A.js} +2 -2
  193. codex/static_root/assets/reader-U6RQth6A.js.br +0 -0
  194. codex/static_root/assets/reader-U6RQth6A.js.gz +0 -0
  195. codex/static_root/assets/{relation-chips-B0aYMhRf.efeee784148f.js → relation-chips-C4BoTvJv.4a245330f997.js} +1 -1
  196. codex/static_root/assets/relation-chips-C4BoTvJv.4a245330f997.js.br +0 -0
  197. codex/static_root/assets/relation-chips-C4BoTvJv.4a245330f997.js.gz +0 -0
  198. codex/static_root/assets/{relation-chips-B0aYMhRf.js → relation-chips-C4BoTvJv.js} +1 -1
  199. codex/static_root/assets/relation-chips-C4BoTvJv.js.br +0 -0
  200. codex/static_root/assets/relation-chips-C4BoTvJv.js.gz +0 -0
  201. codex/static_root/assets/{settings-drawer-DAcFFkW0.d9a543c098c5.js → settings-drawer-DxBOD9ng.8b8b749e7724.js} +2 -2
  202. codex/static_root/assets/settings-drawer-DxBOD9ng.8b8b749e7724.js.br +0 -0
  203. codex/static_root/assets/settings-drawer-DxBOD9ng.8b8b749e7724.js.gz +0 -0
  204. codex/static_root/assets/{settings-drawer-DAcFFkW0.js → settings-drawer-DxBOD9ng.js} +2 -2
  205. codex/static_root/assets/settings-drawer-DxBOD9ng.js.br +0 -0
  206. codex/static_root/assets/settings-drawer-DxBOD9ng.js.gz +0 -0
  207. codex/static_root/assets/{ssrBoot-Wb95VZD1.ed47b47d3c05.js → ssrBoot-CRLVxq-1.b83b1b4b8e29.js} +1 -1
  208. codex/static_root/assets/ssrBoot-CRLVxq-1.b83b1b4b8e29.js.br +0 -0
  209. codex/static_root/assets/ssrBoot-CRLVxq-1.b83b1b4b8e29.js.gz +0 -0
  210. codex/static_root/assets/{ssrBoot-Wb95VZD1.js → ssrBoot-CRLVxq-1.js} +1 -1
  211. codex/static_root/assets/ssrBoot-CRLVxq-1.js.br +0 -0
  212. codex/static_root/assets/ssrBoot-CRLVxq-1.js.gz +0 -0
  213. codex/static_root/assets/{stats-tab-BrnDOFnQ.a65c1b0d139e.js → stats-tab-DikOLx9_.a6a703fc9501.js} +1 -1
  214. codex/static_root/assets/stats-tab-DikOLx9_.a6a703fc9501.js.br +0 -0
  215. codex/static_root/assets/stats-tab-DikOLx9_.a6a703fc9501.js.gz +0 -0
  216. codex/static_root/assets/{stats-tab-BrnDOFnQ.js → stats-tab-DikOLx9_.js} +1 -1
  217. codex/static_root/assets/stats-tab-DikOLx9_.js.br +0 -0
  218. codex/static_root/assets/stats-tab-DikOLx9_.js.gz +0 -0
  219. codex/static_root/assets/{task-tab-ZhK-Gdm1.c0ac180d65ed.js → task-tab-NvMiShar.fe041cff9c48.js} +1 -1
  220. codex/static_root/assets/task-tab-NvMiShar.fe041cff9c48.js.br +0 -0
  221. codex/static_root/assets/task-tab-NvMiShar.fe041cff9c48.js.gz +0 -0
  222. codex/static_root/assets/{task-tab-ZhK-Gdm1.js → task-tab-NvMiShar.js} +1 -1
  223. codex/static_root/assets/task-tab-NvMiShar.js.br +0 -0
  224. codex/static_root/assets/task-tab-NvMiShar.js.gz +0 -0
  225. codex/static_root/assets/{unauthorized-BQW6TgLt.f5e5fd8f0030.js → unauthorized-C_c4p1TM.bf7dc6249167.js} +1 -1
  226. codex/static_root/assets/unauthorized-C_c4p1TM.bf7dc6249167.js.br +0 -0
  227. codex/static_root/assets/unauthorized-C_c4p1TM.bf7dc6249167.js.gz +0 -0
  228. codex/static_root/assets/{unauthorized-BQW6TgLt.js → unauthorized-C_c4p1TM.js} +1 -1
  229. codex/static_root/assets/unauthorized-C_c4p1TM.js.br +0 -0
  230. codex/static_root/assets/unauthorized-C_c4p1TM.js.gz +0 -0
  231. codex/static_root/assets/{user-tab-D7CLZnGq.b39e06dbfa4c.js → user-tab-B9Nfgojx.903696a6e25e.js} +1 -1
  232. codex/static_root/assets/user-tab-B9Nfgojx.903696a6e25e.js.br +0 -0
  233. codex/static_root/assets/user-tab-B9Nfgojx.903696a6e25e.js.gz +0 -0
  234. codex/static_root/assets/{user-tab-D7CLZnGq.js → user-tab-B9Nfgojx.js} +1 -1
  235. codex/static_root/assets/user-tab-B9Nfgojx.js.br +0 -0
  236. codex/static_root/assets/user-tab-B9Nfgojx.js.gz +0 -0
  237. codex/static_root/{manifest.212b0e4d5235.json → manifest.f01588978268.json} +291 -291
  238. codex/static_root/manifest.f01588978268.json.br +0 -0
  239. codex/static_root/manifest.f01588978268.json.gz +0 -0
  240. codex/static_root/manifest.json +291 -291
  241. codex/static_root/manifest.json.br +0 -0
  242. codex/static_root/manifest.json.gz +0 -0
  243. codex/static_root/staticfiles.json +1 -1
  244. codex/views/browser/filters/search/field/column.py +1 -3
  245. codex/views/browser/filters/search/field/expression.py +3 -1
  246. codex/views/browser/params.py +1 -21
  247. codex/views/reader/params.py +1 -2
  248. codex/views/session.py +30 -4
  249. {codex-1.8.2.dist-info → codex-1.8.4.dist-info}/METADATA +2 -2
  250. {codex-1.8.2.dist-info → codex-1.8.4.dist-info}/RECORD +253 -253
  251. codex/static_root/assets/VCheckbox-B2ZlilbV.28184c7a94e4.js.br +0 -0
  252. codex/static_root/assets/VCheckbox-B2ZlilbV.28184c7a94e4.js.gz +0 -0
  253. codex/static_root/assets/VCheckbox-B2ZlilbV.js.br +0 -0
  254. codex/static_root/assets/VCheckbox-B2ZlilbV.js.gz +0 -0
  255. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js.br +0 -0
  256. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js.gz +0 -0
  257. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.js.br +0 -0
  258. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.js.gz +0 -0
  259. codex/static_root/assets/VCombobox-BYYvIrtG.1117a51eb643.js.br +0 -0
  260. codex/static_root/assets/VCombobox-BYYvIrtG.1117a51eb643.js.gz +0 -0
  261. codex/static_root/assets/VCombobox-BYYvIrtG.js.br +0 -0
  262. codex/static_root/assets/VCombobox-BYYvIrtG.js.gz +0 -0
  263. codex/static_root/assets/VDialog-DnPP-omh.0ce4b25f53a2.js.br +0 -0
  264. codex/static_root/assets/VDialog-DnPP-omh.0ce4b25f53a2.js.gz +0 -0
  265. codex/static_root/assets/VDialog-DnPP-omh.js.br +0 -0
  266. codex/static_root/assets/VDialog-DnPP-omh.js.gz +0 -0
  267. codex/static_root/assets/VDivider-B71_-qD9.e2cbea33d500.js.br +0 -0
  268. codex/static_root/assets/VDivider-B71_-qD9.e2cbea33d500.js.gz +0 -0
  269. codex/static_root/assets/VDivider-B71_-qD9.js.br +0 -0
  270. codex/static_root/assets/VDivider-B71_-qD9.js.gz +0 -0
  271. codex/static_root/assets/VExpansionPanels-BIGcavfd.e535f56adb4e.js.br +0 -0
  272. codex/static_root/assets/VExpansionPanels-BIGcavfd.e535f56adb4e.js.gz +0 -0
  273. codex/static_root/assets/VExpansionPanels-BIGcavfd.js.br +0 -0
  274. codex/static_root/assets/VExpansionPanels-BIGcavfd.js.gz +0 -0
  275. codex/static_root/assets/VForm-DYkeLPZX.b4cf1062a1ae.js.br +0 -0
  276. codex/static_root/assets/VForm-DYkeLPZX.b4cf1062a1ae.js.gz +0 -0
  277. codex/static_root/assets/VForm-DYkeLPZX.js.br +0 -0
  278. codex/static_root/assets/VForm-DYkeLPZX.js.gz +0 -0
  279. codex/static_root/assets/VRadioGroup-BTcnaJxP.48f9437be4cc.js.br +0 -0
  280. codex/static_root/assets/VRadioGroup-BTcnaJxP.48f9437be4cc.js.gz +0 -0
  281. codex/static_root/assets/VRadioGroup-BTcnaJxP.js.br +0 -0
  282. codex/static_root/assets/VRadioGroup-BTcnaJxP.js.gz +0 -0
  283. codex/static_root/assets/VSelect-BpsRhDw4.e48026d906d5.js.br +0 -0
  284. codex/static_root/assets/VSelect-BpsRhDw4.e48026d906d5.js.gz +0 -0
  285. codex/static_root/assets/VSelect-BpsRhDw4.js.br +0 -0
  286. codex/static_root/assets/VSelect-BpsRhDw4.js.gz +0 -0
  287. codex/static_root/assets/VSelectionControl-DShFWXoi.d9dc2c02beab.js.br +0 -0
  288. codex/static_root/assets/VSelectionControl-DShFWXoi.d9dc2c02beab.js.gz +0 -0
  289. codex/static_root/assets/VSelectionControl-DShFWXoi.js.br +0 -0
  290. codex/static_root/assets/VSelectionControl-DShFWXoi.js.gz +0 -0
  291. codex/static_root/assets/VTable-DdYDbUS9.9283748ab334.js.br +0 -0
  292. codex/static_root/assets/VTable-DdYDbUS9.9283748ab334.js.gz +0 -0
  293. codex/static_root/assets/VTable-DdYDbUS9.js.br +0 -0
  294. codex/static_root/assets/VTable-DdYDbUS9.js.gz +0 -0
  295. codex/static_root/assets/VWindowItem-DqU2Y2vf.5d09e765604b.js.br +0 -0
  296. codex/static_root/assets/VWindowItem-DqU2Y2vf.5d09e765604b.js.gz +0 -0
  297. codex/static_root/assets/VWindowItem-DqU2Y2vf.js.br +0 -0
  298. codex/static_root/assets/VWindowItem-DqU2Y2vf.js.gz +0 -0
  299. codex/static_root/assets/admin-BNZOvNK8.8a1ec771dfce.js.br +0 -0
  300. codex/static_root/assets/admin-BNZOvNK8.8a1ec771dfce.js.gz +0 -0
  301. codex/static_root/assets/admin-BNZOvNK8.js.br +0 -0
  302. codex/static_root/assets/admin-BNZOvNK8.js.gz +0 -0
  303. codex/static_root/assets/admin-CIbnFqxt.aba0cb32c63c.js.br +0 -0
  304. codex/static_root/assets/admin-CIbnFqxt.aba0cb32c63c.js.gz +0 -0
  305. codex/static_root/assets/admin-CIbnFqxt.js.br +0 -0
  306. codex/static_root/assets/admin-CIbnFqxt.js.gz +0 -0
  307. codex/static_root/assets/admin-menu-UWxwskvN.dfef156c4ecf.js.br +0 -0
  308. codex/static_root/assets/admin-menu-UWxwskvN.dfef156c4ecf.js.gz +0 -0
  309. codex/static_root/assets/admin-menu-UWxwskvN.js.br +0 -0
  310. codex/static_root/assets/admin-menu-UWxwskvN.js.gz +0 -0
  311. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.305b57c54f47.js.br +0 -2
  312. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.305b57c54f47.js.gz +0 -0
  313. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.js.br +0 -2
  314. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.js.gz +0 -0
  315. codex/static_root/assets/browser-DMRabbl3.a43f49e6d015.js.br +0 -0
  316. codex/static_root/assets/browser-DMRabbl3.a43f49e6d015.js.gz +0 -0
  317. codex/static_root/assets/browser-DMRabbl3.js.br +0 -0
  318. codex/static_root/assets/browser-DMRabbl3.js.gz +0 -0
  319. codex/static_root/assets/change-password-dialog-CsooBUm0.c929eba44730.js.br +0 -0
  320. codex/static_root/assets/change-password-dialog-CsooBUm0.c929eba44730.js.gz +0 -0
  321. codex/static_root/assets/change-password-dialog-CsooBUm0.js.br +0 -0
  322. codex/static_root/assets/change-password-dialog-CsooBUm0.js.gz +0 -0
  323. codex/static_root/assets/confirm-dialog-Ct8FD21H.3fec98632388.js.br +0 -0
  324. codex/static_root/assets/confirm-dialog-Ct8FD21H.3fec98632388.js.gz +0 -0
  325. codex/static_root/assets/confirm-dialog-Ct8FD21H.js.br +0 -0
  326. codex/static_root/assets/confirm-dialog-Ct8FD21H.js.gz +0 -0
  327. codex/static_root/assets/datetime-column-jQlXmdps.d8479a23cdc5.js.br +0 -0
  328. codex/static_root/assets/datetime-column-jQlXmdps.d8479a23cdc5.js.gz +0 -0
  329. codex/static_root/assets/datetime-column-jQlXmdps.js.br +0 -0
  330. codex/static_root/assets/datetime-column-jQlXmdps.js.gz +0 -0
  331. codex/static_root/assets/filter-6uJYHz1O.cc5fc35d3c24.js.br +0 -0
  332. codex/static_root/assets/filter-6uJYHz1O.cc5fc35d3c24.js.gz +0 -0
  333. codex/static_root/assets/filter-6uJYHz1O.js.br +0 -0
  334. codex/static_root/assets/filter-6uJYHz1O.js.gz +0 -0
  335. codex/static_root/assets/flag-tab-Dhxz4kfb.e95c21b919b5.js.br +0 -0
  336. codex/static_root/assets/flag-tab-Dhxz4kfb.e95c21b919b5.js.gz +0 -0
  337. codex/static_root/assets/flag-tab-Dhxz4kfb.js.br +0 -0
  338. codex/static_root/assets/flag-tab-Dhxz4kfb.js.gz +0 -0
  339. codex/static_root/assets/forwardRefs-ChSAhOJC.6f8396e9fab3.js.br +0 -0
  340. codex/static_root/assets/forwardRefs-ChSAhOJC.6f8396e9fab3.js.gz +0 -0
  341. codex/static_root/assets/forwardRefs-ChSAhOJC.js.br +0 -0
  342. codex/static_root/assets/forwardRefs-ChSAhOJC.js.gz +0 -0
  343. codex/static_root/assets/group-tab-CyJtnpUL.847be73eb8f6.js.br +0 -0
  344. codex/static_root/assets/group-tab-CyJtnpUL.847be73eb8f6.js.gz +0 -0
  345. codex/static_root/assets/group-tab-CyJtnpUL.js.br +0 -0
  346. codex/static_root/assets/group-tab-CyJtnpUL.js.gz +0 -0
  347. codex/static_root/assets/http-error-epAHz82x.5a5677a44602.js.br +0 -0
  348. codex/static_root/assets/http-error-epAHz82x.5a5677a44602.js.gz +0 -0
  349. codex/static_root/assets/http-error-epAHz82x.js.br +0 -0
  350. codex/static_root/assets/http-error-epAHz82x.js.gz +0 -0
  351. codex/static_root/assets/index-t0GPmIaB.b0ef8e18e375.js.br +0 -0
  352. codex/static_root/assets/index-t0GPmIaB.b0ef8e18e375.js.gz +0 -0
  353. codex/static_root/assets/index-t0GPmIaB.js.br +0 -0
  354. codex/static_root/assets/index-t0GPmIaB.js.gz +0 -0
  355. codex/static_root/assets/library-tab-CBNwfzuv.f135a8b11a7d.js.br +0 -0
  356. codex/static_root/assets/library-tab-CBNwfzuv.f135a8b11a7d.js.gz +0 -0
  357. codex/static_root/assets/library-tab-CBNwfzuv.js.br +0 -0
  358. codex/static_root/assets/library-tab-CBNwfzuv.js.gz +0 -0
  359. codex/static_root/assets/main-rTP95ZK5.2b318541936a.js.br +0 -0
  360. codex/static_root/assets/main-rTP95ZK5.2b318541936a.js.gz +0 -0
  361. codex/static_root/assets/main-rTP95ZK5.js.br +0 -0
  362. codex/static_root/assets/main-rTP95ZK5.js.gz +0 -0
  363. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js +0 -1
  364. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js.br +0 -0
  365. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js.gz +0 -0
  366. codex/static_root/assets/pager-full-pdf-DXanXkDa.js +0 -1
  367. codex/static_root/assets/pager-full-pdf-DXanXkDa.js.br +0 -0
  368. codex/static_root/assets/pager-full-pdf-DXanXkDa.js.gz +0 -0
  369. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.19a89382cc22.js.br +0 -0
  370. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.19a89382cc22.js.gz +0 -0
  371. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.js.br +0 -0
  372. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.js.gz +0 -0
  373. codex/static_root/assets/pdf-doc-NgjosMDk.d62f72e2cdd5.js.br +0 -0
  374. codex/static_root/assets/pdf-doc-NgjosMDk.d62f72e2cdd5.js.gz +0 -0
  375. codex/static_root/assets/pdf-doc-NgjosMDk.js.br +0 -0
  376. codex/static_root/assets/pdf-doc-NgjosMDk.js.gz +0 -0
  377. codex/static_root/assets/reader-cxP2TezB.42da6623fbb5.js.br +0 -0
  378. codex/static_root/assets/reader-cxP2TezB.42da6623fbb5.js.gz +0 -0
  379. codex/static_root/assets/reader-cxP2TezB.js.br +0 -0
  380. codex/static_root/assets/reader-cxP2TezB.js.gz +0 -0
  381. codex/static_root/assets/relation-chips-B0aYMhRf.efeee784148f.js.br +0 -0
  382. codex/static_root/assets/relation-chips-B0aYMhRf.efeee784148f.js.gz +0 -0
  383. codex/static_root/assets/relation-chips-B0aYMhRf.js.br +0 -0
  384. codex/static_root/assets/relation-chips-B0aYMhRf.js.gz +0 -0
  385. codex/static_root/assets/settings-drawer-DAcFFkW0.d9a543c098c5.js.br +0 -0
  386. codex/static_root/assets/settings-drawer-DAcFFkW0.d9a543c098c5.js.gz +0 -0
  387. codex/static_root/assets/settings-drawer-DAcFFkW0.js.br +0 -0
  388. codex/static_root/assets/settings-drawer-DAcFFkW0.js.gz +0 -0
  389. codex/static_root/assets/ssrBoot-Wb95VZD1.ed47b47d3c05.js.br +0 -0
  390. codex/static_root/assets/ssrBoot-Wb95VZD1.ed47b47d3c05.js.gz +0 -0
  391. codex/static_root/assets/ssrBoot-Wb95VZD1.js.br +0 -0
  392. codex/static_root/assets/ssrBoot-Wb95VZD1.js.gz +0 -0
  393. codex/static_root/assets/stats-tab-BrnDOFnQ.a65c1b0d139e.js.br +0 -0
  394. codex/static_root/assets/stats-tab-BrnDOFnQ.a65c1b0d139e.js.gz +0 -0
  395. codex/static_root/assets/stats-tab-BrnDOFnQ.js.br +0 -0
  396. codex/static_root/assets/stats-tab-BrnDOFnQ.js.gz +0 -0
  397. codex/static_root/assets/task-tab-ZhK-Gdm1.c0ac180d65ed.js.br +0 -0
  398. codex/static_root/assets/task-tab-ZhK-Gdm1.c0ac180d65ed.js.gz +0 -0
  399. codex/static_root/assets/task-tab-ZhK-Gdm1.js.br +0 -0
  400. codex/static_root/assets/task-tab-ZhK-Gdm1.js.gz +0 -0
  401. codex/static_root/assets/unauthorized-BQW6TgLt.f5e5fd8f0030.js.br +0 -0
  402. codex/static_root/assets/unauthorized-BQW6TgLt.f5e5fd8f0030.js.gz +0 -0
  403. codex/static_root/assets/unauthorized-BQW6TgLt.js.br +0 -0
  404. codex/static_root/assets/unauthorized-BQW6TgLt.js.gz +0 -0
  405. codex/static_root/assets/user-tab-D7CLZnGq.b39e06dbfa4c.js.br +0 -0
  406. codex/static_root/assets/user-tab-D7CLZnGq.b39e06dbfa4c.js.gz +0 -0
  407. codex/static_root/assets/user-tab-D7CLZnGq.js.br +0 -0
  408. codex/static_root/assets/user-tab-D7CLZnGq.js.gz +0 -0
  409. codex/static_root/manifest.212b0e4d5235.json.br +0 -0
  410. codex/static_root/manifest.212b0e4d5235.json.gz +0 -0
  411. {codex-1.8.2.dist-info → codex-1.8.4.dist-info}/WHEEL +0 -0
  412. {codex-1.8.2.dist-info → codex-1.8.4.dist-info}/entry_points.txt +0 -0
  413. {codex-1.8.2.dist-info → codex-1.8.4.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/admin-CIbnFqxt.js","assets/unauthorized-BQW6TgLt.js","assets/VDialog-DnPP-omh.js","assets/forwardRefs-ChSAhOJC.js","assets/forwardRefs-B_sUWZn6.css","assets/VDialog-CpWjrJ0R.css","assets/change-password-dialog-CsooBUm0.js","assets/VForm-DYkeLPZX.js","assets/VSelectionControl-DShFWXoi.js","assets/VSelectionControl-RqBzwjYi.css","assets/VForm-DxBt30-N.css","assets/admin-BNZOvNK8.js","assets/change-password-dialog-DL8UMjmX.css","assets/ssrBoot-Wb95VZD1.js","assets/unauthorized-BBwsmi0O.css","assets/settings-drawer-DAcFFkW0.js","assets/copy-to-clipboard-DoUvDJVx.js","assets/VDivider-B71_-qD9.js","assets/VDivider-DU47sRrT.css","assets/settings-drawer-CpS_aX4Z.css","assets/VWindowItem-DqU2Y2vf.js","assets/VWindowItem-ChYLiXSE.css","assets/admin-DJCVf2PA.css","assets/browser-DMRabbl3.js","assets/index-t0GPmIaB.js","assets/index-Czf-fUM7.css","assets/VCombobox-BYYvIrtG.js","assets/VSelect-BpsRhDw4.js","assets/VCheckboxBtn-h7KZtjJ5.js","assets/VSelect-DQPZyfSb.css","assets/filter-6uJYHz1O.js","assets/VCombobox-DHFthaP6.css","assets/VTable-DdYDbUS9.js","assets/VTable-CQyv0wyO.css","assets/pagination-toolbar-Dpvo4Mq8.js","assets/confirm-dialog-Ct8FD21H.js","assets/confirm-dialog-YfC8mRQA.css","assets/pagination-toolbar-741OafNw.css","assets/VCheckbox-B2ZlilbV.js","assets/VCheckbox-CvH8ekHL.css","assets/browser-Cdi7U5ku.css","assets/http-error-epAHz82x.js","assets/http-error-CB3k5P-n.css","assets/reader-cxP2TezB.js","assets/VExpansionPanels-BIGcavfd.js","assets/VExpansionPanels-RsCANmDP.css","assets/VRadioGroup-BTcnaJxP.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/reader-HE07eoaG.css","assets/flag-tab-Dhxz4kfb.js","assets/flag-tab-CESc_7Pq.css","assets/user-tab-D7CLZnGq.js","assets/relation-chips-B0aYMhRf.js","assets/relation-chips-CcFgPQOM.css","assets/datetime-column-jQlXmdps.js","assets/datetime-column-Bt7J1qEf.css","assets/group-tab-CyJtnpUL.js","assets/group-tab-CQ_Qw6h8.css","assets/library-tab-CBNwfzuv.js","assets/library-tab-5StL67ei.css","assets/task-tab-ZhK-Gdm1.js","assets/task-tab-CW4DQ3KN.css","assets/stats-tab-BrnDOFnQ.js","assets/stats-tab-Dpqh5pF9.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/admin-CDRC0Rok.js","assets/unauthorized-C_c4p1TM.js","assets/VDialog-CwCy5caJ.js","assets/forwardRefs-BtYmQRWE.js","assets/forwardRefs-B_sUWZn6.css","assets/VDialog-CpWjrJ0R.css","assets/change-password-dialog-DgVD2Irc.js","assets/VForm-CKTqFmYD.js","assets/VSelectionControl-Cib41eud.js","assets/VSelectionControl-RqBzwjYi.css","assets/VForm-DxBt30-N.css","assets/admin-Bhck3Mck.js","assets/change-password-dialog-DL8UMjmX.css","assets/ssrBoot-CRLVxq-1.js","assets/unauthorized-BBwsmi0O.css","assets/settings-drawer-DxBOD9ng.js","assets/copy-to-clipboard-DoUvDJVx.js","assets/VDivider-QEWmQwZy.js","assets/VDivider-DU47sRrT.css","assets/settings-drawer-CpS_aX4Z.css","assets/VWindowItem-BeK4JUp7.js","assets/VWindowItem-ChYLiXSE.css","assets/admin-DJCVf2PA.css","assets/browser-Dr_bPvQw.js","assets/index-C0my3yQ1.js","assets/index-Czf-fUM7.css","assets/VCombobox-D1Ha7FmT.js","assets/VSelect-De33kkeP.js","assets/VCheckboxBtn-BZqfedDW.js","assets/VSelect-DQPZyfSb.css","assets/filter-Db5Fln7r.js","assets/VCombobox-DHFthaP6.css","assets/VTable-DBmzLdWQ.js","assets/VTable-CQyv0wyO.css","assets/pagination-toolbar-CoAXq9YN.js","assets/confirm-dialog-CzIH9jqe.js","assets/confirm-dialog-YfC8mRQA.css","assets/pagination-toolbar-741OafNw.css","assets/VCheckbox-BUS-Yeeg.js","assets/VCheckbox-CvH8ekHL.css","assets/browser-Cdi7U5ku.css","assets/http-error-DrBUwxBc.js","assets/http-error-CB3k5P-n.css","assets/reader-U6RQth6A.js","assets/VExpansionPanels-Dzh4hOyH.js","assets/VExpansionPanels-RsCANmDP.css","assets/VRadioGroup-B2m47wR5.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/reader-HE07eoaG.css","assets/flag-tab-BZ2kKZ5N.js","assets/flag-tab-CESc_7Pq.css","assets/user-tab-B9Nfgojx.js","assets/relation-chips-C4BoTvJv.js","assets/relation-chips-CcFgPQOM.css","assets/datetime-column-dv3EPaad.js","assets/datetime-column-Bt7J1qEf.css","assets/group-tab-CesC8o-T.js","assets/group-tab-CQ_Qw6h8.css","assets/library-tab-DPHJtlEd.js","assets/library-tab-5StL67ei.css","assets/task-tab-NvMiShar.js","assets/task-tab-CW4DQ3KN.css","assets/stats-tab-DikOLx9_.js","assets/stats-tab-Dpqh5pF9.css"])))=>i.map(i=>d[i]);
2
2
  function po(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?po(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const l1={run:e=>e()},u1=()=>l1,_c=typeof console.createTask<"u"?console.createTask:u1;function f1(e,t){const n=t.shift(),r=_c(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function d1(e,t){const n=t.shift(),r=_c(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function js(e,t){for(const n of[...e])n(t)}class h1{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(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=po(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=po(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(f1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(d1,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&js(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&js(this._after,s)}):(this._after&&s&&js(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function p1(){return new h1}const m1=new Set(["link","style","script","noscript"]),g1=new Set(["title","titleTemplate","script","style","noscript"]),ji=new Set(["base","meta","link","style","script","noscript"]),v1=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),y1=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),b1=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),S1=new Set(["templateParams","htmlAttrs","bodyAttrs"]),C1=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),A1=["name","property","http-equiv"],L1=new Set(["viewport","description","keywords","robots"]);function qc(e){const t=e.split(":");return t.length?C1.has(t[1]):!1}function mo(e){const{props:t,tag:n}=e;if(y1.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of A1)if(t[r]!==void 0){const s=t[r],o=s.includes(":"),i=L1.has(s),c=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(g1.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Bi(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Xr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(o=>Xr(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Xr(s[i],t,i);return o}return s}function E1(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(c=>c.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function el(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=E1(n,r);return}if(b1.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function w1(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=el({tag:e,props:{}},n);return r.key&&m1.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function T1(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Xr(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(w1(s,i))}),r.flat()}const Ui=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Wi={base:-10,title:10},x1={critical:-8,high:-1,low:2},Gi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},R1=/@import/,$n=e=>e===""||e===!0;function O1(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=x1[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Gi;if(t.tag in Wi)n=Wi[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Gi.meta[o])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?$n(t.props.async)?n=s.script.async:t.props.src&&!$n(t.props.defer)&&!$n(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=s.script.sync:$n(t.props.defer)&&t.props.src&&!$n(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&R1.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function zi(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function P1(e={}){const t=p1();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>zi(i,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??i._entryCount++,f={_i:l,input:a,options:u},h={_poll(d=!1){i.dirty=!0,!d&&o.add(l),t.callHook("entries:updated",i)},dispose(){r.delete(l)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(l,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const h=o.values().next().value;o.delete(h);const d=r.get(h);if(d){const p={tags:T1(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((m,g)=>(m._w=O1(i,m),m._p=(d._i<<10)+g,m._d=mo(m),m))}}let c=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ui).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const m=h.get(p);if((d?.tagDuplicateStrategy||(S1.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const v={...m.props};Object.entries(d.props).forEach(([y,S])=>v[y]=y==="style"?new Map([...m.props.style||new Map,...S]):y==="class"?new Set([...m.props.class||new Set,...S]):S),h.set(p,{...d,props:v})}else d._p>>10===m._p>>10&&d.tag==="meta"&&qc(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),c=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,l){const h=l?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(l.tag="title",l.textContent=d)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(Ui)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:m}=h;if(v1.has(p)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&d){if(m.type?.endsWith("json")){const g=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=g.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=mo(h)}f.push(h)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>zi(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}async function tl(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const g=o.get(m._d)||0,v={tag:m,id:(g?`${m._d}:${g}`:m._d)||Bi(m),shouldRender:!0};return m._d&&qc(m._d)&&o.set(m._d,g+1),v}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const m of p){const g=m.tagName.toLowerCase();if(!ji.has(g))continue;const v=el({tag:g,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((y,S)=>(y[S]=m.getAttribute(S),y),{})||{}});if(v.key=m.getAttribute("data-hid")||void 0,v._d=mo(v)||Bi(v),a.elMap.has(v._d)){let y=1,S=v._d;for(;a.elMap.has(S);)S=`${v._d}:${y++}`;a.elMap.set(S,m)}else a.elMap.set(v._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(d,p,m){const g=`${d}:${p}`;a.sideEffects[g]=m,delete a.pendingSideEffects[g]}function u({id:d,$el:p,tag:m}){const g=m.tag.endsWith("Attrs");a.elMap.set(d,p),g||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),c(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const v in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,v))continue;const y=m.props[v];if(v.startsWith("on")&&typeof y=="function"){const A=p?.dataset;if(A&&A[`${v}fired`]){const R=v.slice(0,-5);y.call(p,new Event(R.substring(2)))}p.getAttribute(`data-${v}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(v.substring(2),y.bind(p)),p.setAttribute(`data-${v}`,""));continue}const S=`attr:${v}`;if(v==="class"){if(!y)continue;for(const A of y)g&&c(d,`${S}:${A}`,()=>p.classList.remove(A)),!p.classList.contains(A)&&p.classList.add(A)}else if(v==="style"){if(!y)continue;for(const[A,R]of y)c(d,`${S}:${A}`,()=>{p.style.removeProperty(A)}),p.style.setProperty(A,R)}else y!==!1&&y!==null&&(p.getAttribute(v)!==y&&p.setAttribute(v,y===!0?"":String(y)),g&&c(d,S,()=>p.removeAttribute(v)))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:p,shouldRender:m,id:g}=d;if(m){if(p.tag==="title"){n.title=p.textContent,c("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(g),d.$el?u(d):ji.has(p.tag)&&l.push(d)}}for(const d of l){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function M1(e={}){const t=e.domOptions?.render||tl;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return P1({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function I1(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}/**
3
3
  * @vue/shared v3.5.17
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -19,7 +19,7 @@ function po(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=
19
19
  * pinia v3.0.3
20
20
  * (c) 2025 Eduardo San Martin Morote
21
21
  * @license MIT
22
- */let xu;const Ps=e=>xu=e,Ru=Symbol();function Ro(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function mp(){const e=or(!0),t=e.run(()=>ke({}));let n=[],r=[];const s=fi({install(o){Ps(s),s._a=o,o.provide(Ru,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Ou=()=>{};function Pa(e,t,n,r=Ou){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ni()&&Cs(s),s}function bn(e,...t){e.slice().forEach(n=>{n(...t)})}const gp=e=>e(),Ma=Symbol(),eo=Symbol();function Oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Ro(s)&&Ro(r)&&e.hasOwnProperty(n)&&!be(r)&&!Zt(r)?e[n]=Oo(s,r):e[n]=r}return e}const vp=Symbol();function yp(e){return!Ro(e)||!Object.prototype.hasOwnProperty.call(e,vp)}const{assign:jt}=Object;function bp(e){return!!(be(e)&&e.effect)}function Sp(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=s?s():{});const l=Rl(n.state.value[e]);return jt(l,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=fi(se(()=>{Ps(n);const d=n._s.get(e);return i[h].call(d,d)})),f),{}))}return c=Pu(e,u,t,n,r,!0),c}function Pu(e,t,n={},r,s,o){let i;const a=jt({actions:{}},n),c={deep:!0};let u,l,f=[],h=[],d;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),ke({});let m;function g(E){let L;u=l=!1,typeof E=="function"?(E(r.state.value[e]),L={type:tr.patchFunction,storeId:e,events:d}):(Oo(r.state.value[e],E),L={type:tr.patchObject,payload:E,storeId:e,events:d});const x=m=Symbol();Ls().then(()=>{m===x&&(u=!0)}),l=!0,bn(f,L,r.state.value[e])}const v=o?function(){const{state:L}=n,x=L?L():{};this.$patch(I=>{jt(I,x)})}:Ou;function y(){i.stop(),f=[],h=[],r._s.delete(e)}const S=(E,L="")=>{if(Ma in E)return E[eo]=L,E;const x=function(){Ps(r);const I=Array.from(arguments),O=[],k=[];function X(z){O.push(z)}function ne(z){k.push(z)}bn(h,{args:I,name:x[eo],store:R,after:X,onError:ne});let ee;try{ee=E.apply(this&&this.$id===e?this:R,I)}catch(z){throw bn(k,z),z}return ee instanceof Promise?ee.then(z=>(bn(O,z),z)).catch(z=>(bn(k,z),Promise.reject(z))):(bn(O,ee),ee)};return x[Ma]=!0,x[eo]=L,x},A={_p:r,$id:e,$onAction:Pa.bind(null,h),$patch:g,$reset:v,$subscribe(E,L={}){const x=Pa(f,E,L.detached,()=>I()),I=i.run(()=>nt(()=>r.state.value[e],O=>{(L.flush==="sync"?l:u)&&E({storeId:e,type:tr.direct,events:d},O)},jt({},c,L)));return x},$dispose:y},R=ze(A);r._s.set(e,R);const P=(r._a&&r._a.runWithContext||gp)(()=>r._e.run(()=>(i=or()).run(()=>t({action:S}))));for(const E in P){const L=P[E];if(be(L)&&!bp(L)||Zt(L))o||(p&&yp(L)&&(be(L)?L.value=p[E]:Oo(L,p[E])),r.state.value[e][E]=L);else if(typeof L=="function"){const x=S(L,E);P[E]=x,a.actions[E]=L}}return jt(R,P),jt(re(R),P),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:E=>{g(L=>{jt(L,E)})}}),r._p.forEach(E=>{jt(R,i.run(()=>E({store:R,app:r._a,pinia:r,options:a})))}),p&&o&&n.hydrate&&n.hydrate(R.$state,p),u=!0,l=!0,R}/*! #__NO_SIDE_EFFECTS__ */function wr(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const c=ql();return i=i||(c?Ae(Ru,null):null),i&&Ps(i),i=xu,i._s.has(e)||(s?Pu(e,t,r,i):Sp(e,r,i)),i._s.get(e)}return o.$id=e,o}function Cp(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,s):s[o]},n),{})}function Ap(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}function O5(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(s){return e(this.$pinia)[r]=s}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(s){return e(this.$pinia)[t[r]]=s}},n),{})}const Mu=["detail","oldPassword","password","username","passwordConfirm","path"];Object.freeze(Mu);const Lp=e=>{let t=[];if(e&&e.response&&e.response.data){let n=e.response.data;for(const r of Mu)if(r in n){n=n[r];break}t=Array.isArray(n)?n.flat():[n]}else console.warn("Unable to parse error",e);return t.length===0&&(t=["Unknown error"]),t},nr=wr("common",{state:()=>({form:{errors:[],success:""},versions:{installed:"1.8.2",latest:void 0},timestamp:Date.now(),isSettingsDrawerOpen:!1,opdsURLs:void 0}),actions:{async loadVersions(){await us.getVersions(this.timestamp).then(e=>{const t=e.data;return this.versions=t,this.versions}).catch(console.error)},setErrors(e){const t=Lp(e);this.$patch(n=>{n.form.errors=t,n.form.success=""})},setSuccess(e){this.$patch(t=>{t.form.errors=[],t.form.success=e})},clearErrors(){this.$patch(e=>{e.form.errors=[],e.form.success=""})},setTimestamp(){this.timestamp=Date.now()},setSettingsDrawerOpen(e){this.isSettingsDrawerOpen=e},async loadOPDSURLs(){this.opdsURLs||await us.getOPDSURLs().then(e=>(this.opdsURLs=Object.freeze({...e.data}),this.opdsURLs)).catch(console.error)}}});function Iu(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ep}=Object.prototype,{getPrototypeOf:wi}=Object,{iterator:Ms,toStringTag:Hu}=Symbol,Is=(e=>t=>{const n=Ep.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>Is(t)===e),Hs=e=>t=>typeof t===e,{isArray:Fn}=Array,fr=Hs("undefined");function wp(e){return e!==null&&!fr(e)&&e.constructor!==null&&!fr(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Du=ut("ArrayBuffer");function Tp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Du(e.buffer),t}const xp=Hs("string"),Ke=Hs("function"),Vu=Hs("number"),Ds=e=>e!==null&&typeof e=="object",Rp=e=>e===!0||e===!1,zr=e=>{if(Is(e)!=="object")return!1;const t=wi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Hu in e)&&!(Ms in e)},Op=ut("Date"),Pp=ut("File"),Mp=ut("Blob"),Ip=ut("FileList"),Hp=e=>Ds(e)&&Ke(e.pipe),Dp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=Is(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},Vp=ut("URLSearchParams"),[Fp,kp,Np,$p]=["ReadableStream","Request","Response","Headers"].map(ut),jp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Tr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Fn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Fu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const un=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ku=e=>!fr(e)&&e!==un;function Po(){const{caseless:e}=ku(this)&&this||{},t={},n=(r,s)=>{const o=e&&Fu(t,s)||s;zr(t[o])&&zr(r)?t[o]=Po(t[o],r):zr(r)?t[o]=Po({},r):Fn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Tr(arguments[r],n);return t}const Bp=(e,t,n,{allOwnKeys:r}={})=>(Tr(t,(s,o)=>{n&&Ke(s)?e[o]=Iu(s,n):e[o]=s},{allOwnKeys:r}),e),Up=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wp=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Gp=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&wi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Kp=e=>{if(!e)return null;if(Fn(e))return e;let t=e.length;if(!Vu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Zp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wi(Uint8Array)),Yp=(e,t)=>{const r=(e&&e[Ms]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Jp=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Xp=ut("HTMLFormElement"),Qp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ia=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_p=ut("RegExp"),Nu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Tr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},qp=e=>{Nu(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ke(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},em=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Fn(e)?r(e):r(String(e).split(t)),n},tm=()=>{},nm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function rm(e){return!!(e&&Ke(e.append)&&e[Hu]==="FormData"&&e[Ms])}const sm=e=>{const t=new Array(10),n=(r,s)=>{if(Ds(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Fn(r)?[]:{};return Tr(r,(i,a)=>{const c=n(i,s+1);!fr(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},om=ut("AsyncFunction"),im=e=>e&&(Ds(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),$u=((e,t)=>e?setImmediate:t?((n,r)=>(un.addEventListener("message",({source:s,data:o})=>{s===un&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),un.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(un.postMessage)),am=typeof queueMicrotask<"u"?queueMicrotask.bind(un):typeof process<"u"&&process.nextTick||$u,cm=e=>e!=null&&Ke(e[Ms]),M={isArray:Fn,isArrayBuffer:Du,isBuffer:wp,isFormData:Dp,isArrayBufferView:Tp,isString:xp,isNumber:Vu,isBoolean:Rp,isObject:Ds,isPlainObject:zr,isReadableStream:Fp,isRequest:kp,isResponse:Np,isHeaders:$p,isUndefined:fr,isDate:Op,isFile:Pp,isBlob:Mp,isRegExp:_p,isFunction:Ke,isStream:Hp,isURLSearchParams:Vp,isTypedArray:Zp,isFileList:Ip,forEach:Tr,merge:Po,extend:Bp,trim:jp,stripBOM:Up,inherits:Wp,toFlatObject:Gp,kindOf:Is,kindOfTest:ut,endsWith:zp,toArray:Kp,forEachEntry:Yp,matchAll:Jp,isHTMLForm:Xp,hasOwnProperty:Ia,hasOwnProp:Ia,reduceDescriptors:Nu,freezeMethods:qp,toObjectSet:em,toCamelCase:Qp,noop:tm,toFiniteNumber:nm,findKey:Fu,global:un,isContextDefined:ku,isSpecCompliantForm:rm,toJSONObject:sm,isAsyncFn:om,isThenable:im,setImmediate:$u,asap:am,isIterable:cm};function te(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}M.inherits(te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const ju=te.prototype,Bu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bu[e]={value:e}});Object.defineProperties(te,Bu);Object.defineProperty(ju,"isAxiosError",{value:!0});te.from=(e,t,n,r,s,o)=>{const i=Object.create(ju);return M.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),te.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const lm=null;function Mo(e){return M.isPlainObject(e)||M.isArray(e)}function Uu(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Ha(e,t,n){return e?e.concat(t).map(function(s,o){return s=Uu(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function um(e){return M.isArray(e)&&!e.some(Mo)}const fm=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function Vs(e,t,n){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=M.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!M.isUndefined(g[m])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(M.isDate(p))return p.toISOString();if(M.isBoolean(p))return p.toString();if(!c&&M.isBlob(p))throw new te("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(p)||M.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,m,g){let v=p;if(p&&!g&&typeof p=="object"){if(M.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(M.isArray(p)&&um(p)||(M.isFileList(p)||M.endsWith(m,"[]"))&&(v=M.toArray(p)))return m=Uu(m),v.forEach(function(S,A){!(M.isUndefined(S)||S===null)&&t.append(i===!0?Ha([m],A,o):i===null?m:m+"[]",u(S))}),!1}return Mo(p)?!0:(t.append(Ha(g,m,o),u(p)),!1)}const f=[],h=Object.assign(fm,{defaultVisitor:l,convertValue:u,isVisitable:Mo});function d(p,m){if(!M.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),M.forEach(p,function(v,y){(!(M.isUndefined(v)||v===null)&&s.call(t,v,M.isString(y)?y.trim():y,m,h))===!0&&d(v,m?m.concat(y):[y])}),f.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return d(e),t}function Da(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ti(e,t){this._pairs=[],e&&Vs(e,this,t)}const Wu=Ti.prototype;Wu.append=function(t,n){this._pairs.push([t,n])};Wu.toString=function(t){const n=t?function(r){return t.call(this,r,Da)}:Da;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function dm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gu(e,t,n){if(!t)return e;const r=n&&n.encode||dm;M.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=M.isURLSearchParams(t)?t.toString():new Ti(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Va{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(r){r!==null&&t(r)})}}const zu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hm=typeof URLSearchParams<"u"?URLSearchParams:Ti,pm=typeof FormData<"u"?FormData:null,mm=typeof Blob<"u"?Blob:null,gm={isBrowser:!0,classes:{URLSearchParams:hm,FormData:pm,Blob:mm},protocols:["http","https","file","blob","url","data"]},xi=typeof window<"u"&&typeof document<"u",Io=typeof navigator=="object"&&navigator||void 0,vm=xi&&(!Io||["ReactNative","NativeScript","NS"].indexOf(Io.product)<0),ym=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bm=xi&&window.location.href||"http://localhost",Sm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xi,hasStandardBrowserEnv:vm,hasStandardBrowserWebWorkerEnv:ym,navigator:Io,origin:bm},Symbol.toStringTag,{value:"Module"})),De={...Sm,...gm};function Cm(e,t){return Vs(e,new De.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return De.isNode&&M.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Am(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Lm(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Ku(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&M.isArray(s)?s.length:i,c?(M.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!M.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&M.isArray(s[i])&&(s[i]=Lm(s[i])),!a)}if(M.isFormData(e)&&M.isFunction(e.entries)){const n={};return M.forEachEntry(e,(r,s)=>{t(Am(r),s,n,0)}),n}return null}function Em(e,t,n){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const xr={transitional:zu,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=M.isObject(t);if(o&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return s?JSON.stringify(Ku(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)||M.isReadableStream(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cm(t,this.formSerializer).toString();if((a=M.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Vs(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Em(t)):t}],transformResponse:[function(t){const n=this.transitional||xr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(M.isResponse(t)||M.isReadableStream(t))return t;if(t&&M.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?te.from(a,te.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:De.classes.FormData,Blob:De.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{xr.headers[e]={}});const wm=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Tm=e=>{const t={};let n,r,s;return e&&e.split(`
22
+ */let xu;const Ps=e=>xu=e,Ru=Symbol();function Ro(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function mp(){const e=or(!0),t=e.run(()=>ke({}));let n=[],r=[];const s=fi({install(o){Ps(s),s._a=o,o.provide(Ru,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Ou=()=>{};function Pa(e,t,n,r=Ou){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ni()&&Cs(s),s}function bn(e,...t){e.slice().forEach(n=>{n(...t)})}const gp=e=>e(),Ma=Symbol(),eo=Symbol();function Oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Ro(s)&&Ro(r)&&e.hasOwnProperty(n)&&!be(r)&&!Zt(r)?e[n]=Oo(s,r):e[n]=r}return e}const vp=Symbol();function yp(e){return!Ro(e)||!Object.prototype.hasOwnProperty.call(e,vp)}const{assign:jt}=Object;function bp(e){return!!(be(e)&&e.effect)}function Sp(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=s?s():{});const l=Rl(n.state.value[e]);return jt(l,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=fi(se(()=>{Ps(n);const d=n._s.get(e);return i[h].call(d,d)})),f),{}))}return c=Pu(e,u,t,n,r,!0),c}function Pu(e,t,n={},r,s,o){let i;const a=jt({actions:{}},n),c={deep:!0};let u,l,f=[],h=[],d;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),ke({});let m;function g(E){let L;u=l=!1,typeof E=="function"?(E(r.state.value[e]),L={type:tr.patchFunction,storeId:e,events:d}):(Oo(r.state.value[e],E),L={type:tr.patchObject,payload:E,storeId:e,events:d});const x=m=Symbol();Ls().then(()=>{m===x&&(u=!0)}),l=!0,bn(f,L,r.state.value[e])}const v=o?function(){const{state:L}=n,x=L?L():{};this.$patch(I=>{jt(I,x)})}:Ou;function y(){i.stop(),f=[],h=[],r._s.delete(e)}const S=(E,L="")=>{if(Ma in E)return E[eo]=L,E;const x=function(){Ps(r);const I=Array.from(arguments),O=[],k=[];function X(z){O.push(z)}function ne(z){k.push(z)}bn(h,{args:I,name:x[eo],store:R,after:X,onError:ne});let ee;try{ee=E.apply(this&&this.$id===e?this:R,I)}catch(z){throw bn(k,z),z}return ee instanceof Promise?ee.then(z=>(bn(O,z),z)).catch(z=>(bn(k,z),Promise.reject(z))):(bn(O,ee),ee)};return x[Ma]=!0,x[eo]=L,x},A={_p:r,$id:e,$onAction:Pa.bind(null,h),$patch:g,$reset:v,$subscribe(E,L={}){const x=Pa(f,E,L.detached,()=>I()),I=i.run(()=>nt(()=>r.state.value[e],O=>{(L.flush==="sync"?l:u)&&E({storeId:e,type:tr.direct,events:d},O)},jt({},c,L)));return x},$dispose:y},R=ze(A);r._s.set(e,R);const P=(r._a&&r._a.runWithContext||gp)(()=>r._e.run(()=>(i=or()).run(()=>t({action:S}))));for(const E in P){const L=P[E];if(be(L)&&!bp(L)||Zt(L))o||(p&&yp(L)&&(be(L)?L.value=p[E]:Oo(L,p[E])),r.state.value[e][E]=L);else if(typeof L=="function"){const x=S(L,E);P[E]=x,a.actions[E]=L}}return jt(R,P),jt(re(R),P),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:E=>{g(L=>{jt(L,E)})}}),r._p.forEach(E=>{jt(R,i.run(()=>E({store:R,app:r._a,pinia:r,options:a})))}),p&&o&&n.hydrate&&n.hydrate(R.$state,p),u=!0,l=!0,R}/*! #__NO_SIDE_EFFECTS__ */function wr(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const c=ql();return i=i||(c?Ae(Ru,null):null),i&&Ps(i),i=xu,i._s.has(e)||(s?Pu(e,t,r,i):Sp(e,r,i)),i._s.get(e)}return o.$id=e,o}function Cp(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,s):s[o]},n),{})}function Ap(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}function O5(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(s){return e(this.$pinia)[r]=s}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(s){return e(this.$pinia)[t[r]]=s}},n),{})}const Mu=["detail","oldPassword","password","username","passwordConfirm","path"];Object.freeze(Mu);const Lp=e=>{let t=[];if(e&&e.response&&e.response.data){let n=e.response.data;for(const r of Mu)if(r in n){n=n[r];break}t=Array.isArray(n)?n.flat():[n]}else console.warn("Unable to parse error",e);return t.length===0&&(t=["Unknown error"]),t},nr=wr("common",{state:()=>({form:{errors:[],success:""},versions:{installed:"1.8.4",latest:void 0},timestamp:Date.now(),isSettingsDrawerOpen:!1,opdsURLs:void 0}),actions:{async loadVersions(){await us.getVersions(this.timestamp).then(e=>{const t=e.data;return this.versions=t,this.versions}).catch(console.error)},setErrors(e){const t=Lp(e);this.$patch(n=>{n.form.errors=t,n.form.success=""})},setSuccess(e){this.$patch(t=>{t.form.errors=[],t.form.success=e})},clearErrors(){this.$patch(e=>{e.form.errors=[],e.form.success=""})},setTimestamp(){this.timestamp=Date.now()},setSettingsDrawerOpen(e){this.isSettingsDrawerOpen=e},async loadOPDSURLs(){this.opdsURLs||await us.getOPDSURLs().then(e=>(this.opdsURLs=Object.freeze({...e.data}),this.opdsURLs)).catch(console.error)}}});function Iu(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ep}=Object.prototype,{getPrototypeOf:wi}=Object,{iterator:Ms,toStringTag:Hu}=Symbol,Is=(e=>t=>{const n=Ep.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>Is(t)===e),Hs=e=>t=>typeof t===e,{isArray:Fn}=Array,fr=Hs("undefined");function wp(e){return e!==null&&!fr(e)&&e.constructor!==null&&!fr(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Du=ut("ArrayBuffer");function Tp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Du(e.buffer),t}const xp=Hs("string"),Ke=Hs("function"),Vu=Hs("number"),Ds=e=>e!==null&&typeof e=="object",Rp=e=>e===!0||e===!1,zr=e=>{if(Is(e)!=="object")return!1;const t=wi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Hu in e)&&!(Ms in e)},Op=ut("Date"),Pp=ut("File"),Mp=ut("Blob"),Ip=ut("FileList"),Hp=e=>Ds(e)&&Ke(e.pipe),Dp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=Is(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},Vp=ut("URLSearchParams"),[Fp,kp,Np,$p]=["ReadableStream","Request","Response","Headers"].map(ut),jp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Tr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Fn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Fu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const un=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ku=e=>!fr(e)&&e!==un;function Po(){const{caseless:e}=ku(this)&&this||{},t={},n=(r,s)=>{const o=e&&Fu(t,s)||s;zr(t[o])&&zr(r)?t[o]=Po(t[o],r):zr(r)?t[o]=Po({},r):Fn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Tr(arguments[r],n);return t}const Bp=(e,t,n,{allOwnKeys:r}={})=>(Tr(t,(s,o)=>{n&&Ke(s)?e[o]=Iu(s,n):e[o]=s},{allOwnKeys:r}),e),Up=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wp=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Gp=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&wi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Kp=e=>{if(!e)return null;if(Fn(e))return e;let t=e.length;if(!Vu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Zp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wi(Uint8Array)),Yp=(e,t)=>{const r=(e&&e[Ms]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Jp=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Xp=ut("HTMLFormElement"),Qp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ia=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_p=ut("RegExp"),Nu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Tr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},qp=e=>{Nu(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ke(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},em=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Fn(e)?r(e):r(String(e).split(t)),n},tm=()=>{},nm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function rm(e){return!!(e&&Ke(e.append)&&e[Hu]==="FormData"&&e[Ms])}const sm=e=>{const t=new Array(10),n=(r,s)=>{if(Ds(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Fn(r)?[]:{};return Tr(r,(i,a)=>{const c=n(i,s+1);!fr(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},om=ut("AsyncFunction"),im=e=>e&&(Ds(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),$u=((e,t)=>e?setImmediate:t?((n,r)=>(un.addEventListener("message",({source:s,data:o})=>{s===un&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),un.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(un.postMessage)),am=typeof queueMicrotask<"u"?queueMicrotask.bind(un):typeof process<"u"&&process.nextTick||$u,cm=e=>e!=null&&Ke(e[Ms]),M={isArray:Fn,isArrayBuffer:Du,isBuffer:wp,isFormData:Dp,isArrayBufferView:Tp,isString:xp,isNumber:Vu,isBoolean:Rp,isObject:Ds,isPlainObject:zr,isReadableStream:Fp,isRequest:kp,isResponse:Np,isHeaders:$p,isUndefined:fr,isDate:Op,isFile:Pp,isBlob:Mp,isRegExp:_p,isFunction:Ke,isStream:Hp,isURLSearchParams:Vp,isTypedArray:Zp,isFileList:Ip,forEach:Tr,merge:Po,extend:Bp,trim:jp,stripBOM:Up,inherits:Wp,toFlatObject:Gp,kindOf:Is,kindOfTest:ut,endsWith:zp,toArray:Kp,forEachEntry:Yp,matchAll:Jp,isHTMLForm:Xp,hasOwnProperty:Ia,hasOwnProp:Ia,reduceDescriptors:Nu,freezeMethods:qp,toObjectSet:em,toCamelCase:Qp,noop:tm,toFiniteNumber:nm,findKey:Fu,global:un,isContextDefined:ku,isSpecCompliantForm:rm,toJSONObject:sm,isAsyncFn:om,isThenable:im,setImmediate:$u,asap:am,isIterable:cm};function te(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}M.inherits(te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const ju=te.prototype,Bu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bu[e]={value:e}});Object.defineProperties(te,Bu);Object.defineProperty(ju,"isAxiosError",{value:!0});te.from=(e,t,n,r,s,o)=>{const i=Object.create(ju);return M.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),te.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const lm=null;function Mo(e){return M.isPlainObject(e)||M.isArray(e)}function Uu(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Ha(e,t,n){return e?e.concat(t).map(function(s,o){return s=Uu(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function um(e){return M.isArray(e)&&!e.some(Mo)}const fm=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function Vs(e,t,n){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=M.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!M.isUndefined(g[m])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(M.isDate(p))return p.toISOString();if(M.isBoolean(p))return p.toString();if(!c&&M.isBlob(p))throw new te("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(p)||M.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,m,g){let v=p;if(p&&!g&&typeof p=="object"){if(M.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(M.isArray(p)&&um(p)||(M.isFileList(p)||M.endsWith(m,"[]"))&&(v=M.toArray(p)))return m=Uu(m),v.forEach(function(S,A){!(M.isUndefined(S)||S===null)&&t.append(i===!0?Ha([m],A,o):i===null?m:m+"[]",u(S))}),!1}return Mo(p)?!0:(t.append(Ha(g,m,o),u(p)),!1)}const f=[],h=Object.assign(fm,{defaultVisitor:l,convertValue:u,isVisitable:Mo});function d(p,m){if(!M.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),M.forEach(p,function(v,y){(!(M.isUndefined(v)||v===null)&&s.call(t,v,M.isString(y)?y.trim():y,m,h))===!0&&d(v,m?m.concat(y):[y])}),f.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return d(e),t}function Da(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ti(e,t){this._pairs=[],e&&Vs(e,this,t)}const Wu=Ti.prototype;Wu.append=function(t,n){this._pairs.push([t,n])};Wu.toString=function(t){const n=t?function(r){return t.call(this,r,Da)}:Da;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function dm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gu(e,t,n){if(!t)return e;const r=n&&n.encode||dm;M.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=M.isURLSearchParams(t)?t.toString():new Ti(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Va{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(r){r!==null&&t(r)})}}const zu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hm=typeof URLSearchParams<"u"?URLSearchParams:Ti,pm=typeof FormData<"u"?FormData:null,mm=typeof Blob<"u"?Blob:null,gm={isBrowser:!0,classes:{URLSearchParams:hm,FormData:pm,Blob:mm},protocols:["http","https","file","blob","url","data"]},xi=typeof window<"u"&&typeof document<"u",Io=typeof navigator=="object"&&navigator||void 0,vm=xi&&(!Io||["ReactNative","NativeScript","NS"].indexOf(Io.product)<0),ym=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bm=xi&&window.location.href||"http://localhost",Sm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xi,hasStandardBrowserEnv:vm,hasStandardBrowserWebWorkerEnv:ym,navigator:Io,origin:bm},Symbol.toStringTag,{value:"Module"})),De={...Sm,...gm};function Cm(e,t){return Vs(e,new De.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return De.isNode&&M.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Am(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Lm(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Ku(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&M.isArray(s)?s.length:i,c?(M.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!M.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&M.isArray(s[i])&&(s[i]=Lm(s[i])),!a)}if(M.isFormData(e)&&M.isFunction(e.entries)){const n={};return M.forEachEntry(e,(r,s)=>{t(Am(r),s,n,0)}),n}return null}function Em(e,t,n){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const xr={transitional:zu,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=M.isObject(t);if(o&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return s?JSON.stringify(Ku(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)||M.isReadableStream(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cm(t,this.formSerializer).toString();if((a=M.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Vs(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Em(t)):t}],transformResponse:[function(t){const n=this.transitional||xr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(M.isResponse(t)||M.isReadableStream(t))return t;if(t&&M.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?te.from(a,te.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:De.classes.FormData,Blob:De.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{xr.headers[e]={}});const wm=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Tm=e=>{const t={};let n,r,s;return e&&e.split(`
23
23
  `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&wm[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Fa=Symbol("internals");function Wn(e){return e&&String(e).trim().toLowerCase()}function Kr(e){return e===!1||e==null?e:M.isArray(e)?e.map(Kr):String(e)}function xm(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Rm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function to(e,t,n,r,s){if(M.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!M.isString(t)){if(M.isString(r))return t.indexOf(r)!==-1;if(M.isRegExp(r))return r.test(t)}}function Om(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Pm(e,t){const n=M.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let Ze=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,c,u){const l=Wn(c);if(!l)throw new Error("header name must be a non-empty string");const f=M.findKey(s,l);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Kr(a))}const i=(a,c)=>M.forEach(a,(u,l)=>o(u,l,c));if(M.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(M.isString(t)&&(t=t.trim())&&!Rm(t))i(Tm(t),n);else if(M.isObject(t)&&M.isIterable(t)){let a={},c,u;for(const l of t){if(!M.isArray(l))throw TypeError("Object iterator must return a key-value pair");a[u=l[0]]=(c=a[u])?M.isArray(c)?[...c,l[1]]:[c,l[1]]:l[1]}i(a,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=Wn(t),t){const r=M.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return xm(s);if(M.isFunction(n))return n.call(this,s,r);if(M.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wn(t),t){const r=M.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||to(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=Wn(i),i){const a=M.findKey(r,i);a&&(!n||to(r,r[a],a,n))&&(delete r[a],s=!0)}}return M.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||to(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return M.forEach(this,(s,o)=>{const i=M.findKey(r,o);if(i){n[i]=Kr(s),delete n[o];return}const a=t?Om(o):String(o).trim();a!==o&&delete n[o],n[a]=Kr(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return M.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&M.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
24
24
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Fa]=this[Fa]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=Wn(i);r[a]||(Pm(s,i),r[a]=!0)}return M.isArray(t)?t.forEach(o):o(t),this}};Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ze.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});M.freezeMethods(Ze);function no(e,t){const n=this||xr,r=t||n,s=Ze.from(r.headers);let o=r.data;return M.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Zu(e){return!!(e&&e.__CANCEL__)}function kn(e,t,n){te.call(this,e??"canceled",te.ERR_CANCELED,t,n),this.name="CanceledError"}M.inherits(kn,te,{__CANCEL__:!0});function Yu(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new te("Request failed with status code "+n.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Mm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Im(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=r[o];i||(i=u),n[s]=c,r[s]=u;let f=o,h=0;for(;f!==s;)h+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const d=l&&u-l;return d?Math.round(h*1e3/d):void 0}}function Hm(e,t){let n=0,r=1e3/t,s,o;const i=(u,l=Date.now())=>{n=l,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),f=l-n;f>=r?i(u,l):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const cs=(e,t,n=3)=>{let r=0;const s=Im(50,250);return Hm(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,c=i-r,u=s(c),l=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-i)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},ka=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Na=e=>(...t)=>M.asap(()=>e(...t)),Dm=De.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,De.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(De.origin),De.navigator&&/(msie|trident)/i.test(De.navigator.userAgent)):()=>!0,Vm=De.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];M.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),M.isString(r)&&i.push("path="+r),M.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Fm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function km(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ju(e,t,n){let r=!Fm(t);return e&&(r||n==!1)?km(e,t):t}const $a=e=>e instanceof Ze?{...e}:e;function vn(e,t){t=t||{};const n={};function r(u,l,f,h){return M.isPlainObject(u)&&M.isPlainObject(l)?M.merge.call({caseless:h},u,l):M.isPlainObject(l)?M.merge({},l):M.isArray(l)?l.slice():l}function s(u,l,f,h){if(M.isUndefined(l)){if(!M.isUndefined(u))return r(void 0,u,f,h)}else return r(u,l,f,h)}function o(u,l){if(!M.isUndefined(l))return r(void 0,l)}function i(u,l){if(M.isUndefined(l)){if(!M.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function a(u,l,f){if(f in t)return r(u,l);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,l,f)=>s($a(u),$a(l),f,!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(l){const f=c[l]||s,h=f(e[l],t[l],l);M.isUndefined(h)&&f!==a||(n[l]=h)}),n}const Xu=e=>{const t=vn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=Ze.from(i),t.url=Gu(Ju(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(M.isFormData(n)){if(De.hasStandardBrowserEnv||De.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...l]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...l].join("; "))}}if(De.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(t)),r||r!==!1&&Dm(t.url))){const u=s&&o&&Vm.read(o);u&&i.set(s,u)}return t},Nm=typeof XMLHttpRequest<"u",$m=Nm&&function(e){return new Promise(function(n,r){const s=Xu(e);let o=s.data;const i=Ze.from(s.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=s,l,f,h,d,p;function m(){d&&d(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let g=new XMLHttpRequest;g.open(s.method.toUpperCase(),s.url,!0),g.timeout=s.timeout;function v(){if(!g)return;const S=Ze.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};Yu(function(P){n(P),m()},function(P){r(P),m()},R),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(r(new te("Request aborted",te.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new te("Network Error",te.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const R=s.transitional||zu;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),r(new te(A,R.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,e,g)),g=null},o===void 0&&i.setContentType(null),"setRequestHeader"in g&&M.forEach(i.toJSON(),function(A,R){g.setRequestHeader(R,A)}),M.isUndefined(s.withCredentials)||(g.withCredentials=!!s.withCredentials),a&&a!=="json"&&(g.responseType=s.responseType),u&&([h,p]=cs(u,!0),g.addEventListener("progress",h)),c&&g.upload&&([f,d]=cs(c),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",d)),(s.cancelToken||s.signal)&&(l=S=>{g&&(r(!S||S.type?new kn(null,e,g):S),g.abort(),g=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const y=Mm(s.url);if(y&&De.protocols.indexOf(y)===-1){r(new te("Unsupported protocol "+y+":",te.ERR_BAD_REQUEST,e));return}g.send(o||null)})},jm=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,a();const l=u instanceof Error?u:this.reason;r.abort(l instanceof te?l:new kn(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new te(`timeout ${t} of ms exceeded`,te.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>M.asap(a),c}},Bm=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},Um=async function*(e,t){for await(const n of Wm(e))yield*Bm(n,t)},Wm=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},ja=(e,t,n,r)=>{const s=Um(e,t);let o=0,i,a=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await s.next();if(u){a(),c.close();return}let f=l.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),s.return()}},{highWaterMark:2})},Fs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Qu=Fs&&typeof ReadableStream=="function",Gm=Fs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_u=(e,...t)=>{try{return!!e(...t)}catch{return!1}},zm=Qu&&_u(()=>{let e=!1;const t=new Request(De.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ba=64*1024,Ho=Qu&&_u(()=>M.isReadableStream(new Response("").body)),ls={stream:Ho&&(e=>e.body)};Fs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ls[t]&&(ls[t]=M.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new te(`Response type '${t}' is not supported`,te.ERR_NOT_SUPPORT,r)})})})(new Response);const Km=async e=>{if(e==null)return 0;if(M.isBlob(e))return e.size;if(M.isSpecCompliantForm(e))return(await new Request(De.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(M.isArrayBufferView(e)||M.isArrayBuffer(e))return e.byteLength;if(M.isURLSearchParams(e)&&(e=e+""),M.isString(e))return(await Gm(e)).byteLength},Zm=async(e,t)=>{const n=M.toFiniteNumber(e.getContentLength());return n??Km(t)},Ym=Fs&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:h}=Xu(e);u=u?(u+"").toLowerCase():"text";let d=jm([s,o&&o.toAbortSignal()],i),p;const m=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let g;try{if(c&&zm&&n!=="get"&&n!=="head"&&(g=await Zm(l,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(M.isFormData(r)&&(T=R.headers.get("content-type"))&&l.setContentType(T),R.body){const[P,E]=ka(g,cs(Na(c)));r=ja(R.body,Ba,P,E)}}M.isString(f)||(f=f?"include":"omit");const v="credentials"in Request.prototype;p=new Request(t,{...h,signal:d,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:v?f:void 0});let y=await fetch(p,h);const S=Ho&&(u==="stream"||u==="response");if(Ho&&(a||S&&m)){const R={};["status","statusText","headers"].forEach(L=>{R[L]=y[L]});const T=M.toFiniteNumber(y.headers.get("content-length")),[P,E]=a&&ka(T,cs(Na(a),!0))||[];y=new Response(ja(y.body,Ba,P,()=>{E&&E(),m&&m()}),R)}u=u||"text";let A=await ls[M.findKey(ls,u)||"text"](y,e);return!S&&m&&m(),await new Promise((R,T)=>{Yu(R,T,{data:A,headers:Ze.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:p})})}catch(v){throw m&&m(),v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)?Object.assign(new te("Network Error",te.ERR_NETWORK,e,p),{cause:v.cause||v}):te.from(v,v&&v.code,e,p)}}),Do={http:lm,xhr:$m,fetch:Ym};M.forEach(Do,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ua=e=>`- ${e}`,Jm=e=>M.isFunction(e)||e===null||e===!1,qu={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!Jm(n)&&(r=Do[(i=String(n)).toLowerCase()],r===void 0))throw new te(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
25
25
  `+o.map(Ua).join(`
@@ -32,7 +32,7 @@ Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function
32
32
  * vue-router v4.5.1
33
33
  * (c) 2025 Eduardo San Martin Morote
34
34
  * @license MIT
35
- */const En=typeof document<"u";function Sf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sf(e.default)}const ae=Object.assign;function io(e,t){const n={};for(const r in t){const s=t[r];n[r]=lt(s)?s.map(e):e(s)}return n}const rr=()=>{},lt=Array.isArray,Cf=/#/g,$0=/&/g,j0=/\//g,B0=/=/g,U0=/\?/g,Af=/\+/g,W0=/%5B/g,G0=/%5D/g,Lf=/%5E/g,z0=/%60/g,Ef=/%7B/g,K0=/%7C/g,wf=/%7D/g,Z0=/%20/g;function Ii(e){return encodeURI(""+e).replace(K0,"|").replace(W0,"[").replace(G0,"]")}function Y0(e){return Ii(e).replace(Ef,"{").replace(wf,"}").replace(Lf,"^")}function ko(e){return Ii(e).replace(Af,"%2B").replace(Z0,"+").replace(Cf,"%23").replace($0,"%26").replace(z0,"`").replace(Ef,"{").replace(wf,"}").replace(Lf,"^")}function J0(e){return ko(e).replace(B0,"%3D")}function X0(e){return Ii(e).replace(Cf,"%23").replace(U0,"%3F")}function Q0(e){return e==null?"":X0(e).replace(j0,"%2F")}function mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const _0=/\/$/,q0=e=>e.replace(_0,"");function ao(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=r2(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:mr(i)}}function e2(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function pc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function t2(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Hn(t.matched[r],n.matched[s])&&Tf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Tf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!n2(e[n],t[n]))return!1;return!0}function n2(e,t){return lt(e)?mc(e,t):lt(t)?mc(t,e):e===t}function mc(e,t){return lt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function r2(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const kt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sr||(sr={}));function s2(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),q0(e)}const o2=/^[^#]+#/;function i2(e,t){return e.replace(o2,"#")+t}function a2(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ns=()=>({left:window.scrollX,top:window.scrollY});function c2(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=a2(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function gc(e,t){return(history.state?history.state.position-t:-1)+e}const No=new Map;function l2(e,t){No.set(e,t)}function u2(e){const t=No.get(e);return No.delete(e),t}let f2=()=>location.protocol+"//"+location.host;function xf(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),pc(c,"")}return pc(n,e)+r+s}function d2(e,t,n,r){let s=[],o=[],i=null;const a=({state:h})=>{const d=xf(e,location),p=n.value,m=t.value;let g=0;if(h){if(n.value=d,t.value=h,i&&i===p){i=null;return}g=m?h.position-m.position:0}else r(d);s.forEach(v=>{v(n.value,p,{delta:g,type:gr.pop,direction:g?g>0?sr.forward:sr.back:sr.unknown})})};function c(){i=n.value}function u(h){s.push(h);const d=()=>{const p=s.indexOf(h);p>-1&&s.splice(p,1)};return o.push(d),d}function l(){const{history:h}=window;h.state&&h.replaceState(ae({},h.state,{scroll:Ns()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function vc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ns():null}}function h2(e){const{history:t,location:n}=window,r={value:xf(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,l){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:f2()+e+c;try{t[l?"replaceState":"pushState"](u,"",h),s.value=u}catch(d){console.error(d),n[l?"replace":"assign"](h)}}function i(c,u){const l=ae({},t.state,vc(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});o(c,l,!0),r.value=c}function a(c,u){const l=ae({},s.value,t.state,{forward:c,scroll:Ns()});o(l.current,l,!0);const f=ae({},vc(r.value,c,null),{position:l.position+1},u);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function p2(e){e=s2(e);const t=h2(e),n=d2(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ae({location:"",base:e,go:r,createHref:i2.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function m2(e){return typeof e=="string"||e&&typeof e=="object"}function Rf(e){return typeof e=="string"||typeof e=="symbol"}const Of=Symbol("");var yc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yc||(yc={}));function Dn(e,t){return ae(new Error,{type:e,[Of]:!0},t)}function Lt(e,t){return e instanceof Error&&Of in e&&(t==null||!!(e.type&t))}const bc="[^/]+?",g2={sensitive:!1,strict:!1,start:!0,end:!0},v2=/[.+*?^${}()[\]/\\]/g;function y2(e,t){const n=ae({},g2,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=40+(n.sensitive?.25:0);if(h.type===0)f||(s+="/"),s+=h.value.replace(v2,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:m,optional:g,regexp:v}=h;o.push({name:p,repeatable:m,optional:g});const y=v||bc;if(y!==bc){d+=10;try{new RegExp(`(${y})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+A.message)}}let S=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(S=g&&u.length<2?`(?:/${S})`:"/"+S),g&&(S+="?"),s+=S,d+=20,g&&(d+=-8),m&&(d+=-20),y===".*"&&(d+=-50)}l.push(d)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(i),f={};if(!l)return null;for(let h=1;h<l.length;h++){const d=l[h]||"",p=o[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function c(u){let l="",f=!1;for(const h of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const d of h)if(d.type===0)l+=d.value;else if(d.type===1){const{value:p,repeatable:m,optional:g}=d,v=p in u?u[p]:"";if(lt(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=lt(v)?v.join("/"):v;if(!y)if(g)h.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=y}}return l||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function b2(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Pf(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=b2(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Sc(r))return 1;if(Sc(s))return-1}return s.length-r.length}function Sc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const S2={type:0,value:""},C2=/[a-zA-Z0-9_]/;function A2(e){if(!e)return[[]];if(e==="/")return[[S2]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,u="",l="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):h();break;case 4:h(),n=r;break;case 1:c==="("?n=2:C2.test(c)?h():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function L2(e,t,n){const r=y2(A2(e.path),n),s=ae(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function E2(e,t){const n=[],r=new Map;t=Ec({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,h,d){const p=!d,m=Ac(f);m.aliasOf=d&&d.record;const g=Ec(t,f),v=[m];if("alias"in f){const A=typeof f.alias=="string"?[f.alias]:f.alias;for(const R of A)v.push(Ac(ae({},m,{components:d?d.record.components:m.components,path:R,aliasOf:d?d.record:m})))}let y,S;for(const A of v){const{path:R}=A;if(h&&R[0]!=="/"){const T=h.record.path,P=T[T.length-1]==="/"?"":"/";A.path=h.record.path+(R&&P+R)}if(y=L2(A,h,g),d?d.alias.push(y):(S=S||y,S!==y&&S.alias.push(y),p&&f.name&&!Lc(y)&&i(f.name)),Mf(y)&&c(y),m.children){const T=m.children;for(let P=0;P<T.length;P++)o(T[P],y,d&&d.children[P])}d=d||y}return S?()=>{i(S)}:rr}function i(f){if(Rf(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const h=x2(f,n);n.splice(h,0,f),f.record.name&&!Lc(f)&&r.set(f.record.name,f)}function u(f,h){let d,p={},m,g;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Dn(1,{location:f});g=d.record.name,p=ae(Cc(h.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&Cc(f.params,d.keys.map(S=>S.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(S=>S.re.test(m)),d&&(p=d.parse(m),g=d.record.name);else{if(d=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!d)throw Dn(1,{location:f,currentLocation:h});g=d.record.name,p=ae({},h.params,f.params),m=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:g,path:m,params:p,matched:v,meta:T2(v)}}e.forEach(f=>o(f));function l(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:l,getRoutes:a,getRecordMatcher:s}}function Cc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ac(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:w2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function w2(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Lc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function T2(e){return e.reduce((t,n)=>ae(t,n.meta),{})}function Ec(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function x2(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Pf(e,t[o])<0?r=o:n=o+1}const s=R2(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function R2(e){let t=e;for(;t=t.parent;)if(Mf(t)&&Pf(e,t)===0)return t}function Mf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function O2(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Af," "),i=o.indexOf("="),a=mr(i<0?o:o.slice(0,i)),c=i<0?null:mr(o.slice(i+1));if(a in t){let u=t[a];lt(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function wc(e){let t="";for(let n in e){const r=e[n];if(n=J0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lt(r)?r.map(o=>o&&ko(o)):[r&&ko(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function P2(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const M2=Symbol(""),Tc=Symbol(""),Hi=Symbol(""),If=Symbol(""),$o=Symbol("");function Gn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const u=h=>{h===!1?c(Dn(4,{from:n,to:t})):h instanceof Error?c(h):m2(h)?c(Dn(2,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),a())},l=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function co(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Sf(c)){const l=(c.__vccOpts||c)[t];l&&o.push(Gt(l,n,r,i,a,s))}else{let u=c();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=N0(l)?l.default:l;i.mods[a]=l,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Gt(d,n,r,i,a,s)()}))}}return o}function xc(e){const t=Ae(Hi),n=Ae(If),r=se(()=>{const c=qe(e.to);return t.resolve(c)}),s=se(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const h=f.findIndex(Hn.bind(null,l));if(h>-1)return h;const d=Rc(c[u-2]);return u>1&&Rc(l)===d&&f[f.length-1].path!==d?f.findIndex(Hn.bind(null,c[u-2])):h}),o=se(()=>s.value>-1&&F2(n.params,r.value.params)),i=se(()=>s.value>-1&&s.value===n.matched.length-1&&Tf(n.params,r.value.params));function a(c={}){if(V2(c)){const u=t[qe(e.replace)?"replace":"push"](qe(e.to)).catch(rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function I2(e){return e.length===1?e[0]:e}const H2=Es({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:xc,setup(e,{slots:t}){const n=ze(xc(e)),{options:r}=Ae(Hi),s=se(()=>({[Oc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Oc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&I2(t.default(n));return e.custom?o:Os("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),D2=H2;function V2(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function F2(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!lt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Rc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oc=(e,t,n)=>e??t??n,k2=Es({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae($o),s=se(()=>e.route||r.value),o=Ae(Tc,0),i=se(()=>{let u=qe(o);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=se(()=>s.value.matched[i.value]);Ot(Tc,se(()=>i.value+1)),Ot(M2,a),Ot($o,s);const c=ke();return nt(()=>[c.value,a.value,e.name],([u,l,f],[h,d,p])=>{l&&(l.instances[f]=u,d&&d!==l&&u&&u===h&&(l.leaveGuards.size||(l.leaveGuards=d.leaveGuards),l.updateGuards.size||(l.updateGuards=d.updateGuards))),u&&l&&(!d||!Hn(l,d)||!h)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,h=f&&f.components[l];if(!h)return Pc(n.default,{Component:h,route:u});const d=f.props[l],p=d?d===!0?u.params:typeof d=="function"?d(u):d:null,g=Os(h,ae({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Pc(n.default,{Component:g,route:u})||g}}});function Pc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const N2=k2;function $2(e){const t=E2(e.routes,e),n=e.parseQuery||O2,r=e.stringifyQuery||wc,s=e.history,o=Gn(),i=Gn(),a=Gn(),c=tt(kt);let u=kt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=io.bind(null,H=>""+H),f=io.bind(null,Q0),h=io.bind(null,mr);function d(H,B){let U,K;return Rf(H)?(U=t.getRecordMatcher(H),K=B):K=H,t.addRoute(K,U)}function p(H){const B=t.getRecordMatcher(H);B&&t.removeRoute(B)}function m(){return t.getRoutes().map(H=>H.record)}function g(H){return!!t.getRecordMatcher(H)}function v(H,B){if(B=ae({},B||c.value),typeof H=="string"){const w=ao(n,H,B.path),D=t.resolve({path:w.path},B),F=s.createHref(w.fullPath);return ae(w,D,{params:h(D.params),hash:mr(w.hash),redirectedFrom:void 0,href:F})}let U;if(H.path!=null)U=ae({},H,{path:ao(n,H.path,B.path).path});else{const w=ae({},H.params);for(const D in w)w[D]==null&&delete w[D];U=ae({},H,{params:f(w)}),B.params=f(B.params)}const K=t.resolve(U,B),fe=H.hash||"";K.params=l(h(K.params));const b=e2(r,ae({},H,{hash:Y0(fe),path:K.path})),C=s.createHref(b);return ae({fullPath:b,hash:fe,query:r===wc?P2(H.query):H.query||{}},K,{redirectedFrom:void 0,href:C})}function y(H){return typeof H=="string"?ao(n,H,c.value.path):ae({},H)}function S(H,B){if(u!==H)return Dn(8,{from:B,to:H})}function A(H){return P(H)}function R(H){return A(ae(y(H),{replace:!0}))}function T(H){const B=H.matched[H.matched.length-1];if(B&&B.redirect){const{redirect:U}=B;let K=typeof U=="function"?U(H):U;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=y(K):{path:K},K.params={}),ae({query:H.query,hash:H.hash,params:K.path!=null?{}:H.params},K)}}function P(H,B){const U=u=v(H),K=c.value,fe=H.state,b=H.force,C=H.replace===!0,w=T(U);if(w)return P(ae(y(w),{state:typeof w=="object"?ae({},fe,w.state):fe,force:b,replace:C}),B||U);const D=U;D.redirectedFrom=B;let F;return!b&&t2(r,K,U)&&(F=Dn(16,{to:D,from:K}),Ee(K,K,!0,!1)),(F?Promise.resolve(F):x(D,K)).catch(V=>Lt(V)?Lt(V,2)?V:ie(V):Z(V,D,K)).then(V=>{if(V){if(Lt(V,2))return P(ae({replace:C},y(V.to),{state:typeof V.to=="object"?ae({},fe,V.to.state):fe,force:b}),B||D)}else V=O(D,K,!0,C,fe);return I(D,K,V),V})}function E(H,B){const U=S(H,B);return U?Promise.reject(U):Promise.resolve()}function L(H){const B=st.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(H):H()}function x(H,B){let U;const[K,fe,b]=j2(H,B);U=co(K.reverse(),"beforeRouteLeave",H,B);for(const w of K)w.leaveGuards.forEach(D=>{U.push(Gt(D,H,B))});const C=E.bind(null,H,B);return U.push(C),Ue(U).then(()=>{U=[];for(const w of o.list())U.push(Gt(w,H,B));return U.push(C),Ue(U)}).then(()=>{U=co(fe,"beforeRouteUpdate",H,B);for(const w of fe)w.updateGuards.forEach(D=>{U.push(Gt(D,H,B))});return U.push(C),Ue(U)}).then(()=>{U=[];for(const w of b)if(w.beforeEnter)if(lt(w.beforeEnter))for(const D of w.beforeEnter)U.push(Gt(D,H,B));else U.push(Gt(w.beforeEnter,H,B));return U.push(C),Ue(U)}).then(()=>(H.matched.forEach(w=>w.enterCallbacks={}),U=co(b,"beforeRouteEnter",H,B,L),U.push(C),Ue(U))).then(()=>{U=[];for(const w of i.list())U.push(Gt(w,H,B));return U.push(C),Ue(U)}).catch(w=>Lt(w,8)?w:Promise.reject(w))}function I(H,B,U){a.list().forEach(K=>L(()=>K(H,B,U)))}function O(H,B,U,K,fe){const b=S(H,B);if(b)return b;const C=B===kt,w=En?history.state:{};U&&(K||C?s.replace(H.fullPath,ae({scroll:C&&w&&w.scroll},fe)):s.push(H.fullPath,fe)),c.value=H,Ee(H,B,U,C),ie()}let k;function X(){k||(k=s.listen((H,B,U)=>{const K=v(H),fe=T(K);if(fe){P(ae(fe,{replace:!0,force:!0}),K).catch(rr);return}u=K;const b=c.value;En&&l2(gc(b.fullPath,U.delta),Ns()),x(K,b).catch(C=>Lt(C,12)?C:Lt(C,2)?(P(ae(y(C.to),{force:!0}),K).then(w=>{Lt(w,20)&&!U.delta&&U.type===gr.pop&&s.go(-1,!1)}).catch(rr),Promise.reject()):(U.delta&&s.go(-U.delta,!1),Z(C,K,b))).then(C=>{C=C||O(K,b,!1),C&&(U.delta&&!Lt(C,8)?s.go(-U.delta,!1):U.type===gr.pop&&Lt(C,20)&&s.go(-1,!1)),I(K,b,C)}).catch(rr)}))}let ne=Gn(),ee=Gn(),z;function Z(H,B,U){ie(H);const K=ee.list();return K.length?K.forEach(fe=>fe(H,B,U)):console.error(H),Promise.reject(H)}function ue(){return z&&c.value!==kt?Promise.resolve():new Promise((H,B)=>{ne.add([H,B])})}function ie(H){return z||(z=!H,X(),ne.list().forEach(([B,U])=>H?U(H):B()),ne.reset()),H}function Ee(H,B,U,K){const{scrollBehavior:fe}=e;if(!En||!fe)return Promise.resolve();const b=!U&&u2(gc(H.fullPath,0))||(K||!U)&&history.state&&history.state.scroll||null;return Ls().then(()=>fe(H,B,b)).then(C=>C&&c2(C)).catch(C=>Z(C,H,B))}const ve=H=>s.go(H);let we;const st=new Set,_t={currentRoute:c,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:v,options:e,push:A,replace:R,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:ee.add,isReady:ue,install(H){const B=this;H.component("RouterLink",D2),H.component("RouterView",N2),H.config.globalProperties.$router=B,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>qe(c)}),En&&!we&&c.value===kt&&(we=!0,A(s.location).catch(fe=>{}));const U={};for(const fe in kt)Object.defineProperty(U,fe,{get:()=>c.value[fe],enumerable:!0});H.provide(Hi,B),H.provide(If,El(U)),H.provide($o,c);const K=H.unmount;st.add(H),H.unmount=function(){st.delete(H),st.size<1&&(u=kt,k&&k(),k=null,c.value=kt,we=!1,z=!1),K()}}};function Ue(H){return H.reduce((B,U)=>B.then(()=>L(U)),Promise.resolve())}return _t}function j2(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Hn(u,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(u=>Hn(u,c))||s.push(c))}return[n,r,s]}const B2="",Hf=[{group:"r",pks:"0",page:1}],U2=!0,W2=!0,G2="sort_name",z2=!1,K2="",Z2={i:!1,p:!0,s:!0,v:!1},Y2="p",J2=!1,_e={bookmarkFilter:B2,breadcrumbs:Hf,customCovers:U2,dynamicCovers:W2,orderBy:G2,orderReverse:z2,q:K2,show:Z2,topGroup:Y2,twentyFourHourTime:J2},X2=()=>ft(()=>import("./admin-CIbnFqxt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),Q2=()=>ft(()=>import("./browser-DMRabbl3.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,24,25,26,27,17,18,28,29,30,31,32,33,34,35,36,37,15,16,19,38,39,40])),_2=()=>ft(()=>import("./http-error-epAHz82x.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,42])),q2=()=>ft(()=>import("./reader-cxP2TezB.js").then(e=>e.r),__vite__mapDeps([43,15,3,4,1,2,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,27,28,29,34,32,33,35,36,37,44,45,46,47,38,39,24,25,48])),ev=()=>ft(()=>import("./flag-tab-Dhxz4kfb.js"),__vite__mapDeps([49,11,32,3,4,33,8,9,38,28,39,50])),tv=()=>ft(()=>import("./user-tab-D7CLZnGq.js"),__vite__mapDeps([51,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,38,39,54,55,6,12])),nv=()=>ft(()=>import("./group-tab-CyJtnpUL.js"),__vite__mapDeps([56,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,46,47,57])),rv=()=>ft(()=>import("./library-tab-CBNwfzuv.js"),__vite__mapDeps([58,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,26,31,38,39,54,55,44,45,59])),sv=()=>ft(()=>import("./task-tab-ZhK-Gdm1.js"),__vite__mapDeps([60,35,2,3,4,5,36,11,27,8,9,13,17,18,28,29,61])),ov=()=>ft(()=>import("./stats-tab-BrnDOFnQ.js"),__vite__mapDeps([62,32,3,4,33,35,2,5,36,16,11,63])),iv={name:"browser",params:globalThis.CODEX.LAST_ROUTE||Hf[0]},av=[{name:"home",path:"/",redirect:iv},{name:"reader",path:"/c/:pk/:page",component:q2},{name:"browser",path:"/:group/:pks/:page",component:Q2},{name:"admin",path:"/admin",component:X2,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:tv},{name:"admin-groups",path:"groups",component:nv},{name:"admin-libraries",path:"libraries",component:rv},{name:"admin-flags",path:"flags",component:ev},{name:"admin-tasks",path:"tasks",component:sv},{name:"admin-stats",path:"stats",component:ov}]},{name:"error",path:"/error/:code",component:_2,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],ye=new $2({history:p2(globalThis.CODEX.APP_PATH),routes:av});function cv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lo={exports:{}},Mc;function lv(){return Mc||(Mc=1,function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,(function(c){return s[c]}).bind(null,a));return i},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({"00ee":function(t,n,r){var s=r("b622"),o=s("toStringTag"),i={};i[o]="z",t.exports=String(i)==="[object z]"},"0366":function(t,n,r){var s=r("1c0b");t.exports=function(o,i,a){if(s(o),i===void 0)return o;switch(a){case 0:return function(){return o.call(i)};case 1:return function(c){return o.call(i,c)};case 2:return function(c,u){return o.call(i,c,u)};case 3:return function(c,u,l){return o.call(i,c,u,l)}}return function(){return o.apply(i,arguments)}}},"06cf":function(t,n,r){var s=r("83ab"),o=r("d1e7"),i=r("5c6c"),a=r("fc6a"),c=r("c04e"),u=r("5135"),l=r("0cfb"),f=Object.getOwnPropertyDescriptor;n.f=s?f:function(d,p){if(d=a(d),p=c(p,!0),l)try{return f(d,p)}catch{}if(u(d,p))return i(!o.f.call(d,p),d[p])}},"0cfb":function(t,n,r){var s=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!s&&!o(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},"159b":function(t,n,r){var s=r("da84"),o=r("fdbc"),i=r("17c2"),a=r("9112");for(var c in o){var u=s[c],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch{l.forEach=i}}},"17c2":function(t,n,r){var s=r("b727").forEach,o=r("a640"),i=o("forEach");t.exports=i?[].forEach:function(c){return s(this,c,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,n){t.exports=function(r,s,o){if(!(r instanceof s))throw TypeError("Incorrect "+(o?o+" ":"")+"invocation");return r}},"1be4":function(t,n,r){var s=r("d066");t.exports=s("document","documentElement")},"1c0b":function(t,n){t.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"1c7e":function(t,n,r){var s=r("b622"),o=s("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,function(){throw 2})}catch{}t.exports=function(u,l){if(!l&&!i)return!1;var f=!1;try{var h={};h[o]=function(){return{next:function(){return{done:f=!0}}}},u(h)}catch{}return f}},"1d80":function(t,n){t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"1dde":function(t,n,r){var s=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");t.exports=function(c){return i>=51||!s(function(){var u=[],l=u.constructor={};return l[a]=function(){return{foo:1}},u[c](Boolean).foo!==1})}},2266:function(t,n,r){var s=r("825a"),o=r("e95a"),i=r("50c4"),a=r("0366"),c=r("35a1"),u=r("2a62"),l=function(f,h){this.stopped=f,this.result=h};t.exports=function(f,h,d){var p=d&&d.that,m=!!(d&&d.AS_ENTRIES),g=!!(d&&d.IS_ITERATOR),v=!!(d&&d.INTERRUPTED),y=a(h,p,1+m+v),S,A,R,T,P,E,L,x=function(O){return S&&u(S),new l(!0,O)},I=function(O){return m?(s(O),v?y(O[0],O[1],x):y(O[0],O[1])):v?y(O,x):y(O)};if(g)S=f;else{if(A=c(f),typeof A!="function")throw TypeError("Target is not iterable");if(o(A)){for(R=0,T=i(f.length);T>R;R++)if(P=I(f[R]),P&&P instanceof l)return P;return new l(!1)}S=A.call(f)}for(E=S.next;!(L=E.call(S)).done;){try{P=I(L.value)}catch(O){throw u(S),O}if(typeof P=="object"&&P&&P instanceof l)return P}return new l(!1)}},"23cb":function(t,n,r){var s=r("a691"),o=Math.max,i=Math.min;t.exports=function(a,c){var u=s(a);return u<0?o(u+c,0):i(u,c)}},"23e7":function(t,n,r){var s=r("da84"),o=r("06cf").f,i=r("9112"),a=r("6eeb"),c=r("ce4e"),u=r("e893"),l=r("94ca");t.exports=function(f,h){var d=f.target,p=f.global,m=f.stat,g,v,y,S,A,R;if(p?v=s:m?v=s[d]||c(d,{}):v=(s[d]||{}).prototype,v)for(y in h){if(A=h[y],f.noTargetGet?(R=o(v,y),S=R&&R.value):S=v[y],g=l(p?y:d+(m?".":"#")+y,f.forced),!g&&S!==void 0){if(typeof A==typeof S)continue;u(A,S)}(f.sham||S&&S.sham)&&i(A,"sham",!0),a(v,y,A,f)}}},"241c":function(t,n,r){var s=r("ca84"),o=r("7839"),i=o.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(c){return s(c,i)}},"25f0":function(t,n,r){var s=r("6eeb"),o=r("825a"),i=r("d039"),a=r("ad6d"),c="toString",u=RegExp.prototype,l=u[c],f=i(function(){return l.call({source:"a",flags:"b"})!="/a/b"}),h=l.name!=c;(f||h)&&s(RegExp.prototype,c,function(){var p=o(this),m=String(p.source),g=p.flags,v=String(g===void 0&&p instanceof RegExp&&!("flags"in u)?a.call(p):g);return"/"+m+"/"+v},{unsafe:!0})},2626:function(t,n,r){var s=r("d066"),o=r("9bf2"),i=r("b622"),a=r("83ab"),c=i("species");t.exports=function(u){var l=s(u),f=o.f;a&&l&&!l[c]&&f(l,c,{configurable:!0,get:function(){return this}})}},"2a62":function(t,n,r){var s=r("825a");t.exports=function(o){var i=o.return;if(i!==void 0)return s(i.call(o)).value}},"2ca0":function(t,n,r){var s=r("23e7"),o=r("06cf").f,i=r("50c4"),a=r("5a34"),c=r("1d80"),u=r("ab13"),l=r("c430"),f="".startsWith,h=Math.min,d=u("startsWith"),p=!l&&!d&&!!function(){var m=o(String.prototype,"startsWith");return m&&!m.writable}();s({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(g){var v=String(c(this));a(g);var y=i(h(arguments.length>1?arguments[1]:void 0,v.length)),S=String(g);return f?f.call(v,S,y):v.slice(y,y+S.length)===S}})},"2d00":function(t,n,r){var s=r("da84"),o=r("342f"),i=s.process,a=i&&i.versions,c=a&&a.v8,u,l;c?(u=c.split("."),l=u[0]<4?1:u[0]+u[1]):o&&(u=o.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=o.match(/Chrome\/(\d+)/),u&&(l=u[1]))),t.exports=l&&+l},"342f":function(t,n,r){var s=r("d066");t.exports=s("navigator","userAgent")||""},"35a1":function(t,n,r){var s=r("f5df"),o=r("3f8c"),i=r("b622"),a=i("iterator");t.exports=function(c){if(c!=null)return c[a]||c["@@iterator"]||o[s(c)]}},"37e8":function(t,n,r){var s=r("83ab"),o=r("9bf2"),i=r("825a"),a=r("df75");t.exports=s?Object.defineProperties:function(u,l){i(u);for(var f=a(l),h=f.length,d=0,p;h>d;)o.f(u,p=f[d++],l[p]);return u}},"3bbe":function(t,n,r){var s=r("861d");t.exports=function(o){if(!s(o)&&o!==null)throw TypeError("Can't set "+String(o)+" as a prototype");return o}},"3ca3":function(t,n,r){var s=r("6547").charAt,o=r("69f3"),i=r("7dd0"),a="String Iterator",c=o.set,u=o.getterFor(a);i(String,"String",function(l){c(this,{type:a,string:String(l),index:0})},function(){var f=u(this),h=f.string,d=f.index,p;return d>=h.length?{value:void 0,done:!0}:(p=s(h,d),f.index+=p.length,{value:p,done:!1})})},"3f8c":function(t,n){t.exports={}},"428f":function(t,n,r){var s=r("da84");t.exports=s},"44ad":function(t,n,r){var s=r("d039"),o=r("c6b6"),i="".split;t.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return o(a)=="String"?i.call(a,""):Object(a)}:Object},"44d2":function(t,n,r){var s=r("b622"),o=r("7c73"),i=r("9bf2"),a=s("unscopables"),c=Array.prototype;c[a]==null&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(u){c[a][u]=!0}},"44e7":function(t,n,r){var s=r("861d"),o=r("c6b6"),i=r("b622"),a=i("match");t.exports=function(c){var u;return s(c)&&((u=c[a])!==void 0?!!u:o(c)=="RegExp")}},4930:function(t,n,r){var s=r("2d00"),o=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var i=Symbol();return!String(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&s&&s<41})},"4d64":function(t,n,r){var s=r("fc6a"),o=r("50c4"),i=r("23cb"),a=function(c){return function(u,l,f){var h=s(u),d=o(h.length),p=i(f,d),m;if(c&&l!=l){for(;d>p;)if(m=h[p++],m!=m)return!0}else for(;d>p;p++)if((c||p in h)&&h[p]===l)return c||p||0;return!c&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,n,r){var s=r("23e7"),o=r("b727").filter,i=r("1dde"),a=i("filter");s({target:"Array",proto:!0,forced:!a},{filter:function(u){return o(this,u,arguments.length>1?arguments[1]:void 0)}})},"4ec9":function(t,n,r){var s=r("6d61"),o=r("6566");t.exports=s("Map",function(i){return function(){return i(this,arguments.length?arguments[0]:void 0)}},o)},"50c4":function(t,n,r){var s=r("a691"),o=Math.min;t.exports=function(i){return i>0?o(s(i),9007199254740991):0}},5135:function(t,n,r){var s=r("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(a,c){return o.call(s(a),c)}},5692:function(t,n,r){var s=r("c430"),o=r("c6cd");(t.exports=function(i,a){return o[i]||(o[i]=a!==void 0?a:{})})("versions",[]).push({version:"3.15.2",mode:s?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,n,r){var s=r("d066"),o=r("241c"),i=r("7418"),a=r("825a");t.exports=s("Reflect","ownKeys")||function(u){var l=o.f(a(u)),f=i.f;return f?l.concat(f(u)):l}},"5a34":function(t,n,r){var s=r("44e7");t.exports=function(o){if(s(o))throw TypeError("The method doesn't accept regular expressions");return o}},"5c6c":function(t,n){t.exports=function(r,s){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:s}}},6547:function(t,n,r){var s=r("a691"),o=r("1d80"),i=function(a){return function(c,u){var l=String(o(c)),f=s(u),h=l.length,d,p;return f<0||f>=h?a?"":void 0:(d=l.charCodeAt(f),d<55296||d>56319||f+1===h||(p=l.charCodeAt(f+1))<56320||p>57343?a?l.charAt(f):d:a?l.slice(f,f+2):(d-55296<<10)+(p-56320)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},6566:function(t,n,r){var s=r("9bf2").f,o=r("7c73"),i=r("e2cc"),a=r("0366"),c=r("19aa"),u=r("2266"),l=r("7dd0"),f=r("2626"),h=r("83ab"),d=r("f183").fastKey,p=r("69f3"),m=p.set,g=p.getterFor;t.exports={getConstructor:function(v,y,S,A){var R=v(function(L,x){c(L,R,y),m(L,{type:y,index:o(null),first:void 0,last:void 0,size:0}),h||(L.size=0),x!=null&&u(x,L[A],{that:L,AS_ENTRIES:S})}),T=g(y),P=function(L,x,I){var O=T(L),k=E(L,x),X,ne;return k?k.value=I:(O.last=k={index:ne=d(x,!0),key:x,value:I,previous:X=O.last,next:void 0,removed:!1},O.first||(O.first=k),X&&(X.next=k),h?O.size++:L.size++,ne!=="F"&&(O.index[ne]=k)),L},E=function(L,x){var I=T(L),O=d(x),k;if(O!=="F")return I.index[O];for(k=I.first;k;k=k.next)if(k.key==x)return k};return i(R.prototype,{clear:function(){for(var x=this,I=T(x),O=I.index,k=I.first;k;)k.removed=!0,k.previous&&(k.previous=k.previous.next=void 0),delete O[k.index],k=k.next;I.first=I.last=void 0,h?I.size=0:x.size=0},delete:function(L){var x=this,I=T(x),O=E(x,L);if(O){var k=O.next,X=O.previous;delete I.index[O.index],O.removed=!0,X&&(X.next=k),k&&(k.previous=X),I.first==O&&(I.first=k),I.last==O&&(I.last=X),h?I.size--:x.size--}return!!O},forEach:function(x){for(var I=T(this),O=a(x,arguments.length>1?arguments[1]:void 0,3),k;k=k?k.next:I.first;)for(O(k.value,k.key,this);k&&k.removed;)k=k.previous},has:function(x){return!!E(this,x)}}),i(R.prototype,S?{get:function(x){var I=E(this,x);return I&&I.value},set:function(x,I){return P(this,x===0?0:x,I)}}:{add:function(x){return P(this,x=x===0?0:x,x)}}),h&&s(R.prototype,"size",{get:function(){return T(this).size}}),R},setStrong:function(v,y,S){var A=y+" Iterator",R=g(y),T=g(A);l(v,y,function(P,E){m(this,{type:A,target:P,state:R(P),kind:E,last:void 0})},function(){for(var P=T(this),E=P.kind,L=P.last;L&&L.removed;)L=L.previous;return!P.target||!(P.last=L=L?L.next:P.state.first)?(P.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:L.key,done:!1}:E=="values"?{value:L.value,done:!1}:{value:[L.key,L.value],done:!1}},S?"entries":"values",!S,!0),f(y)}}},"65f0":function(t,n,r){var s=r("861d"),o=r("e8b5"),i=r("b622"),a=i("species");t.exports=function(c,u){var l;return o(c)&&(l=c.constructor,typeof l=="function"&&(l===Array||o(l.prototype))?l=void 0:s(l)&&(l=l[a],l===null&&(l=void 0))),new(l===void 0?Array:l)(u===0?0:u)}},"69f3":function(t,n,r){var s=r("7f9a"),o=r("da84"),i=r("861d"),a=r("9112"),c=r("5135"),u=r("c6cd"),l=r("f772"),f=r("d012"),h="Object already initialized",d=o.WeakMap,p,m,g,v=function(E){return g(E)?m(E):p(E,{})},y=function(E){return function(L){var x;if(!i(L)||(x=m(L)).type!==E)throw TypeError("Incompatible receiver, "+E+" required");return x}};if(s||u.state){var S=u.state||(u.state=new d),A=S.get,R=S.has,T=S.set;p=function(E,L){if(R.call(S,E))throw new TypeError(h);return L.facade=E,T.call(S,E,L),L},m=function(E){return A.call(S,E)||{}},g=function(E){return R.call(S,E)}}else{var P=l("state");f[P]=!0,p=function(E,L){if(c(E,P))throw new TypeError(h);return L.facade=E,a(E,P,L),L},m=function(E){return c(E,P)?E[P]:{}},g=function(E){return c(E,P)}}t.exports={set:p,get:m,has:g,enforce:v,getterFor:y}},"6d61":function(t,n,r){var s=r("23e7"),o=r("da84"),i=r("94ca"),a=r("6eeb"),c=r("f183"),u=r("2266"),l=r("19aa"),f=r("861d"),h=r("d039"),d=r("1c7e"),p=r("d44e"),m=r("7156");t.exports=function(g,v,y){var S=g.indexOf("Map")!==-1,A=g.indexOf("Weak")!==-1,R=S?"set":"add",T=o[g],P=T&&T.prototype,E=T,L={},x=function(z){var Z=P[z];a(P,z,z=="add"?function(ie){return Z.call(this,ie===0?0:ie),this}:z=="delete"?function(ue){return A&&!f(ue)?!1:Z.call(this,ue===0?0:ue)}:z=="get"?function(ie){return A&&!f(ie)?void 0:Z.call(this,ie===0?0:ie)}:z=="has"?function(ie){return A&&!f(ie)?!1:Z.call(this,ie===0?0:ie)}:function(ie,Ee){return Z.call(this,ie===0?0:ie,Ee),this})},I=i(g,typeof T!="function"||!(A||P.forEach&&!h(function(){new T().entries().next()})));if(I)E=y.getConstructor(v,g,S,R),c.REQUIRED=!0;else if(i(g,!0)){var O=new E,k=O[R](A?{}:-0,1)!=O,X=h(function(){O.has(1)}),ne=d(function(z){new T(z)}),ee=!A&&h(function(){for(var z=new T,Z=5;Z--;)z[R](Z,Z);return!z.has(-0)});ne||(E=v(function(z,Z){l(z,E,g);var ue=m(new T,z,E);return Z!=null&&u(Z,ue[R],{that:ue,AS_ENTRIES:S}),ue}),E.prototype=P,P.constructor=E),(X||ee)&&(x("delete"),x("has"),S&&x("get")),(ee||k)&&x(R),A&&P.clear&&delete P.clear}return L[g]=E,s({global:!0,forced:E!=T},L),p(E,g),A||y.setStrong(E,g,S),E}},"6eeb":function(t,n,r){var s=r("da84"),o=r("9112"),i=r("5135"),a=r("ce4e"),c=r("8925"),u=r("69f3"),l=u.get,f=u.enforce,h=String(String).split("String");(t.exports=function(d,p,m,g){var v=g?!!g.unsafe:!1,y=g?!!g.enumerable:!1,S=g?!!g.noTargetGet:!1,A;if(typeof m=="function"&&(typeof p=="string"&&!i(m,"name")&&o(m,"name",p),A=f(m),A.source||(A.source=h.join(typeof p=="string"?p:""))),d===s){y?d[p]=m:a(p,m);return}else v?!S&&d[p]&&(y=!0):delete d[p];y?d[p]=m:o(d,p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&l(this).source||c(this)})},7156:function(t,n,r){var s=r("861d"),o=r("d2bb");t.exports=function(i,a,c){var u,l;return o&&typeof(u=a.constructor)=="function"&&u!==c&&s(l=u.prototype)&&l!==c.prototype&&o(i,l),i}},7418:function(t,n){n.f=Object.getOwnPropertySymbols},7839:function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,n,r){var s=r("1d80");t.exports=function(o){return Object(s(o))}},"7c73":function(t,n,r){var s=r("825a"),o=r("37e8"),i=r("7839"),a=r("d012"),c=r("1be4"),u=r("cc12"),l=r("f772"),f=">",h="<",d="prototype",p="script",m=l("IE_PROTO"),g=function(){},v=function(T){return h+p+f+T+h+"/"+p+f},y=function(T){T.write(v("")),T.close();var P=T.parentWindow.Object;return T=null,P},S=function(){var T=u("iframe"),P="java"+p+":",E;return T.style.display="none",c.appendChild(T),T.src=String(P),E=T.contentWindow.document,E.open(),E.write(v("document.F=Object")),E.close(),E.F},A,R=function(){try{A=document.domain&&new ActiveXObject("htmlfile")}catch{}R=A?y(A):S();for(var T=i.length;T--;)delete R[d][i[T]];return R()};a[m]=!0,t.exports=Object.create||function(P,E){var L;return P!==null?(g[d]=s(P),L=new g,g[d]=null,L[m]=P):L=R(),E===void 0?L:o(L,E)}},"7dd0":function(t,n,r){var s=r("23e7"),o=r("9ed3"),i=r("e163"),a=r("d2bb"),c=r("d44e"),u=r("9112"),l=r("6eeb"),f=r("b622"),h=r("c430"),d=r("3f8c"),p=r("ae93"),m=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,v=f("iterator"),y="keys",S="values",A="entries",R=function(){return this};t.exports=function(T,P,E,L,x,I,O){o(E,P,L);var k=function(we){if(we===x&&Z)return Z;if(!g&&we in ee)return ee[we];switch(we){case y:return function(){return new E(this,we)};case S:return function(){return new E(this,we)};case A:return function(){return new E(this,we)}}return function(){return new E(this)}},X=P+" Iterator",ne=!1,ee=T.prototype,z=ee[v]||ee["@@iterator"]||x&&ee[x],Z=!g&&z||k(x),ue=P=="Array"&&ee.entries||z,ie,Ee,ve;if(ue&&(ie=i(ue.call(new T)),m!==Object.prototype&&ie.next&&(!h&&i(ie)!==m&&(a?a(ie,m):typeof ie[v]!="function"&&u(ie,v,R)),c(ie,X,!0,!0),h&&(d[X]=R))),x==S&&z&&z.name!==S&&(ne=!0,Z=function(){return z.call(this)}),(!h||O)&&ee[v]!==Z&&u(ee,v,Z),d[P]=Z,x)if(Ee={values:k(S),keys:I?Z:k(y),entries:k(A)},O)for(ve in Ee)(g||ne||!(ve in ee))&&l(ee,ve,Ee[ve]);else s({target:P,proto:!0,forced:g||ne},Ee);return Ee}},"7f9a":function(t,n,r){var s=r("da84"),o=r("8925"),i=s.WeakMap;t.exports=typeof i=="function"&&/native code/.test(o(i))},"825a":function(t,n,r){var s=r("861d");t.exports=function(o){if(!s(o))throw TypeError(String(o)+" is not an object");return o}},"83ab":function(t,n,r){var s=r("d039");t.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(t,n,r){var s=r("c04e"),o=r("9bf2"),i=r("5c6c");t.exports=function(a,c,u){var l=s(c);l in a?o.f(a,l,i(0,u)):a[l]=u}},"861d":function(t,n){t.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},8875:function(t,n,r){var s,o,i;(function(a,c){o=[],s=c,i=typeof s=="function"?s.apply(n,o):s,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var c=Object.getOwnPropertyDescriptor(document,"currentScript");if(!c&&"currentScript"in document&&document.currentScript||c&&c.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(A){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,l=/@([^@]*):(\d+):(\d+)\s*$/ig,f=u.exec(A.stack)||l.exec(A.stack),h=f&&f[1]||!1,d=f&&f[2]||!1,p=document.location.href.replace(document.location.hash,""),m,g,v,y=document.getElementsByTagName("script");h===p&&(m=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=m.replace(g,"$1").trim());for(var S=0;S<y.length;S++)if(y[S].readyState==="interactive"||y[S].src===h||h===p&&y[S].innerHTML&&y[S].innerHTML.trim()===v)return y[S];return null}}return a})},8925:function(t,n,r){var s=r("c6cd"),o=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(i){return o.call(i)}),t.exports=s.inspectSource},"90e3":function(t,n){var r=0,s=Math.random();t.exports=function(o){return"Symbol("+String(o===void 0?"":o)+")_"+(++r+s).toString(36)}},9112:function(t,n,r){var s=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=s?function(a,c,u){return o.f(a,c,i(1,u))}:function(a,c,u){return a[c]=u,a}},"94ca":function(t,n,r){var s=r("d039"),o=/#|\.prototype\./,i=function(f,h){var d=c[a(f)];return d==l?!0:d==u?!1:typeof h=="function"?s(h):!!h},a=i.normalize=function(f){return String(f).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},"99af":function(t,n,r){var s=r("23e7"),o=r("d039"),i=r("e8b5"),a=r("861d"),c=r("7b0b"),u=r("50c4"),l=r("8418"),f=r("65f0"),h=r("1dde"),d=r("b622"),p=r("2d00"),m=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=p>=51||!o(function(){var T=[];return T[m]=!1,T.concat()[0]!==T}),S=h("concat"),A=function(T){if(!a(T))return!1;var P=T[m];return P!==void 0?!!P:i(T)},R=!y||!S;s({target:"Array",proto:!0,forced:R},{concat:function(P){var E=c(this),L=f(E,0),x=0,I,O,k,X,ne;for(I=-1,k=arguments.length;I<k;I++)if(ne=I===-1?E:arguments[I],A(ne)){if(X=u(ne.length),x+X>g)throw TypeError(v);for(O=0;O<X;O++,x++)O in ne&&l(L,x,ne[O])}else{if(x>=g)throw TypeError(v);l(L,x++,ne)}return L.length=x,L}})},"9bf2":function(t,n,r){var s=r("83ab"),o=r("0cfb"),i=r("825a"),a=r("c04e"),c=Object.defineProperty;n.f=s?c:function(l,f,h){if(i(l),f=a(f,!0),i(h),o)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(t,n,r){var s=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),c=r("3f8c"),u=function(){return this};t.exports=function(l,f,h){var d=f+" Iterator";return l.prototype=o(s,{next:i(1,h)}),a(l,d,!1,!0),c[d]=u,l}},a15b:function(t,n,r){var s=r("23e7"),o=r("44ad"),i=r("fc6a"),a=r("a640"),c=[].join,u=o!=Object,l=a("join",",");s({target:"Array",proto:!0,forced:u||!l},{join:function(h){return c.call(i(this),h===void 0?",":h)}})},a434:function(t,n,r){var s=r("23e7"),o=r("23cb"),i=r("a691"),a=r("50c4"),c=r("7b0b"),u=r("65f0"),l=r("8418"),f=r("1dde"),h=f("splice"),d=Math.max,p=Math.min,m=9007199254740991,g="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!h},{splice:function(y,S){var A=c(this),R=a(A.length),T=o(y,R),P=arguments.length,E,L,x,I,O,k;if(P===0?E=L=0:P===1?(E=0,L=R-T):(E=P-2,L=p(d(i(S),0),R-T)),R+E-L>m)throw TypeError(g);for(x=u(A,L),I=0;I<L;I++)O=T+I,O in A&&l(x,I,A[O]);if(x.length=L,E<L){for(I=T;I<R-L;I++)O=I+L,k=I+E,O in A?A[k]=A[O]:delete A[k];for(I=R;I>R-L+E;I--)delete A[I-1]}else if(E>L)for(I=R-L;I>T;I--)O=I+L-1,k=I+E-1,O in A?A[k]=A[O]:delete A[k];for(I=0;I<E;I++)A[I+T]=arguments[I+2];return A.length=R-L+E,x}})},a640:function(t,n,r){var s=r("d039");t.exports=function(o,i){var a=[][o];return!!a&&s(function(){a.call(null,i||function(){throw 1},1)})}},a691:function(t,n){var r=Math.ceil,s=Math.floor;t.exports=function(o){return isNaN(o=+o)?0:(o>0?s:r)(o)}},ab13:function(t,n,r){var s=r("b622"),o=s("match");t.exports=function(i){var a=/./;try{"/./"[i](a)}catch{try{return a[o]=!1,"/./"[i](a)}catch{}}return!1}},ad6d:function(t,n,r){var s=r("825a");t.exports=function(){var o=s(this),i="";return o.global&&(i+="g"),o.ignoreCase&&(i+="i"),o.multiline&&(i+="m"),o.dotAll&&(i+="s"),o.unicode&&(i+="u"),o.sticky&&(i+="y"),i}},ae93:function(t,n,r){var s=r("d039"),o=r("e163"),i=r("9112"),a=r("5135"),c=r("b622"),u=r("c430"),l=c("iterator"),f=!1,h=function(){return this},d,p,m;[].keys&&(m=[].keys(),"next"in m?(p=o(o(m)),p!==Object.prototype&&(d=p)):f=!0);var g=d==null||s(function(){var v={};return d[l].call(v)!==v});g&&(d={}),(!u||g)&&!a(d,l)&&i(d,l,h),t.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f}},af93:function(t,n,r){var s=r("23e7"),o=r("861d"),i=r("f183").onFreeze,a=r("bb2f"),c=r("d039"),u=Object.seal,l=c(function(){u(1)});s({target:"Object",stat:!0,forced:l,sham:!a},{seal:function(h){return u&&o(h)?u(i(h)):h}})},b041:function(t,n,r){var s=r("00ee"),o=r("f5df");t.exports=s?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,n,r){var s=r("da84"),o=r("5692"),i=r("5135"),a=r("90e3"),c=r("4930"),u=r("fdbf"),l=o("wks"),f=s.Symbol,h=u?f:f&&f.withoutSetter||a;t.exports=function(d){return(!i(l,d)||!(c||typeof l[d]=="string"))&&(c&&i(f,d)?l[d]=f[d]:l[d]=h("Symbol."+d)),l[d]}},b64b:function(t,n,r){var s=r("23e7"),o=r("7b0b"),i=r("df75"),a=r("d039"),c=a(function(){i(1)});s({target:"Object",stat:!0,forced:c},{keys:function(l){return i(o(l))}})},b727:function(t,n,r){var s=r("0366"),o=r("44ad"),i=r("7b0b"),a=r("50c4"),c=r("65f0"),u=[].push,l=function(f){var h=f==1,d=f==2,p=f==3,m=f==4,g=f==6,v=f==7,y=f==5||g;return function(S,A,R,T){for(var P=i(S),E=o(P),L=s(A,R,3),x=a(E.length),I=0,O=T||c,k=h?O(S,x):d||v?O(S,0):void 0,X,ne;x>I;I++)if((y||I in E)&&(X=E[I],ne=L(X,I,P),f))if(h)k[I]=ne;else if(ne)switch(f){case 3:return!0;case 5:return X;case 6:return I;case 2:u.call(k,X)}else switch(f){case 4:return!1;case 7:u.call(k,X)}return g?-1:p||m?m:k}};t.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(t,n,r){var s=r("d039");t.exports=!s(function(){return Object.isExtensible(Object.preventExtensions({}))})},c04e:function(t,n,r){var s=r("861d");t.exports=function(o,i){if(!s(o))return o;var a,c;if(i&&typeof(a=o.toString)=="function"&&!s(c=a.call(o))||typeof(a=o.valueOf)=="function"&&!s(c=a.call(o))||!i&&typeof(a=o.toString)=="function"&&!s(c=a.call(o)))return c;throw TypeError("Can't convert object to primitive value")}},c430:function(t,n){t.exports=!1},c6b6:function(t,n){var r={}.toString;t.exports=function(s){return r.call(s).slice(8,-1)}},c6cd:function(t,n,r){var s=r("da84"),o=r("ce4e"),i="__core-js_shared__",a=s[i]||o(i,{});t.exports=a},c8ba:function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}t.exports=r},ca84:function(t,n,r){var s=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,a=r("d012");t.exports=function(c,u){var l=o(c),f=0,h=[],d;for(d in l)!s(a,d)&&s(l,d)&&h.push(d);for(;u.length>f;)s(l,d=u[f++])&&(~i(h,d)||h.push(d));return h}},cc12:function(t,n,r){var s=r("da84"),o=r("861d"),i=s.document,a=o(i)&&o(i.createElement);t.exports=function(c){return a?i.createElement(c):{}}},ce4e:function(t,n,r){var s=r("da84"),o=r("9112");t.exports=function(i,a){try{o(s,i,a)}catch{s[i]=a}return a}},d012:function(t,n){t.exports={}},d039:function(t,n){t.exports=function(r){try{return!!r()}catch{return!0}}},d066:function(t,n,r){var s=r("428f"),o=r("da84"),i=function(a){return typeof a=="function"?a:void 0};t.exports=function(a,c){return arguments.length<2?i(s[a])||i(o[a]):s[a]&&s[a][c]||o[a]&&o[a][c]}},d1e7:function(t,n,r){var s={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!s.call({1:2},1);n.f=i?function(c){var u=o(this,c);return!!u&&u.enumerable}:s},d2bb:function(t,n,r){var s=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),i=a instanceof Array}catch{}return function(l,f){return s(l),o(f),i?c.call(l,f):l.__proto__=f,l}}():void 0)},d3b7:function(t,n,r){var s=r("00ee"),o=r("6eeb"),i=r("b041");s||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,n,r){var s=r("9bf2").f,o=r("5135"),i=r("b622"),a=i("toStringTag");t.exports=function(c,u,l){c&&!o(c=l?c:c.prototype,a)&&s(c,a,{configurable:!0,value:u})}},da84:function(t,n,r){(function(s){var o=function(i){return i&&i.Math==Math&&i};t.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof s=="object"&&s)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},ddb0:function(t,n,r){var s=r("da84"),o=r("fdbc"),i=r("e260"),a=r("9112"),c=r("b622"),u=c("iterator"),l=c("toStringTag"),f=i.values;for(var h in o){var d=s[h],p=d&&d.prototype;if(p){if(p[u]!==f)try{a(p,u,f)}catch{p[u]=f}if(p[l]||a(p,l,h),o[h]){for(var m in i)if(p[m]!==i[m])try{a(p,m,i[m])}catch{p[m]=i[m]}}}}},df75:function(t,n,r){var s=r("ca84"),o=r("7839");t.exports=Object.keys||function(a){return s(a,o)}},e163:function(t,n,r){var s=r("5135"),o=r("7b0b"),i=r("f772"),a=r("e177"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(l){return l=o(l),s(l,c)?l[c]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?u:null}},e177:function(t,n,r){var s=r("d039");t.exports=!s(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},e260:function(t,n,r){var s=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),c=r("7dd0"),u="Array Iterator",l=a.set,f=a.getterFor(u);t.exports=c(Array,"Array",function(h,d){l(this,{type:u,target:s(h),index:0,kind:d})},function(){var h=f(this),d=h.target,p=h.kind,m=h.index++;return!d||m>=d.length?(h.target=void 0,{value:void 0,done:!0}):p=="keys"?{value:m,done:!1}:p=="values"?{value:d[m],done:!1}:{value:[m,d[m]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,n,r){var s=r("6eeb");t.exports=function(o,i,a){for(var c in i)s(o,c,i[c],a);return o}},e893:function(t,n,r){var s=r("5135"),o=r("56ef"),i=r("06cf"),a=r("9bf2");t.exports=function(c,u){for(var l=o(u),f=a.f,h=i.f,d=0;d<l.length;d++){var p=l[d];s(c,p)||f(c,p,h(u,p))}}},e8b5:function(t,n,r){var s=r("c6b6");t.exports=Array.isArray||function(i){return s(i)=="Array"}},e95a:function(t,n,r){var s=r("b622"),o=r("3f8c"),i=s("iterator"),a=Array.prototype;t.exports=function(c){return c!==void 0&&(o.Array===c||a[i]===c)}},f183:function(t,n,r){var s=r("d012"),o=r("861d"),i=r("5135"),a=r("9bf2").f,c=r("90e3"),u=r("bb2f"),l=c("meta"),f=0,h=Object.isExtensible||function(){return!0},d=function(y){a(y,l,{value:{objectID:"O"+f++,weakData:{}}})},p=function(y,S){if(!o(y))return typeof y=="symbol"?y:(typeof y=="string"?"S":"P")+y;if(!i(y,l)){if(!h(y))return"F";if(!S)return"E";d(y)}return y[l].objectID},m=function(y,S){if(!i(y,l)){if(!h(y))return!0;if(!S)return!1;d(y)}return y[l].weakData},g=function(y){return u&&v.REQUIRED&&h(y)&&!i(y,l)&&d(y),y},v=t.exports={REQUIRED:!1,fastKey:p,getWeakData:m,onFreeze:g};s[l]=!0},f5df:function(t,n,r){var s=r("00ee"),o=r("c6b6"),i=r("b622"),a=i("toStringTag"),c=o(function(){return arguments}())=="Arguments",u=function(l,f){try{return l[f]}catch{}};t.exports=s?o:function(l){var f,h,d;return l===void 0?"Undefined":l===null?"Null":typeof(h=u(f=Object(l),a))=="string"?h:c?o(f):(d=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":d}},f772:function(t,n,r){var s=r("5692"),o=r("90e3"),i=s("keys");t.exports=function(a){return i[a]||(i[a]=o(a))}},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}r("d3b7"),r("25f0"),r("159b"),r("b64b"),r("af93");function a(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function c(p,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(p,v.key,v)}}function u(p,m,g){return m&&c(p.prototype,m),p}r("2ca0"),r("99af"),r("a15b"),r("4de4"),r("e260"),r("4ec9"),r("3ca3"),r("ddb0"),r("a434");var l=function(){function p(){a(this,p),this.listeners=new Map}return u(p,[{key:"addListener",value:function(g,v,y){return typeof v=="function"?(this.listeners.has(g)||this.listeners.set(g,[]),this.listeners.get(g).push({callback:v,vm:y}),!0):!1}},{key:"removeListener",value:function(g,v,y){var S=this.listeners.get(g),A;return S&&S.length&&(A=S.reduce(function(R,T,P){return typeof T.callback=="function"&&T.callback===v&&T.vm===y&&(R=P),R},-1),A>-1)?(S.splice(A,1),this.listeners.set(g,S),!0):!1}},{key:"emit",value:function(g){for(var v=arguments.length,y=new Array(v>1?v-1:0),S=1;S<v;S++)y[S-1]=arguments[S];var A=this.listeners.get(g);return A&&A.length?(A.forEach(function(R){var T;(T=R.callback).call.apply(T,[R.vm].concat(y))}),!0):!1}}]),p}(),f=new l,h=function(){function p(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{format:""};if(a(this,p),this.reconnectTimeoutId=0,this.reconnectionCount=0,this.format=g.format&&g.format.toLowerCase(),m.startsWith("//")){var v=window.location.protocol==="https:"?"wss":"ws";m="".concat(v,":").concat(m)}this.connectionUrl=m,this.opts=g,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(m,g),g.store&&(this.store=g.store),g.mutations&&(this.mutations=g.mutations),this.onEvent()}return u(p,[{key:"connect",value:function(g){var v=this,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=y.protocol||"";return this.WebSocket=y.WebSocket||(S===""?new WebSocket(g):new WebSocket(g,S)),this.format==="json"&&("sendObj"in this.WebSocket||(this.WebSocket.sendObj=function(A){return v.WebSocket.send(JSON.stringify(A))})),this.WebSocket}},{key:"reconnect",value:function(){var g=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount++,window.clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=window.setTimeout(function(){g.store&&g.passToStore("SOCKET_RECONNECT",g.reconnectionCount),g.connect(g.connectionUrl,g.opts),g.onEvent()},this.reconnectionDelay)):this.store&&this.passToStore("SOCKET_RECONNECT_ERROR",!0)}},{key:"onEvent",value:function(){var g=this;["onmessage","onclose","onerror","onopen"].forEach(function(v){g.WebSocket[v]=function(y){f.emit(v,y),g.store&&g.passToStore("SOCKET_"+v,y),g.reconnection&&v==="onopen"&&(g.opts.$setInstance&&g.opts.$setInstance(y.currentTarget),g.reconnectionCount=0),g.reconnection&&v==="onclose"&&g.reconnect()}})}},{key:"passToStore",value:function(g,v){this.passToStoreHandler?this.passToStoreHandler(g,v,this.defaultPassToStore.bind(this)):this.defaultPassToStore(g,v)}},{key:"defaultPassToStore",value:function(g,v){if(g.startsWith("SOCKET_")){var y="commit",S=g.toUpperCase(),A=v;this.format==="json"&&v.data&&(A=JSON.parse(v.data),A.mutation?S=[A.namespace||"",A.mutation].filter(function(R){return!!R}).join("/"):A.action&&(y="dispatch",S=[A.namespace||"",A.action].filter(function(R){return!!R}).join("/"))),this.mutations&&(S=this.mutations[S]||S),this.store._p?(S=g.toUpperCase(),this.store[S](A)):this.store[y](S,A)}}}]),p}(),d={install:function(m,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{format:""};if(!g)throw new Error("[vue-native-socket] cannot locate connection");var y;v.$setInstance=function(A){m.config.globalProperties.$socket=A},v.connectManually?(m.config.globalProperties.$connect=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v;R.$setInstance=v.$setInstance,y=new h(A,R),m.config.globalProperties.$socket=y.WebSocket},m.config.globalProperties.$disconnect=function(){y&&y.reconnection&&(y.reconnection=!1,clearTimeout(y.reconnectTimeoutId)),m.config.globalProperties.$socket&&(m.config.globalProperties.$socket.close(),delete m.config.globalProperties.$socket)}):(y=new h(g,v),m.config.globalProperties.$socket=y.WebSocket);var S=typeof Proxy<"u"&&typeof Proxy=="function"&&/native code/.test(Proxy.toString());m.mixin({created:function(){var R=this,T=this,P=this.$options.sockets;S?(this.$options.sockets=new Proxy({},{set:function(L,x,I){return f.addListener(x,I,T),L[x]=I,!0},deleteProperty:function(L,x){return f.removeListener(x,T.$options.sockets[x],T),delete L.key,!0}}),m.config.globalProperties.sockets=new Proxy({},{set:function(L,x,I){return f.addListener(x,I,T),L[x]=I,!0},deleteProperty:function(L,x){return f.removeListener(x,T.$options.sockets[x],T),delete L.key,!0}}),P&&Object.keys(P).forEach(function(E){R.$options.sockets[E]=P[E],m.config.globalProperties.sockets[E]=P[E]})):(Object.seal(this.$options.sockets),Object.seal(m.config.globalProperties.sockets),P&&Object.keys(P).forEach(function(E){f.addListener(E,P[E],T)}))},beforeUnmount:function(){var R=this;if(S){var T=this.$options.sockets;T&&Object.keys(T).forEach(function(P){delete R.$options.sockets[P],delete m.config.globalProperties.sockets})}}})}};n.default=d},fc6a:function(t,n,r){var s=r("44ad"),o=r("1d80");t.exports=function(i){return s(o(i))}},fdbc:function(t,n){t.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(t,n,r){var s=r("4930");t.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})}(lo)),lo.exports}var uv=lv();const fv=cv(uv),dv=()=>{let e="ws";return globalThis.location.protocol==="https:"&&(e+="s"),`${e}://${location.host}${globalThis.CODEX.API_V3_PATH}ws`},hv=dv(),Nt={ADMIN_FLAGS:"ADMIN_FLAGS_CHANGED",BOOKMARK:"BOOKMARK_CHANGED",COVERS:"COVERS_CHANGED",FAILED_IMPORTS:"FAILED_IMPORTS",GROUPS:"GROUPS_CHANGED",LIBRARY:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",USERS:"USERS_CHANGED"};function it(e,t,n=new Map){const r=n.get(e);if(typeof r<"u")return r;if(Array.isArray(e)){const i=[];n.set(e,i);for(let a=0;a<e.length;a++)i[a]=it(e[a],t,n);return i}if(e instanceof Date)return new Date(e.valueOf());if(!(e instanceof Object))return e;const s={};n.set(e,s);const o=Object.keys(e);for(let i=0;i<o.length;i++){const a=typeof t=="function"?t(o[i]):o[i];s[a]=it(e[o[i]],t,n)}return s}function pv(e){return t=>it(t,e)}it.formatKeys=pv;var Ic=Object.prototype.hasOwnProperty;function Hc(e,t,n){for(n of e.keys())if(mn(n,t))return n}function mn(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&mn(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(s=r,s&&typeof s=="object"&&(s=Hc(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(s=r[0],s&&typeof s=="object"&&(s=Hc(t,s),!s)||!mn(r[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Ic.call(e,n)&&++r&&!Ic.call(t,n)||!(n in t)||!mn(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}const Di=({group:e,pks:t,query:n,ts:r})=>{const s=rt(n,r),o=new URLSearchParams(s).toString(),i=t.join(",");return{hrefPath:`${e}/${i}`,queryString:o}},mv=({group:e,pks:t,query:n})=>{const r=globalThis.CODEX.APP_PATH,{hrefPath:s,queryString:o}=Di({group:e,pks:t,query:n});return`${r}${s}/1?${o}`},gv=({group:e,pks:t},n,r)=>{const s=globalThis.CODEX.API_V3_PATH;delete n.show;const{hrefPath:o,queryString:i}=Di({group:e,pks:t,query:n,ts:r});return`${s}${o}/cover.webp?${i}`},vv=({group:e,pks:t},n,r)=>{const s=rt(n,r);return Ce.get(`/${e}/${t}/choices_available`,{params:s})},yv=({group:e,pks:t},n,r,s)=>{const o=rt(r,s);return Ce.get(`/${e}/${t}/choices/${n}`,{params:o})},bv=({group:e,pks:t,page:n},r,s)=>{const o=rt(r,s);return Ce.get(`/${e}/${t}/${n}`,{params:o})},Sv=({group:e,pks:t},n)=>{const r=t.join(","),s=n.mtime,o=it(n);delete o.mtime;const i=rt(o,s);return Ce.get(`/${e}/${r}/metadata`,{params:i})},Cv=e=>{const t=rt(e);return Ce.get("/r/settings",{params:t})},Av=e=>{const t=rt(e);return Ce.patch("/r/settings",{params:t})},Lv=({group:e,pks:t},n,r,s)=>{const o=globalThis.CODEX.API_V3_PATH;delete r.show;const{hrefPath:i,queryString:a}=Di({group:e,pks:t,query:r,ts:s});return n=encodeURIComponent(n),`${o}${i}/download/${n}?${a}`},Ev=({group:e,ids:t},n,r)=>{const s=rt(n),o=new URLSearchParams(s).toString();r.fitTo===null&&(r.fitTo="");const i=t.join(",");return Ce.patch(`${e}/${i}/bookmark?${o}`,r)},wv=({group:e,pks:t})=>Ce.get(`/${e}/${t}/import`),wt={getAvailableFilterChoices:vv,getBrowserHref:mv,getCoverSrc:gv,getFilterChoices:yv,getGroupDownloadURL:Lv,getMetadata:Sv,getSettings:Cv,getBrowserPage:bv,getLazyImport:wv,updateGroupBookmarks:Ev,updateSettings:Av},Tv=[{value:"",title:"All",default:!0},{value:"IN_PROGRESS",title:"In Progress"},{value:"READ",title:"Read"},{value:"UNREAD",title:"Unread"}],xv=[{value:"created_at",title:"Added Time"},{value:"age_rating",title:"Age Rating"},{value:"child_count",title:"Child Count"},{value:"critical_rating",title:"Critical Rating"},{value:"filename",title:"Filename"},{value:"size",title:"File Size"},{value:"bookmark_updated_at",title:"Last Read"},{value:"sort_name",title:"Name",default:!0},{value:"page_count",title:"Page Count"},{value:"date",title:"Publish Date"},{value:"search_score",title:"Search Score"},{value:"story_arc_number",title:"Story Arc Number"},{value:"updated_at",title:"Updated Time"}],Rv=[{value:"p",title:"Publishers",default:!0},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"},{value:"c",title:"Issues"},{value:"f",title:"Folders"},{value:"a",title:"Story Arcs"}],Pb=-1,Ov=[{value:"p",title:"Publishers"},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"}],on={bookmarkFilter:Tv,orderBy:xv,topGroup:Rv,settingsGroup:Ov},Mb={createdAt:"Added Time",ageRating:"Age Rating",childCount:"Child Count",criticalRating:"Critical Rating",filename:"Filename",size:"File Size",bookmarkUpdatedAt:"Last Read",sortName:"Name",pageCount:"Page Count",date:"Publish Date",searchScore:"Search Score",storyArcNumber:"Story Arc Number",updatedAt:"Updated Time"},Dc={p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},Pv={anilist:"AniList",comicvine:"Comic Vine",comixology:"ComiXology",grandcomicsdatabase:"Grand Comics Database",kitsu:"Kitsu",leagueofcomicgeeks:"League of Comic Geeks",panelsyndicate:"Panel Syndicate",mangadex:"MangaDex",mangaupdates:"MangaUpdates",marvel:"Marvel",metron:"Metron",myanimelist:"MyAnimeList",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},Ib={S:"Fit to Screen",W:"Fit to Width",H:"Fit to Height",O:"Original Size"},Mv={ltr:"Left to Right",rtl:"Right to Left",ttb:"Top to Bottom",btt:"Bottom to Top"},Df="sv-SE",Iv=new Intl.DateTimeFormat(Df),Hb=new Intl.NumberFormat,Hv=new Intl.DurationFormat("en",{style:"digital",daysDisplay:"auto",hoursDisplay:"auto",minutesDisplay:"auto"}),jo=60,Bo=jo*60,Vc=Bo*24,Dv=function(e){const t=e?Df:void 0;return new Intl.DateTimeFormat(t,{timeStyle:"medium"})},Db=function(e,t,n=!1){const r=new Date(e),s=Iv.format(r),i=Dv(t).format(r);return s+(n?"<br />":", ")+i},Vv=function(){return Math.floor(Date.now()/1e3)},Vb=(e,t)=>{const n=Math.floor((t-e)/1e3),r={days:Math.floor(n/Vc),hours:Math.floor(n%Vc/Bo),minutes:Math.floor(n%Bo/jo),seconds:n%jo};return Hv.format(r)},Fv=(e,t=0)=>{e=Number.isInteger(e)&&e>=0?e:0,t=Number.isInteger(t)&&t>=0?t:0;const n=t>e?Math.max(t-e,0):e;let r=[...Array.from({length:n}).keys()];return t>0&&(r=r.map(s=>s+e)),r},Vf="rpisvc";Object.freeze(Vf);const cn=[...Vf].reverse().join("");Object.freeze(cn);const Ff=new Set([301,302,303,307,308]);Object.freeze(Ff);const kf=new Set([void 0,null,_e.bookmarkFilter]);Object.freeze(kf);const Nf=new Set(["a","c"]);Object.freeze(Nf);const $f=new Set(["a","c","f"]);Object.freeze($f);const Uo=new Set(["a","f"]);Object.freeze(Uo);const kv=5e3,jf=["customCovers","dynamicCovers","show"];Object.freeze(jf);const Bf=["filters","orderBy","orderReverse","q"];Object.freeze(Bf);const Uf=["filters","q"];Object.freeze(Uf);const Wf=["breadcrumbs"];Object.freeze(Wf);const Gf=["filters","q","mtime"];Object.freeze(Gf);const uo=e=>{e&&e.params&&ye.push(e).catch(console.warn)},Fc=e=>e&&Object.keys(e).length>0||typeof e=="boolean",kc=wr("browser",{state:()=>({choices:{static:Object.freeze({bookmark:on.bookmarkFilter,groupNames:Dc,settingsGroup:on.settingsGroup,readingDirection:Mv,identifierSources:Pv}),dynamic:void 0},settings:{breadcrumbs:_e.breadcrumbs,customCovers:_e.customCovers,dynamicCovers:_e.dynamicCovers,filters:{},orderBy:_e.orderBy,orderReverse:_e.orderReverse,q:_e.q,show:_e.show,topGroup:_e.topGroup,twentyFourHourTime:_e.twentyFourHourTime},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:[],fts:void 0,searchError:void 0,mtime:0},filterMode:"base",zeroPad:0,browserPageLoaded:!1,isSearchOpen:!1,isSearchHelpOpen:!1,searchHideTimeout:void 0}),getters:{groupNames(){const e={};for(const[t,n]of Object.entries(Dc))e[t]=n==="Series"?n:n.slice(0,-1);return e},topGroupChoices(){const e=[];for(const t of on.topGroup)this._isRootGroupEnabled(t.value)&&e.push(t);return e},topGroupChoicesMaxLen(){return this._maxLenChoices(on.topGroup)},orderByChoices(e){const t=[];for(const n of on.orderBy)n.value==="path"&&!e.page.adminFlags.folderView||n.value==="child_count"&&e.page.modelGroup==="c"||n.value==="search_score"&&(!e.settings.q||!e.page.fts)||t.push(n);return t},orderByChoicesMaxLen(){return this._maxLenChoices(on.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(on.bookmarkFilter)},isAuthorized(){return dr().isAuthorized},isDynamicFiltersSelected(e){for(const[t,n]of Object.entries(e.settings.filters))if(t!=="bookmark"&&n&&n.length>0)return!0;return!1},isFiltersClearable(e){return!kf.has(e.settings.filters.bookmark)||this.isDynamicFiltersSelected},lowestShownGroup(e){let t="r";const n=cn.indexOf(e.settings.topGroup);for(const[r,s]of[...cn].entries())if(e.settings.show[s]){r<=n&&(t=s);break}return t},isSearchMode(e){return!!e.settings.q},lastRoute(e){const n=e.settings.breadcrumbs.at(-1),r={};return n?(r.name="browser",delete n.name,r.params=n):r.name="home",r},coverSettings(e){const t=ye.currentRoute.value.params,n=t.group;if(n=="c")return{};let r=jf;const s=e.settings.dynamicCovers;s&&(r=[...r,...Bf]);const o=this._filterSettings(e,r),i=t.pks;return!s&&n!=="r"&&i&&(o.parentRoute={group:n,pks:i}),o},filterOnlySettings(e){return this._filterSettings(e,Uf)},pageLoadSettings(e){return this._filterSettings(e,Wf)},metadataSettings(e){return this._filterSettings(e,Gf)}},actions:{_filterSettings(e,t){return Object.fromEntries(Object.entries(e.settings).filter(([n,r])=>{if(!t.includes(n))return null;if(n==="filters"){const s={};for(const[o,i]of Object.entries(r))Fc(i)&&(s[o]=i);r=s}if(Fc(r))return[n,r]}))},_maxLenChoices(e){let t=0;for(const n of e)n&&n.title&&n.title.length>t&&(t=n.title.length);return t},identifierSourceTitle(e){if(!e)return e;const t=e.toLowerCase();return this.choices.static.identifierSources[t]||e},fixUniverseTitles(e){const t=[];for(const n of e){const r={...n};r.designation&&(r.name+=` (${r.designation})`),t.push(r)}return t},setIsSearchOpen(e){this.isSearchOpen=e},_isRootGroupEnabled(e){return Nf.has(e)?!0:e=="f"?this.page.adminFlags?.folderView:this.settings.show[e]},_validateSearch(e){if(!this.settings.q&&!e.q){this.settings.orderBy==="search_score"&&(e.orderBy=this.settings.topGroup==="f"?"filename":"sort_name");return}else if(this.settings.q)return;e.orderBy="search_score",e.orderReverse=!0;const t=ye.currentRoute.value.params?.group;if(!($f.has(t)||t===this.lowestShownGroup))return{params:{group:this.lowestShownGroup,pks:"0",page:"1"}}},_validateTopGroup(e,t){const n=ye?.currentRoute?.value?.params,r=n?.group,s=e.topGroup;if(r==="r"&&!Uo.has(e.topGroup))return t;const o=this.settings.topGroup;if(o===s||!s||!o&&s||s===r)return t;const i=cn.indexOf(o),a=cn.indexOf(s),c=a!==-1,u=c&&i!==-1;let l;return u?i<a?(l=n,l.page=+l.page):l={group:"r",pks:"0",page:"1"}:l={group:c?"r":s,pks:"0",page:"1"},{params:l}},getTopGroup(e){let t;if(this.settings.topGroup===e||Uo.has(e))t=e;else{const n=cn.indexOf(e);for(const r of cn.slice(n))if(r!=="r"&&this.settings.show[r]){t=r;break}}return t},_addSettings(e){this.$patch(t=>{for(let[n,r]of Object.entries(e)){const s=typeof t.settings[n]=="object"&&!Array.isArray(t.settings[n])?{...t.settings[n],...r}:r;mn(t.settings[n],s)||(t.settings[n]=s)}t.settings.q&&!t.isSearchOpen&&(t.isSearchOpen=!0)}),this.startSearchHideTimeout()},_validateAndSaveSettings(e){let t=this._validateSearch(e);return t=this._validateTopGroup(e,t),mn(t?.params,ye.currentRoute.value.params)&&(t=void 0),e&&this._addSettings(e),this.filterMode="base",t},async setSettings(e){const t=this._validateAndSaveSettings(e);this.browserPageLoaded=!0,t?uo(t):this.loadBrowserPage(void 0,!0)},async clearOneFilter(e){this.$patch(t=>{t.filterMode="base",t.settings.filters[e]=[],t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async clearFilters(e=!1){this.$patch(t=>{t.settings.filters={bookmark:""},t.filterMode="base",e&&(t.settings.q="",t.settings.orderBy="sort_name",t.settings.orderReverse=!1),t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async setBookmarkFinished(e,t){this.isAuthorized&&await wt.updateGroupBookmarks(e,this.filterOnlySettings,{finished:t}).then(()=>(this.loadBrowserPage(Vv()),!0))},clearSearchHideTimeout(){clearTimeout(this.searchHideTimeout)},startSearchHideTimeout(){if(!this.isSearchOpen)return;this.settings.q||this.isSearchHelpOpen?this.clearSearchHideTimeout():this.searchHideTimeout=setTimeout(()=>{this.settings.q||this.setIsSearchOpen(!1)},kv)},setSearchHelpOpen(e){this.isSearchHelpOpen=e,this.startSearchHideTimeout()},setPageMtime(e){globalThis.mtime=e},async updateBreadcrumbs(e){const t=this.settings.breadcrumbs||[],n=Fv(t.length).reverse();for(const r of n){const s=e[r],o=t[r];if(!mn(s,o)){o.name===null&&(o.name=""),wt.updateSettings({breadcrumbs:t});break}}},routeToPage(e){const t=it(ye.currentRoute.value);t.params.page=e,ye.push(t).catch(console.warn)},handlePageError(e){if(Ff.has(e?.response?.status)){console.debug(e);const t=e.response.data;t.settings&&(this.setSettings(t.settings),this.browserPageLoaded=!0),t.route&&uo(t.route)}else return console.error(e)},async loadSettings(){if(!this.isAuthorized)return;this.$patch(t=>{t.browserPageLoaded=!1,t.choices.dynamic=void 0});const e=ye?.currentRoute?.value.params?.group;await wt.getSettings({group:e}).then(t=>{const n=t.data,r=this._validateAndSaveSettings(n);return this.browserPageLoaded=!0,r?uo(r):this.loadBrowserPage(void 0)}).catch(t=>(this.browserPageLoaded=!0,this.handlePageError(t)))},async loadBrowserPage(e,t=!1){if(!this.isAuthorized)return;const n=ye.currentRoute.value;if(e||(e=n.query.ts,e||(e=this.page.mtime)),this.browserPageLoaded)this.browserPageLoaded=!1;else return this.loadSettings();const r=this.settings.breadcrumbs;await wt.getBrowserPage(n.params,this.settings,e).then(s=>{const{breadcrumbs:o,...i}=s.data;return this.$patch(a=>{a.settings.breadcrumbs=o,a.page=i,(a.settings.orderBy==="search_score"&&!i.fts||a.settings.orderBy==="child_count"&&i.modelGroup==="c")&&(a.settings.orderBy="sort_name"),a.choices.dynamic=void 0,a.browserPageLoaded=!0}),!0}).catch(this.handlePageError),t?wt.updateSettings(this.settings):this.updateBreadcrumbs(r)},async loadAvailableFilterChoices(){return await wt.getAvailableFilterChoices(ye.currentRoute.value.params,this.filterOnlySettings,this.page.mtime).then(e=>(this.choices.dynamic=e.data,!0)).catch(console.error)},async loadFilterChoices(e){return await wt.getFilterChoices(ye.currentRoute.value.params,e,this.filterOnlySettings,this.page.mtime).then(t=>(this.choices.dynamic[e]=Object.freeze(t.data.choices),!0)).catch(console.error)},async loadMtimes(){const e=ye?.currentRoute?.value?.params,t=e?.group,n=t&&t!="r"?t:this.page.modelGroup,r=e?.pks||"0";return await us.getMtime([{group:n,pks:r}],this.filterOnlySettings).then(s=>{const o=s?.data?.maxMtime;return o!==this.page.mtime&&(this.choices.dynamic=void 0,this.loadBrowserPage(o)),!0}).catch(console.error)},routeWithSettings(e,t){t&&(this._validateAndSaveSettings(e),ye.push(t).catch(console.error))}}});var Fb="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",kb="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z",Nb="M18 4V20C18 21.11 17.11 22 16 22H4C2.9 22 2 21.11 2 20V4C2 2.9 2.9 2 4 2H5V9L7.5 7.5L10 9V2H16C17.1 2 18 2.89 18 4M20 17H22V15H20V17M20 7V13H22V7H20Z",Nv="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M20 20V16H18V20H16L19 23L22 20H20Z",$v="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M19 15L16 18H18V22H20V18H22L19 15Z",$b="M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z",jb="M13.09 20C13.21 20.72 13.46 21.39 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H18C19.11 2 20 2.9 20 4V13.09C19.67 13.04 19.34 13 19 13C18.66 13 18.33 13.04 18 13.09V4H13V12L10.5 9.75L8 12V4H6V20H13.09M22.54 16.88L21.12 15.47L19 17.59L16.88 15.47L15.47 16.88L17.59 19L15.47 21.12L16.88 22.54L19 20.41L21.12 22.54L22.54 21.12L20.41 19L22.54 16.88Z",Bb="M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M13,4V12L10.5,9.75L8,12V4H6V20H10C10.54,20.81 11.23,21.5 12.03,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18A2,2 0 0,1 20,4V11.81C19.42,11.26 18.75,10.81 18,10.5V4H13Z",Ub="M9.47 9.65L8.06 11.07L11 14L16.19 8.82L14.78 7.4L11 11.18M17 3H7C5.9 3 5 3.9 5 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3M17 18L12 15.82L7 18V5H17Z",Wb="M9,11V9H15V11H9M19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17C18.11,3 19,3.9 19,5M17,5H7V18L12,15.82L17,18V5Z",Gb="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",zb="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Kb="M5,20H19V22H5V20M17,2V5H15V2H13V5H11V2H9V5H7V2H5V8H7V18H17V8H19V2H17Z",Zb="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Yb="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Jb="M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,18L16,12L10,6L8.6,7.4L13.2,12L8.6,16.6L10,18Z",Xb="M22.11 21.46L2.39 1.73L1.11 3L4.06 5.95C2.78 7.63 2 9.72 2 12C2 17.5 6.5 22 12 22C14.28 22 16.37 21.23 18.05 19.94L20.84 22.73L22.11 21.46M12 20C7.58 20 4 16.42 4 12C4 10.27 4.56 8.68 5.5 7.38L16.62 18.5C15.32 19.45 13.73 20 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2C17.5 2 22 6.5 22 12C22 13.94 21.44 15.75 20.5 17.28L19.03 15.83C19.65 14.69 20 13.39 20 12C20 7.58 16.42 4 12 4C10.61 4 9.31 4.35 8.17 4.97Z",Qb="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",_b="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z",qb="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",eS="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",tS="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",nS="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z",rS="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8M12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4M19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z",sS="M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25M23 16C23 19.87 19.87 23 16 23C13.61 23 11.5 21.8 10.25 20C6.19 19.79 3 18.08 3 16V6C3 3.79 6.58 2 11 2S19 3.79 19 6V9.68C21.36 10.81 23 13.21 23 16M17 9.08V8.64C16.77 8.77 16.5 8.9 16.24 9C16.5 9 16.75 9.04 17 9.08M5 6C5 6.5 7.13 8 11 8S17 6.5 17 6 14.87 4 11 4 5 5.5 5 6M5 11.45C6.07 12.23 7.8 12.76 9.72 12.93C10.33 11.67 11.32 10.62 12.54 9.92C12.04 9.97 11.53 10 11 10C8.61 10 6.47 9.47 5 8.64V11.45M9.26 17.87C9.1 17.27 9 16.65 9 16C9 15.61 9.04 15.23 9.1 14.86C7.56 14.69 6.15 14.33 5 13.77V16C5 16.42 6.5 17.5 9.26 17.87M21 16C21 13.24 18.76 11 16 11S11 13.24 11 16 13.24 21 16 21 21 18.76 21 16Z",oS="M12 16C12.41 16 12.81 15.97 13.21 15.94C13.4 15.18 13.72 14.46 14.16 13.83C13.47 13.94 12.74 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11S16.53 10.47 18 9.64V11.19C18.5 11.07 19 11 19.55 11C19.7 11 19.85 11 20 11.03V7C20 4.79 16.42 3 12 3S4 4.79 4 7V17C4 19.21 7.59 21 12 21C12.66 21 13.31 20.96 13.92 20.88C13.57 20.29 13.31 19.64 13.16 18.94C12.79 19 12.41 19 12 19C8.13 19 6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16M12 5C15.87 5 18 6.5 18 7S15.87 9 12 9 6 7.5 6 7 8.13 5 12 5M23 17.5C23 18.32 22.75 19.08 22.33 19.71L21.24 18.62C21.41 18.28 21.5 17.9 21.5 17.5C21.5 16.12 20.38 15 19 15V16.5L16.75 14.25L19 12V13.5C21.21 13.5 23 15.29 23 17.5M19 18.5L21.25 20.75L19 23V21.5C16.79 21.5 15 19.71 15 17.5C15 16.68 15.25 15.92 15.67 15.29L16.76 16.38C16.59 16.72 16.5 17.1 16.5 17.5C16.5 18.88 17.62 20 19 20V18.5Z",iS="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",aS="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",cS="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",lS="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",uS="M12 1A2.5 2.5 0 0 0 9.5 3.5A2.5 2.5 0 0 0 11 5.79V7H7A2 2 0 0 0 5 9V9.71A2.5 2.5 0 0 0 3.5 12A2.5 2.5 0 0 0 5 14.29V15H4A2 2 0 0 0 2 17V18.21A2.5 2.5 0 0 0 .5 20.5A2.5 2.5 0 0 0 3 23A2.5 2.5 0 0 0 5.5 20.5A2.5 2.5 0 0 0 4 18.21V17H8V18.21A2.5 2.5 0 0 0 6.5 20.5A2.5 2.5 0 0 0 9 23A2.5 2.5 0 0 0 11.5 20.5A2.5 2.5 0 0 0 10 18.21V17A2 2 0 0 0 8 15H7V14.29A2.5 2.5 0 0 0 8.5 12A2.5 2.5 0 0 0 7 9.71V9H17V9.71A2.5 2.5 0 0 0 15.5 12A2.5 2.5 0 0 0 17 14.29V15H16A2 2 0 0 0 14 17V18.21A2.5 2.5 0 0 0 12.5 20.5A2.5 2.5 0 0 0 15 23A2.5 2.5 0 0 0 17.5 20.5A2.5 2.5 0 0 0 16 18.21V17H20V18.21A2.5 2.5 0 0 0 18.5 20.5A2.5 2.5 0 0 0 21 23A2.5 2.5 0 0 0 23.5 20.5A2.5 2.5 0 0 0 22 18.21V17A2 2 0 0 0 20 15H19V14.29A2.5 2.5 0 0 0 20.5 12A2.5 2.5 0 0 0 19 9.71V9A2 2 0 0 0 17 7H13V5.79A2.5 2.5 0 0 0 14.5 3.5A2.5 2.5 0 0 0 12 1M12 2.5A1 1 0 0 1 13 3.5A1 1 0 0 1 12 4.5A1 1 0 0 1 11 3.5A1 1 0 0 1 12 2.5M6 11A1 1 0 0 1 7 12A1 1 0 0 1 6 13A1 1 0 0 1 5 12A1 1 0 0 1 6 11M18 11A1 1 0 0 1 19 12A1 1 0 0 1 18 13A1 1 0 0 1 17 12A1 1 0 0 1 18 11M3 19.5A1 1 0 0 1 4 20.5A1 1 0 0 1 3 21.5A1 1 0 0 1 2 20.5A1 1 0 0 1 3 19.5M9 19.5A1 1 0 0 1 10 20.5A1 1 0 0 1 9 21.5A1 1 0 0 1 8 20.5A1 1 0 0 1 9 19.5M15 19.5A1 1 0 0 1 16 20.5A1 1 0 0 1 15 21.5A1 1 0 0 1 14 20.5A1 1 0 0 1 15 19.5M21 19.5A1 1 0 0 1 22 20.5A1 1 0 0 1 21 21.5A1 1 0 0 1 20 20.5A1 1 0 0 1 21 19.5Z",fS="M22,2C22,2 14.36,1.63 8.34,9.88C3.72,16.21 2,22 2,22L3.94,21C5.38,18.5 6.13,17.47 7.54,16C10.07,16.74 12.71,16.65 15,14C13,13.44 11.4,13.57 9.04,13.81C11.69,12 13.5,11.6 16,12L17,10C15.2,9.66 14,9.63 12.22,10.04C14.19,8.65 15.56,7.87 18,8L19.21,6.07C17.65,5.96 16.71,6.13 14.92,6.57C16.53,5.11 18,4.45 20.14,4.32C20.14,4.32 21.19,2.43 22,2Z",dS="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z",hS="M3.47 5C3.25 5 3.04 5.08 2.87 5.21C2.43 5.55 2.35 6.18 2.69 6.61L2.69 6.62L7 12.14V18.05L10.64 21.71C11 22.1 11.66 22.1 12.05 21.71L12.05 21.71C12.44 21.32 12.44 20.69 12.06 20.3L9 17.22V11.45L4.27 5.39C4.08 5.14 3.78 5 3.47 5M21.62 3.22C21.43 3.08 21.22 3 21 3H7C6.78 3 6.57 3.08 6.38 3.22C5.95 3.56 5.87 4.19 6.21 4.62L11 10.75V15.87C10.96 16.16 11.06 16.47 11.29 16.7L15.3 20.71C15.69 21.1 16.32 21.1 16.71 20.71C16.94 20.5 17.04 20.18 17 19.88V10.75L21.79 4.62C22.13 4.19 22.05 3.56 21.62 3.22M15 10.05V17.58L13 15.58V10.06L9.04 5H18.96L15 10.05Z",pS="M15,19.88C15.04,20.18 14.94,20.5 14.71,20.71C14.32,21.1 13.69,21.1 13.3,20.71L9.29,16.7C9.06,16.47 8.96,16.16 9,15.87V10.75L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L15,10.75V19.88M7.04,5L11,10.06V15.58L13,17.58V10.05L16.96,5H7.04Z",mS="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z",gS="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",vS="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z",yS="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z",bS="M19.79,15.41C20.74,13.24 20.74,10.75 19.79,8.59L17.05,9.83C17.65,11.21 17.65,12.78 17.06,14.17L19.79,15.41M15.42,4.21C13.25,3.26 10.76,3.26 8.59,4.21L9.83,6.94C11.22,6.35 12.79,6.35 14.18,6.95L15.42,4.21M4.21,8.58C3.26,10.76 3.26,13.24 4.21,15.42L6.95,14.17C6.35,12.79 6.35,11.21 6.95,9.82L4.21,8.58M8.59,19.79C10.76,20.74 13.25,20.74 15.42,19.78L14.18,17.05C12.8,17.65 11.22,17.65 9.84,17.06L8.59,19.79M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",SS="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",CS="M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z",AS="M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",LS="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",ES="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",wS="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",TS="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",xS="M14,7L9,12L14,17V7Z",RS="M10,17L15,12L10,7V17Z",OS="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",PS="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",MS="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",IS="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",HS="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",DS="M12 1L21 5V11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1M12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18M16 14V15.5L16 15.59C15.96 15.81 15.78 15.96 15.53 16L15.43 16H8.57L8.47 16C8.22 15.96 8.04 15.81 8 15.59L8 15.5V14H16M17 8L16 13H8L7 8L7 8L9.67 10.67L12 8.34L14.33 10.67L17 8L17 8Z",VS="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",FS="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z",kS="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",NS="M21.41 11.58L12.41 2.58A2 2 0 0 0 11 2H4A2 2 0 0 0 2 4V11A2 2 0 0 0 2.59 12.42L11.59 21.42A2 2 0 0 0 13 22A2 2 0 0 0 14.41 21.41L21.41 14.41A2 2 0 0 0 22 13A2 2 0 0 0 21.41 11.58M13 20L4 11V4H11L20 13M6.5 5A1.5 1.5 0 1 1 5 6.5A1.5 1.5 0 0 1 6.5 5Z",$S="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";const jv=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Bv=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Uv=new RegExp("(\\d)(\\p{Ll})","gu"),Wv=new RegExp("(\\p{L})(\\d)","gu"),Gv=/[^\p{L}\d]+/giu,jr="$1\0$2",zv="";function zf(e,t){let n=e.trim();n=n.replace(jv,jr).replace(Bv,jr),t?.separateNumbers&&(n=n.replace(Uv,jr).replace(Wv,jr)),n=n.replace(Gv,"\0");let r=0,s=n.length;for(;n.charAt(r)==="\0";)r++;if(r===s)return[];for(;n.charAt(s-1)==="\0";)s--;return n.slice(r,s).split(/\0/g)}function Kv(e,t){return Zf(e,t?.prefixCharacters)+zf(e,t).map(Kf(t?.locale)).join(t?.delimiter??" ")}function Zv(e,t){const n=Zf(e,t?.prefixCharacters),r=Kf(t?.locale),s=Jv(t?.locale);return n+zf(e,t).map(Xv(r,s)).join(t?.delimiter??" ")}function Yv(e,t){return Kv(e,{delimiter:"_",...t})}function Kf(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Jv(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Xv(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Zf(e,t=zv){let n="";for(let r=0;r<e.length;r++){const s=e.charAt(r);if(t.includes(s))n+=s;else break}return n}const Qv=Zv,jS=Yv,Or=e=>`c/${e}`,_v=(e,t,n)=>{const r=rt(t,n),s=Or(e);return Ce.get(s,{params:r})},qv=()=>{const e=rt({});return Ce.get("c/settings",{params:e})},ey=e=>Ce.patch("c/settings",e),ty=e=>globalThis.CODEX.API_V3_PATH+Or(e),Nc=({pk:e,page:t,mtime:n})=>`${ty(e)}/${t}/page.jpg?ts=${n}`,BS=({pk:e},t,n)=>{const r=Or(e);return t=t?encodeURIComponent(t):`comic-${e}.cbz`,`${r}/download/${t}?ts=${n}`},US=({pk:e,page:t,mtime:n})=>`${Or(e)}/${t}/page.jpg?ts=${n}`,ny=({pk:e,mtime:t})=>`/${Or(e)}/book.pdf?ts=${t}`,fo={getReaderInfo:_v,getReaderSettings:qv,getPDFInBrowserURL:ny,updateReaderSettings:ey},ry=[{value:"S",title:"Fit to Screen",default:!0},{value:"W",title:"Fit to Width"},{value:"H",title:"Fit to Height"},{value:"O",title:"Original Size"}],sy=[{value:"ltr",title:"Left to Right",default:!0},{value:"rtl",title:"Right to Left"},{value:"ttb",title:"Top to Bottom"},{value:"btt",title:"Bottom to Top"}],zn={fitTo:ry,readingDirection:sy},oy=function(e,t){let n;if(e!=null&&!Number.isNaN(e)){let r=e;t!=null&&!Number.isNaN(t)&&(r+="-"+t),n=e.length===4?`(${r})`:`v${r}`}else n="";return n},iy=function({issueNumber:e,issueSuffix:t},n){let r;try{e==null&&!t&&(e=0);const s=Number.parseFloat(e),o=Math.floor(s);n===void 0&&(n=0),s===o?r=o.toString():(r=s.toString(),n+=r.split(".")[1].length+1),r=r.padStart(n,"0")}catch{r=""}return t&&(r+=t),r},ay=function({issueNumber:e,issueSuffix:t,issueCount:n},r){let s="#"+iy({issueNumber:e,issueSuffix:t},r);return n&&(s+=` of ${n}`),s},cy=function({seriesName:e,volumeName:t,volumeNumberTo:n,issueNumber:r,issueSuffix:s,issueCount:o},i){const a=oy(t,n),c=ay({issueNumber:r,issueSuffix:s,issueCount:o},i);return[e,a,c].filter(Boolean).join(" ")},Yf={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(Yf);const Jf={cacheBook:!1};Object.freeze(Jf);const Yr=new Set(["",null,void 0]);Object.freeze(Yr);const Xf={prev:"next",next:"prev"};Object.freeze(Xf);const Wo={rel:"prefetch",as:"image"};Object.freeze(Wo);const Vi=new Set(["ttb","btt"]);Object.freeze(Vi);const Qf=new Set(["rtl","btt"]);Object.freeze(Qf);const $c=1,_f={S:"Screen",W:"Width",H:"Height",O:"Original"};Object.freeze(_f);const Go={current:void 0,prev:!1,next:!1};Object.freeze(Go);const zo={prev:!1,next:!1,books:{prev:!1,next:!1},close:_e.breadcrumbs[0]};Object.freeze(zo);const qf={group:"s",ids:[]};Object.freeze(qf);const ly=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"S":"W",jc=e=>{Vi.has(e.readingDirection)&&e.twoPages&&(e.twoPages=!1)},uy=wr("reader",{state:()=>({choices:{fitTo:zn.fitTo,readingDirection:zn.readingDirection,nullValues:Yr},readerSettings:{fitTo:ly(),twoPages:zn.twoPages,readingDirection:"ltr",readRtlInReverse:zn.readRtlInReverse,finishOnLastPage:zn.finishOnLastPage,pageTransition:!0},books:it(Go),arcs:{},arc:{group:"s",ids:[]},mtime:0,empty:!1,page:void 0,routes:it(zo),bookChange:void 0,reactWithScroll:!1,clientSettings:{cacheBook:!1,scale:$c},showToolbars:!1,settingsLoaded:!1,bookSettings:{}}),getters:{activeSettings(e){return e.getBookSettings(e.books.current)||{}},activeTitle(e){const t=e.books.current;let n;return t?(e.arc?.group!="f"&&(n=cy(t)),n||(n=t.filename||"")):n="",n},isVertical(e){return e.activeSettings.isVertical},isReadInReverse(e){return e.activeSettings.isReadInReverse},routeParams(e){return{pk:+e.books.current.pk,page:+e.page}},isPDF(e){return e.books?.current?.fileType=="PDF"},cacheBook(e){return e.clientSettings.cacheBook&&!(this.isPDF&&this.activeSettings.isVertical)},isPagesNotRoutes(e){return e.activeSettings.isVertical||this.cacheBook},isBTT(e){return e.activeSettings.readingDirection==="btt"},isFirstPage(e){return e.page===0},isLastPage(e){const t=e.books.current?e.books.current.maxPage:0,n=e.activeSettings.twoPages?1:0,r=t-n;return this.page>=r},closeBookRoute(e){const t={name:"browser"};let n=e.routes.close;if(n){const r=e.books?.current?.pk;r&&(t.hash=`#card-${r}`)}else n=globalThis.CODEX.LAST_ROUTE||_e.breadcrumbs[0];return t.params=n,t}},actions:{setReadRTLInReverse(e){return this.readerSettings.readRtlInReverse&&e.readingDirection==="rtl"?{...e,readingDirection:"ltr"}:e},getBookSettings(e){if(!e)return{};if(!(e.pk in this.bookSettings)){const t=it(Yr);let n=e?e.settings:{};n=this.setReadRTLInReverse(n);const r=[this.readerSettings,n];for(const s of r)for(const[o,i]of Object.entries(s))Yr.has(i)||(t[o]=i);jc(t),t.isVertical=Vi.has(t.readingDirection),t.isReadInReverse=Qf.has(t.readingDirection),t.fitToClass=this.fitToClass(t),this.bookSettings[e.pk]=t}return this.bookSettings[e.pk]},bookChangeLocation(e){let t;return this.isBTT?t=e==="next"?"left":"right":t=e==="next"?"right":"left",t},bookChangeCursorClass(e){let t;return this.activeSettings.isReadInReverse?t=e==="next"?"up":"down":t=e==="next"?"down":"up",t+"Cursor"},bookChangeShow(e){return e==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(e){let t=e==="next";return this.isBTT&&(t=!t),t?Nv:$v},isCoverPage(e,t){return e.readLtr!==!1&&t===0||e.readLtr&&t===e.maxPage},_getRouteParams(e,t,n){const r=n==="prev"?-1:1;let s=1;this.getBookSettings(e).twoPages&&!this.isCoverPage(e,+t+r)&&(s=2),s=s*r;const i=+t+s;let a=!1;return i>=0&&i<=e.maxPage&&(a={pk:e.pk,page:i}),a},fitToClass(e){const t={};let n;if(n=this.clientSettings.scale>$c?"Orig":_f[e.fitTo],n){let r="fitTo";r+=Qv(n),e.isVertical?r+="Vertical":e.twoPages&&(r+="Two"),t[r]=!0}return t},_updateSettings(e,t){this.$patch(n=>{t?(n.books.current.settings={...n.books.current.settings,...e},jc(n.books.current.settings)):n.readerSettings={...n.readerSettings,...e},n.bookSettings={}})},toggleToolbars(){this.showToolbars=!this.showToolbars},setShowToolbars(){this.showToolbars=!0},reset(){this.$patch(e=>{e.arcs={},e.arc=qf,e.mtime=0,e.settingsLoaded=!1,e.books=it(Go),e.routes=it(zo),e.bookSettings={}})},_getBookRoutePage(e,t){let n=0;if(t&&e.readLtr!==!1||!t&&e.readLtr===!1){const s=this.getBookSettings(e).twoPages?-1:0;n=e.maxPage+s}return n},_getBookRoute(e,t){if(!e)return!1;const n=this._getBookRoutePage(e,t);return{pk:e.pk,page:n}},_getBookRoutes(e,t){return{prev:this._getBookRoute(e,!0),next:this._getBookRoute(t,!1)}},async setRoutesAndBookmarkPage(e){const t=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(t,e,"prev"),n.routes.next=this._getRouteParams(t,e,"next")}),await this._setBookmarkPage(e).then(()=>(this.bookChange=void 0,!0))},setActivePage(e,t=!0){if(e<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(e>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=!!t,this.page=+e,this.setRoutesAndBookmarkPage(e),this.isPagesNotRoutes){const n={params:{pk:this.books.current.pk,page:e}},{href:r}=ye.resolve(n);globalThis.history.pushState({},void 0,r)}else window.scrollTo(0,0)},async loadReaderSettings(){fo.getReaderSettings().then(e=>{const t=e.data;this._updateSettings(t,!1),this.empty=!1}).catch(console.error)},async loadBooks({params:e,arc:t,mtime:n}){this.settingsLoaded||this.loadReaderSettings();const r=ye.currentRoute.value;e||(e=r.params);const s=e.pk,o={arc:t};n||(n=r.query?.ts,n||(n=this.mtime)),await fo.getReaderInfo(s,o,n).then(i=>{const a=i.data,c=a.books,u=[c?.prev,c?.current,c?.next];for(const f of u)f&&!f.settings&&(f.settings={});const l=this._getBookRoutes(c.prev,c.next);return this.$patch(f=>{f.books=c,f.arcs=a.arcs,f.arc=a.arc,f.routes.prev=this._getRouteParams(f.books.current,e.page,"prev"),f.routes.next=this._getRouteParams(f.books.current,e.page,"next"),f.routes.books=l,f.routes.close=a.closeRoute,f.empty=!1,f.mtime=a.mtime,f.bookSettings={}}),!0}).catch(i=>{console.debug(i),this.empty=!0})},async loadMtimes(){const e=[];for(const[t,n]of Object.entries(this.arcs))for(const r of Object.keys(n)){const s={group:t,pks:r};e.push(s)}return await us.getMtime(e,{}).then(t=>{const n=t.data.maxMtime;return n!==this.mtime?this.loadBooks({mtime:n}):!0}).catch(console.error)},async _setBookmarkPage(e){const t={group:"c",ids:[+this.books.current.pk]};e=Math.max(Math.min(this.books.current.maxPage,e),0);const n={page:e};this.readerSettings.finishOnLastPage&&e>=this.books.current.maxPage&&(n.finished=!0),await wt.updateGroupBookmarks(t,{},n)},async setSettingsLocal(e){this._updateSettings(e,!0);const t={group:"c",ids:[+this.books.current.pk]};await wt.updateGroupBookmarks(t,{},this.books.current.settings)},setSettingsClient(e){this.clientSettings={...this.clientSettings,...e}},async clearSettingsLocal(){await this.setSettingsLocal(Yf),this.setSettingsClient(Jf)},async setSettingsGlobal(e){this._updateSettings(e,!1),await fo.updateReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(e){e=this.normalizeDirection(e),this.bookChange=this.routes.books[e]?e:void 0},linkLabel(e,t){return`${e==="prev"?"Previous":"Next"} ${t}`},normalizeDirection(e){return this.activeSettings.isReadInReverse?Xf[e]:e},_validateRoute(e,t){if(t||(t=this.books.current),!t)return{};const n=t.maxPage??0;return e.page>n?(e.page=n,console.warn("Tried to navigate past the end of the book.")):e.page<0&&(e.page=0,console.warn("Tried to navigate before the beginning of the book.")),e},_routeTo(e,t){if(e=this._validateRoute(e,t),this.isPagesNotRoutes&&+e.pk===this.books.current.pk)this.setActivePage(+e.page,!0);else{const n={name:"reader",params:e};ye.push(n).catch(console.debug)}},routeToDirectionOne(e){e=this.normalizeDirection(e);const t=e==="prev"?-1:1,n=this.page+=t;if(n<0||n>this.books.current.maxPage)return;const r={pk:this.books.current.pk,page:n};this._routeTo(r)},routeToDirection(e){if(e=this.normalizeDirection(e),this.routes[e]){const t=this.routes[e];this._routeTo(t)}else this.routes.books[e]?this.bookChange===e?this._routeTo(this.routes.books[e],this.books[e]):this.setBookChangeFlag(e):console.debug("No route to direction",e)},routeToPage(e){const t={pk:this.books.current.pk,page:e};this._routeTo(t)},routeToBook(e){this._routeTo(this.routes.books[e],this.books[e])},toRoute(e){return e?{params:e}:{}},_prefetchSrc(e,t,n=!1,r=!1){if(!e)return!1;const s=n?this.books[t]:this.books.current;if(!s)return!1;let o=e.page;if(r){if(!this.getBookSettings(s).twoPages)return!1;o+=1}if(o>s.maxPage)return!1;const i={pk:e.pk,page:o,mtime:s.mtime};return Nc(i)},prefetchLinks(e,t,n=!1){if(!n&&this.cacheBook)return{};const r=[this._prefetchSrc(e,t,n,!1),this._prefetchSrc(e,t,n,!0)],s=[];for(const o of r)o&&s.push({...Wo,href:o});return{link:s}},prefetchBook(e){if(!this.cacheBook||e.fileType=="PDF")return{};const t=e.pk,n=[];for(let r=0;r<=e.maxPage;r++){const s={pk:t,page:r,mtime:e.mtime},o=Nc(s);o&&n.push({...Wo,href:o})}return{link:n}}}}),e1=mp();function fy(e){e.use(e1)}const Ko=["admin-groups","admin-users","admin-libraries"];Object.freeze(Ko);const dy=wr("socket",{state:()=>({isConnected:!1,reconnectError:!1,app:void 0,heartBeatInterval:5*1e3,heartBeatTimer:0}),getters:{async adminStore(){if(dr().isUserAdmin)return ft(()=>import("./admin-BNZOvNK8.js"),[]).then(e=>e.useAdminStore()).catch(console.error)}},actions:{SOCKET_ONOPEN(e){this.app.config.globalProperties.$socket=e.currentTarget,this.$patch(t=>{t.isConnected=!0,t.reconnectError=!1}),this.heartBeatTimer=globalThis.setInterval(()=>{try{this.isConnected&&this.app.config.globalProperties.$socket.send("")}catch(t){console.warn("keep-alive",t)}},this.heartBeatInterval)},SOCKET_ONCLOSE(){this.isConnected=!1,globalThis.clearInterval(this.heartBeatTimer),this.heartBeatTimer=0},SOCKET_ONERROR(e){console.error("socket error",e),this.$patch(t=>{t.isConnected=!1,t.reconnectError=!0})},SOCKET_ONMESSAGE(e){const t=e.data;switch(console.debug(t),t){case Nt.ADMIN_FLAGS:this.adminFlagsNotified();break;case Nt.BOOKMARK:this.bookmarksNotified();break;case Nt.COVERS:this.coversNotified();break;case Nt.GROUPS:this.groupsNotified(),this.libraryNotified();break;case Nt.USERS:this.usersNotified(),this.libraryNotified();break;case Nt.LIBRARY:this.libraryNotified();break;case Nt.LIBRARIAN_STATUS:this.adminLoadTables(["LibrarianStatus"]);break;case Nt.FAILED_IMPORTS:this.failedImportsNotified();break;default:console.debug("Unhandled websocket message:",t)}},SOCKET_RECONNECT(e){console.debug("socket reconnect",e)},SOCKET_RECONNECT_ERROR(){console.error("socket reconnect error"),this.reconnectError=!0},async adminLoadTables(e){this.adminStore&&(await this.adminStore).loadTables(e)},adminFlagsNotified(){dr().loadAdminFlags(),ye?.currentRoute?.value?.name==="admin-flags"&&this.adminLoadTables(["Flag"])},reloadBrowser(){ye?.currentRoute?.value?.name==="browser"&&kc().loadMtimes()},bookmarksNotified(){this.reloadBrowser()},coversNotified(){this.reloadBrowser()},groupsNotified(){const e=ye?.currentRoute?.value?.name;Ko.includes(e)&&this.adminLoadTables(["Group"])},usersNotified(){const e=ye?.currentRoute?.value?.name;Ko.includes(e)&&this.adminLoadTables(["User"])},async libraryNotified(){switch(nr().setTimestamp(),ye?.currentRoute?.value?.name){case"browser":kc().loadMtimes();break;case"reader":uy().loadMtimes();break;case"admin-libraries":this.adminLoadTables(["Library","FailedImport"]);break;case"admin-stats":this.adminStore&&(await this.adminStore).loadStats();break}},async failedImportsNotified(){if(this.adminStore){const e=await this.adminStore;e.unseenFailedImports=!0}}}});function hy(){return dy(e1)}function py(e){const t=hy();t.app=e;const n={store:t,reconnection:!0};e.use(fv,hv,n)}function Pr(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
35
+ */const En=typeof document<"u";function Sf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sf(e.default)}const ae=Object.assign;function io(e,t){const n={};for(const r in t){const s=t[r];n[r]=lt(s)?s.map(e):e(s)}return n}const rr=()=>{},lt=Array.isArray,Cf=/#/g,$0=/&/g,j0=/\//g,B0=/=/g,U0=/\?/g,Af=/\+/g,W0=/%5B/g,G0=/%5D/g,Lf=/%5E/g,z0=/%60/g,Ef=/%7B/g,K0=/%7C/g,wf=/%7D/g,Z0=/%20/g;function Ii(e){return encodeURI(""+e).replace(K0,"|").replace(W0,"[").replace(G0,"]")}function Y0(e){return Ii(e).replace(Ef,"{").replace(wf,"}").replace(Lf,"^")}function ko(e){return Ii(e).replace(Af,"%2B").replace(Z0,"+").replace(Cf,"%23").replace($0,"%26").replace(z0,"`").replace(Ef,"{").replace(wf,"}").replace(Lf,"^")}function J0(e){return ko(e).replace(B0,"%3D")}function X0(e){return Ii(e).replace(Cf,"%23").replace(U0,"%3F")}function Q0(e){return e==null?"":X0(e).replace(j0,"%2F")}function mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const _0=/\/$/,q0=e=>e.replace(_0,"");function ao(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=r2(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:mr(i)}}function e2(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function pc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function t2(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Hn(t.matched[r],n.matched[s])&&Tf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Tf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!n2(e[n],t[n]))return!1;return!0}function n2(e,t){return lt(e)?mc(e,t):lt(t)?mc(t,e):e===t}function mc(e,t){return lt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function r2(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const kt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sr||(sr={}));function s2(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),q0(e)}const o2=/^[^#]+#/;function i2(e,t){return e.replace(o2,"#")+t}function a2(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ns=()=>({left:window.scrollX,top:window.scrollY});function c2(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=a2(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function gc(e,t){return(history.state?history.state.position-t:-1)+e}const No=new Map;function l2(e,t){No.set(e,t)}function u2(e){const t=No.get(e);return No.delete(e),t}let f2=()=>location.protocol+"//"+location.host;function xf(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),pc(c,"")}return pc(n,e)+r+s}function d2(e,t,n,r){let s=[],o=[],i=null;const a=({state:h})=>{const d=xf(e,location),p=n.value,m=t.value;let g=0;if(h){if(n.value=d,t.value=h,i&&i===p){i=null;return}g=m?h.position-m.position:0}else r(d);s.forEach(v=>{v(n.value,p,{delta:g,type:gr.pop,direction:g?g>0?sr.forward:sr.back:sr.unknown})})};function c(){i=n.value}function u(h){s.push(h);const d=()=>{const p=s.indexOf(h);p>-1&&s.splice(p,1)};return o.push(d),d}function l(){const{history:h}=window;h.state&&h.replaceState(ae({},h.state,{scroll:Ns()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function vc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ns():null}}function h2(e){const{history:t,location:n}=window,r={value:xf(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,l){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:f2()+e+c;try{t[l?"replaceState":"pushState"](u,"",h),s.value=u}catch(d){console.error(d),n[l?"replace":"assign"](h)}}function i(c,u){const l=ae({},t.state,vc(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});o(c,l,!0),r.value=c}function a(c,u){const l=ae({},s.value,t.state,{forward:c,scroll:Ns()});o(l.current,l,!0);const f=ae({},vc(r.value,c,null),{position:l.position+1},u);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function p2(e){e=s2(e);const t=h2(e),n=d2(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ae({location:"",base:e,go:r,createHref:i2.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function m2(e){return typeof e=="string"||e&&typeof e=="object"}function Rf(e){return typeof e=="string"||typeof e=="symbol"}const Of=Symbol("");var yc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yc||(yc={}));function Dn(e,t){return ae(new Error,{type:e,[Of]:!0},t)}function Lt(e,t){return e instanceof Error&&Of in e&&(t==null||!!(e.type&t))}const bc="[^/]+?",g2={sensitive:!1,strict:!1,start:!0,end:!0},v2=/[.+*?^${}()[\]/\\]/g;function y2(e,t){const n=ae({},g2,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=40+(n.sensitive?.25:0);if(h.type===0)f||(s+="/"),s+=h.value.replace(v2,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:m,optional:g,regexp:v}=h;o.push({name:p,repeatable:m,optional:g});const y=v||bc;if(y!==bc){d+=10;try{new RegExp(`(${y})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+A.message)}}let S=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(S=g&&u.length<2?`(?:/${S})`:"/"+S),g&&(S+="?"),s+=S,d+=20,g&&(d+=-8),m&&(d+=-20),y===".*"&&(d+=-50)}l.push(d)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(i),f={};if(!l)return null;for(let h=1;h<l.length;h++){const d=l[h]||"",p=o[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function c(u){let l="",f=!1;for(const h of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const d of h)if(d.type===0)l+=d.value;else if(d.type===1){const{value:p,repeatable:m,optional:g}=d,v=p in u?u[p]:"";if(lt(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=lt(v)?v.join("/"):v;if(!y)if(g)h.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=y}}return l||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function b2(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Pf(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=b2(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Sc(r))return 1;if(Sc(s))return-1}return s.length-r.length}function Sc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const S2={type:0,value:""},C2=/[a-zA-Z0-9_]/;function A2(e){if(!e)return[[]];if(e==="/")return[[S2]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,u="",l="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):h();break;case 4:h(),n=r;break;case 1:c==="("?n=2:C2.test(c)?h():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function L2(e,t,n){const r=y2(A2(e.path),n),s=ae(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function E2(e,t){const n=[],r=new Map;t=Ec({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,h,d){const p=!d,m=Ac(f);m.aliasOf=d&&d.record;const g=Ec(t,f),v=[m];if("alias"in f){const A=typeof f.alias=="string"?[f.alias]:f.alias;for(const R of A)v.push(Ac(ae({},m,{components:d?d.record.components:m.components,path:R,aliasOf:d?d.record:m})))}let y,S;for(const A of v){const{path:R}=A;if(h&&R[0]!=="/"){const T=h.record.path,P=T[T.length-1]==="/"?"":"/";A.path=h.record.path+(R&&P+R)}if(y=L2(A,h,g),d?d.alias.push(y):(S=S||y,S!==y&&S.alias.push(y),p&&f.name&&!Lc(y)&&i(f.name)),Mf(y)&&c(y),m.children){const T=m.children;for(let P=0;P<T.length;P++)o(T[P],y,d&&d.children[P])}d=d||y}return S?()=>{i(S)}:rr}function i(f){if(Rf(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const h=x2(f,n);n.splice(h,0,f),f.record.name&&!Lc(f)&&r.set(f.record.name,f)}function u(f,h){let d,p={},m,g;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Dn(1,{location:f});g=d.record.name,p=ae(Cc(h.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&Cc(f.params,d.keys.map(S=>S.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(S=>S.re.test(m)),d&&(p=d.parse(m),g=d.record.name);else{if(d=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!d)throw Dn(1,{location:f,currentLocation:h});g=d.record.name,p=ae({},h.params,f.params),m=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:g,path:m,params:p,matched:v,meta:T2(v)}}e.forEach(f=>o(f));function l(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:l,getRoutes:a,getRecordMatcher:s}}function Cc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ac(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:w2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function w2(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Lc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function T2(e){return e.reduce((t,n)=>ae(t,n.meta),{})}function Ec(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function x2(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Pf(e,t[o])<0?r=o:n=o+1}const s=R2(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function R2(e){let t=e;for(;t=t.parent;)if(Mf(t)&&Pf(e,t)===0)return t}function Mf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function O2(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Af," "),i=o.indexOf("="),a=mr(i<0?o:o.slice(0,i)),c=i<0?null:mr(o.slice(i+1));if(a in t){let u=t[a];lt(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function wc(e){let t="";for(let n in e){const r=e[n];if(n=J0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lt(r)?r.map(o=>o&&ko(o)):[r&&ko(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function P2(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const M2=Symbol(""),Tc=Symbol(""),Hi=Symbol(""),If=Symbol(""),$o=Symbol("");function Gn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const u=h=>{h===!1?c(Dn(4,{from:n,to:t})):h instanceof Error?c(h):m2(h)?c(Dn(2,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),a())},l=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function co(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Sf(c)){const l=(c.__vccOpts||c)[t];l&&o.push(Gt(l,n,r,i,a,s))}else{let u=c();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=N0(l)?l.default:l;i.mods[a]=l,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Gt(d,n,r,i,a,s)()}))}}return o}function xc(e){const t=Ae(Hi),n=Ae(If),r=se(()=>{const c=qe(e.to);return t.resolve(c)}),s=se(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const h=f.findIndex(Hn.bind(null,l));if(h>-1)return h;const d=Rc(c[u-2]);return u>1&&Rc(l)===d&&f[f.length-1].path!==d?f.findIndex(Hn.bind(null,c[u-2])):h}),o=se(()=>s.value>-1&&F2(n.params,r.value.params)),i=se(()=>s.value>-1&&s.value===n.matched.length-1&&Tf(n.params,r.value.params));function a(c={}){if(V2(c)){const u=t[qe(e.replace)?"replace":"push"](qe(e.to)).catch(rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function I2(e){return e.length===1?e[0]:e}const H2=Es({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:xc,setup(e,{slots:t}){const n=ze(xc(e)),{options:r}=Ae(Hi),s=se(()=>({[Oc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Oc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&I2(t.default(n));return e.custom?o:Os("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),D2=H2;function V2(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function F2(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!lt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Rc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oc=(e,t,n)=>e??t??n,k2=Es({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae($o),s=se(()=>e.route||r.value),o=Ae(Tc,0),i=se(()=>{let u=qe(o);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=se(()=>s.value.matched[i.value]);Ot(Tc,se(()=>i.value+1)),Ot(M2,a),Ot($o,s);const c=ke();return nt(()=>[c.value,a.value,e.name],([u,l,f],[h,d,p])=>{l&&(l.instances[f]=u,d&&d!==l&&u&&u===h&&(l.leaveGuards.size||(l.leaveGuards=d.leaveGuards),l.updateGuards.size||(l.updateGuards=d.updateGuards))),u&&l&&(!d||!Hn(l,d)||!h)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,h=f&&f.components[l];if(!h)return Pc(n.default,{Component:h,route:u});const d=f.props[l],p=d?d===!0?u.params:typeof d=="function"?d(u):d:null,g=Os(h,ae({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Pc(n.default,{Component:g,route:u})||g}}});function Pc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const N2=k2;function $2(e){const t=E2(e.routes,e),n=e.parseQuery||O2,r=e.stringifyQuery||wc,s=e.history,o=Gn(),i=Gn(),a=Gn(),c=tt(kt);let u=kt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=io.bind(null,H=>""+H),f=io.bind(null,Q0),h=io.bind(null,mr);function d(H,B){let U,K;return Rf(H)?(U=t.getRecordMatcher(H),K=B):K=H,t.addRoute(K,U)}function p(H){const B=t.getRecordMatcher(H);B&&t.removeRoute(B)}function m(){return t.getRoutes().map(H=>H.record)}function g(H){return!!t.getRecordMatcher(H)}function v(H,B){if(B=ae({},B||c.value),typeof H=="string"){const w=ao(n,H,B.path),D=t.resolve({path:w.path},B),F=s.createHref(w.fullPath);return ae(w,D,{params:h(D.params),hash:mr(w.hash),redirectedFrom:void 0,href:F})}let U;if(H.path!=null)U=ae({},H,{path:ao(n,H.path,B.path).path});else{const w=ae({},H.params);for(const D in w)w[D]==null&&delete w[D];U=ae({},H,{params:f(w)}),B.params=f(B.params)}const K=t.resolve(U,B),fe=H.hash||"";K.params=l(h(K.params));const b=e2(r,ae({},H,{hash:Y0(fe),path:K.path})),C=s.createHref(b);return ae({fullPath:b,hash:fe,query:r===wc?P2(H.query):H.query||{}},K,{redirectedFrom:void 0,href:C})}function y(H){return typeof H=="string"?ao(n,H,c.value.path):ae({},H)}function S(H,B){if(u!==H)return Dn(8,{from:B,to:H})}function A(H){return P(H)}function R(H){return A(ae(y(H),{replace:!0}))}function T(H){const B=H.matched[H.matched.length-1];if(B&&B.redirect){const{redirect:U}=B;let K=typeof U=="function"?U(H):U;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=y(K):{path:K},K.params={}),ae({query:H.query,hash:H.hash,params:K.path!=null?{}:H.params},K)}}function P(H,B){const U=u=v(H),K=c.value,fe=H.state,b=H.force,C=H.replace===!0,w=T(U);if(w)return P(ae(y(w),{state:typeof w=="object"?ae({},fe,w.state):fe,force:b,replace:C}),B||U);const D=U;D.redirectedFrom=B;let F;return!b&&t2(r,K,U)&&(F=Dn(16,{to:D,from:K}),Ee(K,K,!0,!1)),(F?Promise.resolve(F):x(D,K)).catch(V=>Lt(V)?Lt(V,2)?V:ie(V):Z(V,D,K)).then(V=>{if(V){if(Lt(V,2))return P(ae({replace:C},y(V.to),{state:typeof V.to=="object"?ae({},fe,V.to.state):fe,force:b}),B||D)}else V=O(D,K,!0,C,fe);return I(D,K,V),V})}function E(H,B){const U=S(H,B);return U?Promise.reject(U):Promise.resolve()}function L(H){const B=st.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(H):H()}function x(H,B){let U;const[K,fe,b]=j2(H,B);U=co(K.reverse(),"beforeRouteLeave",H,B);for(const w of K)w.leaveGuards.forEach(D=>{U.push(Gt(D,H,B))});const C=E.bind(null,H,B);return U.push(C),Ue(U).then(()=>{U=[];for(const w of o.list())U.push(Gt(w,H,B));return U.push(C),Ue(U)}).then(()=>{U=co(fe,"beforeRouteUpdate",H,B);for(const w of fe)w.updateGuards.forEach(D=>{U.push(Gt(D,H,B))});return U.push(C),Ue(U)}).then(()=>{U=[];for(const w of b)if(w.beforeEnter)if(lt(w.beforeEnter))for(const D of w.beforeEnter)U.push(Gt(D,H,B));else U.push(Gt(w.beforeEnter,H,B));return U.push(C),Ue(U)}).then(()=>(H.matched.forEach(w=>w.enterCallbacks={}),U=co(b,"beforeRouteEnter",H,B,L),U.push(C),Ue(U))).then(()=>{U=[];for(const w of i.list())U.push(Gt(w,H,B));return U.push(C),Ue(U)}).catch(w=>Lt(w,8)?w:Promise.reject(w))}function I(H,B,U){a.list().forEach(K=>L(()=>K(H,B,U)))}function O(H,B,U,K,fe){const b=S(H,B);if(b)return b;const C=B===kt,w=En?history.state:{};U&&(K||C?s.replace(H.fullPath,ae({scroll:C&&w&&w.scroll},fe)):s.push(H.fullPath,fe)),c.value=H,Ee(H,B,U,C),ie()}let k;function X(){k||(k=s.listen((H,B,U)=>{const K=v(H),fe=T(K);if(fe){P(ae(fe,{replace:!0,force:!0}),K).catch(rr);return}u=K;const b=c.value;En&&l2(gc(b.fullPath,U.delta),Ns()),x(K,b).catch(C=>Lt(C,12)?C:Lt(C,2)?(P(ae(y(C.to),{force:!0}),K).then(w=>{Lt(w,20)&&!U.delta&&U.type===gr.pop&&s.go(-1,!1)}).catch(rr),Promise.reject()):(U.delta&&s.go(-U.delta,!1),Z(C,K,b))).then(C=>{C=C||O(K,b,!1),C&&(U.delta&&!Lt(C,8)?s.go(-U.delta,!1):U.type===gr.pop&&Lt(C,20)&&s.go(-1,!1)),I(K,b,C)}).catch(rr)}))}let ne=Gn(),ee=Gn(),z;function Z(H,B,U){ie(H);const K=ee.list();return K.length?K.forEach(fe=>fe(H,B,U)):console.error(H),Promise.reject(H)}function ue(){return z&&c.value!==kt?Promise.resolve():new Promise((H,B)=>{ne.add([H,B])})}function ie(H){return z||(z=!H,X(),ne.list().forEach(([B,U])=>H?U(H):B()),ne.reset()),H}function Ee(H,B,U,K){const{scrollBehavior:fe}=e;if(!En||!fe)return Promise.resolve();const b=!U&&u2(gc(H.fullPath,0))||(K||!U)&&history.state&&history.state.scroll||null;return Ls().then(()=>fe(H,B,b)).then(C=>C&&c2(C)).catch(C=>Z(C,H,B))}const ve=H=>s.go(H);let we;const st=new Set,_t={currentRoute:c,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:v,options:e,push:A,replace:R,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:ee.add,isReady:ue,install(H){const B=this;H.component("RouterLink",D2),H.component("RouterView",N2),H.config.globalProperties.$router=B,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>qe(c)}),En&&!we&&c.value===kt&&(we=!0,A(s.location).catch(fe=>{}));const U={};for(const fe in kt)Object.defineProperty(U,fe,{get:()=>c.value[fe],enumerable:!0});H.provide(Hi,B),H.provide(If,El(U)),H.provide($o,c);const K=H.unmount;st.add(H),H.unmount=function(){st.delete(H),st.size<1&&(u=kt,k&&k(),k=null,c.value=kt,we=!1,z=!1),K()}}};function Ue(H){return H.reduce((B,U)=>B.then(()=>L(U)),Promise.resolve())}return _t}function j2(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Hn(u,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(u=>Hn(u,c))||s.push(c))}return[n,r,s]}const B2="",Hf=[{group:"r",pks:"0",page:1}],U2=!0,W2=!0,G2="sort_name",z2=!1,K2="",Z2={i:!1,p:!0,s:!0,v:!1},Y2="p",J2=!1,_e={bookmarkFilter:B2,breadcrumbs:Hf,customCovers:U2,dynamicCovers:W2,orderBy:G2,orderReverse:z2,q:K2,show:Z2,topGroup:Y2,twentyFourHourTime:J2},X2=()=>ft(()=>import("./admin-CDRC0Rok.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),Q2=()=>ft(()=>import("./browser-Dr_bPvQw.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,24,25,26,27,17,18,28,29,30,31,32,33,34,35,36,37,15,16,19,38,39,40])),_2=()=>ft(()=>import("./http-error-DrBUwxBc.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,42])),q2=()=>ft(()=>import("./reader-U6RQth6A.js").then(e=>e.r),__vite__mapDeps([43,15,3,4,1,2,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,27,28,29,34,32,33,35,36,37,44,45,46,47,38,39,24,25,48])),ev=()=>ft(()=>import("./flag-tab-BZ2kKZ5N.js"),__vite__mapDeps([49,11,32,3,4,33,8,9,38,28,39,50])),tv=()=>ft(()=>import("./user-tab-B9Nfgojx.js"),__vite__mapDeps([51,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,38,39,54,55,6,12])),nv=()=>ft(()=>import("./group-tab-CesC8o-T.js"),__vite__mapDeps([56,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,46,47,57])),rv=()=>ft(()=>import("./library-tab-DPHJtlEd.js"),__vite__mapDeps([58,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,26,31,38,39,54,55,44,45,59])),sv=()=>ft(()=>import("./task-tab-NvMiShar.js"),__vite__mapDeps([60,35,2,3,4,5,36,11,27,8,9,13,17,18,28,29,61])),ov=()=>ft(()=>import("./stats-tab-DikOLx9_.js"),__vite__mapDeps([62,32,3,4,33,35,2,5,36,16,11,63])),iv={name:"browser",params:globalThis.CODEX.LAST_ROUTE||Hf[0]},av=[{name:"home",path:"/",redirect:iv},{name:"reader",path:"/c/:pk/:page",component:q2},{name:"browser",path:"/:group/:pks/:page",component:Q2},{name:"admin",path:"/admin",component:X2,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:tv},{name:"admin-groups",path:"groups",component:nv},{name:"admin-libraries",path:"libraries",component:rv},{name:"admin-flags",path:"flags",component:ev},{name:"admin-tasks",path:"tasks",component:sv},{name:"admin-stats",path:"stats",component:ov}]},{name:"error",path:"/error/:code",component:_2,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],ye=new $2({history:p2(globalThis.CODEX.APP_PATH),routes:av});function cv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lo={exports:{}},Mc;function lv(){return Mc||(Mc=1,function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,(function(c){return s[c]}).bind(null,a));return i},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({"00ee":function(t,n,r){var s=r("b622"),o=s("toStringTag"),i={};i[o]="z",t.exports=String(i)==="[object z]"},"0366":function(t,n,r){var s=r("1c0b");t.exports=function(o,i,a){if(s(o),i===void 0)return o;switch(a){case 0:return function(){return o.call(i)};case 1:return function(c){return o.call(i,c)};case 2:return function(c,u){return o.call(i,c,u)};case 3:return function(c,u,l){return o.call(i,c,u,l)}}return function(){return o.apply(i,arguments)}}},"06cf":function(t,n,r){var s=r("83ab"),o=r("d1e7"),i=r("5c6c"),a=r("fc6a"),c=r("c04e"),u=r("5135"),l=r("0cfb"),f=Object.getOwnPropertyDescriptor;n.f=s?f:function(d,p){if(d=a(d),p=c(p,!0),l)try{return f(d,p)}catch{}if(u(d,p))return i(!o.f.call(d,p),d[p])}},"0cfb":function(t,n,r){var s=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!s&&!o(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},"159b":function(t,n,r){var s=r("da84"),o=r("fdbc"),i=r("17c2"),a=r("9112");for(var c in o){var u=s[c],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch{l.forEach=i}}},"17c2":function(t,n,r){var s=r("b727").forEach,o=r("a640"),i=o("forEach");t.exports=i?[].forEach:function(c){return s(this,c,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,n){t.exports=function(r,s,o){if(!(r instanceof s))throw TypeError("Incorrect "+(o?o+" ":"")+"invocation");return r}},"1be4":function(t,n,r){var s=r("d066");t.exports=s("document","documentElement")},"1c0b":function(t,n){t.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"1c7e":function(t,n,r){var s=r("b622"),o=s("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,function(){throw 2})}catch{}t.exports=function(u,l){if(!l&&!i)return!1;var f=!1;try{var h={};h[o]=function(){return{next:function(){return{done:f=!0}}}},u(h)}catch{}return f}},"1d80":function(t,n){t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"1dde":function(t,n,r){var s=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");t.exports=function(c){return i>=51||!s(function(){var u=[],l=u.constructor={};return l[a]=function(){return{foo:1}},u[c](Boolean).foo!==1})}},2266:function(t,n,r){var s=r("825a"),o=r("e95a"),i=r("50c4"),a=r("0366"),c=r("35a1"),u=r("2a62"),l=function(f,h){this.stopped=f,this.result=h};t.exports=function(f,h,d){var p=d&&d.that,m=!!(d&&d.AS_ENTRIES),g=!!(d&&d.IS_ITERATOR),v=!!(d&&d.INTERRUPTED),y=a(h,p,1+m+v),S,A,R,T,P,E,L,x=function(O){return S&&u(S),new l(!0,O)},I=function(O){return m?(s(O),v?y(O[0],O[1],x):y(O[0],O[1])):v?y(O,x):y(O)};if(g)S=f;else{if(A=c(f),typeof A!="function")throw TypeError("Target is not iterable");if(o(A)){for(R=0,T=i(f.length);T>R;R++)if(P=I(f[R]),P&&P instanceof l)return P;return new l(!1)}S=A.call(f)}for(E=S.next;!(L=E.call(S)).done;){try{P=I(L.value)}catch(O){throw u(S),O}if(typeof P=="object"&&P&&P instanceof l)return P}return new l(!1)}},"23cb":function(t,n,r){var s=r("a691"),o=Math.max,i=Math.min;t.exports=function(a,c){var u=s(a);return u<0?o(u+c,0):i(u,c)}},"23e7":function(t,n,r){var s=r("da84"),o=r("06cf").f,i=r("9112"),a=r("6eeb"),c=r("ce4e"),u=r("e893"),l=r("94ca");t.exports=function(f,h){var d=f.target,p=f.global,m=f.stat,g,v,y,S,A,R;if(p?v=s:m?v=s[d]||c(d,{}):v=(s[d]||{}).prototype,v)for(y in h){if(A=h[y],f.noTargetGet?(R=o(v,y),S=R&&R.value):S=v[y],g=l(p?y:d+(m?".":"#")+y,f.forced),!g&&S!==void 0){if(typeof A==typeof S)continue;u(A,S)}(f.sham||S&&S.sham)&&i(A,"sham",!0),a(v,y,A,f)}}},"241c":function(t,n,r){var s=r("ca84"),o=r("7839"),i=o.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(c){return s(c,i)}},"25f0":function(t,n,r){var s=r("6eeb"),o=r("825a"),i=r("d039"),a=r("ad6d"),c="toString",u=RegExp.prototype,l=u[c],f=i(function(){return l.call({source:"a",flags:"b"})!="/a/b"}),h=l.name!=c;(f||h)&&s(RegExp.prototype,c,function(){var p=o(this),m=String(p.source),g=p.flags,v=String(g===void 0&&p instanceof RegExp&&!("flags"in u)?a.call(p):g);return"/"+m+"/"+v},{unsafe:!0})},2626:function(t,n,r){var s=r("d066"),o=r("9bf2"),i=r("b622"),a=r("83ab"),c=i("species");t.exports=function(u){var l=s(u),f=o.f;a&&l&&!l[c]&&f(l,c,{configurable:!0,get:function(){return this}})}},"2a62":function(t,n,r){var s=r("825a");t.exports=function(o){var i=o.return;if(i!==void 0)return s(i.call(o)).value}},"2ca0":function(t,n,r){var s=r("23e7"),o=r("06cf").f,i=r("50c4"),a=r("5a34"),c=r("1d80"),u=r("ab13"),l=r("c430"),f="".startsWith,h=Math.min,d=u("startsWith"),p=!l&&!d&&!!function(){var m=o(String.prototype,"startsWith");return m&&!m.writable}();s({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(g){var v=String(c(this));a(g);var y=i(h(arguments.length>1?arguments[1]:void 0,v.length)),S=String(g);return f?f.call(v,S,y):v.slice(y,y+S.length)===S}})},"2d00":function(t,n,r){var s=r("da84"),o=r("342f"),i=s.process,a=i&&i.versions,c=a&&a.v8,u,l;c?(u=c.split("."),l=u[0]<4?1:u[0]+u[1]):o&&(u=o.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=o.match(/Chrome\/(\d+)/),u&&(l=u[1]))),t.exports=l&&+l},"342f":function(t,n,r){var s=r("d066");t.exports=s("navigator","userAgent")||""},"35a1":function(t,n,r){var s=r("f5df"),o=r("3f8c"),i=r("b622"),a=i("iterator");t.exports=function(c){if(c!=null)return c[a]||c["@@iterator"]||o[s(c)]}},"37e8":function(t,n,r){var s=r("83ab"),o=r("9bf2"),i=r("825a"),a=r("df75");t.exports=s?Object.defineProperties:function(u,l){i(u);for(var f=a(l),h=f.length,d=0,p;h>d;)o.f(u,p=f[d++],l[p]);return u}},"3bbe":function(t,n,r){var s=r("861d");t.exports=function(o){if(!s(o)&&o!==null)throw TypeError("Can't set "+String(o)+" as a prototype");return o}},"3ca3":function(t,n,r){var s=r("6547").charAt,o=r("69f3"),i=r("7dd0"),a="String Iterator",c=o.set,u=o.getterFor(a);i(String,"String",function(l){c(this,{type:a,string:String(l),index:0})},function(){var f=u(this),h=f.string,d=f.index,p;return d>=h.length?{value:void 0,done:!0}:(p=s(h,d),f.index+=p.length,{value:p,done:!1})})},"3f8c":function(t,n){t.exports={}},"428f":function(t,n,r){var s=r("da84");t.exports=s},"44ad":function(t,n,r){var s=r("d039"),o=r("c6b6"),i="".split;t.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return o(a)=="String"?i.call(a,""):Object(a)}:Object},"44d2":function(t,n,r){var s=r("b622"),o=r("7c73"),i=r("9bf2"),a=s("unscopables"),c=Array.prototype;c[a]==null&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(u){c[a][u]=!0}},"44e7":function(t,n,r){var s=r("861d"),o=r("c6b6"),i=r("b622"),a=i("match");t.exports=function(c){var u;return s(c)&&((u=c[a])!==void 0?!!u:o(c)=="RegExp")}},4930:function(t,n,r){var s=r("2d00"),o=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var i=Symbol();return!String(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&s&&s<41})},"4d64":function(t,n,r){var s=r("fc6a"),o=r("50c4"),i=r("23cb"),a=function(c){return function(u,l,f){var h=s(u),d=o(h.length),p=i(f,d),m;if(c&&l!=l){for(;d>p;)if(m=h[p++],m!=m)return!0}else for(;d>p;p++)if((c||p in h)&&h[p]===l)return c||p||0;return!c&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,n,r){var s=r("23e7"),o=r("b727").filter,i=r("1dde"),a=i("filter");s({target:"Array",proto:!0,forced:!a},{filter:function(u){return o(this,u,arguments.length>1?arguments[1]:void 0)}})},"4ec9":function(t,n,r){var s=r("6d61"),o=r("6566");t.exports=s("Map",function(i){return function(){return i(this,arguments.length?arguments[0]:void 0)}},o)},"50c4":function(t,n,r){var s=r("a691"),o=Math.min;t.exports=function(i){return i>0?o(s(i),9007199254740991):0}},5135:function(t,n,r){var s=r("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(a,c){return o.call(s(a),c)}},5692:function(t,n,r){var s=r("c430"),o=r("c6cd");(t.exports=function(i,a){return o[i]||(o[i]=a!==void 0?a:{})})("versions",[]).push({version:"3.15.2",mode:s?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,n,r){var s=r("d066"),o=r("241c"),i=r("7418"),a=r("825a");t.exports=s("Reflect","ownKeys")||function(u){var l=o.f(a(u)),f=i.f;return f?l.concat(f(u)):l}},"5a34":function(t,n,r){var s=r("44e7");t.exports=function(o){if(s(o))throw TypeError("The method doesn't accept regular expressions");return o}},"5c6c":function(t,n){t.exports=function(r,s){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:s}}},6547:function(t,n,r){var s=r("a691"),o=r("1d80"),i=function(a){return function(c,u){var l=String(o(c)),f=s(u),h=l.length,d,p;return f<0||f>=h?a?"":void 0:(d=l.charCodeAt(f),d<55296||d>56319||f+1===h||(p=l.charCodeAt(f+1))<56320||p>57343?a?l.charAt(f):d:a?l.slice(f,f+2):(d-55296<<10)+(p-56320)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},6566:function(t,n,r){var s=r("9bf2").f,o=r("7c73"),i=r("e2cc"),a=r("0366"),c=r("19aa"),u=r("2266"),l=r("7dd0"),f=r("2626"),h=r("83ab"),d=r("f183").fastKey,p=r("69f3"),m=p.set,g=p.getterFor;t.exports={getConstructor:function(v,y,S,A){var R=v(function(L,x){c(L,R,y),m(L,{type:y,index:o(null),first:void 0,last:void 0,size:0}),h||(L.size=0),x!=null&&u(x,L[A],{that:L,AS_ENTRIES:S})}),T=g(y),P=function(L,x,I){var O=T(L),k=E(L,x),X,ne;return k?k.value=I:(O.last=k={index:ne=d(x,!0),key:x,value:I,previous:X=O.last,next:void 0,removed:!1},O.first||(O.first=k),X&&(X.next=k),h?O.size++:L.size++,ne!=="F"&&(O.index[ne]=k)),L},E=function(L,x){var I=T(L),O=d(x),k;if(O!=="F")return I.index[O];for(k=I.first;k;k=k.next)if(k.key==x)return k};return i(R.prototype,{clear:function(){for(var x=this,I=T(x),O=I.index,k=I.first;k;)k.removed=!0,k.previous&&(k.previous=k.previous.next=void 0),delete O[k.index],k=k.next;I.first=I.last=void 0,h?I.size=0:x.size=0},delete:function(L){var x=this,I=T(x),O=E(x,L);if(O){var k=O.next,X=O.previous;delete I.index[O.index],O.removed=!0,X&&(X.next=k),k&&(k.previous=X),I.first==O&&(I.first=k),I.last==O&&(I.last=X),h?I.size--:x.size--}return!!O},forEach:function(x){for(var I=T(this),O=a(x,arguments.length>1?arguments[1]:void 0,3),k;k=k?k.next:I.first;)for(O(k.value,k.key,this);k&&k.removed;)k=k.previous},has:function(x){return!!E(this,x)}}),i(R.prototype,S?{get:function(x){var I=E(this,x);return I&&I.value},set:function(x,I){return P(this,x===0?0:x,I)}}:{add:function(x){return P(this,x=x===0?0:x,x)}}),h&&s(R.prototype,"size",{get:function(){return T(this).size}}),R},setStrong:function(v,y,S){var A=y+" Iterator",R=g(y),T=g(A);l(v,y,function(P,E){m(this,{type:A,target:P,state:R(P),kind:E,last:void 0})},function(){for(var P=T(this),E=P.kind,L=P.last;L&&L.removed;)L=L.previous;return!P.target||!(P.last=L=L?L.next:P.state.first)?(P.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:L.key,done:!1}:E=="values"?{value:L.value,done:!1}:{value:[L.key,L.value],done:!1}},S?"entries":"values",!S,!0),f(y)}}},"65f0":function(t,n,r){var s=r("861d"),o=r("e8b5"),i=r("b622"),a=i("species");t.exports=function(c,u){var l;return o(c)&&(l=c.constructor,typeof l=="function"&&(l===Array||o(l.prototype))?l=void 0:s(l)&&(l=l[a],l===null&&(l=void 0))),new(l===void 0?Array:l)(u===0?0:u)}},"69f3":function(t,n,r){var s=r("7f9a"),o=r("da84"),i=r("861d"),a=r("9112"),c=r("5135"),u=r("c6cd"),l=r("f772"),f=r("d012"),h="Object already initialized",d=o.WeakMap,p,m,g,v=function(E){return g(E)?m(E):p(E,{})},y=function(E){return function(L){var x;if(!i(L)||(x=m(L)).type!==E)throw TypeError("Incompatible receiver, "+E+" required");return x}};if(s||u.state){var S=u.state||(u.state=new d),A=S.get,R=S.has,T=S.set;p=function(E,L){if(R.call(S,E))throw new TypeError(h);return L.facade=E,T.call(S,E,L),L},m=function(E){return A.call(S,E)||{}},g=function(E){return R.call(S,E)}}else{var P=l("state");f[P]=!0,p=function(E,L){if(c(E,P))throw new TypeError(h);return L.facade=E,a(E,P,L),L},m=function(E){return c(E,P)?E[P]:{}},g=function(E){return c(E,P)}}t.exports={set:p,get:m,has:g,enforce:v,getterFor:y}},"6d61":function(t,n,r){var s=r("23e7"),o=r("da84"),i=r("94ca"),a=r("6eeb"),c=r("f183"),u=r("2266"),l=r("19aa"),f=r("861d"),h=r("d039"),d=r("1c7e"),p=r("d44e"),m=r("7156");t.exports=function(g,v,y){var S=g.indexOf("Map")!==-1,A=g.indexOf("Weak")!==-1,R=S?"set":"add",T=o[g],P=T&&T.prototype,E=T,L={},x=function(z){var Z=P[z];a(P,z,z=="add"?function(ie){return Z.call(this,ie===0?0:ie),this}:z=="delete"?function(ue){return A&&!f(ue)?!1:Z.call(this,ue===0?0:ue)}:z=="get"?function(ie){return A&&!f(ie)?void 0:Z.call(this,ie===0?0:ie)}:z=="has"?function(ie){return A&&!f(ie)?!1:Z.call(this,ie===0?0:ie)}:function(ie,Ee){return Z.call(this,ie===0?0:ie,Ee),this})},I=i(g,typeof T!="function"||!(A||P.forEach&&!h(function(){new T().entries().next()})));if(I)E=y.getConstructor(v,g,S,R),c.REQUIRED=!0;else if(i(g,!0)){var O=new E,k=O[R](A?{}:-0,1)!=O,X=h(function(){O.has(1)}),ne=d(function(z){new T(z)}),ee=!A&&h(function(){for(var z=new T,Z=5;Z--;)z[R](Z,Z);return!z.has(-0)});ne||(E=v(function(z,Z){l(z,E,g);var ue=m(new T,z,E);return Z!=null&&u(Z,ue[R],{that:ue,AS_ENTRIES:S}),ue}),E.prototype=P,P.constructor=E),(X||ee)&&(x("delete"),x("has"),S&&x("get")),(ee||k)&&x(R),A&&P.clear&&delete P.clear}return L[g]=E,s({global:!0,forced:E!=T},L),p(E,g),A||y.setStrong(E,g,S),E}},"6eeb":function(t,n,r){var s=r("da84"),o=r("9112"),i=r("5135"),a=r("ce4e"),c=r("8925"),u=r("69f3"),l=u.get,f=u.enforce,h=String(String).split("String");(t.exports=function(d,p,m,g){var v=g?!!g.unsafe:!1,y=g?!!g.enumerable:!1,S=g?!!g.noTargetGet:!1,A;if(typeof m=="function"&&(typeof p=="string"&&!i(m,"name")&&o(m,"name",p),A=f(m),A.source||(A.source=h.join(typeof p=="string"?p:""))),d===s){y?d[p]=m:a(p,m);return}else v?!S&&d[p]&&(y=!0):delete d[p];y?d[p]=m:o(d,p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&l(this).source||c(this)})},7156:function(t,n,r){var s=r("861d"),o=r("d2bb");t.exports=function(i,a,c){var u,l;return o&&typeof(u=a.constructor)=="function"&&u!==c&&s(l=u.prototype)&&l!==c.prototype&&o(i,l),i}},7418:function(t,n){n.f=Object.getOwnPropertySymbols},7839:function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,n,r){var s=r("1d80");t.exports=function(o){return Object(s(o))}},"7c73":function(t,n,r){var s=r("825a"),o=r("37e8"),i=r("7839"),a=r("d012"),c=r("1be4"),u=r("cc12"),l=r("f772"),f=">",h="<",d="prototype",p="script",m=l("IE_PROTO"),g=function(){},v=function(T){return h+p+f+T+h+"/"+p+f},y=function(T){T.write(v("")),T.close();var P=T.parentWindow.Object;return T=null,P},S=function(){var T=u("iframe"),P="java"+p+":",E;return T.style.display="none",c.appendChild(T),T.src=String(P),E=T.contentWindow.document,E.open(),E.write(v("document.F=Object")),E.close(),E.F},A,R=function(){try{A=document.domain&&new ActiveXObject("htmlfile")}catch{}R=A?y(A):S();for(var T=i.length;T--;)delete R[d][i[T]];return R()};a[m]=!0,t.exports=Object.create||function(P,E){var L;return P!==null?(g[d]=s(P),L=new g,g[d]=null,L[m]=P):L=R(),E===void 0?L:o(L,E)}},"7dd0":function(t,n,r){var s=r("23e7"),o=r("9ed3"),i=r("e163"),a=r("d2bb"),c=r("d44e"),u=r("9112"),l=r("6eeb"),f=r("b622"),h=r("c430"),d=r("3f8c"),p=r("ae93"),m=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,v=f("iterator"),y="keys",S="values",A="entries",R=function(){return this};t.exports=function(T,P,E,L,x,I,O){o(E,P,L);var k=function(we){if(we===x&&Z)return Z;if(!g&&we in ee)return ee[we];switch(we){case y:return function(){return new E(this,we)};case S:return function(){return new E(this,we)};case A:return function(){return new E(this,we)}}return function(){return new E(this)}},X=P+" Iterator",ne=!1,ee=T.prototype,z=ee[v]||ee["@@iterator"]||x&&ee[x],Z=!g&&z||k(x),ue=P=="Array"&&ee.entries||z,ie,Ee,ve;if(ue&&(ie=i(ue.call(new T)),m!==Object.prototype&&ie.next&&(!h&&i(ie)!==m&&(a?a(ie,m):typeof ie[v]!="function"&&u(ie,v,R)),c(ie,X,!0,!0),h&&(d[X]=R))),x==S&&z&&z.name!==S&&(ne=!0,Z=function(){return z.call(this)}),(!h||O)&&ee[v]!==Z&&u(ee,v,Z),d[P]=Z,x)if(Ee={values:k(S),keys:I?Z:k(y),entries:k(A)},O)for(ve in Ee)(g||ne||!(ve in ee))&&l(ee,ve,Ee[ve]);else s({target:P,proto:!0,forced:g||ne},Ee);return Ee}},"7f9a":function(t,n,r){var s=r("da84"),o=r("8925"),i=s.WeakMap;t.exports=typeof i=="function"&&/native code/.test(o(i))},"825a":function(t,n,r){var s=r("861d");t.exports=function(o){if(!s(o))throw TypeError(String(o)+" is not an object");return o}},"83ab":function(t,n,r){var s=r("d039");t.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(t,n,r){var s=r("c04e"),o=r("9bf2"),i=r("5c6c");t.exports=function(a,c,u){var l=s(c);l in a?o.f(a,l,i(0,u)):a[l]=u}},"861d":function(t,n){t.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},8875:function(t,n,r){var s,o,i;(function(a,c){o=[],s=c,i=typeof s=="function"?s.apply(n,o):s,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var c=Object.getOwnPropertyDescriptor(document,"currentScript");if(!c&&"currentScript"in document&&document.currentScript||c&&c.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(A){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,l=/@([^@]*):(\d+):(\d+)\s*$/ig,f=u.exec(A.stack)||l.exec(A.stack),h=f&&f[1]||!1,d=f&&f[2]||!1,p=document.location.href.replace(document.location.hash,""),m,g,v,y=document.getElementsByTagName("script");h===p&&(m=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=m.replace(g,"$1").trim());for(var S=0;S<y.length;S++)if(y[S].readyState==="interactive"||y[S].src===h||h===p&&y[S].innerHTML&&y[S].innerHTML.trim()===v)return y[S];return null}}return a})},8925:function(t,n,r){var s=r("c6cd"),o=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(i){return o.call(i)}),t.exports=s.inspectSource},"90e3":function(t,n){var r=0,s=Math.random();t.exports=function(o){return"Symbol("+String(o===void 0?"":o)+")_"+(++r+s).toString(36)}},9112:function(t,n,r){var s=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=s?function(a,c,u){return o.f(a,c,i(1,u))}:function(a,c,u){return a[c]=u,a}},"94ca":function(t,n,r){var s=r("d039"),o=/#|\.prototype\./,i=function(f,h){var d=c[a(f)];return d==l?!0:d==u?!1:typeof h=="function"?s(h):!!h},a=i.normalize=function(f){return String(f).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},"99af":function(t,n,r){var s=r("23e7"),o=r("d039"),i=r("e8b5"),a=r("861d"),c=r("7b0b"),u=r("50c4"),l=r("8418"),f=r("65f0"),h=r("1dde"),d=r("b622"),p=r("2d00"),m=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=p>=51||!o(function(){var T=[];return T[m]=!1,T.concat()[0]!==T}),S=h("concat"),A=function(T){if(!a(T))return!1;var P=T[m];return P!==void 0?!!P:i(T)},R=!y||!S;s({target:"Array",proto:!0,forced:R},{concat:function(P){var E=c(this),L=f(E,0),x=0,I,O,k,X,ne;for(I=-1,k=arguments.length;I<k;I++)if(ne=I===-1?E:arguments[I],A(ne)){if(X=u(ne.length),x+X>g)throw TypeError(v);for(O=0;O<X;O++,x++)O in ne&&l(L,x,ne[O])}else{if(x>=g)throw TypeError(v);l(L,x++,ne)}return L.length=x,L}})},"9bf2":function(t,n,r){var s=r("83ab"),o=r("0cfb"),i=r("825a"),a=r("c04e"),c=Object.defineProperty;n.f=s?c:function(l,f,h){if(i(l),f=a(f,!0),i(h),o)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(t,n,r){var s=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),c=r("3f8c"),u=function(){return this};t.exports=function(l,f,h){var d=f+" Iterator";return l.prototype=o(s,{next:i(1,h)}),a(l,d,!1,!0),c[d]=u,l}},a15b:function(t,n,r){var s=r("23e7"),o=r("44ad"),i=r("fc6a"),a=r("a640"),c=[].join,u=o!=Object,l=a("join",",");s({target:"Array",proto:!0,forced:u||!l},{join:function(h){return c.call(i(this),h===void 0?",":h)}})},a434:function(t,n,r){var s=r("23e7"),o=r("23cb"),i=r("a691"),a=r("50c4"),c=r("7b0b"),u=r("65f0"),l=r("8418"),f=r("1dde"),h=f("splice"),d=Math.max,p=Math.min,m=9007199254740991,g="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!h},{splice:function(y,S){var A=c(this),R=a(A.length),T=o(y,R),P=arguments.length,E,L,x,I,O,k;if(P===0?E=L=0:P===1?(E=0,L=R-T):(E=P-2,L=p(d(i(S),0),R-T)),R+E-L>m)throw TypeError(g);for(x=u(A,L),I=0;I<L;I++)O=T+I,O in A&&l(x,I,A[O]);if(x.length=L,E<L){for(I=T;I<R-L;I++)O=I+L,k=I+E,O in A?A[k]=A[O]:delete A[k];for(I=R;I>R-L+E;I--)delete A[I-1]}else if(E>L)for(I=R-L;I>T;I--)O=I+L-1,k=I+E-1,O in A?A[k]=A[O]:delete A[k];for(I=0;I<E;I++)A[I+T]=arguments[I+2];return A.length=R-L+E,x}})},a640:function(t,n,r){var s=r("d039");t.exports=function(o,i){var a=[][o];return!!a&&s(function(){a.call(null,i||function(){throw 1},1)})}},a691:function(t,n){var r=Math.ceil,s=Math.floor;t.exports=function(o){return isNaN(o=+o)?0:(o>0?s:r)(o)}},ab13:function(t,n,r){var s=r("b622"),o=s("match");t.exports=function(i){var a=/./;try{"/./"[i](a)}catch{try{return a[o]=!1,"/./"[i](a)}catch{}}return!1}},ad6d:function(t,n,r){var s=r("825a");t.exports=function(){var o=s(this),i="";return o.global&&(i+="g"),o.ignoreCase&&(i+="i"),o.multiline&&(i+="m"),o.dotAll&&(i+="s"),o.unicode&&(i+="u"),o.sticky&&(i+="y"),i}},ae93:function(t,n,r){var s=r("d039"),o=r("e163"),i=r("9112"),a=r("5135"),c=r("b622"),u=r("c430"),l=c("iterator"),f=!1,h=function(){return this},d,p,m;[].keys&&(m=[].keys(),"next"in m?(p=o(o(m)),p!==Object.prototype&&(d=p)):f=!0);var g=d==null||s(function(){var v={};return d[l].call(v)!==v});g&&(d={}),(!u||g)&&!a(d,l)&&i(d,l,h),t.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f}},af93:function(t,n,r){var s=r("23e7"),o=r("861d"),i=r("f183").onFreeze,a=r("bb2f"),c=r("d039"),u=Object.seal,l=c(function(){u(1)});s({target:"Object",stat:!0,forced:l,sham:!a},{seal:function(h){return u&&o(h)?u(i(h)):h}})},b041:function(t,n,r){var s=r("00ee"),o=r("f5df");t.exports=s?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,n,r){var s=r("da84"),o=r("5692"),i=r("5135"),a=r("90e3"),c=r("4930"),u=r("fdbf"),l=o("wks"),f=s.Symbol,h=u?f:f&&f.withoutSetter||a;t.exports=function(d){return(!i(l,d)||!(c||typeof l[d]=="string"))&&(c&&i(f,d)?l[d]=f[d]:l[d]=h("Symbol."+d)),l[d]}},b64b:function(t,n,r){var s=r("23e7"),o=r("7b0b"),i=r("df75"),a=r("d039"),c=a(function(){i(1)});s({target:"Object",stat:!0,forced:c},{keys:function(l){return i(o(l))}})},b727:function(t,n,r){var s=r("0366"),o=r("44ad"),i=r("7b0b"),a=r("50c4"),c=r("65f0"),u=[].push,l=function(f){var h=f==1,d=f==2,p=f==3,m=f==4,g=f==6,v=f==7,y=f==5||g;return function(S,A,R,T){for(var P=i(S),E=o(P),L=s(A,R,3),x=a(E.length),I=0,O=T||c,k=h?O(S,x):d||v?O(S,0):void 0,X,ne;x>I;I++)if((y||I in E)&&(X=E[I],ne=L(X,I,P),f))if(h)k[I]=ne;else if(ne)switch(f){case 3:return!0;case 5:return X;case 6:return I;case 2:u.call(k,X)}else switch(f){case 4:return!1;case 7:u.call(k,X)}return g?-1:p||m?m:k}};t.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(t,n,r){var s=r("d039");t.exports=!s(function(){return Object.isExtensible(Object.preventExtensions({}))})},c04e:function(t,n,r){var s=r("861d");t.exports=function(o,i){if(!s(o))return o;var a,c;if(i&&typeof(a=o.toString)=="function"&&!s(c=a.call(o))||typeof(a=o.valueOf)=="function"&&!s(c=a.call(o))||!i&&typeof(a=o.toString)=="function"&&!s(c=a.call(o)))return c;throw TypeError("Can't convert object to primitive value")}},c430:function(t,n){t.exports=!1},c6b6:function(t,n){var r={}.toString;t.exports=function(s){return r.call(s).slice(8,-1)}},c6cd:function(t,n,r){var s=r("da84"),o=r("ce4e"),i="__core-js_shared__",a=s[i]||o(i,{});t.exports=a},c8ba:function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}t.exports=r},ca84:function(t,n,r){var s=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,a=r("d012");t.exports=function(c,u){var l=o(c),f=0,h=[],d;for(d in l)!s(a,d)&&s(l,d)&&h.push(d);for(;u.length>f;)s(l,d=u[f++])&&(~i(h,d)||h.push(d));return h}},cc12:function(t,n,r){var s=r("da84"),o=r("861d"),i=s.document,a=o(i)&&o(i.createElement);t.exports=function(c){return a?i.createElement(c):{}}},ce4e:function(t,n,r){var s=r("da84"),o=r("9112");t.exports=function(i,a){try{o(s,i,a)}catch{s[i]=a}return a}},d012:function(t,n){t.exports={}},d039:function(t,n){t.exports=function(r){try{return!!r()}catch{return!0}}},d066:function(t,n,r){var s=r("428f"),o=r("da84"),i=function(a){return typeof a=="function"?a:void 0};t.exports=function(a,c){return arguments.length<2?i(s[a])||i(o[a]):s[a]&&s[a][c]||o[a]&&o[a][c]}},d1e7:function(t,n,r){var s={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!s.call({1:2},1);n.f=i?function(c){var u=o(this,c);return!!u&&u.enumerable}:s},d2bb:function(t,n,r){var s=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),i=a instanceof Array}catch{}return function(l,f){return s(l),o(f),i?c.call(l,f):l.__proto__=f,l}}():void 0)},d3b7:function(t,n,r){var s=r("00ee"),o=r("6eeb"),i=r("b041");s||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,n,r){var s=r("9bf2").f,o=r("5135"),i=r("b622"),a=i("toStringTag");t.exports=function(c,u,l){c&&!o(c=l?c:c.prototype,a)&&s(c,a,{configurable:!0,value:u})}},da84:function(t,n,r){(function(s){var o=function(i){return i&&i.Math==Math&&i};t.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof s=="object"&&s)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},ddb0:function(t,n,r){var s=r("da84"),o=r("fdbc"),i=r("e260"),a=r("9112"),c=r("b622"),u=c("iterator"),l=c("toStringTag"),f=i.values;for(var h in o){var d=s[h],p=d&&d.prototype;if(p){if(p[u]!==f)try{a(p,u,f)}catch{p[u]=f}if(p[l]||a(p,l,h),o[h]){for(var m in i)if(p[m]!==i[m])try{a(p,m,i[m])}catch{p[m]=i[m]}}}}},df75:function(t,n,r){var s=r("ca84"),o=r("7839");t.exports=Object.keys||function(a){return s(a,o)}},e163:function(t,n,r){var s=r("5135"),o=r("7b0b"),i=r("f772"),a=r("e177"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(l){return l=o(l),s(l,c)?l[c]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?u:null}},e177:function(t,n,r){var s=r("d039");t.exports=!s(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},e260:function(t,n,r){var s=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),c=r("7dd0"),u="Array Iterator",l=a.set,f=a.getterFor(u);t.exports=c(Array,"Array",function(h,d){l(this,{type:u,target:s(h),index:0,kind:d})},function(){var h=f(this),d=h.target,p=h.kind,m=h.index++;return!d||m>=d.length?(h.target=void 0,{value:void 0,done:!0}):p=="keys"?{value:m,done:!1}:p=="values"?{value:d[m],done:!1}:{value:[m,d[m]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,n,r){var s=r("6eeb");t.exports=function(o,i,a){for(var c in i)s(o,c,i[c],a);return o}},e893:function(t,n,r){var s=r("5135"),o=r("56ef"),i=r("06cf"),a=r("9bf2");t.exports=function(c,u){for(var l=o(u),f=a.f,h=i.f,d=0;d<l.length;d++){var p=l[d];s(c,p)||f(c,p,h(u,p))}}},e8b5:function(t,n,r){var s=r("c6b6");t.exports=Array.isArray||function(i){return s(i)=="Array"}},e95a:function(t,n,r){var s=r("b622"),o=r("3f8c"),i=s("iterator"),a=Array.prototype;t.exports=function(c){return c!==void 0&&(o.Array===c||a[i]===c)}},f183:function(t,n,r){var s=r("d012"),o=r("861d"),i=r("5135"),a=r("9bf2").f,c=r("90e3"),u=r("bb2f"),l=c("meta"),f=0,h=Object.isExtensible||function(){return!0},d=function(y){a(y,l,{value:{objectID:"O"+f++,weakData:{}}})},p=function(y,S){if(!o(y))return typeof y=="symbol"?y:(typeof y=="string"?"S":"P")+y;if(!i(y,l)){if(!h(y))return"F";if(!S)return"E";d(y)}return y[l].objectID},m=function(y,S){if(!i(y,l)){if(!h(y))return!0;if(!S)return!1;d(y)}return y[l].weakData},g=function(y){return u&&v.REQUIRED&&h(y)&&!i(y,l)&&d(y),y},v=t.exports={REQUIRED:!1,fastKey:p,getWeakData:m,onFreeze:g};s[l]=!0},f5df:function(t,n,r){var s=r("00ee"),o=r("c6b6"),i=r("b622"),a=i("toStringTag"),c=o(function(){return arguments}())=="Arguments",u=function(l,f){try{return l[f]}catch{}};t.exports=s?o:function(l){var f,h,d;return l===void 0?"Undefined":l===null?"Null":typeof(h=u(f=Object(l),a))=="string"?h:c?o(f):(d=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":d}},f772:function(t,n,r){var s=r("5692"),o=r("90e3"),i=s("keys");t.exports=function(a){return i[a]||(i[a]=o(a))}},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}r("d3b7"),r("25f0"),r("159b"),r("b64b"),r("af93");function a(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function c(p,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(p,v.key,v)}}function u(p,m,g){return m&&c(p.prototype,m),p}r("2ca0"),r("99af"),r("a15b"),r("4de4"),r("e260"),r("4ec9"),r("3ca3"),r("ddb0"),r("a434");var l=function(){function p(){a(this,p),this.listeners=new Map}return u(p,[{key:"addListener",value:function(g,v,y){return typeof v=="function"?(this.listeners.has(g)||this.listeners.set(g,[]),this.listeners.get(g).push({callback:v,vm:y}),!0):!1}},{key:"removeListener",value:function(g,v,y){var S=this.listeners.get(g),A;return S&&S.length&&(A=S.reduce(function(R,T,P){return typeof T.callback=="function"&&T.callback===v&&T.vm===y&&(R=P),R},-1),A>-1)?(S.splice(A,1),this.listeners.set(g,S),!0):!1}},{key:"emit",value:function(g){for(var v=arguments.length,y=new Array(v>1?v-1:0),S=1;S<v;S++)y[S-1]=arguments[S];var A=this.listeners.get(g);return A&&A.length?(A.forEach(function(R){var T;(T=R.callback).call.apply(T,[R.vm].concat(y))}),!0):!1}}]),p}(),f=new l,h=function(){function p(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{format:""};if(a(this,p),this.reconnectTimeoutId=0,this.reconnectionCount=0,this.format=g.format&&g.format.toLowerCase(),m.startsWith("//")){var v=window.location.protocol==="https:"?"wss":"ws";m="".concat(v,":").concat(m)}this.connectionUrl=m,this.opts=g,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(m,g),g.store&&(this.store=g.store),g.mutations&&(this.mutations=g.mutations),this.onEvent()}return u(p,[{key:"connect",value:function(g){var v=this,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=y.protocol||"";return this.WebSocket=y.WebSocket||(S===""?new WebSocket(g):new WebSocket(g,S)),this.format==="json"&&("sendObj"in this.WebSocket||(this.WebSocket.sendObj=function(A){return v.WebSocket.send(JSON.stringify(A))})),this.WebSocket}},{key:"reconnect",value:function(){var g=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount++,window.clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=window.setTimeout(function(){g.store&&g.passToStore("SOCKET_RECONNECT",g.reconnectionCount),g.connect(g.connectionUrl,g.opts),g.onEvent()},this.reconnectionDelay)):this.store&&this.passToStore("SOCKET_RECONNECT_ERROR",!0)}},{key:"onEvent",value:function(){var g=this;["onmessage","onclose","onerror","onopen"].forEach(function(v){g.WebSocket[v]=function(y){f.emit(v,y),g.store&&g.passToStore("SOCKET_"+v,y),g.reconnection&&v==="onopen"&&(g.opts.$setInstance&&g.opts.$setInstance(y.currentTarget),g.reconnectionCount=0),g.reconnection&&v==="onclose"&&g.reconnect()}})}},{key:"passToStore",value:function(g,v){this.passToStoreHandler?this.passToStoreHandler(g,v,this.defaultPassToStore.bind(this)):this.defaultPassToStore(g,v)}},{key:"defaultPassToStore",value:function(g,v){if(g.startsWith("SOCKET_")){var y="commit",S=g.toUpperCase(),A=v;this.format==="json"&&v.data&&(A=JSON.parse(v.data),A.mutation?S=[A.namespace||"",A.mutation].filter(function(R){return!!R}).join("/"):A.action&&(y="dispatch",S=[A.namespace||"",A.action].filter(function(R){return!!R}).join("/"))),this.mutations&&(S=this.mutations[S]||S),this.store._p?(S=g.toUpperCase(),this.store[S](A)):this.store[y](S,A)}}}]),p}(),d={install:function(m,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{format:""};if(!g)throw new Error("[vue-native-socket] cannot locate connection");var y;v.$setInstance=function(A){m.config.globalProperties.$socket=A},v.connectManually?(m.config.globalProperties.$connect=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v;R.$setInstance=v.$setInstance,y=new h(A,R),m.config.globalProperties.$socket=y.WebSocket},m.config.globalProperties.$disconnect=function(){y&&y.reconnection&&(y.reconnection=!1,clearTimeout(y.reconnectTimeoutId)),m.config.globalProperties.$socket&&(m.config.globalProperties.$socket.close(),delete m.config.globalProperties.$socket)}):(y=new h(g,v),m.config.globalProperties.$socket=y.WebSocket);var S=typeof Proxy<"u"&&typeof Proxy=="function"&&/native code/.test(Proxy.toString());m.mixin({created:function(){var R=this,T=this,P=this.$options.sockets;S?(this.$options.sockets=new Proxy({},{set:function(L,x,I){return f.addListener(x,I,T),L[x]=I,!0},deleteProperty:function(L,x){return f.removeListener(x,T.$options.sockets[x],T),delete L.key,!0}}),m.config.globalProperties.sockets=new Proxy({},{set:function(L,x,I){return f.addListener(x,I,T),L[x]=I,!0},deleteProperty:function(L,x){return f.removeListener(x,T.$options.sockets[x],T),delete L.key,!0}}),P&&Object.keys(P).forEach(function(E){R.$options.sockets[E]=P[E],m.config.globalProperties.sockets[E]=P[E]})):(Object.seal(this.$options.sockets),Object.seal(m.config.globalProperties.sockets),P&&Object.keys(P).forEach(function(E){f.addListener(E,P[E],T)}))},beforeUnmount:function(){var R=this;if(S){var T=this.$options.sockets;T&&Object.keys(T).forEach(function(P){delete R.$options.sockets[P],delete m.config.globalProperties.sockets})}}})}};n.default=d},fc6a:function(t,n,r){var s=r("44ad"),o=r("1d80");t.exports=function(i){return s(o(i))}},fdbc:function(t,n){t.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(t,n,r){var s=r("4930");t.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})}(lo)),lo.exports}var uv=lv();const fv=cv(uv),dv=()=>{let e="ws";return globalThis.location.protocol==="https:"&&(e+="s"),`${e}://${location.host}${globalThis.CODEX.API_V3_PATH}ws`},hv=dv(),Nt={ADMIN_FLAGS:"ADMIN_FLAGS_CHANGED",BOOKMARK:"BOOKMARK_CHANGED",COVERS:"COVERS_CHANGED",FAILED_IMPORTS:"FAILED_IMPORTS",GROUPS:"GROUPS_CHANGED",LIBRARY:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",USERS:"USERS_CHANGED"};function it(e,t,n=new Map){const r=n.get(e);if(typeof r<"u")return r;if(Array.isArray(e)){const i=[];n.set(e,i);for(let a=0;a<e.length;a++)i[a]=it(e[a],t,n);return i}if(e instanceof Date)return new Date(e.valueOf());if(!(e instanceof Object))return e;const s={};n.set(e,s);const o=Object.keys(e);for(let i=0;i<o.length;i++){const a=typeof t=="function"?t(o[i]):o[i];s[a]=it(e[o[i]],t,n)}return s}function pv(e){return t=>it(t,e)}it.formatKeys=pv;var Ic=Object.prototype.hasOwnProperty;function Hc(e,t,n){for(n of e.keys())if(mn(n,t))return n}function mn(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&mn(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(s=r,s&&typeof s=="object"&&(s=Hc(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(s=r[0],s&&typeof s=="object"&&(s=Hc(t,s),!s)||!mn(r[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Ic.call(e,n)&&++r&&!Ic.call(t,n)||!(n in t)||!mn(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}const Di=({group:e,pks:t,query:n,ts:r})=>{const s=rt(n,r),o=new URLSearchParams(s).toString(),i=t.join(",");return{hrefPath:`${e}/${i}`,queryString:o}},mv=({group:e,pks:t,query:n})=>{const r=globalThis.CODEX.APP_PATH,{hrefPath:s,queryString:o}=Di({group:e,pks:t,query:n});return`${r}${s}/1?${o}`},gv=({group:e,pks:t},n,r)=>{const s=globalThis.CODEX.API_V3_PATH;delete n.show;const{hrefPath:o,queryString:i}=Di({group:e,pks:t,query:n,ts:r});return`${s}${o}/cover.webp?${i}`},vv=({group:e,pks:t},n,r)=>{const s=rt(n,r);return Ce.get(`/${e}/${t}/choices_available`,{params:s})},yv=({group:e,pks:t},n,r,s)=>{const o=rt(r,s);return Ce.get(`/${e}/${t}/choices/${n}`,{params:o})},bv=({group:e,pks:t,page:n},r,s)=>{const o=rt(r,s);return Ce.get(`/${e}/${t}/${n}`,{params:o})},Sv=({group:e,pks:t},n)=>{const r=t.join(","),s=n.mtime,o=it(n);delete o.mtime;const i=rt(o,s);return Ce.get(`/${e}/${r}/metadata`,{params:i})},Cv=e=>{const t=rt(e);return Ce.get("/r/settings",{params:t})},Av=e=>{const t=rt(e);return Ce.patch("/r/settings",{params:t})},Lv=({group:e,pks:t},n,r,s)=>{const o=globalThis.CODEX.API_V3_PATH;delete r.show;const{hrefPath:i,queryString:a}=Di({group:e,pks:t,query:r,ts:s});return n=encodeURIComponent(n),`${o}${i}/download/${n}?${a}`},Ev=({group:e,ids:t},n,r)=>{const s=rt(n),o=new URLSearchParams(s).toString();r.fitTo===null&&(r.fitTo="");const i=t.join(",");return Ce.patch(`${e}/${i}/bookmark?${o}`,r)},wv=({group:e,pks:t})=>Ce.get(`/${e}/${t}/import`),wt={getAvailableFilterChoices:vv,getBrowserHref:mv,getCoverSrc:gv,getFilterChoices:yv,getGroupDownloadURL:Lv,getMetadata:Sv,getSettings:Cv,getBrowserPage:bv,getLazyImport:wv,updateGroupBookmarks:Ev,updateSettings:Av},Tv=[{value:"",title:"All",default:!0},{value:"IN_PROGRESS",title:"In Progress"},{value:"READ",title:"Read"},{value:"UNREAD",title:"Unread"}],xv=[{value:"created_at",title:"Added Time"},{value:"age_rating",title:"Age Rating"},{value:"child_count",title:"Child Count"},{value:"critical_rating",title:"Critical Rating"},{value:"filename",title:"Filename"},{value:"size",title:"File Size"},{value:"bookmark_updated_at",title:"Last Read"},{value:"sort_name",title:"Name",default:!0},{value:"page_count",title:"Page Count"},{value:"date",title:"Publish Date"},{value:"search_score",title:"Search Score"},{value:"story_arc_number",title:"Story Arc Number"},{value:"updated_at",title:"Updated Time"}],Rv=[{value:"p",title:"Publishers",default:!0},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"},{value:"c",title:"Issues"},{value:"f",title:"Folders"},{value:"a",title:"Story Arcs"}],Pb=-1,Ov=[{value:"p",title:"Publishers"},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"}],on={bookmarkFilter:Tv,orderBy:xv,topGroup:Rv,settingsGroup:Ov},Mb={createdAt:"Added Time",ageRating:"Age Rating",childCount:"Child Count",criticalRating:"Critical Rating",filename:"Filename",size:"File Size",bookmarkUpdatedAt:"Last Read",sortName:"Name",pageCount:"Page Count",date:"Publish Date",searchScore:"Search Score",storyArcNumber:"Story Arc Number",updatedAt:"Updated Time"},Dc={p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},Pv={anilist:"AniList",comicvine:"Comic Vine",comixology:"ComiXology",grandcomicsdatabase:"Grand Comics Database",kitsu:"Kitsu",leagueofcomicgeeks:"League of Comic Geeks",panelsyndicate:"Panel Syndicate",mangadex:"MangaDex",mangaupdates:"MangaUpdates",marvel:"Marvel",metron:"Metron",myanimelist:"MyAnimeList",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},Ib={S:"Fit to Screen",W:"Fit to Width",H:"Fit to Height",O:"Original Size"},Mv={ltr:"Left to Right",rtl:"Right to Left",ttb:"Top to Bottom",btt:"Bottom to Top"},Df="sv-SE",Iv=new Intl.DateTimeFormat(Df),Hb=new Intl.NumberFormat,Hv=new Intl.DurationFormat("en",{style:"digital",daysDisplay:"auto",hoursDisplay:"auto",minutesDisplay:"auto"}),jo=60,Bo=jo*60,Vc=Bo*24,Dv=function(e){const t=e?Df:void 0;return new Intl.DateTimeFormat(t,{timeStyle:"medium"})},Db=function(e,t,n=!1){const r=new Date(e),s=Iv.format(r),i=Dv(t).format(r);return s+(n?"<br />":", ")+i},Vv=function(){return Math.floor(Date.now()/1e3)},Vb=(e,t)=>{const n=Math.floor((t-e)/1e3),r={days:Math.floor(n/Vc),hours:Math.floor(n%Vc/Bo),minutes:Math.floor(n%Bo/jo),seconds:n%jo};return Hv.format(r)},Fv=(e,t=0)=>{e=Number.isInteger(e)&&e>=0?e:0,t=Number.isInteger(t)&&t>=0?t:0;const n=t>e?Math.max(t-e,0):e;let r=[...Array.from({length:n}).keys()];return t>0&&(r=r.map(s=>s+e)),r},Vf="rpisvc";Object.freeze(Vf);const cn=[...Vf].reverse().join("");Object.freeze(cn);const Ff=new Set([301,302,303,307,308]);Object.freeze(Ff);const kf=new Set([void 0,null,_e.bookmarkFilter]);Object.freeze(kf);const Nf=new Set(["a","c"]);Object.freeze(Nf);const $f=new Set(["a","c","f"]);Object.freeze($f);const Uo=new Set(["a","f"]);Object.freeze(Uo);const kv=5e3,jf=["customCovers","dynamicCovers","show"];Object.freeze(jf);const Bf=["filters","orderBy","orderReverse","q"];Object.freeze(Bf);const Uf=["filters","q"];Object.freeze(Uf);const Wf=["breadcrumbs"];Object.freeze(Wf);const Gf=["filters","q","mtime"];Object.freeze(Gf);const uo=e=>{e&&e.params&&ye.push(e).catch(console.warn)},Fc=e=>e&&Object.keys(e).length>0||typeof e=="boolean",kc=wr("browser",{state:()=>({choices:{static:Object.freeze({bookmark:on.bookmarkFilter,groupNames:Dc,settingsGroup:on.settingsGroup,readingDirection:Mv,identifierSources:Pv}),dynamic:void 0},settings:{breadcrumbs:_e.breadcrumbs,customCovers:_e.customCovers,dynamicCovers:_e.dynamicCovers,filters:{},orderBy:_e.orderBy,orderReverse:_e.orderReverse,q:_e.q,show:_e.show,topGroup:_e.topGroup,twentyFourHourTime:_e.twentyFourHourTime},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:[],fts:void 0,searchError:void 0,mtime:0},filterMode:"base",zeroPad:0,browserPageLoaded:!1,isSearchOpen:!1,isSearchHelpOpen:!1,searchHideTimeout:void 0}),getters:{groupNames(){const e={};for(const[t,n]of Object.entries(Dc))e[t]=n==="Series"?n:n.slice(0,-1);return e},topGroupChoices(){const e=[];for(const t of on.topGroup)this._isRootGroupEnabled(t.value)&&e.push(t);return e},topGroupChoicesMaxLen(){return this._maxLenChoices(on.topGroup)},orderByChoices(e){const t=[];for(const n of on.orderBy)n.value==="path"&&!e.page.adminFlags.folderView||n.value==="child_count"&&e.page.modelGroup==="c"||n.value==="search_score"&&(!e.settings.q||!e.page.fts)||t.push(n);return t},orderByChoicesMaxLen(){return this._maxLenChoices(on.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(on.bookmarkFilter)},isAuthorized(){return dr().isAuthorized},isDynamicFiltersSelected(e){for(const[t,n]of Object.entries(e.settings.filters))if(t!=="bookmark"&&n&&n.length>0)return!0;return!1},isFiltersClearable(e){return!kf.has(e.settings.filters.bookmark)||this.isDynamicFiltersSelected},lowestShownGroup(e){let t="r";const n=cn.indexOf(e.settings.topGroup);for(const[r,s]of[...cn].entries())if(e.settings.show[s]){r<=n&&(t=s);break}return t},isSearchMode(e){return!!e.settings.q},lastRoute(e){const n=e.settings.breadcrumbs.at(-1),r={};return n?(r.name="browser",delete n.name,r.params=n):r.name="home",r},coverSettings(e){const t=ye.currentRoute.value.params,n=t.group;if(n=="c")return{};let r=jf;const s=e.settings.dynamicCovers;s&&(r=[...r,...Bf]);const o=this._filterSettings(e,r),i=t.pks;return!s&&n!=="r"&&i&&(o.parentRoute={group:n,pks:i}),o},filterOnlySettings(e){return this._filterSettings(e,Uf)},pageLoadSettings(e){return this._filterSettings(e,Wf)},metadataSettings(e){return this._filterSettings(e,Gf)}},actions:{_filterSettings(e,t){return Object.fromEntries(Object.entries(e.settings).filter(([n,r])=>{if(!t.includes(n))return null;if(n==="filters"){const s={};for(const[o,i]of Object.entries(r))Fc(i)&&(s[o]=i);r=s}if(Fc(r))return[n,r]}))},_maxLenChoices(e){let t=0;for(const n of e)n&&n.title&&n.title.length>t&&(t=n.title.length);return t},identifierSourceTitle(e){if(!e)return e;const t=e.toLowerCase();return this.choices.static.identifierSources[t]||e},fixUniverseTitles(e){const t=[];for(const n of e){const r={...n};r.designation&&(r.name+=` (${r.designation})`),t.push(r)}return t},setIsSearchOpen(e){this.isSearchOpen=e},_isRootGroupEnabled(e){return Nf.has(e)?!0:e=="f"?this.page.adminFlags?.folderView:this.settings.show[e]},_validateSearch(e){if(!this.settings.q&&!e.q){this.settings.orderBy==="search_score"&&(e.orderBy=this.settings.topGroup==="f"?"filename":"sort_name");return}else if(this.settings.q)return;e.orderBy="search_score",e.orderReverse=!0;const t=ye.currentRoute.value.params?.group;if(!($f.has(t)||t===this.lowestShownGroup))return{params:{group:this.lowestShownGroup,pks:"0",page:"1"}}},_validateTopGroup(e,t){const n=ye?.currentRoute?.value?.params,r=n?.group,s=e.topGroup;if(r==="r"&&!Uo.has(e.topGroup))return t;const o=this.settings.topGroup;if(o===s||!s||!o&&s||s===r)return t;const i=cn.indexOf(o),a=cn.indexOf(s),c=a!==-1,u=c&&i!==-1;let l;return u?i<a?(l=n,l.page=+l.page):l={group:"r",pks:"0",page:"1"}:l={group:c?"r":s,pks:"0",page:"1"},{params:l}},getTopGroup(e){let t;if(this.settings.topGroup===e||Uo.has(e))t=e;else{const n=cn.indexOf(e);for(const r of cn.slice(n))if(r!=="r"&&this.settings.show[r]){t=r;break}}return t},_addSettings(e){this.$patch(t=>{for(let[n,r]of Object.entries(e)){const s=typeof t.settings[n]=="object"&&!Array.isArray(t.settings[n])?{...t.settings[n],...r}:r;mn(t.settings[n],s)||(t.settings[n]=s)}t.settings.q&&!t.isSearchOpen&&(t.isSearchOpen=!0)}),this.startSearchHideTimeout()},_validateAndSaveSettings(e){let t=this._validateSearch(e);return t=this._validateTopGroup(e,t),mn(t?.params,ye.currentRoute.value.params)&&(t=void 0),e&&this._addSettings(e),this.filterMode="base",t},async setSettings(e){const t=this._validateAndSaveSettings(e);this.browserPageLoaded=!0,t?uo(t):this.loadBrowserPage(void 0,!0)},async clearOneFilter(e){this.$patch(t=>{t.filterMode="base",t.settings.filters[e]=[],t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async clearFilters(e=!1){this.$patch(t=>{t.settings.filters={bookmark:""},t.filterMode="base",e&&(t.settings.q="",t.settings.orderBy="sort_name",t.settings.orderReverse=!1),t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async setBookmarkFinished(e,t){this.isAuthorized&&await wt.updateGroupBookmarks(e,this.filterOnlySettings,{finished:t}).then(()=>(this.loadBrowserPage(Vv()),!0))},clearSearchHideTimeout(){clearTimeout(this.searchHideTimeout)},startSearchHideTimeout(){if(!this.isSearchOpen)return;this.settings.q||this.isSearchHelpOpen?this.clearSearchHideTimeout():this.searchHideTimeout=setTimeout(()=>{this.settings.q||this.setIsSearchOpen(!1)},kv)},setSearchHelpOpen(e){this.isSearchHelpOpen=e,this.startSearchHideTimeout()},setPageMtime(e){globalThis.mtime=e},async updateBreadcrumbs(e){const t=this.settings.breadcrumbs||[],n=Fv(t.length).reverse();for(const r of n){const s=e[r],o=t[r];if(!mn(s,o)){o.name===null&&(o.name=""),wt.updateSettings({breadcrumbs:t});break}}},routeToPage(e){const t=it(ye.currentRoute.value);t.params.page=e,ye.push(t).catch(console.warn)},handlePageError(e){if(Ff.has(e?.response?.status)){console.debug(e);const t=e.response.data;t.settings&&(this.setSettings(t.settings),this.browserPageLoaded=!0),t.route&&uo(t.route)}else return console.error(e)},async loadSettings(){if(!this.isAuthorized)return;this.$patch(t=>{t.browserPageLoaded=!1,t.choices.dynamic=void 0});const e=ye?.currentRoute?.value.params?.group;await wt.getSettings({group:e}).then(t=>{const n=t.data,r=this._validateAndSaveSettings(n);return this.browserPageLoaded=!0,r?uo(r):this.loadBrowserPage(void 0)}).catch(t=>(this.browserPageLoaded=!0,this.handlePageError(t)))},async loadBrowserPage(e,t=!1){if(!this.isAuthorized)return;const n=ye.currentRoute.value;if(e||(e=n.query.ts,e||(e=this.page.mtime)),this.browserPageLoaded)this.browserPageLoaded=!1;else return this.loadSettings();const r=this.settings.breadcrumbs;await wt.getBrowserPage(n.params,this.settings,e).then(s=>{const{breadcrumbs:o,...i}=s.data;return this.$patch(a=>{a.settings.breadcrumbs=o,a.page=i,(a.settings.orderBy==="search_score"&&!i.fts||a.settings.orderBy==="child_count"&&i.modelGroup==="c")&&(a.settings.orderBy="sort_name"),a.choices.dynamic=void 0,a.browserPageLoaded=!0}),!0}).catch(this.handlePageError),t?wt.updateSettings(this.settings):this.updateBreadcrumbs(r)},async loadAvailableFilterChoices(){return await wt.getAvailableFilterChoices(ye.currentRoute.value.params,this.filterOnlySettings,this.page.mtime).then(e=>(this.choices.dynamic=e.data,!0)).catch(console.error)},async loadFilterChoices(e){return await wt.getFilterChoices(ye.currentRoute.value.params,e,this.filterOnlySettings,this.page.mtime).then(t=>(this.choices.dynamic[e]=Object.freeze(t.data.choices),!0)).catch(console.error)},async loadMtimes(){const e=ye?.currentRoute?.value?.params,t=e?.group,n=t&&t!="r"?t:this.page.modelGroup,r=e?.pks||"0";return await us.getMtime([{group:n,pks:r}],this.filterOnlySettings).then(s=>{const o=s?.data?.maxMtime;return o!==this.page.mtime&&(this.choices.dynamic=void 0,this.loadBrowserPage(o)),!0}).catch(console.error)},routeWithSettings(e,t){t&&(this._validateAndSaveSettings(e),ye.push(t).catch(console.error))}}});var Fb="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",kb="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z",Nb="M18 4V20C18 21.11 17.11 22 16 22H4C2.9 22 2 21.11 2 20V4C2 2.9 2.9 2 4 2H5V9L7.5 7.5L10 9V2H16C17.1 2 18 2.89 18 4M20 17H22V15H20V17M20 7V13H22V7H20Z",Nv="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M20 20V16H18V20H16L19 23L22 20H20Z",$v="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M19 15L16 18H18V22H20V18H22L19 15Z",$b="M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z",jb="M13.09 20C13.21 20.72 13.46 21.39 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H18C19.11 2 20 2.9 20 4V13.09C19.67 13.04 19.34 13 19 13C18.66 13 18.33 13.04 18 13.09V4H13V12L10.5 9.75L8 12V4H6V20H13.09M22.54 16.88L21.12 15.47L19 17.59L16.88 15.47L15.47 16.88L17.59 19L15.47 21.12L16.88 22.54L19 20.41L21.12 22.54L22.54 21.12L20.41 19L22.54 16.88Z",Bb="M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M13,4V12L10.5,9.75L8,12V4H6V20H10C10.54,20.81 11.23,21.5 12.03,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18A2,2 0 0,1 20,4V11.81C19.42,11.26 18.75,10.81 18,10.5V4H13Z",Ub="M9.47 9.65L8.06 11.07L11 14L16.19 8.82L14.78 7.4L11 11.18M17 3H7C5.9 3 5 3.9 5 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3M17 18L12 15.82L7 18V5H17Z",Wb="M9,11V9H15V11H9M19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17C18.11,3 19,3.9 19,5M17,5H7V18L12,15.82L17,18V5Z",Gb="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",zb="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Kb="M5,20H19V22H5V20M17,2V5H15V2H13V5H11V2H9V5H7V2H5V8H7V18H17V8H19V2H17Z",Zb="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Yb="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Jb="M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,18L16,12L10,6L8.6,7.4L13.2,12L8.6,16.6L10,18Z",Xb="M22.11 21.46L2.39 1.73L1.11 3L4.06 5.95C2.78 7.63 2 9.72 2 12C2 17.5 6.5 22 12 22C14.28 22 16.37 21.23 18.05 19.94L20.84 22.73L22.11 21.46M12 20C7.58 20 4 16.42 4 12C4 10.27 4.56 8.68 5.5 7.38L16.62 18.5C15.32 19.45 13.73 20 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2C17.5 2 22 6.5 22 12C22 13.94 21.44 15.75 20.5 17.28L19.03 15.83C19.65 14.69 20 13.39 20 12C20 7.58 16.42 4 12 4C10.61 4 9.31 4.35 8.17 4.97Z",Qb="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",_b="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z",qb="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",eS="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",tS="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",nS="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z",rS="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8M12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4M19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z",sS="M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25M23 16C23 19.87 19.87 23 16 23C13.61 23 11.5 21.8 10.25 20C6.19 19.79 3 18.08 3 16V6C3 3.79 6.58 2 11 2S19 3.79 19 6V9.68C21.36 10.81 23 13.21 23 16M17 9.08V8.64C16.77 8.77 16.5 8.9 16.24 9C16.5 9 16.75 9.04 17 9.08M5 6C5 6.5 7.13 8 11 8S17 6.5 17 6 14.87 4 11 4 5 5.5 5 6M5 11.45C6.07 12.23 7.8 12.76 9.72 12.93C10.33 11.67 11.32 10.62 12.54 9.92C12.04 9.97 11.53 10 11 10C8.61 10 6.47 9.47 5 8.64V11.45M9.26 17.87C9.1 17.27 9 16.65 9 16C9 15.61 9.04 15.23 9.1 14.86C7.56 14.69 6.15 14.33 5 13.77V16C5 16.42 6.5 17.5 9.26 17.87M21 16C21 13.24 18.76 11 16 11S11 13.24 11 16 13.24 21 16 21 21 18.76 21 16Z",oS="M12 16C12.41 16 12.81 15.97 13.21 15.94C13.4 15.18 13.72 14.46 14.16 13.83C13.47 13.94 12.74 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11S16.53 10.47 18 9.64V11.19C18.5 11.07 19 11 19.55 11C19.7 11 19.85 11 20 11.03V7C20 4.79 16.42 3 12 3S4 4.79 4 7V17C4 19.21 7.59 21 12 21C12.66 21 13.31 20.96 13.92 20.88C13.57 20.29 13.31 19.64 13.16 18.94C12.79 19 12.41 19 12 19C8.13 19 6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16M12 5C15.87 5 18 6.5 18 7S15.87 9 12 9 6 7.5 6 7 8.13 5 12 5M23 17.5C23 18.32 22.75 19.08 22.33 19.71L21.24 18.62C21.41 18.28 21.5 17.9 21.5 17.5C21.5 16.12 20.38 15 19 15V16.5L16.75 14.25L19 12V13.5C21.21 13.5 23 15.29 23 17.5M19 18.5L21.25 20.75L19 23V21.5C16.79 21.5 15 19.71 15 17.5C15 16.68 15.25 15.92 15.67 15.29L16.76 16.38C16.59 16.72 16.5 17.1 16.5 17.5C16.5 18.88 17.62 20 19 20V18.5Z",iS="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",aS="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",cS="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",lS="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",uS="M12 1A2.5 2.5 0 0 0 9.5 3.5A2.5 2.5 0 0 0 11 5.79V7H7A2 2 0 0 0 5 9V9.71A2.5 2.5 0 0 0 3.5 12A2.5 2.5 0 0 0 5 14.29V15H4A2 2 0 0 0 2 17V18.21A2.5 2.5 0 0 0 .5 20.5A2.5 2.5 0 0 0 3 23A2.5 2.5 0 0 0 5.5 20.5A2.5 2.5 0 0 0 4 18.21V17H8V18.21A2.5 2.5 0 0 0 6.5 20.5A2.5 2.5 0 0 0 9 23A2.5 2.5 0 0 0 11.5 20.5A2.5 2.5 0 0 0 10 18.21V17A2 2 0 0 0 8 15H7V14.29A2.5 2.5 0 0 0 8.5 12A2.5 2.5 0 0 0 7 9.71V9H17V9.71A2.5 2.5 0 0 0 15.5 12A2.5 2.5 0 0 0 17 14.29V15H16A2 2 0 0 0 14 17V18.21A2.5 2.5 0 0 0 12.5 20.5A2.5 2.5 0 0 0 15 23A2.5 2.5 0 0 0 17.5 20.5A2.5 2.5 0 0 0 16 18.21V17H20V18.21A2.5 2.5 0 0 0 18.5 20.5A2.5 2.5 0 0 0 21 23A2.5 2.5 0 0 0 23.5 20.5A2.5 2.5 0 0 0 22 18.21V17A2 2 0 0 0 20 15H19V14.29A2.5 2.5 0 0 0 20.5 12A2.5 2.5 0 0 0 19 9.71V9A2 2 0 0 0 17 7H13V5.79A2.5 2.5 0 0 0 14.5 3.5A2.5 2.5 0 0 0 12 1M12 2.5A1 1 0 0 1 13 3.5A1 1 0 0 1 12 4.5A1 1 0 0 1 11 3.5A1 1 0 0 1 12 2.5M6 11A1 1 0 0 1 7 12A1 1 0 0 1 6 13A1 1 0 0 1 5 12A1 1 0 0 1 6 11M18 11A1 1 0 0 1 19 12A1 1 0 0 1 18 13A1 1 0 0 1 17 12A1 1 0 0 1 18 11M3 19.5A1 1 0 0 1 4 20.5A1 1 0 0 1 3 21.5A1 1 0 0 1 2 20.5A1 1 0 0 1 3 19.5M9 19.5A1 1 0 0 1 10 20.5A1 1 0 0 1 9 21.5A1 1 0 0 1 8 20.5A1 1 0 0 1 9 19.5M15 19.5A1 1 0 0 1 16 20.5A1 1 0 0 1 15 21.5A1 1 0 0 1 14 20.5A1 1 0 0 1 15 19.5M21 19.5A1 1 0 0 1 22 20.5A1 1 0 0 1 21 21.5A1 1 0 0 1 20 20.5A1 1 0 0 1 21 19.5Z",fS="M22,2C22,2 14.36,1.63 8.34,9.88C3.72,16.21 2,22 2,22L3.94,21C5.38,18.5 6.13,17.47 7.54,16C10.07,16.74 12.71,16.65 15,14C13,13.44 11.4,13.57 9.04,13.81C11.69,12 13.5,11.6 16,12L17,10C15.2,9.66 14,9.63 12.22,10.04C14.19,8.65 15.56,7.87 18,8L19.21,6.07C17.65,5.96 16.71,6.13 14.92,6.57C16.53,5.11 18,4.45 20.14,4.32C20.14,4.32 21.19,2.43 22,2Z",dS="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z",hS="M3.47 5C3.25 5 3.04 5.08 2.87 5.21C2.43 5.55 2.35 6.18 2.69 6.61L2.69 6.62L7 12.14V18.05L10.64 21.71C11 22.1 11.66 22.1 12.05 21.71L12.05 21.71C12.44 21.32 12.44 20.69 12.06 20.3L9 17.22V11.45L4.27 5.39C4.08 5.14 3.78 5 3.47 5M21.62 3.22C21.43 3.08 21.22 3 21 3H7C6.78 3 6.57 3.08 6.38 3.22C5.95 3.56 5.87 4.19 6.21 4.62L11 10.75V15.87C10.96 16.16 11.06 16.47 11.29 16.7L15.3 20.71C15.69 21.1 16.32 21.1 16.71 20.71C16.94 20.5 17.04 20.18 17 19.88V10.75L21.79 4.62C22.13 4.19 22.05 3.56 21.62 3.22M15 10.05V17.58L13 15.58V10.06L9.04 5H18.96L15 10.05Z",pS="M15,19.88C15.04,20.18 14.94,20.5 14.71,20.71C14.32,21.1 13.69,21.1 13.3,20.71L9.29,16.7C9.06,16.47 8.96,16.16 9,15.87V10.75L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L15,10.75V19.88M7.04,5L11,10.06V15.58L13,17.58V10.05L16.96,5H7.04Z",mS="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z",gS="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",vS="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z",yS="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z",bS="M19.79,15.41C20.74,13.24 20.74,10.75 19.79,8.59L17.05,9.83C17.65,11.21 17.65,12.78 17.06,14.17L19.79,15.41M15.42,4.21C13.25,3.26 10.76,3.26 8.59,4.21L9.83,6.94C11.22,6.35 12.79,6.35 14.18,6.95L15.42,4.21M4.21,8.58C3.26,10.76 3.26,13.24 4.21,15.42L6.95,14.17C6.35,12.79 6.35,11.21 6.95,9.82L4.21,8.58M8.59,19.79C10.76,20.74 13.25,20.74 15.42,19.78L14.18,17.05C12.8,17.65 11.22,17.65 9.84,17.06L8.59,19.79M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",SS="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",CS="M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z",AS="M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",LS="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",ES="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",wS="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",TS="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",xS="M14,7L9,12L14,17V7Z",RS="M10,17L15,12L10,7V17Z",OS="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",PS="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",MS="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",IS="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",HS="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",DS="M12 1L21 5V11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1M12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18M16 14V15.5L16 15.59C15.96 15.81 15.78 15.96 15.53 16L15.43 16H8.57L8.47 16C8.22 15.96 8.04 15.81 8 15.59L8 15.5V14H16M17 8L16 13H8L7 8L7 8L9.67 10.67L12 8.34L14.33 10.67L17 8L17 8Z",VS="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",FS="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z",kS="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",NS="M21.41 11.58L12.41 2.58A2 2 0 0 0 11 2H4A2 2 0 0 0 2 4V11A2 2 0 0 0 2.59 12.42L11.59 21.42A2 2 0 0 0 13 22A2 2 0 0 0 14.41 21.41L21.41 14.41A2 2 0 0 0 22 13A2 2 0 0 0 21.41 11.58M13 20L4 11V4H11L20 13M6.5 5A1.5 1.5 0 1 1 5 6.5A1.5 1.5 0 0 1 6.5 5Z",$S="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";const jv=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Bv=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Uv=new RegExp("(\\d)(\\p{Ll})","gu"),Wv=new RegExp("(\\p{L})(\\d)","gu"),Gv=/[^\p{L}\d]+/giu,jr="$1\0$2",zv="";function zf(e,t){let n=e.trim();n=n.replace(jv,jr).replace(Bv,jr),t?.separateNumbers&&(n=n.replace(Uv,jr).replace(Wv,jr)),n=n.replace(Gv,"\0");let r=0,s=n.length;for(;n.charAt(r)==="\0";)r++;if(r===s)return[];for(;n.charAt(s-1)==="\0";)s--;return n.slice(r,s).split(/\0/g)}function Kv(e,t){return Zf(e,t?.prefixCharacters)+zf(e,t).map(Kf(t?.locale)).join(t?.delimiter??" ")}function Zv(e,t){const n=Zf(e,t?.prefixCharacters),r=Kf(t?.locale),s=Jv(t?.locale);return n+zf(e,t).map(Xv(r,s)).join(t?.delimiter??" ")}function Yv(e,t){return Kv(e,{delimiter:"_",...t})}function Kf(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Jv(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Xv(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Zf(e,t=zv){let n="";for(let r=0;r<e.length;r++){const s=e.charAt(r);if(t.includes(s))n+=s;else break}return n}const Qv=Zv,jS=Yv,Or=e=>`c/${e}`,_v=(e,t,n)=>{const r=rt(t,n),s=Or(e);return Ce.get(s,{params:r})},qv=()=>{const e=rt({});return Ce.get("c/settings",{params:e})},ey=e=>Ce.patch("c/settings",e),ty=e=>globalThis.CODEX.API_V3_PATH+Or(e),Nc=({pk:e,page:t,mtime:n})=>`${ty(e)}/${t}/page.jpg?ts=${n}`,BS=({pk:e},t,n)=>{const r=Or(e);return t=t?encodeURIComponent(t):`comic-${e}.cbz`,`${r}/download/${t}?ts=${n}`},US=({pk:e,page:t,mtime:n})=>`${Or(e)}/${t}/page.jpg?ts=${n}`,ny=({pk:e,mtime:t})=>`/${Or(e)}/book.pdf?ts=${t}`,fo={getReaderInfo:_v,getReaderSettings:qv,getPDFInBrowserURL:ny,updateReaderSettings:ey},ry=[{value:"S",title:"Fit to Screen",default:!0},{value:"W",title:"Fit to Width"},{value:"H",title:"Fit to Height"},{value:"O",title:"Original Size"}],sy=[{value:"ltr",title:"Left to Right",default:!0},{value:"rtl",title:"Right to Left"},{value:"ttb",title:"Top to Bottom"},{value:"btt",title:"Bottom to Top"}],zn={fitTo:ry,readingDirection:sy},oy=function(e,t){let n;if(e!=null&&!Number.isNaN(e)){let r=e;t!=null&&!Number.isNaN(t)&&(r+="-"+t),n=e.length===4?`(${r})`:`v${r}`}else n="";return n},iy=function({issueNumber:e,issueSuffix:t},n){let r;try{e==null&&!t&&(e=0);const s=Number.parseFloat(e),o=Math.floor(s);n===void 0&&(n=0),s===o?r=o.toString():(r=s.toString(),n+=r.split(".")[1].length+1),r=r.padStart(n,"0")}catch{r=""}return t&&(r+=t),r},ay=function({issueNumber:e,issueSuffix:t,issueCount:n},r){let s="#"+iy({issueNumber:e,issueSuffix:t},r);return n&&(s+=` of ${n}`),s},cy=function({seriesName:e,volumeName:t,volumeNumberTo:n,issueNumber:r,issueSuffix:s,issueCount:o},i){const a=oy(t,n),c=ay({issueNumber:r,issueSuffix:s,issueCount:o},i);return[e,a,c].filter(Boolean).join(" ")},Yf={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(Yf);const Jf={cacheBook:!1};Object.freeze(Jf);const Yr=new Set(["",null,void 0]);Object.freeze(Yr);const Xf={prev:"next",next:"prev"};Object.freeze(Xf);const Wo={rel:"prefetch",as:"image"};Object.freeze(Wo);const Vi=new Set(["ttb","btt"]);Object.freeze(Vi);const Qf=new Set(["rtl","btt"]);Object.freeze(Qf);const $c=1,_f={S:"Screen",W:"Width",H:"Height",O:"Original"};Object.freeze(_f);const Go={current:void 0,prev:!1,next:!1};Object.freeze(Go);const zo={prev:!1,next:!1,books:{prev:!1,next:!1},close:_e.breadcrumbs[0]};Object.freeze(zo);const qf={group:"s",ids:[]};Object.freeze(qf);const ly=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"S":"W",jc=e=>{Vi.has(e.readingDirection)&&e.twoPages&&(e.twoPages=!1)},uy=wr("reader",{state:()=>({choices:{fitTo:zn.fitTo,readingDirection:zn.readingDirection,nullValues:Yr},readerSettings:{fitTo:ly(),twoPages:zn.twoPages,readingDirection:"ltr",readRtlInReverse:zn.readRtlInReverse,finishOnLastPage:zn.finishOnLastPage,pageTransition:!0},books:it(Go),arcs:{},arc:{group:"s",ids:[]},mtime:0,empty:!1,page:void 0,routes:it(zo),bookChange:void 0,reactWithScroll:!1,clientSettings:{cacheBook:!1,scale:$c},showToolbars:!1,settingsLoaded:!1,bookSettings:{}}),getters:{activeSettings(e){return e.getBookSettings(e.books.current)||{}},activeTitle(e){const t=e.books.current;let n;return t?(e.arc?.group!="f"&&(n=cy(t)),n||(n=t.filename||"")):n="",n},isVertical(e){return e.activeSettings.isVertical},isReadInReverse(e){return e.activeSettings.isReadInReverse},routeParams(e){return{pk:+e.books.current.pk,page:+e.page}},isPDF(e){return e.books?.current?.fileType=="PDF"},cacheBook(e){return e.clientSettings.cacheBook&&!(this.isPDF&&this.activeSettings.isVertical)},isPagesNotRoutes(e){return e.activeSettings.isVertical||this.cacheBook},isBTT(e){return e.activeSettings.readingDirection==="btt"},isFirstPage(e){return e.page===0},isLastPage(e){const t=e.books.current?e.books.current.maxPage:0,n=e.activeSettings.twoPages?1:0,r=t-n;return this.page>=r},closeBookRoute(e){const t={name:"browser"};let n=e.routes.close;if(n){const r=e.books?.current?.pk;r&&(t.hash=`#card-${r}`)}else n=globalThis.CODEX.LAST_ROUTE||_e.breadcrumbs[0];return t.params=n,t}},actions:{setReadRTLInReverse(e){return this.readerSettings.readRtlInReverse&&e.readingDirection==="rtl"?{...e,readingDirection:"ltr"}:e},getBookSettings(e){if(!e)return{};if(!(e.pk in this.bookSettings)){const t=it(Yr);let n=e?e.settings:{};n=this.setReadRTLInReverse(n);const r=[this.readerSettings,n];for(const s of r)for(const[o,i]of Object.entries(s))Yr.has(i)||(t[o]=i);jc(t),t.isVertical=Vi.has(t.readingDirection),t.isReadInReverse=Qf.has(t.readingDirection),t.fitToClass=this.fitToClass(t),this.bookSettings[e.pk]=t}return this.bookSettings[e.pk]},bookChangeLocation(e){let t;return this.isBTT?t=e==="next"?"left":"right":t=e==="next"?"right":"left",t},bookChangeCursorClass(e){let t;return this.activeSettings.isReadInReverse?t=e==="next"?"up":"down":t=e==="next"?"down":"up",t+"Cursor"},bookChangeShow(e){return e==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(e){let t=e==="next";return this.isBTT&&(t=!t),t?Nv:$v},isCoverPage(e,t){return e.readLtr!==!1&&t===0||e.readLtr&&t===e.maxPage},_getRouteParams(e,t,n){const r=n==="prev"?-1:1;let s=1;this.getBookSettings(e).twoPages&&!this.isCoverPage(e,+t+r)&&(s=2),s=s*r;const i=+t+s;let a=!1;return i>=0&&i<=e.maxPage&&(a={pk:e.pk,page:i}),a},fitToClass(e){const t={};let n;if(n=this.clientSettings.scale>$c?"Orig":_f[e.fitTo],n){let r="fitTo";r+=Qv(n),e.isVertical?r+="Vertical":e.twoPages&&(r+="Two"),t[r]=!0}return t},_updateSettings(e,t){this.$patch(n=>{t?(n.books.current.settings={...n.books.current.settings,...e},jc(n.books.current.settings)):n.readerSettings={...n.readerSettings,...e},n.bookSettings={}})},toggleToolbars(){this.showToolbars=!this.showToolbars},setShowToolbars(){this.showToolbars=!0},reset(){this.$patch(e=>{e.arcs={},e.arc=qf,e.mtime=0,e.settingsLoaded=!1,e.books=it(Go),e.routes=it(zo),e.bookSettings={}})},_getBookRoutePage(e,t){let n=0;if(t&&e.readLtr!==!1||!t&&e.readLtr===!1){const s=this.getBookSettings(e).twoPages?-1:0;n=e.maxPage+s}return n},_getBookRoute(e,t){if(!e)return!1;const n=this._getBookRoutePage(e,t);return{pk:e.pk,page:n}},_getBookRoutes(e,t){return{prev:this._getBookRoute(e,!0),next:this._getBookRoute(t,!1)}},async setRoutesAndBookmarkPage(e){const t=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(t,e,"prev"),n.routes.next=this._getRouteParams(t,e,"next")}),await this._setBookmarkPage(e).then(()=>(this.bookChange=void 0,!0))},setActivePage(e,t=!0){if(e<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(e>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=!!t,this.page=+e,this.setRoutesAndBookmarkPage(e),this.isPagesNotRoutes){const n={params:{pk:this.books.current.pk,page:e}},{href:r}=ye.resolve(n);globalThis.history.pushState({},void 0,r)}else window.scrollTo(0,0)},async loadReaderSettings(){fo.getReaderSettings().then(e=>{const t=e.data;this._updateSettings(t,!1),this.empty=!1}).catch(console.error)},async loadBooks({params:e,arc:t,mtime:n}){this.settingsLoaded||this.loadReaderSettings();const r=ye.currentRoute.value;e||(e=r.params);const s=e.pk,o={arc:t};n||(n=r.query?.ts,n||(n=this.mtime)),await fo.getReaderInfo(s,o,n).then(i=>{const a=i.data,c=a.books,u=[c?.prev,c?.current,c?.next];for(const f of u)f&&!f.settings&&(f.settings={});const l=this._getBookRoutes(c.prev,c.next);return this.$patch(f=>{f.books=c,f.arcs=a.arcs,f.arc=a.arc,f.routes.prev=this._getRouteParams(f.books.current,e.page,"prev"),f.routes.next=this._getRouteParams(f.books.current,e.page,"next"),f.routes.books=l,f.routes.close=a.closeRoute,f.empty=!1,f.mtime=a.mtime,f.bookSettings={}}),!0}).catch(i=>{console.debug(i),this.empty=!0})},async loadMtimes(){const e=[];for(const[t,n]of Object.entries(this.arcs))for(const r of Object.keys(n)){const s={group:t,pks:r};e.push(s)}return await us.getMtime(e,{}).then(t=>{const n=t.data.maxMtime;return n!==this.mtime?this.loadBooks({mtime:n}):!0}).catch(console.error)},async _setBookmarkPage(e){const t={group:"c",ids:[+this.books.current.pk]};e=Math.max(Math.min(this.books.current.maxPage,e),0);const n={page:e};this.readerSettings.finishOnLastPage&&e>=this.books.current.maxPage&&(n.finished=!0),await wt.updateGroupBookmarks(t,{},n)},async setSettingsLocal(e){this._updateSettings(e,!0);const t={group:"c",ids:[+this.books.current.pk]};await wt.updateGroupBookmarks(t,{},this.books.current.settings)},setSettingsClient(e){this.clientSettings={...this.clientSettings,...e}},async clearSettingsLocal(){await this.setSettingsLocal(Yf),this.setSettingsClient(Jf)},async setSettingsGlobal(e){this._updateSettings(e,!1),await fo.updateReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(e){e=this.normalizeDirection(e),this.bookChange=this.routes.books[e]?e:void 0},linkLabel(e,t){return`${e==="prev"?"Previous":"Next"} ${t}`},normalizeDirection(e){return this.activeSettings.isReadInReverse?Xf[e]:e},_validateRoute(e,t){if(t||(t=this.books.current),!t)return{};const n=t.maxPage??0;return e.page>n?(e.page=n,console.warn("Tried to navigate past the end of the book.")):e.page<0&&(e.page=0,console.warn("Tried to navigate before the beginning of the book.")),e},_routeTo(e,t){if(e=this._validateRoute(e,t),this.isPagesNotRoutes&&+e.pk===this.books.current.pk)this.setActivePage(+e.page,!0);else{const n={name:"reader",params:e};ye.push(n).catch(console.debug)}},routeToDirectionOne(e){e=this.normalizeDirection(e);const t=e==="prev"?-1:1,n=this.page+=t;if(n<0||n>this.books.current.maxPage)return;const r={pk:this.books.current.pk,page:n};this._routeTo(r)},routeToDirection(e){if(e=this.normalizeDirection(e),this.routes[e]){const t=this.routes[e];this._routeTo(t)}else this.routes.books[e]?this.bookChange===e?this._routeTo(this.routes.books[e],this.books[e]):this.setBookChangeFlag(e):console.debug("No route to direction",e)},routeToPage(e){const t={pk:this.books.current.pk,page:e};this._routeTo(t)},routeToBook(e){this._routeTo(this.routes.books[e],this.books[e])},toRoute(e){return e?{params:e}:{}},_prefetchSrc(e,t,n=!1,r=!1){if(!e)return!1;const s=n?this.books[t]:this.books.current;if(!s)return!1;let o=e.page;if(r){if(!this.getBookSettings(s).twoPages)return!1;o+=1}if(o>s.maxPage)return!1;const i={pk:e.pk,page:o,mtime:s.mtime};return Nc(i)},prefetchLinks(e,t,n=!1){if(!n&&this.cacheBook)return{};const r=[this._prefetchSrc(e,t,n,!1),this._prefetchSrc(e,t,n,!0)],s=[];for(const o of r)o&&s.push({...Wo,href:o});return{link:s}},prefetchBook(e){if(!this.cacheBook||e.fileType=="PDF")return{};const t=e.pk,n=[];for(let r=0;r<=e.maxPage;r++){const s={pk:t,page:r,mtime:e.mtime},o=Nc(s);o&&n.push({...Wo,href:o})}return{link:n}}}}),e1=mp();function fy(e){e.use(e1)}const Ko=["admin-groups","admin-users","admin-libraries"];Object.freeze(Ko);const dy=wr("socket",{state:()=>({isConnected:!1,reconnectError:!1,app:void 0,heartBeatInterval:5*1e3,heartBeatTimer:0}),getters:{async adminStore(){if(dr().isUserAdmin)return ft(()=>import("./admin-Bhck3Mck.js"),[]).then(e=>e.useAdminStore()).catch(console.error)}},actions:{SOCKET_ONOPEN(e){this.app.config.globalProperties.$socket=e.currentTarget,this.$patch(t=>{t.isConnected=!0,t.reconnectError=!1}),this.heartBeatTimer=globalThis.setInterval(()=>{try{this.isConnected&&this.app.config.globalProperties.$socket.send("")}catch(t){console.warn("keep-alive",t)}},this.heartBeatInterval)},SOCKET_ONCLOSE(){this.isConnected=!1,globalThis.clearInterval(this.heartBeatTimer),this.heartBeatTimer=0},SOCKET_ONERROR(e){console.error("socket error",e),this.$patch(t=>{t.isConnected=!1,t.reconnectError=!0})},SOCKET_ONMESSAGE(e){const t=e.data;switch(console.debug(t),t){case Nt.ADMIN_FLAGS:this.adminFlagsNotified();break;case Nt.BOOKMARK:this.bookmarksNotified();break;case Nt.COVERS:this.coversNotified();break;case Nt.GROUPS:this.groupsNotified(),this.libraryNotified();break;case Nt.USERS:this.usersNotified(),this.libraryNotified();break;case Nt.LIBRARY:this.libraryNotified();break;case Nt.LIBRARIAN_STATUS:this.adminLoadTables(["LibrarianStatus"]);break;case Nt.FAILED_IMPORTS:this.failedImportsNotified();break;default:console.debug("Unhandled websocket message:",t)}},SOCKET_RECONNECT(e){console.debug("socket reconnect",e)},SOCKET_RECONNECT_ERROR(){console.error("socket reconnect error"),this.reconnectError=!0},async adminLoadTables(e){this.adminStore&&(await this.adminStore).loadTables(e)},adminFlagsNotified(){dr().loadAdminFlags(),ye?.currentRoute?.value?.name==="admin-flags"&&this.adminLoadTables(["Flag"])},reloadBrowser(){ye?.currentRoute?.value?.name==="browser"&&kc().loadMtimes()},bookmarksNotified(){this.reloadBrowser()},coversNotified(){this.reloadBrowser()},groupsNotified(){const e=ye?.currentRoute?.value?.name;Ko.includes(e)&&this.adminLoadTables(["Group"])},usersNotified(){const e=ye?.currentRoute?.value?.name;Ko.includes(e)&&this.adminLoadTables(["User"])},async libraryNotified(){switch(nr().setTimestamp(),ye?.currentRoute?.value?.name){case"browser":kc().loadMtimes();break;case"reader":uy().loadMtimes();break;case"admin-libraries":this.adminLoadTables(["Library","FailedImport"]);break;case"admin-stats":this.adminStore&&(await this.adminStore).loadStats();break}},async failedImportsNotified(){if(this.adminStore){const e=await this.adminStore;e.unseenFailedImports=!0}}}});function hy(){return dy(e1)}function py(e){const t=hy();t.app=e;const n={store:t,reconnection:!0};e.use(fv,hv,n)}function Pr(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
36
36
  KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
37
37
  VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
38
38
  MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS