@paperless/core 2.12.15 → 2.12.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/build/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
  3. package/dist/build/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
  4. package/dist/build/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
  5. package/dist/{paperless/p-4bf20920.entry.js → build/p-20f0202a.entry.js} +2 -2
  6. package/dist/build/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
  7. package/dist/build/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
  8. package/dist/build/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
  9. package/dist/build/p-4f61059d.entry.js +2 -0
  10. package/dist/build/p-4f61059d.entry.js.map +1 -0
  11. package/dist/build/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
  12. package/dist/build/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
  13. package/dist/{paperless/p-a5ee88a9.entry.js → build/p-60ce5cb1.entry.js} +2 -2
  14. package/dist/build/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
  15. package/dist/build/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
  16. package/dist/build/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
  17. package/dist/build/{p-844af0db.js → p-6d0d6bd9.js} +1 -1
  18. package/dist/{paperless/p-d4595315.entry.js → build/p-75cb9a59.entry.js} +2 -2
  19. package/dist/build/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
  20. package/dist/build/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
  21. package/dist/build/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
  22. package/dist/build/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
  23. package/dist/{paperless/p-eacbe5ed.entry.js → build/p-95d812ef.entry.js} +2 -2
  24. package/dist/build/p-b03f7821.entry.js +2 -0
  25. package/dist/{paperless/p-7300fdce.entry.js → build/p-b2441c2e.entry.js} +2 -2
  26. package/dist/{paperless/p-62bb5a15.entry.js → build/p-b6db4300.entry.js} +2 -2
  27. package/dist/build/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
  28. package/dist/build/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
  29. package/dist/{paperless/p-6fc33855.entry.js → build/p-bfaf3040.entry.js} +2 -2
  30. package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  31. package/dist/build/p-c5ba396d.entry.js +2 -0
  32. package/dist/build/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
  33. package/dist/build/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
  34. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  35. package/dist/build/p-e35dde73.entry.js +2 -0
  36. package/dist/build/p-e35dde73.entry.js.map +1 -0
  37. package/dist/build/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
  38. package/dist/{paperless/p-630b821d.entry.js → build/p-ee8f4311.entry.js} +2 -2
  39. package/dist/build/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
  40. package/dist/build/p-fe26e663.entry.js +2 -0
  41. package/dist/build/p-fe26e663.entry.js.map +1 -0
  42. package/dist/{paperless/p-09fbb0bb.entry.js → build/p-ff0dee5d.entry.js} +2 -2
  43. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  44. package/dist/build/paperless.esm.js +1 -1
  45. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  46. package/dist/cjs/p-attachment.cjs.entry.js +6 -6
  47. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  48. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  49. package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
  50. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  51. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  52. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  53. package/dist/cjs/p-checkbox_4.cjs.entry.js +2 -2
  54. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  55. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  56. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  57. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  58. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  59. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  60. package/dist/cjs/p-empty-state_8.cjs.entry.js +12 -12
  61. package/dist/cjs/p-field_2.cjs.entry.js +4 -4
  62. package/dist/cjs/p-helper_2.cjs.entry.js +2 -2
  63. package/dist/cjs/p-label.cjs.entry.js +3 -3
  64. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  65. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  66. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -5
  67. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  68. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  69. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  70. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  71. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  72. package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
  73. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  74. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  75. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  76. package/dist/cjs/p-range.cjs.entry.js +3 -3
  77. package/dist/cjs/p-select.cjs.entry.js +2 -2
  78. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  79. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  80. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  81. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  82. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  83. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  84. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  85. package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
  86. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
  87. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js.map +1 -1
  88. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
  89. package/dist/collection/components/atoms/modal/container/modal-container.component.js +4 -2
  90. package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
  91. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  92. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  93. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  94. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  95. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  96. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  97. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  98. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  99. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
  100. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  101. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  102. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  103. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  104. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  105. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  106. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  107. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  108. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  109. package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
  110. package/dist/collection/components/molecules/button/button.component.css +1 -1
  111. package/dist/collection/components/molecules/button/button.component.js +4 -4
  112. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  113. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  114. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  115. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  116. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  117. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  118. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
  119. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  120. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  121. package/dist/collection/components/molecules/label/label.component.js +3 -3
  122. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  123. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  124. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  125. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  126. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  127. package/dist/collection/components/molecules/range/range.component.js +3 -3
  128. package/dist/collection/components/molecules/select/select.component.js +2 -2
  129. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  130. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  131. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  132. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  133. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  134. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  135. package/dist/components/{p-BWS61QL4.js → p-1TpRsovb.js} +4 -4
  136. package/dist/components/{p-BWS61QL4.js.map → p-1TpRsovb.js.map} +1 -1
  137. package/dist/components/{p-B45k5qcT.js → p-2Qr5BWTn.js} +9 -9
  138. package/dist/components/{p-B45k5qcT.js.map → p-2Qr5BWTn.js.map} +1 -1
  139. package/dist/components/{p-9uCNIhdB.js → p-AW2oGbqj.js} +9 -9
  140. package/dist/components/{p-9uCNIhdB.js.map → p-AW2oGbqj.js.map} +1 -1
  141. package/dist/components/{p-9JVCnNTP.js → p-AegnFN7m.js} +10 -10
  142. package/dist/components/{p-9JVCnNTP.js.map → p-AegnFN7m.js.map} +1 -1
  143. package/dist/components/{p-Bc76zCz0.js → p-B2dstzDH.js} +4 -4
  144. package/dist/components/{p-Bc76zCz0.js.map → p-B2dstzDH.js.map} +1 -1
  145. package/dist/components/{p-20bKL56S.js → p-B9vEqYTq.js} +3 -3
  146. package/dist/components/{p-20bKL56S.js.map → p-B9vEqYTq.js.map} +1 -1
  147. package/dist/components/{p-Dz0oFayF.js → p-BcACknwC.js} +3 -3
  148. package/dist/components/{p-Dz0oFayF.js.map → p-BcACknwC.js.map} +1 -1
  149. package/dist/components/{p-BUzthIe4.js → p-BgJXDL3C.js} +4 -4
  150. package/dist/components/{p-BUzthIe4.js.map → p-BgJXDL3C.js.map} +1 -1
  151. package/dist/components/{p-BLxHSHLQ.js → p-BhGgkUHX.js} +9 -9
  152. package/dist/components/{p-BLxHSHLQ.js.map → p-BhGgkUHX.js.map} +1 -1
  153. package/dist/components/{p-CZNONZKe.js → p-BkK84AjH.js} +4 -4
  154. package/dist/components/{p-CZNONZKe.js.map → p-BkK84AjH.js.map} +1 -1
  155. package/dist/components/{p-CWCxhtvB.js → p-Bo-Xwwck.js} +3 -3
  156. package/dist/components/{p-CWCxhtvB.js.map → p-Bo-Xwwck.js.map} +1 -1
  157. package/dist/components/{p-BjTLGpAE.js → p-CAvUntoE.js} +3 -3
  158. package/dist/components/{p-BjTLGpAE.js.map → p-CAvUntoE.js.map} +1 -1
  159. package/dist/components/{p-BmKAfzS1.js → p-CIRFeGiK.js} +4 -4
  160. package/dist/components/{p-BmKAfzS1.js.map → p-CIRFeGiK.js.map} +1 -1
  161. package/dist/components/{p-x2Yo8WX0.js → p-CLbD2-td.js} +5 -5
  162. package/dist/components/{p-x2Yo8WX0.js.map → p-CLbD2-td.js.map} +1 -1
  163. package/dist/components/{p-BSj-tpQq.js → p-CNltO4r4.js} +3 -3
  164. package/dist/components/{p-BSj-tpQq.js.map → p-CNltO4r4.js.map} +1 -1
  165. package/dist/components/{p-eYUo2y4S.js → p-CTnp6dis.js} +3 -3
  166. package/dist/components/{p-eYUo2y4S.js.map → p-CTnp6dis.js.map} +1 -1
  167. package/dist/components/{p-CZtgzkyN.js → p-D3_de0mE.js} +5 -5
  168. package/dist/components/{p-CZtgzkyN.js.map → p-D3_de0mE.js.map} +1 -1
  169. package/dist/components/{p-BGEnz8kT.js → p-DMEUWkT_.js} +4 -4
  170. package/dist/components/{p-BGEnz8kT.js.map → p-DMEUWkT_.js.map} +1 -1
  171. package/dist/components/{p-CgOTs2ii.js → p-DYD8S5I7.js} +5 -5
  172. package/dist/components/{p-CgOTs2ii.js.map → p-DYD8S5I7.js.map} +1 -1
  173. package/dist/components/{p-DdIXD8-k.js → p-DhG7TpID.js} +4 -4
  174. package/dist/components/{p-DdIXD8-k.js.map → p-DhG7TpID.js.map} +1 -1
  175. package/dist/components/{p-DkFi_kvY.js → p-Dm0-xcDY.js} +3 -3
  176. package/dist/components/{p-DkFi_kvY.js.map → p-Dm0-xcDY.js.map} +1 -1
  177. package/dist/components/{p-CiEFZmoS.js → p-DsIKgAR0.js} +5 -5
  178. package/dist/components/{p-CiEFZmoS.js.map → p-DsIKgAR0.js.map} +1 -1
  179. package/dist/components/{p-mjB0gV5-.js → p-DwfXtlgr.js} +7 -7
  180. package/dist/components/p-DwfXtlgr.js.map +1 -0
  181. package/dist/components/{p-YP9DgWmd.js → p-Sm9opSEV.js} +7 -5
  182. package/dist/components/p-Sm9opSEV.js.map +1 -0
  183. package/dist/components/{p-C5FpvsF3.js → p-YCPqEpsQ.js} +5 -5
  184. package/dist/components/{p-C5FpvsF3.js.map → p-YCPqEpsQ.js.map} +1 -1
  185. package/dist/components/p-accordion.js +2 -2
  186. package/dist/components/p-attachment.js +10 -10
  187. package/dist/components/p-button-group.js +1 -1
  188. package/dist/components/p-button.js +1 -1
  189. package/dist/components/p-calendar.js +1 -1
  190. package/dist/components/p-card-header.js +1 -1
  191. package/dist/components/p-content-slider.js +2 -2
  192. package/dist/components/p-cropper.js +2 -2
  193. package/dist/components/p-datepicker.js +9 -9
  194. package/dist/components/{p-DK0zQotI.js → p-dkS0x_Ct.js} +3 -3
  195. package/dist/components/{p-DK0zQotI.js.map → p-dkS0x_Ct.js.map} +1 -1
  196. package/dist/components/p-drawer-container.js +1 -1
  197. package/dist/components/p-drawer-header.js +1 -1
  198. package/dist/components/p-drawer.js +4 -4
  199. package/dist/components/p-dropdown.js +1 -1
  200. package/dist/components/{p-CLNMMTTp.js → p-dw4ui28s.js} +3 -3
  201. package/dist/components/{p-CLNMMTTp.js.map → p-dw4ui28s.js.map} +1 -1
  202. package/dist/components/p-empty-state.js +1 -1
  203. package/dist/components/p-field-container.js +1 -1
  204. package/dist/components/p-field.js +1 -1
  205. package/dist/components/p-helper.js +1 -1
  206. package/dist/components/{p-Ds7nOoc6.js → p-k7ktLiRU.js} +5 -5
  207. package/dist/components/{p-Ds7nOoc6.js.map → p-k7ktLiRU.js.map} +1 -1
  208. package/dist/components/p-label.js +3 -3
  209. package/dist/components/p-listing.js +2 -2
  210. package/dist/components/p-modal-container.js +1 -1
  211. package/dist/components/p-modal-footer.js +1 -1
  212. package/dist/components/p-modal-header.js +1 -1
  213. package/dist/components/p-modal.js +5 -5
  214. package/dist/components/p-navbar.js +2 -2
  215. package/dist/components/p-navigation-item.js +3 -3
  216. package/dist/components/p-navigation-section.js +2 -2
  217. package/dist/components/p-navigation-title.js +1 -1
  218. package/dist/components/p-pagination-pages-item.js +1 -1
  219. package/dist/components/p-pagination-pages.js +1 -1
  220. package/dist/components/p-pagination-size.js +1 -1
  221. package/dist/components/p-pagination.js +1 -1
  222. package/dist/components/p-profile.js +3 -3
  223. package/dist/components/p-radio.js +3 -3
  224. package/dist/components/p-range.js +1 -1
  225. package/dist/components/p-segment-container.js +1 -1
  226. package/dist/components/p-segment-item.js +1 -1
  227. package/dist/components/p-select.js +8 -8
  228. package/dist/components/p-smile.js +1 -1
  229. package/dist/components/p-stepper-item.js +1 -1
  230. package/dist/components/p-stepper-line.js +1 -1
  231. package/dist/components/p-stepper.js +2 -2
  232. package/dist/components/p-tab-container.js +1 -1
  233. package/dist/components/p-tab-item.js +1 -1
  234. package/dist/components/p-table-cell.js +1 -1
  235. package/dist/components/p-table-container.js +1 -1
  236. package/dist/components/p-table-footer.js +1 -1
  237. package/dist/components/p-table-header.js +1 -1
  238. package/dist/components/p-table-row-actions-container.js +1 -1
  239. package/dist/components/p-table-row.js +1 -1
  240. package/dist/components/p-table.js +19 -19
  241. package/dist/components/p-toast-container.js +2 -2
  242. package/dist/components/p-toast.js +1 -1
  243. package/dist/components/p-toggle.js +3 -3
  244. package/dist/components/p-tooltip.js +1 -1
  245. package/dist/components/{p-75pOVPMC.js → p-u6Gu9isj.js} +6 -6
  246. package/dist/components/{p-75pOVPMC.js.map → p-u6Gu9isj.js.map} +1 -1
  247. package/dist/components/{p-BoYFd16u.js → p-z31Hnx0b.js} +6 -6
  248. package/dist/components/{p-BoYFd16u.js.map → p-z31Hnx0b.js.map} +1 -1
  249. package/dist/esm/p-accordion.entry.js +2 -2
  250. package/dist/esm/p-attachment.entry.js +6 -6
  251. package/dist/esm/p-badge_3.entry.js +3 -3
  252. package/dist/esm/p-button-group.entry.js +1 -1
  253. package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
  254. package/dist/esm/p-button_3.entry.js +5 -5
  255. package/dist/esm/p-button_3.entry.js.map +1 -1
  256. package/dist/esm/p-calendar.entry.js +1 -1
  257. package/dist/esm/p-checkbox_4.entry.js +2 -2
  258. package/dist/esm/p-content-slider.entry.js +2 -2
  259. package/dist/esm/p-cropper.entry.js +1 -1
  260. package/dist/esm/p-datepicker.entry.js +2 -2
  261. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  262. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  263. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  264. package/dist/esm/p-empty-state_8.entry.js +12 -12
  265. package/dist/esm/p-field_2.entry.js +4 -4
  266. package/dist/esm/p-helper_2.entry.js +2 -2
  267. package/dist/esm/p-label.entry.js +3 -3
  268. package/dist/esm/p-listing.entry.js +2 -2
  269. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  270. package/dist/esm/p-modal-body_4.entry.js +6 -5
  271. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  272. package/dist/esm/p-navbar.entry.js +1 -1
  273. package/dist/esm/p-navigation-item.entry.js +3 -3
  274. package/dist/esm/p-navigation-section.entry.js +1 -1
  275. package/dist/esm/p-navigation-title.entry.js +1 -1
  276. package/dist/esm/p-pagination-pages-item.entry.js +2 -2
  277. package/dist/esm/p-pagination_3.entry.js +4 -4
  278. package/dist/esm/p-profile.entry.js +1 -1
  279. package/dist/esm/p-radio.entry.js +3 -3
  280. package/dist/esm/p-range.entry.js +3 -3
  281. package/dist/esm/p-select.entry.js +2 -2
  282. package/dist/esm/p-smile.entry.js +1 -1
  283. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  284. package/dist/esm/p-tab-container.entry.js +1 -1
  285. package/dist/esm/p-tab-item.entry.js +1 -1
  286. package/dist/esm/p-toast-container.entry.js +2 -2
  287. package/dist/esm/p-toast.entry.js +1 -1
  288. package/dist/esm/p-toggle.entry.js +3 -3
  289. package/dist/index.html +1 -1
  290. package/dist/paperless/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
  291. package/dist/paperless/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
  292. package/dist/paperless/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
  293. package/dist/{build/p-4bf20920.entry.js → paperless/p-20f0202a.entry.js} +2 -2
  294. package/dist/paperless/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
  295. package/dist/paperless/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
  296. package/dist/paperless/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
  297. package/dist/paperless/p-4f61059d.entry.js +2 -0
  298. package/dist/paperless/p-4f61059d.entry.js.map +1 -0
  299. package/dist/paperless/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
  300. package/dist/paperless/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
  301. package/dist/{build/p-a5ee88a9.entry.js → paperless/p-60ce5cb1.entry.js} +2 -2
  302. package/dist/paperless/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
  303. package/dist/paperless/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
  304. package/dist/paperless/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
  305. package/dist/{build/p-d4595315.entry.js → paperless/p-75cb9a59.entry.js} +2 -2
  306. package/dist/paperless/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
  307. package/dist/paperless/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
  308. package/dist/paperless/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
  309. package/dist/paperless/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
  310. package/dist/{build/p-eacbe5ed.entry.js → paperless/p-95d812ef.entry.js} +2 -2
  311. package/dist/paperless/p-b03f7821.entry.js +2 -0
  312. package/dist/{build/p-7300fdce.entry.js → paperless/p-b2441c2e.entry.js} +2 -2
  313. package/dist/{build/p-62bb5a15.entry.js → paperless/p-b6db4300.entry.js} +2 -2
  314. package/dist/paperless/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
  315. package/dist/paperless/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
  316. package/dist/{build/p-6fc33855.entry.js → paperless/p-bfaf3040.entry.js} +2 -2
  317. package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  318. package/dist/paperless/p-c5ba396d.entry.js +2 -0
  319. package/dist/paperless/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
  320. package/dist/paperless/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
  321. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  322. package/dist/paperless/p-e35dde73.entry.js +2 -0
  323. package/dist/paperless/p-e35dde73.entry.js.map +1 -0
  324. package/dist/paperless/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
  325. package/dist/{build/p-630b821d.entry.js → paperless/p-ee8f4311.entry.js} +2 -2
  326. package/dist/paperless/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
  327. package/dist/paperless/p-fe26e663.entry.js +2 -0
  328. package/dist/paperless/p-fe26e663.entry.js.map +1 -0
  329. package/dist/{build/p-09fbb0bb.entry.js → paperless/p-ff0dee5d.entry.js} +2 -2
  330. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  331. package/dist/paperless/paperless.esm.js +1 -1
  332. package/dist/sw.js +1 -1
  333. package/dist/sw.js.map +1 -1
  334. package/package.json +1 -1
  335. package/dist/build/p-54585b1b.entry.js +0 -2
  336. package/dist/build/p-54585b1b.entry.js.map +0 -1
  337. package/dist/build/p-cbc3d273.entry.js +0 -2
  338. package/dist/build/p-cbc3d273.entry.js.map +0 -1
  339. package/dist/build/p-da90df50.entry.js +0 -2
  340. package/dist/build/p-e044afe0.entry.js +0 -2
  341. package/dist/build/p-f01e56a4.entry.js +0 -2
  342. package/dist/build/p-f01e56a4.entry.js.map +0 -1
  343. package/dist/components/p-YP9DgWmd.js.map +0 -1
  344. package/dist/components/p-mjB0gV5-.js.map +0 -1
  345. package/dist/paperless/p-54585b1b.entry.js +0 -2
  346. package/dist/paperless/p-54585b1b.entry.js.map +0 -1
  347. package/dist/paperless/p-cbc3d273.entry.js +0 -2
  348. package/dist/paperless/p-cbc3d273.entry.js.map +0 -1
  349. package/dist/paperless/p-da90df50.entry.js +0 -2
  350. package/dist/paperless/p-e044afe0.entry.js +0 -2
  351. package/dist/paperless/p-f01e56a4.entry.js +0 -2
  352. package/dist/paperless/p-f01e56a4.entry.js.map +0 -1
  353. /package/dist/build/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
  354. /package/dist/build/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
  355. /package/dist/build/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
  356. /package/dist/build/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
  357. /package/dist/build/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
  358. /package/dist/build/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
  359. /package/dist/build/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
  360. /package/dist/build/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
  361. /package/dist/build/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
  362. /package/dist/build/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
  363. /package/dist/build/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
  364. /package/dist/build/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
  365. /package/dist/build/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
  366. /package/dist/build/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
  367. /package/dist/build/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
  368. /package/dist/build/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
  369. /package/dist/build/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
  370. /package/dist/build/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
  371. /package/dist/build/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
  372. /package/dist/build/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
  373. /package/dist/build/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
  374. /package/dist/build/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
  375. /package/dist/build/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
  376. /package/dist/build/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
  377. /package/dist/build/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
  378. /package/dist/build/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
  379. /package/dist/build/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
  380. /package/dist/build/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
  381. /package/dist/build/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
  382. /package/dist/build/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
  383. /package/dist/paperless/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
  384. /package/dist/paperless/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
  385. /package/dist/paperless/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
  386. /package/dist/paperless/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
  387. /package/dist/paperless/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
  388. /package/dist/paperless/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
  389. /package/dist/paperless/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
  390. /package/dist/paperless/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
  391. /package/dist/paperless/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
  392. /package/dist/paperless/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
  393. /package/dist/paperless/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
  394. /package/dist/paperless/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
  395. /package/dist/paperless/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
  396. /package/dist/paperless/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
  397. /package/dist/paperless/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
  398. /package/dist/paperless/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
  399. /package/dist/paperless/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
  400. /package/dist/paperless/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
  401. /package/dist/paperless/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
  402. /package/dist/paperless/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
  403. /package/dist/paperless/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
  404. /package/dist/paperless/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
  405. /package/dist/paperless/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
  406. /package/dist/paperless/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
  407. /package/dist/paperless/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
  408. /package/dist/paperless/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
  409. /package/dist/paperless/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
  410. /package/dist/paperless/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
  411. /package/dist/paperless/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
  412. /package/dist/paperless/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,g as r,h as n}from"./p-Dpmiv2da.js";import{c as i}from"./p-BFSNj6hu.js";import{i as a}from"./p-DVCJlilm.js";import{a as o}from"./p-C5CTp9IA.js";import{b as u}from"./p-BIwGgs9f.js";import{r as s,t as c,_ as f,g as l,s as v,a as h,b as d,c as w,d as y,e as p,l as b,f as m,h as k,i as g,j as x,k as T,m as D,n as M,o as E,p as A,q,u as L,v as I,w as R,x as Q,y as S}from"./p-EKSDxqjG.js";var j=6e4;var B=36e5;var O=1e3;function _(t){s(1,arguments);var e=c(t);var r=new Date(0);r.setFullYear(e.getFullYear(),0,1);r.setHours(0,0,0,0);return r}function G(t,e){if(t==null){throw new TypeError("assign requires that input parameter not be null or undefined")}for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){t[r]=e[r]}}return t}function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function N(t,e){if(t){if("string"==typeof t)return Y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(t,e):void 0}}function C(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=N(t))||e){r&&(t=r);var n=0,i=function t(){};return{s:i,n:function e(){return n>=t.length?{done:true}:{done:false,value:t[n++]}},e:function t(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=true,u=false;return{s:function e(){r=r.call(t)},n:function t(){var e=r.next();return o=e.done,e},e:function t(e){u=true,a=e},f:function t(){try{o||null==r["return"]||r["return"]()}finally{if(u)throw a}}}}function X(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H(t,e){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},H(t,e)}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:true,configurable:true}}),Object.defineProperty(t,"prototype",{writable:false}),e&&H(t,e)}function F(t){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},F(t)}function K(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(K=function e(){return!!t})()}function W(t,e){if(e&&("object"==f(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return X(t)}function z(t){var e=K();return function(){var r,n=F(t);if(e){var i=F(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return W(this,r)}}function V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function $(t){var e=Z(t,"string");return"symbol"==f(e)?e:e+""}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(t,$(n.key),n)}}function U(t,e,r){return e&&J(t.prototype,e),Object.defineProperty(t,"prototype",{writable:false}),t}function tt(t,e,r){return(e=$(e))in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}var et=10;var rt=function(){function t(){V(this,t);tt(this,"priority",void 0);tt(this,"subPriority",0)}U(t,[{key:"validate",value:function t(e,r){return true}}]);return t}();var nt=function(t){P(r,t);var e=z(r);function r(t,n,i,a,o){var u;V(this,r);u=e.call(this);u.value=t;u.validateValue=n;u.setValue=i;u.priority=a;if(o){u.subPriority=o}return u}U(r,[{key:"validate",value:function t(e,r){return this.validateValue(e,this.value,r)}},{key:"set",value:function t(e,r,n){return this.setValue(e,r,this.value,n)}}]);return r}(rt);var it=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",et);tt(X(t),"subPriority",-1);return t}U(r,[{key:"set",value:function t(e,r){if(r.timestampIsSet){return e}var n=new Date(0);n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());return n}}]);return r}(rt);var at=function(){function t(){V(this,t);tt(this,"incompatibleTokens",void 0);tt(this,"priority",void 0);tt(this,"subPriority",void 0)}U(t,[{key:"run",value:function t(e,r,n,i){var a=this.parse(e,r,n,i);if(!a){return null}return{setter:new nt(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}}},{key:"validate",value:function t(e,r,n){return true}}]);return t}();var ot=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",140);tt(X(t),"incompatibleTokens",["R","u","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function t(e,r,n){r.era=n;e.setUTCFullYear(n,0,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var ut={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/};var st={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ct(t,e){if(!t){return t}return{value:e(t.value),rest:t.rest}}function ft(t,e){var r=e.match(t);if(!r){return null}return{value:parseInt(r[0],10),rest:e.slice(r[0].length)}}function lt(t,e){var r=e.match(t);if(!r){return null}if(r[0]==="Z"){return{value:0,rest:e.slice(1)}}var n=r[1]==="+"?1:-1;var i=r[2]?parseInt(r[2],10):0;var a=r[3]?parseInt(r[3],10):0;var o=r[5]?parseInt(r[5],10):0;return{value:n*(i*B+a*j+o*O),rest:e.slice(r[0].length)}}function vt(t){return ft(ut.anyDigitsSigned,t)}function ht(t,e){switch(t){case 1:return ft(ut.singleDigit,e);case 2:return ft(ut.twoDigits,e);case 3:return ft(ut.threeDigits,e);case 4:return ft(ut.fourDigits,e);default:return ft(new RegExp("^\\d{1,"+t+"}"),e)}}function dt(t,e){switch(t){case 1:return ft(ut.singleDigitSigned,e);case 2:return ft(ut.twoDigitsSigned,e);case 3:return ft(ut.threeDigitsSigned,e);case 4:return ft(ut.fourDigitsSigned,e);default:return ft(new RegExp("^-?\\d{1,"+t+"}"),e)}}function wt(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function yt(t,e){var r=e>0;var n=r?e:1-e;var i;if(n<=50){i=t||100}else{var a=n+50;var o=Math.floor(a/100)*100;var u=t>=a%100;i=t+o-(u?100:0)}return r?i:1-i}function pt(t){return t%400===0||t%4===0&&t%100!==0}var bt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",130);tt(X(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){var i=function t(e){return{year:e,isTwoDigitYear:r==="yy"}};switch(r){case"y":return ct(ht(4,e),i);case"yo":return ct(n.ordinalNumber(e,{unit:"year"}),i);default:return ct(ht(r.length,e),i)}}},{key:"validate",value:function t(e,r){return r.isTwoDigitYear||r.year>0}},{key:"set",value:function t(e,r,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var a=yt(n.year,i);e.setUTCFullYear(a,0,1);e.setUTCHours(0,0,0,0);return e}var o=!("era"in r)||r.era===1?n.year:1-n.year;e.setUTCFullYear(o,0,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var mt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",130);tt(X(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){var i=function t(e){return{year:e,isTwoDigitYear:r==="YY"}};switch(r){case"Y":return ct(ht(4,e),i);case"Yo":return ct(n.ordinalNumber(e,{unit:"year"}),i);default:return ct(ht(r.length,e),i)}}},{key:"validate",value:function t(e,r){return r.isTwoDigitYear||r.year>0}},{key:"set",value:function t(e,r,n,i){var a=l(e,i);if(n.isTwoDigitYear){var o=yt(n.year,a);e.setUTCFullYear(o,0,i.firstWeekContainsDate);e.setUTCHours(0,0,0,0);return v(e,i)}var u=!("era"in r)||r.era===1?n.year:1-n.year;e.setUTCFullYear(u,0,i.firstWeekContainsDate);e.setUTCHours(0,0,0,0);return v(e,i)}}]);return r}(at);var kt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",130);tt(X(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r){if(r==="R"){return dt(4,e)}return dt(r.length,e)}},{key:"set",value:function t(e,r,n){var i=new Date(0);i.setUTCFullYear(n,0,4);i.setUTCHours(0,0,0,0);return h(i)}}]);return r}(at);var gt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",130);tt(X(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r){if(r==="u"){return dt(4,e)}return dt(r.length,e)}},{key:"set",value:function t(e,r,n){e.setUTCFullYear(n,0,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var xt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",120);tt(X(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"Q":case"QQ":return ht(r.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function t(e,r){return r>=1&&r<=4}},{key:"set",value:function t(e,r,n){e.setUTCMonth((n-1)*3,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var Tt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",120);tt(X(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"q":case"qq":return ht(r.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function t(e,r){return r>=1&&r<=4}},{key:"set",value:function t(e,r,n){e.setUTCMonth((n-1)*3,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var Dt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);tt(X(t),"priority",110);return t}U(r,[{key:"parse",value:function t(e,r,n){var i=function t(e){return e-1};switch(r){case"M":return ct(ft(ut.month,e),i);case"MM":return ct(ht(2,e),i);case"Mo":return ct(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function t(e,r){return r>=0&&r<=11}},{key:"set",value:function t(e,r,n){e.setUTCMonth(n,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var Mt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",110);tt(X(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){var i=function t(e){return e-1};switch(r){case"L":return ct(ft(ut.month,e),i);case"LL":return ct(ht(2,e),i);case"Lo":return ct(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function t(e,r){return r>=0&&r<=11}},{key:"set",value:function t(e,r,n){e.setUTCMonth(n,1);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);function Et(t,e,r){s(2,arguments);var n=c(t);var i=w(e);var a=d(n,r)-i;n.setUTCDate(n.getUTCDate()-a*7);return n}var At=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",100);tt(X(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"w":return ft(ut.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=1&&r<=53}},{key:"set",value:function t(e,r,n,i){return v(Et(e,n,i),i)}}]);return r}(at);function qt(t,e){s(2,arguments);var r=c(t);var n=w(e);var i=y(r)-n;r.setUTCDate(r.getUTCDate()-i*7);return r}var Lt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",100);tt(X(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"I":return ft(ut.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=1&&r<=53}},{key:"set",value:function t(e,r,n){return h(qt(e,n))}}]);return r}(at);var It=[31,28,31,30,31,30,31,31,30,31,30,31];var Rt=[31,29,31,30,31,30,31,31,30,31,30,31];var Qt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"subPriority",1);tt(X(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"d":return ft(ut.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){var n=e.getUTCFullYear();var i=pt(n);var a=e.getUTCMonth();if(i){return r>=1&&r<=Rt[a]}else{return r>=1&&r<=It[a]}}},{key:"set",value:function t(e,r,n){e.setUTCDate(n);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var St=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"subpriority",1);tt(X(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"D":case"DD":return ft(ut.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){var n=e.getUTCFullYear();var i=pt(n);if(i){return r>=1&&r<=366}else{return r>=1&&r<=365}}},{key:"set",value:function t(e,r,n){e.setUTCMonth(0,n);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);function jt(t,e,r){var n,i,a,o,u,f,l,v;s(2,arguments);var h=p();var d=w((n=(i=(a=(o=r===null||r===void 0?void 0:r.weekStartsOn)!==null&&o!==void 0?o:r===null||r===void 0?void 0:(u=r.locale)===null||u===void 0?void 0:(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&i!==void 0?i:(l=h.locale)===null||l===void 0?void 0:(v=l.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var y=c(t);var b=w(e);var m=y.getUTCDay();var k=b%7;var g=(k+7)%7;var x=(g<d?7:0)+b-m;y.setUTCDate(y.getUTCDate()+x);return y}var Bt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"incompatibleTokens",["D","i","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function t(e,r){return r>=0&&r<=6}},{key:"set",value:function t(e,r,n,i){e=jt(e,n,i);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var Ot=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n,i){var a=function t(e){var r=Math.floor((e-1)/7)*7;return(e+i.weekStartsOn+6)%7+r};switch(r){case"e":case"ee":return ct(ht(r.length,e),a);case"eo":return ct(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function t(e,r){return r>=0&&r<=6}},{key:"set",value:function t(e,r,n,i){e=jt(e,n,i);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var _t=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n,i){var a=function t(e){var r=Math.floor((e-1)/7)*7;return(e+i.weekStartsOn+6)%7+r};switch(r){case"c":case"cc":return ct(ht(r.length,e),a);case"co":return ct(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function t(e,r){return r>=0&&r<=6}},{key:"set",value:function t(e,r,n,i){e=jt(e,n,i);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);function Gt(t,e){s(2,arguments);var r=w(e);if(r%7===0){r=r-7}var n=1;var i=c(t);var a=i.getUTCDay();var o=r%7;var u=(o+7)%7;var f=(u<n?7:0)+r-a;i.setUTCDate(i.getUTCDate()+f);return i}var Yt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",90);tt(X(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){var i=function t(e){if(e===0){return 7}return e};switch(r){case"i":case"ii":return ht(r.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return ct(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return ct(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ct(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ct(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}},{key:"validate",value:function t(e,r){return r>=1&&r<=7}},{key:"set",value:function t(e,r,n){e=Gt(e,n);e.setUTCHours(0,0,0,0);return e}}]);return r}(at);var Nt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",80);tt(X(t),"incompatibleTokens",["b","B","H","k","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function t(e,r,n){e.setUTCHours(wt(n),0,0,0);return e}}]);return r}(at);var Ct=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",80);tt(X(t),"incompatibleTokens",["a","B","H","k","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function t(e,r,n){e.setUTCHours(wt(n),0,0,0);return e}}]);return r}(at);var Xt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",80);tt(X(t),"incompatibleTokens",["a","b","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function t(e,r,n){e.setUTCHours(wt(n),0,0,0);return e}}]);return r}(at);var Ht=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",70);tt(X(t),"incompatibleTokens",["H","K","k","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"h":return ft(ut.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=1&&r<=12}},{key:"set",value:function t(e,r,n){var i=e.getUTCHours()>=12;if(i&&n<12){e.setUTCHours(n+12,0,0,0)}else if(!i&&n===12){e.setUTCHours(0,0,0,0)}else{e.setUTCHours(n,0,0,0)}return e}}]);return r}(at);var Pt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",70);tt(X(t),"incompatibleTokens",["a","b","h","K","k","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"H":return ft(ut.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=0&&r<=23}},{key:"set",value:function t(e,r,n){e.setUTCHours(n,0,0,0);return e}}]);return r}(at);var Ft=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",70);tt(X(t),"incompatibleTokens",["h","H","k","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"K":return ft(ut.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=0&&r<=11}},{key:"set",value:function t(e,r,n){var i=e.getUTCHours()>=12;if(i&&n<12){e.setUTCHours(n+12,0,0,0)}else{e.setUTCHours(n,0,0,0)}return e}}]);return r}(at);var Kt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",70);tt(X(t),"incompatibleTokens",["a","b","h","H","K","t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"k":return ft(ut.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=1&&r<=24}},{key:"set",value:function t(e,r,n){var i=n<=24?n%24:n;e.setUTCHours(i,0,0,0);return e}}]);return r}(at);var Wt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",60);tt(X(t),"incompatibleTokens",["t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"m":return ft(ut.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=0&&r<=59}},{key:"set",value:function t(e,r,n){e.setUTCMinutes(n,0,0);return e}}]);return r}(at);var zt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",50);tt(X(t),"incompatibleTokens",["t","T"]);return t}U(r,[{key:"parse",value:function t(e,r,n){switch(r){case"s":return ft(ut.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ht(r.length,e)}}},{key:"validate",value:function t(e,r){return r>=0&&r<=59}},{key:"set",value:function t(e,r,n){e.setUTCSeconds(n,0);return e}}]);return r}(at);var Vt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",30);tt(X(t),"incompatibleTokens",["t","T"]);return t}U(r,[{key:"parse",value:function t(e,r){var n=function t(e){return Math.floor(e*Math.pow(10,-r.length+3))};return ct(ht(r.length,e),n)}},{key:"set",value:function t(e,r,n){e.setUTCMilliseconds(n);return e}}]);return r}(at);var Zt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",10);tt(X(t),"incompatibleTokens",["t","T","x"]);return t}U(r,[{key:"parse",value:function t(e,r){switch(r){case"X":return lt(st.basicOptionalMinutes,e);case"XX":return lt(st.basic,e);case"XXXX":return lt(st.basicOptionalSeconds,e);case"XXXXX":return lt(st.extendedOptionalSeconds,e);case"XXX":default:return lt(st.extended,e)}}},{key:"set",value:function t(e,r,n){if(r.timestampIsSet){return e}return new Date(e.getTime()-n)}}]);return r}(at);var $t=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",10);tt(X(t),"incompatibleTokens",["t","T","X"]);return t}U(r,[{key:"parse",value:function t(e,r){switch(r){case"x":return lt(st.basicOptionalMinutes,e);case"xx":return lt(st.basic,e);case"xxxx":return lt(st.basicOptionalSeconds,e);case"xxxxx":return lt(st.extendedOptionalSeconds,e);case"xxx":default:return lt(st.extended,e)}}},{key:"set",value:function t(e,r,n){if(r.timestampIsSet){return e}return new Date(e.getTime()-n)}}]);return r}(at);var Jt=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",40);tt(X(t),"incompatibleTokens","*");return t}U(r,[{key:"parse",value:function t(e){return vt(e)}},{key:"set",value:function t(e,r,n){return[new Date(n*1e3),{timestampIsSet:true}]}}]);return r}(at);var Ut=function(t){P(r,t);var e=z(r);function r(){var t;V(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++){i[a]=arguments[a]}t=e.call.apply(e,[this].concat(i));tt(X(t),"priority",20);tt(X(t),"incompatibleTokens","*");return t}U(r,[{key:"parse",value:function t(e){return vt(e)}},{key:"set",value:function t(e,r,n){return[new Date(n),{timestampIsSet:true}]}}]);return r}(at);var te={G:new ot,y:new bt,Y:new mt,R:new kt,u:new gt,Q:new xt,q:new Tt,M:new Dt,L:new Mt,w:new At,I:new Lt,d:new Qt,D:new St,E:new Bt,e:new Ot,c:new _t,i:new Yt,a:new Nt,b:new Ct,B:new Xt,h:new Ht,H:new Pt,K:new Ft,k:new Kt,m:new Wt,s:new zt,S:new Vt,X:new Zt,x:new $t,t:new Jt,T:new Ut};var ee=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;var re=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;var ne=/^'([^]*?)'?$/;var ie=/''/g;var ae=/\S/;var oe=/[a-zA-Z]/;function ue(t,e,r,n){var i,a,o,u,l,v,h,d,y,M,E,A,q,L;s(3,arguments);var I=String(t);var R=String(e);var Q=p();var S=(i=(a=void 0)!==null&&a!==void 0?a:Q.locale)!==null&&i!==void 0?i:b;if(!S.match){throw new RangeError("locale must contain match property")}var j=w((o=(u=(l=(v=void 0)!==null&&v!==void 0?v:void 0)!==null&&l!==void 0?l:Q.firstWeekContainsDate)!==null&&u!==void 0?u:(h=Q.locale)===null||h===void 0?void 0:(d=h.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(j>=1&&j<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var B=w((y=(M=(E=(A=void 0)!==null&&A!==void 0?A:void 0)!==null&&E!==void 0?E:Q.weekStartsOn)!==null&&M!==void 0?M:(q=Q.locale)===null||q===void 0?void 0:(L=q.options)===null||L===void 0?void 0:L.weekStartsOn)!==null&&y!==void 0?y:0);if(!(B>=0&&B<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}if(R===""){if(I===""){return c(r)}else{return new Date(NaN)}}var O={firstWeekContainsDate:j,weekStartsOn:B,locale:S};var _=[new it];var Y=R.match(re).map((function(t){var e=t[0];if(e in m){var r=m[e];return r(t,S.formatLong)}return t})).join("").match(ee);var N=[];var X=C(Y),H;try{var P=function e(){var r=H.value;if(x(r)){T(r,R,t)}if(D(r)){T(r,R,t)}var n=r[0];var i=te[n];if(i){var a=i.incompatibleTokens;if(Array.isArray(a)){var o=N.find((function(t){return a.includes(t.token)||t.token===n}));if(o){throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(r,"` at the same time"))}}else if(i.incompatibleTokens==="*"&&N.length>0){throw new RangeError("The format string mustn't contain `".concat(r,"` and any other token at the same time"))}N.push({token:n,fullToken:r});var u=i.run(I,r,S.match,O);if(!u){return{v:new Date(NaN)}}_.push(u.setter);I=u.rest}else{if(n.match(oe)){throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`")}if(r==="''"){r="'"}else if(n==="'"){r=se(r)}if(I.indexOf(r)===0){I=I.slice(r.length)}else{return{v:new Date(NaN)}}}};for(X.s();!(H=X.n()).done;){var F=P();if(f(F)==="object")return F.v}}catch(t){X.e(t)}finally{X.f()}if(I.length>0&&ae.test(I)){return new Date(NaN)}var K=_.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,r){return r.indexOf(t)===e})).map((function(t){return _.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]}));var W=c(r);if(isNaN(W.getTime())){return new Date(NaN)}var z=k(W,g(W));var V={};var Z=C(K),$;try{for(Z.s();!($=Z.n()).done;){var J=$.value;if(!J.validate(z,O)){return new Date(NaN)}var U=J.set(z,V,O);if(Array.isArray(U)){z=U[0];G(V,U[1])}else{z=U}}}catch(t){Z.e(t)}finally{Z.f()}return z}function se(t){return t.match(ne)[1].replace(ie,"'")}const ce="*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.left-0{left:0!important}.top-0{top:0!important}.z-\\[-10\\]{z-index:-10!important}.overflow-hidden{overflow:hidden!important}.opacity-0{opacity:0!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";const fe=class{constructor(r){t(this,r);this.valueChange=e(this,"valueChange",3);if(r.$hostElement$["s-ei"]){this._internals=r.$hostElement$["s-ei"]}else{this._internals=r.$hostElement$.attachInternals();r.$hostElement$["s-ei"]=this._internals}}placeholder;value;preselectToday=false;enableNativePicker=true;disabledDates;minDate;maxDate;disableWeekends=false;enableToday=true;todayText="today";mode="day";valueChange;format="dd-MM-yyyy";hideIconWhenFilled=false;size="base";prefix;label;loading=false;helper;required;showOptional=true;error;disabled=false;strategy="absolute";placement="bottom-start";get _el(){return r(this)}_showDropdown=false;_value;_minDate;_maxDate;_disabledDates=[];_isMobileBrowser=false;_internals;_onInputTimeout;_inputRef;_dateInputRef;_defaultFormats={year:"yyyy",month:"LLLL, yyyy",day:"dd-MM-yyyy",dayNoDashes:"ddMMyyyy"};parseValue(t){if(!t&&this.preselectToday){t=new Date}if(typeof t==="string"){t=new Date(t)}this._setValue(t)}parseMinDate(t){if(typeof t==="string"){t=new Date(t)}if(!M(t)){return}this._minDate=t;if(E(this._value,this._minDate)){this._setValue(null)}}parseMaxDate(t){if(typeof t==="string"){t=new Date(t)}if(!M(t)){return}this._maxDate=t;if(A(this._value,this._maxDate)){this._setValue(null)}}parseDisabledDates(t){if(typeof t==="string"){t=JSON.parse(t)}if(!t||!Array.isArray(t)){return}this._disabledDates=t.map((t=>{if(typeof t==="string"){return new Date(t)}return t})).filter((t=>M(t)));if(this._isDisabledDay(this._value)){this._setValue(null)}}formResetCallback(){this._setValue(null)}formDisabledCallback(t){if(!this._internals.form){return}this.disabled=t}componentWillLoad(){if(this.disabledDates){this.parseDisabledDates(this.disabledDates)}if(this.minDate){this.parseMinDate(this.minDate)}if(this.maxDate){this.parseMaxDate(this.maxDate)}if(this.mode!=="day"&&this.format===this._defaultFormats["day"]){this.format=this._defaultFormats[this.mode]}this._isMobileBrowser=a();this.parseValue(this.value)}render(){return n("p-dropdown",{key:"4400ed720e3b79d14c9c0f7a778ebad8594bc600",allowOverflow:true,strategy:this.strategy,placement:this.placement,disableTriggerClick:true,applyMaxWidth:false,applyFullWidth:false,insideClick:true,show:this._showDropdown},n("p-field",{key:"667d56425f4a91e036345ec4a960bd56f437e775",slot:"trigger",icon:this.hideIconWhenFilled&&!!this._value?null:"calendar-multi",iconPosition:"start",size:this.size,prefix:this.prefix,label:this.label,loading:this.loading,helper:this.helper,required:o(this.required),showOptional:o(this.showOptional),error:this.error,forceShowTooltip:!!this.error?.length&&!this._showDropdown,autoShowError:false,disabled:o(this.disabled),focused:this._showDropdown,value:this._getFormattedDate(),placeholder:this.placeholder,onFocus:()=>this._onFocus(),onBlur:()=>this._onBlur(),onValueChange:t=>this._onValueChange(t.detail),onInputRefChange:t=>this._inputRef=t.detail}),this.enableNativePicker&&this._isMobileBrowser&&n("input",{key:"6741f5b236b64eddd4a8e6cc35532cb310590722",slot:"trigger",type:this.mode==="day"?"date":"month",class:"pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0",onInput:t=>this._onNativeInput(t),ref:t=>this._dateInputRef=t,value:this._value&&q(this._value,"yyyy-MM-dd",{locale:u.locale==="nl"?L:b}),min:this.minDate&&q(new Date(this.minDate),"yyyy-MM-dd",{locale:u.locale==="nl"?L:b}),max:this.maxDate&&q(new Date(this.maxDate),"yyyy-MM-dd",{locale:u.locale==="nl"?L:b})}),n("div",{key:"21bb536f91293aeb7bf9575bb4eb357bf89d0b1d",slot:"items"},n("p-calendar",{key:"db5798f487ba8a1cdaf1826f30dcc36a9d292fb8",variant:"embedded",value:this._value,onValueChange:({detail:t})=>this.value=t,preselectToday:this.preselectToday,disabledDates:this.disabledDates,minDate:this.minDate,maxDate:this.maxDate,disableWeekends:this.disableWeekends,enableToday:this.enableToday,todayText:this.todayText,mode:this.mode})))}documentClickHandler({target:t}){if(!this._showDropdown||i(t,this._el)){return}this._showDropdown=false}_onFocus(){if(this._isMobileBrowser&&this._dateInputRef){this._dateInputRef.focus();this._dateInputRef.showPicker();this._inputRef.blur();return}this._showDropdown=true}_onBlur(t=this.format){if(this._isMobileBrowser&&this._dateInputRef){return}const e=this._inputRef;if(e.value===null){return}const r=ue(e.value,t,new Date);if(r===this._value){return}const n=M(r);if(!n&&t===this.format&&this.mode==="day"){return this._onBlur(this._defaultFormats["dayNoDashes"])}if(!n||this._isDisabledDay(r)){e.value=this._getFormattedDate();return}this._setValue(r,false)}_onValueChange(t,e=this.format){if(this._onInputTimeout){clearTimeout(this._onInputTimeout);this._onInputTimeout=null}this._onInputTimeout=setTimeout((()=>{if(t.length===0){if(this._value===null){return}this._setValue(null);return}const r=ue(t,e,new Date);if(!M(r)||q(r,e,{locale:u.locale==="nl"?L:b})!==t){if(this.mode==="day"){this._onValueChange(t,this._defaultFormats["dayNoDashes"])}return}this._setValue(r,false)}),300)}_onNativeInput(t){if(!t.target){return}if(this._onInputTimeout){clearTimeout(this._onInputTimeout);this._onInputTimeout=null}this._onInputTimeout=setTimeout((()=>{this._setValue(t.target.value===""?null:new Date(t.target.value),false)}))}_setValue(t,e=true){if(t===null){this._value=null;this.valueChange.emit(null);return}if(!M(t)){return}if(this._isDisabledDay(t)){if(!!this._dateInputRef?.value){this._dateInputRef.value=this._value?q(this._value,"yyyy-MM-dd",{locale:u.locale==="nl"?L:b}):null}return}t=this.mode==="day"?I(t):this.mode==="month"?R(t):_(t);const r=Q(t,this._value);if(r){return}if(e){this._showDropdown=false}this._value=t;this.valueChange.emit(t)}_isDisabledDay(t){return this.disableWeekends&&S(t)||E(t,this._minDate)&&!Q(t,this._minDate)||A(t,this._maxDate)&&!Q(t,this._maxDate)||this._disabledDates.findIndex((e=>Q(e,t)))>=0}_getFormattedDate(){if(!this._value){return""}return q(this._value,this.format,{locale:u.locale==="nl"?L:b})}static get formAssociated(){return true}static get watchers(){return{value:["parseValue"],minDate:["parseMinDate"],maxDate:["parseMaxDate"],disabledDates:["parseDisabledDates"]}}};fe.style=ce;export{fe as p_datepicker};
2
+ //# sourceMappingURL=p-c5ba396d.entry.js.map