@clickview/reports 0.69.1-dev.0 → 0.70.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/dist/bundles.json +3 -2
  2. package/dist/css/1103-reports-d3d5cc00db.chunk.css +31 -0
  3. package/dist/css/1456-reports-4a5871a275.chunk.css +9 -0
  4. package/dist/css/1648-reports-012456ba48.chunk.css +2 -0
  5. package/dist/css/209-reports-c33663a53e.chunk.css +11 -0
  6. package/dist/css/2150-reports-84ec0e9770.chunk.css +4 -0
  7. package/dist/css/2217-reports-74dec0a3fe.chunk.css +32 -0
  8. package/dist/css/2997-reports-e08318f14b.chunk.css +9 -0
  9. package/dist/css/2999-reports-f190450b10.chunk.css +60 -0
  10. package/dist/css/4582-reports-d3d5cc00db.chunk.css +31 -0
  11. package/dist/css/5304-reports-22c2d8d635.chunk.css +9 -0
  12. package/dist/css/6007-reports-5ba77c55a3.chunk.css +8 -0
  13. package/dist/css/6031-reports-d558076846.chunk.css +6 -0
  14. package/dist/css/6356-reports-8c5b220bf6.chunk.css +1 -0
  15. package/dist/css/6811-reports-baf2e97e71.chunk.css +35 -0
  16. package/dist/css/7723-reports-8c6d3c414b.chunk.css +4 -0
  17. package/dist/css/7747-reports-2d9e191b5a.chunk.css +12 -0
  18. package/dist/css/8087-reports-cfe23ba648.chunk.css +10 -0
  19. package/dist/css/8294-reports-c797263ac2.chunk.css +1 -0
  20. package/dist/css/8418-reports-0ada3f3ce2.chunk.css +29 -0
  21. package/dist/css/8450-reports-06493dfde5.chunk.css +9 -0
  22. package/dist/css/8622-reports-9e8970cc7f.chunk.css +8 -0
  23. package/dist/css/8839-reports-8e46644943.chunk.css +1 -0
  24. package/dist/css/8989-reports-92b4f1dde8.chunk.css +8 -0
  25. package/dist/css/9059-reports-a2ac630ebc.chunk.css +35 -0
  26. package/dist/css/9285-reports-5b9af8380f.chunk.css +13 -0
  27. package/dist/css/9661-reports-7435e94a85.chunk.css +4 -0
  28. package/dist/css/9822-reports-a1db1900c7.chunk.css +8 -0
  29. package/dist/css/9949-reports-f22fa2b407.chunk.css +15 -0
  30. package/dist/css/reports-app-b4c4ec5632.css +32 -0
  31. package/dist/languages/en.json +1 -0
  32. package/dist/scripts/1103-d77d388f5b-reports.chunk.js +1 -0
  33. package/dist/scripts/1177-7cf7817e74-reports.chunk.js +1 -0
  34. package/dist/scripts/1456-019d93e620-reports.chunk.js +1 -0
  35. package/dist/scripts/1648-e892604f5a-reports.chunk.js +1 -0
  36. package/dist/scripts/1934-ca8497c768-reports.chunk.js +2 -0
  37. package/dist/scripts/1934-ca8497c768-reports.chunk.js.LICENSE.txt +9 -0
  38. package/dist/scripts/2087-e0ef668e1f-reports.chunk.js +1 -0
  39. package/dist/scripts/209-79eb8be706-reports.chunk.js +1 -0
  40. package/dist/scripts/2150-4e9e1fb433-reports.chunk.js +1 -0
  41. package/dist/scripts/2217-15fa35197a-reports.chunk.js +1 -0
  42. package/dist/scripts/2476-a700f69dc4-reports.chunk.js +1 -0
  43. package/dist/scripts/2539-04dfb4f4f1-reports.chunk.js +1 -0
  44. package/dist/scripts/2997-62d81c3442-reports.chunk.js +1 -0
  45. package/dist/scripts/2999-c1890ca868-reports.chunk.js +2 -0
  46. package/dist/scripts/2999-c1890ca868-reports.chunk.js.LICENSE.txt +1 -0
  47. package/dist/scripts/312-8b006e92ff-reports.chunk.js +1 -0
  48. package/dist/scripts/4234-e3c04f41eb-reports.chunk.js +1 -0
  49. package/dist/scripts/4372-26474a3318-reports.chunk.js +1 -0
  50. package/dist/scripts/438-b444dfb8c6-reports.chunk.js +1 -0
  51. package/dist/scripts/4582-230f130f41-reports.chunk.js +1 -0
  52. package/dist/scripts/4752-db4247883d-reports.chunk.js +2 -0
  53. package/dist/scripts/4752-db4247883d-reports.chunk.js.LICENSE.txt +118 -0
  54. package/dist/scripts/4979-7e14b09f33-reports.chunk.js +1 -0
  55. package/dist/scripts/5051-72c53737e2-reports.chunk.js +1 -0
  56. package/dist/scripts/5091-ddd6f61b55-reports.chunk.js +1 -0
  57. package/dist/scripts/5173-cce3b37672-reports.chunk.js +1 -0
  58. package/dist/scripts/5177-a7372e7b8d-reports.chunk.js +1 -0
  59. package/dist/scripts/5304-d5674b32b4-reports.chunk.js +1 -0
  60. package/dist/scripts/5802-2125536755-reports.chunk.js +1 -0
  61. package/dist/scripts/6007-673706aa31-reports.chunk.js +1 -0
  62. package/dist/scripts/6031-b1c60cc409-reports.chunk.js +1 -0
  63. package/dist/scripts/6081-2bbda6cac3-reports.chunk.js +1 -0
  64. package/dist/scripts/6180-bdb237ffbe-reports.chunk.js +2 -0
  65. package/dist/scripts/6180-bdb237ffbe-reports.chunk.js.LICENSE.txt +1 -0
  66. package/dist/scripts/6198-189ddde870-reports.chunk.js +1 -0
  67. package/dist/scripts/6356-a1b313c73e-reports.chunk.js +1 -0
  68. package/dist/scripts/645-e8b19128e5-reports.chunk.js +1 -0
  69. package/dist/scripts/6545-f07bcd318a-reports.chunk.js +1 -0
  70. package/dist/scripts/6811-40ded4c089-reports.chunk.js +1 -0
  71. package/dist/scripts/7238-de5ef0ebfb-reports.chunk.js +1 -0
  72. package/dist/scripts/7562-748e60c3fc-reports.chunk.js +1 -0
  73. package/dist/scripts/7709-82750ee317-reports.chunk.js +1 -0
  74. package/dist/scripts/7723-1799f5aa26-reports.chunk.js +1 -0
  75. package/dist/scripts/7747-d34db3ff10-reports.chunk.js +2 -0
  76. package/dist/scripts/7747-d34db3ff10-reports.chunk.js.LICENSE.txt +1 -0
  77. package/dist/scripts/7925-c6c532c9c4-reports.chunk.js +1 -0
  78. package/dist/scripts/8087-1d9e9701e5-reports.chunk.js +1 -0
  79. package/dist/scripts/8393-c37cc22b4c-reports.chunk.js +1 -0
  80. package/dist/scripts/8418-9f96caf039-reports.chunk.js +1 -0
  81. package/dist/scripts/8450-f2d5d99614-reports.chunk.js +1 -0
  82. package/dist/scripts/8591-4811082ab0-reports.chunk.js +1 -0
  83. package/dist/scripts/8622-ee045574e2-reports.chunk.js +1 -0
  84. package/dist/scripts/8839-711793a97f-reports.chunk.js +1 -0
  85. package/dist/scripts/8989-ca5cab7f45-reports.chunk.js +1 -0
  86. package/dist/scripts/9059-b2dcf3cdb2-reports.chunk.js +1 -0
  87. package/dist/scripts/9162-7ffc692736-reports.chunk.js +1 -0
  88. package/dist/scripts/9285-ecddd01efb-reports.chunk.js +1 -0
  89. package/dist/scripts/9590-41bb23ae71-reports.chunk.js +1 -0
  90. package/dist/scripts/9647-f0c111d3f0-reports.chunk.js +1 -0
  91. package/dist/scripts/9661-2dee4c3417-reports.chunk.js +1 -0
  92. package/dist/scripts/9822-621fac26e6-reports.chunk.js +1 -0
  93. package/dist/scripts/9895-3b3feb12b9-reports.chunk.js +1 -0
  94. package/dist/scripts/9949-6b1d1f4d32-reports.chunk.js +1 -0
  95. package/dist/scripts/bundle-44f8e893eb.min.js +2 -0
  96. package/dist/scripts/bundle-44f8e893eb.min.js.LICENSE.txt +108 -0
  97. package/dist/scripts/polyfills-3db3f009d4.min.js +1 -0
  98. package/package.json +3 -5
  99. package/typings/utils/imports.d.ts +1 -1
  100. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  101. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  102. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  103. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  104. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  105. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  106. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  107. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  108. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  109. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  110. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  111. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  112. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  113. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  114. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  115. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  116. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  117. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  118. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  119. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  120. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  121. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  122. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  123. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  124. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  125. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  126. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  127. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  128. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  129. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  130. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  131. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  132. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  133. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  134. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  135. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  136. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  137. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  138. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  139. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  140. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  141. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  142. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  143. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  144. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  145. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  146. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  147. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  148. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  149. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  150. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  151. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  152. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  153. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  154. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  155. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  156. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  157. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  158. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  159. package/dist/css/1VpVng8x.chunk.css +0 -1
  160. package/dist/css/BBwBgFf_.chunk.css +0 -1
  161. package/dist/css/BDijM1kt.chunk.css +0 -1
  162. package/dist/css/BMPwvOki.chunk.css +0 -1
  163. package/dist/css/BNt45Kgy.chunk.css +0 -1
  164. package/dist/css/BSGhUWzl.chunk.css +0 -1
  165. package/dist/css/BZ3_uhDP.chunk.css +0 -1
  166. package/dist/css/BaadNO4A.chunk.css +0 -1
  167. package/dist/css/BdUNjJqp.chunk.css +0 -1
  168. package/dist/css/BdeI0FAV.chunk.css +0 -1
  169. package/dist/css/BxcMGr8Y.chunk.css +0 -1
  170. package/dist/css/ByuL_xKJ.chunk.css +0 -1
  171. package/dist/css/C-A0Pj_7.chunk.css +0 -1
  172. package/dist/css/C4jMfPWU.chunk.css +0 -1
  173. package/dist/css/C7XoyEPr.chunk.css +0 -1
  174. package/dist/css/C8sxda3R.chunk.css +0 -1
  175. package/dist/css/CD1qrI1T.chunk.css +0 -1
  176. package/dist/css/CFO--d_R.chunk.css +0 -1
  177. package/dist/css/CX9nw8t8.chunk.css +0 -1
  178. package/dist/css/C_qGRdC2.chunk.css +0 -1
  179. package/dist/css/CdC6ugQR.chunk.css +0 -1
  180. package/dist/css/ClRRGXPb.chunk.css +0 -1
  181. package/dist/css/Cr1bwtZG.chunk.css +0 -1
  182. package/dist/css/DBlPz5Fw.chunk.css +0 -1
  183. package/dist/css/DDnpOnVB.chunk.css +0 -1
  184. package/dist/css/DFZQCLLg.chunk.css +0 -1
  185. package/dist/css/DJwAbl6l.chunk.css +0 -1
  186. package/dist/css/DWjg_0sz.chunk.css +0 -1
  187. package/dist/css/DYV9jjVn.chunk.css +0 -1
  188. package/dist/css/Dgeh4AqU.chunk.css +0 -9
  189. package/dist/css/DlOtoSz0.chunk.css +0 -1
  190. package/dist/css/DlxOgKUu.chunk.css +0 -1
  191. package/dist/css/DwgaDUzz.chunk.css +0 -1
  192. package/dist/css/FPQ_LmXH.chunk.css +0 -1
  193. package/dist/css/H09rC9gw.chunk.css +0 -1
  194. package/dist/css/LAFr2dPT.chunk.css +0 -1
  195. package/dist/css/Pg1TlYG6.chunk.css +0 -1
  196. package/dist/css/PsQn3-kb.chunk.css +0 -1
  197. package/dist/css/alkEuPrr.chunk.css +0 -1
  198. package/dist/css/k4DgCj_g.chunk.css +0 -1
  199. package/dist/en.json +0 -1
  200. package/dist/scripts/-b_h0A4y.chunk.js +0 -2
  201. package/dist/scripts/-b_h0A4y.chunk.js.map +0 -1
  202. package/dist/scripts/0UfVJrf5.chunk.js +0 -2
  203. package/dist/scripts/0UfVJrf5.chunk.js.map +0 -1
  204. package/dist/scripts/2cd-ulth.chunk.js +0 -2
  205. package/dist/scripts/2cd-ulth.chunk.js.map +0 -1
  206. package/dist/scripts/5O9SdVRZ.chunk.js +0 -2
  207. package/dist/scripts/5O9SdVRZ.chunk.js.map +0 -1
  208. package/dist/scripts/72EXv822.chunk.js +0 -2
  209. package/dist/scripts/72EXv822.chunk.js.map +0 -1
  210. package/dist/scripts/8CNwntVY.chunk.js +0 -2
  211. package/dist/scripts/8CNwntVY.chunk.js.map +0 -1
  212. package/dist/scripts/9pagDMWN.chunk.js +0 -2
  213. package/dist/scripts/9pagDMWN.chunk.js.map +0 -1
  214. package/dist/scripts/AKgZQGT0.chunk.js +0 -2
  215. package/dist/scripts/AKgZQGT0.chunk.js.map +0 -1
  216. package/dist/scripts/ASoPpgM4.chunk.js +0 -2
  217. package/dist/scripts/ASoPpgM4.chunk.js.map +0 -1
  218. package/dist/scripts/B0ZIDriY.chunk.js +0 -6
  219. package/dist/scripts/B0ZIDriY.chunk.js.map +0 -1
  220. package/dist/scripts/B3PA8QNB.chunk.js +0 -2
  221. package/dist/scripts/B3PA8QNB.chunk.js.map +0 -1
  222. package/dist/scripts/B6QS1MPy.chunk.js +0 -4
  223. package/dist/scripts/B6QS1MPy.chunk.js.map +0 -1
  224. package/dist/scripts/B9I2jvNY.chunk.js +0 -2
  225. package/dist/scripts/B9I2jvNY.chunk.js.map +0 -1
  226. package/dist/scripts/B9IzwFHp.chunk.js +0 -2
  227. package/dist/scripts/B9IzwFHp.chunk.js.map +0 -1
  228. package/dist/scripts/BBGDjrt-.chunk.js +0 -2
  229. package/dist/scripts/BBGDjrt-.chunk.js.map +0 -1
  230. package/dist/scripts/BHZ8VWq7.chunk.js +0 -2
  231. package/dist/scripts/BHZ8VWq7.chunk.js.map +0 -1
  232. package/dist/scripts/BIIsc-MA.chunk.js +0 -2
  233. package/dist/scripts/BIIsc-MA.chunk.js.map +0 -1
  234. package/dist/scripts/BLEXuU9u.chunk.js +0 -2
  235. package/dist/scripts/BLEXuU9u.chunk.js.map +0 -1
  236. package/dist/scripts/BLIHpHXi.chunk.js +0 -2
  237. package/dist/scripts/BLIHpHXi.chunk.js.map +0 -1
  238. package/dist/scripts/BLSeaGtL.chunk.js +0 -2
  239. package/dist/scripts/BLSeaGtL.chunk.js.map +0 -1
  240. package/dist/scripts/BLuY6AYO.chunk.js +0 -2
  241. package/dist/scripts/BLuY6AYO.chunk.js.map +0 -1
  242. package/dist/scripts/BSe8MmUc.chunk.js +0 -2
  243. package/dist/scripts/BSe8MmUc.chunk.js.map +0 -1
  244. package/dist/scripts/BZf-mjTJ.chunk.js +0 -380
  245. package/dist/scripts/BZf-mjTJ.chunk.js.map +0 -1
  246. package/dist/scripts/BbvzsNLZ.chunk.js +0 -2
  247. package/dist/scripts/BbvzsNLZ.chunk.js.map +0 -1
  248. package/dist/scripts/BdX0pSRt.chunk.js +0 -2
  249. package/dist/scripts/BdX0pSRt.chunk.js.map +0 -1
  250. package/dist/scripts/Bgidb-to.chunk.js +0 -2
  251. package/dist/scripts/Bgidb-to.chunk.js.map +0 -1
  252. package/dist/scripts/BhPjzT2a.chunk.js +0 -2
  253. package/dist/scripts/BhPjzT2a.chunk.js.map +0 -1
  254. package/dist/scripts/BihcsiRl.chunk.js +0 -2
  255. package/dist/scripts/BihcsiRl.chunk.js.map +0 -1
  256. package/dist/scripts/BlUKEHqx.chunk.js +0 -2
  257. package/dist/scripts/BlUKEHqx.chunk.js.map +0 -1
  258. package/dist/scripts/BpWIcknK.chunk.js +0 -2
  259. package/dist/scripts/BpWIcknK.chunk.js.map +0 -1
  260. package/dist/scripts/BqY3bZyH.chunk.js +0 -2
  261. package/dist/scripts/BqY3bZyH.chunk.js.map +0 -1
  262. package/dist/scripts/BrXmRwXi.chunk.js +0 -2
  263. package/dist/scripts/BrXmRwXi.chunk.js.map +0 -1
  264. package/dist/scripts/BsOLqypJ.chunk.js +0 -2
  265. package/dist/scripts/BsOLqypJ.chunk.js.map +0 -1
  266. package/dist/scripts/BvArNs1K.chunk.js +0 -2
  267. package/dist/scripts/BvArNs1K.chunk.js.map +0 -1
  268. package/dist/scripts/BxBPX67V.chunk.js +0 -2
  269. package/dist/scripts/BxBPX67V.chunk.js.map +0 -1
  270. package/dist/scripts/C0Ak1kpS.chunk.js +0 -3
  271. package/dist/scripts/C0Ak1kpS.chunk.js.map +0 -1
  272. package/dist/scripts/C0GFlX65.chunk.js +0 -2
  273. package/dist/scripts/C0GFlX65.chunk.js.map +0 -1
  274. package/dist/scripts/C0nQ0Xnx.chunk.js +0 -6
  275. package/dist/scripts/C0nQ0Xnx.chunk.js.map +0 -1
  276. package/dist/scripts/C6UUJ8P5.chunk.js +0 -2
  277. package/dist/scripts/C6UUJ8P5.chunk.js.map +0 -1
  278. package/dist/scripts/C8oA7_zY.chunk.js +0 -2
  279. package/dist/scripts/C8oA7_zY.chunk.js.map +0 -1
  280. package/dist/scripts/CEy1YX0b.chunk.js +0 -2
  281. package/dist/scripts/CEy1YX0b.chunk.js.map +0 -1
  282. package/dist/scripts/CNfESBlK.chunk.js +0 -2
  283. package/dist/scripts/CNfESBlK.chunk.js.map +0 -1
  284. package/dist/scripts/CNgTzzan.chunk.js +0 -42
  285. package/dist/scripts/CNgTzzan.chunk.js.map +0 -1
  286. package/dist/scripts/CP2i5uhZ.chunk.js +0 -2
  287. package/dist/scripts/CP2i5uhZ.chunk.js.map +0 -1
  288. package/dist/scripts/CSmXZuTZ.chunk.js +0 -2
  289. package/dist/scripts/CSmXZuTZ.chunk.js.map +0 -1
  290. package/dist/scripts/CTMVj7AR.chunk.js +0 -2
  291. package/dist/scripts/CTMVj7AR.chunk.js.map +0 -1
  292. package/dist/scripts/CW7x8M-z.chunk.js +0 -2
  293. package/dist/scripts/CW7x8M-z.chunk.js.map +0 -1
  294. package/dist/scripts/CWEUVMEm.chunk.js +0 -2
  295. package/dist/scripts/CWEUVMEm.chunk.js.map +0 -1
  296. package/dist/scripts/CWViZWyh.chunk.js +0 -34
  297. package/dist/scripts/CWViZWyh.chunk.js.map +0 -1
  298. package/dist/scripts/CX5q-0jT.chunk.js +0 -2
  299. package/dist/scripts/CX5q-0jT.chunk.js.map +0 -1
  300. package/dist/scripts/CbBaa9Aj.chunk.js +0 -2
  301. package/dist/scripts/CbBaa9Aj.chunk.js.map +0 -1
  302. package/dist/scripts/Ce_zROQ3.chunk.js +0 -2
  303. package/dist/scripts/Ce_zROQ3.chunk.js.map +0 -1
  304. package/dist/scripts/CfTCpF5i.chunk.js +0 -4
  305. package/dist/scripts/CfTCpF5i.chunk.js.map +0 -1
  306. package/dist/scripts/Cl1c9Acb.chunk.js +0 -2
  307. package/dist/scripts/Cl1c9Acb.chunk.js.map +0 -1
  308. package/dist/scripts/Cmu1J2M7.chunk.js +0 -262
  309. package/dist/scripts/Cmu1J2M7.chunk.js.map +0 -1
  310. package/dist/scripts/Cn0ghy_D.chunk.js +0 -2
  311. package/dist/scripts/Cn0ghy_D.chunk.js.map +0 -1
  312. package/dist/scripts/Cs1UnwSi.chunk.js +0 -2
  313. package/dist/scripts/Cs1UnwSi.chunk.js.map +0 -1
  314. package/dist/scripts/CsP3Lruv.chunk.js +0 -3
  315. package/dist/scripts/CsP3Lruv.chunk.js.map +0 -1
  316. package/dist/scripts/CsROrwVV.chunk.js +0 -2
  317. package/dist/scripts/CsROrwVV.chunk.js.map +0 -1
  318. package/dist/scripts/Ctu1A4hw.chunk.js +0 -2
  319. package/dist/scripts/Ctu1A4hw.chunk.js.map +0 -1
  320. package/dist/scripts/D1UdZdfs.chunk.js +0 -2
  321. package/dist/scripts/D1UdZdfs.chunk.js.map +0 -1
  322. package/dist/scripts/D2pFW6EB.chunk.js +0 -2
  323. package/dist/scripts/D2pFW6EB.chunk.js.map +0 -1
  324. package/dist/scripts/D9oCeDYw.chunk.js +0 -10
  325. package/dist/scripts/D9oCeDYw.chunk.js.map +0 -1
  326. package/dist/scripts/DAajosqn.chunk.js +0 -2
  327. package/dist/scripts/DAajosqn.chunk.js.map +0 -1
  328. package/dist/scripts/DDGxV4ns.chunk.js +0 -2
  329. package/dist/scripts/DDGxV4ns.chunk.js.map +0 -1
  330. package/dist/scripts/DFlfmBPU.chunk.js +0 -2
  331. package/dist/scripts/DFlfmBPU.chunk.js.map +0 -1
  332. package/dist/scripts/DHZefNDC.chunk.js +0 -2
  333. package/dist/scripts/DHZefNDC.chunk.js.map +0 -1
  334. package/dist/scripts/DJzpw8qX.chunk.js +0 -2
  335. package/dist/scripts/DJzpw8qX.chunk.js.map +0 -1
  336. package/dist/scripts/DKEdZyAE.chunk.js +0 -2
  337. package/dist/scripts/DKEdZyAE.chunk.js.map +0 -1
  338. package/dist/scripts/DKu8iTnz.chunk.js +0 -2
  339. package/dist/scripts/DKu8iTnz.chunk.js.map +0 -1
  340. package/dist/scripts/DMd0fZar.chunk.js +0 -2
  341. package/dist/scripts/DMd0fZar.chunk.js.map +0 -1
  342. package/dist/scripts/DNDksLLJ.chunk.js +0 -2
  343. package/dist/scripts/DNDksLLJ.chunk.js.map +0 -1
  344. package/dist/scripts/DNP9cLqQ.chunk.js +0 -2
  345. package/dist/scripts/DNP9cLqQ.chunk.js.map +0 -1
  346. package/dist/scripts/DO-V6YKu.chunk.js +0 -2
  347. package/dist/scripts/DO-V6YKu.chunk.js.map +0 -1
  348. package/dist/scripts/DQA8MZy3.chunk.js +0 -2
  349. package/dist/scripts/DQA8MZy3.chunk.js.map +0 -1
  350. package/dist/scripts/DT1lPNaD.chunk.js +0 -2
  351. package/dist/scripts/DT1lPNaD.chunk.js.map +0 -1
  352. package/dist/scripts/DTL-Rceb.chunk.js +0 -2
  353. package/dist/scripts/DTL-Rceb.chunk.js.map +0 -1
  354. package/dist/scripts/DTotSVIi.chunk.js +0 -2
  355. package/dist/scripts/DTotSVIi.chunk.js.map +0 -1
  356. package/dist/scripts/DWkaXclo.chunk.js +0 -10
  357. package/dist/scripts/DWkaXclo.chunk.js.map +0 -1
  358. package/dist/scripts/DXFcNENa.chunk.js +0 -2
  359. package/dist/scripts/DXFcNENa.chunk.js.map +0 -1
  360. package/dist/scripts/Ddy6mQmA.chunk.js +0 -2
  361. package/dist/scripts/Ddy6mQmA.chunk.js.map +0 -1
  362. package/dist/scripts/DlxDC-9E.chunk.js +0 -2
  363. package/dist/scripts/DlxDC-9E.chunk.js.map +0 -1
  364. package/dist/scripts/Dn5-Zvws.chunk.js +0 -2
  365. package/dist/scripts/Dn5-Zvws.chunk.js.map +0 -1
  366. package/dist/scripts/DnhffgUu.chunk.js +0 -2
  367. package/dist/scripts/DnhffgUu.chunk.js.map +0 -1
  368. package/dist/scripts/Dv9OgzKw.chunk.js +0 -2
  369. package/dist/scripts/Dv9OgzKw.chunk.js.map +0 -1
  370. package/dist/scripts/DvV9e2O3.chunk.js +0 -3
  371. package/dist/scripts/DvV9e2O3.chunk.js.map +0 -1
  372. package/dist/scripts/Dvf_hOR3.chunk.js +0 -2
  373. package/dist/scripts/Dvf_hOR3.chunk.js.map +0 -1
  374. package/dist/scripts/DxOc33K6.chunk.js +0 -3
  375. package/dist/scripts/DxOc33K6.chunk.js.map +0 -1
  376. package/dist/scripts/DxbQzyJg.chunk.js +0 -2
  377. package/dist/scripts/DxbQzyJg.chunk.js.map +0 -1
  378. package/dist/scripts/DyaAoFDP.chunk.js +0 -2
  379. package/dist/scripts/DyaAoFDP.chunk.js.map +0 -1
  380. package/dist/scripts/EBNeK_uD.chunk.js +0 -2
  381. package/dist/scripts/EBNeK_uD.chunk.js.map +0 -1
  382. package/dist/scripts/HBvGjr-A.chunk.js +0 -2
  383. package/dist/scripts/HBvGjr-A.chunk.js.map +0 -1
  384. package/dist/scripts/IC6KSiqE.chunk.js +0 -2
  385. package/dist/scripts/IC6KSiqE.chunk.js.map +0 -1
  386. package/dist/scripts/LT6WE6TB.chunk.js +0 -2
  387. package/dist/scripts/LT6WE6TB.chunk.js.map +0 -1
  388. package/dist/scripts/P0RdEZGz.chunk.js +0 -2
  389. package/dist/scripts/P0RdEZGz.chunk.js.map +0 -1
  390. package/dist/scripts/P3PkkK_o.chunk.js +0 -2
  391. package/dist/scripts/P3PkkK_o.chunk.js.map +0 -1
  392. package/dist/scripts/SA1hxE7y.chunk.js +0 -15
  393. package/dist/scripts/SA1hxE7y.chunk.js.map +0 -1
  394. package/dist/scripts/YHL8PX91.chunk.js +0 -2
  395. package/dist/scripts/YHL8PX91.chunk.js.map +0 -1
  396. package/dist/scripts/app-5iiM5qQY.js +0 -224
  397. package/dist/scripts/app-5iiM5qQY.js.map +0 -1
  398. package/dist/scripts/fORcC1yd.chunk.js +0 -2
  399. package/dist/scripts/fORcC1yd.chunk.js.map +0 -1
  400. package/dist/scripts/hU1zzvt8.chunk.js +0 -2
  401. package/dist/scripts/hU1zzvt8.chunk.js.map +0 -1
  402. package/dist/scripts/kFXLewpU.chunk.js +0 -2
  403. package/dist/scripts/kFXLewpU.chunk.js.map +0 -1
  404. package/dist/scripts/k_p1R4KR.chunk.js +0 -2
  405. package/dist/scripts/k_p1R4KR.chunk.js.map +0 -1
  406. package/dist/scripts/mqFCEyYv.chunk.js +0 -2
  407. package/dist/scripts/mqFCEyYv.chunk.js.map +0 -1
  408. package/dist/scripts/qwzILhQ0.chunk.js +0 -8
  409. package/dist/scripts/qwzILhQ0.chunk.js.map +0 -1
  410. package/dist/scripts/sFV5nxD4.chunk.js +0 -2
  411. package/dist/scripts/sFV5nxD4.chunk.js.map +0 -1
  412. package/dist/scripts/uBcZoYae.chunk.js +0 -2
  413. package/dist/scripts/uBcZoYae.chunk.js.map +0 -1
  414. package/dist/scripts/yaRKidLW.chunk.js +0 -2
  415. package/dist/scripts/yaRKidLW.chunk.js.map +0 -1
  416. package/dist/scripts/ysP6mL-L.chunk.js +0 -2
  417. package/dist/scripts/ysP6mL-L.chunk.js.map +0 -1
  418. package/vite.config.ts +0 -6
@@ -1,224 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/P0RdEZGz.chunk.js","scripts/DNDksLLJ.chunk.js","scripts/SA1hxE7y.chunk.js","scripts/BqY3bZyH.chunk.js","scripts/Cs1UnwSi.chunk.js","scripts/DMd0fZar.chunk.js","css/DlOtoSz0.chunk.css","scripts/D2pFW6EB.chunk.js","scripts/CSmXZuTZ.chunk.js","scripts/BvArNs1K.chunk.js","scripts/DFlfmBPU.chunk.js","scripts/C8oA7_zY.chunk.js","scripts/Ddy6mQmA.chunk.js","scripts/BLuY6AYO.chunk.js","scripts/BxBPX67V.chunk.js","scripts/DxOc33K6.chunk.js","scripts/P3PkkK_o.chunk.js","scripts/5O9SdVRZ.chunk.js","css/BdUNjJqp.chunk.css","scripts/C0Ak1kpS.chunk.js","scripts/sFV5nxD4.chunk.js","scripts/DNP9cLqQ.chunk.js","css/C7XoyEPr.chunk.css","scripts/C6UUJ8P5.chunk.js","css/DWjg_0sz.chunk.css","scripts/DAajosqn.chunk.js","scripts/B9I2jvNY.chunk.js","scripts/DvV9e2O3.chunk.js","scripts/k_p1R4KR.chunk.js","css/CdC6ugQR.chunk.css","scripts/uBcZoYae.chunk.js","scripts/8CNwntVY.chunk.js","scripts/Bgidb-to.chunk.js","css/H09rC9gw.chunk.css","scripts/BlUKEHqx.chunk.js","css/ClRRGXPb.chunk.css","css/C8sxda3R.chunk.css","scripts/Dn5-Zvws.chunk.js","scripts/BZf-mjTJ.chunk.js","scripts/qwzILhQ0.chunk.js","css/DJwAbl6l.chunk.css","scripts/CsP3Lruv.chunk.js","scripts/CW7x8M-z.chunk.js","scripts/hU1zzvt8.chunk.js","scripts/Cl1c9Acb.chunk.js","scripts/LT6WE6TB.chunk.js","scripts/B9IzwFHp.chunk.js","scripts/CsROrwVV.chunk.js","scripts/CbBaa9Aj.chunk.js","scripts/CNgTzzan.chunk.js","css/BNt45Kgy.chunk.css","scripts/CX5q-0jT.chunk.js","scripts/72EXv822.chunk.js","css/k4DgCj_g.chunk.css","scripts/B3PA8QNB.chunk.js","css/1VpVng8x.chunk.css","scripts/BHZ8VWq7.chunk.js","scripts/DnhffgUu.chunk.js","scripts/BIIsc-MA.chunk.js","css/PsQn3-kb.chunk.css","scripts/CEy1YX0b.chunk.js","scripts/EBNeK_uD.chunk.js","scripts/D9oCeDYw.chunk.js","scripts/DO-V6YKu.chunk.js","scripts/CP2i5uhZ.chunk.js","scripts/Cn0ghy_D.chunk.js","css/BdeI0FAV.chunk.css","scripts/CTMVj7AR.chunk.js","css/CFO--d_R.chunk.css","css/Cr1bwtZG.chunk.css","css/DwgaDUzz.chunk.css","scripts/9pagDMWN.chunk.js","scripts/DlxDC-9E.chunk.js","scripts/BihcsiRl.chunk.js","scripts/BLSeaGtL.chunk.js","css/BaadNO4A.chunk.css","scripts/DKEdZyAE.chunk.js","css/BZ3_uhDP.chunk.css","scripts/DKu8iTnz.chunk.js","css/DFZQCLLg.chunk.css","scripts/2cd-ulth.chunk.js","css/BxcMGr8Y.chunk.css","scripts/IC6KSiqE.chunk.js","css/BDijM1kt.chunk.css","scripts/DHZefNDC.chunk.js","scripts/DTotSVIi.chunk.js","scripts/-b_h0A4y.chunk.js","scripts/DyaAoFDP.chunk.js","scripts/C0nQ0Xnx.chunk.js","css/C4jMfPWU.chunk.css","css/BBwBgFf_.chunk.css","scripts/ASoPpgM4.chunk.js","scripts/B0ZIDriY.chunk.js","css/Pg1TlYG6.chunk.css","scripts/DWkaXclo.chunk.js","css/Dgeh4AqU.chunk.css","scripts/AKgZQGT0.chunk.js","scripts/BSe8MmUc.chunk.js","css/DDnpOnVB.chunk.css","scripts/DQA8MZy3.chunk.js","css/C-A0Pj_7.chunk.css","scripts/CfTCpF5i.chunk.js","scripts/DJzpw8qX.chunk.js","scripts/BLEXuU9u.chunk.js","scripts/BsOLqypJ.chunk.js","scripts/DTL-Rceb.chunk.js","scripts/BhPjzT2a.chunk.js","scripts/yaRKidLW.chunk.js","css/DBlPz5Fw.chunk.css","scripts/Dv9OgzKw.chunk.js","scripts/DDGxV4ns.chunk.js","scripts/HBvGjr-A.chunk.js","scripts/B6QS1MPy.chunk.js","scripts/BdX0pSRt.chunk.js","css/DYV9jjVn.chunk.css","scripts/C0GFlX65.chunk.js","scripts/CWViZWyh.chunk.js","css/FPQ_LmXH.chunk.css","css/BMPwvOki.chunk.css","scripts/DxbQzyJg.chunk.js","css/C_qGRdC2.chunk.css","scripts/Ce_zROQ3.chunk.js","scripts/CNfESBlK.chunk.js","scripts/fORcC1yd.chunk.js","css/alkEuPrr.chunk.css","scripts/D1UdZdfs.chunk.js","css/ByuL_xKJ.chunk.css","scripts/mqFCEyYv.chunk.js","scripts/kFXLewpU.chunk.js","scripts/CWEUVMEm.chunk.js","scripts/Ctu1A4hw.chunk.js","css/BSGhUWzl.chunk.css","scripts/DXFcNENa.chunk.js","scripts/BrXmRwXi.chunk.js","scripts/ysP6mL-L.chunk.js","scripts/BBGDjrt-.chunk.js","scripts/BLIHpHXi.chunk.js","scripts/DT1lPNaD.chunk.js","css/DlxOgKUu.chunk.css","scripts/YHL8PX91.chunk.js","scripts/Dvf_hOR3.chunk.js","css/CX9nw8t8.chunk.css","scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css"])))=>i.map(i=>d[i]);
2
- var mle=Object.defineProperty;var yle=(e,t,r)=>t in e?mle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ui=(e,t,r)=>yle(e,typeof t!="symbol"?t+"":t,r);function Bn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P5e(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var DS={exports:{}},mM;function _le(){return mM||(mM=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,o=typeof Symbol=="function"?Symbol:{},s=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d($,N,U){return Object.defineProperty($,N,{value:U,enumerable:!0,configurable:!0,writable:!0}),$[N]}try{d({},"")}catch{d=function(N,U,ee){return N[U]=ee}}function h($,N,U,ee){var te=N&&N.prototype instanceof b?N:b,de=Object.create(te.prototype),Se=new Q(ee||[]);return de._invoke=j($,U,Se),de}r.wrap=h;function v($,N,U){try{return{type:"normal",arg:$.call(N,U)}}catch(ee){return{type:"throw",arg:ee}}}var g="suspendedStart",S="suspendedYield",E="executing",y="completed",w={};function b(){}function A(){}function R(){}var C={};d(C,s,function(){return this});var O=Object.getPrototypeOf,m=O&&O(O(J([])));m&&m!==n&&i.call(m,s)&&(C=m);var D=R.prototype=b.prototype=Object.create(C);A.prototype=R,d(D,"constructor",R),d(R,"constructor",A),A.displayName=d(R,c,"GeneratorFunction");function k($){["next","throw","return"].forEach(function(N){d($,N,function(U){return this._invoke(N,U)})})}r.isGeneratorFunction=function($){var N=typeof $=="function"&&$.constructor;return N?N===A||(N.displayName||N.name)==="GeneratorFunction":!1},r.mark=function($){return Object.setPrototypeOf?Object.setPrototypeOf($,R):($.__proto__=R,d($,c,"GeneratorFunction")),$.prototype=Object.create(D),$},r.awrap=function($){return{__await:$}};function q($,N){function U(de,Se,xe,ue){var I=v($[de],$,Se);if(I.type==="throw")ue(I.arg);else{var P=I.arg,B=P.value;return B&&typeof B=="object"&&i.call(B,"__await")?N.resolve(B.__await).then(function(L){U("next",L,xe,ue)},function(L){U("throw",L,xe,ue)}):N.resolve(B).then(function(L){P.value=L,xe(P)},function(L){return U("throw",L,xe,ue)})}}var ee;function te(de,Se){function xe(){return new N(function(ue,I){U(de,Se,ue,I)})}return ee=ee?ee.then(xe,xe):xe()}this._invoke=te}k(q.prototype),d(q.prototype,l,function(){return this}),r.AsyncIterator=q,r.async=function($,N,U,ee,te){te===void 0&&(te=Promise);var de=new q(h($,N,U,ee),te);return r.isGeneratorFunction(N)?de:de.next().then(function(Se){return Se.done?Se.value:de.next()})};function j($,N,U){var ee=g;return function(de,Se){if(ee===E)throw new Error("Generator is already running");if(ee===y){if(de==="throw")throw Se;return re()}for(U.method=de,U.arg=Se;;){var xe=U.delegate;if(xe){var ue=W(xe,U);if(ue){if(ue===w)continue;return ue}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(ee===g)throw ee=y,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);ee=E;var I=v($,N,U);if(I.type==="normal"){if(ee=U.done?y:S,I.arg===w)continue;return{value:I.arg,done:U.done}}else I.type==="throw"&&(ee=y,U.method="throw",U.arg=I.arg)}}}function W($,N){var U=$.iterator[N.method];if(U===a){if(N.delegate=null,N.method==="throw"){if($.iterator.return&&(N.method="return",N.arg=a,W($,N),N.method==="throw"))return w;N.method="throw",N.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var ee=v(U,$.iterator,N.arg);if(ee.type==="throw")return N.method="throw",N.arg=ee.arg,N.delegate=null,w;var te=ee.arg;if(!te)return N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,w;if(te.done)N[$.resultName]=te.value,N.next=$.nextLoc,N.method!=="return"&&(N.method="next",N.arg=a);else return te;return N.delegate=null,w}k(D),d(D,c,"Generator"),d(D,s,function(){return this}),d(D,"toString",function(){return"[object Generator]"});function K($){var N={tryLoc:$[0]};1 in $&&(N.catchLoc=$[1]),2 in $&&(N.finallyLoc=$[2],N.afterLoc=$[3]),this.tryEntries.push(N)}function X($){var N=$.completion||{};N.type="normal",delete N.arg,$.completion=N}function Q($){this.tryEntries=[{tryLoc:"root"}],$.forEach(K,this),this.reset(!0)}r.keys=function($){var N=[];for(var U in $)N.push(U);return N.reverse(),function ee(){for(;N.length;){var te=N.pop();if(te in $)return ee.value=te,ee.done=!1,ee}return ee.done=!0,ee}};function J($){if($){var N=$[s];if(N)return N.call($);if(typeof $.next=="function")return $;if(!isNaN($.length)){var U=-1,ee=function te(){for(;++U<$.length;)if(i.call($,U))return te.value=$[U],te.done=!1,te;return te.value=a,te.done=!0,te};return ee.next=ee}}return{next:re}}r.values=J;function re(){return{value:a,done:!0}}return Q.prototype={constructor:Q,reset:function($){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(X),!$)for(var N in this)N.charAt(0)==="t"&&i.call(this,N)&&!isNaN(+N.slice(1))&&(this[N]=a)},stop:function(){this.done=!0;var $=this.tryEntries[0],N=$.completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function($){if(this.done)throw $;var N=this;function U(ue,I){return de.type="throw",de.arg=$,N.next=ue,I&&(N.method="next",N.arg=a),!!I}for(var ee=this.tryEntries.length-1;ee>=0;--ee){var te=this.tryEntries[ee],de=te.completion;if(te.tryLoc==="root")return U("end");if(te.tryLoc<=this.prev){var Se=i.call(te,"catchLoc"),xe=i.call(te,"finallyLoc");if(Se&&xe){if(this.prev<te.catchLoc)return U(te.catchLoc,!0);if(this.prev<te.finallyLoc)return U(te.finallyLoc)}else if(Se){if(this.prev<te.catchLoc)return U(te.catchLoc,!0)}else if(xe){if(this.prev<te.finallyLoc)return U(te.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function($,N){for(var U=this.tryEntries.length-1;U>=0;--U){var ee=this.tryEntries[U];if(ee.tryLoc<=this.prev&&i.call(ee,"finallyLoc")&&this.prev<ee.finallyLoc){var te=ee;break}}te&&($==="break"||$==="continue")&&te.tryLoc<=N&&N<=te.finallyLoc&&(te=null);var de=te?te.completion:{};return de.type=$,de.arg=N,te?(this.method="next",this.next=te.finallyLoc,w):this.complete(de)},complete:function($,N){if($.type==="throw")throw $.arg;return $.type==="break"||$.type==="continue"?this.next=$.arg:$.type==="return"?(this.rval=this.arg=$.arg,this.method="return",this.next="end"):$.type==="normal"&&N&&(this.next=N),w},finish:function($){for(var N=this.tryEntries.length-1;N>=0;--N){var U=this.tryEntries[N];if(U.finallyLoc===$)return this.complete(U.completion,U.afterLoc),X(U),w}},catch:function($){for(var N=this.tryEntries.length-1;N>=0;--N){var U=this.tryEntries[N];if(U.tryLoc===$){var ee=U.completion;if(ee.type==="throw"){var te=ee.arg;X(U)}return te}}throw new Error("illegal catch attempt")},delegateYield:function($,N,U){return this.delegate={iterator:J($),resultName:N,nextLoc:U},this.method==="next"&&(this.arg=a),w}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(DS)),DS.exports}_le();var yM={},_M={},rv,SM;function er(){if(SM)return rv;SM=1;var e=function(t){return t&&t.Math===Math&&t};return rv=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof rv=="object"&&rv)||(function(){return this})()||Function("return this")(),rv}var kS={},NS,EM;function Vt(){return EM||(EM=1,NS=function(e){try{return!!e()}catch{return!0}}),NS}var LS,wM;function Ir(){if(wM)return LS;wM=1;var e=Vt();return LS=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),LS}var MS,bM;function vp(){if(bM)return MS;bM=1;var e=Vt();return MS=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),MS}var $S,TM;function yr(){if(TM)return $S;TM=1;var e=vp(),t=Function.prototype.call;return $S=e?t.bind(t):function(){return t.apply(t,arguments)},$S}var FS={},RM;function Vy(){if(RM)return FS;RM=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return FS.f=r?function(i){var a=t(this,i);return!!a&&a.enumerable}:e,FS}var jS,xM;function ss(){return xM||(xM=1,jS=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),jS}var US,CM;function Gt(){if(CM)return US;CM=1;var e=vp(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return US=e?n:function(i){return function(){return r.apply(i,arguments)}},US}var qS,AM;function Qa(){if(AM)return qS;AM=1;var e=Gt(),t=e({}.toString),r=e("".slice);return qS=function(n){return r(t(n),8,-1)},qS}var VS,OM;function th(){if(OM)return VS;OM=1;var e=Gt(),t=Vt(),r=Qa(),n=Object,i=e("".split);return VS=t(function(){return!n("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):n(a)}:n,VS}var BS,IM;function hl(){return IM||(IM=1,BS=function(e){return e==null}),BS}var HS,PM;function Pi(){if(PM)return HS;PM=1;var e=hl(),t=TypeError;return HS=function(r){if(e(r))throw new t("Can't call method on "+r);return r},HS}var zS,DM;function Ta(){if(DM)return zS;DM=1;var e=th(),t=Pi();return zS=function(r){return e(t(r))},zS}var WS,kM;function _n(){if(kM)return WS;kM=1;var e=typeof document=="object"&&document.all;return WS=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},WS}var GS,NM;function Gr(){if(NM)return GS;NM=1;var e=_n();return GS=function(t){return typeof t=="object"?t!==null:e(t)},GS}var YS,LM;function pn(){if(LM)return YS;LM=1;var e=er(),t=_n(),r=function(n){return t(n)?n:void 0};return YS=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},YS}var KS,MM;function go(){if(MM)return KS;MM=1;var e=Gt();return KS=e({}.isPrototypeOf),KS}var XS,$M;function Au(){if($M)return XS;$M=1;var e=er(),t=e.navigator,r=t&&t.userAgent;return XS=r?String(r):"",XS}var QS,FM;function Ou(){if(FM)return QS;FM=1;var e=er(),t=Au(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,a=i&&i.v8,o,s;return a&&(o=a.split("."),s=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!s&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(s=+o[1]))),QS=s,QS}var JS,jM;function rh(){if(jM)return JS;jM=1;var e=Ou(),t=Vt(),r=er(),n=r.String;return JS=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),JS}var ZS,UM;function yee(){if(UM)return ZS;UM=1;var e=rh();return ZS=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ZS}var eE,qM;function vf(){if(qM)return eE;qM=1;var e=pn(),t=_n(),r=go(),n=yee(),i=Object;return eE=n?function(a){return typeof a=="symbol"}:function(a){var o=e("Symbol");return t(o)&&r(o.prototype,i(a))},eE}var tE,VM;function pf(){if(VM)return tE;VM=1;var e=String;return tE=function(t){try{return e(t)}catch{return"Object"}},tE}var rE,BM;function gn(){if(BM)return rE;BM=1;var e=_n(),t=pf(),r=TypeError;return rE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},rE}var nE,HM;function Na(){if(HM)return nE;HM=1;var e=gn(),t=hl();return nE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},nE}var iE,zM;function _ee(){if(zM)return iE;zM=1;var e=yr(),t=_n(),r=Gr(),n=TypeError;return iE=function(i,a){var o,s;if(a==="string"&&t(o=i.toString)&&!r(s=e(o,i))||t(o=i.valueOf)&&!r(s=e(o,i))||a!=="string"&&t(o=i.toString)&&!r(s=e(o,i)))return s;throw new n("Can't convert object to primitive value")},iE}var aE={exports:{}},oE,WM;function Ln(){return WM||(WM=1,oE=!1),oE}var sE,GM;function bP(){if(GM)return sE;GM=1;var e=er(),t=Object.defineProperty;return sE=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},sE}var YM;function By(){if(YM)return aE.exports;YM=1;var e=Ln(),t=er(),r=bP(),n="__core-js_shared__",i=aE.exports=t[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.45.1",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"}),aE.exports}var uE,KM;function nh(){if(KM)return uE;KM=1;var e=By();return uE=function(t,r){return e[t]||(e[t]=r||{})},uE}var lE,XM;function In(){if(XM)return lE;XM=1;var e=Pi(),t=Object;return lE=function(r){return t(e(r))},lE}var cE,QM;function mn(){if(QM)return cE;QM=1;var e=Gt(),t=In(),r=e({}.hasOwnProperty);return cE=Object.hasOwn||function(i,a){return r(t(i),a)},cE}var fE,JM;function ih(){if(JM)return fE;JM=1;var e=Gt(),t=0,r=Math.random(),n=e(1.1.toString);return fE=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},fE}var dE,ZM;function Yr(){if(ZM)return dE;ZM=1;var e=er(),t=nh(),r=mn(),n=ih(),i=rh(),a=yee(),o=e.Symbol,s=t("wks"),l=a?o.for||o:o&&o.withoutSetter||n;return dE=function(c){return r(s,c)||(s[c]=i&&r(o,c)?o[c]:l("Symbol."+c)),s[c]},dE}var hE,e$;function Hy(){if(e$)return hE;e$=1;var e=yr(),t=Gr(),r=vf(),n=Na(),i=_ee(),a=Yr(),o=TypeError,s=a("toPrimitive");return hE=function(l,c){if(!t(l)||r(l))return l;var d=n(l,s),h;if(d){if(c===void 0&&(c="default"),h=e(d,l,c),!t(h)||r(h))return h;throw new o("Can't convert object to primitive value")}return c===void 0&&(c="number"),i(l,c)},hE}var vE,t$;function sc(){if(t$)return vE;t$=1;var e=Hy(),t=vf();return vE=function(r){var n=e(r,"string");return t(n)?n:n+""},vE}var pE,r$;function zy(){if(r$)return pE;r$=1;var e=er(),t=Gr(),r=e.document,n=t(r)&&t(r.createElement);return pE=function(i){return n?r.createElement(i):{}},pE}var gE,n$;function See(){if(n$)return gE;n$=1;var e=Ir(),t=Vt(),r=zy();return gE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),gE}var i$;function La(){if(i$)return kS;i$=1;var e=Ir(),t=yr(),r=Vy(),n=ss(),i=Ta(),a=sc(),o=mn(),s=See(),l=Object.getOwnPropertyDescriptor;return kS.f=e?l:function(d,h){if(d=i(d),h=a(h),s)try{return l(d,h)}catch{}if(o(d,h))return n(!t(r.f,d,h),d[h])},kS}var mE={},yE,a$;function Eee(){if(a$)return yE;a$=1;var e=Ir(),t=Vt();return yE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),yE}var _E,o$;function br(){if(o$)return _E;o$=1;var e=Gr(),t=String,r=TypeError;return _E=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},_E}var s$;function xi(){if(s$)return mE;s$=1;var e=Ir(),t=See(),r=Eee(),n=br(),i=sc(),a=TypeError,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";return mE.f=e?r?function(v,g,S){if(n(v),g=i(g),n(S),typeof v=="function"&&g==="prototype"&&"value"in S&&d in S&&!S[d]){var E=s(v,g);E&&E[d]&&(v[g]=S.value,S={configurable:c in S?S[c]:E[c],enumerable:l in S?S[l]:E[l],writable:!1})}return o(v,g,S)}:o:function(v,g,S){if(n(v),g=i(g),n(S),t)try{return o(v,g,S)}catch{}if("get"in S||"set"in S)throw new a("Accessors not supported");return"value"in S&&(v[g]=S.value),v},mE}var SE,u$;function Ma(){if(u$)return SE;u$=1;var e=Ir(),t=xi(),r=ss();return SE=e?function(n,i,a){return t.f(n,i,r(1,a))}:function(n,i,a){return n[i]=a,n},SE}var EE={exports:{}},wE,l$;function ah(){if(l$)return wE;l$=1;var e=Ir(),t=mn(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,i=t(r,"name"),a=i&&(function(){}).name==="something",o=i&&(!e||e&&n(r,"name").configurable);return wE={EXISTS:i,PROPER:a,CONFIGURABLE:o},wE}var bE,c$;function TP(){if(c$)return bE;c$=1;var e=Gt(),t=_n(),r=By(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),bE=r.inspectSource,bE}var TE,f$;function wee(){if(f$)return TE;f$=1;var e=er(),t=_n(),r=e.WeakMap;return TE=t(r)&&/native code/.test(String(r)),TE}var RE,d$;function Wy(){if(d$)return RE;d$=1;var e=nh(),t=ih(),r=e("keys");return RE=function(n){return r[n]||(r[n]=t(n))},RE}var xE,h$;function pp(){return h$||(h$=1,xE={}),xE}var CE,v$;function qi(){if(v$)return CE;v$=1;var e=wee(),t=er(),r=Gr(),n=Ma(),i=mn(),a=By(),o=Wy(),s=pp(),l="Object already initialized",c=t.TypeError,d=t.WeakMap,h,v,g,S=function(b){return g(b)?v(b):h(b,{})},E=function(b){return function(A){var R;if(!r(A)||(R=v(A)).type!==b)throw new c("Incompatible receiver, "+b+" required");return R}};if(e||a.state){var y=a.state||(a.state=new d);y.get=y.get,y.has=y.has,y.set=y.set,h=function(b,A){if(y.has(b))throw new c(l);return A.facade=b,y.set(b,A),A},v=function(b){return y.get(b)||{}},g=function(b){return y.has(b)}}else{var w=o("state");s[w]=!0,h=function(b,A){if(i(b,w))throw new c(l);return A.facade=b,n(b,w,A),A},v=function(b){return i(b,w)?b[w]:{}},g=function(b){return i(b,w)}}return CE={set:h,get:v,has:g,enforce:S,getterFor:E},CE}var p$;function RP(){if(p$)return EE.exports;p$=1;var e=Gt(),t=Vt(),r=_n(),n=mn(),i=Ir(),a=ah().CONFIGURABLE,o=TP(),s=qi(),l=s.enforce,c=s.get,d=String,h=Object.defineProperty,v=e("".slice),g=e("".replace),S=e([].join),E=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),y=String(String).split("String"),w=EE.exports=function(b,A,R){v(d(A),0,7)==="Symbol("&&(A="["+g(d(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),R&&R.getter&&(A="get "+A),R&&R.setter&&(A="set "+A),(!n(b,"name")||a&&b.name!==A)&&(i?h(b,"name",{value:A,configurable:!0}):b.name=A),E&&R&&n(R,"arity")&&b.length!==R.arity&&h(b,"length",{value:R.arity});try{R&&n(R,"constructor")&&R.constructor?i&&h(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var C=l(b);return n(C,"source")||(C.source=S(y,typeof A=="string"?A:"")),b};return Function.prototype.toString=w(function(){return r(this)&&c(this).source||o(this)},"toString"),EE.exports}var AE,g$;function Qn(){if(g$)return AE;g$=1;var e=_n(),t=xi(),r=RP(),n=bP();return AE=function(i,a,o,s){s||(s={});var l=s.enumerable,c=s.name!==void 0?s.name:a;if(e(o)&&r(o,c,s),s.global)l?i[a]=o:n(a,o);else{try{s.unsafe?i[a]&&(l=!0):delete i[a]}catch{}l?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i},AE}var OE={},IE,m$;function bee(){if(m$)return IE;m$=1;var e=Math.ceil,t=Math.floor;return IE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},IE}var PE,y$;function Wi(){if(y$)return PE;y$=1;var e=bee();return PE=function(t){var r=+t;return r!==r||r===0?0:e(r)},PE}var DE,_$;function vl(){if(_$)return DE;_$=1;var e=Wi(),t=Math.max,r=Math.min;return DE=function(n,i){var a=e(n);return a<0?t(a+i,0):r(a,i)},DE}var kE,S$;function us(){if(S$)return kE;S$=1;var e=Wi(),t=Math.min;return kE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},kE}var NE,E$;function ii(){if(E$)return NE;E$=1;var e=us();return NE=function(t){return e(t.length)},NE}var LE,w$;function gp(){if(w$)return LE;w$=1;var e=Ta(),t=vl(),r=ii(),n=function(i){return function(a,o,s){var l=e(a),c=r(l);if(c===0)return!i&&-1;var d=t(s,c),h;if(i&&o!==o){for(;c>d;)if(h=l[d++],h!==h)return!0}else for(;c>d;d++)if((i||d in l)&&l[d]===o)return i||d||0;return!i&&-1}};return LE={includes:n(!0),indexOf:n(!1)},LE}var ME,b$;function Tee(){if(b$)return ME;b$=1;var e=Gt(),t=mn(),r=Ta(),n=gp().indexOf,i=pp(),a=e([].push);return ME=function(o,s){var l=r(o),c=0,d=[],h;for(h in l)!t(i,h)&&t(l,h)&&a(d,h);for(;s.length>c;)t(l,h=s[c++])&&(~n(d,h)||a(d,h));return d},ME}var $E,T$;function xP(){return T$||(T$=1,$E=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),$E}var R$;function gf(){if(R$)return OE;R$=1;var e=Tee(),t=xP(),r=t.concat("length","prototype");return OE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},OE}var FE={},x$;function Gy(){return x$||(x$=1,FE.f=Object.getOwnPropertySymbols),FE}var jE,C$;function CP(){if(C$)return jE;C$=1;var e=pn(),t=Gt(),r=gf(),n=Gy(),i=br(),a=t([].concat);return jE=e("Reflect","ownKeys")||function(s){var l=r.f(i(s)),c=n.f;return c?a(l,c(s)):l},jE}var UE,A$;function oh(){if(A$)return UE;A$=1;var e=mn(),t=CP(),r=La(),n=xi();return UE=function(i,a,o){for(var s=t(a),l=n.f,c=r.f,d=0;d<s.length;d++){var h=s[d];!e(i,h)&&!(o&&e(o,h))&&l(i,h,c(a,h))}},UE}var qE,O$;function mp(){if(O$)return qE;O$=1;var e=Vt(),t=_n(),r=/#|\.prototype\./,n=function(l,c){var d=a[i(l)];return d===s?!0:d===o?!1:t(c)?e(c):!!c},i=n.normalize=function(l){return String(l).replace(r,".").toLowerCase()},a=n.data={},o=n.NATIVE="N",s=n.POLYFILL="P";return qE=n,qE}var VE,I$;function Ue(){if(I$)return VE;I$=1;var e=er(),t=La().f,r=Ma(),n=Qn(),i=bP(),a=oh(),o=mp();return VE=function(s,l){var c=s.target,d=s.global,h=s.stat,v,g,S,E,y,w;if(d?g=e:h?g=e[c]||i(c,{}):g=e[c]&&e[c].prototype,g)for(S in l){if(y=l[S],s.dontCallGetSet?(w=t(g,S),E=w&&w.value):E=g[S],v=o(d?S:c+(h?".":"#")+S,s.forced),!v&&E!==void 0){if(typeof y==typeof E)continue;a(y,E)}(s.sham||E&&E.sham)&&r(y,"sham",!0),n(g,S,y,s)}},VE}var BE,P$;function AP(){if(P$)return BE;P$=1;var e=Yr(),t=e("toStringTag"),r={};return r[t]="z",BE=String(r)==="[object z]",BE}var HE,D$;function ls(){if(D$)return HE;D$=1;var e=AP(),t=_n(),r=Qa(),n=Yr(),i=n("toStringTag"),a=Object,o=r((function(){return arguments})())==="Arguments",s=function(l,c){try{return l[c]}catch{}};return HE=e?r:function(l){var c,d,h;return l===void 0?"Undefined":l===null?"Null":typeof(d=s(c=a(l),i))=="string"?d:o?r(c):(h=r(c))==="Object"&&t(c.callee)?"Arguments":h},HE}var zE,k$;function tn(){if(k$)return zE;k$=1;var e=ls(),t=String;return zE=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},zE}var WE={},GE,N$;function yp(){if(N$)return GE;N$=1;var e=Tee(),t=xP();return GE=Object.keys||function(n){return e(n,t)},GE}var L$;function OP(){if(L$)return WE;L$=1;var e=Ir(),t=Eee(),r=xi(),n=br(),i=Ta(),a=yp();return WE.f=e&&!t?Object.defineProperties:function(s,l){n(s);for(var c=i(l),d=a(l),h=d.length,v=0,g;h>v;)r.f(s,g=d[v++],c[g]);return s},WE}var YE,M$;function Ree(){if(M$)return YE;M$=1;var e=pn();return YE=e("document","documentElement"),YE}var KE,$$;function $a(){if($$)return KE;$$=1;var e=br(),t=OP(),r=xP(),n=pp(),i=Ree(),a=zy(),o=Wy(),s=">",l="<",c="prototype",d="script",h=o("IE_PROTO"),v=function(){},g=function(b){return l+d+s+b+l+"/"+d+s},S=function(b){b.write(g("")),b.close();var A=b.parentWindow.Object;return b=null,A},E=function(){var b=a("iframe"),A="java"+d+":",R;return b.style.display="none",i.appendChild(b),b.src=String(A),R=b.contentWindow.document,R.open(),R.write(g("document.F=Object")),R.close(),R.F},y,w=function(){try{y=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&y?S(y):E():S(y);for(var b=r.length;b--;)delete w[c][r[b]];return w()};return n[h]=!0,KE=Object.create||function(A,R){var C;return A!==null?(v[c]=e(A),C=new v,v[c]=null,C[h]=A):C=w(),R===void 0?C:t.f(C,R)},KE}var XE={},QE,F$;function $s(){if(F$)return QE;F$=1;var e=Gt();return QE=e([].slice),QE}var j$;function IP(){if(j$)return XE;j$=1;var e=Qa(),t=Ta(),r=gf().f,n=$s(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(o){try{return r(o)}catch{return n(i)}};return XE.f=function(s){return i&&e(s)==="Window"?a(s):r(t(s))},XE}var JE,U$;function Zi(){if(U$)return JE;U$=1;var e=RP(),t=xi();return JE=function(r,n,i){return i.get&&e(i.get,n,{getter:!0}),i.set&&e(i.set,n,{setter:!0}),t.f(r,n,i)},JE}var ZE={},q$;function xee(){if(q$)return ZE;q$=1;var e=Yr();return ZE.f=e,ZE}var ew,V$;function Yy(){if(V$)return ew;V$=1;var e=er();return ew=e,ew}var tw,B$;function Ja(){if(B$)return tw;B$=1;var e=Yy(),t=mn(),r=xee(),n=xi().f;return tw=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||n(a,i,{value:r.f(i)})},tw}var rw,H$;function Cee(){if(H$)return rw;H$=1;var e=yr(),t=pn(),r=Yr(),n=Qn();return rw=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,s=r("toPrimitive");a&&!a[s]&&n(a,s,function(l){return e(o,this)},{arity:1})},rw}var nw,z$;function Uo(){if(z$)return nw;z$=1;var e=xi().f,t=mn(),r=Yr(),n=r("toStringTag");return nw=function(i,a,o){i&&!o&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:a})},nw}var iw,W$;function mf(){if(W$)return iw;W$=1;var e=Qa(),t=Gt();return iw=function(r){if(e(r)==="Function")return t(r)},iw}var aw,G$;function cs(){if(G$)return aw;G$=1;var e=mf(),t=gn(),r=vp(),n=e(e.bind);return aw=function(i,a){return t(i),a===void 0?i:r?n(i,a):function(){return i.apply(a,arguments)}},aw}var ow,Y$;function uc(){if(Y$)return ow;Y$=1;var e=Qa();return ow=Array.isArray||function(r){return e(r)==="Array"},ow}var sw,K$;function yf(){if(K$)return sw;K$=1;var e=Gt(),t=Vt(),r=_n(),n=ls(),i=pn(),a=TP(),o=function(){},s=i("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=e(l.exec),d=!l.test(o),h=function(S){if(!r(S))return!1;try{return s(o,[],S),!0}catch{return!1}},v=function(S){if(!r(S))return!1;switch(n(S)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(l,a(S))}catch{return!0}};return v.sham=!0,sw=!s||t(function(){var g;return h(h.call)||!h(Object)||!h(function(){g=!0})||g})?v:h,sw}var uw,X$;function Sle(){if(X$)return uw;X$=1;var e=uc(),t=yf(),r=Gr(),n=Yr(),i=n("species"),a=Array;return uw=function(o){var s;return e(o)&&(s=o.constructor,t(s)&&(s===a||e(s.prototype))?s=void 0:r(s)&&(s=s[i],s===null&&(s=void 0))),s===void 0?a:s},uw}var lw,Q$;function _p(){if(Q$)return lw;Q$=1;var e=Sle();return lw=function(t,r){return new(e(t))(r===0?0:r)},lw}var cw,J$;function Fa(){if(J$)return cw;J$=1;var e=cs(),t=Gt(),r=th(),n=In(),i=ii(),a=_p(),o=t([].push),s=function(l){var c=l===1,d=l===2,h=l===3,v=l===4,g=l===6,S=l===7,E=l===5||g;return function(y,w,b,A){for(var R=n(y),C=r(R),O=i(C),m=e(w,b),D=0,k=A||a,q=c?k(y,O):d||S?k(y,0):void 0,j,W;O>D;D++)if((E||D in C)&&(j=C[D],W=m(j,D,R),l))if(c)q[D]=W;else if(W)switch(l){case 3:return!0;case 5:return j;case 6:return D;case 2:o(q,j)}else switch(l){case 4:return!1;case 7:o(q,j)}return g?-1:h||v?v:q}};return cw={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)},cw}var Z$;function Ele(){if(Z$)return _M;Z$=1;var e=Ue(),t=er(),r=yr(),n=Gt(),i=Ln(),a=Ir(),o=rh(),s=Vt(),l=mn(),c=go(),d=br(),h=Ta(),v=sc(),g=tn(),S=ss(),E=$a(),y=yp(),w=gf(),b=IP(),A=Gy(),R=La(),C=xi(),O=OP(),m=Vy(),D=Qn(),k=Zi(),q=nh(),j=Wy(),W=pp(),K=ih(),X=Yr(),Q=xee(),J=Ja(),re=Cee(),$=Uo(),N=qi(),U=Fa().forEach,ee=j("hidden"),te="Symbol",de="prototype",Se=N.set,xe=N.getterFor(te),ue=Object[de],I=t.Symbol,P=I&&I[de],B=t.RangeError,L=t.TypeError,H=t.QObject,ne=R.f,ce=C.f,we=b.f,_e=m.f,Oe=n([].push),Re=q("symbols"),Ie=q("op-symbols"),$e=q("wks"),me=!H||!H[de]||!H[de].findChild,be=function(Rt,_t,st){var rt=ne(ue,_t);rt&&delete ue[_t],ce(Rt,_t,st),rt&&Rt!==ue&&ce(ue,_t,rt)},Te=a&&s(function(){return E(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!==7})?be:ce,Ne=function(Rt,_t){var st=Re[Rt]=E(P);return Se(st,{type:te,tag:Rt,description:_t}),a||(st.description=_t),st},Ve=function(_t,st,rt){_t===ue&&Ve(Ie,st,rt),d(_t);var dt=v(st);return d(rt),l(Re,dt)?(rt.enumerable?(l(_t,ee)&&_t[ee][dt]&&(_t[ee][dt]=!1),rt=E(rt,{enumerable:S(0,!1)})):(l(_t,ee)||ce(_t,ee,S(1,E(null))),_t[ee][dt]=!0),Te(_t,dt,rt)):ce(_t,dt,rt)},qe=function(_t,st){d(_t);var rt=h(st),dt=y(rt).concat(Je(rt));return U(dt,function(Yt){(!a||r(ct,rt,Yt))&&Ve(_t,Yt,rt[Yt])}),_t},Ge=function(_t,st){return st===void 0?E(_t):qe(E(_t),st)},ct=function(_t){var st=v(_t),rt=r(_e,this,st);return this===ue&&l(Re,st)&&!l(Ie,st)?!1:rt||!l(this,st)||!l(Re,st)||l(this,ee)&&this[ee][st]?rt:!0},Ut=function(_t,st){var rt=h(_t),dt=v(st);if(!(rt===ue&&l(Re,dt)&&!l(Ie,dt))){var Yt=ne(rt,dt);return Yt&&l(Re,dt)&&!(l(rt,ee)&&rt[ee][dt])&&(Yt.enumerable=!0),Yt}},Wt=function(_t){var st=we(h(_t)),rt=[];return U(st,function(dt){!l(Re,dt)&&!l(W,dt)&&Oe(rt,dt)}),rt},Je=function(Rt){var _t=Rt===ue,st=we(_t?Ie:h(Rt)),rt=[];return U(st,function(dt){l(Re,dt)&&(!_t||l(ue,dt))&&Oe(rt,Re[dt])}),rt};return o||(I=function(){if(c(P,this))throw new L("Symbol is not a constructor");var _t=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),st=K(_t),rt=function(dt){var Yt=this===void 0?t:this;Yt===ue&&r(rt,Ie,dt),l(Yt,ee)&&l(Yt[ee],st)&&(Yt[ee][st]=!1);var Lt=S(1,dt);try{Te(Yt,st,Lt)}catch(Ce){if(!(Ce instanceof B))throw Ce;be(Yt,st,Lt)}};return a&&me&&Te(ue,st,{configurable:!0,set:rt}),Ne(st,_t)},P=I[de],D(P,"toString",function(){return xe(this).tag}),D(I,"withoutSetter",function(Rt){return Ne(K(Rt),Rt)}),m.f=ct,C.f=Ve,O.f=qe,R.f=Ut,w.f=b.f=Wt,A.f=Je,Q.f=function(Rt){return Ne(X(Rt),Rt)},a&&(k(P,"description",{configurable:!0,get:function(){return xe(this).description}}),i||D(ue,"propertyIsEnumerable",ct,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:I}),U(y($e),function(Rt){J(Rt)}),e({target:te,stat:!0,forced:!o},{useSetter:function(){me=!0},useSimple:function(){me=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!a},{create:Ge,defineProperty:Ve,defineProperties:qe,getOwnPropertyDescriptor:Ut}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:Wt}),re(),$(I,te),W[ee]=!0,_M}var eF={},fw,tF;function Aee(){if(tF)return fw;tF=1;var e=rh();return fw=e&&!!Symbol.for&&!!Symbol.keyFor,fw}var rF;function wle(){if(rF)return eF;rF=1;var e=Ue(),t=pn(),r=mn(),n=tn(),i=nh(),a=Aee(),o=i("string-to-symbol-registry"),s=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{for:function(l){var c=n(l);if(r(o,c))return o[c];var d=t("Symbol")(c);return o[c]=d,s[d]=c,d}}),eF}var nF={},iF;function ble(){if(iF)return nF;iF=1;var e=Ue(),t=mn(),r=vf(),n=pf(),i=nh(),a=Aee(),o=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(l){if(!r(l))throw new TypeError(n(l)+" is not a symbol");if(t(o,l))return o[l]}}),nF}var aF={},dw,oF;function fs(){if(oF)return dw;oF=1;var e=vp(),t=Function.prototype,r=t.apply,n=t.call;return dw=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),dw}var hw,sF;function Tle(){if(sF)return hw;sF=1;var e=Gt(),t=uc(),r=_n(),n=Qa(),i=tn(),a=e([].push);return hw=function(o){if(r(o))return o;if(t(o)){for(var s=o.length,l=[],c=0;c<s;c++){var d=o[c];typeof d=="string"?a(l,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&a(l,i(d))}var h=l.length,v=!0;return function(g,S){if(v)return v=!1,S;if(t(this))return S;for(var E=0;E<h;E++)if(l[E]===g)return S}}},hw}var uF;function Oee(){if(uF)return aF;uF=1;var e=Ue(),t=pn(),r=fs(),n=yr(),i=Gt(),a=Vt(),o=_n(),s=vf(),l=$s(),c=Tle(),d=rh(),h=String,v=t("JSON","stringify"),g=i(/./.exec),S=i("".charAt),E=i("".charCodeAt),y=i("".replace),w=i(1.1.toString),b=/[\uD800-\uDFFF]/g,A=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,C=!d||a(function(){var k=t("Symbol")("stringify detection");return v([k])!=="[null]"||v({a:k})!=="{}"||v(Object(k))!=="{}"}),O=a(function(){return v("\uDF06\uD834")!=='"\\udf06\\ud834"'||v("\uDEAD")!=='"\\udead"'}),m=function(k,q){var j=l(arguments),W=c(q);if(!(!o(W)&&(k===void 0||s(k))))return j[1]=function(K,X){if(o(W)&&(X=n(W,this,h(K),X)),!s(X))return X},r(v,null,j)},D=function(k,q,j){var W=S(j,q-1),K=S(j,q+1);return g(A,k)&&!g(R,K)||g(R,k)&&!g(A,W)?"\\u"+w(E(k,0),16):k};return v&&e({target:"JSON",stat:!0,arity:3,forced:C||O},{stringify:function(q,j,W){var K=l(arguments),X=r(C?m:v,null,K);return O&&typeof X=="string"?y(X,b,D):X}}),aF}var lF={},cF;function Rle(){if(cF)return lF;cF=1;var e=Ue(),t=rh(),r=Vt(),n=Gy(),i=In(),a=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(s){var l=n.f;return l?l(i(s)):[]}}),lF}var fF;function xle(){return fF||(fF=1,Ele(),wle(),ble(),Oee(),Rle()),yM}var dF={},hF;function Cle(){if(hF)return dF;hF=1;var e=Ue(),t=Ir(),r=er(),n=Gt(),i=mn(),a=_n(),o=go(),s=tn(),l=Zi(),c=oh(),d=r.Symbol,h=d&&d.prototype;if(t&&a(d)&&(!("description"in h)||d().description!==void 0)){var v={},g=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:s(arguments[0]),O=o(h,this)?new d(C):C===void 0?d():d(C);return C===""&&(v[O]=!0),O};c(g,d),g.prototype=h,h.constructor=g;var S=String(d("description detection"))==="Symbol(description detection)",E=n(h.valueOf),y=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,b=n("".replace),A=n("".slice);l(h,"description",{configurable:!0,get:function(){var C=E(this);if(i(v,C))return"";var O=y(C),m=S?A(O,7,-1):b(O,w,"$1");return m===""?void 0:m}}),e({global:!0,constructor:!0,forced:!0},{Symbol:g})}return dF}var vF={},pF;function Ale(){if(pF)return vF;pF=1;var e=er(),t=Ja(),r=xi().f,n=La().f,i=e.Symbol;if(t("asyncDispose"),i){var a=n(i,"asyncDispose");a.enumerable&&a.configurable&&a.writable&&r(i,"asyncDispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return vF}var gF={},mF;function Ole(){if(mF)return gF;mF=1;var e=Ja();return e("asyncIterator"),gF}var yF={},_F;function Ile(){if(_F)return yF;_F=1;var e=er(),t=Ja(),r=xi().f,n=La().f,i=e.Symbol;if(t("dispose"),i){var a=n(i,"dispose");a.enumerable&&a.configurable&&a.writable&&r(i,"dispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return yF}var SF={},EF;function Ple(){if(EF)return SF;EF=1;var e=Ja();return e("hasInstance"),SF}var wF={},bF;function Dle(){if(bF)return wF;bF=1;var e=Ja();return e("isConcatSpreadable"),wF}var TF={},RF;function kle(){if(RF)return TF;RF=1;var e=Ja();return e("iterator"),TF}var xF={},CF;function Nle(){if(CF)return xF;CF=1;var e=Ja();return e("match"),xF}var AF={},OF;function Lle(){if(OF)return AF;OF=1;var e=Ja();return e("matchAll"),AF}var IF={},PF;function Mle(){if(PF)return IF;PF=1;var e=Ja();return e("replace"),IF}var DF={},kF;function $le(){if(kF)return DF;kF=1;var e=Ja();return e("search"),DF}var NF={},LF;function Fle(){if(LF)return NF;LF=1;var e=Ja();return e("species"),NF}var MF={},$F;function jle(){if($F)return MF;$F=1;var e=Ja();return e("split"),MF}var FF={},jF;function Ule(){if(jF)return FF;jF=1;var e=Ja(),t=Cee();return e("toPrimitive"),t(),FF}var UF={},qF;function qle(){if(qF)return UF;qF=1;var e=pn(),t=Ja(),r=Uo();return t("toStringTag"),r(e("Symbol"),"Symbol"),UF}var VF={},BF;function Vle(){if(BF)return VF;BF=1;var e=Ja();return e("unscopables"),VF}var HF={},vw,zF;function Ky(){if(zF)return vw;zF=1;var e=Gt(),t=gn();return vw=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},vw}var pw,WF;function Iee(){if(WF)return pw;WF=1;var e=Gr();return pw=function(t){return e(t)||t===null},pw}var gw,GF;function Pee(){if(GF)return gw;GF=1;var e=Iee(),t=String,r=TypeError;return gw=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},gw}var mw,YF;function ru(){if(YF)return mw;YF=1;var e=Ky(),t=Gr(),r=Pi(),n=Pee();return mw=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},o;try{o=e(Object.prototype,"__proto__","set"),o(a,[]),i=a instanceof Array}catch{}return function(l,c){return r(l),n(c),t(l)&&(i?o(l,c):l.__proto__=c),l}})():void 0),mw}var yw,KF;function Dee(){if(KF)return yw;KF=1;var e=xi().f;return yw=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},yw}var _w,XF;function _f(){if(XF)return _w;XF=1;var e=_n(),t=Gr(),r=ru();return _w=function(n,i,a){var o,s;return r&&e(o=i.constructor)&&o!==a&&t(s=o.prototype)&&s!==a.prototype&&r(n,s),n},_w}var Sw,QF;function sh(){if(QF)return Sw;QF=1;var e=tn();return Sw=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},Sw}var Ew,JF;function kee(){if(JF)return Ew;JF=1;var e=Gr(),t=Ma();return Ew=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},Ew}var ww,ZF;function PP(){if(ZF)return ww;ZF=1;var e=Gt(),t=Error,r=e("".replace),n=(function(o){return String(new t(o).stack)})("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,a=i.test(n);return ww=function(o,s){if(a&&typeof o=="string"&&!t.prepareStackTrace)for(;s--;)o=r(o,i,"");return o},ww}var bw,ej;function Nee(){if(ej)return bw;ej=1;var e=Vt(),t=ss();return bw=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),bw}var Tw,tj;function DP(){if(tj)return Tw;tj=1;var e=Ma(),t=PP(),r=Nee(),n=Error.captureStackTrace;return Tw=function(i,a,o,s){r&&(n?n(i,a):e(i,"stack",t(o,s)))},Tw}var Rw,rj;function Lee(){if(rj)return Rw;rj=1;var e=pn(),t=mn(),r=Ma(),n=go(),i=ru(),a=oh(),o=Dee(),s=_f(),l=sh(),c=kee(),d=DP(),h=Ir(),v=Ln();return Rw=function(g,S,E,y){var w="stackTraceLimit",b=y?2:1,A=g.split("."),R=A[A.length-1],C=e.apply(null,A);if(C){var O=C.prototype;if(!v&&t(O,"cause")&&delete O.cause,!E)return C;var m=e("Error"),D=S(function(k,q){var j=l(y?q:k,void 0),W=y?new C(k):new C;return j!==void 0&&r(W,"message",j),d(W,D,W.stack,2),this&&n(O,this)&&s(W,this,D),arguments.length>b&&c(W,arguments[b]),W});if(D.prototype=O,R!=="Error"?i?i(D,m):a(D,m,{name:!0}):h&&w in C&&(o(D,C,w),o(D,C,"prepareStackTrace")),a(D,C),!v)try{O.name!==R&&r(O,"name",R),O.constructor=D}catch{}return D}},Rw}var nj;function Ble(){if(nj)return HF;nj=1;var e=Ue(),t=er(),r=fs(),n=Lee(),i="WebAssembly",a=t[i],o=new Error("e",{cause:7}).cause!==7,s=function(c,d){var h={};h[c]=n(c,d,o),e({global:!0,constructor:!0,arity:1,forced:o},h)},l=function(c,d){if(a&&a[c]){var h={};h[c]=n(i+"."+c,d,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},h)}};return s("Error",function(c){return function(h){return r(c,this,arguments)}}),s("EvalError",function(c){return function(h){return r(c,this,arguments)}}),s("RangeError",function(c){return function(h){return r(c,this,arguments)}}),s("ReferenceError",function(c){return function(h){return r(c,this,arguments)}}),s("SyntaxError",function(c){return function(h){return r(c,this,arguments)}}),s("TypeError",function(c){return function(h){return r(c,this,arguments)}}),s("URIError",function(c){return function(h){return r(c,this,arguments)}}),l("CompileError",function(c){return function(h){return r(c,this,arguments)}}),l("LinkError",function(c){return function(h){return r(c,this,arguments)}}),l("RuntimeError",function(c){return function(h){return r(c,this,arguments)}}),HF}var ij={},aj;function Hle(){if(aj)return ij;aj=1;var e=Ue(),t=pn(),r=Gr(),n=ls(),i=Vt(),a="Error",o="DOMException",s=Object.setPrototypeOf||{}.__proto__,l=t(o),c=Error,d=c.isError,h=!d||!s||i(function(){return l&&!d(new l(o))||!d(new c(a,{cause:function(){}}))||d(t("Object","create")(c.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(g){if(!r(g))return!1;var S=n(g);return S===a||S===o}}),ij}var oj={},xw,sj;function Mee(){if(sj)return xw;sj=1;var e=Ir(),t=Vt(),r=br(),n=sh(),i=Error.prototype.toString,a=t(function(){if(e){var o=Object.create(Object.defineProperty({},"name",{get:function(){return this===o}}));if(i.call(o)!=="true")return!0}return i.call({message:1,name:2})!=="2: 1"||i.call({})!=="Error"});return xw=a?function(){var s=r(this),l=n(s.name,"Error"),c=n(s.message);return l?c?l+": "+c:l:c}:i,xw}var uj;function zle(){if(uj)return oj;uj=1;var e=Qn(),t=Mee(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),oj}var lj={},cj={},Cw,fj;function kP(){if(fj)return Cw;fj=1;var e=Vt();return Cw=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Cw}var Aw,dj;function mo(){if(dj)return Aw;dj=1;var e=mn(),t=_n(),r=In(),n=Wy(),i=kP(),a=n("IE_PROTO"),o=Object,s=o.prototype;return Aw=i?o.getPrototypeOf:function(l){var c=r(l);if(e(c,a))return c[a];var d=c.constructor;return t(d)&&c instanceof d?d.prototype:c instanceof o?s:null},Aw}var Ow,hj;function Sp(){return hj||(hj=1,Ow={}),Ow}var Iw,vj;function NP(){if(vj)return Iw;vj=1;var e=Yr(),t=Sp(),r=e("iterator"),n=Array.prototype;return Iw=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},Iw}var Pw,pj;function Sf(){if(pj)return Pw;pj=1;var e=ls(),t=Na(),r=hl(),n=Sp(),i=Yr(),a=i("iterator");return Pw=function(o){if(!r(o))return t(o,a)||t(o,"@@iterator")||n[e(o)]},Pw}var Dw,gj;function uh(){if(gj)return Dw;gj=1;var e=yr(),t=gn(),r=br(),n=pf(),i=Sf(),a=TypeError;return Dw=function(o,s){var l=arguments.length<2?i(o):s;if(t(l))return r(e(l,o));throw new a(n(o)+" is not iterable")},Dw}var kw,mj;function ja(){if(mj)return kw;mj=1;var e=yr(),t=br(),r=Na();return kw=function(n,i,a){var o,s;t(n);try{if(o=r(n,"return"),!o){if(i==="throw")throw a;return a}o=e(o,n)}catch(l){s=!0,o=l}if(i==="throw")throw a;if(s)throw o;return t(o),a},kw}var Nw,yj;function ha(){if(yj)return Nw;yj=1;var e=cs(),t=yr(),r=br(),n=pf(),i=NP(),a=ii(),o=go(),s=uh(),l=Sf(),c=ja(),d=TypeError,h=function(g,S){this.stopped=g,this.result=S},v=h.prototype;return Nw=function(g,S,E){var y=E&&E.that,w=!!(E&&E.AS_ENTRIES),b=!!(E&&E.IS_RECORD),A=!!(E&&E.IS_ITERATOR),R=!!(E&&E.INTERRUPTED),C=e(S,y),O,m,D,k,q,j,W,K=function(Q){return O&&c(O,"normal"),new h(!0,Q)},X=function(Q){return w?(r(Q),R?C(Q[0],Q[1],K):C(Q[0],Q[1])):R?C(Q,K):C(Q)};if(b)O=g.iterator;else if(A)O=g;else{if(m=l(g),!m)throw new d(n(g)+" is not iterable");if(i(m)){for(D=0,k=a(g);k>D;D++)if(q=X(g[D]),q&&o(v,q))return q;return new h(!1)}O=s(g,m)}for(j=b?g.next:O.next;!(W=t(j,O)).done;){try{q=X(W.value)}catch(Q){c(O,"throw",Q)}if(typeof q=="object"&&q&&o(v,q))return q}return new h(!1)},Nw}var _j;function Wle(){if(_j)return cj;_j=1;var e=Ue(),t=go(),r=mo(),n=ru(),i=oh(),a=$a(),o=Ma(),s=ss(),l=kee(),c=DP(),d=ha(),h=sh(),v=Yr(),g=v("toStringTag"),S=Error,E=[].push,y=function(A,R){var C=t(w,this),O;n?O=n(new S,C?r(this):w):(O=C?this:a(w),o(O,g,"Error")),R!==void 0&&o(O,"message",h(R)),c(O,y,O.stack,1),arguments.length>2&&l(O,arguments[2]);var m=[];return d(A,E,{that:m}),o(O,"errors",m),O};n?n(y,S):i(y,S,{name:!0});var w=y.prototype=a(S.prototype,{constructor:s(1,y),message:s(1,""),name:s(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:y}),cj}var Sj;function Gle(){return Sj||(Sj=1,Wle()),lj}var Ej={},wj;function Yle(){if(wj)return Ej;wj=1;var e=Ue(),t=pn(),r=fs(),n=Vt(),i=Lee(),a="AggregateError",o=t(a),s=!n(function(){return o([1]).errors[0]!==1})&&n(function(){return o([1],a,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:i(a,function(l){return function(d,h){return r(l,this,arguments)}},s,!0)}),Ej}var bj={},Tj;function Kle(){if(Tj)return bj;Tj=1;var e=Ue(),t=er(),r=go(),n=mo(),i=ru(),a=oh(),o=$a(),s=Ma(),l=ss(),c=DP(),d=sh(),h=Yr(),v=Vt(),g=Ln(),S=t.SuppressedError,E=h("toStringTag"),y=Error,w=!!S&&S.length!==3,b=!!S&&v(function(){return new S(1,2,3,{cause:4}).cause===4}),A=w||b,R=function(m,D,k){var q=r(C,this),j;return i?j=A&&(!q||n(this)===C)?new S:i(new y,q?n(this):C):(j=q?this:o(C),s(j,E,"Error")),k!==void 0&&s(j,"message",d(k)),c(j,R,j.stack,1),s(j,"error",m),s(j,"suppressed",D),j};i?i(R,y):a(R,y,{name:!0});var C=R.prototype=A?S.prototype:o(y.prototype,{constructor:l(1,R),message:l(1,""),name:l(1,"SuppressedError")});return A&&!g&&(C.constructor=R),e({global:!0,constructor:!0,arity:3,forced:A},{SuppressedError:R}),bj}var Rj={},Lw,xj;function qo(){if(xj)return Lw;xj=1;var e=Yr(),t=$a(),r=xi().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),Lw=function(a){i[n][a]=!0},Lw}var Cj;function Xle(){if(Cj)return Rj;Cj=1;var e=Ue(),t=In(),r=ii(),n=Wi(),i=qo();return e({target:"Array",proto:!0},{at:function(o){var s=t(this),l=r(s),c=n(o),d=c>=0?c:l+c;return d<0||d>=l?void 0:s[d]}}),i("at"),Rj}var Aj={},Mw,Oj;function Ef(){if(Oj)return Mw;Oj=1;var e=TypeError,t=9007199254740991;return Mw=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},Mw}var $w,Ij;function pl(){if(Ij)return $w;Ij=1;var e=Ir(),t=xi(),r=ss();return $w=function(n,i,a){e?t.f(n,i,r(0,a)):n[i]=a},$w}var Fw,Pj;function Ep(){if(Pj)return Fw;Pj=1;var e=Vt(),t=Yr(),r=Ou(),n=t("species");return Fw=function(i){return r>=51||!e(function(){var a=[],o=a.constructor={};return o[n]=function(){return{foo:1}},a[i](Boolean).foo!==1})},Fw}var Dj;function Qle(){if(Dj)return Aj;Dj=1;var e=Ue(),t=Vt(),r=uc(),n=Gr(),i=In(),a=ii(),o=Ef(),s=pl(),l=_p(),c=Ep(),d=Yr(),h=Ou(),v=d("isConcatSpreadable"),g=h>=51||!t(function(){var y=[];return y[v]=!1,y.concat()[0]!==y}),S=function(y){if(!n(y))return!1;var w=y[v];return w!==void 0?!!w:r(y)},E=!g||!c("concat");return e({target:"Array",proto:!0,arity:1,forced:E},{concat:function(w){var b=i(this),A=l(b,0),R=0,C,O,m,D,k;for(C=-1,m=arguments.length;C<m;C++)if(k=C===-1?b:arguments[C],S(k))for(D=a(k),o(R+D),O=0;O<D;O++,R++)O in k&&s(A,R,k[O]);else o(R+1),s(A,R++,k);return A.length=R,A}}),Aj}var kj={},jw,Nj;function Xy(){if(Nj)return jw;Nj=1;var e=pf(),t=TypeError;return jw=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},jw}var Uw,Lj;function $ee(){if(Lj)return Uw;Lj=1;var e=In(),t=vl(),r=ii(),n=Xy(),i=Math.min;return Uw=[].copyWithin||function(o,s){var l=e(this),c=r(l),d=t(o,c),h=t(s,c),v=arguments.length>2?arguments[2]:void 0,g=i((v===void 0?c:t(v,c))-h,c-d),S=1;for(h<d&&d<h+g&&(S=-1,h+=g-1,d+=g-1);g-- >0;)h in l?l[d]=l[h]:n(l,d),d+=S,h+=S;return l},Uw}var Mj;function Jle(){if(Mj)return kj;Mj=1;var e=Ue(),t=$ee(),r=qo();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),kj}var $j={},qw,Fj;function gl(){if(Fj)return qw;Fj=1;var e=Vt();return qw=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},qw}var jj;function Zle(){if(jj)return $j;jj=1;var e=Ue(),t=Fa().every,r=gl(),n=r("every");return e({target:"Array",proto:!0,forced:!n},{every:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),$j}var Uj={},Vw,qj;function LP(){if(qj)return Vw;qj=1;var e=In(),t=vl(),r=ii();return Vw=function(i){for(var a=e(this),o=r(a),s=arguments.length,l=t(s>1?arguments[1]:void 0,o),c=s>2?arguments[2]:void 0,d=c===void 0?o:t(c,o);d>l;)a[l++]=i;return a},Vw}var Vj;function ece(){if(Vj)return Uj;Vj=1;var e=Ue(),t=LP(),r=qo();return e({target:"Array",proto:!0},{fill:t}),r("fill"),Uj}var Bj={},Hj;function tce(){if(Hj)return Bj;Hj=1;var e=Ue(),t=Fa().filter,r=Ep(),n=r("filter");return e({target:"Array",proto:!0,forced:!n},{filter:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),Bj}var zj={},Wj;function rce(){if(Wj)return zj;Wj=1;var e=Ue(),t=Fa().find,r=qo(),n="find",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{find:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),zj}var Gj={},Yj;function nce(){if(Yj)return Gj;Yj=1;var e=Ue(),t=Fa().findIndex,r=qo(),n="findIndex",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{findIndex:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),Gj}var Kj={},Bw,Xj;function Qy(){if(Xj)return Bw;Xj=1;var e=cs(),t=th(),r=In(),n=ii(),i=function(a){var o=a===1;return function(s,l,c){for(var d=r(s),h=t(d),v=n(h),g=e(l,c),S,E;v-- >0;)if(S=h[v],E=g(S,v,d),E)switch(a){case 0:return S;case 1:return v}return o?-1:void 0}};return Bw={findLast:i(0),findLastIndex:i(1)},Bw}var Qj;function ice(){if(Qj)return Kj;Qj=1;var e=Ue(),t=Qy().findLast,r=qo();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),Kj}var Jj={},Zj;function ace(){if(Zj)return Jj;Zj=1;var e=Ue(),t=Qy().findLastIndex,r=qo();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),Jj}var e3={},Hw,t3;function Fee(){if(t3)return Hw;t3=1;var e=uc(),t=ii(),r=Ef(),n=cs(),i=function(a,o,s,l,c,d,h,v){for(var g=c,S=0,E=h?n(h,v):!1,y,w;S<l;)S in s&&(y=E?E(s[S],S,o):s[S],d>0&&e(y)?(w=t(y),g=i(a,o,y,w,g,d-1)-1):(r(g+1),a[g]=y),g++),S++;return g};return Hw=i,Hw}var r3;function oce(){if(r3)return e3;r3=1;var e=Ue(),t=Fee(),r=In(),n=ii(),i=Wi(),a=_p();return e({target:"Array",proto:!0},{flat:function(){var s=arguments.length?arguments[0]:void 0,l=r(this),c=n(l),d=a(l,0);return d.length=t(d,l,l,c,0,s===void 0?1:i(s)),d}}),e3}var n3={},i3;function sce(){if(i3)return n3;i3=1;var e=Ue(),t=Fee(),r=gn(),n=In(),i=ii(),a=_p();return e({target:"Array",proto:!0},{flatMap:function(s){var l=n(this),c=i(l),d;return r(s),d=a(l,0),d.length=t(d,l,l,c,0,1,s,arguments.length>1?arguments[1]:void 0),d}}),n3}var a3={},zw,o3;function jee(){if(o3)return zw;o3=1;var e=Fa().forEach,t=gl(),r=t("forEach");return zw=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},zw}var s3;function uce(){if(s3)return a3;s3=1;var e=Ue(),t=jee();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),a3}var u3={},Ww,l3;function MP(){if(l3)return Ww;l3=1;var e=br(),t=ja();return Ww=function(r,n,i,a){try{return a?n(e(i)[0],i[1]):n(i)}catch(o){t(r,"throw",o)}},Ww}var Gw,c3;function Uee(){if(c3)return Gw;c3=1;var e=cs(),t=yr(),r=In(),n=MP(),i=NP(),a=yf(),o=ii(),s=pl(),l=uh(),c=Sf(),d=Array;return Gw=function(v){var g=r(v),S=a(this),E=arguments.length,y=E>1?arguments[1]:void 0,w=y!==void 0;w&&(y=e(y,E>2?arguments[2]:void 0));var b=c(g),A=0,R,C,O,m,D,k;if(b&&!(this===d&&i(b)))for(C=S?new this:[],m=l(g,b),D=m.next;!(O=t(D,m)).done;A++)k=w?n(m,y,[O.value,A],!0):O.value,s(C,A,k);else for(R=o(g),C=S?new this(R):d(R);R>A;A++)k=w?y(g[A],A):g[A],s(C,A,k);return C.length=A,C},Gw}var Yw,f3;function Jy(){if(f3)return Yw;f3=1;var e=Yr(),t=e("iterator"),r=!1;try{var n=0,i={next:function(){return{done:!!n++}},return:function(){r=!0}};i[t]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Yw=function(a,o){try{if(!o&&!r)return!1}catch{return!1}var s=!1;try{var l={};l[t]=function(){return{next:function(){return{done:s=!0}}}},a(l)}catch{}return s},Yw}var d3;function lce(){if(d3)return u3;d3=1;var e=Ue(),t=Uee(),r=Jy(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),u3}var h3={},v3;function cce(){if(v3)return h3;v3=1;var e=Ue(),t=gp().includes,r=Vt(),n=qo(),i=r(function(){return!Array(1).includes()});return e({target:"Array",proto:!0,forced:i},{includes:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),n("includes"),h3}var p3={},g3;function fce(){if(g3)return p3;g3=1;var e=Ue(),t=mf(),r=gp().indexOf,n=gl(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0,o=a||!n("indexOf");return e({target:"Array",proto:!0,forced:o},{indexOf:function(l){var c=arguments.length>1?arguments[1]:void 0;return a?i(this,l,c)||0:r(this,l,c)}}),p3}var m3={},y3;function dce(){if(y3)return m3;y3=1;var e=Ue(),t=uc();return e({target:"Array",stat:!0},{isArray:t}),m3}var Kw,_3;function lh(){if(_3)return Kw;_3=1;var e=Vt(),t=_n(),r=Gr(),n=$a(),i=mo(),a=Qn(),o=Yr(),s=Ln(),l=o("iterator"),c=!1,d,h,v;[].keys&&(v=[].keys(),"next"in v?(h=i(i(v)),h!==Object.prototype&&(d=h)):c=!0);var g=!r(d)||e(function(){var S={};return d[l].call(S)!==S});return g?d={}:s&&(d=n(d)),t(d[l])||a(d,l,function(){return this}),Kw={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c},Kw}var Xw,S3;function $P(){if(S3)return Xw;S3=1;var e=lh().IteratorPrototype,t=$a(),r=ss(),n=Uo(),i=Sp(),a=function(){return this};return Xw=function(o,s,l,c){var d=s+" Iterator";return o.prototype=t(e,{next:r(+!c,l)}),n(o,d,!1,!0),i[d]=a,o},Xw}var Qw,E3;function FP(){if(E3)return Qw;E3=1;var e=Ue(),t=yr(),r=Ln(),n=ah(),i=_n(),a=$P(),o=mo(),s=ru(),l=Uo(),c=Ma(),d=Qn(),h=Yr(),v=Sp(),g=lh(),S=n.PROPER,E=n.CONFIGURABLE,y=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),A="keys",R="values",C="entries",O=function(){return this};return Qw=function(m,D,k,q,j,W,K){a(k,D,q);var X=function(Se){if(Se===j&&N)return N;if(!w&&Se&&Se in re)return re[Se];switch(Se){case A:return function(){return new k(this,Se)};case R:return function(){return new k(this,Se)};case C:return function(){return new k(this,Se)}}return function(){return new k(this)}},Q=D+" Iterator",J=!1,re=m.prototype,$=re[b]||re["@@iterator"]||j&&re[j],N=!w&&$||X(j),U=D==="Array"&&re.entries||$,ee,te,de;if(U&&(ee=o(U.call(new m)),ee!==Object.prototype&&ee.next&&(!r&&o(ee)!==y&&(s?s(ee,y):i(ee[b])||d(ee,b,O)),l(ee,Q,!0,!0),r&&(v[Q]=O))),S&&j===R&&$&&$.name!==R&&(!r&&E?c(re,"name",R):(J=!0,N=function(){return t($,this)})),j)if(te={values:X(R),keys:W?N:X(A),entries:X(C)},K)for(de in te)(w||J||!(de in re))&&d(re,de,te[de]);else e({target:D,proto:!0,forced:w||J},te);return(!r||K)&&re[b]!==N&&d(re,b,N,{name:j}),v[D]=N,te},Qw}var Jw,w3;function wf(){return w3||(w3=1,Jw=function(e,t){return{value:e,done:t}}),Jw}var Zw,b3;function Zy(){if(b3)return Zw;b3=1;var e=Ta(),t=qo(),r=Sp(),n=qi(),i=xi().f,a=FP(),o=wf(),s=Ln(),l=Ir(),c="Array Iterator",d=n.set,h=n.getterFor(c);Zw=a(Array,"Array",function(g,S){d(this,{type:c,target:e(g),index:0,kind:S})},function(){var g=h(this),S=g.target,E=g.index++;if(!S||E>=S.length)return g.target=null,o(void 0,!0);switch(g.kind){case"keys":return o(E,!1);case"values":return o(S[E],!1)}return o([E,S[E]],!1)},"values");var v=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!s&&l&&v.name!=="values")try{i(v,"name",{value:"values"})}catch{}return Zw}var T3={},R3;function hce(){if(R3)return T3;R3=1;var e=Ue(),t=Gt(),r=th(),n=Ta(),i=gl(),a=t([].join),o=r!==Object,s=o||!i("join",",");return e({target:"Array",proto:!0,forced:s},{join:function(c){return a(n(this),c===void 0?",":c)}}),T3}var x3={},e1,C3;function qee(){if(C3)return e1;C3=1;var e=fs(),t=Ta(),r=Wi(),n=ii(),i=gl(),a=Math.min,o=[].lastIndexOf,s=!!o&&1/[1].lastIndexOf(1,-0)<0,l=i("lastIndexOf"),c=s||!l;return e1=c?function(h){if(s)return e(o,this,arguments)||0;var v=t(this),g=n(v);if(g===0)return-1;var S=g-1;for(arguments.length>1&&(S=a(S,r(arguments[1]))),S<0&&(S=g+S);S>=0;S--)if(S in v&&v[S]===h)return S||0;return-1}:o,e1}var A3;function vce(){if(A3)return x3;A3=1;var e=Ue(),t=qee();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),x3}var O3={},I3;function pce(){if(I3)return O3;I3=1;var e=Ue(),t=Fa().map,r=Ep(),n=r("map");return e({target:"Array",proto:!0,forced:!n},{map:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),O3}var P3={},D3;function gce(){if(D3)return P3;D3=1;var e=Ue(),t=Vt(),r=yf(),n=pl(),i=Array,a=t(function(){function o(){}return!(i.of.call(o)instanceof o)});return e({target:"Array",stat:!0,forced:a},{of:function(){for(var s=0,l=arguments.length,c=new(r(this)?this:i)(l);l>s;)n(c,s,arguments[s++]);return c.length=l,c}}),P3}var k3={},t1,N3;function jP(){if(N3)return t1;N3=1;var e=Ir(),t=uc(),r=TypeError,n=Object.getOwnPropertyDescriptor,i=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(a){return a instanceof TypeError}})();return t1=i?function(a,o){if(t(a)&&!n(a,"length").writable)throw new r("Cannot set read only .length");return a.length=o}:function(a,o){return a.length=o},t1}var L3;function mce(){if(L3)return k3;L3=1;var e=Ue(),t=In(),r=ii(),n=jP(),i=Ef(),a=Vt(),o=a(function(){return[].push.call({length:4294967296},1)!==4294967297}),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},l=o||!s();return e({target:"Array",proto:!0,arity:1,forced:l},{push:function(d){var h=t(this),v=r(h),g=arguments.length;i(v+g);for(var S=0;S<g;S++)h[v]=arguments[S],v++;return n(h,v),v}}),k3}var M3={},r1,$3;function e_(){if($3)return r1;$3=1;var e=gn(),t=In(),r=th(),n=ii(),i=TypeError,a="Reduce of empty array with no initial value",o=function(s){return function(l,c,d,h){var v=t(l),g=r(v),S=n(v);if(e(c),S===0&&d<2)throw new i(a);var E=s?S-1:0,y=s?-1:1;if(d<2)for(;;){if(E in g){h=g[E],E+=y;break}if(E+=y,s?E<0:S<=E)throw new i(a)}for(;s?E>=0:S>E;E+=y)E in g&&(h=c(h,g[E],E,v));return h}};return r1={left:o(!1),right:o(!0)},r1}var n1,F3;function t_(){if(F3)return n1;F3=1;var e=er(),t=Au(),r=Qa(),n=function(i){return t.slice(0,i.length)===i};return n1=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":r(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"})(),n1}var i1,j3;function ch(){if(j3)return i1;j3=1;var e=t_();return i1=e==="NODE",i1}var U3;function yce(){if(U3)return M3;U3=1;var e=Ue(),t=e_().left,r=gl(),n=Ou(),i=ch(),a=!i&&n>79&&n<83,o=a||!r("reduce");return e({target:"Array",proto:!0,forced:o},{reduce:function(l){var c=arguments.length;return t(this,l,c,c>1?arguments[1]:void 0)}}),M3}var q3={},V3;function _ce(){if(V3)return q3;V3=1;var e=Ue(),t=e_().right,r=gl(),n=Ou(),i=ch(),a=!i&&n>79&&n<83,o=a||!r("reduceRight");return e({target:"Array",proto:!0,forced:o},{reduceRight:function(l){return t(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}}),q3}var B3={},H3;function Sce(){if(H3)return B3;H3=1;var e=Ue(),t=Gt(),r=uc(),n=t([].reverse),i=[1,2];return e({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),n(this)}}),B3}var z3={},W3;function Ece(){if(W3)return z3;W3=1;var e=Ue(),t=uc(),r=yf(),n=Gr(),i=vl(),a=ii(),o=Ta(),s=pl(),l=Yr(),c=Ep(),d=$s(),h=c("slice"),v=l("species"),g=Array,S=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(y,w){var b=o(this),A=a(b),R=i(y,A),C=i(w===void 0?A:w,A),O,m,D;if(t(b)&&(O=b.constructor,r(O)&&(O===g||t(O.prototype))?O=void 0:n(O)&&(O=O[v],O===null&&(O=void 0)),O===g||O===void 0))return d(b,R,C);for(m=new(O===void 0?g:O)(S(C-R,0)),D=0;R<C;R++,D++)R in b&&s(m,D,b[R]);return m.length=D,m}}),z3}var G3={},Y3;function wce(){if(Y3)return G3;Y3=1;var e=Ue(),t=Fa().some,r=gl(),n=r("some");return e({target:"Array",proto:!0,forced:!n},{some:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),G3}var K3={},a1,X3;function UP(){if(X3)return a1;X3=1;var e=$s(),t=Math.floor,r=function(n,i){var a=n.length;if(a<8)for(var o=1,s,l;o<a;){for(l=o,s=n[o];l&&i(n[l-1],s)>0;)n[l]=n[--l];l!==o++&&(n[l]=s)}else for(var c=t(a/2),d=r(e(n,0,c),i),h=r(e(n,c),i),v=d.length,g=h.length,S=0,E=0;S<v||E<g;)n[S+E]=S<v&&E<g?i(d[S],h[E])<=0?d[S++]:h[E++]:S<v?d[S++]:h[E++];return n};return a1=r,a1}var o1,Q3;function Vee(){if(Q3)return o1;Q3=1;var e=Au(),t=e.match(/firefox\/(\d+)/i);return o1=!!t&&+t[1],o1}var s1,J3;function Bee(){if(J3)return s1;J3=1;var e=Au();return s1=/MSIE|Trident/.test(e),s1}var u1,Z3;function qP(){if(Z3)return u1;Z3=1;var e=Au(),t=e.match(/AppleWebKit\/(\d+)\./);return u1=!!t&&+t[1],u1}var e2;function bce(){if(e2)return K3;e2=1;var e=Ue(),t=Gt(),r=gn(),n=In(),i=ii(),a=Xy(),o=tn(),s=Vt(),l=UP(),c=gl(),d=Vee(),h=Bee(),v=Ou(),g=qP(),S=[],E=t(S.sort),y=t(S.push),w=s(function(){S.sort(void 0)}),b=s(function(){S.sort(null)}),A=c("sort"),R=!s(function(){if(v)return v<70;if(!(d&&d>3)){if(h)return!0;if(g)return g<603;var m="",D,k,q,j;for(D=65;D<76;D++){switch(k=String.fromCharCode(D),D){case 66:case 69:case 70:case 72:q=3;break;case 68:case 71:q=4;break;default:q=2}for(j=0;j<47;j++)S.push({k:k+j,v:q})}for(S.sort(function(W,K){return K.v-W.v}),j=0;j<S.length;j++)k=S[j].k.charAt(0),m.charAt(m.length-1)!==k&&(m+=k);return m!=="DGBEFHACIJK"}}),C=w||!b||!A||!R,O=function(m){return function(D,k){return k===void 0?-1:D===void 0?1:m!==void 0?+m(D,k)||0:o(D)>o(k)?1:-1}};return e({target:"Array",proto:!0,forced:C},{sort:function(D){D!==void 0&&r(D);var k=n(this);if(R)return D===void 0?E(k):E(k,D);var q=[],j=i(k),W,K;for(K=0;K<j;K++)K in k&&y(q,k[K]);for(l(q,O(D)),W=i(q),K=0;K<W;)k[K]=q[K++];for(;K<j;)a(k,K++);return k}}),K3}var t2={},l1,r2;function fh(){if(r2)return l1;r2=1;var e=pn(),t=Zi(),r=Yr(),n=Ir(),i=r("species");return l1=function(a){var o=e(a);n&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},l1}var n2;function Tce(){if(n2)return t2;n2=1;var e=fh();return e("Array"),t2}var i2={},a2;function Rce(){if(a2)return i2;a2=1;var e=Ue(),t=In(),r=vl(),n=Wi(),i=ii(),a=jP(),o=Ef(),s=_p(),l=pl(),c=Xy(),d=Ep(),h=d("splice"),v=Math.max,g=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(E,y){var w=t(this),b=i(w),A=r(E,b),R=arguments.length,C,O,m,D,k,q;for(R===0?C=O=0:R===1?(C=0,O=b-A):(C=R-2,O=g(v(n(y),0),b-A)),o(b+C-O),m=s(w,O),D=0;D<O;D++)k=A+D,k in w&&l(m,D,w[k]);if(m.length=O,C<O){for(D=A;D<b-O;D++)k=D+O,q=D+C,k in w?w[q]=w[k]:c(w,q);for(D=b;D>b-O+C;D--)c(w,D-1)}else if(C>O)for(D=b-O;D>A;D--)k=D+O-1,q=D+C-1,k in w?w[q]=w[k]:c(w,q);for(D=0;D<C;D++)w[D+A]=arguments[D+2];return a(w,b-O+C),m}}),i2}var o2={},c1,s2;function Hee(){if(s2)return c1;s2=1;var e=ii();return c1=function(t,r){for(var n=e(t),i=new r(n),a=0;a<n;a++)i[a]=t[n-a-1];return i},c1}var u2;function xce(){if(u2)return o2;u2=1;var e=Ue(),t=Hee(),r=Ta(),n=qo(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),o2}var l2={},f1,c2;function wp(){if(c2)return f1;c2=1;var e=ii();return f1=function(t,r,n){for(var i=0,a=arguments.length>2?n:e(r),o=new t(a);a>i;)o[i]=r[i++];return o},f1}var d1,f2;function zee(){if(f2)return d1;f2=1;var e=er();return d1=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},d1}var d2;function Cce(){if(d2)return l2;d2=1;var e=Ue(),t=Gt(),r=gn(),n=Ta(),i=wp(),a=zee(),o=qo(),s=Array,l=t(a("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),v=i(s,h);return l(v,d)}}),o("toSorted"),l2}var h2={},v2;function Ace(){if(v2)return h2;v2=1;var e=Ue(),t=qo(),r=Ef(),n=ii(),i=vl(),a=Ta(),o=Wi(),s=Array,l=Math.max,c=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,v){var g=a(this),S=n(g),E=i(h,S),y=arguments.length,w=0,b,A,R,C;for(y===0?b=A=0:y===1?(b=0,A=S-E):(b=y-2,A=c(l(o(v),0),S-E)),R=r(S+b-A),C=s(R);w<E;w++)C[w]=g[w];for(;w<E+b;w++)C[w]=arguments[w-E+2];for(;w<R;w++)C[w]=g[w+A-b];return C}}),t("toSpliced"),h2}var p2={},g2;function Oce(){if(g2)return p2;g2=1;var e=qo();return e("flat"),p2}var m2={},y2;function Ice(){if(y2)return m2;y2=1;var e=qo();return e("flatMap"),m2}var _2={},S2;function Pce(){if(S2)return _2;S2=1;var e=Ue(),t=In(),r=ii(),n=jP(),i=Xy(),a=Ef(),o=[].unshift(0)!==1,s=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(c){return c instanceof TypeError}},l=o||!s();return e({target:"Array",proto:!0,arity:1,forced:l},{unshift:function(d){var h=t(this),v=r(h),g=arguments.length;if(g){a(v+g);for(var S=v;S--;){var E=S+g;S in h?h[E]=h[S]:i(h,E)}for(var y=0;y<g;y++)h[y]=arguments[y]}return n(h,v+g)}}),_2}var E2={},h1,w2;function Wee(){if(w2)return h1;w2=1;var e=ii(),t=Wi(),r=RangeError;return h1=function(n,i,a,o){var s=e(n),l=t(a),c=l<0?s+l:l;if(c>=s||c<0)throw new r("Incorrect index");for(var d=new i(s),h=0;h<s;h++)d[h]=h===c?o:n[h];return d},h1}var b2;function Dce(){if(b2)return E2;b2=1;var e=Ue(),t=Wee(),r=Ta(),n=Array,i=(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(a){return a!==4}})();return e({target:"Array",proto:!0,forced:i},{with:function(a,o){return t(r(this),n,a,o)}}),E2}var T2={},v1,R2;function r_(){return R2||(R2=1,v1=typeof ArrayBuffer<"u"&&typeof DataView<"u"),v1}var p1,x2;function ml(){if(x2)return p1;x2=1;var e=Qn();return p1=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},p1}var g1,C2;function ds(){if(C2)return g1;C2=1;var e=go(),t=TypeError;return g1=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},g1}var m1,A2;function n_(){if(A2)return m1;A2=1;var e=Wi(),t=us(),r=RangeError;return m1=function(n){if(n===void 0)return 0;var i=e(n),a=t(i);if(i!==a)throw new r("Wrong length or index");return a},m1}var y1,O2;function VP(){return O2||(O2=1,y1=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),y1}var _1,I2;function Gee(){if(I2)return _1;I2=1;var e=2220446049250313e-31,t=1/e;return _1=function(r){return r+t-t},_1}var S1,P2;function Yee(){if(P2)return S1;P2=1;var e=VP(),t=Gee(),r=Math.abs,n=2220446049250313e-31;return S1=function(i,a,o,s){var l=+i,c=r(l),d=e(l);if(c<s)return d*t(c/s/a)*s*a;var h=(1+a/n)*c,v=h-(h-c);return v>o||v!==v?d*(1/0):d*v},S1}var E1,D2;function Kee(){if(D2)return E1;D2=1;var e=Yee(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return E1=Math.fround||function(a){return e(a,t,r,n)},E1}var w1,k2;function kce(){if(k2)return w1;k2=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2,o=function(l,c,d){var h=e(d),v=d*8-c-1,g=(1<<v)-1,S=g>>1,E=c===23?r(2,-24)-r(2,-77):0,y=l<0||l===0&&1/l<0?1:0,w=0,b,A,R;for(l=t(l),l!==l||l===1/0?(A=l!==l?1:0,b=g):(b=n(i(l)/a),R=r(2,-b),l*R<1&&(b--,R*=2),b+S>=1?l+=E/R:l+=E*r(2,1-S),l*R>=2&&(b++,R/=2),b+S>=g?(A=0,b=g):b+S>=1?(A=(l*R-1)*r(2,c),b+=S):(A=l*r(2,S-1)*r(2,c),b=0));c>=8;)h[w++]=A&255,A/=256,c-=8;for(b=b<<c|A,v+=c;v>0;)h[w++]=b&255,b/=256,v-=8;return h[w-1]|=y*128,h},s=function(l,c){var d=l.length,h=d*8-c-1,v=(1<<h)-1,g=v>>1,S=h-7,E=d-1,y=l[E--],w=y&127,b;for(y>>=7;S>0;)w=w*256+l[E--],S-=8;for(b=w&(1<<-S)-1,w>>=-S,S+=c;S>0;)b=b*256+l[E--],S-=8;if(w===0)w=1-g;else{if(w===v)return b?NaN:y?-1/0:1/0;b+=r(2,c),w-=g}return(y?-1:1)*b*r(2,w-c)};return w1={pack:o,unpack:s},w1}var b1,N2;function i_(){if(N2)return b1;N2=1;var e=er(),t=Gt(),r=Ir(),n=r_(),i=ah(),a=Ma(),o=Zi(),s=ml(),l=Vt(),c=ds(),d=Wi(),h=us(),v=n_(),g=Kee(),S=kce(),E=mo(),y=ru(),w=LP(),b=$s(),A=_f(),R=oh(),C=Uo(),O=qi(),m=i.PROPER,D=i.CONFIGURABLE,k="ArrayBuffer",q="DataView",j="prototype",W="Wrong length",K="Wrong index",X=O.getterFor(k),Q=O.getterFor(q),J=O.set,re=e[k],$=re,N=$&&$[j],U=e[q],ee=U&&U[j],te=Object.prototype,de=e.Array,Se=e.RangeError,xe=t(w),ue=t([].reverse),I=S.pack,P=S.unpack,B=function(be){return[be&255]},L=function(be){return[be&255,be>>8&255]},H=function(be){return[be&255,be>>8&255,be>>16&255,be>>24&255]},ne=function(be){return be[3]<<24|be[2]<<16|be[1]<<8|be[0]},ce=function(be){return I(g(be),23,4)},we=function(be){return I(be,52,8)},_e=function(be,Te,Ne){o(be[j],Te,{configurable:!0,get:function(){return Ne(this)[Te]}})},Oe=function(be,Te,Ne,Ve){var qe=Q(be),Ge=v(Ne),ct=!!Ve;if(Ge+Te>qe.byteLength)throw new Se(K);var Ut=qe.bytes,Wt=Ge+qe.byteOffset,Je=b(Ut,Wt,Wt+Te);return ct?Je:ue(Je)},Re=function(be,Te,Ne,Ve,qe,Ge){var ct=Q(be),Ut=v(Ne),Wt=Ve(+qe),Je=!!Ge;if(Ut+Te>ct.byteLength)throw new Se(K);for(var Rt=ct.bytes,_t=Ut+ct.byteOffset,st=0;st<Te;st++)Rt[_t+st]=Wt[Je?st:Te-st-1]};if(!n)$=function(Te){c(this,N);var Ne=v(Te);J(this,{type:k,bytes:xe(de(Ne),0),byteLength:Ne}),r||(this.byteLength=Ne,this.detached=!1)},N=$[j],U=function(Te,Ne,Ve){c(this,ee),c(Te,N);var qe=X(Te),Ge=qe.byteLength,ct=d(Ne);if(ct<0||ct>Ge)throw new Se("Wrong offset");if(Ve=Ve===void 0?Ge-ct:h(Ve),ct+Ve>Ge)throw new Se(W);J(this,{type:q,buffer:Te,byteLength:Ve,byteOffset:ct,bytes:qe.bytes}),r||(this.buffer=Te,this.byteLength=Ve,this.byteOffset=ct)},ee=U[j],r&&(_e($,"byteLength",X),_e(U,"buffer",Q),_e(U,"byteLength",Q),_e(U,"byteOffset",Q)),s(ee,{getInt8:function(Te){return Oe(this,1,Te)[0]<<24>>24},getUint8:function(Te){return Oe(this,1,Te)[0]},getInt16:function(Te){var Ne=Oe(this,2,Te,arguments.length>1?arguments[1]:!1);return(Ne[1]<<8|Ne[0])<<16>>16},getUint16:function(Te){var Ne=Oe(this,2,Te,arguments.length>1?arguments[1]:!1);return Ne[1]<<8|Ne[0]},getInt32:function(Te){return ne(Oe(this,4,Te,arguments.length>1?arguments[1]:!1))},getUint32:function(Te){return ne(Oe(this,4,Te,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Te){return P(Oe(this,4,Te,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Te){return P(Oe(this,8,Te,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Te,Ne){Re(this,1,Te,B,Ne)},setUint8:function(Te,Ne){Re(this,1,Te,B,Ne)},setInt16:function(Te,Ne){Re(this,2,Te,L,Ne,arguments.length>2?arguments[2]:!1)},setUint16:function(Te,Ne){Re(this,2,Te,L,Ne,arguments.length>2?arguments[2]:!1)},setInt32:function(Te,Ne){Re(this,4,Te,H,Ne,arguments.length>2?arguments[2]:!1)},setUint32:function(Te,Ne){Re(this,4,Te,H,Ne,arguments.length>2?arguments[2]:!1)},setFloat32:function(Te,Ne){Re(this,4,Te,ce,Ne,arguments.length>2?arguments[2]:!1)},setFloat64:function(Te,Ne){Re(this,8,Te,we,Ne,arguments.length>2?arguments[2]:!1)}});else{var Ie=m&&re.name!==k;!l(function(){re(1)})||!l(function(){new re(-1)})||l(function(){return new re,new re(1.5),new re(NaN),re.length!==1||Ie&&!D})?($=function(Te){return c(this,N),A(new re(v(Te)),this,$)},$[j]=N,N.constructor=$,R($,re)):Ie&&D&&a(re,"name",k),y&&E(ee)!==te&&y(ee,te);var $e=new U(new $(2)),me=t(ee.setInt8);$e.setInt8(0,2147483648),$e.setInt8(1,2147483649),($e.getInt8(0)||!$e.getInt8(1))&&s(ee,{setInt8:function(Te,Ne){me(this,Te,Ne<<24>>24)},setUint8:function(Te,Ne){me(this,Te,Ne<<24>>24)}},{unsafe:!0})}return C($,k),C(U,q),b1={ArrayBuffer:$,DataView:U},b1}var L2;function Nce(){if(L2)return T2;L2=1;var e=Ue(),t=er(),r=i_(),n=fh(),i="ArrayBuffer",a=r[i],o=t[i];return e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),n(i),T2}var M2={},T1,$2;function Sn(){if($2)return T1;$2=1;var e=r_(),t=Ir(),r=er(),n=_n(),i=Gr(),a=mn(),o=ls(),s=pf(),l=Ma(),c=Qn(),d=Zi(),h=go(),v=mo(),g=ru(),S=Yr(),E=ih(),y=qi(),w=y.enforce,b=y.get,A=r.Int8Array,R=A&&A.prototype,C=r.Uint8ClampedArray,O=C&&C.prototype,m=A&&v(A),D=R&&v(R),k=Object.prototype,q=r.TypeError,j=S("toStringTag"),W=E("TYPED_ARRAY_TAG"),K="TypedArrayConstructor",X=e&&!!g&&o(r.opera)!=="Opera",Q=!1,J,re,$,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},ee=function(B){if(!i(B))return!1;var L=o(B);return L==="DataView"||a(N,L)||a(U,L)},te=function(P){var B=v(P);if(i(B)){var L=b(B);return L&&a(L,K)?L[K]:te(B)}},de=function(P){if(!i(P))return!1;var B=o(P);return a(N,B)||a(U,B)},Se=function(P){if(de(P))return P;throw new q("Target is not a typed array")},xe=function(P){if(n(P)&&(!g||h(m,P)))return P;throw new q(s(P)+" is not a typed array constructor")},ue=function(P,B,L,H){if(t){if(L)for(var ne in N){var ce=r[ne];if(ce&&a(ce.prototype,P))try{delete ce.prototype[P]}catch{try{ce.prototype[P]=B}catch{}}}(!D[P]||L)&&c(D,P,L?B:X&&R[P]||B,H)}},I=function(P,B,L){var H,ne;if(t){if(g){if(L){for(H in N)if(ne=r[H],ne&&a(ne,P))try{delete ne[P]}catch{}}if(!m[P]||L)try{return c(m,P,L?B:X&&m[P]||B)}catch{}else return}for(H in N)ne=r[H],ne&&(!ne[P]||L)&&c(ne,P,B)}};for(J in N)re=r[J],$=re&&re.prototype,$?w($)[K]=re:X=!1;for(J in U)re=r[J],$=re&&re.prototype,$&&(w($)[K]=re);if((!X||!n(m)||m===Function.prototype)&&(m=function(){throw new q("Incorrect invocation")},X))for(J in N)r[J]&&g(r[J],m);if((!X||!D||D===k)&&(D=m.prototype,X))for(J in N)r[J]&&g(r[J].prototype,D);if(X&&v(O)!==D&&g(O,D),t&&!a(D,j)){Q=!0,d(D,j,{configurable:!0,get:function(){return i(this)?this[W]:void 0}});for(J in N)r[J]&&l(r[J],W,J)}return T1={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:Q&&W,aTypedArray:Se,aTypedArrayConstructor:xe,exportTypedArrayMethod:ue,exportTypedArrayStaticMethod:I,getTypedArrayConstructor:te,isView:ee,isTypedArray:de,TypedArray:m,TypedArrayPrototype:D},T1}var F2;function Lce(){if(F2)return M2;F2=1;var e=Ue(),t=Sn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),M2}var j2={},U2;function Mce(){if(U2)return j2;U2=1;var e=Ue(),t=mf(),r=Vt(),n=i_(),i=br(),a=vl(),o=us(),s=n.ArrayBuffer,l=n.DataView,c=l.prototype,d=t(s.prototype.slice),h=t(c.getUint8),v=t(c.setUint8),g=r(function(){return!new s(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(E,y){if(d&&y===void 0)return d(i(this),E);for(var w=i(this).byteLength,b=a(E,w),A=a(y===void 0?w:y,w),R=new s(o(A-b)),C=new l(this),O=new l(R),m=0;b<A;)v(O,m++,h(C,b++));return R}}),j2}var q2={},V2={},B2;function $ce(){if(B2)return V2;B2=1;var e=Ue(),t=i_(),r=r_();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),V2}var H2;function Fce(){return H2||(H2=1,$ce()),q2}var z2={},W2;function jce(){if(W2)return z2;W2=1;var e=Ue(),t=Gt(),r=Math.pow,n=31,i=1023,a=r(2,-24),o=.0009765625,s=function(c){var d=c>>>15,h=c>>>10&n,v=c&i;return h===n?v===0?d===0?1/0:-1/0:NaN:h===0?v*(d===0?a:-a):r(2,h-15)*(d===0?1+v*o:-1-v*o)},l=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return s(l(this,d,arguments.length>1?arguments[1]:!1))}}),z2}var G2={},R1,Y2;function Uce(){if(Y2)return R1;Y2=1;var e=ls(),t=TypeError;return R1=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},R1}var x1,K2;function Xee(){if(K2)return x1;K2=1;var e=Math.log,t=Math.LN2;return x1=Math.log2||function(n){return e(n)/t},x1}var X2;function qce(){if(X2)return G2;X2=1;var e=Ue(),t=Gt(),r=Uce(),n=n_(),i=Xee(),a=Gee(),o=Math.pow,s=65520,l=61005353927612305e-21,c=16777216,d=1024,h=function(g){if(g!==g)return 32256;if(g===0)return(1/g===-1/0)<<15;var S=g<0;if(S&&(g=-g),g>=s)return S<<15|31744;if(g<l)return S<<15|a(g*c);var E=i(g)|0;if(E===-15)return S<<15|d;var y=a((g*o(2,-E)-1)*d);return y===d?S<<15|E+16<<10:S<<15|E+15<<10|y},v=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(S,E){v(r(this),n(S),h(+E),arguments.length>2?arguments[2]:!1)}}),G2}var Q2={},C1,J2;function Qee(){if(J2)return C1;J2=1;var e=er(),t=Ky(),r=Qa(),n=e.ArrayBuffer,i=e.TypeError;return C1=n&&t(n.prototype,"byteLength","get")||function(a){if(r(a)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return a.byteLength},C1}var A1,Z2;function Jee(){if(Z2)return A1;Z2=1;var e=er(),t=r_(),r=Qee(),n=e.DataView;return A1=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},A1}var e4;function Vce(){if(e4)return Q2;e4=1;var e=Ir(),t=Zi(),r=Jee(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),Q2}var t4={},O1,r4;function bp(){if(r4)return O1;r4=1;var e=Jee(),t=TypeError;return O1=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},O1}var I1,n4;function Zee(){if(n4)return I1;n4=1;var e=er(),t=ch();return I1=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},I1}var P1,i4;function BP(){if(i4)return P1;i4=1;var e=er(),t=Vt(),r=Ou(),n=t_(),i=e.structuredClone;return P1=!!i&&!t(function(){if(n==="DENO"&&r>92||n==="NODE"&&r>94||n==="BROWSER"&&r>97)return!1;var a=new ArrayBuffer(8),o=i(a,{transfer:[a]});return a.byteLength!==0||o.byteLength!==8}),P1}var D1,a4;function ete(){if(a4)return D1;a4=1;var e=er(),t=Zee(),r=BP(),n=e.structuredClone,i=e.ArrayBuffer,a=e.MessageChannel,o=!1,s,l,c,d;if(r)o=function(h){n(h,{transfer:[h]})};else if(i)try{a||(s=t("worker_threads"),s&&(a=s.MessageChannel)),a&&(l=new a,c=new i(2),d=function(h){l.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(o=d)))}catch{}return D1=o,D1}var k1,o4;function tte(){if(o4)return k1;o4=1;var e=er(),t=Gt(),r=Ky(),n=n_(),i=bp(),a=Qee(),o=ete(),s=BP(),l=e.structuredClone,c=e.ArrayBuffer,d=e.DataView,h=Math.min,v=c.prototype,g=d.prototype,S=t(v.slice),E=r(v,"resizable","get"),y=r(v,"maxByteLength","get"),w=t(g.getInt8),b=t(g.setInt8);return k1=(s||o)&&function(A,R,C){var O=a(A),m=R===void 0?O:n(R),D=!E||!E(A),k;if(i(A),s&&(A=l(A,{transfer:[A]}),O===m&&(C||D)))return A;if(O>=m&&(!C||D))k=S(A,0,m);else{var q=C&&!D&&y?{maxByteLength:y(A)}:void 0;k=new c(m,q);for(var j=new d(A),W=new d(k),K=h(m,O),X=0;X<K;X++)b(W,X,w(j,X))}return s||o(A),k},k1}var s4;function Bce(){if(s4)return t4;s4=1;var e=Ue(),t=tte();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),t4}var u4={},l4;function Hce(){if(l4)return u4;l4=1;var e=Ue(),t=tte();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),u4}var c4={},f4;function zce(){if(f4)return c4;f4=1;var e=Ue(),t=Gt(),r=Vt(),n=r(function(){return new Date(16e11).getYear()!==120}),i=t(Date.prototype.getFullYear);return e({target:"Date",proto:!0,forced:n},{getYear:function(){return i(this)-1900}}),c4}var d4={},h4;function Wce(){if(h4)return d4;h4=1;var e=Ue(),t=Gt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),d4}var v4={},p4;function Gce(){if(p4)return v4;p4=1;var e=Ue(),t=Gt(),r=Wi(),n=Date.prototype,i=t(n.getTime),a=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(s){i(this);var l=r(s),c=l>=0&&l<=99?l+1900:l;return a(this,c)}}),v4}var g4={},m4;function Yce(){if(m4)return g4;m4=1;var e=Ue();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),g4}var y4={},N1,_4;function a_(){if(_4)return N1;_4=1;var e=Wi(),t=tn(),r=Pi(),n=RangeError;return N1=function(a){var o=t(r(this)),s="",l=e(a);if(l<0||l===1/0)throw new n("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(o+=o))l&1&&(s+=o);return s},N1}var L1,S4;function o_(){if(S4)return L1;S4=1;var e=Gt(),t=us(),r=tn(),n=a_(),i=Pi(),a=e(n),o=e("".slice),s=Math.ceil,l=function(c){return function(d,h,v){var g=r(i(d)),S=t(h),E=g.length,y=v===void 0?" ":r(v),w,b;return S<=E||y===""?g:(w=S-E,b=a(y,s(w/y.length)),b.length>w&&(b=o(b,0,w)),c?g+b:b+g)}};return L1={start:l(!1),end:l(!0)},L1}var M1,E4;function Kce(){if(E4)return M1;E4=1;var e=Gt(),t=Vt(),r=o_().start,n=RangeError,i=isFinite,a=Math.abs,o=Date.prototype,s=o.toISOString,l=e(o.getTime),c=e(o.getUTCDate),d=e(o.getUTCFullYear),h=e(o.getUTCHours),v=e(o.getUTCMilliseconds),g=e(o.getUTCMinutes),S=e(o.getUTCMonth),E=e(o.getUTCSeconds);return M1=t(function(){return s.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){s.call(new Date(NaN))})?function(){if(!i(l(this)))throw new n("Invalid time value");var w=this,b=d(w),A=v(w),R=b<0?"-":b>9999?"+":"";return R+r(a(b),R?6:4,0)+"-"+r(S(w)+1,2,0)+"-"+r(c(w),2,0)+"T"+r(h(w),2,0)+":"+r(g(w),2,0)+":"+r(E(w),2,0)+"."+r(A,3,0)+"Z"}:s,M1}var w4;function Xce(){if(w4)return y4;w4=1;var e=Ue(),t=Kce();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),y4}var b4={},T4;function Qce(){if(T4)return b4;T4=1;var e=Ue(),t=Vt(),r=In(),n=Hy(),i=t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return e({target:"Date",proto:!0,arity:1,forced:i},{toJSON:function(o){var s=r(this),l=n(s,"number");return typeof l=="number"&&!isFinite(l)?null:s.toISOString()}}),b4}var R4={},$1,x4;function Jce(){if(x4)return $1;x4=1;var e=br(),t=_ee(),r=TypeError;return $1=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},$1}var C4;function Zce(){if(C4)return R4;C4=1;var e=mn(),t=Qn(),r=Jce(),n=Yr(),i=n("toPrimitive"),a=Date.prototype;return e(a,i)||t(a,i,r),R4}var A4={},O4;function efe(){if(O4)return A4;O4=1;var e=Gt(),t=Qn(),r=Date.prototype,n="Invalid Date",i="toString",a=e(r[i]),o=e(r.getTime);return String(new Date(NaN))!==n&&t(r,i,function(){var l=o(this);return l===l?a(this):n}),A4}var I4={},F1,P4;function rte(){if(P4)return F1;P4=1;var e=pn(),t=yr(),r=Gt(),n=cs(),i=br(),a=gn(),o=hl(),s=Na(),l=Yr(),c=l("asyncDispose"),d=l("dispose"),h=r([].push),v=function(S,E){if(E==="async-dispose"){var y=s(S,c);return y!==void 0||(y=s(S,d),y===void 0)?y:function(){var w=this,b=e("Promise");return new b(function(A){t(y,w),A(void 0)})}}return s(S,d)},g=function(S,E,y){return arguments.length<3&&!o(S)&&(y=a(v(i(S),E))),y===void 0?function(){}:n(y,S)};return F1=function(S,E,y,w){var b;if(arguments.length<4){if(o(E)&&y==="sync-dispose")return;b=g(E,y)}else b=g(void 0,y,w);h(S.stack,b)},F1}var D4;function tfe(){if(D4)return I4;D4=1;var e=Ue(),t=Ir(),r=pn(),n=gn(),i=ds(),a=Qn(),o=ml(),s=Zi(),l=Yr(),c=qi(),d=rte(),h=r("SuppressedError"),v=ReferenceError,g=l("dispose"),S=l("toStringTag"),E="DisposableStack",y=c.set,w=c.getterFor(E),b="sync-dispose",A="disposed",R="pending",C=function(D){var k=w(D);if(k.state===A)throw new v(E+" already disposed");return k},O=function(){y(i(this,m),{type:E,state:R,stack:[]}),t||(this.disposed=!1)},m=O.prototype;return o(m,{dispose:function(){var k=w(this);if(k.state!==A){k.state=A,t||(this.disposed=!0);for(var q=k.stack,j=q.length,W=!1,K;j;){var X=q[--j];q[j]=null;try{X()}catch(Q){W?K=new h(Q,K):(W=!0,K=Q)}}if(k.stack=null,W)throw K}},use:function(k){return d(C(this),k,b),k},adopt:function(k,q){var j=C(this);return n(q),d(j,void 0,b,function(){q(k)}),k},defer:function(k){var q=C(this);n(k),d(q,void 0,b,k)},move:function(){var k=C(this),q=new O;return w(q).stack=k.stack,k.stack=[],k.state=A,t||(this.disposed=!0),q}}),t&&s(m,"disposed",{configurable:!0,get:function(){return w(this).state===A}}),a(m,g,m.dispose,{name:"dispose"}),a(m,S,E,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),I4}var k4={},N4;function rfe(){if(N4)return k4;N4=1;var e=Ue(),t=Gt(),r=tn(),n=t("".charAt),i=t("".charCodeAt),a=t(/./.exec),o=t(1.1.toString),s=t("".toUpperCase),l=/[\w*+\-./@]/,c=function(d,h){for(var v=o(d,16);v.length<h;)v="0"+v;return v};return e({global:!0},{escape:function(h){for(var v=r(h),g="",S=v.length,E=0,y,w;E<S;)y=n(v,E++),a(l,y)?g+=y:(w=i(y,0),w<256?g+="%"+c(w,2):g+="%u"+s(c(w,4)));return g}}),k4}var L4={},j1,M4;function nte(){if(M4)return j1;M4=1;var e=Gt(),t=gn(),r=Gr(),n=mn(),i=$s(),a=vp(),o=Function,s=e([].concat),l=e([].join),c={},d=function(h,v,g){if(!n(c,v)){for(var S=[],E=0;E<v;E++)S[E]="a["+E+"]";c[v]=o("C,a","return new C("+l(S,",")+")")}return c[v](h,g)};return j1=a?o.bind:function(v){var g=t(this),S=g.prototype,E=i(arguments,1),y=function(){var b=s(E,i(arguments));return this instanceof y?d(g,b.length,b):g.apply(v,b)};return r(S)&&(y.prototype=S),y},j1}var $4;function nfe(){if($4)return L4;$4=1;var e=Ue(),t=nte();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),L4}var F4={},j4;function ife(){if(j4)return F4;j4=1;var e=_n(),t=Gr(),r=xi(),n=go(),i=Yr(),a=RP(),o=i("hasInstance"),s=Function.prototype;return o in s||r.f(s,o,{value:a(function(l){if(!e(this)||!t(l))return!1;var c=this.prototype;return t(c)?n(c,l):l instanceof this},o)}),F4}var U4={},q4;function afe(){if(q4)return U4;q4=1;var e=Ir(),t=ah().EXISTS,r=Gt(),n=Zi(),i=Function.prototype,a=r(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=r(o.exec),l="name";return e&&!t&&n(i,l,{configurable:!0,get:function(){try{return s(o,a(this))[1]}catch{return""}}}),U4}var V4={},B4;function ofe(){if(B4)return V4;B4=1;var e=Ue(),t=er();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),V4}var H4={},z4;function sfe(){if(z4)return H4;z4=1;var e=Ue(),t=er(),r=ds(),n=br(),i=_n(),a=mo(),o=Zi(),s=pl(),l=Vt(),c=mn(),d=Yr(),h=lh().IteratorPrototype,v=Ir(),g=Ln(),S="constructor",E="Iterator",y=d("toStringTag"),w=TypeError,b=t[E],A=g||!i(b)||b.prototype!==h||!l(function(){b({})}),R=function(){if(r(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},C=function(O,m){v?o(h,O,{configurable:!0,get:function(){return m},set:function(D){if(n(this),this===h)throw new w("You can't redefine this property");c(this,O)?this[O]=D:s(this,O,D)}}):h[O]=m};return c(h,y)||C(y,E),(A||!c(h,S)||h[S]===Object)&&C(S,R),R.prototype=h,e({global:!0,constructor:!0,forced:A},{Iterator:R}),H4}var W4={},G4;function ufe(){if(G4)return W4;G4=1;var e=yr(),t=Qn(),r=Na(),n=mn(),i=Yr(),a=lh().IteratorPrototype,o=i("dispose");return n(a,o)||t(a,o,function(){var s=r(this,"return");s&&e(s,this)}),W4}var Y4={},U1,K4;function Za(){return K4||(K4=1,U1=function(e){return{iterator:e,next:e.next,done:!1}}),U1}var q1,X4;function ite(){if(X4)return q1;X4=1;var e=RangeError;return q1=function(t){if(t===t)return t;throw new e("NaN is not allowed")},q1}var V1,Q4;function HP(){if(Q4)return V1;Q4=1;var e=Wi(),t=RangeError;return V1=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},V1}var B1,J4;function lfe(){if(J4)return B1;J4=1;var e=ja();return B1=function(t,r,n){for(var i=t.length-1;i>=0;i--)if(t[i]!==void 0)try{n=e(t[i].iterator,r,n)}catch(a){r="throw",n=a}if(r==="throw")throw n;return n},B1}var H1,Z4;function dh(){if(Z4)return H1;Z4=1;var e=yr(),t=$a(),r=Ma(),n=ml(),i=Yr(),a=qi(),o=Na(),s=lh().IteratorPrototype,l=wf(),c=ja(),d=lfe(),h=i("toStringTag"),v="IteratorHelper",g="WrapForValidIterator",S="normal",E="throw",y=a.set,w=function(R){var C=a.getterFor(R?g:v);return n(t(s),{next:function(){var m=C(this);if(R)return m.nextHandler();if(m.done)return l(void 0,!0);try{var D=m.nextHandler();return m.returnHandlerResult?D:l(D,m.done)}catch(k){throw m.done=!0,k}},return:function(){var O=C(this),m=O.iterator;if(O.done=!0,R){var D=o(m,"return");return D?e(D,m):l(void 0,!0)}if(O.inner)try{c(O.inner.iterator,S)}catch(k){return c(m,E,k)}if(O.openIters)try{d(O.openIters,S)}catch(k){return c(m,E,k)}return m&&c(m,S),l(void 0,!0)}})},b=w(!0),A=w(!1);return r(A,h,"Iterator Helper"),H1=function(R,C,O){var m=function(k,q){q?(q.iterator=k.iterator,q.next=k.next):q=k,q.type=C?g:v,q.returnHandlerResult=!!O,q.nextHandler=R,q.counter=0,q.done=!1,y(this,q)};return m.prototype=C?b:A,m},H1}var z1,eU;function s_(){return eU||(eU=1,z1=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),z1}var W1,tU;function Iu(){if(tU)return W1;tU=1;var e=er();return W1=function(t,r){var n=e.Iterator,i=n&&n.prototype,a=i&&i[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(s){s instanceof r||(o=!1)}if(!o)return a},W1}var rU;function cfe(){if(rU)return Y4;rU=1;var e=Ue(),t=yr(),r=br(),n=Za(),i=ite(),a=HP(),o=ja(),s=dh(),l=s_(),c=Iu(),d=Ln(),h=!d&&!l("drop",0),v=!d&&!h&&c("drop",RangeError),g=d||h||v,S=s(function(){for(var E=this.iterator,y=this.next,w,b;this.remaining;)if(this.remaining--,w=r(t(y,E)),b=this.done=!!w.done,b)return;if(w=r(t(y,E)),b=this.done=!!w.done,!b)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:g},{drop:function(y){r(this);var w;try{w=a(i(+y))}catch(b){o(this,"throw",b)}return v?t(v,this,w):new S(n(this),{remaining:w})}}),Y4}var nU={},iU;function ffe(){if(iU)return nU;iU=1;var e=Ue(),t=yr(),r=ha(),n=gn(),i=br(),a=Za(),o=ja(),s=Iu(),l=s("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{every:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(l)return t(l,this,d);var h=a(this),v=0;return!r(h,function(g,S){if(!d(g,v++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),nU}var aU={},oU;function dfe(){if(oU)return aU;oU=1;var e=Ue(),t=yr(),r=gn(),n=br(),i=Za(),a=dh(),o=MP(),s=Ln(),l=ja(),c=s_(),d=Iu(),h=!s&&!c("filter",function(){}),v=!s&&!h&&d("filter",TypeError),g=s||h||v,S=a(function(){for(var E=this.iterator,y=this.predicate,w=this.next,b,A,R;;){if(b=n(t(w,E)),A=this.done=!!b.done,A)return;if(R=b.value,o(E,y,[R,this.counter++],!0))return R}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(y){n(this);try{r(y)}catch(w){l(this,"throw",w)}return v?t(v,this,y):new S(i(this),{predicate:y})}}),aU}var sU={},uU;function hfe(){if(uU)return sU;uU=1;var e=Ue(),t=yr(),r=ha(),n=gn(),i=br(),a=Za(),o=ja(),s=Iu(),l=s("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(l)return t(l,this,d);var h=a(this),v=0;return r(h,function(g,S){if(d(g,v++))return S(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),sU}var lU={},G1,cU;function ate(){if(cU)return G1;cU=1;var e=yr(),t=br(),r=Za(),n=Sf();return G1=function(i,a){(!a||typeof i!="string")&&t(i);var o=n(i);return r(t(o!==void 0?e(o,i):i))},G1}var fU;function vfe(){if(fU)return lU;fU=1;var e=Ue(),t=yr(),r=gn(),n=br(),i=Za(),a=ate(),o=dh(),s=ja(),l=Ln(),c=s_(),d=Iu(),h=!l&&!c("flatMap",function(){}),v=!l&&!h&&d("flatMap",TypeError),g=l||h||v,S=o(function(){for(var E=this.iterator,y=this.mapper,w,b;;){if(b=this.inner)try{if(w=n(t(b.next,b.iterator)),!w.done)return w.value;this.inner=null}catch(A){s(E,"throw",A)}if(w=n(t(this.next,E)),this.done=!!w.done)return;try{this.inner=a(y(w.value,this.counter++),!1)}catch(A){s(E,"throw",A)}}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(y){n(this);try{r(y)}catch(w){s(this,"throw",w)}return v?t(v,this,y):new S(i(this),{mapper:y,inner:null})}}),lU}var dU={},hU;function pfe(){if(hU)return dU;hU=1;var e=Ue(),t=yr(),r=ha(),n=gn(),i=br(),a=Za(),o=ja(),s=Iu(),l=s("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(l)return t(l,this,d);var h=a(this),v=0;r(h,function(g){d(g,v++)},{IS_RECORD:!0})}}),dU}var vU={},pU;function gfe(){if(pU)return vU;pU=1;var e=Ue(),t=yr(),r=In(),n=go(),i=lh().IteratorPrototype,a=dh(),o=ate(),s=Ln(),l=s||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),c=a(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:l},{from:function(h){var v=o(typeof h=="string"?r(h):h,!0);return n(i,v.iterator)?v.iterator:new c(v)}}),vU}var gU={},mU;function mfe(){if(mU)return gU;mU=1;var e=Ue(),t=yr(),r=gn(),n=br(),i=Za(),a=dh(),o=MP(),s=ja(),l=s_(),c=Iu(),d=Ln(),h=!d&&!l("map",function(){}),v=!d&&!h&&c("map",TypeError),g=d||h||v,S=a(function(){var E=this.iterator,y=n(t(this.next,E)),w=this.done=!!y.done;if(!w)return o(E,this.mapper,[y.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(y){n(this);try{r(y)}catch(w){s(this,"throw",w)}return v?t(v,this,y):new S(i(this),{mapper:y})}}),gU}var yU={},_U;function yfe(){if(_U)return yU;_U=1;var e=Ue(),t=ha(),r=gn(),n=br(),i=Za(),a=ja(),o=Iu(),s=fs(),l=Vt(),c=TypeError,d=l(function(){[].keys().reduce(function(){},void 0)}),h=!d&&o("reduce",c);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(g){n(this);try{r(g)}catch(b){a(this,"throw",b)}var S=arguments.length<2,E=S?void 0:arguments[1];if(h)return s(h,this,S?[g]:[g,E]);var y=i(this),w=0;if(t(y,function(b){S?(S=!1,E=b):E=g(E,b,w),w++},{IS_RECORD:!0}),S)throw new c("Reduce of empty iterator with no initial value");return E}}),yU}var SU={},EU;function _fe(){if(EU)return SU;EU=1;var e=Ue(),t=yr(),r=ha(),n=gn(),i=br(),a=Za(),o=ja(),s=Iu(),l=s("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(l)return t(l,this,d);var h=a(this),v=0;return r(h,function(g,S){if(d(g,v++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),SU}var wU={},bU;function Sfe(){if(bU)return wU;bU=1;var e=Ue(),t=yr(),r=br(),n=Za(),i=ite(),a=HP(),o=dh(),s=ja(),l=Iu(),c=Ln(),d=!c&&l("take",RangeError),h=o(function(){var v=this.iterator;if(!this.remaining--)return this.done=!0,s(v,"normal",void 0);var g=r(t(this.next,v)),S=this.done=!!g.done;if(!S)return g.value});return e({target:"Iterator",proto:!0,real:!0,forced:c||d},{take:function(g){r(this);var S;try{S=a(i(+g))}catch(E){s(this,"throw",E)}return d?t(d,this,S):new h(n(this),{remaining:S})}}),wU}var TU={},RU;function Efe(){if(RU)return TU;RU=1;var e=Ue(),t=br(),r=ha(),n=Za(),i=[].push;return e({target:"Iterator",proto:!0,real:!0},{toArray:function(){var o=[];return r(n(t(this)),i,{that:o,IS_RECORD:!0}),o}}),TU}var xU={},CU;function wfe(){if(CU)return xU;CU=1;var e=er(),t=Uo();return t(e.JSON,"JSON",!0),xU}var AU={},OU={},Y1={exports:{}},K1,IU;function zP(){if(IU)return K1;IU=1;var e=Vt();return K1=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),K1}var X1,PU;function WP(){if(PU)return X1;PU=1;var e=Vt(),t=Gr(),r=Qa(),n=zP(),i=Object.isExtensible,a=e(function(){});return X1=a||n?function(s){return!t(s)||n&&r(s)==="ArrayBuffer"?!1:i?i(s):!0}:i,X1}var Q1,DU;function hh(){if(DU)return Q1;DU=1;var e=Vt();return Q1=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),Q1}var kU;function bf(){if(kU)return Y1.exports;kU=1;var e=Ue(),t=Gt(),r=pp(),n=Gr(),i=mn(),a=xi().f,o=gf(),s=IP(),l=WP(),c=ih(),d=hh(),h=!1,v=c("meta"),g=0,S=function(R){a(R,v,{value:{objectID:"O"+g++,weakData:{}}})},E=function(R,C){if(!n(R))return typeof R=="symbol"?R:(typeof R=="string"?"S":"P")+R;if(!i(R,v)){if(!l(R))return"F";if(!C)return"E";S(R)}return R[v].objectID},y=function(R,C){if(!i(R,v)){if(!l(R))return!0;if(!C)return!1;S(R)}return R[v].weakData},w=function(R){return d&&h&&l(R)&&!i(R,v)&&S(R),R},b=function(){A.enable=function(){},h=!0;var R=o.f,C=t([].splice),O={};O[v]=1,R(O).length&&(o.f=function(m){for(var D=R(m),k=0,q=D.length;k<q;k++)if(D[k]===v){C(D,k,1);break}return D},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},A=Y1.exports={enable:b,fastKey:E,getWeakData:y,onFreeze:w};return r[v]=!0,Y1.exports}var J1,NU;function u_(){if(NU)return J1;NU=1;var e=Ue(),t=er(),r=Gt(),n=mp(),i=Qn(),a=bf(),o=ha(),s=ds(),l=_n(),c=hl(),d=Gr(),h=Vt(),v=Jy(),g=Uo(),S=_f();return J1=function(E,y,w){var b=E.indexOf("Map")!==-1,A=E.indexOf("Weak")!==-1,R=b?"set":"add",C=t[E],O=C&&C.prototype,m=C,D={},k=function(J){var re=r(O[J]);i(O,J,J==="add"?function(N){return re(this,N===0?0:N),this}:J==="delete"?function($){return A&&!d($)?!1:re(this,$===0?0:$)}:J==="get"?function(N){return A&&!d(N)?void 0:re(this,N===0?0:N)}:J==="has"?function(N){return A&&!d(N)?!1:re(this,N===0?0:N)}:function(N,U){return re(this,N===0?0:N,U),this})},q=n(E,!l(C)||!(A||O.forEach&&!h(function(){new C().entries().next()})));if(q)m=w.getConstructor(y,E,b,R),a.enable();else if(n(E,!0)){var j=new m,W=j[R](A?{}:-0,1)!==j,K=h(function(){j.has(1)}),X=v(function(J){new C(J)}),Q=!A&&h(function(){for(var J=new C,re=5;re--;)J[R](re,re);return!J.has(-0)});X||(m=y(function(J,re){s(J,O);var $=S(new C,J,m);return c(re)||o(re,$[R],{that:$,AS_ENTRIES:b}),$}),m.prototype=O,O.constructor=m),(K||Q)&&(k("delete"),k("has"),b&&k("get")),(Q||W)&&k(R),A&&O.clear&&delete O.clear}return D[E]=m,e({global:!0,constructor:!0,forced:m!==C},D),g(m,E),A||w.setStrong(m,E,b),m},J1}var Z1,LU;function ote(){if(LU)return Z1;LU=1;var e=$a(),t=Zi(),r=ml(),n=cs(),i=ds(),a=hl(),o=ha(),s=FP(),l=wf(),c=fh(),d=Ir(),h=bf().fastKey,v=qi(),g=v.set,S=v.getterFor;return Z1={getConstructor:function(E,y,w,b){var A=E(function(D,k){i(D,R),g(D,{type:y,index:e(null),first:null,last:null,size:0}),d||(D.size=0),a(k)||o(k,D[b],{that:D,AS_ENTRIES:w})}),R=A.prototype,C=S(y),O=function(D,k,q){var j=C(D),W=m(D,k),K,X;return W?W.value=q:(j.last=W={index:X=h(k,!0),key:k,value:q,previous:K=j.last,next:null,removed:!1},j.first||(j.first=W),K&&(K.next=W),d?j.size++:D.size++,X!=="F"&&(j.index[X]=W)),D},m=function(D,k){var q=C(D),j=h(k),W;if(j!=="F")return q.index[j];for(W=q.first;W;W=W.next)if(W.key===k)return W};return r(R,{clear:function(){for(var k=this,q=C(k),j=q.first;j;)j.removed=!0,j.previous&&(j.previous=j.previous.next=null),j=j.next;q.first=q.last=null,q.index=e(null),d?q.size=0:k.size=0},delete:function(D){var k=this,q=C(k),j=m(k,D);if(j){var W=j.next,K=j.previous;delete q.index[j.index],j.removed=!0,K&&(K.next=W),W&&(W.previous=K),q.first===j&&(q.first=W),q.last===j&&(q.last=K),d?q.size--:k.size--}return!!j},forEach:function(k){for(var q=C(this),j=n(k,arguments.length>1?arguments[1]:void 0),W;W=W?W.next:q.first;)for(j(W.value,W.key,this);W&&W.removed;)W=W.previous},has:function(k){return!!m(this,k)}}),r(R,w?{get:function(k){var q=m(this,k);return q&&q.value},set:function(k,q){return O(this,k===0?0:k,q)}}:{add:function(k){return O(this,k=k===0?0:k,k)}}),d&&t(R,"size",{configurable:!0,get:function(){return C(this).size}}),A},setStrong:function(E,y,w){var b=y+" Iterator",A=S(y),R=S(b);s(E,y,function(C,O){g(this,{type:b,target:C,state:A(C),kind:O,last:null})},function(){for(var C=R(this),O=C.kind,m=C.last;m&&m.removed;)m=m.previous;return!C.target||!(C.last=m=m?m.next:C.state.first)?(C.target=null,l(void 0,!0)):l(O==="keys"?m.key:O==="values"?m.value:[m.key,m.value],!1)},w?"entries":"values",!w,!0),c(y)}},Z1}var MU;function bfe(){if(MU)return OU;MU=1;var e=u_(),t=ote();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),OU}var $U;function Tfe(){return $U||($U=1,bfe()),AU}var FU={},eb,jU;function ste(){if(jU)return eb;jU=1;var e=Gt(),t=Map.prototype;return eb={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},eb}var UU;function Rfe(){if(UU)return FU;UU=1;var e=Ue(),t=Gt(),r=gn(),n=Pi(),i=ha(),a=ste(),o=Ln(),s=Vt(),l=a.Map,c=a.has,d=a.get,h=a.set,v=t([].push),g=o||s(function(){return l.groupBy("ab",function(S){return S}).get("a").length!==1});return e({target:"Map",stat:!0,forced:o||g},{groupBy:function(E,y){n(E),r(y);var w=new l,b=0;return i(E,function(A){var R=y(A,b++);c(w,R)?v(d(w,R),A):h(w,R,[A])}),w}}),FU}var qU={},tb,VU;function ute(){if(VU)return tb;VU=1;var e=Math.log;return tb=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},tb}var BU;function xfe(){if(BU)return qU;BU=1;var e=Ue(),t=ute(),r=Math.acosh,n=Math.log,i=Math.sqrt,a=Math.LN2,o=!r||Math.floor(r(Number.MAX_VALUE))!==710||r(1/0)!==1/0;return e({target:"Math",stat:!0,forced:o},{acosh:function(l){var c=+l;return c<1?NaN:c>9490626562425156e-8?n(c)+a:t(c-1+i(c-1)*i(c+1))}}),qU}var HU={},zU;function Cfe(){if(zU)return HU;zU=1;var e=Ue(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(o){var s=+o;return!isFinite(s)||s===0?s:s<0?-i(-s):r(s+n(s*s+1))}var a=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:a},{asinh:i}),HU}var WU={},GU;function Afe(){if(GU)return WU;GU=1;var e=Ue(),t=Math.atanh,r=Math.log,n=!(t&&1/t(-0)<0);return e({target:"Math",stat:!0,forced:n},{atanh:function(a){var o=+a;return o===0?o:r((1+o)/(1-o))/2}}),WU}var YU={},KU;function Ofe(){if(KU)return YU;KU=1;var e=Ue(),t=VP(),r=Math.abs,n=Math.pow;return e({target:"Math",stat:!0},{cbrt:function(a){var o=+a;return t(o)*n(r(o),1/3)}}),YU}var XU={},QU;function Ife(){if(QU)return XU;QU=1;var e=Ue(),t=Math.floor,r=Math.log,n=Math.LOG2E;return e({target:"Math",stat:!0},{clz32:function(a){var o=a>>>0;return o?31-t(r(o+.5)*n):32}}),XU}var JU={},rb,ZU;function l_(){if(ZU)return rb;ZU=1;var e=Math.expm1,t=Math.exp;return rb=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!==-2e-17?function(n){var i=+n;return i===0?i:i>-1e-6&&i<1e-6?i+i*i/2:t(i)-1}:e,rb}var e6;function Pfe(){if(e6)return JU;e6=1;var e=Ue(),t=l_(),r=Math.cosh,n=Math.abs,i=Math.E,a=!r||r(710)===1/0;return e({target:"Math",stat:!0,forced:a},{cosh:function(s){var l=t(n(s)-1)+1;return(l+1/(l*i*i))*(i/2)}}),JU}var t6={},r6;function Dfe(){if(r6)return t6;r6=1;var e=Ue(),t=l_();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),t6}var n6={},i6;function kfe(){if(i6)return n6;i6=1;var e=Ue(),t=Kee();return e({target:"Math",stat:!0},{fround:t}),n6}var a6={},o6;function Nfe(){if(o6)return a6;o6=1;var e=Ue(),t=Yee(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(o){return t(o,r,n,i)}}),a6}var s6={},u6;function Lfe(){if(u6)return s6;u6=1;var e=Ue(),t=Math.hypot,r=Math.abs,n=Math.sqrt,i=!!t&&t(1/0,NaN)!==1/0;return e({target:"Math",stat:!0,arity:2,forced:i},{hypot:function(o,s){for(var l=0,c=0,d=arguments.length,h=0,v,g;c<d;)v=r(arguments[c++]),h<v?(g=h/v,l=l*g*g+1,h=v):v>0?(g=v/h,l+=g*g):l+=v;return h===1/0?1/0:h*n(l)}}),s6}var l6={},c6;function Mfe(){if(c6)return l6;c6=1;var e=Ue(),t=Vt(),r=Math.imul,n=t(function(){return r(4294967295,5)!==-5||r.length!==2});return e({target:"Math",stat:!0,forced:n},{imul:function(a,o){var s=65535,l=+a,c=+o,d=s&l,h=s&c;return 0|d*h+((s&l>>>16)*h+d*(s&c>>>16)<<16>>>0)}}),l6}var f6={},nb,d6;function lte(){if(d6)return nb;d6=1;var e=Math.log,t=Math.LOG10E;return nb=Math.log10||function(n){return e(n)*t},nb}var h6;function $fe(){if(h6)return f6;h6=1;var e=Ue(),t=lte();return e({target:"Math",stat:!0},{log10:t}),f6}var v6={},p6;function Ffe(){if(p6)return v6;p6=1;var e=Ue(),t=ute();return e({target:"Math",stat:!0},{log1p:t}),v6}var g6={},m6;function jfe(){if(m6)return g6;m6=1;var e=Ue(),t=Xee();return e({target:"Math",stat:!0},{log2:t}),g6}var y6={},_6;function Ufe(){if(_6)return y6;_6=1;var e=Ue(),t=VP();return e({target:"Math",stat:!0},{sign:t}),y6}var S6={},E6;function qfe(){if(E6)return S6;E6=1;var e=Ue(),t=Vt(),r=l_(),n=Math.abs,i=Math.exp,a=Math.E,o=t(function(){return Math.sinh(-2e-17)!==-2e-17});return e({target:"Math",stat:!0,forced:o},{sinh:function(l){var c=+l;return n(c)<1?(r(c)-r(-c))/2:(i(c-1)-i(-c-1))*(a/2)}}),S6}var w6={},b6;function Vfe(){if(b6)return w6;b6=1;var e=Ue(),t=Gt(),r=ha(),n=RangeError,i=TypeError,a=1/0,o=NaN,s=Math.abs,l=Math.pow,c=t([].push),d=l(2,1023),h=l(2,53)-1,v=Number.MAX_VALUE,g=l(2,971),S={},E={},y={},w={},b={},A=function(R,C){var O=R+C,m=C-(O-R);return{hi:O,lo:m}};return e({target:"Math",stat:!0},{sumPrecise:function(C){var O=[],m=0,D=w;switch(r(C,function(de){if(++m>=h)throw new n("Maximum allowed index exceeded");if(typeof de!="number")throw new i("Value is not a number");D!==S&&(de!==de?D=S:de===a?D=D===E?S:y:de===-a?D=D===y?S:E:(de!==0||1/de===a)&&(D===w||D===b)&&(D=b,c(O,de)))}),D){case S:return o;case E:return-a;case y:return a;case w:return-0}for(var k=[],q=0,j,W,K,X,Q,J,re=0;re<O.length;re++){j=O[re];for(var $=0,N=0;N<k.length;N++){if(W=k[N],s(j)<s(W)&&(J=j,j=W,W=J),K=A(j,W),X=K.hi,Q=K.lo,s(X)===a){var U=X===a?1:-1;q+=U,j=j-U*d-U*d,s(j)<s(W)&&(J=j,j=W,W=J),K=A(j,W),X=K.hi,Q=K.lo}Q!==0&&(k[$++]=Q),j=X}k.length=$,j!==0&&c(k,j)}var ee=k.length-1;if(X=0,Q=0,q!==0){var te=ee>=0?k[ee]:0;if(ee--,s(q)>1||q>0&&te>0||q<0&&te<0)return q>0?a:-a;if(K=A(q*d,te/2),X=K.hi,Q=K.lo,Q*=2,s(2*X)===a)return X>0?X===d&&Q===-(g/2)&&ee>=0&&k[ee]<0?v:a:X===-d&&Q===g/2&&ee>=0&&k[ee]>0?-v:-a;Q!==0&&(k[++ee]=Q,Q=0),X*=2}for(;ee>=0&&(K=A(X,k[ee--]),X=K.hi,Q=K.lo,Q===0););return ee>=0&&(Q<0&&k[ee]<0||Q>0&&k[ee]>0)&&(W=Q*2,j=X+W,W===j-X&&(X=j)),X}}),w6}var T6={},R6;function Bfe(){if(R6)return T6;R6=1;var e=Ue(),t=l_(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var a=+i,o=t(a),s=t(-a);return o===1/0?1:s===1/0?-1:(o-s)/(r(a)+r(-a))}}),T6}var x6={},C6;function Hfe(){if(C6)return x6;C6=1;var e=Uo();return e(Math,"Math",!0),x6}var A6={},O6;function zfe(){if(O6)return A6;O6=1;var e=Ue(),t=bee();return e({target:"Math",stat:!0},{trunc:t}),A6}var I6={},ib,P6;function c_(){if(P6)return ib;P6=1;var e=Gt();return ib=e(1.1.valueOf),ib}var ab,D6;function Tp(){return D6||(D6=1,ab=`
3
- \v\f\r                 \u2028\u2029\uFEFF`),ab}var ob,k6;function vh(){if(k6)return ob;k6=1;var e=Gt(),t=Pi(),r=tn(),n=Tp(),i=e("".replace),a=RegExp("^["+n+"]+"),o=RegExp("(^|[^"+n+"])["+n+"]+$"),s=function(l){return function(c){var d=r(t(c));return l&1&&(d=i(d,a,"")),l&2&&(d=i(d,o,"$1")),d}};return ob={start:s(1),end:s(2),trim:s(3)},ob}var N6;function Wfe(){if(N6)return I6;N6=1;var e=Ue(),t=Ln(),r=Ir(),n=er(),i=Yy(),a=Gt(),o=mp(),s=mn(),l=_f(),c=go(),d=vf(),h=Hy(),v=Vt(),g=gf().f,S=La().f,E=xi().f,y=c_(),w=vh().trim,b="Number",A=n[b],R=i[b],C=A.prototype,O=n.TypeError,m=a("".slice),D=a("".charCodeAt),k=function(Q){var J=h(Q,"number");return typeof J=="bigint"?J:q(J)},q=function(Q){var J=h(Q,"number"),re,$,N,U,ee,te,de,Se;if(d(J))throw new O("Cannot convert a Symbol value to a number");if(typeof J=="string"&&J.length>2){if(J=w(J),re=D(J,0),re===43||re===45){if($=D(J,2),$===88||$===120)return NaN}else if(re===48){switch(D(J,1)){case 66:case 98:N=2,U=49;break;case 79:case 111:N=8,U=55;break;default:return+J}for(ee=m(J,2),te=ee.length,de=0;de<te;de++)if(Se=D(ee,de),Se<48||Se>U)return NaN;return parseInt(ee,N)}}return+J},j=o(b,!A(" 0o1")||!A("0b1")||A("+0x1")),W=function(Q){return c(C,Q)&&v(function(){y(Q)})},K=function(J){var re=arguments.length<1?0:A(k(J));return W(this)?l(Object(re),this,K):re};K.prototype=C,j&&!t&&(C.constructor=K),e({global:!0,constructor:!0,wrap:!0,forced:j},{Number:K});var X=function(Q,J){for(var re=r?g(J):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),$=0,N;re.length>$;$++)s(J,N=re[$])&&!s(Q,N)&&E(Q,N,S(J,N))};return t&&R&&X(i[b],R),(j||t)&&X(i[b],A),I6}var L6={},M6;function Gfe(){if(M6)return L6;M6=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),L6}var $6={},sb,F6;function Yfe(){if(F6)return sb;F6=1;var e=er(),t=e.isFinite;return sb=Number.isFinite||function(n){return typeof n=="number"&&t(n)},sb}var j6;function Kfe(){if(j6)return $6;j6=1;var e=Ue(),t=Yfe();return e({target:"Number",stat:!0},{isFinite:t}),$6}var U6={},ub,q6;function GP(){if(q6)return ub;q6=1;var e=Gr(),t=Math.floor;return ub=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},ub}var V6;function Xfe(){if(V6)return U6;V6=1;var e=Ue(),t=GP();return e({target:"Number",stat:!0},{isInteger:t}),U6}var B6={},H6;function Qfe(){if(H6)return B6;H6=1;var e=Ue();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),B6}var z6={},W6;function Jfe(){if(W6)return z6;W6=1;var e=Ue(),t=GP(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),z6}var G6={},Y6;function Zfe(){if(Y6)return G6;Y6=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),G6}var K6={},X6;function ede(){if(X6)return K6;X6=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),K6}var Q6={},lb,J6;function cte(){if(J6)return lb;J6=1;var e=er(),t=Vt(),r=Gt(),n=tn(),i=vh().trim,a=Tp(),o=r("".charAt),s=e.parseFloat,l=e.Symbol,c=l&&l.iterator,d=1/s(a+"-0")!==-1/0||c&&!t(function(){s(Object(c))});return lb=d?function(v){var g=i(n(v)),S=s(g);return S===0&&o(g,0)==="-"?-0:S}:s,lb}var Z6;function tde(){if(Z6)return Q6;Z6=1;var e=Ue(),t=cte();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),Q6}var e5={},cb,t5;function fte(){if(t5)return cb;t5=1;var e=er(),t=Vt(),r=Gt(),n=tn(),i=vh().trim,a=Tp(),o=e.parseInt,s=e.Symbol,l=s&&s.iterator,c=/^[+-]?0x/i,d=r(c.exec),h=o(a+"08")!==8||o(a+"0x16")!==22||l&&!t(function(){o(Object(l))});return cb=h?function(g,S){var E=i(n(g));return o(E,S>>>0||(d(c,E)?16:10))}:o,cb}var r5;function rde(){if(r5)return e5;r5=1;var e=Ue(),t=fte();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),e5}var n5={},i5;function nde(){if(i5)return n5;i5=1;var e=Ue(),t=Gt(),r=Wi(),n=c_(),i=a_(),a=lte(),o=Vt(),s=RangeError,l=String,c=isFinite,d=Math.abs,h=Math.floor,v=Math.pow,g=Math.round,S=t(1.1.toExponential),E=t(i),y=t("".slice),w=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",b=function(){return o(function(){S(1,1/0)})&&o(function(){S(1,-1/0)})},A=function(){return!o(function(){S(1/0,1/0),S(NaN,1/0)})},R=!w||!b()||!A();return e({target:"Number",proto:!0,forced:R},{toExponential:function(O){var m=n(this);if(O===void 0)return S(m);var D=r(O);if(!c(m))return String(m);if(D<0||D>20)throw new s("Incorrect fraction digits");if(w)return S(m,D);var k="",q,j,W,K;if(m<0&&(k="-",m=-m),m===0)j=0,q=E("0",D+1);else{var X=a(m);j=h(X);var Q=v(10,j-D),J=g(m/Q);2*m>=(2*J+1)*Q&&(J+=1),J>=v(10,D+1)&&(J/=10,j+=1),q=l(J)}return D!==0&&(q=y(q,0,1)+"."+y(q,1)),j===0?(W="+",K="0"):(W=j>0?"+":"-",K=l(d(j))),q+="e"+W+K,k+q}}),n5}var a5={},o5;function ide(){if(o5)return a5;o5=1;var e=Ue(),t=Gt(),r=Wi(),n=c_(),i=a_(),a=Vt(),o=RangeError,s=String,l=Math.floor,c=t(i),d=t("".slice),h=t(1.1.toFixed),v=function(b,A,R){return A===0?R:A%2===1?v(b,A-1,R*b):v(b*b,A/2,R)},g=function(b){for(var A=0,R=b;R>=4096;)A+=12,R/=4096;for(;R>=2;)A+=1,R/=2;return A},S=function(b,A,R){for(var C=-1,O=R;++C<6;)O+=A*b[C],b[C]=O%1e7,O=l(O/1e7)},E=function(b,A){for(var R=6,C=0;--R>=0;)C+=b[R],b[R]=l(C/A),C=C%A*1e7},y=function(b){for(var A=6,R="";--A>=0;)if(R!==""||A===0||b[A]!==0){var C=s(b[A]);R=R===""?C:R+c("0",7-C.length)+C}return R},w=a(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!a(function(){h({})});return e({target:"Number",proto:!0,forced:w},{toFixed:function(A){var R=n(this),C=r(A),O=[0,0,0,0,0,0],m="",D="0",k,q,j,W;if(C<0||C>20)throw new o("Incorrect fraction digits");if(R!==R)return"NaN";if(R<=-1e21||R>=1e21)return s(R);if(R<0&&(m="-",R=-R),R>1e-21)if(k=g(R*v(2,69,1))-69,q=k<0?R*v(2,-k,1):R/v(2,k,1),q*=4503599627370496,k=52-k,k>0){for(S(O,0,q),j=C;j>=7;)S(O,1e7,0),j-=7;for(S(O,v(10,j,1),0),j=k-1;j>=23;)E(O,1<<23),j-=23;E(O,1<<j),S(O,1,1),E(O,2),D=y(O)}else S(O,0,q),S(O,1<<-k,0),D=y(O)+c("0",C);return C>0?(W=D.length,D=m+(W<=C?"0."+c("0",C-W)+D:d(D,0,W-C)+"."+d(D,W-C))):D=m+D,D}}),a5}var s5={},u5;function ade(){if(u5)return s5;u5=1;var e=Ue(),t=Gt(),r=Vt(),n=c_(),i=t(1.1.toPrecision),a=r(function(){return i(1,void 0)!=="1"})||!r(function(){i({})});return e({target:"Number",proto:!0,forced:a},{toPrecision:function(s){return s===void 0?i(n(this)):i(n(this),s)}}),s5}var l5={},fb,c5;function dte(){if(c5)return fb;c5=1;var e=Ir(),t=Gt(),r=yr(),n=Vt(),i=yp(),a=Gy(),o=Vy(),s=In(),l=th(),c=Object.assign,d=Object.defineProperty,h=t([].concat);return fb=!c||n(function(){if(e&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},g={},S=Symbol("assign detection"),E="abcdefghijklmnopqrst";return v[S]=7,E.split("").forEach(function(y){g[y]=y}),c({},v)[S]!==7||i(c({},g)).join("")!==E})?function(g,S){for(var E=s(g),y=arguments.length,w=1,b=a.f,A=o.f;y>w;)for(var R=l(arguments[w++]),C=b?h(i(R),b(R)):i(R),O=C.length,m=0,D;O>m;)D=C[m++],(!e||r(A,R,D))&&(E[D]=R[D]);return E}:c,fb}var f5;function ode(){if(f5)return l5;f5=1;var e=Ue(),t=dte();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),l5}var d5={},h5;function sde(){if(h5)return d5;h5=1;var e=Ue(),t=Ir(),r=$a();return e({target:"Object",stat:!0,sham:!t},{create:r}),d5}var v5={},db,p5;function f_(){if(p5)return db;p5=1;var e=Ln(),t=er(),r=Vt(),n=qP();return db=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),db}var g5;function ude(){if(g5)return v5;g5=1;var e=Ue(),t=Ir(),r=f_(),n=gn(),i=In(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(s,l){a.f(i(this),s,{get:n(l),enumerable:!0,configurable:!0})}}),v5}var m5={},y5;function lde(){if(y5)return m5;y5=1;var e=Ue(),t=Ir(),r=OP().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),m5}var _5={},S5;function cde(){if(S5)return _5;S5=1;var e=Ue(),t=Ir(),r=xi().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),_5}var E5={},w5;function fde(){if(w5)return E5;w5=1;var e=Ue(),t=Ir(),r=f_(),n=gn(),i=In(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(s,l){a.f(i(this),s,{set:n(l),enumerable:!0,configurable:!0})}}),E5}var b5={},hb,T5;function hte(){if(T5)return hb;T5=1;var e=Ir(),t=Vt(),r=Gt(),n=mo(),i=yp(),a=Ta(),o=Vy().f,s=r(o),l=r([].push),c=e&&t(function(){var h=Object.create(null);return h[2]=2,!s(h,2)}),d=function(h){return function(v){for(var g=a(v),S=i(g),E=c&&n(g)===null,y=S.length,w=0,b=[],A;y>w;)A=S[w++],(!e||(E?A in g:s(g,A)))&&l(b,h?[A,g[A]]:g[A]);return b}};return hb={entries:d(!0),values:d(!1)},hb}var R5;function dde(){if(R5)return b5;R5=1;var e=Ue(),t=hte().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),b5}var x5={},C5;function hde(){if(C5)return x5;C5=1;var e=Ue(),t=hh(),r=Vt(),n=Gr(),i=bf().onFreeze,a=Object.freeze,o=r(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!t},{freeze:function(l){return a&&n(l)?a(i(l)):l}}),x5}var A5={},O5;function vde(){if(O5)return A5;O5=1;var e=Ue(),t=ha(),r=pl();return e({target:"Object",stat:!0},{fromEntries:function(i){var a={};return t(i,function(o,s){r(a,o,s)},{AS_ENTRIES:!0}),a}}),A5}var I5={},P5;function pde(){if(P5)return I5;P5=1;var e=Ue(),t=Vt(),r=Ta(),n=La().f,i=Ir(),a=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getOwnPropertyDescriptor:function(s,l){return n(r(s),l)}}),I5}var D5={},k5;function gde(){if(k5)return D5;k5=1;var e=Ue(),t=Ir(),r=CP(),n=Ta(),i=La(),a=pl();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(s){for(var l=n(s),c=i.f,d=r(l),h={},v=0,g,S;d.length>v;)S=c(l,g=d[v++]),S!==void 0&&a(h,g,S);return h}}),D5}var N5={},L5;function mde(){if(L5)return N5;L5=1;var e=Ue(),t=Vt(),r=IP().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),N5}var M5={},$5;function yde(){if($5)return M5;$5=1;var e=Ue(),t=Vt(),r=In(),n=mo(),i=kP(),a=t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(s){return n(r(s))}}),M5}var F5={},j5;function _de(){if(j5)return F5;j5=1;var e=Ue(),t=pn(),r=Gt(),n=gn(),i=Pi(),a=sc(),o=ha(),s=Vt(),l=Object.groupBy,c=t("Object","create"),d=r([].push),h=!l||s(function(){return l("ab",function(v){return v}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(g,S){i(g),n(S);var E=c(null),y=0;return o(g,function(w){var b=a(S(w,y++));b in E?d(E[b],w):E[b]=[w]}),E}}),F5}var U5={},q5;function Sde(){if(q5)return U5;q5=1;var e=Ue(),t=mn();return e({target:"Object",stat:!0},{hasOwn:t}),U5}var V5={},vb,B5;function vte(){return B5||(B5=1,vb=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),vb}var H5;function Ede(){if(H5)return V5;H5=1;var e=Ue(),t=vte();return e({target:"Object",stat:!0},{is:t}),V5}var z5={},W5;function wde(){if(W5)return z5;W5=1;var e=Ue(),t=WP();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),z5}var G5={},Y5;function bde(){if(Y5)return G5;Y5=1;var e=Ue(),t=Vt(),r=Gr(),n=Qa(),i=zP(),a=Object.isFrozen,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isFrozen:function(l){return!r(l)||i&&n(l)==="ArrayBuffer"?!0:a?a(l):!1}}),G5}var K5={},X5;function Tde(){if(X5)return K5;X5=1;var e=Ue(),t=Vt(),r=Gr(),n=Qa(),i=zP(),a=Object.isSealed,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isSealed:function(l){return!r(l)||i&&n(l)==="ArrayBuffer"?!0:a?a(l):!1}}),K5}var Q5={},J5;function Rde(){if(J5)return Q5;J5=1;var e=Ue(),t=In(),r=yp(),n=Vt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(o){return r(t(o))}}),Q5}var Z5={},eq;function xde(){if(eq)return Z5;eq=1;var e=Ue(),t=Ir(),r=f_(),n=In(),i=sc(),a=mo(),o=La().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(l){var c=n(this),d=i(l),h;do if(h=o(c,d))return h.get;while(c=a(c))}}),Z5}var tq={},rq;function Cde(){if(rq)return tq;rq=1;var e=Ue(),t=Ir(),r=f_(),n=In(),i=sc(),a=mo(),o=La().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(l){var c=n(this),d=i(l),h;do if(h=o(c,d))return h.set;while(c=a(c))}}),tq}var nq={},iq;function Ade(){if(iq)return nq;iq=1;var e=Ue(),t=Gr(),r=bf().onFreeze,n=hh(),i=Vt(),a=Object.preventExtensions,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{preventExtensions:function(l){return a&&t(l)?a(r(l)):l}}),nq}var aq={},oq;function Ode(){if(oq)return aq;oq=1;var e=Ir(),t=Zi(),r=Gr(),n=Iee(),i=In(),a=Pi(),o=Object.getPrototypeOf,s=Object.setPrototypeOf,l=Object.prototype,c="__proto__";if(e&&o&&s&&!(c in l))try{t(l,c,{configurable:!0,get:function(){return o(i(this))},set:function(h){var v=a(this);n(h)&&r(v)&&s(v,h)}})}catch{}return aq}var sq={},uq;function Ide(){if(uq)return sq;uq=1;var e=Ue(),t=Gr(),r=bf().onFreeze,n=hh(),i=Vt(),a=Object.seal,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{seal:function(l){return a&&t(l)?a(r(l)):l}}),sq}var lq={},cq;function Pde(){if(cq)return lq;cq=1;var e=Ue(),t=ru();return e({target:"Object",stat:!0},{setPrototypeOf:t}),lq}var fq={},pb,dq;function Dde(){if(dq)return pb;dq=1;var e=AP(),t=ls();return pb=e?{}.toString:function(){return"[object "+t(this)+"]"},pb}var hq;function kde(){if(hq)return fq;hq=1;var e=AP(),t=Qn(),r=Dde();return e||t(Object.prototype,"toString",r,{unsafe:!0}),fq}var vq={},pq;function Nde(){if(pq)return vq;pq=1;var e=Ue(),t=hte().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),vq}var gq={},mq;function Lde(){if(mq)return gq;mq=1;var e=Ue(),t=cte();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),gq}var yq={},_q;function Mde(){if(_q)return yq;_q=1;var e=Ue(),t=fte();return e({global:!0,forced:parseInt!==t},{parseInt:t}),yq}var Sq={},Eq={},gb,wq;function YP(){if(wq)return gb;wq=1;var e=yf(),t=pf(),r=TypeError;return gb=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},gb}var mb,bq;function d_(){if(bq)return mb;bq=1;var e=br(),t=YP(),r=hl(),n=Yr(),i=n("species");return mb=function(a,o){var s=e(a).constructor,l;return s===void 0||r(l=e(s)[i])?o:t(l)},mb}var yb,Tq;function Fs(){if(Tq)return yb;Tq=1;var e=TypeError;return yb=function(t,r){if(t<r)throw new e("Not enough arguments");return t},yb}var _b,Rq;function pte(){if(Rq)return _b;Rq=1;var e=Au();return _b=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),_b}var Sb,xq;function h_(){if(xq)return Sb;xq=1;var e=er(),t=fs(),r=cs(),n=_n(),i=mn(),a=Vt(),o=Ree(),s=$s(),l=zy(),c=Fs(),d=pte(),h=ch(),v=e.setImmediate,g=e.clearImmediate,S=e.process,E=e.Dispatch,y=e.Function,w=e.MessageChannel,b=e.String,A=0,R={},C="onreadystatechange",O,m,D,k;a(function(){O=e.location});var q=function(X){if(i(R,X)){var Q=R[X];delete R[X],Q()}},j=function(X){return function(){q(X)}},W=function(X){q(X.data)},K=function(X){e.postMessage(b(X),O.protocol+"//"+O.host)};return(!v||!g)&&(v=function(Q){c(arguments.length,1);var J=n(Q)?Q:y(Q),re=s(arguments,1);return R[++A]=function(){t(J,void 0,re)},m(A),A},g=function(Q){delete R[Q]},h?m=function(X){S.nextTick(j(X))}:E&&E.now?m=function(X){E.now(j(X))}:w&&!d?(D=new w,k=D.port2,D.port1.onmessage=W,m=r(k.postMessage,k)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!a(K)?(m=K,e.addEventListener("message",W,!1)):C in l("script")?m=function(X){o.appendChild(l("script"))[C]=function(){o.removeChild(this),q(X)}}:m=function(X){setTimeout(j(X),0)}),Sb={set:v,clear:g},Sb}var Eb,Cq;function gte(){if(Cq)return Eb;Cq=1;var e=er(),t=Ir(),r=Object.getOwnPropertyDescriptor;return Eb=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},Eb}var wb,Aq;function mte(){if(Aq)return wb;Aq=1;var e=function(){this.head=null,this.tail=null};return e.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},wb=e,wb}var bb,Oq;function $de(){if(Oq)return bb;Oq=1;var e=Au();return bb=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",bb}var Tb,Iq;function Fde(){if(Iq)return Tb;Iq=1;var e=Au();return Tb=/web0s(?!.*chrome)/i.test(e),Tb}var Rb,Pq;function yte(){if(Pq)return Rb;Pq=1;var e=er(),t=gte(),r=cs(),n=h_().set,i=mte(),a=pte(),o=$de(),s=Fde(),l=ch(),c=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,v=e.Promise,g=t("queueMicrotask"),S,E,y,w,b;if(!g){var A=new i,R=function(){var C,O;for(l&&(C=h.domain)&&C.exit();O=A.get();)try{O()}catch(m){throw A.head&&S(),m}C&&C.enter()};!a&&!l&&!s&&c&&d?(E=!0,y=d.createTextNode(""),new c(R).observe(y,{characterData:!0}),S=function(){y.data=E=!E}):!o&&v&&v.resolve?(w=v.resolve(void 0),w.constructor=v,b=r(w.then,w),S=function(){b(R)}):l?S=function(){h.nextTick(R)}:(n=r(n,e),S=function(){n(R)}),g=function(C){A.head||S(),A.add(C)}}return Rb=g,Rb}var xb,Dq;function jde(){return Dq||(Dq=1,xb=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),xb}var Cb,kq;function ph(){return kq||(kq=1,Cb=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),Cb}var Ab,Nq;function gh(){if(Nq)return Ab;Nq=1;var e=er();return Ab=e.Promise,Ab}var Ob,Lq;function Rp(){if(Lq)return Ob;Lq=1;var e=er(),t=gh(),r=_n(),n=mp(),i=TP(),a=Yr(),o=t_(),s=Ln(),l=Ou(),c=t&&t.prototype,d=a("species"),h=!1,v=r(e.PromiseRejectionEvent),g=n("Promise",function(){var S=i(t),E=S!==String(t);if(!E&&l===66||s&&!(c.catch&&c.finally))return!0;if(!l||l<51||!/native code/.test(S)){var y=new t(function(A){A(1)}),w=function(A){A(function(){},function(){})},b=y.constructor={};if(b[d]=w,h=y.then(function(){})instanceof w,!h)return!0}return!E&&(o==="BROWSER"||o==="DENO")&&!v});return Ob={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:h},Ob}var Ib={},Mq;function yl(){if(Mq)return Ib;Mq=1;var e=gn(),t=TypeError,r=function(n){var i,a;this.promise=new n(function(o,s){if(i!==void 0||a!==void 0)throw new t("Bad Promise constructor");i=o,a=s}),this.resolve=e(i),this.reject=e(a)};return Ib.f=function(n){return new r(n)},Ib}var $q;function Ude(){if($q)return Eq;$q=1;var e=Ue(),t=Ln(),r=ch(),n=er(),i=Yy(),a=yr(),o=Qn(),s=ru(),l=Uo(),c=fh(),d=gn(),h=_n(),v=Gr(),g=ds(),S=d_(),E=h_().set,y=yte(),w=jde(),b=ph(),A=mte(),R=qi(),C=gh(),O=Rp(),m=yl(),D="Promise",k=O.CONSTRUCTOR,q=O.REJECTION_EVENT,j=O.SUBCLASSING,W=R.getterFor(D),K=R.set,X=C&&C.prototype,Q=C,J=X,re=n.TypeError,$=n.document,N=n.process,U=m.f,ee=U,te=!!($&&$.createEvent&&n.dispatchEvent),de="unhandledrejection",Se="rejectionhandled",xe=0,ue=1,I=2,P=1,B=2,L,H,ne,ce,we=function(Ve){var qe;return v(Ve)&&h(qe=Ve.then)?qe:!1},_e=function(Ve,qe){var Ge=qe.value,ct=qe.state===ue,Ut=ct?Ve.ok:Ve.fail,Wt=Ve.resolve,Je=Ve.reject,Rt=Ve.domain,_t,st,rt;try{Ut?(ct||(qe.rejection===B&&me(qe),qe.rejection=P),Ut===!0?_t=Ge:(Rt&&Rt.enter(),_t=Ut(Ge),Rt&&(Rt.exit(),rt=!0)),_t===Ve.promise?Je(new re("Promise-chain cycle")):(st=we(_t))?a(st,_t,Wt,Je):Wt(_t)):Je(Ge)}catch(dt){Rt&&!rt&&Rt.exit(),Je(dt)}},Oe=function(Ve,qe){Ve.notified||(Ve.notified=!0,y(function(){for(var Ge=Ve.reactions,ct;ct=Ge.get();)_e(ct,Ve);Ve.notified=!1,qe&&!Ve.rejection&&Ie(Ve)}))},Re=function(Ve,qe,Ge){var ct,Ut;te?(ct=$.createEvent("Event"),ct.promise=qe,ct.reason=Ge,ct.initEvent(Ve,!1,!0),n.dispatchEvent(ct)):ct={promise:qe,reason:Ge},!q&&(Ut=n["on"+Ve])?Ut(ct):Ve===de&&w("Unhandled promise rejection",Ge)},Ie=function(Ve){a(E,n,function(){var qe=Ve.facade,Ge=Ve.value,ct=$e(Ve),Ut;if(ct&&(Ut=b(function(){r?N.emit("unhandledRejection",Ge,qe):Re(de,qe,Ge)}),Ve.rejection=r||$e(Ve)?B:P,Ut.error))throw Ut.value})},$e=function(Ve){return Ve.rejection!==P&&!Ve.parent},me=function(Ve){a(E,n,function(){var qe=Ve.facade;r?N.emit("rejectionHandled",qe):Re(Se,qe,Ve.value)})},be=function(Ve,qe,Ge){return function(ct){Ve(qe,ct,Ge)}},Te=function(Ve,qe,Ge){Ve.done||(Ve.done=!0,Ge&&(Ve=Ge),Ve.value=qe,Ve.state=I,Oe(Ve,!0))},Ne=function(Ve,qe,Ge){if(!Ve.done){Ve.done=!0,Ge&&(Ve=Ge);try{if(Ve.facade===qe)throw new re("Promise can't be resolved itself");var ct=we(qe);ct?y(function(){var Ut={done:!1};try{a(ct,qe,be(Ne,Ut,Ve),be(Te,Ut,Ve))}catch(Wt){Te(Ut,Wt,Ve)}}):(Ve.value=qe,Ve.state=ue,Oe(Ve,!1))}catch(Ut){Te({done:!1},Ut,Ve)}}};if(k&&(Q=function(qe){g(this,J),d(qe),a(L,this);var Ge=W(this);try{qe(be(Ne,Ge),be(Te,Ge))}catch(ct){Te(Ge,ct)}},J=Q.prototype,L=function(qe){K(this,{type:D,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:xe,value:null})},L.prototype=o(J,"then",function(qe,Ge){var ct=W(this),Ut=U(S(this,Q));return ct.parent=!0,Ut.ok=h(qe)?qe:!0,Ut.fail=h(Ge)&&Ge,Ut.domain=r?N.domain:void 0,ct.state===xe?ct.reactions.add(Ut):y(function(){_e(Ut,ct)}),Ut.promise}),H=function(){var Ve=new L,qe=W(Ve);this.promise=Ve,this.resolve=be(Ne,qe),this.reject=be(Te,qe)},m.f=U=function(Ve){return Ve===Q||Ve===ne?new H(Ve):ee(Ve)},!t&&h(C)&&X!==Object.prototype)){ce=X.then,j||o(X,"then",function(qe,Ge){var ct=this;return new Q(function(Ut,Wt){a(ce,ct,Ut,Wt)}).then(qe,Ge)},{unsafe:!0});try{delete X.constructor}catch{}s&&s(X,J)}return e({global:!0,constructor:!0,wrap:!0,forced:k},{Promise:Q}),ne=i.Promise,l(Q,D,!1,!0),c(D),Eq}var Fq={},Pb,jq;function v_(){if(jq)return Pb;jq=1;var e=gh(),t=Jy(),r=Rp().CONSTRUCTOR;return Pb=r||!t(function(n){e.all(n).then(void 0,function(){})}),Pb}var Uq;function qde(){if(Uq)return Fq;Uq=1;var e=Ue(),t=yr(),r=gn(),n=yl(),i=ph(),a=ha(),o=v_();return e({target:"Promise",stat:!0,forced:o},{all:function(l){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var S=r(c.resolve),E=[],y=0,w=1;a(l,function(b){var A=y++,R=!1;w++,t(S,c,b).then(function(C){R||(R=!0,E[A]=C,--w||h(E))},v)}),--w||h(E)});return g.error&&v(g.value),d.promise}}),Fq}var qq={},Vq;function Vde(){if(Vq)return qq;Vq=1;var e=Ue(),t=Ln(),r=Rp().CONSTRUCTOR,n=gh(),i=pn(),a=_n(),o=Qn(),s=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(c){return this.then(void 0,c)}}),!t&&a(n)){var l=i("Promise").prototype.catch;s.catch!==l&&o(s,"catch",l,{unsafe:!0})}return qq}var Bq={},Hq;function Bde(){if(Hq)return Bq;Hq=1;var e=Ue(),t=yr(),r=gn(),n=yl(),i=ph(),a=ha(),o=v_();return e({target:"Promise",stat:!0,forced:o},{race:function(l){var c=this,d=n.f(c),h=d.reject,v=i(function(){var g=r(c.resolve);a(l,function(S){t(g,c,S).then(d.resolve,h)})});return v.error&&h(v.value),d.promise}}),Bq}var zq={},Wq;function Hde(){if(Wq)return zq;Wq=1;var e=Ue(),t=yl(),r=Rp().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=t.f(this),o=a.reject;return o(i),a.promise}}),zq}var Gq={},Db,Yq;function _te(){if(Yq)return Db;Yq=1;var e=br(),t=Gr(),r=yl();return Db=function(n,i){if(e(n),t(i)&&i.constructor===n)return i;var a=r.f(n),o=a.resolve;return o(i),a.promise},Db}var Kq;function zde(){if(Kq)return Gq;Kq=1;var e=Ue(),t=pn(),r=Ln(),n=gh(),i=Rp().CONSTRUCTOR,a=_te(),o=t("Promise"),s=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(c){return a(s&&this===o?n:this,c)}}),Gq}var Xq;function Wde(){return Xq||(Xq=1,Ude(),qde(),Vde(),Bde(),Hde(),zde()),Sq}var Qq={},Jq;function Gde(){if(Jq)return Qq;Jq=1;var e=Ue(),t=yr(),r=gn(),n=yl(),i=ph(),a=ha(),o=v_();return e({target:"Promise",stat:!0,forced:o},{allSettled:function(l){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var S=r(c.resolve),E=[],y=0,w=1;a(l,function(b){var A=y++,R=!1;w++,t(S,c,b).then(function(C){R||(R=!0,E[A]={status:"fulfilled",value:C},--w||h(E))},function(C){R||(R=!0,E[A]={status:"rejected",reason:C},--w||h(E))})}),--w||h(E)});return g.error&&v(g.value),d.promise}}),Qq}var Zq={},e8;function Yde(){if(e8)return Zq;e8=1;var e=Ue(),t=yr(),r=gn(),n=pn(),i=yl(),a=ph(),o=ha(),s=v_(),l="No one promise resolved";return e({target:"Promise",stat:!0,forced:s},{any:function(d){var h=this,v=n("AggregateError"),g=i.f(h),S=g.resolve,E=g.reject,y=a(function(){var w=r(h.resolve),b=[],A=0,R=1,C=!1;o(d,function(O){var m=A++,D=!1;R++,t(w,h,O).then(function(k){D||C||(C=!0,S(k))},function(k){D||C||(D=!0,b[m]=k,--R||E(new v(b,l)))})}),--R||E(new v(b,l))});return y.error&&E(y.value),g.promise}}),Zq}var t8={},r8;function Kde(){if(r8)return t8;r8=1;var e=Ue(),t=Ln(),r=gh(),n=Vt(),i=pn(),a=_n(),o=d_(),s=_te(),l=Qn(),c=r&&r.prototype,d=!!r&&n(function(){c.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(v){var g=o(this,i("Promise")),S=a(v);return this.then(S?function(E){return s(g,v()).then(function(){return E})}:v,S?function(E){return s(g,v()).then(function(){throw E})}:v)}}),!t&&a(r)){var h=i("Promise").prototype.finally;c.finally!==h&&l(c,"finally",h,{unsafe:!0})}return t8}var n8={},i8;function Xde(){if(i8)return n8;i8=1;var e=Ue(),t=er(),r=fs(),n=$s(),i=yl(),a=gn(),o=ph(),s=t.Promise,l=!1,c=!s||!s.try||o(function(){s.try(function(d){l=d===8},8)}).error||!l;return e({target:"Promise",stat:!0,forced:c},{try:function(d){var h=arguments.length>1?n(arguments,1):[],v=i.f(this),g=o(function(){return r(a(d),void 0,h)});return(g.error?v.reject:v.resolve)(g.value),v.promise}}),n8}var a8={},o8;function Qde(){if(o8)return a8;o8=1;var e=Ue(),t=yl();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),a8}var s8={},kb,u8;function Ste(){if(u8)return kb;u8=1;var e=er(),t=By(),r=_n(),n=$a(),i=mo(),a=Qn(),o=Yr(),s=Ln(),l="USE_FUNCTION_CONSTRUCTOR",c=o("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,v,g;if(h)v=h;else if(r(d))v=d.prototype;else if(t[l]||e[l])try{g=i(i(i(Function("return async function*(){}()")()))),i(g)===Object.prototype&&(v=g)}catch{}return v?s&&(v=n(v)):v={},r(v[c])||a(v,c,function(){return this}),kb=v,kb}var Nb,l8;function Ete(){if(l8)return Nb;l8=1;var e=yr(),t=br(),r=$a(),n=Na(),i=ml(),a=qi(),o=ja(),s=pn(),l=Ste(),c=wf(),d=s("Promise"),h="AsyncFromSyncIterator",v=a.set,g=a.getterFor(h),S=function(y,w,b,A,R){var C=y.done;d.resolve(y.value).then(function(O){w(c(O,C))},function(O){if(!C&&R)try{o(A,"throw",O)}catch(m){O=m}b(O)})},E=function(w){w.type=h,v(this,w)};return E.prototype=i(r(l),{next:function(){var w=g(this);return new d(function(b,A){var R=t(e(w.next,w.iterator));S(R,b,A,w.iterator,!0)})},return:function(){var y=g(this).iterator;return new d(function(w,b){var A=n(y,"return");if(A===void 0)return w(c(void 0,!0));var R=t(e(A,y));S(R,w,b,y)})}}),Nb=E,Nb}var Lb,c8;function Jde(){if(c8)return Lb;c8=1;var e=yr(),t=Ete(),r=br(),n=uh(),i=Za(),a=Na(),o=Yr(),s=o("asyncIterator");return Lb=function(l,c){var d=arguments.length<2?a(l,s):c;return d?r(e(d,l)):new t(i(n(l)))},Lb}var Mb,f8;function Zde(){if(f8)return Mb;f8=1;var e=yr(),t=pn(),r=Na();return Mb=function(n,i,a,o){try{var s=r(n,"return");if(s)return t("Promise").resolve(e(s,n)).then(function(){i(a)},function(l){o(l)})}catch(l){return o(l)}i(a)},Mb}var $b,d8;function ehe(){if(d8)return $b;d8=1;var e=yr(),t=gn(),r=br(),n=Gr(),i=Ef(),a=pn(),o=Za(),s=Zde(),l=function(c){var d=c===0,h=c===1,v=c===2,g=c===3;return function(S,E,y){r(S);var w=E!==void 0;(w||!d)&&t(E);var b=o(S),A=a("Promise"),R=b.iterator,C=b.next,O=0;return new A(function(m,D){var k=function(j){s(R,D,j,D)},q=function(){try{if(w)try{i(O)}catch(j){k(j)}A.resolve(r(e(C,R))).then(function(j){try{if(r(j).done)d?(y.length=O,m(y)):m(g?!1:v||void 0);else{var W=j.value;try{if(w){var K=E(W,O),X=function(Q){if(h)q();else if(v)Q?q():s(R,m,!1,D);else if(d)try{y[O++]=Q,q()}catch(J){k(J)}else Q?s(R,m,g||W,D):q()};n(K)?A.resolve(K).then(X,k):X(K)}else y[O++]=W,q()}catch(Q){k(Q)}}}catch(Q){D(Q)}},D)}catch(j){D(j)}};q()})}};return $b={toArray:l(0),forEach:l(1),every:l(2),some:l(3),find:l(4)},$b}var Fb,h8;function the(){if(h8)return Fb;h8=1;var e=cs(),t=Gt(),r=In(),n=yf(),i=Jde(),a=uh(),o=Za(),s=Sf(),l=Na(),c=pn(),d=zee(),h=Yr(),v=Ete(),g=ehe().toArray,S=h("asyncIterator"),E=t(d("Array","values")),y=t(E([]).next),w=function(){return new b(this)},b=function(A){this.iterator=E(A)};return b.prototype.next=function(){return y(this.iterator)},Fb=function(R){var C=this,O=arguments.length,m=O>1?arguments[1]:void 0,D=O>2?arguments[2]:void 0;return new(c("Promise"))(function(k){var q=r(R);m!==void 0&&(m=e(m,D));var j=l(q,S),W=j?void 0:s(q)||w,K=n(C)?new C:[],X=j?i(q,j):new v(o(a(q,W)));k(g(X,m,K))})},Fb}var v8;function rhe(){if(v8)return s8;v8=1;var e=Ue(),t=the(),r=Vt(),n=Array.fromAsync,i=!n||r(function(){var a=0;return n.call(function(){return a++,[]},{length:0}),a!==1});return e({target:"Array",stat:!0,forced:i},{fromAsync:t}),s8}var p8={},g8;function nhe(){if(g8)return p8;g8=1;var e=Ue(),t=Ir(),r=pn(),n=gn(),i=ds(),a=Qn(),o=ml(),s=Zi(),l=Yr(),c=qi(),d=rte(),h=Ou(),v=r("Promise"),g=r("SuppressedError"),S=ReferenceError,E=l("asyncDispose"),y=l("toStringTag"),w="AsyncDisposableStack",b=c.set,A=c.getterFor(w),R="async-dispose",C="disposed",O="pending",m=function(j){var W=A(j);if(W.state===C)throw new S(w+" already disposed");return W},D=function(){b(i(this,k),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},k=D.prototype;o(k,{disposeAsync:function(){var W=this;return new v(function(K,X){var Q=A(W);if(Q.state===C)return K(void 0);Q.state=C,t||(W.disposed=!0);var J=Q.stack,re=J.length,$=!1,N,U=function(te){$?N=new g(te,N):($=!0,N=te),ee()},ee=function(){if(re){var te=J[--re];J[re]=null;try{v.resolve(te()).then(ee,U)}catch(de){U(de)}}else Q.stack=null,$?X(N):K(void 0)};ee()})},use:function(W){return d(m(this),W,R),W},adopt:function(W,K){var X=m(this);return n(K),d(X,void 0,R,function(){return K(W)}),W},defer:function(W){var K=m(this);n(W),d(K,void 0,R,W)},move:function(){var W=m(this),K=new D;return A(K).stack=W.stack,W.stack=[],W.state=C,t||(this.disposed=!0),K}}),t&&s(k,"disposed",{configurable:!0,get:function(){return A(this).state===C}}),a(k,E,k.disposeAsync,{name:"disposeAsync"}),a(k,y,w,{nonWritable:!0});var q=h&&h<136;return e({global:!0,constructor:!0,forced:q},{AsyncDisposableStack:D}),p8}var m8={},y8;function ihe(){if(y8)return m8;y8=1;var e=yr(),t=Qn(),r=pn(),n=Na(),i=mn(),a=Yr(),o=Ste(),s=a("asyncDispose"),l=r("Promise");return i(o,s)||t(o,s,function(){var c=this;return new l(function(d,h){var v=n(c,"return");v?l.resolve(e(v,c)).then(function(){d(void 0)},h):d(void 0)})}),m8}var _8={},S8;function ahe(){if(S8)return _8;S8=1;var e=Ue(),t=fs(),r=gn(),n=br(),i=Vt(),a=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:a},{apply:function(s,l,c){return t(r(s),l,n(c))}}),_8}var E8={},w8;function ohe(){if(w8)return E8;w8=1;var e=Ue(),t=pn(),r=fs(),n=nte(),i=YP(),a=br(),o=Gr(),s=$a(),l=Vt(),c=t("Reflect","construct"),d=Object.prototype,h=[].push,v=l(function(){function E(){}return!(c(function(){},[],E)instanceof E)}),g=!l(function(){c(function(){})}),S=v||g;return e({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(y,w){i(y),a(w);var b=arguments.length<3?y:i(arguments[2]);if(g&&!v)return c(y,w,b);if(y===b){switch(w.length){case 0:return new y;case 1:return new y(w[0]);case 2:return new y(w[0],w[1]);case 3:return new y(w[0],w[1],w[2]);case 4:return new y(w[0],w[1],w[2],w[3])}var A=[null];return r(h,A,w),new(r(n,y,A))}var R=b.prototype,C=s(o(R)?R:d),O=r(y,C,w);return o(O)?O:C}}),E8}var b8={},T8;function she(){if(T8)return b8;T8=1;var e=Ue(),t=Ir(),r=br(),n=sc(),i=xi(),a=Vt(),o=a(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})});return e({target:"Reflect",stat:!0,forced:o,sham:!t},{defineProperty:function(l,c,d){r(l);var h=n(c);r(d);try{return i.f(l,h,d),!0}catch{return!1}}}),b8}var R8={},x8;function uhe(){if(x8)return R8;x8=1;var e=Ue(),t=br(),r=La().f;return e({target:"Reflect",stat:!0},{deleteProperty:function(i,a){var o=r(t(i),a);return o&&!o.configurable?!1:delete i[a]}}),R8}var C8={},jb,A8;function wte(){if(A8)return jb;A8=1;var e=mn();return jb=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},jb}var O8;function lhe(){if(O8)return C8;O8=1;var e=Ue(),t=yr(),r=Gr(),n=br(),i=wte(),a=La(),o=mo();function s(l,c){var d=arguments.length<3?l:arguments[2],h,v;if(n(l)===d)return l[c];if(h=a.f(l,c),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(v=o(l)))return s(v,c,d)}return e({target:"Reflect",stat:!0},{get:s}),C8}var I8={},P8;function che(){if(P8)return I8;P8=1;var e=Ue(),t=Ir(),r=br(),n=La();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(a,o){return n.f(r(a),o)}}),I8}var D8={},k8;function fhe(){if(k8)return D8;k8=1;var e=Ue(),t=br(),r=mo(),n=kP();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(a){return r(t(a))}}),D8}var N8={},L8;function dhe(){if(L8)return N8;L8=1;var e=Ue();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),N8}var M8={},$8;function hhe(){if($8)return M8;$8=1;var e=Ue(),t=br(),r=WP();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),M8}var F8={},j8;function vhe(){if(j8)return F8;j8=1;var e=Ue(),t=CP();return e({target:"Reflect",stat:!0},{ownKeys:t}),F8}var U8={},q8;function phe(){if(q8)return U8;q8=1;var e=Ue(),t=pn(),r=br(),n=hh();return e({target:"Reflect",stat:!0,sham:!n},{preventExtensions:function(a){r(a);try{var o=t("Object","preventExtensions");return o&&o(a),!0}catch{return!1}}}),U8}var V8={},B8;function ghe(){if(B8)return V8;B8=1;var e=Ue(),t=yr(),r=br(),n=Gr(),i=wte(),a=Vt(),o=xi(),s=La(),l=mo(),c=ss();function d(v,g,S){var E=arguments.length<4?v:arguments[3],y=s.f(r(v),g),w,b,A;if(!y){if(n(b=l(v)))return d(b,g,S,E);y=c(0)}if(i(y)){if(y.writable===!1||!n(E))return!1;if(w=s.f(E,g)){if(w.get||w.set||w.writable===!1)return!1;w.value=S,o.f(E,g,w)}else o.f(E,g,c(0,S))}else{if(A=y.set,A===void 0)return!1;t(A,E,S)}return!0}var h=a(function(){var v=function(){},g=o.f(new v,"a",{configurable:!0});return Reflect.set(v.prototype,"a",1,g)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),V8}var H8={},z8;function mhe(){if(z8)return H8;z8=1;var e=Ue(),t=br(),r=Pee(),n=ru();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(a,o){t(a),r(o);try{return n(a,o),!0}catch{return!1}}}),H8}var W8={},G8;function yhe(){if(G8)return W8;G8=1;var e=Ue(),t=er(),r=Uo();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),W8}var Y8={},Ub,K8;function p_(){if(K8)return Ub;K8=1;var e=Gr(),t=Qa(),r=Yr(),n=r("match");return Ub=function(i){var a;return e(i)&&((a=i[n])!==void 0?!!a:t(i)==="RegExp")},Ub}var qb,X8;function bte(){if(X8)return qb;X8=1;var e=er(),t=Vt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},o="",s=i?"dgimsy":"gimsy",l=function(v,g){Object.defineProperty(a,v,{get:function(){return o+=g,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(c.hasIndices="d");for(var d in c)l(d,c[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return h!==s||o!==s});return qb={correct:n},qb}var Vb,Q8;function KP(){if(Q8)return Vb;Q8=1;var e=br();return Vb=function(){var t=e(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Vb}var Bb,J8;function Tf(){if(J8)return Bb;J8=1;var e=yr(),t=mn(),r=go(),n=bte(),i=KP(),a=RegExp.prototype;return Bb=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(a,o)&&!t(o,"flags")?e(i,o):o.flags},Bb}var Hb,Z8;function g_(){if(Z8)return Hb;Z8=1;var e=Vt(),t=er(),r=t.RegExp,n=e(function(){var o=r("a","y");return o.lastIndex=2,o.exec("abcd")!==null}),i=n||e(function(){return!r("a","y").sticky}),a=n||e(function(){var o=r("^r","gy");return o.lastIndex=2,o.exec("str")!==null});return Hb={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:n},Hb}var zb,eV;function XP(){if(eV)return zb;eV=1;var e=Vt(),t=er(),r=t.RegExp;return zb=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
4
- `)&&n.flags==="s")}),zb}var Wb,tV;function Tte(){if(tV)return Wb;tV=1;var e=Vt(),t=er(),r=t.RegExp;return Wb=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),Wb}var rV;function _he(){if(rV)return Y8;rV=1;var e=Ir(),t=er(),r=Gt(),n=mp(),i=_f(),a=Ma(),o=$a(),s=gf().f,l=go(),c=p_(),d=tn(),h=Tf(),v=g_(),g=Dee(),S=Qn(),E=Vt(),y=mn(),w=qi().enforce,b=fh(),A=Yr(),R=XP(),C=Tte(),O=A("match"),m=t.RegExp,D=m.prototype,k=t.SyntaxError,q=r(D.exec),j=r("".charAt),W=r("".replace),K=r("".indexOf),X=r("".slice),Q=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,J=/a/g,re=/a/g,$=new m(J)!==J,N=v.MISSED_STICKY,U=v.UNSUPPORTED_Y,ee=e&&(!$||N||R||C||E(function(){return re[O]=!1,m(J)!==J||m(re)===re||String(m(J,"i"))!=="/a/i"})),te=function(I){for(var P=I.length,B=0,L="",H=!1,ne;B<=P;B++){if(ne=j(I,B),ne==="\\"){L+=ne+j(I,++B);continue}!H&&ne==="."?L+="[\\s\\S]":(ne==="["?H=!0:ne==="]"&&(H=!1),L+=ne)}return L},de=function(I){for(var P=I.length,B=0,L="",H=[],ne=o(null),ce=!1,we=!1,_e=0,Oe="",Re;B<=P;B++){if(Re=j(I,B),Re==="\\")Re+=j(I,++B);else if(Re==="]")ce=!1;else if(!ce)switch(!0){case Re==="[":ce=!0;break;case Re==="(":if(L+=Re,X(I,B+1,B+3)==="?:")continue;q(Q,X(I,B+1))&&(B+=2,we=!0),_e++;continue;case(Re===">"&&we):if(Oe===""||y(ne,Oe))throw new k("Invalid capture group name");ne[Oe]=!0,H[H.length]=[Oe,_e],we=!1,Oe="";continue}we?Oe+=Re:L+=Re}return[L,H]};if(n("RegExp",ee)){for(var Se=function(P,B){var L=l(D,this),H=c(P),ne=B===void 0,ce=[],we=P,_e,Oe,Re,Ie,$e,me;if(!L&&H&&ne&&P.constructor===Se)return P;if((H||l(D,P))&&(P=P.source,ne&&(B=h(we))),P=P===void 0?"":d(P),B=B===void 0?"":d(B),we=P,R&&"dotAll"in J&&(Oe=!!B&&K(B,"s")>-1,Oe&&(B=W(B,/s/g,""))),_e=B,N&&"sticky"in J&&(Re=!!B&&K(B,"y")>-1,Re&&U&&(B=W(B,/y/g,""))),C&&(Ie=de(P),P=Ie[0],ce=Ie[1]),$e=i(m(P,B),L?this:D,Se),(Oe||Re||ce.length)&&(me=w($e),Oe&&(me.dotAll=!0,me.raw=Se(te(P),_e)),Re&&(me.sticky=!0),ce.length&&(me.groups=ce)),P!==we)try{a($e,"source",we===""?"(?:)":we)}catch{}return $e},xe=s(m),ue=0;xe.length>ue;)g(Se,m,xe[ue++]);D.constructor=Se,Se.prototype=D,S(t,"RegExp",Se,{constructor:!0})}return b("RegExp"),Y8}var nV={},Gb,iV;function m_(){if(iV)return Gb;iV=1;var e=TypeError;return Gb=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},Gb}var aV;function She(){if(aV)return nV;aV=1;var e=Ue(),t=Gt(),r=m_(),n=mn(),i=o_().start,a=Tp(),o=Array,s=RegExp.escape,l=t("".charAt),c=t("".charCodeAt),d=t(1.1.toString),h=t([].join),v=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,S=RegExp("^[!\"#%&',\\-:;<=>@`~"+a+"]"),E=t(v.exec),y={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(A){var R=d(c(A,0),16);return R.length<3?"\\x"+i(R,2,"0"):"\\u"+i(R,4,"0")},b=!s||s("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:b},{escape:function(R){r(R);for(var C=R.length,O=o(C),m=0;m<C;m++){var D=l(R,m);if(m===0&&E(v,D))O[m]=w(D);else if(n(y,D))O[m]="\\"+y[D];else if(E(g,D))O[m]="\\"+D;else if(E(S,D))O[m]=w(D);else{var k=c(D,0);(k&63488)!==55296?O[m]=D:k>=56320||m+1>=C||(c(R,m+1)&64512)!==56320?O[m]=w(D):(O[m]=D,O[++m]=l(R,m))}}return h(O,"")}}),nV}var oV={},sV;function Ehe(){if(sV)return oV;sV=1;var e=Ir(),t=XP(),r=Qa(),n=Zi(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).dotAll;throw new o("Incompatible receiver, RegExp required")}}}),oV}var uV={},Yb,lV;function QP(){if(lV)return Yb;lV=1;var e=yr(),t=Gt(),r=tn(),n=KP(),i=g_(),a=nh(),o=$a(),s=qi().get,l=XP(),c=Tte(),d=a("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=t("".charAt),S=t("".indexOf),E=t("".replace),y=t("".slice),w=(function(){var C=/a/,O=/b*/g;return e(h,C,"a"),e(h,O,"a"),C.lastIndex!==0||O.lastIndex!==0})(),b=i.BROKEN_CARET,A=/()??/.exec("")[1]!==void 0,R=w||A||b||l||c;return R&&(v=function(O){var m=this,D=s(m),k=r(O),q=D.raw,j,W,K,X,Q,J,re;if(q)return q.lastIndex=m.lastIndex,j=e(v,q,k),m.lastIndex=q.lastIndex,j;var $=D.groups,N=b&&m.sticky,U=e(n,m),ee=m.source,te=0,de=k;if(N&&(U=E(U,"y",""),S(U,"g")===-1&&(U+="g"),de=y(k,m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&g(k,m.lastIndex-1)!==`
5
- `)&&(ee="(?: "+ee+")",de=" "+de,te++),W=new RegExp("^(?:"+ee+")",U)),A&&(W=new RegExp("^"+ee+"$(?!\\s)",U)),w&&(K=m.lastIndex),X=e(h,N?W:m,de),N?X?(X.input=y(X.input,te),X[0]=y(X[0],te),X.index=m.lastIndex,m.lastIndex+=X[0].length):m.lastIndex=0:w&&X&&(m.lastIndex=m.global?X.index+X[0].length:K),A&&X&&X.length>1&&e(d,X[0],W,function(){for(Q=1;Q<arguments.length-2;Q++)arguments[Q]===void 0&&(X[Q]=void 0)}),X&&$)for(X.groups=J=o(null),Q=0;Q<$.length;Q++)re=$[Q],J[re[0]]=X[re[1]];return X}),Yb=v,Yb}var cV;function JP(){if(cV)return uV;cV=1;var e=Ue(),t=QP();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),uV}var fV={},dV;function whe(){if(dV)return fV;dV=1;var e=Ir(),t=Zi(),r=bte(),n=KP();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),fV}var hV={},vV;function bhe(){if(vV)return hV;vV=1;var e=Ir(),t=g_().MISSED_STICKY,r=Qa(),n=Zi(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"sticky",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).sticky;throw new o("Incompatible receiver, RegExp required")}}}),hV}var pV={},gV;function The(){if(gV)return pV;gV=1,JP();var e=Ue(),t=yr(),r=_n(),n=br(),i=tn(),a=(function(){var s=!1,l=/[ac]/;return l.exec=function(){return s=!0,/./.exec.apply(this,arguments)},l.test("abc")===!0&&s})(),o=/./.test;return e({target:"RegExp",proto:!0,forced:!a},{test:function(s){var l=n(this),c=i(s),d=l.exec;if(!r(d))return t(o,l,c);var h=t(d,l,c);return h===null?!1:(n(h),!0)}}),pV}var mV={},yV;function Rhe(){if(yV)return mV;yV=1;var e=ah().PROPER,t=Qn(),r=br(),n=tn(),i=Vt(),a=Tf(),o="toString",s=RegExp.prototype,l=s[o],c=i(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&l.name!==o;return(c||d)&&t(s,o,function(){var v=r(this),g=n(v.source),S=n(a(v));return"/"+g+"/"+S},{unsafe:!0}),mV}var _V={},SV={},EV;function xhe(){if(EV)return SV;EV=1;var e=u_(),t=ote();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),SV}var wV;function Che(){return wV||(wV=1,xhe()),_V}var bV={},Kb,TV;function nu(){if(TV)return Kb;TV=1;var e=Gt(),t=Set.prototype;return Kb={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},Kb}var Xb,RV;function Rf(){if(RV)return Xb;RV=1;var e=nu().has;return Xb=function(t){return e(t),t},Xb}var Qb,xV;function xf(){if(xV)return Qb;xV=1;var e=yr();return Qb=function(t,r,n){for(var i=n?t:t.iterator,a=t.next,o,s;!(o=e(a,i)).done;)if(s=r(o.value),s!==void 0)return s},Qb}var Jb,CV;function mh(){if(CV)return Jb;CV=1;var e=Gt(),t=xf(),r=nu(),n=r.Set,i=r.proto,a=e(i.forEach),o=e(i.keys),s=o(new n).next;return Jb=function(l,c,d){return d?t({iterator:o(l),next:s},c):a(l,c)},Jb}var Zb,AV;function ZP(){if(AV)return Zb;AV=1;var e=nu(),t=mh(),r=e.Set,n=e.add;return Zb=function(i){var a=new r;return t(i,function(o){n(a,o)}),a},Zb}var eT,OV;function xp(){if(OV)return eT;OV=1;var e=Ky(),t=nu();return eT=e(t.proto,"size","get")||function(r){return r.size},eT}var tT,IV;function Cf(){if(IV)return tT;IV=1;var e=gn(),t=br(),r=yr(),n=Wi(),i=Za(),a="Invalid size",o=RangeError,s=TypeError,l=Math.max,c=function(d,h){this.set=d,this.size=l(h,0),this.has=e(d.has),this.keys=e(d.keys)};return c.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},tT=function(d){t(d);var h=+d.size;if(h!==h)throw new s(a);var v=n(h);if(v<0)throw new o(a);return new c(d,v)},tT}var rT,PV;function Ahe(){if(PV)return rT;PV=1;var e=Rf(),t=nu(),r=ZP(),n=xp(),i=Cf(),a=mh(),o=xf(),s=t.has,l=t.remove;return rT=function(d){var h=e(this),v=i(d),g=r(h);return n(h)<=v.size?a(h,function(S){v.includes(S)&&l(g,S)}):o(v.getIterator(),function(S){s(g,S)&&l(g,S)}),g},rT}var nT,DV;function Af(){if(DV)return nT;DV=1;var e=pn(),t=function(n){return{size:n,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},r=function(n){return{size:n,has:function(){return!0},keys:function(){throw new Error("e")}}};return nT=function(n,i){var a=e("Set");try{new a()[n](t(0));try{return new a()[n](t(-1)),!1}catch{if(!i)return!0;try{return new a()[n](r(-1/0)),!1}catch{var o=new a;return o.add(1),o.add(2),i(o[n](r(1/0)))}}}catch{return!1}},nT}var kV;function Ohe(){if(kV)return bV;kV=1;var e=Ue(),t=Ahe(),r=Vt(),n=Af(),i=!n("difference",function(o){return o.size===0}),a=i||r(function(){var o={size:1,has:function(){return!0},keys:function(){var l=0;return{next:function(){var c=l++>1;return s.has(1)&&s.clear(),{done:c,value:2}}}}},s=new Set([1,2,3,4]);return s.difference(o).size!==3});return e({target:"Set",proto:!0,real:!0,forced:a},{difference:t}),bV}var NV={},iT,LV;function Ihe(){if(LV)return iT;LV=1;var e=Rf(),t=nu(),r=xp(),n=Cf(),i=mh(),a=xf(),o=t.Set,s=t.add,l=t.has;return iT=function(d){var h=e(this),v=n(d),g=new o;return r(h)>v.size?a(v.getIterator(),function(S){l(h,S)&&s(g,S)}):i(h,function(S){v.includes(S)&&s(g,S)}),g},iT}var MV;function Phe(){if(MV)return NV;MV=1;var e=Ue(),t=Vt(),r=Ihe(),n=Af(),i=!n("intersection",function(a){return a.size===2&&a.has(1)&&a.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});return e({target:"Set",proto:!0,real:!0,forced:i},{intersection:r}),NV}var $V={},aT,FV;function Dhe(){if(FV)return aT;FV=1;var e=Rf(),t=nu().has,r=xp(),n=Cf(),i=mh(),a=xf(),o=ja();return aT=function(l){var c=e(this),d=n(l);if(r(c)<=d.size)return i(c,function(v){if(d.includes(v))return!1},!0)!==!1;var h=d.getIterator();return a(h,function(v){if(t(c,v))return o(h,"normal",!1)})!==!1},aT}var jV;function khe(){if(jV)return $V;jV=1;var e=Ue(),t=Dhe(),r=Af(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),$V}var UV={},oT,qV;function Nhe(){if(qV)return oT;qV=1;var e=Rf(),t=xp(),r=mh(),n=Cf();return oT=function(a){var o=e(this),s=n(a);return t(o)>s.size?!1:r(o,function(l){if(!s.includes(l))return!1},!0)!==!1},oT}var VV;function Lhe(){if(VV)return UV;VV=1;var e=Ue(),t=Nhe(),r=Af(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),UV}var BV={},sT,HV;function Mhe(){if(HV)return sT;HV=1;var e=Rf(),t=nu().has,r=xp(),n=Cf(),i=xf(),a=ja();return sT=function(s){var l=e(this),c=n(s);if(r(l)<c.size)return!1;var d=c.getIterator();return i(d,function(h){if(!t(l,h))return a(d,"normal",!1)})!==!1},sT}var zV;function $he(){if(zV)return BV;zV=1;var e=Ue(),t=Mhe(),r=Af(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),BV}var WV={},uT,GV;function Fhe(){if(GV)return uT;GV=1;var e=Rf(),t=nu(),r=ZP(),n=Cf(),i=xf(),a=t.add,o=t.has,s=t.remove;return uT=function(c){var d=e(this),h=n(c).getIterator(),v=r(d);return i(h,function(g){o(d,g)?s(v,g):a(v,g)}),v},uT}var lT,YV;function Rte(){return YV||(YV=1,lT=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return n.size===1&&n.values().next().value===4}catch{return!1}}),lT}var KV;function jhe(){if(KV)return WV;KV=1;var e=Ue(),t=Fhe(),r=Rte(),n=Af(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),WV}var XV={},cT,QV;function Uhe(){if(QV)return cT;QV=1;var e=Rf(),t=nu().add,r=ZP(),n=Cf(),i=xf();return cT=function(o){var s=e(this),l=n(o).getIterator(),c=r(s);return i(l,function(d){t(c,d)}),c},cT}var JV;function qhe(){if(JV)return XV;JV=1;var e=Ue(),t=Uhe(),r=Rte(),n=Af(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),XV}var ZV={},eB;function Vhe(){if(eB)return ZV;eB=1;var e=Ue(),t=Gt(),r=Pi(),n=Wi(),i=tn(),a=Vt(),o=t("".charAt),s=a(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:s},{at:function(c){var d=i(r(this)),h=d.length,v=n(c),g=v>=0?v:h+v;return g<0||g>=h?void 0:o(d,g)}}),ZV}var tB={},fT,rB;function y_(){if(rB)return fT;rB=1;var e=Gt(),t=Wi(),r=tn(),n=Pi(),i=e("".charAt),a=e("".charCodeAt),o=e("".slice),s=function(l){return function(c,d){var h=r(n(c)),v=t(d),g=h.length,S,E;return v<0||v>=g?l?"":void 0:(S=a(h,v),S<55296||S>56319||v+1===g||(E=a(h,v+1))<56320||E>57343?l?i(h,v):S:l?o(h,v,v+2):(S-55296<<10)+(E-56320)+65536)}};return fT={codeAt:s(!1),charAt:s(!0)},fT}var nB;function Bhe(){if(nB)return tB;nB=1;var e=Ue(),t=y_().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),tB}var iB={},dT,aB;function eD(){if(aB)return dT;aB=1;var e=p_(),t=TypeError;return dT=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},dT}var hT,oB;function tD(){if(oB)return hT;oB=1;var e=Yr(),t=e("match");return hT=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},hT}var sB;function Hhe(){if(sB)return iB;sB=1;var e=Ue(),t=mf(),r=La().f,n=us(),i=tn(),a=eD(),o=Pi(),s=tD(),l=Ln(),c=t("".slice),d=Math.min,h=s("endsWith"),v=!l&&!h&&!!(function(){var g=r(String.prototype,"endsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{endsWith:function(S){var E=i(o(this));a(S);var y=arguments.length>1?arguments[1]:void 0,w=E.length,b=y===void 0?w:d(n(y),w),A=i(S);return c(E,b-A.length,b)===A}}),iB}var uB={},lB;function xte(){if(lB)return uB;lB=1;var e=Ue(),t=Gt(),r=vl(),n=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join),s=!!a&&a.length!==1;return e({target:"String",stat:!0,arity:1,forced:s},{fromCodePoint:function(c){for(var d=[],h=arguments.length,v=0,g;h>v;){if(g=+arguments[v++],r(g,1114111)!==g)throw new n(g+" is not a valid code point");d[v]=g<65536?i(g):i(((g-=65536)>>10)+55296,g%1024+56320)}return o(d,"")}}),uB}var cB={},fB;function zhe(){if(fB)return cB;fB=1;var e=Ue(),t=Gt(),r=eD(),n=Pi(),i=tn(),a=tD(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!a("includes")},{includes:function(l){return!!~o(i(n(this)),i(r(l)),arguments.length>1?arguments[1]:void 0)}}),cB}var dB={},hB;function Whe(){if(hB)return dB;hB=1;var e=Ue(),t=Gt(),r=Pi(),n=tn(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var o=n(r(this)),s=o.length,l=0;l<s;l++){var c=i(o,l);if((c&63488)===55296&&(c>=56320||++l>=s||(i(o,l)&64512)!==56320))return!1}return!0}}),dB}var vB={},pB;function Cte(){if(pB)return vB;pB=1;var e=y_().charAt,t=tn(),r=qi(),n=FP(),i=wf(),a="String Iterator",o=r.set,s=r.getterFor(a);return n(String,"String",function(l){o(this,{type:a,string:t(l),index:0})},function(){var c=s(this),d=c.string,h=c.index,v;return h>=d.length?i(void 0,!0):(v=e(d,h),c.index+=v.length,i(v,!1))}),vB}var gB={},vT,mB;function __(){if(mB)return vT;mB=1,JP();var e=yr(),t=Qn(),r=QP(),n=Vt(),i=Yr(),a=Ma(),o=i("species"),s=RegExp.prototype;return vT=function(l,c,d,h){var v=i(l),g=!n(function(){var w={};return w[v]=function(){return 7},""[l](w)!==7}),S=g&&!n(function(){var w=!1,b=/a/;return l==="split"&&(b={},b.constructor={},b.constructor[o]=function(){return b},b.flags="",b[v]=/./[v]),b.exec=function(){return w=!0,null},b[v](""),!w});if(!g||!S||d){var E=/./[v],y=c(v,""[l],function(w,b,A,R,C){var O=b.exec;return O===r||O===s.exec?g&&!C?{done:!0,value:e(E,b,A,R)}:{done:!0,value:e(w,A,b,R)}:{done:!1}});t(String.prototype,l,y[0]),t(s,v,y[1])}h&&a(s[v],"sham",!0)},vT}var pT,yB;function S_(){if(yB)return pT;yB=1;var e=y_().charAt;return pT=function(t,r,n){return r+(n?e(t,r).length:1)},pT}var gT,_B;function Cp(){if(_B)return gT;_B=1;var e=yr(),t=br(),r=_n(),n=Qa(),i=QP(),a=TypeError;return gT=function(o,s){var l=o.exec;if(r(l)){var c=e(l,o,s);return c!==null&&t(c),c}if(n(o)==="RegExp")return e(i,o,s);throw new a("RegExp#exec called on incompatible receiver")},gT}var SB;function Ghe(){if(SB)return gB;SB=1;var e=yr(),t=Gt(),r=__(),n=br(),i=Gr(),a=us(),o=tn(),s=Pi(),l=Na(),c=S_(),d=Tf(),h=Cp(),v=t("".indexOf);return r("match",function(g,S,E){return[function(w){var b=s(this),A=i(w)?l(w,g):void 0;return A?e(A,w,b):new RegExp(w)[g](o(b))},function(y){var w=n(this),b=o(y),A=E(S,w,b);if(A.done)return A.value;var R=o(d(w));if(v(R,"g")===-1)return h(w,b);var C=v(R,"u")!==-1;w.lastIndex=0;for(var O=[],m=0,D;(D=h(w,b))!==null;){var k=o(D[0]);O[m]=k,k===""&&(w.lastIndex=c(b,a(w.lastIndex),C)),m++}return m===0?null:O}]}),gB}var EB={},wB;function Yhe(){if(wB)return EB;wB=1;var e=Ue(),t=yr(),r=mf(),n=$P(),i=wf(),a=Pi(),o=us(),s=tn(),l=br(),c=Gr(),d=Qa(),h=p_(),v=Tf(),g=Na(),S=Qn(),E=Vt(),y=Yr(),w=d_(),b=S_(),A=Cp(),R=qi(),C=Ln(),O=y("matchAll"),m="RegExp String",D=m+" Iterator",k=R.set,q=R.getterFor(D),j=RegExp.prototype,W=TypeError,K=r("".indexOf),X=r("".matchAll),Q=!!X&&!E(function(){X("a",/./)}),J=n(function(N,U,ee,te){k(this,{type:D,regexp:N,string:U,global:ee,unicode:te,done:!1})},m,function(){var N=q(this);if(N.done)return i(void 0,!0);var U=N.regexp,ee=N.string,te=A(U,ee);return te===null?(N.done=!0,i(void 0,!0)):N.global?(s(te[0])===""&&(U.lastIndex=b(ee,o(U.lastIndex),N.unicode)),i(te,!1)):(N.done=!0,i(te,!1))}),re=function($){var N=l(this),U=s($),ee=w(N,RegExp),te=s(v(N)),de,Se,xe;return de=new ee(ee===RegExp?N.source:N,te),Se=!!~K(te,"g"),xe=!!~K(te,"u"),de.lastIndex=o(N.lastIndex),new J(de,U,Se,xe)};return e({target:"String",proto:!0,forced:Q},{matchAll:function(N){var U=a(this),ee,te,de,Se;if(c(N)){if(h(N)&&(ee=s(a(v(N))),!~K(ee,"g")))throw new W("`.matchAll` does not allow non-global regexes");if(Q)return X(U,N);if(de=g(N,O),de===void 0&&C&&d(N)==="RegExp"&&(de=re),de)return t(de,N,U)}else if(Q)return X(U,N);return te=s(U),Se=new RegExp(N,"g"),C?t(re,Se,te):Se[O](te)}}),C||O in j||S(j,O,re),EB}var bB={},mT,TB;function Ate(){if(TB)return mT;TB=1;var e=Au();return mT=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),mT}var RB;function Khe(){if(RB)return bB;RB=1;var e=Ue(),t=o_().end,r=Ate();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),bB}var xB={},CB;function Xhe(){if(CB)return xB;CB=1;var e=Ue(),t=o_().start,r=Ate();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),xB}var AB={},OB;function Qhe(){if(OB)return AB;OB=1;var e=Ue(),t=Gt(),r=Ta(),n=In(),i=tn(),a=ii(),o=t([].push),s=t([].join);return e({target:"String",stat:!0},{raw:function(c){var d=r(n(c).raw),h=a(d);if(!h)return"";for(var v=arguments.length,g=[],S=0;;){if(o(g,i(d[S++])),S===h)return s(g,"");S<v&&o(g,i(arguments[S]))}}}),AB}var IB={},PB;function Jhe(){if(PB)return IB;PB=1;var e=Ue(),t=a_();return e({target:"String",proto:!0},{repeat:t}),IB}var DB={},yT,kB;function Ote(){if(kB)return yT;kB=1;var e=Gt(),t=In(),r=Math.floor,n=e("".charAt),i=e("".replace),a=e("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return yT=function(l,c,d,h,v,g){var S=d+l.length,E=h.length,y=s;return v!==void 0&&(v=t(v),y=o),i(g,y,function(w,b){var A;switch(n(b,0)){case"$":return"$";case"&":return l;case"`":return a(c,0,d);case"'":return a(c,S);case"<":A=v[a(b,1,-1)];break;default:var R=+b;if(R===0)return w;if(R>E){var C=r(R/10);return C===0?w:C<=E?h[C-1]===void 0?n(b,1):h[C-1]+n(b,1):w}A=h[R-1]}return A===void 0?"":A})},yT}var NB;function Zhe(){if(NB)return DB;NB=1;var e=fs(),t=yr(),r=Gt(),n=__(),i=Vt(),a=br(),o=_n(),s=Gr(),l=Wi(),c=us(),d=tn(),h=Pi(),v=S_(),g=Na(),S=Ote(),E=Tf(),y=Cp(),w=Yr(),b=w("replace"),A=Math.max,R=Math.min,C=r([].concat),O=r([].push),m=r("".indexOf),D=r("".slice),k=function(K){return K===void 0?K:String(K)},q=(function(){return"a".replace(/./,"$0")==="$0"})(),j=(function(){return/./[b]?/./[b]("a","$0")==="":!1})(),W=!i(function(){var K=/./;return K.exec=function(){var X=[];return X.groups={a:"7"},X},"".replace(K,"$<a>")!=="7"});return n("replace",function(K,X,Q){var J=j?"$":"$0";return[function($,N){var U=h(this),ee=s($)?g($,b):void 0;return ee?t(ee,$,U,N):t(X,d(U),$,N)},function(re,$){var N=a(this),U=d(re);if(typeof $=="string"&&m($,J)===-1&&m($,"$<")===-1){var ee=Q(X,N,U,$);if(ee.done)return ee.value}var te=o($);te||($=d($));var de=d(E(N)),Se=m(de,"g")!==-1,xe;Se&&(xe=m(de,"u")!==-1,N.lastIndex=0);for(var ue=[],I;I=y(N,U),!(I===null||(O(ue,I),!Se));){var P=d(I[0]);P===""&&(N.lastIndex=v(U,c(N.lastIndex),xe))}for(var B="",L=0,H=0;H<ue.length;H++){I=ue[H];for(var ne=d(I[0]),ce=A(R(l(I.index),U.length),0),we=[],_e,Oe=1;Oe<I.length;Oe++)O(we,k(I[Oe]));var Re=I.groups;if(te){var Ie=C([ne],we,ce,U);Re!==void 0&&O(Ie,Re),_e=d(e($,void 0,Ie))}else _e=S(ne,U,ce,we,Re,$);ce>=L&&(B+=D(U,L,ce)+_e,L=ce+ne.length)}return B+D(U,L)}]},!W||!q||j),DB}var LB={},MB;function eve(){if(MB)return LB;MB=1;var e=Ue(),t=yr(),r=Gt(),n=Pi(),i=_n(),a=Gr(),o=p_(),s=tn(),l=Na(),c=Tf(),d=Ote(),h=Yr(),v=Ln(),g=h("replace"),S=TypeError,E=r("".indexOf),y=r("".replace),w=r("".slice),b=Math.max;return e({target:"String",proto:!0},{replaceAll:function(R,C){var O=n(this),m,D,k,q,j,W,K,X,Q,J,re=0,$="";if(a(R)){if(m=o(R),m&&(D=s(n(c(R))),!~E(D,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(k=l(R,g),k)return t(k,R,O,C);if(v&&m)return y(s(O),R,C)}for(q=s(O),j=s(R),W=i(C),W||(C=s(C)),K=j.length,X=b(1,K),Q=E(q,j);Q!==-1;)J=W?s(C(j,Q,q)):d(j,q,Q,[],void 0,C),$+=w(q,re,Q)+J,re=Q+K,Q=Q+X>q.length?-1:E(q,j,Q+X);return re<q.length&&($+=w(q,re)),$}}),LB}var $B={},FB;function tve(){if(FB)return $B;FB=1;var e=yr(),t=__(),r=br(),n=Gr(),i=Pi(),a=vte(),o=tn(),s=Na(),l=Cp();return t("search",function(c,d,h){return[function(g){var S=i(this),E=n(g)?s(g,c):void 0;return E?e(E,g,S):new RegExp(g)[c](o(S))},function(v){var g=r(this),S=o(v),E=h(d,g,S);if(E.done)return E.value;var y=g.lastIndex;a(y,0)||(g.lastIndex=0);var w=l(g,S);return a(g.lastIndex,y)||(g.lastIndex=y),w===null?-1:w.index}]}),$B}var jB={},UB;function rve(){if(UB)return jB;UB=1;var e=yr(),t=Gt(),r=__(),n=br(),i=Gr(),a=Pi(),o=d_(),s=S_(),l=us(),c=tn(),d=Na(),h=Cp(),v=g_(),g=Vt(),S=v.UNSUPPORTED_Y,E=4294967295,y=Math.min,w=t([].push),b=t("".slice),A=!g(function(){var C=/(?:)/,O=C.exec;C.exec=function(){return O.apply(this,arguments)};var m="ab".split(C);return m.length!==2||m[0]!=="a"||m[1]!=="b"}),R="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(C,O,m){var D="0".split(void 0,0).length?function(k,q){return k===void 0&&q===0?[]:e(O,this,k,q)}:O;return[function(q,j){var W=a(this),K=i(q)?d(q,C):void 0;return K?e(K,q,W,j):e(D,c(W),q,j)},function(k,q){var j=n(this),W=c(k);if(!R){var K=m(D,j,W,q,D!==O);if(K.done)return K.value}var X=o(j,RegExp),Q=j.unicode,J=(j.ignoreCase?"i":"")+(j.multiline?"m":"")+(j.unicode?"u":"")+(S?"g":"y"),re=new X(S?"^(?:"+j.source+")":j,J),$=q===void 0?E:q>>>0;if($===0)return[];if(W.length===0)return h(re,W)===null?[W]:[];for(var N=0,U=0,ee=[];U<W.length;){re.lastIndex=S?0:U;var te=h(re,S?b(W,U):W),de;if(te===null||(de=y(l(re.lastIndex+(S?U:0)),W.length))===N)U=s(W,U,Q);else{if(w(ee,b(W,N,U)),ee.length===$)return ee;for(var Se=1;Se<=te.length-1;Se++)if(w(ee,te[Se]),ee.length===$)return ee;U=N=de}}return w(ee,b(W,N)),ee}]},R||!A,S),jB}var qB={},VB;function nve(){if(VB)return qB;VB=1;var e=Ue(),t=mf(),r=La().f,n=us(),i=tn(),a=eD(),o=Pi(),s=tD(),l=Ln(),c=t("".slice),d=Math.min,h=s("startsWith"),v=!l&&!h&&!!(function(){var g=r(String.prototype,"startsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{startsWith:function(S){var E=i(o(this));a(S);var y=n(d(arguments.length>1?arguments[1]:void 0,E.length)),w=i(S);return c(E,y,y+w.length)===w}}),qB}var BB={},HB;function ive(){if(HB)return BB;HB=1;var e=Ue(),t=Gt(),r=Pi(),n=Wi(),i=tn(),a=t("".slice),o=Math.max,s=Math.min,l=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:l},{substr:function(d,h){var v=i(r(this)),g=v.length,S=n(d),E,y;return S===1/0&&(S=0),S<0&&(S=o(g+S,0)),E=h===void 0?g:n(h),E<=0||E===1/0?"":(y=s(S+E,g),S>=y?"":a(v,S,y))}}),BB}var zB={},WB;function ave(){if(WB)return zB;WB=1;var e=Ue(),t=yr(),r=Gt(),n=Pi(),i=tn(),a=Vt(),o=Array,s=r("".charAt),l=r("".charCodeAt),c=r([].join),d="".toWellFormed,h="�",v=d&&a(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:v},{toWellFormed:function(){var S=i(n(this));if(v)return t(d,S);for(var E=S.length,y=o(E),w=0;w<E;w++){var b=l(S,w);(b&63488)!==55296?y[w]=s(S,w):b>=56320||w+1>=E||(l(S,w+1)&64512)!==56320?y[w]=h:(y[w]=s(S,w),y[++w]=s(S,w))}return c(y,"")}}),zB}var GB={},_T,YB;function rD(){if(YB)return _T;YB=1;var e=ah().PROPER,t=Vt(),r=Tp(),n="​…᠎";return _T=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},_T}var KB;function ove(){if(KB)return GB;KB=1;var e=Ue(),t=vh().trim,r=rD();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),GB}var XB={},QB={},ST,JB;function Ite(){if(JB)return ST;JB=1;var e=vh().end,t=rD();return ST=t("trimEnd")?function(){return e(this)}:"".trimEnd,ST}var ZB;function sve(){if(ZB)return QB;ZB=1;var e=Ue(),t=Ite();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),QB}var eH;function uve(){if(eH)return XB;eH=1,sve();var e=Ue(),t=Ite();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),XB}var tH={},rH={},ET,nH;function Pte(){if(nH)return ET;nH=1;var e=vh().start,t=rD();return ET=t("trimStart")?function(){return e(this)}:"".trimStart,ET}var iH;function lve(){if(iH)return rH;iH=1;var e=Ue(),t=Pte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),rH}var aH;function cve(){if(aH)return tH;aH=1,lve();var e=Ue(),t=Pte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),tH}var oH={},wT,sH;function hs(){if(sH)return wT;sH=1;var e=Gt(),t=Pi(),r=tn(),n=/"/g,i=e("".replace);return wT=function(a,o,s,l){var c=r(t(a)),d="<"+o;return s!==""&&(d+=" "+s+'="'+i(r(l),n,"&quot;")+'"'),d+">"+c+"</"+o+">"},wT}var bT,uH;function vs(){if(uH)return bT;uH=1;var e=Vt();return bT=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},bT}var lH;function fve(){if(lH)return oH;lH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),oH}var cH={},fH;function dve(){if(fH)return cH;fH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),cH}var dH={},hH;function hve(){if(hH)return dH;hH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),dH}var vH={},pH;function vve(){if(pH)return vH;pH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),vH}var gH={},mH;function pve(){if(mH)return gH;mH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),gH}var yH={},_H;function gve(){if(_H)return yH;_H=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),yH}var SH={},EH;function mve(){if(EH)return SH;EH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),SH}var wH={},bH;function yve(){if(bH)return wH;bH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),wH}var TH={},RH;function _ve(){if(RH)return TH;RH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),TH}var xH={},CH;function Sve(){if(CH)return xH;CH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),xH}var AH={},OH;function Eve(){if(OH)return AH;OH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),AH}var IH={},PH;function wve(){if(PH)return IH;PH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),IH}var DH={},kH;function bve(){if(kH)return DH;kH=1;var e=Ue(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),DH}var NH={},Gg={exports:{}},TT,LH;function nD(){if(LH)return TT;LH=1;var e=er(),t=Vt(),r=Jy(),n=Sn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,a=e.Int8Array;return TT=!n||!t(function(){a(1)})||!t(function(){new a(-1)})||!r(function(o){new a,new a(null),new a(1.5),new a(o)},!0)||t(function(){return new a(new i(2),1,void 0).length!==1}),TT}var RT,MH;function Dte(){if(MH)return RT;MH=1;var e=HP(),t=RangeError;return RT=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},RT}var xT,$H;function Tve(){if($H)return xT;$H=1;var e=Math.round;return xT=function(t){var r=e(t);return r<0?0:r>255?255:r&255},xT}var CT,FH;function kte(){if(FH)return CT;FH=1;var e=ls();return CT=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},CT}var AT,jH;function iD(){if(jH)return AT;jH=1;var e=Hy(),t=TypeError;return AT=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},AT}var OT,UH;function Nte(){if(UH)return OT;UH=1;var e=cs(),t=yr(),r=YP(),n=In(),i=ii(),a=uh(),o=Sf(),s=NP(),l=kte(),c=Sn().aTypedArrayConstructor,d=iD();return OT=function(v){var g=r(this),S=n(v),E=arguments.length,y=E>1?arguments[1]:void 0,w=y!==void 0,b=o(S),A,R,C,O,m,D,k,q;if(b&&!s(b))for(k=a(S,b),q=k.next,S=[];!(D=t(q,k)).done;)S.push(D.value);for(w&&E>2&&(y=e(y,arguments[2])),R=i(S),C=new(c(g))(R),O=l(C),A=0;R>A;A++)m=w?y(S[A],A):S[A],C[A]=O?d(m):+m;return C},OT}var qH;function _l(){if(qH)return Gg.exports;qH=1;var e=Ue(),t=er(),r=yr(),n=Ir(),i=nD(),a=Sn(),o=i_(),s=ds(),l=ss(),c=Ma(),d=GP(),h=us(),v=n_(),g=Dte(),S=Tve(),E=sc(),y=mn(),w=ls(),b=Gr(),A=vf(),R=$a(),C=go(),O=ru(),m=gf().f,D=Nte(),k=Fa().forEach,q=fh(),j=Zi(),W=xi(),K=La(),X=wp(),Q=qi(),J=_f(),re=Q.get,$=Q.set,N=Q.enforce,U=W.f,ee=K.f,te=t.RangeError,de=o.ArrayBuffer,Se=de.prototype,xe=o.DataView,ue=a.NATIVE_ARRAY_BUFFER_VIEWS,I=a.TYPED_ARRAY_TAG,P=a.TypedArray,B=a.TypedArrayPrototype,L=a.isTypedArray,H="BYTES_PER_ELEMENT",ne="Wrong length",ce=function(Ie,$e){j(Ie,$e,{configurable:!0,get:function(){return re(this)[$e]}})},we=function(Ie){var $e;return C(Se,Ie)||($e=w(Ie))==="ArrayBuffer"||$e==="SharedArrayBuffer"},_e=function(Ie,$e){return L(Ie)&&!A($e)&&$e in Ie&&d(+$e)&&$e>=0},Oe=function($e,me){return me=E(me),_e($e,me)?l(2,$e[me]):ee($e,me)},Re=function($e,me,be){return me=E(me),_e($e,me)&&b(be)&&y(be,"value")&&!y(be,"get")&&!y(be,"set")&&!be.configurable&&(!y(be,"writable")||be.writable)&&(!y(be,"enumerable")||be.enumerable)?($e[me]=be.value,$e):U($e,me,be)};return n?(ue||(K.f=Oe,W.f=Re,ce(B,"buffer"),ce(B,"byteOffset"),ce(B,"byteLength"),ce(B,"length")),e({target:"Object",stat:!0,forced:!ue},{getOwnPropertyDescriptor:Oe,defineProperty:Re}),Gg.exports=function(Ie,$e,me){var be=Ie.match(/\d+/)[0]/8,Te=Ie+(me?"Clamped":"")+"Array",Ne="get"+Ie,Ve="set"+Ie,qe=t[Te],Ge=qe,ct=Ge&&Ge.prototype,Ut={},Wt=function(st,rt){var dt=re(st);return dt.view[Ne](rt*be+dt.byteOffset,!0)},Je=function(st,rt,dt){var Yt=re(st);Yt.view[Ve](rt*be+Yt.byteOffset,me?S(dt):dt,!0)},Rt=function(st,rt){U(st,rt,{get:function(){return Wt(this,rt)},set:function(dt){return Je(this,rt,dt)},enumerable:!0})};ue?i&&(Ge=$e(function(st,rt,dt,Yt){return s(st,ct),J((function(){return b(rt)?we(rt)?Yt!==void 0?new qe(rt,g(dt,be),Yt):dt!==void 0?new qe(rt,g(dt,be)):new qe(rt):L(rt)?X(Ge,rt):r(D,Ge,rt):new qe(v(rt))})(),st,Ge)}),O&&O(Ge,P),k(m(qe),function(st){st in Ge||c(Ge,st,qe[st])}),Ge.prototype=ct):(Ge=$e(function(st,rt,dt,Yt){s(st,ct);var Lt=0,Ce=0,Ze,ut,wt;if(!b(rt))wt=v(rt),ut=wt*be,Ze=new de(ut);else if(we(rt)){Ze=rt,Ce=g(dt,be);var Nt=rt.byteLength;if(Yt===void 0){if(Nt%be)throw new te(ne);if(ut=Nt-Ce,ut<0)throw new te(ne)}else if(ut=h(Yt)*be,ut+Ce>Nt)throw new te(ne);wt=ut/be}else return L(rt)?X(Ge,rt):r(D,Ge,rt);for($(st,{buffer:Ze,byteOffset:Ce,byteLength:ut,length:wt,view:new xe(Ze)});Lt<wt;)Rt(st,Lt++)}),O&&O(Ge,P),ct=Ge.prototype=R(B)),ct.constructor!==Ge&&c(ct,"constructor",Ge),N(ct).TypedArrayConstructor=Ge,I&&c(ct,I,Te);var _t=Ge!==qe;Ut[Te]=Ge,e({global:!0,constructor:!0,forced:_t,sham:!ue},Ut),H in Ge||c(Ge,H,be),H in ct||c(ct,H,be),q(Te)}):Gg.exports=function(){},Gg.exports}var VH;function Rve(){if(VH)return NH;VH=1;var e=_l();return e("Float32",function(t){return function(n,i,a){return t(this,n,i,a)}}),NH}var BH={},HH;function xve(){if(HH)return BH;HH=1;var e=_l();return e("Float64",function(t){return function(n,i,a){return t(this,n,i,a)}}),BH}var zH={},WH;function Cve(){if(WH)return zH;WH=1;var e=_l();return e("Int8",function(t){return function(n,i,a){return t(this,n,i,a)}}),zH}var GH={},YH;function Ave(){if(YH)return GH;YH=1;var e=_l();return e("Int16",function(t){return function(n,i,a){return t(this,n,i,a)}}),GH}var KH={},XH;function Ove(){if(XH)return KH;XH=1;var e=_l();return e("Int32",function(t){return function(n,i,a){return t(this,n,i,a)}}),KH}var QH={},JH;function Ive(){if(JH)return QH;JH=1;var e=_l();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}}),QH}var ZH={},e7;function Pve(){if(e7)return ZH;e7=1;var e=_l();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}},!0),ZH}var t7={},r7;function Dve(){if(r7)return t7;r7=1;var e=_l();return e("Uint16",function(t){return function(n,i,a){return t(this,n,i,a)}}),t7}var n7={},i7;function kve(){if(i7)return n7;i7=1;var e=_l();return e("Uint32",function(t){return function(n,i,a){return t(this,n,i,a)}}),n7}var a7={},o7;function Nve(){if(o7)return a7;o7=1;var e=Sn(),t=ii(),r=Wi(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(o){var s=n(this),l=t(s),c=r(o),d=c>=0?c:l+c;return d<0||d>=l?void 0:s[d]}),a7}var s7={},u7;function Lve(){if(u7)return s7;u7=1;var e=Gt(),t=Sn(),r=$ee(),n=e(r),i=t.aTypedArray,a=t.exportTypedArrayMethod;return a("copyWithin",function(s,l){return n(i(this),s,l,arguments.length>2?arguments[2]:void 0)}),s7}var l7={},c7;function Mve(){if(c7)return l7;c7=1;var e=Sn(),t=Fa().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),l7}var f7={},d7;function $ve(){if(d7)return f7;d7=1;var e=Sn(),t=LP(),r=iD(),n=ls(),i=yr(),a=Gt(),o=Vt(),s=e.aTypedArray,l=e.exportTypedArrayMethod,c=a("".slice),d=o(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return l("fill",function(v){var g=arguments.length;s(this);var S=c(n(this),0,3)==="Big"?r(v):+v;return i(t,this,S,g>1?arguments[1]:void 0,g>2?arguments[2]:void 0)},d),f7}var h7={},IT,v7;function Fve(){if(v7)return IT;v7=1;var e=wp(),t=Sn().getTypedArrayConstructor;return IT=function(r,n){return e(t(r),n)},IT}var p7;function jve(){if(p7)return h7;p7=1;var e=Sn(),t=Fa().filter,r=Fve(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(o){var s=t(n(this),o,arguments.length>1?arguments[1]:void 0);return r(this,s)}),h7}var g7={},m7;function Uve(){if(m7)return g7;m7=1;var e=Sn(),t=Fa().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),g7}var y7={},_7;function qve(){if(_7)return y7;_7=1;var e=Sn(),t=Fa().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),y7}var S7={},E7;function Vve(){if(E7)return S7;E7=1;var e=Sn(),t=Qy().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),S7}var w7={},b7;function Bve(){if(b7)return w7;b7=1;var e=Sn(),t=Qy().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),w7}var T7={},R7;function Hve(){if(R7)return T7;R7=1;var e=Sn(),t=Fa().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(a){t(r(this),a,arguments.length>1?arguments[1]:void 0)}),T7}var x7={},C7;function zve(){if(C7)return x7;C7=1;var e=nD(),t=Sn().exportTypedArrayStaticMethod,r=Nte();return t("from",r,e),x7}var A7={},O7;function Wve(){if(O7)return A7;O7=1;var e=Sn(),t=gp().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),A7}var I7={},P7;function Gve(){if(P7)return I7;P7=1;var e=Sn(),t=gp().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),I7}var D7={},k7;function Yve(){if(k7)return D7;k7=1;var e=er(),t=Vt(),r=Gt(),n=Sn(),i=Zy(),a=Yr(),o=a("iterator"),s=e.Uint8Array,l=r(i.values),c=r(i.keys),d=r(i.entries),h=n.aTypedArray,v=n.exportTypedArrayMethod,g=s&&s.prototype,S=!t(function(){g[o].call([1])}),E=!!g&&g.values&&g[o]===g.values&&g.values.name==="values",y=function(){return l(h(this))};return v("entries",function(){return d(h(this))},S),v("keys",function(){return c(h(this))},S),v("values",y,S||!E,{name:"values"}),v(o,y,S||!E,{name:"values"}),D7}var N7={},L7;function Kve(){if(L7)return N7;L7=1;var e=Sn(),t=Gt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(o){return i(r(this),o)}),N7}var M7={},$7;function Xve(){if($7)return M7;$7=1;var e=Sn(),t=fs(),r=qee(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(o){var s=arguments.length;return t(r,n(this),s>1?[o,arguments[1]]:[o])}),M7}var F7={},j7;function Qve(){if(j7)return F7;j7=1;var e=Sn(),t=Fa().map,r=e.aTypedArray,n=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;return i("map",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0,function(s,l){return new(n(s))(l)})}),F7}var U7={},q7;function Jve(){if(q7)return U7;q7=1;var e=Sn(),t=nD(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var a=0,o=arguments.length,s=new(r(this))(o);o>a;)s[a]=arguments[a++];return s},t),U7}var V7={},B7;function Zve(){if(B7)return V7;B7=1;var e=Sn(),t=e_().left,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduce",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),V7}var H7={},z7;function epe(){if(z7)return H7;z7=1;var e=Sn(),t=e_().right,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduceRight",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),H7}var W7={},G7;function tpe(){if(G7)return W7;G7=1;var e=Sn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var a=this,o=t(a).length,s=n(o/2),l=0,c;l<s;)c=a[l],a[l++]=a[--o],a[o]=c;return a}),W7}var Y7={},K7;function rpe(){if(K7)return Y7;K7=1;var e=er(),t=yr(),r=Sn(),n=ii(),i=Dte(),a=In(),o=Vt(),s=e.RangeError,l=e.Int8Array,c=l&&l.prototype,d=c&&c.set,h=r.aTypedArray,v=r.exportTypedArrayMethod,g=!o(function(){var E=new Uint8ClampedArray(2);return t(d,E,{length:1,0:3},1),E[1]!==3}),S=g&&r.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var E=new l(2);return E.set(1),E.set("2",1),E[0]!==0||E[1]!==2});return v("set",function(y){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),b=a(y);if(g)return t(d,this,b,w);var A=this.length,R=n(b),C=0;if(R+w>A)throw new s("Wrong length");for(;C<R;)this[w+C]=b[C++]},!g||S),Y7}var X7={},Q7;function npe(){if(Q7)return X7;Q7=1;var e=Sn(),t=Vt(),r=$s(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,o=t(function(){new Int8Array(1).slice()});return a("slice",function(l,c){for(var d=r(n(this),l,c),h=i(this),v=0,g=d.length,S=new h(g);g>v;)S[v]=d[v++];return S},o),X7}var J7={},Z7;function ipe(){if(Z7)return J7;Z7=1;var e=Sn(),t=Fa().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),J7}var e9={},t9;function ape(){if(t9)return e9;t9=1;var e=er(),t=mf(),r=Vt(),n=gn(),i=UP(),a=Sn(),o=Vee(),s=Bee(),l=Ou(),c=qP(),d=a.aTypedArray,h=a.exportTypedArrayMethod,v=e.Uint16Array,g=v&&t(v.prototype.sort),S=!!g&&!(r(function(){g(new v(2),null)})&&r(function(){g(new v(2),{})})),E=!!g&&!r(function(){if(l)return l<74;if(o)return o<67;if(s)return!0;if(c)return c<602;var w=new v(516),b=Array(516),A,R;for(A=0;A<516;A++)R=A%4,w[A]=515-A,b[A]=A-2*R+3;for(g(w,function(C,O){return(C/4|0)-(O/4|0)}),A=0;A<516;A++)if(w[A]!==b[A])return!0}),y=function(w){return function(b,A){return w!==void 0?+w(b,A)||0:A!==A?-1:b!==b?1:b===0&&A===0?1/b>0&&1/A<0?1:-1:b>A}};return h("sort",function(b){return b!==void 0&&n(b),E?g(this,b):i(d(this),y(b))},!E||S),e9}var r9={},n9;function ope(){if(n9)return r9;n9=1;var e=Sn(),t=us(),r=vl(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;return a("subarray",function(s,l){var c=n(this),d=c.length,h=r(s,d),v=i(c);return new v(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,t((l===void 0?d:r(l,d))-h))}),r9}var i9={},a9;function spe(){if(a9)return i9;a9=1;var e=er(),t=fs(),r=Sn(),n=Vt(),i=$s(),a=e.Int8Array,o=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].toLocaleString,c=!!a&&n(function(){l.call(new a(1))}),d=n(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!n(function(){a.prototype.toLocaleString.call([1,2])});return s("toLocaleString",function(){return t(l,c?i(o(this)):o(this),i(arguments))},d),i9}var o9={},s9;function upe(){if(s9)return o9;s9=1;var e=Hee(),t=Sn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),o9}var u9={},l9;function lpe(){if(l9)return u9;l9=1;var e=Sn(),t=Gt(),r=gn(),n=wp(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,s=t(e.TypedArrayPrototype.sort);return o("toSorted",function(c){c!==void 0&&r(c);var d=i(this),h=n(a(d),d);return s(h,c)}),u9}var c9={},f9;function cpe(){if(f9)return c9;f9=1;var e=Sn().exportTypedArrayMethod,t=Vt(),r=er(),n=Gt(),i=r.Uint8Array,a=i&&i.prototype||{},o=[].toString,s=n([].join);t(function(){o.call({})})&&(o=function(){return s(this)});var l=a.toString!==o;return e("toString",o,l),c9}var d9={},h9;function fpe(){if(h9)return d9;h9=1;var e=Wee(),t=Sn(),r=kte(),n=Wi(),i=iD(),a=t.aTypedArray,o=t.getTypedArrayConstructor,s=t.exportTypedArrayMethod,l=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),c=l&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return s("with",function(d,h){var v=a(this),g=n(d),S=r(v)?i(h):+h;return e(v,o(v),g,S)},!l||c),d9}var v9={},PT,p9;function Lte(){if(p9)return PT;p9=1;var e=Gr(),t=String,r=TypeError;return PT=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},PT}var DT,g9;function E_(){if(g9)return DT;g9=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=e+"+/",r=e+"-_",n=function(i){for(var a={},o=0;o<64;o++)a[i.charAt(o)]=o;return a};return DT={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},DT}var kT,m9;function Mte(){if(m9)return kT;m9=1;var e=TypeError;return kT=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},kT}var NT,y9;function $te(){if(y9)return NT;y9=1;var e=er(),t=Gt(),r=Lte(),n=m_(),i=mn(),a=E_(),o=Mte(),s=bp(),l=a.c2i,c=a.c2iUrl,d=e.SyntaxError,h=e.TypeError,v=t("".charAt),g=function(y,w){for(var b=y.length;w<b;w++){var A=v(y,w);if(A!==" "&&A!==" "&&A!==`
6
- `&&A!=="\f"&&A!=="\r")break}return w},S=function(y,w,b){var A=y.length;A<4&&(y+=A===2?"AA":"A");var R=(w[v(y,0)]<<18)+(w[v(y,1)]<<12)+(w[v(y,2)]<<6)+w[v(y,3)],C=[R>>16&255,R>>8&255,R&255];if(A===2){if(b&&C[1]!==0)throw new d("Extra bits");return[C[0]]}if(A===3){if(b&&C[2]!==0)throw new d("Extra bits");return[C[0],C[1]]}return C},E=function(y,w,b){for(var A=w.length,R=0;R<A;R++)y[b+R]=w[R];return b+A};return NT=function(y,w,b,A){n(y),r(w);var R=o(w)==="base64"?l:c,C=w?w.lastChunkHandling:void 0;if(C===void 0&&(C="loose"),C!=="loose"&&C!=="strict"&&C!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");b&&s(b.buffer);var O=y.length,m=b||[],D=0,k=0,q="",j=0;if(A)for(;;){if(j=g(y,j),j===O){if(q.length>0){if(C==="stop-before-partial")break;if(C==="loose"){if(q.length===1)throw new d("Malformed padding: exactly one additional character");D=E(m,S(q,R,!1),D)}else throw new d("Missing padding")}k=O;break}var W=v(y,j);if(++j,W==="="){if(q.length<2)throw new d("Padding is too early");if(j=g(y,j),q.length===2){if(j===O){if(C==="stop-before-partial")break;throw new d("Malformed padding: only one =")}v(y,j)==="="&&(++j,j=g(y,j))}if(j<O)throw new d("Unexpected character after padding");D=E(m,S(q,R,C==="strict"),D),k=O;break}if(!i(R,W))throw new d("Unexpected character");var K=A-D;if(K===1&&q.length===2||K===2&&q.length===3||(q+=W,q.length===4&&(D=E(m,S(q,R,!1),D),q="",k=j,D===A)))break}return{bytes:m,read:k,written:D}},NT}var _9;function dpe(){if(_9)return v9;_9=1;var e=Ue(),t=er(),r=wp(),n=$te(),i=t.Uint8Array,a=!i||!i.fromBase64||!(function(){try{i.fromBase64("a");return}catch{}try{i.fromBase64("",null)}catch{return!0}})();return i&&e({target:"Uint8Array",stat:!0,forced:a},{fromBase64:function(s){var l=n(s,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,l.bytes)}}),v9}var S9={},LT,E9;function Fte(){if(E9)return LT;E9=1;var e=er(),t=Gt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,a=Math.min,o=/[^\da-f]/i,s=t(o.exec),l=t("".slice);return LT=function(c,d){var h=c.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var v=d?a(d.length,h/2):h/2,g=d||new r(v),S=0,E=0;E<v;){var y=l(c,S,S+=2);if(s(o,y))throw new n("String should only contain hex characters");g[E++]=i(y,16)}return{bytes:g,read:S}},LT}var w9;function hpe(){if(w9)return S9;w9=1;var e=Ue(),t=er(),r=m_(),n=Fte();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(a){return n(r(a)).bytes}}),S9}var b9={},MT,T9;function w_(){if(T9)return MT;T9=1;var e=ls(),t=TypeError;return MT=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},MT}var R9;function vpe(){if(R9)return b9;R9=1;var e=Ue(),t=er(),r=$te(),n=w_(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!(function(){var o=new i([255,255,255,255,255]);try{o.setFromBase64("",null);return}catch{}try{o.setFromBase64("a");return}catch{}try{o.setFromBase64("MjYyZg===")}catch{return o[0]===50&&o[1]===54&&o[2]===50&&o[3]===255&&o[4]===255}})();return i&&e({target:"Uint8Array",proto:!0,forced:a},{setFromBase64:function(s){n(this);var l=r(s,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}}),b9}var x9={},C9;function ppe(){if(C9)return x9;C9=1;var e=Ue(),t=er(),r=m_(),n=w_(),i=bp(),a=Fte();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(s){n(this),r(s),i(this.buffer);var l=a(s,this).read;return{read:l,written:l/2}}}),x9}var A9={},O9;function gpe(){if(O9)return A9;O9=1;var e=Ue(),t=er(),r=Gt(),n=Lte(),i=w_(),a=bp(),o=E_(),s=Mte(),l=o.i2c,c=o.i2cUrl,d=r("".charAt),h=t.Uint8Array,v=!h||!h.prototype.toBase64||!(function(){try{var g=new h;g.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var S=i(this),E=arguments.length?n(arguments[0]):void 0,y=s(E)==="base64"?l:c,w=!!E&&!!E.omitPadding;a(this.buffer);for(var b="",A=0,R=S.length,C,O=function(m){return d(y,C>>6*m&63)};A+2<R;A+=3)C=(S[A]<<16)+(S[A+1]<<8)+S[A+2],b+=O(3)+O(2)+O(1)+O(0);return A+2===R?(C=(S[A]<<16)+(S[A+1]<<8),b+=O(3)+O(2)+O(1)+(w?"":"=")):A+1===R&&(C=S[A]<<16,b+=O(3)+O(2)+(w?"":"==")),b}}),A9}var I9={},P9;function mpe(){if(P9)return I9;P9=1;var e=Ue(),t=er(),r=Gt(),n=w_(),i=bp(),a=r(1.1.toString),o=t.Uint8Array,s=!o||!o.prototype.toHex||!(function(){try{var l=new o([255,255,255,255,255,255,255,255]);return l.toHex()==="ffffffffffffffff"}catch{return!1}})();return o&&e({target:"Uint8Array",proto:!0,forced:s},{toHex:function(){n(this),i(this.buffer);for(var c="",d=0,h=this.length;d<h;d++){var v=a(this[d],16);c+=v.length===1?"0"+v:v}return c}}),I9}var D9={},k9;function ype(){if(k9)return D9;k9=1;var e=Ue(),t=Gt(),r=tn(),n=String.fromCharCode,i=t("".charAt),a=t(/./.exec),o=t("".slice),s=/^[\da-f]{2}$/i,l=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),v="",g=h.length,S=0,E,y;S<g;){if(E=i(h,S++),E==="%"){if(i(h,S)==="u"){if(y=o(h,S+1,S+5),a(l,y)){v+=n(parseInt(y,16)),S+=5;continue}}else if(y=o(h,S,S+2),a(s,y)){v+=n(parseInt(y,16)),S+=2;continue}}v+=E}return v}}),D9}var N9={},L9={},$T,M9;function jte(){if(M9)return $T;M9=1;var e=Gt(),t=ml(),r=bf().getWeakData,n=ds(),i=br(),a=hl(),o=Gr(),s=ha(),l=Fa(),c=mn(),d=qi(),h=d.set,v=d.getterFor,g=l.find,S=l.findIndex,E=e([].splice),y=0,w=function(R){return R.frozen||(R.frozen=new b)},b=function(){this.entries=[]},A=function(R,C){return g(R.entries,function(O){return O[0]===C})};return b.prototype={get:function(R){var C=A(this,R);if(C)return C[1]},has:function(R){return!!A(this,R)},set:function(R,C){var O=A(this,R);O?O[1]=C:this.entries.push([R,C])},delete:function(R){var C=S(this.entries,function(O){return O[0]===R});return~C&&E(this.entries,C,1),!!~C}},$T={getConstructor:function(R,C,O,m){var D=R(function(W,K){n(W,k),h(W,{type:C,id:y++,frozen:null}),a(K)||s(K,W[m],{that:W,AS_ENTRIES:O})}),k=D.prototype,q=v(C),j=function(W,K,X){var Q=q(W),J=r(i(K),!0);return J===!0?w(Q).set(K,X):J[Q.id]=X,W};return t(k,{delete:function(W){var K=q(this);if(!o(W))return!1;var X=r(W);return X===!0?w(K).delete(W):X&&c(X,K.id)&&delete X[K.id]},has:function(K){var X=q(this);if(!o(K))return!1;var Q=r(K);return Q===!0?w(X).has(K):Q&&c(Q,X.id)}}),t(k,O?{get:function(K){var X=q(this);if(o(K)){var Q=r(K);if(Q===!0)return w(X).get(K);if(Q)return Q[X.id]}},set:function(K,X){return j(this,K,X)}}:{add:function(K){return j(this,K,!0)}}),D}},$T}var $9;function _pe(){if($9)return L9;$9=1;var e=hh(),t=er(),r=Gt(),n=ml(),i=bf(),a=u_(),o=jte(),s=Gr(),l=qi().enforce,c=Vt(),d=wee(),h=Object,v=Array.isArray,g=h.isExtensible,S=h.isFrozen,E=h.isSealed,y=h.freeze,w=h.seal,b=!t.ActiveXObject&&"ActiveXObject"in t,A,R=function(W){return function(){return W(this,arguments.length?arguments[0]:void 0)}},C=a("WeakMap",R,o),O=C.prototype,m=r(O.set),D=function(){return e&&c(function(){var W=y([]);return m(new C,W,1),!S(W)})};if(d)if(b){A=o.getConstructor(R,"WeakMap",!0),i.enable();var k=r(O.delete),q=r(O.has),j=r(O.get);n(O,{delete:function(W){if(s(W)&&!g(W)){var K=l(this);return K.frozen||(K.frozen=new A),k(this,W)||K.frozen.delete(W)}return k(this,W)},has:function(K){if(s(K)&&!g(K)){var X=l(this);return X.frozen||(X.frozen=new A),q(this,K)||X.frozen.has(K)}return q(this,K)},get:function(K){if(s(K)&&!g(K)){var X=l(this);return X.frozen||(X.frozen=new A),q(this,K)?j(this,K):X.frozen.get(K)}return j(this,K)},set:function(K,X){if(s(K)&&!g(K)){var Q=l(this);Q.frozen||(Q.frozen=new A),q(this,K)?m(this,K,X):Q.frozen.set(K,X)}else m(this,K,X);return this}})}else D()&&n(O,{set:function(K,X){var Q;return v(K)&&(S(K)?Q=y:E(K)&&(Q=w)),m(this,K,X),Q&&Q(K),this}});return L9}var F9;function Spe(){return F9||(F9=1,_pe()),N9}var j9={},U9={},q9;function Epe(){if(q9)return U9;q9=1;var e=u_(),t=jte();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),U9}var V9;function wpe(){return V9||(V9=1,Epe()),j9}var B9={},H9;function bpe(){if(H9)return B9;H9=1;var e=Ue(),t=er(),r=pn(),n=Gt(),i=yr(),a=Vt(),o=tn(),s=Fs(),l=E_().c2i,c=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,v=r("atob"),g=String.fromCharCode,S=n("".charAt),E=n("".replace),y=n(c.exec),w=!!v&&!a(function(){return v("aGk=")!=="hi"}),b=w&&a(function(){return v(" ")!==""}),A=w&&!a(function(){v("a")}),R=w&&!a(function(){v()}),C=w&&v.length!==1,O=!w||b||A||R||C;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(D){if(s(arguments.length,1),w&&!b&&!A)return i(v,t,D);var k=E(o(D),d,""),q="",j=0,W=0,K,X,Q;if(k.length%4===0&&(k=E(k,h,"")),K=k.length,K%4===1||y(c,k))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;j<K;)X=S(k,j++),Q=W%4?Q*64+l[X]:l[X],W++%4&&(q+=g(255&Q>>(-2*W&6)));return q}}),B9}var z9={},W9;function Tpe(){if(W9)return z9;W9=1;var e=Ue(),t=er(),r=pn(),n=Gt(),i=yr(),a=Vt(),o=tn(),s=Fs(),l=E_().i2c,c=r("btoa"),d=n("".charAt),h=n("".charCodeAt),v=!!c&&!a(function(){return c("hi")!=="aGk="}),g=v&&!a(function(){c()}),S=v&&a(function(){return c(null)!=="bnVsbA=="}),E=v&&c.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!v||g||S||E},{btoa:function(w){if(s(arguments.length,1),v)return i(c,t,o(w));for(var b=o(w),A="",R=0,C=l,O,m;d(b,R)||(C="=",R%1);){if(m=h(b,R+=3/4),m>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|m,A+=d(C,63&O>>8-R%1*8)}return A}}),z9}var G9={},FT,Y9;function Ute(){return Y9||(Y9=1,FT={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}),FT}var jT,K9;function qte(){if(K9)return jT;K9=1;var e=zy(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return jT=r===Object.prototype?void 0:r,jT}var X9;function Rpe(){if(X9)return G9;X9=1;var e=er(),t=Ute(),r=qte(),n=jee(),i=Ma(),a=function(s){if(s&&s.forEach!==n)try{i(s,"forEach",n)}catch{s.forEach=n}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);return a(r),G9}var Q9={},J9;function xpe(){if(J9)return Q9;J9=1;var e=er(),t=Ute(),r=qte(),n=Zy(),i=Ma(),a=Uo(),o=Yr(),s=o("iterator"),l=n.values,c=function(h,v){if(h){if(h[s]!==l)try{i(h,s,l)}catch{h[s]=l}if(a(h,v,!0),t[v]){for(var g in n)if(h[g]!==n[g])try{i(h,g,n[g])}catch{h[g]=n[g]}}}};for(var d in t)c(e[d]&&e[d].prototype,d);return c(r,"DOMTokenList"),Q9}var Z9={},UT,ez;function Vte(){return ez||(ez=1,UT={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}),UT}var tz;function Cpe(){if(tz)return Z9;tz=1;var e=Ue(),t=pn(),r=Zee(),n=Vt(),i=$a(),a=ss(),o=xi().f,s=Qn(),l=Zi(),c=mn(),d=ds(),h=br(),v=Mee(),g=sh(),S=Vte(),E=PP(),y=qi(),w=Ir(),b=Ln(),A="DOMException",R="DATA_CLONE_ERR",C=t("Error"),O=t(A)||(function(){try{var P=t("MessageChannel")||r("worker_threads").MessageChannel;new P().port1.postMessage(new WeakMap)}catch(B){if(B.name===R&&B.code===25)return B.constructor}})(),m=O&&O.prototype,D=C.prototype,k=y.set,q=y.getterFor(A),j="stack"in new C(A),W=function(P){return c(S,P)&&S[P].m?S[P].c:0},K=function(){d(this,X);var B=arguments.length,L=g(B<1?void 0:arguments[0]),H=g(B<2?void 0:arguments[1],"Error"),ne=W(H);if(k(this,{type:A,name:H,message:L,code:ne}),w||(this.name=H,this.message=L,this.code=ne),j){var ce=new C(L);ce.name=A,o(this,"stack",a(1,E(ce.stack,1)))}},X=K.prototype=i(D),Q=function(P){return{enumerable:!0,configurable:!0,get:P}},J=function(P){return Q(function(){return q(this)[P]})};w&&(l(X,"code",J("code")),l(X,"message",J("message")),l(X,"name",J("name"))),o(X,"constructor",a(1,K));var re=n(function(){return!(new O instanceof C)}),$=re||n(function(){return D.toString!==v||String(new O(1,2))!=="2: 1"}),N=re||n(function(){return new O(1,"DataCloneError").code!==25}),U=re||O[R]!==25||m[R]!==25,ee=b?$||N||U:re;e({global:!0,constructor:!0,forced:ee},{DOMException:ee?K:O});var te=t(A),de=te.prototype;$&&(b||O===te)&&s(de,"toString",v),N&&w&&O===te&&l(de,"code",Q(function(){return W(h(this).name)}));for(var Se in S)if(c(S,Se)){var xe=S[Se],ue=xe.s,I=a(6,xe.c);c(te,ue)||o(te,ue,I),c(de,ue)||o(de,ue,I)}return Z9}var rz={},nz;function Ape(){if(nz)return rz;nz=1;var e=Ue(),t=er(),r=pn(),n=ss(),i=xi().f,a=mn(),o=ds(),s=_f(),l=sh(),c=Vte(),d=PP(),h=Ir(),v=Ln(),g="DOMException",S=r("Error"),E=r(g),y=function(){o(this,w);var K=arguments.length,X=l(K<1?void 0:arguments[0]),Q=l(K<2?void 0:arguments[1],"Error"),J=new E(X,Q),re=new S(X);return re.name=g,i(J,"stack",n(1,d(re.stack,1))),s(J,this,y),J},w=y.prototype=E.prototype,b="stack"in new S(g),A="stack"in new E(1,2),R=E&&h&&Object.getOwnPropertyDescriptor(t,g),C=!!R&&!(R.writable&&R.configurable),O=b&&!C&&!A;e({global:!0,constructor:!0,forced:v||O},{DOMException:O?y:E});var m=r(g),D=m.prototype;if(D.constructor!==m){v||i(D,"constructor",n(1,m));for(var k in c)if(a(c,k)){var q=c[k],j=q.s;a(m,j)||i(m,j,n(6,q.c))}}return rz}var iz={},az;function Ope(){if(az)return iz;az=1;var e=pn(),t=Uo(),r="DOMException";return t(e(r),r),iz}var oz={},sz={},uz;function Ipe(){if(uz)return sz;uz=1;var e=Ue(),t=er(),r=h_().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),sz}var lz={},qT,cz;function aD(){if(cz)return qT;cz=1;var e=er(),t=fs(),r=_n(),n=t_(),i=Au(),a=$s(),o=Fs(),s=e.Function,l=/MSIE .\./.test(i)||n==="BUN"&&(function(){var c=e.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")})();return qT=function(c,d){var h=d?2:1;return l?function(v,g){var S=o(arguments.length,1)>h,E=r(v)?v:s(v),y=S?a(arguments,h):[],w=S?function(){t(E,this,y)}:E;return d?c(w,g):c(w)}:c},qT}var fz;function Ppe(){if(fz)return lz;fz=1;var e=Ue(),t=er(),r=h_().set,n=aD(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),lz}var dz;function Dpe(){return dz||(dz=1,Ipe(),Ppe()),oz}var hz={},vz;function kpe(){if(vz)return hz;vz=1;var e=Ue(),t=er(),r=yte(),n=gn(),i=Fs(),a=Vt(),o=Ir(),s=a(function(){return o&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:s},{queueMicrotask:function(c){i(arguments.length,1),r(n(c))}}),hz}var pz={},gz;function Npe(){if(gz)return pz;gz=1;var e=Ue(),t=er(),r=Zi(),n=Ir(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(n){var s=Object.getOwnPropertyDescriptor(t,"self");(o||!s||!s.get||!s.enumerable)&&r(t,"self",{get:function(){return t},set:function(c){if(this!==t)throw new i("Illegal invocation");a(t,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}return pz}var mz={},yz;function Lpe(){if(yz)return mz;yz=1;var e=Ln(),t=Ue(),r=er(),n=pn(),i=Gt(),a=Vt(),o=ih(),s=_n(),l=yf(),c=hl(),d=Gr(),h=vf(),v=ha(),g=br(),S=ls(),E=mn(),y=pl(),w=Ma(),b=ii(),A=Fs(),R=Tf(),C=ste(),O=nu(),m=mh(),D=ete(),k=Nee(),q=BP(),j=r.Object,W=r.Array,K=r.Date,X=r.Error,Q=r.TypeError,J=r.PerformanceMark,re=n("DOMException"),$=C.Map,N=C.has,U=C.get,ee=C.set,te=O.Set,de=O.add,Se=O.has,xe=n("Object","keys"),ue=i([].push),I=i((!0).valueOf),P=i(1.1.valueOf),B=i("".valueOf),L=i(K.prototype.getTime),H=o("structuredClone"),ne="DataCloneError",ce="Transferring",we=function(Je){return!a(function(){var Rt=new r.Set([7]),_t=Je(Rt),st=Je(j(7));return _t===Rt||!_t.has(7)||!d(st)||+st!=7})&&Je},_e=function(Je,Rt){return!a(function(){var _t=new Rt,st=Je({a:_t,b:_t});return!(st&&st.a===st.b&&st.a instanceof Rt&&st.a.stack===_t.stack)})},Oe=function(Je){return!a(function(){var Rt=Je(new r.AggregateError([1],H,{cause:3}));return Rt.name!=="AggregateError"||Rt.errors[0]!==1||Rt.message!==H||Rt.cause!==3})},Re=r.structuredClone,Ie=e||!_e(Re,X)||!_e(Re,re)||!Oe(Re),$e=!Re&&we(function(Je){return new J(H,{detail:Je}).detail}),me=we(Re)||$e,be=function(Je){throw new re("Uncloneable type: "+Je,ne)},Te=function(Je,Rt){throw new re((Rt||"Cloning")+" of "+Je+" cannot be properly polyfilled in this engine",ne)},Ne=function(Je,Rt){return me||Te(Rt),me(Je)},Ve=function(){var Je;try{Je=new r.DataTransfer}catch{try{Je=new r.ClipboardEvent("").clipboardData}catch{}}return Je&&Je.items&&Je.files?Je:null},qe=function(Je,Rt,_t){if(N(Rt,Je))return U(Rt,Je);var st=_t||S(Je),rt,dt,Yt,Lt,Ce,Ze;if(st==="SharedArrayBuffer")me?rt=me(Je):rt=Je;else{var ut=r.DataView;!ut&&!s(Je.slice)&&Te("ArrayBuffer");try{if(s(Je.slice)&&!Je.resizable)rt=Je.slice(0);else for(dt=Je.byteLength,Yt=("maxByteLength"in Je)?{maxByteLength:Je.maxByteLength}:void 0,rt=new ArrayBuffer(dt,Yt),Lt=new ut(Je),Ce=new ut(rt),Ze=0;Ze<dt;Ze++)Ce.setUint8(Ze,Lt.getUint8(Ze))}catch{throw new re("ArrayBuffer is detached",ne)}}return ee(Rt,Je,rt),rt},Ge=function(Je,Rt,_t,st,rt){var dt=r[Rt];return d(dt)||Te(Rt),new dt(qe(Je.buffer,rt),_t,st)},ct=function(Je,Rt){if(h(Je)&&be("Symbol"),!d(Je))return Je;if(Rt){if(N(Rt,Je))return U(Rt,Je)}else Rt=new $;var _t=S(Je),st,rt,dt,Yt,Lt,Ce,Ze,ut;switch(_t){case"Array":dt=W(b(Je));break;case"Object":dt={};break;case"Map":dt=new $;break;case"Set":dt=new te;break;case"RegExp":dt=new RegExp(Je.source,R(Je));break;case"Error":switch(rt=Je.name,rt){case"AggregateError":dt=new(n(rt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":dt=new(n(rt));break;case"CompileError":case"LinkError":case"RuntimeError":dt=new(n("WebAssembly",rt));break;default:dt=new X}break;case"DOMException":dt=new re(Je.message,Je.name);break;case"ArrayBuffer":case"SharedArrayBuffer":dt=qe(Je,Rt,_t);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Ce=_t==="DataView"?Je.byteLength:Je.length,dt=Ge(Je,_t,Je.byteOffset,Ce,Rt);break;case"DOMQuad":try{dt=new DOMQuad(ct(Je.p1,Rt),ct(Je.p2,Rt),ct(Je.p3,Rt),ct(Je.p4,Rt))}catch{dt=Ne(Je,_t)}break;case"File":if(me)try{dt=me(Je),S(dt)!==_t&&(dt=void 0)}catch{}if(!dt)try{dt=new File([Je],Je.name,Je)}catch{}dt||Te(_t);break;case"FileList":if(Yt=Ve(),Yt){for(Lt=0,Ce=b(Je);Lt<Ce;Lt++)Yt.items.add(ct(Je[Lt],Rt));dt=Yt.files}else dt=Ne(Je,_t);break;case"ImageData":try{dt=new ImageData(ct(Je.data,Rt),Je.width,Je.height,{colorSpace:Je.colorSpace})}catch{dt=Ne(Je,_t)}break;default:if(me)dt=me(Je);else switch(_t){case"BigInt":dt=j(Je.valueOf());break;case"Boolean":dt=j(I(Je));break;case"Number":dt=j(P(Je));break;case"String":dt=j(B(Je));break;case"Date":dt=new K(L(Je));break;case"Blob":try{dt=Je.slice(0,Je.size,Je.type)}catch{Te(_t)}break;case"DOMPoint":case"DOMPointReadOnly":st=r[_t];try{dt=st.fromPoint?st.fromPoint(Je):new st(Je.x,Je.y,Je.z,Je.w)}catch{Te(_t)}break;case"DOMRect":case"DOMRectReadOnly":st=r[_t];try{dt=st.fromRect?st.fromRect(Je):new st(Je.x,Je.y,Je.width,Je.height)}catch{Te(_t)}break;case"DOMMatrix":case"DOMMatrixReadOnly":st=r[_t];try{dt=st.fromMatrix?st.fromMatrix(Je):new st(Je)}catch{Te(_t)}break;case"AudioData":case"VideoFrame":s(Je.clone)||Te(_t);try{dt=Je.clone()}catch{be(_t)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Te(_t);default:be(_t)}}switch(ee(Rt,Je,dt),_t){case"Array":case"Object":for(Ze=xe(Je),Lt=0,Ce=b(Ze);Lt<Ce;Lt++)ut=Ze[Lt],y(dt,ut,ct(Je[ut],Rt));break;case"Map":Je.forEach(function(wt,Nt){ee(dt,ct(Nt,Rt),ct(wt,Rt))});break;case"Set":Je.forEach(function(wt){de(dt,ct(wt,Rt))});break;case"Error":w(dt,"message",ct(Je.message,Rt)),E(Je,"cause")&&w(dt,"cause",ct(Je.cause,Rt)),rt==="AggregateError"?dt.errors=ct(Je.errors,Rt):rt==="SuppressedError"&&(dt.error=ct(Je.error,Rt),dt.suppressed=ct(Je.suppressed,Rt));case"DOMException":k&&w(dt,"stack",ct(Je.stack,Rt))}return dt},Ut=function(Je,Rt){if(!d(Je))throw new Q("Transfer option cannot be converted to a sequence");var _t=[];v(Je,function(Nt){ue(_t,g(Nt))});for(var st=0,rt=b(_t),dt=new te,Yt,Lt,Ce,Ze,ut,wt;st<rt;){if(Yt=_t[st++],Lt=S(Yt),Lt==="ArrayBuffer"?Se(dt,Yt):N(Rt,Yt))throw new re("Duplicate transferable",ne);if(Lt==="ArrayBuffer"){de(dt,Yt);continue}if(q)Ze=Re(Yt,{transfer:[Yt]});else switch(Lt){case"ImageBitmap":Ce=r.OffscreenCanvas,l(Ce)||Te(Lt,ce);try{ut=new Ce(Yt.width,Yt.height),wt=ut.getContext("bitmaprenderer"),wt.transferFromImageBitmap(Yt),Ze=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!s(Yt.clone)||!s(Yt.close))&&Te(Lt,ce);try{Ze=Yt.clone(),Yt.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":Te(Lt,ce)}if(Ze===void 0)throw new re("This object cannot be transferred: "+Lt,ne);ee(Rt,Yt,Ze)}return dt},Wt=function(Je){m(Je,function(Rt){q?me(Rt,{transfer:[Rt]}):s(Rt.transfer)?Rt.transfer():D?D(Rt):Te("ArrayBuffer",ce)})};return t({global:!0,enumerable:!0,sham:!q,forced:Ie},{structuredClone:function(Rt){var _t=A(arguments.length,1)>1&&!c(arguments[1])?g(arguments[1]):void 0,st=_t?_t.transfer:void 0,rt,dt;st!==void 0&&(rt=new $,dt=Ut(st,rt));var Yt=ct(Rt,rt);return dt&&Wt(dt),Yt}}),mz}var _z={},Sz={},Ez;function Mpe(){if(Ez)return Sz;Ez=1;var e=Ue(),t=er(),r=aD(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),Sz}var wz={},bz;function $pe(){if(bz)return wz;bz=1;var e=Ue(),t=er(),r=aD(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),wz}var Tz;function Fpe(){return Tz||(Tz=1,Mpe(),$pe()),_z}var Rz={},xz={},VT,Cz;function b_(){if(Cz)return VT;Cz=1;var e=Vt(),t=Yr(),r=Ir(),n=Ln(),i=t("iterator");return VT=!e(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),o=a.searchParams,s=new URLSearchParams("a=1&a=2&b=3"),l="";return a.pathname="c%20d",o.forEach(function(c,d){o.delete("b"),l+=d+c}),s.delete("a",2),s.delete("b",void 0),n&&(!a.toJSON||!s.has("a",1)||s.has("a",2)||!s.has("a",void 0)||s.has("b"))||!o.size&&(n||!r)||!o.sort||a.href!=="https://a/c%20d?a=1&c=3"||o.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!o[i]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||l!=="a1c3"||new URL("https://x",void 0).host!=="x"}),VT}var BT,Az;function jpe(){if(Az)return BT;Az=1;var e=Gt(),t=2147483647,r=36,n=1,i=26,a=38,o=700,s=72,l=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",g=r-n,S=RangeError,E=e(h.exec),y=Math.floor,w=String.fromCharCode,b=e("".charCodeAt),A=e([].join),R=e([].push),C=e("".replace),O=e("".split),m=e("".toLowerCase),D=function(W){for(var K=[],X=0,Q=W.length;X<Q;){var J=b(W,X++);if(J>=55296&&J<=56319&&X<Q){var re=b(W,X++);(re&64512)===56320?R(K,((J&1023)<<10)+(re&1023)+65536):(R(K,J),X--)}else R(K,J)}return K},k=function(W){return W+22+75*(W<26)},q=function(W,K,X){var Q=0;for(W=X?y(W/o):W>>1,W+=y(W/K);W>g*i>>1;)W=y(W/g),Q+=r;return y(Q+(g+1)*W/(W+a))},j=function(W){var K=[];W=D(W);var X=W.length,Q=l,J=0,re=s,$,N;for($=0;$<W.length;$++)N=W[$],N<128&&R(K,w(N));var U=K.length,ee=U;for(U&&R(K,c);ee<X;){var te=t;for($=0;$<W.length;$++)N=W[$],N>=Q&&N<te&&(te=N);var de=ee+1;if(te-Q>y((t-J)/de))throw new S(v);for(J+=(te-Q)*de,Q=te,$=0;$<W.length;$++){if(N=W[$],N<Q&&++J>t)throw new S(v);if(N===Q){for(var Se=J,xe=r;;){var ue=xe<=re?n:xe>=re+i?i:xe-re;if(Se<ue)break;var I=Se-ue,P=r-ue;R(K,w(k(ue+I%P))),Se=y(I/P),xe+=r}R(K,w(k(Se))),re=q(J,de,ee===U),J=0,ee++}}J++,Q++}return A(K,"")};return BT=function(W){var K=[],X=O(C(m(W),h,"."),"."),Q,J;for(Q=0;Q<X.length;Q++)J=X[Q],R(K,E(d,J)?"xn--"+j(J):J);return A(K,".")},BT}var HT,Oz;function Bte(){if(Oz)return HT;Oz=1,Zy(),xte();var e=Ue(),t=er(),r=gte(),n=pn(),i=yr(),a=Gt(),o=Ir(),s=b_(),l=Qn(),c=Zi(),d=ml(),h=Uo(),v=$P(),g=qi(),S=ds(),E=_n(),y=mn(),w=cs(),b=ls(),A=br(),R=Gr(),C=tn(),O=$a(),m=ss(),D=uh(),k=Sf(),q=wf(),j=Fs(),W=Yr(),K=UP(),X=W("iterator"),Q="URLSearchParams",J=Q+"Iterator",re=g.set,$=g.getterFor(Q),N=g.getterFor(J),U=r("fetch"),ee=r("Request"),te=r("Headers"),de=ee&&ee.prototype,Se=te&&te.prototype,xe=t.TypeError,ue=t.encodeURIComponent,I=String.fromCharCode,P=n("String","fromCodePoint"),B=parseInt,L=a("".charAt),H=a([].join),ne=a([].push),ce=a("".replace),we=a([].shift),_e=a([].splice),Oe=a("".split),Re=a("".slice),Ie=a(/./.exec),$e=/\+/g,me="�",be=/^[0-9a-f]+$/i,Te=function(Ce,Ze){var ut=Re(Ce,Ze,Ze+2);return Ie(be,ut)?B(ut,16):NaN},Ne=function(Ce){for(var Ze=0,ut=128;ut>0&&(Ce&ut)!==0;ut>>=1)Ze++;return Ze},Ve=function(Ce){var Ze=null;switch(Ce.length){case 1:Ze=Ce[0];break;case 2:Ze=(Ce[0]&31)<<6|Ce[1]&63;break;case 3:Ze=(Ce[0]&15)<<12|(Ce[1]&63)<<6|Ce[2]&63;break;case 4:Ze=(Ce[0]&7)<<18|(Ce[1]&63)<<12|(Ce[2]&63)<<6|Ce[3]&63;break}return Ze>1114111?null:Ze},qe=function(Ce){Ce=ce(Ce,$e," ");for(var Ze=Ce.length,ut="",wt=0;wt<Ze;){var Nt=L(Ce,wt);if(Nt==="%"){if(L(Ce,wt+1)==="%"||wt+3>Ze){ut+="%",wt++;continue}var nr=Te(Ce,wt+1);if(nr!==nr){ut+=Nt,wt++;continue}wt+=2;var mr=Ne(nr);if(mr===0)Nt=I(nr);else{if(mr===1||mr>4){ut+=me,wt++;continue}for(var ir=[nr],Sr=1;Sr<mr&&(wt++,!(wt+3>Ze||L(Ce,wt)!=="%"));){var jr=Te(Ce,wt+1);if(jr!==jr){wt+=3;break}if(jr>191||jr<128)break;ne(ir,jr),wt+=2,Sr++}if(ir.length!==mr){ut+=me;continue}var Wr=Ve(ir);Wr===null?ut+=me:Nt=P(Wr)}}ut+=Nt,wt++}return ut},Ge=/[!'()~]|%20/g,ct={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ut=function(Ce){return ct[Ce]},Wt=function(Ce){return ce(ue(Ce),Ge,Ut)},Je=v(function(Ze,ut){re(this,{type:J,target:$(Ze).entries,index:0,kind:ut})},Q,function(){var Ze=N(this),ut=Ze.target,wt=Ze.index++;if(!ut||wt>=ut.length)return Ze.target=null,q(void 0,!0);var Nt=ut[wt];switch(Ze.kind){case"keys":return q(Nt.key,!1);case"values":return q(Nt.value,!1)}return q([Nt.key,Nt.value],!1)},!0),Rt=function(Ce){this.entries=[],this.url=null,Ce!==void 0&&(R(Ce)?this.parseObject(Ce):this.parseQuery(typeof Ce=="string"?L(Ce,0)==="?"?Re(Ce,1):Ce:C(Ce)))};Rt.prototype={type:Q,bindURL:function(Ce){this.url=Ce,this.update()},parseObject:function(Ce){var Ze=this.entries,ut=k(Ce),wt,Nt,nr,mr,ir,Sr,jr;if(ut)for(wt=D(Ce,ut),Nt=wt.next;!(nr=i(Nt,wt)).done;){if(mr=D(A(nr.value)),ir=mr.next,(Sr=i(ir,mr)).done||(jr=i(ir,mr)).done||!i(ir,mr).done)throw new xe("Expected sequence with length 2");ne(Ze,{key:C(Sr.value),value:C(jr.value)})}else for(var Wr in Ce)y(Ce,Wr)&&ne(Ze,{key:Wr,value:C(Ce[Wr])})},parseQuery:function(Ce){if(Ce)for(var Ze=this.entries,ut=Oe(Ce,"&"),wt=0,Nt,nr;wt<ut.length;)Nt=ut[wt++],Nt.length&&(nr=Oe(Nt,"="),ne(Ze,{key:qe(we(nr)),value:qe(H(nr,"="))}))},serialize:function(){for(var Ce=this.entries,Ze=[],ut=0,wt;ut<Ce.length;)wt=Ce[ut++],ne(Ze,Wt(wt.key)+"="+Wt(wt.value));return H(Ze,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var _t=function(){S(this,st);var Ze=arguments.length>0?arguments[0]:void 0,ut=re(this,new Rt(Ze));o||(this.size=ut.entries.length)},st=_t.prototype;if(d(st,{append:function(Ze,ut){var wt=$(this);j(arguments.length,2),ne(wt.entries,{key:C(Ze),value:C(ut)}),o||this.length++,wt.updateURL()},delete:function(Ce){for(var Ze=$(this),ut=j(arguments.length,1),wt=Ze.entries,Nt=C(Ce),nr=ut<2?void 0:arguments[1],mr=nr===void 0?nr:C(nr),ir=0;ir<wt.length;){var Sr=wt[ir];if(Sr.key===Nt&&(mr===void 0||Sr.value===mr)){if(_e(wt,ir,1),mr!==void 0)break}else ir++}o||(this.size=wt.length),Ze.updateURL()},get:function(Ze){var ut=$(this).entries;j(arguments.length,1);for(var wt=C(Ze),Nt=0;Nt<ut.length;Nt++)if(ut[Nt].key===wt)return ut[Nt].value;return null},getAll:function(Ze){var ut=$(this).entries;j(arguments.length,1);for(var wt=C(Ze),Nt=[],nr=0;nr<ut.length;nr++)ut[nr].key===wt&&ne(Nt,ut[nr].value);return Nt},has:function(Ze){for(var ut=$(this).entries,wt=j(arguments.length,1),Nt=C(Ze),nr=wt<2?void 0:arguments[1],mr=nr===void 0?nr:C(nr),ir=0;ir<ut.length;){var Sr=ut[ir++];if(Sr.key===Nt&&(mr===void 0||Sr.value===mr))return!0}return!1},set:function(Ze,ut){var wt=$(this);j(arguments.length,1);for(var Nt=wt.entries,nr=!1,mr=C(Ze),ir=C(ut),Sr=0,jr;Sr<Nt.length;Sr++)jr=Nt[Sr],jr.key===mr&&(nr?_e(Nt,Sr--,1):(nr=!0,jr.value=ir));nr||ne(Nt,{key:mr,value:ir}),o||(this.size=Nt.length),wt.updateURL()},sort:function(){var Ze=$(this);K(Ze.entries,function(ut,wt){return ut.key>wt.key?1:-1}),Ze.updateURL()},forEach:function(Ze){for(var ut=$(this).entries,wt=w(Ze,arguments.length>1?arguments[1]:void 0),Nt=0,nr;Nt<ut.length;)nr=ut[Nt++],wt(nr.value,nr.key,this)},keys:function(){return new Je(this,"keys")},values:function(){return new Je(this,"values")},entries:function(){return new Je(this,"entries")}},{enumerable:!0}),l(st,X,st.entries,{name:"entries"}),l(st,"toString",function(){return $(this).serialize()},{enumerable:!0}),o&&c(st,"size",{get:function(){return $(this).entries.length},configurable:!0,enumerable:!0}),h(_t,Q),e({global:!0,constructor:!0,forced:!s},{URLSearchParams:_t}),!s&&E(te)){var rt=a(Se.has),dt=a(Se.set),Yt=function(Ce){if(R(Ce)){var Ze=Ce.body,ut;if(b(Ze)===Q)return ut=Ce.headers?new te(Ce.headers):new te,rt(ut,"content-type")||dt(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Ce,{body:m(0,C(Ze)),headers:m(0,ut)})}return Ce};if(E(U)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ze){return U(Ze,arguments.length>1?Yt(arguments[1]):{})}}),E(ee)){var Lt=function(Ze){return S(this,de),new ee(Ze,arguments.length>1?Yt(arguments[1]):{})};de.constructor=Lt,Lt.prototype=de,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Lt})}}return HT={URLSearchParams:_t,getState:$},HT}var Iz;function Upe(){if(Iz)return xz;Iz=1,Cte();var e=Ue(),t=Ir(),r=b_(),n=er(),i=cs(),a=Gt(),o=Qn(),s=Zi(),l=ds(),c=mn(),d=dte(),h=Uee(),v=$s(),g=y_().codeAt,S=jpe(),E=tn(),y=Uo(),w=Fs(),b=Bte(),A=qi(),R=A.set,C=A.getterFor("URL"),O=b.URLSearchParams,m=b.getState,D=n.URL,k=n.TypeError,q=n.parseInt,j=Math.floor,W=Math.pow,K=a("".charAt),X=a(/./.exec),Q=a([].join),J=a(1.1.toString),re=a([].pop),$=a([].push),N=a("".replace),U=a([].shift),ee=a("".split),te=a("".slice),de=a("".toLowerCase),Se=a([].unshift),xe="Invalid authority",ue="Invalid scheme",I="Invalid host",P="Invalid port",B=/[a-z]/i,L=/[\d+-.a-z]/i,H=/\d/,ne=/^0x/i,ce=/^[0-7]+$/,we=/^\d+$/,_e=/^[\da-f]+$/i,Oe=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Re=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ie=/^[\u0000-\u0020]+/,$e=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,me=/[\t\n\r]/g,be,Te=function(ot){var Dt=ee(ot,"."),gt,et,fe,nt,ze,Tt,yt;if(Dt.length&&Dt[Dt.length-1]===""&&Dt.length--,gt=Dt.length,gt>4)return ot;for(et=[],fe=0;fe<gt;fe++){if(nt=Dt[fe],nt==="")return ot;if(ze=10,nt.length>1&&K(nt,0)==="0"&&(ze=X(ne,nt)?16:8,nt=te(nt,ze===8?1:2)),nt==="")Tt=0;else{if(!X(ze===10?we:ze===8?ce:_e,nt))return ot;Tt=q(nt,ze)}$(et,Tt)}for(fe=0;fe<gt;fe++)if(Tt=et[fe],fe===gt-1){if(Tt>=W(256,5-gt))return null}else if(Tt>255)return null;for(yt=re(et),fe=0;fe<et.length;fe++)yt+=et[fe]*W(256,3-fe);return yt},Ne=function(ot){var Dt=[0,0,0,0,0,0,0,0],gt=0,et=null,fe=0,nt,ze,Tt,yt,zt,Xt,bt,Tr=function(){return K(ot,fe)};if(Tr()===":"){if(K(ot,1)!==":")return;fe+=2,gt++,et=gt}for(;Tr();){if(gt===8)return;if(Tr()===":"){if(et!==null)return;fe++,gt++,et=gt;continue}for(nt=ze=0;ze<4&&X(_e,Tr());)nt=nt*16+q(Tr(),16),fe++,ze++;if(Tr()==="."){if(ze===0||(fe-=ze,gt>6))return;for(Tt=0;Tr();){if(yt=null,Tt>0)if(Tr()==="."&&Tt<4)fe++;else return;if(!X(H,Tr()))return;for(;X(H,Tr());){if(zt=q(Tr(),10),yt===null)yt=zt;else{if(yt===0)return;yt=yt*10+zt}if(yt>255)return;fe++}Dt[gt]=Dt[gt]*256+yt,Tt++,(Tt===2||Tt===4)&&gt++}if(Tt!==4)return;break}else if(Tr()===":"){if(fe++,!Tr())return}else if(Tr())return;Dt[gt++]=nt}if(et!==null)for(Xt=gt-et,gt=7;gt!==0&&Xt>0;)bt=Dt[gt],Dt[gt--]=Dt[et+Xt-1],Dt[et+--Xt]=bt;else if(gt!==8)return;return Dt},Ve=function(ot){for(var Dt=null,gt=1,et=null,fe=0,nt=0;nt<8;nt++)ot[nt]!==0?(fe>gt&&(Dt=et,gt=fe),et=null,fe=0):(et===null&&(et=nt),++fe);return fe>gt?et:Dt},qe=function(ot){var Dt,gt,et,fe;if(typeof ot=="number"){for(Dt=[],gt=0;gt<4;gt++)Se(Dt,ot%256),ot=j(ot/256);return Q(Dt,".")}if(typeof ot=="object"){for(Dt="",et=Ve(ot),gt=0;gt<8;gt++)fe&&ot[gt]===0||(fe&&(fe=!1),et===gt?(Dt+=gt?":":"::",fe=!0):(Dt+=J(ot[gt],16),gt<7&&(Dt+=":")));return"["+Dt+"]"}return ot},Ge={},ct=d({},Ge,{" ":1,'"':1,"<":1,">":1,"`":1}),Ut=d({},ct,{"#":1,"?":1,"{":1,"}":1}),Wt=d({},Ut,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Je=function(ot,Dt){var gt=g(ot,0);return gt>32&&gt<127&&!c(Dt,ot)?ot:encodeURIComponent(ot)},Rt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_t=function(ot,Dt){var gt;return ot.length===2&&X(B,K(ot,0))&&((gt=K(ot,1))===":"||!Dt&&gt==="|")},st=function(ot){var Dt;return ot.length>1&&_t(te(ot,0,2))&&(ot.length===2||(Dt=K(ot,2))==="/"||Dt==="\\"||Dt==="?"||Dt==="#")},rt=function(ot){return ot==="."||de(ot)==="%2e"},dt=function(ot){return ot=de(ot),ot===".."||ot==="%2e."||ot===".%2e"||ot==="%2e%2e"},Yt={},Lt={},Ce={},Ze={},ut={},wt={},Nt={},nr={},mr={},ir={},Sr={},jr={},Wr={},Hn={},zn={},Jn={},bn={},ai={},fi={},Ci={},_i={},Vi=function(ot,Dt,gt){var et=E(ot),fe,nt,ze;if(Dt){if(nt=this.parse(et),nt)throw new k(nt);this.searchParams=null}else{if(gt!==void 0&&(fe=new Vi(gt,!0)),nt=this.parse(et,null,fe),nt)throw new k(nt);ze=m(new O),ze.bindURL(this),this.searchParams=ze}};Vi.prototype={type:"URL",parse:function(ot,Dt,gt){var et=this,fe=Dt||Yt,nt=0,ze="",Tt=!1,yt=!1,zt=!1,Xt,bt,Tr,Xr;for(ot=E(ot),Dt||(et.scheme="",et.username="",et.password="",et.host=null,et.port=null,et.path=[],et.query=null,et.fragment=null,et.cannotBeABaseURL=!1,ot=N(ot,Ie,""),ot=N(ot,$e,"$1")),ot=N(ot,me,""),Xt=h(ot);nt<=Xt.length;){switch(bt=Xt[nt],fe){case Yt:if(bt&&X(B,bt))ze+=de(bt),fe=Lt;else{if(Dt)return ue;fe=Ce;continue}break;case Lt:if(bt&&(X(L,bt)||bt==="+"||bt==="-"||bt==="."))ze+=de(bt);else if(bt===":"){if(Dt&&(et.isSpecial()!==c(Rt,ze)||ze==="file"&&(et.includesCredentials()||et.port!==null)||et.scheme==="file"&&!et.host))return;if(et.scheme=ze,Dt){et.isSpecial()&&Rt[et.scheme]===et.port&&(et.port=null);return}ze="",et.scheme==="file"?fe=Hn:et.isSpecial()&&gt&&gt.scheme===et.scheme?fe=Ze:et.isSpecial()?fe=nr:Xt[nt+1]==="/"?(fe=ut,nt++):(et.cannotBeABaseURL=!0,$(et.path,""),fe=fi)}else{if(Dt)return ue;ze="",fe=Ce,nt=0;continue}break;case Ce:if(!gt||gt.cannotBeABaseURL&&bt!=="#")return ue;if(gt.cannotBeABaseURL&&bt==="#"){et.scheme=gt.scheme,et.path=v(gt.path),et.query=gt.query,et.fragment="",et.cannotBeABaseURL=!0,fe=_i;break}fe=gt.scheme==="file"?Hn:wt;continue;case Ze:if(bt==="/"&&Xt[nt+1]==="/")fe=mr,nt++;else{fe=wt;continue}break;case ut:if(bt==="/"){fe=ir;break}else{fe=ai;continue}case wt:if(et.scheme=gt.scheme,bt===be)et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=v(gt.path),et.query=gt.query;else if(bt==="/"||bt==="\\"&&et.isSpecial())fe=Nt;else if(bt==="?")et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=v(gt.path),et.query="",fe=Ci;else if(bt==="#")et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=v(gt.path),et.query=gt.query,et.fragment="",fe=_i;else{et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=v(gt.path),et.path.length--,fe=ai;continue}break;case Nt:if(et.isSpecial()&&(bt==="/"||bt==="\\"))fe=mr;else if(bt==="/")fe=ir;else{et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,fe=ai;continue}break;case nr:if(fe=mr,bt!=="/"||K(ze,nt+1)!=="/")continue;nt++;break;case mr:if(bt!=="/"&&bt!=="\\"){fe=ir;continue}break;case ir:if(bt==="@"){Tt&&(ze="%40"+ze),Tt=!0,Tr=h(ze);for(var Tn=0;Tn<Tr.length;Tn++){var kt=Tr[Tn];if(kt===":"&&!zt){zt=!0;continue}var Qr=Je(kt,Wt);zt?et.password+=Qr:et.username+=Qr}ze=""}else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()){if(Tt&&ze==="")return xe;nt-=h(ze).length+1,ze="",fe=Sr}else ze+=bt;break;case Sr:case jr:if(Dt&&et.scheme==="file"){fe=Jn;continue}else if(bt===":"&&!yt){if(ze==="")return I;if(Xr=et.parseHost(ze),Xr)return Xr;if(ze="",fe=Wr,Dt===jr)return}else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()){if(et.isSpecial()&&ze==="")return I;if(Dt&&ze===""&&(et.includesCredentials()||et.port!==null))return;if(Xr=et.parseHost(ze),Xr)return Xr;if(ze="",fe=bn,Dt)return;continue}else bt==="["?yt=!0:bt==="]"&&(yt=!1),ze+=bt;break;case Wr:if(X(H,bt))ze+=bt;else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()||Dt){if(ze!==""){var Wn=q(ze,10);if(Wn>65535)return P;et.port=et.isSpecial()&&Wn===Rt[et.scheme]?null:Wn,ze=""}if(Dt)return;fe=bn;continue}else return P;break;case Hn:if(et.scheme="file",bt==="/"||bt==="\\")fe=zn;else if(gt&&gt.scheme==="file")switch(bt){case be:et.host=gt.host,et.path=v(gt.path),et.query=gt.query;break;case"?":et.host=gt.host,et.path=v(gt.path),et.query="",fe=Ci;break;case"#":et.host=gt.host,et.path=v(gt.path),et.query=gt.query,et.fragment="",fe=_i;break;default:st(Q(v(Xt,nt),""))||(et.host=gt.host,et.path=v(gt.path),et.shortenPath()),fe=ai;continue}else{fe=ai;continue}break;case zn:if(bt==="/"||bt==="\\"){fe=Jn;break}gt&&gt.scheme==="file"&&!st(Q(v(Xt,nt),""))&&(_t(gt.path[0],!0)?$(et.path,gt.path[0]):et.host=gt.host),fe=ai;continue;case Jn:if(bt===be||bt==="/"||bt==="\\"||bt==="?"||bt==="#"){if(!Dt&&_t(ze))fe=ai;else if(ze===""){if(et.host="",Dt)return;fe=bn}else{if(Xr=et.parseHost(ze),Xr)return Xr;if(et.host==="localhost"&&(et.host=""),Dt)return;ze="",fe=bn}continue}else ze+=bt;break;case bn:if(et.isSpecial()){if(fe=ai,bt!=="/"&&bt!=="\\")continue}else if(!Dt&&bt==="?")et.query="",fe=Ci;else if(!Dt&&bt==="#")et.fragment="",fe=_i;else if(bt!==be&&(fe=ai,bt!=="/"))continue;break;case ai:if(bt===be||bt==="/"||bt==="\\"&&et.isSpecial()||!Dt&&(bt==="?"||bt==="#")){if(dt(ze)?(et.shortenPath(),bt!=="/"&&!(bt==="\\"&&et.isSpecial())&&$(et.path,"")):rt(ze)?bt!=="/"&&!(bt==="\\"&&et.isSpecial())&&$(et.path,""):(et.scheme==="file"&&!et.path.length&&_t(ze)&&(et.host&&(et.host=""),ze=K(ze,0)+":"),$(et.path,ze)),ze="",et.scheme==="file"&&(bt===be||bt==="?"||bt==="#"))for(;et.path.length>1&&et.path[0]==="";)U(et.path);bt==="?"?(et.query="",fe=Ci):bt==="#"&&(et.fragment="",fe=_i)}else ze+=Je(bt,Ut);break;case fi:bt==="?"?(et.query="",fe=Ci):bt==="#"?(et.fragment="",fe=_i):bt!==be&&(et.path[0]+=Je(bt,Ge));break;case Ci:!Dt&&bt==="#"?(et.fragment="",fe=_i):bt!==be&&(bt==="'"&&et.isSpecial()?et.query+="%27":bt==="#"?et.query+="%23":et.query+=Je(bt,Ge));break;case _i:bt!==be&&(et.fragment+=Je(bt,ct));break}nt++}},parseHost:function(ot){var Dt,gt,et;if(K(ot,0)==="["){if(K(ot,ot.length-1)!=="]"||(Dt=Ne(te(ot,1,-1)),!Dt))return I;this.host=Dt}else if(this.isSpecial()){if(ot=S(ot),X(Oe,ot)||(Dt=Te(ot),Dt===null))return I;this.host=Dt}else{if(X(Re,ot))return I;for(Dt="",gt=h(ot),et=0;et<gt.length;et++)Dt+=Je(gt[et],Ge);this.host=Dt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return c(Rt,this.scheme)},shortenPath:function(){var ot=this.path,Dt=ot.length;Dt&&(this.scheme!=="file"||Dt!==1||!_t(ot[0],!0))&&ot.length--},serialize:function(){var ot=this,Dt=ot.scheme,gt=ot.username,et=ot.password,fe=ot.host,nt=ot.port,ze=ot.path,Tt=ot.query,yt=ot.fragment,zt=Dt+":";return fe!==null?(zt+="//",ot.includesCredentials()&&(zt+=gt+(et?":"+et:"")+"@"),zt+=qe(fe),nt!==null&&(zt+=":"+nt)):Dt==="file"&&(zt+="//"),zt+=ot.cannotBeABaseURL?ze[0]:ze.length?"/"+Q(ze,"/"):"",Tt!==null&&(zt+="?"+Tt),yt!==null&&(zt+="#"+yt),zt},setHref:function(ot){var Dt=this.parse(ot);if(Dt)throw new k(Dt);this.searchParams.update()},getOrigin:function(){var ot=this.scheme,Dt=this.port;if(ot==="blob")try{return new Gi(ot.path[0]).origin}catch{return"null"}return ot==="file"||!this.isSpecial()?"null":ot+"://"+qe(this.host)+(Dt!==null?":"+Dt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(ot){this.parse(E(ot)+":",Yt)},getUsername:function(){return this.username},setUsername:function(ot){var Dt=h(E(ot));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var gt=0;gt<Dt.length;gt++)this.username+=Je(Dt[gt],Wt)}},getPassword:function(){return this.password},setPassword:function(ot){var Dt=h(E(ot));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var gt=0;gt<Dt.length;gt++)this.password+=Je(Dt[gt],Wt)}},getHost:function(){var ot=this.host,Dt=this.port;return ot===null?"":Dt===null?qe(ot):qe(ot)+":"+Dt},setHost:function(ot){this.cannotBeABaseURL||this.parse(ot,Sr)},getHostname:function(){var ot=this.host;return ot===null?"":qe(ot)},setHostname:function(ot){this.cannotBeABaseURL||this.parse(ot,jr)},getPort:function(){var ot=this.port;return ot===null?"":E(ot)},setPort:function(ot){this.cannotHaveUsernamePasswordPort()||(ot=E(ot),ot===""?this.port=null:this.parse(ot,Wr))},getPathname:function(){var ot=this.path;return this.cannotBeABaseURL?ot[0]:ot.length?"/"+Q(ot,"/"):""},setPathname:function(ot){this.cannotBeABaseURL||(this.path=[],this.parse(ot,bn))},getSearch:function(){var ot=this.query;return ot?"?"+ot:""},setSearch:function(ot){ot=E(ot),ot===""?this.query=null:(K(ot,0)==="?"&&(ot=te(ot,1)),this.query="",this.parse(ot,Ci)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var ot=this.fragment;return ot?"#"+ot:""},setHash:function(ot){if(ot=E(ot),ot===""){this.fragment=null;return}K(ot,0)==="#"&&(ot=te(ot,1)),this.fragment="",this.parse(ot,_i)},update:function(){this.query=this.searchParams.serialize()||null}};var Gi=function(Dt){var gt=l(this,Pn),et=w(arguments.length,1)>1?arguments[1]:void 0,fe=R(gt,new Vi(Dt,!1,et));t||(gt.href=fe.serialize(),gt.origin=fe.getOrigin(),gt.protocol=fe.getProtocol(),gt.username=fe.getUsername(),gt.password=fe.getPassword(),gt.host=fe.getHost(),gt.hostname=fe.getHostname(),gt.port=fe.getPort(),gt.pathname=fe.getPathname(),gt.search=fe.getSearch(),gt.searchParams=fe.getSearchParams(),gt.hash=fe.getHash())},Pn=Gi.prototype,oi=function(ot,Dt){return{get:function(){return C(this)[ot]()},set:Dt&&function(gt){return C(this)[Dt](gt)},configurable:!0,enumerable:!0}};if(t&&(s(Pn,"href",oi("serialize","setHref")),s(Pn,"origin",oi("getOrigin")),s(Pn,"protocol",oi("getProtocol","setProtocol")),s(Pn,"username",oi("getUsername","setUsername")),s(Pn,"password",oi("getPassword","setPassword")),s(Pn,"host",oi("getHost","setHost")),s(Pn,"hostname",oi("getHostname","setHostname")),s(Pn,"port",oi("getPort","setPort")),s(Pn,"pathname",oi("getPathname","setPathname")),s(Pn,"search",oi("getSearch","setSearch")),s(Pn,"searchParams",oi("getSearchParams")),s(Pn,"hash",oi("getHash","setHash"))),o(Pn,"toJSON",function(){return C(this).serialize()},{enumerable:!0}),o(Pn,"toString",function(){return C(this).serialize()},{enumerable:!0}),D){var Di=D.createObjectURL,Ai=D.revokeObjectURL;Di&&o(Gi,"createObjectURL",i(Di,D)),Ai&&o(Gi,"revokeObjectURL",i(Ai,D))}return y(Gi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:Gi}),xz}var Pz;function qpe(){return Pz||(Pz=1,Upe()),Rz}var Dz={},kz;function Vpe(){if(kz)return Dz;kz=1;var e=Ue(),t=pn(),r=Vt(),n=Fs(),i=tn(),a=b_(),o=t("URL"),s=a&&r(function(){o.canParse()}),l=r(function(){return o.canParse.length!==1});return e({target:"URL",stat:!0,forced:!s||l},{canParse:function(d){var h=n(arguments.length,1),v=i(d),g=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(v,g)}catch{return!1}}}),Dz}var Nz={},Lz;function Bpe(){if(Lz)return Nz;Lz=1;var e=Ue(),t=pn(),r=Fs(),n=tn(),i=b_(),a=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(s){var l=r(arguments.length,1),c=n(s),d=l<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new a(c,d)}catch{return null}}}),Nz}var Mz={},$z;function Hpe(){if($z)return Mz;$z=1;var e=Ue(),t=yr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),Mz}var Fz={},jz;function zpe(){return jz||(jz=1,Bte()),Fz}var Uz={},qz;function Wpe(){if(qz)return Uz;qz=1;var e=Qn(),t=Gt(),r=tn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.append),s=t(a.delete),l=t(a.forEach),c=t([].push),d=new i("a=1&a=2&b=3");return d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&e(a,"delete",function(h){var v=arguments.length,g=v<2?void 0:arguments[1];if(v&&g===void 0)return s(this,h);var S=[];l(this,function(O,m){c(S,{key:m,value:O})}),n(v,1);for(var E=r(h),y=r(g),w=0,b=0,A=!1,R=S.length,C;w<R;)C=S[w++],A||C.key===E?(A=!0,s(this,C.key)):b++;for(;b<R;)C=S[b++],C.key===E&&C.value===y||o(this,C.key,C.value)},{enumerable:!0,unsafe:!0}),Uz}var Vz={},Bz;function Gpe(){if(Bz)return Vz;Bz=1;var e=Qn(),t=Gt(),r=tn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),s=t(a.has),l=new i("a=1");return(l.has("a",2)||!l.has("a",void 0))&&e(a,"has",function(d){var h=arguments.length,v=h<2?void 0:arguments[1];if(h&&v===void 0)return s(this,d);var g=o(this,d);n(h,1);for(var S=r(v),E=0;E<g.length;)if(g[E++]===S)return!0;return!1},{enumerable:!0,unsafe:!0}),Vz}var Hz={},zz;function Ype(){if(zz)return Hz;zz=1;var e=Ir(),t=Gt(),r=Zi(),n=URLSearchParams.prototype,i=t(n.forEach);return e&&!("size"in n)&&r(n,"size",{get:function(){var o=0;return i(this,function(){o++}),o},configurable:!0,enumerable:!0}),Hz}var zT,Wz;function Kpe(){return Wz||(Wz=1,xle(),Cle(),Ale(),Ole(),Ile(),Ple(),Dle(),kle(),Nle(),Lle(),Mle(),$le(),Fle(),jle(),Ule(),qle(),Vle(),Ble(),Hle(),zle(),Gle(),Yle(),Kle(),Xle(),Qle(),Jle(),Zle(),ece(),tce(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),Zy(),hce(),vce(),pce(),gce(),mce(),yce(),_ce(),Sce(),Ece(),wce(),bce(),Tce(),Rce(),xce(),Cce(),Ace(),Oce(),Ice(),Pce(),Dce(),Nce(),Lce(),Mce(),Fce(),jce(),qce(),Vce(),Bce(),Hce(),zce(),Wce(),Gce(),Yce(),Xce(),Qce(),Zce(),efe(),tfe(),rfe(),nfe(),ife(),afe(),ofe(),sfe(),ufe(),cfe(),ffe(),dfe(),hfe(),vfe(),pfe(),gfe(),mfe(),yfe(),_fe(),Sfe(),Efe(),Oee(),wfe(),Tfe(),Rfe(),xfe(),Cfe(),Afe(),Ofe(),Ife(),Pfe(),Dfe(),kfe(),Nfe(),Lfe(),Mfe(),$fe(),Ffe(),jfe(),Ufe(),qfe(),Vfe(),Bfe(),Hfe(),zfe(),Wfe(),Gfe(),Kfe(),Xfe(),Qfe(),Jfe(),Zfe(),ede(),tde(),rde(),nde(),ide(),ade(),ode(),sde(),ude(),lde(),cde(),fde(),dde(),hde(),vde(),pde(),gde(),mde(),yde(),_de(),Sde(),Ede(),wde(),bde(),Tde(),Rde(),xde(),Cde(),Ade(),Ode(),Ide(),Pde(),kde(),Nde(),Lde(),Mde(),Wde(),Gde(),Yde(),Kde(),Xde(),Qde(),rhe(),nhe(),ihe(),ahe(),ohe(),she(),uhe(),lhe(),che(),fhe(),dhe(),hhe(),vhe(),phe(),ghe(),mhe(),yhe(),_he(),She(),Ehe(),JP(),whe(),bhe(),The(),Rhe(),Che(),Ohe(),Phe(),khe(),Lhe(),$he(),jhe(),qhe(),Vhe(),Bhe(),Hhe(),xte(),zhe(),Whe(),Cte(),Ghe(),Yhe(),Khe(),Xhe(),Qhe(),Jhe(),Zhe(),eve(),tve(),rve(),nve(),ive(),ave(),ove(),uve(),cve(),fve(),dve(),hve(),vve(),pve(),gve(),mve(),yve(),_ve(),Sve(),Eve(),wve(),bve(),Rve(),xve(),Cve(),Ave(),Ove(),Ive(),Pve(),Dve(),kve(),Nve(),Lve(),Mve(),$ve(),jve(),Uve(),qve(),Vve(),Bve(),Hve(),zve(),Wve(),Gve(),Yve(),Kve(),Xve(),Qve(),Jve(),Zve(),epe(),tpe(),rpe(),npe(),ipe(),ape(),ope(),spe(),upe(),lpe(),cpe(),fpe(),dpe(),hpe(),vpe(),ppe(),gpe(),mpe(),ype(),Spe(),wpe(),bpe(),Tpe(),Rpe(),xpe(),Cpe(),Ape(),Ope(),Dpe(),kpe(),Npe(),Lpe(),Fpe(),qpe(),Vpe(),Bpe(),Hpe(),zpe(),Wpe(),Gpe(),Ype(),zT=Yy()),zT}Kpe();var Rm={exports:{}};/*!
7
- * jQuery JavaScript Library v3.7.1
8
- * https://jquery.com/
9
- *
10
- * Copyright OpenJS Foundation and other contributors
11
- * Released under the MIT license
12
- * https://jquery.org/license
13
- *
14
- * Date: 2023-08-28T13:37Z
15
- */var Xpe=Rm.exports,Gz;function Hte(){return Gz||(Gz=1,(function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:Xpe,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(_){return n.flat.call(_)}:function(_){return n.concat.apply([],_)},s=n.push,l=n.indexOf,c={},d=c.toString,h=c.hasOwnProperty,v=h.toString,g=v.call(Object),S={},E=function(x){return typeof x=="function"&&typeof x.nodeType!="number"&&typeof x.item!="function"},y=function(x){return x!=null&&x===x.window},w=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function A(_,x,M){M=M||w;var Y,ae,le=M.createElement("script");if(le.text=_,x)for(Y in b)ae=x[Y]||x.getAttribute&&x.getAttribute(Y),ae&&le.setAttribute(Y,ae);M.head.appendChild(le).parentNode.removeChild(le)}function R(_){return _==null?_+"":typeof _=="object"||typeof _=="function"?c[d.call(_)]||"object":typeof _}var C="3.7.1",O=/HTML$/i,m=function(_,x){return new m.fn.init(_,x)};m.fn=m.prototype={jquery:C,constructor:m,length:0,toArray:function(){return a.call(this)},get:function(_){return _==null?a.call(this):_<0?this[_+this.length]:this[_]},pushStack:function(_){var x=m.merge(this.constructor(),_);return x.prevObject=this,x},each:function(_){return m.each(this,_)},map:function(_){return this.pushStack(m.map(this,function(x,M){return _.call(x,M,x)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(_,x){return(x+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(_,x){return x%2}))},eq:function(_){var x=this.length,M=+_+(_<0?x:0);return this.pushStack(M>=0&&M<x?[this[M]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},m.extend=m.fn.extend=function(){var _,x,M,Y,ae,le,he=arguments[0]||{},Fe=1,ke=arguments.length,Ye=!1;for(typeof he=="boolean"&&(Ye=he,he=arguments[Fe]||{},Fe++),typeof he!="object"&&!E(he)&&(he={}),Fe===ke&&(he=this,Fe--);Fe<ke;Fe++)if((_=arguments[Fe])!=null)for(x in _)Y=_[x],!(x==="__proto__"||he===Y)&&(Ye&&Y&&(m.isPlainObject(Y)||(ae=Array.isArray(Y)))?(M=he[x],ae&&!Array.isArray(M)?le=[]:!ae&&!m.isPlainObject(M)?le={}:le=M,ae=!1,he[x]=m.extend(Ye,le,Y)):Y!==void 0&&(he[x]=Y));return he},m.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(_){throw new Error(_)},noop:function(){},isPlainObject:function(_){var x,M;return!_||d.call(_)!=="[object Object]"?!1:(x=i(_),x?(M=h.call(x,"constructor")&&x.constructor,typeof M=="function"&&v.call(M)===g):!0)},isEmptyObject:function(_){var x;for(x in _)return!1;return!0},globalEval:function(_,x,M){A(_,{nonce:x&&x.nonce},M)},each:function(_,x){var M,Y=0;if(D(_))for(M=_.length;Y<M&&x.call(_[Y],Y,_[Y])!==!1;Y++);else for(Y in _)if(x.call(_[Y],Y,_[Y])===!1)break;return _},text:function(_){var x,M="",Y=0,ae=_.nodeType;if(!ae)for(;x=_[Y++];)M+=m.text(x);return ae===1||ae===11?_.textContent:ae===9?_.documentElement.textContent:ae===3||ae===4?_.nodeValue:M},makeArray:function(_,x){var M=x||[];return _!=null&&(D(Object(_))?m.merge(M,typeof _=="string"?[_]:_):s.call(M,_)),M},inArray:function(_,x,M){return x==null?-1:l.call(x,_,M)},isXMLDoc:function(_){var x=_&&_.namespaceURI,M=_&&(_.ownerDocument||_).documentElement;return!O.test(x||M&&M.nodeName||"HTML")},merge:function(_,x){for(var M=+x.length,Y=0,ae=_.length;Y<M;Y++)_[ae++]=x[Y];return _.length=ae,_},grep:function(_,x,M){for(var Y,ae=[],le=0,he=_.length,Fe=!M;le<he;le++)Y=!x(_[le],le),Y!==Fe&&ae.push(_[le]);return ae},map:function(_,x,M){var Y,ae,le=0,he=[];if(D(_))for(Y=_.length;le<Y;le++)ae=x(_[le],le,M),ae!=null&&he.push(ae);else for(le in _)ae=x(_[le],le,M),ae!=null&&he.push(ae);return o(he)},guid:1,support:S}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=n[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(_,x){c["[object "+x+"]"]=x.toLowerCase()});function D(_){var x=!!_&&"length"in _&&_.length,M=R(_);return E(_)||y(_)?!1:M==="array"||x===0||typeof x=="number"&&x>0&&x-1 in _}function k(_,x){return _.nodeName&&_.nodeName.toLowerCase()===x.toLowerCase()}var q=n.pop,j=n.sort,W=n.splice,K="[\\x20\\t\\r\\n\\f]",X=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g");m.contains=function(_,x){var M=x&&x.parentNode;return _===M||!!(M&&M.nodeType===1&&(_.contains?_.contains(M):_.compareDocumentPosition&&_.compareDocumentPosition(M)&16))};var Q=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function J(_,x){return x?_==="\0"?"�":_.slice(0,-1)+"\\"+_.charCodeAt(_.length-1).toString(16)+" ":"\\"+_}m.escapeSelector=function(_){return(_+"").replace(Q,J)};var re=w,$=s;(function(){var _,x,M,Y,ae,le=$,he,Fe,ke,Ye,Et,Ct=m.expando,ft=0,Ft=0,Rr=Ke(),en=Ke(),Ur=Ke(),Zn=Ke(),hi=function(Ae,We){return Ae===We&&(ae=!0),0},G="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",oe="(?:\\\\[\\da-fA-F]{1,6}"+K+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ge="\\["+K+"*("+oe+")(?:"+K+"*([*^$|!~]?=)"+K+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+oe+"))|)"+K+"*\\]",Le=":("+oe+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ge+")*)|.*)\\)|)",Qe=new RegExp(K+"+","g"),tt=new RegExp("^"+K+"*,"+K+"*"),Ot=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),Ht=new RegExp(K+"|>"),gr=new RegExp(Le),qr=new RegExp("^"+oe+"$"),xr={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe+"|[*])"),ATTR:new RegExp("^"+ge),PSEUDO:new RegExp("^"+Le),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},Dn=/^(?:input|select|textarea|button)$/i,si=/^h\d$/i,Fn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Sc=/[+~]/,oo=new RegExp("\\\\[\\da-fA-F]{1,6}"+K+"?|\\\\([^\\r\\n\\f])","g"),ie=function(Ae,We){var ht="0x"+Ae.slice(1)-65536;return We||(ht<0?String.fromCharCode(ht+65536):String.fromCharCode(ht>>10|55296,ht&1023|56320))},ve=function(){Qo()},Pe=fu(function(Ae){return Ae.disabled===!0&&k(Ae,"fieldset")},{dir:"parentNode",next:"legend"});function Me(){try{return he.activeElement}catch{}}try{le.apply(n=a.call(re.childNodes),re.childNodes),n[re.childNodes.length].nodeType}catch{le={apply:function(We,ht){$.apply(We,a.call(ht))},call:function(We){$.apply(We,a.call(arguments,1))}}}function Be(Ae,We,ht,St){var It,Zt,tr,lr,or,on,Nr,Br=We&&We.ownerDocument,rn=We?We.nodeType:9;if(ht=ht||[],typeof Ae!="string"||!Ae||rn!==1&&rn!==9&&rn!==11)return ht;if(!St&&(Qo(We),We=We||he,ke)){if(rn!==11&&(or=Fn.exec(Ae)))if(It=or[1]){if(rn===9)if(tr=We.getElementById(It)){if(tr.id===It)return le.call(ht,tr),ht}else return ht;else if(Br&&(tr=Br.getElementById(It))&&Be.contains(We,tr)&&tr.id===It)return le.call(ht,tr),ht}else{if(or[2])return le.apply(ht,We.getElementsByTagName(Ae)),ht;if((It=or[3])&&We.getElementsByClassName)return le.apply(ht,We.getElementsByClassName(It)),ht}if(!Zn[Ae+" "]&&(!Ye||!Ye.test(Ae))){if(Nr=Ae,Br=We,rn===1&&(Ht.test(Ae)||Ot.test(Ae))){for(Br=Sc.test(Ae)&&wl(We.parentNode)||We,(Br!=We||!S.scope)&&((lr=We.getAttribute("id"))?lr=m.escapeSelector(lr):We.setAttribute("id",lr=Ct)),on=bl(Ae),Zt=on.length;Zt--;)on[Zt]=(lr?"#"+lr:":scope")+" "+cu(on[Zt]);Nr=on.join(",")}try{return le.apply(ht,Br.querySelectorAll(Nr)),ht}catch{Zn(Ae,!0)}finally{lr===Ct&&We.removeAttribute("id")}}}return Lh(Ae.replace(X,"$1"),We,ht,St)}function Ke(){var Ae=[];function We(ht,St){return Ae.push(ht+" ")>x.cacheLength&&delete We[Ae.shift()],We[ht+" "]=St}return We}function xt(Ae){return Ae[Ct]=!0,Ae}function Kt(Ae){var We=he.createElement("fieldset");try{return!!Ae(We)}catch{return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Vr(Ae){return function(We){return k(We,"input")&&We.type===Ae}}function kr(Ae){return function(We){return(k(We,"input")||k(We,"button"))&&We.type===Ae}}function ei(Ae){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===Ae:We.disabled===Ae:We.isDisabled===Ae||We.isDisabled!==!Ae&&Pe(We)===Ae:We.disabled===Ae:"label"in We?We.disabled===Ae:!1}}function Ei(Ae){return xt(function(We){return We=+We,xt(function(ht,St){for(var It,Zt=Ae([],ht.length,We),tr=Zt.length;tr--;)ht[It=Zt[tr]]&&(ht[It]=!(St[It]=ht[It]))})})}function wl(Ae){return Ae&&typeof Ae.getElementsByTagName<"u"&&Ae}function Qo(Ae){var We,ht=Ae?Ae.ownerDocument||Ae:re;return ht==he||ht.nodeType!==9||!ht.documentElement||(he=ht,Fe=he.documentElement,ke=!m.isXMLDoc(he),Et=Fe.matches||Fe.webkitMatchesSelector||Fe.msMatchesSelector,Fe.msMatchesSelector&&re!=he&&(We=he.defaultView)&&We.top!==We&&We.addEventListener("unload",ve),S.getById=Kt(function(St){return Fe.appendChild(St).id=m.expando,!he.getElementsByName||!he.getElementsByName(m.expando).length}),S.disconnectedMatch=Kt(function(St){return Et.call(St,"*")}),S.scope=Kt(function(){return he.querySelectorAll(":scope")}),S.cssHas=Kt(function(){try{return he.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(x.filter.ID=function(St){var It=St.replace(oo,ie);return function(Zt){return Zt.getAttribute("id")===It}},x.find.ID=function(St,It){if(typeof It.getElementById<"u"&&ke){var Zt=It.getElementById(St);return Zt?[Zt]:[]}}):(x.filter.ID=function(St){var It=St.replace(oo,ie);return function(Zt){var tr=typeof Zt.getAttributeNode<"u"&&Zt.getAttributeNode("id");return tr&&tr.value===It}},x.find.ID=function(St,It){if(typeof It.getElementById<"u"&&ke){var Zt,tr,lr,or=It.getElementById(St);if(or){if(Zt=or.getAttributeNode("id"),Zt&&Zt.value===St)return[or];for(lr=It.getElementsByName(St),tr=0;or=lr[tr++];)if(Zt=or.getAttributeNode("id"),Zt&&Zt.value===St)return[or]}return[]}}),x.find.TAG=function(St,It){return typeof It.getElementsByTagName<"u"?It.getElementsByTagName(St):It.querySelectorAll(St)},x.find.CLASS=function(St,It){if(typeof It.getElementsByClassName<"u"&&ke)return It.getElementsByClassName(St)},Ye=[],Kt(function(St){var It;Fe.appendChild(St).innerHTML="<a id='"+Ct+"' href='' disabled='disabled'></a><select id='"+Ct+"-\r\\' disabled='disabled'><option selected=''></option></select>",St.querySelectorAll("[selected]").length||Ye.push("\\["+K+"*(?:value|"+G+")"),St.querySelectorAll("[id~="+Ct+"-]").length||Ye.push("~="),St.querySelectorAll("a#"+Ct+"+*").length||Ye.push(".#.+[+~]"),St.querySelectorAll(":checked").length||Ye.push(":checked"),It=he.createElement("input"),It.setAttribute("type","hidden"),St.appendChild(It).setAttribute("name","D"),Fe.appendChild(St).disabled=!0,St.querySelectorAll(":disabled").length!==2&&Ye.push(":enabled",":disabled"),It=he.createElement("input"),It.setAttribute("name",""),St.appendChild(It),St.querySelectorAll("[name='']").length||Ye.push("\\["+K+"*name"+K+"*="+K+`*(?:''|"")`)}),S.cssHas||Ye.push(":has"),Ye=Ye.length&&new RegExp(Ye.join("|")),hi=function(St,It){if(St===It)return ae=!0,0;var Zt=!St.compareDocumentPosition-!It.compareDocumentPosition;return Zt||(Zt=(St.ownerDocument||St)==(It.ownerDocument||It)?St.compareDocumentPosition(It):1,Zt&1||!S.sortDetached&&It.compareDocumentPosition(St)===Zt?St===he||St.ownerDocument==re&&Be.contains(re,St)?-1:It===he||It.ownerDocument==re&&Be.contains(re,It)?1:Y?l.call(Y,St)-l.call(Y,It):0:Zt&4?-1:1)}),he}Be.matches=function(Ae,We){return Be(Ae,null,null,We)},Be.matchesSelector=function(Ae,We){if(Qo(Ae),ke&&!Zn[We+" "]&&(!Ye||!Ye.test(We)))try{var ht=Et.call(Ae,We);if(ht||S.disconnectedMatch||Ae.document&&Ae.document.nodeType!==11)return ht}catch{Zn(We,!0)}return Be(We,he,null,[Ae]).length>0},Be.contains=function(Ae,We){return(Ae.ownerDocument||Ae)!=he&&Qo(Ae),m.contains(Ae,We)},Be.attr=function(Ae,We){(Ae.ownerDocument||Ae)!=he&&Qo(Ae);var ht=x.attrHandle[We.toLowerCase()],St=ht&&h.call(x.attrHandle,We.toLowerCase())?ht(Ae,We,!ke):void 0;return St!==void 0?St:Ae.getAttribute(We)},Be.error=function(Ae){throw new Error("Syntax error, unrecognized expression: "+Ae)},m.uniqueSort=function(Ae){var We,ht=[],St=0,It=0;if(ae=!S.sortStable,Y=!S.sortStable&&a.call(Ae,0),j.call(Ae,hi),ae){for(;We=Ae[It++];)We===Ae[It]&&(St=ht.push(It));for(;St--;)W.call(Ae,ht[St],1)}return Y=null,Ae},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(a.apply(this)))},x=m.expr={cacheLength:50,createPseudo:xt,match:xr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ae){return Ae[1]=Ae[1].replace(oo,ie),Ae[3]=(Ae[3]||Ae[4]||Ae[5]||"").replace(oo,ie),Ae[2]==="~="&&(Ae[3]=" "+Ae[3]+" "),Ae.slice(0,4)},CHILD:function(Ae){return Ae[1]=Ae[1].toLowerCase(),Ae[1].slice(0,3)==="nth"?(Ae[3]||Be.error(Ae[0]),Ae[4]=+(Ae[4]?Ae[5]+(Ae[6]||1):2*(Ae[3]==="even"||Ae[3]==="odd")),Ae[5]=+(Ae[7]+Ae[8]||Ae[3]==="odd")):Ae[3]&&Be.error(Ae[0]),Ae},PSEUDO:function(Ae){var We,ht=!Ae[6]&&Ae[2];return xr.CHILD.test(Ae[0])?null:(Ae[3]?Ae[2]=Ae[4]||Ae[5]||"":ht&&gr.test(ht)&&(We=bl(ht,!0))&&(We=ht.indexOf(")",ht.length-We)-ht.length)&&(Ae[0]=Ae[0].slice(0,We),Ae[2]=ht.slice(0,We)),Ae.slice(0,3))}},filter:{TAG:function(Ae){var We=Ae.replace(oo,ie).toLowerCase();return Ae==="*"?function(){return!0}:function(ht){return k(ht,We)}},CLASS:function(Ae){var We=Rr[Ae+" "];return We||(We=new RegExp("(^|"+K+")"+Ae+"("+K+"|$)"))&&Rr(Ae,function(ht){return We.test(typeof ht.className=="string"&&ht.className||typeof ht.getAttribute<"u"&&ht.getAttribute("class")||"")})},ATTR:function(Ae,We,ht){return function(St){var It=Be.attr(St,Ae);return It==null?We==="!=":We?(It+="",We==="="?It===ht:We==="!="?It!==ht:We==="^="?ht&&It.indexOf(ht)===0:We==="*="?ht&&It.indexOf(ht)>-1:We==="$="?ht&&It.slice(-ht.length)===ht:We==="~="?(" "+It.replace(Qe," ")+" ").indexOf(ht)>-1:We==="|="?It===ht||It.slice(0,ht.length+1)===ht+"-":!1):!0}},CHILD:function(Ae,We,ht,St,It){var Zt=Ae.slice(0,3)!=="nth",tr=Ae.slice(-4)!=="last",lr=We==="of-type";return St===1&&It===0?(function(or){return!!or.parentNode}):function(or,on,Nr){var Br,rn,Cr,ti,Yi,ta=Zt!==tr?"nextSibling":"previousSibling",ya=or.parentNode,bo=lr&&or.nodeName.toLowerCase(),$u=!Nr&&!lr,ra=!1;if(ya){if(Zt){for(;ta;){for(Cr=or;Cr=Cr[ta];)if(lr?k(Cr,bo):Cr.nodeType===1)return!1;Yi=ta=Ae==="only"&&!Yi&&"nextSibling"}return!0}if(Yi=[tr?ya.firstChild:ya.lastChild],tr&&$u){for(rn=ya[Ct]||(ya[Ct]={}),Br=rn[Ae]||[],ti=Br[0]===ft&&Br[1],ra=ti&&Br[2],Cr=ti&&ya.childNodes[ti];Cr=++ti&&Cr&&Cr[ta]||(ra=ti=0)||Yi.pop();)if(Cr.nodeType===1&&++ra&&Cr===or){rn[Ae]=[ft,ti,ra];break}}else if($u&&(rn=or[Ct]||(or[Ct]={}),Br=rn[Ae]||[],ti=Br[0]===ft&&Br[1],ra=ti),ra===!1)for(;(Cr=++ti&&Cr&&Cr[ta]||(ra=ti=0)||Yi.pop())&&!((lr?k(Cr,bo):Cr.nodeType===1)&&++ra&&($u&&(rn=Cr[Ct]||(Cr[Ct]={}),rn[Ae]=[ft,ra]),Cr===or)););return ra-=It,ra===St||ra%St===0&&ra/St>=0}}},PSEUDO:function(Ae,We){var ht,St=x.pseudos[Ae]||x.setFilters[Ae.toLowerCase()]||Be.error("unsupported pseudo: "+Ae);return St[Ct]?St(We):St.length>1?(ht=[Ae,Ae,"",We],x.setFilters.hasOwnProperty(Ae.toLowerCase())?xt(function(It,Zt){for(var tr,lr=St(It,We),or=lr.length;or--;)tr=l.call(It,lr[or]),It[tr]=!(Zt[tr]=lr[or])}):function(It){return St(It,0,ht)}):St}},pseudos:{not:xt(function(Ae){var We=[],ht=[],St=Kf(Ae.replace(X,"$1"));return St[Ct]?xt(function(It,Zt,tr,lr){for(var or,on=St(It,null,lr,[]),Nr=It.length;Nr--;)(or=on[Nr])&&(It[Nr]=!(Zt[Nr]=or))}):function(It,Zt,tr){return We[0]=It,St(We,null,tr,ht),We[0]=null,!ht.pop()}}),has:xt(function(Ae){return function(We){return Be(Ae,We).length>0}}),contains:xt(function(Ae){return Ae=Ae.replace(oo,ie),function(We){return(We.textContent||m.text(We)).indexOf(Ae)>-1}}),lang:xt(function(Ae){return qr.test(Ae||"")||Be.error("unsupported lang: "+Ae),Ae=Ae.replace(oo,ie).toLowerCase(),function(We){var ht;do if(ht=ke?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return ht=ht.toLowerCase(),ht===Ae||ht.indexOf(Ae+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(Ae){var We=t.location&&t.location.hash;return We&&We.slice(1)===Ae.id},root:function(Ae){return Ae===Fe},focus:function(Ae){return Ae===Me()&&he.hasFocus()&&!!(Ae.type||Ae.href||~Ae.tabIndex)},enabled:ei(!1),disabled:ei(!0),checked:function(Ae){return k(Ae,"input")&&!!Ae.checked||k(Ae,"option")&&!!Ae.selected},selected:function(Ae){return Ae.parentNode&&Ae.parentNode.selectedIndex,Ae.selected===!0},empty:function(Ae){for(Ae=Ae.firstChild;Ae;Ae=Ae.nextSibling)if(Ae.nodeType<6)return!1;return!0},parent:function(Ae){return!x.pseudos.empty(Ae)},header:function(Ae){return si.test(Ae.nodeName)},input:function(Ae){return Dn.test(Ae.nodeName)},button:function(Ae){return k(Ae,"input")&&Ae.type==="button"||k(Ae,"button")},text:function(Ae){var We;return k(Ae,"input")&&Ae.type==="text"&&((We=Ae.getAttribute("type"))==null||We.toLowerCase()==="text")},first:Ei(function(){return[0]}),last:Ei(function(Ae,We){return[We-1]}),eq:Ei(function(Ae,We,ht){return[ht<0?ht+We:ht]}),even:Ei(function(Ae,We){for(var ht=0;ht<We;ht+=2)Ae.push(ht);return Ae}),odd:Ei(function(Ae,We){for(var ht=1;ht<We;ht+=2)Ae.push(ht);return Ae}),lt:Ei(function(Ae,We,ht){var St;for(ht<0?St=ht+We:ht>We?St=We:St=ht;--St>=0;)Ae.push(St);return Ae}),gt:Ei(function(Ae,We,ht){for(var St=ht<0?ht+We:ht;++St<We;)Ae.push(St);return Ae})}},x.pseudos.nth=x.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[_]=Vr(_);for(_ in{submit:!0,reset:!0})x.pseudos[_]=kr(_);function Dh(){}Dh.prototype=x.filters=x.pseudos,x.setFilters=new Dh;function bl(Ae,We){var ht,St,It,Zt,tr,lr,or,on=en[Ae+" "];if(on)return We?0:on.slice(0);for(tr=Ae,lr=[],or=x.preFilter;tr;){(!ht||(St=tt.exec(tr)))&&(St&&(tr=tr.slice(St[0].length)||tr),lr.push(It=[])),ht=!1,(St=Ot.exec(tr))&&(ht=St.shift(),It.push({value:ht,type:St[0].replace(X," ")}),tr=tr.slice(ht.length));for(Zt in x.filter)(St=xr[Zt].exec(tr))&&(!or[Zt]||(St=or[Zt](St)))&&(ht=St.shift(),It.push({value:ht,type:Zt,matches:St}),tr=tr.slice(ht.length));if(!ht)break}return We?tr.length:tr?Be.error(Ae):en(Ae,lr).slice(0)}function cu(Ae){for(var We=0,ht=Ae.length,St="";We<ht;We++)St+=Ae[We].value;return St}function fu(Ae,We,ht){var St=We.dir,It=We.next,Zt=It||St,tr=ht&&Zt==="parentNode",lr=Ft++;return We.first?(function(or,on,Nr){for(;or=or[St];)if(or.nodeType===1||tr)return Ae(or,on,Nr);return!1}):(function(or,on,Nr){var Br,rn,Cr=[ft,lr];if(Nr){for(;or=or[St];)if((or.nodeType===1||tr)&&Ae(or,on,Nr))return!0}else for(;or=or[St];)if(or.nodeType===1||tr)if(rn=or[Ct]||(or[Ct]={}),It&&k(or,It))or=or[St]||or;else{if((Br=rn[Zt])&&Br[0]===ft&&Br[1]===lr)return Cr[2]=Br[2];if(rn[Zt]=Cr,Cr[2]=Ae(or,on,Nr))return!0}return!1})}function kh(Ae){return Ae.length>1?function(We,ht,St){for(var It=Ae.length;It--;)if(!Ae[It](We,ht,St))return!1;return!0}:Ae[0]}function Wf(Ae,We,ht){for(var St=0,It=We.length;St<It;St++)Be(Ae,We[St],ht);return ht}function Gf(Ae,We,ht,St,It){for(var Zt,tr=[],lr=0,or=Ae.length,on=We!=null;lr<or;lr++)(Zt=Ae[lr])&&(!ht||ht(Zt,St,It))&&(tr.push(Zt),on&&We.push(lr));return tr}function Yf(Ae,We,ht,St,It,Zt){return St&&!St[Ct]&&(St=Yf(St)),It&&!It[Ct]&&(It=Yf(It,Zt)),xt(function(tr,lr,or,on){var Nr,Br,rn,Cr,ti=[],Yi=[],ta=lr.length,ya=tr||Wf(We||"*",or.nodeType?[or]:or,[]),bo=Ae&&(tr||!We)?Gf(ya,ti,Ae,or,on):ya;if(ht?(Cr=It||(tr?Ae:ta||St)?[]:lr,ht(bo,Cr,or,on)):Cr=bo,St)for(Nr=Gf(Cr,Yi),St(Nr,[],or,on),Br=Nr.length;Br--;)(rn=Nr[Br])&&(Cr[Yi[Br]]=!(bo[Yi[Br]]=rn));if(tr){if(It||Ae){if(It){for(Nr=[],Br=Cr.length;Br--;)(rn=Cr[Br])&&Nr.push(bo[Br]=rn);It(null,Cr=[],Nr,on)}for(Br=Cr.length;Br--;)(rn=Cr[Br])&&(Nr=It?l.call(tr,rn):ti[Br])>-1&&(tr[Nr]=!(lr[Nr]=rn))}}else Cr=Gf(Cr===lr?Cr.splice(ta,Cr.length):Cr),It?It(null,lr,Cr,on):le.apply(lr,Cr)})}function Ec(Ae){for(var We,ht,St,It=Ae.length,Zt=x.relative[Ae[0].type],tr=Zt||x.relative[" "],lr=Zt?1:0,or=fu(function(Br){return Br===We},tr,!0),on=fu(function(Br){return l.call(We,Br)>-1},tr,!0),Nr=[function(Br,rn,Cr){var ti=!Zt&&(Cr||rn!=M)||((We=rn).nodeType?or(Br,rn,Cr):on(Br,rn,Cr));return We=null,ti}];lr<It;lr++)if(ht=x.relative[Ae[lr].type])Nr=[fu(kh(Nr),ht)];else{if(ht=x.filter[Ae[lr].type].apply(null,Ae[lr].matches),ht[Ct]){for(St=++lr;St<It&&!x.relative[Ae[St].type];St++);return Yf(lr>1&&kh(Nr),lr>1&&cu(Ae.slice(0,lr-1).concat({value:Ae[lr-2].type===" "?"*":""})).replace(X,"$1"),ht,lr<St&&Ec(Ae.slice(lr,St)),St<It&&Ec(Ae=Ae.slice(St)),St<It&&cu(Ae))}Nr.push(ht)}return kh(Nr)}function Nh(Ae,We){var ht=We.length>0,St=Ae.length>0,It=function(Zt,tr,lr,or,on){var Nr,Br,rn,Cr=0,ti="0",Yi=Zt&&[],ta=[],ya=M,bo=Zt||St&&x.find.TAG("*",on),$u=ft+=ya==null?1:Math.random()||.1,ra=bo.length;for(on&&(M=tr==he||tr||on);ti!==ra&&(Nr=bo[ti])!=null;ti++){if(St&&Nr){for(Br=0,!tr&&Nr.ownerDocument!=he&&(Qo(Nr),lr=!ke);rn=Ae[Br++];)if(rn(Nr,tr||he,lr)){le.call(or,Nr);break}on&&(ft=$u)}ht&&((Nr=!rn&&Nr)&&Cr--,Zt&&Yi.push(Nr))}if(Cr+=ti,ht&&ti!==Cr){for(Br=0;rn=We[Br++];)rn(Yi,ta,tr,lr);if(Zt){if(Cr>0)for(;ti--;)Yi[ti]||ta[ti]||(ta[ti]=q.call(or));ta=Gf(ta)}le.apply(or,ta),on&&!Zt&&ta.length>0&&Cr+We.length>1&&m.uniqueSort(or)}return on&&(ft=$u,M=ya),Yi};return ht?xt(It):It}function Kf(Ae,We){var ht,St=[],It=[],Zt=Ur[Ae+" "];if(!Zt){for(We||(We=bl(Ae)),ht=We.length;ht--;)Zt=Ec(We[ht]),Zt[Ct]?St.push(Zt):It.push(Zt);Zt=Ur(Ae,Nh(It,St)),Zt.selector=Ae}return Zt}function Lh(Ae,We,ht,St){var It,Zt,tr,lr,or,on=typeof Ae=="function"&&Ae,Nr=!St&&bl(Ae=on.selector||Ae);if(ht=ht||[],Nr.length===1){if(Zt=Nr[0]=Nr[0].slice(0),Zt.length>2&&(tr=Zt[0]).type==="ID"&&We.nodeType===9&&ke&&x.relative[Zt[1].type]){if(We=(x.find.ID(tr.matches[0].replace(oo,ie),We)||[])[0],We)on&&(We=We.parentNode);else return ht;Ae=Ae.slice(Zt.shift().value.length)}for(It=xr.needsContext.test(Ae)?0:Zt.length;It--&&(tr=Zt[It],!x.relative[lr=tr.type]);)if((or=x.find[lr])&&(St=or(tr.matches[0].replace(oo,ie),Sc.test(Zt[0].type)&&wl(We.parentNode)||We))){if(Zt.splice(It,1),Ae=St.length&&cu(Zt),!Ae)return le.apply(ht,St),ht;break}}return(on||Kf(Ae,Nr))(St,We,!ke,ht,!We||Sc.test(Ae)&&wl(We.parentNode)||We),ht}S.sortStable=Ct.split("").sort(hi).join("")===Ct,Qo(),S.sortDetached=Kt(function(Ae){return Ae.compareDocumentPosition(he.createElement("fieldset"))&1}),m.find=Be,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,Be.compile=Kf,Be.select=Lh,Be.setDocument=Qo,Be.tokenize=bl,Be.escape=m.escapeSelector,Be.getText=m.text,Be.isXML=m.isXMLDoc,Be.selectors=m.expr,Be.support=m.support,Be.uniqueSort=m.uniqueSort})();var N=function(_,x,M){for(var Y=[],ae=M!==void 0;(_=_[x])&&_.nodeType!==9;)if(_.nodeType===1){if(ae&&m(_).is(M))break;Y.push(_)}return Y},U=function(_,x){for(var M=[];_;_=_.nextSibling)_.nodeType===1&&_!==x&&M.push(_);return M},ee=m.expr.match.needsContext,te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function de(_,x,M){return E(x)?m.grep(_,function(Y,ae){return!!x.call(Y,ae,Y)!==M}):x.nodeType?m.grep(_,function(Y){return Y===x!==M}):typeof x!="string"?m.grep(_,function(Y){return l.call(x,Y)>-1!==M}):m.filter(x,_,M)}m.filter=function(_,x,M){var Y=x[0];return M&&(_=":not("+_+")"),x.length===1&&Y.nodeType===1?m.find.matchesSelector(Y,_)?[Y]:[]:m.find.matches(_,m.grep(x,function(ae){return ae.nodeType===1}))},m.fn.extend({find:function(_){var x,M,Y=this.length,ae=this;if(typeof _!="string")return this.pushStack(m(_).filter(function(){for(x=0;x<Y;x++)if(m.contains(ae[x],this))return!0}));for(M=this.pushStack([]),x=0;x<Y;x++)m.find(_,ae[x],M);return Y>1?m.uniqueSort(M):M},filter:function(_){return this.pushStack(de(this,_||[],!1))},not:function(_){return this.pushStack(de(this,_||[],!0))},is:function(_){return!!de(this,typeof _=="string"&&ee.test(_)?m(_):_||[],!1).length}});var Se,xe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ue=m.fn.init=function(_,x,M){var Y,ae;if(!_)return this;if(M=M||Se,typeof _=="string")if(_[0]==="<"&&_[_.length-1]===">"&&_.length>=3?Y=[null,_,null]:Y=xe.exec(_),Y&&(Y[1]||!x))if(Y[1]){if(x=x instanceof m?x[0]:x,m.merge(this,m.parseHTML(Y[1],x&&x.nodeType?x.ownerDocument||x:w,!0)),te.test(Y[1])&&m.isPlainObject(x))for(Y in x)E(this[Y])?this[Y](x[Y]):this.attr(Y,x[Y]);return this}else return ae=w.getElementById(Y[2]),ae&&(this[0]=ae,this.length=1),this;else return!x||x.jquery?(x||M).find(_):this.constructor(x).find(_);else{if(_.nodeType)return this[0]=_,this.length=1,this;if(E(_))return M.ready!==void 0?M.ready(_):_(m)}return m.makeArray(_,this)};ue.prototype=m.fn,Se=m(w);var I=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(_){var x=m(_,this),M=x.length;return this.filter(function(){for(var Y=0;Y<M;Y++)if(m.contains(this,x[Y]))return!0})},closest:function(_,x){var M,Y=0,ae=this.length,le=[],he=typeof _!="string"&&m(_);if(!ee.test(_)){for(;Y<ae;Y++)for(M=this[Y];M&&M!==x;M=M.parentNode)if(M.nodeType<11&&(he?he.index(M)>-1:M.nodeType===1&&m.find.matchesSelector(M,_))){le.push(M);break}}return this.pushStack(le.length>1?m.uniqueSort(le):le)},index:function(_){return _?typeof _=="string"?l.call(m(_),this[0]):l.call(this,_.jquery?_[0]:_):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(_,x){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(_,x))))},addBack:function(_){return this.add(_==null?this.prevObject:this.prevObject.filter(_))}});function B(_,x){for(;(_=_[x])&&_.nodeType!==1;);return _}m.each({parent:function(_){var x=_.parentNode;return x&&x.nodeType!==11?x:null},parents:function(_){return N(_,"parentNode")},parentsUntil:function(_,x,M){return N(_,"parentNode",M)},next:function(_){return B(_,"nextSibling")},prev:function(_){return B(_,"previousSibling")},nextAll:function(_){return N(_,"nextSibling")},prevAll:function(_){return N(_,"previousSibling")},nextUntil:function(_,x,M){return N(_,"nextSibling",M)},prevUntil:function(_,x,M){return N(_,"previousSibling",M)},siblings:function(_){return U((_.parentNode||{}).firstChild,_)},children:function(_){return U(_.firstChild)},contents:function(_){return _.contentDocument!=null&&i(_.contentDocument)?_.contentDocument:(k(_,"template")&&(_=_.content||_),m.merge([],_.childNodes))}},function(_,x){m.fn[_]=function(M,Y){var ae=m.map(this,x,M);return _.slice(-5)!=="Until"&&(Y=M),Y&&typeof Y=="string"&&(ae=m.filter(Y,ae)),this.length>1&&(P[_]||m.uniqueSort(ae),I.test(_)&&ae.reverse()),this.pushStack(ae)}});var L=/[^\x20\t\r\n\f]+/g;function H(_){var x={};return m.each(_.match(L)||[],function(M,Y){x[Y]=!0}),x}m.Callbacks=function(_){_=typeof _=="string"?H(_):m.extend({},_);var x,M,Y,ae,le=[],he=[],Fe=-1,ke=function(){for(ae=ae||_.once,Y=x=!0;he.length;Fe=-1)for(M=he.shift();++Fe<le.length;)le[Fe].apply(M[0],M[1])===!1&&_.stopOnFalse&&(Fe=le.length,M=!1);_.memory||(M=!1),x=!1,ae&&(M?le=[]:le="")},Ye={add:function(){return le&&(M&&!x&&(Fe=le.length-1,he.push(M)),(function Et(Ct){m.each(Ct,function(ft,Ft){E(Ft)?(!_.unique||!Ye.has(Ft))&&le.push(Ft):Ft&&Ft.length&&R(Ft)!=="string"&&Et(Ft)})})(arguments),M&&!x&&ke()),this},remove:function(){return m.each(arguments,function(Et,Ct){for(var ft;(ft=m.inArray(Ct,le,ft))>-1;)le.splice(ft,1),ft<=Fe&&Fe--}),this},has:function(Et){return Et?m.inArray(Et,le)>-1:le.length>0},empty:function(){return le&&(le=[]),this},disable:function(){return ae=he=[],le=M="",this},disabled:function(){return!le},lock:function(){return ae=he=[],!M&&!x&&(le=M=""),this},locked:function(){return!!ae},fireWith:function(Et,Ct){return ae||(Ct=Ct||[],Ct=[Et,Ct.slice?Ct.slice():Ct],he.push(Ct),x||ke()),this},fire:function(){return Ye.fireWith(this,arguments),this},fired:function(){return!!Y}};return Ye};function ne(_){return _}function ce(_){throw _}function we(_,x,M,Y){var ae;try{_&&E(ae=_.promise)?ae.call(_).done(x).fail(M):_&&E(ae=_.then)?ae.call(_,x,M):x.apply(void 0,[_].slice(Y))}catch(le){M.apply(void 0,[le])}}m.extend({Deferred:function(_){var x=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],M="pending",Y={state:function(){return M},always:function(){return ae.done(arguments).fail(arguments),this},catch:function(le){return Y.then(null,le)},pipe:function(){var le=arguments;return m.Deferred(function(he){m.each(x,function(Fe,ke){var Ye=E(le[ke[4]])&&le[ke[4]];ae[ke[1]](function(){var Et=Ye&&Ye.apply(this,arguments);Et&&E(Et.promise)?Et.promise().progress(he.notify).done(he.resolve).fail(he.reject):he[ke[0]+"With"](this,Ye?[Et]:arguments)})}),le=null}).promise()},then:function(le,he,Fe){var ke=0;function Ye(Et,Ct,ft,Ft){return function(){var Rr=this,en=arguments,Ur=function(){var hi,G;if(!(Et<ke)){if(hi=ft.apply(Rr,en),hi===Ct.promise())throw new TypeError("Thenable self-resolution");G=hi&&(typeof hi=="object"||typeof hi=="function")&&hi.then,E(G)?Ft?G.call(hi,Ye(ke,Ct,ne,Ft),Ye(ke,Ct,ce,Ft)):(ke++,G.call(hi,Ye(ke,Ct,ne,Ft),Ye(ke,Ct,ce,Ft),Ye(ke,Ct,ne,Ct.notifyWith))):(ft!==ne&&(Rr=void 0,en=[hi]),(Ft||Ct.resolveWith)(Rr,en))}},Zn=Ft?Ur:function(){try{Ur()}catch(hi){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(hi,Zn.error),Et+1>=ke&&(ft!==ce&&(Rr=void 0,en=[hi]),Ct.rejectWith(Rr,en))}};Et?Zn():(m.Deferred.getErrorHook?Zn.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(Zn.error=m.Deferred.getStackHook()),t.setTimeout(Zn))}}return m.Deferred(function(Et){x[0][3].add(Ye(0,Et,E(Fe)?Fe:ne,Et.notifyWith)),x[1][3].add(Ye(0,Et,E(le)?le:ne)),x[2][3].add(Ye(0,Et,E(he)?he:ce))}).promise()},promise:function(le){return le!=null?m.extend(le,Y):Y}},ae={};return m.each(x,function(le,he){var Fe=he[2],ke=he[5];Y[he[1]]=Fe.add,ke&&Fe.add(function(){M=ke},x[3-le][2].disable,x[3-le][3].disable,x[0][2].lock,x[0][3].lock),Fe.add(he[3].fire),ae[he[0]]=function(){return ae[he[0]+"With"](this===ae?void 0:this,arguments),this},ae[he[0]+"With"]=Fe.fireWith}),Y.promise(ae),_&&_.call(ae,ae),ae},when:function(_){var x=arguments.length,M=x,Y=Array(M),ae=a.call(arguments),le=m.Deferred(),he=function(Fe){return function(ke){Y[Fe]=this,ae[Fe]=arguments.length>1?a.call(arguments):ke,--x||le.resolveWith(Y,ae)}};if(x<=1&&(we(_,le.done(he(M)).resolve,le.reject,!x),le.state()==="pending"||E(ae[M]&&ae[M].then)))return le.then();for(;M--;)we(ae[M],he(M),le.reject);return le.promise()}});var _e=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(_,x){t.console&&t.console.warn&&_&&_e.test(_.name)&&t.console.warn("jQuery.Deferred exception: "+_.message,_.stack,x)},m.readyException=function(_){t.setTimeout(function(){throw _})};var Oe=m.Deferred();m.fn.ready=function(_){return Oe.then(_).catch(function(x){m.readyException(x)}),this},m.extend({isReady:!1,readyWait:1,ready:function(_){(_===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(_!==!0&&--m.readyWait>0)&&Oe.resolveWith(w,[m]))}}),m.ready.then=Oe.then;function Re(){w.removeEventListener("DOMContentLoaded",Re),t.removeEventListener("load",Re),m.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(m.ready):(w.addEventListener("DOMContentLoaded",Re),t.addEventListener("load",Re));var Ie=function(_,x,M,Y,ae,le,he){var Fe=0,ke=_.length,Ye=M==null;if(R(M)==="object"){ae=!0;for(Fe in M)Ie(_,x,Fe,M[Fe],!0,le,he)}else if(Y!==void 0&&(ae=!0,E(Y)||(he=!0),Ye&&(he?(x.call(_,Y),x=null):(Ye=x,x=function(Et,Ct,ft){return Ye.call(m(Et),ft)})),x))for(;Fe<ke;Fe++)x(_[Fe],M,he?Y:Y.call(_[Fe],Fe,x(_[Fe],M)));return ae?_:Ye?x.call(_):ke?x(_[0],M):le},$e=/^-ms-/,me=/-([a-z])/g;function be(_,x){return x.toUpperCase()}function Te(_){return _.replace($e,"ms-").replace(me,be)}var Ne=function(_){return _.nodeType===1||_.nodeType===9||!+_.nodeType};function Ve(){this.expando=m.expando+Ve.uid++}Ve.uid=1,Ve.prototype={cache:function(_){var x=_[this.expando];return x||(x={},Ne(_)&&(_.nodeType?_[this.expando]=x:Object.defineProperty(_,this.expando,{value:x,configurable:!0}))),x},set:function(_,x,M){var Y,ae=this.cache(_);if(typeof x=="string")ae[Te(x)]=M;else for(Y in x)ae[Te(Y)]=x[Y];return ae},get:function(_,x){return x===void 0?this.cache(_):_[this.expando]&&_[this.expando][Te(x)]},access:function(_,x,M){return x===void 0||x&&typeof x=="string"&&M===void 0?this.get(_,x):(this.set(_,x,M),M!==void 0?M:x)},remove:function(_,x){var M,Y=_[this.expando];if(Y!==void 0){if(x!==void 0)for(Array.isArray(x)?x=x.map(Te):(x=Te(x),x=x in Y?[x]:x.match(L)||[]),M=x.length;M--;)delete Y[x[M]];(x===void 0||m.isEmptyObject(Y))&&(_.nodeType?_[this.expando]=void 0:delete _[this.expando])}},hasData:function(_){var x=_[this.expando];return x!==void 0&&!m.isEmptyObject(x)}};var qe=new Ve,Ge=new Ve,ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ut=/[A-Z]/g;function Wt(_){return _==="true"?!0:_==="false"?!1:_==="null"?null:_===+_+""?+_:ct.test(_)?JSON.parse(_):_}function Je(_,x,M){var Y;if(M===void 0&&_.nodeType===1)if(Y="data-"+x.replace(Ut,"-$&").toLowerCase(),M=_.getAttribute(Y),typeof M=="string"){try{M=Wt(M)}catch{}Ge.set(_,x,M)}else M=void 0;return M}m.extend({hasData:function(_){return Ge.hasData(_)||qe.hasData(_)},data:function(_,x,M){return Ge.access(_,x,M)},removeData:function(_,x){Ge.remove(_,x)},_data:function(_,x,M){return qe.access(_,x,M)},_removeData:function(_,x){qe.remove(_,x)}}),m.fn.extend({data:function(_,x){var M,Y,ae,le=this[0],he=le&&le.attributes;if(_===void 0){if(this.length&&(ae=Ge.get(le),le.nodeType===1&&!qe.get(le,"hasDataAttrs"))){for(M=he.length;M--;)he[M]&&(Y=he[M].name,Y.indexOf("data-")===0&&(Y=Te(Y.slice(5)),Je(le,Y,ae[Y])));qe.set(le,"hasDataAttrs",!0)}return ae}return typeof _=="object"?this.each(function(){Ge.set(this,_)}):Ie(this,function(Fe){var ke;if(le&&Fe===void 0)return ke=Ge.get(le,_),ke!==void 0||(ke=Je(le,_),ke!==void 0)?ke:void 0;this.each(function(){Ge.set(this,_,Fe)})},null,x,arguments.length>1,null,!0)},removeData:function(_){return this.each(function(){Ge.remove(this,_)})}}),m.extend({queue:function(_,x,M){var Y;if(_)return x=(x||"fx")+"queue",Y=qe.get(_,x),M&&(!Y||Array.isArray(M)?Y=qe.access(_,x,m.makeArray(M)):Y.push(M)),Y||[]},dequeue:function(_,x){x=x||"fx";var M=m.queue(_,x),Y=M.length,ae=M.shift(),le=m._queueHooks(_,x),he=function(){m.dequeue(_,x)};ae==="inprogress"&&(ae=M.shift(),Y--),ae&&(x==="fx"&&M.unshift("inprogress"),delete le.stop,ae.call(_,he,le)),!Y&&le&&le.empty.fire()},_queueHooks:function(_,x){var M=x+"queueHooks";return qe.get(_,M)||qe.access(_,M,{empty:m.Callbacks("once memory").add(function(){qe.remove(_,[x+"queue",M])})})}}),m.fn.extend({queue:function(_,x){var M=2;return typeof _!="string"&&(x=_,_="fx",M--),arguments.length<M?m.queue(this[0],_):x===void 0?this:this.each(function(){var Y=m.queue(this,_,x);m._queueHooks(this,_),_==="fx"&&Y[0]!=="inprogress"&&m.dequeue(this,_)})},dequeue:function(_){return this.each(function(){m.dequeue(this,_)})},clearQueue:function(_){return this.queue(_||"fx",[])},promise:function(_,x){var M,Y=1,ae=m.Deferred(),le=this,he=this.length,Fe=function(){--Y||ae.resolveWith(le,[le])};for(typeof _!="string"&&(x=_,_=void 0),_=_||"fx";he--;)M=qe.get(le[he],_+"queueHooks"),M&&M.empty&&(Y++,M.empty.add(Fe));return Fe(),ae.promise(x)}});var Rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_t=new RegExp("^(?:([+-])=|)("+Rt+")([a-z%]*)$","i"),st=["Top","Right","Bottom","Left"],rt=w.documentElement,dt=function(_){return m.contains(_.ownerDocument,_)},Yt={composed:!0};rt.getRootNode&&(dt=function(_){return m.contains(_.ownerDocument,_)||_.getRootNode(Yt)===_.ownerDocument});var Lt=function(_,x){return _=x||_,_.style.display==="none"||_.style.display===""&&dt(_)&&m.css(_,"display")==="none"};function Ce(_,x,M,Y){var ae,le,he=20,Fe=Y?function(){return Y.cur()}:function(){return m.css(_,x,"")},ke=Fe(),Ye=M&&M[3]||(m.cssNumber[x]?"":"px"),Et=_.nodeType&&(m.cssNumber[x]||Ye!=="px"&&+ke)&&_t.exec(m.css(_,x));if(Et&&Et[3]!==Ye){for(ke=ke/2,Ye=Ye||Et[3],Et=+ke||1;he--;)m.style(_,x,Et+Ye),(1-le)*(1-(le=Fe()/ke||.5))<=0&&(he=0),Et=Et/le;Et=Et*2,m.style(_,x,Et+Ye),M=M||[]}return M&&(Et=+Et||+ke||0,ae=M[1]?Et+(M[1]+1)*M[2]:+M[2],Y&&(Y.unit=Ye,Y.start=Et,Y.end=ae)),ae}var Ze={};function ut(_){var x,M=_.ownerDocument,Y=_.nodeName,ae=Ze[Y];return ae||(x=M.body.appendChild(M.createElement(Y)),ae=m.css(x,"display"),x.parentNode.removeChild(x),ae==="none"&&(ae="block"),Ze[Y]=ae,ae)}function wt(_,x){for(var M,Y,ae=[],le=0,he=_.length;le<he;le++)Y=_[le],Y.style&&(M=Y.style.display,x?(M==="none"&&(ae[le]=qe.get(Y,"display")||null,ae[le]||(Y.style.display="")),Y.style.display===""&&Lt(Y)&&(ae[le]=ut(Y))):M!=="none"&&(ae[le]="none",qe.set(Y,"display",M)));for(le=0;le<he;le++)ae[le]!=null&&(_[le].style.display=ae[le]);return _}m.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(_){return typeof _=="boolean"?_?this.show():this.hide():this.each(function(){Lt(this)?m(this).show():m(this).hide()})}});var Nt=/^(?:checkbox|radio)$/i,nr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var _=w.createDocumentFragment(),x=_.appendChild(w.createElement("div")),M=w.createElement("input");M.setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),x.appendChild(M),S.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked,x.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!x.cloneNode(!0).lastChild.defaultValue,x.innerHTML="<option></option>",S.option=!!x.lastChild})();var ir={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ir.tbody=ir.tfoot=ir.colgroup=ir.caption=ir.thead,ir.th=ir.td,S.option||(ir.optgroup=ir.option=[1,"<select multiple='multiple'>","</select>"]);function Sr(_,x){var M;return typeof _.getElementsByTagName<"u"?M=_.getElementsByTagName(x||"*"):typeof _.querySelectorAll<"u"?M=_.querySelectorAll(x||"*"):M=[],x===void 0||x&&k(_,x)?m.merge([_],M):M}function jr(_,x){for(var M=0,Y=_.length;M<Y;M++)qe.set(_[M],"globalEval",!x||qe.get(x[M],"globalEval"))}var Wr=/<|&#?\w+;/;function Hn(_,x,M,Y,ae){for(var le,he,Fe,ke,Ye,Et,Ct=x.createDocumentFragment(),ft=[],Ft=0,Rr=_.length;Ft<Rr;Ft++)if(le=_[Ft],le||le===0)if(R(le)==="object")m.merge(ft,le.nodeType?[le]:le);else if(!Wr.test(le))ft.push(x.createTextNode(le));else{for(he=he||Ct.appendChild(x.createElement("div")),Fe=(nr.exec(le)||["",""])[1].toLowerCase(),ke=ir[Fe]||ir._default,he.innerHTML=ke[1]+m.htmlPrefilter(le)+ke[2],Et=ke[0];Et--;)he=he.lastChild;m.merge(ft,he.childNodes),he=Ct.firstChild,he.textContent=""}for(Ct.textContent="",Ft=0;le=ft[Ft++];){if(Y&&m.inArray(le,Y)>-1){ae&&ae.push(le);continue}if(Ye=dt(le),he=Sr(Ct.appendChild(le),"script"),Ye&&jr(he),M)for(Et=0;le=he[Et++];)mr.test(le.type||"")&&M.push(le)}return Ct}var zn=/^([^.]*)(?:\.(.+)|)/;function Jn(){return!0}function bn(){return!1}function ai(_,x,M,Y,ae,le){var he,Fe;if(typeof x=="object"){typeof M!="string"&&(Y=Y||M,M=void 0);for(Fe in x)ai(_,Fe,M,Y,x[Fe],le);return _}if(Y==null&&ae==null?(ae=M,Y=M=void 0):ae==null&&(typeof M=="string"?(ae=Y,Y=void 0):(ae=Y,Y=M,M=void 0)),ae===!1)ae=bn;else if(!ae)return _;return le===1&&(he=ae,ae=function(ke){return m().off(ke),he.apply(this,arguments)},ae.guid=he.guid||(he.guid=m.guid++)),_.each(function(){m.event.add(this,x,ae,Y,M)})}m.event={global:{},add:function(_,x,M,Y,ae){var le,he,Fe,ke,Ye,Et,Ct,ft,Ft,Rr,en,Ur=qe.get(_);if(Ne(_))for(M.handler&&(le=M,M=le.handler,ae=le.selector),ae&&m.find.matchesSelector(rt,ae),M.guid||(M.guid=m.guid++),(ke=Ur.events)||(ke=Ur.events=Object.create(null)),(he=Ur.handle)||(he=Ur.handle=function(Zn){return typeof m<"u"&&m.event.triggered!==Zn.type?m.event.dispatch.apply(_,arguments):void 0}),x=(x||"").match(L)||[""],Ye=x.length;Ye--;)Fe=zn.exec(x[Ye])||[],Ft=en=Fe[1],Rr=(Fe[2]||"").split(".").sort(),Ft&&(Ct=m.event.special[Ft]||{},Ft=(ae?Ct.delegateType:Ct.bindType)||Ft,Ct=m.event.special[Ft]||{},Et=m.extend({type:Ft,origType:en,data:Y,handler:M,guid:M.guid,selector:ae,needsContext:ae&&m.expr.match.needsContext.test(ae),namespace:Rr.join(".")},le),(ft=ke[Ft])||(ft=ke[Ft]=[],ft.delegateCount=0,(!Ct.setup||Ct.setup.call(_,Y,Rr,he)===!1)&&_.addEventListener&&_.addEventListener(Ft,he)),Ct.add&&(Ct.add.call(_,Et),Et.handler.guid||(Et.handler.guid=M.guid)),ae?ft.splice(ft.delegateCount++,0,Et):ft.push(Et),m.event.global[Ft]=!0)},remove:function(_,x,M,Y,ae){var le,he,Fe,ke,Ye,Et,Ct,ft,Ft,Rr,en,Ur=qe.hasData(_)&&qe.get(_);if(!(!Ur||!(ke=Ur.events))){for(x=(x||"").match(L)||[""],Ye=x.length;Ye--;){if(Fe=zn.exec(x[Ye])||[],Ft=en=Fe[1],Rr=(Fe[2]||"").split(".").sort(),!Ft){for(Ft in ke)m.event.remove(_,Ft+x[Ye],M,Y,!0);continue}for(Ct=m.event.special[Ft]||{},Ft=(Y?Ct.delegateType:Ct.bindType)||Ft,ft=ke[Ft]||[],Fe=Fe[2]&&new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"),he=le=ft.length;le--;)Et=ft[le],(ae||en===Et.origType)&&(!M||M.guid===Et.guid)&&(!Fe||Fe.test(Et.namespace))&&(!Y||Y===Et.selector||Y==="**"&&Et.selector)&&(ft.splice(le,1),Et.selector&&ft.delegateCount--,Ct.remove&&Ct.remove.call(_,Et));he&&!ft.length&&((!Ct.teardown||Ct.teardown.call(_,Rr,Ur.handle)===!1)&&m.removeEvent(_,Ft,Ur.handle),delete ke[Ft])}m.isEmptyObject(ke)&&qe.remove(_,"handle events")}},dispatch:function(_){var x,M,Y,ae,le,he,Fe=new Array(arguments.length),ke=m.event.fix(_),Ye=(qe.get(this,"events")||Object.create(null))[ke.type]||[],Et=m.event.special[ke.type]||{};for(Fe[0]=ke,x=1;x<arguments.length;x++)Fe[x]=arguments[x];if(ke.delegateTarget=this,!(Et.preDispatch&&Et.preDispatch.call(this,ke)===!1)){for(he=m.event.handlers.call(this,ke,Ye),x=0;(ae=he[x++])&&!ke.isPropagationStopped();)for(ke.currentTarget=ae.elem,M=0;(le=ae.handlers[M++])&&!ke.isImmediatePropagationStopped();)(!ke.rnamespace||le.namespace===!1||ke.rnamespace.test(le.namespace))&&(ke.handleObj=le,ke.data=le.data,Y=((m.event.special[le.origType]||{}).handle||le.handler).apply(ae.elem,Fe),Y!==void 0&&(ke.result=Y)===!1&&(ke.preventDefault(),ke.stopPropagation()));return Et.postDispatch&&Et.postDispatch.call(this,ke),ke.result}},handlers:function(_,x){var M,Y,ae,le,he,Fe=[],ke=x.delegateCount,Ye=_.target;if(ke&&Ye.nodeType&&!(_.type==="click"&&_.button>=1)){for(;Ye!==this;Ye=Ye.parentNode||this)if(Ye.nodeType===1&&!(_.type==="click"&&Ye.disabled===!0)){for(le=[],he={},M=0;M<ke;M++)Y=x[M],ae=Y.selector+" ",he[ae]===void 0&&(he[ae]=Y.needsContext?m(ae,this).index(Ye)>-1:m.find(ae,this,null,[Ye]).length),he[ae]&&le.push(Y);le.length&&Fe.push({elem:Ye,handlers:le})}}return Ye=this,ke<x.length&&Fe.push({elem:Ye,handlers:x.slice(ke)}),Fe},addProp:function(_,x){Object.defineProperty(m.Event.prototype,_,{enumerable:!0,configurable:!0,get:E(x)?function(){if(this.originalEvent)return x(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[_]},set:function(M){Object.defineProperty(this,_,{enumerable:!0,configurable:!0,writable:!0,value:M})}})},fix:function(_){return _[m.expando]?_:new m.Event(_)},special:{load:{noBubble:!0},click:{setup:function(_){var x=this||_;return Nt.test(x.type)&&x.click&&k(x,"input")&&fi(x,"click",!0),!1},trigger:function(_){var x=this||_;return Nt.test(x.type)&&x.click&&k(x,"input")&&fi(x,"click"),!0},_default:function(_){var x=_.target;return Nt.test(x.type)&&x.click&&k(x,"input")&&qe.get(x,"click")||k(x,"a")}},beforeunload:{postDispatch:function(_){_.result!==void 0&&_.originalEvent&&(_.originalEvent.returnValue=_.result)}}}};function fi(_,x,M){if(!M){qe.get(_,x)===void 0&&m.event.add(_,x,Jn);return}qe.set(_,x,!1),m.event.add(_,x,{namespace:!1,handler:function(Y){var ae,le=qe.get(this,x);if(Y.isTrigger&1&&this[x]){if(le)(m.event.special[x]||{}).delegateType&&Y.stopPropagation();else if(le=a.call(arguments),qe.set(this,x,le),this[x](),ae=qe.get(this,x),qe.set(this,x,!1),le!==ae)return Y.stopImmediatePropagation(),Y.preventDefault(),ae}else le&&(qe.set(this,x,m.event.trigger(le[0],le.slice(1),this)),Y.stopPropagation(),Y.isImmediatePropagationStopped=Jn)}})}m.removeEvent=function(_,x,M){_.removeEventListener&&_.removeEventListener(x,M)},m.Event=function(_,x){if(!(this instanceof m.Event))return new m.Event(_,x);_&&_.type?(this.originalEvent=_,this.type=_.type,this.isDefaultPrevented=_.defaultPrevented||_.defaultPrevented===void 0&&_.returnValue===!1?Jn:bn,this.target=_.target&&_.target.nodeType===3?_.target.parentNode:_.target,this.currentTarget=_.currentTarget,this.relatedTarget=_.relatedTarget):this.type=_,x&&m.extend(this,x),this.timeStamp=_&&_.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:bn,isPropagationStopped:bn,isImmediatePropagationStopped:bn,isSimulated:!1,preventDefault:function(){var _=this.originalEvent;this.isDefaultPrevented=Jn,_&&!this.isSimulated&&_.preventDefault()},stopPropagation:function(){var _=this.originalEvent;this.isPropagationStopped=Jn,_&&!this.isSimulated&&_.stopPropagation()},stopImmediatePropagation:function(){var _=this.originalEvent;this.isImmediatePropagationStopped=Jn,_&&!this.isSimulated&&_.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(_,x){function M(Y){if(w.documentMode){var ae=qe.get(this,"handle"),le=m.event.fix(Y);le.type=Y.type==="focusin"?"focus":"blur",le.isSimulated=!0,ae(Y),le.target===le.currentTarget&&ae(le)}else m.event.simulate(x,Y.target,m.event.fix(Y))}m.event.special[_]={setup:function(){var Y;if(fi(this,_,!0),w.documentMode)Y=qe.get(this,x),Y||this.addEventListener(x,M),qe.set(this,x,(Y||0)+1);else return!1},trigger:function(){return fi(this,_),!0},teardown:function(){var Y;if(w.documentMode)Y=qe.get(this,x)-1,Y?qe.set(this,x,Y):(this.removeEventListener(x,M),qe.remove(this,x));else return!1},_default:function(Y){return qe.get(Y.target,_)},delegateType:x},m.event.special[x]={setup:function(){var Y=this.ownerDocument||this.document||this,ae=w.documentMode?this:Y,le=qe.get(ae,x);le||(w.documentMode?this.addEventListener(x,M):Y.addEventListener(_,M,!0)),qe.set(ae,x,(le||0)+1)},teardown:function(){var Y=this.ownerDocument||this.document||this,ae=w.documentMode?this:Y,le=qe.get(ae,x)-1;le?qe.set(ae,x,le):(w.documentMode?this.removeEventListener(x,M):Y.removeEventListener(_,M,!0),qe.remove(ae,x))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(_,x){m.event.special[_]={delegateType:x,bindType:x,handle:function(M){var Y,ae=this,le=M.relatedTarget,he=M.handleObj;return(!le||le!==ae&&!m.contains(ae,le))&&(M.type=he.origType,Y=he.handler.apply(this,arguments),M.type=x),Y}}}),m.fn.extend({on:function(_,x,M,Y){return ai(this,_,x,M,Y)},one:function(_,x,M,Y){return ai(this,_,x,M,Y,1)},off:function(_,x,M){var Y,ae;if(_&&_.preventDefault&&_.handleObj)return Y=_.handleObj,m(_.delegateTarget).off(Y.namespace?Y.origType+"."+Y.namespace:Y.origType,Y.selector,Y.handler),this;if(typeof _=="object"){for(ae in _)this.off(ae,x,_[ae]);return this}return(x===!1||typeof x=="function")&&(M=x,x=void 0),M===!1&&(M=bn),this.each(function(){m.event.remove(this,_,M,x)})}});var Ci=/<script|<style|<link/i,_i=/checked\s*(?:[^=]|=\s*.checked.)/i,Vi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Gi(_,x){return k(_,"table")&&k(x.nodeType!==11?x:x.firstChild,"tr")&&m(_).children("tbody")[0]||_}function Pn(_){return _.type=(_.getAttribute("type")!==null)+"/"+_.type,_}function oi(_){return(_.type||"").slice(0,5)==="true/"?_.type=_.type.slice(5):_.removeAttribute("type"),_}function Di(_,x){var M,Y,ae,le,he,Fe,ke;if(x.nodeType===1){if(qe.hasData(_)&&(le=qe.get(_),ke=le.events,ke)){qe.remove(x,"handle events");for(ae in ke)for(M=0,Y=ke[ae].length;M<Y;M++)m.event.add(x,ae,ke[ae][M])}Ge.hasData(_)&&(he=Ge.access(_),Fe=m.extend({},he),Ge.set(x,Fe))}}function Ai(_,x){var M=x.nodeName.toLowerCase();M==="input"&&Nt.test(_.type)?x.checked=_.checked:(M==="input"||M==="textarea")&&(x.defaultValue=_.defaultValue)}function ot(_,x,M,Y){x=o(x);var ae,le,he,Fe,ke,Ye,Et=0,Ct=_.length,ft=Ct-1,Ft=x[0],Rr=E(Ft);if(Rr||Ct>1&&typeof Ft=="string"&&!S.checkClone&&_i.test(Ft))return _.each(function(en){var Ur=_.eq(en);Rr&&(x[0]=Ft.call(this,en,Ur.html())),ot(Ur,x,M,Y)});if(Ct&&(ae=Hn(x,_[0].ownerDocument,!1,_,Y),le=ae.firstChild,ae.childNodes.length===1&&(ae=le),le||Y)){for(he=m.map(Sr(ae,"script"),Pn),Fe=he.length;Et<Ct;Et++)ke=ae,Et!==ft&&(ke=m.clone(ke,!0,!0),Fe&&m.merge(he,Sr(ke,"script"))),M.call(_[Et],ke,Et);if(Fe)for(Ye=he[he.length-1].ownerDocument,m.map(he,oi),Et=0;Et<Fe;Et++)ke=he[Et],mr.test(ke.type||"")&&!qe.access(ke,"globalEval")&&m.contains(Ye,ke)&&(ke.src&&(ke.type||"").toLowerCase()!=="module"?m._evalUrl&&!ke.noModule&&m._evalUrl(ke.src,{nonce:ke.nonce||ke.getAttribute("nonce")},Ye):A(ke.textContent.replace(Vi,""),ke,Ye))}return _}function Dt(_,x,M){for(var Y,ae=x?m.filter(x,_):_,le=0;(Y=ae[le])!=null;le++)!M&&Y.nodeType===1&&m.cleanData(Sr(Y)),Y.parentNode&&(M&&dt(Y)&&jr(Sr(Y,"script")),Y.parentNode.removeChild(Y));return _}m.extend({htmlPrefilter:function(_){return _},clone:function(_,x,M){var Y,ae,le,he,Fe=_.cloneNode(!0),ke=dt(_);if(!S.noCloneChecked&&(_.nodeType===1||_.nodeType===11)&&!m.isXMLDoc(_))for(he=Sr(Fe),le=Sr(_),Y=0,ae=le.length;Y<ae;Y++)Ai(le[Y],he[Y]);if(x)if(M)for(le=le||Sr(_),he=he||Sr(Fe),Y=0,ae=le.length;Y<ae;Y++)Di(le[Y],he[Y]);else Di(_,Fe);return he=Sr(Fe,"script"),he.length>0&&jr(he,!ke&&Sr(_,"script")),Fe},cleanData:function(_){for(var x,M,Y,ae=m.event.special,le=0;(M=_[le])!==void 0;le++)if(Ne(M)){if(x=M[qe.expando]){if(x.events)for(Y in x.events)ae[Y]?m.event.remove(M,Y):m.removeEvent(M,Y,x.handle);M[qe.expando]=void 0}M[Ge.expando]&&(M[Ge.expando]=void 0)}}}),m.fn.extend({detach:function(_){return Dt(this,_,!0)},remove:function(_){return Dt(this,_)},text:function(_){return Ie(this,function(x){return x===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=x)})},null,_,arguments.length)},append:function(){return ot(this,arguments,function(_){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=Gi(this,_);x.appendChild(_)}})},prepend:function(){return ot(this,arguments,function(_){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=Gi(this,_);x.insertBefore(_,x.firstChild)}})},before:function(){return ot(this,arguments,function(_){this.parentNode&&this.parentNode.insertBefore(_,this)})},after:function(){return ot(this,arguments,function(_){this.parentNode&&this.parentNode.insertBefore(_,this.nextSibling)})},empty:function(){for(var _,x=0;(_=this[x])!=null;x++)_.nodeType===1&&(m.cleanData(Sr(_,!1)),_.textContent="");return this},clone:function(_,x){return _=_??!1,x=x??_,this.map(function(){return m.clone(this,_,x)})},html:function(_){return Ie(this,function(x){var M=this[0]||{},Y=0,ae=this.length;if(x===void 0&&M.nodeType===1)return M.innerHTML;if(typeof x=="string"&&!Ci.test(x)&&!ir[(nr.exec(x)||["",""])[1].toLowerCase()]){x=m.htmlPrefilter(x);try{for(;Y<ae;Y++)M=this[Y]||{},M.nodeType===1&&(m.cleanData(Sr(M,!1)),M.innerHTML=x);M=0}catch{}}M&&this.empty().append(x)},null,_,arguments.length)},replaceWith:function(){var _=[];return ot(this,arguments,function(x){var M=this.parentNode;m.inArray(this,_)<0&&(m.cleanData(Sr(this)),M&&M.replaceChild(x,this))},_)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(_,x){m.fn[_]=function(M){for(var Y,ae=[],le=m(M),he=le.length-1,Fe=0;Fe<=he;Fe++)Y=Fe===he?this:this.clone(!0),m(le[Fe])[x](Y),s.apply(ae,Y.get());return this.pushStack(ae)}});var gt=new RegExp("^("+Rt+")(?!px)[a-z%]+$","i"),et=/^--/,fe=function(_){var x=_.ownerDocument.defaultView;return(!x||!x.opener)&&(x=t),x.getComputedStyle(_)},nt=function(_,x,M){var Y,ae,le={};for(ae in x)le[ae]=_.style[ae],_.style[ae]=x[ae];Y=M.call(_);for(ae in x)_.style[ae]=le[ae];return Y},ze=new RegExp(st.join("|"),"i");(function(){function _(){if(Ye){ke.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ye.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(ke).appendChild(Ye);var Et=t.getComputedStyle(Ye);M=Et.top!=="1%",Fe=x(Et.marginLeft)===12,Ye.style.right="60%",le=x(Et.right)===36,Y=x(Et.width)===36,Ye.style.position="absolute",ae=x(Ye.offsetWidth/3)===12,rt.removeChild(ke),Ye=null}}function x(Et){return Math.round(parseFloat(Et))}var M,Y,ae,le,he,Fe,ke=w.createElement("div"),Ye=w.createElement("div");Ye.style&&(Ye.style.backgroundClip="content-box",Ye.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=Ye.style.backgroundClip==="content-box",m.extend(S,{boxSizingReliable:function(){return _(),Y},pixelBoxStyles:function(){return _(),le},pixelPosition:function(){return _(),M},reliableMarginLeft:function(){return _(),Fe},scrollboxSize:function(){return _(),ae},reliableTrDimensions:function(){var Et,Ct,ft,Ft;return he==null&&(Et=w.createElement("table"),Ct=w.createElement("tr"),ft=w.createElement("div"),Et.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ct.style.cssText="box-sizing:content-box;border:1px solid",Ct.style.height="1px",ft.style.height="9px",ft.style.display="block",rt.appendChild(Et).appendChild(Ct).appendChild(ft),Ft=t.getComputedStyle(Ct),he=parseInt(Ft.height,10)+parseInt(Ft.borderTopWidth,10)+parseInt(Ft.borderBottomWidth,10)===Ct.offsetHeight,rt.removeChild(Et)),he}}))})();function Tt(_,x,M){var Y,ae,le,he,Fe=et.test(x),ke=_.style;return M=M||fe(_),M&&(he=M.getPropertyValue(x)||M[x],Fe&&he&&(he=he.replace(X,"$1")||void 0),he===""&&!dt(_)&&(he=m.style(_,x)),!S.pixelBoxStyles()&&gt.test(he)&&ze.test(x)&&(Y=ke.width,ae=ke.minWidth,le=ke.maxWidth,ke.minWidth=ke.maxWidth=ke.width=he,he=M.width,ke.width=Y,ke.minWidth=ae,ke.maxWidth=le)),he!==void 0?he+"":he}function yt(_,x){return{get:function(){if(_()){delete this.get;return}return(this.get=x).apply(this,arguments)}}}var zt=["Webkit","Moz","ms"],Xt=w.createElement("div").style,bt={};function Tr(_){for(var x=_[0].toUpperCase()+_.slice(1),M=zt.length;M--;)if(_=zt[M]+x,_ in Xt)return _}function Xr(_){var x=m.cssProps[_]||bt[_];return x||(_ in Xt?_:bt[_]=Tr(_)||_)}var Tn=/^(none|table(?!-c[ea]).+)/,kt={position:"absolute",visibility:"hidden",display:"block"},Qr={letterSpacing:"0",fontWeight:"400"};function Wn(_,x,M){var Y=_t.exec(x);return Y?Math.max(0,Y[2]-(M||0))+(Y[3]||"px"):x}function Mn(_,x,M,Y,ae,le){var he=x==="width"?1:0,Fe=0,ke=0,Ye=0;if(M===(Y?"border":"content"))return 0;for(;he<4;he+=2)M==="margin"&&(Ye+=m.css(_,M+st[he],!0,ae)),Y?(M==="content"&&(ke-=m.css(_,"padding"+st[he],!0,ae)),M!=="margin"&&(ke-=m.css(_,"border"+st[he]+"Width",!0,ae))):(ke+=m.css(_,"padding"+st[he],!0,ae),M!=="padding"?ke+=m.css(_,"border"+st[he]+"Width",!0,ae):Fe+=m.css(_,"border"+st[he]+"Width",!0,ae));return!Y&&le>=0&&(ke+=Math.max(0,Math.ceil(_["offset"+x[0].toUpperCase()+x.slice(1)]-le-ke-Fe-.5))||0),ke+Ye}function yo(_,x,M){var Y=fe(_),ae=!S.boxSizingReliable()||M,le=ae&&m.css(_,"boxSizing",!1,Y)==="border-box",he=le,Fe=Tt(_,x,Y),ke="offset"+x[0].toUpperCase()+x.slice(1);if(gt.test(Fe)){if(!M)return Fe;Fe="auto"}return(!S.boxSizingReliable()&&le||!S.reliableTrDimensions()&&k(_,"tr")||Fe==="auto"||!parseFloat(Fe)&&m.css(_,"display",!1,Y)==="inline")&&_.getClientRects().length&&(le=m.css(_,"boxSizing",!1,Y)==="border-box",he=ke in _,he&&(Fe=_[ke])),Fe=parseFloat(Fe)||0,Fe+Mn(_,x,M||(le?"border":"content"),he,Y,Fe)+"px"}m.extend({cssHooks:{opacity:{get:function(_,x){if(x){var M=Tt(_,"opacity");return M===""?"1":M}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(_,x,M,Y){if(!(!_||_.nodeType===3||_.nodeType===8||!_.style)){var ae,le,he,Fe=Te(x),ke=et.test(x),Ye=_.style;if(ke||(x=Xr(Fe)),he=m.cssHooks[x]||m.cssHooks[Fe],M!==void 0){if(le=typeof M,le==="string"&&(ae=_t.exec(M))&&ae[1]&&(M=Ce(_,x,ae),le="number"),M==null||M!==M)return;le==="number"&&!ke&&(M+=ae&&ae[3]||(m.cssNumber[Fe]?"":"px")),!S.clearCloneStyle&&M===""&&x.indexOf("background")===0&&(Ye[x]="inherit"),(!he||!("set"in he)||(M=he.set(_,M,Y))!==void 0)&&(ke?Ye.setProperty(x,M):Ye[x]=M)}else return he&&"get"in he&&(ae=he.get(_,!1,Y))!==void 0?ae:Ye[x]}},css:function(_,x,M,Y){var ae,le,he,Fe=Te(x),ke=et.test(x);return ke||(x=Xr(Fe)),he=m.cssHooks[x]||m.cssHooks[Fe],he&&"get"in he&&(ae=he.get(_,!0,M)),ae===void 0&&(ae=Tt(_,x,Y)),ae==="normal"&&x in Qr&&(ae=Qr[x]),M===""||M?(le=parseFloat(ae),M===!0||isFinite(le)?le||0:ae):ae}}),m.each(["height","width"],function(_,x){m.cssHooks[x]={get:function(M,Y,ae){if(Y)return Tn.test(m.css(M,"display"))&&(!M.getClientRects().length||!M.getBoundingClientRect().width)?nt(M,kt,function(){return yo(M,x,ae)}):yo(M,x,ae)},set:function(M,Y,ae){var le,he=fe(M),Fe=!S.scrollboxSize()&&he.position==="absolute",ke=Fe||ae,Ye=ke&&m.css(M,"boxSizing",!1,he)==="border-box",Et=ae?Mn(M,x,ae,Ye,he):0;return Ye&&Fe&&(Et-=Math.ceil(M["offset"+x[0].toUpperCase()+x.slice(1)]-parseFloat(he[x])-Mn(M,x,"border",!1,he)-.5)),Et&&(le=_t.exec(Y))&&(le[3]||"px")!=="px"&&(M.style[x]=Y,Y=m.css(M,x)),Wn(M,Y,Et)}}}),m.cssHooks.marginLeft=yt(S.reliableMarginLeft,function(_,x){if(x)return(parseFloat(Tt(_,"marginLeft"))||_.getBoundingClientRect().left-nt(_,{marginLeft:0},function(){return _.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(_,x){m.cssHooks[_+x]={expand:function(M){for(var Y=0,ae={},le=typeof M=="string"?M.split(" "):[M];Y<4;Y++)ae[_+st[Y]+x]=le[Y]||le[Y-2]||le[0];return ae}},_!=="margin"&&(m.cssHooks[_+x].set=Wn)}),m.fn.extend({css:function(_,x){return Ie(this,function(M,Y,ae){var le,he,Fe={},ke=0;if(Array.isArray(Y)){for(le=fe(M),he=Y.length;ke<he;ke++)Fe[Y[ke]]=m.css(M,Y[ke],!1,le);return Fe}return ae!==void 0?m.style(M,Y,ae):m.css(M,Y)},_,x,arguments.length>1)}});function di(_,x,M,Y,ae){return new di.prototype.init(_,x,M,Y,ae)}m.Tween=di,di.prototype={constructor:di,init:function(_,x,M,Y,ae,le){this.elem=_,this.prop=M,this.easing=ae||m.easing._default,this.options=x,this.start=this.now=this.cur(),this.end=Y,this.unit=le||(m.cssNumber[M]?"":"px")},cur:function(){var _=di.propHooks[this.prop];return _&&_.get?_.get(this):di.propHooks._default.get(this)},run:function(_){var x,M=di.propHooks[this.prop];return this.options.duration?this.pos=x=m.easing[this.easing](_,this.options.duration*_,0,1,this.options.duration):this.pos=x=_,this.now=(this.end-this.start)*x+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),M&&M.set?M.set(this):di.propHooks._default.set(this),this}},di.prototype.init.prototype=di.prototype,di.propHooks={_default:{get:function(_){var x;return _.elem.nodeType!==1||_.elem[_.prop]!=null&&_.elem.style[_.prop]==null?_.elem[_.prop]:(x=m.css(_.elem,_.prop,""),!x||x==="auto"?0:x)},set:function(_){m.fx.step[_.prop]?m.fx.step[_.prop](_):_.elem.nodeType===1&&(m.cssHooks[_.prop]||_.elem.style[Xr(_.prop)]!=null)?m.style(_.elem,_.prop,_.now+_.unit):_.elem[_.prop]=_.now}}},di.propHooks.scrollTop=di.propHooks.scrollLeft={set:function(_){_.elem.nodeType&&_.elem.parentNode&&(_.elem[_.prop]=_.now)}},m.easing={linear:function(_){return _},swing:function(_){return .5-Math.cos(_*Math.PI)/2},_default:"swing"},m.fx=di.prototype.init,m.fx.step={};var oa,sa,zo=/^(?:toggle|show|hide)$/,to=/queueHooks$/;function Ua(){sa&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Ua):t.setTimeout(Ua,m.fx.interval),m.fx.tick())}function z(){return t.setTimeout(function(){oa=void 0}),oa=Date.now()}function se(_,x){var M,Y=0,ae={height:_};for(x=x?1:0;Y<4;Y+=2-x)M=st[Y],ae["margin"+M]=ae["padding"+M]=_;return x&&(ae.opacity=ae.width=_),ae}function Ee(_,x,M){for(var Y,ae=(it.tweeners[x]||[]).concat(it.tweeners["*"]),le=0,he=ae.length;le<he;le++)if(Y=ae[le].call(M,x,_))return Y}function je(_,x,M){var Y,ae,le,he,Fe,ke,Ye,Et,Ct="width"in x||"height"in x,ft=this,Ft={},Rr=_.style,en=_.nodeType&&Lt(_),Ur=qe.get(_,"fxshow");M.queue||(he=m._queueHooks(_,"fx"),he.unqueued==null&&(he.unqueued=0,Fe=he.empty.fire,he.empty.fire=function(){he.unqueued||Fe()}),he.unqueued++,ft.always(function(){ft.always(function(){he.unqueued--,m.queue(_,"fx").length||he.empty.fire()})}));for(Y in x)if(ae=x[Y],zo.test(ae)){if(delete x[Y],le=le||ae==="toggle",ae===(en?"hide":"show"))if(ae==="show"&&Ur&&Ur[Y]!==void 0)en=!0;else continue;Ft[Y]=Ur&&Ur[Y]||m.style(_,Y)}if(ke=!m.isEmptyObject(x),!(!ke&&m.isEmptyObject(Ft))){Ct&&_.nodeType===1&&(M.overflow=[Rr.overflow,Rr.overflowX,Rr.overflowY],Ye=Ur&&Ur.display,Ye==null&&(Ye=qe.get(_,"display")),Et=m.css(_,"display"),Et==="none"&&(Ye?Et=Ye:(wt([_],!0),Ye=_.style.display||Ye,Et=m.css(_,"display"),wt([_]))),(Et==="inline"||Et==="inline-block"&&Ye!=null)&&m.css(_,"float")==="none"&&(ke||(ft.done(function(){Rr.display=Ye}),Ye==null&&(Et=Rr.display,Ye=Et==="none"?"":Et)),Rr.display="inline-block")),M.overflow&&(Rr.overflow="hidden",ft.always(function(){Rr.overflow=M.overflow[0],Rr.overflowX=M.overflow[1],Rr.overflowY=M.overflow[2]})),ke=!1;for(Y in Ft)ke||(Ur?"hidden"in Ur&&(en=Ur.hidden):Ur=qe.access(_,"fxshow",{display:Ye}),le&&(Ur.hidden=!en),en&&wt([_],!0),ft.done(function(){en||wt([_]),qe.remove(_,"fxshow");for(Y in Ft)m.style(_,Y,Ft[Y])})),ke=Ee(en?Ur[Y]:0,Y,ft),Y in Ur||(Ur[Y]=ke.start,en&&(ke.end=ke.start,ke.start=0))}}function vt(_,x){var M,Y,ae,le,he;for(M in _)if(Y=Te(M),ae=x[Y],le=_[M],Array.isArray(le)&&(ae=le[1],le=_[M]=le[0]),M!==Y&&(_[Y]=le,delete _[M]),he=m.cssHooks[Y],he&&"expand"in he){le=he.expand(le),delete _[Y];for(M in le)M in _||(_[M]=le[M],x[M]=ae)}else x[Y]=ae}function it(_,x,M){var Y,ae,le=0,he=it.prefilters.length,Fe=m.Deferred().always(function(){delete ke.elem}),ke=function(){if(ae)return!1;for(var Ct=oa||z(),ft=Math.max(0,Ye.startTime+Ye.duration-Ct),Ft=ft/Ye.duration||0,Rr=1-Ft,en=0,Ur=Ye.tweens.length;en<Ur;en++)Ye.tweens[en].run(Rr);return Fe.notifyWith(_,[Ye,Rr,ft]),Rr<1&&Ur?ft:(Ur||Fe.notifyWith(_,[Ye,1,0]),Fe.resolveWith(_,[Ye]),!1)},Ye=Fe.promise({elem:_,props:m.extend({},x),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},M),originalProperties:x,originalOptions:M,startTime:oa||z(),duration:M.duration,tweens:[],createTween:function(Ct,ft){var Ft=m.Tween(_,Ye.opts,Ct,ft,Ye.opts.specialEasing[Ct]||Ye.opts.easing);return Ye.tweens.push(Ft),Ft},stop:function(Ct){var ft=0,Ft=Ct?Ye.tweens.length:0;if(ae)return this;for(ae=!0;ft<Ft;ft++)Ye.tweens[ft].run(1);return Ct?(Fe.notifyWith(_,[Ye,1,0]),Fe.resolveWith(_,[Ye,Ct])):Fe.rejectWith(_,[Ye,Ct]),this}}),Et=Ye.props;for(vt(Et,Ye.opts.specialEasing);le<he;le++)if(Y=it.prefilters[le].call(Ye,_,Et,Ye.opts),Y)return E(Y.stop)&&(m._queueHooks(Ye.elem,Ye.opts.queue).stop=Y.stop.bind(Y)),Y;return m.map(Et,Ee,Ye),E(Ye.opts.start)&&Ye.opts.start.call(_,Ye),Ye.progress(Ye.opts.progress).done(Ye.opts.done,Ye.opts.complete).fail(Ye.opts.fail).always(Ye.opts.always),m.fx.timer(m.extend(ke,{elem:_,anim:Ye,queue:Ye.opts.queue})),Ye}m.Animation=m.extend(it,{tweeners:{"*":[function(_,x){var M=this.createTween(_,x);return Ce(M.elem,_,_t.exec(x),M),M}]},tweener:function(_,x){E(_)?(x=_,_=["*"]):_=_.match(L);for(var M,Y=0,ae=_.length;Y<ae;Y++)M=_[Y],it.tweeners[M]=it.tweeners[M]||[],it.tweeners[M].unshift(x)},prefilters:[je],prefilter:function(_,x){x?it.prefilters.unshift(_):it.prefilters.push(_)}}),m.speed=function(_,x,M){var Y=_&&typeof _=="object"?m.extend({},_):{complete:M||!M&&x||E(_)&&_,duration:_,easing:M&&x||x&&!E(x)&&x};return m.fx.off?Y.duration=0:typeof Y.duration!="number"&&(Y.duration in m.fx.speeds?Y.duration=m.fx.speeds[Y.duration]:Y.duration=m.fx.speeds._default),(Y.queue==null||Y.queue===!0)&&(Y.queue="fx"),Y.old=Y.complete,Y.complete=function(){E(Y.old)&&Y.old.call(this),Y.queue&&m.dequeue(this,Y.queue)},Y},m.fn.extend({fadeTo:function(_,x,M,Y){return this.filter(Lt).css("opacity",0).show().end().animate({opacity:x},_,M,Y)},animate:function(_,x,M,Y){var ae=m.isEmptyObject(_),le=m.speed(x,M,Y),he=function(){var Fe=it(this,m.extend({},_),le);(ae||qe.get(this,"finish"))&&Fe.stop(!0)};return he.finish=he,ae||le.queue===!1?this.each(he):this.queue(le.queue,he)},stop:function(_,x,M){var Y=function(ae){var le=ae.stop;delete ae.stop,le(M)};return typeof _!="string"&&(M=x,x=_,_=void 0),x&&this.queue(_||"fx",[]),this.each(function(){var ae=!0,le=_!=null&&_+"queueHooks",he=m.timers,Fe=qe.get(this);if(le)Fe[le]&&Fe[le].stop&&Y(Fe[le]);else for(le in Fe)Fe[le]&&Fe[le].stop&&to.test(le)&&Y(Fe[le]);for(le=he.length;le--;)he[le].elem===this&&(_==null||he[le].queue===_)&&(he[le].anim.stop(M),ae=!1,he.splice(le,1));(ae||!M)&&m.dequeue(this,_)})},finish:function(_){return _!==!1&&(_=_||"fx"),this.each(function(){var x,M=qe.get(this),Y=M[_+"queue"],ae=M[_+"queueHooks"],le=m.timers,he=Y?Y.length:0;for(M.finish=!0,m.queue(this,_,[]),ae&&ae.stop&&ae.stop.call(this,!0),x=le.length;x--;)le[x].elem===this&&le[x].queue===_&&(le[x].anim.stop(!0),le.splice(x,1));for(x=0;x<he;x++)Y[x]&&Y[x].finish&&Y[x].finish.call(this);delete M.finish})}}),m.each(["toggle","show","hide"],function(_,x){var M=m.fn[x];m.fn[x]=function(Y,ae,le){return Y==null||typeof Y=="boolean"?M.apply(this,arguments):this.animate(se(x,!0),Y,ae,le)}}),m.each({slideDown:se("show"),slideUp:se("hide"),slideToggle:se("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(_,x){m.fn[_]=function(M,Y,ae){return this.animate(x,M,Y,ae)}}),m.timers=[],m.fx.tick=function(){var _,x=0,M=m.timers;for(oa=Date.now();x<M.length;x++)_=M[x],!_()&&M[x]===_&&M.splice(x--,1);M.length||m.fx.stop(),oa=void 0},m.fx.timer=function(_){m.timers.push(_),m.fx.start()},m.fx.interval=13,m.fx.start=function(){sa||(sa=!0,Ua())},m.fx.stop=function(){sa=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(_,x){return _=m.fx&&m.fx.speeds[_]||_,x=x||"fx",this.queue(x,function(M,Y){var ae=t.setTimeout(M,_);Y.stop=function(){t.clearTimeout(ae)}})},(function(){var _=w.createElement("input"),x=w.createElement("select"),M=x.appendChild(w.createElement("option"));_.type="checkbox",S.checkOn=_.value!=="",S.optSelected=M.selected,_=w.createElement("input"),_.value="t",_.type="radio",S.radioValue=_.value==="t"})();var At,Bt=m.expr.attrHandle;m.fn.extend({attr:function(_,x){return Ie(this,m.attr,_,x,arguments.length>1)},removeAttr:function(_){return this.each(function(){m.removeAttr(this,_)})}}),m.extend({attr:function(_,x,M){var Y,ae,le=_.nodeType;if(!(le===3||le===8||le===2)){if(typeof _.getAttribute>"u")return m.prop(_,x,M);if((le!==1||!m.isXMLDoc(_))&&(ae=m.attrHooks[x.toLowerCase()]||(m.expr.match.bool.test(x)?At:void 0)),M!==void 0){if(M===null){m.removeAttr(_,x);return}return ae&&"set"in ae&&(Y=ae.set(_,M,x))!==void 0?Y:(_.setAttribute(x,M+""),M)}return ae&&"get"in ae&&(Y=ae.get(_,x))!==null?Y:(Y=m.find.attr(_,x),Y??void 0)}},attrHooks:{type:{set:function(_,x){if(!S.radioValue&&x==="radio"&&k(_,"input")){var M=_.value;return _.setAttribute("type",x),M&&(_.value=M),x}}}},removeAttr:function(_,x){var M,Y=0,ae=x&&x.match(L);if(ae&&_.nodeType===1)for(;M=ae[Y++];)_.removeAttribute(M)}}),At={set:function(_,x,M){return x===!1?m.removeAttr(_,M):_.setAttribute(M,M),M}},m.each(m.expr.match.bool.source.match(/\w+/g),function(_,x){var M=Bt[x]||m.find.attr;Bt[x]=function(Y,ae,le){var he,Fe,ke=ae.toLowerCase();return le||(Fe=Bt[ke],Bt[ke]=he,he=M(Y,ae,le)!=null?ke:null,Bt[ke]=Fe),he}});var Jt=/^(?:input|select|textarea|button)$/i,Er=/^(?:a|area)$/i;m.fn.extend({prop:function(_,x){return Ie(this,m.prop,_,x,arguments.length>1)},removeProp:function(_){return this.each(function(){delete this[m.propFix[_]||_]})}}),m.extend({prop:function(_,x,M){var Y,ae,le=_.nodeType;if(!(le===3||le===8||le===2))return(le!==1||!m.isXMLDoc(_))&&(x=m.propFix[x]||x,ae=m.propHooks[x]),M!==void 0?ae&&"set"in ae&&(Y=ae.set(_,M,x))!==void 0?Y:_[x]=M:ae&&"get"in ae&&(Y=ae.get(_,x))!==null?Y:_[x]},propHooks:{tabIndex:{get:function(_){var x=m.find.attr(_,"tabindex");return x?parseInt(x,10):Jt.test(_.nodeName)||Er.test(_.nodeName)&&_.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(m.propHooks.selected={get:function(_){var x=_.parentNode;return x&&x.parentNode&&x.parentNode.selectedIndex,null},set:function(_){var x=_.parentNode;x&&(x.selectedIndex,x.parentNode&&x.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function Ar(_){var x=_.match(L)||[];return x.join(" ")}function $n(_){return _.getAttribute&&_.getAttribute("class")||""}function ki(_){return Array.isArray(_)?_:typeof _=="string"?_.match(L)||[]:[]}m.fn.extend({addClass:function(_){var x,M,Y,ae,le,he;return E(_)?this.each(function(Fe){m(this).addClass(_.call(this,Fe,$n(this)))}):(x=ki(_),x.length?this.each(function(){if(Y=$n(this),M=this.nodeType===1&&" "+Ar(Y)+" ",M){for(le=0;le<x.length;le++)ae=x[le],M.indexOf(" "+ae+" ")<0&&(M+=ae+" ");he=Ar(M),Y!==he&&this.setAttribute("class",he)}}):this)},removeClass:function(_){var x,M,Y,ae,le,he;return E(_)?this.each(function(Fe){m(this).removeClass(_.call(this,Fe,$n(this)))}):arguments.length?(x=ki(_),x.length?this.each(function(){if(Y=$n(this),M=this.nodeType===1&&" "+Ar(Y)+" ",M){for(le=0;le<x.length;le++)for(ae=x[le];M.indexOf(" "+ae+" ")>-1;)M=M.replace(" "+ae+" "," ");he=Ar(M),Y!==he&&this.setAttribute("class",he)}}):this):this.attr("class","")},toggleClass:function(_,x){var M,Y,ae,le,he=typeof _,Fe=he==="string"||Array.isArray(_);return E(_)?this.each(function(ke){m(this).toggleClass(_.call(this,ke,$n(this),x),x)}):typeof x=="boolean"&&Fe?x?this.addClass(_):this.removeClass(_):(M=ki(_),this.each(function(){if(Fe)for(le=m(this),ae=0;ae<M.length;ae++)Y=M[ae],le.hasClass(Y)?le.removeClass(Y):le.addClass(Y);else(_===void 0||he==="boolean")&&(Y=$n(this),Y&&qe.set(this,"__className__",Y),this.setAttribute&&this.setAttribute("class",Y||_===!1?"":qe.get(this,"__className__")||""))}))},hasClass:function(_){var x,M,Y=0;for(x=" "+_+" ";M=this[Y++];)if(M.nodeType===1&&(" "+Ar($n(M))+" ").indexOf(x)>-1)return!0;return!1}});var Ni=/\r/g;m.fn.extend({val:function(_){var x,M,Y,ae=this[0];return arguments.length?(Y=E(_),this.each(function(le){var he;this.nodeType===1&&(Y?he=_.call(this,le,m(this).val()):he=_,he==null?he="":typeof he=="number"?he+="":Array.isArray(he)&&(he=m.map(he,function(Fe){return Fe==null?"":Fe+""})),x=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!x||!("set"in x)||x.set(this,he,"value")===void 0)&&(this.value=he))})):ae?(x=m.valHooks[ae.type]||m.valHooks[ae.nodeName.toLowerCase()],x&&"get"in x&&(M=x.get(ae,"value"))!==void 0?M:(M=ae.value,typeof M=="string"?M.replace(Ni,""):M??"")):void 0}}),m.extend({valHooks:{option:{get:function(_){var x=m.find.attr(_,"value");return x??Ar(m.text(_))}},select:{get:function(_){var x,M,Y,ae=_.options,le=_.selectedIndex,he=_.type==="select-one",Fe=he?null:[],ke=he?le+1:ae.length;for(le<0?Y=ke:Y=he?le:0;Y<ke;Y++)if(M=ae[Y],(M.selected||Y===le)&&!M.disabled&&(!M.parentNode.disabled||!k(M.parentNode,"optgroup"))){if(x=m(M).val(),he)return x;Fe.push(x)}return Fe},set:function(_,x){for(var M,Y,ae=_.options,le=m.makeArray(x),he=ae.length;he--;)Y=ae[he],(Y.selected=m.inArray(m.valHooks.option.get(Y),le)>-1)&&(M=!0);return M||(_.selectedIndex=-1),le}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(_,x){if(Array.isArray(x))return _.checked=m.inArray(m(_).val(),x)>-1}},S.checkOn||(m.valHooks[this].get=function(_){return _.getAttribute("value")===null?"on":_.value})});var ms=t.location,lu={guid:Date.now()},ys=/\?/;m.parseXML=function(_){var x,M;if(!_||typeof _!="string")return null;try{x=new t.DOMParser().parseFromString(_,"text/xml")}catch{}return M=x&&x.getElementsByTagName("parsererror")[0],(!x||M)&&m.error("Invalid XML: "+(M?m.map(M.childNodes,function(Y){return Y.textContent}).join(`
16
- `):_)),x};var ro=/^(?:focusinfocus|focusoutblur)$/,Si=function(_){_.stopPropagation()};m.extend(m.event,{trigger:function(_,x,M,Y){var ae,le,he,Fe,ke,Ye,Et,Ct,ft=[M||w],Ft=h.call(_,"type")?_.type:_,Rr=h.call(_,"namespace")?_.namespace.split("."):[];if(le=Ct=he=M=M||w,!(M.nodeType===3||M.nodeType===8)&&!ro.test(Ft+m.event.triggered)&&(Ft.indexOf(".")>-1&&(Rr=Ft.split("."),Ft=Rr.shift(),Rr.sort()),ke=Ft.indexOf(":")<0&&"on"+Ft,_=_[m.expando]?_:new m.Event(Ft,typeof _=="object"&&_),_.isTrigger=Y?2:3,_.namespace=Rr.join("."),_.rnamespace=_.namespace?new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,_.result=void 0,_.target||(_.target=M),x=x==null?[_]:m.makeArray(x,[_]),Et=m.event.special[Ft]||{},!(!Y&&Et.trigger&&Et.trigger.apply(M,x)===!1))){if(!Y&&!Et.noBubble&&!y(M)){for(Fe=Et.delegateType||Ft,ro.test(Fe+Ft)||(le=le.parentNode);le;le=le.parentNode)ft.push(le),he=le;he===(M.ownerDocument||w)&&ft.push(he.defaultView||he.parentWindow||t)}for(ae=0;(le=ft[ae++])&&!_.isPropagationStopped();)Ct=le,_.type=ae>1?Fe:Et.bindType||Ft,Ye=(qe.get(le,"events")||Object.create(null))[_.type]&&qe.get(le,"handle"),Ye&&Ye.apply(le,x),Ye=ke&&le[ke],Ye&&Ye.apply&&Ne(le)&&(_.result=Ye.apply(le,x),_.result===!1&&_.preventDefault());return _.type=Ft,!Y&&!_.isDefaultPrevented()&&(!Et._default||Et._default.apply(ft.pop(),x)===!1)&&Ne(M)&&ke&&E(M[Ft])&&!y(M)&&(he=M[ke],he&&(M[ke]=null),m.event.triggered=Ft,_.isPropagationStopped()&&Ct.addEventListener(Ft,Si),M[Ft](),_.isPropagationStopped()&&Ct.removeEventListener(Ft,Si),m.event.triggered=void 0,he&&(M[ke]=he)),_.result}},simulate:function(_,x,M){var Y=m.extend(new m.Event,M,{type:_,isSimulated:!0});m.event.trigger(Y,null,x)}}),m.fn.extend({trigger:function(_,x){return this.each(function(){m.event.trigger(_,x,this)})},triggerHandler:function(_,x){var M=this[0];if(M)return m.event.trigger(_,x,M,!0)}});var qa=/\[\]$/,no=/\r?\n/g,hn=/^(?:submit|button|image|reset|file)$/i,va=/^(?:input|select|textarea|keygen)/i;function Wo(_,x,M,Y){var ae;if(Array.isArray(x))m.each(x,function(le,he){M||qa.test(_)?Y(_,he):Wo(_+"["+(typeof he=="object"&&he!=null?le:"")+"]",he,M,Y)});else if(!M&&R(x)==="object")for(ae in x)Wo(_+"["+ae+"]",x[ae],M,Y);else Y(_,x)}m.param=function(_,x){var M,Y=[],ae=function(le,he){var Fe=E(he)?he():he;Y[Y.length]=encodeURIComponent(le)+"="+encodeURIComponent(Fe??"")};if(_==null)return"";if(Array.isArray(_)||_.jquery&&!m.isPlainObject(_))m.each(_,function(){ae(this.name,this.value)});else for(M in _)Wo(M,_[M],x,ae);return Y.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var _=m.prop(this,"elements");return _?m.makeArray(_):this}).filter(function(){var _=this.type;return this.name&&!m(this).is(":disabled")&&va.test(this.nodeName)&&!hn.test(_)&&(this.checked||!Nt.test(_))}).map(function(_,x){var M=m(this).val();return M==null?null:Array.isArray(M)?m.map(M,function(Y){return{name:x.name,value:Y.replace(no,`\r
17
- `)}}):{name:x.name,value:M.replace(no,`\r
18
- `)}}).get()}});var Go=/%20/g,ea=/#.*$/,Us=/([?&])_=[^&]*/,io=/^(.*?):[ \t]*([^\r\n]*)$/mg,_s=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qs=/^(?:GET|HEAD)$/,Nu=/^\/\//,ao={},_o={},Bi="*/".concat("*"),pa=w.createElement("a");pa.href=ms.href;function Lu(_){return function(x,M){typeof x!="string"&&(M=x,x="*");var Y,ae=0,le=x.toLowerCase().match(L)||[];if(E(M))for(;Y=le[ae++];)Y[0]==="+"?(Y=Y.slice(1)||"*",(_[Y]=_[Y]||[]).unshift(M)):(_[Y]=_[Y]||[]).push(M)}}function Yo(_,x,M,Y){var ae={},le=_===_o;function he(Fe){var ke;return ae[Fe]=!0,m.each(_[Fe]||[],function(Ye,Et){var Ct=Et(x,M,Y);if(typeof Ct=="string"&&!le&&!ae[Ct])return x.dataTypes.unshift(Ct),he(Ct),!1;if(le)return!(ke=Ct)}),ke}return he(x.dataTypes[0])||!ae["*"]&&he("*")}function Ko(_,x){var M,Y,ae=m.ajaxSettings.flatOptions||{};for(M in x)x[M]!==void 0&&((ae[M]?_:Y||(Y={}))[M]=x[M]);return Y&&m.extend(!0,_,Y),_}function ga(_,x,M){for(var Y,ae,le,he,Fe=_.contents,ke=_.dataTypes;ke[0]==="*";)ke.shift(),Y===void 0&&(Y=_.mimeType||x.getResponseHeader("Content-Type"));if(Y){for(ae in Fe)if(Fe[ae]&&Fe[ae].test(Y)){ke.unshift(ae);break}}if(ke[0]in M)le=ke[0];else{for(ae in M){if(!ke[0]||_.converters[ae+" "+ke[0]]){le=ae;break}he||(he=ae)}le=le||he}if(le)return le!==ke[0]&&ke.unshift(le),M[le]}function Vs(_,x,M,Y){var ae,le,he,Fe,ke,Ye={},Et=_.dataTypes.slice();if(Et[1])for(he in _.converters)Ye[he.toLowerCase()]=_.converters[he];for(le=Et.shift();le;)if(_.responseFields[le]&&(M[_.responseFields[le]]=x),!ke&&Y&&_.dataFilter&&(x=_.dataFilter(x,_.dataType)),ke=le,le=Et.shift(),le){if(le==="*")le=ke;else if(ke!=="*"&&ke!==le){if(he=Ye[ke+" "+le]||Ye["* "+le],!he){for(ae in Ye)if(Fe=ae.split(" "),Fe[1]===le&&(he=Ye[ke+" "+Fe[0]]||Ye["* "+Fe[0]],he)){he===!0?he=Ye[ae]:Ye[ae]!==!0&&(le=Fe[0],Et.unshift(Fe[1]));break}}if(he!==!0)if(he&&_.throws)x=he(x);else try{x=he(x)}catch(Ct){return{state:"parsererror",error:he?Ct:"No conversion from "+ke+" to "+le}}}}return{state:"success",data:x}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ms.href,type:"GET",isLocal:_s.test(ms.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(_,x){return x?Ko(Ko(_,m.ajaxSettings),x):Ko(m.ajaxSettings,_)},ajaxPrefilter:Lu(ao),ajaxTransport:Lu(_o),ajax:function(_,x){typeof _=="object"&&(x=_,_=void 0),x=x||{};var M,Y,ae,le,he,Fe,ke,Ye,Et,Ct,ft=m.ajaxSetup({},x),Ft=ft.context||ft,Rr=ft.context&&(Ft.nodeType||Ft.jquery)?m(Ft):m.event,en=m.Deferred(),Ur=m.Callbacks("once memory"),Zn=ft.statusCode||{},hi={},G={},oe="canceled",ge={readyState:0,getResponseHeader:function(Qe){var tt;if(ke){if(!le)for(le={};tt=io.exec(ae);)le[tt[1].toLowerCase()+" "]=(le[tt[1].toLowerCase()+" "]||[]).concat(tt[2]);tt=le[Qe.toLowerCase()+" "]}return tt==null?null:tt.join(", ")},getAllResponseHeaders:function(){return ke?ae:null},setRequestHeader:function(Qe,tt){return ke==null&&(Qe=G[Qe.toLowerCase()]=G[Qe.toLowerCase()]||Qe,hi[Qe]=tt),this},overrideMimeType:function(Qe){return ke==null&&(ft.mimeType=Qe),this},statusCode:function(Qe){var tt;if(Qe)if(ke)ge.always(Qe[ge.status]);else for(tt in Qe)Zn[tt]=[Zn[tt],Qe[tt]];return this},abort:function(Qe){var tt=Qe||oe;return M&&M.abort(tt),Le(0,tt),this}};if(en.promise(ge),ft.url=((_||ft.url||ms.href)+"").replace(Nu,ms.protocol+"//"),ft.type=x.method||x.type||ft.method||ft.type,ft.dataTypes=(ft.dataType||"*").toLowerCase().match(L)||[""],ft.crossDomain==null){Fe=w.createElement("a");try{Fe.href=ft.url,Fe.href=Fe.href,ft.crossDomain=pa.protocol+"//"+pa.host!=Fe.protocol+"//"+Fe.host}catch{ft.crossDomain=!0}}if(ft.data&&ft.processData&&typeof ft.data!="string"&&(ft.data=m.param(ft.data,ft.traditional)),Yo(ao,ft,x,ge),ke)return ge;Ye=m.event&&ft.global,Ye&&m.active++===0&&m.event.trigger("ajaxStart"),ft.type=ft.type.toUpperCase(),ft.hasContent=!qs.test(ft.type),Y=ft.url.replace(ea,""),ft.hasContent?ft.data&&ft.processData&&(ft.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ft.data=ft.data.replace(Go,"+")):(Ct=ft.url.slice(Y.length),ft.data&&(ft.processData||typeof ft.data=="string")&&(Y+=(ys.test(Y)?"&":"?")+ft.data,delete ft.data),ft.cache===!1&&(Y=Y.replace(Us,"$1"),Ct=(ys.test(Y)?"&":"?")+"_="+lu.guid+++Ct),ft.url=Y+Ct),ft.ifModified&&(m.lastModified[Y]&&ge.setRequestHeader("If-Modified-Since",m.lastModified[Y]),m.etag[Y]&&ge.setRequestHeader("If-None-Match",m.etag[Y])),(ft.data&&ft.hasContent&&ft.contentType!==!1||x.contentType)&&ge.setRequestHeader("Content-Type",ft.contentType),ge.setRequestHeader("Accept",ft.dataTypes[0]&&ft.accepts[ft.dataTypes[0]]?ft.accepts[ft.dataTypes[0]]+(ft.dataTypes[0]!=="*"?", "+Bi+"; q=0.01":""):ft.accepts["*"]);for(Et in ft.headers)ge.setRequestHeader(Et,ft.headers[Et]);if(ft.beforeSend&&(ft.beforeSend.call(Ft,ge,ft)===!1||ke))return ge.abort();if(oe="abort",Ur.add(ft.complete),ge.done(ft.success),ge.fail(ft.error),M=Yo(_o,ft,x,ge),!M)Le(-1,"No Transport");else{if(ge.readyState=1,Ye&&Rr.trigger("ajaxSend",[ge,ft]),ke)return ge;ft.async&&ft.timeout>0&&(he=t.setTimeout(function(){ge.abort("timeout")},ft.timeout));try{ke=!1,M.send(hi,Le)}catch(Qe){if(ke)throw Qe;Le(-1,Qe)}}function Le(Qe,tt,Ot,Ht){var gr,qr,xr,Dn,si,Fn=tt;ke||(ke=!0,he&&t.clearTimeout(he),M=void 0,ae=Ht||"",ge.readyState=Qe>0?4:0,gr=Qe>=200&&Qe<300||Qe===304,Ot&&(Dn=ga(ft,ge,Ot)),!gr&&m.inArray("script",ft.dataTypes)>-1&&m.inArray("json",ft.dataTypes)<0&&(ft.converters["text script"]=function(){}),Dn=Vs(ft,Dn,ge,gr),gr?(ft.ifModified&&(si=ge.getResponseHeader("Last-Modified"),si&&(m.lastModified[Y]=si),si=ge.getResponseHeader("etag"),si&&(m.etag[Y]=si)),Qe===204||ft.type==="HEAD"?Fn="nocontent":Qe===304?Fn="notmodified":(Fn=Dn.state,qr=Dn.data,xr=Dn.error,gr=!xr)):(xr=Fn,(Qe||!Fn)&&(Fn="error",Qe<0&&(Qe=0))),ge.status=Qe,ge.statusText=(tt||Fn)+"",gr?en.resolveWith(Ft,[qr,Fn,ge]):en.rejectWith(Ft,[ge,Fn,xr]),ge.statusCode(Zn),Zn=void 0,Ye&&Rr.trigger(gr?"ajaxSuccess":"ajaxError",[ge,ft,gr?qr:xr]),Ur.fireWith(Ft,[ge,Fn]),Ye&&(Rr.trigger("ajaxComplete",[ge,ft]),--m.active||m.event.trigger("ajaxStop")))}return ge},getJSON:function(_,x,M){return m.get(_,x,M,"json")},getScript:function(_,x){return m.get(_,void 0,x,"script")}}),m.each(["get","post"],function(_,x){m[x]=function(M,Y,ae,le){return E(Y)&&(le=le||ae,ae=Y,Y=void 0),m.ajax(m.extend({url:M,type:x,dataType:le,data:Y,success:ae},m.isPlainObject(M)&&M))}}),m.ajaxPrefilter(function(_){var x;for(x in _.headers)x.toLowerCase()==="content-type"&&(_.contentType=_.headers[x]||"")}),m._evalUrl=function(_,x,M){return m.ajax({url:_,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Y){m.globalEval(Y,x,M)}})},m.fn.extend({wrapAll:function(_){var x;return this[0]&&(E(_)&&(_=_.call(this[0])),x=m(_,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&x.insertBefore(this[0]),x.map(function(){for(var M=this;M.firstElementChild;)M=M.firstElementChild;return M}).append(this)),this},wrapInner:function(_){return E(_)?this.each(function(x){m(this).wrapInner(_.call(this,x))}):this.each(function(){var x=m(this),M=x.contents();M.length?M.wrapAll(_):x.append(_)})},wrap:function(_){var x=E(_);return this.each(function(M){m(this).wrapAll(x?_.call(this,M):_)})},unwrap:function(_){return this.parent(_).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(_){return!m.expr.pseudos.visible(_)},m.expr.pseudos.visible=function(_){return!!(_.offsetWidth||_.offsetHeight||_.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Mu={0:200,1223:204},Li=m.ajaxSettings.xhr();S.cors=!!Li&&"withCredentials"in Li,S.ajax=Li=!!Li,m.ajaxTransport(function(_){var x,M;if(S.cors||Li&&!_.crossDomain)return{send:function(Y,ae){var le,he=_.xhr();if(he.open(_.type,_.url,_.async,_.username,_.password),_.xhrFields)for(le in _.xhrFields)he[le]=_.xhrFields[le];_.mimeType&&he.overrideMimeType&&he.overrideMimeType(_.mimeType),!_.crossDomain&&!Y["X-Requested-With"]&&(Y["X-Requested-With"]="XMLHttpRequest");for(le in Y)he.setRequestHeader(le,Y[le]);x=function(Fe){return function(){x&&(x=M=he.onload=he.onerror=he.onabort=he.ontimeout=he.onreadystatechange=null,Fe==="abort"?he.abort():Fe==="error"?typeof he.status!="number"?ae(0,"error"):ae(he.status,he.statusText):ae(Mu[he.status]||he.status,he.statusText,(he.responseType||"text")!=="text"||typeof he.responseText!="string"?{binary:he.response}:{text:he.responseText},he.getAllResponseHeaders()))}},he.onload=x(),M=he.onerror=he.ontimeout=x("error"),he.onabort!==void 0?he.onabort=M:he.onreadystatechange=function(){he.readyState===4&&t.setTimeout(function(){x&&M()})},x=x("abort");try{he.send(_.hasContent&&_.data||null)}catch(Fe){if(x)throw Fe}},abort:function(){x&&x()}}}),m.ajaxPrefilter(function(_){_.crossDomain&&(_.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(_){return m.globalEval(_),_}}}),m.ajaxPrefilter("script",function(_){_.cache===void 0&&(_.cache=!1),_.crossDomain&&(_.type="GET")}),m.ajaxTransport("script",function(_){if(_.crossDomain||_.scriptAttrs){var x,M;return{send:function(Y,ae){x=m("<script>").attr(_.scriptAttrs||{}).prop({charset:_.scriptCharset,src:_.url}).on("load error",M=function(le){x.remove(),M=null,le&&ae(le.type==="error"?404:200,le.type)}),w.head.appendChild(x[0])},abort:function(){M&&M()}}}});var ma=[],So=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var _=ma.pop()||m.expando+"_"+lu.guid++;return this[_]=!0,_}}),m.ajaxPrefilter("json jsonp",function(_,x,M){var Y,ae,le,he=_.jsonp!==!1&&(So.test(_.url)?"url":typeof _.data=="string"&&(_.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&So.test(_.data)&&"data");if(he||_.dataTypes[0]==="jsonp")return Y=_.jsonpCallback=E(_.jsonpCallback)?_.jsonpCallback():_.jsonpCallback,he?_[he]=_[he].replace(So,"$1"+Y):_.jsonp!==!1&&(_.url+=(ys.test(_.url)?"&":"?")+_.jsonp+"="+Y),_.converters["script json"]=function(){return le||m.error(Y+" was not called"),le[0]},_.dataTypes[0]="json",ae=t[Y],t[Y]=function(){le=arguments},M.always(function(){ae===void 0?m(t).removeProp(Y):t[Y]=ae,_[Y]&&(_.jsonpCallback=x.jsonpCallback,ma.push(Y)),le&&E(ae)&&ae(le[0]),le=ae=void 0}),"script"}),S.createHTMLDocument=(function(){var _=w.implementation.createHTMLDocument("").body;return _.innerHTML="<form></form><form></form>",_.childNodes.length===2})(),m.parseHTML=function(_,x,M){if(typeof _!="string")return[];typeof x=="boolean"&&(M=x,x=!1);var Y,ae,le;return x||(S.createHTMLDocument?(x=w.implementation.createHTMLDocument(""),Y=x.createElement("base"),Y.href=w.location.href,x.head.appendChild(Y)):x=w),ae=te.exec(_),le=!M&&[],ae?[x.createElement(ae[1])]:(ae=Hn([_],x,le),le&&le.length&&m(le).remove(),m.merge([],ae.childNodes))},m.fn.load=function(_,x,M){var Y,ae,le,he=this,Fe=_.indexOf(" ");return Fe>-1&&(Y=Ar(_.slice(Fe)),_=_.slice(0,Fe)),E(x)?(M=x,x=void 0):x&&typeof x=="object"&&(ae="POST"),he.length>0&&m.ajax({url:_,type:ae||"GET",dataType:"html",data:x}).done(function(ke){le=arguments,he.html(Y?m("<div>").append(m.parseHTML(ke)).find(Y):ke)}).always(M&&function(ke,Ye){he.each(function(){M.apply(this,le||[ke.responseText,Ye,ke])})}),this},m.expr.pseudos.animated=function(_){return m.grep(m.timers,function(x){return _===x.elem}).length},m.offset={setOffset:function(_,x,M){var Y,ae,le,he,Fe,ke,Ye,Et=m.css(_,"position"),Ct=m(_),ft={};Et==="static"&&(_.style.position="relative"),Fe=Ct.offset(),le=m.css(_,"top"),ke=m.css(_,"left"),Ye=(Et==="absolute"||Et==="fixed")&&(le+ke).indexOf("auto")>-1,Ye?(Y=Ct.position(),he=Y.top,ae=Y.left):(he=parseFloat(le)||0,ae=parseFloat(ke)||0),E(x)&&(x=x.call(_,M,m.extend({},Fe))),x.top!=null&&(ft.top=x.top-Fe.top+he),x.left!=null&&(ft.left=x.left-Fe.left+ae),"using"in x?x.using.call(_,ft):Ct.css(ft)}},m.fn.extend({offset:function(_){if(arguments.length)return _===void 0?this:this.each(function(ae){m.offset.setOffset(this,_,ae)});var x,M,Y=this[0];if(Y)return Y.getClientRects().length?(x=Y.getBoundingClientRect(),M=Y.ownerDocument.defaultView,{top:x.top+M.pageYOffset,left:x.left+M.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var _,x,M,Y=this[0],ae={top:0,left:0};if(m.css(Y,"position")==="fixed")x=Y.getBoundingClientRect();else{for(x=this.offset(),M=Y.ownerDocument,_=Y.offsetParent||M.documentElement;_&&(_===M.body||_===M.documentElement)&&m.css(_,"position")==="static";)_=_.parentNode;_&&_!==Y&&_.nodeType===1&&(ae=m(_).offset(),ae.top+=m.css(_,"borderTopWidth",!0),ae.left+=m.css(_,"borderLeftWidth",!0))}return{top:x.top-ae.top-m.css(Y,"marginTop",!0),left:x.left-ae.left-m.css(Y,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var _=this.offsetParent;_&&m.css(_,"position")==="static";)_=_.offsetParent;return _||rt})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(_,x){var M=x==="pageYOffset";m.fn[_]=function(Y){return Ie(this,function(ae,le,he){var Fe;if(y(ae)?Fe=ae:ae.nodeType===9&&(Fe=ae.defaultView),he===void 0)return Fe?Fe[x]:ae[le];Fe?Fe.scrollTo(M?Fe.pageXOffset:he,M?he:Fe.pageYOffset):ae[le]=he},_,Y,arguments.length)}}),m.each(["top","left"],function(_,x){m.cssHooks[x]=yt(S.pixelPosition,function(M,Y){if(Y)return Y=Tt(M,x),gt.test(Y)?m(M).position()[x]+"px":Y})}),m.each({Height:"height",Width:"width"},function(_,x){m.each({padding:"inner"+_,content:x,"":"outer"+_},function(M,Y){m.fn[Y]=function(ae,le){var he=arguments.length&&(M||typeof ae!="boolean"),Fe=M||(ae===!0||le===!0?"margin":"border");return Ie(this,function(ke,Ye,Et){var Ct;return y(ke)?Y.indexOf("outer")===0?ke["inner"+_]:ke.document.documentElement["client"+_]:ke.nodeType===9?(Ct=ke.documentElement,Math.max(ke.body["scroll"+_],Ct["scroll"+_],ke.body["offset"+_],Ct["offset"+_],Ct["client"+_])):Et===void 0?m.css(ke,Ye,Fe):m.style(ke,Ye,Et,Fe)},x,he?ae:void 0,he)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(_,x){m.fn[x]=function(M){return this.on(x,M)}}),m.fn.extend({bind:function(_,x,M){return this.on(_,null,x,M)},unbind:function(_,x){return this.off(_,null,x)},delegate:function(_,x,M,Y){return this.on(x,_,M,Y)},undelegate:function(_,x,M){return arguments.length===1?this.off(_,"**"):this.off(x,_||"**",M)},hover:function(_,x){return this.on("mouseenter",_).on("mouseleave",x||_)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(_,x){m.fn[x]=function(M,Y){return arguments.length>0?this.on(x,null,M,Y):this.trigger(x)}});var Xo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(_,x){var M,Y,ae;if(typeof x=="string"&&(M=_[x],x=_,_=M),!!E(_))return Y=a.call(arguments,2),ae=function(){return _.apply(x||this,Y.concat(a.call(arguments)))},ae.guid=_.guid=_.guid||m.guid++,ae},m.holdReady=function(_){_?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=k,m.isFunction=E,m.isWindow=y,m.camelCase=Te,m.type=R,m.now=Date.now,m.isNumeric=function(_){var x=m.type(_);return(x==="number"||x==="string")&&!isNaN(_-parseFloat(_))},m.trim=function(_){return _==null?"":(_+"").replace(Xo,"$1")};var Eo=t.jQuery,wo=t.$;return m.noConflict=function(_){return t.$===m&&(t.$=wo),_&&t.jQuery===m&&(t.jQuery=Eo),m},typeof r>"u"&&(t.jQuery=t.$=m),m})})(Rm)),Rm.exports}var Qpe=Hte();const al=Bn(Qpe);var ho="top",ns="bottom",is="right",vo="left",T_="auto",yh=[ho,ns,is,vo],rf="start",Hd="end",zte="clippingParents",oD="viewport",Td="popper",Wte="reference",dI=yh.reduce(function(e,t){return e.concat([t+"-"+rf,t+"-"+Hd])},[]),sD=[].concat(yh,[T_]).reduce(function(e,t){return e.concat([t,t+"-"+rf,t+"-"+Hd])},[]),Gte="beforeRead",Yte="read",Kte="afterRead",Xte="beforeMain",Qte="main",Jte="afterMain",Zte="beforeWrite",ere="write",tre="afterWrite",rre=[Gte,Yte,Kte,Xte,Qte,Jte,Zte,ere,tre];function xu(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function nf(e){var t=as(e).Element;return e instanceof t||e instanceof Element}function ks(e){var t=as(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uD(e){if(typeof ShadowRoot>"u")return!1;var t=as(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jpe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ks(a)||!xu(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function Zpe(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(l,c){return l[c]="",l},{});!ks(i)||!xu(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const lD={name:"applyStyles",enabled:!0,phase:"write",fn:Jpe,effect:Zpe,requires:["computeStyles"]};function bu(e){return e.split("-")[0]}var Jc=Math.max,ey=Math.min,zd=Math.round;function hI(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function nre(){return!/^((?!chrome|android).)*safari/i.test(hI())}function Wd(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ks(e)&&(i=e.offsetWidth>0&&zd(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&zd(n.height)/e.offsetHeight||1);var o=nf(e)?as(e):window,s=o.visualViewport,l=!nre()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,d=(n.top+(l&&s?s.offsetTop:0))/a,h=n.width/i,v=n.height/a;return{width:h,height:v,top:d,right:c+h,bottom:d+v,left:c,x:c,y:d}}function cD(e){var t=Wd(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ire(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&uD(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fl(e){return as(e).getComputedStyle(e)}function ege(e){return["table","td","th"].indexOf(xu(e))>=0}function lc(e){return((nf(e)?e.ownerDocument:e.document)||window.document).documentElement}function R_(e){return xu(e)==="html"?e:e.assignedSlot||e.parentNode||(uD(e)?e.host:null)||lc(e)}function Yz(e){return!ks(e)||fl(e).position==="fixed"?null:e.offsetParent}function tge(e){var t=/firefox/i.test(hI()),r=/Trident/i.test(hI());if(r&&ks(e)){var n=fl(e);if(n.position==="fixed")return null}var i=R_(e);for(uD(i)&&(i=i.host);ks(i)&&["html","body"].indexOf(xu(i))<0;){var a=fl(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Ap(e){for(var t=as(e),r=Yz(e);r&&ege(r)&&fl(r).position==="static";)r=Yz(r);return r&&(xu(r)==="html"||xu(r)==="body"&&fl(r).position==="static")?t:r||tge(e)||t}function fD(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pv(e,t,r){return Jc(e,ey(t,r))}function rge(e,t,r){var n=Pv(e,t,r);return n>r?r:n}function are(){return{top:0,right:0,bottom:0,left:0}}function ore(e){return Object.assign({},are(),e)}function sre(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var nge=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ore(typeof t!="number"?t:sre(t,yh))};function ige(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=bu(r.placement),l=fD(s),c=[vo,is].indexOf(s)>=0,d=c?"height":"width";if(!(!a||!o)){var h=nge(i.padding,r),v=cD(a),g=l==="y"?ho:vo,S=l==="y"?ns:is,E=r.rects.reference[d]+r.rects.reference[l]-o[l]-r.rects.popper[d],y=o[l]-r.rects.reference[l],w=Ap(a),b=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,A=E/2-y/2,R=h[g],C=b-v[d]-h[S],O=b/2-v[d]/2+A,m=Pv(R,O,C),D=l;r.modifiersData[n]=(t={},t[D]=m,t.centerOffset=m-O,t)}}function age(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||ire(t.elements.popper,i)&&(t.elements.arrow=i))}const dD={name:"arrow",enabled:!0,phase:"main",fn:ige,effect:age,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gd(e){return e.split("-")[1]}var oge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sge(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:zd(r*i)/i||0,y:zd(n*i)/i||0}}function Kz(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,v=o.x,g=v===void 0?0:v,S=o.y,E=S===void 0?0:S,y=typeof d=="function"?d({x:g,y:E}):{x:g,y:E};g=y.x,E=y.y;var w=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),A=vo,R=ho,C=window;if(c){var O=Ap(r),m="clientHeight",D="clientWidth";if(O===as(r)&&(O=lc(r),fl(O).position!=="static"&&s==="absolute"&&(m="scrollHeight",D="scrollWidth")),O=O,i===ho||(i===vo||i===is)&&a===Hd){R=ns;var k=h&&O===C&&C.visualViewport?C.visualViewport.height:O[m];E-=k-n.height,E*=l?1:-1}if(i===vo||(i===ho||i===ns)&&a===Hd){A=is;var q=h&&O===C&&C.visualViewport?C.visualViewport.width:O[D];g-=q-n.width,g*=l?1:-1}}var j=Object.assign({position:s},c&&oge),W=d===!0?sge({x:g,y:E},as(r)):{x:g,y:E};if(g=W.x,E=W.y,l){var K;return Object.assign({},j,(K={},K[R]=b?"0":"",K[A]=w?"0":"",K.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+E+"px)":"translate3d("+g+"px, "+E+"px, 0)",K))}return Object.assign({},j,(t={},t[R]=b?E+"px":"",t[A]=w?g+"px":"",t.transform="",t))}function uge(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:bu(t.placement),variation:Gd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kz(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kz(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const x_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uge,data:{}};var Yg={passive:!0};function lge(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,s=o===void 0?!0:o,l=as(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",r.update,Yg)}),s&&l.addEventListener("resize",r.update,Yg),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Yg)}),s&&l.removeEventListener("resize",r.update,Yg)}}const C_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lge,data:{}};var cge={left:"right",right:"left",bottom:"top",top:"bottom"};function xm(e){return e.replace(/left|right|bottom|top/g,function(t){return cge[t]})}var fge={start:"end",end:"start"};function Xz(e){return e.replace(/start|end/g,function(t){return fge[t]})}function hD(e){var t=as(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function vD(e){return Wd(lc(e)).left+hD(e).scrollLeft}function dge(e,t){var r=as(e),n=lc(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var c=nre();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+vD(e),y:l}}function hge(e){var t,r=lc(e),n=hD(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Jc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Jc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+vD(e),l=-n.scrollTop;return fl(i||r).direction==="rtl"&&(s+=Jc(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function pD(e){var t=fl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function ure(e){return["html","body","#document"].indexOf(xu(e))>=0?e.ownerDocument.body:ks(e)&&pD(e)?e:ure(R_(e))}function Dv(e,t){var r;t===void 0&&(t=[]);var n=ure(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=as(n),o=i?[a].concat(a.visualViewport||[],pD(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(Dv(R_(o)))}function vI(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vge(e,t){var r=Wd(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Qz(e,t,r){return t===oD?vI(dge(e,r)):nf(t)?vge(t,r):vI(hge(lc(e)))}function pge(e){var t=Dv(R_(e)),r=["absolute","fixed"].indexOf(fl(e).position)>=0,n=r&&ks(e)?Ap(e):e;return nf(n)?t.filter(function(i){return nf(i)&&ire(i,n)&&xu(i)!=="body"}):[]}function gge(e,t,r,n){var i=t==="clippingParents"?pge(e):[].concat(t),a=[].concat(i,[r]),o=a[0],s=a.reduce(function(l,c){var d=Qz(e,c,n);return l.top=Jc(d.top,l.top),l.right=ey(d.right,l.right),l.bottom=ey(d.bottom,l.bottom),l.left=Jc(d.left,l.left),l},Qz(e,o,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function lre(e){var t=e.reference,r=e.element,n=e.placement,i=n?bu(n):null,a=n?Gd(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case ho:l={x:o,y:t.y-r.height};break;case ns:l={x:o,y:t.y+t.height};break;case is:l={x:t.x+t.width,y:s};break;case vo:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?fD(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case rf:l[c]=l[c]-(t[d]/2-r[d]/2);break;case Hd:l[c]=l[c]+(t[d]/2-r[d]/2);break}}return l}function Yd(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,s=r.boundary,l=s===void 0?zte:s,c=r.rootBoundary,d=c===void 0?oD:c,h=r.elementContext,v=h===void 0?Td:h,g=r.altBoundary,S=g===void 0?!1:g,E=r.padding,y=E===void 0?0:E,w=ore(typeof y!="number"?y:sre(y,yh)),b=v===Td?Wte:Td,A=e.rects.popper,R=e.elements[S?b:v],C=gge(nf(R)?R:R.contextElement||lc(e.elements.popper),l,d,o),O=Wd(e.elements.reference),m=lre({reference:O,element:A,placement:i}),D=vI(Object.assign({},A,m)),k=v===Td?D:O,q={top:C.top-k.top+w.top,bottom:k.bottom-C.bottom+w.bottom,left:C.left-k.left+w.left,right:k.right-C.right+w.right},j=e.modifiersData.offset;if(v===Td&&j){var W=j[i];Object.keys(q).forEach(function(K){var X=[is,ns].indexOf(K)>=0?1:-1,Q=[ho,ns].indexOf(K)>=0?"y":"x";q[K]+=W[Q]*X})}return q}function mge(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?sD:l,d=Gd(n),h=d?s?dI:dI.filter(function(S){return Gd(S)===d}):yh,v=h.filter(function(S){return c.indexOf(S)>=0});v.length===0&&(v=h);var g=v.reduce(function(S,E){return S[E]=Yd(e,{placement:E,boundary:i,rootBoundary:a,padding:o})[bu(E)],S},{});return Object.keys(g).sort(function(S,E){return g[S]-g[E]})}function yge(e){if(bu(e)===T_)return[];var t=xm(e);return[Xz(e),t,Xz(t)]}function _ge(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!0:o,l=r.fallbackPlacements,c=r.padding,d=r.boundary,h=r.rootBoundary,v=r.altBoundary,g=r.flipVariations,S=g===void 0?!0:g,E=r.allowedAutoPlacements,y=t.options.placement,w=bu(y),b=w===y,A=l||(b||!S?[xm(y)]:yge(y)),R=[y].concat(A).reduce(function(Se,xe){return Se.concat(bu(xe)===T_?mge(t,{placement:xe,boundary:d,rootBoundary:h,padding:c,flipVariations:S,allowedAutoPlacements:E}):xe)},[]),C=t.rects.reference,O=t.rects.popper,m=new Map,D=!0,k=R[0],q=0;q<R.length;q++){var j=R[q],W=bu(j),K=Gd(j)===rf,X=[ho,ns].indexOf(W)>=0,Q=X?"width":"height",J=Yd(t,{placement:j,boundary:d,rootBoundary:h,altBoundary:v,padding:c}),re=X?K?is:vo:K?ns:ho;C[Q]>O[Q]&&(re=xm(re));var $=xm(re),N=[];if(a&&N.push(J[W]<=0),s&&N.push(J[re]<=0,J[$]<=0),N.every(function(Se){return Se})){k=j,D=!1;break}m.set(j,N)}if(D)for(var U=S?3:1,ee=function(xe){var ue=R.find(function(I){var P=m.get(I);if(P)return P.slice(0,xe).every(function(B){return B})});if(ue)return k=ue,"break"},te=U;te>0;te--){var de=ee(te);if(de==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}const gD={name:"flip",enabled:!0,phase:"main",fn:_ge,requiresIfExists:["offset"],data:{_skip:!1}};function Jz(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Zz(e){return[ho,is,ns,vo].some(function(t){return e[t]>=0})}function Sge(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Yd(t,{elementContext:"reference"}),s=Yd(t,{altBoundary:!0}),l=Jz(o,n),c=Jz(s,i,a),d=Zz(l),h=Zz(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const mD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sge};function Ege(e,t,r){var n=bu(e),i=[vo,ho].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[vo,is].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function wge(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=sD.reduce(function(d,h){return d[h]=Ege(h,t.rects,a),d},{}),s=o[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const yD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wge};function bge(e){var t=e.state,r=e.name;t.modifiersData[r]=lre({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const A_={name:"popperOffsets",enabled:!0,phase:"read",fn:bge,data:{}};function Tge(e){return e==="x"?"y":"x"}function Rge(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!1:o,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,h=r.padding,v=r.tether,g=v===void 0?!0:v,S=r.tetherOffset,E=S===void 0?0:S,y=Yd(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),w=bu(t.placement),b=Gd(t.placement),A=!b,R=fD(w),C=Tge(R),O=t.modifiersData.popperOffsets,m=t.rects.reference,D=t.rects.popper,k=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,q=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(O){if(a){var K,X=R==="y"?ho:vo,Q=R==="y"?ns:is,J=R==="y"?"height":"width",re=O[R],$=re+y[X],N=re-y[Q],U=g?-D[J]/2:0,ee=b===rf?m[J]:D[J],te=b===rf?-D[J]:-m[J],de=t.elements.arrow,Se=g&&de?cD(de):{width:0,height:0},xe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:are(),ue=xe[X],I=xe[Q],P=Pv(0,m[J],Se[J]),B=A?m[J]/2-U-P-ue-q.mainAxis:ee-P-ue-q.mainAxis,L=A?-m[J]/2+U+P+I+q.mainAxis:te+P+I+q.mainAxis,H=t.elements.arrow&&Ap(t.elements.arrow),ne=H?R==="y"?H.clientTop||0:H.clientLeft||0:0,ce=(K=j==null?void 0:j[R])!=null?K:0,we=re+B-ce-ne,_e=re+L-ce,Oe=Pv(g?ey($,we):$,re,g?Jc(N,_e):N);O[R]=Oe,W[R]=Oe-re}if(s){var Re,Ie=R==="x"?ho:vo,$e=R==="x"?ns:is,me=O[C],be=C==="y"?"height":"width",Te=me+y[Ie],Ne=me-y[$e],Ve=[ho,vo].indexOf(w)!==-1,qe=(Re=j==null?void 0:j[C])!=null?Re:0,Ge=Ve?Te:me-m[be]-D[be]-qe+q.altAxis,ct=Ve?me+m[be]+D[be]-qe-q.altAxis:Ne,Ut=g&&Ve?rge(Ge,me,ct):Pv(g?Ge:Te,me,g?ct:Ne);O[C]=Ut,W[C]=Ut-me}t.modifiersData[n]=W}}const _D={name:"preventOverflow",enabled:!0,phase:"main",fn:Rge,requiresIfExists:["offset"]};function xge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cge(e){return e===as(e)||!ks(e)?hD(e):xge(e)}function Age(e){var t=e.getBoundingClientRect(),r=zd(t.width)/e.offsetWidth||1,n=zd(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Oge(e,t,r){r===void 0&&(r=!1);var n=ks(t),i=ks(t)&&Age(t),a=lc(t),o=Wd(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((xu(t)!=="body"||pD(a))&&(s=Cge(t)),ks(t)?(l=Wd(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=vD(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function Ige(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Pge(e){var t=Ige(e);return rre.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Dge(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function kge(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var eW={placement:"bottom",modifiers:[],strategy:"absolute"};function tW(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Op(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?eW:i;return function(s,l,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},eW,a),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},h=[],v=!1,g={state:d,setOptions:function(w){var b=typeof w=="function"?w(d.options):w;E(),d.options=Object.assign({},a,d.options,b),d.scrollParents={reference:nf(s)?Dv(s):s.contextElement?Dv(s.contextElement):[],popper:Dv(l)};var A=Pge(kge([].concat(n,d.options.modifiers)));return d.orderedModifiers=A.filter(function(R){return R.enabled}),S(),g.update()},forceUpdate:function(){if(!v){var w=d.elements,b=w.reference,A=w.popper;if(tW(b,A)){d.rects={reference:Oge(b,Ap(A),d.options.strategy==="fixed"),popper:cD(A)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(q){return d.modifiersData[q.name]=Object.assign({},q.data)});for(var R=0;R<d.orderedModifiers.length;R++){if(d.reset===!0){d.reset=!1,R=-1;continue}var C=d.orderedModifiers[R],O=C.fn,m=C.options,D=m===void 0?{}:m,k=C.name;typeof O=="function"&&(d=O({state:d,options:D,name:k,instance:g})||d)}}}},update:Dge(function(){return new Promise(function(y){g.forceUpdate(),y(d)})}),destroy:function(){E(),v=!0}};if(!tW(s,l))return g;g.setOptions(c).then(function(y){!v&&c.onFirstUpdate&&c.onFirstUpdate(y)});function S(){d.orderedModifiers.forEach(function(y){var w=y.name,b=y.options,A=b===void 0?{}:b,R=y.effect;if(typeof R=="function"){var C=R({state:d,name:w,instance:g,options:A}),O=function(){};h.push(C||O)}})}function E(){h.forEach(function(y){return y()}),h=[]}return g}}var Nge=Op(),Lge=[C_,A_,x_,lD],Mge=Op({defaultModifiers:Lge}),$ge=[C_,A_,x_,lD,yD,gD,_D,dD,mD],SD=Op({defaultModifiers:$ge});const cre=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Jte,afterRead:Kte,afterWrite:tre,applyStyles:lD,arrow:dD,auto:T_,basePlacements:yh,beforeMain:Xte,beforeRead:Gte,beforeWrite:Zte,bottom:ns,clippingParents:zte,computeStyles:x_,createPopper:SD,createPopperBase:Nge,createPopperLite:Mge,detectOverflow:Yd,end:Hd,eventListeners:C_,flip:gD,hide:mD,left:vo,main:Qte,modifierPhases:rre,offset:yD,placements:sD,popper:Td,popperGenerator:Op,popperOffsets:A_,preventOverflow:_D,read:Yte,reference:Wte,right:is,start:rf,top:ho,variationPlacements:dI,viewport:oD,write:ere},Symbol.toStringTag,{value:"Module"})),$l=new Map,WT={set(e,t,r){$l.has(e)||$l.set(e,new Map);const n=$l.get(e);if(!n.has(t)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(t,r)},get(e,t){return $l.has(e)&&$l.get(e).get(t)||null},remove(e,t){if(!$l.has(e))return;const r=$l.get(e);r.delete(t),r.size===0&&$l.delete(e)}},Fge=1e6,jge=1e3,pI="transitionend",fre=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),Uge=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),qge=e=>{do e+=Math.floor(Math.random()*Fge);while(document.getElementById(e));return e},Vge=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const n=Number.parseFloat(t),i=Number.parseFloat(r);return!n&&!i?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*jge)},dre=e=>{e.dispatchEvent(new Event(pI))},ol=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),rc=e=>ol(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(fre(e)):null,_h=e=>{if(!ol(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},nc=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",hre=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?hre(e.parentNode):null},ty=()=>{},Ip=e=>{e.offsetHeight},vre=()=>al&&!document.body.hasAttribute("data-bs-no-jquery")?al:null,GT=[],Bge=e=>{document.readyState==="loading"?(GT.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of GT)t()}),GT.push(e)):e()},Ns=()=>document.documentElement.dir==="rtl",js=e=>{Bge(()=>{const t=vre();if(t){const r=e.NAME,n=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=n,e.jQueryInterface)}})},ko=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,pre=(e,t,r=!0)=>{if(!r){ko(e);return}const i=Vge(t)+5;let a=!1;const o=({target:s})=>{s===t&&(a=!0,t.removeEventListener(pI,o),ko(e))};t.addEventListener(pI,o),setTimeout(()=>{a||dre(t)},i)},ED=(e,t,r,n)=>{const i=e.length;let a=e.indexOf(t);return a===-1?!r&&n?e[i-1]:e[0]:(a+=r?1:-1,n&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},Hge=/[^.]*(?=\..*)\.|.*/,zge=/\..*/,Wge=/::\d+$/,YT={};let rW=1;const gre={mouseenter:"mouseover",mouseleave:"mouseout"},Gge=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function mre(e,t){return t&&`${t}::${rW++}`||e.uidEvent||rW++}function yre(e){const t=mre(e);return e.uidEvent=t,YT[t]=YT[t]||{},YT[t]}function Yge(e,t){return function r(n){return wD(n,{delegateTarget:e}),r.oneOff&&qt.off(e,n.type,t),t.apply(e,[n])}}function Kge(e,t,r){return function n(i){const a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const s of a)if(s===o)return wD(i,{delegateTarget:o}),n.oneOff&&qt.off(e,i.type,t,r),r.apply(o,[i])}}function _re(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function Sre(e,t,r){const n=typeof t=="string",i=n?r:t||r;let a=Ere(e);return Gge.has(a)||(a=e),[n,i,a]}function nW(e,t,r,n,i){if(typeof t!="string"||!e)return;let[a,o,s]=Sre(t,r,n);t in gre&&(o=(S=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return S.call(this,E)})(o));const l=yre(e),c=l[s]||(l[s]={}),d=_re(c,o,a?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=mre(o,t.replace(Hge,"")),v=a?Kge(e,r,o):Yge(e,o);v.delegationSelector=a?r:null,v.callable=o,v.oneOff=i,v.uidEvent=h,c[h]=v,e.addEventListener(s,v,a)}function gI(e,t,r,n,i){const a=_re(t[r],n,i);a&&(e.removeEventListener(r,a,!!i),delete t[r][a.uidEvent])}function Xge(e,t,r,n){const i=t[r]||{};for(const[a,o]of Object.entries(i))a.includes(n)&&gI(e,t,r,o.callable,o.delegationSelector)}function Ere(e){return e=e.replace(zge,""),gre[e]||e}const qt={on(e,t,r,n){nW(e,t,r,n,!1)},one(e,t,r,n){nW(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,a,o]=Sre(t,r,n),s=o!==t,l=yre(e),c=l[o]||{},d=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(c).length)return;gI(e,l,o,a,i?r:null);return}if(d)for(const h of Object.keys(l))Xge(e,l,h,t.slice(1));for(const[h,v]of Object.entries(c)){const g=h.replace(Wge,"");(!s||t.includes(g))&&gI(e,l,o,v.callable,v.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=vre(),i=Ere(t),a=t!==i;let o=null,s=!0,l=!0,c=!1;a&&n&&(o=n.Event(t,r),n(e).trigger(o),s=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const d=wD(new Event(t,{bubbles:s,cancelable:!0}),r);return c&&d.preventDefault(),l&&e.dispatchEvent(d),d.defaultPrevented&&o&&o.preventDefault(),d}};function wD(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function iW(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function KT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const sl={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${KT(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${KT(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=iW(e.dataset[n])}return t},getDataAttribute(e,t){return iW(e.getAttribute(`data-bs-${KT(t)}`))}};class Pp{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=ol(r)?sl.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...ol(r)?sl.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const a=t[n],o=ol(a)?"element":Uge(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const Qge="5.3.2";class iu extends Pp{constructor(t,r){super(),t=rc(t),t&&(this._element=t,this._config=this._getConfig(r),WT.set(this._element,this.constructor.DATA_KEY,this))}dispose(){WT.remove(this._element,this.constructor.DATA_KEY),qt.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){pre(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return WT.get(rc(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return Qge}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const XT=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?fre(r.trim()):null}return t},Or={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!nc(r)&&_h(r))},getSelectorFromElement(e){const t=XT(e);return t&&Or.findOne(t)?t:null},getElementFromSelector(e){const t=XT(e);return t?Or.findOne(t):null},getMultipleElementsFromSelector(e){const t=XT(e);return t?Or.find(t):[]}},O_=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;qt.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),nc(this))return;const a=Or.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},Jge="alert",Zge="bs.alert",wre=`.${Zge}`,eme=`close${wre}`,tme=`closed${wre}`,rme="fade",nme="show";let bre=class Tre extends iu{static get NAME(){return Jge}close(){if(qt.trigger(this._element,eme).defaultPrevented)return;this._element.classList.remove(nme);const r=this._element.classList.contains(rme);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),qt.trigger(this._element,tme),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=Tre.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};O_(bre,"close");js(bre);const ime="button",ame="bs.button",ome=`.${ame}`,sme=".data-api",ume="active",aW='[data-bs-toggle="button"]',lme=`click${ome}${sme}`;let Rre=class xre extends iu{static get NAME(){return ime}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(ume))}static jQueryInterface(t){return this.each(function(){const r=xre.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};qt.on(document,lme,aW,e=>{e.preventDefault();const t=e.target.closest(aW);Rre.getOrCreateInstance(t).toggle()});js(Rre);const cme="swipe",Sh=".bs.swipe",fme=`touchstart${Sh}`,dme=`touchmove${Sh}`,hme=`touchend${Sh}`,vme=`pointerdown${Sh}`,pme=`pointerup${Sh}`,gme="touch",mme="pen",yme="pointer-event",_me=40,Sme={endCallback:null,leftCallback:null,rightCallback:null},Eme={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ry extends Pp{constructor(t,r){super(),this._element=t,!(!t||!ry.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Sme}static get DefaultType(){return Eme}static get NAME(){return cme}dispose(){qt.off(this._element,Sh)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),ko(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=_me)return;const r=t/this._deltaX;this._deltaX=0,r&&ko(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(qt.on(this._element,vme,t=>this._start(t)),qt.on(this._element,pme,t=>this._end(t)),this._element.classList.add(yme)):(qt.on(this._element,fme,t=>this._start(t)),qt.on(this._element,dme,t=>this._move(t)),qt.on(this._element,hme,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===mme||t.pointerType===gme)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const wme="carousel",bme="bs.carousel",cc=`.${bme}`,Cre=".data-api",Tme="ArrowLeft",Rme="ArrowRight",xme=500,nv="next",hd="prev",Rd="left",Cm="right",Cme=`slide${cc}`,QT=`slid${cc}`,Ame=`keydown${cc}`,Ome=`mouseenter${cc}`,Ime=`mouseleave${cc}`,Pme=`dragstart${cc}`,Dme=`load${cc}${Cre}`,kme=`click${cc}${Cre}`,Are="carousel",Kg="active",Nme="slide",Lme="carousel-item-end",Mme="carousel-item-start",$me="carousel-item-next",Fme="carousel-item-prev",Ore=".active",Ire=".carousel-item",jme=Ore+Ire,Ume=".carousel-item img",qme=".carousel-indicators",Vme="[data-bs-slide], [data-bs-slide-to]",Bme='[data-bs-ride="carousel"]',Hme={[Tme]:Cm,[Rme]:Rd},zme={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Wme={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Dp extends iu{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Or.findOne(qme,this._element),this._addEventListeners(),this._config.ride===Are&&this.cycle()}static get Default(){return zme}static get DefaultType(){return Wme}static get NAME(){return wme}next(){this._slide(nv)}nextWhenVisible(){!document.hidden&&_h(this._element)&&this.next()}prev(){this._slide(hd)}pause(){this._isSliding&&dre(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){qt.one(this._element,QT,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){qt.one(this._element,QT,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?nv:hd;this._slide(i,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&qt.on(this._element,Ame,t=>this._keydown(t)),this._config.pause==="hover"&&(qt.on(this._element,Ome,()=>this.pause()),qt.on(this._element,Ime,()=>this._maybeEnableCycle())),this._config.touch&&ry.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Or.find(Ume,this._element))qt.on(n,Pme,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Rd)),rightCallback:()=>this._slide(this._directionToOrder(Cm)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),xme+this._config.interval))}};this._swipeHelper=new ry(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Hme[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Or.findOne(Ore,this._indicatorsElement);r.classList.remove(Kg),r.removeAttribute("aria-current");const n=Or.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Kg),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),i=t===nv,a=r||ED(this._getItems(),n,i,this._config.wrap);if(a===n)return;const o=this._getItemIndex(a),s=g=>qt.trigger(this._element,g,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(s(Cme).defaultPrevented||!n||!a)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;const d=i?Mme:Lme,h=i?$me:Fme;a.classList.add(h),Ip(a),n.classList.add(d),a.classList.add(d);const v=()=>{a.classList.remove(d,h),a.classList.add(Kg),n.classList.remove(Kg,h,d),this._isSliding=!1,s(QT)};this._queueCallback(v,n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Nme)}_getActive(){return Or.findOne(jme,this._element)}_getItems(){return Or.find(Ire,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Ns()?t===Rd?hd:nv:t===Rd?nv:hd}_orderToDirection(t){return Ns()?t===hd?Rd:Cm:t===hd?Cm:Rd}static jQueryInterface(t){return this.each(function(){const r=Dp.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}qt.on(document,kme,Vme,function(e){const t=Or.getElementFromSelector(this);if(!t||!t.classList.contains(Are))return;e.preventDefault();const r=Dp.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(sl.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});qt.on(window,Dme,()=>{const e=Or.find(Bme);for(const t of e)Dp.getOrCreateInstance(t)});js(Dp);const Gme="collapse",Yme="bs.collapse",kp=`.${Yme}`,Kme=".data-api",Xme=`show${kp}`,Qme=`shown${kp}`,Jme=`hide${kp}`,Zme=`hidden${kp}`,eye=`click${kp}${Kme}`,JT="show",Id="collapse",Xg="collapsing",tye="collapsed",rye=`:scope .${Id} .${Id}`,nye="collapse-horizontal",iye="width",aye="height",oye=".collapse.show, .collapse.collapsing",mI='[data-bs-toggle="collapse"]',sye={parent:null,toggle:!0},uye={parent:"(null|element)",toggle:"boolean"};class Wv extends iu{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Or.find(mI);for(const i of n){const a=Or.getSelectorFromElement(i),o=Or.find(a).filter(s=>s===this._element);a!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return sye}static get DefaultType(){return uye}static get NAME(){return Gme}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(oye).filter(s=>s!==this._element).map(s=>Wv.getOrCreateInstance(s,{toggle:!1}))),t.length&&t[0]._isTransitioning||qt.trigger(this._element,Xme).defaultPrevented)return;for(const s of t)s.hide();const n=this._getDimension();this._element.classList.remove(Id),this._element.classList.add(Xg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Xg),this._element.classList.add(Id,JT),this._element.style[n]="",qt.trigger(this._element,Qme)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||qt.trigger(this._element,Jme).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Ip(this._element),this._element.classList.add(Xg),this._element.classList.remove(Id,JT);for(const i of this._triggerArray){const a=Or.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Xg),this._element.classList.add(Id),qt.trigger(this._element,Zme)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(JT)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=rc(t.parent),t}_getDimension(){return this._element.classList.contains(nye)?iye:aye}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(mI);for(const r of t){const n=Or.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Or.find(rye,this._config.parent);return Or.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(tye,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const n=Wv.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}qt.on(document,eye,mI,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Or.getMultipleElementsFromSelector(this))Wv.getOrCreateInstance(t,{toggle:!1}).toggle()});js(Wv);const oW="dropdown",lye="bs.dropdown",Of=`.${lye}`,bD=".data-api",cye="Escape",sW="Tab",fye="ArrowUp",uW="ArrowDown",dye=2,hye=`hide${Of}`,vye=`hidden${Of}`,pye=`show${Of}`,gye=`shown${Of}`,Pre=`click${Of}${bD}`,Dre=`keydown${Of}${bD}`,mye=`keyup${Of}${bD}`,xd="show",yye="dropup",_ye="dropend",Sye="dropstart",Eye="dropup-center",wye="dropdown-center",Wc='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',bye=`${Wc}.${xd}`,Am=".dropdown-menu",Tye=".navbar",Rye=".navbar-nav",xye=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Cye=Ns()?"top-end":"top-start",Aye=Ns()?"top-start":"top-end",Oye=Ns()?"bottom-end":"bottom-start",Iye=Ns()?"bottom-start":"bottom-end",Pye=Ns()?"left-start":"right-start",Dye=Ns()?"right-start":"left-start",kye="top",Nye="bottom",Lye={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Mye={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let Eh=class Om extends iu{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Or.next(this._element,Am)[0]||Or.prev(this._element,Am)[0]||Or.findOne(Am,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Lye}static get DefaultType(){return Mye}static get NAME(){return oW}toggle(){return this._isShown()?this.hide():this.show()}show(){if(nc(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!qt.trigger(this._element,pye,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Rye))for(const n of[].concat(...document.body.children))qt.on(n,"mouseover",ty);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(xd),this._element.classList.add(xd),qt.trigger(this._element,gye,t)}}hide(){if(nc(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!qt.trigger(this._element,hye,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))qt.off(n,"mouseover",ty);this._popper&&this._popper.destroy(),this._menu.classList.remove(xd),this._element.classList.remove(xd),this._element.setAttribute("aria-expanded","false"),sl.removeDataAttribute(this._menu,"popper"),qt.trigger(this._element,vye,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!ol(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${oW.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof cre>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:ol(this._config.reference)?t=rc(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=SD(t,this._menu,r)}_isShown(){return this._menu.classList.contains(xd)}_getPlacement(){const t=this._parent;if(t.classList.contains(_ye))return Pye;if(t.classList.contains(Sye))return Dye;if(t.classList.contains(Eye))return kye;if(t.classList.contains(wye))return Nye;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(yye)?r?Aye:Cye:r?Iye:Oye}_detectNavbar(){return this._element.closest(Tye)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(sl.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...ko(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Or.find(xye,this._menu).filter(i=>_h(i));n.length&&ED(n,r,t===uW,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Om.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===dye||t.type==="keyup"&&t.key!==sW)return;const r=Or.find(bye);for(const n of r){const i=Om.getInstance(n);if(!i||i._config.autoClose===!1)continue;const a=t.composedPath(),o=a.includes(i._menu);if(a.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===sW||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const s={relatedTarget:i._element};t.type==="click"&&(s.clickEvent=t),i._completeHide(s)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===cye,i=[fye,uW].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const a=this.matches(Wc)?this:Or.prev(this,Wc)[0]||Or.next(this,Wc)[0]||Or.findOne(Wc,t.delegateTarget.parentNode),o=Om.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};qt.on(document,Dre,Wc,Eh.dataApiKeydownHandler);qt.on(document,Dre,Am,Eh.dataApiKeydownHandler);qt.on(document,Pre,Eh.clearMenus);qt.on(document,mye,Eh.clearMenus);qt.on(document,Pre,Wc,function(e){e.preventDefault(),Eh.getOrCreateInstance(this).toggle()});js(Eh);const kre="backdrop",$ye="fade",lW="show",cW=`mousedown.bs.${kre}`,Fye={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},jye={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Nre extends Pp{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Fye}static get DefaultType(){return jye}static get NAME(){return kre}show(t){if(!this._config.isVisible){ko(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Ip(r),r.classList.add(lW),this._emulateAnimation(()=>{ko(t)})}hide(t){if(!this._config.isVisible){ko(t);return}this._getElement().classList.remove(lW),this._emulateAnimation(()=>{this.dispose(),ko(t)})}dispose(){this._isAppended&&(qt.off(this._element,cW),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add($ye),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=rc(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),qt.on(t,cW,()=>{ko(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){pre(t,this._getElement(),this._config.isAnimated)}}const Uye="focustrap",qye="bs.focustrap",ny=`.${qye}`,Vye=`focusin${ny}`,Bye=`keydown.tab${ny}`,Hye="Tab",zye="forward",fW="backward",Wye={autofocus:!0,trapElement:null},Gye={autofocus:"boolean",trapElement:"element"};class Lre extends Pp{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Wye}static get DefaultType(){return Gye}static get NAME(){return Uye}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),qt.off(document,ny),qt.on(document,Vye,t=>this._handleFocusin(t)),qt.on(document,Bye,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,qt.off(document,ny))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Or.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===fW?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===Hye&&(this._lastTabNavDirection=t.shiftKey?fW:zye)}}const dW=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hW=".sticky-top",Qg="padding-right",vW="margin-right";class yI{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Qg,r=>r+t),this._setElementAttributes(dW,Qg,r=>r+t),this._setElementAttributes(hW,vW,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Qg),this._resetElementAttributes(dW,Qg),this._resetElementAttributes(hW,vW)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const i=this.getWidth(),a=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,r);const s=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(s))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&sl.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const a=sl.getDataAttribute(i,r);if(a===null){i.style.removeProperty(r);return}sl.removeDataAttribute(i,r),i.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(ol(t)){r(t);return}for(const n of Or.find(t,this._element))r(n)}}const Yye="modal",Kye="bs.modal",Ls=`.${Kye}`,Xye=".data-api",Qye="Escape",Jye=`hide${Ls}`,Zye=`hidePrevented${Ls}`,Mre=`hidden${Ls}`,$re=`show${Ls}`,e_e=`shown${Ls}`,t_e=`resize${Ls}`,r_e=`click.dismiss${Ls}`,n_e=`mousedown.dismiss${Ls}`,i_e=`keydown.dismiss${Ls}`,a_e=`click${Ls}${Xye}`,pW="modal-open",o_e="fade",gW="show",ZT="modal-static",s_e=".modal.show",u_e=".modal-dialog",l_e=".modal-body",c_e='[data-bs-toggle="modal"]',f_e={backdrop:!0,focus:!0,keyboard:!0},d_e={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let iy=class Fre extends iu{constructor(t,r){super(t,r),this._dialog=Or.findOne(u_e,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yI,this._addEventListeners()}static get Default(){return f_e}static get DefaultType(){return d_e}static get NAME(){return Yye}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||qt.trigger(this._element,$re,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(pW),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||qt.trigger(this._element,Jye).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gW),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){qt.off(window,Ls),qt.off(this._dialog,Ls),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Nre({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Lre({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Or.findOne(l_e,this._dialog);r&&(r.scrollTop=0),Ip(this._element),this._element.classList.add(gW);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,qt.trigger(this._element,e_e,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){qt.on(this._element,i_e,t=>{if(t.key===Qye){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),qt.on(window,t_e,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),qt.on(this._element,n_e,t=>{qt.one(this._element,r_e,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(pW),this._resetAdjustments(),this._scrollBar.reset(),qt.trigger(this._element,Mre)})}_isAnimated(){return this._element.classList.contains(o_e)}_triggerBackdropTransition(){if(qt.trigger(this._element,Zye).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(ZT)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(ZT),this._queueCallback(()=>{this._element.classList.remove(ZT),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const i=Ns()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=Ns()?"paddingRight":"paddingLeft";this._element.style[i]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Fre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};qt.on(document,a_e,c_e,function(e){const t=Or.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),qt.one(t,$re,i=>{i.defaultPrevented||qt.one(t,Mre,()=>{_h(this)&&this.focus()})});const r=Or.findOne(s_e);r&&iy.getInstance(r).hide(),iy.getOrCreateInstance(t).toggle(this)});O_(iy);js(iy);const h_e="offcanvas",v_e="bs.offcanvas",Sl=`.${v_e}`,jre=".data-api",p_e=`load${Sl}${jre}`,g_e="Escape",mW="show",yW="showing",_W="hiding",m_e="offcanvas-backdrop",Ure=".offcanvas.show",y_e=`show${Sl}`,__e=`shown${Sl}`,S_e=`hide${Sl}`,SW=`hidePrevented${Sl}`,qre=`hidden${Sl}`,E_e=`resize${Sl}`,w_e=`click${Sl}${jre}`,b_e=`keydown.dismiss${Sl}`,T_e='[data-bs-toggle="offcanvas"]',R_e={backdrop:!0,keyboard:!0,scroll:!1},x_e={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ic extends iu{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return R_e}static get DefaultType(){return x_e}static get NAME(){return h_e}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||qt.trigger(this._element,y_e,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yI().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(yW);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(mW),this._element.classList.remove(yW),qt.trigger(this._element,__e,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||qt.trigger(this._element,S_e).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(_W),this._backdrop.hide();const r=()=>{this._element.classList.remove(mW,_W),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yI().reset(),qt.trigger(this._element,qre)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){qt.trigger(this._element,SW);return}this.hide()},r=!!this._config.backdrop;return new Nre({className:m_e,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new Lre({trapElement:this._element})}_addEventListeners(){qt.on(this._element,b_e,t=>{if(t.key===g_e){if(this._config.keyboard){this.hide();return}qt.trigger(this._element,SW)}})}static jQueryInterface(t){return this.each(function(){const r=ic.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}qt.on(document,w_e,T_e,function(e){const t=Or.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),nc(this))return;qt.one(t,qre,()=>{_h(this)&&this.focus()});const r=Or.findOne(Ure);r&&r!==t&&ic.getInstance(r).hide(),ic.getOrCreateInstance(t).toggle(this)});qt.on(window,p_e,()=>{for(const e of Or.find(Ure))ic.getOrCreateInstance(e).show()});qt.on(window,E_e,()=>{for(const e of Or.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&ic.getOrCreateInstance(e).hide()});O_(ic);js(ic);const C_e=/^aria-[\w-]*$/i,Vre={"*":["class","dir","id","lang","role",C_e],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},A_e=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),O_e=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,I_e=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?A_e.has(r)?!!O_e.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function P_e(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const i=new window.DOMParser().parseFromString(e,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const o of a){const s=o.nodeName.toLowerCase();if(!Object.keys(t).includes(s)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[s]||[]);for(const d of l)I_e(d,c)||o.removeAttribute(d.nodeName)}return i.body.innerHTML}const D_e="TemplateFactory",k_e={allowList:Vre,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},N_e={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},L_e={entry:"(string|element|function|null)",selector:"(string|element)"};class M_e extends Pp{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return k_e}static get DefaultType(){return N_e}static get NAME(){return D_e}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},L_e)}_setContent(t,r,n){const i=Or.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(ol(r)){this._putElementInTemplate(rc(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?P_e(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return ko(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const $_e="tooltip",F_e=new Set(["sanitize","allowList","sanitizeFn"]),eR="fade",j_e="modal",Jg="show",U_e=".tooltip-inner",EW=`.${j_e}`,wW="hide.bs.modal",iv="hover",tR="focus",q_e="click",V_e="manual",B_e="hide",H_e="hidden",z_e="show",W_e="shown",G_e="inserted",Y_e="click",K_e="focusin",X_e="focusout",Q_e="mouseenter",J_e="mouseleave",Z_e={AUTO:"auto",TOP:"top",RIGHT:Ns()?"left":"right",BOTTOM:"bottom",LEFT:Ns()?"right":"left"},e0e={allowList:Vre,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},t0e={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};let I_=class Bre extends iu{constructor(t,r){if(typeof cre>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return e0e}static get DefaultType(){return t0e}static get NAME(){return $_e}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),qt.off(this._element.closest(EW),wW,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=qt.trigger(this._element,this.constructor.eventName(z_e)),n=(hre(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),qt.trigger(this._element,this.constructor.eventName(G_e))),this._popper=this._createPopper(i),i.classList.add(Jg),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))qt.on(s,"mouseover",ty);const o=()=>{qt.trigger(this._element,this.constructor.eventName(W_e)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||qt.trigger(this._element,this.constructor.eventName(B_e)).defaultPrevented)return;if(this._getTipElement().classList.remove(Jg),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))qt.off(i,"mouseover",ty);this._activeTrigger[q_e]=!1,this._activeTrigger[tR]=!1,this._activeTrigger[iv]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),qt.trigger(this._element,this.constructor.eventName(H_e)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(eR,Jg),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=qge(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(eR),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new M_e({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[U_e]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(eR)}_isShown(){return this.tip&&this.tip.classList.contains(Jg)}_createPopper(t){const r=ko(this._config.placement,[this,t,this._element]),n=Z_e[r.toUpperCase()];return SD(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return ko(t,[this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...ko(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")qt.on(this._element,this.constructor.eventName(Y_e),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==V_e){const n=r===iv?this.constructor.eventName(Q_e):this.constructor.eventName(K_e),i=r===iv?this.constructor.eventName(J_e):this.constructor.eventName(X_e);qt.on(this._element,n,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?tR:iv]=!0,o._enter()}),qt.on(this._element,i,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?tR:iv]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},qt.on(this._element.closest(EW),wW,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=sl.getDataAttributes(this._element);for(const n of Object.keys(r))F_e.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:rc(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(t[r]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=Bre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(I_);const r0e="popover",n0e=".popover-header",i0e=".popover-body",a0e={...I_.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},o0e={...I_.DefaultType,content:"(null|string|element|function)"};let s0e=class Hre extends I_{static get Default(){return a0e}static get DefaultType(){return o0e}static get NAME(){return r0e}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[n0e]:this._getTitle(),[i0e]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Hre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(s0e);const u0e="scrollspy",l0e="bs.scrollspy",TD=`.${l0e}`,c0e=".data-api",f0e=`activate${TD}`,bW=`click${TD}`,d0e=`load${TD}${c0e}`,h0e="dropdown-item",vd="active",v0e='[data-bs-spy="scroll"]',rR="[href]",p0e=".nav, .list-group",TW=".nav-link",g0e=".nav-item",m0e=".list-group-item",y0e=`${TW}, ${g0e} > ${TW}, ${m0e}`,_0e=".dropdown",S0e=".dropdown-toggle",E0e={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},w0e={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class P_ extends iu{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return E0e}static get DefaultType(){return w0e}static get NAME(){return u0e}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=rc(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(qt.off(this._config.target,bW),qt.on(this._config.target,bW,rR,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,i=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(r(o))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(o));continue}const s=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&s){if(n(o),!i)return;continue}!a&&!s&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Or.find(rR,this._config.target);for(const r of t){if(!r.hash||nc(r))continue;const n=Or.findOne(decodeURI(r.hash),this._element);_h(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(vd),this._activateParents(t),qt.trigger(this._element,f0e,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(h0e)){Or.findOne(S0e,t.closest(_0e)).classList.add(vd);return}for(const r of Or.parents(t,p0e))for(const n of Or.prev(r,y0e))n.classList.add(vd)}_clearActiveClass(t){t.classList.remove(vd);const r=Or.find(`${rR}.${vd}`,t);for(const n of r)n.classList.remove(vd)}static jQueryInterface(t){return this.each(function(){const r=P_.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}qt.on(window,d0e,()=>{for(const e of Or.find(v0e))P_.getOrCreateInstance(e)});js(P_);const b0e="tab",T0e="bs.tab",If=`.${T0e}`,R0e=`hide${If}`,x0e=`hidden${If}`,C0e=`show${If}`,A0e=`shown${If}`,O0e=`click${If}`,I0e=`keydown${If}`,P0e=`load${If}`,D0e="ArrowLeft",RW="ArrowRight",k0e="ArrowUp",xW="ArrowDown",nR="Home",CW="End",Gc="active",AW="fade",iR="show",N0e="dropdown",zre=".dropdown-toggle",L0e=".dropdown-menu",aR=`:not(${zre})`,M0e='.list-group, .nav, [role="tablist"]',$0e=".nav-item, .list-group-item",F0e=`.nav-link${aR}, .list-group-item${aR}, [role="tab"]${aR}`,Wre='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',oR=`${F0e}, ${Wre}`,j0e=`.${Gc}[data-bs-toggle="tab"], .${Gc}[data-bs-toggle="pill"], .${Gc}[data-bs-toggle="list"]`;class Kd extends iu{constructor(t){super(t),this._parent=this._element.closest(M0e),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),qt.on(this._element,I0e,r=>this._keydown(r)))}static get NAME(){return b0e}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?qt.trigger(r,R0e,{relatedTarget:t}):null;qt.trigger(t,C0e,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Gc),this._activate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(iR);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),qt.trigger(t,A0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(AW))}_deactivate(t,r){if(!t)return;t.classList.remove(Gc),t.blur(),this._deactivate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(iR);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),qt.trigger(t,x0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(AW))}_keydown(t){if(![D0e,RW,k0e,xW,nR,CW].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!nc(i));let n;if([nR,CW].includes(t.key))n=r[t.key===nR?0:r.length-1];else{const i=[RW,xW].includes(t.key);n=ED(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Kd.getOrCreateInstance(n).show())}_getChildren(){return Or.find(oR,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Or.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(N0e))return;const i=(a,o)=>{const s=Or.findOne(a,n);s&&s.classList.toggle(o,r)};i(zre,Gc),i(L0e,iR),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Gc)}_getInnerElement(t){return t.matches(oR)?t:Or.findOne(oR,t)}_getOuterElement(t){return t.closest($0e)||t}static jQueryInterface(t){return this.each(function(){const r=Kd.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}qt.on(document,O0e,Wre,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!nc(this)&&Kd.getOrCreateInstance(this).show()});qt.on(window,P0e,()=>{for(const e of Or.find(j0e))Kd.getOrCreateInstance(e)});js(Kd);const U0e="toast",q0e="bs.toast",fc=`.${q0e}`,V0e=`mouseover${fc}`,B0e=`mouseout${fc}`,H0e=`focusin${fc}`,z0e=`focusout${fc}`,W0e=`hide${fc}`,G0e=`hidden${fc}`,Y0e=`show${fc}`,K0e=`shown${fc}`,X0e="fade",OW="hide",Zg="show",em="showing",Q0e={animation:"boolean",autohide:"boolean",delay:"number"},J0e={animation:!0,autohide:!0,delay:5e3};class D_ extends iu{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return J0e}static get DefaultType(){return Q0e}static get NAME(){return U0e}show(){if(qt.trigger(this._element,Y0e).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(X0e);const r=()=>{this._element.classList.remove(em),qt.trigger(this._element,K0e),this._maybeScheduleHide()};this._element.classList.remove(OW),Ip(this._element),this._element.classList.add(Zg,em),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||qt.trigger(this._element,W0e).defaultPrevented)return;const r=()=>{this._element.classList.add(OW),this._element.classList.remove(em,Zg),qt.trigger(this._element,G0e)};this._element.classList.add(em),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Zg),super.dispose()}isShown(){return this._element.classList.contains(Zg)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){qt.on(this._element,V0e,t=>this._onInteraction(t,!0)),qt.on(this._element,B0e,t=>this._onInteraction(t,!1)),qt.on(this._element,H0e,t=>this._onInteraction(t,!0)),qt.on(this._element,z0e,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=D_.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}O_(D_);js(D_);var Im={exports:{}},Pm={exports:{}},Z0e=Pm.exports,IW;function Gre(){return IW||(IW=1,(function(e,t){(function(r,n){e.exports=n()})(Z0e,(function(){var r="1.13.7",n=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},i=Array.prototype,a=Object.prototype,o=typeof Symbol<"u"?Symbol.prototype:null,s=i.push,l=i.slice,c=a.toString,d=a.hasOwnProperty,h=typeof ArrayBuffer<"u",v=typeof DataView<"u",g=Array.isArray,S=Object.keys,E=Object.create,y=h&&ArrayBuffer.isView,w=isNaN,b=isFinite,A=!{toString:null}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],C=Math.pow(2,53)-1;function O(ie,ve){return ve=ve==null?ie.length-1:+ve,function(){for(var Pe=Math.max(arguments.length-ve,0),Me=Array(Pe),Be=0;Be<Pe;Be++)Me[Be]=arguments[Be+ve];switch(ve){case 0:return ie.call(this,Me);case 1:return ie.call(this,arguments[0],Me);case 2:return ie.call(this,arguments[0],arguments[1],Me)}var Ke=Array(ve+1);for(Be=0;Be<ve;Be++)Ke[Be]=arguments[Be];return Ke[ve]=Me,ie.apply(this,Ke)}}function m(ie){var ve=typeof ie;return ve==="function"||ve==="object"&&!!ie}function D(ie){return ie===null}function k(ie){return ie===void 0}function q(ie){return ie===!0||ie===!1||c.call(ie)==="[object Boolean]"}function j(ie){return!!(ie&&ie.nodeType===1)}function W(ie){var ve="[object "+ie+"]";return function(Pe){return c.call(Pe)===ve}}var K=W("String"),X=W("Number"),Q=W("Date"),J=W("RegExp"),re=W("Error"),$=W("Symbol"),N=W("ArrayBuffer"),U=W("Function"),ee=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof ee!="function"&&(U=function(ie){return typeof ie=="function"||!1});var te=U,de=W("Object"),Se=v&&(!/\[native code\]/.test(String(DataView))||de(new DataView(new ArrayBuffer(8)))),xe=typeof Map<"u"&&de(new Map),ue=W("DataView");function I(ie){return ie!=null&&te(ie.getInt8)&&N(ie.buffer)}var P=Se?I:ue,B=g||W("Array");function L(ie,ve){return ie!=null&&d.call(ie,ve)}var H=W("Arguments");(function(){H(arguments)||(H=function(ie){return L(ie,"callee")})})();var ne=H;function ce(ie){return!$(ie)&&b(ie)&&!isNaN(parseFloat(ie))}function we(ie){return X(ie)&&w(ie)}function _e(ie){return function(){return ie}}function Oe(ie){return function(ve){var Pe=ie(ve);return typeof Pe=="number"&&Pe>=0&&Pe<=C}}function Re(ie){return function(ve){return ve==null?void 0:ve[ie]}}var Ie=Re("byteLength"),$e=Oe(Ie),me=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function be(ie){return y?y(ie)&&!P(ie):$e(ie)&&me.test(c.call(ie))}var Te=h?be:_e(!1),Ne=Re("length");function Ve(ie){for(var ve={},Pe=ie.length,Me=0;Me<Pe;++Me)ve[ie[Me]]=!0;return{contains:function(Be){return ve[Be]===!0},push:function(Be){return ve[Be]=!0,ie.push(Be)}}}function qe(ie,ve){ve=Ve(ve);var Pe=R.length,Me=ie.constructor,Be=te(Me)&&Me.prototype||a,Ke="constructor";for(L(ie,Ke)&&!ve.contains(Ke)&&ve.push(Ke);Pe--;)Ke=R[Pe],Ke in ie&&ie[Ke]!==Be[Ke]&&!ve.contains(Ke)&&ve.push(Ke)}function Ge(ie){if(!m(ie))return[];if(S)return S(ie);var ve=[];for(var Pe in ie)L(ie,Pe)&&ve.push(Pe);return A&&qe(ie,ve),ve}function ct(ie){if(ie==null)return!0;var ve=Ne(ie);return typeof ve=="number"&&(B(ie)||K(ie)||ne(ie))?ve===0:Ne(Ge(ie))===0}function Ut(ie,ve){var Pe=Ge(ve),Me=Pe.length;if(ie==null)return!Me;for(var Be=Object(ie),Ke=0;Ke<Me;Ke++){var xt=Pe[Ke];if(ve[xt]!==Be[xt]||!(xt in Be))return!1}return!0}function Wt(ie){if(ie instanceof Wt)return ie;if(!(this instanceof Wt))return new Wt(ie);this._wrapped=ie}Wt.VERSION=r,Wt.prototype.value=function(){return this._wrapped},Wt.prototype.valueOf=Wt.prototype.toJSON=Wt.prototype.value,Wt.prototype.toString=function(){return String(this._wrapped)};function Je(ie){return new Uint8Array(ie.buffer||ie,ie.byteOffset||0,Ie(ie))}var Rt="[object DataView]";function _t(ie,ve,Pe,Me){if(ie===ve)return ie!==0||1/ie===1/ve;if(ie==null||ve==null)return!1;if(ie!==ie)return ve!==ve;var Be=typeof ie;return Be!=="function"&&Be!=="object"&&typeof ve!="object"?!1:st(ie,ve,Pe,Me)}function st(ie,ve,Pe,Me){ie instanceof Wt&&(ie=ie._wrapped),ve instanceof Wt&&(ve=ve._wrapped);var Be=c.call(ie);if(Be!==c.call(ve))return!1;if(Se&&Be=="[object Object]"&&P(ie)){if(!P(ve))return!1;Be=Rt}switch(Be){case"[object RegExp]":case"[object String]":return""+ie==""+ve;case"[object Number]":return+ie!=+ie?+ve!=+ve:+ie==0?1/+ie===1/ve:+ie==+ve;case"[object Date]":case"[object Boolean]":return+ie==+ve;case"[object Symbol]":return o.valueOf.call(ie)===o.valueOf.call(ve);case"[object ArrayBuffer]":case Rt:return st(Je(ie),Je(ve),Pe,Me)}var Ke=Be==="[object Array]";if(!Ke&&Te(ie)){var xt=Ie(ie);if(xt!==Ie(ve))return!1;if(ie.buffer===ve.buffer&&ie.byteOffset===ve.byteOffset)return!0;Ke=!0}if(!Ke){if(typeof ie!="object"||typeof ve!="object")return!1;var Kt=ie.constructor,Vr=ve.constructor;if(Kt!==Vr&&!(te(Kt)&&Kt instanceof Kt&&te(Vr)&&Vr instanceof Vr)&&"constructor"in ie&&"constructor"in ve)return!1}Pe=Pe||[],Me=Me||[];for(var kr=Pe.length;kr--;)if(Pe[kr]===ie)return Me[kr]===ve;if(Pe.push(ie),Me.push(ve),Ke){if(kr=ie.length,kr!==ve.length)return!1;for(;kr--;)if(!_t(ie[kr],ve[kr],Pe,Me))return!1}else{var ei=Ge(ie),Ei;if(kr=ei.length,Ge(ve).length!==kr)return!1;for(;kr--;)if(Ei=ei[kr],!(L(ve,Ei)&&_t(ie[Ei],ve[Ei],Pe,Me)))return!1}return Pe.pop(),Me.pop(),!0}function rt(ie,ve){return _t(ie,ve)}function dt(ie){if(!m(ie))return[];var ve=[];for(var Pe in ie)ve.push(Pe);return A&&qe(ie,ve),ve}function Yt(ie){var ve=Ne(ie);return function(Pe){if(Pe==null)return!1;var Me=dt(Pe);if(Ne(Me))return!1;for(var Be=0;Be<ve;Be++)if(!te(Pe[ie[Be]]))return!1;return ie!==Nt||!te(Pe[Lt])}}var Lt="forEach",Ce="has",Ze=["clear","delete"],ut=["get",Ce,"set"],wt=Ze.concat(Lt,ut),Nt=Ze.concat(ut),nr=["add"].concat(Ze,Lt,Ce),mr=xe?Yt(wt):W("Map"),ir=xe?Yt(Nt):W("WeakMap"),Sr=xe?Yt(nr):W("Set"),jr=W("WeakSet");function Wr(ie){for(var ve=Ge(ie),Pe=ve.length,Me=Array(Pe),Be=0;Be<Pe;Be++)Me[Be]=ie[ve[Be]];return Me}function Hn(ie){for(var ve=Ge(ie),Pe=ve.length,Me=Array(Pe),Be=0;Be<Pe;Be++)Me[Be]=[ve[Be],ie[ve[Be]]];return Me}function zn(ie){for(var ve={},Pe=Ge(ie),Me=0,Be=Pe.length;Me<Be;Me++)ve[ie[Pe[Me]]]=Pe[Me];return ve}function Jn(ie){var ve=[];for(var Pe in ie)te(ie[Pe])&&ve.push(Pe);return ve.sort()}function bn(ie,ve){return function(Pe){var Me=arguments.length;if(ve&&(Pe=Object(Pe)),Me<2||Pe==null)return Pe;for(var Be=1;Be<Me;Be++)for(var Ke=arguments[Be],xt=ie(Ke),Kt=xt.length,Vr=0;Vr<Kt;Vr++){var kr=xt[Vr];(!ve||Pe[kr]===void 0)&&(Pe[kr]=Ke[kr])}return Pe}}var ai=bn(dt),fi=bn(Ge),Ci=bn(dt,!0);function _i(){return function(){}}function Vi(ie){if(!m(ie))return{};if(E)return E(ie);var ve=_i();ve.prototype=ie;var Pe=new ve;return ve.prototype=null,Pe}function Gi(ie,ve){var Pe=Vi(ie);return ve&&fi(Pe,ve),Pe}function Pn(ie){return m(ie)?B(ie)?ie.slice():ai({},ie):ie}function oi(ie,ve){return ve(ie),ie}function Di(ie){return B(ie)?ie:[ie]}Wt.toPath=Di;function Ai(ie){return Wt.toPath(ie)}function ot(ie,ve){for(var Pe=ve.length,Me=0;Me<Pe;Me++){if(ie==null)return;ie=ie[ve[Me]]}return Pe?ie:void 0}function Dt(ie,ve,Pe){var Me=ot(ie,Ai(ve));return k(Me)?Pe:Me}function gt(ie,ve){ve=Ai(ve);for(var Pe=ve.length,Me=0;Me<Pe;Me++){var Be=ve[Me];if(!L(ie,Be))return!1;ie=ie[Be]}return!!Pe}function et(ie){return ie}function fe(ie){return ie=fi({},ie),function(ve){return Ut(ve,ie)}}function nt(ie){return ie=Ai(ie),function(ve){return ot(ve,ie)}}function ze(ie,ve,Pe){if(ve===void 0)return ie;switch(Pe??3){case 1:return function(Me){return ie.call(ve,Me)};case 3:return function(Me,Be,Ke){return ie.call(ve,Me,Be,Ke)};case 4:return function(Me,Be,Ke,xt){return ie.call(ve,Me,Be,Ke,xt)}}return function(){return ie.apply(ve,arguments)}}function Tt(ie,ve,Pe){return ie==null?et:te(ie)?ze(ie,ve,Pe):m(ie)&&!B(ie)?fe(ie):nt(ie)}function yt(ie,ve){return Tt(ie,ve,1/0)}Wt.iteratee=yt;function zt(ie,ve,Pe){return Wt.iteratee!==yt?Wt.iteratee(ie,ve):Tt(ie,ve,Pe)}function Xt(ie,ve,Pe){ve=zt(ve,Pe);for(var Me=Ge(ie),Be=Me.length,Ke={},xt=0;xt<Be;xt++){var Kt=Me[xt];Ke[Kt]=ve(ie[Kt],Kt,ie)}return Ke}function bt(){}function Tr(ie){return ie==null?bt:function(ve){return Dt(ie,ve)}}function Xr(ie,ve,Pe){var Me=Array(Math.max(0,ie));ve=ze(ve,Pe,1);for(var Be=0;Be<ie;Be++)Me[Be]=ve(Be);return Me}function Tn(ie,ve){return ve==null&&(ve=ie,ie=0),ie+Math.floor(Math.random()*(ve-ie+1))}var kt=Date.now||function(){return new Date().getTime()};function Qr(ie){var ve=function(Ke){return ie[Ke]},Pe="(?:"+Ge(ie).join("|")+")",Me=RegExp(Pe),Be=RegExp(Pe,"g");return function(Ke){return Ke=Ke==null?"":""+Ke,Me.test(Ke)?Ke.replace(Be,ve):Ke}}var Wn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Mn=Qr(Wn),yo=zn(Wn),di=Qr(yo),oa=Wt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},sa=/(.)^/,zo={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},to=/\\|'|\r|\n|\u2028|\u2029/g;function Ua(ie){return"\\"+zo[ie]}var z=/^\s*(\w|\$)+\s*$/;function se(ie,ve,Pe){!ve&&Pe&&(ve=Pe),ve=Ci({},ve,Wt.templateSettings);var Me=RegExp([(ve.escape||sa).source,(ve.interpolate||sa).source,(ve.evaluate||sa).source].join("|")+"|$","g"),Be=0,Ke="__p+='";ie.replace(Me,function(kr,ei,Ei,wl,Qo){return Ke+=ie.slice(Be,Qo).replace(to,Ua),Be=Qo+kr.length,ei?Ke+=`'+
19
- ((__t=(`+ei+`))==null?'':_.escape(__t))+
20
- '`:Ei?Ke+=`'+
21
- ((__t=(`+Ei+`))==null?'':__t)+
22
- '`:wl&&(Ke+=`';
23
- `+wl+`
24
- __p+='`),kr}),Ke+=`';
25
- `;var xt=ve.variable;if(xt){if(!z.test(xt))throw new Error("variable is not a bare identifier: "+xt)}else Ke=`with(obj||{}){
26
- `+Ke+`}
27
- `,xt="obj";Ke=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
28
- `+Ke+`return __p;
29
- `;var Kt;try{Kt=new Function(xt,"_",Ke)}catch(kr){throw kr.source=Ke,kr}var Vr=function(kr){return Kt.call(this,kr,Wt)};return Vr.source="function("+xt+`){
30
- `+Ke+"}",Vr}function Ee(ie,ve,Pe){ve=Ai(ve);var Me=ve.length;if(!Me)return te(Pe)?Pe.call(ie):Pe;for(var Be=0;Be<Me;Be++){var Ke=ie==null?void 0:ie[ve[Be]];Ke===void 0&&(Ke=Pe,Be=Me),ie=te(Ke)?Ke.call(ie):Ke}return ie}var je=0;function vt(ie){var ve=++je+"";return ie?ie+ve:ve}function it(ie){var ve=Wt(ie);return ve._chain=!0,ve}function At(ie,ve,Pe,Me,Be){if(!(Me instanceof ve))return ie.apply(Pe,Be);var Ke=Vi(ie.prototype),xt=ie.apply(Ke,Be);return m(xt)?xt:Ke}var Bt=O(function(ie,ve){var Pe=Bt.placeholder,Me=function(){for(var Be=0,Ke=ve.length,xt=Array(Ke),Kt=0;Kt<Ke;Kt++)xt[Kt]=ve[Kt]===Pe?arguments[Be++]:ve[Kt];for(;Be<arguments.length;)xt.push(arguments[Be++]);return At(ie,Me,this,this,xt)};return Me});Bt.placeholder=Wt;var Jt=O(function(ie,ve,Pe){if(!te(ie))throw new TypeError("Bind must be called on a function");var Me=O(function(Be){return At(ie,Me,ve,this,Pe.concat(Be))});return Me}),Er=Oe(Ne);function Ar(ie,ve,Pe,Me){if(Me=Me||[],!ve&&ve!==0)ve=1/0;else if(ve<=0)return Me.concat(ie);for(var Be=Me.length,Ke=0,xt=Ne(ie);Ke<xt;Ke++){var Kt=ie[Ke];if(Er(Kt)&&(B(Kt)||ne(Kt)))if(ve>1)Ar(Kt,ve-1,Pe,Me),Be=Me.length;else for(var Vr=0,kr=Kt.length;Vr<kr;)Me[Be++]=Kt[Vr++];else Pe||(Me[Be++]=Kt)}return Me}var $n=O(function(ie,ve){ve=Ar(ve,!1,!1);var Pe=ve.length;if(Pe<1)throw new Error("bindAll must be passed function names");for(;Pe--;){var Me=ve[Pe];ie[Me]=Jt(ie[Me],ie)}return ie});function ki(ie,ve){var Pe=function(Me){var Be=Pe.cache,Ke=""+(ve?ve.apply(this,arguments):Me);return L(Be,Ke)||(Be[Ke]=ie.apply(this,arguments)),Be[Ke]};return Pe.cache={},Pe}var Ni=O(function(ie,ve,Pe){return setTimeout(function(){return ie.apply(null,Pe)},ve)}),ms=Bt(Ni,Wt,1);function lu(ie,ve,Pe){var Me,Be,Ke,xt,Kt=0;Pe||(Pe={});var Vr=function(){Kt=Pe.leading===!1?0:kt(),Me=null,xt=ie.apply(Be,Ke),Me||(Be=Ke=null)},kr=function(){var ei=kt();!Kt&&Pe.leading===!1&&(Kt=ei);var Ei=ve-(ei-Kt);return Be=this,Ke=arguments,Ei<=0||Ei>ve?(Me&&(clearTimeout(Me),Me=null),Kt=ei,xt=ie.apply(Be,Ke),Me||(Be=Ke=null)):!Me&&Pe.trailing!==!1&&(Me=setTimeout(Vr,Ei)),xt};return kr.cancel=function(){clearTimeout(Me),Kt=0,Me=Be=Ke=null},kr}function ys(ie,ve,Pe){var Me,Be,Ke,xt,Kt,Vr=function(){var ei=kt()-Be;ve>ei?Me=setTimeout(Vr,ve-ei):(Me=null,Pe||(xt=ie.apply(Kt,Ke)),Me||(Ke=Kt=null))},kr=O(function(ei){return Kt=this,Ke=ei,Be=kt(),Me||(Me=setTimeout(Vr,ve),Pe&&(xt=ie.apply(Kt,Ke))),xt});return kr.cancel=function(){clearTimeout(Me),Me=Ke=Kt=null},kr}function ro(ie,ve){return Bt(ve,ie)}function Si(ie){return function(){return!ie.apply(this,arguments)}}function qa(){var ie=arguments,ve=ie.length-1;return function(){for(var Pe=ve,Me=ie[ve].apply(this,arguments);Pe--;)Me=ie[Pe].call(this,Me);return Me}}function no(ie,ve){return function(){if(--ie<1)return ve.apply(this,arguments)}}function hn(ie,ve){var Pe;return function(){return--ie>0&&(Pe=ve.apply(this,arguments)),ie<=1&&(ve=null),Pe}}var va=Bt(hn,2);function Wo(ie,ve,Pe){ve=zt(ve,Pe);for(var Me=Ge(ie),Be,Ke=0,xt=Me.length;Ke<xt;Ke++)if(Be=Me[Ke],ve(ie[Be],Be,ie))return Be}function Go(ie){return function(ve,Pe,Me){Pe=zt(Pe,Me);for(var Be=Ne(ve),Ke=ie>0?0:Be-1;Ke>=0&&Ke<Be;Ke+=ie)if(Pe(ve[Ke],Ke,ve))return Ke;return-1}}var ea=Go(1),Us=Go(-1);function io(ie,ve,Pe,Me){Pe=zt(Pe,Me,1);for(var Be=Pe(ve),Ke=0,xt=Ne(ie);Ke<xt;){var Kt=Math.floor((Ke+xt)/2);Pe(ie[Kt])<Be?Ke=Kt+1:xt=Kt}return Ke}function _s(ie,ve,Pe){return function(Me,Be,Ke){var xt=0,Kt=Ne(Me);if(typeof Ke=="number")ie>0?xt=Ke>=0?Ke:Math.max(Ke+Kt,xt):Kt=Ke>=0?Math.min(Ke+1,Kt):Ke+Kt+1;else if(Pe&&Ke&&Kt)return Ke=Pe(Me,Be),Me[Ke]===Be?Ke:-1;if(Be!==Be)return Ke=ve(l.call(Me,xt,Kt),we),Ke>=0?Ke+xt:-1;for(Ke=ie>0?xt:Kt-1;Ke>=0&&Ke<Kt;Ke+=ie)if(Me[Ke]===Be)return Ke;return-1}}var qs=_s(1,ea,io),Nu=_s(-1,Us);function ao(ie,ve,Pe){var Me=Er(ie)?ea:Wo,Be=Me(ie,ve,Pe);if(Be!==void 0&&Be!==-1)return ie[Be]}function _o(ie,ve){return ao(ie,fe(ve))}function Bi(ie,ve,Pe){ve=ze(ve,Pe);var Me,Be;if(Er(ie))for(Me=0,Be=ie.length;Me<Be;Me++)ve(ie[Me],Me,ie);else{var Ke=Ge(ie);for(Me=0,Be=Ke.length;Me<Be;Me++)ve(ie[Ke[Me]],Ke[Me],ie)}return ie}function pa(ie,ve,Pe){ve=zt(ve,Pe);for(var Me=!Er(ie)&&Ge(ie),Be=(Me||ie).length,Ke=Array(Be),xt=0;xt<Be;xt++){var Kt=Me?Me[xt]:xt;Ke[xt]=ve(ie[Kt],Kt,ie)}return Ke}function Lu(ie){var ve=function(Pe,Me,Be,Ke){var xt=!Er(Pe)&&Ge(Pe),Kt=(xt||Pe).length,Vr=ie>0?0:Kt-1;for(Ke||(Be=Pe[xt?xt[Vr]:Vr],Vr+=ie);Vr>=0&&Vr<Kt;Vr+=ie){var kr=xt?xt[Vr]:Vr;Be=Me(Be,Pe[kr],kr,Pe)}return Be};return function(Pe,Me,Be,Ke){var xt=arguments.length>=3;return ve(Pe,ze(Me,Ke,4),Be,xt)}}var Yo=Lu(1),Ko=Lu(-1);function ga(ie,ve,Pe){var Me=[];return ve=zt(ve,Pe),Bi(ie,function(Be,Ke,xt){ve(Be,Ke,xt)&&Me.push(Be)}),Me}function Vs(ie,ve,Pe){return ga(ie,Si(zt(ve)),Pe)}function Mu(ie,ve,Pe){ve=zt(ve,Pe);for(var Me=!Er(ie)&&Ge(ie),Be=(Me||ie).length,Ke=0;Ke<Be;Ke++){var xt=Me?Me[Ke]:Ke;if(!ve(ie[xt],xt,ie))return!1}return!0}function Li(ie,ve,Pe){ve=zt(ve,Pe);for(var Me=!Er(ie)&&Ge(ie),Be=(Me||ie).length,Ke=0;Ke<Be;Ke++){var xt=Me?Me[Ke]:Ke;if(ve(ie[xt],xt,ie))return!0}return!1}function ma(ie,ve,Pe,Me){return Er(ie)||(ie=Wr(ie)),(typeof Pe!="number"||Me)&&(Pe=0),qs(ie,ve,Pe)>=0}var So=O(function(ie,ve,Pe){var Me,Be;return te(ve)?Be=ve:(ve=Ai(ve),Me=ve.slice(0,-1),ve=ve[ve.length-1]),pa(ie,function(Ke){var xt=Be;if(!xt){if(Me&&Me.length&&(Ke=ot(Ke,Me)),Ke==null)return;xt=Ke[ve]}return xt==null?xt:xt.apply(Ke,Pe)})});function Xo(ie,ve){return pa(ie,nt(ve))}function Eo(ie,ve){return ga(ie,fe(ve))}function wo(ie,ve,Pe){var Me=-1/0,Be=-1/0,Ke,xt;if(ve==null||typeof ve=="number"&&typeof ie[0]!="object"&&ie!=null){ie=Er(ie)?ie:Wr(ie);for(var Kt=0,Vr=ie.length;Kt<Vr;Kt++)Ke=ie[Kt],Ke!=null&&Ke>Me&&(Me=Ke)}else ve=zt(ve,Pe),Bi(ie,function(kr,ei,Ei){xt=ve(kr,ei,Ei),(xt>Be||xt===-1/0&&Me===-1/0)&&(Me=kr,Be=xt)});return Me}function _(ie,ve,Pe){var Me=1/0,Be=1/0,Ke,xt;if(ve==null||typeof ve=="number"&&typeof ie[0]!="object"&&ie!=null){ie=Er(ie)?ie:Wr(ie);for(var Kt=0,Vr=ie.length;Kt<Vr;Kt++)Ke=ie[Kt],Ke!=null&&Ke<Me&&(Me=Ke)}else ve=zt(ve,Pe),Bi(ie,function(kr,ei,Ei){xt=ve(kr,ei,Ei),(xt<Be||xt===1/0&&Me===1/0)&&(Me=kr,Be=xt)});return Me}var x=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function M(ie){return ie?B(ie)?l.call(ie):K(ie)?ie.match(x):Er(ie)?pa(ie,et):Wr(ie):[]}function Y(ie,ve,Pe){if(ve==null||Pe)return Er(ie)||(ie=Wr(ie)),ie[Tn(ie.length-1)];var Me=M(ie),Be=Ne(Me);ve=Math.max(Math.min(ve,Be),0);for(var Ke=Be-1,xt=0;xt<ve;xt++){var Kt=Tn(xt,Ke),Vr=Me[xt];Me[xt]=Me[Kt],Me[Kt]=Vr}return Me.slice(0,ve)}function ae(ie){return Y(ie,1/0)}function le(ie,ve,Pe){var Me=0;return ve=zt(ve,Pe),Xo(pa(ie,function(Be,Ke,xt){return{value:Be,index:Me++,criteria:ve(Be,Ke,xt)}}).sort(function(Be,Ke){var xt=Be.criteria,Kt=Ke.criteria;if(xt!==Kt){if(xt>Kt||xt===void 0)return 1;if(xt<Kt||Kt===void 0)return-1}return Be.index-Ke.index}),"value")}function he(ie,ve){return function(Pe,Me,Be){var Ke=ve?[[],[]]:{};return Me=zt(Me,Be),Bi(Pe,function(xt,Kt){var Vr=Me(xt,Kt,Pe);ie(Ke,xt,Vr)}),Ke}}var Fe=he(function(ie,ve,Pe){L(ie,Pe)?ie[Pe].push(ve):ie[Pe]=[ve]}),ke=he(function(ie,ve,Pe){ie[Pe]=ve}),Ye=he(function(ie,ve,Pe){L(ie,Pe)?ie[Pe]++:ie[Pe]=1}),Et=he(function(ie,ve,Pe){ie[Pe?0:1].push(ve)},!0);function Ct(ie){return ie==null?0:Er(ie)?ie.length:Ge(ie).length}function ft(ie,ve,Pe){return ve in Pe}var Ft=O(function(ie,ve){var Pe={},Me=ve[0];if(ie==null)return Pe;te(Me)?(ve.length>1&&(Me=ze(Me,ve[1])),ve=dt(ie)):(Me=ft,ve=Ar(ve,!1,!1),ie=Object(ie));for(var Be=0,Ke=ve.length;Be<Ke;Be++){var xt=ve[Be],Kt=ie[xt];Me(Kt,xt,ie)&&(Pe[xt]=Kt)}return Pe}),Rr=O(function(ie,ve){var Pe=ve[0],Me;return te(Pe)?(Pe=Si(Pe),ve.length>1&&(Me=ve[1])):(ve=pa(Ar(ve,!1,!1),String),Pe=function(Be,Ke){return!ma(ve,Ke)}),Ft(ie,Pe,Me)});function en(ie,ve,Pe){return l.call(ie,0,Math.max(0,ie.length-(ve==null||Pe?1:ve)))}function Ur(ie,ve,Pe){return ie==null||ie.length<1?ve==null||Pe?void 0:[]:ve==null||Pe?ie[0]:en(ie,ie.length-ve)}function Zn(ie,ve,Pe){return l.call(ie,ve==null||Pe?1:ve)}function hi(ie,ve,Pe){return ie==null||ie.length<1?ve==null||Pe?void 0:[]:ve==null||Pe?ie[ie.length-1]:Zn(ie,Math.max(0,ie.length-ve))}function G(ie){return ga(ie,Boolean)}function oe(ie,ve){return Ar(ie,ve,!1)}var ge=O(function(ie,ve){return ve=Ar(ve,!0,!0),ga(ie,function(Pe){return!ma(ve,Pe)})}),Le=O(function(ie,ve){return ge(ie,ve)});function Qe(ie,ve,Pe,Me){q(ve)||(Me=Pe,Pe=ve,ve=!1),Pe!=null&&(Pe=zt(Pe,Me));for(var Be=[],Ke=[],xt=0,Kt=Ne(ie);xt<Kt;xt++){var Vr=ie[xt],kr=Pe?Pe(Vr,xt,ie):Vr;ve&&!Pe?((!xt||Ke!==kr)&&Be.push(Vr),Ke=kr):Pe?ma(Ke,kr)||(Ke.push(kr),Be.push(Vr)):ma(Be,Vr)||Be.push(Vr)}return Be}var tt=O(function(ie){return Qe(Ar(ie,!0,!0))});function Ot(ie){for(var ve=[],Pe=arguments.length,Me=0,Be=Ne(ie);Me<Be;Me++){var Ke=ie[Me];if(!ma(ve,Ke)){var xt;for(xt=1;xt<Pe&&ma(arguments[xt],Ke);xt++);xt===Pe&&ve.push(Ke)}}return ve}function Ht(ie){for(var ve=ie&&wo(ie,Ne).length||0,Pe=Array(ve),Me=0;Me<ve;Me++)Pe[Me]=Xo(ie,Me);return Pe}var gr=O(Ht);function qr(ie,ve){for(var Pe={},Me=0,Be=Ne(ie);Me<Be;Me++)ve?Pe[ie[Me]]=ve[Me]:Pe[ie[Me][0]]=ie[Me][1];return Pe}function xr(ie,ve,Pe){ve==null&&(ve=ie||0,ie=0),Pe||(Pe=ve<ie?-1:1);for(var Me=Math.max(Math.ceil((ve-ie)/Pe),0),Be=Array(Me),Ke=0;Ke<Me;Ke++,ie+=Pe)Be[Ke]=ie;return Be}function Dn(ie,ve){if(ve==null||ve<1)return[];for(var Pe=[],Me=0,Be=ie.length;Me<Be;)Pe.push(l.call(ie,Me,Me+=ve));return Pe}function si(ie,ve){return ie._chain?Wt(ve).chain():ve}function Fn(ie){return Bi(Jn(ie),function(ve){var Pe=Wt[ve]=ie[ve];Wt.prototype[ve]=function(){var Me=[this._wrapped];return s.apply(Me,arguments),si(this,Pe.apply(Wt,Me))}}),Wt}Bi(["pop","push","reverse","shift","sort","splice","unshift"],function(ie){var ve=i[ie];Wt.prototype[ie]=function(){var Pe=this._wrapped;return Pe!=null&&(ve.apply(Pe,arguments),(ie==="shift"||ie==="splice")&&Pe.length===0&&delete Pe[0]),si(this,Pe)}}),Bi(["concat","join","slice"],function(ie){var ve=i[ie];Wt.prototype[ie]=function(){var Pe=this._wrapped;return Pe!=null&&(Pe=ve.apply(Pe,arguments)),si(this,Pe)}});var Sc={__proto__:null,VERSION:r,restArguments:O,isObject:m,isNull:D,isUndefined:k,isBoolean:q,isElement:j,isString:K,isNumber:X,isDate:Q,isRegExp:J,isError:re,isSymbol:$,isArrayBuffer:N,isDataView:P,isArray:B,isFunction:te,isArguments:ne,isFinite:ce,isNaN:we,isTypedArray:Te,isEmpty:ct,isMatch:Ut,isEqual:rt,isMap:mr,isWeakMap:ir,isSet:Sr,isWeakSet:jr,keys:Ge,allKeys:dt,values:Wr,pairs:Hn,invert:zn,functions:Jn,methods:Jn,extend:ai,extendOwn:fi,assign:fi,defaults:Ci,create:Gi,clone:Pn,tap:oi,get:Dt,has:gt,mapObject:Xt,identity:et,constant:_e,noop:bt,toPath:Di,property:nt,propertyOf:Tr,matcher:fe,matches:fe,times:Xr,random:Tn,now:kt,escape:Mn,unescape:di,templateSettings:oa,template:se,result:Ee,uniqueId:vt,chain:it,iteratee:yt,partial:Bt,bind:Jt,bindAll:$n,memoize:ki,delay:Ni,defer:ms,throttle:lu,debounce:ys,wrap:ro,negate:Si,compose:qa,after:no,before:hn,once:va,findKey:Wo,findIndex:ea,findLastIndex:Us,sortedIndex:io,indexOf:qs,lastIndexOf:Nu,find:ao,detect:ao,findWhere:_o,each:Bi,forEach:Bi,map:pa,collect:pa,reduce:Yo,foldl:Yo,inject:Yo,reduceRight:Ko,foldr:Ko,filter:ga,select:ga,reject:Vs,every:Mu,all:Mu,some:Li,any:Li,contains:ma,includes:ma,include:ma,invoke:So,pluck:Xo,where:Eo,max:wo,min:_,shuffle:ae,sample:Y,sortBy:le,groupBy:Fe,indexBy:ke,countBy:Ye,partition:Et,toArray:M,size:Ct,pick:Ft,omit:Rr,first:Ur,head:Ur,take:Ur,initial:en,last:hi,rest:Zn,tail:Zn,drop:Zn,compact:G,flatten:oe,without:Le,uniq:Qe,unique:Qe,union:tt,intersection:Ot,difference:ge,unzip:Ht,transpose:Ht,zip:gr,object:qr,range:xr,chunk:Dn,mixin:Fn,default:Wt},oo=Fn(Sc);return oo._=oo,oo}))})(Pm)),Pm.exports}var sR={},PW;function Yre(){return PW||(PW=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=Gre(),i;try{i=Hte()}catch{}t(r,e,n,i)}})(function(t,r,n,i){var a=t.Backbone,o=Array.prototype.slice;r.VERSION="1.3.3",r.$=i,r.noConflict=function(){return t.Backbone=a,this},r.emulateHTTP=!1,r.emulateJSON=!1;var s=function(I,P,B){switch(I){case 1:return function(){return n[P](this[B])};case 2:return function(L){return n[P](this[B],L)};case 3:return function(L,H){return n[P](this[B],c(L,this),H)};case 4:return function(L,H,ne){return n[P](this[B],c(L,this),H,ne)};default:return function(){var L=o.call(arguments);return L.unshift(this[B]),n[P].apply(n,L)}}},l=function(I,P,B){n.each(P,function(L,H){n[H]&&(I.prototype[H]=s(L,H,B))})},c=function(I,P){return n.isFunction(I)?I:n.isObject(I)&&!P._isModel(I)?d(I):n.isString(I)?function(B){return B.get(I)}:I},d=function(I){var P=n.matches(I);return function(B){return P(B.attributes)}},h=r.Events={},v=/\s+/,g=function(I,P,B,L,H){var ne=0,ce;if(B&&typeof B=="object")for(L!==void 0&&("context"in H)&&H.context===void 0&&(H.context=L),ce=n.keys(B);ne<ce.length;ne++)P=g(I,P,ce[ne],B[ce[ne]],H);else if(B&&v.test(B))for(ce=B.split(v);ne<ce.length;ne++)P=I(P,ce[ne],L,H);else P=I(P,B,L,H);return P};h.on=function(I,P,B){return S(this,I,P,B)};var S=function(I,P,B,L,H){if(I._events=g(E,I._events||{},P,B,{context:L,ctx:I,listening:H}),H){var ne=I._listeners||(I._listeners={});ne[H.id]=H}return I};h.listenTo=function(I,P,B){if(!I)return this;var L=I._listenId||(I._listenId=n.uniqueId("l")),H=this._listeningTo||(this._listeningTo={}),ne=H[L];if(!ne){var ce=this._listenId||(this._listenId=n.uniqueId("l"));ne=H[L]={obj:I,objId:L,id:ce,listeningTo:H,count:0}}return S(I,P,B,this,ne),this};var E=function(I,P,B,L){if(B){var H=I[P]||(I[P]=[]),ne=L.context,ce=L.ctx,we=L.listening;we&&we.count++,H.push({callback:B,context:ne,ctx:ne||ce,listening:we})}return I};h.off=function(I,P,B){return this._events?(this._events=g(y,this._events,I,P,{context:B,listeners:this._listeners}),this):this},h.stopListening=function(I,P,B){var L=this._listeningTo;if(!L)return this;for(var H=I?[I._listenId]:n.keys(L),ne=0;ne<H.length;ne++){var ce=L[H[ne]];if(!ce)break;ce.obj.off(P,B,this)}return this};var y=function(I,P,B,L){if(I){var H=0,ne,ce=L.context,we=L.listeners;if(!P&&!B&&!ce){for(var _e=n.keys(we);H<_e.length;H++)ne=we[_e[H]],delete we[ne.id],delete ne.listeningTo[ne.objId];return}for(var Oe=P?[P]:n.keys(I);H<Oe.length;H++){P=Oe[H];var Re=I[P];if(!Re)break;for(var Ie=[],$e=0;$e<Re.length;$e++){var me=Re[$e];B&&B!==me.callback&&B!==me.callback._callback||ce&&ce!==me.context?Ie.push(me):(ne=me.listening,ne&&--ne.count===0&&(delete we[ne.id],delete ne.listeningTo[ne.objId]))}Ie.length?I[P]=Ie:delete I[P]}return I}};h.once=function(I,P,B){var L=g(w,{},I,P,n.bind(this.off,this));return typeof I=="string"&&B==null&&(P=void 0),this.on(L,P,B)},h.listenToOnce=function(I,P,B){var L=g(w,{},P,B,n.bind(this.stopListening,this,I));return this.listenTo(I,L)};var w=function(I,P,B,L){if(B){var H=I[P]=n.once(function(){L(P,H),B.apply(this,arguments)});H._callback=B}return I};h.trigger=function(I){if(!this._events)return this;for(var P=Math.max(0,arguments.length-1),B=Array(P),L=0;L<P;L++)B[L]=arguments[L+1];return g(b,this._events,I,void 0,B),this};var b=function(I,P,B,L){if(I){var H=I[P],ne=I.all;H&&ne&&(ne=ne.slice()),H&&A(H,L),ne&&A(ne,[P].concat(L))}return I},A=function(I,P){var B,L=-1,H=I.length,ne=P[0],ce=P[1],we=P[2];switch(P.length){case 0:for(;++L<H;)(B=I[L]).callback.call(B.ctx);return;case 1:for(;++L<H;)(B=I[L]).callback.call(B.ctx,ne);return;case 2:for(;++L<H;)(B=I[L]).callback.call(B.ctx,ne,ce);return;case 3:for(;++L<H;)(B=I[L]).callback.call(B.ctx,ne,ce,we);return;default:for(;++L<H;)(B=I[L]).callback.apply(B.ctx,P);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var R=r.Model=function(I,P){var B=I||{};P||(P={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},P.collection&&(this.collection=P.collection),P.parse&&(B=this.parse(B,P)||{});var L=n.result(this,"defaults");B=n.defaults(n.extend({},L,B),L),this.set(B,P),this.changed={},this.initialize.apply(this,arguments)};n.extend(R.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(I){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(I){return this.attributes[I]},escape:function(I){return n.escape(this.get(I))},has:function(I){return this.get(I)!=null},matches:function(I){return!!n.iteratee(I,this)(this.attributes)},set:function(I,P,B){if(I==null)return this;var L;if(typeof I=="object"?(L=I,B=P):(L={})[I]=P,B||(B={}),!this._validate(L,B))return!1;var H=B.unset,ne=B.silent,ce=[],we=this._changing;this._changing=!0,we||(this._previousAttributes=n.clone(this.attributes),this.changed={});var _e=this.attributes,Oe=this.changed,Re=this._previousAttributes;for(var Ie in L)P=L[Ie],n.isEqual(_e[Ie],P)||ce.push(Ie),n.isEqual(Re[Ie],P)?delete Oe[Ie]:Oe[Ie]=P,H?delete _e[Ie]:_e[Ie]=P;if(this.idAttribute in L&&(this.id=this.get(this.idAttribute)),!ne){ce.length&&(this._pending=B);for(var $e=0;$e<ce.length;$e++)this.trigger("change:"+ce[$e],this,_e[ce[$e]],B)}if(we)return this;if(!ne)for(;this._pending;)B=this._pending,this._pending=!1,this.trigger("change",this,B);return this._pending=!1,this._changing=!1,this},unset:function(I,P){return this.set(I,void 0,n.extend({},P,{unset:!0}))},clear:function(I){var P={};for(var B in this.attributes)P[B]=void 0;return this.set(P,n.extend({},I,{unset:!0}))},hasChanged:function(I){return I==null?!n.isEmpty(this.changed):n.has(this.changed,I)},changedAttributes:function(I){if(!I)return this.hasChanged()?n.clone(this.changed):!1;var P=this._changing?this._previousAttributes:this.attributes,B={};for(var L in I){var H=I[L];n.isEqual(P[L],H)||(B[L]=H)}return n.size(B)?B:!1},previous:function(I){return I==null||!this._previousAttributes?null:this._previousAttributes[I]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(I){I=n.extend({parse:!0},I);var P=this,B=I.success;return I.success=function(L){var H=I.parse?P.parse(L,I):L;if(!P.set(H,I))return!1;B&&B.call(I.context,P,L,I),P.trigger("sync",P,L,I)},ue(this,I),this.sync("read",this,I)},save:function(I,P,B){var L;I==null||typeof I=="object"?(L=I,B=P):(L={})[I]=P,B=n.extend({validate:!0,parse:!0},B);var H=B.wait;if(L&&!H){if(!this.set(L,B))return!1}else if(!this._validate(L,B))return!1;var ne=this,ce=B.success,we=this.attributes;B.success=function(Re){ne.attributes=we;var Ie=B.parse?ne.parse(Re,B):Re;if(H&&(Ie=n.extend({},L,Ie)),Ie&&!ne.set(Ie,B))return!1;ce&&ce.call(B.context,ne,Re,B),ne.trigger("sync",ne,Re,B)},ue(this,B),L&&H&&(this.attributes=n.extend({},we,L));var _e=this.isNew()?"create":B.patch?"patch":"update";_e==="patch"&&!B.attrs&&(B.attrs=L);var Oe=this.sync(_e,this,B);return this.attributes=we,Oe},destroy:function(I){I=I?n.clone(I):{};var P=this,B=I.success,L=I.wait,H=function(){P.stopListening(),P.trigger("destroy",P,P.collection,I)};I.success=function(ce){L&&H(),B&&B.call(I.context,P,ce,I),P.isNew()||P.trigger("sync",P,ce,I)};var ne=!1;return this.isNew()?n.defer(I.success):(ue(this,I),ne=this.sync("delete",this,I)),L||H(),ne},url:function(){var I=n.result(this,"urlRoot")||n.result(this.collection,"url")||xe();if(this.isNew())return I;var P=this.get(this.idAttribute);return I.replace(/[^\/]$/,"$&/")+encodeURIComponent(P)},parse:function(I,P){return I},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(I){return this._validate({},n.extend({},I,{validate:!0}))},_validate:function(I,P){if(!P.validate||!this.validate)return!0;I=n.extend({},this.attributes,I);var B=this.validationError=this.validate(I,P)||null;return B?(this.trigger("invalid",this,B,n.extend(P,{validationError:B})),!1):!0}});var C={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};l(R,C,"attributes");var O=r.Collection=function(I,P){P||(P={}),P.model&&(this.model=P.model),P.comparator!==void 0&&(this.comparator=P.comparator),this._reset(),this.initialize.apply(this,arguments),I&&this.reset(I,n.extend({silent:!0},P))},m={add:!0,remove:!0,merge:!0},D={add:!0,remove:!1},k=function(I,P,B){B=Math.min(Math.max(B,0),I.length);var L=Array(I.length-B),H=P.length,ne;for(ne=0;ne<L.length;ne++)L[ne]=I[ne+B];for(ne=0;ne<H;ne++)I[ne+B]=P[ne];for(ne=0;ne<L.length;ne++)I[ne+H+B]=L[ne]};n.extend(O.prototype,h,{model:R,initialize:function(){},toJSON:function(I){return this.map(function(P){return P.toJSON(I)})},sync:function(){return r.sync.apply(this,arguments)},add:function(I,P){return this.set(I,n.extend({merge:!1},P,D))},remove:function(I,P){P=n.extend({},P);var B=!n.isArray(I);I=B?[I]:I.slice();var L=this._removeModels(I,P);return!P.silent&&L.length&&(P.changes={added:[],merged:[],removed:L},this.trigger("update",this,P)),B?L[0]:L},set:function(I,P){if(I!=null){P=n.extend({},m,P),P.parse&&!this._isModel(I)&&(I=this.parse(I,P)||[]);var B=!n.isArray(I);I=B?[I]:I.slice();var L=P.at;L!=null&&(L=+L),L>this.length&&(L=this.length),L<0&&(L+=this.length+1);var H=[],ne=[],ce=[],we=[],_e={},Oe=P.add,Re=P.merge,Ie=P.remove,$e=!1,me=this.comparator&&L==null&&P.sort!==!1,be=n.isString(this.comparator)?this.comparator:null,Te,Ne;for(Ne=0;Ne<I.length;Ne++){Te=I[Ne];var Ve=this.get(Te);if(Ve){if(Re&&Te!==Ve){var qe=this._isModel(Te)?Te.attributes:Te;P.parse&&(qe=Ve.parse(qe,P)),Ve.set(qe,P),ce.push(Ve),me&&!$e&&($e=Ve.hasChanged(be))}_e[Ve.cid]||(_e[Ve.cid]=!0,H.push(Ve)),I[Ne]=Ve}else Oe&&(Te=I[Ne]=this._prepareModel(Te,P),Te&&(ne.push(Te),this._addReference(Te,P),_e[Te.cid]=!0,H.push(Te)))}if(Ie){for(Ne=0;Ne<this.length;Ne++)Te=this.models[Ne],_e[Te.cid]||we.push(Te);we.length&&this._removeModels(we,P)}var Ge=!1,ct=!me&&Oe&&Ie;if(H.length&&ct?(Ge=this.length!==H.length||n.some(this.models,function(Ut,Wt){return Ut!==H[Wt]}),this.models.length=0,k(this.models,H,0),this.length=this.models.length):ne.length&&(me&&($e=!0),k(this.models,ne,L??this.length),this.length=this.models.length),$e&&this.sort({silent:!0}),!P.silent){for(Ne=0;Ne<ne.length;Ne++)L!=null&&(P.index=L+Ne),Te=ne[Ne],Te.trigger("add",Te,this,P);($e||Ge)&&this.trigger("sort",this,P),(ne.length||we.length||ce.length)&&(P.changes={added:ne,removed:we,merged:ce},this.trigger("update",this,P))}return B?I[0]:I}},reset:function(I,P){P=P?n.clone(P):{};for(var B=0;B<this.models.length;B++)this._removeReference(this.models[B],P);return P.previousModels=this.models,this._reset(),I=this.add(I,n.extend({silent:!0},P)),P.silent||this.trigger("reset",this,P),I},push:function(I,P){return this.add(I,n.extend({at:this.length},P))},pop:function(I){var P=this.at(this.length-1);return this.remove(P,I)},unshift:function(I,P){return this.add(I,n.extend({at:0},P))},shift:function(I){var P=this.at(0);return this.remove(P,I)},slice:function(){return o.apply(this.models,arguments)},get:function(I){if(I!=null)return this._byId[I]||this._byId[this.modelId(I.attributes||I)]||I.cid&&this._byId[I.cid]},has:function(I){return this.get(I)!=null},at:function(I){return I<0&&(I+=this.length),this.models[I]},where:function(I,P){return this[P?"find":"filter"](I)},findWhere:function(I){return this.where(I,!0)},sort:function(I){var P=this.comparator;if(!P)throw new Error("Cannot sort a set without a comparator");I||(I={});var B=P.length;return n.isFunction(P)&&(P=n.bind(P,this)),B===1||n.isString(P)?this.models=this.sortBy(P):this.models.sort(P),I.silent||this.trigger("sort",this,I),this},pluck:function(I){return this.map(I+"")},fetch:function(I){I=n.extend({parse:!0},I);var P=I.success,B=this;return I.success=function(L){var H=I.reset?"reset":"set";B[H](L,I),P&&P.call(I.context,B,L,I),B.trigger("sync",B,L,I)},ue(this,I),this.sync("read",this,I)},create:function(I,P){P=P?n.clone(P):{};var B=P.wait;if(I=this._prepareModel(I,P),!I)return!1;B||this.add(I,P);var L=this,H=P.success;return P.success=function(ne,ce,we){B&&L.add(ne,we),H&&H.call(we.context,ne,ce,we)},I.save(null,P),I},parse:function(I,P){return I},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(I){return I[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(I,P){if(this._isModel(I))return I.collection||(I.collection=this),I;P=P?n.clone(P):{},P.collection=this;var B=new this.model(I,P);return B.validationError?(this.trigger("invalid",this,B.validationError,P),!1):B},_removeModels:function(I,P){for(var B=[],L=0;L<I.length;L++){var H=this.get(I[L]);if(H){var ne=this.indexOf(H);this.models.splice(ne,1),this.length--,delete this._byId[H.cid];var ce=this.modelId(H.attributes);ce!=null&&delete this._byId[ce],P.silent||(P.index=ne,H.trigger("remove",H,this,P)),B.push(H),this._removeReference(H,P)}}return B},_isModel:function(I){return I instanceof R},_addReference:function(I,P){this._byId[I.cid]=I;var B=this.modelId(I.attributes);B!=null&&(this._byId[B]=I),I.on("all",this._onModelEvent,this)},_removeReference:function(I,P){delete this._byId[I.cid];var B=this.modelId(I.attributes);B!=null&&delete this._byId[B],this===I.collection&&delete I.collection,I.off("all",this._onModelEvent,this)},_onModelEvent:function(I,P,B,L){if(P){if((I==="add"||I==="remove")&&B!==this)return;if(I==="destroy"&&this.remove(P,L),I==="change"){var H=this.modelId(P.previousAttributes()),ne=this.modelId(P.attributes);H!==ne&&(H!=null&&delete this._byId[H],ne!=null&&(this._byId[ne]=P))}}this.trigger.apply(this,arguments)}});var q={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};l(O,q,"models");var j=r.View=function(I){this.cid=n.uniqueId("view"),n.extend(this,n.pick(I,K)),this._ensureElement(),this.initialize.apply(this,arguments)},W=/^(\S+)\s*(.*)$/,K=["model","collection","el","id","attributes","className","tagName","events"];n.extend(j.prototype,h,{tagName:"div",$:function(I){return this.$el.find(I)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(I){return this.undelegateEvents(),this._setElement(I),this.delegateEvents(),this},_setElement:function(I){this.$el=I instanceof r.$?I:r.$(I),this.el=this.$el[0]},delegateEvents:function(I){if(I||(I=n.result(this,"events")),!I)return this;this.undelegateEvents();for(var P in I){var B=I[P];if(n.isFunction(B)||(B=this[B]),!!B){var L=P.match(W);this.delegate(L[1],L[2],n.bind(B,this))}}return this},delegate:function(I,P,B){return this.$el.on(I+".delegateEvents"+this.cid,P,B),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(I,P,B){return this.$el.off(I+".delegateEvents"+this.cid,P,B),this},_createElement:function(I){return document.createElement(I)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var I=n.extend({},n.result(this,"attributes"));this.id&&(I.id=n.result(this,"id")),this.className&&(I.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(I)}},_setAttributes:function(I){this.$el.attr(I)}}),r.sync=function(I,P,B){var L=X[I];n.defaults(B||(B={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var H={type:L,dataType:"json"};if(B.url||(H.url=n.result(P,"url")||xe()),B.data==null&&P&&(I==="create"||I==="update"||I==="patch")&&(H.contentType="application/json",H.data=JSON.stringify(B.attrs||P.toJSON(B))),B.emulateJSON&&(H.contentType="application/x-www-form-urlencoded",H.data=H.data?{model:H.data}:{}),B.emulateHTTP&&(L==="PUT"||L==="DELETE"||L==="PATCH")){H.type="POST",B.emulateJSON&&(H.data._method=L);var ne=B.beforeSend;B.beforeSend=function(_e){if(_e.setRequestHeader("X-HTTP-Method-Override",L),ne)return ne.apply(this,arguments)}}H.type!=="GET"&&!B.emulateJSON&&(H.processData=!1);var ce=B.error;B.error=function(_e,Oe,Re){B.textStatus=Oe,B.errorThrown=Re,ce&&ce.call(B.context,_e,Oe,Re)};var we=B.xhr=r.ajax(n.extend(H,B));return P.trigger("request",P,we,B),we};var X={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var Q=r.Router=function(I){I||(I={}),I.routes&&(this.routes=I.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},J=/\((.*?)\)/g,re=/(\(\?)?:\w+/g,$=/\*\w+/g,N=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(Q.prototype,h,{initialize:function(){},route:function(I,P,B){n.isRegExp(I)||(I=this._routeToRegExp(I)),n.isFunction(P)&&(B=P,P=""),B||(B=this[P]);var L=this;return r.history.route(I,function(H){var ne=L._extractParameters(I,H);L.execute(B,ne,P)!==!1&&(L.trigger.apply(L,["route:"+P].concat(ne)),L.trigger("route",P,ne),r.history.trigger("route",L,P,ne))}),this},execute:function(I,P,B){I&&I.apply(this,P)},navigate:function(I,P){return r.history.navigate(I,P),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var I,P=n.keys(this.routes);(I=P.pop())!=null;)this.route(I,this.routes[I])}},_routeToRegExp:function(I){return I=I.replace(N,"\\$&").replace(J,"(?:$1)?").replace(re,function(P,B){return B?P:"([^/?]+)"}).replace($,"([^?]*?)"),new RegExp("^"+I+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(I,P){var B=I.exec(P).slice(1);return n.map(B,function(L,H){return H===B.length-1?L||null:L?decodeURIComponent(L):null})}});var U=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},ee=/^[#\/]|\s+$/g,te=/^\/+|\/+$/g,de=/#.*$/;U.started=!1,n.extend(U.prototype,h,{interval:50,atRoot:function(){var I=this.location.pathname.replace(/[^\/]$/,"$&/");return I===this.root&&!this.getSearch()},matchRoot:function(){var I=this.decodeFragment(this.location.pathname),P=I.slice(0,this.root.length-1)+"/";return P===this.root},decodeFragment:function(I){return decodeURI(I.replace(/%25/g,"%2525"))},getSearch:function(){var I=this.location.href.replace(/#.*/,"").match(/\?.+/);return I?I[0]:""},getHash:function(I){var P=(I||this).location.href.match(/#(.*)$/);return P?P[1]:""},getPath:function(){var I=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return I.charAt(0)==="/"?I.slice(1):I},getFragment:function(I){return I==null&&(this._usePushState||!this._wantsHashChange?I=this.getPath():I=this.getHash()),I.replace(ee,"")},start:function(I){if(U.started)throw new Error("Backbone.history has already been started");if(U.started=!0,this.options=n.extend({root:"/"},this.options,I),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(te,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var P=this.root.slice(0,-1)||"/";return this.location.replace(P+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var B=document.body,L=B.insertBefore(this.iframe,B.firstChild).contentWindow;L.document.open(),L.document.close(),L.location.hash="#"+this.fragment}var H=window.addEventListener||function(ne,ce){return attachEvent("on"+ne,ce)};if(this._usePushState?H("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?H("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var I=window.removeEventListener||function(P,B){return detachEvent("on"+P,B)};this._usePushState?I("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&I("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),U.started=!1},route:function(I,P){this.handlers.unshift({route:I,callback:P})},checkUrl:function(I){var P=this.getFragment();if(P===this.fragment&&this.iframe&&(P=this.getHash(this.iframe.contentWindow)),P===this.fragment)return!1;this.iframe&&this.navigate(P),this.loadUrl()},loadUrl:function(I){return this.matchRoot()?(I=this.fragment=this.getFragment(I),n.some(this.handlers,function(P){if(P.route.test(I))return P.callback(I),!0})):!1},navigate:function(I,P){if(!U.started)return!1;(!P||P===!0)&&(P={trigger:!!P}),I=this.getFragment(I||"");var B=this.root;(I===""||I.charAt(0)==="?")&&(B=B.slice(0,-1)||"/");var L=B+I;if(I=this.decodeFragment(I.replace(de,"")),this.fragment!==I){if(this.fragment=I,this._usePushState)this.history[P.replace?"replaceState":"pushState"]({},document.title,L);else if(this._wantsHashChange){if(this._updateHash(this.location,I,P.replace),this.iframe&&I!==this.getHash(this.iframe.contentWindow)){var H=this.iframe.contentWindow;P.replace||(H.document.open(),H.document.close()),this._updateHash(H.location,I,P.replace)}}else return this.location.assign(L);if(P.trigger)return this.loadUrl(I)}},_updateHash:function(I,P,B){if(B){var L=I.href.replace(/(javascript:|#).*$/,"");I.replace(L+"#"+P)}else I.hash="#"+P}}),r.history=new U;var Se=function(I,P){var B=this,L;return I&&n.has(I,"constructor")?L=I.constructor:L=function(){return B.apply(this,arguments)},n.extend(L,B,P),L.prototype=n.create(B.prototype,I),L.prototype.constructor=L,L.__super__=B.prototype,L};R.extend=O.extend=Q.extend=j.extend=U.extend=Se;var xe=function(){throw new Error('A "url" property or function must be specified')},ue=function(I,P){var B=P.error;P.error=function(L){B&&B.call(P.context,I,L,P),I.trigger("error",I,L,P)}};return r})})(sR)),sR}var eSe=Im.exports,DW;function tSe(){return DW||(DW=1,(function(e,t){(function(r,n){e.exports=n(Gre(),Yre())})(eSe,function(r,n){r="default"in r?r.default:r,n="default"in n?n.default:n;var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol?"symbol":typeof y},a=n.Radio,o=n.Radio={};o.VERSION="2.0.0",o.noConflict=function(){return n.Radio=a,this},o.DEBUG=!1,o._debugText=function(y,w,b){return y+(b?" on the "+b+" channel":"")+': "'+w+'"'},o.debugLog=function(y,w,b){o.DEBUG&&console&&console.warn&&console.warn(o._debugText(y,w,b))};var s=/\s+/;o._eventsApi=function(y,w,b,A){if(!b)return!1;var R={};if((typeof b>"u"?"undefined":i(b))==="object"){for(var C in b){var O=y[w].apply(y,[C,b[C]].concat(A));s.test(C)?r.extend(R,O):R[C]=O}return R}if(s.test(b)){for(var m=b.split(s),D=0,k=m.length;D<k;D++)R[m[D]]=y[w].apply(y,[m[D]].concat(A));return R}return!1},o._callHandler=function(y,w,b){var A=b[0],R=b[1],C=b[2];switch(b.length){case 0:return y.call(w);case 1:return y.call(w,A);case 2:return y.call(w,A,R);case 3:return y.call(w,A,R,C);default:return y.apply(w,b)}};function l(y,w,b,A){var R=y[w];if((!b||b===R.callback||b===R.callback._callback)&&(!A||A===R.context))return delete y[w],!0}function c(y,w,b,A){y||(y={});for(var R=w?[w]:r.keys(y),C=!1,O=0,m=R.length;O<m;O++)w=R[O],y[w]&&l(y,w,b,A)&&(C=!0);return C}var d={};function h(y){return d[y]||(d[y]=r.bind(o.log,o,y))}r.extend(o,{log:function(w,b){if(!(typeof console>"u")){var A=r.toArray(arguments).slice(2);console.log("["+w+'] "'+b+'"',A)}},tuneIn:function(w){var b=o.channel(w);return b._tunedIn=!0,b.on("all",h(w)),this},tuneOut:function(w){var b=o.channel(w);return b._tunedIn=!1,b.off("all",h(w)),delete d[w],this}});function v(y){return r.isFunction(y)?y:function(){return y}}o.Requests={request:function(w){var b=r.toArray(arguments).slice(1),A=o._eventsApi(this,"request",w,b);if(A)return A;var R=this.channelName,C=this._requests;if(R&&this._tunedIn&&o.log.apply(this,[R,w].concat(b)),C&&(C[w]||C.default)){var O=C[w]||C.default;return b=C[w]?b:arguments,o._callHandler(O.callback,O.context,b)}else o.debugLog("An unhandled request was fired",w,R)},reply:function(w,b,A){return o._eventsApi(this,"reply",w,[b,A])?this:(this._requests||(this._requests={}),this._requests[w]&&o.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:v(b),context:A||this},this)},replyOnce:function(w,b,A){if(o._eventsApi(this,"replyOnce",w,[b,A]))return this;var R=this,C=r.once(function(){return R.stopReplying(w),v(b).apply(this,arguments)});return this.reply(w,C,A)},stopReplying:function(w,b,A){return o._eventsApi(this,"stopReplying",w)?this:(!w&&!b&&!A?delete this._requests:c(this._requests,w,b,A)||o.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},o._channels={},o.channel=function(y){if(!y)throw new Error("You must provide a name for the channel.");return o._channels[y]?o._channels[y]:o._channels[y]=new o.Channel(y)},o.Channel=function(y){this.channelName=y},r.extend(o.Channel.prototype,n.Events,o.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var g,S,E=[n.Events,o.Requests];return r.each(E,function(y){r.each(y,function(w,b){o[b]=function(A){return S=r.toArray(arguments).slice(1),g=this.channel(A),g[b].apply(g,S)}})}),o.reset=function(y){var w=y?[this._channels[y]]:this._channels;r.each(w,function(b){b.reset()})},o})})(Im)),Im.exports}var rSe=tSe();const kW=Bn(rSe);var Lr=Yre();const ia=Bn(Lr);var Kre="1.13.7",NW=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},k_=Array.prototype,RD=Object.prototype,LW=typeof Symbol<"u"?Symbol.prototype:null,nSe=k_.push,Np=k_.slice,Gv=RD.toString,iSe=RD.hasOwnProperty,Xre=typeof ArrayBuffer<"u",aSe=typeof DataView<"u",oSe=Array.isArray,MW=Object.keys,$W=Object.create,FW=Xre&&ArrayBuffer.isView,sSe=isNaN,uSe=isFinite,Qre=!{toString:null}.propertyIsEnumerable("toString"),jW=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],lSe=Math.pow(2,53)-1;function Fo(e,t){return t=t==null?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=n,e.apply(this,a)}}function Ms(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function cSe(e){return e===null}function ay(e){return e===void 0}function Jre(e){return e===!0||e===!1||Gv.call(e)==="[object Boolean]"}function fSe(e){return!!(e&&e.nodeType===1)}function eo(e){var t="[object "+e+"]";return function(r){return Gv.call(r)===t}}var xD=eo("String"),Md=eo("Number"),dSe=eo("Date"),hSe=eo("RegExp"),vSe=eo("Error"),Zre=eo("Symbol"),ene=eo("ArrayBuffer"),tne=eo("Function"),pSe=NW.document&&NW.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof pSe!="function"&&(tne=function(e){return typeof e=="function"||!1});var an=tne,rne=eo("Object"),nne=aSe&&(!/\[native code\]/.test(String(DataView))||rne(new DataView(new ArrayBuffer(8)))),CD=typeof Map<"u"&&rne(new Map),gSe=eo("DataView");function mSe(e){return e!=null&&an(e.getInt8)&&ene(e.buffer)}var oy=nne?mSe:gSe,dc=oSe||eo("Array");function hc(e,t){return e!=null&&iSe.call(e,t)}var _I=eo("Arguments");(function(){_I(arguments)||(_I=function(e){return hc(e,"callee")})})();var AD=_I;function ySe(e){return!Zre(e)&&uSe(e)&&!isNaN(parseFloat(e))}function ine(e){return Md(e)&&sSe(e)}function ane(e){return function(){return e}}function one(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=lSe}}function sne(e){return function(t){return t==null?void 0:t[e]}}var sy=sne("byteLength"),_Se=one(sy),SSe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ESe(e){return FW?FW(e)&&!oy(e):_Se(e)&&SSe.test(Gv.call(e))}var une=Xre?ESe:ane(!1),jo=sne("length");function wSe(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(i){return t[i]===!0},push:function(i){return t[i]=!0,e.push(i)}}}function lne(e,t){t=wSe(t);var r=jW.length,n=e.constructor,i=an(n)&&n.prototype||RD,a="constructor";for(hc(e,a)&&!t.contains(a)&&t.push(a);r--;)a=jW[r],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function aa(e){if(!Ms(e))return[];if(MW)return MW(e);var t=[];for(var r in e)hc(e,r)&&t.push(r);return Qre&&lne(e,t),t}function Yv(e){if(e==null)return!0;var t=jo(e);return typeof t=="number"&&(dc(e)||xD(e)||AD(e))?t===0:jo(aa(e))===0}function cne(e,t){var r=aa(t),n=r.length;if(e==null)return!n;for(var i=Object(e),a=0;a<n;a++){var o=r[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}function Vn(e){if(e instanceof Vn)return e;if(!(this instanceof Vn))return new Vn(e);this._wrapped=e}Vn.VERSION=Kre;Vn.prototype.value=function(){return this._wrapped};Vn.prototype.valueOf=Vn.prototype.toJSON=Vn.prototype.value;Vn.prototype.toString=function(){return String(this._wrapped)};function UW(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,sy(e))}var qW="[object DataView]";function SI(e,t,r,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var i=typeof e;return i!=="function"&&i!=="object"&&typeof t!="object"?!1:fne(e,t,r,n)}function fne(e,t,r,n){e instanceof Vn&&(e=e._wrapped),t instanceof Vn&&(t=t._wrapped);var i=Gv.call(e);if(i!==Gv.call(t))return!1;if(nne&&i=="[object Object]"&&oy(e)){if(!oy(t))return!1;i=qW}switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return LW.valueOf.call(e)===LW.valueOf.call(t);case"[object ArrayBuffer]":case qW:return fne(UW(e),UW(t),r,n)}var a=i==="[object Array]";if(!a&&une(e)){var o=sy(e);if(o!==sy(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if(typeof e!="object"||typeof t!="object")return!1;var s=e.constructor,l=t.constructor;if(s!==l&&!(an(s)&&s instanceof s&&an(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var c=r.length;c--;)if(r[c]===e)return n[c]===t;if(r.push(e),n.push(t),a){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!SI(e[c],t[c],r,n))return!1}else{var d=aa(e),h;if(c=d.length,aa(t).length!==c)return!1;for(;c--;)if(h=d[c],!(hc(t,h)&&SI(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function dne(e,t){return SI(e,t)}function Lp(e){if(!Ms(e))return[];var t=[];for(var r in e)t.push(r);return Qre&&lne(e,t),t}function OD(e){var t=jo(e);return function(r){if(r==null)return!1;var n=Lp(r);if(jo(n))return!1;for(var i=0;i<t;i++)if(!an(r[e[i]]))return!1;return e!==pne||!an(r[ID])}}var ID="forEach",hne="has",PD=["clear","delete"],vne=["get",hne,"set"],bSe=PD.concat(ID,vne),pne=PD.concat(vne),TSe=["add"].concat(PD,ID,hne),RSe=CD?OD(bSe):eo("Map"),xSe=CD?OD(pne):eo("WeakMap"),CSe=CD?OD(TSe):eo("Set"),ASe=eo("WeakSet");function vc(e){for(var t=aa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function OSe(e){for(var t=aa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function gne(e){for(var t={},r=aa(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function EI(e){var t=[];for(var r in e)an(e[r])&&t.push(r);return t.sort()}function DD(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||r==null)return r;for(var i=1;i<n;i++)for(var a=arguments[i],o=e(a),s=o.length,l=0;l<s;l++){var c=o[l];(!t||r[c]===void 0)&&(r[c]=a[c])}return r}}var Do=DD(Lp),uy=DD(aa),mne=DD(Lp,!0);function ISe(){return function(){}}function yne(e){if(!Ms(e))return{};if($W)return $W(e);var t=ISe();t.prototype=e;var r=new t;return t.prototype=null,r}function PSe(e,t){var r=yne(e);return t&&uy(r,t),r}function _ne(e){return Ms(e)?dc(e)?e.slice():Do({},e):e}function DSe(e,t){return t(e),e}function Sne(e){return dc(e)?e:[e]}Vn.toPath=Sne;function Mp(e){return Vn.toPath(e)}function kD(e,t){for(var r=t.length,n=0;n<r;n++){if(e==null)return;e=e[t[n]]}return r?e:void 0}function Ene(e,t,r){var n=kD(e,Mp(t));return ay(n)?r:n}function ly(e,t){t=Mp(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!hc(e,i))return!1;e=e[i]}return!!r}function N_(e){return e}function Kv(e){return e=uy({},e),function(t){return cne(t,e)}}function ND(e){return e=Mp(e),function(t){return kD(t,e)}}function $p(e,t,r){if(t===void 0)return e;switch(r??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,a){return e.call(t,n,i,a)};case 4:return function(n,i,a,o){return e.call(t,n,i,a,o)}}return function(){return e.apply(t,arguments)}}function wne(e,t,r){return e==null?N_:an(e)?$p(e,t,r):Ms(e)&&!dc(e)?Kv(e):ND(e)}function LD(e,t){return wne(e,t,1/0)}Vn.iteratee=LD;function Vo(e,t,r){return Vn.iteratee!==LD?Vn.iteratee(e,t):wne(e,t,r)}function kSe(e,t,r){t=Vo(t,r);for(var n=aa(e),i=n.length,a={},o=0;o<i;o++){var s=n[o];a[s]=t(e[s],s,e)}return a}function bne(){}function NSe(e){return e==null?bne:function(t){return Ene(e,t)}}function LSe(e,t,r){var n=Array(Math.max(0,e));t=$p(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function wI(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var Xv=Date.now||function(){return new Date().getTime()};function Tne(e){var t=function(a){return e[a]},r="(?:"+aa(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(a){return a=a==null?"":""+a,n.test(a)?a.replace(i,t):a}}var Rne={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},MSe=Tne(Rne),$Se=gne(Rne),FSe=Tne($Se),jSe=Vn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},uR=/(.)^/,USe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},qSe=/\\|'|\r|\n|\u2028|\u2029/g;function VSe(e){return"\\"+USe[e]}var BSe=/^\s*(\w|\$)+\s*$/;function HSe(e,t,r){!t&&r&&(t=r),t=mne({},t,Vn.templateSettings);var n=RegExp([(t.escape||uR).source,(t.interpolate||uR).source,(t.evaluate||uR).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,function(c,d,h,v,g){return a+=e.slice(i,g).replace(qSe,VSe),i=g+c.length,d?a+=`'+
31
- ((__t=(`+d+`))==null?'':_.escape(__t))+
32
- '`:h?a+=`'+
33
- ((__t=(`+h+`))==null?'':__t)+
34
- '`:v&&(a+=`';
35
- `+v+`
36
- __p+='`),c}),a+=`';
37
- `;var o=t.variable;if(o){if(!BSe.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){
38
- `+a+`}
39
- `,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
40
- `+a+`return __p;
41
- `;var s;try{s=new Function(o,"_",a)}catch(c){throw c.source=a,c}var l=function(c){return s.call(this,c,Vn)};return l.source="function("+o+`){
42
- `+a+"}",l}function kv(e,t,r){t=Mp(t);var n=t.length;if(!n)return an(r)?r.call(e):r;for(var i=0;i<n;i++){var a=e==null?void 0:e[t[i]];a===void 0&&(a=r,i=n),e=an(a)?a.call(e):a}return e}var zSe=0;function xne(e){var t=++zSe+"";return e?e+t:t}function WSe(e){var t=Vn(e);return t._chain=!0,t}function Cne(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=yne(e.prototype),o=e.apply(a,i);return Ms(o)?o:a}var wh=Fo(function(e,t){var r=wh.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===r?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return Cne(e,n,this,this,o)};return n});wh.placeholder=Vn;var Ku=Fo(function(e,t,r){if(!an(e))throw new TypeError("Bind must be called on a function");var n=Fo(function(i){return Cne(e,n,t,this,r.concat(i))});return n}),ps=one(jo);function Pf(e,t,r,n){if(n=n||[],!t&&t!==0)t=1/0;else if(t<=0)return n.concat(e);for(var i=n.length,a=0,o=jo(e);a<o;a++){var s=e[a];if(ps(s)&&(dc(s)||AD(s)))if(t>1)Pf(s,t-1,r,n),i=n.length;else for(var l=0,c=s.length;l<c;)n[i++]=s[l++];else r||(n[i++]=s)}return n}var GSe=Fo(function(e,t){t=Pf(t,!1,!1);var r=t.length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=Ku(e[n],e)}return e});function Ane(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return hc(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}var One=Fo(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),YSe=wh(One,Vn,1);function Ine(e,t,r){var n,i,a,o,s=0;r||(r={});var l=function(){s=r.leading===!1?0:Xv(),n=null,o=e.apply(i,a),n||(i=a=null)},c=function(){var d=Xv();!s&&r.leading===!1&&(s=d);var h=t-(d-s);return i=this,a=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),s=d,o=e.apply(i,a),n||(i=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,h)),o};return c.cancel=function(){clearTimeout(n),s=0,n=i=a=null},c}function Pne(e,t,r){var n,i,a,o,s,l=function(){var d=Xv()-i;t>d?n=setTimeout(l,t-d):(n=null,r||(o=e.apply(s,a)),n||(a=s=null))},c=Fo(function(d){return s=this,a=d,i=Xv(),n||(n=setTimeout(l,t),r&&(o=e.apply(s,a))),o});return c.cancel=function(){clearTimeout(n),n=a=s=null},c}function KSe(e,t){return wh(t,e)}function MD(e){return function(){return!e.apply(this,arguments)}}function XSe(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function QSe(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Dne(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var JSe=wh(Dne,2);function kne(e,t,r){t=Vo(t,r);for(var n=aa(e),i,a=0,o=n.length;a<o;a++)if(i=n[a],t(e[i],i,e))return i}function Nne(e){return function(t,r,n){r=Vo(r,n);for(var i=jo(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}var L_=Nne(1),Lne=Nne(-1);function Mne(e,t,r,n){r=Vo(r,n,1);for(var i=r(t),a=0,o=jo(e);a<o;){var s=Math.floor((a+o)/2);r(e[s])<i?a=s+1:o=s}return a}function $ne(e,t,r){return function(n,i,a){var o=0,s=jo(n);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(r&&a&&s)return a=r(n,i),n[a]===i?a:-1;if(i!==i)return a=t(Np.call(n,o,s),ine),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(n[a]===i)return a;return-1}}var Fne=$ne(1,L_,Mne),ZSe=$ne(-1,Lne);function bI(e,t,r){var n=ps(e)?L_:kne,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function jne(e,t){return bI(e,Kv(t))}function Da(e,t,r){t=$p(t,r);var n,i;if(ps(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=aa(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function af(e,t,r){t=Vo(t,r);for(var n=!ps(e)&&aa(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var s=n?n[o]:o;a[o]=t(e[s],s,e)}return a}function Une(e){var t=function(r,n,i,a){var o=!ps(r)&&aa(r),s=(o||r).length,l=e>0?0:s-1;for(a||(i=r[o?o[l]:l],l+=e);l>=0&&l<s;l+=e){var c=o?o[l]:l;i=n(i,r[c],c,r)}return i};return function(r,n,i,a){var o=arguments.length>=3;return t(r,$p(n,a,4),i,o)}}var Dm=Une(1),VW=Une(-1);function of(e,t,r){var n=[];return t=Vo(t,r),Da(e,function(i,a,o){t(i,a,o)&&n.push(i)}),n}function eEe(e,t,r){return of(e,MD(Vo(t)),r)}function TI(e,t,r){t=Vo(t,r);for(var n=!ps(e)&&aa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(!t(e[o],o,e))return!1}return!0}function RI(e,t,r){t=Vo(t,r);for(var n=!ps(e)&&aa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(t(e[o],o,e))return!0}return!1}function ul(e,t,r,n){return ps(e)||(e=vc(e)),(typeof r!="number"||n)&&(r=0),Fne(e,t,r)>=0}var tEe=Fo(function(e,t,r){var n,i;return an(t)?i=t:(t=Mp(t),n=t.slice(0,-1),t=t[t.length-1]),af(e,function(a){var o=i;if(!o){if(n&&n.length&&(a=kD(a,n)),a==null)return;o=a[t]}return o==null?o:o.apply(a,r)})});function $D(e,t){return af(e,ND(t))}function qne(e,t){return of(e,Kv(t))}function FD(e,t,r){var n=-1/0,i=-1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:vc(e);for(var s=0,l=e.length;s<l;s++)a=e[s],a!=null&&a>n&&(n=a)}else t=Vo(t,r),Da(e,function(c,d,h){o=t(c,d,h),(o>i||o===-1/0&&n===-1/0)&&(n=c,i=o)});return n}function rEe(e,t,r){var n=1/0,i=1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:vc(e);for(var s=0,l=e.length;s<l;s++)a=e[s],a!=null&&a<n&&(n=a)}else t=Vo(t,r),Da(e,function(c,d,h){o=t(c,d,h),(o<i||o===1/0&&n===1/0)&&(n=c,i=o)});return n}var nEe=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Vne(e){return e?dc(e)?Np.call(e):xD(e)?e.match(nEe):ps(e)?af(e,N_):vc(e):[]}function Bne(e,t,r){if(t==null||r)return ps(e)||(e=vc(e)),e[wI(e.length-1)];var n=Vne(e),i=jo(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var s=wI(o,a),l=n[o];n[o]=n[s],n[s]=l}return n.slice(0,t)}function Hne(e){return Bne(e,1/0)}function zne(e,t,r){var n=0;return t=Vo(t,r),$D(af(e,function(i,a,o){return{value:i,index:n++,criteria:t(i,a,o)}}).sort(function(i,a){var o=i.criteria,s=a.criteria;if(o!==s){if(o>s||o===void 0)return 1;if(o<s||s===void 0)return-1}return i.index-a.index}),"value")}function M_(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=Vo(n,i),Da(r,function(o,s){var l=n(o,s,r);e(a,o,l)}),a}}var Wne=M_(function(e,t,r){hc(e,r)?e[r].push(t):e[r]=[t]}),iEe=M_(function(e,t,r){e[r]=t}),Gne=M_(function(e,t,r){hc(e,r)?e[r]++:e[r]=1}),aEe=M_(function(e,t,r){e[r?0:1].push(t)},!0);function oEe(e){return e==null?0:ps(e)?e.length:aa(e).length}function sEe(e,t,r){return t in r}var jD=Fo(function(e,t){var r={},n=t[0];if(e==null)return r;an(n)?(t.length>1&&(n=$p(n,t[1])),t=Lp(e)):(n=sEe,t=Pf(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],s=e[o];n(s,o,e)&&(r[o]=s)}return r}),$_=Fo(function(e,t){var r=t[0],n;return an(r)?(r=MD(r),t.length>1&&(n=t[1])):(t=af(Pf(t,!1,!1),String),r=function(i,a){return!ul(t,a)}),jD(e,r,n)});function Yne(e,t,r){return Np.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function Nv(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:Yne(e,e.length-t)}function km(e,t,r){return Np.call(e,t==null||r?1:t)}function cy(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:km(e,Math.max(0,e.length-t))}function uEe(e){return of(e,Boolean)}function Kne(e,t){return Pf(e,t,!1)}var Xne=Fo(function(e,t){return t=Pf(t,!0,!0),of(e,function(r){return!ul(t,r)})}),xI=Fo(function(e,t){return Xne(e,t)});function Qv(e,t,r,n){Jre(t)||(n=r,r=t,t=!1),r!=null&&(r=Vo(r,n));for(var i=[],a=[],o=0,s=jo(e);o<s;o++){var l=e[o],c=r?r(l,o,e):l;t&&!r?((!o||a!==c)&&i.push(l),a=c):r?ul(a,c)||(a.push(c),i.push(l)):ul(i,l)||i.push(l)}return i}var lEe=Fo(function(e){return Qv(Pf(e,!0,!0))});function Qne(e){for(var t=[],r=arguments.length,n=0,i=jo(e);n<i;n++){var a=e[n];if(!ul(t,a)){var o;for(o=1;o<r&&ul(arguments[o],a);o++);o===r&&t.push(a)}}return t}function CI(e){for(var t=e&&FD(e,jo).length||0,r=Array(t),n=0;n<t;n++)r[n]=$D(e,n);return r}var cEe=Fo(CI);function Jne(e,t){for(var r={},n=0,i=jo(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function fEe(e,t,r){t==null&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),a=0;a<n;a++,e+=r)i[a]=e;return i}function Zne(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(Np.call(e,n,n+=t));return r}function UD(e,t){return e._chain?Vn(t).chain():t}function eie(e){return Da(EI(e),function(t){var r=Vn[t]=e[t];Vn.prototype[t]=function(){var n=[this._wrapped];return nSe.apply(n,arguments),UD(this,r.apply(Vn,n))}}),Vn}Da(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=k_[e];Vn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),UD(this,r)}});Da(["concat","join","slice"],function(e){var t=k_[e];Vn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),UD(this,r)}});var dEe={__proto__:null,VERSION:Kre,restArguments:Fo,isObject:Ms,isNull:cSe,isUndefined:ay,isBoolean:Jre,isElement:fSe,isString:xD,isNumber:Md,isDate:dSe,isRegExp:hSe,isError:vSe,isSymbol:Zre,isArrayBuffer:ene,isDataView:oy,isArray:dc,isFunction:an,isArguments:AD,isFinite:ySe,isNaN:ine,isTypedArray:une,isEmpty:Yv,isMatch:cne,isEqual:dne,isMap:RSe,isWeakMap:xSe,isSet:CSe,isWeakSet:ASe,keys:aa,allKeys:Lp,values:vc,pairs:OSe,invert:gne,functions:EI,methods:EI,extend:Do,extendOwn:uy,assign:uy,defaults:mne,create:PSe,clone:_ne,tap:DSe,get:Ene,has:ly,mapObject:kSe,identity:N_,constant:ane,noop:bne,toPath:Sne,property:ND,propertyOf:NSe,matcher:Kv,matches:Kv,times:LSe,random:wI,now:Xv,escape:MSe,unescape:FSe,templateSettings:jSe,template:HSe,result:kv,uniqueId:xne,chain:WSe,iteratee:LD,partial:wh,bind:Ku,bindAll:GSe,memoize:Ane,delay:One,defer:YSe,throttle:Ine,debounce:Pne,wrap:KSe,negate:MD,compose:XSe,after:QSe,before:Dne,once:JSe,findKey:kne,findIndex:L_,findLastIndex:Lne,sortedIndex:Mne,indexOf:Fne,lastIndexOf:ZSe,find:bI,detect:bI,findWhere:jne,each:Da,forEach:Da,map:af,collect:af,reduce:Dm,foldl:Dm,inject:Dm,reduceRight:VW,foldr:VW,filter:of,select:of,reject:eEe,every:TI,all:TI,some:RI,any:RI,contains:ul,includes:ul,include:ul,invoke:tEe,pluck:$D,where:qne,max:FD,min:rEe,shuffle:Hne,sample:Bne,sortBy:zne,groupBy:Wne,indexBy:iEe,countBy:Gne,partition:aEe,toArray:Vne,size:oEe,pick:jD,omit:$_,first:Nv,head:Nv,take:Nv,initial:Yne,last:cy,rest:km,tail:km,drop:km,compact:uEe,flatten:Kne,without:xI,uniq:Qv,unique:Qv,union:lEe,intersection:Qne,difference:Xne,unzip:CI,transpose:CI,zip:cEe,object:Jne,range:fEe,chunk:Zne,mixin:eie,default:Vn},at=eie(dEe);at._=at;const kn={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},Nn={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"},hEe=/\/+$/g,vEe=Lr.history.getFragment.bind(Lr.history);Do(Lr.history,{getFragment(e){return vEe(e).replace(hEe,"")}});const Yn={GetQuery(){return Yn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Yn.GetQuery();let r=Yn.SerializeQueryParams(Do(t,e));r&&(r=`?${r}`),Yn.UpdateUrl(`${Yn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Kn.buildRoute(e,t);Lr.history.navigate(n,r),Lr.Radio.channel(kn.SHELL).trigger(Nn.URL_CHANGE,t,r)},SerializeQueryParams(e){if(!e)return"";if(typeof e=="string")return e;const t=[],r=(n,i)=>`${encodeURIComponent(n)}=${encodeURIComponent(i)}`;return Object.keys(e).sort().forEach(n=>{const i=e[n];if(!(typeof i>"u"||i===null)){if(Array.isArray(i)){i.forEach(a=>{t.push(r(n,a))});return}t.push(r(n,i))}}),t.join("&")},DeserializeQueryParams(e){return e?Dm(e.split("&"),(t,r)=>{const n=r.split("="),i=n[0],a=n.length>0?decodeURIComponent(n[1]):"";return t[i]?t[i]instanceof Array?(t[i].push(a),t):(t[i]=[t[i],a],t):(t[i]=a,t)},{}):{}},StartHistory(){Lr.History.started&&Lr.history.stop(),Lr.history.start({pushState:!0})},PageLoad(e,t=!1,r){if(!t){window.location.href=e;return}window.open(e,"_blank",r)},Redirect(e,t=!0){const r=()=>t?window.location.replace(e):window.location.href=e;es.hasActiveRoute()?Lr.Radio.channel(kn.SHELL).once("routing:end",r):r()},Reload(){window.location.reload()},GetCurrentPath(){return window.location.pathname},GetCurrentQueryString(){return window.location.search},GetCurrentPathAndQuery(){return window.location.pathname+window.location.search},GetCurrentUrl(){return window.location.href},GetCurrentReferrer(){return document.referrer},GetCurrentOrigin(){return window.location.origin},GetCurrentHostname(){return window.location.hostname},SetPageTitle(e){document.title=e}},pEe=/((\(\?)?:\w+)|(\*\w+)/,gEe=/[\(\)]/g,mEe=/\(\/\)/g,yEe=/\/$/,_Ee=/\([^)]*\)/g,es={routingStarted(){Lr.Radio.channel(kn.SHELL).trigger(Nn.ROUTING_START)},routingEnded(){if(!es.hasActiveRoute())return;Lr.Radio.channel(kn.SHELL).trigger(Nn.ROUTING_END)},hasActiveRoute(){return Lr.Radio.channel(kn.SHELL).request(Nn.HAS_ACTIVE_ROUTE)}},BW=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;Lr.Radio.channel(r).trigger(n,e,t)},Kn={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:a}=e,o=Lr.Radio.channel(kn.SHELL),s={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},l=o.request(Nn.ROUTE_LOOKUP,`${r}:${n}`,i,a,s);return l===!1?"":`/${l}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Da(n,o=>{e=e.replace(pEe,o||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(_Ee,"")),e=e.replace(mEe,""),e=e.replace(gEe,""),e=e.replace(yEe,""),!i)return e;const a=Yn.SerializeQueryParams(i);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!es.hasActiveRoute()){BW(e,t);return}Lr.Radio.channel(kn.SHELL).once("routing:end",()=>{BW(e,t)})},getCurrentAppLink(){return Lr.Radio.channel(kn.SHELL).request(Nn.CURRENT_ROUTE)},getAppLinkString(e){return e?e.application+e.action:""},isEqual(e,t,r={args:!0,params:!0}){if((e==null?void 0:e.application)!==(t==null?void 0:t.application)||(e==null?void 0:e.action)!==(t==null?void 0:t.action))return!1;const n=((e==null?void 0:e.args)??[]).join(","),i=(t.args??[]).join(",");if(r.args&&n!==i)return!1;const a=Yn.SerializeQueryParams((e==null?void 0:e.params)??{}),o=Yn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==o)}};var SEe="4.1.3",Fp=ia.Model.extend,qD=function(t){var r=this;if(t)return at.reduce(t,function(n,i,a){return at.isFunction(i)||(i=r[i]),i&&(n[a]=i),n},{})},HW=["description","fileName","lineNumber","name","message","number","url"],Oa=Fp.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(SEe,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);at.extend(this,at.pick(r,HW),at.pick(t,HW)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,Oa)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function tie(e,t){if(!at.isObject(t))throw new Oa({message:"Bindings must be an object.",url:"common.html#bindevents"});return qD.call(e,t)}function EEe(e,t){return!e||!t?this:(this.listenTo(e,tie(this,t)),this)}function wEe(e,t){return e?t?(this.stopListening(e,tie(this,t)),this):(this.stopListening(e),this):this}function rie(e,t){if(!at.isObject(t))throw new Oa({message:"Bindings must be an object.",url:"common.html#bindrequests"});return qD.call(e,t)}function bEe(e,t){return!e||!t?this:(e.reply(rie(this,t),this),this)}function TEe(e,t){return e?t?(e.stopReplying(rie(this,t),this),this):(e.stopReplying(null,null,this),this):this}var nie=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},REe=function(t,r){var n=this;t&&at.each(r,function(i){var a=t[i];a!==void 0&&(n[i]=a)})};function F_(e,t,r){e._getImmediateChildren&&at.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function iie(e){return!e._isAttached}function xEe(e){return iie(e)?(e._isAttached=!0,!0):!1}function CEe(e){return e._isAttached}function AEe(e){return e._isAttached=!1,!0}function aie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function oie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function OEe(){F_(this,"before:attach",iie)}function IEe(){F_(this,"attach",xEe),aie(this)}function PEe(){F_(this,"before:detach",CEe),oie(this)}function DEe(){F_(this,"detach",AEe)}function kEe(){oie(this)}function NEe(){aie(this)}function fy(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":OEe,attach:IEe,"before:detach":PEe,detach:DEe,"before:render":kEe,render:NEe}))}var LEe=/(^|:)(\w)/gi,lR={};function MEe(e,t,r){return r.toUpperCase()}var $Ee=function(t){return lR[t]||(lR[t]="on"+t.replace(LEe,MEe)),lR[t]};function FEe(e){var t=$Ee(e),r=nie.call(this,t),n;return at.isFunction(r)&&(n=r.apply(this,at.drop(arguments))),this.trigger.apply(this,arguments),n}var bh={normalizeMethods:qD,_setOptions:function(t,r){this.options=at.extend({},at.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:REe,getOption:nie,bindEvents:EEe,unbindEvents:wEe,bindRequests:bEe,unbindRequests:TEe,triggerMethod:FEe};at.extend(bh,ia.Events);var sie={_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.triggerMethod("destroy",this,t),this.stopListening(),this)}},uie={_initRadio:function(){var t=at.result(this,"channelName");if(t){if(!kW)throw new Oa({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=kW.channel(t),n=at.result(this,"radioEvents");this.bindEvents(r,n);var i=at.result(this,"radioRequests");this.bindRequests(r,i),this.on("destroy",this._destroyRadio)}},_destroyRadio:function(){this._channel.stopReplying(null,null,this)},getChannel:function(){return this._channel}},jEe=["channelName","radioEvents","radioRequests"],Df=function(t){this._setOptions(t,jEe),this.cid=at.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Df.extend=Fp;at.extend(Df.prototype,bh,sie,uie,{cidPrefix:"mno",initialize:function(){}});var Ys=at.invokeMap||at.invoke;function UEe(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(at.isFunction(e))return{BehaviorClass:e,options:{}};throw new Oa({message:"Unable to get behavior class. A Behavior constructor should be passed directly or as behaviorClass property of options",url:"marionette.behavior.html#defining-and-attaching-behaviors"})}function lie(e,t,r){return at.reduce(t,function(n,i){var a=UEe(i),o=a.BehaviorClass,s=a.options,l=new o(s,e);return n.push(l),lie(e,at.result(l,"behaviors"),n)},r)}var qEe={_initBehaviors:function(){this._behaviors=lie(this,at.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=Ys(this._behaviors,"_getTriggers");return at.reduce(t,function(r,n){return at.extend(r,n)},{})},_getBehaviorEvents:function(){var t=Ys(this._behaviors,"_getEvents");return at.reduce(t,function(r,n){return at.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){Ys(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){Ys(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){Ys(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){Ys(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=at.without(this._behaviors,t))},_bindBehaviorUIElements:function(){Ys(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){Ys(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){Ys(this._behaviors,"triggerMethod",t,r,n)}},cie={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=at.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=at.result(this,"collectionEvents"),this.bindEvents(r,this._collectionEvents))},_undelegateEntityEvents:function(t,r){this._modelEvents&&(this.unbindEvents(t,this._modelEvents),delete this._modelEvents),this._collectionEvents&&(this.unbindEvents(r,this._collectionEvents),delete this._collectionEvents)},_deleteEntityEventHandlers:function(){delete this._modelEvents,delete this._collectionEvents}},VEe={_renderTemplate:function(t){var r=this.mixinTemplateContext(this.serializeData())||{},n=this._renderHtml(t,r);typeof n<"u"&&this.attachElContent(n)},getTemplate:function(){return this.template},mixinTemplateContext:function(t){var r=at.result(this,"templateContext");return r?t?at.extend({},t,r):r:t},serializeData:function(){if(this.model)return this.serializeModel();if(this.collection)return{items:this.serializeCollection()}},serializeModel:function(){return this.model.attributes},serializeCollection:function(){return at.map(this.collection.models,function(t){return t.attributes})},_renderHtml:function(t,r){return t(r)},attachElContent:function(t){this.Dom.setContents(this.el,t,this.$el)}},BEe=/^(\S+)\s*(.*)$/,fie=function(t,r){var n=t.match(BEe);return"".concat(n[1],".").concat(r," ").concat(n[2])},HEe={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function AI(e){return!!HEe[e]}function zEe(e,t){at.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;AI("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return AI("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),i&&a.stopPropagation();for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];e.triggerMethod.apply(e,[r,e,a].concat(s))}}var die={_getViewTriggers:function(t,r){var n=this;return at.reduce(r,function(i,a,o){return o=fie(o,"trig".concat(n.cid)),i[o]=zEe(t,a),i},{})}},WEe=function(t,r){return at.reduce(t,function(n,i,a){var o=dy(a,r);return n[o]=i,n},{})},GEe=/@ui\.[a-zA-Z-_$0-9]*/g,dy=function(t,r){return t.replace(GEe,function(n){return r[n.slice(4)]})},YEe=function(t,r,n){return at.each(t,function(i,a){if(at.isString(i))t[a]=dy(i,r);else if(i){var o=i[n];at.isString(o)&&(i[n]=dy(o,r))}}),t},hie={normalizeUIKeys:function(t){var r=this._getUIBindings();return WEe(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return dy(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return YEe(t,n,r)},_getUIBindings:function(){var t=at.result(this,"_uiBindings");return t||at.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=at.result(this,"_uiBindings");this._ui={},at.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(at.each(this.ui,function(r,n){delete t.ui[n]}),this.ui=this._uiBindings,delete this._uiBindings,delete this._ui)},_getUI:function(t){return this._ui[t]}};function kc(e){return e instanceof ia.$?e:ia.$(e)}function VD(e){return this.prototype.Dom=at.extend({},this.prototype.Dom,e),this}var vie={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return kc(t)},findEl:function(t,r){return kc(t).find(r)},hasEl:function(t,r){return t.contains(r&&r.parentNode)},detachEl:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kc(t);r.detach()},replaceEl:function(t,r){if(t!==r){var n=r.parentNode;n&&n.replaceChild(t,r)}},swapEl:function(t,r){if(t!==r){var n=t.parentNode,i=r.parentNode;if(!(!n||!i)){var a=t.nextSibling,o=r.nextSibling;n.insertBefore(r,a),i.insertBefore(t,o)}}},setContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:kc(t);n.html(r)},appendContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n._$el,a=i===void 0?kc(t):i,o=n._$contents,s=o===void 0?kc(r):o;a.append(s)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kc(t);r.contents().detach()}},BD={Dom:vie,_isElAttached:function(){return!!this.el&&this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,_isDestroyed:!1,isDestroyed:function(){return!!this._isDestroyed},_isRendered:!1,isRendered:function(){return!!this._isRendered},_isAttached:!1,isAttached:function(){return!!this._isAttached},delegateEvents:function(t){this._proxyBehaviorViewProperties(),this._buildEventProxies();var r=at.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return ia.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(at.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(at.result(this,"triggers"));return this._getViewTriggers(this,t)}},delegateEntityEvents:function(){return this._delegateEntityEvents(this.model,this.collection),this._delegateBehaviorEntityEvents(),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.model,this.collection),this._undelegateBehaviorEntityEvents(),this},destroy:function(t){if(this._isDestroyed||this._isDestroying)return this;this._isDestroying=!0;var r=this._isAttached&&!this._disableDetachEvents;return this.triggerMethod("before:destroy",this,t),r&&this.triggerMethod("before:detach",this),this.unbindUIElements(),this._removeElement(),r&&(this._isAttached=!1,this.triggerMethod("detach",this)),this._removeChildren(),this._isDestroyed=!0,this._isRendered=!1,this._destroyBehaviors(t),this._deleteEntityEventHandlers(),this.triggerMethod("destroy",this,t),this._triggerEventOnBehaviors("destroy",this,t),this.stopListening(),this},_removeElement:function(){this.$el.off().removeData(),this.Dom.detachEl(this.el,this.$el)},bindUIElements:function(){return this._bindUIElements(),this._bindBehaviorUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this._unbindBehaviorUIElements(),this},getUI:function(t){return this._getUI(t)},_buildEventProxies:function(){this._childViewEvents=this.normalizeMethods(at.result(this,"childViewEvents")),this._childViewTriggers=at.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=AI("childViewEventPrefix")?"childview":!1,r=at.result(this,"childViewEventPrefix",t);return r===!1?r:r+":"},_proxyChildViewEvents:function(t){(this._childViewEvents||this._childViewTriggers||this._eventPrefix)&&this.listenTo(t,"all",this._childViewEventHandler)},_childViewEventHandler:function(t){for(var r=this._childViewEvents,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r&&r[t]&&r[t].apply(this,i);var o=this._childViewTriggers;o&&o[t]&&this.triggerMethod.apply(this,[o[t]].concat(i)),this._eventPrefix&&this.triggerMethod.apply(this,[this._eventPrefix+t].concat(i))}};at.extend(BD,qEe,bh,cie,VEe,die,hie);function pie(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function gie(e,t){if(e.destroy){e._disableDetachEvents=t,e.destroy();return}e.supportsDestroyLifecycle||e.triggerMethod("before:destroy",e);var r=e._isAttached&&!t;r&&e.triggerMethod("before:detach",e),e.remove(),r&&(e._isAttached=!1,e.triggerMethod("detach",e)),e._isDestroyed=!0,e.supportsDestroyLifecycle||e.triggerMethod("destroy",e)}var av="RegionError",KEe=["allowMissingEl","parentEl","replaceElement"],kf=function(t){this._setOptions(t,KEe),this.cid=at.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof ia.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};kf.extend=Fp;kf.setDomApi=VD;at.extend(kf.prototype,bh,{Dom:vie,cidPrefix:"mnr",replaceElement:!1,_isReplaced:!1,_isSwappingView:!1,initialize:function(){},show:function(t,r){if(this._ensureElement(r)){if(t=this._getView(t,r),t===this.currentView)return this;if(t._isShown)throw new Oa({name:av,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});return this._isSwappingView=!!this.currentView,this.triggerMethod("before:show",this,t,r),(this.currentView||!t._isAttached)&&this.empty(r),this._setupChildView(t),this.currentView=t,pie(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new Oa({name:av,message:'An "el" must be specified for a region.',url:"marionette.region.html#additional-options"});return this.getEl(t)},_setEl:function(){this.$el=this._getEl(this.el),this.$el.length&&(this.el=this.$el[0]),this.$el.length>1&&(this.$el=this.Dom.getEl(this.el))},_setElement:function(t){if(t===this.el)return this;var r=this._isReplaced;if(this._restoreEl(),this.el=t,this._setEl(),this.currentView){var n=this.currentView;r?this._replaceEl(n):this.attachHtml(n)}return this},_setupChildView:function(t){fy(t),this._proxyChildViewEvents(t),t.on("destroy",this._empty,this)},_proxyChildViewEvents:function(t){var r=this._parentView;r&&r._proxyChildViewEvents(t)},_shouldDisableMonitoring:function(){return this._parentView&&this._parentView.monitorViewEvents===!1},_isElAttached:function(){return this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},_attachView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.replaceElement,i=!t._isAttached&&this._isElAttached()&&!this._shouldDisableMonitoring(),a=typeof n>"u"?!!at.result(this,"replaceElement"):!!n;i&&t.triggerMethod("before:attach",t),a?this._replaceEl(t):this.attachHtml(t),i&&(t._isAttached=!0,t.triggerMethod("attach",t)),t._isShown=!0},_ensureElement:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(at.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!at.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new Oa({name:av,message:'An "el" must exist in DOM for this region '.concat(this.cid),url:"marionette.region.html#additional-options"})}return!0},_getView:function(t){if(!t)throw new Oa({name:av,message:"The view passed is undefined and therefore invalid. You must pass a view instance to show.",url:"marionette.region.html#showing-a-view"});if(t._isDestroyed)throw new Oa({name:av,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof ia.View)return t;var r=this._getViewOptions(t);return new HD(r)},_getViewOptions:function(t){if(at.isFunction(t))return{template:t};if(at.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=at.result(this,"parentEl");return r&&at.isString(t)?this.Dom.findEl(r,t):this.Dom.getEl(t)},_replaceEl:function(t){this._restoreEl(),t.on("before:destroy",this._restoreEl,this),this.Dom.replaceEl(t.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var t=this.currentView;t&&(this._detachView(t),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(t){this.Dom.appendContents(this.el,t.el,{_$el:this.$el,_$contents:t.$el})},empty:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{allowMissingEl:!0},r=this.currentView;return r?(this._empty(r,!0),this):(this._ensureElement(t)&&this.detachHtml(),this)},_empty:function(t,r){t.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,t),this._restoreEl(),delete this.currentView,t._isDestroyed||(r?this.removeView(t):this._detachView(t),t._isShown=!1,this._stopChildViewEvents(t)),this.triggerMethod("empty",this,t)},_stopChildViewEvents:function(t){var r=this._parentView;r&&this._parentView.stopListening(t)},destroyView:function(t){return t._isDestroyed||gie(t,this._shouldDisableMonitoring()),t},removeView:function(t){this.destroyView(t)},detachView:function(){var t=this.currentView;if(t)return this._empty(t),t},_detachView:function(t){var r=t._isAttached&&!this._shouldDisableMonitoring(),n=this._isReplaced;r&&t.triggerMethod("before:detach",t),n?this.Dom.replaceEl(this.el,t.el):this.detachHtml(),r&&(t._isAttached=!1,t.triggerMethod("detach",t))},detachHtml:function(){this.Dom.detachContents(this.el,this.$el)},hasView:function(){return!!this.currentView},reset:function(t){return this.empty(t),this.el=this._initEl,delete this.$el,this},_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.reset(t),this._name&&this._parentView._removeReferences(this._name),delete this._parentView,delete this._name,this.triggerMethod("destroy",this,t),this.stopListening(),this)}});function mie(e,t){if(e instanceof kf)return e;if(at.isString(e))return cR(t,{el:e});if(at.isFunction(e))return cR(t,{regionClass:e});if(at.isObject(e))return cR(t,e);throw new Oa({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function cR(e,t){var r=at.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var XEe={regionClass:kf,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(at.result(this,"regions"))},_reInitRegions:function(){Ys(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!at.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=at.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:at.partial(at.result,this,"el")};return at.reduce(t,function(i,a,o){return i[o]=mie(a,n),r._addRegion(i[o],o),i},{})},_addRegion:function(t,r){this.triggerMethod("before:add:region",this,r,t),t._parentView=this,t._name=r,this._regions[r]=t,this.triggerMethod("add:region",this,r,t)},removeRegion:function(t){var r=this._regions[t];return this._removeRegion(r,t),r},removeRegions:function(){var t=this._getRegions();return at.each(this._regions,this._removeRegion.bind(this)),t},_removeRegion:function(t,r){this.triggerMethod("before:remove:region",this,r,t),t.destroy(),this.triggerMethod("remove:region",this,r,t)},_removeReferences:function(t){delete this.regions[t],delete this._regions[t]},emptyRegions:function(){var t=this.getRegions();return Ys(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return at.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(t,r,n){var i=this.getRegion(t);return i.show(r,n),r},detachChildView:function(t){return this.getRegion(t).detachView()},getChildView:function(t){return this.getRegion(t).currentView}};function yie(e){return this.prototype._renderHtml=e,this}var QEe=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function JEe(e,t){return t.currentView&&e.push(t.currentView),e}var HD=ia.View.extend({constructor:function(t){this._setOptions(t,QEe),fy(this),this._initBehaviors(),this._initRegions(),ia.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return ia.View.prototype.setElement.apply(this,arguments),this._isRendered=this.Dom.hasContents(this.el),this._isAttached=this._isElAttached(),this._isRendered&&this.bindUIElements(),this},render:function(){var t=this.getTemplate();return t===!1||this._isDestroyed?this:(this.triggerMethod("before:render",this),this._isRendered&&this._reInitRegions(),this._renderTemplate(t),this.bindUIElements(),this._isRendered=!0,this.triggerMethod("render",this),this)},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return at.reduce(this._regions,JEe,[])}},{setRenderer:yie,setDomApi:VD});at.extend(HD.prototype,BD,XEe);var hy=function(){this._init()},ZEe=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"];at.each(ZEe,function(e){hy.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return at[e].apply(at,[this._views].concat(r))}});function ewe(e,t){return t.model&&t.model.get(e)}at.extend(hy.prototype,{_init:function(){this._views=[],this._viewsByCid={},this._indexByModel={},this._updateLength()},_add:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._views.length;this._addViewIndexes(t),this._views.splice(r,0,t),this._updateLength()},_addViewIndexes:function(t){this._viewsByCid[t.cid]=t,t.model&&(this._indexByModel[t.model.cid]=t)},_sort:function(t,r){return typeof t=="string"?(t=at.partial(ewe,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=at.sortBy(this._views,t);return this._set(r),r},_set:function(t,r){this._views.length=0,this._views.push.apply(this._views,t.slice(0)),r&&(this._viewsByCid={},this._indexByModel={},at.each(t,this._addViewIndexes.bind(this)),this._updateLength())},_swap:function(t,r){var n=this.findIndexByView(t),i=this.findIndexByView(r);if(!(n===-1||i===-1)){var a=this._views[n];this._views[n]=this._views[i],this._views[i]=a}},findByModel:function(t){return this.findByModelCid(t.cid)},findByModelCid:function(t){return this._indexByModel[t]},findByIndex:function(t){return this._views[t]},findIndexByView:function(t){return this._views.indexOf(t)},findByCid:function(t){return this._viewsByCid[t]},hasView:function(t){return!!this.findByCid(t.cid)},_remove:function(t){if(this._viewsByCid[t.cid]){t.model&&delete this._indexByModel[t.model.cid],delete this._viewsByCid[t.cid];var r=this.findIndexByView(t);this._views.splice(r,1),this._updateLength()}},_updateLength:function(){this.length=this._views.length}});var pd="CollectionViewError",twe=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],rwe=ia.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,twe),fy(this),this._initChildViewStorage(),this._initBehaviors(),ia.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new hy,this.children=new hy},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new kf({el:t[0],replaceElement:!1}),this._emptyRegion._parentView=this,this._emptyRegion)},_initialEvents:function(){this._isRendered||this.listenTo(this.collection,{sort:this._onCollectionSort,reset:this._onCollectionReset,update:this._onCollectionUpdate})},_onCollectionSort:function(t,r){var n=r.add,i=r.merge,a=r.remove;!this.sortWithCollection||this.viewComparator===!1||n||a||i||this.sort()},_onCollectionReset:function(){this._destroyChildren(),this._addChildModels(this.collection.models),this.sort()},_onCollectionUpdate:function(t,r){var n=r.changes,i=n.removed.length&&this._removeChildModels(n.removed);this._addedViews=n.added.length&&this._addChildModels(n.added),this._detachChildren(i),this.sort(),this._removeChildViews(i)},_removeChildModels:function(t){var r=this;return at.reduce(t,function(n,i){var a=r._removeChildModel(i);return a&&n.push(a),n},[])},_removeChildModel:function(t){var r=this._children.findByModel(t);return r&&this._removeChild(r),r},_removeChild:function(t){this.triggerMethod("before:remove:child",this,t),this.children._remove(t),this._children._remove(t),this.triggerMethod("remove:child",this,t)},_addChildModels:function(t){return at.map(t,this._addChildModel.bind(this))},_addChildModel:function(t){var r=this._createChildView(t);return this._addChild(r),r},_createChildView:function(t){var r=this._getChildView(t),n=this._getChildViewOptions(t),i=this.buildChildView(t,r,n);return i},_addChild:function(t,r){this.triggerMethod("before:add:child",this,t),this._setupChildView(t),this._children._add(t,r),this.children._add(t,r),this.triggerMethod("add:child",this,t)},_getChildView:function(t){var r=this.childView;if(!r)throw new Oa({name:pd,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new Oa({name:pd,message:'"childView" must be a view class or a function that returns a view class',url:"marionette.collectionview.html#collectionviews-childview"});return r},_getView:function(t,r){if(t.prototype instanceof ia.View||t===ia.View)return t;if(at.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return at.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=at.extend({model:t},n);return new r(i)},_setupChildView:function(t){fy(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return ia.View.prototype.setElement.apply(this,arguments),this._isAttached=this._isElAttached(),this},render:function(){if(this._isDestroyed)return this;this.triggerMethod("before:render",this),this._destroyChildren(),this.collection&&(this._addChildModels(this.collection.models),this._initialEvents());var t=this.getTemplate();return t&&(this._renderTemplate(t),this.bindUIElements()),this._getChildViewContainer(),this.sort(),this._isRendered=!0,this.triggerMethod("render",this),this},_getChildViewContainer:function(){var t=at.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new Oa({name:pd,message:'The specified "childViewContainer" was not found: '.concat(t),url:"marionette.collectionview.html#defining-the-childviewcontainer"})},sort:function(){return this._sortChildren(),this.filter(),this},_sortChildren:function(){if(this._children.length){var t=this.getComparator();t&&(delete this._addedViews,this.triggerMethod("before:sort",this),this._children._sort(t,this),this.triggerMethod("sort",this))}},setComparator:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewComparator!==t,a=i&&!n;return this.viewComparator=t,a&&this.sort(),this},removeComparator:function(t){return this.setComparator(null,t)},getComparator:function(){return this.viewComparator?this.viewComparator:!this.sortWithCollection||this.viewComparator===!1||!this.collection?!1:this._viewComparator},_viewComparator:function(t){return this.collection.indexOf(t.model)},filter:function(){return this._isDestroyed?this:(this._filterChildren(),this._renderChildren(),this)},_filterChildren:function(){var t=this;if(this._children.length){var r=this._getFilter();if(!r){var n=this.children.length!==this._children.length;this.children._set(this._children._views,n);return}delete this._addedViews,this.triggerMethod("before:filter",this);var i=[],a=[];at.each(this._children._views,function(o,s,l){(r.call(t,o,s,l)?i:a).push(o)}),this._detachChildren(a),this.children._set(i,!0),this.triggerMethod("filter",this,i,a)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if(at.isFunction(t))return t;if(at.isObject(t)){var r=at.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(at.isString(t))return function(n){return n.model&&n.model.get(t)};throw new Oa({name:pd,message:'"viewFilter" must be a function, predicate object literal, a string indicating a model attribute, or falsy',url:"marionette.collectionview.html#defining-the-viewfilter"})},getFilter:function(){return this.viewFilter},setFilter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewFilter!==t,a=i&&!n;return this.viewFilter=t,a&&this.filter(),this},removeFilter:function(t){return this.setFilter(null,t)},_detachChildren:function(t){at.each(t,this._detachChildView.bind(this))},_detachChildView:function(t){var r=t._isAttached&&this.monitorViewEvents!==!1;r&&t.triggerMethod("before:detach",t),this.detachHtml(t),r&&(t._isAttached=!1,t.triggerMethod("detach",t)),t._isShown=!1},detachHtml:function(t){this.Dom.detachEl(t.el,t.$el)},_renderChildren:function(){this._hasUnrenderedViews&&(delete this._addedViews,delete this._hasUnrenderedViews);var t=this._addedViews||this.children._views;if(this.triggerMethod("before:render:children",this,t),this.isEmpty())this._showEmptyView();else{this._destroyEmptyView();var r=this._getBuffer(t);this._attachChildren(r,t)}delete this._addedViews,this.triggerMethod("render:children",this,t)},_getBuffer:function(t){var r=this,n=this.Dom.createBuffer();return at.each(t,function(i){pie(i),i._isShown=!0,r.Dom.appendContents(n,i.el,{_$contents:i.$el})}),n},_attachChildren:function(t,r){var n=this._isAttached&&this.monitorViewEvents!==!1;r=n?r:[],at.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),at.each(r,function(i){i._isAttached||(i._isAttached=!0,i.triggerMethod("attach",i))})},attachHtml:function(t,r){this.Dom.appendContents(r[0],t,{_$el:r})},isEmpty:function(){return!this.children.length},_showEmptyView:function(){var t=this._getEmptyView();if(t){var r=this._getEmptyViewOptions(),n=this.getEmptyRegion();n.show(new t(r))}},_getEmptyView:function(){var t=this.emptyView;if(t)return this._getView(t)},_destroyEmptyView:function(){var t=this.getEmptyRegion();t.hasView()&&t.empty()},_getEmptyViewOptions:function(){var t=this.emptyViewOptions||this.childViewOptions;return at.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new Oa({name:pd,message:"Both views must be children of the collection view to swap.",url:"marionette.collectionview.html#swapping-child-views"});return this._children._swap(t,r),this.Dom.swapEl(t.el,r.el),this.children.hasView(t)!==this.children.hasView(r)?this.filter():this.children._swap(t,r),this},addChildView:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||t._isDestroyed)return t;if(t._isShown)throw new Oa({name:pd,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(at.isObject(r)&&(n=r),n.index!=null&&(r=n.index),this._isRendered||this.render(),this._addChild(t,r),n.preventRender)return this._hasUnrenderedViews=!0,t;var i=typeof r<"u",a=!i||r>=this._children.length;return a&&!this._hasUnrenderedViews&&(this._addedViews=[t]),i?this._renderChildren():this.sort(),t},detachChildView:function(t){return this.removeChildView(t,{shouldDetach:!0}),t},removeChildView:function(t,r){return t&&(this._removeChildView(t,r),this._removeChild(t),this.isEmpty()&&this._showEmptyView(),t)},_removeChildViews:function(t){at.each(t,this._removeChildView.bind(this))},_removeChildView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.shouldDetach;t.off("destroy",this.removeChildView,this),n?this._detachChildView(t):this._destroyChildView(t),this.stopListening(t)},_destroyChildView:function(t){if(!t._isDestroyed){var r=this.monitorViewEvents===!1;gie(t,r)}},_removeChildren:function(){this._destroyChildren();var t=this.getEmptyRegion();t.destroy(),delete this._addedViews},_destroyChildren:function(){this._children.length&&(this.triggerMethod("before:destroy:children",this),this.monitorViewEvents===!1&&this.Dom.detachContents(this.el,this.$el),this._removeChildViews(this._children._views),this._children._init(),this.children._init(),this.triggerMethod("destroy:children",this))}},{setDomApi:VD,setRenderer:yie});at.extend(rwe.prototype,BD);var nwe=["collectionEvents","events","modelEvents","triggers","ui"],_ie=function(t,r){this.view=r,this._setOptions(t,nwe),this.cid=at.uniqueId(this.cidPrefix),this.ui=at.extend({},at.result(this,"ui"),at.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};_ie.extend=Fp;at.extend(_ie.prototype,bh,cie,die,hie,{cidPrefix:"mnb",initialize:function(){},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this._deleteEntityEventHandlers(),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(t){return this._getUI(t)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},_getEvents:function(){var t=this;if(this.events){var r=this.normalizeUIKeys(at.result(this,"events"));return at.reduce(r,function(n,i,a){return at.isFunction(i)||(i=t[i]),i&&(a=fie(a,t.cid),n[a]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(at.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var iwe=["channelName","radioEvents","radioRequests","region","regionClass"],j_=function(t){this._setOptions(t,iwe),this.cid=at.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};j_.extend=Fp;at.extend(j_.prototype,bh,sie,uie,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:kf,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=mie(t,r)}},getRegion:function(){return this._region},showView:function(t){for(var r=this.getRegion(),n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return r.show.apply(r,[t].concat(i)),t},getView:function(){return this.getRegion().currentView}});var U_=(e=>(e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer",e))(U_||{}),OI=(e=>(e[e.Information=1]="Information",e[e.Success=2]="Success",e[e.Redirect=3]="Redirect",e[e.ClientError=4]="ClientError",e[e.ServerError=5]="ServerError",e))(OI||{});class Sie extends Error{constructor(t){super(t)}}class q_ extends Sie{get name(){return"SilentError"}}class Ia extends Error{get name(){return"CoreError"}}const vr={throw(e){if(Lr.Radio.channel(kn.SHELL).trigger(Nn.ERROR,e),!(e instanceof q_))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===OI.ClientError||t===OI.ServerError}};function pc(e,t,r,n){let i=e;return typeof e=="string"&&(i=Lr.Radio.channel(e)),n.call(this,i,t,r)}class awe extends j_{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),at.result(this,"name")||vr.throw(new Ia("BaseApplication must define a name")),at.result(this,"channelName")||vr.throw(new Ia("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),Nn.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||vr.throw(new Ia(`Global channel ${n} does not exist`)),Lr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=at.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(at.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new Ia(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||vr.throw(new Ia("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,i=this.layout.getRegion("alert");if(!i){vr.throw(new Ia("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=at.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}/**
43
- * @license
44
- * MarionetteJS (Marionette.AppRouter)
45
- * ----------------------------------
46
- * v1.0.1
47
- *
48
- * Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
49
- * Distributed under MIT license
50
- *
51
- * http://marionettejs.com
52
- */var owe=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],swe=["appRoutes","controller"],Eie=ia.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,swe),ia.Router.apply(this,arguments);var r=this.appRoutes,n=this._getController();this.processAppRoutes(n,r),this.on("route",this._processOnRoute,this)},appRoute:function(t,r){var n=this._getController();return this._addAppRoute(n,t,r),this},_processOnRoute:function(t,r){if(at.isFunction(this.onRoute)){var n=at.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=at.keys(r).reverse();return at.each(i,function(a){n._addAppRoute(t,a,r[a])}),this},_getController:function(){return this.controller},_addAppRoute:function(t,r,n){var i=t[n];if(!i)throw new Error('Method "'+n+'" was not found on the controller');this.route(r,n,at.bind(i,t))}});at.extend(Eie.prototype,at.pick(Df.prototype,owe));class $d{constructor(){this.stack=[]}useAsync(t){const r=n=>(i,a)=>n(i,o=>t(o,a));this.goAsync=r(this.goAsync)}goAsync(t,r){r(t)}useSync(t){this.stack.push(t)}goSync(t){let r=t;for(const n of this.stack)r=n(r);return r}}const uwe=/([A-Z])/g,lwe=/(^|:)(\w)/gi;class au extends Eie{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new $d,r=this.options.shell.routeMiddleware,n=this.appRoutes;return at.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},a=>i(a.appRoutes))})}_processAppRoutes(t){super.processAppRoutes.call(this,this.controller,t),this._appRoutes=t}_buildRouteLookup(){const t=this.appRoutes??{},r=this._appRoutes??{},n=Object.entries(t).reduce((a,[o,s])=>({...a,[s]:o}),{}),i=Object.entries(r).reduce((a,[o,s])=>({...a,[s]:o}),{});this._routeLookup={baseRoutes:{...this.appRoutes,...n},modifiedRoutes:{...this._appRoutes,...i}}}async start(){const t=await this._initRoutes();this._processAppRoutes(t),this._buildRouteLookup(),this.bindDisposal(),this.processInternalRoutes(),this.processExternalRoutes(),this.processAppLinks()}_processOnRoute(t,r){if(at.isFunction(this.onRoute)){const n=at.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(kn.SHELL,Nn.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new $d;return at.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,i,a)=>{const s={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,s),c=this.toMethodName(l.action),d=this._routeLookup.modifiedRoutes[c];return Kn.buildRoute(d??r,l,a)})}processInternalRoutes(){at.each(at.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o={appLink:i,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},s=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,o),l=this.toMethodName(s.action),c=this._routeLookup.modifiedRoutes[l];this.executeRoute(s,{isAppRoute:!0,route:c??t},d=>{const h=at.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Yn.UpdateUrl(c??t,d,a)})})})}triggerNavLocked(t,r){t.trigger(Nn.NAV_IS_LOCKED,r),es.routingEnded()}processExternalRoutes(){this.externalRoutes&&at.each(at.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o=Lr.Radio.channel(kn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,i);return}Yn.PageLoad(Kn.getHref(i))})})}processAppLinks(){this.appLinks&&at.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new Ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),es.routingStarted();const i=Lr.Radio.channel(kn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(i,t);return}const a={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},o=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,a),s=this.toMethodName(o.action),l=new $d;at.each(this.filters,c=>l.useAsync(c)),l.goAsync({appLink:o,shell:this.options.shell},()=>{i.trigger(Nn.ROUTE,o,r),this.createApp();const c=this.controller;if(at.isFunction(c[s])||(es.routingEnded(),vr.throw(new Ia(`${s} does not exist on the ${at.result(c,"name")}.`))),c.triggerMethod("before:action",t)===!1){c.triggerMethod("action:cancelled"),es.routingEnded();return}c.triggerMethod("load:layout");const d={appLink:o,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);c[s].apply(c,[...h.args||[],h.params||{}]),at.isFunction(n)&&n(o),es.routingEnded()})}createApp(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}destroyApp(){if(!this.controller)return;this.controller.destroy(),delete this.controller}_addAppRoute(t,r,n){this.route(r,n,(...i)=>{const a={application:this.channelName,action:this.toEventName(n),args:i.slice(0,i.length-1),params:Yn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Yn.UpdateQuery(at.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(uwe,":$1").toLowerCase()}toMethodName(t){const r=t.replace(lwe,(n,i,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(es.routingEnded(),vr.throw(new Ia("Invalid AppLink")))}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class V_ extends Lr.Collection{listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class xn extends Sie{get name(){return"DevError"}}class cwe{constructor(){this.variables={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"EnvironmentVariables"}get isDevelopment(){return this.variables.isDevelopment}get(t){return this.variables[t]}setUpVariables(t){this.variables=t}}const B_=cwe.Instance;function fwe(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const dwe=["model","collection","el","id","attributes","className","tagName","events"];Lr.View.prototype.constructor=function(e){this.cid=at.uniqueId("view");const t=dwe.filter(r=>{var n;return!((n=fwe(this,r))!=null&&n.get)});at.extend(this,at.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const Ld=class Ld extends HD{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=at.extend({},at.result(this,"defaults"),t)}_setAttributes(t){B_.isDevelopment&&at.extend(t,{"cv-classname":this.name}),this.$el.attr(t)}get elements(){return null}get ui(){return this.uiStorage?this.uiStorage:(this.uiStorage=this.elements,this.uiStorage)}set ui(t){this.uiStorage=t}constructor(t){super(t);const r=[...this.defaultProps,...this.props||[]];this.mergeOptions(t,r),at.result(this,"name")||vr.throw(new Ia(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){Ld.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",at.result(this,"className"))}serializeData(){const t=super.serializeData(),r=at.result(this,"viewOptions"),n=at.extend({},t,{options:r});return Ld.ViewDataExtensions.length?at.extend(n,...at.map(Ld.ViewDataExtensions,i=>i instanceof Function?i(this):i)):n}viewOptions(){return this.options}undelegateAppLinks(){this.$el&&this.$el.off(`.appLinks${this.cid}`)}renderAppLinks(){let t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),at.each(at.keys(t),r=>{let n=r;const i=t[r],a=Kn.getHref(i);n==="[this]"&&(n=null);const o=n?this.$el.find(r):this.$el;!o.is("a")&&!o.is("button")||(a&&a!=="/"&&o.attr("href",a),this.delegate(`click.appLinks${this.cid}`,n,function(s){s.preventDefault(),Kn.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=at.some(t.regions,(r=>at.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){Lr.Radio.channel(kn.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}render(){const t=this;if(t._isDestroyed)return this;const r=this.getTemplate();if(!r)return this;let n=this.processRequriedResources(!0);return n&&(n=t.triggerMethod("before:render",this)),n!==!1&&(n=!0),n=n&&this.processRequriedResources(!1),n===!1?t._partialLoadingRendered||!t.hasPartialLoadingRegions()?this:(t._partialLoadingRendered=!0,t._reInitRegions(),t._renderTemplate(r),t.renderPartialLoading(),this):((t._isRendered||t._partialLoadingRendered)&&t._reInitRegions(),this.setTitle(),t._renderTemplate(r),t.bindUIElements(),this.renderAppLinks(),t._partialLoadingRendered=!1,t._isRendered=!0,t.triggerMethod("render",this),this)}processRequriedResources(t){return!0}setTitle(){}};Ld.ViewDataExtensions=[];let II=Ld;class hwe extends II{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=at.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return at.each(r,a=>{const o=this.requiredResources[a];if(o.beforeOnBeforeRender!==t)return;const s=o.dataServiceName;this.resourceInstances[s]||(this.resourceInstances[s]=o.getInstance(this)),this.boundListeners[`${s}:${o.eventName}`]||(this.listenTo(this.resourceInstances[s].channelName,o.eventName,this.render),this.boundListeners[`${s}:${o.eventName}`]=!0),n[a]=o.getData(this.resourceInstances[s]),i=i&&!!n[a]}),i}setTitle(){!at.isString(this.title)&&this.title!==!1&&vr.throw(new xn(`Must define a title for ${this.name}.`)),Lr.Radio.channel(kn.SHELL).trigger("set:page:title",this.title)}}class vwe extends hwe{constructor(t){super(t)}static getCacheKey(t){vr.throw(new xn(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class ll extends Lr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=Do({},i,t[n]);return}r[n]=t[n]}}addValidation(t){this.mixin({validation:t})}validate(t,r){super.validate.call(this,t,r)}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class zW extends ll{set(t,r,n){let i,a;if(t===null)return this;typeof t=="object"?(a=t,n=r):(a={},a[t]=r),n||(n={});for(i in a)ly(this.associations,i)&&(a[i]=this.setAssociation(i,a[i],n));return super.set.call(this,a,n)}get(t){const r=t.indexOf(".");if(r===-1)return super.get.call(this,t);const n=t.substr(0,r),i=this.attributes[n];if(!i||!an(i.get))return super.get.call(this,t);const a=t.substr(r+1);return i.get(a)}setAssociation(t,r,n){const i=this.associations[t],a=this.attributes[t];if(!an(i))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof ll&&a.set(r,n),a instanceof V_&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const o=r instanceof ll?r:new i(r,{parse:!0});return o.parent=this,this[t]=o,o}toJSON(...t){const r=super.toJSON.apply(this,t);return Da(this.associations,(n,i)=>{ly(r,i)&&an(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return $_(super.toJSON.apply(this,t),aa(this.associations))}}class Bo extends Df{constructor(t){super(t),this.name||vr.throw(new Ia("Your service must be named."))}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class pwe extends Df{constructor(t){super(t),this.layouts={},this.requiredRegions=t.requiredRegions}clearLayout(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}registerLayout(t,r){return this.checkRequiredRegions(r),this.layouts[t]=r,this}getLayout(t){const{name:r,options:n={}}=t;this.layouts[r]||vr.throw(new Ia(`${r} was not registered as a template.`));const i=this.layouts[r].getCacheKey(n);return this.currentLayoutCacheKey===i&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",n),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=i,this.currentLayout=new this.layouts[r](n),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}checkRequiredRegions(t){Da(this.requiredRegions,r=>{ly(kv(t.prototype,"regions"),r)||vr.throw(new Ia(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class gwe{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class mwe extends j_{constructor(){super(...arguments),this.routeMiddleware=[],this.onBeforeExecuteAppLinkMiddleware=[],this.onExecuteAppLinkMiddleware=[],this.onAfterExecuteAppLinkMiddleware=[]}initialize(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}bindListeners(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}bindNavLockListeners(){this.listenTo(kn.SHELL,Nn.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(kn.SHELL,Nn.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(kn.SHELL,Nn.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(kn.SHELL,Nn.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(kn.SHELL,Nn.ROUTE,r=>this.shellState.currentAppLink=r);const t=Lr.Radio.channel(kn.SHELL);t.reply(Nn.HAS_ACTIVE_ROUTE,at.bind(this.hasActiveRoute,this)),t.reply(Nn.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{es.routingEnded()})}bindErrorListener(){const t=Lr.Radio.channel(kn.SHELL);this.listenTo(t,Nn.ERROR,this.handleError)}bindRouteLookup(){Lr.Radio.channel(kn.SHELL).reply(Nn.ROUTE_LOOKUP,(r,n,i,a)=>this.routeLookup[r]?this.routeLookup[r](n,i,a):!1,this)}addRouteLookup(t,r){this.routeLookup[t]=r}registerApplication(t,r){return this.applications.push(new gwe(t,r)),this}getGlobalRadioChannels(){return kn}isNavLocked(){return this.shellState.navLock}start(t){t||(t={}),this.runInitializationSteps(this,()=>{this.runStartUpSteps(this,t,()=>{super.start(t)})})}hasActiveRoute(){return this.shellState.activeRoute}async onStart(){const t=at.map(this.applications,r=>{const n={appConstructor:r.Application,shell:this,appOptions:{region:"",shell:this,layoutService:this.layoutService,...r.Options}};return new r.Application.router(n)});await Promise.all(t.map(r=>r.start())),this.bindListeners(),Yn.StartHistory()}addInitializationStep(t){return this.runInitializationSteps=(r=>(n,i)=>r(n,()=>t(n,i)))(this.runInitializationSteps),this}runInitializationSteps(t,r){r(t)}addStartUpStep(t){return this.runStartUpSteps=(r=>(n,i,a)=>r(n,i,()=>t(n,i,a)))(this.runStartUpSteps),this}runStartUpSteps(t,r,n){n(t,r)}registerLayout(t,r){return this.layoutService.registerLayout(t,r),this}registerErrorHandler(t,r){return t||vr.throw(new Ia("An error must have a name in order to register a handler for it.")),at.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new Ia(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=at.find(this.errorHandlers,n=>t instanceof n.errorType);r&&r.handler&&r.handler(t)}registerStore(t){this.store=t}registerRouteMiddleware(t){return this.routeMiddleware.push(t),this}registerAppLinkMiddleware(t,r){return t==="onBeforeExecute"&&this.onBeforeExecuteAppLinkMiddleware.push(r),t==="onExecute"&&this.onExecuteAppLinkMiddleware.push(r),t==="onAfterExecute"&&this.onAfterExecuteAppLinkMiddleware.push(r),this}listenTo(...t){return pc.call(this,t[0],t[1],t[2],super.listenTo)}}class ywe extends Bo{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return"InstanceManager"}static get Instance(){return this.instance||(this.instance=new this)}registerDataService(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t({dataProvider:this.getInstance(r.dataProvider),cache:this.getInstance(r.cache),bootstrapData:r.bootstrapData,defaultErrorHandler:r.defaultErrorHandler,alertService:r.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():vr.throw(new xn(`Trying to destroy a ${n} instance that has already been destroyed`)),this.releaseInstance(r.dataProvider),this.releaseInstance(r.cache)},this}registerInstance(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t(r),this.destructors[n]=()=>an(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(t){const r=t.name;return this.singletonInstances[r]=t,this}getInstance(t,r){return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||vr.throw(new xn(`${t} was not registered with ${this.name}`)),this.referenceCounts[t]++,r&&this.listenTo(r,"destroy",()=>this.releaseInstance(t)),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}releaseInstance(t){if(this.instances[t])return window.setTimeout(()=>{this.referenceCounts[t]--,this.referenceCounts[t]<1&&(this.destructors[t](),delete this.instances[t])},0),this}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new xn(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new xn(`A class with the name: ${r} has already been registered with ${this.name}`))}}const Qs=ywe.Instance,co={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Tu=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Tu||{}),dn=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(dn||{});function WW(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const _we=[dn.POST,dn.PUT];function PI(e){const{resource:t,type:r,headers:n,success:i,error:a,always:o}=e,s={url:t,method:r,contentType:"application/json; charset=utf-8"};_we.includes(r)&&e.data&&(s.data=JSON.stringify(e.data)),n&&(s.headers=n),al.ajax(s).done((l,c,d)=>{i&&i(l,WW(d))}).fail(l=>{a&&a(WW(l))}).always(()=>{o&&o()})}const wie="id";function fR(e,t={}){const{idAttribute:r=wie,namespace:n=""}=t;return`${n}__${e[r]}`}function bie(e,t,r,n={}){const{idAttribute:i=wie}=n,a={...e};if(r.has(e))return e[i]?fR(e,n):a;if(r.add(e),Object.keys(e).forEach(o=>{const s=e[o];if(s){if(Array.isArray(s)){a[o]=s.map(l=>zD(l,t,r,n));return}if(typeof s=="object"){const l=bie(s,t,r,n);s[i]?a[o]=fR(s,n):a[o]=l}}}),e[i]){const o=fR(e,n);return t[o]?t[o]={...t[o],...a}:t[o]=a,o}return a}function zD(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>zD(i,t,r,n)):typeof e=="object"?bie(e,t,r,n):e)}function Tie(e,t){const r={};return{result:zD(e,r,new Set,t),entities:r}}var dR,GW;function Swe(){if(GW)return dR;GW=1;function e(){this.__data__=[],this.size=0}return dR=e,dR}var hR,YW;function Rie(){if(YW)return hR;YW=1;function e(t,r){return t===r||t!==t&&r!==r}return hR=e,hR}var vR,KW;function H_(){if(KW)return vR;KW=1;var e=Rie();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return vR=t,vR}var pR,XW;function Ewe(){if(XW)return pR;XW=1;var e=H_(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return pR=n,pR}var gR,QW;function wwe(){if(QW)return gR;QW=1;var e=H_();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return gR=t,gR}var mR,JW;function bwe(){if(JW)return mR;JW=1;var e=H_();function t(r){return e(this.__data__,r)>-1}return mR=t,mR}var yR,ZW;function Twe(){if(ZW)return yR;ZW=1;var e=H_();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return yR=t,yR}var _R,eG;function z_(){if(eG)return _R;eG=1;var e=Swe(),t=Ewe(),r=wwe(),n=bwe(),i=Twe();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,_R=a,_R}var SR,tG;function Rwe(){if(tG)return SR;tG=1;var e=z_();function t(){this.__data__=new e,this.size=0}return SR=t,SR}var ER,rG;function xwe(){if(rG)return ER;rG=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return ER=e,ER}var wR,nG;function Cwe(){if(nG)return wR;nG=1;function e(t){return this.__data__.get(t)}return wR=e,wR}var bR,iG;function Awe(){if(iG)return bR;iG=1;function e(t){return this.__data__.has(t)}return bR=e,bR}var TR,aG;function xie(){if(aG)return TR;aG=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return TR=e,TR}var RR,oG;function Pu(){if(oG)return RR;oG=1;var e=xie(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return RR=r,RR}var xR,sG;function W_(){if(sG)return xR;sG=1;var e=Pu(),t=e.Symbol;return xR=t,xR}var CR,uG;function Owe(){if(uG)return CR;uG=1;var e=W_(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=r.call(o,i),l=o[i];try{o[i]=void 0;var c=!0}catch{}var d=n.call(o);return c&&(s?o[i]=l:delete o[i]),d}return CR=a,CR}var AR,lG;function Iwe(){if(lG)return AR;lG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return AR=r,AR}var OR,cG;function jp(){if(cG)return OR;cG=1;var e=W_(),t=Owe(),r=Iwe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:n:a&&a in Object(s)?t(s):r(s)}return OR=o,OR}var IR,fG;function Up(){if(fG)return IR;fG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return IR=e,IR}var PR,dG;function Cie(){if(dG)return PR;dG=1;var e=jp(),t=Up(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var l=e(s);return l==n||l==i||l==r||l==a}return PR=o,PR}var DR,hG;function Pwe(){if(hG)return DR;hG=1;var e=Pu(),t=e["__core-js_shared__"];return DR=t,DR}var kR,vG;function Dwe(){if(vG)return kR;vG=1;var e=Pwe(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return kR=r,kR}var NR,pG;function Aie(){if(pG)return NR;pG=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return NR=r,NR}var LR,gG;function kwe(){if(gG)return LR;gG=1;var e=Cie(),t=Dwe(),r=Up(),n=Aie(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,l=o.toString,c=s.hasOwnProperty,d=RegExp("^"+l.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(v){if(!r(v)||t(v))return!1;var g=e(v)?d:a;return g.test(n(v))}return LR=h,LR}var MR,mG;function Nwe(){if(mG)return MR;mG=1;function e(t,r){return t==null?void 0:t[r]}return MR=e,MR}var $R,yG;function Nf(){if(yG)return $R;yG=1;var e=kwe(),t=Nwe();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return $R=r,$R}var FR,_G;function WD(){if(_G)return FR;_G=1;var e=Nf(),t=Pu(),r=e(t,"Map");return FR=r,FR}var jR,SG;function G_(){if(SG)return jR;SG=1;var e=Nf(),t=e(Object,"create");return jR=t,jR}var UR,EG;function Lwe(){if(EG)return UR;EG=1;var e=G_();function t(){this.__data__=e?e(null):{},this.size=0}return UR=t,UR}var qR,wG;function Mwe(){if(wG)return qR;wG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return qR=e,qR}var VR,bG;function $we(){if(bG)return VR;bG=1;var e=G_(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return n.call(o,a)?o[a]:void 0}return VR=i,VR}var BR,TG;function Fwe(){if(TG)return BR;TG=1;var e=G_(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return BR=n,BR}var HR,RG;function jwe(){if(RG)return HR;RG=1;var e=G_(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return HR=r,HR}var zR,xG;function Uwe(){if(xG)return zR;xG=1;var e=Lwe(),t=Mwe(),r=$we(),n=Fwe(),i=jwe();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,zR=a,zR}var WR,CG;function qwe(){if(CG)return WR;CG=1;var e=Uwe(),t=z_(),r=WD();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return WR=n,WR}var GR,AG;function Vwe(){if(AG)return GR;AG=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return GR=e,GR}var YR,OG;function Y_(){if(OG)return YR;OG=1;var e=Vwe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return YR=t,YR}var KR,IG;function Bwe(){if(IG)return KR;IG=1;var e=Y_();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return KR=t,KR}var XR,PG;function Hwe(){if(PG)return XR;PG=1;var e=Y_();function t(r){return e(this,r).get(r)}return XR=t,XR}var QR,DG;function zwe(){if(DG)return QR;DG=1;var e=Y_();function t(r){return e(this,r).has(r)}return QR=t,QR}var JR,kG;function Wwe(){if(kG)return JR;kG=1;var e=Y_();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return JR=t,JR}var ZR,NG;function Oie(){if(NG)return ZR;NG=1;var e=qwe(),t=Bwe(),r=Hwe(),n=zwe(),i=Wwe();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,ZR=a,ZR}var ex,LG;function Gwe(){if(LG)return ex;LG=1;var e=z_(),t=WD(),r=Oie(),n=200;function i(a,o){var s=this.__data__;if(s instanceof e){var l=s.__data__;if(!t||l.length<n-1)return l.push([a,o]),this.size=++s.size,this;s=this.__data__=new r(l)}return s.set(a,o),this.size=s.size,this}return ex=i,ex}var tx,MG;function Ywe(){if(MG)return tx;MG=1;var e=z_(),t=Rwe(),r=xwe(),n=Cwe(),i=Awe(),a=Gwe();function o(s){var l=this.__data__=new e(s);this.size=l.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,tx=o,tx}var rx,$G;function Kwe(){if($G)return rx;$G=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i&&r(t[n],n,t)!==!1;);return t}return rx=e,rx}var nx,FG;function Xwe(){if(FG)return nx;FG=1;var e=Nf(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return nx=t,nx}var ix,jG;function Iie(){if(jG)return ix;jG=1;var e=Xwe();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return ix=t,ix}var ax,UG;function Pie(){if(UG)return ax;UG=1;var e=Iie(),t=Rie(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,s){var l=a[o];(!(n.call(a,o)&&t(l,s))||s===void 0&&!(o in a))&&e(a,o,s)}return ax=i,ax}var ox,qG;function K_(){if(qG)return ox;qG=1;var e=Pie(),t=Iie();function r(n,i,a,o){var s=!a;a||(a={});for(var l=-1,c=i.length;++l<c;){var d=i[l],h=o?o(a[d],n[d],d,a,n):void 0;h===void 0&&(h=n[d]),s?t(a,d,h):e(a,d,h)}return a}return ox=r,ox}var sx,VG;function Qwe(){if(VG)return sx;VG=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return sx=e,sx}var ux,BG;function Th(){if(BG)return ux;BG=1;function e(t){return t!=null&&typeof t=="object"}return ux=e,ux}var lx,HG;function Jwe(){if(HG)return lx;HG=1;var e=jp(),t=Th(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return lx=n,lx}var cx,zG;function Zwe(){if(zG)return cx;zG=1;var e=Jwe(),t=Th(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return cx=a,cx}var fx,WG;function Rh(){if(WG)return fx;WG=1;var e=Array.isArray;return fx=e,fx}var bv={exports:{}},dx,GG;function e1e(){if(GG)return dx;GG=1;function e(){return!1}return dx=e,dx}bv.exports;var YG;function Die(){return YG||(YG=1,(function(e,t){var r=Pu(),n=e1e(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(bv,bv.exports)),bv.exports}var hx,KG;function t1e(){if(KG)return hx;KG=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return hx=r,hx}var vx,XG;function kie(){if(XG)return vx;XG=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return vx=t,vx}var px,QG;function r1e(){if(QG)return px;QG=1;var e=jp(),t=kie(),r=Th(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",v="[object RegExp]",g="[object Set]",S="[object String]",E="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",b="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",m="[object Uint8Array]",D="[object Uint8ClampedArray]",k="[object Uint16Array]",q="[object Uint32Array]",j={};j[b]=j[A]=j[R]=j[C]=j[O]=j[m]=j[D]=j[k]=j[q]=!0,j[n]=j[i]=j[y]=j[a]=j[w]=j[o]=j[s]=j[l]=j[c]=j[d]=j[h]=j[v]=j[g]=j[S]=j[E]=!1;function W(K){return r(K)&&t(K.length)&&!!j[e(K)]}return px=W,px}var gx,JG;function GD(){if(JG)return gx;JG=1;function e(t){return function(r){return t(r)}}return gx=e,gx}var Tv={exports:{}};Tv.exports;var ZG;function YD(){return ZG||(ZG=1,(function(e,t){var r=xie(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=(function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}})();e.exports=s})(Tv,Tv.exports)),Tv.exports}var mx,eY;function n1e(){if(eY)return mx;eY=1;var e=r1e(),t=GD(),r=YD(),n=r&&r.isTypedArray,i=n?t(n):e;return mx=i,mx}var yx,tY;function Nie(){if(tY)return yx;tY=1;var e=Qwe(),t=Zwe(),r=Rh(),n=Die(),i=t1e(),a=n1e(),o=Object.prototype,s=o.hasOwnProperty;function l(c,d){var h=r(c),v=!h&&t(c),g=!h&&!v&&n(c),S=!h&&!v&&!g&&a(c),E=h||v||g||S,y=E?e(c.length,String):[],w=y.length;for(var b in c)(d||s.call(c,b))&&!(E&&(b=="length"||g&&(b=="offset"||b=="parent")||S&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,w)))&&y.push(b);return y}return yx=l,yx}var _x,rY;function KD(){if(rY)return _x;rY=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return _x=t,_x}var Sx,nY;function Lie(){if(nY)return Sx;nY=1;function e(t,r){return function(n){return t(r(n))}}return Sx=e,Sx}var Ex,iY;function i1e(){if(iY)return Ex;iY=1;var e=Lie(),t=e(Object.keys,Object);return Ex=t,Ex}var wx,aY;function a1e(){if(aY)return wx;aY=1;var e=KD(),t=i1e(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var s in Object(a))n.call(a,s)&&s!="constructor"&&o.push(s);return o}return wx=i,wx}var bx,oY;function Mie(){if(oY)return bx;oY=1;var e=Cie(),t=kie();function r(n){return n!=null&&t(n.length)&&!e(n)}return bx=r,bx}var Tx,sY;function XD(){if(sY)return Tx;sY=1;var e=Nie(),t=a1e(),r=Mie();function n(i){return r(i)?e(i):t(i)}return Tx=n,Tx}var Rx,uY;function o1e(){if(uY)return Rx;uY=1;var e=K_(),t=XD();function r(n,i){return n&&e(i,t(i),n)}return Rx=r,Rx}var xx,lY;function s1e(){if(lY)return xx;lY=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return xx=e,xx}var Cx,cY;function u1e(){if(cY)return Cx;cY=1;var e=Up(),t=KD(),r=s1e(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var s=t(o),l=[];for(var c in o)c=="constructor"&&(s||!i.call(o,c))||l.push(c);return l}return Cx=a,Cx}var Ax,fY;function QD(){if(fY)return Ax;fY=1;var e=Nie(),t=u1e(),r=Mie();function n(i){return r(i)?e(i,!0):t(i)}return Ax=n,Ax}var Ox,dY;function l1e(){if(dY)return Ox;dY=1;var e=K_(),t=QD();function r(n,i){return n&&e(i,t(i),n)}return Ox=r,Ox}var Rv={exports:{}};Rv.exports;var hY;function c1e(){return hY||(hY=1,(function(e,t){var r=Pu(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var h=c.length,v=s?s(h):new c.constructor(h);return c.copy(v),v}e.exports=l})(Rv,Rv.exports)),Rv.exports}var Ix,vY;function f1e(){if(vY)return Ix;vY=1;function e(t,r){var n=-1,i=t.length;for(r||(r=Array(i));++n<i;)r[n]=t[n];return r}return Ix=e,Ix}var Px,pY;function d1e(){if(pY)return Px;pY=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var s=t[n];r(s,n,t)&&(o[a++]=s)}return o}return Px=e,Px}var Dx,gY;function $ie(){if(gY)return Dx;gY=1;function e(){return[]}return Dx=e,Dx}var kx,mY;function JD(){if(mY)return kx;mY=1;var e=d1e(),t=$ie(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(s){return n.call(o,s)}))}:t;return kx=a,kx}var Nx,yY;function h1e(){if(yY)return Nx;yY=1;var e=K_(),t=JD();function r(n,i){return e(n,t(n),i)}return Nx=r,Nx}var Lx,_Y;function Fie(){if(_Y)return Lx;_Y=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return Lx=e,Lx}var Mx,SY;function jie(){if(SY)return Mx;SY=1;var e=Lie(),t=e(Object.getPrototypeOf,Object);return Mx=t,Mx}var $x,EY;function Uie(){if(EY)return $x;EY=1;var e=Fie(),t=jie(),r=JD(),n=$ie(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var s=[];o;)e(s,r(o)),o=t(o);return s}:n;return $x=a,$x}var Fx,wY;function v1e(){if(wY)return Fx;wY=1;var e=K_(),t=Uie();function r(n,i){return e(n,t(n),i)}return Fx=r,Fx}var jx,bY;function qie(){if(bY)return jx;bY=1;var e=Fie(),t=Rh();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return jx=r,jx}var Ux,TY;function p1e(){if(TY)return Ux;TY=1;var e=qie(),t=JD(),r=XD();function n(i){return e(i,r,t)}return Ux=n,Ux}var qx,RY;function g1e(){if(RY)return qx;RY=1;var e=qie(),t=Uie(),r=QD();function n(i){return e(i,r,t)}return qx=n,qx}var Vx,xY;function m1e(){if(xY)return Vx;xY=1;var e=Nf(),t=Pu(),r=e(t,"DataView");return Vx=r,Vx}var Bx,CY;function y1e(){if(CY)return Bx;CY=1;var e=Nf(),t=Pu(),r=e(t,"Promise");return Bx=r,Bx}var Hx,AY;function _1e(){if(AY)return Hx;AY=1;var e=Nf(),t=Pu(),r=e(t,"Set");return Hx=r,Hx}var zx,OY;function S1e(){if(OY)return zx;OY=1;var e=Nf(),t=Pu(),r=e(t,"WeakMap");return zx=r,zx}var Wx,IY;function ZD(){if(IY)return Wx;IY=1;var e=m1e(),t=WD(),r=y1e(),n=_1e(),i=S1e(),a=jp(),o=Aie(),s="[object Map]",l="[object Object]",c="[object Promise]",d="[object Set]",h="[object WeakMap]",v="[object DataView]",g=o(e),S=o(t),E=o(r),y=o(n),w=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=v||t&&b(new t)!=s||r&&b(r.resolve())!=c||n&&b(new n)!=d||i&&b(new i)!=h)&&(b=function(A){var R=a(A),C=R==l?A.constructor:void 0,O=C?o(C):"";if(O)switch(O){case g:return v;case S:return s;case E:return c;case y:return d;case w:return h}return R}),Wx=b,Wx}var Gx,PY;function E1e(){if(PY)return Gx;PY=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var i=n.length,a=new n.constructor(i);return i&&typeof n[0]=="string"&&t.call(n,"index")&&(a.index=n.index,a.input=n.input),a}return Gx=r,Gx}var Yx,DY;function w1e(){if(DY)return Yx;DY=1;var e=Pu(),t=e.Uint8Array;return Yx=t,Yx}var Kx,kY;function ek(){if(kY)return Kx;kY=1;var e=w1e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return Kx=t,Kx}var Xx,NY;function b1e(){if(NY)return Xx;NY=1;var e=ek();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return Xx=t,Xx}var Qx,LY;function T1e(){if(LY)return Qx;LY=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return Qx=t,Qx}var Jx,MY;function R1e(){if(MY)return Jx;MY=1;var e=W_(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return Jx=n,Jx}var Zx,$Y;function x1e(){if($Y)return Zx;$Y=1;var e=ek();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return Zx=t,Zx}var eC,FY;function C1e(){if(FY)return eC;FY=1;var e=ek(),t=b1e(),r=T1e(),n=R1e(),i=x1e(),a="[object Boolean]",o="[object Date]",s="[object Map]",l="[object Number]",c="[object RegExp]",d="[object Set]",h="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",y="[object Float64Array]",w="[object Int8Array]",b="[object Int16Array]",A="[object Int32Array]",R="[object Uint8Array]",C="[object Uint8ClampedArray]",O="[object Uint16Array]",m="[object Uint32Array]";function D(k,q,j){var W=k.constructor;switch(q){case g:return e(k);case a:case o:return new W(+k);case S:return t(k,j);case E:case y:case w:case b:case A:case R:case C:case O:case m:return i(k,j);case s:return new W;case l:case h:return new W(k);case c:return r(k);case d:return new W;case v:return n(k)}}return eC=D,eC}var tC,jY;function A1e(){if(jY)return tC;jY=1;var e=Up(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var a=new n;return n.prototype=void 0,a}})();return tC=r,tC}var rC,UY;function O1e(){if(UY)return rC;UY=1;var e=A1e(),t=jie(),r=KD();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return rC=n,rC}var nC,qY;function I1e(){if(qY)return nC;qY=1;var e=ZD(),t=Th(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return nC=n,nC}var iC,VY;function P1e(){if(VY)return iC;VY=1;var e=I1e(),t=GD(),r=YD(),n=r&&r.isMap,i=n?t(n):e;return iC=i,iC}var aC,BY;function D1e(){if(BY)return aC;BY=1;var e=ZD(),t=Th(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return aC=n,aC}var oC,HY;function k1e(){if(HY)return oC;HY=1;var e=D1e(),t=GD(),r=YD(),n=r&&r.isSet,i=n?t(n):e;return oC=i,oC}var sC,zY;function N1e(){if(zY)return sC;zY=1;var e=Ywe(),t=Kwe(),r=Pie(),n=o1e(),i=l1e(),a=c1e(),o=f1e(),s=h1e(),l=v1e(),c=p1e(),d=g1e(),h=ZD(),v=E1e(),g=C1e(),S=O1e(),E=Rh(),y=Die(),w=P1e(),b=Up(),A=k1e(),R=XD(),C=QD(),O=1,m=2,D=4,k="[object Arguments]",q="[object Array]",j="[object Boolean]",W="[object Date]",K="[object Error]",X="[object Function]",Q="[object GeneratorFunction]",J="[object Map]",re="[object Number]",$="[object Object]",N="[object RegExp]",U="[object Set]",ee="[object String]",te="[object Symbol]",de="[object WeakMap]",Se="[object ArrayBuffer]",xe="[object DataView]",ue="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",H="[object Uint8Array]",ne="[object Uint8ClampedArray]",ce="[object Uint16Array]",we="[object Uint32Array]",_e={};_e[k]=_e[q]=_e[Se]=_e[xe]=_e[j]=_e[W]=_e[ue]=_e[I]=_e[P]=_e[B]=_e[L]=_e[J]=_e[re]=_e[$]=_e[N]=_e[U]=_e[ee]=_e[te]=_e[H]=_e[ne]=_e[ce]=_e[we]=!0,_e[K]=_e[X]=_e[de]=!1;function Oe(Re,Ie,$e,me,be,Te){var Ne,Ve=Ie&O,qe=Ie&m,Ge=Ie&D;if($e&&(Ne=be?$e(Re,me,be,Te):$e(Re)),Ne!==void 0)return Ne;if(!b(Re))return Re;var ct=E(Re);if(ct){if(Ne=v(Re),!Ve)return o(Re,Ne)}else{var Ut=h(Re),Wt=Ut==X||Ut==Q;if(y(Re))return a(Re,Ve);if(Ut==$||Ut==k||Wt&&!be){if(Ne=qe||Wt?{}:S(Re),!Ve)return qe?l(Re,i(Ne,Re)):s(Re,n(Ne,Re))}else{if(!_e[Ut])return be?Re:{};Ne=g(Re,Ut,Ve)}}Te||(Te=new e);var Je=Te.get(Re);if(Je)return Je;Te.set(Re,Ne),A(Re)?Re.forEach(function(st){Ne.add(Oe(st,Ie,$e,st,Re,Te))}):w(Re)&&Re.forEach(function(st,rt){Ne.set(rt,Oe(st,Ie,$e,rt,Re,Te))});var Rt=Ge?qe?d:c:qe?C:R,_t=ct?void 0:Rt(Re);return t(_t||Re,function(st,rt){_t&&(rt=st,st=Re[rt]),r(Ne,rt,Oe(st,Ie,$e,rt,Re,Te))}),Ne}return sC=Oe,sC}var uC,WY;function L1e(){if(WY)return uC;WY=1;var e=N1e(),t=1,r=4;function n(i){return e(i,t|r)}return uC=n,uC}var M1e=L1e();const $1e=Bn(M1e);var lC,GY;function tk(){if(GY)return lC;GY=1;var e=jp(),t=Th(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return lC=n,lC}var cC,YY;function F1e(){if(YY)return cC;YY=1;var e=Rh(),t=tk(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return cC=i,cC}var fC,KY;function j1e(){if(KY)return fC;KY=1;var e=Oie(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,s=i?i.apply(this,o):o[0],l=a.cache;if(l.has(s))return l.get(s);var c=n.apply(this,o);return a.cache=l.set(s,c)||l,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,fC=r,fC}var dC,XY;function U1e(){if(XY)return dC;XY=1;var e=j1e(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return dC=r,dC}var hC,QY;function q1e(){if(QY)return hC;QY=1;var e=U1e(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,s,l,c){a.push(l?c.replace(r,"$1"):s||o)}),a});return hC=n,hC}var vC,JY;function V1e(){if(JY)return vC;JY=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return vC=e,vC}var pC,ZY;function B1e(){if(ZY)return pC;ZY=1;var e=W_(),t=V1e(),r=Rh(),n=tk(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return a?a.call(s):"";var l=s+"";return l=="0"&&1/s==-1/0?"-0":l}return pC=o,pC}var gC,eK;function H1e(){if(eK)return gC;eK=1;var e=B1e();function t(r){return r==null?"":e(r)}return gC=t,gC}var mC,tK;function z1e(){if(tK)return mC;tK=1;var e=Rh(),t=F1e(),r=q1e(),n=H1e();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return mC=i,mC}var yC,rK;function W1e(){if(rK)return yC;rK=1;var e=tk();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return yC=t,yC}var _C,nK;function G1e(){if(nK)return _C;nK=1;var e=z1e(),t=W1e();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return _C=r,_C}var SC,iK;function Y1e(){if(iK)return SC;iK=1;var e=G1e();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return SC=t,SC}var K1e=Y1e();const X1e=Bn(K1e),Ui={isEmpty(e){return Yv(e)},values(e){return vc(e)},keys(e){return aa(e)},deepClone(e){return $1e(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Ms(e)},isEqual(e,t){return dne(e,t)},omit(e,t){return $_(e,t)},pick(e,t){return jD(e,t)},removeEmptyKeys(e){return Object.entries(e).filter(([,t])=>t!=null).reduce((t,[r,n])=>({...t,[r]:n}),{})},flattenObjectToString(e,t="",r=","){return Object.keys(e).sort().map(n=>{const i=t?`${t}.${n}`:n;return typeof e[n]=="object"&&!Array.isArray(e[n])?Ui.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return X1e(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function Q1e(e,t,r,n){if(r[e])return r[e];r[e]={};const i=vy(t[e],t,r,n);return Object.assign(r[e],i),Ui.isEmpty(r[e])?(delete r[e],e):Ui.omit(r[e],["__modifyCount"])}function vy(e,t,r,n){if(!e)return e;if(typeof e=="string")return Q1e(e,t,r,n);if(Array.isArray(e))return e.map(i=>vy(i,t,r,n));if(n.has(e))return n.get(e);if(typeof e=="object"){const i={};return n.set(e,i),Object.keys(e).forEach(a=>{i[a]=vy(e[a],t,r,n)}),i}return e}function rk(e,t){return vy(e,t,{},new WeakMap)}var EC={exports:{}},vn={},aK;function J1e(){if(aK)return vn;aK=1;/**
53
- * @license React
54
- * react.production.min.js
55
- *
56
- * Copyright (c) Facebook, Inc. and its affiliates.
57
- *
58
- * This source code is licensed under the MIT license found in the
59
- * LICENSE file in the root directory of this source tree.
60
- */var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function v(U){return U===null||typeof U!="object"?null:(U=h&&U[h]||U["@@iterator"],typeof U=="function"?U:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function y(U,ee,te){this.props=U,this.context=ee,this.refs=E,this.updater=te||g}y.prototype.isReactComponent={},y.prototype.setState=function(U,ee){if(typeof U!="object"&&typeof U!="function"&&U!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,ee,"setState")},y.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function w(){}w.prototype=y.prototype;function b(U,ee,te){this.props=U,this.context=ee,this.refs=E,this.updater=te||g}var A=b.prototype=new w;A.constructor=b,S(A,y.prototype),A.isPureReactComponent=!0;var R=Array.isArray,C=Object.prototype.hasOwnProperty,O={current:null},m={key:!0,ref:!0,__self:!0,__source:!0};function D(U,ee,te){var de,Se={},xe=null,ue=null;if(ee!=null)for(de in ee.ref!==void 0&&(ue=ee.ref),ee.key!==void 0&&(xe=""+ee.key),ee)C.call(ee,de)&&!m.hasOwnProperty(de)&&(Se[de]=ee[de]);var I=arguments.length-2;if(I===1)Se.children=te;else if(1<I){for(var P=Array(I),B=0;B<I;B++)P[B]=arguments[B+2];Se.children=P}if(U&&U.defaultProps)for(de in I=U.defaultProps,I)Se[de]===void 0&&(Se[de]=I[de]);return{$$typeof:e,type:U,key:xe,ref:ue,props:Se,_owner:O.current}}function k(U,ee){return{$$typeof:e,type:U.type,key:ee,ref:U.ref,props:U.props,_owner:U._owner}}function q(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function j(U){var ee={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(te){return ee[te]})}var W=/\/+/g;function K(U,ee){return typeof U=="object"&&U!==null&&U.key!=null?j(""+U.key):ee.toString(36)}function X(U,ee,te,de,Se){var xe=typeof U;(xe==="undefined"||xe==="boolean")&&(U=null);var ue=!1;if(U===null)ue=!0;else switch(xe){case"string":case"number":ue=!0;break;case"object":switch(U.$$typeof){case e:case t:ue=!0}}if(ue)return ue=U,Se=Se(ue),U=de===""?"."+K(ue,0):de,R(Se)?(te="",U!=null&&(te=U.replace(W,"$&/")+"/"),X(Se,ee,te,"",function(B){return B})):Se!=null&&(q(Se)&&(Se=k(Se,te+(!Se.key||ue&&ue.key===Se.key?"":(""+Se.key).replace(W,"$&/")+"/")+U)),ee.push(Se)),1;if(ue=0,de=de===""?".":de+":",R(U))for(var I=0;I<U.length;I++){xe=U[I];var P=de+K(xe,I);ue+=X(xe,ee,te,P,Se)}else if(P=v(U),typeof P=="function")for(U=P.call(U),I=0;!(xe=U.next()).done;)xe=xe.value,P=de+K(xe,I++),ue+=X(xe,ee,te,P,Se);else if(xe==="object")throw ee=String(U),Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.");return ue}function Q(U,ee,te){if(U==null)return U;var de=[],Se=0;return X(U,de,"","",function(xe){return ee.call(te,xe,Se++)}),de}function J(U){if(U._status===-1){var ee=U._result;ee=ee(),ee.then(function(te){(U._status===0||U._status===-1)&&(U._status=1,U._result=te)},function(te){(U._status===0||U._status===-1)&&(U._status=2,U._result=te)}),U._status===-1&&(U._status=0,U._result=ee)}if(U._status===1)return U._result.default;throw U._result}var re={current:null},$={transition:null},N={ReactCurrentDispatcher:re,ReactCurrentBatchConfig:$,ReactCurrentOwner:O};return vn.Children={map:Q,forEach:function(U,ee,te){Q(U,function(){ee.apply(this,arguments)},te)},count:function(U){var ee=0;return Q(U,function(){ee++}),ee},toArray:function(U){return Q(U,function(ee){return ee})||[]},only:function(U){if(!q(U))throw Error("React.Children.only expected to receive a single React element child.");return U}},vn.Component=y,vn.Fragment=r,vn.Profiler=i,vn.PureComponent=b,vn.StrictMode=n,vn.Suspense=l,vn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,vn.cloneElement=function(U,ee,te){if(U==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+U+".");var de=S({},U.props),Se=U.key,xe=U.ref,ue=U._owner;if(ee!=null){if(ee.ref!==void 0&&(xe=ee.ref,ue=O.current),ee.key!==void 0&&(Se=""+ee.key),U.type&&U.type.defaultProps)var I=U.type.defaultProps;for(P in ee)C.call(ee,P)&&!m.hasOwnProperty(P)&&(de[P]=ee[P]===void 0&&I!==void 0?I[P]:ee[P])}var P=arguments.length-2;if(P===1)de.children=te;else if(1<P){I=Array(P);for(var B=0;B<P;B++)I[B]=arguments[B+2];de.children=I}return{$$typeof:e,type:U.type,key:Se,ref:xe,props:de,_owner:ue}},vn.createContext=function(U){return U={$$typeof:o,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},U.Provider={$$typeof:a,_context:U},U.Consumer=U},vn.createElement=D,vn.createFactory=function(U){var ee=D.bind(null,U);return ee.type=U,ee},vn.createRef=function(){return{current:null}},vn.forwardRef=function(U){return{$$typeof:s,render:U}},vn.isValidElement=q,vn.lazy=function(U){return{$$typeof:d,_payload:{_status:-1,_result:U},_init:J}},vn.memo=function(U,ee){return{$$typeof:c,type:U,compare:ee===void 0?null:ee}},vn.startTransition=function(U){var ee=$.transition;$.transition={};try{U()}finally{$.transition=ee}},vn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},vn.useCallback=function(U,ee){return re.current.useCallback(U,ee)},vn.useContext=function(U){return re.current.useContext(U)},vn.useDebugValue=function(){},vn.useDeferredValue=function(U){return re.current.useDeferredValue(U)},vn.useEffect=function(U,ee){return re.current.useEffect(U,ee)},vn.useId=function(){return re.current.useId()},vn.useImperativeHandle=function(U,ee,te){return re.current.useImperativeHandle(U,ee,te)},vn.useInsertionEffect=function(U,ee){return re.current.useInsertionEffect(U,ee)},vn.useLayoutEffect=function(U,ee){return re.current.useLayoutEffect(U,ee)},vn.useMemo=function(U,ee){return re.current.useMemo(U,ee)},vn.useReducer=function(U,ee,te){return re.current.useReducer(U,ee,te)},vn.useRef=function(U){return re.current.useRef(U)},vn.useState=function(U){return re.current.useState(U)},vn.useSyncExternalStore=function(U,ee,te){return re.current.useSyncExternalStore(U,ee,te)},vn.useTransition=function(){return re.current.useTransition()},vn.version="18.1.0",vn}var oK;function Ho(){return oK||(oK=1,EC.exports=J1e()),EC.exports}var pe=Ho();const sr=Bn(pe);var wC={exports:{}},bC={};/**
61
- * @license React
62
- * use-sync-external-store-shim.production.js
63
- *
64
- * Copyright (c) Meta Platforms, Inc. and affiliates.
65
- *
66
- * This source code is licensed under the MIT license found in the
67
- * LICENSE file in the root directory of this source tree.
68
- */var sK;function Z1e(){if(sK)return bC;sK=1;var e=Ho();function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function s(h,v){var g=v(),S=n({inst:{value:g,getSnapshot:v}}),E=S[0].inst,y=S[1];return a(function(){E.value=g,E.getSnapshot=v,l(E)&&y({inst:E})},[h,g,v]),i(function(){return l(E)&&y({inst:E}),h(function(){l(E)&&y({inst:E})})},[h]),o(g),g}function l(h){var v=h.getSnapshot;h=h.value;try{var g=v();return!r(h,g)}catch{return!0}}function c(h,v){return v()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:s;return bC.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,bC}var uK;function Vie(){return uK||(uK=1,wC.exports=Z1e()),wC.exports}Vie();var TC={exports:{}},RC={};/**
69
- * @license React
70
- * use-sync-external-store-shim/with-selector.production.js
71
- *
72
- * Copyright (c) Meta Platforms, Inc. and affiliates.
73
- *
74
- * This source code is licensed under the MIT license found in the
75
- * LICENSE file in the root directory of this source tree.
76
- */var lK;function ebe(){if(lK)return RC;lK=1;var e=Ho(),t=Vie();function r(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,a=e.useRef,o=e.useEffect,s=e.useMemo,l=e.useDebugValue;return RC.useSyncExternalStoreWithSelector=function(c,d,h,v,g){var S=a(null);if(S.current===null){var E={hasValue:!1,value:null};S.current=E}else E=S.current;S=s(function(){function w(O){if(!b){if(b=!0,A=O,O=v(O),g!==void 0&&E.hasValue){var m=E.value;if(g(m,O))return R=m}return R=O}if(m=R,n(A,O))return m;var D=v(O);return g!==void 0&&g(m,D)?(A=O,m):(A=O,R=D)}var b=!1,A,R,C=h===void 0?null:h;return[function(){return w(d())},C===null?void 0:function(){return w(C())}]},[d,h,v,g]);var y=i(c,S[0],S[1]);return o(function(){E.hasValue=!0,E.value=y},[y]),l(y),y},RC}var cK;function tbe(){return cK||(cK=1,TC.exports=ebe()),TC.exports}var rbe=tbe(),xC={exports:{}},Io={},CC={exports:{}},AC={};/**
77
- * @license React
78
- * scheduler.production.min.js
79
- *
80
- * Copyright (c) Facebook, Inc. and its affiliates.
81
- *
82
- * This source code is licensed under the MIT license found in the
83
- * LICENSE file in the root directory of this source tree.
84
- */var fK;function nbe(){return fK||(fK=1,(function(e){function t($,N){var U=$.length;$.push(N);e:for(;0<U;){var ee=U-1>>>1,te=$[ee];if(0<i(te,N))$[ee]=N,$[U]=te,U=ee;else break e}}function r($){return $.length===0?null:$[0]}function n($){if($.length===0)return null;var N=$[0],U=$.pop();if(U!==N){$[0]=U;e:for(var ee=0,te=$.length,de=te>>>1;ee<de;){var Se=2*(ee+1)-1,xe=$[Se],ue=Se+1,I=$[ue];if(0>i(xe,U))ue<te&&0>i(I,xe)?($[ee]=I,$[ue]=U,ee=ue):($[ee]=xe,$[Se]=U,ee=Se);else if(ue<te&&0>i(I,U))$[ee]=I,$[ue]=U,ee=ue;else break e}}return N}function i($,N){var U=$.sortIndex-N.sortIndex;return U!==0?U:$.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],d=1,h=null,v=3,g=!1,S=!1,E=!1,y=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A($){for(var N=r(c);N!==null;){if(N.callback===null)n(c);else if(N.startTime<=$)n(c),N.sortIndex=N.expirationTime,t(l,N);else break;N=r(c)}}function R($){if(E=!1,A($),!S)if(r(l)!==null)S=!0,J(C);else{var N=r(c);N!==null&&re(R,N.startTime-$)}}function C($,N){S=!1,E&&(E=!1,w(D),D=-1),g=!0;var U=v;try{for(A(N),h=r(l);h!==null&&(!(h.expirationTime>N)||$&&!j());){var ee=h.callback;if(typeof ee=="function"){h.callback=null,v=h.priorityLevel;var te=ee(h.expirationTime<=N);N=e.unstable_now(),typeof te=="function"?h.callback=te:h===r(l)&&n(l),A(N)}else n(l);h=r(l)}if(h!==null)var de=!0;else{var Se=r(c);Se!==null&&re(R,Se.startTime-N),de=!1}return de}finally{h=null,v=U,g=!1}}var O=!1,m=null,D=-1,k=5,q=-1;function j(){return!(e.unstable_now()-q<k)}function W(){if(m!==null){var $=e.unstable_now();q=$;var N=!0;try{N=m(!0,$)}finally{N?K():(O=!1,m=null)}}else O=!1}var K;if(typeof b=="function")K=function(){b(W)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,Q=X.port2;X.port1.onmessage=W,K=function(){Q.postMessage(null)}}else K=function(){y(W,0)};function J($){m=$,O||(O=!0,K())}function re($,N){D=y(function(){$(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){S||g||(S=!0,J(C))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function($){switch(v){case 1:case 2:case 3:var N=3;break;default:N=v}var U=v;v=N;try{return $()}finally{v=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,N){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var U=v;v=$;try{return N()}finally{v=U}},e.unstable_scheduleCallback=function($,N,U){var ee=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?ee+U:ee):U=ee,$){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=U+te,$={id:d++,callback:N,priorityLevel:$,startTime:U,expirationTime:te,sortIndex:-1},U>ee?($.sortIndex=U,t(c,$),r(l)===null&&$===r(c)&&(E?(w(D),D=-1):E=!0,re(R,U-ee))):($.sortIndex=te,t(l,$),S||g||(S=!0,J(C))),$},e.unstable_shouldYield=j,e.unstable_wrapCallback=function($){var N=v;return function(){var U=v;v=N;try{return $.apply(this,arguments)}finally{v=U}}}})(AC)),AC}var dK;function ibe(){return dK||(dK=1,CC.exports=nbe()),CC.exports}/**
85
- * @license React
86
- * react-dom.production.min.js
87
- *
88
- * Copyright (c) Facebook, Inc. and its affiliates.
89
- *
90
- * This source code is licensed under the MIT license found in the
91
- * LICENSE file in the root directory of this source tree.
92
- */var hK;function abe(){if(hK)return Io;hK=1;var e=Ho(),t=ibe();function r(u){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+u,p=1;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+u+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function a(u,f){o(u,f),o(u+"Capture",f)}function o(u,f){for(i[u]=f,u=0;u<f.length;u++)n.add(f[u])}var s=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function v(u){return l.call(h,u)?!0:l.call(d,u)?!1:c.test(u)?h[u]=!0:(d[u]=!0,!1)}function g(u,f,p,T){if(p!==null&&p.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return T?!1:p!==null?!p.acceptsBooleans:(u=u.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-");default:return!1}}function S(u,f,p,T){if(f===null||typeof f>"u"||g(u,f,p,T))return!0;if(T)return!1;if(p!==null)switch(p.type){case 3:return!f;case 4:return f===!1;case 5:return isNaN(f);case 6:return isNaN(f)||1>f}return!1}function E(u,f,p,T,F,Z,ye){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=T,this.attributeNamespace=F,this.mustUseProperty=p,this.propertyName=u,this.type=f,this.sanitizeURL=Z,this.removeEmptyString=ye}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){y[u]=new E(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var f=u[0];y[f]=new E(f,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){y[u]=new E(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){y[u]=new E(u,2,!1,u,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(u){y[u]=new E(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){y[u]=new E(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){y[u]=new E(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){y[u]=new E(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){y[u]=new E(u,5,!1,u.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function b(u){return u[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(u){var f=u.replace(w,b);y[f]=new E(f,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var f=u.replace(w,b);y[f]=new E(f,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var f=u.replace(w,b);y[f]=new E(f,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){y[u]=new E(u,1,!1,u.toLowerCase(),null,!1,!1)}),y.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){y[u]=new E(u,1,!1,u.toLowerCase(),null,!0,!0)});function A(u,f,p,T){var F=y.hasOwnProperty(f)?y[f]:null;(F!==null?F.type!==0:T||!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(S(f,p,F,T)&&(p=null),T||F===null?v(f)&&(p===null?u.removeAttribute(f):u.setAttribute(f,""+p)):F.mustUseProperty?u[F.propertyName]=p===null?F.type===3?!1:"":p:(f=F.attributeName,T=F.attributeNamespace,p===null?u.removeAttribute(f):(F=F.type,p=F===3||F===4&&p===!0?"":""+p,T?u.setAttributeNS(T,f,p):u.setAttribute(f,p))))}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=Symbol.for("react.element"),O=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),j=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),$=Symbol.iterator;function N(u){return u===null||typeof u!="object"?null:(u=$&&u[$]||u["@@iterator"],typeof u=="function"?u:null)}var U=Object.assign,ee;function te(u){if(ee===void 0)try{throw Error()}catch(p){var f=p.stack.trim().match(/\n( *(at )?)/);ee=f&&f[1]||""}return`
93
- `+ee+u}var de=!1;function Se(u,f){if(!u||de)return"";de=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(mt){var T=mt}Reflect.construct(u,[],f)}else{try{f.call()}catch(mt){T=mt}u.call(f.prototype)}else{try{throw Error()}catch(mt){T=mt}u()}}catch(mt){if(mt&&T&&typeof mt.stack=="string"){for(var F=mt.stack.split(`
94
- `),Z=T.stack.split(`
95
- `),ye=F.length-1,De=Z.length-1;1<=ye&&0<=De&&F[ye]!==Z[De];)De--;for(;1<=ye&&0<=De;ye--,De--)if(F[ye]!==Z[De]){if(ye!==1||De!==1)do if(ye--,De--,0>De||F[ye]!==Z[De]){var He=`
96
- `+F[ye].replace(" at new "," at ");return u.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",u.displayName)),He}while(1<=ye&&0<=De);break}}}finally{de=!1,Error.prepareStackTrace=p}return(u=u?u.displayName||u.name:"")?te(u):""}function xe(u){switch(u.tag){case 5:return te(u.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 2:case 15:return u=Se(u.type,!1),u;case 11:return u=Se(u.type.render,!1),u;case 1:return u=Se(u.type,!0),u;default:return""}}function ue(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case m:return"Fragment";case O:return"Portal";case k:return"Profiler";case D:return"StrictMode";case K:return"Suspense";case X:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case j:return(u.displayName||"Context")+".Consumer";case q:return(u._context.displayName||"Context")+".Provider";case W:var f=u.render;return u=u.displayName,u||(u=f.displayName||f.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case Q:return f=u.displayName||null,f!==null?f:ue(u.type)||"Memo";case J:f=u._payload,u=u._init;try{return ue(u(f))}catch{}}return null}function I(u){var f=u.type;switch(u.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=f.render,u=u.displayName||u.name||"",f.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(f);case 8:return f===D?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function P(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function B(u){var f=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function L(u){var f=B(u)?"checked":"value",p=Object.getOwnPropertyDescriptor(u.constructor.prototype,f),T=""+u[f];if(!u.hasOwnProperty(f)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var F=p.get,Z=p.set;return Object.defineProperty(u,f,{configurable:!0,get:function(){return F.call(this)},set:function(ye){T=""+ye,Z.call(this,ye)}}),Object.defineProperty(u,f,{enumerable:p.enumerable}),{getValue:function(){return T},setValue:function(ye){T=""+ye},stopTracking:function(){u._valueTracker=null,delete u[f]}}}}function H(u){u._valueTracker||(u._valueTracker=L(u))}function ne(u){if(!u)return!1;var f=u._valueTracker;if(!f)return!0;var p=f.getValue(),T="";return u&&(T=B(u)?u.checked?"true":"false":u.value),u=T,u!==p?(f.setValue(u),!0):!1}function ce(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function we(u,f){var p=f.checked;return U({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??u._wrapperState.initialChecked})}function _e(u,f){var p=f.defaultValue==null?"":f.defaultValue,T=f.checked!=null?f.checked:f.defaultChecked;p=P(f.value!=null?f.value:p),u._wrapperState={initialChecked:T,initialValue:p,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function Oe(u,f){f=f.checked,f!=null&&A(u,"checked",f,!1)}function Re(u,f){Oe(u,f);var p=P(f.value),T=f.type;if(p!=null)T==="number"?(p===0&&u.value===""||u.value!=p)&&(u.value=""+p):u.value!==""+p&&(u.value=""+p);else if(T==="submit"||T==="reset"){u.removeAttribute("value");return}f.hasOwnProperty("value")?$e(u,f.type,p):f.hasOwnProperty("defaultValue")&&$e(u,f.type,P(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(u.defaultChecked=!!f.defaultChecked)}function Ie(u,f,p){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var T=f.type;if(!(T!=="submit"&&T!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+u._wrapperState.initialValue,p||f===u.value||(u.value=f),u.defaultValue=f}p=u.name,p!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,p!==""&&(u.name=p)}function $e(u,f,p){(f!=="number"||ce(u.ownerDocument)!==u)&&(p==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+p&&(u.defaultValue=""+p))}var me=Array.isArray;function be(u,f,p,T){if(u=u.options,f){f={};for(var F=0;F<p.length;F++)f["$"+p[F]]=!0;for(p=0;p<u.length;p++)F=f.hasOwnProperty("$"+u[p].value),u[p].selected!==F&&(u[p].selected=F),F&&T&&(u[p].defaultSelected=!0)}else{for(p=""+P(p),f=null,F=0;F<u.length;F++){if(u[F].value===p){u[F].selected=!0,T&&(u[F].defaultSelected=!0);return}f!==null||u[F].disabled||(f=u[F])}f!==null&&(f.selected=!0)}}function Te(u,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return U({},f,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function Ne(u,f){var p=f.value;if(p==null){if(p=f.children,f=f.defaultValue,p!=null){if(f!=null)throw Error(r(92));if(me(p)){if(1<p.length)throw Error(r(93));p=p[0]}f=p}f==null&&(f=""),p=f}u._wrapperState={initialValue:P(p)}}function Ve(u,f){var p=P(f.value),T=P(f.defaultValue);p!=null&&(p=""+p,p!==u.value&&(u.value=p),f.defaultValue==null&&u.defaultValue!==p&&(u.defaultValue=p)),T!=null&&(u.defaultValue=""+T)}function qe(u){var f=u.textContent;f===u._wrapperState.initialValue&&f!==""&&f!==null&&(u.value=f)}function Ge(u){switch(u){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ct(u,f){return u==null||u==="http://www.w3.org/1999/xhtml"?Ge(f):u==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var Ut,Wt=(function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,p,T,F){MSApp.execUnsafeLocalFunction(function(){return u(f,p,T,F)})}:u})(function(u,f){if(u.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in u)u.innerHTML=f;else{for(Ut=Ut||document.createElement("div"),Ut.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=Ut.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;f.firstChild;)u.appendChild(f.firstChild)}});function Je(u,f){if(f){var p=u.firstChild;if(p&&p===u.lastChild&&p.nodeType===3){p.nodeValue=f;return}}u.textContent=f}var Rt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_t=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(u){_t.forEach(function(f){f=f+u.charAt(0).toUpperCase()+u.substring(1),Rt[f]=Rt[u]})});function st(u,f,p){return f==null||typeof f=="boolean"||f===""?"":p||typeof f!="number"||f===0||Rt.hasOwnProperty(u)&&Rt[u]?(""+f).trim():f+"px"}function rt(u,f){u=u.style;for(var p in f)if(f.hasOwnProperty(p)){var T=p.indexOf("--")===0,F=st(p,f[p],T);p==="float"&&(p="cssFloat"),T?u.setProperty(p,F):u[p]=F}}var dt=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yt(u,f){if(f){if(dt[u]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,u));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function Lt(u,f){if(u.indexOf("-")===-1)return typeof f.is=="string";switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function Ze(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var ut=null,wt=null,Nt=null;function nr(u){if(u=Uh(u)){if(typeof ut!="function")throw Error(r(280));var f=u.stateNode;f&&(f=sg(f),ut(u.stateNode,u.type,f))}}function mr(u){wt?Nt?Nt.push(u):Nt=[u]:wt=u}function ir(){if(wt){var u=wt,f=Nt;if(Nt=wt=null,nr(u),f)for(u=0;u<f.length;u++)nr(f[u])}}function Sr(u,f){return u(f)}function jr(){}var Wr=!1;function Hn(u,f,p){if(Wr)return u(f,p);Wr=!0;try{return Sr(u,f,p)}finally{Wr=!1,(wt!==null||Nt!==null)&&(jr(),ir())}}function zn(u,f){var p=u.stateNode;if(p===null)return null;var T=sg(p);if(T===null)return null;p=T[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(T=!T.disabled)||(u=u.type,T=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!T;break e;default:u=!1}if(u)return null;if(p&&typeof p!="function")throw Error(r(231,f,typeof p));return p}var Jn=!1;if(s)try{var bn={};Object.defineProperty(bn,"passive",{get:function(){Jn=!0}}),window.addEventListener("test",bn,bn),window.removeEventListener("test",bn,bn)}catch{Jn=!1}function ai(u,f,p,T,F,Z,ye,De,He){var mt=Array.prototype.slice.call(arguments,3);try{f.apply(p,mt)}catch($t){this.onError($t)}}var fi=!1,Ci=null,_i=!1,Vi=null,Gi={onError:function(u){fi=!0,Ci=u}};function Pn(u,f,p,T,F,Z,ye,De,He){fi=!1,Ci=null,ai.apply(Gi,arguments)}function oi(u,f,p,T,F,Z,ye,De,He){if(Pn.apply(this,arguments),fi){if(fi){var mt=Ci;fi=!1,Ci=null}else throw Error(r(198));_i||(_i=!0,Vi=mt)}}function Di(u){var f=u,p=u;if(u.alternate)for(;f.return;)f=f.return;else{u=f;do f=u,(f.flags&4098)!==0&&(p=f.return),u=f.return;while(u)}return f.tag===3?p:null}function Ai(u){if(u.tag===13){var f=u.memoizedState;if(f===null&&(u=u.alternate,u!==null&&(f=u.memoizedState)),f!==null)return f.dehydrated}return null}function ot(u){if(Di(u)!==u)throw Error(r(188))}function Dt(u){var f=u.alternate;if(!f){if(f=Di(u),f===null)throw Error(r(188));return f!==u?null:u}for(var p=u,T=f;;){var F=p.return;if(F===null)break;var Z=F.alternate;if(Z===null){if(T=F.return,T!==null){p=T;continue}break}if(F.child===Z.child){for(Z=F.child;Z;){if(Z===p)return ot(F),u;if(Z===T)return ot(F),f;Z=Z.sibling}throw Error(r(188))}if(p.return!==T.return)p=F,T=Z;else{for(var ye=!1,De=F.child;De;){if(De===p){ye=!0,p=F,T=Z;break}if(De===T){ye=!0,T=F,p=Z;break}De=De.sibling}if(!ye){for(De=Z.child;De;){if(De===p){ye=!0,p=Z,T=F;break}if(De===T){ye=!0,T=Z,p=F;break}De=De.sibling}if(!ye)throw Error(r(189))}}if(p.alternate!==T)throw Error(r(190))}if(p.tag!==3)throw Error(r(188));return p.stateNode.current===p?u:f}function gt(u){return u=Dt(u),u!==null?et(u):null}function et(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var f=et(u);if(f!==null)return f;u=u.sibling}return null}var fe=t.unstable_scheduleCallback,nt=t.unstable_cancelCallback,ze=t.unstable_shouldYield,Tt=t.unstable_requestPaint,yt=t.unstable_now,zt=t.unstable_getCurrentPriorityLevel,Xt=t.unstable_ImmediatePriority,bt=t.unstable_UserBlockingPriority,Tr=t.unstable_NormalPriority,Xr=t.unstable_LowPriority,Tn=t.unstable_IdlePriority,kt=null,Qr=null;function Wn(u){if(Qr&&typeof Qr.onCommitFiberRoot=="function")try{Qr.onCommitFiberRoot(kt,u,void 0,(u.current.flags&128)===128)}catch{}}var Mn=Math.clz32?Math.clz32:oa,yo=Math.log,di=Math.LN2;function oa(u){return u>>>=0,u===0?32:31-(yo(u)/di|0)|0}var sa=64,zo=4194304;function to(u){switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function Ua(u,f){var p=u.pendingLanes;if(p===0)return 0;var T=0,F=u.suspendedLanes,Z=u.pingedLanes,ye=p&268435455;if(ye!==0){var De=ye&~F;De!==0?T=to(De):(Z&=ye,Z!==0&&(T=to(Z)))}else ye=p&~F,ye!==0?T=to(ye):Z!==0&&(T=to(Z));if(T===0)return 0;if(f!==0&&f!==T&&(f&F)===0&&(F=T&-T,Z=f&-f,F>=Z||F===16&&(Z&4194240)!==0))return f;if((T&4)!==0&&(T|=p&16),f=u.entangledLanes,f!==0)for(u=u.entanglements,f&=T;0<f;)p=31-Mn(f),F=1<<p,T|=u[p],f&=~F;return T}function z(u,f){switch(u){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function se(u,f){for(var p=u.suspendedLanes,T=u.pingedLanes,F=u.expirationTimes,Z=u.pendingLanes;0<Z;){var ye=31-Mn(Z),De=1<<ye,He=F[ye];He===-1?((De&p)===0||(De&T)!==0)&&(F[ye]=z(De,f)):He<=f&&(u.expiredLanes|=De),Z&=~De}}function Ee(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function je(){var u=sa;return sa<<=1,(sa&4194240)===0&&(sa=64),u}function vt(u){for(var f=[],p=0;31>p;p++)f.push(u);return f}function it(u,f,p){u.pendingLanes|=f,f!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,f=31-Mn(f),u[f]=p}function At(u,f){var p=u.pendingLanes&~f;u.pendingLanes=f,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=f,u.mutableReadLanes&=f,u.entangledLanes&=f,f=u.entanglements;var T=u.eventTimes;for(u=u.expirationTimes;0<p;){var F=31-Mn(p),Z=1<<F;f[F]=0,T[F]=-1,u[F]=-1,p&=~Z}}function Bt(u,f){var p=u.entangledLanes|=f;for(u=u.entanglements;p;){var T=31-Mn(p),F=1<<T;F&f|u[T]&f&&(u[T]|=f),p&=~F}}var Jt=0;function Er(u){return u&=-u,1<u?4<u?(u&268435455)!==0?16:536870912:4:1}var Ar,$n,ki,Ni,ms,lu=!1,ys=[],ro=null,Si=null,qa=null,no=new Map,hn=new Map,va=[],Wo="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Go(u,f){switch(u){case"focusin":case"focusout":ro=null;break;case"dragenter":case"dragleave":Si=null;break;case"mouseover":case"mouseout":qa=null;break;case"pointerover":case"pointerout":no.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":hn.delete(f.pointerId)}}function ea(u,f,p,T,F,Z){return u===null||u.nativeEvent!==Z?(u={blockedOn:f,domEventName:p,eventSystemFlags:T,nativeEvent:Z,targetContainers:[F]},f!==null&&(f=Uh(f),f!==null&&$n(f)),u):(u.eventSystemFlags|=T,f=u.targetContainers,F!==null&&f.indexOf(F)===-1&&f.push(F),u)}function Us(u,f,p,T,F){switch(f){case"focusin":return ro=ea(ro,u,f,p,T,F),!0;case"dragenter":return Si=ea(Si,u,f,p,T,F),!0;case"mouseover":return qa=ea(qa,u,f,p,T,F),!0;case"pointerover":var Z=F.pointerId;return no.set(Z,ea(no.get(Z)||null,u,f,p,T,F)),!0;case"gotpointercapture":return Z=F.pointerId,hn.set(Z,ea(hn.get(Z)||null,u,f,p,T,F)),!0}return!1}function io(u){var f=wc(u.target);if(f!==null){var p=Di(f);if(p!==null){if(f=p.tag,f===13){if(f=Ai(p),f!==null){u.blockedOn=f,ms(u.priority,function(){ki(p)});return}}else if(f===3&&p.stateNode.current.memoizedState.isDehydrated){u.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}u.blockedOn=null}function _s(u){if(u.blockedOn!==null)return!1;for(var f=u.targetContainers;0<f.length;){var p=Vs(u.domEventName,u.eventSystemFlags,f[0],u.nativeEvent);if(p===null){p=u.nativeEvent;var T=new p.constructor(p.type,p);Ce=T,p.target.dispatchEvent(T),Ce=null}else return f=Uh(p),f!==null&&$n(f),u.blockedOn=p,!1;f.shift()}return!0}function qs(u,f,p){_s(u)&&p.delete(f)}function Nu(){lu=!1,ro!==null&&_s(ro)&&(ro=null),Si!==null&&_s(Si)&&(Si=null),qa!==null&&_s(qa)&&(qa=null),no.forEach(qs),hn.forEach(qs)}function ao(u,f){u.blockedOn===f&&(u.blockedOn=null,lu||(lu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Nu)))}function _o(u){function f(F){return ao(F,u)}if(0<ys.length){ao(ys[0],u);for(var p=1;p<ys.length;p++){var T=ys[p];T.blockedOn===u&&(T.blockedOn=null)}}for(ro!==null&&ao(ro,u),Si!==null&&ao(Si,u),qa!==null&&ao(qa,u),no.forEach(f),hn.forEach(f),p=0;p<va.length;p++)T=va[p],T.blockedOn===u&&(T.blockedOn=null);for(;0<va.length&&(p=va[0],p.blockedOn===null);)io(p),p.blockedOn===null&&va.shift()}var Bi=R.ReactCurrentBatchConfig,pa=!0;function Lu(u,f,p,T){var F=Jt,Z=Bi.transition;Bi.transition=null;try{Jt=1,Ko(u,f,p,T)}finally{Jt=F,Bi.transition=Z}}function Yo(u,f,p,T){var F=Jt,Z=Bi.transition;Bi.transition=null;try{Jt=4,Ko(u,f,p,T)}finally{Jt=F,Bi.transition=Z}}function Ko(u,f,p,T){if(pa){var F=Vs(u,f,p,T);if(F===null)R0(u,f,T,ga,p),Go(u,T);else if(Us(F,u,f,p,T))T.stopPropagation();else if(Go(u,T),f&4&&-1<Wo.indexOf(u)){for(;F!==null;){var Z=Uh(F);if(Z!==null&&Ar(Z),Z=Vs(u,f,p,T),Z===null&&R0(u,f,T,ga,p),Z===F)break;F=Z}F!==null&&T.stopPropagation()}else R0(u,f,T,null,p)}}var ga=null;function Vs(u,f,p,T){if(ga=null,u=Ze(T),u=wc(u),u!==null)if(f=Di(u),f===null)u=null;else if(p=f.tag,p===13){if(u=Ai(f),u!==null)return u;u=null}else if(p===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;u=null}else f!==u&&(u=null);return ga=u,null}function Mu(u){switch(u){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zt()){case Xt:return 1;case bt:return 4;case Tr:case Xr:return 16;case Tn:return 536870912;default:return 16}default:return 16}}var Li=null,ma=null,So=null;function Xo(){if(So)return So;var u,f=ma,p=f.length,T,F="value"in Li?Li.value:Li.textContent,Z=F.length;for(u=0;u<p&&f[u]===F[u];u++);var ye=p-u;for(T=1;T<=ye&&f[p-T]===F[Z-T];T++);return So=F.slice(u,1<T?1-T:void 0)}function Eo(u){var f=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&f===13&&(u=13)):u=f,u===10&&(u=13),32<=u||u===13?u:0}function wo(){return!0}function _(){return!1}function x(u){function f(p,T,F,Z,ye){this._reactName=p,this._targetInst=F,this.type=T,this.nativeEvent=Z,this.target=ye,this.currentTarget=null;for(var De in u)u.hasOwnProperty(De)&&(p=u[De],this[De]=p?p(Z):Z[De]);return this.isDefaultPrevented=(Z.defaultPrevented!=null?Z.defaultPrevented:Z.returnValue===!1)?wo:_,this.isPropagationStopped=_,this}return U(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=wo)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),f}var M={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Y=x(M),ae=U({},M,{view:0,detail:0}),le=x(ae),he,Fe,ke,Ye=U({},ae,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ot,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==ke&&(ke&&u.type==="mousemove"?(he=u.screenX-ke.screenX,Fe=u.screenY-ke.screenY):Fe=he=0,ke=u),he)},movementY:function(u){return"movementY"in u?u.movementY:Fe}}),Et=x(Ye),Ct=U({},Ye,{dataTransfer:0}),ft=x(Ct),Ft=U({},ae,{relatedTarget:0}),Rr=x(Ft),en=U({},M,{animationName:0,elapsedTime:0,pseudoElement:0}),Ur=x(en),Zn=U({},M,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),hi=x(Zn),G=U({},M,{data:0}),oe=x(G),ge={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Le={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Qe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tt(u){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(u):(u=Qe[u])?!!f[u]:!1}function Ot(){return tt}var Ht=U({},ae,{key:function(u){if(u.key){var f=ge[u.key]||u.key;if(f!=="Unidentified")return f}return u.type==="keypress"?(u=Eo(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?Le[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ot,charCode:function(u){return u.type==="keypress"?Eo(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?Eo(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),gr=x(Ht),qr=U({},Ye,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xr=x(qr),Dn=U({},ae,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ot}),si=x(Dn),Fn=U({},M,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sc=x(Fn),oo=U({},Ye,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),ie=x(oo),ve=[9,13,27,32],Pe=s&&"CompositionEvent"in window,Me=null;s&&"documentMode"in document&&(Me=document.documentMode);var Be=s&&"TextEvent"in window&&!Me,Ke=s&&(!Pe||Me&&8<Me&&11>=Me),xt=" ",Kt=!1;function Vr(u,f){switch(u){case"keyup":return ve.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kr(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var ei=!1;function Ei(u,f){switch(u){case"compositionend":return kr(f);case"keypress":return f.which!==32?null:(Kt=!0,xt);case"textInput":return u=f.data,u===xt&&Kt?null:u;default:return null}}function wl(u,f){if(ei)return u==="compositionend"||!Pe&&Vr(u,f)?(u=Xo(),So=ma=Li=null,ei=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ke&&f.locale!=="ko"?null:f.data;default:return null}}var Qo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dh(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f==="input"?!!Qo[u.type]:f==="textarea"}function bl(u,f,p,T){mr(T),f=ig(f,"onChange"),0<f.length&&(p=new Y("onChange","change",null,p,T),u.push({event:p,listeners:f}))}var cu=null,fu=null;function kh(u){IN(u,0)}function Wf(u){var f=Zf(u);if(ne(f))return u}function Gf(u,f){if(u==="change")return f}var Yf=!1;if(s){var Ec;if(s){var Nh="oninput"in document;if(!Nh){var Kf=document.createElement("div");Kf.setAttribute("oninput","return;"),Nh=typeof Kf.oninput=="function"}Ec=Nh}else Ec=!1;Yf=Ec&&(!document.documentMode||9<document.documentMode)}function Lh(){cu&&(cu.detachEvent("onpropertychange",Ae),fu=cu=null)}function Ae(u){if(u.propertyName==="value"&&Wf(fu)){var f=[];bl(f,fu,u,Ze(u)),Hn(kh,f)}}function We(u,f,p){u==="focusin"?(Lh(),cu=f,fu=p,cu.attachEvent("onpropertychange",Ae)):u==="focusout"&&Lh()}function ht(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return Wf(fu)}function St(u,f){if(u==="click")return Wf(f)}function It(u,f){if(u==="input"||u==="change")return Wf(f)}function Zt(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var tr=typeof Object.is=="function"?Object.is:Zt;function lr(u,f){if(tr(u,f))return!0;if(typeof u!="object"||u===null||typeof f!="object"||f===null)return!1;var p=Object.keys(u),T=Object.keys(f);if(p.length!==T.length)return!1;for(T=0;T<p.length;T++){var F=p[T];if(!l.call(f,F)||!tr(u[F],f[F]))return!1}return!0}function or(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function on(u,f){var p=or(u);u=0;for(var T;p;){if(p.nodeType===3){if(T=u+p.textContent.length,u<=f&&T>=f)return{node:p,offset:f-u};u=T}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=or(p)}}function Nr(u,f){return u&&f?u===f?!0:u&&u.nodeType===3?!1:f&&f.nodeType===3?Nr(u,f.parentNode):"contains"in u?u.contains(f):u.compareDocumentPosition?!!(u.compareDocumentPosition(f)&16):!1:!1}function Br(){for(var u=window,f=ce();f instanceof u.HTMLIFrameElement;){try{var p=typeof f.contentWindow.location.href=="string"}catch{p=!1}if(p)u=f.contentWindow;else break;f=ce(u.document)}return f}function rn(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f&&(f==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||f==="textarea"||u.contentEditable==="true")}function Cr(u){var f=Br(),p=u.focusedElem,T=u.selectionRange;if(f!==p&&p&&p.ownerDocument&&Nr(p.ownerDocument.documentElement,p)){if(T!==null&&rn(p)){if(f=T.start,u=T.end,u===void 0&&(u=f),"selectionStart"in p)p.selectionStart=f,p.selectionEnd=Math.min(u,p.value.length);else if(u=(f=p.ownerDocument||document)&&f.defaultView||window,u.getSelection){u=u.getSelection();var F=p.textContent.length,Z=Math.min(T.start,F);T=T.end===void 0?Z:Math.min(T.end,F),!u.extend&&Z>T&&(F=T,T=Z,Z=F),F=on(p,Z);var ye=on(p,T);F&&ye&&(u.rangeCount!==1||u.anchorNode!==F.node||u.anchorOffset!==F.offset||u.focusNode!==ye.node||u.focusOffset!==ye.offset)&&(f=f.createRange(),f.setStart(F.node,F.offset),u.removeAllRanges(),Z>T?(u.addRange(f),u.extend(ye.node,ye.offset)):(f.setEnd(ye.node,ye.offset),u.addRange(f)))}}for(f=[],u=p;u=u.parentNode;)u.nodeType===1&&f.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<f.length;p++)u=f[p],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var ti=s&&"documentMode"in document&&11>=document.documentMode,Yi=null,ta=null,ya=null,bo=!1;function $u(u,f,p){var T=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;bo||Yi==null||Yi!==ce(T)||(T=Yi,"selectionStart"in T&&rn(T)?T={start:T.selectionStart,end:T.selectionEnd}:(T=(T.ownerDocument&&T.ownerDocument.defaultView||window).getSelection(),T={anchorNode:T.anchorNode,anchorOffset:T.anchorOffset,focusNode:T.focusNode,focusOffset:T.focusOffset}),ya&&lr(ya,T)||(ya=T,T=ig(ta,"onSelect"),0<T.length&&(f=new Y("onSelect","select",null,f,p),u.push({event:f,listeners:T}),f.target=Yi)))}function ra(u,f){var p={};return p[u.toLowerCase()]=f.toLowerCase(),p["Webkit"+u]="webkit"+f,p["Moz"+u]="moz"+f,p}var Xf={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionend:ra("Transition","TransitionEnd")},E0={},wN={};s&&(wN=document.createElement("div").style,"AnimationEvent"in window||(delete Xf.animationend.animation,delete Xf.animationiteration.animation,delete Xf.animationstart.animation),"TransitionEvent"in window||delete Xf.transitionend.transition);function rg(u){if(E0[u])return E0[u];if(!Xf[u])return u;var f=Xf[u],p;for(p in f)if(f.hasOwnProperty(p)&&p in wN)return E0[u]=f[p];return u}var bN=rg("animationend"),TN=rg("animationiteration"),RN=rg("animationstart"),xN=rg("transitionend"),CN=new Map,AN="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tl(u,f){CN.set(u,f),a(f,[u])}for(var w0=0;w0<AN.length;w0++){var b0=AN[w0],Cue=b0.toLowerCase(),Aue=b0[0].toUpperCase()+b0.slice(1);Tl(Cue,"on"+Aue)}Tl(bN,"onAnimationEnd"),Tl(TN,"onAnimationIteration"),Tl(RN,"onAnimationStart"),Tl("dblclick","onDoubleClick"),Tl("focusin","onFocus"),Tl("focusout","onBlur"),Tl(xN,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oue=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mh));function ON(u,f,p){var T=u.type||"unknown-event";u.currentTarget=p,oi(T,f,void 0,u),u.currentTarget=null}function IN(u,f){f=(f&4)!==0;for(var p=0;p<u.length;p++){var T=u[p],F=T.event;T=T.listeners;e:{var Z=void 0;if(f)for(var ye=T.length-1;0<=ye;ye--){var De=T[ye],He=De.instance,mt=De.currentTarget;if(De=De.listener,He!==Z&&F.isPropagationStopped())break e;ON(F,De,mt),Z=He}else for(ye=0;ye<T.length;ye++){if(De=T[ye],He=De.instance,mt=De.currentTarget,De=De.listener,He!==Z&&F.isPropagationStopped())break e;ON(F,De,mt),Z=He}}}if(_i)throw u=Vi,_i=!1,Vi=null,u}function wi(u,f){var p=f[P0];p===void 0&&(p=f[P0]=new Set);var T=u+"__bubble";p.has(T)||(PN(f,u,2,!1),p.add(T))}function T0(u,f,p){var T=0;f&&(T|=4),PN(p,u,T,f)}var ng="_reactListening"+Math.random().toString(36).slice(2);function $h(u){if(!u[ng]){u[ng]=!0,n.forEach(function(p){p!=="selectionchange"&&(Oue.has(p)||T0(p,!1,u),T0(p,!0,u))});var f=u.nodeType===9?u:u.ownerDocument;f===null||f[ng]||(f[ng]=!0,T0("selectionchange",!1,f))}}function PN(u,f,p,T){switch(Mu(f)){case 1:var F=Lu;break;case 4:F=Yo;break;default:F=Ko}p=F.bind(null,f,p,u),F=void 0,!Jn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(F=!0),T?F!==void 0?u.addEventListener(f,p,{capture:!0,passive:F}):u.addEventListener(f,p,!0):F!==void 0?u.addEventListener(f,p,{passive:F}):u.addEventListener(f,p,!1)}function R0(u,f,p,T,F){var Z=T;if((f&1)===0&&(f&2)===0&&T!==null)e:for(;;){if(T===null)return;var ye=T.tag;if(ye===3||ye===4){var De=T.stateNode.containerInfo;if(De===F||De.nodeType===8&&De.parentNode===F)break;if(ye===4)for(ye=T.return;ye!==null;){var He=ye.tag;if((He===3||He===4)&&(He=ye.stateNode.containerInfo,He===F||He.nodeType===8&&He.parentNode===F))return;ye=ye.return}for(;De!==null;){if(ye=wc(De),ye===null)return;if(He=ye.tag,He===5||He===6){T=Z=ye;continue e}De=De.parentNode}}T=T.return}Hn(function(){var mt=Z,$t=Ze(p),ar=[];e:{var Pt=CN.get(u);if(Pt!==void 0){var ur=Y,rr=u;switch(u){case"keypress":if(Eo(p)===0)break e;case"keydown":case"keyup":ur=gr;break;case"focusin":rr="focus",ur=Rr;break;case"focusout":rr="blur",ur=Rr;break;case"beforeblur":case"afterblur":ur=Rr;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ur=Et;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ur=ft;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ur=si;break;case bN:case TN:case RN:ur=Ur;break;case xN:ur=Sc;break;case"scroll":ur=le;break;case"wheel":ur=ie;break;case"copy":case"cut":case"paste":ur=hi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ur=xr}var Jr=(f&4)!==0,Ki=!Jr&&u==="scroll",lt=Jr?Pt!==null?Pt+"Capture":null:Pt;Jr=[];for(var Xe=mt,pt;Xe!==null;){pt=Xe;var Qt=pt.stateNode;if(pt.tag===5&&Qt!==null&&(pt=Qt,lt!==null&&(Qt=zn(Xe,lt),Qt!=null&&Jr.push(Fh(Xe,Qt,pt)))),Ki)break;Xe=Xe.return}0<Jr.length&&(Pt=new ur(Pt,rr,null,p,$t),ar.push({event:Pt,listeners:Jr}))}}if((f&7)===0){e:{if(Pt=u==="mouseover"||u==="pointerover",ur=u==="mouseout"||u==="pointerout",Pt&&p!==Ce&&(rr=p.relatedTarget||p.fromElement)&&(wc(rr)||rr[ju]))break e;if((ur||Pt)&&(Pt=$t.window===$t?$t:(Pt=$t.ownerDocument)?Pt.defaultView||Pt.parentWindow:window,ur?(rr=p.relatedTarget||p.toElement,ur=mt,rr=rr?wc(rr):null,rr!==null&&(Ki=Di(rr),rr!==Ki||rr.tag!==5&&rr.tag!==6)&&(rr=null)):(ur=null,rr=mt),ur!==rr)){if(Jr=Et,Qt="onMouseLeave",lt="onMouseEnter",Xe="mouse",(u==="pointerout"||u==="pointerover")&&(Jr=xr,Qt="onPointerLeave",lt="onPointerEnter",Xe="pointer"),Ki=ur==null?Pt:Zf(ur),pt=rr==null?Pt:Zf(rr),Pt=new Jr(Qt,Xe+"leave",ur,p,$t),Pt.target=Ki,Pt.relatedTarget=pt,Qt=null,wc($t)===mt&&(Jr=new Jr(lt,Xe+"enter",rr,p,$t),Jr.target=pt,Jr.relatedTarget=Ki,Qt=Jr),Ki=Qt,ur&&rr)t:{for(Jr=ur,lt=rr,Xe=0,pt=Jr;pt;pt=Qf(pt))Xe++;for(pt=0,Qt=lt;Qt;Qt=Qf(Qt))pt++;for(;0<Xe-pt;)Jr=Qf(Jr),Xe--;for(;0<pt-Xe;)lt=Qf(lt),pt--;for(;Xe--;){if(Jr===lt||lt!==null&&Jr===lt.alternate)break t;Jr=Qf(Jr),lt=Qf(lt)}Jr=null}else Jr=null;ur!==null&&DN(ar,Pt,ur,Jr,!1),rr!==null&&Ki!==null&&DN(ar,Ki,rr,Jr,!0)}}e:{if(Pt=mt?Zf(mt):window,ur=Pt.nodeName&&Pt.nodeName.toLowerCase(),ur==="select"||ur==="input"&&Pt.type==="file")var hr=Gf;else if(Dh(Pt))if(Yf)hr=It;else{hr=ht;var Pr=We}else(ur=Pt.nodeName)&&ur.toLowerCase()==="input"&&(Pt.type==="checkbox"||Pt.type==="radio")&&(hr=St);if(hr&&(hr=hr(u,mt))){bl(ar,hr,p,$t);break e}Pr&&Pr(u,Pt,mt),u==="focusout"&&(Pr=Pt._wrapperState)&&Pr.controlled&&Pt.type==="number"&&$e(Pt,"number",Pt.value)}switch(Pr=mt?Zf(mt):window,u){case"focusin":(Dh(Pr)||Pr.contentEditable==="true")&&(Yi=Pr,ta=mt,ya=null);break;case"focusout":ya=ta=Yi=null;break;case"mousedown":bo=!0;break;case"contextmenu":case"mouseup":case"dragend":bo=!1,$u(ar,p,$t);break;case"selectionchange":if(ti)break;case"keydown":case"keyup":$u(ar,p,$t)}var Dr;if(Pe)e:{switch(u){case"compositionstart":var zr="onCompositionStart";break e;case"compositionend":zr="onCompositionEnd";break e;case"compositionupdate":zr="onCompositionUpdate";break e}zr=void 0}else ei?Vr(u,p)&&(zr="onCompositionEnd"):u==="keydown"&&p.keyCode===229&&(zr="onCompositionStart");zr&&(Ke&&p.locale!=="ko"&&(ei||zr!=="onCompositionStart"?zr==="onCompositionEnd"&&ei&&(Dr=Xo()):(Li=$t,ma="value"in Li?Li.value:Li.textContent,ei=!0)),Pr=ig(mt,zr),0<Pr.length&&(zr=new oe(zr,u,null,p,$t),ar.push({event:zr,listeners:Pr}),Dr?zr.data=Dr:(Dr=kr(p),Dr!==null&&(zr.data=Dr)))),(Dr=Be?Ei(u,p):wl(u,p))&&(mt=ig(mt,"onBeforeInput"),0<mt.length&&($t=new oe("onBeforeInput","beforeinput",null,p,$t),ar.push({event:$t,listeners:mt}),$t.data=Dr))}IN(ar,f)})}function Fh(u,f,p){return{instance:u,listener:f,currentTarget:p}}function ig(u,f){for(var p=f+"Capture",T=[];u!==null;){var F=u,Z=F.stateNode;F.tag===5&&Z!==null&&(F=Z,Z=zn(u,p),Z!=null&&T.unshift(Fh(u,Z,F)),Z=zn(u,f),Z!=null&&T.push(Fh(u,Z,F))),u=u.return}return T}function Qf(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function DN(u,f,p,T,F){for(var Z=f._reactName,ye=[];p!==null&&p!==T;){var De=p,He=De.alternate,mt=De.stateNode;if(He!==null&&He===T)break;De.tag===5&&mt!==null&&(De=mt,F?(He=zn(p,Z),He!=null&&ye.unshift(Fh(p,He,De))):F||(He=zn(p,Z),He!=null&&ye.push(Fh(p,He,De)))),p=p.return}ye.length!==0&&u.push({event:f,listeners:ye})}var Iue=/\r\n?/g,Pue=/\u0000|\uFFFD/g;function kN(u){return(typeof u=="string"?u:""+u).replace(Iue,`
97
- `).replace(Pue,"")}function ag(u,f,p){if(f=kN(f),kN(u)!==f&&p)throw Error(r(425))}function og(){}var x0=null,C0=null;function A0(u,f){return u==="textarea"||u==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var O0=typeof setTimeout=="function"?setTimeout:void 0,Due=typeof clearTimeout=="function"?clearTimeout:void 0,NN=typeof Promise=="function"?Promise:void 0,kue=typeof queueMicrotask=="function"?queueMicrotask:typeof NN<"u"?function(u){return NN.resolve(null).then(u).catch(Nue)}:O0;function Nue(u){setTimeout(function(){throw u})}function I0(u,f){var p=f,T=0;do{var F=p.nextSibling;if(u.removeChild(p),F&&F.nodeType===8)if(p=F.data,p==="/$"){if(T===0){u.removeChild(F),_o(f);return}T--}else p!=="$"&&p!=="$?"&&p!=="$!"||T++;p=F}while(p);_o(f)}function Fu(u){for(;u!=null;u=u.nextSibling){var f=u.nodeType;if(f===1||f===3)break;if(f===8){if(f=u.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return u}function LN(u){u=u.previousSibling;for(var f=0;u;){if(u.nodeType===8){var p=u.data;if(p==="$"||p==="$!"||p==="$?"){if(f===0)return u;f--}else p==="/$"&&f++}u=u.previousSibling}return null}var Jf=Math.random().toString(36).slice(2),du="__reactFiber$"+Jf,jh="__reactProps$"+Jf,ju="__reactContainer$"+Jf,P0="__reactEvents$"+Jf,Lue="__reactListeners$"+Jf,Mue="__reactHandles$"+Jf;function wc(u){var f=u[du];if(f)return f;for(var p=u.parentNode;p;){if(f=p[ju]||p[du]){if(p=f.alternate,f.child!==null||p!==null&&p.child!==null)for(u=LN(u);u!==null;){if(p=u[du])return p;u=LN(u)}return f}u=p,p=u.parentNode}return null}function Uh(u){return u=u[du]||u[ju],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function Zf(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(r(33))}function sg(u){return u[jh]||null}var D0=[],ed=-1;function Rl(u){return{current:u}}function bi(u){0>ed||(u.current=D0[ed],D0[ed]=null,ed--)}function vi(u,f){ed++,D0[ed]=u.current,u.current=f}var xl={},Va=Rl(xl),To=Rl(!1),bc=xl;function td(u,f){var p=u.type.contextTypes;if(!p)return xl;var T=u.stateNode;if(T&&T.__reactInternalMemoizedUnmaskedChildContext===f)return T.__reactInternalMemoizedMaskedChildContext;var F={},Z;for(Z in p)F[Z]=f[Z];return T&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=f,u.__reactInternalMemoizedMaskedChildContext=F),F}function Ro(u){return u=u.childContextTypes,u!=null}function ug(){bi(To),bi(Va)}function MN(u,f,p){if(Va.current!==xl)throw Error(r(168));vi(Va,f),vi(To,p)}function $N(u,f,p){var T=u.stateNode;if(f=f.childContextTypes,typeof T.getChildContext!="function")return p;T=T.getChildContext();for(var F in T)if(!(F in f))throw Error(r(108,I(u)||"Unknown",F));return U({},p,T)}function lg(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||xl,bc=Va.current,vi(Va,u),vi(To,To.current),!0}function FN(u,f,p){var T=u.stateNode;if(!T)throw Error(r(169));p?(u=$N(u,f,bc),T.__reactInternalMemoizedMergedChildContext=u,bi(To),bi(Va),vi(Va,u)):bi(To),vi(To,p)}var Uu=null,cg=!1,k0=!1;function jN(u){Uu===null?Uu=[u]:Uu.push(u)}function $ue(u){cg=!0,jN(u)}function Cl(){if(!k0&&Uu!==null){k0=!0;var u=0,f=Jt;try{var p=Uu;for(Jt=1;u<p.length;u++){var T=p[u];do T=T(!0);while(T!==null)}Uu=null,cg=!1}catch(F){throw Uu!==null&&(Uu=Uu.slice(u+1)),fe(Xt,Cl),F}finally{Jt=f,k0=!1}}return null}var Fue=R.ReactCurrentBatchConfig;function Bs(u,f){if(u&&u.defaultProps){f=U({},f),u=u.defaultProps;for(var p in u)f[p]===void 0&&(f[p]=u[p]);return f}return f}var fg=Rl(null),dg=null,rd=null,N0=null;function L0(){N0=rd=dg=null}function M0(u){var f=fg.current;bi(fg),u._currentValue=f}function $0(u,f,p){for(;u!==null;){var T=u.alternate;if((u.childLanes&f)!==f?(u.childLanes|=f,T!==null&&(T.childLanes|=f)):T!==null&&(T.childLanes&f)!==f&&(T.childLanes|=f),u===p)break;u=u.return}}function nd(u,f){dg=u,N0=rd=null,u=u.dependencies,u!==null&&u.firstContext!==null&&((u.lanes&f)!==0&&(Co=!0),u.firstContext=null)}function Ss(u){var f=u._currentValue;if(N0!==u)if(u={context:u,memoizedValue:f,next:null},rd===null){if(dg===null)throw Error(r(308));rd=u,dg.dependencies={lanes:0,firstContext:u}}else rd=rd.next=u;return f}var Hs=null,Al=!1;function F0(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function UN(u,f){u=u.updateQueue,f.updateQueue===u&&(f.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function qu(u,f){return{eventTime:u,lane:f,tag:0,payload:null,callback:null,next:null}}function Ol(u,f){var p=u.updateQueue;p!==null&&(p=p.shared,tM(u)?(u=p.interleaved,u===null?(f.next=f,Hs===null?Hs=[p]:Hs.push(p)):(f.next=u.next,u.next=f),p.interleaved=f):(u=p.pending,u===null?f.next=f:(f.next=u.next,u.next=f),p.pending=f))}function hg(u,f,p){if(f=f.updateQueue,f!==null&&(f=f.shared,(p&4194240)!==0)){var T=f.lanes;T&=u.pendingLanes,p|=T,f.lanes=p,Bt(u,p)}}function qN(u,f){var p=u.updateQueue,T=u.alternate;if(T!==null&&(T=T.updateQueue,p===T)){var F=null,Z=null;if(p=p.firstBaseUpdate,p!==null){do{var ye={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};Z===null?F=Z=ye:Z=Z.next=ye,p=p.next}while(p!==null);Z===null?F=Z=f:Z=Z.next=f}else F=Z=f;p={baseState:T.baseState,firstBaseUpdate:F,lastBaseUpdate:Z,shared:T.shared,effects:T.effects},u.updateQueue=p;return}u=p.lastBaseUpdate,u===null?p.firstBaseUpdate=f:u.next=f,p.lastBaseUpdate=f}function vg(u,f,p,T){var F=u.updateQueue;Al=!1;var Z=F.firstBaseUpdate,ye=F.lastBaseUpdate,De=F.shared.pending;if(De!==null){F.shared.pending=null;var He=De,mt=He.next;He.next=null,ye===null?Z=mt:ye.next=mt,ye=He;var $t=u.alternate;$t!==null&&($t=$t.updateQueue,De=$t.lastBaseUpdate,De!==ye&&(De===null?$t.firstBaseUpdate=mt:De.next=mt,$t.lastBaseUpdate=He))}if(Z!==null){var ar=F.baseState;ye=0,$t=mt=He=null,De=Z;do{var Pt=De.lane,ur=De.eventTime;if((T&Pt)===Pt){$t!==null&&($t=$t.next={eventTime:ur,lane:0,tag:De.tag,payload:De.payload,callback:De.callback,next:null});e:{var rr=u,Jr=De;switch(Pt=f,ur=p,Jr.tag){case 1:if(rr=Jr.payload,typeof rr=="function"){ar=rr.call(ur,ar,Pt);break e}ar=rr;break e;case 3:rr.flags=rr.flags&-65537|128;case 0:if(rr=Jr.payload,Pt=typeof rr=="function"?rr.call(ur,ar,Pt):rr,Pt==null)break e;ar=U({},ar,Pt);break e;case 2:Al=!0}}De.callback!==null&&De.lane!==0&&(u.flags|=64,Pt=F.effects,Pt===null?F.effects=[De]:Pt.push(De))}else ur={eventTime:ur,lane:Pt,tag:De.tag,payload:De.payload,callback:De.callback,next:null},$t===null?(mt=$t=ur,He=ar):$t=$t.next=ur,ye|=Pt;if(De=De.next,De===null){if(De=F.shared.pending,De===null)break;Pt=De,De=Pt.next,Pt.next=null,F.lastBaseUpdate=Pt,F.shared.pending=null}}while(!0);if($t===null&&(He=ar),F.baseState=He,F.firstBaseUpdate=mt,F.lastBaseUpdate=$t,f=F.shared.interleaved,f!==null){F=f;do ye|=F.lane,F=F.next;while(F!==f)}else Z===null&&(F.shared.lanes=0);Ac|=ye,u.lanes=ye,u.memoizedState=ar}}function VN(u,f,p){if(u=f.effects,f.effects=null,u!==null)for(f=0;f<u.length;f++){var T=u[f],F=T.callback;if(F!==null){if(T.callback=null,T=p,typeof F!="function")throw Error(r(191,F));F.call(T)}}}var BN=new e.Component().refs;function j0(u,f,p,T){f=u.memoizedState,p=p(T,f),p=p==null?f:U({},f,p),u.memoizedState=p,u.lanes===0&&(u.updateQueue.baseState=p)}var pg={isMounted:function(u){return(u=u._reactInternals)?Di(u)===u:!1},enqueueSetState:function(u,f,p){u=u._reactInternals;var T=uo(),F=kl(u),Z=qu(T,F);Z.payload=f,p!=null&&(Z.callback=p),Ol(u,Z),f=Rs(u,F,T),f!==null&&hg(f,u,F)},enqueueReplaceState:function(u,f,p){u=u._reactInternals;var T=uo(),F=kl(u),Z=qu(T,F);Z.tag=1,Z.payload=f,p!=null&&(Z.callback=p),Ol(u,Z),f=Rs(u,F,T),f!==null&&hg(f,u,F)},enqueueForceUpdate:function(u,f){u=u._reactInternals;var p=uo(),T=kl(u),F=qu(p,T);F.tag=2,f!=null&&(F.callback=f),Ol(u,F),f=Rs(u,T,p),f!==null&&hg(f,u,T)}};function HN(u,f,p,T,F,Z,ye){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(T,Z,ye):f.prototype&&f.prototype.isPureReactComponent?!lr(p,T)||!lr(F,Z):!0}function zN(u,f,p){var T=!1,F=xl,Z=f.contextType;return typeof Z=="object"&&Z!==null?Z=Ss(Z):(F=Ro(f)?bc:Va.current,T=f.contextTypes,Z=(T=T!=null)?td(u,F):xl),f=new f(p,Z),u.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=pg,u.stateNode=f,f._reactInternals=u,T&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=F,u.__reactInternalMemoizedMaskedChildContext=Z),f}function WN(u,f,p,T){u=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(p,T),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(p,T),f.state!==u&&pg.enqueueReplaceState(f,f.state,null)}function U0(u,f,p,T){var F=u.stateNode;F.props=p,F.state=u.memoizedState,F.refs=BN,F0(u);var Z=f.contextType;typeof Z=="object"&&Z!==null?F.context=Ss(Z):(Z=Ro(f)?bc:Va.current,F.context=td(u,Z)),F.state=u.memoizedState,Z=f.getDerivedStateFromProps,typeof Z=="function"&&(j0(u,f,Z,p),F.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof F.getSnapshotBeforeUpdate=="function"||typeof F.UNSAFE_componentWillMount!="function"&&typeof F.componentWillMount!="function"||(f=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),f!==F.state&&pg.enqueueReplaceState(F,F.state,null),vg(u,p,F,T),F.state=u.memoizedState),typeof F.componentDidMount=="function"&&(u.flags|=4194308)}var id=[],ad=0,gg=null,mg=0,Es=[],ws=0,Tc=null,Vu=1,Bu="";function Rc(u,f){id[ad++]=mg,id[ad++]=gg,gg=u,mg=f}function GN(u,f,p){Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=Tc,Tc=u;var T=Vu;u=Bu;var F=32-Mn(T)-1;T&=~(1<<F),p+=1;var Z=32-Mn(f)+F;if(30<Z){var ye=F-F%5;Z=(T&(1<<ye)-1).toString(32),T>>=ye,F-=ye,Vu=1<<32-Mn(f)+F|p<<F|T,Bu=Z+u}else Vu=1<<Z|p<<F|T,Bu=u}function q0(u){u.return!==null&&(Rc(u,1),GN(u,1,0))}function V0(u){for(;u===gg;)gg=id[--ad],id[ad]=null,mg=id[--ad],id[ad]=null;for(;u===Tc;)Tc=Es[--ws],Es[ws]=null,Bu=Es[--ws],Es[ws]=null,Vu=Es[--ws],Es[ws]=null}var Jo=null,xo=null,Oi=!1,zs=null;function YN(u,f){var p=xs(5,null,null,0);p.elementType="DELETED",p.stateNode=f,p.return=u,f=u.deletions,f===null?(u.deletions=[p],u.flags|=16):f.push(p)}function KN(u,f){switch(u.tag){case 5:var p=u.type;return f=f.nodeType!==1||p.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(u.stateNode=f,Jo=u,xo=Fu(f.firstChild),!0):!1;case 6:return f=u.pendingProps===""||f.nodeType!==3?null:f,f!==null?(u.stateNode=f,Jo=u,xo=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(p=Tc!==null?{id:Vu,overflow:Bu}:null,u.memoizedState={dehydrated:f,treeContext:p,retryLane:1073741824},p=xs(18,null,null,0),p.stateNode=f,p.return=u,u.child=p,Jo=u,xo=null,!0):!1;default:return!1}}function B0(u){return(u.mode&1)!==0&&(u.flags&128)===0}function H0(u){if(Oi){var f=xo;if(f){var p=f;if(!KN(u,f)){if(B0(u))throw Error(r(418));f=Fu(p.nextSibling);var T=Jo;f&&KN(u,f)?YN(T,p):(u.flags=u.flags&-4097|2,Oi=!1,Jo=u)}}else{if(B0(u))throw Error(r(418));u.flags=u.flags&-4097|2,Oi=!1,Jo=u}}}function XN(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;Jo=u}function qh(u){if(u!==Jo)return!1;if(!Oi)return XN(u),Oi=!0,!1;var f;if((f=u.tag!==3)&&!(f=u.tag!==5)&&(f=u.type,f=f!=="head"&&f!=="body"&&!A0(u.type,u.memoizedProps)),f&&(f=xo)){if(B0(u)){for(u=xo;u;)u=Fu(u.nextSibling);throw Error(r(418))}for(;f;)YN(u,f),f=Fu(f.nextSibling)}if(XN(u),u.tag===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));e:{for(u=u.nextSibling,f=0;u;){if(u.nodeType===8){var p=u.data;if(p==="/$"){if(f===0){xo=Fu(u.nextSibling);break e}f--}else p!=="$"&&p!=="$!"&&p!=="$?"||f++}u=u.nextSibling}xo=null}}else xo=Jo?Fu(u.stateNode.nextSibling):null;return!0}function od(){xo=Jo=null,Oi=!1}function z0(u){zs===null?zs=[u]:zs.push(u)}function Vh(u,f,p){if(u=p.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(p._owner){if(p=p._owner,p){if(p.tag!==1)throw Error(r(309));var T=p.stateNode}if(!T)throw Error(r(147,u));var F=T,Z=""+u;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===Z?f.ref:(f=function(ye){var De=F.refs;De===BN&&(De=F.refs={}),ye===null?delete De[Z]:De[Z]=ye},f._stringRef=Z,f)}if(typeof u!="string")throw Error(r(284));if(!p._owner)throw Error(r(290,u))}return u}function yg(u,f){throw u=Object.prototype.toString.call(f),Error(r(31,u==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":u))}function QN(u){var f=u._init;return f(u._payload)}function JN(u){function f(lt,Xe){if(u){var pt=lt.deletions;pt===null?(lt.deletions=[Xe],lt.flags|=16):pt.push(Xe)}}function p(lt,Xe){if(!u)return null;for(;Xe!==null;)f(lt,Xe),Xe=Xe.sibling;return null}function T(lt,Xe){for(lt=new Map;Xe!==null;)Xe.key!==null?lt.set(Xe.key,Xe):lt.set(Xe.index,Xe),Xe=Xe.sibling;return lt}function F(lt,Xe){return lt=Ll(lt,Xe),lt.index=0,lt.sibling=null,lt}function Z(lt,Xe,pt){return lt.index=pt,u?(pt=lt.alternate,pt!==null?(pt=pt.index,pt<Xe?(lt.flags|=2,Xe):pt):(lt.flags|=2,Xe)):(lt.flags|=1048576,Xe)}function ye(lt){return u&&lt.alternate===null&&(lt.flags|=2),lt}function De(lt,Xe,pt,Qt){return Xe===null||Xe.tag!==6?(Xe=xS(pt,lt.mode,Qt),Xe.return=lt,Xe):(Xe=F(Xe,pt),Xe.return=lt,Xe)}function He(lt,Xe,pt,Qt){var hr=pt.type;return hr===m?$t(lt,Xe,pt.props.children,Qt,pt.key):Xe!==null&&(Xe.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===J&&QN(hr)===Xe.type)?(Qt=F(Xe,pt.props),Qt.ref=Vh(lt,Xe,pt),Qt.return=lt,Qt):(Qt=jg(pt.type,pt.key,pt.props,null,lt.mode,Qt),Qt.ref=Vh(lt,Xe,pt),Qt.return=lt,Qt)}function mt(lt,Xe,pt,Qt){return Xe===null||Xe.tag!==4||Xe.stateNode.containerInfo!==pt.containerInfo||Xe.stateNode.implementation!==pt.implementation?(Xe=CS(pt,lt.mode,Qt),Xe.return=lt,Xe):(Xe=F(Xe,pt.children||[]),Xe.return=lt,Xe)}function $t(lt,Xe,pt,Qt,hr){return Xe===null||Xe.tag!==7?(Xe=Dc(pt,lt.mode,Qt,hr),Xe.return=lt,Xe):(Xe=F(Xe,pt),Xe.return=lt,Xe)}function ar(lt,Xe,pt){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Xe=xS(""+Xe,lt.mode,pt),Xe.return=lt,Xe;if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case C:return pt=jg(Xe.type,Xe.key,Xe.props,null,lt.mode,pt),pt.ref=Vh(lt,null,Xe),pt.return=lt,pt;case O:return Xe=CS(Xe,lt.mode,pt),Xe.return=lt,Xe;case J:var Qt=Xe._init;return ar(lt,Qt(Xe._payload),pt)}if(me(Xe)||N(Xe))return Xe=Dc(Xe,lt.mode,pt,null),Xe.return=lt,Xe;yg(lt,Xe)}return null}function Pt(lt,Xe,pt,Qt){var hr=Xe!==null?Xe.key:null;if(typeof pt=="string"&&pt!==""||typeof pt=="number")return hr!==null?null:De(lt,Xe,""+pt,Qt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case C:return pt.key===hr?He(lt,Xe,pt,Qt):null;case O:return pt.key===hr?mt(lt,Xe,pt,Qt):null;case J:return hr=pt._init,Pt(lt,Xe,hr(pt._payload),Qt)}if(me(pt)||N(pt))return hr!==null?null:$t(lt,Xe,pt,Qt,null);yg(lt,pt)}return null}function ur(lt,Xe,pt,Qt,hr){if(typeof Qt=="string"&&Qt!==""||typeof Qt=="number")return lt=lt.get(pt)||null,De(Xe,lt,""+Qt,hr);if(typeof Qt=="object"&&Qt!==null){switch(Qt.$$typeof){case C:return lt=lt.get(Qt.key===null?pt:Qt.key)||null,He(Xe,lt,Qt,hr);case O:return lt=lt.get(Qt.key===null?pt:Qt.key)||null,mt(Xe,lt,Qt,hr);case J:var Pr=Qt._init;return ur(lt,Xe,pt,Pr(Qt._payload),hr)}if(me(Qt)||N(Qt))return lt=lt.get(pt)||null,$t(Xe,lt,Qt,hr,null);yg(Xe,Qt)}return null}function rr(lt,Xe,pt,Qt){for(var hr=null,Pr=null,Dr=Xe,zr=Xe=0,Sa=null;Dr!==null&&zr<pt.length;zr++){Dr.index>zr?(Sa=Dr,Dr=null):Sa=Dr.sibling;var An=Pt(lt,Dr,pt[zr],Qt);if(An===null){Dr===null&&(Dr=Sa);break}u&&Dr&&An.alternate===null&&f(lt,Dr),Xe=Z(An,Xe,zr),Pr===null?hr=An:Pr.sibling=An,Pr=An,Dr=Sa}if(zr===pt.length)return p(lt,Dr),Oi&&Rc(lt,zr),hr;if(Dr===null){for(;zr<pt.length;zr++)Dr=ar(lt,pt[zr],Qt),Dr!==null&&(Xe=Z(Dr,Xe,zr),Pr===null?hr=Dr:Pr.sibling=Dr,Pr=Dr);return Oi&&Rc(lt,zr),hr}for(Dr=T(lt,Dr);zr<pt.length;zr++)Sa=ur(Dr,lt,zr,pt[zr],Qt),Sa!==null&&(u&&Sa.alternate!==null&&Dr.delete(Sa.key===null?zr:Sa.key),Xe=Z(Sa,Xe,zr),Pr===null?hr=Sa:Pr.sibling=Sa,Pr=Sa);return u&&Dr.forEach(function(Ml){return f(lt,Ml)}),Oi&&Rc(lt,zr),hr}function Jr(lt,Xe,pt,Qt){var hr=N(pt);if(typeof hr!="function")throw Error(r(150));if(pt=hr.call(pt),pt==null)throw Error(r(151));for(var Pr=hr=null,Dr=Xe,zr=Xe=0,Sa=null,An=pt.next();Dr!==null&&!An.done;zr++,An=pt.next()){Dr.index>zr?(Sa=Dr,Dr=null):Sa=Dr.sibling;var Ml=Pt(lt,Dr,An.value,Qt);if(Ml===null){Dr===null&&(Dr=Sa);break}u&&Dr&&Ml.alternate===null&&f(lt,Dr),Xe=Z(Ml,Xe,zr),Pr===null?hr=Ml:Pr.sibling=Ml,Pr=Ml,Dr=Sa}if(An.done)return p(lt,Dr),Oi&&Rc(lt,zr),hr;if(Dr===null){for(;!An.done;zr++,An=pt.next())An=ar(lt,An.value,Qt),An!==null&&(Xe=Z(An,Xe,zr),Pr===null?hr=An:Pr.sibling=An,Pr=An);return Oi&&Rc(lt,zr),hr}for(Dr=T(lt,Dr);!An.done;zr++,An=pt.next())An=ur(Dr,lt,zr,An.value,Qt),An!==null&&(u&&An.alternate!==null&&Dr.delete(An.key===null?zr:An.key),Xe=Z(An,Xe,zr),Pr===null?hr=An:Pr.sibling=An,Pr=An);return u&&Dr.forEach(function(gle){return f(lt,gle)}),Oi&&Rc(lt,zr),hr}function Ki(lt,Xe,pt,Qt){if(typeof pt=="object"&&pt!==null&&pt.type===m&&pt.key===null&&(pt=pt.props.children),typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case C:e:{for(var hr=pt.key,Pr=Xe;Pr!==null;){if(Pr.key===hr){if(hr=pt.type,hr===m){if(Pr.tag===7){p(lt,Pr.sibling),Xe=F(Pr,pt.props.children),Xe.return=lt,lt=Xe;break e}}else if(Pr.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===J&&QN(hr)===Pr.type){p(lt,Pr.sibling),Xe=F(Pr,pt.props),Xe.ref=Vh(lt,Pr,pt),Xe.return=lt,lt=Xe;break e}p(lt,Pr);break}else f(lt,Pr);Pr=Pr.sibling}pt.type===m?(Xe=Dc(pt.props.children,lt.mode,Qt,pt.key),Xe.return=lt,lt=Xe):(Qt=jg(pt.type,pt.key,pt.props,null,lt.mode,Qt),Qt.ref=Vh(lt,Xe,pt),Qt.return=lt,lt=Qt)}return ye(lt);case O:e:{for(Pr=pt.key;Xe!==null;){if(Xe.key===Pr)if(Xe.tag===4&&Xe.stateNode.containerInfo===pt.containerInfo&&Xe.stateNode.implementation===pt.implementation){p(lt,Xe.sibling),Xe=F(Xe,pt.children||[]),Xe.return=lt,lt=Xe;break e}else{p(lt,Xe);break}else f(lt,Xe);Xe=Xe.sibling}Xe=CS(pt,lt.mode,Qt),Xe.return=lt,lt=Xe}return ye(lt);case J:return Pr=pt._init,Ki(lt,Xe,Pr(pt._payload),Qt)}if(me(pt))return rr(lt,Xe,pt,Qt);if(N(pt))return Jr(lt,Xe,pt,Qt);yg(lt,pt)}return typeof pt=="string"&&pt!==""||typeof pt=="number"?(pt=""+pt,Xe!==null&&Xe.tag===6?(p(lt,Xe.sibling),Xe=F(Xe,pt),Xe.return=lt,lt=Xe):(p(lt,Xe),Xe=xS(pt,lt.mode,Qt),Xe.return=lt,lt=Xe),ye(lt)):p(lt,Xe)}return Ki}var sd=JN(!0),ZN=JN(!1),Bh={},hu=Rl(Bh),Hh=Rl(Bh),zh=Rl(Bh);function xc(u){if(u===Bh)throw Error(r(174));return u}function W0(u,f){switch(vi(zh,f),vi(Hh,u),vi(hu,Bh),u=f.nodeType,u){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:ct(null,"");break;default:u=u===8?f.parentNode:f,f=u.namespaceURI||null,u=u.tagName,f=ct(f,u)}bi(hu),vi(hu,f)}function ud(){bi(hu),bi(Hh),bi(zh)}function eL(u){xc(zh.current);var f=xc(hu.current),p=ct(f,u.type);f!==p&&(vi(Hh,u),vi(hu,p))}function G0(u){Hh.current===u&&(bi(hu),bi(Hh))}var Mi=Rl(0);function _g(u){for(var f=u;f!==null;){if(f.tag===13){var p=f.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&128)!==0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Y0=[];function K0(){for(var u=0;u<Y0.length;u++)Y0[u]._workInProgressVersionPrimary=null;Y0.length=0}var Sg=R.ReactCurrentDispatcher,X0=R.ReactCurrentBatchConfig,Cc=0,$i=null,ua=null,_a=null,Eg=!1,Wh=!1,Gh=0,jue=0;function Ba(){throw Error(r(321))}function Q0(u,f){if(f===null)return!1;for(var p=0;p<f.length&&p<u.length;p++)if(!tr(u[p],f[p]))return!1;return!0}function J0(u,f,p,T,F,Z){if(Cc=Z,$i=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Sg.current=u===null||u.memoizedState===null?Bue:Hue,u=p(T,F),Wh){Z=0;do{if(Wh=!1,Gh=0,25<=Z)throw Error(r(301));Z+=1,_a=ua=null,f.updateQueue=null,Sg.current=zue,u=p(T,F)}while(Wh)}if(Sg.current=Tg,f=ua!==null&&ua.next!==null,Cc=0,_a=ua=$i=null,Eg=!1,f)throw Error(r(300));return u}function Z0(){var u=Gh!==0;return Gh=0,u}function vu(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _a===null?$i.memoizedState=_a=u:_a=_a.next=u,_a}function bs(){if(ua===null){var u=$i.alternate;u=u!==null?u.memoizedState:null}else u=ua.next;var f=_a===null?$i.memoizedState:_a.next;if(f!==null)_a=f,ua=u;else{if(u===null)throw Error(r(310));ua=u,u={memoizedState:ua.memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},_a===null?$i.memoizedState=_a=u:_a=_a.next=u}return _a}function Yh(u,f){return typeof f=="function"?f(u):f}function eS(u){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=u;var T=ua,F=T.baseQueue,Z=p.pending;if(Z!==null){if(F!==null){var ye=F.next;F.next=Z.next,Z.next=ye}T.baseQueue=F=Z,p.pending=null}if(F!==null){Z=F.next,T=T.baseState;var De=ye=null,He=null,mt=Z;do{var $t=mt.lane;if((Cc&$t)===$t)He!==null&&(He=He.next={lane:0,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null}),T=mt.hasEagerState?mt.eagerState:u(T,mt.action);else{var ar={lane:$t,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null};He===null?(De=He=ar,ye=T):He=He.next=ar,$i.lanes|=$t,Ac|=$t}mt=mt.next}while(mt!==null&&mt!==Z);He===null?ye=T:He.next=De,tr(T,f.memoizedState)||(Co=!0),f.memoizedState=T,f.baseState=ye,f.baseQueue=He,p.lastRenderedState=T}if(u=p.interleaved,u!==null){F=u;do Z=F.lane,$i.lanes|=Z,Ac|=Z,F=F.next;while(F!==u)}else F===null&&(p.lanes=0);return[f.memoizedState,p.dispatch]}function tS(u){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=u;var T=p.dispatch,F=p.pending,Z=f.memoizedState;if(F!==null){p.pending=null;var ye=F=F.next;do Z=u(Z,ye.action),ye=ye.next;while(ye!==F);tr(Z,f.memoizedState)||(Co=!0),f.memoizedState=Z,f.baseQueue===null&&(f.baseState=Z),p.lastRenderedState=Z}return[Z,T]}function tL(){}function rL(u,f){var p=$i,T=bs(),F=f(),Z=!tr(T.memoizedState,F);if(Z&&(T.memoizedState=F,Co=!0),T=T.queue,rS(aL.bind(null,p,T,u),[u]),T.getSnapshot!==f||Z||_a!==null&&_a.memoizedState.tag&1){if(p.flags|=2048,Kh(9,iL.bind(null,p,T,F,f),void 0,null),la===null)throw Error(r(349));(Cc&30)!==0||nL(p,f,F)}return F}function nL(u,f,p){u.flags|=16384,u={getSnapshot:f,value:p},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.stores=[u]):(p=f.stores,p===null?f.stores=[u]:p.push(u))}function iL(u,f,p,T){f.value=p,f.getSnapshot=T,oL(f)&&Rs(u,1,-1)}function aL(u,f,p){return p(function(){oL(f)&&Rs(u,1,-1)})}function oL(u){var f=u.getSnapshot;u=u.value;try{var p=f();return!tr(u,p)}catch{return!0}}function sL(u){var f=vu();return typeof u=="function"&&(u=u()),f.memoizedState=f.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yh,lastRenderedState:u},f.queue=u,u=u.dispatch=Vue.bind(null,$i,u),[f.memoizedState,u]}function Kh(u,f,p,T){return u={tag:u,create:f,destroy:p,deps:T,next:null},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.lastEffect=u.next=u):(p=f.lastEffect,p===null?f.lastEffect=u.next=u:(T=p.next,p.next=u,u.next=T,f.lastEffect=u)),u}function uL(){return bs().memoizedState}function wg(u,f,p,T){var F=vu();$i.flags|=u,F.memoizedState=Kh(1|f,p,void 0,T===void 0?null:T)}function bg(u,f,p,T){var F=bs();T=T===void 0?null:T;var Z=void 0;if(ua!==null){var ye=ua.memoizedState;if(Z=ye.destroy,T!==null&&Q0(T,ye.deps)){F.memoizedState=Kh(f,p,Z,T);return}}$i.flags|=u,F.memoizedState=Kh(1|f,p,Z,T)}function lL(u,f){return wg(8390656,8,u,f)}function rS(u,f){return bg(2048,8,u,f)}function cL(u,f){return bg(4,2,u,f)}function fL(u,f){return bg(4,4,u,f)}function dL(u,f){if(typeof f=="function")return u=u(),f(u),function(){f(null)};if(f!=null)return u=u(),f.current=u,function(){f.current=null}}function hL(u,f,p){return p=p!=null?p.concat([u]):null,bg(4,4,dL.bind(null,f,u),p)}function nS(){}function vL(u,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&Q0(f,T[1])?T[0]:(p.memoizedState=[u,f],u)}function pL(u,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&Q0(f,T[1])?T[0]:(u=u(),p.memoizedState=[u,f],u)}function gL(u,f,p){return(Cc&21)===0?(u.baseState&&(u.baseState=!1,Co=!0),u.memoizedState=p):(tr(p,f)||(p=je(),$i.lanes|=p,Ac|=p,u.baseState=!0),f)}function Uue(u,f){var p=Jt;Jt=p!==0&&4>p?p:4,u(!0);var T=X0.transition;X0.transition={};try{u(!1),f()}finally{Jt=p,X0.transition=T}}function mL(){return bs().memoizedState}function que(u,f,p){var T=kl(u);p={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null},yL(u)?_L(f,p):(SL(u,f,p),p=uo(),u=Rs(u,T,p),u!==null&&EL(u,f,T))}function Vue(u,f,p){var T=kl(u),F={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null};if(yL(u))_L(f,F);else{SL(u,f,F);var Z=u.alternate;if(u.lanes===0&&(Z===null||Z.lanes===0)&&(Z=f.lastRenderedReducer,Z!==null))try{var ye=f.lastRenderedState,De=Z(ye,p);if(F.hasEagerState=!0,F.eagerState=De,tr(De,ye))return}catch{}finally{}p=uo(),u=Rs(u,T,p),u!==null&&EL(u,f,T)}}function yL(u){var f=u.alternate;return u===$i||f!==null&&f===$i}function _L(u,f){Wh=Eg=!0;var p=u.pending;p===null?f.next=f:(f.next=p.next,p.next=f),u.pending=f}function SL(u,f,p){tM(u)?(u=f.interleaved,u===null?(p.next=p,Hs===null?Hs=[f]:Hs.push(f)):(p.next=u.next,u.next=p),f.interleaved=p):(u=f.pending,u===null?p.next=p:(p.next=u.next,u.next=p),f.pending=p)}function EL(u,f,p){if((p&4194240)!==0){var T=f.lanes;T&=u.pendingLanes,p|=T,f.lanes=p,Bt(u,p)}}var Tg={readContext:Ss,useCallback:Ba,useContext:Ba,useEffect:Ba,useImperativeHandle:Ba,useInsertionEffect:Ba,useLayoutEffect:Ba,useMemo:Ba,useReducer:Ba,useRef:Ba,useState:Ba,useDebugValue:Ba,useDeferredValue:Ba,useTransition:Ba,useMutableSource:Ba,useSyncExternalStore:Ba,useId:Ba,unstable_isNewReconciler:!1},Bue={readContext:Ss,useCallback:function(u,f){return vu().memoizedState=[u,f===void 0?null:f],u},useContext:Ss,useEffect:lL,useImperativeHandle:function(u,f,p){return p=p!=null?p.concat([u]):null,wg(4194308,4,dL.bind(null,f,u),p)},useLayoutEffect:function(u,f){return wg(4194308,4,u,f)},useInsertionEffect:function(u,f){return wg(4,2,u,f)},useMemo:function(u,f){var p=vu();return f=f===void 0?null:f,u=u(),p.memoizedState=[u,f],u},useReducer:function(u,f,p){var T=vu();return f=p!==void 0?p(f):f,T.memoizedState=T.baseState=f,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:f},T.queue=u,u=u.dispatch=que.bind(null,$i,u),[T.memoizedState,u]},useRef:function(u){var f=vu();return u={current:u},f.memoizedState=u},useState:sL,useDebugValue:nS,useDeferredValue:function(u){return vu().memoizedState=u},useTransition:function(){var u=sL(!1),f=u[0];return u=Uue.bind(null,u[1]),vu().memoizedState=u,[f,u]},useMutableSource:function(){},useSyncExternalStore:function(u,f,p){var T=$i,F=vu();if(Oi){if(p===void 0)throw Error(r(407));p=p()}else{if(p=f(),la===null)throw Error(r(349));(Cc&30)!==0||nL(T,f,p)}F.memoizedState=p;var Z={value:p,getSnapshot:f};return F.queue=Z,lL(aL.bind(null,T,Z,u),[u]),T.flags|=2048,Kh(9,iL.bind(null,T,Z,p,f),void 0,null),p},useId:function(){var u=vu(),f=la.identifierPrefix;if(Oi){var p=Bu,T=Vu;p=(T&~(1<<32-Mn(T)-1)).toString(32)+p,f=":"+f+"R"+p,p=Gh++,0<p&&(f+="H"+p.toString(32)),f+=":"}else p=jue++,f=":"+f+"r"+p.toString(32)+":";return u.memoizedState=f},unstable_isNewReconciler:!1},Hue={readContext:Ss,useCallback:vL,useContext:Ss,useEffect:rS,useImperativeHandle:hL,useInsertionEffect:cL,useLayoutEffect:fL,useMemo:pL,useReducer:eS,useRef:uL,useState:function(){return eS(Yh)},useDebugValue:nS,useDeferredValue:function(u){var f=bs();return gL(f,ua.memoizedState,u)},useTransition:function(){var u=eS(Yh)[0],f=bs().memoizedState;return[u,f]},useMutableSource:tL,useSyncExternalStore:rL,useId:mL,unstable_isNewReconciler:!1},zue={readContext:Ss,useCallback:vL,useContext:Ss,useEffect:rS,useImperativeHandle:hL,useInsertionEffect:cL,useLayoutEffect:fL,useMemo:pL,useReducer:tS,useRef:uL,useState:function(){return tS(Yh)},useDebugValue:nS,useDeferredValue:function(u){var f=bs();return ua===null?f.memoizedState=u:gL(f,ua.memoizedState,u)},useTransition:function(){var u=tS(Yh)[0],f=bs().memoizedState;return[u,f]},useMutableSource:tL,useSyncExternalStore:rL,useId:mL,unstable_isNewReconciler:!1};function iS(u,f){try{var p="",T=f;do p+=xe(T),T=T.return;while(T);var F=p}catch(Z){F=`
98
- Error generating stack: `+Z.message+`
99
- `+Z.stack}return{value:u,source:f,stack:F}}function aS(u,f){try{console.error(f.value)}catch(p){setTimeout(function(){throw p})}}var Wue=typeof WeakMap=="function"?WeakMap:Map;function wL(u,f,p){p=qu(-1,p),p.tag=3,p.payload={element:null};var T=f.value;return p.callback=function(){Dg||(Dg=!0,yS=T),aS(u,f)},p}function bL(u,f,p){p=qu(-1,p),p.tag=3;var T=u.type.getDerivedStateFromError;if(typeof T=="function"){var F=f.value;p.payload=function(){return T(F)},p.callback=function(){aS(u,f)}}var Z=u.stateNode;return Z!==null&&typeof Z.componentDidCatch=="function"&&(p.callback=function(){aS(u,f),typeof T!="function"&&(Pl===null?Pl=new Set([this]):Pl.add(this));var ye=f.stack;this.componentDidCatch(f.value,{componentStack:ye!==null?ye:""})}),p}function TL(u,f,p){var T=u.pingCache;if(T===null){T=u.pingCache=new Wue;var F=new Set;T.set(f,F)}else F=T.get(f),F===void 0&&(F=new Set,T.set(f,F));F.has(p)||(F.add(p),u=ale.bind(null,u,f,p),f.then(u,u))}function RL(u){do{var f;if((f=u.tag===13)&&(f=u.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return u;u=u.return}while(u!==null);return null}function xL(u,f,p,T,F){return(u.mode&1)===0?(u===f?u.flags|=65536:(u.flags|=128,p.flags|=131072,p.flags&=-52805,p.tag===1&&(p.alternate===null?p.tag=17:(f=qu(-1,1),f.tag=2,Ol(p,f))),p.lanes|=1),u):(u.flags|=65536,u.lanes=F,u)}var CL,oS,AL,OL;CL=function(u,f){for(var p=f.child;p!==null;){if(p.tag===5||p.tag===6)u.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},oS=function(){},AL=function(u,f,p,T){var F=u.memoizedProps;if(F!==T){u=f.stateNode,xc(hu.current);var Z=null;switch(p){case"input":F=we(u,F),T=we(u,T),Z=[];break;case"select":F=U({},F,{value:void 0}),T=U({},T,{value:void 0}),Z=[];break;case"textarea":F=Te(u,F),T=Te(u,T),Z=[];break;default:typeof F.onClick!="function"&&typeof T.onClick=="function"&&(u.onclick=og)}Yt(p,T);var ye;p=null;for(mt in F)if(!T.hasOwnProperty(mt)&&F.hasOwnProperty(mt)&&F[mt]!=null)if(mt==="style"){var De=F[mt];for(ye in De)De.hasOwnProperty(ye)&&(p||(p={}),p[ye]="")}else mt!=="dangerouslySetInnerHTML"&&mt!=="children"&&mt!=="suppressContentEditableWarning"&&mt!=="suppressHydrationWarning"&&mt!=="autoFocus"&&(i.hasOwnProperty(mt)?Z||(Z=[]):(Z=Z||[]).push(mt,null));for(mt in T){var He=T[mt];if(De=F!=null?F[mt]:void 0,T.hasOwnProperty(mt)&&He!==De&&(He!=null||De!=null))if(mt==="style")if(De){for(ye in De)!De.hasOwnProperty(ye)||He&&He.hasOwnProperty(ye)||(p||(p={}),p[ye]="");for(ye in He)He.hasOwnProperty(ye)&&De[ye]!==He[ye]&&(p||(p={}),p[ye]=He[ye])}else p||(Z||(Z=[]),Z.push(mt,p)),p=He;else mt==="dangerouslySetInnerHTML"?(He=He?He.__html:void 0,De=De?De.__html:void 0,He!=null&&De!==He&&(Z=Z||[]).push(mt,He)):mt==="children"?typeof He!="string"&&typeof He!="number"||(Z=Z||[]).push(mt,""+He):mt!=="suppressContentEditableWarning"&&mt!=="suppressHydrationWarning"&&(i.hasOwnProperty(mt)?(He!=null&&mt==="onScroll"&&wi("scroll",u),Z||De===He||(Z=[])):(Z=Z||[]).push(mt,He))}p&&(Z=Z||[]).push("style",p);var mt=Z;(f.updateQueue=mt)&&(f.flags|=4)}},OL=function(u,f,p,T){p!==T&&(f.flags|=4)};function Xh(u,f){if(!Oi)switch(u.tailMode){case"hidden":f=u.tail;for(var p=null;f!==null;)f.alternate!==null&&(p=f),f=f.sibling;p===null?u.tail=null:p.sibling=null;break;case"collapsed":p=u.tail;for(var T=null;p!==null;)p.alternate!==null&&(T=p),p=p.sibling;T===null?f||u.tail===null?u.tail=null:u.tail.sibling=null:T.sibling=null}}function Ha(u){var f=u.alternate!==null&&u.alternate.child===u.child,p=0,T=0;if(f)for(var F=u.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags&14680064,T|=F.flags&14680064,F.return=u,F=F.sibling;else for(F=u.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags,T|=F.flags,F.return=u,F=F.sibling;return u.subtreeFlags|=T,u.childLanes=p,f}function Gue(u,f,p){var T=f.pendingProps;switch(V0(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ha(f),null;case 1:return Ro(f.type)&&ug(),Ha(f),null;case 3:return T=f.stateNode,ud(),bi(To),bi(Va),K0(),T.pendingContext&&(T.context=T.pendingContext,T.pendingContext=null),(u===null||u.child===null)&&(qh(f)?f.flags|=4:u===null||u.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,zs!==null&&(ES(zs),zs=null))),oS(u,f),Ha(f),null;case 5:G0(f);var F=xc(zh.current);if(p=f.type,u!==null&&f.stateNode!=null)AL(u,f,p,T,F),u.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!T){if(f.stateNode===null)throw Error(r(166));return Ha(f),null}if(u=xc(hu.current),qh(f)){T=f.stateNode,p=f.type;var Z=f.memoizedProps;switch(T[du]=f,T[jh]=Z,u=(f.mode&1)!==0,p){case"dialog":wi("cancel",T),wi("close",T);break;case"iframe":case"object":case"embed":wi("load",T);break;case"video":case"audio":for(F=0;F<Mh.length;F++)wi(Mh[F],T);break;case"source":wi("error",T);break;case"img":case"image":case"link":wi("error",T),wi("load",T);break;case"details":wi("toggle",T);break;case"input":_e(T,Z),wi("invalid",T);break;case"select":T._wrapperState={wasMultiple:!!Z.multiple},wi("invalid",T);break;case"textarea":Ne(T,Z),wi("invalid",T)}Yt(p,Z),F=null;for(var ye in Z)if(Z.hasOwnProperty(ye)){var De=Z[ye];ye==="children"?typeof De=="string"?T.textContent!==De&&(Z.suppressHydrationWarning!==!0&&ag(T.textContent,De,u),F=["children",De]):typeof De=="number"&&T.textContent!==""+De&&(Z.suppressHydrationWarning!==!0&&ag(T.textContent,De,u),F=["children",""+De]):i.hasOwnProperty(ye)&&De!=null&&ye==="onScroll"&&wi("scroll",T)}switch(p){case"input":H(T),Ie(T,Z,!0);break;case"textarea":H(T),qe(T);break;case"select":case"option":break;default:typeof Z.onClick=="function"&&(T.onclick=og)}T=F,f.updateQueue=T,T!==null&&(f.flags|=4)}else{ye=F.nodeType===9?F:F.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=Ge(p)),u==="http://www.w3.org/1999/xhtml"?p==="script"?(u=ye.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof T.is=="string"?u=ye.createElement(p,{is:T.is}):(u=ye.createElement(p),p==="select"&&(ye=u,T.multiple?ye.multiple=!0:T.size&&(ye.size=T.size))):u=ye.createElementNS(u,p),u[du]=f,u[jh]=T,CL(u,f,!1,!1),f.stateNode=u;e:{switch(ye=Lt(p,T),p){case"dialog":wi("cancel",u),wi("close",u),F=T;break;case"iframe":case"object":case"embed":wi("load",u),F=T;break;case"video":case"audio":for(F=0;F<Mh.length;F++)wi(Mh[F],u);F=T;break;case"source":wi("error",u),F=T;break;case"img":case"image":case"link":wi("error",u),wi("load",u),F=T;break;case"details":wi("toggle",u),F=T;break;case"input":_e(u,T),F=we(u,T),wi("invalid",u);break;case"option":F=T;break;case"select":u._wrapperState={wasMultiple:!!T.multiple},F=U({},T,{value:void 0}),wi("invalid",u);break;case"textarea":Ne(u,T),F=Te(u,T),wi("invalid",u);break;default:F=T}Yt(p,F),De=F;for(Z in De)if(De.hasOwnProperty(Z)){var He=De[Z];Z==="style"?rt(u,He):Z==="dangerouslySetInnerHTML"?(He=He?He.__html:void 0,He!=null&&Wt(u,He)):Z==="children"?typeof He=="string"?(p!=="textarea"||He!=="")&&Je(u,He):typeof He=="number"&&Je(u,""+He):Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&Z!=="autoFocus"&&(i.hasOwnProperty(Z)?He!=null&&Z==="onScroll"&&wi("scroll",u):He!=null&&A(u,Z,He,ye))}switch(p){case"input":H(u),Ie(u,T,!1);break;case"textarea":H(u),qe(u);break;case"option":T.value!=null&&u.setAttribute("value",""+P(T.value));break;case"select":u.multiple=!!T.multiple,Z=T.value,Z!=null?be(u,!!T.multiple,Z,!1):T.defaultValue!=null&&be(u,!!T.multiple,T.defaultValue,!0);break;default:typeof F.onClick=="function"&&(u.onclick=og)}switch(p){case"button":case"input":case"select":case"textarea":T=!!T.autoFocus;break e;case"img":T=!0;break e;default:T=!1}}T&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return Ha(f),null;case 6:if(u&&f.stateNode!=null)OL(u,f,u.memoizedProps,T);else{if(typeof T!="string"&&f.stateNode===null)throw Error(r(166));if(p=xc(zh.current),xc(hu.current),qh(f)){if(T=f.stateNode,p=f.memoizedProps,T[du]=f,(Z=T.nodeValue!==p)&&(u=Jo,u!==null))switch(u.tag){case 3:ag(T.nodeValue,p,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&ag(T.nodeValue,p,(u.mode&1)!==0)}Z&&(f.flags|=4)}else T=(p.nodeType===9?p:p.ownerDocument).createTextNode(T),T[du]=f,f.stateNode=T}return Ha(f),null;case 13:if(bi(Mi),T=f.memoizedState,Oi&&xo!==null&&(f.mode&1)!==0&&(f.flags&128)===0){for(T=xo;T;)T=Fu(T.nextSibling);return od(),f.flags|=98560,f}if(T!==null&&T.dehydrated!==null){if(T=qh(f),u===null){if(!T)throw Error(r(318));if(T=f.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[du]=f}else od(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;return Ha(f),null}return zs!==null&&(ES(zs),zs=null),(f.flags&128)!==0?(f.lanes=p,f):(T=T!==null,p=!1,u===null?qh(f):p=u.memoizedState!==null,T!==p&&T&&(f.child.flags|=8192,(f.mode&1)!==0&&(u===null||(Mi.current&1)!==0?ca===0&&(ca=3):TS())),f.updateQueue!==null&&(f.flags|=4),Ha(f),null);case 4:return ud(),oS(u,f),u===null&&$h(f.stateNode.containerInfo),Ha(f),null;case 10:return M0(f.type._context),Ha(f),null;case 17:return Ro(f.type)&&ug(),Ha(f),null;case 19:if(bi(Mi),Z=f.memoizedState,Z===null)return Ha(f),null;if(T=(f.flags&128)!==0,ye=Z.rendering,ye===null)if(T)Xh(Z,!1);else{if(ca!==0||u!==null&&(u.flags&128)!==0)for(u=f.child;u!==null;){if(ye=_g(u),ye!==null){for(f.flags|=128,Xh(Z,!1),T=ye.updateQueue,T!==null&&(f.updateQueue=T,f.flags|=4),f.subtreeFlags=0,T=p,p=f.child;p!==null;)Z=p,u=T,Z.flags&=14680066,ye=Z.alternate,ye===null?(Z.childLanes=0,Z.lanes=u,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null):(Z.childLanes=ye.childLanes,Z.lanes=ye.lanes,Z.child=ye.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=ye.memoizedProps,Z.memoizedState=ye.memoizedState,Z.updateQueue=ye.updateQueue,Z.type=ye.type,u=ye.dependencies,Z.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),p=p.sibling;return vi(Mi,Mi.current&1|2),f.child}u=u.sibling}Z.tail!==null&&yt()>fd&&(f.flags|=128,T=!0,Xh(Z,!1),f.lanes=4194304)}else{if(!T)if(u=_g(ye),u!==null){if(f.flags|=128,T=!0,p=u.updateQueue,p!==null&&(f.updateQueue=p,f.flags|=4),Xh(Z,!0),Z.tail===null&&Z.tailMode==="hidden"&&!ye.alternate&&!Oi)return Ha(f),null}else 2*yt()-Z.renderingStartTime>fd&&p!==1073741824&&(f.flags|=128,T=!0,Xh(Z,!1),f.lanes=4194304);Z.isBackwards?(ye.sibling=f.child,f.child=ye):(p=Z.last,p!==null?p.sibling=ye:f.child=ye,Z.last=ye)}return Z.tail!==null?(f=Z.tail,Z.rendering=f,Z.tail=f.sibling,Z.renderingStartTime=yt(),f.sibling=null,p=Mi.current,vi(Mi,T?p&1|2:p&1),f):(Ha(f),null);case 22:case 23:return bS(),T=f.memoizedState!==null,u!==null&&u.memoizedState!==null!==T&&(f.flags|=8192),T&&(f.mode&1)!==0?(Zo&1073741824)!==0&&(Ha(f),f.subtreeFlags&6&&(f.flags|=8192)):Ha(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}var Yue=R.ReactCurrentOwner,Co=!1;function so(u,f,p,T){f.child=u===null?ZN(f,null,p,T):sd(f,u.child,p,T)}function IL(u,f,p,T,F){p=p.render;var Z=f.ref;return nd(f,F),T=J0(u,f,p,T,Z,F),p=Z0(),u!==null&&!Co?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~F,Hu(u,f,F)):(Oi&&p&&q0(f),f.flags|=1,so(u,f,T,F),f.child)}function PL(u,f,p,T,F){if(u===null){var Z=p.type;return typeof Z=="function"&&!RS(Z)&&Z.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(f.tag=15,f.type=Z,DL(u,f,Z,T,F)):(u=jg(p.type,null,T,f,f.mode,F),u.ref=f.ref,u.return=f,f.child=u)}if(Z=u.child,(u.lanes&F)===0){var ye=Z.memoizedProps;if(p=p.compare,p=p!==null?p:lr,p(ye,T)&&u.ref===f.ref)return Hu(u,f,F)}return f.flags|=1,u=Ll(Z,T),u.ref=f.ref,u.return=f,f.child=u}function DL(u,f,p,T,F){if(u!==null){var Z=u.memoizedProps;if(lr(Z,T)&&u.ref===f.ref)if(Co=!1,f.pendingProps=T=Z,(u.lanes&F)!==0)(u.flags&131072)!==0&&(Co=!0);else return f.lanes=u.lanes,Hu(u,f,F)}return sS(u,f,p,T,F)}function kL(u,f,p){var T=f.pendingProps,F=T.children,Z=u!==null?u.memoizedState:null;if(T.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},vi(cd,Zo),Zo|=p;else if((p&1073741824)!==0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},T=Z!==null?Z.baseLanes:p,vi(cd,Zo),Zo|=T;else return u=Z!==null?Z.baseLanes|p:p,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:u,cachePool:null,transitions:null},f.updateQueue=null,vi(cd,Zo),Zo|=u,null;else Z!==null?(T=Z.baseLanes|p,f.memoizedState=null):T=p,vi(cd,Zo),Zo|=T;return so(u,f,F,p),f.child}function NL(u,f){var p=f.ref;(u===null&&p!==null||u!==null&&u.ref!==p)&&(f.flags|=512,f.flags|=2097152)}function sS(u,f,p,T,F){var Z=Ro(p)?bc:Va.current;return Z=td(f,Z),nd(f,F),p=J0(u,f,p,T,Z,F),T=Z0(),u!==null&&!Co?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~F,Hu(u,f,F)):(Oi&&T&&q0(f),f.flags|=1,so(u,f,p,F),f.child)}function LL(u,f,p,T,F){if(Ro(p)){var Z=!0;lg(f)}else Z=!1;if(nd(f,F),f.stateNode===null)u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),zN(f,p,T),U0(f,p,T,F),T=!0;else if(u===null){var ye=f.stateNode,De=f.memoizedProps;ye.props=De;var He=ye.context,mt=p.contextType;typeof mt=="object"&&mt!==null?mt=Ss(mt):(mt=Ro(p)?bc:Va.current,mt=td(f,mt));var $t=p.getDerivedStateFromProps,ar=typeof $t=="function"||typeof ye.getSnapshotBeforeUpdate=="function";ar||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==T||He!==mt)&&WN(f,ye,T,mt),Al=!1;var Pt=f.memoizedState;ye.state=Pt,vg(f,T,ye,F),He=f.memoizedState,De!==T||Pt!==He||To.current||Al?(typeof $t=="function"&&(j0(f,p,$t,T),He=f.memoizedState),(De=Al||HN(f,p,De,T,Pt,He,mt))?(ar||typeof ye.UNSAFE_componentWillMount!="function"&&typeof ye.componentWillMount!="function"||(typeof ye.componentWillMount=="function"&&ye.componentWillMount(),typeof ye.UNSAFE_componentWillMount=="function"&&ye.UNSAFE_componentWillMount()),typeof ye.componentDidMount=="function"&&(f.flags|=4194308)):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=T,f.memoizedState=He),ye.props=T,ye.state=He,ye.context=mt,T=De):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),T=!1)}else{ye=f.stateNode,UN(u,f),De=f.memoizedProps,mt=f.type===f.elementType?De:Bs(f.type,De),ye.props=mt,ar=f.pendingProps,Pt=ye.context,He=p.contextType,typeof He=="object"&&He!==null?He=Ss(He):(He=Ro(p)?bc:Va.current,He=td(f,He));var ur=p.getDerivedStateFromProps;($t=typeof ur=="function"||typeof ye.getSnapshotBeforeUpdate=="function")||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==ar||Pt!==He)&&WN(f,ye,T,He),Al=!1,Pt=f.memoizedState,ye.state=Pt,vg(f,T,ye,F);var rr=f.memoizedState;De!==ar||Pt!==rr||To.current||Al?(typeof ur=="function"&&(j0(f,p,ur,T),rr=f.memoizedState),(mt=Al||HN(f,p,mt,T,Pt,rr,He)||!1)?($t||typeof ye.UNSAFE_componentWillUpdate!="function"&&typeof ye.componentWillUpdate!="function"||(typeof ye.componentWillUpdate=="function"&&ye.componentWillUpdate(T,rr,He),typeof ye.UNSAFE_componentWillUpdate=="function"&&ye.UNSAFE_componentWillUpdate(T,rr,He)),typeof ye.componentDidUpdate=="function"&&(f.flags|=4),typeof ye.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof ye.componentDidUpdate!="function"||De===u.memoizedProps&&Pt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===u.memoizedProps&&Pt===u.memoizedState||(f.flags|=1024),f.memoizedProps=T,f.memoizedState=rr),ye.props=T,ye.state=rr,ye.context=He,T=mt):(typeof ye.componentDidUpdate!="function"||De===u.memoizedProps&&Pt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===u.memoizedProps&&Pt===u.memoizedState||(f.flags|=1024),T=!1)}return uS(u,f,p,T,Z,F)}function uS(u,f,p,T,F,Z){NL(u,f);var ye=(f.flags&128)!==0;if(!T&&!ye)return F&&FN(f,p,!1),Hu(u,f,Z);T=f.stateNode,Yue.current=f;var De=ye&&typeof p.getDerivedStateFromError!="function"?null:T.render();return f.flags|=1,u!==null&&ye?(f.child=sd(f,u.child,null,Z),f.child=sd(f,null,De,Z)):so(u,f,De,Z),f.memoizedState=T.state,F&&FN(f,p,!0),f.child}function ML(u){var f=u.stateNode;f.pendingContext?MN(u,f.pendingContext,f.pendingContext!==f.context):f.context&&MN(u,f.context,!1),W0(u,f.containerInfo)}function $L(u,f,p,T,F){return od(),z0(F),f.flags|=256,so(u,f,p,T),f.child}var Rg={dehydrated:null,treeContext:null,retryLane:0};function xg(u){return{baseLanes:u,cachePool:null,transitions:null}}function FL(u,f){return{baseLanes:u.baseLanes|f,cachePool:null,transitions:u.transitions}}function jL(u,f,p){var T=f.pendingProps,F=Mi.current,Z=!1,ye=(f.flags&128)!==0,De;if((De=ye)||(De=u!==null&&u.memoizedState===null?!1:(F&2)!==0),De?(Z=!0,f.flags&=-129):(u===null||u.memoizedState!==null)&&(F|=1),vi(Mi,F&1),u===null)return H0(f),u=f.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?((f.mode&1)===0?f.lanes=1:u.data==="$!"?f.lanes=8:f.lanes=1073741824,null):(F=T.children,u=T.fallback,Z?(T=f.mode,Z=f.child,F={mode:"hidden",children:F},(T&1)===0&&Z!==null?(Z.childLanes=0,Z.pendingProps=F):Z=Ug(F,T,0,null),u=Dc(u,T,p,null),Z.return=f,u.return=f,Z.sibling=u,f.child=Z,f.child.memoizedState=xg(p),f.memoizedState=Rg,u):lS(f,F));if(F=u.memoizedState,F!==null){if(De=F.dehydrated,De!==null){if(ye)return f.flags&256?(f.flags&=-257,Cg(u,f,p,Error(r(422)))):f.memoizedState!==null?(f.child=u.child,f.flags|=128,null):(Z=T.fallback,F=f.mode,T=Ug({mode:"visible",children:T.children},F,0,null),Z=Dc(Z,F,p,null),Z.flags|=2,T.return=f,Z.return=f,T.sibling=Z,f.child=T,(f.mode&1)!==0&&sd(f,u.child,null,p),f.child.memoizedState=xg(p),f.memoizedState=Rg,Z);if((f.mode&1)===0)f=Cg(u,f,p,null);else if(De.data==="$!")f=Cg(u,f,p,Error(r(419)));else if(T=(p&u.childLanes)!==0,Co||T){if(T=la,T!==null){switch(p&-p){case 4:Z=2;break;case 16:Z=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:Z=32;break;case 536870912:Z=268435456;break;default:Z=0}T=(Z&(T.suspendedLanes|p))!==0?0:Z,T!==0&&T!==F.retryLane&&(F.retryLane=T,Rs(u,T,-1))}TS(),f=Cg(u,f,p,Error(r(421)))}else De.data==="$?"?(f.flags|=128,f.child=u.child,f=ole.bind(null,u),De._reactRetry=f,f=null):(p=F.treeContext,xo=Fu(De.nextSibling),Jo=f,Oi=!0,zs=null,p!==null&&(Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=Tc,Vu=p.id,Bu=p.overflow,Tc=f),f=lS(f,f.pendingProps.children),f.flags|=4096);return f}return Z?(T=qL(u,f,T.children,T.fallback,p),Z=f.child,F=u.child.memoizedState,Z.memoizedState=F===null?xg(p):FL(F,p),Z.childLanes=u.childLanes&~p,f.memoizedState=Rg,T):(p=UL(u,f,T.children,p),f.memoizedState=null,p)}return Z?(T=qL(u,f,T.children,T.fallback,p),Z=f.child,F=u.child.memoizedState,Z.memoizedState=F===null?xg(p):FL(F,p),Z.childLanes=u.childLanes&~p,f.memoizedState=Rg,T):(p=UL(u,f,T.children,p),f.memoizedState=null,p)}function lS(u,f){return f=Ug({mode:"visible",children:f},u.mode,0,null),f.return=u,u.child=f}function UL(u,f,p,T){var F=u.child;return u=F.sibling,p=Ll(F,{mode:"visible",children:p}),(f.mode&1)===0&&(p.lanes=T),p.return=f,p.sibling=null,u!==null&&(T=f.deletions,T===null?(f.deletions=[u],f.flags|=16):T.push(u)),f.child=p}function qL(u,f,p,T,F){var Z=f.mode;u=u.child;var ye=u.sibling,De={mode:"hidden",children:p};return(Z&1)===0&&f.child!==u?(p=f.child,p.childLanes=0,p.pendingProps=De,f.deletions=null):(p=Ll(u,De),p.subtreeFlags=u.subtreeFlags&14680064),ye!==null?T=Ll(ye,T):(T=Dc(T,Z,F,null),T.flags|=2),T.return=f,p.return=f,p.sibling=T,f.child=p,T}function Cg(u,f,p,T){return T!==null&&z0(T),sd(f,u.child,null,p),u=lS(f,f.pendingProps.children),u.flags|=2,f.memoizedState=null,u}function VL(u,f,p){u.lanes|=f;var T=u.alternate;T!==null&&(T.lanes|=f),$0(u.return,f,p)}function cS(u,f,p,T,F){var Z=u.memoizedState;Z===null?u.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:T,tail:p,tailMode:F}:(Z.isBackwards=f,Z.rendering=null,Z.renderingStartTime=0,Z.last=T,Z.tail=p,Z.tailMode=F)}function BL(u,f,p){var T=f.pendingProps,F=T.revealOrder,Z=T.tail;if(so(u,f,T.children,p),T=Mi.current,(T&2)!==0)T=T&1|2,f.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=f.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&VL(u,p,f);else if(u.tag===19)VL(u,p,f);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===f)break e;for(;u.sibling===null;){if(u.return===null||u.return===f)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}T&=1}if(vi(Mi,T),(f.mode&1)===0)f.memoizedState=null;else switch(F){case"forwards":for(p=f.child,F=null;p!==null;)u=p.alternate,u!==null&&_g(u)===null&&(F=p),p=p.sibling;p=F,p===null?(F=f.child,f.child=null):(F=p.sibling,p.sibling=null),cS(f,!1,F,p,Z);break;case"backwards":for(p=null,F=f.child,f.child=null;F!==null;){if(u=F.alternate,u!==null&&_g(u)===null){f.child=F;break}u=F.sibling,F.sibling=p,p=F,F=u}cS(f,!0,p,null,Z);break;case"together":cS(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function Hu(u,f,p){if(u!==null&&(f.dependencies=u.dependencies),Ac|=f.lanes,(p&f.childLanes)===0)return null;if(u!==null&&f.child!==u.child)throw Error(r(153));if(f.child!==null){for(u=f.child,p=Ll(u,u.pendingProps),f.child=p,p.return=f;u.sibling!==null;)u=u.sibling,p=p.sibling=Ll(u,u.pendingProps),p.return=f;p.sibling=null}return f.child}function Kue(u,f,p){switch(f.tag){case 3:ML(f),od();break;case 5:eL(f);break;case 1:Ro(f.type)&&lg(f);break;case 4:W0(f,f.stateNode.containerInfo);break;case 10:var T=f.type._context,F=f.memoizedProps.value;vi(fg,T._currentValue),T._currentValue=F;break;case 13:if(T=f.memoizedState,T!==null)return T.dehydrated!==null?(vi(Mi,Mi.current&1),f.flags|=128,null):(p&f.child.childLanes)!==0?jL(u,f,p):(vi(Mi,Mi.current&1),u=Hu(u,f,p),u!==null?u.sibling:null);vi(Mi,Mi.current&1);break;case 19:if(T=(p&f.childLanes)!==0,(u.flags&128)!==0){if(T)return BL(u,f,p);f.flags|=128}if(F=f.memoizedState,F!==null&&(F.rendering=null,F.tail=null,F.lastEffect=null),vi(Mi,Mi.current),T)break;return null;case 22:case 23:return f.lanes=0,kL(u,f,p)}return Hu(u,f,p)}function Xue(u,f){switch(V0(f),f.tag){case 1:return Ro(f.type)&&ug(),u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 3:return ud(),bi(To),bi(Va),K0(),u=f.flags,(u&65536)!==0&&(u&128)===0?(f.flags=u&-65537|128,f):null;case 5:return G0(f),null;case 13:if(bi(Mi),u=f.memoizedState,u!==null&&u.dehydrated!==null){if(f.alternate===null)throw Error(r(340));od()}return u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 19:return bi(Mi),null;case 4:return ud(),null;case 10:return M0(f.type._context),null;case 22:case 23:return bS(),null;case 24:return null;default:return null}}var Ag=!1,za=!1,Que=typeof WeakSet=="function"?WeakSet:Set,cr=null;function ld(u,f){var p=u.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(T){Hi(u,f,T)}else p.current=null}function fS(u,f,p){try{p()}catch(T){Hi(u,f,T)}}var HL=!1;function Jue(u,f){if(x0=pa,u=Br(),rn(u)){if("selectionStart"in u)var p={start:u.selectionStart,end:u.selectionEnd};else e:{p=(p=u.ownerDocument)&&p.defaultView||window;var T=p.getSelection&&p.getSelection();if(T&&T.rangeCount!==0){p=T.anchorNode;var F=T.anchorOffset,Z=T.focusNode;T=T.focusOffset;try{p.nodeType,Z.nodeType}catch{p=null;break e}var ye=0,De=-1,He=-1,mt=0,$t=0,ar=u,Pt=null;t:for(;;){for(var ur;ar!==p||F!==0&&ar.nodeType!==3||(De=ye+F),ar!==Z||T!==0&&ar.nodeType!==3||(He=ye+T),ar.nodeType===3&&(ye+=ar.nodeValue.length),(ur=ar.firstChild)!==null;)Pt=ar,ar=ur;for(;;){if(ar===u)break t;if(Pt===p&&++mt===F&&(De=ye),Pt===Z&&++$t===T&&(He=ye),(ur=ar.nextSibling)!==null)break;ar=Pt,Pt=ar.parentNode}ar=ur}p=De===-1||He===-1?null:{start:De,end:He}}else p=null}p=p||{start:0,end:0}}else p=null;for(C0={focusedElem:u,selectionRange:p},pa=!1,cr=f;cr!==null;)if(f=cr,u=f.child,(f.subtreeFlags&1028)!==0&&u!==null)u.return=f,cr=u;else for(;cr!==null;){f=cr;try{var rr=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(rr!==null){var Jr=rr.memoizedProps,Ki=rr.memoizedState,lt=f.stateNode,Xe=lt.getSnapshotBeforeUpdate(f.elementType===f.type?Jr:Bs(f.type,Jr),Ki);lt.__reactInternalSnapshotBeforeUpdate=Xe}break;case 3:var pt=f.stateNode.containerInfo;if(pt.nodeType===1)pt.textContent="";else if(pt.nodeType===9){var Qt=pt.body;Qt!=null&&(Qt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(hr){Hi(f,f.return,hr)}if(u=f.sibling,u!==null){u.return=f.return,cr=u;break}cr=f.return}return rr=HL,HL=!1,rr}function Qh(u,f,p){var T=f.updateQueue;if(T=T!==null?T.lastEffect:null,T!==null){var F=T=T.next;do{if((F.tag&u)===u){var Z=F.destroy;F.destroy=void 0,Z!==void 0&&fS(f,p,Z)}F=F.next}while(F!==T)}}function Og(u,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var p=f=f.next;do{if((p.tag&u)===u){var T=p.create;p.destroy=T()}p=p.next}while(p!==f)}}function dS(u){var f=u.ref;if(f!==null){var p=u.stateNode;switch(u.tag){case 5:u=p;break;default:u=p}typeof f=="function"?f(u):f.current=u}}function zL(u){var f=u.alternate;f!==null&&(u.alternate=null,zL(f)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(f=u.stateNode,f!==null&&(delete f[du],delete f[jh],delete f[P0],delete f[Lue],delete f[Mue])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function WL(u){return u.tag===5||u.tag===3||u.tag===4}function GL(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||WL(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function hS(u,f,p){var T=u.tag;if(T===5||T===6)u=u.stateNode,f?p.nodeType===8?p.parentNode.insertBefore(u,f):p.insertBefore(u,f):(p.nodeType===8?(f=p.parentNode,f.insertBefore(u,p)):(f=p,f.appendChild(u)),p=p._reactRootContainer,p!=null||f.onclick!==null||(f.onclick=og));else if(T!==4&&(u=u.child,u!==null))for(hS(u,f,p),u=u.sibling;u!==null;)hS(u,f,p),u=u.sibling}function vS(u,f,p){var T=u.tag;if(T===5||T===6)u=u.stateNode,f?p.insertBefore(u,f):p.appendChild(u);else if(T!==4&&(u=u.child,u!==null))for(vS(u,f,p),u=u.sibling;u!==null;)vS(u,f,p),u=u.sibling}var Ra=null,Ws=!1;function Il(u,f,p){for(p=p.child;p!==null;)YL(u,f,p),p=p.sibling}function YL(u,f,p){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(kt,p)}catch{}switch(p.tag){case 5:za||ld(p,f);case 6:var T=Ra,F=Ws;Ra=null,Il(u,f,p),Ra=T,Ws=F,Ra!==null&&(Ws?(u=Ra,p=p.stateNode,u.nodeType===8?u.parentNode.removeChild(p):u.removeChild(p)):Ra.removeChild(p.stateNode));break;case 18:Ra!==null&&(Ws?(u=Ra,p=p.stateNode,u.nodeType===8?I0(u.parentNode,p):u.nodeType===1&&I0(u,p),_o(u)):I0(Ra,p.stateNode));break;case 4:T=Ra,F=Ws,Ra=p.stateNode.containerInfo,Ws=!0,Il(u,f,p),Ra=T,Ws=F;break;case 0:case 11:case 14:case 15:if(!za&&(T=p.updateQueue,T!==null&&(T=T.lastEffect,T!==null))){F=T=T.next;do{var Z=F,ye=Z.destroy;Z=Z.tag,ye!==void 0&&((Z&2)!==0||(Z&4)!==0)&&fS(p,f,ye),F=F.next}while(F!==T)}Il(u,f,p);break;case 1:if(!za&&(ld(p,f),T=p.stateNode,typeof T.componentWillUnmount=="function"))try{T.props=p.memoizedProps,T.state=p.memoizedState,T.componentWillUnmount()}catch(De){Hi(p,f,De)}Il(u,f,p);break;case 21:Il(u,f,p);break;case 22:p.mode&1?(za=(T=za)||p.memoizedState!==null,Il(u,f,p),za=T):Il(u,f,p);break;default:Il(u,f,p)}}function KL(u){var f=u.updateQueue;if(f!==null){u.updateQueue=null;var p=u.stateNode;p===null&&(p=u.stateNode=new Que),f.forEach(function(T){var F=sle.bind(null,u,T);p.has(T)||(p.add(T),T.then(F,F))})}}function Gs(u,f){var p=f.deletions;if(p!==null)for(var T=0;T<p.length;T++){var F=p[T];try{var Z=u,ye=f,De=ye;e:for(;De!==null;){switch(De.tag){case 5:Ra=De.stateNode,Ws=!1;break e;case 3:Ra=De.stateNode.containerInfo,Ws=!0;break e;case 4:Ra=De.stateNode.containerInfo,Ws=!0;break e}De=De.return}if(Ra===null)throw Error(r(160));YL(Z,ye,F),Ra=null,Ws=!1;var He=F.alternate;He!==null&&(He.return=null),F.return=null}catch(mt){Hi(F,f,mt)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)XL(f,u),f=f.sibling}function XL(u,f){var p=u.alternate,T=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(Gs(f,u),pu(u),T&4){try{Qh(3,u,u.return),Og(3,u)}catch(rr){Hi(u,u.return,rr)}try{Qh(5,u,u.return)}catch(rr){Hi(u,u.return,rr)}}break;case 1:Gs(f,u),pu(u),T&512&&p!==null&&ld(p,p.return);break;case 5:if(Gs(f,u),pu(u),T&512&&p!==null&&ld(p,p.return),u.flags&32){var F=u.stateNode;try{Je(F,"")}catch(rr){Hi(u,u.return,rr)}}if(T&4&&(F=u.stateNode,F!=null)){var Z=u.memoizedProps,ye=p!==null?p.memoizedProps:Z,De=u.type,He=u.updateQueue;if(u.updateQueue=null,He!==null)try{De==="input"&&Z.type==="radio"&&Z.name!=null&&Oe(F,Z),Lt(De,ye);var mt=Lt(De,Z);for(ye=0;ye<He.length;ye+=2){var $t=He[ye],ar=He[ye+1];$t==="style"?rt(F,ar):$t==="dangerouslySetInnerHTML"?Wt(F,ar):$t==="children"?Je(F,ar):A(F,$t,ar,mt)}switch(De){case"input":Re(F,Z);break;case"textarea":Ve(F,Z);break;case"select":var Pt=F._wrapperState.wasMultiple;F._wrapperState.wasMultiple=!!Z.multiple;var ur=Z.value;ur!=null?be(F,!!Z.multiple,ur,!1):Pt!==!!Z.multiple&&(Z.defaultValue!=null?be(F,!!Z.multiple,Z.defaultValue,!0):be(F,!!Z.multiple,Z.multiple?[]:"",!1))}F[jh]=Z}catch(rr){Hi(u,u.return,rr)}}break;case 6:if(Gs(f,u),pu(u),T&4){if(u.stateNode===null)throw Error(r(162));mt=u.stateNode,$t=u.memoizedProps;try{mt.nodeValue=$t}catch(rr){Hi(u,u.return,rr)}}break;case 3:if(Gs(f,u),pu(u),T&4&&p!==null&&p.memoizedState.isDehydrated)try{_o(f.containerInfo)}catch(rr){Hi(u,u.return,rr)}break;case 4:Gs(f,u),pu(u);break;case 13:Gs(f,u),pu(u),mt=u.child,mt.flags&8192&&mt.memoizedState!==null&&(mt.alternate===null||mt.alternate.memoizedState===null)&&(mS=yt()),T&4&&KL(u);break;case 22:if(mt=p!==null&&p.memoizedState!==null,u.mode&1?(za=($t=za)||mt,Gs(f,u),za=$t):Gs(f,u),pu(u),T&8192){$t=u.memoizedState!==null;e:for(ar=null,Pt=u;;){if(Pt.tag===5){if(ar===null){ar=Pt;try{F=Pt.stateNode,$t?(Z=F.style,typeof Z.setProperty=="function"?Z.setProperty("display","none","important"):Z.display="none"):(De=Pt.stateNode,He=Pt.memoizedProps.style,ye=He!=null&&He.hasOwnProperty("display")?He.display:null,De.style.display=st("display",ye))}catch(rr){Hi(u,u.return,rr)}}}else if(Pt.tag===6){if(ar===null)try{Pt.stateNode.nodeValue=$t?"":Pt.memoizedProps}catch(rr){Hi(u,u.return,rr)}}else if((Pt.tag!==22&&Pt.tag!==23||Pt.memoizedState===null||Pt===u)&&Pt.child!==null){Pt.child.return=Pt,Pt=Pt.child;continue}if(Pt===u)break e;for(;Pt.sibling===null;){if(Pt.return===null||Pt.return===u)break e;ar===Pt&&(ar=null),Pt=Pt.return}ar===Pt&&(ar=null),Pt.sibling.return=Pt.return,Pt=Pt.sibling}if($t&&!mt&&(u.mode&1)!==0)for(cr=u,u=u.child;u!==null;){for(mt=cr=u;cr!==null;){switch($t=cr,ar=$t.child,$t.tag){case 0:case 11:case 14:case 15:Qh(4,$t,$t.return);break;case 1:if(ld($t,$t.return),Z=$t.stateNode,typeof Z.componentWillUnmount=="function"){Pt=$t,ur=$t.return;try{F=Pt,Z.props=F.memoizedProps,Z.state=F.memoizedState,Z.componentWillUnmount()}catch(rr){Hi(Pt,ur,rr)}}break;case 5:ld($t,$t.return);break;case 22:if($t.memoizedState!==null){ZL(mt);continue}}ar!==null?(ar.return=$t,cr=ar):ZL(mt)}u=u.sibling}}break;case 19:Gs(f,u),pu(u),T&4&&KL(u);break;case 21:break;default:Gs(f,u),pu(u)}}function pu(u){var f=u.flags;if(f&2){try{e:{for(var p=u.return;p!==null;){if(WL(p)){var T=p;break e}p=p.return}throw Error(r(160))}switch(T.tag){case 5:var F=T.stateNode;T.flags&32&&(Je(F,""),T.flags&=-33);var Z=GL(u);vS(u,Z,F);break;case 3:case 4:var ye=T.stateNode.containerInfo,De=GL(u);hS(u,De,ye);break;default:throw Error(r(161))}}catch(He){Hi(u,u.return,He)}u.flags&=-3}f&4096&&(u.flags&=-4097)}function Zue(u,f,p){cr=u,QL(u)}function QL(u,f,p){for(var T=(u.mode&1)!==0;cr!==null;){var F=cr,Z=F.child;if(F.tag===22&&T){var ye=F.memoizedState!==null||Ag;if(!ye){var De=F.alternate,He=De!==null&&De.memoizedState!==null||za;De=Ag;var mt=za;if(Ag=ye,(za=He)&&!mt)for(cr=F;cr!==null;)ye=cr,He=ye.child,ye.tag===22&&ye.memoizedState!==null?eM(F):He!==null?(He.return=ye,cr=He):eM(F);for(;Z!==null;)cr=Z,QL(Z),Z=Z.sibling;cr=F,Ag=De,za=mt}JL(u)}else(F.subtreeFlags&8772)!==0&&Z!==null?(Z.return=F,cr=Z):JL(u)}}function JL(u){for(;cr!==null;){var f=cr;if((f.flags&8772)!==0){var p=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:za||Og(5,f);break;case 1:var T=f.stateNode;if(f.flags&4&&!za)if(p===null)T.componentDidMount();else{var F=f.elementType===f.type?p.memoizedProps:Bs(f.type,p.memoizedProps);T.componentDidUpdate(F,p.memoizedState,T.__reactInternalSnapshotBeforeUpdate)}var Z=f.updateQueue;Z!==null&&VN(f,Z,T);break;case 3:var ye=f.updateQueue;if(ye!==null){if(p=null,f.child!==null)switch(f.child.tag){case 5:p=f.child.stateNode;break;case 1:p=f.child.stateNode}VN(f,ye,p)}break;case 5:var De=f.stateNode;if(p===null&&f.flags&4){p=De;var He=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":He.autoFocus&&p.focus();break;case"img":He.src&&(p.src=He.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var mt=f.alternate;if(mt!==null){var $t=mt.memoizedState;if($t!==null){var ar=$t.dehydrated;ar!==null&&_o(ar)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}za||f.flags&512&&dS(f)}catch(Pt){Hi(f,f.return,Pt)}}if(f===u){cr=null;break}if(p=f.sibling,p!==null){p.return=f.return,cr=p;break}cr=f.return}}function ZL(u){for(;cr!==null;){var f=cr;if(f===u){cr=null;break}var p=f.sibling;if(p!==null){p.return=f.return,cr=p;break}cr=f.return}}function eM(u){for(;cr!==null;){var f=cr;try{switch(f.tag){case 0:case 11:case 15:var p=f.return;try{Og(4,f)}catch(He){Hi(f,p,He)}break;case 1:var T=f.stateNode;if(typeof T.componentDidMount=="function"){var F=f.return;try{T.componentDidMount()}catch(He){Hi(f,F,He)}}var Z=f.return;try{dS(f)}catch(He){Hi(f,Z,He)}break;case 5:var ye=f.return;try{dS(f)}catch(He){Hi(f,ye,He)}}}catch(He){Hi(f,f.return,He)}if(f===u){cr=null;break}var De=f.sibling;if(De!==null){De.return=f.return,cr=De;break}cr=f.return}}var ele=Math.ceil,Ig=R.ReactCurrentDispatcher,pS=R.ReactCurrentOwner,Ts=R.ReactCurrentBatchConfig,Rn=0,la=null,na=null,xa=0,Zo=0,cd=Rl(0),ca=0,Jh=null,Ac=0,Pg=0,gS=0,Zh=null,Ao=null,mS=0,fd=1/0,zu=null,Dg=!1,yS=null,Pl=null,kg=!1,Dl=null,Ng=0,ev=0,_S=null,Lg=-1,Mg=0;function uo(){return(Rn&6)!==0?yt():Lg!==-1?Lg:Lg=yt()}function kl(u){return(u.mode&1)===0?1:(Rn&2)!==0&&xa!==0?xa&-xa:Fue.transition!==null?(Mg===0&&(Mg=je()),Mg):(u=Jt,u!==0||(u=window.event,u=u===void 0?16:Mu(u.type)),u)}function Rs(u,f,p){if(50<ev)throw ev=0,_S=null,Error(r(185));var T=$g(u,f);return T===null?null:(it(T,f,p),((Rn&2)===0||T!==la)&&(T===la&&((Rn&2)===0&&(Pg|=f),ca===4&&Nl(T,xa)),Oo(T,p),f===1&&Rn===0&&(u.mode&1)===0&&(fd=yt()+500,cg&&Cl())),T)}function $g(u,f){u.lanes|=f;var p=u.alternate;for(p!==null&&(p.lanes|=f),p=u,u=u.return;u!==null;)u.childLanes|=f,p=u.alternate,p!==null&&(p.childLanes|=f),p=u,u=u.return;return p.tag===3?p.stateNode:null}function tM(u){return(la!==null||Hs!==null)&&(u.mode&1)!==0&&(Rn&2)===0}function Oo(u,f){var p=u.callbackNode;se(u,f);var T=Ua(u,u===la?xa:0);if(T===0)p!==null&&nt(p),u.callbackNode=null,u.callbackPriority=0;else if(f=T&-T,u.callbackPriority!==f){if(p!=null&&nt(p),f===1)u.tag===0?$ue(nM.bind(null,u)):jN(nM.bind(null,u)),kue(function(){Rn===0&&Cl()}),p=null;else{switch(Er(T)){case 1:p=Xt;break;case 4:p=bt;break;case 16:p=Tr;break;case 536870912:p=Tn;break;default:p=Tr}p=fM(p,rM.bind(null,u))}u.callbackPriority=f,u.callbackNode=p}}function rM(u,f){if(Lg=-1,Mg=0,(Rn&6)!==0)throw Error(r(327));var p=u.callbackNode;if(dd()&&u.callbackNode!==p)return null;var T=Ua(u,u===la?xa:0);if(T===0)return null;if((T&30)!==0||(T&u.expiredLanes)!==0||f)f=Fg(u,T);else{f=T;var F=Rn;Rn|=2;var Z=aM();(la!==u||xa!==f)&&(zu=null,fd=yt()+500,Ic(u,f));do try{nle();break}catch(De){iM(u,De)}while(!0);L0(),Ig.current=Z,Rn=F,na!==null?f=0:(la=null,xa=0,f=ca)}if(f!==0){if(f===2&&(F=Ee(u),F!==0&&(T=F,f=SS(u,F))),f===1)throw p=Jh,Ic(u,0),Nl(u,T),Oo(u,yt()),p;if(f===6)Nl(u,T);else{if(F=u.current.alternate,(T&30)===0&&!tle(F)&&(f=Fg(u,T),f===2&&(Z=Ee(u),Z!==0&&(T=Z,f=SS(u,Z))),f===1))throw p=Jh,Ic(u,0),Nl(u,T),Oo(u,yt()),p;switch(u.finishedWork=F,u.finishedLanes=T,f){case 0:case 1:throw Error(r(345));case 2:Pc(u,Ao,zu);break;case 3:if(Nl(u,T),(T&130023424)===T&&(f=mS+500-yt(),10<f)){if(Ua(u,0)!==0)break;if(F=u.suspendedLanes,(F&T)!==T){uo(),u.pingedLanes|=u.suspendedLanes&F;break}u.timeoutHandle=O0(Pc.bind(null,u,Ao,zu),f);break}Pc(u,Ao,zu);break;case 4:if(Nl(u,T),(T&4194240)===T)break;for(f=u.eventTimes,F=-1;0<T;){var ye=31-Mn(T);Z=1<<ye,ye=f[ye],ye>F&&(F=ye),T&=~Z}if(T=F,T=yt()-T,T=(120>T?120:480>T?480:1080>T?1080:1920>T?1920:3e3>T?3e3:4320>T?4320:1960*ele(T/1960))-T,10<T){u.timeoutHandle=O0(Pc.bind(null,u,Ao,zu),T);break}Pc(u,Ao,zu);break;case 5:Pc(u,Ao,zu);break;default:throw Error(r(329))}}}return Oo(u,yt()),u.callbackNode===p?rM.bind(null,u):null}function SS(u,f){var p=Zh;return u.current.memoizedState.isDehydrated&&(Ic(u,f).flags|=256),u=Fg(u,f),u!==2&&(f=Ao,Ao=p,f!==null&&ES(f)),u}function ES(u){Ao===null?Ao=u:Ao.push.apply(Ao,u)}function tle(u){for(var f=u;;){if(f.flags&16384){var p=f.updateQueue;if(p!==null&&(p=p.stores,p!==null))for(var T=0;T<p.length;T++){var F=p[T],Z=F.getSnapshot;F=F.value;try{if(!tr(Z(),F))return!1}catch{return!1}}}if(p=f.child,f.subtreeFlags&16384&&p!==null)p.return=f,f=p;else{if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function Nl(u,f){for(f&=~gS,f&=~Pg,u.suspendedLanes|=f,u.pingedLanes&=~f,u=u.expirationTimes;0<f;){var p=31-Mn(f),T=1<<p;u[p]=-1,f&=~T}}function nM(u){if((Rn&6)!==0)throw Error(r(327));dd();var f=Ua(u,0);if((f&1)===0)return Oo(u,yt()),null;var p=Fg(u,f);if(u.tag!==0&&p===2){var T=Ee(u);T!==0&&(f=T,p=SS(u,T))}if(p===1)throw p=Jh,Ic(u,0),Nl(u,f),Oo(u,yt()),p;if(p===6)throw Error(r(345));return u.finishedWork=u.current.alternate,u.finishedLanes=f,Pc(u,Ao,zu),Oo(u,yt()),null}function wS(u,f){var p=Rn;Rn|=1;try{return u(f)}finally{Rn=p,Rn===0&&(fd=yt()+500,cg&&Cl())}}function Oc(u){Dl!==null&&Dl.tag===0&&(Rn&6)===0&&dd();var f=Rn;Rn|=1;var p=Ts.transition,T=Jt;try{if(Ts.transition=null,Jt=1,u)return u()}finally{Jt=T,Ts.transition=p,Rn=f,(Rn&6)===0&&Cl()}}function bS(){Zo=cd.current,bi(cd)}function Ic(u,f){u.finishedWork=null,u.finishedLanes=0;var p=u.timeoutHandle;if(p!==-1&&(u.timeoutHandle=-1,Due(p)),na!==null)for(p=na.return;p!==null;){var T=p;switch(V0(T),T.tag){case 1:T=T.type.childContextTypes,T!=null&&ug();break;case 3:ud(),bi(To),bi(Va),K0();break;case 5:G0(T);break;case 4:ud();break;case 13:bi(Mi);break;case 19:bi(Mi);break;case 10:M0(T.type._context);break;case 22:case 23:bS()}p=p.return}if(la=u,na=u=Ll(u.current,null),xa=Zo=f,ca=0,Jh=null,gS=Pg=Ac=0,Ao=Zh=null,Hs!==null){for(f=0;f<Hs.length;f++)if(p=Hs[f],T=p.interleaved,T!==null){p.interleaved=null;var F=T.next,Z=p.pending;if(Z!==null){var ye=Z.next;Z.next=F,T.next=ye}p.pending=T}Hs=null}return u}function iM(u,f){do{var p=na;try{if(L0(),Sg.current=Tg,Eg){for(var T=$i.memoizedState;T!==null;){var F=T.queue;F!==null&&(F.pending=null),T=T.next}Eg=!1}if(Cc=0,_a=ua=$i=null,Wh=!1,Gh=0,pS.current=null,p===null||p.return===null){ca=1,Jh=f,na=null;break}e:{var Z=u,ye=p.return,De=p,He=f;if(f=xa,De.flags|=32768,He!==null&&typeof He=="object"&&typeof He.then=="function"){var mt=He,$t=De,ar=$t.tag;if(($t.mode&1)===0&&(ar===0||ar===11||ar===15)){var Pt=$t.alternate;Pt?($t.updateQueue=Pt.updateQueue,$t.memoizedState=Pt.memoizedState,$t.lanes=Pt.lanes):($t.updateQueue=null,$t.memoizedState=null)}var ur=RL(ye);if(ur!==null){ur.flags&=-257,xL(ur,ye,De,Z,f),ur.mode&1&&TL(Z,mt,f),f=ur,He=mt;var rr=f.updateQueue;if(rr===null){var Jr=new Set;Jr.add(He),f.updateQueue=Jr}else rr.add(He);break e}else{if((f&1)===0){TL(Z,mt,f),TS();break e}He=Error(r(426))}}else if(Oi&&De.mode&1){var Ki=RL(ye);if(Ki!==null){(Ki.flags&65536)===0&&(Ki.flags|=256),xL(Ki,ye,De,Z,f),z0(He);break e}}Z=He,ca!==4&&(ca=2),Zh===null?Zh=[Z]:Zh.push(Z),He=iS(He,De),De=ye;do{switch(De.tag){case 3:De.flags|=65536,f&=-f,De.lanes|=f;var lt=wL(De,He,f);qN(De,lt);break e;case 1:Z=He;var Xe=De.type,pt=De.stateNode;if((De.flags&128)===0&&(typeof Xe.getDerivedStateFromError=="function"||pt!==null&&typeof pt.componentDidCatch=="function"&&(Pl===null||!Pl.has(pt)))){De.flags|=65536,f&=-f,De.lanes|=f;var Qt=bL(De,Z,f);qN(De,Qt);break e}}De=De.return}while(De!==null)}sM(p)}catch(hr){f=hr,na===p&&p!==null&&(na=p=p.return);continue}break}while(!0)}function aM(){var u=Ig.current;return Ig.current=Tg,u===null?Tg:u}function TS(){(ca===0||ca===3||ca===2)&&(ca=4),la===null||(Ac&268435455)===0&&(Pg&268435455)===0||Nl(la,xa)}function Fg(u,f){var p=Rn;Rn|=2;var T=aM();(la!==u||xa!==f)&&(zu=null,Ic(u,f));do try{rle();break}catch(F){iM(u,F)}while(!0);if(L0(),Rn=p,Ig.current=T,na!==null)throw Error(r(261));return la=null,xa=0,ca}function rle(){for(;na!==null;)oM(na)}function nle(){for(;na!==null&&!ze();)oM(na)}function oM(u){var f=cM(u.alternate,u,Zo);u.memoizedProps=u.pendingProps,f===null?sM(u):na=f,pS.current=null}function sM(u){var f=u;do{var p=f.alternate;if(u=f.return,(f.flags&32768)===0){if(p=Gue(p,f,Zo),p!==null){na=p;return}}else{if(p=Xue(p,f),p!==null){p.flags&=32767,na=p;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{ca=6,na=null;return}}if(f=f.sibling,f!==null){na=f;return}na=f=u}while(f!==null);ca===0&&(ca=5)}function Pc(u,f,p){var T=Jt,F=Ts.transition;try{Ts.transition=null,Jt=1,ile(u,f,p,T)}finally{Ts.transition=F,Jt=T}return null}function ile(u,f,p,T){do dd();while(Dl!==null);if((Rn&6)!==0)throw Error(r(327));p=u.finishedWork;var F=u.finishedLanes;if(p===null)return null;if(u.finishedWork=null,u.finishedLanes=0,p===u.current)throw Error(r(177));u.callbackNode=null,u.callbackPriority=0;var Z=p.lanes|p.childLanes;if(At(u,Z),u===la&&(na=la=null,xa=0),(p.subtreeFlags&2064)===0&&(p.flags&2064)===0||kg||(kg=!0,fM(Tr,function(){return dd(),null})),Z=(p.flags&15990)!==0,(p.subtreeFlags&15990)!==0||Z){Z=Ts.transition,Ts.transition=null;var ye=Jt;Jt=1;var De=Rn;Rn|=4,pS.current=null,Jue(u,p),XL(p,u),Cr(C0),pa=!!x0,C0=x0=null,u.current=p,Zue(p),Tt(),Rn=De,Jt=ye,Ts.transition=Z}else u.current=p;if(kg&&(kg=!1,Dl=u,Ng=F),Z=u.pendingLanes,Z===0&&(Pl=null),Wn(p.stateNode),Oo(u,yt()),f!==null)for(T=u.onRecoverableError,p=0;p<f.length;p++)T(f[p]);if(Dg)throw Dg=!1,u=yS,yS=null,u;return(Ng&1)!==0&&u.tag!==0&&dd(),Z=u.pendingLanes,(Z&1)!==0?u===_S?ev++:(ev=0,_S=u):ev=0,Cl(),null}function dd(){if(Dl!==null){var u=Er(Ng),f=Ts.transition,p=Jt;try{if(Ts.transition=null,Jt=16>u?16:u,Dl===null)var T=!1;else{if(u=Dl,Dl=null,Ng=0,(Rn&6)!==0)throw Error(r(331));var F=Rn;for(Rn|=4,cr=u.current;cr!==null;){var Z=cr,ye=Z.child;if((cr.flags&16)!==0){var De=Z.deletions;if(De!==null){for(var He=0;He<De.length;He++){var mt=De[He];for(cr=mt;cr!==null;){var $t=cr;switch($t.tag){case 0:case 11:case 15:Qh(8,$t,Z)}var ar=$t.child;if(ar!==null)ar.return=$t,cr=ar;else for(;cr!==null;){$t=cr;var Pt=$t.sibling,ur=$t.return;if(zL($t),$t===mt){cr=null;break}if(Pt!==null){Pt.return=ur,cr=Pt;break}cr=ur}}}var rr=Z.alternate;if(rr!==null){var Jr=rr.child;if(Jr!==null){rr.child=null;do{var Ki=Jr.sibling;Jr.sibling=null,Jr=Ki}while(Jr!==null)}}cr=Z}}if((Z.subtreeFlags&2064)!==0&&ye!==null)ye.return=Z,cr=ye;else e:for(;cr!==null;){if(Z=cr,(Z.flags&2048)!==0)switch(Z.tag){case 0:case 11:case 15:Qh(9,Z,Z.return)}var lt=Z.sibling;if(lt!==null){lt.return=Z.return,cr=lt;break e}cr=Z.return}}var Xe=u.current;for(cr=Xe;cr!==null;){ye=cr;var pt=ye.child;if((ye.subtreeFlags&2064)!==0&&pt!==null)pt.return=ye,cr=pt;else e:for(ye=Xe;cr!==null;){if(De=cr,(De.flags&2048)!==0)try{switch(De.tag){case 0:case 11:case 15:Og(9,De)}}catch(hr){Hi(De,De.return,hr)}if(De===ye){cr=null;break e}var Qt=De.sibling;if(Qt!==null){Qt.return=De.return,cr=Qt;break e}cr=De.return}}if(Rn=F,Cl(),Qr&&typeof Qr.onPostCommitFiberRoot=="function")try{Qr.onPostCommitFiberRoot(kt,u)}catch{}T=!0}return T}finally{Jt=p,Ts.transition=f}}return!1}function uM(u,f,p){f=iS(p,f),f=wL(u,f,1),Ol(u,f),f=uo(),u=$g(u,1),u!==null&&(it(u,1,f),Oo(u,f))}function Hi(u,f,p){if(u.tag===3)uM(u,u,p);else for(;f!==null;){if(f.tag===3){uM(f,u,p);break}else if(f.tag===1){var T=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&(Pl===null||!Pl.has(T))){u=iS(p,u),u=bL(f,u,1),Ol(f,u),u=uo(),f=$g(f,1),f!==null&&(it(f,1,u),Oo(f,u));break}}f=f.return}}function ale(u,f,p){var T=u.pingCache;T!==null&&T.delete(f),f=uo(),u.pingedLanes|=u.suspendedLanes&p,la===u&&(xa&p)===p&&(ca===4||ca===3&&(xa&130023424)===xa&&500>yt()-mS?Ic(u,0):gS|=p),Oo(u,f)}function lM(u,f){f===0&&((u.mode&1)===0?f=1:(f=zo,zo<<=1,(zo&130023424)===0&&(zo=4194304)));var p=uo();u=$g(u,f),u!==null&&(it(u,f,p),Oo(u,p))}function ole(u){var f=u.memoizedState,p=0;f!==null&&(p=f.retryLane),lM(u,p)}function sle(u,f){var p=0;switch(u.tag){case 13:var T=u.stateNode,F=u.memoizedState;F!==null&&(p=F.retryLane);break;case 19:T=u.stateNode;break;default:throw Error(r(314))}T!==null&&T.delete(f),lM(u,p)}var cM;cM=function(u,f,p){if(u!==null)if(u.memoizedProps!==f.pendingProps||To.current)Co=!0;else{if((u.lanes&p)===0&&(f.flags&128)===0)return Co=!1,Kue(u,f,p);Co=(u.flags&131072)!==0}else Co=!1,Oi&&(f.flags&1048576)!==0&&GN(f,mg,f.index);switch(f.lanes=0,f.tag){case 2:var T=f.type;u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps;var F=td(f,Va.current);nd(f,p),F=J0(null,f,T,u,F,p);var Z=Z0();return f.flags|=1,typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,Ro(T)?(Z=!0,lg(f)):Z=!1,f.memoizedState=F.state!==null&&F.state!==void 0?F.state:null,F0(f),F.updater=pg,f.stateNode=F,F._reactInternals=f,U0(f,T,u,p),f=uS(null,f,T,!0,Z,p)):(f.tag=0,Oi&&Z&&q0(f),so(null,f,F,p),f=f.child),f;case 16:T=f.elementType;e:{switch(u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps,F=T._init,T=F(T._payload),f.type=T,F=f.tag=lle(T),u=Bs(T,u),F){case 0:f=sS(null,f,T,u,p);break e;case 1:f=LL(null,f,T,u,p);break e;case 11:f=IL(null,f,T,u,p);break e;case 14:f=PL(null,f,T,Bs(T.type,u),p);break e}throw Error(r(306,T,""))}return f;case 0:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),sS(u,f,T,F,p);case 1:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),LL(u,f,T,F,p);case 3:e:{if(ML(f),u===null)throw Error(r(387));T=f.pendingProps,Z=f.memoizedState,F=Z.element,UN(u,f),vg(f,T,null,p);var ye=f.memoizedState;if(T=ye.element,Z.isDehydrated)if(Z={element:T,isDehydrated:!1,cache:ye.cache,pendingSuspenseBoundaries:ye.pendingSuspenseBoundaries,transitions:ye.transitions},f.updateQueue.baseState=Z,f.memoizedState=Z,f.flags&256){F=Error(r(423)),f=$L(u,f,T,p,F);break e}else if(T!==F){F=Error(r(424)),f=$L(u,f,T,p,F);break e}else for(xo=Fu(f.stateNode.containerInfo.firstChild),Jo=f,Oi=!0,zs=null,p=ZN(f,null,T,p),f.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(od(),T===F){f=Hu(u,f,p);break e}so(u,f,T,p)}f=f.child}return f;case 5:return eL(f),u===null&&H0(f),T=f.type,F=f.pendingProps,Z=u!==null?u.memoizedProps:null,ye=F.children,A0(T,F)?ye=null:Z!==null&&A0(T,Z)&&(f.flags|=32),NL(u,f),so(u,f,ye,p),f.child;case 6:return u===null&&H0(f),null;case 13:return jL(u,f,p);case 4:return W0(f,f.stateNode.containerInfo),T=f.pendingProps,u===null?f.child=sd(f,null,T,p):so(u,f,T,p),f.child;case 11:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),IL(u,f,T,F,p);case 7:return so(u,f,f.pendingProps,p),f.child;case 8:return so(u,f,f.pendingProps.children,p),f.child;case 12:return so(u,f,f.pendingProps.children,p),f.child;case 10:e:{if(T=f.type._context,F=f.pendingProps,Z=f.memoizedProps,ye=F.value,vi(fg,T._currentValue),T._currentValue=ye,Z!==null)if(tr(Z.value,ye)){if(Z.children===F.children&&!To.current){f=Hu(u,f,p);break e}}else for(Z=f.child,Z!==null&&(Z.return=f);Z!==null;){var De=Z.dependencies;if(De!==null){ye=Z.child;for(var He=De.firstContext;He!==null;){if(He.context===T){if(Z.tag===1){He=qu(-1,p&-p),He.tag=2;var mt=Z.updateQueue;if(mt!==null){mt=mt.shared;var $t=mt.pending;$t===null?He.next=He:(He.next=$t.next,$t.next=He),mt.pending=He}}Z.lanes|=p,He=Z.alternate,He!==null&&(He.lanes|=p),$0(Z.return,p,f),De.lanes|=p;break}He=He.next}}else if(Z.tag===10)ye=Z.type===f.type?null:Z.child;else if(Z.tag===18){if(ye=Z.return,ye===null)throw Error(r(341));ye.lanes|=p,De=ye.alternate,De!==null&&(De.lanes|=p),$0(ye,p,f),ye=Z.sibling}else ye=Z.child;if(ye!==null)ye.return=Z;else for(ye=Z;ye!==null;){if(ye===f){ye=null;break}if(Z=ye.sibling,Z!==null){Z.return=ye.return,ye=Z;break}ye=ye.return}Z=ye}so(u,f,F.children,p),f=f.child}return f;case 9:return F=f.type,T=f.pendingProps.children,nd(f,p),F=Ss(F),T=T(F),f.flags|=1,so(u,f,T,p),f.child;case 14:return T=f.type,F=Bs(T,f.pendingProps),F=Bs(T.type,F),PL(u,f,T,F,p);case 15:return DL(u,f,f.type,f.pendingProps,p);case 17:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,Ro(T)?(u=!0,lg(f)):u=!1,nd(f,p),zN(f,T,F),U0(f,T,F,p),uS(null,f,T,!0,u,p);case 19:return BL(u,f,p);case 22:return kL(u,f,p)}throw Error(r(156,f.tag))};function fM(u,f){return fe(u,f)}function ule(u,f,p,T){this.tag=u,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=T,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xs(u,f,p,T){return new ule(u,f,p,T)}function RS(u){return u=u.prototype,!(!u||!u.isReactComponent)}function lle(u){if(typeof u=="function")return RS(u)?1:0;if(u!=null){if(u=u.$$typeof,u===W)return 11;if(u===Q)return 14}return 2}function Ll(u,f){var p=u.alternate;return p===null?(p=xs(u.tag,f,u.key,u.mode),p.elementType=u.elementType,p.type=u.type,p.stateNode=u.stateNode,p.alternate=u,u.alternate=p):(p.pendingProps=f,p.type=u.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=u.flags&14680064,p.childLanes=u.childLanes,p.lanes=u.lanes,p.child=u.child,p.memoizedProps=u.memoizedProps,p.memoizedState=u.memoizedState,p.updateQueue=u.updateQueue,f=u.dependencies,p.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},p.sibling=u.sibling,p.index=u.index,p.ref=u.ref,p}function jg(u,f,p,T,F,Z){var ye=2;if(T=u,typeof u=="function")RS(u)&&(ye=1);else if(typeof u=="string")ye=5;else e:switch(u){case m:return Dc(p.children,F,Z,f);case D:ye=8,F|=8;break;case k:return u=xs(12,p,f,F|2),u.elementType=k,u.lanes=Z,u;case K:return u=xs(13,p,f,F),u.elementType=K,u.lanes=Z,u;case X:return u=xs(19,p,f,F),u.elementType=X,u.lanes=Z,u;case re:return Ug(p,F,Z,f);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case q:ye=10;break e;case j:ye=9;break e;case W:ye=11;break e;case Q:ye=14;break e;case J:ye=16,T=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return f=xs(ye,p,f,F),f.elementType=u,f.type=T,f.lanes=Z,f}function Dc(u,f,p,T){return u=xs(7,u,T,f),u.lanes=p,u}function Ug(u,f,p,T){return u=xs(22,u,T,f),u.elementType=re,u.lanes=p,u.stateNode={},u}function xS(u,f,p){return u=xs(6,u,null,f),u.lanes=p,u}function CS(u,f,p){return f=xs(4,u.children!==null?u.children:[],u.key,f),f.lanes=p,f.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},f}function cle(u,f,p,T,F){this.tag=f,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=T,this.onRecoverableError=F,this.mutableSourceEagerHydrationData=null}function AS(u,f,p,T,F,Z,ye,De,He){return u=new cle(u,f,p,De,He),f===1?(f=1,Z===!0&&(f|=8)):f=0,Z=xs(3,null,null,f),u.current=Z,Z.stateNode=u,Z.memoizedState={element:T,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},F0(Z),u}function fle(u,f,p){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:T==null?null:""+T,children:u,containerInfo:f,implementation:p}}function dM(u){if(!u)return xl;u=u._reactInternals;e:{if(Di(u)!==u||u.tag!==1)throw Error(r(170));var f=u;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(Ro(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(u.tag===1){var p=u.type;if(Ro(p))return $N(u,p,f)}return f}function hM(u,f,p,T,F,Z,ye,De,He){return u=AS(p,T,!0,u,F,Z,ye,De,He),u.context=dM(null),p=u.current,T=uo(),F=kl(p),Z=qu(T,F),Z.callback=f??null,Ol(p,Z),u.current.lanes=F,it(u,F,T),Oo(u,T),u}function qg(u,f,p,T){var F=f.current,Z=uo(),ye=kl(F);return p=dM(p),f.context===null?f.context=p:f.pendingContext=p,f=qu(Z,ye),f.payload={element:u},T=T===void 0?null:T,T!==null&&(f.callback=T),Ol(F,f),u=Rs(F,ye,Z),u!==null&&hg(u,F,ye),ye}function Vg(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function vM(u,f){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var p=u.retryLane;u.retryLane=p!==0&&p<f?p:f}}function OS(u,f){vM(u,f),(u=u.alternate)&&vM(u,f)}function dle(){return null}var pM=typeof reportError=="function"?reportError:function(u){console.error(u)};function IS(u){this._internalRoot=u}Bg.prototype.render=IS.prototype.render=function(u){var f=this._internalRoot;if(f===null)throw Error(r(409));qg(u,f,null,null)},Bg.prototype.unmount=IS.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var f=u.containerInfo;Oc(function(){qg(null,u,null,null)}),f[ju]=null}};function Bg(u){this._internalRoot=u}Bg.prototype.unstable_scheduleHydration=function(u){if(u){var f=Ni();u={blockedOn:null,target:u,priority:f};for(var p=0;p<va.length&&f!==0&&f<va[p].priority;p++);va.splice(p,0,u),p===0&&io(u)}};function PS(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function Hg(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function gM(){}function hle(u,f,p,T,F){if(F){if(typeof T=="function"){var Z=T;T=function(){var mt=Vg(ye);Z.call(mt)}}var ye=hM(f,T,u,0,null,!1,!1,"",gM);return u._reactRootContainer=ye,u[ju]=ye.current,$h(u.nodeType===8?u.parentNode:u),Oc(),ye}for(;F=u.lastChild;)u.removeChild(F);if(typeof T=="function"){var De=T;T=function(){var mt=Vg(He);De.call(mt)}}var He=AS(u,0,!1,null,null,!1,!1,"",gM);return u._reactRootContainer=He,u[ju]=He.current,$h(u.nodeType===8?u.parentNode:u),Oc(function(){qg(f,He,p,T)}),He}function zg(u,f,p,T,F){var Z=p._reactRootContainer;if(Z){var ye=Z;if(typeof F=="function"){var De=F;F=function(){var He=Vg(ye);De.call(He)}}qg(f,ye,u,F)}else ye=hle(p,f,u,F,T);return Vg(ye)}Ar=function(u){switch(u.tag){case 3:var f=u.stateNode;if(f.current.memoizedState.isDehydrated){var p=to(f.pendingLanes);p!==0&&(Bt(f,p|1),Oo(f,yt()),(Rn&6)===0&&(fd=yt()+500,Cl()))}break;case 13:var T=uo();Oc(function(){return Rs(u,1,T)}),OS(u,1)}},$n=function(u){if(u.tag===13){var f=uo();Rs(u,134217728,f),OS(u,134217728)}},ki=function(u){if(u.tag===13){var f=uo(),p=kl(u);Rs(u,p,f),OS(u,p)}},Ni=function(){return Jt},ms=function(u,f){var p=Jt;try{return Jt=u,f()}finally{Jt=p}},ut=function(u,f,p){switch(f){case"input":if(Re(u,p),f=p.name,p.type==="radio"&&f!=null){for(p=u;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<p.length;f++){var T=p[f];if(T!==u&&T.form===u.form){var F=sg(T);if(!F)throw Error(r(90));ne(T),Re(T,F)}}}break;case"textarea":Ve(u,p);break;case"select":f=p.value,f!=null&&be(u,!!p.multiple,f,!1)}},Sr=wS,jr=Oc;var vle={usingClientEntryPoint:!1,Events:[Uh,Zf,sg,mr,ir,wS]},tv={findFiberByHostInstance:wc,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},ple={bundleType:tv.bundleType,version:tv.version,rendererPackageName:tv.rendererPackageName,rendererConfig:tv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=gt(u),u===null?null:u.stateNode},findFiberByHostInstance:tv.findFiberByHostInstance||dle,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wg.isDisabled&&Wg.supportsFiber)try{kt=Wg.inject(ple),Qr=Wg}catch{}}return Io.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vle,Io.createPortal=function(u,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!PS(f))throw Error(r(200));return fle(u,f,null,p)},Io.createRoot=function(u,f){if(!PS(u))throw Error(r(299));var p=!1,T="",F=pM;return f!=null&&(f.unstable_strictMode===!0&&(p=!0),f.identifierPrefix!==void 0&&(T=f.identifierPrefix),f.onRecoverableError!==void 0&&(F=f.onRecoverableError)),f=AS(u,1,!1,null,null,p,!1,T,F),u[ju]=f.current,$h(u.nodeType===8?u.parentNode:u),new IS(f)},Io.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var f=u._reactInternals;if(f===void 0)throw typeof u.render=="function"?Error(r(188)):(u=Object.keys(u).join(","),Error(r(268,u)));return u=gt(f),u=u===null?null:u.stateNode,u},Io.flushSync=function(u){return Oc(u)},Io.hydrate=function(u,f,p){if(!Hg(f))throw Error(r(200));return zg(null,u,f,!0,p)},Io.hydrateRoot=function(u,f,p){if(!PS(u))throw Error(r(405));var T=p!=null&&p.hydratedSources||null,F=!1,Z="",ye=pM;if(p!=null&&(p.unstable_strictMode===!0&&(F=!0),p.identifierPrefix!==void 0&&(Z=p.identifierPrefix),p.onRecoverableError!==void 0&&(ye=p.onRecoverableError)),f=hM(f,null,u,1,p??null,F,!1,Z,ye),u[ju]=f.current,$h(u),T)for(u=0;u<T.length;u++)p=T[u],F=p._getVersion,F=F(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,F]:f.mutableSourceEagerHydrationData.push(p,F);return new Bg(f)},Io.render=function(u,f,p){if(!Hg(f))throw Error(r(200));return zg(null,u,f,!1,p)},Io.unmountComponentAtNode=function(u){if(!Hg(u))throw Error(r(40));return u._reactRootContainer?(Oc(function(){zg(null,null,u,!1,function(){u._reactRootContainer=null,u[ju]=null})}),!0):!1},Io.unstable_batchedUpdates=wS,Io.unstable_renderSubtreeIntoContainer=function(u,f,p,T){if(!Hg(p))throw Error(r(200));if(u==null||u._reactInternals===void 0)throw Error(r(38));return zg(u,f,p,!1,T)},Io.version="18.1.0-next-22edb9f77-20220426",Io}var vK;function Bie(){if(vK)return xC.exports;vK=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),xC.exports=abe(),xC.exports}var Hie=Bie();const Yc=Bn(Hie);function obe(e){e()}let zie=obe;const sbe=e=>zie=e,ube=()=>zie,ac=sr.createContext(null);function Wie(){return pe.useContext(ac)}const lbe=()=>{throw new Error("uSES not initialized!")};let Gie=lbe;const cbe=e=>{Gie=e},fbe=(e,t)=>e===t;function dbe(e=ac){const t=e===ac?Wie:()=>pe.useContext(e);return function(n,i=fbe){const{store:a,subscription:o,getServerState:s}=t(),l=Gie(o.addNestedSub,a.getState,s||a.getState,n,i);return pe.useDebugValue(l),l}}const X_=dbe();function Jv(){return Jv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jv.apply(null,arguments)}function Q_(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var OC={exports:{}},jn={};/** @license React v16.13.1
100
- * react-is.production.min.js
101
- *
102
- * Copyright (c) Facebook, Inc. and its affiliates.
103
- *
104
- * This source code is licensed under the MIT license found in the
105
- * LICENSE file in the root directory of this source tree.
106
- */var pK;function hbe(){if(pK)return jn;pK=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function A(C){if(typeof C=="object"&&C!==null){var O=C.$$typeof;switch(O){case t:switch(C=C.type,C){case l:case c:case n:case a:case i:case h:return C;default:switch(C=C&&C.$$typeof,C){case s:case d:case S:case g:case o:return C;default:return O}}case r:return O}}}function R(C){return A(C)===c}return jn.AsyncMode=l,jn.ConcurrentMode=c,jn.ContextConsumer=s,jn.ContextProvider=o,jn.Element=t,jn.ForwardRef=d,jn.Fragment=n,jn.Lazy=S,jn.Memo=g,jn.Portal=r,jn.Profiler=a,jn.StrictMode=i,jn.Suspense=h,jn.isAsyncMode=function(C){return R(C)||A(C)===l},jn.isConcurrentMode=R,jn.isContextConsumer=function(C){return A(C)===s},jn.isContextProvider=function(C){return A(C)===o},jn.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},jn.isForwardRef=function(C){return A(C)===d},jn.isFragment=function(C){return A(C)===n},jn.isLazy=function(C){return A(C)===S},jn.isMemo=function(C){return A(C)===g},jn.isPortal=function(C){return A(C)===r},jn.isProfiler=function(C){return A(C)===a},jn.isStrictMode=function(C){return A(C)===i},jn.isSuspense=function(C){return A(C)===h},jn.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===c||C===a||C===i||C===h||C===v||typeof C=="object"&&C!==null&&(C.$$typeof===S||C.$$typeof===g||C.$$typeof===o||C.$$typeof===s||C.$$typeof===d||C.$$typeof===y||C.$$typeof===w||C.$$typeof===b||C.$$typeof===E)},jn.typeOf=A,jn}var gK;function vbe(){return gK||(gK=1,OC.exports=hbe()),OC.exports}var IC,mK;function pbe(){if(mK)return IC;mK=1;var e=vbe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=i;function o(S){return e.isMemo(S)?i:a[S.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,v=Object.prototype;function g(S,E,y){if(typeof E!="string"){if(v){var w=h(E);w&&w!==v&&g(S,w,y)}var b=l(E);c&&(b=b.concat(c(E)));for(var A=o(S),R=o(E),C=0;C<b.length;++C){var O=b[C];if(!r[O]&&!(y&&y[O])&&!(R&&R[O])&&!(A&&A[O])){var m=d(E,O);try{s(S,O,m)}catch{}}}}return S}return IC=g,IC}var gbe=pbe();const mbe=Bn(gbe);var PC={exports:{}},Un={};/**
107
- * @license React
108
- * react-is.production.min.js
109
- *
110
- * Copyright (c) Facebook, Inc. and its affiliates.
111
- *
112
- * This source code is licensed under the MIT license found in the
113
- * LICENSE file in the root directory of this source tree.
114
- */var yK;function ybe(){if(yK)return Un;yK=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function E(y){if(typeof y=="object"&&y!==null){var w=y.$$typeof;switch(w){case e:switch(y=y.type,y){case r:case i:case n:case c:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case o:case l:case v:case h:case a:return y;default:return w}}case t:return w}}}return Un.ContextConsumer=o,Un.ContextProvider=a,Un.Element=e,Un.ForwardRef=l,Un.Fragment=r,Un.Lazy=v,Un.Memo=h,Un.Portal=t,Un.Profiler=i,Un.StrictMode=n,Un.Suspense=c,Un.SuspenseList=d,Un.isAsyncMode=function(){return!1},Un.isConcurrentMode=function(){return!1},Un.isContextConsumer=function(y){return E(y)===o},Un.isContextProvider=function(y){return E(y)===a},Un.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Un.isForwardRef=function(y){return E(y)===l},Un.isFragment=function(y){return E(y)===r},Un.isLazy=function(y){return E(y)===v},Un.isMemo=function(y){return E(y)===h},Un.isPortal=function(y){return E(y)===t},Un.isProfiler=function(y){return E(y)===i},Un.isStrictMode=function(y){return E(y)===n},Un.isSuspense=function(y){return E(y)===c},Un.isSuspenseList=function(y){return E(y)===d},Un.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===i||y===n||y===c||y===d||y===g||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===h||y.$$typeof===a||y.$$typeof===o||y.$$typeof===l||y.$$typeof===S||y.getModuleId!==void 0)},Un.typeOf=E,Un}var _K;function _be(){return _K||(_K=1,PC.exports=ybe()),PC.exports}_be();function Sbe(){const e=ube();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],i=t;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0,a=r={callback:n,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const SK={notify(){},get:()=>[]};function Ebe(e,t){let r,n=SK;function i(h){return l(),n.subscribe(h)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function s(){return!!r}function l(){r||(r=e.subscribe(o),n=Sbe())}function c(){r&&(r(),r=void 0,n.clear(),n=SK)}const d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:()=>n};return d}const wbe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bbe=wbe?pe.useLayoutEffect:pe.useEffect;function Yie({store:e,context:t,children:r,serverState:n}){const i=pe.useMemo(()=>{const s=Ebe(e);return{store:e,subscription:s,getServerState:n?()=>n:void 0}},[e,n]),a=pe.useMemo(()=>e.getState(),[e]);bbe(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),a!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,a]);const o=t||ac;return sr.createElement(o.Provider,{value:i},r)}function Kie(e=ac){const t=e===ac?Wie:()=>pe.useContext(e);return function(){const{store:n}=t();return n}}const Xie=Kie();function Tbe(e=ac){const t=e===ac?Xie:Kie(e);return function(){return t().dispatch}}const Lf=Tbe();cbe(rbe.useSyncExternalStoreWithSelector);sbe(Hie.unstable_batchedUpdates);var py="NOT_FOUND";function Rbe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:py},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function xbe(e,t){var r=[];function n(s){var l=r.findIndex(function(d){return t(s,d.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return py}function i(s,l){n(s)===py&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function a(){return r}function o(){r=[]}return{get:n,put:i,getEntries:a,clear:o}}var Cbe=function(t,r){return t===r};function Abe(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var i=r.length,a=0;a<i;a++)if(!e(r[a],n[a]))return!1;return!0}}function Obe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?Cbe:n,a=r.maxSize,o=a===void 0?1:a,s=r.resultEqualityCheck,l=Abe(i),c=o===1?Rbe(l):xbe(o,l);function d(){var h=c.get(arguments);if(h===py){if(h=e.apply(null,arguments),s){var v=c.getEntries(),g=v.find(function(S){return s(S.value,h)});g&&(h=g.value)}c.put(arguments,h)}return h}return d.clearCache=function(){return c.clear()},d}function Ibe(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function Pbe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var c=0,d,h={memoizeOptions:void 0},v=s.pop();if(typeof v=="object"&&(h=v,v=s.pop()),typeof v!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof v+"]");var g=h,S=g.memoizeOptions,E=S===void 0?r:S,y=Array.isArray(E)?E:[E],w=Ibe(s),b=e.apply(void 0,[function(){return c++,v.apply(null,arguments)}].concat(y)),A=e(function(){for(var C=[],O=w.length,m=0;m<O;m++)C.push(w[m].apply(null,arguments));return d=b.apply(null,C),d});return Object.assign(A,{resultFunc:v,memoizedResultFunc:b,dependencies:w,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),A};return i}const nk={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(a=>{const o=new RegExp(a,"i"),s=Object.keys(e.resources).filter(l=>o.test(l));i.push(...s)}),r&&(i=i.filter(a=>a!==r)),i.reduce((a,o)=>(a[o]=!0,a),{})},updateState(e,t,r){const n=e.getState(),i=nk.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(s=>i[s]).reduce((s,l)=>{const c=n.flightData.resources[l];let d=c.response;return c.request.normalize&&(d=rk(c.response,n.flightData.entities)),s[l]=d,s},{})},o=t.updateData(a,r);Object.keys(o).forEach(s=>{const l=n.flightData.resources[s],c=o[s];let d={result:c,entities:{}};l.request.normalize&&(d=Tie(c,l.request.normalizeOptions)),e.dispatch({type:co.UPDATE,result:d.result,entities:d.entities,request:l.request})})}};function Dbe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const EK={isSimulated(e){const t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData(e,t){const{success:r,error:n,always:i}=e,a=t;window.setTimeout(async()=>{if(!a.noResponse){if(a.successResponse){const o=await a.successResponse();r(o,{status:U_.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());i()}},Dbe(t))}},kbe=1e3,Nbe=12,wK=18;function DC(e){const t=+e;return isNaN(t)||!t?0:t}const Zv={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*kbe;return e<Zv.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=Nbe&&t<wK?"afternoon":t>=wK?"evening":"morning"},convertDurationToSeconds(e,t,r){return DC(e)*60*60+DC(t)*60+DC(r)}};class Qie{constructor(t){this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode,this.hasCompleted=t.hasCompleted}get shouldFetch(){return this.status===Tu.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Zv.isExpired(this.requestTime,this.cacheDuration(this.data)):Zv.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Tu.Fetching}get hasError(){return this.status===Tu.Error}}function Lbe(e,t){var n,i;if(!Ui.isEqual(e.resource,t.resource)||!e.resource||!t.resource||((n=e.resource.entityIds)==null?void 0:n.length)!==((i=t.resource.entityIds)==null?void 0:i.length))return!1;for(const a in e.resource.entityIds){const o=e.resource.entityIds[a];if(e.entities[o].__modifyCount!==t.entities[o].__modifyCount)return!1}return!0}function Mbe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return Pbe(Obe,Lbe)(t,n=>J_(e,n.resource,n.entities).response)}function J_(e,t,r){if(!e||!t)return{resource:t,response:$be()};let n=t.response;t.request.normalize!==!1&&(n=rk(t.response,r));const i=new Qie({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function $be(){return new Qie({status:Tu.None})}function gy(e,t){return J_(t,e.flightData.resources[t],e.flightData.entities).response}function Z_(e){return t=>{t&&xh(e,t)}}function Fbe(e){return t=>{if(t)return ik(e,t)}}function xh(e,t){e({type:co.API_REQUEST,request:t})}function ik(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},xh(e,t)})}function Jie(e,t){var o,s,l,c;const r=e.getState(),n=t==null?void 0:t.key,i=J_(n,r.flightData.resources[n],r.flightData.entities),a=i.response;if(t&&a.shouldFetch){xh(e.dispatch,t);return}if(a.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,Jie(e,t))});return}a.hasError?((o=t.error)==null||o.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(s=t.always)==null||s.call(t)):((l=t.success)==null||l.call(t,a.data),(c=t.always)==null||c.call(t))}function jbe(){const e=Lf();return Z_(e)}function Ube(){const e=Lf();return Fbe(e)}function qbe(e){const t=pe.useMemo(()=>Mbe(e),[e]);return X_(r=>t(r))}function Ii(e){const t=Lf(),r=qbe(e&&e.key),n=Z_(t);return pe.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}function Vbe(e){const t=jbe(),r=Xie().getState();let n="",i="";const a={};return e==null||e.forEach(o=>{const s=gy(r,o.key);n+=`:${o.key}`,i+=`:${s.shouldFetch}`,a[o.key]={request:o,response:s}}),pe.useEffect(()=>{e!=null&&e.length&&Object.values(a).forEach(({request:o,response:s})=>{s.shouldFetch&&t(o)})},[n,i]),X_(()=>{const o=Object.values(a).map(({response:h})=>h),s=[];let l=!1,c=!1;o.forEach(h=>{h.data&&s.push(h.data),l=l||h.isFetching,c=c||h.hasError});const d=!!(o!=null&&o.length)&&o.every(h=>h.hasCompleted);return{data:s,isFetching:l,hasError:c,hasCompleted:d,responses:o}})}async function Ka(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},Jie(e,t)})}async function Zc(e,t){const r=e.getState(),{response:n}=J_(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?Ka(e,t):(n.shouldFetch&&xh(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function Bbe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,a=Object.freeze({key:null,url:null,type:dn.GET,normalize:!0,formatData:o=>o,cacheDuration:i});return function(s){return l=>c=>{if(c.type!==co.API_REQUEST){l(c);return}const d=s.getState(),{success:h,error:v,always:g,formatData:S,...E}=Object.assign({},a,c.request),y=d.flightData.resources[E.key];if(l(c),y&&y.status===Tu.Fetching)return;if(E.bootstrapName&&n&&n[c.request.bootstrapName]){A(n[c.request.bootstrapName]),C(),delete n[c.request.bootstrapName];return}const w={resource:E.url,type:E.type,data:E.data,success:A,error:R,always:C};if(typeof r!="function"){b(w);return}r(w,E).then(b);return;function b(O){if(EK.isSimulated(E)){EK.simulateFetchData(O,E);return}t(O)}function A(O,m){const D=S(O);let k={result:D,entities:{}};E.normalize&&(k=Tie(D,E.normalizeOptions)),s.dispatch({type:co.API_RESPONSE,result:k.result,entities:k.entities,request:E,timestamp:Zv.currentTimestamp(),xhr:m});let q=k.result;if(E.normalize){const j={...d.flightData.entities,...k.entities};q=rk(k.result,j)}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(W=>{nk.updateState(s,W,q)}),E.invalidationKeys&&s.dispatch({type:co.INVALIDATE,keys:E.invalidationKeys,request:E}),h&&h(q)}function R(O){s.dispatch({type:co.API_ERROR,errorResponse:O.responseJSON,request:c.request,timestamp:Zv.currentTimestamp(),xhr:O}),E.invalidationKeys&&s.dispatch({type:co.INVALIDATE,keys:E.invalidationKeys,request:E}),v&&v(O)}function C(){g&&g()}}}}function Zie(e,t){const r={...e};return Object.keys(t).forEach(n=>{if(!e[n]){r[n]={...t[n],__modifyCount:0};return}const i={...e[n],...t[n]};Ui.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function Hbe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function zbe(e,t){var r;return{entities:Zie(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Success,response:t.result,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0,entityIds:t.request.normalize===!1?void 0:Object.keys(t.entities)}}}}function Wbe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function Gbe(e,t){var n;const r=nk.getMatchingKeyMap(e,t.keys,(n=t.request)==null?void 0:n.key);return{entities:{...e.entities},resources:{...e.resources,...Object.keys(e.resources).filter(i=>r[i]).reduce((i,a)=>{const o=e.resources[a];return i[a]=Object.assign({},o,{status:Tu.None}),i},{})}}}function Ybe(e=eae,t){return{entities:Zie(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{...e.resources[t.request.key],request:t.request,response:t.result,entityIds:t.request.normalize===!1?void 0:Object.keys(t.entities)}}}}const eae={resources:{},entities:{}};function Kbe(e=eae,t){switch(t.type){case co.API_REQUEST:return Hbe(e,t);case co.API_RESPONSE:return zbe(e,t);case co.API_ERROR:return Wbe(e,t);case co.INVALIDATE:return Gbe(e,t);case co.UPDATE:return Ybe(e,t)}return e}const Xa={first(e){return Nv(e)},firstFew(e,t){return Nv(e,t)},last(e){return cy(e)},lastFew(e,t){return cy(e,t)},max(e,t){return FD(e,t)},cloneAndReplaceAtIdx(e,t,r,n=null){let i=e&&e.length?e.slice():[];return t+1>i.length&&(i=[...i,...Array(t+1-i.length).fill(n)]),i.splice(t,1,r),i},moveItem(e,t,r){const n=e.slice();return n.splice(r,0,n.splice(t,1)[0]),n},isEmpty(e){return e&&!e.length},findIndex(e,t){return L_(e,t)},findWhere(e,t){return jne(e,t)},where(e,t){return qne(e,t)},groupBy(e,t){return Wne(e,t)},countBy(e,t){return Gne(e,t)},flatten(e,t){return Kne(e,t)},intersection(...e){return Qne(...e)},addOrRemove(e,t){const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),e},addOrRemoveImmutable(e,t){const r=e.indexOf(t),n=Ui.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return zne(e,t)},chunk(e,t){return Zne(e,t)},uniq(e,t){return Qv(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,Ui.isObject(n)?{[n[t]]:n}:{[t]:n}),{})},findIndexById(e,t){return e.findIndex(r=>r.id===t.id)},removeItem(e,t){const r=this.findIndex(e,t);return r===-1?e:this.removeItemFromIndex(e,r)},removeItemFromIndex(e,t){return[...e.slice(0,t),...e.slice(t+1)]},findMatchedIdIndex(e,t){return e.findIndex(r=>{var n;return((n=r.id)==null?void 0:n.toString())===t.toString()})},shuffle(e){return Hne(e)}},tae={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:tae.getMemoryStorage()},getMemoryStorage(){const e=new Map;return{setItem(t,r){e.set(t,r)},getItem(t){return e.get(t)},removeItem(t){e.delete(t)},clear(){e.clear()},get length(){return e.size},key(t){return Array.from(e.values())[t]}}}};var Js=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Js||{});class ak{constructor(t){if(this.cachePrefix="_cv:",this.expireTime=3600,this.type=t.type,this.hasSupport=this.hasBrowserSupport(),!!this.hasSupport)try{this.type==="memoryStorage"?this.storage=tae.getMemoryStorage():this.storage=window[this.type]}catch{}}isAvailable(){return this.hasSupport}get(t){if(!this.hasSupport)return;const r=this.storage.getItem(t);try{return JSON.parse(r)}catch{return r}}set(t,r){if(this.hasSupport)try{return this.storage.removeItem(t),typeof r!="string"?(this.storage.setItem(t,JSON.stringify(r)),!0):(this.storage.setItem(t,r),!0)}catch{return!1}}remove(t){if(this.hasSupport)return this.storage.removeItem(t)}length(){if(this.hasSupport)return this.storage.length}clear(){if(this.hasSupport)return this.storage.clear()}cacheSet(t,r,n=this.expireTime){this.cacheClean();const i={time:this.getCurrentTime()+n*1e3,data:typeof r<"u"&&r!==null&&r};return this.set(`${this.cachePrefix}${t}`,i)}cacheGet(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),null):n.data:null}cacheExists(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),!1):!0:!1}cacheRemove(t){return this.remove(`${this.cachePrefix}${t}`)}cacheFlush(){this.cacheClean()}cacheClean(){if(this.hasSupport)for(let t=0;t<this.storage.length;t++){const r=this.storage.key(t);if(r.indexOf(this.cachePrefix)===0){const n=this.get(r);n&&n.time&&this.isExpired(n)&&this.remove(r)}}}isExpired(t){return t.time<this.getCurrentTime()}getCurrentTime(){return new Date().getTime()}hasBrowserSupport(){if(this.type==="memoryStorage")return!0;try{return this.type in window&&window[this.type]!==null}catch{return!1}}}class Xbe extends ak{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class Qbe extends ak{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class Jbe extends ak{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const da=Xbe.Instance,my=Qbe.Instance,bK=Jbe.Instance;class Zbe extends Bo{constructor(){super(),this.viewObjects={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"ViewModelService"}updateViewModel(t,r){const n=this.mergeData(r,t.toJSON());return t instanceof zW&&t.set(n,{silent:!0}),t instanceof ll&&!(t instanceof zW)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:i=!1}=n,a=this.viewObjects[t];if(a&&i)return this.updateViewModel(a,r);if(a)return a;const o=this.getLocalData(t,n);return this.set(t,r,o,n)}set(t,r={},n,i){const{ctor:a,storage:o}=i,s=this.mergeData(r,n),l=a?new a(s):new ll(s);return this.viewObjects[t]=l,o&&!n?(this.setLocalData(t,l,null,i),this.setupChangeListeners(t,l,i)):o&&n&&this.setupChangeListeners(t,l,i),l}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,i){const{storage:a}=i;if(!a||a&&!a.persistProps)return;typeof a.persistProps=="string"&&(a.persistProps=[a.persistProps]);let o;r instanceof ll&&(o=r.pick(a.persistProps)),this.getStorageHelper(a.type).set(t,o)}setupChangeListeners(t,r,n){const{storage:i}=n;!i||i&&!i.persistProps||(typeof i.persistProps=="string"&&(i.persistProps=[i.persistProps]),at.each(i.persistProps,a=>{this.listenTo(r,`change:${a}`,at.partial(this.setLocalData,t,at,at,n))}))}mergeData(t,r){if(!r)return t;if(at.isObject(t)&&at.isObject(r))return at.extend(t,r);vr.throw(new xn("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Js.LocalStorage:return da;case Js.SessionStorage:return my}}}const rae=Zbe.Instance,gi={debounce(e,t,r){return Pne(e,t,r)},throttle(e,t,r){return Ine(e,t,r)},isFunction(e){return an(e)},useIdentity(){return N_},memoize(e,t){return Ane(e,t)}},eTe="application:options";var Fd=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(Fd||{});const nae={ANALYTICS:"global:analytics"};var ok=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(ok||{});class tTe extends Bo{constructor(t){super(),this.clients={},this.enrichers={},rae.get(eTe).set(t??{})}get name(){return ok.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(nae.ANALYTICS,Fd.Inlet,this.onEvent)}registerClient(t,r){return this.validateConstructor(t),this.clients[t.prototype.name]=t.prototype.name,this.transport.subscribe(new t(r)),this}registerEnricher(t,r){this.validateConstructor(t);const n=new t(r);return this.enrichers[n.name]=n,this.registerMiddleware(Ku(n.enrich,n)),this}hasEnricher(t){return!!this.enrichers[t.prototype.name]}onEvent(t){this.executeMiddleware(t,r=>{this.transport.publish(r)})}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new xn(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>gi.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new xn(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new xn(`An enricher class named: ${r} has already been registered with ${this.name}`))}registerMiddleware(t){this.executeMiddleware=(r=>(n,i)=>r(n,()=>t(n,i)))(this.executeMiddleware)}executeMiddleware(t,r){r(t)}}const iae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function TK(e,t,r,n){let i,a,o;const s=t||[0],l=(r=r||0)>>>3,c=n===-1?3:0;for(i=0;i<e.length;i+=1)o=i+l,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(c+n*(o%4));return{value:s,binLen:8*e.length+r}}function kC(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,i,a){return(function(o,s,l,c){let d,h,v,g;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const S=s||[0],E=(l=l||0)>>>3,y=c===-1?3:0;for(d=0;d<o.length;d+=2){if(h=parseInt(o.substr(d,2),16),isNaN(h))throw new Error("String of HEX type contains invalid characters");for(g=(d>>>1)+E,v=g>>>2;S.length<=v;)S.push(0);S[v]|=h<<8*(y+c*(g%4))}return{value:S,binLen:4*o.length+l}})(n,i,a,r)};case"TEXT":return function(n,i,a){return(function(o,s,l,c,d){let h,v,g,S,E,y,w,b,A=0;const R=l||[0],C=(c=c||0)>>>3;if(s==="UTF8")for(w=d===-1?3:0,g=0;g<o.length;g+=1)for(h=o.charCodeAt(g),v=[],128>h?v.push(h):2048>h?(v.push(192|h>>>6),v.push(128|63&h)):55296>h||57344<=h?v.push(224|h>>>12,128|h>>>6&63,128|63&h):(g+=1,h=65536+((1023&h)<<10|1023&o.charCodeAt(g)),v.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),S=0;S<v.length;S+=1){for(y=A+C,E=y>>>2;R.length<=E;)R.push(0);R[E]|=v[S]<<8*(w+d*(y%4)),A+=1}else for(w=d===-1?2:0,b=s==="UTF16LE"&&d!==1||s!=="UTF16LE"&&d===1,g=0;g<o.length;g+=1){for(h=o.charCodeAt(g),b===!0&&(S=255&h,h=S<<8|h>>>8),y=A+C,E=y>>>2;R.length<=E;)R.push(0);R[E]|=h<<8*(w+d*(y%4)),A+=2}return{value:R,binLen:8*A+c}})(n,t,i,a,r)};case"B64":return function(n,i,a){return(function(o,s,l,c){let d,h,v,g,S,E,y,w=0;const b=s||[0],A=(l=l||0)>>>3,R=c===-1?3:0,C=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),C!==-1&&C<o.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<o.length;h+=4){for(S=o.substr(h,4),g=0,v=0;v<S.length;v+=1)d=iae.indexOf(S.charAt(v)),g|=d<<18-6*v;for(v=0;v<S.length-1;v+=1){for(y=w+A,E=y>>>2;b.length<=E;)b.push(0);b[E]|=(g>>>16-8*v&255)<<8*(R+c*(y%4)),w+=1}}return{value:b,binLen:8*w+l}})(n,i,a,r)};case"BYTES":return function(n,i,a){return(function(o,s,l,c){let d,h,v,g;const S=s||[0],E=(l=l||0)>>>3,y=c===-1?3:0;for(h=0;h<o.length;h+=1)d=o.charCodeAt(h),g=h+E,v=g>>>2,S.length<=v&&S.push(0),S[v]|=d<<8*(y+c*(g%4));return{value:S,binLen:8*o.length+l}})(n,i,a,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,i,a){return(function(o,s,l,c){return TK(new Uint8Array(o),s,l,c)})(n,i,a,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,i,a){return TK(n,i,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function RK(e,t,r,n){switch(e){case"HEX":return function(i){return(function(a,o,s,l){let c,d,h="";const v=o/8,g=s===-1?3:0;for(c=0;c<v;c+=1)d=a[c>>>2]>>>8*(g+s*(c%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return l.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(a,o,s,l){let c,d,h,v,g,S="";const E=o/8,y=s===-1?3:0;for(c=0;c<E;c+=3)for(v=c+1<E?a[c+1>>>2]:0,g=c+2<E?a[c+2>>>2]:0,h=(a[c>>>2]>>>8*(y+s*(c%4))&255)<<16|(v>>>8*(y+s*((c+1)%4))&255)<<8|g>>>8*(y+s*((c+2)%4))&255,d=0;d<4;d+=1)S+=8*c+6*d<=o?iae.charAt(h>>>6*(3-d)&63):l.b64Pad;return S})(i,t,r,n)};case"BYTES":return function(i){return(function(a,o,s){let l,c,d="";const h=o/8,v=s===-1?3:0;for(l=0;l<h;l+=1)c=a[l>>>2]>>>8*(v+s*(l%4))&255,d+=String.fromCharCode(c);return d})(i,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(i){return(function(a,o,s){let l;const c=o/8,d=new ArrayBuffer(c),h=new Uint8Array(d),v=s===-1?3:0;for(l=0;l<c;l+=1)h[l]=a[l>>>2]>>>8*(v+s*(l%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(a,o,s){let l;const c=o/8,d=s===-1?3:0,h=new Uint8Array(c);for(l=0;l<c;l+=1)h[l]=a[l>>>2]>>>8*(d+s*(l%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function xK(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},r=e||{},n="Output length must be a multiple of 8";if(t.outputUpper=r.outputUpper||!1,r.b64Pad&&(t.b64Pad=r.b64Pad),r.outputLen){if(r.outputLen%8!=0)throw new Error(n);t.outputLen=r.outputLen}else if(r.shakeLen){if(r.shakeLen%8!=0)throw new Error(n);t.outputLen=r.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function gd(e,t){return e<<t|e>>>32-t}function CK(e,t,r){return e^t^r}function rTe(e,t,r){return e&t^e&r^t&r}function ov(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function tm(e,t,r,n,i){const a=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function nTe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function aae(e,t){let r,n,i,a,o,s,l;const c=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=0;l<80;l+=1)c[l]=l<16?e[l]:gd(c[l-3]^c[l-8]^c[l-14]^c[l-16],1),s=l<20?tm(gd(r,5),(d=n)&i^~d&a,o,1518500249,c[l]):l<40?tm(gd(r,5),CK(n,i,a),o,1859775393,c[l]):l<60?tm(gd(r,5),rTe(n,i,a),o,2400959708,c[l]):tm(gd(r,5),CK(n,i,a),o,3395469782,c[l]),o=a,a=i,i=gd(n,30),n=r,r=s;var d;return t[0]=ov(r,t[0]),t[1]=ov(n,t[1]),t[2]=ov(i,t[2]),t[3]=ov(a,t[3]),t[4]=ov(o,t[4]),t}function iTe(e,t,r,n){let i;const a=15+(t+65>>>9<<4),o=t+r;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/4294967296|0,i=0;i<e.length;i+=16)n=aae(e.slice(i,i+16),n);return n}class aTe extends class{constructor(t,r,n){const i=n||{};if(this.t=r,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=t,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(t){let r,n=0;const i=this.U>>>5,a=this.T(t,this.o,this.h),o=a.binLen,s=a.value,l=o>>>5;for(r=0;r<l;r+=i)n+this.U<=o&&(this.F=this.m(s.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=s.slice(n>>>5),this.h=o%this.U,this.u=!0}getHash(t,r){let n,i,a=this.g;const o=xK(r);if(this.B){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const s=RK(t,a,this.v,o);if(this.A&&this.Y)return s(this.Y(o));for(i=this.H(this.o.slice(),this.h,this.l,this.C(this.F),a),n=1;n<this.numRounds;n+=1)this.B&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.H(i,a,0,this.I(this.s),a);return s(i)}setHMACKey(t,r,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const i=kC(r,(n||{}).encoding||"UTF8",this.v);this.M(i(t))}M(t){const r=this.U>>>3,n=r/4-1;let i;if(this.numRounds!==1)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(r<t.binLen/8&&(t.value=this.H(t.value,t.binLen,0,this.I(this.s),this.g));t.value.length<=n;)t.value.push(0);for(i=0;i<=n;i+=1)this.p[i]=909522486^t.value[i],this.R[i]=1549556828^t.value[i];this.F=this.m(this.p,this.F),this.l=this.U,this.A=!0}getHMAC(t,r){const n=xK(r);return RK(t,this.g,this.v,n)(this.N())}N(){let t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const r=this.H(this.o.slice(),this.h,this.l,this.C(this.F),this.g);return t=this.m(this.R,this.I(this.s)),t=this.H(r,this.g,this.U,t,this.g),t}}{constructor(t,r,n){if(t!=="SHA-1")throw new Error("Chosen SHA variant is not supported");super(t,r,n);const i=n||{};this.L=!0,this.Y=this.N,this.v=-1,this.T=kC(this.t,this.i,this.v),this.m=aae,this.C=function(a){return a.slice()},this.I=nTe,this.H=iTe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(a,o,s,l){const c=a+" must include a value and format";if(!o)throw new Error(c);if(o.value===void 0||!o.format)throw new Error(c);return kC(o.format,o.encoding||"UTF8",s)(o.value)})("hmacKey",i.hmacKey,this.v))}}var el=(e=>(e.CvApSoutheast1="cv-ap-southeast-1",e.CvApSoutheast2="cv-ap-southeast-2",e.CvEuWest1="cv-eu-west-1",e.CvNaWest1="cv-na-west-1",e))(el||{});const oTe={systemName:el.CvApSoutheast1},sTe={systemName:el.CvApSoutheast2},uTe={systemName:el.CvEuWest1},lTe={systemName:el.CvNaWest1},cTe={CvApSoutheast1:oTe,CvApSoutheast2:sTe,CvEuWest1:uTe,CvNaWest1:lTe};var oae=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(oae||{});const AK="r",e0="cv:r",t0="cv:r:e",rm="referrer",OK="cv:originalReferrer",DI=28800,IK=["internalReferrer"],sae={getDecodedAttributionData(){const e=da.cacheGet(e0);if(e&&Object.keys(e).length>0)return e;const t=PK();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=da.cacheGet(t0);return e!=null&&e.length?e:PK().encoded},getProfileId(){const e=sae.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function PK(){const e=da.cacheGet(e0),t=da.cacheGet(t0);return sk(e)?{encoded:t,decoded:e}:fTe()}function fTe(){da.cacheRemove(e0),da.cacheRemove(t0);const e=hTe(),t=vTe(e);if(t)return DK(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:dTe()},n=pTe(r);return DK(n,r),{decoded:r,encoded:n}}function sk(e){return!e||typeof e!="object"||Object.keys(e).length<IK.length?!1:IK.every(t=>typeof e[t]=="string")}function dTe(){const e=da.cacheGet(OK);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(rm)&&r.get(rm);r.has(rm)&&r.get(rm)&&(t=n)}return t&&da.cacheSet(OK,t,DI),t}function hTe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(AK))return e.get(AK)}function vTe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!sk(r))throw Error(`Decoded R value is invalid: ${JSON.stringify(r)}`);return r}catch(t){const r=t instanceof Error?t.message:t==null?void 0:t.toString();console.error(r)}}function pTe(e){if(sk(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function DK(e,t){try{da.cacheSet(e0,t,DI),da.cacheSet(t0,e,DI)}catch{console.error("Could not store attribution data in session storage")}}const kK=3,gTe=5e3,mTe=6,NC={};class yTe{constructor(t){this.key=t.toString()}getCount(){return NC[this.key]||0}increment(){NC[this.key]=this.getCount()+1}reset(){delete NC[this.key]}shouldBreak(){return this.getCount()>=mTe}}class _Te{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,gTe*Math.pow(2,this.attempt))),this.attempt++}}async function STe(e,t){const r=new _Te,n=new yTe(e);async function i(){const a=await fetch(e,t);if(a.status>=500&&!n.shouldBreak())throw new Error(`Server error: ${a.status}`);return a.ok&&n.reset(),a}for(let a=1;a<=kK;a++)try{return await i()}catch(o){if(a>=kK||n.shouldBreak())throw o;n.increment(),await r.wait()}}var nm,ETe=new Uint8Array(16);function wTe(){if(!nm&&(nm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!nm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return nm(ETe)}const bTe=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function uk(e){return typeof e=="string"&&bTe.test(e)}var Aa=[];for(var LC=0;LC<256;++LC)Aa.push((LC+256).toString(16).substr(1));function TTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Aa[e[t+0]]+Aa[e[t+1]]+Aa[e[t+2]]+Aa[e[t+3]]+"-"+Aa[e[t+4]]+Aa[e[t+5]]+"-"+Aa[e[t+6]]+Aa[e[t+7]]+"-"+Aa[e[t+8]]+Aa[e[t+9]]+"-"+Aa[e[t+10]]+Aa[e[t+11]]+Aa[e[t+12]]+Aa[e[t+13]]+Aa[e[t+14]]+Aa[e[t+15]]).toLowerCase();if(!uk(r))throw TypeError("Stringified UUID is invalid");return r}function RTe(e,t,r){e=e||{};var n=e.random||(e.rng||wTe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,TTe(n)}function xTe(e){if(!uk(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const NK="cv:session:",LK="cv:window:",CTe=new Date(864e13).getTime(),MK=18e5,ATe=4;function uae(e){if(e===Js.LocalStorage)return da.isAvailable()?da:bK;if(e===Js.SessionStorage)return my.isAvailable()?my:bK}function $K(e){return e===!1?CTe:new Date().getTime()+e}function OTe(){return RTe()}function ITe(e){return e?new Date().getTime()>e:!1}function PTe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!uk(e.id)||xTe(e.id)!==ATe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function FK(e,t,r){const n=uae(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function jK(e,t,r,n){const i=uae(r),a=e+(t||"0"),o=i.get(a);if(!PTe(o)||ITe(o==null?void 0:o.ttl)){const l={id:OTe(),ttl:$K(n)};return i.set(a,l),l.id}const s={id:o.id,ttl:$K(n)};return i.set(a,s),o.id}let MC=!1;const UK={getClientSessionData(e){const t=jK(NK,e,Js.LocalStorage,MK),r=jK(LK,e,Js.SessionStorage,MC?!1:MK);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){FK(NK,e,Js.LocalStorage),FK(LK,e,Js.SessionStorage)},lockWindowSession(){MC=!0},unlockWindowSession(){MC=!1}},Kc={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},kI={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},un={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},Ju="Unknown";function md(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Ju),{name:e,version:i}}function Nc(e,t,r){if(!t)return{name:e,version:Ju};const n=t.exec(r),i=n&&n.length?n[0].trim():Ju;return{name:e,version:i}}function DTe(e,t){const r={name:e,version:null};return un.win2000.test(t)&&(r.version="2000"),un.winXP.test(t)&&(r.version="XP"),un.winVista.test(t)&&(r.version="Vista"),un.win7.test(t)&&(r.version="7"),un.win8.test(t)&&(r.version="8"),un.win81.test(t)&&(r.version="8.1"),un.win10.test(t)&&(r.version="10"),r.version||(r.version=Ju),r}const qK={getDeviceType(){const e=window.navigator.userAgent;return un.mobileDevice.test(e)?un.iphone.test(e)?"iPhone":un.ipad.test(e)?"iPad":un.android.test(e)?"Android":un.blackberry.test(e)?"Blackberry":un.windowsPhone.test(e)?"Windows Phone":Ju:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return un.android.test(e)?Nc("Android",un.androidVersion,e):un.iphone.test(e)||un.ipad.test(e)?Nc("iOS",un.iosVersion,e):un.linux.test(e)?Nc("Linux",null,e):un.unix.test(e)?Nc("Unix",null,e):un.mac.test(e)?Nc("Macintosh",un.osxVersion,e):un.windows.test(e)?DTe("Windows",e):un.blackberry.test(e)?Nc("BlackBerry",un.blackberryVersion,e):un.windowsPhone.test(e)?Nc("Windows Phone",un.windowsPhoneVersion,e):{name:Ju,version:Ju}},getBrowser(){const e=window.navigator.userAgent;return un.chrome.test(e)?md("Chrome",un.generalVersion,e):un.firefox.test(e)?md("Firefox",un.generalVersion,e):un.safari.test(e)?md("Safari",un.generalVersion,e):un.ie.test(e)?md("Internet Explorer",un.ieVersion,e):un.edge.test(e)?md("Edge",un.edgeVersion,e):un.opera.test(e)?md("Opera",un.operaVersion,e):{name:Ju,version:Ju}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},kTe=28800,VK="cv:utmparams",NI=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],NTe=NI.reduce((e,[t])=>({...e,[t]:t}),{}),lae={getUtmParameters(){if(!window.URLSearchParams)return null;const e=new URLSearchParams(window.location.search),t={},r=([n,i])=>{e.has(i)&&(t[n]=e.get(i))};return NI.forEach(r),BK(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{NTe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),BK(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=lae.getUtmParameters();return t?(NI.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function BK(e){if(Object.keys(e).length)return da.cacheSet(VK,e,kTe),e;const t=da.cacheGet(VK);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const LTe="2.3.0",MTe={version:LTe},$Te="zXJL9nOHxzDlMUDjiP41",HK="unknown";class FTe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=lae.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=sae.getDecodedAttributionData())}get name(){return"CollectionApiClient"}async log(t){if(Array.isArray(t))return this.logBulk(t);this.shouldLog(t)&&(this.validateEvent(t),await this.postData(await this.formatData(t)))}async logBulk(t){const r=t.filter(i=>this.shouldLog(i));if(!r.length)return;r.forEach(i=>this.validateEvent(i));const n=await Promise.all(r.map(i=>this.formatData(i)));await this.postData(n)}validateOptions(){if(!Kc.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Kc.isFunction(this.options.shouldLog)?this.options.shouldLog(t):!0}async postData(t){const r=await this.getRegionalUrl(this.options.collectionApiUrls),n=JSON.stringify(t),i={"Content-Type":"application/json",...this.getSignatureHeader(n)};let a=kI.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=kI.safeUrlConcat(a,"/bulk"));try{const o=await STe(a,{method:"POST",mode:"cors",headers:i,body:n});o.ok||this.logError(new Error(`CollectionApiClient failed to log event. Status: ${o.status} ${o.statusText}`),!1,this.getResponseAsObject(o))}catch(o){this.logError(o)}}getResponseAsObject(t){return{headers:t.headers,ok:t.ok,redirected:t.redirected,status:t.status,statusText:t.statusText,type:t.type,url:t.url,body:t.text()}}getSignatureHeader(t){const r=new aTe("SHA-1","TEXT",{hmacKey:{value:$Te,format:"TEXT",encoding:"UTF8"}});return r.update(t),{"cv-analytics-signature":`${this.options.collectionApiClientId}.${r.getHash("B64")}`}}async getRegionalUrl(t){switch((await this.getRegion()).systemName){case el.CvEuWest1:return t.cvEuWest1;case el.CvApSoutheast2:return t.cvApSoutheast2;case el.CvNaWest1:return t.cvNaWest1;case el.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Kc.isObject(t.actionContext)||this.logError(new Error("Event actionContext is required."),!0),t.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}async formatData(t){return{type:t.type,data:await this.getEventData(t),metadata:this.getEventMetadata(t)}}async getEventData(t){const r=t.actionContext,n=this.getPlatformMetadata(),i=await this.getUserData(),a=await this.getSessionData(),o={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(o.variant=this.options.productVariant);const s={user:i,action:r,platform:n,product:o,session:a};this.utmParameters&&(s.utm=this.utmParameters);const l=this.extractData(t),c=Object.keys(s).map(h=>h.toLowerCase()),d=Object.keys(l).map(h=>h.toLowerCase());return c.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...s,...l}}extractData(t){return Kc.isFunction(this.options.formatData)?this.options.formatData(t):{[t.actionContext.entity]:t.data}}async getUserData(){var r,n,i;let t;try{t=await((n=(r=this.options).getProfileId)==null?void 0:n.call(r))}catch(a){this.logError(a)}try{const a=await this.options.getUser();return a!=null&&a.id?{id:a.id,role:((i=a.role)==null?void 0:i.toLowerCase())||HK,userGroup:(a.userGroup??oae.Unknown).toLowerCase(),yearGroup:this.normalizeYearGroup(a.yearGroup),profileId:t,customer:{id:a.customerId,name:a.customerName,customerGuid:a.customerGuid,crmId:a.crmId,country:a.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:a.accessPolicy}}:t?{profileId:t}:void 0}catch(a){this.logError(a)}}async getRegion(){let t=this.options.regionName;try{const r=await this.options.getUser();r!=null&&r.instanceRegion&&(t=r.instanceRegion)}catch(r){this.logError(r)}return t||this.logError(new Error("RegionName is not set."),!0),this.getRegionByName(t.toLowerCase())}async getSessionData(){try{const t=await this.options.getUser();return{...UK.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),UK.getClientSessionData(null)}}getPlatformMetadata(){var r,n;const t={url:window.location.href,referrer:document.referrer};return(r=this.attributionData)!=null&&r.internalReferrer&&(t.internalReferrer=this.attributionData.internalReferrer),(n=this.attributionData)!=null&&n.originalReferrer&&(t.originalReferrer=this.attributionData.originalReferrer),{browser:qK.getBrowser(),os:qK.getOperatingSystem(),request:t,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}getEventMetadata(t){return{client:{name:`${this.name}.ts`,version:MTe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(cTe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):HK}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Uy=class Uy extends Bo{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Uy.type}};Uy.type="BaseAnalyticsClient";let LI=Uy;class jTe extends LI{get name(){return"DebuggerClient"}shouldLog(){return B_.isDevelopment}log(t){const r=_ne(t);for(const n in t){const i=r[n];(i instanceof ll||i instanceof V_)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const nn={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/(^(?!.*Edge).*Chrome)|(CriOS)/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},Zu="Unknown";function yd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Zu),{browser:e,version:i}}function Lc(e,t,r){if(!t)return{os:e,version:Zu};const n=t.exec(r),i=n&&n.length?n[0].trim():Zu;return{os:e,version:i}}function UTe(e,t){const r={os:e};return nn.win2000.test(t)&&(r.version="2000"),nn.winXP.test(t)&&(r.version="XP"),nn.winVista.test(t)&&(r.version="Vista"),nn.win7.test(t)&&(r.version="7"),nn.win8.test(t)&&(r.version="8"),nn.win81.test(t)&&(r.version="8.1"),nn.win10.test(t)&&(r.version="10"),r.version||(r.version=Zu),r}const Lv={getDeviceType(){const e=window.navigator.userAgent;return nn.mobileDevice.test(e)?nn.iphone.test(e)?"iPhone":nn.ipad.test(e)?"iPad":nn.android.test(e)?"Android":nn.blackberry.test(e)?"Blackberry":nn.windowsPhone.test(e)?"Windows Phone":Zu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return nn.android.test(e)?Lc("Android",nn.androidVersion,e):nn.iphone.test(e)||nn.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Lc("iOS",nn.iosVersion,e):nn.linux.test(e)?Lc("Linux",null,e):nn.unix.test(e)?Lc("Unix",null,e):nn.mac.test(e)?Lc("Macintosh",nn.osxVersion,e):nn.windows.test(e)?UTe("Windows",e):nn.blackberry.test(e)?Lc("BlackBerry",nn.blackberryVersion,e):nn.windowsPhone.test(e)?Lc("Windows Phone",nn.windowsPhoneVersion,e):{os:Zu,version:Zu}},getBrowser(){const e=window.navigator.userAgent;return nn.chrome.test(e)?yd("Chrome",nn.generalVersion,e):nn.firefox.test(e)?yd("Firefox",nn.generalVersion,e):nn.safari.test(e)?yd("Safari",nn.generalVersion,e):nn.ie.test(e)?yd("Internet Explorer",nn.ieVersion,e):nn.edge.test(e)?yd("Edge",nn.edgeVersion,e):nn.opera.test(e)?yd("Opera",nn.operaVersion,e):{browser:Zu,version:Zu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return Lv.isTouchScreen()?nn.tablet.test(navigator.userAgent)||nn.mobile.test(navigator.userAgent):!1},isAndroid(){return Lv.getOperatingSystem().os==="Android"},isIOS(){return Lv.getOperatingSystem().os==="iOS"}};var Nm={exports:{}},qTe=Nm.exports,zK;function VTe(){return zK||(zK=1,(function(e,t){(function(r,n){e.exports=n()})(qTe,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",c="day",d="week",h="month",v="quarter",g="year",S="date",E="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(X){var Q=["th","st","nd","rd"],J=X%100;return"["+X+(Q[(J-20)%10]||Q[J]||Q[0])+"]"}},A=function(X,Q,J){var re=String(X);return!re||re.length>=Q?X:""+Array(Q+1-re.length).join(J)+X},R={s:A,z:function(X){var Q=-X.utcOffset(),J=Math.abs(Q),re=Math.floor(J/60),$=J%60;return(Q<=0?"+":"-")+A(re,2,"0")+":"+A($,2,"0")},m:function X(Q,J){if(Q.date()<J.date())return-X(J,Q);var re=12*(J.year()-Q.year())+(J.month()-Q.month()),$=Q.clone().add(re,h),N=J-$<0,U=Q.clone().add(re+(N?-1:1),h);return+(-(re+(J-$)/(N?$-U:U-$))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:h,y:g,w:d,d:c,D:S,h:l,m:s,s:o,ms:a,Q:v}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},C="en",O={};O[C]=b;var m="$isDayjsObject",D=function(X){return X instanceof W||!(!X||!X[m])},k=function X(Q,J,re){var $;if(!Q)return C;if(typeof Q=="string"){var N=Q.toLowerCase();O[N]&&($=N),J&&(O[N]=J,$=N);var U=Q.split("-");if(!$&&U.length>1)return X(U[0])}else{var ee=Q.name;O[ee]=Q,$=ee}return!re&&$&&(C=$),$||!re&&C},q=function(X,Q){if(D(X))return X.clone();var J=typeof Q=="object"?Q:{};return J.date=X,J.args=arguments,new W(J)},j=R;j.l=k,j.i=D,j.w=function(X,Q){return q(X,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var W=(function(){function X(J){this.$L=k(J.locale,null,!0),this.parse(J),this.$x=this.$x||J.x||{},this[m]=!0}var Q=X.prototype;return Q.parse=function(J){this.$d=(function(re){var $=re.date,N=re.utc;if($===null)return new Date(NaN);if(j.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var U=$.match(y);if(U){var ee=U[2]-1||0,te=(U[7]||"0").substring(0,3);return N?new Date(Date.UTC(U[1],ee,U[3]||1,U[4]||0,U[5]||0,U[6]||0,te)):new Date(U[1],ee,U[3]||1,U[4]||0,U[5]||0,U[6]||0,te)}}return new Date($)})(J),this.init()},Q.init=function(){var J=this.$d;this.$y=J.getFullYear(),this.$M=J.getMonth(),this.$D=J.getDate(),this.$W=J.getDay(),this.$H=J.getHours(),this.$m=J.getMinutes(),this.$s=J.getSeconds(),this.$ms=J.getMilliseconds()},Q.$utils=function(){return j},Q.isValid=function(){return this.$d.toString()!==E},Q.isSame=function(J,re){var $=q(J);return this.startOf(re)<=$&&$<=this.endOf(re)},Q.isAfter=function(J,re){return q(J)<this.startOf(re)},Q.isBefore=function(J,re){return this.endOf(re)<q(J)},Q.$g=function(J,re,$){return j.u(J)?this[re]:this.set($,J)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(J,re){var $=this,N=!!j.u(re)||re,U=j.p(J),ee=function(B,L){var H=j.w($.$u?Date.UTC($.$y,L,B):new Date($.$y,L,B),$);return N?H:H.endOf(c)},te=function(B,L){return j.w($.toDate()[B].apply($.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(L)),$)},de=this.$W,Se=this.$M,xe=this.$D,ue="set"+(this.$u?"UTC":"");switch(U){case g:return N?ee(1,0):ee(31,11);case h:return N?ee(1,Se):ee(0,Se+1);case d:var I=this.$locale().weekStart||0,P=(de<I?de+7:de)-I;return ee(N?xe-P:xe+(6-P),Se);case c:case S:return te(ue+"Hours",0);case l:return te(ue+"Minutes",1);case s:return te(ue+"Seconds",2);case o:return te(ue+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(J){return this.startOf(J,!1)},Q.$set=function(J,re){var $,N=j.p(J),U="set"+(this.$u?"UTC":""),ee=($={},$[c]=U+"Date",$[S]=U+"Date",$[h]=U+"Month",$[g]=U+"FullYear",$[l]=U+"Hours",$[s]=U+"Minutes",$[o]=U+"Seconds",$[a]=U+"Milliseconds",$)[N],te=N===c?this.$D+(re-this.$W):re;if(N===h||N===g){var de=this.clone().set(S,1);de.$d[ee](te),de.init(),this.$d=de.set(S,Math.min(this.$D,de.daysInMonth())).$d}else ee&&this.$d[ee](te);return this.init(),this},Q.set=function(J,re){return this.clone().$set(J,re)},Q.get=function(J){return this[j.p(J)]()},Q.add=function(J,re){var $,N=this;J=Number(J);var U=j.p(re),ee=function(Se){var xe=q(N);return j.w(xe.date(xe.date()+Math.round(Se*J)),N)};if(U===h)return this.set(h,this.$M+J);if(U===g)return this.set(g,this.$y+J);if(U===c)return ee(1);if(U===d)return ee(7);var te=($={},$[s]=n,$[l]=i,$[o]=r,$)[U]||1,de=this.$d.getTime()+J*te;return j.w(de,this)},Q.subtract=function(J,re){return this.add(-1*J,re)},Q.format=function(J){var re=this,$=this.$locale();if(!this.isValid())return $.invalidDate||E;var N=J||"YYYY-MM-DDTHH:mm:ssZ",U=j.z(this),ee=this.$H,te=this.$m,de=this.$M,Se=$.weekdays,xe=$.months,ue=$.meridiem,I=function(L,H,ne,ce){return L&&(L[H]||L(re,N))||ne[H].slice(0,ce)},P=function(L){return j.s(ee%12||12,L,"0")},B=ue||function(L,H,ne){var ce=L<12?"AM":"PM";return ne?ce.toLowerCase():ce};return N.replace(w,(function(L,H){return H||(function(ne){switch(ne){case"YY":return String(re.$y).slice(-2);case"YYYY":return j.s(re.$y,4,"0");case"M":return de+1;case"MM":return j.s(de+1,2,"0");case"MMM":return I($.monthsShort,de,xe,3);case"MMMM":return I(xe,de);case"D":return re.$D;case"DD":return j.s(re.$D,2,"0");case"d":return String(re.$W);case"dd":return I($.weekdaysMin,re.$W,Se,2);case"ddd":return I($.weekdaysShort,re.$W,Se,3);case"dddd":return Se[re.$W];case"H":return String(ee);case"HH":return j.s(ee,2,"0");case"h":return P(1);case"hh":return P(2);case"a":return B(ee,te,!0);case"A":return B(ee,te,!1);case"m":return String(te);case"mm":return j.s(te,2,"0");case"s":return String(re.$s);case"ss":return j.s(re.$s,2,"0");case"SSS":return j.s(re.$ms,3,"0");case"Z":return U}return null})(L)||U.replace(":","")}))},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(J,re,$){var N,U=this,ee=j.p(re),te=q(J),de=(te.utcOffset()-this.utcOffset())*n,Se=this-te,xe=function(){return j.m(U,te)};switch(ee){case g:N=xe()/12;break;case h:N=xe();break;case v:N=xe()/3;break;case d:N=(Se-de)/6048e5;break;case c:N=(Se-de)/864e5;break;case l:N=Se/i;break;case s:N=Se/n;break;case o:N=Se/r;break;default:N=Se}return $?N:j.a(N)},Q.daysInMonth=function(){return this.endOf(h).$D},Q.$locale=function(){return O[this.$L]},Q.locale=function(J,re){if(!J)return this.$L;var $=this.clone(),N=k(J,re,!0);return N&&($.$L=N),$},Q.clone=function(){return j.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},X})(),K=W.prototype;return q.prototype=K,[["$ms",a],["$s",o],["$m",s],["$H",l],["$W",c],["$M",h],["$y",g],["$D",S]].forEach((function(X){K[X[1]]=function(Q){return this.$g(Q,X[0],X[1])}})),q.extend=function(X,Q){return X.$i||(X(Q,W,q),X.$i=!0),q},q.locale=k,q.isDayjs=D,q.unix=function(X){return q(1e3*X)},q.en=O[C],q.Ls=O,q.p={},q}))})(Nm)),Nm.exports}var BTe=VTe();const fr=Bn(BTe);var Lm={exports:{}},HTe=Lm.exports,WK;function zTe(){return WK||(WK=1,(function(e,t){(function(r,n){e.exports=n()})(HTe,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var s=this,l=this.$locale();if(!this.isValid())return a.bind(this)(o);var c=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(h){switch(h){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),h==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),h==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return h}}));return a.bind(this)(d)}}}))})(Lm)),Lm.exports}var WTe=zTe();const GTe=Bn(WTe);var Mm={exports:{}},YTe=Mm.exports,GK;function KTe(){return GK||(GK=1,(function(e,t){(function(r,n){e.exports=n()})(YTe,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},l=function(E){return(E=+E)+(E>68?1900:2e3)},c=function(E){return function(y){this[E]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var w=y.match(/([+-]|\d\d)/g),b=60*w[1]+(+w[2]||0);return b===0?0:w[0]==="+"?-b:b})(E)}],h=function(E){var y=s[E];return y&&(y.indexOf?y:y.s.concat(y.f))},v=function(E,y){var w,b=s.meridiem;if(b){for(var A=1;A<=24;A+=1)if(E.indexOf(b(A,0,y))>-1){w=A>12;break}}else w=E===(y?"pm":"PM");return w},g={A:[o,function(E){this.afternoon=v(E,!1)}],a:[o,function(E){this.afternoon=v(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[i,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[i,c("day")],Do:[o,function(E){var y=s.ordinal,w=E.match(/\d+/);if(this.day=w[0],y)for(var b=1;b<=31;b+=1)y(b).replace(/\[|\]/g,"")===E&&(this.day=b)}],M:[a,c("month")],MM:[i,c("month")],MMM:[o,function(E){var y=h("months"),w=(h("monthsShort")||y.map((function(b){return b.slice(0,3)}))).indexOf(E)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[o,function(E){var y=h("months").indexOf(E)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(E){this.year=l(E)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function S(E){var y,w;y=E,w=s&&s.formats;for(var b=(E=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,q,j){var W=j&&j.toUpperCase();return q||w[j]||r[j]||w[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(K,X,Q){return X||Q.slice(1)}))}))).match(n),A=b.length,R=0;R<A;R+=1){var C=b[R],O=g[C],m=O&&O[0],D=O&&O[1];b[R]=D?{regex:m,parser:D}:C.replace(/^\[|\]$/g,"")}return function(k){for(var q={},j=0,W=0;j<A;j+=1){var K=b[j];if(typeof K=="string")W+=K.length;else{var X=K.regex,Q=K.parser,J=k.slice(W),re=X.exec(J)[0];Q.call(q,re),k=k.replace(re,"")}}return(function($){var N=$.afternoon;if(N!==void 0){var U=$.hours;N?U<12&&($.hours+=12):U===12&&($.hours=0),delete $.afternoon}})(q),q}}return function(E,y,w){w.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(l=E.parseTwoDigitYear);var b=y.prototype,A=b.parse;b.parse=function(R){var C=R.date,O=R.utc,m=R.args;this.$u=O;var D=m[1];if(typeof D=="string"){var k=m[2]===!0,q=m[3]===!0,j=k||q,W=m[2];q&&(W=m[2]),s=this.$locale(),!k&&W&&(s=w.Ls[W]),this.$d=(function(J,re,$){try{if(["x","X"].indexOf(re)>-1)return new Date((re==="X"?1e3:1)*J);var N=S(re)(J),U=N.year,ee=N.month,te=N.day,de=N.hours,Se=N.minutes,xe=N.seconds,ue=N.milliseconds,I=N.zone,P=new Date,B=te||(U||ee?1:P.getDate()),L=U||P.getFullYear(),H=0;U&&!ee||(H=ee>0?ee-1:P.getMonth());var ne=de||0,ce=Se||0,we=xe||0,_e=ue||0;return I?new Date(Date.UTC(L,H,B,ne,ce,we,_e+60*I.offset*1e3)):$?new Date(Date.UTC(L,H,B,ne,ce,we,_e)):new Date(L,H,B,ne,ce,we,_e)}catch{return new Date("")}})(C,D,O),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),j&&C!=this.format(D)&&(this.$d=new Date("")),s={}}else if(D instanceof Array)for(var K=D.length,X=1;X<=K;X+=1){m[1]=D[X-1];var Q=w.apply(this,m);if(Q.isValid()){this.$d=Q.$d,this.$L=Q.$L,this.init();break}X===K&&(this.$d=new Date(""))}else A.call(this,R)}}}))})(Mm)),Mm.exports}var XTe=KTe();const cae=Bn(XTe);var $m={exports:{}},QTe=$m.exports,YK;function JTe(){return YK||(YK=1,(function(e,t){(function(r,n){e.exports=n()})(QTe,(function(){var r,n,i=1e3,a=6e4,o=36e5,s=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,d=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,v={years:c,months:d,days:s,hours:o,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof R},S=function(O,m,D){return new R(O,D,m.$l)},E=function(O){return n.p(O)+"s"},y=function(O){return O<0},w=function(O){return y(O)?Math.ceil(O):Math.floor(O)},b=function(O){return Math.abs(O)},A=function(O,m){return O?y(O)?{negative:!0,format:""+b(O)+m}:{negative:!1,format:""+O+m}:{negative:!1,format:""}},R=(function(){function O(D,k,q){var j=this;if(this.$d={},this.$l=q,D===void 0&&(this.$ms=0,this.parseFromMilliseconds()),k)return S(D*v[E(k)],this);if(typeof D=="number")return this.$ms=D,this.parseFromMilliseconds(),this;if(typeof D=="object")return Object.keys(D).forEach((function(X){j.$d[E(X)]=D[X]})),this.calMilliseconds(),this;if(typeof D=="string"){var W=D.match(h);if(W){var K=W.slice(2).map((function(X){return X!=null?Number(X):0}));return this.$d.years=K[0],this.$d.months=K[1],this.$d.weeks=K[2],this.$d.days=K[3],this.$d.hours=K[4],this.$d.minutes=K[5],this.$d.seconds=K[6],this.calMilliseconds(),this}}return this}var m=O.prototype;return m.calMilliseconds=function(){var D=this;this.$ms=Object.keys(this.$d).reduce((function(k,q){return k+(D.$d[q]||0)*v[q]}),0)},m.parseFromMilliseconds=function(){var D=this.$ms;this.$d.years=w(D/c),D%=c,this.$d.months=w(D/d),D%=d,this.$d.days=w(D/s),D%=s,this.$d.hours=w(D/o),D%=o,this.$d.minutes=w(D/a),D%=a,this.$d.seconds=w(D/i),D%=i,this.$d.milliseconds=D},m.toISOString=function(){var D=A(this.$d.years,"Y"),k=A(this.$d.months,"M"),q=+this.$d.days||0;this.$d.weeks&&(q+=7*this.$d.weeks);var j=A(q,"D"),W=A(this.$d.hours,"H"),K=A(this.$d.minutes,"M"),X=this.$d.seconds||0;this.$d.milliseconds&&(X+=this.$d.milliseconds/1e3,X=Math.round(1e3*X)/1e3);var Q=A(X,"S"),J=D.negative||k.negative||j.negative||W.negative||K.negative||Q.negative,re=W.format||K.format||Q.format?"T":"",$=(J?"-":"")+"P"+D.format+k.format+j.format+re+W.format+K.format+Q.format;return $==="P"||$==="-P"?"P0D":$},m.toJSON=function(){return this.toISOString()},m.format=function(D){var k=D||"YYYY-MM-DDTHH:mm:ss",q={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return k.replace(l,(function(j,W){return W||String(q[j])}))},m.as=function(D){return this.$ms/v[E(D)]},m.get=function(D){var k=this.$ms,q=E(D);return q==="milliseconds"?k%=1e3:k=q==="weeks"?w(k/v[q]):this.$d[q],k||0},m.add=function(D,k,q){var j;return j=k?D*v[E(k)]:g(D)?D.$ms:S(D,this).$ms,S(this.$ms+j*(q?-1:1),this)},m.subtract=function(D,k){return this.add(D,k,!0)},m.locale=function(D){var k=this.clone();return k.$l=D,k},m.clone=function(){return S(this.$ms,this)},m.humanize=function(D){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!D)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},O})(),C=function(O,m,D){return O.add(m.years()*D,"y").add(m.months()*D,"M").add(m.days()*D,"d").add(m.hours()*D,"h").add(m.minutes()*D,"m").add(m.seconds()*D,"s").add(m.milliseconds()*D,"ms")};return function(O,m,D){r=D,n=D().$utils(),D.duration=function(j,W){var K=D.locale();return S(j,{$l:K},W)},D.isDuration=g;var k=m.prototype.add,q=m.prototype.subtract;m.prototype.add=function(j,W){return g(j)?C(this,j,1):k.bind(this)(j,W)},m.prototype.subtract=function(j,W){return g(j)?C(this,j,-1):q.bind(this)(j,W)}}}))})($m)),$m.exports}var ZTe=JTe();const eRe=Bn(ZTe);var Fm={exports:{}},tRe=Fm.exports,KK;function rRe(){return KK||(KK=1,(function(e,t){(function(r,n){e.exports=n()})(tRe,(function(){return function(r,n,i){n.prototype.isBetween=function(a,o,s,l){var c=i(a),d=i(o),h=(l=l||"()")[0]==="(",v=l[1]===")";return(h?this.isAfter(c,s):!this.isBefore(c,s))&&(v?this.isBefore(d,s):!this.isAfter(d,s))||(h?this.isBefore(c,s):!this.isAfter(c,s))&&(v?this.isAfter(d,s):!this.isBefore(d,s))}}}))})(Fm)),Fm.exports}var nRe=rRe();const iRe=Bn(nRe);var jm={exports:{}},aRe=jm.exports,XK;function oRe(){return XK||(XK=1,(function(e,t){(function(r,n){e.exports=n()})(aRe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(jm)),jm.exports}var sRe=oRe();const uRe=Bn(sRe);var Um={exports:{}},lRe=Um.exports,QK;function cRe(){return QK||(QK=1,(function(e,t){(function(r,n){e.exports=n()})(lRe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(Um)),Um.exports}var fRe=cRe();const dRe=Bn(fRe);var qm={exports:{}},hRe=qm.exports,JK;function vRe(){return JK||(JK=1,(function(e,t){(function(r,n){e.exports=n()})(hRe,(function(){return function(r,n,i){var a=n.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},s=function(h,v,g,S,E){var y=h.name?h:h.$locale(),w=o(y[v]),b=o(y[g]),A=w||b.map((function(C){return C.slice(0,S)}));if(!E)return A;var R=y.weekStart;return A.map((function(C,O){return A[(O+(R||0))%7]}))},l=function(){return i.Ls[i.locale()]},c=function(h,v){return h.formats[v]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,E,y){return E||y.slice(1)}))})(h.formats[v.toUpperCase()])},d=function(){var h=this;return{months:function(v){return v?v.format("MMMM"):s(h,"months")},monthsShort:function(v){return v?v.format("MMM"):s(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):s(h,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):s(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):s(h,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return c(h.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=l();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(v){return c(h,v)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return s(l(),"months")},i.monthsShort=function(){return s(l(),"monthsShort","months",3)},i.weekdays=function(h){return s(l(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return s(l(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return s(l(),"weekdaysMin","weekdays",2,h)}}}))})(qm)),qm.exports}var pRe=vRe();const gRe=Bn(pRe);var Vm={exports:{}},mRe=Vm.exports,ZK;function yRe(){return ZK||(ZK=1,(function(e,t){(function(r,n){e.exports=n()})(mRe,(function(){return function(r,n,i){r=r||{};var a=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(c,d,h,v){return a.fromToBase(c,d,h,v)}i.en.relativeTime=o,a.fromToBase=function(c,d,h,v,g){for(var S,E,y,w=h.$locale().relativeTime||o,b=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],A=b.length,R=0;R<A;R+=1){var C=b[R];C.d&&(S=v?i(c).diff(h,C.d,!0):h.diff(c,C.d,!0));var O=(r.rounding||Math.round)(Math.abs(S));if(y=S>0,O<=C.r||!C.r){O<=1&&R>0&&(C=b[R-1]);var m=w[C.l];g&&(O=g(""+O)),E=typeof m=="string"?m.replace("%d",O):m(O,d,C.l,y);break}}if(d)return E;var D=y?w.future:w.past;return typeof D=="function"?D(E):D.replace("%s",E)},a.to=function(c,d){return s(c,d,this,!0)},a.from=function(c,d){return s(c,d,this)};var l=function(c){return c.$u?i.utc():i()};a.toNow=function(c){return this.to(l(this),c)},a.fromNow=function(c){return this.from(l(this),c)}}}))})(Vm)),Vm.exports}var _Re=yRe();const SRe=Bn(_Re);var Bm={exports:{}},ERe=Bm.exports,eX;function wRe(){return eX||(eX=1,(function(e,t){(function(r,n){e.exports=n()})(ERe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,o){var s,l=function(v,g,S){S===void 0&&(S={});var E=new Date(v),y=(function(w,b){b===void 0&&(b={});var A=b.timeZoneName||"short",R=w+"|"+A,C=n[R];return C||(C=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:A}),n[R]=C),C})(g,S);return y.formatToParts(E)},c=function(v,g){for(var S=l(v,g),E=[],y=0;y<S.length;y+=1){var w=S[y],b=w.type,A=w.value,R=r[b];R>=0&&(E[R]=parseInt(A,10))}var C=E[3],O=C===24?0:C,m=E[0]+"-"+E[1]+"-"+E[2]+" "+O+":"+E[4]+":"+E[5]+":000",D=+v;return(o.utc(m).valueOf()-(D-=D%1e3))/6e4},d=a.prototype;d.tz=function(v,g){v===void 0&&(v=s);var S=this.utcOffset(),E=this.toDate(),y=E.toLocaleString("en-US",{timeZone:v}),w=Math.round((E-new Date(y))/1e3/60),b=o(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-w,!0);if(g){var A=b.utcOffset();b=b.add(S-A,"minute")}return b.$x.$timezone=v,b},d.offsetName=function(v){var g=this.$x.$timezone||o.tz.guess(),S=l(this.valueOf(),g,{timeZoneName:v}).find((function(E){return E.type.toLowerCase()==="timezonename"}));return S&&S.value};var h=d.startOf;d.startOf=function(v,g){if(!this.$x||!this.$x.$timezone)return h.call(this,v,g);var S=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(S,v,g).tz(this.$x.$timezone,!0)},o.tz=function(v,g,S){var E=S&&g,y=S||g||s,w=c(+o(),y);if(typeof v!="string")return o(v).tz(y);var b=(function(O,m,D){var k=O-60*m*1e3,q=c(k,D);if(m===q)return[k,m];var j=c(k-=60*(q-m)*1e3,D);return q===j?[k,q]:[O-60*Math.min(q,j)*1e3,Math.max(q,j)]})(o.utc(v,E).valueOf(),w,y),A=b[0],R=b[1],C=o(A).utcOffset(R);return C.$x.$timezone=y,C},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(v){s=v}}}))})(Bm)),Bm.exports}var bRe=wRe();const TRe=Bn(bRe);var Hm={exports:{}},RRe=Hm.exports,tX;function xRe(){return tX||(tX=1,(function(e,t){(function(r,n){e.exports=n()})(RRe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,s){var l=o.prototype;s.utc=function(E){var y={date:E,utc:!0,args:arguments};return new o(y)},l.utc=function(E){var y=s(this.toDate(),{locale:this.$L,utc:!0});return E?y.add(this.utcOffset(),r):y},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),c.call(this,E)};var d=l.init;l.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else d.call(this)};var h=l.utcOffset;l.utcOffset=function(E,y){var w=this.$utils().u;if(w(E))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof E=="string"&&(E=(function(C){C===void 0&&(C="");var O=C.match(n);if(!O)return null;var m=(""+O[0]).match(i)||["-",0,0],D=m[0],k=60*+m[1]+ +m[2];return k===0?0:D==="+"?k:-k})(E),E===null))return this;var b=Math.abs(E)<=16?60*E:E,A=this;if(y)return A.$offset=b,A.$u=E===0,A;if(E!==0){var R=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(b+R,r)).$offset=b,A.$x.$localOffset=R}else A=this.utc();return A};var v=l.format;l.format=function(E){var y=E||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,y)},l.valueOf=function(){var E=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*E},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var g=l.toDate;l.toDate=function(E){return E==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var S=l.diff;l.diff=function(E,y,w){if(E&&this.$u===E.$u)return S.call(this,E,y,w);var b=this.local(),A=s(E).local();return S.call(b,A,y,w)}}}))})(Hm)),Hm.exports}var CRe=xRe();const ARe=Bn(CRe);var zm={exports:{}},ORe=zm.exports,rX;function IRe(){return rX||(rX=1,(function(e,t){(function(r,n){e.exports=n()})(ORe,(function(){return function(r,n){n.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,s=(o<a?o+7:o)-a;return this.$utils().u(i)?s:this.subtract(s,"day").add(i,"day")}}}))})(zm)),zm.exports}var PRe=IRe();const DRe=Bn(PRe);let im;const kRe={"DD/MM/YYYY":{"en-us":"MM/DD/YYYY"},"DD/MM/YYYY, hh:mmA":{"en-us":"MM/DD/YYYY, hh:mmA"},"Do MMMM":{"en-us":"MMMM Do"},"Do MMMM YYYY":{"en-us":"MMMM Do YYYY"},"D MMMM YYYY":{"en-us":"MMMM D YYYY"},"ddd, D MMM YYYY":{"en-us":"ddd, MMM D YYYY"},"ddd, D MMM":{"en-us":"ddd, MMM D"}},fae={getCurrentRegion(){return im},setCurrentRegion(e){im=e},updateFormatByRegion(e){var r;return im&&((r=kRe[e])==null?void 0:r[im])||e}};fr.extend(GTe);fr.extend(cae);fr.extend(SRe);fr.extend(uRe);fr.extend(iRe);fr.extend(DRe);fr.extend(gRe);fr.extend(dRe);fr.extend(cae);fr.extend(eRe);fr.extend(ARe);fr.extend(TRe);const NRe=/[\[\]]/g;function LRe(e){const t=e.split(":"),r=parseInt(t[0],10)||0,n=parseInt(t[1],10)||0,i=parseInt(t[2],10)||0;return{hours:r,minutes:n,seconds:i}}const wn={add(e,t,r){return fr(e).add(t,r).toDate()},subtract(e,t,r){return fr(e).subtract(t,r).toDate()},format(e,t){return fr(e).format(fae.updateFormatByRegion(t))},formatToISODate(e){return fr(e).format("YYYY-MM-DD")},isValid(e){return fr(e).isValid()},formatIsValid(e,t,r){return fr(e,t,r).isValid()},fromNow(e,t){return fr(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),i=t.getTimezoneOffset()>0,o=Math.abs(t.getTimezoneOffset())/60,s=Math.floor(o),l=Math.floor((o-s)*60);let c=r+s,d=n+l;return i&&(c=r-s,d=n-l),t.setHours(c),t.setMinutes(d),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=fr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=fr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return fr(e).isSame(fr(t),r)},isSameOrBefore(e,t,r){return fr(e).isSameOrBefore(fr(t),r)},isToday(e){return fr().isSame(fr(e),"day")},isBetween(e,t,r){return fr(e).isSameOrAfter(fr(t))&&fr(e).isSameOrBefore(fr(r))},timeSince(e,t,r){const n=fr(e);return fr().diff(n,t,r)},startOf(e,t){return fr(e).startOf(t).toDate()},endOf(e,t){return fr(e).endOf(t).toDate()},getTimezoneOffset(){const e=new Date().getTimezoneOffset();if(e===0)return"00:00:00";const t=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),n=t<10?"0"+t:t.toString(),i=r<10?"0"+r:r.toString(),a=`${n}:${i}:00`;return e<0?a:`-${a}`},weekday(e,t){return fr(e).weekday(t).toDate()},getWeekday(e){return fr(e).weekday()},daysInMonth(e){return fr(e).daysInMonth()},get(e,t){return fr(e).get(t)},set(e,t,r){return fr(e).set(t,r).toDate()},diffBetween(e,t,r){return fr(e).diff(fr(t),r)},getLocalDateOrdinal(e){return fr.localeData().ordinal(e).replace(NRe,"")},parseDateString(e,t){return e?fr(e,t).toDate():fr().toDate()},getDurationISOString(e,t){return fr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return fr.duration(e).asMilliseconds();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertISODuration`);break}},convertDurationByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=LRe(e);switch(t){case"milliseconds":return fr.duration(r).asMilliseconds();case"seconds":return fr.duration(r).asSeconds();case"hours":return fr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=fr().day(e).hour(t).minute(r).utc().toDate();return wn.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return fr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return fr(e).utc().toISOString()},formatUtc(e,t){return fr(e).utc().format(t)},formatUtcString(e,t){return fr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).hours();case"minutes":return fr.duration(e,t).minutes();case"seconds":return fr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return fr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return fr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?fr.utc(e).tz(r).format(t):fr.utc(e).format(t)},getUtcStringByTimezone(e,t){return fr.tz(e,t).utc().toISOString()}},qy=class qy extends Bo{enrich(t,r){}isType(t){return t===qy.type}};qy.type="BaseAnalyticsEnricher";let MI=qy;class MRe extends MI{constructor(t){super(t),this.productName=t.productName,this.productVersion=t.productVersion}get name(){return"CoreContextEnricher"}shouldEnrich(t){return!0}enrich(t,r){this.shouldEnrich(t)||r(t),t.enrich("coreContext",this.getCoreContext()),r(t)}getCoreContext(){return{timestamp:this.getTimestamp(),product:this.getProductInfo(),request:this.getRequestInfo(),client:this.getClientInfo()}}getTimestamp(){return wn.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Yn.GetCurrentReferrer(),requestUrl:Yn.GetCurrentUrl()}}getClientInfo(){const t=Lv.getOperatingSystem(),r=Lv.getBrowser();return{os:t.os,osVersion:t.version,browser:r.browser,browserVersion:r.version,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}}class $Re extends Df{}class FRe extends $Re{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(Fd.Outlet,t)}subscribe(t){const r=t,n=i=>{gi.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};an(r.listenTo)?r.listenTo(this.getChannel(),Fd.Outlet,n):this.listenTo(this.getChannel(),Fd.Outlet,n)}}var jt=(e=>(e.Stream="cv_product_stream",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_instant_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.Unshare="cv_product_unshare",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.Print="cv_product_print",e.Copy="cv_product_copy",e.Activate="cv_product_activate",e.VerifyEmail="cv_product_verify_email",e.ChangePassword="cv_product_change_password",e.ManageGroup="cv_product_manage_group",e.Export="cv_product_export",e.SendEmail="cv_product_send_email",e.Publish="cv_product_publish",e.Submit="cv_product_submit",e.Complete="cv_product_complete",e.Archive="cv_product_archive",e.Promote="cv_product_promote",e.Demote="cv_product_demote",e.BulkAction="cv_product_bulk_action",e.Remove="cv_product_remove",e.Dismiss="cv_product_dismiss",e.Open="cv_product_open",e.Hide="cv_product_hide",e.PageView="cv_product_page_view",e.Select="cv_product_select",e.SwitchCustomer="cv_product_switch_customer",e.Focus="cv_product_focus",e.Blur="cv_product_blur",e.Hover="cv_product_hover",e.Unhover="cv_product_unhover",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning",e))(jt||{}),En=(e=>(e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Resolution="resolution",e.PlaybackSpeed="playback_speed",e.Device="device",e.Restriction="restriction",e.Interactive="interactive",e.Interaction="interaction",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.LibraryRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Playlists="playlists",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.DirectShare="direct_share",e.Upload="upload",e.SearchResults="search_results",e.SearchSuggestion="search_suggestion",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url",e.SocialShare="social_share",e.Presentation="presentation",e.BatchJob="batch_job",e.DeepLink="deep_link",e.Feedback="feedback",e.AppLink="app_link",e.SignUp="sign_up",e.FileGeneratorJob="file_generator_job",e.ExportLibraries="export_libraries",e.Product="product",e.Customer="customer",e.SpecialEvent="special_event",e.Region="region",e.ProductTip="product_tip",e.Livestream="livestream",e.DevicesCta="devices_cta",e.Integration="integration",e.Faq="faq",e.MixedMedia="mixed_media",e.TableOfContents="table_of_contents",e.Author="author",e.Glance="glance",e.Filter="filter",e.NotificationSetting="notification_setting",e.Transcript="transcript",e.CurriculumCode="curriculum_code",e.Assign="assign",e))(En||{}),Pa=(e=>(e.TopNav="top_nav",e.LeftNav="left_nav",e.Footer="footer",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.ExpandableVideoThumbnail="expandable_video_thumbnail",e.VideoItemPreview="video_item_preview",e.InteractiveItemPreview="interactive_item_preview",e.ClipItemPreview="clip_item_preview",e.VideoDetails="video_details",e.InteractiveDetails="interactive_details",e.ClipDetails="clip_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditInteractiveVideoDetails="edit_interactive_video_details",e.EditClipDetails="edit_clip_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.PreviewVideoResources="preview_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.LibraryRequestDetails="staff_request_details",e.Libraries="libraries",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.SeriesListItem="series_list_item",e.SeriesWithVideos="series_with_videos",e.PlaylistWithVideos="playlist_with_videos",e.Dropdown="dropdown",e.ViewCurriculumLinks="view_curriculum_links",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.FeaturedSeriesSearchResult="featured_series_search_result",e.ExchangeSearchGroupItem="exchange_search_group_item",e.StaffManager="staff_manager",e.StaffManagerListItem="staff_manager_list_item",e.StudentManager="student_manager",e.ViewStudentVideos="view_student_videos",e.StudentManagerListItem="student_manager_list_item",e.EditUser="edit_user",e.UserAuditLog="user_audit_log",e.BulkUserActionsWizard="bulk_user_actions_wizard",e.BulkUserUploadWizard="bulk_user_upload_wizard",e.Classroom="classroom",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.ManageClassroomTeachers="manage_classroom_teachers",e.ManageClassroomTeacherListItem="manage_classroom_teachers_list_item",e.ArchivedClassrooms="archived_classrooms",e.PreviewInteractive="preview_interactive",e.PreviewSharedInteractive="preview_shared_interactive",e.PreviewInteractiveQuestions="preview_interactive_questions",e.EditInteractive="edit_interactive",e.EditInteractiveDetails="edit_interactive_details",e.PlaySharedInteractive="play_shared_interactive",e.PlayInteractive="play_interactive",e.InteractiveListItem="interactive_list_item",e.DeleteInteractive="delete_interactive",e.NewInteractive="new_interactive",e.CopyInteractive="copy_interactive",e.UnpublishInteractive="unpublish_interactive",e.ShareInteractive="share_interactive",e.PlayPage="play_page",e.Player="player",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.CreateClipPlayer="create_clip_player",e.PlayClip="play_clip",e.PlaySharedClip="play_shared_clip",e.ClipListItem="clip_list_item",e.ContentUpdatesBanner="content_updates_banner",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.NotificationSettings="notification_settings",e.TopicsOnboarding="topics_onboarding",e.MyUploads="my_uploads",e.MyVideos="my_videos",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.ClassificationHero="classification_hero",e.ClassificationFooter="classification_footer",e.Classification="classification",e.PresentationClassifications="presentation_classifications",e.Dashboard="dashboard",e.DiscoverFooter="discover_footer",e.ProductBanner="product_banner",e.UserOptions="user_options",e.MagicTabs="magic_tabs",e.Settings="settings",e.StudentFeed="student_feed",e.MyShares="my_shares",e.SharedByMe="shared_by_me",e.SharedWithMe="shared_with_me",e.Insights="insights",e.Error="error_view",e.UpgradeForm="upgrade_form",e.ClassroomGuide="classroom_guide",e.TeachingResources="teaching_resources",e.ResourcesGuidancePopup="resources_guidance_popup",e.InteractivesGuidancePopup="interactives_guidance_popup",e.CurriculumGuidancePopup="curriculum_guidance_popup",e.TopVideos="top_videos",e.VideoViewsList="video_views_list",e.VideoOverview="video_overview",e.LiteUpgradeFeedbackPopup="lite_upgrade_feedback_popup",e.LiteUpgradeBanner="lite_upgrade_banner",e.LiteUpgradeOnboarding="lite_upgrade_onboarding",e.GiveFeedbackPopup="give_feedback_popup",e.LibraryRequestSettings="library_request_settings",e.OpenInAppPrompt="open_in_app_prompt",e.UseAppButton="use_app_button",e.Launchpad="launchpad",e.EditableSubjectPreferencesWidget="editable_subject_preferences_widget",e.ThumbnailHeroMediaWidget="thumbnail_hero_media_widget",e.ThumbnailFixedListMediaLargeWidget="thumbnail_fixed_list_media_large",e.FilterSlidingPillListSmallWidget="filter_sliding_pill_list_small",e.CircleLogoSlidingListWidget="circle_logo_sliding_list_widget",e.HeroBannerSmallWidget="hero_banner_small",e.EventIconSlidingListWidget="event_icon_sliding_list_widget",e.OnboardingStepsWidget="onboarding_steps_widget",e.FaqQuestionWidget="faq_question_widget",e.FaqQuestionAccordionWidget="faq_question_accordion_widget",e.SubjectStatsWidgetItem="subject_stats_widget_item",e.AuthorReviewerWidget="author_reviewer_widget",e.ThumbnailFixedListMediaSmallWidget="thumbnail_fixed_list_media_small_widget",e.ThumbnailFixedListFolderSmallWidget="thumbnail_fixed_list_folder_small_widget",e.ThumbnailVerticalListWidget="thumbnail_vertical_list_widget",e.ThumbnailFixedListSmallWidget="thumbnail_fixed_list_small_widget",e.PosterFixedListLargeWidget="poster_fixed_list_large_widget",e.CurriculumResourcesAccordionWidget="curriculum_resources_accordion_widget",e.SearchCurriculumCodeWidget="search_curriculum_code_widget",e.ExchangeLinksWidget="exchange_links_widget",e.TableOfContents="table_of_contents",e.SignUpPopup="sign_up_popup",e.SignUpPage="sign_up_page",e.TrialBanner="trial_banner",e.InviteColleaguePopup="invite_colleague_popup",e.AuthProspectSelect="auth_prospect_select",e.WelcomePopup="welcome_popup",e.WatchHistoryLanding="watch_history_landing",e.MyFavouritesLanding="my_favourites_landing",e.MyVideoLanding="my_videos_landing",e.PlaylistsLanding="playlists_landing",e.MySharesLanding="myshares_landing",e.NotificationsDropdown="notifications_dropdown",e.CalendarNav="calendar_nav",e.CalendarDay="calendar_day",e.CalendarPopup="calendar_popup",e.RegionMap="region_map",e.OnboardingWelcomeVideoScreen="onboarding_welcome_video_screen",e.OnboardingSelectRoleScreen="onboarding_select_role_screen",e.OnboardingUsageIntentionScreen="onboarding_usage_intention_screen",e.OnboardingSchoolLevelScreen="onboarding_school_level_screen",e.OnboardingSelectCurriculumScreen="onboarding_select_curriculum_screen",e.OnboardingSubjectsScreen="onboarding_subjects_screen",e.OnboardingSelectVideosScreen="onboarding_select_videos_screen",e.OnboardingCreatePlaylistScreen="onboarding_create_playlist_screen",e.OnboardingSubjectsSummaryScreen="onboarding_subjects_summary_screen",e.ProductTips="product_tips",e.LivestreamBookingForm="booking_form",e.DateRangeFilter="date_range_selector",e.AudienceFilter="audience_filter",e.AssignFlowView="assign_flow_view",e.Global="global",e))(Pa||{}),ec=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(ec||{}),$I=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))($I||{}),lk=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(lk||{}),jRe=(e=>(e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit",e.ChangeResolution="change_resolution",e.ChangeSpeed="change_speed",e.ChangeDevice="change_device",e.EnableTheatreMode="enable_theatre_mode",e.DisableTheatreMode="disable_theatre_mode",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e))(jRe||{}),URe=(e=>(e.Embedded="embedded",e))(URe||{}),jd=(e=>(e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Banner="banner",e.Slide="slide",e.ExternalLink="external_link",e.ViewStudentWorkspace="view_student_workspace",e.Card="card",e.SelectAllUsers="select_all_users",e.ClickViewLogo="clickview_logo",e.Clear="clear",e.SeeMore="see_more",e.Settings="settings",e.Expand="expand",e.Collapse="collapse",e.Search="search",e))(jd||{}),qRe=(e=>(e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.ViewInsights="view_insights",e.ViewUsage="view_usage",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.OpenInClickView="open_in_clickview",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip",e.EditVideoDetails="edit_video_details",e.DeleteVideo="delete_video",e.ManageAccess="manage_access",e.SuggestEdit="suggest_edit",e.RemoveFromWatchHistory="remove_from_watch_history",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e.TranscriptTimepoint="transcript_timepoint",e))(qRe||{}),FI=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(FI||{}),VRe=(e=>(e.On="on",e.Off="off",e))(VRe||{}),BRe=(e=>(e.DirectShare="direct_share",e.CopyLink="copy_link",e.CopyEmbedHtml="copy_embed_html",e.PluginEmbed="plugin_embed",e))(BRe||{}),ep=(e=>(e.SignIn="sign_in",e.SignUp="sign_up",e.SignOut="sign_out",e.TopNavButton="top_nav_button",e.Educator="educator",e.Student="student",e.TermsAndConditions="terms_and_conditions",e.PrivacyPolicy="privacy_policy",e.EnterEmail="enter_email",e.ClosePopup="close_popup",e.Back="back",e.UseMyLocation="use_my_location",e.TrialCreated="trial_created",e.TrialRequested="trial_requested",e.DeadEnd="dead_end",e.CantFindSchool="cant_find_school",e.ResendEmail="resend_email",e.ContactUs="contact_us",e.InviteColleague="invite_colleague",e.Upgrade="upgrade",e.FindSchool="find_school",e.AddToBraze="add_to_braze",e.RequestAccess="request_access",e.AutoJoin="auto_join",e.WrongEmail="wrong_email",e.RequestBdmTrial="request_bdm_trial",e.SkipIdpSelect="skip_idp_select",e))(ep||{}),HRe=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(HRe||{}),jI=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(jI||{}),Bl=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Bl||{}),dae=(e=>(e[e.V1=1]="V1",e[e.V2=2]="V2",e[e.V3=3]="V3",e[e.V4=4]="V4",e[e.V5=5]="V5",e))(dae||{});const Fi={passthrough(e){return e}},_r={allow:()=>!0,restrict:()=>!1},zRe={getShareData(e){var s,l,c,d;const{id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a}=e,o={id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a};return(s=e.video)!=null&&s.id&&(o.video={id:e.video.id}),(l=e.clip)!=null&&l.id&&(o.clip={id:e.clip.id},(c=e.clip.video)!=null&&c.id&&(o.video={id:(d=e.clip.video)==null?void 0:d.id})),e.shareCount!==void 0&&(o.shareCount=e.shareCount),e.embedDetails&&(o.embedDetails=o.embedDetails),o}},Cd={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===En.Video)return Cd.formatVideoUpload(e,t);if(r===En.Resource||r===En.Subtitle)return Cd.formatResourceUpload(e);if(r===En.Banner||r===En.Thumbnail||r===En.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===ec.Start)return Cd.getStartVideoUploadData(e);if(r===ec.Discard)return Cd.getDiscardVideoUploadData(e);if(r===ec.Complete)return Cd.getCompleteUploadData(e)},getStartVideoUploadData(e){return!e||!e.length?[]:(e instanceof FileList&&(e=Array.from(e)),e.map(t=>({fileName:t.name,size:t.size,type:t.type,count:e.length})))},getDiscardVideoUploadData(e){const t=r=>{const{type:n,name:i,status:a,cvUpload:o}=r.file,s={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(s.progress=r.progress.toFixed(2)),o&&(s.uploadId=o.uploadId),s};return Array.isArray(e)?e.map(r=>t(r)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{const{fileName:r,libraryId:n,folderId:i,autoCaption:a}=t;return{fileName:r,libraryId:n,folderId:i,autoCaption:a,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Kc.isObject(e.metadata)&&(n.type=e.metadata.type),n}},WRe={[jt.Navigate]:_r.restrict,[jt.Click]:_r.allow,[jt.Search]:_r.allow,[jt.InstantSearch]:_r.allow,[jt.Play]:_r.allow,[jt.Stream]:_r.allow,[jt.WebPlayerStream]:_r.allow,[jt.StreamProgress]:_r.allow,[jt.Rename]:_r.allow,[jt.Move]:_r.allow,[jt.Create]:_r.allow,[jt.Delete]:_r.allow,[jt.Associate]:_r.allow,[jt.Dissociate]:_r.allow,[jt.Filter]:_r.allow,[jt.Sort]:_r.allow,[jt.Approve]:_r.allow,[jt.Reject]:_r.allow,[jt.Disable]:_r.allow,[jt.Upload]:_r.allow,[jt.Download]:_r.allow,[jt.SetAccess]:_r.allow,[jt.AddToLocalCache]:_r.restrict,[jt.Share]:_r.allow,[jt.Unshare]:_r.allow,[jt.Edit]:_r.allow,[jt.Suggest]:_r.allow,[jt.Favourite]:_r.allow,[jt.WorkspaceAdd]:_r.allow,[jt.ResolveWarning]:_r.allow,[jt.DismissWarning]:_r.allow,[jt.EditAssoc]:_r.allow,[jt.Follow]:_r.allow,[jt.Print]:_r.allow,[jt.Copy]:_r.allow,[jt.Activate]:_r.allow,[jt.VerifyEmail]:_r.allow,[jt.ChangePassword]:_r.allow,[jt.Export]:_r.allow,[jt.SendEmail]:_r.allow,[jt.Publish]:_r.allow,[jt.Submit]:_r.allow,[jt.Complete]:_r.allow,[jt.Archive]:_r.allow,[jt.Promote]:_r.allow,[jt.Demote]:_r.allow,[jt.BulkAction]:_r.allow,[jt.Remove]:_r.allow,[jt.Dismiss]:_r.allow,[jt.Open]:_r.allow,[jt.Hide]:_r.allow,[jt.PageView]:_r.allow,[jt.Select]:_r.allow,[jt.SwitchCustomer]:_r.allow,[jt.Focus]:_r.allow,[jt.Blur]:_r.allow,[jt.Hover]:_r.allow,[jt.Unhover]:_r.allow},GRe={[jt.Search]:Fi.passthrough,[jt.InstantSearch]:Fi.passthrough,[jt.Play]:Fi.passthrough,[jt.Stream]:Fi.passthrough,[jt.StreamProgress]:Fi.passthrough,[jt.Click]:Fi.passthrough,[jt.Filter]:Fi.passthrough,[jt.Sort]:Fi.passthrough,[jt.SetAccess]:Fi.passthrough,[jt.Approve]:Fi.passthrough,[jt.Reject]:Fi.passthrough,[jt.Create]:Fi.passthrough,[jt.Delete]:Fi.passthrough,[jt.Rename]:Fi.passthrough,[jt.Move]:Fi.passthrough,[jt.Edit]:Fi.passthrough,[jt.Share]:zRe.getShareData,[jt.Disable]:Fi.passthrough,[jt.Suggest]:Fi.passthrough,[jt.Upload]:Cd.getUploadData,[jt.ResolveWarning]:Fi.passthrough,[jt.DismissWarning]:Fi.passthrough,[jt.Follow]:Fi.passthrough,[jt.Print]:Fi.passthrough,[jt.Copy]:Fi.passthrough},nX={[jt.Search]:()=>"search",[jt.InstantSearch]:()=>"search",[jt.Filter]:()=>"filter",[jt.Stream]:()=>En.Video},iX={user:"target_user",product:"target_product"},YRe={[jt.StreamProgress]:!0,[jt.WebPlayerStream]:!0},aX={shouldLog(e){return!!WRe[e.type](e)},formatData(e){const t=GRe[e.type],r=Kc.isFunction(t)?t(e.data,e):e.data;if(YRe[e.type])return r;let n=e.actionContext.entity;return Kc.isFunction(nX[e.type])&&(n=nX[e.type](e)),iX[n]&&(n=iX[n]),{[n]:r}}};var wr=(e=>(e.MustCompleteOnboarding="must_complete_onboarding",e.StudentWorkspaceSharing="student_ws_sharing",e.StudentToStudentMessaging="student_to_student_messaging",e.HideResourcesForStudents="hide_resources_for_students",e.LibraryReview="library_review",e.SchoolMessaging="school_messaging",e.LegacyTvNaming="legacy_tv_naming",e.LegacyAlbertCustomer="legacy_albert_customer",e.HideHostedLibraries="hide_hosted_libraries",e.MaxCustomLibraries="max_custom_libraries",e.AutoCaptioning="auto_captioning",e.Topics="subjects",e.NewDashboards="new_dashboards",e.ShareToGoogleClassroom="share_to_google_classroom",e.ShareToMicrosoftTeams="share_to_microsoft_teams",e.DefaultPlaybackQuality="playback_quality_default",e.DefaultLocalCachePlaybackQuality="playback_quality_local_cache_default",e.EnableSubtitlesDefault="playback_subtitles_enabled_default",e.LTI="lti",e.HasNewClassificationView="new_classification_view",e.HasCuratedDiscoverDashboards="has_curated_discover_dashboards",e.HasLiteSearchDropdown="has_lite_search_dropdown",e.HasSpecialEventCalendar="has_special_event_calendar",e.PreviewVideos="preview_videos",e.DomainSettings="domain_settings",e.InviteColleague="invite_colleague",e.ExchangeTvProductOption="exchange_tv_product_option",e.MyVideosFolders="my_videos_folders",e.TvRegion="tv_region",e.ShareOverrideRestrictions="share_override_restrictions",e.HasTopicDirectories="has_topic_directories",e.MessageFrequencyOption="message_frequency",e.HasTopicVideoListFeature="has_topic_video_list_feature",e.HasManageGrouPermissions="has_manage_group_permissions",e.ExperimentalInteractiveQuestions="experimental_interactive_questions",e.PublicInteractiveAttempts="public_interactive_attempts",e.HasClassrooms="has_classrooms",e.HasNewSearch="has_new_search",e.HasPlayPageTranscript="has_play_page_transcript",e.HasShareFlowV2="has_share_flow_v2",e.HasEnabledViviPlayback="has_enabled_vivi_playback",e.HasEnabledViviStudentCasting="has_enabled_vivi_student_casting",e.HasEnabledAppleTvPlayback="has_enabled_apple_tv_playback",e.HasDisplayedPresentationSwitcherProductTip="has_displayed_presentation_switcher_spotlight",e.HasDisplayedTopicsDirectoryTabProductTip="has_displayed_topics_directory_tab_spotlight",e.HasDisplayedGiveFeedbackFormProductTip="has_displayed_give_feedback_form_spotlight",e.HasDisplayedWhatsNewLinkProductTip="has_displayed_whats_new_link_spotlight",e.ShowExchangeSearchResultsUser="show_exchange_search_results_user",e.LiteUpgradeTime="lite_upgrade_time",e.LiteUpgradeTypeCustomer="lite_upgrade_type_customer",e.LiteUpgradeTypeUser="lite_upgrade_type_user",e.HasCompletedUpgradeOnboarding="has_completed_upgrade_onboarding",e.LiteUpgradeFeedback="lite_upgrade_feedback",e.LiteUpgradeComplete="lite_upgrade_complete",e.PolicyEndTime="policy_end_time",e.HasCompletedOnboardingV1="has_completed_onboarding",e.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state",e.HasCompletedOnboardingV2="has_completed_onboarding_v2",e.HasNewOnboarding="has_new_onboarding",e.HasExitedOnboarding="has_exited_onboarding",e.HasCompletedOnboardingStepWelcomeVideo="has_completed_onboarding_step_welcome_video",e.HasCompletedOnboardingStepSelectRole="has_completed_onboarding_step_select_role",e.HasCompletedOnboardingStepUsageIntention="has_completed_onboarding_step_usage_intention",e.HasCompletedOnboardingStepSchoolLevel="has_completed_onboarding_step_school_level",e.HasCompletedOnboardingStepSelectCurriculum="has_completed_onboarding_step_select_curriculum",e.HasCompletedOnboardingStepSubjects="has_completed_onboarding_step_subjects",e.HasCompletedOnboardingStepSelectVideos="has_completed_onboarding_step_select_videos",e.HasCompletedOnboardingStepCreatePlaylist="has_completed_onboarding_step_create_playlist",e.HasCompletedOnboardingStepSubjectsSummary="has_completed_onboarding_step_subjects_summary",e.HasCompletedOnboardingProductTips="has_completed_onboarding_product_tips",e.StudentInteractives="student_interactives",e.ExpandSchoolLibrary="expand_school_library",e.PrimaryProduct="primary_product",e.ImmediateFeedbackInteractives="immediate_feedback_interactives",e.LiteStudentCustomLibraries="lite_student_custom_libraries",e.HasEnabledRostering="has_enabled_rostering",e))(wr||{});const sf={config(e,t){return{url:"/api/config",key:"config",bootstrapName:"config",success:e,error:t}},version(e,t){return{url:"/api/version",key:"version",bootstrapName:"version",normalize:!1,success:e,error:t}},geoLocation(){return{url:"/api/geolocation",key:"geolocation",normalize:!1,bootstrapName:"geolocation"}}},Mv={get(e,t){var r;return(r=e==null?void 0:e[t])==null?void 0:r.value},getCustomerSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicUserSettings(t==null?void 0:t.success,t==null?void 0:t.error)},formatSettings(e){return e.reduce((t,r)=>(t[r.name]=r,t),{})}},oX=[{name:"new_classification_view",value:!0},{name:"must_complete_onboarding",value:!1},{name:"has_completed_onboarding",value:!0},{name:"has_displayed_presentation_switcher_spotlight",value:!0},{name:"has_curated_discover_dashboards",value:!0},{name:"has_special_event_calendar",value:!0},{name:"new_movies_and_tv",value:!0}];let $C=()=>(vr.throw(new xn("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const wu={setPublicFormatSettings(e){e&&($C=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:Mv.formatSettings,success:t,error:r}},customerSetting(e,t,r){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Xa.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:Mv.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$C,success:e,error:t,successResponse:()=>oX}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$C,success:e,error:t,successResponse:()=>oX}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Xa.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:Mv.formatSettings,success:e,error:t}},updateUserSetting(e,t,r,n){return{key:`update:user:setting:${e.name}`,url:"{gateway}/v1/users/me/settings",data:e,type:dn.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}},updateCustomerSetting(e,t,r,n){return{key:`update:customer:setting:${e.name}`,url:"{gateway}/v1/customers/me/settings",data:e,type:dn.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}};var Pd=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(Pd||{});const KRe=/\/$/,ln={urlBuilder(e,t){const n=Object.entries(t).map(([i,a])=>i&&Array.isArray(a)?a.map(s=>`${i}=${encodeURIComponent(s)}`).join("&"):i&&a!==void 0&&a!==null?`${i}=${encodeURIComponent(a)}`:"").reduce((i,a)=>a?i?`${i}&${a}`:a:i,"");return n?`${e}?${n}`:e},buildFilter(e){const t=[];if(e.limit&&t.push(`limit:${e.limit}`),e.cursor&&t.push(`page:${e.cursor}`),e.before&&t.push(`dateCreated:...${e.before}`),!!t.length)return t.join(",")},makeHttps(e){return typeof e!="string"||e.indexOf("http://")===-1||(e=e.replace("http://","https://")),e},safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r},removeTrailingSlash(e){if(typeof e=="string")return e.replace(KRe,"")}},hae={customer(e,t,r,n){return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}`,{query:n?"organisation":""}),key:`customers:${e}:${n?"with-organization":""}`,success:t,error:r}},yearGroups(e){return{url:`{gateway}/v1/customers/${e}/year-groups?query={orderby:value}rating`,key:"year:groups"}},updateYearGroupRatings(e,t,r,n){return{url:`{gateway}/v1/customers/${e}/year-groups`,key:"update:year:group:ratings",type:dn.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},cl={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},zi={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:cl.USER,success:e,error:t}},user(e,t,r){return{url:`{gateway}/v1/users/${e}`,key:`users:${e}`,success:t,error:r}},groups(e){return{url:`{gateway}/v1/objects/${e}/members?query=groups`,key:`users:${e}:groups`}},usersById(e,t,r){return{url:ln.urlBuilder("{gateway}/v1/users",{id:e}),key:`users:list:${e.join(",")}`,success:t,error:r,formatData:n=>{const i=n.reduce((a,o)=>(a[o.id.toString()]=o,a),{});return e.map(a=>i[a.toString()])}}},getUserIdByQuery(e,t){return{url:`{gateway}/v1/users/ids?${e}`,key:`users:ids:${e}`,success:t}},workspace(e,t){return{url:"/api/domain/v2/me/workspace?query=categorytree",key:"workspace",success:e,error:t}},sendVerificationEmail(e,t,r,n){return{url:"api/account/email",key:"verify:email",type:dn.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:cl.TOKEN,formatData:r=>typeof r.expiry!="number"||r.expiry<=0||isNaN(r.expiry)?r:{value:r.value,localTTL:new Date().getTime()+r.expiry*1e3},success:e,error:t}},permissions(e,t){return{url:"{gateway}/v1/users/me/permissions",publicUrl:"/api/permissions",key:"permissions",success:e,error:t,normalize:!1,formatData:r=>r.reduce((n,i)=>(n[i]=!0,n),{}),bootstrapName:cl.PERMISSIONS}},customers(e){return{url:`{gateway}/v1/objects/${e}/customers`,key:"customers"}},accessPolicy(){return{url:"{gateway}/v1/users/me/access-policy",key:"access:policy"}},updateJobTitle(e,t,r){return{url:`{gateway}/v1/customers/${t}/users/job-titles`,key:`update:${e}:job:title:${r}`,type:dn.PUT,data:{customerId:t,users:[{userId:e,jobTitle:r}]},updateState:{keys:`users:${e}`,updateData:n=>{const i=n[`users:${e}`];return{...n,[`users:${e}`]:{...i,userProfile:{...i.userProfile,metadata:{...i.userProfile.metadata||{},jobTitle:r}}}}}}}},getById(e,t){const r=Xa.uniq(e);return r.sort(),{url:`{gateway}/v1/objects?query=${`avatar&${r.map(i=>`id=${i}`).join("&")}`}`,key:`users:by:id:${r.join(",")}`,error:t}}},FC={"Academic Coach":"teacher","Assistant Head Teacher":"kdm","Consortium Leadership":"kdm","Curriculum Coordinator":"teacher","Curriculum Leader":"teacher","Deputy Head Teacher":"kdm","Deputy Principal":"kdm","Digital Technology Coordinator":"teacher","District Leadership":"kdm","e-Learning/ICT Coordinator":"teacher","Head of Department":"teacher","Head of Faculty":"teacher","Head of Key Stage":"teacher","Head of Subject":"teacher","Head Teacher":"kdm",IT:"kdm","IT/LRC":"kdm","e-Learning Coordinator":"kdm","Instructional Technology Specialist":"teacher","Librarian / Teacher Librarian":"teacher",Principal:"kdm","School Leadership":"kdm","Subject Lead":"teacher",Teacher:"teacher","SSO / SLSO":"teacher","Assistant Principal":"kdm","IT / IT Specialist":"kdm","Learning Support":"teacher","Learning Assistant":"teacher","Educational Assistant (EA)":"teacher","Learning Support Teacher / Resource Teacher":"teacher","Department Head / Manager":"teacher","Curriculum Coordinator / Consultant":"teacher","School Counsellor / Guidance Counsellor":"teacher","Vice-Principal":"kdm",Superintendent:"kdm","Director of Education":"kdm","Business Manager":"kdm",Professor:"kdm",Lecturer:"teacher","Course Coordinator / Administrator":"teacher","Digital Learning Manager":"teacher",Tutor:"teacher","Teaching Fellow":"teacher",Librarian:"teacher",Researcher:"teacher","Learning Technologist":"teacher","Teaching Assistant":"teacher"};var Xu=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Xu||{}),Os=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Os||{});const Kl={getInitials(e,t){let r="";return e!=null&&e.length&&(r=e[0]),t!=null&&t.length&&(r+=t[0]),r.toUpperCase()},getInitialsFromFullName(e){const t=(e==null?void 0:e.split(" "))??[];if(!t.length)return"";const r=t[0],n=t.length>1?t[1]:"";return Kl.getInitials(r,n)},getFullName(e){return e!=null&&e.name?`${(e==null?void 0:e.name)??""} ${(e==null?void 0:e.surname)??""}`.trim():""},getCommunityName(e){var t;return e!=null&&e.name?`${e.name} ${(t=e.surname)==null?void 0:t.slice(0,1)}`:""},getUserType(e){let t=e.userType;if(typeof t=="number")switch(t){case 0:t=Pd.Unknown;break;case 1:t=Pd.Staff;break;case 2:t=Pd.Learner;break;case 255:t=Pd.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Xu.Disabled;break;case 1:t=Xu.Active;break;case 2:t=Xu.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Xu.Disabled;break;case 1:e=Xu.Active;break;case 2:e=Xu.Inactive;break}return e},getUserRole(e){var r,n;let t;if("userProfiles"in e&&((n=(r=e.userProfiles)==null?void 0:r.data)!=null&&n[0])&&(t=e.userProfiles.data[0].role),"userProfile"in e&&e.userProfile&&(t=e.userProfile.role),!t)return Os.User;if(typeof t=="number")switch(t){case 16:t=Os.Guest;break;case 32:t=Os.User;break;case 48:t=Os.Admin;break;case 64:t=Os.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Os.User;if(typeof e=="number")switch(e){case 16:return Os.Guest;case 32:return Os.User;case 48:return Os.Admin;case 64:return Os.SuperAdmin;default:return Os.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Kl.getFullName(e)},getYearGroup(e){var t,r,n;return(t=e.masterYearGroup)!=null&&t.id?e.masterYearGroup:(n=(r=e.yearGroups)==null?void 0:r.data)!=null&&n.length?Xa.first(e.yearGroups.data):null},hasLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&r.isLegacy):!1},hasNonLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&!r.isLegacy):!1},hasSso(e){return Kl.hasLegacySso(e)||Kl.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in FC)FC.hasOwnProperty(n)&&(t[n.toLowerCase()]=FC[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Kl.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}},XRe="staff";async function QRe(e){try{return await Ka(e.store,zi.accessPolicy())}catch{return null}}const vae={async getUser(e){const t=await Ka(e.store,zi.currentUser());if(!t.isAuthenticated)return null;const r=Ka(e.store,hae.customer(t.customerId)),n=Ka(e.store,zi.user(t.id)),i=QRe(e);return vae.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const i=Kl.getUserType(t);return{id:e==null?void 0:e.id,countryCode:e==null?void 0:e.countryCode,contentRegion:e==null?void 0:e.contentRegion,instanceRegion:e==null?void 0:e.instanceRegion,customerId:e==null?void 0:e.customerId,customerGuid:r==null?void 0:r.customerGuid,customerName:e==null?void 0:e.customerName,crmId:r==null?void 0:r.crmId,role:e==null?void 0:e.role,sessionId:e==null?void 0:e.sessionId,userGroup:i,yearGroup:i===Pd.Staff?XRe:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},JRe={logError(e,...t){var r;gi.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&gi.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function ZRe(e,t){const r=await Ka(e.store,sf.config()),n=await Ka(e.store,sf.version()),i=await Ka(e.store,wu.customerSettings()),a=new tTe;Qs.registerSingleton(a),a.registerTransport(FRe),a.registerClient(jTe),a.registerClient(FTe,{productName:"analytics.web",productVersion:n,productVariant:exe(i),regionName:r.instanceRegion,collectionApiUrls:r.collectionApiUrls,collectionApiClientId:r.collectionApiClientId,getUser:()=>vae.getUser(e),shouldLog:aX.shouldLog,formatData:aX.formatData,logError:JRe.logError}),a.registerEnricher(MRe,{productName:"ClickView Analytics",productVersion:n}),t(e)}function exe(e){var t;return(t=e[wr.HasShareFlowV2])!=null&&t.value?"admins-only":"admins-and-teachers"}var pae=(e=>(e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1",e))(pae||{});const txe={[pae.US]:"en-us"};var ka=(e=>(e.ManageSubjectPreferences="subjects.preferences.manage",e.FollowSubjects="subjects.follow",e.ViewClassrooms="classrooms.view",e.ManageAllClassrooms="classrooms.manage.all",e.ShareToUsers="share.direct.users",e.ShareToClassrooms="share.direct.classrooms",e.ShareToClassroomGroups="share.direct.classroomgroups",e.CreateClassrooms="classrooms.create",e.DeleteClassrooms="classrooms.delete",e.StudentExperience="studentexperience",e.ManageUsers="users.manage",e.ManageIntegrations="integrations.manage",e.EditProfileDetails="profile.edit",e.ManageCustomerSettings="customersettings.manage",e.ManageLocalCache="localcache.manage",e.ManageVideoAccess="video.access.manage",e.ViewCustomerAnalytics="analytics.customeranalytics.view",e.ViewAnalyticsProduct="analytics.view",e.ManageShareLinkSettings="sharelink.settings.edit",e.ViewProductBoard="productboard.view",e.CanSubmitFeedback="feedback.submit",e.ViewTrialDuration="trial.duration.view",e.ViewTrialBanner="trial.banner.view",e.ViewTrialUpgrade="trial.upgrade.view",e.ViewInviteColleague="invitecolleague.view",e.UploadVideo="video.upload",e.FavouriteVideo="video.favourite",e.ViewVideoPointsOfInterest="video.pointsofinterest.view",e.ViewVideoGlance="video.glance.view",e.ViewVideoInteractives="video.interactives.view",e.ViewVideoClips="video.clips.view",e.ViewCurriculums="curriculums.view",e.ViewLibraries="libraries.view",e.ViewOnboarding="onboarding.view",e.Exchange="exchangetv.manage",e.Rostering="rostering.manage",e.ViewMoviesTv="moviestv.view",e.ViewDiscover="discover.view",e.ViewSearch="search.view",e.ViewMyShares="myshares.view",e.ViewInsights="insights.view",e.ViewRestrictedMode="restrictedmode.view",e.GuestExperience="guestexperience",e))(ka||{}),jC,sX;function rxe(){if(sX)return jC;sX=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(b){b!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(A){try{var R=e.call(A);return i.test(R)}catch{return!1}},o=function(A){try{return a(A)?!1:(e.call(A),!0)}catch{return!1}},s=Object.prototype.toString,l="[object Object]",c="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",v="[object HTML document.all class]",g="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var w=document.all;s.call(w)===s.call(document.all)&&(y=function(A){if((E||!A)&&(typeof A>"u"||typeof A=="object"))try{var R=s.call(A);return(R===h||R===v||R===g||R===l)&&A("")==null}catch{}return!1})}return jC=t?function(A){if(y(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{t(A,null,r)}catch(R){if(R!==n)return!1}return!a(A)&&o(A)}:function(A){if(y(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(S)return o(A);if(a(A))return!1;var R=s.call(A);return R!==c&&R!==d&&!/^\[object HTML/.test(R)?!1:o(A)},jC}var UC,uX;function nxe(){if(uX)return UC;uX=1;var e=rxe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(l,c,d){for(var h=0,v=l.length;h<v;h++)r.call(l,h)&&(d==null?c(l[h],h,l):c.call(d,l[h],h,l))},i=function(l,c,d){for(var h=0,v=l.length;h<v;h++)d==null?c(l.charAt(h),h,l):c.call(d,l.charAt(h),h,l)},a=function(l,c,d){for(var h in l)r.call(l,h)&&(d==null?c(l[h],h,l):c.call(d,l[h],h,l))};function o(s){return t.call(s)==="[object Array]"}return UC=function(l,c,d){if(!e(c))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),o(l)?n(l,c,h):typeof l=="string"?i(l,c,h):a(l,c,h)},UC}var qC,lX;function gae(){if(lX)return qC;lX=1;var e=function(){};return qC=e,qC}var VC,cX;function ixe(){if(cX)return VC;cX=1;var e={}.hasOwnProperty,t=Function.prototype.call;return VC=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},VC}var BC={exports:{}},HC,fX;function mae(){return fX||(fX=1,HC=Object),HC}var zC,dX;function axe(){return dX||(dX=1,zC=Error),zC}var WC,hX;function oxe(){return hX||(hX=1,WC=EvalError),WC}var GC,vX;function sxe(){return vX||(vX=1,GC=RangeError),GC}var YC,pX;function uxe(){return pX||(pX=1,YC=ReferenceError),YC}var KC,gX;function yae(){return gX||(gX=1,KC=SyntaxError),KC}var XC,mX;function Ch(){return mX||(mX=1,XC=TypeError),XC}var QC,yX;function lxe(){return yX||(yX=1,QC=URIError),QC}var JC,_X;function cxe(){return _X||(_X=1,JC=Math.abs),JC}var ZC,SX;function fxe(){return SX||(SX=1,ZC=Math.floor),ZC}var eA,EX;function dxe(){return EX||(EX=1,eA=Math.max),eA}var tA,wX;function hxe(){return wX||(wX=1,tA=Math.min),tA}var rA,bX;function vxe(){return bX||(bX=1,rA=Math.pow),rA}var nA,TX;function pxe(){return TX||(TX=1,nA=Math.round),nA}var iA,RX;function gxe(){return RX||(RX=1,iA=Number.isNaN||function(t){return t!==t}),iA}var aA,xX;function mxe(){if(xX)return aA;xX=1;var e=gxe();return aA=function(r){return e(r)||r===0?r:r<0?-1:1},aA}var oA,CX;function yxe(){return CX||(CX=1,oA=Object.getOwnPropertyDescriptor),oA}var sA,AX;function r0(){if(AX)return sA;AX=1;var e=yxe();if(e)try{e([],"length")}catch{e=null}return sA=e,sA}var uA,OX;function n0(){if(OX)return uA;OX=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return uA=e,uA}var lA,IX;function _xe(){return IX||(IX=1,lA=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),lA}var cA,PX;function Sxe(){if(PX)return cA;PX=1;var e=typeof Symbol<"u"&&Symbol,t=_xe();return cA=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},cA}var fA,DX;function _ae(){return DX||(DX=1,fA=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),fA}var dA,kX;function Sae(){if(kX)return dA;kX=1;var e=mae();return dA=e.getPrototypeOf||null,dA}var hA,NX;function Exe(){if(NX)return hA;NX=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var d=[],h=0;h<l.length;h+=1)d[h]=l[h];for(var v=0;v<c.length;v+=1)d[v+l.length]=c[v];return d},a=function(l,c){for(var d=[],h=c,v=0;h<l.length;h+=1,v+=1)d[v]=l[h];return d},o=function(s,l){for(var c="",d=0;d<s.length;d+=1)c+=s[d],d+1<s.length&&(c+=l);return c};return hA=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=a(arguments,1),h,v=function(){if(this instanceof h){var w=c.apply(this,i(d,arguments));return Object(w)===w?w:this}return c.apply(l,i(d,arguments))},g=r(0,c.length-d.length),S=[],E=0;E<g;E++)S[E]="$"+E;if(h=Function("binder","return function ("+o(S,",")+"){ return binder.apply(this,arguments); }")(v),c.prototype){var y=function(){};y.prototype=c.prototype,h.prototype=new y,y.prototype=null}return h},hA}var vA,LX;function qp(){if(LX)return vA;LX=1;var e=Exe();return vA=Function.prototype.bind||e,vA}var pA,MX;function ck(){return MX||(MX=1,pA=Function.prototype.call),pA}var gA,$X;function fk(){return $X||($X=1,gA=Function.prototype.apply),gA}var mA,FX;function wxe(){return FX||(FX=1,mA=typeof Reflect<"u"&&Reflect&&Reflect.apply),mA}var yA,jX;function Eae(){if(jX)return yA;jX=1;var e=qp(),t=fk(),r=ck(),n=wxe();return yA=n||e.call(r,t),yA}var _A,UX;function dk(){if(UX)return _A;UX=1;var e=qp(),t=Ch(),r=ck(),n=Eae();return _A=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},_A}var SA,qX;function bxe(){if(qX)return SA;qX=1;var e=dk(),t=r0(),r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return SA=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(s){return a(s==null?s:i(s))}:!1,SA}var EA,VX;function Txe(){if(VX)return EA;VX=1;var e=_ae(),t=Sae(),r=bxe();return EA=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,EA}var wA,BX;function Rxe(){if(BX)return wA;BX=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=qp();return wA=r.call(e,t),wA}var bA,HX;function hk(){if(HX)return bA;HX=1;var e,t=mae(),r=axe(),n=oxe(),i=sxe(),a=uxe(),o=yae(),s=Ch(),l=lxe(),c=cxe(),d=fxe(),h=dxe(),v=hxe(),g=vxe(),S=pxe(),E=mxe(),y=Function,w=function(B){try{return y('"use strict"; return ('+B+").constructor;")()}catch{}},b=r0(),A=n0(),R=function(){throw new s},C=b?(function(){try{return arguments.callee,R}catch{try{return b(arguments,"callee").get}catch{return R}}})():R,O=Sxe()(),m=Txe(),D=Sae(),k=_ae(),q=fk(),j=ck(),W={},K=typeof Uint8Array>"u"||!m?e:m(Uint8Array),X={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&m?m([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&m?m(m([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!m?e:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O||!m?e:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&m?m(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":C,"%TypedArray%":K,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":q,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":D,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":v,"%Math.pow%":g,"%Math.round%":S,"%Math.sign%":E,"%Reflect.getPrototypeOf%":k};if(m)try{null.error}catch(B){var Q=m(m(B));X["%Error.prototype%"]=Q}var J=function B(L){var H;if(L==="%AsyncFunction%")H=w("async function () {}");else if(L==="%GeneratorFunction%")H=w("function* () {}");else if(L==="%AsyncGeneratorFunction%")H=w("async function* () {}");else if(L==="%AsyncGenerator%"){var ne=B("%AsyncGeneratorFunction%");ne&&(H=ne.prototype)}else if(L==="%AsyncIteratorPrototype%"){var ce=B("%AsyncGenerator%");ce&&m&&(H=m(ce.prototype))}return X[L]=H,H},re={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=qp(),N=Rxe(),U=$.call(j,Array.prototype.concat),ee=$.call(q,Array.prototype.splice),te=$.call(j,String.prototype.replace),de=$.call(j,String.prototype.slice),Se=$.call(j,RegExp.prototype.exec),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,I=function(L){var H=de(L,0,1),ne=de(L,-1);if(H==="%"&&ne!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(ne==="%"&&H!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var ce=[];return te(L,xe,function(we,_e,Oe,Re){ce[ce.length]=Oe?te(Re,ue,"$1"):_e||we}),ce},P=function(L,H){var ne=L,ce;if(N(re,ne)&&(ce=re[ne],ne="%"+ce[0]+"%"),N(X,ne)){var we=X[ne];if(we===W&&(we=J(ne)),typeof we>"u"&&!H)throw new s("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:ce,name:ne,value:we}}throw new o("intrinsic "+L+" does not exist!")};return bA=function(L,H){if(typeof L!="string"||L.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof H!="boolean")throw new s('"allowMissing" argument must be a boolean');if(Se(/^%?[^%]*%?$/,L)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ne=I(L),ce=ne.length>0?ne[0]:"",we=P("%"+ce+"%",H),_e=we.name,Oe=we.value,Re=!1,Ie=we.alias;Ie&&(ce=Ie[0],ee(ne,U([0,1],Ie)));for(var $e=1,me=!0;$e<ne.length;$e+=1){var be=ne[$e],Te=de(be,0,1),Ne=de(be,-1);if((Te==='"'||Te==="'"||Te==="`"||Ne==='"'||Ne==="'"||Ne==="`")&&Te!==Ne)throw new o("property names with quotes must have matching quotes");if((be==="constructor"||!me)&&(Re=!0),ce+="."+be,_e="%"+ce+"%",N(X,_e))Oe=X[_e];else if(Oe!=null){if(!(be in Oe)){if(!H)throw new s("base intrinsic for "+L+" exists, but the property is not available.");return}if(b&&$e+1>=ne.length){var Ve=b(Oe,be);me=!!Ve,me&&"get"in Ve&&!("originalValue"in Ve.get)?Oe=Ve.get:Oe=Oe[be]}else me=N(Oe,be),Oe=Oe[be];me&&!Re&&(X[_e]=Oe)}}return Oe},bA}var TA,zX;function vk(){if(zX)return TA;zX=1;var e=n0(),t=yae(),r=Ch(),n=r0();return TA=function(a,o,s){if(!a||typeof a!="object"&&typeof a!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,v=!!n&&n(a,o);if(e)e(a,o,{configurable:d===null&&v?v.configurable:!d,enumerable:l===null&&v?v.enumerable:!l,value:s,writable:c===null&&v?v.writable:!c});else if(h||!l&&!c&&!d)a[o]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},TA}var RA,WX;function pk(){if(WX)return RA;WX=1;var e=n0(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},RA=t,RA}var xA,GX;function xxe(){if(GX)return xA;GX=1;var e=hk(),t=vk(),r=pk()(),n=r0(),i=Ch(),a=e("%Math.floor%");return xA=function(s,l){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||a(l)!==l)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in s&&n){var v=n(s,"length");v&&!v.configurable&&(d=!1),v&&!v.writable&&(h=!1)}return(d||h||!c)&&(r?t(s,"length",l,!0,!0):t(s,"length",l)),s},xA}var CA,YX;function Cxe(){if(YX)return CA;YX=1;var e=qp(),t=fk(),r=Eae();return CA=function(){return r(e,t,arguments)},CA}var KX;function Axe(){return KX||(KX=1,(function(e){var t=xxe(),r=n0(),n=dk(),i=Cxe();e.exports=function(o){var s=n(arguments),l=o.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(BC)),BC.exports}var AA,XX;function wae(){if(XX)return AA;XX=1;var e=Object.prototype.toString;return AA=function(r){var n=e.call(r),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),i},AA}var OA,QX;function Oxe(){if(QX)return OA;QX=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=wae(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(v){var g=v.constructor;return g&&g.prototype===v},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=(function(){if(typeof window>"u")return!1;for(var v in window)try{if(!c["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{l(window[v])}catch{return!0}}catch{return!0}return!1})(),h=function(v){if(typeof window>"u"||!d)return l(v);try{return l(v)}catch{return!1}};e=function(g){var S=g!==null&&typeof g=="object",E=r.call(g)==="[object Function]",y=n(g),w=S&&r.call(g)==="[object String]",b=[];if(!S&&!E&&!y)throw new TypeError("Object.keys called on a non-object");var A=o&&E;if(w&&g.length>0&&!t.call(g,0))for(var R=0;R<g.length;++R)b.push(String(R));if(y&&g.length>0)for(var C=0;C<g.length;++C)b.push(String(C));else for(var O in g)!(A&&O==="prototype")&&t.call(g,O)&&b.push(String(O));if(a)for(var m=h(g),D=0;D<s.length;++D)!(m&&s[D]==="constructor")&&t.call(g,s[D])&&b.push(s[D]);return b}}return OA=e,OA}var IA,JX;function Ixe(){if(JX)return IA;JX=1;var e=Array.prototype.slice,t=wae(),r=Object.keys,n=r?function(o){return r(o)}:Oxe(),i=Object.keys;return n.shim=function(){if(Object.keys){var o=(function(){var s=Object.keys(arguments);return s&&s.length===arguments.length})(1,2);o||(Object.keys=function(l){return t(l)?i(e.call(l)):i(l)})}else Object.keys=n;return Object.keys||n},IA=n,IA}var PA,ZX;function Pxe(){if(ZX)return PA;ZX=1;var e=Ixe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=vk(),a=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},o=pk()(),s=function(c,d,h,v){if(d in c){if(v===!0){if(c[d]===h)return}else if(!a(v)||!v())return}o?i(c,d,h,!0):i(c,d,h)},l=function(c,d){var h=arguments.length>2?arguments[2]:{},v=e(d);t&&(v=n.call(v,Object.getOwnPropertySymbols(d)));for(var g=0;g<v.length;g+=1)s(c,v[g],d[v[g]],h[v[g]])};return l.supportsDescriptors=!!o,PA=l,PA}var DA,eQ;function bae(){if(eQ)return DA;eQ=1;var e=Ch();return DA=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},DA}var kA,tQ;function Dxe(){if(tQ)return kA;tQ=1;var e=hk(),t=e("%String%"),r=Ch();return kA=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},kA}var NA,rQ;function kxe(){if(rQ)return NA;rQ=1;var e=hk(),t=dk(),r=t([e("%String.prototype.indexOf%")]);return NA=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},NA}var LA,nQ;function Tae(){if(nQ)return LA;nQ=1;var e=bae(),t=Dxe(),r=kxe(),n=r("String.prototype.replace"),i=/^\s$/.test("᠎"),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return LA=function(){var l=t(e(this));return n(n(l,a,""),o,"")},LA}var MA,iQ;function Rae(){if(iQ)return MA;iQ=1;var e=Tae(),t="​",r="᠎";return MA=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},MA}var $A,aQ;function Nxe(){if(aQ)return $A;aQ=1;var e=pk()(),t=vk(),r=Rae();return $A=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},$A}var FA,oQ;function Lxe(){if(oQ)return FA;oQ=1;var e=Axe(),t=Pxe(),r=bae(),n=Tae(),i=Rae(),a=Nxe(),o=e(i()),s=function(c){return r(c),o(c)};return t(s,{getPolyfill:i,implementation:n,shim:a}),FA=s,FA}var jA,sQ;function Mxe(){if(sQ)return jA;sQ=1;var e=nxe(),t=gae(),r=ixe(),n=Lxe(),i=function(O){t(!1,O)},a=String.prototype.replace,o=String.prototype.split,s="||||",l=function(C){var O=C%10;return C!==11&&O===1?0:2<=O&&O<=4&&!(C>=12&&C<=14)?1:2},c={arabic:function(C){if(C<3)return C;var O=C%100;return O>=3&&O<=10?3:O>=11?4:5},bosnian_serbian:l,chinese:function(){return 0},croatian:l,french:function(C){return C>1?1:0},german:function(C){return C!==1?1:0},russian:l,lithuanian:function(C){return C%10===1&&C%100!==11?0:C%10>=2&&C%10<=9&&(C%100<11||C%100>19)?1:2},czech:function(C){return C===1?0:C>=2&&C<=4?1:2},polish:function(C){if(C===1)return 0;var O=C%10;return 2<=O&&O<=4&&(C%100<10||C%100>=20)?1:2},icelandic:function(C){return C%10!==1||C%100===11?1:0},slovenian:function(C){var O=C%100;return O===1?0:O===2?1:O===3||O===4?2:3}},d={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function h(C){var O={};return e(C,function(m,D){e(m,function(k){O[k]=D})}),O}function v(C){var O=h(d);return O[C]||O[o.call(C,/-/,1)[0]]||O.en}function g(C,O){return c[v(C)](O)}function S(C){return C.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(C){var O=C&&C.prefix||"%{",m=C&&C.suffix||"}";if(O===s||m===s)throw new RangeError('"'+s+'" token is reserved for pluralization');return new RegExp(S(O)+"(.*?)"+S(m),"g")}var y=/\$/g,w="$$",b=/%\{(.*?)\}/g;function A(C,O,m,D){if(typeof C!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return C;var k=C,q=D||b,j=typeof O=="number"?{smart_count:O}:O;if(j.smart_count!=null&&k){var W=o.call(k,s);k=n(W[g(m||"en",j.smart_count)]||W[0])}return k=a.call(k,q,function(K,X){return!r(j,X)||j[X]==null?K:a.call(j[X],y,w)}),k}function R(C){var O=C||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var m=O.allowMissing?A:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:m,this.warn=O.warn||i,this.tokenRegex=E(O.interpolation)}return R.prototype.locale=function(C){return C&&(this.currentLocale=C),this.currentLocale},R.prototype.extend=function(C,O){e(C,function(m,D){var k=O?O+"."+D:D;typeof m=="object"?this.extend(m,k):this.phrases[k]=m},this)},R.prototype.unset=function(C,O){typeof C=="string"?delete this.phrases[C]:e(C,function(m,D){var k=O?O+"."+D:D;typeof m=="object"?this.unset(m,k):delete this.phrases[k]},this)},R.prototype.clear=function(){this.phrases={}},R.prototype.replace=function(C){this.clear(),this.extend(C)},R.prototype.t=function(C,O){var m,D,k=O??{};if(typeof this.phrases[C]=="string")m=this.phrases[C];else if(typeof k._=="string")m=k._;else if(this.onMissingKey){var q=this.onMissingKey;D=q(C,k,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+C+'"'),D=C;return typeof m=="string"&&(D=A(m,k,this.currentLocale,this.tokenRegex)),D},R.prototype.has=function(C){return r(this.phrases,C)},R.transformPhrase=function(O,m,D){return A(O,m,D)},jA=R,jA}var $xe=Mxe();const Fxe=Bn($xe),Vp={ALERT:"AlertService",LANGUAGE:"LanguageService"};var Bp=Object.freeze||function(e){return e},uQ=Bp(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lQ=Bp(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),cQ=Bp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fQ=Bp(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),dQ=Bp(["#text"]),i0=Object.freeze||function(e){return e},hQ=i0(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),UA=i0(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),vQ=i0(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),am=i0(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jxe=Object.hasOwnProperty,pQ=Object.setPrototypeOf,Uxe=typeof Reflect<"u"&&Reflect,UI=Uxe.apply;UI||(UI=function(t,r,n){return t.apply(r,n)});function ri(e,t){pQ&&pQ(e,null);for(var r=t.length;r--;){var n=t[r];if(typeof n=="string"){var i=n.toLowerCase();i!==n&&(Object.isFrozen(t)||(t[r]=i),n=i)}e[n]=!0}return e}function qA(e){var t={},r=void 0;for(r in e)UI(jxe,e,[r])&&(t[r]=e[r]);return t}var Mf=Object.seal||function(e){return e},qxe=Mf(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Vxe=Mf(/<%[\s\S]*|[\s\S]*%>/gm),Bxe=Mf(/^data-[\-\w.\u00B7-\uFFFF]/),Hxe=Mf(/^aria-[\-\w]+$/),zxe=Mf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wxe=Mf(/^(?:\w+script|data):/i),Gxe=Mf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),xv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function gu(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Yxe=typeof Reflect<"u"&&Reflect,qI=Yxe.apply,Kxe=Array.prototype.slice,gQ=Object.freeze,Xxe=function(){return typeof window>"u"?null:window};qI||(qI=function(t,r,n){return t.apply(r,n)});var Qxe=function(t,r){if((typeof t>"u"?"undefined":xv(t))!=="object"||typeof t.createPolicy!="function")return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function xae(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xxe(),t=function(Ce){return xae(Ce)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,i=!1,a=e.document,o=e.DocumentFragment,s=e.HTMLTemplateElement,l=e.Node,c=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,v=e.Text,g=e.Comment,S=e.DOMParser,E=e.TrustedTypes;if(typeof s=="function"){var y=a.createElement("template");y.content&&y.content.ownerDocument&&(a=y.content.ownerDocument)}var w=Qxe(E,r),b=w?w.createHTML(""):"",A=a,R=A.implementation,C=A.createNodeIterator,O=A.getElementsByTagName,m=A.createDocumentFragment,D=r.importNode,k={};t.isSupported=R&&typeof R.createHTMLDocument<"u"&&a.documentMode!==9;var q=qxe,j=Vxe,W=Bxe,K=Hxe,X=Wxe,Q=Gxe,J=zxe,re=null,$=ri({},[].concat(gu(uQ),gu(lQ),gu(cQ),gu(fQ),gu(dQ))),N=null,U=ri({},[].concat(gu(hQ),gu(UA),gu(vQ),gu(am))),ee=null,te=null,de=!0,Se=!0,xe=!1,ue=!1,I=!1,P=!1,B=!1,L=!1,H=!1,ne=!1,ce=!1,we=!1,_e=!0,Oe=!0,Re=!1,Ie={},$e=ri({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),me=ri({},["audio","video","img","source","image"]),be=null,Te=ri({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ne=null,Ve=a.createElement("form"),qe=function(Ce){Ne&&Ne===Ce||((!Ce||(typeof Ce>"u"?"undefined":xv(Ce))!=="object")&&(Ce={}),re="ALLOWED_TAGS"in Ce?ri({},Ce.ALLOWED_TAGS):$,N="ALLOWED_ATTR"in Ce?ri({},Ce.ALLOWED_ATTR):U,be="ADD_URI_SAFE_ATTR"in Ce?ri(qA(Te),Ce.ADD_URI_SAFE_ATTR):Te,ee="FORBID_TAGS"in Ce?ri({},Ce.FORBID_TAGS):{},te="FORBID_ATTR"in Ce?ri({},Ce.FORBID_ATTR):{},Ie="USE_PROFILES"in Ce?Ce.USE_PROFILES:!1,de=Ce.ALLOW_ARIA_ATTR!==!1,Se=Ce.ALLOW_DATA_ATTR!==!1,xe=Ce.ALLOW_UNKNOWN_PROTOCOLS||!1,ue=Ce.SAFE_FOR_JQUERY||!1,I=Ce.SAFE_FOR_TEMPLATES||!1,P=Ce.WHOLE_DOCUMENT||!1,H=Ce.RETURN_DOM||!1,ne=Ce.RETURN_DOM_FRAGMENT||!1,ce=Ce.RETURN_DOM_IMPORT||!1,we=Ce.RETURN_TRUSTED_TYPE||!1,L=Ce.FORCE_BODY||!1,_e=Ce.SANITIZE_DOM!==!1,Oe=Ce.KEEP_CONTENT!==!1,Re=Ce.IN_PLACE||!1,J=Ce.ALLOWED_URI_REGEXP||J,I&&(Se=!1),ne&&(H=!0),Ie&&(re=ri({},[].concat(gu(dQ))),N=[],Ie.html===!0&&(ri(re,uQ),ri(N,hQ)),Ie.svg===!0&&(ri(re,lQ),ri(N,UA),ri(N,am)),Ie.svgFilters===!0&&(ri(re,cQ),ri(N,UA),ri(N,am)),Ie.mathMl===!0&&(ri(re,fQ),ri(N,vQ),ri(N,am))),Ce.ADD_TAGS&&(re===$&&(re=qA(re)),ri(re,Ce.ADD_TAGS)),Ce.ADD_ATTR&&(N===U&&(N=qA(N)),ri(N,Ce.ADD_ATTR)),Ce.ADD_URI_SAFE_ATTR&&ri(be,Ce.ADD_URI_SAFE_ATTR),Oe&&(re["#text"]=!0),P&&ri(re,["html","head","body"]),re.table&&(ri(re,["tbody"]),delete ee.tbody),gQ&&gQ(Ce),Ne=Ce)},Ge=function(Ce){t.removed.push({element:Ce});try{Ce.parentNode.removeChild(Ce)}catch{Ce.outerHTML=b}},ct=function(Ce,Ze){try{t.removed.push({attribute:Ze.getAttributeNode(Ce),from:Ze})}catch{t.removed.push({attribute:null,from:Ze})}Ze.removeAttribute(Ce)},Ut=function(Ce){var Ze=void 0,ut=void 0;if(L)Ce="<remove></remove>"+Ce;else{var wt=Ce.match(/^[\s]+/);ut=wt&&wt[0],ut&&(Ce=Ce.slice(ut.length))}if(n)try{Ze=new S().parseFromString(Ce,"text/html")}catch{}if(i&&ri(ee,["title"]),!Ze||!Ze.documentElement){Ze=R.createHTMLDocument("");var Nt=Ze,nr=Nt.body;nr.parentNode.removeChild(nr.parentNode.firstElementChild),nr.outerHTML=w?w.createHTML(Ce):Ce}return Ce&&ut&&Ze.body.insertBefore(a.createTextNode(ut),Ze.body.childNodes[0]||null),O.call(Ze,P?"html":"body")[0]};t.isSupported&&((function(){try{var Lt=Ut('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Lt.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var Lt=Ut("<x/><title>&lt;/title&gt;&lt;img&gt;");/<\/title/.test(Lt.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Wt=function(Ce){return C.call(Ce.ownerDocument||Ce,Ce,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,function(){return c.FILTER_ACCEPT},!1)},Je=function(Ce){return Ce instanceof v||Ce instanceof g?!1:typeof Ce.nodeName!="string"||typeof Ce.textContent!="string"||typeof Ce.removeChild!="function"||!(Ce.attributes instanceof h)||typeof Ce.removeAttribute!="function"||typeof Ce.setAttribute!="function"||typeof Ce.namespaceURI!="string"},Rt=function(Ce){return(typeof l>"u"?"undefined":xv(l))==="object"?Ce instanceof l:Ce&&(typeof Ce>"u"?"undefined":xv(Ce))==="object"&&typeof Ce.nodeType=="number"&&typeof Ce.nodeName=="string"},_t=function(Ce,Ze,ut){k[Ce]&&k[Ce].forEach(function(wt){wt.call(t,Ze,ut,Ne)})},st=function(Ce){var Ze=void 0;if(_t("beforeSanitizeElements",Ce,null),Je(Ce))return Ge(Ce),!0;var ut=Ce.nodeName.toLowerCase();if(_t("uponSanitizeElement",Ce,{tagName:ut,allowedTags:re}),(ut==="svg"||ut==="math")&&Ce.querySelectorAll("p, br").length!==0)return Ge(Ce),!0;if(!re[ut]||ee[ut]){if(Oe&&!$e[ut]&&typeof Ce.insertAdjacentHTML=="function")try{var wt=Ce.innerHTML;Ce.insertAdjacentHTML("AfterEnd",w?w.createHTML(wt):wt)}catch{}return Ge(Ce),!0}return ut==="noscript"&&/<\/noscript/i.test(Ce.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Ce.innerHTML)?(Ge(Ce),!0):(ue&&!Ce.firstElementChild&&(!Ce.content||!Ce.content.firstElementChild)&&/</g.test(Ce.textContent)&&(t.removed.push({element:Ce.cloneNode()}),Ce.innerHTML?Ce.innerHTML=Ce.innerHTML.replace(/</g,"&lt;"):Ce.innerHTML=Ce.textContent.replace(/</g,"&lt;")),I&&Ce.nodeType===3&&(Ze=Ce.textContent,Ze=Ze.replace(q," "),Ze=Ze.replace(j," "),Ce.textContent!==Ze&&(t.removed.push({element:Ce.cloneNode()}),Ce.textContent=Ze)),_t("afterSanitizeElements",Ce,null),!1)},rt=function(Ce,Ze,ut){if(_e&&(Ze==="id"||Ze==="name")&&(ut in a||ut in Ve))return!1;if(!(Se&&W.test(Ze))){if(!(de&&K.test(Ze))){if(!N[Ze]||te[Ze])return!1;if(!be[Ze]){if(!J.test(ut.replace(Q,""))){if(!((Ze==="src"||Ze==="xlink:href"||Ze==="href")&&Ce!=="script"&&ut.indexOf("data:")===0&&me[Ce])){if(!(xe&&!X.test(ut.replace(Q,"")))){if(ut)return!1}}}}}}return!0},dt=function(Ce){var Ze=void 0,ut=void 0,wt=void 0,Nt=void 0,nr=void 0;_t("beforeSanitizeAttributes",Ce,null);var mr=Ce.attributes;if(mr){var ir={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:N};for(nr=mr.length;nr--;){Ze=mr[nr];var Sr=Ze,jr=Sr.name,Wr=Sr.namespaceURI;if(ut=Ze.value.trim(),wt=jr.toLowerCase(),ir.attrName=wt,ir.attrValue=ut,ir.keepAttr=!0,_t("uponSanitizeAttribute",Ce,ir),ut=ir.attrValue,wt==="name"&&Ce.nodeName==="IMG"&&mr.id)Nt=mr.id,mr=qI(Kxe,mr,[]),ct("id",Ce),ct(jr,Ce),mr.indexOf(Nt)>nr&&Ce.setAttribute("id",Nt.value);else{if(Ce.nodeName==="INPUT"&&wt==="type"&&ut==="file"&&ir.keepAttr&&(N[wt]||!te[wt]))continue;jr==="id"&&Ce.setAttribute(jr,""),ct(jr,Ce)}if(ir.keepAttr){if(/svg|math/i.test(Ce.namespaceURI)&&new RegExp("</("+Object.keys($e).join("|")+")","i").test(ut)){ct(jr,Ce);continue}I&&(ut=ut.replace(q," "),ut=ut.replace(j," "));var Hn=Ce.nodeName.toLowerCase();if(rt(Hn,wt,ut))try{Wr?Ce.setAttributeNS(Wr,jr,ut):Ce.setAttribute(jr,ut),t.removed.pop()}catch{}}}_t("afterSanitizeAttributes",Ce,null)}},Yt=function Lt(Ce){var Ze=void 0,ut=Wt(Ce);for(_t("beforeSanitizeShadowDOM",Ce,null);Ze=ut.nextNode();)_t("uponSanitizeShadowNode",Ze,null),!st(Ze)&&(Ze.content instanceof o&&Lt(Ze.content),dt(Ze));_t("afterSanitizeShadowDOM",Ce,null)};return t.sanitize=function(Lt,Ce){var Ze=void 0,ut=void 0,wt=void 0,Nt=void 0,nr=void 0;if(Lt||(Lt="<!-->"),typeof Lt!="string"&&!Rt(Lt)){if(typeof Lt.toString!="function")throw new TypeError("toString is not a function");if(Lt=Lt.toString(),typeof Lt!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(xv(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Lt=="string")return e.toStaticHTML(Lt);if(Rt(Lt))return e.toStaticHTML(Lt.outerHTML)}return Lt}if(B||qe(Ce),t.removed=[],!Re)if(Lt instanceof l)Ze=Ut("<!-->"),ut=Ze.ownerDocument.importNode(Lt,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Ze=ut:Ze.appendChild(ut);else{if(!H&&!I&&!P&&we&&Lt.indexOf("<")===-1)return w?w.createHTML(Lt):Lt;if(Ze=Ut(Lt),!Ze)return H?null:b}Ze&&L&&Ge(Ze.firstChild);for(var mr=Wt(Re?Lt:Ze);wt=mr.nextNode();)wt.nodeType===3&&wt===Nt||st(wt)||(wt.content instanceof o&&Yt(wt.content),dt(wt),Nt=wt);if(Nt=null,Re)return Lt;if(H){if(ne)for(nr=m.call(Ze.ownerDocument);Ze.firstChild;)nr.appendChild(Ze.firstChild);else nr=Ze;return ce&&(nr=D.call(r,nr,!0)),nr}var ir=P?Ze.outerHTML:Ze.innerHTML;return I&&(ir=ir.replace(q," "),ir=ir.replace(j," ")),w&&we?w.createHTML(ir):ir},t.setConfig=function(Lt){qe(Lt),B=!0},t.clearConfig=function(){Ne=null,B=!1},t.isValidAttribute=function(Lt,Ce,Ze){Ne||qe({});var ut=Lt.toLowerCase(),wt=Ce.toLowerCase();return rt(ut,wt,Ze)},t.addHook=function(Lt,Ce){typeof Ce=="function"&&(k[Lt]=k[Lt]||[],k[Lt].push(Ce))},t.removeHook=function(Lt){k[Lt]&&k[Lt].pop()},t.removeHooks=function(Lt){k[Lt]&&(k[Lt]=[])},t.removeAllHooks=function(){k={}},t}var VI=xae();const Jxe=/&/g,Zxe=/[\W]+/g,eCe=/\s+/g,Dd={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"};function i(a){return n[a]}if(typeof e!="string"){if(e===null)return"";if(!e)return e+"";e=""+e}return r.test(e)?e.replace(t,i):e},escapeRegExp(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify(e){if(e)return e.toLowerCase().replace(Jxe,"and").replace(Zxe," ").trim().replace(eCe,"-").substr(0,80)},isEqual(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase(e){return e?e.split(" ").map(t=>{const r=t[0]?t[0].toUpperCase():"",n=t.substr(1)?t.substr(1).toLowerCase():"";return r+n}).join(" "):""},toSentenceCase(e){return e?e.split(" ").map((t,r)=>{const n=t[0]?t[0].toUpperCase():"",i=t.substr(1)?t.substr(1).toLowerCase():"";return r===0?n+i:t}).join(" "):""},sanitize(e){return e===0?"0":e?VI.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&amp;","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class tCe extends Bo{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return Vp.LANGUAGE}setConfig(t){this.polyglot=new Fxe({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={},this.initialized=!0}isInitialised(){return this.initialized}getPhrase(t,r,n){const i=`${t}.${r}`;if(this.polyglot||vr.throw(new xn("LanguageService config must be set.")),!this.polyglot.has(i)){if(!B_.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new xn(`No phrase set for ${i} in language config.`))}if(!n||Yv(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const a=$_(n,"smartCount","escapeText"),o={};for(const d in a){let h=Dd.sanitize(a[d]);n.escapeText&&(h=Dd.escapeExpression(h)),o[d]=h}Md(n.smartCount)&&(o.smart_count=n.smartCount);const s=`${i}:${vc({...o}).join(":")}`,l=this.cache[s];if(l)return l;const c=this.polyglot.t(i,o);return this.cache[s]=c,c}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const pr=tCe.Instance;class $f extends q_{get name(){return"ErrorPageError"}}const VA="shared.unspecifiedError";class uf extends $f{constructor(){super(pr.getPhrase(VA,"title"))}get name(){return"UnspecifiedError"}get heading(){return pr.getPhrase(VA,"heading")}get description(){return pr.getPhrase(VA,"description")}get cta(){return!1}}const rCe="modulepreload",nCe=function(e){return"/"+e},mQ={},yn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(r.map(l=>{if(l=nCe(l),l in mQ)return;mQ[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":rCe,c||(h.as="script"),h.crossOrigin="",h.href=l,s&&h.setAttribute("nonce",s),document.head.appendChild(h),c)return new Promise((v,g)=>{h.addEventListener("load",v),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function a(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return i.then(o=>{for(const s of o||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};var BA={exports:{}},sv={};/**
115
- * @license React
116
- * react-jsx-runtime.production.min.js
117
- *
118
- * Copyright (c) Facebook, Inc. and its affiliates.
119
- *
120
- * This source code is licensed under the MIT license found in the
121
- * LICENSE file in the root directory of this source tree.
122
- */var yQ;function iCe(){if(yQ)return sv;yQ=1;var e=Ho(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),l.key!==void 0&&(v=""+l.key),l.ref!==void 0&&(g=l.ref);for(d in l)n.call(l,d)&&!a.hasOwnProperty(d)&&(h[d]=l[d]);if(s&&s.defaultProps)for(d in l=s.defaultProps,l)h[d]===void 0&&(h[d]=l[d]);return{$$typeof:t,type:s,key:v,ref:g,props:h,_owner:i.current}}return sv.Fragment=r,sv.jsx=o,sv.jsxs=o,sv}var _Q;function aCe(){return _Q||(_Q=1,BA.exports=iCe()),BA.exports}var V=aCe();class ou extends awe{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],a=o=>Lr.Radio.channel(kn.ALERT).trigger("remove:alert",o);this.layout.showChildView(this.layoutOptions.options.alertRegion,V.jsx(r,{alerts:i,removeAlert:a}))}}let HA=!1,zA=!1,WA=!1,GA=!0,YA=!0;class oCe extends Bo{get name(){return"LayoutHelper"}shouldHideNav(){return HA}disableNav(){HA=!0}enableNav(){HA=!1}shouldHideHeader(){return zA}disableHeader(){zA=!0}enableHeader(){zA=!1}lockContentWidth(){WA=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){WA=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!WA}shouldShowSearch(){return YA}enableSearch(){YA=!0}disableSearch(){YA=!1}enableLogoClick(){GA=!0}disableLogoClick(){GA=!1}shouldAllowLogoClick(){return GA}}const mi=new oCe,Fr={CONTENT:"content",POPUP:"popup",ALERT:"alert"},gs={REPORTS_LAYOUT:"ReportsLayout"},dr={CLIPS:"clips:application",DASHBOARD:"dashboard:application",DEFAULT:"default:application",INTERACTIVES:"interactives:application",LOGINS:"logins:application",VIDEOS:"videos:application"};var No=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(No||{});const a0={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:cl.PRODUCTS}}},sCe={Language:"LanguageDataService"},Cae={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},uCe=5,lCe=3;let cCe=class extends Bo{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return Cae.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(kn.SHELL,Nn.ROUTE,this.setContext),this.listenTo(kn.SHELL,Nn.ROUTE,this.updateRouteHistory)}setContext(t){var r;Kn.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=uCe&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t}))}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}getPreviousContext(){if(!(!this.contextHistory.length||this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}updateRouteHistory(t){var n;Kn.getHref(t)&&(Kn.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=lCe&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t})))}getCurrentRoute(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}getPreviousRoute(){if(!(!this.routeHistory.length||this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}fromPageLoad(){return this.contextHistory.length===1}_forcePushContext(t){this.setContext(t),this.updateRouteHistory(t)}};const gc=new cCe,Zr={Default:{LOG_IN:"log:in",LOG_OUT:"log:out",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",NO_CLASSROOMS_ERROR:"no:classrooms:error",SHARE:"share",GENERATE_REPORT:"generate:report",GIVE_FEEDBACK:"give:feedback",UPLOAD_IMAGE:"upload:image",REMOVE_LOGO:"remove:logo"},Dashboard:{HOME:"index"},Interactives:{HOME:"index",OVERVIEW:"overview",ENGAGEMENT:"engagement",RESULTS:"results",QUESTION_LIST:"question:list",STUDENT_RESULTS:"student:results",GENERATE_REPORT:"generate:report"},Videos:{HOME:"index",VIEWS:"views",OVERVIEW:"overview",ENGAGEMENT:"engagement",TOP_VIDEOS:"top:videos",VIDEO_VIEWS:"video:views",INTERACTIVE_VIEWS:"interactive:views",CLIP_VIEWS:"clip:views"},Clips:{OVERVIEW:"overview",ENGAGEMENT:"engagement"},Logins:{HOME:"index"}},fCe="reportsShared.noAccess",SQ=pr.encloseNamespace(fCe);class dCe extends $f{constructor(){super("Current user does not have access to analytics")}get name(){return"NoAccessError"}get heading(){return SQ("heading")}get description(){return SQ("body")}get cta(){return!1}}const hCe=[{application:dr.DEFAULT,action:Zr.Default.ERROR},{application:dr.DEFAULT,action:Zr.Default.DEV_ERROR}];function EQ(e,t){gc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new uf)}async function su(e,t){const{appLink:r,shell:n}=e;if(hCe.find(s=>s.application===(r==null?void 0:r.application)&&s.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Zc(n.store,a0.userProducts())}catch{return EQ(r)}const a=i.some(s=>s.id===No.Analytics),o=i.some(s=>s.id===No.Primary);if(a&&o){t(e);return}EQ(r,new dCe)}var qn=(e=>(e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience",e[e.TallPoster=60]="TallPoster",e[e.Classroom=67]="Classroom",e[e.ClassroomGroup=68]="ClassroomGroup",e[e.UserProfile=74]="UserProfile",e))(qn||{});const Aae={getPrimaryObjectUrl(e,t){let r="";switch(t.typeId){case qn.Video:r=`/videos/${t.id}/${Dd.slugify(t.name)}`;break;case qn.Interactive:r=`/interactive/${t.id}/preview`;break;case qn.Clip:r=`/clips/${t.id}/${Dd.slugify(t.name)}`;break;case qn.Series:r=`/series/${t.id}/${Dd.slugify(t.name)}`;break;case qn.Playlist:r=`/playlists/${t.id}/${Dd.slugify(t.name)}`;break}if(!r)return;const n=new URL(e.url);return n.pathname=r,n.href},getPrimarySearchUrl(e,t){const r=new URL(e.url);return r.pathname="search",r.search=`query=${t}`,r.href},getLiteClassroomsUrl(e){const t=new URL(e.url);return t.pathname="/classrooms",t.href},getSharesUrl(e){const t=new URL(e.url);return t.pathname="/shares",t.href}},vCe="reportsShared.insightsError",KA=pr.encloseNamespace(vCe);class pCe extends $f{constructor(t){super("Current user is not an admin and has Insights"),this.liteProduct=t}get name(){return"InsightsErrorError"}get heading(){return KA("heading")}get description(){return KA("body")}get cta(){const t=!!this.liteProduct&&Aae.getSharesUrl(this.liteProduct);return t?{url:t,text:KA("cta")}:!1}}const gCe=[{application:dr.DEFAULT,action:Zr.Default.ERROR},{application:dr.DEFAULT,action:Zr.Default.DEV_ERROR}];function wQ(e,t){gc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new uf)}async function uu(e,t){var i;const{appLink:r,shell:n}=e;if(gCe.find(a=>a.application===(r==null?void 0:r.application)&&a.action===(r==null?void 0:r.action))){t(e);return}try{const a=Zc(n.store,zi.permissions()),o=Zc(n.store,a0.userProducts()),s=await Zc(n.store,wu.customerSettings()),l=await a,c=await o;if(l!=null&&l[ka.ViewCustomerAnalytics]){t(e);return}if(!((i=s[wr.HasShareFlowV2])!=null&&i.value)){t(e);return}wQ(r,new pCe(c.find(d=>d.id===No.Primary)))}catch{wQ(r)}}const lf={classroom(e){return{url:`{gateway}/v1/objects/${e}`,key:`classroom:${e}`}},classroomGroup(e){return{url:`{gateway}/v1/objects/${e}?query=classroom`,key:`classroom:group:${e}:classroom`}},getClassroomsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classrooms:${e.join(",")}`}},getClassroomGroupsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classroom:groups:${e.join(",")}`}},userClassrooms(e,t,r,n){return{url:ln.urlBuilder("{gateway}/v1/classrooms",{cursor:e}),key:`user:classrooms${e?`:${e}`:""}`,success:t,error:r,always:n}},getPinnedClassrooms(e,t){return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}/members`,{query:`favouriteClassrooms[favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}]{status:${Xu.Active},customer.id:${t},limit:100,orderby:name}`}),key:"pinned:classrooms",normalize:!1}},getPublished(e,t=""){const r={query:`{orderby:name,status:${Xu.Active}}favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}`};return t&&(r.cursor=t),{url:ln.urlBuilder("{gateway}/v1/classrooms",r),key:`published:classrooms${t?`:${t}`:""}`}}},mCe="reportsShared.noClassrooms",XA=pr.encloseNamespace(mCe);class Oae extends $f{constructor(t){super("Current user does not have any classrooms"),this.liteProduct=t}get name(){return"NoClassroomsError"}get heading(){return XA("heading")}get description(){return XA("body")}get cta(){const t=!!this.liteProduct&&Aae.getLiteClassroomsUrl(this.liteProduct);return t?{url:t,text:XA("cta")}:!1}}const yCe=[{application:dr.DEFAULT,action:Zr.Default.ERROR},{application:dr.DEFAULT,action:Zr.Default.DEV_ERROR},{application:dr.DEFAULT,action:Zr.Default.NO_CLASSROOMS_ERROR}];function om(e,t){gc._forcePushContext(e),es.routingEnded(),vr.throw(t??new uf)}async function o0(e,t){var s;const{appLink:r,shell:n}=e;if(yCe.find(l=>l.application===(r==null?void 0:r.application)&&l.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Zc(n.store,zi.permissions())}catch{return om(r)}if(i!=null&&i[ka.ViewCustomerAnalytics]){t(e);return}let a=null;try{a=await Zc(n.store,lf.userClassrooms(null))}catch{return om(r)}if((s=a==null?void 0:a.data)!=null&&s.length){t(e);return}let o=null;try{o=await Zc(n.store,a0.userProducts())}catch{return om(r)}om(r,new Oae(o.find(l=>l.id===No.Primary)))}class _Ce extends au{get channelName(){return dr.CLIPS}get appRoutes(){return{"clips/:id/overview(/)":"overview","clips/:id/engagement(/)":"engagement"}}get filters(){return[su,uu,o0]}}class SCe extends ou{get name(){return"Clips Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.CLIPS}static get router(){return _Ce}overview(t){yn(async()=>{const{ClipOverviewView:r}=await import("./P0RdEZGz.chunk.js");return{ClipOverviewView:r}},__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,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({ClipOverviewView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}engagement(t){yn(async()=>{const{ClipEngagementView:r}=await import("./Dn5-Zvws.chunk.js");return{ClipEngagementView:r}},__vite__mapDeps([37,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,1,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({ClipEngagementView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}}class ECe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class wCe extends ou{get name(){return"Admin Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return ECe}index(){yn(async()=>{const{AdminOverviewDashboardView:t}=await import("./BHZ8VWq7.chunk.js");return{AdminOverviewDashboardView:t}},__vite__mapDeps([56,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,57,58,59,60,11,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,70])).then(({AdminOverviewDashboardView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))})}}class bCe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class TCe extends ou{get name(){return"School Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return bCe}async index(){const{SchoolAnalyticsDashboardView:t}=await yn(async()=>{const{SchoolAnalyticsDashboardView:r}=await import("./9pagDMWN.chunk.js");return{SchoolAnalyticsDashboardView:r}},__vite__mapDeps([71,34,20,14,72,73,27,74,75,76,64,65,66,21,5,22,77,60,11,62,3,4,63,13,45,44,48,67,68,78,79]));this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))}}class RCe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,o0,uu]}}class xCe extends ou{get name(){return"Teacher Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return RCe}index(){yn(async()=>{const{TeacherOverviewDashboardView:t}=await import("./2cd-ulth.chunk.js");return{TeacherOverviewDashboardView:t}},__vite__mapDeps([80,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,57,58,59,60,11,34,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,81])).then(({TeacherOverviewDashboardView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))})}}const QA="shared.notFoundError";class Iae extends $f{constructor(){super(pr.getPhrase(QA,"title"))}get name(){return"NotFoundError"}get heading(){return pr.getPhrase(QA,"heading")}get description(){return pr.getPhrase(QA,"description")}}const CCe={uploadBase64Image(e,t,r,n){return{url:`/api/image/upload?type=${e}`,key:"upload:image",data:t,type:dn.POST,success:r,always:n}}},Wm={EmptyStates:{Interactives:{StudentInsights:"/images/empty-states/interactives/student-insights-v2.png",NoResponses:"/images/empty-states/interactives/no-responses-v2.png",NoData:"/images/empty-states/interactives/no-data-v2.png",SharedInteractives:"/images/empty-states/interactives/shared-interactives-v2.png",NoQuestions:"/images/empty-states/interactives/no-questions.png"},Shared:{School:"/images/empty-states/logins/school.png",BagQuestionOrange:"/images/empty-states/videos/bag-question-orange.png",PuzzleGroup:"/images/empty-states/videos/puzzle-group.png",Ticket:"/images/empty-states/videos/ticket.png",LoginCount:"/images/empty-states/logins/login-count-v2.png",ViewCount:"/images/empty-states/videos/view-count-v2.png",TypeaheadResults:"/images/empty-states/generic/typeahead-results-v2.png"}},Errors:{SmallAvatar:"/images/error-avatars/small/error-{number}.png",TypeaheadError:"/images/empty-states/generic/typeahead-results-v2.png",NoClassrooms:"/images/errors/no-classrooms.png"}};class ACe extends au{get channelName(){return dr.DEFAULT}get appRoutes(){return{"*path":"catchAllRoutes"}}get appLinks(){return["devError","dialogError","error","notFound","noClassroomsError","share","generateReport","updates","giveFeedback","uploadImage","removeLogo"]}get externalRoutes(){return{"login(/)":"logIn","logout(/)":"logOut"}}get filters(){return[su,o0,uu]}}class OCe extends ou{get name(){return"Default Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.DEFAULT}static get router(){return ACe}catchAllRoutes(){vr.throw(new Iae)}async notFound(){const t=Lr.Radio.channel("error:view").request("current:error"),{NotFoundView:r}=await yn(async()=>{const{NotFoundView:n}=await import("./0UfVJrf5.chunk.js");return{NotFoundView:n}},[]);this.layout.showChildView(Fr.CONTENT,V.jsx(r,{error:t}))}async error(){const t=Lr.Radio.channel("error:view").request("current:error"),{ErrorView:r}=await yn(async()=>{const{ErrorView:n}=await Promise.resolve().then(()=>j6e);return{ErrorView:n}},void 0);this.layout.showChildView(Fr.CONTENT,V.jsx(r,{error:t}))}async dialogError(){const t=Lr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t,{DialogView:n}=await yn(async()=>{const{DialogView:i}=await import("./BpWIcknK.chunk.js");return{DialogView:i}},[]);this.layout.showChildView(Fr.POPUP,V.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))}async devError(){const t=Lr.Radio.channel("error:view").request("current:error"),{DevErrorView:r}=await yn(async()=>{const{DevErrorView:n}=await import("./BbvzsNLZ.chunk.js");return{DevErrorView:n}},[]);this.layout.showChildView(Fr.CONTENT,V.jsx(r,{error:t}))}async noClassroomsError(){const t=Lr.Radio.channel("error:view").request("current:error"),{NoClassroomsErrorView:r}=await yn(async()=>{const{NoClassroomsErrorView:n}=await import("./IC6KSiqE.chunk.js");return{NoClassroomsErrorView:n}},__vite__mapDeps([82,83]));this.layout.showChildView(Fr.CONTENT,V.jsx(r,{error:t,imageUrl:Wm.Errors.NoClassrooms}))}async share(t,r){const{ShareView:n}=await yn(async()=>{const{ShareView:i}=await import("./DHZefNDC.chunk.js");return{ShareView:i}},__vite__mapDeps([84,85,86,87,88,23,41,42,89,46,63,3,4,5,13,90]));this.layout.showChildView(Fr.POPUP,V.jsx(n,{entityId:t,entityType:r.entityType,closePopup:()=>this.layout.closePopup(),emptyStateImageUrl:Wm.EmptyStates.Shared.TypeaheadResults,errorStateImageUrl:Wm.Errors.TypeaheadError}))}async generateReport(t){const{GenerateReportView:r}=await yn(async()=>{const{GenerateReportView:n}=await import("./Ddy6mQmA.chunk.js").then(i=>i.a);return{GenerateReportView:n}},__vite__mapDeps([12,13]));this.layout.showChildView(Fr.POPUP,V.jsx(r,{type:t.type,closePopup:()=>this.layout.closePopup()}))}async removeLogo(t){const{RemoveLogoView:r}=await yn(async()=>{const{RemoveLogoView:n}=await import("./ASoPpgM4.chunk.js");return{RemoveLogoView:n}},__vite__mapDeps([91,13]));this.layout.showChildView(Fr.POPUP,V.jsx(r,{logoId:t.logoId,customerId:t.customerId,closePopup:()=>this.layout.closePopup()}))}async giveFeedback(){const{GiveFeedbackView:t}=await yn(async()=>{const{GiveFeedbackView:r}=await import("./B0ZIDriY.chunk.js");return{GiveFeedbackView:r}},__vite__mapDeps([92,13,87,48,88,23,41,42,89,5,93]));this.layout.showChildView(Fr.POPUP,V.jsx(t,{product:No.Analytics,closePopup:()=>this.layout.closePopup()}))}async uploadImage(t){const{ImageUploadView:r}=await yn(async()=>{const{ImageUploadView:n}=await import("./DWkaXclo.chunk.js");return{ImageUploadView:n}},__vite__mapDeps([94,95]));this.layout.showChildView(Fr.POPUP,V.jsx(r,{getRequest:CCe.uploadBase64Image,imageType:t,popupSize:"lg",closePopup:()=>this.layout.closePopup()}))}}const Hl=sr.createContext("unknown");function ICe(){return sr.useContext(Hl)}class PCe extends au{get channelName(){return dr.INTERACTIVES}get appRoutes(){return{"interactives(/)":"index","interactives/:id/overview(/)":"overview","interactives/:id/results(/)":"results","interactives/:id/engagement(/)":"engagement","interactives/:id/question-list(/)":"questionList"}}get appLinks(){return["studentResults","generateReport"]}get filters(){return[su,uu]}}class DCe extends ou{get name(){return"Interactives Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.INTERACTIVES}static get router(){return PCe}index(){yn(async()=>{const{SharedInteractivesView:t}=await import("./AKgZQGT0.chunk.js");return{SharedInteractivesView:t}},__vite__mapDeps([96,39,40,86,85,87,64,65,66,21,5,22,62,3,4,63,13,45,44,48,67,68,23,97,47,98,78,52,53,99,14,51,11,100])).then(({SharedInteractivesView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(t,{})}))})}overview(t){yn(async()=>{const{InteractiveOverviewView:r}=await import("./CfTCpF5i.chunk.js");return{InteractiveOverviewView:r}},__vite__mapDeps([101,102,20,8,9,7,10,11,12,13,14,15,16,17,18,19,21,5,22,23,24,25,26,27,28,29,30,31,32,33,34,35,103,2,3,4,6,85,104,105,49,58,59,106,107,41,108])).then(({InteractiveOverviewView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(r,{interactiveMetadataId:t})}))})}engagement(t){yn(async()=>{const{InteractiveEngagementView:r}=await import("./Dv9OgzKw.chunk.js");return{InteractiveEngagementView:r}},__vite__mapDeps([109,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,102,20,51,19,21,5,22,23,24,8,9,52,53,7,30,54,10,11,12,14,15,31,32,28,33,34,35,103,2,3,6,85,106,55])).then(({InteractiveEngagementView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(r,{interactiveMetadataId:t})}))})}results(t){yn(async()=>{const{InteractiveStudentResultsListView:r}=await import("./DDGxV4ns.chunk.js");return{InteractiveStudentResultsListView:r}},__vite__mapDeps([110,102,20,8,9,52,53,7,10,11,12,13,14,103,2,3,4,5,6,85,104,105,17,49,58,59,111,51,107,39,40,112,113,16,18,41,114])).then(({InteractiveStudentResultsListView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(r,{interactiveMetadataId:t})}))})}studentResults(t,r,n){yn(async()=>{const{InteractiveStudentResultsView:i}=await import("./C0GFlX65.chunk.js");return{InteractiveStudentResultsView:i}},__vite__mapDeps([115,102,20,116,105,17,49,13,45,43,67,117,41,8,9,118])).then(({InteractiveStudentResultsView:i})=>{this.layout.showChildView(Fr.POPUP,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(i,{userId:t,interactiveId:r,interactionId:n.interactionId,closePopup:()=>this.layout.closePopup()})}))})}questionList(t,r){yn(async()=>{const{InteractiveQuestionListView:n}=await import("./DxbQzyJg.chunk.js");return{InteractiveQuestionListView:n}},__vite__mapDeps([119,116,102,20,105,17,49,13,45,43,67,117,41,113,16,18,39,40,8,9,52,53,7,10,11,12,14,103,2,3,4,5,6,85,111,51,107,120])).then(({InteractiveQuestionListView:n})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(n,{interactiveMetadataId:t,interactionId:r.interactionId})}))})}generateReport(t){yn(async()=>{const{GenerateInteractiveResultsReportView:r}=await import("./Ce_zROQ3.chunk.js");return{GenerateInteractiveResultsReportView:r}},__vite__mapDeps([121,102,20,16,17,18,105,49,13,12,112,113,41,4,114])).then(({GenerateInteractiveResultsReportView:r})=>{this.layout.showChildView(Fr.POPUP,V.jsx(Hl.Provider,{value:"interactives",children:V.jsx(r,{interactiveId:t,closePopup:()=>this.layout.closePopup()})}))})}}class kCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class NCe extends ou{get name(){return"Logins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return kCe}index(){yn(async()=>{const{LoginOverviewView:t}=await import("./CNfESBlK.chunk.js");return{LoginOverviewView:t}},__vite__mapDeps([122,10,11,12,13,14,9,26,27,28,29,123,20,30,32,33,124])).then(({LoginOverviewView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))})}}class LCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class MCe extends ou{get name(){return"SchoolLogins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return LCe}async index(){const{SchoolLoginOverview:t}=await yn(async()=>{const{SchoolLoginOverview:r}=await import("./D1UdZdfs.chunk.js");return{SchoolLoginOverview:r}},__vite__mapDeps([125,10,11,12,13,14,73,27,123,20,126]));this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))}}class $Ce extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/views(/)":"views","videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,uu]}}class FCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return $Ce}index(){yn(async()=>{const{CustomerVideoOverviewView:t}=await import("./mqFCEyYv.chunk.js");return{CustomerVideoOverviewView:t}},__vite__mapDeps([127,10,11,12,13,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,128,2,3,4,6,124])).then(({CustomerVideoOverviewView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))})}views(){yn(async()=>{const{CustomerVideoViewsView:t}=await import("./CWEUVMEm.chunk.js");return{CustomerVideoViewsView:t}},__vite__mapDeps([129,9,52,53,99,61,20,30,10,11,12,13,14,128,2,3,4,5,6,130,39,40,62,63,64,65,66,21,22,45,44,48,67,68,131])).then(({CustomerVideoViewsView:t})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))})}overview(t){yn(async()=>{const{VideoOverviewView:r}=await import("./DXFcNENa.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}engagement(t){yn(async()=>{const{VideoEngagementView:r}=await import("./ysP6mL-L.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}}class jCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/top(/)":"topVideos","videos/:id/views(/)":"videoViews","interactives/:id/views(/)":"interactiveViews","clips/:id/views(/)":"clipViews","videos/:id/overview":"videoRedirect","videos/:id/engagement":"videoRedirect","clips/:id/overview":"clipRedirect","clips/:id/engagement":"clipRedirect","interactives/:id/overview":"interactiveRedirect","interactives/:id/results":"interactiveRedirect","interactives/:id/engagement":"interactiveRedirect","interactives/:id/question-list":"interactiveRedirect"}}get filters(){return[su,uu]}}class UCe extends ou{get name(){return"School Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return jCe}async index(){const{SchoolVideoOverviewView:t}=await yn(async()=>{const{SchoolVideoOverviewView:r}=await import("./BBGDjrt-.chunk.js");return{SchoolVideoOverviewView:r}},__vite__mapDeps([135,34,20,10,11,12,13,14,72,73,27,74,75,76,64,65,66,21,5,22,77,136,137,2,3,4,6,138]));this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))}async topVideos(){const{SchoolTopVideosView:t}=await yn(async()=>{const{SchoolTopVideosView:r}=await import("./YHL8PX91.chunk.js");return{SchoolTopVideosView:r}},__vite__mapDeps([139,78,9,52,53,99,74,20,14,137,2,3,4,5,6,130,39,40,62,63,13,64,65,66,21,22,45,44,48,67,68,131]));this.layout.showChildView(Fr.CONTENT,V.jsx(t,{}))}async videoViews(t){const{SchoolVideoViewsView:r}=await yn(async()=>{const{SchoolVideoViewsView:n}=await import("./Dvf_hOR3.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Fr.CONTENT,V.jsx(r,{typeId:qn.Video,id:t}))}async interactiveViews(t){const{SchoolVideoViewsView:r}=await yn(async()=>{const{SchoolVideoViewsView:n}=await import("./Dvf_hOR3.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Fr.CONTENT,V.jsx(r,{typeId:qn.Interactive,id:t}))}async clipViews(t){const{SchoolVideoViewsView:r}=await yn(async()=>{const{SchoolVideoViewsView:n}=await import("./Dvf_hOR3.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Fr.CONTENT,V.jsx(r,{typeId:qn.Clip,id:t}))}videoRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Zr.Videos.VIDEO_VIEWS,args:[t],params:r},{replace:!0})}clipRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Zr.Videos.CLIP_VIEWS,args:[t],params:r},{replace:!0})}interactiveRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Zr.Videos.INTERACTIVE_VIEWS,args:[t],params:r},{replace:!0})}}class qCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,o0,uu]}}class VCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Fr.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return qCe}overview(t){yn(async()=>{const{VideoOverviewView:r}=await import("./DXFcNENa.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}engagement(t){yn(async()=>{const{VideoEngagementView:r}=await import("./ysP6mL-L.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Fr.CONTENT,V.jsx(r,{id:t}))})}}async function BCe(e,t){const r=await Ka(e.store,zi.currentUser()),n=await Ka(e.store,zi.permissions()),i=await Ka(e.store,wu.customerSettings());await Ka(e.store,wu.userSettings());try{if(fae.setCurrentRegion(txe[r.instanceRegion]),e.registerApplication(OCe),!r.isAuthenticated){t(e);return}if(i[wr.HasShareFlowV2].value&&n[ka.ViewMyShares]){e.registerApplication(TCe).registerApplication(MCe).registerApplication(UCe),t(e);return}if(e.registerApplication(DCe).registerApplication(SCe),n[ka.ViewCustomerAnalytics]){e.registerApplication(wCe).registerApplication(NCe).registerApplication(FCe),t(e);return}e.registerApplication(xCe).registerApplication(VCe),t(e)}catch{vr.throw(new uf)}}var tp=(e=>(e.Fifo="FifoMemoryCache",e))(tp||{});class HCe extends Bo{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return tp.Fifo}removeCacheKey(t){this.cachedkeys=xI(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new xn("Must provide a cache key and a value to cache in FifoMemoryCache.")),this.has(t)&&this.removeCacheKey(t),this.cachedkeys.push(t),this.cache[t]=r,this.cachedkeys.length>this.size&&delete this.cache[this.cachedkeys.shift()]}getOrSet(t,r){if(this.has(t))return this.get(t);const n=r();return this.set(t,n),n}remove(t){return this.has(t)?(delete this.cache[t],this.removeCacheKey(t),!0):!1}invalidate(t,r,n=!1){const i=Jne(this.cachedkeys,this.cachedkeys);let a=[];Da(t,o=>{i[o]&&a.push(o);const s=new RegExp(o,"i"),l=of(i,c=>s.test(c));a.push(...l)}),a.length&&(a=Qv(a),Da(a,o=>{delete this.cache[o],an(r)&&r(o)}),this.cachedkeys=xI(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:co.INVALIDATE,keys:t})}}function zCe(e,t){Qs.registerInstance(HCe,{size:100}),t(e)}var rp=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(rp||{}),Hc=(e=>(e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer",e))(Hc||{});const WCe={type:Hc.Unknown,message:"",code:0},GCe={parseErrorMessage(e,t,r){if(!r||!r.errorCode)return e[t];let n=`${r.errorCode}`;return r.errorSubCode&&(n+=`.${r.errorSubCode}`),e[n]||e[t]}};class YCe extends Df{constructor(t){super(t),al.ajaxSetup({cache:t.cacheRequests??!1,contentType:"application/json; charset=utf-8"}),this.successMiddleware={},this.errorMiddleware={},this.dataServiceErrorMessageMappings=t.dataServiceErrorMessageMappings,this.defaultErrorMessageKey=t.defaultErrorMessageKey}get name(){return rp.Ajax}parseUrl(t){const r=document.createElement("a");return r.href=t,r.host===""&&(r.href=r.href),r}makeHttps(t){const r=this.parseUrl(t);return r.protocol==="http:"&&(r.protocol="https:"),r.href}base(t,r,n,i={}){n||(n=dn.GET);const a=at.defaults(i,{forceHttps:!1}),o={url:t,method:n,type:n};r&&(o.data=n===dn.POST||n===dn.PUT?JSON.stringify(r):r),a.forceHttps&&(o.url=this.makeHttps(o.url)),a.traditional&&(o.traditional=a.traditional);const s=al.ajax(o);return at.keys(this.successMiddleware).length&&s.done(at.values(this.successMiddleware)),at.keys(this.errorMiddleware).length&&s.fail(at.values(this.errorMiddleware)),s}create(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,dn.POST).done((s,l,c)=>i.trigger(a,s,l,c)).fail((s,l,c)=>i.trigger(o,s,l,c))}read(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,dn.GET).done((o,s,l)=>{n.trigger(i,o,s,l)}).fail((o,s,l)=>{n.trigger(a,o,s,l)})}update(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,dn.PUT).done((s,l,c)=>i.trigger(a,s,l,c)).fail((s,l,c)=>i.trigger(o,s,l,c))}delete(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,dn.DELETE).done((o,s,l)=>n.trigger(i,o,s,l)).fail((o,s,l)=>n.trigger(a,o,s,l))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=WCe;switch(n.code=t.status,n.message=GCe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Hc.BadRequest;break;case 401:n.type=Hc.Unauthorized;break;case 403:n.type=Hc.Forbidden;break;case 404:n.type=Hc.NotFound;break;case 500:n.type=Hc.InternalServer;break}return n}}function KCe(e,t){Qs.registerInstance(YCe,{dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp"}),t(e)}var Xs=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Xs||{}),XCe=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(XCe||{});class QCe extends Bo{constructor(t){super(t)}initialize(){this.alertCollection=new V_,this.listenTo(kn.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return Vp.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=Lr.Radio.channel(kn.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=Do({},r,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",r)}removeAlert(t){this.alertCollection.remove(t),this.showAlerts()}createAlert(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=Do({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new ll(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?Ku(()=>this.createAlert(Do({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?Ku((r,n)=>this.createAlert(Do({},this.options.defaultSuccessAlert,{message:n})),this):Ku(()=>this.createAlert(Do({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?Ku(()=>this.createAlert(Do({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?Ku(r=>this.createAlert(Do({},this.options.defaultErrorAlert,{message:r.message})),this):Ku(()=>this.createAlert(Do({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return xne("alert_")}}class Pae extends Bo{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),kv(this,"name")||vr.throw(new xn("Must provide a name when extending BaseDataService")),kv(this,"channelName")||vr.throw(new xn(`Must provide a channelName for ${kv(this,"name")}`));const r=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(t,r)}getCursors(t){const r=this.cache.get(t);return r?r.cursors:{next:"",previous:""}}clearCacheAndGet(t){const{callback:r,errorCallback:n,eventPrefix:i}=t,{syncEvent:a,errorEvent:o}=this.getEventNames(i),s=this.cache.get(i);if(s&&s.openRequest){const l=d=>{an(n)&&this.stopListening(this.getChannel(),o,n),an(r)&&r(d)},c=()=>{an(r)&&this.stopListening(this.getChannel(),a,r),an(n)&&n()};this.listenToOnce(this.getChannel(),a,l),this.listenToOnce(this.getChannel(),o,c);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:a,formatData:o,expiryTime:s,successHandler:l,errorHandler:c,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:v,requestEvent:g,successEvent:S,errorEvent:E}=this.getEventNames(i),y=this.getChannel(),w=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[d]&&(this.cacheData(i,this.bootstrapData[d],o,{openRequest:!1,timestamp:w}),delete this.bootstrapData[d]);const b=this.cache.get(i);let A;b&&(A=b.data);const R=b&&b.openRequest,C=this.isExpired(i,s);if(R){const O=D=>{an(n)&&this.stopListening(this.getChannel(),E,n),an(r)&&r(D)},m=()=>{an(r)&&this.stopListening(this.getChannel(),v,r),an(n)&&n()};this.listenToOnce(y,v,O),this.listenToOnce(y,E,m)}if((!this.cache.has(i)||C)&&(y.trigger(g),this.listenToResponse({eventPrefix:i,formatData:o,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:l,errorHandler:c,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:S,errorEvent:E})),A&&an(r)&&!C&&r(A),A)return A}create(t){const{eventPrefix:r,resource:n,data:i,formatData:a,callback:o,errorCallback:s,invalidationKeys:l,successHandler:c,errorHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),y=this.getTransportChannel();E.trigger(v),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:l,callback:o,errorCallback:s,successHandler:c,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:y,successEvent:g,errorEvent:S})}update(t){const{data:r,callback:n,errorCallback:i,resource:a,formatData:o,eventPrefix:s,invalidationKeys:l,errorHandler:c,successHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),y=this.getTransportChannel();E.trigger(v),this.listenToResponse({eventPrefix:s,formatData:o,invalidationKeys:l,callback:n,errorCallback:i,successHandler:d,errorHandler:c,invalidateFlight:h}),this.dataProvider.update(a,r,{channel:y,successEvent:g,errorEvent:S})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:a,invalidationKeys:o,successHandler:s,errorHandler:l,invalidateFlight:c}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),v=this.getTransportChannel(),g={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:o,callback:i,errorCallback:a,cacheOptions:g,successHandler:s,errorHandler:l,invalidateFlight:c}),this.dataProvider.delete(n,{channel:v,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:a,successHandler:o,errorHandler:s,invalidationKeys:l,cacheOptions:c={},invalidateFlight:d}=t,{syncEvent:h,successEvent:v,errorEvent:g,successAlertEvent:S,errorAlertEvent:E}=this.getEventNames(r),y=this.getChannel(),w=this.getTransportChannel(),b=this.getAlertChannel();if(an(i)&&this.listenToOnce(y,h,i),an(a)&&this.listenToOnce(y,g,a),this.stopListening(b,S),this.stopListening(b,E),an(o)&&this.listenToOnce(b,S,o),an(s)&&this.listenToOnce(b,E,s),!an(s)&&s!==!1&&an(this.defaultErrorHandler)&&this.listenToOnce(b,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const A=(C,...O)=>{this.stopListening(y,g,a),b.trigger(S,C,...O);const m=c.noCache?this.formatData(C,n):this.cacheData(r,C,n);c.clearCacheKey&&this.cache.remove(r),y.trigger(h,m),l&&l.length&&this.cache.invalidate(l,D=>y.trigger(`${D}:invalidate`),d)},R=(...C)=>{this.stopListening(y,h,i);const O=this.dataProvider.parseError(...C);b.trigger(E,O),y.trigger(g,O),!c.noCache&&this.cacheData(r,null,null)};this.listenTo(w,v,A),this.listenTo(w,g,R)}cacheData(t,r,n,i={}){const{openRequest:a=!1}=i;let{timestamp:o}=i;o||(o=this.currentTimestamp());const s=this.processPagination(r),l=this.formatData(r,n);return this.cache.set(t,{data:l,timestamp:o,cursors:s,openRequest:a}),l}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!ay(r.offset)&&!ay(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return an(r)?r(t):t}chain(){const t=[],r=(a,o)=>{an(a)&&a(o)},n=(a,o)=>{const s=()=>{const l=a.callback;a.callback=c=>{r(l,c),r(t.shift())},this[o](a)};return t.push(s),i},i={func(a){return t.push(()=>{a(t.shift()||(()=>{}))}),i},get(a){return n(a,"get")},create(a){return n(a,"create")},update(a){return n(a,"update")},delete(a){return n(a,"delete")},run(){r(t.shift())}};return i}invalidateCache(t,r=!1){!t||!t.length||this.cache.invalidate(t,n=>this.getChannel().trigger(`${n}:invalidate`),r)}currentTimestamp(){return new Date().valueOf()}isExpired(t,r){if(!r)return!1;const n=this.cache.get(t);if(!n||!n.timestamp)return!0;const i=1e3,a=n.timestamp,o=r*i;return a<this.currentTimestamp()-o}getEventNames(t){return{syncEvent:`${t}:sync`,requestEvent:`${t}:request`,successEvent:`${t}:success`,errorEvent:`${t}:error`,successAlertEvent:`${t}:success:alert`,errorAlertEvent:`${t}:error:alert`}}getTransportChannel(){return Lr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return Lr.Radio.channel(`${this.channelName}:alert`)}setRequestSignature(t){this.dataRequestSignatures[t]=t}hasRequestSignature(t){return!!this.dataRequestSignatures[t]}convertOffsetPaginationToCursors(t){const{offset:r,pageSize:n,totalItems:i}=t,a=i>0&&r<i&&r+n,o=i>0&&r>0&&Math.max(r-n,0),s={};if(a&&a<i&&(s.next=a.toString()),Md(o)&&(s.previous=o.toString()),!Yv(s))return s}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Md(r)&&r>0&&r<n&&r+1,a=Md(r)&&r>1&&r-1,o={};if(i&&i<=n&&(o.next=i.toString()),a&&(o.previous=a.toString()),!Yv(o))return o}}const JCe=5;class ZCe extends Bo{constructor(){super(...arguments),this.contextHistory=[]}get name(){return ok.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(kn.SHELL,Nn.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=JCe&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}fromPageLoad(){return this.contextHistory.length===1}}const eAe=new ZCe,tAe=dae.V2;class rAe{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||tAe}isType(t){return t===this.type}enrich(t,r){this.validateKey(t),this[t]=r}get(t){if(t&&this[t])return this[t]}validateKey(t){(t==="type"||t==="data")&&vr.throw(new xn(`${t} is not a valid key`)),this[t]&&vr.throw(new xn(`Event already contains an enrichment named ${t}`))}}const nAe={log(e,t,r,n){Lr.Radio.channel(nae.ANALYTICS).trigger(Fd.Inlet,new rAe(e,t,r,n))}};function iAe(){const{appLink:e}=eAe.getCurrentContext();return Ms(e)||vr.throw(new xn("Applink does not exist. Check current context.")),sAe(e.application)}function sm(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new xn("location must be set.")),r||vr.throw(new xn("entity must be set.")),{productArea:e.productArea??iAe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function aAe(e){return!!(dc(e)&&TI(e,t=>Ms(t))||Ms(e))}function oAe(){return Yn.GetCurrentPath()+Yn.GetCurrentQueryString()}function sAe(e){return e.replace(":","-")}const Ea={logUserAction(e,t){if(!aAe(e)||!Ms(t))return;const{userAction:r,action:n,eventVersion:i}=Ea.buildUserActionEvent(t);nAe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),Do({},e,...t)},buildActionContext(e={}){return sm(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=sm(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return oAe()},buildSearchEvent(e,t){return{data:{query:e},action:sm({entity:En.Video,location:Pa.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Bl.Series&&(n=En.Series),r===Bl.Folder&&(n=En.Folder),r===Bl.Tags&&(n=En.Tag),r===Bl.Video&&(n=En.Video),r===Bl.Clip&&(n=En.Clip),r===Bl.Interactive&&(n=En.Interactive),r===Bl.Subjects&&(n=En.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:sm({entity:n,location:Pa.SearchBar})}},mapInteractionType(e){switch(e){case jI.DragDrop:return FI.DragDrop;case jI.FileSelect:return FI.FileSelect;default:return}}},tl={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"};var gk=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(gk||{});class Ff extends q_{constructor(t){super(t),this.dialogOptions||vr.throw(new xn("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}class uAe extends Ff{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:pr.getPhrase(this.lang,"heading"),text:pr.getPhrase(this.lang,"body"),buttons:[{text:pr.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:pr.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const lAe=["pdf"],cAe=["doc","docx","dotx","dot","rtf","docm","odt"],fAe=["csv","txt"],dAe=["xlsx"],JA=["jpg","jpeg","png","bmp","gif"],bQ=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],hAe=["zip"],vAe=["ppt","pps","pptx"],pAe=["srt"],Cv={IMAGES:`.${JA.join(",.")}`,VIDEO:`.${bQ.join(",.")}`,MIXED_MEDIA:`.${JA.join(",.")},${bQ.join(",.")}`,RESOURCES:`.${[...cAe,...dAe,...vAe,...lAe,...fAe,...JA,...hAe].join(",.")}`,SUBTITLES:`.${pAe.join(",.")}`},gAe={LANGUAGE:"language:data:service"},Av={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"},mAe={requestUpload(e,t){const r=e.name.split("."),n=t===gk.Permanent?null:wn.add(new Date,7,"days").toISOString(),i={name:r.join("."),extension:r.length>1?r.pop():"",size:e.size,lifestyle:t,dateExpires:n,contentType:"multipart/form-data",chunkUploadEnabled:!0};return{url:"{gateway}/v1/files/upload",key:"upload:file",type:dn.POST,data:i}}};(function(t,r){if(typeof exports=="object"&&typeof module=="object")module.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n=r();for(var i in n)(typeof exports=="object"?exports:t)[i]=n[i]}})(self,function(){return(function(){var e={3099:(function(i){i.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}}),6077:(function(i,a,o){var s=o(111);i.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}}),1223:(function(i,a,o){var s=o(5112),l=o(30),c=o(3070),d=s("unscopables"),h=Array.prototype;h[d]==null&&c.f(h,d,{configurable:!0,value:l(null)}),i.exports=function(v){h[d][v]=!0}}),1530:(function(i,a,o){var s=o(8710).charAt;i.exports=function(l,c,d){return c+(d?s(l,c).length:1)}}),5787:(function(i){i.exports=function(a,o,s){if(!(a instanceof o))throw TypeError("Incorrect "+(s?s+" ":"")+"invocation");return a}}),9670:(function(i,a,o){var s=o(111);i.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}}),4019:(function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(i,a,o){var s=o(4019),l=o(9781),c=o(7854),d=o(111),h=o(6656),v=o(648),g=o(8880),S=o(1320),E=o(3070).f,y=o(9518),w=o(7674),b=o(5112),A=o(9711),R=c.Int8Array,C=R&&R.prototype,O=c.Uint8ClampedArray,m=O&&O.prototype,D=R&&y(R),k=C&&y(C),q=Object.prototype,j=q.isPrototypeOf,W=b("toStringTag"),K=A("TYPED_ARRAY_TAG"),X=s&&!!w&&v(c.opera)!=="Opera",Q=!1,J,re={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},N=function(ue){if(!d(ue))return!1;var I=v(ue);return I==="DataView"||h(re,I)||h($,I)},U=function(xe){if(!d(xe))return!1;var ue=v(xe);return h(re,ue)||h($,ue)},ee=function(xe){if(U(xe))return xe;throw TypeError("Target is not a typed array")},te=function(xe){if(w){if(j.call(D,xe))return xe}else for(var ue in re)if(h(re,J)){var I=c[ue];if(I&&(xe===I||j.call(I,xe)))return xe}throw TypeError("Target is not a typed array constructor")},de=function(xe,ue,I){if(l){if(I)for(var P in re){var B=c[P];B&&h(B.prototype,xe)&&delete B.prototype[xe]}(!k[xe]||I)&&S(k,xe,I?ue:X&&C[xe]||ue)}},Se=function(xe,ue,I){var P,B;if(l){if(w){if(I)for(P in re)B=c[P],B&&h(B,xe)&&delete B[xe];if(!D[xe]||I)try{return S(D,xe,I?ue:X&&R[xe]||ue)}catch{}else return}for(P in re)B=c[P],B&&(!B[xe]||I)&&S(B,xe,ue)}};for(J in re)c[J]||(X=!1);if((!X||typeof D!="function"||D===Function.prototype)&&(D=function(){throw TypeError("Incorrect invocation")},X))for(J in re)c[J]&&w(c[J],D);if((!X||!k||k===q)&&(k=D.prototype,X))for(J in re)c[J]&&w(c[J].prototype,k);if(X&&y(m)!==k&&w(m,k),l&&!h(k,W)){Q=!0,E(k,W,{get:function(){return d(this)?this[K]:void 0}});for(J in re)c[J]&&g(c[J],K,J)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:Q&&K,aTypedArray:ee,aTypedArrayConstructor:te,exportTypedArrayMethod:de,exportTypedArrayStaticMethod:Se,isView:N,isTypedArray:U,TypedArray:D,TypedArrayPrototype:k}}),3331:(function(i,a,o){var s=o(7854),l=o(9781),c=o(4019),d=o(8880),h=o(2248),v=o(7293),g=o(5787),S=o(9958),E=o(7466),y=o(7067),w=o(1179),b=o(9518),A=o(7674),R=o(8006).f,C=o(3070).f,O=o(1285),m=o(8003),D=o(9909),k=D.get,q=D.set,j="ArrayBuffer",W="DataView",K="prototype",X="Wrong length",Q="Wrong index",J=s[j],re=J,$=s[W],N=$&&$[K],U=Object.prototype,ee=s.RangeError,te=w.pack,de=w.unpack,Se=function($e){return[$e&255]},xe=function($e){return[$e&255,$e>>8&255]},ue=function($e){return[$e&255,$e>>8&255,$e>>16&255,$e>>24&255]},I=function($e){return $e[3]<<24|$e[2]<<16|$e[1]<<8|$e[0]},P=function($e){return te($e,23,4)},B=function($e){return te($e,52,8)},L=function($e,me){C($e[K],me,{get:function(){return k(this)[me]}})},H=function($e,me,be,Te){var Ne=y(be),Ve=k($e);if(Ne+me>Ve.byteLength)throw ee(Q);var qe=k(Ve.buffer).bytes,Ge=Ne+Ve.byteOffset,ct=qe.slice(Ge,Ge+me);return Te?ct:ct.reverse()},ne=function($e,me,be,Te,Ne,Ve){var qe=y(be),Ge=k($e);if(qe+me>Ge.byteLength)throw ee(Q);for(var ct=k(Ge.buffer).bytes,Ut=qe+Ge.byteOffset,Wt=Te(+Ne),Je=0;Je<me;Je++)ct[Ut+Je]=Wt[Ve?Je:me-Je-1]};if(!c)re=function(me){g(this,re,j);var be=y(me);q(this,{bytes:O.call(new Array(be),0),byteLength:be}),l||(this.byteLength=be)},$=function(me,be,Te){g(this,$,W),g(me,re,W);var Ne=k(me).byteLength,Ve=S(be);if(Ve<0||Ve>Ne)throw ee("Wrong offset");if(Te=Te===void 0?Ne-Ve:E(Te),Ve+Te>Ne)throw ee(X);q(this,{buffer:me,byteLength:Te,byteOffset:Ve}),l||(this.buffer=me,this.byteLength=Te,this.byteOffset=Ve)},l&&(L(re,"byteLength"),L($,"buffer"),L($,"byteLength"),L($,"byteOffset")),h($[K],{getInt8:function(me){return H(this,1,me)[0]<<24>>24},getUint8:function(me){return H(this,1,me)[0]},getInt16:function(me){var be=H(this,2,me,arguments.length>1?arguments[1]:void 0);return(be[1]<<8|be[0])<<16>>16},getUint16:function(me){var be=H(this,2,me,arguments.length>1?arguments[1]:void 0);return be[1]<<8|be[0]},getInt32:function(me){return I(H(this,4,me,arguments.length>1?arguments[1]:void 0))},getUint32:function(me){return I(H(this,4,me,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(me){return de(H(this,4,me,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(me){return de(H(this,8,me,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(me,be){ne(this,1,me,Se,be)},setUint8:function(me,be){ne(this,1,me,Se,be)},setInt16:function(me,be){ne(this,2,me,xe,be,arguments.length>2?arguments[2]:void 0)},setUint16:function(me,be){ne(this,2,me,xe,be,arguments.length>2?arguments[2]:void 0)},setInt32:function(me,be){ne(this,4,me,ue,be,arguments.length>2?arguments[2]:void 0)},setUint32:function(me,be){ne(this,4,me,ue,be,arguments.length>2?arguments[2]:void 0)},setFloat32:function(me,be){ne(this,4,me,P,be,arguments.length>2?arguments[2]:void 0)},setFloat64:function(me,be){ne(this,8,me,B,be,arguments.length>2?arguments[2]:void 0)}});else{if(!v(function(){J(1)})||!v(function(){new J(-1)})||v(function(){return new J,new J(1.5),new J(NaN),J.name!=j})){re=function(me){return g(this,re),new J(y(me))};for(var ce=re[K]=J[K],we=R(J),_e=0,Oe;we.length>_e;)(Oe=we[_e++])in re||d(re,Oe,J[Oe]);ce.constructor=re}A&&b(N)!==U&&A(N,U);var Re=new $(new re(2)),Ie=N.setInt8;Re.setInt8(0,2147483648),Re.setInt8(1,2147483649),(Re.getInt8(0)||!Re.getInt8(1))&&h(N,{setInt8:function(me,be){Ie.call(this,me,be<<24>>24)},setUint8:function(me,be){Ie.call(this,me,be<<24>>24)}},{unsafe:!0})}m(re,j),m($,W),i.exports={ArrayBuffer:re,DataView:$}}),1048:(function(i,a,o){var s=o(7908),l=o(1400),c=o(7466),d=Math.min;i.exports=[].copyWithin||function(v,g){var S=s(this),E=c(S.length),y=l(v,E),w=l(g,E),b=arguments.length>2?arguments[2]:void 0,A=d((b===void 0?E:l(b,E))-w,E-y),R=1;for(w<y&&y<w+A&&(R=-1,w+=A-1,y+=A-1);A-- >0;)w in S?S[y]=S[w]:delete S[y],y+=R,w+=R;return S}}),1285:(function(i,a,o){var s=o(7908),l=o(1400),c=o(7466);i.exports=function(h){for(var v=s(this),g=c(v.length),S=arguments.length,E=l(S>1?arguments[1]:void 0,g),y=S>2?arguments[2]:void 0,w=y===void 0?g:l(y,g);w>E;)v[E++]=h;return v}}),8533:(function(i,a,o){var s=o(2092).forEach,l=o(9341),c=l("forEach");i.exports=c?[].forEach:function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}}),8457:(function(i,a,o){var s=o(9974),l=o(7908),c=o(3411),d=o(7659),h=o(7466),v=o(6135),g=o(1246);i.exports=function(E){var y=l(E),w=typeof this=="function"?this:Array,b=arguments.length,A=b>1?arguments[1]:void 0,R=A!==void 0,C=g(y),O=0,m,D,k,q,j,W;if(R&&(A=s(A,b>2?arguments[2]:void 0,2)),C!=null&&!(w==Array&&d(C)))for(q=C.call(y),j=q.next,D=new w;!(k=j.call(q)).done;O++)W=R?c(q,A,[k.value,O],!0):k.value,v(D,O,W);else for(m=h(y.length),D=new w(m);m>O;O++)W=R?A(y[O],O):y[O],v(D,O,W);return D.length=O,D}}),1318:(function(i,a,o){var s=o(5656),l=o(7466),c=o(1400),d=function(h){return function(v,g,S){var E=s(v),y=l(E.length),w=c(S,y),b;if(h&&g!=g){for(;y>w;)if(b=E[w++],b!=b)return!0}else for(;y>w;w++)if((h||w in E)&&E[w]===g)return h||w||0;return!h&&-1}};i.exports={includes:d(!0),indexOf:d(!1)}}),2092:(function(i,a,o){var s=o(9974),l=o(8361),c=o(7908),d=o(7466),h=o(5417),v=[].push,g=function(S){var E=S==1,y=S==2,w=S==3,b=S==4,A=S==6,R=S==7,C=S==5||A;return function(O,m,D,k){for(var q=c(O),j=l(q),W=s(m,D,3),K=d(j.length),X=0,Q=k||h,J=E?Q(O,K):y||R?Q(O,0):void 0,re,$;K>X;X++)if((C||X in j)&&(re=j[X],$=W(re,X,q),S))if(E)J[X]=$;else if($)switch(S){case 3:return!0;case 5:return re;case 6:return X;case 2:v.call(J,re)}else switch(S){case 4:return!1;case 7:v.call(J,re)}return A?-1:w||b?b:J}};i.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterOut:g(7)}}),6583:(function(i,a,o){var s=o(5656),l=o(9958),c=o(7466),d=o(9341),h=Math.min,v=[].lastIndexOf,g=!!v&&1/[1].lastIndexOf(1,-0)<0,S=d("lastIndexOf"),E=g||!S;i.exports=E?function(w){if(g)return v.apply(this,arguments)||0;var b=s(this),A=c(b.length),R=A-1;for(arguments.length>1&&(R=h(R,l(arguments[1]))),R<0&&(R=A+R);R>=0;R--)if(R in b&&b[R]===w)return R||0;return-1}:v}),1194:(function(i,a,o){var s=o(7293),l=o(5112),c=o(7392),d=l("species");i.exports=function(h){return c>=51||!s(function(){var v=[],g=v.constructor={};return g[d]=function(){return{foo:1}},v[h](Boolean).foo!==1})}}),9341:(function(i,a,o){var s=o(7293);i.exports=function(l,c){var d=[][l];return!!d&&s(function(){d.call(null,c||function(){throw 1},1)})}}),3671:(function(i,a,o){var s=o(3099),l=o(7908),c=o(8361),d=o(7466),h=function(v){return function(g,S,E,y){s(S);var w=l(g),b=c(w),A=d(w.length),R=v?A-1:0,C=v?-1:1;if(E<2)for(;;){if(R in b){y=b[R],R+=C;break}if(R+=C,v?R<0:A<=R)throw TypeError("Reduce of empty array with no initial value")}for(;v?R>=0:A>R;R+=C)R in b&&(y=S(y,b[R],R,w));return y}};i.exports={left:h(!1),right:h(!0)}}),5417:(function(i,a,o){var s=o(111),l=o(3157),c=o(5112),d=c("species");i.exports=function(h,v){var g;return l(h)&&(g=h.constructor,typeof g=="function"&&(g===Array||l(g.prototype))?g=void 0:s(g)&&(g=g[d],g===null&&(g=void 0))),new(g===void 0?Array:g)(v===0?0:v)}}),3411:(function(i,a,o){var s=o(9670),l=o(9212);i.exports=function(c,d,h,v){try{return v?d(s(h)[0],h[1]):d(h)}catch(g){throw l(c),g}}}),7072:(function(i,a,o){var s=o(5112),l=s("iterator"),c=!1;try{var d=0,h={next:function(){return{done:!!d++}},return:function(){c=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}i.exports=function(v,g){if(!g&&!c)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},v(E)}catch{}return S}}),4326:(function(i){var a={}.toString;i.exports=function(o){return a.call(o).slice(8,-1)}}),648:(function(i,a,o){var s=o(1694),l=o(4326),c=o(5112),d=c("toStringTag"),h=l((function(){return arguments})())=="Arguments",v=function(g,S){try{return g[S]}catch{}};i.exports=s?l:function(g){var S,E,y;return g===void 0?"Undefined":g===null?"Null":typeof(E=v(S=Object(g),d))=="string"?E:h?l(S):(y=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":y}}),9920:(function(i,a,o){var s=o(6656),l=o(3887),c=o(1236),d=o(3070);i.exports=function(h,v){for(var g=l(v),S=d.f,E=c.f,y=0;y<g.length;y++){var w=g[y];s(h,w)||S(h,w,E(v,w))}}}),8544:(function(i,a,o){var s=o(7293);i.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})}),4994:(function(i,a,o){var s=o(3383).IteratorPrototype,l=o(30),c=o(9114),d=o(8003),h=o(7497),v=function(){return this};i.exports=function(g,S,E){var y=S+" Iterator";return g.prototype=l(s,{next:c(1,E)}),d(g,y,!1,!0),h[y]=v,g}}),8880:(function(i,a,o){var s=o(9781),l=o(3070),c=o(9114);i.exports=s?function(d,h,v){return l.f(d,h,c(1,v))}:function(d,h,v){return d[h]=v,d}}),9114:(function(i){i.exports=function(a,o){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:o}}}),6135:(function(i,a,o){var s=o(7593),l=o(3070),c=o(9114);i.exports=function(d,h,v){var g=s(h);g in d?l.f(d,g,c(0,v)):d[g]=v}}),654:(function(i,a,o){var s=o(2109),l=o(4994),c=o(9518),d=o(7674),h=o(8003),v=o(8880),g=o(1320),S=o(5112),E=o(1913),y=o(7497),w=o(3383),b=w.IteratorPrototype,A=w.BUGGY_SAFARI_ITERATORS,R=S("iterator"),C="keys",O="values",m="entries",D=function(){return this};i.exports=function(k,q,j,W,K,X,Q){l(j,q,W);var J=function(ue){if(ue===K&&ee)return ee;if(!A&&ue in N)return N[ue];switch(ue){case C:return function(){return new j(this,ue)};case O:return function(){return new j(this,ue)};case m:return function(){return new j(this,ue)}}return function(){return new j(this)}},re=q+" Iterator",$=!1,N=k.prototype,U=N[R]||N["@@iterator"]||K&&N[K],ee=!A&&U||J(K),te=q=="Array"&&N.entries||U,de,Se,xe;if(te&&(de=c(te.call(new k)),b!==Object.prototype&&de.next&&(!E&&c(de)!==b&&(d?d(de,b):typeof de[R]!="function"&&v(de,R,D)),h(de,re,!0,!0),E&&(y[re]=D))),K==O&&U&&U.name!==O&&($=!0,ee=function(){return U.call(this)}),(!E||Q)&&N[R]!==ee&&v(N,R,ee),y[q]=ee,K)if(Se={values:J(O),keys:X?ee:J(C),entries:J(m)},Q)for(xe in Se)(A||$||!(xe in N))&&g(N,xe,Se[xe]);else s({target:q,proto:!0,forced:A||$},Se);return Se}}),9781:(function(i,a,o){var s=o(7293);i.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(i,a,o){var s=o(7854),l=o(111),c=s.document,d=l(c)&&l(c.createElement);i.exports=function(h){return d?c.createElement(h):{}}}),8324:(function(i){i.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}}),8113:(function(i,a,o){var s=o(5005);i.exports=s("navigator","userAgent")||""}),7392:(function(i,a,o){var s=o(7854),l=o(8113),c=s.process,d=c&&c.versions,h=d&&d.v8,v,g;h?(v=h.split("."),g=v[0]+v[1]):l&&(v=l.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=l.match(/Chrome\/(\d+)/),v&&(g=v[1]))),i.exports=g&&+g}),748:(function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(i,a,o){var s=o(7854),l=o(1236).f,c=o(8880),d=o(1320),h=o(3505),v=o(9920),g=o(4705);i.exports=function(S,E){var y=S.target,w=S.global,b=S.stat,A,R,C,O,m,D;if(w?R=s:b?R=s[y]||h(y,{}):R=(s[y]||{}).prototype,R)for(C in E){if(m=E[C],S.noTargetGet?(D=l(R,C),O=D&&D.value):O=R[C],A=g(w?C:y+(b?".":"#")+C,S.forced),!A&&O!==void 0){if(typeof m==typeof O)continue;v(m,O)}(S.sham||O&&O.sham)&&c(m,"sham",!0),d(R,C,m,S)}}}),7293:(function(i){i.exports=function(a){try{return!!a()}catch{return!0}}}),7007:(function(i,a,o){o(4916);var s=o(1320),l=o(7293),c=o(5112),d=o(2261),h=o(8880),v=c("species"),g=!l(function(){var b=/./;return b.exec=function(){var A=[];return A.groups={a:"7"},A},"".replace(b,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),E=c("replace"),y=(function(){return/./[E]?/./[E]("a","$0")==="":!1})(),w=!l(function(){var b=/(?:)/,A=b.exec;b.exec=function(){return A.apply(this,arguments)};var R="ab".split(b);return R.length!==2||R[0]!=="a"||R[1]!=="b"});i.exports=function(b,A,R,C){var O=c(b),m=!l(function(){var K={};return K[O]=function(){return 7},""[b](K)!=7}),D=m&&!l(function(){var K=!1,X=/a/;return b==="split"&&(X={},X.constructor={},X.constructor[v]=function(){return X},X.flags="",X[O]=/./[O]),X.exec=function(){return K=!0,null},X[O](""),!K});if(!m||!D||b==="replace"&&!(g&&S&&!y)||b==="split"&&!w){var k=/./[O],q=R(O,""[b],function(K,X,Q,J,re){return X.exec===d?m&&!re?{done:!0,value:k.call(X,Q,J)}:{done:!0,value:K.call(Q,X,J)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:y}),j=q[0],W=q[1];s(String.prototype,b,j),s(RegExp.prototype,O,A==2?function(K,X){return W.call(K,this,X)}:function(K){return W.call(K,this)})}C&&h(RegExp.prototype[O],"sham",!0)}}),9974:(function(i,a,o){var s=o(3099);i.exports=function(l,c,d){if(s(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(h){return l.call(c,h)};case 2:return function(h,v){return l.call(c,h,v)};case 3:return function(h,v,g){return l.call(c,h,v,g)}}return function(){return l.apply(c,arguments)}}}),5005:(function(i,a,o){var s=o(857),l=o(7854),c=function(d){return typeof d=="function"?d:void 0};i.exports=function(d,h){return arguments.length<2?c(s[d])||c(l[d]):s[d]&&s[d][h]||l[d]&&l[d][h]}}),1246:(function(i,a,o){var s=o(648),l=o(7497),c=o(5112),d=c("iterator");i.exports=function(h){if(h!=null)return h[d]||h["@@iterator"]||l[s(h)]}}),8554:(function(i,a,o){var s=o(9670),l=o(1246);i.exports=function(c){var d=l(c);if(typeof d!="function")throw TypeError(String(c)+" is not iterable");return s(d.call(c))}}),647:(function(i,a,o){var s=o(7908),l=Math.floor,c="".replace,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i.exports=function(v,g,S,E,y,w){var b=S+v.length,A=E.length,R=h;return y!==void 0&&(y=s(y),R=d),c.call(w,R,function(C,O){var m;switch(O.charAt(0)){case"$":return"$";case"&":return v;case"`":return g.slice(0,S);case"'":return g.slice(b);case"<":m=y[O.slice(1,-1)];break;default:var D=+O;if(D===0)return C;if(D>A){var k=l(D/10);return k===0?C:k<=A?E[k-1]===void 0?O.charAt(1):E[k-1]+O.charAt(1):C}m=E[D-1]}return m===void 0?"":m})}}),7854:(function(i,a,o){var s=function(l){return l&&l.Math==Math&&l};i.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof o.g=="object"&&o.g)||(function(){return this})()||Function("return this")()}),6656:(function(i){var a={}.hasOwnProperty;i.exports=function(o,s){return a.call(o,s)}}),3501:(function(i){i.exports={}}),490:(function(i,a,o){var s=o(5005);i.exports=s("document","documentElement")}),4664:(function(i,a,o){var s=o(9781),l=o(7293),c=o(317);i.exports=!s&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(i){var a=Math.abs,o=Math.pow,s=Math.floor,l=Math.log,c=Math.LN2,d=function(v,g,S){var E=new Array(S),y=S*8-g-1,w=(1<<y)-1,b=w>>1,A=g===23?o(2,-24)-o(2,-77):0,R=v<0||v===0&&1/v<0?1:0,C=0,O,m,D;for(v=a(v),v!=v||v===1/0?(m=v!=v?1:0,O=w):(O=s(l(v)/c),v*(D=o(2,-O))<1&&(O--,D*=2),O+b>=1?v+=A/D:v+=A*o(2,1-b),v*D>=2&&(O++,D/=2),O+b>=w?(m=0,O=w):O+b>=1?(m=(v*D-1)*o(2,g),O=O+b):(m=v*o(2,b-1)*o(2,g),O=0));g>=8;E[C++]=m&255,m/=256,g-=8);for(O=O<<g|m,y+=g;y>0;E[C++]=O&255,O/=256,y-=8);return E[--C]|=R*128,E},h=function(v,g){var S=v.length,E=S*8-g-1,y=(1<<E)-1,w=y>>1,b=E-7,A=S-1,R=v[A--],C=R&127,O;for(R>>=7;b>0;C=C*256+v[A],A--,b-=8);for(O=C&(1<<-b)-1,C>>=-b,b+=g;b>0;O=O*256+v[A],A--,b-=8);if(C===0)C=1-w;else{if(C===y)return O?NaN:R?-1/0:1/0;O=O+o(2,g),C=C-w}return(R?-1:1)*O*o(2,C-g)};i.exports={pack:d,unpack:h}}),8361:(function(i,a,o){var s=o(7293),l=o(4326),c="".split;i.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object}),9587:(function(i,a,o){var s=o(111),l=o(7674);i.exports=function(c,d,h){var v,g;return l&&typeof(v=d.constructor)=="function"&&v!==h&&s(g=v.prototype)&&g!==h.prototype&&l(c,g),c}}),2788:(function(i,a,o){var s=o(5465),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(c){return l.call(c)}),i.exports=s.inspectSource}),9909:(function(i,a,o){var s=o(8536),l=o(7854),c=o(111),d=o(8880),h=o(6656),v=o(5465),g=o(6200),S=o(3501),E=l.WeakMap,y,w,b,A=function(q){return b(q)?w(q):y(q,{})},R=function(q){return function(j){var W;if(!c(j)||(W=w(j)).type!==q)throw TypeError("Incompatible receiver, "+q+" required");return W}};if(s){var C=v.state||(v.state=new E),O=C.get,m=C.has,D=C.set;y=function(q,j){return j.facade=q,D.call(C,q,j),j},w=function(q){return O.call(C,q)||{}},b=function(q){return m.call(C,q)}}else{var k=g("state");S[k]=!0,y=function(q,j){return j.facade=q,d(q,k,j),j},w=function(q){return h(q,k)?q[k]:{}},b=function(q){return h(q,k)}}i.exports={set:y,get:w,has:b,enforce:A,getterFor:R}}),7659:(function(i,a,o){var s=o(5112),l=o(7497),c=s("iterator"),d=Array.prototype;i.exports=function(h){return h!==void 0&&(l.Array===h||d[c]===h)}}),3157:(function(i,a,o){var s=o(4326);i.exports=Array.isArray||function(c){return s(c)=="Array"}}),4705:(function(i,a,o){var s=o(7293),l=/#|\.prototype\./,c=function(S,E){var y=h[d(S)];return y==g?!0:y==v?!1:typeof E=="function"?s(E):!!E},d=c.normalize=function(S){return String(S).replace(l,".").toLowerCase()},h=c.data={},v=c.NATIVE="N",g=c.POLYFILL="P";i.exports=c}),111:(function(i){i.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}}),1913:(function(i){i.exports=!1}),7850:(function(i,a,o){var s=o(111),l=o(4326),c=o(5112),d=c("match");i.exports=function(h){var v;return s(h)&&((v=h[d])!==void 0?!!v:l(h)=="RegExp")}}),9212:(function(i,a,o){var s=o(9670);i.exports=function(l){var c=l.return;if(c!==void 0)return s(c.call(l)).value}}),3383:(function(i,a,o){var s=o(7293),l=o(9518),c=o(8880),d=o(6656),h=o(5112),v=o(1913),g=h("iterator"),S=!1,E=function(){return this},y,w,b;[].keys&&(b=[].keys(),"next"in b?(w=l(l(b)),w!==Object.prototype&&(y=w)):S=!0);var A=y==null||s(function(){var R={};return y[g].call(R)!==R});A&&(y={}),(!v||A)&&!d(y,g)&&c(y,g,E),i.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(i){i.exports={}}),133:(function(i,a,o){var s=o(7293);i.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})}),590:(function(i,a,o){var s=o(7293),l=o(5112),c=o(1913),d=l("iterator");i.exports=!s(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),v=h.searchParams,g="";return h.pathname="c%20d",v.forEach(function(S,E){v.delete("b"),g+=E+S}),c&&!h.toJSON||!v.sort||h.href!=="http://a/c%20d?a=1&c=3"||v.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!v[d]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||g!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(i,a,o){var s=o(7854),l=o(2788),c=s.WeakMap;i.exports=typeof c=="function"&&/native code/.test(l(c))}),1574:(function(i,a,o){var s=o(9781),l=o(7293),c=o(1956),d=o(5181),h=o(5296),v=o(7908),g=o(8361),S=Object.assign,E=Object.defineProperty;i.exports=!S||l(function(){if(s&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var y={},w={},b=Symbol(),A="abcdefghijklmnopqrst";return y[b]=7,A.split("").forEach(function(R){w[R]=R}),S({},y)[b]!=7||c(S({},w)).join("")!=A})?function(w,b){for(var A=v(w),R=arguments.length,C=1,O=d.f,m=h.f;R>C;)for(var D=g(arguments[C++]),k=O?c(D).concat(O(D)):c(D),q=k.length,j=0,W;q>j;)W=k[j++],(!s||m.call(D,W))&&(A[W]=D[W]);return A}:S}),30:(function(i,a,o){var s=o(9670),l=o(6048),c=o(748),d=o(3501),h=o(490),v=o(317),g=o(6200),S=">",E="<",y="prototype",w="script",b=g("IE_PROTO"),A=function(){},R=function(k){return E+w+S+k+E+"/"+w+S},C=function(k){k.write(R("")),k.close();var q=k.parentWindow.Object;return k=null,q},O=function(){var k=v("iframe"),q="java"+w+":",j;return k.style.display="none",h.appendChild(k),k.src=String(q),j=k.contentWindow.document,j.open(),j.write(R("document.F=Object")),j.close(),j.F},m,D=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}D=m?C(m):O();for(var k=c.length;k--;)delete D[y][c[k]];return D()};d[b]=!0,i.exports=Object.create||function(q,j){var W;return q!==null?(A[y]=s(q),W=new A,A[y]=null,W[b]=q):W=D(),j===void 0?W:l(W,j)}}),6048:(function(i,a,o){var s=o(9781),l=o(3070),c=o(9670),d=o(1956);i.exports=s?Object.defineProperties:function(v,g){c(v);for(var S=d(g),E=S.length,y=0,w;E>y;)l.f(v,w=S[y++],g[w]);return v}}),3070:(function(i,a,o){var s=o(9781),l=o(4664),c=o(9670),d=o(7593),h=Object.defineProperty;a.f=s?h:function(g,S,E){if(c(g),S=d(S,!0),c(E),l)try{return h(g,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(g[S]=E.value),g}}),1236:(function(i,a,o){var s=o(9781),l=o(5296),c=o(9114),d=o(5656),h=o(7593),v=o(6656),g=o(4664),S=Object.getOwnPropertyDescriptor;a.f=s?S:function(y,w){if(y=d(y),w=h(w,!0),g)try{return S(y,w)}catch{}if(v(y,w))return c(!l.f.call(y,w),y[w])}}),8006:(function(i,a,o){var s=o(6324),l=o(748),c=l.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(h){return s(h,c)}}),5181:(function(i,a){a.f=Object.getOwnPropertySymbols}),9518:(function(i,a,o){var s=o(6656),l=o(7908),c=o(6200),d=o(8544),h=c("IE_PROTO"),v=Object.prototype;i.exports=d?Object.getPrototypeOf:function(g){return g=l(g),s(g,h)?g[h]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?v:null}}),6324:(function(i,a,o){var s=o(6656),l=o(5656),c=o(1318).indexOf,d=o(3501);i.exports=function(h,v){var g=l(h),S=0,E=[],y;for(y in g)!s(d,y)&&s(g,y)&&E.push(y);for(;v.length>S;)s(g,y=v[S++])&&(~c(E,y)||E.push(y));return E}}),1956:(function(i,a,o){var s=o(6324),l=o(748);i.exports=Object.keys||function(d){return s(d,l)}}),5296:(function(i,a){var o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(d){var h=s(this,d);return!!h&&h.enumerable}:o}),7674:(function(i,a,o){var s=o(9670),l=o(6077);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var c=!1,d={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(d,[]),c=d instanceof Array}catch{}return function(g,S){return s(g),l(S),c?h.call(g,S):g.__proto__=S,g}})():void 0)}),288:(function(i,a,o){var s=o(1694),l=o(648);i.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}}),3887:(function(i,a,o){var s=o(5005),l=o(8006),c=o(5181),d=o(9670);i.exports=s("Reflect","ownKeys")||function(v){var g=l.f(d(v)),S=c.f;return S?g.concat(S(v)):g}}),857:(function(i,a,o){var s=o(7854);i.exports=s}),2248:(function(i,a,o){var s=o(1320);i.exports=function(l,c,d){for(var h in c)s(l,h,c[h],d);return l}}),1320:(function(i,a,o){var s=o(7854),l=o(8880),c=o(6656),d=o(3505),h=o(2788),v=o(9909),g=v.get,S=v.enforce,E=String(String).split("String");(i.exports=function(y,w,b,A){var R=A?!!A.unsafe:!1,C=A?!!A.enumerable:!1,O=A?!!A.noTargetGet:!1,m;if(typeof b=="function"&&(typeof w=="string"&&!c(b,"name")&&l(b,"name",w),m=S(b),m.source||(m.source=E.join(typeof w=="string"?w:""))),y===s){C?y[w]=b:d(w,b);return}else R?!O&&y[w]&&(C=!0):delete y[w];C?y[w]=b:l(y,w,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||h(this)})}),7651:(function(i,a,o){var s=o(4326),l=o(2261);i.exports=function(c,d){var h=c.exec;if(typeof h=="function"){var v=h.call(c,d);if(typeof v!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return v}if(s(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}}),2261:(function(i,a,o){var s=o(7066),l=o(2999),c=RegExp.prototype.exec,d=String.prototype.replace,h=c,v=(function(){var y=/a/,w=/b*/g;return c.call(y,"a"),c.call(w,"a"),y.lastIndex!==0||w.lastIndex!==0})(),g=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=v||S||g;E&&(h=function(w){var b=this,A,R,C,O,m=g&&b.sticky,D=s.call(b),k=b.source,q=0,j=w;return m&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),j=String(w).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&w[b.lastIndex-1]!==`
123
- `)&&(k="(?: "+k+")",j=" "+j,q++),R=new RegExp("^(?:"+k+")",D)),S&&(R=new RegExp("^"+k+"$(?!\\s)",D)),v&&(A=b.lastIndex),C=c.call(m?R:b,j),m?C?(C.input=C.input.slice(q),C[0]=C[0].slice(q),C.index=b.lastIndex,b.lastIndex+=C[0].length):b.lastIndex=0:v&&C&&(b.lastIndex=b.global?C.index+C[0].length:A),S&&C&&C.length>1&&d.call(C[0],R,function(){for(O=1;O<arguments.length-2;O++)arguments[O]===void 0&&(C[O]=void 0)}),C}),i.exports=h}),7066:(function(i,a,o){var s=o(9670);i.exports=function(){var l=s(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}}),2999:(function(i,a,o){var s=o(7293);function l(c,d){return RegExp(c,d)}a.UNSUPPORTED_Y=s(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),a.BROKEN_CARET=s(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})}),4488:(function(i){i.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}}),3505:(function(i,a,o){var s=o(7854),l=o(8880);i.exports=function(c,d){try{l(s,c,d)}catch{s[c]=d}return d}}),6340:(function(i,a,o){var s=o(5005),l=o(3070),c=o(5112),d=o(9781),h=c("species");i.exports=function(v){var g=s(v),S=l.f;d&&g&&!g[h]&&S(g,h,{configurable:!0,get:function(){return this}})}}),8003:(function(i,a,o){var s=o(3070).f,l=o(6656),c=o(5112),d=c("toStringTag");i.exports=function(h,v,g){h&&!l(h=g?h:h.prototype,d)&&s(h,d,{configurable:!0,value:v})}}),6200:(function(i,a,o){var s=o(2309),l=o(9711),c=s("keys");i.exports=function(d){return c[d]||(c[d]=l(d))}}),5465:(function(i,a,o){var s=o(7854),l=o(3505),c="__core-js_shared__",d=s[c]||l(c,{});i.exports=d}),2309:(function(i,a,o){var s=o(1913),l=o(5465);(i.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.9.0",mode:s?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(i,a,o){var s=o(9670),l=o(3099),c=o(5112),d=c("species");i.exports=function(h,v){var g=s(h).constructor,S;return g===void 0||(S=s(g)[d])==null?v:l(S)}}),8710:(function(i,a,o){var s=o(9958),l=o(4488),c=function(d){return function(h,v){var g=String(l(h)),S=s(v),E=g.length,y,w;return S<0||S>=E?d?"":void 0:(y=g.charCodeAt(S),y<55296||y>56319||S+1===E||(w=g.charCodeAt(S+1))<56320||w>57343?d?g.charAt(S):y:d?g.slice(S,S+2):(y-55296<<10)+(w-56320)+65536)}};i.exports={codeAt:c(!1),charAt:c(!0)}}),3197:(function(i){var a=2147483647,o=36,s=1,l=26,c=38,d=700,h=72,v=128,g="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,y="Overflow: input needs wider integers to process",w=o-s,b=Math.floor,A=String.fromCharCode,R=function(D){for(var k=[],q=0,j=D.length;q<j;){var W=D.charCodeAt(q++);if(W>=55296&&W<=56319&&q<j){var K=D.charCodeAt(q++);(K&64512)==56320?k.push(((W&1023)<<10)+(K&1023)+65536):(k.push(W),q--)}else k.push(W)}return k},C=function(D){return D+22+75*(D<26)},O=function(D,k,q){var j=0;for(D=q?b(D/d):D>>1,D+=b(D/k);D>w*l>>1;j+=o)D=b(D/w);return b(j+(w+1)*D/(D+c))},m=function(D){var k=[];D=R(D);var q=D.length,j=v,W=0,K=h,X,Q;for(X=0;X<D.length;X++)Q=D[X],Q<128&&k.push(A(Q));var J=k.length,re=J;for(J&&k.push(g);re<q;){var $=a;for(X=0;X<D.length;X++)Q=D[X],Q>=j&&Q<$&&($=Q);var N=re+1;if($-j>b((a-W)/N))throw RangeError(y);for(W+=($-j)*N,j=$,X=0;X<D.length;X++){if(Q=D[X],Q<j&&++W>a)throw RangeError(y);if(Q==j){for(var U=W,ee=o;;ee+=o){var te=ee<=K?s:ee>=K+l?l:ee-K;if(U<te)break;var de=U-te,Se=o-te;k.push(A(C(te+de%Se))),U=b(de/Se)}k.push(A(C(U))),K=O(W,N,re==J),W=0,++re}}++W,++j}return k.join("")};i.exports=function(D){var k=[],q=D.toLowerCase().replace(E,".").split("."),j,W;for(j=0;j<q.length;j++)W=q[j],k.push(S.test(W)?"xn--"+m(W):W);return k.join(".")}}),6091:(function(i,a,o){var s=o(7293),l=o(1361),c="​…᠎";i.exports=function(d){return s(function(){return!!l[d]()||c[d]()!=c||l[d].name!==d})}}),3111:(function(i,a,o){var s=o(4488),l=o(1361),c="["+l+"]",d=RegExp("^"+c+c+"*"),h=RegExp(c+c+"*$"),v=function(g){return function(S){var E=String(s(S));return g&1&&(E=E.replace(d,"")),g&2&&(E=E.replace(h,"")),E}};i.exports={start:v(1),end:v(2),trim:v(3)}}),1400:(function(i,a,o){var s=o(9958),l=Math.max,c=Math.min;i.exports=function(d,h){var v=s(d);return v<0?l(v+h,0):c(v,h)}}),7067:(function(i,a,o){var s=o(9958),l=o(7466);i.exports=function(c){if(c===void 0)return 0;var d=s(c),h=l(d);if(d!==h)throw RangeError("Wrong length or index");return h}}),5656:(function(i,a,o){var s=o(8361),l=o(4488);i.exports=function(c){return s(l(c))}}),9958:(function(i){var a=Math.ceil,o=Math.floor;i.exports=function(s){return isNaN(s=+s)?0:(s>0?o:a)(s)}}),7466:(function(i,a,o){var s=o(9958),l=Math.min;i.exports=function(c){return c>0?l(s(c),9007199254740991):0}}),7908:(function(i,a,o){var s=o(4488);i.exports=function(l){return Object(s(l))}}),4590:(function(i,a,o){var s=o(3002);i.exports=function(l,c){var d=s(l);if(d%c)throw RangeError("Wrong offset");return d}}),3002:(function(i,a,o){var s=o(9958);i.exports=function(l){var c=s(l);if(c<0)throw RangeError("The argument can't be less than 0");return c}}),7593:(function(i,a,o){var s=o(111);i.exports=function(l,c){if(!s(l))return l;var d,h;if(c&&typeof(d=l.toString)=="function"&&!s(h=d.call(l))||typeof(d=l.valueOf)=="function"&&!s(h=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!s(h=d.call(l)))return h;throw TypeError("Can't convert object to primitive value")}}),1694:(function(i,a,o){var s=o(5112),l=s("toStringTag"),c={};c[l]="z",i.exports=String(c)==="[object z]"}),9843:(function(i,a,o){var s=o(2109),l=o(7854),c=o(9781),d=o(3832),h=o(260),v=o(3331),g=o(5787),S=o(9114),E=o(8880),y=o(7466),w=o(7067),b=o(4590),A=o(7593),R=o(6656),C=o(648),O=o(111),m=o(30),D=o(7674),k=o(8006).f,q=o(7321),j=o(2092).forEach,W=o(6340),K=o(3070),X=o(1236),Q=o(9909),J=o(9587),re=Q.get,$=Q.set,N=K.f,U=X.f,ee=Math.round,te=l.RangeError,de=v.ArrayBuffer,Se=v.DataView,xe=h.NATIVE_ARRAY_BUFFER_VIEWS,ue=h.TYPED_ARRAY_TAG,I=h.TypedArray,P=h.TypedArrayPrototype,B=h.aTypedArrayConstructor,L=h.isTypedArray,H="BYTES_PER_ELEMENT",ne="Wrong length",ce=function($e,me){for(var be=0,Te=me.length,Ne=new(B($e))(Te);Te>be;)Ne[be]=me[be++];return Ne},we=function($e,me){N($e,me,{get:function(){return re(this)[me]}})},_e=function($e){var me;return $e instanceof de||(me=C($e))=="ArrayBuffer"||me=="SharedArrayBuffer"},Oe=function($e,me){return L($e)&&typeof me!="symbol"&&me in $e&&String(+me)==String(me)},Re=function(me,be){return Oe(me,be=A(be,!0))?S(2,me[be]):U(me,be)},Ie=function(me,be,Te){return Oe(me,be=A(be,!0))&&O(Te)&&R(Te,"value")&&!R(Te,"get")&&!R(Te,"set")&&!Te.configurable&&(!R(Te,"writable")||Te.writable)&&(!R(Te,"enumerable")||Te.enumerable)?(me[be]=Te.value,me):N(me,be,Te)};c?(xe||(X.f=Re,K.f=Ie,we(P,"buffer"),we(P,"byteOffset"),we(P,"byteLength"),we(P,"length")),s({target:"Object",stat:!0,forced:!xe},{getOwnPropertyDescriptor:Re,defineProperty:Ie}),i.exports=function($e,me,be){var Te=$e.match(/\d+$/)[0]/8,Ne=$e+(be?"Clamped":"")+"Array",Ve="get"+$e,qe="set"+$e,Ge=l[Ne],ct=Ge,Ut=ct&&ct.prototype,Wt={},Je=function(st,rt){var dt=re(st);return dt.view[Ve](rt*Te+dt.byteOffset,!0)},Rt=function(st,rt,dt){var Yt=re(st);be&&(dt=(dt=ee(dt))<0?0:dt>255?255:dt&255),Yt.view[qe](rt*Te+Yt.byteOffset,dt,!0)},_t=function(st,rt){N(st,rt,{get:function(){return Je(this,rt)},set:function(dt){return Rt(this,rt,dt)},enumerable:!0})};xe?d&&(ct=me(function(st,rt,dt,Yt){return g(st,ct,Ne),J((function(){return O(rt)?_e(rt)?Yt!==void 0?new Ge(rt,b(dt,Te),Yt):dt!==void 0?new Ge(rt,b(dt,Te)):new Ge(rt):L(rt)?ce(ct,rt):q.call(ct,rt):new Ge(w(rt))})(),st,ct)}),D&&D(ct,I),j(k(Ge),function(st){st in ct||E(ct,st,Ge[st])}),ct.prototype=Ut):(ct=me(function(st,rt,dt,Yt){g(st,ct,Ne);var Lt=0,Ce=0,Ze,ut,wt;if(!O(rt))wt=w(rt),ut=wt*Te,Ze=new de(ut);else if(_e(rt)){Ze=rt,Ce=b(dt,Te);var Nt=rt.byteLength;if(Yt===void 0){if(Nt%Te||(ut=Nt-Ce,ut<0))throw te(ne)}else if(ut=y(Yt)*Te,ut+Ce>Nt)throw te(ne);wt=ut/Te}else return L(rt)?ce(ct,rt):q.call(ct,rt);for($(st,{buffer:Ze,byteOffset:Ce,byteLength:ut,length:wt,view:new Se(Ze)});Lt<wt;)_t(st,Lt++)}),D&&D(ct,I),Ut=ct.prototype=m(P)),Ut.constructor!==ct&&E(Ut,"constructor",ct),ue&&E(Ut,ue,Ne),Wt[Ne]=ct,s({global:!0,forced:ct!=Ge,sham:!xe},Wt),H in ct||E(ct,H,Te),H in Ut||E(Ut,H,Te),W(Ne)}):i.exports=function(){}}),3832:(function(i,a,o){var s=o(7854),l=o(7293),c=o(7072),d=o(260).NATIVE_ARRAY_BUFFER_VIEWS,h=s.ArrayBuffer,v=s.Int8Array;i.exports=!d||!l(function(){v(1)})||!l(function(){new v(-1)})||!c(function(g){new v,new v(null),new v(1.5),new v(g)},!0)||l(function(){return new v(new h(2),1,void 0).length!==1})}),3074:(function(i,a,o){var s=o(260).aTypedArrayConstructor,l=o(6707);i.exports=function(c,d){for(var h=l(c,c.constructor),v=0,g=d.length,S=new(s(h))(g);g>v;)S[v]=d[v++];return S}}),7321:(function(i,a,o){var s=o(7908),l=o(7466),c=o(1246),d=o(7659),h=o(9974),v=o(260).aTypedArrayConstructor;i.exports=function(S){var E=s(S),y=arguments.length,w=y>1?arguments[1]:void 0,b=w!==void 0,A=c(E),R,C,O,m,D,k;if(A!=null&&!d(A))for(D=A.call(E),k=D.next,E=[];!(m=k.call(D)).done;)E.push(m.value);for(b&&y>2&&(w=h(w,arguments[2],2)),C=l(E.length),O=new(v(this))(C),R=0;C>R;R++)O[R]=b?w(E[R],R):E[R];return O}}),9711:(function(i){var a=0,o=Math.random();i.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++a+o).toString(36)}}),3307:(function(i,a,o){var s=o(133);i.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(i,a,o){var s=o(7854),l=o(2309),c=o(6656),d=o(9711),h=o(133),v=o(3307),g=l("wks"),S=s.Symbol,E=v?S:S&&S.withoutSetter||d;i.exports=function(y){return c(g,y)||(h&&c(S,y)?g[y]=S[y]:g[y]=E("Symbol."+y)),g[y]}}),1361:(function(i){i.exports=`
124
- \v\f\r                 \u2028\u2029\uFEFF`}),8264:(function(i,a,o){var s=o(2109),l=o(7854),c=o(3331),d=o(6340),h="ArrayBuffer",v=c[h],g=l[h];s({global:!0,forced:g!==v},{ArrayBuffer:v}),d(h)}),2222:(function(i,a,o){var s=o(2109),l=o(7293),c=o(3157),d=o(111),h=o(7908),v=o(7466),g=o(6135),S=o(5417),E=o(1194),y=o(5112),w=o(7392),b=y("isConcatSpreadable"),A=9007199254740991,R="Maximum allowed index exceeded",C=w>=51||!l(function(){var k=[];return k[b]=!1,k.concat()[0]!==k}),O=E("concat"),m=function(k){if(!d(k))return!1;var q=k[b];return q!==void 0?!!q:c(k)},D=!C||!O;s({target:"Array",proto:!0,forced:D},{concat:function(q){var j=h(this),W=S(j,0),K=0,X,Q,J,re,$;for(X=-1,J=arguments.length;X<J;X++)if($=X===-1?j:arguments[X],m($)){if(re=v($.length),K+re>A)throw TypeError(R);for(Q=0;Q<re;Q++,K++)Q in $&&g(W,K,$[Q])}else{if(K>=A)throw TypeError(R);g(W,K++,$)}return W.length=K,W}})}),7327:(function(i,a,o){var s=o(2109),l=o(2092).filter,c=o(1194),d=c("filter");s({target:"Array",proto:!0,forced:!d},{filter:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(i,a,o){var s=o(2109),l=o(1318).indexOf,c=o(9341),d=[].indexOf,h=!!d&&1/[1].indexOf(1,-0)<0,v=c("indexOf");s({target:"Array",proto:!0,forced:h||!v},{indexOf:function(S){return h?d.apply(this,arguments)||0:l(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(i,a,o){var s=o(5656),l=o(1223),c=o(7497),d=o(9909),h=o(654),v="Array Iterator",g=d.set,S=d.getterFor(v);i.exports=h(Array,"Array",function(E,y){g(this,{type:v,target:s(E),index:0,kind:y})},function(){var E=S(this),y=E.target,w=E.kind,b=E.index++;return!y||b>=y.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:b,done:!1}:w=="values"?{value:y[b],done:!1}:{value:[b,y[b]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")}),1249:(function(i,a,o){var s=o(2109),l=o(2092).map,c=o(1194),d=c("map");s({target:"Array",proto:!0,forced:!d},{map:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(i,a,o){var s=o(2109),l=o(111),c=o(3157),d=o(1400),h=o(7466),v=o(5656),g=o(6135),S=o(5112),E=o(1194),y=E("slice"),w=S("species"),b=[].slice,A=Math.max;s({target:"Array",proto:!0,forced:!y},{slice:function(C,O){var m=v(this),D=h(m.length),k=d(C,D),q=d(O===void 0?D:O,D),j,W,K;if(c(m)&&(j=m.constructor,typeof j=="function"&&(j===Array||c(j.prototype))?j=void 0:l(j)&&(j=j[w],j===null&&(j=void 0)),j===Array||j===void 0))return b.call(m,k,q);for(W=new(j===void 0?Array:j)(A(q-k,0)),K=0;k<q;k++,K++)k in m&&g(W,K,m[k]);return W.length=K,W}})}),561:(function(i,a,o){var s=o(2109),l=o(1400),c=o(9958),d=o(7466),h=o(7908),v=o(5417),g=o(6135),S=o(1194),E=S("splice"),y=Math.max,w=Math.min,b=9007199254740991,A="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!E},{splice:function(C,O){var m=h(this),D=d(m.length),k=l(C,D),q=arguments.length,j,W,K,X,Q,J;if(q===0?j=W=0:q===1?(j=0,W=D-k):(j=q-2,W=w(y(c(O),0),D-k)),D+j-W>b)throw TypeError(A);for(K=v(m,W),X=0;X<W;X++)Q=k+X,Q in m&&g(K,X,m[Q]);if(K.length=W,j<W){for(X=k;X<D-W;X++)Q=X+W,J=X+j,Q in m?m[J]=m[Q]:delete m[J];for(X=D;X>D-W+j;X--)delete m[X-1]}else if(j>W)for(X=D-W;X>k;X--)Q=X+W-1,J=X+j-1,Q in m?m[J]=m[Q]:delete m[J];for(X=0;X<j;X++)m[X+k]=arguments[X+2];return m.length=D-W+j,K}})}),8309:(function(i,a,o){var s=o(9781),l=o(3070).f,c=Function.prototype,d=c.toString,h=/^\s*function ([^ (]*)/,v="name";s&&!(v in c)&&l(c,v,{configurable:!0,get:function(){try{return d.call(this).match(h)[1]}catch{return""}}})}),489:(function(i,a,o){var s=o(2109),l=o(7293),c=o(7908),d=o(9518),h=o(8544),v=l(function(){d(1)});s({target:"Object",stat:!0,forced:v,sham:!h},{getPrototypeOf:function(S){return d(c(S))}})}),1539:(function(i,a,o){var s=o(1694),l=o(1320),c=o(288);s||l(Object.prototype,"toString",c,{unsafe:!0})}),4916:(function(i,a,o){var s=o(2109),l=o(2261);s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})}),9714:(function(i,a,o){var s=o(1320),l=o(9670),c=o(7293),d=o(7066),h="toString",v=RegExp.prototype,g=v[h],S=c(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),E=g.name!=h;(S||E)&&s(RegExp.prototype,h,function(){var w=l(this),b=String(w.source),A=w.flags,R=String(A===void 0&&w instanceof RegExp&&!("flags"in v)?d.call(w):A);return"/"+b+"/"+R},{unsafe:!0})}),8783:(function(i,a,o){var s=o(8710).charAt,l=o(9909),c=o(654),d="String Iterator",h=l.set,v=l.getterFor(d);c(String,"String",function(g){h(this,{type:d,string:String(g),index:0})},function(){var S=v(this),E=S.string,y=S.index,w;return y>=E.length?{value:void 0,done:!0}:(w=s(E,y),S.index+=w.length,{value:w,done:!1})})}),4723:(function(i,a,o){var s=o(7007),l=o(9670),c=o(7466),d=o(4488),h=o(1530),v=o(7651);s("match",1,function(g,S,E){return[function(w){var b=d(this),A=w==null?void 0:w[g];return A!==void 0?A.call(w,b):new RegExp(w)[g](String(b))},function(y){var w=E(S,y,this);if(w.done)return w.value;var b=l(y),A=String(this);if(!b.global)return v(b,A);var R=b.unicode;b.lastIndex=0;for(var C=[],O=0,m;(m=v(b,A))!==null;){var D=String(m[0]);C[O]=D,D===""&&(b.lastIndex=h(A,c(b.lastIndex),R)),O++}return O===0?null:C}]})}),5306:(function(i,a,o){var s=o(7007),l=o(9670),c=o(7466),d=o(9958),h=o(4488),v=o(1530),g=o(647),S=o(7651),E=Math.max,y=Math.min,w=function(b){return b===void 0?b:String(b)};s("replace",2,function(b,A,R,C){var O=C.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=C.REPLACE_KEEPS_$0,D=O?"$":"$0";return[function(q,j){var W=h(this),K=q==null?void 0:q[b];return K!==void 0?K.call(q,W,j):A.call(String(W),q,j)},function(k,q){if(!O&&m||typeof q=="string"&&q.indexOf(D)===-1){var j=R(A,k,this,q);if(j.done)return j.value}var W=l(k),K=String(this),X=typeof q=="function";X||(q=String(q));var Q=W.global;if(Q){var J=W.unicode;W.lastIndex=0}for(var re=[];;){var $=S(W,K);if($===null||(re.push($),!Q))break;var N=String($[0]);N===""&&(W.lastIndex=v(K,c(W.lastIndex),J))}for(var U="",ee=0,te=0;te<re.length;te++){$=re[te];for(var de=String($[0]),Se=E(y(d($.index),K.length),0),xe=[],ue=1;ue<$.length;ue++)xe.push(w($[ue]));var I=$.groups;if(X){var P=[de].concat(xe,Se,K);I!==void 0&&P.push(I);var B=String(q.apply(void 0,P))}else B=g(de,K,Se,xe,I,q);Se>=ee&&(U+=K.slice(ee,Se)+B,ee=Se+de.length)}return U+K.slice(ee)}]})}),3123:(function(i,a,o){var s=o(7007),l=o(7850),c=o(9670),d=o(4488),h=o(6707),v=o(1530),g=o(7466),S=o(7651),E=o(2261),y=o(7293),w=[].push,b=Math.min,A=4294967295,R=!y(function(){return!RegExp(A,"y")});s("split",2,function(C,O,m){var D;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?D=function(k,q){var j=String(d(this)),W=q===void 0?A:q>>>0;if(W===0)return[];if(k===void 0)return[j];if(!l(k))return O.call(j,k,W);for(var K=[],X=(k.ignoreCase?"i":"")+(k.multiline?"m":"")+(k.unicode?"u":"")+(k.sticky?"y":""),Q=0,J=new RegExp(k.source,X+"g"),re,$,N;(re=E.call(J,j))&&($=J.lastIndex,!($>Q&&(K.push(j.slice(Q,re.index)),re.length>1&&re.index<j.length&&w.apply(K,re.slice(1)),N=re[0].length,Q=$,K.length>=W)));)J.lastIndex===re.index&&J.lastIndex++;return Q===j.length?(N||!J.test(""))&&K.push(""):K.push(j.slice(Q)),K.length>W?K.slice(0,W):K}:"0".split(void 0,0).length?D=function(k,q){return k===void 0&&q===0?[]:O.call(this,k,q)}:D=O,[function(q,j){var W=d(this),K=q==null?void 0:q[C];return K!==void 0?K.call(q,W,j):D.call(String(W),q,j)},function(k,q){var j=m(D,k,this,q,D!==O);if(j.done)return j.value;var W=c(k),K=String(this),X=h(W,RegExp),Q=W.unicode,J=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(R?"y":"g"),re=new X(R?W:"^(?:"+W.source+")",J),$=q===void 0?A:q>>>0;if($===0)return[];if(K.length===0)return S(re,K)===null?[K]:[];for(var N=0,U=0,ee=[];U<K.length;){re.lastIndex=R?U:0;var te=S(re,R?K:K.slice(U)),de;if(te===null||(de=b(g(re.lastIndex+(R?0:U)),K.length))===N)U=v(K,U,Q);else{if(ee.push(K.slice(N,U)),ee.length===$)return ee;for(var Se=1;Se<=te.length-1;Se++)if(ee.push(te[Se]),ee.length===$)return ee;U=N=de}}return ee.push(K.slice(N)),ee}]},!R)}),3210:(function(i,a,o){var s=o(2109),l=o(3111).trim,c=o(6091);s({target:"String",proto:!0,forced:c("trim")},{trim:function(){return l(this)}})}),2990:(function(i,a,o){var s=o(260),l=o(1048),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("copyWithin",function(v,g){return l.call(c(this),v,g,arguments.length>2?arguments[2]:void 0)})}),8927:(function(i,a,o){var s=o(260),l=o(2092).every,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("every",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),3105:(function(i,a,o){var s=o(260),l=o(1285),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("fill",function(v){return l.apply(c(this),arguments)})}),5035:(function(i,a,o){var s=o(260),l=o(2092).filter,c=o(3074),d=s.aTypedArray,h=s.exportTypedArrayMethod;h("filter",function(g){var S=l(d(this),g,arguments.length>1?arguments[1]:void 0);return c(this,S)})}),7174:(function(i,a,o){var s=o(260),l=o(2092).findIndex,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("findIndex",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),4345:(function(i,a,o){var s=o(260),l=o(2092).find,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("find",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),2846:(function(i,a,o){var s=o(260),l=o(2092).forEach,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("forEach",function(v){l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),4731:(function(i,a,o){var s=o(260),l=o(1318).includes,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("includes",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),7209:(function(i,a,o){var s=o(260),l=o(1318).indexOf,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("indexOf",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),6319:(function(i,a,o){var s=o(7854),l=o(260),c=o(6992),d=o(5112),h=d("iterator"),v=s.Uint8Array,g=c.values,S=c.keys,E=c.entries,y=l.aTypedArray,w=l.exportTypedArrayMethod,b=v&&v.prototype[h],A=!!b&&(b.name=="values"||b.name==null),R=function(){return g.call(y(this))};w("entries",function(){return E.call(y(this))}),w("keys",function(){return S.call(y(this))}),w("values",R,!A),w(h,R,!A)}),8867:(function(i,a,o){var s=o(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=[].join;c("join",function(v){return d.apply(l(this),arguments)})}),7789:(function(i,a,o){var s=o(260),l=o(6583),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("lastIndexOf",function(v){return l.apply(c(this),arguments)})}),3739:(function(i,a,o){var s=o(260),l=o(2092).map,c=o(6707),d=s.aTypedArray,h=s.aTypedArrayConstructor,v=s.exportTypedArrayMethod;v("map",function(S){return l(d(this),S,arguments.length>1?arguments[1]:void 0,function(E,y){return new(h(c(E,E.constructor)))(y)})})}),4483:(function(i,a,o){var s=o(260),l=o(3671).right,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("reduceRight",function(v){return l(c(this),v,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(i,a,o){var s=o(260),l=o(3671).left,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("reduce",function(v){return l(c(this),v,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(i,a,o){var s=o(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=Math.floor;c("reverse",function(){for(var v=this,g=l(v).length,S=d(g/2),E=0,y;E<S;)y=v[E],v[E++]=v[--g],v[g]=y;return v})}),3462:(function(i,a,o){var s=o(260),l=o(7466),c=o(4590),d=o(7908),h=o(7293),v=s.aTypedArray,g=s.exportTypedArrayMethod,S=h(function(){new Int8Array(1).set({})});g("set",function(y){v(this);var w=c(arguments.length>1?arguments[1]:void 0,1),b=this.length,A=d(y),R=l(A.length),C=0;if(R+w>b)throw RangeError("Wrong length");for(;C<R;)this[w+C]=A[C++]},S)}),678:(function(i,a,o){var s=o(260),l=o(6707),c=o(7293),d=s.aTypedArray,h=s.aTypedArrayConstructor,v=s.exportTypedArrayMethod,g=[].slice,S=c(function(){new Int8Array(1).slice()});v("slice",function(y,w){for(var b=g.call(d(this),y,w),A=l(this,this.constructor),R=0,C=b.length,O=new(h(A))(C);C>R;)O[R]=b[R++];return O},S)}),7462:(function(i,a,o){var s=o(260),l=o(2092).some,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("some",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})}),3824:(function(i,a,o){var s=o(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=[].sort;c("sort",function(v){return d.call(l(this),v)})}),5021:(function(i,a,o){var s=o(260),l=o(7466),c=o(1400),d=o(6707),h=s.aTypedArray,v=s.exportTypedArrayMethod;v("subarray",function(S,E){var y=h(this),w=y.length,b=c(S,w);return new(d(y,y.constructor))(y.buffer,y.byteOffset+b*y.BYTES_PER_ELEMENT,l((E===void 0?w:c(E,w))-b))})}),2974:(function(i,a,o){var s=o(7854),l=o(260),c=o(7293),d=s.Int8Array,h=l.aTypedArray,v=l.exportTypedArrayMethod,g=[].toLocaleString,S=[].slice,E=!!d&&c(function(){g.call(new d(1))}),y=c(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!c(function(){d.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){return g.apply(E?S.call(h(this)):h(this),arguments)},y)}),5016:(function(i,a,o){var s=o(260).exportTypedArrayMethod,l=o(7293),c=o(7854),d=c.Uint8Array,h=d&&d.prototype||{},v=[].toString,g=[].join;l(function(){v.call({})})&&(v=function(){return g.call(this)});var S=h.toString!=v;s("toString",v,S)}),2472:(function(i,a,o){var s=o(9843);s("Uint8",function(l){return function(d,h,v){return l(this,d,h,v)}})}),4747:(function(i,a,o){var s=o(7854),l=o(8324),c=o(8533),d=o(8880);for(var h in l){var v=s[h],g=v&&v.prototype;if(g&&g.forEach!==c)try{d(g,"forEach",c)}catch{g.forEach=c}}}),3948:(function(i,a,o){var s=o(7854),l=o(8324),c=o(6992),d=o(8880),h=o(5112),v=h("iterator"),g=h("toStringTag"),S=c.values;for(var E in l){var y=s[E],w=y&&y.prototype;if(w){if(w[v]!==S)try{d(w,v,S)}catch{w[v]=S}if(w[g]||d(w,g,E),l[E]){for(var b in c)if(w[b]!==c[b])try{d(w,b,c[b])}catch{w[b]=c[b]}}}}}),1637:(function(i,a,o){o(6992);var s=o(2109),l=o(5005),c=o(590),d=o(1320),h=o(2248),v=o(8003),g=o(4994),S=o(9909),E=o(5787),y=o(6656),w=o(9974),b=o(648),A=o(9670),R=o(111),C=o(30),O=o(9114),m=o(8554),D=o(1246),k=o(5112),q=l("fetch"),j=l("Headers"),W=k("iterator"),K="URLSearchParams",X=K+"Iterator",Q=S.set,J=S.getterFor(K),re=S.getterFor(X),$=/\+/g,N=Array(4),U=function(ce){return N[ce-1]||(N[ce-1]=RegExp("((?:%[\\da-f]{2}){"+ce+"})","gi"))},ee=function(ce){try{return decodeURIComponent(ce)}catch{return ce}},te=function(ce){var we=ce.replace($," "),_e=4;try{return decodeURIComponent(we)}catch{for(;_e;)we=we.replace(U(_e--),ee);return we}},de=/[!'()~]|%20/g,Se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},xe=function(ce){return Se[ce]},ue=function(ce){return encodeURIComponent(ce).replace(de,xe)},I=function(ce,we){if(we)for(var _e=we.split("&"),Oe=0,Re,Ie;Oe<_e.length;)Re=_e[Oe++],Re.length&&(Ie=Re.split("="),ce.push({key:te(Ie.shift()),value:te(Ie.join("="))}))},P=function(ce){this.entries.length=0,I(this.entries,ce)},B=function(ce,we){if(ce<we)throw TypeError("Not enough arguments")},L=g(function(we,_e){Q(this,{type:X,iterator:m(J(we).entries),kind:_e})},"Iterator",function(){var we=re(this),_e=we.kind,Oe=we.iterator.next(),Re=Oe.value;return Oe.done||(Oe.value=_e==="keys"?Re.key:_e==="values"?Re.value:[Re.key,Re.value]),Oe}),H=function(){E(this,H,K);var we=arguments.length>0?arguments[0]:void 0,_e=this,Oe=[],Re,Ie,$e,me,be,Te,Ne,Ve,qe;if(Q(_e,{type:K,entries:Oe,updateURL:function(){},updateSearchParams:P}),we!==void 0)if(R(we))if(Re=D(we),typeof Re=="function")for(Ie=Re.call(we),$e=Ie.next;!(me=$e.call(Ie)).done;){if(be=m(A(me.value)),Te=be.next,(Ne=Te.call(be)).done||(Ve=Te.call(be)).done||!Te.call(be).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Ne.value+"",value:Ve.value+""})}else for(qe in we)y(we,qe)&&Oe.push({key:qe,value:we[qe]+""});else I(Oe,typeof we=="string"?we.charAt(0)==="?"?we.slice(1):we:we+"")},ne=H.prototype;h(ne,{append:function(we,_e){B(arguments.length,2);var Oe=J(this);Oe.entries.push({key:we+"",value:_e+""}),Oe.updateURL()},delete:function(ce){B(arguments.length,1);for(var we=J(this),_e=we.entries,Oe=ce+"",Re=0;Re<_e.length;)_e[Re].key===Oe?_e.splice(Re,1):Re++;we.updateURL()},get:function(we){B(arguments.length,1);for(var _e=J(this).entries,Oe=we+"",Re=0;Re<_e.length;Re++)if(_e[Re].key===Oe)return _e[Re].value;return null},getAll:function(we){B(arguments.length,1);for(var _e=J(this).entries,Oe=we+"",Re=[],Ie=0;Ie<_e.length;Ie++)_e[Ie].key===Oe&&Re.push(_e[Ie].value);return Re},has:function(we){B(arguments.length,1);for(var _e=J(this).entries,Oe=we+"",Re=0;Re<_e.length;)if(_e[Re++].key===Oe)return!0;return!1},set:function(we,_e){B(arguments.length,1);for(var Oe=J(this),Re=Oe.entries,Ie=!1,$e=we+"",me=_e+"",be=0,Te;be<Re.length;be++)Te=Re[be],Te.key===$e&&(Ie?Re.splice(be--,1):(Ie=!0,Te.value=me));Ie||Re.push({key:$e,value:me}),Oe.updateURL()},sort:function(){var we=J(this),_e=we.entries,Oe=_e.slice(),Re,Ie,$e;for(_e.length=0,$e=0;$e<Oe.length;$e++){for(Re=Oe[$e],Ie=0;Ie<$e;Ie++)if(_e[Ie].key>Re.key){_e.splice(Ie,0,Re);break}Ie===$e&&_e.push(Re)}we.updateURL()},forEach:function(we){for(var _e=J(this).entries,Oe=w(we,arguments.length>1?arguments[1]:void 0,3),Re=0,Ie;Re<_e.length;)Ie=_e[Re++],Oe(Ie.value,Ie.key,this)},keys:function(){return new L(this,"keys")},values:function(){return new L(this,"values")},entries:function(){return new L(this,"entries")}},{enumerable:!0}),d(ne,W,ne.entries),d(ne,"toString",function(){for(var we=J(this).entries,_e=[],Oe=0,Re;Oe<we.length;)Re=we[Oe++],_e.push(ue(Re.key)+"="+ue(Re.value));return _e.join("&")},{enumerable:!0}),v(H,K),s({global:!0,forced:!c},{URLSearchParams:H}),!c&&typeof q=="function"&&typeof j=="function"&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(we){var _e=[we],Oe,Re,Ie;return arguments.length>1&&(Oe=arguments[1],R(Oe)&&(Re=Oe.body,b(Re)===K&&(Ie=Oe.headers?new j(Oe.headers):new j,Ie.has("content-type")||Ie.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=C(Oe,{body:O(0,String(Re)),headers:O(0,Ie)}))),_e.push(Oe)),q.apply(this,_e)}}),i.exports={URLSearchParams:H,getState:J}}),285:(function(i,a,o){o(8783);var s=o(2109),l=o(9781),c=o(590),d=o(7854),h=o(6048),v=o(1320),g=o(5787),S=o(6656),E=o(1574),y=o(8457),w=o(8710).codeAt,b=o(3197),A=o(8003),R=o(1637),C=o(9909),O=d.URL,m=R.URLSearchParams,D=R.getState,k=C.set,q=C.getterFor("URL"),j=Math.floor,W=Math.pow,K="Invalid authority",X="Invalid scheme",Q="Invalid host",J="Invalid port",re=/[A-Za-z]/,$=/[\d+-.A-Za-z]/,N=/\d/,U=/^(0x|0X)/,ee=/^[0-7]+$/,te=/^\d+$/,de=/^[\dA-Fa-f]+$/,Se=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,xe=/[\u0000\t\u000A\u000D #/:?@[\\]]/,ue=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,I=/[\t\u000A\u000D]/g,P,B=function(fe,nt){var ze,Tt,yt;if(nt.charAt(0)=="["){if(nt.charAt(nt.length-1)!="]"||(ze=H(nt.slice(1,-1)),!ze))return Q;fe.host=ze}else if(me(fe)){if(nt=b(nt),Se.test(nt)||(ze=L(nt),ze===null))return Q;fe.host=ze}else{if(xe.test(nt))return Q;for(ze="",Tt=y(nt),yt=0;yt<Tt.length;yt++)ze+=Ie(Tt[yt],we);fe.host=ze}},L=function(fe){var nt=fe.split("."),ze,Tt,yt,zt,Xt,bt,Tr;if(nt.length&&nt[nt.length-1]==""&&nt.pop(),ze=nt.length,ze>4)return fe;for(Tt=[],yt=0;yt<ze;yt++){if(zt=nt[yt],zt=="")return fe;if(Xt=10,zt.length>1&&zt.charAt(0)=="0"&&(Xt=U.test(zt)?16:8,zt=zt.slice(Xt==8?1:2)),zt==="")bt=0;else{if(!(Xt==10?te:Xt==8?ee:de).test(zt))return fe;bt=parseInt(zt,Xt)}Tt.push(bt)}for(yt=0;yt<ze;yt++)if(bt=Tt[yt],yt==ze-1){if(bt>=W(256,5-ze))return null}else if(bt>255)return null;for(Tr=Tt.pop(),yt=0;yt<Tt.length;yt++)Tr+=Tt[yt]*W(256,3-yt);return Tr},H=function(fe){var nt=[0,0,0,0,0,0,0,0],ze=0,Tt=null,yt=0,zt,Xt,bt,Tr,Xr,Tn,kt,Qr=function(){return fe.charAt(yt)};if(Qr()==":"){if(fe.charAt(1)!=":")return;yt+=2,ze++,Tt=ze}for(;Qr();){if(ze==8)return;if(Qr()==":"){if(Tt!==null)return;yt++,ze++,Tt=ze;continue}for(zt=Xt=0;Xt<4&&de.test(Qr());)zt=zt*16+parseInt(Qr(),16),yt++,Xt++;if(Qr()=="."){if(Xt==0||(yt-=Xt,ze>6))return;for(bt=0;Qr();){if(Tr=null,bt>0)if(Qr()=="."&&bt<4)yt++;else return;if(!N.test(Qr()))return;for(;N.test(Qr());){if(Xr=parseInt(Qr(),10),Tr===null)Tr=Xr;else{if(Tr==0)return;Tr=Tr*10+Xr}if(Tr>255)return;yt++}nt[ze]=nt[ze]*256+Tr,bt++,(bt==2||bt==4)&&ze++}if(bt!=4)return;break}else if(Qr()==":"){if(yt++,!Qr())return}else if(Qr())return;nt[ze++]=zt}if(Tt!==null)for(Tn=ze-Tt,ze=7;ze!=0&&Tn>0;)kt=nt[ze],nt[ze--]=nt[Tt+Tn-1],nt[Tt+--Tn]=kt;else if(ze!=8)return;return nt},ne=function(fe){for(var nt=null,ze=1,Tt=null,yt=0,zt=0;zt<8;zt++)fe[zt]!==0?(yt>ze&&(nt=Tt,ze=yt),Tt=null,yt=0):(Tt===null&&(Tt=zt),++yt);return yt>ze&&(nt=Tt,ze=yt),nt},ce=function(fe){var nt,ze,Tt,yt;if(typeof fe=="number"){for(nt=[],ze=0;ze<4;ze++)nt.unshift(fe%256),fe=j(fe/256);return nt.join(".")}else if(typeof fe=="object"){for(nt="",Tt=ne(fe),ze=0;ze<8;ze++)yt&&fe[ze]===0||(yt&&(yt=!1),Tt===ze?(nt+=ze?":":"::",yt=!0):(nt+=fe[ze].toString(16),ze<7&&(nt+=":")));return"["+nt+"]"}return fe},we={},_e=E({},we,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=E({},_e,{"#":1,"?":1,"{":1,"}":1}),Re=E({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ie=function(fe,nt){var ze=w(fe,0);return ze>32&&ze<127&&!S(nt,fe)?fe:encodeURIComponent(fe)},$e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(fe){return S($e,fe.scheme)},be=function(fe){return fe.username!=""||fe.password!=""},Te=function(fe){return!fe.host||fe.cannotBeABaseURL||fe.scheme=="file"},Ne=function(fe,nt){var ze;return fe.length==2&&re.test(fe.charAt(0))&&((ze=fe.charAt(1))==":"||!nt&&ze=="|")},Ve=function(fe){var nt;return fe.length>1&&Ne(fe.slice(0,2))&&(fe.length==2||(nt=fe.charAt(2))==="/"||nt==="\\"||nt==="?"||nt==="#")},qe=function(fe){var nt=fe.path,ze=nt.length;ze&&(fe.scheme!="file"||ze!=1||!Ne(nt[0],!0))&&nt.pop()},Ge=function(fe){return fe==="."||fe.toLowerCase()==="%2e"},ct=function(fe){return fe=fe.toLowerCase(),fe===".."||fe==="%2e."||fe===".%2e"||fe==="%2e%2e"},Ut={},Wt={},Je={},Rt={},_t={},st={},rt={},dt={},Yt={},Lt={},Ce={},Ze={},ut={},wt={},Nt={},nr={},mr={},ir={},Sr={},jr={},Wr={},Hn=function(fe,nt,ze,Tt){var yt=ze||Ut,zt=0,Xt="",bt=!1,Tr=!1,Xr=!1,Tn,kt,Qr,Wn;for(ze||(fe.scheme="",fe.username="",fe.password="",fe.host=null,fe.port=null,fe.path=[],fe.query=null,fe.fragment=null,fe.cannotBeABaseURL=!1,nt=nt.replace(ue,"")),nt=nt.replace(I,""),Tn=y(nt);zt<=Tn.length;){switch(kt=Tn[zt],yt){case Ut:if(kt&&re.test(kt))Xt+=kt.toLowerCase(),yt=Wt;else{if(ze)return X;yt=Je;continue}break;case Wt:if(kt&&($.test(kt)||kt=="+"||kt=="-"||kt=="."))Xt+=kt.toLowerCase();else if(kt==":"){if(ze&&(me(fe)!=S($e,Xt)||Xt=="file"&&(be(fe)||fe.port!==null)||fe.scheme=="file"&&!fe.host))return;if(fe.scheme=Xt,ze){me(fe)&&$e[fe.scheme]==fe.port&&(fe.port=null);return}Xt="",fe.scheme=="file"?yt=wt:me(fe)&&Tt&&Tt.scheme==fe.scheme?yt=Rt:me(fe)?yt=dt:Tn[zt+1]=="/"?(yt=_t,zt++):(fe.cannotBeABaseURL=!0,fe.path.push(""),yt=Sr)}else{if(ze)return X;Xt="",yt=Je,zt=0;continue}break;case Je:if(!Tt||Tt.cannotBeABaseURL&&kt!="#")return X;if(Tt.cannotBeABaseURL&&kt=="#"){fe.scheme=Tt.scheme,fe.path=Tt.path.slice(),fe.query=Tt.query,fe.fragment="",fe.cannotBeABaseURL=!0,yt=Wr;break}yt=Tt.scheme=="file"?wt:st;continue;case Rt:if(kt=="/"&&Tn[zt+1]=="/")yt=Yt,zt++;else{yt=st;continue}break;case _t:if(kt=="/"){yt=Lt;break}else{yt=ir;continue}case st:if(fe.scheme=Tt.scheme,kt==P)fe.username=Tt.username,fe.password=Tt.password,fe.host=Tt.host,fe.port=Tt.port,fe.path=Tt.path.slice(),fe.query=Tt.query;else if(kt=="/"||kt=="\\"&&me(fe))yt=rt;else if(kt=="?")fe.username=Tt.username,fe.password=Tt.password,fe.host=Tt.host,fe.port=Tt.port,fe.path=Tt.path.slice(),fe.query="",yt=jr;else if(kt=="#")fe.username=Tt.username,fe.password=Tt.password,fe.host=Tt.host,fe.port=Tt.port,fe.path=Tt.path.slice(),fe.query=Tt.query,fe.fragment="",yt=Wr;else{fe.username=Tt.username,fe.password=Tt.password,fe.host=Tt.host,fe.port=Tt.port,fe.path=Tt.path.slice(),fe.path.pop(),yt=ir;continue}break;case rt:if(me(fe)&&(kt=="/"||kt=="\\"))yt=Yt;else if(kt=="/")yt=Lt;else{fe.username=Tt.username,fe.password=Tt.password,fe.host=Tt.host,fe.port=Tt.port,yt=ir;continue}break;case dt:if(yt=Yt,kt!="/"||Xt.charAt(zt+1)!="/")continue;zt++;break;case Yt:if(kt!="/"&&kt!="\\"){yt=Lt;continue}break;case Lt:if(kt=="@"){bt&&(Xt="%40"+Xt),bt=!0,Qr=y(Xt);for(var Mn=0;Mn<Qr.length;Mn++){var yo=Qr[Mn];if(yo==":"&&!Xr){Xr=!0;continue}var di=Ie(yo,Re);Xr?fe.password+=di:fe.username+=di}Xt=""}else if(kt==P||kt=="/"||kt=="?"||kt=="#"||kt=="\\"&&me(fe)){if(bt&&Xt=="")return K;zt-=y(Xt).length+1,Xt="",yt=Ce}else Xt+=kt;break;case Ce:case Ze:if(ze&&fe.scheme=="file"){yt=nr;continue}else if(kt==":"&&!Tr){if(Xt=="")return Q;if(Wn=B(fe,Xt),Wn)return Wn;if(Xt="",yt=ut,ze==Ze)return}else if(kt==P||kt=="/"||kt=="?"||kt=="#"||kt=="\\"&&me(fe)){if(me(fe)&&Xt=="")return Q;if(ze&&Xt==""&&(be(fe)||fe.port!==null))return;if(Wn=B(fe,Xt),Wn)return Wn;if(Xt="",yt=mr,ze)return;continue}else kt=="["?Tr=!0:kt=="]"&&(Tr=!1),Xt+=kt;break;case ut:if(N.test(kt))Xt+=kt;else if(kt==P||kt=="/"||kt=="?"||kt=="#"||kt=="\\"&&me(fe)||ze){if(Xt!=""){var oa=parseInt(Xt,10);if(oa>65535)return J;fe.port=me(fe)&&oa===$e[fe.scheme]?null:oa,Xt=""}if(ze)return;yt=mr;continue}else return J;break;case wt:if(fe.scheme="file",kt=="/"||kt=="\\")yt=Nt;else if(Tt&&Tt.scheme=="file")if(kt==P)fe.host=Tt.host,fe.path=Tt.path.slice(),fe.query=Tt.query;else if(kt=="?")fe.host=Tt.host,fe.path=Tt.path.slice(),fe.query="",yt=jr;else if(kt=="#")fe.host=Tt.host,fe.path=Tt.path.slice(),fe.query=Tt.query,fe.fragment="",yt=Wr;else{Ve(Tn.slice(zt).join(""))||(fe.host=Tt.host,fe.path=Tt.path.slice(),qe(fe)),yt=ir;continue}else{yt=ir;continue}break;case Nt:if(kt=="/"||kt=="\\"){yt=nr;break}Tt&&Tt.scheme=="file"&&!Ve(Tn.slice(zt).join(""))&&(Ne(Tt.path[0],!0)?fe.path.push(Tt.path[0]):fe.host=Tt.host),yt=ir;continue;case nr:if(kt==P||kt=="/"||kt=="\\"||kt=="?"||kt=="#"){if(!ze&&Ne(Xt))yt=ir;else if(Xt==""){if(fe.host="",ze)return;yt=mr}else{if(Wn=B(fe,Xt),Wn)return Wn;if(fe.host=="localhost"&&(fe.host=""),ze)return;Xt="",yt=mr}continue}else Xt+=kt;break;case mr:if(me(fe)){if(yt=ir,kt!="/"&&kt!="\\")continue}else if(!ze&&kt=="?")fe.query="",yt=jr;else if(!ze&&kt=="#")fe.fragment="",yt=Wr;else if(kt!=P&&(yt=ir,kt!="/"))continue;break;case ir:if(kt==P||kt=="/"||kt=="\\"&&me(fe)||!ze&&(kt=="?"||kt=="#")){if(ct(Xt)?(qe(fe),kt!="/"&&!(kt=="\\"&&me(fe))&&fe.path.push("")):Ge(Xt)?kt!="/"&&!(kt=="\\"&&me(fe))&&fe.path.push(""):(fe.scheme=="file"&&!fe.path.length&&Ne(Xt)&&(fe.host&&(fe.host=""),Xt=Xt.charAt(0)+":"),fe.path.push(Xt)),Xt="",fe.scheme=="file"&&(kt==P||kt=="?"||kt=="#"))for(;fe.path.length>1&&fe.path[0]==="";)fe.path.shift();kt=="?"?(fe.query="",yt=jr):kt=="#"&&(fe.fragment="",yt=Wr)}else Xt+=Ie(kt,Oe);break;case Sr:kt=="?"?(fe.query="",yt=jr):kt=="#"?(fe.fragment="",yt=Wr):kt!=P&&(fe.path[0]+=Ie(kt,we));break;case jr:!ze&&kt=="#"?(fe.fragment="",yt=Wr):kt!=P&&(kt=="'"&&me(fe)?fe.query+="%27":kt=="#"?fe.query+="%23":fe.query+=Ie(kt,we));break;case Wr:kt!=P&&(fe.fragment+=Ie(kt,_e));break}zt++}},zn=function(nt){var ze=g(this,zn,"URL"),Tt=arguments.length>1?arguments[1]:void 0,yt=String(nt),zt=k(ze,{type:"URL"}),Xt,bt;if(Tt!==void 0){if(Tt instanceof zn)Xt=q(Tt);else if(bt=Hn(Xt={},String(Tt)),bt)throw TypeError(bt)}if(bt=Hn(zt,yt,null,Xt),bt)throw TypeError(bt);var Tr=zt.searchParams=new m,Xr=D(Tr);Xr.updateSearchParams(zt.query),Xr.updateURL=function(){zt.query=String(Tr)||null},l||(ze.href=bn.call(ze),ze.origin=ai.call(ze),ze.protocol=fi.call(ze),ze.username=Ci.call(ze),ze.password=_i.call(ze),ze.host=Vi.call(ze),ze.hostname=Gi.call(ze),ze.port=Pn.call(ze),ze.pathname=oi.call(ze),ze.search=Di.call(ze),ze.searchParams=Ai.call(ze),ze.hash=ot.call(ze))},Jn=zn.prototype,bn=function(){var fe=q(this),nt=fe.scheme,ze=fe.username,Tt=fe.password,yt=fe.host,zt=fe.port,Xt=fe.path,bt=fe.query,Tr=fe.fragment,Xr=nt+":";return yt!==null?(Xr+="//",be(fe)&&(Xr+=ze+(Tt?":"+Tt:"")+"@"),Xr+=ce(yt),zt!==null&&(Xr+=":"+zt)):nt=="file"&&(Xr+="//"),Xr+=fe.cannotBeABaseURL?Xt[0]:Xt.length?"/"+Xt.join("/"):"",bt!==null&&(Xr+="?"+bt),Tr!==null&&(Xr+="#"+Tr),Xr},ai=function(){var fe=q(this),nt=fe.scheme,ze=fe.port;if(nt=="blob")try{return new URL(nt.path[0]).origin}catch{return"null"}return nt=="file"||!me(fe)?"null":nt+"://"+ce(fe.host)+(ze!==null?":"+ze:"")},fi=function(){return q(this).scheme+":"},Ci=function(){return q(this).username},_i=function(){return q(this).password},Vi=function(){var fe=q(this),nt=fe.host,ze=fe.port;return nt===null?"":ze===null?ce(nt):ce(nt)+":"+ze},Gi=function(){var fe=q(this).host;return fe===null?"":ce(fe)},Pn=function(){var fe=q(this).port;return fe===null?"":String(fe)},oi=function(){var fe=q(this),nt=fe.path;return fe.cannotBeABaseURL?nt[0]:nt.length?"/"+nt.join("/"):""},Di=function(){var fe=q(this).query;return fe?"?"+fe:""},Ai=function(){return q(this).searchParams},ot=function(){var fe=q(this).fragment;return fe?"#"+fe:""},Dt=function(fe,nt){return{get:fe,set:nt,configurable:!0,enumerable:!0}};if(l&&h(Jn,{href:Dt(bn,function(fe){var nt=q(this),ze=String(fe),Tt=Hn(nt,ze);if(Tt)throw TypeError(Tt);D(nt.searchParams).updateSearchParams(nt.query)}),origin:Dt(ai),protocol:Dt(fi,function(fe){var nt=q(this);Hn(nt,String(fe)+":",Ut)}),username:Dt(Ci,function(fe){var nt=q(this),ze=y(String(fe));if(!Te(nt)){nt.username="";for(var Tt=0;Tt<ze.length;Tt++)nt.username+=Ie(ze[Tt],Re)}}),password:Dt(_i,function(fe){var nt=q(this),ze=y(String(fe));if(!Te(nt)){nt.password="";for(var Tt=0;Tt<ze.length;Tt++)nt.password+=Ie(ze[Tt],Re)}}),host:Dt(Vi,function(fe){var nt=q(this);nt.cannotBeABaseURL||Hn(nt,String(fe),Ce)}),hostname:Dt(Gi,function(fe){var nt=q(this);nt.cannotBeABaseURL||Hn(nt,String(fe),Ze)}),port:Dt(Pn,function(fe){var nt=q(this);Te(nt)||(fe=String(fe),fe==""?nt.port=null:Hn(nt,fe,ut))}),pathname:Dt(oi,function(fe){var nt=q(this);nt.cannotBeABaseURL||(nt.path=[],Hn(nt,fe+"",mr))}),search:Dt(Di,function(fe){var nt=q(this);fe=String(fe),fe==""?nt.query=null:(fe.charAt(0)=="?"&&(fe=fe.slice(1)),nt.query="",Hn(nt,fe,jr)),D(nt.searchParams).updateSearchParams(nt.query)}),searchParams:Dt(Ai),hash:Dt(ot,function(fe){var nt=q(this);if(fe=String(fe),fe==""){nt.fragment=null;return}fe.charAt(0)=="#"&&(fe=fe.slice(1)),nt.fragment="",Hn(nt,fe,Wr)})}),v(Jn,"toJSON",function(){return bn.call(this)},{enumerable:!0}),v(Jn,"toString",function(){return bn.call(this)},{enumerable:!0}),O){var gt=O.createObjectURL,et=O.revokeObjectURL;gt&&v(zn,"createObjectURL",function(nt){return gt.apply(O,arguments)}),et&&v(zn,"revokeObjectURL",function(nt){return et.apply(O,arguments)})}A(zn,"URL"),s({global:!0,forced:!c,sham:!l},{URL:zn})})},t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={exports:{}};return e[i](a,a.exports,r),a.exports}(function(){r.d=function(i,a){for(var o in a)r.o(a,o)&&!r.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:a[o]})}})(),(function(){r.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)}})(),(function(){r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}})();var n={};return(function(){r.r(n),r.d(n,{Dropzone:function(){return J},default:function(){return xe}}),r(2222),r(7327),r(2772),r(6992),r(1249),r(7042),r(561),r(8264),r(8309),r(489),r(1539),r(4916),r(9714),r(8783),r(4723),r(5306),r(3123),r(3210),r(2472),r(2990),r(8927),r(3105),r(5035),r(4345),r(7174),r(2846),r(4731),r(7209),r(6319),r(8867),r(7789),r(3739),r(9368),r(4483),r(2056),r(3462),r(678),r(7462),r(3824),r(5021),r(2974),r(5016),r(4747),r(3948),r(285);function i(ue,I){var P;if(typeof Symbol>"u"||ue[Symbol.iterator]==null){if(Array.isArray(ue)||(P=a(ue))||ue&&typeof ue.length=="number"){P&&(ue=P);var B=0,L=function(){};return{s:L,n:function(){return B>=ue.length?{done:!0}:{done:!1,value:ue[B++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
125
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H=!0,ne=!1,ce;return{s:function(){P=ue[Symbol.iterator]()},n:function(){var _e=P.next();return H=_e.done,_e},e:function(_e){ne=!0,ce=_e},f:function(){try{!H&&P.return!=null&&P.return()}finally{if(ne)throw ce}}}}function a(ue,I){if(ue){if(typeof ue=="string")return o(ue,I);var P=Object.prototype.toString.call(ue).slice(8,-1);if(P==="Object"&&ue.constructor&&(P=ue.constructor.name),P==="Map"||P==="Set")return Array.from(ue);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return o(ue,I)}}function o(ue,I){(I==null||I>ue.length)&&(I=ue.length);for(var P=0,B=new Array(I);P<I;P++)B[P]=ue[P];return B}function s(ue,I){if(!(ue instanceof I))throw new TypeError("Cannot call a class as a function")}function l(ue,I){for(var P=0;P<I.length;P++){var B=I[P];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(ue,B.key,B)}}function c(ue,I,P){return I&&l(ue.prototype,I),ue}var d=(function(){function ue(){s(this,ue)}return c(ue,[{key:"on",value:(function(P,B){return this._callbacks=this._callbacks||{},this._callbacks[P]||(this._callbacks[P]=[]),this._callbacks[P].push(B),this})},{key:"emit",value:function(P){this._callbacks=this._callbacks||{};for(var B=this._callbacks[P],L=arguments.length,H=new Array(L>1?L-1:0),ne=1;ne<L;ne++)H[ne-1]=arguments[ne];if(B){var ce=i(B),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.apply(this,H)}}catch(Oe){ce.e(Oe)}finally{ce.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+P,{args:H})),this}},{key:"makeEvent",value:function(P,B){var L={bubbles:!0,cancelable:!0,detail:B};if(typeof window.CustomEvent=="function")return new CustomEvent(P,L);var H=document.createEvent("CustomEvent");return H.initCustomEvent(P,L.bubbles,L.cancelable,L.detail),H}},{key:"off",value:function(P,B){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var L=this._callbacks[P];if(!L)return this;if(arguments.length===1)return delete this._callbacks[P],this;for(var H=0;H<L.length;H++){var ne=L[H];if(ne===B){L.splice(H,1);break}}return this}}]),ue})(),h='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',v=h;function g(ue,I){var P;if(typeof Symbol>"u"||ue[Symbol.iterator]==null){if(Array.isArray(ue)||(P=S(ue))||ue&&typeof ue.length=="number"){P&&(ue=P);var B=0,L=function(){};return{s:L,n:function(){return B>=ue.length?{done:!0}:{done:!1,value:ue[B++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
126
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H=!0,ne=!1,ce;return{s:function(){P=ue[Symbol.iterator]()},n:function(){var _e=P.next();return H=_e.done,_e},e:function(_e){ne=!0,ce=_e},f:function(){try{!H&&P.return!=null&&P.return()}finally{if(ne)throw ce}}}}function S(ue,I){if(ue){if(typeof ue=="string")return E(ue,I);var P=Object.prototype.toString.call(ue).slice(8,-1);if(P==="Object"&&ue.constructor&&(P=ue.constructor.name),P==="Map"||P==="Set")return Array.from(ue);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(ue,I)}}function E(ue,I){(I==null||I>ue.length)&&(I=ue.length);for(var P=0,B=new Array(I);P<I;P++)B[P]=ue[P];return B}var y={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(I,P,B){if(B)return{dzuuid:B.file.upload.uuid,dzchunkindex:B.index,dztotalfilesize:B.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:B.file.upload.totalChunkCount,dzchunkbyteoffset:B.index*this.options.chunkSize}},accept:function(I,P){return P()},chunksUploaded:function(I,P){P()},fallback:function(){var I;this.element.className="".concat(this.element.className," dz-browser-not-supported");var P=g(this.element.getElementsByTagName("div")),B;try{for(P.s();!(B=P.n()).done;){var L=B.value;if(/(^| )dz-message($| )/.test(L.className)){I=L,L.className="dz-message";break}}}catch(ne){P.e(ne)}finally{P.f()}I||(I=J.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(I));var H=I.getElementsByTagName("span")[0];return H&&(H.textContent!=null?H.textContent=this.options.dictFallbackMessage:H.innerText!=null&&(H.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(I,P,B,L){var H={srcX:0,srcY:0,srcWidth:I.width,srcHeight:I.height},ne=I.width/I.height;P==null&&B==null?(P=H.srcWidth,B=H.srcHeight):P==null?P=B*ne:B==null&&(B=P/ne),P=Math.min(P,H.srcWidth),B=Math.min(B,H.srcHeight);var ce=P/B;if(H.srcWidth>P||H.srcHeight>B)if(L==="crop")ne>ce?(H.srcHeight=I.height,H.srcWidth=H.srcHeight*ce):(H.srcWidth=I.width,H.srcHeight=H.srcWidth/ce);else if(L==="contain")ne>ce?B=P/ne:P=B*ne;else throw new Error("Unknown resizeMethod '".concat(L,"'"));return H.srcX=(I.width-H.srcWidth)/2,H.srcY=(I.height-H.srcHeight)/2,H.trgWidth=P,H.trgHeight=B,H},transformFile:function(I,P){return(this.options.resizeWidth||this.options.resizeHeight)&&I.type.match(/image.*/)?this.resizeImage(I,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,P):P(I)},previewTemplate:v,drop:function(I){return this.element.classList.remove("dz-drag-hover")},dragstart:function(I){},dragend:function(I){return this.element.classList.remove("dz-drag-hover")},dragenter:function(I){return this.element.classList.add("dz-drag-hover")},dragover:function(I){return this.element.classList.add("dz-drag-hover")},dragleave:function(I){return this.element.classList.remove("dz-drag-hover")},paste:function(I){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(I){var P=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){I.previewElement=J.createElement(this.options.previewTemplate.trim()),I.previewTemplate=I.previewElement,this.previewsContainer.appendChild(I.previewElement);var B=g(I.previewElement.querySelectorAll("[data-dz-name]")),L;try{for(B.s();!(L=B.n()).done;){var H=L.value;H.textContent=I.name}}catch(Ie){B.e(Ie)}finally{B.f()}var ne=g(I.previewElement.querySelectorAll("[data-dz-size]")),ce;try{for(ne.s();!(ce=ne.n()).done;)H=ce.value,H.innerHTML=this.filesize(I.size)}catch(Ie){ne.e(Ie)}finally{ne.f()}this.options.addRemoveLinks&&(I._removeLink=J.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),I.previewElement.appendChild(I._removeLink));var we=function($e){return $e.preventDefault(),$e.stopPropagation(),I.status===J.UPLOADING?J.confirm(P.options.dictCancelUploadConfirmation,function(){return P.removeFile(I)}):P.options.dictRemoveFileConfirmation?J.confirm(P.options.dictRemoveFileConfirmation,function(){return P.removeFile(I)}):P.removeFile(I)},_e=g(I.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(_e.s();!(Oe=_e.n()).done;){var Re=Oe.value;Re.addEventListener("click",we)}}catch(Ie){_e.e(Ie)}finally{_e.f()}}},removedfile:function(I){return I.previewElement!=null&&I.previewElement.parentNode!=null&&I.previewElement.parentNode.removeChild(I.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(I,P){if(I.previewElement){I.previewElement.classList.remove("dz-file-preview");var B=g(I.previewElement.querySelectorAll("[data-dz-thumbnail]")),L;try{for(B.s();!(L=B.n()).done;){var H=L.value;H.alt=I.name,H.src=P}}catch(ne){B.e(ne)}finally{B.f()}return setTimeout(function(){return I.previewElement.classList.add("dz-image-preview")},1)}},error:function(I,P){if(I.previewElement){I.previewElement.classList.add("dz-error"),typeof P!="string"&&P.error&&(P=P.error);var B=g(I.previewElement.querySelectorAll("[data-dz-errormessage]")),L;try{for(B.s();!(L=B.n()).done;){var H=L.value;H.textContent=P}}catch(ne){B.e(ne)}finally{B.f()}}},errormultiple:function(){},processing:function(I){if(I.previewElement&&(I.previewElement.classList.add("dz-processing"),I._removeLink))return I._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(I,P,B){if(I.previewElement){var L=g(I.previewElement.querySelectorAll("[data-dz-uploadprogress]")),H;try{for(L.s();!(H=L.n()).done;){var ne=H.value;ne.nodeName==="PROGRESS"?ne.value=P:ne.style.width="".concat(P,"%")}}catch(ce){L.e(ce)}finally{L.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(I){if(I.previewElement)return I.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(I){return this.emit("error",I,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(I){if(I._removeLink&&(I._removeLink.innerHTML=this.options.dictRemoveFile),I.previewElement)return I.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},w=y;function b(ue){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(P){return typeof P}:b=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},b(ue)}function A(ue,I){var P;if(typeof Symbol>"u"||ue[Symbol.iterator]==null){if(Array.isArray(ue)||(P=R(ue))||ue&&typeof ue.length=="number"){P&&(ue=P);var B=0,L=function(){};return{s:L,n:function(){return B>=ue.length?{done:!0}:{done:!1,value:ue[B++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
127
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H=!0,ne=!1,ce;return{s:function(){P=ue[Symbol.iterator]()},n:function(){var _e=P.next();return H=_e.done,_e},e:function(_e){ne=!0,ce=_e},f:function(){try{!H&&P.return!=null&&P.return()}finally{if(ne)throw ce}}}}function R(ue,I){if(ue){if(typeof ue=="string")return C(ue,I);var P=Object.prototype.toString.call(ue).slice(8,-1);if(P==="Object"&&ue.constructor&&(P=ue.constructor.name),P==="Map"||P==="Set")return Array.from(ue);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return C(ue,I)}}function C(ue,I){(I==null||I>ue.length)&&(I=ue.length);for(var P=0,B=new Array(I);P<I;P++)B[P]=ue[P];return B}function O(ue,I){if(!(ue instanceof I))throw new TypeError("Cannot call a class as a function")}function m(ue,I){for(var P=0;P<I.length;P++){var B=I[P];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(ue,B.key,B)}}function D(ue,I,P){return I&&m(ue.prototype,I),P&&m(ue,P),ue}function k(ue,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(I&&I.prototype,{constructor:{value:ue,writable:!0,configurable:!0}}),I&&q(ue,I)}function q(ue,I){return q=Object.setPrototypeOf||function(B,L){return B.__proto__=L,B},q(ue,I)}function j(ue){var I=X();return function(){var B=Q(ue),L;if(I){var H=Q(this).constructor;L=Reflect.construct(B,arguments,H)}else L=B.apply(this,arguments);return W(this,L)}}function W(ue,I){return I&&(b(I)==="object"||typeof I=="function")?I:K(ue)}function K(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q(ue){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},Q(ue)}var J=(function(ue){k(P,ue);var I=j(P);function P(B,L){var H;O(this,P),H=I.call(this);var ne,ce;if(H.element=B,H.version=P.version,H.clickableElements=[],H.listeners=[],H.files=[],typeof H.element=="string"&&(H.element=document.querySelector(H.element)),!H.element||H.element.nodeType==null)throw new Error("Invalid dropzone element.");if(H.element.dropzone)throw new Error("Dropzone already attached.");P.instances.push(K(H)),H.element.dropzone=K(H);var we=(ce=P.optionsForElement(H.element))!=null?ce:{};if(H.options=P.extend({},w,we,L??{}),H.options.previewTemplate=H.options.previewTemplate.replace(/\n*/g,""),H.options.forceFallback||!P.isBrowserSupported())return W(H,H.options.fallback.call(K(H)));if(H.options.url==null&&(H.options.url=H.element.getAttribute("action")),!H.options.url)throw new Error("No URL provided.");if(H.options.acceptedFiles&&H.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(H.options.uploadMultiple&&H.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return H.options.acceptedMimeTypes&&(H.options.acceptedFiles=H.options.acceptedMimeTypes,delete H.options.acceptedMimeTypes),H.options.renameFilename!=null&&(H.options.renameFile=function(_e){return H.options.renameFilename.call(K(H),_e.name,_e)}),typeof H.options.method=="string"&&(H.options.method=H.options.method.toUpperCase()),(ne=H.getExistingFallback())&&ne.parentNode&&ne.parentNode.removeChild(ne),H.options.previewsContainer!==!1&&(H.options.previewsContainer?H.previewsContainer=P.getElement(H.options.previewsContainer,"previewsContainer"):H.previewsContainer=H.element),H.options.clickable&&(H.options.clickable===!0?H.clickableElements=[H.element]:H.clickableElements=P.getElements(H.options.clickable,"clickable")),H.init(),H}return D(P,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(L){return L.accepted}).map(function(L){return L})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(L){return!L.accepted}).map(function(L){return L})}},{key:"getFilesWithStatus",value:function(L){return this.files.filter(function(H){return H.status===L}).map(function(H){return H})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(P.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(P.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(P.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(L){return L.status===P.UPLOADING||L.status===P.QUEUED}).map(function(L){return L})}},{key:"init",value:function(){var L=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(P.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var H=function Re(){L.hiddenFileInput&&L.hiddenFileInput.parentNode.removeChild(L.hiddenFileInput),L.hiddenFileInput=document.createElement("input"),L.hiddenFileInput.setAttribute("type","file"),(L.options.maxFiles===null||L.options.maxFiles>1)&&L.hiddenFileInput.setAttribute("multiple","multiple"),L.hiddenFileInput.className="dz-hidden-input",L.options.acceptedFiles!==null&&L.hiddenFileInput.setAttribute("accept",L.options.acceptedFiles),L.options.capture!==null&&L.hiddenFileInput.setAttribute("capture",L.options.capture),L.hiddenFileInput.setAttribute("tabindex","-1"),L.hiddenFileInput.style.visibility="hidden",L.hiddenFileInput.style.position="absolute",L.hiddenFileInput.style.top="0",L.hiddenFileInput.style.left="0",L.hiddenFileInput.style.height="0",L.hiddenFileInput.style.width="0",P.getElement(L.options.hiddenInputContainer,"hiddenInputContainer").appendChild(L.hiddenFileInput),L.hiddenFileInput.addEventListener("change",function(){var Ie=L.hiddenFileInput.files;if(Ie.length){var $e=A(Ie),me;try{for($e.s();!(me=$e.n()).done;){var be=me.value;L.addFile(be)}}catch(Te){$e.e(Te)}finally{$e.f()}}L.emit("addedfiles",Ie),Re()})};H()}this.URL=window.URL!==null?window.URL:window.webkitURL;var ne=A(this.events),ce;try{for(ne.s();!(ce=ne.n()).done;){var we=ce.value;this.on(we,this.options[we])}}catch(Re){ne.e(Re)}finally{ne.f()}this.on("uploadprogress",function(){return L.updateTotalUploadProgress()}),this.on("removedfile",function(){return L.updateTotalUploadProgress()}),this.on("canceled",function(Re){return L.emit("complete",Re)}),this.on("complete",function(Re){if(L.getAddedFiles().length===0&&L.getUploadingFiles().length===0&&L.getQueuedFiles().length===0)return setTimeout(function(){return L.emit("queuecomplete")},0)});var _e=function(Ie){if(Ie.dataTransfer.types){for(var $e=0;$e<Ie.dataTransfer.types.length;$e++)if(Ie.dataTransfer.types[$e]==="Files")return!0}return!1},Oe=function(Ie){if(_e(Ie))return Ie.stopPropagation(),Ie.preventDefault?Ie.preventDefault():Ie.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Ie){return L.emit("dragstart",Ie)},dragenter:function(Ie){return Oe(Ie),L.emit("dragenter",Ie)},dragover:function(Ie){var $e;try{$e=Ie.dataTransfer.effectAllowed}catch{}return Ie.dataTransfer.dropEffect=$e==="move"||$e==="linkMove"?"move":"copy",Oe(Ie),L.emit("dragover",Ie)},dragleave:function(Ie){return L.emit("dragleave",Ie)},drop:function(Ie){return Oe(Ie),L.drop(Ie)},dragend:function(Ie){return L.emit("dragend",Ie)}}}],this.clickableElements.forEach(function(Re){return L.listeners.push({element:Re,events:{click:function($e){return(Re!==L.element||$e.target===L.element||P.elementInside($e.target,L.element.querySelector(".dz-message")))&&L.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,P.instances.splice(P.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var L,H=0,ne=0,ce=this.getActiveFiles();if(ce.length){var we=A(this.getActiveFiles()),_e;try{for(we.s();!(_e=we.n()).done;){var Oe=_e.value;H+=Oe.upload.bytesSent,ne+=Oe.upload.total}}catch(Re){we.e(Re)}finally{we.f()}L=100*H/ne}else L=100;return this.emit("totaluploadprogress",L,ne,H)}},{key:"_getParamName",value:function(L){return typeof this.options.paramName=="function"?this.options.paramName(L):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(L,"]"):"")}},{key:"_renameFile",value:function(L){return typeof this.options.renameFile!="function"?L.name:this.options.renameFile(L)}},{key:"getFallbackForm",value:function(){var L,H;if(L=this.getExistingFallback())return L;var ne='<div class="dz-fallback">';this.options.dictFallbackText&&(ne+="<p>".concat(this.options.dictFallbackText,"</p>")),ne+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var ce=P.createElement(ne);return this.element.tagName!=="FORM"?(H=P.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),H.appendChild(ce)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),H??ce}},{key:"getExistingFallback",value:function(){for(var L=function(Oe){var Re=A(Oe),Ie;try{for(Re.s();!(Ie=Re.n()).done;){var $e=Ie.value;if(/(^| )fallback($| )/.test($e.className))return $e}}catch(me){Re.e(me)}finally{Re.f()}},H=0,ne=["div","form"];H<ne.length;H++){var ce=ne[H],we;if(we=L(this.element.getElementsByTagName(ce)))return we}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var H=[];for(var ne in L.events){var ce=L.events[ne];H.push(L.element.addEventListener(ne,ce,!1))}return H})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var H=[];for(var ne in L.events){var ce=L.events[ne];H.push(L.element.removeEventListener(ne,ce,!1))}return H})()})}},{key:"disable",value:function(){var L=this;return this.clickableElements.forEach(function(H){return H.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(H){return L.cancelUpload(H)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(L){return L.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(L){var H=0,ne="b";if(L>0){for(var ce=["tb","gb","mb","kb","b"],we=0;we<ce.length;we++){var _e=ce[we],Oe=Math.pow(this.options.filesizeBase,4-we)/10;if(L>=Oe){H=L/Math.pow(this.options.filesizeBase,4-we),ne=_e;break}}H=Math.round(10*H)/10}return"<strong>".concat(H,"</strong> ").concat(this.options.dictFileSizeUnits[ne])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(L){if(L.dataTransfer){this.emit("drop",L);for(var H=[],ne=0;ne<L.dataTransfer.files.length;ne++)H[ne]=L.dataTransfer.files[ne];if(H.length){var ce=L.dataTransfer.items;ce&&ce.length&&ce[0].webkitGetAsEntry!=null?this._addFilesFromItems(ce):this.handleFiles(H)}this.emit("addedfiles",H)}}},{key:"paste",value:function(L){if(de(L!=null?L.clipboardData:void 0,function(ne){return ne.items})!=null){this.emit("paste",L);var H=L.clipboardData.items;if(H.length)return this._addFilesFromItems(H)}}},{key:"handleFiles",value:function(L){var H=A(L),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value;this.addFile(ce)}}catch(we){H.e(we)}finally{H.f()}}},{key:"_addFilesFromItems",value:function(L){var H=this;return(function(){var ne=[],ce=A(L),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value,Oe;_e.webkitGetAsEntry!=null&&(Oe=_e.webkitGetAsEntry())?Oe.isFile?ne.push(H.addFile(_e.getAsFile())):Oe.isDirectory?ne.push(H._addFilesFromDirectory(Oe,Oe.name)):ne.push(void 0):_e.getAsFile!=null&&(_e.kind==null||_e.kind==="file")?ne.push(H.addFile(_e.getAsFile())):ne.push(void 0)}}catch(Re){ce.e(Re)}finally{ce.f()}return ne})()}},{key:"_addFilesFromDirectory",value:function(L,H){var ne=this,ce=L.createReader(),we=function(Re){return Se(console,"log",function(Ie){return Ie.log(Re)})},_e=function Oe(){return ce.readEntries(function(Re){if(Re.length>0){var Ie=A(Re),$e;try{for(Ie.s();!($e=Ie.n()).done;){var me=$e.value;me.isFile?me.file(function(be){if(!(ne.options.ignoreHiddenFiles&&be.name.substring(0,1)==="."))return be.fullPath="".concat(H,"/").concat(be.name),ne.addFile(be)}):me.isDirectory&&ne._addFilesFromDirectory(me,"".concat(H,"/").concat(me.name))}}catch(be){Ie.e(be)}finally{Ie.f()}Oe()}return null},we)};return _e()}},{key:"accept",value:function(L,H){this.options.maxFilesize&&L.size>this.options.maxFilesize*1024*1024?H(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(L.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):P.isValidFile(L,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(H(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",L)):this.options.accept.call(this,L,H):H(this.options.dictInvalidFileType)}},{key:"addFile",value:function(L){var H=this;L.upload={uuid:P.uuidv4(),progress:0,total:L.size,bytesSent:0,filename:this._renameFile(L)},this.files.push(L),L.status=P.ADDED,this.emit("addedfile",L),this._enqueueThumbnail(L),this.accept(L,function(ne){ne?(L.accepted=!1,H._errorProcessing([L],ne)):(L.accepted=!0,H.options.autoQueue&&H.enqueueFile(L)),H._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(L){var H=A(L),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value;this.enqueueFile(ce)}}catch(we){H.e(we)}finally{H.f()}return null}},{key:"enqueueFile",value:function(L){var H=this;if(L.status===P.ADDED&&L.accepted===!0){if(L.status=P.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return H.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(L){var H=this;if(this.options.createImageThumbnails&&L.type.match(/image.*/)&&L.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(L),setTimeout(function(){return H._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var L=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var H=this._thumbnailQueue.shift();return this.createThumbnail(H,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(ne){return L.emit("thumbnail",H,ne),L._processingThumbnail=!1,L._processThumbnailQueue()})}}},{key:"removeFile",value:function(L){if(L.status===P.UPLOADING&&this.cancelUpload(L),this.files=re(this.files,L),this.emit("removedfile",L),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(L){L==null&&(L=!1);var H=A(this.files.slice()),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value;(ce.status!==P.UPLOADING||L)&&this.removeFile(ce)}}catch(we){H.e(we)}finally{H.f()}return null}},{key:"resizeImage",value:function(L,H,ne,ce,we){var _e=this;return this.createThumbnail(L,H,ne,ce,!0,function(Oe,Re){if(Re==null)return we(L);var Ie=_e.options.resizeMimeType;Ie==null&&(Ie=L.type);var $e=Re.toDataURL(Ie,_e.options.resizeQuality);return(Ie==="image/jpeg"||Ie==="image/jpg")&&($e=ee.restore(L.dataURL,$e)),we(P.dataURItoBlob($e))})}},{key:"createThumbnail",value:function(L,H,ne,ce,we,_e){var Oe=this,Re=new FileReader;Re.onload=function(){if(L.dataURL=Re.result,L.type==="image/svg+xml"){_e!=null&&_e(Re.result);return}Oe.createThumbnailFromUrl(L,H,ne,ce,we,_e)},Re.readAsDataURL(L)}},{key:"displayExistingFile",value:function(L,H,ne,ce){var we=this,_e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",L),this.emit("complete",L),!_e)this.emit("thumbnail",L,H),ne&&ne();else{var Oe=function(Ie){we.emit("thumbnail",L,Ie),ne&&ne()};L.dataURL=H,this.createThumbnailFromUrl(L,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,ce)}}},{key:"createThumbnailFromUrl",value:function(L,H,ne,ce,we,_e,Oe){var Re=this,Ie=document.createElement("img");return Oe&&(Ie.crossOrigin=Oe),we=getComputedStyle(document.body).imageOrientation=="from-image"?!1:we,Ie.onload=function(){var $e=function(be){return be(1)};return typeof EXIF<"u"&&EXIF!==null&&we&&($e=function(be){return EXIF.getData(Ie,function(){return be(EXIF.getTag(this,"Orientation"))})}),$e(function(me){L.width=Ie.width,L.height=Ie.height;var be=Re.options.resize.call(Re,L,H,ne,ce),Te=document.createElement("canvas"),Ne=Te.getContext("2d");switch(Te.width=be.trgWidth,Te.height=be.trgHeight,me>4&&(Te.width=be.trgHeight,Te.height=be.trgWidth),me){case 2:Ne.translate(Te.width,0),Ne.scale(-1,1);break;case 3:Ne.translate(Te.width,Te.height),Ne.rotate(Math.PI);break;case 4:Ne.translate(0,Te.height),Ne.scale(1,-1);break;case 5:Ne.rotate(.5*Math.PI),Ne.scale(1,-1);break;case 6:Ne.rotate(.5*Math.PI),Ne.translate(0,-Te.width);break;case 7:Ne.rotate(.5*Math.PI),Ne.translate(Te.height,-Te.width),Ne.scale(-1,1);break;case 8:Ne.rotate(-.5*Math.PI),Ne.translate(-Te.height,0);break}U(Ne,Ie,be.srcX!=null?be.srcX:0,be.srcY!=null?be.srcY:0,be.srcWidth,be.srcHeight,be.trgX!=null?be.trgX:0,be.trgY!=null?be.trgY:0,be.trgWidth,be.trgHeight);var Ve=Te.toDataURL("image/png");if(_e!=null)return _e(Ve,Te)})},_e!=null&&(Ie.onerror=_e),Ie.src=L.dataURL}},{key:"processQueue",value:function(){var L=this.options.parallelUploads,H=this.getUploadingFiles().length,ne=H;if(!(H>=L)){var ce=this.getQueuedFiles();if(ce.length>0){if(this.options.uploadMultiple)return this.processFiles(ce.slice(0,L-H));for(;ne<L;){if(!ce.length)return;this.processFile(ce.shift()),ne++}}}}},{key:"processFile",value:function(L){return this.processFiles([L])}},{key:"processFiles",value:function(L){var H=A(L),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value;ce.processing=!0,ce.status=P.UPLOADING,this.emit("processing",ce)}}catch(we){H.e(we)}finally{H.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",L),this.uploadFiles(L)}},{key:"_getFilesWithXhr",value:function(L){return this.files.filter(function(H){return H.xhr===L}).map(function(H){return H})}},{key:"cancelUpload",value:function(L){if(L.status===P.UPLOADING){var H=this._getFilesWithXhr(L.xhr),ne=A(H),ce;try{for(ne.s();!(ce=ne.n()).done;){var we=ce.value;we.status=P.CANCELED}}catch(Ie){ne.e(Ie)}finally{ne.f()}typeof L.xhr<"u"&&L.xhr.abort();var _e=A(H),Oe;try{for(_e.s();!(Oe=_e.n()).done;){var Re=Oe.value;this.emit("canceled",Re)}}catch(Ie){_e.e(Ie)}finally{_e.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",H)}else(L.status===P.ADDED||L.status===P.QUEUED)&&(L.status=P.CANCELED,this.emit("canceled",L),this.options.uploadMultiple&&this.emit("canceledmultiple",[L]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(L){if(typeof L=="function"){for(var H=arguments.length,ne=new Array(H>1?H-1:0),ce=1;ce<H;ce++)ne[ce-1]=arguments[ce];return L.apply(this,ne)}return L}},{key:"uploadFile",value:function(L){return this.uploadFiles([L])}},{key:"uploadFiles",value:function(L){var H=this;this._transformFiles(L,function(ne){if(H.options.chunking){var ce=ne[0];L[0].upload.chunked=H.options.chunking&&(H.options.forceChunking||ce.size>H.options.chunkSize),L[0].upload.totalChunkCount=Math.ceil(ce.size/H.options.chunkSize)}if(L[0].upload.chunked){var we=L[0],_e=ne[0];we.upload.chunks=[];var Oe=function(){for(var be=0;we.upload.chunks[be]!==void 0;)be++;if(!(be>=we.upload.totalChunkCount)){var Te=be*H.options.chunkSize,Ne=Math.min(Te+H.options.chunkSize,_e.size),Ve={name:H._getParamName(0),data:_e.webkitSlice?_e.webkitSlice(Te,Ne):_e.slice(Te,Ne),filename:we.upload.filename,chunkIndex:be};we.upload.chunks[be]={file:we,index:be,dataBlock:Ve,status:P.UPLOADING,progress:0,retries:0},H._uploadData(L,[Ve])}};if(we.upload.finishedChunkUpload=function(me,be){var Te=!0;me.status=P.SUCCESS,me.dataBlock=null,me.xhr=null;for(var Ne=0;Ne<we.upload.totalChunkCount;Ne++){if(we.upload.chunks[Ne]===void 0)return Oe();we.upload.chunks[Ne].status!==P.SUCCESS&&(Te=!1)}Te&&H.options.chunksUploaded(we,function(){H._finished(L,be,null)})},H.options.parallelChunkUploads)for(var Re=0;Re<we.upload.totalChunkCount;Re++)Oe();else Oe()}else{for(var Ie=[],$e=0;$e<L.length;$e++)Ie[$e]={name:H._getParamName($e),data:ne[$e],filename:L[$e].upload.filename};H._uploadData(L,Ie)}})}},{key:"_getChunk",value:function(L,H){for(var ne=0;ne<L.upload.totalChunkCount;ne++)if(L.upload.chunks[ne]!==void 0&&L.upload.chunks[ne].xhr===H)return L.upload.chunks[ne]}},{key:"_uploadData",value:function(L,H){var ne=this,ce=new XMLHttpRequest,we=A(L),_e;try{for(we.s();!(_e=we.n()).done;){var Oe=_e.value;Oe.xhr=ce}}catch(rt){we.e(rt)}finally{we.f()}L[0].upload.chunked&&(L[0].upload.chunks[H[0].chunkIndex].xhr=ce);var Re=this.resolveOption(this.options.method,L),Ie=this.resolveOption(this.options.url,L);ce.open(Re,Ie,!0);var $e=this.resolveOption(this.options.timeout,L);$e&&(ce.timeout=this.resolveOption(this.options.timeout,L)),ce.withCredentials=!!this.options.withCredentials,ce.onload=function(rt){ne._finishedUploading(L,ce,rt)},ce.ontimeout=function(){ne._handleUploadError(L,ce,"Request timedout after ".concat(ne.options.timeout/1e3," seconds"))},ce.onerror=function(){ne._handleUploadError(L,ce)};var me=ce.upload!=null?ce.upload:ce;me.onprogress=function(rt){return ne._updateFilesUploadProgress(L,ce,rt)};var be={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&P.extend(be,this.options.headers);for(var Te in be){var Ne=be[Te];Ne&&ce.setRequestHeader(Te,Ne)}var Ve=new FormData;if(this.options.params){var qe=this.options.params;typeof qe=="function"&&(qe=qe.call(this,L,ce,L[0].upload.chunked?this._getChunk(L[0],ce):null));for(var Ge in qe){var ct=qe[Ge];if(Array.isArray(ct))for(var Ut=0;Ut<ct.length;Ut++)Ve.append(Ge,ct[Ut]);else Ve.append(Ge,ct)}}var Wt=A(L),Je;try{for(Wt.s();!(Je=Wt.n()).done;){var Rt=Je.value;this.emit("sending",Rt,ce,Ve)}}catch(rt){Wt.e(rt)}finally{Wt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",L,ce,Ve),this._addFormElementData(Ve);for(var _t=0;_t<H.length;_t++){var st=H[_t];Ve.append(st.name,st.data,st.filename)}this.submitRequest(ce,Ve,L)}},{key:"_transformFiles",value:function(L,H){for(var ne=this,ce=[],we=0,_e=function(Ie){ne.options.transformFile.call(ne,L[Ie],function($e){ce[Ie]=$e,++we===L.length&&H(ce)})},Oe=0;Oe<L.length;Oe++)_e(Oe)}},{key:"_addFormElementData",value:function(L){if(this.element.tagName==="FORM"){var H=A(this.element.querySelectorAll("input, textarea, select, button")),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value,we=ce.getAttribute("name"),_e=ce.getAttribute("type");if(_e&&(_e=_e.toLowerCase()),!(typeof we>"u"||we===null))if(ce.tagName==="SELECT"&&ce.hasAttribute("multiple")){var Oe=A(ce.options,!0),Re;try{for(Oe.s();!(Re=Oe.n()).done;){var Ie=Re.value;Ie.selected&&L.append(we,Ie.value)}}catch($e){Oe.e($e)}finally{Oe.f()}}else(!_e||_e!=="checkbox"&&_e!=="radio"||ce.checked)&&L.append(we,ce.value)}}catch($e){H.e($e)}finally{H.f()}}}},{key:"_updateFilesUploadProgress",value:function(L,H,ne){if(L[0].upload.chunked){var Oe=L[0],Re=this._getChunk(Oe,H);ne?(Re.progress=100*ne.loaded/ne.total,Re.total=ne.total,Re.bytesSent=ne.loaded):(Re.progress=100,Re.bytesSent=Re.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var Ie=0;Ie<Oe.upload.totalChunkCount;Ie++)Oe.upload.chunks[Ie]&&typeof Oe.upload.chunks[Ie].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[Ie].progress,Oe.upload.total+=Oe.upload.chunks[Ie].total,Oe.upload.bytesSent+=Oe.upload.chunks[Ie].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var ce=A(L),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.upload.total&&_e.upload.bytesSent&&_e.upload.bytesSent==_e.upload.total||(ne?(_e.upload.progress=100*ne.loaded/ne.total,_e.upload.total=ne.total,_e.upload.bytesSent=ne.loaded):(_e.upload.progress=100,_e.upload.bytesSent=_e.upload.total),this.emit("uploadprogress",_e,_e.upload.progress,_e.upload.bytesSent))}}catch($e){ce.e($e)}finally{ce.f()}}}},{key:"_finishedUploading",value:function(L,H,ne){var ce;if(L[0].status!==P.CANCELED&&H.readyState===4){if(H.responseType!=="arraybuffer"&&H.responseType!=="blob"&&(ce=H.responseText,H.getResponseHeader("content-type")&&~H.getResponseHeader("content-type").indexOf("application/json")))try{ce=JSON.parse(ce)}catch(we){ne=we,ce="Invalid JSON response from server."}this._updateFilesUploadProgress(L,H),200<=H.status&&H.status<300?L[0].upload.chunked?L[0].upload.finishedChunkUpload(this._getChunk(L[0],H),ce):this._finished(L,ce,ne):this._handleUploadError(L,H,ce)}}},{key:"_handleUploadError",value:function(L,H,ne){if(L[0].status!==P.CANCELED){if(L[0].upload.chunked&&this.options.retryChunks){var ce=this._getChunk(L[0],H);if(ce.retries++<this.options.retryChunksLimit){this._uploadData(L,[ce.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(L,ne||this.options.dictResponseError.replace("{{statusCode}}",H.status),H)}}},{key:"submitRequest",value:function(L,H,ne){if(L.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}L.send(H)}},{key:"_finished",value:function(L,H,ne){var ce=A(L),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.status=P.SUCCESS,this.emit("success",_e,H,ne),this.emit("complete",_e)}}catch(Oe){ce.e(Oe)}finally{ce.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",L,H,ne),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(L,H,ne){var ce=A(L),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.status=P.ERROR,this.emit("error",_e,H,ne),this.emit("complete",_e)}}catch(Oe){ce.e(Oe)}finally{ce.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",L,H,ne),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=d,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(L){for(var H=arguments.length,ne=new Array(H>1?H-1:0),ce=1;ce<H;ce++)ne[ce-1]=arguments[ce];for(var we=0,_e=ne;we<_e.length;we++){var Oe=_e[we];for(var Re in Oe){var Ie=Oe[Re];L[Re]=Ie}}return L}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(L){var H=Math.random()*16|0,ne=L==="x"?H:H&3|8;return ne.toString(16)})}}]),P})(d);J.initClass(),J.version="5.9.3",J.options={},J.optionsForElement=function(ue){if(ue.getAttribute("id"))return J.options[$(ue.getAttribute("id"))]},J.instances=[],J.forElement=function(ue){if(typeof ue=="string"&&(ue=document.querySelector(ue)),(ue!=null?ue.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return ue.dropzone},J.autoDiscover=!0,J.discover=function(){var ue;if(document.querySelectorAll)ue=document.querySelectorAll(".dropzone");else{ue=[];var I=function(B){return(function(){var L=[],H=A(B),ne;try{for(H.s();!(ne=H.n()).done;){var ce=ne.value;/(^| )dropzone($| )/.test(ce.className)?L.push(ue.push(ce)):L.push(void 0)}}catch(we){H.e(we)}finally{H.f()}return L})()};I(document.getElementsByTagName("div")),I(document.getElementsByTagName("form"))}return(function(){var P=[],B=A(ue),L;try{for(B.s();!(L=B.n()).done;){var H=L.value;J.optionsForElement(H)!==!1?P.push(new J(H)):P.push(void 0)}}catch(ne){B.e(ne)}finally{B.f()}return P})()},J.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],J.isBrowserSupported=function(){var ue=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))ue=!1;else{J.blacklistedBrowsers!==void 0&&(J.blockedBrowsers=J.blacklistedBrowsers);var I=A(J.blockedBrowsers),P;try{for(I.s();!(P=I.n()).done;){var B=P.value;if(B.test(navigator.userAgent)){ue=!1;continue}}}catch(L){I.e(L)}finally{I.f()}}else ue=!1;return ue},J.dataURItoBlob=function(ue){for(var I=atob(ue.split(",")[1]),P=ue.split(",")[0].split(":")[1].split(";")[0],B=new ArrayBuffer(I.length),L=new Uint8Array(B),H=0,ne=I.length,ce=0<=ne;ce?H<=ne:H>=ne;ce?H++:H--)L[H]=I.charCodeAt(H);return new Blob([B],{type:P})};var re=function(I,P){return I.filter(function(B){return B!==P}).map(function(B){return B})},$=function(I){return I.replace(/[\-_](\w)/g,function(P){return P.charAt(1).toUpperCase()})};J.createElement=function(ue){var I=document.createElement("div");return I.innerHTML=ue,I.childNodes[0]},J.elementInside=function(ue,I){if(ue===I)return!0;for(;ue=ue.parentNode;)if(ue===I)return!0;return!1},J.getElement=function(ue,I){var P;if(typeof ue=="string"?P=document.querySelector(ue):ue.nodeType!=null&&(P=ue),P==null)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector or a plain HTML element."));return P},J.getElements=function(ue,I){var P,B;if(ue instanceof Array){B=[];try{var L=A(ue,!0),H;try{for(L.s();!(H=L.n()).done;)P=H.value,B.push(this.getElement(P,I))}catch(we){L.e(we)}finally{L.f()}}catch{B=null}}else if(typeof ue=="string"){B=[];var ne=A(document.querySelectorAll(ue)),ce;try{for(ne.s();!(ce=ne.n()).done;)P=ce.value,B.push(P)}catch(we){ne.e(we)}finally{ne.f()}}else ue.nodeType!=null&&(B=[ue]);if(B==null||!B.length)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return B},J.confirm=function(ue,I,P){if(window.confirm(ue))return I();if(P!=null)return P()},J.isValidFile=function(ue,I){if(!I)return!0;I=I.split(",");var P=ue.type,B=P.replace(/\/.*$/,""),L=A(I),H;try{for(L.s();!(H=L.n()).done;){var ne=H.value;if(ne=ne.trim(),ne.charAt(0)==="."){if(ue.name.toLowerCase().indexOf(ne.toLowerCase(),ue.name.length-ne.length)!==-1)return!0}else if(/\/\*$/.test(ne)){if(B===ne.replace(/\/.*$/,""))return!0}else if(P===ne)return!0}}catch(ce){L.e(ce)}finally{L.f()}return!1},typeof al<"u"&&al!==null&&(al.fn.dropzone=function(ue){return this.each(function(){return new J(this,ue)})}),J.ADDED="added",J.QUEUED="queued",J.ACCEPTED=J.QUEUED,J.UPLOADING="uploading",J.PROCESSING=J.UPLOADING,J.CANCELED="canceled",J.ERROR="error",J.SUCCESS="success";var N=function(I){I.naturalWidth;var P=I.naturalHeight,B=document.createElement("canvas");B.width=1,B.height=P;var L=B.getContext("2d");L.drawImage(I,0,0);for(var H=L.getImageData(1,0,1,P),ne=H.data,ce=0,we=P,_e=P;_e>ce;){var Oe=ne[(_e-1)*4+3];Oe===0?we=_e:ce=_e,_e=we+ce>>1}var Re=_e/P;return Re===0?1:Re},U=function(I,P,B,L,H,ne,ce,we,_e,Oe){var Re=N(P);return I.drawImage(P,B,L,H,ne,ce,we,_e,Oe/Re)},ee=(function(){function ue(){O(this,ue)}return D(ue,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(P){for(var B="",L=void 0,H=void 0,ne="",ce=void 0,we=void 0,_e=void 0,Oe="",Re=0;L=P[Re++],H=P[Re++],ne=P[Re++],ce=L>>2,we=(L&3)<<4|H>>4,_e=(H&15)<<2|ne>>6,Oe=ne&63,isNaN(H)?_e=Oe=64:isNaN(ne)&&(Oe=64),B=B+this.KEY_STR.charAt(ce)+this.KEY_STR.charAt(we)+this.KEY_STR.charAt(_e)+this.KEY_STR.charAt(Oe),L=H=ne="",ce=we=_e=Oe="",Re<P.length;);return B}},{key:"restore",value:function(P,B){if(!P.match("data:image/jpeg;base64,"))return B;var L=this.decode64(P.replace("data:image/jpeg;base64,","")),H=this.slice2Segments(L),ne=this.exifManipulation(B,H);return"data:image/jpeg;base64,".concat(this.encode64(ne))}},{key:"exifManipulation",value:function(P,B){var L=this.getExifArray(B),H=this.insertExif(P,L),ne=new Uint8Array(H);return ne}},{key:"getExifArray",value:function(P){for(var B=void 0,L=0;L<P.length;){if(B=P[L],B[0]===255&B[1]===225)return B;L++}return[]}},{key:"insertExif",value:function(P,B){var L=P.replace("data:image/jpeg;base64,",""),H=this.decode64(L),ne=H.indexOf(255,3),ce=H.slice(0,ne),we=H.slice(ne),_e=ce;return _e=_e.concat(B),_e=_e.concat(we),_e}},{key:"slice2Segments",value:function(P){for(var B=0,L=[];;){var H;if(P[B]===255&P[B+1]===218)break;if(P[B]===255&P[B+1]===216)B+=2;else{H=P[B+2]*256+P[B+3];var ne=B+H+2,ce=P.slice(B,ne);L.push(ce),B=ne}if(B>P.length)break}return L}},{key:"decode64",value:function(P){var B=void 0,L=void 0,H="",ne=void 0,ce=void 0,we=void 0,_e="",Oe=0,Re=[],Ie=/[^A-Za-z0-9\+\/\=]/g;for(Ie.exec(P)&&console.warn(`There were invalid base64 characters in the input text.
128
- Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
129
- Expect errors in decoding.`),P=P.replace(/[^A-Za-z0-9\+\/\=]/g,"");ne=this.KEY_STR.indexOf(P.charAt(Oe++)),ce=this.KEY_STR.indexOf(P.charAt(Oe++)),we=this.KEY_STR.indexOf(P.charAt(Oe++)),_e=this.KEY_STR.indexOf(P.charAt(Oe++)),B=ne<<2|ce>>4,L=(ce&15)<<4|we>>2,H=(we&3)<<6|_e,Re.push(B),we!==64&&Re.push(L),_e!==64&&Re.push(H),B=L=H="",ne=ce=we=_e="",Oe<P.length;);return Re}}]),ue})();ee.initClass();var te=function(I,P){var B=!1,L=!0,H=I.document,ne=H.documentElement,ce=H.addEventListener?"addEventListener":"attachEvent",we=H.addEventListener?"removeEventListener":"detachEvent",_e=H.addEventListener?"":"on",Oe=function Ie($e){if(!($e.type==="readystatechange"&&H.readyState!=="complete")&&(($e.type==="load"?I:H)[we](_e+$e.type,Ie,!1),!B&&(B=!0)))return P.call(I,$e.type||$e)},Re=function Ie(){try{ne.doScroll("left")}catch{setTimeout(Ie,50);return}return Oe("poll")};if(H.readyState!=="complete"){if(H.createEventObject&&ne.doScroll){try{L=!I.frameElement}catch{}L&&Re()}return H[ce](_e+"DOMContentLoaded",Oe,!1),H[ce](_e+"readystatechange",Oe,!1),I[ce](_e+"load",Oe,!1)}};J._autoDiscoverFunction=function(){if(J.autoDiscover)return J.discover()},te(window,J._autoDiscoverFunction);function de(ue,I){return typeof ue<"u"&&ue!==null?I(ue):void 0}function Se(ue,I,P){if(typeof ue<"u"&&ue!==null&&typeof ue[I]=="function")return P(ue,I)}window.Dropzone=J;var xe=J})(),n})()});const yAe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),um="upload.internetConnectivityError";class _Ae extends Ff{constructor(){super(pr.getPhrase(um,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:pr.getPhrase(um,"heading"),text:pr.getPhrase(um,"body"),buttons:[{text:pr.getPhrase(um,"okay"),className:"btn btn-outline-dark",success:!0}]}}}class Dae extends q_{get name(){return"AlertError"}}const lm="upload.slowInternetError";class SAe extends Ff{constructor(){super(pr.getPhrase(lm,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:pr.getPhrase(lm,"heading"),text:pr.getPhrase(lm,"body"),buttons:[{text:pr.getPhrase(lm,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const EAe=[];class TQ extends Bo{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=Lr.Radio.channel(t.channelName),i=this;this.dropzone=new yAe(document.createElement("div"),{url:(a=>{const o=a[0],{ingestUrl:s}=o.cvUpload;return s}),chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",timeout:18e4,init:function(){r&&(Da(EAe,a=>{this.on(a,(...o)=>{const s=o[0]instanceof File?o[0].name:o[0];console.info(a,s,o)})}),this.on("uploadprogress",(a,o,s)=>{const l=s/a.size*100;n.trigger("progress",i.getId(a),l,s)}),this.on("success",a=>{const o=a.upload.chunks,s=cy(o);let l=s.xhr;l||(l=s.file.xhr);const c=JSON.parse(l.response);a.cvUpload.fileId=c.id,n.trigger(tl.UPLOAD_SUCCESS,a,c)}),this.on("error",(a,o,s)=>{if(s&&s.status===0){vr.throw(new _Ae);return}a.status!=="canceled"&&vr.throw(new Dae(pr.getPhrase("upload.services","uploadError",{fileName:a.name,message:o.message})))}),this.on("sending",a=>{window.clearTimeout(i.slowInternetTimeout[a.path]),i.showSlowInternetTimeout&&(i.slowInternetTimeout[a.path]=window.setTimeout(()=>{i.showSlowInternetTimeout&&vr.throw(new SAe),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(i.slowInternetTimeout[a.path])))},params:(a,o,s)=>{if(s)return{chunk_index:s.index,upload_length:s.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return(void 0)(t,r)}}class wAe extends Pae{constructor(){super({dataProvider:Qs.getInstance(rp.Ajax),cache:Qs.getInstance(tp.Fifo),alertService:Qs.getInstance(Vp.ALERT)}),this.incrementingUploadId=0}get name(){return"UploadDataService"}get channelName(){return"private:upload:data:service"}requestUploads(t,r,n,i,a){const o=this.chain();Da(r,s=>{this.incrementingUploadId++,o.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(s,n),callback:l=>{i(s,l)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),o.func(()=>{a()}).run()}cancelUpload(t,r,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:r},callback:n})}getFileUploadRequest(t,r){const n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:r}}onDestroy(){Qs.releaseInstance(rp.Ajax).releaseInstance(tp.Fifo)}}const bAe={0:Cv.VIDEO,1:Cv.RESOURCES,2:Cv.SUBTITLES,3:Cv.MIXED_MEDIA},TAe={0:Av.VIDEO_UPLOAD,1:Av.RESOURCE_UPLOAD,2:Av.SUBTITLE_UPLOAD,3:Av.MIXED_MEDIA_UPLOAD},RAe=1024*1024*4,xAe=1024*1024*1024*50;class CAe extends Bo{initialize(){this.uploadDataService=new wAe,this.progressViewModel=rae.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return TAe[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=RAe;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new TQ({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:xAe,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,tl.UPLOAD_SUCCESS,this.onSuccess)}onProgress(t,r,n){const i=this.collection.get(t);i&&(i.set({progress:r>100?100:r,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection?this.collection:(this.collection=new V_,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(s=>{t+=s.get("totalUploaded")||0,r+=s.get("file").size||0});const i=t/r*100,a=i>=100,o=()=>{this.progressViewModel.set({progress:a?100:i,done:a})};if(!a){o();return}window.setTimeout(o,2e3)}isValidFile(t){return TQ.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(RI(t,n=>!this.isValidFile(n))){vr.throw(new uAe(pr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}async requestUploads(t,r){const n=this.isUploading(),i=this.getCollection();for(const o of t){const s=await ik(this.options.store.dispatch,mAe.requestUpload(o,this.fileLifestyle));"minChunkSize"in s&&"maxChunkSize"in s&&this.initUploader(s.minChunkSize,s.maxChunkSize),o.cvUpload={uploadId:s.uploadId,ingestUrl:s.uploadUrl},this.uploader.addFile(o);let l=o.name;this.uploadType===0&&(l=l.replace(/\.[^/.]+$/,""));const c=this.uploader.getId(o);i.add({id:c,file:o,name:l,...this.getAdditionalFileInfo(o,s)},{at:i.length-1})}r&&Ea.logUserAction({uploadCount:t.length},r),Lr.Radio.channel(this.channelName).trigger(tl.FILES_ADDED,t,n)}addFile(t,r){this.addFiles([t],r)}cancelUpload(t){const r=this.getCollection(),n=r.get(t);if(!n)return;const i=n.get("file");this.uploader.removeFile(i),r.remove(n),this.uploadDataService.cancelUpload(i.cvUpload.uploadId,i.cvUpload.ingestUrl,()=>{Ea.logUserAction(n.toJSON(),{entity:En.Video,actionType:jt.Upload,workflowPhase:ec.Discard,descriptor:$I.Single,location:Pa.MyUploads}),Lr.Radio.channel(this.channelName).trigger(tl.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),Ea.logUserAction({id:t.cvUpload.uploadId},{entity:En.Video,actionType:jt.Upload,workflowPhase:ec.Complete,descriptor:$I.Single,location:Pa.VideoUpload}),Lr.Radio.channel(this.channelName).trigger(tl.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Da(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return bAe[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class AAe extends CAe{get uploadType(){return 3}get name(){return Cae.MixedMediaUpload}get fileLifestyle(){return gk.Temporary}}function BI(e,t){return BI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},BI(e,t)}function mk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,BI(e,t)}var ZA={exports:{}},eO,RQ;function OAe(){if(RQ)return eO;RQ=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return eO=e,eO}var tO,xQ;function IAe(){if(xQ)return tO;xQ=1;var e=OAe();function t(){}function r(){}return r.resetWarningCache=t,tO=function(){function n(o,s,l,c,d,h){if(h!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},tO}var CQ;function jf(){return CQ||(CQ=1,ZA.exports=IAe()()),ZA.exports}var PAe=jf();const Kr=Bn(PAe);function HI(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function kae(e,t){e.classList?e.classList.add(t):HI(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function AQ(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Nae(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=AQ(e.className,t):e.setAttribute("class",AQ(e.className&&e.className.baseVal||"",t))}const OQ={disabled:!1},yy=sr.createContext(null);var Lae=function(t){return t.scrollTop},Ov="unmounted",jc="exited",Wl="entering",zc="entered",zI="exiting",Du=(function(e){mk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,s=o&&!o.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?s?(l=jc,a.appearStatus=Wl):l=zc:n.unmountOnExit||n.mountOnEnter?l=Ov:l=jc,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Ov?{status:jc}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Wl&&o!==zc&&(a=Wl):(o===Wl||o===zc)&&(a=zI)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Wl){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Yc.findDOMNode(this);o&&Lae(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===jc&&this.setState({status:Ov})},r.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Yc.findDOMNode(this),s],c=l[0],d=l[1],h=this.getTimeouts(),v=s?h.appear:h.enter;if(!i&&!o||OQ.disabled){this.safeSetState({status:zc},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Wl},function(){a.props.onEntering(c,d),a.onTransitionEnd(v,function(){a.safeSetState({status:zc},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:Yc.findDOMNode(this);if(!a||OQ.disabled){this.safeSetState({status:jc},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:zI},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:jc},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Yc.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Ov)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Q_(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return sr.createElement(yy.Provider,{value:null},typeof o=="function"?o(i,s):sr.cloneElement(sr.Children.only(o),s))},t})(sr.Component);Du.contextType=yy;Du.propTypes={};function _d(){}Du.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_d,onEntering:_d,onEntered:_d,onExit:_d,onExiting:_d,onExited:_d};Du.UNMOUNTED=Ov;Du.EXITED=jc;Du.ENTERING=Wl;Du.ENTERED=zc;Du.EXITING=zI;var DAe=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return kae(t,n)})},rO=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Nae(t,n)})},yk=(function(e){mk(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(s,l)},n.onEntering=function(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1],v=h?"appear":"enter";n.addClass(d,v,"active"),n.props.onEntering&&n.props.onEntering(s,l)},n.onEntered=function(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1],v=h?"appear":"enter";n.removeClasses(d,v),n.addClass(d,v,"done"),n.props.onEntered&&n.props.onEntered(s,l)},n.onExit=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(s)},n.onExiting=function(s){var l=n.resolveArguments(s),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(s)},n.onExited=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(s)},n.resolveArguments=function(s,l){return n.props.nodeRef?[n.props.nodeRef.current,s]:[s,l]},n.getClassNames=function(s){var l=n.props.classNames,c=typeof l=="string",d=c&&l?l+"-":"",h=c?""+d+s:l[s],v=c?h+"-active":l[s+"Active"],g=c?h+"-done":l[s+"Done"];return{baseClassName:h,activeClassName:v,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(i,a,o){var s=this.getClassNames(a)[o+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;a==="appear"&&o==="done"&&c&&(s+=" "+c),o==="active"&&i&&Lae(i),s&&(this.appliedClasses[a][o]=s,DAe(i,s))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],s=o.base,l=o.active,c=o.done;this.appliedClasses[a]={},s&&rO(i,s),l&&rO(i,l),c&&rO(i,c)},r.render=function(){var i=this.props;i.classNames;var a=Q_(i,["classNames"]);return sr.createElement(Du,Jv({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(sr.Component);yk.defaultProps={classNames:""};yk.propTypes={};function kAe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _k(e,t){var r=function(a){return t&&pe.isValidElement(a)?t(a):a},n=Object.create(null);return e&&pe.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function NAe(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var o,s={};for(var l in t){if(n[l])for(o=0;o<n[l].length;o++){var c=n[l][o];s[n[l][o]]=r(c)}s[l]=r(l)}for(o=0;o<i.length;o++)s[i[o]]=r(i[o]);return s}function Xc(e,t,r){return r[t]!=null?r[t]:e.props[t]}function LAe(e,t){return _k(e.children,function(r){return pe.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Xc(r,"appear",e),enter:Xc(r,"enter",e),exit:Xc(r,"exit",e)})})}function MAe(e,t,r){var n=_k(e.children),i=NAe(t,n);return Object.keys(i).forEach(function(a){var o=i[a];if(pe.isValidElement(o)){var s=a in t,l=a in n,c=t[a],d=pe.isValidElement(c)&&!c.props.in;l&&(!s||d)?i[a]=pe.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Xc(o,"exit",e),enter:Xc(o,"enter",e)}):!l&&s&&!d?i[a]=pe.cloneElement(o,{in:!1}):l&&s&&pe.isValidElement(c)&&(i[a]=pe.cloneElement(o,{onExited:r.bind(null,o),in:c.props.in,exit:Xc(o,"exit",e),enter:Xc(o,"enter",e)}))}}),i}var $Ae=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},FAe={component:"div",childFactory:function(t){return t}},Sk=(function(e){mk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind(kAe(a));return a.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var o=a.children,s=a.handleExited,l=a.firstRender;return{children:l?LAe(i,s):MAe(i,o,s),firstRender:!1}},r.handleExited=function(i,a){var o=_k(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(s){var l=Jv({},s.children);return delete l[i.key],{children:l}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,s=Q_(i,["component","childFactory"]),l=this.state.contextValue,c=$Ae(this.state.children).map(o);return delete s.appear,delete s.enter,delete s.exit,a===null?sr.createElement(yy.Provider,{value:l},c):sr.createElement(yy.Provider,{value:l},sr.createElement(a,s,c))},t})(sr.Component);Sk.propTypes={};Sk.defaultProps=FAe;function jAe(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9m0 1.212c-2.081 0-4.037.809-5.508 2.28A7.74 7.74 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.74 7.74 0 0 0 12 19.788c2.081 0 4.037-.809 5.508-2.28A7.74 7.74 0 0 0 19.788 12c0-2.081-.809-4.037-2.28-5.508A7.74 7.74 0 0 0 12 4.212m4.244 4.366a.7.7 0 0 1 .07 1.016l-5.25 5.76a.77.77 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.77.77 0 0 1 1.06 0l1.684 1.616 4.722-5.181a.77.77 0 0 1 1.058-.068"})})}function UAe(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-1 0a7 7 0 1 0-14 0 7 7 0 0 0 14 0m-6.25-.75a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm0-3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0",clipRule:"evenodd"})})}function qAe(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"m13.882 20.807.619 2.935q-.803.17-3.028.258l.176-.008-.175-.004.133-2.997.28.008.154.001a9 9 0 0 0 1.841-.194m-5.888-.75a9 9 0 0 0 2.12.744l-.63 2.933a12 12 0 0 1-2.832-.992zm9.274-.746 1.754 2.436a12 12 0 0 1-2.638 1.433l-1.093-2.793a9 9 0 0 0 1.977-1.076M5.06 17.724A9 9 0 0 0 6.7 19.271l-1.773 2.42a12 12 0 0 1-2.184-2.057zm14.736-1.187 2.592 1.515a12 12 0 0 1-1.828 2.38l-2.137-2.108a9 9 0 0 0 1.373-1.787M3.31 14.344a9 9 0 0 0 .852 2.078L1.55 17.899a12 12 0 0 1-1.138-2.776zm17.661-1.39 2.987.313a12 12 0 0 1-.686 2.92l-2.814-1.046c.261-.7.434-1.434.513-2.187M.135 10.197l2.97.447a9.2 9.2 0 0 0-.056 2.27l-2.988.3Q.02 12.813 0 12l.009-.457q.026-.684.126-1.346m23.299-1.925c.306.937.5 1.924.566 2.947l-2.997.192a9 9 0 0 0-.424-2.208zM1.892 5.532l2.529 1.62a9 9 0 0 0-.967 2.027L.6 8.24c.318-.962.754-1.87 1.291-2.708m19.06-1.548c.668.744 1.245 1.57 1.713 2.464l-2.661 1.39a9 9 0 0 0-1.286-1.849zM5.407 1.976 7.06 4.48a9 9 0 0 0-1.714 1.465l-2.221-2.02a12 12 0 0 1 2.28-1.95m11.503-.937c.923.412 1.784.937 2.566 1.558L17.61 4.946a9 9 0 0 0-1.926-1.168zM10.03.163l.492 2.96a9 9 0 0 0-2.153.643L7.153 1.023C8.058.622 9.023.33 10.03.163M12.013 0l.439.008a12 12 0 0 1 2.541.364L14.25 3.28A9 9 0 0 0 12.012 3z"})})}function VAe(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"m13.026 4.377 8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0M12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2m.75-3.677V8.677a.69.69 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677s.7-.303.7-.677",fill:"currentColor"})})}const WI=sr.forwardRef((e,t)=>{function r(i){if(e.onKeyDown)return e.onKeyDown(i);if(i.key===" "&&i.preventDefault(),i.key==="Enter"||i.key===" "){if(e.disabled||!e.onClick)return;n(i)}}function n(...i){if(!(e.disabled||!e.onClick))return e.onClick(...i)}return V.jsx("div",{...e,ref:t,role:"button",tabIndex:e.tabIndex||0,className:`${e.className?e.className:""} ${e.disabled?"":"cursor-pointer"}`,onKeyDown:r,onClick:n,style:e.style?e.style:{},children:e.children})}),BAe="_appLink_1d1n3_1",HAe={appLink:BAe},os=pe.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:a,children:o,disabled:s,tag:l="a",preventFocus:c}=e;if(!r)return V.jsx("div",{ref:t,className:`${HAe.appLink} ${i||""}`,style:a,children:o});const d=Kn.getHref(r,n)||void 0,v={onClick:g=>{var E;const S=g.metaKey||g.ctrlKey;S||g.preventDefault(),!s&&((E=e.onClick)==null||E.call(e,g),e.analyticsData&&e.analyticsOptions&&Ea.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!S&&(e.openInNewTab?Yn.PageLoad(d,!0):e.forcePageLoad?Yn.PageLoad(d):Kn.trigger(r,n)))},...l==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:a,disabled:s,tabIndex:c?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return l==="button"||!d?V.jsx(WI,{...v,children:o}):V.jsx(l,{...v,children:o})});var nO={exports:{}};/*!
130
- Copyright (c) 2018 Jed Watson.
131
- Licensed under the MIT License (MIT), see
132
- http://jedwatson.github.io/classnames
133
- */var IQ;function zAe(){return IQ||(IQ=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=i(a,n(s)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)t.call(a,s)&&a[s]&&(o=i(o,s));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(nO)),nO.exports}var WAe=zAe();const cn=Bn(WAe);var iO,PQ;function GAe(){if(PQ)return iO;PQ=1;var e=function(t,r,n,i,a,o,s,l){if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,a,o,s,l],h=0;c=new Error(r.replace(/%s/g,function(){return d[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};return iO=e,iO}var YAe=GAe();const DQ=Bn(YAe);function kQ(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function KAe(e){var t=XAe(e,"string");return typeof t=="symbol"?t:String(t)}function XAe(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Mae(e,t,r){var n=pe.useRef(e!==void 0),i=pe.useState(t),a=i[0],o=i[1],s=e!==void 0,l=n.current;return n.current=s,!s&&l&&a!==t&&o(t),[s?e:a,pe.useCallback(function(c){for(var d=arguments.length,h=new Array(d>1?d-1:0),v=1;v<d;v++)h[v-1]=arguments[v];r&&r.apply(void 0,[c].concat(h)),o(c)},[r])]}function QAe(e,t){return Object.keys(t).reduce(function(r,n){var i,a=r,o=a[kQ(n)],s=a[n],l=Q_(a,[kQ(n),n].map(KAe)),c=t[n],d=Mae(s,o,e[c]),h=d[0],v=d[1];return Jv({},l,(i={},i[n]=h,i[c]=v,i))},e)}const JAe=["xxl","xl","lg","md","sm","xs"],ZAe="xs",Hp=pe.createContext({prefixes:{},breakpoints:JAe,minBreakpoint:ZAe}),{Consumer:k5e,Provider:N5e}=Hp;function Cn(e,t){const{prefixes:r}=pe.useContext(Hp);return e||r[t]||t}function eOe(){const{breakpoints:e}=pe.useContext(Hp);return e}function tOe(){const{minBreakpoint:e}=pe.useContext(Hp);return e}function s0(){const{dir:e}=pe.useContext(Hp);return e==="rtl"}function Ah(e){return e&&e.ownerDocument||document}function rOe(e){var t=Ah(e);return t&&t.defaultView||window}function nOe(e,t){return rOe(e).getComputedStyle(e,t)}var iOe=/([A-Z])/g;function aOe(e){return e.replace(iOe,"-$1").toLowerCase()}var oOe=/^ms-/;function cm(e){return aOe(e).replace(oOe,"-ms-")}var sOe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function uOe(e){return!!(e&&sOe.test(e))}function ef(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(cm(t))||nOe(e).getPropertyValue(cm(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(cm(i)):uOe(i)?n+=i+"("+a+") ":r+=cm(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}function $ae(e){return e.code==="Escape"||e.keyCode===27}function lOe(){const e=pe.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function zp(e){if(!e||typeof e=="function")return null;const{major:t}=lOe();return t>=19?e.props.ref:e.ref}const Oh=!!(typeof window<"u"&&window.document&&window.document.createElement);var GI=!1,YI=!1;try{var aO={get passive(){return GI=!0},get once(){return YI=GI=!0}};Oh&&(window.addEventListener("test",aO,aO),window.removeEventListener("test",aO,!0))}catch{}function Ek(e,t,r,n){if(n&&typeof n!="boolean"&&!YI){var i=n.once,a=n.capture,o=r;!YI&&i&&(o=r.__once||function s(l){this.removeEventListener(t,s,a),r.call(this,l)},r.__once=o),e.addEventListener(t,o,GI?n:a)}e.addEventListener(t,r,n)}function KI(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function rl(e,t,r,n){return Ek(e,t,r,n),function(){KI(e,t,r,n)}}function cOe(e,t,r,n){if(n===void 0&&(n=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,r,n),e.dispatchEvent(i)}}function fOe(e){var t=ef(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function dOe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||cOe(e,"transitionend",!0)},t+r),a=rl(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function Fae(e,t,r,n){r==null&&(r=fOe(e)||0);var i=dOe(e,r,n),a=rl(e,"transitionend",t);return function(){i(),a()}}function NQ(e,t){const r=ef(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function hOe(e,t){const r=NQ(e,"transitionDuration"),n=NQ(e,"transitionDelay"),i=Fae(e,a=>{a.target===e&&(i(),t(a))},r+n)}function vOe(e){e.offsetHeight}const LQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function pOe(e,t){const r=LQ(e),n=LQ(t);return i=>{r&&r(i),n&&n(i)}}function Ih(e,t){return pe.useMemo(()=>pOe(e,t),[e,t])}function _y(e){return e&&"setState"in e?Yc.findDOMNode(e):e??null}const gOe=sr.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:s,childRef:l,...c},d)=>{const h=pe.useRef(null),v=Ih(h,l),g=O=>{v(_y(O))},S=O=>m=>{O&&h.current&&O(h.current,m)},E=pe.useCallback(S(e),[e]),y=pe.useCallback(S(t),[t]),w=pe.useCallback(S(r),[r]),b=pe.useCallback(S(n),[n]),A=pe.useCallback(S(i),[i]),R=pe.useCallback(S(a),[a]),C=pe.useCallback(S(o),[o]);return V.jsx(Du,{ref:d,...c,onEnter:E,onEntered:w,onEntering:y,onExit:b,onExited:R,onExiting:A,addEndListener:C,nodeRef:h,children:typeof s=="function"?(O,m)=>s(O,{...m,ref:g}):sr.cloneElement(s,{ref:g})})});function mOe(e){const t=pe.useRef(e);return pe.useEffect(()=>{t.current=e},[e]),t}function np(e){const t=mOe(e);return pe.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const yOe=(e=>pe.forwardRef((t,r)=>V.jsx("div",{...t,ref:r,className:cn(t.className,e)})));function XI(){return pe.useState(null)}function _Oe(e){const t=pe.useRef(e);return pe.useEffect(()=>{t.current=e},[e]),t}function Ya(e){const t=_Oe(e);return pe.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function SOe(e,t,r,n=!1){const i=Ya(r);pe.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,i,n),()=>a.removeEventListener(t,i,n)},[e])}function jae(){const e=pe.useRef(!0),t=pe.useRef(()=>e.current);return pe.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Uae(e){const t=pe.useRef(null);return pe.useEffect(()=>{t.current=e}),t.current}const EOe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",wOe=typeof document<"u",MQ=wOe||EOe?pe.useLayoutEffect:pe.useEffect,bOe=["as","disabled"];function TOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ROe(e){return!e||e.trim()==="#"}function wk({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:s=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},c];const d=v=>{if((t||e==="a"&&ROe(r))&&v.preventDefault(),t){v.stopPropagation();return}o==null||o(v)},h=v=>{v.key===" "&&(v.preventDefault(),d(v))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:s,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},c]}const qae=pe.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=TOe(e,bOe);const[a,{tagName:o}]=wk(Object.assign({tagName:r,disabled:n},i));return V.jsx(o,Object.assign({},i,a,{ref:t}))});qae.displayName="Button";const xOe=["onKeyDown"];function COe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function AOe(e){return!e||e.trim()==="#"}const Vae=pe.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=COe(e,xOe);const[i]=wk(Object.assign({tagName:"a"},n)),a=Ya(o=>{i.onKeyDown(o),r==null||r(o)});return AOe(n.href)||n.role==="button"?V.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:a})):V.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});Vae.displayName="Anchor";const OOe={[Wl]:"show",[zc]:"show"},ip=pe.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=pe.useCallback((l,c)=>{vOe(l),n==null||n(l,c)},[n]);return V.jsx(gOe,{ref:a,addEndListener:hOe,...o,onEnter:s,childRef:zp(t),children:(l,c)=>pe.cloneElement(t,{...c,className:cn("fade",e,t.props.className,OOe[l],r[l])})})});ip.displayName="Fade";const IOe={"aria-label":Kr.string,onClick:Kr.func,variant:Kr.oneOf(["white"])},bk=pe.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>V.jsx("button",{ref:i,type:"button",className:cn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));bk.displayName="CloseButton";bk.propTypes=IOe;const u0=pe.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...s},l)=>{const c=Cn(t,"btn"),[d,{tagName:h}]=wk({tagName:e,disabled:a,...s}),v=h;return V.jsx(v,{...d,...s,ref:l,disabled:a,className:cn(o,c,i&&"active",r&&`${c}-${r}`,n&&`${c}-${n}`,s.href&&a&&"disabled")})});u0.displayName="Button";function POe(){const e=pe.useRef(!0),t=pe.useRef(()=>e.current);return pe.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function DOe(e){const t=pe.useRef(e);return t.current=e,t}function Bae(e){const t=DOe(e);pe.useEffect(()=>()=>t.current(),[])}const QI=2**31-1;function Hae(e,t,r){const n=r-Date.now();e.current=n<=QI?setTimeout(t,n):setTimeout(()=>Hae(e,t,r),QI)}function kOe(){const e=POe(),t=pe.useRef();return Bae(()=>clearTimeout(t.current)),pe.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,a=0){e()&&(r(),a<=QI?t.current=setTimeout(i,a):Hae(t,i,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function NOe(e,t){return pe.Children.toArray(e).some(r=>pe.isValidElement(r)&&r.type===t)}function LOe({as:e,bsPrefix:t,className:r,...n}){t=Cn(t,"col");const i=eOe(),a=tOe(),o=[],s=[];return i.forEach(l=>{const c=n[l];delete n[l];let d,h,v;typeof c=="object"&&c!=null?{span:d,offset:h,order:v}=c:d=c;const g=l!==a?`-${l}`:"";d&&o.push(d===!0?`${t}${g}`:`${t}${g}-${d}`),v!=null&&s.push(`order${g}-${v}`),h!=null&&s.push(`offset${g}-${h}`)}),[{...n,className:cn(r,...o,...s)},{as:e,bsPrefix:t,spans:o}]}const zae=pe.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=LOe(e);return V.jsx(i,{...n,ref:t,className:cn(r,!o.length&&a)})});zae.displayName="Col";var MOe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Gl(e,t){return MOe(e.querySelectorAll(t))}function $Oe(e,t,r){const n=pe.useRef(e!==void 0),[i,a]=pe.useState(t),o=e!==void 0,s=n.current;return n.current=o,!o&&s&&i!==t&&a(t),[o?e:i,pe.useCallback((...l)=>{const[c,...d]=l;let h=r==null?void 0:r(c,...d);return a(c),h},[r])]}function FOe(){const[,e]=pe.useReducer(t=>t+1,0);return e}const l0=pe.createContext(null);var $Q=Object.prototype.hasOwnProperty;function FQ(e,t,r){for(r of e.keys())if($v(r,t))return r}function $v(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&$v(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=FQ(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=FQ(t,i),!i)||!$v(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if($Q.call(e,r)&&++n&&!$Q.call(t,r)||!(r in t)||!$v(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function jOe(e){const t=jae();return[e[0],pe.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const UOe=Op({defaultModifiers:[mD,A_,x_,C_,yD,gD,_D,dD]}),qOe=["enabled","placement","strategy","modifiers"];function VOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const BOe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},HOe={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,i=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&i==="tooltip"&&"setAttribute"in n){const a=n.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",a?`${a},${r.id}`:r.id)}}},zOe=[];function Wae(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=zOe}=r,s=VOe(r,qOe);const l=pe.useRef(o),c=pe.useRef(),d=pe.useCallback(()=>{var y;(y=c.current)==null||y.update()},[]),h=pe.useCallback(()=>{var y;(y=c.current)==null||y.forceUpdate()},[]),[v,g]=jOe(pe.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),S=pe.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:y})=>{const w={},b={};Object.keys(y.elements).forEach(A=>{w[A]=y.styles[A],b[A]=y.attributes[A]}),g({state:y,styles:w,attributes:b,update:d,forceUpdate:h,placement:y.placement})}}),[d,h,g]),E=pe.useMemo(()=>($v(l.current,o)||(l.current=o),l.current),[o]);return pe.useEffect(()=>{!c.current||!n||c.current.setOptions({placement:i,strategy:a,modifiers:[...E,S,BOe]})},[a,i,S,n,E]),pe.useEffect(()=>{if(!(!n||e==null||t==null))return c.current=UOe(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...E,HOe,S]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,g(y=>Object.assign({},y,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),v}function ap(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var WOe=gae();const GOe=Bn(WOe),jQ=()=>{};function YOe(e){return e.button===0}function KOe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Gm=e=>e&&("current"in e?e.current:e),UQ={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Gae(e,t=jQ,{disabled:r,clickTrigger:n="click"}={}){const i=pe.useRef(!1),a=pe.useRef(!1),o=pe.useCallback(c=>{const d=Gm(e);GOe(!!d,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!d||KOe(c)||!YOe(c)||!!ap(d,c.target)||a.current,a.current=!1},[e]),s=Ya(c=>{const d=Gm(e);d&&ap(d,c.target)?a.current=!0:a.current=!1}),l=Ya(c=>{i.current||t(c)});pe.useEffect(()=>{var c,d;if(r||e==null)return;const h=Ah(Gm(e)),v=h.defaultView||window;let g=(c=v.event)!=null?c:(d=v.parent)==null?void 0:d.event,S=null;UQ[n]&&(S=rl(h,UQ[n],s,!0));const E=rl(h,n,o,!0),y=rl(h,n,b=>{if(b===g){g=void 0;return}l(b)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(b=>rl(b,"mousemove",jQ))),()=>{S==null||S(),E(),y(),w.forEach(b=>b())}},[e,r,n,o,s,l])}function XOe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function QOe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Yae({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:s,popperConfig:l={}}){var c,d,h,v,g;const S=XOe(l.modifiers);return Object.assign({},l,{placement:r,enabled:e,strategy:a?"fixed":l.strategy,modifiers:QOe(Object.assign({},S,{eventListeners:{enabled:t,options:(c=S.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},S.preventOverflow,{options:o?Object.assign({padding:o},(d=S.preventOverflow)==null?void 0:d.options):(h=S.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(v=S.offset)==null?void 0:v.options)},arrow:Object.assign({},S.arrow,{enabled:!!s,options:Object.assign({},(g=S.arrow)==null?void 0:g.options,{element:s})}),flip:Object.assign({enabled:!!n},S.flip)}))})}const JOe=["children","usePopper"];function ZOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const eIe=()=>{};function Kae(e={}){const t=pe.useContext(l0),[r,n]=XI(),i=pe.useRef(!1),{flip:a,offset:o,rootCloseEvent:s,fixed:l=!1,placement:c,popperConfig:d={},enableEventListeners:h=!0,usePopper:v=!!t}=e,g=(t==null?void 0:t.show)==null?!!e.show:t.show;g&&!i.current&&(i.current=!0);const S=O=>{t==null||t.toggle(!1,O)},{placement:E,setMenu:y,menuElement:w,toggleElement:b}=t||{},A=Wae(b,w,Yae({placement:c||E||"bottom-start",enabled:v,enableEvents:h??g,offset:o,flip:a,fixed:l,arrowElement:r,popperConfig:d})),R=Object.assign({ref:y||eIe,"aria-labelledby":b==null?void 0:b.id},A.attributes.popper,{style:A.styles.popper}),C={show:g,placement:E,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:v?A:null,arrowProps:v?Object.assign({ref:n},A.attributes.arrow,{style:A.styles.arrow}):{}};return Gae(w,S,{clickTrigger:s,disabled:!g}),[R,C]}function Xae(e){let{children:t,usePopper:r=!0}=e,n=ZOe(e,JOe);const[i,a]=Kae(Object.assign({},n,{usePopper:r}));return V.jsx(V.Fragment,{children:t(i,a)})}Xae.displayName="DropdownMenu";const Qae={prefix:String(Math.round(Math.random()*1e10)),current:0},Jae=sr.createContext(Qae),tIe=sr.createContext(!1);let oO=new WeakMap;function rIe(e=!1){let t=pe.useContext(Jae),r=pe.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let o=oO.get(a);o==null?oO.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,oO.delete(a))}r.current=++t.current}return r.current}function nIe(e){let t=pe.useContext(Jae),r=rIe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function iIe(e){let t=sr.useId(),[r]=pe.useState(lIe()),n=r?"react-aria":`react-aria${Qae.prefix}`;return e||`${n}-${t}`}const aIe=typeof sr.useId=="function"?iIe:nIe;function oIe(){return!1}function sIe(){return!0}function uIe(e){return()=>{}}function lIe(){return typeof sr.useSyncExternalStore=="function"?sr.useSyncExternalStore(uIe,oIe,sIe):pe.useContext(tIe)}const Zae=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},qQ=()=>{};function eoe(){const e=aIe(),{show:t=!1,toggle:r=qQ,setToggle:n,menuElement:i}=pe.useContext(l0)||{},a=pe.useCallback(s=>{r(!t,s)},[t,r]),o={id:e,ref:n||qQ,onClick:a,"aria-expanded":!!t};return i&&Zae(i)&&(o["aria-haspopup"]=!0),[o,{show:t,toggle:r}]}function toe({children:e}){const[t,r]=eoe();return V.jsx(V.Fragment,{children:e(t,r)})}toe.displayName="DropdownToggle";const JI=pe.createContext(null),VQ=(e,t=null)=>e!=null?String(e):t||null,roe=pe.createContext(null);roe.displayName="NavContext";const cIe="data-rr-ui-";function Tk(e){return`${cIe}${e}`}const fIe=["eventKey","disabled","onClick","active","as"];function dIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function noe({key:e,href:t,active:r,disabled:n,onClick:i}){const a=pe.useContext(JI),o=pe.useContext(roe),{activeKey:s}=o||{},l=VQ(e,t),c=r==null&&e!=null?VQ(s)===l:r;return[{onClick:Ya(h=>{n||(i==null||i(h),a&&!h.isPropagationStopped()&&a(l,h))}),"aria-disabled":n||void 0,"aria-selected":c,[Tk("dropdown-item")]:""},{isActive:c}]}const ioe=pe.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:a,as:o=qae}=e,s=dIe(e,fIe);const[l]=noe({key:r,href:s.href,disabled:n,onClick:i,active:a});return V.jsx(o,Object.assign({},s,{ref:t},l))});ioe.displayName="DropdownItem";const aoe=pe.createContext(Oh?window:void 0);aoe.Provider;function c0(){return pe.useContext(aoe)}function BQ(){const e=FOe(),t=pe.useRef(null),r=pe.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function Wp({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${Tk("dropdown-item")}]`,focusFirstItemOnShow:a,placement:o="bottom-start",children:s}){const l=c0(),[c,d]=$Oe(t,e,n),[h,v]=BQ(),g=h.current,[S,E]=BQ(),y=S.current,w=Uae(c),b=pe.useRef(null),A=pe.useRef(!1),R=pe.useContext(JI),C=pe.useCallback((j,W,K=W==null?void 0:W.type)=>{d(j,{originalEvent:W,source:K})},[d]),O=Ya((j,W)=>{r==null||r(j,W),C(!1,W,"select"),W.isPropagationStopped()||R==null||R(j,W)}),m=pe.useMemo(()=>({toggle:C,placement:o,show:c,menuElement:g,toggleElement:y,setMenu:v,setToggle:E}),[C,o,c,g,y,v,E]);g&&w&&!c&&(A.current=g.contains(g.ownerDocument.activeElement));const D=Ya(()=>{y&&y.focus&&y.focus()}),k=Ya(()=>{const j=b.current;let W=a;if(W==null&&(W=h.current&&Zae(h.current)?"keyboard":!1),W===!1||W==="keyboard"&&!/^key.+$/.test(j))return;const K=Gl(h.current,i)[0];K&&K.focus&&K.focus()});pe.useEffect(()=>{c?k():A.current&&(A.current=!1,D())},[c,A,D,k]),pe.useEffect(()=>{b.current=null});const q=(j,W)=>{if(!h.current)return null;const K=Gl(h.current,i);let X=K.indexOf(j)+W;return X=Math.max(0,Math.min(X,K.length)),K[X]};return SOe(pe.useCallback(()=>l.document,[l]),"keydown",j=>{var W,K;const{key:X}=j,Q=j.target,J=(W=h.current)==null?void 0:W.contains(Q),re=(K=S.current)==null?void 0:K.contains(Q);if(/input|textarea/i.test(Q.tagName)&&(X===" "||X!=="Escape"&&J||X==="Escape"&&Q.type==="search")||!J&&!re||X==="Tab"&&(!h.current||!c))return;b.current=j.type;const N={originalEvent:j,source:j.type};switch(X){case"ArrowUp":{const U=q(Q,-1);U&&U.focus&&U.focus(),j.preventDefault();return}case"ArrowDown":if(j.preventDefault(),!c)d(!0,N);else{const U=q(Q,1);U&&U.focus&&U.focus()}return;case"Tab":Ek(Q.ownerDocument,"keyup",U=>{var ee;(U.key==="Tab"&&!U.target||!((ee=h.current)!=null&&ee.contains(U.target)))&&d(!1,N)},{once:!0});break;case"Escape":X==="Escape"&&(j.preventDefault(),j.stopPropagation()),d(!1,N);break}}),V.jsx(JI.Provider,{value:O,children:V.jsx(l0.Provider,{value:m,children:s})})}Wp.displayName="Dropdown";Wp.Menu=Xae;Wp.Toggle=toe;Wp.Item=ioe;const Rk=pe.createContext({});Rk.displayName="DropdownContext";const ooe=pe.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},a)=>(t=Cn(t,"dropdown-divider"),V.jsx(r,{ref:a,className:cn(e,t),role:n,...i})));ooe.displayName="DropdownDivider";const soe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},a)=>(t=Cn(t,"dropdown-header"),V.jsx(r,{ref:a,className:cn(e,t),role:n,...i})));soe.displayName="DropdownHeader";const uoe=pe.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:a,as:o=Vae,...s},l)=>{const c=Cn(e,"dropdown-item"),[d,h]=noe({key:r,href:s.href,disabled:n,onClick:i,active:a});return V.jsx(o,{...s,...d,ref:l,className:cn(t,c,h.isActive&&"active",n&&"disabled")})});uoe.displayName="DropdownItem";const loe=pe.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=Cn(t,"dropdown-item-text"),V.jsx(r,{ref:i,className:cn(e,t),...n})));loe.displayName="DropdownItemText";const hIe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",vIe=typeof document<"u",coe=vIe||hIe?pe.useLayoutEffect:pe.useEffect,xk=pe.createContext(null);xk.displayName="InputGroupContext";const foe=pe.createContext(null);foe.displayName="NavbarContext";function doe(e,t){return e}function hoe(e,t,r){const n=r?"top-end":"top-start",i=r?"top-start":"top-end",a=r?"bottom-end":"bottom-start",o=r?"bottom-start":"bottom-end",s=r?"right-start":"left-start",l=r?"right-end":"left-end",c=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?o:a;return t==="up"?h=e?i:n:t==="end"?h=e?d:c:t==="start"?h=e?l:s:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const voe=pe.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:a,renderOnMount:o,as:s="div",popperConfig:l,variant:c,...d},h)=>{let v=!1;const g=pe.useContext(foe),S=Cn(e,"dropdown-menu"),{align:E,drop:y,isRTL:w}=pe.useContext(Rk);r=r||E;const b=pe.useContext(xk),A=[];if(r)if(typeof r=="object"){const j=Object.keys(r);if(j.length){const W=j[0],K=r[W];v=K==="start",A.push(`${S}-${W}-${K}`)}}else r==="end"&&(v=!0);const R=hoe(v,y,w),[C,{hasShown:O,popper:m,show:D,toggle:k}]=Kae({flip:i,rootCloseEvent:n,show:a,usePopper:!g&&A.length===0,offset:[0,2],popperConfig:l,placement:R});if(C.ref=Ih(doe(h),C.ref),coe(()=>{D&&(m==null||m.update())},[D]),!O&&!o&&!b)return null;typeof s!="string"&&(C.show=D,C.close=()=>k==null?void 0:k(!1),C.align=r);let q=d.style;return m!=null&&m.placement&&(q={...d.style,...C.style},d["x-placement"]=m.placement),V.jsx(s,{...d,...C,style:q,...(A.length||g)&&{"data-bs-popper":"static"},className:cn(t,S,D&&"show",v&&`${S}-end`,c&&`${S}-${c}`,...A)})});voe.displayName="DropdownMenu";const poe=pe.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=u0,...a},o)=>{const s=Cn(e,"dropdown-toggle"),l=pe.useContext(l0);n!==void 0&&(a.bsPrefix=n);const[c]=eoe();return c.ref=Ih(c.ref,doe(o)),V.jsx(i,{className:cn(r,s,t&&`${s}-split`,(l==null?void 0:l.show)&&"show"),...c,...a})});poe.displayName="DropdownToggle";const goe=pe.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:a,align:o="start",onSelect:s,onToggle:l,focusFirstItemOnShow:c,as:d="div",navbar:h,autoClose:v=!0,...g}=QAe(e,{show:"onToggle"}),S=pe.useContext(xk),E=Cn(r,"dropdown"),y=s0(),w=m=>v===!1?m==="click":v==="inside"?m!=="rootClose":v==="outside"?m!=="select":!0,b=np((m,D)=>{var k;!((k=D.originalEvent)==null||(k=k.target)==null)&&k.classList.contains("dropdown-toggle")&&D.source==="mousedown"||(D.originalEvent.currentTarget===document&&(D.source!=="keydown"||D.originalEvent.key==="Escape")&&(D.source="rootClose"),w(D.source)&&(l==null||l(m,D)))}),R=hoe(o==="end",n,y),C=pe.useMemo(()=>({align:o,drop:n,isRTL:y}),[o,n,y]),O={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return V.jsx(Rk.Provider,{value:C,children:V.jsx(Wp,{placement:R,show:i,onSelect:s,onToggle:b,focusFirstItemOnShow:c,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:S?g.children:V.jsx(d,{...g,ref:t,className:cn(a,i&&"show",O[n])})})})});goe.displayName="Dropdown";const Qi=Object.assign(goe,{Toggle:poe,Menu:voe,Item:uoe,ItemText:loe,Divider:ooe,Header:soe}),pIe={type:Kr.string,tooltip:Kr.bool,as:Kr.elementType},f0=pe.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>V.jsx(e,{...i,ref:a,className:cn(t,`${r}-${n?"tooltip":"feedback"}`)}));f0.displayName="Feedback";f0.propTypes=pIe;const dl=pe.createContext({}),Ck=pe.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...s},l)=>{const{controlId:c}=pe.useContext(dl);return t=Cn(t,"form-check-input"),V.jsx(o,{...s,ref:l,type:n,id:e||c,className:cn(r,t,i&&"is-valid",a&&"is-invalid")})});Ck.displayName="FormCheckInput";const Sy=pe.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=pe.useContext(dl);return e=Cn(e,"form-check-label"),V.jsx("label",{...n,ref:i,htmlFor:r||a,className:cn(t,e)})});Sy.displayName="FormCheckLabel";const moe=pe.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:s=!1,feedbackTooltip:l=!1,feedback:c,feedbackType:d,className:h,style:v,title:g="",type:S="checkbox",label:E,children:y,as:w="input",...b},A)=>{t=Cn(t,"form-check"),r=Cn(r,"form-switch");const{controlId:R}=pe.useContext(dl),C=pe.useMemo(()=>({controlId:e||R}),[R,e]),O=!y&&E!=null&&E!==!1||NOe(y,Sy),m=V.jsx(Ck,{...b,type:S==="switch"?"checkbox":S,ref:A,isValid:o,isInvalid:s,disabled:a,as:w});return V.jsx(dl.Provider,{value:C,children:V.jsx("div",{style:v,className:cn(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,S==="switch"&&r),children:y||V.jsxs(V.Fragment,{children:[m,O&&V.jsx(Sy,{title:g,children:E}),c&&V.jsx(f0,{type:d,tooltip:l,children:c})]})})})});moe.displayName="FormCheck";const Ey=Object.assign(moe,{Input:Ck,Label:Sy}),yoe=pe.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:s=!1,plaintext:l,readOnly:c,as:d="input",...h},v)=>{const{controlId:g}=pe.useContext(dl);return e=Cn(e,"form-control"),V.jsx(d,{...h,type:t,size:n,ref:v,readOnly:c,id:i||g,className:cn(a,l?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,o&&"is-valid",s&&"is-invalid")})});yoe.displayName="FormControl";const gIe=Object.assign(yoe,{Feedback:f0}),_oe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Cn(t,"form-floating"),V.jsx(r,{ref:i,className:cn(e,t),...n})));_oe.displayName="FormFloating";const Ak=pe.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=pe.useMemo(()=>({controlId:e}),[e]);return V.jsx(dl.Provider,{value:i,children:V.jsx(t,{...r,ref:n})})});Ak.displayName="FormGroup";const Soe=pe.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},s)=>{const{controlId:l}=pe.useContext(dl);t=Cn(t,"form-label");let c="col-form-label";typeof r=="string"&&(c=`${c} ${c}-${r}`);const d=cn(i,t,n&&"visually-hidden",r&&c);return a=a||l,r?V.jsx(zae,{ref:s,as:"label",className:d,htmlFor:a,...o}):V.jsx(e,{ref:s,className:d,htmlFor:a,...o})});Soe.displayName="FormLabel";const Eoe=pe.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=pe.useContext(dl);return e=Cn(e,"form-range"),V.jsx("input",{...n,type:"range",ref:i,className:cn(t,e),id:r||a})});Eoe.displayName="FormRange";const woe=pe.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...s},l)=>{const{controlId:c}=pe.useContext(dl);return e=Cn(e,"form-select"),V.jsx("select",{...s,size:r,ref:l,className:cn(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||c})});woe.displayName="FormSelect";const boe=pe.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=Cn(e,"form-text"),V.jsx(r,{...i,ref:a,className:cn(t,e,n&&"text-muted")})));boe.displayName="FormText";const Toe=pe.forwardRef((e,t)=>V.jsx(Ey,{...e,ref:t,type:"switch"}));Toe.displayName="Switch";const mIe=Object.assign(Toe,{Input:Ey.Input,Label:Ey.Label}),Roe=pe.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=Cn(e,"form-floating"),V.jsxs(Ak,{ref:o,className:cn(t,e),controlId:n,...a,children:[r,V.jsx("label",{htmlFor:n,children:i})]})));Roe.displayName="FloatingLabel";const yIe={_ref:Kr.any,validated:Kr.bool,as:Kr.elementType},Ok=pe.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>V.jsx(r,{...n,ref:i,className:cn(e,t&&"was-validated")}));Ok.displayName="Form";Ok.propTypes=yIe;const _Ie=Object.assign(Ok,{Group:Ak,Control:gIe,Floating:_oe,Check:Ey,Switch:mIe,Label:Soe,Text:boe,Range:Eoe,Select:woe,FloatingLabel:Roe}),HQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function SIe(e,t){const r=HQ(e),n=HQ(t);return i=>{r&&r(i),n&&n(i)}}function d0(e,t){return pe.useMemo(()=>SIe(e,t),[e,t])}var fm;function zQ(e){if((!fm&&fm!==0||e)&&Oh){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),fm=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return fm}function EIe(){return pe.useState(null)}function sO(e){e===void 0&&(e=Ah());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function wIe(e){const t=pe.useRef(e);return t.current=e,t}function bIe(e){const t=wIe(e);pe.useEffect(()=>()=>t.current(),[])}function TIe(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const WQ=Tk("modal-open");class Ik{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return TIe(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const r={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[n]:i.style[n]},t.scrollBarWidth&&(r[n]=`${parseInt(ef(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(WQ,""),ef(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(WQ),Object.assign(r.style,t.style)}add(t){let r=this.modals.indexOf(t);return r!==-1||(r=this.modals.length,this.modals.push(t),this.setModalAttributes(t),r!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),r}remove(t){const r=this.modals.indexOf(t);r!==-1&&(this.modals.splice(r,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const uO=(e,t)=>Oh?e==null?(t||Ah()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function ZI(e,t){const r=c0(),[n,i]=pe.useState(()=>uO(e,r==null?void 0:r.document));if(!n){const a=uO(e);a&&i(a)}return pe.useEffect(()=>{},[t,n]),pe.useEffect(()=>{const a=uO(e);a!==n&&i(a)},[e,n]),n}function RIe({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const a=pe.useRef(null),o=pe.useRef(t),s=Ya(r);pe.useEffect(()=>{t?o.current=!0:s(a.current)},[t,s]);const l=d0(a,zp(e)),c=pe.cloneElement(e,{ref:l});return t?c:i||!o.current&&n?null:c}const xIe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function CIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function AIe(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:a,onExited:o,addEndListener:s,children:l}=e,c=CIe(e,xIe);const d=pe.useRef(null),h=d0(d,zp(l)),v=R=>C=>{R&&d.current&&R(d.current,C)},g=pe.useCallback(v(t),[t]),S=pe.useCallback(v(r),[r]),E=pe.useCallback(v(n),[n]),y=pe.useCallback(v(i),[i]),w=pe.useCallback(v(a),[a]),b=pe.useCallback(v(o),[o]),A=pe.useCallback(v(s),[s]);return Object.assign({},c,{nodeRef:d},t&&{onEnter:g},r&&{onEntering:S},n&&{onEntered:E},i&&{onExit:y},a&&{onExiting:w},o&&{onExited:b},s&&{addEndListener:A},{children:typeof l=="function"?(R,C)=>l(R,Object.assign({},C,{ref:h})):pe.cloneElement(l,{ref:h})})}const OIe=["component"];function IIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const PIe=pe.forwardRef((e,t)=>{let{component:r}=e,n=IIe(e,OIe);const i=AIe(n);return V.jsx(r,Object.assign({ref:t},i))});function DIe({in:e,onTransition:t}){const r=pe.useRef(null),n=pe.useRef(!0),i=Ya(t);return MQ(()=>{if(!r.current)return;let a=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,i]),MQ(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function kIe({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[a,o]=pe.useState(!t);t&&a&&o(!1);const s=DIe({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?n==null||n(c.element,c.initial):(o(!0),r==null||r(c.element)))};Promise.resolve(i(c)).then(d,h=>{throw c.in||o(!0),h})}}),l=d0(s,zp(e));return a&&!t?null:pe.cloneElement(e,{ref:l})}function eP(e,t,r){return e?V.jsx(PIe,Object.assign({},r,{component:e})):t?V.jsx(kIe,Object.assign({},r,{transition:t})):V.jsx(RIe,Object.assign({},r))}const NIe=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function LIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}let lO;function MIe(e){return lO||(lO=new Ik({ownerDocument:e==null?void 0:e.document})),lO}function $Ie(e){const t=c0(),r=e||MIe(t),n=pe.useRef({dialog:null,backdrop:null});return Object.assign(n.current,{add:()=>r.add(n.current),remove:()=>r.remove(n.current),isTopModal:()=>r.isTopModal(n.current),setDialogRef:pe.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:pe.useCallback(i=>{n.current.backdrop=i},[])})}const xoe=pe.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:a,children:o,backdrop:s=!0,keyboard:l=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:h,runTransition:v,backdropTransition:g,runBackdropTransition:S,autoFocus:E=!0,enforceFocus:y=!0,restoreFocus:w=!0,restoreFocusOptions:b,renderDialog:A,renderBackdrop:R=_e=>V.jsx("div",Object.assign({},_e)),manager:C,container:O,onShow:m,onHide:D=()=>{},onExit:k,onExited:q,onExiting:j,onEnter:W,onEntering:K,onEntered:X}=e,Q=LIe(e,NIe);const J=c0(),re=ZI(O),$=$Ie(C),N=jae(),U=Uae(r),[ee,te]=pe.useState(!r),de=pe.useRef(null);pe.useImperativeHandle(t,()=>$,[$]),Oh&&!U&&r&&(de.current=sO(J==null?void 0:J.document)),r&&ee&&te(!1);const Se=Ya(()=>{if($.add(),L.current=rl(document,"keydown",P),B.current=rl(document,"focus",()=>setTimeout(ue),!0),m&&m(),E){var _e,Oe;const Re=sO((_e=(Oe=$.dialog)==null?void 0:Oe.ownerDocument)!=null?_e:J==null?void 0:J.document);$.dialog&&Re&&!ap($.dialog,Re)&&(de.current=Re,$.dialog.focus())}}),xe=Ya(()=>{if($.remove(),L.current==null||L.current(),B.current==null||B.current(),w){var _e;(_e=de.current)==null||_e.focus==null||_e.focus(b),de.current=null}});pe.useEffect(()=>{!r||!re||Se()},[r,re,Se]),pe.useEffect(()=>{ee&&xe()},[ee,xe]),bIe(()=>{xe()});const ue=Ya(()=>{if(!y||!N()||!$.isTopModal())return;const _e=sO(J==null?void 0:J.document);$.dialog&&_e&&!ap($.dialog,_e)&&$.dialog.focus()}),I=Ya(_e=>{_e.target===_e.currentTarget&&(c==null||c(_e),s===!0&&D())}),P=Ya(_e=>{l&&$ae(_e)&&$.isTopModal()&&(d==null||d(_e),_e.defaultPrevented||D())}),B=pe.useRef(),L=pe.useRef(),H=(..._e)=>{te(!0),q==null||q(..._e)};if(!re)return null;const ne=Object.assign({role:n,ref:$.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},Q,{style:a,className:i,tabIndex:-1});let ce=A?A(ne):V.jsx("div",Object.assign({},ne,{children:pe.cloneElement(o,{role:"document"})}));ce=eP(h,v,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:k,onExiting:j,onExited:H,onEnter:W,onEntering:K,onEntered:X,children:ce});let we=null;return s&&(we=R({ref:$.setBackdropRef,onClick:I}),we=eP(g,S,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:we})),V.jsx(V.Fragment,{children:Yc.createPortal(V.jsxs(V.Fragment,{children:[we,ce]}),re)})});xoe.displayName="Modal";const FIe=Object.assign(xoe,{Manager:Ik}),Sd={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class jIe extends Ik{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,ef(r,{[t]:`${parseFloat(ef(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],ef(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(kae(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Gl(r,Sd.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Gl(r,Sd.STICKY_CONTENT).forEach(a=>this.adjustAndStore(i,a,-t.scrollBarWidth)),Gl(r,Sd.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(i,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();Nae(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Gl(r,Sd.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Gl(r,Sd.STICKY_CONTENT).forEach(a=>this.restore(i,a)),Gl(r,Sd.NAVBAR_TOGGLER).forEach(a=>this.restore(i,a))}}let cO;function UIe(e){return cO||(cO=new jIe(e)),cO}const Coe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Cn(t,"modal-body"),V.jsx(r,{ref:i,className:cn(e,t),...n})));Coe.displayName="ModalBody";const Aoe=pe.createContext({onHide(){}}),Pk=pe.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:s,...l},c)=>{e=Cn(e,"modal");const d=`${e}-dialog`,h=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return V.jsx("div",{...l,ref:c,className:cn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,s&&`${d}-scrollable`,a&&h),children:V.jsx("div",{className:cn(`${e}-content`,r),children:o})})});Pk.displayName="ModalDialog";const Ooe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Cn(t,"modal-footer"),V.jsx(r,{ref:i,className:cn(e,t),...n})));Ooe.displayName="ModalFooter";const qIe=pe.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...a},o)=>{const s=pe.useContext(Aoe),l=np(()=>{s==null||s.onHide(),n==null||n()});return V.jsxs("div",{ref:o,...a,children:[i,r&&V.jsx(bk,{"aria-label":e,variant:t,onClick:l})]})}),Ioe=pe.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},a)=>(e=Cn(e,"modal-header"),V.jsx(qIe,{ref:a,...i,className:cn(t,e),closeLabel:r,closeButton:n})));Ioe.displayName="ModalHeader";const VIe=yOe("h4"),Poe=pe.forwardRef(({className:e,bsPrefix:t,as:r=VIe,...n},i)=>(t=Cn(t,"modal-title"),V.jsx(r,{ref:i,className:cn(e,t),...n})));Poe.displayName="ModalTitle";function BIe(e){return V.jsx(ip,{...e,timeout:null})}function HIe(e){return V.jsx(ip,{...e,timeout:null})}const Doe=pe.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:a,dialogAs:o=Pk,"data-bs-theme":s,"aria-labelledby":l,"aria-describedby":c,"aria-label":d,show:h=!1,animation:v=!0,backdrop:g=!0,keyboard:S=!0,onEscapeKeyDown:E,onShow:y,onHide:w,container:b,autoFocus:A=!0,enforceFocus:R=!0,restoreFocus:C=!0,restoreFocusOptions:O,onEntered:m,onExit:D,onExiting:k,onEnter:q,onEntering:j,onExited:W,backdropClassName:K,manager:X,...Q},J)=>{const[re,$]=pe.useState({}),[N,U]=pe.useState(!1),ee=pe.useRef(!1),te=pe.useRef(!1),de=pe.useRef(null),[Se,xe]=EIe(),ue=Ih(J,xe),I=np(w),P=s0();e=Cn(e,"modal");const B=pe.useMemo(()=>({onHide:I}),[I]);function L(){return X||UIe({isRTL:P})}function H(Ge){if(!Oh)return;const ct=L().getScrollbarWidth()>0,Ut=Ge.scrollHeight>Ah(Ge).documentElement.clientHeight;$({paddingRight:ct&&!Ut?zQ():void 0,paddingLeft:!ct&&Ut?zQ():void 0})}const ne=np(()=>{Se&&H(Se.dialog)});Bae(()=>{KI(window,"resize",ne),de.current==null||de.current()});const ce=()=>{ee.current=!0},we=Ge=>{ee.current&&Se&&Ge.target===Se.dialog&&(te.current=!0),ee.current=!1},_e=()=>{U(!0),de.current=Fae(Se.dialog,()=>{U(!1)})},Oe=Ge=>{Ge.target===Ge.currentTarget&&_e()},Re=Ge=>{if(g==="static"){Oe(Ge);return}if(te.current||Ge.target!==Ge.currentTarget){te.current=!1;return}w==null||w()},Ie=Ge=>{S?E==null||E(Ge):(Ge.preventDefault(),g==="static"&&_e())},$e=(Ge,ct)=>{Ge&&H(Ge),q==null||q(Ge,ct)},me=Ge=>{de.current==null||de.current(),D==null||D(Ge)},be=(Ge,ct)=>{j==null||j(Ge,ct),Ek(window,"resize",ne)},Te=Ge=>{Ge&&(Ge.style.display=""),W==null||W(Ge),KI(window,"resize",ne)},Ne=pe.useCallback(Ge=>V.jsx("div",{...Ge,className:cn(`${e}-backdrop`,K,!v&&"show")}),[v,K,e]),Ve={...r,...re};Ve.display="block";const qe=Ge=>V.jsx("div",{role:"dialog",...Ge,style:Ve,className:cn(t,e,N&&`${e}-static`,!v&&"show"),onClick:g?Re:void 0,onMouseUp:we,"data-bs-theme":s,"aria-label":d,"aria-labelledby":l,"aria-describedby":c,children:V.jsx(o,{...Q,onMouseDown:ce,className:n,contentClassName:i,children:a})});return V.jsx(Aoe.Provider,{value:B,children:V.jsx(FIe,{show:h,ref:ue,backdrop:g,container:b,keyboard:!0,autoFocus:A,enforceFocus:R,restoreFocus:C,restoreFocusOptions:O,onEscapeKeyDown:Ie,onShow:y,onHide:w,onEnter:$e,onEntering:be,onEntered:m,onExit:me,onExiting:k,onExited:Te,manager:L(),transition:v?BIe:void 0,backdropTransition:v?HIe:void 0,renderBackdrop:Ne,renderDialog:qe})})});Doe.displayName="Modal";const dm=Object.assign(Doe,{Body:Coe,Header:Ioe,Title:Poe,Footer:Ooe,Dialog:Pk,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),zIe=()=>{};function WIe(e,t,{disabled:r,clickTrigger:n}={}){const i=t||zIe;Gae(e,i,{disabled:r,clickTrigger:n});const a=Ya(o=>{$ae(o)&&i(o)});pe.useEffect(()=>{if(r||e==null)return;const o=Ah(Gm(e));let s=(o.defaultView||window).event;const l=rl(o,"keyup",c=>{if(c===s){s=void 0;return}a(c)});return()=>{l()}},[e,r,a])}const koe=pe.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:s,runTransition:l}=e,[c,d]=XI(),[h,v]=XI(),g=d0(d,t),S=ZI(e.container),E=ZI(e.target),[y,w]=pe.useState(!e.show),b=Wae(E,c,Yae({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:h,popperConfig:o}));e.show&&y&&w(!1);const A=(...j)=>{w(!0),e.onExited&&e.onExited(...j)},R=e.show||!y;if(WIe(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!R)return null;const{onExit:C,onExiting:O,onEnter:m,onEntering:D,onEntered:k}=e;let q=e.children(Object.assign({},b.attributes.popper,{style:b.styles.popper,ref:g}),{popper:b,placement:i,show:!!e.show,arrowProps:Object.assign({},b.attributes.arrow,{style:b.styles.arrow,ref:v})});return q=eP(s,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:q,onExit:C,onExiting:O,onExited:A,onEnter:m,onEntering:D,onEntered:k}),S?Yc.createPortal(q,S):null});koe.displayName="Overlay";const Noe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Cn(t,"popover-header"),V.jsx(r,{ref:i,className:cn(e,t),...n})));Noe.displayName="PopoverHeader";const Dk=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Cn(t,"popover-body"),V.jsx(r,{ref:i,className:cn(e,t),...n})));Dk.displayName="PopoverBody";function Loe(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Moe(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const GIe=pe.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:s,popper:l,show:c,...d},h)=>{const v=Cn(e,"popover"),g=s0(),[S]=(t==null?void 0:t.split("-"))||[],E=Loe(S,g);let y=n;return c&&!s&&(y={...n,...Moe(l==null?void 0:l.strategy)}),V.jsxs("div",{ref:h,role:"tooltip",style:y,"x-placement":S,className:cn(r,v,S&&`bs-popover-${E}`),...d,children:[V.jsx("div",{className:"popover-arrow",...o}),a?V.jsx(Dk,{children:i}):i]})}),YIe=Object.assign(GIe,{Header:Noe,Body:Dk,POPPER_OFFSET:[0,8]}),$oe=pe.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:s,show:l,...c},d)=>{e=Cn(e,"tooltip");const h=s0(),[v]=(t==null?void 0:t.split("-"))||[],g=Loe(v,h);let S=n;return l&&!o&&(S={...n,...Moe(s==null?void 0:s.strategy)}),V.jsxs("div",{ref:d,style:S,role:"tooltip","x-placement":v,className:cn(r,e,`bs-tooltip-${g}`),...c,children:[V.jsx("div",{className:"tooltip-arrow",...a}),V.jsx("div",{className:`${e}-inner`,children:i})]})});$oe.displayName="Tooltip";const wy=Object.assign($oe,{TOOLTIP_OFFSET:[0,6]});function KIe(e){const t=pe.useRef(null),r=Cn(void 0,"popover"),n=Cn(void 0,"tooltip"),i=pe.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(HI(t.current,r))return YIe.POPPER_OFFSET;if(HI(t.current,n))return wy.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function XIe(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(_y(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(_y(i)))}const Foe=pe.forwardRef(({children:e,transition:t=ip,popperConfig:r={},rootClose:n=!1,placement:i="top",show:a=!1,...o},s)=>{const l=pe.useRef({}),[c,d]=pe.useState(null),[h,v]=KIe(o.offset),g=Ih(s,h),S=t===!0?ip:t||void 0,E=np(y=>{d(y),r==null||r.onFirstUpdate==null||r.onFirstUpdate(y)});return coe(()=>{c&&o.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[c,o.target]),pe.useEffect(()=>{a||d(null)},[a]),V.jsx(koe,{...o,ref:g,popperConfig:{...r,modifiers:v.concat(r.modifiers||[]),onFirstUpdate:E},transition:S,rootClose:n,placement:i,show:a,children:(y,{arrowProps:w,popper:b,show:A})=>{var R;XIe(y,w);const C=b==null?void 0:b.placement,O=Object.assign(l.current,{state:b==null?void 0:b.state,scheduleUpdate:b==null?void 0:b.update,placement:C,outOfBoundaries:(b==null||(R=b.state)==null||(R=R.modifiersData.hide)==null?void 0:R.isReferenceHidden)||!1,strategy:r.strategy}),m=!!c;return typeof e=="function"?e({...y,placement:C,show:A,...!t&&A&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:m}):pe.cloneElement(e,{...y,placement:C,arrowProps:w,popper:O,hasDoneInitialMeasure:m,className:cn(e.props.className,!t&&A&&"show"),style:{...e.props.style,...y.style}})}})});Foe.displayName="Overlay";function QIe(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function GQ(e,t,r){const[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==i)&&!ap(i,a)&&e(...t)}Kr.oneOf(["click","hover","focus"]);const tP=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:s,placement:l,flip:c=l&&l.indexOf("auto")!==-1,...d})=>{const h=pe.useRef(null),v=Ih(h,zp(r)),g=kOe(),S=pe.useRef(""),[E,y]=Mae(i,a,o),w=QIe(s),{onFocus:b,onBlur:A,onClick:R}=typeof r!="function"?pe.Children.only(r).props:{},C=Q=>{v(_y(Q))},O=pe.useCallback(()=>{if(g.clear(),S.current="show",!w.show){y(!0);return}g.set(()=>{S.current==="show"&&y(!0)},w.show)},[w.show,y,g]),m=pe.useCallback(()=>{if(g.clear(),S.current="hide",!w.hide){y(!1);return}g.set(()=>{S.current==="hide"&&y(!1)},w.hide)},[w.hide,y,g]),D=pe.useCallback((...Q)=>{O(),b==null||b(...Q)},[O,b]),k=pe.useCallback((...Q)=>{m(),A==null||A(...Q)},[m,A]),q=pe.useCallback((...Q)=>{y(!E),R==null||R(...Q)},[R,y,E]),j=pe.useCallback((...Q)=>{GQ(O,Q,"fromElement")},[O]),W=pe.useCallback((...Q)=>{GQ(m,Q,"toElement")},[m]),K=e==null?[]:[].concat(e),X={ref:C};return K.indexOf("click")!==-1&&(X.onClick=q),K.indexOf("focus")!==-1&&(X.onFocus=D,X.onBlur=k),K.indexOf("hover")!==-1&&(X.onMouseOver=j,X.onMouseOut=W),V.jsxs(V.Fragment,{children:[typeof r=="function"?r(X):pe.cloneElement(r,X),V.jsx(Foe,{...d,show:E,onHide:m,flip:c,placement:l,popperConfig:n,target:h.current,children:t})]})},Gp=pe.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:a,...o},s)=>{e=Cn(e,"spinner");const l=`${e}-${r}`;return V.jsx(i,{ref:s,...o,className:cn(a,l,n&&`${l}-${n}`,t&&`text-${t}`)})});Gp.displayName="Spinner";var hm={},YQ;function JIe(){if(YQ)return hm;YQ=1;var e=Bie();return hm.createRoot=e.createRoot,hm.hydrateRoot=e.hydrateRoot,hm}var kk=JIe();const Nk={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}};function ZIe(e){const t=pe.useMemo(()=>`${e.type}-${Nk.getRandomInt()}`,[]);return e.title?e.spanHack?V.jsx(tP,{placement:e.placement,overlay:V.jsx(wy,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:V.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):V.jsx(tP,{placement:e.placement,overlay:V.jsx(wy,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:V.jsx(pe.Fragment,{children:e.children},t)}):V.jsx(V.Fragment,{children:e.children})}function ePe(e){const[t,r]=pe.useState();return pe.useEffect(()=>{const n=document.createElement("div");kk.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),V.jsx(tP,{placement:"top",overlay:V.jsx(wy,{id:e.id,children:V.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:V.jsx("div",{children:e.children})})}tc.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function tc(e){return e.type==="text"?V.jsx(ZIe,{...e,type:"text"}):e.type==="markup"?V.jsx(ePe,{...e,type:"markup"}):V.jsx(V.Fragment,{})}var Fl={},Mc={};/**
134
- * @license React
135
- * react-dom-server-legacy.browser.production.min.js
136
- *
137
- * Copyright (c) Facebook, Inc. and its affiliates.
138
- *
139
- * This source code is licensed under the MIT license found in the
140
- * LICENSE file in the root directory of this source tree.
141
- */var KQ;function tPe(){if(KQ)return Mc;KQ=1;var e=Ho();function t(z){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+z,Ee=1;Ee<arguments.length;Ee++)se+="&args[]="+encodeURIComponent(arguments[Ee]);return"Minified React error #"+z+"; visit "+se+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(z,se){return r&&(r=!1,se[0]!=="<"&&z.push("<!-- -->")),se==="<!-- -->"?r=!0:z.push(se)}var i=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},s={};function l(z){return i.call(s,z)?!0:i.call(o,z)?!1:a.test(z)?s[z]=!0:(o[z]=!0,!1)}function c(z,se,Ee,je,vt,it,At){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=je,this.attributeNamespace=vt,this.mustUseProperty=Ee,this.propertyName=z,this.type=se,this.sanitizeURL=it,this.removeEmptyString=At}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(z){d[z]=new c(z,0,!1,z,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(z){var se=z[0];d[se]=new c(se,1,!1,z[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(z){d[z]=new c(z,2,!1,z.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(z){d[z]=new c(z,2,!1,z,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(z){d[z]=new c(z,3,!1,z.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(z){d[z]=new c(z,3,!0,z,null,!1,!1)}),["capture","download"].forEach(function(z){d[z]=new c(z,4,!1,z,null,!1,!1)}),["cols","rows","size","span"].forEach(function(z){d[z]=new c(z,6,!1,z,null,!1,!1)}),["rowSpan","start"].forEach(function(z){d[z]=new c(z,5,!1,z.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function v(z){return z[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(z){var se=z.replace(h,v);d[se]=new c(se,1,!1,z,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(z){var se=z.replace(h,v);d[se]=new c(se,1,!1,z,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(z){var se=z.replace(h,v);d[se]=new c(se,1,!1,z,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(z){d[z]=new c(z,1,!1,z.toLowerCase(),null,!1,!1)}),d.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(z){d[z]=new c(z,1,!1,z.toLowerCase(),null,!0,!0)});var g={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(z){S.forEach(function(se){se=se+z.charAt(0).toUpperCase()+z.substring(1),g[se]=g[z]})});var E=/["'&<>]/;function y(z){if(typeof z=="boolean"||typeof z=="number")return""+z;z=""+z;var se=E.exec(z);if(se){var Ee="",je,vt=0;for(je=se.index;je<z.length;je++){switch(z.charCodeAt(je)){case 34:se="&quot;";break;case 38:se="&amp;";break;case 39:se="&#x27;";break;case 60:se="&lt;";break;case 62:se="&gt;";break;default:continue}vt!==je&&(Ee+=z.substring(vt,je)),vt=je+1,Ee+=se}z=vt!==je?Ee+z.substring(vt,je):Ee}return z}var w=/([A-Z])/g,b=/^ms-/,A=Array.isArray;function R(z,se){return{insertionMode:z,selectedValue:se}}function C(z,se,Ee){switch(se){case"select":return R(1,Ee.value!=null?Ee.value:Ee.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=z.insertionMode||z.insertionMode===0?R(1,null):z}function O(z,se){se!==""&&z.push(y(se),"<!-- -->")}var m=new Map;function D(z,se,Ee){if(typeof Ee!="object")throw Error(t(62));se=!0;for(var je in Ee)if(i.call(Ee,je)){var vt=Ee[je];if(vt!=null&&typeof vt!="boolean"&&vt!==""){if(je.indexOf("--")===0){var it=y(je);vt=y((""+vt).trim())}else{it=je;var At=m.get(it);At!==void 0||(At=y(it.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),m.set(it,At)),it=At,vt=typeof vt=="number"?vt===0||i.call(g,je)?""+vt:vt+"px":y((""+vt).trim())}se?(se=!1,z.push(' style="',it,":",vt)):z.push(";",it,":",vt)}}se||z.push('"')}function k(z,se,Ee,je){switch(Ee){case"style":D(z,se,je);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Ee.length)||Ee[0]!=="o"&&Ee[0]!=="O"||Ee[1]!=="n"&&Ee[1]!=="N"){if(se=d.hasOwnProperty(Ee)?d[Ee]:null,se!==null){switch(typeof je){case"function":case"symbol":return;case"boolean":if(!se.acceptsBooleans)return}switch(Ee=se.attributeName,se.type){case 3:je&&z.push(" ",Ee,'=""');break;case 4:je===!0?z.push(" ",Ee,'=""'):je!==!1&&z.push(" ",Ee,'="',y(je),'"');break;case 5:isNaN(je)||z.push(" ",Ee,'="',y(je),'"');break;case 6:!isNaN(je)&&1<=je&&z.push(" ",Ee,'="',y(je),'"');break;default:se.sanitizeURL&&(je=""+je),z.push(" ",Ee,'="',y(je),'"')}}else if(l(Ee)){switch(typeof je){case"function":case"symbol":return;case"boolean":if(se=Ee.toLowerCase().slice(0,5),se!=="data-"&&se!=="aria-")return}z.push(" ",Ee,'="',y(je),'"')}}}function q(z,se,Ee){if(se!=null){if(Ee!=null)throw Error(t(60));if(typeof se!="object"||!("__html"in se))throw Error(t(61));se=se.__html,se!=null&&z.push(""+se)}}function j(z){var se="";return e.Children.forEach(z,function(Ee){Ee!=null&&(se+=Ee)}),se}function W(z,se,Ee,je){z.push(Q(Ee));var vt=Ee=null,it;for(it in se)if(i.call(se,it)){var At=se[it];if(At!=null)switch(it){case"children":Ee=At;break;case"dangerouslySetInnerHTML":vt=At;break;default:k(z,je,it,At)}}return z.push(">"),q(z,vt,Ee),typeof Ee=="string"?(z.push(y(Ee)),null):Ee}var K=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X=new Map;function Q(z){var se=X.get(z);if(se===void 0){if(!K.test(z))throw Error(t(65,z));se="<"+z,X.set(z,se)}return se}function J(z,se,Ee,je,vt){switch(se){case"select":z.push(Q("select"));var it=null,At=null;for(Ar in Ee)if(i.call(Ee,Ar)){var Bt=Ee[Ar];if(Bt!=null)switch(Ar){case"children":it=Bt;break;case"dangerouslySetInnerHTML":At=Bt;break;case"defaultValue":case"value":break;default:k(z,je,Ar,Bt)}}return z.push(">"),q(z,At,it),it;case"option":At=vt.selectedValue,z.push(Q("option"));var Jt=Bt=null,Er=null,Ar=null;for(it in Ee)if(i.call(Ee,it)&&(se=Ee[it],se!=null))switch(it){case"children":Bt=se;break;case"selected":Er=se;break;case"dangerouslySetInnerHTML":Ar=se;break;case"value":Jt=se;default:k(z,je,it,se)}if(At!=null)if(Ee=Jt!==null?""+Jt:j(Bt),A(At)){for(je=0;je<At.length;je++)if(""+At[je]===Ee){z.push(' selected=""');break}}else""+At===Ee&&z.push(' selected=""');else Er&&z.push(' selected=""');return z.push(">"),q(z,Ar,Bt),Bt;case"textarea":z.push(Q("textarea")),Ar=At=it=null;for(Bt in Ee)if(i.call(Ee,Bt)&&(Jt=Ee[Bt],Jt!=null))switch(Bt){case"children":Ar=Jt;break;case"value":it=Jt;break;case"defaultValue":At=Jt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:k(z,je,Bt,Jt)}if(it===null&&At!==null&&(it=At),z.push(">"),Ar!=null){if(it!=null)throw Error(t(92));if(A(Ar)&&1<Ar.length)throw Error(t(93));it=""+Ar}return typeof it=="string"&&it[0]===`
142
- `&&z.push(`
143
- `),it!==null&&z.push(y(""+it)),null;case"input":z.push(Q("input")),Jt=Ar=Bt=it=null;for(At in Ee)if(i.call(Ee,At)&&(Er=Ee[At],Er!=null))switch(At){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Jt=Er;break;case"defaultValue":Bt=Er;break;case"checked":Ar=Er;break;case"value":it=Er;break;default:k(z,je,At,Er)}return Ar!==null?k(z,je,"checked",Ar):Jt!==null&&k(z,je,"checked",Jt),it!==null?k(z,je,"value",it):Bt!==null&&k(z,je,"value",Bt),z.push("/>"),null;case"menuitem":z.push(Q("menuitem"));for(var $n in Ee)if(i.call(Ee,$n)&&(it=Ee[$n],it!=null))switch($n){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:k(z,je,$n,it)}return z.push(">"),null;case"listing":case"pre":z.push(Q(se)),At=it=null;for(Jt in Ee)if(i.call(Ee,Jt)&&(Bt=Ee[Jt],Bt!=null))switch(Jt){case"children":it=Bt;break;case"dangerouslySetInnerHTML":At=Bt;break;default:k(z,je,Jt,Bt)}if(z.push(">"),At!=null){if(it!=null)throw Error(t(60));if(typeof At!="object"||!("__html"in At))throw Error(t(61));Ee=At.__html,Ee!=null&&(typeof Ee=="string"&&0<Ee.length&&Ee[0]===`
144
- `?z.push(`
145
- `,Ee):z.push(""+Ee))}return typeof it=="string"&&it[0]===`
146
- `&&z.push(`
147
- `),it;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":z.push(Q(se));for(var ki in Ee)if(i.call(Ee,ki)&&(it=Ee[ki],it!=null))switch(ki){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,se));default:k(z,je,ki,it)}return z.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return W(z,Ee,se,je);case"html":return vt.insertionMode===0&&z.push("<!DOCTYPE html>"),W(z,Ee,se,je);default:if(se.indexOf("-")===-1&&typeof Ee.is!="string")return W(z,Ee,se,je);z.push(Q(se)),At=it=null;for(Er in Ee)if(i.call(Ee,Er)&&(Bt=Ee[Er],Bt!=null))switch(Er){case"children":it=Bt;break;case"dangerouslySetInnerHTML":At=Bt;break;case"style":D(z,je,Bt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(Er)&&typeof Bt!="function"&&typeof Bt!="symbol"&&z.push(" ",Er,'="',y(Bt),'"')}return z.push(">"),q(z,At,it),it}}function re(z,se,Ee){if(n(z,'<!--$?--><template id="'),Ee===null)throw Error(t(395));return n(z,Ee),n(z,'"></template>')}function $(z,se,Ee,je){switch(Ee.insertionMode){case 0:case 1:return n(z,'<div hidden id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 2:return n(z,'<svg aria-hidden="true" style="display:none" id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 3:return n(z,'<math aria-hidden="true" style="display:none" id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 4:return n(z,'<table hidden id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 5:return n(z,'<table hidden><tbody id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 6:return n(z,'<table hidden><tr id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');case 7:return n(z,'<table hidden><colgroup id="'),n(z,se.segmentPrefix),se=je.toString(16),n(z,se),n(z,'">');default:throw Error(t(397))}}function N(z,se){switch(se.insertionMode){case 0:case 1:return n(z,"</div>");case 2:return n(z,"</svg>");case 3:return n(z,"</math>");case 4:return n(z,"</table>");case 5:return n(z,"</tbody></table>");case 6:return n(z,"</tr></table>");case 7:return n(z,"</colgroup></table>");default:throw Error(t(397))}}function U(z,se){return se=se===void 0?"":se,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:se+"P:",segmentPrefix:se+"S:",boundaryPrefix:se+"B:",idPrefix:se,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:z}}var ee=Object.assign,te=Symbol.for("react.element"),de=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),P=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),we=Symbol.for("react.scope"),_e=Symbol.for("react.debug_trace_mode"),Oe=Symbol.for("react.legacy_hidden"),Re=Symbol.for("react.default_value"),Ie=Symbol.iterator;function $e(z){if(z==null)return null;if(typeof z=="function")return z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case Se:return"Fragment";case de:return"Portal";case ue:return"Profiler";case xe:return"StrictMode";case L:return"Suspense";case H:return"SuspenseList"}if(typeof z=="object")switch(z.$$typeof){case P:return(z.displayName||"Context")+".Consumer";case I:return(z._context.displayName||"Context")+".Provider";case B:var se=z.render;return z=z.displayName,z||(z=se.displayName||se.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case ne:return se=z.displayName||null,se!==null?se:$e(z.type)||"Memo";case ce:se=z._payload,z=z._init;try{return $e(z(se))}catch{}}return null}var me={};function be(z,se){if(z=z.contextTypes,!z)return me;var Ee={},je;for(je in z)Ee[je]=se[je];return Ee}var Te=null;function Ne(z,se){if(z!==se){z.context._currentValue2=z.parentValue,z=z.parent;var Ee=se.parent;if(z===null){if(Ee!==null)throw Error(t(401))}else{if(Ee===null)throw Error(t(401));Ne(z,Ee)}se.context._currentValue2=se.value}}function Ve(z){z.context._currentValue2=z.parentValue,z=z.parent,z!==null&&Ve(z)}function qe(z){var se=z.parent;se!==null&&qe(se),z.context._currentValue2=z.value}function Ge(z,se){if(z.context._currentValue2=z.parentValue,z=z.parent,z===null)throw Error(t(402));z.depth===se.depth?Ne(z,se):Ge(z,se)}function ct(z,se){var Ee=se.parent;if(Ee===null)throw Error(t(402));z.depth===Ee.depth?Ne(z,Ee):ct(z,Ee),se.context._currentValue2=se.value}function Ut(z){var se=Te;se!==z&&(se===null?qe(z):z===null?Ve(se):se.depth===z.depth?Ne(se,z):se.depth>z.depth?Ge(se,z):ct(se,z),Te=z)}var Wt={isMounted:function(){return!1},enqueueSetState:function(z,se){z=z._reactInternals,z.queue!==null&&z.queue.push(se)},enqueueReplaceState:function(z,se){z=z._reactInternals,z.replace=!0,z.queue=[se]},enqueueForceUpdate:function(){}};function Je(z,se,Ee,je){var vt=z.state!==void 0?z.state:null;z.updater=Wt,z.props=Ee,z.state=vt;var it={queue:[],replace:!1};z._reactInternals=it;var At=se.contextType;if(z.context=typeof At=="object"&&At!==null?At._currentValue2:je,At=se.getDerivedStateFromProps,typeof At=="function"&&(At=At(Ee,vt),vt=At==null?vt:ee({},vt,At),z.state=vt),typeof se.getDerivedStateFromProps!="function"&&typeof z.getSnapshotBeforeUpdate!="function"&&(typeof z.UNSAFE_componentWillMount=="function"||typeof z.componentWillMount=="function"))if(se=z.state,typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount(),se!==z.state&&Wt.enqueueReplaceState(z,z.state,null),it.queue!==null&&0<it.queue.length)if(se=it.queue,At=it.replace,it.queue=null,it.replace=!1,At&&se.length===1)z.state=se[0];else{for(it=At?se[0]:z.state,vt=!0,At=At?1:0;At<se.length;At++){var Bt=se[At];Bt=typeof Bt=="function"?Bt.call(z,it,Ee,je):Bt,Bt!=null&&(vt?(vt=!1,it=ee({},it,Bt)):ee(it,Bt))}z.state=it}else it.queue=null}var Rt={id:1,overflow:""};function _t(z,se,Ee){var je=z.id;z=z.overflow;var vt=32-st(je)-1;je&=~(1<<vt),Ee+=1;var it=32-st(se)+vt;if(30<it){var At=vt-vt%5;return it=(je&(1<<At)-1).toString(32),je>>=At,vt-=At,{id:1<<32-st(se)+vt|Ee<<vt|je,overflow:it+z}}return{id:1<<it|Ee<<vt|je,overflow:z}}var st=Math.clz32?Math.clz32:Yt,rt=Math.log,dt=Math.LN2;function Yt(z){return z>>>=0,z===0?32:31-(rt(z)/dt|0)|0}function Lt(z,se){return z===se&&(z!==0||1/z===1/se)||z!==z&&se!==se}var Ce=typeof Object.is=="function"?Object.is:Lt,Ze=null,ut=null,wt=null,Nt=null,nr=!1,mr=!1,ir=0,Sr=null,jr=0;function Wr(){if(Ze===null)throw Error(t(321));return Ze}function Hn(){if(0<jr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function zn(){return Nt===null?wt===null?(nr=!1,wt=Nt=Hn()):(nr=!0,Nt=wt):Nt.next===null?(nr=!1,Nt=Nt.next=Hn()):(nr=!0,Nt=Nt.next),Nt}function Jn(){ut=Ze=null,mr=!1,wt=null,jr=0,Nt=Sr=null}function bn(z,se){return typeof se=="function"?se(z):se}function ai(z,se,Ee){if(Ze=Wr(),Nt=zn(),nr){var je=Nt.queue;if(se=je.dispatch,Sr!==null&&(Ee=Sr.get(je),Ee!==void 0)){Sr.delete(je),je=Nt.memoizedState;do je=z(je,Ee.action),Ee=Ee.next;while(Ee!==null);return Nt.memoizedState=je,[je,se]}return[Nt.memoizedState,se]}return z=z===bn?typeof se=="function"?se():se:Ee!==void 0?Ee(se):se,Nt.memoizedState=z,z=Nt.queue={last:null,dispatch:null},z=z.dispatch=Ci.bind(null,Ze,z),[Nt.memoizedState,z]}function fi(z,se){if(Ze=Wr(),Nt=zn(),se=se===void 0?null:se,Nt!==null){var Ee=Nt.memoizedState;if(Ee!==null&&se!==null){var je=Ee[1];e:if(je===null)je=!1;else{for(var vt=0;vt<je.length&&vt<se.length;vt++)if(!Ce(se[vt],je[vt])){je=!1;break e}je=!0}if(je)return Ee[0]}}return z=z(),Nt.memoizedState=[z,se],z}function Ci(z,se,Ee){if(25<=jr)throw Error(t(301));if(z===Ze)if(mr=!0,z={action:Ee,next:null},Sr===null&&(Sr=new Map),Ee=Sr.get(se),Ee===void 0)Sr.set(se,z);else{for(se=Ee;se.next!==null;)se=se.next;se.next=z}}function _i(){throw Error(t(394))}function Vi(){}var Gi={readContext:function(z){return z._currentValue2},useContext:function(z){return Wr(),z._currentValue2},useMemo:fi,useReducer:ai,useRef:function(z){Ze=Wr(),Nt=zn();var se=Nt.memoizedState;return se===null?(z={current:z},Nt.memoizedState=z):se},useState:function(z){return ai(bn,z)},useInsertionEffect:Vi,useLayoutEffect:function(){},useCallback:function(z,se){return fi(function(){return z},se)},useImperativeHandle:Vi,useEffect:Vi,useDebugValue:Vi,useDeferredValue:function(z){return Wr(),z},useTransition:function(){return Wr(),[!1,_i]},useId:function(){var z=ut.treeContext,se=z.overflow;z=z.id,z=(z&~(1<<32-st(z)-1)).toString(32)+se;var Ee=Pn;if(Ee===null)throw Error(t(404));return se=ir++,z=":"+Ee.idPrefix+"R"+z,0<se&&(z+="H"+se.toString(32)),z+":"},useMutableSource:function(z,se){return Wr(),se(z._source)},useSyncExternalStore:function(z,se,Ee){if(Ee===void 0)throw Error(t(407));return Ee()}},Pn=null,oi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Di(z){console.error(z)}function Ai(){}function ot(z,se,Ee,je,vt,it,At,Bt,Jt){var Er=[],Ar=new Set;return se={destination:null,responseState:se,progressiveChunkSize:je===void 0?12800:je,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ar,pingedTasks:Er,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:vt===void 0?Di:vt,onAllReady:Ai,onShellReady:At===void 0?Ai:At,onShellError:Ai,onFatalError:Ai},Ee=gt(se,0,null,Ee),Ee.parentFlushed=!0,z=Dt(se,z,null,Ee,Ar,me,null,Rt),Er.push(z),se}function Dt(z,se,Ee,je,vt,it,At,Bt){z.allPendingTasks++,Ee===null?z.pendingRootTasks++:Ee.pendingTasks++;var Jt={node:se,ping:function(){var Er=z.pingedTasks;Er.push(Jt),Er.length===1&&Qr(z)},blockedBoundary:Ee,blockedSegment:je,abortSet:vt,legacyContext:it,context:At,treeContext:Bt};return vt.add(Jt),Jt}function gt(z,se,Ee,je){return{status:0,id:-1,index:se,parentFlushed:!1,chunks:[],children:[],formatContext:je,boundary:Ee}}function et(z,se){z=z.onError,z(se)}function fe(z,se){var Ee=z.onShellError;Ee(se),Ee=z.onFatalError,Ee(se),z.destination!==null?(z.status=2,z.destination.destroy(se)):(z.status=1,z.fatalError=se)}function nt(z,se,Ee,je,vt){for(Ze={},ut=se,ir=0,z=Ee(je,vt);mr;)mr=!1,ir=0,jr+=1,Nt=null,z=Ee(je,vt);return Jn(),z}function ze(z,se,Ee,je){var vt=Ee.render(),it=je.childContextTypes;if(it!=null){var At=se.legacyContext;if(typeof Ee.getChildContext!="function")je=At;else{Ee=Ee.getChildContext();for(var Bt in Ee)if(!(Bt in it))throw Error(t(108,$e(je)||"Unknown",Bt));je=ee({},At,Ee)}se.legacyContext=je,zt(z,se,vt),se.legacyContext=At}else zt(z,se,vt)}function Tt(z,se){if(z&&z.defaultProps){se=ee({},se),z=z.defaultProps;for(var Ee in z)se[Ee]===void 0&&(se[Ee]=z[Ee]);return se}return se}function yt(z,se,Ee,je,vt){if(typeof Ee=="function")if(Ee.prototype&&Ee.prototype.isReactComponent){vt=be(Ee,se.legacyContext);var it=Ee.contextType;it=new Ee(je,typeof it=="object"&&it!==null?it._currentValue2:vt),Je(it,Ee,je,vt),ze(z,se,it,Ee)}else{it=be(Ee,se.legacyContext),vt=nt(z,se,Ee,je,it);var At=ir!==0;if(typeof vt=="object"&&vt!==null&&typeof vt.render=="function"&&vt.$$typeof===void 0)Je(vt,Ee,je,it),ze(z,se,vt,Ee);else if(At){je=se.treeContext,se.treeContext=_t(je,1,0);try{zt(z,se,vt)}finally{se.treeContext=je}}else zt(z,se,vt)}else if(typeof Ee=="string")switch(vt=se.blockedSegment,it=J(vt.chunks,Ee,je,z.responseState,vt.formatContext),At=vt.formatContext,vt.formatContext=C(At,Ee,je),bt(z,se,it),vt.formatContext=At,Ee){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:vt.chunks.push("</",Ee,">")}else{switch(Ee){case Oe:case _e:case xe:case ue:case Se:zt(z,se,je.children);return;case H:zt(z,se,je.children);return;case we:throw Error(t(343));case L:e:{Ee=se.blockedBoundary,vt=se.blockedSegment,it=je.fallback,je=je.children,At=new Set;var Bt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:At},Jt=gt(z,vt.chunks.length,Bt,vt.formatContext);vt.children.push(Jt);var Er=gt(z,0,null,vt.formatContext);Er.parentFlushed=!0,se.blockedBoundary=Bt,se.blockedSegment=Er;try{if(bt(z,se,je),Er.status=1,Tn(Bt,Er),Bt.pendingTasks===0)break e}catch(Ar){Er.status=4,et(z,Ar),Bt.forceClientRender=!0}finally{se.blockedBoundary=Ee,se.blockedSegment=vt}se=Dt(z,it,Ee,Jt,At,se.legacyContext,se.context,se.treeContext),z.pingedTasks.push(se)}return}if(typeof Ee=="object"&&Ee!==null)switch(Ee.$$typeof){case B:if(je=nt(z,se,Ee.render,je,vt),ir!==0){Ee=se.treeContext,se.treeContext=_t(Ee,1,0);try{zt(z,se,je)}finally{se.treeContext=Ee}}else zt(z,se,je);return;case ne:Ee=Ee.type,je=Tt(Ee,je),yt(z,se,Ee,je,vt);return;case I:if(vt=je.children,Ee=Ee._context,je=je.value,it=Ee._currentValue2,Ee._currentValue2=je,At=Te,Te=je={parent:At,depth:At===null?0:At.depth+1,context:Ee,parentValue:it,value:je},se.context=je,zt(z,se,vt),z=Te,z===null)throw Error(t(403));je=z.parentValue,z.context._currentValue2=je===Re?z.context._defaultValue:je,z=Te=z.parent,se.context=z;return;case P:je=je.children,je=je(Ee._currentValue2),zt(z,se,je);return;case ce:vt=Ee._init,Ee=vt(Ee._payload),je=Tt(Ee,je),yt(z,se,Ee,je,void 0);return}throw Error(t(130,Ee==null?Ee:typeof Ee,""))}}function zt(z,se,Ee){if(se.node=Ee,typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case te:yt(z,se,Ee.type,Ee.props,Ee.ref);return;case de:throw Error(t(257));case ce:var je=Ee._init;Ee=je(Ee._payload),zt(z,se,Ee);return}if(A(Ee)){Xt(z,se,Ee);return}if(Ee===null||typeof Ee!="object"?je=null:(je=Ie&&Ee[Ie]||Ee["@@iterator"],je=typeof je=="function"?je:null),je&&(je=je.call(Ee))){if(Ee=je.next(),!Ee.done){var vt=[];do vt.push(Ee.value),Ee=je.next();while(!Ee.done);Xt(z,se,vt)}return}throw z=Object.prototype.toString.call(Ee),Error(t(31,z==="[object Object]"?"object with keys {"+Object.keys(Ee).join(", ")+"}":z))}typeof Ee=="string"?(se=se.blockedSegment.chunks,z.responseState.generateStaticMarkup?se.push(y(Ee)):O(se,Ee)):typeof Ee=="number"&&(se=se.blockedSegment.chunks,Ee=""+Ee,z.responseState.generateStaticMarkup?se.push(y(Ee)):O(se,Ee))}function Xt(z,se,Ee){for(var je=Ee.length,vt=0;vt<je;vt++){var it=se.treeContext;se.treeContext=_t(it,je,vt);try{bt(z,se,Ee[vt])}finally{se.treeContext=it}}}function bt(z,se,Ee){var je=se.blockedSegment.formatContext,vt=se.legacyContext,it=se.context;try{return zt(z,se,Ee)}catch(Jt){if(Jn(),typeof Jt=="object"&&Jt!==null&&typeof Jt.then=="function"){Ee=Jt;var At=se.blockedSegment,Bt=gt(z,At.chunks.length,null,At.formatContext);At.children.push(Bt),z=Dt(z,se.node,se.blockedBoundary,Bt,se.abortSet,se.legacyContext,se.context,se.treeContext).ping,Ee.then(z,z),se.blockedSegment.formatContext=je,se.legacyContext=vt,se.context=it,Ut(it)}else throw se.blockedSegment.formatContext=je,se.legacyContext=vt,se.context=it,Ut(it),Jt}}function Tr(z){var se=z.blockedBoundary;z=z.blockedSegment,z.status=3,kt(this,se,z)}function Xr(z){var se=z.blockedBoundary;z.blockedSegment.status=3,se===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,se.parentFlushed&&this.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(Xr,this),se.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(z=this.onAllReady,z()))}function Tn(z,se){if(se.chunks.length===0&&se.children.length===1&&se.children[0].boundary===null){var Ee=se.children[0];Ee.id=se.id,Ee.parentFlushed=!0,Ee.status===1&&Tn(z,Ee)}else z.completedSegments.push(se)}function kt(z,se,Ee){if(se===null){if(Ee.parentFlushed){if(z.completedRootSegment!==null)throw Error(t(389));z.completedRootSegment=Ee}z.pendingRootTasks--,z.pendingRootTasks===0&&(z.onShellError=Ai,se=z.onShellReady,se())}else se.pendingTasks--,se.forceClientRender||(se.pendingTasks===0?(Ee.parentFlushed&&Ee.status===1&&Tn(se,Ee),se.parentFlushed&&z.completedBoundaries.push(se),se.fallbackAbortableTasks.forEach(Tr,z),se.fallbackAbortableTasks.clear()):Ee.parentFlushed&&Ee.status===1&&(Tn(se,Ee),se.completedSegments.length===1&&se.parentFlushed&&z.partialBoundaries.push(se)));z.allPendingTasks--,z.allPendingTasks===0&&(z=z.onAllReady,z())}function Qr(z){if(z.status!==2){var se=Te,Ee=oi.current;oi.current=Gi;var je=Pn;Pn=z.responseState;try{var vt=z.pingedTasks,it;for(it=0;it<vt.length;it++){var At=vt[it],Bt=z,Jt=At.blockedSegment;if(Jt.status===0){Ut(At.context);try{zt(Bt,At,At.node),At.abortSet.delete(At),Jt.status=1,kt(Bt,At.blockedBoundary,Jt)}catch(Ni){if(Jn(),typeof Ni=="object"&&Ni!==null&&typeof Ni.then=="function"){var Er=At.ping;Ni.then(Er,Er)}else{At.abortSet.delete(At),Jt.status=4;var Ar=At.blockedBoundary,$n=Ni;if(et(Bt,$n),Ar===null?fe(Bt,$n):(Ar.pendingTasks--,Ar.forceClientRender||(Ar.forceClientRender=!0,Ar.parentFlushed&&Bt.clientRenderedBoundaries.push(Ar))),Bt.allPendingTasks--,Bt.allPendingTasks===0){var ki=Bt.onAllReady;ki()}}}finally{}}}vt.splice(0,it),z.destination!==null&&sa(z,z.destination)}catch(Ni){et(z,Ni),fe(z,Ni)}finally{Pn=je,oi.current=Ee,Ee===Gi&&Ut(se)}}}function Wn(z,se,Ee){switch(Ee.parentFlushed=!0,Ee.status){case 0:var je=Ee.id=z.nextSegmentId++;return z=z.responseState,n(se,'<template id="'),n(se,z.placeholderPrefix),z=je.toString(16),n(se,z),n(se,'"></template>');case 1:Ee.status=2;var vt=!0;je=Ee.chunks;var it=0;Ee=Ee.children;for(var At=0;At<Ee.length;At++){for(vt=Ee[At];it<vt.index;it++)n(se,je[it]);vt=Mn(z,se,vt)}for(;it<je.length-1;it++)n(se,je[it]);return it<je.length&&(vt=n(se,je[it])),vt;default:throw Error(t(390))}}function Mn(z,se,Ee){var je=Ee.boundary;if(je===null)return Wn(z,se,Ee);if(je.parentFlushed=!0,je.forceClientRender)return z.responseState.generateStaticMarkup||n(se,"<!--$!-->"),Wn(z,se,Ee),z=z.responseState.generateStaticMarkup?!0:n(se,"<!--/$-->"),z;if(0<je.pendingTasks){je.rootSegmentID=z.nextSegmentId++,0<je.completedSegments.length&&z.partialBoundaries.push(je);var vt=z.responseState,it=vt.nextSuspenseID++;return vt=vt.boundaryPrefix+it.toString(16),je=je.id=vt,re(se,z.responseState,je),Wn(z,se,Ee),n(se,"<!--/$-->")}if(je.byteSize>z.progressiveChunkSize)return je.rootSegmentID=z.nextSegmentId++,z.completedBoundaries.push(je),re(se,z.responseState,je.id),Wn(z,se,Ee),n(se,"<!--/$-->");if(z.responseState.generateStaticMarkup||n(se,"<!--$-->"),Ee=je.completedSegments,Ee.length!==1)throw Error(t(391));return Mn(z,se,Ee[0]),z=z.responseState.generateStaticMarkup?!0:n(se,"<!--/$-->"),z}function yo(z,se,Ee){return $(se,z.responseState,Ee.formatContext,Ee.id),Mn(z,se,Ee),N(se,Ee.formatContext)}function di(z,se,Ee){for(var je=Ee.completedSegments,vt=0;vt<je.length;vt++)oa(z,se,Ee,je[vt]);if(je.length=0,z=z.responseState,je=Ee.id,Ee=Ee.rootSegmentID,n(se,z.startInlineScript),z.sentCompleteBoundaryFunction?n(se,'$RC("'):(z.sentCompleteBoundaryFunction=!0,n(se,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),je===null)throw Error(t(395));return Ee=Ee.toString(16),n(se,je),n(se,'","'),n(se,z.segmentPrefix),n(se,Ee),n(se,'")<\/script>')}function oa(z,se,Ee,je){if(je.status===2)return!0;var vt=je.id;if(vt===-1){if((je.id=Ee.rootSegmentID)===-1)throw Error(t(392));return yo(z,se,je)}return yo(z,se,je),z=z.responseState,n(se,z.startInlineScript),z.sentCompleteSegmentFunction?n(se,'$RS("'):(z.sentCompleteSegmentFunction=!0,n(se,'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),n(se,z.segmentPrefix),vt=vt.toString(16),n(se,vt),n(se,'","'),n(se,z.placeholderPrefix),n(se,vt),n(se,'")<\/script>')}function sa(z,se){try{var Ee=z.completedRootSegment;if(Ee!==null&&z.pendingRootTasks===0){Mn(z,se,Ee),z.completedRootSegment=null;var je=z.responseState.bootstrapChunks;for(Ee=0;Ee<je.length-1;Ee++)n(se,je[Ee]);Ee<je.length&&n(se,je[Ee])}var vt=z.clientRenderedBoundaries,it;for(it=0;it<vt.length;it++){je=se;var At=z.responseState,Bt=vt[it].id;if(n(je,At.startInlineScript),At.sentClientRenderFunction?n(je,'$RX("'):(At.sentClientRenderFunction=!0,n(je,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Bt===null)throw Error(t(395));if(n(je,Bt),!n(je,'")<\/script>')){z.destination=null,it++,vt.splice(0,it);return}}vt.splice(0,it);var Jt=z.completedBoundaries;for(it=0;it<Jt.length;it++)if(!di(z,se,Jt[it])){z.destination=null,it++,Jt.splice(0,it);return}Jt.splice(0,it);var Er=z.partialBoundaries;for(it=0;it<Er.length;it++){var Ar=Er[it];e:{vt=z,At=se;var $n=Ar.completedSegments;for(Bt=0;Bt<$n.length;Bt++)if(!oa(vt,At,Ar,$n[Bt])){Bt++,$n.splice(0,Bt);var ki=!1;break e}$n.splice(0,Bt),ki=!0}if(!ki){z.destination=null,it++,Er.splice(0,it);return}}Er.splice(0,it);var Ni=z.completedBoundaries;for(it=0;it<Ni.length;it++)if(!di(z,se,Ni[it])){z.destination=null,it++,Ni.splice(0,it);return}Ni.splice(0,it)}finally{z.allPendingTasks===0&&z.pingedTasks.length===0&&z.clientRenderedBoundaries.length===0&&z.completedBoundaries.length===0&&se.push(null)}}function zo(z){try{var se=z.abortableTasks;se.forEach(Xr,z),se.clear(),z.destination!==null&&sa(z,z.destination)}catch(Ee){et(z,Ee),fe(z,Ee)}}function to(){}function Ua(z,se,Ee){var je=!1,vt=null,it="",At={push:function(Jt){return Jt!==null&&(it+=Jt),!0},destroy:function(Jt){je=!0,vt=Jt}},Bt=!1;if(z=ot(z,U(Ee,se?se.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,to,void 0,function(){Bt=!0}),Qr(z),zo(z),z.status===1)z.status=2,At.destroy(z.fatalError);else if(z.status!==2&&z.destination===null){z.destination=At;try{sa(z,At)}catch(Jt){et(z,Jt),fe(z,Jt)}}if(je)throw vt;if(!Bt)throw Error(t(426));return it}return Mc.renderToNodeStream=function(){throw Error(t(207))},Mc.renderToStaticMarkup=function(z,se){return Ua(z,se,!0)},Mc.renderToStaticNodeStream=function(){throw Error(t(208))},Mc.renderToString=function(z,se){return Ua(z,se,!1)},Mc.version="18.1.0",Mc}var vm={};/**
148
- * @license React
149
- * react-dom-server.browser.production.min.js
150
- *
151
- * Copyright (c) Facebook, Inc. and its affiliates.
152
- *
153
- * This source code is licensed under the MIT license found in the
154
- * LICENSE file in the root directory of this source tree.
155
- */var XQ;function rPe(){if(XQ)return vm;XQ=1;var e=Ho();function t(G){for(var oe="https://reactjs.org/docs/error-decoder.html?invariant="+G,ge=1;ge<arguments.length;ge++)oe+="&args[]="+encodeURIComponent(arguments[ge]);return"Minified React error #"+G+"; visit "+oe+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,n=0;function i(G,oe){if(oe.length!==0)if(512<oe.length)0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),G.enqueue(oe);else{var ge=r.length-n;ge<oe.length&&(ge===0?G.enqueue(r):(r.set(oe.subarray(0,ge),n),G.enqueue(r),oe=oe.subarray(ge)),r=new Uint8Array(512),n=0),r.set(oe,n),n+=oe.length}}function a(G,oe){return i(G,oe),!0}function o(G){r&&0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var s=new TextEncoder;function l(G){return s.encode(G)}function c(G){return s.encode(G)}function d(G,oe){typeof G.error=="function"?G.error(oe):G.close()}var h=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},S={};function E(G){return h.call(S,G)?!0:h.call(g,G)?!1:v.test(G)?S[G]=!0:(g[G]=!0,!1)}function y(G,oe,ge,Le,Qe,tt,Ot){this.acceptsBooleans=oe===2||oe===3||oe===4,this.attributeName=Le,this.attributeNamespace=Qe,this.mustUseProperty=ge,this.propertyName=G,this.type=oe,this.sanitizeURL=tt,this.removeEmptyString=Ot}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(G){w[G]=new y(G,0,!1,G,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(G){var oe=G[0];w[oe]=new y(oe,1,!1,G[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(G){w[G]=new y(G,2,!1,G.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(G){w[G]=new y(G,2,!1,G,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(G){w[G]=new y(G,3,!1,G.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(G){w[G]=new y(G,3,!0,G,null,!1,!1)}),["capture","download"].forEach(function(G){w[G]=new y(G,4,!1,G,null,!1,!1)}),["cols","rows","size","span"].forEach(function(G){w[G]=new y(G,6,!1,G,null,!1,!1)}),["rowSpan","start"].forEach(function(G){w[G]=new y(G,5,!1,G.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function A(G){return G[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(G){var oe=G.replace(b,A);w[oe]=new y(oe,1,!1,G,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(G){var oe=G.replace(b,A);w[oe]=new y(oe,1,!1,G,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(G){var oe=G.replace(b,A);w[oe]=new y(oe,1,!1,G,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(G){w[G]=new y(G,1,!1,G.toLowerCase(),null,!1,!1)}),w.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(G){w[G]=new y(G,1,!1,G.toLowerCase(),null,!0,!0)});var R={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},C=["Webkit","ms","Moz","O"];Object.keys(R).forEach(function(G){C.forEach(function(oe){oe=oe+G.charAt(0).toUpperCase()+G.substring(1),R[oe]=R[G]})});var O=/["'&<>]/;function m(G){if(typeof G=="boolean"||typeof G=="number")return""+G;G=""+G;var oe=O.exec(G);if(oe){var ge="",Le,Qe=0;for(Le=oe.index;Le<G.length;Le++){switch(G.charCodeAt(Le)){case 34:oe="&quot;";break;case 38:oe="&amp;";break;case 39:oe="&#x27;";break;case 60:oe="&lt;";break;case 62:oe="&gt;";break;default:continue}Qe!==Le&&(ge+=G.substring(Qe,Le)),Qe=Le+1,ge+=oe}G=Qe!==Le?ge+G.substring(Qe,Le):ge}return G}var D=/([A-Z])/g,k=/^ms-/,q=Array.isArray,j=c("<script>"),W=c("<\/script>"),K=c('<script src="'),X=c('<script type="module" src="'),Q=c('" async=""><\/script>'),J=/(<\/|<)(s)(cript)/gi;function re(G,oe,ge,Le){return""+oe+(ge==="s"?"\\u0073":"\\u0053")+Le}function $(G,oe,ge,Le,Qe){G=G===void 0?"":G,oe=oe===void 0?j:c('<script nonce="'+m(oe)+'">');var tt=[];if(ge!==void 0&&tt.push(oe,l((""+ge).replace(J,re)),W),Le!==void 0)for(ge=0;ge<Le.length;ge++)tt.push(K,l(m(Le[ge])),Q);if(Qe!==void 0)for(Le=0;Le<Qe.length;Le++)tt.push(X,l(m(Qe[Le])),Q);return{bootstrapChunks:tt,startInlineScript:oe,placeholderPrefix:c(G+"P:"),segmentPrefix:c(G+"S:"),boundaryPrefix:G+"B:",idPrefix:G,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function N(G,oe){return{insertionMode:G,selectedValue:oe}}function U(G){return N(G==="http://www.w3.org/2000/svg"?2:G==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ee(G,oe,ge){switch(oe){case"select":return N(1,ge.value!=null?ge.value:ge.defaultValue);case"svg":return N(2,null);case"math":return N(3,null);case"foreignObject":return N(1,null);case"table":return N(4,null);case"thead":case"tbody":case"tfoot":return N(5,null);case"colgroup":return N(7,null);case"tr":return N(6,null)}return 4<=G.insertionMode||G.insertionMode===0?N(1,null):G}var te=c("<!-- -->"),de=new Map,Se=c(' style="'),xe=c(":"),ue=c(";");function I(G,oe,ge){if(typeof ge!="object")throw Error(t(62));oe=!0;for(var Le in ge)if(h.call(ge,Le)){var Qe=ge[Le];if(Qe!=null&&typeof Qe!="boolean"&&Qe!==""){if(Le.indexOf("--")===0){var tt=l(m(Le));Qe=l(m((""+Qe).trim()))}else{tt=Le;var Ot=de.get(tt);Ot!==void 0||(Ot=c(m(tt.replace(D,"-$1").toLowerCase().replace(k,"-ms-"))),de.set(tt,Ot)),tt=Ot,Qe=typeof Qe=="number"?Qe===0||h.call(R,Le)?l(""+Qe):l(Qe+"px"):l(m((""+Qe).trim()))}oe?(oe=!1,G.push(Se,tt,xe,Qe)):G.push(ue,tt,xe,Qe)}}oe||G.push(L)}var P=c(" "),B=c('="'),L=c('"'),H=c('=""');function ne(G,oe,ge,Le){switch(ge){case"style":I(G,oe,Le);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<ge.length)||ge[0]!=="o"&&ge[0]!=="O"||ge[1]!=="n"&&ge[1]!=="N"){if(oe=w.hasOwnProperty(ge)?w[ge]:null,oe!==null){switch(typeof Le){case"function":case"symbol":return;case"boolean":if(!oe.acceptsBooleans)return}switch(ge=l(oe.attributeName),oe.type){case 3:Le&&G.push(P,ge,H);break;case 4:Le===!0?G.push(P,ge,H):Le!==!1&&G.push(P,ge,B,l(m(Le)),L);break;case 5:isNaN(Le)||G.push(P,ge,B,l(m(Le)),L);break;case 6:!isNaN(Le)&&1<=Le&&G.push(P,ge,B,l(m(Le)),L);break;default:oe.sanitizeURL&&(Le=""+Le),G.push(P,ge,B,l(m(Le)),L)}}else if(E(ge)){switch(typeof Le){case"function":case"symbol":return;case"boolean":if(oe=ge.toLowerCase().slice(0,5),oe!=="data-"&&oe!=="aria-")return}G.push(P,l(ge),B,l(m(Le)),L)}}}var ce=c(">"),we=c("/>");function _e(G,oe,ge){if(oe!=null){if(ge!=null)throw Error(t(60));if(typeof oe!="object"||!("__html"in oe))throw Error(t(61));oe=oe.__html,oe!=null&&G.push(l(""+oe))}}function Oe(G){var oe="";return e.Children.forEach(G,function(ge){ge!=null&&(oe+=ge)}),oe}var Re=c(' selected=""');function Ie(G,oe,ge,Le){G.push(Te(ge));var Qe=ge=null,tt;for(tt in oe)if(h.call(oe,tt)){var Ot=oe[tt];if(Ot!=null)switch(tt){case"children":ge=Ot;break;case"dangerouslySetInnerHTML":Qe=Ot;break;default:ne(G,Le,tt,Ot)}}return G.push(ce),_e(G,Qe,ge),typeof ge=="string"?(G.push(l(m(ge))),null):ge}var $e=c(`
156
- `),me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be=new Map;function Te(G){var oe=be.get(G);if(oe===void 0){if(!me.test(G))throw Error(t(65,G));oe=c("<"+G),be.set(G,oe)}return oe}var Ne=c("<!DOCTYPE html>");function Ve(G,oe,ge,Le,Qe){switch(oe){case"select":G.push(Te("select"));var tt=null,Ot=null;for(xr in ge)if(h.call(ge,xr)){var Ht=ge[xr];if(Ht!=null)switch(xr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;case"defaultValue":case"value":break;default:ne(G,Le,xr,Ht)}}return G.push(ce),_e(G,Ot,tt),tt;case"option":Ot=Qe.selectedValue,G.push(Te("option"));var gr=Ht=null,qr=null,xr=null;for(tt in ge)if(h.call(ge,tt)&&(oe=ge[tt],oe!=null))switch(tt){case"children":Ht=oe;break;case"selected":qr=oe;break;case"dangerouslySetInnerHTML":xr=oe;break;case"value":gr=oe;default:ne(G,Le,tt,oe)}if(Ot!=null)if(ge=gr!==null?""+gr:Oe(Ht),q(Ot)){for(Le=0;Le<Ot.length;Le++)if(""+Ot[Le]===ge){G.push(Re);break}}else""+Ot===ge&&G.push(Re);else qr&&G.push(Re);return G.push(ce),_e(G,xr,Ht),Ht;case"textarea":G.push(Te("textarea")),xr=Ot=tt=null;for(Ht in ge)if(h.call(ge,Ht)&&(gr=ge[Ht],gr!=null))switch(Ht){case"children":xr=gr;break;case"value":tt=gr;break;case"defaultValue":Ot=gr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:ne(G,Le,Ht,gr)}if(tt===null&&Ot!==null&&(tt=Ot),G.push(ce),xr!=null){if(tt!=null)throw Error(t(92));if(q(xr)&&1<xr.length)throw Error(t(93));tt=""+xr}return typeof tt=="string"&&tt[0]===`
157
- `&&G.push($e),tt!==null&&G.push(l(m(""+tt))),null;case"input":G.push(Te("input")),gr=xr=Ht=tt=null;for(Ot in ge)if(h.call(ge,Ot)&&(qr=ge[Ot],qr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":gr=qr;break;case"defaultValue":Ht=qr;break;case"checked":xr=qr;break;case"value":tt=qr;break;default:ne(G,Le,Ot,qr)}return xr!==null?ne(G,Le,"checked",xr):gr!==null&&ne(G,Le,"checked",gr),tt!==null?ne(G,Le,"value",tt):Ht!==null&&ne(G,Le,"value",Ht),G.push(we),null;case"menuitem":G.push(Te("menuitem"));for(var Dn in ge)if(h.call(ge,Dn)&&(tt=ge[Dn],tt!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:ne(G,Le,Dn,tt)}return G.push(ce),null;case"listing":case"pre":G.push(Te(oe)),Ot=tt=null;for(gr in ge)if(h.call(ge,gr)&&(Ht=ge[gr],Ht!=null))switch(gr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;default:ne(G,Le,gr,Ht)}if(G.push(ce),Ot!=null){if(tt!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));ge=Ot.__html,ge!=null&&(typeof ge=="string"&&0<ge.length&&ge[0]===`
158
- `?G.push($e,l(ge)):G.push(l(""+ge)))}return typeof tt=="string"&&tt[0]===`
159
- `&&G.push($e),tt;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":G.push(Te(oe));for(var si in ge)if(h.call(ge,si)&&(tt=ge[si],tt!=null))switch(si){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,oe));default:ne(G,Le,si,tt)}return G.push(we),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ie(G,ge,oe,Le);case"html":return Qe.insertionMode===0&&G.push(Ne),Ie(G,ge,oe,Le);default:if(oe.indexOf("-")===-1&&typeof ge.is!="string")return Ie(G,ge,oe,Le);G.push(Te(oe)),Ot=tt=null;for(qr in ge)if(h.call(ge,qr)&&(Ht=ge[qr],Ht!=null))switch(qr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;case"style":I(G,Le,Ht);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(qr)&&typeof Ht!="function"&&typeof Ht!="symbol"&&G.push(P,l(qr),B,l(m(Ht)),L)}return G.push(ce),_e(G,Ot,tt),tt}}var qe=c("</"),Ge=c(">"),ct=c('<template id="'),Ut=c('"></template>'),Wt=c("<!--$-->"),Je=c('<!--$?--><template id="'),Rt=c('"></template>'),_t=c("<!--$!-->"),st=c("<!--/$-->");function rt(G,oe,ge){if(i(G,Je),ge===null)throw Error(t(395));return i(G,ge),a(G,Rt)}var dt=c('<div hidden id="'),Yt=c('">'),Lt=c("</div>"),Ce=c('<svg aria-hidden="true" style="display:none" id="'),Ze=c('">'),ut=c("</svg>"),wt=c('<math aria-hidden="true" style="display:none" id="'),Nt=c('">'),nr=c("</math>"),mr=c('<table hidden id="'),ir=c('">'),Sr=c("</table>"),jr=c('<table hidden><tbody id="'),Wr=c('">'),Hn=c("</tbody></table>"),zn=c('<table hidden><tr id="'),Jn=c('">'),bn=c("</tr></table>"),ai=c('<table hidden><colgroup id="'),fi=c('">'),Ci=c("</colgroup></table>");function _i(G,oe,ge,Le){switch(ge.insertionMode){case 0:case 1:return i(G,dt),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,Yt);case 2:return i(G,Ce),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,Ze);case 3:return i(G,wt),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,Nt);case 4:return i(G,mr),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,ir);case 5:return i(G,jr),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,Wr);case 6:return i(G,zn),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,Jn);case 7:return i(G,ai),i(G,oe.segmentPrefix),i(G,l(Le.toString(16))),a(G,fi);default:throw Error(t(397))}}function Vi(G,oe){switch(oe.insertionMode){case 0:case 1:return a(G,Lt);case 2:return a(G,ut);case 3:return a(G,nr);case 4:return a(G,Sr);case 5:return a(G,Hn);case 6:return a(G,bn);case 7:return a(G,Ci);default:throw Error(t(397))}}var Gi=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Pn=c('$RS("'),oi=c('","'),Di=c('")<\/script>'),Ai=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ot=c('$RC("'),Dt=c('","'),gt=c('")<\/script>'),et=c('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),fe=c('$RX("'),nt=c('")<\/script>'),ze=Object.assign,Tt=Symbol.for("react.element"),yt=Symbol.for("react.portal"),zt=Symbol.for("react.fragment"),Xt=Symbol.for("react.strict_mode"),bt=Symbol.for("react.profiler"),Tr=Symbol.for("react.provider"),Xr=Symbol.for("react.context"),Tn=Symbol.for("react.forward_ref"),kt=Symbol.for("react.suspense"),Qr=Symbol.for("react.suspense_list"),Wn=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),yo=Symbol.for("react.scope"),di=Symbol.for("react.debug_trace_mode"),oa=Symbol.for("react.legacy_hidden"),sa=Symbol.for("react.default_value"),zo=Symbol.iterator;function to(G){if(G==null)return null;if(typeof G=="function")return G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){case zt:return"Fragment";case yt:return"Portal";case bt:return"Profiler";case Xt:return"StrictMode";case kt:return"Suspense";case Qr:return"SuspenseList"}if(typeof G=="object")switch(G.$$typeof){case Xr:return(G.displayName||"Context")+".Consumer";case Tr:return(G._context.displayName||"Context")+".Provider";case Tn:var oe=G.render;return G=G.displayName,G||(G=oe.displayName||oe.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case Wn:return oe=G.displayName||null,oe!==null?oe:to(G.type)||"Memo";case Mn:oe=G._payload,G=G._init;try{return to(G(oe))}catch{}}return null}var Ua={};function z(G,oe){if(G=G.contextTypes,!G)return Ua;var ge={},Le;for(Le in G)ge[Le]=oe[Le];return ge}var se=null;function Ee(G,oe){if(G!==oe){G.context._currentValue=G.parentValue,G=G.parent;var ge=oe.parent;if(G===null){if(ge!==null)throw Error(t(401))}else{if(ge===null)throw Error(t(401));Ee(G,ge)}oe.context._currentValue=oe.value}}function je(G){G.context._currentValue=G.parentValue,G=G.parent,G!==null&&je(G)}function vt(G){var oe=G.parent;oe!==null&&vt(oe),G.context._currentValue=G.value}function it(G,oe){if(G.context._currentValue=G.parentValue,G=G.parent,G===null)throw Error(t(402));G.depth===oe.depth?Ee(G,oe):it(G,oe)}function At(G,oe){var ge=oe.parent;if(ge===null)throw Error(t(402));G.depth===ge.depth?Ee(G,ge):At(G,ge),oe.context._currentValue=oe.value}function Bt(G){var oe=se;oe!==G&&(oe===null?vt(G):G===null?je(oe):oe.depth===G.depth?Ee(oe,G):oe.depth>G.depth?it(oe,G):At(oe,G),se=G)}var Jt={isMounted:function(){return!1},enqueueSetState:function(G,oe){G=G._reactInternals,G.queue!==null&&G.queue.push(oe)},enqueueReplaceState:function(G,oe){G=G._reactInternals,G.replace=!0,G.queue=[oe]},enqueueForceUpdate:function(){}};function Er(G,oe,ge,Le){var Qe=G.state!==void 0?G.state:null;G.updater=Jt,G.props=ge,G.state=Qe;var tt={queue:[],replace:!1};G._reactInternals=tt;var Ot=oe.contextType;if(G.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue:Le,Ot=oe.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(ge,Qe),Qe=Ot==null?Qe:ze({},Qe,Ot),G.state=Qe),typeof oe.getDerivedStateFromProps!="function"&&typeof G.getSnapshotBeforeUpdate!="function"&&(typeof G.UNSAFE_componentWillMount=="function"||typeof G.componentWillMount=="function"))if(oe=G.state,typeof G.componentWillMount=="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount=="function"&&G.UNSAFE_componentWillMount(),oe!==G.state&&Jt.enqueueReplaceState(G,G.state,null),tt.queue!==null&&0<tt.queue.length)if(oe=tt.queue,Ot=tt.replace,tt.queue=null,tt.replace=!1,Ot&&oe.length===1)G.state=oe[0];else{for(tt=Ot?oe[0]:G.state,Qe=!0,Ot=Ot?1:0;Ot<oe.length;Ot++){var Ht=oe[Ot];Ht=typeof Ht=="function"?Ht.call(G,tt,ge,Le):Ht,Ht!=null&&(Qe?(Qe=!1,tt=ze({},tt,Ht)):ze(tt,Ht))}G.state=tt}else tt.queue=null}var Ar={id:1,overflow:""};function $n(G,oe,ge){var Le=G.id;G=G.overflow;var Qe=32-ki(Le)-1;Le&=~(1<<Qe),ge+=1;var tt=32-ki(oe)+Qe;if(30<tt){var Ot=Qe-Qe%5;return tt=(Le&(1<<Ot)-1).toString(32),Le>>=Ot,Qe-=Ot,{id:1<<32-ki(oe)+Qe|ge<<Qe|Le,overflow:tt+G}}return{id:1<<tt|ge<<Qe|Le,overflow:G}}var ki=Math.clz32?Math.clz32:lu,Ni=Math.log,ms=Math.LN2;function lu(G){return G>>>=0,G===0?32:31-(Ni(G)/ms|0)|0}function ys(G,oe){return G===oe&&(G!==0||1/G===1/oe)||G!==G&&oe!==oe}var ro=typeof Object.is=="function"?Object.is:ys,Si=null,qa=null,no=null,hn=null,va=!1,Wo=!1,Go=0,ea=null,Us=0;function io(){if(Si===null)throw Error(t(321));return Si}function _s(){if(0<Us)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function qs(){return hn===null?no===null?(va=!1,no=hn=_s()):(va=!0,hn=no):hn.next===null?(va=!1,hn=hn.next=_s()):(va=!0,hn=hn.next),hn}function Nu(){qa=Si=null,Wo=!1,no=null,Us=0,hn=ea=null}function ao(G,oe){return typeof oe=="function"?oe(G):oe}function _o(G,oe,ge){if(Si=io(),hn=qs(),va){var Le=hn.queue;if(oe=Le.dispatch,ea!==null&&(ge=ea.get(Le),ge!==void 0)){ea.delete(Le),Le=hn.memoizedState;do Le=G(Le,ge.action),ge=ge.next;while(ge!==null);return hn.memoizedState=Le,[Le,oe]}return[hn.memoizedState,oe]}return G=G===ao?typeof oe=="function"?oe():oe:ge!==void 0?ge(oe):oe,hn.memoizedState=G,G=hn.queue={last:null,dispatch:null},G=G.dispatch=pa.bind(null,Si,G),[hn.memoizedState,G]}function Bi(G,oe){if(Si=io(),hn=qs(),oe=oe===void 0?null:oe,hn!==null){var ge=hn.memoizedState;if(ge!==null&&oe!==null){var Le=ge[1];e:if(Le===null)Le=!1;else{for(var Qe=0;Qe<Le.length&&Qe<oe.length;Qe++)if(!ro(oe[Qe],Le[Qe])){Le=!1;break e}Le=!0}if(Le)return ge[0]}}return G=G(),hn.memoizedState=[G,oe],G}function pa(G,oe,ge){if(25<=Us)throw Error(t(301));if(G===Si)if(Wo=!0,G={action:ge,next:null},ea===null&&(ea=new Map),ge=ea.get(oe),ge===void 0)ea.set(oe,G);else{for(oe=ge;oe.next!==null;)oe=oe.next;oe.next=G}}function Lu(){throw Error(t(394))}function Yo(){}var Ko={readContext:function(G){return G._currentValue},useContext:function(G){return io(),G._currentValue},useMemo:Bi,useReducer:_o,useRef:function(G){Si=io(),hn=qs();var oe=hn.memoizedState;return oe===null?(G={current:G},hn.memoizedState=G):oe},useState:function(G){return _o(ao,G)},useInsertionEffect:Yo,useLayoutEffect:function(){},useCallback:function(G,oe){return Bi(function(){return G},oe)},useImperativeHandle:Yo,useEffect:Yo,useDebugValue:Yo,useDeferredValue:function(G){return io(),G},useTransition:function(){return io(),[!1,Lu]},useId:function(){var G=qa.treeContext,oe=G.overflow;G=G.id,G=(G&~(1<<32-ki(G)-1)).toString(32)+oe;var ge=ga;if(ge===null)throw Error(t(404));return oe=Go++,G=":"+ge.idPrefix+"R"+G,0<oe&&(G+="H"+oe.toString(32)),G+":"},useMutableSource:function(G,oe){return io(),oe(G._source)},useSyncExternalStore:function(G,oe,ge){if(ge===void 0)throw Error(t(407));return ge()}},ga=null,Vs=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Mu(G){console.error(G)}function Li(){}function ma(G,oe,ge,Le,Qe,tt,Ot,Ht,gr){var qr=[],xr=new Set;return oe={destination:null,responseState:oe,progressiveChunkSize:Le===void 0?12800:Le,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:xr,pingedTasks:qr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Qe===void 0?Mu:Qe,onAllReady:tt===void 0?Li:tt,onShellReady:Ot===void 0?Li:Ot,onShellError:Ht===void 0?Li:Ht,onFatalError:gr===void 0?Li:gr},ge=Xo(oe,0,null,ge),ge.parentFlushed=!0,G=So(oe,G,null,ge,xr,Ua,null,Ar),qr.push(G),oe}function So(G,oe,ge,Le,Qe,tt,Ot,Ht){G.allPendingTasks++,ge===null?G.pendingRootTasks++:ge.pendingTasks++;var gr={node:oe,ping:function(){var qr=G.pingedTasks;qr.push(gr),qr.length===1&&Ct(G)},blockedBoundary:ge,blockedSegment:Le,abortSet:Qe,legacyContext:tt,context:Ot,treeContext:Ht};return Qe.add(gr),gr}function Xo(G,oe,ge,Le){return{status:0,id:-1,index:oe,parentFlushed:!1,chunks:[],children:[],formatContext:Le,boundary:ge}}function Eo(G,oe){G=G.onError,G(oe)}function wo(G,oe){var ge=G.onShellError;ge(oe),ge=G.onFatalError,ge(oe),G.destination!==null?(G.status=2,d(G.destination,oe)):(G.status=1,G.fatalError=oe)}function _(G,oe,ge,Le,Qe){for(Si={},qa=oe,Go=0,G=ge(Le,Qe);Wo;)Wo=!1,Go=0,Us+=1,hn=null,G=ge(Le,Qe);return Nu(),G}function x(G,oe,ge,Le){var Qe=ge.render(),tt=Le.childContextTypes;if(tt!=null){var Ot=oe.legacyContext;if(typeof ge.getChildContext!="function")Le=Ot;else{ge=ge.getChildContext();for(var Ht in ge)if(!(Ht in tt))throw Error(t(108,to(Le)||"Unknown",Ht));Le=ze({},Ot,ge)}oe.legacyContext=Le,ae(G,oe,Qe),oe.legacyContext=Ot}else ae(G,oe,Qe)}function M(G,oe){if(G&&G.defaultProps){oe=ze({},oe),G=G.defaultProps;for(var ge in G)oe[ge]===void 0&&(oe[ge]=G[ge]);return oe}return oe}function Y(G,oe,ge,Le,Qe){if(typeof ge=="function")if(ge.prototype&&ge.prototype.isReactComponent){Qe=z(ge,oe.legacyContext);var tt=ge.contextType;tt=new ge(Le,typeof tt=="object"&&tt!==null?tt._currentValue:Qe),Er(tt,ge,Le,Qe),x(G,oe,tt,ge)}else{tt=z(ge,oe.legacyContext),Qe=_(G,oe,ge,Le,tt);var Ot=Go!==0;if(typeof Qe=="object"&&Qe!==null&&typeof Qe.render=="function"&&Qe.$$typeof===void 0)Er(Qe,ge,Le,tt),x(G,oe,Qe,ge);else if(Ot){Le=oe.treeContext,oe.treeContext=$n(Le,1,0);try{ae(G,oe,Qe)}finally{oe.treeContext=Le}}else ae(G,oe,Qe)}else if(typeof ge=="string")switch(Qe=oe.blockedSegment,tt=Ve(Qe.chunks,ge,Le,G.responseState,Qe.formatContext),Ot=Qe.formatContext,Qe.formatContext=ee(Ot,ge,Le),he(G,oe,tt),Qe.formatContext=Ot,ge){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Qe.chunks.push(qe,l(ge),Ge)}else{switch(ge){case oa:case di:case Xt:case bt:case zt:ae(G,oe,Le.children);return;case Qr:ae(G,oe,Le.children);return;case yo:throw Error(t(343));case kt:e:{ge=oe.blockedBoundary,Qe=oe.blockedSegment,tt=Le.fallback,Le=Le.children,Ot=new Set;var Ht={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},gr=Xo(G,Qe.chunks.length,Ht,Qe.formatContext);Qe.children.push(gr);var qr=Xo(G,0,null,Qe.formatContext);qr.parentFlushed=!0,oe.blockedBoundary=Ht,oe.blockedSegment=qr;try{if(he(G,oe,Le),qr.status=1,Ye(Ht,qr),Ht.pendingTasks===0)break e}catch(xr){qr.status=4,Eo(G,xr),Ht.forceClientRender=!0}finally{oe.blockedBoundary=ge,oe.blockedSegment=Qe}oe=So(G,tt,ge,gr,Ot,oe.legacyContext,oe.context,oe.treeContext),G.pingedTasks.push(oe)}return}if(typeof ge=="object"&&ge!==null)switch(ge.$$typeof){case Tn:if(Le=_(G,oe,ge.render,Le,Qe),Go!==0){ge=oe.treeContext,oe.treeContext=$n(ge,1,0);try{ae(G,oe,Le)}finally{oe.treeContext=ge}}else ae(G,oe,Le);return;case Wn:ge=ge.type,Le=M(ge,Le),Y(G,oe,ge,Le,Qe);return;case Tr:if(Qe=Le.children,ge=ge._context,Le=Le.value,tt=ge._currentValue,ge._currentValue=Le,Ot=se,se=Le={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:ge,parentValue:tt,value:Le},oe.context=Le,ae(G,oe,Qe),G=se,G===null)throw Error(t(403));Le=G.parentValue,G.context._currentValue=Le===sa?G.context._defaultValue:Le,G=se=G.parent,oe.context=G;return;case Xr:Le=Le.children,Le=Le(ge._currentValue),ae(G,oe,Le);return;case Mn:Qe=ge._init,ge=Qe(ge._payload),Le=M(ge,Le),Y(G,oe,ge,Le,void 0);return}throw Error(t(130,ge==null?ge:typeof ge,""))}}function ae(G,oe,ge){if(oe.node=ge,typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case Tt:Y(G,oe,ge.type,ge.props,ge.ref);return;case yt:throw Error(t(257));case Mn:var Le=ge._init;ge=Le(ge._payload),ae(G,oe,ge);return}if(q(ge)){le(G,oe,ge);return}if(ge===null||typeof ge!="object"?Le=null:(Le=zo&&ge[zo]||ge["@@iterator"],Le=typeof Le=="function"?Le:null),Le&&(Le=Le.call(ge))){if(ge=Le.next(),!ge.done){var Qe=[];do Qe.push(ge.value),ge=Le.next();while(!ge.done);le(G,oe,Qe)}return}throw oe=Object.prototype.toString.call(ge),Error(t(31,oe==="[object Object]"?"object with keys {"+Object.keys(ge).join(", ")+"}":oe))}typeof ge=="string"?ge!==""&&oe.blockedSegment.chunks.push(l(m(ge)),te):typeof ge=="number"&&(G=""+ge,G!==""&&oe.blockedSegment.chunks.push(l(m(G)),te))}function le(G,oe,ge){for(var Le=ge.length,Qe=0;Qe<Le;Qe++){var tt=oe.treeContext;oe.treeContext=$n(tt,Le,Qe);try{he(G,oe,ge[Qe])}finally{oe.treeContext=tt}}}function he(G,oe,ge){var Le=oe.blockedSegment.formatContext,Qe=oe.legacyContext,tt=oe.context;try{return ae(G,oe,ge)}catch(gr){if(Nu(),typeof gr=="object"&&gr!==null&&typeof gr.then=="function"){ge=gr;var Ot=oe.blockedSegment,Ht=Xo(G,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(Ht),G=So(G,oe.node,oe.blockedBoundary,Ht,oe.abortSet,oe.legacyContext,oe.context,oe.treeContext).ping,ge.then(G,G),oe.blockedSegment.formatContext=Le,oe.legacyContext=Qe,oe.context=tt,Bt(tt)}else throw oe.blockedSegment.formatContext=Le,oe.legacyContext=Qe,oe.context=tt,Bt(tt),gr}}function Fe(G){var oe=G.blockedBoundary;G=G.blockedSegment,G.status=3,Et(this,oe,G)}function ke(G){var oe=G.blockedBoundary;G.blockedSegment.status=3,oe===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(oe.pendingTasks--,oe.forceClientRender||(oe.forceClientRender=!0,oe.parentFlushed&&this.clientRenderedBoundaries.push(oe)),oe.fallbackAbortableTasks.forEach(ke,this),oe.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(G=this.onAllReady,G()))}function Ye(G,oe){if(oe.chunks.length===0&&oe.children.length===1&&oe.children[0].boundary===null){var ge=oe.children[0];ge.id=oe.id,ge.parentFlushed=!0,ge.status===1&&Ye(G,ge)}else G.completedSegments.push(oe)}function Et(G,oe,ge){if(oe===null){if(ge.parentFlushed){if(G.completedRootSegment!==null)throw Error(t(389));G.completedRootSegment=ge}G.pendingRootTasks--,G.pendingRootTasks===0&&(G.onShellError=Li,oe=G.onShellReady,oe())}else oe.pendingTasks--,oe.forceClientRender||(oe.pendingTasks===0?(ge.parentFlushed&&ge.status===1&&Ye(oe,ge),oe.parentFlushed&&G.completedBoundaries.push(oe),oe.fallbackAbortableTasks.forEach(Fe,G),oe.fallbackAbortableTasks.clear()):ge.parentFlushed&&ge.status===1&&(Ye(oe,ge),oe.completedSegments.length===1&&oe.parentFlushed&&G.partialBoundaries.push(oe)));G.allPendingTasks--,G.allPendingTasks===0&&(G=G.onAllReady,G())}function Ct(G){if(G.status!==2){var oe=se,ge=Vs.current;Vs.current=Ko;var Le=ga;ga=G.responseState;try{var Qe=G.pingedTasks,tt;for(tt=0;tt<Qe.length;tt++){var Ot=Qe[tt],Ht=G,gr=Ot.blockedSegment;if(gr.status===0){Bt(Ot.context);try{ae(Ht,Ot,Ot.node),Ot.abortSet.delete(Ot),gr.status=1,Et(Ht,Ot.blockedBoundary,gr)}catch(Fn){if(Nu(),typeof Fn=="object"&&Fn!==null&&typeof Fn.then=="function"){var qr=Ot.ping;Fn.then(qr,qr)}else{Ot.abortSet.delete(Ot),gr.status=4;var xr=Ot.blockedBoundary,Dn=Fn;if(Eo(Ht,Dn),xr===null?wo(Ht,Dn):(xr.pendingTasks--,xr.forceClientRender||(xr.forceClientRender=!0,xr.parentFlushed&&Ht.clientRenderedBoundaries.push(xr))),Ht.allPendingTasks--,Ht.allPendingTasks===0){var si=Ht.onAllReady;si()}}}finally{}}}Qe.splice(0,tt),G.destination!==null&&Zn(G,G.destination)}catch(Fn){Eo(G,Fn),wo(G,Fn)}finally{ga=Le,Vs.current=ge,ge===Ko&&Bt(oe)}}}function ft(G,oe,ge){switch(ge.parentFlushed=!0,ge.status){case 0:var Le=ge.id=G.nextSegmentId++;return G=G.responseState,i(oe,ct),i(oe,G.placeholderPrefix),G=l(Le.toString(16)),i(oe,G),a(oe,Ut);case 1:ge.status=2;var Qe=!0;Le=ge.chunks;var tt=0;ge=ge.children;for(var Ot=0;Ot<ge.length;Ot++){for(Qe=ge[Ot];tt<Qe.index;tt++)i(oe,Le[tt]);Qe=Ft(G,oe,Qe)}for(;tt<Le.length-1;tt++)i(oe,Le[tt]);return tt<Le.length&&(Qe=a(oe,Le[tt])),Qe;default:throw Error(t(390))}}function Ft(G,oe,ge){var Le=ge.boundary;if(Le===null)return ft(G,oe,ge);if(Le.parentFlushed=!0,Le.forceClientRender)a(oe,_t),ft(G,oe,ge);else if(0<Le.pendingTasks){Le.rootSegmentID=G.nextSegmentId++,0<Le.completedSegments.length&&G.partialBoundaries.push(Le);var Qe=G.responseState,tt=Qe.nextSuspenseID++;Qe=c(Qe.boundaryPrefix+tt.toString(16)),Le=Le.id=Qe,rt(oe,G.responseState,Le),ft(G,oe,ge)}else if(Le.byteSize>G.progressiveChunkSize)Le.rootSegmentID=G.nextSegmentId++,G.completedBoundaries.push(Le),rt(oe,G.responseState,Le.id),ft(G,oe,ge);else{if(a(oe,Wt),ge=Le.completedSegments,ge.length!==1)throw Error(t(391));Ft(G,oe,ge[0])}return a(oe,st)}function Rr(G,oe,ge){return _i(oe,G.responseState,ge.formatContext,ge.id),Ft(G,oe,ge),Vi(oe,ge.formatContext)}function en(G,oe,ge){for(var Le=ge.completedSegments,Qe=0;Qe<Le.length;Qe++)Ur(G,oe,ge,Le[Qe]);if(Le.length=0,G=G.responseState,Le=ge.id,ge=ge.rootSegmentID,i(oe,G.startInlineScript),G.sentCompleteBoundaryFunction?i(oe,ot):(G.sentCompleteBoundaryFunction=!0,i(oe,Ai)),Le===null)throw Error(t(395));return ge=l(ge.toString(16)),i(oe,Le),i(oe,Dt),i(oe,G.segmentPrefix),i(oe,ge),a(oe,gt)}function Ur(G,oe,ge,Le){if(Le.status===2)return!0;var Qe=Le.id;if(Qe===-1){if((Le.id=ge.rootSegmentID)===-1)throw Error(t(392));return Rr(G,oe,Le)}return Rr(G,oe,Le),G=G.responseState,i(oe,G.startInlineScript),G.sentCompleteSegmentFunction?i(oe,Pn):(G.sentCompleteSegmentFunction=!0,i(oe,Gi)),i(oe,G.segmentPrefix),Qe=l(Qe.toString(16)),i(oe,Qe),i(oe,oi),i(oe,G.placeholderPrefix),i(oe,Qe),a(oe,Di)}function Zn(G,oe){r=new Uint8Array(512),n=0;try{var ge=G.completedRootSegment;if(ge!==null&&G.pendingRootTasks===0){Ft(G,oe,ge),G.completedRootSegment=null;var Le=G.responseState.bootstrapChunks;for(ge=0;ge<Le.length-1;ge++)i(oe,Le[ge]);ge<Le.length&&a(oe,Le[ge])}var Qe=G.clientRenderedBoundaries,tt;for(tt=0;tt<Qe.length;tt++){Le=oe;var Ot=G.responseState,Ht=Qe[tt].id;if(i(Le,Ot.startInlineScript),Ot.sentClientRenderFunction?i(Le,fe):(Ot.sentClientRenderFunction=!0,i(Le,et)),Ht===null)throw Error(t(395));i(Le,Ht),a(Le,nt)}Qe.splice(0,tt);var gr=G.completedBoundaries;for(tt=0;tt<gr.length;tt++)en(G,oe,gr[tt]);gr.splice(0,tt),o(oe),r=new Uint8Array(512),n=0;var qr=G.partialBoundaries;for(tt=0;tt<qr.length;tt++){var xr=qr[tt];e:{Qe=G,Ot=oe;var Dn=xr.completedSegments;for(Ht=0;Ht<Dn.length;Ht++)if(!Ur(Qe,Ot,xr,Dn[Ht])){Ht++,Dn.splice(0,Ht);var si=!1;break e}Dn.splice(0,Ht),si=!0}if(!si){G.destination=null,tt++,qr.splice(0,tt);return}}qr.splice(0,tt);var Fn=G.completedBoundaries;for(tt=0;tt<Fn.length;tt++)en(G,oe,Fn[tt]);Fn.splice(0,tt)}finally{o(oe),G.allPendingTasks===0&&G.pingedTasks.length===0&&G.clientRenderedBoundaries.length===0&&G.completedBoundaries.length===0&&oe.close()}}function hi(G){try{var oe=G.abortableTasks;oe.forEach(ke,G),oe.clear(),G.destination!==null&&Zn(G,G.destination)}catch(ge){Eo(G,ge),wo(G,ge)}}return vm.renderToReadableStream=function(G,oe){return new Promise(function(ge,Le){var Qe,tt,Ot=new Promise(function(xr,Dn){tt=xr,Qe=Dn}),Ht=ma(G,$(oe?oe.identifierPrefix:void 0,oe?oe.nonce:void 0,oe?oe.bootstrapScriptContent:void 0,oe?oe.bootstrapScripts:void 0,oe?oe.bootstrapModules:void 0),U(oe?oe.namespaceURI:void 0),oe?oe.progressiveChunkSize:void 0,oe?oe.onError:void 0,tt,function(){var xr=new ReadableStream({type:"bytes",pull:function(Dn){if(Ht.status===1)Ht.status=2,d(Dn,Ht.fatalError);else if(Ht.status!==2&&Ht.destination===null){Ht.destination=Dn;try{Zn(Ht,Dn)}catch(si){Eo(Ht,si),wo(Ht,si)}}},cancel:function(){hi(Ht)}});xr.allReady=Ot,ge(xr)},function(xr){Ot.catch(function(){}),Le(xr)},Qe);if(oe&&oe.signal){var gr=oe.signal,qr=function(){hi(Ht),gr.removeEventListener("abort",qr)};gr.addEventListener("abort",qr)}Ct(Ht)})},vm.version="18.1.0",vm}var QQ;function nPe(){if(QQ)return Fl;QQ=1;var e,t;return e=tPe(),t=rPe(),Fl.version=e.version,Fl.renderToString=e.renderToString,Fl.renderToStaticMarkup=e.renderToStaticMarkup,Fl.renderToNodeStream=e.renderToNodeStream,Fl.renderToStaticNodeStream=e.renderToStaticNodeStream,Fl.renderToReadableStream=t.renderToReadableStream,Fl}var iPe=nPe();const aPe={getSvg(e){const t=e;return iPe.renderToStaticMarkup(V.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},oPe="d-inline-block svg-container",sPe="span";var Zs=(e=>(e.Standard="std",e.XXS="xxs",e.ExtraSmall="xs",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg",e))(Zs||{});function Ri(e){const{svg:t,className:r=oPe,tagName:n=sPe,size:i="std",onClick:a,title:o,tooltipSpanHackClassName:s,tooltipPlacement:l="right",tooltipSpanHack:c=!1,tooltipShow:d}=e,h=n,v={className:`${r} ${i}`,onClick:gi.isFunction(a)?a:null},g=t;return V.jsx(tc,{title:o,placement:l,spanHack:c,spanHackClassName:s,show:d,children:V.jsx(h,{...v,children:V.jsx(g,{...aPe.getCommonSvgProps()})})})}const uPe="_alertItem_i5y1z_1",lPe="_alertBox_i5y1z_11",cPe="_alertList_i5y1z_11",fPe="_icon_i5y1z_28",dPe="_alertContent_i5y1z_32",hPe="_heading_i5y1z_40",Qc={alertItem:uPe,alertBox:lPe,alertList:cPe,icon:fPe,alertContent:dPe,heading:hPe};function vPe(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:a,heading:o,appLink:s,appLinkText:l,appLinkClassName:c="",extLink:d,extLinkText:h,extLinkClassName:v}=t;return V.jsxs(V.Fragment,{children:[V.jsx("div",{className:`d-inline-block ${Qc.icon}`,children:V.jsx(Ri,{svg:r,className:`svg-container ${n}`})}),V.jsxs("div",{role:t.type===Xs.Fail?"alert":"status",className:`ps-2 d-inline-block ${Qc.alertContent}`,children:[V.jsx("p",{className:`p-0 m-0 pb-1 ${Qc.heading}`,children:o}),V.jsx("p",{className:`p-0 text-break clamp-4 ${Qc.message}`,dangerouslySetInnerHTML:{__html:a}}),!!s&&V.jsx(os,{className:c,appLink:s,children:V.jsx("span",{dangerouslySetInnerHTML:{__html:l}})}),!!d&&h&&V.jsx("a",{href:d,className:v,target:"_blank",children:h})]}),V.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const pPe=e=>{switch(e.type){case Xs.Success:return jAe;case Xs.Fail:case Xs.Warning:return VAe;case Xs.Pending:return qAe;case Xs.Info:default:return UAe}},gPe=e=>e.type===Xs.Pending?"text-info":`text-${e.type}`;joe.defaultProps={timeout:3e3};function joe({alert:e,closeAlert:t,timeout:r}){const[n,i]=pe.useState(!0),a=pe.useRef(null);return pe.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),V.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Qc.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:V.jsx(vPe,{alert:e,svg:pPe(e),svgClassName:gPe(e),closeAlert:t})})}function mPe({alerts:e,removeAlert:t}){return V.jsx("div",{className:Qc.alertBox,children:V.jsx(Sk,{component:"ul",className:`${Qc.alertList} list-unstyled`,children:e&&e.map((r,n)=>V.jsx(yk,{timeout:200,classNames:"alert",children:V.jsx(joe,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}const rP={STANDARD:600},JQ={LOCALE:"locale",PHRASES:"phrases"};class yPe extends Pae{get name(){return sCe.Language}get channelName(){return gAe.LANGUAGE}getLanguageConfig(t){const r={locale:"",phrases:null};this.get({resource:"/api/locale",eventPrefix:JQ.LOCALE,expiryTime:rP.STANDARD,bootstrapName:cl.LOCALE,callback:n=>{r.locale=n,r.phrases&&an(t)&&t(r)}}),this.get({resource:"/api/phrases",eventPrefix:JQ.PHRASES,expiryTime:rP.STANDARD,bootstrapName:cl.PHRASES,callback:n=>{r.phrases=n,r.locale&&an(t)&&t(r)}})}}const nP={Success:"Success! 🙌",Fail:"Oops..."};async function _Pe(e,t){const r={maxAlerts:3,defaultSuccessAlert:{heading:nP.Success,type:Xs.Success},defaultErrorAlert:{heading:nP.Fail,type:Xs.Fail},alertViewCtor:mPe};Qs.registerSingleton(new QCe(r)).registerInstance(AAe,{store:e.store});const n=Qs.getInstance(Vp.ALERT),i={cache:tp.Fifo,dataProvider:rp.Ajax,bootstrapData:window.bootstrapData,defaultErrorHandler:n.error({useXHR:!0}),alertService:n};Qs.registerDataService(yPe,i),t(e),delete window.bootstrapData}const pm="shared.chunkLoadError",SPe=/\/([^\s/]+\.css)/,EPe=/\/([^\s/]+\.js)/;class ZQ extends Ff{constructor(t,r,n){super(pr.getPhrase(pm,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:pr.getPhrase(pm,"heading",{product:this.product}),text:pr.getPhrase(pm,"body"),buttons:[{text:pr.getPhrase(pm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}function wPe(e,t){window.addEventListener("error",r=>{var s,l;const n=((s=r==null?void 0:r.target)==null?void 0:s.src)||((l=r==null?void 0:r.target)==null?void 0:l.href);if(!n)return;const i=c=>(c==null?void 0:c[1])??"Unknown Chunk",a=n.match(EPe);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new ZQ(e,i(a),t));return}const o=n.match(SPe);if(o&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new ZQ(e,i(o),t));return}},!0)}const fO="shared.videoNotFoundError";class bPe extends $f{constructor(){super(pr.getPhrase(fO,"title"))}get name(){return"VideoNotFoundError"}get heading(){return pr.getPhrase(fO,"heading")}get description(){return pr.getPhrase(fO,"description")}}function TPe(e){Qs.getInstance(Vp.ALERT).createAlert({heading:nP.Fail,type:Xs.Fail,message:e.message})}function eJ(e){Lr.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Zr.Default.NOT_FOUND})}function RPe(e){Lr.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Zr.Default.NO_CLASSROOMS_ERROR})}function tJ(e){Lr.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Zr.Default.ERROR})}function xPe(e){Lr.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Zr.Default.DIALOG_ERROR})}function CPe(e,t){e.registerErrorHandler(Ff,xPe).registerErrorHandler(Dae,TPe).registerErrorHandler(Iae,eJ).registerErrorHandler(uf,tJ).registerErrorHandler(bPe,eJ).registerErrorHandler(Oae,RPe).registerErrorHandler($f,tJ),wPe("dark"),t()}class APe extends vwe{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return sr&&sr.isValidElement(t)}showChildView(t,r,n){if(this.isReactComponent(r)){this.showChildReactComponent(t,r),this.isReactComponentRendered[t]=!0;return}this.isReactComponentRendered[t]&&this.unmountRoot(t),super.showChildView(t,r,n),this.isReactComponentRendered[t]=!1}showChildReactComponent(t,r){if(this.isAttached()){this.renderChildReactComponent(t,r);return}this.listenToOnce(this,"attach",()=>this.renderChildReactComponent(t,r))}renderChildReactComponent(t,r){const n=this.getRegion(t),i=this.$el.find(n.el);!i||!i.length||(n.trigger("before:show"),this.regionRoots[t]||(this.regionRoots[t]=kk.createRoot(i[0])),this.regionRoots[t].render(r),window.setTimeout(()=>n.trigger("show"),0),this.listenToOnce(this,`unmount:${t}`,()=>this.unmountRoot(t)),this.listenToOnce(this,"before:destroy",()=>this.unmountRoot(t)))}unmountRoot(t){this.regionRoots[t]&&(this.regionRoots[t].unmount(),delete this.regionRoots[t])}wrapWithStore(t){return V.jsx(Yie,{store:this.options.store,children:t})}}var dO,rJ;function OPe(){if(rJ)return dO;rJ=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){if(a.constructor!==o.constructor)return!1;var s,l,c;if(Array.isArray(a)){if(s=a.length,s!=o.length)return!1;for(l=s;l--!==0;)if(!i(a[l],o[l]))return!1;return!0}var d;if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!o.has(l.value[0]))return!1;for(d=a.entries();!(l=d.next()).done;)if(!i(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(s=a.length,s!=o.length)return!1;for(l=s;l--!==0;)if(a[l]!==o[l])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof o.valueOf=="function")return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof o.toString=="function")return a.toString()===o.toString();if(c=Object.keys(a),s=c.length,s!==Object.keys(o).length)return!1;for(l=s;l--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(e&&a instanceof Element)return!1;for(l=s;l--!==0;)if(!((c[l]==="_owner"||c[l]==="__v"||c[l]==="__o")&&a.$$typeof)&&!i(a[c[l]],o[c[l]]))return!1;return!0}return a!==a&&o!==o}return dO=function(o,s){try{return i(o,s)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},dO}var IPe=OPe();const PPe=Bn(IPe);var hO,nJ;function DPe(){return nJ||(nJ=1,hO=function(t,r,n,i){var a=n?n.call(i,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var o=Object.keys(t),s=Object.keys(r);if(o.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),c=0;c<o.length;c++){var d=o[c];if(!l(d))return!1;var h=t[d],v=r[d];if(a=n?n.call(i,h,v,d):void 0,a===!1||a===void 0&&h!==v)return!1}return!0}),hO}var kPe=DPe();const NPe=Bn(kPe);function Xi(){return Xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xi.apply(this,arguments)}function Lk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,iP(e,t)}function iP(e,t){return iP=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},iP(e,t)}function iJ(e,t){if(e==null)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(i[r]=e[r]);return i}var $r={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},LPe={rel:["amphtml","canonical","alternate"]},MPe={type:["application/ld+json"]},$Pe={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},aJ=Object.keys($r).map(function(e){return $r[e]}),by={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},FPe=Object.keys(by).reduce(function(e,t){return e[by[t]]=t,e},{}),Ud=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},jPe=function(e){var t=Ud(e,$r.TITLE),r=Ud(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Ud(e,"defaultTitle");return t||n||void 0},UPe=function(e){return Ud(e,"onChangeClientState")||function(){}},vO=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Xi({},r,n)},{})},qPe=function(e,t){return t.filter(function(r){return r[$r.BASE]!==void 0}).map(function(r){return r[$r.BASE]}).reverse().reduce(function(r,n){if(!r.length)for(var i=Object.keys(n),a=0;a<i.length;a+=1){var o=i[a].toLowerCase();if(e.indexOf(o)!==-1&&n[o])return r.concat(n)}return r},[])},uv=function(e,t,r){var n={};return r.filter(function(i){return!!Array.isArray(i[e])||(i[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof i[e]+'"'),!1)}).map(function(i){return i[e]}).reverse().reduce(function(i,a){var o={};a.filter(function(h){for(var v,g=Object.keys(h),S=0;S<g.length;S+=1){var E=g[S],y=E.toLowerCase();t.indexOf(y)===-1||v==="rel"&&h[v].toLowerCase()==="canonical"||y==="rel"&&h[y].toLowerCase()==="stylesheet"||(v=y),t.indexOf(E)===-1||E!=="innerHTML"&&E!=="cssText"&&E!=="itemprop"||(v=E)}if(!v||!h[v])return!1;var w=h[v].toLowerCase();return n[v]||(n[v]={}),o[v]||(o[v]={}),!n[v][w]&&(o[v][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var s=Object.keys(o),l=0;l<s.length;l+=1){var c=s[l],d=Xi({},n[c],o[c]);n[c]=d}return i},[]).reverse()},VPe=function(e,t){if(Array.isArray(e)&&e.length){for(var r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},Uoe=function(e){return Array.isArray(e)?e.join(""):e},pO=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,a){for(var o=Object.keys(i),s=0;s<o.length;s+=1)if(a[o[s]]&&a[o[s]].includes(i[o[s]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},oJ=function(e,t){var r;return Xi({},e,((r={})[t]=void 0,r))},BPe=[$r.NOSCRIPT,$r.SCRIPT,$r.STYLE],gO=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},sJ=function(e){return Object.keys(e).reduce(function(t,r){var n=e[r]!==void 0?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n},"")},uJ=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[by[n]||n]=e[n],r},t)},Ym=function(e,t){return t.map(function(r,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(o){var s=by[o]||o;s==="innerHTML"||s==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[s]=r[o]}),sr.createElement(e,a)})},Cs=function(e,t,r){switch(e){case $r.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,o=uJ(i,a),[sr.createElement($r.TITLE,o,n)];var n,i,a,o},toString:function(){return(function(n,i,a,o){var s=sJ(a),l=Uoe(i);return s?"<"+n+' data-rh="true" '+s+">"+gO(l,o)+"</"+n+">":"<"+n+' data-rh="true">'+gO(l,o)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return uJ(t)},toString:function(){return sJ(t)}};default:return{toComponent:function(){return Ym(e,t)},toString:function(){return(function(n,i,a){return i.reduce(function(o,s){var l=Object.keys(s).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,v){var g=s[v]===void 0?v:v+'="'+gO(s[v],a)+'"';return h?h+" "+g:g},""),c=s.innerHTML||s.cssText||"",d=BPe.indexOf(n)===-1;return o+"<"+n+' data-rh="true" '+l+(d?"/>":">"+c+"</"+n+">")},"")})(e,t,r)}}}},aP=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,s=e.title,l=s===void 0?"":s,c=e.titleAttributes,d=e.linkTags,h=e.metaTags,v=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var S=(function(E){var y=E.linkTags,w=E.scriptTags,b=E.encode,A=pO(E.metaTags,$Pe),R=pO(y,LPe),C=pO(w,MPe);return{priorityMethods:{toComponent:function(){return[].concat(Ym($r.META,A.priority),Ym($r.LINK,R.priority),Ym($r.SCRIPT,C.priority))},toString:function(){return Cs($r.META,A.priority,b)+" "+Cs($r.LINK,R.priority,b)+" "+Cs($r.SCRIPT,C.priority,b)}},metaTags:A.default,linkTags:R.default,scriptTags:C.default}})(e);g=S.priorityMethods,d=S.linkTags,h=S.metaTags,v=S.scriptTags}return{priority:g,base:Cs($r.BASE,t,n),bodyAttributes:Cs("bodyAttributes",r,n),htmlAttributes:Cs("htmlAttributes",i,n),link:Cs($r.LINK,d,n),meta:Cs($r.META,h,n),noscript:Cs($r.NOSCRIPT,a,n),script:Cs($r.SCRIPT,v,n),style:Cs($r.STYLE,o,n),title:Cs($r.TITLE,{title:l,titleAttributes:c},n)}},gm=[],oP=function(e,t){var r=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){r.context.helmet=n},helmetInstances:{get:function(){return r.canUseDOM?gm:r.instances},add:function(n){(r.canUseDOM?gm:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?gm:r.instances).indexOf(n);(r.canUseDOM?gm:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=aP({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},qoe=sr.createContext({}),HPe=Kr.shape({setHelmet:Kr.func,helmetInstances:Kr.shape({get:Kr.func,add:Kr.func,remove:Kr.func})}),zPe=typeof document<"u",kd=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new oP(n.props.context,t.canUseDOM),n}return Lk(t,e),t.prototype.render=function(){return sr.createElement(qoe.Provider,{value:this.helmetData.value},this.props.children)},t})(pe.Component);kd.canUseDOM=zPe,kd.propTypes={context:Kr.shape({helmet:Kr.shape()}),children:Kr.node.isRequired},kd.defaultProps={context:{}},kd.displayName="HelmetProvider";var Ed=function(e,t){var r,n=document.head||document.querySelector($r.HEAD),i=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(s){var l=document.createElement(e);for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(c==="innerHTML"?l.innerHTML=s.innerHTML:c==="cssText"?l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText)):l.setAttribute(c,s[c]===void 0?"":s[c]));l.setAttribute("data-rh","true"),a.some(function(d,h){return r=h,l.isEqualNode(d)})?a.splice(r,1):o.push(l)}),a.forEach(function(s){return s.parentNode.removeChild(s)}),o.forEach(function(s){return n.appendChild(s)}),{oldTags:a,newTags:o}},mO=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],a=[].concat(i),o=Object.keys(t),s=0;s<o.length;s+=1){var l=o[s],c=t[l]||"";r.getAttribute(l)!==c&&r.setAttribute(l,c),i.indexOf(l)===-1&&i.push(l);var d=a.indexOf(l);d!==-1&&a.splice(d,1)}for(var h=a.length-1;h>=0;h-=1)r.removeAttribute(a[h]);i.length===a.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==o.join(",")&&r.setAttribute("data-rh",o.join(","))}},lJ=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;mO($r.BODY,e.bodyAttributes),mO($r.HTML,n),(function(E,y){E!==void 0&&document.title!==E&&(document.title=Uoe(E)),mO($r.TITLE,y)})(d,h);var v={baseTag:Ed($r.BASE,r),linkTags:Ed($r.LINK,i),metaTags:Ed($r.META,a),noscriptTags:Ed($r.NOSCRIPT,o),scriptTags:Ed($r.SCRIPT,l),styleTags:Ed($r.STYLE,c)},g={},S={};Object.keys(v).forEach(function(E){var y=v[E],w=y.newTags,b=y.oldTags;w.length&&(g[E]=w),b.length&&(S[E]=v[E].oldTags)}),t&&t(),s(e,g,S)},lv=null,Ty=(function(e){function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(n=e.call.apply(e,[this].concat(a))||this).rendered=!1,n}Lk(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!NPe(n,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var n,i,a=this.props.context,o=a.setHelmet,s=null,l=(n=a.helmetInstances.get().map(function(c){var d=Xi({},c.props);return delete d.context,d}),{baseTag:qPe(["href"],n),bodyAttributes:vO("bodyAttributes",n),defer:Ud(n,"defer"),encode:Ud(n,"encodeSpecialCharacters"),htmlAttributes:vO("htmlAttributes",n),linkTags:uv($r.LINK,["rel","href"],n),metaTags:uv($r.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:uv($r.NOSCRIPT,["innerHTML"],n),onChangeClientState:UPe(n),scriptTags:uv($r.SCRIPT,["src","innerHTML"],n),styleTags:uv($r.STYLE,["cssText"],n),title:jPe(n),titleAttributes:vO("titleAttributes",n),prioritizeSeoTags:VPe(n,"prioritizeSeoTags")});kd.canUseDOM?(i=l,lv&&cancelAnimationFrame(lv),i.defer?lv=requestAnimationFrame(function(){lJ(i,function(){lv=null})}):(lJ(i),lv=null)):aP&&(s=aP(l)),o(s)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(pe.Component);Ty.propTypes={context:HPe.isRequired},Ty.displayName="HelmetDispatcher";var WPe=["children"],GPe=["children"],Km=(function(e){function t(){return e.apply(this,arguments)||this}Lk(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!PPe(oJ(this.props,"helmetData"),oJ(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case $r.SCRIPT:case $r.NOSCRIPT:return{innerHTML:i};case $r.STYLE:return{cssText:i};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(n){var i,a=n.child,o=n.arrayTypeChildren;return Xi({},o,((i={})[a.type]=[].concat(o[a.type]||[],[Xi({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,a,o=n.child,s=n.newProps,l=n.newChildProps,c=n.nestedChildren;switch(o.type){case $r.TITLE:return Xi({},s,((i={})[o.type]=c,i.titleAttributes=Xi({},l),i));case $r.BODY:return Xi({},s,{bodyAttributes:Xi({},l)});case $r.HTML:return Xi({},s,{htmlAttributes:Xi({},l)});default:return Xi({},s,((a={})[o.type]=Xi({},l),a))}},r.mapArrayTypeChildrenToProps=function(n,i){var a=Xi({},i);return Object.keys(n).forEach(function(o){var s;a=Xi({},a,((s={})[o]=n[o],s))}),a},r.warnOnInvalidChildren=function(n,i){return DQ(aJ.some(function(a){return n.type===a}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+aJ.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),DQ(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(n,i){var a=this,o={};return sr.Children.forEach(n,function(s){if(s&&s.props){var l=s.props,c=l.children,d=iJ(l,WPe),h=Object.keys(d).reduce(function(g,S){return g[FPe[S]||S]=d[S],g},{}),v=s.type;switch(typeof v=="symbol"?v=v.toString():a.warnOnInvalidChildren(s,c),v){case $r.FRAGMENT:i=a.mapChildrenToProps(c,i);break;case $r.LINK:case $r.META:case $r.NOSCRIPT:case $r.SCRIPT:case $r.STYLE:o=a.flattenArrayTypeChildren({child:s,arrayTypeChildren:o,newChildProps:h,nestedChildren:c});break;default:i=a.mapObjectTypeChildren({child:s,newProps:i,newChildProps:h,nestedChildren:c})}}}),this.mapArrayTypeChildrenToProps(o,i)},r.render=function(){var n=this.props,i=n.children,a=iJ(n,GPe),o=Xi({},a),s=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!s||s instanceof oP||(s=new oP(s.context,s.instances)),s?sr.createElement(Ty,Xi({},o,{context:s.value,helmetData:void 0})):sr.createElement(qoe.Consumer,null,function(l){return sr.createElement(Ty,Xi({},o,{context:l}))})},t})(pe.Component);Km.propTypes={base:Kr.object,bodyAttributes:Kr.object,children:Kr.oneOfType([Kr.arrayOf(Kr.node),Kr.node]),defaultTitle:Kr.string,defer:Kr.bool,encodeSpecialCharacters:Kr.bool,htmlAttributes:Kr.object,link:Kr.arrayOf(Kr.object),meta:Kr.arrayOf(Kr.object),noscript:Kr.arrayOf(Kr.object),onChangeClientState:Kr.func,script:Kr.arrayOf(Kr.object),style:Kr.arrayOf(Kr.object),title:Kr.string,titleAttributes:Kr.object,titleTemplate:Kr.string,prioritizeSeoTags:Kr.bool,helmetData:Kr.object},Km.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Km.displayName="Helmet";const Voe=sr.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function cJ(e,t){return!Ui.isEqual(e,t)}function YPe(){return sr.useContext(Voe)}const KPe=e=>{const[t,r]=sr.useState({}),[n,i]=sr.useState({}),[a,o]=sr.useState(null),{title:s,description:l,canonicalLink:c,jsonLd:d,allowIndexing:h,hrefLang:v,preload:g}=t;function S(b){cJ(t,n)&&i(t),r(b)}function E(){r(n)}function y(b){return cJ(b,t)}function w(b){o(b)}return V.jsx(Voe.Provider,{value:{setPageMetadata:S,revertPageMetadata:E,hasPageMetadataChanged:y,setFaq:w,hasProvider:!0},children:V.jsxs(kd,{children:[V.jsxs(Km,{children:[s&&V.jsx("title",{children:s}),l&&V.jsx("meta",{name:"description",content:l}),c&&V.jsx("link",{rel:"canonical",href:c}),d&&V.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),a&&V.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),!h&&V.jsx("meta",{name:"robots",content:"noindex"}),v&&(v==null?void 0:v.map((b,A)=>V.jsx("link",{rel:"alternate",hrefLang:b.hrefLang,href:b.canonicalLink},A))),g&&(g==null?void 0:g.map((b,A)=>{const R={};return b.crossorigin&&(R.crossOrigin="true"),b.media&&(R.media=b.media),b.type&&(R.type=b.type),V.jsx("link",{rel:"preload",href:b.href,as:b.as,...R},`preload-${A}`)}))]}),e.children]})})};class yO extends sr.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(vr.throw(new this.props.throwError(t.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){const{error:t}=this.state;if(t&&this.props.renderError){const r=this.props.renderError;return V.jsx(r,{})}return t||!this.props.children?V.jsx(V.Fragment,{}):this.props.children}}function ts(e){const[t,r]=pe.useState(window.matchMedia(e).matches);return pe.useEffect(()=>{const n=window.matchMedia(e);n.matches!==t&&r(n.matches);const i=()=>r(n.matches);return n.addListener(i),()=>n.removeListener(i)},[e]),t}const XPe=sr.createContext({}),QPe=e=>{const t=ts("(max-width: 575.98px)"),r=ts("(min-width: 576px) and (max-width: 767.98px)"),n=ts("(min-width: 768px) and (max-width: 991.98px)"),i=ts("(min-width: 992px) and (max-width: 1199.98px)"),a=ts("(min-width: 1200px) and (max-width: 1439.98px)"),o=ts("(min-width: 1440px)"),s=sr.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:a,xxl:o}),[t,r,n,i,a,o]);return V.jsx(XPe.Provider,{value:s,children:e.children})},Boe=pe.createContext(void 0),JPe=({children:e})=>{const[t,r]=pe.useState(),[n,i]=pe.useState(!1),[a,o]=pe.useState(),d={getDataUrlAndResetContext:()=>{const h=t;return r(null),h},setDataUrl:r,imageUploaded:n,getImage:()=>{const h=a;return o(null),i(!1),h},setImage:h=>{o(h),i(!0)}};return V.jsx(Boe.Provider,{value:d,children:e})};var fa=(e=>(e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)",e))(fa||{});const _O="shared.unspecifiedDialogError";class ZPe extends Ff{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:pr.getPhrase(_O,"title"),text:pr.getPhrase(_O,"body"),buttons:[{text:pr.getPhrase(_O,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}function eDe(){const e=ts(fa.XS),t=ts(fa.SM),r=ts(fa.MD),n=ts(fa.LG),i=ts(fa.XL),a=ts(fa.XXL);let o=fa.LG;return e&&(o=fa.XS),t&&(o=fa.SM),r&&(o=fa.MD),n&&(o=fa.LG),i&&(o=fa.XL),a&&(o=fa.XXL),o}const tDe="_iconButton_1no8y_1",rDe="_iconWithText_1no8y_5",nDe="_svg_1no8y_9",iDe="_iconOnly_1no8y_21",aDe="_iconBorder_1no8y_30",cv={iconButton:tDe,iconWithText:rDe,svg:nDe,iconOnly:iDe,iconBorder:aDe};function sP(e){let t=`${e.className} ${cv.iconButton}`;pe.Children.toArray(e.children).length?t+=` ${cv.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${cv.iconOnly}`),e.showBorder&&(t+=` ${cv.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=V.jsx(Ri,{svg:e.svg,className:`svg-container ${cv.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&Ea.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a)}function i(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&Ea.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a),Yn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?V.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?V.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):V.jsxs(os,{appLink:e.appLink,className:t,onClick:e.onClick,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,role:e.role,children:[r,e.children]})}function oDe(e){const t=e.showSpinner?V.jsx(Gp,{as:"span",animation:"border",role:"status",size:"sm"}):e.children;if(e.tooltip&&e.svg){let n=e.className??"";return e.disabled&&!e.appLink&&(n+=" pointer-events-none"),V.jsx(tc,{title:e.tooltip,spanHack:!0,children:V.jsx(sP,{appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,onClick:e.onClick,className:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})})}if(e.svg)return V.jsx(sP,{onClick:e.onClick,appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});if(e.tooltip&&e.appLink)return V.jsx(tc,{title:e.tooltip,spanHack:!0,children:V.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})});if(e.appLink)return V.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});function r(n){e.analyticsData&&e.analyticsOptions&&Ea.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?V.jsx(tc,{title:e.tooltip,spanHack:!0,children:V.jsx("button",{onClick:r,className:`${e.className??""}${e.disabled?" pointer-events-none":""}`,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}):V.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const sDe=(e,t,r,n=[])=>{const i=typeof e=="string"?Lr.Radio.channel(e):e;pe.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function Hoe(e){sr.useEffect(()=>{e&&t(Kn.getCurrentAppLink(),e)},[e]);function t(n,i){const a=Kn.getHref(n);Ea.logUserAction({title:i,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:jt.PageView,entity:En.Url,location:Pa.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((a,o,s)=>(a[`arg${s}`]=o,a),{})}}}function uDe(){return V.jsx("div",{className:"text-center p-5",children:V.jsx(Gp,{as:"div",animation:"border",role:"status"})})}zoe.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function zoe(e){var n;Hoe(e.title);const t=(i,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};sDe(kn.SHELL,Nn.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,a)=>V.jsx(oDe,{...i},a)):V.jsx(V.Fragment,{});return V.jsxs(dm,{show:!0,onHide:e.closePopup,onEntered:e.onEntered,size:e.size==="md"?null:e.size,contentClassName:e.contentClassName,dialogClassName:e.dialogClassName,centered:e.centered,backdrop:e.backdrop,container:document.getElementById("dialog-region"),restoreFocus:!0,animation:e.animation,children:[!!e.title&&!e.hideTitle&&V.jsxs(dm.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[V.jsx(dm.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?V.jsx(uDe,{}):V.jsx(dm.Body,{className:e.bodyClassName,children:e.children})]})}var SO,fJ;function lDe(){if(fJ)return SO;fJ=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){var s=e(a),l=e(o),c,d,h;if(s&&l){if(d=a.length,d!=o.length)return!1;for(c=d;c--!==0;)if(!i(a[c],o[c]))return!1;return!0}if(s!=l)return!1;var v=a instanceof Date,g=o instanceof Date;if(v!=g)return!1;if(v&&g)return a.getTime()==o.getTime();var S=a instanceof RegExp,E=o instanceof RegExp;if(S!=E)return!1;if(S&&E)return a.toString()==o.toString();var y=t(a);if(d=y.length,d!==t(o).length)return!1;for(c=d;c--!==0;)if(!r.call(o,y[c]))return!1;if(n&&a instanceof Element&&o instanceof Element)return a===o;for(c=d;c--!==0;)if(h=y[c],!(h==="_owner"&&a.$$typeof)&&!i(a[h],o[h]))return!1;return!0}return a!==a&&o!==o}return SO=function(o,s){try{return i(o,s)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},SO}var cDe=lDe();const Yl=Bn(cDe);var fDe=function(t){return dDe(t)&&!hDe(t)};function dDe(e){return!!e&&typeof e=="object"}function hDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||gDe(e)}var vDe=typeof Symbol=="function"&&Symbol.for,pDe=vDe?Symbol.for("react.element"):60103;function gDe(e){return e.$$typeof===pDe}function mDe(e){return Array.isArray(e)?[]:{}}function Ry(e,t){return t.clone!==!1&&t.isMergeableObject(e)?op(mDe(e),e,t):e}function yDe(e,t,r){return e.concat(t).map(function(n){return Ry(n,r)})}function _De(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Ry(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Ry(t[i],r):n[i]=op(e[i],t[i],r)}),n}function op(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||yDe,r.isMergeableObject=r.isMergeableObject||fDe;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):_De(e,t,r):Ry(t,r)}op.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return op(n,i,r)},{})};var uP=op,Woe=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,SDe=typeof self=="object"&&self&&self.Object===Object&&self,ku=Woe||SDe||Function("return this")(),oc=ku.Symbol,Goe=Object.prototype,EDe=Goe.hasOwnProperty,wDe=Goe.toString,fv=oc?oc.toStringTag:void 0;function bDe(e){var t=EDe.call(e,fv),r=e[fv];try{e[fv]=void 0;var n=!0}catch{}var i=wDe.call(e);return n&&(t?e[fv]=r:delete e[fv]),i}var TDe=Object.prototype,RDe=TDe.toString;function xDe(e){return RDe.call(e)}var CDe="[object Null]",ADe="[object Undefined]",dJ=oc?oc.toStringTag:void 0;function Uf(e){return e==null?e===void 0?ADe:CDe:dJ&&dJ in Object(e)?bDe(e):xDe(e)}function Yoe(e,t){return function(r){return e(t(r))}}var Mk=Yoe(Object.getPrototypeOf,Object);function qf(e){return e!=null&&typeof e=="object"}var ODe="[object Object]",IDe=Function.prototype,PDe=Object.prototype,Koe=IDe.toString,DDe=PDe.hasOwnProperty,kDe=Koe.call(Object);function hJ(e){if(!qf(e)||Uf(e)!=ODe)return!1;var t=Mk(e);if(t===null)return!0;var r=DDe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Koe.call(r)==kDe}function NDe(){this.__data__=[],this.size=0}function Xoe(e,t){return e===t||e!==e&&t!==t}function h0(e,t){for(var r=e.length;r--;)if(Xoe(e[r][0],t))return r;return-1}var LDe=Array.prototype,MDe=LDe.splice;function $De(e){var t=this.__data__,r=h0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():MDe.call(t,r,1),--this.size,!0}function FDe(e){var t=this.__data__,r=h0(t,e);return r<0?void 0:t[r][1]}function jDe(e){return h0(this.__data__,e)>-1}function UDe(e,t){var r=this.__data__,n=h0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function El(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}El.prototype.clear=NDe;El.prototype.delete=$De;El.prototype.get=FDe;El.prototype.has=jDe;El.prototype.set=UDe;function qDe(){this.__data__=new El,this.size=0}function VDe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function BDe(e){return this.__data__.get(e)}function HDe(e){return this.__data__.has(e)}function Yp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zDe="[object AsyncFunction]",WDe="[object Function]",GDe="[object GeneratorFunction]",YDe="[object Proxy]";function Qoe(e){if(!Yp(e))return!1;var t=Uf(e);return t==WDe||t==GDe||t==zDe||t==YDe}var EO=ku["__core-js_shared__"],vJ=(function(){var e=/[^.]+$/.exec(EO&&EO.keys&&EO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function KDe(e){return!!vJ&&vJ in e}var XDe=Function.prototype,QDe=XDe.toString;function Vf(e){if(e!=null){try{return QDe.call(e)}catch{}try{return e+""}catch{}}return""}var JDe=/[\\^$.*+?()[\]{}|]/g,ZDe=/^\[object .+?Constructor\]$/,eke=Function.prototype,tke=Object.prototype,rke=eke.toString,nke=tke.hasOwnProperty,ike=RegExp("^"+rke.call(nke).replace(JDe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ake(e){if(!Yp(e)||KDe(e))return!1;var t=Qoe(e)?ike:ZDe;return t.test(Vf(e))}function oke(e,t){return e==null?void 0:e[t]}function Bf(e,t){var r=oke(e,t);return ake(r)?r:void 0}var sp=Bf(ku,"Map"),up=Bf(Object,"create");function ske(){this.__data__=up?up(null):{},this.size=0}function uke(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lke="__lodash_hash_undefined__",cke=Object.prototype,fke=cke.hasOwnProperty;function dke(e){var t=this.__data__;if(up){var r=t[e];return r===lke?void 0:r}return fke.call(t,e)?t[e]:void 0}var hke=Object.prototype,vke=hke.hasOwnProperty;function pke(e){var t=this.__data__;return up?t[e]!==void 0:vke.call(t,e)}var gke="__lodash_hash_undefined__";function mke(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=up&&t===void 0?gke:t,this}function cf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}cf.prototype.clear=ske;cf.prototype.delete=uke;cf.prototype.get=dke;cf.prototype.has=pke;cf.prototype.set=mke;function yke(){this.size=0,this.__data__={hash:new cf,map:new(sp||El),string:new cf}}function _ke(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function v0(e,t){var r=e.__data__;return _ke(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ske(e){var t=v0(this,e).delete(e);return this.size-=t?1:0,t}function Eke(e){return v0(this,e).get(e)}function wke(e){return v0(this,e).has(e)}function bke(e,t){var r=v0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function mc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}mc.prototype.clear=yke;mc.prototype.delete=Ske;mc.prototype.get=Eke;mc.prototype.has=wke;mc.prototype.set=bke;var Tke=200;function Rke(e,t){var r=this.__data__;if(r instanceof El){var n=r.__data__;if(!sp||n.length<Tke-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new mc(n)}return r.set(e,t),this.size=r.size,this}function Ph(e){var t=this.__data__=new El(e);this.size=t.size}Ph.prototype.clear=qDe;Ph.prototype.delete=VDe;Ph.prototype.get=BDe;Ph.prototype.has=HDe;Ph.prototype.set=Rke;function xke(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var pJ=(function(){try{var e=Bf(Object,"defineProperty");return e({},"",{}),e}catch{}})();function Joe(e,t,r){t=="__proto__"&&pJ?pJ(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Cke=Object.prototype,Ake=Cke.hasOwnProperty;function Zoe(e,t,r){var n=e[t];(!(Ake.call(e,t)&&Xoe(n,r))||r===void 0&&!(t in e))&&Joe(e,t,r)}function p0(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=void 0;l===void 0&&(l=e[s]),i?Joe(r,s,l):Zoe(r,s,l)}return r}function Oke(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Ike="[object Arguments]";function gJ(e){return qf(e)&&Uf(e)==Ike}var ese=Object.prototype,Pke=ese.hasOwnProperty,Dke=ese.propertyIsEnumerable,kke=gJ((function(){return arguments})())?gJ:function(e){return qf(e)&&Pke.call(e,"callee")&&!Dke.call(e,"callee")},Kp=Array.isArray;function Nke(){return!1}var tse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mJ=tse&&typeof module=="object"&&module&&!module.nodeType&&module,Lke=mJ&&mJ.exports===tse,yJ=Lke?ku.Buffer:void 0,Mke=yJ?yJ.isBuffer:void 0,rse=Mke||Nke,$ke=9007199254740991,Fke=/^(?:0|[1-9]\d*)$/;function jke(e,t){var r=typeof e;return t=t??$ke,!!t&&(r=="number"||r!="symbol"&&Fke.test(e))&&e>-1&&e%1==0&&e<t}var Uke=9007199254740991;function nse(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Uke}var qke="[object Arguments]",Vke="[object Array]",Bke="[object Boolean]",Hke="[object Date]",zke="[object Error]",Wke="[object Function]",Gke="[object Map]",Yke="[object Number]",Kke="[object Object]",Xke="[object RegExp]",Qke="[object Set]",Jke="[object String]",Zke="[object WeakMap]",eNe="[object ArrayBuffer]",tNe="[object DataView]",rNe="[object Float32Array]",nNe="[object Float64Array]",iNe="[object Int8Array]",aNe="[object Int16Array]",oNe="[object Int32Array]",sNe="[object Uint8Array]",uNe="[object Uint8ClampedArray]",lNe="[object Uint16Array]",cNe="[object Uint32Array]",Ti={};Ti[rNe]=Ti[nNe]=Ti[iNe]=Ti[aNe]=Ti[oNe]=Ti[sNe]=Ti[uNe]=Ti[lNe]=Ti[cNe]=!0;Ti[qke]=Ti[Vke]=Ti[eNe]=Ti[Bke]=Ti[tNe]=Ti[Hke]=Ti[zke]=Ti[Wke]=Ti[Gke]=Ti[Yke]=Ti[Kke]=Ti[Xke]=Ti[Qke]=Ti[Jke]=Ti[Zke]=!1;function fNe(e){return qf(e)&&nse(e.length)&&!!Ti[Uf(e)]}function $k(e){return function(t){return e(t)}}var ise=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Fv=ise&&typeof module=="object"&&module&&!module.nodeType&&module,dNe=Fv&&Fv.exports===ise,wO=dNe&&Woe.process,Xd=(function(){try{var e=Fv&&Fv.require&&Fv.require("util").types;return e||wO&&wO.binding&&wO.binding("util")}catch{}})(),_J=Xd&&Xd.isTypedArray,hNe=_J?$k(_J):fNe,vNe=Object.prototype,pNe=vNe.hasOwnProperty;function ase(e,t){var r=Kp(e),n=!r&&kke(e),i=!r&&!n&&rse(e),a=!r&&!n&&!i&&hNe(e),o=r||n||i||a,s=o?Oke(e.length,String):[],l=s.length;for(var c in e)(t||pNe.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||jke(c,l)))&&s.push(c);return s}var gNe=Object.prototype;function Fk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||gNe;return e===r}var mNe=Yoe(Object.keys,Object),yNe=Object.prototype,_Ne=yNe.hasOwnProperty;function SNe(e){if(!Fk(e))return mNe(e);var t=[];for(var r in Object(e))_Ne.call(e,r)&&r!="constructor"&&t.push(r);return t}function ose(e){return e!=null&&nse(e.length)&&!Qoe(e)}function jk(e){return ose(e)?ase(e):SNe(e)}function ENe(e,t){return e&&p0(t,jk(t),e)}function wNe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var bNe=Object.prototype,TNe=bNe.hasOwnProperty;function RNe(e){if(!Yp(e))return wNe(e);var t=Fk(e),r=[];for(var n in e)n=="constructor"&&(t||!TNe.call(e,n))||r.push(n);return r}function Uk(e){return ose(e)?ase(e,!0):RNe(e)}function xNe(e,t){return e&&p0(t,Uk(t),e)}var sse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,SJ=sse&&typeof module=="object"&&module&&!module.nodeType&&module,CNe=SJ&&SJ.exports===sse,EJ=CNe?ku.Buffer:void 0,wJ=EJ?EJ.allocUnsafe:void 0;function ANe(e,t){if(t)return e.slice();var r=e.length,n=wJ?wJ(r):new e.constructor(r);return e.copy(n),n}function use(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function ONe(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function lse(){return[]}var INe=Object.prototype,PNe=INe.propertyIsEnumerable,bJ=Object.getOwnPropertySymbols,qk=bJ?function(e){return e==null?[]:(e=Object(e),ONe(bJ(e),function(t){return PNe.call(e,t)}))}:lse;function DNe(e,t){return p0(e,qk(e),t)}function cse(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var kNe=Object.getOwnPropertySymbols,fse=kNe?function(e){for(var t=[];e;)cse(t,qk(e)),e=Mk(e);return t}:lse;function NNe(e,t){return p0(e,fse(e),t)}function dse(e,t,r){var n=t(e);return Kp(e)?n:cse(n,r(e))}function LNe(e){return dse(e,jk,qk)}function MNe(e){return dse(e,Uk,fse)}var lP=Bf(ku,"DataView"),cP=Bf(ku,"Promise"),fP=Bf(ku,"Set"),dP=Bf(ku,"WeakMap"),TJ="[object Map]",$Ne="[object Object]",RJ="[object Promise]",xJ="[object Set]",CJ="[object WeakMap]",AJ="[object DataView]",FNe=Vf(lP),jNe=Vf(sp),UNe=Vf(cP),qNe=Vf(fP),VNe=Vf(dP),Qu=Uf;(lP&&Qu(new lP(new ArrayBuffer(1)))!=AJ||sp&&Qu(new sp)!=TJ||cP&&Qu(cP.resolve())!=RJ||fP&&Qu(new fP)!=xJ||dP&&Qu(new dP)!=CJ)&&(Qu=function(e){var t=Uf(e),r=t==$Ne?e.constructor:void 0,n=r?Vf(r):"";if(n)switch(n){case FNe:return AJ;case jNe:return TJ;case UNe:return RJ;case qNe:return xJ;case VNe:return CJ}return t});var BNe=Object.prototype,HNe=BNe.hasOwnProperty;function zNe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&HNe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var OJ=ku.Uint8Array;function Vk(e){var t=new e.constructor(e.byteLength);return new OJ(t).set(new OJ(e)),t}function WNe(e,t){var r=t?Vk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var GNe=/\w*$/;function YNe(e){var t=new e.constructor(e.source,GNe.exec(e));return t.lastIndex=e.lastIndex,t}var IJ=oc?oc.prototype:void 0,PJ=IJ?IJ.valueOf:void 0;function KNe(e){return PJ?Object(PJ.call(e)):{}}function XNe(e,t){var r=t?Vk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var QNe="[object Boolean]",JNe="[object Date]",ZNe="[object Map]",eLe="[object Number]",tLe="[object RegExp]",rLe="[object Set]",nLe="[object String]",iLe="[object Symbol]",aLe="[object ArrayBuffer]",oLe="[object DataView]",sLe="[object Float32Array]",uLe="[object Float64Array]",lLe="[object Int8Array]",cLe="[object Int16Array]",fLe="[object Int32Array]",dLe="[object Uint8Array]",hLe="[object Uint8ClampedArray]",vLe="[object Uint16Array]",pLe="[object Uint32Array]";function gLe(e,t,r){var n=e.constructor;switch(t){case aLe:return Vk(e);case QNe:case JNe:return new n(+e);case oLe:return WNe(e,r);case sLe:case uLe:case lLe:case cLe:case fLe:case dLe:case hLe:case vLe:case pLe:return XNe(e,r);case ZNe:return new n;case eLe:case nLe:return new n(e);case tLe:return YNe(e);case rLe:return new n;case iLe:return KNe(e)}}var DJ=Object.create,mLe=(function(){function e(){}return function(t){if(!Yp(t))return{};if(DJ)return DJ(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function yLe(e){return typeof e.constructor=="function"&&!Fk(e)?mLe(Mk(e)):{}}var _Le="[object Map]";function SLe(e){return qf(e)&&Qu(e)==_Le}var kJ=Xd&&Xd.isMap,ELe=kJ?$k(kJ):SLe,wLe="[object Set]";function bLe(e){return qf(e)&&Qu(e)==wLe}var NJ=Xd&&Xd.isSet,TLe=NJ?$k(NJ):bLe,RLe=1,xLe=2,CLe=4,hse="[object Arguments]",ALe="[object Array]",OLe="[object Boolean]",ILe="[object Date]",PLe="[object Error]",vse="[object Function]",DLe="[object GeneratorFunction]",kLe="[object Map]",NLe="[object Number]",pse="[object Object]",LLe="[object RegExp]",MLe="[object Set]",$Le="[object String]",FLe="[object Symbol]",jLe="[object WeakMap]",ULe="[object ArrayBuffer]",qLe="[object DataView]",VLe="[object Float32Array]",BLe="[object Float64Array]",HLe="[object Int8Array]",zLe="[object Int16Array]",WLe="[object Int32Array]",GLe="[object Uint8Array]",YLe="[object Uint8ClampedArray]",KLe="[object Uint16Array]",XLe="[object Uint32Array]",pi={};pi[hse]=pi[ALe]=pi[ULe]=pi[qLe]=pi[OLe]=pi[ILe]=pi[VLe]=pi[BLe]=pi[HLe]=pi[zLe]=pi[WLe]=pi[kLe]=pi[NLe]=pi[pse]=pi[LLe]=pi[MLe]=pi[$Le]=pi[FLe]=pi[GLe]=pi[YLe]=pi[KLe]=pi[XLe]=!0;pi[PLe]=pi[vse]=pi[jLe]=!1;function jv(e,t,r,n,i,a){var o,s=t&RLe,l=t&xLe,c=t&CLe;if(o!==void 0)return o;if(!Yp(e))return e;var d=Kp(e);if(d){if(o=zNe(e),!s)return use(e,o)}else{var h=Qu(e),v=h==vse||h==DLe;if(rse(e))return ANe(e,s);if(h==pse||h==hse||v&&!i){if(o=l||v?{}:yLe(e),!s)return l?NNe(e,xNe(o,e)):DNe(e,ENe(o,e))}else{if(!pi[h])return i?e:{};o=gLe(e,h,s)}}a||(a=new Ph);var g=a.get(e);if(g)return g;a.set(e,o),TLe(e)?e.forEach(function(y){o.add(jv(y,t,r,y,e,a))}):ELe(e)&&e.forEach(function(y,w){o.set(w,jv(y,t,r,w,e,a))});var S=c?l?MNe:LNe:l?Uk:jk,E=d?void 0:S(e);return xke(E||e,function(y,w){E&&(w=y,y=e[w]),Zoe(o,w,jv(y,t,r,w,e,a))}),o}var QLe=4;function LJ(e){return jv(e,QLe)}function gse(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var JLe="[object Symbol]";function Bk(e){return typeof e=="symbol"||qf(e)&&Uf(e)==JLe}var ZLe="Expected a function";function Hk(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ZLe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Hk.Cache||mc),r}Hk.Cache=mc;var eMe=500;function tMe(e){var t=Hk(e,function(n){return r.size===eMe&&r.clear(),n}),r=t.cache;return t}var rMe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nMe=/\\(\\)?/g,iMe=tMe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rMe,function(r,n,i,a){t.push(i?a.replace(nMe,"$1"):n||r)}),t});function aMe(e){if(typeof e=="string"||Bk(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var MJ=oc?oc.prototype:void 0,$J=MJ?MJ.toString:void 0;function mse(e){if(typeof e=="string")return e;if(Kp(e))return gse(e,mse)+"";if(Bk(e))return $J?$J.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function oMe(e){return e==null?"":mse(e)}function yse(e){return Kp(e)?gse(e,aMe):Bk(e)?[e]:use(iMe(oMe(e)))}var sMe=1,uMe=4;function lMe(e){return jv(e,sMe|uMe)}function li(){return li=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},li.apply(this,arguments)}function _se(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ql(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var jJ=function(t){return Array.isArray(t)&&t.length===0},Wa=function(t){return typeof t=="function"},g0=function(t){return t!==null&&typeof t=="object"},cMe=function(t){return String(Math.floor(Number(t)))===t},bO=function(t){return Object.prototype.toString.call(t)==="[object String]"},Sse=function(t){return pe.Children.count(t)===0},TO=function(t){return g0(t)&&Wa(t.then)};function ji(e,t,r,n){n===void 0&&(n=0);for(var i=yse(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function Ru(e,t,r){for(var n=LJ(e),i=n,a=0,o=yse(t);a<o.length-1;a++){var s=o[a],l=ji(e,o.slice(0,a+1));if(l&&(g0(l)||Array.isArray(l)))i=i[s]=LJ(l);else{var c=o[a+1];i=i[s]=cMe(c)&&Number(c)>=0?[]:{}}}return(a===0?e:i)[o[a]]===r?e:(r===void 0?delete i[o[a]]:i[o[a]]=r,a===0&&r===void 0&&delete n[o[a]],n)}function Ese(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],s=e[o];g0(s)?r.get(s)||(r.set(s,!0),n[o]=Array.isArray(s)?[]:{},Ese(s,t,r,n[o])):n[o]=t}return n}var Xp=pe.createContext(void 0);Xp.displayName="FormikContext";var fMe=Xp.Provider,dMe=Xp.Consumer;function zk(){var e=pe.useContext(Xp);return e}function hMe(e,t){switch(t.type){case"SET_VALUES":return li({},e,{values:t.payload});case"SET_TOUCHED":return li({},e,{touched:t.payload});case"SET_ERRORS":return Yl(e.errors,t.payload)?e:li({},e,{errors:t.payload});case"SET_STATUS":return li({},e,{status:t.payload});case"SET_ISSUBMITTING":return li({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return li({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return li({},e,{values:Ru(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return li({},e,{touched:Ru(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return li({},e,{errors:Ru(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return li({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return li({},e,{touched:Ese(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return li({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return li({},e,{isSubmitting:!1});default:return e}}var $c={},mm={};function vMe(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,i=n===void 0?!0:n,a=e.validateOnMount,o=a===void 0?!1:a,s=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,d=e.onSubmit,h=Ql(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),v=li({validateOnChange:r,validateOnBlur:i,validateOnMount:o,onSubmit:d},h),g=pe.useRef(v.initialValues),S=pe.useRef(v.initialErrors||$c),E=pe.useRef(v.initialTouched||mm),y=pe.useRef(v.initialStatus),w=pe.useRef(!1),b=pe.useRef({});pe.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var A=pe.useReducer(hMe,{values:v.initialValues,errors:v.initialErrors||$c,touched:v.initialTouched||mm,status:v.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),R=A[0],C=A[1],O=pe.useCallback(function(me,be){return new Promise(function(Te,Ne){var Ve=v.validate(me,be);Ve==null?Te($c):TO(Ve)?Ve.then(function(qe){Te(qe||$c)},function(qe){Ne(qe)}):Te(Ve)})},[v.validate]),m=pe.useCallback(function(me,be){var Te=v.validationSchema,Ne=Wa(Te)?Te(be):Te,Ve=be&&Ne.validateAt?Ne.validateAt(be,me):gMe(me,Ne);return new Promise(function(qe,Ge){Ve.then(function(){qe($c)},function(ct){ct.name==="ValidationError"?qe(pMe(ct)):Ge(ct)})})},[v.validationSchema]),D=pe.useCallback(function(me,be){return new Promise(function(Te){return Te(b.current[me].validate(be))})},[]),k=pe.useCallback(function(me){var be=Object.keys(b.current).filter(function(Ne){return Wa(b.current[Ne].validate)}),Te=be.length>0?be.map(function(Ne){return D(Ne,ji(me,Ne))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Te).then(function(Ne){return Ne.reduce(function(Ve,qe,Ge){return qe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||qe&&(Ve=Ru(Ve,be[Ge],qe)),Ve},{})})},[D]),q=pe.useCallback(function(me){return Promise.all([k(me),v.validationSchema?m(me):{},v.validate?O(me):{}]).then(function(be){var Te=be[0],Ne=be[1],Ve=be[2],qe=uP.all([Te,Ne,Ve],{arrayMerge:mMe});return qe})},[v.validate,v.validationSchema,k,O,m]),j=As(function(me){return me===void 0&&(me=R.values),C({type:"SET_ISVALIDATING",payload:!0}),q(me).then(function(be){return w.current&&(C({type:"SET_ISVALIDATING",payload:!1}),C({type:"SET_ERRORS",payload:be})),be})});pe.useEffect(function(){o&&w.current===!0&&Yl(g.current,v.initialValues)&&j(g.current)},[o,j]);var W=pe.useCallback(function(me){var be=me&&me.values?me.values:g.current,Te=me&&me.errors?me.errors:S.current?S.current:v.initialErrors||{},Ne=me&&me.touched?me.touched:E.current?E.current:v.initialTouched||{},Ve=me&&me.status?me.status:y.current?y.current:v.initialStatus;g.current=be,S.current=Te,E.current=Ne,y.current=Ve;var qe=function(){C({type:"RESET_FORM",payload:{isSubmitting:!!me&&!!me.isSubmitting,errors:Te,touched:Ne,status:Ve,values:be,isValidating:!!me&&!!me.isValidating,submitCount:me&&me.submitCount&&typeof me.submitCount=="number"?me.submitCount:0}})};if(v.onReset){var Ge=v.onReset(R.values,H);TO(Ge)?Ge.then(qe):qe()}else qe()},[v.initialErrors,v.initialStatus,v.initialTouched]);pe.useEffect(function(){w.current===!0&&!Yl(g.current,v.initialValues)&&(c&&(g.current=v.initialValues,W()),o&&j(g.current))},[c,v.initialValues,W,o,j]),pe.useEffect(function(){c&&w.current===!0&&!Yl(S.current,v.initialErrors)&&(S.current=v.initialErrors||$c,C({type:"SET_ERRORS",payload:v.initialErrors||$c}))},[c,v.initialErrors]),pe.useEffect(function(){c&&w.current===!0&&!Yl(E.current,v.initialTouched)&&(E.current=v.initialTouched||mm,C({type:"SET_TOUCHED",payload:v.initialTouched||mm}))},[c,v.initialTouched]),pe.useEffect(function(){c&&w.current===!0&&!Yl(y.current,v.initialStatus)&&(y.current=v.initialStatus,C({type:"SET_STATUS",payload:v.initialStatus}))},[c,v.initialStatus,v.initialTouched]);var K=As(function(me){if(b.current[me]&&Wa(b.current[me].validate)){var be=ji(R.values,me),Te=b.current[me].validate(be);return TO(Te)?(C({type:"SET_ISVALIDATING",payload:!0}),Te.then(function(Ne){return Ne}).then(function(Ne){C({type:"SET_FIELD_ERROR",payload:{field:me,value:Ne}}),C({type:"SET_ISVALIDATING",payload:!1})})):(C({type:"SET_FIELD_ERROR",payload:{field:me,value:Te}}),Promise.resolve(Te))}else if(v.validationSchema)return C({type:"SET_ISVALIDATING",payload:!0}),m(R.values,me).then(function(Ne){return Ne}).then(function(Ne){C({type:"SET_FIELD_ERROR",payload:{field:me,value:Ne[me]}}),C({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),X=pe.useCallback(function(me,be){var Te=be.validate;b.current[me]={validate:Te}},[]),Q=pe.useCallback(function(me){delete b.current[me]},[]),J=As(function(me,be){C({type:"SET_TOUCHED",payload:me});var Te=be===void 0?i:be;return Te?j(R.values):Promise.resolve()}),re=pe.useCallback(function(me){C({type:"SET_ERRORS",payload:me})},[]),$=As(function(me,be){var Te=Wa(me)?me(R.values):me;C({type:"SET_VALUES",payload:Te});var Ne=be===void 0?r:be;return Ne?j(Te):Promise.resolve()}),N=pe.useCallback(function(me,be){C({type:"SET_FIELD_ERROR",payload:{field:me,value:be}})},[]),U=As(function(me,be,Te){C({type:"SET_FIELD_VALUE",payload:{field:me,value:be}});var Ne=Te===void 0?r:Te;return Ne?j(Ru(R.values,me,be)):Promise.resolve()}),ee=pe.useCallback(function(me,be){var Te=be,Ne=me,Ve;if(!bO(me)){me.persist&&me.persist();var qe=me.target?me.target:me.currentTarget,Ge=qe.type,ct=qe.name,Ut=qe.id,Wt=qe.value,Je=qe.checked;qe.outerHTML;var Rt=qe.options,_t=qe.multiple;Te=be||ct||Ut,Ne=/number|range/.test(Ge)?(Ve=parseFloat(Wt),isNaN(Ve)?"":Ve):/checkbox/.test(Ge)?_Me(ji(R.values,Te),Je,Wt):Rt&&_t?yMe(Rt):Wt}Te&&U(Te,Ne)},[U,R.values]),te=As(function(me){if(bO(me))return function(be){return ee(be,me)};ee(me)}),de=As(function(me,be,Te){be===void 0&&(be=!0),C({type:"SET_FIELD_TOUCHED",payload:{field:me,value:be}});var Ne=Te===void 0?i:Te;return Ne?j(R.values):Promise.resolve()}),Se=pe.useCallback(function(me,be){me.persist&&me.persist();var Te=me.target,Ne=Te.name,Ve=Te.id;Te.outerHTML;var qe=be||Ne||Ve;de(qe,!0)},[de]),xe=As(function(me){if(bO(me))return function(be){return Se(be,me)};Se(me)}),ue=pe.useCallback(function(me){Wa(me)?C({type:"SET_FORMIK_STATE",payload:me}):C({type:"SET_FORMIK_STATE",payload:function(){return me}})},[]),I=pe.useCallback(function(me){C({type:"SET_STATUS",payload:me})},[]),P=pe.useCallback(function(me){C({type:"SET_ISSUBMITTING",payload:me})},[]),B=As(function(){return C({type:"SUBMIT_ATTEMPT"}),j().then(function(me){var be=me instanceof Error,Te=!be&&Object.keys(me).length===0;if(Te){var Ne;try{if(Ne=ne(),Ne===void 0)return}catch(Ve){throw Ve}return Promise.resolve(Ne).then(function(Ve){return w.current&&C({type:"SUBMIT_SUCCESS"}),Ve}).catch(function(Ve){if(w.current)throw C({type:"SUBMIT_FAILURE"}),Ve})}else if(w.current&&(C({type:"SUBMIT_FAILURE"}),be))throw me})}),L=As(function(me){me&&me.preventDefault&&Wa(me.preventDefault)&&me.preventDefault(),me&&me.stopPropagation&&Wa(me.stopPropagation)&&me.stopPropagation(),B().catch(function(be){console.warn("Warning: An unhandled error was caught from submitForm()",be)})}),H={resetForm:W,validateForm:j,validateField:K,setErrors:re,setFieldError:N,setFieldTouched:de,setFieldValue:U,setStatus:I,setSubmitting:P,setTouched:J,setValues:$,setFormikState:ue,submitForm:B},ne=As(function(){return d(R.values,H)}),ce=As(function(me){me&&me.preventDefault&&Wa(me.preventDefault)&&me.preventDefault(),me&&me.stopPropagation&&Wa(me.stopPropagation)&&me.stopPropagation(),W()}),we=pe.useCallback(function(me){return{value:ji(R.values,me),error:ji(R.errors,me),touched:!!ji(R.touched,me),initialValue:ji(g.current,me),initialTouched:!!ji(E.current,me),initialError:ji(S.current,me)}},[R.errors,R.touched,R.values]),_e=pe.useCallback(function(me){return{setValue:function(Te,Ne){return U(me,Te,Ne)},setTouched:function(Te,Ne){return de(me,Te,Ne)},setError:function(Te){return N(me,Te)}}},[U,de,N]),Oe=pe.useCallback(function(me){var be=g0(me),Te=be?me.name:me,Ne=ji(R.values,Te),Ve={name:Te,value:Ne,onChange:te,onBlur:xe};if(be){var qe=me.type,Ge=me.value,ct=me.as,Ut=me.multiple;qe==="checkbox"?Ge===void 0?Ve.checked=!!Ne:(Ve.checked=!!(Array.isArray(Ne)&&~Ne.indexOf(Ge)),Ve.value=Ge):qe==="radio"?(Ve.checked=Ne===Ge,Ve.value=Ge):ct==="select"&&Ut&&(Ve.value=Ve.value||[],Ve.multiple=!0)}return Ve},[xe,te,R.values]),Re=pe.useMemo(function(){return!Yl(g.current,R.values)},[g.current,R.values]),Ie=pe.useMemo(function(){return typeof s<"u"?Re?R.errors&&Object.keys(R.errors).length===0:s!==!1&&Wa(s)?s(v):s:R.errors&&Object.keys(R.errors).length===0},[s,Re,R.errors,v]),$e=li({},R,{initialValues:g.current,initialErrors:S.current,initialTouched:E.current,initialStatus:y.current,handleBlur:xe,handleChange:te,handleReset:ce,handleSubmit:L,resetForm:W,setErrors:re,setFormikState:ue,setFieldTouched:de,setFieldValue:U,setFieldError:N,setStatus:I,setSubmitting:P,setTouched:J,setValues:$,submitForm:B,validateForm:j,validateField:K,isValid:Ie,dirty:Re,unregisterField:Q,registerField:X,getFieldProps:Oe,getFieldMeta:we,getFieldHelpers:_e,validateOnBlur:i,validateOnChange:r,validateOnMount:o});return $e}function L5e(e){var t=vMe(e),r=e.component,n=e.children,i=e.render,a=e.innerRef;return pe.useImperativeHandle(a,function(){return t}),pe.createElement(fMe,{value:t},r?pe.createElement(r,t):i?i(t):n?Wa(n)?n(t):Sse(n)?null:pe.Children.only(n):null)}function pMe(e){var t={};if(e.inner){if(e.inner.length===0)return Ru(t,e.path,e.message);for(var i=e.inner,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var a;if(r){if(n>=i.length)break;a=i[n++]}else{if(n=i.next(),n.done)break;a=n.value}var o=a;ji(t,o.path)||(t=Ru(t,o.path,o.message))}}return t}function gMe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=hP(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function hP(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(i){return Array.isArray(i)===!0||hJ(i)?hP(i):i!==""?i:void 0}):hJ(e[n])?t[n]=hP(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function mMe(e,t,r){var n=e.slice();return t.forEach(function(a,o){if(typeof n[o]>"u"){var s=r.clone!==!1,l=s&&r.isMergeableObject(a);n[o]=l?uP(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[o]=uP(e[o],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function yMe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function _Me(e,t,r){if(typeof e=="boolean")return!!t;var n=[],i=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),i=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!i?n.concat(r):i?n.slice(0,a).concat(n.slice(a+1)):n}var SMe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?pe.useLayoutEffect:pe.useEffect;function As(e){var t=pe.useRef(e);return SMe(function(){t.current=e}),pe.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current.apply(void 0,n)},[])}function M5e(e){var t=e.validate,r=e.name,n=e.render,i=e.children,a=e.as,o=e.component,s=Ql(e,["validate","name","render","children","as","component"]),l=zk(),c=Ql(l,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;pe.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var v=c.getFieldProps(li({name:r},s)),g=c.getFieldMeta(r),S={field:v,form:c};if(n)return n(li({},S,{meta:g}));if(Wa(i))return i(li({},S,{meta:g}));if(o){if(typeof o=="string"){var E=s.innerRef,y=Ql(s,["innerRef"]);return pe.createElement(o,li({ref:E},v,y),i)}return pe.createElement(o,li({field:v,form:c},s),i)}var w=a||"input";if(typeof w=="string"){var b=s.innerRef,A=Ql(s,["innerRef"]);return pe.createElement(w,li({ref:b},v,A),i)}return pe.createElement(w,li({},v,s),i)}var EMe=pe.forwardRef(function(e,t){var r=e.action,n=Ql(e,["action"]),i=r??"#",a=zk(),o=a.handleReset,s=a.handleSubmit;return pe.createElement("form",Object.assign({onSubmit:s,ref:t,onReset:o,action:i},n))});EMe.displayName="Form";function wMe(e){var t=function(i){return pe.createElement(dMe,null,function(a){return pe.createElement(e,Object.assign({},i,{formik:a}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",mbe(t,e)}var bMe=function(t,r,n){var i=Qd(t),a=i[r];return i.splice(r,1),i.splice(n,0,a),i},TMe=function(t,r,n){var i=Qd(t),a=i[r];return i[r]=i[n],i[n]=a,i},RO=function(t,r,n){var i=Qd(t);return i.splice(r,0,n),i},RMe=function(t,r,n){var i=Qd(t);return i[r]=n,i},Qd=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,i){return i>n?i:n},0);return Array.from(li({},t,{length:r+1}))}else return[]},xMe=(function(e){_se(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(a,o,s){var l=i.props,c=l.name,d=l.formik.setFormikState;d(function(h){var v=typeof s=="function"?s:a,g=typeof o=="function"?o:a,S=Ru(h.values,c,a(ji(h.values,c))),E=s?v(ji(h.errors,c)):void 0,y=o?g(ji(h.touched,c)):void 0;return jJ(E)&&(E=void 0),jJ(y)&&(y=void 0),li({},h,{values:S,errors:s?Ru(h.errors,c,E):h.errors,touched:o?Ru(h.touched,c,y):h.touched})})},i.push=function(a){return i.updateArrayField(function(o){return[].concat(Qd(o),[lMe(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,o){return i.updateArrayField(function(s){return TMe(s,a,o)},!0,!0)},i.handleSwap=function(a,o){return function(){return i.swap(a,o)}},i.move=function(a,o){return i.updateArrayField(function(s){return bMe(s,a,o)},!0,!0)},i.handleMove=function(a,o){return function(){return i.move(a,o)}},i.insert=function(a,o){return i.updateArrayField(function(s){return RO(s,a,o)},function(s){return RO(s,a,null)},function(s){return RO(s,a,null)})},i.handleInsert=function(a,o){return function(){return i.insert(a,o)}},i.replace=function(a,o){return i.updateArrayField(function(s){return RMe(s,a,o)},!1,!1)},i.handleReplace=function(a,o){return function(){return i.replace(a,o)}},i.unshift=function(a){var o=-1;return i.updateArrayField(function(s){var l=s?[a].concat(s):[a];return o<0&&(o=l.length),l},function(s){var l=s?[null].concat(s):[null];return o<0&&(o=l.length),l},function(s){var l=s?[null].concat(s):[null];return o<0&&(o=l.length),l}),o},i.handleUnshift=function(a){return function(){return i.unshift(a)}},i.handleRemove=function(a){return function(){return i.remove(a)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(FJ(i)),i.pop=i.pop.bind(FJ(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Yl(ji(i.formik.values,i.name),ji(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var a;return this.updateArrayField(function(o){var s=o?Qd(o):[];return a||(a=s[i]),Wa(s.splice)&&s.splice(i,1),s},!0,!0),a},r.pop=function(){var i;return this.updateArrayField(function(a){var o=a;return i||(i=o&&o.pop&&o.pop()),o},!0,!0),i},r.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,o=a.component,s=a.render,l=a.children,c=a.name,d=a.formik,h=Ql(d,["validate","validationSchema"]),v=li({},i,{form:h,name:c});return o?pe.createElement(o,v):s?s(v):l?typeof l=="function"?l(v):Sse(l)?null:pe.Children.only(l):null},t})(pe.Component);xMe.defaultProps={validateOnChange:!0};var CMe=(function(e){_se(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return ji(this.props.formik.errors,this.props.name)!==ji(i.formik.errors,this.props.name)||ji(this.props.formik.touched,this.props.name)!==ji(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,a=i.component,o=i.formik,s=i.render,l=i.children,c=i.name,d=Ql(i,["component","formik","render","children","name"]),h=ji(o.touched,c),v=ji(o.errors,c);return h&&v?s?Wa(s)?s(v):null:l?Wa(l)?l(v):null:a?pe.createElement(a,d,v):v:null},t})(pe.Component),$5e=wMe(CMe);const AMe=pe.createContext(""),lp=pe.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=pe.useContext(AMe),a=r||i,o=Object.assign({escapeText:!0},n),s=pr.getPhrase(a,t,o);return V.jsx("span",{dangerouslySetInnerHTML:{__html:s}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&Ui.isEqual(e.options,t.options));function OMe(e){var n;const[t,r]=pe.useState(!1);return pe.useEffect(()=>{var i;if(!e.isValid){r(!1);return}e.dirty||(i=e.initialStatus)!=null&&i.allowInitialSubmit?r(!0):r(!1)},[e.isValid,(n=e.initialStatus)==null?void 0:n.allowInitialSubmit,e.dirty,e.values]),pe.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function IMe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...a}=e,o=pe.useRef(null),[{width:s,height:l},c]=pe.useState({}),[d,h]=pe.useState(t);pe.useEffect(()=>{if(!t){c({});return}const g=o.current,S=g.offsetHeight,E=g.offsetWidth;!S||!E||c({width:E,height:S})},[t]),pe.useLayoutEffect(()=>{h(t)},[t]);const v={...n};return s&&(v.width=`${s+1}px`),l&&(v.height=`${l+1}px`),V.jsx(u0,{ref:o,disabled:t,style:v,...a,children:d?V.jsxs(V.Fragment,{children:[V.jsx(Gp,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&V.jsx("span",{className:"ps-1",children:i})]}):r})}const PMe={info:"custom-toggle-info"};wse.defaults={floatEnd:!0};function wse(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:a,hideOutline:o,...s}=e;function l(...y){e.disabled||e.onClick(...y)}const c="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=o?"outline-none":"",v=PMe[i]??"",g=a?"float-end":"";let S=t?"on":"";e.disabled&&!r&&(S="");const E=`${c} ${v} ${S} ${d} ${h} ${g}`;return e.tooltipText?V.jsx(tc,{title:n,spanHack:!0,children:V.jsx(WI,{...s,role:"switch","aria-checked":`${t}`,onClick:l,className:E,children:V.jsx("span",{className:"handle"})})}):V.jsx(WI,{...s,role:"switch","aria-checked":t,onClick:l,className:E,children:V.jsx("span",{className:"handle"})})}const bse="shared.popup",tf=e=>V.jsx("div",{className:`d-flex justify-content-end align-items-center border-top pt-3 px-3 mx-n3 undo-changes-btn ${e.className??""}`,children:e.children});function Tse(e){return V.jsx(IMe,{variant:e.variant||"primary",type:e.type||"submit",disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:"",onClick:()=>{var t;return(t=e.onClick)==null?void 0:t.call(e)},showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?V.jsx(V.Fragment,{children:e.text}):V.jsx(lp,{namespace:bse,phrase:e.isNew?"create":"save"})})}function DMe(e){const t=zk(),r=OMe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return V.jsx(Tse,{...e,disabled:i(),showSpinner:n})}const kMe=e=>sr.useContext(Xp)?V.jsx(DMe,{...e}):V.jsx(Tse,{...e}),NMe=e=>V.jsx(u0,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:V.jsx(lp,{namespace:bse,phrase:"cancel"})}),LMe=e=>V.jsx(_Ie.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),MMe=e=>V.jsxs("div",{className:"d-flex align-items-center me-auto",children:[V.jsx(wse,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&V.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});tf.Submit=kMe;tf.Cancel=NMe;tf.Checkbox=LMe;tf.Toggle=MMe;const UJ="shared.shared-utils",$Me={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=kk.createRoot(r);function i(){var l;if(gi.isFunction((l=t.submitButtonProps)==null?void 0:l.onClick)){const c=t.submitButtonProps.onClick();if(c instanceof Promise){c.then(()=>{n.unmount()});return}}n.unmount()}function a(){var l;gi.isFunction((l=t.cancelButtonProps)==null?void 0:l.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const o={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},s={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(V.jsxs(zoe,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&V.jsxs(tf,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&V.jsx(tf.Cancel,{...s}),t.submitButtonProps&&V.jsx(tf.Submit,{...o})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:pr.getPhrase(UJ,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:pr.getPhrase(UJ,"cancel")}}},ym=pr.encloseNamespace("shared.hooks"),FMe=()=>{const[e,t]=sr.useState([]),r=Lr.Radio.channel(kn.SHELL);sr.useEffect(()=>(e.find(l=>!l.allowAppLinks)&&r.on(Nn.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",o),()=>{r.off(Nn.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",o)}),[e]),sr.useEffect(()=>{function l(){n({id:"upload",title:ym("navLockTitle"),text:ym("navLockBody"),allowAppLinks:!0})}const c=Lr.Radio.channel(Av.VIDEO_UPLOAD);return c.on(tl.FILES_ADDED,l),c.on(tl.UNLOCK_NAV,i),()=>{c.off(tl.FILES_ADDED,l),c.off(tl.UNLOCK_NAV,i)}},[]);function n(l={}){e.find(c=>c.id===l.id)||(l.allowAppLinks||r.trigger(Nn.LOCK_NAV),t([...e,l]))}function i(l){const c=e.filter(d=>d.id!==l);(c.length===0||!c.find(d=>!d.allowAppLinks))&&r.trigger(Nn.UNLOCK_NAV),t(c)}function a(l){var d;if(!e.length)return;const c=e.find(h=>!h.allowAppLinks);if((d=c.appLinkWhitelist)!=null&&d.find(h=>h.action===l.action&&h.application===l.application)){r.trigger(Nn.UNLOCK_NAV),window.setTimeout(()=>{Kn.trigger(l),r.trigger(Nn.LOCK_NAV)},0);return}if(gi.isFunction(c.renderCustomDialog)){c.renderCustomDialog();return}$Me.render(V.jsx("p",{children:c.text}),{title:c.title,submitButtonProps:{onClick:()=>{c.onConfirmUnlock&&c.onConfirmUnlock(),s(l)},variant:"danger",text:ym("discard")},cancelButtonProps:{text:ym("cancel"),variant:"link"}})}function o(l){let c=e.find(d=>d.allowAppLinks);return c||(c=Xa.first(e)),l.returnValue=c.text,c.text}function s(l){r.trigger(Nn.NAV_UNLOCKED_BY_USER),e.forEach(c=>{c.allowAppLinks||i(c.id)}),window.removeEventListener("beforeunload",o),Kn.trigger(l)}return{lock:n,unlock:i}};function jMe(){function e(r){r.key==="Tab"&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e),window.addEventListener("mousedown",t))}function t(){document.body.classList.remove("user-is-tabbing"),window.removeEventListener("mousedown",t),window.addEventListener("keydown",e)}pe.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function UMe(){const e=Ii(sf.version());return e.data?V.jsx("footer",{className:"text-center text-secondary py-2",children:V.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):V.jsx(V.Fragment,{})}var Wk=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(Wk||{});function qMe(e){return e?e===Js.SessionStorage?my:da:null}const wa=(e,t,r)=>{const n=qMe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const a=Lf(),o=X_(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function s(){return i!=null}const l=(t!==void 0||s())&&o===void 0;sr.useEffect(()=>{if(l){if(s()){c(i);return}c(t);return}},[]);function c(h,v){n&&d(h,v),a({type:Wk.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:v}})}function d(h,v){if(!n)return;const g=n.get(e);if(typeof h=="string"&&v!==void 0){n.set(e,{...g,[h]:v});return}n.set(e,h)}return l?s()?[i,c]:[t,c]:[o??void 0,c]},Uv={updateParams(e,t){const{appLink:r}=gc.getCurrentRoute();let n=typeof r.params=="string"?Yn.DeserializeQueryParams(r.params):r.params;t.keysToRemove&&(n=Ui.omit(n,t.keysToRemove));const i=t!=null&&t.merge?{...n,...e}:e,a={...r,params:i};Ui.isEqual(r,a)||Kn.trigger(a,Ui.omit(t,["merge","keysToRemove"]))}},VMe="shared.analyticsUtils",Ga=pr.encloseNamespace(VMe);function qJ(e){const t=wn.convertDateToUTC(e);return wn.format(t,"YYYY-MM-DDTHH:mm:ss")}function cp(){return new Date(2021,0,1)}function vP(){return new Date}function Rse(e){return e.find(t=>!!t.default)}function Gk(e,t){return t?e.find(n=>n.name===t):void 0}function xy(){const e=cp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ga("today"),startDate:new Date,endDate:new Date},{name:Ga("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ga("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ga("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ga("lastTwelveMonths"),startDate:new Date(t,new Date().getMonth()-11,1),endDate:new Date,default:!0},{name:Ga("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ga("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ga("lastYearDisabled"):""}]}function F5e(){const e=cp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ga("today"),startDate:new Date,endDate:new Date},{name:Ga("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ga("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ga("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ga("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ga("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ga("lastYearDisabled"):""},{name:Ga("allTime"),startDate:wn.subtract(new Date,5,"years"),endDate:new Date,default:!0}]}function Nd(e){return wn.format(e,"YYYY-MM-DD")}function Xm(e){return e.name?{rangeName:e.name}:{from:Nd(e.startDate),to:Nd(e.endDate)}}function BMe(e,t){const{to:r,from:n,rangeName:i}=t,a=Gk(e,i);if(a){if(!n&&!r)return a;Uv.updateParams(Xm(a),{replace:!0,merge:!0,keysToRemove:["from","to"]});return}const o=Rse(e);if(!n||!r||!wn.isValid(n)||!wn.isValid(r)){Uv.updateParams(Xm(o),{replace:!0,merge:!0,keysToRemove:["rangeName"]});return}let s=!0,l=wn.convertDateToUTC(new Date(n)),c=wn.convertDateToUTC(new Date(r));wn.isBefore(l,cp(),"day")&&(l=cp(),s=!1),wn.isAfter(c,vP(),"day")&&(c=vP(),s=!1),wn.isAfter(l,c)&&(l=o.startDate,c=o.endDate,s=!1);const d={startDate:l,endDate:c,name:s?i||"custom":""};if(s)return d;Uv.updateParams(Xm(d),{replace:!0,merge:!0,keysToRemove:["rangeName"]})}function pP(e,t){const r=o=>qJ(wn.startOf(o,"day")),n=o=>qJ(wn.endOf(o,"day")),i=Gk(e,t.rangeName);if(i)return{start:r(Nd(i.startDate)),end:n(Nd(i.endDate))};if(t.from&&t.to)return{start:r(t.from),end:n(t.to)};const a=Rse(e);return{start:r(Nd(a.startDate)),end:n(Nd(a.endDate))}}function Jd(e){"@babel/helpers - typeof";return Jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jd(e)}function ba(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Mr(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function fn(e){Mr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Jd(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function lo(e,t){Mr(2,arguments);var r=fn(e),n=ba(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function eu(e,t){Mr(2,arguments);var r=fn(e),n=ba(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function HMe(e,t){Mr(2,arguments);var r=fn(e).getTime(),n=ba(t);return new Date(r+n)}var zMe={};function yc(){return zMe}function Cu(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=yc(),h=ba((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=fn(e),g=v.getDay(),S=(g<h?7:0)+g-h;return v.setDate(v.getDate()-S),v.setHours(0,0,0,0),v}function ff(e){return Mr(1,arguments),Cu(e,{weekStartsOn:1})}function WMe(e){Mr(1,arguments);var t=fn(e),r=t.getFullYear(),n=new Date(0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);var i=ff(n),a=new Date(0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);var o=ff(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function GMe(e){Mr(1,arguments);var t=WMe(e),r=new Date(0);r.setFullYear(t,0,4),r.setHours(0,0,0,0);var n=ff(r);return n}function fp(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Zd(e){Mr(1,arguments);var t=fn(e);return t.setHours(0,0,0,0),t}var YMe=864e5;function nl(e,t){Mr(2,arguments);var r=Zd(e),n=Zd(t),i=r.getTime()-fp(r),a=n.getTime()-fp(n);return Math.round((i-a)/YMe)}function gP(e,t){Mr(2,arguments);var r=ba(t),n=r*7;return lo(e,n)}function KMe(e,t){Mr(2,arguments);var r=ba(t);return eu(e,r*12)}function XMe(e){Mr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Jd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=fn(n);(r===void 0||r<i||isNaN(Number(i)))&&(r=i)}),r||new Date(NaN)}function QMe(e){Mr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Jd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=fn(n);(r===void 0||r>i||isNaN(i.getDate()))&&(r=i)}),r||new Date(NaN)}function Lo(e,t){Mr(2,arguments);var r=Zd(e),n=Zd(t);return r.getTime()===n.getTime()}function Yk(e){return Mr(1,arguments),e instanceof Date||Jd(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function JMe(e){if(Mr(1,arguments),!Yk(e)&&typeof e!="number")return!1;var t=fn(e);return!isNaN(Number(t))}function dp(e,t){Mr(2,arguments);var r=fn(e),n=fn(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}var ZMe=6048e5;function e$e(e,t,r){Mr(2,arguments);var n=Cu(e,r),i=Cu(t,r),a=n.getTime()-fp(n),o=i.getTime()-fp(i);return Math.round((a-o)/ZMe)}function Kk(e){Mr(1,arguments);var t=fn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function $o(e){Mr(1,arguments);var t=fn(e);return t.setDate(1),t.setHours(0,0,0,0),t}function t$e(e){Mr(1,arguments);var t=fn(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Xk(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=yc(),h=ba((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=fn(e),g=v.getDay(),S=(g<h?-7:0)+6-(g-h);return v.setDate(v.getDate()+S),v.setHours(23,59,59,999),v}function xse(e){return Mr(1,arguments),Xk(e,{weekStartsOn:1})}function r$e(e,t){Mr(2,arguments);var r=ba(t);return HMe(e,-r)}var n$e=864e5;function i$e(e){Mr(1,arguments);var t=fn(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/n$e)+1}function Cy(e){Mr(1,arguments);var t=1,r=fn(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function Cse(e){Mr(1,arguments);var t=fn(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Cy(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Cy(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function a$e(e){Mr(1,arguments);var t=Cse(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Cy(r);return n}var o$e=6048e5;function s$e(e){Mr(1,arguments);var t=fn(e),r=Cy(t).getTime()-a$e(t).getTime();return Math.round(r/o$e)+1}function Ay(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=yc(),h=ba((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=fn(e),g=v.getUTCDay(),S=(g<h?7:0)+g-h;return v.setUTCDate(v.getUTCDate()-S),v.setUTCHours(0,0,0,0),v}function Ase(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=fn(e),h=d.getUTCFullYear(),v=yc(),g=ba((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(l=v.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=new Date(0);S.setUTCFullYear(h+1,0,g),S.setUTCHours(0,0,0,0);var E=Ay(S,t),y=new Date(0);y.setUTCFullYear(h,0,g),y.setUTCHours(0,0,0,0);var w=Ay(y,t);return d.getTime()>=E.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function u$e(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=yc(),h=ba((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=Ase(e,t),g=new Date(0);g.setUTCFullYear(v,0,h),g.setUTCHours(0,0,0,0);var S=Ay(g,t);return S}var l$e=6048e5;function c$e(e,t){Mr(1,arguments);var r=fn(e),n=Ay(r,t).getTime()-u$e(r,t).getTime();return Math.round(n/l$e)+1}function Gn(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var jl={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return Gn(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):Gn(n+1,2)},d:function(t,r){return Gn(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return Gn(t.getUTCHours()%12||12,r.length)},H:function(t,r){return Gn(t.getUTCHours(),r.length)},m:function(t,r){return Gn(t.getUTCMinutes(),r.length)},s:function(t,r){return Gn(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return Gn(a,r.length)}},wd={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f$e={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return jl.y(t,r)},Y:function(t,r,n,i){var a=Ase(t,i),o=a>0?a:1-a;if(r==="YY"){var s=o%100;return Gn(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):Gn(o,r.length)},R:function(t,r){var n=Cse(t);return Gn(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return Gn(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Gn(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Gn(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return jl.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Gn(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=c$e(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):Gn(a,r.length)},I:function(t,r,n){var i=s$e(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Gn(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):jl.d(t,r)},D:function(t,r,n){var i=i$e(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Gn(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return Gn(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return Gn(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return Gn(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=wd.noon:i===0?a=wd.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=wd.evening:i>=12?a=wd.afternoon:i>=4?a=wd.morning:a=wd.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return jl.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):jl.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):jl.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):jl.s(t,r)},S:function(t,r){return jl.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return BJ(o);case"XXXX":case"XX":return Uc(o);case"XXXXX":case"XXX":default:return Uc(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return BJ(o);case"xxxx":case"xx":return Uc(o);case"xxxxx":case"xxx":default:return Uc(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+VJ(o,":");case"OOOO":default:return"GMT"+Uc(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+VJ(o,":");case"zzzz":default:return"GMT"+Uc(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return Gn(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return Gn(o,r.length)}};function VJ(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+Gn(a,2)}function BJ(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Gn(Math.abs(e)/60,2)}return Uc(e,t)}function Uc(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=Gn(Math.floor(i/60),2),o=Gn(i%60,2);return n+a+r+o}var HJ=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Ose=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},d$e=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return HJ(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",HJ(i,r)).replace("{{time}}",Ose(a,r))},h$e={p:Ose,P:d$e},v$e=["D","DD"],p$e=["YY","YYYY"];function g$e(e){return v$e.indexOf(e)!==-1}function m$e(e){return p$e.indexOf(e)!==-1}function zJ(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var y$e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_$e=function(t,r,n){var i,a=y$e[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function xO(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var S$e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},E$e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},w$e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},b$e={date:xO({formats:S$e,defaultWidth:"full"}),time:xO({formats:E$e,defaultWidth:"full"}),dateTime:xO({formats:w$e,defaultWidth:"full"})},T$e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},R$e=function(t,r,n,i){return T$e[t]};function dv(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var x$e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},C$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},A$e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},O$e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},I$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},P$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},D$e=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},k$e={ordinalNumber:D$e,era:dv({values:x$e,defaultWidth:"wide"}),quarter:dv({values:C$e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:dv({values:A$e,defaultWidth:"wide"}),day:dv({values:O$e,defaultWidth:"wide"}),dayPeriod:dv({values:I$e,defaultWidth:"wide",formattingValues:P$e,defaultFormattingWidth:"wide"})};function hv(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?L$e(s,function(h){return h.test(o)}):N$e(s,function(h){return h.test(o)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(o.length);return{value:c,rest:d}}}function N$e(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function L$e(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function M$e(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var $$e=/^(\d+)(th|st|nd|rd)?/i,F$e=/\d+/i,j$e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},U$e={any:[/^b/i,/^(a|c)/i]},q$e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},V$e={any:[/1/i,/2/i,/3/i,/4/i]},B$e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},H$e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},z$e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},W$e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},G$e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Y$e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},K$e={ordinalNumber:M$e({matchPattern:$$e,parsePattern:F$e,valueCallback:function(t){return parseInt(t,10)}}),era:hv({matchPatterns:j$e,defaultMatchWidth:"wide",parsePatterns:U$e,defaultParseWidth:"any"}),quarter:hv({matchPatterns:q$e,defaultMatchWidth:"wide",parsePatterns:V$e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:hv({matchPatterns:B$e,defaultMatchWidth:"wide",parsePatterns:H$e,defaultParseWidth:"any"}),day:hv({matchPatterns:z$e,defaultMatchWidth:"wide",parsePatterns:W$e,defaultParseWidth:"any"}),dayPeriod:hv({matchPatterns:G$e,defaultMatchWidth:"any",parsePatterns:Y$e,defaultParseWidth:"any"})},Ise={code:"en-US",formatDistance:_$e,formatLong:b$e,formatRelative:R$e,localize:k$e,match:K$e,options:{weekStartsOn:0,firstWeekContainsDate:1}},X$e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Q$e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,J$e=/^'([^]*?)'?$/,Z$e=/''/g,eFe=/[a-zA-Z]/;function Hf(e,t,r){var n,i,a,o,s,l,c,d,h,v,g,S,E,y,w,b,A,R;Mr(2,arguments);var C=String(t),O=yc(),m=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:O.locale)!==null&&n!==void 0?n:Ise,D=ba((a=(o=(s=(l=r==null?void 0:r.firstWeekContainsDate)!==null&&l!==void 0?l:r==null||(c=r.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:O.firstWeekContainsDate)!==null&&o!==void 0?o:(h=O.locale)===null||h===void 0||(v=h.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=ba((g=(S=(E=(y=r==null?void 0:r.weekStartsOn)!==null&&y!==void 0?y:r==null||(w=r.locale)===null||w===void 0||(b=w.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&E!==void 0?E:O.weekStartsOn)!==null&&S!==void 0?S:(A=O.locale)===null||A===void 0||(R=A.options)===null||R===void 0?void 0:R.weekStartsOn)!==null&&g!==void 0?g:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!m.localize)throw new RangeError("locale must contain localize property");if(!m.formatLong)throw new RangeError("locale must contain formatLong property");var q=fn(e);if(!JMe(q))throw new RangeError("Invalid time value");var j=fp(q),W=r$e(q,j),K={firstWeekContainsDate:D,weekStartsOn:k,locale:m,_originalDate:q},X=C.match(Q$e).map(function(Q){var J=Q[0];if(J==="p"||J==="P"){var re=h$e[J];return re(Q,m.formatLong)}return Q}).join("").match(X$e).map(function(Q){if(Q==="''")return"'";var J=Q[0];if(J==="'")return tFe(Q);var re=f$e[J];if(re)return!(r!=null&&r.useAdditionalWeekYearTokens)&&m$e(Q)&&zJ(Q,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&g$e(Q)&&zJ(Q,t,String(e)),re(W,Q,m.localize,K);if(J.match(eFe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");return Q}).join("");return X}function tFe(e){var t=e.match(J$e);return t?t[1].replace(Z$e,"'"):e}function rFe(e){Mr(1,arguments);var t=fn(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}var nFe=6048e5;function iFe(e){Mr(1,arguments);var t=fn(e),r=ff(t).getTime()-GMe(t).getTime();return Math.round(r/nFe)+1}function aFe(e){Mr(1,arguments);var t=fn(e),r=t.getTime();return r}function oFe(e){return Mr(1,arguments),Math.floor(aFe(e)/1e3)}function sFe(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=fn(e),h=d.getFullYear(),v=yc(),g=ba((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(l=v.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=new Date(0);S.setFullYear(h+1,0,g),S.setHours(0,0,0,0);var E=Cu(S,t),y=new Date(0);y.setFullYear(h,0,g),y.setHours(0,0,0,0);var w=Cu(y,t);return d.getTime()>=E.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function uFe(e,t){var r,n,i,a,o,s,l,c;Mr(1,arguments);var d=yc(),h=ba((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=sFe(e,t),g=new Date(0);g.setFullYear(v,0,h),g.setHours(0,0,0,0);var S=Cu(g,t);return S}var lFe=6048e5;function cFe(e,t){Mr(1,arguments);var r=fn(e),n=Cu(r,t).getTime()-uFe(r,t).getTime();return Math.round(n/lFe)+1}function fFe(e){Mr(1,arguments);var t=fn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function dFe(e,t){return Mr(1,arguments),e$e(fFe(e),$o(e),t)+1}function mP(e,t){Mr(2,arguments);var r=fn(e),n=fn(t);return r.getTime()>n.getTime()}function Pse(e,t){Mr(2,arguments);var r=fn(e),n=fn(t);return r.getTime()<n.getTime()}function Qk(e,t){Mr(2,arguments);var r=fn(e),n=fn(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function hFe(e,t){Mr(2,arguments);var r=fn(e),n=fn(t);return r.getFullYear()===n.getFullYear()}function CO(e,t){Mr(2,arguments);var r=ba(t);return lo(e,-r)}function AO(e,t){Mr(2,arguments);var r=fn(e),n=ba(t),i=r.getFullYear(),a=r.getDate(),o=new Date(0);o.setFullYear(i,n,15),o.setHours(0,0,0,0);var s=rFe(o);return r.setMonth(n,Math.min(a,s)),r}function WJ(e,t){Mr(2,arguments);var r=fn(e),n=ba(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}var Hr=function(){return Hr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Hr.apply(this,arguments)};function vFe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Dse(e,t,r){for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var kse={exports:{}},vv={};/**
160
- * @license React
161
- * react-jsx-runtime.production.min.js
162
- *
163
- * Copyright (c) Facebook, Inc. and its affiliates.
164
- *
165
- * This source code is licensed under the MIT license found in the
166
- * LICENSE file in the root directory of this source tree.
167
- */var GJ;function pFe(){if(GJ)return vv;GJ=1;var e=sr,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),l.key!==void 0&&(v=""+l.key),l.ref!==void 0&&(g=l.ref);for(d in l)n.call(l,d)&&!a.hasOwnProperty(d)&&(h[d]=l[d]);if(s&&s.defaultProps)for(d in l=s.defaultProps,l)h[d]===void 0&&(h[d]=l[d]);return{$$typeof:t,type:s,key:v,ref:g,props:h,_owner:i.current}}return vv.Fragment=r,vv.jsx=o,vv.jsxs=o,vv}kse.exports=pFe();var Mt=kse.exports;function Qp(e){return e.mode==="multiple"}function Jp(e){return e.mode==="range"}function m0(e){return e.mode==="single"}var gFe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function mFe(e,t){return Hf(e,"LLLL y",t)}function yFe(e,t){return Hf(e,"d",t)}function _Fe(e,t){return Hf(e,"LLLL",t)}function SFe(e){return"".concat(e)}function EFe(e,t){return Hf(e,"cccccc",t)}function wFe(e,t){return Hf(e,"yyyy",t)}var bFe=Object.freeze({__proto__:null,formatCaption:mFe,formatDay:yFe,formatMonthCaption:_Fe,formatWeekNumber:SFe,formatWeekdayName:EFe,formatYearCaption:wFe}),TFe=function(e,t,r){return Hf(e,"do MMMM (EEEE)",r)},RFe=function(){return"Month: "},xFe=function(){return"Go to next month"},CFe=function(){return"Go to previous month"},AFe=function(e,t){return Hf(e,"cccc",t)},OFe=function(e){return"Week n. ".concat(e)},IFe=function(){return"Year: "},PFe=Object.freeze({__proto__:null,labelDay:TFe,labelMonthDropdown:RFe,labelNext:xFe,labelPrevious:CFe,labelWeekNumber:OFe,labelWeekday:AFe,labelYearDropdown:IFe});function DFe(){var e="buttons",t=gFe,r=Ise,n={},i={},a=1,o={},s=new Date;return{captionLayout:e,classNames:t,formatters:bFe,labels:PFe,locale:r,modifiersClassNames:n,modifiers:i,numberOfMonths:a,styles:o,today:s,mode:"default"}}function kFe(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,i=e.toMonth,a=e.fromDate,o=e.toDate;return n?a=$o(n):t&&(a=new Date(t,0,1)),i?o=Kk(i):r&&(o=new Date(r,11,31)),{fromDate:a?Zd(a):void 0,toDate:o?Zd(o):void 0}}var Nse=pe.createContext(void 0);function NFe(e){var t,r=e.initialProps,n=DFe(),i=kFe(r),a=i.fromDate,o=i.toDate,s=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;s!=="buttons"&&(!a||!o)&&(s="buttons");var l;(m0(r)||Qp(r)||Jp(r))&&(l=r.onSelect);var c=Hr(Hr(Hr({},n),r),{captionLayout:s,classNames:Hr(Hr({},n.classNames),r.classNames),components:Hr({},r.components),formatters:Hr(Hr({},n.formatters),r.formatters),fromDate:a,labels:Hr(Hr({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:Hr(Hr({},n.modifiers),r.modifiers),modifiersClassNames:Hr(Hr({},n.modifiersClassNames),r.modifiersClassNames),onSelect:l,styles:Hr(Hr({},n.styles),r.styles),toDate:o});return Mt.jsx(Nse.Provider,{value:c,children:e.children})}function yi(){var e=pe.useContext(Nse);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Lse(e){var t=yi(),r=t.locale,n=t.classNames,i=t.styles,a=t.formatters.formatCaption;return Mt.jsx("div",{className:n.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function LFe(e){return Mt.jsx("svg",Hr({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:Mt.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Mse(e){var t,r,n=e.onChange,i=e.value,a=e.children,o=e.caption,s=e.className,l=e.style,c=yi(),d=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:LFe;return Mt.jsxs("div",{className:s,style:l,children:[Mt.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),Mt.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:i,onChange:n,children:a}),Mt.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[o,Mt.jsx(d,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function MFe(e){var t,r=yi(),n=r.fromDate,i=r.toDate,a=r.styles,o=r.locale,s=r.formatters.formatMonthCaption,l=r.classNames,c=r.components,d=r.labels.labelMonthDropdown;if(!n)return Mt.jsx(Mt.Fragment,{});if(!i)return Mt.jsx(Mt.Fragment,{});var h=[];if(hFe(n,i))for(var v=$o(n),g=n.getMonth();g<=i.getMonth();g++)h.push(AO(v,g));else for(var v=$o(new Date),g=0;g<=11;g++)h.push(AO(v,g));var S=function(y){var w=Number(y.target.value),b=AO($o(e.displayMonth),w);e.onChange(b)},E=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Mse;return Mt.jsx(E,{name:"months","aria-label":d(),className:l.dropdown_month,style:a.dropdown_month,onChange:S,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:o}),children:h.map(function(y){return Mt.jsx("option",{value:y.getMonth(),children:s(y,{locale:o})},y.getMonth())})})}function $Fe(e){var t,r=e.displayMonth,n=yi(),i=n.fromDate,a=n.toDate,o=n.locale,s=n.styles,l=n.classNames,c=n.components,d=n.formatters.formatYearCaption,h=n.labels.labelYearDropdown,v=[];if(!i)return Mt.jsx(Mt.Fragment,{});if(!a)return Mt.jsx(Mt.Fragment,{});for(var g=i.getFullYear(),S=a.getFullYear(),E=g;E<=S;E++)v.push(WJ(t$e(new Date),E));var y=function(b){var A=WJ($o(r),Number(b.target.value));e.onChange(A)},w=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Mse;return Mt.jsx(w,{name:"years","aria-label":h(),className:l.dropdown_year,style:s.dropdown_year,onChange:y,value:r.getFullYear(),caption:d(r,{locale:o}),children:v.map(function(b){return Mt.jsx("option",{value:b.getFullYear(),children:d(b,{locale:o})},b.getFullYear())})})}function FFe(e,t){var r=pe.useState(e),n=r[0],i=r[1],a=t===void 0?n:t;return[a,i]}function jFe(e){var t=e.month,r=e.defaultMonth,n=e.today,i=t||r||n||new Date,a=e.toDate,o=e.fromDate,s=e.numberOfMonths,l=s===void 0?1:s;if(a&&dp(a,i)<0){var c=-1*(l-1);i=eu(a,c)}return o&&dp(i,o)<0&&(i=o),$o(i)}function UFe(){var e=yi(),t=jFe(e),r=FFe(t,e.month),n=r[0],i=r[1],a=function(o){var s;if(!e.disableNavigation){var l=$o(o);i(l),(s=e.onMonthChange)===null||s===void 0||s.call(e,l)}};return[n,a]}function qFe(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,i=$o(e),a=$o(eu(i,n)),o=dp(a,i),s=[],l=0;l<o;l++){var c=eu(i,l);s.push(c)}return r&&(s=s.reverse()),s}function VFe(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,s=$o(e);if(!r)return eu(s,o);var l=dp(r,e);if(!(l<a))return eu(s,o)}}function BFe(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,s=$o(e);if(!r)return eu(s,-o);var l=dp(s,r);if(!(l<=0))return eu(s,-o)}}var $se=pe.createContext(void 0);function HFe(e){var t=yi(),r=UFe(),n=r[0],i=r[1],a=qFe(n,t),o=VFe(n,t),s=BFe(n,t),l=function(h){return a.some(function(v){return Qk(h,v)})},c=function(h,v){l(h)||(v&&Pse(h,v)?i(eu(h,1+t.numberOfMonths*-1)):i(h))},d={currentMonth:n,displayMonths:a,goToMonth:i,goToDate:c,previousMonth:s,nextMonth:o,isDateDisplayed:l};return Mt.jsx($se.Provider,{value:d,children:e.children})}function Zp(){var e=pe.useContext($se);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function YJ(e){var t,r=yi(),n=r.classNames,i=r.styles,a=r.components,o=Zp().goToMonth,s=function(d){o(eu(d,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:Lse,c=Mt.jsx(l,{id:e.id,displayMonth:e.displayMonth});return Mt.jsxs("div",{className:n.caption_dropdowns,style:i.caption_dropdowns,children:[Mt.jsx("div",{className:n.vhidden,children:c}),Mt.jsx(MFe,{onChange:s,displayMonth:e.displayMonth}),Mt.jsx($Fe,{onChange:s,displayMonth:e.displayMonth})]})}function zFe(e){return Mt.jsx("svg",Hr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Mt.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function WFe(e){return Mt.jsx("svg",Hr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Mt.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Oy=pe.forwardRef(function(e,t){var r=yi(),n=r.classNames,i=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var o=a.join(" "),s=Hr(Hr({},i.button_reset),i.button);return e.style&&Object.assign(s,e.style),Mt.jsx("button",Hr({},e,{ref:t,type:"button",className:o,style:s}))});function GFe(e){var t,r,n=yi(),i=n.dir,a=n.locale,o=n.classNames,s=n.styles,l=n.labels,c=l.labelPrevious,d=l.labelNext,h=n.components;if(!e.nextMonth&&!e.previousMonth)return Mt.jsx(Mt.Fragment,{});var v=c(e.previousMonth,{locale:a}),g=[o.nav_button,o.nav_button_previous].join(" "),S=d(e.nextMonth,{locale:a}),E=[o.nav_button,o.nav_button_next].join(" "),y=(t=h==null?void 0:h.IconRight)!==null&&t!==void 0?t:WFe,w=(r=h==null?void 0:h.IconLeft)!==null&&r!==void 0?r:zFe;return Mt.jsxs("div",{className:o.nav,style:s.nav,children:[!e.hidePrevious&&Mt.jsx(Oy,{name:"previous-month","aria-label":v,className:g,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?Mt.jsx(y,{className:o.nav_icon,style:s.nav_icon}):Mt.jsx(w,{className:o.nav_icon,style:s.nav_icon})}),!e.hideNext&&Mt.jsx(Oy,{name:"next-month","aria-label":S,className:E,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?Mt.jsx(w,{className:o.nav_icon,style:s.nav_icon}):Mt.jsx(y,{className:o.nav_icon,style:s.nav_icon})})]})}function KJ(e){var t=yi().numberOfMonths,r=Zp(),n=r.previousMonth,i=r.nextMonth,a=r.goToMonth,o=r.displayMonths,s=o.findIndex(function(S){return Qk(e.displayMonth,S)}),l=s===0,c=s===o.length-1,d=t>1&&(l||!c),h=t>1&&(c||!l),v=function(){n&&a(n)},g=function(){i&&a(i)};return Mt.jsx(GFe,{displayMonth:e.displayMonth,hideNext:d,hidePrevious:h,nextMonth:i,previousMonth:n,onPreviousClick:v,onNextClick:g})}function YFe(e){var t,r=yi(),n=r.classNames,i=r.disableNavigation,a=r.styles,o=r.captionLayout,s=r.components,l=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:Lse,c;return i?c=Mt.jsx(l,{id:e.id,displayMonth:e.displayMonth}):o==="dropdown"?c=Mt.jsx(YJ,{displayMonth:e.displayMonth,id:e.id}):o==="dropdown-buttons"?c=Mt.jsxs(Mt.Fragment,{children:[Mt.jsx(YJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),Mt.jsx(KJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=Mt.jsxs(Mt.Fragment,{children:[Mt.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Mt.jsx(KJ,{displayMonth:e.displayMonth,id:e.id})]}),Mt.jsx("div",{className:n.caption,style:a.caption,children:c})}function KFe(e){var t=yi(),r=t.footer,n=t.styles,i=t.classNames.tfoot;return r?Mt.jsx("tfoot",{className:i,style:n.tfoot,children:Mt.jsx("tr",{children:Mt.jsx("td",{colSpan:8,children:r})})}):Mt.jsx(Mt.Fragment,{})}function XFe(e,t,r){for(var n=r?ff(new Date):Cu(new Date,{locale:e,weekStartsOn:t}),i=[],a=0;a<7;a++){var o=lo(n,a);i.push(o)}return i}function QFe(){var e=yi(),t=e.classNames,r=e.styles,n=e.showWeekNumber,i=e.locale,a=e.weekStartsOn,o=e.ISOWeek,s=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,c=XFe(i,a,o);return Mt.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&Mt.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(d,h){return Mt.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":l(d,{locale:i}),children:s(d,{locale:i})},h)})]})}function JFe(){var e,t=yi(),r=t.classNames,n=t.styles,i=t.components,a=(e=i==null?void 0:i.HeadRow)!==null&&e!==void 0?e:QFe;return Mt.jsx("thead",{style:n.head,className:r.head,children:Mt.jsx(a,{})})}function ZFe(e){var t=yi(),r=t.locale,n=t.formatters.formatDay;return Mt.jsx(Mt.Fragment,{children:n(e.date,{locale:r})})}var Jk=pe.createContext(void 0);function eje(e){if(!Qp(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return Mt.jsx(Jk.Provider,{value:t,children:e.children})}return Mt.jsx(tje,{initialProps:e.initialProps,children:e.children})}function tje(e){var t=e.initialProps,r=e.children,n=t.selected,i=t.min,a=t.max,o=function(c,d,h){var v,g;(v=t.onDayClick)===null||v===void 0||v.call(t,c,d,h);var S=!!(d.selected&&i&&(n==null?void 0:n.length)===i);if(!S){var E=!!(!d.selected&&a&&(n==null?void 0:n.length)===a);if(!E){var y=n?Dse([],n):[];if(d.selected){var w=y.findIndex(function(b){return Lo(c,b)});y.splice(w,1)}else y.push(c);(g=t.onSelect)===null||g===void 0||g.call(t,y,c,d,h)}}},s={disabled:[]};n&&s.disabled.push(function(c){var d=a&&n.length>a-1,h=n.some(function(v){return Lo(v,c)});return!!(d&&!h)});var l={selected:n,onDayClick:o,modifiers:s};return Mt.jsx(Jk.Provider,{value:l,children:r})}function Zk(){var e=pe.useContext(Jk);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function rje(e,t){var r=t||{},n=r.from,i=r.to;return n&&i?Lo(i,e)&&Lo(n,e)?void 0:Lo(i,e)?{from:i,to:void 0}:Lo(n,e)?void 0:mP(n,e)?{from:e,to:i}:{from:n,to:e}:i?mP(e,i)?{from:i,to:e}:{from:e,to:i}:n?Pse(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var eN=pe.createContext(void 0);function nje(e){if(!Jp(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return Mt.jsx(eN.Provider,{value:t,children:e.children})}return Mt.jsx(ije,{initialProps:e.initialProps,children:e.children})}function ije(e){var t=e.initialProps,r=e.children,n=t.selected,i=n||{},a=i.from,o=i.to,s=t.min,l=t.max,c=function(g,S,E){var y,w;(y=t.onDayClick)===null||y===void 0||y.call(t,g,S,E);var b=rje(g,n);(w=t.onSelect)===null||w===void 0||w.call(t,b,g,S,E)},d={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(d.range_start=[a],o?(d.range_end=[o],Lo(a,o)||(d.range_middle=[{after:a,before:o}])):d.range_end=[a]):o&&(d.range_start=[o],d.range_end=[o]),s&&(a&&!o&&d.disabled.push({after:CO(a,s-1),before:lo(a,s-1)}),a&&o&&d.disabled.push({after:a,before:lo(a,s-1)}),!a&&o&&d.disabled.push({after:CO(o,s-1),before:lo(o,s-1)})),l){if(a&&!o&&(d.disabled.push({before:lo(a,-l+1)}),d.disabled.push({after:lo(a,l-1)})),a&&o){var h=nl(o,a)+1,v=l-h;d.disabled.push({before:CO(a,v)}),d.disabled.push({after:lo(o,v)})}!a&&o&&(d.disabled.push({before:lo(o,-l+1)}),d.disabled.push({after:lo(o,l-1)}))}return Mt.jsx(eN.Provider,{value:{selected:n,onDayClick:c,modifiers:d},children:r})}function tN(){var e=pe.useContext(eN);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Qm(e){return Array.isArray(e)?Dse([],e):e!==void 0?[e]:[]}function aje(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],i=r[1];t[n]=Qm(i)}),t}var tu;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(tu||(tu={}));var oje=tu.Selected,Wu=tu.Disabled,sje=tu.Hidden,uje=tu.Today,OO=tu.RangeEnd,IO=tu.RangeMiddle,PO=tu.RangeStart,lje=tu.Outside;function cje(e,t,r){var n,i=(n={},n[oje]=Qm(e.selected),n[Wu]=Qm(e.disabled),n[sje]=Qm(e.hidden),n[uje]=[e.today],n[OO]=[],n[IO]=[],n[PO]=[],n[lje]=[],n);return e.fromDate&&i[Wu].push({before:e.fromDate}),e.toDate&&i[Wu].push({after:e.toDate}),Qp(e)?i[Wu]=i[Wu].concat(t.modifiers[Wu]):Jp(e)&&(i[Wu]=i[Wu].concat(r.modifiers[Wu]),i[PO]=r.modifiers[PO],i[IO]=r.modifiers[IO],i[OO]=r.modifiers[OO]),i}var Fse=pe.createContext(void 0);function fje(e){var t=yi(),r=Zk(),n=tN(),i=cje(t,r,n),a=aje(t.modifiers),o=Hr(Hr({},i),a);return Mt.jsx(Fse.Provider,{value:o,children:e.children})}function jse(){var e=pe.useContext(Fse);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function dje(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function hje(e){return!!(e&&typeof e=="object"&&"from"in e)}function vje(e){return!!(e&&typeof e=="object"&&"after"in e)}function pje(e){return!!(e&&typeof e=="object"&&"before"in e)}function gje(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function mje(e,t){var r,n=t.from,i=t.to;if(n&&i){var a=nl(i,n)<0;a&&(r=[i,n],n=r[0],i=r[1]);var o=nl(e,n)>=0&&nl(i,e)>=0;return o}return i?Lo(i,e):n?Lo(n,e):!1}function yje(e){return Yk(e)}function _je(e){return Array.isArray(e)&&e.every(Yk)}function Sje(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(yje(r))return Lo(e,r);if(_je(r))return r.includes(e);if(hje(r))return mje(e,r);if(gje(r))return r.dayOfWeek.includes(e.getDay());if(dje(r)){var n=nl(r.before,e),i=nl(r.after,e),a=n>0,o=i<0,s=mP(r.before,r.after);return s?o&&a:a||o}return vje(r)?nl(e,r.after)>0:pje(r)?nl(r.before,e)>0:typeof r=="function"?r(e):!1})}function rN(e,t,r){var n=Object.keys(t).reduce(function(a,o){var s=t[o];return Sje(e,s)&&a.push(o),a},[]),i={};return n.forEach(function(a){return i[a]=!0}),r&&!Qk(e,r)&&(i.outside=!0),i}function Eje(e,t){for(var r=$o(e[0]),n=Kk(e[e.length-1]),i,a,o=r;o<=n;){var s=rN(o,t),l=!s.disabled&&!s.hidden;if(!l){o=lo(o,1);continue}if(s.selected)return o;s.today&&!a&&(a=o),i||(i=o),o=lo(o,1)}return a||i}var wje=365;function Use(e,t){var r=t.moveBy,n=t.direction,i=t.context,a=t.modifiers,o=t.retry,s=o===void 0?{count:0,lastFocused:e}:o,l=i.weekStartsOn,c=i.fromDate,d=i.toDate,h=i.locale,v={day:lo,week:gP,month:eu,year:KMe,startOfWeek:function(y){return i.ISOWeek?ff(y):Cu(y,{locale:h,weekStartsOn:l})},endOfWeek:function(y){return i.ISOWeek?xse(y):Xk(y,{locale:h,weekStartsOn:l})}},g=v[r](e,n==="after"?1:-1);n==="before"&&c?g=XMe([c,g]):n==="after"&&d&&(g=QMe([d,g]));var S=!0;if(a){var E=rN(g,a);S=!E.disabled&&!E.hidden}return S?g:s.count>wje?s.lastFocused:Use(g,{moveBy:r,direction:n,context:i,modifiers:a,retry:Hr(Hr({},s),{count:s.count+1})})}var qse=pe.createContext(void 0);function bje(e){var t=Zp(),r=jse(),n=pe.useState(),i=n[0],a=n[1],o=pe.useState(),s=o[0],l=o[1],c=Eje(t.displayMonths,r),d=i??(s&&t.isDateDisplayed(s))?s:c,h=function(){l(i),a(void 0)},v=function(y){a(y)},g=yi(),S=function(y,w){if(i){var b=Use(i,{moveBy:y,direction:w,context:g,modifiers:r});Lo(i,b)||(t.goToDate(b,i),v(b))}},E={focusedDay:i,focusTarget:d,blur:h,focus:v,focusDayAfter:function(){return S("day","after")},focusDayBefore:function(){return S("day","before")},focusWeekAfter:function(){return S("week","after")},focusWeekBefore:function(){return S("week","before")},focusMonthBefore:function(){return S("month","before")},focusMonthAfter:function(){return S("month","after")},focusYearBefore:function(){return S("year","before")},focusYearAfter:function(){return S("year","after")},focusStartOfWeek:function(){return S("startOfWeek","before")},focusEndOfWeek:function(){return S("endOfWeek","after")}};return Mt.jsx(qse.Provider,{value:E,children:e.children})}function nN(){var e=pe.useContext(qse);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Tje(e,t){var r=jse(),n=rN(e,r,t);return n}var iN=pe.createContext(void 0);function Rje(e){if(!m0(e.initialProps)){var t={selected:void 0};return Mt.jsx(iN.Provider,{value:t,children:e.children})}return Mt.jsx(xje,{initialProps:e.initialProps,children:e.children})}function xje(e){var t=e.initialProps,r=e.children,n=function(a,o,s){var l,c,d;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,o,s),o.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,o,s);return}(d=t.onSelect)===null||d===void 0||d.call(t,a,a,o,s)},i={selected:t.selected,onDayClick:n};return Mt.jsx(iN.Provider,{value:i,children:r})}function Vse(){var e=pe.useContext(iN);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function Cje(e,t){var r=yi(),n=Vse(),i=Zk(),a=tN(),o=nN(),s=o.focusDayAfter,l=o.focusDayBefore,c=o.focusWeekAfter,d=o.focusWeekBefore,h=o.blur,v=o.focus,g=o.focusMonthBefore,S=o.focusMonthAfter,E=o.focusYearBefore,y=o.focusYearAfter,w=o.focusStartOfWeek,b=o.focusEndOfWeek,A=function(re){var $,N,U,ee;m0(r)?($=n.onDayClick)===null||$===void 0||$.call(n,e,t,re):Qp(r)?(N=i.onDayClick)===null||N===void 0||N.call(i,e,t,re):Jp(r)?(U=a.onDayClick)===null||U===void 0||U.call(a,e,t,re):(ee=r.onDayClick)===null||ee===void 0||ee.call(r,e,t,re)},R=function(re){var $;v(e),($=r.onDayFocus)===null||$===void 0||$.call(r,e,t,re)},C=function(re){var $;h(),($=r.onDayBlur)===null||$===void 0||$.call(r,e,t,re)},O=function(re){var $;($=r.onDayMouseEnter)===null||$===void 0||$.call(r,e,t,re)},m=function(re){var $;($=r.onDayMouseLeave)===null||$===void 0||$.call(r,e,t,re)},D=function(re){var $;($=r.onDayPointerEnter)===null||$===void 0||$.call(r,e,t,re)},k=function(re){var $;($=r.onDayPointerLeave)===null||$===void 0||$.call(r,e,t,re)},q=function(re){var $;($=r.onDayTouchCancel)===null||$===void 0||$.call(r,e,t,re)},j=function(re){var $;($=r.onDayTouchEnd)===null||$===void 0||$.call(r,e,t,re)},W=function(re){var $;($=r.onDayTouchMove)===null||$===void 0||$.call(r,e,t,re)},K=function(re){var $;($=r.onDayTouchStart)===null||$===void 0||$.call(r,e,t,re)},X=function(re){var $;($=r.onDayKeyUp)===null||$===void 0||$.call(r,e,t,re)},Q=function(re){var $;switch(re.key){case"ArrowLeft":re.preventDefault(),re.stopPropagation(),r.dir==="rtl"?s():l();break;case"ArrowRight":re.preventDefault(),re.stopPropagation(),r.dir==="rtl"?l():s();break;case"ArrowDown":re.preventDefault(),re.stopPropagation(),c();break;case"ArrowUp":re.preventDefault(),re.stopPropagation(),d();break;case"PageUp":re.preventDefault(),re.stopPropagation(),re.shiftKey?E():g();break;case"PageDown":re.preventDefault(),re.stopPropagation(),re.shiftKey?y():S();break;case"Home":re.preventDefault(),re.stopPropagation(),w();break;case"End":re.preventDefault(),re.stopPropagation(),b();break}($=r.onDayKeyDown)===null||$===void 0||$.call(r,e,t,re)},J={onClick:A,onFocus:R,onBlur:C,onKeyDown:Q,onKeyUp:X,onMouseEnter:O,onMouseLeave:m,onPointerEnter:D,onPointerLeave:k,onTouchCancel:q,onTouchEnd:j,onTouchMove:W,onTouchStart:K};return J}function Aje(){var e=yi(),t=Vse(),r=Zk(),n=tN(),i=m0(e)?t.selected:Qp(e)?r.selected:Jp(e)?n.selected:void 0;return i}function Oje(e){return Object.values(tu).includes(e)}function Ije(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var i=e.modifiersClassNames[n];if(i)r.push(i);else if(Oje(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function Pje(e,t){var r=Hr({},e.styles.day);return Object.keys(t).forEach(function(n){var i;r=Hr(Hr({},r),(i=e.modifiersStyles)===null||i===void 0?void 0:i[n])}),r}function Dje(e,t,r){var n,i,a,o=yi(),s=nN(),l=Tje(e,t),c=Cje(e,l),d=Aje(),h=!!(o.onDayClick||o.mode!=="default");pe.useEffect(function(){var O;l.outside||s.focusedDay&&h&&Lo(s.focusedDay,e)&&((O=r.current)===null||O===void 0||O.focus())},[s.focusedDay,e,r,h,l.outside]);var v=Ije(o,l).join(" "),g=Pje(o,l),S=!!(l.outside&&!o.showOutsideDays||l.hidden),E=(a=(i=o.components)===null||i===void 0?void 0:i.DayContent)!==null&&a!==void 0?a:ZFe,y=Mt.jsx(E,{date:e,displayMonth:t,activeModifiers:l}),w={style:g,className:v,children:y,role:"gridcell"},b=s.focusTarget&&Lo(s.focusTarget,e)&&!l.outside,A=s.focusedDay&&Lo(s.focusedDay,e),R=Hr(Hr(Hr({},w),(n={disabled:l.disabled,role:"gridcell"},n["aria-selected"]=l.selected,n.tabIndex=A||b?0:-1,n)),c),C={isButton:h,isHidden:S,activeModifiers:l,selectedDays:d,buttonProps:R,divProps:w};return C}function kje(e){var t=pe.useRef(null),r=Dje(e.date,e.displayMonth,t);return r.isHidden?Mt.jsx("div",{role:"gridcell"}):r.isButton?Mt.jsx(Oy,Hr({name:"day",ref:t},r.buttonProps)):Mt.jsx("div",Hr({},r.divProps))}function Nje(e){var t=e.number,r=e.dates,n=yi(),i=n.onWeekNumberClick,a=n.styles,o=n.classNames,s=n.locale,l=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,d=c(Number(t),{locale:s});if(!i)return Mt.jsx("span",{className:o.weeknumber,style:a.weeknumber,children:d});var h=l(Number(t),{locale:s}),v=function(g){i(t,r,g)};return Mt.jsx(Oy,{name:"week-number","aria-label":h,className:o.weeknumber,style:a.weeknumber,onClick:v,children:d})}function Lje(e){var t,r,n=yi(),i=n.styles,a=n.classNames,o=n.showWeekNumber,s=n.components,l=(t=s==null?void 0:s.Day)!==null&&t!==void 0?t:kje,c=(r=s==null?void 0:s.WeekNumber)!==null&&r!==void 0?r:Nje,d;return o&&(d=Mt.jsx("td",{className:a.cell,style:i.cell,children:Mt.jsx(c,{number:e.weekNumber,dates:e.dates})})),Mt.jsxs("tr",{className:a.row,style:i.row,children:[d,e.dates.map(function(h){return Mt.jsx("td",{className:a.cell,style:i.cell,role:"presentation",children:Mt.jsx(l,{displayMonth:e.displayMonth,date:h})},oFe(h))})]})}function XJ(e,t,r){for(var n=r!=null&&r.ISOWeek?xse(t):Xk(t,r),i=r!=null&&r.ISOWeek?ff(e):Cu(e,r),a=nl(n,i),o=[],s=0;s<=a;s++)o.push(lo(i,s));var l=o.reduce(function(c,d){var h=r!=null&&r.ISOWeek?iFe(d):cFe(d,r),v=c.find(function(g){return g.weekNumber===h});return v?(v.dates.push(d),c):(c.push({weekNumber:h,dates:[d]}),c)},[]);return l}function Mje(e,t){var r=XJ($o(e),Kk(e),t);if(t!=null&&t.useFixedWeeks){var n=dFe(e,t);if(n<6){var i=r[r.length-1],a=i.dates[i.dates.length-1],o=gP(a,6-n),s=XJ(gP(a,1),o,t);r.push.apply(r,s)}}return r}function $je(e){var t,r,n,i=yi(),a=i.locale,o=i.classNames,s=i.styles,l=i.hideHead,c=i.fixedWeeks,d=i.components,h=i.weekStartsOn,v=i.firstWeekContainsDate,g=i.ISOWeek,S=Mje(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:g,locale:a,weekStartsOn:h,firstWeekContainsDate:v}),E=(t=d==null?void 0:d.Head)!==null&&t!==void 0?t:JFe,y=(r=d==null?void 0:d.Row)!==null&&r!==void 0?r:Lje,w=(n=d==null?void 0:d.Footer)!==null&&n!==void 0?n:KFe;return Mt.jsxs("table",{id:e.id,className:o.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&Mt.jsx(E,{}),Mt.jsx("tbody",{className:o.tbody,style:s.tbody,children:S.map(function(b){return Mt.jsx(y,{displayMonth:e.displayMonth,dates:b.dates,weekNumber:b.weekNumber},b.weekNumber)})}),Mt.jsx(w,{displayMonth:e.displayMonth})]})}function Fje(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var jje=Fje()?pe.useLayoutEffect:pe.useEffect,DO=!1,Uje=0;function QJ(){return"react-day-picker-".concat(++Uje)}function qje(e){var t,r=e??(DO?QJ():null),n=pe.useState(r),i=n[0],a=n[1];return jje(function(){i===null&&a(QJ())},[]),pe.useEffect(function(){DO===!1&&(DO=!0)},[]),(t=e??i)!==null&&t!==void 0?t:void 0}function Vje(e){var t,r,n=yi(),i=n.dir,a=n.classNames,o=n.styles,s=n.components,l=Zp().displayMonths,c=qje(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),d=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,h=[a.month],v=o.month,g=e.displayIndex===0,S=e.displayIndex===l.length-1,E=!g&&!S;i==="rtl"&&(t=[g,S],S=t[0],g=t[1]),g&&(h.push(a.caption_start),v=Hr(Hr({},v),o.caption_start)),S&&(h.push(a.caption_end),v=Hr(Hr({},v),o.caption_end)),E&&(h.push(a.caption_between),v=Hr(Hr({},v),o.caption_between));var y=(r=s==null?void 0:s.Caption)!==null&&r!==void 0?r:YFe;return Mt.jsxs("div",{className:h.join(" "),style:v,children:[Mt.jsx(y,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Mt.jsx($je,{id:d,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function Bje(e){var t=yi(),r=t.classNames,n=t.styles;return Mt.jsx("div",{className:r.months,style:n.months,children:e.children})}function Hje(e){var t,r,n=e.initialProps,i=yi(),a=nN(),o=Zp(),s=pe.useState(!1),l=s[0],c=s[1];pe.useEffect(function(){i.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),c(!0)))},[i.initialFocus,l,a.focus,a.focusTarget,a]);var d=[i.classNames.root,i.className];i.numberOfMonths>1&&d.push(i.classNames.multiple_months),i.showWeekNumber&&d.push(i.classNames.with_weeknumber);var h=Hr(Hr({},i.styles.root),i.style),v=Object.keys(n).filter(function(S){return S.startsWith("data-")}).reduce(function(S,E){var y;return Hr(Hr({},S),(y={},y[E]=n[E],y))},{}),g=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:Bje;return Mt.jsx("div",Hr({className:d.join(" "),style:h,dir:i.dir,id:i.id,nonce:n.nonce,title:n.title,lang:n.lang},v,{children:Mt.jsx(g,{children:o.displayMonths.map(function(S,E){return Mt.jsx(Vje,{displayIndex:E,displayMonth:S},E)})})}))}function zje(e){var t=e.children,r=vFe(e,["children"]);return Mt.jsx(NFe,{initialProps:r,children:Mt.jsx(HFe,{children:Mt.jsx(Rje,{initialProps:r,children:Mt.jsx(eje,{initialProps:r,children:Mt.jsx(nje,{initialProps:r,children:Mt.jsx(fje,{children:Mt.jsx(bje,{children:t})})})})})})})}function Wje(e){return Mt.jsx(zje,Hr({},e,{children:Mt.jsx(Hje,{initialProps:e})}))}function Iy(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z",fill:"currentColor"})})}function Gje(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"M16.818 11H4.928C4.417 11 4 11.448 4 12s.416 1 .929 1h11.89l-3.781 4.22a1.11 1.11 0 0 0 0 1.465c.36.403.943.418 1.311.045l.032-.034 5.343-5.963a1.11 1.11 0 0 0 0-1.466l-5.343-5.963a.883.883 0 0 0-1.333 0 1.115 1.115 0 0 0-.01 1.477z",fill:"currentColor"})})}function Yje(e){const t=sr.useRef(null),r=sr.useRef(null);return sr.useEffect(()=>{var n,i;e==="startDate"&&((n=t.current)==null||n.focus()),e==="endDate"&&((i=r.current)==null||i.focus())},[e]),[t,r]}const Kje="_dateInputLabel_42qi7_1",Xje="_dateInput_42qi7_1",_m={dateInputLabel:Kje,dateInput:Xje},Qje="shared.customDateRangeSelector",kO=pr.encloseNamespace(Qje),Jje=2,JJ="DD/MM/YYYY";function Zje(e){const[t,r]=sr.useState("startDate"),[n,i]=Yje(t);function a(o){t==="startDate"?(e.setDateRange({startDate:o,endDate:wn.isAfter(o,e.endDate)?void 0:e.endDate}),r(s=>s==="endDate"?"startDate":"endDate")):(e.setDateRange({startDate:wn.isAfter(e.startDate,o)?o:e.startDate,endDate:wn.isAfter(e.startDate,o)?void 0:o}),wn.isAfter(e.startDate,o)||r(s=>s==="endDate"?"startDate":"endDate"))}return V.jsxs("div",{className:"d-inline-block",children:[V.jsxs("div",{className:"d-flex align-items-center border-bottom p-3",children:[V.jsx("div",{className:"me-auto invisible",children:V.jsx(Ri,{svg:Iy})}),V.jsxs("form",{className:"d-flex align-items-center",children:[V.jsxs("div",{className:"position-relative",children:[V.jsx("strong",{className:_m.dateInputLabel,children:kO("from")}),V.jsx("input",{ref:n,className:`form-control cursor-pointer ${_m.dateInput}`,value:wn.format(e.startDate,JJ)??"",onChange:()=>{},onFocus:()=>r("startDate")})]}),V.jsx("span",{className:"px-3",children:V.jsx(Ri,{svg:Gje})}),V.jsxs("div",{className:"position-relative",children:[V.jsx("strong",{className:_m.dateInputLabel,children:kO("to")}),V.jsx("input",{ref:i,className:`form-control cursor-pointer ${_m.dateInput}`,value:wn.format(e.endDate,JJ)??"",onChange:()=>{},onFocus:()=>r("endDate")})]})]}),V.jsx("div",{className:"ms-auto cursor-pointer",children:V.jsx(Ri,{svg:Iy,onClick:e.close})})]}),V.jsx("div",{className:"p-3",children:V.jsx(Wje,{mode:"range",numberOfMonths:Jje,selected:{from:e.startDate,to:e.endDate},onDayClick:a,captionLayout:"dropdown-buttons",fromDate:e.minDate,toDate:e.maxDate,modifiersClassNames:{selected:"my-selected",today:"my-today"},defaultMonth:e.startDate})}),V.jsx("div",{className:"pb-3 px-3 text-end",children:V.jsx("button",{className:"btn btn-outline-dark",onClick:e.onClickApply,children:kO("apply")})})]})}function e3e(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M9.2 6h5.6V4.6a.6.6 0 1 1 1.2 0V6h2a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a1 1 0 0 1 1-1h2V4.6a.6.6 0 0 1 1.2 0zM6 7h12v4H6zm0 0v11a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7z"})})}function ZJ(e){return V.jsx(Qi.Toggle,{as:"div",id:"date-range-dropdown",className:"no-caret",children:V.jsxs("button",{className:"btn btn-outline-dark d-flex align-items-center pe-5",onClick:()=>{e.toggleDropdown()},children:[V.jsx("span",{children:e.value}),V.jsx("div",{className:"position-absolute translate-middle top-50 end-0 me-n1",children:V.jsx(Ri,{svg:e3e,size:Zs.Standard})})]})})}function Bse(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 1 1 1.414-1.414l2.244 2.244z",clipRule:"evenodd"})})}function Hse(e){return wn.isAfter(e,new Date,"day")}function zse(e){return Hse(e.startDate)}function t3e(e){return`(${wn.format(e.startDate,"ddd, D MMM")} - ${wn.format(e.endDate,"ddd, D MMM")})`}function r3e(e){if(!zse(e))return Hse(e.endDate)?{...e,endDate:new Date}:e}const n3e="_containerWithDynamicRanges_1khvp_1",i3e="_selectedDateRange_1khvp_4",a3e="_rangeList_1khvp_7",Iv={containerWithDynamicRanges:n3e,selectedDateRange:i3e,rangeList:a3e},o3e="shared.presetDateRangeSelector",s3e=pr.encloseNamespace(o3e);function u3e(e){const t="btn btn-link d-flex align-items-center py-1 px-0 text-decoration-none";return e?t+` fw-bold text-info ${Iv.selectedDateRange}`:t+" text-body"}function eZ(e){const t=e.range.name===e.selectedRangeName,r=zse(e.range)||e.range.disabled,n=()=>V.jsxs("button",{className:u3e(t),onClick:()=>e.onClick(e.range),disabled:r,children:[t&&V.jsx(Ri,{svg:Bse}),V.jsx("span",{className:`${r?"text-secondary":""} ${e.isDynamic?"fw-bold":""}`,children:e.range.name}),!!e.isDynamic&&V.jsxs(V.Fragment,{children:[" ",V.jsx("span",{className:"text-secondary",children:t3e(e.range)})]})]});return e.range.tooltip?V.jsx(tc,{title:e.range.tooltip,placement:"left",spanHack:!0,spanHackClassName:"justify-content-start",children:V.jsx(n,{})}):V.jsx(n,{})}function l3e(e){var i;function t(a){const o=r3e(a);o&&e.setDateRange(o)}const r=!!((i=e.dynamicDateRanges)!=null&&i.length),n=e.selectedRangeName==="custom";return V.jsxs("div",{className:r?`py-3 ${Iv.containerWithDynamicRanges}`:"py-2",children:[V.jsxs("div",{className:"row px-2",children:[V.jsx("div",{className:r?"col-4 pe-2 border-end":"col-12",children:V.jsx("ul",{className:`list-unstyled ${Iv.rangeList}`,children:e.genericDateRanges.map((a,o)=>V.jsx("li",{children:V.jsx(eZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName})},o))})}),r&&V.jsx("div",{className:"col-8 ps-2",children:V.jsx("ul",{className:`list-unstyled ${Iv.rangeList}`,children:e.dynamicDateRanges.map((a,o)=>V.jsx("li",{children:V.jsx(eZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName,isDynamic:!0})},o))})})]}),V.jsx("div",{className:"row px-2",children:V.jsx("div",{className:"col-12",children:V.jsx("div",{className:r?"pe-2 text-end":Iv.rangeList,children:V.jsxs("button",{className:`btn btn-link d-flex align-items-center p-0 ${n?"text-info mx-n4":""}`,onClick:e.showCustomRangeSelector,children:[n&&V.jsx(Ri,{svg:Bse}),V.jsx("strong",{children:s3e("customRange")})]})})})})]})}function tZ(e){return e.getFullYear()===new Date().getFullYear()}function rZ(e,t){const r=t?"ddd, D MMM YYYY":"ddd, D MMM";return wn.format(e,r)}function nZ(e,t,r){const i=Gk(e,t.name)||t;if(!i.startDate||!i.endDate)return"";const a=!tZ(i.startDate)||!tZ(i.endDate),o=`${rZ(i.startDate,a)} - ${rZ(i.endDate,a)}`;return i.name==="custom"?o:`${i.name}${r?"":` (${o})`}`}function c3e(e){const t=BMe(e.dateRangePresets,e.dateRangeQueryParams),[r,n]=sr.useState(t),[i,a]=sr.useState("none");sr.useEffect(()=>{n(t)},[!!t]);function o(c){n(c),l(c)}function s(){a("none"),l(r)}function l(c){a("none"),Uv.updateParams(Xm(c),{merge:!0,keysToRemove:["rangeName"]}),Ea.logUserAction(c,{actionType:jt.Filter,descriptor:lk.DateRange,location:Pa.DateRangeFilter,entity:En.Filter})}return t?V.jsxs("div",{className:"position-relative",children:[V.jsxs(Qi,{show:i==="preset",onToggle:c=>a(c?"preset":"none"),className:i==="custom"?"d-none":"",children:[V.jsx(ZJ,{value:nZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange,toggleDropdown:()=>a(i==="preset"?"none":"preset")}),V.jsx(Qi.Menu,{className:"p-0 text-nowrap",align:"end",children:V.jsx(l3e,{genericDateRanges:e.dateRangePresets,setDateRange:o,showCustomRangeSelector:()=>a("custom"),selectedRangeName:t.name})})]}),V.jsxs(Qi,{show:i==="custom",onToggle:s,className:i==="custom"?"":"d-none",children:[V.jsx(ZJ,{value:nZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange}),V.jsx(Qi.Menu,{className:"p-0",align:"end",children:V.jsx(Zje,{startDate:r==null?void 0:r.startDate,endDate:r==null?void 0:r.endDate,setDateRange:n,maxDate:vP(),minDate:cp(),onClickApply:()=>l(r),close:()=>a("none")})})]})]}):V.jsx(V.Fragment,{})}function f3e(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"M12 13.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0-11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3",fill:"currentColor"})})}const d3e="_dropdownToggle_1jkd1_1",h3e={dropdownToggle:d3e};function v3e(){return V.jsxs(V.Fragment,{children:[V.jsx("div",{style:{padding:"0.53125rem 1rem"},children:V.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"8rem"}})}),V.jsx("div",{style:{padding:"0.53125rem 1rem"},children:V.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"12rem"}})}),V.jsx("div",{style:{padding:"0.53125rem 1rem"},children:V.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"11rem"}})}),V.jsx("div",{style:{padding:"0.53125rem 1rem"},children:V.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"9rem"}})})]})}function NO(e){let t="dropdown-item";return e&&(t+=` ${e}`),t}function iZ(e){const t=gi.isFunction(e.action.label)?e.action.label():V.jsx(V.Fragment,{children:e.action.label});if(e.action.appLink)return V.jsxs(os,{appLink:e.action.appLink,onClick:e.action.onClick,className:NO(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled,children:[e.action.svg&&V.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),V.jsx("span",{className:"align-middle",children:t})]});function r(n){n.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&Ea.logUserAction(e.action.analyticsData,e.action.analyticsOptions),gi.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&Yn.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?V.jsxs("a",{className:NO(e.action.className),onClick:r,href:e.action.href,children:[e.action.svg&&V.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),V.jsx("span",{className:"align-middle",children:t})]}):V.jsxs("span",{className:`cursor-pointer ${NO(e.action.className)}`,onClick:r,role:"button",tabIndex:0,onKeyDown:n=>n.key==="Enter"&&r(n),children:[e.action.svg&&V.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2"}),t]})}aN.defaultProps={dropdownToggleClassName:"btn btn-light",dropdownToggleSvgSize:Zs.Small};function aN(e){if(!e.actions||!e.actions.length)return V.jsx(V.Fragment,{});const t=e.actions.some(o=>o.lazyPlaceholder);let r="dropdown";e.className&&(r+=` ${e.className}`);const n=`actions-dropdown-${Nk.getRandomInt()}`;let i=`dropdown-toggle px-0 ${h3e.dropdownToggle}`;e.dropdownToggleClassName&&(i+=` ${e.dropdownToggleClassName}`);let a;return V.jsxs("div",{className:r,children:[V.jsx("button",{className:i,type:"button",id:n,"data-bs-toggle":"dropdown","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"More actions dropdown",onClick:t?e.fetchMore:null,children:V.jsx(Ri,{svg:f3e,size:e.dropdownToggleSvgSize})}),V.jsx("ul",{className:"dropdown-menu dropdown-menu-end dropdown-menu-right font-size-normal","aria-labelledby":n,children:t?V.jsx(v3e,{}):e.actions.map((o,s)=>{const l=a!==void 0&&a!==o.group;return a=o.group,o.tooltip?V.jsxs("li",{children:[l&&V.jsx("hr",{className:"dropdown-divider",role:"separator"}),V.jsx(tc,{title:o.tooltip,spanHack:!0,children:V.jsx(iZ,{action:o})})]},s):V.jsxs("li",{children:[l&&V.jsx("hr",{className:"dropdown-divider",role:"separator"}),V.jsx(iZ,{action:o})]},s)})})]})}function p3e(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var y0=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(y0||{}),ci=(e=>(e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners",e[e.Pdf=8]="Pdf",e[e.Link=9]="Link",e[e.None=99999]="None",e))(ci||{});function g3e(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"m16.837 9.842-1.138-3.678a1.65 1.65 0 0 0-.887-1.01 1.67 1.67 0 0 0-1.348-.02l-1.14.486a.8.8 0 0 1-.647 0l-1.14-.488a1.67 1.67 0 0 0-1.348.021 1.65 1.65 0 0 0-.887 1.01L7.164 9.842a7.17 7.17 0 0 0-3.062 1.85.41.41 0 0 0 .314.683h15.17c.162 0 .31-.094.376-.241a.41.41 0 0 0-.064-.44 7.17 7.17 0 0 0-3.061-1.852M9.094 6.404a.836.836 0 0 1 1.117-.516l1.135.484c.416.181.89.181 1.306 0l1.137-.485a.836.836 0 0 1 1.117.516l.976 3.153a16.17 16.17 0 0 0-7.764 0zm-3.59 5.148c1.455-1.019 3.866-1.645 6.497-1.645a14.5 14.5 0 0 1 4.41.651c.74.229 1.444.563 2.087.994zm9.807 1.645a2.9 2.9 0 0 0-2.508 1.447 1.61 1.61 0 0 0-1.604 0c-.763-1.323-2.425-1.835-3.807-1.173s-2.016 2.272-1.452 3.69a2.93 2.93 0 0 0 3.6 1.704 2.906 2.906 0 0 0 1.968-3.445.88.88 0 0 1 .986 0 2.87 2.87 0 0 0 1.269 3.088 2.91 2.91 0 0 0 3.351-.176c.966-.762 1.341-2.048.935-3.204s-1.505-1.932-2.738-1.93m-6.62 4.936c-1.143 0-2.07-.92-2.07-2.056s.927-2.057 2.07-2.057 2.069.92 2.069 2.057a2.065 2.065 0 0 1-2.07 2.056m6.62 0c-1.142 0-2.069-.92-2.069-2.056s.927-2.057 2.07-2.057 2.068.92 2.068 2.057a2.065 2.065 0 0 1-2.069 2.056",fill:"currentColor"})})}const m3e={[ci.Banners]:"banner",[ci.Thumbnails]:"thumbnail"},aZ={[ci.Banners]:"banners",[ci.Thumbnails]:"thumbnails",[ci.TallPosters]:"tallPosters",[ci.Covers]:"covers",[ci.Avatars]:"avatars"},y3e={categoryMapper:e=>`/v1/category-map/${e}`},Yu={createUrl(e,t){return Yu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?Yu._createUrl(e.url,r):Yu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return Yu._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:i}=e,a=ln.safeUrlConcat(r,`${y3e.categoryMapper(m3e[i])}`),o={name:Yu.Rfc3986EncodeURIComponent(n),...t};return Yu._createUrl(a,o)},_createUrl(e,t){if(!e)return;if(Ui.isEmpty(t))return e;const r=al.param(t),n=e.indexOf("?")===-1?"?":"&";let i=e;return i.endsWith("/")&&(i=i.slice(0,-1)),i+`${n}${r}`},legacyCreateThumbnailUrl(e,t){if(!e)return"";let r;if(!e||(e instanceof ll?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:y0.Small,bgColor:"000",...t};return Yu._createUrl(r,n)},getDisplayImageFromObject(e){var t,r,n,i,a;return"tallPoster"in e&&((t=e.tallPoster)!=null&&t.url)?e.tallPoster:"cover"in e&&((r=e.cover)!=null&&r.url)?e.cover:"thumbnail"in e&&((n=e.thumbnail)!=null&&n.url)?e.thumbnail:"_parentVideo"in e&&((a=(i=e._parentVideo)==null?void 0:i.thumbnail)!=null&&a.url)?e._parentVideo.thumbnail:null},getUrlById(e,t,r,n){aZ[t]||vr.throw(new xn(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=ln.safeUrlConcat(e,`v2/${aZ[t]}/${r}`);return ln.urlBuilder(i,{size:n})}},_3e="_avatar_xiggt_1",S3e="_dot_xiggt_11",LO={avatar:_3e,dot:S3e};function E3e(e,t){return t?Yu.createUrl(ln.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:y0.Small}):""}function Wse(e){const t=!e.anonymiseUsers&&e.imageUrl||E3e(e.imageCdnUrl,e.initials);return V.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?V.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:V.jsx(Ri,{svg:g3e,size:e.anonymousSvgSize||Zs.Large,className:"svg-container w-100 h-100"})}):V.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&V.jsx("div",{className:`${LO.dot} rounded-circle bg-danger`})]})}const w3e={LOCAL_PERMISSIONS:"local:permissions",LOOKING_FOR_INTEGRATION:"looking:for:integration",ANONYMISE_USERS:"anonymise:users"},_c=()=>{const e=Ii(zi.currentUser()),t=Ii(e.hasCompleted&&zi.permissions()),[r]=wa(w3e.LOCAL_PERMISSIONS),n=a=>!t.hasCompleted||t.hasError?!1:!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!t.data[o]):!!t.data[a],i=a=>(r||vr.throw(new xn("Local Permissions should be registered during start up.")),!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!r[o]):!!r[a]);return{permissions:t.data,hasPermissions:n,hasLocalPermissions:i,isLoaded:t.hasCompleted}};function oZ(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M13.5 4.5A.5.5 0 0 1 14 4h5.5a.5.5 0 0 1 .5.5V10a.5.5 0 0 1-1 0V5.707l-6.146 6.147a.5.5 0 0 1-.708-.708L18.293 5H14a.5.5 0 0 1-.5-.5M5 7.5A1.5 1.5 0 0 1 6.5 6H9a.5.5 0 0 1 0 1H6.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V15a.5.5 0 0 1 1 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 18.5z"})})}function Py(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.378 5.167a.62.62 0 0 1 .873 0l7.535 7.507a.494.494 0 1 0 .697-.7l-7.536-7.506a1.605 1.605 0 0 0-2.266 0l-7.536 7.506a.494.494 0 1 0 .697.7zM6.206 13.43a.494.494 0 0 0-.987 0v6.077c0 .273.22.494.494.494h4.437a.494.494 0 0 0 .494-.494v-4.42c0-.335.274-.611.616-.611h1.109c.342 0 .616.276.616.611v4.42c0 .273.22.494.493.494h4.438a.494.494 0 0 0 .494-.494V13.43a.494.494 0 0 0-.988 0v5.583h-3.45v-3.926c0-.885-.72-1.599-1.603-1.599h-1.11c-.883 0-1.603.714-1.603 1.6v3.925h-3.45z",clipRule:"evenodd"})})}const b3e="_toggle_1f3ot_1",T3e={toggle:b3e},R3e=4,sZ="shared.customerSelectorItem";function x3e(e){var n;function t(i,a=null){a!==e.currentCustomerId&&(Ea.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:jt.SwitchCustomer,entity:En.Customer,location:Pa.UserOptions}),Yn.PageLoad(r(a)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?V.jsx(V.Fragment,{}):e.customers.length<=1?V.jsx(V.Fragment,{}):e.customers.length>R3e?V.jsx(Qi.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:V.jsxs("div",{className:"d-flex justify-content-between",children:[V.jsx(lp,{namespace:sZ,phrase:"title"}),V.jsx(Ri,{svg:Py,className:"svg-container text-secondary"})]})}):V.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[V.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${T3e.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[V.jsx(lp,{namespace:sZ,phrase:"title"}),V.jsx(Ri,{svg:Py,className:"svg-container text-secondary"})]}),V.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,a)=>{const o=i.id===e.currentCustomerId;return V.jsx(Qi.Item,{as:"li",onClick:s=>t(s,i.id),disabled:o,children:i.name},a)})})]})}const eg=e=>{const t=Ii(zi.currentUser()),r=Ii(t.hasCompleted&&Mv.getCustomerSettingsRequest(t.data)),n=Ii(t.hasCompleted&&Mv.getUserSettingsRequest(t.data)),i=Lf(),a=!!r.hasCompleted&&!!n.hasCompleted,o=E=>{var b,A;if(!a||r.hasError||n.hasError)return null;const y=(b=r.data)==null?void 0:b[E];if(y)return y==null?void 0:y.value;const w=(A=n.data)==null?void 0:A[E];return w?w==null?void 0:w.value:null};function s(E,y,w,b,A){return E==="user"?wu.updateUserSetting(y,w,b,A):wu.updateCustomerSetting(y,w,b,A)}const l=(E,y,w,b,A)=>{function R(){Ea.logUserAction({name:y.name,value:y.value},{location:e,entity:En.UserSetting,actionType:jt.Edit}),w==null||w()}xh(i,s(E,y,R,b,A))},c=(E,y)=>new Promise((w,b)=>{l(E,y,w,b)}),d=(E,y,w,b)=>l("user",E,y,w,b),h=(E,y,w,b)=>l("customer",E,y,w,b),v=E=>c("user",E),g=E=>c("customer",E);function S(){var E;return(E=t.data)!=null&&E.isAuthenticated?o(wr.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:d,updateUserSettingAsync:v,updateCustomerSetting:h,updateCustomerSettingAsync:g,userSettings:n,shareToGoogleClassroom:o(wr.ShareToGoogleClassroom),shareToMicrosoftTeams:o(wr.ShareToMicrosoftTeams),hasLti:o(wr.LTI),defaultPlaybackQuality:o(wr.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(wr.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(wr.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(wr.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(wr.HasCompletedOnboardingV2),hasOnboardingV2:o(wr.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:o(wr.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:o(wr.HasCompletedOnboardingProductTips),liteUpgradeTime:o(wr.LiteUpgradeTime),liteUpgradeTypeCustomer:o(wr.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:o(wr.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:o(wr.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:o(wr.LiteUpgradeFeedback),liteUpgradeComplete:o(wr.LiteUpgradeComplete),hasNewClassificationView:o(wr.HasNewClassificationView),hasCuratedDiscoverDashboards:o(wr.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(wr.HasSpecialEventCalendar),hasLiteSearchDropdown:o(wr.HasLiteSearchDropdown),policyEndTime:o(wr.PolicyEndTime),bulkOnboardingPreferencesState:o(wr.BulkOnboardingPreferencesState),hasOnlineTopics:o(wr.Topics),hasPreviewVideos:o(wr.PreviewVideos),domainSettings:o(wr.DomainSettings),inviteColleague:o(wr.InviteColleague),myVideosFolders:o(wr.MyVideosFolders),exchangeTvProductOption:o(wr.ExchangeTvProductOption),messageFrequencyOption:o(wr.MessageFrequencyOption),tvRegion:o(wr.TvRegion),hasEnabledViviStudentCasting:o(wr.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(wr.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(wr.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:o(wr.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:o(wr.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:o(wr.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:o(wr.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:o(wr.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(wr.ShareOverrideRestrictions),hasTopicDirectories:S(),hasTopicVideoListFeature:o(wr.HasTopicVideoListFeature),hasManageGroupPermissions:o(wr.HasManageGrouPermissions),experimentalInteractiveQuestions:o(wr.ExperimentalInteractiveQuestions),hasClassrooms:o(wr.HasClassrooms),hasNewSearch:o(wr.HasNewSearch),hasPlayPageTranscript:o(wr.HasPlayPageTranscript),hasShareFlowV2:o(wr.HasShareFlowV2)}},Gse=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:a,isLoadingSettings:o}=eg(null),{hasPermissions:s}=_c(),l=e||t,c=pe.useMemo(()=>{if(o||!r)return 0;const S=new Date(r),E=new Date;return Math.max(wn.diffBetween(S,E,"day"),0)+1},[o,r]),[d,h]=wa("lite:upgrade:feedback:banner",{show:!0},{storage:Js.LocalStorage}),v=!!l;return{isUpgrading:v&&!i,isLoading:o,daysLeft:c,upgradeType:l,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:v&&d.show&&!s(ka.StudentExperience),showTvGuide:v,dismissFeedbackBanner:()=>h({show:!1})}};class C3e{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new xn("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===No.Online){if(!t.onlineSupportSiteUrl){vr.throw(new xn("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new xn("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new xn("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return ln.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===No.Primary&&vr.throw(new xn("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===No.Online&&vr.throw(new xn("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===No.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?ln.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":ln.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const Dy=C3e.Instance,A3e="shared.userOptions",uZ=pr.encloseNamespace(A3e);function O3e(e,t,r){const{hasPermissions:n}=_c(),i=Gse(),a=Xa.sortBy(t,"order");if(e&&(a.push({label:uZ("helpCentre"),order:0,url:Dy.getHybridArticle(null,null),analyticsData:{url:Dy.getHybridArticle(null,null)},analyticsOptions:{actionType:jt.Click,entity:En.Url,descriptor:jd.ExternalLink,location:Pa.UserOptions}}),n(ka.ViewProductBoard)&&!i.isUpgrading&&!r)){const s=ln.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:uZ("whatsNew"),order:0,url:s,analyticsData:{url:s},analyticsOptions:{actionType:jt.Click,entity:En.Url,descriptor:jd.ExternalLink,location:Pa.UserOptions}})}const o={main:[],logOut:[]};return a.forEach(s=>{s.section==="logOut"?o.logOut.push(s):o.main.push(s)}),o}function I3e(e,t,r){var c;const n=Ii(zi.currentUser()),i=Ii(((c=n.data)==null?void 0:c.isAuthenticated)&&a0.userProducts()),a=Gse();if(t||!i.data||a.isLoading)return;const o=[...i.data],s=Array.isArray(e)?e:[e];a.isUpgrading&&!s.includes(No.Online)&&s.push(No.Online);let l=o.filter(d=>!s.includes(d.id),"order");return typeof r=="function"&&(l=r(l)),Xa.sortBy(l)}const P3e="_avatarContainer_1z0er_1",D3e="_productLogo_1z0er_5",k3e="_counter_1z0er_9",ky={avatarContainer:P3e,productLogo:D3e,counter:k3e},N3e="shared.userOptions",qv=pr.encloseNamespace(N3e);function lZ({item:e}){if(e.appLink)return V.jsxs(Qi.Item,{as:os,appLink:e.appLink,openInNewTab:e.openInNewTab,onClick:e.onClick,className:"d-flex align-items-center",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:[e.counter>0&&V.jsx("div",{className:`${ky.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),V.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&V.jsx(Ri,{svg:oZ,className:"svg-container text-secondary"})]})]});if(e.url){let t=function(r){var n;r.preventDefault(),(n=e.onClick)==null||n.call(e),e.analyticsData&&e.analyticsOptions&&Ea.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Yn.PageLoad(e.url,!0)};return V.jsxs(Qi.Item,{as:"a",href:e.url,target:e.openInNewTab===!1?null:"_blank",className:"d-flex align-items-center",onClick:r=>t(r),children:[e.counter>0&&V.jsx("div",{className:`${ky.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),V.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&V.jsx(Ri,{svg:oZ,className:"svg-container text-secondary"})]})]})}return V.jsx(V.Fragment,{})}const L3e=({appLinks:e,showSignUpForMobile:t})=>V.jsxs(V.Fragment,{children:[V.jsx(os,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:jt.Click,location:Pa.TopNav,entity:En.Url,descriptor:ep.SignIn},analyticsData:{},children:qv("signIn")}),V.jsx(os,{appLink:e.signUp,className:p3e("btn btn-dark",!t&&"d-none d-lg-inline-block"),analyticsOptions:{actionType:jt.Click,location:Pa.TopNav,entity:En.AppLink,workflowPhase:ec.Start,descriptor:ep.SignUp},analyticsData:{},tag:"button",children:qv(t?"signUpForMobile":"signUp")})]}),M3e=({appLinks:e})=>V.jsx(os,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:jt.Click,location:Pa.TopNav,entity:En.AppLink,workflowPhase:ec.Start,descriptor:ep.SignIn},analyticsData:{},children:qv("signIn")});function $3e(e){var S,E,y,w,b,A;const[t,r]=pe.useState(!1),{hasPermissions:n}=_c(),i=Ii(zi.currentUser()),a=Ii(((S=i.data)==null?void 0:S.id)&&zi.user(i.data.id)),o=Ii(sf.config()),s=Ii(((E=i.data)==null?void 0:E.isAuthenticated)&&zi.customers(i.data.id)),l=O3e(o.data,e.additionalItems,e.hideWhatsNew),c=n(ka.GuestExperience),d=e.hideProductList||c,h=I3e(e.productId,d,e.transform);function v(R){r(R),Ea.logUserAction({},{actionType:jt.Click,entity:En.AppLink,location:Pa.UserOptions,descriptor:R?jd.Open:jd.Close})}function g(R){Ea.logUserAction({id:R.id,name:R.name},{actionType:jt.Click,entity:En.Product,location:Pa.UserOptions,descriptor:jd.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?V.jsx(V.Fragment,{}):i.data.isAuthenticated?V.jsxs(Qi,{className:"position-relative",onToggle:v,children:[V.jsx(Qi.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${ky.avatarContainer} no-caret border-0 p-0`,children:V.jsx(Wse,{imageUrl:Yu.createUrl(i.data.avatar,{size:y0.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:Kl.getInitials(i.data.givenName,i.data.familyName),showDot:l.main.some(R=>R.counter>0)})}),V.jsxs(Qi.Menu,{as:"ul",align:"end",children:[V.jsxs(Qi.Item,{as:"div",children:[V.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[V.jsx("strong",{children:i.data.displayName})," ",!c&&V.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),V.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!c&&((y=a.data)==null?void 0:y.masterYearGroup)&&V.jsx("p",{className:"m-0 text-secondary",children:a.data.masterYearGroup.name})]}),V.jsx(x3e,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(b=s.data)==null?void 0:b.data}),V.jsx(Qi.Divider,{}),l.main.map((R,C)=>V.jsx(lZ,{item:R},C)),V.jsx(Qi.Divider,{}),h==null?void 0:h.map((R,C)=>V.jsxs(Qi.Item,{as:"a",href:R.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>g(R),children:[V.jsx("img",{src:R.imageUrl,className:`${ky.productLogo} me-2`}),R.name]},C)),!!(h!=null&&h.length)&&V.jsx(Qi.Divider,{}),l.logOut.map((R,C)=>V.jsx(lZ,{item:R},C)),V.jsx(Qi.Item,{as:os,appLink:e.appLinks.signOut,analyticsData:{id:(A=i.data)==null?void 0:A.id},analyticsOptions:{actionType:jt.Click,location:Pa.UserOptions,entity:En.AppLink,descriptor:ep.SignOut},children:qv("signOut")})]})]}):e.displaySignUp?V.jsx(L3e,{...e}):V.jsx(M3e,{...e})}const po={AUDIENCE_FILTER_SELECTED_COUNT:"audience:filter:selected:count",AUDIENCE_FILTER_SUGGESTIONS:"audience:filter:suggestions",AUDIENCE_QUERY_PARAMS:"audience:query:params",DATE_RANGE_QUERY_PARAMS:"date:range:query:params",HEADER_TITLE:"header:title",HEADER_ACTIONS:"header:actions",LEFT_NAV_STATE:"left:nav:state",ANONYMISE_USERS:"anonymise:users"};var MO={},$O={},pv={exports:{}},qc={exports:{}},F3e=qc.exports,cZ;function j3e(){return cZ||(cZ=1,(function(){var e,t,r,n,i,a;typeof performance<"u"&&performance!==null&&performance.now?qc.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(qc.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var o;return o=t(),o[0]*1e9+o[1]},n=e(),a=process.uptime()*1e9,i=n-a):Date.now?(qc.exports=function(){return Date.now()-r},r=Date.now()):(qc.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(F3e)),qc.exports}var fZ;function U3e(){if(fZ)return pv.exports;fZ=1;for(var e=j3e(),t=typeof window>"u"?globalThis:window,r=["moz","webkit"],n="AnimationFrame",i=t["request"+n],a=t["cancel"+n]||t["cancelRequest"+n],o=0;!i&&o<r.length;o++)i=t[r[o]+"Request"+n],a=t[r[o]+"Cancel"+n]||t[r[o]+"CancelRequest"+n];if(!i||!a){var s=0,l=0,c=[],d=1e3/60;i=function(h){if(c.length===0){var v=e(),g=Math.max(0,d-(v-s));s=g+v,setTimeout(function(){var S=c.slice(0);c.length=0;for(var E=0;E<S.length;E++)if(!S[E].cancelled)try{S[E].callback(s)}catch(y){setTimeout(function(){throw y},0)}},Math.round(g))}return c.push({handle:++l,callback:h,cancelled:!1}),l},a=function(h){for(var v=0;v<c.length;v++)c[v].handle===h&&(c[v].cancelled=!0)}}return pv.exports=function(h){return i.call(t,h)},pv.exports.cancel=function(){a.apply(t,arguments)},pv.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=i,h.cancelAnimationFrame=a},pv.exports}var gv={exports:{}},FO,dZ;function q3e(){if(dZ)return FO;dZ=1;var e=null,t=["Webkit","Moz","O","ms"];return FO=function(n){e||(e=document.createElement("div"));var i=e.style;if(n in i)return n;for(var a=n.charAt(0).toUpperCase()+n.slice(1),o=t.length;o>=0;o--){var s=t[o]+a;if(s in i)return s}return!1},FO}var jO,hZ;function V3e(){if(hZ)return jO;hZ=1,jO=n;var e=/\s/,t=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function n(l){return e.test(l)?l.toLowerCase():t.test(l)?(a(l)||l).toLowerCase():r.test(l)?s(l).toLowerCase():l.toLowerCase()}var i=/[\W_]+(.|$)/g;function a(l){return l.replace(i,function(c,d){return d?" "+d:""})}var o=/(.)([A-Z]+)/g;function s(l){return l.replace(o,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return jO}var UO,vZ;function B3e(){if(vZ)return UO;vZ=1;var e=V3e();UO=t;function t(r){return e(r).replace(/[\W_]+(.|$)/g,function(n,i){return i?" "+i:""}).trim()}return UO}var qO,pZ;function H3e(){if(pZ)return qO;pZ=1;var e=B3e();qO=t;function t(r){return e(r).replace(/\s(\w)/g,function(n,i){return i.toUpperCase()})}return qO}var VO,gZ;function z3e(){if(gZ)return VO;gZ=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return VO=function(t,r){return typeof r=="number"&&!e[t]?r+"px":r},VO}var mZ;function Yse(){if(mZ)return gv.exports;mZ=1;var e=q3e(),t=H3e(),r={float:"cssFloat"},n=z3e();function i(l,c,d){var h=r[c];if(typeof h>"u"&&(h=o(c)),h){if(d===void 0)return l.style[h];l.style[h]=n(h,d)}}function a(l,c){for(var d in c)c.hasOwnProperty(d)&&i(l,d,c[d])}function o(l){var c=t(l),d=e(c);return r[c]=r[l]=r[d]=d,d}function s(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:a(arguments[0],arguments[1]):i(arguments[0],arguments[1],arguments[2])}return gv.exports=s,gv.exports.set=s,gv.exports.get=function(l,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=i(l,h||""),d},{}):i(l,c||"")},gv.exports}var BO={},yZ;function W3e(){return yZ||(yZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(BO)),BO}var HO={},_Z;function G3e(){return _Z||(_Z=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=Yse(),r=n(t);function n(o){return o&&o.__esModule?o:{default:o}}var i=!1;function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(o&&i!==!1)return i;if(typeof document<"u"){var s=document.createElement("div");(0,r.default)(s,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(s),i=s.offsetWidth-s.clientWidth,document.body.removeChild(s)}else i=0;return i||0}})(HO)),HO}var zO={},SZ;function Y3e(){return SZ||(SZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(zO)),zO}var WO={},EZ;function K3e(){return EZ||(EZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientWidth,i=getComputedStyle(r),a=i.paddingLeft,o=i.paddingRight;return n-parseFloat(a)-parseFloat(o)}})(WO)),WO}var GO={},wZ;function X3e(){return wZ||(wZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientHeight,i=getComputedStyle(r),a=i.paddingTop,o=i.paddingBottom;return n-parseFloat(a)-parseFloat(o)}})(GO)),GO}var Po={},bZ;function Q3e(){return bZ||(bZ=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},Po.containerStyleAutoHeight={height:"auto"},Po.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},Po.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},Po.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},Po.trackHorizontalStyleDefault={position:"absolute",height:6},Po.trackVerticalStyleDefault={position:"absolute",width:6},Po.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},Po.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},Po.disableSelectStyle={userSelect:"none"},Po.disableSelectStyleReset={userSelect:""}),Po}var Ul={},TZ;function J3e(){if(TZ)return Ul;TZ=1,Object.defineProperty(Ul,"__esModule",{value:!0});var e=Object.assign||function(d){for(var h=1;h<arguments.length;h++){var v=arguments[h];for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(d[g]=v[g])}return d};Ul.renderViewDefault=a,Ul.renderTrackHorizontalDefault=o,Ul.renderTrackVerticalDefault=s,Ul.renderThumbHorizontalDefault=l,Ul.renderThumbVerticalDefault=c;var t=Ho(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,h){var v={};for(var g in d)h.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(d,g)&&(v[g]=d[g]);return v}function a(d){return r.default.createElement("div",d)}function o(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,left:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function s(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,top:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function l(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}function c(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}return Ul}var RZ;function Z3e(){return RZ||(RZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(W){for(var K=1;K<arguments.length;K++){var X=arguments[K];for(var Q in X)Object.prototype.hasOwnProperty.call(X,Q)&&(W[Q]=X[Q])}return W},r=(function(){function W(K,X){for(var Q=0;Q<X.length;Q++){var J=X[Q];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,J.key,J)}}return function(K,X,Q){return X&&W(K.prototype,X),Q&&W(K,Q),K}})(),n=U3e(),i=O(n),a=Yse(),o=O(a),s=Ho(),l=jf(),c=O(l),d=W3e(),h=O(d),v=G3e(),g=O(v),S=Y3e(),E=O(S),y=K3e(),w=O(y),b=X3e(),A=O(b),R=Q3e(),C=J3e();function O(W){return W&&W.__esModule?W:{default:W}}function m(W,K){var X={};for(var Q in W)K.indexOf(Q)>=0||Object.prototype.hasOwnProperty.call(W,Q)&&(X[Q]=W[Q]);return X}function D(W,K){if(!(W instanceof K))throw new TypeError("Cannot call a class as a function")}function k(W,K){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K&&(typeof K=="object"||typeof K=="function")?K:W}function q(W,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof K);W.prototype=Object.create(K&&K.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(W,K):W.__proto__=K)}var j=(function(W){q(K,W);function K(X){var Q;D(this,K);for(var J=arguments.length,re=Array(J>1?J-1:0),$=1;$<J;$++)re[$-1]=arguments[$];var N=k(this,(Q=K.__proto__||Object.getPrototypeOf(K)).call.apply(Q,[this,X].concat(re)));return N.getScrollLeft=N.getScrollLeft.bind(N),N.getScrollTop=N.getScrollTop.bind(N),N.getScrollWidth=N.getScrollWidth.bind(N),N.getScrollHeight=N.getScrollHeight.bind(N),N.getClientWidth=N.getClientWidth.bind(N),N.getClientHeight=N.getClientHeight.bind(N),N.getValues=N.getValues.bind(N),N.getThumbHorizontalWidth=N.getThumbHorizontalWidth.bind(N),N.getThumbVerticalHeight=N.getThumbVerticalHeight.bind(N),N.getScrollLeftForOffset=N.getScrollLeftForOffset.bind(N),N.getScrollTopForOffset=N.getScrollTopForOffset.bind(N),N.scrollLeft=N.scrollLeft.bind(N),N.scrollTop=N.scrollTop.bind(N),N.scrollToLeft=N.scrollToLeft.bind(N),N.scrollToTop=N.scrollToTop.bind(N),N.scrollToRight=N.scrollToRight.bind(N),N.scrollToBottom=N.scrollToBottom.bind(N),N.handleTrackMouseEnter=N.handleTrackMouseEnter.bind(N),N.handleTrackMouseLeave=N.handleTrackMouseLeave.bind(N),N.handleHorizontalTrackMouseDown=N.handleHorizontalTrackMouseDown.bind(N),N.handleVerticalTrackMouseDown=N.handleVerticalTrackMouseDown.bind(N),N.handleHorizontalThumbMouseDown=N.handleHorizontalThumbMouseDown.bind(N),N.handleVerticalThumbMouseDown=N.handleVerticalThumbMouseDown.bind(N),N.handleWindowResize=N.handleWindowResize.bind(N),N.handleScroll=N.handleScroll.bind(N),N.handleDrag=N.handleDrag.bind(N),N.handleDragEnd=N.handleDragEnd.bind(N),N.state={didMountUniversal:!1},N}return r(K,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var Q=this.props.universal;Q&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var Q=this.view||{},J=Q.scrollLeft,re=J===void 0?0:J,$=Q.scrollTop,N=$===void 0?0:$,U=Q.scrollWidth,ee=U===void 0?0:U,te=Q.scrollHeight,de=te===void 0?0:te,Se=Q.clientWidth,xe=Se===void 0?0:Se,ue=Q.clientHeight,I=ue===void 0?0:ue;return{left:re/(ee-xe)||0,top:N/(de-I)||0,scrollLeft:re,scrollTop:N,scrollWidth:ee,scrollHeight:de,clientWidth:xe,clientHeight:I}}},{key:"getThumbHorizontalWidth",value:function(){var Q=this.props,J=Q.thumbSize,re=Q.thumbMinSize,$=this.view,N=$.scrollWidth,U=$.clientWidth,ee=(0,w.default)(this.trackHorizontal),te=Math.ceil(U/N*ee);return ee<=te?0:J||Math.max(te,re)}},{key:"getThumbVerticalHeight",value:function(){var Q=this.props,J=Q.thumbSize,re=Q.thumbMinSize,$=this.view,N=$.scrollHeight,U=$.clientHeight,ee=(0,A.default)(this.trackVertical),te=Math.ceil(U/N*ee);return ee<=te?0:J||Math.max(te,re)}},{key:"getScrollLeftForOffset",value:function(Q){var J=this.view,re=J.scrollWidth,$=J.clientWidth,N=(0,w.default)(this.trackHorizontal),U=this.getThumbHorizontalWidth();return Q/(N-U)*(re-$)}},{key:"getScrollTopForOffset",value:function(Q){var J=this.view,re=J.scrollHeight,$=J.clientHeight,N=(0,A.default)(this.trackVertical),U=this.getThumbVerticalHeight();return Q/(N-U)*(re-$)}},{key:"scrollLeft",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=Q)}},{key:"scrollTop",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=Q)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var Q=this.view,J=this.trackHorizontal,re=this.trackVertical,$=this.thumbHorizontal,N=this.thumbVertical;Q.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(J.addEventListener("mouseenter",this.handleTrackMouseEnter),J.addEventListener("mouseleave",this.handleTrackMouseLeave),J.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),re.addEventListener("mouseenter",this.handleTrackMouseEnter),re.addEventListener("mouseleave",this.handleTrackMouseLeave),re.addEventListener("mousedown",this.handleVerticalTrackMouseDown),$.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),N.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var Q=this.view,J=this.trackHorizontal,re=this.trackVertical,$=this.thumbHorizontal,N=this.thumbVertical;Q.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(J.removeEventListener("mouseenter",this.handleTrackMouseEnter),J.removeEventListener("mouseleave",this.handleTrackMouseLeave),J.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),re.removeEventListener("mouseenter",this.handleTrackMouseEnter),re.removeEventListener("mouseleave",this.handleTrackMouseLeave),re.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),$.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),N.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(Q){var J=this,re=this.props,$=re.onScroll,N=re.onScrollFrame;$&&$(Q),this.update(function(U){var ee=U.scrollLeft,te=U.scrollTop;J.viewScrollLeft=ee,J.viewScrollTop=te,N&&N(U)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var Q=this.props.onScrollStart;Q&&Q(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var Q=this.props.autoHide;Q&&this.showTracks()}},{key:"handleScrollStop",value:function(){var Q=this.props.onScrollStop;Q&&Q(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var Q=this.props.autoHide;Q&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(Q){Q.preventDefault();var J=Q.target,re=Q.clientX,$=J.getBoundingClientRect(),N=$.left,U=this.getThumbHorizontalWidth(),ee=Math.abs(N-re)-U/2;this.view.scrollLeft=this.getScrollLeftForOffset(ee)}},{key:"handleVerticalTrackMouseDown",value:function(Q){Q.preventDefault();var J=Q.target,re=Q.clientY,$=J.getBoundingClientRect(),N=$.top,U=this.getThumbVerticalHeight(),ee=Math.abs(N-re)-U/2;this.view.scrollTop=this.getScrollTopForOffset(ee)}},{key:"handleHorizontalThumbMouseDown",value:function(Q){Q.preventDefault(),this.handleDragStart(Q);var J=Q.target,re=Q.clientX,$=J.offsetWidth,N=J.getBoundingClientRect(),U=N.left;this.prevPageX=$-(re-U)}},{key:"handleVerticalThumbMouseDown",value:function(Q){Q.preventDefault(),this.handleDragStart(Q);var J=Q.target,re=Q.clientY,$=J.offsetHeight,N=J.getBoundingClientRect(),U=N.top;this.prevPageY=$-(re-U)}},{key:"setupDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=E.default}},{key:"teardownDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(Q){this.dragging=!0,Q.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(Q){if(this.prevPageX){var J=Q.clientX,re=this.trackHorizontal.getBoundingClientRect(),$=re.left,N=this.getThumbHorizontalWidth(),U=N-this.prevPageX,ee=-$+J-U;this.view.scrollLeft=this.getScrollLeftForOffset(ee)}if(this.prevPageY){var te=Q.clientY,de=this.trackVertical.getBoundingClientRect(),Se=de.top,xe=this.getThumbVerticalHeight(),ue=xe-this.prevPageY,I=-Se+te-ue;this.view.scrollTop=this.getScrollTopForOffset(I)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var Q=this.props.autoHide;Q&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var Q=this.props.autoHide;Q&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var Q=this.props.autoHide;Q&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,o.default)(this.trackHorizontal,{opacity:1}),(0,o.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var Q=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var J=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,o.default)(Q.trackHorizontal,{opacity:0}),(0,o.default)(Q.trackVertical,{opacity:0})},J)}}},{key:"detectScrolling",value:function(){var Q=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){Q.lastViewScrollLeft===Q.viewScrollLeft&&Q.lastViewScrollTop===Q.viewScrollTop&&(clearInterval(Q.detectScrollingInterval),Q.scrolling=!1,Q.handleScrollStop()),Q.lastViewScrollLeft=Q.viewScrollLeft,Q.lastViewScrollTop=Q.viewScrollTop},100))}},{key:"raf",value:function(Q){var J=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)(function(){J.requestFrame=void 0,Q()})}},{key:"update",value:function(Q){var J=this;this.raf(function(){return J._update(Q)})}},{key:"_update",value:function(Q){var J=this.props,re=J.onUpdate,$=J.hideTracksWhenNotNeeded,N=this.getValues();if((0,g.default)()){var U=N.scrollLeft,ee=N.clientWidth,te=N.scrollWidth,de=(0,w.default)(this.trackHorizontal),Se=this.getThumbHorizontalWidth(),xe=U/(te-ee)*(de-Se),ue={width:Se,transform:"translateX("+xe+"px)"},I=N.scrollTop,P=N.clientHeight,B=N.scrollHeight,L=(0,A.default)(this.trackVertical),H=this.getThumbVerticalHeight(),ne=I/(B-P)*(L-H),ce={height:H,transform:"translateY("+ne+"px)"};if($){var we={visibility:te>ee?"visible":"hidden"},_e={visibility:B>P?"visible":"hidden"};(0,o.default)(this.trackHorizontal,we),(0,o.default)(this.trackVertical,_e)}(0,o.default)(this.thumbHorizontal,ue),(0,o.default)(this.thumbVertical,ce)}re&&re(N),typeof Q=="function"&&Q(N)}},{key:"render",value:function(){var Q=this,J=(0,g.default)(),re=this.props;re.onScroll,re.onScrollFrame,re.onScrollStart,re.onScrollStop,re.onUpdate;var $=re.renderView,N=re.renderTrackHorizontal,U=re.renderTrackVertical,ee=re.renderThumbHorizontal,te=re.renderThumbVertical,de=re.tagName;re.hideTracksWhenNotNeeded;var Se=re.autoHide;re.autoHideTimeout;var xe=re.autoHideDuration;re.thumbSize,re.thumbMinSize;var ue=re.universal,I=re.autoHeight,P=re.autoHeightMin,B=re.autoHeightMax,L=re.style,H=re.children,ne=m(re,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),ce=this.state.didMountUniversal,we=t({},R.containerStyleDefault,I&&t({},R.containerStyleAutoHeight,{minHeight:P,maxHeight:B}),L),_e=t({},R.viewStyleDefault,{marginRight:J?-J:0,marginBottom:J?-J:0},I&&t({},R.viewStyleAutoHeight,{minHeight:(0,h.default)(P)?"calc("+P+" + "+J+"px)":P+J,maxHeight:(0,h.default)(B)?"calc("+B+" + "+J+"px)":B+J}),I&&ue&&!ce&&{minHeight:P,maxHeight:B},ue&&!ce&&R.viewStyleUniversalInitial),Oe={transition:"opacity "+xe+"ms",opacity:0},Re=t({},R.trackHorizontalStyleDefault,Se&&Oe,(!J||ue&&!ce)&&{display:"none"}),Ie=t({},R.trackVerticalStyleDefault,Se&&Oe,(!J||ue&&!ce)&&{display:"none"});return(0,s.createElement)(de,t({},ne,{style:we,ref:function(me){Q.container=me}}),[(0,s.cloneElement)($({style:_e}),{key:"view",ref:function(me){Q.view=me}},H),(0,s.cloneElement)(N({style:Re}),{key:"trackHorizontal",ref:function(me){Q.trackHorizontal=me}},(0,s.cloneElement)(ee({style:R.thumbHorizontalStyleDefault}),{ref:function(me){Q.thumbHorizontal=me}})),(0,s.cloneElement)(U({style:Ie}),{key:"trackVertical",ref:function(me){Q.trackVertical=me}},(0,s.cloneElement)(te({style:R.thumbVerticalStyleDefault}),{ref:function(me){Q.thumbVertical=me}}))])}}]),K})(s.Component);e.default=j,j.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},j.defaultProps={renderView:C.renderViewDefault,renderTrackHorizontal:C.renderTrackHorizontalDefault,renderTrackVertical:C.renderTrackVerticalDefault,renderThumbHorizontal:C.renderThumbHorizontalDefault,renderThumbVertical:C.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})($O)),$O}var xZ;function e2e(){return xZ||(xZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=Z3e(),r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default,e.Scrollbars=r.default})(MO)),MO}var hp=e2e();const t2e=Bn(hp);Kse.defaultProps={checked:!1,label:"",className:""};function Kse(e){const{isLabelEllipsis:t}=e,r=pe.useRef(null);return pe.useEffect(()=>{if(r.current){if(e.checked){r.current.indeterminate&&(r.current.indeterminate=!1);return}if(e.indeterminate&&!r.current.indeterminate){r.current.indeterminate=!0;return}!e.indeterminate&&r.current.indeterminate&&(r.current.indeterminate=!1)}},[r.current,e.indeterminate,e.checked]),V.jsxs("div",{className:`form-check pe-2 ${e.className}`,children:[V.jsx("input",{ref:r,type:"checkbox",className:`${e.inputClassName} form-check-input`,id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-checked":e.checked,"aria-label":e.ariaLabel}),e.label&&V.jsx("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id,children:V.jsx("span",{className:`${t?"clamp-1":""}`,children:e.label})})]})}const r2e="_circle_15nxd_1",n2e="_img_15nxd_6",CZ={circle:r2e,img:n2e};Jm.defaultProps={textVariant:"white"};function Jm(e){return!e.imageUrl&&!e.svg?V.jsx(V.Fragment,{}):e.imageUrl?V.jsx("div",{className:`${CZ.img} rounded-circle h-100 w-100`,style:{backgroundImage:`url(${e.imageUrl})`},children:" "}):V.jsx("div",{className:`${CZ.circle} ${e.variant?`bg-${e.variant}`:""} text-${e.textVariant} rounded-circle h-100 w-100 ${e.svgWrapperClassName??""}`,children:V.jsx(Ri,{svg:e.svg,size:e.svgSize})})}function Xse(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"M11 11V7.002a.999.999 0 1 1 2 0V11h3.998a.999.999 0 1 1 0 2H13v3.998a.999.999 0 1 1-2 0V13H7.002a.999.999 0 1 1 0-2z",fill:"currentColor"})})}function i2e(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M16.367 7.964c.821-.63 1.453-1.642 1.453-2.78a.486.486 0 0 0-.477-.493h-2.482c-1.264 0-2.367.535-2.933 1.61A4.1 4.1 0 0 0 10.6 4.734a4.16 4.16 0 0 0-1.903-.732c-.263-.02-.689.284-.707.556-.02.272.375.607.637.626.106.01 2.35.231 2.814 2.92-.561-.124-.927-.449-2.3-.449-2.143 0-4.054 1.713-4.054 5.037 0 3.438 2.726 7.31 4.53 7.31 1.73 0 1.63-.506 2.384-.506.758 0 .65.505 2.384.505 1.805 0 4.53-3.868 4.53-7.309 0-2.563-1.114-4.105-2.547-4.727zm-1.506-2.187 1.86-.098c-.222 1.125-1.192 1.65-2.336 1.777l-1.761.198c.221-1.126 1.087-1.816 2.237-1.877m1.69 11.277c-.83 1.286-1.718 1.76-2.167 1.76-.842 0-1.107-.13-1.363-.257-.235-.116-.502-.248-1.02-.248-.519 0-.786.132-1.022.248-.256.127-.52.257-1.363.257-1 0-3.378-2.903-3.378-6.123 0-2.99 1.472-3.852 2.901-3.852 1.367 0 1.491.364 2.384.476.001.314.23.511.477.511.248 0 .478-.198.477-.51.9-.114 1.012-.477 2.384-.477 1.43 0 2.901.863 2.901 3.852 0 1.384-.315 2.974-1.211 4.363"})})}function a2e(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.527 12.013a2.507 2.507 0 1 0 0-5.013 2.507 2.507 0 0 0 0 5.013m0-1.002a1.504 1.504 0 1 1 0-3.008 1.504 1.504 0 0 1 0 3.008m-7.269 1.323a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512m0-3.51a1.253 1.253 0 1 1 0 2.508 1.253 1.253 0 0 1 0-2.507M4.18 15.35c1.552-2.633 4.699-2.595 6.592-1.46a.502.502 0 0 1-.516.86c-1.588-.952-4.035-.888-5.212 1.11a.25.25 0 0 0 .01.285c.068.098.202.18.372.18h4.587a.501.501 0 1 1 0 1.004H5.426c-.496 0-.938-.242-1.195-.612a1.25 1.25 0 0 1-.051-1.367m9.045-2.03a6 6 0 0 1 2.302-.504c2.344 0 3.865 1.4 4.398 2.859.164.448.044.884-.225 1.19-.26.293-.653.464-1.064.464h-6.217a1.46 1.46 0 0 1-1.068-.457 1.22 1.22 0 0 1-.288-1.172c.351-1.254 1.265-1.978 2.162-2.38m.41.915c-.724.325-1.361.859-1.607 1.736q-.034.119.058.22c.07.075.191.135.333.135h6.217c.142 0 .254-.06.313-.126.048-.055.06-.11.035-.18-.397-1.084-1.556-2.2-3.457-2.2-.386 0-1.16.087-1.892.415",clipRule:"evenodd"})})}function o2e(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.64 16.055a.77.77 0 0 1 .72 0l3.768 1.998-.808-4.602 3.358-3.249-4.626-.654L12 5.35 9.948 9.548l-4.626.654 3.357 3.25-.807 4.601zm-3.75 3.148a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023z",clipRule:"evenodd"})})}var Vc=(e=>(e.Pink="colour:0",e.Orange="colour:1",e.Green="colour:2",e.Blue="colour:3",e.Purple="colour:4",e.Indigo="colour:5",e))(Vc||{});function s2e(e){switch(e){case Vc.Pink:return"pink";case Vc.Orange:return"orange";case Vc.Green:return"green";case Vc.Blue:return"blue";case Vc.Purple:return"purple";case Vc.Indigo:return"indigo";default:return"pink"}}const u2e="_avatarContainer_hat3w_1",l2e="_cta_hat3w_5",AZ={avatarContainer:u2e,cta:l2e},c2e="shared.audienceFilterItem",f2e=pr.encloseNamespace(c2e),d2e=2;function h2e(e){var r;const t=(r=e.classrooms)==null?void 0:r.data;if(t!=null&&t.length)return t.length<=d2e?e.classrooms.data.map(n=>n.name).join(" • "):f2e("severalClassrooms",{classroom:t[0].name,smartCount:t.length-1})}function v2e(e){var t,r;return e.typeId===qn.User&&((r=(t=e.classrooms)==null?void 0:t.data)!=null&&r.length)?h2e(e):""}function df(e){var l,c;const t=e.object.typeId===qn.User&&e.object,r=e.object.typeId===qn.Classroom&&e.object,n=e.object.typeId===qn.ClassroomGroup&&e.object;let i=e.object.name;t&&(i+=` ${t.surname}`);const a=v2e(e.object),o="d-flex align-items-center justify-content-center text-white rounded-circle h-100 w-100",s=()=>e.onToggleSelected(!e.selected);return V.jsx("button",{className:"w-100",onClick:s,children:V.jsxs("div",{className:`d-flex align-items-center py-1 ${e.hideCheckbox?"bg-light-hover mx-n3 px-3":""}`,children:[!e.hideCheckbox&&V.jsx(Kse,{id:e.object.id,checked:e.selected,onChange:s}),V.jsxs("div",{className:`${AZ.avatarContainer} cursor-pointer me-2`,children:[!!t&&V.jsx(Wse,{imageUrl:(l=t.avatar)==null?void 0:l.url,imageCdnUrl:e.imageCdnUrl,initials:Kl.getInitials(e.object.name,t.surname)}),!!r&&V.jsx("div",{className:o,children:e.isPinned?V.jsx(Jm,{svg:o2e,variant:"yellow",svgSize:Zs.Large}):V.jsx(Jm,{svg:i2e,variant:"teal",svgSize:Zs.Large})}),!!n&&V.jsx("div",{className:o,children:V.jsx(Jm,{svg:a2e,variant:s2e((c=n.metadata)==null?void 0:c.colour)})})]}),V.jsxs("div",{children:[V.jsx("h4",{className:"text-start font-size-normal fw-normal m-0",children:i}),!!a&&V.jsx("p",{className:"text-secondary m-0",children:a})]}),e.hideCheckbox&&V.jsxs("div",{className:`${AZ.cta} ms-auto text-secondary`,children:[e.selected&&V.jsx(Ri,{svg:Iy}),!e.selected&&V.jsx(Ri,{svg:Xse})]})]})})}const p2e={FILTER_PARAM_PREFIX:"filters."};var YO={},KO,OZ;function g2e(){if(OZ)return KO;OZ=1;function e(t,r){if(t===r)return!0;if(!t||!r)return!1;var n=t.length;if(r.length!==n)return!1;for(var i=0;i<n;i++)if(t[i]!==r[i])return!1;return!0}return KO=e,KO}var XO={},QO,IZ;function m2e(){if(IZ)return QO;IZ=1;var e=(function(){function t(r,n){var i=[],a=!0,o=!1,s=void 0;try{for(var l=r[Symbol.iterator](),c;!(a=(c=l.next()).done)&&(i.push(c.value),!(n&&i.length===n));a=!0);}catch(d){o=!0,s=d}finally{try{!a&&l.return&&l.return()}finally{if(o)throw s}}return i}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();return QO=function(t){var r=t.data,n=t.multiSection;function i(c){for(c===null?c=0:c++;c<r.length&&r[c]===0;)c++;return c===r.length?null:c}function a(c){for(c===null?c=r.length-1:c--;c>=0&&r[c]===0;)c--;return c===-1?null:c}function o(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===r[h]-1?(h=i(h),h===null?[null,null]:[h,0]):[h,v+1]:r===0||v===r-1?[null,null]:v===null?[null,0]:[null,v+1]}function s(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===0?(h=a(h),h===null?[null,null]:[h,r[h]-1]):[h,v-1]:r===0||v===0?[null,null]:v===null?[null,r-1]:[null,v-1]}function l(c){return o(c)[1]===null}return{next:o,prev:s,isLast:l}},QO}var Sm={exports:{}},JO,PZ;function y2e(){if(PZ)return JO;PZ=1;var e=Object.prototype.propertyIsEnumerable;function t(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function r(n){var i=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n))),i.filter(function(a){return e.call(n,a)})}return JO=Object.assign||function(n,i){for(var a,o,s=t(n),l=1;l<arguments.length;l++){a=arguments[l],o=r(Object(a));for(var c=0;c<o.length;c++)s[o[c]]=a[o[c]]}return s},JO}var DZ;function _2e(){return DZ||(DZ=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function l(c,d){var h=[],v=!0,g=!1,S=void 0;try{for(var E=c[Symbol.iterator](),y;!(v=(y=E.next()).done)&&(h.push(y.value),!(d&&h.length===d));v=!0);}catch(w){g=!0,S=w}finally{try{!v&&E.return&&E.return()}finally{if(g)throw S}}return h}return function(c,d){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return l(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function n(l){return l&&l.__esModule?l:{default:l}}function i(l){if(Array.isArray(l)){for(var c=0,d=Array(l.length);c<l.length;c++)d[c]=l[c];return d}else return Array.from(l)}var a=y2e(),o=n(a),s=function(c){return c};t.default=function(l){var c=Array.isArray(l)&&l.length===2?l:[l,null],d=r(c,2),h=d[0],v=d[1];return function(g){for(var S=arguments.length,E=Array(S>1?S-1:0),y=1;y<S;y++)E[y-1]=arguments[y];var w=E.map(function(b){return h[b]}).filter(s);return typeof w[0]=="string"||typeof v=="function"?{key:g,className:v?v.apply(void 0,i(w)):w.join(" ")}:{key:g,style:o.default.apply(void 0,[{}].concat(i(w)))}}},e.exports=t.default})(Sm,Sm.exports)),Sm.exports}var ZO={},eI={},kZ;function oN(){return kZ||(kZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(n)}function r(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n===i)return!1;var o=Object.keys(n),s=Object.keys(i);if(o.length!==s.length)return!0;var l={},c,d;for(c=0,d=a.length;c<d;c++)l[a[c]]=!0;for(c=0,d=o.length;c<d;c++){var h=o[c],v=n[h],g=i[h];if(v!==g){if(!l[h]||v===null||g===null||t(v)!=="object"||t(g)!=="object")return!0;var S=Object.keys(v),E=Object.keys(g);if(S.length!==E.length)return!0;for(var y=0,w=S.length;y<w;y++){var b=S[y];if(v[b]!==g[b])return!0}}}return!1}})(eI)),eI}var NZ;function S2e(){return NZ||(NZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Ho()),r=i(jf()),n=i(oN());function i(R){return R&&R.__esModule?R:{default:R}}function a(){if(typeof WeakMap!="function")return null;var R=new WeakMap;return a=function(){return R},R}function o(R){if(R&&R.__esModule)return R;if(R===null||s(R)!=="object"&&typeof R!="function")return{default:R};var C=a();if(C&&C.has(R))return C.get(R);var O={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in R)if(Object.prototype.hasOwnProperty.call(R,D)){var k=m?Object.getOwnPropertyDescriptor(R,D):null;k&&(k.get||k.set)?Object.defineProperty(O,D,k):O[D]=R[D]}return O.default=R,C&&C.set(R,O),O}function s(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(O){return typeof O}:s=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},s(R)}function l(R,C){if(!(R instanceof C))throw new TypeError("Cannot call a class as a function")}function c(R,C){for(var O=0;O<C.length;O++){var m=C[O];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(R,m.key,m)}}function d(R,C,O){return C&&c(R.prototype,C),R}function h(R){return function(){var C=E(R),O;if(S()){var m=E(this).constructor;O=Reflect.construct(C,arguments,m)}else O=C.apply(this,arguments);return v(this,O)}}function v(R,C){return C&&(s(C)==="object"||typeof C=="function")?C:g(R)}function g(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function E(R){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},E(R)}function y(R,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(C&&C.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),C&&w(R,C)}function w(R,C){return w=Object.setPrototypeOf||function(m,D){return m.__proto__=D,m},w(R,C)}function b(R,C,O){return C in R?Object.defineProperty(R,C,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[C]=O,R}var A=(function(R){y(O,R);var C=h(O);function O(){return l(this,O),C.apply(this,arguments)}return d(O,[{key:"shouldComponentUpdate",value:function(D){return(0,n.default)(D,this.props)}},{key:"render",value:function(){var D=this.props,k=D.section,q=D.renderSectionTitle,j=D.theme,W=D.sectionKeyPrefix,K=q(k);return K?t.default.createElement("div",j("".concat(W,"title"),"sectionTitle"),K):null}}]),O})(t.Component);e.default=A,b(A,"propTypes",{section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired})})(ZO)),ZO}var tI={},rI={},LZ;function E2e(){return LZ||(LZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Ho()),r=i(jf()),n=i(oN());function i(k){return k&&k.__esModule?k:{default:k}}function a(){if(typeof WeakMap!="function")return null;var k=new WeakMap;return a=function(){return k},k}function o(k){if(k&&k.__esModule)return k;if(k===null||s(k)!=="object"&&typeof k!="function")return{default:k};var q=a();if(q&&q.has(k))return q.get(k);var j={},W=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in k)if(Object.prototype.hasOwnProperty.call(k,K)){var X=W?Object.getOwnPropertyDescriptor(k,K):null;X&&(X.get||X.set)?Object.defineProperty(j,K,X):j[K]=k[K]}return j.default=k,q&&q.set(k,j),j}function s(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(j){return typeof j}:s=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},s(k)}function l(){return l=Object.assign||function(k){for(var q=1;q<arguments.length;q++){var j=arguments[q];for(var W in j)Object.prototype.hasOwnProperty.call(j,W)&&(k[W]=j[W])}return k},l.apply(this,arguments)}function c(k,q){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(k);q&&(W=W.filter(function(K){return Object.getOwnPropertyDescriptor(k,K).enumerable})),j.push.apply(j,W)}return j}function d(k){for(var q=1;q<arguments.length;q++){var j=arguments[q]!=null?arguments[q]:{};q%2?c(Object(j),!0).forEach(function(W){m(k,W,j[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):c(Object(j)).forEach(function(W){Object.defineProperty(k,W,Object.getOwnPropertyDescriptor(j,W))})}return k}function h(k,q){if(k==null)return{};var j=v(k,q),W,K;if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(k);for(K=0;K<X.length;K++)W=X[K],!(q.indexOf(W)>=0)&&Object.prototype.propertyIsEnumerable.call(k,W)&&(j[W]=k[W])}return j}function v(k,q){if(k==null)return{};var j={},W=Object.keys(k),K,X;for(X=0;X<W.length;X++)K=W[X],!(q.indexOf(K)>=0)&&(j[K]=k[K]);return j}function g(k,q){if(!(k instanceof q))throw new TypeError("Cannot call a class as a function")}function S(k,q){for(var j=0;j<q.length;j++){var W=q[j];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(k,W.key,W)}}function E(k,q,j){return q&&S(k.prototype,q),k}function y(k){return function(){var q=R(k),j;if(A()){var W=R(this).constructor;j=Reflect.construct(q,arguments,W)}else j=q.apply(this,arguments);return w(this,j)}}function w(k,q){return q&&(s(q)==="object"||typeof q=="function")?q:b(k)}function b(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(k){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},R(k)}function C(k,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(q&&q.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),q&&O(k,q)}function O(k,q){return O=Object.setPrototypeOf||function(W,K){return W.__proto__=K,W},O(k,q)}function m(k,q,j){return q in k?Object.defineProperty(k,q,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[q]=j,k}var D=(function(k){C(j,k);var q=y(j);function j(){var W;g(this,j);for(var K=arguments.length,X=new Array(K),Q=0;Q<K;Q++)X[Q]=arguments[Q];return W=q.call.apply(q,[this].concat(X)),m(b(W),"storeItemReference",function(J){J!==null&&(W.item=J)}),m(b(W),"onMouseEnter",function(J){var re=W.props,$=re.sectionIndex,N=re.itemIndex;W.props.onMouseEnter(J,{sectionIndex:$,itemIndex:N})}),m(b(W),"onMouseLeave",function(J){var re=W.props,$=re.sectionIndex,N=re.itemIndex;W.props.onMouseLeave(J,{sectionIndex:$,itemIndex:N})}),m(b(W),"onMouseDown",function(J){var re=W.props,$=re.sectionIndex,N=re.itemIndex;W.props.onMouseDown(J,{sectionIndex:$,itemIndex:N})}),m(b(W),"onClick",function(J){var re=W.props,$=re.sectionIndex,N=re.itemIndex;W.props.onClick(J,{sectionIndex:$,itemIndex:N})}),W}return E(j,[{key:"shouldComponentUpdate",value:function(K){return(0,n.default)(K,this.props,["renderItemData"])}},{key:"render",value:function(){var K=this.props,X=K.isHighlighted,Q=K.item,J=K.renderItem,re=K.renderItemData,$=h(K,["isHighlighted","item","renderItem","renderItemData"]);return delete $.sectionIndex,delete $.itemIndex,typeof $.onMouseEnter=="function"&&($.onMouseEnter=this.onMouseEnter),typeof $.onMouseLeave=="function"&&($.onMouseLeave=this.onMouseLeave),typeof $.onMouseDown=="function"&&($.onMouseDown=this.onMouseDown),typeof $.onClick=="function"&&($.onClick=this.onClick),t.default.createElement("li",l({role:"option"},$,{ref:this.storeItemReference}),J(Q,d({isHighlighted:X},re)))}}]),j})(t.Component);e.default=D,m(D,"propTypes",{sectionIndex:r.default.number,isHighlighted:r.default.bool.isRequired,itemIndex:r.default.number.isRequired,item:r.default.any.isRequired,renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onMouseDown:r.default.func,onClick:r.default.func})})(rI)),rI}var MZ;function w2e(){return MZ||(MZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(Ho()),r=a(jf()),n=a(E2e()),i=a(oN());function a(D){return D&&D.__esModule?D:{default:D}}function o(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return o=function(){return D},D}function s(D){if(D&&D.__esModule)return D;if(D===null||l(D)!=="object"&&typeof D!="function")return{default:D};var k=o();if(k&&k.has(D))return k.get(D);var q={},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in D)if(Object.prototype.hasOwnProperty.call(D,W)){var K=j?Object.getOwnPropertyDescriptor(D,W):null;K&&(K.get||K.set)?Object.defineProperty(q,W,K):q[W]=D[W]}return q.default=D,k&&k.set(D,q),q}function l(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(q){return typeof q}:l=function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},l(D)}function c(){return c=Object.assign||function(D){for(var k=1;k<arguments.length;k++){var q=arguments[k];for(var j in q)Object.prototype.hasOwnProperty.call(q,j)&&(D[j]=q[j])}return D},c.apply(this,arguments)}function d(D,k){var q=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);k&&(j=j.filter(function(W){return Object.getOwnPropertyDescriptor(D,W).enumerable})),q.push.apply(q,j)}return q}function h(D){for(var k=1;k<arguments.length;k++){var q=arguments[k]!=null?arguments[k]:{};k%2?d(Object(q),!0).forEach(function(j){O(D,j,q[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(q)):d(Object(q)).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor(q,j))})}return D}function v(D,k){if(!(D instanceof k))throw new TypeError("Cannot call a class as a function")}function g(D,k){for(var q=0;q<k.length;q++){var j=k[q];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function S(D,k,q){return k&&g(D.prototype,k),D}function E(D){return function(){var k=A(D),q;if(b()){var j=A(this).constructor;q=Reflect.construct(k,arguments,j)}else q=k.apply(this,arguments);return y(this,q)}}function y(D,k){return k&&(l(k)==="object"||typeof k=="function")?k:w(D)}function w(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(D){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(q){return q.__proto__||Object.getPrototypeOf(q)},A(D)}function R(D,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(k&&k.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),k&&C(D,k)}function C(D,k){return C=Object.setPrototypeOf||function(j,W){return j.__proto__=W,j},C(D,k)}function O(D,k,q){return k in D?Object.defineProperty(D,k,{value:q,enumerable:!0,configurable:!0,writable:!0}):D[k]=q,D}var m=(function(D){R(q,D);var k=E(q);function q(){var j;v(this,q);for(var W=arguments.length,K=new Array(W),X=0;X<W;X++)K[X]=arguments[X];return j=k.call.apply(k,[this].concat(K)),O(w(j),"storeHighlightedItemReference",function(Q){j.props.onHighlightedItemChange(Q===null?null:Q.item)}),j}return S(q,[{key:"shouldComponentUpdate",value:function(W){return(0,i.default)(W,this.props,["itemProps"])}},{key:"render",value:function(){var W=this,K=this.props,X=K.items,Q=K.itemProps,J=K.renderItem,re=K.renderItemData,$=K.sectionIndex,N=K.highlightedItemIndex,U=K.getItemId,ee=K.theme,te=K.keyPrefix,de=$===null?te:"".concat(te,"section-").concat($,"-"),Se=typeof Q=="function";return t.default.createElement("ul",c({role:"listbox"},ee("".concat(de,"items-list"),"itemsList")),X.map(function(xe,ue){var I=ue===0,P=ue===N,B="".concat(de,"item-").concat(ue),L=Se?Q({sectionIndex:$,itemIndex:ue}):Q,H=h({id:U($,ue),"aria-selected":P},ee(B,"item",I&&"itemFirst",P&&"itemHighlighted"),{},L);return P&&(H.ref=W.storeHighlightedItemReference),t.default.createElement(n.default,c({},H,{sectionIndex:$,isHighlighted:P,itemIndex:ue,item:xe,renderItem:J,renderItemData:re}))}))}}]),q})(t.Component);e.default=m,O(m,"propTypes",{items:r.default.array.isRequired,itemProps:r.default.oneOfType([r.default.object,r.default.func]),renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,sectionIndex:r.default.number,highlightedItemIndex:r.default.number,onHighlightedItemChange:r.default.func.isRequired,getItemId:r.default.func.isRequired,theme:r.default.func.isRequired,keyPrefix:r.default.string.isRequired}),O(m,"defaultProps",{sectionIndex:null})})(tI)),tI}var $Z;function b2e(){return $Z||($Z=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(Ho()),r=s(jf()),n=s(m2e()),i=s(_2e()),a=s(S2e()),o=s(w2e());function s(N){return N&&N.__esModule?N:{default:N}}function l(){if(typeof WeakMap!="function")return null;var N=new WeakMap;return l=function(){return N},N}function c(N){if(N&&N.__esModule)return N;if(N===null||b(N)!=="object"&&typeof N!="function")return{default:N};var U=l();if(U&&U.has(N))return U.get(N);var ee={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var de in N)if(Object.prototype.hasOwnProperty.call(N,de)){var Se=te?Object.getOwnPropertyDescriptor(N,de):null;Se&&(Se.get||Se.set)?Object.defineProperty(ee,de,Se):ee[de]=N[de]}return ee.default=N,U&&U.set(N,ee),ee}function d(N,U){var ee=Object.keys(N);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(N);U&&(te=te.filter(function(de){return Object.getOwnPropertyDescriptor(N,de).enumerable})),ee.push.apply(ee,te)}return ee}function h(N){for(var U=1;U<arguments.length;U++){var ee=arguments[U]!=null?arguments[U]:{};U%2?d(Object(ee),!0).forEach(function(te){K(N,te,ee[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(ee)):d(Object(ee)).forEach(function(te){Object.defineProperty(N,te,Object.getOwnPropertyDescriptor(ee,te))})}return N}function v(N,U){return w(N)||y(N,U)||S(N,U)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
168
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(N,U){if(N){if(typeof N=="string")return E(N,U);var ee=Object.prototype.toString.call(N).slice(8,-1);if(ee==="Object"&&N.constructor&&(ee=N.constructor.name),ee==="Map"||ee==="Set")return Array.from(ee);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return E(N,U)}}function E(N,U){(U==null||U>N.length)&&(U=N.length);for(var ee=0,te=new Array(U);ee<U;ee++)te[ee]=N[ee];return te}function y(N,U){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(N)))){var ee=[],te=!0,de=!1,Se=void 0;try{for(var xe=N[Symbol.iterator](),ue;!(te=(ue=xe.next()).done)&&(ee.push(ue.value),!(U&&ee.length===U));te=!0);}catch(I){de=!0,Se=I}finally{try{!te&&xe.return!=null&&xe.return()}finally{if(de)throw Se}}return ee}}function w(N){if(Array.isArray(N))return N}function b(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(ee){return typeof ee}:b=function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},b(N)}function A(N,U){if(!(N instanceof U))throw new TypeError("Cannot call a class as a function")}function R(N,U){for(var ee=0;ee<U.length;ee++){var te=U[ee];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(N,te.key,te)}}function C(N,U,ee){return U&&R(N.prototype,U),N}function O(N){return function(){var U=q(N),ee;if(k()){var te=q(this).constructor;ee=Reflect.construct(U,arguments,te)}else ee=U.apply(this,arguments);return m(this,ee)}}function m(N,U){return U&&(b(U)==="object"||typeof U=="function")?U:D(N)}function D(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function k(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function q(N){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(ee){return ee.__proto__||Object.getPrototypeOf(ee)},q(N)}function j(N,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(U&&U.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),U&&W(N,U)}function W(N,U){return W=Object.setPrototypeOf||function(te,de){return te.__proto__=de,te},W(N,U)}function K(N,U,ee){return U in N?Object.defineProperty(N,U,{value:ee,enumerable:!0,configurable:!0,writable:!0}):N[U]=ee,N}var X={},Q=function(U){return t.default.createElement("input",U)},J=function(U){var ee=U.containerProps,te=U.children;return t.default.createElement("div",ee,te)},re={container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"},$=(function(N){j(ee,N);var U=O(ee);function ee(te){var de;return A(this,ee),de=U.call(this,te),K(D(de),"storeInputReference",function(Se){Se!==null&&(de.input=Se);var xe=de.props.inputProps.ref;xe&&(typeof xe=="function"?xe(Se):b(xe)==="object"&&Object.prototype.hasOwnProperty.call(xe,"current")&&(xe.current=Se))}),K(D(de),"storeItemsContainerReference",function(Se){Se!==null&&(de.itemsContainer=Se)}),K(D(de),"onHighlightedItemChange",function(Se){de.highlightedItem=Se}),K(D(de),"getItemId",function(Se,xe){if(xe===null)return null;var ue=de.props.id,I=Se===null?"":"section-".concat(Se);return"react-autowhatever-".concat(ue,"-").concat(I,"-item-").concat(xe)}),K(D(de),"onFocus",function(Se){var xe=de.props.inputProps;de.setState({isInputFocused:!0}),xe.onFocus&&xe.onFocus(Se)}),K(D(de),"onBlur",function(Se){var xe=de.props.inputProps;de.setState({isInputFocused:!1}),xe.onBlur&&xe.onBlur(Se)}),K(D(de),"onKeyDown",function(Se){var xe=de.props,ue=xe.inputProps,I=xe.highlightedSectionIndex,P=xe.highlightedItemIndex,B=Se.keyCode;switch(B){case 40:case 38:{var L=B===40?"next":"prev",H=de.sectionIterator[L]([I,P]),ne=v(H,2),ce=ne[0],we=ne[1];ue.onKeyDown(Se,{newHighlightedSectionIndex:ce,newHighlightedItemIndex:we});break}default:ue.onKeyDown(Se,{highlightedSectionIndex:I,highlightedItemIndex:P})}}),de.highlightedItem=null,de.state={isInputFocused:!1},de.setSectionsItems(te),de.setSectionIterator(te),de.setTheme(te),de}return C(ee,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(de){de.items!==this.props.items&&this.setSectionsItems(de),(de.items!==this.props.items||de.multiSection!==this.props.multiSection)&&this.setSectionIterator(de),de.theme!==this.props.theme&&this.setTheme(de)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(de){de.multiSection&&(this.sectionsItems=de.items.map(function(Se){return de.getSectionItems(Se)}),this.sectionsLengths=this.sectionsItems.map(function(Se){return Se.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(Se){return Se===0}))}},{key:"setSectionIterator",value:function(de){this.sectionIterator=(0,n.default)({multiSection:de.multiSection,data:de.multiSection?this.sectionsLengths:de.items.length})}},{key:"setTheme",value:function(de){this.theme=(0,i.default)(de.theme)}},{key:"renderSections",value:function(){var de=this;if(this.allSectionsAreEmpty)return null;var Se=this.theme,xe=this.props,ue=xe.id,I=xe.items,P=xe.renderItem,B=xe.renderItemData,L=xe.renderSectionTitle,H=xe.highlightedSectionIndex,ne=xe.highlightedItemIndex,ce=xe.itemProps;return I.map(function(we,_e){var Oe="react-autowhatever-".concat(ue,"-"),Re="".concat(Oe,"section-").concat(_e,"-"),Ie=_e===0;return t.default.createElement("div",Se("".concat(Re,"container"),"sectionContainer",Ie&&"sectionContainerFirst"),t.default.createElement(a.default,{section:we,renderSectionTitle:L,theme:Se,sectionKeyPrefix:Re}),t.default.createElement(o.default,{items:de.sectionsItems[_e],itemProps:ce,renderItem:P,renderItemData:B,sectionIndex:_e,highlightedItemIndex:H===_e?ne:null,onHighlightedItemChange:de.onHighlightedItemChange,getItemId:de.getItemId,theme:Se,keyPrefix:Oe,ref:de.storeItemsListReference}))})}},{key:"renderItems",value:function(){var de=this.props.items;if(de.length===0)return null;var Se=this.theme,xe=this.props,ue=xe.id,I=xe.renderItem,P=xe.renderItemData,B=xe.highlightedSectionIndex,L=xe.highlightedItemIndex,H=xe.itemProps;return t.default.createElement(o.default,{items:de,itemProps:H,renderItem:I,renderItemData:P,highlightedItemIndex:B===null?L:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:Se,keyPrefix:"react-autowhatever-".concat(ue,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var de=this.highlightedItem;if(de){var Se=this.itemsContainer,xe=de.offsetParent===Se?de.offsetTop:de.offsetTop-Se.offsetTop,ue=Se.scrollTop;xe<ue?ue=xe:xe+de.offsetHeight>ue+Se.offsetHeight&&(ue=xe+de.offsetHeight-Se.offsetHeight),ue!==Se.scrollTop&&(Se.scrollTop=ue)}}},{key:"render",value:function(){var de=this.theme,Se=this.props,xe=Se.id,ue=Se.multiSection,I=Se.renderInputComponent,P=Se.renderItemsContainer,B=Se.highlightedSectionIndex,L=Se.highlightedItemIndex,H=this.state.isInputFocused,ne=ue?this.renderSections():this.renderItems(),ce=ne!==null,we=this.getItemId(B,L),_e="react-autowhatever-".concat(xe),Oe=h({role:"combobox","aria-haspopup":"listbox","aria-owns":_e,"aria-expanded":ce},de("react-autowhatever-".concat(xe,"-container"),"container",ce&&"containerOpen"),{},this.props.containerProps),Re=I(h({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":_e,"aria-activedescendant":we},de("react-autowhatever-".concat(xe,"-input"),"input",ce&&"inputOpen",H&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),Ie=P({containerProps:h({id:_e,role:"listbox"},de("react-autowhatever-".concat(xe,"-items-container"),"itemsContainer",ce&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:ne});return t.default.createElement("div",Oe,Re,Ie)}}]),ee})(t.Component);e.default=$,K($,"propTypes",{id:r.default.string,multiSection:r.default.bool,renderInputComponent:r.default.func,renderItemsContainer:r.default.func,items:r.default.array.isRequired,renderItem:r.default.func,renderItemData:r.default.object,renderSectionTitle:r.default.func,getSectionItems:r.default.func,containerProps:r.default.object,inputProps:r.default.object,itemProps:r.default.oneOfType([r.default.object,r.default.func]),highlightedSectionIndex:r.default.number,highlightedItemIndex:r.default.number,theme:r.default.oneOfType([r.default.object,r.default.array])}),K($,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:Q,renderItemsContainer:J,renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:X,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:X,inputProps:X,itemProps:X,highlightedSectionIndex:null,highlightedItemIndex:null,theme:re})})(XO)),XO}var Fc={},FZ;function T2e(){if(FZ)return Fc;FZ=1,Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.mapToAutowhateverTheme=Fc.defaultTheme=void 0;var e={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};Fc.defaultTheme=e;var t=function(n){var i={};for(var a in n)switch(a){case"suggestionsContainer":i.itemsContainer=n[a];break;case"suggestionsContainerOpen":i.itemsContainerOpen=n[a];break;case"suggestion":i.item=n[a];break;case"suggestionFirst":i.itemFirst=n[a];break;case"suggestionHighlighted":i.itemHighlighted=n[a];break;case"suggestionsList":i.itemsList=n[a];break;default:i[a]=n[a]}return i};return Fc.mapToAutowhateverTheme=t,Fc}var jZ;function R2e(){return jZ||(jZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(Ho()),r=o(jf()),n=o(g2e()),i=o(b2e()),a=T2e();function o($){return $&&$.__esModule?$:{default:$}}function s(){if(typeof WeakMap!="function")return null;var $=new WeakMap;return s=function(){return $},$}function l($){if($&&$.__esModule)return $;if($===null||c($)!=="object"&&typeof $!="function")return{default:$};var N=s();if(N&&N.has($))return N.get($);var U={},ee=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in $)if(Object.prototype.hasOwnProperty.call($,te)){var de=ee?Object.getOwnPropertyDescriptor($,te):null;de&&(de.get||de.set)?Object.defineProperty(U,te,de):U[te]=$[te]}return U.default=$,N&&N.set($,U),U}function c($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(U){return typeof U}:c=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},c($)}function d($,N){var U=Object.keys($);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols($);N&&(ee=ee.filter(function(te){return Object.getOwnPropertyDescriptor($,te).enumerable})),U.push.apply(U,ee)}return U}function h($){for(var N=1;N<arguments.length;N++){var U=arguments[N]!=null?arguments[N]:{};N%2?d(Object(U),!0).forEach(function(ee){O($,ee,U[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(U)):d(Object(U)).forEach(function(ee){Object.defineProperty($,ee,Object.getOwnPropertyDescriptor(U,ee))})}return $}function v($,N){if(!($ instanceof N))throw new TypeError("Cannot call a class as a function")}function g($,N){for(var U=0;U<N.length;U++){var ee=N[U];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty($,ee.key,ee)}}function S($,N,U){return N&&g($.prototype,N),$}function E($){return function(){var N=A($),U;if(b()){var ee=A(this).constructor;U=Reflect.construct(N,arguments,ee)}else U=N.apply(this,arguments);return y(this,U)}}function y($,N){return N&&(c(N)==="object"||typeof N=="function")?N:w($)}function w($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A($){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},A($)}function R($,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(N&&N.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),N&&C($,N)}function C($,N){return C=Object.setPrototypeOf||function(ee,te){return ee.__proto__=te,ee},C($,N)}function O($,N,U){return N in $?Object.defineProperty($,N,{value:U,enumerable:!0,configurable:!0,writable:!0}):$[N]=U,$}var m=function(){return!0},D=function(N){return N.trim().length>0},k=function(N){var U=N.containerProps,ee=N.children;return t.default.createElement("div",U,ee)},q="suggestions-revealed",j="suggestions-updated",W="suggestion-selected",K="input-focused",X="input-changed",Q="input-blurred",J="escape-pressed",re=(function($){R(U,$);var N=E(U);function U(ee){var te,de=ee.alwaysRenderSuggestions;return v(this,U),te=N.call(this),O(w(te),"onDocumentMouseDown",function(Se){te.justClickedOnSuggestionsContainer=!1;for(var xe=Se.detail&&Se.detail.target||Se.target;xe!==null&&xe!==document;){if(xe.getAttribute&&xe.getAttribute("data-suggestion-index")!==null)return;if(xe===te.suggestionsContainer){te.justClickedOnSuggestionsContainer=!0;return}xe=xe.parentNode}}),O(w(te),"storeAutowhateverRef",function(Se){Se!==null&&(te.autowhatever=Se)}),O(w(te),"onSuggestionMouseEnter",function(Se,xe){var ue=xe.sectionIndex,I=xe.itemIndex;te.updateHighlightedSuggestion(ue,I),Se.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!0),te.justMouseEntered=!0,setTimeout(function(){te.justMouseEntered=!1})}),O(w(te),"highlightFirstSuggestion",function(){te.updateHighlightedSuggestion(te.props.multiSection?0:null,0)}),O(w(te),"onDocumentMouseUp",function(){te.pressedSuggestion&&!te.justSelectedSuggestion&&te.input.focus(),te.pressedSuggestion=null}),O(w(te),"onSuggestionMouseDown",function(Se){te.justSelectedSuggestion||(te.justSelectedSuggestion=!0,te.pressedSuggestion=Se.target)}),O(w(te),"onSuggestionsClearRequested",function(){var Se=te.props.onSuggestionsClearRequested;Se&&Se()}),O(w(te),"onSuggestionSelected",function(Se,xe){var ue=te.props,I=ue.alwaysRenderSuggestions,P=ue.onSuggestionSelected,B=ue.onSuggestionsFetchRequested;P&&P(Se,xe);var L=te.props.shouldKeepSuggestionsOnSelect(xe.suggestion);I||L?B({value:xe.suggestionValue,reason:W}):te.onSuggestionsClearRequested(),te.resetHighlightedSuggestion()}),O(w(te),"onSuggestionClick",function(Se){var xe=te.props,ue=xe.alwaysRenderSuggestions,I=xe.focusInputOnSuggestionClick,P=te.getSuggestionIndices(te.findSuggestionElement(Se.target)),B=P.sectionIndex,L=P.suggestionIndex,H=te.getSuggestion(B,L),ne=te.props.getSuggestionValue(H);te.maybeCallOnChange(Se,ne,"click"),te.onSuggestionSelected(Se,{suggestion:H,suggestionValue:ne,suggestionIndex:L,sectionIndex:B,method:"click"});var ce=te.props.shouldKeepSuggestionsOnSelect(H);ue||ce||te.closeSuggestions(),I===!0?te.input.focus():te.onBlur(),setTimeout(function(){te.justSelectedSuggestion=!1})}),O(w(te),"onBlur",function(){var Se=te.props,xe=Se.inputProps,ue=Se.shouldRenderSuggestions,I=xe.value,P=xe.onBlur,B=te.getHighlightedSuggestion(),L=ue(I,Q);te.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!L}),P&&P(te.blurEvent,{highlightedSuggestion:B})}),O(w(te),"onSuggestionMouseLeave",function(Se){te.resetHighlightedSuggestion(!1),te.justSelectedSuggestion&&Se.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!1)}),O(w(te),"onSuggestionTouchStart",function(){te.justSelectedSuggestion=!0}),O(w(te),"onSuggestionTouchMove",function(){te.justSelectedSuggestion=!1,te.pressedSuggestion=null,te.input.focus()}),O(w(te),"itemProps",function(Se){var xe=Se.sectionIndex,ue=Se.itemIndex;return{"data-section-index":xe,"data-suggestion-index":ue,onMouseEnter:te.onSuggestionMouseEnter,onMouseLeave:te.onSuggestionMouseLeave,onMouseDown:te.onSuggestionMouseDown,onTouchStart:te.onSuggestionTouchStart,onTouchMove:te.onSuggestionTouchMove,onClick:te.onSuggestionClick}}),O(w(te),"renderSuggestionsContainer",function(Se){var xe=Se.containerProps,ue=Se.children,I=te.props.renderSuggestionsContainer;return I({containerProps:xe,children:ue,query:te.getQuery()})}),te.state={isFocused:!1,isCollapsed:!de,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},te.justPressedUpDown=!1,te.justMouseEntered=!1,te.pressedSuggestion=null,te}return S(U,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(te){var de=this.state.highlightedSuggestionIndex===0&&this.props.highlightFirstSuggestion&&!te.highlightFirstSuggestion;(0,n.default)(te.suggestions,this.props.suggestions)?te.highlightFirstSuggestion&&te.suggestions.length>0&&this.justPressedUpDown===!1&&this.justMouseEntered===!1?this.highlightFirstSuggestion():de&&this.resetHighlightedSuggestion():this.willRenderSuggestions(te,j)?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),de&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(te,de){var Se=this.props,xe=Se.suggestions,ue=Se.onSuggestionHighlighted,I=Se.highlightFirstSuggestion;if(!(0,n.default)(xe,te.suggestions)&&xe.length>0&&I){this.highlightFirstSuggestion();return}if(ue){var P=this.getHighlightedSuggestion(),B=de.highlightedSuggestion;P!=B&&ue({suggestion:P})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(te,de,Se){var xe=this;this.setState(function(ue){var I=ue.valueBeforeUpDown;return de===null?I=null:I===null&&typeof Se<"u"&&(I=Se),{highlightedSectionIndex:te,highlightedSuggestionIndex:de,highlightedSuggestion:de===null?null:xe.getSuggestion(te,de),valueBeforeUpDown:I}})}},{key:"resetHighlightedSuggestion",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setState(function(de){var Se=de.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:te?null:Se}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(te,de){var Se=this.props,xe=Se.suggestions,ue=Se.multiSection,I=Se.getSectionSuggestions;return ue?I(xe[te])[de]:xe[de]}},{key:"getHighlightedSuggestion",value:function(){var te=this.state,de=te.highlightedSectionIndex,Se=te.highlightedSuggestionIndex;return Se===null?null:this.getSuggestion(de,Se)}},{key:"getSuggestionValueByIndex",value:function(te,de){var Se=this.props.getSuggestionValue;return Se(this.getSuggestion(te,de))}},{key:"getSuggestionIndices",value:function(te){var de=te.getAttribute("data-section-index"),Se=te.getAttribute("data-suggestion-index");return{sectionIndex:typeof de=="string"?parseInt(de,10):null,suggestionIndex:parseInt(Se,10)}}},{key:"findSuggestionElement",value:function(te){var de=te;do{if(de.getAttribute&&de.getAttribute("data-suggestion-index")!==null)return de;de=de.parentNode}while(de!==null);throw console.error("Clicked element:",te),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(te,de,Se){var xe=this.props.inputProps,ue=xe.value,I=xe.onChange;de!==ue&&I(te,{newValue:de,method:Se})}},{key:"willRenderSuggestions",value:function(te,de){var Se=te.suggestions,xe=te.inputProps,ue=te.shouldRenderSuggestions,I=xe.value;return Se.length>0&&ue(I,de)}},{key:"getQuery",value:function(){var te=this.props.inputProps,de=te.value,Se=this.state.valueBeforeUpDown;return(Se===null?de:Se).trim()}},{key:"render",value:function(){var te=this,de=this.props,Se=de.suggestions,xe=de.renderInputComponent,ue=de.onSuggestionsFetchRequested,I=de.renderSuggestion,P=de.inputProps,B=de.multiSection,L=de.renderSectionTitle,H=de.id,ne=de.getSectionSuggestions,ce=de.theme,we=de.getSuggestionValue,_e=de.alwaysRenderSuggestions,Oe=de.highlightFirstSuggestion,Re=de.containerProps,Ie=this.state,$e=Ie.isFocused,me=Ie.isCollapsed,be=Ie.highlightedSectionIndex,Te=Ie.highlightedSuggestionIndex,Ne=Ie.valueBeforeUpDown,Ve=_e?m:this.props.shouldRenderSuggestions,qe=P.value,Ge=P.onFocus,ct=P.onKeyDown,Ut=this.willRenderSuggestions(this.props,"render"),Wt=_e||$e&&!me&&Ut,Je=Wt?Se:[],Rt=h({},P,{onFocus:function(rt){if(!te.justSelectedSuggestion&&!te.justClickedOnSuggestionsContainer){var dt=Ve(qe,K);te.setState({isFocused:!0,isCollapsed:!dt}),Ge&&Ge(rt),dt&&ue({value:qe,reason:K})}},onBlur:function(rt){if(te.justClickedOnSuggestionsContainer){te.input.focus();return}te.blurEvent=rt,te.justSelectedSuggestion||(te.onBlur(),te.onSuggestionsClearRequested())},onChange:function(rt){var dt=rt.target.value,Yt=Ve(dt,X);te.maybeCallOnChange(rt,dt,"type"),te.suggestionsContainer&&(te.suggestionsContainer.scrollTop=0),te.setState(h({},Oe?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!Yt})),Yt?ue({value:dt,reason:X}):te.onSuggestionsClearRequested()},onKeyDown:function(rt,dt){var Yt=rt.keyCode;switch(Yt){case 40:case 38:if(me)Ve(qe,q)&&(ue({value:qe,reason:q}),te.revealSuggestions(),rt.preventDefault());else if(Se.length>0){var Lt=dt.newHighlightedSectionIndex,Ce=dt.newHighlightedItemIndex,Ze;Ce===null?Ze=Ne===null?qe:Ne:Ze=te.getSuggestionValueByIndex(Lt,Ce),te.updateHighlightedSuggestion(Lt,Ce,qe),te.maybeCallOnChange(rt,Ze,Yt===40?"down":"up"),rt.preventDefault()}te.justPressedUpDown=!0,setTimeout(function(){te.justPressedUpDown=!1});break;case 13:{if(rt.keyCode===229)break;var ut=te.getHighlightedSuggestion();if(Wt&&!_e&&te.closeSuggestions(),ut!=null){rt.preventDefault();var wt=we(ut);te.maybeCallOnChange(rt,wt,"enter"),te.onSuggestionSelected(rt,{suggestion:ut,suggestionValue:wt,suggestionIndex:Te,sectionIndex:be,method:"enter"}),te.justSelectedSuggestion=!0,setTimeout(function(){te.justSelectedSuggestion=!1})}break}case 27:{Wt&&rt.preventDefault();var Nt=Wt&&!_e;if(Ne===null){if(!Nt){var nr="";te.maybeCallOnChange(rt,nr,"escape"),Ve(nr,J)?ue({value:nr,reason:J}):te.onSuggestionsClearRequested()}}else te.maybeCallOnChange(rt,Ne,"escape");Nt?(te.onSuggestionsClearRequested(),te.closeSuggestions()):te.resetHighlightedSuggestion();break}}ct&&ct(rt)}}),_t={query:this.getQuery()};return t.default.createElement(i.default,{multiSection:B,items:Je,renderInputComponent:xe,renderItemsContainer:this.renderSuggestionsContainer,renderItem:I,renderItemData:_t,renderSectionTitle:L,getSectionItems:ne,highlightedSectionIndex:be,highlightedItemIndex:Te,containerProps:Re,inputProps:Rt,itemProps:this.itemProps,theme:(0,a.mapToAutowhateverTheme)(ce),id:H,ref:this.storeAutowhateverRef})}}]),U})(t.Component);e.default=re,O(re,"propTypes",{suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(N,U){var ee=N[U];if(typeof ee!="function")throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(N,U){var ee=N[U];if(N.alwaysRenderSuggestions===!1&&typeof ee!="function")throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:r.default.func,onSuggestionSelected:r.default.func,onSuggestionHighlighted:r.default.func,renderInputComponent:r.default.func,renderSuggestionsContainer:r.default.func,getSuggestionValue:r.default.func.isRequired,renderSuggestion:r.default.func.isRequired,inputProps:function(N,U){var ee=N[U];if(!ee)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(ee,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(ee,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(N,U){var ee=N[U];if(N.multiSection===!0&&typeof ee!="function")throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(N,U){var ee=N[U];if(N.multiSection===!0&&typeof ee!="function")throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:r.default.bool,highlightFirstSuggestion:r.default.bool,theme:r.default.object,id:r.default.string,containerProps:r.default.object}),O(re,"defaultProps",{renderSuggestionsContainer:k,shouldRenderSuggestions:D,alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:a.defaultTheme,id:"1",containerProps:{}})})(YO)),YO}var nI,UZ;function x2e(){return UZ||(UZ=1,nI=R2e().default),nI}var C2e=x2e();const A2e=Bn(C2e);function O2e(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M14.053 14.879a6.28 6.28 0 0 1-3.834 1.294C6.784 16.173 4 13.448 4 10.086S6.784 4 10.219 4c3.434 0 6.218 2.725 6.218 6.086 0 1.59-.622 3.037-1.641 4.12l5.056 4.95a.487.487 0 0 1 0 .699.513.513 0 0 1-.715 0zm1.384-4.793C15.437 7.297 13.121 5 10.22 5S5 7.297 5 10.086s2.316 5.087 5.219 5.087c2.902 0 5.218-2.298 5.218-5.087"})})}const I2e="_inputWithoutHighlight_1gh2d_1",P2e="_suggestionsContainerOpen_1gh2d_5",D2e="_sectionContainer_1gh2d_12",k2e="_suggestionHighlighted_1gh2d_15",N2e="_clearButton_1gh2d_18",L2e="_inputWithLeftIcon_1gh2d_21",M2e="_inputWithRightIcon_1gh2d_24",$2e="_inputWithTwoRightIcons_1gh2d_27",F2e="_iconContainer_1gh2d_30",j2e="_leftIconContainer_1gh2d_35",U2e="_rightIconContainer_1gh2d_38",rs={inputWithoutHighlight:I2e,suggestionsContainerOpen:P2e,sectionContainer:D2e,suggestionHighlighted:k2e,clearButton:N2e,inputWithLeftIcon:L2e,inputWithRightIcon:M2e,inputWithTwoRightIcons:$2e,iconContainer:F2e,leftIconContainer:j2e,rightIconContainer:U2e};function q2e(e,t,r,n,i){let a="form-control text-truncate";return r||(a+=` ${rs.inputWithoutHighlight}`),e==="left"&&(a+=` ${rs.inputWithLeftIcon}`),(e==="right"&&!t||e==="left"&&t||t)&&(a+=` ${rs.inputWithRightIcon}`),e==="right"&&t&&(a+=` ${rs.inputWithTwoRightIcons}`),i==="lg"&&(a+=" form-control-lg"),i==="sm"&&(a+=" form-control-sm"),n&&(a+=` ${n}`),a}function qZ(e){const t="d-inline-block svg-container";return gi.isFunction(e)?t+" cursor-pointer":t}function V2e(e){const{onClickSearchIcon:t,searchIconPlacement:r,showClearInputIcon:n,onClickClearInput:i,highlightOnFocus:a,className:o,formSize:s,...l}=e,c=()=>V.jsx("div",{className:"d-inline-block",children:V.jsx(Ri,{svg:O2e,size:Zs.Standard,onClick:t,className:qZ(t)})}),d=()=>V.jsx("button",{className:`d-inline-block text-secondary ${rs.clearButton}`,onMouseUp:i,children:V.jsx(Ri,{svg:Iy,size:Zs.Standard,className:qZ(i)})});return V.jsxs("div",{className:`position-relative ${rs.inputContainer}`,children:[r==="left"&&V.jsx("div",{className:`${rs.iconContainer} ${rs.leftIconContainer}`,children:V.jsx(c,{})}),V.jsx("input",{className:q2e(r,n,a,o,s),...l}),(r==="right"||!!n)&&V.jsxs("div",{className:`${rs.iconContainer} ${rs.rightIconContainer}`,children:[!!n&&V.jsx(d,{}),r==="right"&&V.jsx(c,{})]})]})}const Ny={isNumber(e){return Ny.isType(e,"number")},isString(e){return Ny.isType(e,"string")},isType(e,t){return typeof e===t}};function qd(e,t){return{recent:t,local:e,remote:[],generic:[]}}function sN(e,t){return Ui.isObject(e)&&e.hasOwnProperty(t)&&Ny.isString(e[t])}function B2e(e,t,r,n){const i=e.trim().toLowerCase();return i.length<n?[]:t.filter(a=>!sN(a,r)||!Ny.isString(a[r])?!1:a[r].trim().toLowerCase().includes(i))}function H2e(e,t,r,n,i,a){const o=gi.isFunction(e)&&e(t);if(o){if(a){PI({resource:o,type:dn.POST,success:r,error:n,headers:i,data:a(t)});return}PI({resource:o,type:dn.GET,success:r,error:n,headers:i})}}function Ad(e,t){e({...qd([],[]),generic:[{type:t,generic:!0}]})}function VZ(e,t,r){const n=gi.isFunction(t.formatRemoteSuggestions)?t.formatRemoteSuggestions(e):e;if(!n.length&&t.getEmptyStateComponent){Ad(r,"empty");return}r(i=>({...i,remote:n,generic:[]}))}function iI(e,t,r){return({value:n,reason:i})=>{var o;if((((o=e.allowableSuggestionFetchRequestedReasons)==null?void 0:o.includes(i))??!0)&&(n.length||r(),!(n.length<e.activationLength))){if(e.local){const s=gi.isFunction(e.getLocalSuggestions)?e.getLocalSuggestions(n,e.local):B2e(n,e.local,e.valueKey,e.activationLength);if(!s.length&&e.getEmptyStateComponent){Ad(t,"empty");return}t(l=>({...l,local:s,generic:[]}))}if(typeof e.handleFetchSuggestions=="function"){e.replacePreviousRemoteSuggestions?t(s=>({...qd([],[]),remote:s.remote})):Ad(t,"loading"),e.handleFetchSuggestions(n,s=>VZ(s,e,t),()=>Ad(t,"errored"));return}e.getRemoteUrl&&(e.replacePreviousRemoteSuggestions?t(s=>({...qd([],[]),remote:s.remote})):Ad(t,"loading"),H2e(e.getRemoteUrl,n,s=>VZ(s,e,t),()=>{Ad(t,"errored")},e.requestHeaders,e.getRemotePostBody))}}}function z2e(e,t){return sN(t,e)?t[e]:""}function W2e(e,t){return sN(t,e)?V.jsx(V.Fragment,{children:t[e]}):V.jsx(V.Fragment,{})}function G2e(e){function t(r){r.stopPropagation()}return V.jsx("div",{className:`d-flex justify-content-center cursor-default ${e??""}`,onClick:t,children:V.jsx(Gp,{as:"span",animation:"border",role:"status"})})}function Y2e(e,t,r,n,i,a){const o=v=>{const g=e[v];return g?g.map(S=>({...S,suggestionType:v})):[]},s=o("recent"),l=o("local"),c=o("remote"),d=o("generic");if(d.length)return[{data:d,suggestionType:"generic"}];if(gi.isFunction(n))return n([...l,...c,...s]);const h=[];return l!=null&&l.length&&h.push({title:t,data:oI(l,aI("local",i)),suggestionType:"local"}),c!=null&&c.length&&h.push({title:t,data:oI(c,aI("remote",i)),suggestionType:"remote"}),s!=null&&s.length&&h.push({title:r,data:oI(s,aI("recent",i)),suggestionType:"recent"}),typeof a=="function"?a(h):h}function aI(e,t){return typeof t=="number"||typeof t=="boolean"?t:t[e]||!1}function oI(e,t){return typeof t=="boolean"||e.length<=t?e:e.slice(0,t)}function K2e(e){return e.data}function X2e(e,t){if(e.title)return V.jsx("div",{className:`pb-1 ${t??""}`,children:V.jsx("strong",{children:e.title})})}function Q2e(e){return{container:"position-relative",suggestionsContainerOpen:`bg-white py-1 border rounded ${rs.suggestionsContainerOpen}`,suggestionsList:"list-unstyled m-0",suggestion:`${e?"":"cursor-pointer"} py-1 px-2`,suggestionHighlighted:e?"":rs.suggestionHighlighted,sectionContainer:`border-bottom py-1 ${rs.sectionContainer}`}}function J2e(e,t){const r=typeof e=="function"?e(t):e,n=Q2e(t);return Object.assign(n,r)}function Z2e(e,t,r,n,i){pe.useEffect(()=>{!e||e.current||(e.current={resetQuery:t,setQuery:r,focusInput:n,blurInput:i})},[e==null?void 0:e.current])}function e4e(e){const[t,r]=wa("lite:search:bar:focus",{focus:!1});return pe.useEffect(()=>{!t.focus||!(e!=null&&e.current)||(e.current.focus(),r({focus:!1}))},[t.focus]),{focusSearchBar:()=>r({focus:!0}),shouldFocus:t.focus}}const BZ="shared.searchBar",Gu=gi.isFunction;function t4e(e){return e.renderAsForm?V.jsx("form",{onSubmit:e.onSubmit,children:e.children}):V.jsx("div",{className:"w-100",children:e.children})}Qse.defaultProps={valueKey:"name",activationLength:3,suggestionLimit:5,recentSearches:[],initialLocalSuggestions:[],searchIconPlacement:"right",renderAsForm:!0,onSuggestionDependencies:[],shouldUpdateQueryOnSelection:!0,focusInputOnSuggestionClick:!0,resetQueryOnEscape:!0};function Qse(e){const t=qd(e.initialLocalSuggestions,e.recentSearches),[r,n]=pe.useState(e.initialQuery||""),[i,a]=pe.useState(t),o=pe.useMemo(()=>Y2e(i,e.suggestionsHeading,e.recentSearchHeading||pr.getPhrase(BZ,"recentSearchesHeading"),e.getSections,e.suggestionLimit,e.transformSections),[i]);pe.useEffect(()=>{Ui.isEqual(t,i)||r&&r.length>=(e==null?void 0:e.activationLength)||a(t)},[t]),pe.useEffect(()=>{typeof e.onSuggestionUpdated=="function"&&e.onSuggestionUpdated(o)},[o]);const s=pe.useRef(null),l=pe.useRef(!1);e4e(s);const[c,d]=pe.useState(e.initialQuery||""),[h,v]=pe.useState("none"),g=ts(fa.XS);pe.useEffect(()=>{!e.resetSuggestionsOnNoActivation||!r||r.length>=e.activationLength||S()},[r]),pe.useEffect(()=>{if(r.length)return;const J=qd(e.initialLocalSuggestions,e.recentSearches);a(J)},[e.initialLocalSuggestions,e.recentSearches]),pe.useEffect(()=>{const J=e.initialQuery||"";r!==J&&(n(J),d(J))},[e.initialQuery]),pe.useEffect(()=>{!s.current||!e.autoFocusInput||s.current.focus()},[e.autoFocusInput]);const S=()=>{const J=qd(e.initialLocalSuggestions,e.recentSearches);a(J)},E=()=>{n(""),d("")},y=()=>{var J;(J=s.current)==null||J.focus()},w=()=>{var J;(J=s.current)==null||J.blur()};Z2e(e.controlsRef,E,n,y,w);const b=(J,{newValue:re,method:$})=>{$==="type"&&d(re),!($==="escape"&&(v("none"),!(e!=null&&e.resetQueryOnEscape)))&&(["up","down"].includes($)||(n(re),Gu(e.onQueryChange)&&e.onQueryChange(re)))},A=()=>{v("none")},R=J=>{J.preventDefault(),Gu(e.onSubmit)&&e.onSubmit(r,s.current),e.clearQueryOnSelect&&E()},C=J=>{if(J.key==="Backspace"&&e.onBackspace&&!r){e.onBackspace();return}if(J.key==="ArrowUp"||J.key==="ArrowDown"){l.current=!0;return}},O=()=>{E(),e.resetSuggestionsOnClear&&S(),Gu(e.onClickClearInput)&&e.onClickClearInput()},m=({suggestion:J})=>{if(h==="none"&&!J)return;l.current&&e.onArrowKeyUpOrDown&&(l.current=!1,e.onArrowKeyUpOrDown()),v(J?"suggestion":"custom")};function D(J){return Gu(e.shouldUpdateQueryOnSelection)?e.shouldUpdateQueryOnSelection(J):e.shouldUpdateQueryOnSelection}const k=pe.useMemo(()=>e.debounceTime?gi.debounce(iI(e,a,S),e.debounceTime):iI(e,a,S),[e.debounceTime,...e.onSuggestionDependencies]);function q(J){return Gu(e.renderSectionTitle)?e.renderSectionTitle(J,e.sectionTitleClassName):X2e(J,e.sectionTitleClassName)}function j(){return Gu(e.renderSuggestionsOnInputFocus)?e.renderSuggestionsOnInputFocus(r):e.renderSuggestionsOnInputFocus}function W(){e.onBlur&&e.onBlur(r)}function K(){e.onFocus&&e.onFocus(r)}function X(J){J!==null&&!s.current&&(s.current=J.input)}function Q(){return typeof e.alwaysRenderSuggestions=="boolean"?e.alwaysRenderSuggestions:e.alwaysRenderSuggestionsWhenFocused&&r.length>=e.activationLength?document.activeElement===s.current:!1}return V.jsx(t4e,{onSubmit:R,renderAsForm:!!e.renderAsForm,children:V.jsx(A2e,{ref:X,suggestions:o,onSuggestionsFetchRequested:k,onSuggestionHighlighted:m,onSuggestionsClearRequested:()=>{Q()||S()},onSuggestionSelected:(J,{suggestion:re})=>{re.generic||(e.clearQueryOnSelect&&E(),e.onSuggestionSelected(re,s.current,J))},getSuggestionValue:J=>D(J)?z2e(e.valueKey,J):r,renderSuggestion:(J,re)=>{if(J.generic){if(J.type==="empty")return r.length>=e.activationLength&&Gu(e.getEmptyStateComponent)?e.getEmptyStateComponent(r):V.jsx(V.Fragment,{});if(J.type==="errored"&&Gu(e.getErrorStateComponent)){const $=iI(e,a,S),N=()=>$({value:r,reason:"input-changed"});return e.getErrorStateComponent(N)}if(J.type==="loading")return G2e(e.loadingComponentClassName)}return Gu(e.getSuggestionComponent)?e.getSuggestionComponent(J,re):W2e(e.valueKey,J)},renderSuggestionsContainer:J=>{const{ref:re,...$}=J.containerProps;if(!e.customScrollbarProps){const N={suggestions:i,query:r,isDropdownOpen:!!J.children};return V.jsxs("div",{ref:re,...$,onMouseOut:A,children:[J.children,e.getCreateComponent&&e.getCreateComponent({userInput:c,isActive:h==="custom",resetQuery:E,resetSuggestions:S,...N}),e.getFooterComponent&&e.getFooterComponent(N)]})}return V.jsx(t2e,{ref:re,...e.customScrollbarProps,...$,children:J.children})},alwaysRenderSuggestions:Q(),focusInputOnSuggestionClick:!g&&e.focusInputOnSuggestionClick,inputProps:{id:e.id,name:e.id,"aria-errormessage":`${e.id}Error`,"aria-label":e.label,placeholder:e.placeholder||pr.getPhrase(BZ,"placeholder"),value:r,onChange:b,onKeyDown:C,autoFocus:!!e.autoFocusInput,highlightOnFocus:e.highlightInputOnFocus,onClickSearchIcon:!!e.submitOnClickSearchIcon&&R,searchIconPlacement:e.searchIconPlacement,showClearInputIcon:!!e.showClearInputIcon&&!!r.length,onClickClearInput:O,formSize:e.size,onBlur:W,onFocus:K,disabled:e.disabled},renderInputComponent:V2e,theme:J2e(e.theme,!!i.generic.length),multiSection:!0,renderSectionTitle:q,getSectionSuggestions:K2e,...e.renderSuggestionsOnInputFocus?{shouldRenderSuggestions:j}:{}})})}var Jse=(e=>(e.Integrations="4407268725529",e.Classrooms="4405362551833",e.MakeInteractive="4405370510873",e.EditSsoAccounts="8202605666073",e.UploadToLibraryEditor="10672936659865",e.AddFromLite="10671345281561",e.ManageSsoYearGroups="14691130889241",e.ContentReview="18525199576601",e.ContentPermissions="14692125209497",e.AccessSettings="27927466562201",e.ContentGuidelines="24133696186009",e.FoxtelFaq="24133519542169",e.ViviIntegration="23826297956377",e.AppleTvIntegration="25832373739929",e.RssFeed="32567445635097",e.ManageGroupPermissions="35407217335705",e.MarcFormatDifferences="48276917260441",e.ExportLibraries="17684275853465",e.StudentSharingGuide="50326395499417",e.Sharing="49512742828953",e))(Jse||{});const r4e="shared.audienceFilterSearch",Vv=pr.encloseNamespace(r4e);function n4e(e){return V.jsxs("div",{className:"pt-2 text-center",children:[V.jsx("p",{className:"m-0",children:V.jsx("strong",{children:Vv("noResults",{query:e.query})})}),!!e.hasClassroomsFeature&&V.jsxs(V.Fragment,{children:[V.jsxs("span",{children:[Vv("noResultsSuggestion")," "]}),V.jsx("a",{href:Dy.getLiteArticle(Jse.Classrooms),target:"_blank",className:"text-info",children:Vv("learnMore")})]})]})}function Zse(e){function t(r){const n=ln.safeUrlConcat(e.gatewayApiUrl,"v1/search/users"),i=["user","classroom","classroom_group"];return ln.urlBuilder(n,{query:r,index:i,[`${p2e.FILTER_PARAM_PREFIX}customerId`]:e.currentUser.customerId,limit:5})}return V.jsx(Qse,{onQueryChange:e.setQuery,getRemoteUrl:t,requestHeaders:{authorization:`Bearer ${e.userToken.value}`},formatRemoteSuggestions:r=>r==null?void 0:r.results,placeholder:Vv(e.limitedFeatureSet||!e.hasClassroomsFeature?"placeholderLimited":"placeholder"),suggestionsHeading:Vv("searchResults"),alwaysRenderSuggestions:!0,resetSuggestionsOnNoActivation:!0,onSuggestionSelected:()=>{},shouldUpdateQueryOnSelection:!1,getSuggestionComponent:r=>{var i;const n=e.isSelected(r);return V.jsx(df,{object:r,selected:n,onToggleSelected:()=>e.onSelect({object:r,selected:!n}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:e.hideCheckbox,isPinned:(i=e.isPinned)==null?void 0:i.call(e,r)})},getEmptyStateComponent:r=>V.jsx(n4e,{query:r,hasClassroomsFeature:e.hasClassroomsFeature}),theme:{container:"",suggestionsContainerOpen:"pt-2",suggestion:"",suggestionHighlighted:"",sectionContainer:""},loadingComponentClassName:"pt-2",searchIconPlacement:"left",autoFocusInput:!0,allowableSuggestionFetchRequestedReasons:["input-changed"],debounceTime:200,showClearInputIcon:!0,resetSuggestionsOnClear:!0,onClickClearInput:()=>e.setQuery("")})}const i4e="_menu_1spvf_1",a4e={menu:i4e},o4e="shared.adminAudienceFilterMenu",eue=pr.encloseNamespace(o4e),s4e=500;function yP(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function u4e(e){const[t,r]=sr.useState([]);return sr.useEffect(()=>{r(yP(t,e))},[e]),[t,r]}function l4e(e){return e.selections.length?V.jsx("ul",{className:"list-unstyled mb-2",children:e.selections.map((t,r)=>V.jsx("li",{children:V.jsx(df,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl})},r))}):V.jsx(V.Fragment,{})}function c4e(e){return e.selections.length?V.jsxs(V.Fragment,{children:[V.jsx("p",{className:"mb-2",children:V.jsx("strong",{children:eue("suggestions")})}),V.jsx("ul",{className:"list-unstyled m-0",children:e.selections.map((t,r)=>V.jsx("li",{children:V.jsx(df,{object:t,selected:e.isSelected(t),onToggleSelected:n=>e.onSelect({object:t,selected:n}),imageCdnUrl:e.imageCdnUrl})},r))})]}):V.jsx(V.Fragment,{})}function f4e(e){const[t,r]=u4e(e.selectedIds),n=Xa.uniq([...e.audienceObjects??[],...t],"id"),i=yP(n,e.selectedIds),a=yP(n,e.suggestedIds),o=a.every(l),s=i.filter(g=>!c(g));function l(g){var S;return(S=e.selectedIds)!=null&&S.length?e.selectedIds.some(E=>E.toString()===g.id.toString()):!1}function c(g){var S;return(S=e.suggestedIds)!=null&&S.length?e.suggestedIds.some(E=>E.toString()===g.id.toString()):!1}function d(){e.onSelect(...a.map(g=>({object:g,selected:!0})))}function h(){e.onSelect()}function v(...g){const S=g.filter(y=>y.selected).map(y=>y.object),E=g.filter(y=>!y.selected).map(y=>y.object.id);r(y=>[...y.filter(w=>!E.includes(w.id)),...S]),e.onSelect(...g)}return V.jsx("div",{className:a4e.menu,children:V.jsx(hp.Scrollbars,{autoHeight:!0,autoHeightMax:s4e,children:V.jsxs("div",{className:"px-3",children:[V.jsx(Zse,{onSelect:v,isSelected:l,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,hasClassroomsFeature:e.hasClassroomsFeature}),(!!i.length||!!a.length)&&V.jsxs(V.Fragment,{children:[V.jsx("button",{className:"btn btn-link text-info p-0 mt-2 mb-1",onClick:o?h:d,children:eue(o?"deselectAll":"selectAll")}),V.jsx(l4e,{selections:s,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl}),V.jsx(c4e,{selections:a,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:l})]})]})})})}const d4e="_menu_1spvf_1",h4e={menu:d4e},v4e="shared.insightsAudienceFilterMenu",Ly=pr.encloseNamespace(v4e),HZ=300;function Zm(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function p4e(e){const[t,r]=sr.useState([]);return sr.useEffect(()=>{r(Zm(t,e))},[e]),[t,r]}function g4e(e){return V.jsxs(V.Fragment,{children:[V.jsx("p",{className:"mb-2 pt-2 px-3",children:V.jsx("strong",{children:Ly("filteredBy")})}),V.jsx("ul",{className:"list-unstyled px-3 mb-2",children:e.selections.map((t,r)=>V.jsx("li",{children:V.jsx(df,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:e.isPinned(t)})},r))})]})}function m4e(e){var t;return V.jsxs(V.Fragment,{children:[V.jsx("p",{className:"mt-2 mb-2",children:V.jsx("strong",{children:Ly("suggested")})}),V.jsxs("ul",{className:"list-unstyled m-0",children:[(t=e.pinned)==null?void 0:t.map((r,n)=>V.jsx("li",{children:V.jsx(df,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:!0})},`pinned-${n}`)),e.selections.map((r,n)=>V.jsx("li",{children:V.jsx(df,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0})},`suggestion-${n}`))]})]})}function y4e(e){const[t,r]=p4e(e.selectedIds),n=Xa.uniq([...e.audienceObjects??[],...t],"id"),i=Zm(n,e.selectedIds),a=Zm(n,e.suggestedIds),o=e.pinnedIds?Zm(n,e.pinnedIds):[],[s,l]=sr.useState("");function c(E){var y;return(y=e.selectedIds)!=null&&y.length?e.selectedIds.some(w=>w.toString()===E.id.toString()):!1}function d(E){var y;return(y=e.pinnedIds)!=null&&y.length?e.pinnedIds.some(w=>w.toString()===E.id.toString()):!1}function h(){e.onSelect()}function v(...E){const y=E.filter(b=>b.selected).map(b=>b.object),w=E.filter(b=>!b.selected).map(b=>b.object.id);r(b=>[...b.filter(A=>!w.includes(A.id)),...y]),e.onSelect(...E)}const g=a.filter(E=>!c(E)),S=o.filter(E=>!c(E));return V.jsxs("div",{className:h4e.menu,children:[V.jsx(hp.Scrollbars,{autoHeight:!0,autoHeightMax:HZ,children:V.jsxs("div",{className:"p-3",children:[V.jsx(Zse,{onSelect:v,isSelected:c,isPinned:d,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,limitedFeatureSet:e.limitedFeatureSet,hasClassroomsFeature:e.hasClassroomsFeature,setQuery:l,hideCheckbox:!0}),s.length<3&&(!!g.length||!!S.length)&&V.jsx(m4e,{selections:g,pinned:S,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:c})]})}),!!i.length&&V.jsxs("div",{className:`${a.length?"border-top":""} pb-2`,children:[V.jsx(hp.Scrollbars,{autoHeight:!0,autoHeightMax:HZ,children:V.jsx(g4e,{selections:i,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,deselectAll:h,isPinned:d})}),V.jsxs("div",{className:"d-flex justify-content-between pb-1",children:[V.jsx("button",{className:"btn btn-link p-0 text-secondary px-3",onClick:h,children:Ly("reset")}),V.jsx("button",{className:"btn btn-link p-0 text-info px-3",onClick:e.onClickApply,children:Ly("apply")})]})]})]})}const _4e="_menu_1spvf_1",S4e={menu:_4e},E4e="shared.teacherAudienceFilterMenu",w4e=pr.encloseNamespace(E4e),b4e=500;function T4e(e){function t(a){var o;return(o=e.selectedIds)!=null&&o.length?e.selectedIds.some(s=>s==a.id):!1}function r(){e.onSelect(...e.classrooms.map(a=>({object:a,selected:!0})))}function n(){e.onSelect()}const i=e.classrooms.every(t);return V.jsxs("div",{className:S4e.menu,children:[V.jsx("div",{className:"px-3",children:V.jsx("button",{className:"btn btn-link text-info p-0 mb-1",onClick:i?n:r,children:w4e(i?"deselectAll":"selectAll")})}),V.jsx(hp.Scrollbars,{autoHeight:!0,autoHeightMax:b4e,children:V.jsx("div",{className:"px-3",children:V.jsx("ul",{className:"list-unstyled mb-0",children:e.classrooms.map((a,o)=>V.jsx("li",{children:V.jsx(df,{object:a,selected:t(a),onToggleSelected:s=>e.onSelect({object:a,selected:s}),imageCdnUrl:e.imageCdnUrl})},o))})})})]})}function zZ(e){const t=Xa.chunk(e??[],25),r=Vbe(t.map(i=>zi.getById(i)));return{users:Xa.flatten(r.data),isLoading:!r.hasCompleted,usersResponse:r}}U_.Ok;function R4e(e,t,r){function n(o){if(o)return gi.isFunction(t)?[...t(o)]:[...o.data]}function i(o){var s,l;if(o)return(l=(s=o.pagination)==null?void 0:s.cursors)==null?void 0:l.next}function a(o){if(o)return o==null?void 0:o.count}return X_(pe.useMemo(()=>o=>{if(!gi.isFunction(e))return;const s=e,l=gi.isFunction(e)&&s();let c=l&&gy(o,l),d=c&&c.isFetching,h=c&&c.statusCode,v=c&&c.hasCompleted;const g=v,S=c&&c.shouldFetch,E=n(c&&c.data);let y=i(c&&c.data);const w=a(c&&c.data);for(;y&&(c=gy(o,s(y)),d=d||c.isFetching,h=c.statusCode,v=c.hasCompleted,!c.shouldFetch);){const A=n(c.data);A&&E.push(...A);const R=i(c.data);R===y?y=null:y=R}const b={shouldInitialFetch:S,items:E,nextCursor:y,isFetching:d,statusCode:h,hasCompleted:v,hasFirstPageCompleted:g};return typeof w=="number"&&(b.totalItems=w),b},[e]))}function tue(e,t){const r=e,n=t,i=R4e(e&&(a=>r(a).key));return pe.useEffect(()=>{i&&i.shouldInitialFetch&&t&&n()},[i==null?void 0:i.shouldInitialFetch,t]),pe.useEffect(()=>{!i||!i.nextCursor||i.isFetching||!t||n(i.nextCursor)},[i==null?void 0:i.nextCursor,i==null?void 0:i.isFetching,t]),i}var rue=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Primary=1]="Primary",e[e.Secondary=2]="Secondary",e[e.K12=3]="K12",e[e.Tertiary=4]="Tertiary",e[e.NonEducational=5]="NonEducational",e[e.Partners=6]="Partners",e[e.Internal=7]="Internal",e[e.Other=8]="Other",e[e.ClickView=254]="ClickView",e[e.System=255]="System",e))(rue||{});function uN(){var r,n;const e=Ii(zi.currentUser());return((n=Ii(!!((r=e.data)!=null&&r.isAuthenticated)&&hae.customer(e.data.customerId)).data)==null?void 0:n.customerType)===rue.Tertiary}const x4e="reports.audienceFilter",mu=pr.encloseNamespace(x4e);function C4e(){var c,d;const[e]=wa(po.AUDIENCE_QUERY_PARAMS,{}),[t]=wa(po.AUDIENCE_FILTER_SUGGESTIONS,{}),{users:r}=zZ(e.users),{users:n}=zZ(t.users),i=Ii(((c=e.classrooms)==null?void 0:c.length)&&lf.getClassroomsById(e.classrooms)),a=Ii(((d=e.classroomGroups)==null?void 0:d.length)&&lf.getClassroomGroupsById(e.classroomGroups)),o=Xa.uniq([...r??[],...n??[]],"id"),s=i.data??[],l=a.data??[];return[...o,...s,...l]}function A4e(e,t){if(!e.length)return{users:null,classrooms:null,classroomGroups:null};let r={...t};return e.forEach(n=>{let i;switch(n.object.typeId){case qn.User:i="users";break;case qn.Classroom:i="classrooms";break;case qn.ClassroomGroup:i="classroomGroups";break}const a=n.object.id.toString();let o=r[i]??[];n.selected?o.push(a):o=o.filter(s=>s.toString()!==a),r={...r,[i]:Xa.uniq(o)}}),r}function mv(e){const t=[];return Object.keys(e).forEach(r=>{e[r]&&t.push(...e[r])}),t}function O4e(){const[e]=wa(po.AUDIENCE_QUERY_PARAMS,{}),[t,r]=pe.useState(Ui.deepClone(e));pe.useEffect(()=>{Ui.isEqual(t,e)||r(Ui.deepClone(e))},[e]);function n(...i){r(A4e(i,t))}return[t,n]}function I4e(e){const[t]=wa(po.AUDIENCE_QUERY_PARAMS,{}),[r]=wa(po.AUDIENCE_FILTER_SELECTED_COUNT),n=Xa.uniq(t.classrooms??[]),i=Xa.uniq(t.classroomGroups??[]),a=Xa.uniq(t.users??[]),o=!!n.length&&i.length===0&&a.length===0,s=!!i.length&&n.length===0&&a.length===0,l=!!a.length&&n.length===0&&i.length===0,c=!n.length&&!i.length&&!a.length,d=o&&n.length===1,h=s&&i.length===1,v=Ii(d&&lf.classroom(n[0])),g=Ii(h&&lf.classroomGroup(i[0])),S=uN();if(c)return mu(e?S?"everyoneInstitution":"everyoneSchool":"everyone");if(d){if(!v.data)return;if(v.data.typeId===qn.Classroom)return v.data.name}if(h){if(!g.data)return;if(g.data.typeId===qn.ClassroomGroup)return g.data.name}if(o)return mu("classrooms",{smartCount:n.length});if(s)return mu("groups",{smartCount:i.length});if(l)return mu("users",{smartCount:a.length});if(typeof r=="number")return mu("users",{smartCount:r});if(!e)return;const E=[];n.length&&E.push(mu("classrooms",{smartCount:n.length})),i.length&&E.push(mu("groups",{smartCount:i.length})),a.length&&E.push(mu("users",{smartCount:a.length}));const y=E.pop();return`${E.join(", ")} ${mu("and")} ${y}`}function P4e(){const e=Lf(),{hasPermissions:t}=_c(),n=!t(ka.ViewCustomerAnalytics);function i(o){return lf.userClassrooms(o)}function a(o){Z_(e)(i(o))}return tue(n&&i,a)}const D4e="_toggle_1any3_1",k4e={toggle:D4e};function N4e(e){const[t]=wa(po.AUDIENCE_QUERY_PARAMS,{}),[r,n]=O4e(),[i]=wa(po.AUDIENCE_FILTER_SUGGESTIONS,{}),{hasPermissions:a}=_c(),{hasClassrooms:o,hasShareFlowV2:s}=eg(null),l=a(ka.ViewCustomerAnalytics),c=s&&a(ka.ViewMyShares),d=C4e(),h=P4e(),v=Ii(sf.config()),g=Ii(l&&zi.token()),S=Ii(l&&zi.currentUser()),E=I4e(c),[y,w]=sr.useState(!1);function b(){R(),w(!1)}function A(D){w(D),!D&&R()}function R(){var D,k,q;Uv.updateParams(Ui.deepClone(r),{merge:!0}),Ea.logUserAction({users:((D=r==null?void 0:r.users)==null?void 0:D.length)??0,classrooms:((k=r==null?void 0:r.classrooms)==null?void 0:k.length)??0,classroomGroups:((q=r==null?void 0:r.classroomGroups)==null?void 0:q.length)??0},{actionType:jt.Filter,descriptor:lk.Audience,location:Pa.AudienceFilter,entity:En.Filter})}function C(){var D;return l?!1:!((D=h.items)!=null&&D.length)}const O=l?!!v.data&&!!g.data&&!!S.data:!!v.data&&h.hasCompleted;if(C())return V.jsx(V.Fragment,{});const m=s&&Object.values(t).some(D=>Array.isArray(D)&&D.length>0);return V.jsxs(Qi,{className:e.className??"",onToggle:A,show:y,children:[V.jsx(Qi.Toggle,{id:"audience-filter-toggle",variant:"outline-dark",className:`no-caret ${k4e.toggle} ${m?"bg-dark text-white":""}`,children:E}),V.jsx(Qi.Menu,{className:c?"py-0":"py-2",align:"end",children:c?V.jsx(y4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:mv(r),suggestedIds:mv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:S.data,hasClassroomsFeature:o,onClickApply:b}):V.jsxs(V.Fragment,{children:[l&&O&&V.jsx(f4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:mv(r),suggestedIds:mv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:S.data,hasClassroomsFeature:o}),!l&&O&&V.jsx(T4e,{classrooms:h.items,selectedIds:mv(r),onSelect:n,imageCdnUrl:v.data.imageCdnUrl})]})})]})}var _P=(e=>(e.Screenrights="screenrights",e.Era="era",e.ClickView="clickview",e))(_P||{}),Jl=(e=>(e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived",e[e.Pending=3]="Pending",e[e.Rejected=4]="Rejected",e[e.Processing=5]="Processing",e))(Jl||{}),Mo=(e=>(e.Custom="custom",e.User="year_group",e))(Mo||{});const Ji={VIDEO_COLLECTION:"(videoCollection)",SERIES:"tallposter,_rating,banner",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",CLASSIFICATION:e=>`banner,cover,tallPoster,thumbnail,followers{id:${e}},pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}`,VIDEO:"channel,series,season,_rating,producers,glance,distributors,owner,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,_canUpdate,_videoProgress,_canBeConsumed,categories[libraries],libraries,_canAddToLibrary,_restrictions,_canDownload,_isClickViewCurated,contentLicences,_canCreateChild",PLAYLIST:"cover,banner,owner,followers[count()]{limit:0}",PLAYLIST_COLLECTION:"videos[count()]{limit:0},interactives[count()]{limit:0},clips[count()]{limit:0},cover",CLIP:"(clip)",CLIP_COLLECTION:"(clipCollection)",INTERACTIVE:"(interactive)",INTERACTIVE_COLLECTION:"(interactiveCollection)",LIBRARY_COLLECTION:"owner[logo]",LIBRARY:"owner[logo],categorytree"},L4e={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,_rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,_rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"};var eh=(e=>(e[e.FilterOut=0]="FilterOut",e[e.StripMetadata=1]="StripMetadata",e))(eh||{});const WZ={clip(e,t){return{key:`clip:${e}:${t}`,url:ln.urlBuilder(`{gateway}/v1/objects/${e}`,{query:Ji.CLIP,permissionFilterOption:t})}},videoClips(e,t,r){return{key:`video:${e}:clips:${t}:${r}`,url:ln.urlBuilder(`{gateway}/v1/objects/${e}/clips`,{query:Ji.CLIP_COLLECTION,permissionFilterOption:t,cursor:r})}},clipWithAllInteractives(e,t){return{key:`clip:${e}:${t}:interactives`,url:ln.urlBuilder(`{gateway}/v1/objects/${e}`,{query:`${Ji.CLIP},interactives{status:[0,1]}`,permissionFilterOption:t}),normalize:!1}},publicClip(e,t,r,n){return{key:`clip:${e}:public:${t}`,url:ln.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo,_canBeConsumed,_thumbnail",permissionFilterOption:eh.StripMetadata,shareId:t}),bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedClip(e,t,r,n){return{key:`shared:clip:${e}`,url:ln.urlBuilder(`/api/objects/${e}`,{shareId:t,query:Ji.CLIP}),success:r,error:n}},createClip(e,t,r,n,i){return{key:"create:clip",url:`{gateway}/v1/objects/${e}/clips`,data:t,type:dn.POST,invalidationKeys:[`videos:${e}`,"my:videos"],success:r,error:n,always:i}},updateClip(e,t,r,n,i){return{key:"update:clip",url:`{gateway}/v1/objects/${e}`,data:t,type:dn.PUT,success:r,error:n,always:i}},deleteClip(e,t,r,n,i){return{key:"delete:clip",url:`{gateway}/v1/objects/${e}`,type:dn.DELETE,invalidationKeys:[`videos:${t}`,"my:videos","videos"],success:r,error:n,always:i}}},GZ={interactiveMetadata(e,t){return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}`,{query:Ji.INTERACTIVE,permissionFilterOption:t}),key:`interactive:metadata:${e}:${t}`}},videoInteractives(e,t,r){return{key:`video:${e}:interactives:${t}:${r}`,url:ln.urlBuilder(`{gateway}/v1/objects/${e}/interactives`,{query:Ji.INTERACTIVE_COLLECTION,cursor:r}),publicUrl:ln.urlBuilder(`/api/objects/${e}/interactives`,{query:Ji.INTERACTIVE_COLLECTION,cursor:r})}},sharedInteractiveMetadata(e,t,r,n){return{url:ln.urlBuilder(`/api/objects/${e}`,{shareId:t,query:Ji.INTERACTIVE}),key:`shared:interactive:metadata:${e}`,success:r,error:n}},publicInteractiveMetadata(e,t,r,n){return{url:ln.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo[_rating],_canBeConsumed,_thumbnail",permissionFilterOption:eh.StripMetadata,shareId:t}),key:`interactive:metadata:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},interactive(e){return{url:`/api/domain/v1/interactives/${e}`,key:`interactive:${e}`,normalize:!1}},createInteractive(e,t,r){return{url:"/api/domain/v1/interactives",key:"create:interactive",type:dn.POST,invalidationKeys:["my:videos"],data:e,success:t,error:r}},createInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}/interactives`,key:"create:interactive:metadata",type:dn.POST,data:t,success:r,error:n}},updateInteractive(e,t,r,n){return{url:`/api/domain/v1/interactives/${e}`,key:"update:interactive",type:dn.PUT,data:t,success:r,error:n,formatData:()=>t,invalidationKeys:[`interactive:${e}`]}},updateInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}`,key:"update:interactive:metadata",type:dn.PUT,data:t,success:r,error:n}},interactiveResultSet(e,t){return{url:`/api/domain/v1/analytics/interactives/${e}/metadata/${t}`,key:`interactive:result:set:${e}:${t}`}},copyInteractive(e,t,r){return{url:`/api/domain/v1/interactives/${e}/copy`,key:"copy:interactive",type:dn.POST,invalidationKeys:[`interactive:${e}`,"my:videos"],success:t,error:r}},deleteInteractiveMetadata(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:"delete:interactive",type:dn.DELETE,invalidationKeys:[`interactive:${e}`,"my:videos","videos"],success:t,error:r}},removeInteractiveMetadata({libraryId:e,categoryId:t,interactiveMetadataId:r}){return{url:ln.urlBuilder(`/api/domain/v1/libraries/${e}/videos`,{categoryId:t,videoIds:r}),key:`remove:interactive:metadata:${r}`,type:dn.DELETE,invalidationKeys:[`interactive:${r}`,"my:videos","videos"]}},contributeToCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:dn.POST}},revokefromCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:dn.DELETE}},isContributed(e){return{url:`/api/domain/v2/interactives/${e}/contributed`,key:`iscontributed:${e}`,normalize:!1}},updateInteraction(e){return{url:`/api/domain/v1/interactions/bulk/${e.id}`,key:"contribute:interactive",data:e,type:dn.PUT,invalidationKeys:[`interactive:${e.interactiveId}`]}}};var nue=(e=>(e.Series="series",e.Playlist="playlist",e.Widget="widget",e.Folder="category",e.CategoryTree="categoryTree",e))(nue||{}),Ks=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(Ks||{});const M4e=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,$4e=Ks.RecentlyAdded,F4e={getValidSortTypeFromParam(e){return Object.values(Ks).includes(e)?e:Ks.Newest},getOrSetSortType(e,t,r,n){const i=M4e(e,n);return(t||!da.cacheExists(i))&&da.cacheSet(i,t||r||$4e),t||(t=da.cacheGet(i)),t},getVideoSortParam(e){switch(e){case Ks.AtoZ:return"orderby:name";case Ks.ZtoA:return"orderbydesc:name";case Ks.Newest:return"orderbydesc:datecreated";case Ks.Oldest:return"orderby:datecreated";case Ks.RecentlyAdded:return"orderbydesc:timestamp";case Ks.Series:return"orderby:seriessort";case Ks.ProductionYear:return"orderbydesc:productionyear";default:return}}},yv={sharedVideo:(e,t)=>ln.urlBuilder(`/api/objects/${e}`,{shareId:t,query:Ji.VIDEO}),publicVideo:(e,t)=>ln.urlBuilder(`/api/objects/${e}`,{query:"thumbnail,_canBeConsumed,series,season,_rating,libraries{typeId:[17]}",permissionFilterOption:eh.StripMetadata,shareId:t}),getVideosById:e=>ln.urlBuilder("{gateway}/v1/objects",{"query.video":Ji.VIDEO_COLLECTION,"query.clip":Ji.CLIP_COLLECTION,"query.interactive":Ji.INTERACTIVE_COLLECTION,id:e}),relatedVideos:e=>{const{videoId:t,context:r,collectionId:n,moviesAndTv:i,limit:a}=e,o={videoId:t,limit:a,query:Ji.VIDEO_COLLECTION};return r&&(r===nue.Widget?o["context.widgetId"]=n:(o["context.collectionType"]=r,o["context.collectionId"]=n)),i&&(o["context.moviesAndTv"]=!0),ln.urlBuilder("{gateway}/v1/suggestions/related-videos",o)}},YZ={video(e,t){return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}`,{query:Ji.VIDEO,permissionFilterOption:t}),publicUrl:ln.urlBuilder(`/api/objects/${e}`,{query:L4e.VIDEO,permissionFilterOption:t}),key:`videos:${e}:${t}`}},publicVideo(e,t,r,n){return{url:yv.publicVideo(e,t),key:`videos:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedVideo(e,t,r,n){return{url:yv.sharedVideo(e,t),key:`shared:video:${e}`,success:r,error:n}},myVideos(e,t){const{VIDEO_COLLECTION:r,CLIP_COLLECTION:n,INTERACTIVE:i}=Ji,a=`videos[${r}]{libraries.typeid:${qn.WorkspaceCollection}}`,o=`clips[${n}]`,s=`interactives[${i}]{status:[${Jl.Published},${Jl.Draft}]}`,l={query:`(${a}|${o}|${s}){orderbydesc:id}`,permissionFilterOption:eh.StripMetadata};return t&&(l.cursor=t),{url:ln.urlBuilder(`{gateway}/v1/objects/${e}/members`,l),key:`my:videos:${t}`}},videos(e,t){return{url:yv.getVideosById(e),key:`videos:by:id:${e.join(",")}`,success:t}},watchHistoryVideos(e,t){return{url:yv.getVideosById(e),key:`watch:history:videos:by:id:${e.join(",")}`,success:t}},updateVideo(e,t,r,n,i){return{key:`update:video:${e}`,url:`{gateway}/v1/objects/${e}`,type:dn.PUT,data:t,success:r,error:n,always:i}},videoRatings(e,t){const r=e.map(n=>`id=${n}`);if(r.length)return{url:`/api/domain/v2/objects?query=rating&${r.join("&")}`,key:`video:ratings:by:id:${e.join(",")}`,normalizeOptions:{namespace:t}}},videoMixinAssocs(e,t){if(e.map(n=>`id=${n}`).length)return{url:ln.urlBuilder("{gateway}/v1/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),publicUrl:ln.urlBuilder("/api/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),key:`video:mixin:assocs:${e.join(",")}`,normalizeOptions:{namespace:t}}},getRestrictions(e){const t=e.slice().sort();return{url:`/api/domain/v1/restrictedobjects?objectTypeId=${qn.Video}${t.map(r=>`&objectId=${r}`).join("")}`,key:`restrictions:${t.join(",")}`,normalizeOptions:{namespace:"domain",idAttribute:"objectId"}}},delete(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:`delete:video:${e}`,type:dn.DELETE,success:t,error:r,invalidationKeys:["videos","search"]}},deleteBulk(e,t,r,n,i){const a=e.map(s=>`videoIds=${s}`).join("&"),o=[`categoryId=${r}`,`${a}`].join("&");return{url:`/api/domain/v1/libraries/${t}/videos?${o}`,key:`delete:bulk:video:${e.join(":")}:${t}:${r}`,type:dn.DELETE,success:n,error:i,invalidationKeys:["videos","search"]}},relatedVideos(e){const{videoId:t,context:r,collectionId:n,moviesAndTv:i}=e;return{url:yv.relatedVideos(e),key:`related:videos:${t}:${r}:${n}:${i}`}},collectionVideos(e,t,r,n,i,a){const o=F4e.getVideoSortParam(t),{VIDEO_COLLECTION:s,CLIP_COLLECTION:l,INTERACTIVE:c}=Ji,d=`videos[${s}]`,h=`clips[${l}]`,v=`interactives[${c}]{status:[${Jl.Published},${Jl.Draft}]}`,g={query:`(${d}|${h}|${v})${o?`{${o}}`:""}`,permissionFilterOption:eh.FilterOut,...r?{cursor:r}:{}},S=["folder","videos",e,r,t].filter(E=>!!E).join(":");return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}/members`,g),key:S,success:n,error:i,always:a}},pointsOfInterest(e,t,r,n,i){const a={query:"{limit:100}",cursor:t};return{url:ln.urlBuilder(`{gateway}/v1/objects/${e}/pointsofinterest`,a),publicUrl:ln.urlBuilder(`/api/objects/${e}/pointsofinterest`,a),key:`pointsofinterest:${e}${t?`:${t}`:""}`,success:r,error:n,always:i}},regionAlternatives(e,t,r,n){return{url:`/api/objects/videos/${e}/region-alternatives`,publicUrl:`/api/objects/videos/${e}/region-alternatives`,key:`video:regionAlternatives:${e}`,normalize:!1,success:t,error:r,always:n}}},j4e="_minHeight_t8ykr_1",U4e="_restrictionBadgeCustom_t8ykr_4",q4e="_restrictionBadgeUser_t8ykr_8",V4e="_streamable_t8ykr_12",KZ={minHeight:j4e,restrictionBadgeCustom:U4e,restrictionBadgeUser:q4e,streamable:V4e};function iue(e){return V.jsx("svg",{...e,children:V.jsx("path",{d:"M9.006 10h6.028c.006-.32.01-.641.002-.974-.016-.663-.077-1.28-.243-1.808-.164-.52-.424-.934-.83-1.223-.407-.292-1.015-.495-1.943-.495s-1.536.203-1.944.495c-.405.29-.665.703-.83 1.223-.166.528-.227 1.145-.242 1.808-.008.333-.004.655.002.974m7.028 0H17a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1.006c-.006-.33-.01-.67-.002-.997.016-.696.08-1.424.289-2.085.21-.67.576-1.29 1.202-1.737.623-.445 1.453-.681 2.525-.681s1.902.236 2.525.681c.626.447.99 1.068 1.202 1.737.208.661.272 1.389.288 2.085.008.326.005.667 0 .997m-1.014 1H7v8h10v-8h-1.98",fill:"currentColor"})})}function B4e(e){return V.jsxs("svg",{...e,children:[V.jsx("defs",{children:V.jsx("path",{id:"a",d:"M12 19.059A7.059 7.059 0 1 0 12 4.94a7.059 7.059 0 0 0 0 14.118M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.229 2.743a.457.457 0 0 0-.457.457v5.486c0 .147.071.286.191.372l3.174 2.27a.457.457 0 1 0 .532-.744l-2.982-2.133V7.2a.457.457 0 0 0-.458-.457",fill:"currentColor"})}),V.jsxs("g",{fill:"none",fillRule:"evenodd",children:[V.jsx("mask",{id:"b",fill:"#fff",children:V.jsx("use",{href:"#a"})}),V.jsx("use",{fill:"#000",fillRule:"nonzero",href:"#a"}),V.jsx("g",{fill:"#383838",mask:"url(#b)",children:V.jsx("path",{d:"M0 0h24v24H0z",fill:"currentColor"})})]})]})}const H4e="shared.shared-utils",_v=pr.encloseNamespace(H4e),z4e={[Mo.Custom]:KZ.restrictionBadgeCustom,[Mo.User]:KZ.restrictionBadgeUser},W4e={[Mo.Custom]:B4e,[Mo.User]:iue},G4e={[Mo.Custom]:"restrictionCustom",[Mo.User]:"restrictionYearGroup"},XZ={[Mo.Custom]:200,[Mo.User]:100},zl={mapRestrictionToClass(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return"";const t=zl.getWeightedRestriction(e.value);return z4e[t.type]},mapRestrictionToSvg(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return iue;const t=zl.getWeightedRestriction(e.value);return W4e[t.type]},mapRestrictionToText(e,t){var a;if(!((a=e==null?void 0:e.value)!=null&&a.length)||!(t!=null&&t.length))return"";const r=zl.getWeightedRestriction(e.value),n=t.find(o=>o.value===r.yearGroup),i=G4e[r.type];if(r.type===Mo.User)return r.yearGroup===null?_v("restrictionStaff"):n?t.length===1?_v("restrictionStudents"):_v(i,{yearGroup:n.name}):"";if(r.type===Mo.Custom){const o=zl.getRestrictionDuration(r);return o?_v(i,{duration:o,smartCount:o}):_v("restrictionCustomLessThanDay",{duration:o,smartCount:1})}return""},getWeightedRestriction(e,t="highest"){if(e!=null&&e.length)return e.length===1?e[0]:e.reduce((r,n)=>{const i=XZ[r.type],a=XZ[n.type];return t==="highest"&&i>a||t==="lowest"&&i<a?r:n})},getRestrictionByType(e,t){if(!zl.hasRestrictions(e))return null;const r=Array.isArray(t)?t:[t],n=e._restrictions.value.filter(i=>r.includes(i.type));return zl.getWeightedRestriction(n)},getRestrictionDuration(e){if(e.type!==Mo.Custom||!e.expiresOn)return;const t=wn.convertUTCToLocal(e.expiresOn);if(t)return wn.diffBetween(t,new Date,"day")},hasCustomRestriction(e){return!!zl.getRestrictionByType(e,[Mo.Custom])},hasRestrictions(e){var t,r;return!!((r=(t=e==null?void 0:e._restrictions)==null?void 0:t.value)!=null&&r.length)}},Y4e="shared.shared-utils",Ca=pr.encloseNamespace(Y4e),sn={isVideo(e){return(e==null?void 0:e.typeId)===qn.Video},isClip(e){return(e==null?void 0:e.typeId)===qn.Clip},isInteractive(e){return(e==null?void 0:e.typeId)===qn.Interactive},isVideoTypeArchived(e){return(e==null?void 0:e.status)===Jl.Archived},isVideoType(e){return sn.isVideo(e)||sn.isInteractive(e)||sn.isClip(e)},hasSeries(e){var t;return!!((t=e==null?void 0:e.series)!=null&&t.id)},showVideoGuidance(e){return!e(ka.StudentExperience)},showInteractivesGuidance(e){var r,n;return!e||sn.isInteractive(e)?!1:!!(((n=(r=e.interactives)==null?void 0:r.data)==null?void 0:n.length)||0)},showResourcesGuidance(e){var r,n,i,a;return!e||sn.isInteractive(e)?!1:!!((((n=(r=e.resources)==null?void 0:r.data)==null?void 0:n.length)||0)+(((a=(i=e.links)==null?void 0:i.data)==null?void 0:a.length)||0))},getVideoProgress(e){var t,r;return e!=null&&e.lastProgressPoint?e==null?void 0:e.lastProgressPoint:(t=e==null?void 0:e._videoProgress)!=null&&t.progress?(r=e==null?void 0:e._videoProgress)==null?void 0:r.progress:0},getThumbnail(e){var t,r,n;if(!e)return null;if(sn.isVideo(e))return e.thumbnail;if(e!=null&&e._thumbnail)return e._thumbnail;if(sn.isClip(e))return e.thumbnail||((t=e._parentVideo)==null?void 0:t.thumbnail);if(sn.isInteractive(e))return((r=e._parentVideo)==null?void 0:r.thumbnail)||((n=e._parentClip)==null?void 0:n.thumbnail)},getDuration(e){var t,r;if(e){if(sn.isVideo(e))return e.duration;if(sn.isInteractive(e)){if((t=e._parentClip)!=null&&t.id)return(e._parentClip.endTime-e._parentClip.startTime)*1e3;if((r=e._parentVideo)!=null&&r.duration)return e._parentVideo.duration}if(sn.isClip(e))return(e.endTime-e.startTime)*1e3}},getAnalyticsEntity(e){if(sn.isVideo(e))return En.Video;if(sn.isInteractive(e))return En.Interactive;if(sn.isClip(e))return En.Clip},getAnalyticsData(e,t={}){var n,i,a,o,s,l;if(sn.isVideo(e))return{...t||{},id:e.id,name:e.name};if(sn.isClip(e)){const c={...t||{},id:e.id,name:e.name};return(n=e._parentVideo)!=null&&n.id&&(c.video={id:(i=e._parentVideo)==null?void 0:i.id,name:e._parentVideo.name}),c}const r={...t,id:e.id,interactiveId:e.interactiveId,name:e.name,status:e.status,originType:e.originType};return(a=e==null?void 0:e._parentClip)!=null&&a.id&&(r.clip={id:(o=e==null?void 0:e._parentClip)==null?void 0:o.id,name:e==null?void 0:e._parentClip.name}),(s=e==null?void 0:e._parentVideo)!=null&&s.id&&(r.video={id:(l=e==null?void 0:e._parentVideo)==null?void 0:l.id,name:e==null?void 0:e._parentVideo.name}),r},getCanBeConsumed(e){var t,r;return!e||!sn.isVideoType(e)?{canNavigate:!1,canConsume:!1}:e._canBeConsumed?{canNavigate:((t=e._canBeConsumed)==null?void 0:t.reason)==="login-required"&&sn.isVideo(e)||e._canBeConsumed.value===!0,canConsume:e._canBeConsumed.value,reason:(r=e._canBeConsumed)==null?void 0:r.reason}:{canNavigate:!0,canConsume:!0}},getPrivacyReasoning(e,t=!1){var s;const{canConsume:r,canNavigate:n,reason:i}=sn.getCanBeConsumed(e),a=()=>sn.isClip(e)?Ca("clipParentDeleted"):sn.isInteractive(e)?Ca("interactiveParentDeleted"):Ca("videoDeleted"),o=()=>sn.isClip(e)?Ca("clipLoginRequired"):sn.isInteractive(e)?Ca("interactiveLoginRequired"):Ca("videoLoginRequired");if(!r&&!n){if(t)return o();switch(i){case"rating-not-allowed":return Ca("ratingNotAllowed");case"video-deleted":return a();case"clickview-private":return Ca("clickViewPrivate");case"private":return Ca("genericCannotAccess");case"login-required":return o();case"restricted-access":{const l=zl.getWeightedRestriction((s=e._restrictions)==null?void 0:s.value);return(l==null?void 0:l.type)===Mo.Custom?Ca("awaitingApproval"):Ca("restrictedAccess")}default:return Ca("genericCannotAccess")}}return sn.isInteractive(e)&&e.status===Jl.Draft?Ca("draftInteractive"):""},getTitle(e){if(e.name)return sn.isInteractive(e)&&e.status===Jl.Draft?Ca("draftInteractiveTitle",{name:e.name}):e.name;const{canConsume:t,reason:r}=sn.getCanBeConsumed(e);return Ca(!t&&r==="private"?"privateVideo":!t&&r==="video-deleted"?"videoUnavailable":"privateVideo")},getParentVideo(e){if(sn.isVideo(e))return e;if(sn.isClip(e)||sn.isInteractive(e))return e._parentVideo},getRating(e){var t,r,n;return sn.isVideo(e)?((t=e._rating)==null?void 0:t.value)||e.rating:(n=(r=e==null?void 0:e._parentVideo)==null?void 0:r._rating)==null?void 0:n.value},getVideoRequest(e,t,r){if(r){switch(t){case qn.Video:return YZ.sharedVideo(e,r);case qn.Clip:return WZ.sharedClip(e,r);case qn.Interactive:return GZ.sharedInteractiveMetadata(e,r)}vr.throw(new xn("Unsupported master type"))}switch(t){case qn.Video:return YZ.video(e);case qn.Clip:return WZ.clip(e);case qn.Interactive:return GZ.interactiveMetadata(e)}vr.throw(new xn("Unsupported master type"))},isBroadcast(e){var t,r;return!!((r=(t=e==null?void 0:e.contentLicences)==null?void 0:t.data)!=null&&r.some(n=>n.systemName===_P.Era||n.systemName===_P.Screenrights))},getReleaseDate(e){return e&&e.dateReleased&&sn.isBroadcast(e)?wn.format(e.dateReleased,"DD/MM/YYYY"):""},canViewOriginalVideo(e){var t,r;return!!((r=(t=e==null?void 0:e._parentVideo)==null?void 0:t._canBeConsumed)!=null&&r.value)},getTrackingCode(e){if(sn.isVideo(e))return e.trackingCode;if(sn.isClip(e)||sn.isInteractive(e))return e._parentVideo.trackingCode},isInExchange(e){var t,r;return!!((r=(t=e==null?void 0:e.libraries)==null?void 0:t.data)!=null&&r.some(n=>n.typeId===qn.ExchangeCollection))},canViewUploadDate(e){return!(!e||!e.dateCreated||!e._isClickViewCurated||e._isClickViewCurated.value)}};function Xl(e,t){return Object.keys(t).map(r=>({application:e,action:t[r]}))}function j5e(e,t){if(sn.isVideo(e))return{application:dr.VIDEOS,action:Zr.Videos.OVERVIEW,args:[e.id],params:t};if(sn.isInteractive(e))return{application:dr.INTERACTIVES,action:Zr.Interactives.OVERVIEW,args:[e.id],params:t};if(sn.isClip(e))return{application:dr.CLIPS,action:Zr.Clips.OVERVIEW,args:[e.id],params:t}}function U5e(e,t){if(sn.isVideo(e))return{application:dr.VIDEOS,action:Zr.Videos.VIDEO_VIEWS,args:[e.id],params:t};if(sn.isInteractive(e))return{application:dr.VIDEOS,action:Zr.Videos.INTERACTIVE_VIEWS,args:[e.id],params:t};if(sn.isClip(e))return{application:dr.VIDEOS,action:Zr.Videos.CLIP_VIEWS,args:[e.id],params:t}}const K4e=[Zr.Default.SHARE,Zr.Default.GENERATE_REPORT],X4e=[...Xl(dr.DEFAULT,Zr.Default).filter(e=>!K4e.includes(e.action))];function Q4e(){const e=Kn.getCurrentAppLink();return!X4e.some(t=>t.application===e.application&&t.action===e.action)}const J4e={signOut:{application:dr.DEFAULT,action:Zr.Default.LOG_OUT}},Z4e="_container_7vmq3_1",eUe="_title_7vmq3_4",QZ={container:Z4e,title:eUe};function tUe(e){const[t]=wa(po.HEADER_TITLE),[r]=wa(po.DATE_RANGE_QUERY_PARAMS,{}),[n]=wa(po.HEADER_ACTIONS,[]),i=Q4e();let a="navbar w-100 pt-3 pe-0 d-flex justify-content-between";return e.className&&(a+=` ${e.className}`),V.jsx("nav",{className:a,children:V.jsxs("div",{className:`${QZ.container} px-3 mb-3 ${e.containerFluid?"container-fluid":"container"}`,children:[V.jsx("div",{className:QZ.title,children:!!t&&V.jsx("h1",{className:"mb-1",children:t})}),i&&V.jsxs(V.Fragment,{children:[V.jsx(N4e,{className:"me-2"}),V.jsx(c3e,{dateRangeQueryParams:r,dateRangePresets:xy()})]}),V.jsx(aN,{actions:n,dropdownToggleClassName:"btn btn-outline-dark px-1 ms-2"}),V.jsx("span",{className:"ms-2",children:V.jsx($3e,{productId:No.Analytics,appLinks:J4e})})]})})}var Vd=(e=>(e[e.Open=0]="Open",e[e.Collapsed=1]="Collapsed",e[e.Hidden=2]="Hidden",e))(Vd||{});const Em={[ci.Thumbnails]:{width:1280,height:720},[ci.Banners]:{width:1200,height:222},[ci.Covers]:{width:512,height:512},[ci.Posters]:{width:1e3,height:1500},[ci.TallPosters]:{width:1080,height:1920},[ci.HeroBanners]:{width:1920,height:640},[ci.None]:{width:1,height:1},[ci.Avatars]:{width:256,height:256},[ci.Logos]:{width:128,height:128}},SP={onFileSelect(e,t,r,n){if(!t||!t.length)return;if(t.length>1){alert("Please only select one file");return}const i=t[0];if(!i.type.startsWith("image/")){alert("Please select an image file");return}const a=new FileReader;a.addEventListener("load",()=>SP.onReaderLoad(a,e,r,n)),a.readAsDataURL(i)},onReaderLoad(e,t,r,n){const i=new Image;i.src=e.result;const a=(n==null?void 0:n.width)??Em[t].width,o=(n==null?void 0:n.height)??Em[t].height;i.addEventListener("load",()=>{SP.isImageValid(t,i,n)&&gi.isFunction(r)?r(i):alert(`Image too small: minimum dimensions are ${a} x ${o}`)})},isImageValid(e,t,r){const n=(r==null?void 0:r.width)??Em[e].width,i=(r==null?void 0:r.height)??Em[e].height;return!(n&&t.width<n||i&&t.height<i)},mapImageTypeToString(e){switch(e){case ci.Avatars:return"avatars";case ci.Thumbnails:return"thumbnails";case ci.Logos:return"logos";case ci.Covers:return"covers";case ci.Posters:return"posters";case ci.TallPosters:return"tallposters";case ci.HeroBanners:return"herobanners";case ci.None:default:return""}}},JZ={createLogo(e,t){return{key:"upload:logo",url:`api/domain/v2/objects/${e}/logo`,type:dn.POST,data:{fileId:t.id.toString(),fileIdType:t.fileIdType},invalidationKeys:["school:logo"]}},removeLogo(e,t,r,n){return{url:`/api/domain/v2/objects/${e}/logo/${t}`,key:`remove:logo:${t}`,type:dn.DELETE,success:r,error:n,invalidationKeys:["school:logo"]}},logo(e){return{key:"school:logo",url:`{gateway}/v1/objects/${e}/logo`}}};function rUe(){var l;const{setDataUrl:e,getImage:t,imageUploaded:r}=sr.useContext(Boe),n=Ube(),i=Ii(zi.currentUser()),a=Ii(i.data&&JZ.logo(i.data.customerId));sr.useEffect(()=>{r&&o()},[r]);async function o(){const c=t();c&&await n(JZ.createLogo(i.data.customerId,c))}function s(){Kn.trigger({application:dr.DEFAULT,action:Zr.Default.REMOVE_LOGO,params:{logoId:a.data.id,customerId:i.data.customerId}})}return{schoolLogo:(l=a.data)==null?void 0:l.url,schoolName:i.data.customerName,setDataUrl:e,deleteLogo:s}}const nUe="_uploadContainer_1a9jf_1",iUe="_logo_1a9jf_6",aUe="_actions_1a9jf_10",sI={uploadContainer:nUe,logo:iUe,actions:aUe},aue="reportsShared.schoolLogo",ZZ=pr.encloseNamespace(aue);function oUe(e){const{schoolLogo:t,schoolName:r,setDataUrl:n,deleteLogo:i}=rUe(),a=uN(),o=sr.useRef(null),s=sr.useCallback(d=>{d&&(o.current=d)},[]),l=()=>{o.current.value=null,o.current.click()};function c(d){n(d.src),Kn.trigger({application:dr.DEFAULT,action:Zr.Default.UPLOAD_IMAGE,args:[ci.Logos]})}return V.jsxs("div",{className:"d-flex flex-column align-items-center gap-2 m-3",children:[t&&V.jsxs("div",{className:`${sI.logo} ${e.isCollapsed?"w-100 h-100":""} position-relative`,children:[V.jsx("div",{className:`${sI.actions} position-absolute w-100 h-100 rounded`,children:V.jsx(aN,{actions:[{label:ZZ("uploadImage"),onClick:l},{label:ZZ("removeImage"),className:"text-danger",onClick:i}],className:`${e.isCollapsed?"w-100 h-100":""} d-flex position-absolute top-0 end-0 opacity-100`,dropdownToggleClassName:`${e.isCollapsed?"opacity-0":""} flex-grow-1 text-white bg-transparent`})}),V.jsx("img",{src:t,className:"rounded bg-white w-100 h-100"})]}),!t&&V.jsx("div",{children:V.jsxs("button",{onClick:l,className:`${sI.uploadContainer} ${e.isCollapsed?"w-fit h-fit":""} d-flex flex-column align-items-center justify-content-center rounded text-white opacity-75 opacity-100-hover`,children:[V.jsx(Ri,{svg:Xse,size:Zs.Large}),!e.isCollapsed&&V.jsx("span",{className:"d-none d-lg-block",children:V.jsx(lp,{namespace:aue,phrase:a?"addInstitutionCrest":"addSchoolCrest"})})]})}),r&&!e.isCollapsed&&V.jsx("p",{className:"text-white text-center fw-medium",children:r}),V.jsx("input",{type:"file",className:"file-select d-none",accept:Cv.IMAGES,ref:s,onChange:d=>SP.onFileSelect(ci.Logos,d.target.files,c)})]})}const sUe="_leftNavItem_jy8ry_1",uUe="_active_jy8ry_9",eee={leftNavItem:sUe,active:uUe};function lUe(e){let t=`d-flex align-items-center mx-3 my-1 px-1 py-2 rounded ${eee.leftNavItem}`;return e.collapsed&&(t+=" justify-content-center"),e.active&&(t+=` ${eee.active}`),V.jsxs(os,{className:t,appLink:e.appLink,children:[V.jsx(Ri,{svg:e.svg,size:Zs.Large}),!e.collapsed&&V.jsx("span",{className:"ms-2",children:e.name})]})}function cUe(){return V.jsx("svg",{viewBox:"0 0 434 71",children:V.jsxs("g",{children:[V.jsx("path",{fill:"#FFFFFF",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),V.jsx("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})]})})}function q5e(){return V.jsx("svg",{viewBox:"0 0 41 70",children:V.jsx("g",{children:V.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const fUe="_logoContainer_1fstu_1",dUe={logoContainer:fUe},hUe={application:dr.DASHBOARD,action:Zr.Dashboard.HOME};function vUe(e){return e.isNavCollapsed?V.jsx(V.Fragment,{}):V.jsx(os,{appLink:hUe,className:`ms-3 ${dUe.logoContainer}`,children:V.jsx(cUe,{})})}function pUe(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"nonzero",d:"M19 15.75a.75.75 0 0 1 .102 1.493L19 17.25H5a.75.75 0 0 1-.102-1.493L5 15.75zm0-5a.75.75 0 0 1 .102 1.493L19 12.25H5a.75.75 0 0 1-.102-1.493L5 10.75zm0-5a.75.75 0 0 1 .102 1.493L19 7.25H5a.75.75 0 0 1-.102-1.493L5 5.75z"})})}function gUe(e){return V.jsx("div",{className:"text-light",children:V.jsx(Ri,{svg:pUe,onClick:e.onClick,className:"svg-container cursor-pointer",size:Zs.Medium})})}function oue(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.56 10.33c-.243 0-.472.063-.672.174a1.43 1.43 0 0 0-1.2-.671c-.257 0-.5.07-.71.195a1.42 1.42 0 0 0-1.16-.614q-.226 0-.43.069v-.47h.12c.728 0 1.32-.618 1.32-1.377V4.378c0-.76-.592-1.378-1.32-1.378H7.386c-.727 0-1.32.618-1.32 1.378v3.258c0 .76.593 1.378 1.32 1.378h.12v3.266a1.5 1.5 0 0 0-.262-.217 1.38 1.38 0 0 0-1.03-.2c-.385.017-.729.192-.953.486-.235.309-.316.723-.224 1.137l.664 2.966c.379 2.474 2.228 4.326 2.307 4.404a.5.5 0 0 0 .348.144h5.682a.5.5 0 0 0 .423-.238 10.05 10.05 0 0 0 1.538-5.365L16 11.834c0-.83-.646-1.504-1.44-1.504m-5.992 9.615c-.407-.452-1.607-1.912-1.871-3.676l-.008-.038-.668-2.985c-.022-.1-.01-.186.032-.242q.066-.082.213-.095l.053-.007.062-.007a.53.53 0 0 1 .33.064.45.45 0 0 1 .192.28l.576 2.574c.048.215.22.376.43.403l.04.005a.5.5 0 0 0 .397-.128c.109-.1.17-.244.17-.395V7.317a.44.44 0 0 1 .431-.449.44.44 0 0 1 .43.449v4.945c0 .291.226.527.505.527.28 0 .506-.236.506-.527v-1.344a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.403c0 .291.226.527.505.527a.517.517 0 0 0 .505-.527v-.986a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.353c0 .292.227.528.506.528s.505-.236.505-.528v-.856a.44.44 0 0 1 .43-.45.44.44 0 0 1 .43.45v3.563a9 9 0 0 1-1.228 4.548zM7.386 7.96a.317.317 0 0 1-.31-.323V4.378c0-.178.14-.323.31-.323h3.122c.17 0 .31.145.31.323v3.258a.317.317 0 0 1-.31.323h-.12v-.642c0-.83-.647-1.504-1.44-1.504-.795 0-1.442.675-1.442 1.504v.642zM14.375 3h3.25C18.383 3 19 3.617 19 4.375v3.25C19 8.383 18.383 9 17.625 9h-3.25A1.376 1.376 0 0 1 13 7.625v-3.25C13 3.617 13.617 3 14.375 3m3.25 4.948a.323.323 0 0 0 .323-.323v-3.25a.323.323 0 0 0-.323-.323h-3.25a.323.323 0 0 0-.323.323v3.25c0 .178.145.323.323.323z",clipRule:"evenodd"})})}function sue(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M20 6.818C20 5.814 19.105 5 18 5H6c-1.105 0-2 .814-2 1.818v7.727c0 1.004.895 1.818 2 1.818h3.91l-.347 1.707H8.5q-.513 0-.513.459 0 .457.513.471h7q.524-.014.524-.471 0-.459-.524-.459h-1.003l-.367-1.707H18c1.105 0 2-.814 2-1.818zm-7.625.227c.207 0 .375.204.375.455v6.363c0 .252-.168.455-.375.455h-.75c-.207 0-.375-.203-.375-.455V7.5c0-.251.168-.455.375-.455zm2.875 2.728c0-.251-.168-.455-.375-.455h-.75c-.207 0-.375.204-.375.455v4.09c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm-5 1.363c0-.25-.168-.454-.375-.454h-.75c-.207 0-.375.203-.375.454v2.727c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm2.824 5.227.332 1.706h-2.813l.326-1.706zM6 5.863h12c.552 0 1 .408 1 .91v7.818l-.007.106c-.057.452-.48.803-.993.803H6l-.117-.006C5.386 15.44 5 15.057 5 14.59V6.773l.007-.106c.057-.452.48-.803.993-.803"})})}function mUe(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M19.531 14.544h-2.543v-4.28l.34.155a.467.467 0 0 0 .622-.233.47.47 0 0 0-.233-.621l-5.248-2.386V5.44h1.54c.258 0 .468-.21.468-.468v-.502A.47.47 0 0 0 14.008 4H12a.47.47 0 0 0-.469.469v2.71L6.283 9.565a.469.469 0 1 0 .388.853l.342-.155v4.28H4.469a.47.47 0 0 0-.469.47v4.518c0 .26.21.469.469.469H19.53c.26 0 .469-.21.469-.469v-4.518a.47.47 0 0 0-.469-.47M7.013 19.062H4.937v-3.58h2.075zm6.025 0h-2.075v-2.074h2.075zm3.012-4.05v4.05h-2.075V16.52a.47.47 0 0 0-.469-.469h-3.012a.47.47 0 0 0-.469.469v2.544H7.95V9.837L12 7.997l4.05 1.84zm3.012 4.05h-2.075v-3.58h2.076zM12 10.062a1.977 1.977 0 0 0-1.975 1.975c0 1.089.886 1.975 1.975 1.975 1.09 0 1.975-.886 1.975-1.975 0-1.09-.886-1.975-1.975-1.975m0 3.012a1.039 1.039 0 1 1 1.037-1.037c0 .572-.465 1.037-1.037 1.037"})})}function lN(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",d:"M16.657 16.576a1 1 0 0 1 .143-1.024l.076-.094a6.292 6.292 0 1 0-2.12 1.688l.082-.04a1 1 0 0 1 .834-.022l1.473.631zm1.788 1.126c.355.83-.483 1.669-1.313 1.313l-1.848-.792a7.492 7.492 0 1 1 2.524-2.008z"})})}function uue(e){return V.jsx("svg",{...e,children:V.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.433 6.767a.444.444 0 0 0-.444.444v9.578c0 .245.199.444.444.444h13.134a.444.444 0 0 0 .445-.444V7.21a.444.444 0 0 0-.445-.444zm13.233-.99c.737 0 1.333.598 1.333 1.334v9.778c0 .736-.596 1.333-1.333 1.333H5.333A1.333 1.333 0 0 1 4 16.89V7.11c0-.736.597-1.333 1.333-1.333zM10.25 9.407a.2.2 0 0 0-.028.101v4.986a.195.195 0 0 0 .297.166l4.079-2.493a.195.195 0 0 0 0-.332l-4.08-2.493a.195.195 0 0 0-.268.065"})})}var On=(e=>(e.Dashboard="Dashboard",e.Interactives="Interactives",e.Logins="Logins",e.Videos="Videos",e))(On||{});function cN(){const[e]=wa(po.DATE_RANGE_QUERY_PARAMS),[t]=wa(po.AUDIENCE_QUERY_PARAMS,{});return{...e,...t}}function fN(){return cN()}function yUe(){const e=cN();return{userId:e.users,groupId:[...e.classrooms??[],...e.classroomGroups??[]],customerId:[],...pP(xy(),e)}}function _Ue(e){const t=Lf(),r=cN(),n=ICe(),i=!e&&!r.classrooms&&n!=="interactives";function a(l){return lf.userClassrooms(l)}function o(l){Z_(t)(a(l))}const s=tue(i&&a,o);if(n==="interactives")return{...pP(xy(),r),groupId:r.classrooms};if(!(i&&!s.hasCompleted))return{groupId:r.classrooms??(s==null?void 0:s.items.map(l=>l.id))??[],customerId:[],...pP(xy(),r)}}function V5e(){var o;const{hasPermissions:e}=_c(),{hasShareFlowV2:t}=eg(null),r=Ii(zi.currentUser()),n=e(ka.ViewCustomerAnalytics),i=yUe(),a=_Ue(n);return t?{...i,customerId:(o=r.data)==null?void 0:o.customerId}:n?i:a}const Zl={[On.Dashboard]:{application:dr.DASHBOARD,action:Zr.Dashboard.HOME},[On.Logins]:{application:dr.LOGINS,action:Zr.Logins.HOME},[On.Videos]:{application:dr.VIDEOS,action:Zr.Videos.HOME},[On.Interactives]:{application:dr.INTERACTIVES,action:Zr.Interactives.HOME}},SUe={[On.Dashboard]:{application:dr.DASHBOARD,action:Zr.Dashboard.HOME},[On.Interactives]:{application:dr.INTERACTIVES,action:Zr.Interactives.HOME}},lue={[On.Dashboard]:Xl(dr.DASHBOARD,Zr.Dashboard),[On.Logins]:Xl(dr.LOGINS,Zr.Logins),[On.Videos]:[...Xl(dr.VIDEOS,Zr.Videos),...Xl(dr.CLIPS,Zr.Clips)],[On.Interactives]:Xl(dr.INTERACTIVES,Zr.Interactives)},EUe={[On.Dashboard]:Xl(dr.DASHBOARD,Zr.Dashboard),[On.Interactives]:Xl(dr.INTERACTIVES,Zr.Interactives)},wUe="reportsShared.leftNav",Is=pr.encloseNamespace(wUe);function il(e,t){return{...e,params:t}}function dN(e){var i;const[t,r]=pe.useState(null),n=(i=gc.getCurrentRoute())==null?void 0:i.appLink;return pe.useEffect(()=>{let a=null;Object.keys(e).find(o=>{if(a)return;if(e[o].find(l=>l.application===n.application&&l.action===n.action)){a=On[o];return}}),r(a)},[n]),t}function bUe(e){const t=fN(),r=dN(lue);return[{name:Is("dashboard"),appLink:il(Zl[On.Dashboard],t),svg:Py,collapsed:e,active:r===On.Dashboard},{name:Is("logins"),appLink:il(Zl[On.Logins],t),svg:sue,collapsed:e,active:r===On.Logins},{name:Is("videos"),appLink:il(Zl[On.Videos],t),svg:uue,collapsed:e,active:r===On.Videos},{name:Is("interactives"),appLink:il(Zl[On.Interactives],t),svg:oue,collapsed:e,active:r===On.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Zr.Default.GIVE_FEEDBACK},svg:lN}]}function TUe(e){const t=fN(),r=dN(lue),n=uN();return[{name:Is(n?"institutionAnalytics":"schoolAnalytics"),appLink:il(Zl[On.Dashboard],t),svg:mUe,collapsed:e,active:r===On.Dashboard},{name:Is("logins"),appLink:il(Zl[On.Logins],t),svg:sue,collapsed:e,active:r===On.Logins},{name:Is("videoViews"),appLink:il(Zl[On.Videos],t),svg:uue,collapsed:e,active:r===On.Videos},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Zr.Default.GIVE_FEEDBACK},svg:lN}]}function RUe(e){const t=fN(),r=dN(EUe);return[{name:Is("dashboard"),appLink:il(SUe[On.Dashboard],t),svg:Py,collapsed:e,active:r===On.Dashboard},{name:Is("interactives"),appLink:il(Zl[On.Interactives],t),svg:oue,collapsed:e,active:r===On.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Zr.Default.GIVE_FEEDBACK},svg:lN}]}function xUe(e){const{hasPermissions:t}=_c(),{hasShareFlowV2:r}=eg(null),n=t(ka.ViewMyShares)&&r,i=bUe(e),a=RUe(e),o=TUe(e);return n?o:t(ka.ViewCustomerAnalytics)?i:a}const CUe="_leftNav_4h9jo_1",AUe="_headerHidden_4h9jo_10",OUe="_leftNavCollapsed_4h9jo_13",IUe="_toggleLogoContainer_4h9jo_16",wm={leftNav:CUe,headerHidden:AUe,leftNavCollapsed:OUe,toggleLogoContainer:IUe},PUe="reportsShared.leftNav",DUe=pr.encloseNamespace(PUe);function kUe(e){const{hasShareFlowV2:t}=eg(null),r=e.navState===Vd.Collapsed,n=xUe(r),{hasPermissions:i,isLoaded:a}=_c();let o=`${wm.leftNav} py-3 d-flex flex-column`;if(r&&(o+=` ${wm.leftNavCollapsed}`),e.headerHidden&&(o+=` ${wm.headerHidden}`),e.navState===Vd.Hidden)return V.jsx(V.Fragment,{});const s=i(ka.ViewCustomerAnalytics),l=i(ka.ViewMyShares)&&t;return V.jsxs("nav",{className:o,children:[V.jsxs("div",{className:`d-flex align-items-center mx-3 mb-4 ${r?" justify-content-center":""} ${wm.toggleLogoContainer}`,children:[V.jsx(gUe,{onClick:()=>e.toggleNav(!r)}),V.jsx(vUe,{isNavCollapsed:r})]}),l&&V.jsx(oUe,{isCollapsed:r}),n.map((c,d)=>V.jsx(lUe,{name:c.name,appLink:c.appLink,svg:c.svg,active:c.active,collapsed:r},d)),a&&s&&!r&&V.jsx("div",{className:"mt-auto text-center mb-2",children:V.jsx("span",{className:"border rounded-pill px-2 text-nowrap border-white text-light",children:DUe("adminRole")})})]})}function NUe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!gi.isFunction(e.onClick)&&!e.disabled)return V.jsx(os,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(gi.isFunction(e.onClick)&&e.onClick(),e.appLink&&Kn.trigger(e.appLink),Ea.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?V.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):V.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return V.jsx(sP,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const LUe="_image_12gb5_1",MUe="_small_12gb5_6",tee={image:LUe,small:MUe};cue.defaultProps={size:"medium"};function cue(e){return V.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${tee.image} ${e.size==="small"?tee.small:""} ${e.className??""}`})}Eu.defaultProps={className:"pt-5"};function Eu(e){return V.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}Eu.Image=e=>V.jsx(cue,{...e});Eu.Cta=e=>V.jsx(NUe,{...e});Eu.Heading=e=>V.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});Eu.Info=e=>e.injectHtml?V.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):V.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});const uI={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var Bc=(e=>(e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global",e.CA="content-canada",e))(Bc||{});function $Ue(e,t){if(!(t!=null&&t.length)||typeof e=="string"||!e)return{};const r=t.reduce((n,i)=>({...n,[i]:!0}),{});return Object.keys(e).reduce((n,i)=>(i in r&&(n[i]=e[i]),n),{})}const FUe={isBot(){if(!window.URLSearchParams)return!1;const e=new URLSearchParams(window.location.search);return(e==null?void 0:e.get("isBot"))==="true"},getCanonicalLink(e={}){const t=Yn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Kn.getCurrentAppLink(),n=$Ue(r.params,e.allowedParams);let i=Kn.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),ln.safeUrlConcat(t,i)}};function hN(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let zf=hN();function fue(e){zf=e}const Bv={exec:()=>null};function Xn(e,t=""){let r=typeof e=="string"?e:e.source;const n={replace:(i,a)=>{let o=typeof a=="string"?a:a.source;return o=o.replace(fo.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}const fo={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},jUe=/^(?:[ \t]*(?:\n|$))+/,UUe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,qUe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,tg=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,VUe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,due=/(?:[*+-]|\d{1,9}[.)])/,hue=Xn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,due).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),vN=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,BUe=/^[^\n]+/,pN=/(?!\s*\])(?:\\.|[^\[\]\\])+/,HUe=Xn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",pN).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),zUe=Xn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,due).getRegex(),_0="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",gN=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,WUe=Xn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",gN).replace("tag",_0).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),vue=Xn(vN).replace("hr",tg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_0).getRegex(),GUe=Xn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",vue).getRegex(),mN={blockquote:GUe,code:UUe,def:HUe,fences:qUe,heading:VUe,hr:tg,html:WUe,lheading:hue,list:zUe,newline:jUe,paragraph:vue,table:Bv,text:BUe},ree=Xn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",tg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_0).getRegex(),YUe={...mN,table:ree,paragraph:Xn(vN).replace("hr",tg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ree).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_0).getRegex()},KUe={...mN,html:Xn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",gN).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Bv,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Xn(vN).replace("hr",tg).replace("heading",` *#{1,6} *[^
169
- ]`).replace("lheading",hue).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},XUe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,QUe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,pue=/^( {2,}|\\)\n(?!\s*$)/,JUe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,S0=/[\p{P}\p{S}]/u,yN=/[\s\p{P}\p{S}]/u,gue=/[^\s\p{P}\p{S}]/u,ZUe=Xn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,yN).getRegex(),mue=/(?!~)[\p{P}\p{S}]/u,e6e=/(?!~)[\s\p{P}\p{S}]/u,t6e=/(?:[^\s\p{P}\p{S}]|~)/u,r6e=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,yue=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,n6e=Xn(yue,"u").replace(/punct/g,S0).getRegex(),i6e=Xn(yue,"u").replace(/punct/g,mue).getRegex(),_ue="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",a6e=Xn(_ue,"gu").replace(/notPunctSpace/g,gue).replace(/punctSpace/g,yN).replace(/punct/g,S0).getRegex(),o6e=Xn(_ue,"gu").replace(/notPunctSpace/g,t6e).replace(/punctSpace/g,e6e).replace(/punct/g,mue).getRegex(),s6e=Xn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,gue).replace(/punctSpace/g,yN).replace(/punct/g,S0).getRegex(),u6e=Xn(/\\(punct)/,"gu").replace(/punct/g,S0).getRegex(),l6e=Xn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),c6e=Xn(gN).replace("(?:-->|$)","-->").getRegex(),f6e=Xn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",c6e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),My=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,d6e=Xn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",My).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Sue=Xn(/^!?\[(label)\]\[(ref)\]/).replace("label",My).replace("ref",pN).getRegex(),Eue=Xn(/^!?\[(ref)\](?:\[\])?/).replace("ref",pN).getRegex(),h6e=Xn("reflink|nolink(?!\\()","g").replace("reflink",Sue).replace("nolink",Eue).getRegex(),_N={_backpedal:Bv,anyPunctuation:u6e,autolink:l6e,blockSkip:r6e,br:pue,code:QUe,del:Bv,emStrongLDelim:n6e,emStrongRDelimAst:a6e,emStrongRDelimUnd:s6e,escape:XUe,link:d6e,nolink:Eue,punctuation:ZUe,reflink:Sue,reflinkSearch:h6e,tag:f6e,text:JUe,url:Bv},v6e={..._N,link:Xn(/^!?\[(label)\]\((.*?)\)/).replace("label",My).getRegex(),reflink:Xn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",My).getRegex()},EP={..._N,emStrongRDelimAst:o6e,emStrongLDelim:i6e,url:Xn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},p6e={...EP,br:Xn(pue).replace("{2,}","*").getRegex(),text:Xn(EP.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},bm={normal:mN,gfm:YUe,pedantic:KUe},Sv={normal:_N,gfm:EP,breaks:p6e,pedantic:v6e},g6e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},nee=e=>g6e[e];function _u(e,t){if(t){if(fo.escapeTest.test(e))return e.replace(fo.escapeReplace,nee)}else if(fo.escapeTestNoEncode.test(e))return e.replace(fo.escapeReplaceNoEncode,nee);return e}function iee(e){try{e=encodeURI(e).replace(fo.percentDecode,"%")}catch{return null}return e}function aee(e,t){var a;const r=e.replace(fo.findPipe,(o,s,l)=>{let c=!1,d=s;for(;--d>=0&&l[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(fo.splitPipe);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!((a=n.at(-1))!=null&&a.trim())&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(fo.slashPipe,"|");return n}function Ev(e,t,r){const n=e.length;if(n===0)return"";let i=0;for(;i<n&&e.charAt(n-i-1)===t;)i++;return e.slice(0,n-i)}function m6e(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return-1}function oee(e,t,r,n,i){const a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const l={type:"link",raw:r,href:a,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}return{type:"image",raw:r,href:a,title:o,text:s}}function y6e(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
170
- `).map(a=>{const o=a.match(r.other.beginningSpace);if(o===null)return a;const[s]=o;return s.length>=i.length?a.slice(i.length):a}).join(`
171
- `)}class $y{constructor(t){ui(this,"options");ui(this,"rules");ui(this,"lexer");this.options=t||zf}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Ev(n,`
172
- `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=y6e(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){const i=Ev(n,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:Ev(r[0],`
173
- `)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=Ev(r[0],`
174
- `).split(`
175
- `),i="",a="";const o=[];for(;n.length>0;){let s=!1;const l=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))l.push(n[c]),s=!0;else if(!s)l.push(n[c]);else break;n=n.slice(c);const d=l.join(`
176
- `),h=d.replace(this.rules.other.blockquoteSetextReplace,`
177
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
178
- ${d}`:d,a=a?`${a}
179
- ${h}`:h;const v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=v,n.length===0)break;const g=o.at(-1);if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const S=g,E=S.raw+`
180
- `+n.join(`
181
- `),y=this.blockquote(E);o[o.length-1]=y,i=i.substring(0,i.length-S.raw.length)+y.raw,a=a.substring(0,a.length-S.text.length)+y.text;break}else if((g==null?void 0:g.type)==="list"){const S=g,E=S.raw+`
182
- `+n.join(`
183
- `),y=this.list(E);o[o.length-1]=y,i=i.substring(0,i.length-g.raw.length)+y.raw,a=a.substring(0,a.length-S.raw.length)+y.raw,n=E.substring(o.at(-1).raw.length).split(`
184
- `);continue}}return{type:"blockquote",raw:i,tokens:o,text:a}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let s=!1;for(;t;){let c=!1,d="",h="";if(!(r=o.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let v=r[2].split(`
185
- `,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),g=t.split(`
186
- `,1)[0],S=!v.trim(),E=0;if(this.options.pedantic?(E=2,h=v.trimStart()):S?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,h=v.slice(E),E+=r[1].length),S&&this.rules.other.blankLine.test(g)&&(d+=g+`
187
- `,t=t.substring(g.length+1),c=!0),!c){const b=this.rules.other.nextBulletRegex(E),A=this.rules.other.hrRegex(E),R=this.rules.other.fencesBeginRegex(E),C=this.rules.other.headingBeginRegex(E),O=this.rules.other.htmlBeginRegex(E);for(;t;){const m=t.split(`
188
- `,1)[0];let D;if(g=m,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),D=g):D=g.replace(this.rules.other.tabCharGlobal," "),R.test(g)||C.test(g)||O.test(g)||b.test(g)||A.test(g))break;if(D.search(this.rules.other.nonSpaceChar)>=E||!g.trim())h+=`
189
- `+D.slice(E);else{if(S||v.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(v)||C.test(v)||A.test(v))break;h+=`
190
- `+g}!S&&!g.trim()&&(S=!0),d+=m+`
191
- `,t=t.substring(m.length+1),v=D.slice(E)}}a.loose||(s?a.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(s=!0));let y=null,w;this.options.gfm&&(y=this.rules.other.listIsTask.exec(h),y&&(w=y[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:d,task:!!y,checked:w,loose:!1,text:h,tokens:[]}),a.raw+=d}const l=a.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let c=0;c<a.items.length;c++)if(this.lexer.state.top=!1,a.items[c].tokens=this.lexer.blockTokens(a.items[c].text,[]),!a.loose){const d=a.items[c].tokens.filter(v=>v.type==="space"),h=d.length>0&&d.some(v=>this.rules.other.anyLine.test(v.raw));a.loose=h}if(a.loose)for(let c=0;c<a.items.length;c++)a.items[c].loose=!0;return a}}html(t){const r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){const r=this.rules.block.def.exec(t);if(r){const n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:a}}}table(t){var s;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=aee(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=(s=r[3])!=null&&s.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
192
- `):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const l of i)this.rules.other.tableAlignRight.test(l)?o.align.push("right"):this.rules.other.tableAlignCenter.test(l)?o.align.push("center"):this.rules.other.tableAlignLeft.test(l)?o.align.push("left"):o.align.push(null);for(let l=0;l<n.length;l++)o.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:o.align[l]});for(const l of a)o.rows.push(aee(l,o.header.length).map((c,d)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:o.align[d]})));return o}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const n=r[1].charAt(r[1].length-1)===`
193
- `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=Ev(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=m6e(r[2],"()");if(o>-1){const l=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let i=r[2],a="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(i);o&&(i=o[1],a=o[3])}else a=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),oee(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=r[i.toLowerCase()];if(!a){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return oee(n,a,n[0],this.lexer,this.rules)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const o=[...i[0]].length-1;let s,l,c=o,d=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,r=r.slice(-1*t.length+o);(i=h.exec(r))!=null;){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(l=[...s].length,i[3]||i[4]){c+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){d+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+d);const v=[...i[0]][0].length,g=t.slice(0,o+i.index+v+l);if(Math.min(o,l)%2){const E=g.slice(1,-1);return{type:"em",raw:g,text:E,tokens:this.lexer.inlineTokens(E)}}const S=g.slice(2,-2);return{type:"strong",raw:g,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let i,a;if(r[2]==="@")i=r[0],a="mailto:"+i;else{let o;do o=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(o!==r[0]);i=r[0],r[1]==="www."?a="http://"+r[0]:a=r[0]}return{type:"link",raw:r[0],text:i,href:a,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){const n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}}class Ps{constructor(t){ui(this,"tokens");ui(this,"options");ui(this,"state");ui(this,"tokenizer");ui(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||zf,this.options.tokenizer=this.options.tokenizer||new $y,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={other:fo,block:bm.normal,inline:Sv.normal};this.options.pedantic?(r.block=bm.pedantic,r.inline=Sv.pedantic):this.options.gfm&&(r.block=bm.gfm,this.options.breaks?r.inline=Sv.breaks:r.inline=Sv.gfm),this.tokenizer.rules=r}static get rules(){return{block:bm,inline:Sv}}static lex(t,r){return new Ps(r).lex(t)}static lexInline(t,r){return new Ps(r).inlineTokens(t)}lex(t){t=t.replace(fo.carriageReturn,`
194
- `),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){var i,a,o;for(this.options.pedantic&&(t=t.replace(fo.tabCharGlobal," ").replace(fo.spaceLine,""));t;){let s;if((a=(i=this.options.extensions)==null?void 0:i.block)!=null&&a.some(c=>(s=c.call({lexer:this},t,r))?(t=t.substring(s.raw.length),r.push(s),!0):!1))continue;if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length);const c=r.at(-1);s.raw.length===1&&c!==void 0?c.raw+=`
195
- `:r.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
196
- `+s.raw,c.text+=`
197
- `+s.text,this.inlineQueue.at(-1).src=c.text):r.push(s);continue}if(s=this.tokenizer.fences(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.heading(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.hr(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.blockquote(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.list(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.html(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.def(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
198
- `+s.raw,c.text+=`
199
- `+s.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.lheading(t)){t=t.substring(s.raw.length),r.push(s);continue}let l=t;if((o=this.options.extensions)!=null&&o.startBlock){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(v=>{h=v.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(l=t.substring(0,c+1))}if(this.state.top&&(s=this.tokenizer.paragraph(l))){const c=r.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
200
- `+s.raw,c.text+=`
201
- `+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(s),n=l.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
202
- `+s.raw,c.text+=`
203
- `+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(s);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var s,l,c;let n=t,i=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a=!1,o="";for(;t;){a||(o=""),a=!1;let d;if((l=(s=this.options.extensions)==null?void 0:s.inline)!=null&&l.some(v=>(d=v.call({lexer:this},t,r))?(t=t.substring(d.raw.length),r.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const v=r.at(-1);d.type==="text"&&(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(d=this.tokenizer.emStrong(t,n,o)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),r.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),r.push(d);continue}let h=t;if((c=this.options.extensions)!=null&&c.startInline){let v=1/0;const g=t.slice(1);let S;this.options.extensions.startInline.forEach(E=>{S=E.call({lexer:this},g),typeof S=="number"&&S>=0&&(v=Math.min(v,S))}),v<1/0&&v>=0&&(h=t.substring(0,v+1))}if(d=this.tokenizer.inlineText(h)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(o=d.raw.slice(-1)),a=!0;const v=r.at(-1);(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(t){const v="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(v);break}else throw new Error(v)}}return r}}class Fy{constructor(t){ui(this,"options");ui(this,"parser");this.options=t||zf}space(t){return""}code({text:t,lang:r,escaped:n}){var o;const i=(o=(r||"").match(fo.notSpaceStart))==null?void 0:o[0],a=t.replace(fo.endingNewline,"")+`
204
- `;return i?'<pre><code class="language-'+_u(i)+'">'+(n?a:_u(a,!0))+`</code></pre>
205
- `:"<pre><code>"+(n?a:_u(a,!0))+`</code></pre>
206
- `}blockquote({tokens:t}){return`<blockquote>
207
- ${this.parser.parse(t)}</blockquote>
208
- `}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
209
- `}hr(t){return`<hr>
210
- `}list(t){const r=t.ordered,n=t.start;let i="";for(let s=0;s<t.items.length;s++){const l=t.items[s];i+=this.listitem(l)}const a=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+a+o+`>
211
- `+i+"</"+a+`>
212
- `}listitem(t){var n;let r="";if(t.task){const i=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=i+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=i+" "+_u(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):r+=i+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
213
- `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
214
- `}table(t){let r="",n="";for(let a=0;a<t.header.length;a++)n+=this.tablecell(t.header[a]);r+=this.tablerow({text:n});let i="";for(let a=0;a<t.rows.length;a++){const o=t.rows[a];n="";for(let s=0;s<o.length;s++)n+=this.tablecell(o[s]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
215
- <thead>
216
- `+r+`</thead>
217
- `+i+`</table>
218
- `}tablerow({text:t}){return`<tr>
219
- ${t}</tr>
220
- `}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
221
- `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${_u(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){const i=this.parser.parseInline(n),a=iee(t);if(a===null)return i;t=a;let o='<a href="'+t+'"';return r&&(o+=' title="'+_u(r)+'"'),o+=">"+i+"</a>",o}image({href:t,title:r,text:n}){const i=iee(t);if(i===null)return _u(n);t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${_u(r)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:_u(t.text)}}class SN{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Ds{constructor(t){ui(this,"options");ui(this,"renderer");ui(this,"textRenderer");this.options=t||zf,this.options.renderer=this.options.renderer||new Fy,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new SN}static parse(t,r){return new Ds(r).parse(t)}static parseInline(t,r){return new Ds(r).parseInline(t)}parse(t,r=!0){var i,a;let n="";for(let o=0;o<t.length;o++){const s=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[s.type]){const c=s,d=this.options.extensions.renderers[c.type].call({parser:this},c);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type)){n+=d||"";continue}}const l=s;switch(l.type){case"space":{n+=this.renderer.space(l);continue}case"hr":{n+=this.renderer.hr(l);continue}case"heading":{n+=this.renderer.heading(l);continue}case"code":{n+=this.renderer.code(l);continue}case"table":{n+=this.renderer.table(l);continue}case"blockquote":{n+=this.renderer.blockquote(l);continue}case"list":{n+=this.renderer.list(l);continue}case"html":{n+=this.renderer.html(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let c=l,d=this.renderer.text(c);for(;o+1<t.length&&t[o+1].type==="text";)c=t[++o],d+=`
222
- `+this.renderer.text(c);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,r=this.renderer){var i,a;let n="";for(let o=0;o<t.length;o++){const s=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[s.type]){const c=this.options.extensions.renderers[s.type].call({parser:this},s);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=c||"";continue}}const l=s;switch(l.type){case"escape":{n+=r.text(l);break}case"html":{n+=r.html(l);break}case"link":{n+=r.link(l);break}case"image":{n+=r.image(l);break}case"strong":{n+=r.strong(l);break}case"em":{n+=r.em(l);break}case"codespan":{n+=r.codespan(l);break}case"br":{n+=r.br(l);break}case"del":{n+=r.del(l);break}case"text":{n+=r.text(l);break}default:{const c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class Hv{constructor(t){ui(this,"options");ui(this,"block");this.options=t||zf}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ps.lex:Ps.lexInline}provideParser(){return this.block?Ds.parse:Ds.parseInline}}ui(Hv,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class wue{constructor(...t){ui(this,"defaults",hN());ui(this,"options",this.setOptions);ui(this,"parse",this.parseMarkdown(!0));ui(this,"parseInline",this.parseMarkdown(!1));ui(this,"Parser",Ds);ui(this,"Renderer",Fy);ui(this,"TextRenderer",SN);ui(this,"Lexer",Ps);ui(this,"Tokenizer",$y);ui(this,"Hooks",Hv);this.use(...t)}walkTokens(t,r){var i,a;let n=[];for(const o of t)switch(n=n.concat(r.call(this,o)),o.type){case"table":{const s=o;for(const l of s.header)n=n.concat(this.walkTokens(l.tokens,r));for(const l of s.rows)for(const c of l)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{const s=o;n=n.concat(this.walkTokens(s.items,r));break}default:{const s=o;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[s.type]?this.defaults.extensions.childTokens[s.type].forEach(l=>{const c=s[l].flat(1/0);n=n.concat(this.walkTokens(c,r))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,r)))}}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const o=r.renderers[a.name];o?r.renderers[a.name]=function(...s){let l=a.renderer.apply(this,s);return l===!1&&(l=o.apply(this,s)),l}:r.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=r[a.level];o?o.unshift(a.tokenizer):r[a.level]=[a.tokenizer],a.start&&(a.level==="block"?r.startBlock?r.startBlock.push(a.start):r.startBlock=[a.start]:a.level==="inline"&&(r.startInline?r.startInline.push(a.start):r.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(r.childTokens[a.name]=a.childTokens)}),i.extensions=r),n.renderer){const a=this.defaults.renderer||new Fy(this.defaults);for(const o in n.renderer){if(!(o in a))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const s=o,l=n.renderer[s],c=a[s];a[s]=(...d)=>{let h=l.apply(a,d);return h===!1&&(h=c.apply(a,d)),h||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new $y(this.defaults);for(const o in n.tokenizer){if(!(o in a))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const s=o,l=n.tokenizer[s],c=a[s];a[s]=(...d)=>{let h=l.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new Hv;for(const o in n.hooks){if(!(o in a))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const s=o,l=n.hooks[s],c=a[s];Hv.passThroughHooks.has(o)?a[s]=d=>{if(this.defaults.async)return Promise.resolve(l.call(a,d)).then(v=>c.call(a,v));const h=l.call(a,d);return c.call(a,h)}:a[s]=(...d)=>{let h=l.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.hooks=a}if(n.walkTokens){const a=this.defaults.walkTokens,o=n.walkTokens;i.walkTokens=function(s){let l=[];return l.push(o.call(this,s)),a&&(l=l.concat(a.call(this,s))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ps.lex(t,r??this.defaults)}parser(t,r){return Ds.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},o={...this.defaults,...a},s=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&a.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const l=o.hooks?o.hooks.provideLexer():t?Ps.lex:Ps.lexInline,c=o.hooks?o.hooks.provideParser():t?Ds.parse:Ds.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>l(d,o)).then(d=>o.hooks?o.hooks.processAllTokens(d):d).then(d=>o.walkTokens?Promise.all(this.walkTokens(d,o.walkTokens)).then(()=>d):d).then(d=>c(d,o)).then(d=>o.hooks?o.hooks.postprocess(d):d).catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let d=l(n,o);o.hooks&&(d=o.hooks.processAllTokens(d)),o.walkTokens&&this.walkTokens(d,o.walkTokens);let h=c(d,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(d){return s(d)}}}onError(t,r){return n=>{if(n.message+=`
223
- Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+_u(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const hf=new wue;function ni(e,t){return hf.parse(e,t)}ni.options=ni.setOptions=function(e){return hf.setOptions(e),ni.defaults=hf.defaults,fue(ni.defaults),ni};ni.getDefaults=hN;ni.defaults=zf;ni.use=function(...e){return hf.use(...e),ni.defaults=hf.defaults,fue(ni.defaults),ni};ni.walkTokens=function(e,t){return hf.walkTokens(e,t)};ni.parseInline=hf.parseInline;ni.Parser=Ds;ni.parser=Ds.parse;ni.Renderer=Fy;ni.TextRenderer=SN;ni.Lexer=Ps;ni.lexer=Ps.lex;ni.Tokenizer=$y;ni.Hooks=Hv;ni.parse=ni;ni.options;ni.setOptions;ni.use;ni.walkTokens;ni.parseInline;Ds.parse;Ps.lex;const _6e="_container_1hbtl_1",S6e={container:_6e},see="markdown-link",wP=new wue;let wv;const uee=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,E6e=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;wP.use({breaks:!0,async:!0,extensions:[{name:"inlineKatex",level:"inline",start:e=>{let t,r=e;for(;r;){if(t=r.indexOf("$"),t===-1)return;if((t===0||r.charAt(t-1)===" ")&&r.substring(t).match(uee))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(uee);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>wv?wv.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(E6e);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>wv?wv.renderToString(e.text,{displayMode:e.displayMode}):e.text},{start:e=>e.indexOf("^"),name:"superscript",level:"inline",tokenizer:e=>{const t=e.match(/^\^([^\^]+?)\^/);if(t)return{type:"superscript",raw:t[0],text:t[1]}},renderer:e=>`<sup>${e.text}</sup>`},{name:"subscript",level:"inline",start:e=>e.indexOf("~"),tokenizer:e=>{const t=e.match(/^\~([^\~]+?)\~/);if(t)return{type:"subscript",raw:t[0],text:t[1]}},renderer:e=>`<sub>${e.text}</sub>`}],walkTokens:async e=>{if(e.type==="inlineKatex"||e.type==="blockKatex"){const{katex:t}=await yn(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([142,143]));wv=t}}});const bue={isLink(e){return e.classList.contains(see)},async parse(e,t){if(!e)return"";const r=await wP.parse(e,{renderer:bue.getRenderer(t)});return VI.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return VI.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new wP.Renderer;return t.heading=({text:r,depth:n})=>`<h${n} class="${{1:"h1",2:"h2",3:"h6",4:"h6",5:"h6",6:"h6"}[n]}">${r}</h${n}>`,t.link=({href:r,text:n})=>{const i=e.focusableLinks?'tabIndex="0"':'tabIndex="-1"';return`<a href="${r}" target="_blank" class="info-link ${see}" ${i}>${n}</a>`},t},getContainerClass(){return S6e.container}},w6e="shared.shared-utils",jy=pr.encloseNamespace(w6e),b6e=70,lI=160,T6e=/^(.*)\s/,lee="pageTitle",cee="pageDescription",cI="YYYY-MM-DD",bd={AU:"au",ENGLAND:"gb",US:"us"},R6e={[bd.AU]:Bc.AU,[bd.ENGLAND]:Bc.UK,[bd.US]:Bc.US,[Bc.AU]:bd.AU,[Bc.UK]:bd.ENGLAND,[Bc.US]:bd.US};function fee(e){return e?e.substring(0,e.length-3)+"...":""}function x6e(e,t){return e?e.substring(0,t):""}function C6e(e,t,r){if(!e)return"";const n=t-r;if(e.length<=n)return e;const i=e.slice(0,n),a=i.match(T6e);return a?a[1]:i}function ql({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return jy(lee,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,i=b6e-n;return e.length>=i?jy(lee,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Vl({title:e,description:t,phraseContext:r}){var l,c;const n=fee(x6e(t||e,lI));if(!r)return jy(cee,{description:n});const i=((l=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:l.length)??0,a=lI-i;if((e==null?void 0:e.length)>=a)return jy(cee,{description:n});const o=((c=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:c.length)??0,s=fee(C6e(t,lI,o));return r.phraseHandler(r.descriptionPhrase,{title:e,description:s})}function A6e(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,o;const i=(a=R6e[n.contentRegion])==null?void 0:a.toUpperCase();return((o=n.id)==null?void 0:o.toString())!==(t==null?void 0:t.toString())||!i?r:[...r,{"@type":"Place",name:i}]},[]))??[]}function O6e(e,t){const r=e!=null&&e.datePublished?wn.format(e==null?void 0:e.datePublished,cI):wn.format(e==null?void 0:e.dateCreated,cI),n=t!=null&&t.dateModified?wn.format(t==null?void 0:t.dateModified,cI):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:FUe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function I6e(e,t,r){var n;return{"@context":"https://schema.org","@type":"VideoObject",mainEntityOfPage:{"@type":"WebPage","@id":t},name:e==null?void 0:e.name,description:e==null?void 0:e.description,thumbnailUrl:(n=e==null?void 0:e.thumbnail)==null?void 0:n.url,uploadDate:e==null?void 0:e.dateCreated,duration:wn.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:A6e(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function P6e(e,t){const r=[];for(const i of e){const a=await bue.toPlainText(i.answer);r.push({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:a}})}const n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r};return t&&(n.name=t),n}let yu="ClickView";const D6e={setProduct(e){yu=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:s,preload:l}=e;return{title:ql({title:t,phraseContext:i,product:s||yu}),description:Vl({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:a,hrefLang:o,preload:l,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:s}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:s||yu}),description:Vl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:I6e(t,r,o),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},getClipMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i}},getInteractiveMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getPlaylistMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getSeriesMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getClassificationMetadata(e){const{content:{classification:t,dashboard:r},canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:s}=e;function l(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.title} | ${s||yu}`:ql({title:t==null?void 0:t.name,phraseContext:i,product:s||yu})}function c(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.description:Vl({title:t==null?void 0:t.name,phraseContext:i})}return{title:l(),description:c(),canonicalLink:n,allowIndexing:a,jsonLd:r&&O6e(t,r),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,product:o}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:o||yu}),description:Vl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await P6e(e,t)}};function k6e(e){let t=e;t._helperUsed||(t=D6e.getDefaultMetadata(t)),Hoe(t.title);const r=YPe();if(!r.hasProvider)throw vr.throw(new xn("PageMetadataContext must exist in your application to use this hook"));pe.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const N6e="_container_2feax_1",L6e={container:N6e},M6e="reportsDefault.error",dee=pr.encloseNamespace(M6e),$6e=33,F6e={application:dr.DASHBOARD,action:Zr.Dashboard.HOME};function Tue(e){var i,a,o,s,l,c,d,h,v;k6e({title:((i=e.error)==null?void 0:i.heading)||dee("defaultPageTitle")});const[t]=pe.useState(Nk.getRandomInt($6e)+1),r=e.imageUrl??Wm.Errors.SmallAvatar.replace("{number}",t.toString()),n=((a=e.error)==null?void 0:a.cta)!==!1&&((s=(o=e.error)==null?void 0:o.cta)!=null&&s.appLink?(l=e.error)==null?void 0:l.cta.appLink:!((d=(c=e.error)==null?void 0:c.cta)!=null&&d.url)&&F6e);return e.error?V.jsxs(Eu,{className:`bg-white ${L6e.container}`,children:[V.jsx(Eu.Image,{src:r}),V.jsx(Eu.Heading,{children:e.error.heading}),!!e.error.description&&V.jsx(Eu.Info,{children:e.error.description}),e.error.cta!==!1&&V.jsx(Eu.Cta,{text:((h=e.error.cta)==null?void 0:h.text)??dee("goHome"),className:`btn btn-dark ${e.error.description?"mt-n2":""}`,appLink:n,href:(v=e.error.cta)==null?void 0:v.url})]}):V.jsx(V.Fragment,{})}const j6e=Object.freeze(Object.defineProperty({__proto__:null,ErrorView:Tue},Symbol.toStringTag,{value:"Module"})),U6e="_content_19qzp_1",q6e="_collapsedNavHeader_19qzp_4",V6e="_collapsedNavContent_19qzp_5",B6e="_openNavHeader_19qzp_8",H6e="_openNavContent_19qzp_9",z6e="_mask_19qzp_12",W6e="_alertContainer_19qzp_15",G6e="_lockedWidth_19qzp_21",Su={content:U6e,collapsedNavHeader:q6e,collapsedNavContent:V6e,openNavHeader:B6e,openNavContent:H6e,mask:z6e,alertContainer:W6e,lockedWidth:G6e};function Y6e(e,t,r){const n=e?Vd.Collapsed:Vd.Open;return r?{state:Vd.Hidden,showMask:!1}:t?{state:n,showMask:!e,contentClass:Su.collapsedNavContent,headerClass:Su.collapsedNavHeader}:{state:n,showMask:!1,contentClass:e?Su.collapsedNavContent:Su.openNavContent,headerClass:e?Su.collapsedNavHeader:Su.openNavHeader}}function K6e(e){const[t,r]=wa(po.LEFT_NAV_STATE,e.state);return sr.useEffect(()=>{r(e.state)},[e.state]),t}function X6e(e){const[t,r]=sr.useState(e);return sr.useEffect(()=>{r(e)},[e]),[t,r]}function Q6e(){const{appLink:e}=gc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},{from:r,to:n,rangeName:i}=t,[a,o]=wa(po.DATE_RANGE_QUERY_PARAMS,{}),s={};r&&(s.from=r),n&&(s.to=n),i&&(s.rangeName=i),sr.useEffect(()=>{Ui.isEqual(a,s)||o(s)},[a,s])}function J6e(){const{appLink:e}=gc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},[r,n]=wa(po.AUDIENCE_QUERY_PARAMS,{}),i=o=>{const s=t[o];if(s)return Array.isArray(s)?s:[s]},a={users:i("users"),classrooms:i("classrooms"),classroomGroups:i("classroomGroups")};sr.useEffect(()=>{Ui.isEqual(r,a)||n(a)},[r,a])}function Z6e(e){FMe(),jMe(),Q6e(),J6e();const t=eDe(),r=t===fa.XS,n=t===fa.SM,i=t===fa.XXL,a=!i&&t!==fa.XL,[o,s]=X6e(!i),l=Y6e(o,r||n,!!e.hideNav),c=K6e(l);let d=`${a?"container-fluid":"container"} px-3`;return e.hideHeader&&(d+=" pt-5"),pe.useEffect(()=>{document.body.style.overflowY="scroll"},[]),V.jsx(yO,{renderError:()=>Tue({error:new uf}),children:V.jsxs("div",{className:Su.lockedWidth,children:[!e.hideHeader&&V.jsx(tUe,{className:l.headerClass,containerFluid:a}),V.jsx(kUe,{navState:c,toggleNav:s,headerHidden:e.hideHeader}),V.jsx("div",{className:`${Su.content} ${l.contentClass??""}`,children:V.jsxs("div",{className:d,children:[V.jsx(yO,{throwError:uf,children:e.contentChild}),V.jsx(UMe,{})]})}),V.jsx(yO,{throwError:ZPe,children:e.popupChild}),l.showMask&&V.jsx("div",{className:`modal-backdrop show ${Su.mask}`}),!!e.alertChild&&V.jsx("div",{className:Su.alertContainer,children:e.alertChild})]})})}function e5e(e){return V.jsx(Yie,{store:e.store,children:V.jsx(KPe,{children:V.jsx(QPe,{children:V.jsx(JPe,{children:V.jsx(Z6e,{...e})})})})})}class t5e extends APe{constructor(t){super(t),this.childComponents={}}get name(){return"ReportsLayoutView"}get title(){return!1}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region"></div>'}static getCacheKey(){return gs.REPORTS_LAYOUT}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Fr.CONTENT],popupChild:this.childComponents[Fr.POPUP],alertChild:this.childComponents[Fr.ALERT],store:this.options.store,hideNav:this.options.hideNav,hideHeader:this.options.hideHeader}}unsetRegion(t){delete this.childComponents[t],this.renderLayout()}closePopup(){this.unsetRegion(Fr.POPUP)}showChildView(t,r){this.childComponents[t]=r,this.renderLayout()}renderLayout(){super.showChildView("layout",V.jsx(e5e,{...this.getChildComponents()}))}}function r5e(e,t){e.registerLayout(gs.REPORTS_LAYOUT,t5e),t(e)}function n5e(e,t,r){B_.setUpVariables({isDevelopment:!1}),r(e,t)}function i5e(e){var t,r=e.Symbol;return typeof r=="function"?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}var Od;typeof self<"u"?Od=self:typeof window<"u"?Od=window:typeof globalThis<"u"?Od=globalThis:typeof module<"u"?Od=module:Od=Function("return this")();var hee=i5e(Od),fI=function(){return Math.random().toString(36).substring(7).split("").join(".")},zv={INIT:"@@redux/INIT"+fI(),REPLACE:"@@redux/REPLACE"+fI(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fI()}};function a5e(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Rue(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error("Expected the enhancer to be a function.");return r(Rue)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],s=o,l=!1;function c(){s===o&&(s=o.slice())}function d(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function h(E){if(typeof E!="function")throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var y=!0;return c(),s.push(E),function(){if(y){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");y=!1,c();var b=s.indexOf(E);s.splice(b,1)}}}function v(E){if(!a5e(E))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof E.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=i(a,E)}finally{l=!1}for(var y=o=s,w=0;w<y.length;w++){var b=y[w];b()}return E}function g(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");i=E,v({type:zv.REPLACE})}function S(){var E,y=h;return E={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function A(){b.next&&b.next(d())}A();var R=y(A);return{unsubscribe:R}}},E[hee]=function(){return this},E}return v({type:zv.INIT}),n={dispatch:v,subscribe:h,getState:d,replaceReducer:g},n[hee]=S,n}function o5e(e,t){var r=t&&t.type,n=r&&'action "'+String(r)+'"'||"an action";return"Given "+n+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s5e(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:zv.INIT});if(typeof n>"u")throw new Error('Reducer "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:zv.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+zv.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function u5e(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{s5e(r)}catch(s){o=s}return function(l,c){if(l===void 0&&(l={}),o)throw o;for(var d=!1,h={},v=0;v<a.length;v++){var g=a[v],S=r[g],E=l[g],y=S(E,c);if(typeof y>"u"){var w=o5e(g,c);throw new Error(w)}h[g]=y,d=d||y!==E}return d?h:l}}function l5e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vee(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function c5e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vee(r,!0).forEach(function(n){l5e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vee(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f5e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function d5e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=t.map(function(l){return l(o)});return a=f5e.apply(void 0,s)(i.dispatch),c5e({},i,{dispatch:a})}}}function h5e(e){const{authenticationError:t}=e;return function(){return n=>i=>{var o;const a=i;if(i.type===co.API_ERROR&&t&&((o=a==null?void 0:a.xhr)==null?void 0:o.status)===U_.Unauthorized)return vr.throw(new t("dark"));if(i.type!==co.API_RESPONSE){n(i);return}n(i)}}}function v5e(e,t){return typeof t.payload.dataOrKey=="string"&&t.payload.keyData!==void 0?{...e,[t.payload.viewModelKey]:{...e[t.payload.viewModelKey],[t.payload.dataOrKey]:t.payload.keyData}}:typeof t.payload.dataOrKey=="object"&&Array.isArray(t.payload.dataOrKey)?{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}:{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}}function p5e(e={},t){switch(t.type){case Wk.UPDATE:return v5e(e,t)}return e}const Tm="shared.authentication";class g5e extends Ff{constructor(t){super(pr.getPhrase(Tm,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:pr.getPhrase(Tm,"heading"),text:pr.getPhrase(Tm,"body"),buttons:[{text:pr.getPhrase(Tm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}const Bd={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,o,s,l;const r=gy(e.getState(),cl.TOKEN),n=Bd.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){xh(e.dispatch,t);return}if(r.isFetching){let c=!1;const d=e.subscribe(()=>{d(),!c&&(c=!0,Bd.getToken(e,t))});return}r.hasError?((a=t.error)==null||a.call(t,{status:r.statusCode,getResponseHeader:null}),(o=t.always)==null||o.call(t)):((s=t.success)==null||s.call(t,r.data),(l=t.always)==null||l.call(t))},async getTokenAsync(e){const t=xue.getToken();return t||new Promise((r,n)=>{const i=o=>r(o),a=o=>n(o);Bd.getToken(e,zi.token(i,a))})}},m5e=ia.Router.prototype._routeToRegExp("share/embed/:id(/)"),y5e=ia.Router.prototype._routeToRegExp("videos/embed/:id(/)"),xue={applyToken(e){const t=gc.getCurrentRoute().appLink,r=Kn.getHref({...t,params:{...typeof t.params=="object"?t.params:{},embedToken:e==null?void 0:e.value,localTTL:e==null?void 0:e.localTTL,a:!0}});Yn.PageLoad(r)},getToken(){const e=ia.history.getFragment(Yn.GetCurrentPath()),t=m5e.test(e),r=y5e.test(e);if(!t&&!r||!window.URLSearchParams)return null;const n=new URLSearchParams(window.location.search),i=n.get("embedToken"),a=parseInt(n.get("localTTL"));if(!i||!a)return null;const o={value:i,localTTL:isNaN(a)?null:a};return Bd.hasTokenExpired(o)?null:o}};function _5e(){const e=xue.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Bd.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const pee={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function S5e(e){return async function(r,n){const i=Object.keys(pee).find(o=>r.resource.startsWith(o));if(!i)return n(r);function a(o,s){const l=o[pee[i]],c={...r,resource:kI.safeUrlConcat(l,r.resource.split(`${i}/`)[1])};s!=null&&s.value&&(c.headers={...c.headers??{},authorization:`Bearer ${s.value}`}),n(c)}try{const o=await Ka(e,sf.config());if(!(await Ka(e,zi.currentUser())).isAuthenticated){a(o);return}const l=await Bd.getTokenAsync(e);a(o,l)}catch{n(r)}}}const gee=/\(([^()]*)\)/g;function E5e(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function w5e(e,t){function r(n){return function(a){const o=t[a];if(typeof o=="string"){n.useAsync(E5e(a,o));return}o&&n.useAsync(o)}}return function(i,a){var v;const o=new $d,s=new $d,l={resource:i.resource,store:e},c={resource:null,store:e},d=(v=i.data)==null?void 0:v.ogql;if(decodeURIComponent(i.resource).replace(gee,r(o)),d){const g=JSON.stringify(i.data.ogql);c.resource=g,g.replace(gee,r(s))}o.goAsync(l,g=>{s.goAsync(c,S=>{a({...i,resource:g.resource,data:d?{...i.data,ogql:JSON.parse(S.resource)}:i.data})})})}}function b5e(e,t){return function(n){const i=new $d;i.useAsync(S5e(e.store)),i.useAsync(w5e(e.store,t)),i.useAsync(_5e()),i.goAsync(n,a=>{PI(a)})}}const T5e=[wr.ShareToGoogleClassroom,wr.ShareToMicrosoftTeams,wr.ShareOverrideRestrictions,wr.HasClassrooms,wr.HasShareFlowV2];function R5e(e){return function(r,n){const i=T5e.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const x5e={[Ji.CLIP]:"_parentVideo",[Ji.CLIP_COLLECTION]:"_parentVideo[_rating],_thumbnail",[Ji.INTERACTIVE]:"_parentClip,_parentVideo",[Ji.INTERACTIVE_COLLECTION]:"_parentVideo[_rating],_parentClip,_thumbnail",[Ji.VIDEO_COLLECTION]:"thumbnail,series","(customerSettings)":R5e("(customerSettings)"),"(userSettings)":""};function C5e(e,t){const r=u5e({flightData:Kbe,viewModelData:p5e}),n=Bbe({fetchData:b5e(e,x5e),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:rP.STANDARD}),i=h5e({authenticationError:g5e});function a(s){e.registerStore(s),t(),delete window.bootstrapData}const o=Rue(r,d5e(n,i));a(o)}async function A5e(e,t){try{const r=await ik(e.store.dispatch,sf.config());Dy.initialize({product:No.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl}),t(e)}catch{t(e)}}const mee={locale(){return{url:"/api/locale",key:"locale",bootstrapName:cl.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:cl.PHRASES}}};async function O5e(e,t){let r;try{r=Ka(e.store,mee.phrases());const n=Ka(e.store,mee.locale());pr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}const EN=new mwe({region:"#app",layoutService:new pwe({})});EN.addInitializationStep(C5e).addInitializationStep(O5e).addInitializationStep(BCe).addInitializationStep(zCe).addInitializationStep(KCe).addInitializationStep(_Pe).addInitializationStep(ZRe).addInitializationStep(r5e).addInitializationStep(CPe).addInitializationStep(A5e);EN.addStartUpStep(n5e);EN.start();export{BRe as $,Zr as A,cn as B,sf as C,Qi as D,Aae as E,gi as F,Vae as G,QAe as H,y0 as I,ip as J,np as K,pr as L,bk as M,oZ as N,Eu as O,ka as P,Ho as Q,Nk as R,t2e as S,lp as T,zi as U,po as V,Kse as W,AMe as X,p3e as Y,Ea as Z,dae as _,k6e as a,Rh as a$,jt as a0,tf as a1,WI as a2,Zs as a3,Bse as a4,tc as a5,_Ie as a6,sP as a7,Js as a8,w3e as a9,Cv as aA,Os as aB,pae as aC,Bn as aD,Kr as aE,W2e as aF,B2e as aG,No as aH,sDe as aI,Lr as aJ,Av as aK,a0 as aL,Yn as aM,Cae as aN,tl as aO,Jm as aP,s2e as aQ,a2e as aR,i2e as aS,Wse as aT,Kl as aU,qn as aV,Xse as aW,O2e as aX,Qse as aY,z1e as aZ,Zwe as a_,Iy as aa,zl as ab,EMe as ac,eg as ad,Gp as ae,Xu as af,Pd as ag,Ui as ah,zk as ai,wse as aj,wr as ak,Lf as al,hae as am,xh as an,Z_ as ao,Xs as ap,XCe as aq,Ube as ar,JZ as as,Pa as at,ec as au,En as av,dn as aw,Ff as ax,JRe as ay,vr as az,_c as b,YIe as b$,t1e as b0,kie as b1,W1e as b2,N1e as b3,jp as b4,Th as b5,V1e as b6,XD as b7,W_ as b8,f1e as b9,oDe as bA,aN as bB,wn as bC,jbe as bD,Wm as bE,da as bF,xn as bG,Jl as bH,eh as bI,Ji as bJ,F4e as bK,L4e as bL,WZ as bM,GZ as bN,B4e as bO,VAe as bP,Kn as bQ,gc as bR,IMe as bS,mi as bT,pP as bU,F5e as bV,kn as bW,Uv as bX,U_ as bY,$Me as bZ,jAe as b_,ZD as ba,Mie as bb,Oie as bc,w1e as bd,Rie as be,p1e as bf,Ywe as bg,Die as bh,n1e as bi,Up as bj,Y1e as bk,F1e as bl,G1e as bm,Iie as bn,H1e as bo,ji as bp,UAe as bq,$5e as br,M5e as bs,L5e as bt,Boe as bu,Em as bv,iue as bw,Yu as bx,ci as by,g3e as bz,wa as c,tP as c0,jd as c1,Lv as c2,q5e as c3,KZ as c4,zae as c5,eOe as c6,tOe as c7,ts as c8,fa as c9,kde as cA,Mde as cB,Cte as cC,Spe as cD,xpe as cE,yce as cF,afe as cG,JP as cH,Ghe as cI,Zhe as cJ,bPe as cK,$f as cL,Dy as cM,Jse as cN,uf as cO,Vbe as cP,Gje as cQ,Iae as cR,Md as cS,Qs as cT,Vp as cU,R4e as ca,OI as cb,BI as cc,P5e as cd,Jv as ce,UK as cf,FTe as cg,aX as ch,URe as ci,mk as cj,kAe as ck,jRe as cl,VRe as cm,Rpe as cn,q_ as co,VI as cp,Hie as cq,qRe as cr,HRe as cs,kk as ct,el as cu,iPe as cv,uce as cw,tce as cx,Zy as cy,ode as cz,fN as d,V5e as e,zZ as f,dr as g,Ri as h,os as i,V as j,U5e as k,sn as l,YZ as m,uN as n,hp as o,sr as p,j5e as q,pe as r,ln as s,Tue as t,Ii as u,Xa as v,zoe as w,Dd as x,Cn as y,yOe as z};
224
- //# sourceMappingURL=app-5iiM5qQY.js.map