@clickview/streamable-learning 0.36.0 → 0.36.1-dev.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 (437) hide show
  1. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  2. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  3. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  4. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  5. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  6. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  7. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  8. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  9. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  10. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  11. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  12. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  13. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  14. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  15. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  16. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  17. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  18. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  19. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  20. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  21. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  22. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  23. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  24. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  25. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  26. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  27. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  28. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  29. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  30. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  31. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  32. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  33. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  34. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  35. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  36. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  37. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  38. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  39. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  40. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  41. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  42. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  43. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  44. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  45. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  46. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  47. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  48. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  49. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  50. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  51. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  52. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  53. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  54. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  55. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  56. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  57. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  58. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  59. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  60. package/dist/bundles.json +2 -2
  61. package/dist/css/B-attovs.chunk.css +9 -0
  62. package/dist/css/B1NucFMn.chunk.css +1 -0
  63. package/dist/css/BPdg7JW4.chunk.css +1 -0
  64. package/dist/css/BPrUSCaY.chunk.css +1 -0
  65. package/dist/css/BR0fUt9D.chunk.css +1 -0
  66. package/dist/css/BhYm6SRm.chunk.css +1 -0
  67. package/dist/css/BiRz4h1c.chunk.css +1 -0
  68. package/dist/css/Bq1ChJn4.chunk.css +1 -0
  69. package/dist/css/Bt85j9js.chunk.css +1 -0
  70. package/dist/css/BuYrqi9E.chunk.css +1 -0
  71. package/dist/css/BugV1Bpa.chunk.css +1 -0
  72. package/dist/css/BuuVPl7n.chunk.css +1 -0
  73. package/dist/css/C1NkrNqQ.chunk.css +1 -0
  74. package/dist/css/C1qv5jz5.chunk.css +1 -0
  75. package/dist/css/C7XoyEPr.chunk.css +1 -0
  76. package/dist/css/C7_MDu56.chunk.css +1 -0
  77. package/dist/css/CC5F5C8O.chunk.css +1 -0
  78. package/dist/css/CChSC6Ta.chunk.css +1 -0
  79. package/dist/css/CCsCPLDG.chunk.css +1 -0
  80. package/dist/css/CD1qrI1T.chunk.css +1 -0
  81. package/dist/css/CKqvCBj4.chunk.css +1 -0
  82. package/dist/css/CLZ0Ycds.chunk.css +1 -0
  83. package/dist/css/CO7M4rZW.chunk.css +1 -0
  84. package/dist/css/CY0yvCW4.chunk.css +1 -0
  85. package/dist/css/CYGsw8FT.chunk.css +1 -0
  86. package/dist/css/Cbi3KYBa.chunk.css +1 -0
  87. package/dist/css/CgWQu_Ss.chunk.css +1 -0
  88. package/dist/css/CliS8Q8r.chunk.css +1 -0
  89. package/dist/css/D-kQKsZN.chunk.css +1 -0
  90. package/dist/css/D2NwUVrK.chunk.css +1 -0
  91. package/dist/css/D4g1IoUU.chunk.css +1 -0
  92. package/dist/css/DBgpcO3T.chunk.css +1 -0
  93. package/dist/css/DDnpOnVB.chunk.css +1 -0
  94. package/dist/css/DZJSONGP.chunk.css +1 -0
  95. package/dist/css/DeAfaPiD.chunk.css +1 -0
  96. package/dist/css/Dj731zLm.chunk.css +1 -0
  97. package/dist/css/DjPPxa0A.chunk.css +1 -0
  98. package/dist/css/DlOtoSz0.chunk.css +1 -0
  99. package/dist/css/DwduQat7.chunk.css +1 -0
  100. package/dist/css/Dzuu2GTx.chunk.css +1 -0
  101. package/dist/css/JAvsJreH.chunk.css +1 -0
  102. package/dist/css/NKlFYVOc.chunk.css +1 -0
  103. package/dist/css/VZd8qGtK.chunk.css +1 -0
  104. package/dist/css/Y7U--2na.chunk.css +1 -0
  105. package/dist/css/ir3IcK_l.chunk.css +1 -0
  106. package/dist/css/jbMisi9r.chunk.css +1 -0
  107. package/dist/css/kS5aDtIJ.chunk.css +1 -0
  108. package/dist/css/mqCL1o7m.chunk.css +1 -0
  109. package/dist/css/qZzkUeZk.chunk.css +1 -0
  110. package/dist/css/sC_H3yXE.chunk.css +1 -0
  111. package/dist/css/wR_6C_NV.chunk.css +1 -0
  112. package/dist/en.json +1 -0
  113. package/dist/scripts/38Gc6FvJ.chunk.js +2 -0
  114. package/dist/scripts/38Gc6FvJ.chunk.js.map +1 -0
  115. package/dist/scripts/9vP26Hjl.chunk.js +2 -0
  116. package/dist/scripts/9vP26Hjl.chunk.js.map +1 -0
  117. package/dist/scripts/B-YTLo4E.chunk.js +2 -0
  118. package/dist/scripts/B-YTLo4E.chunk.js.map +1 -0
  119. package/dist/scripts/B2rqAGbQ.chunk.js +2 -0
  120. package/dist/scripts/B2rqAGbQ.chunk.js.map +1 -0
  121. package/dist/scripts/B46nd_gM.chunk.js +2 -0
  122. package/dist/scripts/B46nd_gM.chunk.js.map +1 -0
  123. package/dist/scripts/B61dxODs.chunk.js +2 -0
  124. package/dist/scripts/B61dxODs.chunk.js.map +1 -0
  125. package/dist/scripts/B928Y1m-.chunk.js +2 -0
  126. package/dist/scripts/B928Y1m-.chunk.js.map +1 -0
  127. package/dist/scripts/BBnDr_iy.chunk.js +2 -0
  128. package/dist/scripts/BBnDr_iy.chunk.js.map +1 -0
  129. package/dist/scripts/BDwX0xO5.chunk.js +7 -0
  130. package/dist/scripts/BDwX0xO5.chunk.js.map +1 -0
  131. package/dist/scripts/BFcg4phV.chunk.js +15 -0
  132. package/dist/scripts/BFcg4phV.chunk.js.map +1 -0
  133. package/dist/scripts/BOH3SvVi.chunk.js +2 -0
  134. package/dist/scripts/BOH3SvVi.chunk.js.map +1 -0
  135. package/dist/scripts/BPzvNgkA.chunk.js +10 -0
  136. package/dist/scripts/BPzvNgkA.chunk.js.map +1 -0
  137. package/dist/scripts/BWkYFXR0.chunk.js +2 -0
  138. package/dist/scripts/BWkYFXR0.chunk.js.map +1 -0
  139. package/dist/scripts/BYrL8Bl0.chunk.js +2 -0
  140. package/dist/scripts/BYrL8Bl0.chunk.js.map +1 -0
  141. package/dist/scripts/BaMuTXqa.chunk.js +2 -0
  142. package/dist/scripts/BaMuTXqa.chunk.js.map +1 -0
  143. package/dist/scripts/Bbj3u3zY.chunk.js +2 -0
  144. package/dist/scripts/Bbj3u3zY.chunk.js.map +1 -0
  145. package/dist/scripts/Bd-gJLT1.chunk.js +2 -0
  146. package/dist/scripts/Bd-gJLT1.chunk.js.map +1 -0
  147. package/dist/scripts/BdHxGaRy.chunk.js +2 -0
  148. package/dist/scripts/BdHxGaRy.chunk.js.map +1 -0
  149. package/dist/scripts/BdPgUz8g.chunk.js +2 -0
  150. package/dist/scripts/BdPgUz8g.chunk.js.map +1 -0
  151. package/dist/scripts/Be6BKGLG.chunk.js +356 -0
  152. package/dist/scripts/Be6BKGLG.chunk.js.map +1 -0
  153. package/dist/scripts/BfK6q73t.chunk.js +8 -0
  154. package/dist/scripts/BfK6q73t.chunk.js.map +1 -0
  155. package/dist/scripts/Bg1w511R.chunk.js +2 -0
  156. package/dist/scripts/Bg1w511R.chunk.js.map +1 -0
  157. package/dist/scripts/Bg6K2hsA.chunk.js +3 -0
  158. package/dist/scripts/Bg6K2hsA.chunk.js.map +1 -0
  159. package/dist/scripts/BiLpxxSD.chunk.js +2 -0
  160. package/dist/scripts/BiLpxxSD.chunk.js.map +1 -0
  161. package/dist/scripts/BmN5JsPi.chunk.js +5 -0
  162. package/dist/scripts/BmN5JsPi.chunk.js.map +1 -0
  163. package/dist/scripts/BnSh6tRF.chunk.js +2 -0
  164. package/dist/scripts/BnSh6tRF.chunk.js.map +1 -0
  165. package/dist/scripts/Bnt14Hw8.chunk.js +2 -0
  166. package/dist/scripts/Bnt14Hw8.chunk.js.map +1 -0
  167. package/dist/scripts/BpRVTpnA.chunk.js +8 -0
  168. package/dist/scripts/BpRVTpnA.chunk.js.map +1 -0
  169. package/dist/scripts/BsoISj2P.chunk.js +2 -0
  170. package/dist/scripts/BsoISj2P.chunk.js.map +1 -0
  171. package/dist/scripts/BuNZOfIz.chunk.js +2 -0
  172. package/dist/scripts/BuNZOfIz.chunk.js.map +1 -0
  173. package/dist/scripts/BvQxdtl3.chunk.js +2 -0
  174. package/dist/scripts/BvQxdtl3.chunk.js.map +1 -0
  175. package/dist/scripts/C2zcSUEr.chunk.js +2 -0
  176. package/dist/scripts/C2zcSUEr.chunk.js.map +1 -0
  177. package/dist/scripts/C35NlkUr.chunk.js +2 -0
  178. package/dist/scripts/C35NlkUr.chunk.js.map +1 -0
  179. package/dist/scripts/C5Fq7Tf-.chunk.js +2 -0
  180. package/dist/scripts/C5Fq7Tf-.chunk.js.map +1 -0
  181. package/dist/scripts/CD-ZU1Sa.chunk.js +2 -0
  182. package/dist/scripts/CD-ZU1Sa.chunk.js.map +1 -0
  183. package/dist/scripts/CEmtkty-.chunk.js +2 -0
  184. package/dist/scripts/CEmtkty-.chunk.js.map +1 -0
  185. package/dist/scripts/CO1Up6zQ.chunk.js +2 -0
  186. package/dist/scripts/CO1Up6zQ.chunk.js.map +1 -0
  187. package/dist/scripts/CPNjAJN5.chunk.js +2 -0
  188. package/dist/scripts/CPNjAJN5.chunk.js.map +1 -0
  189. package/dist/scripts/CPXlV0fg.chunk.js +2 -0
  190. package/dist/scripts/CPXlV0fg.chunk.js.map +1 -0
  191. package/dist/scripts/CQJIB_e-.chunk.js +2 -0
  192. package/dist/scripts/CQJIB_e-.chunk.js.map +1 -0
  193. package/dist/scripts/CRusuLqR.chunk.js +2 -0
  194. package/dist/scripts/CRusuLqR.chunk.js.map +1 -0
  195. package/dist/scripts/CTWahyAB.chunk.js +2 -0
  196. package/dist/scripts/CTWahyAB.chunk.js.map +1 -0
  197. package/dist/scripts/CU5Dd7rS.chunk.js +2 -0
  198. package/dist/scripts/CU5Dd7rS.chunk.js.map +1 -0
  199. package/dist/scripts/CW7x8M-z.chunk.js +2 -0
  200. package/dist/scripts/CW7x8M-z.chunk.js.map +1 -0
  201. package/dist/scripts/CX-Bc0hf.chunk.js +2 -0
  202. package/dist/scripts/CX-Bc0hf.chunk.js.map +1 -0
  203. package/dist/scripts/CY1om5lx.chunk.js +2 -0
  204. package/dist/scripts/CY1om5lx.chunk.js.map +1 -0
  205. package/dist/scripts/C_79jeAr.chunk.js +2 -0
  206. package/dist/scripts/C_79jeAr.chunk.js.map +1 -0
  207. package/dist/scripts/C_pobyVf.chunk.js +3 -0
  208. package/dist/scripts/C_pobyVf.chunk.js.map +1 -0
  209. package/dist/scripts/Cgf5lDwO.chunk.js +2 -0
  210. package/dist/scripts/Cgf5lDwO.chunk.js.map +1 -0
  211. package/dist/scripts/Ci9wGu6N.chunk.js +2 -0
  212. package/dist/scripts/Ci9wGu6N.chunk.js.map +1 -0
  213. package/dist/scripts/Cmu1J2M7.chunk.js +262 -0
  214. package/dist/scripts/Cmu1J2M7.chunk.js.map +1 -0
  215. package/dist/scripts/Cp-yDIHE.chunk.js +2 -0
  216. package/dist/scripts/Cp-yDIHE.chunk.js.map +1 -0
  217. package/dist/scripts/CqWRz_Vd.chunk.js +2 -0
  218. package/dist/scripts/CqWRz_Vd.chunk.js.map +1 -0
  219. package/dist/scripts/Cs-XAmfP.chunk.js +2 -0
  220. package/dist/scripts/Cs-XAmfP.chunk.js.map +1 -0
  221. package/dist/scripts/CsxsnXoH.chunk.js +2 -0
  222. package/dist/scripts/CsxsnXoH.chunk.js.map +1 -0
  223. package/dist/scripts/CvuMDF0y.chunk.js +2 -0
  224. package/dist/scripts/CvuMDF0y.chunk.js.map +1 -0
  225. package/dist/scripts/CwRpHtAf.chunk.js +2 -0
  226. package/dist/scripts/CwRpHtAf.chunk.js.map +1 -0
  227. package/dist/scripts/D4OCofAF.chunk.js +2 -0
  228. package/dist/scripts/D4OCofAF.chunk.js.map +1 -0
  229. package/dist/scripts/D4x4hAdA.chunk.js +2 -0
  230. package/dist/scripts/D4x4hAdA.chunk.js.map +1 -0
  231. package/dist/scripts/DBaknZA7.chunk.js +2 -0
  232. package/dist/scripts/DBaknZA7.chunk.js.map +1 -0
  233. package/dist/scripts/DBdD19pY.chunk.js +53 -0
  234. package/dist/scripts/DBdD19pY.chunk.js.map +1 -0
  235. package/dist/scripts/DELBynwO.chunk.js +2 -0
  236. package/dist/scripts/DELBynwO.chunk.js.map +1 -0
  237. package/dist/scripts/DEixuHfi.chunk.js +2 -0
  238. package/dist/scripts/DEixuHfi.chunk.js.map +1 -0
  239. package/dist/scripts/DFhkO_lZ.chunk.js +2 -0
  240. package/dist/scripts/DFhkO_lZ.chunk.js.map +1 -0
  241. package/dist/scripts/DIIFVn0p.chunk.js +2 -0
  242. package/dist/scripts/DIIFVn0p.chunk.js.map +1 -0
  243. package/dist/scripts/DIhfGjAK.chunk.js +2 -0
  244. package/dist/scripts/DIhfGjAK.chunk.js.map +1 -0
  245. package/dist/scripts/DK1p1ffZ.chunk.js +2 -0
  246. package/dist/scripts/DK1p1ffZ.chunk.js.map +1 -0
  247. package/dist/scripts/DK6BRHnl.chunk.js +2 -0
  248. package/dist/scripts/DK6BRHnl.chunk.js.map +1 -0
  249. package/dist/scripts/DNbkIXc2.chunk.js +2 -0
  250. package/dist/scripts/DNbkIXc2.chunk.js.map +1 -0
  251. package/dist/scripts/DRmZj7Fw.chunk.js +2 -0
  252. package/dist/scripts/DRmZj7Fw.chunk.js.map +1 -0
  253. package/dist/scripts/DTcDjqUi.chunk.js +8 -0
  254. package/dist/scripts/DTcDjqUi.chunk.js.map +1 -0
  255. package/dist/scripts/DVmtgkhY.chunk.js +2 -0
  256. package/dist/scripts/DVmtgkhY.chunk.js.map +1 -0
  257. package/dist/scripts/DWkg1qc2.chunk.js +2 -0
  258. package/dist/scripts/DWkg1qc2.chunk.js.map +1 -0
  259. package/dist/scripts/D_nzH8Cw.chunk.js +2 -0
  260. package/dist/scripts/D_nzH8Cw.chunk.js.map +1 -0
  261. package/dist/scripts/DaJTPRJr.chunk.js +2 -0
  262. package/dist/scripts/DaJTPRJr.chunk.js.map +1 -0
  263. package/dist/scripts/Dal4C0kV.chunk.js +2 -0
  264. package/dist/scripts/Dal4C0kV.chunk.js.map +1 -0
  265. package/dist/scripts/DecSY6Xq.chunk.js +2 -0
  266. package/dist/scripts/DecSY6Xq.chunk.js.map +1 -0
  267. package/dist/scripts/DgL-ti6b.chunk.js +2 -0
  268. package/dist/scripts/DgL-ti6b.chunk.js.map +1 -0
  269. package/dist/scripts/Dhn0D6IV.chunk.js +2 -0
  270. package/dist/scripts/Dhn0D6IV.chunk.js.map +1 -0
  271. package/dist/scripts/DuidBpWd.chunk.js +2 -0
  272. package/dist/scripts/DuidBpWd.chunk.js.map +1 -0
  273. package/dist/scripts/DvDdiDQN.chunk.js +7 -0
  274. package/dist/scripts/DvDdiDQN.chunk.js.map +1 -0
  275. package/dist/scripts/Dx9ncX-C.chunk.js +2 -0
  276. package/dist/scripts/Dx9ncX-C.chunk.js.map +1 -0
  277. package/dist/scripts/Dxt3JwJz.chunk.js +2 -0
  278. package/dist/scripts/Dxt3JwJz.chunk.js.map +1 -0
  279. package/dist/scripts/Dy57waqb.chunk.js +2 -0
  280. package/dist/scripts/Dy57waqb.chunk.js.map +1 -0
  281. package/dist/scripts/DzLh2mnb.chunk.js +2 -0
  282. package/dist/scripts/DzLh2mnb.chunk.js.map +1 -0
  283. package/dist/scripts/F-K8Bwdk.chunk.js +2 -0
  284. package/dist/scripts/F-K8Bwdk.chunk.js.map +1 -0
  285. package/dist/scripts/G4u5okSS.chunk.js +2 -0
  286. package/dist/scripts/G4u5okSS.chunk.js.map +1 -0
  287. package/dist/scripts/KAizYpNf.chunk.js +2 -0
  288. package/dist/scripts/KAizYpNf.chunk.js.map +1 -0
  289. package/dist/scripts/LIBRZSqN.chunk.js +8 -0
  290. package/dist/scripts/LIBRZSqN.chunk.js.map +1 -0
  291. package/dist/scripts/LgZBXsgq.chunk.js +2 -0
  292. package/dist/scripts/LgZBXsgq.chunk.js.map +1 -0
  293. package/dist/scripts/QlJI4d4R.chunk.js +2 -0
  294. package/dist/scripts/QlJI4d4R.chunk.js.map +1 -0
  295. package/dist/scripts/ShERxFU5.chunk.js +2 -0
  296. package/dist/scripts/ShERxFU5.chunk.js.map +1 -0
  297. package/dist/scripts/Ynb9IAgu.chunk.js +2 -0
  298. package/dist/scripts/Ynb9IAgu.chunk.js.map +1 -0
  299. package/dist/scripts/_8CvUiOV.chunk.js +2 -0
  300. package/dist/scripts/_8CvUiOV.chunk.js.map +1 -0
  301. package/dist/scripts/aXDrx9_z.chunk.js +6 -0
  302. package/dist/scripts/aXDrx9_z.chunk.js.map +1 -0
  303. package/dist/scripts/app-DiXzpOyg.js +220 -0
  304. package/dist/scripts/app-DiXzpOyg.js.map +1 -0
  305. package/dist/scripts/bww2eGbI.chunk.js +2 -0
  306. package/dist/scripts/bww2eGbI.chunk.js.map +1 -0
  307. package/dist/scripts/cvX-F_mx.chunk.js +2 -0
  308. package/dist/scripts/cvX-F_mx.chunk.js.map +1 -0
  309. package/dist/scripts/gtdeja1H.chunk.js +2 -0
  310. package/dist/scripts/gtdeja1H.chunk.js.map +1 -0
  311. package/dist/scripts/m9wd_474.chunk.js +2 -0
  312. package/dist/scripts/m9wd_474.chunk.js.map +1 -0
  313. package/dist/scripts/nay4aGaa.chunk.js +2 -0
  314. package/dist/scripts/nay4aGaa.chunk.js.map +1 -0
  315. package/dist/scripts/pkzD5BEm.chunk.js +2 -0
  316. package/dist/scripts/pkzD5BEm.chunk.js.map +1 -0
  317. package/dist/scripts/qO6ZefON.chunk.js +2 -0
  318. package/dist/scripts/qO6ZefON.chunk.js.map +1 -0
  319. package/dist/scripts/s4utqqzH.chunk.js +2 -0
  320. package/dist/scripts/s4utqqzH.chunk.js.map +1 -0
  321. package/dist/scripts/sxyRyCzh.chunk.js +2 -0
  322. package/dist/scripts/sxyRyCzh.chunk.js.map +1 -0
  323. package/dist/scripts/tzNty_oG.chunk.js +2 -0
  324. package/dist/scripts/tzNty_oG.chunk.js.map +1 -0
  325. package/dist/scripts/vjyJbQe4.chunk.js +2 -0
  326. package/dist/scripts/vjyJbQe4.chunk.js.map +1 -0
  327. package/dist/scripts/vuoBilPQ.chunk.js +2 -0
  328. package/dist/scripts/vuoBilPQ.chunk.js.map +1 -0
  329. package/dist/scripts/vwgUbn2Z.chunk.js +2 -0
  330. package/dist/scripts/vwgUbn2Z.chunk.js.map +1 -0
  331. package/dist/scripts/wOGv44_K.chunk.js +2 -0
  332. package/dist/scripts/wOGv44_K.chunk.js.map +1 -0
  333. package/dist/scripts/xbvkqJGe.chunk.js +2 -0
  334. package/dist/scripts/xbvkqJGe.chunk.js.map +1 -0
  335. package/dist/scripts/xywWSa0t.chunk.js +2 -0
  336. package/dist/scripts/xywWSa0t.chunk.js.map +1 -0
  337. package/dist/scripts/zUz4ZfV2.chunk.js +2 -0
  338. package/dist/scripts/zUz4ZfV2.chunk.js.map +1 -0
  339. package/package.json +5 -3
  340. package/typings/utils/imports.d.ts +2 -1
  341. package/vite.config.ts +6 -0
  342. package/dist/css/103-streamable-learning-5060b6cda5.chunk.css +0 -7
  343. package/dist/css/1269-streamable-learning-a12c4ebc99.chunk.css +0 -2
  344. package/dist/css/1457-streamable-learning-c8c8b3b9b1.chunk.css +0 -50
  345. package/dist/css/2334-streamable-learning-de03ae073a.chunk.css +0 -2
  346. package/dist/css/3322-streamable-learning-510e1aa3f3.chunk.css +0 -34
  347. package/dist/css/3838-streamable-learning-da10685fe8.chunk.css +0 -22
  348. package/dist/css/4254-streamable-learning-e493f4a027.chunk.css +0 -2
  349. package/dist/css/4607-streamable-learning-2605302fc2.chunk.css +0 -90
  350. package/dist/css/4772-streamable-learning-f83b838d71.chunk.css +0 -9
  351. package/dist/css/5565-streamable-learning-0caae3809b.chunk.css +0 -13
  352. package/dist/css/6017-streamable-learning-098a205d01.chunk.css +0 -6
  353. package/dist/css/6356-streamable-learning-8c5b220bf6.chunk.css +0 -1
  354. package/dist/css/6987-streamable-learning-8f682301c6.chunk.css +0 -1
  355. package/dist/css/7317-streamable-learning-b5d226bbb6.chunk.css +0 -5
  356. package/dist/css/8058-streamable-learning-539cf7be18.chunk.css +0 -12
  357. package/dist/css/8294-streamable-learning-c797263ac2.chunk.css +0 -1
  358. package/dist/css/8496-streamable-learning-ce19f6ca52.chunk.css +0 -13
  359. package/dist/css/8601-streamable-learning-f525210660.chunk.css +0 -6
  360. package/dist/css/9514-streamable-learning-251703c6d1.chunk.css +0 -2
  361. package/dist/css/9766-streamable-learning-31650ffe5d.chunk.css +0 -8
  362. package/dist/css/9842-streamable-learning-24729103f7.chunk.css +0 -4
  363. package/dist/css/9899-streamable-learning-0338f8d2dc.chunk.css +0 -4
  364. package/dist/css/9951-streamable-learning-e9a916b2ef.chunk.css +0 -99
  365. package/dist/css/streamable-learning-dd0c1095d5.css +0 -23
  366. package/dist/languages/en.json +0 -1
  367. package/dist/scripts/103-aceced8961-streamable-learning.chunk.js +0 -1
  368. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js +0 -2
  369. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js.LICENSE.txt +0 -105
  370. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js +0 -2
  371. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js.LICENSE.txt +0 -1
  372. package/dist/scripts/1457-899f40d09a-streamable-learning.chunk.js +0 -1
  373. package/dist/scripts/1482-b1dd75897c-streamable-learning.chunk.js +0 -1
  374. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js +0 -2
  375. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js.LICENSE.txt +0 -9
  376. package/dist/scripts/2042-d51622d63e-streamable-learning.chunk.js +0 -1
  377. package/dist/scripts/2087-eba9033b1c-streamable-learning.chunk.js +0 -1
  378. package/dist/scripts/2245-8cd3224e1b-streamable-learning.chunk.js +0 -1
  379. package/dist/scripts/2334-00b028191d-streamable-learning.chunk.js +0 -1
  380. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js +0 -2
  381. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js.LICENSE.txt +0 -1
  382. package/dist/scripts/2877-5ffc9711f6-streamable-learning.chunk.js +0 -1
  383. package/dist/scripts/2911-2ec3a6600a-streamable-learning.chunk.js +0 -1
  384. package/dist/scripts/3057-731a8ca978-streamable-learning.chunk.js +0 -1
  385. package/dist/scripts/3093-efbcc927ea-streamable-learning.chunk.js +0 -1
  386. package/dist/scripts/3186-d1a6ccffde-streamable-learning.chunk.js +0 -1
  387. package/dist/scripts/3322-33c015dec9-streamable-learning.chunk.js +0 -1
  388. package/dist/scripts/3472-50ca92bde3-streamable-learning.chunk.js +0 -1
  389. package/dist/scripts/3838-4a38f33dc2-streamable-learning.chunk.js +0 -1
  390. package/dist/scripts/3941-2ef15ca9ac-streamable-learning.chunk.js +0 -1
  391. package/dist/scripts/4254-1e95cdfdf2-streamable-learning.chunk.js +0 -1
  392. package/dist/scripts/4607-2ef017d2ae-streamable-learning.chunk.js +0 -2
  393. package/dist/scripts/4607-2ef017d2ae-streamable-learning.chunk.js.LICENSE.txt +0 -1
  394. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js +0 -2
  395. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js.LICENSE.txt +0 -1
  396. package/dist/scripts/4951-df701c6a8d-streamable-learning.chunk.js +0 -1
  397. package/dist/scripts/5088-2e09e1ba6e-streamable-learning.chunk.js +0 -1
  398. package/dist/scripts/5173-a800a17d0d-streamable-learning.chunk.js +0 -1
  399. package/dist/scripts/5446-2cbe9f9d1b-streamable-learning.chunk.js +0 -1
  400. package/dist/scripts/5543-205aaa36a6-streamable-learning.chunk.js +0 -1
  401. package/dist/scripts/5565-224d86dc1b-streamable-learning.chunk.js +0 -1
  402. package/dist/scripts/578-2cc99f46f7-streamable-learning.chunk.js +0 -1
  403. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js +0 -2
  404. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js.LICENSE.txt +0 -1
  405. package/dist/scripts/6356-eefa3ff22e-streamable-learning.chunk.js +0 -1
  406. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js +0 -2
  407. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js.LICENSE.txt +0 -1
  408. package/dist/scripts/6987-e58de31cfe-streamable-learning.chunk.js +0 -1
  409. package/dist/scripts/7317-6b7186c85d-streamable-learning.chunk.js +0 -1
  410. package/dist/scripts/7347-772848ba8a-streamable-learning.chunk.js +0 -1
  411. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js +0 -2
  412. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js.LICENSE.txt +0 -1
  413. package/dist/scripts/7904-96574373ca-streamable-learning.chunk.js +0 -1
  414. package/dist/scripts/7925-1e1cfa2a04-streamable-learning.chunk.js +0 -1
  415. package/dist/scripts/8058-51c4b442d6-streamable-learning.chunk.js +0 -1
  416. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js +0 -2
  417. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js.LICENSE.txt +0 -60
  418. package/dist/scripts/8397-39ce77876d-streamable-learning.chunk.js +0 -1
  419. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js +0 -2
  420. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js.LICENSE.txt +0 -1
  421. package/dist/scripts/8599-b74e1ab6e3-streamable-learning.chunk.js +0 -1
  422. package/dist/scripts/8601-37783cf18b-streamable-learning.chunk.js +0 -1
  423. package/dist/scripts/8819-2a50dd6a9b-streamable-learning.chunk.js +0 -1
  424. package/dist/scripts/8937-5103db88d8-streamable-learning.chunk.js +0 -1
  425. package/dist/scripts/9390-bbaf07ad0f-streamable-learning.chunk.js +0 -1
  426. package/dist/scripts/9514-a31ca9af06-streamable-learning.chunk.js +0 -1
  427. package/dist/scripts/9766-855b276f54-streamable-learning.chunk.js +0 -2
  428. package/dist/scripts/9766-855b276f54-streamable-learning.chunk.js.LICENSE.txt +0 -1
  429. package/dist/scripts/9842-ca3b069e5d-streamable-learning.chunk.js +0 -1
  430. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js +0 -2
  431. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js.LICENSE.txt +0 -1
  432. package/dist/scripts/9951-122cbba64f-streamable-learning.chunk.js +0 -2
  433. package/dist/scripts/9951-122cbba64f-streamable-learning.chunk.js.LICENSE.txt +0 -1
  434. package/dist/scripts/bundle-d51fd463b2.min.js +0 -2
  435. package/dist/scripts/bundle-d51fd463b2.min.js.LICENSE.txt +0 -108
  436. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js +0 -2
  437. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js.LICENSE.txt +0 -21
@@ -0,0 +1,220 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/B61dxODs.chunk.js","scripts/xywWSa0t.chunk.js","scripts/s4utqqzH.chunk.js","scripts/BaMuTXqa.chunk.js","css/Cbi3KYBa.chunk.css","scripts/DzLh2mnb.chunk.js","scripts/D4x4hAdA.chunk.js","scripts/DgL-ti6b.chunk.js","css/CC5F5C8O.chunk.css","scripts/nay4aGaa.chunk.js","scripts/DecSY6Xq.chunk.js","scripts/BWkYFXR0.chunk.js","css/ir3IcK_l.chunk.css","css/Bt85j9js.chunk.css","scripts/CO1Up6zQ.chunk.js","scripts/BmN5JsPi.chunk.js","scripts/CX-Bc0hf.chunk.js","css/CCsCPLDG.chunk.css","scripts/DK6BRHnl.chunk.js","scripts/CEmtkty-.chunk.js","scripts/DaJTPRJr.chunk.js","scripts/DBaknZA7.chunk.js","css/B1NucFMn.chunk.css","scripts/DIhfGjAK.chunk.js","scripts/tzNty_oG.chunk.js","scripts/BsoISj2P.chunk.js","scripts/BOH3SvVi.chunk.js","scripts/vwgUbn2Z.chunk.js","scripts/C2zcSUEr.chunk.js","scripts/BdHxGaRy.chunk.js","scripts/DuidBpWd.chunk.js","css/qZzkUeZk.chunk.css","scripts/Bg1w511R.chunk.js","scripts/DEixuHfi.chunk.js","css/CKqvCBj4.chunk.css","scripts/DNbkIXc2.chunk.js","scripts/CPXlV0fg.chunk.js","css/DeAfaPiD.chunk.css","css/BR0fUt9D.chunk.css","scripts/xbvkqJGe.chunk.js","scripts/BFcg4phV.chunk.js","scripts/QlJI4d4R.chunk.js","scripts/vuoBilPQ.chunk.js","scripts/Bnt14Hw8.chunk.js","css/BiRz4h1c.chunk.css","scripts/cvX-F_mx.chunk.js","scripts/CU5Dd7rS.chunk.js","css/DlOtoSz0.chunk.css","css/D4g1IoUU.chunk.css","scripts/BnSh6tRF.chunk.js","scripts/qO6ZefON.chunk.js","scripts/pkzD5BEm.chunk.js","scripts/CPNjAJN5.chunk.js","css/BugV1Bpa.chunk.css","scripts/B46nd_gM.chunk.js","css/D-kQKsZN.chunk.css","scripts/Ynb9IAgu.chunk.js","scripts/DTcDjqUi.chunk.js","scripts/LIBRZSqN.chunk.js","scripts/Ci9wGu6N.chunk.js","css/D2NwUVrK.chunk.css","scripts/KAizYpNf.chunk.js","css/C7_MDu56.chunk.css","scripts/sxyRyCzh.chunk.js","css/CYGsw8FT.chunk.css","scripts/BBnDr_iy.chunk.js","scripts/C5Fq7Tf-.chunk.js","scripts/C_pobyVf.chunk.js","scripts/DFhkO_lZ.chunk.js","css/jbMisi9r.chunk.css","scripts/ShERxFU5.chunk.js","css/C7XoyEPr.chunk.css","css/CChSC6Ta.chunk.css","scripts/DWkg1qc2.chunk.js","css/CO7M4rZW.chunk.css","scripts/9vP26Hjl.chunk.js","scripts/aXDrx9_z.chunk.js","scripts/CW7x8M-z.chunk.js","scripts/C35NlkUr.chunk.js","css/CY0yvCW4.chunk.css","scripts/DRmZj7Fw.chunk.js","scripts/DBdD19pY.chunk.js","scripts/Bbj3u3zY.chunk.js","scripts/Dhn0D6IV.chunk.js","scripts/DIIFVn0p.chunk.js","scripts/Bg6K2hsA.chunk.js","css/C1NkrNqQ.chunk.css","scripts/BvQxdtl3.chunk.js","scripts/bww2eGbI.chunk.js","css/BPdg7JW4.chunk.css","css/DjPPxa0A.chunk.css","css/CliS8Q8r.chunk.css","scripts/D_nzH8Cw.chunk.js","css/kS5aDtIJ.chunk.css","scripts/wOGv44_K.chunk.js","scripts/m9wd_474.chunk.js","scripts/CqWRz_Vd.chunk.js","css/BuYrqi9E.chunk.css","css/CgWQu_Ss.chunk.css","scripts/CQJIB_e-.chunk.js","scripts/F-K8Bwdk.chunk.js","css/DZJSONGP.chunk.css","scripts/BiLpxxSD.chunk.js","scripts/gtdeja1H.chunk.js","scripts/D4OCofAF.chunk.js","css/Bq1ChJn4.chunk.css","scripts/CY1om5lx.chunk.js","scripts/Cgf5lDwO.chunk.js","css/Dj731zLm.chunk.css","scripts/Dx9ncX-C.chunk.js","scripts/38Gc6FvJ.chunk.js","scripts/CTWahyAB.chunk.js","scripts/CsxsnXoH.chunk.js","scripts/B2rqAGbQ.chunk.js","css/DDnpOnVB.chunk.css","scripts/BYrL8Bl0.chunk.js","scripts/vjyJbQe4.chunk.js","scripts/B928Y1m-.chunk.js","css/VZd8qGtK.chunk.css","scripts/BDwX0xO5.chunk.js","scripts/G4u5okSS.chunk.js","css/NKlFYVOc.chunk.css","scripts/Cs-XAmfP.chunk.js","scripts/DvDdiDQN.chunk.js","scripts/CvuMDF0y.chunk.js","css/Dzuu2GTx.chunk.css","css/C1qv5jz5.chunk.css","scripts/DVmtgkhY.chunk.js","scripts/Dxt3JwJz.chunk.js","css/CLZ0Ycds.chunk.css","scripts/_8CvUiOV.chunk.js","css/Y7U--2na.chunk.css","scripts/C_79jeAr.chunk.js","scripts/BuNZOfIz.chunk.js","css/JAvsJreH.chunk.css","scripts/BPzvNgkA.chunk.js","scripts/CwRpHtAf.chunk.js","css/B-attovs.chunk.css","scripts/Bd-gJLT1.chunk.js","css/BPrUSCaY.chunk.css","scripts/zUz4ZfV2.chunk.js","css/DwduQat7.chunk.css","scripts/B-YTLo4E.chunk.js","scripts/Dal4C0kV.chunk.js","css/sC_H3yXE.chunk.css","scripts/Be6BKGLG.chunk.js","scripts/CD-ZU1Sa.chunk.js","scripts/BdPgUz8g.chunk.js","css/mqCL1o7m.chunk.css","scripts/BpRVTpnA.chunk.js","css/BhYm6SRm.chunk.css","scripts/Cp-yDIHE.chunk.js","css/BuuVPl7n.chunk.css","scripts/Dy57waqb.chunk.js","scripts/BfK6q73t.chunk.js","css/wR_6C_NV.chunk.css","scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css","scripts/DK1p1ffZ.chunk.js"])))=>i.map(i=>d[i]);
2
+ var Jse=Object.defineProperty;var eue=(e,t,r)=>t in e?Jse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ai=(e,t,r)=>eue(e,typeof t!="symbol"?t+"":t,r);function Ln(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function I8e(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 X0={exports:{}},dD;function tue(){return dD||(dD=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,o=typeof Symbol=="function"?Symbol:{},l=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d(L,I,N){return Object.defineProperty(L,I,{value:N,enumerable:!0,configurable:!0,writable:!0}),L[I]}try{d({},"")}catch{d=function(I,N,re){return I[N]=re}}function h(L,I,N,re){var ee=I&&I.prototype instanceof b?I:b,ce=Object.create(ee.prototype),be=new X(re||[]);return ce._invoke=F(L,N,be),ce}r.wrap=h;function p(L,I,N){try{return{type:"normal",arg:L.call(I,N)}}catch(re){return{type:"throw",arg:re}}}var g="suspendedStart",m="suspendedYield",_="executing",E="completed",w={};function b(){}function x(){}function T(){}var A={};d(A,l,function(){return this});var O=Object.getPrototypeOf,y=O&&O(O(te([])));y&&y!==n&&i.call(y,l)&&(A=y);var P=T.prototype=b.prototype=Object.create(A);x.prototype=T,d(P,"constructor",T),d(T,"constructor",x),x.displayName=d(T,c,"GeneratorFunction");function D(L){["next","throw","return"].forEach(function(I){d(L,I,function(N){return this._invoke(I,N)})})}r.isGeneratorFunction=function(L){var I=typeof L=="function"&&L.constructor;return I?I===x||(I.displayName||I.name)==="GeneratorFunction":!1},r.mark=function(L){return Object.setPrototypeOf?Object.setPrototypeOf(L,T):(L.__proto__=T,d(L,c,"GeneratorFunction")),L.prototype=Object.create(P),L},r.awrap=function(L){return{__await:L}};function V(L,I){function N(ce,be,Ie,je){var z=p(L[ce],L,be);if(z.type==="throw")je(z.arg);else{var k=z.arg,U=k.value;return U&&typeof U=="object"&&i.call(U,"__await")?I.resolve(U.__await).then(function(H){N("next",H,Ie,je)},function(H){N("throw",H,Ie,je)}):I.resolve(U).then(function(H){k.value=H,Ie(k)},function(H){return N("throw",H,Ie,je)})}}var re;function ee(ce,be){function Ie(){return new I(function(je,z){N(ce,be,je,z)})}return re=re?re.then(Ie,Ie):Ie()}this._invoke=ee}D(V.prototype),d(V.prototype,s,function(){return this}),r.AsyncIterator=V,r.async=function(L,I,N,re,ee){ee===void 0&&(ee=Promise);var ce=new V(h(L,I,N,re),ee);return r.isGeneratorFunction(I)?ce:ce.next().then(function(be){return be.done?be.value:ce.next()})};function F(L,I,N){var re=g;return function(ce,be){if(re===_)throw new Error("Generator is already running");if(re===E){if(ce==="throw")throw be;return ue()}for(N.method=ce,N.arg=be;;){var Ie=N.delegate;if(Ie){var je=B(Ie,N);if(je){if(je===w)continue;return je}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(re===g)throw re=E,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);re=_;var z=p(L,I,N);if(z.type==="normal"){if(re=N.done?E:m,z.arg===w)continue;return{value:z.arg,done:N.done}}else z.type==="throw"&&(re=E,N.method="throw",N.arg=z.arg)}}}function B(L,I){var N=L.iterator[I.method];if(N===a){if(I.delegate=null,I.method==="throw"){if(L.iterator.return&&(I.method="return",I.arg=a,B(L,I),I.method==="throw"))return w;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var re=p(N,L.iterator,I.arg);if(re.type==="throw")return I.method="throw",I.arg=re.arg,I.delegate=null,w;var ee=re.arg;if(!ee)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,w;if(ee.done)I[L.resultName]=ee.value,I.next=L.nextLoc,I.method!=="return"&&(I.method="next",I.arg=a);else return ee;return I.delegate=null,w}D(P),d(P,c,"Generator"),d(P,l,function(){return this}),d(P,"toString",function(){return"[object Generator]"});function K(L){var I={tryLoc:L[0]};1 in L&&(I.catchLoc=L[1]),2 in L&&(I.finallyLoc=L[2],I.afterLoc=L[3]),this.tryEntries.push(I)}function Q(L){var I=L.completion||{};I.type="normal",delete I.arg,L.completion=I}function X(L){this.tryEntries=[{tryLoc:"root"}],L.forEach(K,this),this.reset(!0)}r.keys=function(L){var I=[];for(var N in L)I.push(N);return I.reverse(),function re(){for(;I.length;){var ee=I.pop();if(ee in L)return re.value=ee,re.done=!1,re}return re.done=!0,re}};function te(L){if(L){var I=L[l];if(I)return I.call(L);if(typeof L.next=="function")return L;if(!isNaN(L.length)){var N=-1,re=function ee(){for(;++N<L.length;)if(i.call(L,N))return ee.value=L[N],ee.done=!1,ee;return ee.value=a,ee.done=!0,ee};return re.next=re}}return{next:ue}}r.values=te;function ue(){return{value:a,done:!0}}return X.prototype={constructor:X,reset:function(L){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(Q),!L)for(var I in this)I.charAt(0)==="t"&&i.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=a)},stop:function(){this.done=!0;var L=this.tryEntries[0],I=L.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(L){if(this.done)throw L;var I=this;function N(je,z){return ce.type="throw",ce.arg=L,I.next=je,z&&(I.method="next",I.arg=a),!!z}for(var re=this.tryEntries.length-1;re>=0;--re){var ee=this.tryEntries[re],ce=ee.completion;if(ee.tryLoc==="root")return N("end");if(ee.tryLoc<=this.prev){var be=i.call(ee,"catchLoc"),Ie=i.call(ee,"finallyLoc");if(be&&Ie){if(this.prev<ee.catchLoc)return N(ee.catchLoc,!0);if(this.prev<ee.finallyLoc)return N(ee.finallyLoc)}else if(be){if(this.prev<ee.catchLoc)return N(ee.catchLoc,!0)}else if(Ie){if(this.prev<ee.finallyLoc)return N(ee.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(L,I){for(var N=this.tryEntries.length-1;N>=0;--N){var re=this.tryEntries[N];if(re.tryLoc<=this.prev&&i.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var ee=re;break}}ee&&(L==="break"||L==="continue")&&ee.tryLoc<=I&&I<=ee.finallyLoc&&(ee=null);var ce=ee?ee.completion:{};return ce.type=L,ce.arg=I,ee?(this.method="next",this.next=ee.finallyLoc,w):this.complete(ce)},complete:function(L,I){if(L.type==="throw")throw L.arg;return L.type==="break"||L.type==="continue"?this.next=L.arg:L.type==="return"?(this.rval=this.arg=L.arg,this.method="return",this.next="end"):L.type==="normal"&&I&&(this.next=I),w},finish:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.finallyLoc===L)return this.complete(N.completion,N.afterLoc),Q(N),w}},catch:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.tryLoc===L){var re=N.completion;if(re.type==="throw"){var ee=re.arg;Q(N)}return ee}}throw new Error("illegal catch attempt")},delegateYield:function(L,I,N){return this.delegate={iterator:te(L),resultName:I,nextLoc:N},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)}})(X0)),X0.exports}tue();var hD={},pD={},Vh,vD;function er(){if(vD)return Vh;vD=1;var e=function(t){return t&&t.Math===Math&&t};return Vh=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof Vh=="object"&&Vh)||(function(){return this})()||Function("return this")(),Vh}var Q0={},Z0,gD;function Bt(){return gD||(gD=1,Z0=function(e){try{return!!e()}catch{return!0}}),Z0}var J0,mD;function Dr(){if(mD)return J0;mD=1;var e=Bt();return J0=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),J0}var e_,yD;function Up(){if(yD)return e_;yD=1;var e=Bt();return e_=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),e_}var t_,_D;function wr(){if(_D)return t_;_D=1;var e=Up(),t=Function.prototype.call;return t_=e?t.bind(t):function(){return t.apply(t,arguments)},t_}var r_={},SD;function ly(){if(SD)return r_;SD=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return r_.f=r?function(i){var a=t(this,i);return!!a&&a.enumerable}:e,r_}var n_,ED;function es(){return ED||(ED=1,n_=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),n_}var i_,wD;function Kt(){if(wD)return i_;wD=1;var e=Up(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return i_=e?n:function(i){return function(){return r.apply(i,arguments)}},i_}var a_,bD;function Va(){if(bD)return a_;bD=1;var e=Kt(),t=e({}.toString),r=e("".slice);return a_=function(n){return r(t(n),8,-1)},a_}var o_,CD;function qd(){if(CD)return o_;CD=1;var e=Kt(),t=Bt(),r=Va(),n=Object,i=e("".split);return o_=t(function(){return!n("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):n(a)}:n,o_}var s_,TD;function rl(){return TD||(TD=1,s_=function(e){return e==null}),s_}var u_,AD;function Ri(){if(AD)return u_;AD=1;var e=rl(),t=TypeError;return u_=function(r){if(e(r))throw new t("Can't call method on "+r);return r},u_}var l_,RD;function ma(){if(RD)return l_;RD=1;var e=qd(),t=Ri();return l_=function(r){return e(t(r))},l_}var c_,xD;function Sn(){if(xD)return c_;xD=1;var e=typeof document=="object"&&document.all;return c_=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},c_}var f_,OD;function Gr(){if(OD)return f_;OD=1;var e=Sn();return f_=function(t){return typeof t=="object"?t!==null:e(t)},f_}var d_,ID;function gn(){if(ID)return d_;ID=1;var e=er(),t=Sn(),r=function(n){return t(n)?n:void 0};return d_=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},d_}var h_,PD;function oo(){if(PD)return h_;PD=1;var e=Kt();return h_=e({}.isPrototypeOf),h_}var p_,kD;function mu(){if(kD)return p_;kD=1;var e=er(),t=e.navigator,r=t&&t.userAgent;return p_=r?String(r):"",p_}var v_,DD;function yu(){if(DD)return v_;DD=1;var e=er(),t=mu(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,a=i&&i.v8,o,l;return a&&(o=a.split("."),l=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(l=+o[1]))),v_=l,v_}var g_,LD;function Vd(){if(LD)return g_;LD=1;var e=yu(),t=Bt(),r=er(),n=r.String;return g_=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),g_}var m_,ND;function cJ(){if(ND)return m_;ND=1;var e=Vd();return m_=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",m_}var y_,MD;function tf(){if(MD)return y_;MD=1;var e=gn(),t=Sn(),r=oo(),n=cJ(),i=Object;return y_=n?function(a){return typeof a=="symbol"}:function(a){var o=e("Symbol");return t(o)&&r(o.prototype,i(a))},y_}var __,$D;function rf(){if($D)return __;$D=1;var e=String;return __=function(t){try{return e(t)}catch{return"Object"}},__}var S_,FD;function mn(){if(FD)return S_;FD=1;var e=Sn(),t=rf(),r=TypeError;return S_=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},S_}var E_,jD;function Aa(){if(jD)return E_;jD=1;var e=mn(),t=rl();return E_=function(r,n){var i=r[n];return t(i)?void 0:e(i)},E_}var w_,UD;function fJ(){if(UD)return w_;UD=1;var e=wr(),t=Sn(),r=Gr(),n=TypeError;return w_=function(i,a){var o,l;if(a==="string"&&t(o=i.toString)&&!r(l=e(o,i))||t(o=i.valueOf)&&!r(l=e(o,i))||a!=="string"&&t(o=i.toString)&&!r(l=e(o,i)))return l;throw new n("Can't convert object to primitive value")},w_}var b_={exports:{}},C_,qD;function Nn(){return qD||(qD=1,C_=!1),C_}var T_,VD;function xI(){if(VD)return T_;VD=1;var e=er(),t=Object.defineProperty;return T_=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},T_}var HD;function cy(){if(HD)return b_.exports;HD=1;var e=Nn(),t=er(),r=xI(),n="__core-js_shared__",i=b_.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"}),b_.exports}var A_,BD;function Hd(){if(BD)return A_;BD=1;var e=cy();return A_=function(t,r){return e[t]||(e[t]=r||{})},A_}var R_,zD;function In(){if(zD)return R_;zD=1;var e=Ri(),t=Object;return R_=function(r){return t(e(r))},R_}var x_,WD;function yn(){if(WD)return x_;WD=1;var e=Kt(),t=In(),r=e({}.hasOwnProperty);return x_=Object.hasOwn||function(i,a){return r(t(i),a)},x_}var O_,GD;function Bd(){if(GD)return O_;GD=1;var e=Kt(),t=0,r=Math.random(),n=e(1.1.toString);return O_=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},O_}var I_,KD;function Kr(){if(KD)return I_;KD=1;var e=er(),t=Hd(),r=yn(),n=Bd(),i=Vd(),a=cJ(),o=e.Symbol,l=t("wks"),s=a?o.for||o:o&&o.withoutSetter||n;return I_=function(c){return r(l,c)||(l[c]=i&&r(o,c)?o[c]:s("Symbol."+c)),l[c]},I_}var P_,YD;function fy(){if(YD)return P_;YD=1;var e=wr(),t=Gr(),r=tf(),n=Aa(),i=fJ(),a=Kr(),o=TypeError,l=a("toPrimitive");return P_=function(s,c){if(!t(s)||r(s))return s;var d=n(s,l),h;if(d){if(c===void 0&&(c="default"),h=e(d,s,c),!t(h)||r(h))return h;throw new o("Can't convert object to primitive value")}return c===void 0&&(c="number"),i(s,c)},P_}var k_,XD;function Kl(){if(XD)return k_;XD=1;var e=fy(),t=tf();return k_=function(r){var n=e(r,"string");return t(n)?n:n+""},k_}var D_,QD;function dy(){if(QD)return D_;QD=1;var e=er(),t=Gr(),r=e.document,n=t(r)&&t(r.createElement);return D_=function(i){return n?r.createElement(i):{}},D_}var L_,ZD;function dJ(){if(ZD)return L_;ZD=1;var e=Dr(),t=Bt(),r=dy();return L_=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),L_}var JD;function Ra(){if(JD)return Q0;JD=1;var e=Dr(),t=wr(),r=ly(),n=es(),i=ma(),a=Kl(),o=yn(),l=dJ(),s=Object.getOwnPropertyDescriptor;return Q0.f=e?s:function(d,h){if(d=i(d),h=a(h),l)try{return s(d,h)}catch{}if(o(d,h))return n(!t(r.f,d,h),d[h])},Q0}var N_={},M_,e2;function hJ(){if(e2)return M_;e2=1;var e=Dr(),t=Bt();return M_=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),M_}var $_,t2;function Ar(){if(t2)return $_;t2=1;var e=Gr(),t=String,r=TypeError;return $_=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},$_}var r2;function Si(){if(r2)return N_;r2=1;var e=Dr(),t=dJ(),r=hJ(),n=Ar(),i=Kl(),a=TypeError,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";return N_.f=e?r?function(p,g,m){if(n(p),g=i(g),n(m),typeof p=="function"&&g==="prototype"&&"value"in m&&d in m&&!m[d]){var _=l(p,g);_&&_[d]&&(p[g]=m.value,m={configurable:c in m?m[c]:_[c],enumerable:s in m?m[s]:_[s],writable:!1})}return o(p,g,m)}:o:function(p,g,m){if(n(p),g=i(g),n(m),t)try{return o(p,g,m)}catch{}if("get"in m||"set"in m)throw new a("Accessors not supported");return"value"in m&&(p[g]=m.value),p},N_}var F_,n2;function xa(){if(n2)return F_;n2=1;var e=Dr(),t=Si(),r=es();return F_=e?function(n,i,a){return t.f(n,i,r(1,a))}:function(n,i,a){return n[i]=a,n},F_}var j_={exports:{}},U_,i2;function zd(){if(i2)return U_;i2=1;var e=Dr(),t=yn(),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 U_={EXISTS:i,PROPER:a,CONFIGURABLE:o},U_}var q_,a2;function OI(){if(a2)return q_;a2=1;var e=Kt(),t=Sn(),r=cy(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),q_=r.inspectSource,q_}var V_,o2;function pJ(){if(o2)return V_;o2=1;var e=er(),t=Sn(),r=e.WeakMap;return V_=t(r)&&/native code/.test(String(r)),V_}var H_,s2;function hy(){if(s2)return H_;s2=1;var e=Hd(),t=Bd(),r=e("keys");return H_=function(n){return r[n]||(r[n]=t(n))},H_}var B_,u2;function qp(){return u2||(u2=1,B_={}),B_}var z_,l2;function Mi(){if(l2)return z_;l2=1;var e=pJ(),t=er(),r=Gr(),n=xa(),i=yn(),a=cy(),o=hy(),l=qp(),s="Object already initialized",c=t.TypeError,d=t.WeakMap,h,p,g,m=function(b){return g(b)?p(b):h(b,{})},_=function(b){return function(x){var T;if(!r(x)||(T=p(x)).type!==b)throw new c("Incompatible receiver, "+b+" required");return T}};if(e||a.state){var E=a.state||(a.state=new d);E.get=E.get,E.has=E.has,E.set=E.set,h=function(b,x){if(E.has(b))throw new c(s);return x.facade=b,E.set(b,x),x},p=function(b){return E.get(b)||{}},g=function(b){return E.has(b)}}else{var w=o("state");l[w]=!0,h=function(b,x){if(i(b,w))throw new c(s);return x.facade=b,n(b,w,x),x},p=function(b){return i(b,w)?b[w]:{}},g=function(b){return i(b,w)}}return z_={set:h,get:p,has:g,enforce:m,getterFor:_},z_}var c2;function II(){if(c2)return j_.exports;c2=1;var e=Kt(),t=Bt(),r=Sn(),n=yn(),i=Dr(),a=zd().CONFIGURABLE,o=OI(),l=Mi(),s=l.enforce,c=l.get,d=String,h=Object.defineProperty,p=e("".slice),g=e("".replace),m=e([].join),_=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),E=String(String).split("String"),w=j_.exports=function(b,x,T){p(d(x),0,7)==="Symbol("&&(x="["+g(d(x),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(x="get "+x),T&&T.setter&&(x="set "+x),(!n(b,"name")||a&&b.name!==x)&&(i?h(b,"name",{value:x,configurable:!0}):b.name=x),_&&T&&n(T,"arity")&&b.length!==T.arity&&h(b,"length",{value:T.arity});try{T&&n(T,"constructor")&&T.constructor?i&&h(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var A=s(b);return n(A,"source")||(A.source=m(E,typeof x=="string"?x:"")),b};return Function.prototype.toString=w(function(){return r(this)&&c(this).source||o(this)},"toString"),j_.exports}var W_,f2;function Gn(){if(f2)return W_;f2=1;var e=Sn(),t=Si(),r=II(),n=xI();return W_=function(i,a,o,l){l||(l={});var s=l.enumerable,c=l.name!==void 0?l.name:a;if(e(o)&&r(o,c,l),l.global)s?i[a]=o:n(a,o);else{try{l.unsafe?i[a]&&(s=!0):delete i[a]}catch{}s?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return i},W_}var G_={},K_,d2;function vJ(){if(d2)return K_;d2=1;var e=Math.ceil,t=Math.floor;return K_=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},K_}var Y_,h2;function qi(){if(h2)return Y_;h2=1;var e=vJ();return Y_=function(t){var r=+t;return r!==r||r===0?0:e(r)},Y_}var X_,p2;function nl(){if(p2)return X_;p2=1;var e=qi(),t=Math.max,r=Math.min;return X_=function(n,i){var a=e(n);return a<0?t(a+i,0):r(a,i)},X_}var Q_,v2;function ts(){if(v2)return Q_;v2=1;var e=qi(),t=Math.min;return Q_=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},Q_}var Z_,g2;function ti(){if(g2)return Z_;g2=1;var e=ts();return Z_=function(t){return e(t.length)},Z_}var J_,m2;function Vp(){if(m2)return J_;m2=1;var e=ma(),t=nl(),r=ti(),n=function(i){return function(a,o,l){var s=e(a),c=r(s);if(c===0)return!i&&-1;var d=t(l,c),h;if(i&&o!==o){for(;c>d;)if(h=s[d++],h!==h)return!0}else for(;c>d;d++)if((i||d in s)&&s[d]===o)return i||d||0;return!i&&-1}};return J_={includes:n(!0),indexOf:n(!1)},J_}var eS,y2;function gJ(){if(y2)return eS;y2=1;var e=Kt(),t=yn(),r=ma(),n=Vp().indexOf,i=qp(),a=e([].push);return eS=function(o,l){var s=r(o),c=0,d=[],h;for(h in s)!t(i,h)&&t(s,h)&&a(d,h);for(;l.length>c;)t(s,h=l[c++])&&(~n(d,h)||a(d,h));return d},eS}var tS,_2;function PI(){return _2||(_2=1,tS=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),tS}var S2;function nf(){if(S2)return G_;S2=1;var e=gJ(),t=PI(),r=t.concat("length","prototype");return G_.f=Object.getOwnPropertyNames||function(i){return e(i,r)},G_}var rS={},E2;function py(){return E2||(E2=1,rS.f=Object.getOwnPropertySymbols),rS}var nS,w2;function kI(){if(w2)return nS;w2=1;var e=gn(),t=Kt(),r=nf(),n=py(),i=Ar(),a=t([].concat);return nS=e("Reflect","ownKeys")||function(l){var s=r.f(i(l)),c=n.f;return c?a(s,c(l)):s},nS}var iS,b2;function Wd(){if(b2)return iS;b2=1;var e=yn(),t=kI(),r=Ra(),n=Si();return iS=function(i,a,o){for(var l=t(a),s=n.f,c=r.f,d=0;d<l.length;d++){var h=l[d];!e(i,h)&&!(o&&e(o,h))&&s(i,h,c(a,h))}},iS}var aS,C2;function Hp(){if(C2)return aS;C2=1;var e=Bt(),t=Sn(),r=/#|\.prototype\./,n=function(s,c){var d=a[i(s)];return d===l?!0:d===o?!1:t(c)?e(c):!!c},i=n.normalize=function(s){return String(s).replace(r,".").toLowerCase()},a=n.data={},o=n.NATIVE="N",l=n.POLYFILL="P";return aS=n,aS}var oS,T2;function Ve(){if(T2)return oS;T2=1;var e=er(),t=Ra().f,r=xa(),n=Gn(),i=xI(),a=Wd(),o=Hp();return oS=function(l,s){var c=l.target,d=l.global,h=l.stat,p,g,m,_,E,w;if(d?g=e:h?g=e[c]||i(c,{}):g=e[c]&&e[c].prototype,g)for(m in s){if(E=s[m],l.dontCallGetSet?(w=t(g,m),_=w&&w.value):_=g[m],p=o(d?m:c+(h?".":"#")+m,l.forced),!p&&_!==void 0){if(typeof E==typeof _)continue;a(E,_)}(l.sham||_&&_.sham)&&r(E,"sham",!0),n(g,m,E,l)}},oS}var sS,A2;function DI(){if(A2)return sS;A2=1;var e=Kr(),t=e("toStringTag"),r={};return r[t]="z",sS=String(r)==="[object z]",sS}var uS,R2;function rs(){if(R2)return uS;R2=1;var e=DI(),t=Sn(),r=Va(),n=Kr(),i=n("toStringTag"),a=Object,o=r((function(){return arguments})())==="Arguments",l=function(s,c){try{return s[c]}catch{}};return uS=e?r:function(s){var c,d,h;return s===void 0?"Undefined":s===null?"Null":typeof(d=l(c=a(s),i))=="string"?d:o?r(c):(h=r(c))==="Object"&&t(c.callee)?"Arguments":h},uS}var lS,x2;function rn(){if(x2)return lS;x2=1;var e=rs(),t=String;return lS=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},lS}var cS={},fS,O2;function Bp(){if(O2)return fS;O2=1;var e=gJ(),t=PI();return fS=Object.keys||function(n){return e(n,t)},fS}var I2;function LI(){if(I2)return cS;I2=1;var e=Dr(),t=hJ(),r=Si(),n=Ar(),i=ma(),a=Bp();return cS.f=e&&!t?Object.defineProperties:function(l,s){n(l);for(var c=i(s),d=a(s),h=d.length,p=0,g;h>p;)r.f(l,g=d[p++],c[g]);return l},cS}var dS,P2;function mJ(){if(P2)return dS;P2=1;var e=gn();return dS=e("document","documentElement"),dS}var hS,k2;function Oa(){if(k2)return hS;k2=1;var e=Ar(),t=LI(),r=PI(),n=qp(),i=mJ(),a=dy(),o=hy(),l=">",s="<",c="prototype",d="script",h=o("IE_PROTO"),p=function(){},g=function(b){return s+d+l+b+s+"/"+d+l},m=function(b){b.write(g("")),b.close();var x=b.parentWindow.Object;return b=null,x},_=function(){var b=a("iframe"),x="java"+d+":",T;return b.style.display="none",i.appendChild(b),b.src=String(x),T=b.contentWindow.document,T.open(),T.write(g("document.F=Object")),T.close(),T.F},E,w=function(){try{E=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&E?m(E):_():m(E);for(var b=r.length;b--;)delete w[c][r[b]];return w()};return n[h]=!0,hS=Object.create||function(x,T){var A;return x!==null?(p[c]=e(x),A=new p,p[c]=null,A[h]=x):A=w(),T===void 0?A:t.f(A,T)},hS}var pS={},vS,D2;function Ps(){if(D2)return vS;D2=1;var e=Kt();return vS=e([].slice),vS}var L2;function NI(){if(L2)return pS;L2=1;var e=Va(),t=ma(),r=nf().f,n=Ps(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(o){try{return r(o)}catch{return n(i)}};return pS.f=function(l){return i&&e(l)==="Window"?a(l):r(t(l))},pS}var gS,N2;function Gi(){if(N2)return gS;N2=1;var e=II(),t=Si();return gS=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)},gS}var mS={},M2;function yJ(){if(M2)return mS;M2=1;var e=Kr();return mS.f=e,mS}var yS,$2;function vy(){if($2)return yS;$2=1;var e=er();return yS=e,yS}var _S,F2;function Ha(){if(F2)return _S;F2=1;var e=vy(),t=yn(),r=yJ(),n=Si().f;return _S=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||n(a,i,{value:r.f(i)})},_S}var SS,j2;function _J(){if(j2)return SS;j2=1;var e=wr(),t=gn(),r=Kr(),n=Gn();return SS=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,l=r("toPrimitive");a&&!a[l]&&n(a,l,function(s){return e(o,this)},{arity:1})},SS}var ES,U2;function Do(){if(U2)return ES;U2=1;var e=Si().f,t=yn(),r=Kr(),n=r("toStringTag");return ES=function(i,a,o){i&&!o&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:a})},ES}var wS,q2;function af(){if(q2)return wS;q2=1;var e=Va(),t=Kt();return wS=function(r){if(e(r)==="Function")return t(r)},wS}var bS,V2;function ns(){if(V2)return bS;V2=1;var e=af(),t=mn(),r=Up(),n=e(e.bind);return bS=function(i,a){return t(i),a===void 0?i:r?n(i,a):function(){return i.apply(a,arguments)}},bS}var CS,H2;function Yl(){if(H2)return CS;H2=1;var e=Va();return CS=Array.isArray||function(r){return e(r)==="Array"},CS}var TS,B2;function of(){if(B2)return TS;B2=1;var e=Kt(),t=Bt(),r=Sn(),n=rs(),i=gn(),a=OI(),o=function(){},l=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=e(s.exec),d=!s.test(o),h=function(m){if(!r(m))return!1;try{return l(o,[],m),!0}catch{return!1}},p=function(m){if(!r(m))return!1;switch(n(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(s,a(m))}catch{return!0}};return p.sham=!0,TS=!l||t(function(){var g;return h(h.call)||!h(Object)||!h(function(){g=!0})||g})?p:h,TS}var AS,z2;function rue(){if(z2)return AS;z2=1;var e=Yl(),t=of(),r=Gr(),n=Kr(),i=n("species"),a=Array;return AS=function(o){var l;return e(o)&&(l=o.constructor,t(l)&&(l===a||e(l.prototype))?l=void 0:r(l)&&(l=l[i],l===null&&(l=void 0))),l===void 0?a:l},AS}var RS,W2;function zp(){if(W2)return RS;W2=1;var e=rue();return RS=function(t,r){return new(e(t))(r===0?0:r)},RS}var xS,G2;function Ia(){if(G2)return xS;G2=1;var e=ns(),t=Kt(),r=qd(),n=In(),i=ti(),a=zp(),o=t([].push),l=function(s){var c=s===1,d=s===2,h=s===3,p=s===4,g=s===6,m=s===7,_=s===5||g;return function(E,w,b,x){for(var T=n(E),A=r(T),O=i(A),y=e(w,b),P=0,D=x||a,V=c?D(E,O):d||m?D(E,0):void 0,F,B;O>P;P++)if((_||P in A)&&(F=A[P],B=y(F,P,T),s))if(c)V[P]=B;else if(B)switch(s){case 3:return!0;case 5:return F;case 6:return P;case 2:o(V,F)}else switch(s){case 4:return!1;case 7:o(V,F)}return g?-1:h||p?p:V}};return xS={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)},xS}var K2;function nue(){if(K2)return pD;K2=1;var e=Ve(),t=er(),r=wr(),n=Kt(),i=Nn(),a=Dr(),o=Vd(),l=Bt(),s=yn(),c=oo(),d=Ar(),h=ma(),p=Kl(),g=rn(),m=es(),_=Oa(),E=Bp(),w=nf(),b=NI(),x=py(),T=Ra(),A=Si(),O=LI(),y=ly(),P=Gn(),D=Gi(),V=Hd(),F=hy(),B=qp(),K=Bd(),Q=Kr(),X=yJ(),te=Ha(),ue=_J(),L=Do(),I=Mi(),N=Ia().forEach,re=F("hidden"),ee="Symbol",ce="prototype",be=I.set,Ie=I.getterFor(ee),je=Object[ce],z=t.Symbol,k=z&&z[ce],U=t.RangeError,H=t.TypeError,ne=t.QObject,q=T.f,J=A.f,me=b.f,fe=y.f,Te=n([].push),Se=V("symbols"),Oe=V("op-symbols"),Me=V("wks"),de=!ne||!ne[ce]||!ne[ce].findChild,Ee=function(bt,mt,St){var yt=q(je,mt);yt&&delete je[mt],J(bt,mt,St),yt&&bt!==je&&J(je,mt,yt)},_e=a&&l(function(){return _(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a!==7})?Ee:J,Ae=function(bt,mt){var St=Se[bt]=_(k);return be(St,{type:ee,tag:bt,description:mt}),a||(St.description=mt),St},De=function(mt,St,yt){mt===je&&De(Oe,St,yt),d(mt);var at=p(St);return d(yt),s(Se,at)?(yt.enumerable?(s(mt,re)&&mt[re][at]&&(mt[re][at]=!1),yt=_(yt,{enumerable:m(0,!1)})):(s(mt,re)||J(mt,re,m(1,_(null))),mt[re][at]=!0),_e(mt,at,yt)):J(mt,at,yt)},Ne=function(mt,St){d(mt);var yt=h(St),at=E(yt).concat(Qe(yt));return N(at,function(Ft){(!a||r(_t,yt,Ft))&&De(mt,Ft,yt[Ft])}),mt},Be=function(mt,St){return St===void 0?_(mt):Ne(_(mt),St)},_t=function(mt){var St=p(mt),yt=r(fe,this,St);return this===je&&s(Se,St)&&!s(Oe,St)?!1:yt||!s(this,St)||!s(Se,St)||s(this,re)&&this[re][St]?yt:!0},Ut=function(mt,St){var yt=h(mt),at=p(St);if(!(yt===je&&s(Se,at)&&!s(Oe,at))){var Ft=q(yt,at);return Ft&&s(Se,at)&&!(s(yt,re)&&yt[re][at])&&(Ft.enumerable=!0),Ft}},Mt=function(mt){var St=me(h(mt)),yt=[];return N(St,function(at){!s(Se,at)&&!s(B,at)&&Te(yt,at)}),yt},Qe=function(bt){var mt=bt===je,St=me(mt?Oe:h(bt)),yt=[];return N(St,function(at){s(Se,at)&&(!mt||s(je,at))&&Te(yt,Se[at])}),yt};return o||(z=function(){if(c(k,this))throw new H("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),St=K(mt),yt=function(at){var Ft=this===void 0?t:this;Ft===je&&r(yt,Oe,at),s(Ft,re)&&s(Ft[re],St)&&(Ft[re][St]=!1);var At=m(1,at);try{_e(Ft,St,At)}catch(Re){if(!(Re instanceof U))throw Re;Ee(Ft,St,At)}};return a&&de&&_e(je,St,{configurable:!0,set:yt}),Ae(St,mt)},k=z[ce],P(k,"toString",function(){return Ie(this).tag}),P(z,"withoutSetter",function(bt){return Ae(K(bt),bt)}),y.f=_t,A.f=De,O.f=Ne,T.f=Ut,w.f=b.f=Mt,x.f=Qe,X.f=function(bt){return Ae(Q(bt),bt)},a&&(D(k,"description",{configurable:!0,get:function(){return Ie(this).description}}),i||P(je,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:z}),N(E(Me),function(bt){te(bt)}),e({target:ee,stat:!0,forced:!o},{useSetter:function(){de=!0},useSimple:function(){de=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!a},{create:Be,defineProperty:De,defineProperties:Ne,getOwnPropertyDescriptor:Ut}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:Mt}),ue(),L(z,ee),B[re]=!0,pD}var Y2={},OS,X2;function SJ(){if(X2)return OS;X2=1;var e=Vd();return OS=e&&!!Symbol.for&&!!Symbol.keyFor,OS}var Q2;function iue(){if(Q2)return Y2;Q2=1;var e=Ve(),t=gn(),r=yn(),n=rn(),i=Hd(),a=SJ(),o=i("string-to-symbol-registry"),l=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{for:function(s){var c=n(s);if(r(o,c))return o[c];var d=t("Symbol")(c);return o[c]=d,l[d]=c,d}}),Y2}var Z2={},J2;function aue(){if(J2)return Z2;J2=1;var e=Ve(),t=yn(),r=tf(),n=rf(),i=Hd(),a=SJ(),o=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(s){if(!r(s))throw new TypeError(n(s)+" is not a symbol");if(t(o,s))return o[s]}}),Z2}var eL={},IS,tL;function is(){if(tL)return IS;tL=1;var e=Up(),t=Function.prototype,r=t.apply,n=t.call;return IS=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),IS}var PS,rL;function oue(){if(rL)return PS;rL=1;var e=Kt(),t=Yl(),r=Sn(),n=Va(),i=rn(),a=e([].push);return PS=function(o){if(r(o))return o;if(t(o)){for(var l=o.length,s=[],c=0;c<l;c++){var d=o[c];typeof d=="string"?a(s,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&a(s,i(d))}var h=s.length,p=!0;return function(g,m){if(p)return p=!1,m;if(t(this))return m;for(var _=0;_<h;_++)if(s[_]===g)return m}}},PS}var nL;function EJ(){if(nL)return eL;nL=1;var e=Ve(),t=gn(),r=is(),n=wr(),i=Kt(),a=Bt(),o=Sn(),l=tf(),s=Ps(),c=oue(),d=Vd(),h=String,p=t("JSON","stringify"),g=i(/./.exec),m=i("".charAt),_=i("".charCodeAt),E=i("".replace),w=i(1.1.toString),b=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,T=/^[\uDC00-\uDFFF]$/,A=!d||a(function(){var D=t("Symbol")("stringify detection");return p([D])!=="[null]"||p({a:D})!=="{}"||p(Object(D))!=="{}"}),O=a(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),y=function(D,V){var F=s(arguments),B=c(V);if(!(!o(B)&&(D===void 0||l(D))))return F[1]=function(K,Q){if(o(B)&&(Q=n(B,this,h(K),Q)),!l(Q))return Q},r(p,null,F)},P=function(D,V,F){var B=m(F,V-1),K=m(F,V+1);return g(x,D)&&!g(T,K)||g(T,D)&&!g(x,B)?"\\u"+w(_(D,0),16):D};return p&&e({target:"JSON",stat:!0,arity:3,forced:A||O},{stringify:function(V,F,B){var K=s(arguments),Q=r(A?y:p,null,K);return O&&typeof Q=="string"?E(Q,b,P):Q}}),eL}var iL={},aL;function sue(){if(aL)return iL;aL=1;var e=Ve(),t=Vd(),r=Bt(),n=py(),i=In(),a=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(l){var s=n.f;return s?s(i(l)):[]}}),iL}var oL;function uue(){return oL||(oL=1,nue(),iue(),aue(),EJ(),sue()),hD}var sL={},uL;function lue(){if(uL)return sL;uL=1;var e=Ve(),t=Dr(),r=er(),n=Kt(),i=yn(),a=Sn(),o=oo(),l=rn(),s=Gi(),c=Wd(),d=r.Symbol,h=d&&d.prototype;if(t&&a(d)&&(!("description"in h)||d().description!==void 0)){var p={},g=function(){var A=arguments.length<1||arguments[0]===void 0?void 0:l(arguments[0]),O=o(h,this)?new d(A):A===void 0?d():d(A);return A===""&&(p[O]=!0),O};c(g,d),g.prototype=h,h.constructor=g;var m=String(d("description detection"))==="Symbol(description detection)",_=n(h.valueOf),E=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,b=n("".replace),x=n("".slice);s(h,"description",{configurable:!0,get:function(){var A=_(this);if(i(p,A))return"";var O=E(A),y=m?x(O,7,-1):b(O,w,"$1");return y===""?void 0:y}}),e({global:!0,constructor:!0,forced:!0},{Symbol:g})}return sL}var lL={},cL;function cue(){if(cL)return lL;cL=1;var e=er(),t=Ha(),r=Si().f,n=Ra().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 lL}var fL={},dL;function fue(){if(dL)return fL;dL=1;var e=Ha();return e("asyncIterator"),fL}var hL={},pL;function due(){if(pL)return hL;pL=1;var e=er(),t=Ha(),r=Si().f,n=Ra().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 hL}var vL={},gL;function hue(){if(gL)return vL;gL=1;var e=Ha();return e("hasInstance"),vL}var mL={},yL;function pue(){if(yL)return mL;yL=1;var e=Ha();return e("isConcatSpreadable"),mL}var _L={},SL;function vue(){if(SL)return _L;SL=1;var e=Ha();return e("iterator"),_L}var EL={},wL;function gue(){if(wL)return EL;wL=1;var e=Ha();return e("match"),EL}var bL={},CL;function mue(){if(CL)return bL;CL=1;var e=Ha();return e("matchAll"),bL}var TL={},AL;function yue(){if(AL)return TL;AL=1;var e=Ha();return e("replace"),TL}var RL={},xL;function _ue(){if(xL)return RL;xL=1;var e=Ha();return e("search"),RL}var OL={},IL;function Sue(){if(IL)return OL;IL=1;var e=Ha();return e("species"),OL}var PL={},kL;function Eue(){if(kL)return PL;kL=1;var e=Ha();return e("split"),PL}var DL={},LL;function wue(){if(LL)return DL;LL=1;var e=Ha(),t=_J();return e("toPrimitive"),t(),DL}var NL={},ML;function bue(){if(ML)return NL;ML=1;var e=gn(),t=Ha(),r=Do();return t("toStringTag"),r(e("Symbol"),"Symbol"),NL}var $L={},FL;function Cue(){if(FL)return $L;FL=1;var e=Ha();return e("unscopables"),$L}var jL={},kS,UL;function gy(){if(UL)return kS;UL=1;var e=Kt(),t=mn();return kS=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},kS}var DS,qL;function wJ(){if(qL)return DS;qL=1;var e=Gr();return DS=function(t){return e(t)||t===null},DS}var LS,VL;function bJ(){if(VL)return LS;VL=1;var e=wJ(),t=String,r=TypeError;return LS=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},LS}var NS,HL;function Ys(){if(HL)return NS;HL=1;var e=gy(),t=Gr(),r=Ri(),n=bJ();return NS=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(s,c){return r(s),n(c),t(s)&&(i?o(s,c):s.__proto__=c),s}})():void 0),NS}var MS,BL;function CJ(){if(BL)return MS;BL=1;var e=Si().f;return MS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},MS}var $S,zL;function sf(){if(zL)return $S;zL=1;var e=Sn(),t=Gr(),r=Ys();return $S=function(n,i,a){var o,l;return r&&e(o=i.constructor)&&o!==a&&t(l=o.prototype)&&l!==a.prototype&&r(n,l),n},$S}var FS,WL;function Gd(){if(WL)return FS;WL=1;var e=rn();return FS=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},FS}var jS,GL;function TJ(){if(GL)return jS;GL=1;var e=Gr(),t=xa();return jS=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},jS}var US,KL;function MI(){if(KL)return US;KL=1;var e=Kt(),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 US=function(o,l){if(a&&typeof o=="string"&&!t.prepareStackTrace)for(;l--;)o=r(o,i,"");return o},US}var qS,YL;function AJ(){if(YL)return qS;YL=1;var e=Bt(),t=es();return qS=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),qS}var VS,XL;function $I(){if(XL)return VS;XL=1;var e=xa(),t=MI(),r=AJ(),n=Error.captureStackTrace;return VS=function(i,a,o,l){r&&(n?n(i,a):e(i,"stack",t(o,l)))},VS}var HS,QL;function RJ(){if(QL)return HS;QL=1;var e=gn(),t=yn(),r=xa(),n=oo(),i=Ys(),a=Wd(),o=CJ(),l=sf(),s=Gd(),c=TJ(),d=$I(),h=Dr(),p=Nn();return HS=function(g,m,_,E){var w="stackTraceLimit",b=E?2:1,x=g.split("."),T=x[x.length-1],A=e.apply(null,x);if(A){var O=A.prototype;if(!p&&t(O,"cause")&&delete O.cause,!_)return A;var y=e("Error"),P=m(function(D,V){var F=s(E?V:D,void 0),B=E?new A(D):new A;return F!==void 0&&r(B,"message",F),d(B,P,B.stack,2),this&&n(O,this)&&l(B,this,P),arguments.length>b&&c(B,arguments[b]),B});if(P.prototype=O,T!=="Error"?i?i(P,y):a(P,y,{name:!0}):h&&w in A&&(o(P,A,w),o(P,A,"prepareStackTrace")),a(P,A),!p)try{O.name!==T&&r(O,"name",T),O.constructor=P}catch{}return P}},HS}var ZL;function Tue(){if(ZL)return jL;ZL=1;var e=Ve(),t=er(),r=is(),n=RJ(),i="WebAssembly",a=t[i],o=new Error("e",{cause:7}).cause!==7,l=function(c,d){var h={};h[c]=n(c,d,o),e({global:!0,constructor:!0,arity:1,forced:o},h)},s=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 l("Error",function(c){return function(h){return r(c,this,arguments)}}),l("EvalError",function(c){return function(h){return r(c,this,arguments)}}),l("RangeError",function(c){return function(h){return r(c,this,arguments)}}),l("ReferenceError",function(c){return function(h){return r(c,this,arguments)}}),l("SyntaxError",function(c){return function(h){return r(c,this,arguments)}}),l("TypeError",function(c){return function(h){return r(c,this,arguments)}}),l("URIError",function(c){return function(h){return r(c,this,arguments)}}),s("CompileError",function(c){return function(h){return r(c,this,arguments)}}),s("LinkError",function(c){return function(h){return r(c,this,arguments)}}),s("RuntimeError",function(c){return function(h){return r(c,this,arguments)}}),jL}var JL={},e5;function Aue(){if(e5)return JL;e5=1;var e=Ve(),t=gn(),r=Gr(),n=rs(),i=Bt(),a="Error",o="DOMException",l=Object.setPrototypeOf||{}.__proto__,s=t(o),c=Error,d=c.isError,h=!d||!l||i(function(){return s&&!d(new s(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 m=n(g);return m===a||m===o}}),JL}var t5={},BS,r5;function xJ(){if(r5)return BS;r5=1;var e=Dr(),t=Bt(),r=Ar(),n=Gd(),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 BS=a?function(){var l=r(this),s=n(l.name,"Error"),c=n(l.message);return s?c?s+": "+c:s:c}:i,BS}var n5;function Rue(){if(n5)return t5;n5=1;var e=Gn(),t=xJ(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),t5}var i5={},a5={},zS,o5;function FI(){if(o5)return zS;o5=1;var e=Bt();return zS=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),zS}var WS,s5;function so(){if(s5)return WS;s5=1;var e=yn(),t=Sn(),r=In(),n=hy(),i=FI(),a=n("IE_PROTO"),o=Object,l=o.prototype;return WS=i?o.getPrototypeOf:function(s){var c=r(s);if(e(c,a))return c[a];var d=c.constructor;return t(d)&&c instanceof d?d.prototype:c instanceof o?l:null},WS}var GS,u5;function Wp(){return u5||(u5=1,GS={}),GS}var KS,l5;function jI(){if(l5)return KS;l5=1;var e=Kr(),t=Wp(),r=e("iterator"),n=Array.prototype;return KS=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},KS}var YS,c5;function uf(){if(c5)return YS;c5=1;var e=rs(),t=Aa(),r=rl(),n=Wp(),i=Kr(),a=i("iterator");return YS=function(o){if(!r(o))return t(o,a)||t(o,"@@iterator")||n[e(o)]},YS}var XS,f5;function Kd(){if(f5)return XS;f5=1;var e=wr(),t=mn(),r=Ar(),n=rf(),i=uf(),a=TypeError;return XS=function(o,l){var s=arguments.length<2?i(o):l;if(t(s))return r(e(s,o));throw new a(n(o)+" is not iterable")},XS}var QS,d5;function Pa(){if(d5)return QS;d5=1;var e=wr(),t=Ar(),r=Aa();return QS=function(n,i,a){var o,l;t(n);try{if(o=r(n,"return"),!o){if(i==="throw")throw a;return a}o=e(o,n)}catch(s){l=!0,o=s}if(i==="throw")throw a;if(l)throw o;return t(o),a},QS}var ZS,h5;function sa(){if(h5)return ZS;h5=1;var e=ns(),t=wr(),r=Ar(),n=rf(),i=jI(),a=ti(),o=oo(),l=Kd(),s=uf(),c=Pa(),d=TypeError,h=function(g,m){this.stopped=g,this.result=m},p=h.prototype;return ZS=function(g,m,_){var E=_&&_.that,w=!!(_&&_.AS_ENTRIES),b=!!(_&&_.IS_RECORD),x=!!(_&&_.IS_ITERATOR),T=!!(_&&_.INTERRUPTED),A=e(m,E),O,y,P,D,V,F,B,K=function(X){return O&&c(O,"normal"),new h(!0,X)},Q=function(X){return w?(r(X),T?A(X[0],X[1],K):A(X[0],X[1])):T?A(X,K):A(X)};if(b)O=g.iterator;else if(x)O=g;else{if(y=s(g),!y)throw new d(n(g)+" is not iterable");if(i(y)){for(P=0,D=a(g);D>P;P++)if(V=Q(g[P]),V&&o(p,V))return V;return new h(!1)}O=l(g,y)}for(F=b?g.next:O.next;!(B=t(F,O)).done;){try{V=Q(B.value)}catch(X){c(O,"throw",X)}if(typeof V=="object"&&V&&o(p,V))return V}return new h(!1)},ZS}var p5;function xue(){if(p5)return a5;p5=1;var e=Ve(),t=oo(),r=so(),n=Ys(),i=Wd(),a=Oa(),o=xa(),l=es(),s=TJ(),c=$I(),d=sa(),h=Gd(),p=Kr(),g=p("toStringTag"),m=Error,_=[].push,E=function(x,T){var A=t(w,this),O;n?O=n(new m,A?r(this):w):(O=A?this:a(w),o(O,g,"Error")),T!==void 0&&o(O,"message",h(T)),c(O,E,O.stack,1),arguments.length>2&&s(O,arguments[2]);var y=[];return d(x,_,{that:y}),o(O,"errors",y),O};n?n(E,m):i(E,m,{name:!0});var w=E.prototype=a(m.prototype,{constructor:l(1,E),message:l(1,""),name:l(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:E}),a5}var v5;function Oue(){return v5||(v5=1,xue()),i5}var g5={},m5;function Iue(){if(m5)return g5;m5=1;var e=Ve(),t=gn(),r=is(),n=Bt(),i=RJ(),a="AggregateError",o=t(a),l=!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:l},{AggregateError:i(a,function(s){return function(d,h){return r(s,this,arguments)}},l,!0)}),g5}var y5={},_5;function Pue(){if(_5)return y5;_5=1;var e=Ve(),t=er(),r=oo(),n=so(),i=Ys(),a=Wd(),o=Oa(),l=xa(),s=es(),c=$I(),d=Gd(),h=Kr(),p=Bt(),g=Nn(),m=t.SuppressedError,_=h("toStringTag"),E=Error,w=!!m&&m.length!==3,b=!!m&&p(function(){return new m(1,2,3,{cause:4}).cause===4}),x=w||b,T=function(y,P,D){var V=r(A,this),F;return i?F=x&&(!V||n(this)===A)?new m:i(new E,V?n(this):A):(F=V?this:o(A),l(F,_,"Error")),D!==void 0&&l(F,"message",d(D)),c(F,T,F.stack,1),l(F,"error",y),l(F,"suppressed",P),F};i?i(T,E):a(T,E,{name:!0});var A=T.prototype=x?m.prototype:o(E.prototype,{constructor:s(1,T),message:s(1,""),name:s(1,"SuppressedError")});return x&&!g&&(A.constructor=T),e({global:!0,constructor:!0,arity:3,forced:x},{SuppressedError:T}),y5}var S5={},JS,E5;function Lo(){if(E5)return JS;E5=1;var e=Kr(),t=Oa(),r=Si().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),JS=function(a){i[n][a]=!0},JS}var w5;function kue(){if(w5)return S5;w5=1;var e=Ve(),t=In(),r=ti(),n=qi(),i=Lo();return e({target:"Array",proto:!0},{at:function(o){var l=t(this),s=r(l),c=n(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:l[d]}}),i("at"),S5}var b5={},eE,C5;function lf(){if(C5)return eE;C5=1;var e=TypeError,t=9007199254740991;return eE=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},eE}var tE,T5;function il(){if(T5)return tE;T5=1;var e=Dr(),t=Si(),r=es();return tE=function(n,i,a){e?t.f(n,i,r(0,a)):n[i]=a},tE}var rE,A5;function Gp(){if(A5)return rE;A5=1;var e=Bt(),t=Kr(),r=yu(),n=t("species");return rE=function(i){return r>=51||!e(function(){var a=[],o=a.constructor={};return o[n]=function(){return{foo:1}},a[i](Boolean).foo!==1})},rE}var R5;function Due(){if(R5)return b5;R5=1;var e=Ve(),t=Bt(),r=Yl(),n=Gr(),i=In(),a=ti(),o=lf(),l=il(),s=zp(),c=Gp(),d=Kr(),h=yu(),p=d("isConcatSpreadable"),g=h>=51||!t(function(){var E=[];return E[p]=!1,E.concat()[0]!==E}),m=function(E){if(!n(E))return!1;var w=E[p];return w!==void 0?!!w:r(E)},_=!g||!c("concat");return e({target:"Array",proto:!0,arity:1,forced:_},{concat:function(w){var b=i(this),x=s(b,0),T=0,A,O,y,P,D;for(A=-1,y=arguments.length;A<y;A++)if(D=A===-1?b:arguments[A],m(D))for(P=a(D),o(T+P),O=0;O<P;O++,T++)O in D&&l(x,T,D[O]);else o(T+1),l(x,T++,D);return x.length=T,x}}),b5}var x5={},nE,O5;function my(){if(O5)return nE;O5=1;var e=rf(),t=TypeError;return nE=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},nE}var iE,I5;function OJ(){if(I5)return iE;I5=1;var e=In(),t=nl(),r=ti(),n=my(),i=Math.min;return iE=[].copyWithin||function(o,l){var s=e(this),c=r(s),d=t(o,c),h=t(l,c),p=arguments.length>2?arguments[2]:void 0,g=i((p===void 0?c:t(p,c))-h,c-d),m=1;for(h<d&&d<h+g&&(m=-1,h+=g-1,d+=g-1);g-- >0;)h in s?s[d]=s[h]:n(s,d),d+=m,h+=m;return s},iE}var P5;function Lue(){if(P5)return x5;P5=1;var e=Ve(),t=OJ(),r=Lo();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),x5}var k5={},aE,D5;function al(){if(D5)return aE;D5=1;var e=Bt();return aE=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},aE}var L5;function Nue(){if(L5)return k5;L5=1;var e=Ve(),t=Ia().every,r=al(),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)}}),k5}var N5={},oE,M5;function UI(){if(M5)return oE;M5=1;var e=In(),t=nl(),r=ti();return oE=function(i){for(var a=e(this),o=r(a),l=arguments.length,s=t(l>1?arguments[1]:void 0,o),c=l>2?arguments[2]:void 0,d=c===void 0?o:t(c,o);d>s;)a[s++]=i;return a},oE}var $5;function Mue(){if($5)return N5;$5=1;var e=Ve(),t=UI(),r=Lo();return e({target:"Array",proto:!0},{fill:t}),r("fill"),N5}var F5={},j5;function $ue(){if(j5)return F5;j5=1;var e=Ve(),t=Ia().filter,r=Gp(),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)}}),F5}var U5={},q5;function Fue(){if(q5)return U5;q5=1;var e=Ve(),t=Ia().find,r=Lo(),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),U5}var V5={},H5;function jue(){if(H5)return V5;H5=1;var e=Ve(),t=Ia().findIndex,r=Lo(),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),V5}var B5={},sE,z5;function yy(){if(z5)return sE;z5=1;var e=ns(),t=qd(),r=In(),n=ti(),i=function(a){var o=a===1;return function(l,s,c){for(var d=r(l),h=t(d),p=n(h),g=e(s,c),m,_;p-- >0;)if(m=h[p],_=g(m,p,d),_)switch(a){case 0:return m;case 1:return p}return o?-1:void 0}};return sE={findLast:i(0),findLastIndex:i(1)},sE}var W5;function Uue(){if(W5)return B5;W5=1;var e=Ve(),t=yy().findLast,r=Lo();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),B5}var G5={},K5;function que(){if(K5)return G5;K5=1;var e=Ve(),t=yy().findLastIndex,r=Lo();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),G5}var Y5={},uE,X5;function IJ(){if(X5)return uE;X5=1;var e=Yl(),t=ti(),r=lf(),n=ns(),i=function(a,o,l,s,c,d,h,p){for(var g=c,m=0,_=h?n(h,p):!1,E,w;m<s;)m in l&&(E=_?_(l[m],m,o):l[m],d>0&&e(E)?(w=t(E),g=i(a,o,E,w,g,d-1)-1):(r(g+1),a[g]=E),g++),m++;return g};return uE=i,uE}var Q5;function Vue(){if(Q5)return Y5;Q5=1;var e=Ve(),t=IJ(),r=In(),n=ti(),i=qi(),a=zp();return e({target:"Array",proto:!0},{flat:function(){var l=arguments.length?arguments[0]:void 0,s=r(this),c=n(s),d=a(s,0);return d.length=t(d,s,s,c,0,l===void 0?1:i(l)),d}}),Y5}var Z5={},J5;function Hue(){if(J5)return Z5;J5=1;var e=Ve(),t=IJ(),r=mn(),n=In(),i=ti(),a=zp();return e({target:"Array",proto:!0},{flatMap:function(l){var s=n(this),c=i(s),d;return r(l),d=a(s,0),d.length=t(d,s,s,c,0,1,l,arguments.length>1?arguments[1]:void 0),d}}),Z5}var eN={},lE,tN;function PJ(){if(tN)return lE;tN=1;var e=Ia().forEach,t=al(),r=t("forEach");return lE=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},lE}var rN;function Bue(){if(rN)return eN;rN=1;var e=Ve(),t=PJ();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),eN}var nN={},cE,iN;function qI(){if(iN)return cE;iN=1;var e=Ar(),t=Pa();return cE=function(r,n,i,a){try{return a?n(e(i)[0],i[1]):n(i)}catch(o){t(r,"throw",o)}},cE}var fE,aN;function kJ(){if(aN)return fE;aN=1;var e=ns(),t=wr(),r=In(),n=qI(),i=jI(),a=of(),o=ti(),l=il(),s=Kd(),c=uf(),d=Array;return fE=function(p){var g=r(p),m=a(this),_=arguments.length,E=_>1?arguments[1]:void 0,w=E!==void 0;w&&(E=e(E,_>2?arguments[2]:void 0));var b=c(g),x=0,T,A,O,y,P,D;if(b&&!(this===d&&i(b)))for(A=m?new this:[],y=s(g,b),P=y.next;!(O=t(P,y)).done;x++)D=w?n(y,E,[O.value,x],!0):O.value,l(A,x,D);else for(T=o(g),A=m?new this(T):d(T);T>x;x++)D=w?E(g[x],x):g[x],l(A,x,D);return A.length=x,A},fE}var dE,oN;function _y(){if(oN)return dE;oN=1;var e=Kr(),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 dE=function(a,o){try{if(!o&&!r)return!1}catch{return!1}var l=!1;try{var s={};s[t]=function(){return{next:function(){return{done:l=!0}}}},a(s)}catch{}return l},dE}var sN;function zue(){if(sN)return nN;sN=1;var e=Ve(),t=kJ(),r=_y(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),nN}var uN={},lN;function Wue(){if(lN)return uN;lN=1;var e=Ve(),t=Vp().includes,r=Bt(),n=Lo(),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"),uN}var cN={},fN;function Gue(){if(fN)return cN;fN=1;var e=Ve(),t=af(),r=Vp().indexOf,n=al(),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(s){var c=arguments.length>1?arguments[1]:void 0;return a?i(this,s,c)||0:r(this,s,c)}}),cN}var dN={},hN;function Kue(){if(hN)return dN;hN=1;var e=Ve(),t=Yl();return e({target:"Array",stat:!0},{isArray:t}),dN}var hE,pN;function Yd(){if(pN)return hE;pN=1;var e=Bt(),t=Sn(),r=Gr(),n=Oa(),i=so(),a=Gn(),o=Kr(),l=Nn(),s=o("iterator"),c=!1,d,h,p;[].keys&&(p=[].keys(),"next"in p?(h=i(i(p)),h!==Object.prototype&&(d=h)):c=!0);var g=!r(d)||e(function(){var m={};return d[s].call(m)!==m});return g?d={}:l&&(d=n(d)),t(d[s])||a(d,s,function(){return this}),hE={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c},hE}var pE,vN;function VI(){if(vN)return pE;vN=1;var e=Yd().IteratorPrototype,t=Oa(),r=es(),n=Do(),i=Wp(),a=function(){return this};return pE=function(o,l,s,c){var d=l+" Iterator";return o.prototype=t(e,{next:r(+!c,s)}),n(o,d,!1,!0),i[d]=a,o},pE}var vE,gN;function HI(){if(gN)return vE;gN=1;var e=Ve(),t=wr(),r=Nn(),n=zd(),i=Sn(),a=VI(),o=so(),l=Ys(),s=Do(),c=xa(),d=Gn(),h=Kr(),p=Wp(),g=Yd(),m=n.PROPER,_=n.CONFIGURABLE,E=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",T="values",A="entries",O=function(){return this};return vE=function(y,P,D,V,F,B,K){a(D,P,V);var Q=function(be){if(be===F&&I)return I;if(!w&&be&&be in ue)return ue[be];switch(be){case x:return function(){return new D(this,be)};case T:return function(){return new D(this,be)};case A:return function(){return new D(this,be)}}return function(){return new D(this)}},X=P+" Iterator",te=!1,ue=y.prototype,L=ue[b]||ue["@@iterator"]||F&&ue[F],I=!w&&L||Q(F),N=P==="Array"&&ue.entries||L,re,ee,ce;if(N&&(re=o(N.call(new y)),re!==Object.prototype&&re.next&&(!r&&o(re)!==E&&(l?l(re,E):i(re[b])||d(re,b,O)),s(re,X,!0,!0),r&&(p[X]=O))),m&&F===T&&L&&L.name!==T&&(!r&&_?c(ue,"name",T):(te=!0,I=function(){return t(L,this)})),F)if(ee={values:Q(T),keys:B?I:Q(x),entries:Q(A)},K)for(ce in ee)(w||te||!(ce in ue))&&d(ue,ce,ee[ce]);else e({target:P,proto:!0,forced:w||te},ee);return(!r||K)&&ue[b]!==I&&d(ue,b,I,{name:F}),p[P]=I,ee},vE}var gE,mN;function cf(){return mN||(mN=1,gE=function(e,t){return{value:e,done:t}}),gE}var mE,yN;function Sy(){if(yN)return mE;yN=1;var e=ma(),t=Lo(),r=Wp(),n=Mi(),i=Si().f,a=HI(),o=cf(),l=Nn(),s=Dr(),c="Array Iterator",d=n.set,h=n.getterFor(c);mE=a(Array,"Array",function(g,m){d(this,{type:c,target:e(g),index:0,kind:m})},function(){var g=h(this),m=g.target,_=g.index++;if(!m||_>=m.length)return g.target=null,o(void 0,!0);switch(g.kind){case"keys":return o(_,!1);case"values":return o(m[_],!1)}return o([_,m[_]],!1)},"values");var p=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!l&&s&&p.name!=="values")try{i(p,"name",{value:"values"})}catch{}return mE}var _N={},SN;function Yue(){if(SN)return _N;SN=1;var e=Ve(),t=Kt(),r=qd(),n=ma(),i=al(),a=t([].join),o=r!==Object,l=o||!i("join",",");return e({target:"Array",proto:!0,forced:l},{join:function(c){return a(n(this),c===void 0?",":c)}}),_N}var EN={},yE,wN;function DJ(){if(wN)return yE;wN=1;var e=is(),t=ma(),r=qi(),n=ti(),i=al(),a=Math.min,o=[].lastIndexOf,l=!!o&&1/[1].lastIndexOf(1,-0)<0,s=i("lastIndexOf"),c=l||!s;return yE=c?function(h){if(l)return e(o,this,arguments)||0;var p=t(this),g=n(p);if(g===0)return-1;var m=g-1;for(arguments.length>1&&(m=a(m,r(arguments[1]))),m<0&&(m=g+m);m>=0;m--)if(m in p&&p[m]===h)return m||0;return-1}:o,yE}var bN;function Xue(){if(bN)return EN;bN=1;var e=Ve(),t=DJ();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),EN}var CN={},TN;function Que(){if(TN)return CN;TN=1;var e=Ve(),t=Ia().map,r=Gp(),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)}}),CN}var AN={},RN;function Zue(){if(RN)return AN;RN=1;var e=Ve(),t=Bt(),r=of(),n=il(),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 l=0,s=arguments.length,c=new(r(this)?this:i)(s);s>l;)n(c,l,arguments[l++]);return c.length=s,c}}),AN}var xN={},_E,ON;function BI(){if(ON)return _E;ON=1;var e=Dr(),t=Yl(),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 _E=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},_E}var IN;function Jue(){if(IN)return xN;IN=1;var e=Ve(),t=In(),r=ti(),n=BI(),i=lf(),a=Bt(),o=a(function(){return[].push.call({length:4294967296},1)!==4294967297}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},s=o||!l();return e({target:"Array",proto:!0,arity:1,forced:s},{push:function(d){var h=t(this),p=r(h),g=arguments.length;i(p+g);for(var m=0;m<g;m++)h[p]=arguments[m],p++;return n(h,p),p}}),xN}var PN={},SE,kN;function Ey(){if(kN)return SE;kN=1;var e=mn(),t=In(),r=qd(),n=ti(),i=TypeError,a="Reduce of empty array with no initial value",o=function(l){return function(s,c,d,h){var p=t(s),g=r(p),m=n(p);if(e(c),m===0&&d<2)throw new i(a);var _=l?m-1:0,E=l?-1:1;if(d<2)for(;;){if(_ in g){h=g[_],_+=E;break}if(_+=E,l?_<0:m<=_)throw new i(a)}for(;l?_>=0:m>_;_+=E)_ in g&&(h=c(h,g[_],_,p));return h}};return SE={left:o(!1),right:o(!0)},SE}var EE,DN;function wy(){if(DN)return EE;DN=1;var e=er(),t=mu(),r=Va(),n=function(i){return t.slice(0,i.length)===i};return EE=(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"})(),EE}var wE,LN;function Xd(){if(LN)return wE;LN=1;var e=wy();return wE=e==="NODE",wE}var NN;function ele(){if(NN)return PN;NN=1;var e=Ve(),t=Ey().left,r=al(),n=yu(),i=Xd(),a=!i&&n>79&&n<83,o=a||!r("reduce");return e({target:"Array",proto:!0,forced:o},{reduce:function(s){var c=arguments.length;return t(this,s,c,c>1?arguments[1]:void 0)}}),PN}var MN={},$N;function tle(){if($N)return MN;$N=1;var e=Ve(),t=Ey().right,r=al(),n=yu(),i=Xd(),a=!i&&n>79&&n<83,o=a||!r("reduceRight");return e({target:"Array",proto:!0,forced:o},{reduceRight:function(s){return t(this,s,arguments.length,arguments.length>1?arguments[1]:void 0)}}),MN}var FN={},jN;function rle(){if(jN)return FN;jN=1;var e=Ve(),t=Kt(),r=Yl(),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)}}),FN}var UN={},qN;function nle(){if(qN)return UN;qN=1;var e=Ve(),t=Yl(),r=of(),n=Gr(),i=nl(),a=ti(),o=ma(),l=il(),s=Kr(),c=Gp(),d=Ps(),h=c("slice"),p=s("species"),g=Array,m=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(E,w){var b=o(this),x=a(b),T=i(E,x),A=i(w===void 0?x:w,x),O,y,P;if(t(b)&&(O=b.constructor,r(O)&&(O===g||t(O.prototype))?O=void 0:n(O)&&(O=O[p],O===null&&(O=void 0)),O===g||O===void 0))return d(b,T,A);for(y=new(O===void 0?g:O)(m(A-T,0)),P=0;T<A;T++,P++)T in b&&l(y,P,b[T]);return y.length=P,y}}),UN}var VN={},HN;function ile(){if(HN)return VN;HN=1;var e=Ve(),t=Ia().some,r=al(),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)}}),VN}var BN={},bE,zN;function zI(){if(zN)return bE;zN=1;var e=Ps(),t=Math.floor,r=function(n,i){var a=n.length;if(a<8)for(var o=1,l,s;o<a;){for(s=o,l=n[o];s&&i(n[s-1],l)>0;)n[s]=n[--s];s!==o++&&(n[s]=l)}else for(var c=t(a/2),d=r(e(n,0,c),i),h=r(e(n,c),i),p=d.length,g=h.length,m=0,_=0;m<p||_<g;)n[m+_]=m<p&&_<g?i(d[m],h[_])<=0?d[m++]:h[_++]:m<p?d[m++]:h[_++];return n};return bE=r,bE}var CE,WN;function LJ(){if(WN)return CE;WN=1;var e=mu(),t=e.match(/firefox\/(\d+)/i);return CE=!!t&&+t[1],CE}var TE,GN;function NJ(){if(GN)return TE;GN=1;var e=mu();return TE=/MSIE|Trident/.test(e),TE}var AE,KN;function WI(){if(KN)return AE;KN=1;var e=mu(),t=e.match(/AppleWebKit\/(\d+)\./);return AE=!!t&&+t[1],AE}var YN;function ale(){if(YN)return BN;YN=1;var e=Ve(),t=Kt(),r=mn(),n=In(),i=ti(),a=my(),o=rn(),l=Bt(),s=zI(),c=al(),d=LJ(),h=NJ(),p=yu(),g=WI(),m=[],_=t(m.sort),E=t(m.push),w=l(function(){m.sort(void 0)}),b=l(function(){m.sort(null)}),x=c("sort"),T=!l(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(g)return g<603;var y="",P,D,V,F;for(P=65;P<76;P++){switch(D=String.fromCharCode(P),P){case 66:case 69:case 70:case 72:V=3;break;case 68:case 71:V=4;break;default:V=2}for(F=0;F<47;F++)m.push({k:D+F,v:V})}for(m.sort(function(B,K){return K.v-B.v}),F=0;F<m.length;F++)D=m[F].k.charAt(0),y.charAt(y.length-1)!==D&&(y+=D);return y!=="DGBEFHACIJK"}}),A=w||!b||!x||!T,O=function(y){return function(P,D){return D===void 0?-1:P===void 0?1:y!==void 0?+y(P,D)||0:o(P)>o(D)?1:-1}};return e({target:"Array",proto:!0,forced:A},{sort:function(P){P!==void 0&&r(P);var D=n(this);if(T)return P===void 0?_(D):_(D,P);var V=[],F=i(D),B,K;for(K=0;K<F;K++)K in D&&E(V,D[K]);for(s(V,O(P)),B=i(V),K=0;K<B;)D[K]=V[K++];for(;K<F;)a(D,K++);return D}}),BN}var XN={},RE,QN;function Qd(){if(QN)return RE;QN=1;var e=gn(),t=Gi(),r=Kr(),n=Dr(),i=r("species");return RE=function(a){var o=e(a);n&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},RE}var ZN;function ole(){if(ZN)return XN;ZN=1;var e=Qd();return e("Array"),XN}var JN={},eM;function sle(){if(eM)return JN;eM=1;var e=Ve(),t=In(),r=nl(),n=qi(),i=ti(),a=BI(),o=lf(),l=zp(),s=il(),c=my(),d=Gp(),h=d("splice"),p=Math.max,g=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(_,E){var w=t(this),b=i(w),x=r(_,b),T=arguments.length,A,O,y,P,D,V;for(T===0?A=O=0:T===1?(A=0,O=b-x):(A=T-2,O=g(p(n(E),0),b-x)),o(b+A-O),y=l(w,O),P=0;P<O;P++)D=x+P,D in w&&s(y,P,w[D]);if(y.length=O,A<O){for(P=x;P<b-O;P++)D=P+O,V=P+A,D in w?w[V]=w[D]:c(w,V);for(P=b;P>b-O+A;P--)c(w,P-1)}else if(A>O)for(P=b-O;P>x;P--)D=P+O-1,V=P+A-1,D in w?w[V]=w[D]:c(w,V);for(P=0;P<A;P++)w[P+x]=arguments[P+2];return a(w,b-O+A),y}}),JN}var tM={},xE,rM;function MJ(){if(rM)return xE;rM=1;var e=ti();return xE=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},xE}var nM;function ule(){if(nM)return tM;nM=1;var e=Ve(),t=MJ(),r=ma(),n=Lo(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),tM}var iM={},OE,aM;function Kp(){if(aM)return OE;aM=1;var e=ti();return OE=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},OE}var IE,oM;function $J(){if(oM)return IE;oM=1;var e=er();return IE=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},IE}var sM;function lle(){if(sM)return iM;sM=1;var e=Ve(),t=Kt(),r=mn(),n=ma(),i=Kp(),a=$J(),o=Lo(),l=Array,s=t(a("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),p=i(l,h);return s(p,d)}}),o("toSorted"),iM}var uM={},lM;function cle(){if(lM)return uM;lM=1;var e=Ve(),t=Lo(),r=lf(),n=ti(),i=nl(),a=ma(),o=qi(),l=Array,s=Math.max,c=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,p){var g=a(this),m=n(g),_=i(h,m),E=arguments.length,w=0,b,x,T,A;for(E===0?b=x=0:E===1?(b=0,x=m-_):(b=E-2,x=c(s(o(p),0),m-_)),T=r(m+b-x),A=l(T);w<_;w++)A[w]=g[w];for(;w<_+b;w++)A[w]=arguments[w-_+2];for(;w<T;w++)A[w]=g[w+x-b];return A}}),t("toSpliced"),uM}var cM={},fM;function fle(){if(fM)return cM;fM=1;var e=Lo();return e("flat"),cM}var dM={},hM;function dle(){if(hM)return dM;hM=1;var e=Lo();return e("flatMap"),dM}var pM={},vM;function hle(){if(vM)return pM;vM=1;var e=Ve(),t=In(),r=ti(),n=BI(),i=my(),a=lf(),o=[].unshift(0)!==1,l=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(c){return c instanceof TypeError}},s=o||!l();return e({target:"Array",proto:!0,arity:1,forced:s},{unshift:function(d){var h=t(this),p=r(h),g=arguments.length;if(g){a(p+g);for(var m=p;m--;){var _=m+g;m in h?h[_]=h[m]:i(h,_)}for(var E=0;E<g;E++)h[E]=arguments[E]}return n(h,p+g)}}),pM}var gM={},PE,mM;function FJ(){if(mM)return PE;mM=1;var e=ti(),t=qi(),r=RangeError;return PE=function(n,i,a,o){var l=e(n),s=t(a),c=s<0?l+s:s;if(c>=l||c<0)throw new r("Incorrect index");for(var d=new i(l),h=0;h<l;h++)d[h]=h===c?o:n[h];return d},PE}var yM;function ple(){if(yM)return gM;yM=1;var e=Ve(),t=FJ(),r=ma(),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)}}),gM}var _M={},kE,SM;function by(){return SM||(SM=1,kE=typeof ArrayBuffer<"u"&&typeof DataView<"u"),kE}var DE,EM;function ol(){if(EM)return DE;EM=1;var e=Gn();return DE=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},DE}var LE,wM;function as(){if(wM)return LE;wM=1;var e=oo(),t=TypeError;return LE=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},LE}var NE,bM;function Cy(){if(bM)return NE;bM=1;var e=qi(),t=ts(),r=RangeError;return NE=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},NE}var ME,CM;function GI(){return CM||(CM=1,ME=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),ME}var $E,TM;function jJ(){if(TM)return $E;TM=1;var e=2220446049250313e-31,t=1/e;return $E=function(r){return r+t-t},$E}var FE,AM;function UJ(){if(AM)return FE;AM=1;var e=GI(),t=jJ(),r=Math.abs,n=2220446049250313e-31;return FE=function(i,a,o,l){var s=+i,c=r(s),d=e(s);if(c<l)return d*t(c/l/a)*l*a;var h=(1+a/n)*c,p=h-(h-c);return p>o||p!==p?d*(1/0):d*p},FE}var jE,RM;function qJ(){if(RM)return jE;RM=1;var e=UJ(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return jE=Math.fround||function(a){return e(a,t,r,n)},jE}var UE,xM;function vle(){if(xM)return UE;xM=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2,o=function(s,c,d){var h=e(d),p=d*8-c-1,g=(1<<p)-1,m=g>>1,_=c===23?r(2,-24)-r(2,-77):0,E=s<0||s===0&&1/s<0?1:0,w=0,b,x,T;for(s=t(s),s!==s||s===1/0?(x=s!==s?1:0,b=g):(b=n(i(s)/a),T=r(2,-b),s*T<1&&(b--,T*=2),b+m>=1?s+=_/T:s+=_*r(2,1-m),s*T>=2&&(b++,T/=2),b+m>=g?(x=0,b=g):b+m>=1?(x=(s*T-1)*r(2,c),b+=m):(x=s*r(2,m-1)*r(2,c),b=0));c>=8;)h[w++]=x&255,x/=256,c-=8;for(b=b<<c|x,p+=c;p>0;)h[w++]=b&255,b/=256,p-=8;return h[w-1]|=E*128,h},l=function(s,c){var d=s.length,h=d*8-c-1,p=(1<<h)-1,g=p>>1,m=h-7,_=d-1,E=s[_--],w=E&127,b;for(E>>=7;m>0;)w=w*256+s[_--],m-=8;for(b=w&(1<<-m)-1,w>>=-m,m+=c;m>0;)b=b*256+s[_--],m-=8;if(w===0)w=1-g;else{if(w===p)return b?NaN:E?-1/0:1/0;b+=r(2,c),w-=g}return(E?-1:1)*b*r(2,w-c)};return UE={pack:o,unpack:l},UE}var qE,OM;function Ty(){if(OM)return qE;OM=1;var e=er(),t=Kt(),r=Dr(),n=by(),i=zd(),a=xa(),o=Gi(),l=ol(),s=Bt(),c=as(),d=qi(),h=ts(),p=Cy(),g=qJ(),m=vle(),_=so(),E=Ys(),w=UI(),b=Ps(),x=sf(),T=Wd(),A=Do(),O=Mi(),y=i.PROPER,P=i.CONFIGURABLE,D="ArrayBuffer",V="DataView",F="prototype",B="Wrong length",K="Wrong index",Q=O.getterFor(D),X=O.getterFor(V),te=O.set,ue=e[D],L=ue,I=L&&L[F],N=e[V],re=N&&N[F],ee=Object.prototype,ce=e.Array,be=e.RangeError,Ie=t(w),je=t([].reverse),z=m.pack,k=m.unpack,U=function(Ee){return[Ee&255]},H=function(Ee){return[Ee&255,Ee>>8&255]},ne=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},q=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},J=function(Ee){return z(g(Ee),23,4)},me=function(Ee){return z(Ee,52,8)},fe=function(Ee,_e,Ae){o(Ee[F],_e,{configurable:!0,get:function(){return Ae(this)[_e]}})},Te=function(Ee,_e,Ae,De){var Ne=X(Ee),Be=p(Ae),_t=!!De;if(Be+_e>Ne.byteLength)throw new be(K);var Ut=Ne.bytes,Mt=Be+Ne.byteOffset,Qe=b(Ut,Mt,Mt+_e);return _t?Qe:je(Qe)},Se=function(Ee,_e,Ae,De,Ne,Be){var _t=X(Ee),Ut=p(Ae),Mt=De(+Ne),Qe=!!Be;if(Ut+_e>_t.byteLength)throw new be(K);for(var bt=_t.bytes,mt=Ut+_t.byteOffset,St=0;St<_e;St++)bt[mt+St]=Mt[Qe?St:_e-St-1]};if(!n)L=function(_e){c(this,I);var Ae=p(_e);te(this,{type:D,bytes:Ie(ce(Ae),0),byteLength:Ae}),r||(this.byteLength=Ae,this.detached=!1)},I=L[F],N=function(_e,Ae,De){c(this,re),c(_e,I);var Ne=Q(_e),Be=Ne.byteLength,_t=d(Ae);if(_t<0||_t>Be)throw new be("Wrong offset");if(De=De===void 0?Be-_t:h(De),_t+De>Be)throw new be(B);te(this,{type:V,buffer:_e,byteLength:De,byteOffset:_t,bytes:Ne.bytes}),r||(this.buffer=_e,this.byteLength=De,this.byteOffset=_t)},re=N[F],r&&(fe(L,"byteLength",Q),fe(N,"buffer",X),fe(N,"byteLength",X),fe(N,"byteOffset",X)),l(re,{getInt8:function(_e){return Te(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Te(this,1,_e)[0]},getInt16:function(_e){var Ae=Te(this,2,_e,arguments.length>1?arguments[1]:!1);return(Ae[1]<<8|Ae[0])<<16>>16},getUint16:function(_e){var Ae=Te(this,2,_e,arguments.length>1?arguments[1]:!1);return Ae[1]<<8|Ae[0]},getInt32:function(_e){return q(Te(this,4,_e,arguments.length>1?arguments[1]:!1))},getUint32:function(_e){return q(Te(this,4,_e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(_e){return k(Te(this,4,_e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(_e){return k(Te(this,8,_e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(_e,Ae){Se(this,1,_e,U,Ae)},setUint8:function(_e,Ae){Se(this,1,_e,U,Ae)},setInt16:function(_e,Ae){Se(this,2,_e,H,Ae,arguments.length>2?arguments[2]:!1)},setUint16:function(_e,Ae){Se(this,2,_e,H,Ae,arguments.length>2?arguments[2]:!1)},setInt32:function(_e,Ae){Se(this,4,_e,ne,Ae,arguments.length>2?arguments[2]:!1)},setUint32:function(_e,Ae){Se(this,4,_e,ne,Ae,arguments.length>2?arguments[2]:!1)},setFloat32:function(_e,Ae){Se(this,4,_e,J,Ae,arguments.length>2?arguments[2]:!1)},setFloat64:function(_e,Ae){Se(this,8,_e,me,Ae,arguments.length>2?arguments[2]:!1)}});else{var Oe=y&&ue.name!==D;!s(function(){ue(1)})||!s(function(){new ue(-1)})||s(function(){return new ue,new ue(1.5),new ue(NaN),ue.length!==1||Oe&&!P})?(L=function(_e){return c(this,I),x(new ue(p(_e)),this,L)},L[F]=I,I.constructor=L,T(L,ue)):Oe&&P&&a(ue,"name",D),E&&_(re)!==ee&&E(re,ee);var Me=new N(new L(2)),de=t(re.setInt8);Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&l(re,{setInt8:function(_e,Ae){de(this,_e,Ae<<24>>24)},setUint8:function(_e,Ae){de(this,_e,Ae<<24>>24)}},{unsafe:!0})}return A(L,D),A(N,V),qE={ArrayBuffer:L,DataView:N},qE}var IM;function gle(){if(IM)return _M;IM=1;var e=Ve(),t=er(),r=Ty(),n=Qd(),i="ArrayBuffer",a=r[i],o=t[i];return e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),n(i),_M}var PM={},VE,kM;function En(){if(kM)return VE;kM=1;var e=by(),t=Dr(),r=er(),n=Sn(),i=Gr(),a=yn(),o=rs(),l=rf(),s=xa(),c=Gn(),d=Gi(),h=oo(),p=so(),g=Ys(),m=Kr(),_=Bd(),E=Mi(),w=E.enforce,b=E.get,x=r.Int8Array,T=x&&x.prototype,A=r.Uint8ClampedArray,O=A&&A.prototype,y=x&&p(x),P=T&&p(T),D=Object.prototype,V=r.TypeError,F=m("toStringTag"),B=_("TYPED_ARRAY_TAG"),K="TypedArrayConstructor",Q=e&&!!g&&o(r.opera)!=="Opera",X=!1,te,ue,L,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},re=function(U){if(!i(U))return!1;var H=o(U);return H==="DataView"||a(I,H)||a(N,H)},ee=function(k){var U=p(k);if(i(U)){var H=b(U);return H&&a(H,K)?H[K]:ee(U)}},ce=function(k){if(!i(k))return!1;var U=o(k);return a(I,U)||a(N,U)},be=function(k){if(ce(k))return k;throw new V("Target is not a typed array")},Ie=function(k){if(n(k)&&(!g||h(y,k)))return k;throw new V(l(k)+" is not a typed array constructor")},je=function(k,U,H,ne){if(t){if(H)for(var q in I){var J=r[q];if(J&&a(J.prototype,k))try{delete J.prototype[k]}catch{try{J.prototype[k]=U}catch{}}}(!P[k]||H)&&c(P,k,H?U:Q&&T[k]||U,ne)}},z=function(k,U,H){var ne,q;if(t){if(g){if(H){for(ne in I)if(q=r[ne],q&&a(q,k))try{delete q[k]}catch{}}if(!y[k]||H)try{return c(y,k,H?U:Q&&y[k]||U)}catch{}else return}for(ne in I)q=r[ne],q&&(!q[k]||H)&&c(q,k,U)}};for(te in I)ue=r[te],L=ue&&ue.prototype,L?w(L)[K]=ue:Q=!1;for(te in N)ue=r[te],L=ue&&ue.prototype,L&&(w(L)[K]=ue);if((!Q||!n(y)||y===Function.prototype)&&(y=function(){throw new V("Incorrect invocation")},Q))for(te in I)r[te]&&g(r[te],y);if((!Q||!P||P===D)&&(P=y.prototype,Q))for(te in I)r[te]&&g(r[te].prototype,P);if(Q&&p(O)!==P&&g(O,P),t&&!a(P,F)){X=!0,d(P,F,{configurable:!0,get:function(){return i(this)?this[B]:void 0}});for(te in I)r[te]&&s(r[te],B,te)}return VE={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:X&&B,aTypedArray:be,aTypedArrayConstructor:Ie,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:z,getTypedArrayConstructor:ee,isView:re,isTypedArray:ce,TypedArray:y,TypedArrayPrototype:P},VE}var DM;function mle(){if(DM)return PM;DM=1;var e=Ve(),t=En(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),PM}var LM={},NM;function yle(){if(NM)return LM;NM=1;var e=Ve(),t=af(),r=Bt(),n=Ty(),i=Ar(),a=nl(),o=ts(),l=n.ArrayBuffer,s=n.DataView,c=s.prototype,d=t(l.prototype.slice),h=t(c.getUint8),p=t(c.setUint8),g=r(function(){return!new l(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(_,E){if(d&&E===void 0)return d(i(this),_);for(var w=i(this).byteLength,b=a(_,w),x=a(E===void 0?w:E,w),T=new l(o(x-b)),A=new s(this),O=new s(T),y=0;b<x;)p(O,y++,h(A,b++));return T}}),LM}var MM={},$M={},FM;function _le(){if(FM)return $M;FM=1;var e=Ve(),t=Ty(),r=by();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),$M}var jM;function Sle(){return jM||(jM=1,_le()),MM}var UM={},qM;function Ele(){if(qM)return UM;qM=1;var e=Ve(),t=Kt(),r=Math.pow,n=31,i=1023,a=r(2,-24),o=.0009765625,l=function(c){var d=c>>>15,h=c>>>10&n,p=c&i;return h===n?p===0?d===0?1/0:-1/0:NaN:h===0?p*(d===0?a:-a):r(2,h-15)*(d===0?1+p*o:-1-p*o)},s=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return l(s(this,d,arguments.length>1?arguments[1]:!1))}}),UM}var VM={},HE,HM;function wle(){if(HM)return HE;HM=1;var e=rs(),t=TypeError;return HE=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},HE}var BE,BM;function VJ(){if(BM)return BE;BM=1;var e=Math.log,t=Math.LN2;return BE=Math.log2||function(n){return e(n)/t},BE}var zM;function ble(){if(zM)return VM;zM=1;var e=Ve(),t=Kt(),r=wle(),n=Cy(),i=VJ(),a=jJ(),o=Math.pow,l=65520,s=61005353927612305e-21,c=16777216,d=1024,h=function(g){if(g!==g)return 32256;if(g===0)return(1/g===-1/0)<<15;var m=g<0;if(m&&(g=-g),g>=l)return m<<15|31744;if(g<s)return m<<15|a(g*c);var _=i(g)|0;if(_===-15)return m<<15|d;var E=a((g*o(2,-_)-1)*d);return E===d?m<<15|_+16<<10:m<<15|_+15<<10|E},p=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(m,_){p(r(this),n(m),h(+_),arguments.length>2?arguments[2]:!1)}}),VM}var WM={},zE,GM;function HJ(){if(GM)return zE;GM=1;var e=er(),t=gy(),r=Va(),n=e.ArrayBuffer,i=e.TypeError;return zE=n&&t(n.prototype,"byteLength","get")||function(a){if(r(a)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return a.byteLength},zE}var WE,KM;function BJ(){if(KM)return WE;KM=1;var e=er(),t=by(),r=HJ(),n=e.DataView;return WE=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},WE}var YM;function Cle(){if(YM)return WM;YM=1;var e=Dr(),t=Gi(),r=BJ(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),WM}var XM={},GE,QM;function Yp(){if(QM)return GE;QM=1;var e=BJ(),t=TypeError;return GE=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},GE}var KE,ZM;function zJ(){if(ZM)return KE;ZM=1;var e=er(),t=Xd();return KE=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},KE}var YE,JM;function KI(){if(JM)return YE;JM=1;var e=er(),t=Bt(),r=yu(),n=wy(),i=e.structuredClone;return YE=!!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}),YE}var XE,e8;function WJ(){if(e8)return XE;e8=1;var e=er(),t=zJ(),r=KI(),n=e.structuredClone,i=e.ArrayBuffer,a=e.MessageChannel,o=!1,l,s,c,d;if(r)o=function(h){n(h,{transfer:[h]})};else if(i)try{a||(l=t("worker_threads"),l&&(a=l.MessageChannel)),a&&(s=new a,c=new i(2),d=function(h){s.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(o=d)))}catch{}return XE=o,XE}var QE,t8;function GJ(){if(t8)return QE;t8=1;var e=er(),t=Kt(),r=gy(),n=Cy(),i=Yp(),a=HJ(),o=WJ(),l=KI(),s=e.structuredClone,c=e.ArrayBuffer,d=e.DataView,h=Math.min,p=c.prototype,g=d.prototype,m=t(p.slice),_=r(p,"resizable","get"),E=r(p,"maxByteLength","get"),w=t(g.getInt8),b=t(g.setInt8);return QE=(l||o)&&function(x,T,A){var O=a(x),y=T===void 0?O:n(T),P=!_||!_(x),D;if(i(x),l&&(x=s(x,{transfer:[x]}),O===y&&(A||P)))return x;if(O>=y&&(!A||P))D=m(x,0,y);else{var V=A&&!P&&E?{maxByteLength:E(x)}:void 0;D=new c(y,V);for(var F=new d(x),B=new d(D),K=h(y,O),Q=0;Q<K;Q++)b(B,Q,w(F,Q))}return l||o(x),D},QE}var r8;function Tle(){if(r8)return XM;r8=1;var e=Ve(),t=GJ();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),XM}var n8={},i8;function Ale(){if(i8)return n8;i8=1;var e=Ve(),t=GJ();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),n8}var a8={},o8;function Rle(){if(o8)return a8;o8=1;var e=Ve(),t=Kt(),r=Bt(),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}}),a8}var s8={},u8;function xle(){if(u8)return s8;u8=1;var e=Ve(),t=Kt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),s8}var l8={},c8;function Ole(){if(c8)return l8;c8=1;var e=Ve(),t=Kt(),r=qi(),n=Date.prototype,i=t(n.getTime),a=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(l){i(this);var s=r(l),c=s>=0&&s<=99?s+1900:s;return a(this,c)}}),l8}var f8={},d8;function Ile(){if(d8)return f8;d8=1;var e=Ve();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),f8}var h8={},ZE,p8;function Ay(){if(p8)return ZE;p8=1;var e=qi(),t=rn(),r=Ri(),n=RangeError;return ZE=function(a){var o=t(r(this)),l="",s=e(a);if(s<0||s===1/0)throw new n("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(o+=o))s&1&&(l+=o);return l},ZE}var JE,v8;function Ry(){if(v8)return JE;v8=1;var e=Kt(),t=ts(),r=rn(),n=Ay(),i=Ri(),a=e(n),o=e("".slice),l=Math.ceil,s=function(c){return function(d,h,p){var g=r(i(d)),m=t(h),_=g.length,E=p===void 0?" ":r(p),w,b;return m<=_||E===""?g:(w=m-_,b=a(E,l(w/E.length)),b.length>w&&(b=o(b,0,w)),c?g+b:b+g)}};return JE={start:s(!1),end:s(!0)},JE}var ew,g8;function Ple(){if(g8)return ew;g8=1;var e=Kt(),t=Bt(),r=Ry().start,n=RangeError,i=isFinite,a=Math.abs,o=Date.prototype,l=o.toISOString,s=e(o.getTime),c=e(o.getUTCDate),d=e(o.getUTCFullYear),h=e(o.getUTCHours),p=e(o.getUTCMilliseconds),g=e(o.getUTCMinutes),m=e(o.getUTCMonth),_=e(o.getUTCSeconds);return ew=t(function(){return l.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){l.call(new Date(NaN))})?function(){if(!i(s(this)))throw new n("Invalid time value");var w=this,b=d(w),x=p(w),T=b<0?"-":b>9999?"+":"";return T+r(a(b),T?6:4,0)+"-"+r(m(w)+1,2,0)+"-"+r(c(w),2,0)+"T"+r(h(w),2,0)+":"+r(g(w),2,0)+":"+r(_(w),2,0)+"."+r(x,3,0)+"Z"}:l,ew}var m8;function kle(){if(m8)return h8;m8=1;var e=Ve(),t=Ple();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),h8}var y8={},_8;function Dle(){if(_8)return y8;_8=1;var e=Ve(),t=Bt(),r=In(),n=fy(),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 l=r(this),s=n(l,"number");return typeof s=="number"&&!isFinite(s)?null:l.toISOString()}}),y8}var S8={},tw,E8;function Lle(){if(E8)return tw;E8=1;var e=Ar(),t=fJ(),r=TypeError;return tw=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},tw}var w8;function Nle(){if(w8)return S8;w8=1;var e=yn(),t=Gn(),r=Lle(),n=Kr(),i=n("toPrimitive"),a=Date.prototype;return e(a,i)||t(a,i,r),S8}var b8={},C8;function Mle(){if(C8)return b8;C8=1;var e=Kt(),t=Gn(),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 s=o(this);return s===s?a(this):n}),b8}var T8={},rw,A8;function KJ(){if(A8)return rw;A8=1;var e=gn(),t=wr(),r=Kt(),n=ns(),i=Ar(),a=mn(),o=rl(),l=Aa(),s=Kr(),c=s("asyncDispose"),d=s("dispose"),h=r([].push),p=function(m,_){if(_==="async-dispose"){var E=l(m,c);return E!==void 0||(E=l(m,d),E===void 0)?E:function(){var w=this,b=e("Promise");return new b(function(x){t(E,w),x(void 0)})}}return l(m,d)},g=function(m,_,E){return arguments.length<3&&!o(m)&&(E=a(p(i(m),_))),E===void 0?function(){}:n(E,m)};return rw=function(m,_,E,w){var b;if(arguments.length<4){if(o(_)&&E==="sync-dispose")return;b=g(_,E)}else b=g(void 0,E,w);h(m.stack,b)},rw}var R8;function $le(){if(R8)return T8;R8=1;var e=Ve(),t=Dr(),r=gn(),n=mn(),i=as(),a=Gn(),o=ol(),l=Gi(),s=Kr(),c=Mi(),d=KJ(),h=r("SuppressedError"),p=ReferenceError,g=s("dispose"),m=s("toStringTag"),_="DisposableStack",E=c.set,w=c.getterFor(_),b="sync-dispose",x="disposed",T="pending",A=function(P){var D=w(P);if(D.state===x)throw new p(_+" already disposed");return D},O=function(){E(i(this,y),{type:_,state:T,stack:[]}),t||(this.disposed=!1)},y=O.prototype;return o(y,{dispose:function(){var D=w(this);if(D.state!==x){D.state=x,t||(this.disposed=!0);for(var V=D.stack,F=V.length,B=!1,K;F;){var Q=V[--F];V[F]=null;try{Q()}catch(X){B?K=new h(X,K):(B=!0,K=X)}}if(D.stack=null,B)throw K}},use:function(D){return d(A(this),D,b),D},adopt:function(D,V){var F=A(this);return n(V),d(F,void 0,b,function(){V(D)}),D},defer:function(D){var V=A(this);n(D),d(V,void 0,b,D)},move:function(){var D=A(this),V=new O;return w(V).stack=D.stack,D.stack=[],D.state=x,t||(this.disposed=!0),V}}),t&&l(y,"disposed",{configurable:!0,get:function(){return w(this).state===x}}),a(y,g,y.dispose,{name:"dispose"}),a(y,m,_,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),T8}var x8={},O8;function Fle(){if(O8)return x8;O8=1;var e=Ve(),t=Kt(),r=rn(),n=t("".charAt),i=t("".charCodeAt),a=t(/./.exec),o=t(1.1.toString),l=t("".toUpperCase),s=/[\w*+\-./@]/,c=function(d,h){for(var p=o(d,16);p.length<h;)p="0"+p;return p};return e({global:!0},{escape:function(h){for(var p=r(h),g="",m=p.length,_=0,E,w;_<m;)E=n(p,_++),a(s,E)?g+=E:(w=i(E,0),w<256?g+="%"+c(w,2):g+="%u"+l(c(w,4)));return g}}),x8}var I8={},nw,P8;function YJ(){if(P8)return nw;P8=1;var e=Kt(),t=mn(),r=Gr(),n=yn(),i=Ps(),a=Up(),o=Function,l=e([].concat),s=e([].join),c={},d=function(h,p,g){if(!n(c,p)){for(var m=[],_=0;_<p;_++)m[_]="a["+_+"]";c[p]=o("C,a","return new C("+s(m,",")+")")}return c[p](h,g)};return nw=a?o.bind:function(p){var g=t(this),m=g.prototype,_=i(arguments,1),E=function(){var b=l(_,i(arguments));return this instanceof E?d(g,b.length,b):g.apply(p,b)};return r(m)&&(E.prototype=m),E},nw}var k8;function jle(){if(k8)return I8;k8=1;var e=Ve(),t=YJ();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),I8}var D8={},L8;function Ule(){if(L8)return D8;L8=1;var e=Sn(),t=Gr(),r=Si(),n=oo(),i=Kr(),a=II(),o=i("hasInstance"),l=Function.prototype;return o in l||r.f(l,o,{value:a(function(s){if(!e(this)||!t(s))return!1;var c=this.prototype;return t(c)?n(c,s):s instanceof this},o)}),D8}var N8={},M8;function qle(){if(M8)return N8;M8=1;var e=Dr(),t=zd().EXISTS,r=Kt(),n=Gi(),i=Function.prototype,a=r(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=r(o.exec),s="name";return e&&!t&&n(i,s,{configurable:!0,get:function(){try{return l(o,a(this))[1]}catch{return""}}}),N8}var $8={},F8;function Vle(){if(F8)return $8;F8=1;var e=Ve(),t=er();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),$8}var j8={},U8;function Hle(){if(U8)return j8;U8=1;var e=Ve(),t=er(),r=as(),n=Ar(),i=Sn(),a=so(),o=Gi(),l=il(),s=Bt(),c=yn(),d=Kr(),h=Yd().IteratorPrototype,p=Dr(),g=Nn(),m="constructor",_="Iterator",E=d("toStringTag"),w=TypeError,b=t[_],x=g||!i(b)||b.prototype!==h||!s(function(){b({})}),T=function(){if(r(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},A=function(O,y){p?o(h,O,{configurable:!0,get:function(){return y},set:function(P){if(n(this),this===h)throw new w("You can't redefine this property");c(this,O)?this[O]=P:l(this,O,P)}}):h[O]=y};return c(h,E)||A(E,_),(x||!c(h,m)||h[m]===Object)&&A(m,T),T.prototype=h,e({global:!0,constructor:!0,forced:x},{Iterator:T}),j8}var q8={},V8;function Ble(){if(V8)return q8;V8=1;var e=wr(),t=Gn(),r=Aa(),n=yn(),i=Kr(),a=Yd().IteratorPrototype,o=i("dispose");return n(a,o)||t(a,o,function(){var l=r(this,"return");l&&e(l,this)}),q8}var H8={},iw,B8;function Ba(){return B8||(B8=1,iw=function(e){return{iterator:e,next:e.next,done:!1}}),iw}var aw,z8;function XJ(){if(z8)return aw;z8=1;var e=RangeError;return aw=function(t){if(t===t)return t;throw new e("NaN is not allowed")},aw}var ow,W8;function YI(){if(W8)return ow;W8=1;var e=qi(),t=RangeError;return ow=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},ow}var sw,G8;function zle(){if(G8)return sw;G8=1;var e=Pa();return sw=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},sw}var uw,K8;function Zd(){if(K8)return uw;K8=1;var e=wr(),t=Oa(),r=xa(),n=ol(),i=Kr(),a=Mi(),o=Aa(),l=Yd().IteratorPrototype,s=cf(),c=Pa(),d=zle(),h=i("toStringTag"),p="IteratorHelper",g="WrapForValidIterator",m="normal",_="throw",E=a.set,w=function(T){var A=a.getterFor(T?g:p);return n(t(l),{next:function(){var y=A(this);if(T)return y.nextHandler();if(y.done)return s(void 0,!0);try{var P=y.nextHandler();return y.returnHandlerResult?P:s(P,y.done)}catch(D){throw y.done=!0,D}},return:function(){var O=A(this),y=O.iterator;if(O.done=!0,T){var P=o(y,"return");return P?e(P,y):s(void 0,!0)}if(O.inner)try{c(O.inner.iterator,m)}catch(D){return c(y,_,D)}if(O.openIters)try{d(O.openIters,m)}catch(D){return c(y,_,D)}return y&&c(y,m),s(void 0,!0)}})},b=w(!0),x=w(!1);return r(x,h,"Iterator Helper"),uw=function(T,A,O){var y=function(D,V){V?(V.iterator=D.iterator,V.next=D.next):V=D,V.type=A?g:p,V.returnHandlerResult=!!O,V.nextHandler=T,V.counter=0,V.done=!1,E(this,V)};return y.prototype=A?b:x,y},uw}var lw,Y8;function xy(){return Y8||(Y8=1,lw=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),lw}var cw,X8;function _u(){if(X8)return cw;X8=1;var e=er();return cw=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(l){l instanceof r||(o=!1)}if(!o)return a},cw}var Q8;function Wle(){if(Q8)return H8;Q8=1;var e=Ve(),t=wr(),r=Ar(),n=Ba(),i=XJ(),a=YI(),o=Pa(),l=Zd(),s=xy(),c=_u(),d=Nn(),h=!d&&!s("drop",0),p=!d&&!h&&c("drop",RangeError),g=d||h||p,m=l(function(){for(var _=this.iterator,E=this.next,w,b;this.remaining;)if(this.remaining--,w=r(t(E,_)),b=this.done=!!w.done,b)return;if(w=r(t(E,_)),b=this.done=!!w.done,!b)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:g},{drop:function(E){r(this);var w;try{w=a(i(+E))}catch(b){o(this,"throw",b)}return p?t(p,this,w):new m(n(this),{remaining:w})}}),H8}var Z8={},J8;function Gle(){if(J8)return Z8;J8=1;var e=Ve(),t=wr(),r=sa(),n=mn(),i=Ar(),a=Ba(),o=Pa(),l=_u(),s=l("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{every:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),p=0;return!r(h,function(g,m){if(!d(g,p++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),Z8}var e6={},t6;function Kle(){if(t6)return e6;t6=1;var e=Ve(),t=wr(),r=mn(),n=Ar(),i=Ba(),a=Zd(),o=qI(),l=Nn(),s=Pa(),c=xy(),d=_u(),h=!l&&!c("filter",function(){}),p=!l&&!h&&d("filter",TypeError),g=l||h||p,m=a(function(){for(var _=this.iterator,E=this.predicate,w=this.next,b,x,T;;){if(b=n(t(w,_)),x=this.done=!!b.done,x)return;if(T=b.value,o(_,E,[T,this.counter++],!0))return T}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(E){n(this);try{r(E)}catch(w){s(this,"throw",w)}return p?t(p,this,E):new m(i(this),{predicate:E})}}),e6}var r6={},n6;function Yle(){if(n6)return r6;n6=1;var e=Ve(),t=wr(),r=sa(),n=mn(),i=Ar(),a=Ba(),o=Pa(),l=_u(),s=l("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{find:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),p=0;return r(h,function(g,m){if(d(g,p++))return m(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),r6}var i6={},fw,a6;function QJ(){if(a6)return fw;a6=1;var e=wr(),t=Ar(),r=Ba(),n=uf();return fw=function(i,a){(!a||typeof i!="string")&&t(i);var o=n(i);return r(t(o!==void 0?e(o,i):i))},fw}var o6;function Xle(){if(o6)return i6;o6=1;var e=Ve(),t=wr(),r=mn(),n=Ar(),i=Ba(),a=QJ(),o=Zd(),l=Pa(),s=Nn(),c=xy(),d=_u(),h=!s&&!c("flatMap",function(){}),p=!s&&!h&&d("flatMap",TypeError),g=s||h||p,m=o(function(){for(var _=this.iterator,E=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(x){l(_,"throw",x)}if(w=n(t(this.next,_)),this.done=!!w.done)return;try{this.inner=a(E(w.value,this.counter++),!1)}catch(x){l(_,"throw",x)}}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(E){n(this);try{r(E)}catch(w){l(this,"throw",w)}return p?t(p,this,E):new m(i(this),{mapper:E,inner:null})}}),i6}var s6={},u6;function Qle(){if(u6)return s6;u6=1;var e=Ve(),t=wr(),r=sa(),n=mn(),i=Ar(),a=Ba(),o=Pa(),l=_u(),s=l("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),p=0;r(h,function(g){d(g,p++)},{IS_RECORD:!0})}}),s6}var l6={},c6;function Zle(){if(c6)return l6;c6=1;var e=Ve(),t=wr(),r=In(),n=oo(),i=Yd().IteratorPrototype,a=Zd(),o=QJ(),l=Nn(),s=l||(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:s},{from:function(h){var p=o(typeof h=="string"?r(h):h,!0);return n(i,p.iterator)?p.iterator:new c(p)}}),l6}var f6={},d6;function Jle(){if(d6)return f6;d6=1;var e=Ve(),t=wr(),r=mn(),n=Ar(),i=Ba(),a=Zd(),o=qI(),l=Pa(),s=xy(),c=_u(),d=Nn(),h=!d&&!s("map",function(){}),p=!d&&!h&&c("map",TypeError),g=d||h||p,m=a(function(){var _=this.iterator,E=n(t(this.next,_)),w=this.done=!!E.done;if(!w)return o(_,this.mapper,[E.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(E){n(this);try{r(E)}catch(w){l(this,"throw",w)}return p?t(p,this,E):new m(i(this),{mapper:E})}}),f6}var h6={},p6;function ece(){if(p6)return h6;p6=1;var e=Ve(),t=sa(),r=mn(),n=Ar(),i=Ba(),a=Pa(),o=_u(),l=is(),s=Bt(),c=TypeError,d=s(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 m=arguments.length<2,_=m?void 0:arguments[1];if(h)return l(h,this,m?[g]:[g,_]);var E=i(this),w=0;if(t(E,function(b){m?(m=!1,_=b):_=g(_,b,w),w++},{IS_RECORD:!0}),m)throw new c("Reduce of empty iterator with no initial value");return _}}),h6}var v6={},g6;function tce(){if(g6)return v6;g6=1;var e=Ve(),t=wr(),r=sa(),n=mn(),i=Ar(),a=Ba(),o=Pa(),l=_u(),s=l("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{some:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),p=0;return r(h,function(g,m){if(d(g,p++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),v6}var m6={},y6;function rce(){if(y6)return m6;y6=1;var e=Ve(),t=wr(),r=Ar(),n=Ba(),i=XJ(),a=YI(),o=Zd(),l=Pa(),s=_u(),c=Nn(),d=!c&&s("take",RangeError),h=o(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,l(p,"normal",void 0);var g=r(t(this.next,p)),m=this.done=!!g.done;if(!m)return g.value});return e({target:"Iterator",proto:!0,real:!0,forced:c||d},{take:function(g){r(this);var m;try{m=a(i(+g))}catch(_){l(this,"throw",_)}return d?t(d,this,m):new h(n(this),{remaining:m})}}),m6}var _6={},S6;function nce(){if(S6)return _6;S6=1;var e=Ve(),t=Ar(),r=sa(),n=Ba(),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}}),_6}var E6={},w6;function ice(){if(w6)return E6;w6=1;var e=er(),t=Do();return t(e.JSON,"JSON",!0),E6}var b6={},C6={},dw={exports:{}},hw,T6;function XI(){if(T6)return hw;T6=1;var e=Bt();return hw=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),hw}var pw,A6;function QI(){if(A6)return pw;A6=1;var e=Bt(),t=Gr(),r=Va(),n=XI(),i=Object.isExtensible,a=e(function(){});return pw=a||n?function(l){return!t(l)||n&&r(l)==="ArrayBuffer"?!1:i?i(l):!0}:i,pw}var vw,R6;function Jd(){if(R6)return vw;R6=1;var e=Bt();return vw=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),vw}var x6;function ff(){if(x6)return dw.exports;x6=1;var e=Ve(),t=Kt(),r=qp(),n=Gr(),i=yn(),a=Si().f,o=nf(),l=NI(),s=QI(),c=Bd(),d=Jd(),h=!1,p=c("meta"),g=0,m=function(T){a(T,p,{value:{objectID:"O"+g++,weakData:{}}})},_=function(T,A){if(!n(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!i(T,p)){if(!s(T))return"F";if(!A)return"E";m(T)}return T[p].objectID},E=function(T,A){if(!i(T,p)){if(!s(T))return!0;if(!A)return!1;m(T)}return T[p].weakData},w=function(T){return d&&h&&s(T)&&!i(T,p)&&m(T),T},b=function(){x.enable=function(){},h=!0;var T=o.f,A=t([].splice),O={};O[p]=1,T(O).length&&(o.f=function(y){for(var P=T(y),D=0,V=P.length;D<V;D++)if(P[D]===p){A(P,D,1);break}return P},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},x=dw.exports={enable:b,fastKey:_,getWeakData:E,onFreeze:w};return r[p]=!0,dw.exports}var gw,O6;function Oy(){if(O6)return gw;O6=1;var e=Ve(),t=er(),r=Kt(),n=Hp(),i=Gn(),a=ff(),o=sa(),l=as(),s=Sn(),c=rl(),d=Gr(),h=Bt(),p=_y(),g=Do(),m=sf();return gw=function(_,E,w){var b=_.indexOf("Map")!==-1,x=_.indexOf("Weak")!==-1,T=b?"set":"add",A=t[_],O=A&&A.prototype,y=A,P={},D=function(te){var ue=r(O[te]);i(O,te,te==="add"?function(I){return ue(this,I===0?0:I),this}:te==="delete"?function(L){return x&&!d(L)?!1:ue(this,L===0?0:L)}:te==="get"?function(I){return x&&!d(I)?void 0:ue(this,I===0?0:I)}:te==="has"?function(I){return x&&!d(I)?!1:ue(this,I===0?0:I)}:function(I,N){return ue(this,I===0?0:I,N),this})},V=n(_,!s(A)||!(x||O.forEach&&!h(function(){new A().entries().next()})));if(V)y=w.getConstructor(E,_,b,T),a.enable();else if(n(_,!0)){var F=new y,B=F[T](x?{}:-0,1)!==F,K=h(function(){F.has(1)}),Q=p(function(te){new A(te)}),X=!x&&h(function(){for(var te=new A,ue=5;ue--;)te[T](ue,ue);return!te.has(-0)});Q||(y=E(function(te,ue){l(te,O);var L=m(new A,te,y);return c(ue)||o(ue,L[T],{that:L,AS_ENTRIES:b}),L}),y.prototype=O,O.constructor=y),(K||X)&&(D("delete"),D("has"),b&&D("get")),(X||B)&&D(T),x&&O.clear&&delete O.clear}return P[_]=y,e({global:!0,constructor:!0,forced:y!==A},P),g(y,_),x||w.setStrong(y,_,b),y},gw}var mw,I6;function ZJ(){if(I6)return mw;I6=1;var e=Oa(),t=Gi(),r=ol(),n=ns(),i=as(),a=rl(),o=sa(),l=HI(),s=cf(),c=Qd(),d=Dr(),h=ff().fastKey,p=Mi(),g=p.set,m=p.getterFor;return mw={getConstructor:function(_,E,w,b){var x=_(function(P,D){i(P,T),g(P,{type:E,index:e(null),first:null,last:null,size:0}),d||(P.size=0),a(D)||o(D,P[b],{that:P,AS_ENTRIES:w})}),T=x.prototype,A=m(E),O=function(P,D,V){var F=A(P),B=y(P,D),K,Q;return B?B.value=V:(F.last=B={index:Q=h(D,!0),key:D,value:V,previous:K=F.last,next:null,removed:!1},F.first||(F.first=B),K&&(K.next=B),d?F.size++:P.size++,Q!=="F"&&(F.index[Q]=B)),P},y=function(P,D){var V=A(P),F=h(D),B;if(F!=="F")return V.index[F];for(B=V.first;B;B=B.next)if(B.key===D)return B};return r(T,{clear:function(){for(var D=this,V=A(D),F=V.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=null),F=F.next;V.first=V.last=null,V.index=e(null),d?V.size=0:D.size=0},delete:function(P){var D=this,V=A(D),F=y(D,P);if(F){var B=F.next,K=F.previous;delete V.index[F.index],F.removed=!0,K&&(K.next=B),B&&(B.previous=K),V.first===F&&(V.first=B),V.last===F&&(V.last=K),d?V.size--:D.size--}return!!F},forEach:function(D){for(var V=A(this),F=n(D,arguments.length>1?arguments[1]:void 0),B;B=B?B.next:V.first;)for(F(B.value,B.key,this);B&&B.removed;)B=B.previous},has:function(D){return!!y(this,D)}}),r(T,w?{get:function(D){var V=y(this,D);return V&&V.value},set:function(D,V){return O(this,D===0?0:D,V)}}:{add:function(D){return O(this,D=D===0?0:D,D)}}),d&&t(T,"size",{configurable:!0,get:function(){return A(this).size}}),x},setStrong:function(_,E,w){var b=E+" Iterator",x=m(E),T=m(b);l(_,E,function(A,O){g(this,{type:b,target:A,state:x(A),kind:O,last:null})},function(){for(var A=T(this),O=A.kind,y=A.last;y&&y.removed;)y=y.previous;return!A.target||!(A.last=y=y?y.next:A.state.first)?(A.target=null,s(void 0,!0)):s(O==="keys"?y.key:O==="values"?y.value:[y.key,y.value],!1)},w?"entries":"values",!w,!0),c(E)}},mw}var P6;function ace(){if(P6)return C6;P6=1;var e=Oy(),t=ZJ();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),C6}var k6;function oce(){return k6||(k6=1,ace()),b6}var D6={},yw,L6;function JJ(){if(L6)return yw;L6=1;var e=Kt(),t=Map.prototype;return yw={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},yw}var N6;function sce(){if(N6)return D6;N6=1;var e=Ve(),t=Kt(),r=mn(),n=Ri(),i=sa(),a=JJ(),o=Nn(),l=Bt(),s=a.Map,c=a.has,d=a.get,h=a.set,p=t([].push),g=o||l(function(){return s.groupBy("ab",function(m){return m}).get("a").length!==1});return e({target:"Map",stat:!0,forced:o||g},{groupBy:function(_,E){n(_),r(E);var w=new s,b=0;return i(_,function(x){var T=E(x,b++);c(w,T)?p(d(w,T),x):h(w,T,[x])}),w}}),D6}var M6={},_w,$6;function eee(){if($6)return _w;$6=1;var e=Math.log;return _w=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},_w}var F6;function uce(){if(F6)return M6;F6=1;var e=Ve(),t=eee(),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(s){var c=+s;return c<1?NaN:c>9490626562425156e-8?n(c)+a:t(c-1+i(c-1)*i(c+1))}}),M6}var j6={},U6;function lce(){if(U6)return j6;U6=1;var e=Ve(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(o){var l=+o;return!isFinite(l)||l===0?l:l<0?-i(-l):r(l+n(l*l+1))}var a=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:a},{asinh:i}),j6}var q6={},V6;function cce(){if(V6)return q6;V6=1;var e=Ve(),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}}),q6}var H6={},B6;function fce(){if(B6)return H6;B6=1;var e=Ve(),t=GI(),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)}}),H6}var z6={},W6;function dce(){if(W6)return z6;W6=1;var e=Ve(),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}}),z6}var G6={},Sw,K6;function Iy(){if(K6)return Sw;K6=1;var e=Math.expm1,t=Math.exp;return Sw=!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,Sw}var Y6;function hce(){if(Y6)return G6;Y6=1;var e=Ve(),t=Iy(),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(l){var s=t(n(l)-1)+1;return(s+1/(s*i*i))*(i/2)}}),G6}var X6={},Q6;function pce(){if(Q6)return X6;Q6=1;var e=Ve(),t=Iy();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),X6}var Z6={},J6;function vce(){if(J6)return Z6;J6=1;var e=Ve(),t=qJ();return e({target:"Math",stat:!0},{fround:t}),Z6}var e7={},t7;function gce(){if(t7)return e7;t7=1;var e=Ve(),t=UJ(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(o){return t(o,r,n,i)}}),e7}var r7={},n7;function mce(){if(n7)return r7;n7=1;var e=Ve(),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,l){for(var s=0,c=0,d=arguments.length,h=0,p,g;c<d;)p=r(arguments[c++]),h<p?(g=h/p,s=s*g*g+1,h=p):p>0?(g=p/h,s+=g*g):s+=p;return h===1/0?1/0:h*n(s)}}),r7}var i7={},a7;function yce(){if(a7)return i7;a7=1;var e=Ve(),t=Bt(),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 l=65535,s=+a,c=+o,d=l&s,h=l&c;return 0|d*h+((l&s>>>16)*h+d*(l&c>>>16)<<16>>>0)}}),i7}var o7={},Ew,s7;function tee(){if(s7)return Ew;s7=1;var e=Math.log,t=Math.LOG10E;return Ew=Math.log10||function(n){return e(n)*t},Ew}var u7;function _ce(){if(u7)return o7;u7=1;var e=Ve(),t=tee();return e({target:"Math",stat:!0},{log10:t}),o7}var l7={},c7;function Sce(){if(c7)return l7;c7=1;var e=Ve(),t=eee();return e({target:"Math",stat:!0},{log1p:t}),l7}var f7={},d7;function Ece(){if(d7)return f7;d7=1;var e=Ve(),t=VJ();return e({target:"Math",stat:!0},{log2:t}),f7}var h7={},p7;function wce(){if(p7)return h7;p7=1;var e=Ve(),t=GI();return e({target:"Math",stat:!0},{sign:t}),h7}var v7={},g7;function bce(){if(g7)return v7;g7=1;var e=Ve(),t=Bt(),r=Iy(),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(s){var c=+s;return n(c)<1?(r(c)-r(-c))/2:(i(c-1)-i(-c-1))*(a/2)}}),v7}var m7={},y7;function Cce(){if(y7)return m7;y7=1;var e=Ve(),t=Kt(),r=sa(),n=RangeError,i=TypeError,a=1/0,o=NaN,l=Math.abs,s=Math.pow,c=t([].push),d=s(2,1023),h=s(2,53)-1,p=Number.MAX_VALUE,g=s(2,971),m={},_={},E={},w={},b={},x=function(T,A){var O=T+A,y=A-(O-T);return{hi:O,lo:y}};return e({target:"Math",stat:!0},{sumPrecise:function(A){var O=[],y=0,P=w;switch(r(A,function(ce){if(++y>=h)throw new n("Maximum allowed index exceeded");if(typeof ce!="number")throw new i("Value is not a number");P!==m&&(ce!==ce?P=m:ce===a?P=P===_?m:E:ce===-a?P=P===E?m:_:(ce!==0||1/ce===a)&&(P===w||P===b)&&(P=b,c(O,ce)))}),P){case m:return o;case _:return-a;case E:return a;case w:return-0}for(var D=[],V=0,F,B,K,Q,X,te,ue=0;ue<O.length;ue++){F=O[ue];for(var L=0,I=0;I<D.length;I++){if(B=D[I],l(F)<l(B)&&(te=F,F=B,B=te),K=x(F,B),Q=K.hi,X=K.lo,l(Q)===a){var N=Q===a?1:-1;V+=N,F=F-N*d-N*d,l(F)<l(B)&&(te=F,F=B,B=te),K=x(F,B),Q=K.hi,X=K.lo}X!==0&&(D[L++]=X),F=Q}D.length=L,F!==0&&c(D,F)}var re=D.length-1;if(Q=0,X=0,V!==0){var ee=re>=0?D[re]:0;if(re--,l(V)>1||V>0&&ee>0||V<0&&ee<0)return V>0?a:-a;if(K=x(V*d,ee/2),Q=K.hi,X=K.lo,X*=2,l(2*Q)===a)return Q>0?Q===d&&X===-(g/2)&&re>=0&&D[re]<0?p:a:Q===-d&&X===g/2&&re>=0&&D[re]>0?-p:-a;X!==0&&(D[++re]=X,X=0),Q*=2}for(;re>=0&&(K=x(Q,D[re--]),Q=K.hi,X=K.lo,X===0););return re>=0&&(X<0&&D[re]<0||X>0&&D[re]>0)&&(B=X*2,F=Q+B,B===F-Q&&(Q=F)),Q}}),m7}var _7={},S7;function Tce(){if(S7)return _7;S7=1;var e=Ve(),t=Iy(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var a=+i,o=t(a),l=t(-a);return o===1/0?1:l===1/0?-1:(o-l)/(r(a)+r(-a))}}),_7}var E7={},w7;function Ace(){if(w7)return E7;w7=1;var e=Do();return e(Math,"Math",!0),E7}var b7={},C7;function Rce(){if(C7)return b7;C7=1;var e=Ve(),t=vJ();return e({target:"Math",stat:!0},{trunc:t}),b7}var T7={},ww,A7;function Py(){if(A7)return ww;A7=1;var e=Kt();return ww=e(1.1.valueOf),ww}var bw,R7;function Xp(){return R7||(R7=1,bw=`
3
+ \v\f\r                 \u2028\u2029\uFEFF`),bw}var Cw,x7;function eh(){if(x7)return Cw;x7=1;var e=Kt(),t=Ri(),r=rn(),n=Xp(),i=e("".replace),a=RegExp("^["+n+"]+"),o=RegExp("(^|[^"+n+"])["+n+"]+$"),l=function(s){return function(c){var d=r(t(c));return s&1&&(d=i(d,a,"")),s&2&&(d=i(d,o,"$1")),d}};return Cw={start:l(1),end:l(2),trim:l(3)},Cw}var O7;function xce(){if(O7)return T7;O7=1;var e=Ve(),t=Nn(),r=Dr(),n=er(),i=vy(),a=Kt(),o=Hp(),l=yn(),s=sf(),c=oo(),d=tf(),h=fy(),p=Bt(),g=nf().f,m=Ra().f,_=Si().f,E=Py(),w=eh().trim,b="Number",x=n[b],T=i[b],A=x.prototype,O=n.TypeError,y=a("".slice),P=a("".charCodeAt),D=function(X){var te=h(X,"number");return typeof te=="bigint"?te:V(te)},V=function(X){var te=h(X,"number"),ue,L,I,N,re,ee,ce,be;if(d(te))throw new O("Cannot convert a Symbol value to a number");if(typeof te=="string"&&te.length>2){if(te=w(te),ue=P(te,0),ue===43||ue===45){if(L=P(te,2),L===88||L===120)return NaN}else if(ue===48){switch(P(te,1)){case 66:case 98:I=2,N=49;break;case 79:case 111:I=8,N=55;break;default:return+te}for(re=y(te,2),ee=re.length,ce=0;ce<ee;ce++)if(be=P(re,ce),be<48||be>N)return NaN;return parseInt(re,I)}}return+te},F=o(b,!x(" 0o1")||!x("0b1")||x("+0x1")),B=function(X){return c(A,X)&&p(function(){E(X)})},K=function(te){var ue=arguments.length<1?0:x(D(te));return B(this)?s(Object(ue),this,K):ue};K.prototype=A,F&&!t&&(A.constructor=K),e({global:!0,constructor:!0,wrap:!0,forced:F},{Number:K});var Q=function(X,te){for(var ue=r?g(te):"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(","),L=0,I;ue.length>L;L++)l(te,I=ue[L])&&!l(X,I)&&_(X,I,m(te,I))};return t&&T&&Q(i[b],T),(F||t)&&Q(i[b],x),T7}var I7={},P7;function Oce(){if(P7)return I7;P7=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),I7}var k7={},Tw,D7;function Ice(){if(D7)return Tw;D7=1;var e=er(),t=e.isFinite;return Tw=Number.isFinite||function(n){return typeof n=="number"&&t(n)},Tw}var L7;function Pce(){if(L7)return k7;L7=1;var e=Ve(),t=Ice();return e({target:"Number",stat:!0},{isFinite:t}),k7}var N7={},Aw,M7;function ZI(){if(M7)return Aw;M7=1;var e=Gr(),t=Math.floor;return Aw=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},Aw}var $7;function kce(){if($7)return N7;$7=1;var e=Ve(),t=ZI();return e({target:"Number",stat:!0},{isInteger:t}),N7}var F7={},j7;function Dce(){if(j7)return F7;j7=1;var e=Ve();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),F7}var U7={},q7;function Lce(){if(q7)return U7;q7=1;var e=Ve(),t=ZI(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),U7}var V7={},H7;function Nce(){if(H7)return V7;H7=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),V7}var B7={},z7;function Mce(){if(z7)return B7;z7=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),B7}var W7={},Rw,G7;function ree(){if(G7)return Rw;G7=1;var e=er(),t=Bt(),r=Kt(),n=rn(),i=eh().trim,a=Xp(),o=r("".charAt),l=e.parseFloat,s=e.Symbol,c=s&&s.iterator,d=1/l(a+"-0")!==-1/0||c&&!t(function(){l(Object(c))});return Rw=d?function(p){var g=i(n(p)),m=l(g);return m===0&&o(g,0)==="-"?-0:m}:l,Rw}var K7;function $ce(){if(K7)return W7;K7=1;var e=Ve(),t=ree();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),W7}var Y7={},xw,X7;function nee(){if(X7)return xw;X7=1;var e=er(),t=Bt(),r=Kt(),n=rn(),i=eh().trim,a=Xp(),o=e.parseInt,l=e.Symbol,s=l&&l.iterator,c=/^[+-]?0x/i,d=r(c.exec),h=o(a+"08")!==8||o(a+"0x16")!==22||s&&!t(function(){o(Object(s))});return xw=h?function(g,m){var _=i(n(g));return o(_,m>>>0||(d(c,_)?16:10))}:o,xw}var Q7;function Fce(){if(Q7)return Y7;Q7=1;var e=Ve(),t=nee();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),Y7}var Z7={},J7;function jce(){if(J7)return Z7;J7=1;var e=Ve(),t=Kt(),r=qi(),n=Py(),i=Ay(),a=tee(),o=Bt(),l=RangeError,s=String,c=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,g=Math.round,m=t(1.1.toExponential),_=t(i),E=t("".slice),w=m(-69e-12,4)==="-6.9000e-11"&&m(1.255,2)==="1.25e+0"&&m(12345,3)==="1.235e+4"&&m(25,0)==="3e+1",b=function(){return o(function(){m(1,1/0)})&&o(function(){m(1,-1/0)})},x=function(){return!o(function(){m(1/0,1/0),m(NaN,1/0)})},T=!w||!b()||!x();return e({target:"Number",proto:!0,forced:T},{toExponential:function(O){var y=n(this);if(O===void 0)return m(y);var P=r(O);if(!c(y))return String(y);if(P<0||P>20)throw new l("Incorrect fraction digits");if(w)return m(y,P);var D="",V,F,B,K;if(y<0&&(D="-",y=-y),y===0)F=0,V=_("0",P+1);else{var Q=a(y);F=h(Q);var X=p(10,F-P),te=g(y/X);2*y>=(2*te+1)*X&&(te+=1),te>=p(10,P+1)&&(te/=10,F+=1),V=s(te)}return P!==0&&(V=E(V,0,1)+"."+E(V,1)),F===0?(B="+",K="0"):(B=F>0?"+":"-",K=s(d(F))),V+="e"+B+K,D+V}}),Z7}var e9={},t9;function Uce(){if(t9)return e9;t9=1;var e=Ve(),t=Kt(),r=qi(),n=Py(),i=Ay(),a=Bt(),o=RangeError,l=String,s=Math.floor,c=t(i),d=t("".slice),h=t(1.1.toFixed),p=function(b,x,T){return x===0?T:x%2===1?p(b,x-1,T*b):p(b*b,x/2,T)},g=function(b){for(var x=0,T=b;T>=4096;)x+=12,T/=4096;for(;T>=2;)x+=1,T/=2;return x},m=function(b,x,T){for(var A=-1,O=T;++A<6;)O+=x*b[A],b[A]=O%1e7,O=s(O/1e7)},_=function(b,x){for(var T=6,A=0;--T>=0;)A+=b[T],b[T]=s(A/x),A=A%x*1e7},E=function(b){for(var x=6,T="";--x>=0;)if(T!==""||x===0||b[x]!==0){var A=l(b[x]);T=T===""?A:T+c("0",7-A.length)+A}return T},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(x){var T=n(this),A=r(x),O=[0,0,0,0,0,0],y="",P="0",D,V,F,B;if(A<0||A>20)throw new o("Incorrect fraction digits");if(T!==T)return"NaN";if(T<=-1e21||T>=1e21)return l(T);if(T<0&&(y="-",T=-T),T>1e-21)if(D=g(T*p(2,69,1))-69,V=D<0?T*p(2,-D,1):T/p(2,D,1),V*=4503599627370496,D=52-D,D>0){for(m(O,0,V),F=A;F>=7;)m(O,1e7,0),F-=7;for(m(O,p(10,F,1),0),F=D-1;F>=23;)_(O,1<<23),F-=23;_(O,1<<F),m(O,1,1),_(O,2),P=E(O)}else m(O,0,V),m(O,1<<-D,0),P=E(O)+c("0",A);return A>0?(B=P.length,P=y+(B<=A?"0."+c("0",A-B)+P:d(P,0,B-A)+"."+d(P,B-A))):P=y+P,P}}),e9}var r9={},n9;function qce(){if(n9)return r9;n9=1;var e=Ve(),t=Kt(),r=Bt(),n=Py(),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(l){return l===void 0?i(n(this)):i(n(this),l)}}),r9}var i9={},Ow,a9;function iee(){if(a9)return Ow;a9=1;var e=Dr(),t=Kt(),r=wr(),n=Bt(),i=Bp(),a=py(),o=ly(),l=In(),s=qd(),c=Object.assign,d=Object.defineProperty,h=t([].concat);return Ow=!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 p={},g={},m=Symbol("assign detection"),_="abcdefghijklmnopqrst";return p[m]=7,_.split("").forEach(function(E){g[E]=E}),c({},p)[m]!==7||i(c({},g)).join("")!==_})?function(g,m){for(var _=l(g),E=arguments.length,w=1,b=a.f,x=o.f;E>w;)for(var T=s(arguments[w++]),A=b?h(i(T),b(T)):i(T),O=A.length,y=0,P;O>y;)P=A[y++],(!e||r(x,T,P))&&(_[P]=T[P]);return _}:c,Ow}var o9;function Vce(){if(o9)return i9;o9=1;var e=Ve(),t=iee();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),i9}var s9={},u9;function Hce(){if(u9)return s9;u9=1;var e=Ve(),t=Dr(),r=Oa();return e({target:"Object",stat:!0,sham:!t},{create:r}),s9}var l9={},Iw,c9;function ky(){if(c9)return Iw;c9=1;var e=Nn(),t=er(),r=Bt(),n=WI();return Iw=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),Iw}var f9;function Bce(){if(f9)return l9;f9=1;var e=Ve(),t=Dr(),r=ky(),n=mn(),i=In(),a=Si();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(l,s){a.f(i(this),l,{get:n(s),enumerable:!0,configurable:!0})}}),l9}var d9={},h9;function zce(){if(h9)return d9;h9=1;var e=Ve(),t=Dr(),r=LI().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),d9}var p9={},v9;function Wce(){if(v9)return p9;v9=1;var e=Ve(),t=Dr(),r=Si().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),p9}var g9={},m9;function Gce(){if(m9)return g9;m9=1;var e=Ve(),t=Dr(),r=ky(),n=mn(),i=In(),a=Si();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(l,s){a.f(i(this),l,{set:n(s),enumerable:!0,configurable:!0})}}),g9}var y9={},Pw,_9;function aee(){if(_9)return Pw;_9=1;var e=Dr(),t=Bt(),r=Kt(),n=so(),i=Bp(),a=ma(),o=ly().f,l=r(o),s=r([].push),c=e&&t(function(){var h=Object.create(null);return h[2]=2,!l(h,2)}),d=function(h){return function(p){for(var g=a(p),m=i(g),_=c&&n(g)===null,E=m.length,w=0,b=[],x;E>w;)x=m[w++],(!e||(_?x in g:l(g,x)))&&s(b,h?[x,g[x]]:g[x]);return b}};return Pw={entries:d(!0),values:d(!1)},Pw}var S9;function Kce(){if(S9)return y9;S9=1;var e=Ve(),t=aee().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),y9}var E9={},w9;function Yce(){if(w9)return E9;w9=1;var e=Ve(),t=Jd(),r=Bt(),n=Gr(),i=ff().onFreeze,a=Object.freeze,o=r(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!t},{freeze:function(s){return a&&n(s)?a(i(s)):s}}),E9}var b9={},C9;function Xce(){if(C9)return b9;C9=1;var e=Ve(),t=sa(),r=il();return e({target:"Object",stat:!0},{fromEntries:function(i){var a={};return t(i,function(o,l){r(a,o,l)},{AS_ENTRIES:!0}),a}}),b9}var T9={},A9;function Qce(){if(A9)return T9;A9=1;var e=Ve(),t=Bt(),r=ma(),n=Ra().f,i=Dr(),a=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getOwnPropertyDescriptor:function(l,s){return n(r(l),s)}}),T9}var R9={},x9;function Zce(){if(x9)return R9;x9=1;var e=Ve(),t=Dr(),r=kI(),n=ma(),i=Ra(),a=il();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(l){for(var s=n(l),c=i.f,d=r(s),h={},p=0,g,m;d.length>p;)m=c(s,g=d[p++]),m!==void 0&&a(h,g,m);return h}}),R9}var O9={},I9;function Jce(){if(I9)return O9;I9=1;var e=Ve(),t=Bt(),r=NI().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),O9}var P9={},k9;function efe(){if(k9)return P9;k9=1;var e=Ve(),t=Bt(),r=In(),n=so(),i=FI(),a=t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(l){return n(r(l))}}),P9}var D9={},L9;function tfe(){if(L9)return D9;L9=1;var e=Ve(),t=gn(),r=Kt(),n=mn(),i=Ri(),a=Kl(),o=sa(),l=Bt(),s=Object.groupBy,c=t("Object","create"),d=r([].push),h=!s||l(function(){return s("ab",function(p){return p}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(g,m){i(g),n(m);var _=c(null),E=0;return o(g,function(w){var b=a(m(w,E++));b in _?d(_[b],w):_[b]=[w]}),_}}),D9}var N9={},M9;function rfe(){if(M9)return N9;M9=1;var e=Ve(),t=yn();return e({target:"Object",stat:!0},{hasOwn:t}),N9}var $9={},kw,F9;function oee(){return F9||(F9=1,kw=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),kw}var j9;function nfe(){if(j9)return $9;j9=1;var e=Ve(),t=oee();return e({target:"Object",stat:!0},{is:t}),$9}var U9={},q9;function ife(){if(q9)return U9;q9=1;var e=Ve(),t=QI();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),U9}var V9={},H9;function afe(){if(H9)return V9;H9=1;var e=Ve(),t=Bt(),r=Gr(),n=Va(),i=XI(),a=Object.isFrozen,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isFrozen:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),V9}var B9={},z9;function ofe(){if(z9)return B9;z9=1;var e=Ve(),t=Bt(),r=Gr(),n=Va(),i=XI(),a=Object.isSealed,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isSealed:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),B9}var W9={},G9;function sfe(){if(G9)return W9;G9=1;var e=Ve(),t=In(),r=Bp(),n=Bt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(o){return r(t(o))}}),W9}var K9={},Y9;function ufe(){if(Y9)return K9;Y9=1;var e=Ve(),t=Dr(),r=ky(),n=In(),i=Kl(),a=so(),o=Ra().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.get;while(c=a(c))}}),K9}var X9={},Q9;function lfe(){if(Q9)return X9;Q9=1;var e=Ve(),t=Dr(),r=ky(),n=In(),i=Kl(),a=so(),o=Ra().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.set;while(c=a(c))}}),X9}var Z9={},J9;function cfe(){if(J9)return Z9;J9=1;var e=Ve(),t=Gr(),r=ff().onFreeze,n=Jd(),i=Bt(),a=Object.preventExtensions,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{preventExtensions:function(s){return a&&t(s)?a(r(s)):s}}),Z9}var e$={},t$;function ffe(){if(t$)return e$;t$=1;var e=Dr(),t=Gi(),r=Gr(),n=wJ(),i=In(),a=Ri(),o=Object.getPrototypeOf,l=Object.setPrototypeOf,s=Object.prototype,c="__proto__";if(e&&o&&l&&!(c in s))try{t(s,c,{configurable:!0,get:function(){return o(i(this))},set:function(h){var p=a(this);n(h)&&r(p)&&l(p,h)}})}catch{}return e$}var r$={},n$;function dfe(){if(n$)return r$;n$=1;var e=Ve(),t=Gr(),r=ff().onFreeze,n=Jd(),i=Bt(),a=Object.seal,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{seal:function(s){return a&&t(s)?a(r(s)):s}}),r$}var i$={},a$;function hfe(){if(a$)return i$;a$=1;var e=Ve(),t=Ys();return e({target:"Object",stat:!0},{setPrototypeOf:t}),i$}var o$={},Dw,s$;function pfe(){if(s$)return Dw;s$=1;var e=DI(),t=rs();return Dw=e?{}.toString:function(){return"[object "+t(this)+"]"},Dw}var u$;function vfe(){if(u$)return o$;u$=1;var e=DI(),t=Gn(),r=pfe();return e||t(Object.prototype,"toString",r,{unsafe:!0}),o$}var l$={},c$;function gfe(){if(c$)return l$;c$=1;var e=Ve(),t=aee().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),l$}var f$={},d$;function mfe(){if(d$)return f$;d$=1;var e=Ve(),t=ree();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),f$}var h$={},p$;function yfe(){if(p$)return h$;p$=1;var e=Ve(),t=nee();return e({global:!0,forced:parseInt!==t},{parseInt:t}),h$}var v$={},g$={},Lw,m$;function JI(){if(m$)return Lw;m$=1;var e=of(),t=rf(),r=TypeError;return Lw=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},Lw}var Nw,y$;function Dy(){if(y$)return Nw;y$=1;var e=Ar(),t=JI(),r=rl(),n=Kr(),i=n("species");return Nw=function(a,o){var l=e(a).constructor,s;return l===void 0||r(s=e(l)[i])?o:t(s)},Nw}var Mw,_$;function ks(){if(_$)return Mw;_$=1;var e=TypeError;return Mw=function(t,r){if(t<r)throw new e("Not enough arguments");return t},Mw}var $w,S$;function see(){if(S$)return $w;S$=1;var e=mu();return $w=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),$w}var Fw,E$;function Ly(){if(E$)return Fw;E$=1;var e=er(),t=is(),r=ns(),n=Sn(),i=yn(),a=Bt(),o=mJ(),l=Ps(),s=dy(),c=ks(),d=see(),h=Xd(),p=e.setImmediate,g=e.clearImmediate,m=e.process,_=e.Dispatch,E=e.Function,w=e.MessageChannel,b=e.String,x=0,T={},A="onreadystatechange",O,y,P,D;a(function(){O=e.location});var V=function(Q){if(i(T,Q)){var X=T[Q];delete T[Q],X()}},F=function(Q){return function(){V(Q)}},B=function(Q){V(Q.data)},K=function(Q){e.postMessage(b(Q),O.protocol+"//"+O.host)};return(!p||!g)&&(p=function(X){c(arguments.length,1);var te=n(X)?X:E(X),ue=l(arguments,1);return T[++x]=function(){t(te,void 0,ue)},y(x),x},g=function(X){delete T[X]},h?y=function(Q){m.nextTick(F(Q))}:_&&_.now?y=function(Q){_.now(F(Q))}:w&&!d?(P=new w,D=P.port2,P.port1.onmessage=B,y=r(D.postMessage,D)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!a(K)?(y=K,e.addEventListener("message",B,!1)):A in s("script")?y=function(Q){o.appendChild(s("script"))[A]=function(){o.removeChild(this),V(Q)}}:y=function(Q){setTimeout(F(Q),0)}),Fw={set:p,clear:g},Fw}var jw,w$;function uee(){if(w$)return jw;w$=1;var e=er(),t=Dr(),r=Object.getOwnPropertyDescriptor;return jw=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},jw}var Uw,b$;function lee(){if(b$)return Uw;b$=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}}},Uw=e,Uw}var qw,C$;function _fe(){if(C$)return qw;C$=1;var e=mu();return qw=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",qw}var Vw,T$;function Sfe(){if(T$)return Vw;T$=1;var e=mu();return Vw=/web0s(?!.*chrome)/i.test(e),Vw}var Hw,A$;function cee(){if(A$)return Hw;A$=1;var e=er(),t=uee(),r=ns(),n=Ly().set,i=lee(),a=see(),o=_fe(),l=Sfe(),s=Xd(),c=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,p=e.Promise,g=t("queueMicrotask"),m,_,E,w,b;if(!g){var x=new i,T=function(){var A,O;for(s&&(A=h.domain)&&A.exit();O=x.get();)try{O()}catch(y){throw x.head&&m(),y}A&&A.enter()};!a&&!s&&!l&&c&&d?(_=!0,E=d.createTextNode(""),new c(T).observe(E,{characterData:!0}),m=function(){E.data=_=!_}):!o&&p&&p.resolve?(w=p.resolve(void 0),w.constructor=p,b=r(w.then,w),m=function(){b(T)}):s?m=function(){h.nextTick(T)}:(n=r(n,e),m=function(){n(T)}),g=function(A){x.head||m(),x.add(A)}}return Hw=g,Hw}var Bw,R$;function Efe(){return R$||(R$=1,Bw=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Bw}var zw,x$;function th(){return x$||(x$=1,zw=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),zw}var Ww,O$;function rh(){if(O$)return Ww;O$=1;var e=er();return Ww=e.Promise,Ww}var Gw,I$;function Qp(){if(I$)return Gw;I$=1;var e=er(),t=rh(),r=Sn(),n=Hp(),i=OI(),a=Kr(),o=wy(),l=Nn(),s=yu(),c=t&&t.prototype,d=a("species"),h=!1,p=r(e.PromiseRejectionEvent),g=n("Promise",function(){var m=i(t),_=m!==String(t);if(!_&&s===66||l&&!(c.catch&&c.finally))return!0;if(!s||s<51||!/native code/.test(m)){var E=new t(function(x){x(1)}),w=function(x){x(function(){},function(){})},b=E.constructor={};if(b[d]=w,h=E.then(function(){})instanceof w,!h)return!0}return!_&&(o==="BROWSER"||o==="DENO")&&!p});return Gw={CONSTRUCTOR:g,REJECTION_EVENT:p,SUBCLASSING:h},Gw}var Kw={},P$;function sl(){if(P$)return Kw;P$=1;var e=mn(),t=TypeError,r=function(n){var i,a;this.promise=new n(function(o,l){if(i!==void 0||a!==void 0)throw new t("Bad Promise constructor");i=o,a=l}),this.resolve=e(i),this.reject=e(a)};return Kw.f=function(n){return new r(n)},Kw}var k$;function wfe(){if(k$)return g$;k$=1;var e=Ve(),t=Nn(),r=Xd(),n=er(),i=vy(),a=wr(),o=Gn(),l=Ys(),s=Do(),c=Qd(),d=mn(),h=Sn(),p=Gr(),g=as(),m=Dy(),_=Ly().set,E=cee(),w=Efe(),b=th(),x=lee(),T=Mi(),A=rh(),O=Qp(),y=sl(),P="Promise",D=O.CONSTRUCTOR,V=O.REJECTION_EVENT,F=O.SUBCLASSING,B=T.getterFor(P),K=T.set,Q=A&&A.prototype,X=A,te=Q,ue=n.TypeError,L=n.document,I=n.process,N=y.f,re=N,ee=!!(L&&L.createEvent&&n.dispatchEvent),ce="unhandledrejection",be="rejectionhandled",Ie=0,je=1,z=2,k=1,U=2,H,ne,q,J,me=function(De){var Ne;return p(De)&&h(Ne=De.then)?Ne:!1},fe=function(De,Ne){var Be=Ne.value,_t=Ne.state===je,Ut=_t?De.ok:De.fail,Mt=De.resolve,Qe=De.reject,bt=De.domain,mt,St,yt;try{Ut?(_t||(Ne.rejection===U&&de(Ne),Ne.rejection=k),Ut===!0?mt=Be:(bt&&bt.enter(),mt=Ut(Be),bt&&(bt.exit(),yt=!0)),mt===De.promise?Qe(new ue("Promise-chain cycle")):(St=me(mt))?a(St,mt,Mt,Qe):Mt(mt)):Qe(Be)}catch(at){bt&&!yt&&bt.exit(),Qe(at)}},Te=function(De,Ne){De.notified||(De.notified=!0,E(function(){for(var Be=De.reactions,_t;_t=Be.get();)fe(_t,De);De.notified=!1,Ne&&!De.rejection&&Oe(De)}))},Se=function(De,Ne,Be){var _t,Ut;ee?(_t=L.createEvent("Event"),_t.promise=Ne,_t.reason=Be,_t.initEvent(De,!1,!0),n.dispatchEvent(_t)):_t={promise:Ne,reason:Be},!V&&(Ut=n["on"+De])?Ut(_t):De===ce&&w("Unhandled promise rejection",Be)},Oe=function(De){a(_,n,function(){var Ne=De.facade,Be=De.value,_t=Me(De),Ut;if(_t&&(Ut=b(function(){r?I.emit("unhandledRejection",Be,Ne):Se(ce,Ne,Be)}),De.rejection=r||Me(De)?U:k,Ut.error))throw Ut.value})},Me=function(De){return De.rejection!==k&&!De.parent},de=function(De){a(_,n,function(){var Ne=De.facade;r?I.emit("rejectionHandled",Ne):Se(be,Ne,De.value)})},Ee=function(De,Ne,Be){return function(_t){De(Ne,_t,Be)}},_e=function(De,Ne,Be){De.done||(De.done=!0,Be&&(De=Be),De.value=Ne,De.state=z,Te(De,!0))},Ae=function(De,Ne,Be){if(!De.done){De.done=!0,Be&&(De=Be);try{if(De.facade===Ne)throw new ue("Promise can't be resolved itself");var _t=me(Ne);_t?E(function(){var Ut={done:!1};try{a(_t,Ne,Ee(Ae,Ut,De),Ee(_e,Ut,De))}catch(Mt){_e(Ut,Mt,De)}}):(De.value=Ne,De.state=je,Te(De,!1))}catch(Ut){_e({done:!1},Ut,De)}}};if(D&&(X=function(Ne){g(this,te),d(Ne),a(H,this);var Be=B(this);try{Ne(Ee(Ae,Be),Ee(_e,Be))}catch(_t){_e(Be,_t)}},te=X.prototype,H=function(Ne){K(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:Ie,value:null})},H.prototype=o(te,"then",function(Ne,Be){var _t=B(this),Ut=N(m(this,X));return _t.parent=!0,Ut.ok=h(Ne)?Ne:!0,Ut.fail=h(Be)&&Be,Ut.domain=r?I.domain:void 0,_t.state===Ie?_t.reactions.add(Ut):E(function(){fe(Ut,_t)}),Ut.promise}),ne=function(){var De=new H,Ne=B(De);this.promise=De,this.resolve=Ee(Ae,Ne),this.reject=Ee(_e,Ne)},y.f=N=function(De){return De===X||De===q?new ne(De):re(De)},!t&&h(A)&&Q!==Object.prototype)){J=Q.then,F||o(Q,"then",function(Ne,Be){var _t=this;return new X(function(Ut,Mt){a(J,_t,Ut,Mt)}).then(Ne,Be)},{unsafe:!0});try{delete Q.constructor}catch{}l&&l(Q,te)}return e({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:X}),q=i.Promise,s(X,P,!1,!0),c(P),g$}var D$={},Yw,L$;function Ny(){if(L$)return Yw;L$=1;var e=rh(),t=_y(),r=Qp().CONSTRUCTOR;return Yw=r||!t(function(n){e.all(n).then(void 0,function(){})}),Yw}var N$;function bfe(){if(N$)return D$;N$=1;var e=Ve(),t=wr(),r=mn(),n=sl(),i=th(),a=sa(),o=Ny();return e({target:"Promise",stat:!0,forced:o},{all:function(s){var c=this,d=n.f(c),h=d.resolve,p=d.reject,g=i(function(){var m=r(c.resolve),_=[],E=0,w=1;a(s,function(b){var x=E++,T=!1;w++,t(m,c,b).then(function(A){T||(T=!0,_[x]=A,--w||h(_))},p)}),--w||h(_)});return g.error&&p(g.value),d.promise}}),D$}var M$={},$$;function Cfe(){if($$)return M$;$$=1;var e=Ve(),t=Nn(),r=Qp().CONSTRUCTOR,n=rh(),i=gn(),a=Sn(),o=Gn(),l=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 s=i("Promise").prototype.catch;l.catch!==s&&o(l,"catch",s,{unsafe:!0})}return M$}var F$={},j$;function Tfe(){if(j$)return F$;j$=1;var e=Ve(),t=wr(),r=mn(),n=sl(),i=th(),a=sa(),o=Ny();return e({target:"Promise",stat:!0,forced:o},{race:function(s){var c=this,d=n.f(c),h=d.reject,p=i(function(){var g=r(c.resolve);a(s,function(m){t(g,c,m).then(d.resolve,h)})});return p.error&&h(p.value),d.promise}}),F$}var U$={},q$;function Afe(){if(q$)return U$;q$=1;var e=Ve(),t=sl(),r=Qp().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}}),U$}var V$={},Xw,H$;function fee(){if(H$)return Xw;H$=1;var e=Ar(),t=Gr(),r=sl();return Xw=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},Xw}var B$;function Rfe(){if(B$)return V$;B$=1;var e=Ve(),t=gn(),r=Nn(),n=rh(),i=Qp().CONSTRUCTOR,a=fee(),o=t("Promise"),l=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(c){return a(l&&this===o?n:this,c)}}),V$}var z$;function xfe(){return z$||(z$=1,wfe(),bfe(),Cfe(),Tfe(),Afe(),Rfe()),v$}var W$={},G$;function Ofe(){if(G$)return W$;G$=1;var e=Ve(),t=wr(),r=mn(),n=sl(),i=th(),a=sa(),o=Ny();return e({target:"Promise",stat:!0,forced:o},{allSettled:function(s){var c=this,d=n.f(c),h=d.resolve,p=d.reject,g=i(function(){var m=r(c.resolve),_=[],E=0,w=1;a(s,function(b){var x=E++,T=!1;w++,t(m,c,b).then(function(A){T||(T=!0,_[x]={status:"fulfilled",value:A},--w||h(_))},function(A){T||(T=!0,_[x]={status:"rejected",reason:A},--w||h(_))})}),--w||h(_)});return g.error&&p(g.value),d.promise}}),W$}var K$={},Y$;function Ife(){if(Y$)return K$;Y$=1;var e=Ve(),t=wr(),r=mn(),n=gn(),i=sl(),a=th(),o=sa(),l=Ny(),s="No one promise resolved";return e({target:"Promise",stat:!0,forced:l},{any:function(d){var h=this,p=n("AggregateError"),g=i.f(h),m=g.resolve,_=g.reject,E=a(function(){var w=r(h.resolve),b=[],x=0,T=1,A=!1;o(d,function(O){var y=x++,P=!1;T++,t(w,h,O).then(function(D){P||A||(A=!0,m(D))},function(D){P||A||(P=!0,b[y]=D,--T||_(new p(b,s)))})}),--T||_(new p(b,s))});return E.error&&_(E.value),g.promise}}),K$}var X$={},Q$;function Pfe(){if(Q$)return X$;Q$=1;var e=Ve(),t=Nn(),r=rh(),n=Bt(),i=gn(),a=Sn(),o=Dy(),l=fee(),s=Gn(),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(p){var g=o(this,i("Promise")),m=a(p);return this.then(m?function(_){return l(g,p()).then(function(){return _})}:p,m?function(_){return l(g,p()).then(function(){throw _})}:p)}}),!t&&a(r)){var h=i("Promise").prototype.finally;c.finally!==h&&s(c,"finally",h,{unsafe:!0})}return X$}var Z$={},J$;function kfe(){if(J$)return Z$;J$=1;var e=Ve(),t=er(),r=is(),n=Ps(),i=sl(),a=mn(),o=th(),l=t.Promise,s=!1,c=!l||!l.try||o(function(){l.try(function(d){s=d===8},8)}).error||!s;return e({target:"Promise",stat:!0,forced:c},{try:function(d){var h=arguments.length>1?n(arguments,1):[],p=i.f(this),g=o(function(){return r(a(d),void 0,h)});return(g.error?p.reject:p.resolve)(g.value),p.promise}}),Z$}var eF={},tF;function Dfe(){if(tF)return eF;tF=1;var e=Ve(),t=sl();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),eF}var rF={},Qw,nF;function dee(){if(nF)return Qw;nF=1;var e=er(),t=cy(),r=Sn(),n=Oa(),i=so(),a=Gn(),o=Kr(),l=Nn(),s="USE_FUNCTION_CONSTRUCTOR",c=o("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,p,g;if(h)p=h;else if(r(d))p=d.prototype;else if(t[s]||e[s])try{g=i(i(i(Function("return async function*(){}()")()))),i(g)===Object.prototype&&(p=g)}catch{}return p?l&&(p=n(p)):p={},r(p[c])||a(p,c,function(){return this}),Qw=p,Qw}var Zw,iF;function hee(){if(iF)return Zw;iF=1;var e=wr(),t=Ar(),r=Oa(),n=Aa(),i=ol(),a=Mi(),o=Pa(),l=gn(),s=dee(),c=cf(),d=l("Promise"),h="AsyncFromSyncIterator",p=a.set,g=a.getterFor(h),m=function(E,w,b,x,T){var A=E.done;d.resolve(E.value).then(function(O){w(c(O,A))},function(O){if(!A&&T)try{o(x,"throw",O)}catch(y){O=y}b(O)})},_=function(w){w.type=h,p(this,w)};return _.prototype=i(r(s),{next:function(){var w=g(this);return new d(function(b,x){var T=t(e(w.next,w.iterator));m(T,b,x,w.iterator,!0)})},return:function(){var E=g(this).iterator;return new d(function(w,b){var x=n(E,"return");if(x===void 0)return w(c(void 0,!0));var T=t(e(x,E));m(T,w,b,E)})}}),Zw=_,Zw}var Jw,aF;function Lfe(){if(aF)return Jw;aF=1;var e=wr(),t=hee(),r=Ar(),n=Kd(),i=Ba(),a=Aa(),o=Kr(),l=o("asyncIterator");return Jw=function(s,c){var d=arguments.length<2?a(s,l):c;return d?r(e(d,s)):new t(i(n(s)))},Jw}var eb,oF;function Nfe(){if(oF)return eb;oF=1;var e=wr(),t=gn(),r=Aa();return eb=function(n,i,a,o){try{var l=r(n,"return");if(l)return t("Promise").resolve(e(l,n)).then(function(){i(a)},function(s){o(s)})}catch(s){return o(s)}i(a)},eb}var tb,sF;function Mfe(){if(sF)return tb;sF=1;var e=wr(),t=mn(),r=Ar(),n=Gr(),i=lf(),a=gn(),o=Ba(),l=Nfe(),s=function(c){var d=c===0,h=c===1,p=c===2,g=c===3;return function(m,_,E){r(m);var w=_!==void 0;(w||!d)&&t(_);var b=o(m),x=a("Promise"),T=b.iterator,A=b.next,O=0;return new x(function(y,P){var D=function(F){l(T,P,F,P)},V=function(){try{if(w)try{i(O)}catch(F){D(F)}x.resolve(r(e(A,T))).then(function(F){try{if(r(F).done)d?(E.length=O,y(E)):y(g?!1:p||void 0);else{var B=F.value;try{if(w){var K=_(B,O),Q=function(X){if(h)V();else if(p)X?V():l(T,y,!1,P);else if(d)try{E[O++]=X,V()}catch(te){D(te)}else X?l(T,y,g||B,P):V()};n(K)?x.resolve(K).then(Q,D):Q(K)}else E[O++]=B,V()}catch(X){D(X)}}}catch(X){P(X)}},P)}catch(F){P(F)}};V()})}};return tb={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)},tb}var rb,uF;function $fe(){if(uF)return rb;uF=1;var e=ns(),t=Kt(),r=In(),n=of(),i=Lfe(),a=Kd(),o=Ba(),l=uf(),s=Aa(),c=gn(),d=$J(),h=Kr(),p=hee(),g=Mfe().toArray,m=h("asyncIterator"),_=t(d("Array","values")),E=t(_([]).next),w=function(){return new b(this)},b=function(x){this.iterator=_(x)};return b.prototype.next=function(){return E(this.iterator)},rb=function(T){var A=this,O=arguments.length,y=O>1?arguments[1]:void 0,P=O>2?arguments[2]:void 0;return new(c("Promise"))(function(D){var V=r(T);y!==void 0&&(y=e(y,P));var F=s(V,m),B=F?void 0:l(V)||w,K=n(A)?new A:[],Q=F?i(V,F):new p(o(a(V,B)));D(g(Q,y,K))})},rb}var lF;function Ffe(){if(lF)return rF;lF=1;var e=Ve(),t=$fe(),r=Bt(),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}),rF}var cF={},fF;function jfe(){if(fF)return cF;fF=1;var e=Ve(),t=Dr(),r=gn(),n=mn(),i=as(),a=Gn(),o=ol(),l=Gi(),s=Kr(),c=Mi(),d=KJ(),h=yu(),p=r("Promise"),g=r("SuppressedError"),m=ReferenceError,_=s("asyncDispose"),E=s("toStringTag"),w="AsyncDisposableStack",b=c.set,x=c.getterFor(w),T="async-dispose",A="disposed",O="pending",y=function(F){var B=x(F);if(B.state===A)throw new m(w+" already disposed");return B},P=function(){b(i(this,D),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},D=P.prototype;o(D,{disposeAsync:function(){var B=this;return new p(function(K,Q){var X=x(B);if(X.state===A)return K(void 0);X.state=A,t||(B.disposed=!0);var te=X.stack,ue=te.length,L=!1,I,N=function(ee){L?I=new g(ee,I):(L=!0,I=ee),re()},re=function(){if(ue){var ee=te[--ue];te[ue]=null;try{p.resolve(ee()).then(re,N)}catch(ce){N(ce)}}else X.stack=null,L?Q(I):K(void 0)};re()})},use:function(B){return d(y(this),B,T),B},adopt:function(B,K){var Q=y(this);return n(K),d(Q,void 0,T,function(){return K(B)}),B},defer:function(B){var K=y(this);n(B),d(K,void 0,T,B)},move:function(){var B=y(this),K=new P;return x(K).stack=B.stack,B.stack=[],B.state=A,t||(this.disposed=!0),K}}),t&&l(D,"disposed",{configurable:!0,get:function(){return x(this).state===A}}),a(D,_,D.disposeAsync,{name:"disposeAsync"}),a(D,E,w,{nonWritable:!0});var V=h&&h<136;return e({global:!0,constructor:!0,forced:V},{AsyncDisposableStack:P}),cF}var dF={},hF;function Ufe(){if(hF)return dF;hF=1;var e=wr(),t=Gn(),r=gn(),n=Aa(),i=yn(),a=Kr(),o=dee(),l=a("asyncDispose"),s=r("Promise");return i(o,l)||t(o,l,function(){var c=this;return new s(function(d,h){var p=n(c,"return");p?s.resolve(e(p,c)).then(function(){d(void 0)},h):d(void 0)})}),dF}var pF={},vF;function qfe(){if(vF)return pF;vF=1;var e=Ve(),t=is(),r=mn(),n=Ar(),i=Bt(),a=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:a},{apply:function(l,s,c){return t(r(l),s,n(c))}}),pF}var gF={},mF;function Vfe(){if(mF)return gF;mF=1;var e=Ve(),t=gn(),r=is(),n=YJ(),i=JI(),a=Ar(),o=Gr(),l=Oa(),s=Bt(),c=t("Reflect","construct"),d=Object.prototype,h=[].push,p=s(function(){function _(){}return!(c(function(){},[],_)instanceof _)}),g=!s(function(){c(function(){})}),m=p||g;return e({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(E,w){i(E),a(w);var b=arguments.length<3?E:i(arguments[2]);if(g&&!p)return c(E,w,b);if(E===b){switch(w.length){case 0:return new E;case 1:return new E(w[0]);case 2:return new E(w[0],w[1]);case 3:return new E(w[0],w[1],w[2]);case 4:return new E(w[0],w[1],w[2],w[3])}var x=[null];return r(h,x,w),new(r(n,E,x))}var T=b.prototype,A=l(o(T)?T:d),O=r(E,A,w);return o(O)?O:A}}),gF}var yF={},_F;function Hfe(){if(_F)return yF;_F=1;var e=Ve(),t=Dr(),r=Ar(),n=Kl(),i=Si(),a=Bt(),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(s,c,d){r(s);var h=n(c);r(d);try{return i.f(s,h,d),!0}catch{return!1}}}),yF}var SF={},EF;function Bfe(){if(EF)return SF;EF=1;var e=Ve(),t=Ar(),r=Ra().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]}}),SF}var wF={},nb,bF;function pee(){if(bF)return nb;bF=1;var e=yn();return nb=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},nb}var CF;function zfe(){if(CF)return wF;CF=1;var e=Ve(),t=wr(),r=Gr(),n=Ar(),i=pee(),a=Ra(),o=so();function l(s,c){var d=arguments.length<3?s:arguments[2],h,p;if(n(s)===d)return s[c];if(h=a.f(s,c),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(p=o(s)))return l(p,c,d)}return e({target:"Reflect",stat:!0},{get:l}),wF}var TF={},AF;function Wfe(){if(AF)return TF;AF=1;var e=Ve(),t=Dr(),r=Ar(),n=Ra();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(a,o){return n.f(r(a),o)}}),TF}var RF={},xF;function Gfe(){if(xF)return RF;xF=1;var e=Ve(),t=Ar(),r=so(),n=FI();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(a){return r(t(a))}}),RF}var OF={},IF;function Kfe(){if(IF)return OF;IF=1;var e=Ve();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),OF}var PF={},kF;function Yfe(){if(kF)return PF;kF=1;var e=Ve(),t=Ar(),r=QI();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),PF}var DF={},LF;function Xfe(){if(LF)return DF;LF=1;var e=Ve(),t=kI();return e({target:"Reflect",stat:!0},{ownKeys:t}),DF}var NF={},MF;function Qfe(){if(MF)return NF;MF=1;var e=Ve(),t=gn(),r=Ar(),n=Jd();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}}}),NF}var $F={},FF;function Zfe(){if(FF)return $F;FF=1;var e=Ve(),t=wr(),r=Ar(),n=Gr(),i=pee(),a=Bt(),o=Si(),l=Ra(),s=so(),c=es();function d(p,g,m){var _=arguments.length<4?p:arguments[3],E=l.f(r(p),g),w,b,x;if(!E){if(n(b=s(p)))return d(b,g,m,_);E=c(0)}if(i(E)){if(E.writable===!1||!n(_))return!1;if(w=l.f(_,g)){if(w.get||w.set||w.writable===!1)return!1;w.value=m,o.f(_,g,w)}else o.f(_,g,c(0,m))}else{if(x=E.set,x===void 0)return!1;t(x,_,m)}return!0}var h=a(function(){var p=function(){},g=o.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,g)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),$F}var jF={},UF;function Jfe(){if(UF)return jF;UF=1;var e=Ve(),t=Ar(),r=bJ(),n=Ys();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(a,o){t(a),r(o);try{return n(a,o),!0}catch{return!1}}}),jF}var qF={},VF;function ede(){if(VF)return qF;VF=1;var e=Ve(),t=er(),r=Do();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),qF}var HF={},ib,BF;function My(){if(BF)return ib;BF=1;var e=Gr(),t=Va(),r=Kr(),n=r("match");return ib=function(i){var a;return e(i)&&((a=i[n])!==void 0?!!a:t(i)==="RegExp")},ib}var ab,zF;function vee(){if(zF)return ab;zF=1;var e=er(),t=Bt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},o="",l=i?"dgimsy":"gimsy",s=function(p,g){Object.defineProperty(a,p,{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)s(d,c[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return h!==l||o!==l});return ab={correct:n},ab}var ob,WF;function eP(){if(WF)return ob;WF=1;var e=Ar();return ob=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},ob}var sb,GF;function df(){if(GF)return sb;GF=1;var e=wr(),t=yn(),r=oo(),n=vee(),i=eP(),a=RegExp.prototype;return sb=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(a,o)&&!t(o,"flags")?e(i,o):o.flags},sb}var ub,KF;function $y(){if(KF)return ub;KF=1;var e=Bt(),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 ub={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:n},ub}var lb,YF;function tP(){if(YF)return lb;YF=1;var e=Bt(),t=er(),r=t.RegExp;return lb=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
4
+ `)&&n.flags==="s")}),lb}var cb,XF;function gee(){if(XF)return cb;XF=1;var e=Bt(),t=er(),r=t.RegExp;return cb=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),cb}var QF;function tde(){if(QF)return HF;QF=1;var e=Dr(),t=er(),r=Kt(),n=Hp(),i=sf(),a=xa(),o=Oa(),l=nf().f,s=oo(),c=My(),d=rn(),h=df(),p=$y(),g=CJ(),m=Gn(),_=Bt(),E=yn(),w=Mi().enforce,b=Qd(),x=Kr(),T=tP(),A=gee(),O=x("match"),y=t.RegExp,P=y.prototype,D=t.SyntaxError,V=r(P.exec),F=r("".charAt),B=r("".replace),K=r("".indexOf),Q=r("".slice),X=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,te=/a/g,ue=/a/g,L=new y(te)!==te,I=p.MISSED_STICKY,N=p.UNSUPPORTED_Y,re=e&&(!L||I||T||A||_(function(){return ue[O]=!1,y(te)!==te||y(ue)===ue||String(y(te,"i"))!=="/a/i"})),ee=function(z){for(var k=z.length,U=0,H="",ne=!1,q;U<=k;U++){if(q=F(z,U),q==="\\"){H+=q+F(z,++U);continue}!ne&&q==="."?H+="[\\s\\S]":(q==="["?ne=!0:q==="]"&&(ne=!1),H+=q)}return H},ce=function(z){for(var k=z.length,U=0,H="",ne=[],q=o(null),J=!1,me=!1,fe=0,Te="",Se;U<=k;U++){if(Se=F(z,U),Se==="\\")Se+=F(z,++U);else if(Se==="]")J=!1;else if(!J)switch(!0){case Se==="[":J=!0;break;case Se==="(":if(H+=Se,Q(z,U+1,U+3)==="?:")continue;V(X,Q(z,U+1))&&(U+=2,me=!0),fe++;continue;case(Se===">"&&me):if(Te===""||E(q,Te))throw new D("Invalid capture group name");q[Te]=!0,ne[ne.length]=[Te,fe],me=!1,Te="";continue}me?Te+=Se:H+=Se}return[H,ne]};if(n("RegExp",re)){for(var be=function(k,U){var H=s(P,this),ne=c(k),q=U===void 0,J=[],me=k,fe,Te,Se,Oe,Me,de;if(!H&&ne&&q&&k.constructor===be)return k;if((ne||s(P,k))&&(k=k.source,q&&(U=h(me))),k=k===void 0?"":d(k),U=U===void 0?"":d(U),me=k,T&&"dotAll"in te&&(Te=!!U&&K(U,"s")>-1,Te&&(U=B(U,/s/g,""))),fe=U,I&&"sticky"in te&&(Se=!!U&&K(U,"y")>-1,Se&&N&&(U=B(U,/y/g,""))),A&&(Oe=ce(k),k=Oe[0],J=Oe[1]),Me=i(y(k,U),H?this:P,be),(Te||Se||J.length)&&(de=w(Me),Te&&(de.dotAll=!0,de.raw=be(ee(k),fe)),Se&&(de.sticky=!0),J.length&&(de.groups=J)),k!==me)try{a(Me,"source",me===""?"(?:)":me)}catch{}return Me},Ie=l(y),je=0;Ie.length>je;)g(be,y,Ie[je++]);P.constructor=be,be.prototype=P,m(t,"RegExp",be,{constructor:!0})}return b("RegExp"),HF}var ZF={},fb,JF;function Fy(){if(JF)return fb;JF=1;var e=TypeError;return fb=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},fb}var ej;function rde(){if(ej)return ZF;ej=1;var e=Ve(),t=Kt(),r=Fy(),n=yn(),i=Ry().start,a=Xp(),o=Array,l=RegExp.escape,s=t("".charAt),c=t("".charCodeAt),d=t(1.1.toString),h=t([].join),p=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,m=RegExp("^[!\"#%&',\\-:;<=>@`~"+a+"]"),_=t(p.exec),E={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(x){var T=d(c(x,0),16);return T.length<3?"\\x"+i(T,2,"0"):"\\u"+i(T,4,"0")},b=!l||l("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:b},{escape:function(T){r(T);for(var A=T.length,O=o(A),y=0;y<A;y++){var P=s(T,y);if(y===0&&_(p,P))O[y]=w(P);else if(n(E,P))O[y]="\\"+E[P];else if(_(g,P))O[y]="\\"+P;else if(_(m,P))O[y]=w(P);else{var D=c(P,0);(D&63488)!==55296?O[y]=P:D>=56320||y+1>=A||(c(T,y+1)&64512)!==56320?O[y]=w(P):(O[y]=P,O[++y]=s(T,y))}}return h(O,"")}}),ZF}var tj={},rj;function nde(){if(rj)return tj;rj=1;var e=Dr(),t=tP(),r=Va(),n=Gi(),i=Mi().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")}}}),tj}var nj={},db,ij;function rP(){if(ij)return db;ij=1;var e=wr(),t=Kt(),r=rn(),n=eP(),i=$y(),a=Hd(),o=Oa(),l=Mi().get,s=tP(),c=gee(),d=a("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,g=t("".charAt),m=t("".indexOf),_=t("".replace),E=t("".slice),w=(function(){var A=/a/,O=/b*/g;return e(h,A,"a"),e(h,O,"a"),A.lastIndex!==0||O.lastIndex!==0})(),b=i.BROKEN_CARET,x=/()??/.exec("")[1]!==void 0,T=w||x||b||s||c;return T&&(p=function(O){var y=this,P=l(y),D=r(O),V=P.raw,F,B,K,Q,X,te,ue;if(V)return V.lastIndex=y.lastIndex,F=e(p,V,D),y.lastIndex=V.lastIndex,F;var L=P.groups,I=b&&y.sticky,N=e(n,y),re=y.source,ee=0,ce=D;if(I&&(N=_(N,"y",""),m(N,"g")===-1&&(N+="g"),ce=E(D,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&g(D,y.lastIndex-1)!==`
5
+ `)&&(re="(?: "+re+")",ce=" "+ce,ee++),B=new RegExp("^(?:"+re+")",N)),x&&(B=new RegExp("^"+re+"$(?!\\s)",N)),w&&(K=y.lastIndex),Q=e(h,I?B:y,ce),I?Q?(Q.input=E(Q.input,ee),Q[0]=E(Q[0],ee),Q.index=y.lastIndex,y.lastIndex+=Q[0].length):y.lastIndex=0:w&&Q&&(y.lastIndex=y.global?Q.index+Q[0].length:K),x&&Q&&Q.length>1&&e(d,Q[0],B,function(){for(X=1;X<arguments.length-2;X++)arguments[X]===void 0&&(Q[X]=void 0)}),Q&&L)for(Q.groups=te=o(null),X=0;X<L.length;X++)ue=L[X],te[ue[0]]=Q[ue[1]];return Q}),db=p,db}var aj;function nP(){if(aj)return nj;aj=1;var e=Ve(),t=rP();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),nj}var oj={},sj;function ide(){if(sj)return oj;sj=1;var e=Dr(),t=Gi(),r=vee(),n=eP();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),oj}var uj={},lj;function ade(){if(lj)return uj;lj=1;var e=Dr(),t=$y().MISSED_STICKY,r=Va(),n=Gi(),i=Mi().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")}}}),uj}var cj={},fj;function ode(){if(fj)return cj;fj=1,nP();var e=Ve(),t=wr(),r=Sn(),n=Ar(),i=rn(),a=(function(){var l=!1,s=/[ac]/;return s.exec=function(){return l=!0,/./.exec.apply(this,arguments)},s.test("abc")===!0&&l})(),o=/./.test;return e({target:"RegExp",proto:!0,forced:!a},{test:function(l){var s=n(this),c=i(l),d=s.exec;if(!r(d))return t(o,s,c);var h=t(d,s,c);return h===null?!1:(n(h),!0)}}),cj}var dj={},hj;function sde(){if(hj)return dj;hj=1;var e=zd().PROPER,t=Gn(),r=Ar(),n=rn(),i=Bt(),a=df(),o="toString",l=RegExp.prototype,s=l[o],c=i(function(){return s.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&s.name!==o;return(c||d)&&t(l,o,function(){var p=r(this),g=n(p.source),m=n(a(p));return"/"+g+"/"+m},{unsafe:!0}),dj}var pj={},vj={},gj;function ude(){if(gj)return vj;gj=1;var e=Oy(),t=ZJ();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),vj}var mj;function lde(){return mj||(mj=1,ude()),pj}var yj={},hb,_j;function Xs(){if(_j)return hb;_j=1;var e=Kt(),t=Set.prototype;return hb={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},hb}var pb,Sj;function hf(){if(Sj)return pb;Sj=1;var e=Xs().has;return pb=function(t){return e(t),t},pb}var vb,Ej;function pf(){if(Ej)return vb;Ej=1;var e=wr();return vb=function(t,r,n){for(var i=n?t:t.iterator,a=t.next,o,l;!(o=e(a,i)).done;)if(l=r(o.value),l!==void 0)return l},vb}var gb,wj;function nh(){if(wj)return gb;wj=1;var e=Kt(),t=pf(),r=Xs(),n=r.Set,i=r.proto,a=e(i.forEach),o=e(i.keys),l=o(new n).next;return gb=function(s,c,d){return d?t({iterator:o(s),next:l},c):a(s,c)},gb}var mb,bj;function iP(){if(bj)return mb;bj=1;var e=Xs(),t=nh(),r=e.Set,n=e.add;return mb=function(i){var a=new r;return t(i,function(o){n(a,o)}),a},mb}var yb,Cj;function Zp(){if(Cj)return yb;Cj=1;var e=gy(),t=Xs();return yb=e(t.proto,"size","get")||function(r){return r.size},yb}var _b,Tj;function vf(){if(Tj)return _b;Tj=1;var e=mn(),t=Ar(),r=wr(),n=qi(),i=Ba(),a="Invalid size",o=RangeError,l=TypeError,s=Math.max,c=function(d,h){this.set=d,this.size=s(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)}},_b=function(d){t(d);var h=+d.size;if(h!==h)throw new l(a);var p=n(h);if(p<0)throw new o(a);return new c(d,p)},_b}var Sb,Aj;function cde(){if(Aj)return Sb;Aj=1;var e=hf(),t=Xs(),r=iP(),n=Zp(),i=vf(),a=nh(),o=pf(),l=t.has,s=t.remove;return Sb=function(d){var h=e(this),p=i(d),g=r(h);return n(h)<=p.size?a(h,function(m){p.includes(m)&&s(g,m)}):o(p.getIterator(),function(m){l(g,m)&&s(g,m)}),g},Sb}var Eb,Rj;function gf(){if(Rj)return Eb;Rj=1;var e=gn(),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 Eb=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}},Eb}var xj;function fde(){if(xj)return yj;xj=1;var e=Ve(),t=cde(),r=Bt(),n=gf(),i=!n("difference",function(o){return o.size===0}),a=i||r(function(){var o={size:1,has:function(){return!0},keys:function(){var s=0;return{next:function(){var c=s++>1;return l.has(1)&&l.clear(),{done:c,value:2}}}}},l=new Set([1,2,3,4]);return l.difference(o).size!==3});return e({target:"Set",proto:!0,real:!0,forced:a},{difference:t}),yj}var Oj={},wb,Ij;function dde(){if(Ij)return wb;Ij=1;var e=hf(),t=Xs(),r=Zp(),n=vf(),i=nh(),a=pf(),o=t.Set,l=t.add,s=t.has;return wb=function(d){var h=e(this),p=n(d),g=new o;return r(h)>p.size?a(p.getIterator(),function(m){s(h,m)&&l(g,m)}):i(h,function(m){p.includes(m)&&l(g,m)}),g},wb}var Pj;function hde(){if(Pj)return Oj;Pj=1;var e=Ve(),t=Bt(),r=dde(),n=gf(),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}),Oj}var kj={},bb,Dj;function pde(){if(Dj)return bb;Dj=1;var e=hf(),t=Xs().has,r=Zp(),n=vf(),i=nh(),a=pf(),o=Pa();return bb=function(s){var c=e(this),d=n(s);if(r(c)<=d.size)return i(c,function(p){if(d.includes(p))return!1},!0)!==!1;var h=d.getIterator();return a(h,function(p){if(t(c,p))return o(h,"normal",!1)})!==!1},bb}var Lj;function vde(){if(Lj)return kj;Lj=1;var e=Ve(),t=pde(),r=gf(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),kj}var Nj={},Cb,Mj;function gde(){if(Mj)return Cb;Mj=1;var e=hf(),t=Zp(),r=nh(),n=vf();return Cb=function(a){var o=e(this),l=n(a);return t(o)>l.size?!1:r(o,function(s){if(!l.includes(s))return!1},!0)!==!1},Cb}var $j;function mde(){if($j)return Nj;$j=1;var e=Ve(),t=gde(),r=gf(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),Nj}var Fj={},Tb,jj;function yde(){if(jj)return Tb;jj=1;var e=hf(),t=Xs().has,r=Zp(),n=vf(),i=pf(),a=Pa();return Tb=function(l){var s=e(this),c=n(l);if(r(s)<c.size)return!1;var d=c.getIterator();return i(d,function(h){if(!t(s,h))return a(d,"normal",!1)})!==!1},Tb}var Uj;function _de(){if(Uj)return Fj;Uj=1;var e=Ve(),t=yde(),r=gf(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),Fj}var qj={},Ab,Vj;function Sde(){if(Vj)return Ab;Vj=1;var e=hf(),t=Xs(),r=iP(),n=vf(),i=pf(),a=t.add,o=t.has,l=t.remove;return Ab=function(c){var d=e(this),h=n(c).getIterator(),p=r(d);return i(h,function(g){o(d,g)?l(p,g):a(p,g)}),p},Ab}var Rb,Hj;function mee(){return Hj||(Hj=1,Rb=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}}),Rb}var Bj;function Ede(){if(Bj)return qj;Bj=1;var e=Ve(),t=Sde(),r=mee(),n=gf(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),qj}var zj={},xb,Wj;function wde(){if(Wj)return xb;Wj=1;var e=hf(),t=Xs().add,r=iP(),n=vf(),i=pf();return xb=function(o){var l=e(this),s=n(o).getIterator(),c=r(l);return i(s,function(d){t(c,d)}),c},xb}var Gj;function bde(){if(Gj)return zj;Gj=1;var e=Ve(),t=wde(),r=mee(),n=gf(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),zj}var Kj={},Yj;function Cde(){if(Yj)return Kj;Yj=1;var e=Ve(),t=Kt(),r=Ri(),n=qi(),i=rn(),a=Bt(),o=t("".charAt),l=a(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:l},{at:function(c){var d=i(r(this)),h=d.length,p=n(c),g=p>=0?p:h+p;return g<0||g>=h?void 0:o(d,g)}}),Kj}var Xj={},Ob,Qj;function jy(){if(Qj)return Ob;Qj=1;var e=Kt(),t=qi(),r=rn(),n=Ri(),i=e("".charAt),a=e("".charCodeAt),o=e("".slice),l=function(s){return function(c,d){var h=r(n(c)),p=t(d),g=h.length,m,_;return p<0||p>=g?s?"":void 0:(m=a(h,p),m<55296||m>56319||p+1===g||(_=a(h,p+1))<56320||_>57343?s?i(h,p):m:s?o(h,p,p+2):(m-55296<<10)+(_-56320)+65536)}};return Ob={codeAt:l(!1),charAt:l(!0)},Ob}var Zj;function Tde(){if(Zj)return Xj;Zj=1;var e=Ve(),t=jy().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),Xj}var Jj={},Ib,eU;function aP(){if(eU)return Ib;eU=1;var e=My(),t=TypeError;return Ib=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},Ib}var Pb,tU;function oP(){if(tU)return Pb;tU=1;var e=Kr(),t=e("match");return Pb=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},Pb}var rU;function Ade(){if(rU)return Jj;rU=1;var e=Ve(),t=af(),r=Ra().f,n=ts(),i=rn(),a=aP(),o=Ri(),l=oP(),s=Nn(),c=t("".slice),d=Math.min,h=l("endsWith"),p=!s&&!h&&!!(function(){var g=r(String.prototype,"endsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{endsWith:function(m){var _=i(o(this));a(m);var E=arguments.length>1?arguments[1]:void 0,w=_.length,b=E===void 0?w:d(n(E),w),x=i(m);return c(_,b-x.length,b)===x}}),Jj}var nU={},iU;function yee(){if(iU)return nU;iU=1;var e=Ve(),t=Kt(),r=nl(),n=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join),l=!!a&&a.length!==1;return e({target:"String",stat:!0,arity:1,forced:l},{fromCodePoint:function(c){for(var d=[],h=arguments.length,p=0,g;h>p;){if(g=+arguments[p++],r(g,1114111)!==g)throw new n(g+" is not a valid code point");d[p]=g<65536?i(g):i(((g-=65536)>>10)+55296,g%1024+56320)}return o(d,"")}}),nU}var aU={},oU;function Rde(){if(oU)return aU;oU=1;var e=Ve(),t=Kt(),r=aP(),n=Ri(),i=rn(),a=oP(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!a("includes")},{includes:function(s){return!!~o(i(n(this)),i(r(s)),arguments.length>1?arguments[1]:void 0)}}),aU}var sU={},uU;function xde(){if(uU)return sU;uU=1;var e=Ve(),t=Kt(),r=Ri(),n=rn(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var o=n(r(this)),l=o.length,s=0;s<l;s++){var c=i(o,s);if((c&63488)===55296&&(c>=56320||++s>=l||(i(o,s)&64512)!==56320))return!1}return!0}}),sU}var lU={},cU;function _ee(){if(cU)return lU;cU=1;var e=jy().charAt,t=rn(),r=Mi(),n=HI(),i=cf(),a="String Iterator",o=r.set,l=r.getterFor(a);return n(String,"String",function(s){o(this,{type:a,string:t(s),index:0})},function(){var c=l(this),d=c.string,h=c.index,p;return h>=d.length?i(void 0,!0):(p=e(d,h),c.index+=p.length,i(p,!1))}),lU}var fU={},kb,dU;function Uy(){if(dU)return kb;dU=1,nP();var e=wr(),t=Gn(),r=rP(),n=Bt(),i=Kr(),a=xa(),o=i("species"),l=RegExp.prototype;return kb=function(s,c,d,h){var p=i(s),g=!n(function(){var w={};return w[p]=function(){return 7},""[s](w)!==7}),m=g&&!n(function(){var w=!1,b=/a/;return s==="split"&&(b={},b.constructor={},b.constructor[o]=function(){return b},b.flags="",b[p]=/./[p]),b.exec=function(){return w=!0,null},b[p](""),!w});if(!g||!m||d){var _=/./[p],E=c(p,""[s],function(w,b,x,T,A){var O=b.exec;return O===r||O===l.exec?g&&!A?{done:!0,value:e(_,b,x,T)}:{done:!0,value:e(w,x,b,T)}:{done:!1}});t(String.prototype,s,E[0]),t(l,p,E[1])}h&&a(l[p],"sham",!0)},kb}var Db,hU;function qy(){if(hU)return Db;hU=1;var e=jy().charAt;return Db=function(t,r,n){return r+(n?e(t,r).length:1)},Db}var Lb,pU;function Jp(){if(pU)return Lb;pU=1;var e=wr(),t=Ar(),r=Sn(),n=Va(),i=rP(),a=TypeError;return Lb=function(o,l){var s=o.exec;if(r(s)){var c=e(s,o,l);return c!==null&&t(c),c}if(n(o)==="RegExp")return e(i,o,l);throw new a("RegExp#exec called on incompatible receiver")},Lb}var vU;function Ode(){if(vU)return fU;vU=1;var e=wr(),t=Kt(),r=Uy(),n=Ar(),i=Gr(),a=ts(),o=rn(),l=Ri(),s=Aa(),c=qy(),d=df(),h=Jp(),p=t("".indexOf);return r("match",function(g,m,_){return[function(w){var b=l(this),x=i(w)?s(w,g):void 0;return x?e(x,w,b):new RegExp(w)[g](o(b))},function(E){var w=n(this),b=o(E),x=_(m,w,b);if(x.done)return x.value;var T=o(d(w));if(p(T,"g")===-1)return h(w,b);var A=p(T,"u")!==-1;w.lastIndex=0;for(var O=[],y=0,P;(P=h(w,b))!==null;){var D=o(P[0]);O[y]=D,D===""&&(w.lastIndex=c(b,a(w.lastIndex),A)),y++}return y===0?null:O}]}),fU}var gU={},mU;function Ide(){if(mU)return gU;mU=1;var e=Ve(),t=wr(),r=af(),n=VI(),i=cf(),a=Ri(),o=ts(),l=rn(),s=Ar(),c=Gr(),d=Va(),h=My(),p=df(),g=Aa(),m=Gn(),_=Bt(),E=Kr(),w=Dy(),b=qy(),x=Jp(),T=Mi(),A=Nn(),O=E("matchAll"),y="RegExp String",P=y+" Iterator",D=T.set,V=T.getterFor(P),F=RegExp.prototype,B=TypeError,K=r("".indexOf),Q=r("".matchAll),X=!!Q&&!_(function(){Q("a",/./)}),te=n(function(I,N,re,ee){D(this,{type:P,regexp:I,string:N,global:re,unicode:ee,done:!1})},y,function(){var I=V(this);if(I.done)return i(void 0,!0);var N=I.regexp,re=I.string,ee=x(N,re);return ee===null?(I.done=!0,i(void 0,!0)):I.global?(l(ee[0])===""&&(N.lastIndex=b(re,o(N.lastIndex),I.unicode)),i(ee,!1)):(I.done=!0,i(ee,!1))}),ue=function(L){var I=s(this),N=l(L),re=w(I,RegExp),ee=l(p(I)),ce,be,Ie;return ce=new re(re===RegExp?I.source:I,ee),be=!!~K(ee,"g"),Ie=!!~K(ee,"u"),ce.lastIndex=o(I.lastIndex),new te(ce,N,be,Ie)};return e({target:"String",proto:!0,forced:X},{matchAll:function(I){var N=a(this),re,ee,ce,be;if(c(I)){if(h(I)&&(re=l(a(p(I))),!~K(re,"g")))throw new B("`.matchAll` does not allow non-global regexes");if(X)return Q(N,I);if(ce=g(I,O),ce===void 0&&A&&d(I)==="RegExp"&&(ce=ue),ce)return t(ce,I,N)}else if(X)return Q(N,I);return ee=l(N),be=new RegExp(I,"g"),A?t(ue,be,ee):be[O](ee)}}),A||O in F||m(F,O,ue),gU}var yU={},Nb,_U;function See(){if(_U)return Nb;_U=1;var e=mu();return Nb=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),Nb}var SU;function Pde(){if(SU)return yU;SU=1;var e=Ve(),t=Ry().end,r=See();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),yU}var EU={},wU;function kde(){if(wU)return EU;wU=1;var e=Ve(),t=Ry().start,r=See();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),EU}var bU={},CU;function Dde(){if(CU)return bU;CU=1;var e=Ve(),t=Kt(),r=ma(),n=In(),i=rn(),a=ti(),o=t([].push),l=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 p=arguments.length,g=[],m=0;;){if(o(g,i(d[m++])),m===h)return l(g,"");m<p&&o(g,i(arguments[m]))}}}),bU}var TU={},AU;function Lde(){if(AU)return TU;AU=1;var e=Ve(),t=Ay();return e({target:"String",proto:!0},{repeat:t}),TU}var RU={},Mb,xU;function Eee(){if(xU)return Mb;xU=1;var e=Kt(),t=In(),r=Math.floor,n=e("".charAt),i=e("".replace),a=e("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;return Mb=function(s,c,d,h,p,g){var m=d+s.length,_=h.length,E=l;return p!==void 0&&(p=t(p),E=o),i(g,E,function(w,b){var x;switch(n(b,0)){case"$":return"$";case"&":return s;case"`":return a(c,0,d);case"'":return a(c,m);case"<":x=p[a(b,1,-1)];break;default:var T=+b;if(T===0)return w;if(T>_){var A=r(T/10);return A===0?w:A<=_?h[A-1]===void 0?n(b,1):h[A-1]+n(b,1):w}x=h[T-1]}return x===void 0?"":x})},Mb}var OU;function Nde(){if(OU)return RU;OU=1;var e=is(),t=wr(),r=Kt(),n=Uy(),i=Bt(),a=Ar(),o=Sn(),l=Gr(),s=qi(),c=ts(),d=rn(),h=Ri(),p=qy(),g=Aa(),m=Eee(),_=df(),E=Jp(),w=Kr(),b=w("replace"),x=Math.max,T=Math.min,A=r([].concat),O=r([].push),y=r("".indexOf),P=r("".slice),D=function(K){return K===void 0?K:String(K)},V=(function(){return"a".replace(/./,"$0")==="$0"})(),F=(function(){return/./[b]?/./[b]("a","$0")==="":!1})(),B=!i(function(){var K=/./;return K.exec=function(){var Q=[];return Q.groups={a:"7"},Q},"".replace(K,"$<a>")!=="7"});return n("replace",function(K,Q,X){var te=F?"$":"$0";return[function(L,I){var N=h(this),re=l(L)?g(L,b):void 0;return re?t(re,L,N,I):t(Q,d(N),L,I)},function(ue,L){var I=a(this),N=d(ue);if(typeof L=="string"&&y(L,te)===-1&&y(L,"$<")===-1){var re=X(Q,I,N,L);if(re.done)return re.value}var ee=o(L);ee||(L=d(L));var ce=d(_(I)),be=y(ce,"g")!==-1,Ie;be&&(Ie=y(ce,"u")!==-1,I.lastIndex=0);for(var je=[],z;z=E(I,N),!(z===null||(O(je,z),!be));){var k=d(z[0]);k===""&&(I.lastIndex=p(N,c(I.lastIndex),Ie))}for(var U="",H=0,ne=0;ne<je.length;ne++){z=je[ne];for(var q=d(z[0]),J=x(T(s(z.index),N.length),0),me=[],fe,Te=1;Te<z.length;Te++)O(me,D(z[Te]));var Se=z.groups;if(ee){var Oe=A([q],me,J,N);Se!==void 0&&O(Oe,Se),fe=d(e(L,void 0,Oe))}else fe=m(q,N,J,me,Se,L);J>=H&&(U+=P(N,H,J)+fe,H=J+q.length)}return U+P(N,H)}]},!B||!V||F),RU}var IU={},PU;function Mde(){if(PU)return IU;PU=1;var e=Ve(),t=wr(),r=Kt(),n=Ri(),i=Sn(),a=Gr(),o=My(),l=rn(),s=Aa(),c=df(),d=Eee(),h=Kr(),p=Nn(),g=h("replace"),m=TypeError,_=r("".indexOf),E=r("".replace),w=r("".slice),b=Math.max;return e({target:"String",proto:!0},{replaceAll:function(T,A){var O=n(this),y,P,D,V,F,B,K,Q,X,te,ue=0,L="";if(a(T)){if(y=o(T),y&&(P=l(n(c(T))),!~_(P,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(D=s(T,g),D)return t(D,T,O,A);if(p&&y)return E(l(O),T,A)}for(V=l(O),F=l(T),B=i(A),B||(A=l(A)),K=F.length,Q=b(1,K),X=_(V,F);X!==-1;)te=B?l(A(F,X,V)):d(F,V,X,[],void 0,A),L+=w(V,ue,X)+te,ue=X+K,X=X+Q>V.length?-1:_(V,F,X+Q);return ue<V.length&&(L+=w(V,ue)),L}}),IU}var kU={},DU;function $de(){if(DU)return kU;DU=1;var e=wr(),t=Uy(),r=Ar(),n=Gr(),i=Ri(),a=oee(),o=rn(),l=Aa(),s=Jp();return t("search",function(c,d,h){return[function(g){var m=i(this),_=n(g)?l(g,c):void 0;return _?e(_,g,m):new RegExp(g)[c](o(m))},function(p){var g=r(this),m=o(p),_=h(d,g,m);if(_.done)return _.value;var E=g.lastIndex;a(E,0)||(g.lastIndex=0);var w=s(g,m);return a(g.lastIndex,E)||(g.lastIndex=E),w===null?-1:w.index}]}),kU}var LU={},NU;function Fde(){if(NU)return LU;NU=1;var e=wr(),t=Kt(),r=Uy(),n=Ar(),i=Gr(),a=Ri(),o=Dy(),l=qy(),s=ts(),c=rn(),d=Aa(),h=Jp(),p=$y(),g=Bt(),m=p.UNSUPPORTED_Y,_=4294967295,E=Math.min,w=t([].push),b=t("".slice),x=!g(function(){var A=/(?:)/,O=A.exec;A.exec=function(){return O.apply(this,arguments)};var y="ab".split(A);return y.length!==2||y[0]!=="a"||y[1]!=="b"}),T="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(A,O,y){var P="0".split(void 0,0).length?function(D,V){return D===void 0&&V===0?[]:e(O,this,D,V)}:O;return[function(V,F){var B=a(this),K=i(V)?d(V,A):void 0;return K?e(K,V,B,F):e(P,c(B),V,F)},function(D,V){var F=n(this),B=c(D);if(!T){var K=y(P,F,B,V,P!==O);if(K.done)return K.value}var Q=o(F,RegExp),X=F.unicode,te=(F.ignoreCase?"i":"")+(F.multiline?"m":"")+(F.unicode?"u":"")+(m?"g":"y"),ue=new Q(m?"^(?:"+F.source+")":F,te),L=V===void 0?_:V>>>0;if(L===0)return[];if(B.length===0)return h(ue,B)===null?[B]:[];for(var I=0,N=0,re=[];N<B.length;){ue.lastIndex=m?0:N;var ee=h(ue,m?b(B,N):B),ce;if(ee===null||(ce=E(s(ue.lastIndex+(m?N:0)),B.length))===I)N=l(B,N,X);else{if(w(re,b(B,I,N)),re.length===L)return re;for(var be=1;be<=ee.length-1;be++)if(w(re,ee[be]),re.length===L)return re;N=I=ce}}return w(re,b(B,I)),re}]},T||!x,m),LU}var MU={},$U;function jde(){if($U)return MU;$U=1;var e=Ve(),t=af(),r=Ra().f,n=ts(),i=rn(),a=aP(),o=Ri(),l=oP(),s=Nn(),c=t("".slice),d=Math.min,h=l("startsWith"),p=!s&&!h&&!!(function(){var g=r(String.prototype,"startsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{startsWith:function(m){var _=i(o(this));a(m);var E=n(d(arguments.length>1?arguments[1]:void 0,_.length)),w=i(m);return c(_,E,E+w.length)===w}}),MU}var FU={},jU;function Ude(){if(jU)return FU;jU=1;var e=Ve(),t=Kt(),r=Ri(),n=qi(),i=rn(),a=t("".slice),o=Math.max,l=Math.min,s=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:s},{substr:function(d,h){var p=i(r(this)),g=p.length,m=n(d),_,E;return m===1/0&&(m=0),m<0&&(m=o(g+m,0)),_=h===void 0?g:n(h),_<=0||_===1/0?"":(E=l(m+_,g),m>=E?"":a(p,m,E))}}),FU}var UU={},qU;function qde(){if(qU)return UU;qU=1;var e=Ve(),t=wr(),r=Kt(),n=Ri(),i=rn(),a=Bt(),o=Array,l=r("".charAt),s=r("".charCodeAt),c=r([].join),d="".toWellFormed,h="�",p=d&&a(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:p},{toWellFormed:function(){var m=i(n(this));if(p)return t(d,m);for(var _=m.length,E=o(_),w=0;w<_;w++){var b=s(m,w);(b&63488)!==55296?E[w]=l(m,w):b>=56320||w+1>=_||(s(m,w+1)&64512)!==56320?E[w]=h:(E[w]=l(m,w),E[++w]=l(m,w))}return c(E,"")}}),UU}var VU={},$b,HU;function sP(){if(HU)return $b;HU=1;var e=zd().PROPER,t=Bt(),r=Xp(),n="​…᠎";return $b=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},$b}var BU;function Vde(){if(BU)return VU;BU=1;var e=Ve(),t=eh().trim,r=sP();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),VU}var zU={},WU={},Fb,GU;function wee(){if(GU)return Fb;GU=1;var e=eh().end,t=sP();return Fb=t("trimEnd")?function(){return e(this)}:"".trimEnd,Fb}var KU;function Hde(){if(KU)return WU;KU=1;var e=Ve(),t=wee();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),WU}var YU;function Bde(){if(YU)return zU;YU=1,Hde();var e=Ve(),t=wee();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),zU}var XU={},QU={},jb,ZU;function bee(){if(ZU)return jb;ZU=1;var e=eh().start,t=sP();return jb=t("trimStart")?function(){return e(this)}:"".trimStart,jb}var JU;function zde(){if(JU)return QU;JU=1;var e=Ve(),t=bee();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),QU}var eq;function Wde(){if(eq)return XU;eq=1,zde();var e=Ve(),t=bee();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),XU}var tq={},Ub,rq;function os(){if(rq)return Ub;rq=1;var e=Kt(),t=Ri(),r=rn(),n=/"/g,i=e("".replace);return Ub=function(a,o,l,s){var c=r(t(a)),d="<"+o;return l!==""&&(d+=" "+l+'="'+i(r(s),n,"&quot;")+'"'),d+">"+c+"</"+o+">"},Ub}var qb,nq;function ss(){if(nq)return qb;nq=1;var e=Bt();return qb=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},qb}var iq;function Gde(){if(iq)return tq;iq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),tq}var aq={},oq;function Kde(){if(oq)return aq;oq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),aq}var sq={},uq;function Yde(){if(uq)return sq;uq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),sq}var lq={},cq;function Xde(){if(cq)return lq;cq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),lq}var fq={},dq;function Qde(){if(dq)return fq;dq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),fq}var hq={},pq;function Zde(){if(pq)return hq;pq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),hq}var vq={},gq;function Jde(){if(gq)return vq;gq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),vq}var mq={},yq;function ehe(){if(yq)return mq;yq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),mq}var _q={},Sq;function the(){if(Sq)return _q;Sq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),_q}var Eq={},wq;function rhe(){if(wq)return Eq;wq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),Eq}var bq={},Cq;function nhe(){if(Cq)return bq;Cq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),bq}var Tq={},Aq;function ihe(){if(Aq)return Tq;Aq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),Tq}var Rq={},xq;function ahe(){if(xq)return Rq;xq=1;var e=Ve(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),Rq}var Oq={},_g={exports:{}},Vb,Iq;function uP(){if(Iq)return Vb;Iq=1;var e=er(),t=Bt(),r=_y(),n=En().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,a=e.Int8Array;return Vb=!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}),Vb}var Hb,Pq;function Cee(){if(Pq)return Hb;Pq=1;var e=YI(),t=RangeError;return Hb=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},Hb}var Bb,kq;function ohe(){if(kq)return Bb;kq=1;var e=Math.round;return Bb=function(t){var r=e(t);return r<0?0:r>255?255:r&255},Bb}var zb,Dq;function Tee(){if(Dq)return zb;Dq=1;var e=rs();return zb=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},zb}var Wb,Lq;function lP(){if(Lq)return Wb;Lq=1;var e=fy(),t=TypeError;return Wb=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},Wb}var Gb,Nq;function Aee(){if(Nq)return Gb;Nq=1;var e=ns(),t=wr(),r=JI(),n=In(),i=ti(),a=Kd(),o=uf(),l=jI(),s=Tee(),c=En().aTypedArrayConstructor,d=lP();return Gb=function(p){var g=r(this),m=n(p),_=arguments.length,E=_>1?arguments[1]:void 0,w=E!==void 0,b=o(m),x,T,A,O,y,P,D,V;if(b&&!l(b))for(D=a(m,b),V=D.next,m=[];!(P=t(V,D)).done;)m.push(P.value);for(w&&_>2&&(E=e(E,arguments[2])),T=i(m),A=new(c(g))(T),O=s(A),x=0;T>x;x++)y=w?E(m[x],x):m[x],A[x]=O?d(y):+y;return A},Gb}var Mq;function ul(){if(Mq)return _g.exports;Mq=1;var e=Ve(),t=er(),r=wr(),n=Dr(),i=uP(),a=En(),o=Ty(),l=as(),s=es(),c=xa(),d=ZI(),h=ts(),p=Cy(),g=Cee(),m=ohe(),_=Kl(),E=yn(),w=rs(),b=Gr(),x=tf(),T=Oa(),A=oo(),O=Ys(),y=nf().f,P=Aee(),D=Ia().forEach,V=Qd(),F=Gi(),B=Si(),K=Ra(),Q=Kp(),X=Mi(),te=sf(),ue=X.get,L=X.set,I=X.enforce,N=B.f,re=K.f,ee=t.RangeError,ce=o.ArrayBuffer,be=ce.prototype,Ie=o.DataView,je=a.NATIVE_ARRAY_BUFFER_VIEWS,z=a.TYPED_ARRAY_TAG,k=a.TypedArray,U=a.TypedArrayPrototype,H=a.isTypedArray,ne="BYTES_PER_ELEMENT",q="Wrong length",J=function(Oe,Me){F(Oe,Me,{configurable:!0,get:function(){return ue(this)[Me]}})},me=function(Oe){var Me;return A(be,Oe)||(Me=w(Oe))==="ArrayBuffer"||Me==="SharedArrayBuffer"},fe=function(Oe,Me){return H(Oe)&&!x(Me)&&Me in Oe&&d(+Me)&&Me>=0},Te=function(Me,de){return de=_(de),fe(Me,de)?s(2,Me[de]):re(Me,de)},Se=function(Me,de,Ee){return de=_(de),fe(Me,de)&&b(Ee)&&E(Ee,"value")&&!E(Ee,"get")&&!E(Ee,"set")&&!Ee.configurable&&(!E(Ee,"writable")||Ee.writable)&&(!E(Ee,"enumerable")||Ee.enumerable)?(Me[de]=Ee.value,Me):N(Me,de,Ee)};return n?(je||(K.f=Te,B.f=Se,J(U,"buffer"),J(U,"byteOffset"),J(U,"byteLength"),J(U,"length")),e({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:Te,defineProperty:Se}),_g.exports=function(Oe,Me,de){var Ee=Oe.match(/\d+/)[0]/8,_e=Oe+(de?"Clamped":"")+"Array",Ae="get"+Oe,De="set"+Oe,Ne=t[_e],Be=Ne,_t=Be&&Be.prototype,Ut={},Mt=function(St,yt){var at=ue(St);return at.view[Ae](yt*Ee+at.byteOffset,!0)},Qe=function(St,yt,at){var Ft=ue(St);Ft.view[De](yt*Ee+Ft.byteOffset,de?m(at):at,!0)},bt=function(St,yt){N(St,yt,{get:function(){return Mt(this,yt)},set:function(at){return Qe(this,yt,at)},enumerable:!0})};je?i&&(Be=Me(function(St,yt,at,Ft){return l(St,_t),te((function(){return b(yt)?me(yt)?Ft!==void 0?new Ne(yt,g(at,Ee),Ft):at!==void 0?new Ne(yt,g(at,Ee)):new Ne(yt):H(yt)?Q(Be,yt):r(P,Be,yt):new Ne(p(yt))})(),St,Be)}),O&&O(Be,k),D(y(Ne),function(St){St in Be||c(Be,St,Ne[St])}),Be.prototype=_t):(Be=Me(function(St,yt,at,Ft){l(St,_t);var At=0,Re=0,Je,ut,Ct;if(!b(yt))Ct=p(yt),ut=Ct*Ee,Je=new ce(ut);else if(me(yt)){Je=yt,Re=g(at,Ee);var kt=yt.byteLength;if(Ft===void 0){if(kt%Ee)throw new ee(q);if(ut=kt-Re,ut<0)throw new ee(q)}else if(ut=h(Ft)*Ee,ut+Re>kt)throw new ee(q);Ct=ut/Ee}else return H(yt)?Q(Be,yt):r(P,Be,yt);for(L(St,{buffer:Je,byteOffset:Re,byteLength:ut,length:Ct,view:new Ie(Je)});At<Ct;)bt(St,At++)}),O&&O(Be,k),_t=Be.prototype=T(U)),_t.constructor!==Be&&c(_t,"constructor",Be),I(_t).TypedArrayConstructor=Be,z&&c(_t,z,_e);var mt=Be!==Ne;Ut[_e]=Be,e({global:!0,constructor:!0,forced:mt,sham:!je},Ut),ne in Be||c(Be,ne,Ee),ne in _t||c(_t,ne,Ee),V(_e)}):_g.exports=function(){},_g.exports}var $q;function she(){if($q)return Oq;$q=1;var e=ul();return e("Float32",function(t){return function(n,i,a){return t(this,n,i,a)}}),Oq}var Fq={},jq;function uhe(){if(jq)return Fq;jq=1;var e=ul();return e("Float64",function(t){return function(n,i,a){return t(this,n,i,a)}}),Fq}var Uq={},qq;function lhe(){if(qq)return Uq;qq=1;var e=ul();return e("Int8",function(t){return function(n,i,a){return t(this,n,i,a)}}),Uq}var Vq={},Hq;function che(){if(Hq)return Vq;Hq=1;var e=ul();return e("Int16",function(t){return function(n,i,a){return t(this,n,i,a)}}),Vq}var Bq={},zq;function fhe(){if(zq)return Bq;zq=1;var e=ul();return e("Int32",function(t){return function(n,i,a){return t(this,n,i,a)}}),Bq}var Wq={},Gq;function dhe(){if(Gq)return Wq;Gq=1;var e=ul();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}}),Wq}var Kq={},Yq;function hhe(){if(Yq)return Kq;Yq=1;var e=ul();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}},!0),Kq}var Xq={},Qq;function phe(){if(Qq)return Xq;Qq=1;var e=ul();return e("Uint16",function(t){return function(n,i,a){return t(this,n,i,a)}}),Xq}var Zq={},Jq;function vhe(){if(Jq)return Zq;Jq=1;var e=ul();return e("Uint32",function(t){return function(n,i,a){return t(this,n,i,a)}}),Zq}var eV={},tV;function ghe(){if(tV)return eV;tV=1;var e=En(),t=ti(),r=qi(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(o){var l=n(this),s=t(l),c=r(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:l[d]}),eV}var rV={},nV;function mhe(){if(nV)return rV;nV=1;var e=Kt(),t=En(),r=OJ(),n=e(r),i=t.aTypedArray,a=t.exportTypedArrayMethod;return a("copyWithin",function(l,s){return n(i(this),l,s,arguments.length>2?arguments[2]:void 0)}),rV}var iV={},aV;function yhe(){if(aV)return iV;aV=1;var e=En(),t=Ia().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),iV}var oV={},sV;function _he(){if(sV)return oV;sV=1;var e=En(),t=UI(),r=lP(),n=rs(),i=wr(),a=Kt(),o=Bt(),l=e.aTypedArray,s=e.exportTypedArrayMethod,c=a("".slice),d=o(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return s("fill",function(p){var g=arguments.length;l(this);var m=c(n(this),0,3)==="Big"?r(p):+p;return i(t,this,m,g>1?arguments[1]:void 0,g>2?arguments[2]:void 0)},d),oV}var uV={},Kb,lV;function She(){if(lV)return Kb;lV=1;var e=Kp(),t=En().getTypedArrayConstructor;return Kb=function(r,n){return e(t(r),n)},Kb}var cV;function Ehe(){if(cV)return uV;cV=1;var e=En(),t=Ia().filter,r=She(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(o){var l=t(n(this),o,arguments.length>1?arguments[1]:void 0);return r(this,l)}),uV}var fV={},dV;function whe(){if(dV)return fV;dV=1;var e=En(),t=Ia().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),fV}var hV={},pV;function bhe(){if(pV)return hV;pV=1;var e=En(),t=Ia().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),hV}var vV={},gV;function Che(){if(gV)return vV;gV=1;var e=En(),t=yy().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),vV}var mV={},yV;function The(){if(yV)return mV;yV=1;var e=En(),t=yy().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),mV}var _V={},SV;function Ahe(){if(SV)return _V;SV=1;var e=En(),t=Ia().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(a){t(r(this),a,arguments.length>1?arguments[1]:void 0)}),_V}var EV={},wV;function Rhe(){if(wV)return EV;wV=1;var e=uP(),t=En().exportTypedArrayStaticMethod,r=Aee();return t("from",r,e),EV}var bV={},CV;function xhe(){if(CV)return bV;CV=1;var e=En(),t=Vp().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),bV}var TV={},AV;function Ohe(){if(AV)return TV;AV=1;var e=En(),t=Vp().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),TV}var RV={},xV;function Ihe(){if(xV)return RV;xV=1;var e=er(),t=Bt(),r=Kt(),n=En(),i=Sy(),a=Kr(),o=a("iterator"),l=e.Uint8Array,s=r(i.values),c=r(i.keys),d=r(i.entries),h=n.aTypedArray,p=n.exportTypedArrayMethod,g=l&&l.prototype,m=!t(function(){g[o].call([1])}),_=!!g&&g.values&&g[o]===g.values&&g.values.name==="values",E=function(){return s(h(this))};return p("entries",function(){return d(h(this))},m),p("keys",function(){return c(h(this))},m),p("values",E,m||!_,{name:"values"}),p(o,E,m||!_,{name:"values"}),RV}var OV={},IV;function Phe(){if(IV)return OV;IV=1;var e=En(),t=Kt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(o){return i(r(this),o)}),OV}var PV={},kV;function khe(){if(kV)return PV;kV=1;var e=En(),t=is(),r=DJ(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(o){var l=arguments.length;return t(r,n(this),l>1?[o,arguments[1]]:[o])}),PV}var DV={},LV;function Dhe(){if(LV)return DV;LV=1;var e=En(),t=Ia().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(l,s){return new(n(l))(s)})}),DV}var NV={},MV;function Lhe(){if(MV)return NV;MV=1;var e=En(),t=uP(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var a=0,o=arguments.length,l=new(r(this))(o);o>a;)l[a]=arguments[a++];return l},t),NV}var $V={},FV;function Nhe(){if(FV)return $V;FV=1;var e=En(),t=Ey().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)}),$V}var jV={},UV;function Mhe(){if(UV)return jV;UV=1;var e=En(),t=Ey().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)}),jV}var qV={},VV;function $he(){if(VV)return qV;VV=1;var e=En(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var a=this,o=t(a).length,l=n(o/2),s=0,c;s<l;)c=a[s],a[s++]=a[--o],a[o]=c;return a}),qV}var HV={},BV;function Fhe(){if(BV)return HV;BV=1;var e=er(),t=wr(),r=En(),n=ti(),i=Cee(),a=In(),o=Bt(),l=e.RangeError,s=e.Int8Array,c=s&&s.prototype,d=c&&c.set,h=r.aTypedArray,p=r.exportTypedArrayMethod,g=!o(function(){var _=new Uint8ClampedArray(2);return t(d,_,{length:1,0:3},1),_[1]!==3}),m=g&&r.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var _=new s(2);return _.set(1),_.set("2",1),_[0]!==0||_[1]!==2});return p("set",function(E){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),b=a(E);if(g)return t(d,this,b,w);var x=this.length,T=n(b),A=0;if(T+w>x)throw new l("Wrong length");for(;A<T;)this[w+A]=b[A++]},!g||m),HV}var zV={},WV;function jhe(){if(WV)return zV;WV=1;var e=En(),t=Bt(),r=Ps(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,o=t(function(){new Int8Array(1).slice()});return a("slice",function(s,c){for(var d=r(n(this),s,c),h=i(this),p=0,g=d.length,m=new h(g);g>p;)m[p]=d[p++];return m},o),zV}var GV={},KV;function Uhe(){if(KV)return GV;KV=1;var e=En(),t=Ia().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),GV}var YV={},XV;function qhe(){if(XV)return YV;XV=1;var e=er(),t=af(),r=Bt(),n=mn(),i=zI(),a=En(),o=LJ(),l=NJ(),s=yu(),c=WI(),d=a.aTypedArray,h=a.exportTypedArrayMethod,p=e.Uint16Array,g=p&&t(p.prototype.sort),m=!!g&&!(r(function(){g(new p(2),null)})&&r(function(){g(new p(2),{})})),_=!!g&&!r(function(){if(s)return s<74;if(o)return o<67;if(l)return!0;if(c)return c<602;var w=new p(516),b=Array(516),x,T;for(x=0;x<516;x++)T=x%4,w[x]=515-x,b[x]=x-2*T+3;for(g(w,function(A,O){return(A/4|0)-(O/4|0)}),x=0;x<516;x++)if(w[x]!==b[x])return!0}),E=function(w){return function(b,x){return w!==void 0?+w(b,x)||0:x!==x?-1:b!==b?1:b===0&&x===0?1/b>0&&1/x<0?1:-1:b>x}};return h("sort",function(b){return b!==void 0&&n(b),_?g(this,b):i(d(this),E(b))},!_||m),YV}var QV={},ZV;function Vhe(){if(ZV)return QV;ZV=1;var e=En(),t=ts(),r=nl(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;return a("subarray",function(l,s){var c=n(this),d=c.length,h=r(l,d),p=i(c);return new p(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,t((s===void 0?d:r(s,d))-h))}),QV}var JV={},eH;function Hhe(){if(eH)return JV;eH=1;var e=er(),t=is(),r=En(),n=Bt(),i=Ps(),a=e.Int8Array,o=r.aTypedArray,l=r.exportTypedArrayMethod,s=[].toLocaleString,c=!!a&&n(function(){s.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 l("toLocaleString",function(){return t(s,c?i(o(this)):o(this),i(arguments))},d),JV}var tH={},rH;function Bhe(){if(rH)return tH;rH=1;var e=MJ(),t=En(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),tH}var nH={},iH;function zhe(){if(iH)return nH;iH=1;var e=En(),t=Kt(),r=mn(),n=Kp(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,l=t(e.TypedArrayPrototype.sort);return o("toSorted",function(c){c!==void 0&&r(c);var d=i(this),h=n(a(d),d);return l(h,c)}),nH}var aH={},oH;function Whe(){if(oH)return aH;oH=1;var e=En().exportTypedArrayMethod,t=Bt(),r=er(),n=Kt(),i=r.Uint8Array,a=i&&i.prototype||{},o=[].toString,l=n([].join);t(function(){o.call({})})&&(o=function(){return l(this)});var s=a.toString!==o;return e("toString",o,s),aH}var sH={},uH;function Ghe(){if(uH)return sH;uH=1;var e=FJ(),t=En(),r=Tee(),n=qi(),i=lP(),a=t.aTypedArray,o=t.getTypedArrayConstructor,l=t.exportTypedArrayMethod,s=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),c=s&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return l("with",function(d,h){var p=a(this),g=n(d),m=r(p)?i(h):+h;return e(p,o(p),g,m)},!s||c),sH}var lH={},Yb,cH;function Ree(){if(cH)return Yb;cH=1;var e=Gr(),t=String,r=TypeError;return Yb=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},Yb}var Xb,fH;function Vy(){if(fH)return Xb;fH=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 Xb={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},Xb}var Qb,dH;function xee(){if(dH)return Qb;dH=1;var e=TypeError;return Qb=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},Qb}var Zb,hH;function Oee(){if(hH)return Zb;hH=1;var e=er(),t=Kt(),r=Ree(),n=Fy(),i=yn(),a=Vy(),o=xee(),l=Yp(),s=a.c2i,c=a.c2iUrl,d=e.SyntaxError,h=e.TypeError,p=t("".charAt),g=function(E,w){for(var b=E.length;w<b;w++){var x=p(E,w);if(x!==" "&&x!==" "&&x!==`
6
+ `&&x!=="\f"&&x!=="\r")break}return w},m=function(E,w,b){var x=E.length;x<4&&(E+=x===2?"AA":"A");var T=(w[p(E,0)]<<18)+(w[p(E,1)]<<12)+(w[p(E,2)]<<6)+w[p(E,3)],A=[T>>16&255,T>>8&255,T&255];if(x===2){if(b&&A[1]!==0)throw new d("Extra bits");return[A[0]]}if(x===3){if(b&&A[2]!==0)throw new d("Extra bits");return[A[0],A[1]]}return A},_=function(E,w,b){for(var x=w.length,T=0;T<x;T++)E[b+T]=w[T];return b+x};return Zb=function(E,w,b,x){n(E),r(w);var T=o(w)==="base64"?s:c,A=w?w.lastChunkHandling:void 0;if(A===void 0&&(A="loose"),A!=="loose"&&A!=="strict"&&A!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");b&&l(b.buffer);var O=E.length,y=b||[],P=0,D=0,V="",F=0;if(x)for(;;){if(F=g(E,F),F===O){if(V.length>0){if(A==="stop-before-partial")break;if(A==="loose"){if(V.length===1)throw new d("Malformed padding: exactly one additional character");P=_(y,m(V,T,!1),P)}else throw new d("Missing padding")}D=O;break}var B=p(E,F);if(++F,B==="="){if(V.length<2)throw new d("Padding is too early");if(F=g(E,F),V.length===2){if(F===O){if(A==="stop-before-partial")break;throw new d("Malformed padding: only one =")}p(E,F)==="="&&(++F,F=g(E,F))}if(F<O)throw new d("Unexpected character after padding");P=_(y,m(V,T,A==="strict"),P),D=O;break}if(!i(T,B))throw new d("Unexpected character");var K=x-P;if(K===1&&V.length===2||K===2&&V.length===3||(V+=B,V.length===4&&(P=_(y,m(V,T,!1),P),V="",D=F,P===x)))break}return{bytes:y,read:D,written:P}},Zb}var pH;function Khe(){if(pH)return lH;pH=1;var e=Ve(),t=er(),r=Kp(),n=Oee(),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(l){var s=n(l,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,s.bytes)}}),lH}var vH={},Jb,gH;function Iee(){if(gH)return Jb;gH=1;var e=er(),t=Kt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,a=Math.min,o=/[^\da-f]/i,l=t(o.exec),s=t("".slice);return Jb=function(c,d){var h=c.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var p=d?a(d.length,h/2):h/2,g=d||new r(p),m=0,_=0;_<p;){var E=s(c,m,m+=2);if(l(o,E))throw new n("String should only contain hex characters");g[_++]=i(E,16)}return{bytes:g,read:m}},Jb}var mH;function Yhe(){if(mH)return vH;mH=1;var e=Ve(),t=er(),r=Fy(),n=Iee();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(a){return n(r(a)).bytes}}),vH}var yH={},eC,_H;function Hy(){if(_H)return eC;_H=1;var e=rs(),t=TypeError;return eC=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},eC}var SH;function Xhe(){if(SH)return yH;SH=1;var e=Ve(),t=er(),r=Oee(),n=Hy(),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(l){n(this);var s=r(l,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:s.read,written:s.written}}}),yH}var EH={},wH;function Qhe(){if(wH)return EH;wH=1;var e=Ve(),t=er(),r=Fy(),n=Hy(),i=Yp(),a=Iee();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(l){n(this),r(l),i(this.buffer);var s=a(l,this).read;return{read:s,written:s/2}}}),EH}var bH={},CH;function Zhe(){if(CH)return bH;CH=1;var e=Ve(),t=er(),r=Kt(),n=Ree(),i=Hy(),a=Yp(),o=Vy(),l=xee(),s=o.i2c,c=o.i2cUrl,d=r("".charAt),h=t.Uint8Array,p=!h||!h.prototype.toBase64||!(function(){try{var g=new h;g.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:p},{toBase64:function(){var m=i(this),_=arguments.length?n(arguments[0]):void 0,E=l(_)==="base64"?s:c,w=!!_&&!!_.omitPadding;a(this.buffer);for(var b="",x=0,T=m.length,A,O=function(y){return d(E,A>>6*y&63)};x+2<T;x+=3)A=(m[x]<<16)+(m[x+1]<<8)+m[x+2],b+=O(3)+O(2)+O(1)+O(0);return x+2===T?(A=(m[x]<<16)+(m[x+1]<<8),b+=O(3)+O(2)+O(1)+(w?"":"=")):x+1===T&&(A=m[x]<<16,b+=O(3)+O(2)+(w?"":"==")),b}}),bH}var TH={},AH;function Jhe(){if(AH)return TH;AH=1;var e=Ve(),t=er(),r=Kt(),n=Hy(),i=Yp(),a=r(1.1.toString),o=t.Uint8Array,l=!o||!o.prototype.toHex||!(function(){try{var s=new o([255,255,255,255,255,255,255,255]);return s.toHex()==="ffffffffffffffff"}catch{return!1}})();return o&&e({target:"Uint8Array",proto:!0,forced:l},{toHex:function(){n(this),i(this.buffer);for(var c="",d=0,h=this.length;d<h;d++){var p=a(this[d],16);c+=p.length===1?"0"+p:p}return c}}),TH}var RH={},xH;function epe(){if(xH)return RH;xH=1;var e=Ve(),t=Kt(),r=rn(),n=String.fromCharCode,i=t("".charAt),a=t(/./.exec),o=t("".slice),l=/^[\da-f]{2}$/i,s=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),p="",g=h.length,m=0,_,E;m<g;){if(_=i(h,m++),_==="%"){if(i(h,m)==="u"){if(E=o(h,m+1,m+5),a(s,E)){p+=n(parseInt(E,16)),m+=5;continue}}else if(E=o(h,m,m+2),a(l,E)){p+=n(parseInt(E,16)),m+=2;continue}}p+=_}return p}}),RH}var OH={},IH={},tC,PH;function Pee(){if(PH)return tC;PH=1;var e=Kt(),t=ol(),r=ff().getWeakData,n=as(),i=Ar(),a=rl(),o=Gr(),l=sa(),s=Ia(),c=yn(),d=Mi(),h=d.set,p=d.getterFor,g=s.find,m=s.findIndex,_=e([].splice),E=0,w=function(T){return T.frozen||(T.frozen=new b)},b=function(){this.entries=[]},x=function(T,A){return g(T.entries,function(O){return O[0]===A})};return b.prototype={get:function(T){var A=x(this,T);if(A)return A[1]},has:function(T){return!!x(this,T)},set:function(T,A){var O=x(this,T);O?O[1]=A:this.entries.push([T,A])},delete:function(T){var A=m(this.entries,function(O){return O[0]===T});return~A&&_(this.entries,A,1),!!~A}},tC={getConstructor:function(T,A,O,y){var P=T(function(B,K){n(B,D),h(B,{type:A,id:E++,frozen:null}),a(K)||l(K,B[y],{that:B,AS_ENTRIES:O})}),D=P.prototype,V=p(A),F=function(B,K,Q){var X=V(B),te=r(i(K),!0);return te===!0?w(X).set(K,Q):te[X.id]=Q,B};return t(D,{delete:function(B){var K=V(this);if(!o(B))return!1;var Q=r(B);return Q===!0?w(K).delete(B):Q&&c(Q,K.id)&&delete Q[K.id]},has:function(K){var Q=V(this);if(!o(K))return!1;var X=r(K);return X===!0?w(Q).has(K):X&&c(X,Q.id)}}),t(D,O?{get:function(K){var Q=V(this);if(o(K)){var X=r(K);if(X===!0)return w(Q).get(K);if(X)return X[Q.id]}},set:function(K,Q){return F(this,K,Q)}}:{add:function(K){return F(this,K,!0)}}),P}},tC}var kH;function tpe(){if(kH)return IH;kH=1;var e=Jd(),t=er(),r=Kt(),n=ol(),i=ff(),a=Oy(),o=Pee(),l=Gr(),s=Mi().enforce,c=Bt(),d=pJ(),h=Object,p=Array.isArray,g=h.isExtensible,m=h.isFrozen,_=h.isSealed,E=h.freeze,w=h.seal,b=!t.ActiveXObject&&"ActiveXObject"in t,x,T=function(B){return function(){return B(this,arguments.length?arguments[0]:void 0)}},A=a("WeakMap",T,o),O=A.prototype,y=r(O.set),P=function(){return e&&c(function(){var B=E([]);return y(new A,B,1),!m(B)})};if(d)if(b){x=o.getConstructor(T,"WeakMap",!0),i.enable();var D=r(O.delete),V=r(O.has),F=r(O.get);n(O,{delete:function(B){if(l(B)&&!g(B)){var K=s(this);return K.frozen||(K.frozen=new x),D(this,B)||K.frozen.delete(B)}return D(this,B)},has:function(K){if(l(K)&&!g(K)){var Q=s(this);return Q.frozen||(Q.frozen=new x),V(this,K)||Q.frozen.has(K)}return V(this,K)},get:function(K){if(l(K)&&!g(K)){var Q=s(this);return Q.frozen||(Q.frozen=new x),V(this,K)?F(this,K):Q.frozen.get(K)}return F(this,K)},set:function(K,Q){if(l(K)&&!g(K)){var X=s(this);X.frozen||(X.frozen=new x),V(this,K)?y(this,K,Q):X.frozen.set(K,Q)}else y(this,K,Q);return this}})}else P()&&n(O,{set:function(K,Q){var X;return p(K)&&(m(K)?X=E:_(K)&&(X=w)),y(this,K,Q),X&&X(K),this}});return IH}var DH;function rpe(){return DH||(DH=1,tpe()),OH}var LH={},NH={},MH;function npe(){if(MH)return NH;MH=1;var e=Oy(),t=Pee();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),NH}var $H;function ipe(){return $H||($H=1,npe()),LH}var FH={},jH;function ape(){if(jH)return FH;jH=1;var e=Ve(),t=er(),r=gn(),n=Kt(),i=wr(),a=Bt(),o=rn(),l=ks(),s=Vy().c2i,c=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=r("atob"),g=String.fromCharCode,m=n("".charAt),_=n("".replace),E=n(c.exec),w=!!p&&!a(function(){return p("aGk=")!=="hi"}),b=w&&a(function(){return p(" ")!==""}),x=w&&!a(function(){p("a")}),T=w&&!a(function(){p()}),A=w&&p.length!==1,O=!w||b||x||T||A;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(P){if(l(arguments.length,1),w&&!b&&!x)return i(p,t,P);var D=_(o(P),d,""),V="",F=0,B=0,K,Q,X;if(D.length%4===0&&(D=_(D,h,"")),K=D.length,K%4===1||E(c,D))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;F<K;)Q=m(D,F++),X=B%4?X*64+s[Q]:s[Q],B++%4&&(V+=g(255&X>>(-2*B&6)));return V}}),FH}var UH={},qH;function ope(){if(qH)return UH;qH=1;var e=Ve(),t=er(),r=gn(),n=Kt(),i=wr(),a=Bt(),o=rn(),l=ks(),s=Vy().i2c,c=r("btoa"),d=n("".charAt),h=n("".charCodeAt),p=!!c&&!a(function(){return c("hi")!=="aGk="}),g=p&&!a(function(){c()}),m=p&&a(function(){return c(null)!=="bnVsbA=="}),_=p&&c.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!p||g||m||_},{btoa:function(w){if(l(arguments.length,1),p)return i(c,t,o(w));for(var b=o(w),x="",T=0,A=s,O,y;d(b,T)||(A="=",T%1);){if(y=h(b,T+=3/4),y>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|y,x+=d(A,63&O>>8-T%1*8)}return x}}),UH}var VH={},rC,HH;function kee(){return HH||(HH=1,rC={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}),rC}var nC,BH;function Dee(){if(BH)return nC;BH=1;var e=dy(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return nC=r===Object.prototype?void 0:r,nC}var zH;function spe(){if(zH)return VH;zH=1;var e=er(),t=kee(),r=Dee(),n=PJ(),i=xa(),a=function(l){if(l&&l.forEach!==n)try{i(l,"forEach",n)}catch{l.forEach=n}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);return a(r),VH}var WH={},GH;function upe(){if(GH)return WH;GH=1;var e=er(),t=kee(),r=Dee(),n=Sy(),i=xa(),a=Do(),o=Kr(),l=o("iterator"),s=n.values,c=function(h,p){if(h){if(h[l]!==s)try{i(h,l,s)}catch{h[l]=s}if(a(h,p,!0),t[p]){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"),WH}var KH={},iC,YH;function Lee(){return YH||(YH=1,iC={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}}),iC}var XH;function lpe(){if(XH)return KH;XH=1;var e=Ve(),t=gn(),r=zJ(),n=Bt(),i=Oa(),a=es(),o=Si().f,l=Gn(),s=Gi(),c=yn(),d=as(),h=Ar(),p=xJ(),g=Gd(),m=Lee(),_=MI(),E=Mi(),w=Dr(),b=Nn(),x="DOMException",T="DATA_CLONE_ERR",A=t("Error"),O=t(x)||(function(){try{var k=t("MessageChannel")||r("worker_threads").MessageChannel;new k().port1.postMessage(new WeakMap)}catch(U){if(U.name===T&&U.code===25)return U.constructor}})(),y=O&&O.prototype,P=A.prototype,D=E.set,V=E.getterFor(x),F="stack"in new A(x),B=function(k){return c(m,k)&&m[k].m?m[k].c:0},K=function(){d(this,Q);var U=arguments.length,H=g(U<1?void 0:arguments[0]),ne=g(U<2?void 0:arguments[1],"Error"),q=B(ne);if(D(this,{type:x,name:ne,message:H,code:q}),w||(this.name=ne,this.message=H,this.code=q),F){var J=new A(H);J.name=x,o(this,"stack",a(1,_(J.stack,1)))}},Q=K.prototype=i(P),X=function(k){return{enumerable:!0,configurable:!0,get:k}},te=function(k){return X(function(){return V(this)[k]})};w&&(s(Q,"code",te("code")),s(Q,"message",te("message")),s(Q,"name",te("name"))),o(Q,"constructor",a(1,K));var ue=n(function(){return!(new O instanceof A)}),L=ue||n(function(){return P.toString!==p||String(new O(1,2))!=="2: 1"}),I=ue||n(function(){return new O(1,"DataCloneError").code!==25}),N=ue||O[T]!==25||y[T]!==25,re=b?L||I||N:ue;e({global:!0,constructor:!0,forced:re},{DOMException:re?K:O});var ee=t(x),ce=ee.prototype;L&&(b||O===ee)&&l(ce,"toString",p),I&&w&&O===ee&&s(ce,"code",X(function(){return B(h(this).name)}));for(var be in m)if(c(m,be)){var Ie=m[be],je=Ie.s,z=a(6,Ie.c);c(ee,je)||o(ee,je,z),c(ce,je)||o(ce,je,z)}return KH}var QH={},ZH;function cpe(){if(ZH)return QH;ZH=1;var e=Ve(),t=er(),r=gn(),n=es(),i=Si().f,a=yn(),o=as(),l=sf(),s=Gd(),c=Lee(),d=MI(),h=Dr(),p=Nn(),g="DOMException",m=r("Error"),_=r(g),E=function(){o(this,w);var K=arguments.length,Q=s(K<1?void 0:arguments[0]),X=s(K<2?void 0:arguments[1],"Error"),te=new _(Q,X),ue=new m(Q);return ue.name=g,i(te,"stack",n(1,d(ue.stack,1))),l(te,this,E),te},w=E.prototype=_.prototype,b="stack"in new m(g),x="stack"in new _(1,2),T=_&&h&&Object.getOwnPropertyDescriptor(t,g),A=!!T&&!(T.writable&&T.configurable),O=b&&!A&&!x;e({global:!0,constructor:!0,forced:p||O},{DOMException:O?E:_});var y=r(g),P=y.prototype;if(P.constructor!==y){p||i(P,"constructor",n(1,y));for(var D in c)if(a(c,D)){var V=c[D],F=V.s;a(y,F)||i(y,F,n(6,V.c))}}return QH}var JH={},eB;function fpe(){if(eB)return JH;eB=1;var e=gn(),t=Do(),r="DOMException";return t(e(r),r),JH}var tB={},rB={},nB;function dpe(){if(nB)return rB;nB=1;var e=Ve(),t=er(),r=Ly().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),rB}var iB={},aC,aB;function cP(){if(aB)return aC;aB=1;var e=er(),t=is(),r=Sn(),n=wy(),i=mu(),a=Ps(),o=ks(),l=e.Function,s=/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 aC=function(c,d){var h=d?2:1;return s?function(p,g){var m=o(arguments.length,1)>h,_=r(p)?p:l(p),E=m?a(arguments,h):[],w=m?function(){t(_,this,E)}:_;return d?c(w,g):c(w)}:c},aC}var oB;function hpe(){if(oB)return iB;oB=1;var e=Ve(),t=er(),r=Ly().set,n=cP(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),iB}var sB;function ppe(){return sB||(sB=1,dpe(),hpe()),tB}var uB={},lB;function vpe(){if(lB)return uB;lB=1;var e=Ve(),t=er(),r=cee(),n=mn(),i=ks(),a=Bt(),o=Dr(),l=a(function(){return o&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:l},{queueMicrotask:function(c){i(arguments.length,1),r(n(c))}}),uB}var cB={},fB;function gpe(){if(fB)return cB;fB=1;var e=Ve(),t=er(),r=Gi(),n=Dr(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(n){var l=Object.getOwnPropertyDescriptor(t,"self");(o||!l||!l.get||!l.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 cB}var dB={},hB;function mpe(){if(hB)return dB;hB=1;var e=Nn(),t=Ve(),r=er(),n=gn(),i=Kt(),a=Bt(),o=Bd(),l=Sn(),s=of(),c=rl(),d=Gr(),h=tf(),p=sa(),g=Ar(),m=rs(),_=yn(),E=il(),w=xa(),b=ti(),x=ks(),T=df(),A=JJ(),O=Xs(),y=nh(),P=WJ(),D=AJ(),V=KI(),F=r.Object,B=r.Array,K=r.Date,Q=r.Error,X=r.TypeError,te=r.PerformanceMark,ue=n("DOMException"),L=A.Map,I=A.has,N=A.get,re=A.set,ee=O.Set,ce=O.add,be=O.has,Ie=n("Object","keys"),je=i([].push),z=i((!0).valueOf),k=i(1.1.valueOf),U=i("".valueOf),H=i(K.prototype.getTime),ne=o("structuredClone"),q="DataCloneError",J="Transferring",me=function(Qe){return!a(function(){var bt=new r.Set([7]),mt=Qe(bt),St=Qe(F(7));return mt===bt||!mt.has(7)||!d(St)||+St!=7})&&Qe},fe=function(Qe,bt){return!a(function(){var mt=new bt,St=Qe({a:mt,b:mt});return!(St&&St.a===St.b&&St.a instanceof bt&&St.a.stack===mt.stack)})},Te=function(Qe){return!a(function(){var bt=Qe(new r.AggregateError([1],ne,{cause:3}));return bt.name!=="AggregateError"||bt.errors[0]!==1||bt.message!==ne||bt.cause!==3})},Se=r.structuredClone,Oe=e||!fe(Se,Q)||!fe(Se,ue)||!Te(Se),Me=!Se&&me(function(Qe){return new te(ne,{detail:Qe}).detail}),de=me(Se)||Me,Ee=function(Qe){throw new ue("Uncloneable type: "+Qe,q)},_e=function(Qe,bt){throw new ue((bt||"Cloning")+" of "+Qe+" cannot be properly polyfilled in this engine",q)},Ae=function(Qe,bt){return de||_e(bt),de(Qe)},De=function(){var Qe;try{Qe=new r.DataTransfer}catch{try{Qe=new r.ClipboardEvent("").clipboardData}catch{}}return Qe&&Qe.items&&Qe.files?Qe:null},Ne=function(Qe,bt,mt){if(I(bt,Qe))return N(bt,Qe);var St=mt||m(Qe),yt,at,Ft,At,Re,Je;if(St==="SharedArrayBuffer")de?yt=de(Qe):yt=Qe;else{var ut=r.DataView;!ut&&!l(Qe.slice)&&_e("ArrayBuffer");try{if(l(Qe.slice)&&!Qe.resizable)yt=Qe.slice(0);else for(at=Qe.byteLength,Ft=("maxByteLength"in Qe)?{maxByteLength:Qe.maxByteLength}:void 0,yt=new ArrayBuffer(at,Ft),At=new ut(Qe),Re=new ut(yt),Je=0;Je<at;Je++)Re.setUint8(Je,At.getUint8(Je))}catch{throw new ue("ArrayBuffer is detached",q)}}return re(bt,Qe,yt),yt},Be=function(Qe,bt,mt,St,yt){var at=r[bt];return d(at)||_e(bt),new at(Ne(Qe.buffer,yt),mt,St)},_t=function(Qe,bt){if(h(Qe)&&Ee("Symbol"),!d(Qe))return Qe;if(bt){if(I(bt,Qe))return N(bt,Qe)}else bt=new L;var mt=m(Qe),St,yt,at,Ft,At,Re,Je,ut;switch(mt){case"Array":at=B(b(Qe));break;case"Object":at={};break;case"Map":at=new L;break;case"Set":at=new ee;break;case"RegExp":at=new RegExp(Qe.source,T(Qe));break;case"Error":switch(yt=Qe.name,yt){case"AggregateError":at=new(n(yt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":at=new(n(yt));break;case"CompileError":case"LinkError":case"RuntimeError":at=new(n("WebAssembly",yt));break;default:at=new Q}break;case"DOMException":at=new ue(Qe.message,Qe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":at=Ne(Qe,bt,mt);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":Re=mt==="DataView"?Qe.byteLength:Qe.length,at=Be(Qe,mt,Qe.byteOffset,Re,bt);break;case"DOMQuad":try{at=new DOMQuad(_t(Qe.p1,bt),_t(Qe.p2,bt),_t(Qe.p3,bt),_t(Qe.p4,bt))}catch{at=Ae(Qe,mt)}break;case"File":if(de)try{at=de(Qe),m(at)!==mt&&(at=void 0)}catch{}if(!at)try{at=new File([Qe],Qe.name,Qe)}catch{}at||_e(mt);break;case"FileList":if(Ft=De(),Ft){for(At=0,Re=b(Qe);At<Re;At++)Ft.items.add(_t(Qe[At],bt));at=Ft.files}else at=Ae(Qe,mt);break;case"ImageData":try{at=new ImageData(_t(Qe.data,bt),Qe.width,Qe.height,{colorSpace:Qe.colorSpace})}catch{at=Ae(Qe,mt)}break;default:if(de)at=de(Qe);else switch(mt){case"BigInt":at=F(Qe.valueOf());break;case"Boolean":at=F(z(Qe));break;case"Number":at=F(k(Qe));break;case"String":at=F(U(Qe));break;case"Date":at=new K(H(Qe));break;case"Blob":try{at=Qe.slice(0,Qe.size,Qe.type)}catch{_e(mt)}break;case"DOMPoint":case"DOMPointReadOnly":St=r[mt];try{at=St.fromPoint?St.fromPoint(Qe):new St(Qe.x,Qe.y,Qe.z,Qe.w)}catch{_e(mt)}break;case"DOMRect":case"DOMRectReadOnly":St=r[mt];try{at=St.fromRect?St.fromRect(Qe):new St(Qe.x,Qe.y,Qe.width,Qe.height)}catch{_e(mt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":St=r[mt];try{at=St.fromMatrix?St.fromMatrix(Qe):new St(Qe)}catch{_e(mt)}break;case"AudioData":case"VideoFrame":l(Qe.clone)||_e(mt);try{at=Qe.clone()}catch{Ee(mt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":_e(mt);default:Ee(mt)}}switch(re(bt,Qe,at),mt){case"Array":case"Object":for(Je=Ie(Qe),At=0,Re=b(Je);At<Re;At++)ut=Je[At],E(at,ut,_t(Qe[ut],bt));break;case"Map":Qe.forEach(function(Ct,kt){re(at,_t(kt,bt),_t(Ct,bt))});break;case"Set":Qe.forEach(function(Ct){ce(at,_t(Ct,bt))});break;case"Error":w(at,"message",_t(Qe.message,bt)),_(Qe,"cause")&&w(at,"cause",_t(Qe.cause,bt)),yt==="AggregateError"?at.errors=_t(Qe.errors,bt):yt==="SuppressedError"&&(at.error=_t(Qe.error,bt),at.suppressed=_t(Qe.suppressed,bt));case"DOMException":D&&w(at,"stack",_t(Qe.stack,bt))}return at},Ut=function(Qe,bt){if(!d(Qe))throw new X("Transfer option cannot be converted to a sequence");var mt=[];p(Qe,function(kt){je(mt,g(kt))});for(var St=0,yt=b(mt),at=new ee,Ft,At,Re,Je,ut,Ct;St<yt;){if(Ft=mt[St++],At=m(Ft),At==="ArrayBuffer"?be(at,Ft):I(bt,Ft))throw new ue("Duplicate transferable",q);if(At==="ArrayBuffer"){ce(at,Ft);continue}if(V)Je=Se(Ft,{transfer:[Ft]});else switch(At){case"ImageBitmap":Re=r.OffscreenCanvas,s(Re)||_e(At,J);try{ut=new Re(Ft.width,Ft.height),Ct=ut.getContext("bitmaprenderer"),Ct.transferFromImageBitmap(Ft),Je=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!l(Ft.clone)||!l(Ft.close))&&_e(At,J);try{Je=Ft.clone(),Ft.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":_e(At,J)}if(Je===void 0)throw new ue("This object cannot be transferred: "+At,q);re(bt,Ft,Je)}return at},Mt=function(Qe){y(Qe,function(bt){V?de(bt,{transfer:[bt]}):l(bt.transfer)?bt.transfer():P?P(bt):_e("ArrayBuffer",J)})};return t({global:!0,enumerable:!0,sham:!V,forced:Oe},{structuredClone:function(bt){var mt=x(arguments.length,1)>1&&!c(arguments[1])?g(arguments[1]):void 0,St=mt?mt.transfer:void 0,yt,at;St!==void 0&&(yt=new L,at=Ut(St,yt));var Ft=_t(bt,yt);return at&&Mt(at),Ft}}),dB}var pB={},vB={},gB;function ype(){if(gB)return vB;gB=1;var e=Ve(),t=er(),r=cP(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),vB}var mB={},yB;function _pe(){if(yB)return mB;yB=1;var e=Ve(),t=er(),r=cP(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),mB}var _B;function Spe(){return _B||(_B=1,ype(),_pe()),pB}var SB={},EB={},oC,wB;function By(){if(wB)return oC;wB=1;var e=Bt(),t=Kr(),r=Dr(),n=Nn(),i=t("iterator");return oC=!e(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),o=a.searchParams,l=new URLSearchParams("a=1&a=2&b=3"),s="";return a.pathname="c%20d",o.forEach(function(c,d){o.delete("b"),s+=d+c}),l.delete("a",2),l.delete("b",void 0),n&&(!a.toJSON||!l.has("a",1)||l.has("a",2)||!l.has("a",void 0)||l.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"||s!=="a1c3"||new URL("https://x",void 0).host!=="x"}),oC}var sC,bB;function Epe(){if(bB)return sC;bB=1;var e=Kt(),t=2147483647,r=36,n=1,i=26,a=38,o=700,l=72,s=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",g=r-n,m=RangeError,_=e(h.exec),E=Math.floor,w=String.fromCharCode,b=e("".charCodeAt),x=e([].join),T=e([].push),A=e("".replace),O=e("".split),y=e("".toLowerCase),P=function(B){for(var K=[],Q=0,X=B.length;Q<X;){var te=b(B,Q++);if(te>=55296&&te<=56319&&Q<X){var ue=b(B,Q++);(ue&64512)===56320?T(K,((te&1023)<<10)+(ue&1023)+65536):(T(K,te),Q--)}else T(K,te)}return K},D=function(B){return B+22+75*(B<26)},V=function(B,K,Q){var X=0;for(B=Q?E(B/o):B>>1,B+=E(B/K);B>g*i>>1;)B=E(B/g),X+=r;return E(X+(g+1)*B/(B+a))},F=function(B){var K=[];B=P(B);var Q=B.length,X=s,te=0,ue=l,L,I;for(L=0;L<B.length;L++)I=B[L],I<128&&T(K,w(I));var N=K.length,re=N;for(N&&T(K,c);re<Q;){var ee=t;for(L=0;L<B.length;L++)I=B[L],I>=X&&I<ee&&(ee=I);var ce=re+1;if(ee-X>E((t-te)/ce))throw new m(p);for(te+=(ee-X)*ce,X=ee,L=0;L<B.length;L++){if(I=B[L],I<X&&++te>t)throw new m(p);if(I===X){for(var be=te,Ie=r;;){var je=Ie<=ue?n:Ie>=ue+i?i:Ie-ue;if(be<je)break;var z=be-je,k=r-je;T(K,w(D(je+z%k))),be=E(z/k),Ie+=r}T(K,w(D(be))),ue=V(te,ce,re===N),te=0,re++}}te++,X++}return x(K,"")};return sC=function(B){var K=[],Q=O(A(y(B),h,"."),"."),X,te;for(X=0;X<Q.length;X++)te=Q[X],T(K,_(d,te)?"xn--"+F(te):te);return x(K,".")},sC}var uC,CB;function Nee(){if(CB)return uC;CB=1,Sy(),yee();var e=Ve(),t=er(),r=uee(),n=gn(),i=wr(),a=Kt(),o=Dr(),l=By(),s=Gn(),c=Gi(),d=ol(),h=Do(),p=VI(),g=Mi(),m=as(),_=Sn(),E=yn(),w=ns(),b=rs(),x=Ar(),T=Gr(),A=rn(),O=Oa(),y=es(),P=Kd(),D=uf(),V=cf(),F=ks(),B=Kr(),K=zI(),Q=B("iterator"),X="URLSearchParams",te=X+"Iterator",ue=g.set,L=g.getterFor(X),I=g.getterFor(te),N=r("fetch"),re=r("Request"),ee=r("Headers"),ce=re&&re.prototype,be=ee&&ee.prototype,Ie=t.TypeError,je=t.encodeURIComponent,z=String.fromCharCode,k=n("String","fromCodePoint"),U=parseInt,H=a("".charAt),ne=a([].join),q=a([].push),J=a("".replace),me=a([].shift),fe=a([].splice),Te=a("".split),Se=a("".slice),Oe=a(/./.exec),Me=/\+/g,de="�",Ee=/^[0-9a-f]+$/i,_e=function(Re,Je){var ut=Se(Re,Je,Je+2);return Oe(Ee,ut)?U(ut,16):NaN},Ae=function(Re){for(var Je=0,ut=128;ut>0&&(Re&ut)!==0;ut>>=1)Je++;return Je},De=function(Re){var Je=null;switch(Re.length){case 1:Je=Re[0];break;case 2:Je=(Re[0]&31)<<6|Re[1]&63;break;case 3:Je=(Re[0]&15)<<12|(Re[1]&63)<<6|Re[2]&63;break;case 4:Je=(Re[0]&7)<<18|(Re[1]&63)<<12|(Re[2]&63)<<6|Re[3]&63;break}return Je>1114111?null:Je},Ne=function(Re){Re=J(Re,Me," ");for(var Je=Re.length,ut="",Ct=0;Ct<Je;){var kt=H(Re,Ct);if(kt==="%"){if(H(Re,Ct+1)==="%"||Ct+3>Je){ut+="%",Ct++;continue}var rr=_e(Re,Ct+1);if(rr!==rr){ut+=kt,Ct++;continue}Ct+=2;var Sr=Ae(rr);if(Sr===0)kt=z(rr);else{if(Sr===1||Sr>4){ut+=de,Ct++;continue}for(var ur=[rr],mr=1;mr<Sr&&(Ct++,!(Ct+3>Je||H(Re,Ct)!=="%"));){var Lr=_e(Re,Ct+1);if(Lr!==Lr){Ct+=3;break}if(Lr>191||Lr<128)break;q(ur,Lr),Ct+=2,mr++}if(ur.length!==Sr){ut+=de;continue}var un=De(ur);un===null?ut+=de:kt=k(un)}}ut+=kt,Ct++}return ut},Be=/[!'()~]|%20/g,_t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ut=function(Re){return _t[Re]},Mt=function(Re){return J(je(Re),Be,Ut)},Qe=p(function(Je,ut){ue(this,{type:te,target:L(Je).entries,index:0,kind:ut})},X,function(){var Je=I(this),ut=Je.target,Ct=Je.index++;if(!ut||Ct>=ut.length)return Je.target=null,V(void 0,!0);var kt=ut[Ct];switch(Je.kind){case"keys":return V(kt.key,!1);case"values":return V(kt.value,!1)}return V([kt.key,kt.value],!1)},!0),bt=function(Re){this.entries=[],this.url=null,Re!==void 0&&(T(Re)?this.parseObject(Re):this.parseQuery(typeof Re=="string"?H(Re,0)==="?"?Se(Re,1):Re:A(Re)))};bt.prototype={type:X,bindURL:function(Re){this.url=Re,this.update()},parseObject:function(Re){var Je=this.entries,ut=D(Re),Ct,kt,rr,Sr,ur,mr,Lr;if(ut)for(Ct=P(Re,ut),kt=Ct.next;!(rr=i(kt,Ct)).done;){if(Sr=P(x(rr.value)),ur=Sr.next,(mr=i(ur,Sr)).done||(Lr=i(ur,Sr)).done||!i(ur,Sr).done)throw new Ie("Expected sequence with length 2");q(Je,{key:A(mr.value),value:A(Lr.value)})}else for(var un in Re)E(Re,un)&&q(Je,{key:un,value:A(Re[un])})},parseQuery:function(Re){if(Re)for(var Je=this.entries,ut=Te(Re,"&"),Ct=0,kt,rr;Ct<ut.length;)kt=ut[Ct++],kt.length&&(rr=Te(kt,"="),q(Je,{key:Ne(me(rr)),value:Ne(ne(rr,"="))}))},serialize:function(){for(var Re=this.entries,Je=[],ut=0,Ct;ut<Re.length;)Ct=Re[ut++],q(Je,Mt(Ct.key)+"="+Mt(Ct.value));return ne(Je,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){m(this,St);var Je=arguments.length>0?arguments[0]:void 0,ut=ue(this,new bt(Je));o||(this.size=ut.entries.length)},St=mt.prototype;if(d(St,{append:function(Je,ut){var Ct=L(this);F(arguments.length,2),q(Ct.entries,{key:A(Je),value:A(ut)}),o||this.length++,Ct.updateURL()},delete:function(Re){for(var Je=L(this),ut=F(arguments.length,1),Ct=Je.entries,kt=A(Re),rr=ut<2?void 0:arguments[1],Sr=rr===void 0?rr:A(rr),ur=0;ur<Ct.length;){var mr=Ct[ur];if(mr.key===kt&&(Sr===void 0||mr.value===Sr)){if(fe(Ct,ur,1),Sr!==void 0)break}else ur++}o||(this.size=Ct.length),Je.updateURL()},get:function(Je){var ut=L(this).entries;F(arguments.length,1);for(var Ct=A(Je),kt=0;kt<ut.length;kt++)if(ut[kt].key===Ct)return ut[kt].value;return null},getAll:function(Je){var ut=L(this).entries;F(arguments.length,1);for(var Ct=A(Je),kt=[],rr=0;rr<ut.length;rr++)ut[rr].key===Ct&&q(kt,ut[rr].value);return kt},has:function(Je){for(var ut=L(this).entries,Ct=F(arguments.length,1),kt=A(Je),rr=Ct<2?void 0:arguments[1],Sr=rr===void 0?rr:A(rr),ur=0;ur<ut.length;){var mr=ut[ur++];if(mr.key===kt&&(Sr===void 0||mr.value===Sr))return!0}return!1},set:function(Je,ut){var Ct=L(this);F(arguments.length,1);for(var kt=Ct.entries,rr=!1,Sr=A(Je),ur=A(ut),mr=0,Lr;mr<kt.length;mr++)Lr=kt[mr],Lr.key===Sr&&(rr?fe(kt,mr--,1):(rr=!0,Lr.value=ur));rr||q(kt,{key:Sr,value:ur}),o||(this.size=kt.length),Ct.updateURL()},sort:function(){var Je=L(this);K(Je.entries,function(ut,Ct){return ut.key>Ct.key?1:-1}),Je.updateURL()},forEach:function(Je){for(var ut=L(this).entries,Ct=w(Je,arguments.length>1?arguments[1]:void 0),kt=0,rr;kt<ut.length;)rr=ut[kt++],Ct(rr.value,rr.key,this)},keys:function(){return new Qe(this,"keys")},values:function(){return new Qe(this,"values")},entries:function(){return new Qe(this,"entries")}},{enumerable:!0}),s(St,Q,St.entries,{name:"entries"}),s(St,"toString",function(){return L(this).serialize()},{enumerable:!0}),o&&c(St,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),h(mt,X),e({global:!0,constructor:!0,forced:!l},{URLSearchParams:mt}),!l&&_(ee)){var yt=a(be.has),at=a(be.set),Ft=function(Re){if(T(Re)){var Je=Re.body,ut;if(b(Je)===X)return ut=Re.headers?new ee(Re.headers):new ee,yt(ut,"content-type")||at(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Re,{body:y(0,A(Je)),headers:y(0,ut)})}return Re};if(_(N)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Je){return N(Je,arguments.length>1?Ft(arguments[1]):{})}}),_(re)){var At=function(Je){return m(this,ce),new re(Je,arguments.length>1?Ft(arguments[1]):{})};ce.constructor=At,At.prototype=ce,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:At})}}return uC={URLSearchParams:mt,getState:L},uC}var TB;function wpe(){if(TB)return EB;TB=1,_ee();var e=Ve(),t=Dr(),r=By(),n=er(),i=ns(),a=Kt(),o=Gn(),l=Gi(),s=as(),c=yn(),d=iee(),h=kJ(),p=Ps(),g=jy().codeAt,m=Epe(),_=rn(),E=Do(),w=ks(),b=Nee(),x=Mi(),T=x.set,A=x.getterFor("URL"),O=b.URLSearchParams,y=b.getState,P=n.URL,D=n.TypeError,V=n.parseInt,F=Math.floor,B=Math.pow,K=a("".charAt),Q=a(/./.exec),X=a([].join),te=a(1.1.toString),ue=a([].pop),L=a([].push),I=a("".replace),N=a([].shift),re=a("".split),ee=a("".slice),ce=a("".toLowerCase),be=a([].unshift),Ie="Invalid authority",je="Invalid scheme",z="Invalid host",k="Invalid port",U=/[a-z]/i,H=/[\d+-.a-z]/i,ne=/\d/,q=/^0x/i,J=/^[0-7]+$/,me=/^\d+$/,fe=/^[\da-f]+$/i,Te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Se=/[\0\t\n\r #/:<>?@[\\\]^|]/,Oe=/^[\u0000-\u0020]+/,Me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,de=/[\t\n\r]/g,Ee,_e=function(it){var jt=re(it,"."),vt,Ye,xt,gr,we,ct,nt;if(jt.length&&jt[jt.length-1]===""&&jt.length--,vt=jt.length,vt>4)return it;for(Ye=[],xt=0;xt<vt;xt++){if(gr=jt[xt],gr==="")return it;if(we=10,gr.length>1&&K(gr,0)==="0"&&(we=Q(q,gr)?16:8,gr=ee(gr,we===8?1:2)),gr==="")ct=0;else{if(!Q(we===10?me:we===8?J:fe,gr))return it;ct=V(gr,we)}L(Ye,ct)}for(xt=0;xt<vt;xt++)if(ct=Ye[xt],xt===vt-1){if(ct>=B(256,5-vt))return null}else if(ct>255)return null;for(nt=ue(Ye),xt=0;xt<Ye.length;xt++)nt+=Ye[xt]*B(256,3-xt);return nt},Ae=function(it){var jt=[0,0,0,0,0,0,0,0],vt=0,Ye=null,xt=0,gr,we,ct,nt,ft,Lt,dt,Gt=function(){return K(it,xt)};if(Gt()===":"){if(K(it,1)!==":")return;xt+=2,vt++,Ye=vt}for(;Gt();){if(vt===8)return;if(Gt()===":"){if(Ye!==null)return;xt++,vt++,Ye=vt;continue}for(gr=we=0;we<4&&Q(fe,Gt());)gr=gr*16+V(Gt(),16),xt++,we++;if(Gt()==="."){if(we===0||(xt-=we,vt>6))return;for(ct=0;Gt();){if(nt=null,ct>0)if(Gt()==="."&&ct<4)xt++;else return;if(!Q(ne,Gt()))return;for(;Q(ne,Gt());){if(ft=V(Gt(),10),nt===null)nt=ft;else{if(nt===0)return;nt=nt*10+ft}if(nt>255)return;xt++}jt[vt]=jt[vt]*256+nt,ct++,(ct===2||ct===4)&&vt++}if(ct!==4)return;break}else if(Gt()===":"){if(xt++,!Gt())return}else if(Gt())return;jt[vt++]=gr}if(Ye!==null)for(Lt=vt-Ye,vt=7;vt!==0&&Lt>0;)dt=jt[vt],jt[vt--]=jt[Ye+Lt-1],jt[Ye+--Lt]=dt;else if(vt!==8)return;return jt},De=function(it){for(var jt=null,vt=1,Ye=null,xt=0,gr=0;gr<8;gr++)it[gr]!==0?(xt>vt&&(jt=Ye,vt=xt),Ye=null,xt=0):(Ye===null&&(Ye=gr),++xt);return xt>vt?Ye:jt},Ne=function(it){var jt,vt,Ye,xt;if(typeof it=="number"){for(jt=[],vt=0;vt<4;vt++)be(jt,it%256),it=F(it/256);return X(jt,".")}if(typeof it=="object"){for(jt="",Ye=De(it),vt=0;vt<8;vt++)xt&&it[vt]===0||(xt&&(xt=!1),Ye===vt?(jt+=vt?":":"::",xt=!0):(jt+=te(it[vt],16),vt<7&&(jt+=":")));return"["+jt+"]"}return it},Be={},_t=d({},Be,{" ":1,'"':1,"<":1,">":1,"`":1}),Ut=d({},_t,{"#":1,"?":1,"{":1,"}":1}),Mt=d({},Ut,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qe=function(it,jt){var vt=g(it,0);return vt>32&&vt<127&&!c(jt,it)?it:encodeURIComponent(it)},bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(it,jt){var vt;return it.length===2&&Q(U,K(it,0))&&((vt=K(it,1))===":"||!jt&&vt==="|")},St=function(it){var jt;return it.length>1&&mt(ee(it,0,2))&&(it.length===2||(jt=K(it,2))==="/"||jt==="\\"||jt==="?"||jt==="#")},yt=function(it){return it==="."||ce(it)==="%2e"},at=function(it){return it=ce(it),it===".."||it==="%2e."||it===".%2e"||it==="%2e%2e"},Ft={},At={},Re={},Je={},ut={},Ct={},kt={},rr={},Sr={},ur={},mr={},Lr={},un={},ui={},Pn={},wn={},_n={},Kn={},Yn={},Ei={},di={},$i=function(it,jt,vt){var Ye=_(it),xt,gr,we;if(jt){if(gr=this.parse(Ye),gr)throw new D(gr);this.searchParams=null}else{if(vt!==void 0&&(xt=new $i(vt,!0)),gr=this.parse(Ye,null,xt),gr)throw new D(gr);we=y(new O),we.bindURL(this),this.searchParams=we}};$i.prototype={type:"URL",parse:function(it,jt,vt){var Ye=this,xt=jt||Ft,gr=0,we="",ct=!1,nt=!1,ft=!1,Lt,dt,Gt,Nr;for(it=_(it),jt||(Ye.scheme="",Ye.username="",Ye.password="",Ye.host=null,Ye.port=null,Ye.path=[],Ye.query=null,Ye.fragment=null,Ye.cannotBeABaseURL=!1,it=I(it,Oe,""),it=I(it,Me,"$1")),it=I(it,de,""),Lt=h(it);gr<=Lt.length;){switch(dt=Lt[gr],xt){case Ft:if(dt&&Q(U,dt))we+=ce(dt),xt=At;else{if(jt)return je;xt=Re;continue}break;case At:if(dt&&(Q(H,dt)||dt==="+"||dt==="-"||dt==="."))we+=ce(dt);else if(dt===":"){if(jt&&(Ye.isSpecial()!==c(bt,we)||we==="file"&&(Ye.includesCredentials()||Ye.port!==null)||Ye.scheme==="file"&&!Ye.host))return;if(Ye.scheme=we,jt){Ye.isSpecial()&&bt[Ye.scheme]===Ye.port&&(Ye.port=null);return}we="",Ye.scheme==="file"?xt=ui:Ye.isSpecial()&&vt&&vt.scheme===Ye.scheme?xt=Je:Ye.isSpecial()?xt=rr:Lt[gr+1]==="/"?(xt=ut,gr++):(Ye.cannotBeABaseURL=!0,L(Ye.path,""),xt=Yn)}else{if(jt)return je;we="",xt=Re,gr=0;continue}break;case Re:if(!vt||vt.cannotBeABaseURL&&dt!=="#")return je;if(vt.cannotBeABaseURL&&dt==="#"){Ye.scheme=vt.scheme,Ye.path=p(vt.path),Ye.query=vt.query,Ye.fragment="",Ye.cannotBeABaseURL=!0,xt=di;break}xt=vt.scheme==="file"?ui:Ct;continue;case Je:if(dt==="/"&&Lt[gr+1]==="/")xt=Sr,gr++;else{xt=Ct;continue}break;case ut:if(dt==="/"){xt=ur;break}else{xt=Kn;continue}case Ct:if(Ye.scheme=vt.scheme,dt===Ee)Ye.username=vt.username,Ye.password=vt.password,Ye.host=vt.host,Ye.port=vt.port,Ye.path=p(vt.path),Ye.query=vt.query;else if(dt==="/"||dt==="\\"&&Ye.isSpecial())xt=kt;else if(dt==="?")Ye.username=vt.username,Ye.password=vt.password,Ye.host=vt.host,Ye.port=vt.port,Ye.path=p(vt.path),Ye.query="",xt=Ei;else if(dt==="#")Ye.username=vt.username,Ye.password=vt.password,Ye.host=vt.host,Ye.port=vt.port,Ye.path=p(vt.path),Ye.query=vt.query,Ye.fragment="",xt=di;else{Ye.username=vt.username,Ye.password=vt.password,Ye.host=vt.host,Ye.port=vt.port,Ye.path=p(vt.path),Ye.path.length--,xt=Kn;continue}break;case kt:if(Ye.isSpecial()&&(dt==="/"||dt==="\\"))xt=Sr;else if(dt==="/")xt=ur;else{Ye.username=vt.username,Ye.password=vt.password,Ye.host=vt.host,Ye.port=vt.port,xt=Kn;continue}break;case rr:if(xt=Sr,dt!=="/"||K(we,gr+1)!=="/")continue;gr++;break;case Sr:if(dt!=="/"&&dt!=="\\"){xt=ur;continue}break;case ur:if(dt==="@"){ct&&(we="%40"+we),ct=!0,Gt=h(we);for(var Jr=0;Jr<Gt.length;Jr++){var en=Gt[Jr];if(en===":"&&!ft){ft=!0;continue}var fn=Qe(en,Mt);ft?Ye.password+=fn:Ye.username+=fn}we=""}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ye.isSpecial()){if(ct&&we==="")return Ie;gr-=h(we).length+1,we="",xt=mr}else we+=dt;break;case mr:case Lr:if(jt&&Ye.scheme==="file"){xt=wn;continue}else if(dt===":"&&!nt){if(we==="")return z;if(Nr=Ye.parseHost(we),Nr)return Nr;if(we="",xt=un,jt===Lr)return}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ye.isSpecial()){if(Ye.isSpecial()&&we==="")return z;if(jt&&we===""&&(Ye.includesCredentials()||Ye.port!==null))return;if(Nr=Ye.parseHost(we),Nr)return Nr;if(we="",xt=_n,jt)return;continue}else dt==="["?nt=!0:dt==="]"&&(nt=!1),we+=dt;break;case un:if(Q(ne,dt))we+=dt;else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ye.isSpecial()||jt){if(we!==""){var $t=V(we,10);if($t>65535)return k;Ye.port=Ye.isSpecial()&&$t===bt[Ye.scheme]?null:$t,we=""}if(jt)return;xt=_n;continue}else return k;break;case ui:if(Ye.scheme="file",dt==="/"||dt==="\\")xt=Pn;else if(vt&&vt.scheme==="file")switch(dt){case Ee:Ye.host=vt.host,Ye.path=p(vt.path),Ye.query=vt.query;break;case"?":Ye.host=vt.host,Ye.path=p(vt.path),Ye.query="",xt=Ei;break;case"#":Ye.host=vt.host,Ye.path=p(vt.path),Ye.query=vt.query,Ye.fragment="",xt=di;break;default:St(X(p(Lt,gr),""))||(Ye.host=vt.host,Ye.path=p(vt.path),Ye.shortenPath()),xt=Kn;continue}else{xt=Kn;continue}break;case Pn:if(dt==="/"||dt==="\\"){xt=wn;break}vt&&vt.scheme==="file"&&!St(X(p(Lt,gr),""))&&(mt(vt.path[0],!0)?L(Ye.path,vt.path[0]):Ye.host=vt.host),xt=Kn;continue;case wn:if(dt===Ee||dt==="/"||dt==="\\"||dt==="?"||dt==="#"){if(!jt&&mt(we))xt=Kn;else if(we===""){if(Ye.host="",jt)return;xt=_n}else{if(Nr=Ye.parseHost(we),Nr)return Nr;if(Ye.host==="localhost"&&(Ye.host=""),jt)return;we="",xt=_n}continue}else we+=dt;break;case _n:if(Ye.isSpecial()){if(xt=Kn,dt!=="/"&&dt!=="\\")continue}else if(!jt&&dt==="?")Ye.query="",xt=Ei;else if(!jt&&dt==="#")Ye.fragment="",xt=di;else if(dt!==Ee&&(xt=Kn,dt!=="/"))continue;break;case Kn:if(dt===Ee||dt==="/"||dt==="\\"&&Ye.isSpecial()||!jt&&(dt==="?"||dt==="#")){if(at(we)?(Ye.shortenPath(),dt!=="/"&&!(dt==="\\"&&Ye.isSpecial())&&L(Ye.path,"")):yt(we)?dt!=="/"&&!(dt==="\\"&&Ye.isSpecial())&&L(Ye.path,""):(Ye.scheme==="file"&&!Ye.path.length&&mt(we)&&(Ye.host&&(Ye.host=""),we=K(we,0)+":"),L(Ye.path,we)),we="",Ye.scheme==="file"&&(dt===Ee||dt==="?"||dt==="#"))for(;Ye.path.length>1&&Ye.path[0]==="";)N(Ye.path);dt==="?"?(Ye.query="",xt=Ei):dt==="#"&&(Ye.fragment="",xt=di)}else we+=Qe(dt,Ut);break;case Yn:dt==="?"?(Ye.query="",xt=Ei):dt==="#"?(Ye.fragment="",xt=di):dt!==Ee&&(Ye.path[0]+=Qe(dt,Be));break;case Ei:!jt&&dt==="#"?(Ye.fragment="",xt=di):dt!==Ee&&(dt==="'"&&Ye.isSpecial()?Ye.query+="%27":dt==="#"?Ye.query+="%23":Ye.query+=Qe(dt,Be));break;case di:dt!==Ee&&(Ye.fragment+=Qe(dt,_t));break}gr++}},parseHost:function(it){var jt,vt,Ye;if(K(it,0)==="["){if(K(it,it.length-1)!=="]"||(jt=Ae(ee(it,1,-1)),!jt))return z;this.host=jt}else if(this.isSpecial()){if(it=m(it),Q(Te,it)||(jt=_e(it),jt===null))return z;this.host=jt}else{if(Q(Se,it))return z;for(jt="",vt=h(it),Ye=0;Ye<vt.length;Ye++)jt+=Qe(vt[Ye],Be);this.host=jt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return c(bt,this.scheme)},shortenPath:function(){var it=this.path,jt=it.length;jt&&(this.scheme!=="file"||jt!==1||!mt(it[0],!0))&&it.length--},serialize:function(){var it=this,jt=it.scheme,vt=it.username,Ye=it.password,xt=it.host,gr=it.port,we=it.path,ct=it.query,nt=it.fragment,ft=jt+":";return xt!==null?(ft+="//",it.includesCredentials()&&(ft+=vt+(Ye?":"+Ye:"")+"@"),ft+=Ne(xt),gr!==null&&(ft+=":"+gr)):jt==="file"&&(ft+="//"),ft+=it.cannotBeABaseURL?we[0]:we.length?"/"+X(we,"/"):"",ct!==null&&(ft+="?"+ct),nt!==null&&(ft+="#"+nt),ft},setHref:function(it){var jt=this.parse(it);if(jt)throw new D(jt);this.searchParams.update()},getOrigin:function(){var it=this.scheme,jt=this.port;if(it==="blob")try{return new Vi(it.path[0]).origin}catch{return"null"}return it==="file"||!this.isSpecial()?"null":it+"://"+Ne(this.host)+(jt!==null?":"+jt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(it){this.parse(_(it)+":",Ft)},getUsername:function(){return this.username},setUsername:function(it){var jt=h(_(it));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<jt.length;vt++)this.username+=Qe(jt[vt],Mt)}},getPassword:function(){return this.password},setPassword:function(it){var jt=h(_(it));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<jt.length;vt++)this.password+=Qe(jt[vt],Mt)}},getHost:function(){var it=this.host,jt=this.port;return it===null?"":jt===null?Ne(it):Ne(it)+":"+jt},setHost:function(it){this.cannotBeABaseURL||this.parse(it,mr)},getHostname:function(){var it=this.host;return it===null?"":Ne(it)},setHostname:function(it){this.cannotBeABaseURL||this.parse(it,Lr)},getPort:function(){var it=this.port;return it===null?"":_(it)},setPort:function(it){this.cannotHaveUsernamePasswordPort()||(it=_(it),it===""?this.port=null:this.parse(it,un))},getPathname:function(){var it=this.path;return this.cannotBeABaseURL?it[0]:it.length?"/"+X(it,"/"):""},setPathname:function(it){this.cannotBeABaseURL||(this.path=[],this.parse(it,_n))},getSearch:function(){var it=this.query;return it?"?"+it:""},setSearch:function(it){it=_(it),it===""?this.query=null:(K(it,0)==="?"&&(it=ee(it,1)),this.query="",this.parse(it,Ei)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var it=this.fragment;return it?"#"+it:""},setHash:function(it){if(it=_(it),it===""){this.fragment=null;return}K(it,0)==="#"&&(it=ee(it,1)),this.fragment="",this.parse(it,di)},update:function(){this.query=this.searchParams.serialize()||null}};var Vi=function(jt){var vt=s(this,kn),Ye=w(arguments.length,1)>1?arguments[1]:void 0,xt=T(vt,new $i(jt,!1,Ye));t||(vt.href=xt.serialize(),vt.origin=xt.getOrigin(),vt.protocol=xt.getProtocol(),vt.username=xt.getUsername(),vt.password=xt.getPassword(),vt.host=xt.getHost(),vt.hostname=xt.getHostname(),vt.port=xt.getPort(),vt.pathname=xt.getPathname(),vt.search=xt.getSearch(),vt.searchParams=xt.getSearchParams(),vt.hash=xt.getHash())},kn=Vi.prototype,ri=function(it,jt){return{get:function(){return A(this)[it]()},set:jt&&function(vt){return A(this)[jt](vt)},configurable:!0,enumerable:!0}};if(t&&(l(kn,"href",ri("serialize","setHref")),l(kn,"origin",ri("getOrigin")),l(kn,"protocol",ri("getProtocol","setProtocol")),l(kn,"username",ri("getUsername","setUsername")),l(kn,"password",ri("getPassword","setPassword")),l(kn,"host",ri("getHost","setHost")),l(kn,"hostname",ri("getHostname","setHostname")),l(kn,"port",ri("getPort","setPort")),l(kn,"pathname",ri("getPathname","setPathname")),l(kn,"search",ri("getSearch","setSearch")),l(kn,"searchParams",ri("getSearchParams")),l(kn,"hash",ri("getHash","setHash"))),o(kn,"toJSON",function(){return A(this).serialize()},{enumerable:!0}),o(kn,"toString",function(){return A(this).serialize()},{enumerable:!0}),P){var xi=P.createObjectURL,wi=P.revokeObjectURL;xi&&o(Vi,"createObjectURL",i(xi,P)),wi&&o(Vi,"revokeObjectURL",i(wi,P))}return E(Vi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:Vi}),EB}var AB;function bpe(){return AB||(AB=1,wpe()),SB}var RB={},xB;function Cpe(){if(xB)return RB;xB=1;var e=Ve(),t=gn(),r=Bt(),n=ks(),i=rn(),a=By(),o=t("URL"),l=a&&r(function(){o.canParse()}),s=r(function(){return o.canParse.length!==1});return e({target:"URL",stat:!0,forced:!l||s},{canParse:function(d){var h=n(arguments.length,1),p=i(d),g=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(p,g)}catch{return!1}}}),RB}var OB={},IB;function Tpe(){if(IB)return OB;IB=1;var e=Ve(),t=gn(),r=ks(),n=rn(),i=By(),a=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(l){var s=r(arguments.length,1),c=n(l),d=s<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new a(c,d)}catch{return null}}}),OB}var PB={},kB;function Ape(){if(kB)return PB;kB=1;var e=Ve(),t=wr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),PB}var DB={},LB;function Rpe(){return LB||(LB=1,Nee()),DB}var NB={},MB;function xpe(){if(MB)return NB;MB=1;var e=Gn(),t=Kt(),r=rn(),n=ks(),i=URLSearchParams,a=i.prototype,o=t(a.append),l=t(a.delete),s=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 p=arguments.length,g=p<2?void 0:arguments[1];if(p&&g===void 0)return l(this,h);var m=[];s(this,function(O,y){c(m,{key:y,value:O})}),n(p,1);for(var _=r(h),E=r(g),w=0,b=0,x=!1,T=m.length,A;w<T;)A=m[w++],x||A.key===_?(x=!0,l(this,A.key)):b++;for(;b<T;)A=m[b++],A.key===_&&A.value===E||o(this,A.key,A.value)},{enumerable:!0,unsafe:!0}),NB}var $B={},FB;function Ope(){if(FB)return $B;FB=1;var e=Gn(),t=Kt(),r=rn(),n=ks(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),l=t(a.has),s=new i("a=1");return(s.has("a",2)||!s.has("a",void 0))&&e(a,"has",function(d){var h=arguments.length,p=h<2?void 0:arguments[1];if(h&&p===void 0)return l(this,d);var g=o(this,d);n(h,1);for(var m=r(p),_=0;_<g.length;)if(g[_++]===m)return!0;return!1},{enumerable:!0,unsafe:!0}),$B}var jB={},UB;function Ipe(){if(UB)return jB;UB=1;var e=Dr(),t=Kt(),r=Gi(),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}),jB}var lC,qB;function Ppe(){return qB||(qB=1,uue(),lue(),cue(),fue(),due(),hue(),pue(),vue(),gue(),mue(),yue(),_ue(),Sue(),Eue(),wue(),bue(),Cue(),Tue(),Aue(),Rue(),Oue(),Iue(),Pue(),kue(),Due(),Lue(),Nue(),Mue(),$ue(),Fue(),jue(),Uue(),que(),Vue(),Hue(),Bue(),zue(),Wue(),Gue(),Kue(),Sy(),Yue(),Xue(),Que(),Zue(),Jue(),ele(),tle(),rle(),nle(),ile(),ale(),ole(),sle(),ule(),lle(),cle(),fle(),dle(),hle(),ple(),gle(),mle(),yle(),Sle(),Ele(),ble(),Cle(),Tle(),Ale(),Rle(),xle(),Ole(),Ile(),kle(),Dle(),Nle(),Mle(),$le(),Fle(),jle(),Ule(),qle(),Vle(),Hle(),Ble(),Wle(),Gle(),Kle(),Yle(),Xle(),Qle(),Zle(),Jle(),ece(),tce(),rce(),nce(),EJ(),ice(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),pce(),vce(),gce(),mce(),yce(),_ce(),Sce(),Ece(),wce(),bce(),Cce(),Tce(),Ace(),Rce(),xce(),Oce(),Pce(),kce(),Dce(),Lce(),Nce(),Mce(),$ce(),Fce(),jce(),Uce(),qce(),Vce(),Hce(),Bce(),zce(),Wce(),Gce(),Kce(),Yce(),Xce(),Qce(),Zce(),Jce(),efe(),tfe(),rfe(),nfe(),ife(),afe(),ofe(),sfe(),ufe(),lfe(),cfe(),ffe(),dfe(),hfe(),vfe(),gfe(),mfe(),yfe(),xfe(),Ofe(),Ife(),Pfe(),kfe(),Dfe(),Ffe(),jfe(),Ufe(),qfe(),Vfe(),Hfe(),Bfe(),zfe(),Wfe(),Gfe(),Kfe(),Yfe(),Xfe(),Qfe(),Zfe(),Jfe(),ede(),tde(),rde(),nde(),nP(),ide(),ade(),ode(),sde(),lde(),fde(),hde(),vde(),mde(),_de(),Ede(),bde(),Cde(),Tde(),Ade(),yee(),Rde(),xde(),_ee(),Ode(),Ide(),Pde(),kde(),Dde(),Lde(),Nde(),Mde(),$de(),Fde(),jde(),Ude(),qde(),Vde(),Bde(),Wde(),Gde(),Kde(),Yde(),Xde(),Qde(),Zde(),Jde(),ehe(),the(),rhe(),nhe(),ihe(),ahe(),she(),uhe(),lhe(),che(),fhe(),dhe(),hhe(),phe(),vhe(),ghe(),mhe(),yhe(),_he(),Ehe(),whe(),bhe(),Che(),The(),Ahe(),Rhe(),xhe(),Ohe(),Ihe(),Phe(),khe(),Dhe(),Lhe(),Nhe(),Mhe(),$he(),Fhe(),jhe(),Uhe(),qhe(),Vhe(),Hhe(),Bhe(),zhe(),Whe(),Ghe(),Khe(),Yhe(),Xhe(),Qhe(),Zhe(),Jhe(),epe(),rpe(),ipe(),ape(),ope(),spe(),upe(),lpe(),cpe(),fpe(),ppe(),vpe(),gpe(),mpe(),Spe(),bpe(),Cpe(),Tpe(),Ape(),Rpe(),xpe(),Ope(),Ipe(),lC=vy()),lC}Ppe();var io="top",Xo="bottom",Qo="right",ao="left",zy="auto",ih=[io,Xo,Qo,ao],Kc="start",Od="end",Mee="clippingParents",fP="viewport",hd="popper",$ee="reference",wO=ih.reduce(function(e,t){return e.concat([t+"-"+Kc,t+"-"+Od])},[]),dP=[].concat(ih,[zy]).reduce(function(e,t){return e.concat([t,t+"-"+Kc,t+"-"+Od])},[]),Fee="beforeRead",jee="read",Uee="afterRead",qee="beforeMain",Vee="main",Hee="afterMain",Bee="beforeWrite",zee="write",Wee="afterWrite",Gee=[Fee,jee,Uee,qee,Vee,Hee,Bee,zee,Wee];function gu(e){return e?(e.nodeName||"").toLowerCase():null}function Zo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Yc(e){var t=Zo(e).Element;return e instanceof t||e instanceof Element}function Rs(e){var t=Zo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hP(e){if(typeof ShadowRoot>"u")return!1;var t=Zo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kpe(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];!Rs(a)||!gu(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var l=i[o];l===!1?a.removeAttribute(o):a.setAttribute(o,l===!0?"":l)}))})}function Dpe(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]),l=o.reduce(function(s,c){return s[c]="",s},{});!Rs(i)||!gu(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(s){i.removeAttribute(s)}))})}}const pP={name:"applyStyles",enabled:!0,phase:"write",fn:kpe,effect:Dpe,requires:["computeStyles"]};function du(e){return e.split("-")[0]}var Hc=Math.max,Rm=Math.min,Id=Math.round;function bO(){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 Kee(){return!/^((?!chrome|android).)*safari/i.test(bO())}function Pd(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&Rs(e)&&(i=e.offsetWidth>0&&Id(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Id(n.height)/e.offsetHeight||1);var o=Yc(e)?Zo(e):window,l=o.visualViewport,s=!Kee()&&r,c=(n.left+(s&&l?l.offsetLeft:0))/i,d=(n.top+(s&&l?l.offsetTop:0))/a,h=n.width/i,p=n.height/a;return{width:h,height:p,top:d,right:c+h,bottom:d+p,left:c,x:c,y:d}}function vP(e){var t=Pd(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 Yee(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&hP(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function el(e){return Zo(e).getComputedStyle(e)}function Lpe(e){return["table","td","th"].indexOf(gu(e))>=0}function Xl(e){return((Yc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wy(e){return gu(e)==="html"?e:e.assignedSlot||e.parentNode||(hP(e)?e.host:null)||Xl(e)}function VB(e){return!Rs(e)||el(e).position==="fixed"?null:e.offsetParent}function Npe(e){var t=/firefox/i.test(bO()),r=/Trident/i.test(bO());if(r&&Rs(e)){var n=el(e);if(n.position==="fixed")return null}var i=Wy(e);for(hP(i)&&(i=i.host);Rs(i)&&["html","body"].indexOf(gu(i))<0;){var a=el(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 ev(e){for(var t=Zo(e),r=VB(e);r&&Lpe(r)&&el(r).position==="static";)r=VB(r);return r&&(gu(r)==="html"||gu(r)==="body"&&el(r).position==="static")?t:r||Npe(e)||t}function gP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fp(e,t,r){return Hc(e,Rm(t,r))}function Mpe(e,t,r){var n=fp(e,t,r);return n>r?r:n}function Xee(){return{top:0,right:0,bottom:0,left:0}}function Qee(e){return Object.assign({},Xee(),e)}function Zee(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var $pe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Qee(typeof t!="number"?t:Zee(t,ih))};function Fpe(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,l=du(r.placement),s=gP(l),c=[ao,Qo].indexOf(l)>=0,d=c?"height":"width";if(!(!a||!o)){var h=$pe(i.padding,r),p=vP(a),g=s==="y"?io:ao,m=s==="y"?Xo:Qo,_=r.rects.reference[d]+r.rects.reference[s]-o[s]-r.rects.popper[d],E=o[s]-r.rects.reference[s],w=ev(a),b=w?s==="y"?w.clientHeight||0:w.clientWidth||0:0,x=_/2-E/2,T=h[g],A=b-p[d]-h[m],O=b/2-p[d]/2+x,y=fp(T,O,A),P=s;r.modifiersData[n]=(t={},t[P]=y,t.centerOffset=y-O,t)}}function jpe(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)||Yee(t.elements.popper,i)&&(t.elements.arrow=i))}const mP={name:"arrow",enabled:!0,phase:"main",fn:Fpe,effect:jpe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kd(e){return e.split("-")[1]}var Upe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qpe(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Id(r*i)/i||0,y:Id(n*i)/i||0}}function HB(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=o.x,g=p===void 0?0:p,m=o.y,_=m===void 0?0:m,E=typeof d=="function"?d({x:g,y:_}):{x:g,y:_};g=E.x,_=E.y;var w=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),x=ao,T=io,A=window;if(c){var O=ev(r),y="clientHeight",P="clientWidth";if(O===Zo(r)&&(O=Xl(r),el(O).position!=="static"&&l==="absolute"&&(y="scrollHeight",P="scrollWidth")),O=O,i===io||(i===ao||i===Qo)&&a===Od){T=Xo;var D=h&&O===A&&A.visualViewport?A.visualViewport.height:O[y];_-=D-n.height,_*=s?1:-1}if(i===ao||(i===io||i===Xo)&&a===Od){x=Qo;var V=h&&O===A&&A.visualViewport?A.visualViewport.width:O[P];g-=V-n.width,g*=s?1:-1}}var F=Object.assign({position:l},c&&Upe),B=d===!0?qpe({x:g,y:_},Zo(r)):{x:g,y:_};if(g=B.x,_=B.y,s){var K;return Object.assign({},F,(K={},K[T]=b?"0":"",K[x]=w?"0":"",K.transform=(A.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",K))}return Object.assign({},F,(t={},t[T]=b?_+"px":"",t[x]=w?g+"px":"",t.transform="",t))}function Vpe(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,l=r.roundOffsets,s=l===void 0?!0:l,c={placement:du(t.placement),variation:kd(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,HB(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,HB(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Gy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vpe,data:{}};var Sg={passive:!0};function Hpe(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,l=o===void 0?!0:o,s=Zo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",r.update,Sg)}),l&&s.addEventListener("resize",r.update,Sg),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Sg)}),l&&s.removeEventListener("resize",r.update,Sg)}}const Ky={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hpe,data:{}};var Bpe={left:"right",right:"left",bottom:"top",top:"bottom"};function nm(e){return e.replace(/left|right|bottom|top/g,function(t){return Bpe[t]})}var zpe={start:"end",end:"start"};function BB(e){return e.replace(/start|end/g,function(t){return zpe[t]})}function yP(e){var t=Zo(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function _P(e){return Pd(Xl(e)).left+yP(e).scrollLeft}function Wpe(e,t){var r=Zo(e),n=Xl(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,l=0,s=0;if(i){a=i.width,o=i.height;var c=Kee();(c||!c&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:a,height:o,x:l+_P(e),y:s}}function Gpe(e){var t,r=Xl(e),n=yP(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Hc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Hc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+_P(e),s=-n.scrollTop;return el(i||r).direction==="rtl"&&(l+=Hc(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:l,y:s}}function SP(e){var t=el(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Jee(e){return["html","body","#document"].indexOf(gu(e))>=0?e.ownerDocument.body:Rs(e)&&SP(e)?e:Jee(Wy(e))}function dp(e,t){var r;t===void 0&&(t=[]);var n=Jee(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Zo(n),o=i?[a].concat(a.visualViewport||[],SP(n)?n:[]):n,l=t.concat(o);return i?l:l.concat(dp(Wy(o)))}function CO(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Kpe(e,t){var r=Pd(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 zB(e,t,r){return t===fP?CO(Wpe(e,r)):Yc(t)?Kpe(t,r):CO(Gpe(Xl(e)))}function Ype(e){var t=dp(Wy(e)),r=["absolute","fixed"].indexOf(el(e).position)>=0,n=r&&Rs(e)?ev(e):e;return Yc(n)?t.filter(function(i){return Yc(i)&&Yee(i,n)&&gu(i)!=="body"}):[]}function Xpe(e,t,r,n){var i=t==="clippingParents"?Ype(e):[].concat(t),a=[].concat(i,[r]),o=a[0],l=a.reduce(function(s,c){var d=zB(e,c,n);return s.top=Hc(d.top,s.top),s.right=Rm(d.right,s.right),s.bottom=Rm(d.bottom,s.bottom),s.left=Hc(d.left,s.left),s},zB(e,o,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ete(e){var t=e.reference,r=e.element,n=e.placement,i=n?du(n):null,a=n?kd(n):null,o=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case io:s={x:o,y:t.y-r.height};break;case Xo:s={x:o,y:t.y+t.height};break;case Qo:s={x:t.x+t.width,y:l};break;case ao:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var c=i?gP(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case Kc:s[c]=s[c]-(t[d]/2-r[d]/2);break;case Od:s[c]=s[c]+(t[d]/2-r[d]/2);break}}return s}function Dd(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,l=r.boundary,s=l===void 0?Mee:l,c=r.rootBoundary,d=c===void 0?fP:c,h=r.elementContext,p=h===void 0?hd:h,g=r.altBoundary,m=g===void 0?!1:g,_=r.padding,E=_===void 0?0:_,w=Qee(typeof E!="number"?E:Zee(E,ih)),b=p===hd?$ee:hd,x=e.rects.popper,T=e.elements[m?b:p],A=Xpe(Yc(T)?T:T.contextElement||Xl(e.elements.popper),s,d,o),O=Pd(e.elements.reference),y=ete({reference:O,element:x,placement:i}),P=CO(Object.assign({},x,y)),D=p===hd?P:O,V={top:A.top-D.top+w.top,bottom:D.bottom-A.bottom+w.bottom,left:A.left-D.left+w.left,right:D.right-A.right+w.right},F=e.modifiersData.offset;if(p===hd&&F){var B=F[i];Object.keys(V).forEach(function(K){var Q=[Qo,Xo].indexOf(K)>=0?1:-1,X=[io,Xo].indexOf(K)>=0?"y":"x";V[K]+=B[X]*Q})}return V}function Qpe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,c=s===void 0?dP:s,d=kd(n),h=d?l?wO:wO.filter(function(m){return kd(m)===d}):ih,p=h.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=h);var g=p.reduce(function(m,_){return m[_]=Dd(e,{placement:_,boundary:i,rootBoundary:a,padding:o})[du(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function Zpe(e){if(du(e)===zy)return[];var t=nm(e);return[BB(e),t,BB(t)]}function Jpe(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,l=o===void 0?!0:o,s=r.fallbackPlacements,c=r.padding,d=r.boundary,h=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,_=r.allowedAutoPlacements,E=t.options.placement,w=du(E),b=w===E,x=s||(b||!m?[nm(E)]:Zpe(E)),T=[E].concat(x).reduce(function(be,Ie){return be.concat(du(Ie)===zy?Qpe(t,{placement:Ie,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:_}):Ie)},[]),A=t.rects.reference,O=t.rects.popper,y=new Map,P=!0,D=T[0],V=0;V<T.length;V++){var F=T[V],B=du(F),K=kd(F)===Kc,Q=[io,Xo].indexOf(B)>=0,X=Q?"width":"height",te=Dd(t,{placement:F,boundary:d,rootBoundary:h,altBoundary:p,padding:c}),ue=Q?K?Qo:ao:K?Xo:io;A[X]>O[X]&&(ue=nm(ue));var L=nm(ue),I=[];if(a&&I.push(te[B]<=0),l&&I.push(te[ue]<=0,te[L]<=0),I.every(function(be){return be})){D=F,P=!1;break}y.set(F,I)}if(P)for(var N=m?3:1,re=function(Ie){var je=T.find(function(z){var k=y.get(z);if(k)return k.slice(0,Ie).every(function(U){return U})});if(je)return D=je,"break"},ee=N;ee>0;ee--){var ce=re(ee);if(ce==="break")break}t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}const EP={name:"flip",enabled:!0,phase:"main",fn:Jpe,requiresIfExists:["offset"],data:{_skip:!1}};function WB(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 GB(e){return[io,Qo,Xo,ao].some(function(t){return e[t]>=0})}function eve(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Dd(t,{elementContext:"reference"}),l=Dd(t,{altBoundary:!0}),s=WB(o,n),c=WB(l,i,a),d=GB(s),h=GB(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const wP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eve};function tve(e,t,r){var n=du(e),i=[ao,io].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],l=a[1];return o=o||0,l=(l||0)*i,[ao,Qo].indexOf(n)>=0?{x:l,y:o}:{x:o,y:l}}function rve(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=dP.reduce(function(d,h){return d[h]=tve(h,t.rects,a),d},{}),l=o[t.placement],s=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const bP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rve};function nve(e){var t=e.state,r=e.name;t.modifiersData[r]=ete({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Yy={name:"popperOffsets",enabled:!0,phase:"read",fn:nve,data:{}};function ive(e){return e==="x"?"y":"x"}function ave(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,l=o===void 0?!1:o,s=r.boundary,c=r.rootBoundary,d=r.altBoundary,h=r.padding,p=r.tether,g=p===void 0?!0:p,m=r.tetherOffset,_=m===void 0?0:m,E=Dd(t,{boundary:s,rootBoundary:c,padding:h,altBoundary:d}),w=du(t.placement),b=kd(t.placement),x=!b,T=gP(w),A=ive(T),O=t.modifiersData.popperOffsets,y=t.rects.reference,P=t.rects.popper,D=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,V=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(O){if(a){var K,Q=T==="y"?io:ao,X=T==="y"?Xo:Qo,te=T==="y"?"height":"width",ue=O[T],L=ue+E[Q],I=ue-E[X],N=g?-P[te]/2:0,re=b===Kc?y[te]:P[te],ee=b===Kc?-P[te]:-y[te],ce=t.elements.arrow,be=g&&ce?vP(ce):{width:0,height:0},Ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Xee(),je=Ie[Q],z=Ie[X],k=fp(0,y[te],be[te]),U=x?y[te]/2-N-k-je-V.mainAxis:re-k-je-V.mainAxis,H=x?-y[te]/2+N+k+z+V.mainAxis:ee+k+z+V.mainAxis,ne=t.elements.arrow&&ev(t.elements.arrow),q=ne?T==="y"?ne.clientTop||0:ne.clientLeft||0:0,J=(K=F==null?void 0:F[T])!=null?K:0,me=ue+U-J-q,fe=ue+H-J,Te=fp(g?Rm(L,me):L,ue,g?Hc(I,fe):I);O[T]=Te,B[T]=Te-ue}if(l){var Se,Oe=T==="x"?io:ao,Me=T==="x"?Xo:Qo,de=O[A],Ee=A==="y"?"height":"width",_e=de+E[Oe],Ae=de-E[Me],De=[io,ao].indexOf(w)!==-1,Ne=(Se=F==null?void 0:F[A])!=null?Se:0,Be=De?_e:de-y[Ee]-P[Ee]-Ne+V.altAxis,_t=De?de+y[Ee]+P[Ee]-Ne-V.altAxis:Ae,Ut=g&&De?Mpe(Be,de,_t):fp(g?Be:_e,de,g?_t:Ae);O[A]=Ut,B[A]=Ut-de}t.modifiersData[n]=B}}const CP={name:"preventOverflow",enabled:!0,phase:"main",fn:ave,requiresIfExists:["offset"]};function ove(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sve(e){return e===Zo(e)||!Rs(e)?yP(e):ove(e)}function uve(e){var t=e.getBoundingClientRect(),r=Id(t.width)/e.offsetWidth||1,n=Id(t.height)/e.offsetHeight||1;return r!==1||n!==1}function lve(e,t,r){r===void 0&&(r=!1);var n=Rs(t),i=Rs(t)&&uve(t),a=Xl(t),o=Pd(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((gu(t)!=="body"||SP(a))&&(l=sve(t)),Rs(t)?(s=Pd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=_P(a))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function cve(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(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function fve(e){var t=cve(e);return Gee.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function dve(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function hve(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 KB={placement:"bottom",modifiers:[],strategy:"absolute"};function YB(){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 tv(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?KB:i;return function(l,s,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},KB,a),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},h=[],p=!1,g={state:d,setOptions:function(w){var b=typeof w=="function"?w(d.options):w;_(),d.options=Object.assign({},a,d.options,b),d.scrollParents={reference:Yc(l)?dp(l):l.contextElement?dp(l.contextElement):[],popper:dp(s)};var x=fve(hve([].concat(n,d.options.modifiers)));return d.orderedModifiers=x.filter(function(T){return T.enabled}),m(),g.update()},forceUpdate:function(){if(!p){var w=d.elements,b=w.reference,x=w.popper;if(YB(b,x)){d.rects={reference:lve(b,ev(x),d.options.strategy==="fixed"),popper:vP(x)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(V){return d.modifiersData[V.name]=Object.assign({},V.data)});for(var T=0;T<d.orderedModifiers.length;T++){if(d.reset===!0){d.reset=!1,T=-1;continue}var A=d.orderedModifiers[T],O=A.fn,y=A.options,P=y===void 0?{}:y,D=A.name;typeof O=="function"&&(d=O({state:d,options:P,name:D,instance:g})||d)}}}},update:dve(function(){return new Promise(function(E){g.forceUpdate(),E(d)})}),destroy:function(){_(),p=!0}};if(!YB(l,s))return g;g.setOptions(c).then(function(E){!p&&c.onFirstUpdate&&c.onFirstUpdate(E)});function m(){d.orderedModifiers.forEach(function(E){var w=E.name,b=E.options,x=b===void 0?{}:b,T=E.effect;if(typeof T=="function"){var A=T({state:d,name:w,instance:g,options:x}),O=function(){};h.push(A||O)}})}function _(){h.forEach(function(E){return E()}),h=[]}return g}}var pve=tv(),vve=[Ky,Yy,Gy,pP],gve=tv({defaultModifiers:vve}),mve=[Ky,Yy,Gy,pP,bP,EP,CP,mP,wP],TP=tv({defaultModifiers:mve});const tte=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Hee,afterRead:Uee,afterWrite:Wee,applyStyles:pP,arrow:mP,auto:zy,basePlacements:ih,beforeMain:qee,beforeRead:Fee,beforeWrite:Bee,bottom:Xo,clippingParents:Mee,computeStyles:Gy,createPopper:TP,createPopperBase:pve,createPopperLite:gve,detectOverflow:Dd,end:Od,eventListeners:Ky,flip:EP,hide:wP,left:ao,main:Vee,modifierPhases:Gee,offset:bP,placements:dP,popper:hd,popperGenerator:tv,popperOffsets:Yy,preventOverflow:CP,read:jee,reference:$ee,right:Qo,start:Kc,top:io,variationPlacements:wO,viewport:fP,write:zee},Symbol.toStringTag,{value:"Module"}));/*!
7
+ * Bootstrap v5.3.2 (https://getbootstrap.com/)
8
+ * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
9
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
+ */const Rl=new Map,cC={set(e,t,r){Rl.has(e)||Rl.set(e,new Map);const n=Rl.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 Rl.has(e)&&Rl.get(e).get(t)||null},remove(e,t){if(!Rl.has(e))return;const r=Rl.get(e);r.delete(t),r.size===0&&Rl.delete(e)}},yve=1e6,_ve=1e3,TO="transitionend",rte=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),Sve=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Eve=e=>{do e+=Math.floor(Math.random()*yve);while(document.getElementById(e));return e},wve=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))*_ve)},nte=e=>{e.dispatchEvent(new Event(TO))},Xu=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Vl=e=>Xu(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(rte(e)):null,ah=e=>{if(!Xu(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},Hl=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",ite=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?ite(e.parentNode):null},xm=()=>{},rv=e=>{e.offsetHeight},ate=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,fC=[],bve=e=>{document.readyState==="loading"?(fC.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of fC)t()}),fC.push(e)):e()},xs=()=>document.documentElement.dir==="rtl",Ds=e=>{bve(()=>{const t=ate();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)}})},Ao=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,ote=(e,t,r=!0)=>{if(!r){Ao(e);return}const i=wve(t)+5;let a=!1;const o=({target:l})=>{l===t&&(a=!0,t.removeEventListener(TO,o),Ao(e))};t.addEventListener(TO,o),setTimeout(()=>{a||nte(t)},i)},AP=(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))])},Cve=/[^.]*(?=\..*)\.|.*/,Tve=/\..*/,Ave=/::\d+$/,dC={};let XB=1;const ste={mouseenter:"mouseover",mouseleave:"mouseout"},Rve=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 ute(e,t){return t&&`${t}::${XB++}`||e.uidEvent||XB++}function lte(e){const t=ute(e);return e.uidEvent=t,dC[t]=dC[t]||{},dC[t]}function xve(e,t){return function r(n){return RP(n,{delegateTarget:e}),r.oneOff&&Ht.off(e,n.type,t),t.apply(e,[n])}}function Ove(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 l of a)if(l===o)return RP(i,{delegateTarget:o}),n.oneOff&&Ht.off(e,i.type,t,r),r.apply(o,[i])}}function cte(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function fte(e,t,r){const n=typeof t=="string",i=n?r:t||r;let a=dte(e);return Rve.has(a)||(a=e),[n,i,a]}function QB(e,t,r,n,i){if(typeof t!="string"||!e)return;let[a,o,l]=fte(t,r,n);t in ste&&(o=(m=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return m.call(this,_)})(o));const s=lte(e),c=s[l]||(s[l]={}),d=cte(c,o,a?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=ute(o,t.replace(Cve,"")),p=a?Ove(e,r,o):xve(e,o);p.delegationSelector=a?r:null,p.callable=o,p.oneOff=i,p.uidEvent=h,c[h]=p,e.addEventListener(l,p,a)}function AO(e,t,r,n,i){const a=cte(t[r],n,i);a&&(e.removeEventListener(r,a,!!i),delete t[r][a.uidEvent])}function Ive(e,t,r,n){const i=t[r]||{};for(const[a,o]of Object.entries(i))a.includes(n)&&AO(e,t,r,o.callable,o.delegationSelector)}function dte(e){return e=e.replace(Tve,""),ste[e]||e}const Ht={on(e,t,r,n){QB(e,t,r,n,!1)},one(e,t,r,n){QB(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,a,o]=fte(t,r,n),l=o!==t,s=lte(e),c=s[o]||{},d=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(c).length)return;AO(e,s,o,a,i?r:null);return}if(d)for(const h of Object.keys(s))Ive(e,s,h,t.slice(1));for(const[h,p]of Object.entries(c)){const g=h.replace(Ave,"");(!l||t.includes(g))&&AO(e,s,o,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=ate(),i=dte(t),a=t!==i;let o=null,l=!0,s=!0,c=!1;a&&n&&(o=n.Event(t,r),n(e).trigger(o),l=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const d=RP(new Event(t,{bubbles:l,cancelable:!0}),r);return c&&d.preventDefault(),s&&e.dispatchEvent(d),d.defaultPrevented&&o&&o.preventDefault(),d}};function RP(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 ZB(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 hC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Qu={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${hC(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${hC(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]=ZB(e.dataset[n])}return t},getDataAttribute(e,t){return ZB(e.getAttribute(`data-bs-${hC(t)}`))}};class nv{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=Xu(r)?Qu.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...Xu(r)?Qu.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=Xu(a)?"element":Sve(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const Pve="5.3.2";class Qs extends nv{constructor(t,r){super(),t=Vl(t),t&&(this._element=t,this._config=this._getConfig(r),cC.set(this._element,this.constructor.DATA_KEY,this))}dispose(){cC.remove(this._element,this.constructor.DATA_KEY),Ht.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){ote(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return cC.get(Vl(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return Pve}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 pC=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!=="#"?rte(r.trim()):null}return t},kr={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=>!Hl(r)&&ah(r))},getSelectorFromElement(e){const t=pC(e);return t&&kr.findOne(t)?t:null},getElementFromSelector(e){const t=pC(e);return t?kr.findOne(t):null},getMultipleElementsFromSelector(e){const t=pC(e);return t?kr.find(t):[]}},Xy=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ht.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Hl(this))return;const a=kr.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},kve="alert",Dve="bs.alert",hte=`.${Dve}`,Lve=`close${hte}`,Nve=`closed${hte}`,Mve="fade",$ve="show";let pte=class vte extends Qs{static get NAME(){return kve}close(){if(Ht.trigger(this._element,Lve).defaultPrevented)return;this._element.classList.remove($ve);const r=this._element.classList.contains(Mve);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ht.trigger(this._element,Nve),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=vte.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)}})}};Xy(pte,"close");Ds(pte);const Fve="button",jve="bs.button",Uve=`.${jve}`,qve=".data-api",Vve="active",JB='[data-bs-toggle="button"]',Hve=`click${Uve}${qve}`;let gte=class mte extends Qs{static get NAME(){return Fve}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Vve))}static jQueryInterface(t){return this.each(function(){const r=mte.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Ht.on(document,Hve,JB,e=>{e.preventDefault();const t=e.target.closest(JB);gte.getOrCreateInstance(t).toggle()});Ds(gte);const Bve="swipe",oh=".bs.swipe",zve=`touchstart${oh}`,Wve=`touchmove${oh}`,Gve=`touchend${oh}`,Kve=`pointerdown${oh}`,Yve=`pointerup${oh}`,Xve="touch",Qve="pen",Zve="pointer-event",Jve=40,ege={endCallback:null,leftCallback:null,rightCallback:null},tge={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Om extends nv{constructor(t,r){super(),this._element=t,!(!t||!Om.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ege}static get DefaultType(){return tge}static get NAME(){return Bve}dispose(){Ht.off(this._element,oh)}_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(),Ao(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<=Jve)return;const r=t/this._deltaX;this._deltaX=0,r&&Ao(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ht.on(this._element,Kve,t=>this._start(t)),Ht.on(this._element,Yve,t=>this._end(t)),this._element.classList.add(Zve)):(Ht.on(this._element,zve,t=>this._start(t)),Ht.on(this._element,Wve,t=>this._move(t)),Ht.on(this._element,Gve,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Qve||t.pointerType===Xve)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const rge="carousel",nge="bs.carousel",Ql=`.${nge}`,yte=".data-api",ige="ArrowLeft",age="ArrowRight",oge=500,Hh="next",ed="prev",pd="left",im="right",sge=`slide${Ql}`,vC=`slid${Ql}`,uge=`keydown${Ql}`,lge=`mouseenter${Ql}`,cge=`mouseleave${Ql}`,fge=`dragstart${Ql}`,dge=`load${Ql}${yte}`,hge=`click${Ql}${yte}`,_te="carousel",Eg="active",pge="slide",vge="carousel-item-end",gge="carousel-item-start",mge="carousel-item-next",yge="carousel-item-prev",Ste=".active",Ete=".carousel-item",_ge=Ste+Ete,Sge=".carousel-item img",Ege=".carousel-indicators",wge="[data-bs-slide], [data-bs-slide-to]",bge='[data-bs-ride="carousel"]',Cge={[ige]:im,[age]:pd},Tge={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Age={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class iv extends Qs{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=kr.findOne(Ege,this._element),this._addEventListeners(),this._config.ride===_te&&this.cycle()}static get Default(){return Tge}static get DefaultType(){return Age}static get NAME(){return rge}next(){this._slide(Hh)}nextWhenVisible(){!document.hidden&&ah(this._element)&&this.next()}prev(){this._slide(ed)}pause(){this._isSliding&&nte(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){Ht.one(this._element,vC,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Ht.one(this._element,vC,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Hh:ed;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&&Ht.on(this._element,uge,t=>this._keydown(t)),this._config.pause==="hover"&&(Ht.on(this._element,lge,()=>this.pause()),Ht.on(this._element,cge,()=>this._maybeEnableCycle())),this._config.touch&&Om.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of kr.find(Sge,this._element))Ht.on(n,fge,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(pd)),rightCallback:()=>this._slide(this._directionToOrder(im)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),oge+this._config.interval))}};this._swipeHelper=new Om(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Cge[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=kr.findOne(Ste,this._indicatorsElement);r.classList.remove(Eg),r.removeAttribute("aria-current");const n=kr.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Eg),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===Hh,a=r||AP(this._getItems(),n,i,this._config.wrap);if(a===n)return;const o=this._getItemIndex(a),l=g=>Ht.trigger(this._element,g,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(l(sge).defaultPrevented||!n||!a)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;const d=i?gge:vge,h=i?mge:yge;a.classList.add(h),rv(a),n.classList.add(d),a.classList.add(d);const p=()=>{a.classList.remove(d,h),a.classList.add(Eg),n.classList.remove(Eg,h,d),this._isSliding=!1,l(vC)};this._queueCallback(p,n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(pge)}_getActive(){return kr.findOne(_ge,this._element)}_getItems(){return kr.find(Ete,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return xs()?t===pd?ed:Hh:t===pd?Hh:ed}_orderToDirection(t){return xs()?t===ed?pd:im:t===ed?im:pd}static jQueryInterface(t){return this.each(function(){const r=iv.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]()}})}}Ht.on(document,hge,wge,function(e){const t=kr.getElementFromSelector(this);if(!t||!t.classList.contains(_te))return;e.preventDefault();const r=iv.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(Qu.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ht.on(window,dge,()=>{const e=kr.find(bge);for(const t of e)iv.getOrCreateInstance(t)});Ds(iv);const Rge="collapse",xge="bs.collapse",av=`.${xge}`,Oge=".data-api",Ige=`show${av}`,Pge=`shown${av}`,kge=`hide${av}`,Dge=`hidden${av}`,Lge=`click${av}${Oge}`,gC="show",Sd="collapse",wg="collapsing",Nge="collapsed",Mge=`:scope .${Sd} .${Sd}`,$ge="collapse-horizontal",Fge="width",jge="height",Uge=".collapse.show, .collapse.collapsing",RO='[data-bs-toggle="collapse"]',qge={parent:null,toggle:!0},Vge={parent:"(null|element)",toggle:"boolean"};class Cp extends Qs{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=kr.find(RO);for(const i of n){const a=kr.getSelectorFromElement(i),o=kr.find(a).filter(l=>l===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 qge}static get DefaultType(){return Vge}static get NAME(){return Rge}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Uge).filter(l=>l!==this._element).map(l=>Cp.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ht.trigger(this._element,Ige).defaultPrevented)return;for(const l of t)l.hide();const n=this._getDimension();this._element.classList.remove(Sd),this._element.classList.add(wg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(wg),this._element.classList.add(Sd,gC),this._element.style[n]="",Ht.trigger(this._element,Pge)},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()||Ht.trigger(this._element,kge).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,rv(this._element),this._element.classList.add(wg),this._element.classList.remove(Sd,gC);for(const i of this._triggerArray){const a=kr.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(wg),this._element.classList.add(Sd),Ht.trigger(this._element,Dge)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(gC)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Vl(t.parent),t}_getDimension(){return this._element.classList.contains($ge)?Fge:jge}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(RO);for(const r of t){const n=kr.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=kr.find(Mge,this._config.parent);return kr.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(Nge,!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=Cp.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ht.on(document,Lge,RO,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of kr.getMultipleElementsFromSelector(this))Cp.getOrCreateInstance(t,{toggle:!1}).toggle()});Ds(Cp);const ez="dropdown",Hge="bs.dropdown",mf=`.${Hge}`,xP=".data-api",Bge="Escape",tz="Tab",zge="ArrowUp",rz="ArrowDown",Wge=2,Gge=`hide${mf}`,Kge=`hidden${mf}`,Yge=`show${mf}`,Xge=`shown${mf}`,wte=`click${mf}${xP}`,bte=`keydown${mf}${xP}`,Qge=`keyup${mf}${xP}`,vd="show",Zge="dropup",Jge="dropend",eme="dropstart",tme="dropup-center",rme="dropdown-center",Mc='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',nme=`${Mc}.${vd}`,am=".dropdown-menu",ime=".navbar",ame=".navbar-nav",ome=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",sme=xs()?"top-end":"top-start",ume=xs()?"top-start":"top-end",lme=xs()?"bottom-end":"bottom-start",cme=xs()?"bottom-start":"bottom-end",fme=xs()?"left-start":"right-start",dme=xs()?"right-start":"left-start",hme="top",pme="bottom",vme={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},gme={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let sh=class om extends Qs{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=kr.next(this._element,am)[0]||kr.prev(this._element,am)[0]||kr.findOne(am,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return vme}static get DefaultType(){return gme}static get NAME(){return ez}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Hl(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ht.trigger(this._element,Yge,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(ame))for(const n of[].concat(...document.body.children))Ht.on(n,"mouseover",xm);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(vd),this._element.classList.add(vd),Ht.trigger(this._element,Xge,t)}}hide(){if(Hl(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(!Ht.trigger(this._element,Gge,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ht.off(n,"mouseover",xm);this._popper&&this._popper.destroy(),this._menu.classList.remove(vd),this._element.classList.remove(vd),this._element.setAttribute("aria-expanded","false"),Qu.removeDataAttribute(this._menu,"popper"),Ht.trigger(this._element,Kge,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Xu(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ez.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof tte>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Xu(this._config.reference)?t=Vl(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=TP(t,this._menu,r)}_isShown(){return this._menu.classList.contains(vd)}_getPlacement(){const t=this._parent;if(t.classList.contains(Jge))return fme;if(t.classList.contains(eme))return dme;if(t.classList.contains(tme))return hme;if(t.classList.contains(rme))return pme;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Zge)?r?ume:sme:r?cme:lme}_detectNavbar(){return this._element.closest(ime)!==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")&&(Qu.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ao(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=kr.find(ome,this._menu).filter(i=>ah(i));n.length&&AP(n,r,t===rz,!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===Wge||t.type==="keyup"&&t.key!==tz)return;const r=kr.find(nme);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===tz||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:i._element};t.type==="click"&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===Bge,i=[zge,rz].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const a=this.matches(Mc)?this:kr.prev(this,Mc)[0]||kr.next(this,Mc)[0]||kr.findOne(Mc,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())}};Ht.on(document,bte,Mc,sh.dataApiKeydownHandler);Ht.on(document,bte,am,sh.dataApiKeydownHandler);Ht.on(document,wte,sh.clearMenus);Ht.on(document,Qge,sh.clearMenus);Ht.on(document,wte,Mc,function(e){e.preventDefault(),sh.getOrCreateInstance(this).toggle()});Ds(sh);const Cte="backdrop",mme="fade",nz="show",iz=`mousedown.bs.${Cte}`,yme={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},_me={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Tte extends nv{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return yme}static get DefaultType(){return _me}static get NAME(){return Cte}show(t){if(!this._config.isVisible){Ao(t);return}this._append();const r=this._getElement();this._config.isAnimated&&rv(r),r.classList.add(nz),this._emulateAnimation(()=>{Ao(t)})}hide(t){if(!this._config.isVisible){Ao(t);return}this._getElement().classList.remove(nz),this._emulateAnimation(()=>{this.dispose(),Ao(t)})}dispose(){this._isAppended&&(Ht.off(this._element,iz),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(mme),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Vl(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ht.on(t,iz,()=>{Ao(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ote(t,this._getElement(),this._config.isAnimated)}}const Sme="focustrap",Eme="bs.focustrap",Im=`.${Eme}`,wme=`focusin${Im}`,bme=`keydown.tab${Im}`,Cme="Tab",Tme="forward",az="backward",Ame={autofocus:!0,trapElement:null},Rme={autofocus:"boolean",trapElement:"element"};class Ate extends nv{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ame}static get DefaultType(){return Rme}static get NAME(){return Sme}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ht.off(document,Im),Ht.on(document,wme,t=>this._handleFocusin(t)),Ht.on(document,bme,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ht.off(document,Im))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=kr.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===az?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===Cme&&(this._lastTabNavDirection=t.shiftKey?az:Tme)}}const oz=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sz=".sticky-top",bg="padding-right",uz="margin-right";class xO{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,bg,r=>r+t),this._setElementAttributes(oz,bg,r=>r+t),this._setElementAttributes(sz,uz,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bg),this._resetElementAttributes(oz,bg),this._resetElementAttributes(sz,uz)}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 l=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&Qu.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const a=Qu.getDataAttribute(i,r);if(a===null){i.style.removeProperty(r);return}Qu.removeDataAttribute(i,r),i.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(Xu(t)){r(t);return}for(const n of kr.find(t,this._element))r(n)}}const xme="modal",Ome="bs.modal",Os=`.${Ome}`,Ime=".data-api",Pme="Escape",kme=`hide${Os}`,Dme=`hidePrevented${Os}`,Rte=`hidden${Os}`,xte=`show${Os}`,Lme=`shown${Os}`,Nme=`resize${Os}`,Mme=`click.dismiss${Os}`,$me=`mousedown.dismiss${Os}`,Fme=`keydown.dismiss${Os}`,jme=`click${Os}${Ime}`,lz="modal-open",Ume="fade",cz="show",mC="modal-static",qme=".modal.show",Vme=".modal-dialog",Hme=".modal-body",Bme='[data-bs-toggle="modal"]',zme={backdrop:!0,focus:!0,keyboard:!0},Wme={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let Pm=class Ote extends Qs{constructor(t,r){super(t,r),this._dialog=kr.findOne(Vme,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xO,this._addEventListeners()}static get Default(){return zme}static get DefaultType(){return Wme}static get NAME(){return xme}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ht.trigger(this._element,xte,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(lz),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ht.trigger(this._element,kme).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(cz),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ht.off(window,Os),Ht.off(this._dialog,Os),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Tte({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ate({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=kr.findOne(Hme,this._dialog);r&&(r.scrollTop=0),rv(this._element),this._element.classList.add(cz);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ht.trigger(this._element,Lme,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ht.on(this._element,Fme,t=>{if(t.key===Pme){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ht.on(window,Nme,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ht.on(this._element,$me,t=>{Ht.one(this._element,Mme,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(lz),this._resetAdjustments(),this._scrollBar.reset(),Ht.trigger(this._element,Rte)})}_isAnimated(){return this._element.classList.contains(Ume)}_triggerBackdropTransition(){if(Ht.trigger(this._element,Dme).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(mC)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(mC),this._queueCallback(()=>{this._element.classList.remove(mC),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=xs()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=xs()?"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=Ote.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};Ht.on(document,jme,Bme,function(e){const t=kr.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ht.one(t,xte,i=>{i.defaultPrevented||Ht.one(t,Rte,()=>{ah(this)&&this.focus()})});const r=kr.findOne(qme);r&&Pm.getInstance(r).hide(),Pm.getOrCreateInstance(t).toggle(this)});Xy(Pm);Ds(Pm);const Gme="offcanvas",Kme="bs.offcanvas",ll=`.${Kme}`,Ite=".data-api",Yme=`load${ll}${Ite}`,Xme="Escape",fz="show",dz="showing",hz="hiding",Qme="offcanvas-backdrop",Pte=".offcanvas.show",Zme=`show${ll}`,Jme=`shown${ll}`,eye=`hide${ll}`,pz=`hidePrevented${ll}`,kte=`hidden${ll}`,tye=`resize${ll}`,rye=`click${ll}${Ite}`,nye=`keydown.dismiss${ll}`,iye='[data-bs-toggle="offcanvas"]',aye={backdrop:!0,keyboard:!0,scroll:!1},oye={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Bl extends Qs{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return aye}static get DefaultType(){return oye}static get NAME(){return Gme}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ht.trigger(this._element,Zme,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new xO().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(dz);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(fz),this._element.classList.remove(dz),Ht.trigger(this._element,Jme,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ht.trigger(this._element,eye).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(hz),this._backdrop.hide();const r=()=>{this._element.classList.remove(fz,hz),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new xO().reset(),Ht.trigger(this._element,kte)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ht.trigger(this._element,pz);return}this.hide()},r=!!this._config.backdrop;return new Tte({className:Qme,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new Ate({trapElement:this._element})}_addEventListeners(){Ht.on(this._element,nye,t=>{if(t.key===Xme){if(this._config.keyboard){this.hide();return}Ht.trigger(this._element,pz)}})}static jQueryInterface(t){return this.each(function(){const r=Bl.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)}})}}Ht.on(document,rye,iye,function(e){const t=kr.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Hl(this))return;Ht.one(t,kte,()=>{ah(this)&&this.focus()});const r=kr.findOne(Pte);r&&r!==t&&Bl.getInstance(r).hide(),Bl.getOrCreateInstance(t).toggle(this)});Ht.on(window,Yme,()=>{for(const e of kr.find(Pte))Bl.getOrCreateInstance(e).show()});Ht.on(window,tye,()=>{for(const e of kr.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Bl.getOrCreateInstance(e).hide()});Xy(Bl);Ds(Bl);const sye=/^aria-[\w-]*$/i,Dte={"*":["class","dir","id","lang","role",sye],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:[]},uye=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),lye=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,cye=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?uye.has(r)?!!lye.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function fye(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 l=o.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){o.remove();continue}const s=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[l]||[]);for(const d of s)cye(d,c)||o.removeAttribute(d.nodeName)}return i.body.innerHTML}const dye="TemplateFactory",hye={allowList:Dte,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},pye={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},vye={entry:"(string|element|function|null)",selector:"(string|element)"};class gye extends nv{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return hye}static get DefaultType(){return pye}static get NAME(){return dye}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},vye)}_setContent(t,r,n){const i=kr.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(Xu(r)){this._putElementInTemplate(Vl(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?fye(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ao(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const mye="tooltip",yye=new Set(["sanitize","allowList","sanitizeFn"]),yC="fade",_ye="modal",Cg="show",Sye=".tooltip-inner",vz=`.${_ye}`,gz="hide.bs.modal",Bh="hover",_C="focus",Eye="click",wye="manual",bye="hide",Cye="hidden",Tye="show",Aye="shown",Rye="inserted",xye="click",Oye="focusin",Iye="focusout",Pye="mouseenter",kye="mouseleave",Dye={AUTO:"auto",TOP:"top",RIGHT:xs()?"left":"right",BOTTOM:"bottom",LEFT:xs()?"right":"left"},Lye={allowList:Dte,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"},Nye={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 Qy=class Lte extends Qs{constructor(t,r){if(typeof tte>"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 Lye}static get DefaultType(){return Nye}static get NAME(){return mye}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),Ht.off(this._element.closest(vz),gz,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=Ht.trigger(this._element,this.constructor.eventName(Tye)),n=(ite(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),Ht.trigger(this._element,this.constructor.eventName(Rye))),this._popper=this._createPopper(i),i.classList.add(Cg),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))Ht.on(l,"mouseover",xm);const o=()=>{Ht.trigger(this._element,this.constructor.eventName(Aye)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ht.trigger(this._element,this.constructor.eventName(bye)).defaultPrevented)return;if(this._getTipElement().classList.remove(Cg),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Ht.off(i,"mouseover",xm);this._activeTrigger[Eye]=!1,this._activeTrigger[_C]=!1,this._activeTrigger[Bh]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ht.trigger(this._element,this.constructor.eventName(Cye)))};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(yC,Cg),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Eve(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(yC),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new gye({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Sye]: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(yC)}_isShown(){return this.tip&&this.tip.classList.contains(Cg)}_createPopper(t){const r=Ao(this._config.placement,[this,t,this._element]),n=Dye[r.toUpperCase()];return TP(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 Ao(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,...Ao(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Ht.on(this._element,this.constructor.eventName(xye),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==wye){const n=r===Bh?this.constructor.eventName(Pye):this.constructor.eventName(Oye),i=r===Bh?this.constructor.eventName(kye):this.constructor.eventName(Iye);Ht.on(this._element,n,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?_C:Bh]=!0,o._enter()}),Ht.on(this._element,i,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?_C:Bh]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ht.on(this._element.closest(vz),gz,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=Qu.getDataAttributes(this._element);for(const n of Object.keys(r))yye.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:Vl(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=Lte.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Ds(Qy);const Mye="popover",$ye=".popover-header",Fye=".popover-body",jye={...Qy.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"},Uye={...Qy.DefaultType,content:"(null|string|element|function)"};let qye=class Nte extends Qy{static get Default(){return jye}static get DefaultType(){return Uye}static get NAME(){return Mye}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[$ye]:this._getTitle(),[Fye]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Nte.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Ds(qye);const Vye="scrollspy",Hye="bs.scrollspy",OP=`.${Hye}`,Bye=".data-api",zye=`activate${OP}`,mz=`click${OP}`,Wye=`load${OP}${Bye}`,Gye="dropdown-item",td="active",Kye='[data-bs-spy="scroll"]',SC="[href]",Yye=".nav, .list-group",yz=".nav-link",Xye=".nav-item",Qye=".list-group-item",Zye=`${yz}, ${Xye} > ${yz}, ${Qye}`,Jye=".dropdown",e1e=".dropdown-toggle",t1e={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},r1e={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zy extends Qs{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 t1e}static get DefaultType(){return r1e}static get NAME(){return Vye}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=Vl(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&&(Ht.off(this._config.target,mz),Ht.on(this._config.target,mz,SC,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 l=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&l){if(n(o),!i)return;continue}!a&&!l&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=kr.find(SC,this._config.target);for(const r of t){if(!r.hash||Hl(r))continue;const n=kr.findOne(decodeURI(r.hash),this._element);ah(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(td),this._activateParents(t),Ht.trigger(this._element,zye,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Gye)){kr.findOne(e1e,t.closest(Jye)).classList.add(td);return}for(const r of kr.parents(t,Yye))for(const n of kr.prev(r,Zye))n.classList.add(td)}_clearActiveClass(t){t.classList.remove(td);const r=kr.find(`${SC}.${td}`,t);for(const n of r)n.classList.remove(td)}static jQueryInterface(t){return this.each(function(){const r=Zy.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]()}})}}Ht.on(window,Wye,()=>{for(const e of kr.find(Kye))Zy.getOrCreateInstance(e)});Ds(Zy);const n1e="tab",i1e="bs.tab",yf=`.${i1e}`,a1e=`hide${yf}`,o1e=`hidden${yf}`,s1e=`show${yf}`,u1e=`shown${yf}`,l1e=`click${yf}`,c1e=`keydown${yf}`,f1e=`load${yf}`,d1e="ArrowLeft",_z="ArrowRight",h1e="ArrowUp",Sz="ArrowDown",EC="Home",Ez="End",$c="active",wz="fade",wC="show",p1e="dropdown",Mte=".dropdown-toggle",v1e=".dropdown-menu",bC=`:not(${Mte})`,g1e='.list-group, .nav, [role="tablist"]',m1e=".nav-item, .list-group-item",y1e=`.nav-link${bC}, .list-group-item${bC}, [role="tab"]${bC}`,$te='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',CC=`${y1e}, ${$te}`,_1e=`.${$c}[data-bs-toggle="tab"], .${$c}[data-bs-toggle="pill"], .${$c}[data-bs-toggle="list"]`;class Ld extends Qs{constructor(t){super(t),this._parent=this._element.closest(g1e),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ht.on(this._element,c1e,r=>this._keydown(r)))}static get NAME(){return n1e}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ht.trigger(r,a1e,{relatedTarget:t}):null;Ht.trigger(t,s1e,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add($c),this._activate(kr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(wC);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ht.trigger(t,u1e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(wz))}_deactivate(t,r){if(!t)return;t.classList.remove($c),t.blur(),this._deactivate(kr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(wC);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ht.trigger(t,o1e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(wz))}_keydown(t){if(![d1e,_z,h1e,Sz,EC,Ez].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!Hl(i));let n;if([EC,Ez].includes(t.key))n=r[t.key===EC?0:r.length-1];else{const i=[_z,Sz].includes(t.key);n=AP(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Ld.getOrCreateInstance(n).show())}_getChildren(){return kr.find(CC,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=kr.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(p1e))return;const i=(a,o)=>{const l=kr.findOne(a,n);l&&l.classList.toggle(o,r)};i(Mte,$c),i(v1e,wC),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains($c)}_getInnerElement(t){return t.matches(CC)?t:kr.findOne(CC,t)}_getOuterElement(t){return t.closest(m1e)||t}static jQueryInterface(t){return this.each(function(){const r=Ld.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(document,l1e,$te,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Hl(this)&&Ld.getOrCreateInstance(this).show()});Ht.on(window,f1e,()=>{for(const e of kr.find(_1e))Ld.getOrCreateInstance(e)});Ds(Ld);const S1e="toast",E1e="bs.toast",Zl=`.${E1e}`,w1e=`mouseover${Zl}`,b1e=`mouseout${Zl}`,C1e=`focusin${Zl}`,T1e=`focusout${Zl}`,A1e=`hide${Zl}`,R1e=`hidden${Zl}`,x1e=`show${Zl}`,O1e=`shown${Zl}`,I1e="fade",bz="hide",Tg="show",Ag="showing",P1e={animation:"boolean",autohide:"boolean",delay:"number"},k1e={animation:!0,autohide:!0,delay:5e3};class Jy extends Qs{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return k1e}static get DefaultType(){return P1e}static get NAME(){return S1e}show(){if(Ht.trigger(this._element,x1e).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(I1e);const r=()=>{this._element.classList.remove(Ag),Ht.trigger(this._element,O1e),this._maybeScheduleHide()};this._element.classList.remove(bz),rv(this._element),this._element.classList.add(Tg,Ag),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ht.trigger(this._element,A1e).defaultPrevented)return;const r=()=>{this._element.classList.add(bz),this._element.classList.remove(Ag,Tg),Ht.trigger(this._element,R1e)};this._element.classList.add(Ag),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Tg),super.dispose()}isShown(){return this._element.classList.contains(Tg)}_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(){Ht.on(this._element,w1e,t=>this._onInteraction(t,!0)),Ht.on(this._element,b1e,t=>this._onInteraction(t,!1)),Ht.on(this._element,C1e,t=>this._onInteraction(t,!0)),Ht.on(this._element,T1e,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=Jy.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Xy(Jy);Ds(Jy);var sm={exports:{}},um={exports:{}},D1e=um.exports,Cz;function Fte(){return Cz||(Cz=1,(function(e,t){(function(r,n){e.exports=n()})(D1e,(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,l=i.push,s=i.slice,c=a.toString,d=a.hasOwnProperty,h=typeof ArrayBuffer<"u",p=typeof DataView<"u",g=Array.isArray,m=Object.keys,_=Object.create,E=h&&ArrayBuffer.isView,w=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),T=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=Math.pow(2,53)-1;function O(ie,pe){return pe=pe==null?ie.length-1:+pe,function(){for(var Pe=Math.max(arguments.length-pe,0),Fe=Array(Pe),He=0;He<Pe;He++)Fe[He]=arguments[He+pe];switch(pe){case 0:return ie.call(this,Fe);case 1:return ie.call(this,arguments[0],Fe);case 2:return ie.call(this,arguments[0],arguments[1],Fe)}var Ke=Array(pe+1);for(He=0;He<pe;He++)Ke[He]=arguments[He];return Ke[pe]=Fe,ie.apply(this,Ke)}}function y(ie){var pe=typeof ie;return pe==="function"||pe==="object"&&!!ie}function P(ie){return ie===null}function D(ie){return ie===void 0}function V(ie){return ie===!0||ie===!1||c.call(ie)==="[object Boolean]"}function F(ie){return!!(ie&&ie.nodeType===1)}function B(ie){var pe="[object "+ie+"]";return function(Pe){return c.call(Pe)===pe}}var K=B("String"),Q=B("Number"),X=B("Date"),te=B("RegExp"),ue=B("Error"),L=B("Symbol"),I=B("ArrayBuffer"),N=B("Function"),re=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof re!="function"&&(N=function(ie){return typeof ie=="function"||!1});var ee=N,ce=B("Object"),be=p&&(!/\[native code\]/.test(String(DataView))||ce(new DataView(new ArrayBuffer(8)))),Ie=typeof Map<"u"&&ce(new Map),je=B("DataView");function z(ie){return ie!=null&&ee(ie.getInt8)&&I(ie.buffer)}var k=be?z:je,U=g||B("Array");function H(ie,pe){return ie!=null&&d.call(ie,pe)}var ne=B("Arguments");(function(){ne(arguments)||(ne=function(ie){return H(ie,"callee")})})();var q=ne;function J(ie){return!L(ie)&&b(ie)&&!isNaN(parseFloat(ie))}function me(ie){return Q(ie)&&w(ie)}function fe(ie){return function(){return ie}}function Te(ie){return function(pe){var Pe=ie(pe);return typeof Pe=="number"&&Pe>=0&&Pe<=A}}function Se(ie){return function(pe){return pe==null?void 0:pe[ie]}}var Oe=Se("byteLength"),Me=Te(Oe),de=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Ee(ie){return E?E(ie)&&!k(ie):Me(ie)&&de.test(c.call(ie))}var _e=h?Ee:fe(!1),Ae=Se("length");function De(ie){for(var pe={},Pe=ie.length,Fe=0;Fe<Pe;++Fe)pe[ie[Fe]]=!0;return{contains:function(He){return pe[He]===!0},push:function(He){return pe[He]=!0,ie.push(He)}}}function Ne(ie,pe){pe=De(pe);var Pe=T.length,Fe=ie.constructor,He=ee(Fe)&&Fe.prototype||a,Ke="constructor";for(H(ie,Ke)&&!pe.contains(Ke)&&pe.push(Ke);Pe--;)Ke=T[Pe],Ke in ie&&ie[Ke]!==He[Ke]&&!pe.contains(Ke)&&pe.push(Ke)}function Be(ie){if(!y(ie))return[];if(m)return m(ie);var pe=[];for(var Pe in ie)H(ie,Pe)&&pe.push(Pe);return x&&Ne(ie,pe),pe}function _t(ie){if(ie==null)return!0;var pe=Ae(ie);return typeof pe=="number"&&(U(ie)||K(ie)||q(ie))?pe===0:Ae(Be(ie))===0}function Ut(ie,pe){var Pe=Be(pe),Fe=Pe.length;if(ie==null)return!Fe;for(var He=Object(ie),Ke=0;Ke<Fe;Ke++){var Tt=Pe[Ke];if(pe[Tt]!==He[Tt]||!(Tt in He))return!1}return!0}function Mt(ie){if(ie instanceof Mt)return ie;if(!(this instanceof Mt))return new Mt(ie);this._wrapped=ie}Mt.VERSION=r,Mt.prototype.value=function(){return this._wrapped},Mt.prototype.valueOf=Mt.prototype.toJSON=Mt.prototype.value,Mt.prototype.toString=function(){return String(this._wrapped)};function Qe(ie){return new Uint8Array(ie.buffer||ie,ie.byteOffset||0,Oe(ie))}var bt="[object DataView]";function mt(ie,pe,Pe,Fe){if(ie===pe)return ie!==0||1/ie===1/pe;if(ie==null||pe==null)return!1;if(ie!==ie)return pe!==pe;var He=typeof ie;return He!=="function"&&He!=="object"&&typeof pe!="object"?!1:St(ie,pe,Pe,Fe)}function St(ie,pe,Pe,Fe){ie instanceof Mt&&(ie=ie._wrapped),pe instanceof Mt&&(pe=pe._wrapped);var He=c.call(ie);if(He!==c.call(pe))return!1;if(be&&He=="[object Object]"&&k(ie)){if(!k(pe))return!1;He=bt}switch(He){case"[object RegExp]":case"[object String]":return""+ie==""+pe;case"[object Number]":return+ie!=+ie?+pe!=+pe:+ie==0?1/+ie===1/pe:+ie==+pe;case"[object Date]":case"[object Boolean]":return+ie==+pe;case"[object Symbol]":return o.valueOf.call(ie)===o.valueOf.call(pe);case"[object ArrayBuffer]":case bt:return St(Qe(ie),Qe(pe),Pe,Fe)}var Ke=He==="[object Array]";if(!Ke&&_e(ie)){var Tt=Oe(ie);if(Tt!==Oe(pe))return!1;if(ie.buffer===pe.buffer&&ie.byteOffset===pe.byteOffset)return!0;Ke=!0}if(!Ke){if(typeof ie!="object"||typeof pe!="object")return!1;var Yt=ie.constructor,Br=pe.constructor;if(Yt!==Br&&!(ee(Yt)&&Yt instanceof Yt&&ee(Br)&&Br instanceof Br)&&"constructor"in ie&&"constructor"in pe)return!1}Pe=Pe||[],Fe=Fe||[];for(var Fr=Pe.length;Fr--;)if(Pe[Fr]===ie)return Fe[Fr]===pe;if(Pe.push(ie),Fe.push(pe),Ke){if(Fr=ie.length,Fr!==pe.length)return!1;for(;Fr--;)if(!mt(ie[Fr],pe[Fr],Pe,Fe))return!1}else{var Qn=Be(ie),pi;if(Fr=Qn.length,Be(pe).length!==Fr)return!1;for(;Fr--;)if(pi=Qn[Fr],!(H(pe,pi)&&mt(ie[pi],pe[pi],Pe,Fe)))return!1}return Pe.pop(),Fe.pop(),!0}function yt(ie,pe){return mt(ie,pe)}function at(ie){if(!y(ie))return[];var pe=[];for(var Pe in ie)pe.push(Pe);return x&&Ne(ie,pe),pe}function Ft(ie){var pe=Ae(ie);return function(Pe){if(Pe==null)return!1;var Fe=at(Pe);if(Ae(Fe))return!1;for(var He=0;He<pe;He++)if(!ee(Pe[ie[He]]))return!1;return ie!==kt||!ee(Pe[At])}}var At="forEach",Re="has",Je=["clear","delete"],ut=["get",Re,"set"],Ct=Je.concat(At,ut),kt=Je.concat(ut),rr=["add"].concat(Je,At,Re),Sr=Ie?Ft(Ct):B("Map"),ur=Ie?Ft(kt):B("WeakMap"),mr=Ie?Ft(rr):B("Set"),Lr=B("WeakSet");function un(ie){for(var pe=Be(ie),Pe=pe.length,Fe=Array(Pe),He=0;He<Pe;He++)Fe[He]=ie[pe[He]];return Fe}function ui(ie){for(var pe=Be(ie),Pe=pe.length,Fe=Array(Pe),He=0;He<Pe;He++)Fe[He]=[pe[He],ie[pe[He]]];return Fe}function Pn(ie){for(var pe={},Pe=Be(ie),Fe=0,He=Pe.length;Fe<He;Fe++)pe[ie[Pe[Fe]]]=Pe[Fe];return pe}function wn(ie){var pe=[];for(var Pe in ie)ee(ie[Pe])&&pe.push(Pe);return pe.sort()}function _n(ie,pe){return function(Pe){var Fe=arguments.length;if(pe&&(Pe=Object(Pe)),Fe<2||Pe==null)return Pe;for(var He=1;He<Fe;He++)for(var Ke=arguments[He],Tt=ie(Ke),Yt=Tt.length,Br=0;Br<Yt;Br++){var Fr=Tt[Br];(!pe||Pe[Fr]===void 0)&&(Pe[Fr]=Ke[Fr])}return Pe}}var Kn=_n(at),Yn=_n(Be),Ei=_n(at,!0);function di(){return function(){}}function $i(ie){if(!y(ie))return{};if(_)return _(ie);var pe=di();pe.prototype=ie;var Pe=new pe;return pe.prototype=null,Pe}function Vi(ie,pe){var Pe=$i(ie);return pe&&Yn(Pe,pe),Pe}function kn(ie){return y(ie)?U(ie)?ie.slice():Kn({},ie):ie}function ri(ie,pe){return pe(ie),ie}function xi(ie){return U(ie)?ie:[ie]}Mt.toPath=xi;function wi(ie){return Mt.toPath(ie)}function it(ie,pe){for(var Pe=pe.length,Fe=0;Fe<Pe;Fe++){if(ie==null)return;ie=ie[pe[Fe]]}return Pe?ie:void 0}function jt(ie,pe,Pe){var Fe=it(ie,wi(pe));return D(Fe)?Pe:Fe}function vt(ie,pe){pe=wi(pe);for(var Pe=pe.length,Fe=0;Fe<Pe;Fe++){var He=pe[Fe];if(!H(ie,He))return!1;ie=ie[He]}return!!Pe}function Ye(ie){return ie}function xt(ie){return ie=Yn({},ie),function(pe){return Ut(pe,ie)}}function gr(ie){return ie=wi(ie),function(pe){return it(pe,ie)}}function we(ie,pe,Pe){if(pe===void 0)return ie;switch(Pe??3){case 1:return function(Fe){return ie.call(pe,Fe)};case 3:return function(Fe,He,Ke){return ie.call(pe,Fe,He,Ke)};case 4:return function(Fe,He,Ke,Tt){return ie.call(pe,Fe,He,Ke,Tt)}}return function(){return ie.apply(pe,arguments)}}function ct(ie,pe,Pe){return ie==null?Ye:ee(ie)?we(ie,pe,Pe):y(ie)&&!U(ie)?xt(ie):gr(ie)}function nt(ie,pe){return ct(ie,pe,1/0)}Mt.iteratee=nt;function ft(ie,pe,Pe){return Mt.iteratee!==nt?Mt.iteratee(ie,pe):ct(ie,pe,Pe)}function Lt(ie,pe,Pe){pe=ft(pe,Pe);for(var Fe=Be(ie),He=Fe.length,Ke={},Tt=0;Tt<He;Tt++){var Yt=Fe[Tt];Ke[Yt]=pe(ie[Yt],Yt,ie)}return Ke}function dt(){}function Gt(ie){return ie==null?dt:function(pe){return jt(ie,pe)}}function Nr(ie,pe,Pe){var Fe=Array(Math.max(0,ie));pe=we(pe,Pe,1);for(var He=0;He<ie;He++)Fe[He]=pe(He);return Fe}function Jr(ie,pe){return pe==null&&(pe=ie,ie=0),ie+Math.floor(Math.random()*(pe-ie+1))}var en=Date.now||function(){return new Date().getTime()};function fn(ie){var pe=function(Ke){return ie[Ke]},Pe="(?:"+Be(ie).join("|")+")",Fe=RegExp(Pe),He=RegExp(Pe,"g");return function(Ke){return Ke=Ke==null?"":""+Ke,Fe.test(Ke)?Ke.replace(He,pe):Ke}}var $t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Yr=fn($t),Hi=Pn($t),ni=fn(Hi),ua=Mt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Fi=/(.)^/,ya={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Wa=/\\|'|\r|\n|\u2028|\u2029/g;function ka(ie){return"\\"+ya[ie]}var W=/^\s*(\w|\$)+\s*$/;function se(ie,pe,Pe){!pe&&Pe&&(pe=Pe),pe=Ei({},pe,Mt.templateSettings);var Fe=RegExp([(pe.escape||Fi).source,(pe.interpolate||Fi).source,(pe.evaluate||Fi).source].join("|")+"|$","g"),He=0,Ke="__p+='";ie.replace(Fe,function(Fr,Qn,pi,dl,Ho){return Ke+=ie.slice(He,Ho).replace(Wa,ka),He=Ho+Fr.length,Qn?Ke+=`'+
11
+ ((__t=(`+Qn+`))==null?'':_.escape(__t))+
12
+ '`:pi?Ke+=`'+
13
+ ((__t=(`+pi+`))==null?'':__t)+
14
+ '`:dl&&(Ke+=`';
15
+ `+dl+`
16
+ __p+='`),Fr}),Ke+=`';
17
+ `;var Tt=pe.variable;if(Tt){if(!W.test(Tt))throw new Error("variable is not a bare identifier: "+Tt)}else Ke=`with(obj||{}){
18
+ `+Ke+`}
19
+ `,Tt="obj";Ke=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
20
+ `+Ke+`return __p;
21
+ `;var Yt;try{Yt=new Function(Tt,"_",Ke)}catch(Fr){throw Fr.source=Ke,Fr}var Br=function(Fr){return Yt.call(this,Fr,Mt)};return Br.source="function("+Tt+`){
22
+ `+Ke+"}",Br}function Ce(ie,pe,Pe){pe=wi(pe);var Fe=pe.length;if(!Fe)return ee(Pe)?Pe.call(ie):Pe;for(var He=0;He<Fe;He++){var Ke=ie==null?void 0:ie[pe[He]];Ke===void 0&&(Ke=Pe,He=Fe),ie=ee(Ke)?Ke.call(ie):Ke}return ie}var qe=0;function ht(ie){var pe=++qe+"";return ie?ie+pe:pe}function rt(ie){var pe=Mt(ie);return pe._chain=!0,pe}function Ot(ie,pe,Pe,Fe,He){if(!(Fe instanceof pe))return ie.apply(Pe,He);var Ke=$i(ie.prototype),Tt=ie.apply(Ke,He);return y(Tt)?Tt:Ke}var zt=O(function(ie,pe){var Pe=zt.placeholder,Fe=function(){for(var He=0,Ke=pe.length,Tt=Array(Ke),Yt=0;Yt<Ke;Yt++)Tt[Yt]=pe[Yt]===Pe?arguments[He++]:pe[Yt];for(;He<arguments.length;)Tt.push(arguments[He++]);return Ot(ie,Fe,this,this,Tt)};return Fe});zt.placeholder=Mt;var Zt=O(function(ie,pe,Pe){if(!ee(ie))throw new TypeError("Bind must be called on a function");var Fe=O(function(He){return Ot(ie,Fe,pe,this,Pe.concat(He))});return Fe}),Cr=Te(Ae);function Pr(ie,pe,Pe,Fe){if(Fe=Fe||[],!pe&&pe!==0)pe=1/0;else if(pe<=0)return Fe.concat(ie);for(var He=Fe.length,Ke=0,Tt=Ae(ie);Ke<Tt;Ke++){var Yt=ie[Ke];if(Cr(Yt)&&(U(Yt)||q(Yt)))if(pe>1)Pr(Yt,pe-1,Pe,Fe),He=Fe.length;else for(var Br=0,Fr=Yt.length;Br<Fr;)Fe[He++]=Yt[Br++];else Pe||(Fe[He++]=Yt)}return Fe}var Mn=O(function(ie,pe){pe=Pr(pe,!1,!1);var Pe=pe.length;if(Pe<1)throw new Error("bindAll must be passed function names");for(;Pe--;){var Fe=pe[Pe];ie[Fe]=Zt(ie[Fe],ie)}return ie});function Oi(ie,pe){var Pe=function(Fe){var He=Pe.cache,Ke=""+(pe?pe.apply(this,arguments):Fe);return H(He,Ke)||(He[Ke]=ie.apply(this,arguments)),He[Ke]};return Pe.cache={},Pe}var Ii=O(function(ie,pe,Pe){return setTimeout(function(){return ie.apply(null,Pe)},pe)}),ls=zt(Ii,Mt,1);function Js(ie,pe,Pe){var Fe,He,Ke,Tt,Yt=0;Pe||(Pe={});var Br=function(){Yt=Pe.leading===!1?0:en(),Fe=null,Tt=ie.apply(He,Ke),Fe||(He=Ke=null)},Fr=function(){var Qn=en();!Yt&&Pe.leading===!1&&(Yt=Qn);var pi=pe-(Qn-Yt);return He=this,Ke=arguments,pi<=0||pi>pe?(Fe&&(clearTimeout(Fe),Fe=null),Yt=Qn,Tt=ie.apply(He,Ke),Fe||(He=Ke=null)):!Fe&&Pe.trailing!==!1&&(Fe=setTimeout(Br,pi)),Tt};return Fr.cancel=function(){clearTimeout(Fe),Yt=0,Fe=He=Ke=null},Fr}function cs(ie,pe,Pe){var Fe,He,Ke,Tt,Yt,Br=function(){var Qn=en()-He;pe>Qn?Fe=setTimeout(Br,pe-Qn):(Fe=null,Pe||(Tt=ie.apply(Yt,Ke)),Fe||(Ke=Yt=null))},Fr=O(function(Qn){return Yt=this,Ke=Qn,He=en(),Fe||(Fe=setTimeout(Br,pe),Pe&&(Tt=ie.apply(Yt,Ke))),Tt});return Fr.cancel=function(){clearTimeout(Fe),Fe=Ke=Yt=null},Fr}function Ga(ie,pe){return zt(pe,ie)}function hi(ie){return function(){return!ie.apply(this,arguments)}}function Da(){var ie=arguments,pe=ie.length-1;return function(){for(var Pe=pe,Fe=ie[pe].apply(this,arguments);Pe--;)Fe=ie[Pe].call(this,Fe);return Fe}}function Ka(ie,pe){return function(){if(--ie<1)return pe.apply(this,arguments)}}function dn(ie,pe){var Pe;return function(){return--ie>0&&(Pe=pe.apply(this,arguments)),ie<=1&&(pe=null),Pe}}var la=zt(dn,2);function Fo(ie,pe,Pe){pe=ft(pe,Pe);for(var Fe=Be(ie),He,Ke=0,Tt=Fe.length;Ke<Tt;Ke++)if(He=Fe[Ke],pe(ie[He],He,ie))return He}function jo(ie){return function(pe,Pe,Fe){Pe=ft(Pe,Fe);for(var He=Ae(pe),Ke=ie>0?0:He-1;Ke>=0&&Ke<He;Ke+=ie)if(Pe(pe[Ke],Ke,pe))return Ke;return-1}}var Ki=jo(1),Ls=jo(-1);function Ya(ie,pe,Pe,Fe){Pe=ft(Pe,Fe,1);for(var He=Pe(pe),Ke=0,Tt=Ae(ie);Ke<Tt;){var Yt=Math.floor((Ke+Tt)/2);Pe(ie[Yt])<He?Ke=Yt+1:Tt=Yt}return Ke}function fs(ie,pe,Pe){return function(Fe,He,Ke){var Tt=0,Yt=Ae(Fe);if(typeof Ke=="number")ie>0?Tt=Ke>=0?Ke:Math.max(Ke+Yt,Tt):Yt=Ke>=0?Math.min(Ke+1,Yt):Ke+Yt+1;else if(Pe&&Ke&&Yt)return Ke=Pe(Fe,He),Fe[Ke]===He?Ke:-1;if(He!==He)return Ke=pe(s.call(Fe,Tt,Yt),me),Ke>=0?Ke+Tt:-1;for(Ke=ie>0?Tt:Yt-1;Ke>=0&&Ke<Yt;Ke+=ie)if(Fe[Ke]===He)return Ke;return-1}}var Ns=fs(1,Ki,Ya),Cu=fs(-1,Ls);function Xa(ie,pe,Pe){var Fe=Cr(ie)?Ki:Fo,He=Fe(ie,pe,Pe);if(He!==void 0&&He!==-1)return ie[He]}function uo(ie,pe){return Xa(ie,xt(pe))}function ji(ie,pe,Pe){pe=we(pe,Pe);var Fe,He;if(Cr(ie))for(Fe=0,He=ie.length;Fe<He;Fe++)pe(ie[Fe],Fe,ie);else{var Ke=Be(ie);for(Fe=0,He=Ke.length;Fe<He;Fe++)pe(ie[Ke[Fe]],Ke[Fe],ie)}return ie}function ca(ie,pe,Pe){pe=ft(pe,Pe);for(var Fe=!Cr(ie)&&Be(ie),He=(Fe||ie).length,Ke=Array(He),Tt=0;Tt<He;Tt++){var Yt=Fe?Fe[Tt]:Tt;Ke[Tt]=pe(ie[Yt],Yt,ie)}return Ke}function Tu(ie){var pe=function(Pe,Fe,He,Ke){var Tt=!Cr(Pe)&&Be(Pe),Yt=(Tt||Pe).length,Br=ie>0?0:Yt-1;for(Ke||(He=Pe[Tt?Tt[Br]:Br],Br+=ie);Br>=0&&Br<Yt;Br+=ie){var Fr=Tt?Tt[Br]:Br;He=Fe(He,Pe[Fr],Fr,Pe)}return He};return function(Pe,Fe,He,Ke){var Tt=arguments.length>=3;return pe(Pe,we(Fe,Ke,4),He,Tt)}}var Uo=Tu(1),qo=Tu(-1);function fa(ie,pe,Pe){var Fe=[];return pe=ft(pe,Pe),ji(ie,function(He,Ke,Tt){pe(He,Ke,Tt)&&Fe.push(He)}),Fe}function Ms(ie,pe,Pe){return fa(ie,hi(ft(pe)),Pe)}function Au(ie,pe,Pe){pe=ft(pe,Pe);for(var Fe=!Cr(ie)&&Be(ie),He=(Fe||ie).length,Ke=0;Ke<He;Ke++){var Tt=Fe?Fe[Ke]:Ke;if(!pe(ie[Tt],Tt,ie))return!1}return!0}function Pi(ie,pe,Pe){pe=ft(pe,Pe);for(var Fe=!Cr(ie)&&Be(ie),He=(Fe||ie).length,Ke=0;Ke<He;Ke++){var Tt=Fe?Fe[Ke]:Ke;if(pe(ie[Tt],Tt,ie))return!0}return!1}function da(ie,pe,Pe,Fe){return Cr(ie)||(ie=un(ie)),(typeof Pe!="number"||Fe)&&(Pe=0),Ns(ie,pe,Pe)>=0}var lo=O(function(ie,pe,Pe){var Fe,He;return ee(pe)?He=pe:(pe=wi(pe),Fe=pe.slice(0,-1),pe=pe[pe.length-1]),ca(ie,function(Ke){var Tt=He;if(!Tt){if(Fe&&Fe.length&&(Ke=it(Ke,Fe)),Ke==null)return;Tt=Ke[pe]}return Tt==null?Tt:Tt.apply(Ke,Pe)})});function Vo(ie,pe){return ca(ie,gr(pe))}function co(ie,pe){return fa(ie,xt(pe))}function fo(ie,pe,Pe){var Fe=-1/0,He=-1/0,Ke,Tt;if(pe==null||typeof pe=="number"&&typeof ie[0]!="object"&&ie!=null){ie=Cr(ie)?ie:un(ie);for(var Yt=0,Br=ie.length;Yt<Br;Yt++)Ke=ie[Yt],Ke!=null&&Ke>Fe&&(Fe=Ke)}else pe=ft(pe,Pe),ji(ie,function(Fr,Qn,pi){Tt=pe(Fr,Qn,pi),(Tt>He||Tt===-1/0&&Fe===-1/0)&&(Fe=Fr,He=Tt)});return Fe}function S(ie,pe,Pe){var Fe=1/0,He=1/0,Ke,Tt;if(pe==null||typeof pe=="number"&&typeof ie[0]!="object"&&ie!=null){ie=Cr(ie)?ie:un(ie);for(var Yt=0,Br=ie.length;Yt<Br;Yt++)Ke=ie[Yt],Ke!=null&&Ke<Fe&&(Fe=Ke)}else pe=ft(pe,Pe),ji(ie,function(Fr,Qn,pi){Tt=pe(Fr,Qn,pi),(Tt<He||Tt===1/0&&Fe===1/0)&&(Fe=Fr,He=Tt)});return Fe}var R=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function M(ie){return ie?U(ie)?s.call(ie):K(ie)?ie.match(R):Cr(ie)?ca(ie,Ye):un(ie):[]}function Y(ie,pe,Pe){if(pe==null||Pe)return Cr(ie)||(ie=un(ie)),ie[Jr(ie.length-1)];var Fe=M(ie),He=Ae(Fe);pe=Math.max(Math.min(pe,He),0);for(var Ke=He-1,Tt=0;Tt<pe;Tt++){var Yt=Jr(Tt,Ke),Br=Fe[Tt];Fe[Tt]=Fe[Yt],Fe[Yt]=Br}return Fe.slice(0,pe)}function ae(ie){return Y(ie,1/0)}function le(ie,pe,Pe){var Fe=0;return pe=ft(pe,Pe),Vo(ca(ie,function(He,Ke,Tt){return{value:He,index:Fe++,criteria:pe(He,Ke,Tt)}}).sort(function(He,Ke){var Tt=He.criteria,Yt=Ke.criteria;if(Tt!==Yt){if(Tt>Yt||Tt===void 0)return 1;if(Tt<Yt||Yt===void 0)return-1}return He.index-Ke.index}),"value")}function he(ie,pe){return function(Pe,Fe,He){var Ke=pe?[[],[]]:{};return Fe=ft(Fe,He),ji(Pe,function(Tt,Yt){var Br=Fe(Tt,Yt,Pe);ie(Ke,Tt,Br)}),Ke}}var Ue=he(function(ie,pe,Pe){H(ie,Pe)?ie[Pe].push(pe):ie[Pe]=[pe]}),Le=he(function(ie,pe,Pe){ie[Pe]=pe}),Ge=he(function(ie,pe,Pe){H(ie,Pe)?ie[Pe]++:ie[Pe]=1}),wt=he(function(ie,pe,Pe){ie[Pe?0:1].push(pe)},!0);function Rt(ie){return ie==null?0:Cr(ie)?ie.length:Be(ie).length}function st(ie,pe,Pe){return pe in Pe}var Vt=O(function(ie,pe){var Pe={},Fe=pe[0];if(ie==null)return Pe;ee(Fe)?(pe.length>1&&(Fe=we(Fe,pe[1])),pe=at(ie)):(Fe=st,pe=Pr(pe,!1,!1),ie=Object(ie));for(var He=0,Ke=pe.length;He<Ke;He++){var Tt=pe[He],Yt=ie[Tt];Fe(Yt,Tt,ie)&&(Pe[Tt]=Yt)}return Pe}),Rr=O(function(ie,pe){var Pe=pe[0],Fe;return ee(Pe)?(Pe=hi(Pe),pe.length>1&&(Fe=pe[1])):(pe=ca(Pr(pe,!1,!1),String),Pe=function(He,Ke){return!da(pe,Ke)}),Vt(ie,Pe,Fe)});function tn(ie,pe,Pe){return s.call(ie,0,Math.max(0,ie.length-(pe==null||Pe?1:pe)))}function Vr(ie,pe,Pe){return ie==null||ie.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ie[0]:tn(ie,ie.length-pe)}function Xn(ie,pe,Pe){return s.call(ie,pe==null||Pe?1:pe)}function li(ie,pe,Pe){return ie==null||ie.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ie[ie.length-1]:Xn(ie,Math.max(0,ie.length-pe))}function G(ie){return fa(ie,Boolean)}function oe(ie,pe){return Pr(ie,pe,!1)}var ve=O(function(ie,pe){return pe=Pr(pe,!0,!0),fa(ie,function(Pe){return!da(pe,Pe)})}),$e=O(function(ie,pe){return ve(ie,pe)});function Ze(ie,pe,Pe,Fe){V(pe)||(Fe=Pe,Pe=pe,pe=!1),Pe!=null&&(Pe=ft(Pe,Fe));for(var He=[],Ke=[],Tt=0,Yt=Ae(ie);Tt<Yt;Tt++){var Br=ie[Tt],Fr=Pe?Pe(Br,Tt,ie):Br;pe&&!Pe?((!Tt||Ke!==Fr)&&He.push(Br),Ke=Fr):Pe?da(Ke,Fr)||(Ke.push(Fr),He.push(Br)):da(He,Br)||He.push(Br)}return He}var et=O(function(ie){return Ze(Pr(ie,!0,!0))});function It(ie){for(var pe=[],Pe=arguments.length,Fe=0,He=Ae(ie);Fe<He;Fe++){var Ke=ie[Fe];if(!da(pe,Ke)){var Tt;for(Tt=1;Tt<Pe&&da(arguments[Tt],Ke);Tt++);Tt===Pe&&pe.push(Ke)}}return pe}function Wt(ie){for(var pe=ie&&fo(ie,Ae).length||0,Pe=Array(pe),Fe=0;Fe<pe;Fe++)Pe[Fe]=Vo(ie,Fe);return Pe}var yr=O(Wt);function Hr(ie,pe){for(var Pe={},Fe=0,He=Ae(ie);Fe<He;Fe++)pe?Pe[ie[Fe]]=pe[Fe]:Pe[ie[Fe][0]]=ie[Fe][1];return Pe}function xr(ie,pe,Pe){pe==null&&(pe=ie||0,ie=0),Pe||(Pe=pe<ie?-1:1);for(var Fe=Math.max(Math.ceil((pe-ie)/Pe),0),He=Array(Fe),Ke=0;Ke<Fe;Ke++,ie+=Pe)He[Ke]=ie;return He}function Dn(ie,pe){if(pe==null||pe<1)return[];for(var Pe=[],Fe=0,He=ie.length;Fe<He;)Pe.push(s.call(ie,Fe,Fe+=pe));return Pe}function ii(ie,pe){return ie._chain?Mt(pe).chain():pe}function $n(ie){return ji(wn(ie),function(pe){var Pe=Mt[pe]=ie[pe];Mt.prototype[pe]=function(){var Fe=[this._wrapped];return l.apply(Fe,arguments),ii(this,Pe.apply(Mt,Fe))}}),Mt}ji(["pop","push","reverse","shift","sort","splice","unshift"],function(ie){var pe=i[ie];Mt.prototype[ie]=function(){var Pe=this._wrapped;return Pe!=null&&(pe.apply(Pe,arguments),(ie==="shift"||ie==="splice")&&Pe.length===0&&delete Pe[0]),ii(this,Pe)}}),ji(["concat","join","slice"],function(ie){var pe=i[ie];Mt.prototype[ie]=function(){var Pe=this._wrapped;return Pe!=null&&(Pe=pe.apply(Pe,arguments)),ii(this,Pe)}});var uc={__proto__:null,VERSION:r,restArguments:O,isObject:y,isNull:P,isUndefined:D,isBoolean:V,isElement:F,isString:K,isNumber:Q,isDate:X,isRegExp:te,isError:ue,isSymbol:L,isArrayBuffer:I,isDataView:k,isArray:U,isFunction:ee,isArguments:q,isFinite:J,isNaN:me,isTypedArray:_e,isEmpty:_t,isMatch:Ut,isEqual:yt,isMap:Sr,isWeakMap:ur,isSet:mr,isWeakSet:Lr,keys:Be,allKeys:at,values:un,pairs:ui,invert:Pn,functions:wn,methods:wn,extend:Kn,extendOwn:Yn,assign:Yn,defaults:Ei,create:Vi,clone:kn,tap:ri,get:jt,has:vt,mapObject:Lt,identity:Ye,constant:fe,noop:dt,toPath:xi,property:gr,propertyOf:Gt,matcher:xt,matches:xt,times:Nr,random:Jr,now:en,escape:Yr,unescape:ni,templateSettings:ua,template:se,result:Ce,uniqueId:ht,chain:rt,iteratee:nt,partial:zt,bind:Zt,bindAll:Mn,memoize:Oi,delay:Ii,defer:ls,throttle:Js,debounce:cs,wrap:Ga,negate:hi,compose:Da,after:Ka,before:dn,once:la,findKey:Fo,findIndex:Ki,findLastIndex:Ls,sortedIndex:Ya,indexOf:Ns,lastIndexOf:Cu,find:Xa,detect:Xa,findWhere:uo,each:ji,forEach:ji,map:ca,collect:ca,reduce:Uo,foldl:Uo,inject:Uo,reduceRight:qo,foldr:qo,filter:fa,select:fa,reject:Ms,every:Au,all:Au,some:Pi,any:Pi,contains:da,includes:da,include:da,invoke:lo,pluck:Vo,where:co,max:fo,min:S,shuffle:ae,sample:Y,sortBy:le,groupBy:Ue,indexBy:Le,countBy:Ge,partition:wt,toArray:M,size:Rt,pick:Vt,omit:Rr,first:Vr,head:Vr,take:Vr,initial:tn,last:li,rest:Xn,tail:Xn,drop:Xn,compact:G,flatten:oe,without:$e,uniq:Ze,unique:Ze,union:et,intersection:It,difference:ve,unzip:Wt,transpose:Wt,zip:yr,object:Hr,range:xr,chunk:Dn,mixin:$n,default:Mt},Qa=$n(uc);return Qa._=Qa,Qa}))})(um)),um.exports}var TC={},lm={exports:{}};/*!
23
+ * jQuery JavaScript Library v3.7.1
24
+ * https://jquery.com/
25
+ *
26
+ * Copyright OpenJS Foundation and other contributors
27
+ * Released under the MIT license
28
+ * https://jquery.org/license
29
+ *
30
+ * Date: 2023-08-28T13:37Z
31
+ */var L1e=lm.exports,Tz;function jte(){return Tz||(Tz=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:L1e,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(S){return n.flat.call(S)}:function(S){return n.concat.apply([],S)},l=n.push,s=n.indexOf,c={},d=c.toString,h=c.hasOwnProperty,p=h.toString,g=p.call(Object),m={},_=function(R){return typeof R=="function"&&typeof R.nodeType!="number"&&typeof R.item!="function"},E=function(R){return R!=null&&R===R.window},w=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function x(S,R,M){M=M||w;var Y,ae,le=M.createElement("script");if(le.text=S,R)for(Y in b)ae=R[Y]||R.getAttribute&&R.getAttribute(Y),ae&&le.setAttribute(Y,ae);M.head.appendChild(le).parentNode.removeChild(le)}function T(S){return S==null?S+"":typeof S=="object"||typeof S=="function"?c[d.call(S)]||"object":typeof S}var A="3.7.1",O=/HTML$/i,y=function(S,R){return new y.fn.init(S,R)};y.fn=y.prototype={jquery:A,constructor:y,length:0,toArray:function(){return a.call(this)},get:function(S){return S==null?a.call(this):S<0?this[S+this.length]:this[S]},pushStack:function(S){var R=y.merge(this.constructor(),S);return R.prevObject=this,R},each:function(S){return y.each(this,S)},map:function(S){return this.pushStack(y.map(this,function(R,M){return S.call(R,M,R)}))},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(y.grep(this,function(S,R){return(R+1)%2}))},odd:function(){return this.pushStack(y.grep(this,function(S,R){return R%2}))},eq:function(S){var R=this.length,M=+S+(S<0?R:0);return this.pushStack(M>=0&&M<R?[this[M]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},y.extend=y.fn.extend=function(){var S,R,M,Y,ae,le,he=arguments[0]||{},Ue=1,Le=arguments.length,Ge=!1;for(typeof he=="boolean"&&(Ge=he,he=arguments[Ue]||{},Ue++),typeof he!="object"&&!_(he)&&(he={}),Ue===Le&&(he=this,Ue--);Ue<Le;Ue++)if((S=arguments[Ue])!=null)for(R in S)Y=S[R],!(R==="__proto__"||he===Y)&&(Ge&&Y&&(y.isPlainObject(Y)||(ae=Array.isArray(Y)))?(M=he[R],ae&&!Array.isArray(M)?le=[]:!ae&&!y.isPlainObject(M)?le={}:le=M,ae=!1,he[R]=y.extend(Ge,le,Y)):Y!==void 0&&(he[R]=Y));return he},y.extend({expando:"jQuery"+(A+Math.random()).replace(/\D/g,""),isReady:!0,error:function(S){throw new Error(S)},noop:function(){},isPlainObject:function(S){var R,M;return!S||d.call(S)!=="[object Object]"?!1:(R=i(S),R?(M=h.call(R,"constructor")&&R.constructor,typeof M=="function"&&p.call(M)===g):!0)},isEmptyObject:function(S){var R;for(R in S)return!1;return!0},globalEval:function(S,R,M){x(S,{nonce:R&&R.nonce},M)},each:function(S,R){var M,Y=0;if(P(S))for(M=S.length;Y<M&&R.call(S[Y],Y,S[Y])!==!1;Y++);else for(Y in S)if(R.call(S[Y],Y,S[Y])===!1)break;return S},text:function(S){var R,M="",Y=0,ae=S.nodeType;if(!ae)for(;R=S[Y++];)M+=y.text(R);return ae===1||ae===11?S.textContent:ae===9?S.documentElement.textContent:ae===3||ae===4?S.nodeValue:M},makeArray:function(S,R){var M=R||[];return S!=null&&(P(Object(S))?y.merge(M,typeof S=="string"?[S]:S):l.call(M,S)),M},inArray:function(S,R,M){return R==null?-1:s.call(R,S,M)},isXMLDoc:function(S){var R=S&&S.namespaceURI,M=S&&(S.ownerDocument||S).documentElement;return!O.test(R||M&&M.nodeName||"HTML")},merge:function(S,R){for(var M=+R.length,Y=0,ae=S.length;Y<M;Y++)S[ae++]=R[Y];return S.length=ae,S},grep:function(S,R,M){for(var Y,ae=[],le=0,he=S.length,Ue=!M;le<he;le++)Y=!R(S[le],le),Y!==Ue&&ae.push(S[le]);return ae},map:function(S,R,M){var Y,ae,le=0,he=[];if(P(S))for(Y=S.length;le<Y;le++)ae=R(S[le],le,M),ae!=null&&he.push(ae);else for(le in S)ae=R(S[le],le,M),ae!=null&&he.push(ae);return o(he)},guid:1,support:m}),typeof Symbol=="function"&&(y.fn[Symbol.iterator]=n[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(S,R){c["[object "+R+"]"]=R.toLowerCase()});function P(S){var R=!!S&&"length"in S&&S.length,M=T(S);return _(S)||E(S)?!1:M==="array"||R===0||typeof R=="number"&&R>0&&R-1 in S}function D(S,R){return S.nodeName&&S.nodeName.toLowerCase()===R.toLowerCase()}var V=n.pop,F=n.sort,B=n.splice,K="[\\x20\\t\\r\\n\\f]",Q=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g");y.contains=function(S,R){var M=R&&R.parentNode;return S===M||!!(M&&M.nodeType===1&&(S.contains?S.contains(M):S.compareDocumentPosition&&S.compareDocumentPosition(M)&16))};var X=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function te(S,R){return R?S==="\0"?"�":S.slice(0,-1)+"\\"+S.charCodeAt(S.length-1).toString(16)+" ":"\\"+S}y.escapeSelector=function(S){return(S+"").replace(X,te)};var ue=w,L=l;(function(){var S,R,M,Y,ae,le=L,he,Ue,Le,Ge,wt,Rt=y.expando,st=0,Vt=0,Rr=Ke(),tn=Ke(),Vr=Ke(),Xn=Ke(),li=function(xe,We){return xe===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])+",ve="\\["+K+"*("+oe+")(?:"+K+"*([*^$|!~]?=)"+K+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+oe+"))|)"+K+"*\\]",$e=":("+oe+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ve+")*)|.*)\\)|)",Ze=new RegExp(K+"+","g"),et=new RegExp("^"+K+"*,"+K+"*"),It=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),Wt=new RegExp(K+"|>"),yr=new RegExp($e),Hr=new RegExp("^"+oe+"$"),xr={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe+"|[*])"),ATTR:new RegExp("^"+ve),PSEUDO:new RegExp("^"+$e),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,ii=/^h\d$/i,$n=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,uc=/[+~]/,Qa=new RegExp("\\\\[\\da-fA-F]{1,6}"+K+"?|\\\\([^\\r\\n\\f])","g"),ie=function(xe,We){var lt="0x"+xe.slice(1)-65536;return We||(lt<0?String.fromCharCode(lt+65536):String.fromCharCode(lt>>10|55296,lt&1023|56320))},pe=function(){Ho()},Pe=tu(function(xe){return xe.disabled===!0&&D(xe,"fieldset")},{dir:"parentNode",next:"legend"});function Fe(){try{return he.activeElement}catch{}}try{le.apply(n=a.call(ue.childNodes),ue.childNodes),n[ue.childNodes.length].nodeType}catch{le={apply:function(We,lt){L.apply(We,a.call(lt))},call:function(We){L.apply(We,a.call(arguments,1))}}}function He(xe,We,lt,Et){var Dt,Jt,tr,cr,or,on,jr,zr=We&&We.ownerDocument,nn=We?We.nodeType:9;if(lt=lt||[],typeof xe!="string"||!xe||nn!==1&&nn!==9&&nn!==11)return lt;if(!Et&&(Ho(We),We=We||he,Le)){if(nn!==11&&(or=$n.exec(xe)))if(Dt=or[1]){if(nn===9)if(tr=We.getElementById(Dt)){if(tr.id===Dt)return le.call(lt,tr),lt}else return lt;else if(zr&&(tr=zr.getElementById(Dt))&&He.contains(We,tr)&&tr.id===Dt)return le.call(lt,tr),lt}else{if(or[2])return le.apply(lt,We.getElementsByTagName(xe)),lt;if((Dt=or[3])&&We.getElementsByClassName)return le.apply(lt,We.getElementsByClassName(Dt)),lt}if(!Xn[xe+" "]&&(!Ge||!Ge.test(xe))){if(jr=xe,zr=We,nn===1&&(Wt.test(xe)||It.test(xe))){for(zr=uc.test(xe)&&dl(We.parentNode)||We,(zr!=We||!m.scope)&&((cr=We.getAttribute("id"))?cr=y.escapeSelector(cr):We.setAttribute("id",cr=Rt)),on=hl(xe),Jt=on.length;Jt--;)on[Jt]=(cr?"#"+cr:":scope")+" "+eu(on[Jt]);jr=on.join(",")}try{return le.apply(lt,zr.querySelectorAll(jr)),lt}catch{Xn(xe,!0)}finally{cr===Rt&&We.removeAttribute("id")}}}return Eh(xe.replace(Q,"$1"),We,lt,Et)}function Ke(){var xe=[];function We(lt,Et){return xe.push(lt+" ")>R.cacheLength&&delete We[xe.shift()],We[lt+" "]=Et}return We}function Tt(xe){return xe[Rt]=!0,xe}function Yt(xe){var We=he.createElement("fieldset");try{return!!xe(We)}catch{return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Br(xe){return function(We){return D(We,"input")&&We.type===xe}}function Fr(xe){return function(We){return(D(We,"input")||D(We,"button"))&&We.type===xe}}function Qn(xe){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===xe:We.disabled===xe:We.isDisabled===xe||We.isDisabled!==!xe&&Pe(We)===xe:We.disabled===xe:"label"in We?We.disabled===xe:!1}}function pi(xe){return Tt(function(We){return We=+We,Tt(function(lt,Et){for(var Dt,Jt=xe([],lt.length,We),tr=Jt.length;tr--;)lt[Dt=Jt[tr]]&&(lt[Dt]=!(Et[Dt]=lt[Dt]))})})}function dl(xe){return xe&&typeof xe.getElementsByTagName<"u"&&xe}function Ho(xe){var We,lt=xe?xe.ownerDocument||xe:ue;return lt==he||lt.nodeType!==9||!lt.documentElement||(he=lt,Ue=he.documentElement,Le=!y.isXMLDoc(he),wt=Ue.matches||Ue.webkitMatchesSelector||Ue.msMatchesSelector,Ue.msMatchesSelector&&ue!=he&&(We=he.defaultView)&&We.top!==We&&We.addEventListener("unload",pe),m.getById=Yt(function(Et){return Ue.appendChild(Et).id=y.expando,!he.getElementsByName||!he.getElementsByName(y.expando).length}),m.disconnectedMatch=Yt(function(Et){return wt.call(Et,"*")}),m.scope=Yt(function(){return he.querySelectorAll(":scope")}),m.cssHas=Yt(function(){try{return he.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),m.getById?(R.filter.ID=function(Et){var Dt=Et.replace(Qa,ie);return function(Jt){return Jt.getAttribute("id")===Dt}},R.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Le){var Jt=Dt.getElementById(Et);return Jt?[Jt]:[]}}):(R.filter.ID=function(Et){var Dt=Et.replace(Qa,ie);return function(Jt){var tr=typeof Jt.getAttributeNode<"u"&&Jt.getAttributeNode("id");return tr&&tr.value===Dt}},R.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Le){var Jt,tr,cr,or=Dt.getElementById(Et);if(or){if(Jt=or.getAttributeNode("id"),Jt&&Jt.value===Et)return[or];for(cr=Dt.getElementsByName(Et),tr=0;or=cr[tr++];)if(Jt=or.getAttributeNode("id"),Jt&&Jt.value===Et)return[or]}return[]}}),R.find.TAG=function(Et,Dt){return typeof Dt.getElementsByTagName<"u"?Dt.getElementsByTagName(Et):Dt.querySelectorAll(Et)},R.find.CLASS=function(Et,Dt){if(typeof Dt.getElementsByClassName<"u"&&Le)return Dt.getElementsByClassName(Et)},Ge=[],Yt(function(Et){var Dt;Ue.appendChild(Et).innerHTML="<a id='"+Rt+"' href='' disabled='disabled'></a><select id='"+Rt+"-\r\\' disabled='disabled'><option selected=''></option></select>",Et.querySelectorAll("[selected]").length||Ge.push("\\["+K+"*(?:value|"+G+")"),Et.querySelectorAll("[id~="+Rt+"-]").length||Ge.push("~="),Et.querySelectorAll("a#"+Rt+"+*").length||Ge.push(".#.+[+~]"),Et.querySelectorAll(":checked").length||Ge.push(":checked"),Dt=he.createElement("input"),Dt.setAttribute("type","hidden"),Et.appendChild(Dt).setAttribute("name","D"),Ue.appendChild(Et).disabled=!0,Et.querySelectorAll(":disabled").length!==2&&Ge.push(":enabled",":disabled"),Dt=he.createElement("input"),Dt.setAttribute("name",""),Et.appendChild(Dt),Et.querySelectorAll("[name='']").length||Ge.push("\\["+K+"*name"+K+"*="+K+`*(?:''|"")`)}),m.cssHas||Ge.push(":has"),Ge=Ge.length&&new RegExp(Ge.join("|")),li=function(Et,Dt){if(Et===Dt)return ae=!0,0;var Jt=!Et.compareDocumentPosition-!Dt.compareDocumentPosition;return Jt||(Jt=(Et.ownerDocument||Et)==(Dt.ownerDocument||Dt)?Et.compareDocumentPosition(Dt):1,Jt&1||!m.sortDetached&&Dt.compareDocumentPosition(Et)===Jt?Et===he||Et.ownerDocument==ue&&He.contains(ue,Et)?-1:Dt===he||Dt.ownerDocument==ue&&He.contains(ue,Dt)?1:Y?s.call(Y,Et)-s.call(Y,Dt):0:Jt&4?-1:1)}),he}He.matches=function(xe,We){return He(xe,null,null,We)},He.matchesSelector=function(xe,We){if(Ho(xe),Le&&!Xn[We+" "]&&(!Ge||!Ge.test(We)))try{var lt=wt.call(xe,We);if(lt||m.disconnectedMatch||xe.document&&xe.document.nodeType!==11)return lt}catch{Xn(We,!0)}return He(We,he,null,[xe]).length>0},He.contains=function(xe,We){return(xe.ownerDocument||xe)!=he&&Ho(xe),y.contains(xe,We)},He.attr=function(xe,We){(xe.ownerDocument||xe)!=he&&Ho(xe);var lt=R.attrHandle[We.toLowerCase()],Et=lt&&h.call(R.attrHandle,We.toLowerCase())?lt(xe,We,!Le):void 0;return Et!==void 0?Et:xe.getAttribute(We)},He.error=function(xe){throw new Error("Syntax error, unrecognized expression: "+xe)},y.uniqueSort=function(xe){var We,lt=[],Et=0,Dt=0;if(ae=!m.sortStable,Y=!m.sortStable&&a.call(xe,0),F.call(xe,li),ae){for(;We=xe[Dt++];)We===xe[Dt]&&(Et=lt.push(Dt));for(;Et--;)B.call(xe,lt[Et],1)}return Y=null,xe},y.fn.uniqueSort=function(){return this.pushStack(y.uniqueSort(a.apply(this)))},R=y.expr={cacheLength:50,createPseudo:Tt,match:xr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(xe){return xe[1]=xe[1].replace(Qa,ie),xe[3]=(xe[3]||xe[4]||xe[5]||"").replace(Qa,ie),xe[2]==="~="&&(xe[3]=" "+xe[3]+" "),xe.slice(0,4)},CHILD:function(xe){return xe[1]=xe[1].toLowerCase(),xe[1].slice(0,3)==="nth"?(xe[3]||He.error(xe[0]),xe[4]=+(xe[4]?xe[5]+(xe[6]||1):2*(xe[3]==="even"||xe[3]==="odd")),xe[5]=+(xe[7]+xe[8]||xe[3]==="odd")):xe[3]&&He.error(xe[0]),xe},PSEUDO:function(xe){var We,lt=!xe[6]&&xe[2];return xr.CHILD.test(xe[0])?null:(xe[3]?xe[2]=xe[4]||xe[5]||"":lt&&yr.test(lt)&&(We=hl(lt,!0))&&(We=lt.indexOf(")",lt.length-We)-lt.length)&&(xe[0]=xe[0].slice(0,We),xe[2]=lt.slice(0,We)),xe.slice(0,3))}},filter:{TAG:function(xe){var We=xe.replace(Qa,ie).toLowerCase();return xe==="*"?function(){return!0}:function(lt){return D(lt,We)}},CLASS:function(xe){var We=Rr[xe+" "];return We||(We=new RegExp("(^|"+K+")"+xe+"("+K+"|$)"))&&Rr(xe,function(lt){return We.test(typeof lt.className=="string"&&lt.className||typeof lt.getAttribute<"u"&&lt.getAttribute("class")||"")})},ATTR:function(xe,We,lt){return function(Et){var Dt=He.attr(Et,xe);return Dt==null?We==="!=":We?(Dt+="",We==="="?Dt===lt:We==="!="?Dt!==lt:We==="^="?lt&&Dt.indexOf(lt)===0:We==="*="?lt&&Dt.indexOf(lt)>-1:We==="$="?lt&&Dt.slice(-lt.length)===lt:We==="~="?(" "+Dt.replace(Ze," ")+" ").indexOf(lt)>-1:We==="|="?Dt===lt||Dt.slice(0,lt.length+1)===lt+"-":!1):!0}},CHILD:function(xe,We,lt,Et,Dt){var Jt=xe.slice(0,3)!=="nth",tr=xe.slice(-4)!=="last",cr=We==="of-type";return Et===1&&Dt===0?(function(or){return!!or.parentNode}):function(or,on,jr){var zr,nn,Or,Zn,Bi,Yi=Jt!==tr?"nextSibling":"previousSibling",ha=or.parentNode,ho=cr&&or.nodeName.toLowerCase(),Ru=!jr&&!cr,Xi=!1;if(ha){if(Jt){for(;Yi;){for(Or=or;Or=Or[Yi];)if(cr?D(Or,ho):Or.nodeType===1)return!1;Bi=Yi=xe==="only"&&!Bi&&"nextSibling"}return!0}if(Bi=[tr?ha.firstChild:ha.lastChild],tr&&Ru){for(nn=ha[Rt]||(ha[Rt]={}),zr=nn[xe]||[],Zn=zr[0]===st&&zr[1],Xi=Zn&&zr[2],Or=Zn&&ha.childNodes[Zn];Or=++Zn&&Or&&Or[Yi]||(Xi=Zn=0)||Bi.pop();)if(Or.nodeType===1&&++Xi&&Or===or){nn[xe]=[st,Zn,Xi];break}}else if(Ru&&(nn=or[Rt]||(or[Rt]={}),zr=nn[xe]||[],Zn=zr[0]===st&&zr[1],Xi=Zn),Xi===!1)for(;(Or=++Zn&&Or&&Or[Yi]||(Xi=Zn=0)||Bi.pop())&&!((cr?D(Or,ho):Or.nodeType===1)&&++Xi&&(Ru&&(nn=Or[Rt]||(Or[Rt]={}),nn[xe]=[st,Xi]),Or===or)););return Xi-=Dt,Xi===Et||Xi%Et===0&&Xi/Et>=0}}},PSEUDO:function(xe,We){var lt,Et=R.pseudos[xe]||R.setFilters[xe.toLowerCase()]||He.error("unsupported pseudo: "+xe);return Et[Rt]?Et(We):Et.length>1?(lt=[xe,xe,"",We],R.setFilters.hasOwnProperty(xe.toLowerCase())?Tt(function(Dt,Jt){for(var tr,cr=Et(Dt,We),or=cr.length;or--;)tr=s.call(Dt,cr[or]),Dt[tr]=!(Jt[tr]=cr[or])}):function(Dt){return Et(Dt,0,lt)}):Et}},pseudos:{not:Tt(function(xe){var We=[],lt=[],Et=Mf(xe.replace(Q,"$1"));return Et[Rt]?Tt(function(Dt,Jt,tr,cr){for(var or,on=Et(Dt,null,cr,[]),jr=Dt.length;jr--;)(or=on[jr])&&(Dt[jr]=!(Jt[jr]=or))}):function(Dt,Jt,tr){return We[0]=Dt,Et(We,null,tr,lt),We[0]=null,!lt.pop()}}),has:Tt(function(xe){return function(We){return He(xe,We).length>0}}),contains:Tt(function(xe){return xe=xe.replace(Qa,ie),function(We){return(We.textContent||y.text(We)).indexOf(xe)>-1}}),lang:Tt(function(xe){return Hr.test(xe||"")||He.error("unsupported lang: "+xe),xe=xe.replace(Qa,ie).toLowerCase(),function(We){var lt;do if(lt=Le?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return lt=lt.toLowerCase(),lt===xe||lt.indexOf(xe+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(xe){var We=t.location&&t.location.hash;return We&&We.slice(1)===xe.id},root:function(xe){return xe===Ue},focus:function(xe){return xe===Fe()&&he.hasFocus()&&!!(xe.type||xe.href||~xe.tabIndex)},enabled:Qn(!1),disabled:Qn(!0),checked:function(xe){return D(xe,"input")&&!!xe.checked||D(xe,"option")&&!!xe.selected},selected:function(xe){return xe.parentNode&&xe.parentNode.selectedIndex,xe.selected===!0},empty:function(xe){for(xe=xe.firstChild;xe;xe=xe.nextSibling)if(xe.nodeType<6)return!1;return!0},parent:function(xe){return!R.pseudos.empty(xe)},header:function(xe){return ii.test(xe.nodeName)},input:function(xe){return Dn.test(xe.nodeName)},button:function(xe){return D(xe,"input")&&xe.type==="button"||D(xe,"button")},text:function(xe){var We;return D(xe,"input")&&xe.type==="text"&&((We=xe.getAttribute("type"))==null||We.toLowerCase()==="text")},first:pi(function(){return[0]}),last:pi(function(xe,We){return[We-1]}),eq:pi(function(xe,We,lt){return[lt<0?lt+We:lt]}),even:pi(function(xe,We){for(var lt=0;lt<We;lt+=2)xe.push(lt);return xe}),odd:pi(function(xe,We){for(var lt=1;lt<We;lt+=2)xe.push(lt);return xe}),lt:pi(function(xe,We,lt){var Et;for(lt<0?Et=lt+We:lt>We?Et=We:Et=lt;--Et>=0;)xe.push(Et);return xe}),gt:pi(function(xe,We,lt){for(var Et=lt<0?lt+We:lt;++Et<We;)xe.push(Et);return xe})}},R.pseudos.nth=R.pseudos.eq;for(S in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})R.pseudos[S]=Br(S);for(S in{submit:!0,reset:!0})R.pseudos[S]=Fr(S);function yh(){}yh.prototype=R.filters=R.pseudos,R.setFilters=new yh;function hl(xe,We){var lt,Et,Dt,Jt,tr,cr,or,on=tn[xe+" "];if(on)return We?0:on.slice(0);for(tr=xe,cr=[],or=R.preFilter;tr;){(!lt||(Et=et.exec(tr)))&&(Et&&(tr=tr.slice(Et[0].length)||tr),cr.push(Dt=[])),lt=!1,(Et=It.exec(tr))&&(lt=Et.shift(),Dt.push({value:lt,type:Et[0].replace(Q," ")}),tr=tr.slice(lt.length));for(Jt in R.filter)(Et=xr[Jt].exec(tr))&&(!or[Jt]||(Et=or[Jt](Et)))&&(lt=Et.shift(),Dt.push({value:lt,type:Jt,matches:Et}),tr=tr.slice(lt.length));if(!lt)break}return We?tr.length:tr?He.error(xe):tn(xe,cr).slice(0)}function eu(xe){for(var We=0,lt=xe.length,Et="";We<lt;We++)Et+=xe[We].value;return Et}function tu(xe,We,lt){var Et=We.dir,Dt=We.next,Jt=Dt||Et,tr=lt&&Jt==="parentNode",cr=Vt++;return We.first?(function(or,on,jr){for(;or=or[Et];)if(or.nodeType===1||tr)return xe(or,on,jr);return!1}):(function(or,on,jr){var zr,nn,Or=[st,cr];if(jr){for(;or=or[Et];)if((or.nodeType===1||tr)&&xe(or,on,jr))return!0}else for(;or=or[Et];)if(or.nodeType===1||tr)if(nn=or[Rt]||(or[Rt]={}),Dt&&D(or,Dt))or=or[Et]||or;else{if((zr=nn[Jt])&&zr[0]===st&&zr[1]===cr)return Or[2]=zr[2];if(nn[Jt]=Or,Or[2]=xe(or,on,jr))return!0}return!1})}function _h(xe){return xe.length>1?function(We,lt,Et){for(var Dt=xe.length;Dt--;)if(!xe[Dt](We,lt,Et))return!1;return!0}:xe[0]}function Df(xe,We,lt){for(var Et=0,Dt=We.length;Et<Dt;Et++)He(xe,We[Et],lt);return lt}function Lf(xe,We,lt,Et,Dt){for(var Jt,tr=[],cr=0,or=xe.length,on=We!=null;cr<or;cr++)(Jt=xe[cr])&&(!lt||lt(Jt,Et,Dt))&&(tr.push(Jt),on&&We.push(cr));return tr}function Nf(xe,We,lt,Et,Dt,Jt){return Et&&!Et[Rt]&&(Et=Nf(Et)),Dt&&!Dt[Rt]&&(Dt=Nf(Dt,Jt)),Tt(function(tr,cr,or,on){var jr,zr,nn,Or,Zn=[],Bi=[],Yi=cr.length,ha=tr||Df(We||"*",or.nodeType?[or]:or,[]),ho=xe&&(tr||!We)?Lf(ha,Zn,xe,or,on):ha;if(lt?(Or=Dt||(tr?xe:Yi||Et)?[]:cr,lt(ho,Or,or,on)):Or=ho,Et)for(jr=Lf(Or,Bi),Et(jr,[],or,on),zr=jr.length;zr--;)(nn=jr[zr])&&(Or[Bi[zr]]=!(ho[Bi[zr]]=nn));if(tr){if(Dt||xe){if(Dt){for(jr=[],zr=Or.length;zr--;)(nn=Or[zr])&&jr.push(ho[zr]=nn);Dt(null,Or=[],jr,on)}for(zr=Or.length;zr--;)(nn=Or[zr])&&(jr=Dt?s.call(tr,nn):Zn[zr])>-1&&(tr[jr]=!(cr[jr]=nn))}}else Or=Lf(Or===cr?Or.splice(Yi,Or.length):Or),Dt?Dt(null,cr,Or,on):le.apply(cr,Or)})}function lc(xe){for(var We,lt,Et,Dt=xe.length,Jt=R.relative[xe[0].type],tr=Jt||R.relative[" "],cr=Jt?1:0,or=tu(function(zr){return zr===We},tr,!0),on=tu(function(zr){return s.call(We,zr)>-1},tr,!0),jr=[function(zr,nn,Or){var Zn=!Jt&&(Or||nn!=M)||((We=nn).nodeType?or(zr,nn,Or):on(zr,nn,Or));return We=null,Zn}];cr<Dt;cr++)if(lt=R.relative[xe[cr].type])jr=[tu(_h(jr),lt)];else{if(lt=R.filter[xe[cr].type].apply(null,xe[cr].matches),lt[Rt]){for(Et=++cr;Et<Dt&&!R.relative[xe[Et].type];Et++);return Nf(cr>1&&_h(jr),cr>1&&eu(xe.slice(0,cr-1).concat({value:xe[cr-2].type===" "?"*":""})).replace(Q,"$1"),lt,cr<Et&&lc(xe.slice(cr,Et)),Et<Dt&&lc(xe=xe.slice(Et)),Et<Dt&&eu(xe))}jr.push(lt)}return _h(jr)}function Sh(xe,We){var lt=We.length>0,Et=xe.length>0,Dt=function(Jt,tr,cr,or,on){var jr,zr,nn,Or=0,Zn="0",Bi=Jt&&[],Yi=[],ha=M,ho=Jt||Et&&R.find.TAG("*",on),Ru=st+=ha==null?1:Math.random()||.1,Xi=ho.length;for(on&&(M=tr==he||tr||on);Zn!==Xi&&(jr=ho[Zn])!=null;Zn++){if(Et&&jr){for(zr=0,!tr&&jr.ownerDocument!=he&&(Ho(jr),cr=!Le);nn=xe[zr++];)if(nn(jr,tr||he,cr)){le.call(or,jr);break}on&&(st=Ru)}lt&&((jr=!nn&&jr)&&Or--,Jt&&Bi.push(jr))}if(Or+=Zn,lt&&Zn!==Or){for(zr=0;nn=We[zr++];)nn(Bi,Yi,tr,cr);if(Jt){if(Or>0)for(;Zn--;)Bi[Zn]||Yi[Zn]||(Yi[Zn]=V.call(or));Yi=Lf(Yi)}le.apply(or,Yi),on&&!Jt&&Yi.length>0&&Or+We.length>1&&y.uniqueSort(or)}return on&&(st=Ru,M=ha),Bi};return lt?Tt(Dt):Dt}function Mf(xe,We){var lt,Et=[],Dt=[],Jt=Vr[xe+" "];if(!Jt){for(We||(We=hl(xe)),lt=We.length;lt--;)Jt=lc(We[lt]),Jt[Rt]?Et.push(Jt):Dt.push(Jt);Jt=Vr(xe,Sh(Dt,Et)),Jt.selector=xe}return Jt}function Eh(xe,We,lt,Et){var Dt,Jt,tr,cr,or,on=typeof xe=="function"&&xe,jr=!Et&&hl(xe=on.selector||xe);if(lt=lt||[],jr.length===1){if(Jt=jr[0]=jr[0].slice(0),Jt.length>2&&(tr=Jt[0]).type==="ID"&&We.nodeType===9&&Le&&R.relative[Jt[1].type]){if(We=(R.find.ID(tr.matches[0].replace(Qa,ie),We)||[])[0],We)on&&(We=We.parentNode);else return lt;xe=xe.slice(Jt.shift().value.length)}for(Dt=xr.needsContext.test(xe)?0:Jt.length;Dt--&&(tr=Jt[Dt],!R.relative[cr=tr.type]);)if((or=R.find[cr])&&(Et=or(tr.matches[0].replace(Qa,ie),uc.test(Jt[0].type)&&dl(We.parentNode)||We))){if(Jt.splice(Dt,1),xe=Et.length&&eu(Jt),!xe)return le.apply(lt,Et),lt;break}}return(on||Mf(xe,jr))(Et,We,!Le,lt,!We||uc.test(xe)&&dl(We.parentNode)||We),lt}m.sortStable=Rt.split("").sort(li).join("")===Rt,Ho(),m.sortDetached=Yt(function(xe){return xe.compareDocumentPosition(he.createElement("fieldset"))&1}),y.find=He,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,He.compile=Mf,He.select=Eh,He.setDocument=Ho,He.tokenize=hl,He.escape=y.escapeSelector,He.getText=y.text,He.isXML=y.isXMLDoc,He.selectors=y.expr,He.support=y.support,He.uniqueSort=y.uniqueSort})();var I=function(S,R,M){for(var Y=[],ae=M!==void 0;(S=S[R])&&S.nodeType!==9;)if(S.nodeType===1){if(ae&&y(S).is(M))break;Y.push(S)}return Y},N=function(S,R){for(var M=[];S;S=S.nextSibling)S.nodeType===1&&S!==R&&M.push(S);return M},re=y.expr.match.needsContext,ee=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ce(S,R,M){return _(R)?y.grep(S,function(Y,ae){return!!R.call(Y,ae,Y)!==M}):R.nodeType?y.grep(S,function(Y){return Y===R!==M}):typeof R!="string"?y.grep(S,function(Y){return s.call(R,Y)>-1!==M}):y.filter(R,S,M)}y.filter=function(S,R,M){var Y=R[0];return M&&(S=":not("+S+")"),R.length===1&&Y.nodeType===1?y.find.matchesSelector(Y,S)?[Y]:[]:y.find.matches(S,y.grep(R,function(ae){return ae.nodeType===1}))},y.fn.extend({find:function(S){var R,M,Y=this.length,ae=this;if(typeof S!="string")return this.pushStack(y(S).filter(function(){for(R=0;R<Y;R++)if(y.contains(ae[R],this))return!0}));for(M=this.pushStack([]),R=0;R<Y;R++)y.find(S,ae[R],M);return Y>1?y.uniqueSort(M):M},filter:function(S){return this.pushStack(ce(this,S||[],!1))},not:function(S){return this.pushStack(ce(this,S||[],!0))},is:function(S){return!!ce(this,typeof S=="string"&&re.test(S)?y(S):S||[],!1).length}});var be,Ie=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,je=y.fn.init=function(S,R,M){var Y,ae;if(!S)return this;if(M=M||be,typeof S=="string")if(S[0]==="<"&&S[S.length-1]===">"&&S.length>=3?Y=[null,S,null]:Y=Ie.exec(S),Y&&(Y[1]||!R))if(Y[1]){if(R=R instanceof y?R[0]:R,y.merge(this,y.parseHTML(Y[1],R&&R.nodeType?R.ownerDocument||R:w,!0)),ee.test(Y[1])&&y.isPlainObject(R))for(Y in R)_(this[Y])?this[Y](R[Y]):this.attr(Y,R[Y]);return this}else return ae=w.getElementById(Y[2]),ae&&(this[0]=ae,this.length=1),this;else return!R||R.jquery?(R||M).find(S):this.constructor(R).find(S);else{if(S.nodeType)return this[0]=S,this.length=1,this;if(_(S))return M.ready!==void 0?M.ready(S):S(y)}return y.makeArray(S,this)};je.prototype=y.fn,be=y(w);var z=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};y.fn.extend({has:function(S){var R=y(S,this),M=R.length;return this.filter(function(){for(var Y=0;Y<M;Y++)if(y.contains(this,R[Y]))return!0})},closest:function(S,R){var M,Y=0,ae=this.length,le=[],he=typeof S!="string"&&y(S);if(!re.test(S)){for(;Y<ae;Y++)for(M=this[Y];M&&M!==R;M=M.parentNode)if(M.nodeType<11&&(he?he.index(M)>-1:M.nodeType===1&&y.find.matchesSelector(M,S))){le.push(M);break}}return this.pushStack(le.length>1?y.uniqueSort(le):le)},index:function(S){return S?typeof S=="string"?s.call(y(S),this[0]):s.call(this,S.jquery?S[0]:S):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(S,R){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(S,R))))},addBack:function(S){return this.add(S==null?this.prevObject:this.prevObject.filter(S))}});function U(S,R){for(;(S=S[R])&&S.nodeType!==1;);return S}y.each({parent:function(S){var R=S.parentNode;return R&&R.nodeType!==11?R:null},parents:function(S){return I(S,"parentNode")},parentsUntil:function(S,R,M){return I(S,"parentNode",M)},next:function(S){return U(S,"nextSibling")},prev:function(S){return U(S,"previousSibling")},nextAll:function(S){return I(S,"nextSibling")},prevAll:function(S){return I(S,"previousSibling")},nextUntil:function(S,R,M){return I(S,"nextSibling",M)},prevUntil:function(S,R,M){return I(S,"previousSibling",M)},siblings:function(S){return N((S.parentNode||{}).firstChild,S)},children:function(S){return N(S.firstChild)},contents:function(S){return S.contentDocument!=null&&i(S.contentDocument)?S.contentDocument:(D(S,"template")&&(S=S.content||S),y.merge([],S.childNodes))}},function(S,R){y.fn[S]=function(M,Y){var ae=y.map(this,R,M);return S.slice(-5)!=="Until"&&(Y=M),Y&&typeof Y=="string"&&(ae=y.filter(Y,ae)),this.length>1&&(k[S]||y.uniqueSort(ae),z.test(S)&&ae.reverse()),this.pushStack(ae)}});var H=/[^\x20\t\r\n\f]+/g;function ne(S){var R={};return y.each(S.match(H)||[],function(M,Y){R[Y]=!0}),R}y.Callbacks=function(S){S=typeof S=="string"?ne(S):y.extend({},S);var R,M,Y,ae,le=[],he=[],Ue=-1,Le=function(){for(ae=ae||S.once,Y=R=!0;he.length;Ue=-1)for(M=he.shift();++Ue<le.length;)le[Ue].apply(M[0],M[1])===!1&&S.stopOnFalse&&(Ue=le.length,M=!1);S.memory||(M=!1),R=!1,ae&&(M?le=[]:le="")},Ge={add:function(){return le&&(M&&!R&&(Ue=le.length-1,he.push(M)),(function wt(Rt){y.each(Rt,function(st,Vt){_(Vt)?(!S.unique||!Ge.has(Vt))&&le.push(Vt):Vt&&Vt.length&&T(Vt)!=="string"&&wt(Vt)})})(arguments),M&&!R&&Le()),this},remove:function(){return y.each(arguments,function(wt,Rt){for(var st;(st=y.inArray(Rt,le,st))>-1;)le.splice(st,1),st<=Ue&&Ue--}),this},has:function(wt){return wt?y.inArray(wt,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&&!R&&(le=M=""),this},locked:function(){return!!ae},fireWith:function(wt,Rt){return ae||(Rt=Rt||[],Rt=[wt,Rt.slice?Rt.slice():Rt],he.push(Rt),R||Le()),this},fire:function(){return Ge.fireWith(this,arguments),this},fired:function(){return!!Y}};return Ge};function q(S){return S}function J(S){throw S}function me(S,R,M,Y){var ae;try{S&&_(ae=S.promise)?ae.call(S).done(R).fail(M):S&&_(ae=S.then)?ae.call(S,R,M):R.apply(void 0,[S].slice(Y))}catch(le){M.apply(void 0,[le])}}y.extend({Deferred:function(S){var R=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.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 y.Deferred(function(he){y.each(R,function(Ue,Le){var Ge=_(le[Le[4]])&&le[Le[4]];ae[Le[1]](function(){var wt=Ge&&Ge.apply(this,arguments);wt&&_(wt.promise)?wt.promise().progress(he.notify).done(he.resolve).fail(he.reject):he[Le[0]+"With"](this,Ge?[wt]:arguments)})}),le=null}).promise()},then:function(le,he,Ue){var Le=0;function Ge(wt,Rt,st,Vt){return function(){var Rr=this,tn=arguments,Vr=function(){var li,G;if(!(wt<Le)){if(li=st.apply(Rr,tn),li===Rt.promise())throw new TypeError("Thenable self-resolution");G=li&&(typeof li=="object"||typeof li=="function")&&li.then,_(G)?Vt?G.call(li,Ge(Le,Rt,q,Vt),Ge(Le,Rt,J,Vt)):(Le++,G.call(li,Ge(Le,Rt,q,Vt),Ge(Le,Rt,J,Vt),Ge(Le,Rt,q,Rt.notifyWith))):(st!==q&&(Rr=void 0,tn=[li]),(Vt||Rt.resolveWith)(Rr,tn))}},Xn=Vt?Vr:function(){try{Vr()}catch(li){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(li,Xn.error),wt+1>=Le&&(st!==J&&(Rr=void 0,tn=[li]),Rt.rejectWith(Rr,tn))}};wt?Xn():(y.Deferred.getErrorHook?Xn.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(Xn.error=y.Deferred.getStackHook()),t.setTimeout(Xn))}}return y.Deferred(function(wt){R[0][3].add(Ge(0,wt,_(Ue)?Ue:q,wt.notifyWith)),R[1][3].add(Ge(0,wt,_(le)?le:q)),R[2][3].add(Ge(0,wt,_(he)?he:J))}).promise()},promise:function(le){return le!=null?y.extend(le,Y):Y}},ae={};return y.each(R,function(le,he){var Ue=he[2],Le=he[5];Y[he[1]]=Ue.add,Le&&Ue.add(function(){M=Le},R[3-le][2].disable,R[3-le][3].disable,R[0][2].lock,R[0][3].lock),Ue.add(he[3].fire),ae[he[0]]=function(){return ae[he[0]+"With"](this===ae?void 0:this,arguments),this},ae[he[0]+"With"]=Ue.fireWith}),Y.promise(ae),S&&S.call(ae,ae),ae},when:function(S){var R=arguments.length,M=R,Y=Array(M),ae=a.call(arguments),le=y.Deferred(),he=function(Ue){return function(Le){Y[Ue]=this,ae[Ue]=arguments.length>1?a.call(arguments):Le,--R||le.resolveWith(Y,ae)}};if(R<=1&&(me(S,le.done(he(M)).resolve,le.reject,!R),le.state()==="pending"||_(ae[M]&&ae[M].then)))return le.then();for(;M--;)me(ae[M],he(M),le.reject);return le.promise()}});var fe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(S,R){t.console&&t.console.warn&&S&&fe.test(S.name)&&t.console.warn("jQuery.Deferred exception: "+S.message,S.stack,R)},y.readyException=function(S){t.setTimeout(function(){throw S})};var Te=y.Deferred();y.fn.ready=function(S){return Te.then(S).catch(function(R){y.readyException(R)}),this},y.extend({isReady:!1,readyWait:1,ready:function(S){(S===!0?--y.readyWait:y.isReady)||(y.isReady=!0,!(S!==!0&&--y.readyWait>0)&&Te.resolveWith(w,[y]))}}),y.ready.then=Te.then;function Se(){w.removeEventListener("DOMContentLoaded",Se),t.removeEventListener("load",Se),y.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(y.ready):(w.addEventListener("DOMContentLoaded",Se),t.addEventListener("load",Se));var Oe=function(S,R,M,Y,ae,le,he){var Ue=0,Le=S.length,Ge=M==null;if(T(M)==="object"){ae=!0;for(Ue in M)Oe(S,R,Ue,M[Ue],!0,le,he)}else if(Y!==void 0&&(ae=!0,_(Y)||(he=!0),Ge&&(he?(R.call(S,Y),R=null):(Ge=R,R=function(wt,Rt,st){return Ge.call(y(wt),st)})),R))for(;Ue<Le;Ue++)R(S[Ue],M,he?Y:Y.call(S[Ue],Ue,R(S[Ue],M)));return ae?S:Ge?R.call(S):Le?R(S[0],M):le},Me=/^-ms-/,de=/-([a-z])/g;function Ee(S,R){return R.toUpperCase()}function _e(S){return S.replace(Me,"ms-").replace(de,Ee)}var Ae=function(S){return S.nodeType===1||S.nodeType===9||!+S.nodeType};function De(){this.expando=y.expando+De.uid++}De.uid=1,De.prototype={cache:function(S){var R=S[this.expando];return R||(R={},Ae(S)&&(S.nodeType?S[this.expando]=R:Object.defineProperty(S,this.expando,{value:R,configurable:!0}))),R},set:function(S,R,M){var Y,ae=this.cache(S);if(typeof R=="string")ae[_e(R)]=M;else for(Y in R)ae[_e(Y)]=R[Y];return ae},get:function(S,R){return R===void 0?this.cache(S):S[this.expando]&&S[this.expando][_e(R)]},access:function(S,R,M){return R===void 0||R&&typeof R=="string"&&M===void 0?this.get(S,R):(this.set(S,R,M),M!==void 0?M:R)},remove:function(S,R){var M,Y=S[this.expando];if(Y!==void 0){if(R!==void 0)for(Array.isArray(R)?R=R.map(_e):(R=_e(R),R=R in Y?[R]:R.match(H)||[]),M=R.length;M--;)delete Y[R[M]];(R===void 0||y.isEmptyObject(Y))&&(S.nodeType?S[this.expando]=void 0:delete S[this.expando])}},hasData:function(S){var R=S[this.expando];return R!==void 0&&!y.isEmptyObject(R)}};var Ne=new De,Be=new De,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ut=/[A-Z]/g;function Mt(S){return S==="true"?!0:S==="false"?!1:S==="null"?null:S===+S+""?+S:_t.test(S)?JSON.parse(S):S}function Qe(S,R,M){var Y;if(M===void 0&&S.nodeType===1)if(Y="data-"+R.replace(Ut,"-$&").toLowerCase(),M=S.getAttribute(Y),typeof M=="string"){try{M=Mt(M)}catch{}Be.set(S,R,M)}else M=void 0;return M}y.extend({hasData:function(S){return Be.hasData(S)||Ne.hasData(S)},data:function(S,R,M){return Be.access(S,R,M)},removeData:function(S,R){Be.remove(S,R)},_data:function(S,R,M){return Ne.access(S,R,M)},_removeData:function(S,R){Ne.remove(S,R)}}),y.fn.extend({data:function(S,R){var M,Y,ae,le=this[0],he=le&&le.attributes;if(S===void 0){if(this.length&&(ae=Be.get(le),le.nodeType===1&&!Ne.get(le,"hasDataAttrs"))){for(M=he.length;M--;)he[M]&&(Y=he[M].name,Y.indexOf("data-")===0&&(Y=_e(Y.slice(5)),Qe(le,Y,ae[Y])));Ne.set(le,"hasDataAttrs",!0)}return ae}return typeof S=="object"?this.each(function(){Be.set(this,S)}):Oe(this,function(Ue){var Le;if(le&&Ue===void 0)return Le=Be.get(le,S),Le!==void 0||(Le=Qe(le,S),Le!==void 0)?Le:void 0;this.each(function(){Be.set(this,S,Ue)})},null,R,arguments.length>1,null,!0)},removeData:function(S){return this.each(function(){Be.remove(this,S)})}}),y.extend({queue:function(S,R,M){var Y;if(S)return R=(R||"fx")+"queue",Y=Ne.get(S,R),M&&(!Y||Array.isArray(M)?Y=Ne.access(S,R,y.makeArray(M)):Y.push(M)),Y||[]},dequeue:function(S,R){R=R||"fx";var M=y.queue(S,R),Y=M.length,ae=M.shift(),le=y._queueHooks(S,R),he=function(){y.dequeue(S,R)};ae==="inprogress"&&(ae=M.shift(),Y--),ae&&(R==="fx"&&M.unshift("inprogress"),delete le.stop,ae.call(S,he,le)),!Y&&le&&le.empty.fire()},_queueHooks:function(S,R){var M=R+"queueHooks";return Ne.get(S,M)||Ne.access(S,M,{empty:y.Callbacks("once memory").add(function(){Ne.remove(S,[R+"queue",M])})})}}),y.fn.extend({queue:function(S,R){var M=2;return typeof S!="string"&&(R=S,S="fx",M--),arguments.length<M?y.queue(this[0],S):R===void 0?this:this.each(function(){var Y=y.queue(this,S,R);y._queueHooks(this,S),S==="fx"&&Y[0]!=="inprogress"&&y.dequeue(this,S)})},dequeue:function(S){return this.each(function(){y.dequeue(this,S)})},clearQueue:function(S){return this.queue(S||"fx",[])},promise:function(S,R){var M,Y=1,ae=y.Deferred(),le=this,he=this.length,Ue=function(){--Y||ae.resolveWith(le,[le])};for(typeof S!="string"&&(R=S,S=void 0),S=S||"fx";he--;)M=Ne.get(le[he],S+"queueHooks"),M&&M.empty&&(Y++,M.empty.add(Ue));return Ue(),ae.promise(R)}});var bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+bt+")([a-z%]*)$","i"),St=["Top","Right","Bottom","Left"],yt=w.documentElement,at=function(S){return y.contains(S.ownerDocument,S)},Ft={composed:!0};yt.getRootNode&&(at=function(S){return y.contains(S.ownerDocument,S)||S.getRootNode(Ft)===S.ownerDocument});var At=function(S,R){return S=R||S,S.style.display==="none"||S.style.display===""&&at(S)&&y.css(S,"display")==="none"};function Re(S,R,M,Y){var ae,le,he=20,Ue=Y?function(){return Y.cur()}:function(){return y.css(S,R,"")},Le=Ue(),Ge=M&&M[3]||(y.cssNumber[R]?"":"px"),wt=S.nodeType&&(y.cssNumber[R]||Ge!=="px"&&+Le)&&mt.exec(y.css(S,R));if(wt&&wt[3]!==Ge){for(Le=Le/2,Ge=Ge||wt[3],wt=+Le||1;he--;)y.style(S,R,wt+Ge),(1-le)*(1-(le=Ue()/Le||.5))<=0&&(he=0),wt=wt/le;wt=wt*2,y.style(S,R,wt+Ge),M=M||[]}return M&&(wt=+wt||+Le||0,ae=M[1]?wt+(M[1]+1)*M[2]:+M[2],Y&&(Y.unit=Ge,Y.start=wt,Y.end=ae)),ae}var Je={};function ut(S){var R,M=S.ownerDocument,Y=S.nodeName,ae=Je[Y];return ae||(R=M.body.appendChild(M.createElement(Y)),ae=y.css(R,"display"),R.parentNode.removeChild(R),ae==="none"&&(ae="block"),Je[Y]=ae,ae)}function Ct(S,R){for(var M,Y,ae=[],le=0,he=S.length;le<he;le++)Y=S[le],Y.style&&(M=Y.style.display,R?(M==="none"&&(ae[le]=Ne.get(Y,"display")||null,ae[le]||(Y.style.display="")),Y.style.display===""&&At(Y)&&(ae[le]=ut(Y))):M!=="none"&&(ae[le]="none",Ne.set(Y,"display",M)));for(le=0;le<he;le++)ae[le]!=null&&(S[le].style.display=ae[le]);return S}y.fn.extend({show:function(){return Ct(this,!0)},hide:function(){return Ct(this)},toggle:function(S){return typeof S=="boolean"?S?this.show():this.hide():this.each(function(){At(this)?y(this).show():y(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,rr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Sr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var S=w.createDocumentFragment(),R=S.appendChild(w.createElement("div")),M=w.createElement("input");M.setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),R.appendChild(M),m.checkClone=R.cloneNode(!0).cloneNode(!0).lastChild.checked,R.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!R.cloneNode(!0).lastChild.defaultValue,R.innerHTML="<option></option>",m.option=!!R.lastChild})();var ur={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,"",""]};ur.tbody=ur.tfoot=ur.colgroup=ur.caption=ur.thead,ur.th=ur.td,m.option||(ur.optgroup=ur.option=[1,"<select multiple='multiple'>","</select>"]);function mr(S,R){var M;return typeof S.getElementsByTagName<"u"?M=S.getElementsByTagName(R||"*"):typeof S.querySelectorAll<"u"?M=S.querySelectorAll(R||"*"):M=[],R===void 0||R&&D(S,R)?y.merge([S],M):M}function Lr(S,R){for(var M=0,Y=S.length;M<Y;M++)Ne.set(S[M],"globalEval",!R||Ne.get(R[M],"globalEval"))}var un=/<|&#?\w+;/;function ui(S,R,M,Y,ae){for(var le,he,Ue,Le,Ge,wt,Rt=R.createDocumentFragment(),st=[],Vt=0,Rr=S.length;Vt<Rr;Vt++)if(le=S[Vt],le||le===0)if(T(le)==="object")y.merge(st,le.nodeType?[le]:le);else if(!un.test(le))st.push(R.createTextNode(le));else{for(he=he||Rt.appendChild(R.createElement("div")),Ue=(rr.exec(le)||["",""])[1].toLowerCase(),Le=ur[Ue]||ur._default,he.innerHTML=Le[1]+y.htmlPrefilter(le)+Le[2],wt=Le[0];wt--;)he=he.lastChild;y.merge(st,he.childNodes),he=Rt.firstChild,he.textContent=""}for(Rt.textContent="",Vt=0;le=st[Vt++];){if(Y&&y.inArray(le,Y)>-1){ae&&ae.push(le);continue}if(Ge=at(le),he=mr(Rt.appendChild(le),"script"),Ge&&Lr(he),M)for(wt=0;le=he[wt++];)Sr.test(le.type||"")&&M.push(le)}return Rt}var Pn=/^([^.]*)(?:\.(.+)|)/;function wn(){return!0}function _n(){return!1}function Kn(S,R,M,Y,ae,le){var he,Ue;if(typeof R=="object"){typeof M!="string"&&(Y=Y||M,M=void 0);for(Ue in R)Kn(S,Ue,M,Y,R[Ue],le);return S}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=_n;else if(!ae)return S;return le===1&&(he=ae,ae=function(Le){return y().off(Le),he.apply(this,arguments)},ae.guid=he.guid||(he.guid=y.guid++)),S.each(function(){y.event.add(this,R,ae,Y,M)})}y.event={global:{},add:function(S,R,M,Y,ae){var le,he,Ue,Le,Ge,wt,Rt,st,Vt,Rr,tn,Vr=Ne.get(S);if(Ae(S))for(M.handler&&(le=M,M=le.handler,ae=le.selector),ae&&y.find.matchesSelector(yt,ae),M.guid||(M.guid=y.guid++),(Le=Vr.events)||(Le=Vr.events=Object.create(null)),(he=Vr.handle)||(he=Vr.handle=function(Xn){return typeof y<"u"&&y.event.triggered!==Xn.type?y.event.dispatch.apply(S,arguments):void 0}),R=(R||"").match(H)||[""],Ge=R.length;Ge--;)Ue=Pn.exec(R[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),Vt&&(Rt=y.event.special[Vt]||{},Vt=(ae?Rt.delegateType:Rt.bindType)||Vt,Rt=y.event.special[Vt]||{},wt=y.extend({type:Vt,origType:tn,data:Y,handler:M,guid:M.guid,selector:ae,needsContext:ae&&y.expr.match.needsContext.test(ae),namespace:Rr.join(".")},le),(st=Le[Vt])||(st=Le[Vt]=[],st.delegateCount=0,(!Rt.setup||Rt.setup.call(S,Y,Rr,he)===!1)&&S.addEventListener&&S.addEventListener(Vt,he)),Rt.add&&(Rt.add.call(S,wt),wt.handler.guid||(wt.handler.guid=M.guid)),ae?st.splice(st.delegateCount++,0,wt):st.push(wt),y.event.global[Vt]=!0)},remove:function(S,R,M,Y,ae){var le,he,Ue,Le,Ge,wt,Rt,st,Vt,Rr,tn,Vr=Ne.hasData(S)&&Ne.get(S);if(!(!Vr||!(Le=Vr.events))){for(R=(R||"").match(H)||[""],Ge=R.length;Ge--;){if(Ue=Pn.exec(R[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),!Vt){for(Vt in Le)y.event.remove(S,Vt+R[Ge],M,Y,!0);continue}for(Rt=y.event.special[Vt]||{},Vt=(Y?Rt.delegateType:Rt.bindType)||Vt,st=Le[Vt]||[],Ue=Ue[2]&&new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"),he=le=st.length;le--;)wt=st[le],(ae||tn===wt.origType)&&(!M||M.guid===wt.guid)&&(!Ue||Ue.test(wt.namespace))&&(!Y||Y===wt.selector||Y==="**"&&wt.selector)&&(st.splice(le,1),wt.selector&&st.delegateCount--,Rt.remove&&Rt.remove.call(S,wt));he&&!st.length&&((!Rt.teardown||Rt.teardown.call(S,Rr,Vr.handle)===!1)&&y.removeEvent(S,Vt,Vr.handle),delete Le[Vt])}y.isEmptyObject(Le)&&Ne.remove(S,"handle events")}},dispatch:function(S){var R,M,Y,ae,le,he,Ue=new Array(arguments.length),Le=y.event.fix(S),Ge=(Ne.get(this,"events")||Object.create(null))[Le.type]||[],wt=y.event.special[Le.type]||{};for(Ue[0]=Le,R=1;R<arguments.length;R++)Ue[R]=arguments[R];if(Le.delegateTarget=this,!(wt.preDispatch&&wt.preDispatch.call(this,Le)===!1)){for(he=y.event.handlers.call(this,Le,Ge),R=0;(ae=he[R++])&&!Le.isPropagationStopped();)for(Le.currentTarget=ae.elem,M=0;(le=ae.handlers[M++])&&!Le.isImmediatePropagationStopped();)(!Le.rnamespace||le.namespace===!1||Le.rnamespace.test(le.namespace))&&(Le.handleObj=le,Le.data=le.data,Y=((y.event.special[le.origType]||{}).handle||le.handler).apply(ae.elem,Ue),Y!==void 0&&(Le.result=Y)===!1&&(Le.preventDefault(),Le.stopPropagation()));return wt.postDispatch&&wt.postDispatch.call(this,Le),Le.result}},handlers:function(S,R){var M,Y,ae,le,he,Ue=[],Le=R.delegateCount,Ge=S.target;if(Le&&Ge.nodeType&&!(S.type==="click"&&S.button>=1)){for(;Ge!==this;Ge=Ge.parentNode||this)if(Ge.nodeType===1&&!(S.type==="click"&&Ge.disabled===!0)){for(le=[],he={},M=0;M<Le;M++)Y=R[M],ae=Y.selector+" ",he[ae]===void 0&&(he[ae]=Y.needsContext?y(ae,this).index(Ge)>-1:y.find(ae,this,null,[Ge]).length),he[ae]&&le.push(Y);le.length&&Ue.push({elem:Ge,handlers:le})}}return Ge=this,Le<R.length&&Ue.push({elem:Ge,handlers:R.slice(Le)}),Ue},addProp:function(S,R){Object.defineProperty(y.Event.prototype,S,{enumerable:!0,configurable:!0,get:_(R)?function(){if(this.originalEvent)return R(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[S]},set:function(M){Object.defineProperty(this,S,{enumerable:!0,configurable:!0,writable:!0,value:M})}})},fix:function(S){return S[y.expando]?S:new y.Event(S)},special:{load:{noBubble:!0},click:{setup:function(S){var R=this||S;return kt.test(R.type)&&R.click&&D(R,"input")&&Yn(R,"click",!0),!1},trigger:function(S){var R=this||S;return kt.test(R.type)&&R.click&&D(R,"input")&&Yn(R,"click"),!0},_default:function(S){var R=S.target;return kt.test(R.type)&&R.click&&D(R,"input")&&Ne.get(R,"click")||D(R,"a")}},beforeunload:{postDispatch:function(S){S.result!==void 0&&S.originalEvent&&(S.originalEvent.returnValue=S.result)}}}};function Yn(S,R,M){if(!M){Ne.get(S,R)===void 0&&y.event.add(S,R,wn);return}Ne.set(S,R,!1),y.event.add(S,R,{namespace:!1,handler:function(Y){var ae,le=Ne.get(this,R);if(Y.isTrigger&1&&this[R]){if(le)(y.event.special[R]||{}).delegateType&&Y.stopPropagation();else if(le=a.call(arguments),Ne.set(this,R,le),this[R](),ae=Ne.get(this,R),Ne.set(this,R,!1),le!==ae)return Y.stopImmediatePropagation(),Y.preventDefault(),ae}else le&&(Ne.set(this,R,y.event.trigger(le[0],le.slice(1),this)),Y.stopPropagation(),Y.isImmediatePropagationStopped=wn)}})}y.removeEvent=function(S,R,M){S.removeEventListener&&S.removeEventListener(R,M)},y.Event=function(S,R){if(!(this instanceof y.Event))return new y.Event(S,R);S&&S.type?(this.originalEvent=S,this.type=S.type,this.isDefaultPrevented=S.defaultPrevented||S.defaultPrevented===void 0&&S.returnValue===!1?wn:_n,this.target=S.target&&S.target.nodeType===3?S.target.parentNode:S.target,this.currentTarget=S.currentTarget,this.relatedTarget=S.relatedTarget):this.type=S,R&&y.extend(this,R),this.timeStamp=S&&S.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:_n,isPropagationStopped:_n,isImmediatePropagationStopped:_n,isSimulated:!1,preventDefault:function(){var S=this.originalEvent;this.isDefaultPrevented=wn,S&&!this.isSimulated&&S.preventDefault()},stopPropagation:function(){var S=this.originalEvent;this.isPropagationStopped=wn,S&&!this.isSimulated&&S.stopPropagation()},stopImmediatePropagation:function(){var S=this.originalEvent;this.isImmediatePropagationStopped=wn,S&&!this.isSimulated&&S.stopImmediatePropagation(),this.stopPropagation()}},y.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},y.event.addProp),y.each({focus:"focusin",blur:"focusout"},function(S,R){function M(Y){if(w.documentMode){var ae=Ne.get(this,"handle"),le=y.event.fix(Y);le.type=Y.type==="focusin"?"focus":"blur",le.isSimulated=!0,ae(Y),le.target===le.currentTarget&&ae(le)}else y.event.simulate(R,Y.target,y.event.fix(Y))}y.event.special[S]={setup:function(){var Y;if(Yn(this,S,!0),w.documentMode)Y=Ne.get(this,R),Y||this.addEventListener(R,M),Ne.set(this,R,(Y||0)+1);else return!1},trigger:function(){return Yn(this,S),!0},teardown:function(){var Y;if(w.documentMode)Y=Ne.get(this,R)-1,Y?Ne.set(this,R,Y):(this.removeEventListener(R,M),Ne.remove(this,R));else return!1},_default:function(Y){return Ne.get(Y.target,S)},delegateType:R},y.event.special[R]={setup:function(){var Y=this.ownerDocument||this.document||this,ae=w.documentMode?this:Y,le=Ne.get(ae,R);le||(w.documentMode?this.addEventListener(R,M):Y.addEventListener(S,M,!0)),Ne.set(ae,R,(le||0)+1)},teardown:function(){var Y=this.ownerDocument||this.document||this,ae=w.documentMode?this:Y,le=Ne.get(ae,R)-1;le?Ne.set(ae,R,le):(w.documentMode?this.removeEventListener(R,M):Y.removeEventListener(S,M,!0),Ne.remove(ae,R))}}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(S,R){y.event.special[S]={delegateType:R,bindType:R,handle:function(M){var Y,ae=this,le=M.relatedTarget,he=M.handleObj;return(!le||le!==ae&&!y.contains(ae,le))&&(M.type=he.origType,Y=he.handler.apply(this,arguments),M.type=R),Y}}}),y.fn.extend({on:function(S,R,M,Y){return Kn(this,S,R,M,Y)},one:function(S,R,M,Y){return Kn(this,S,R,M,Y,1)},off:function(S,R,M){var Y,ae;if(S&&S.preventDefault&&S.handleObj)return Y=S.handleObj,y(S.delegateTarget).off(Y.namespace?Y.origType+"."+Y.namespace:Y.origType,Y.selector,Y.handler),this;if(typeof S=="object"){for(ae in S)this.off(ae,R,S[ae]);return this}return(R===!1||typeof R=="function")&&(M=R,R=void 0),M===!1&&(M=_n),this.each(function(){y.event.remove(this,S,M,R)})}});var Ei=/<script|<style|<link/i,di=/checked\s*(?:[^=]|=\s*.checked.)/i,$i=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Vi(S,R){return D(S,"table")&&D(R.nodeType!==11?R:R.firstChild,"tr")&&y(S).children("tbody")[0]||S}function kn(S){return S.type=(S.getAttribute("type")!==null)+"/"+S.type,S}function ri(S){return(S.type||"").slice(0,5)==="true/"?S.type=S.type.slice(5):S.removeAttribute("type"),S}function xi(S,R){var M,Y,ae,le,he,Ue,Le;if(R.nodeType===1){if(Ne.hasData(S)&&(le=Ne.get(S),Le=le.events,Le)){Ne.remove(R,"handle events");for(ae in Le)for(M=0,Y=Le[ae].length;M<Y;M++)y.event.add(R,ae,Le[ae][M])}Be.hasData(S)&&(he=Be.access(S),Ue=y.extend({},he),Be.set(R,Ue))}}function wi(S,R){var M=R.nodeName.toLowerCase();M==="input"&&kt.test(S.type)?R.checked=S.checked:(M==="input"||M==="textarea")&&(R.defaultValue=S.defaultValue)}function it(S,R,M,Y){R=o(R);var ae,le,he,Ue,Le,Ge,wt=0,Rt=S.length,st=Rt-1,Vt=R[0],Rr=_(Vt);if(Rr||Rt>1&&typeof Vt=="string"&&!m.checkClone&&di.test(Vt))return S.each(function(tn){var Vr=S.eq(tn);Rr&&(R[0]=Vt.call(this,tn,Vr.html())),it(Vr,R,M,Y)});if(Rt&&(ae=ui(R,S[0].ownerDocument,!1,S,Y),le=ae.firstChild,ae.childNodes.length===1&&(ae=le),le||Y)){for(he=y.map(mr(ae,"script"),kn),Ue=he.length;wt<Rt;wt++)Le=ae,wt!==st&&(Le=y.clone(Le,!0,!0),Ue&&y.merge(he,mr(Le,"script"))),M.call(S[wt],Le,wt);if(Ue)for(Ge=he[he.length-1].ownerDocument,y.map(he,ri),wt=0;wt<Ue;wt++)Le=he[wt],Sr.test(Le.type||"")&&!Ne.access(Le,"globalEval")&&y.contains(Ge,Le)&&(Le.src&&(Le.type||"").toLowerCase()!=="module"?y._evalUrl&&!Le.noModule&&y._evalUrl(Le.src,{nonce:Le.nonce||Le.getAttribute("nonce")},Ge):x(Le.textContent.replace($i,""),Le,Ge))}return S}function jt(S,R,M){for(var Y,ae=R?y.filter(R,S):S,le=0;(Y=ae[le])!=null;le++)!M&&Y.nodeType===1&&y.cleanData(mr(Y)),Y.parentNode&&(M&&at(Y)&&Lr(mr(Y,"script")),Y.parentNode.removeChild(Y));return S}y.extend({htmlPrefilter:function(S){return S},clone:function(S,R,M){var Y,ae,le,he,Ue=S.cloneNode(!0),Le=at(S);if(!m.noCloneChecked&&(S.nodeType===1||S.nodeType===11)&&!y.isXMLDoc(S))for(he=mr(Ue),le=mr(S),Y=0,ae=le.length;Y<ae;Y++)wi(le[Y],he[Y]);if(R)if(M)for(le=le||mr(S),he=he||mr(Ue),Y=0,ae=le.length;Y<ae;Y++)xi(le[Y],he[Y]);else xi(S,Ue);return he=mr(Ue,"script"),he.length>0&&Lr(he,!Le&&mr(S,"script")),Ue},cleanData:function(S){for(var R,M,Y,ae=y.event.special,le=0;(M=S[le])!==void 0;le++)if(Ae(M)){if(R=M[Ne.expando]){if(R.events)for(Y in R.events)ae[Y]?y.event.remove(M,Y):y.removeEvent(M,Y,R.handle);M[Ne.expando]=void 0}M[Be.expando]&&(M[Be.expando]=void 0)}}}),y.fn.extend({detach:function(S){return jt(this,S,!0)},remove:function(S){return jt(this,S)},text:function(S){return Oe(this,function(R){return R===void 0?y.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=R)})},null,S,arguments.length)},append:function(){return it(this,arguments,function(S){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var R=Vi(this,S);R.appendChild(S)}})},prepend:function(){return it(this,arguments,function(S){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var R=Vi(this,S);R.insertBefore(S,R.firstChild)}})},before:function(){return it(this,arguments,function(S){this.parentNode&&this.parentNode.insertBefore(S,this)})},after:function(){return it(this,arguments,function(S){this.parentNode&&this.parentNode.insertBefore(S,this.nextSibling)})},empty:function(){for(var S,R=0;(S=this[R])!=null;R++)S.nodeType===1&&(y.cleanData(mr(S,!1)),S.textContent="");return this},clone:function(S,R){return S=S??!1,R=R??S,this.map(function(){return y.clone(this,S,R)})},html:function(S){return Oe(this,function(R){var M=this[0]||{},Y=0,ae=this.length;if(R===void 0&&M.nodeType===1)return M.innerHTML;if(typeof R=="string"&&!Ei.test(R)&&!ur[(rr.exec(R)||["",""])[1].toLowerCase()]){R=y.htmlPrefilter(R);try{for(;Y<ae;Y++)M=this[Y]||{},M.nodeType===1&&(y.cleanData(mr(M,!1)),M.innerHTML=R);M=0}catch{}}M&&this.empty().append(R)},null,S,arguments.length)},replaceWith:function(){var S=[];return it(this,arguments,function(R){var M=this.parentNode;y.inArray(this,S)<0&&(y.cleanData(mr(this)),M&&M.replaceChild(R,this))},S)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(S,R){y.fn[S]=function(M){for(var Y,ae=[],le=y(M),he=le.length-1,Ue=0;Ue<=he;Ue++)Y=Ue===he?this:this.clone(!0),y(le[Ue])[R](Y),l.apply(ae,Y.get());return this.pushStack(ae)}});var vt=new RegExp("^("+bt+")(?!px)[a-z%]+$","i"),Ye=/^--/,xt=function(S){var R=S.ownerDocument.defaultView;return(!R||!R.opener)&&(R=t),R.getComputedStyle(S)},gr=function(S,R,M){var Y,ae,le={};for(ae in R)le[ae]=S.style[ae],S.style[ae]=R[ae];Y=M.call(S);for(ae in R)S.style[ae]=le[ae];return Y},we=new RegExp(St.join("|"),"i");(function(){function S(){if(Ge){Le.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ge.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",yt.appendChild(Le).appendChild(Ge);var wt=t.getComputedStyle(Ge);M=wt.top!=="1%",Ue=R(wt.marginLeft)===12,Ge.style.right="60%",le=R(wt.right)===36,Y=R(wt.width)===36,Ge.style.position="absolute",ae=R(Ge.offsetWidth/3)===12,yt.removeChild(Le),Ge=null}}function R(wt){return Math.round(parseFloat(wt))}var M,Y,ae,le,he,Ue,Le=w.createElement("div"),Ge=w.createElement("div");Ge.style&&(Ge.style.backgroundClip="content-box",Ge.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle=Ge.style.backgroundClip==="content-box",y.extend(m,{boxSizingReliable:function(){return S(),Y},pixelBoxStyles:function(){return S(),le},pixelPosition:function(){return S(),M},reliableMarginLeft:function(){return S(),Ue},scrollboxSize:function(){return S(),ae},reliableTrDimensions:function(){var wt,Rt,st,Vt;return he==null&&(wt=w.createElement("table"),Rt=w.createElement("tr"),st=w.createElement("div"),wt.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Rt.style.cssText="box-sizing:content-box;border:1px solid",Rt.style.height="1px",st.style.height="9px",st.style.display="block",yt.appendChild(wt).appendChild(Rt).appendChild(st),Vt=t.getComputedStyle(Rt),he=parseInt(Vt.height,10)+parseInt(Vt.borderTopWidth,10)+parseInt(Vt.borderBottomWidth,10)===Rt.offsetHeight,yt.removeChild(wt)),he}}))})();function ct(S,R,M){var Y,ae,le,he,Ue=Ye.test(R),Le=S.style;return M=M||xt(S),M&&(he=M.getPropertyValue(R)||M[R],Ue&&he&&(he=he.replace(Q,"$1")||void 0),he===""&&!at(S)&&(he=y.style(S,R)),!m.pixelBoxStyles()&&vt.test(he)&&we.test(R)&&(Y=Le.width,ae=Le.minWidth,le=Le.maxWidth,Le.minWidth=Le.maxWidth=Le.width=he,he=M.width,Le.width=Y,Le.minWidth=ae,Le.maxWidth=le)),he!==void 0?he+"":he}function nt(S,R){return{get:function(){if(S()){delete this.get;return}return(this.get=R).apply(this,arguments)}}}var ft=["Webkit","Moz","ms"],Lt=w.createElement("div").style,dt={};function Gt(S){for(var R=S[0].toUpperCase()+S.slice(1),M=ft.length;M--;)if(S=ft[M]+R,S in Lt)return S}function Nr(S){var R=y.cssProps[S]||dt[S];return R||(S in Lt?S:dt[S]=Gt(S)||S)}var Jr=/^(none|table(?!-c[ea]).+)/,en={position:"absolute",visibility:"hidden",display:"block"},fn={letterSpacing:"0",fontWeight:"400"};function $t(S,R,M){var Y=mt.exec(R);return Y?Math.max(0,Y[2]-(M||0))+(Y[3]||"px"):R}function Yr(S,R,M,Y,ae,le){var he=R==="width"?1:0,Ue=0,Le=0,Ge=0;if(M===(Y?"border":"content"))return 0;for(;he<4;he+=2)M==="margin"&&(Ge+=y.css(S,M+St[he],!0,ae)),Y?(M==="content"&&(Le-=y.css(S,"padding"+St[he],!0,ae)),M!=="margin"&&(Le-=y.css(S,"border"+St[he]+"Width",!0,ae))):(Le+=y.css(S,"padding"+St[he],!0,ae),M!=="padding"?Le+=y.css(S,"border"+St[he]+"Width",!0,ae):Ue+=y.css(S,"border"+St[he]+"Width",!0,ae));return!Y&&le>=0&&(Le+=Math.max(0,Math.ceil(S["offset"+R[0].toUpperCase()+R.slice(1)]-le-Le-Ue-.5))||0),Le+Ge}function Hi(S,R,M){var Y=xt(S),ae=!m.boxSizingReliable()||M,le=ae&&y.css(S,"boxSizing",!1,Y)==="border-box",he=le,Ue=ct(S,R,Y),Le="offset"+R[0].toUpperCase()+R.slice(1);if(vt.test(Ue)){if(!M)return Ue;Ue="auto"}return(!m.boxSizingReliable()&&le||!m.reliableTrDimensions()&&D(S,"tr")||Ue==="auto"||!parseFloat(Ue)&&y.css(S,"display",!1,Y)==="inline")&&S.getClientRects().length&&(le=y.css(S,"boxSizing",!1,Y)==="border-box",he=Le in S,he&&(Ue=S[Le])),Ue=parseFloat(Ue)||0,Ue+Yr(S,R,M||(le?"border":"content"),he,Y,Ue)+"px"}y.extend({cssHooks:{opacity:{get:function(S,R){if(R){var M=ct(S,"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(S,R,M,Y){if(!(!S||S.nodeType===3||S.nodeType===8||!S.style)){var ae,le,he,Ue=_e(R),Le=Ye.test(R),Ge=S.style;if(Le||(R=Nr(Ue)),he=y.cssHooks[R]||y.cssHooks[Ue],M!==void 0){if(le=typeof M,le==="string"&&(ae=mt.exec(M))&&ae[1]&&(M=Re(S,R,ae),le="number"),M==null||M!==M)return;le==="number"&&!Le&&(M+=ae&&ae[3]||(y.cssNumber[Ue]?"":"px")),!m.clearCloneStyle&&M===""&&R.indexOf("background")===0&&(Ge[R]="inherit"),(!he||!("set"in he)||(M=he.set(S,M,Y))!==void 0)&&(Le?Ge.setProperty(R,M):Ge[R]=M)}else return he&&"get"in he&&(ae=he.get(S,!1,Y))!==void 0?ae:Ge[R]}},css:function(S,R,M,Y){var ae,le,he,Ue=_e(R),Le=Ye.test(R);return Le||(R=Nr(Ue)),he=y.cssHooks[R]||y.cssHooks[Ue],he&&"get"in he&&(ae=he.get(S,!0,M)),ae===void 0&&(ae=ct(S,R,Y)),ae==="normal"&&R in fn&&(ae=fn[R]),M===""||M?(le=parseFloat(ae),M===!0||isFinite(le)?le||0:ae):ae}}),y.each(["height","width"],function(S,R){y.cssHooks[R]={get:function(M,Y,ae){if(Y)return Jr.test(y.css(M,"display"))&&(!M.getClientRects().length||!M.getBoundingClientRect().width)?gr(M,en,function(){return Hi(M,R,ae)}):Hi(M,R,ae)},set:function(M,Y,ae){var le,he=xt(M),Ue=!m.scrollboxSize()&&he.position==="absolute",Le=Ue||ae,Ge=Le&&y.css(M,"boxSizing",!1,he)==="border-box",wt=ae?Yr(M,R,ae,Ge,he):0;return Ge&&Ue&&(wt-=Math.ceil(M["offset"+R[0].toUpperCase()+R.slice(1)]-parseFloat(he[R])-Yr(M,R,"border",!1,he)-.5)),wt&&(le=mt.exec(Y))&&(le[3]||"px")!=="px"&&(M.style[R]=Y,Y=y.css(M,R)),$t(M,Y,wt)}}}),y.cssHooks.marginLeft=nt(m.reliableMarginLeft,function(S,R){if(R)return(parseFloat(ct(S,"marginLeft"))||S.getBoundingClientRect().left-gr(S,{marginLeft:0},function(){return S.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function(S,R){y.cssHooks[S+R]={expand:function(M){for(var Y=0,ae={},le=typeof M=="string"?M.split(" "):[M];Y<4;Y++)ae[S+St[Y]+R]=le[Y]||le[Y-2]||le[0];return ae}},S!=="margin"&&(y.cssHooks[S+R].set=$t)}),y.fn.extend({css:function(S,R){return Oe(this,function(M,Y,ae){var le,he,Ue={},Le=0;if(Array.isArray(Y)){for(le=xt(M),he=Y.length;Le<he;Le++)Ue[Y[Le]]=y.css(M,Y[Le],!1,le);return Ue}return ae!==void 0?y.style(M,Y,ae):y.css(M,Y)},S,R,arguments.length>1)}});function ni(S,R,M,Y,ae){return new ni.prototype.init(S,R,M,Y,ae)}y.Tween=ni,ni.prototype={constructor:ni,init:function(S,R,M,Y,ae,le){this.elem=S,this.prop=M,this.easing=ae||y.easing._default,this.options=R,this.start=this.now=this.cur(),this.end=Y,this.unit=le||(y.cssNumber[M]?"":"px")},cur:function(){var S=ni.propHooks[this.prop];return S&&S.get?S.get(this):ni.propHooks._default.get(this)},run:function(S){var R,M=ni.propHooks[this.prop];return this.options.duration?this.pos=R=y.easing[this.easing](S,this.options.duration*S,0,1,this.options.duration):this.pos=R=S,this.now=(this.end-this.start)*R+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),M&&M.set?M.set(this):ni.propHooks._default.set(this),this}},ni.prototype.init.prototype=ni.prototype,ni.propHooks={_default:{get:function(S){var R;return S.elem.nodeType!==1||S.elem[S.prop]!=null&&S.elem.style[S.prop]==null?S.elem[S.prop]:(R=y.css(S.elem,S.prop,""),!R||R==="auto"?0:R)},set:function(S){y.fx.step[S.prop]?y.fx.step[S.prop](S):S.elem.nodeType===1&&(y.cssHooks[S.prop]||S.elem.style[Nr(S.prop)]!=null)?y.style(S.elem,S.prop,S.now+S.unit):S.elem[S.prop]=S.now}}},ni.propHooks.scrollTop=ni.propHooks.scrollLeft={set:function(S){S.elem.nodeType&&S.elem.parentNode&&(S.elem[S.prop]=S.now)}},y.easing={linear:function(S){return S},swing:function(S){return .5-Math.cos(S*Math.PI)/2},_default:"swing"},y.fx=ni.prototype.init,y.fx.step={};var ua,Fi,ya=/^(?:toggle|show|hide)$/,Wa=/queueHooks$/;function ka(){Fi&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(ka):t.setTimeout(ka,y.fx.interval),y.fx.tick())}function W(){return t.setTimeout(function(){ua=void 0}),ua=Date.now()}function se(S,R){var M,Y=0,ae={height:S};for(R=R?1:0;Y<4;Y+=2-R)M=St[Y],ae["margin"+M]=ae["padding"+M]=S;return R&&(ae.opacity=ae.width=S),ae}function Ce(S,R,M){for(var Y,ae=(rt.tweeners[R]||[]).concat(rt.tweeners["*"]),le=0,he=ae.length;le<he;le++)if(Y=ae[le].call(M,R,S))return Y}function qe(S,R,M){var Y,ae,le,he,Ue,Le,Ge,wt,Rt="width"in R||"height"in R,st=this,Vt={},Rr=S.style,tn=S.nodeType&&At(S),Vr=Ne.get(S,"fxshow");M.queue||(he=y._queueHooks(S,"fx"),he.unqueued==null&&(he.unqueued=0,Ue=he.empty.fire,he.empty.fire=function(){he.unqueued||Ue()}),he.unqueued++,st.always(function(){st.always(function(){he.unqueued--,y.queue(S,"fx").length||he.empty.fire()})}));for(Y in R)if(ae=R[Y],ya.test(ae)){if(delete R[Y],le=le||ae==="toggle",ae===(tn?"hide":"show"))if(ae==="show"&&Vr&&Vr[Y]!==void 0)tn=!0;else continue;Vt[Y]=Vr&&Vr[Y]||y.style(S,Y)}if(Le=!y.isEmptyObject(R),!(!Le&&y.isEmptyObject(Vt))){Rt&&S.nodeType===1&&(M.overflow=[Rr.overflow,Rr.overflowX,Rr.overflowY],Ge=Vr&&Vr.display,Ge==null&&(Ge=Ne.get(S,"display")),wt=y.css(S,"display"),wt==="none"&&(Ge?wt=Ge:(Ct([S],!0),Ge=S.style.display||Ge,wt=y.css(S,"display"),Ct([S]))),(wt==="inline"||wt==="inline-block"&&Ge!=null)&&y.css(S,"float")==="none"&&(Le||(st.done(function(){Rr.display=Ge}),Ge==null&&(wt=Rr.display,Ge=wt==="none"?"":wt)),Rr.display="inline-block")),M.overflow&&(Rr.overflow="hidden",st.always(function(){Rr.overflow=M.overflow[0],Rr.overflowX=M.overflow[1],Rr.overflowY=M.overflow[2]})),Le=!1;for(Y in Vt)Le||(Vr?"hidden"in Vr&&(tn=Vr.hidden):Vr=Ne.access(S,"fxshow",{display:Ge}),le&&(Vr.hidden=!tn),tn&&Ct([S],!0),st.done(function(){tn||Ct([S]),Ne.remove(S,"fxshow");for(Y in Vt)y.style(S,Y,Vt[Y])})),Le=Ce(tn?Vr[Y]:0,Y,st),Y in Vr||(Vr[Y]=Le.start,tn&&(Le.end=Le.start,Le.start=0))}}function ht(S,R){var M,Y,ae,le,he;for(M in S)if(Y=_e(M),ae=R[Y],le=S[M],Array.isArray(le)&&(ae=le[1],le=S[M]=le[0]),M!==Y&&(S[Y]=le,delete S[M]),he=y.cssHooks[Y],he&&"expand"in he){le=he.expand(le),delete S[Y];for(M in le)M in S||(S[M]=le[M],R[M]=ae)}else R[Y]=ae}function rt(S,R,M){var Y,ae,le=0,he=rt.prefilters.length,Ue=y.Deferred().always(function(){delete Le.elem}),Le=function(){if(ae)return!1;for(var Rt=ua||W(),st=Math.max(0,Ge.startTime+Ge.duration-Rt),Vt=st/Ge.duration||0,Rr=1-Vt,tn=0,Vr=Ge.tweens.length;tn<Vr;tn++)Ge.tweens[tn].run(Rr);return Ue.notifyWith(S,[Ge,Rr,st]),Rr<1&&Vr?st:(Vr||Ue.notifyWith(S,[Ge,1,0]),Ue.resolveWith(S,[Ge]),!1)},Ge=Ue.promise({elem:S,props:y.extend({},R),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},M),originalProperties:R,originalOptions:M,startTime:ua||W(),duration:M.duration,tweens:[],createTween:function(Rt,st){var Vt=y.Tween(S,Ge.opts,Rt,st,Ge.opts.specialEasing[Rt]||Ge.opts.easing);return Ge.tweens.push(Vt),Vt},stop:function(Rt){var st=0,Vt=Rt?Ge.tweens.length:0;if(ae)return this;for(ae=!0;st<Vt;st++)Ge.tweens[st].run(1);return Rt?(Ue.notifyWith(S,[Ge,1,0]),Ue.resolveWith(S,[Ge,Rt])):Ue.rejectWith(S,[Ge,Rt]),this}}),wt=Ge.props;for(ht(wt,Ge.opts.specialEasing);le<he;le++)if(Y=rt.prefilters[le].call(Ge,S,wt,Ge.opts),Y)return _(Y.stop)&&(y._queueHooks(Ge.elem,Ge.opts.queue).stop=Y.stop.bind(Y)),Y;return y.map(wt,Ce,Ge),_(Ge.opts.start)&&Ge.opts.start.call(S,Ge),Ge.progress(Ge.opts.progress).done(Ge.opts.done,Ge.opts.complete).fail(Ge.opts.fail).always(Ge.opts.always),y.fx.timer(y.extend(Le,{elem:S,anim:Ge,queue:Ge.opts.queue})),Ge}y.Animation=y.extend(rt,{tweeners:{"*":[function(S,R){var M=this.createTween(S,R);return Re(M.elem,S,mt.exec(R),M),M}]},tweener:function(S,R){_(S)?(R=S,S=["*"]):S=S.match(H);for(var M,Y=0,ae=S.length;Y<ae;Y++)M=S[Y],rt.tweeners[M]=rt.tweeners[M]||[],rt.tweeners[M].unshift(R)},prefilters:[qe],prefilter:function(S,R){R?rt.prefilters.unshift(S):rt.prefilters.push(S)}}),y.speed=function(S,R,M){var Y=S&&typeof S=="object"?y.extend({},S):{complete:M||!M&&R||_(S)&&S,duration:S,easing:M&&R||R&&!_(R)&&R};return y.fx.off?Y.duration=0:typeof Y.duration!="number"&&(Y.duration in y.fx.speeds?Y.duration=y.fx.speeds[Y.duration]:Y.duration=y.fx.speeds._default),(Y.queue==null||Y.queue===!0)&&(Y.queue="fx"),Y.old=Y.complete,Y.complete=function(){_(Y.old)&&Y.old.call(this),Y.queue&&y.dequeue(this,Y.queue)},Y},y.fn.extend({fadeTo:function(S,R,M,Y){return this.filter(At).css("opacity",0).show().end().animate({opacity:R},S,M,Y)},animate:function(S,R,M,Y){var ae=y.isEmptyObject(S),le=y.speed(R,M,Y),he=function(){var Ue=rt(this,y.extend({},S),le);(ae||Ne.get(this,"finish"))&&Ue.stop(!0)};return he.finish=he,ae||le.queue===!1?this.each(he):this.queue(le.queue,he)},stop:function(S,R,M){var Y=function(ae){var le=ae.stop;delete ae.stop,le(M)};return typeof S!="string"&&(M=R,R=S,S=void 0),R&&this.queue(S||"fx",[]),this.each(function(){var ae=!0,le=S!=null&&S+"queueHooks",he=y.timers,Ue=Ne.get(this);if(le)Ue[le]&&Ue[le].stop&&Y(Ue[le]);else for(le in Ue)Ue[le]&&Ue[le].stop&&Wa.test(le)&&Y(Ue[le]);for(le=he.length;le--;)he[le].elem===this&&(S==null||he[le].queue===S)&&(he[le].anim.stop(M),ae=!1,he.splice(le,1));(ae||!M)&&y.dequeue(this,S)})},finish:function(S){return S!==!1&&(S=S||"fx"),this.each(function(){var R,M=Ne.get(this),Y=M[S+"queue"],ae=M[S+"queueHooks"],le=y.timers,he=Y?Y.length:0;for(M.finish=!0,y.queue(this,S,[]),ae&&ae.stop&&ae.stop.call(this,!0),R=le.length;R--;)le[R].elem===this&&le[R].queue===S&&(le[R].anim.stop(!0),le.splice(R,1));for(R=0;R<he;R++)Y[R]&&Y[R].finish&&Y[R].finish.call(this);delete M.finish})}}),y.each(["toggle","show","hide"],function(S,R){var M=y.fn[R];y.fn[R]=function(Y,ae,le){return Y==null||typeof Y=="boolean"?M.apply(this,arguments):this.animate(se(R,!0),Y,ae,le)}}),y.each({slideDown:se("show"),slideUp:se("hide"),slideToggle:se("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(S,R){y.fn[S]=function(M,Y,ae){return this.animate(R,M,Y,ae)}}),y.timers=[],y.fx.tick=function(){var S,R=0,M=y.timers;for(ua=Date.now();R<M.length;R++)S=M[R],!S()&&M[R]===S&&M.splice(R--,1);M.length||y.fx.stop(),ua=void 0},y.fx.timer=function(S){y.timers.push(S),y.fx.start()},y.fx.interval=13,y.fx.start=function(){Fi||(Fi=!0,ka())},y.fx.stop=function(){Fi=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(S,R){return S=y.fx&&y.fx.speeds[S]||S,R=R||"fx",this.queue(R,function(M,Y){var ae=t.setTimeout(M,S);Y.stop=function(){t.clearTimeout(ae)}})},(function(){var S=w.createElement("input"),R=w.createElement("select"),M=R.appendChild(w.createElement("option"));S.type="checkbox",m.checkOn=S.value!=="",m.optSelected=M.selected,S=w.createElement("input"),S.value="t",S.type="radio",m.radioValue=S.value==="t"})();var Ot,zt=y.expr.attrHandle;y.fn.extend({attr:function(S,R){return Oe(this,y.attr,S,R,arguments.length>1)},removeAttr:function(S){return this.each(function(){y.removeAttr(this,S)})}}),y.extend({attr:function(S,R,M){var Y,ae,le=S.nodeType;if(!(le===3||le===8||le===2)){if(typeof S.getAttribute>"u")return y.prop(S,R,M);if((le!==1||!y.isXMLDoc(S))&&(ae=y.attrHooks[R.toLowerCase()]||(y.expr.match.bool.test(R)?Ot:void 0)),M!==void 0){if(M===null){y.removeAttr(S,R);return}return ae&&"set"in ae&&(Y=ae.set(S,M,R))!==void 0?Y:(S.setAttribute(R,M+""),M)}return ae&&"get"in ae&&(Y=ae.get(S,R))!==null?Y:(Y=y.find.attr(S,R),Y??void 0)}},attrHooks:{type:{set:function(S,R){if(!m.radioValue&&R==="radio"&&D(S,"input")){var M=S.value;return S.setAttribute("type",R),M&&(S.value=M),R}}}},removeAttr:function(S,R){var M,Y=0,ae=R&&R.match(H);if(ae&&S.nodeType===1)for(;M=ae[Y++];)S.removeAttribute(M)}}),Ot={set:function(S,R,M){return R===!1?y.removeAttr(S,M):S.setAttribute(M,M),M}},y.each(y.expr.match.bool.source.match(/\w+/g),function(S,R){var M=zt[R]||y.find.attr;zt[R]=function(Y,ae,le){var he,Ue,Le=ae.toLowerCase();return le||(Ue=zt[Le],zt[Le]=he,he=M(Y,ae,le)!=null?Le:null,zt[Le]=Ue),he}});var Zt=/^(?:input|select|textarea|button)$/i,Cr=/^(?:a|area)$/i;y.fn.extend({prop:function(S,R){return Oe(this,y.prop,S,R,arguments.length>1)},removeProp:function(S){return this.each(function(){delete this[y.propFix[S]||S]})}}),y.extend({prop:function(S,R,M){var Y,ae,le=S.nodeType;if(!(le===3||le===8||le===2))return(le!==1||!y.isXMLDoc(S))&&(R=y.propFix[R]||R,ae=y.propHooks[R]),M!==void 0?ae&&"set"in ae&&(Y=ae.set(S,M,R))!==void 0?Y:S[R]=M:ae&&"get"in ae&&(Y=ae.get(S,R))!==null?Y:S[R]},propHooks:{tabIndex:{get:function(S){var R=y.find.attr(S,"tabindex");return R?parseInt(R,10):Zt.test(S.nodeName)||Cr.test(S.nodeName)&&S.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(y.propHooks.selected={get:function(S){var R=S.parentNode;return R&&R.parentNode&&R.parentNode.selectedIndex,null},set:function(S){var R=S.parentNode;R&&(R.selectedIndex,R.parentNode&&R.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});function Pr(S){var R=S.match(H)||[];return R.join(" ")}function Mn(S){return S.getAttribute&&S.getAttribute("class")||""}function Oi(S){return Array.isArray(S)?S:typeof S=="string"?S.match(H)||[]:[]}y.fn.extend({addClass:function(S){var R,M,Y,ae,le,he;return _(S)?this.each(function(Ue){y(this).addClass(S.call(this,Ue,Mn(this)))}):(R=Oi(S),R.length?this.each(function(){if(Y=Mn(this),M=this.nodeType===1&&" "+Pr(Y)+" ",M){for(le=0;le<R.length;le++)ae=R[le],M.indexOf(" "+ae+" ")<0&&(M+=ae+" ");he=Pr(M),Y!==he&&this.setAttribute("class",he)}}):this)},removeClass:function(S){var R,M,Y,ae,le,he;return _(S)?this.each(function(Ue){y(this).removeClass(S.call(this,Ue,Mn(this)))}):arguments.length?(R=Oi(S),R.length?this.each(function(){if(Y=Mn(this),M=this.nodeType===1&&" "+Pr(Y)+" ",M){for(le=0;le<R.length;le++)for(ae=R[le];M.indexOf(" "+ae+" ")>-1;)M=M.replace(" "+ae+" "," ");he=Pr(M),Y!==he&&this.setAttribute("class",he)}}):this):this.attr("class","")},toggleClass:function(S,R){var M,Y,ae,le,he=typeof S,Ue=he==="string"||Array.isArray(S);return _(S)?this.each(function(Le){y(this).toggleClass(S.call(this,Le,Mn(this),R),R)}):typeof R=="boolean"&&Ue?R?this.addClass(S):this.removeClass(S):(M=Oi(S),this.each(function(){if(Ue)for(le=y(this),ae=0;ae<M.length;ae++)Y=M[ae],le.hasClass(Y)?le.removeClass(Y):le.addClass(Y);else(S===void 0||he==="boolean")&&(Y=Mn(this),Y&&Ne.set(this,"__className__",Y),this.setAttribute&&this.setAttribute("class",Y||S===!1?"":Ne.get(this,"__className__")||""))}))},hasClass:function(S){var R,M,Y=0;for(R=" "+S+" ";M=this[Y++];)if(M.nodeType===1&&(" "+Pr(Mn(M))+" ").indexOf(R)>-1)return!0;return!1}});var Ii=/\r/g;y.fn.extend({val:function(S){var R,M,Y,ae=this[0];return arguments.length?(Y=_(S),this.each(function(le){var he;this.nodeType===1&&(Y?he=S.call(this,le,y(this).val()):he=S,he==null?he="":typeof he=="number"?he+="":Array.isArray(he)&&(he=y.map(he,function(Ue){return Ue==null?"":Ue+""})),R=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()],(!R||!("set"in R)||R.set(this,he,"value")===void 0)&&(this.value=he))})):ae?(R=y.valHooks[ae.type]||y.valHooks[ae.nodeName.toLowerCase()],R&&"get"in R&&(M=R.get(ae,"value"))!==void 0?M:(M=ae.value,typeof M=="string"?M.replace(Ii,""):M??"")):void 0}}),y.extend({valHooks:{option:{get:function(S){var R=y.find.attr(S,"value");return R??Pr(y.text(S))}},select:{get:function(S){var R,M,Y,ae=S.options,le=S.selectedIndex,he=S.type==="select-one",Ue=he?null:[],Le=he?le+1:ae.length;for(le<0?Y=Le:Y=he?le:0;Y<Le;Y++)if(M=ae[Y],(M.selected||Y===le)&&!M.disabled&&(!M.parentNode.disabled||!D(M.parentNode,"optgroup"))){if(R=y(M).val(),he)return R;Ue.push(R)}return Ue},set:function(S,R){for(var M,Y,ae=S.options,le=y.makeArray(R),he=ae.length;he--;)Y=ae[he],(Y.selected=y.inArray(y.valHooks.option.get(Y),le)>-1)&&(M=!0);return M||(S.selectedIndex=-1),le}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(S,R){if(Array.isArray(R))return S.checked=y.inArray(y(S).val(),R)>-1}},m.checkOn||(y.valHooks[this].get=function(S){return S.getAttribute("value")===null?"on":S.value})});var ls=t.location,Js={guid:Date.now()},cs=/\?/;y.parseXML=function(S){var R,M;if(!S||typeof S!="string")return null;try{R=new t.DOMParser().parseFromString(S,"text/xml")}catch{}return M=R&&R.getElementsByTagName("parsererror")[0],(!R||M)&&y.error("Invalid XML: "+(M?y.map(M.childNodes,function(Y){return Y.textContent}).join(`
32
+ `):S)),R};var Ga=/^(?:focusinfocus|focusoutblur)$/,hi=function(S){S.stopPropagation()};y.extend(y.event,{trigger:function(S,R,M,Y){var ae,le,he,Ue,Le,Ge,wt,Rt,st=[M||w],Vt=h.call(S,"type")?S.type:S,Rr=h.call(S,"namespace")?S.namespace.split("."):[];if(le=Rt=he=M=M||w,!(M.nodeType===3||M.nodeType===8)&&!Ga.test(Vt+y.event.triggered)&&(Vt.indexOf(".")>-1&&(Rr=Vt.split("."),Vt=Rr.shift(),Rr.sort()),Le=Vt.indexOf(":")<0&&"on"+Vt,S=S[y.expando]?S:new y.Event(Vt,typeof S=="object"&&S),S.isTrigger=Y?2:3,S.namespace=Rr.join("."),S.rnamespace=S.namespace?new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,S.result=void 0,S.target||(S.target=M),R=R==null?[S]:y.makeArray(R,[S]),wt=y.event.special[Vt]||{},!(!Y&&wt.trigger&&wt.trigger.apply(M,R)===!1))){if(!Y&&!wt.noBubble&&!E(M)){for(Ue=wt.delegateType||Vt,Ga.test(Ue+Vt)||(le=le.parentNode);le;le=le.parentNode)st.push(le),he=le;he===(M.ownerDocument||w)&&st.push(he.defaultView||he.parentWindow||t)}for(ae=0;(le=st[ae++])&&!S.isPropagationStopped();)Rt=le,S.type=ae>1?Ue:wt.bindType||Vt,Ge=(Ne.get(le,"events")||Object.create(null))[S.type]&&Ne.get(le,"handle"),Ge&&Ge.apply(le,R),Ge=Le&&le[Le],Ge&&Ge.apply&&Ae(le)&&(S.result=Ge.apply(le,R),S.result===!1&&S.preventDefault());return S.type=Vt,!Y&&!S.isDefaultPrevented()&&(!wt._default||wt._default.apply(st.pop(),R)===!1)&&Ae(M)&&Le&&_(M[Vt])&&!E(M)&&(he=M[Le],he&&(M[Le]=null),y.event.triggered=Vt,S.isPropagationStopped()&&Rt.addEventListener(Vt,hi),M[Vt](),S.isPropagationStopped()&&Rt.removeEventListener(Vt,hi),y.event.triggered=void 0,he&&(M[Le]=he)),S.result}},simulate:function(S,R,M){var Y=y.extend(new y.Event,M,{type:S,isSimulated:!0});y.event.trigger(Y,null,R)}}),y.fn.extend({trigger:function(S,R){return this.each(function(){y.event.trigger(S,R,this)})},triggerHandler:function(S,R){var M=this[0];if(M)return y.event.trigger(S,R,M,!0)}});var Da=/\[\]$/,Ka=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,la=/^(?:input|select|textarea|keygen)/i;function Fo(S,R,M,Y){var ae;if(Array.isArray(R))y.each(R,function(le,he){M||Da.test(S)?Y(S,he):Fo(S+"["+(typeof he=="object"&&he!=null?le:"")+"]",he,M,Y)});else if(!M&&T(R)==="object")for(ae in R)Fo(S+"["+ae+"]",R[ae],M,Y);else Y(S,R)}y.param=function(S,R){var M,Y=[],ae=function(le,he){var Ue=_(he)?he():he;Y[Y.length]=encodeURIComponent(le)+"="+encodeURIComponent(Ue??"")};if(S==null)return"";if(Array.isArray(S)||S.jquery&&!y.isPlainObject(S))y.each(S,function(){ae(this.name,this.value)});else for(M in S)Fo(M,S[M],R,ae);return Y.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var S=y.prop(this,"elements");return S?y.makeArray(S):this}).filter(function(){var S=this.type;return this.name&&!y(this).is(":disabled")&&la.test(this.nodeName)&&!dn.test(S)&&(this.checked||!kt.test(S))}).map(function(S,R){var M=y(this).val();return M==null?null:Array.isArray(M)?y.map(M,function(Y){return{name:R.name,value:Y.replace(Ka,`\r
33
+ `)}}):{name:R.name,value:M.replace(Ka,`\r
34
+ `)}}).get()}});var jo=/%20/g,Ki=/#.*$/,Ls=/([?&])_=[^&]*/,Ya=/^(.*?):[ \t]*([^\r\n]*)$/mg,fs=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ns=/^(?:GET|HEAD)$/,Cu=/^\/\//,Xa={},uo={},ji="*/".concat("*"),ca=w.createElement("a");ca.href=ls.href;function Tu(S){return function(R,M){typeof R!="string"&&(M=R,R="*");var Y,ae=0,le=R.toLowerCase().match(H)||[];if(_(M))for(;Y=le[ae++];)Y[0]==="+"?(Y=Y.slice(1)||"*",(S[Y]=S[Y]||[]).unshift(M)):(S[Y]=S[Y]||[]).push(M)}}function Uo(S,R,M,Y){var ae={},le=S===uo;function he(Ue){var Le;return ae[Ue]=!0,y.each(S[Ue]||[],function(Ge,wt){var Rt=wt(R,M,Y);if(typeof Rt=="string"&&!le&&!ae[Rt])return R.dataTypes.unshift(Rt),he(Rt),!1;if(le)return!(Le=Rt)}),Le}return he(R.dataTypes[0])||!ae["*"]&&he("*")}function qo(S,R){var M,Y,ae=y.ajaxSettings.flatOptions||{};for(M in R)R[M]!==void 0&&((ae[M]?S:Y||(Y={}))[M]=R[M]);return Y&&y.extend(!0,S,Y),S}function fa(S,R,M){for(var Y,ae,le,he,Ue=S.contents,Le=S.dataTypes;Le[0]==="*";)Le.shift(),Y===void 0&&(Y=S.mimeType||R.getResponseHeader("Content-Type"));if(Y){for(ae in Ue)if(Ue[ae]&&Ue[ae].test(Y)){Le.unshift(ae);break}}if(Le[0]in M)le=Le[0];else{for(ae in M){if(!Le[0]||S.converters[ae+" "+Le[0]]){le=ae;break}he||(he=ae)}le=le||he}if(le)return le!==Le[0]&&Le.unshift(le),M[le]}function Ms(S,R,M,Y){var ae,le,he,Ue,Le,Ge={},wt=S.dataTypes.slice();if(wt[1])for(he in S.converters)Ge[he.toLowerCase()]=S.converters[he];for(le=wt.shift();le;)if(S.responseFields[le]&&(M[S.responseFields[le]]=R),!Le&&Y&&S.dataFilter&&(R=S.dataFilter(R,S.dataType)),Le=le,le=wt.shift(),le){if(le==="*")le=Le;else if(Le!=="*"&&Le!==le){if(he=Ge[Le+" "+le]||Ge["* "+le],!he){for(ae in Ge)if(Ue=ae.split(" "),Ue[1]===le&&(he=Ge[Le+" "+Ue[0]]||Ge["* "+Ue[0]],he)){he===!0?he=Ge[ae]:Ge[ae]!==!0&&(le=Ue[0],wt.unshift(Ue[1]));break}}if(he!==!0)if(he&&S.throws)R=he(R);else try{R=he(R)}catch(Rt){return{state:"parsererror",error:he?Rt:"No conversion from "+Le+" to "+le}}}}return{state:"success",data:R}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ls.href,type:"GET",isLocal:fs.test(ls.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ji,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":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(S,R){return R?qo(qo(S,y.ajaxSettings),R):qo(y.ajaxSettings,S)},ajaxPrefilter:Tu(Xa),ajaxTransport:Tu(uo),ajax:function(S,R){typeof S=="object"&&(R=S,S=void 0),R=R||{};var M,Y,ae,le,he,Ue,Le,Ge,wt,Rt,st=y.ajaxSetup({},R),Vt=st.context||st,Rr=st.context&&(Vt.nodeType||Vt.jquery)?y(Vt):y.event,tn=y.Deferred(),Vr=y.Callbacks("once memory"),Xn=st.statusCode||{},li={},G={},oe="canceled",ve={readyState:0,getResponseHeader:function(Ze){var et;if(Le){if(!le)for(le={};et=Ya.exec(ae);)le[et[1].toLowerCase()+" "]=(le[et[1].toLowerCase()+" "]||[]).concat(et[2]);et=le[Ze.toLowerCase()+" "]}return et==null?null:et.join(", ")},getAllResponseHeaders:function(){return Le?ae:null},setRequestHeader:function(Ze,et){return Le==null&&(Ze=G[Ze.toLowerCase()]=G[Ze.toLowerCase()]||Ze,li[Ze]=et),this},overrideMimeType:function(Ze){return Le==null&&(st.mimeType=Ze),this},statusCode:function(Ze){var et;if(Ze)if(Le)ve.always(Ze[ve.status]);else for(et in Ze)Xn[et]=[Xn[et],Ze[et]];return this},abort:function(Ze){var et=Ze||oe;return M&&M.abort(et),$e(0,et),this}};if(tn.promise(ve),st.url=((S||st.url||ls.href)+"").replace(Cu,ls.protocol+"//"),st.type=R.method||R.type||st.method||st.type,st.dataTypes=(st.dataType||"*").toLowerCase().match(H)||[""],st.crossDomain==null){Ue=w.createElement("a");try{Ue.href=st.url,Ue.href=Ue.href,st.crossDomain=ca.protocol+"//"+ca.host!=Ue.protocol+"//"+Ue.host}catch{st.crossDomain=!0}}if(st.data&&st.processData&&typeof st.data!="string"&&(st.data=y.param(st.data,st.traditional)),Uo(Xa,st,R,ve),Le)return ve;Ge=y.event&&st.global,Ge&&y.active++===0&&y.event.trigger("ajaxStart"),st.type=st.type.toUpperCase(),st.hasContent=!Ns.test(st.type),Y=st.url.replace(Ki,""),st.hasContent?st.data&&st.processData&&(st.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(st.data=st.data.replace(jo,"+")):(Rt=st.url.slice(Y.length),st.data&&(st.processData||typeof st.data=="string")&&(Y+=(cs.test(Y)?"&":"?")+st.data,delete st.data),st.cache===!1&&(Y=Y.replace(Ls,"$1"),Rt=(cs.test(Y)?"&":"?")+"_="+Js.guid+++Rt),st.url=Y+Rt),st.ifModified&&(y.lastModified[Y]&&ve.setRequestHeader("If-Modified-Since",y.lastModified[Y]),y.etag[Y]&&ve.setRequestHeader("If-None-Match",y.etag[Y])),(st.data&&st.hasContent&&st.contentType!==!1||R.contentType)&&ve.setRequestHeader("Content-Type",st.contentType),ve.setRequestHeader("Accept",st.dataTypes[0]&&st.accepts[st.dataTypes[0]]?st.accepts[st.dataTypes[0]]+(st.dataTypes[0]!=="*"?", "+ji+"; q=0.01":""):st.accepts["*"]);for(wt in st.headers)ve.setRequestHeader(wt,st.headers[wt]);if(st.beforeSend&&(st.beforeSend.call(Vt,ve,st)===!1||Le))return ve.abort();if(oe="abort",Vr.add(st.complete),ve.done(st.success),ve.fail(st.error),M=Uo(uo,st,R,ve),!M)$e(-1,"No Transport");else{if(ve.readyState=1,Ge&&Rr.trigger("ajaxSend",[ve,st]),Le)return ve;st.async&&st.timeout>0&&(he=t.setTimeout(function(){ve.abort("timeout")},st.timeout));try{Le=!1,M.send(li,$e)}catch(Ze){if(Le)throw Ze;$e(-1,Ze)}}function $e(Ze,et,It,Wt){var yr,Hr,xr,Dn,ii,$n=et;Le||(Le=!0,he&&t.clearTimeout(he),M=void 0,ae=Wt||"",ve.readyState=Ze>0?4:0,yr=Ze>=200&&Ze<300||Ze===304,It&&(Dn=fa(st,ve,It)),!yr&&y.inArray("script",st.dataTypes)>-1&&y.inArray("json",st.dataTypes)<0&&(st.converters["text script"]=function(){}),Dn=Ms(st,Dn,ve,yr),yr?(st.ifModified&&(ii=ve.getResponseHeader("Last-Modified"),ii&&(y.lastModified[Y]=ii),ii=ve.getResponseHeader("etag"),ii&&(y.etag[Y]=ii)),Ze===204||st.type==="HEAD"?$n="nocontent":Ze===304?$n="notmodified":($n=Dn.state,Hr=Dn.data,xr=Dn.error,yr=!xr)):(xr=$n,(Ze||!$n)&&($n="error",Ze<0&&(Ze=0))),ve.status=Ze,ve.statusText=(et||$n)+"",yr?tn.resolveWith(Vt,[Hr,$n,ve]):tn.rejectWith(Vt,[ve,$n,xr]),ve.statusCode(Xn),Xn=void 0,Ge&&Rr.trigger(yr?"ajaxSuccess":"ajaxError",[ve,st,yr?Hr:xr]),Vr.fireWith(Vt,[ve,$n]),Ge&&(Rr.trigger("ajaxComplete",[ve,st]),--y.active||y.event.trigger("ajaxStop")))}return ve},getJSON:function(S,R,M){return y.get(S,R,M,"json")},getScript:function(S,R){return y.get(S,void 0,R,"script")}}),y.each(["get","post"],function(S,R){y[R]=function(M,Y,ae,le){return _(Y)&&(le=le||ae,ae=Y,Y=void 0),y.ajax(y.extend({url:M,type:R,dataType:le,data:Y,success:ae},y.isPlainObject(M)&&M))}}),y.ajaxPrefilter(function(S){var R;for(R in S.headers)R.toLowerCase()==="content-type"&&(S.contentType=S.headers[R]||"")}),y._evalUrl=function(S,R,M){return y.ajax({url:S,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Y){y.globalEval(Y,R,M)}})},y.fn.extend({wrapAll:function(S){var R;return this[0]&&(_(S)&&(S=S.call(this[0])),R=y(S,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&R.insertBefore(this[0]),R.map(function(){for(var M=this;M.firstElementChild;)M=M.firstElementChild;return M}).append(this)),this},wrapInner:function(S){return _(S)?this.each(function(R){y(this).wrapInner(S.call(this,R))}):this.each(function(){var R=y(this),M=R.contents();M.length?M.wrapAll(S):R.append(S)})},wrap:function(S){var R=_(S);return this.each(function(M){y(this).wrapAll(R?S.call(this,M):S)})},unwrap:function(S){return this.parent(S).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function(S){return!y.expr.pseudos.visible(S)},y.expr.pseudos.visible=function(S){return!!(S.offsetWidth||S.offsetHeight||S.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Au={0:200,1223:204},Pi=y.ajaxSettings.xhr();m.cors=!!Pi&&"withCredentials"in Pi,m.ajax=Pi=!!Pi,y.ajaxTransport(function(S){var R,M;if(m.cors||Pi&&!S.crossDomain)return{send:function(Y,ae){var le,he=S.xhr();if(he.open(S.type,S.url,S.async,S.username,S.password),S.xhrFields)for(le in S.xhrFields)he[le]=S.xhrFields[le];S.mimeType&&he.overrideMimeType&&he.overrideMimeType(S.mimeType),!S.crossDomain&&!Y["X-Requested-With"]&&(Y["X-Requested-With"]="XMLHttpRequest");for(le in Y)he.setRequestHeader(le,Y[le]);R=function(Ue){return function(){R&&(R=M=he.onload=he.onerror=he.onabort=he.ontimeout=he.onreadystatechange=null,Ue==="abort"?he.abort():Ue==="error"?typeof he.status!="number"?ae(0,"error"):ae(he.status,he.statusText):ae(Au[he.status]||he.status,he.statusText,(he.responseType||"text")!=="text"||typeof he.responseText!="string"?{binary:he.response}:{text:he.responseText},he.getAllResponseHeaders()))}},he.onload=R(),M=he.onerror=he.ontimeout=R("error"),he.onabort!==void 0?he.onabort=M:he.onreadystatechange=function(){he.readyState===4&&t.setTimeout(function(){R&&M()})},R=R("abort");try{he.send(S.hasContent&&S.data||null)}catch(Ue){if(R)throw Ue}},abort:function(){R&&R()}}}),y.ajaxPrefilter(function(S){S.crossDomain&&(S.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(S){return y.globalEval(S),S}}}),y.ajaxPrefilter("script",function(S){S.cache===void 0&&(S.cache=!1),S.crossDomain&&(S.type="GET")}),y.ajaxTransport("script",function(S){if(S.crossDomain||S.scriptAttrs){var R,M;return{send:function(Y,ae){R=y("<script>").attr(S.scriptAttrs||{}).prop({charset:S.scriptCharset,src:S.url}).on("load error",M=function(le){R.remove(),M=null,le&&ae(le.type==="error"?404:200,le.type)}),w.head.appendChild(R[0])},abort:function(){M&&M()}}}});var da=[],lo=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var S=da.pop()||y.expando+"_"+Js.guid++;return this[S]=!0,S}}),y.ajaxPrefilter("json jsonp",function(S,R,M){var Y,ae,le,he=S.jsonp!==!1&&(lo.test(S.url)?"url":typeof S.data=="string"&&(S.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&lo.test(S.data)&&"data");if(he||S.dataTypes[0]==="jsonp")return Y=S.jsonpCallback=_(S.jsonpCallback)?S.jsonpCallback():S.jsonpCallback,he?S[he]=S[he].replace(lo,"$1"+Y):S.jsonp!==!1&&(S.url+=(cs.test(S.url)?"&":"?")+S.jsonp+"="+Y),S.converters["script json"]=function(){return le||y.error(Y+" was not called"),le[0]},S.dataTypes[0]="json",ae=t[Y],t[Y]=function(){le=arguments},M.always(function(){ae===void 0?y(t).removeProp(Y):t[Y]=ae,S[Y]&&(S.jsonpCallback=R.jsonpCallback,da.push(Y)),le&&_(ae)&&ae(le[0]),le=ae=void 0}),"script"}),m.createHTMLDocument=(function(){var S=w.implementation.createHTMLDocument("").body;return S.innerHTML="<form></form><form></form>",S.childNodes.length===2})(),y.parseHTML=function(S,R,M){if(typeof S!="string")return[];typeof R=="boolean"&&(M=R,R=!1);var Y,ae,le;return R||(m.createHTMLDocument?(R=w.implementation.createHTMLDocument(""),Y=R.createElement("base"),Y.href=w.location.href,R.head.appendChild(Y)):R=w),ae=ee.exec(S),le=!M&&[],ae?[R.createElement(ae[1])]:(ae=ui([S],R,le),le&&le.length&&y(le).remove(),y.merge([],ae.childNodes))},y.fn.load=function(S,R,M){var Y,ae,le,he=this,Ue=S.indexOf(" ");return Ue>-1&&(Y=Pr(S.slice(Ue)),S=S.slice(0,Ue)),_(R)?(M=R,R=void 0):R&&typeof R=="object"&&(ae="POST"),he.length>0&&y.ajax({url:S,type:ae||"GET",dataType:"html",data:R}).done(function(Le){le=arguments,he.html(Y?y("<div>").append(y.parseHTML(Le)).find(Y):Le)}).always(M&&function(Le,Ge){he.each(function(){M.apply(this,le||[Le.responseText,Ge,Le])})}),this},y.expr.pseudos.animated=function(S){return y.grep(y.timers,function(R){return S===R.elem}).length},y.offset={setOffset:function(S,R,M){var Y,ae,le,he,Ue,Le,Ge,wt=y.css(S,"position"),Rt=y(S),st={};wt==="static"&&(S.style.position="relative"),Ue=Rt.offset(),le=y.css(S,"top"),Le=y.css(S,"left"),Ge=(wt==="absolute"||wt==="fixed")&&(le+Le).indexOf("auto")>-1,Ge?(Y=Rt.position(),he=Y.top,ae=Y.left):(he=parseFloat(le)||0,ae=parseFloat(Le)||0),_(R)&&(R=R.call(S,M,y.extend({},Ue))),R.top!=null&&(st.top=R.top-Ue.top+he),R.left!=null&&(st.left=R.left-Ue.left+ae),"using"in R?R.using.call(S,st):Rt.css(st)}},y.fn.extend({offset:function(S){if(arguments.length)return S===void 0?this:this.each(function(ae){y.offset.setOffset(this,S,ae)});var R,M,Y=this[0];if(Y)return Y.getClientRects().length?(R=Y.getBoundingClientRect(),M=Y.ownerDocument.defaultView,{top:R.top+M.pageYOffset,left:R.left+M.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var S,R,M,Y=this[0],ae={top:0,left:0};if(y.css(Y,"position")==="fixed")R=Y.getBoundingClientRect();else{for(R=this.offset(),M=Y.ownerDocument,S=Y.offsetParent||M.documentElement;S&&(S===M.body||S===M.documentElement)&&y.css(S,"position")==="static";)S=S.parentNode;S&&S!==Y&&S.nodeType===1&&(ae=y(S).offset(),ae.top+=y.css(S,"borderTopWidth",!0),ae.left+=y.css(S,"borderLeftWidth",!0))}return{top:R.top-ae.top-y.css(Y,"marginTop",!0),left:R.left-ae.left-y.css(Y,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var S=this.offsetParent;S&&y.css(S,"position")==="static";)S=S.offsetParent;return S||yt})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(S,R){var M=R==="pageYOffset";y.fn[S]=function(Y){return Oe(this,function(ae,le,he){var Ue;if(E(ae)?Ue=ae:ae.nodeType===9&&(Ue=ae.defaultView),he===void 0)return Ue?Ue[R]:ae[le];Ue?Ue.scrollTo(M?Ue.pageXOffset:he,M?he:Ue.pageYOffset):ae[le]=he},S,Y,arguments.length)}}),y.each(["top","left"],function(S,R){y.cssHooks[R]=nt(m.pixelPosition,function(M,Y){if(Y)return Y=ct(M,R),vt.test(Y)?y(M).position()[R]+"px":Y})}),y.each({Height:"height",Width:"width"},function(S,R){y.each({padding:"inner"+S,content:R,"":"outer"+S},function(M,Y){y.fn[Y]=function(ae,le){var he=arguments.length&&(M||typeof ae!="boolean"),Ue=M||(ae===!0||le===!0?"margin":"border");return Oe(this,function(Le,Ge,wt){var Rt;return E(Le)?Y.indexOf("outer")===0?Le["inner"+S]:Le.document.documentElement["client"+S]:Le.nodeType===9?(Rt=Le.documentElement,Math.max(Le.body["scroll"+S],Rt["scroll"+S],Le.body["offset"+S],Rt["offset"+S],Rt["client"+S])):wt===void 0?y.css(Le,Ge,Ue):y.style(Le,Ge,wt,Ue)},R,he?ae:void 0,he)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(S,R){y.fn[R]=function(M){return this.on(R,M)}}),y.fn.extend({bind:function(S,R,M){return this.on(S,null,R,M)},unbind:function(S,R){return this.off(S,null,R)},delegate:function(S,R,M,Y){return this.on(R,S,M,Y)},undelegate:function(S,R,M){return arguments.length===1?this.off(S,"**"):this.off(R,S||"**",M)},hover:function(S,R){return this.on("mouseenter",S).on("mouseleave",R||S)}}),y.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(S,R){y.fn[R]=function(M,Y){return arguments.length>0?this.on(R,null,M,Y):this.trigger(R)}});var Vo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function(S,R){var M,Y,ae;if(typeof R=="string"&&(M=S[R],R=S,S=M),!!_(S))return Y=a.call(arguments,2),ae=function(){return S.apply(R||this,Y.concat(a.call(arguments)))},ae.guid=S.guid=S.guid||y.guid++,ae},y.holdReady=function(S){S?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=D,y.isFunction=_,y.isWindow=E,y.camelCase=_e,y.type=T,y.now=Date.now,y.isNumeric=function(S){var R=y.type(S);return(R==="number"||R==="string")&&!isNaN(S-parseFloat(S))},y.trim=function(S){return S==null?"":(S+"").replace(Vo,"$1")};var co=t.jQuery,fo=t.$;return y.noConflict=function(S){return t.$===y&&(t.$=fo),S&&t.jQuery===y&&(t.jQuery=co),y},typeof r>"u"&&(t.jQuery=t.$=y),y})})(lm)),lm.exports}var Az;function Ute(){return Az||(Az=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=Fte(),i;try{i=jte()}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 l=function(z,k,U){switch(z){case 1:return function(){return n[k](this[U])};case 2:return function(H){return n[k](this[U],H)};case 3:return function(H,ne){return n[k](this[U],c(H,this),ne)};case 4:return function(H,ne,q){return n[k](this[U],c(H,this),ne,q)};default:return function(){var H=o.call(arguments);return H.unshift(this[U]),n[k].apply(n,H)}}},s=function(z,k,U){n.each(k,function(H,ne){n[ne]&&(z.prototype[ne]=l(H,ne,U))})},c=function(z,k){return n.isFunction(z)?z:n.isObject(z)&&!k._isModel(z)?d(z):n.isString(z)?function(U){return U.get(z)}:z},d=function(z){var k=n.matches(z);return function(U){return k(U.attributes)}},h=r.Events={},p=/\s+/,g=function(z,k,U,H,ne){var q=0,J;if(U&&typeof U=="object")for(H!==void 0&&("context"in ne)&&ne.context===void 0&&(ne.context=H),J=n.keys(U);q<J.length;q++)k=g(z,k,J[q],U[J[q]],ne);else if(U&&p.test(U))for(J=U.split(p);q<J.length;q++)k=z(k,J[q],H,ne);else k=z(k,U,H,ne);return k};h.on=function(z,k,U){return m(this,z,k,U)};var m=function(z,k,U,H,ne){if(z._events=g(_,z._events||{},k,U,{context:H,ctx:z,listening:ne}),ne){var q=z._listeners||(z._listeners={});q[ne.id]=ne}return z};h.listenTo=function(z,k,U){if(!z)return this;var H=z._listenId||(z._listenId=n.uniqueId("l")),ne=this._listeningTo||(this._listeningTo={}),q=ne[H];if(!q){var J=this._listenId||(this._listenId=n.uniqueId("l"));q=ne[H]={obj:z,objId:H,id:J,listeningTo:ne,count:0}}return m(z,k,U,this,q),this};var _=function(z,k,U,H){if(U){var ne=z[k]||(z[k]=[]),q=H.context,J=H.ctx,me=H.listening;me&&me.count++,ne.push({callback:U,context:q,ctx:q||J,listening:me})}return z};h.off=function(z,k,U){return this._events?(this._events=g(E,this._events,z,k,{context:U,listeners:this._listeners}),this):this},h.stopListening=function(z,k,U){var H=this._listeningTo;if(!H)return this;for(var ne=z?[z._listenId]:n.keys(H),q=0;q<ne.length;q++){var J=H[ne[q]];if(!J)break;J.obj.off(k,U,this)}return this};var E=function(z,k,U,H){if(z){var ne=0,q,J=H.context,me=H.listeners;if(!k&&!U&&!J){for(var fe=n.keys(me);ne<fe.length;ne++)q=me[fe[ne]],delete me[q.id],delete q.listeningTo[q.objId];return}for(var Te=k?[k]:n.keys(z);ne<Te.length;ne++){k=Te[ne];var Se=z[k];if(!Se)break;for(var Oe=[],Me=0;Me<Se.length;Me++){var de=Se[Me];U&&U!==de.callback&&U!==de.callback._callback||J&&J!==de.context?Oe.push(de):(q=de.listening,q&&--q.count===0&&(delete me[q.id],delete q.listeningTo[q.objId]))}Oe.length?z[k]=Oe:delete z[k]}return z}};h.once=function(z,k,U){var H=g(w,{},z,k,n.bind(this.off,this));return typeof z=="string"&&U==null&&(k=void 0),this.on(H,k,U)},h.listenToOnce=function(z,k,U){var H=g(w,{},k,U,n.bind(this.stopListening,this,z));return this.listenTo(z,H)};var w=function(z,k,U,H){if(U){var ne=z[k]=n.once(function(){H(k,ne),U.apply(this,arguments)});ne._callback=U}return z};h.trigger=function(z){if(!this._events)return this;for(var k=Math.max(0,arguments.length-1),U=Array(k),H=0;H<k;H++)U[H]=arguments[H+1];return g(b,this._events,z,void 0,U),this};var b=function(z,k,U,H){if(z){var ne=z[k],q=z.all;ne&&q&&(q=q.slice()),ne&&x(ne,H),q&&x(q,[k].concat(H))}return z},x=function(z,k){var U,H=-1,ne=z.length,q=k[0],J=k[1],me=k[2];switch(k.length){case 0:for(;++H<ne;)(U=z[H]).callback.call(U.ctx);return;case 1:for(;++H<ne;)(U=z[H]).callback.call(U.ctx,q);return;case 2:for(;++H<ne;)(U=z[H]).callback.call(U.ctx,q,J);return;case 3:for(;++H<ne;)(U=z[H]).callback.call(U.ctx,q,J,me);return;default:for(;++H<ne;)(U=z[H]).callback.apply(U.ctx,k);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var T=r.Model=function(z,k){var U=z||{};k||(k={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},k.collection&&(this.collection=k.collection),k.parse&&(U=this.parse(U,k)||{});var H=n.result(this,"defaults");U=n.defaults(n.extend({},H,U),H),this.set(U,k),this.changed={},this.initialize.apply(this,arguments)};n.extend(T.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(z){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(z){return this.attributes[z]},escape:function(z){return n.escape(this.get(z))},has:function(z){return this.get(z)!=null},matches:function(z){return!!n.iteratee(z,this)(this.attributes)},set:function(z,k,U){if(z==null)return this;var H;if(typeof z=="object"?(H=z,U=k):(H={})[z]=k,U||(U={}),!this._validate(H,U))return!1;var ne=U.unset,q=U.silent,J=[],me=this._changing;this._changing=!0,me||(this._previousAttributes=n.clone(this.attributes),this.changed={});var fe=this.attributes,Te=this.changed,Se=this._previousAttributes;for(var Oe in H)k=H[Oe],n.isEqual(fe[Oe],k)||J.push(Oe),n.isEqual(Se[Oe],k)?delete Te[Oe]:Te[Oe]=k,ne?delete fe[Oe]:fe[Oe]=k;if(this.idAttribute in H&&(this.id=this.get(this.idAttribute)),!q){J.length&&(this._pending=U);for(var Me=0;Me<J.length;Me++)this.trigger("change:"+J[Me],this,fe[J[Me]],U)}if(me)return this;if(!q)for(;this._pending;)U=this._pending,this._pending=!1,this.trigger("change",this,U);return this._pending=!1,this._changing=!1,this},unset:function(z,k){return this.set(z,void 0,n.extend({},k,{unset:!0}))},clear:function(z){var k={};for(var U in this.attributes)k[U]=void 0;return this.set(k,n.extend({},z,{unset:!0}))},hasChanged:function(z){return z==null?!n.isEmpty(this.changed):n.has(this.changed,z)},changedAttributes:function(z){if(!z)return this.hasChanged()?n.clone(this.changed):!1;var k=this._changing?this._previousAttributes:this.attributes,U={};for(var H in z){var ne=z[H];n.isEqual(k[H],ne)||(U[H]=ne)}return n.size(U)?U:!1},previous:function(z){return z==null||!this._previousAttributes?null:this._previousAttributes[z]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(z){z=n.extend({parse:!0},z);var k=this,U=z.success;return z.success=function(H){var ne=z.parse?k.parse(H,z):H;if(!k.set(ne,z))return!1;U&&U.call(z.context,k,H,z),k.trigger("sync",k,H,z)},je(this,z),this.sync("read",this,z)},save:function(z,k,U){var H;z==null||typeof z=="object"?(H=z,U=k):(H={})[z]=k,U=n.extend({validate:!0,parse:!0},U);var ne=U.wait;if(H&&!ne){if(!this.set(H,U))return!1}else if(!this._validate(H,U))return!1;var q=this,J=U.success,me=this.attributes;U.success=function(Se){q.attributes=me;var Oe=U.parse?q.parse(Se,U):Se;if(ne&&(Oe=n.extend({},H,Oe)),Oe&&!q.set(Oe,U))return!1;J&&J.call(U.context,q,Se,U),q.trigger("sync",q,Se,U)},je(this,U),H&&ne&&(this.attributes=n.extend({},me,H));var fe=this.isNew()?"create":U.patch?"patch":"update";fe==="patch"&&!U.attrs&&(U.attrs=H);var Te=this.sync(fe,this,U);return this.attributes=me,Te},destroy:function(z){z=z?n.clone(z):{};var k=this,U=z.success,H=z.wait,ne=function(){k.stopListening(),k.trigger("destroy",k,k.collection,z)};z.success=function(J){H&&ne(),U&&U.call(z.context,k,J,z),k.isNew()||k.trigger("sync",k,J,z)};var q=!1;return this.isNew()?n.defer(z.success):(je(this,z),q=this.sync("delete",this,z)),H||ne(),q},url:function(){var z=n.result(this,"urlRoot")||n.result(this.collection,"url")||Ie();if(this.isNew())return z;var k=this.get(this.idAttribute);return z.replace(/[^\/]$/,"$&/")+encodeURIComponent(k)},parse:function(z,k){return z},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(z){return this._validate({},n.extend({},z,{validate:!0}))},_validate:function(z,k){if(!k.validate||!this.validate)return!0;z=n.extend({},this.attributes,z);var U=this.validationError=this.validate(z,k)||null;return U?(this.trigger("invalid",this,U,n.extend(k,{validationError:U})),!1):!0}});var A={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};s(T,A,"attributes");var O=r.Collection=function(z,k){k||(k={}),k.model&&(this.model=k.model),k.comparator!==void 0&&(this.comparator=k.comparator),this._reset(),this.initialize.apply(this,arguments),z&&this.reset(z,n.extend({silent:!0},k))},y={add:!0,remove:!0,merge:!0},P={add:!0,remove:!1},D=function(z,k,U){U=Math.min(Math.max(U,0),z.length);var H=Array(z.length-U),ne=k.length,q;for(q=0;q<H.length;q++)H[q]=z[q+U];for(q=0;q<ne;q++)z[q+U]=k[q];for(q=0;q<H.length;q++)z[q+ne+U]=H[q]};n.extend(O.prototype,h,{model:T,initialize:function(){},toJSON:function(z){return this.map(function(k){return k.toJSON(z)})},sync:function(){return r.sync.apply(this,arguments)},add:function(z,k){return this.set(z,n.extend({merge:!1},k,P))},remove:function(z,k){k=n.extend({},k);var U=!n.isArray(z);z=U?[z]:z.slice();var H=this._removeModels(z,k);return!k.silent&&H.length&&(k.changes={added:[],merged:[],removed:H},this.trigger("update",this,k)),U?H[0]:H},set:function(z,k){if(z!=null){k=n.extend({},y,k),k.parse&&!this._isModel(z)&&(z=this.parse(z,k)||[]);var U=!n.isArray(z);z=U?[z]:z.slice();var H=k.at;H!=null&&(H=+H),H>this.length&&(H=this.length),H<0&&(H+=this.length+1);var ne=[],q=[],J=[],me=[],fe={},Te=k.add,Se=k.merge,Oe=k.remove,Me=!1,de=this.comparator&&H==null&&k.sort!==!1,Ee=n.isString(this.comparator)?this.comparator:null,_e,Ae;for(Ae=0;Ae<z.length;Ae++){_e=z[Ae];var De=this.get(_e);if(De){if(Se&&_e!==De){var Ne=this._isModel(_e)?_e.attributes:_e;k.parse&&(Ne=De.parse(Ne,k)),De.set(Ne,k),J.push(De),de&&!Me&&(Me=De.hasChanged(Ee))}fe[De.cid]||(fe[De.cid]=!0,ne.push(De)),z[Ae]=De}else Te&&(_e=z[Ae]=this._prepareModel(_e,k),_e&&(q.push(_e),this._addReference(_e,k),fe[_e.cid]=!0,ne.push(_e)))}if(Oe){for(Ae=0;Ae<this.length;Ae++)_e=this.models[Ae],fe[_e.cid]||me.push(_e);me.length&&this._removeModels(me,k)}var Be=!1,_t=!de&&Te&&Oe;if(ne.length&&_t?(Be=this.length!==ne.length||n.some(this.models,function(Ut,Mt){return Ut!==ne[Mt]}),this.models.length=0,D(this.models,ne,0),this.length=this.models.length):q.length&&(de&&(Me=!0),D(this.models,q,H??this.length),this.length=this.models.length),Me&&this.sort({silent:!0}),!k.silent){for(Ae=0;Ae<q.length;Ae++)H!=null&&(k.index=H+Ae),_e=q[Ae],_e.trigger("add",_e,this,k);(Me||Be)&&this.trigger("sort",this,k),(q.length||me.length||J.length)&&(k.changes={added:q,removed:me,merged:J},this.trigger("update",this,k))}return U?z[0]:z}},reset:function(z,k){k=k?n.clone(k):{};for(var U=0;U<this.models.length;U++)this._removeReference(this.models[U],k);return k.previousModels=this.models,this._reset(),z=this.add(z,n.extend({silent:!0},k)),k.silent||this.trigger("reset",this,k),z},push:function(z,k){return this.add(z,n.extend({at:this.length},k))},pop:function(z){var k=this.at(this.length-1);return this.remove(k,z)},unshift:function(z,k){return this.add(z,n.extend({at:0},k))},shift:function(z){var k=this.at(0);return this.remove(k,z)},slice:function(){return o.apply(this.models,arguments)},get:function(z){if(z!=null)return this._byId[z]||this._byId[this.modelId(z.attributes||z)]||z.cid&&this._byId[z.cid]},has:function(z){return this.get(z)!=null},at:function(z){return z<0&&(z+=this.length),this.models[z]},where:function(z,k){return this[k?"find":"filter"](z)},findWhere:function(z){return this.where(z,!0)},sort:function(z){var k=this.comparator;if(!k)throw new Error("Cannot sort a set without a comparator");z||(z={});var U=k.length;return n.isFunction(k)&&(k=n.bind(k,this)),U===1||n.isString(k)?this.models=this.sortBy(k):this.models.sort(k),z.silent||this.trigger("sort",this,z),this},pluck:function(z){return this.map(z+"")},fetch:function(z){z=n.extend({parse:!0},z);var k=z.success,U=this;return z.success=function(H){var ne=z.reset?"reset":"set";U[ne](H,z),k&&k.call(z.context,U,H,z),U.trigger("sync",U,H,z)},je(this,z),this.sync("read",this,z)},create:function(z,k){k=k?n.clone(k):{};var U=k.wait;if(z=this._prepareModel(z,k),!z)return!1;U||this.add(z,k);var H=this,ne=k.success;return k.success=function(q,J,me){U&&H.add(q,me),ne&&ne.call(me.context,q,J,me)},z.save(null,k),z},parse:function(z,k){return z},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(z){return z[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(z,k){if(this._isModel(z))return z.collection||(z.collection=this),z;k=k?n.clone(k):{},k.collection=this;var U=new this.model(z,k);return U.validationError?(this.trigger("invalid",this,U.validationError,k),!1):U},_removeModels:function(z,k){for(var U=[],H=0;H<z.length;H++){var ne=this.get(z[H]);if(ne){var q=this.indexOf(ne);this.models.splice(q,1),this.length--,delete this._byId[ne.cid];var J=this.modelId(ne.attributes);J!=null&&delete this._byId[J],k.silent||(k.index=q,ne.trigger("remove",ne,this,k)),U.push(ne),this._removeReference(ne,k)}}return U},_isModel:function(z){return z instanceof T},_addReference:function(z,k){this._byId[z.cid]=z;var U=this.modelId(z.attributes);U!=null&&(this._byId[U]=z),z.on("all",this._onModelEvent,this)},_removeReference:function(z,k){delete this._byId[z.cid];var U=this.modelId(z.attributes);U!=null&&delete this._byId[U],this===z.collection&&delete z.collection,z.off("all",this._onModelEvent,this)},_onModelEvent:function(z,k,U,H){if(k){if((z==="add"||z==="remove")&&U!==this)return;if(z==="destroy"&&this.remove(k,H),z==="change"){var ne=this.modelId(k.previousAttributes()),q=this.modelId(k.attributes);ne!==q&&(ne!=null&&delete this._byId[ne],q!=null&&(this._byId[q]=k))}}this.trigger.apply(this,arguments)}});var V={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};s(O,V,"models");var F=r.View=function(z){this.cid=n.uniqueId("view"),n.extend(this,n.pick(z,K)),this._ensureElement(),this.initialize.apply(this,arguments)},B=/^(\S+)\s*(.*)$/,K=["model","collection","el","id","attributes","className","tagName","events"];n.extend(F.prototype,h,{tagName:"div",$:function(z){return this.$el.find(z)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(z){return this.undelegateEvents(),this._setElement(z),this.delegateEvents(),this},_setElement:function(z){this.$el=z instanceof r.$?z:r.$(z),this.el=this.$el[0]},delegateEvents:function(z){if(z||(z=n.result(this,"events")),!z)return this;this.undelegateEvents();for(var k in z){var U=z[k];if(n.isFunction(U)||(U=this[U]),!!U){var H=k.match(B);this.delegate(H[1],H[2],n.bind(U,this))}}return this},delegate:function(z,k,U){return this.$el.on(z+".delegateEvents"+this.cid,k,U),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(z,k,U){return this.$el.off(z+".delegateEvents"+this.cid,k,U),this},_createElement:function(z){return document.createElement(z)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var z=n.extend({},n.result(this,"attributes"));this.id&&(z.id=n.result(this,"id")),this.className&&(z.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(z)}},_setAttributes:function(z){this.$el.attr(z)}}),r.sync=function(z,k,U){var H=Q[z];n.defaults(U||(U={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var ne={type:H,dataType:"json"};if(U.url||(ne.url=n.result(k,"url")||Ie()),U.data==null&&k&&(z==="create"||z==="update"||z==="patch")&&(ne.contentType="application/json",ne.data=JSON.stringify(U.attrs||k.toJSON(U))),U.emulateJSON&&(ne.contentType="application/x-www-form-urlencoded",ne.data=ne.data?{model:ne.data}:{}),U.emulateHTTP&&(H==="PUT"||H==="DELETE"||H==="PATCH")){ne.type="POST",U.emulateJSON&&(ne.data._method=H);var q=U.beforeSend;U.beforeSend=function(fe){if(fe.setRequestHeader("X-HTTP-Method-Override",H),q)return q.apply(this,arguments)}}ne.type!=="GET"&&!U.emulateJSON&&(ne.processData=!1);var J=U.error;U.error=function(fe,Te,Se){U.textStatus=Te,U.errorThrown=Se,J&&J.call(U.context,fe,Te,Se)};var me=U.xhr=r.ajax(n.extend(ne,U));return k.trigger("request",k,me,U),me};var Q={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var X=r.Router=function(z){z||(z={}),z.routes&&(this.routes=z.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},te=/\((.*?)\)/g,ue=/(\(\?)?:\w+/g,L=/\*\w+/g,I=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(X.prototype,h,{initialize:function(){},route:function(z,k,U){n.isRegExp(z)||(z=this._routeToRegExp(z)),n.isFunction(k)&&(U=k,k=""),U||(U=this[k]);var H=this;return r.history.route(z,function(ne){var q=H._extractParameters(z,ne);H.execute(U,q,k)!==!1&&(H.trigger.apply(H,["route:"+k].concat(q)),H.trigger("route",k,q),r.history.trigger("route",H,k,q))}),this},execute:function(z,k,U){z&&z.apply(this,k)},navigate:function(z,k){return r.history.navigate(z,k),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var z,k=n.keys(this.routes);(z=k.pop())!=null;)this.route(z,this.routes[z])}},_routeToRegExp:function(z){return z=z.replace(I,"\\$&").replace(te,"(?:$1)?").replace(ue,function(k,U){return U?k:"([^/?]+)"}).replace(L,"([^?]*?)"),new RegExp("^"+z+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(z,k){var U=z.exec(k).slice(1);return n.map(U,function(H,ne){return ne===U.length-1?H||null:H?decodeURIComponent(H):null})}});var N=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},re=/^[#\/]|\s+$/g,ee=/^\/+|\/+$/g,ce=/#.*$/;N.started=!1,n.extend(N.prototype,h,{interval:50,atRoot:function(){var z=this.location.pathname.replace(/[^\/]$/,"$&/");return z===this.root&&!this.getSearch()},matchRoot:function(){var z=this.decodeFragment(this.location.pathname),k=z.slice(0,this.root.length-1)+"/";return k===this.root},decodeFragment:function(z){return decodeURI(z.replace(/%25/g,"%2525"))},getSearch:function(){var z=this.location.href.replace(/#.*/,"").match(/\?.+/);return z?z[0]:""},getHash:function(z){var k=(z||this).location.href.match(/#(.*)$/);return k?k[1]:""},getPath:function(){var z=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return z.charAt(0)==="/"?z.slice(1):z},getFragment:function(z){return z==null&&(this._usePushState||!this._wantsHashChange?z=this.getPath():z=this.getHash()),z.replace(re,"")},start:function(z){if(N.started)throw new Error("Backbone.history has already been started");if(N.started=!0,this.options=n.extend({root:"/"},this.options,z),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(ee,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var k=this.root.slice(0,-1)||"/";return this.location.replace(k+"#"+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 U=document.body,H=U.insertBefore(this.iframe,U.firstChild).contentWindow;H.document.open(),H.document.close(),H.location.hash="#"+this.fragment}var ne=window.addEventListener||function(q,J){return attachEvent("on"+q,J)};if(this._usePushState?ne("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?ne("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var z=window.removeEventListener||function(k,U){return detachEvent("on"+k,U)};this._usePushState?z("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&z("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),N.started=!1},route:function(z,k){this.handlers.unshift({route:z,callback:k})},checkUrl:function(z){var k=this.getFragment();if(k===this.fragment&&this.iframe&&(k=this.getHash(this.iframe.contentWindow)),k===this.fragment)return!1;this.iframe&&this.navigate(k),this.loadUrl()},loadUrl:function(z){return this.matchRoot()?(z=this.fragment=this.getFragment(z),n.some(this.handlers,function(k){if(k.route.test(z))return k.callback(z),!0})):!1},navigate:function(z,k){if(!N.started)return!1;(!k||k===!0)&&(k={trigger:!!k}),z=this.getFragment(z||"");var U=this.root;(z===""||z.charAt(0)==="?")&&(U=U.slice(0,-1)||"/");var H=U+z;if(z=this.decodeFragment(z.replace(ce,"")),this.fragment!==z){if(this.fragment=z,this._usePushState)this.history[k.replace?"replaceState":"pushState"]({},document.title,H);else if(this._wantsHashChange){if(this._updateHash(this.location,z,k.replace),this.iframe&&z!==this.getHash(this.iframe.contentWindow)){var ne=this.iframe.contentWindow;k.replace||(ne.document.open(),ne.document.close()),this._updateHash(ne.location,z,k.replace)}}else return this.location.assign(H);if(k.trigger)return this.loadUrl(z)}},_updateHash:function(z,k,U){if(U){var H=z.href.replace(/(javascript:|#).*$/,"");z.replace(H+"#"+k)}else z.hash="#"+k}}),r.history=new N;var be=function(z,k){var U=this,H;return z&&n.has(z,"constructor")?H=z.constructor:H=function(){return U.apply(this,arguments)},n.extend(H,U,k),H.prototype=n.create(U.prototype,z),H.prototype.constructor=H,H.__super__=U.prototype,H};T.extend=O.extend=X.extend=F.extend=N.extend=be;var Ie=function(){throw new Error('A "url" property or function must be specified')},je=function(z,k){var U=k.error;k.error=function(H){U&&U.call(k.context,z,H,k),z.trigger("error",z,H,k)}};return r})})(TC)),TC}var N1e=sm.exports,Rz;function M1e(){return Rz||(Rz=1,(function(e,t){(function(r,n){e.exports=n(Fte(),Ute())})(N1e,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(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol?"symbol":typeof E},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(E,w,b){return E+(b?" on the "+b+" channel":"")+': "'+w+'"'},o.debugLog=function(E,w,b){o.DEBUG&&console&&console.warn&&console.warn(o._debugText(E,w,b))};var l=/\s+/;o._eventsApi=function(E,w,b,x){if(!b)return!1;var T={};if((typeof b>"u"?"undefined":i(b))==="object"){for(var A in b){var O=E[w].apply(E,[A,b[A]].concat(x));l.test(A)?r.extend(T,O):T[A]=O}return T}if(l.test(b)){for(var y=b.split(l),P=0,D=y.length;P<D;P++)T[y[P]]=E[w].apply(E,[y[P]].concat(x));return T}return!1},o._callHandler=function(E,w,b){var x=b[0],T=b[1],A=b[2];switch(b.length){case 0:return E.call(w);case 1:return E.call(w,x);case 2:return E.call(w,x,T);case 3:return E.call(w,x,T,A);default:return E.apply(w,b)}};function s(E,w,b,x){var T=E[w];if((!b||b===T.callback||b===T.callback._callback)&&(!x||x===T.context))return delete E[w],!0}function c(E,w,b,x){E||(E={});for(var T=w?[w]:r.keys(E),A=!1,O=0,y=T.length;O<y;O++)w=T[O],E[w]&&s(E,w,b,x)&&(A=!0);return A}var d={};function h(E){return d[E]||(d[E]=r.bind(o.log,o,E))}r.extend(o,{log:function(w,b){if(!(typeof console>"u")){var x=r.toArray(arguments).slice(2);console.log("["+w+'] "'+b+'"',x)}},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 p(E){return r.isFunction(E)?E:function(){return E}}o.Requests={request:function(w){var b=r.toArray(arguments).slice(1),x=o._eventsApi(this,"request",w,b);if(x)return x;var T=this.channelName,A=this._requests;if(T&&this._tunedIn&&o.log.apply(this,[T,w].concat(b)),A&&(A[w]||A.default)){var O=A[w]||A.default;return b=A[w]?b:arguments,o._callHandler(O.callback,O.context,b)}else o.debugLog("An unhandled request was fired",w,T)},reply:function(w,b,x){return o._eventsApi(this,"reply",w,[b,x])?this:(this._requests||(this._requests={}),this._requests[w]&&o.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:p(b),context:x||this},this)},replyOnce:function(w,b,x){if(o._eventsApi(this,"replyOnce",w,[b,x]))return this;var T=this,A=r.once(function(){return T.stopReplying(w),p(b).apply(this,arguments)});return this.reply(w,A,x)},stopReplying:function(w,b,x){return o._eventsApi(this,"stopReplying",w)?this:(!w&&!b&&!x?delete this._requests:c(this._requests,w,b,x)||o.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},o._channels={},o.channel=function(E){if(!E)throw new Error("You must provide a name for the channel.");return o._channels[E]?o._channels[E]:o._channels[E]=new o.Channel(E)},o.Channel=function(E){this.channelName=E},r.extend(o.Channel.prototype,n.Events,o.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var g,m,_=[n.Events,o.Requests];return r.each(_,function(E){r.each(E,function(w,b){o[b]=function(x){return m=r.toArray(arguments).slice(1),g=this.channel(x),g[b].apply(g,m)}})}),o.reset=function(E){var w=E?[this._channels[E]]:this._channels;r.each(w,function(b){b.reset()})},o})})(sm)),sm.exports}var $1e=M1e();const xz=Ln($1e);var qr=Ute();const Zi=Ln(qr);var qte="1.13.7",Oz=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},e1=Array.prototype,IP=Object.prototype,Iz=typeof Symbol<"u"?Symbol.prototype:null,F1e=e1.push,ov=e1.slice,Tp=IP.toString,j1e=IP.hasOwnProperty,Vte=typeof ArrayBuffer<"u",U1e=typeof DataView<"u",q1e=Array.isArray,Pz=Object.keys,kz=Object.create,Dz=Vte&&ArrayBuffer.isView,V1e=isNaN,H1e=isFinite,Hte=!{toString:null}.propertyIsEnumerable("toString"),Lz=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B1e=Math.pow(2,53)-1;function Po(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 Is(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function z1e(e){return e===null}function km(e){return e===void 0}function Bte(e){return e===!0||e===!1||Tp.call(e)==="[object Boolean]"}function W1e(e){return!!(e&&e.nodeType===1)}function za(e){var t="[object "+e+"]";return function(r){return Tp.call(r)===t}}var PP=za("String"),bd=za("Number"),G1e=za("Date"),K1e=za("RegExp"),Y1e=za("Error"),zte=za("Symbol"),Wte=za("ArrayBuffer"),Gte=za("Function"),X1e=Oz.document&&Oz.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof X1e!="function"&&(Gte=function(e){return typeof e=="function"||!1});var cn=Gte,Kte=za("Object"),Yte=U1e&&(!/\[native code\]/.test(String(DataView))||Kte(new DataView(new ArrayBuffer(8)))),kP=typeof Map<"u"&&Kte(new Map),Q1e=za("DataView");function Z1e(e){return e!=null&&cn(e.getInt8)&&Wte(e.buffer)}var Dm=Yte?Z1e:Q1e,Jl=q1e||za("Array");function ec(e,t){return e!=null&&j1e.call(e,t)}var OO=za("Arguments");(function(){OO(arguments)||(OO=function(e){return ec(e,"callee")})})();var DP=OO;function J1e(e){return!zte(e)&&H1e(e)&&!isNaN(parseFloat(e))}function Xte(e){return bd(e)&&V1e(e)}function Qte(e){return function(){return e}}function Zte(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=B1e}}function Jte(e){return function(t){return t==null?void 0:t[e]}}var Lm=Jte("byteLength"),e0e=Zte(Lm),t0e=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function r0e(e){return Dz?Dz(e)&&!Dm(e):e0e(e)&&t0e.test(Tp.call(e))}var ere=Vte?r0e:Qte(!1),ko=Jte("length");function n0e(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 tre(e,t){t=n0e(t);var r=Lz.length,n=e.constructor,i=cn(n)&&n.prototype||IP,a="constructor";for(ec(e,a)&&!t.contains(a)&&t.push(a);r--;)a=Lz[r],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function ea(e){if(!Is(e))return[];if(Pz)return Pz(e);var t=[];for(var r in e)ec(e,r)&&t.push(r);return Hte&&tre(e,t),t}function Ap(e){if(e==null)return!0;var t=ko(e);return typeof t=="number"&&(Jl(e)||PP(e)||DP(e))?t===0:ko(ea(e))===0}function rre(e,t){var r=ea(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 qn(e){if(e instanceof qn)return e;if(!(this instanceof qn))return new qn(e);this._wrapped=e}qn.VERSION=qte;qn.prototype.value=function(){return this._wrapped};qn.prototype.valueOf=qn.prototype.toJSON=qn.prototype.value;qn.prototype.toString=function(){return String(this._wrapped)};function Nz(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Lm(e))}var Mz="[object DataView]";function IO(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:nre(e,t,r,n)}function nre(e,t,r,n){e instanceof qn&&(e=e._wrapped),t instanceof qn&&(t=t._wrapped);var i=Tp.call(e);if(i!==Tp.call(t))return!1;if(Yte&&i=="[object Object]"&&Dm(e)){if(!Dm(t))return!1;i=Mz}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 Iz.valueOf.call(e)===Iz.valueOf.call(t);case"[object ArrayBuffer]":case Mz:return nre(Nz(e),Nz(t),r,n)}var a=i==="[object Array]";if(!a&&ere(e)){var o=Lm(e);if(o!==Lm(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 l=e.constructor,s=t.constructor;if(l!==s&&!(cn(l)&&l instanceof l&&cn(s)&&s instanceof s)&&"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(!IO(e[c],t[c],r,n))return!1}else{var d=ea(e),h;if(c=d.length,ea(t).length!==c)return!1;for(;c--;)if(h=d[c],!(ec(t,h)&&IO(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function ire(e,t){return IO(e,t)}function sv(e){if(!Is(e))return[];var t=[];for(var r in e)t.push(r);return Hte&&tre(e,t),t}function LP(e){var t=ko(e);return function(r){if(r==null)return!1;var n=sv(r);if(ko(n))return!1;for(var i=0;i<t;i++)if(!cn(r[e[i]]))return!1;return e!==sre||!cn(r[NP])}}var NP="forEach",are="has",MP=["clear","delete"],ore=["get",are,"set"],i0e=MP.concat(NP,ore),sre=MP.concat(ore),a0e=["add"].concat(MP,NP,are),o0e=kP?LP(i0e):za("Map"),s0e=kP?LP(sre):za("WeakMap"),u0e=kP?LP(a0e):za("Set"),l0e=za("WeakSet");function tc(e){for(var t=ea(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function c0e(e){for(var t=ea(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function ure(e){for(var t={},r=ea(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function PO(e){var t=[];for(var r in e)cn(e[r])&&t.push(r);return t.sort()}function $P(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),l=o.length,s=0;s<l;s++){var c=o[s];(!t||r[c]===void 0)&&(r[c]=a[c])}return r}}var To=$P(sv),Nm=$P(ea),lre=$P(sv,!0);function f0e(){return function(){}}function cre(e){if(!Is(e))return{};if(kz)return kz(e);var t=f0e();t.prototype=e;var r=new t;return t.prototype=null,r}function d0e(e,t){var r=cre(e);return t&&Nm(r,t),r}function fre(e){return Is(e)?Jl(e)?e.slice():To({},e):e}function h0e(e,t){return t(e),e}function dre(e){return Jl(e)?e:[e]}qn.toPath=dre;function uv(e){return qn.toPath(e)}function FP(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 hre(e,t,r){var n=FP(e,uv(t));return km(n)?r:n}function Mm(e,t){t=uv(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!ec(e,i))return!1;e=e[i]}return!!r}function t1(e){return e}function Rp(e){return e=Nm({},e),function(t){return rre(t,e)}}function jP(e){return e=uv(e),function(t){return FP(t,e)}}function lv(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 pre(e,t,r){return e==null?t1:cn(e)?lv(e,t,r):Is(e)&&!Jl(e)?Rp(e):jP(e)}function UP(e,t){return pre(e,t,1/0)}qn.iteratee=UP;function No(e,t,r){return qn.iteratee!==UP?qn.iteratee(e,t):pre(e,t,r)}function p0e(e,t,r){t=No(t,r);for(var n=ea(e),i=n.length,a={},o=0;o<i;o++){var l=n[o];a[l]=t(e[l],l,e)}return a}function vre(){}function v0e(e){return e==null?vre:function(t){return hre(e,t)}}function g0e(e,t,r){var n=Array(Math.max(0,e));t=lv(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function kO(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var xp=Date.now||function(){return new Date().getTime()};function gre(e){var t=function(a){return e[a]},r="(?:"+ea(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 mre={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},m0e=gre(mre),y0e=ure(mre),_0e=gre(y0e),S0e=qn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},AC=/(.)^/,E0e={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},w0e=/\\|'|\r|\n|\u2028|\u2029/g;function b0e(e){return"\\"+E0e[e]}var C0e=/^\s*(\w|\$)+\s*$/;function T0e(e,t,r){!t&&r&&(t=r),t=lre({},t,qn.templateSettings);var n=RegExp([(t.escape||AC).source,(t.interpolate||AC).source,(t.evaluate||AC).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,function(c,d,h,p,g){return a+=e.slice(i,g).replace(w0e,b0e),i=g+c.length,d?a+=`'+
35
+ ((__t=(`+d+`))==null?'':_.escape(__t))+
36
+ '`:h?a+=`'+
37
+ ((__t=(`+h+`))==null?'':__t)+
38
+ '`:p&&(a+=`';
39
+ `+p+`
40
+ __p+='`),c}),a+=`';
41
+ `;var o=t.variable;if(o){if(!C0e.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){
42
+ `+a+`}
43
+ `,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
44
+ `+a+`return __p;
45
+ `;var l;try{l=new Function(o,"_",a)}catch(c){throw c.source=a,c}var s=function(c){return l.call(this,c,qn)};return s.source="function("+o+`){
46
+ `+a+"}",s}function hp(e,t,r){t=uv(t);var n=t.length;if(!n)return cn(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=cn(a)?a.call(e):a}return e}var A0e=0;function yre(e){var t=++A0e+"";return e?e+t:t}function R0e(e){var t=qn(e);return t._chain=!0,t}function _re(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=cre(e.prototype),o=e.apply(a,i);return Is(o)?o:a}var uh=Po(function(e,t){var r=uh.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),l=0;l<a;l++)o[l]=t[l]===r?arguments[i++]:t[l];for(;i<arguments.length;)o.push(arguments[i++]);return _re(e,n,this,this,o)};return n});uh.placeholder=qn;var Vu=Po(function(e,t,r){if(!cn(e))throw new TypeError("Bind must be called on a function");var n=Po(function(i){return _re(e,n,t,this,r.concat(i))});return n}),us=Zte(ko);function _f(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=ko(e);a<o;a++){var l=e[a];if(us(l)&&(Jl(l)||DP(l)))if(t>1)_f(l,t-1,r,n),i=n.length;else for(var s=0,c=l.length;s<c;)n[i++]=l[s++];else r||(n[i++]=l)}return n}var x0e=Po(function(e,t){t=_f(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]=Vu(e[n],e)}return e});function Sre(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return ec(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}var Ere=Po(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),O0e=uh(Ere,qn,1);function wre(e,t,r){var n,i,a,o,l=0;r||(r={});var s=function(){l=r.leading===!1?0:xp(),n=null,o=e.apply(i,a),n||(i=a=null)},c=function(){var d=xp();!l&&r.leading===!1&&(l=d);var h=t-(d-l);return i=this,a=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),l=d,o=e.apply(i,a),n||(i=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(s,h)),o};return c.cancel=function(){clearTimeout(n),l=0,n=i=a=null},c}function bre(e,t,r){var n,i,a,o,l,s=function(){var d=xp()-i;t>d?n=setTimeout(s,t-d):(n=null,r||(o=e.apply(l,a)),n||(a=l=null))},c=Po(function(d){return l=this,a=d,i=xp(),n||(n=setTimeout(s,t),r&&(o=e.apply(l,a))),o});return c.cancel=function(){clearTimeout(n),n=a=l=null},c}function I0e(e,t){return uh(t,e)}function qP(e){return function(){return!e.apply(this,arguments)}}function P0e(){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 k0e(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Cre(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var D0e=uh(Cre,2);function Tre(e,t,r){t=No(t,r);for(var n=ea(e),i,a=0,o=n.length;a<o;a++)if(i=n[a],t(e[i],i,e))return i}function Are(e){return function(t,r,n){r=No(r,n);for(var i=ko(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}var r1=Are(1),Rre=Are(-1);function xre(e,t,r,n){r=No(r,n,1);for(var i=r(t),a=0,o=ko(e);a<o;){var l=Math.floor((a+o)/2);r(e[l])<i?a=l+1:o=l}return a}function Ore(e,t,r){return function(n,i,a){var o=0,l=ko(n);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+l,o):l=a>=0?Math.min(a+1,l):a+l+1;else if(r&&a&&l)return a=r(n,i),n[a]===i?a:-1;if(i!==i)return a=t(ov.call(n,o,l),Xte),a>=0?a+o:-1;for(a=e>0?o:l-1;a>=0&&a<l;a+=e)if(n[a]===i)return a;return-1}}var Ire=Ore(1,r1,xre),L0e=Ore(-1,Rre);function DO(e,t,r){var n=us(e)?r1:Tre,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function Pre(e,t){return DO(e,Rp(t))}function Ua(e,t,r){t=lv(t,r);var n,i;if(us(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=ea(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function Xc(e,t,r){t=No(t,r);for(var n=!us(e)&&ea(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var l=n?n[o]:o;a[o]=t(e[l],l,e)}return a}function kre(e){var t=function(r,n,i,a){var o=!us(r)&&ea(r),l=(o||r).length,s=e>0?0:l-1;for(a||(i=r[o?o[s]:s],s+=e);s>=0&&s<l;s+=e){var c=o?o[s]:s;i=n(i,r[c],c,r)}return i};return function(r,n,i,a){var o=arguments.length>=3;return t(r,lv(n,a,4),i,o)}}var cm=kre(1),$z=kre(-1);function Qc(e,t,r){var n=[];return t=No(t,r),Ua(e,function(i,a,o){t(i,a,o)&&n.push(i)}),n}function N0e(e,t,r){return Qc(e,qP(No(t)),r)}function LO(e,t,r){t=No(t,r);for(var n=!us(e)&&ea(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 NO(e,t,r){t=No(t,r);for(var n=!us(e)&&ea(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 Zu(e,t,r,n){return us(e)||(e=tc(e)),(typeof r!="number"||n)&&(r=0),Ire(e,t,r)>=0}var M0e=Po(function(e,t,r){var n,i;return cn(t)?i=t:(t=uv(t),n=t.slice(0,-1),t=t[t.length-1]),Xc(e,function(a){var o=i;if(!o){if(n&&n.length&&(a=FP(a,n)),a==null)return;o=a[t]}return o==null?o:o.apply(a,r)})});function VP(e,t){return Xc(e,jP(t))}function Dre(e,t){return Qc(e,Rp(t))}function HP(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=us(e)?e:tc(e);for(var l=0,s=e.length;l<s;l++)a=e[l],a!=null&&a>n&&(n=a)}else t=No(t,r),Ua(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 $0e(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=us(e)?e:tc(e);for(var l=0,s=e.length;l<s;l++)a=e[l],a!=null&&a<n&&(n=a)}else t=No(t,r),Ua(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 F0e=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Lre(e){return e?Jl(e)?ov.call(e):PP(e)?e.match(F0e):us(e)?Xc(e,t1):tc(e):[]}function Nre(e,t,r){if(t==null||r)return us(e)||(e=tc(e)),e[kO(e.length-1)];var n=Lre(e),i=ko(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var l=kO(o,a),s=n[o];n[o]=n[l],n[l]=s}return n.slice(0,t)}function Mre(e){return Nre(e,1/0)}function $re(e,t,r){var n=0;return t=No(t,r),VP(Xc(e,function(i,a,o){return{value:i,index:n++,criteria:t(i,a,o)}}).sort(function(i,a){var o=i.criteria,l=a.criteria;if(o!==l){if(o>l||o===void 0)return 1;if(o<l||l===void 0)return-1}return i.index-a.index}),"value")}function n1(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=No(n,i),Ua(r,function(o,l){var s=n(o,l,r);e(a,o,s)}),a}}var Fre=n1(function(e,t,r){ec(e,r)?e[r].push(t):e[r]=[t]}),j0e=n1(function(e,t,r){e[r]=t}),jre=n1(function(e,t,r){ec(e,r)?e[r]++:e[r]=1}),U0e=n1(function(e,t,r){e[r?0:1].push(t)},!0);function q0e(e){return e==null?0:us(e)?e.length:ea(e).length}function V0e(e,t,r){return t in r}var BP=Po(function(e,t){var r={},n=t[0];if(e==null)return r;cn(n)?(t.length>1&&(n=lv(n,t[1])),t=sv(e)):(n=V0e,t=_f(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],l=e[o];n(l,o,e)&&(r[o]=l)}return r}),i1=Po(function(e,t){var r=t[0],n;return cn(r)?(r=qP(r),t.length>1&&(n=t[1])):(t=Xc(_f(t,!1,!1),String),r=function(i,a){return!Zu(t,a)}),BP(e,r,n)});function Ure(e,t,r){return ov.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function pp(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:Ure(e,e.length-t)}function fm(e,t,r){return ov.call(e,t==null||r?1:t)}function MO(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:fm(e,Math.max(0,e.length-t))}function H0e(e){return Qc(e,Boolean)}function qre(e,t){return _f(e,t,!1)}var Vre=Po(function(e,t){return t=_f(t,!0,!0),Qc(e,function(r){return!Zu(t,r)})}),$O=Po(function(e,t){return Vre(e,t)});function Op(e,t,r,n){Bte(t)||(n=r,r=t,t=!1),r!=null&&(r=No(r,n));for(var i=[],a=[],o=0,l=ko(e);o<l;o++){var s=e[o],c=r?r(s,o,e):s;t&&!r?((!o||a!==c)&&i.push(s),a=c):r?Zu(a,c)||(a.push(c),i.push(s)):Zu(i,s)||i.push(s)}return i}var B0e=Po(function(e){return Op(_f(e,!0,!0))});function Hre(e){for(var t=[],r=arguments.length,n=0,i=ko(e);n<i;n++){var a=e[n];if(!Zu(t,a)){var o;for(o=1;o<r&&Zu(arguments[o],a);o++);o===r&&t.push(a)}}return t}function FO(e){for(var t=e&&HP(e,ko).length||0,r=Array(t),n=0;n<t;n++)r[n]=VP(e,n);return r}var z0e=Po(FO);function Bre(e,t){for(var r={},n=0,i=ko(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function W0e(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 zre(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(ov.call(e,n,n+=t));return r}function zP(e,t){return e._chain?qn(t).chain():t}function Wre(e){return Ua(PO(e),function(t){var r=qn[t]=e[t];qn.prototype[t]=function(){var n=[this._wrapped];return F1e.apply(n,arguments),zP(this,r.apply(qn,n))}}),qn}Ua(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=e1[e];qn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),zP(this,r)}});Ua(["concat","join","slice"],function(e){var t=e1[e];qn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),zP(this,r)}});var G0e={__proto__:null,VERSION:qte,restArguments:Po,isObject:Is,isNull:z1e,isUndefined:km,isBoolean:Bte,isElement:W1e,isString:PP,isNumber:bd,isDate:G1e,isRegExp:K1e,isError:Y1e,isSymbol:zte,isArrayBuffer:Wte,isDataView:Dm,isArray:Jl,isFunction:cn,isArguments:DP,isFinite:J1e,isNaN:Xte,isTypedArray:ere,isEmpty:Ap,isMatch:rre,isEqual:ire,isMap:o0e,isWeakMap:s0e,isSet:u0e,isWeakSet:l0e,keys:ea,allKeys:sv,values:tc,pairs:c0e,invert:ure,functions:PO,methods:PO,extend:To,extendOwn:Nm,assign:Nm,defaults:lre,create:d0e,clone:fre,tap:h0e,get:hre,has:Mm,mapObject:p0e,identity:t1,constant:Qte,noop:vre,toPath:dre,property:jP,propertyOf:v0e,matcher:Rp,matches:Rp,times:g0e,random:kO,now:xp,escape:m0e,unescape:_0e,templateSettings:S0e,template:T0e,result:hp,uniqueId:yre,chain:R0e,iteratee:UP,partial:uh,bind:Vu,bindAll:x0e,memoize:Sre,delay:Ere,defer:O0e,throttle:wre,debounce:bre,wrap:I0e,negate:qP,compose:P0e,after:k0e,before:Cre,once:D0e,findKey:Tre,findIndex:r1,findLastIndex:Rre,sortedIndex:xre,indexOf:Ire,lastIndexOf:L0e,find:DO,detect:DO,findWhere:Pre,each:Ua,forEach:Ua,map:Xc,collect:Xc,reduce:cm,foldl:cm,inject:cm,reduceRight:$z,foldr:$z,filter:Qc,select:Qc,reject:N0e,every:LO,all:LO,some:NO,any:NO,contains:Zu,includes:Zu,include:Zu,invoke:M0e,pluck:VP,where:Dre,max:HP,min:$0e,shuffle:Mre,sample:Nre,sortBy:$re,groupBy:Fre,indexBy:j0e,countBy:jre,partition:U0e,toArray:Lre,size:q0e,pick:BP,omit:i1,first:pp,head:pp,take:pp,initial:Ure,last:MO,rest:fm,tail:fm,drop:fm,compact:H0e,flatten:qre,without:$O,uniq:Op,unique:Op,union:B0e,intersection:Hre,difference:Vre,unzip:FO,transpose:FO,zip:z0e,object:Bre,range:W0e,chunk:zre,mixin:Wre,default:qn},tt=Wre(G0e);tt._=tt;const Cn={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},On={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"},K0e=/\/+$/g,Y0e=qr.history.getFragment.bind(qr.history);To(qr.history,{getFragment(e){return Y0e(e).replace(K0e,"")}});const Un={GetQuery(){return Un.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Un.GetQuery();let r=Un.SerializeQueryParams(To(t,e));r&&(r=`?${r}`),Un.UpdateUrl(`${Un.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Vn.buildRoute(e,t);qr.history.navigate(n,r),qr.Radio.channel(Cn.SHELL).trigger(On.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?cm(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(){qr.History.started&&qr.history.stop(),qr.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;Wo.hasActiveRoute()?qr.Radio.channel(Cn.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}},X0e=/((\(\?)?:\w+)|(\*\w+)/,Q0e=/[\(\)]/g,Z0e=/\(\/\)/g,J0e=/\/$/,e_e=/\([^)]*\)/g,Wo={routingStarted(){qr.Radio.channel(Cn.SHELL).trigger(On.ROUTING_START)},routingEnded(){if(!Wo.hasActiveRoute())return;qr.Radio.channel(Cn.SHELL).trigger(On.ROUTING_END)},hasActiveRoute(){return qr.Radio.channel(Cn.SHELL).request(On.HAS_ACTIVE_ROUTE)}},Fz=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;qr.Radio.channel(r).trigger(n,e,t)},Vn={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:a}=e,o=qr.Radio.channel(Cn.SHELL),l={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},s=o.request(On.ROUTE_LOOKUP,`${r}:${n}`,i,a,l);return s===!1?"":`/${s}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ua(n,o=>{e=e.replace(X0e,o||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(e_e,"")),e=e.replace(Z0e,""),e=e.replace(Q0e,""),e=e.replace(J0e,""),!i)return e;const a=Un.SerializeQueryParams(i);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!Wo.hasActiveRoute()){Fz(e,t);return}qr.Radio.channel(Cn.SHELL).once("routing:end",()=>{Fz(e,t)})},getCurrentAppLink(){return qr.Radio.channel(Cn.SHELL).request(On.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=Un.SerializeQueryParams((e==null?void 0:e.params)??{}),o=Un.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==o)}};var t_e="4.1.3",cv=Zi.Model.extend,WP=function(t){var r=this;if(t)return tt.reduce(t,function(n,i,a){return tt.isFunction(i)||(i=r[i]),i&&(n[a]=i),n},{})},jz=["description","fileName","lineNumber","name","message","number","url"],Ca=cv.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(t_e,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);tt.extend(this,tt.pick(r,jz),tt.pick(t,jz)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,Ca)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function Gre(e,t){if(!tt.isObject(t))throw new Ca({message:"Bindings must be an object.",url:"common.html#bindevents"});return WP.call(e,t)}function r_e(e,t){return!e||!t?this:(this.listenTo(e,Gre(this,t)),this)}function n_e(e,t){return e?t?(this.stopListening(e,Gre(this,t)),this):(this.stopListening(e),this):this}function Kre(e,t){if(!tt.isObject(t))throw new Ca({message:"Bindings must be an object.",url:"common.html#bindrequests"});return WP.call(e,t)}function i_e(e,t){return!e||!t?this:(e.reply(Kre(this,t),this),this)}function a_e(e,t){return e?t?(e.stopReplying(Kre(this,t),this),this):(e.stopReplying(null,null,this),this):this}var Yre=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},o_e=function(t,r){var n=this;t&&tt.each(r,function(i){var a=t[i];a!==void 0&&(n[i]=a)})};function a1(e,t,r){e._getImmediateChildren&&tt.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function Xre(e){return!e._isAttached}function s_e(e){return Xre(e)?(e._isAttached=!0,!0):!1}function u_e(e){return e._isAttached}function l_e(e){return e._isAttached=!1,!0}function Qre(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function Zre(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function c_e(){a1(this,"before:attach",Xre)}function f_e(){a1(this,"attach",s_e),Qre(this)}function d_e(){a1(this,"before:detach",u_e),Zre(this)}function h_e(){a1(this,"detach",l_e)}function p_e(){Zre(this)}function v_e(){Qre(this)}function $m(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":c_e,attach:f_e,"before:detach":d_e,detach:h_e,"before:render":p_e,render:v_e}))}var g_e=/(^|:)(\w)/gi,RC={};function m_e(e,t,r){return r.toUpperCase()}var y_e=function(t){return RC[t]||(RC[t]="on"+t.replace(g_e,m_e)),RC[t]};function __e(e){var t=y_e(e),r=Yre.call(this,t),n;return tt.isFunction(r)&&(n=r.apply(this,tt.drop(arguments))),this.trigger.apply(this,arguments),n}var lh={normalizeMethods:WP,_setOptions:function(t,r){this.options=tt.extend({},tt.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:o_e,getOption:Yre,bindEvents:r_e,unbindEvents:n_e,bindRequests:i_e,unbindRequests:a_e,triggerMethod:__e};tt.extend(lh,Zi.Events);var Jre={_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)}},ene={_initRadio:function(){var t=tt.result(this,"channelName");if(t){if(!xz)throw new Ca({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=xz.channel(t),n=tt.result(this,"radioEvents");this.bindEvents(r,n);var i=tt.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}},S_e=["channelName","radioEvents","radioRequests"],Sf=function(t){this._setOptions(t,S_e),this.cid=tt.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Sf.extend=cv;tt.extend(Sf.prototype,lh,Jre,ene,{cidPrefix:"mno",initialize:function(){}});var Bs=tt.invokeMap||tt.invoke;function E_e(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(tt.isFunction(e))return{BehaviorClass:e,options:{}};throw new Ca({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 tne(e,t,r){return tt.reduce(t,function(n,i){var a=E_e(i),o=a.BehaviorClass,l=a.options,s=new o(l,e);return n.push(s),tne(e,tt.result(s,"behaviors"),n)},r)}var w_e={_initBehaviors:function(){this._behaviors=tne(this,tt.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=Bs(this._behaviors,"_getTriggers");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_getBehaviorEvents:function(){var t=Bs(this._behaviors,"_getEvents");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){Bs(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){Bs(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){Bs(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){Bs(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=tt.without(this._behaviors,t))},_bindBehaviorUIElements:function(){Bs(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){Bs(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){Bs(this._behaviors,"triggerMethod",t,r,n)}},rne={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=tt.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=tt.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}},b_e={_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=tt.result(this,"templateContext");return r?t?tt.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 tt.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)}},C_e=/^(\S+)\s*(.*)$/,nne=function(t,r){var n=t.match(C_e);return"".concat(n[1],".").concat(r," ").concat(n[2])},T_e={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function jO(e){return!!T_e[e]}function A_e(e,t){tt.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;jO("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return jO("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),i&&a.stopPropagation();for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;s<o;s++)l[s-1]=arguments[s];e.triggerMethod.apply(e,[r,e,a].concat(l))}}var ine={_getViewTriggers:function(t,r){var n=this;return tt.reduce(r,function(i,a,o){return o=nne(o,"trig".concat(n.cid)),i[o]=A_e(t,a),i},{})}},R_e=function(t,r){return tt.reduce(t,function(n,i,a){var o=Fm(a,r);return n[o]=i,n},{})},x_e=/@ui\.[a-zA-Z-_$0-9]*/g,Fm=function(t,r){return t.replace(x_e,function(n){return r[n.slice(4)]})},O_e=function(t,r,n){return tt.each(t,function(i,a){if(tt.isString(i))t[a]=Fm(i,r);else if(i){var o=i[n];tt.isString(o)&&(i[n]=Fm(o,r))}}),t},ane={normalizeUIKeys:function(t){var r=this._getUIBindings();return R_e(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return Fm(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return O_e(t,n,r)},_getUIBindings:function(){var t=tt.result(this,"_uiBindings");return t||tt.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=tt.result(this,"_uiBindings");this._ui={},tt.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(tt.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 Ec(e){return e instanceof Zi.$?e:Zi.$(e)}function GP(e){return this.prototype.Dom=tt.extend({},this.prototype.Dom,e),this}var one={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Ec(t)},findEl:function(t,r){return Ec(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]:Ec(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]:Ec(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?Ec(t):i,o=n._$contents,l=o===void 0?Ec(r):o;a.append(l)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ec(t);r.contents().detach()}},KP={Dom:one,_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=tt.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Zi.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(tt.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.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(tt.result(this,"childViewEvents")),this._childViewTriggers=tt.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=jO("childViewEventPrefix")?"childview":!1,r=tt.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))}};tt.extend(KP,w_e,lh,rne,b_e,ine,ane);function sne(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function une(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 zh="RegionError",I_e=["allowMissingEl","parentEl","replaceElement"],Ef=function(t){this._setOptions(t,I_e),this.cid=tt.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Zi.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Ef.extend=cv;Ef.setDomApi=GP;tt.extend(Ef.prototype,lh,{Dom:one,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 Ca({name:zh,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,sne(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new Ca({name:zh,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){$m(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"?!!tt.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(tt.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!tt.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new Ca({name:zh,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 Ca({name:zh,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 Ca({name:zh,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Zi.View)return t;var r=this._getViewOptions(t);return new YP(r)},_getViewOptions:function(t){if(tt.isFunction(t))return{template:t};if(tt.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=tt.result(this,"parentEl");return r&&tt.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||une(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 lne(e,t){if(e instanceof Ef)return e;if(tt.isString(e))return xC(t,{el:e});if(tt.isFunction(e))return xC(t,{regionClass:e});if(tt.isObject(e))return xC(t,e);throw new Ca({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function xC(e,t){var r=tt.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var P_e={regionClass:Ef,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(tt.result(this,"regions"))},_reInitRegions:function(){Bs(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!tt.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=tt.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:tt.partial(tt.result,this,"el")};return tt.reduce(t,function(i,a,o){return i[o]=lne(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 tt.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 Bs(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return tt.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 cne(e){return this.prototype._renderHtml=e,this}var k_e=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function D_e(e,t){return t.currentView&&e.push(t.currentView),e}var YP=Zi.View.extend({constructor:function(t){this._setOptions(t,k_e),$m(this),this._initBehaviors(),this._initRegions(),Zi.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Zi.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 tt.reduce(this._regions,D_e,[])}},{setRenderer:cne,setDomApi:GP});tt.extend(YP.prototype,KP,P_e);var jm=function(){this._init()},L_e=["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"];tt.each(L_e,function(e){jm.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tt[e].apply(tt,[this._views].concat(r))}});function N_e(e,t){return t.model&&t.model.get(e)}tt.extend(jm.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=tt.partial(N_e,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=tt.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={},tt.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 rd="CollectionViewError",M_e=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],$_e=Zi.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,M_e),$m(this),this._initChildViewStorage(),this._initBehaviors(),Zi.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new jm,this.children=new jm},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Ef({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 tt.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 tt.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 Ca({name:rd,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new Ca({name:rd,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 Zi.View||t===Zi.View)return t;if(tt.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return tt.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=tt.extend({model:t},n);return new r(i)},_setupChildView:function(t){$m(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Zi.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=tt.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new Ca({name:rd,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=[];tt.each(this._children._views,function(o,l,s){(r.call(t,o,l,s)?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(tt.isFunction(t))return t;if(tt.isObject(t)){var r=tt.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(tt.isString(t))return function(n){return n.model&&n.model.get(t)};throw new Ca({name:rd,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){tt.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 tt.each(t,function(i){sne(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:[],tt.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),tt.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 tt.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new Ca({name:rd,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 Ca({name:rd,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(tt.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){tt.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;une(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:GP,setRenderer:cne});tt.extend($_e.prototype,KP);var F_e=["collectionEvents","events","modelEvents","triggers","ui"],fne=function(t,r){this.view=r,this._setOptions(t,F_e),this.cid=tt.uniqueId(this.cidPrefix),this.ui=tt.extend({},tt.result(this,"ui"),tt.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};fne.extend=cv;tt.extend(fne.prototype,lh,rne,ine,ane,{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(tt.result(this,"events"));return tt.reduce(r,function(n,i,a){return tt.isFunction(i)||(i=t[i]),i&&(a=nne(a,t.cid),n[a]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var j_e=["channelName","radioEvents","radioRequests","region","regionClass"],o1=function(t){this._setOptions(t,j_e),this.cid=tt.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};o1.extend=cv;tt.extend(o1.prototype,lh,Jre,ene,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Ef,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=lne(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 XP=(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))(XP||{}),UO=(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))(UO||{});class dne extends Error{constructor(t){super(t)}}class s1 extends dne{get name(){return"SilentError"}}class Ta extends Error{get name(){return"CoreError"}}const vr={throw(e){if(qr.Radio.channel(Cn.SHELL).trigger(On.ERROR,e),!(e instanceof s1))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===UO.ClientError||t===UO.ServerError}};function rc(e,t,r,n){let i=e;return typeof e=="string"&&(i=qr.Radio.channel(e)),n.call(this,i,t,r)}class U_e extends o1{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),tt.result(this,"name")||vr.throw(new Ta("BaseApplication must define a name")),tt.result(this,"channelName")||vr.throw(new Ta("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),On.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 Ta(`Global channel ${n} does not exist`)),qr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=tt.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(tt.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new Ta(`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 Ta("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 Ta("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=tt.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return rc.call(this,t[0],t[1],t[2],super.listenTo)}}/**
47
+ * @license
48
+ * MarionetteJS (Marionette.AppRouter)
49
+ * ----------------------------------
50
+ * v1.0.1
51
+ *
52
+ * Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
53
+ * Distributed under MIT license
54
+ *
55
+ * http://marionettejs.com
56
+ */var q_e=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],V_e=["appRoutes","controller"],hne=Zi.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,V_e),Zi.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(tt.isFunction(this.onRoute)){var n=tt.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=tt.keys(r).reverse();return tt.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,tt.bind(i,t))}});tt.extend(hne.prototype,tt.pick(Sf.prototype,q_e));class Cd{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 H_e=/([A-Z])/g,B_e=/(^|:)(\w)/gi;class nc extends hne{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Cd,r=this.options.shell.routeMiddleware,n=this.appRoutes;return tt.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,l])=>({...a,[l]:o}),{}),i=Object.entries(r).reduce((a,[o,l])=>({...a,[l]: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(tt.isFunction(this.onRoute)){const n=tt.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(Cn.SHELL,On.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Cd;return tt.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 l={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},s=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,l),c=this.toMethodName(s.action),d=this._routeLookup.modifiedRoutes[c];return Vn.buildRoute(d??r,s,a)})}processInternalRoutes(){tt.each(tt.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 Ta("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o={appLink:i,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,o),s=this.toMethodName(l.action),c=this._routeLookup.modifiedRoutes[s];this.executeRoute(l,{isAppRoute:!0,route:c??t},d=>{const h=tt.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Un.UpdateUrl(c??t,d,a)})})})}triggerNavLocked(t,r){t.trigger(On.NAV_IS_LOCKED,r),Wo.routingEnded()}processExternalRoutes(){this.externalRoutes&&tt.each(tt.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 Ta("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o=qr.Radio.channel(Cn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,i);return}Un.PageLoad(Vn.getHref(i))})})}processAppLinks(){this.appLinks&&tt.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new Ta("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),Wo.routingStarted();const i=qr.Radio.channel(Cn.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),l=this.toMethodName(o.action),s=new Cd;tt.each(this.filters,c=>s.useAsync(c)),s.goAsync({appLink:o,shell:this.options.shell},()=>{i.trigger(On.ROUTE,o,r),this.createApp();const c=this.controller;if(tt.isFunction(c[l])||(Wo.routingEnded(),vr.throw(new Ta(`${l} does not exist on the ${tt.result(c,"name")}.`))),c.triggerMethod("before:action",t)===!1){c.triggerMethod("action:cancelled"),Wo.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[l].apply(c,[...h.args||[],h.params||{}]),tt.isFunction(n)&&n(o),Wo.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:Un.DeserializeQueryParams(i[i.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Un.UpdateQuery(tt.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(H_e,":$1").toLowerCase()}toMethodName(t){const r=t.replace(B_e,(n,i,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(Wo.routingEnded(),vr.throw(new Ta("Invalid AppLink")))}listenTo(...t){return rc.call(this,t[0],t[1],t[2],super.listenTo)}}class u1 extends qr.Collection{listenTo(...t){return rc.call(this,t[0],t[1],t[2],super.listenTo)}}class Rn extends dne{get name(){return"DevError"}}class z_e{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 l1=z_e.Instance;function W_e(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const G_e=["model","collection","el","id","attributes","className","tagName","events"];qr.View.prototype.constructor=function(e){this.cid=tt.uniqueId("view");const t=G_e.filter(r=>{var n;return!((n=W_e(this,r))!=null&&n.get)});tt.extend(this,tt.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const wd=class wd extends YP{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=tt.extend({},tt.result(this,"defaults"),t)}_setAttributes(t){l1.isDevelopment&&tt.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),tt.result(this,"name")||vr.throw(new Ta(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){wd.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",tt.result(this,"className"))}serializeData(){const t=super.serializeData(),r=tt.result(this,"viewOptions"),n=tt.extend({},t,{options:r});return wd.ViewDataExtensions.length?tt.extend(n,...tt.map(wd.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(),tt.each(tt.keys(t),r=>{let n=r;const i=t[r],a=Vn.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(l){l.preventDefault(),Vn.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=tt.some(t.regions,(r=>tt.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){qr.Radio.channel(Cn.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return rc.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(){}};wd.ViewDataExtensions=[];let qO=wd;class K_e extends qO{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=tt.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return tt.each(r,a=>{const o=this.requiredResources[a];if(o.beforeOnBeforeRender!==t)return;const l=o.dataServiceName;this.resourceInstances[l]||(this.resourceInstances[l]=o.getInstance(this)),this.boundListeners[`${l}:${o.eventName}`]||(this.listenTo(this.resourceInstances[l].channelName,o.eventName,this.render),this.boundListeners[`${l}:${o.eventName}`]=!0),n[a]=o.getData(this.resourceInstances[l]),i=i&&!!n[a]}),i}setTitle(){!tt.isString(this.title)&&this.title!==!1&&vr.throw(new Rn(`Must define a title for ${this.name}.`)),qr.Radio.channel(Cn.SHELL).trigger("set:page:title",this.title)}}class Y_e extends K_e{constructor(t){super(t)}static getCacheKey(t){vr.throw(new Rn(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class Ju extends qr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=To({},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 rc.call(this,t[0],t[1],t[2],super.listenTo)}}class Uz extends Ju{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)Mm(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||!cn(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(!cn(i))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof Ju&&a.set(r,n),a instanceof u1&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const o=r instanceof Ju?r:new i(r,{parse:!0});return o.parent=this,this[t]=o,o}toJSON(...t){const r=super.toJSON.apply(this,t);return Ua(this.associations,(n,i)=>{Mm(r,i)&&cn(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return i1(super.toJSON.apply(this,t),ea(this.associations))}}class Mo extends Sf{constructor(t){super(t),this.name||vr.throw(new Ta("Your service must be named."))}listenTo(...t){return rc.call(this,t[0],t[1],t[2],super.listenTo)}}class X_e extends Sf{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 Ta(`${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){Ua(this.requiredRegions,r=>{Mm(hp(t.prototype,"regions"),r)||vr.throw(new Ta(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return rc.call(this,t[0],t[1],t[2],super.listenTo)}}class Q_e{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class Z_e extends o1{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(Cn.SHELL,On.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(Cn.SHELL,On.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(Cn.SHELL,On.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(Cn.SHELL,On.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(Cn.SHELL,On.ROUTE,r=>this.shellState.currentAppLink=r);const t=qr.Radio.channel(Cn.SHELL);t.reply(On.HAS_ACTIVE_ROUTE,tt.bind(this.hasActiveRoute,this)),t.reply(On.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{Wo.routingEnded()})}bindErrorListener(){const t=qr.Radio.channel(Cn.SHELL);this.listenTo(t,On.ERROR,this.handleError)}bindRouteLookup(){qr.Radio.channel(Cn.SHELL).reply(On.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 Q_e(t,r)),this}getGlobalRadioChannels(){return Cn}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=tt.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(),Un.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 Ta("An error must have a name in order to register a handler for it.")),tt.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new Ta(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=tt.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 rc.call(this,t[0],t[1],t[2],super.listenTo)}}var OC,qz;function J_e(){if(qz)return OC;qz=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(x){try{var T=e.call(x);return i.test(T)}catch{return!1}},o=function(x){try{return a(x)?!1:(e.call(x),!0)}catch{return!1}},l=Object.prototype.toString,s="[object Object]",c="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",g="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,_=!(0 in[,]),E=function(){return!1};if(typeof document=="object"){var w=document.all;l.call(w)===l.call(document.all)&&(E=function(x){if((_||!x)&&(typeof x>"u"||typeof x=="object"))try{var T=l.call(x);return(T===h||T===p||T===g||T===s)&&x("")==null}catch{}return!1})}return OC=t?function(x){if(E(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;try{t(x,null,r)}catch(T){if(T!==n)return!1}return!a(x)&&o(x)}:function(x){if(E(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;if(m)return o(x);if(a(x))return!1;var T=l.call(x);return T!==c&&T!==d&&!/^\[object HTML/.test(T)?!1:o(x)},OC}var IC,Vz;function eSe(){if(Vz)return IC;Vz=1;var e=J_e(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(s,c,d){for(var h=0,p=s.length;h<p;h++)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))},i=function(s,c,d){for(var h=0,p=s.length;h<p;h++)d==null?c(s.charAt(h),h,s):c.call(d,s.charAt(h),h,s)},a=function(s,c,d){for(var h in s)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))};function o(l){return t.call(l)==="[object Array]"}return IC=function(s,c,d){if(!e(c))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),o(s)?n(s,c,h):typeof s=="string"?i(s,c,h):a(s,c,h)},IC}var PC,Hz;function pne(){if(Hz)return PC;Hz=1;var e=function(){};return PC=e,PC}var kC,Bz;function tSe(){if(Bz)return kC;Bz=1;var e={}.hasOwnProperty,t=Function.prototype.call;return kC=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},kC}var DC={exports:{}},LC,zz;function vne(){return zz||(zz=1,LC=Object),LC}var NC,Wz;function rSe(){return Wz||(Wz=1,NC=Error),NC}var MC,Gz;function nSe(){return Gz||(Gz=1,MC=EvalError),MC}var $C,Kz;function iSe(){return Kz||(Kz=1,$C=RangeError),$C}var FC,Yz;function aSe(){return Yz||(Yz=1,FC=ReferenceError),FC}var jC,Xz;function gne(){return Xz||(Xz=1,jC=SyntaxError),jC}var UC,Qz;function ch(){return Qz||(Qz=1,UC=TypeError),UC}var qC,Zz;function oSe(){return Zz||(Zz=1,qC=URIError),qC}var VC,Jz;function sSe(){return Jz||(Jz=1,VC=Math.abs),VC}var HC,eW;function uSe(){return eW||(eW=1,HC=Math.floor),HC}var BC,tW;function lSe(){return tW||(tW=1,BC=Math.max),BC}var zC,rW;function cSe(){return rW||(rW=1,zC=Math.min),zC}var WC,nW;function fSe(){return nW||(nW=1,WC=Math.pow),WC}var GC,iW;function dSe(){return iW||(iW=1,GC=Math.round),GC}var KC,aW;function hSe(){return aW||(aW=1,KC=Number.isNaN||function(t){return t!==t}),KC}var YC,oW;function pSe(){if(oW)return YC;oW=1;var e=hSe();return YC=function(r){return e(r)||r===0?r:r<0?-1:1},YC}var XC,sW;function vSe(){return sW||(sW=1,XC=Object.getOwnPropertyDescriptor),XC}var QC,uW;function c1(){if(uW)return QC;uW=1;var e=vSe();if(e)try{e([],"length")}catch{e=null}return QC=e,QC}var ZC,lW;function f1(){if(lW)return ZC;lW=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ZC=e,ZC}var JC,cW;function gSe(){return cW||(cW=1,JC=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 l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0}),JC}var eT,fW;function mSe(){if(fW)return eT;fW=1;var e=typeof Symbol<"u"&&Symbol,t=gSe();return eT=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},eT}var tT,dW;function mne(){return dW||(dW=1,tT=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),tT}var rT,hW;function yne(){if(hW)return rT;hW=1;var e=vne();return rT=e.getPrototypeOf||null,rT}var nT,pW;function ySe(){if(pW)return nT;pW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(s,c){for(var d=[],h=0;h<s.length;h+=1)d[h]=s[h];for(var p=0;p<c.length;p+=1)d[p+s.length]=c[p];return d},a=function(s,c){for(var d=[],h=c,p=0;h<s.length;h+=1,p+=1)d[p]=s[h];return d},o=function(l,s){for(var c="",d=0;d<l.length;d+=1)c+=l[d],d+1<l.length&&(c+=s);return c};return nT=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=a(arguments,1),h,p=function(){if(this instanceof h){var w=c.apply(this,i(d,arguments));return Object(w)===w?w:this}return c.apply(s,i(d,arguments))},g=r(0,c.length-d.length),m=[],_=0;_<g;_++)m[_]="$"+_;if(h=Function("binder","return function ("+o(m,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var E=function(){};E.prototype=c.prototype,h.prototype=new E,E.prototype=null}return h},nT}var iT,vW;function fv(){if(vW)return iT;vW=1;var e=ySe();return iT=Function.prototype.bind||e,iT}var aT,gW;function QP(){return gW||(gW=1,aT=Function.prototype.call),aT}var oT,mW;function ZP(){return mW||(mW=1,oT=Function.prototype.apply),oT}var sT,yW;function _Se(){return yW||(yW=1,sT=typeof Reflect<"u"&&Reflect&&Reflect.apply),sT}var uT,_W;function _ne(){if(_W)return uT;_W=1;var e=fv(),t=ZP(),r=QP(),n=_Se();return uT=n||e.call(r,t),uT}var lT,SW;function JP(){if(SW)return lT;SW=1;var e=fv(),t=ch(),r=QP(),n=_ne();return lT=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},lT}var cT,EW;function SSe(){if(EW)return cT;EW=1;var e=JP(),t=c1(),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 cT=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(l){return a(l==null?l:i(l))}:!1,cT}var fT,wW;function ESe(){if(wW)return fT;wW=1;var e=mne(),t=yne(),r=SSe();return fT=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,fT}var dT,bW;function wSe(){if(bW)return dT;bW=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=fv();return dT=r.call(e,t),dT}var hT,CW;function e3(){if(CW)return hT;CW=1;var e,t=vne(),r=rSe(),n=nSe(),i=iSe(),a=aSe(),o=gne(),l=ch(),s=oSe(),c=sSe(),d=uSe(),h=lSe(),p=cSe(),g=fSe(),m=dSe(),_=pSe(),E=Function,w=function(U){try{return E('"use strict"; return ('+U+").constructor;")()}catch{}},b=c1(),x=f1(),T=function(){throw new l},A=b?(function(){try{return arguments.callee,T}catch{try{return b(arguments,"callee").get}catch{return T}}})():T,O=mSe()(),y=ESe(),P=yne(),D=mne(),V=ZP(),F=QP(),B={},K=typeof Uint8Array>"u"||!y?e:y(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&y?y([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%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%":E,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&y?y(y([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!y?e:y(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||!y?e:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&y?y(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":A,"%TypedArray%":K,"%TypeError%":l,"%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%":s,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":F,"%Function.prototype.apply%":V,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":P,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(y)try{null.error}catch(U){var X=y(y(U));Q["%Error.prototype%"]=X}var te=function U(H){var ne;if(H==="%AsyncFunction%")ne=w("async function () {}");else if(H==="%GeneratorFunction%")ne=w("function* () {}");else if(H==="%AsyncGeneratorFunction%")ne=w("async function* () {}");else if(H==="%AsyncGenerator%"){var q=U("%AsyncGeneratorFunction%");q&&(ne=q.prototype)}else if(H==="%AsyncIteratorPrototype%"){var J=U("%AsyncGenerator%");J&&y&&(ne=y(J.prototype))}return Q[H]=ne,ne},ue={__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"]},L=fv(),I=wSe(),N=L.call(F,Array.prototype.concat),re=L.call(V,Array.prototype.splice),ee=L.call(F,String.prototype.replace),ce=L.call(F,String.prototype.slice),be=L.call(F,RegExp.prototype.exec),Ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,je=/\\(\\)?/g,z=function(H){var ne=ce(H,0,1),q=ce(H,-1);if(ne==="%"&&q!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&ne!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var J=[];return ee(H,Ie,function(me,fe,Te,Se){J[J.length]=Te?ee(Se,je,"$1"):fe||me}),J},k=function(H,ne){var q=H,J;if(I(ue,q)&&(J=ue[q],q="%"+J[0]+"%"),I(Q,q)){var me=Q[q];if(me===B&&(me=te(q)),typeof me>"u"&&!ne)throw new l("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:J,name:q,value:me}}throw new o("intrinsic "+H+" does not exist!")};return hT=function(H,ne){if(typeof H!="string"||H.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ne!="boolean")throw new l('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,H)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=z(H),J=q.length>0?q[0]:"",me=k("%"+J+"%",ne),fe=me.name,Te=me.value,Se=!1,Oe=me.alias;Oe&&(J=Oe[0],re(q,N([0,1],Oe)));for(var Me=1,de=!0;Me<q.length;Me+=1){var Ee=q[Me],_e=ce(Ee,0,1),Ae=ce(Ee,-1);if((_e==='"'||_e==="'"||_e==="`"||Ae==='"'||Ae==="'"||Ae==="`")&&_e!==Ae)throw new o("property names with quotes must have matching quotes");if((Ee==="constructor"||!de)&&(Se=!0),J+="."+Ee,fe="%"+J+"%",I(Q,fe))Te=Q[fe];else if(Te!=null){if(!(Ee in Te)){if(!ne)throw new l("base intrinsic for "+H+" exists, but the property is not available.");return}if(b&&Me+1>=q.length){var De=b(Te,Ee);de=!!De,de&&"get"in De&&!("originalValue"in De.get)?Te=De.get:Te=Te[Ee]}else de=I(Te,Ee),Te=Te[Ee];de&&!Se&&(Q[fe]=Te)}}return Te},hT}var pT,TW;function t3(){if(TW)return pT;TW=1;var e=f1(),t=gne(),r=ch(),n=c1();return pT=function(a,o,l){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 s=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,p=!!n&&n(a,o);if(e)e(a,o,{configurable:d===null&&p?p.configurable:!d,enumerable:s===null&&p?p.enumerable:!s,value:l,writable:c===null&&p?p.writable:!c});else if(h||!s&&!c&&!d)a[o]=l;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},pT}var vT,AW;function r3(){if(AW)return vT;AW=1;var e=f1(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},vT=t,vT}var gT,RW;function bSe(){if(RW)return gT;RW=1;var e=e3(),t=t3(),r=r3()(),n=c1(),i=ch(),a=e("%Math.floor%");return gT=function(l,s){if(typeof l!="function")throw new i("`fn` is not a function");if(typeof s!="number"||s<0||s>4294967295||a(s)!==s)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 l&&n){var p=n(l,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(h=!1)}return(d||h||!c)&&(r?t(l,"length",s,!0,!0):t(l,"length",s)),l},gT}var mT,xW;function CSe(){if(xW)return mT;xW=1;var e=fv(),t=ZP(),r=_ne();return mT=function(){return r(e,t,arguments)},mT}var OW;function TSe(){return OW||(OW=1,(function(e){var t=bSe(),r=f1(),n=JP(),i=CSe();e.exports=function(o){var l=n(arguments),s=o.length-(arguments.length-1);return t(l,1+(s>0?s:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(DC)),DC.exports}var yT,IW;function Sne(){if(IW)return yT;IW=1;var e=Object.prototype.toString;return yT=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},yT}var _T,PW;function ASe(){if(PW)return _T;PW=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Sne(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(p){var g=p.constructor;return g&&g.prototype===p},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 p in window)try{if(!c["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{s(window[p])}catch{return!0}}catch{return!0}return!1})(),h=function(p){if(typeof window>"u"||!d)return s(p);try{return s(p)}catch{return!1}};e=function(g){var m=g!==null&&typeof g=="object",_=r.call(g)==="[object Function]",E=n(g),w=m&&r.call(g)==="[object String]",b=[];if(!m&&!_&&!E)throw new TypeError("Object.keys called on a non-object");var x=o&&_;if(w&&g.length>0&&!t.call(g,0))for(var T=0;T<g.length;++T)b.push(String(T));if(E&&g.length>0)for(var A=0;A<g.length;++A)b.push(String(A));else for(var O in g)!(x&&O==="prototype")&&t.call(g,O)&&b.push(String(O));if(a)for(var y=h(g),P=0;P<l.length;++P)!(y&&l[P]==="constructor")&&t.call(g,l[P])&&b.push(l[P]);return b}}return _T=e,_T}var ST,kW;function RSe(){if(kW)return ST;kW=1;var e=Array.prototype.slice,t=Sne(),r=Object.keys,n=r?function(o){return r(o)}:ASe(),i=Object.keys;return n.shim=function(){if(Object.keys){var o=(function(){var l=Object.keys(arguments);return l&&l.length===arguments.length})(1,2);o||(Object.keys=function(s){return t(s)?i(e.call(s)):i(s)})}else Object.keys=n;return Object.keys||n},ST=n,ST}var ET,DW;function xSe(){if(DW)return ET;DW=1;var e=RSe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=t3(),a=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},o=r3()(),l=function(c,d,h,p){if(d in c){if(p===!0){if(c[d]===h)return}else if(!a(p)||!p())return}o?i(c,d,h,!0):i(c,d,h)},s=function(c,d){var h=arguments.length>2?arguments[2]:{},p=e(d);t&&(p=n.call(p,Object.getOwnPropertySymbols(d)));for(var g=0;g<p.length;g+=1)l(c,p[g],d[p[g]],h[p[g]])};return s.supportsDescriptors=!!o,ET=s,ET}var wT,LW;function Ene(){if(LW)return wT;LW=1;var e=ch();return wT=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},wT}var bT,NW;function OSe(){if(NW)return bT;NW=1;var e=e3(),t=e("%String%"),r=ch();return bT=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},bT}var CT,MW;function ISe(){if(MW)return CT;MW=1;var e=e3(),t=JP(),r=t([e("%String.prototype.indexOf%")]);return CT=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},CT}var TT,$W;function wne(){if($W)return TT;$W=1;var e=Ene(),t=OSe(),r=ISe(),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 TT=function(){var s=t(e(this));return n(n(s,a,""),o,"")},TT}var AT,FW;function bne(){if(FW)return AT;FW=1;var e=wne(),t="​",r="᠎";return AT=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},AT}var RT,jW;function PSe(){if(jW)return RT;jW=1;var e=r3()(),t=t3(),r=bne();return RT=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},RT}var xT,UW;function kSe(){if(UW)return xT;UW=1;var e=TSe(),t=xSe(),r=Ene(),n=wne(),i=bne(),a=PSe(),o=e(i()),l=function(c){return r(c),o(c)};return t(l,{getPolyfill:i,implementation:n,shim:a}),xT=l,xT}var OT,qW;function DSe(){if(qW)return OT;qW=1;var e=eSe(),t=pne(),r=tSe(),n=kSe(),i=function(O){t(!1,O)},a=String.prototype.replace,o=String.prototype.split,l="||||",s=function(A){var O=A%10;return A!==11&&O===1?0:2<=O&&O<=4&&!(A>=12&&A<=14)?1:2},c={arabic:function(A){if(A<3)return A;var O=A%100;return O>=3&&O<=10?3:O>=11?4:5},bosnian_serbian:s,chinese:function(){return 0},croatian:s,french:function(A){return A>1?1:0},german:function(A){return A!==1?1:0},russian:s,lithuanian:function(A){return A%10===1&&A%100!==11?0:A%10>=2&&A%10<=9&&(A%100<11||A%100>19)?1:2},czech:function(A){return A===1?0:A>=2&&A<=4?1:2},polish:function(A){if(A===1)return 0;var O=A%10;return 2<=O&&O<=4&&(A%100<10||A%100>=20)?1:2},icelandic:function(A){return A%10!==1||A%100===11?1:0},slovenian:function(A){var O=A%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(A){var O={};return e(A,function(y,P){e(y,function(D){O[D]=P})}),O}function p(A){var O=h(d);return O[A]||O[o.call(A,/-/,1)[0]]||O.en}function g(A,O){return c[p(A)](O)}function m(A){return A.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(A){var O=A&&A.prefix||"%{",y=A&&A.suffix||"}";if(O===l||y===l)throw new RangeError('"'+l+'" token is reserved for pluralization');return new RegExp(m(O)+"(.*?)"+m(y),"g")}var E=/\$/g,w="$$",b=/%\{(.*?)\}/g;function x(A,O,y,P){if(typeof A!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return A;var D=A,V=P||b,F=typeof O=="number"?{smart_count:O}:O;if(F.smart_count!=null&&D){var B=o.call(D,l);D=n(B[g(y||"en",F.smart_count)]||B[0])}return D=a.call(D,V,function(K,Q){return!r(F,Q)||F[Q]==null?K:a.call(F[Q],E,w)}),D}function T(A){var O=A||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var y=O.allowMissing?x:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:y,this.warn=O.warn||i,this.tokenRegex=_(O.interpolation)}return T.prototype.locale=function(A){return A&&(this.currentLocale=A),this.currentLocale},T.prototype.extend=function(A,O){e(A,function(y,P){var D=O?O+"."+P:P;typeof y=="object"?this.extend(y,D):this.phrases[D]=y},this)},T.prototype.unset=function(A,O){typeof A=="string"?delete this.phrases[A]:e(A,function(y,P){var D=O?O+"."+P:P;typeof y=="object"?this.unset(y,D):delete this.phrases[D]},this)},T.prototype.clear=function(){this.phrases={}},T.prototype.replace=function(A){this.clear(),this.extend(A)},T.prototype.t=function(A,O){var y,P,D=O??{};if(typeof this.phrases[A]=="string")y=this.phrases[A];else if(typeof D._=="string")y=D._;else if(this.onMissingKey){var V=this.onMissingKey;P=V(A,D,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+A+'"'),P=A;return typeof y=="string"&&(P=x(y,D,this.currentLocale,this.tokenRegex)),P},T.prototype.has=function(A){return r(this.phrases,A)},T.transformPhrase=function(O,y,P){return x(O,y,P)},OT=T,OT}var LSe=DSe();const NSe=Ln(LSe),dv={ALERT:"AlertService",LANGUAGE:"LanguageService"};var hv=Object.freeze||function(e){return e},VW=hv(["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"]),HW=hv(["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"]),BW=hv(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zW=hv(["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"]),WW=hv(["#text"]),d1=Object.freeze||function(e){return e},GW=d1(["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"]),IT=d1(["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"]),KW=d1(["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"]),Rg=d1(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MSe=Object.hasOwnProperty,YW=Object.setPrototypeOf,$Se=typeof Reflect<"u"&&Reflect,VO=$Se.apply;VO||(VO=function(t,r,n){return t.apply(r,n)});function Jn(e,t){YW&&YW(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 PT(e){var t={},r=void 0;for(r in e)VO(MSe,e,[r])&&(t[r]=e[r]);return t}var wf=Object.seal||function(e){return e},FSe=wf(/\{\{[\s\S]*|[\s\S]*\}\}/gm),jSe=wf(/<%[\s\S]*|[\s\S]*%>/gm),USe=wf(/^data-[\-\w.\u00B7-\uFFFF]/),qSe=wf(/^aria-[\-\w]+$/),VSe=wf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),HSe=wf(/^(?:\w+script|data):/i),BSe=wf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),ap=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 ou(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 zSe=typeof Reflect<"u"&&Reflect,HO=zSe.apply,WSe=Array.prototype.slice,XW=Object.freeze,GSe=function(){return typeof window>"u"?null:window};HO||(HO=function(t,r,n){return t.apply(r,n)});var KSe=function(t,r){if((typeof t>"u"?"undefined":ap(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(l){return l}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Cne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:GSe(),t=function(Re){return Cne(Re)};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,l=e.HTMLTemplateElement,s=e.Node,c=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,p=e.Text,g=e.Comment,m=e.DOMParser,_=e.TrustedTypes;if(typeof l=="function"){var E=a.createElement("template");E.content&&E.content.ownerDocument&&(a=E.content.ownerDocument)}var w=KSe(_,r),b=w?w.createHTML(""):"",x=a,T=x.implementation,A=x.createNodeIterator,O=x.getElementsByTagName,y=x.createDocumentFragment,P=r.importNode,D={};t.isSupported=T&&typeof T.createHTMLDocument<"u"&&a.documentMode!==9;var V=FSe,F=jSe,B=USe,K=qSe,Q=HSe,X=BSe,te=VSe,ue=null,L=Jn({},[].concat(ou(VW),ou(HW),ou(BW),ou(zW),ou(WW))),I=null,N=Jn({},[].concat(ou(GW),ou(IT),ou(KW),ou(Rg))),re=null,ee=null,ce=!0,be=!0,Ie=!1,je=!1,z=!1,k=!1,U=!1,H=!1,ne=!1,q=!1,J=!1,me=!1,fe=!0,Te=!0,Se=!1,Oe={},Me=Jn({},["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"]),de=Jn({},["audio","video","img","source","image"]),Ee=null,_e=Jn({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ae=null,De=a.createElement("form"),Ne=function(Re){Ae&&Ae===Re||((!Re||(typeof Re>"u"?"undefined":ap(Re))!=="object")&&(Re={}),ue="ALLOWED_TAGS"in Re?Jn({},Re.ALLOWED_TAGS):L,I="ALLOWED_ATTR"in Re?Jn({},Re.ALLOWED_ATTR):N,Ee="ADD_URI_SAFE_ATTR"in Re?Jn(PT(_e),Re.ADD_URI_SAFE_ATTR):_e,re="FORBID_TAGS"in Re?Jn({},Re.FORBID_TAGS):{},ee="FORBID_ATTR"in Re?Jn({},Re.FORBID_ATTR):{},Oe="USE_PROFILES"in Re?Re.USE_PROFILES:!1,ce=Re.ALLOW_ARIA_ATTR!==!1,be=Re.ALLOW_DATA_ATTR!==!1,Ie=Re.ALLOW_UNKNOWN_PROTOCOLS||!1,je=Re.SAFE_FOR_JQUERY||!1,z=Re.SAFE_FOR_TEMPLATES||!1,k=Re.WHOLE_DOCUMENT||!1,ne=Re.RETURN_DOM||!1,q=Re.RETURN_DOM_FRAGMENT||!1,J=Re.RETURN_DOM_IMPORT||!1,me=Re.RETURN_TRUSTED_TYPE||!1,H=Re.FORCE_BODY||!1,fe=Re.SANITIZE_DOM!==!1,Te=Re.KEEP_CONTENT!==!1,Se=Re.IN_PLACE||!1,te=Re.ALLOWED_URI_REGEXP||te,z&&(be=!1),q&&(ne=!0),Oe&&(ue=Jn({},[].concat(ou(WW))),I=[],Oe.html===!0&&(Jn(ue,VW),Jn(I,GW)),Oe.svg===!0&&(Jn(ue,HW),Jn(I,IT),Jn(I,Rg)),Oe.svgFilters===!0&&(Jn(ue,BW),Jn(I,IT),Jn(I,Rg)),Oe.mathMl===!0&&(Jn(ue,zW),Jn(I,KW),Jn(I,Rg))),Re.ADD_TAGS&&(ue===L&&(ue=PT(ue)),Jn(ue,Re.ADD_TAGS)),Re.ADD_ATTR&&(I===N&&(I=PT(I)),Jn(I,Re.ADD_ATTR)),Re.ADD_URI_SAFE_ATTR&&Jn(Ee,Re.ADD_URI_SAFE_ATTR),Te&&(ue["#text"]=!0),k&&Jn(ue,["html","head","body"]),ue.table&&(Jn(ue,["tbody"]),delete re.tbody),XW&&XW(Re),Ae=Re)},Be=function(Re){t.removed.push({element:Re});try{Re.parentNode.removeChild(Re)}catch{Re.outerHTML=b}},_t=function(Re,Je){try{t.removed.push({attribute:Je.getAttributeNode(Re),from:Je})}catch{t.removed.push({attribute:null,from:Je})}Je.removeAttribute(Re)},Ut=function(Re){var Je=void 0,ut=void 0;if(H)Re="<remove></remove>"+Re;else{var Ct=Re.match(/^[\s]+/);ut=Ct&&Ct[0],ut&&(Re=Re.slice(ut.length))}if(n)try{Je=new m().parseFromString(Re,"text/html")}catch{}if(i&&Jn(re,["title"]),!Je||!Je.documentElement){Je=T.createHTMLDocument("");var kt=Je,rr=kt.body;rr.parentNode.removeChild(rr.parentNode.firstElementChild),rr.outerHTML=w?w.createHTML(Re):Re}return Re&&ut&&Je.body.insertBefore(a.createTextNode(ut),Je.body.childNodes[0]||null),O.call(Je,k?"html":"body")[0]};t.isSupported&&((function(){try{var At=Ut('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');At.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var At=Ut("<x/><title>&lt;/title&gt;&lt;img&gt;");/<\/title/.test(At.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Mt=function(Re){return A.call(Re.ownerDocument||Re,Re,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,function(){return c.FILTER_ACCEPT},!1)},Qe=function(Re){return Re instanceof p||Re instanceof g?!1:typeof Re.nodeName!="string"||typeof Re.textContent!="string"||typeof Re.removeChild!="function"||!(Re.attributes instanceof h)||typeof Re.removeAttribute!="function"||typeof Re.setAttribute!="function"||typeof Re.namespaceURI!="string"},bt=function(Re){return(typeof s>"u"?"undefined":ap(s))==="object"?Re instanceof s:Re&&(typeof Re>"u"?"undefined":ap(Re))==="object"&&typeof Re.nodeType=="number"&&typeof Re.nodeName=="string"},mt=function(Re,Je,ut){D[Re]&&D[Re].forEach(function(Ct){Ct.call(t,Je,ut,Ae)})},St=function(Re){var Je=void 0;if(mt("beforeSanitizeElements",Re,null),Qe(Re))return Be(Re),!0;var ut=Re.nodeName.toLowerCase();if(mt("uponSanitizeElement",Re,{tagName:ut,allowedTags:ue}),(ut==="svg"||ut==="math")&&Re.querySelectorAll("p, br").length!==0)return Be(Re),!0;if(!ue[ut]||re[ut]){if(Te&&!Me[ut]&&typeof Re.insertAdjacentHTML=="function")try{var Ct=Re.innerHTML;Re.insertAdjacentHTML("AfterEnd",w?w.createHTML(Ct):Ct)}catch{}return Be(Re),!0}return ut==="noscript"&&/<\/noscript/i.test(Re.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Re.innerHTML)?(Be(Re),!0):(je&&!Re.firstElementChild&&(!Re.content||!Re.content.firstElementChild)&&/</g.test(Re.textContent)&&(t.removed.push({element:Re.cloneNode()}),Re.innerHTML?Re.innerHTML=Re.innerHTML.replace(/</g,"&lt;"):Re.innerHTML=Re.textContent.replace(/</g,"&lt;")),z&&Re.nodeType===3&&(Je=Re.textContent,Je=Je.replace(V," "),Je=Je.replace(F," "),Re.textContent!==Je&&(t.removed.push({element:Re.cloneNode()}),Re.textContent=Je)),mt("afterSanitizeElements",Re,null),!1)},yt=function(Re,Je,ut){if(fe&&(Je==="id"||Je==="name")&&(ut in a||ut in De))return!1;if(!(be&&B.test(Je))){if(!(ce&&K.test(Je))){if(!I[Je]||ee[Je])return!1;if(!Ee[Je]){if(!te.test(ut.replace(X,""))){if(!((Je==="src"||Je==="xlink:href"||Je==="href")&&Re!=="script"&&ut.indexOf("data:")===0&&de[Re])){if(!(Ie&&!Q.test(ut.replace(X,"")))){if(ut)return!1}}}}}}return!0},at=function(Re){var Je=void 0,ut=void 0,Ct=void 0,kt=void 0,rr=void 0;mt("beforeSanitizeAttributes",Re,null);var Sr=Re.attributes;if(Sr){var ur={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I};for(rr=Sr.length;rr--;){Je=Sr[rr];var mr=Je,Lr=mr.name,un=mr.namespaceURI;if(ut=Je.value.trim(),Ct=Lr.toLowerCase(),ur.attrName=Ct,ur.attrValue=ut,ur.keepAttr=!0,mt("uponSanitizeAttribute",Re,ur),ut=ur.attrValue,Ct==="name"&&Re.nodeName==="IMG"&&Sr.id)kt=Sr.id,Sr=HO(WSe,Sr,[]),_t("id",Re),_t(Lr,Re),Sr.indexOf(kt)>rr&&Re.setAttribute("id",kt.value);else{if(Re.nodeName==="INPUT"&&Ct==="type"&&ut==="file"&&ur.keepAttr&&(I[Ct]||!ee[Ct]))continue;Lr==="id"&&Re.setAttribute(Lr,""),_t(Lr,Re)}if(ur.keepAttr){if(/svg|math/i.test(Re.namespaceURI)&&new RegExp("</("+Object.keys(Me).join("|")+")","i").test(ut)){_t(Lr,Re);continue}z&&(ut=ut.replace(V," "),ut=ut.replace(F," "));var ui=Re.nodeName.toLowerCase();if(yt(ui,Ct,ut))try{un?Re.setAttributeNS(un,Lr,ut):Re.setAttribute(Lr,ut),t.removed.pop()}catch{}}}mt("afterSanitizeAttributes",Re,null)}},Ft=function At(Re){var Je=void 0,ut=Mt(Re);for(mt("beforeSanitizeShadowDOM",Re,null);Je=ut.nextNode();)mt("uponSanitizeShadowNode",Je,null),!St(Je)&&(Je.content instanceof o&&At(Je.content),at(Je));mt("afterSanitizeShadowDOM",Re,null)};return t.sanitize=function(At,Re){var Je=void 0,ut=void 0,Ct=void 0,kt=void 0,rr=void 0;if(At||(At="<!-->"),typeof At!="string"&&!bt(At)){if(typeof At.toString!="function")throw new TypeError("toString is not a function");if(At=At.toString(),typeof At!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(ap(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof At=="string")return e.toStaticHTML(At);if(bt(At))return e.toStaticHTML(At.outerHTML)}return At}if(U||Ne(Re),t.removed=[],!Se)if(At instanceof s)Je=Ut("<!-->"),ut=Je.ownerDocument.importNode(At,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Je=ut:Je.appendChild(ut);else{if(!ne&&!z&&!k&&me&&At.indexOf("<")===-1)return w?w.createHTML(At):At;if(Je=Ut(At),!Je)return ne?null:b}Je&&H&&Be(Je.firstChild);for(var Sr=Mt(Se?At:Je);Ct=Sr.nextNode();)Ct.nodeType===3&&Ct===kt||St(Ct)||(Ct.content instanceof o&&Ft(Ct.content),at(Ct),kt=Ct);if(kt=null,Se)return At;if(ne){if(q)for(rr=y.call(Je.ownerDocument);Je.firstChild;)rr.appendChild(Je.firstChild);else rr=Je;return J&&(rr=P.call(r,rr,!0)),rr}var ur=k?Je.outerHTML:Je.innerHTML;return z&&(ur=ur.replace(V," "),ur=ur.replace(F," ")),w&&me?w.createHTML(ur):ur},t.setConfig=function(At){Ne(At),U=!0},t.clearConfig=function(){Ae=null,U=!1},t.isValidAttribute=function(At,Re,Je){Ae||Ne({});var ut=At.toLowerCase(),Ct=Re.toLowerCase();return yt(ut,Ct,Je)},t.addHook=function(At,Re){typeof Re=="function"&&(D[At]=D[At]||[],D[At].push(Re))},t.removeHook=function(At){D[At]&&D[At].pop()},t.removeHooks=function(At){D[At]&&(D[At]=[])},t.removeAllHooks=function(){D={}},t}var BO=Cne();const YSe=/&/g,XSe=/[\W]+/g,QSe=/\s+/g,Fl={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(YSe,"and").replace(XSe," ").trim().replace(QSe,"-").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?BO.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&amp;","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class ZSe extends Mo{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return dv.LANGUAGE}setConfig(t){this.polyglot=new NSe({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 Rn("LanguageService config must be set.")),!this.polyglot.has(i)){if(!l1.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new Rn(`No phrase set for ${i} in language config.`))}if(!n||Ap(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const a=i1(n,"smartCount","escapeText"),o={};for(const d in a){let h=Fl.sanitize(a[d]);n.escapeText&&(h=Fl.escapeExpression(h)),o[d]=h}bd(n.smartCount)&&(o.smart_count=n.smartCount);const l=`${i}:${tc({...o}).join(":")}`,s=this.cache[l];if(s)return s;const c=this.polyglot.t(i,o);return this.cache[l]=c,c}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const Er=ZSe.Instance;class pv extends s1{get name(){return"ErrorPageError"}}const kT="shared.unspecifiedError";class Zc extends pv{constructor(){super(Er.getPhrase(kT,"title"))}get name(){return"UnspecifiedError"}get heading(){return Er.getPhrase(kT,"heading")}get description(){return Er.getPhrase(kT,"description")}get cta(){return!1}}const JSe="modulepreload",eEe=function(e){return"/"+e},QW={},zn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(r.map(s=>{if(s=eEe(s),s in QW)return;QW[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":JSe,c||(h.as="script"),h.crossOrigin="",h.href=s,l&&h.setAttribute("nonce",l),document.head.appendChild(h),c)return new Promise((p,g)=>{h.addEventListener("load",p),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${s}`)))})}))}function a(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return i.then(o=>{for(const l of o||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};var DT={exports:{}},Wh={},LT={exports:{}},hn={},ZW;function tEe(){if(ZW)return hn;ZW=1;/**
57
+ * @license React
58
+ * react.production.min.js
59
+ *
60
+ * Copyright (c) Facebook, Inc. and its affiliates.
61
+ *
62
+ * This source code is licensed under the MIT license found in the
63
+ * LICENSE file in the root directory of this source tree.
64
+ */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"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function p(N){return N===null||typeof N!="object"?null:(N=h&&N[h]||N["@@iterator"],typeof N=="function"?N:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,_={};function E(N,re,ee){this.props=N,this.context=re,this.refs=_,this.updater=ee||g}E.prototype.isReactComponent={},E.prototype.setState=function(N,re){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,re,"setState")},E.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function w(){}w.prototype=E.prototype;function b(N,re,ee){this.props=N,this.context=re,this.refs=_,this.updater=ee||g}var x=b.prototype=new w;x.constructor=b,m(x,E.prototype),x.isPureReactComponent=!0;var T=Array.isArray,A=Object.prototype.hasOwnProperty,O={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function P(N,re,ee){var ce,be={},Ie=null,je=null;if(re!=null)for(ce in re.ref!==void 0&&(je=re.ref),re.key!==void 0&&(Ie=""+re.key),re)A.call(re,ce)&&!y.hasOwnProperty(ce)&&(be[ce]=re[ce]);var z=arguments.length-2;if(z===1)be.children=ee;else if(1<z){for(var k=Array(z),U=0;U<z;U++)k[U]=arguments[U+2];be.children=k}if(N&&N.defaultProps)for(ce in z=N.defaultProps,z)be[ce]===void 0&&(be[ce]=z[ce]);return{$$typeof:e,type:N,key:Ie,ref:je,props:be,_owner:O.current}}function D(N,re){return{$$typeof:e,type:N.type,key:re,ref:N.ref,props:N.props,_owner:N._owner}}function V(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function F(N){var re={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ee){return re[ee]})}var B=/\/+/g;function K(N,re){return typeof N=="object"&&N!==null&&N.key!=null?F(""+N.key):re.toString(36)}function Q(N,re,ee,ce,be){var Ie=typeof N;(Ie==="undefined"||Ie==="boolean")&&(N=null);var je=!1;if(N===null)je=!0;else switch(Ie){case"string":case"number":je=!0;break;case"object":switch(N.$$typeof){case e:case t:je=!0}}if(je)return je=N,be=be(je),N=ce===""?"."+K(je,0):ce,T(be)?(ee="",N!=null&&(ee=N.replace(B,"$&/")+"/"),Q(be,re,ee,"",function(U){return U})):be!=null&&(V(be)&&(be=D(be,ee+(!be.key||je&&je.key===be.key?"":(""+be.key).replace(B,"$&/")+"/")+N)),re.push(be)),1;if(je=0,ce=ce===""?".":ce+":",T(N))for(var z=0;z<N.length;z++){Ie=N[z];var k=ce+K(Ie,z);je+=Q(Ie,re,ee,k,be)}else if(k=p(N),typeof k=="function")for(N=k.call(N),z=0;!(Ie=N.next()).done;)Ie=Ie.value,k=ce+K(Ie,z++),je+=Q(Ie,re,ee,k,be);else if(Ie==="object")throw re=String(N),Error("Objects are not valid as a React child (found: "+(re==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":re)+"). If you meant to render a collection of children, use an array instead.");return je}function X(N,re,ee){if(N==null)return N;var ce=[],be=0;return Q(N,ce,"","",function(Ie){return re.call(ee,Ie,be++)}),ce}function te(N){if(N._status===-1){var re=N._result;re=re(),re.then(function(ee){(N._status===0||N._status===-1)&&(N._status=1,N._result=ee)},function(ee){(N._status===0||N._status===-1)&&(N._status=2,N._result=ee)}),N._status===-1&&(N._status=0,N._result=re)}if(N._status===1)return N._result.default;throw N._result}var ue={current:null},L={transition:null},I={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:L,ReactCurrentOwner:O};return hn.Children={map:X,forEach:function(N,re,ee){X(N,function(){re.apply(this,arguments)},ee)},count:function(N){var re=0;return X(N,function(){re++}),re},toArray:function(N){return X(N,function(re){return re})||[]},only:function(N){if(!V(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},hn.Component=E,hn.Fragment=r,hn.Profiler=i,hn.PureComponent=b,hn.StrictMode=n,hn.Suspense=s,hn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,hn.cloneElement=function(N,re,ee){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var ce=m({},N.props),be=N.key,Ie=N.ref,je=N._owner;if(re!=null){if(re.ref!==void 0&&(Ie=re.ref,je=O.current),re.key!==void 0&&(be=""+re.key),N.type&&N.type.defaultProps)var z=N.type.defaultProps;for(k in re)A.call(re,k)&&!y.hasOwnProperty(k)&&(ce[k]=re[k]===void 0&&z!==void 0?z[k]:re[k])}var k=arguments.length-2;if(k===1)ce.children=ee;else if(1<k){z=Array(k);for(var U=0;U<k;U++)z[U]=arguments[U+2];ce.children=z}return{$$typeof:e,type:N.type,key:be,ref:Ie,props:ce,_owner:je}},hn.createContext=function(N){return N={$$typeof:o,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:a,_context:N},N.Consumer=N},hn.createElement=P,hn.createFactory=function(N){var re=P.bind(null,N);return re.type=N,re},hn.createRef=function(){return{current:null}},hn.forwardRef=function(N){return{$$typeof:l,render:N}},hn.isValidElement=V,hn.lazy=function(N){return{$$typeof:d,_payload:{_status:-1,_result:N},_init:te}},hn.memo=function(N,re){return{$$typeof:c,type:N,compare:re===void 0?null:re}},hn.startTransition=function(N){var re=L.transition;L.transition={};try{N()}finally{L.transition=re}},hn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},hn.useCallback=function(N,re){return ue.current.useCallback(N,re)},hn.useContext=function(N){return ue.current.useContext(N)},hn.useDebugValue=function(){},hn.useDeferredValue=function(N){return ue.current.useDeferredValue(N)},hn.useEffect=function(N,re){return ue.current.useEffect(N,re)},hn.useId=function(){return ue.current.useId()},hn.useImperativeHandle=function(N,re,ee){return ue.current.useImperativeHandle(N,re,ee)},hn.useInsertionEffect=function(N,re){return ue.current.useInsertionEffect(N,re)},hn.useLayoutEffect=function(N,re){return ue.current.useLayoutEffect(N,re)},hn.useMemo=function(N,re){return ue.current.useMemo(N,re)},hn.useReducer=function(N,re,ee){return ue.current.useReducer(N,re,ee)},hn.useRef=function(N){return ue.current.useRef(N)},hn.useState=function(N){return ue.current.useState(N)},hn.useSyncExternalStore=function(N,re,ee){return ue.current.useSyncExternalStore(N,re,ee)},hn.useTransition=function(){return ue.current.useTransition()},hn.version="18.1.0",hn}var JW;function $o(){return JW||(JW=1,LT.exports=tEe()),LT.exports}/**
65
+ * @license React
66
+ * react-jsx-runtime.production.min.js
67
+ *
68
+ * Copyright (c) Facebook, Inc. and its affiliates.
69
+ *
70
+ * This source code is licensed under the MIT license found in the
71
+ * LICENSE file in the root directory of this source tree.
72
+ */var eG;function rEe(){if(eG)return Wh;eG=1;var e=$o(),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(l,s,c){var d,h={},p=null,g=null;c!==void 0&&(p=""+c),s.key!==void 0&&(p=""+s.key),s.ref!==void 0&&(g=s.ref);for(d in s)n.call(s,d)&&!a.hasOwnProperty(d)&&(h[d]=s[d]);if(l&&l.defaultProps)for(d in s=l.defaultProps,s)h[d]===void 0&&(h[d]=s[d]);return{$$typeof:t,type:l,key:p,ref:g,props:h,_owner:i.current}}return Wh.Fragment=r,Wh.jsx=o,Wh.jsxs=o,Wh}var tG;function nEe(){return tG||(tG=1,DT.exports=rEe()),DT.exports}var j=nEe();class ic extends U_e{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],a=o=>qr.Radio.channel(Cn.ALERT).trigger("remove:alert",o);this.layout.showChildView(this.layoutOptions.options.alertRegion,j.jsx(r,{alerts:i,removeAlert:a}))}}var dm={exports:{}},iEe=dm.exports,rG;function aEe(){return rG||(rG=1,(function(e,t){(function(r,n){e.exports=n()})(iEe,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",l="minute",s="hour",c="day",d="week",h="month",p="quarter",g="year",m="date",_="Invalid Date",E=/^(\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(Q){var X=["th","st","nd","rd"],te=Q%100;return"["+Q+(X[(te-20)%10]||X[te]||X[0])+"]"}},x=function(Q,X,te){var ue=String(Q);return!ue||ue.length>=X?Q:""+Array(X+1-ue.length).join(te)+Q},T={s:x,z:function(Q){var X=-Q.utcOffset(),te=Math.abs(X),ue=Math.floor(te/60),L=te%60;return(X<=0?"+":"-")+x(ue,2,"0")+":"+x(L,2,"0")},m:function Q(X,te){if(X.date()<te.date())return-Q(te,X);var ue=12*(te.year()-X.year())+(te.month()-X.month()),L=X.clone().add(ue,h),I=te-L<0,N=X.clone().add(ue+(I?-1:1),h);return+(-(ue+(te-L)/(I?L-N:N-L))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:h,y:g,w:d,d:c,D:m,h:s,m:l,s:o,ms:a,Q:p}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},A="en",O={};O[A]=b;var y="$isDayjsObject",P=function(Q){return Q instanceof B||!(!Q||!Q[y])},D=function Q(X,te,ue){var L;if(!X)return A;if(typeof X=="string"){var I=X.toLowerCase();O[I]&&(L=I),te&&(O[I]=te,L=I);var N=X.split("-");if(!L&&N.length>1)return Q(N[0])}else{var re=X.name;O[re]=X,L=re}return!ue&&L&&(A=L),L||!ue&&A},V=function(Q,X){if(P(Q))return Q.clone();var te=typeof X=="object"?X:{};return te.date=Q,te.args=arguments,new B(te)},F=T;F.l=D,F.i=P,F.w=function(Q,X){return V(Q,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var B=(function(){function Q(te){this.$L=D(te.locale,null,!0),this.parse(te),this.$x=this.$x||te.x||{},this[y]=!0}var X=Q.prototype;return X.parse=function(te){this.$d=(function(ue){var L=ue.date,I=ue.utc;if(L===null)return new Date(NaN);if(F.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var N=L.match(E);if(N){var re=N[2]-1||0,ee=(N[7]||"0").substring(0,3);return I?new Date(Date.UTC(N[1],re,N[3]||1,N[4]||0,N[5]||0,N[6]||0,ee)):new Date(N[1],re,N[3]||1,N[4]||0,N[5]||0,N[6]||0,ee)}}return new Date(L)})(te),this.init()},X.init=function(){var te=this.$d;this.$y=te.getFullYear(),this.$M=te.getMonth(),this.$D=te.getDate(),this.$W=te.getDay(),this.$H=te.getHours(),this.$m=te.getMinutes(),this.$s=te.getSeconds(),this.$ms=te.getMilliseconds()},X.$utils=function(){return F},X.isValid=function(){return this.$d.toString()!==_},X.isSame=function(te,ue){var L=V(te);return this.startOf(ue)<=L&&L<=this.endOf(ue)},X.isAfter=function(te,ue){return V(te)<this.startOf(ue)},X.isBefore=function(te,ue){return this.endOf(ue)<V(te)},X.$g=function(te,ue,L){return F.u(te)?this[ue]:this.set(L,te)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(te,ue){var L=this,I=!!F.u(ue)||ue,N=F.p(te),re=function(U,H){var ne=F.w(L.$u?Date.UTC(L.$y,H,U):new Date(L.$y,H,U),L);return I?ne:ne.endOf(c)},ee=function(U,H){return F.w(L.toDate()[U].apply(L.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(H)),L)},ce=this.$W,be=this.$M,Ie=this.$D,je="set"+(this.$u?"UTC":"");switch(N){case g:return I?re(1,0):re(31,11);case h:return I?re(1,be):re(0,be+1);case d:var z=this.$locale().weekStart||0,k=(ce<z?ce+7:ce)-z;return re(I?Ie-k:Ie+(6-k),be);case c:case m:return ee(je+"Hours",0);case s:return ee(je+"Minutes",1);case l:return ee(je+"Seconds",2);case o:return ee(je+"Milliseconds",3);default:return this.clone()}},X.endOf=function(te){return this.startOf(te,!1)},X.$set=function(te,ue){var L,I=F.p(te),N="set"+(this.$u?"UTC":""),re=(L={},L[c]=N+"Date",L[m]=N+"Date",L[h]=N+"Month",L[g]=N+"FullYear",L[s]=N+"Hours",L[l]=N+"Minutes",L[o]=N+"Seconds",L[a]=N+"Milliseconds",L)[I],ee=I===c?this.$D+(ue-this.$W):ue;if(I===h||I===g){var ce=this.clone().set(m,1);ce.$d[re](ee),ce.init(),this.$d=ce.set(m,Math.min(this.$D,ce.daysInMonth())).$d}else re&&this.$d[re](ee);return this.init(),this},X.set=function(te,ue){return this.clone().$set(te,ue)},X.get=function(te){return this[F.p(te)]()},X.add=function(te,ue){var L,I=this;te=Number(te);var N=F.p(ue),re=function(be){var Ie=V(I);return F.w(Ie.date(Ie.date()+Math.round(be*te)),I)};if(N===h)return this.set(h,this.$M+te);if(N===g)return this.set(g,this.$y+te);if(N===c)return re(1);if(N===d)return re(7);var ee=(L={},L[l]=n,L[s]=i,L[o]=r,L)[N]||1,ce=this.$d.getTime()+te*ee;return F.w(ce,this)},X.subtract=function(te,ue){return this.add(-1*te,ue)},X.format=function(te){var ue=this,L=this.$locale();if(!this.isValid())return L.invalidDate||_;var I=te||"YYYY-MM-DDTHH:mm:ssZ",N=F.z(this),re=this.$H,ee=this.$m,ce=this.$M,be=L.weekdays,Ie=L.months,je=L.meridiem,z=function(H,ne,q,J){return H&&(H[ne]||H(ue,I))||q[ne].slice(0,J)},k=function(H){return F.s(re%12||12,H,"0")},U=je||function(H,ne,q){var J=H<12?"AM":"PM";return q?J.toLowerCase():J};return I.replace(w,(function(H,ne){return ne||(function(q){switch(q){case"YY":return String(ue.$y).slice(-2);case"YYYY":return F.s(ue.$y,4,"0");case"M":return ce+1;case"MM":return F.s(ce+1,2,"0");case"MMM":return z(L.monthsShort,ce,Ie,3);case"MMMM":return z(Ie,ce);case"D":return ue.$D;case"DD":return F.s(ue.$D,2,"0");case"d":return String(ue.$W);case"dd":return z(L.weekdaysMin,ue.$W,be,2);case"ddd":return z(L.weekdaysShort,ue.$W,be,3);case"dddd":return be[ue.$W];case"H":return String(re);case"HH":return F.s(re,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return U(re,ee,!0);case"A":return U(re,ee,!1);case"m":return String(ee);case"mm":return F.s(ee,2,"0");case"s":return String(ue.$s);case"ss":return F.s(ue.$s,2,"0");case"SSS":return F.s(ue.$ms,3,"0");case"Z":return N}return null})(H)||N.replace(":","")}))},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(te,ue,L){var I,N=this,re=F.p(ue),ee=V(te),ce=(ee.utcOffset()-this.utcOffset())*n,be=this-ee,Ie=function(){return F.m(N,ee)};switch(re){case g:I=Ie()/12;break;case h:I=Ie();break;case p:I=Ie()/3;break;case d:I=(be-ce)/6048e5;break;case c:I=(be-ce)/864e5;break;case s:I=be/i;break;case l:I=be/n;break;case o:I=be/r;break;default:I=be}return L?I:F.a(I)},X.daysInMonth=function(){return this.endOf(h).$D},X.$locale=function(){return O[this.$L]},X.locale=function(te,ue){if(!te)return this.$L;var L=this.clone(),I=D(te,ue,!0);return I&&(L.$L=I),L},X.clone=function(){return F.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},Q})(),K=B.prototype;return V.prototype=K,[["$ms",a],["$s",o],["$m",l],["$H",s],["$W",c],["$M",h],["$y",g],["$D",m]].forEach((function(Q){K[Q[1]]=function(X){return this.$g(X,Q[0],Q[1])}})),V.extend=function(Q,X){return Q.$i||(Q(X,B,V),Q.$i=!0),V},V.locale=D,V.isDayjs=P,V.unix=function(Q){return V(1e3*Q)},V.en=O[A],V.Ls=O,V.p={},V}))})(dm)),dm.exports}var oEe=aEe();const dr=Ln(oEe);var hm={exports:{}},sEe=hm.exports,nG;function uEe(){return nG||(nG=1,(function(e,t){(function(r,n){e.exports=n()})(sEe,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var l=this,s=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((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),h==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),h==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return h}}));return a.bind(this)(d)}}}))})(hm)),hm.exports}var lEe=uEe();const cEe=Ln(lEe);var pm={exports:{}},fEe=pm.exports,iG;function dEe(){return iG||(iG=1,(function(e,t){(function(r,n){e.exports=n()})(fEe,(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]+/,l={},s=function(_){return(_=+_)+(_>68?1900:2e3)},c=function(_){return function(E){this[_]=+E}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(_){(this.zone||(this.zone={})).offset=(function(E){if(!E||E==="Z")return 0;var w=E.match(/([+-]|\d\d)/g),b=60*w[1]+(+w[2]||0);return b===0?0:w[0]==="+"?-b:b})(_)}],h=function(_){var E=l[_];return E&&(E.indexOf?E:E.s.concat(E.f))},p=function(_,E){var w,b=l.meridiem;if(b){for(var x=1;x<=24;x+=1)if(_.indexOf(b(x,0,E))>-1){w=x>12;break}}else w=_===(E?"pm":"PM");return w},g={A:[o,function(_){this.afternoon=p(_,!1)}],a:[o,function(_){this.afternoon=p(_,!0)}],S:[/\d/,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],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(_){var E=l.ordinal,w=_.match(/\d+/);if(this.day=w[0],E)for(var b=1;b<=31;b+=1)E(b).replace(/\[|\]/g,"")===_&&(this.day=b)}],M:[a,c("month")],MM:[i,c("month")],MMM:[o,function(_){var E=h("months"),w=(h("monthsShort")||E.map((function(b){return b.slice(0,3)}))).indexOf(_)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[o,function(_){var E=h("months").indexOf(_)+1;if(E<1)throw new Error;this.month=E%12||E}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(_){this.year=s(_)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function m(_){var E,w;E=_,w=l&&l.formats;for(var b=(_=E.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(D,V,F){var B=F&&F.toUpperCase();return V||w[F]||r[F]||w[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(K,Q,X){return Q||X.slice(1)}))}))).match(n),x=b.length,T=0;T<x;T+=1){var A=b[T],O=g[A],y=O&&O[0],P=O&&O[1];b[T]=P?{regex:y,parser:P}:A.replace(/^\[|\]$/g,"")}return function(D){for(var V={},F=0,B=0;F<x;F+=1){var K=b[F];if(typeof K=="string")B+=K.length;else{var Q=K.regex,X=K.parser,te=D.slice(B),ue=Q.exec(te)[0];X.call(V,ue),D=D.replace(ue,"")}}return(function(L){var I=L.afternoon;if(I!==void 0){var N=L.hours;I?N<12&&(L.hours+=12):N===12&&(L.hours=0),delete L.afternoon}})(V),V}}return function(_,E,w){w.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(s=_.parseTwoDigitYear);var b=E.prototype,x=b.parse;b.parse=function(T){var A=T.date,O=T.utc,y=T.args;this.$u=O;var P=y[1];if(typeof P=="string"){var D=y[2]===!0,V=y[3]===!0,F=D||V,B=y[2];V&&(B=y[2]),l=this.$locale(),!D&&B&&(l=w.Ls[B]),this.$d=(function(te,ue,L){try{if(["x","X"].indexOf(ue)>-1)return new Date((ue==="X"?1e3:1)*te);var I=m(ue)(te),N=I.year,re=I.month,ee=I.day,ce=I.hours,be=I.minutes,Ie=I.seconds,je=I.milliseconds,z=I.zone,k=new Date,U=ee||(N||re?1:k.getDate()),H=N||k.getFullYear(),ne=0;N&&!re||(ne=re>0?re-1:k.getMonth());var q=ce||0,J=be||0,me=Ie||0,fe=je||0;return z?new Date(Date.UTC(H,ne,U,q,J,me,fe+60*z.offset*1e3)):L?new Date(Date.UTC(H,ne,U,q,J,me,fe)):new Date(H,ne,U,q,J,me,fe)}catch{return new Date("")}})(A,P,O),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),F&&A!=this.format(P)&&(this.$d=new Date("")),l={}}else if(P instanceof Array)for(var K=P.length,Q=1;Q<=K;Q+=1){y[1]=P[Q-1];var X=w.apply(this,y);if(X.isValid()){this.$d=X.$d,this.$L=X.$L,this.init();break}Q===K&&(this.$d=new Date(""))}else x.call(this,T)}}}))})(pm)),pm.exports}var hEe=dEe();const Tne=Ln(hEe);var vm={exports:{}},pEe=vm.exports,aG;function vEe(){return aG||(aG=1,(function(e,t){(function(r,n){e.exports=n()})(pEe,(function(){var r,n,i=1e3,a=6e4,o=36e5,l=864e5,s=/\[([^\]]+)]|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)?)?$/,p={years:c,months:d,days:l,hours:o,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof T},m=function(O,y,P){return new T(O,P,y.$l)},_=function(O){return n.p(O)+"s"},E=function(O){return O<0},w=function(O){return E(O)?Math.ceil(O):Math.floor(O)},b=function(O){return Math.abs(O)},x=function(O,y){return O?E(O)?{negative:!0,format:""+b(O)+y}:{negative:!1,format:""+O+y}:{negative:!1,format:""}},T=(function(){function O(P,D,V){var F=this;if(this.$d={},this.$l=V,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return m(P*p[_(D)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach((function(Q){F.$d[_(Q)]=P[Q]})),this.calMilliseconds(),this;if(typeof P=="string"){var B=P.match(h);if(B){var K=B.slice(2).map((function(Q){return Q!=null?Number(Q):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 y=O.prototype;return y.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce((function(D,V){return D+(P.$d[V]||0)*p[V]}),0)},y.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=w(P/c),P%=c,this.$d.months=w(P/d),P%=d,this.$d.days=w(P/l),P%=l,this.$d.hours=w(P/o),P%=o,this.$d.minutes=w(P/a),P%=a,this.$d.seconds=w(P/i),P%=i,this.$d.milliseconds=P},y.toISOString=function(){var P=x(this.$d.years,"Y"),D=x(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var F=x(V,"D"),B=x(this.$d.hours,"H"),K=x(this.$d.minutes,"M"),Q=this.$d.seconds||0;this.$d.milliseconds&&(Q+=this.$d.milliseconds/1e3,Q=Math.round(1e3*Q)/1e3);var X=x(Q,"S"),te=P.negative||D.negative||F.negative||B.negative||K.negative||X.negative,ue=B.format||K.format||X.format?"T":"",L=(te?"-":"")+"P"+P.format+D.format+F.format+ue+B.format+K.format+X.format;return L==="P"||L==="-P"?"P0D":L},y.toJSON=function(){return this.toISOString()},y.format=function(P){var D=P||"YYYY-MM-DDTHH:mm:ss",V={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 D.replace(s,(function(F,B){return B||String(V[F])}))},y.as=function(P){return this.$ms/p[_(P)]},y.get=function(P){var D=this.$ms,V=_(P);return V==="milliseconds"?D%=1e3:D=V==="weeks"?w(D/p[V]):this.$d[V],D||0},y.add=function(P,D,V){var F;return F=D?P*p[_(D)]:g(P)?P.$ms:m(P,this).$ms,m(this.$ms+F*(V?-1:1),this)},y.subtract=function(P,D){return this.add(P,D,!0)},y.locale=function(P){var D=this.clone();return D.$l=P,D},y.clone=function(){return m(this.$ms,this)},y.humanize=function(P){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},O})(),A=function(O,y,P){return O.add(y.years()*P,"y").add(y.months()*P,"M").add(y.days()*P,"d").add(y.hours()*P,"h").add(y.minutes()*P,"m").add(y.seconds()*P,"s").add(y.milliseconds()*P,"ms")};return function(O,y,P){r=P,n=P().$utils(),P.duration=function(F,B){var K=P.locale();return m(F,{$l:K},B)},P.isDuration=g;var D=y.prototype.add,V=y.prototype.subtract;y.prototype.add=function(F,B){return g(F)?A(this,F,1):D.bind(this)(F,B)},y.prototype.subtract=function(F,B){return g(F)?A(this,F,-1):V.bind(this)(F,B)}}}))})(vm)),vm.exports}var gEe=vEe();const mEe=Ln(gEe);var gm={exports:{}},yEe=gm.exports,oG;function _Ee(){return oG||(oG=1,(function(e,t){(function(r,n){e.exports=n()})(yEe,(function(){return function(r,n,i){n.prototype.isBetween=function(a,o,l,s){var c=i(a),d=i(o),h=(s=s||"()")[0]==="(",p=s[1]===")";return(h?this.isAfter(c,l):!this.isBefore(c,l))&&(p?this.isBefore(d,l):!this.isAfter(d,l))||(h?this.isBefore(c,l):!this.isAfter(c,l))&&(p?this.isAfter(d,l):!this.isBefore(d,l))}}}))})(gm)),gm.exports}var SEe=_Ee();const EEe=Ln(SEe);var mm={exports:{}},wEe=mm.exports,sG;function bEe(){return sG||(sG=1,(function(e,t){(function(r,n){e.exports=n()})(wEe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(mm)),mm.exports}var CEe=bEe();const TEe=Ln(CEe);var ym={exports:{}},AEe=ym.exports,uG;function REe(){return uG||(uG=1,(function(e,t){(function(r,n){e.exports=n()})(AEe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(ym)),ym.exports}var xEe=REe();const OEe=Ln(xEe);var _m={exports:{}},IEe=_m.exports,lG;function PEe(){return lG||(lG=1,(function(e,t){(function(r,n){e.exports=n()})(IEe,(function(){return function(r,n,i){var a=n.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},l=function(h,p,g,m,_){var E=h.name?h:h.$locale(),w=o(E[p]),b=o(E[g]),x=w||b.map((function(A){return A.slice(0,m)}));if(!_)return x;var T=E.weekStart;return x.map((function(A,O){return x[(O+(T||0))%7]}))},s=function(){return i.Ls[i.locale()]},c=function(h,p){return h.formats[p]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(m,_,E){return _||E.slice(1)}))})(h.formats[p.toUpperCase()])},d=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):l(h,"months")},monthsShort:function(p){return p?p.format("MMM"):l(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):l(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):l(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):l(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return c(h.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=s();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(p){return c(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return l(s(),"months")},i.monthsShort=function(){return l(s(),"monthsShort","months",3)},i.weekdays=function(h){return l(s(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return l(s(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return l(s(),"weekdaysMin","weekdays",2,h)}}}))})(_m)),_m.exports}var kEe=PEe();const DEe=Ln(kEe);var Sm={exports:{}},LEe=Sm.exports,cG;function NEe(){return cG||(cG=1,(function(e,t){(function(r,n){e.exports=n()})(LEe,(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 l(c,d,h,p){return a.fromToBase(c,d,h,p)}i.en.relativeTime=o,a.fromToBase=function(c,d,h,p,g){for(var m,_,E,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"}],x=b.length,T=0;T<x;T+=1){var A=b[T];A.d&&(m=p?i(c).diff(h,A.d,!0):h.diff(c,A.d,!0));var O=(r.rounding||Math.round)(Math.abs(m));if(E=m>0,O<=A.r||!A.r){O<=1&&T>0&&(A=b[T-1]);var y=w[A.l];g&&(O=g(""+O)),_=typeof y=="string"?y.replace("%d",O):y(O,d,A.l,E);break}}if(d)return _;var P=E?w.future:w.past;return typeof P=="function"?P(_):P.replace("%s",_)},a.to=function(c,d){return l(c,d,this,!0)},a.from=function(c,d){return l(c,d,this)};var s=function(c){return c.$u?i.utc():i()};a.toNow=function(c){return this.to(s(this),c)},a.fromNow=function(c){return this.from(s(this),c)}}}))})(Sm)),Sm.exports}var MEe=NEe();const $Ee=Ln(MEe);var Em={exports:{}},FEe=Em.exports,fG;function jEe(){return fG||(fG=1,(function(e,t){(function(r,n){e.exports=n()})(FEe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,o){var l,s=function(p,g,m){m===void 0&&(m={});var _=new Date(p),E=(function(w,b){b===void 0&&(b={});var x=b.timeZoneName||"short",T=w+"|"+x,A=n[T];return A||(A=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:x}),n[T]=A),A})(g,m);return E.formatToParts(_)},c=function(p,g){for(var m=s(p,g),_=[],E=0;E<m.length;E+=1){var w=m[E],b=w.type,x=w.value,T=r[b];T>=0&&(_[T]=parseInt(x,10))}var A=_[3],O=A===24?0:A,y=_[0]+"-"+_[1]+"-"+_[2]+" "+O+":"+_[4]+":"+_[5]+":000",P=+p;return(o.utc(y).valueOf()-(P-=P%1e3))/6e4},d=a.prototype;d.tz=function(p,g){p===void 0&&(p=l);var m=this.utcOffset(),_=this.toDate(),E=_.toLocaleString("en-US",{timeZone:p}),w=Math.round((_-new Date(E))/1e3/60),b=o(E,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(_.getTimezoneOffset()/15)-w,!0);if(g){var x=b.utcOffset();b=b.add(m-x,"minute")}return b.$x.$timezone=p,b},d.offsetName=function(p){var g=this.$x.$timezone||o.tz.guess(),m=s(this.valueOf(),g,{timeZoneName:p}).find((function(_){return _.type.toLowerCase()==="timezonename"}));return m&&m.value};var h=d.startOf;d.startOf=function(p,g){if(!this.$x||!this.$x.$timezone)return h.call(this,p,g);var m=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(m,p,g).tz(this.$x.$timezone,!0)},o.tz=function(p,g,m){var _=m&&g,E=m||g||l,w=c(+o(),E);if(typeof p!="string")return o(p).tz(E);var b=(function(O,y,P){var D=O-60*y*1e3,V=c(D,P);if(y===V)return[D,y];var F=c(D-=60*(V-y)*1e3,P);return V===F?[D,V]:[O-60*Math.min(V,F)*1e3,Math.max(V,F)]})(o.utc(p,_).valueOf(),w,E),x=b[0],T=b[1],A=o(x).utcOffset(T);return A.$x.$timezone=E,A},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(p){l=p}}}))})(Em)),Em.exports}var UEe=jEe();const qEe=Ln(UEe);var wm={exports:{}},VEe=wm.exports,dG;function HEe(){return dG||(dG=1,(function(e,t){(function(r,n){e.exports=n()})(VEe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,l){var s=o.prototype;l.utc=function(_){var E={date:_,utc:!0,args:arguments};return new o(E)},s.utc=function(_){var E=l(this.toDate(),{locale:this.$L,utc:!0});return _?E.add(this.utcOffset(),r):E},s.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=s.parse;s.parse=function(_){_.utc&&(this.$u=!0),this.$utils().u(_.$offset)||(this.$offset=_.$offset),c.call(this,_)};var d=s.init;s.init=function(){if(this.$u){var _=this.$d;this.$y=_.getUTCFullYear(),this.$M=_.getUTCMonth(),this.$D=_.getUTCDate(),this.$W=_.getUTCDay(),this.$H=_.getUTCHours(),this.$m=_.getUTCMinutes(),this.$s=_.getUTCSeconds(),this.$ms=_.getUTCMilliseconds()}else d.call(this)};var h=s.utcOffset;s.utcOffset=function(_,E){var w=this.$utils().u;if(w(_))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof _=="string"&&(_=(function(A){A===void 0&&(A="");var O=A.match(n);if(!O)return null;var y=(""+O[0]).match(i)||["-",0,0],P=y[0],D=60*+y[1]+ +y[2];return D===0?0:P==="+"?D:-D})(_),_===null))return this;var b=Math.abs(_)<=16?60*_:_,x=this;if(E)return x.$offset=b,x.$u=_===0,x;if(_!==0){var T=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(b+T,r)).$offset=b,x.$x.$localOffset=T}else x=this.utc();return x};var p=s.format;s.format=function(_){var E=_||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,E)},s.valueOf=function(){var _=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*_},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var g=s.toDate;s.toDate=function(_){return _==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var m=s.diff;s.diff=function(_,E,w){if(_&&this.$u===_.$u)return m.call(this,_,E,w);var b=this.local(),x=l(_).local();return m.call(b,x,E,w)}}}))})(wm)),wm.exports}var BEe=HEe();const zEe=Ln(BEe);var bm={exports:{}},WEe=bm.exports,hG;function GEe(){return hG||(hG=1,(function(e,t){(function(r,n){e.exports=n()})(WEe,(function(){return function(r,n){n.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,l=(o<a?o+7:o)-a;return this.$utils().u(i)?l:this.subtract(l,"day").add(i,"day")}}}))})(bm)),bm.exports}var KEe=GEe();const YEe=Ln(KEe);let xg;const XEe={"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"}},Ane={getCurrentRegion(){return xg},setCurrentRegion(e){xg=e},updateFormatByRegion(e){var r;return xg&&((r=XEe[e])==null?void 0:r[xg])||e}};dr.extend(cEe);dr.extend(Tne);dr.extend($Ee);dr.extend(TEe);dr.extend(EEe);dr.extend(YEe);dr.extend(DEe);dr.extend(OEe);dr.extend(Tne);dr.extend(mEe);dr.extend(zEe);dr.extend(qEe);const QEe=/[\[\]]/g;function ZEe(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 Oo={add(e,t,r){return dr(e).add(t,r).toDate()},subtract(e,t,r){return dr(e).subtract(t,r).toDate()},format(e,t){return dr(e).format(Ane.updateFormatByRegion(t))},formatToISODate(e){return dr(e).format("YYYY-MM-DD")},isValid(e){return dr(e).isValid()},formatIsValid(e,t,r){return dr(e,t,r).isValid()},fromNow(e,t){return dr(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,l=Math.floor(o),s=Math.floor((o-l)*60);let c=r+l,d=n+s;return i&&(c=r-l,d=n-s),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=dr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=dr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return dr(e).isSame(dr(t),r)},isSameOrBefore(e,t,r){return dr(e).isSameOrBefore(dr(t),r)},isToday(e){return dr().isSame(dr(e),"day")},isBetween(e,t,r){return dr(e).isSameOrAfter(dr(t))&&dr(e).isSameOrBefore(dr(r))},timeSince(e,t,r){const n=dr(e);return dr().diff(n,t,r)},startOf(e,t){return dr(e).startOf(t).toDate()},endOf(e,t){return dr(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 dr(e).weekday(t).toDate()},getWeekday(e){return dr(e).weekday()},daysInMonth(e){return dr(e).daysInMonth()},get(e,t){return dr(e).get(t)},set(e,t,r){return dr(e).set(t,r).toDate()},diffBetween(e,t,r){return dr(e).diff(dr(t),r)},getLocalDateOrdinal(e){return dr.localeData().ordinal(e).replace(QEe,"")},parseDateString(e,t){return e?dr(e,t).toDate():dr().toDate()},getDurationISOString(e,t){return dr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return dr.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 dr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=ZEe(e);switch(t){case"milliseconds":return dr.duration(r).asMilliseconds();case"seconds":return dr.duration(r).asSeconds();case"hours":return dr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=dr().day(e).hour(t).minute(r).utc().toDate();return Oo.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return dr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return dr(e).utc().toISOString()},formatUtc(e,t){return dr(e).utc().format(t)},formatUtcString(e,t){return dr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return dr.duration(e,t).hours();case"minutes":return dr.duration(e,t).minutes();case"seconds":return dr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return dr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return dr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?dr.utc(e).tz(r).format(t):dr.utc(e).format(t)},getUtcStringByTimezone(e,t){return dr.tz(e,t).utc().toISOString()}};var zO=(e=>(e.ET="Eastern Standard Time",e))(zO||{});const pG={"Eastern Standard Time":{name:"Eastern Time",timezone:"America/New_York",code:"ET"}},JEe={convertToUTCString(e,t=zO.ET){return e?Oo.getUtcStringByTimezone(e,pG[t].timezone):""},convertUTCToTimezoneDate(e,t=zO.ET){if(!e||!t)return new Date;const r=new Date(e),n=new Intl.DateTimeFormat("en-US",{timeZone:pG[t].timezone,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(r);return new Date(n)}};let NT=!1,MT=!1,$T=!1,FT=!0,jT=!0;class ewe extends Mo{get name(){return"LayoutHelper"}shouldHideNav(){return NT}disableNav(){NT=!0}enableNav(){NT=!1}shouldHideHeader(){return MT}disableHeader(){MT=!0}enableHeader(){MT=!1}lockContentWidth(){$T=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){$T=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!$T}shouldShowSearch(){return jT}enableSearch(){jT=!0}disableSearch(){jT=!1}enableLogoClick(){FT=!0}disableLogoClick(){FT=!1}shouldAllowLogoClick(){return FT}}const Zs=new ewe,pn={CONTENT:"content",POPUP:"popup",ALERT:"alert"},Su={DEFAULT_LAYOUT:"DefaultLayout"},sr={DEFAULT:"default:application",DASHBOARD:"dashboard:application",SUBJECTS:"subjects:application",SEARCH:"search:application",VIDEOS:"videos:application",CALENDAR:"calendar:application",SETTINGS:"settings:application",LIVESTREAMS:"livestreams:application"},to={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var hu=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(hu||{}),twe=jte();const Ip=Ln(twe);var _i=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(_i||{});function vG(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const rwe=[_i.POST,_i.PUT];function WO(e){const{resource:t,type:r,headers:n,success:i,error:a,always:o}=e,l={url:t,method:r,contentType:"application/json; charset=utf-8"};rwe.includes(r)&&e.data&&(l.data=JSON.stringify(e.data)),n&&(l.headers=n),Ip.ajax(l).done((s,c,d)=>{i&&i(s,vG(d))}).fail(s=>{a&&a(vG(s))}).always(()=>{o&&o()})}const Rne="id";function UT(e,t={}){const{idAttribute:r=Rne,namespace:n=""}=t;return`${n}__${e[r]}`}function xne(e,t,r,n={}){const{idAttribute:i=Rne}=n,a={...e};if(r.has(e))return e[i]?UT(e,n):a;if(r.add(e),Object.keys(e).forEach(o=>{const l=e[o];if(l){if(Array.isArray(l)){a[o]=l.map(s=>n3(s,t,r,n));return}if(typeof l=="object"){const s=xne(l,t,r,n);l[i]?a[o]=UT(l,n):a[o]=s}}}),e[i]){const o=UT(e,n);return t[o]?t[o]={...t[o],...a}:t[o]=a,o}return a}function n3(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>n3(i,t,r,n)):typeof e=="object"?xne(e,t,r,n):e)}function One(e,t){const r={};return{result:n3(e,r,new Set,t),entities:r}}var qT,gG;function nwe(){if(gG)return qT;gG=1;function e(){this.__data__=[],this.size=0}return qT=e,qT}var VT,mG;function Ine(){if(mG)return VT;mG=1;function e(t,r){return t===r||t!==t&&r!==r}return VT=e,VT}var HT,yG;function h1(){if(yG)return HT;yG=1;var e=Ine();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return HT=t,HT}var BT,_G;function iwe(){if(_G)return BT;_G=1;var e=h1(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var l=a.length-1;return o==l?a.pop():r.call(a,o,1),--this.size,!0}return BT=n,BT}var zT,SG;function awe(){if(SG)return zT;SG=1;var e=h1();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return zT=t,zT}var WT,EG;function owe(){if(EG)return WT;EG=1;var e=h1();function t(r){return e(this.__data__,r)>-1}return WT=t,WT}var GT,wG;function swe(){if(wG)return GT;wG=1;var e=h1();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 GT=t,GT}var KT,bG;function p1(){if(bG)return KT;bG=1;var e=nwe(),t=iwe(),r=awe(),n=owe(),i=swe();function a(o){var l=-1,s=o==null?0:o.length;for(this.clear();++l<s;){var c=o[l];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,KT=a,KT}var YT,CG;function uwe(){if(CG)return YT;CG=1;var e=p1();function t(){this.__data__=new e,this.size=0}return YT=t,YT}var XT,TG;function lwe(){if(TG)return XT;TG=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return XT=e,XT}var QT,AG;function cwe(){if(AG)return QT;AG=1;function e(t){return this.__data__.get(t)}return QT=e,QT}var ZT,RG;function fwe(){if(RG)return ZT;RG=1;function e(t){return this.__data__.has(t)}return ZT=e,ZT}var JT,xG;function Pne(){if(xG)return JT;xG=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return JT=e,JT}var eA,OG;function Eu(){if(OG)return eA;OG=1;var e=Pne(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return eA=r,eA}var tA,IG;function v1(){if(IG)return tA;IG=1;var e=Eu(),t=e.Symbol;return tA=t,tA}var rA,PG;function dwe(){if(PG)return rA;PG=1;var e=v1(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var l=r.call(o,i),s=o[i];try{o[i]=void 0;var c=!0}catch{}var d=n.call(o);return c&&(l?o[i]=s:delete o[i]),d}return rA=a,rA}var nA,kG;function hwe(){if(kG)return nA;kG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return nA=r,nA}var iA,DG;function vv(){if(DG)return iA;DG=1;var e=v1(),t=dwe(),r=hwe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(l){return l==null?l===void 0?i:n:a&&a in Object(l)?t(l):r(l)}return iA=o,iA}var aA,LG;function gv(){if(LG)return aA;LG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return aA=e,aA}var oA,NG;function kne(){if(NG)return oA;NG=1;var e=vv(),t=gv(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(l){if(!t(l))return!1;var s=e(l);return s==n||s==i||s==r||s==a}return oA=o,oA}var sA,MG;function pwe(){if(MG)return sA;MG=1;var e=Eu(),t=e["__core-js_shared__"];return sA=t,sA}var uA,$G;function vwe(){if($G)return uA;$G=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 uA=r,uA}var lA,FG;function Dne(){if(FG)return lA;FG=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 lA=r,lA}var cA,jG;function gwe(){if(jG)return cA;jG=1;var e=kne(),t=vwe(),r=gv(),n=Dne(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,l=Object.prototype,s=o.toString,c=l.hasOwnProperty,d=RegExp("^"+s.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!r(p)||t(p))return!1;var g=e(p)?d:a;return g.test(n(p))}return cA=h,cA}var fA,UG;function mwe(){if(UG)return fA;UG=1;function e(t,r){return t==null?void 0:t[r]}return fA=e,fA}var dA,qG;function bf(){if(qG)return dA;qG=1;var e=gwe(),t=mwe();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return dA=r,dA}var hA,VG;function i3(){if(VG)return hA;VG=1;var e=bf(),t=Eu(),r=e(t,"Map");return hA=r,hA}var pA,HG;function g1(){if(HG)return pA;HG=1;var e=bf(),t=e(Object,"create");return pA=t,pA}var vA,BG;function ywe(){if(BG)return vA;BG=1;var e=g1();function t(){this.__data__=e?e(null):{},this.size=0}return vA=t,vA}var gA,zG;function _we(){if(zG)return gA;zG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return gA=e,gA}var mA,WG;function Swe(){if(WG)return mA;WG=1;var e=g1(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var l=o[a];return l===t?void 0:l}return n.call(o,a)?o[a]:void 0}return mA=i,mA}var yA,GG;function Ewe(){if(GG)return yA;GG=1;var e=g1(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return yA=n,yA}var _A,KG;function wwe(){if(KG)return _A;KG=1;var e=g1(),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 _A=r,_A}var SA,YG;function bwe(){if(YG)return SA;YG=1;var e=ywe(),t=_we(),r=Swe(),n=Ewe(),i=wwe();function a(o){var l=-1,s=o==null?0:o.length;for(this.clear();++l<s;){var c=o[l];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,SA=a,SA}var EA,XG;function Cwe(){if(XG)return EA;XG=1;var e=bwe(),t=p1(),r=i3();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return EA=n,EA}var wA,QG;function Twe(){if(QG)return wA;QG=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return wA=e,wA}var bA,ZG;function m1(){if(ZG)return bA;ZG=1;var e=Twe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return bA=t,bA}var CA,JG;function Awe(){if(JG)return CA;JG=1;var e=m1();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return CA=t,CA}var TA,eK;function Rwe(){if(eK)return TA;eK=1;var e=m1();function t(r){return e(this,r).get(r)}return TA=t,TA}var AA,tK;function xwe(){if(tK)return AA;tK=1;var e=m1();function t(r){return e(this,r).has(r)}return AA=t,AA}var RA,rK;function Owe(){if(rK)return RA;rK=1;var e=m1();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 RA=t,RA}var xA,nK;function Lne(){if(nK)return xA;nK=1;var e=Cwe(),t=Awe(),r=Rwe(),n=xwe(),i=Owe();function a(o){var l=-1,s=o==null?0:o.length;for(this.clear();++l<s;){var c=o[l];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,xA=a,xA}var OA,iK;function Iwe(){if(iK)return OA;iK=1;var e=p1(),t=i3(),r=Lne(),n=200;function i(a,o){var l=this.__data__;if(l instanceof e){var s=l.__data__;if(!t||s.length<n-1)return s.push([a,o]),this.size=++l.size,this;l=this.__data__=new r(s)}return l.set(a,o),this.size=l.size,this}return OA=i,OA}var IA,aK;function Pwe(){if(aK)return IA;aK=1;var e=p1(),t=uwe(),r=lwe(),n=cwe(),i=fwe(),a=Iwe();function o(l){var s=this.__data__=new e(l);this.size=s.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,IA=o,IA}var PA,oK;function kwe(){if(oK)return PA;oK=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 PA=e,PA}var kA,sK;function Dwe(){if(sK)return kA;sK=1;var e=bf(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return kA=t,kA}var DA,uK;function Nne(){if(uK)return DA;uK=1;var e=Dwe();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return DA=t,DA}var LA,lK;function Mne(){if(lK)return LA;lK=1;var e=Nne(),t=Ine(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,l){var s=a[o];(!(n.call(a,o)&&t(s,l))||l===void 0&&!(o in a))&&e(a,o,l)}return LA=i,LA}var NA,cK;function y1(){if(cK)return NA;cK=1;var e=Mne(),t=Nne();function r(n,i,a,o){var l=!a;a||(a={});for(var s=-1,c=i.length;++s<c;){var d=i[s],h=o?o(a[d],n[d],d,a,n):void 0;h===void 0&&(h=n[d]),l?t(a,d,h):e(a,d,h)}return a}return NA=r,NA}var MA,fK;function Lwe(){if(fK)return MA;fK=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return MA=e,MA}var $A,dK;function fh(){if(dK)return $A;dK=1;function e(t){return t!=null&&typeof t=="object"}return $A=e,$A}var FA,hK;function Nwe(){if(hK)return FA;hK=1;var e=vv(),t=fh(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return FA=n,FA}var jA,pK;function Mwe(){if(pK)return jA;pK=1;var e=Nwe(),t=fh(),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 jA=a,jA}var UA,vK;function dh(){if(vK)return UA;vK=1;var e=Array.isArray;return UA=e,UA}var op={exports:{}},qA,gK;function $we(){if(gK)return qA;gK=1;function e(){return!1}return qA=e,qA}op.exports;var mK;function $ne(){return mK||(mK=1,(function(e,t){var r=Eu(),n=$we(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,l=o?r.Buffer:void 0,s=l?l.isBuffer:void 0,c=s||n;e.exports=c})(op,op.exports)),op.exports}var VA,yK;function Fwe(){if(yK)return VA;yK=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 VA=r,VA}var HA,_K;function Fne(){if(_K)return HA;_K=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return HA=t,HA}var BA,SK;function jwe(){if(SK)return BA;SK=1;var e=vv(),t=Fne(),r=fh(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",l="[object Error]",s="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",g="[object Set]",m="[object String]",_="[object WeakMap]",E="[object ArrayBuffer]",w="[object DataView]",b="[object Float32Array]",x="[object Float64Array]",T="[object Int8Array]",A="[object Int16Array]",O="[object Int32Array]",y="[object Uint8Array]",P="[object Uint8ClampedArray]",D="[object Uint16Array]",V="[object Uint32Array]",F={};F[b]=F[x]=F[T]=F[A]=F[O]=F[y]=F[P]=F[D]=F[V]=!0,F[n]=F[i]=F[E]=F[a]=F[w]=F[o]=F[l]=F[s]=F[c]=F[d]=F[h]=F[p]=F[g]=F[m]=F[_]=!1;function B(K){return r(K)&&t(K.length)&&!!F[e(K)]}return BA=B,BA}var zA,EK;function a3(){if(EK)return zA;EK=1;function e(t){return function(r){return t(r)}}return zA=e,zA}var sp={exports:{}};sp.exports;var wK;function o3(){return wK||(wK=1,(function(e,t){var r=Pne(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,l=(function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();e.exports=l})(sp,sp.exports)),sp.exports}var WA,bK;function Uwe(){if(bK)return WA;bK=1;var e=jwe(),t=a3(),r=o3(),n=r&&r.isTypedArray,i=n?t(n):e;return WA=i,WA}var GA,CK;function jne(){if(CK)return GA;CK=1;var e=Lwe(),t=Mwe(),r=dh(),n=$ne(),i=Fwe(),a=Uwe(),o=Object.prototype,l=o.hasOwnProperty;function s(c,d){var h=r(c),p=!h&&t(c),g=!h&&!p&&n(c),m=!h&&!p&&!g&&a(c),_=h||p||g||m,E=_?e(c.length,String):[],w=E.length;for(var b in c)(d||l.call(c,b))&&!(_&&(b=="length"||g&&(b=="offset"||b=="parent")||m&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,w)))&&E.push(b);return E}return GA=s,GA}var KA,TK;function s3(){if(TK)return KA;TK=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return KA=t,KA}var YA,AK;function Une(){if(AK)return YA;AK=1;function e(t,r){return function(n){return t(r(n))}}return YA=e,YA}var XA,RK;function qwe(){if(RK)return XA;RK=1;var e=Une(),t=e(Object.keys,Object);return XA=t,XA}var QA,xK;function Vwe(){if(xK)return QA;xK=1;var e=s3(),t=qwe(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var l in Object(a))n.call(a,l)&&l!="constructor"&&o.push(l);return o}return QA=i,QA}var ZA,OK;function qne(){if(OK)return ZA;OK=1;var e=kne(),t=Fne();function r(n){return n!=null&&t(n.length)&&!e(n)}return ZA=r,ZA}var JA,IK;function u3(){if(IK)return JA;IK=1;var e=jne(),t=Vwe(),r=qne();function n(i){return r(i)?e(i):t(i)}return JA=n,JA}var eR,PK;function Hwe(){if(PK)return eR;PK=1;var e=y1(),t=u3();function r(n,i){return n&&e(i,t(i),n)}return eR=r,eR}var tR,kK;function Bwe(){if(kK)return tR;kK=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return tR=e,tR}var rR,DK;function zwe(){if(DK)return rR;DK=1;var e=gv(),t=s3(),r=Bwe(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var l=t(o),s=[];for(var c in o)c=="constructor"&&(l||!i.call(o,c))||s.push(c);return s}return rR=a,rR}var nR,LK;function l3(){if(LK)return nR;LK=1;var e=jne(),t=zwe(),r=qne();function n(i){return r(i)?e(i,!0):t(i)}return nR=n,nR}var iR,NK;function Wwe(){if(NK)return iR;NK=1;var e=y1(),t=l3();function r(n,i){return n&&e(i,t(i),n)}return iR=r,iR}var up={exports:{}};up.exports;var MK;function Gwe(){return MK||(MK=1,(function(e,t){var r=Eu(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function s(c,d){if(d)return c.slice();var h=c.length,p=l?l(h):new c.constructor(h);return c.copy(p),p}e.exports=s})(up,up.exports)),up.exports}var aR,$K;function Kwe(){if($K)return aR;$K=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 aR=e,aR}var oR,FK;function Ywe(){if(FK)return oR;FK=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var l=t[n];r(l,n,t)&&(o[a++]=l)}return o}return oR=e,oR}var sR,jK;function Vne(){if(jK)return sR;jK=1;function e(){return[]}return sR=e,sR}var uR,UK;function c3(){if(UK)return uR;UK=1;var e=Ywe(),t=Vne(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(l){return n.call(o,l)}))}:t;return uR=a,uR}var lR,qK;function Xwe(){if(qK)return lR;qK=1;var e=y1(),t=c3();function r(n,i){return e(n,t(n),i)}return lR=r,lR}var cR,VK;function Hne(){if(VK)return cR;VK=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 cR=e,cR}var fR,HK;function Bne(){if(HK)return fR;HK=1;var e=Une(),t=e(Object.getPrototypeOf,Object);return fR=t,fR}var dR,BK;function zne(){if(BK)return dR;BK=1;var e=Hne(),t=Bne(),r=c3(),n=Vne(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var l=[];o;)e(l,r(o)),o=t(o);return l}:n;return dR=a,dR}var hR,zK;function Qwe(){if(zK)return hR;zK=1;var e=y1(),t=zne();function r(n,i){return e(n,t(n),i)}return hR=r,hR}var pR,WK;function Wne(){if(WK)return pR;WK=1;var e=Hne(),t=dh();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return pR=r,pR}var vR,GK;function Zwe(){if(GK)return vR;GK=1;var e=Wne(),t=c3(),r=u3();function n(i){return e(i,r,t)}return vR=n,vR}var gR,KK;function Jwe(){if(KK)return gR;KK=1;var e=Wne(),t=zne(),r=l3();function n(i){return e(i,r,t)}return gR=n,gR}var mR,YK;function ebe(){if(YK)return mR;YK=1;var e=bf(),t=Eu(),r=e(t,"DataView");return mR=r,mR}var yR,XK;function tbe(){if(XK)return yR;XK=1;var e=bf(),t=Eu(),r=e(t,"Promise");return yR=r,yR}var _R,QK;function rbe(){if(QK)return _R;QK=1;var e=bf(),t=Eu(),r=e(t,"Set");return _R=r,_R}var SR,ZK;function nbe(){if(ZK)return SR;ZK=1;var e=bf(),t=Eu(),r=e(t,"WeakMap");return SR=r,SR}var ER,JK;function f3(){if(JK)return ER;JK=1;var e=ebe(),t=i3(),r=tbe(),n=rbe(),i=nbe(),a=vv(),o=Dne(),l="[object Map]",s="[object Object]",c="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",g=o(e),m=o(t),_=o(r),E=o(n),w=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=p||t&&b(new t)!=l||r&&b(r.resolve())!=c||n&&b(new n)!=d||i&&b(new i)!=h)&&(b=function(x){var T=a(x),A=T==s?x.constructor:void 0,O=A?o(A):"";if(O)switch(O){case g:return p;case m:return l;case _:return c;case E:return d;case w:return h}return T}),ER=b,ER}var wR,eY;function ibe(){if(eY)return wR;eY=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 wR=r,wR}var bR,tY;function abe(){if(tY)return bR;tY=1;var e=Eu(),t=e.Uint8Array;return bR=t,bR}var CR,rY;function d3(){if(rY)return CR;rY=1;var e=abe();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return CR=t,CR}var TR,nY;function obe(){if(nY)return TR;nY=1;var e=d3();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return TR=t,TR}var AR,iY;function sbe(){if(iY)return AR;iY=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return AR=t,AR}var RR,aY;function ube(){if(aY)return RR;aY=1;var e=v1(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return RR=n,RR}var xR,oY;function lbe(){if(oY)return xR;oY=1;var e=d3();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return xR=t,xR}var OR,sY;function cbe(){if(sY)return OR;sY=1;var e=d3(),t=obe(),r=sbe(),n=ube(),i=lbe(),a="[object Boolean]",o="[object Date]",l="[object Map]",s="[object Number]",c="[object RegExp]",d="[object Set]",h="[object String]",p="[object Symbol]",g="[object ArrayBuffer]",m="[object DataView]",_="[object Float32Array]",E="[object Float64Array]",w="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",T="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",y="[object Uint32Array]";function P(D,V,F){var B=D.constructor;switch(V){case g:return e(D);case a:case o:return new B(+D);case m:return t(D,F);case _:case E:case w:case b:case x:case T:case A:case O:case y:return i(D,F);case l:return new B;case s:case h:return new B(D);case c:return r(D);case d:return new B;case p:return n(D)}}return OR=P,OR}var IR,uY;function fbe(){if(uY)return IR;uY=1;var e=gv(),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 IR=r,IR}var PR,lY;function dbe(){if(lY)return PR;lY=1;var e=fbe(),t=Bne(),r=s3();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return PR=n,PR}var kR,cY;function hbe(){if(cY)return kR;cY=1;var e=f3(),t=fh(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return kR=n,kR}var DR,fY;function pbe(){if(fY)return DR;fY=1;var e=hbe(),t=a3(),r=o3(),n=r&&r.isMap,i=n?t(n):e;return DR=i,DR}var LR,dY;function vbe(){if(dY)return LR;dY=1;var e=f3(),t=fh(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return LR=n,LR}var NR,hY;function gbe(){if(hY)return NR;hY=1;var e=vbe(),t=a3(),r=o3(),n=r&&r.isSet,i=n?t(n):e;return NR=i,NR}var MR,pY;function mbe(){if(pY)return MR;pY=1;var e=Pwe(),t=kwe(),r=Mne(),n=Hwe(),i=Wwe(),a=Gwe(),o=Kwe(),l=Xwe(),s=Qwe(),c=Zwe(),d=Jwe(),h=f3(),p=ibe(),g=cbe(),m=dbe(),_=dh(),E=$ne(),w=pbe(),b=gv(),x=gbe(),T=u3(),A=l3(),O=1,y=2,P=4,D="[object Arguments]",V="[object Array]",F="[object Boolean]",B="[object Date]",K="[object Error]",Q="[object Function]",X="[object GeneratorFunction]",te="[object Map]",ue="[object Number]",L="[object Object]",I="[object RegExp]",N="[object Set]",re="[object String]",ee="[object Symbol]",ce="[object WeakMap]",be="[object ArrayBuffer]",Ie="[object DataView]",je="[object Float32Array]",z="[object Float64Array]",k="[object Int8Array]",U="[object Int16Array]",H="[object Int32Array]",ne="[object Uint8Array]",q="[object Uint8ClampedArray]",J="[object Uint16Array]",me="[object Uint32Array]",fe={};fe[D]=fe[V]=fe[be]=fe[Ie]=fe[F]=fe[B]=fe[je]=fe[z]=fe[k]=fe[U]=fe[H]=fe[te]=fe[ue]=fe[L]=fe[I]=fe[N]=fe[re]=fe[ee]=fe[ne]=fe[q]=fe[J]=fe[me]=!0,fe[K]=fe[Q]=fe[ce]=!1;function Te(Se,Oe,Me,de,Ee,_e){var Ae,De=Oe&O,Ne=Oe&y,Be=Oe&P;if(Me&&(Ae=Ee?Me(Se,de,Ee,_e):Me(Se)),Ae!==void 0)return Ae;if(!b(Se))return Se;var _t=_(Se);if(_t){if(Ae=p(Se),!De)return o(Se,Ae)}else{var Ut=h(Se),Mt=Ut==Q||Ut==X;if(E(Se))return a(Se,De);if(Ut==L||Ut==D||Mt&&!Ee){if(Ae=Ne||Mt?{}:m(Se),!De)return Ne?s(Se,i(Ae,Se)):l(Se,n(Ae,Se))}else{if(!fe[Ut])return Ee?Se:{};Ae=g(Se,Ut,De)}}_e||(_e=new e);var Qe=_e.get(Se);if(Qe)return Qe;_e.set(Se,Ae),x(Se)?Se.forEach(function(St){Ae.add(Te(St,Oe,Me,St,Se,_e))}):w(Se)&&Se.forEach(function(St,yt){Ae.set(yt,Te(St,Oe,Me,yt,Se,_e))});var bt=Be?Ne?d:c:Ne?A:T,mt=_t?void 0:bt(Se);return t(mt||Se,function(St,yt){mt&&(yt=St,St=Se[yt]),r(Ae,yt,Te(St,Oe,Me,yt,Se,_e))}),Ae}return MR=Te,MR}var $R,vY;function ybe(){if(vY)return $R;vY=1;var e=mbe(),t=1,r=4;function n(i){return e(i,t|r)}return $R=n,$R}var _be=ybe();const Sbe=Ln(_be);var FR,gY;function h3(){if(gY)return FR;gY=1;var e=vv(),t=fh(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return FR=n,FR}var jR,mY;function Ebe(){if(mY)return jR;mY=1;var e=dh(),t=h3(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var l=typeof a;return l=="number"||l=="symbol"||l=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return jR=i,jR}var UR,yY;function wbe(){if(yY)return UR;yY=1;var e=Lne(),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,l=i?i.apply(this,o):o[0],s=a.cache;if(s.has(l))return s.get(l);var c=n.apply(this,o);return a.cache=s.set(l,c)||s,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,UR=r,UR}var qR,_Y;function bbe(){if(_Y)return qR;_Y=1;var e=wbe(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return qR=r,qR}var VR,SY;function Cbe(){if(SY)return VR;SY=1;var e=bbe(),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,l,s,c){a.push(s?c.replace(r,"$1"):l||o)}),a});return VR=n,VR}var HR,EY;function Tbe(){if(EY)return HR;EY=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 HR=e,HR}var BR,wY;function Abe(){if(wY)return BR;wY=1;var e=v1(),t=Tbe(),r=dh(),n=h3(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(l){if(typeof l=="string")return l;if(r(l))return t(l,o)+"";if(n(l))return a?a.call(l):"";var s=l+"";return s=="0"&&1/l==-1/0?"-0":s}return BR=o,BR}var zR,bY;function Rbe(){if(bY)return zR;bY=1;var e=Abe();function t(r){return r==null?"":e(r)}return zR=t,zR}var WR,CY;function xbe(){if(CY)return WR;CY=1;var e=dh(),t=Ebe(),r=Cbe(),n=Rbe();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return WR=i,WR}var GR,TY;function Obe(){if(TY)return GR;TY=1;var e=h3();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return GR=t,GR}var KR,AY;function Ibe(){if(AY)return KR;AY=1;var e=xbe(),t=Obe();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 KR=r,KR}var YR,RY;function Pbe(){if(RY)return YR;RY=1;var e=Ibe();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return YR=t,YR}var kbe=Pbe();const Dbe=Ln(kbe),oa={isEmpty(e){return Ap(e)},values(e){return tc(e)},keys(e){return ea(e)},deepClone(e){return Sbe(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Is(e)},isEqual(e,t){return ire(e,t)},omit(e,t){return i1(e,t)},pick(e,t){return BP(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])?oa.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return Dbe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function Lbe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=Um(t[e],t,r,n);return Object.assign(r[e],i),oa.isEmpty(r[e])?(delete r[e],e):oa.omit(r[e],["__modifyCount"])}function Um(e,t,r,n){if(!e)return e;if(typeof e=="string")return Lbe(e,t,r,n);if(Array.isArray(e))return e.map(i=>Um(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]=Um(e[a],t,r,n)}),i}return e}function p3(e,t){return Um(e,t,{},new WeakMap)}var ge=$o();const Xt=Ln(ge);var XR={exports:{}},QR={};/**
73
+ * @license React
74
+ * use-sync-external-store-shim.production.js
75
+ *
76
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
77
+ *
78
+ * This source code is licensed under the MIT license found in the
79
+ * LICENSE file in the root directory of this source tree.
80
+ */var xY;function Nbe(){if(xY)return QR;xY=1;var e=$o();function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function l(h,p){var g=p(),m=n({inst:{value:g,getSnapshot:p}}),_=m[0].inst,E=m[1];return a(function(){_.value=g,_.getSnapshot=p,s(_)&&E({inst:_})},[h,g,p]),i(function(){return s(_)&&E({inst:_}),h(function(){s(_)&&E({inst:_})})},[h]),o(g),g}function s(h){var p=h.getSnapshot;h=h.value;try{var g=p();return!r(h,g)}catch{return!0}}function c(h,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:l;return QR.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,QR}var OY;function Gne(){return OY||(OY=1,XR.exports=Nbe()),XR.exports}Gne();var ZR={exports:{}},JR={};/**
81
+ * @license React
82
+ * use-sync-external-store-shim/with-selector.production.js
83
+ *
84
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
85
+ *
86
+ * This source code is licensed under the MIT license found in the
87
+ * LICENSE file in the root directory of this source tree.
88
+ */var IY;function Mbe(){if(IY)return JR;IY=1;var e=$o(),t=Gne();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,l=e.useMemo,s=e.useDebugValue;return JR.useSyncExternalStoreWithSelector=function(c,d,h,p,g){var m=a(null);if(m.current===null){var _={hasValue:!1,value:null};m.current=_}else _=m.current;m=l(function(){function w(O){if(!b){if(b=!0,x=O,O=p(O),g!==void 0&&_.hasValue){var y=_.value;if(g(y,O))return T=y}return T=O}if(y=T,n(x,O))return y;var P=p(O);return g!==void 0&&g(y,P)?(x=O,y):(x=O,T=P)}var b=!1,x,T,A=h===void 0?null:h;return[function(){return w(d())},A===null?void 0:function(){return w(A())}]},[d,h,p,g]);var E=i(c,m[0],m[1]);return o(function(){_.hasValue=!0,_.value=E},[E]),s(E),E},JR}var PY;function $be(){return PY||(PY=1,ZR.exports=Mbe()),ZR.exports}var Fbe=$be(),ex={exports:{}},So={},tx={exports:{}},rx={};/**
89
+ * @license React
90
+ * scheduler.production.min.js
91
+ *
92
+ * Copyright (c) Facebook, Inc. and its affiliates.
93
+ *
94
+ * This source code is licensed under the MIT license found in the
95
+ * LICENSE file in the root directory of this source tree.
96
+ */var kY;function jbe(){return kY||(kY=1,(function(e){function t(L,I){var N=L.length;L.push(I);e:for(;0<N;){var re=N-1>>>1,ee=L[re];if(0<i(ee,I))L[re]=I,L[N]=ee,N=re;else break e}}function r(L){return L.length===0?null:L[0]}function n(L){if(L.length===0)return null;var I=L[0],N=L.pop();if(N!==I){L[0]=N;e:for(var re=0,ee=L.length,ce=ee>>>1;re<ce;){var be=2*(re+1)-1,Ie=L[be],je=be+1,z=L[je];if(0>i(Ie,N))je<ee&&0>i(z,Ie)?(L[re]=z,L[je]=N,re=je):(L[re]=Ie,L[be]=N,re=be);else if(je<ee&&0>i(z,N))L[re]=z,L[je]=N,re=je;else break e}}return I}function i(L,I){var N=L.sortIndex-I.sortIndex;return N!==0?N:L.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var s=[],c=[],d=1,h=null,p=3,g=!1,m=!1,_=!1,E=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 x(L){for(var I=r(c);I!==null;){if(I.callback===null)n(c);else if(I.startTime<=L)n(c),I.sortIndex=I.expirationTime,t(s,I);else break;I=r(c)}}function T(L){if(_=!1,x(L),!m)if(r(s)!==null)m=!0,te(A);else{var I=r(c);I!==null&&ue(T,I.startTime-L)}}function A(L,I){m=!1,_&&(_=!1,w(P),P=-1),g=!0;var N=p;try{for(x(I),h=r(s);h!==null&&(!(h.expirationTime>I)||L&&!F());){var re=h.callback;if(typeof re=="function"){h.callback=null,p=h.priorityLevel;var ee=re(h.expirationTime<=I);I=e.unstable_now(),typeof ee=="function"?h.callback=ee:h===r(s)&&n(s),x(I)}else n(s);h=r(s)}if(h!==null)var ce=!0;else{var be=r(c);be!==null&&ue(T,be.startTime-I),ce=!1}return ce}finally{h=null,p=N,g=!1}}var O=!1,y=null,P=-1,D=5,V=-1;function F(){return!(e.unstable_now()-V<D)}function B(){if(y!==null){var L=e.unstable_now();V=L;var I=!0;try{I=y(!0,L)}finally{I?K():(O=!1,y=null)}}else O=!1}var K;if(typeof b=="function")K=function(){b(B)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,X=Q.port2;Q.port1.onmessage=B,K=function(){X.postMessage(null)}}else K=function(){E(B,0)};function te(L){y=L,O||(O=!0,K())}function ue(L,I){P=E(function(){L(e.unstable_now())},I)}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(L){L.callback=null},e.unstable_continueExecution=function(){m||g||(m=!0,te(A))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(L){switch(p){case 1:case 2:case 3:var I=3;break;default:I=p}var N=p;p=I;try{return L()}finally{p=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,I){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var N=p;p=L;try{return I()}finally{p=N}},e.unstable_scheduleCallback=function(L,I,N){var re=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?re+N:re):N=re,L){case 1:var ee=-1;break;case 2:ee=250;break;case 5:ee=1073741823;break;case 4:ee=1e4;break;default:ee=5e3}return ee=N+ee,L={id:d++,callback:I,priorityLevel:L,startTime:N,expirationTime:ee,sortIndex:-1},N>re?(L.sortIndex=N,t(c,L),r(s)===null&&L===r(c)&&(_?(w(P),P=-1):_=!0,ue(T,N-re))):(L.sortIndex=ee,t(s,L),m||g||(m=!0,te(A))),L},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(L){var I=p;return function(){var N=p;p=I;try{return L.apply(this,arguments)}finally{p=N}}}})(rx)),rx}var DY;function Ube(){return DY||(DY=1,tx.exports=jbe()),tx.exports}/**
97
+ * @license React
98
+ * react-dom.production.min.js
99
+ *
100
+ * Copyright (c) Facebook, Inc. and its affiliates.
101
+ *
102
+ * This source code is licensed under the MIT license found in the
103
+ * LICENSE file in the root directory of this source tree.
104
+ */var LY;function qbe(){if(LY)return So;LY=1;var e=$o(),t=Ube();function r(u){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+u,v=1;v<arguments.length;v++)f+="&args[]="+encodeURIComponent(arguments[v]);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 l=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),s=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 p(u){return s.call(h,u)?!0:s.call(d,u)?!1:c.test(u)?h[u]=!0:(d[u]=!0,!1)}function g(u,f,v,C){if(v!==null&&v.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return C?!1:v!==null?!v.acceptsBooleans:(u=u.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-");default:return!1}}function m(u,f,v,C){if(f===null||typeof f>"u"||g(u,f,v,C))return!0;if(C)return!1;if(v!==null)switch(v.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 _(u,f,v,C,$,Z,ye){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=C,this.attributeNamespace=$,this.mustUseProperty=v,this.propertyName=u,this.type=f,this.sanitizeURL=Z,this.removeEmptyString=ye}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){E[u]=new _(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var f=u[0];E[f]=new _(f,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){E[u]=new _(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){E[u]=new _(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){E[u]=new _(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){E[u]=new _(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){E[u]=new _(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){E[u]=new _(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){E[u]=new _(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);E[f]=new _(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);E[f]=new _(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);E[f]=new _(f,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){E[u]=new _(u,1,!1,u.toLowerCase(),null,!1,!1)}),E.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){E[u]=new _(u,1,!1,u.toLowerCase(),null,!0,!0)});function x(u,f,v,C){var $=E.hasOwnProperty(f)?E[f]:null;($!==null?$.type!==0:C||!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(m(f,v,$,C)&&(v=null),C||$===null?p(f)&&(v===null?u.removeAttribute(f):u.setAttribute(f,""+v)):$.mustUseProperty?u[$.propertyName]=v===null?$.type===3?!1:"":v:(f=$.attributeName,C=$.attributeNamespace,v===null?u.removeAttribute(f):($=$.type,v=$===3||$===4&&v===!0?"":""+v,C?u.setAttributeNS(C,f,v):u.setAttribute(f,v))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.element"),O=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),F=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),L=Symbol.iterator;function I(u){return u===null||typeof u!="object"?null:(u=L&&u[L]||u["@@iterator"],typeof u=="function"?u:null)}var N=Object.assign,re;function ee(u){if(re===void 0)try{throw Error()}catch(v){var f=v.stack.trim().match(/\n( *(at )?)/);re=f&&f[1]||""}return`
105
+ `+re+u}var ce=!1;function be(u,f){if(!u||ce)return"";ce=!0;var v=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(gt){var C=gt}Reflect.construct(u,[],f)}else{try{f.call()}catch(gt){C=gt}u.call(f.prototype)}else{try{throw Error()}catch(gt){C=gt}u()}}catch(gt){if(gt&&C&&typeof gt.stack=="string"){for(var $=gt.stack.split(`
106
+ `),Z=C.stack.split(`
107
+ `),ye=$.length-1,ke=Z.length-1;1<=ye&&0<=ke&&$[ye]!==Z[ke];)ke--;for(;1<=ye&&0<=ke;ye--,ke--)if($[ye]!==Z[ke]){if(ye!==1||ke!==1)do if(ye--,ke--,0>ke||$[ye]!==Z[ke]){var ze=`
108
+ `+$[ye].replace(" at new "," at ");return u.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",u.displayName)),ze}while(1<=ye&&0<=ke);break}}}finally{ce=!1,Error.prepareStackTrace=v}return(u=u?u.displayName||u.name:"")?ee(u):""}function Ie(u){switch(u.tag){case 5:return ee(u.type);case 16:return ee("Lazy");case 13:return ee("Suspense");case 19:return ee("SuspenseList");case 0:case 2:case 15:return u=be(u.type,!1),u;case 11:return u=be(u.type.render,!1),u;case 1:return u=be(u.type,!0),u;default:return""}}function je(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 y:return"Fragment";case O:return"Portal";case D:return"Profiler";case P:return"StrictMode";case K:return"Suspense";case Q:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case F:return(u.displayName||"Context")+".Consumer";case V:return(u._context.displayName||"Context")+".Provider";case B:var f=u.render;return u=u.displayName,u||(u=f.displayName||f.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case X:return f=u.displayName||null,f!==null?f:je(u.type)||"Memo";case te:f=u._payload,u=u._init;try{return je(u(f))}catch{}}return null}function z(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 je(f);case 8:return f===P?"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 k(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function U(u){var f=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function H(u){var f=U(u)?"checked":"value",v=Object.getOwnPropertyDescriptor(u.constructor.prototype,f),C=""+u[f];if(!u.hasOwnProperty(f)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var $=v.get,Z=v.set;return Object.defineProperty(u,f,{configurable:!0,get:function(){return $.call(this)},set:function(ye){C=""+ye,Z.call(this,ye)}}),Object.defineProperty(u,f,{enumerable:v.enumerable}),{getValue:function(){return C},setValue:function(ye){C=""+ye},stopTracking:function(){u._valueTracker=null,delete u[f]}}}}function ne(u){u._valueTracker||(u._valueTracker=H(u))}function q(u){if(!u)return!1;var f=u._valueTracker;if(!f)return!0;var v=f.getValue(),C="";return u&&(C=U(u)?u.checked?"true":"false":u.value),u=C,u!==v?(f.setValue(u),!0):!1}function J(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 me(u,f){var v=f.checked;return N({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??u._wrapperState.initialChecked})}function fe(u,f){var v=f.defaultValue==null?"":f.defaultValue,C=f.checked!=null?f.checked:f.defaultChecked;v=k(f.value!=null?f.value:v),u._wrapperState={initialChecked:C,initialValue:v,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function Te(u,f){f=f.checked,f!=null&&x(u,"checked",f,!1)}function Se(u,f){Te(u,f);var v=k(f.value),C=f.type;if(v!=null)C==="number"?(v===0&&u.value===""||u.value!=v)&&(u.value=""+v):u.value!==""+v&&(u.value=""+v);else if(C==="submit"||C==="reset"){u.removeAttribute("value");return}f.hasOwnProperty("value")?Me(u,f.type,v):f.hasOwnProperty("defaultValue")&&Me(u,f.type,k(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(u.defaultChecked=!!f.defaultChecked)}function Oe(u,f,v){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var C=f.type;if(!(C!=="submit"&&C!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+u._wrapperState.initialValue,v||f===u.value||(u.value=f),u.defaultValue=f}v=u.name,v!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,v!==""&&(u.name=v)}function Me(u,f,v){(f!=="number"||J(u.ownerDocument)!==u)&&(v==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+v&&(u.defaultValue=""+v))}var de=Array.isArray;function Ee(u,f,v,C){if(u=u.options,f){f={};for(var $=0;$<v.length;$++)f["$"+v[$]]=!0;for(v=0;v<u.length;v++)$=f.hasOwnProperty("$"+u[v].value),u[v].selected!==$&&(u[v].selected=$),$&&C&&(u[v].defaultSelected=!0)}else{for(v=""+k(v),f=null,$=0;$<u.length;$++){if(u[$].value===v){u[$].selected=!0,C&&(u[$].defaultSelected=!0);return}f!==null||u[$].disabled||(f=u[$])}f!==null&&(f.selected=!0)}}function _e(u,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return N({},f,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function Ae(u,f){var v=f.value;if(v==null){if(v=f.children,f=f.defaultValue,v!=null){if(f!=null)throw Error(r(92));if(de(v)){if(1<v.length)throw Error(r(93));v=v[0]}f=v}f==null&&(f=""),v=f}u._wrapperState={initialValue:k(v)}}function De(u,f){var v=k(f.value),C=k(f.defaultValue);v!=null&&(v=""+v,v!==u.value&&(u.value=v),f.defaultValue==null&&u.defaultValue!==v&&(u.defaultValue=v)),C!=null&&(u.defaultValue=""+C)}function Ne(u){var f=u.textContent;f===u._wrapperState.initialValue&&f!==""&&f!==null&&(u.value=f)}function Be(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 _t(u,f){return u==null||u==="http://www.w3.org/1999/xhtml"?Be(f):u==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var Ut,Mt=(function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,v,C,$){MSApp.execUnsafeLocalFunction(function(){return u(f,v,C,$)})}: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 Qe(u,f){if(f){var v=u.firstChild;if(v&&v===u.lastChild&&v.nodeType===3){v.nodeValue=f;return}}u.textContent=f}var bt={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},mt=["Webkit","ms","Moz","O"];Object.keys(bt).forEach(function(u){mt.forEach(function(f){f=f+u.charAt(0).toUpperCase()+u.substring(1),bt[f]=bt[u]})});function St(u,f,v){return f==null||typeof f=="boolean"||f===""?"":v||typeof f!="number"||f===0||bt.hasOwnProperty(u)&&bt[u]?(""+f).trim():f+"px"}function yt(u,f){u=u.style;for(var v in f)if(f.hasOwnProperty(v)){var C=v.indexOf("--")===0,$=St(v,f[v],C);v==="float"&&(v="cssFloat"),C?u.setProperty(v,$):u[v]=$}}var at=N({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 Ft(u,f){if(f){if(at[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 At(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 Re=null;function Je(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var ut=null,Ct=null,kt=null;function rr(u){if(u=Ah(u)){if(typeof ut!="function")throw Error(r(280));var f=u.stateNode;f&&(f=Dv(f),ut(u.stateNode,u.type,f))}}function Sr(u){Ct?kt?kt.push(u):kt=[u]:Ct=u}function ur(){if(Ct){var u=Ct,f=kt;if(kt=Ct=null,rr(u),f)for(u=0;u<f.length;u++)rr(f[u])}}function mr(u,f){return u(f)}function Lr(){}var un=!1;function ui(u,f,v){if(un)return u(f,v);un=!0;try{return mr(u,f,v)}finally{un=!1,(Ct!==null||kt!==null)&&(Lr(),ur())}}function Pn(u,f){var v=u.stateNode;if(v===null)return null;var C=Dv(v);if(C===null)return null;v=C[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":(C=!C.disabled)||(u=u.type,C=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!C;break e;default:u=!1}if(u)return null;if(v&&typeof v!="function")throw Error(r(231,f,typeof v));return v}var wn=!1;if(l)try{var _n={};Object.defineProperty(_n,"passive",{get:function(){wn=!0}}),window.addEventListener("test",_n,_n),window.removeEventListener("test",_n,_n)}catch{wn=!1}function Kn(u,f,v,C,$,Z,ye,ke,ze){var gt=Array.prototype.slice.call(arguments,3);try{f.apply(v,gt)}catch(qt){this.onError(qt)}}var Yn=!1,Ei=null,di=!1,$i=null,Vi={onError:function(u){Yn=!0,Ei=u}};function kn(u,f,v,C,$,Z,ye,ke,ze){Yn=!1,Ei=null,Kn.apply(Vi,arguments)}function ri(u,f,v,C,$,Z,ye,ke,ze){if(kn.apply(this,arguments),Yn){if(Yn){var gt=Ei;Yn=!1,Ei=null}else throw Error(r(198));di||(di=!0,$i=gt)}}function xi(u){var f=u,v=u;if(u.alternate)for(;f.return;)f=f.return;else{u=f;do f=u,(f.flags&4098)!==0&&(v=f.return),u=f.return;while(u)}return f.tag===3?v:null}function wi(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 it(u){if(xi(u)!==u)throw Error(r(188))}function jt(u){var f=u.alternate;if(!f){if(f=xi(u),f===null)throw Error(r(188));return f!==u?null:u}for(var v=u,C=f;;){var $=v.return;if($===null)break;var Z=$.alternate;if(Z===null){if(C=$.return,C!==null){v=C;continue}break}if($.child===Z.child){for(Z=$.child;Z;){if(Z===v)return it($),u;if(Z===C)return it($),f;Z=Z.sibling}throw Error(r(188))}if(v.return!==C.return)v=$,C=Z;else{for(var ye=!1,ke=$.child;ke;){if(ke===v){ye=!0,v=$,C=Z;break}if(ke===C){ye=!0,C=$,v=Z;break}ke=ke.sibling}if(!ye){for(ke=Z.child;ke;){if(ke===v){ye=!0,v=Z,C=$;break}if(ke===C){ye=!0,C=Z,v=$;break}ke=ke.sibling}if(!ye)throw Error(r(189))}}if(v.alternate!==C)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?u:f}function vt(u){return u=jt(u),u!==null?Ye(u):null}function Ye(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var f=Ye(u);if(f!==null)return f;u=u.sibling}return null}var xt=t.unstable_scheduleCallback,gr=t.unstable_cancelCallback,we=t.unstable_shouldYield,ct=t.unstable_requestPaint,nt=t.unstable_now,ft=t.unstable_getCurrentPriorityLevel,Lt=t.unstable_ImmediatePriority,dt=t.unstable_UserBlockingPriority,Gt=t.unstable_NormalPriority,Nr=t.unstable_LowPriority,Jr=t.unstable_IdlePriority,en=null,fn=null;function $t(u){if(fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(en,u,void 0,(u.current.flags&128)===128)}catch{}}var Yr=Math.clz32?Math.clz32:ua,Hi=Math.log,ni=Math.LN2;function ua(u){return u>>>=0,u===0?32:31-(Hi(u)/ni|0)|0}var Fi=64,ya=4194304;function Wa(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 ka(u,f){var v=u.pendingLanes;if(v===0)return 0;var C=0,$=u.suspendedLanes,Z=u.pingedLanes,ye=v&268435455;if(ye!==0){var ke=ye&~$;ke!==0?C=Wa(ke):(Z&=ye,Z!==0&&(C=Wa(Z)))}else ye=v&~$,ye!==0?C=Wa(ye):Z!==0&&(C=Wa(Z));if(C===0)return 0;if(f!==0&&f!==C&&(f&$)===0&&($=C&-C,Z=f&-f,$>=Z||$===16&&(Z&4194240)!==0))return f;if((C&4)!==0&&(C|=v&16),f=u.entangledLanes,f!==0)for(u=u.entanglements,f&=C;0<f;)v=31-Yr(f),$=1<<v,C|=u[v],f&=~$;return C}function W(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 v=u.suspendedLanes,C=u.pingedLanes,$=u.expirationTimes,Z=u.pendingLanes;0<Z;){var ye=31-Yr(Z),ke=1<<ye,ze=$[ye];ze===-1?((ke&v)===0||(ke&C)!==0)&&($[ye]=W(ke,f)):ze<=f&&(u.expiredLanes|=ke),Z&=~ke}}function Ce(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function qe(){var u=Fi;return Fi<<=1,(Fi&4194240)===0&&(Fi=64),u}function ht(u){for(var f=[],v=0;31>v;v++)f.push(u);return f}function rt(u,f,v){u.pendingLanes|=f,f!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,f=31-Yr(f),u[f]=v}function Ot(u,f){var v=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 C=u.eventTimes;for(u=u.expirationTimes;0<v;){var $=31-Yr(v),Z=1<<$;f[$]=0,C[$]=-1,u[$]=-1,v&=~Z}}function zt(u,f){var v=u.entangledLanes|=f;for(u=u.entanglements;v;){var C=31-Yr(v),$=1<<C;$&f|u[C]&f&&(u[C]|=f),v&=~$}}var Zt=0;function Cr(u){return u&=-u,1<u?4<u?(u&268435455)!==0?16:536870912:4:1}var Pr,Mn,Oi,Ii,ls,Js=!1,cs=[],Ga=null,hi=null,Da=null,Ka=new Map,dn=new Map,la=[],Fo="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 jo(u,f){switch(u){case"focusin":case"focusout":Ga=null;break;case"dragenter":case"dragleave":hi=null;break;case"mouseover":case"mouseout":Da=null;break;case"pointerover":case"pointerout":Ka.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":dn.delete(f.pointerId)}}function Ki(u,f,v,C,$,Z){return u===null||u.nativeEvent!==Z?(u={blockedOn:f,domEventName:v,eventSystemFlags:C,nativeEvent:Z,targetContainers:[$]},f!==null&&(f=Ah(f),f!==null&&Mn(f)),u):(u.eventSystemFlags|=C,f=u.targetContainers,$!==null&&f.indexOf($)===-1&&f.push($),u)}function Ls(u,f,v,C,$){switch(f){case"focusin":return Ga=Ki(Ga,u,f,v,C,$),!0;case"dragenter":return hi=Ki(hi,u,f,v,C,$),!0;case"mouseover":return Da=Ki(Da,u,f,v,C,$),!0;case"pointerover":var Z=$.pointerId;return Ka.set(Z,Ki(Ka.get(Z)||null,u,f,v,C,$)),!0;case"gotpointercapture":return Z=$.pointerId,dn.set(Z,Ki(dn.get(Z)||null,u,f,v,C,$)),!0}return!1}function Ya(u){var f=cc(u.target);if(f!==null){var v=xi(f);if(v!==null){if(f=v.tag,f===13){if(f=wi(v),f!==null){u.blockedOn=f,ls(u.priority,function(){Oi(v)});return}}else if(f===3&&v.stateNode.current.memoizedState.isDehydrated){u.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}u.blockedOn=null}function fs(u){if(u.blockedOn!==null)return!1;for(var f=u.targetContainers;0<f.length;){var v=Ms(u.domEventName,u.eventSystemFlags,f[0],u.nativeEvent);if(v===null){v=u.nativeEvent;var C=new v.constructor(v.type,v);Re=C,v.target.dispatchEvent(C),Re=null}else return f=Ah(v),f!==null&&Mn(f),u.blockedOn=v,!1;f.shift()}return!0}function Ns(u,f,v){fs(u)&&v.delete(f)}function Cu(){Js=!1,Ga!==null&&fs(Ga)&&(Ga=null),hi!==null&&fs(hi)&&(hi=null),Da!==null&&fs(Da)&&(Da=null),Ka.forEach(Ns),dn.forEach(Ns)}function Xa(u,f){u.blockedOn===f&&(u.blockedOn=null,Js||(Js=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Cu)))}function uo(u){function f($){return Xa($,u)}if(0<cs.length){Xa(cs[0],u);for(var v=1;v<cs.length;v++){var C=cs[v];C.blockedOn===u&&(C.blockedOn=null)}}for(Ga!==null&&Xa(Ga,u),hi!==null&&Xa(hi,u),Da!==null&&Xa(Da,u),Ka.forEach(f),dn.forEach(f),v=0;v<la.length;v++)C=la[v],C.blockedOn===u&&(C.blockedOn=null);for(;0<la.length&&(v=la[0],v.blockedOn===null);)Ya(v),v.blockedOn===null&&la.shift()}var ji=T.ReactCurrentBatchConfig,ca=!0;function Tu(u,f,v,C){var $=Zt,Z=ji.transition;ji.transition=null;try{Zt=1,qo(u,f,v,C)}finally{Zt=$,ji.transition=Z}}function Uo(u,f,v,C){var $=Zt,Z=ji.transition;ji.transition=null;try{Zt=4,qo(u,f,v,C)}finally{Zt=$,ji.transition=Z}}function qo(u,f,v,C){if(ca){var $=Ms(u,f,v,C);if($===null)H1(u,f,C,fa,v),jo(u,C);else if(Ls($,u,f,v,C))C.stopPropagation();else if(jo(u,C),f&4&&-1<Fo.indexOf(u)){for(;$!==null;){var Z=Ah($);if(Z!==null&&Pr(Z),Z=Ms(u,f,v,C),Z===null&&H1(u,f,C,fa,v),Z===$)break;$=Z}$!==null&&C.stopPropagation()}else H1(u,f,C,null,v)}}var fa=null;function Ms(u,f,v,C){if(fa=null,u=Je(C),u=cc(u),u!==null)if(f=xi(u),f===null)u=null;else if(v=f.tag,v===13){if(u=wi(f),u!==null)return u;u=null}else if(v===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;u=null}else f!==u&&(u=null);return fa=u,null}function Au(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(ft()){case Lt:return 1;case dt:return 4;case Gt:case Nr:return 16;case Jr:return 536870912;default:return 16}default:return 16}}var Pi=null,da=null,lo=null;function Vo(){if(lo)return lo;var u,f=da,v=f.length,C,$="value"in Pi?Pi.value:Pi.textContent,Z=$.length;for(u=0;u<v&&f[u]===$[u];u++);var ye=v-u;for(C=1;C<=ye&&f[v-C]===$[Z-C];C++);return lo=$.slice(u,1<C?1-C:void 0)}function co(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 fo(){return!0}function S(){return!1}function R(u){function f(v,C,$,Z,ye){this._reactName=v,this._targetInst=$,this.type=C,this.nativeEvent=Z,this.target=ye,this.currentTarget=null;for(var ke in u)u.hasOwnProperty(ke)&&(v=u[ke],this[ke]=v?v(Z):Z[ke]);return this.isDefaultPrevented=(Z.defaultPrevented!=null?Z.defaultPrevented:Z.returnValue===!1)?fo:S,this.isPropagationStopped=S,this}return N(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),f}var M={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Y=R(M),ae=N({},M,{view:0,detail:0}),le=R(ae),he,Ue,Le,Ge=N({},ae,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:It,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!==Le&&(Le&&u.type==="mousemove"?(he=u.screenX-Le.screenX,Ue=u.screenY-Le.screenY):Ue=he=0,Le=u),he)},movementY:function(u){return"movementY"in u?u.movementY:Ue}}),wt=R(Ge),Rt=N({},Ge,{dataTransfer:0}),st=R(Rt),Vt=N({},ae,{relatedTarget:0}),Rr=R(Vt),tn=N({},M,{animationName:0,elapsedTime:0,pseudoElement:0}),Vr=R(tn),Xn=N({},M,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),li=R(Xn),G=N({},M,{data:0}),oe=R(G),ve={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$e={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"},Ze={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function et(u){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(u):(u=Ze[u])?!!f[u]:!1}function It(){return et}var Wt=N({},ae,{key:function(u){if(u.key){var f=ve[u.key]||u.key;if(f!=="Unidentified")return f}return u.type==="keypress"?(u=co(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?$e[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:It,charCode:function(u){return u.type==="keypress"?co(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?co(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),yr=R(Wt),Hr=N({},Ge,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xr=R(Hr),Dn=N({},ae,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:It}),ii=R(Dn),$n=N({},M,{propertyName:0,elapsedTime:0,pseudoElement:0}),uc=R($n),Qa=N({},Ge,{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=R(Qa),pe=[9,13,27,32],Pe=l&&"CompositionEvent"in window,Fe=null;l&&"documentMode"in document&&(Fe=document.documentMode);var He=l&&"TextEvent"in window&&!Fe,Ke=l&&(!Pe||Fe&&8<Fe&&11>=Fe),Tt=" ",Yt=!1;function Br(u,f){switch(u){case"keyup":return pe.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fr(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Qn=!1;function pi(u,f){switch(u){case"compositionend":return Fr(f);case"keypress":return f.which!==32?null:(Yt=!0,Tt);case"textInput":return u=f.data,u===Tt&&Yt?null:u;default:return null}}function dl(u,f){if(Qn)return u==="compositionend"||!Pe&&Br(u,f)?(u=Vo(),lo=da=Pi=null,Qn=!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 Ho={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 yh(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f==="input"?!!Ho[u.type]:f==="textarea"}function hl(u,f,v,C){Sr(C),f=Iv(f,"onChange"),0<f.length&&(v=new Y("onChange","change",null,v,C),u.push({event:v,listeners:f}))}var eu=null,tu=null;function _h(u){Tk(u,0)}function Df(u){var f=Uf(u);if(q(f))return u}function Lf(u,f){if(u==="change")return f}var Nf=!1;if(l){var lc;if(l){var Sh="oninput"in document;if(!Sh){var Mf=document.createElement("div");Mf.setAttribute("oninput","return;"),Sh=typeof Mf.oninput=="function"}lc=Sh}else lc=!1;Nf=lc&&(!document.documentMode||9<document.documentMode)}function Eh(){eu&&(eu.detachEvent("onpropertychange",xe),tu=eu=null)}function xe(u){if(u.propertyName==="value"&&Df(tu)){var f=[];hl(f,tu,u,Je(u)),ui(_h,f)}}function We(u,f,v){u==="focusin"?(Eh(),eu=f,tu=v,eu.attachEvent("onpropertychange",xe)):u==="focusout"&&Eh()}function lt(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return Df(tu)}function Et(u,f){if(u==="click")return Df(f)}function Dt(u,f){if(u==="input"||u==="change")return Df(f)}function Jt(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var tr=typeof Object.is=="function"?Object.is:Jt;function cr(u,f){if(tr(u,f))return!0;if(typeof u!="object"||u===null||typeof f!="object"||f===null)return!1;var v=Object.keys(u),C=Object.keys(f);if(v.length!==C.length)return!1;for(C=0;C<v.length;C++){var $=v[C];if(!s.call(f,$)||!tr(u[$],f[$]))return!1}return!0}function or(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function on(u,f){var v=or(u);u=0;for(var C;v;){if(v.nodeType===3){if(C=u+v.textContent.length,u<=f&&C>=f)return{node:v,offset:f-u};u=C}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=or(v)}}function jr(u,f){return u&&f?u===f?!0:u&&u.nodeType===3?!1:f&&f.nodeType===3?jr(u,f.parentNode):"contains"in u?u.contains(f):u.compareDocumentPosition?!!(u.compareDocumentPosition(f)&16):!1:!1}function zr(){for(var u=window,f=J();f instanceof u.HTMLIFrameElement;){try{var v=typeof f.contentWindow.location.href=="string"}catch{v=!1}if(v)u=f.contentWindow;else break;f=J(u.document)}return f}function nn(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 Or(u){var f=zr(),v=u.focusedElem,C=u.selectionRange;if(f!==v&&v&&v.ownerDocument&&jr(v.ownerDocument.documentElement,v)){if(C!==null&&nn(v)){if(f=C.start,u=C.end,u===void 0&&(u=f),"selectionStart"in v)v.selectionStart=f,v.selectionEnd=Math.min(u,v.value.length);else if(u=(f=v.ownerDocument||document)&&f.defaultView||window,u.getSelection){u=u.getSelection();var $=v.textContent.length,Z=Math.min(C.start,$);C=C.end===void 0?Z:Math.min(C.end,$),!u.extend&&Z>C&&($=C,C=Z,Z=$),$=on(v,Z);var ye=on(v,C);$&&ye&&(u.rangeCount!==1||u.anchorNode!==$.node||u.anchorOffset!==$.offset||u.focusNode!==ye.node||u.focusOffset!==ye.offset)&&(f=f.createRange(),f.setStart($.node,$.offset),u.removeAllRanges(),Z>C?(u.addRange(f),u.extend(ye.node,ye.offset)):(f.setEnd(ye.node,ye.offset),u.addRange(f)))}}for(f=[],u=v;u=u.parentNode;)u.nodeType===1&&f.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<f.length;v++)u=f[v],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var Zn=l&&"documentMode"in document&&11>=document.documentMode,Bi=null,Yi=null,ha=null,ho=!1;function Ru(u,f,v){var C=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;ho||Bi==null||Bi!==J(C)||(C=Bi,"selectionStart"in C&&nn(C)?C={start:C.selectionStart,end:C.selectionEnd}:(C=(C.ownerDocument&&C.ownerDocument.defaultView||window).getSelection(),C={anchorNode:C.anchorNode,anchorOffset:C.anchorOffset,focusNode:C.focusNode,focusOffset:C.focusOffset}),ha&&cr(ha,C)||(ha=C,C=Iv(Yi,"onSelect"),0<C.length&&(f=new Y("onSelect","select",null,f,v),u.push({event:f,listeners:C}),f.target=Bi)))}function Xi(u,f){var v={};return v[u.toLowerCase()]=f.toLowerCase(),v["Webkit"+u]="webkit"+f,v["Moz"+u]="moz"+f,v}var $f={animationend:Xi("Animation","AnimationEnd"),animationiteration:Xi("Animation","AnimationIteration"),animationstart:Xi("Animation","AnimationStart"),transitionend:Xi("Transition","TransitionEnd")},j1={},mk={};l&&(mk=document.createElement("div").style,"AnimationEvent"in window||(delete $f.animationend.animation,delete $f.animationiteration.animation,delete $f.animationstart.animation),"TransitionEvent"in window||delete $f.transitionend.transition);function xv(u){if(j1[u])return j1[u];if(!$f[u])return u;var f=$f[u],v;for(v in f)if(f.hasOwnProperty(v)&&v in mk)return j1[u]=f[v];return u}var yk=xv("animationend"),_k=xv("animationiteration"),Sk=xv("animationstart"),Ek=xv("transitionend"),wk=new Map,bk="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 pl(u,f){wk.set(u,f),a(f,[u])}for(var U1=0;U1<bk.length;U1++){var q1=bk[U1],lse=q1.toLowerCase(),cse=q1[0].toUpperCase()+q1.slice(1);pl(lse,"on"+cse)}pl(yk,"onAnimationEnd"),pl(_k,"onAnimationIteration"),pl(Sk,"onAnimationStart"),pl("dblclick","onDoubleClick"),pl("focusin","onFocus"),pl("focusout","onBlur"),pl(Ek,"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 wh="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(" "),fse=new Set("cancel close invalid load scroll toggle".split(" ").concat(wh));function Ck(u,f,v){var C=u.type||"unknown-event";u.currentTarget=v,ri(C,f,void 0,u),u.currentTarget=null}function Tk(u,f){f=(f&4)!==0;for(var v=0;v<u.length;v++){var C=u[v],$=C.event;C=C.listeners;e:{var Z=void 0;if(f)for(var ye=C.length-1;0<=ye;ye--){var ke=C[ye],ze=ke.instance,gt=ke.currentTarget;if(ke=ke.listener,ze!==Z&&$.isPropagationStopped())break e;Ck($,ke,gt),Z=ze}else for(ye=0;ye<C.length;ye++){if(ke=C[ye],ze=ke.instance,gt=ke.currentTarget,ke=ke.listener,ze!==Z&&$.isPropagationStopped())break e;Ck($,ke,gt),Z=ze}}}if(di)throw u=$i,di=!1,$i=null,u}function vi(u,f){var v=f[Y1];v===void 0&&(v=f[Y1]=new Set);var C=u+"__bubble";v.has(C)||(Ak(f,u,2,!1),v.add(C))}function V1(u,f,v){var C=0;f&&(C|=4),Ak(v,u,C,f)}var Ov="_reactListening"+Math.random().toString(36).slice(2);function bh(u){if(!u[Ov]){u[Ov]=!0,n.forEach(function(v){v!=="selectionchange"&&(fse.has(v)||V1(v,!1,u),V1(v,!0,u))});var f=u.nodeType===9?u:u.ownerDocument;f===null||f[Ov]||(f[Ov]=!0,V1("selectionchange",!1,f))}}function Ak(u,f,v,C){switch(Au(f)){case 1:var $=Tu;break;case 4:$=Uo;break;default:$=qo}v=$.bind(null,f,v,u),$=void 0,!wn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||($=!0),C?$!==void 0?u.addEventListener(f,v,{capture:!0,passive:$}):u.addEventListener(f,v,!0):$!==void 0?u.addEventListener(f,v,{passive:$}):u.addEventListener(f,v,!1)}function H1(u,f,v,C,$){var Z=C;if((f&1)===0&&(f&2)===0&&C!==null)e:for(;;){if(C===null)return;var ye=C.tag;if(ye===3||ye===4){var ke=C.stateNode.containerInfo;if(ke===$||ke.nodeType===8&&ke.parentNode===$)break;if(ye===4)for(ye=C.return;ye!==null;){var ze=ye.tag;if((ze===3||ze===4)&&(ze=ye.stateNode.containerInfo,ze===$||ze.nodeType===8&&ze.parentNode===$))return;ye=ye.return}for(;ke!==null;){if(ye=cc(ke),ye===null)return;if(ze=ye.tag,ze===5||ze===6){C=Z=ye;continue e}ke=ke.parentNode}}C=C.return}ui(function(){var gt=Z,qt=Je(v),ar=[];e:{var Nt=wk.get(u);if(Nt!==void 0){var lr=Y,nr=u;switch(u){case"keypress":if(co(v)===0)break e;case"keydown":case"keyup":lr=yr;break;case"focusin":nr="focus",lr=Rr;break;case"focusout":nr="blur",lr=Rr;break;case"beforeblur":case"afterblur":lr=Rr;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":lr=wt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":lr=st;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":lr=ii;break;case yk:case _k:case Sk:lr=Vr;break;case Ek:lr=uc;break;case"scroll":lr=le;break;case"wheel":lr=ie;break;case"copy":case"cut":case"paste":lr=li;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":lr=xr}var Qr=(f&4)!==0,zi=!Qr&&u==="scroll",ot=Qr?Nt!==null?Nt+"Capture":null:Nt;Qr=[];for(var Xe=gt,pt;Xe!==null;){pt=Xe;var Qt=pt.stateNode;if(pt.tag===5&&Qt!==null&&(pt=Qt,ot!==null&&(Qt=Pn(Xe,ot),Qt!=null&&Qr.push(Ch(Xe,Qt,pt)))),zi)break;Xe=Xe.return}0<Qr.length&&(Nt=new lr(Nt,nr,null,v,qt),ar.push({event:Nt,listeners:Qr}))}}if((f&7)===0){e:{if(Nt=u==="mouseover"||u==="pointerover",lr=u==="mouseout"||u==="pointerout",Nt&&v!==Re&&(nr=v.relatedTarget||v.fromElement)&&(cc(nr)||nr[Ou]))break e;if((lr||Nt)&&(Nt=qt.window===qt?qt:(Nt=qt.ownerDocument)?Nt.defaultView||Nt.parentWindow:window,lr?(nr=v.relatedTarget||v.toElement,lr=gt,nr=nr?cc(nr):null,nr!==null&&(zi=xi(nr),nr!==zi||nr.tag!==5&&nr.tag!==6)&&(nr=null)):(lr=null,nr=gt),lr!==nr)){if(Qr=wt,Qt="onMouseLeave",ot="onMouseEnter",Xe="mouse",(u==="pointerout"||u==="pointerover")&&(Qr=xr,Qt="onPointerLeave",ot="onPointerEnter",Xe="pointer"),zi=lr==null?Nt:Uf(lr),pt=nr==null?Nt:Uf(nr),Nt=new Qr(Qt,Xe+"leave",lr,v,qt),Nt.target=zi,Nt.relatedTarget=pt,Qt=null,cc(qt)===gt&&(Qr=new Qr(ot,Xe+"enter",nr,v,qt),Qr.target=pt,Qr.relatedTarget=zi,Qt=Qr),zi=Qt,lr&&nr)t:{for(Qr=lr,ot=nr,Xe=0,pt=Qr;pt;pt=Ff(pt))Xe++;for(pt=0,Qt=ot;Qt;Qt=Ff(Qt))pt++;for(;0<Xe-pt;)Qr=Ff(Qr),Xe--;for(;0<pt-Xe;)ot=Ff(ot),pt--;for(;Xe--;){if(Qr===ot||ot!==null&&Qr===ot.alternate)break t;Qr=Ff(Qr),ot=Ff(ot)}Qr=null}else Qr=null;lr!==null&&Rk(ar,Nt,lr,Qr,!1),nr!==null&&zi!==null&&Rk(ar,zi,nr,Qr,!0)}}e:{if(Nt=gt?Uf(gt):window,lr=Nt.nodeName&&Nt.nodeName.toLowerCase(),lr==="select"||lr==="input"&&Nt.type==="file")var hr=Lf;else if(yh(Nt))if(Nf)hr=Dt;else{hr=lt;var Mr=We}else(lr=Nt.nodeName)&&lr.toLowerCase()==="input"&&(Nt.type==="checkbox"||Nt.type==="radio")&&(hr=Et);if(hr&&(hr=hr(u,gt))){hl(ar,hr,v,qt);break e}Mr&&Mr(u,Nt,gt),u==="focusout"&&(Mr=Nt._wrapperState)&&Mr.controlled&&Nt.type==="number"&&Me(Nt,"number",Nt.value)}switch(Mr=gt?Uf(gt):window,u){case"focusin":(yh(Mr)||Mr.contentEditable==="true")&&(Bi=Mr,Yi=gt,ha=null);break;case"focusout":ha=Yi=Bi=null;break;case"mousedown":ho=!0;break;case"contextmenu":case"mouseup":case"dragend":ho=!1,Ru(ar,v,qt);break;case"selectionchange":if(Zn)break;case"keydown":case"keyup":Ru(ar,v,qt)}var $r;if(Pe)e:{switch(u){case"compositionstart":var Wr="onCompositionStart";break e;case"compositionend":Wr="onCompositionEnd";break e;case"compositionupdate":Wr="onCompositionUpdate";break e}Wr=void 0}else Qn?Br(u,v)&&(Wr="onCompositionEnd"):u==="keydown"&&v.keyCode===229&&(Wr="onCompositionStart");Wr&&(Ke&&v.locale!=="ko"&&(Qn||Wr!=="onCompositionStart"?Wr==="onCompositionEnd"&&Qn&&($r=Vo()):(Pi=qt,da="value"in Pi?Pi.value:Pi.textContent,Qn=!0)),Mr=Iv(gt,Wr),0<Mr.length&&(Wr=new oe(Wr,u,null,v,qt),ar.push({event:Wr,listeners:Mr}),$r?Wr.data=$r:($r=Fr(v),$r!==null&&(Wr.data=$r)))),($r=He?pi(u,v):dl(u,v))&&(gt=Iv(gt,"onBeforeInput"),0<gt.length&&(qt=new oe("onBeforeInput","beforeinput",null,v,qt),ar.push({event:qt,listeners:gt}),qt.data=$r))}Tk(ar,f)})}function Ch(u,f,v){return{instance:u,listener:f,currentTarget:v}}function Iv(u,f){for(var v=f+"Capture",C=[];u!==null;){var $=u,Z=$.stateNode;$.tag===5&&Z!==null&&($=Z,Z=Pn(u,v),Z!=null&&C.unshift(Ch(u,Z,$)),Z=Pn(u,f),Z!=null&&C.push(Ch(u,Z,$))),u=u.return}return C}function Ff(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function Rk(u,f,v,C,$){for(var Z=f._reactName,ye=[];v!==null&&v!==C;){var ke=v,ze=ke.alternate,gt=ke.stateNode;if(ze!==null&&ze===C)break;ke.tag===5&&gt!==null&&(ke=gt,$?(ze=Pn(v,Z),ze!=null&&ye.unshift(Ch(v,ze,ke))):$||(ze=Pn(v,Z),ze!=null&&ye.push(Ch(v,ze,ke)))),v=v.return}ye.length!==0&&u.push({event:f,listeners:ye})}var dse=/\r\n?/g,hse=/\u0000|\uFFFD/g;function xk(u){return(typeof u=="string"?u:""+u).replace(dse,`
109
+ `).replace(hse,"")}function Pv(u,f,v){if(f=xk(f),xk(u)!==f&&v)throw Error(r(425))}function kv(){}var B1=null,z1=null;function W1(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 G1=typeof setTimeout=="function"?setTimeout:void 0,pse=typeof clearTimeout=="function"?clearTimeout:void 0,Ok=typeof Promise=="function"?Promise:void 0,vse=typeof queueMicrotask=="function"?queueMicrotask:typeof Ok<"u"?function(u){return Ok.resolve(null).then(u).catch(gse)}:G1;function gse(u){setTimeout(function(){throw u})}function K1(u,f){var v=f,C=0;do{var $=v.nextSibling;if(u.removeChild(v),$&&$.nodeType===8)if(v=$.data,v==="/$"){if(C===0){u.removeChild($),uo(f);return}C--}else v!=="$"&&v!=="$?"&&v!=="$!"||C++;v=$}while(v);uo(f)}function xu(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 Ik(u){u=u.previousSibling;for(var f=0;u;){if(u.nodeType===8){var v=u.data;if(v==="$"||v==="$!"||v==="$?"){if(f===0)return u;f--}else v==="/$"&&f++}u=u.previousSibling}return null}var jf=Math.random().toString(36).slice(2),ru="__reactFiber$"+jf,Th="__reactProps$"+jf,Ou="__reactContainer$"+jf,Y1="__reactEvents$"+jf,mse="__reactListeners$"+jf,yse="__reactHandles$"+jf;function cc(u){var f=u[ru];if(f)return f;for(var v=u.parentNode;v;){if(f=v[Ou]||v[ru]){if(v=f.alternate,f.child!==null||v!==null&&v.child!==null)for(u=Ik(u);u!==null;){if(v=u[ru])return v;u=Ik(u)}return f}u=v,v=u.parentNode}return null}function Ah(u){return u=u[ru]||u[Ou],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function Uf(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(r(33))}function Dv(u){return u[Th]||null}var X1=[],qf=-1;function vl(u){return{current:u}}function gi(u){0>qf||(u.current=X1[qf],X1[qf]=null,qf--)}function ci(u,f){qf++,X1[qf]=u.current,u.current=f}var gl={},La=vl(gl),po=vl(!1),fc=gl;function Vf(u,f){var v=u.type.contextTypes;if(!v)return gl;var C=u.stateNode;if(C&&C.__reactInternalMemoizedUnmaskedChildContext===f)return C.__reactInternalMemoizedMaskedChildContext;var $={},Z;for(Z in v)$[Z]=f[Z];return C&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=f,u.__reactInternalMemoizedMaskedChildContext=$),$}function vo(u){return u=u.childContextTypes,u!=null}function Lv(){gi(po),gi(La)}function Pk(u,f,v){if(La.current!==gl)throw Error(r(168));ci(La,f),ci(po,v)}function kk(u,f,v){var C=u.stateNode;if(f=f.childContextTypes,typeof C.getChildContext!="function")return v;C=C.getChildContext();for(var $ in C)if(!($ in f))throw Error(r(108,z(u)||"Unknown",$));return N({},v,C)}function Nv(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||gl,fc=La.current,ci(La,u),ci(po,po.current),!0}function Dk(u,f,v){var C=u.stateNode;if(!C)throw Error(r(169));v?(u=kk(u,f,fc),C.__reactInternalMemoizedMergedChildContext=u,gi(po),gi(La),ci(La,u)):gi(po),ci(po,v)}var Iu=null,Mv=!1,Q1=!1;function Lk(u){Iu===null?Iu=[u]:Iu.push(u)}function _se(u){Mv=!0,Lk(u)}function ml(){if(!Q1&&Iu!==null){Q1=!0;var u=0,f=Zt;try{var v=Iu;for(Zt=1;u<v.length;u++){var C=v[u];do C=C(!0);while(C!==null)}Iu=null,Mv=!1}catch($){throw Iu!==null&&(Iu=Iu.slice(u+1)),xt(Lt,ml),$}finally{Zt=f,Q1=!1}}return null}var Sse=T.ReactCurrentBatchConfig;function $s(u,f){if(u&&u.defaultProps){f=N({},f),u=u.defaultProps;for(var v in u)f[v]===void 0&&(f[v]=u[v]);return f}return f}var $v=vl(null),Fv=null,Hf=null,Z1=null;function J1(){Z1=Hf=Fv=null}function e0(u){var f=$v.current;gi($v),u._currentValue=f}function t0(u,f,v){for(;u!==null;){var C=u.alternate;if((u.childLanes&f)!==f?(u.childLanes|=f,C!==null&&(C.childLanes|=f)):C!==null&&(C.childLanes&f)!==f&&(C.childLanes|=f),u===v)break;u=u.return}}function Bf(u,f){Fv=u,Z1=Hf=null,u=u.dependencies,u!==null&&u.firstContext!==null&&((u.lanes&f)!==0&&(mo=!0),u.firstContext=null)}function ds(u){var f=u._currentValue;if(Z1!==u)if(u={context:u,memoizedValue:f,next:null},Hf===null){if(Fv===null)throw Error(r(308));Hf=u,Fv.dependencies={lanes:0,firstContext:u}}else Hf=Hf.next=u;return f}var Fs=null,yl=!1;function r0(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nk(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 Pu(u,f){return{eventTime:u,lane:f,tag:0,payload:null,callback:null,next:null}}function _l(u,f){var v=u.updateQueue;v!==null&&(v=v.shared,X4(u)?(u=v.interleaved,u===null?(f.next=f,Fs===null?Fs=[v]:Fs.push(v)):(f.next=u.next,u.next=f),v.interleaved=f):(u=v.pending,u===null?f.next=f:(f.next=u.next,u.next=f),v.pending=f))}function jv(u,f,v){if(f=f.updateQueue,f!==null&&(f=f.shared,(v&4194240)!==0)){var C=f.lanes;C&=u.pendingLanes,v|=C,f.lanes=v,zt(u,v)}}function Mk(u,f){var v=u.updateQueue,C=u.alternate;if(C!==null&&(C=C.updateQueue,v===C)){var $=null,Z=null;if(v=v.firstBaseUpdate,v!==null){do{var ye={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};Z===null?$=Z=ye:Z=Z.next=ye,v=v.next}while(v!==null);Z===null?$=Z=f:Z=Z.next=f}else $=Z=f;v={baseState:C.baseState,firstBaseUpdate:$,lastBaseUpdate:Z,shared:C.shared,effects:C.effects},u.updateQueue=v;return}u=v.lastBaseUpdate,u===null?v.firstBaseUpdate=f:u.next=f,v.lastBaseUpdate=f}function Uv(u,f,v,C){var $=u.updateQueue;yl=!1;var Z=$.firstBaseUpdate,ye=$.lastBaseUpdate,ke=$.shared.pending;if(ke!==null){$.shared.pending=null;var ze=ke,gt=ze.next;ze.next=null,ye===null?Z=gt:ye.next=gt,ye=ze;var qt=u.alternate;qt!==null&&(qt=qt.updateQueue,ke=qt.lastBaseUpdate,ke!==ye&&(ke===null?qt.firstBaseUpdate=gt:ke.next=gt,qt.lastBaseUpdate=ze))}if(Z!==null){var ar=$.baseState;ye=0,qt=gt=ze=null,ke=Z;do{var Nt=ke.lane,lr=ke.eventTime;if((C&Nt)===Nt){qt!==null&&(qt=qt.next={eventTime:lr,lane:0,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null});e:{var nr=u,Qr=ke;switch(Nt=f,lr=v,Qr.tag){case 1:if(nr=Qr.payload,typeof nr=="function"){ar=nr.call(lr,ar,Nt);break e}ar=nr;break e;case 3:nr.flags=nr.flags&-65537|128;case 0:if(nr=Qr.payload,Nt=typeof nr=="function"?nr.call(lr,ar,Nt):nr,Nt==null)break e;ar=N({},ar,Nt);break e;case 2:yl=!0}}ke.callback!==null&&ke.lane!==0&&(u.flags|=64,Nt=$.effects,Nt===null?$.effects=[ke]:Nt.push(ke))}else lr={eventTime:lr,lane:Nt,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null},qt===null?(gt=qt=lr,ze=ar):qt=qt.next=lr,ye|=Nt;if(ke=ke.next,ke===null){if(ke=$.shared.pending,ke===null)break;Nt=ke,ke=Nt.next,Nt.next=null,$.lastBaseUpdate=Nt,$.shared.pending=null}}while(!0);if(qt===null&&(ze=ar),$.baseState=ze,$.firstBaseUpdate=gt,$.lastBaseUpdate=qt,f=$.shared.interleaved,f!==null){$=f;do ye|=$.lane,$=$.next;while($!==f)}else Z===null&&($.shared.lanes=0);gc|=ye,u.lanes=ye,u.memoizedState=ar}}function $k(u,f,v){if(u=f.effects,f.effects=null,u!==null)for(f=0;f<u.length;f++){var C=u[f],$=C.callback;if($!==null){if(C.callback=null,C=v,typeof $!="function")throw Error(r(191,$));$.call(C)}}}var Fk=new e.Component().refs;function n0(u,f,v,C){f=u.memoizedState,v=v(C,f),v=v==null?f:N({},f,v),u.memoizedState=v,u.lanes===0&&(u.updateQueue.baseState=v)}var qv={isMounted:function(u){return(u=u._reactInternals)?xi(u)===u:!1},enqueueSetState:function(u,f,v){u=u._reactInternals;var C=Ja(),$=bl(u),Z=Pu(C,$);Z.payload=f,v!=null&&(Z.callback=v),_l(u,Z),f=ms(u,$,C),f!==null&&jv(f,u,$)},enqueueReplaceState:function(u,f,v){u=u._reactInternals;var C=Ja(),$=bl(u),Z=Pu(C,$);Z.tag=1,Z.payload=f,v!=null&&(Z.callback=v),_l(u,Z),f=ms(u,$,C),f!==null&&jv(f,u,$)},enqueueForceUpdate:function(u,f){u=u._reactInternals;var v=Ja(),C=bl(u),$=Pu(v,C);$.tag=2,f!=null&&($.callback=f),_l(u,$),f=ms(u,C,v),f!==null&&jv(f,u,C)}};function jk(u,f,v,C,$,Z,ye){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(C,Z,ye):f.prototype&&f.prototype.isPureReactComponent?!cr(v,C)||!cr($,Z):!0}function Uk(u,f,v){var C=!1,$=gl,Z=f.contextType;return typeof Z=="object"&&Z!==null?Z=ds(Z):($=vo(f)?fc:La.current,C=f.contextTypes,Z=(C=C!=null)?Vf(u,$):gl),f=new f(v,Z),u.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=qv,u.stateNode=f,f._reactInternals=u,C&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=$,u.__reactInternalMemoizedMaskedChildContext=Z),f}function qk(u,f,v,C){u=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(v,C),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(v,C),f.state!==u&&qv.enqueueReplaceState(f,f.state,null)}function i0(u,f,v,C){var $=u.stateNode;$.props=v,$.state=u.memoizedState,$.refs=Fk,r0(u);var Z=f.contextType;typeof Z=="object"&&Z!==null?$.context=ds(Z):(Z=vo(f)?fc:La.current,$.context=Vf(u,Z)),$.state=u.memoizedState,Z=f.getDerivedStateFromProps,typeof Z=="function"&&(n0(u,f,Z,v),$.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof $.getSnapshotBeforeUpdate=="function"||typeof $.UNSAFE_componentWillMount!="function"&&typeof $.componentWillMount!="function"||(f=$.state,typeof $.componentWillMount=="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount=="function"&&$.UNSAFE_componentWillMount(),f!==$.state&&qv.enqueueReplaceState($,$.state,null),Uv(u,v,$,C),$.state=u.memoizedState),typeof $.componentDidMount=="function"&&(u.flags|=4194308)}var zf=[],Wf=0,Vv=null,Hv=0,hs=[],ps=0,dc=null,ku=1,Du="";function hc(u,f){zf[Wf++]=Hv,zf[Wf++]=Vv,Vv=u,Hv=f}function Vk(u,f,v){hs[ps++]=ku,hs[ps++]=Du,hs[ps++]=dc,dc=u;var C=ku;u=Du;var $=32-Yr(C)-1;C&=~(1<<$),v+=1;var Z=32-Yr(f)+$;if(30<Z){var ye=$-$%5;Z=(C&(1<<ye)-1).toString(32),C>>=ye,$-=ye,ku=1<<32-Yr(f)+$|v<<$|C,Du=Z+u}else ku=1<<Z|v<<$|C,Du=u}function a0(u){u.return!==null&&(hc(u,1),Vk(u,1,0))}function o0(u){for(;u===Vv;)Vv=zf[--Wf],zf[Wf]=null,Hv=zf[--Wf],zf[Wf]=null;for(;u===dc;)dc=hs[--ps],hs[ps]=null,Du=hs[--ps],hs[ps]=null,ku=hs[--ps],hs[ps]=null}var Bo=null,go=null,bi=!1,js=null;function Hk(u,f){var v=ys(5,null,null,0);v.elementType="DELETED",v.stateNode=f,v.return=u,f=u.deletions,f===null?(u.deletions=[v],u.flags|=16):f.push(v)}function Bk(u,f){switch(u.tag){case 5:var v=u.type;return f=f.nodeType!==1||v.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(u.stateNode=f,Bo=u,go=xu(f.firstChild),!0):!1;case 6:return f=u.pendingProps===""||f.nodeType!==3?null:f,f!==null?(u.stateNode=f,Bo=u,go=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(v=dc!==null?{id:ku,overflow:Du}:null,u.memoizedState={dehydrated:f,treeContext:v,retryLane:1073741824},v=ys(18,null,null,0),v.stateNode=f,v.return=u,u.child=v,Bo=u,go=null,!0):!1;default:return!1}}function s0(u){return(u.mode&1)!==0&&(u.flags&128)===0}function u0(u){if(bi){var f=go;if(f){var v=f;if(!Bk(u,f)){if(s0(u))throw Error(r(418));f=xu(v.nextSibling);var C=Bo;f&&Bk(u,f)?Hk(C,v):(u.flags=u.flags&-4097|2,bi=!1,Bo=u)}}else{if(s0(u))throw Error(r(418));u.flags=u.flags&-4097|2,bi=!1,Bo=u}}}function zk(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;Bo=u}function Rh(u){if(u!==Bo)return!1;if(!bi)return zk(u),bi=!0,!1;var f;if((f=u.tag!==3)&&!(f=u.tag!==5)&&(f=u.type,f=f!=="head"&&f!=="body"&&!W1(u.type,u.memoizedProps)),f&&(f=go)){if(s0(u)){for(u=go;u;)u=xu(u.nextSibling);throw Error(r(418))}for(;f;)Hk(u,f),f=xu(f.nextSibling)}if(zk(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 v=u.data;if(v==="/$"){if(f===0){go=xu(u.nextSibling);break e}f--}else v!=="$"&&v!=="$!"&&v!=="$?"||f++}u=u.nextSibling}go=null}}else go=Bo?xu(u.stateNode.nextSibling):null;return!0}function Gf(){go=Bo=null,bi=!1}function l0(u){js===null?js=[u]:js.push(u)}function xh(u,f,v){if(u=v.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var C=v.stateNode}if(!C)throw Error(r(147,u));var $=C,Z=""+u;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===Z?f.ref:(f=function(ye){var ke=$.refs;ke===Fk&&(ke=$.refs={}),ye===null?delete ke[Z]:ke[Z]=ye},f._stringRef=Z,f)}if(typeof u!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,u))}return u}function Bv(u,f){throw u=Object.prototype.toString.call(f),Error(r(31,u==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":u))}function Wk(u){var f=u._init;return f(u._payload)}function Gk(u){function f(ot,Xe){if(u){var pt=ot.deletions;pt===null?(ot.deletions=[Xe],ot.flags|=16):pt.push(Xe)}}function v(ot,Xe){if(!u)return null;for(;Xe!==null;)f(ot,Xe),Xe=Xe.sibling;return null}function C(ot,Xe){for(ot=new Map;Xe!==null;)Xe.key!==null?ot.set(Xe.key,Xe):ot.set(Xe.index,Xe),Xe=Xe.sibling;return ot}function $(ot,Xe){return ot=Tl(ot,Xe),ot.index=0,ot.sibling=null,ot}function Z(ot,Xe,pt){return ot.index=pt,u?(pt=ot.alternate,pt!==null?(pt=pt.index,pt<Xe?(ot.flags|=2,Xe):pt):(ot.flags|=2,Xe)):(ot.flags|=1048576,Xe)}function ye(ot){return u&&ot.alternate===null&&(ot.flags|=2),ot}function ke(ot,Xe,pt,Qt){return Xe===null||Xe.tag!==6?(Xe=B0(pt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=$(Xe,pt),Xe.return=ot,Xe)}function ze(ot,Xe,pt,Qt){var hr=pt.type;return hr===y?qt(ot,Xe,pt.props.children,Qt,pt.key):Xe!==null&&(Xe.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===te&&Wk(hr)===Xe.type)?(Qt=$(Xe,pt.props),Qt.ref=xh(ot,Xe,pt),Qt.return=ot,Qt):(Qt=fg(pt.type,pt.key,pt.props,null,ot.mode,Qt),Qt.ref=xh(ot,Xe,pt),Qt.return=ot,Qt)}function gt(ot,Xe,pt,Qt){return Xe===null||Xe.tag!==4||Xe.stateNode.containerInfo!==pt.containerInfo||Xe.stateNode.implementation!==pt.implementation?(Xe=z0(pt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=$(Xe,pt.children||[]),Xe.return=ot,Xe)}function qt(ot,Xe,pt,Qt,hr){return Xe===null||Xe.tag!==7?(Xe=Sc(pt,ot.mode,Qt,hr),Xe.return=ot,Xe):(Xe=$(Xe,pt),Xe.return=ot,Xe)}function ar(ot,Xe,pt){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Xe=B0(""+Xe,ot.mode,pt),Xe.return=ot,Xe;if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case A:return pt=fg(Xe.type,Xe.key,Xe.props,null,ot.mode,pt),pt.ref=xh(ot,null,Xe),pt.return=ot,pt;case O:return Xe=z0(Xe,ot.mode,pt),Xe.return=ot,Xe;case te:var Qt=Xe._init;return ar(ot,Qt(Xe._payload),pt)}if(de(Xe)||I(Xe))return Xe=Sc(Xe,ot.mode,pt,null),Xe.return=ot,Xe;Bv(ot,Xe)}return null}function Nt(ot,Xe,pt,Qt){var hr=Xe!==null?Xe.key:null;if(typeof pt=="string"&&pt!==""||typeof pt=="number")return hr!==null?null:ke(ot,Xe,""+pt,Qt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case A:return pt.key===hr?ze(ot,Xe,pt,Qt):null;case O:return pt.key===hr?gt(ot,Xe,pt,Qt):null;case te:return hr=pt._init,Nt(ot,Xe,hr(pt._payload),Qt)}if(de(pt)||I(pt))return hr!==null?null:qt(ot,Xe,pt,Qt,null);Bv(ot,pt)}return null}function lr(ot,Xe,pt,Qt,hr){if(typeof Qt=="string"&&Qt!==""||typeof Qt=="number")return ot=ot.get(pt)||null,ke(Xe,ot,""+Qt,hr);if(typeof Qt=="object"&&Qt!==null){switch(Qt.$$typeof){case A:return ot=ot.get(Qt.key===null?pt:Qt.key)||null,ze(Xe,ot,Qt,hr);case O:return ot=ot.get(Qt.key===null?pt:Qt.key)||null,gt(Xe,ot,Qt,hr);case te:var Mr=Qt._init;return lr(ot,Xe,pt,Mr(Qt._payload),hr)}if(de(Qt)||I(Qt))return ot=ot.get(pt)||null,qt(Xe,ot,Qt,hr,null);Bv(Xe,Qt)}return null}function nr(ot,Xe,pt,Qt){for(var hr=null,Mr=null,$r=Xe,Wr=Xe=0,va=null;$r!==null&&Wr<pt.length;Wr++){$r.index>Wr?(va=$r,$r=null):va=$r.sibling;var xn=Nt(ot,$r,pt[Wr],Qt);if(xn===null){$r===null&&($r=va);break}u&&$r&&xn.alternate===null&&f(ot,$r),Xe=Z(xn,Xe,Wr),Mr===null?hr=xn:Mr.sibling=xn,Mr=xn,$r=va}if(Wr===pt.length)return v(ot,$r),bi&&hc(ot,Wr),hr;if($r===null){for(;Wr<pt.length;Wr++)$r=ar(ot,pt[Wr],Qt),$r!==null&&(Xe=Z($r,Xe,Wr),Mr===null?hr=$r:Mr.sibling=$r,Mr=$r);return bi&&hc(ot,Wr),hr}for($r=C(ot,$r);Wr<pt.length;Wr++)va=lr($r,ot,Wr,pt[Wr],Qt),va!==null&&(u&&va.alternate!==null&&$r.delete(va.key===null?Wr:va.key),Xe=Z(va,Xe,Wr),Mr===null?hr=va:Mr.sibling=va,Mr=va);return u&&$r.forEach(function(Al){return f(ot,Al)}),bi&&hc(ot,Wr),hr}function Qr(ot,Xe,pt,Qt){var hr=I(pt);if(typeof hr!="function")throw Error(r(150));if(pt=hr.call(pt),pt==null)throw Error(r(151));for(var Mr=hr=null,$r=Xe,Wr=Xe=0,va=null,xn=pt.next();$r!==null&&!xn.done;Wr++,xn=pt.next()){$r.index>Wr?(va=$r,$r=null):va=$r.sibling;var Al=Nt(ot,$r,xn.value,Qt);if(Al===null){$r===null&&($r=va);break}u&&$r&&Al.alternate===null&&f(ot,$r),Xe=Z(Al,Xe,Wr),Mr===null?hr=Al:Mr.sibling=Al,Mr=Al,$r=va}if(xn.done)return v(ot,$r),bi&&hc(ot,Wr),hr;if($r===null){for(;!xn.done;Wr++,xn=pt.next())xn=ar(ot,xn.value,Qt),xn!==null&&(Xe=Z(xn,Xe,Wr),Mr===null?hr=xn:Mr.sibling=xn,Mr=xn);return bi&&hc(ot,Wr),hr}for($r=C(ot,$r);!xn.done;Wr++,xn=pt.next())xn=lr($r,ot,Wr,xn.value,Qt),xn!==null&&(u&&xn.alternate!==null&&$r.delete(xn.key===null?Wr:xn.key),Xe=Z(xn,Xe,Wr),Mr===null?hr=xn:Mr.sibling=xn,Mr=xn);return u&&$r.forEach(function(Zse){return f(ot,Zse)}),bi&&hc(ot,Wr),hr}function zi(ot,Xe,pt,Qt){if(typeof pt=="object"&&pt!==null&&pt.type===y&&pt.key===null&&(pt=pt.props.children),typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case A:e:{for(var hr=pt.key,Mr=Xe;Mr!==null;){if(Mr.key===hr){if(hr=pt.type,hr===y){if(Mr.tag===7){v(ot,Mr.sibling),Xe=$(Mr,pt.props.children),Xe.return=ot,ot=Xe;break e}}else if(Mr.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===te&&Wk(hr)===Mr.type){v(ot,Mr.sibling),Xe=$(Mr,pt.props),Xe.ref=xh(ot,Mr,pt),Xe.return=ot,ot=Xe;break e}v(ot,Mr);break}else f(ot,Mr);Mr=Mr.sibling}pt.type===y?(Xe=Sc(pt.props.children,ot.mode,Qt,pt.key),Xe.return=ot,ot=Xe):(Qt=fg(pt.type,pt.key,pt.props,null,ot.mode,Qt),Qt.ref=xh(ot,Xe,pt),Qt.return=ot,ot=Qt)}return ye(ot);case O:e:{for(Mr=pt.key;Xe!==null;){if(Xe.key===Mr)if(Xe.tag===4&&Xe.stateNode.containerInfo===pt.containerInfo&&Xe.stateNode.implementation===pt.implementation){v(ot,Xe.sibling),Xe=$(Xe,pt.children||[]),Xe.return=ot,ot=Xe;break e}else{v(ot,Xe);break}else f(ot,Xe);Xe=Xe.sibling}Xe=z0(pt,ot.mode,Qt),Xe.return=ot,ot=Xe}return ye(ot);case te:return Mr=pt._init,zi(ot,Xe,Mr(pt._payload),Qt)}if(de(pt))return nr(ot,Xe,pt,Qt);if(I(pt))return Qr(ot,Xe,pt,Qt);Bv(ot,pt)}return typeof pt=="string"&&pt!==""||typeof pt=="number"?(pt=""+pt,Xe!==null&&Xe.tag===6?(v(ot,Xe.sibling),Xe=$(Xe,pt),Xe.return=ot,ot=Xe):(v(ot,Xe),Xe=B0(pt,ot.mode,Qt),Xe.return=ot,ot=Xe),ye(ot)):v(ot,Xe)}return zi}var Kf=Gk(!0),Kk=Gk(!1),Oh={},nu=vl(Oh),Ih=vl(Oh),Ph=vl(Oh);function pc(u){if(u===Oh)throw Error(r(174));return u}function c0(u,f){switch(ci(Ph,f),ci(Ih,u),ci(nu,Oh),u=f.nodeType,u){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:_t(null,"");break;default:u=u===8?f.parentNode:f,f=u.namespaceURI||null,u=u.tagName,f=_t(f,u)}gi(nu),ci(nu,f)}function Yf(){gi(nu),gi(Ih),gi(Ph)}function Yk(u){pc(Ph.current);var f=pc(nu.current),v=_t(f,u.type);f!==v&&(ci(Ih,u),ci(nu,v))}function f0(u){Ih.current===u&&(gi(nu),gi(Ih))}var ki=vl(0);function zv(u){for(var f=u;f!==null;){if(f.tag===13){var v=f.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.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 d0=[];function h0(){for(var u=0;u<d0.length;u++)d0[u]._workInProgressVersionPrimary=null;d0.length=0}var Wv=T.ReactCurrentDispatcher,p0=T.ReactCurrentBatchConfig,vc=0,Di=null,ta=null,pa=null,Gv=!1,kh=!1,Dh=0,Ese=0;function Na(){throw Error(r(321))}function v0(u,f){if(f===null)return!1;for(var v=0;v<f.length&&v<u.length;v++)if(!tr(u[v],f[v]))return!1;return!0}function g0(u,f,v,C,$,Z){if(vc=Z,Di=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Wv.current=u===null||u.memoizedState===null?Tse:Ase,u=v(C,$),kh){Z=0;do{if(kh=!1,Dh=0,25<=Z)throw Error(r(301));Z+=1,pa=ta=null,f.updateQueue=null,Wv.current=Rse,u=v(C,$)}while(kh)}if(Wv.current=Xv,f=ta!==null&&ta.next!==null,vc=0,pa=ta=Di=null,Gv=!1,f)throw Error(r(300));return u}function m0(){var u=Dh!==0;return Dh=0,u}function iu(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pa===null?Di.memoizedState=pa=u:pa=pa.next=u,pa}function vs(){if(ta===null){var u=Di.alternate;u=u!==null?u.memoizedState:null}else u=ta.next;var f=pa===null?Di.memoizedState:pa.next;if(f!==null)pa=f,ta=u;else{if(u===null)throw Error(r(310));ta=u,u={memoizedState:ta.memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},pa===null?Di.memoizedState=pa=u:pa=pa.next=u}return pa}function Lh(u,f){return typeof f=="function"?f(u):f}function y0(u){var f=vs(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var C=ta,$=C.baseQueue,Z=v.pending;if(Z!==null){if($!==null){var ye=$.next;$.next=Z.next,Z.next=ye}C.baseQueue=$=Z,v.pending=null}if($!==null){Z=$.next,C=C.baseState;var ke=ye=null,ze=null,gt=Z;do{var qt=gt.lane;if((vc&qt)===qt)ze!==null&&(ze=ze.next={lane:0,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null}),C=gt.hasEagerState?gt.eagerState:u(C,gt.action);else{var ar={lane:qt,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null};ze===null?(ke=ze=ar,ye=C):ze=ze.next=ar,Di.lanes|=qt,gc|=qt}gt=gt.next}while(gt!==null&&gt!==Z);ze===null?ye=C:ze.next=ke,tr(C,f.memoizedState)||(mo=!0),f.memoizedState=C,f.baseState=ye,f.baseQueue=ze,v.lastRenderedState=C}if(u=v.interleaved,u!==null){$=u;do Z=$.lane,Di.lanes|=Z,gc|=Z,$=$.next;while($!==u)}else $===null&&(v.lanes=0);return[f.memoizedState,v.dispatch]}function _0(u){var f=vs(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var C=v.dispatch,$=v.pending,Z=f.memoizedState;if($!==null){v.pending=null;var ye=$=$.next;do Z=u(Z,ye.action),ye=ye.next;while(ye!==$);tr(Z,f.memoizedState)||(mo=!0),f.memoizedState=Z,f.baseQueue===null&&(f.baseState=Z),v.lastRenderedState=Z}return[Z,C]}function Xk(){}function Qk(u,f){var v=Di,C=vs(),$=f(),Z=!tr(C.memoizedState,$);if(Z&&(C.memoizedState=$,mo=!0),C=C.queue,S0(e4.bind(null,v,C,u),[u]),C.getSnapshot!==f||Z||pa!==null&&pa.memoizedState.tag&1){if(v.flags|=2048,Nh(9,Jk.bind(null,v,C,$,f),void 0,null),ra===null)throw Error(r(349));(vc&30)!==0||Zk(v,f,$)}return $}function Zk(u,f,v){u.flags|=16384,u={getSnapshot:f,value:v},f=Di.updateQueue,f===null?(f={lastEffect:null,stores:null},Di.updateQueue=f,f.stores=[u]):(v=f.stores,v===null?f.stores=[u]:v.push(u))}function Jk(u,f,v,C){f.value=v,f.getSnapshot=C,t4(f)&&ms(u,1,-1)}function e4(u,f,v){return v(function(){t4(f)&&ms(u,1,-1)})}function t4(u){var f=u.getSnapshot;u=u.value;try{var v=f();return!tr(u,v)}catch{return!0}}function r4(u){var f=iu();return typeof u=="function"&&(u=u()),f.memoizedState=f.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Lh,lastRenderedState:u},f.queue=u,u=u.dispatch=Cse.bind(null,Di,u),[f.memoizedState,u]}function Nh(u,f,v,C){return u={tag:u,create:f,destroy:v,deps:C,next:null},f=Di.updateQueue,f===null?(f={lastEffect:null,stores:null},Di.updateQueue=f,f.lastEffect=u.next=u):(v=f.lastEffect,v===null?f.lastEffect=u.next=u:(C=v.next,v.next=u,u.next=C,f.lastEffect=u)),u}function n4(){return vs().memoizedState}function Kv(u,f,v,C){var $=iu();Di.flags|=u,$.memoizedState=Nh(1|f,v,void 0,C===void 0?null:C)}function Yv(u,f,v,C){var $=vs();C=C===void 0?null:C;var Z=void 0;if(ta!==null){var ye=ta.memoizedState;if(Z=ye.destroy,C!==null&&v0(C,ye.deps)){$.memoizedState=Nh(f,v,Z,C);return}}Di.flags|=u,$.memoizedState=Nh(1|f,v,Z,C)}function i4(u,f){return Kv(8390656,8,u,f)}function S0(u,f){return Yv(2048,8,u,f)}function a4(u,f){return Yv(4,2,u,f)}function o4(u,f){return Yv(4,4,u,f)}function s4(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 u4(u,f,v){return v=v!=null?v.concat([u]):null,Yv(4,4,s4.bind(null,f,u),v)}function E0(){}function l4(u,f){var v=vs();f=f===void 0?null:f;var C=v.memoizedState;return C!==null&&f!==null&&v0(f,C[1])?C[0]:(v.memoizedState=[u,f],u)}function c4(u,f){var v=vs();f=f===void 0?null:f;var C=v.memoizedState;return C!==null&&f!==null&&v0(f,C[1])?C[0]:(u=u(),v.memoizedState=[u,f],u)}function f4(u,f,v){return(vc&21)===0?(u.baseState&&(u.baseState=!1,mo=!0),u.memoizedState=v):(tr(v,f)||(v=qe(),Di.lanes|=v,gc|=v,u.baseState=!0),f)}function wse(u,f){var v=Zt;Zt=v!==0&&4>v?v:4,u(!0);var C=p0.transition;p0.transition={};try{u(!1),f()}finally{Zt=v,p0.transition=C}}function d4(){return vs().memoizedState}function bse(u,f,v){var C=bl(u);v={lane:C,action:v,hasEagerState:!1,eagerState:null,next:null},h4(u)?p4(f,v):(v4(u,f,v),v=Ja(),u=ms(u,C,v),u!==null&&g4(u,f,C))}function Cse(u,f,v){var C=bl(u),$={lane:C,action:v,hasEagerState:!1,eagerState:null,next:null};if(h4(u))p4(f,$);else{v4(u,f,$);var Z=u.alternate;if(u.lanes===0&&(Z===null||Z.lanes===0)&&(Z=f.lastRenderedReducer,Z!==null))try{var ye=f.lastRenderedState,ke=Z(ye,v);if($.hasEagerState=!0,$.eagerState=ke,tr(ke,ye))return}catch{}finally{}v=Ja(),u=ms(u,C,v),u!==null&&g4(u,f,C)}}function h4(u){var f=u.alternate;return u===Di||f!==null&&f===Di}function p4(u,f){kh=Gv=!0;var v=u.pending;v===null?f.next=f:(f.next=v.next,v.next=f),u.pending=f}function v4(u,f,v){X4(u)?(u=f.interleaved,u===null?(v.next=v,Fs===null?Fs=[f]:Fs.push(f)):(v.next=u.next,u.next=v),f.interleaved=v):(u=f.pending,u===null?v.next=v:(v.next=u.next,u.next=v),f.pending=v)}function g4(u,f,v){if((v&4194240)!==0){var C=f.lanes;C&=u.pendingLanes,v|=C,f.lanes=v,zt(u,v)}}var Xv={readContext:ds,useCallback:Na,useContext:Na,useEffect:Na,useImperativeHandle:Na,useInsertionEffect:Na,useLayoutEffect:Na,useMemo:Na,useReducer:Na,useRef:Na,useState:Na,useDebugValue:Na,useDeferredValue:Na,useTransition:Na,useMutableSource:Na,useSyncExternalStore:Na,useId:Na,unstable_isNewReconciler:!1},Tse={readContext:ds,useCallback:function(u,f){return iu().memoizedState=[u,f===void 0?null:f],u},useContext:ds,useEffect:i4,useImperativeHandle:function(u,f,v){return v=v!=null?v.concat([u]):null,Kv(4194308,4,s4.bind(null,f,u),v)},useLayoutEffect:function(u,f){return Kv(4194308,4,u,f)},useInsertionEffect:function(u,f){return Kv(4,2,u,f)},useMemo:function(u,f){var v=iu();return f=f===void 0?null:f,u=u(),v.memoizedState=[u,f],u},useReducer:function(u,f,v){var C=iu();return f=v!==void 0?v(f):f,C.memoizedState=C.baseState=f,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:f},C.queue=u,u=u.dispatch=bse.bind(null,Di,u),[C.memoizedState,u]},useRef:function(u){var f=iu();return u={current:u},f.memoizedState=u},useState:r4,useDebugValue:E0,useDeferredValue:function(u){return iu().memoizedState=u},useTransition:function(){var u=r4(!1),f=u[0];return u=wse.bind(null,u[1]),iu().memoizedState=u,[f,u]},useMutableSource:function(){},useSyncExternalStore:function(u,f,v){var C=Di,$=iu();if(bi){if(v===void 0)throw Error(r(407));v=v()}else{if(v=f(),ra===null)throw Error(r(349));(vc&30)!==0||Zk(C,f,v)}$.memoizedState=v;var Z={value:v,getSnapshot:f};return $.queue=Z,i4(e4.bind(null,C,Z,u),[u]),C.flags|=2048,Nh(9,Jk.bind(null,C,Z,v,f),void 0,null),v},useId:function(){var u=iu(),f=ra.identifierPrefix;if(bi){var v=Du,C=ku;v=(C&~(1<<32-Yr(C)-1)).toString(32)+v,f=":"+f+"R"+v,v=Dh++,0<v&&(f+="H"+v.toString(32)),f+=":"}else v=Ese++,f=":"+f+"r"+v.toString(32)+":";return u.memoizedState=f},unstable_isNewReconciler:!1},Ase={readContext:ds,useCallback:l4,useContext:ds,useEffect:S0,useImperativeHandle:u4,useInsertionEffect:a4,useLayoutEffect:o4,useMemo:c4,useReducer:y0,useRef:n4,useState:function(){return y0(Lh)},useDebugValue:E0,useDeferredValue:function(u){var f=vs();return f4(f,ta.memoizedState,u)},useTransition:function(){var u=y0(Lh)[0],f=vs().memoizedState;return[u,f]},useMutableSource:Xk,useSyncExternalStore:Qk,useId:d4,unstable_isNewReconciler:!1},Rse={readContext:ds,useCallback:l4,useContext:ds,useEffect:S0,useImperativeHandle:u4,useInsertionEffect:a4,useLayoutEffect:o4,useMemo:c4,useReducer:_0,useRef:n4,useState:function(){return _0(Lh)},useDebugValue:E0,useDeferredValue:function(u){var f=vs();return ta===null?f.memoizedState=u:f4(f,ta.memoizedState,u)},useTransition:function(){var u=_0(Lh)[0],f=vs().memoizedState;return[u,f]},useMutableSource:Xk,useSyncExternalStore:Qk,useId:d4,unstable_isNewReconciler:!1};function w0(u,f){try{var v="",C=f;do v+=Ie(C),C=C.return;while(C);var $=v}catch(Z){$=`
110
+ Error generating stack: `+Z.message+`
111
+ `+Z.stack}return{value:u,source:f,stack:$}}function b0(u,f){try{console.error(f.value)}catch(v){setTimeout(function(){throw v})}}var xse=typeof WeakMap=="function"?WeakMap:Map;function m4(u,f,v){v=Pu(-1,v),v.tag=3,v.payload={element:null};var C=f.value;return v.callback=function(){ig||(ig=!0,M0=C),b0(u,f)},v}function y4(u,f,v){v=Pu(-1,v),v.tag=3;var C=u.type.getDerivedStateFromError;if(typeof C=="function"){var $=f.value;v.payload=function(){return C($)},v.callback=function(){b0(u,f)}}var Z=u.stateNode;return Z!==null&&typeof Z.componentDidCatch=="function"&&(v.callback=function(){b0(u,f),typeof C!="function"&&(El===null?El=new Set([this]):El.add(this));var ye=f.stack;this.componentDidCatch(f.value,{componentStack:ye!==null?ye:""})}),v}function _4(u,f,v){var C=u.pingCache;if(C===null){C=u.pingCache=new xse;var $=new Set;C.set(f,$)}else $=C.get(f),$===void 0&&($=new Set,C.set(f,$));$.has(v)||($.add(v),u=qse.bind(null,u,f,v),f.then(u,u))}function S4(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 E4(u,f,v,C,$){return(u.mode&1)===0?(u===f?u.flags|=65536:(u.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(f=Pu(-1,1),f.tag=2,_l(v,f))),v.lanes|=1),u):(u.flags|=65536,u.lanes=$,u)}var w4,C0,b4,C4;w4=function(u,f){for(var v=f.child;v!==null;){if(v.tag===5||v.tag===6)u.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===f)break;for(;v.sibling===null;){if(v.return===null||v.return===f)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},C0=function(){},b4=function(u,f,v,C){var $=u.memoizedProps;if($!==C){u=f.stateNode,pc(nu.current);var Z=null;switch(v){case"input":$=me(u,$),C=me(u,C),Z=[];break;case"select":$=N({},$,{value:void 0}),C=N({},C,{value:void 0}),Z=[];break;case"textarea":$=_e(u,$),C=_e(u,C),Z=[];break;default:typeof $.onClick!="function"&&typeof C.onClick=="function"&&(u.onclick=kv)}Ft(v,C);var ye;v=null;for(gt in $)if(!C.hasOwnProperty(gt)&&$.hasOwnProperty(gt)&&$[gt]!=null)if(gt==="style"){var ke=$[gt];for(ye in ke)ke.hasOwnProperty(ye)&&(v||(v={}),v[ye]="")}else gt!=="dangerouslySetInnerHTML"&&gt!=="children"&&gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&gt!=="autoFocus"&&(i.hasOwnProperty(gt)?Z||(Z=[]):(Z=Z||[]).push(gt,null));for(gt in C){var ze=C[gt];if(ke=$!=null?$[gt]:void 0,C.hasOwnProperty(gt)&&ze!==ke&&(ze!=null||ke!=null))if(gt==="style")if(ke){for(ye in ke)!ke.hasOwnProperty(ye)||ze&&ze.hasOwnProperty(ye)||(v||(v={}),v[ye]="");for(ye in ze)ze.hasOwnProperty(ye)&&ke[ye]!==ze[ye]&&(v||(v={}),v[ye]=ze[ye])}else v||(Z||(Z=[]),Z.push(gt,v)),v=ze;else gt==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,ke=ke?ke.__html:void 0,ze!=null&&ke!==ze&&(Z=Z||[]).push(gt,ze)):gt==="children"?typeof ze!="string"&&typeof ze!="number"||(Z=Z||[]).push(gt,""+ze):gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&(i.hasOwnProperty(gt)?(ze!=null&&gt==="onScroll"&&vi("scroll",u),Z||ke===ze||(Z=[])):(Z=Z||[]).push(gt,ze))}v&&(Z=Z||[]).push("style",v);var gt=Z;(f.updateQueue=gt)&&(f.flags|=4)}},C4=function(u,f,v,C){v!==C&&(f.flags|=4)};function Mh(u,f){if(!bi)switch(u.tailMode){case"hidden":f=u.tail;for(var v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?u.tail=null:v.sibling=null;break;case"collapsed":v=u.tail;for(var C=null;v!==null;)v.alternate!==null&&(C=v),v=v.sibling;C===null?f||u.tail===null?u.tail=null:u.tail.sibling=null:C.sibling=null}}function Ma(u){var f=u.alternate!==null&&u.alternate.child===u.child,v=0,C=0;if(f)for(var $=u.child;$!==null;)v|=$.lanes|$.childLanes,C|=$.subtreeFlags&14680064,C|=$.flags&14680064,$.return=u,$=$.sibling;else for($=u.child;$!==null;)v|=$.lanes|$.childLanes,C|=$.subtreeFlags,C|=$.flags,$.return=u,$=$.sibling;return u.subtreeFlags|=C,u.childLanes=v,f}function Ose(u,f,v){var C=f.pendingProps;switch(o0(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ma(f),null;case 1:return vo(f.type)&&Lv(),Ma(f),null;case 3:return C=f.stateNode,Yf(),gi(po),gi(La),h0(),C.pendingContext&&(C.context=C.pendingContext,C.pendingContext=null),(u===null||u.child===null)&&(Rh(f)?f.flags|=4:u===null||u.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,js!==null&&(j0(js),js=null))),C0(u,f),Ma(f),null;case 5:f0(f);var $=pc(Ph.current);if(v=f.type,u!==null&&f.stateNode!=null)b4(u,f,v,C,$),u.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!C){if(f.stateNode===null)throw Error(r(166));return Ma(f),null}if(u=pc(nu.current),Rh(f)){C=f.stateNode,v=f.type;var Z=f.memoizedProps;switch(C[ru]=f,C[Th]=Z,u=(f.mode&1)!==0,v){case"dialog":vi("cancel",C),vi("close",C);break;case"iframe":case"object":case"embed":vi("load",C);break;case"video":case"audio":for($=0;$<wh.length;$++)vi(wh[$],C);break;case"source":vi("error",C);break;case"img":case"image":case"link":vi("error",C),vi("load",C);break;case"details":vi("toggle",C);break;case"input":fe(C,Z),vi("invalid",C);break;case"select":C._wrapperState={wasMultiple:!!Z.multiple},vi("invalid",C);break;case"textarea":Ae(C,Z),vi("invalid",C)}Ft(v,Z),$=null;for(var ye in Z)if(Z.hasOwnProperty(ye)){var ke=Z[ye];ye==="children"?typeof ke=="string"?C.textContent!==ke&&(Z.suppressHydrationWarning!==!0&&Pv(C.textContent,ke,u),$=["children",ke]):typeof ke=="number"&&C.textContent!==""+ke&&(Z.suppressHydrationWarning!==!0&&Pv(C.textContent,ke,u),$=["children",""+ke]):i.hasOwnProperty(ye)&&ke!=null&&ye==="onScroll"&&vi("scroll",C)}switch(v){case"input":ne(C),Oe(C,Z,!0);break;case"textarea":ne(C),Ne(C);break;case"select":case"option":break;default:typeof Z.onClick=="function"&&(C.onclick=kv)}C=$,f.updateQueue=C,C!==null&&(f.flags|=4)}else{ye=$.nodeType===9?$:$.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=Be(v)),u==="http://www.w3.org/1999/xhtml"?v==="script"?(u=ye.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof C.is=="string"?u=ye.createElement(v,{is:C.is}):(u=ye.createElement(v),v==="select"&&(ye=u,C.multiple?ye.multiple=!0:C.size&&(ye.size=C.size))):u=ye.createElementNS(u,v),u[ru]=f,u[Th]=C,w4(u,f,!1,!1),f.stateNode=u;e:{switch(ye=At(v,C),v){case"dialog":vi("cancel",u),vi("close",u),$=C;break;case"iframe":case"object":case"embed":vi("load",u),$=C;break;case"video":case"audio":for($=0;$<wh.length;$++)vi(wh[$],u);$=C;break;case"source":vi("error",u),$=C;break;case"img":case"image":case"link":vi("error",u),vi("load",u),$=C;break;case"details":vi("toggle",u),$=C;break;case"input":fe(u,C),$=me(u,C),vi("invalid",u);break;case"option":$=C;break;case"select":u._wrapperState={wasMultiple:!!C.multiple},$=N({},C,{value:void 0}),vi("invalid",u);break;case"textarea":Ae(u,C),$=_e(u,C),vi("invalid",u);break;default:$=C}Ft(v,$),ke=$;for(Z in ke)if(ke.hasOwnProperty(Z)){var ze=ke[Z];Z==="style"?yt(u,ze):Z==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,ze!=null&&Mt(u,ze)):Z==="children"?typeof ze=="string"?(v!=="textarea"||ze!=="")&&Qe(u,ze):typeof ze=="number"&&Qe(u,""+ze):Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&Z!=="autoFocus"&&(i.hasOwnProperty(Z)?ze!=null&&Z==="onScroll"&&vi("scroll",u):ze!=null&&x(u,Z,ze,ye))}switch(v){case"input":ne(u),Oe(u,C,!1);break;case"textarea":ne(u),Ne(u);break;case"option":C.value!=null&&u.setAttribute("value",""+k(C.value));break;case"select":u.multiple=!!C.multiple,Z=C.value,Z!=null?Ee(u,!!C.multiple,Z,!1):C.defaultValue!=null&&Ee(u,!!C.multiple,C.defaultValue,!0);break;default:typeof $.onClick=="function"&&(u.onclick=kv)}switch(v){case"button":case"input":case"select":case"textarea":C=!!C.autoFocus;break e;case"img":C=!0;break e;default:C=!1}}C&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return Ma(f),null;case 6:if(u&&f.stateNode!=null)C4(u,f,u.memoizedProps,C);else{if(typeof C!="string"&&f.stateNode===null)throw Error(r(166));if(v=pc(Ph.current),pc(nu.current),Rh(f)){if(C=f.stateNode,v=f.memoizedProps,C[ru]=f,(Z=C.nodeValue!==v)&&(u=Bo,u!==null))switch(u.tag){case 3:Pv(C.nodeValue,v,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&Pv(C.nodeValue,v,(u.mode&1)!==0)}Z&&(f.flags|=4)}else C=(v.nodeType===9?v:v.ownerDocument).createTextNode(C),C[ru]=f,f.stateNode=C}return Ma(f),null;case 13:if(gi(ki),C=f.memoizedState,bi&&go!==null&&(f.mode&1)!==0&&(f.flags&128)===0){for(C=go;C;)C=xu(C.nextSibling);return Gf(),f.flags|=98560,f}if(C!==null&&C.dehydrated!==null){if(C=Rh(f),u===null){if(!C)throw Error(r(318));if(C=f.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(r(317));C[ru]=f}else Gf(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;return Ma(f),null}return js!==null&&(j0(js),js=null),(f.flags&128)!==0?(f.lanes=v,f):(C=C!==null,v=!1,u===null?Rh(f):v=u.memoizedState!==null,C!==v&&C&&(f.child.flags|=8192,(f.mode&1)!==0&&(u===null||(ki.current&1)!==0?na===0&&(na=3):V0())),f.updateQueue!==null&&(f.flags|=4),Ma(f),null);case 4:return Yf(),C0(u,f),u===null&&bh(f.stateNode.containerInfo),Ma(f),null;case 10:return e0(f.type._context),Ma(f),null;case 17:return vo(f.type)&&Lv(),Ma(f),null;case 19:if(gi(ki),Z=f.memoizedState,Z===null)return Ma(f),null;if(C=(f.flags&128)!==0,ye=Z.rendering,ye===null)if(C)Mh(Z,!1);else{if(na!==0||u!==null&&(u.flags&128)!==0)for(u=f.child;u!==null;){if(ye=zv(u),ye!==null){for(f.flags|=128,Mh(Z,!1),C=ye.updateQueue,C!==null&&(f.updateQueue=C,f.flags|=4),f.subtreeFlags=0,C=v,v=f.child;v!==null;)Z=v,u=C,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}),v=v.sibling;return ci(ki,ki.current&1|2),f.child}u=u.sibling}Z.tail!==null&&nt()>Zf&&(f.flags|=128,C=!0,Mh(Z,!1),f.lanes=4194304)}else{if(!C)if(u=zv(ye),u!==null){if(f.flags|=128,C=!0,v=u.updateQueue,v!==null&&(f.updateQueue=v,f.flags|=4),Mh(Z,!0),Z.tail===null&&Z.tailMode==="hidden"&&!ye.alternate&&!bi)return Ma(f),null}else 2*nt()-Z.renderingStartTime>Zf&&v!==1073741824&&(f.flags|=128,C=!0,Mh(Z,!1),f.lanes=4194304);Z.isBackwards?(ye.sibling=f.child,f.child=ye):(v=Z.last,v!==null?v.sibling=ye:f.child=ye,Z.last=ye)}return Z.tail!==null?(f=Z.tail,Z.rendering=f,Z.tail=f.sibling,Z.renderingStartTime=nt(),f.sibling=null,v=ki.current,ci(ki,C?v&1|2:v&1),f):(Ma(f),null);case 22:case 23:return q0(),C=f.memoizedState!==null,u!==null&&u.memoizedState!==null!==C&&(f.flags|=8192),C&&(f.mode&1)!==0?(zo&1073741824)!==0&&(Ma(f),f.subtreeFlags&6&&(f.flags|=8192)):Ma(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}var Ise=T.ReactCurrentOwner,mo=!1;function Za(u,f,v,C){f.child=u===null?Kk(f,null,v,C):Kf(f,u.child,v,C)}function T4(u,f,v,C,$){v=v.render;var Z=f.ref;return Bf(f,$),C=g0(u,f,v,C,Z,$),v=m0(),u!==null&&!mo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~$,Lu(u,f,$)):(bi&&v&&a0(f),f.flags|=1,Za(u,f,C,$),f.child)}function A4(u,f,v,C,$){if(u===null){var Z=v.type;return typeof Z=="function"&&!H0(Z)&&Z.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(f.tag=15,f.type=Z,R4(u,f,Z,C,$)):(u=fg(v.type,null,C,f,f.mode,$),u.ref=f.ref,u.return=f,f.child=u)}if(Z=u.child,(u.lanes&$)===0){var ye=Z.memoizedProps;if(v=v.compare,v=v!==null?v:cr,v(ye,C)&&u.ref===f.ref)return Lu(u,f,$)}return f.flags|=1,u=Tl(Z,C),u.ref=f.ref,u.return=f,f.child=u}function R4(u,f,v,C,$){if(u!==null){var Z=u.memoizedProps;if(cr(Z,C)&&u.ref===f.ref)if(mo=!1,f.pendingProps=C=Z,(u.lanes&$)!==0)(u.flags&131072)!==0&&(mo=!0);else return f.lanes=u.lanes,Lu(u,f,$)}return T0(u,f,v,C,$)}function x4(u,f,v){var C=f.pendingProps,$=C.children,Z=u!==null?u.memoizedState:null;if(C.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},ci(Qf,zo),zo|=v;else if((v&1073741824)!==0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},C=Z!==null?Z.baseLanes:v,ci(Qf,zo),zo|=C;else return u=Z!==null?Z.baseLanes|v:v,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:u,cachePool:null,transitions:null},f.updateQueue=null,ci(Qf,zo),zo|=u,null;else Z!==null?(C=Z.baseLanes|v,f.memoizedState=null):C=v,ci(Qf,zo),zo|=C;return Za(u,f,$,v),f.child}function O4(u,f){var v=f.ref;(u===null&&v!==null||u!==null&&u.ref!==v)&&(f.flags|=512,f.flags|=2097152)}function T0(u,f,v,C,$){var Z=vo(v)?fc:La.current;return Z=Vf(f,Z),Bf(f,$),v=g0(u,f,v,C,Z,$),C=m0(),u!==null&&!mo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~$,Lu(u,f,$)):(bi&&C&&a0(f),f.flags|=1,Za(u,f,v,$),f.child)}function I4(u,f,v,C,$){if(vo(v)){var Z=!0;Nv(f)}else Z=!1;if(Bf(f,$),f.stateNode===null)u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),Uk(f,v,C),i0(f,v,C,$),C=!0;else if(u===null){var ye=f.stateNode,ke=f.memoizedProps;ye.props=ke;var ze=ye.context,gt=v.contextType;typeof gt=="object"&&gt!==null?gt=ds(gt):(gt=vo(v)?fc:La.current,gt=Vf(f,gt));var qt=v.getDerivedStateFromProps,ar=typeof qt=="function"||typeof ye.getSnapshotBeforeUpdate=="function";ar||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(ke!==C||ze!==gt)&&qk(f,ye,C,gt),yl=!1;var Nt=f.memoizedState;ye.state=Nt,Uv(f,C,ye,$),ze=f.memoizedState,ke!==C||Nt!==ze||po.current||yl?(typeof qt=="function"&&(n0(f,v,qt,C),ze=f.memoizedState),(ke=yl||jk(f,v,ke,C,Nt,ze,gt))?(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=C,f.memoizedState=ze),ye.props=C,ye.state=ze,ye.context=gt,C=ke):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),C=!1)}else{ye=f.stateNode,Nk(u,f),ke=f.memoizedProps,gt=f.type===f.elementType?ke:$s(f.type,ke),ye.props=gt,ar=f.pendingProps,Nt=ye.context,ze=v.contextType,typeof ze=="object"&&ze!==null?ze=ds(ze):(ze=vo(v)?fc:La.current,ze=Vf(f,ze));var lr=v.getDerivedStateFromProps;(qt=typeof lr=="function"||typeof ye.getSnapshotBeforeUpdate=="function")||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(ke!==ar||Nt!==ze)&&qk(f,ye,C,ze),yl=!1,Nt=f.memoizedState,ye.state=Nt,Uv(f,C,ye,$);var nr=f.memoizedState;ke!==ar||Nt!==nr||po.current||yl?(typeof lr=="function"&&(n0(f,v,lr,C),nr=f.memoizedState),(gt=yl||jk(f,v,gt,C,Nt,nr,ze)||!1)?(qt||typeof ye.UNSAFE_componentWillUpdate!="function"&&typeof ye.componentWillUpdate!="function"||(typeof ye.componentWillUpdate=="function"&&ye.componentWillUpdate(C,nr,ze),typeof ye.UNSAFE_componentWillUpdate=="function"&&ye.UNSAFE_componentWillUpdate(C,nr,ze)),typeof ye.componentDidUpdate=="function"&&(f.flags|=4),typeof ye.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof ye.componentDidUpdate!="function"||ke===u.memoizedProps&&Nt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||ke===u.memoizedProps&&Nt===u.memoizedState||(f.flags|=1024),f.memoizedProps=C,f.memoizedState=nr),ye.props=C,ye.state=nr,ye.context=ze,C=gt):(typeof ye.componentDidUpdate!="function"||ke===u.memoizedProps&&Nt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||ke===u.memoizedProps&&Nt===u.memoizedState||(f.flags|=1024),C=!1)}return A0(u,f,v,C,Z,$)}function A0(u,f,v,C,$,Z){O4(u,f);var ye=(f.flags&128)!==0;if(!C&&!ye)return $&&Dk(f,v,!1),Lu(u,f,Z);C=f.stateNode,Ise.current=f;var ke=ye&&typeof v.getDerivedStateFromError!="function"?null:C.render();return f.flags|=1,u!==null&&ye?(f.child=Kf(f,u.child,null,Z),f.child=Kf(f,null,ke,Z)):Za(u,f,ke,Z),f.memoizedState=C.state,$&&Dk(f,v,!0),f.child}function P4(u){var f=u.stateNode;f.pendingContext?Pk(u,f.pendingContext,f.pendingContext!==f.context):f.context&&Pk(u,f.context,!1),c0(u,f.containerInfo)}function k4(u,f,v,C,$){return Gf(),l0($),f.flags|=256,Za(u,f,v,C),f.child}var Qv={dehydrated:null,treeContext:null,retryLane:0};function Zv(u){return{baseLanes:u,cachePool:null,transitions:null}}function D4(u,f){return{baseLanes:u.baseLanes|f,cachePool:null,transitions:u.transitions}}function L4(u,f,v){var C=f.pendingProps,$=ki.current,Z=!1,ye=(f.flags&128)!==0,ke;if((ke=ye)||(ke=u!==null&&u.memoizedState===null?!1:($&2)!==0),ke?(Z=!0,f.flags&=-129):(u===null||u.memoizedState!==null)&&($|=1),ci(ki,$&1),u===null)return u0(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):($=C.children,u=C.fallback,Z?(C=f.mode,Z=f.child,$={mode:"hidden",children:$},(C&1)===0&&Z!==null?(Z.childLanes=0,Z.pendingProps=$):Z=dg($,C,0,null),u=Sc(u,C,v,null),Z.return=f,u.return=f,Z.sibling=u,f.child=Z,f.child.memoizedState=Zv(v),f.memoizedState=Qv,u):R0(f,$));if($=u.memoizedState,$!==null){if(ke=$.dehydrated,ke!==null){if(ye)return f.flags&256?(f.flags&=-257,Jv(u,f,v,Error(r(422)))):f.memoizedState!==null?(f.child=u.child,f.flags|=128,null):(Z=C.fallback,$=f.mode,C=dg({mode:"visible",children:C.children},$,0,null),Z=Sc(Z,$,v,null),Z.flags|=2,C.return=f,Z.return=f,C.sibling=Z,f.child=C,(f.mode&1)!==0&&Kf(f,u.child,null,v),f.child.memoizedState=Zv(v),f.memoizedState=Qv,Z);if((f.mode&1)===0)f=Jv(u,f,v,null);else if(ke.data==="$!")f=Jv(u,f,v,Error(r(419)));else if(C=(v&u.childLanes)!==0,mo||C){if(C=ra,C!==null){switch(v&-v){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}C=(Z&(C.suspendedLanes|v))!==0?0:Z,C!==0&&C!==$.retryLane&&($.retryLane=C,ms(u,C,-1))}V0(),f=Jv(u,f,v,Error(r(421)))}else ke.data==="$?"?(f.flags|=128,f.child=u.child,f=Vse.bind(null,u),ke._reactRetry=f,f=null):(v=$.treeContext,go=xu(ke.nextSibling),Bo=f,bi=!0,js=null,v!==null&&(hs[ps++]=ku,hs[ps++]=Du,hs[ps++]=dc,ku=v.id,Du=v.overflow,dc=f),f=R0(f,f.pendingProps.children),f.flags|=4096);return f}return Z?(C=M4(u,f,C.children,C.fallback,v),Z=f.child,$=u.child.memoizedState,Z.memoizedState=$===null?Zv(v):D4($,v),Z.childLanes=u.childLanes&~v,f.memoizedState=Qv,C):(v=N4(u,f,C.children,v),f.memoizedState=null,v)}return Z?(C=M4(u,f,C.children,C.fallback,v),Z=f.child,$=u.child.memoizedState,Z.memoizedState=$===null?Zv(v):D4($,v),Z.childLanes=u.childLanes&~v,f.memoizedState=Qv,C):(v=N4(u,f,C.children,v),f.memoizedState=null,v)}function R0(u,f){return f=dg({mode:"visible",children:f},u.mode,0,null),f.return=u,u.child=f}function N4(u,f,v,C){var $=u.child;return u=$.sibling,v=Tl($,{mode:"visible",children:v}),(f.mode&1)===0&&(v.lanes=C),v.return=f,v.sibling=null,u!==null&&(C=f.deletions,C===null?(f.deletions=[u],f.flags|=16):C.push(u)),f.child=v}function M4(u,f,v,C,$){var Z=f.mode;u=u.child;var ye=u.sibling,ke={mode:"hidden",children:v};return(Z&1)===0&&f.child!==u?(v=f.child,v.childLanes=0,v.pendingProps=ke,f.deletions=null):(v=Tl(u,ke),v.subtreeFlags=u.subtreeFlags&14680064),ye!==null?C=Tl(ye,C):(C=Sc(C,Z,$,null),C.flags|=2),C.return=f,v.return=f,v.sibling=C,f.child=v,C}function Jv(u,f,v,C){return C!==null&&l0(C),Kf(f,u.child,null,v),u=R0(f,f.pendingProps.children),u.flags|=2,f.memoizedState=null,u}function $4(u,f,v){u.lanes|=f;var C=u.alternate;C!==null&&(C.lanes|=f),t0(u.return,f,v)}function x0(u,f,v,C,$){var Z=u.memoizedState;Z===null?u.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:C,tail:v,tailMode:$}:(Z.isBackwards=f,Z.rendering=null,Z.renderingStartTime=0,Z.last=C,Z.tail=v,Z.tailMode=$)}function F4(u,f,v){var C=f.pendingProps,$=C.revealOrder,Z=C.tail;if(Za(u,f,C.children,v),C=ki.current,(C&2)!==0)C=C&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&&$4(u,v,f);else if(u.tag===19)$4(u,v,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}C&=1}if(ci(ki,C),(f.mode&1)===0)f.memoizedState=null;else switch($){case"forwards":for(v=f.child,$=null;v!==null;)u=v.alternate,u!==null&&zv(u)===null&&($=v),v=v.sibling;v=$,v===null?($=f.child,f.child=null):($=v.sibling,v.sibling=null),x0(f,!1,$,v,Z);break;case"backwards":for(v=null,$=f.child,f.child=null;$!==null;){if(u=$.alternate,u!==null&&zv(u)===null){f.child=$;break}u=$.sibling,$.sibling=v,v=$,$=u}x0(f,!0,v,null,Z);break;case"together":x0(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function Lu(u,f,v){if(u!==null&&(f.dependencies=u.dependencies),gc|=f.lanes,(v&f.childLanes)===0)return null;if(u!==null&&f.child!==u.child)throw Error(r(153));if(f.child!==null){for(u=f.child,v=Tl(u,u.pendingProps),f.child=v,v.return=f;u.sibling!==null;)u=u.sibling,v=v.sibling=Tl(u,u.pendingProps),v.return=f;v.sibling=null}return f.child}function Pse(u,f,v){switch(f.tag){case 3:P4(f),Gf();break;case 5:Yk(f);break;case 1:vo(f.type)&&Nv(f);break;case 4:c0(f,f.stateNode.containerInfo);break;case 10:var C=f.type._context,$=f.memoizedProps.value;ci($v,C._currentValue),C._currentValue=$;break;case 13:if(C=f.memoizedState,C!==null)return C.dehydrated!==null?(ci(ki,ki.current&1),f.flags|=128,null):(v&f.child.childLanes)!==0?L4(u,f,v):(ci(ki,ki.current&1),u=Lu(u,f,v),u!==null?u.sibling:null);ci(ki,ki.current&1);break;case 19:if(C=(v&f.childLanes)!==0,(u.flags&128)!==0){if(C)return F4(u,f,v);f.flags|=128}if($=f.memoizedState,$!==null&&($.rendering=null,$.tail=null,$.lastEffect=null),ci(ki,ki.current),C)break;return null;case 22:case 23:return f.lanes=0,x4(u,f,v)}return Lu(u,f,v)}function kse(u,f){switch(o0(f),f.tag){case 1:return vo(f.type)&&Lv(),u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 3:return Yf(),gi(po),gi(La),h0(),u=f.flags,(u&65536)!==0&&(u&128)===0?(f.flags=u&-65537|128,f):null;case 5:return f0(f),null;case 13:if(gi(ki),u=f.memoizedState,u!==null&&u.dehydrated!==null){if(f.alternate===null)throw Error(r(340));Gf()}return u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 19:return gi(ki),null;case 4:return Yf(),null;case 10:return e0(f.type._context),null;case 22:case 23:return q0(),null;case 24:return null;default:return null}}var eg=!1,$a=!1,Dse=typeof WeakSet=="function"?WeakSet:Set,fr=null;function Xf(u,f){var v=u.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(C){Ui(u,f,C)}else v.current=null}function O0(u,f,v){try{v()}catch(C){Ui(u,f,C)}}var j4=!1;function Lse(u,f){if(B1=ca,u=zr(),nn(u)){if("selectionStart"in u)var v={start:u.selectionStart,end:u.selectionEnd};else e:{v=(v=u.ownerDocument)&&v.defaultView||window;var C=v.getSelection&&v.getSelection();if(C&&C.rangeCount!==0){v=C.anchorNode;var $=C.anchorOffset,Z=C.focusNode;C=C.focusOffset;try{v.nodeType,Z.nodeType}catch{v=null;break e}var ye=0,ke=-1,ze=-1,gt=0,qt=0,ar=u,Nt=null;t:for(;;){for(var lr;ar!==v||$!==0&&ar.nodeType!==3||(ke=ye+$),ar!==Z||C!==0&&ar.nodeType!==3||(ze=ye+C),ar.nodeType===3&&(ye+=ar.nodeValue.length),(lr=ar.firstChild)!==null;)Nt=ar,ar=lr;for(;;){if(ar===u)break t;if(Nt===v&&++gt===$&&(ke=ye),Nt===Z&&++qt===C&&(ze=ye),(lr=ar.nextSibling)!==null)break;ar=Nt,Nt=ar.parentNode}ar=lr}v=ke===-1||ze===-1?null:{start:ke,end:ze}}else v=null}v=v||{start:0,end:0}}else v=null;for(z1={focusedElem:u,selectionRange:v},ca=!1,fr=f;fr!==null;)if(f=fr,u=f.child,(f.subtreeFlags&1028)!==0&&u!==null)u.return=f,fr=u;else for(;fr!==null;){f=fr;try{var nr=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(nr!==null){var Qr=nr.memoizedProps,zi=nr.memoizedState,ot=f.stateNode,Xe=ot.getSnapshotBeforeUpdate(f.elementType===f.type?Qr:$s(f.type,Qr),zi);ot.__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){Ui(f,f.return,hr)}if(u=f.sibling,u!==null){u.return=f.return,fr=u;break}fr=f.return}return nr=j4,j4=!1,nr}function $h(u,f,v){var C=f.updateQueue;if(C=C!==null?C.lastEffect:null,C!==null){var $=C=C.next;do{if(($.tag&u)===u){var Z=$.destroy;$.destroy=void 0,Z!==void 0&&O0(f,v,Z)}$=$.next}while($!==C)}}function tg(u,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var v=f=f.next;do{if((v.tag&u)===u){var C=v.create;v.destroy=C()}v=v.next}while(v!==f)}}function I0(u){var f=u.ref;if(f!==null){var v=u.stateNode;switch(u.tag){case 5:u=v;break;default:u=v}typeof f=="function"?f(u):f.current=u}}function U4(u){var f=u.alternate;f!==null&&(u.alternate=null,U4(f)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(f=u.stateNode,f!==null&&(delete f[ru],delete f[Th],delete f[Y1],delete f[mse],delete f[yse])),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 q4(u){return u.tag===5||u.tag===3||u.tag===4}function V4(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||q4(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 P0(u,f,v){var C=u.tag;if(C===5||C===6)u=u.stateNode,f?v.nodeType===8?v.parentNode.insertBefore(u,f):v.insertBefore(u,f):(v.nodeType===8?(f=v.parentNode,f.insertBefore(u,v)):(f=v,f.appendChild(u)),v=v._reactRootContainer,v!=null||f.onclick!==null||(f.onclick=kv));else if(C!==4&&(u=u.child,u!==null))for(P0(u,f,v),u=u.sibling;u!==null;)P0(u,f,v),u=u.sibling}function k0(u,f,v){var C=u.tag;if(C===5||C===6)u=u.stateNode,f?v.insertBefore(u,f):v.appendChild(u);else if(C!==4&&(u=u.child,u!==null))for(k0(u,f,v),u=u.sibling;u!==null;)k0(u,f,v),u=u.sibling}var _a=null,Us=!1;function Sl(u,f,v){for(v=v.child;v!==null;)H4(u,f,v),v=v.sibling}function H4(u,f,v){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(en,v)}catch{}switch(v.tag){case 5:$a||Xf(v,f);case 6:var C=_a,$=Us;_a=null,Sl(u,f,v),_a=C,Us=$,_a!==null&&(Us?(u=_a,v=v.stateNode,u.nodeType===8?u.parentNode.removeChild(v):u.removeChild(v)):_a.removeChild(v.stateNode));break;case 18:_a!==null&&(Us?(u=_a,v=v.stateNode,u.nodeType===8?K1(u.parentNode,v):u.nodeType===1&&K1(u,v),uo(u)):K1(_a,v.stateNode));break;case 4:C=_a,$=Us,_a=v.stateNode.containerInfo,Us=!0,Sl(u,f,v),_a=C,Us=$;break;case 0:case 11:case 14:case 15:if(!$a&&(C=v.updateQueue,C!==null&&(C=C.lastEffect,C!==null))){$=C=C.next;do{var Z=$,ye=Z.destroy;Z=Z.tag,ye!==void 0&&((Z&2)!==0||(Z&4)!==0)&&O0(v,f,ye),$=$.next}while($!==C)}Sl(u,f,v);break;case 1:if(!$a&&(Xf(v,f),C=v.stateNode,typeof C.componentWillUnmount=="function"))try{C.props=v.memoizedProps,C.state=v.memoizedState,C.componentWillUnmount()}catch(ke){Ui(v,f,ke)}Sl(u,f,v);break;case 21:Sl(u,f,v);break;case 22:v.mode&1?($a=(C=$a)||v.memoizedState!==null,Sl(u,f,v),$a=C):Sl(u,f,v);break;default:Sl(u,f,v)}}function B4(u){var f=u.updateQueue;if(f!==null){u.updateQueue=null;var v=u.stateNode;v===null&&(v=u.stateNode=new Dse),f.forEach(function(C){var $=Hse.bind(null,u,C);v.has(C)||(v.add(C),C.then($,$))})}}function qs(u,f){var v=f.deletions;if(v!==null)for(var C=0;C<v.length;C++){var $=v[C];try{var Z=u,ye=f,ke=ye;e:for(;ke!==null;){switch(ke.tag){case 5:_a=ke.stateNode,Us=!1;break e;case 3:_a=ke.stateNode.containerInfo,Us=!0;break e;case 4:_a=ke.stateNode.containerInfo,Us=!0;break e}ke=ke.return}if(_a===null)throw Error(r(160));H4(Z,ye,$),_a=null,Us=!1;var ze=$.alternate;ze!==null&&(ze.return=null),$.return=null}catch(gt){Ui($,f,gt)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)z4(f,u),f=f.sibling}function z4(u,f){var v=u.alternate,C=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(qs(f,u),au(u),C&4){try{$h(3,u,u.return),tg(3,u)}catch(nr){Ui(u,u.return,nr)}try{$h(5,u,u.return)}catch(nr){Ui(u,u.return,nr)}}break;case 1:qs(f,u),au(u),C&512&&v!==null&&Xf(v,v.return);break;case 5:if(qs(f,u),au(u),C&512&&v!==null&&Xf(v,v.return),u.flags&32){var $=u.stateNode;try{Qe($,"")}catch(nr){Ui(u,u.return,nr)}}if(C&4&&($=u.stateNode,$!=null)){var Z=u.memoizedProps,ye=v!==null?v.memoizedProps:Z,ke=u.type,ze=u.updateQueue;if(u.updateQueue=null,ze!==null)try{ke==="input"&&Z.type==="radio"&&Z.name!=null&&Te($,Z),At(ke,ye);var gt=At(ke,Z);for(ye=0;ye<ze.length;ye+=2){var qt=ze[ye],ar=ze[ye+1];qt==="style"?yt($,ar):qt==="dangerouslySetInnerHTML"?Mt($,ar):qt==="children"?Qe($,ar):x($,qt,ar,gt)}switch(ke){case"input":Se($,Z);break;case"textarea":De($,Z);break;case"select":var Nt=$._wrapperState.wasMultiple;$._wrapperState.wasMultiple=!!Z.multiple;var lr=Z.value;lr!=null?Ee($,!!Z.multiple,lr,!1):Nt!==!!Z.multiple&&(Z.defaultValue!=null?Ee($,!!Z.multiple,Z.defaultValue,!0):Ee($,!!Z.multiple,Z.multiple?[]:"",!1))}$[Th]=Z}catch(nr){Ui(u,u.return,nr)}}break;case 6:if(qs(f,u),au(u),C&4){if(u.stateNode===null)throw Error(r(162));gt=u.stateNode,qt=u.memoizedProps;try{gt.nodeValue=qt}catch(nr){Ui(u,u.return,nr)}}break;case 3:if(qs(f,u),au(u),C&4&&v!==null&&v.memoizedState.isDehydrated)try{uo(f.containerInfo)}catch(nr){Ui(u,u.return,nr)}break;case 4:qs(f,u),au(u);break;case 13:qs(f,u),au(u),gt=u.child,gt.flags&8192&&gt.memoizedState!==null&&(gt.alternate===null||gt.alternate.memoizedState===null)&&(N0=nt()),C&4&&B4(u);break;case 22:if(gt=v!==null&&v.memoizedState!==null,u.mode&1?($a=(qt=$a)||gt,qs(f,u),$a=qt):qs(f,u),au(u),C&8192){qt=u.memoizedState!==null;e:for(ar=null,Nt=u;;){if(Nt.tag===5){if(ar===null){ar=Nt;try{$=Nt.stateNode,qt?(Z=$.style,typeof Z.setProperty=="function"?Z.setProperty("display","none","important"):Z.display="none"):(ke=Nt.stateNode,ze=Nt.memoizedProps.style,ye=ze!=null&&ze.hasOwnProperty("display")?ze.display:null,ke.style.display=St("display",ye))}catch(nr){Ui(u,u.return,nr)}}}else if(Nt.tag===6){if(ar===null)try{Nt.stateNode.nodeValue=qt?"":Nt.memoizedProps}catch(nr){Ui(u,u.return,nr)}}else if((Nt.tag!==22&&Nt.tag!==23||Nt.memoizedState===null||Nt===u)&&Nt.child!==null){Nt.child.return=Nt,Nt=Nt.child;continue}if(Nt===u)break e;for(;Nt.sibling===null;){if(Nt.return===null||Nt.return===u)break e;ar===Nt&&(ar=null),Nt=Nt.return}ar===Nt&&(ar=null),Nt.sibling.return=Nt.return,Nt=Nt.sibling}if(qt&&!gt&&(u.mode&1)!==0)for(fr=u,u=u.child;u!==null;){for(gt=fr=u;fr!==null;){switch(qt=fr,ar=qt.child,qt.tag){case 0:case 11:case 14:case 15:$h(4,qt,qt.return);break;case 1:if(Xf(qt,qt.return),Z=qt.stateNode,typeof Z.componentWillUnmount=="function"){Nt=qt,lr=qt.return;try{$=Nt,Z.props=$.memoizedProps,Z.state=$.memoizedState,Z.componentWillUnmount()}catch(nr){Ui(Nt,lr,nr)}}break;case 5:Xf(qt,qt.return);break;case 22:if(qt.memoizedState!==null){K4(gt);continue}}ar!==null?(ar.return=qt,fr=ar):K4(gt)}u=u.sibling}}break;case 19:qs(f,u),au(u),C&4&&B4(u);break;case 21:break;default:qs(f,u),au(u)}}function au(u){var f=u.flags;if(f&2){try{e:{for(var v=u.return;v!==null;){if(q4(v)){var C=v;break e}v=v.return}throw Error(r(160))}switch(C.tag){case 5:var $=C.stateNode;C.flags&32&&(Qe($,""),C.flags&=-33);var Z=V4(u);k0(u,Z,$);break;case 3:case 4:var ye=C.stateNode.containerInfo,ke=V4(u);P0(u,ke,ye);break;default:throw Error(r(161))}}catch(ze){Ui(u,u.return,ze)}u.flags&=-3}f&4096&&(u.flags&=-4097)}function Nse(u,f,v){fr=u,W4(u)}function W4(u,f,v){for(var C=(u.mode&1)!==0;fr!==null;){var $=fr,Z=$.child;if($.tag===22&&C){var ye=$.memoizedState!==null||eg;if(!ye){var ke=$.alternate,ze=ke!==null&&ke.memoizedState!==null||$a;ke=eg;var gt=$a;if(eg=ye,($a=ze)&&!gt)for(fr=$;fr!==null;)ye=fr,ze=ye.child,ye.tag===22&&ye.memoizedState!==null?Y4($):ze!==null?(ze.return=ye,fr=ze):Y4($);for(;Z!==null;)fr=Z,W4(Z),Z=Z.sibling;fr=$,eg=ke,$a=gt}G4(u)}else($.subtreeFlags&8772)!==0&&Z!==null?(Z.return=$,fr=Z):G4(u)}}function G4(u){for(;fr!==null;){var f=fr;if((f.flags&8772)!==0){var v=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:$a||tg(5,f);break;case 1:var C=f.stateNode;if(f.flags&4&&!$a)if(v===null)C.componentDidMount();else{var $=f.elementType===f.type?v.memoizedProps:$s(f.type,v.memoizedProps);C.componentDidUpdate($,v.memoizedState,C.__reactInternalSnapshotBeforeUpdate)}var Z=f.updateQueue;Z!==null&&$k(f,Z,C);break;case 3:var ye=f.updateQueue;if(ye!==null){if(v=null,f.child!==null)switch(f.child.tag){case 5:v=f.child.stateNode;break;case 1:v=f.child.stateNode}$k(f,ye,v)}break;case 5:var ke=f.stateNode;if(v===null&&f.flags&4){v=ke;var ze=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":ze.autoFocus&&v.focus();break;case"img":ze.src&&(v.src=ze.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var gt=f.alternate;if(gt!==null){var qt=gt.memoizedState;if(qt!==null){var ar=qt.dehydrated;ar!==null&&uo(ar)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}$a||f.flags&512&&I0(f)}catch(Nt){Ui(f,f.return,Nt)}}if(f===u){fr=null;break}if(v=f.sibling,v!==null){v.return=f.return,fr=v;break}fr=f.return}}function K4(u){for(;fr!==null;){var f=fr;if(f===u){fr=null;break}var v=f.sibling;if(v!==null){v.return=f.return,fr=v;break}fr=f.return}}function Y4(u){for(;fr!==null;){var f=fr;try{switch(f.tag){case 0:case 11:case 15:var v=f.return;try{tg(4,f)}catch(ze){Ui(f,v,ze)}break;case 1:var C=f.stateNode;if(typeof C.componentDidMount=="function"){var $=f.return;try{C.componentDidMount()}catch(ze){Ui(f,$,ze)}}var Z=f.return;try{I0(f)}catch(ze){Ui(f,Z,ze)}break;case 5:var ye=f.return;try{I0(f)}catch(ze){Ui(f,ye,ze)}}}catch(ze){Ui(f,f.return,ze)}if(f===u){fr=null;break}var ke=f.sibling;if(ke!==null){ke.return=f.return,fr=ke;break}fr=f.return}}var Mse=Math.ceil,rg=T.ReactCurrentDispatcher,D0=T.ReactCurrentOwner,gs=T.ReactCurrentBatchConfig,An=0,ra=null,Qi=null,Sa=0,zo=0,Qf=vl(0),na=0,Fh=null,gc=0,ng=0,L0=0,jh=null,yo=null,N0=0,Zf=1/0,Nu=null,ig=!1,M0=null,El=null,ag=!1,wl=null,og=0,Uh=0,$0=null,sg=-1,ug=0;function Ja(){return(An&6)!==0?nt():sg!==-1?sg:sg=nt()}function bl(u){return(u.mode&1)===0?1:(An&2)!==0&&Sa!==0?Sa&-Sa:Sse.transition!==null?(ug===0&&(ug=qe()),ug):(u=Zt,u!==0||(u=window.event,u=u===void 0?16:Au(u.type)),u)}function ms(u,f,v){if(50<Uh)throw Uh=0,$0=null,Error(r(185));var C=lg(u,f);return C===null?null:(rt(C,f,v),((An&2)===0||C!==ra)&&(C===ra&&((An&2)===0&&(ng|=f),na===4&&Cl(C,Sa)),_o(C,v),f===1&&An===0&&(u.mode&1)===0&&(Zf=nt()+500,Mv&&ml())),C)}function lg(u,f){u.lanes|=f;var v=u.alternate;for(v!==null&&(v.lanes|=f),v=u,u=u.return;u!==null;)u.childLanes|=f,v=u.alternate,v!==null&&(v.childLanes|=f),v=u,u=u.return;return v.tag===3?v.stateNode:null}function X4(u){return(ra!==null||Fs!==null)&&(u.mode&1)!==0&&(An&2)===0}function _o(u,f){var v=u.callbackNode;se(u,f);var C=ka(u,u===ra?Sa:0);if(C===0)v!==null&&gr(v),u.callbackNode=null,u.callbackPriority=0;else if(f=C&-C,u.callbackPriority!==f){if(v!=null&&gr(v),f===1)u.tag===0?_se(Z4.bind(null,u)):Lk(Z4.bind(null,u)),vse(function(){An===0&&ml()}),v=null;else{switch(Cr(C)){case 1:v=Lt;break;case 4:v=dt;break;case 16:v=Gt;break;case 536870912:v=Jr;break;default:v=Gt}v=oD(v,Q4.bind(null,u))}u.callbackPriority=f,u.callbackNode=v}}function Q4(u,f){if(sg=-1,ug=0,(An&6)!==0)throw Error(r(327));var v=u.callbackNode;if(Jf()&&u.callbackNode!==v)return null;var C=ka(u,u===ra?Sa:0);if(C===0)return null;if((C&30)!==0||(C&u.expiredLanes)!==0||f)f=cg(u,C);else{f=C;var $=An;An|=2;var Z=eD();(ra!==u||Sa!==f)&&(Nu=null,Zf=nt()+500,yc(u,f));do try{jse();break}catch(ke){J4(u,ke)}while(!0);J1(),rg.current=Z,An=$,Qi!==null?f=0:(ra=null,Sa=0,f=na)}if(f!==0){if(f===2&&($=Ce(u),$!==0&&(C=$,f=F0(u,$))),f===1)throw v=Fh,yc(u,0),Cl(u,C),_o(u,nt()),v;if(f===6)Cl(u,C);else{if($=u.current.alternate,(C&30)===0&&!$se($)&&(f=cg(u,C),f===2&&(Z=Ce(u),Z!==0&&(C=Z,f=F0(u,Z))),f===1))throw v=Fh,yc(u,0),Cl(u,C),_o(u,nt()),v;switch(u.finishedWork=$,u.finishedLanes=C,f){case 0:case 1:throw Error(r(345));case 2:_c(u,yo,Nu);break;case 3:if(Cl(u,C),(C&130023424)===C&&(f=N0+500-nt(),10<f)){if(ka(u,0)!==0)break;if($=u.suspendedLanes,($&C)!==C){Ja(),u.pingedLanes|=u.suspendedLanes&$;break}u.timeoutHandle=G1(_c.bind(null,u,yo,Nu),f);break}_c(u,yo,Nu);break;case 4:if(Cl(u,C),(C&4194240)===C)break;for(f=u.eventTimes,$=-1;0<C;){var ye=31-Yr(C);Z=1<<ye,ye=f[ye],ye>$&&($=ye),C&=~Z}if(C=$,C=nt()-C,C=(120>C?120:480>C?480:1080>C?1080:1920>C?1920:3e3>C?3e3:4320>C?4320:1960*Mse(C/1960))-C,10<C){u.timeoutHandle=G1(_c.bind(null,u,yo,Nu),C);break}_c(u,yo,Nu);break;case 5:_c(u,yo,Nu);break;default:throw Error(r(329))}}}return _o(u,nt()),u.callbackNode===v?Q4.bind(null,u):null}function F0(u,f){var v=jh;return u.current.memoizedState.isDehydrated&&(yc(u,f).flags|=256),u=cg(u,f),u!==2&&(f=yo,yo=v,f!==null&&j0(f)),u}function j0(u){yo===null?yo=u:yo.push.apply(yo,u)}function $se(u){for(var f=u;;){if(f.flags&16384){var v=f.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var C=0;C<v.length;C++){var $=v[C],Z=$.getSnapshot;$=$.value;try{if(!tr(Z(),$))return!1}catch{return!1}}}if(v=f.child,f.subtreeFlags&16384&&v!==null)v.return=f,f=v;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 Cl(u,f){for(f&=~L0,f&=~ng,u.suspendedLanes|=f,u.pingedLanes&=~f,u=u.expirationTimes;0<f;){var v=31-Yr(f),C=1<<v;u[v]=-1,f&=~C}}function Z4(u){if((An&6)!==0)throw Error(r(327));Jf();var f=ka(u,0);if((f&1)===0)return _o(u,nt()),null;var v=cg(u,f);if(u.tag!==0&&v===2){var C=Ce(u);C!==0&&(f=C,v=F0(u,C))}if(v===1)throw v=Fh,yc(u,0),Cl(u,f),_o(u,nt()),v;if(v===6)throw Error(r(345));return u.finishedWork=u.current.alternate,u.finishedLanes=f,_c(u,yo,Nu),_o(u,nt()),null}function U0(u,f){var v=An;An|=1;try{return u(f)}finally{An=v,An===0&&(Zf=nt()+500,Mv&&ml())}}function mc(u){wl!==null&&wl.tag===0&&(An&6)===0&&Jf();var f=An;An|=1;var v=gs.transition,C=Zt;try{if(gs.transition=null,Zt=1,u)return u()}finally{Zt=C,gs.transition=v,An=f,(An&6)===0&&ml()}}function q0(){zo=Qf.current,gi(Qf)}function yc(u,f){u.finishedWork=null,u.finishedLanes=0;var v=u.timeoutHandle;if(v!==-1&&(u.timeoutHandle=-1,pse(v)),Qi!==null)for(v=Qi.return;v!==null;){var C=v;switch(o0(C),C.tag){case 1:C=C.type.childContextTypes,C!=null&&Lv();break;case 3:Yf(),gi(po),gi(La),h0();break;case 5:f0(C);break;case 4:Yf();break;case 13:gi(ki);break;case 19:gi(ki);break;case 10:e0(C.type._context);break;case 22:case 23:q0()}v=v.return}if(ra=u,Qi=u=Tl(u.current,null),Sa=zo=f,na=0,Fh=null,L0=ng=gc=0,yo=jh=null,Fs!==null){for(f=0;f<Fs.length;f++)if(v=Fs[f],C=v.interleaved,C!==null){v.interleaved=null;var $=C.next,Z=v.pending;if(Z!==null){var ye=Z.next;Z.next=$,C.next=ye}v.pending=C}Fs=null}return u}function J4(u,f){do{var v=Qi;try{if(J1(),Wv.current=Xv,Gv){for(var C=Di.memoizedState;C!==null;){var $=C.queue;$!==null&&($.pending=null),C=C.next}Gv=!1}if(vc=0,pa=ta=Di=null,kh=!1,Dh=0,D0.current=null,v===null||v.return===null){na=1,Fh=f,Qi=null;break}e:{var Z=u,ye=v.return,ke=v,ze=f;if(f=Sa,ke.flags|=32768,ze!==null&&typeof ze=="object"&&typeof ze.then=="function"){var gt=ze,qt=ke,ar=qt.tag;if((qt.mode&1)===0&&(ar===0||ar===11||ar===15)){var Nt=qt.alternate;Nt?(qt.updateQueue=Nt.updateQueue,qt.memoizedState=Nt.memoizedState,qt.lanes=Nt.lanes):(qt.updateQueue=null,qt.memoizedState=null)}var lr=S4(ye);if(lr!==null){lr.flags&=-257,E4(lr,ye,ke,Z,f),lr.mode&1&&_4(Z,gt,f),f=lr,ze=gt;var nr=f.updateQueue;if(nr===null){var Qr=new Set;Qr.add(ze),f.updateQueue=Qr}else nr.add(ze);break e}else{if((f&1)===0){_4(Z,gt,f),V0();break e}ze=Error(r(426))}}else if(bi&&ke.mode&1){var zi=S4(ye);if(zi!==null){(zi.flags&65536)===0&&(zi.flags|=256),E4(zi,ye,ke,Z,f),l0(ze);break e}}Z=ze,na!==4&&(na=2),jh===null?jh=[Z]:jh.push(Z),ze=w0(ze,ke),ke=ye;do{switch(ke.tag){case 3:ke.flags|=65536,f&=-f,ke.lanes|=f;var ot=m4(ke,ze,f);Mk(ke,ot);break e;case 1:Z=ze;var Xe=ke.type,pt=ke.stateNode;if((ke.flags&128)===0&&(typeof Xe.getDerivedStateFromError=="function"||pt!==null&&typeof pt.componentDidCatch=="function"&&(El===null||!El.has(pt)))){ke.flags|=65536,f&=-f,ke.lanes|=f;var Qt=y4(ke,Z,f);Mk(ke,Qt);break e}}ke=ke.return}while(ke!==null)}rD(v)}catch(hr){f=hr,Qi===v&&v!==null&&(Qi=v=v.return);continue}break}while(!0)}function eD(){var u=rg.current;return rg.current=Xv,u===null?Xv:u}function V0(){(na===0||na===3||na===2)&&(na=4),ra===null||(gc&268435455)===0&&(ng&268435455)===0||Cl(ra,Sa)}function cg(u,f){var v=An;An|=2;var C=eD();(ra!==u||Sa!==f)&&(Nu=null,yc(u,f));do try{Fse();break}catch($){J4(u,$)}while(!0);if(J1(),An=v,rg.current=C,Qi!==null)throw Error(r(261));return ra=null,Sa=0,na}function Fse(){for(;Qi!==null;)tD(Qi)}function jse(){for(;Qi!==null&&!we();)tD(Qi)}function tD(u){var f=aD(u.alternate,u,zo);u.memoizedProps=u.pendingProps,f===null?rD(u):Qi=f,D0.current=null}function rD(u){var f=u;do{var v=f.alternate;if(u=f.return,(f.flags&32768)===0){if(v=Ose(v,f,zo),v!==null){Qi=v;return}}else{if(v=kse(v,f),v!==null){v.flags&=32767,Qi=v;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{na=6,Qi=null;return}}if(f=f.sibling,f!==null){Qi=f;return}Qi=f=u}while(f!==null);na===0&&(na=5)}function _c(u,f,v){var C=Zt,$=gs.transition;try{gs.transition=null,Zt=1,Use(u,f,v,C)}finally{gs.transition=$,Zt=C}return null}function Use(u,f,v,C){do Jf();while(wl!==null);if((An&6)!==0)throw Error(r(327));v=u.finishedWork;var $=u.finishedLanes;if(v===null)return null;if(u.finishedWork=null,u.finishedLanes=0,v===u.current)throw Error(r(177));u.callbackNode=null,u.callbackPriority=0;var Z=v.lanes|v.childLanes;if(Ot(u,Z),u===ra&&(Qi=ra=null,Sa=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||ag||(ag=!0,oD(Gt,function(){return Jf(),null})),Z=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||Z){Z=gs.transition,gs.transition=null;var ye=Zt;Zt=1;var ke=An;An|=4,D0.current=null,Lse(u,v),z4(v,u),Or(z1),ca=!!B1,z1=B1=null,u.current=v,Nse(v),ct(),An=ke,Zt=ye,gs.transition=Z}else u.current=v;if(ag&&(ag=!1,wl=u,og=$),Z=u.pendingLanes,Z===0&&(El=null),$t(v.stateNode),_o(u,nt()),f!==null)for(C=u.onRecoverableError,v=0;v<f.length;v++)C(f[v]);if(ig)throw ig=!1,u=M0,M0=null,u;return(og&1)!==0&&u.tag!==0&&Jf(),Z=u.pendingLanes,(Z&1)!==0?u===$0?Uh++:(Uh=0,$0=u):Uh=0,ml(),null}function Jf(){if(wl!==null){var u=Cr(og),f=gs.transition,v=Zt;try{if(gs.transition=null,Zt=16>u?16:u,wl===null)var C=!1;else{if(u=wl,wl=null,og=0,(An&6)!==0)throw Error(r(331));var $=An;for(An|=4,fr=u.current;fr!==null;){var Z=fr,ye=Z.child;if((fr.flags&16)!==0){var ke=Z.deletions;if(ke!==null){for(var ze=0;ze<ke.length;ze++){var gt=ke[ze];for(fr=gt;fr!==null;){var qt=fr;switch(qt.tag){case 0:case 11:case 15:$h(8,qt,Z)}var ar=qt.child;if(ar!==null)ar.return=qt,fr=ar;else for(;fr!==null;){qt=fr;var Nt=qt.sibling,lr=qt.return;if(U4(qt),qt===gt){fr=null;break}if(Nt!==null){Nt.return=lr,fr=Nt;break}fr=lr}}}var nr=Z.alternate;if(nr!==null){var Qr=nr.child;if(Qr!==null){nr.child=null;do{var zi=Qr.sibling;Qr.sibling=null,Qr=zi}while(Qr!==null)}}fr=Z}}if((Z.subtreeFlags&2064)!==0&&ye!==null)ye.return=Z,fr=ye;else e:for(;fr!==null;){if(Z=fr,(Z.flags&2048)!==0)switch(Z.tag){case 0:case 11:case 15:$h(9,Z,Z.return)}var ot=Z.sibling;if(ot!==null){ot.return=Z.return,fr=ot;break e}fr=Z.return}}var Xe=u.current;for(fr=Xe;fr!==null;){ye=fr;var pt=ye.child;if((ye.subtreeFlags&2064)!==0&&pt!==null)pt.return=ye,fr=pt;else e:for(ye=Xe;fr!==null;){if(ke=fr,(ke.flags&2048)!==0)try{switch(ke.tag){case 0:case 11:case 15:tg(9,ke)}}catch(hr){Ui(ke,ke.return,hr)}if(ke===ye){fr=null;break e}var Qt=ke.sibling;if(Qt!==null){Qt.return=ke.return,fr=Qt;break e}fr=ke.return}}if(An=$,ml(),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(en,u)}catch{}C=!0}return C}finally{Zt=v,gs.transition=f}}return!1}function nD(u,f,v){f=w0(v,f),f=m4(u,f,1),_l(u,f),f=Ja(),u=lg(u,1),u!==null&&(rt(u,1,f),_o(u,f))}function Ui(u,f,v){if(u.tag===3)nD(u,u,v);else for(;f!==null;){if(f.tag===3){nD(f,u,v);break}else if(f.tag===1){var C=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof C.componentDidCatch=="function"&&(El===null||!El.has(C))){u=w0(v,u),u=y4(f,u,1),_l(f,u),u=Ja(),f=lg(f,1),f!==null&&(rt(f,1,u),_o(f,u));break}}f=f.return}}function qse(u,f,v){var C=u.pingCache;C!==null&&C.delete(f),f=Ja(),u.pingedLanes|=u.suspendedLanes&v,ra===u&&(Sa&v)===v&&(na===4||na===3&&(Sa&130023424)===Sa&&500>nt()-N0?yc(u,0):L0|=v),_o(u,f)}function iD(u,f){f===0&&((u.mode&1)===0?f=1:(f=ya,ya<<=1,(ya&130023424)===0&&(ya=4194304)));var v=Ja();u=lg(u,f),u!==null&&(rt(u,f,v),_o(u,v))}function Vse(u){var f=u.memoizedState,v=0;f!==null&&(v=f.retryLane),iD(u,v)}function Hse(u,f){var v=0;switch(u.tag){case 13:var C=u.stateNode,$=u.memoizedState;$!==null&&(v=$.retryLane);break;case 19:C=u.stateNode;break;default:throw Error(r(314))}C!==null&&C.delete(f),iD(u,v)}var aD;aD=function(u,f,v){if(u!==null)if(u.memoizedProps!==f.pendingProps||po.current)mo=!0;else{if((u.lanes&v)===0&&(f.flags&128)===0)return mo=!1,Pse(u,f,v);mo=(u.flags&131072)!==0}else mo=!1,bi&&(f.flags&1048576)!==0&&Vk(f,Hv,f.index);switch(f.lanes=0,f.tag){case 2:var C=f.type;u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps;var $=Vf(f,La.current);Bf(f,v),$=g0(null,f,C,u,$,v);var Z=m0();return f.flags|=1,typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,vo(C)?(Z=!0,Nv(f)):Z=!1,f.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,r0(f),$.updater=qv,f.stateNode=$,$._reactInternals=f,i0(f,C,u,v),f=A0(null,f,C,!0,Z,v)):(f.tag=0,bi&&Z&&a0(f),Za(null,f,$,v),f=f.child),f;case 16:C=f.elementType;e:{switch(u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps,$=C._init,C=$(C._payload),f.type=C,$=f.tag=zse(C),u=$s(C,u),$){case 0:f=T0(null,f,C,u,v);break e;case 1:f=I4(null,f,C,u,v);break e;case 11:f=T4(null,f,C,u,v);break e;case 14:f=A4(null,f,C,$s(C.type,u),v);break e}throw Error(r(306,C,""))}return f;case 0:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),T0(u,f,C,$,v);case 1:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),I4(u,f,C,$,v);case 3:e:{if(P4(f),u===null)throw Error(r(387));C=f.pendingProps,Z=f.memoizedState,$=Z.element,Nk(u,f),Uv(f,C,null,v);var ye=f.memoizedState;if(C=ye.element,Z.isDehydrated)if(Z={element:C,isDehydrated:!1,cache:ye.cache,pendingSuspenseBoundaries:ye.pendingSuspenseBoundaries,transitions:ye.transitions},f.updateQueue.baseState=Z,f.memoizedState=Z,f.flags&256){$=Error(r(423)),f=k4(u,f,C,v,$);break e}else if(C!==$){$=Error(r(424)),f=k4(u,f,C,v,$);break e}else for(go=xu(f.stateNode.containerInfo.firstChild),Bo=f,bi=!0,js=null,v=Kk(f,null,C,v),f.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Gf(),C===$){f=Lu(u,f,v);break e}Za(u,f,C,v)}f=f.child}return f;case 5:return Yk(f),u===null&&u0(f),C=f.type,$=f.pendingProps,Z=u!==null?u.memoizedProps:null,ye=$.children,W1(C,$)?ye=null:Z!==null&&W1(C,Z)&&(f.flags|=32),O4(u,f),Za(u,f,ye,v),f.child;case 6:return u===null&&u0(f),null;case 13:return L4(u,f,v);case 4:return c0(f,f.stateNode.containerInfo),C=f.pendingProps,u===null?f.child=Kf(f,null,C,v):Za(u,f,C,v),f.child;case 11:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),T4(u,f,C,$,v);case 7:return Za(u,f,f.pendingProps,v),f.child;case 8:return Za(u,f,f.pendingProps.children,v),f.child;case 12:return Za(u,f,f.pendingProps.children,v),f.child;case 10:e:{if(C=f.type._context,$=f.pendingProps,Z=f.memoizedProps,ye=$.value,ci($v,C._currentValue),C._currentValue=ye,Z!==null)if(tr(Z.value,ye)){if(Z.children===$.children&&!po.current){f=Lu(u,f,v);break e}}else for(Z=f.child,Z!==null&&(Z.return=f);Z!==null;){var ke=Z.dependencies;if(ke!==null){ye=Z.child;for(var ze=ke.firstContext;ze!==null;){if(ze.context===C){if(Z.tag===1){ze=Pu(-1,v&-v),ze.tag=2;var gt=Z.updateQueue;if(gt!==null){gt=gt.shared;var qt=gt.pending;qt===null?ze.next=ze:(ze.next=qt.next,qt.next=ze),gt.pending=ze}}Z.lanes|=v,ze=Z.alternate,ze!==null&&(ze.lanes|=v),t0(Z.return,v,f),ke.lanes|=v;break}ze=ze.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|=v,ke=ye.alternate,ke!==null&&(ke.lanes|=v),t0(ye,v,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}Za(u,f,$.children,v),f=f.child}return f;case 9:return $=f.type,C=f.pendingProps.children,Bf(f,v),$=ds($),C=C($),f.flags|=1,Za(u,f,C,v),f.child;case 14:return C=f.type,$=$s(C,f.pendingProps),$=$s(C.type,$),A4(u,f,C,$,v);case 15:return R4(u,f,f.type,f.pendingProps,v);case 17:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,vo(C)?(u=!0,Nv(f)):u=!1,Bf(f,v),Uk(f,C,$),i0(f,C,$,v),A0(null,f,C,!0,u,v);case 19:return F4(u,f,v);case 22:return x4(u,f,v)}throw Error(r(156,f.tag))};function oD(u,f){return xt(u,f)}function Bse(u,f,v,C){this.tag=u,this.key=v,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=C,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ys(u,f,v,C){return new Bse(u,f,v,C)}function H0(u){return u=u.prototype,!(!u||!u.isReactComponent)}function zse(u){if(typeof u=="function")return H0(u)?1:0;if(u!=null){if(u=u.$$typeof,u===B)return 11;if(u===X)return 14}return 2}function Tl(u,f){var v=u.alternate;return v===null?(v=ys(u.tag,f,u.key,u.mode),v.elementType=u.elementType,v.type=u.type,v.stateNode=u.stateNode,v.alternate=u,u.alternate=v):(v.pendingProps=f,v.type=u.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=u.flags&14680064,v.childLanes=u.childLanes,v.lanes=u.lanes,v.child=u.child,v.memoizedProps=u.memoizedProps,v.memoizedState=u.memoizedState,v.updateQueue=u.updateQueue,f=u.dependencies,v.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},v.sibling=u.sibling,v.index=u.index,v.ref=u.ref,v}function fg(u,f,v,C,$,Z){var ye=2;if(C=u,typeof u=="function")H0(u)&&(ye=1);else if(typeof u=="string")ye=5;else e:switch(u){case y:return Sc(v.children,$,Z,f);case P:ye=8,$|=8;break;case D:return u=ys(12,v,f,$|2),u.elementType=D,u.lanes=Z,u;case K:return u=ys(13,v,f,$),u.elementType=K,u.lanes=Z,u;case Q:return u=ys(19,v,f,$),u.elementType=Q,u.lanes=Z,u;case ue:return dg(v,$,Z,f);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case V:ye=10;break e;case F:ye=9;break e;case B:ye=11;break e;case X:ye=14;break e;case te:ye=16,C=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return f=ys(ye,v,f,$),f.elementType=u,f.type=C,f.lanes=Z,f}function Sc(u,f,v,C){return u=ys(7,u,C,f),u.lanes=v,u}function dg(u,f,v,C){return u=ys(22,u,C,f),u.elementType=ue,u.lanes=v,u.stateNode={},u}function B0(u,f,v){return u=ys(6,u,null,f),u.lanes=v,u}function z0(u,f,v){return f=ys(4,u.children!==null?u.children:[],u.key,f),f.lanes=v,f.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},f}function Wse(u,f,v,C,$){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=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=C,this.onRecoverableError=$,this.mutableSourceEagerHydrationData=null}function W0(u,f,v,C,$,Z,ye,ke,ze){return u=new Wse(u,f,v,ke,ze),f===1?(f=1,Z===!0&&(f|=8)):f=0,Z=ys(3,null,null,f),u.current=Z,Z.stateNode=u,Z.memoizedState={element:C,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},r0(Z),u}function Gse(u,f,v){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:C==null?null:""+C,children:u,containerInfo:f,implementation:v}}function sD(u){if(!u)return gl;u=u._reactInternals;e:{if(xi(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(vo(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(u.tag===1){var v=u.type;if(vo(v))return kk(u,v,f)}return f}function uD(u,f,v,C,$,Z,ye,ke,ze){return u=W0(v,C,!0,u,$,Z,ye,ke,ze),u.context=sD(null),v=u.current,C=Ja(),$=bl(v),Z=Pu(C,$),Z.callback=f??null,_l(v,Z),u.current.lanes=$,rt(u,$,C),_o(u,C),u}function hg(u,f,v,C){var $=f.current,Z=Ja(),ye=bl($);return v=sD(v),f.context===null?f.context=v:f.pendingContext=v,f=Pu(Z,ye),f.payload={element:u},C=C===void 0?null:C,C!==null&&(f.callback=C),_l($,f),u=ms($,ye,Z),u!==null&&jv(u,$,ye),ye}function pg(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 lD(u,f){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var v=u.retryLane;u.retryLane=v!==0&&v<f?v:f}}function G0(u,f){lD(u,f),(u=u.alternate)&&lD(u,f)}function Kse(){return null}var cD=typeof reportError=="function"?reportError:function(u){console.error(u)};function K0(u){this._internalRoot=u}vg.prototype.render=K0.prototype.render=function(u){var f=this._internalRoot;if(f===null)throw Error(r(409));hg(u,f,null,null)},vg.prototype.unmount=K0.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var f=u.containerInfo;mc(function(){hg(null,u,null,null)}),f[Ou]=null}};function vg(u){this._internalRoot=u}vg.prototype.unstable_scheduleHydration=function(u){if(u){var f=Ii();u={blockedOn:null,target:u,priority:f};for(var v=0;v<la.length&&f!==0&&f<la[v].priority;v++);la.splice(v,0,u),v===0&&Ya(u)}};function Y0(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function gg(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function fD(){}function Yse(u,f,v,C,$){if($){if(typeof C=="function"){var Z=C;C=function(){var gt=pg(ye);Z.call(gt)}}var ye=uD(f,C,u,0,null,!1,!1,"",fD);return u._reactRootContainer=ye,u[Ou]=ye.current,bh(u.nodeType===8?u.parentNode:u),mc(),ye}for(;$=u.lastChild;)u.removeChild($);if(typeof C=="function"){var ke=C;C=function(){var gt=pg(ze);ke.call(gt)}}var ze=W0(u,0,!1,null,null,!1,!1,"",fD);return u._reactRootContainer=ze,u[Ou]=ze.current,bh(u.nodeType===8?u.parentNode:u),mc(function(){hg(f,ze,v,C)}),ze}function mg(u,f,v,C,$){var Z=v._reactRootContainer;if(Z){var ye=Z;if(typeof $=="function"){var ke=$;$=function(){var ze=pg(ye);ke.call(ze)}}hg(f,ye,u,$)}else ye=Yse(v,f,u,$,C);return pg(ye)}Pr=function(u){switch(u.tag){case 3:var f=u.stateNode;if(f.current.memoizedState.isDehydrated){var v=Wa(f.pendingLanes);v!==0&&(zt(f,v|1),_o(f,nt()),(An&6)===0&&(Zf=nt()+500,ml()))}break;case 13:var C=Ja();mc(function(){return ms(u,1,C)}),G0(u,1)}},Mn=function(u){if(u.tag===13){var f=Ja();ms(u,134217728,f),G0(u,134217728)}},Oi=function(u){if(u.tag===13){var f=Ja(),v=bl(u);ms(u,v,f),G0(u,v)}},Ii=function(){return Zt},ls=function(u,f){var v=Zt;try{return Zt=u,f()}finally{Zt=v}},ut=function(u,f,v){switch(f){case"input":if(Se(u,v),f=v.name,v.type==="radio"&&f!=null){for(v=u;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<v.length;f++){var C=v[f];if(C!==u&&C.form===u.form){var $=Dv(C);if(!$)throw Error(r(90));q(C),Se(C,$)}}}break;case"textarea":De(u,v);break;case"select":f=v.value,f!=null&&Ee(u,!!v.multiple,f,!1)}},mr=U0,Lr=mc;var Xse={usingClientEntryPoint:!1,Events:[Ah,Uf,Dv,Sr,ur,U0]},qh={findFiberByHostInstance:cc,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},Qse={bundleType:qh.bundleType,version:qh.version,rendererPackageName:qh.rendererPackageName,rendererConfig:qh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=vt(u),u===null?null:u.stateNode},findFiberByHostInstance:qh.findFiberByHostInstance||Kse,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 yg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yg.isDisabled&&yg.supportsFiber)try{en=yg.inject(Qse),fn=yg}catch{}}return So.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xse,So.createPortal=function(u,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Y0(f))throw Error(r(200));return Gse(u,f,null,v)},So.createRoot=function(u,f){if(!Y0(u))throw Error(r(299));var v=!1,C="",$=cD;return f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(C=f.identifierPrefix),f.onRecoverableError!==void 0&&($=f.onRecoverableError)),f=W0(u,1,!1,null,null,v,!1,C,$),u[Ou]=f.current,bh(u.nodeType===8?u.parentNode:u),new K0(f)},So.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=vt(f),u=u===null?null:u.stateNode,u},So.flushSync=function(u){return mc(u)},So.hydrate=function(u,f,v){if(!gg(f))throw Error(r(200));return mg(null,u,f,!0,v)},So.hydrateRoot=function(u,f,v){if(!Y0(u))throw Error(r(405));var C=v!=null&&v.hydratedSources||null,$=!1,Z="",ye=cD;if(v!=null&&(v.unstable_strictMode===!0&&($=!0),v.identifierPrefix!==void 0&&(Z=v.identifierPrefix),v.onRecoverableError!==void 0&&(ye=v.onRecoverableError)),f=uD(f,null,u,1,v??null,$,!1,Z,ye),u[Ou]=f.current,bh(u),C)for(u=0;u<C.length;u++)v=C[u],$=v._getVersion,$=$(v._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[v,$]:f.mutableSourceEagerHydrationData.push(v,$);return new vg(f)},So.render=function(u,f,v){if(!gg(f))throw Error(r(200));return mg(null,u,f,!1,v)},So.unmountComponentAtNode=function(u){if(!gg(u))throw Error(r(40));return u._reactRootContainer?(mc(function(){mg(null,null,u,!1,function(){u._reactRootContainer=null,u[Ou]=null})}),!0):!1},So.unstable_batchedUpdates=U0,So.unstable_renderSubtreeIntoContainer=function(u,f,v,C){if(!gg(v))throw Error(r(200));if(u==null||u._reactInternals===void 0)throw Error(r(38));return mg(u,f,v,!1,C)},So.version="18.1.0-next-22edb9f77-20220426",So}var NY;function Kne(){if(NY)return ex.exports;NY=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(),ex.exports=qbe(),ex.exports}var v3=Kne();const Fc=Ln(v3);function Vbe(e){e()}let Yne=Vbe;const Hbe=e=>Yne=e,Bbe=()=>Yne,zl=Xt.createContext(null);function Xne(){return ge.useContext(zl)}const zbe=()=>{throw new Error("uSES not initialized!")};let Qne=zbe;const Wbe=e=>{Qne=e},Gbe=(e,t)=>e===t;function Kbe(e=zl){const t=e===zl?Xne:()=>ge.useContext(e);return function(n,i=Gbe){const{store:a,subscription:o,getServerState:l}=t(),s=Qne(o.addNestedSub,a.getState,l||a.getState,n,i);return ge.useDebugValue(s),s}}const Zne=Kbe();function Pp(){return Pp=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},Pp.apply(null,arguments)}function _1(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 nx={exports:{}},Fn={};/** @license React v16.13.1
112
+ * react-is.production.min.js
113
+ *
114
+ * Copyright (c) Facebook, Inc. and its affiliates.
115
+ *
116
+ * This source code is licensed under the MIT license found in the
117
+ * LICENSE file in the root directory of this source tree.
118
+ */var MY;function Ybe(){if(MY)return Fn;MY=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,l=e?Symbol.for("react.context"):60110,s=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,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function x(A){if(typeof A=="object"&&A!==null){var O=A.$$typeof;switch(O){case t:switch(A=A.type,A){case s:case c:case n:case a:case i:case h:return A;default:switch(A=A&&A.$$typeof,A){case l:case d:case m:case g:case o:return A;default:return O}}case r:return O}}}function T(A){return x(A)===c}return Fn.AsyncMode=s,Fn.ConcurrentMode=c,Fn.ContextConsumer=l,Fn.ContextProvider=o,Fn.Element=t,Fn.ForwardRef=d,Fn.Fragment=n,Fn.Lazy=m,Fn.Memo=g,Fn.Portal=r,Fn.Profiler=a,Fn.StrictMode=i,Fn.Suspense=h,Fn.isAsyncMode=function(A){return T(A)||x(A)===s},Fn.isConcurrentMode=T,Fn.isContextConsumer=function(A){return x(A)===l},Fn.isContextProvider=function(A){return x(A)===o},Fn.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},Fn.isForwardRef=function(A){return x(A)===d},Fn.isFragment=function(A){return x(A)===n},Fn.isLazy=function(A){return x(A)===m},Fn.isMemo=function(A){return x(A)===g},Fn.isPortal=function(A){return x(A)===r},Fn.isProfiler=function(A){return x(A)===a},Fn.isStrictMode=function(A){return x(A)===i},Fn.isSuspense=function(A){return x(A)===h},Fn.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===c||A===a||A===i||A===h||A===p||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===g||A.$$typeof===o||A.$$typeof===l||A.$$typeof===d||A.$$typeof===E||A.$$typeof===w||A.$$typeof===b||A.$$typeof===_)},Fn.typeOf=x,Fn}var $Y;function Xbe(){return $Y||($Y=1,nx.exports=Ybe()),nx.exports}var ix,FY;function Qbe(){if(FY)return ix;FY=1;var e=Xbe(),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(m){return e.isMemo(m)?i:a[m.$$typeof]||t}var l=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function g(m,_,E){if(typeof _!="string"){if(p){var w=h(_);w&&w!==p&&g(m,w,E)}var b=s(_);c&&(b=b.concat(c(_)));for(var x=o(m),T=o(_),A=0;A<b.length;++A){var O=b[A];if(!r[O]&&!(E&&E[O])&&!(T&&T[O])&&!(x&&x[O])){var y=d(_,O);try{l(m,O,y)}catch{}}}}return m}return ix=g,ix}var Zbe=Qbe();const Jbe=Ln(Zbe);var ax={exports:{}},jn={};/**
119
+ * @license React
120
+ * react-is.production.min.js
121
+ *
122
+ * Copyright (c) Facebook, Inc. and its affiliates.
123
+ *
124
+ * This source code is licensed under the MIT license found in the
125
+ * LICENSE file in the root directory of this source tree.
126
+ */var jY;function eCe(){if(jY)return jn;jY=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"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function _(E){if(typeof E=="object"&&E!==null){var w=E.$$typeof;switch(w){case e:switch(E=E.type,E){case r:case i:case n:case c:case d:return E;default:switch(E=E&&E.$$typeof,E){case l:case o:case s:case p:case h:case a:return E;default:return w}}case t:return w}}}return jn.ContextConsumer=o,jn.ContextProvider=a,jn.Element=e,jn.ForwardRef=s,jn.Fragment=r,jn.Lazy=p,jn.Memo=h,jn.Portal=t,jn.Profiler=i,jn.StrictMode=n,jn.Suspense=c,jn.SuspenseList=d,jn.isAsyncMode=function(){return!1},jn.isConcurrentMode=function(){return!1},jn.isContextConsumer=function(E){return _(E)===o},jn.isContextProvider=function(E){return _(E)===a},jn.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},jn.isForwardRef=function(E){return _(E)===s},jn.isFragment=function(E){return _(E)===r},jn.isLazy=function(E){return _(E)===p},jn.isMemo=function(E){return _(E)===h},jn.isPortal=function(E){return _(E)===t},jn.isProfiler=function(E){return _(E)===i},jn.isStrictMode=function(E){return _(E)===n},jn.isSuspense=function(E){return _(E)===c},jn.isSuspenseList=function(E){return _(E)===d},jn.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===i||E===n||E===c||E===d||E===g||typeof E=="object"&&E!==null&&(E.$$typeof===p||E.$$typeof===h||E.$$typeof===a||E.$$typeof===o||E.$$typeof===s||E.$$typeof===m||E.getModuleId!==void 0)},jn.typeOf=_,jn}var UY;function tCe(){return UY||(UY=1,ax.exports=eCe()),ax.exports}tCe();function rCe(){const e=Bbe();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 qY={notify(){},get:()=>[]};function nCe(e,t){let r,n=qY;function i(h){return s(),n.subscribe(h)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function l(){return!!r}function s(){r||(r=e.subscribe(o),n=rCe())}function c(){r&&(r(),r=void 0,n.clear(),n=qY)}const d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:s,tryUnsubscribe:c,getListeners:()=>n};return d}const iCe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aCe=iCe?ge.useLayoutEffect:ge.useEffect;function Jne({store:e,context:t,children:r,serverState:n}){const i=ge.useMemo(()=>{const l=nCe(e);return{store:e,subscription:l,getServerState:n?()=>n:void 0}},[e,n]),a=ge.useMemo(()=>e.getState(),[e]);aCe(()=>{const{subscription:l}=i;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==e.getState()&&l.notifyNestedSubs(),()=>{l.tryUnsubscribe(),l.onStateChange=void 0}},[i,a]);const o=t||zl;return Xt.createElement(o.Provider,{value:i},r)}function eie(e=zl){const t=e===zl?Xne:()=>ge.useContext(e);return function(){const{store:n}=t();return n}}const oCe=eie();function sCe(e=zl){const t=e===zl?oCe:eie(e);return function(){return t().dispatch}}const mv=sCe();Wbe(Fbe.useSyncExternalStoreWithSelector);Hbe(v3.unstable_batchedUpdates);var qm="NOT_FOUND";function uCe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:qm},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function lCe(e,t){var r=[];function n(l){var s=r.findIndex(function(d){return t(l,d.key)});if(s>-1){var c=r[s];return s>0&&(r.splice(s,1),r.unshift(c)),c.value}return qm}function i(l,s){n(l)===qm&&(r.unshift({key:l,value:s}),r.length>e&&r.pop())}function a(){return r}function o(){r=[]}return{get:n,put:i,getEntries:a,clear:o}}var cCe=function(t,r){return t===r};function fCe(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 dCe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?cCe:n,a=r.maxSize,o=a===void 0?1:a,l=r.resultEqualityCheck,s=fCe(i),c=o===1?uCe(s):lCe(o,s);function d(){var h=c.get(arguments);if(h===qm){if(h=e.apply(null,arguments),l){var p=c.getEntries(),g=p.find(function(m){return l(m.value,h)});g&&(h=g.value)}c.put(arguments,h)}return h}return d.clearCache=function(){return c.clear()},d}function hCe(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 pCe(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,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];var c=0,d,h={memoizeOptions:void 0},p=l.pop();if(typeof p=="object"&&(h=p,p=l.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var g=h,m=g.memoizeOptions,_=m===void 0?r:m,E=Array.isArray(_)?_:[_],w=hCe(l),b=e.apply(void 0,[function(){return c++,p.apply(null,arguments)}].concat(E)),x=e(function(){for(var A=[],O=w.length,y=0;y<O;y++)A.push(w[y].apply(null,arguments));return d=b.apply(null,A),d});return Object.assign(x,{resultFunc:p,memoizedResultFunc:b,dependencies:w,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),x};return i}const g3={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(a=>{const o=new RegExp(a,"i"),l=Object.keys(e.resources).filter(s=>o.test(s));i.push(...l)}),r&&(i=i.filter(a=>a!==r)),i.reduce((a,o)=>(a[o]=!0,a),{})},updateState(e,t,r){const n=e.getState(),i=g3.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(l=>i[l]).reduce((l,s)=>{const c=n.flightData.resources[s];let d=c.response;return c.request.normalize&&(d=p3(c.response,n.flightData.entities)),l[s]=d,l},{})},o=t.updateData(a,r);Object.keys(o).forEach(l=>{const s=n.flightData.resources[l],c=o[l];let d={result:c,entities:{}};s.request.normalize&&(d=One(c,s.request.normalizeOptions)),e.dispatch({type:to.UPDATE,result:d.result,entities:d.entities,request:s.request})})}};function vCe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const VY={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:XP.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());i()}},vCe(t))}},gCe={isPublicRequest(e){return e.publicUrl!==void 0}},mCe=1e3,yCe=12,HY=18;function ox(e){const t=+e;return isNaN(t)||!t?0:t}const kp={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*mCe;return e<kp.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=yCe&&t<HY?"afternoon":t>=HY?"evening":"morning"},convertDurationToSeconds(e,t,r){return ox(e)*60*60+ox(t)*60+ox(r)}};class tie{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===hu.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?kp.isExpired(this.requestTime,this.cacheDuration(this.data)):kp.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===hu.Fetching}get hasError(){return this.status===hu.Error}}function _Ce(e,t){var n,i;if(!oa.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 SCe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return pCe(dCe,_Ce)(t,n=>S1(e,n.resource,n.entities).response)}function S1(e,t,r){if(!e||!t)return{resource:t,response:ECe()};let n=t.response;t.request.normalize!==!1&&(n=p3(t.response,r));const i=new tie({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function ECe(){return new tie({status:hu.None})}function rie(e,t){return S1(t,e.flightData.resources[t],e.flightData.entities).response}function nie(e){return t=>{t&&hh(e,t)}}function wCe(e){return t=>{if(t)return iie(e,t)}}function hh(e,t){e({type:to.API_REQUEST,request:t})}function iie(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)},hh(e,t)})}function m3(e,t){var o,l,s,c;const r=e.getState(),n=t==null?void 0:t.key,i=S1(n,r.flightData.resources[n],r.flightData.entities),a=i.response;if(t&&a.shouldFetch){hh(e.dispatch,t);return}if(a.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,m3(e,t))});return}a.hasError?((o=t.error)==null||o.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(l=t.always)==null||l.call(t)):((s=t.success)==null||s.call(t,a.data),(c=t.always)==null||c.call(t))}function P8e(){const e=mv();return nie(e)}function k8e(){const e=mv();return wCe(e)}function bCe(e){const t=ge.useMemo(()=>SCe(e),[e]);return Zne(r=>t(r))}function Ji(e){const t=mv(),r=bCe(e&&e.key),n=nie(t);return ge.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function ia(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)},m3(e,t)})}async function Uu(e,t){const r=e.getState(),{response:n}=S1(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?ia(e,t):(n.shouldFetch&&hh(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function CCe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,a=Object.freeze({key:null,url:null,type:_i.GET,normalize:!0,formatData:o=>o,cacheDuration:i});return function(l){return s=>c=>{if(c.type!==to.API_REQUEST){s(c);return}const d=l.getState(),{success:h,error:p,always:g,formatData:m,..._}=Object.assign({},a,c.request),E=d.flightData.resources[_.key];if(s(c),E&&E.status===hu.Fetching)return;if(_.bootstrapName&&n&&n[c.request.bootstrapName]){x(n[c.request.bootstrapName]),A(),delete n[c.request.bootstrapName];return}const w={resource:_.url,type:_.type,data:_.data,success:x,error:T,always:A};if(typeof r!="function"){b(w);return}r(w,_).then(b);return;function b(O){if(VY.isSimulated(_)){VY.simulateFetchData(O,_);return}t(O)}function x(O,y){const P=m(O);let D={result:P,entities:{}};_.normalize&&(D=One(P,_.normalizeOptions)),l.dispatch({type:to.API_RESPONSE,result:D.result,entities:D.entities,request:_,timestamp:kp.currentTimestamp(),xhr:y});let V=D.result;if(_.normalize){const F={...d.flightData.entities,...D.entities};V=p3(D.result,F)}_.updateState&&(Array.isArray(_.updateState)?_.updateState:[_.updateState]).forEach(B=>{g3.updateState(l,B,V)}),_.invalidationKeys&&l.dispatch({type:to.INVALIDATE,keys:_.invalidationKeys,request:_}),h&&h(V)}function T(O){l.dispatch({type:to.API_ERROR,errorResponse:O.responseJSON,request:c.request,timestamp:kp.currentTimestamp(),xhr:O}),_.invalidationKeys&&l.dispatch({type:to.INVALIDATE,keys:_.invalidationKeys,request:_}),p&&p(O)}function A(){g&&g()}}}}function aie(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]};oa.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function TCe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:hu.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function ACe(e,t){var r;return{entities:aie(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:hu.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 RCe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:hu.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function xCe(e,t){var n;const r=g3.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:hu.None}),i},{})}}}function OCe(e=oie,t){return{entities:aie(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 oie={resources:{},entities:{}};function ICe(e=oie,t){switch(t.type){case to.API_REQUEST:return TCe(e,t);case to.API_RESPONSE:return ACe(e,t);case to.API_ERROR:return RCe(e,t);case to.INVALIDATE:return xCe(e,t);case to.UPDATE:return OCe(e,t)}return e}const Bn={first(e){return pp(e)},firstFew(e,t){return pp(e,t)},last(e){return MO(e)},lastFew(e,t){return MO(e,t)},max(e,t){return HP(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 r1(e,t)},findWhere(e,t){return Pre(e,t)},where(e,t){return Dre(e,t)},groupBy(e,t){return Fre(e,t)},countBy(e,t){return jre(e,t)},flatten(e,t){return qre(e,t)},intersection(...e){return Hre(...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=oa.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return $re(e,t)},chunk(e,t){return zre(e,t)},uniq(e,t){return Op(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,oa.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 Mre(e)}};var jl=(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))(jl||{}),Ws=(e=>(e.ManageSubjectPreferences="subjects.preferences.manage",e.FollowSubjects="subjects.follow",e.ViewClassrooms="classrooms.view",e.ManageAllClassrooms="classrooms.manage.all",e.JoinClassroom="classroom.join",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.ContributeVideo="video.contribute",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))(Ws||{}),eo=(e=>(e.ManagePublicPresentation="presentation.public.manage",e.ManageDiscoverPreferences="discover.preferences.manage",e.ViewPlaylistsLanding="playlists.landing.view",e.ViewMyVideosLanding="myvideos.landing.view",e.ViewMyFavouritesLanding="myfavourites.landing.view",e.ViewWatchHistoryLanding="watchhistory.landing.view",e.ViewMySharesLanding="myshares.landing.view",e.WatchVideos="video.watch",e.UseVideoActions="video.actions",e.UseSeriesActions="series.actions",e.ViewVideoResourceItems="video.resourceitems.view",e.ViewNotifications="notifications.view",e.ViewTrendingTopics="classifications.trending.view",e.FollowComingSoonTopics="classifications.comingsoon.follow",e))(eo||{}),xo=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(xo||{});const Ks={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"}}},PCe=/\/$/,ga={urlBuilder(e,t){const n=Object.entries(t).map(([i,a])=>i&&Array.isArray(a)?a.map(l=>`${i}=${encodeURIComponent(l)}`).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(PCe,"")}},Vm={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"},D8e={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"},BY={domainLibraries(e,t,r,n){return{url:ga.urlBuilder("/api/domain/v2/me/libraries",{type:e,maxCategoryDepth:0}),key:`libraries:${e.sort().join(":")}`,formatData:i=>i.map(a=>a.data),success:t,error:r,always:n}},libraryRequestLibraries(){return{url:"{gateway}/v1/library-requests/libraries",key:"libraries"}},librariesWithCategories(){return{url:ga.urlBuilder("/api/domain/v2/me/libraries",{type:["sharedLibrary","customLibrary","unpublishedCustomLibrary"],maxCategoryDepth:5}),key:"libraries:with:categories",normalize:!1}},librariesWithOwnerLogos(e,t,r,n){return e.sort(),{url:ga.urlBuilder("/api/domain/v2/objects",{query:Vm.LIBRARY_COLLECTION,id:e}),key:`libraries:owner:logo:${e.join(",")}`,success:t,error:r,always:n}},library(e,t,r,n){return{url:ga.urlBuilder(`{gateway}/v1/objects/${e}`,{query:Vm.LIBRARY}),key:`library:${e}`,success:t,error:r,always:n}},exchange(e){return{url:ga.urlBuilder(`{gateway}/v1/objects/${e}`,{query:"categorytree"}),key:"exchange"}},streamableLearning(){return{url:"{gateway}/v1/streamable-learning-library",key:"streamable:learning"}},librarySubscribers(e,t){const r={};return t&&(r.cursor=t),{url:ga.urlBuilder(`{gateway}/v1/library-requests/libraries/${e}/subscribers`,r),key:`library:subscribers:${e}:${t}`}},libraryOwner(e){return{url:`{gateway}/v1/library-requests/libraries/${e}/subscribers?ownerOnly=true`,key:`library:owner:${e}`,formatData:t=>Bn.first(t.data)}},updateSubscriberPermissions(e,t,r,n,i){return{url:`{gateway}/v1/libraries/${e}/library-request-permissions`,key:`update:subscriber:permissions:${e}:${t}`,type:_i.PUT,data:{customerId:t,granted:r},invalidationKeys:[`library:owner:${e}`,`library:subscribers:${e}`],success:n,error:i}},removeSubscriber(e,t,r,n){return{url:`{gateway}/v1/objects/${e}/subscribedcustomers?memberId=${t}`,key:`revoke:subscription:${e}:${t}`,type:_i.DELETE,invalidationKeys:[`library:subscribers:${e}`],success:r,error:n}},folder(e,t,r,n){return{url:`{gateway}/v1/objects/${e}?query=banner,libraries`,key:`library:folder:${e}`,success:t,error:r,always:n}},videoFolders(e){return{url:`{gateway}/v1/objects/${e}/categories?query=libraries`,key:`video:folders:${e}`}},folderParentTree(e,t,r,n){return{url:`/api/domain/v2/categories/${e}/parent-tree?includeAll=false`,key:`folder:parent:tree${e}`,success:t,error:r,always:n}},childFolders(e,t,r,n,i){let a=`{gateway}/v1/objects/${e}/categories?query={limit:100}thumbnail`,o=`child:folders:${e}`;return t&&(a+=`&cursor=${t}`,o+=`:${t}`),{url:a,key:o,formatData:l=>{const s=l.data.sort((c,d)=>c.name.toLowerCase().localeCompare(d.name.toLowerCase()));return{...l,data:s}},success:r,error:n,always:i}},addToLibrary(e,t){const r=["folder","videos",e.metadata.destinationCategoryId,t].filter(n=>!!n).join(":");return{url:"{gateway}/v1/library-requests",key:`add:${e.objectId}:to:${e.destinationLibraryId}:${e.metadata.destinationCategoryId}`,type:_i.POST,data:e,invalidationKeys:r}},libraries(){return{url:"{gateway}/v1/users/me/libraries",key:"objects:libraries"}},libraryExport(e){return{url:"{gateway}/v1/libraries/export",key:"library:export",type:_i.POST,data:e}},libraryExportV2(e){return{url:"{gateway}/v2/libraries/export",key:"library:export:v2",type:_i.POST,data:e}}},Bc={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},y3={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:Bc.PRODUCTS}}},si={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:Bc.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:ga.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:_i.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:Bc.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:Bc.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:_i.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=Bn.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}},updateCurrentUser(e,t,r,n){return{url:"{gateway}/v1/users/me/profile",key:"edit:current:user",type:_i.PUT,data:e,invalidationKeys:["search:aggregation","currentuser"],success:t,error:r,always:n}}},sie={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService",BrazeClient:"BrazeClientService"},kCe=5,DCe=3;let LCe=class extends Mo{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return sie.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(Cn.SHELL,On.ROUTE,this.setContext),this.listenTo(Cn.SHELL,On.ROUTE,this.updateRouteHistory)}setContext(t){var r;Vn.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=kCe&&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;Vn.getHref(t)&&(Vn.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=DCe&&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 Wl=new LCe,Tr={Default:{LOG_OUT:"log:out",CHALLENGE:"challenge",CONTACT_US:"contact:us",CONTACT_US_POPUP:"contact:us:popup",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Dashboard:{HOME:"index",DASHBOARD_WIDGET:"dashboard:widget",COMPANY_DASHBOARD:"company:dashboard",CONTENT_PARTNERS:"content:partners"},Subjects:{CLASSIFICATION:"classification",CLASSIFICATION_ALL:"classification:all",CLASSIFICATION_TOPICS:"classification:topics"},Search:{HOME:"index"},Videos:{PLAY_VIDEO:"play:video",PREVIEW_PDF:"preview:pdf",SIGN_IN_POPUP:"sign:in:popup",CLASSROOM_GUIDE:"classroom:guide",RESOURCE_GUIDANCE:"resource:guidance"},Calendar:{CALENDAR:"calendar",CALENDAR_MONTH:"calendar:month",SPECIAL_EVENT_LIST:"special:event:list"},Settings:{HOME:"index",PROFILE_DETAILS:"profile:details",ACCOUNT:"account"},Livestreams:{LIVESTREAM:"livestream"}},NCe="streamableShared.noAccess",sx=Er.encloseNamespace(NCe);class MCe extends pv{constructor(t,r){super("Current user's school does not have access to Streamable Learning"),this.config=t,this.allowCta=r}get name(){return"NoAccessError"}get heading(){return sx("heading")}get description(){return sx("body",{liteUrl:this.config.liteUrl,escapeText:!0})}get cta(){return this.allowCta?{text:sx("requestAccess"),className:"btn btn-dark",appLink:{application:sr.DEFAULT,action:Tr.Default.CONTACT_US_POPUP}}:!1}get injectDescriptionHtml(){return!0}}const zY="streamableShared.accountSetup";class $Ce extends pv{constructor(t){super("Current user's account is not setup correctly for Streamable Learning"),this.config=t}get name(){return"AccountSetupError"}get heading(){return Er.getPhrase(zY,"heading")}get description(){return Er.getPhrase(zY,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}var uie=(e=>(e.Subject="Subject",e.Curriculum="Curriculum",e.StreamableLearning="StreamableLearning",e))(uie||{});const FCe={streamablePresentation(){return{url:ga.urlBuilder("/api/subjects/presentations/available",{type:uie.StreamableLearning}),key:"streamable:learning:presentations",bootstrapName:"availablePresentations",formatData:e=>e[0],normalizeOptions:{namespace:"internal:presentation"}}}},jCe=[{application:sr.DEFAULT,action:Tr.Default.ERROR},{application:sr.DEFAULT,action:Tr.Default.DEV_ERROR},{application:sr.DEFAULT,action:Tr.Default.CHALLENGE},{application:sr.DEFAULT,action:Tr.Default.LOG_OUT},{application:sr.DEFAULT,action:Tr.Default.CONTACT_US_POPUP}],UCe=jCe.reduce((e,t)=>(e[lie(t)]=!0,e),{});function lie(e){return e.application+e.action}function WY(e,t){Wl._forcePushContext(e),Zs.disableNav(),Wo.routingEnded(),vr.throw(t??new Zc)}async function ac(e,t){const{appLink:r,shell:n}=e;try{const i=await Uu(n.store,si.currentUser());if(!i.isAuthenticated){t(e);return}const a=Uu(n.store,y3.userProducts()),o=Uu(n.store,FCe.streamablePresentation()),l=Uu(n.store,BY.libraries()),s=Uu(n.store,BY.streamableLearning()),c=await a,d=await o,h=await l,p=await s,g=c.find(E=>E.id===xo.StreamableLearning),m=h.find(E=>E.id.toString()===p.objectId.toString())&&!!d;if(g&&m){t(e);return}if(UCe[lie(e.appLink)]){Zs.disableNav(),t(e);return}const _=await Uu(n.store,Ks.config());if(!g){const b=!(await Uu(n.store,si.permissions()))[Ws.StudentExperience]&&i.instanceRegion===jl.US;WY(r,new MCe(_,b));return}WY(r,new $Ce(_))}catch{t(e)}}const qCe=[{application:sr.DEFAULT,action:Tr.Default.INDEX},{application:sr.DEFAULT,action:Tr.Default.ERROR},{application:sr.DEFAULT,action:Tr.Default.NOT_FOUND},{application:sr.DEFAULT,action:Tr.Default.DEV_ERROR},{application:sr.DEFAULT,action:Tr.Default.DIALOG_ERROR},{application:sr.DEFAULT,action:Tr.Default.CONTACT_US},{application:sr.DEFAULT,action:Tr.Default.CONTACT_US_POPUP},{application:sr.DASHBOARD,action:Tr.Dashboard.HOME},{application:sr.DASHBOARD,action:Tr.Dashboard.DASHBOARD_WIDGET},{application:sr.DASHBOARD,action:Tr.Dashboard.CONTENT_PARTNERS},{application:sr.DASHBOARD,action:Tr.Dashboard.COMPANY_DASHBOARD},{application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION},{application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION_ALL},{application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION_TOPICS},{application:sr.SEARCH,action:Tr.Search.HOME},{application:sr.VIDEOS,action:Tr.Videos.PLAY_VIDEO},{application:sr.VIDEOS,action:Tr.Videos.SIGN_IN_POPUP},{application:sr.CALENDAR,action:Tr.Calendar.CALENDAR},{application:sr.CALENDAR,action:Tr.Calendar.CALENDAR_MONTH},{application:sr.CALENDAR,action:Tr.Calendar.SPECIAL_EVENT_LIST},{application:sr.LIVESTREAMS,action:Tr.Livestreams.LIVESTREAM}],VCe=(e,t)=>(e[cie(t)]=!0,e),HCe=qCe.reduce(VCe,{});function cie(e){return e.application+e.action}function BCe(e){Wl._forcePushContext(e),Zs.disableNav(),Wo.routingEnded(),vr.throw(new Zc)}async function oc(e,t){try{const r=await Uu(e.shell.store,si.currentUser());if(HCe[cie(e.appLink)]||r!=null&&r.isAuthenticated){t(e);return}Wo.routingEnded(),Vn.trigger({application:sr.DEFAULT,action:Tr.Default.CHALLENGE},{replace:!0})}catch{BCe(e.appLink)}}const _3={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:_3.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 Gs=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Gs||{});class S3{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=_3.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 zCe extends S3{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class WCe extends S3{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class GCe extends S3{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const qa=zCe.Instance,Nd=WCe.Instance,GY=GCe.Instance,KY="public:origin";async function Cf(e,t){var a;const r=Nd.get(KY),n=(a=e.appLink.params)==null?void 0:a.origin;if(r||!n){t(e);return}const i=await Uu(e.shell.store,si.currentUser());if(i!=null&&i.isAuthenticated){t(e);return}Nd.set(KY,n),t(e)}class KCe extends nc{get channelName(){return sr.CALENDAR}get appRoutes(){return{calendar:"calendar","calendar/:month":"calendarMonth"}}get appLinks(){return["specialEventList"]}get filters(){return[ac,oc,Cf]}}class YCe extends ic{get name(){return"Calendar"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.CALENDAR}static get router(){return KCe}async calendar(t){const{CalendarView:r,sanitizeCalendarViewParams:n}=await zn(async()=>{const{CalendarView:i,sanitizeCalendarViewParams:a}=await import("./B61dxODs.chunk.js");return{CalendarView:i,sanitizeCalendarViewParams:a}},__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,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53]));this.layout.showChildView(pn.CONTENT,j.jsx(r,{month:Oo.format(JEe.convertUTCToTimezoneDate(new Date().toISOString()),"MMMM-YYYY"),queryParams:n(t)}))}async calendarMonth(t,r){const n=r.year||new Date().getFullYear(),{CalendarView:i,sanitizeCalendarViewParams:a}=await zn(async()=>{const{CalendarView:o,sanitizeCalendarViewParams:l}=await import("./B61dxODs.chunk.js");return{CalendarView:o,sanitizeCalendarViewParams:l}},__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,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53]));this.layout.showChildView(pn.CONTENT,j.jsx(i,{month:`${t}-${n}`,queryParams:a(r)}))}async specialEventList(t){const{SpecialEventListView:r}=await zn(async()=>{const{SpecialEventListView:n}=await import("./B46nd_gM.chunk.js");return{SpecialEventListView:n}},__vite__mapDeps([54,14,15,2,3,4,5,16,6,7,8,17,9,18,19,20,21,22,55]));this.layout.showChildView(pn.POPUP,j.jsx(r,{from:t.from,to:t.to,date:t.date,closePopup:()=>this.layout.closePopup()}))}}class XCe extends nc{get channelName(){return sr.DASHBOARD}get appRoutes(){return{"(/)":"index","discover/:id(/:name)(/)":"dashboardWidget","partners(/)":"contentPartners","partners/:id(/:name)(/)":"companyDashboard"}}get filters(){return[ac,oc,Cf]}}class QCe extends ic{get name(){return"Dashboard Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.DASHBOARD}static get router(){return XCe}async index(t){const{DashboardView:r,sanitizeDashboardViewParams:n}=await zn(async()=>{const{DashboardView:i,sanitizeDashboardViewParams:a}=await import("./Ynb9IAgu.chunk.js");return{DashboardView:i,sanitizeDashboardViewParams:a}},__vite__mapDeps([56,39,40,41,19,29,42,43,3,44,45,46,47,48,57,58,33,28,20,30,34,11,10,12,6,7,8,59,16,17,60,61,62,63,64,65,66,67,68,69,70,71,9,72,73,74,75,76,77,78,79,80,81,82,83,51,84,85,86,87,15,88,89,35,90,91,32,36,37,92,93,94,1,2,4,5,13,50,26,27,31,95,96,97,98,49,52]));this.layout.showChildView(pn.CONTENT,j.jsx(r,{queryParams:n(t)}))}async dashboardWidget(t){const{DashboardWidgetView:r}=await zn(async()=>{const{DashboardWidgetView:n}=await import("./CQJIB_e-.chunk.js");return{DashboardWidgetView:n}},__vite__mapDeps([99,81,82,83,19,43,3,44,51,84,41,29,42,45,46,85,20,61,62,86,16,6,7,8,17,70,65,71,87,15,88,89,35,73,90,49,96,28,30,97,100,101]));this.layout.showChildView(pn.CONTENT,j.jsx(r,{widgetId:t}))}async companyDashboard(t,r,n){const i=typeof r=="string"?n:r,{CompanyDashboardView:a,sanitizeDashboardParams:o}=await zn(async()=>{const{CompanyDashboardView:l,sanitizeDashboardParams:s}=await import("./BiLpxxSD.chunk.js");return{CompanyDashboardView:l,sanitizeDashboardParams:s}},__vite__mapDeps([102,15,94,29,103,36,57,58,33,28,20,30,34,11,10,12,6,7,8,59,45,16,17,60,61,19,62,63,64,65,66,67,68,69,70,46,71,9,72,73,74,75,76,77,78,79,80,81,82,83,43,3,44,51,84,41,42,85,86,87,88,89,35,90,91,32,37,92,93,1,2,4,5,13,50,26,27,31,95,96,97,98,104,105,106,107,108,109,49,110,52]));this.layout.showChildView(pn.CONTENT,j.jsx(a,{companyId:t,queryParams:o(i)}))}async contentPartners(){const{ContentPartnersView:t}=await zn(async()=>{const{ContentPartnersView:r}=await import("./CTWahyAB.chunk.js");return{ContentPartnersView:r}},__vite__mapDeps([111,39,40,41,19,29,42,43,3,44,45,46,47,48,70,65,71,112,7,113,114,115,116,117,110,52,118]));this.layout.showChildView(pn.CONTENT,j.jsx(t,{}))}}const ux="shared.notFoundError";class fie extends pv{constructor(){super(Er.getPhrase(ux,"title"))}get name(){return"NotFoundError"}get heading(){return Er.getPhrase(ux,"heading")}get description(){return Er.getPhrase(ux,"description")}}class ZCe extends nc{get channelName(){return sr.DEFAULT}get appRoutes(){return{"contact-us(/)":"contactUs","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","challenge(/)":"challenge"}}get appLinks(){return["devError","dialogError","error","notFound","contactUsPopup","giveFeedback"]}get filters(){return[ac,oc,Cf]}}class JCe extends ic{get name(){return"Default Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.DEFAULT}static get router(){return ZCe}giveFeedback(){zn(async()=>{const{GiveFeedbackView:t}=await import("./BDwX0xO5.chunk.js");return{GiveFeedbackView:t}},__vite__mapDeps([119,49,50,51,76,77,78,79,120,68,69,46,30,94,121])).then(({GiveFeedbackView:t})=>{this.layout.showChildView(pn.POPUP,j.jsx(t,{product:xo.StreamableLearning,closePopup:()=>this.layout.closePopup()}))})}catchAllRoutes(){vr.throw(new fie)}notFound(){const t=qr.Radio.channel("error:view").request("current:error");zn(async()=>{const{NotFoundView:r}=await import("./DELBynwO.chunk.js");return{NotFoundView:r}},[]).then(({NotFoundView:r})=>{this.layout.showChildView(pn.CONTENT,j.jsx(r,{error:t}))})}error(){const t=qr.Radio.channel("error:view").request("current:error");zn(async()=>{const{ErrorView:r}=await Promise.resolve().then(()=>R5e);return{ErrorView:r}},void 0).then(({ErrorView:r})=>{this.layout.showChildView(pn.CONTENT,j.jsx(r,{error:t}))})}dialogError(){const t=qr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t;zn(async()=>{const{DialogView:n}=await import("./CRusuLqR.chunk.js");return{DialogView:n}},[]).then(({DialogView:n})=>{this.layout.showChildView(pn.POPUP,j.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const t=qr.Radio.channel("error:view").request("current:error");zn(async()=>{const{DevErrorView:r}=await import("./LgZBXsgq.chunk.js");return{DevErrorView:r}},[]).then(({DevErrorView:r})=>{this.layout.showChildView(pn.CONTENT,j.jsx(r,{error:t}))})}async contactUs(){const{ContactUsView:t}=await zn(async()=>{const{ContactUsView:r}=await import("./Cs-XAmfP.chunk.js");return{ContactUsView:r}},__vite__mapDeps([122,123,82,124,120,125,52,76,77,78,79,126]));this.layout.showChildView(pn.CONTENT,j.jsx(t,{fromPageLoad:!0,closePopup:()=>this.layout.closePopup()}))}async contactUsPopup(){const{ContactUsView:t}=await zn(async()=>{const{ContactUsView:r}=await import("./Cs-XAmfP.chunk.js");return{ContactUsView:r}},__vite__mapDeps([122,123,82,124,120,125,52,76,77,78,79,126]));this.layout.showChildView(pn.POPUP,j.jsx(t,{fromPageLoad:!1,closePopup:()=>this.layout.closePopup()}))}}class eTe extends nc{get channelName(){return sr.LIVESTREAMS}get appRoutes(){return{"livestreams/:id(/:slug)(/)":"livestream"}}get appLinks(){return[]}get filters(){return[ac,oc,Cf]}}class tTe extends ic{get name(){return"Livestreams Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.VIDEOS}static get router(){return eTe}async livestream(t){const r=Wl.fromPageLoad(),{LivestreamView:n}=await zn(async()=>{const{LivestreamView:i}=await import("./DVmtgkhY.chunk.js");return{LivestreamView:i}},__vite__mapDeps([127,123,82,124,120,125,15,16,6,7,8,17,65,18,19,23,21,3,20,128,115,52,76,77,78,79,129]));this.layout.showChildView(r?pn.CONTENT:pn.POPUP,j.jsx(n,{id:t,fromPageLoad:r,closePopup:()=>this.layout.closePopup()}))}}class rTe extends nc{get channelName(){return sr.SEARCH}get appRoutes(){return{"search(/)":"index"}}get filters(){return[ac,oc,Cf]}}class nTe extends ic{get name(){return"Search Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.SEARCH}static get router(){return rTe}async index(t){const{SearchResultsView:r}=await zn(async()=>{const{SearchResultsView:n}=await import("./_8CvUiOV.chunk.js");return{SearchResultsView:n}},__vite__mapDeps([130,83,19,43,3,44,51,84,67,68,69,70,65,46,71,30,9,72,81,82,41,29,42,45,85,20,61,62,86,16,6,7,8,17,87,15,88,89,35,73,90,80,91,25,26,27,28,31,32,33,34,11,10,12,36,37,38,112,113,114,100,49,50,115,116,117,131]));this.layout.showChildView(pn.CONTENT,j.jsx(r,{queryParams:t}))}}class iTe extends nc{get channelName(){return sr.SETTINGS}get appRoutes(){return{"settings(/)":"index","settings/profile(/)":"profileDetails","settings/account(/)":"account"}}get appLinks(){return["createLtiPlatform","deleteLtiPlatform","renameLocalCache","deleteLocalCache","updateLocalCache","approveAllVideos","turnOffContentReview"]}get filters(){return[ac,oc]}}class aTe extends ic{get name(){return"Settings Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.SETTINGS}static get router(){return iTe}async index(){const{SettingsView:t}=await zn(async()=>{const{SettingsView:r}=await import("./C_79jeAr.chunk.js");return{SettingsView:r}},__vite__mapDeps([132,133,134]));this.layout.showChildView(pn.CONTENT,j.jsx(t,{}))}async profileDetails(){const{ProfileDetailsView:t}=await zn(async()=>{const{ProfileDetailsView:r}=await import("./BPzvNgkA.chunk.js");return{ProfileDetailsView:r}},__vite__mapDeps([135,107,75,76,77,78,79,136,109,10,36,133,137]));this.layout.showChildView(pn.CONTENT,j.jsx(t,{}))}async account(){const{AccountSettingsView:t}=await zn(async()=>{const{AccountSettingsView:r}=await import("./Bd-gJLT1.chunk.js");return{AccountSettingsView:r}},__vite__mapDeps([138,75,76,77,78,79,87,136,109,10,36,133,139]));this.layout.showChildView(pn.CONTENT,j.jsx(t,{}))}}const Og={CONTENT:"content",ALERT:"alert"};class oTe extends nc{get channelName(){return sr.SUBJECTS}get appRoutes(){return{"topics(/)":"classificationAll","topics/:id/topics":"classificationTopics","topics/:id(/:slug)(/)":"classification"}}get filters(){return[ac,oc,Cf]}}class sTe extends ic{get name(){return"Subject Application"}static get router(){return oTe}get channelName(){return sr.SUBJECTS}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:Og.ALERT}}}async classificationAll(){const{StreamableClassificationsView:t}=await zn(async()=>{const{StreamableClassificationsView:r}=await import("./zUz4ZfV2.chunk.js");return{StreamableClassificationsView:r}},__vite__mapDeps([140,106,2,3,4,66,33,28,20,29,30,34,67,68,69,70,65,46,71,9,72,73,74,88,89,10,6,7,8,107,108,109,36,32,11,12,35,37,50,51,141]));this.layout.showChildView(Og.CONTENT,j.jsx(t,{}))}async classificationTopics(t){const{StreamableClassificationsView:r}=await zn(async()=>{const{StreamableClassificationsView:n}=await import("./zUz4ZfV2.chunk.js");return{StreamableClassificationsView:n}},__vite__mapDeps([140,106,2,3,4,66,33,28,20,29,30,34,67,68,69,70,65,46,71,9,72,73,74,88,89,10,6,7,8,107,108,109,36,32,11,12,35,37,50,51,141]));this.layout.showChildView(Og.CONTENT,j.jsx(r,{id:t}))}async classification(t,r,n){const i=typeof r=="string"?n:r||{},{StreamableClassificationView:a,sanitizeStreamableClassificationParams:o}=await zn(async()=>{const{StreamableClassificationView:l,sanitizeStreamableClassificationParams:s}=await import("./B-YTLo4E.chunk.js");return{StreamableClassificationView:l,sanitizeStreamableClassificationParams:s}},__vite__mapDeps([142,28,20,29,30,94,82,24,96,81,83,19,43,3,44,51,84,41,42,45,46,85,61,62,86,16,6,7,8,17,70,65,71,87,15,88,89,35,73,90,97,106,2,4,66,33,34,67,68,69,9,72,74,10,107,108,57,58,11,12,59,60,63,64,75,76,77,78,79,80,91,32,36,37,92,93,1,5,13,50,26,27,31,95,98,109,103,104,105,40,47,49,128,115,100,52,143,144]));this.layout.showChildView(Og.CONTENT,j.jsx(a,{id:t,queryParams:o(i)},t))}}function uTe(e){return e?oa.pick(e,["t","startTime","endTime","context","contextId","playNext","mtv","tocId"]):{}}const die={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",CALENDAR:{NO_EVENTS:"/images/empty-states/calendar/empty-event.png",INVALID_DATE:"/images/empty-states/calendar/empty-event.png"},Topics:{TOPIC:"/images/empty-states/topics/topics-v2.png"}},General:{LOST_MESSAGE_BOTTLE:"/images/general/lost-message-bottle.png",EMAIL_SENT:"/images/general/email-sent.png"},Settings:{MY_ACCOUNT:"/images/settings/my-account-v2.png"},Fallbacks:{RESOURCE_THUMBNAIL:"/images/fallbacks/resource-thumbnail.png",RESOURCE_PREVIEW:"/images/fallbacks/resource-preview-v2.png"},StreamableLearning:{LOGO:"/images/streamable-learning/logo.png"}};class lTe extends nc{get channelName(){return sr.VIDEOS}get appRoutes(){return{"videos/:id(/:slug)(/)":"playVideo"}}get appLinks(){return["previewPdf","signInPopup","classroomGuide","resourceGuidance"]}get filters(){return[ac,oc,Cf]}}class cTe extends ic{get name(){return"Videos Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:pn.ALERT}}}get channelName(){return sr.VIDEOS}static get router(){return lTe}async playVideo(t,r,n={}){const i=(typeof r=="string"?n:r)||{},{PlayView:a}=await zn(async()=>{const{PlayView:o}=await import("./Be6BKGLG.chunk.js");return{PlayView:o}},__vite__mapDeps([145,51,83,19,43,3,44,84,49,115,128,85,20,61,62,86,52,27,28,29,30,31,42,15,58,33,34,11,10,12,6,7,8,59,45,16,17,60,63,64,104,146,77,113,21,95,147,92,93,143,50,117,148]));this.layout.showChildView(pn.CONTENT,j.jsx(a,{id:t,params:uTe(i)}))}async previewPdf(t,r){const{PreviewPdfView:n}=await zn(async()=>{const{PreviewPdfView:i}=await import("./BpRVTpnA.chunk.js");return{PreviewPdfView:i}},__vite__mapDeps([149,146,78,88,89,11,10,12,45,83,19,43,3,44,51,84,63,95,150]));this.layout.showChildView(pn.POPUP,j.jsx(n,{id:t,videoId:r.videoId,errorImageUrl:die.Fallbacks.RESOURCE_PREVIEW,closePopup:()=>this.layout.closePopup(),showBackButton:r.showBackButton}))}async signInPopup(){const{SignInPopupView:t}=await zn(async()=>{const{SignInPopupView:r}=await import("./Cp-yDIHE.chunk.js");return{SignInPopupView:r}},__vite__mapDeps([151,152]));this.layout.showChildView(pn.POPUP,j.jsx(t,{closePopup:()=>this.layout.closePopup()}))}classroomGuide(t){zn(async()=>{const{VideoGuidanceClassroomGuideView:r}=await import("./Dy57waqb.chunk.js");return{VideoGuidanceClassroomGuideView:r}},__vite__mapDeps([153,147,92,93,84,19,51,143,50])).then(({VideoGuidanceClassroomGuideView:r})=>{this.layout.showChildView(pn.POPUP,j.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))})}resourceGuidance(t){zn(async()=>{const{VideoGuidanceResourcesView:r}=await import("./BfK6q73t.chunk.js");return{VideoGuidanceResourcesView:r}},__vite__mapDeps([154,112,7,113,114,61,19,62,30,59,45,16,6,8,17,60,63,84,51,155])).then(({VideoGuidanceResourcesView:r})=>{this.layout.showChildView(pn.POPUP,j.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))})}}async function fTe(e,t){try{e.registerApplication(JCe).registerApplication(QCe).registerApplication(sTe).registerApplication(nTe).registerApplication(cTe).registerApplication(YCe).registerApplication(aTe).registerApplication(tTe),t(e)}catch{vr.throw(new Zc)}}var Ko=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Ko||{}),hie=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(hie||{});class dTe extends Mo{constructor(t){super(t)}initialize(){this.alertCollection=new u1,this.listenTo(Cn.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return dv.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=qr.Radio.channel(Cn.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=To({},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=To({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new Ju(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?Vu(()=>this.createAlert(To({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?Vu((r,n)=>this.createAlert(To({},this.options.defaultSuccessAlert,{message:n})),this):Vu(()=>this.createAlert(To({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?Vu(()=>this.createAlert(To({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?Vu(r=>this.createAlert(To({},this.options.defaultErrorAlert,{message:r.message})),this):Vu(()=>this.createAlert(To({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return yre("alert_")}}class hTe extends Mo{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 Rn(`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]=()=>cn(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 Rn(`${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 Rn(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new Rn(`A class with the name: ${r} has already been registered with ${this.name}`))}}const ro=hTe.Instance;class Tf extends s1{constructor(t){super(t),this.dialogOptions||vr.throw(new Rn("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const Ig="shared.chunkLoadError",pTe=/\/([^\s/]+\.css)/,vTe=/\/([^\s/]+\.js)/;class YY extends Tf{constructor(t,r,n){super(Er.getPhrase(Ig,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:Er.getPhrase(Ig,"heading",{product:this.product}),text:Er.getPhrase(Ig,"body"),buttons:[{text:Er.getPhrase(Ig,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Un.Reload()}}function gTe(e,t){window.addEventListener("error",r=>{var l,s;const n=((l=r==null?void 0:r.target)==null?void 0:l.src)||((s=r==null?void 0:r.target)==null?void 0:s.href);if(!n)return;const i=c=>(c==null?void 0:c[1])??"Unknown Chunk",a=n.match(vTe);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new YY(e,i(a),t));return}const o=n.match(pTe);if(o&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new YY(e,i(o),t));return}},!0)}class pie extends s1{get name(){return"AlertError"}}const GO={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"},mTe={VIDEO_START_TIME_CUTOFF:10,MINIMUM_GLANCE_HEIGHT:368,PRODUCT_NAME:"Streamable Learning"};function yTe(e){ro.getInstance(dv.ALERT).createAlert({heading:GO.Fail,type:Ko.Fail,message:e.message})}function _Te(e){qr.Radio.channel("error:view").replyOnce("current:error",()=>e),Vn.trigger({application:sr.DEFAULT,action:Tr.Default.NOT_FOUND})}function XY(e){qr.Radio.channel("error:view").replyOnce("current:error",()=>e),Vn.trigger({application:sr.DEFAULT,action:Tr.Default.ERROR})}function STe(e){qr.Radio.channel("error:view").replyOnce("current:error",()=>e),Vn.trigger({application:sr.DEFAULT,action:Tr.Default.DIALOG_ERROR})}function ETe(e,t){e.registerErrorHandler(pv,XY).registerErrorHandler(Tf,STe).registerErrorHandler(pie,yTe).registerErrorHandler(fie,_Te).registerErrorHandler(Zc,XY),gTe("dark",mTe.PRODUCT_NAME),t(e)}var Pg={},QY;function wTe(){if(QY)return Pg;QY=1;var e=Kne();return Pg.createRoot=e.createRoot,Pg.hydrateRoot=e.hydrateRoot,Pg}var E3=wTe();class bTe extends Y_e{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return Xt&&Xt.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]=E3.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 j.jsx(Jne,{store:this.options.store,children:t})}}var lx={exports:{}},cx,ZY;function CTe(){if(ZY)return cx;ZY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return cx=e,cx}var fx,JY;function TTe(){if(JY)return fx;JY=1;var e=CTe();function t(){}function r(){}return r.resetWarningCache=t,fx=function(){function n(o,l,s,c,d,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}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},fx}var eX;function Af(){return eX||(eX=1,lx.exports=TTe()()),lx.exports}var ATe=Af();const Xr=Ln(ATe);var dx,tX;function RTe(){if(tX)return dx;tX=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 l,s,c;if(Array.isArray(a)){if(l=a.length,l!=o.length)return!1;for(s=l;s--!==0;)if(!i(a[s],o[s]))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();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;for(d=a.entries();!(s=d.next()).done;)if(!i(s.value[1],o.get(s.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();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(l=a.length,l!=o.length)return!1;for(s=l;s--!==0;)if(a[s]!==o[s])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),l=c.length,l!==Object.keys(o).length)return!1;for(s=l;s--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[s]))return!1;if(e&&a instanceof Element)return!1;for(s=l;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&a.$$typeof)&&!i(a[c[s]],o[c[s]]))return!1;return!0}return a!==a&&o!==o}return dx=function(o,l){try{return i(o,l)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},dx}var xTe=RTe();const OTe=Ln(xTe);var hx,rX;function ITe(){if(rX)return hx;rX=1;var e=function(t,r,n,i,a,o,l,s){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,l,s],h=0;c=new Error(r.replace(/%s/g,function(){return d[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};return hx=e,hx}var PTe=ITe();const nX=Ln(PTe);var px,iX;function kTe(){return iX||(iX=1,px=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),l=Object.keys(r);if(o.length!==l.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(r),c=0;c<o.length;c++){var d=o[c];if(!s(d))return!1;var h=t[d],p=r[d];if(a=n?n.call(i,h,p,d):void 0,a===!1||a===void 0&&h!==p)return!1}return!0}),px}var DTe=kTe();const LTe=Ln(DTe);function Wi(){return Wi=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},Wi.apply(this,arguments)}function w3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,KO(e,t)}function KO(e,t){return KO=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},KO(e,t)}function aX(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 Ur={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},NTe={rel:["amphtml","canonical","alternate"]},MTe={type:["application/ld+json"]},$Te={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"]},oX=Object.keys(Ur).map(function(e){return Ur[e]}),Hm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},FTe=Object.keys(Hm).reduce(function(e,t){return e[Hm[t]]=t,e},{}),Td=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},jTe=function(e){var t=Td(e,Ur.TITLE),r=Td(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Td(e,"defaultTitle");return t||n||void 0},UTe=function(e){return Td(e,"onChangeClientState")||function(){}},vx=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Wi({},r,n)},{})},qTe=function(e,t){return t.filter(function(r){return r[Ur.BASE]!==void 0}).map(function(r){return r[Ur.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},[])},Gh=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 p,g=Object.keys(h),m=0;m<g.length;m+=1){var _=g[m],E=_.toLowerCase();t.indexOf(E)===-1||p==="rel"&&h[p].toLowerCase()==="canonical"||E==="rel"&&h[E].toLowerCase()==="stylesheet"||(p=E),t.indexOf(_)===-1||_!=="innerHTML"&&_!=="cssText"&&_!=="itemprop"||(p=_)}if(!p||!h[p])return!1;var w=h[p].toLowerCase();return n[p]||(n[p]={}),o[p]||(o[p]={}),!n[p][w]&&(o[p][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var l=Object.keys(o),s=0;s<l.length;s+=1){var c=l[s],d=Wi({},n[c],o[c]);n[c]=d}return i},[]).reverse()},VTe=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},vie=function(e){return Array.isArray(e)?e.join(""):e},gx=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,a){for(var o=Object.keys(i),l=0;l<o.length;l+=1)if(a[o[l]]&&a[o[l]].includes(i[o[l]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},sX=function(e,t){var r;return Wi({},e,((r={})[t]=void 0,r))},HTe=[Ur.NOSCRIPT,Ur.SCRIPT,Ur.STYLE],mx=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;")},uX=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},"")},lX=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Hm[n]||n]=e[n],r},t)},Cm=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 l=Hm[o]||o;l==="innerHTML"||l==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[l]=r[o]}),Xt.createElement(e,a)})},_s=function(e,t,r){switch(e){case Ur.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,o=lX(i,a),[Xt.createElement(Ur.TITLE,o,n)];var n,i,a,o},toString:function(){return(function(n,i,a,o){var l=uX(a),s=vie(i);return l?"<"+n+' data-rh="true" '+l+">"+mx(s,o)+"</"+n+">":"<"+n+' data-rh="true">'+mx(s,o)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return lX(t)},toString:function(){return uX(t)}};default:return{toComponent:function(){return Cm(e,t)},toString:function(){return(function(n,i,a){return i.reduce(function(o,l){var s=Object.keys(l).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,p){var g=l[p]===void 0?p:p+'="'+mx(l[p],a)+'"';return h?h+" "+g:g},""),c=l.innerHTML||l.cssText||"",d=HTe.indexOf(n)===-1;return o+"<"+n+' data-rh="true" '+s+(d?"/>":">"+c+"</"+n+">")},"")})(e,t,r)}}}},YO=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,s=l===void 0?"":l,c=e.titleAttributes,d=e.linkTags,h=e.metaTags,p=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=(function(_){var E=_.linkTags,w=_.scriptTags,b=_.encode,x=gx(_.metaTags,$Te),T=gx(E,NTe),A=gx(w,MTe);return{priorityMethods:{toComponent:function(){return[].concat(Cm(Ur.META,x.priority),Cm(Ur.LINK,T.priority),Cm(Ur.SCRIPT,A.priority))},toString:function(){return _s(Ur.META,x.priority,b)+" "+_s(Ur.LINK,T.priority,b)+" "+_s(Ur.SCRIPT,A.priority,b)}},metaTags:x.default,linkTags:T.default,scriptTags:A.default}})(e);g=m.priorityMethods,d=m.linkTags,h=m.metaTags,p=m.scriptTags}return{priority:g,base:_s(Ur.BASE,t,n),bodyAttributes:_s("bodyAttributes",r,n),htmlAttributes:_s("htmlAttributes",i,n),link:_s(Ur.LINK,d,n),meta:_s(Ur.META,h,n),noscript:_s(Ur.NOSCRIPT,a,n),script:_s(Ur.SCRIPT,p,n),style:_s(Ur.STYLE,o,n),title:_s(Ur.TITLE,{title:s,titleAttributes:c},n)}},kg=[],XO=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?kg:r.instances},add:function(n){(r.canUseDOM?kg:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?kg:r.instances).indexOf(n);(r.canUseDOM?kg:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=YO({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},gie=Xt.createContext({}),BTe=Xr.shape({setHelmet:Xr.func,helmetInstances:Xr.shape({get:Xr.func,add:Xr.func,remove:Xr.func})}),zTe=typeof document<"u",Ed=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new XO(n.props.context,t.canUseDOM),n}return w3(t,e),t.prototype.render=function(){return Xt.createElement(gie.Provider,{value:this.helmetData.value},this.props.children)},t})(ge.Component);Ed.canUseDOM=zTe,Ed.propTypes={context:Xr.shape({helmet:Xr.shape()}),children:Xr.node.isRequired},Ed.defaultProps={context:{}},Ed.displayName="HelmetProvider";var nd=function(e,t){var r,n=document.head||document.querySelector(Ur.HEAD),i=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(l){var s=document.createElement(e);for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(c==="innerHTML"?s.innerHTML=l.innerHTML:c==="cssText"?s.styleSheet?s.styleSheet.cssText=l.cssText:s.appendChild(document.createTextNode(l.cssText)):s.setAttribute(c,l[c]===void 0?"":l[c]));s.setAttribute("data-rh","true"),a.some(function(d,h){return r=h,s.isEqualNode(d)})?a.splice(r,1):o.push(s)}),a.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return n.appendChild(l)}),{oldTags:a,newTags:o}},yx=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),l=0;l<o.length;l+=1){var s=o[l],c=t[s]||"";r.getAttribute(s)!==c&&r.setAttribute(s,c),i.indexOf(s)===-1&&i.push(s);var d=a.indexOf(s);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(","))}},cX=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;yx(Ur.BODY,e.bodyAttributes),yx(Ur.HTML,n),(function(_,E){_!==void 0&&document.title!==_&&(document.title=vie(_)),yx(Ur.TITLE,E)})(d,h);var p={baseTag:nd(Ur.BASE,r),linkTags:nd(Ur.LINK,i),metaTags:nd(Ur.META,a),noscriptTags:nd(Ur.NOSCRIPT,o),scriptTags:nd(Ur.SCRIPT,s),styleTags:nd(Ur.STYLE,c)},g={},m={};Object.keys(p).forEach(function(_){var E=p[_],w=E.newTags,b=E.oldTags;w.length&&(g[_]=w),b.length&&(m[_]=p[_].oldTags)}),t&&t(),l(e,g,m)},Kh=null,Bm=(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}w3(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!LTe(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,l=null,s=(n=a.helmetInstances.get().map(function(c){var d=Wi({},c.props);return delete d.context,d}),{baseTag:qTe(["href"],n),bodyAttributes:vx("bodyAttributes",n),defer:Td(n,"defer"),encode:Td(n,"encodeSpecialCharacters"),htmlAttributes:vx("htmlAttributes",n),linkTags:Gh(Ur.LINK,["rel","href"],n),metaTags:Gh(Ur.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Gh(Ur.NOSCRIPT,["innerHTML"],n),onChangeClientState:UTe(n),scriptTags:Gh(Ur.SCRIPT,["src","innerHTML"],n),styleTags:Gh(Ur.STYLE,["cssText"],n),title:jTe(n),titleAttributes:vx("titleAttributes",n),prioritizeSeoTags:VTe(n,"prioritizeSeoTags")});Ed.canUseDOM?(i=s,Kh&&cancelAnimationFrame(Kh),i.defer?Kh=requestAnimationFrame(function(){cX(i,function(){Kh=null})}):(cX(i),Kh=null)):YO&&(l=YO(s)),o(l)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(ge.Component);Bm.propTypes={context:BTe.isRequired},Bm.displayName="HelmetDispatcher";var WTe=["children"],GTe=["children"],Tm=(function(e){function t(){return e.apply(this,arguments)||this}w3(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!OTe(sX(this.props,"helmetData"),sX(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case Ur.SCRIPT:case Ur.NOSCRIPT:return{innerHTML:i};case Ur.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 Wi({},o,((i={})[a.type]=[].concat(o[a.type]||[],[Wi({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,a,o=n.child,l=n.newProps,s=n.newChildProps,c=n.nestedChildren;switch(o.type){case Ur.TITLE:return Wi({},l,((i={})[o.type]=c,i.titleAttributes=Wi({},s),i));case Ur.BODY:return Wi({},l,{bodyAttributes:Wi({},s)});case Ur.HTML:return Wi({},l,{htmlAttributes:Wi({},s)});default:return Wi({},l,((a={})[o.type]=Wi({},s),a))}},r.mapArrayTypeChildrenToProps=function(n,i){var a=Wi({},i);return Object.keys(n).forEach(function(o){var l;a=Wi({},a,((l={})[o]=n[o],l))}),a},r.warnOnInvalidChildren=function(n,i){return nX(oX.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 "+oX.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),nX(!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 Xt.Children.forEach(n,function(l){if(l&&l.props){var s=l.props,c=s.children,d=aX(s,WTe),h=Object.keys(d).reduce(function(g,m){return g[FTe[m]||m]=d[m],g},{}),p=l.type;switch(typeof p=="symbol"?p=p.toString():a.warnOnInvalidChildren(l,c),p){case Ur.FRAGMENT:i=a.mapChildrenToProps(c,i);break;case Ur.LINK:case Ur.META:case Ur.NOSCRIPT:case Ur.SCRIPT:case Ur.STYLE:o=a.flattenArrayTypeChildren({child:l,arrayTypeChildren:o,newChildProps:h,nestedChildren:c});break;default:i=a.mapObjectTypeChildren({child:l,newProps:i,newChildProps:h,nestedChildren:c})}}}),this.mapArrayTypeChildrenToProps(o,i)},r.render=function(){var n=this.props,i=n.children,a=aX(n,GTe),o=Wi({},a),l=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!l||l instanceof XO||(l=new XO(l.context,l.instances)),l?Xt.createElement(Bm,Wi({},o,{context:l.value,helmetData:void 0})):Xt.createElement(gie.Consumer,null,function(s){return Xt.createElement(Bm,Wi({},o,{context:s}))})},t})(ge.Component);Tm.propTypes={base:Xr.object,bodyAttributes:Xr.object,children:Xr.oneOfType([Xr.arrayOf(Xr.node),Xr.node]),defaultTitle:Xr.string,defer:Xr.bool,encodeSpecialCharacters:Xr.bool,htmlAttributes:Xr.object,link:Xr.arrayOf(Xr.object),meta:Xr.arrayOf(Xr.object),noscript:Xr.arrayOf(Xr.object),onChangeClientState:Xr.func,script:Xr.arrayOf(Xr.object),style:Xr.arrayOf(Xr.object),title:Xr.string,titleAttributes:Xr.object,titleTemplate:Xr.string,prioritizeSeoTags:Xr.bool,helmetData:Xr.object},Tm.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Tm.displayName="Helmet";const mie=Xt.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function fX(e,t){return!oa.isEqual(e,t)}function KTe(){return Xt.useContext(mie)}const YTe=e=>{const[t,r]=Xt.useState({}),[n,i]=Xt.useState({}),[a,o]=Xt.useState(null),{title:l,description:s,canonicalLink:c,jsonLd:d,allowIndexing:h,hrefLang:p,preload:g}=t;function m(b){fX(t,n)&&i(t),r(b)}function _(){r(n)}function E(b){return fX(b,t)}function w(b){o(b)}return j.jsx(mie.Provider,{value:{setPageMetadata:m,revertPageMetadata:_,hasPageMetadataChanged:E,setFaq:w,hasProvider:!0},children:j.jsxs(Ed,{children:[j.jsxs(Tm,{children:[l&&j.jsx("title",{children:l}),s&&j.jsx("meta",{name:"description",content:s}),c&&j.jsx("link",{rel:"canonical",href:c}),d&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),a&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),!h&&j.jsx("meta",{name:"robots",content:"noindex"}),p&&(p==null?void 0:p.map((b,x)=>j.jsx("link",{rel:"alternate",hrefLang:b.hrefLang,href:b.canonicalLink},x))),g&&(g==null?void 0:g.map((b,x)=>{const T={};return b.crossorigin&&(T.crossOrigin="true"),b.media&&(T.media=b.media),b.type&&(T.type=b.type),j.jsx("link",{rel:"preload",href:b.href,as:b.as,...T},`preload-${x}`)}))]}),e.children]})})};class _x extends Xt.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 j.jsx(r,{})}return t||!this.props.children?j.jsx(j.Fragment,{}):this.props.children}}var yie=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),b3="html",C3="svg",XTe="http://www.w3.org/2000/svg",QTe=function(e,t){if(t===b3)return e instanceof HTMLElement;if(t===C3)return e instanceof SVGElement;throw new Error('Unrecognized element type "'+t+'" for validateElementType.')},_ie=function(e,t){var r={},n,i,a;if(e===b3)a=document.createElement("div");else if(e===C3)a=document.createElementNS(XTe,"g");else throw new Error('Invalid element type "'+e+'" for createPortalNode: must be "html" or "svg".');if(t&&typeof t=="object")for(var o=0,l=Object.entries(t.attributes);o<l.length;o++){var s=l[o],c=s[0],d=s[1];a.setAttribute(c,d)}var h={element:a,elementType:e,setPortalProps:function(p){r=p},getInitialPortalProps:function(){return r},mount:function(p,g){if(g!==i){if(h.unmount(),p!==n&&!QTe(p,e))throw new Error('Invalid element type for portal: "'+e+'" portalNodes must be used with '+e+" elements, but OutPortal is within <"+p.tagName+">.");p.replaceChild(h.element,g),n=p,i=g}},unmount:function(p){p&&p!==i||n&&i&&(n.replaceChild(i,h.element),n=void 0,i=void 0)}};return h},ZTe=(function(e){yie(t,e);function t(r){var n=e.call(this,r)||this;return n.addPropsChannel=function(){Object.assign(n.props.node,{setPortalProps:function(i){n.setState({nodeProps:i})}})},n.state={nodeProps:n.props.node.getInitialPortalProps()},n}return t.prototype.componentDidMount=function(){this.addPropsChannel()},t.prototype.componentDidUpdate=function(){this.addPropsChannel()},t.prototype.render=function(){var r=this,n=this.props,i=n.children,a=n.node;return v3.createPortal(ge.Children.map(i,function(o){return ge.isValidElement(o)?ge.cloneElement(o,r.state.nodeProps):o}),a.element)},t})(ge.PureComponent),JTe=(function(e){yie(t,e);function t(r){var n=e.call(this,r)||this;return n.placeholderNode=ge.createRef(),n.passPropsThroughPortal(),n}return t.prototype.passPropsThroughPortal=function(){var r=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(r)},t.prototype.componentDidMount=function(){var r=this.props.node;this.currentPortalNode=r;var n=this.placeholderNode.current,i=n.parentNode;r.mount(i,n),this.passPropsThroughPortal()},t.prototype.componentDidUpdate=function(){var r=this.props.node;this.currentPortalNode&&r!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=r);var n=this.placeholderNode.current,i=n.parentNode;r.mount(i,n),this.passPropsThroughPortal()},t.prototype.componentWillUnmount=function(){var r=this.props.node;r.unmount(this.placeholderNode.current),r.setPortalProps({})},t.prototype.render=function(){return ge.createElement("div",{ref:this.placeholderNode})},t})(ge.PureComponent),eAe=_ie.bind(null,b3);_ie.bind(null,C3);const Sie=Xt.createContext({}),tAe=e=>{const[t,r]=Xt.useState(null);return j.jsxs(Sie.Provider,{value:{setPreviewContentNode:r},children:[t&&j.jsx(JTe,{node:t}),e.children]})},Ai={debounce(e,t,r){return bre(e,t,r)},throttle(e,t,r){return wre(e,t,r)},isFunction(e){return cn(e)},useIdentity(){return t1},memoize(e,t){return Sre(e,t)}},rAe=()=>{const e=Xt.useRef(!0);return Xt.useEffect(()=>()=>{e.current=!1},[]),e},nAe=275,dX=5,iAe={className:"",delay:0,style:null},aAe={screenX:0,screenY:0};function Eie(e,t){var r;e.current&&(t.className&&((r=e.current.classList)==null||r.add(t.className)),t.style&&Object.keys(t.style).forEach(n=>{e.current.style[n]=t.style[n]}))}function wie(e,t){var r;e.current&&(t.className&&((r=e.current.classList)==null||r.remove(t.className)),t.style&&Object.keys(t.style).forEach(n=>{e.current.style[n]=null}))}function oAe(e,t){return Math.abs(e.screenX-t.screenX)>dX||Math.abs(e.screenY-t.screenY)>dX}function bie(e=iAe){const t=rAe(),[r,n]=ge.useState(e),[i,a]=ge.useState(!1),o=ge.useRef(null);ge.useEffect(()=>{oa.isEqual(e,r)||n(e)},[e]);const l=Ai.throttle(()=>{Eie(o,r),t.current&&a(!0)},r.delay,{leading:!1}),s=()=>{Ai.isFunction(l.cancel)&&l.cancel(),wie(o,r),t.current&&a(!1)};return ge.useLayoutEffect(()=>{const c=o.current;if(c)return c.addEventListener("mouseenter",l),c.addEventListener("mouseleave",s),()=>{c.removeEventListener("mouseenter",l),c.removeEventListener("mouseleave",s)}},[o.current,r]),[o,i]}function sAe(e){const[t,r]=ge.useState(e),n=ge.useRef({...aAe}),i=ge.useRef(!1),a=ge.useRef(0),o=ge.useRef(null),[l,s]=ge.useState(!1);ge.useEffect(()=>{oa.isEqual(e,t)||r(e)},[e]);function c(){a.current&&(window.clearTimeout(a.current),a.current=0)}function d(m,_){a.current||(a.current=window.setTimeout(m,_))}function h(){i.current=!0}function p(m){if(!i.current)return;const _={...n.current};n.current.screenX=m.screenX,n.current.screenY=m.screenY,oAe(_,m)&&c(),d(()=>{Eie(o,t),s(!0)},t.delay||nAe)}function g(){c(),wie(o,t),i.current=!1,s(!1)}return ge.useLayoutEffect(()=>{if(!o.current)return;const m=Ai.throttle(p,25,{leading:!1});return o.current.addEventListener("mouseenter",h),o.current.addEventListener("mousemove",m),o.current.addEventListener("mouseleave",g),()=>{o.current&&(o.current.removeEventListener("mouseenter",h),o.current.removeEventListener("mousemove",m),o.current.removeEventListener("mouseleave",g))}},[o.current,t]),[o,l]}var Pt=(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))(Pt||{}),vn=(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))(vn||{}),aa=(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))(aa||{}),Io=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Io||{}),uAe=(e=>(e.Subject="Subject",e.Curriculum="Curriculum",e))(uAe||{}),QO=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(QO||{}),Cie=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(Cie||{}),lAe=(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))(lAe||{}),cAe=(e=>(e.Embedded="embedded",e))(cAe||{}),zc=(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))(zc||{}),fAe=(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))(fAe||{}),ZO=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(ZO||{}),dAe=(e=>(e.Image="image",e.User="user",e.Playlist="playlist",e.Link="link",e.Avatar="avatar",e.Clip="clip",e.Interactive="interactive",e.Classroom="classroom",e.Customer="customer",e))(dAe||{}),hAe=(e=>(e.ViewVideo="view_video",e.Close="close",e))(hAe||{}),pAe=(e=>(e.On="on",e.Off="off",e))(pAe||{}),Gu=(e=>(e.SignIn="sign_in",e.SignUp="sign_up",e.SignOut="sign_out",e.SwitchAccount="switch_account",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))(Gu||{}),vAe=(e=>(e.ComeBackLater="come_back_later",e.Back="back",e.Next="next",e.Complete="complete",e.ReplayVideo="replay_video",e.SkipVideo="skip_video",e.PlayVideo="play_video",e.PauseVideo="pause_video",e.FinishVideo="finish_video",e.SelectPresentation="select_presentation",e.SelectCurriculum="select_curriculum",e.SelectSubject="select_subject",e.SelectAllSubjects="select_all_subjects",e.SelectVideo="select_video",e.SelectAllVideos="select_all_videos",e.DeselectAllVideos="deselect_all_videos",e.SelectOption="select_option",e.SelectJobTitle="select_job_title",e.PhoneNumber="phone_number",e.OtherInformation="other_information",e.PlaylistName="playlist_name",e.DismissWidget="dismiss_widget",e.ContactSales="contact_sales",e.FinishPersonalising="finish_personalising",e.UpdateSchoolLevel="update_school_level",e.UpdateCurriculum="update_curriculum",e.UpdateSubjects="update_subjects",e))(vAe||{}),gAe=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(gAe||{}),mAe=(e=>(e.Popup="popup",e.FullPage="full_page",e))(mAe||{}),yAe=(e=>(e.Calendar="calendar",e.List="list",e))(yAe||{}),_Ae=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(_Ae||{}),JO=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(JO||{}),kl=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(kl||{}),Tie=(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))(Tie||{}),Aie=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(Aie||{}),E1=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(E1||{});const SAe=5;class EAe extends Mo{constructor(){super(...arguments),this.contextHistory=[]}get name(){return E1.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(Cn.SHELL,On.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=SAe&&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 wAe=new EAe;var Ad=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(Ad||{});const Rie={ANALYTICS:"global:analytics"},bAe=Tie.V2;class CAe{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||bAe}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 Rn(`${t} is not a valid key`)),this[t]&&vr.throw(new Rn(`Event already contains an enrichment named ${t}`))}}const TAe={log(e,t,r,n){qr.Radio.channel(Rie.ANALYTICS).trigger(Ad.Inlet,new CAe(e,t,r,n))}};function AAe(){const{appLink:e}=wAe.getCurrentContext();return Is(e)||vr.throw(new Rn("Applink does not exist. Check current context.")),OAe(e.application)}function Dg(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new Rn("location must be set.")),r||vr.throw(new Rn("entity must be set.")),{productArea:e.productArea??AAe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function RAe(e){return!!(Jl(e)&&LO(e,t=>Is(t))||Is(e))}function xAe(){return Un.GetCurrentPath()+Un.GetCurrentQueryString()}function OAe(e){return e.replace(":","-")}const Ti={logUserAction(e,t){if(!RAe(e)||!Is(t))return;const{userAction:r,action:n,eventVersion:i}=Ti.buildUserActionEvent(t);TAe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),To({},e,...t)},buildActionContext(e={}){return Dg(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=Dg(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return xAe()},buildSearchEvent(e,t){return{data:{query:e},action:Dg({entity:vn.Video,location:aa.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===kl.Series&&(n=vn.Series),r===kl.Folder&&(n=vn.Folder),r===kl.Tags&&(n=vn.Tag),r===kl.Video&&(n=vn.Video),r===kl.Clip&&(n=vn.Clip),r===kl.Interactive&&(n=vn.Interactive),r===kl.Subjects&&(n=vn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:Dg({entity:n,location:aa.SearchBar})}},mapInteractionType(e){switch(e){case JO.DragDrop:return ZO.DragDrop;case JO.FileSelect:return ZO.FileSelect;default:return}}};function IAe(e,t,r){const[n,i]=Xt.useState(e),a=Xt.useRef(e?new Date:null);Xt.useEffect(()=>{if(!(!t||!r)&&!(!r.entity||!t.location))if(e)n||i(!0),a.current=new Date,Ti.logUserAction(t,{...r,actionType:Pt.Hover});else{if(!n)return;const o=new Date().getTime()-a.current.getTime();a.current=null,Ti.logUserAction({...t,timeHoveredInMilliseconds:o,timeHoveredInSeconds:o/1e3},{...r,actionType:Pt.Unhover})}},[e])}const Lg=8,PAe=1.2,kAe=(e,t,r,n=PAe)=>{const{x:i,y:a,width:o,height:l}=e,s=document.getElementById("content-width-reference");if(!s)return{};let c,d=t||o*n,h=t?t*(l/o):l*n,p=t?d/o:n;c=i-(d-o)/2,d<r&&(c=c-(r-d)/2,d=r,p=d/o,h=l*p);const g=a-(h-l)/2+window.scrollY;let m=c,_="center";return c-s.offsetLeft<Lg&&(m=i-Lg/2,_="8px"),s.offsetWidth+s.offsetLeft-(c+d)<Lg&&(m=t?i+o-t:i-o*(p-1)+Lg,_="calc(100% - 8px)"),{left:m,top:g,height:h,width:d,transformOrigin:_,position:"absolute",originalWidth:o,originalHeight:l}},DAe="_positionWrapper_gkmg7_1",LAe="_animationWrapper_gkmg7_4",hX={positionWrapper:DAe,animationWrapper:LAe};function xie(e){var P,D;const{hoverableComponent:t,componentProps:r,minHoverWidth:n,fixedHoverWidth:i,hoverScale:a}=e,{setPreviewContentNode:o}=Xt.useContext(Sie);o===void 0&&vr.throw(new Rn("Please use VideoPreviewContext inside a VideoPreviewContextProvider"));const l=Xt.useMemo(()=>eAe(),[]),[s,c]=sAe({delay:100}),[d,h]=bie(),[p,g]=Xt.useState(!1),m=Xt.useRef(null),_=Xt.useRef(!1),E=c||h;IAe(E,e.analyticsData,e.analyticsOptions),Xt.useEffect(()=>{_.current!==E&&(o(E||p?l:null),_.current=E)},[E]);const{x:w,y:b,width:x,height:T}=((D=(P=m.current)==null?void 0:P.getBoundingClientRect)==null?void 0:D.call(P))||{},A=Xt.useMemo(()=>kAe({x:w,y:b,width:x,height:T},i,n,a),[w,b,x,T,a]),O=A?A.originalWidth/A.width:1,y=t;return j.jsxs("div",{ref:m,children:[j.jsx("div",{ref:s,children:j.jsx(y,{isHovering:!1,...r})}),(E||p)&&j.jsx(ZTe,{node:l,children:j.jsx("div",{className:`${hX.positionWrapper} ${hX.animationWrapper}`,style:{"--scale":O,...A},ref:d,children:j.jsx(y,{isHovering:!0,hoverPositionConfig:A,cleanPortalNode:()=>o(null),...r})})})]})}xie.ReferenceContainer=e=>j.jsx("div",{id:"content-width-reference",className:"flex-grow-1",children:e.children});function NAe(e){return document.querySelector(`.${e}`)}const MAe=Xt.createContext(null);function $Ae(e){const[t,r]=Xt.useState();return Xt.useEffect(()=>{r(NAe(e.containerClassName))},[]),j.jsx(MAe.Provider,{value:{container:t},children:e.children})}function Rc(e){const[t,r]=ge.useState(window.matchMedia(e).matches);return ge.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 Oie=Xt.createContext({}),FAe=e=>{const t=Rc("(max-width: 575.98px)"),r=Rc("(min-width: 576px) and (max-width: 767.98px)"),n=Rc("(min-width: 768px) and (max-width: 991.98px)"),i=Rc("(min-width: 992px) and (max-width: 1199.98px)"),a=Rc("(min-width: 1200px) and (max-width: 1439.98px)"),o=Rc("(min-width: 1440px)"),l=Xt.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:a,xxl:o}),[t,r,n,i,a,o]);return j.jsx(Oie.Provider,{value:l,children:e.children})},Sx="shared.unspecifiedDialogError";class jAe extends Tf{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:Er.getPhrase(Sx,"title"),text:Er.getPhrase(Sx,"body"),buttons:[{text:Er.getPhrase(Sx,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const Ku={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},lp={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service",BRAZE:"braze:client:service"};var Ex={exports:{}};/*!
127
+ Copyright (c) 2018 Jed Watson.
128
+ Licensed under the MIT License (MIT), see
129
+ http://jedwatson.github.io/classnames
130
+ */var pX;function UAe(){return pX||(pX=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var l=arguments[o];l&&(a=i(a,n(l)))}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 l in a)t.call(a,l)&&a[l]&&(o=i(o,l));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})()})(Ex)),Ex.exports}var qAe=UAe();const sn=Ln(qAe);function vX(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function VAe(e){var t=HAe(e,"string");return typeof t=="symbol"?t:String(t)}function HAe(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 Iie(e,t,r){var n=ge.useRef(e!==void 0),i=ge.useState(t),a=i[0],o=i[1],l=e!==void 0,s=n.current;return n.current=l,!l&&s&&a!==t&&o(t),[l?e:a,ge.useCallback(function(c){for(var d=arguments.length,h=new Array(d>1?d-1:0),p=1;p<d;p++)h[p-1]=arguments[p];r&&r.apply(void 0,[c].concat(h)),o(c)},[r])]}function BAe(e,t){return Object.keys(t).reduce(function(r,n){var i,a=r,o=a[vX(n)],l=a[n],s=_1(a,[vX(n),n].map(VAe)),c=t[n],d=Iie(l,o,e[c]),h=d[0],p=d[1];return Pp({},s,(i={},i[n]=h,i[c]=p,i))},e)}function eI(e,t){return eI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},eI(e,t)}function T3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eI(e,t)}const zAe=["xxl","xl","lg","md","sm","xs"],WAe="xs",yv=ge.createContext({prefixes:{},breakpoints:zAe,minBreakpoint:WAe}),{Consumer:N8e,Provider:M8e}=yv;function Tn(e,t){const{prefixes:r}=ge.useContext(yv);return e||r[t]||t}function GAe(){const{breakpoints:e}=ge.useContext(yv);return e}function KAe(){const{minBreakpoint:e}=ge.useContext(yv);return e}function w1(){const{dir:e}=ge.useContext(yv);return e==="rtl"}function ph(e){return e&&e.ownerDocument||document}function YAe(e){var t=ph(e);return t&&t.defaultView||window}function XAe(e,t){return YAe(e).getComputedStyle(e,t)}var QAe=/([A-Z])/g;function ZAe(e){return e.replace(QAe,"-$1").toLowerCase()}var JAe=/^ms-/;function Ng(e){return ZAe(e).replace(JAe,"-ms-")}var eRe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function tRe(e){return!!(e&&eRe.test(e))}function Wc(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ng(t))||XAe(e).getPropertyValue(Ng(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(Ng(i)):tRe(i)?n+=i+"("+a+") ":r+=Ng(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}const gX={disabled:!1},zm=Xt.createContext(null);var Pie=function(t){return t.scrollTop},cp="unmounted",xc="exited",Ll="entering",Lc="entered",tI="exiting",wu=(function(e){T3(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,l=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?l?(s=xc,a.appearStatus=Ll):s=Lc:n.unmountOnExit||n.mountOnEnter?s=cp:s=xc,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===cp?{status:xc}: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!==Ll&&o!==Lc&&(a=Ll):(o===Ll||o===Lc)&&(a=tI)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,l;return a=o=l=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,l=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Ll){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Fc.findDOMNode(this);o&&Pie(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===xc&&this.setState({status:cp})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,s=this.props.nodeRef?[l]:[Fc.findDOMNode(this),l],c=s[0],d=s[1],h=this.getTimeouts(),p=l?h.appear:h.enter;if(!i&&!o||gX.disabled){this.safeSetState({status:Lc},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ll},function(){a.props.onEntering(c,d),a.onTransitionEnd(p,function(){a.safeSetState({status:Lc},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:Fc.findDOMNode(this);if(!a||gX.disabled){this.safeSetState({status:xc},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:tI},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:xc},function(){i.props.onExited(l)})})})},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(l){o&&(o=!1,a.nextCallback=null,i(l))},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:Fc.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],d=s[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===cp)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 l=_1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Xt.createElement(zm.Provider,{value:null},typeof o=="function"?o(i,l):Xt.cloneElement(Xt.Children.only(o),l))},t})(Xt.Component);wu.contextType=zm;wu.propTypes={};function id(){}wu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:id,onEntering:id,onEntered:id,onExit:id,onExiting:id,onExited:id};wu.UNMOUNTED=cp;wu.EXITED=xc;wu.ENTERING=Ll;wu.ENTERED=Lc;wu.EXITING=tI;function kie(e){return e.code==="Escape"||e.keyCode===27}function rRe(){const e=ge.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function _v(e){if(!e||typeof e=="function")return null;const{major:t}=rRe();return t>=19?e.props.ref:e.ref}const vh=!!(typeof window<"u"&&window.document&&window.document.createElement);var rI=!1,nI=!1;try{var wx={get passive(){return rI=!0},get once(){return nI=rI=!0}};vh&&(window.addEventListener("test",wx,wx),window.removeEventListener("test",wx,!0))}catch{}function A3(e,t,r,n){if(n&&typeof n!="boolean"&&!nI){var i=n.once,a=n.capture,o=r;!nI&&i&&(o=r.__once||function l(s){this.removeEventListener(t,l,a),r.call(this,s)},r.__once=o),e.addEventListener(t,o,rI?n:a)}e.addEventListener(t,r,n)}function iI(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 Yu(e,t,r,n){return A3(e,t,r,n),function(){iI(e,t,r,n)}}function nRe(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 iRe(e){var t=Wc(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function aRe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||nRe(e,"transitionend",!0)},t+r),a=Yu(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function Die(e,t,r,n){r==null&&(r=iRe(e)||0);var i=aRe(e,r,n),a=Yu(e,"transitionend",t);return function(){i(),a()}}function mX(e,t){const r=Wc(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function oRe(e,t){const r=mX(e,"transitionDuration"),n=mX(e,"transitionDelay"),i=Die(e,a=>{a.target===e&&(i(),t(a))},r+n)}function sRe(e){e.offsetHeight}const yX=e=>!e||typeof e=="function"?e:t=>{e.current=t};function uRe(e,t){const r=yX(e),n=yX(t);return i=>{r&&r(i),n&&n(i)}}function gh(e,t){return ge.useMemo(()=>uRe(e,t),[e,t])}function Wm(e){return e&&"setState"in e?Fc.findDOMNode(e):e??null}const lRe=Xt.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:l,childRef:s,...c},d)=>{const h=ge.useRef(null),p=gh(h,s),g=O=>{p(Wm(O))},m=O=>y=>{O&&h.current&&O(h.current,y)},_=ge.useCallback(m(e),[e]),E=ge.useCallback(m(t),[t]),w=ge.useCallback(m(r),[r]),b=ge.useCallback(m(n),[n]),x=ge.useCallback(m(i),[i]),T=ge.useCallback(m(a),[a]),A=ge.useCallback(m(o),[o]);return j.jsx(wu,{ref:d,...c,onEnter:_,onEntered:w,onEntering:E,onExit:b,onExited:T,onExiting:x,addEndListener:A,nodeRef:h,children:typeof l=="function"?(O,y)=>l(O,{...y,ref:g}):Xt.cloneElement(l,{ref:g})})});function cRe(e){const t=ge.useRef(e);return ge.useEffect(()=>{t.current=e},[e]),t}function Dp(e){const t=cRe(e);return ge.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const fRe=(e=>ge.forwardRef((t,r)=>j.jsx("div",{...t,ref:r,className:sn(t.className,e)})));function aI(){return ge.useState(null)}function dRe(e){const t=ge.useRef(e);return ge.useEffect(()=>{t.current=e},[e]),t}function ja(e){const t=dRe(e);return ge.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function hRe(e,t,r,n=!1){const i=ja(r);ge.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,i,n),()=>a.removeEventListener(t,i,n)},[e])}function Lie(){const e=ge.useRef(!0),t=ge.useRef(()=>e.current);return ge.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Nie(e){const t=ge.useRef(null);return ge.useEffect(()=>{t.current=e}),t.current}const pRe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",vRe=typeof document<"u",_X=vRe||pRe?ge.useLayoutEffect:ge.useEffect,gRe=["as","disabled"];function mRe(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 yRe(e){return!e||e.trim()==="#"}function R3({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:l=0,type:s}){e||(r!=null||n!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:s||"button",disabled:t},c];const d=p=>{if((t||e==="a"&&yRe(r))&&p.preventDefault(),t){p.stopPropagation();return}o==null||o(p)},h=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:l,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 Mie=ge.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=mRe(e,gRe);const[a,{tagName:o}]=R3(Object.assign({tagName:r,disabled:n},i));return j.jsx(o,Object.assign({},i,a,{ref:t}))});Mie.displayName="Button";const _Re=["onKeyDown"];function SRe(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 ERe(e){return!e||e.trim()==="#"}const $ie=ge.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=SRe(e,_Re);const[i]=R3(Object.assign({tagName:"a"},n)),a=ja(o=>{i.onKeyDown(o),r==null||r(o)});return ERe(n.href)||n.role==="button"?j.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:a})):j.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});$ie.displayName="Anchor";const wRe={[Ll]:"show",[Lc]:"show"},Lp=ge.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},l=ge.useCallback((s,c)=>{sRe(s),n==null||n(s,c)},[n]);return j.jsx(lRe,{ref:a,addEndListener:oRe,...o,onEnter:l,childRef:_v(t),children:(s,c)=>ge.cloneElement(t,{...c,className:sn("fade",e,t.props.className,wRe[s],r[s])})})});Lp.displayName="Fade";const bRe={"aria-label":Xr.string,onClick:Xr.func,variant:Xr.oneOf(["white"])},x3=ge.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>j.jsx("button",{ref:i,type:"button",className:sn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));x3.displayName="CloseButton";x3.propTypes=bRe;const b1=ge.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...l},s)=>{const c=Tn(t,"btn"),[d,{tagName:h}]=R3({tagName:e,disabled:a,...l}),p=h;return j.jsx(p,{...d,...l,ref:s,disabled:a,className:sn(o,c,i&&"active",r&&`${c}-${r}`,n&&`${c}-${n}`,l.href&&a&&"disabled")})});b1.displayName="Button";const Fie=ge.forwardRef(({bsPrefix:e,size:t,vertical:r=!1,className:n,role:i="group",as:a="div",...o},l)=>{const s=Tn(e,"btn-group");let c=s;return r&&(c=`${s}-vertical`),j.jsx(a,{...o,ref:l,role:i,className:sn(n,c,t&&`${s}-${t}`)})});Fie.displayName="ButtonGroup";function CRe(){const e=ge.useRef(!0),t=ge.useRef(()=>e.current);return ge.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function TRe(e){const t=ge.useRef(e);return t.current=e,t}function jie(e){const t=TRe(e);ge.useEffect(()=>()=>t.current(),[])}const oI=2**31-1;function Uie(e,t,r){const n=r-Date.now();e.current=n<=oI?setTimeout(t,n):setTimeout(()=>Uie(e,t,r),oI)}function ARe(){const e=CRe(),t=ge.useRef();return jie(()=>clearTimeout(t.current)),ge.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,a=0){e()&&(r(),a<=oI?t.current=setTimeout(i,a):Uie(t,i,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function RRe(e,t){return ge.Children.toArray(e).some(r=>ge.isValidElement(r)&&r.type===t)}function xRe({as:e,bsPrefix:t,className:r,...n}){t=Tn(t,"col");const i=GAe(),a=KAe(),o=[],l=[];return i.forEach(s=>{const c=n[s];delete n[s];let d,h,p;typeof c=="object"&&c!=null?{span:d,offset:h,order:p}=c:d=c;const g=s!==a?`-${s}`:"";d&&o.push(d===!0?`${t}${g}`:`${t}${g}-${d}`),p!=null&&l.push(`order${g}-${p}`),h!=null&&l.push(`offset${g}-${h}`)}),[{...n,className:sn(r,...o,...l)},{as:e,bsPrefix:t,spans:o}]}const qie=ge.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=xRe(e);return j.jsx(i,{...n,ref:t,className:sn(r,!o.length&&a)})});qie.displayName="Col";var ORe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Nl(e,t){return ORe(e.querySelectorAll(t))}function IRe(e,t,r){const n=ge.useRef(e!==void 0),[i,a]=ge.useState(t),o=e!==void 0,l=n.current;return n.current=o,!o&&l&&i!==t&&a(t),[o?e:i,ge.useCallback((...s)=>{const[c,...d]=s;let h=r==null?void 0:r(c,...d);return a(c),h},[r])]}function PRe(){const[,e]=ge.useReducer(t=>t+1,0);return e}const C1=ge.createContext(null);var SX=Object.prototype.hasOwnProperty;function EX(e,t,r){for(r of e.keys())if(vp(r,t))return r}function vp(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--&&vp(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=EX(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=EX(t,i),!i)||!vp(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(SX.call(e,r)&&++n&&!SX.call(t,r)||!(r in t)||!vp(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function kRe(e){const t=Lie();return[e[0],ge.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const DRe=tv({defaultModifiers:[wP,Yy,Gy,Ky,bP,EP,CP,mP]}),LRe=["enabled","placement","strategy","modifiers"];function NRe(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 MRe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},$Re={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)}}},FRe=[];function Vie(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=FRe}=r,l=NRe(r,LRe);const s=ge.useRef(o),c=ge.useRef(),d=ge.useCallback(()=>{var E;(E=c.current)==null||E.update()},[]),h=ge.useCallback(()=>{var E;(E=c.current)==null||E.forceUpdate()},[]),[p,g]=kRe(ge.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),m=ge.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const w={},b={};Object.keys(E.elements).forEach(x=>{w[x]=E.styles[x],b[x]=E.attributes[x]}),g({state:E,styles:w,attributes:b,update:d,forceUpdate:h,placement:E.placement})}}),[d,h,g]),_=ge.useMemo(()=>(vp(s.current,o)||(s.current=o),s.current),[o]);return ge.useEffect(()=>{!c.current||!n||c.current.setOptions({placement:i,strategy:a,modifiers:[..._,m,MRe]})},[a,i,m,n,_]),ge.useEffect(()=>{if(!(!n||e==null||t==null))return c.current=DRe(e,t,Object.assign({},l,{placement:i,strategy:a,modifiers:[..._,$Re,m]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,g(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),p}function Np(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var jRe=pne();const URe=Ln(jRe),wX=()=>{};function qRe(e){return e.button===0}function VRe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Am=e=>e&&("current"in e?e.current:e),bX={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Hie(e,t=wX,{disabled:r,clickTrigger:n="click"}={}){const i=ge.useRef(!1),a=ge.useRef(!1),o=ge.useCallback(c=>{const d=Am(e);URe(!!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||VRe(c)||!qRe(c)||!!Np(d,c.target)||a.current,a.current=!1},[e]),l=ja(c=>{const d=Am(e);d&&Np(d,c.target)?a.current=!0:a.current=!1}),s=ja(c=>{i.current||t(c)});ge.useEffect(()=>{var c,d;if(r||e==null)return;const h=ph(Am(e)),p=h.defaultView||window;let g=(c=p.event)!=null?c:(d=p.parent)==null?void 0:d.event,m=null;bX[n]&&(m=Yu(h,bX[n],l,!0));const _=Yu(h,n,o,!0),E=Yu(h,n,b=>{if(b===g){g=void 0;return}s(b)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(b=>Yu(b,"mousemove",wX))),()=>{m==null||m(),_(),E(),w.forEach(b=>b())}},[e,r,n,o,l,s])}function HRe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function BRe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Bie({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:l,popperConfig:s={}}){var c,d,h,p,g;const m=HRe(s.modifiers);return Object.assign({},s,{placement:r,enabled:e,strategy:a?"fixed":s.strategy,modifiers:BRe(Object.assign({},m,{eventListeners:{enabled:t,options:(c=m.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},m.preventOverflow,{options:o?Object.assign({padding:o},(d=m.preventOverflow)==null?void 0:d.options):(h=m.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(p=m.offset)==null?void 0:p.options)},arrow:Object.assign({},m.arrow,{enabled:!!l,options:Object.assign({},(g=m.arrow)==null?void 0:g.options,{element:l})}),flip:Object.assign({enabled:!!n},m.flip)}))})}const zRe=["children","usePopper"];function WRe(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 GRe=()=>{};function zie(e={}){const t=ge.useContext(C1),[r,n]=aI(),i=ge.useRef(!1),{flip:a,offset:o,rootCloseEvent:l,fixed:s=!1,placement:c,popperConfig:d={},enableEventListeners:h=!0,usePopper:p=!!t}=e,g=(t==null?void 0:t.show)==null?!!e.show:t.show;g&&!i.current&&(i.current=!0);const m=O=>{t==null||t.toggle(!1,O)},{placement:_,setMenu:E,menuElement:w,toggleElement:b}=t||{},x=Vie(b,w,Bie({placement:c||_||"bottom-start",enabled:p,enableEvents:h??g,offset:o,flip:a,fixed:s,arrowElement:r,popperConfig:d})),T=Object.assign({ref:E||GRe,"aria-labelledby":b==null?void 0:b.id},x.attributes.popper,{style:x.styles.popper}),A={show:g,placement:_,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:p?x:null,arrowProps:p?Object.assign({ref:n},x.attributes.arrow,{style:x.styles.arrow}):{}};return Hie(w,m,{clickTrigger:l,disabled:!g}),[T,A]}function Wie(e){let{children:t,usePopper:r=!0}=e,n=WRe(e,zRe);const[i,a]=zie(Object.assign({},n,{usePopper:r}));return j.jsx(j.Fragment,{children:t(i,a)})}Wie.displayName="DropdownMenu";const Gie={prefix:String(Math.round(Math.random()*1e10)),current:0},Kie=Xt.createContext(Gie),KRe=Xt.createContext(!1);let bx=new WeakMap;function YRe(e=!1){let t=ge.useContext(Kie),r=ge.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=Xt.__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=bx.get(a);o==null?bx.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,bx.delete(a))}r.current=++t.current}return r.current}function XRe(e){let t=ge.useContext(Kie),r=YRe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function QRe(e){let t=Xt.useId(),[r]=ge.useState(rxe()),n=r?"react-aria":`react-aria${Gie.prefix}`;return e||`${n}-${t}`}const ZRe=typeof Xt.useId=="function"?QRe:XRe;function JRe(){return!1}function exe(){return!0}function txe(e){return()=>{}}function rxe(){return typeof Xt.useSyncExternalStore=="function"?Xt.useSyncExternalStore(txe,JRe,exe):ge.useContext(KRe)}const Yie=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},CX=()=>{};function Xie(){const e=ZRe(),{show:t=!1,toggle:r=CX,setToggle:n,menuElement:i}=ge.useContext(C1)||{},a=ge.useCallback(l=>{r(!t,l)},[t,r]),o={id:e,ref:n||CX,onClick:a,"aria-expanded":!!t};return i&&Yie(i)&&(o["aria-haspopup"]=!0),[o,{show:t,toggle:r}]}function Qie({children:e}){const[t,r]=Xie();return j.jsx(j.Fragment,{children:e(t,r)})}Qie.displayName="DropdownToggle";const sI=ge.createContext(null),TX=(e,t=null)=>e!=null?String(e):t||null,Zie=ge.createContext(null);Zie.displayName="NavContext";const nxe="data-rr-ui-";function O3(e){return`${nxe}${e}`}const ixe=["eventKey","disabled","onClick","active","as"];function axe(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 Jie({key:e,href:t,active:r,disabled:n,onClick:i}){const a=ge.useContext(sI),o=ge.useContext(Zie),{activeKey:l}=o||{},s=TX(e,t),c=r==null&&e!=null?TX(l)===s:r;return[{onClick:ja(h=>{n||(i==null||i(h),a&&!h.isPropagationStopped()&&a(s,h))}),"aria-disabled":n||void 0,"aria-selected":c,[O3("dropdown-item")]:""},{isActive:c}]}const eae=ge.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:a,as:o=Mie}=e,l=axe(e,ixe);const[s]=Jie({key:r,href:l.href,disabled:n,onClick:i,active:a});return j.jsx(o,Object.assign({},l,{ref:t},s))});eae.displayName="DropdownItem";const tae=ge.createContext(vh?window:void 0);tae.Provider;function T1(){return ge.useContext(tae)}function AX(){const e=PRe(),t=ge.useRef(null),r=ge.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function Sv({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${O3("dropdown-item")}]`,focusFirstItemOnShow:a,placement:o="bottom-start",children:l}){const s=T1(),[c,d]=IRe(t,e,n),[h,p]=AX(),g=h.current,[m,_]=AX(),E=m.current,w=Nie(c),b=ge.useRef(null),x=ge.useRef(!1),T=ge.useContext(sI),A=ge.useCallback((F,B,K=B==null?void 0:B.type)=>{d(F,{originalEvent:B,source:K})},[d]),O=ja((F,B)=>{r==null||r(F,B),A(!1,B,"select"),B.isPropagationStopped()||T==null||T(F,B)}),y=ge.useMemo(()=>({toggle:A,placement:o,show:c,menuElement:g,toggleElement:E,setMenu:p,setToggle:_}),[A,o,c,g,E,p,_]);g&&w&&!c&&(x.current=g.contains(g.ownerDocument.activeElement));const P=ja(()=>{E&&E.focus&&E.focus()}),D=ja(()=>{const F=b.current;let B=a;if(B==null&&(B=h.current&&Yie(h.current)?"keyboard":!1),B===!1||B==="keyboard"&&!/^key.+$/.test(F))return;const K=Nl(h.current,i)[0];K&&K.focus&&K.focus()});ge.useEffect(()=>{c?D():x.current&&(x.current=!1,P())},[c,x,P,D]),ge.useEffect(()=>{b.current=null});const V=(F,B)=>{if(!h.current)return null;const K=Nl(h.current,i);let Q=K.indexOf(F)+B;return Q=Math.max(0,Math.min(Q,K.length)),K[Q]};return hRe(ge.useCallback(()=>s.document,[s]),"keydown",F=>{var B,K;const{key:Q}=F,X=F.target,te=(B=h.current)==null?void 0:B.contains(X),ue=(K=m.current)==null?void 0:K.contains(X);if(/input|textarea/i.test(X.tagName)&&(Q===" "||Q!=="Escape"&&te||Q==="Escape"&&X.type==="search")||!te&&!ue||Q==="Tab"&&(!h.current||!c))return;b.current=F.type;const I={originalEvent:F,source:F.type};switch(Q){case"ArrowUp":{const N=V(X,-1);N&&N.focus&&N.focus(),F.preventDefault();return}case"ArrowDown":if(F.preventDefault(),!c)d(!0,I);else{const N=V(X,1);N&&N.focus&&N.focus()}return;case"Tab":A3(X.ownerDocument,"keyup",N=>{var re;(N.key==="Tab"&&!N.target||!((re=h.current)!=null&&re.contains(N.target)))&&d(!1,I)},{once:!0});break;case"Escape":Q==="Escape"&&(F.preventDefault(),F.stopPropagation()),d(!1,I);break}}),j.jsx(sI.Provider,{value:O,children:j.jsx(C1.Provider,{value:y,children:l})})}Sv.displayName="Dropdown";Sv.Menu=Wie;Sv.Toggle=Qie;Sv.Item=eae;const I3=ge.createContext({});I3.displayName="DropdownContext";const rae=ge.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},a)=>(t=Tn(t,"dropdown-divider"),j.jsx(r,{ref:a,className:sn(e,t),role:n,...i})));rae.displayName="DropdownDivider";const nae=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},a)=>(t=Tn(t,"dropdown-header"),j.jsx(r,{ref:a,className:sn(e,t),role:n,...i})));nae.displayName="DropdownHeader";const iae=ge.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:a,as:o=$ie,...l},s)=>{const c=Tn(e,"dropdown-item"),[d,h]=Jie({key:r,href:l.href,disabled:n,onClick:i,active:a});return j.jsx(o,{...l,...d,ref:s,className:sn(t,c,h.isActive&&"active",n&&"disabled")})});iae.displayName="DropdownItem";const aae=ge.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=Tn(t,"dropdown-item-text"),j.jsx(r,{ref:i,className:sn(e,t),...n})));aae.displayName="DropdownItemText";const oxe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",sxe=typeof document<"u",oae=sxe||oxe?ge.useLayoutEffect:ge.useEffect,P3=ge.createContext(null);P3.displayName="InputGroupContext";const sae=ge.createContext(null);sae.displayName="NavbarContext";function uae(e,t){return e}function lae(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",l=r?"right-start":"left-start",s=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?s:l:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const cae=ge.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:a,renderOnMount:o,as:l="div",popperConfig:s,variant:c,...d},h)=>{let p=!1;const g=ge.useContext(sae),m=Tn(e,"dropdown-menu"),{align:_,drop:E,isRTL:w}=ge.useContext(I3);r=r||_;const b=ge.useContext(P3),x=[];if(r)if(typeof r=="object"){const F=Object.keys(r);if(F.length){const B=F[0],K=r[B];p=K==="start",x.push(`${m}-${B}-${K}`)}}else r==="end"&&(p=!0);const T=lae(p,E,w),[A,{hasShown:O,popper:y,show:P,toggle:D}]=zie({flip:i,rootCloseEvent:n,show:a,usePopper:!g&&x.length===0,offset:[0,2],popperConfig:s,placement:T});if(A.ref=gh(uae(h),A.ref),oae(()=>{P&&(y==null||y.update())},[P]),!O&&!o&&!b)return null;typeof l!="string"&&(A.show=P,A.close=()=>D==null?void 0:D(!1),A.align=r);let V=d.style;return y!=null&&y.placement&&(V={...d.style,...A.style},d["x-placement"]=y.placement),j.jsx(l,{...d,...A,style:V,...(x.length||g)&&{"data-bs-popper":"static"},className:sn(t,m,P&&"show",p&&`${m}-end`,c&&`${m}-${c}`,...x)})});cae.displayName="DropdownMenu";const fae=ge.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=b1,...a},o)=>{const l=Tn(e,"dropdown-toggle"),s=ge.useContext(C1);n!==void 0&&(a.bsPrefix=n);const[c]=Xie();return c.ref=gh(c.ref,uae(o)),j.jsx(i,{className:sn(r,l,t&&`${l}-split`,(s==null?void 0:s.show)&&"show"),...c,...a})});fae.displayName="DropdownToggle";const dae=ge.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:a,align:o="start",onSelect:l,onToggle:s,focusFirstItemOnShow:c,as:d="div",navbar:h,autoClose:p=!0,...g}=BAe(e,{show:"onToggle"}),m=ge.useContext(P3),_=Tn(r,"dropdown"),E=w1(),w=y=>p===!1?y==="click":p==="inside"?y!=="rootClose":p==="outside"?y!=="select":!0,b=Dp((y,P)=>{var D;!((D=P.originalEvent)==null||(D=D.target)==null)&&D.classList.contains("dropdown-toggle")&&P.source==="mousedown"||(P.originalEvent.currentTarget===document&&(P.source!=="keydown"||P.originalEvent.key==="Escape")&&(P.source="rootClose"),w(P.source)&&(s==null||s(y,P)))}),T=lae(o==="end",n,E),A=ge.useMemo(()=>({align:o,drop:n,isRTL:E}),[o,n,E]),O={down:_,"down-centered":`${_}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return j.jsx(I3.Provider,{value:A,children:j.jsx(Sv,{placement:T,show:i,onSelect:l,onToggle:b,focusFirstItemOnShow:c,itemSelector:`.${_}-item:not(.disabled):not(:disabled)`,children:m?g.children:j.jsx(d,{...g,ref:t,className:sn(a,i&&"show",O[n])})})})});dae.displayName="Dropdown";const Co=Object.assign(dae,{Toggle:fae,Menu:cae,Item:iae,ItemText:aae,Divider:rae,Header:nae}),uxe={type:Xr.string,tooltip:Xr.bool,as:Xr.elementType},A1=ge.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>j.jsx(e,{...i,ref:a,className:sn(t,`${r}-${n?"tooltip":"feedback"}`)}));A1.displayName="Feedback";A1.propTypes=uxe;const tl=ge.createContext({}),k3=ge.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...l},s)=>{const{controlId:c}=ge.useContext(tl);return t=Tn(t,"form-check-input"),j.jsx(o,{...l,ref:s,type:n,id:e||c,className:sn(r,t,i&&"is-valid",a&&"is-invalid")})});k3.displayName="FormCheckInput";const Gm=ge.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=ge.useContext(tl);return e=Tn(e,"form-check-label"),j.jsx("label",{...n,ref:i,htmlFor:r||a,className:sn(t,e)})});Gm.displayName="FormCheckLabel";const hae=ge.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:l=!1,feedbackTooltip:s=!1,feedback:c,feedbackType:d,className:h,style:p,title:g="",type:m="checkbox",label:_,children:E,as:w="input",...b},x)=>{t=Tn(t,"form-check"),r=Tn(r,"form-switch");const{controlId:T}=ge.useContext(tl),A=ge.useMemo(()=>({controlId:e||T}),[T,e]),O=!E&&_!=null&&_!==!1||RRe(E,Gm),y=j.jsx(k3,{...b,type:m==="switch"?"checkbox":m,ref:x,isValid:o,isInvalid:l,disabled:a,as:w});return j.jsx(tl.Provider,{value:A,children:j.jsx("div",{style:p,className:sn(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,m==="switch"&&r),children:E||j.jsxs(j.Fragment,{children:[y,O&&j.jsx(Gm,{title:g,children:_}),c&&j.jsx(A1,{type:d,tooltip:s,children:c})]})})})});hae.displayName="FormCheck";const Km=Object.assign(hae,{Input:k3,Label:Gm}),pae=ge.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:l=!1,plaintext:s,readOnly:c,as:d="input",...h},p)=>{const{controlId:g}=ge.useContext(tl);return e=Tn(e,"form-control"),j.jsx(d,{...h,type:t,size:n,ref:p,readOnly:c,id:i||g,className:sn(a,s?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,o&&"is-valid",l&&"is-invalid")})});pae.displayName="FormControl";const lxe=Object.assign(pae,{Feedback:A1}),vae=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Tn(t,"form-floating"),j.jsx(r,{ref:i,className:sn(e,t),...n})));vae.displayName="FormFloating";const D3=ge.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=ge.useMemo(()=>({controlId:e}),[e]);return j.jsx(tl.Provider,{value:i,children:j.jsx(t,{...r,ref:n})})});D3.displayName="FormGroup";const gae=ge.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},l)=>{const{controlId:s}=ge.useContext(tl);t=Tn(t,"form-label");let c="col-form-label";typeof r=="string"&&(c=`${c} ${c}-${r}`);const d=sn(i,t,n&&"visually-hidden",r&&c);return a=a||s,r?j.jsx(qie,{ref:l,as:"label",className:d,htmlFor:a,...o}):j.jsx(e,{ref:l,className:d,htmlFor:a,...o})});gae.displayName="FormLabel";const mae=ge.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=ge.useContext(tl);return e=Tn(e,"form-range"),j.jsx("input",{...n,type:"range",ref:i,className:sn(t,e),id:r||a})});mae.displayName="FormRange";const yae=ge.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...l},s)=>{const{controlId:c}=ge.useContext(tl);return e=Tn(e,"form-select"),j.jsx("select",{...l,size:r,ref:s,className:sn(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||c})});yae.displayName="FormSelect";const _ae=ge.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=Tn(e,"form-text"),j.jsx(r,{...i,ref:a,className:sn(t,e,n&&"text-muted")})));_ae.displayName="FormText";const Sae=ge.forwardRef((e,t)=>j.jsx(Km,{...e,ref:t,type:"switch"}));Sae.displayName="Switch";const cxe=Object.assign(Sae,{Input:Km.Input,Label:Km.Label}),Eae=ge.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=Tn(e,"form-floating"),j.jsxs(D3,{ref:o,className:sn(t,e),controlId:n,...a,children:[r,j.jsx("label",{htmlFor:n,children:i})]})));Eae.displayName="FloatingLabel";const fxe={_ref:Xr.any,validated:Xr.bool,as:Xr.elementType},L3=ge.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>j.jsx(r,{...n,ref:i,className:sn(e,t&&"was-validated")}));L3.displayName="Form";L3.propTypes=fxe;const Md=Object.assign(L3,{Group:D3,Control:lxe,Floating:vae,Check:Km,Switch:cxe,Label:gae,Text:_ae,Range:mae,Select:yae,FloatingLabel:Eae}),RX=e=>!e||typeof e=="function"?e:t=>{e.current=t};function dxe(e,t){const r=RX(e),n=RX(t);return i=>{r&&r(i),n&&n(i)}}function R1(e,t){return ge.useMemo(()=>dxe(e,t),[e,t])}var Mg;function xX(e){if((!Mg&&Mg!==0||e)&&vh){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),Mg=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Mg}function hxe(){return ge.useState(null)}function Cx(e){e===void 0&&(e=ph());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function pxe(e){const t=ge.useRef(e);return t.current=e,t}function vxe(e){const t=pxe(e);ge.useEffect(()=>()=>t.current(),[])}function gxe(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const OX=O3("modal-open");class N3{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return gxe(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(Wc(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(OX,""),Wc(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(OX),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 Tx=(e,t)=>vh?e==null?(t||ph()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function uI(e,t){const r=T1(),[n,i]=ge.useState(()=>Tx(e,r==null?void 0:r.document));if(!n){const a=Tx(e);a&&i(a)}return ge.useEffect(()=>{},[t,n]),ge.useEffect(()=>{const a=Tx(e);a!==n&&i(a)},[e,n]),n}function mxe({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const a=ge.useRef(null),o=ge.useRef(t),l=ja(r);ge.useEffect(()=>{t?o.current=!0:l(a.current)},[t,l]);const s=R1(a,_v(e)),c=ge.cloneElement(e,{ref:s});return t?c:i||!o.current&&n?null:c}const yxe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function _xe(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 Sxe(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:a,onExited:o,addEndListener:l,children:s}=e,c=_xe(e,yxe);const d=ge.useRef(null),h=R1(d,_v(s)),p=T=>A=>{T&&d.current&&T(d.current,A)},g=ge.useCallback(p(t),[t]),m=ge.useCallback(p(r),[r]),_=ge.useCallback(p(n),[n]),E=ge.useCallback(p(i),[i]),w=ge.useCallback(p(a),[a]),b=ge.useCallback(p(o),[o]),x=ge.useCallback(p(l),[l]);return Object.assign({},c,{nodeRef:d},t&&{onEnter:g},r&&{onEntering:m},n&&{onEntered:_},i&&{onExit:E},a&&{onExiting:w},o&&{onExited:b},l&&{addEndListener:x},{children:typeof s=="function"?(T,A)=>s(T,Object.assign({},A,{ref:h})):ge.cloneElement(s,{ref:h})})}const Exe=["component"];function wxe(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 bxe=ge.forwardRef((e,t)=>{let{component:r}=e,n=wxe(e,Exe);const i=Sxe(n);return j.jsx(r,Object.assign({ref:t},i))});function Cxe({in:e,onTransition:t}){const r=ge.useRef(null),n=ge.useRef(!0),i=ja(t);return _X(()=>{if(!r.current)return;let a=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,i]),_X(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function Txe({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[a,o]=ge.useState(!t);t&&a&&o(!1);const l=Cxe({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})}}),s=R1(l,_v(e));return a&&!t?null:ge.cloneElement(e,{ref:s})}function lI(e,t,r){return e?j.jsx(bxe,Object.assign({},r,{component:e})):t?j.jsx(Txe,Object.assign({},r,{transition:t})):j.jsx(mxe,Object.assign({},r))}const Axe=["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 Rxe(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 Ax;function xxe(e){return Ax||(Ax=new N3({ownerDocument:e==null?void 0:e.document})),Ax}function Oxe(e){const t=T1(),r=e||xxe(t),n=ge.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:ge.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:ge.useCallback(i=>{n.current.backdrop=i},[])})}const wae=ge.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:a,children:o,backdrop:l=!0,keyboard:s=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:h,runTransition:p,backdropTransition:g,runBackdropTransition:m,autoFocus:_=!0,enforceFocus:E=!0,restoreFocus:w=!0,restoreFocusOptions:b,renderDialog:x,renderBackdrop:T=fe=>j.jsx("div",Object.assign({},fe)),manager:A,container:O,onShow:y,onHide:P=()=>{},onExit:D,onExited:V,onExiting:F,onEnter:B,onEntering:K,onEntered:Q}=e,X=Rxe(e,Axe);const te=T1(),ue=uI(O),L=Oxe(A),I=Lie(),N=Nie(r),[re,ee]=ge.useState(!r),ce=ge.useRef(null);ge.useImperativeHandle(t,()=>L,[L]),vh&&!N&&r&&(ce.current=Cx(te==null?void 0:te.document)),r&&re&&ee(!1);const be=ja(()=>{if(L.add(),H.current=Yu(document,"keydown",k),U.current=Yu(document,"focus",()=>setTimeout(je),!0),y&&y(),_){var fe,Te;const Se=Cx((fe=(Te=L.dialog)==null?void 0:Te.ownerDocument)!=null?fe:te==null?void 0:te.document);L.dialog&&Se&&!Np(L.dialog,Se)&&(ce.current=Se,L.dialog.focus())}}),Ie=ja(()=>{if(L.remove(),H.current==null||H.current(),U.current==null||U.current(),w){var fe;(fe=ce.current)==null||fe.focus==null||fe.focus(b),ce.current=null}});ge.useEffect(()=>{!r||!ue||be()},[r,ue,be]),ge.useEffect(()=>{re&&Ie()},[re,Ie]),vxe(()=>{Ie()});const je=ja(()=>{if(!E||!I()||!L.isTopModal())return;const fe=Cx(te==null?void 0:te.document);L.dialog&&fe&&!Np(L.dialog,fe)&&L.dialog.focus()}),z=ja(fe=>{fe.target===fe.currentTarget&&(c==null||c(fe),l===!0&&P())}),k=ja(fe=>{s&&kie(fe)&&L.isTopModal()&&(d==null||d(fe),fe.defaultPrevented||P())}),U=ge.useRef(),H=ge.useRef(),ne=(...fe)=>{ee(!0),V==null||V(...fe)};if(!ue)return null;const q=Object.assign({role:n,ref:L.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},X,{style:a,className:i,tabIndex:-1});let J=x?x(q):j.jsx("div",Object.assign({},q,{children:ge.cloneElement(o,{role:"document"})}));J=lI(h,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:D,onExiting:F,onExited:ne,onEnter:B,onEntering:K,onEntered:Q,children:J});let me=null;return l&&(me=T({ref:L.setBackdropRef,onClick:z}),me=lI(g,m,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:me})),j.jsx(j.Fragment,{children:Fc.createPortal(j.jsxs(j.Fragment,{children:[me,J]}),ue)})});wae.displayName="Modal";const Ixe=Object.assign(wae,{Manager:N3});function cI(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function bae(e,t){e.classList?e.classList.add(t):cI(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function IX(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Cae(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=IX(e.className,t):e.setAttribute("class",IX(e.className&&e.className.baseVal||"",t))}const ad={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Pxe extends N3{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Wc(r,{[t]:`${parseFloat(Wc(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Wc(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(bae(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Nl(r,ad.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Nl(r,ad.STICKY_CONTENT).forEach(a=>this.adjustAndStore(i,a,-t.scrollBarWidth)),Nl(r,ad.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(i,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();Cae(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Nl(r,ad.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Nl(r,ad.STICKY_CONTENT).forEach(a=>this.restore(i,a)),Nl(r,ad.NAVBAR_TOGGLER).forEach(a=>this.restore(i,a))}}let Rx;function kxe(e){return Rx||(Rx=new Pxe(e)),Rx}const Tae=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Tn(t,"modal-body"),j.jsx(r,{ref:i,className:sn(e,t),...n})));Tae.displayName="ModalBody";const Aae=ge.createContext({onHide(){}}),M3=ge.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:l,...s},c)=>{e=Tn(e,"modal");const d=`${e}-dialog`,h=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return j.jsx("div",{...s,ref:c,className:sn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,l&&`${d}-scrollable`,a&&h),children:j.jsx("div",{className:sn(`${e}-content`,r),children:o})})});M3.displayName="ModalDialog";const Rae=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Tn(t,"modal-footer"),j.jsx(r,{ref:i,className:sn(e,t),...n})));Rae.displayName="ModalFooter";const Dxe=ge.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...a},o)=>{const l=ge.useContext(Aae),s=Dp(()=>{l==null||l.onHide(),n==null||n()});return j.jsxs("div",{ref:o,...a,children:[i,r&&j.jsx(x3,{"aria-label":e,variant:t,onClick:s})]})}),xae=ge.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},a)=>(e=Tn(e,"modal-header"),j.jsx(Dxe,{ref:a,...i,className:sn(t,e),closeLabel:r,closeButton:n})));xae.displayName="ModalHeader";const Lxe=fRe("h4"),Oae=ge.forwardRef(({className:e,bsPrefix:t,as:r=Lxe,...n},i)=>(t=Tn(t,"modal-title"),j.jsx(r,{ref:i,className:sn(e,t),...n})));Oae.displayName="ModalTitle";function Nxe(e){return j.jsx(Lp,{...e,timeout:null})}function Mxe(e){return j.jsx(Lp,{...e,timeout:null})}const Iae=ge.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:a,dialogAs:o=M3,"data-bs-theme":l,"aria-labelledby":s,"aria-describedby":c,"aria-label":d,show:h=!1,animation:p=!0,backdrop:g=!0,keyboard:m=!0,onEscapeKeyDown:_,onShow:E,onHide:w,container:b,autoFocus:x=!0,enforceFocus:T=!0,restoreFocus:A=!0,restoreFocusOptions:O,onEntered:y,onExit:P,onExiting:D,onEnter:V,onEntering:F,onExited:B,backdropClassName:K,manager:Q,...X},te)=>{const[ue,L]=ge.useState({}),[I,N]=ge.useState(!1),re=ge.useRef(!1),ee=ge.useRef(!1),ce=ge.useRef(null),[be,Ie]=hxe(),je=gh(te,Ie),z=Dp(w),k=w1();e=Tn(e,"modal");const U=ge.useMemo(()=>({onHide:z}),[z]);function H(){return Q||kxe({isRTL:k})}function ne(Be){if(!vh)return;const _t=H().getScrollbarWidth()>0,Ut=Be.scrollHeight>ph(Be).documentElement.clientHeight;L({paddingRight:_t&&!Ut?xX():void 0,paddingLeft:!_t&&Ut?xX():void 0})}const q=Dp(()=>{be&&ne(be.dialog)});jie(()=>{iI(window,"resize",q),ce.current==null||ce.current()});const J=()=>{re.current=!0},me=Be=>{re.current&&be&&Be.target===be.dialog&&(ee.current=!0),re.current=!1},fe=()=>{N(!0),ce.current=Die(be.dialog,()=>{N(!1)})},Te=Be=>{Be.target===Be.currentTarget&&fe()},Se=Be=>{if(g==="static"){Te(Be);return}if(ee.current||Be.target!==Be.currentTarget){ee.current=!1;return}w==null||w()},Oe=Be=>{m?_==null||_(Be):(Be.preventDefault(),g==="static"&&fe())},Me=(Be,_t)=>{Be&&ne(Be),V==null||V(Be,_t)},de=Be=>{ce.current==null||ce.current(),P==null||P(Be)},Ee=(Be,_t)=>{F==null||F(Be,_t),A3(window,"resize",q)},_e=Be=>{Be&&(Be.style.display=""),B==null||B(Be),iI(window,"resize",q)},Ae=ge.useCallback(Be=>j.jsx("div",{...Be,className:sn(`${e}-backdrop`,K,!p&&"show")}),[p,K,e]),De={...r,...ue};De.display="block";const Ne=Be=>j.jsx("div",{role:"dialog",...Be,style:De,className:sn(t,e,I&&`${e}-static`,!p&&"show"),onClick:g?Se:void 0,onMouseUp:me,"data-bs-theme":l,"aria-label":d,"aria-labelledby":s,"aria-describedby":c,children:j.jsx(o,{...X,onMouseDown:J,className:n,contentClassName:i,children:a})});return j.jsx(Aae.Provider,{value:U,children:j.jsx(Ixe,{show:h,ref:je,backdrop:g,container:b,keyboard:!0,autoFocus:x,enforceFocus:T,restoreFocus:A,restoreFocusOptions:O,onEscapeKeyDown:Oe,onShow:E,onHide:w,onEnter:Me,onEntering:Ee,onEntered:y,onExit:de,onExiting:D,onExited:_e,manager:H(),transition:p?Nxe:void 0,backdropTransition:p?Mxe:void 0,renderBackdrop:Ae,renderDialog:Ne})})});Iae.displayName="Modal";const $g=Object.assign(Iae,{Body:Tae,Header:xae,Title:Oae,Footer:Rae,Dialog:M3,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),$xe=()=>{};function Fxe(e,t,{disabled:r,clickTrigger:n}={}){const i=t||$xe;Hie(e,i,{disabled:r,clickTrigger:n});const a=ja(o=>{kie(o)&&i(o)});ge.useEffect(()=>{if(r||e==null)return;const o=ph(Am(e));let l=(o.defaultView||window).event;const s=Yu(o,"keyup",c=>{if(c===l){l=void 0;return}a(c)});return()=>{s()}},[e,r,a])}const Pae=ge.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:l,runTransition:s}=e,[c,d]=aI(),[h,p]=aI(),g=R1(d,t),m=uI(e.container),_=uI(e.target),[E,w]=ge.useState(!e.show),b=Vie(_,c,Bie({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:h,popperConfig:o}));e.show&&E&&w(!1);const x=(...F)=>{w(!0),e.onExited&&e.onExited(...F)},T=e.show||!E;if(Fxe(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!T)return null;const{onExit:A,onExiting:O,onEnter:y,onEntering:P,onEntered:D}=e;let V=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:p})});return V=lI(l,s,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:V,onExit:A,onExiting:O,onExited:x,onEnter:y,onEntering:P,onEntered:D}),m?Fc.createPortal(V,m):null});Pae.displayName="Overlay";const kae=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Tn(t,"popover-header"),j.jsx(r,{ref:i,className:sn(e,t),...n})));kae.displayName="PopoverHeader";const $3=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Tn(t,"popover-body"),j.jsx(r,{ref:i,className:sn(e,t),...n})));$3.displayName="PopoverBody";function Dae(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Lae(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const jxe=ge.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:l,popper:s,show:c,...d},h)=>{const p=Tn(e,"popover"),g=w1(),[m]=(t==null?void 0:t.split("-"))||[],_=Dae(m,g);let E=n;return c&&!l&&(E={...n,...Lae(s==null?void 0:s.strategy)}),j.jsxs("div",{ref:h,role:"tooltip",style:E,"x-placement":m,className:sn(r,p,m&&`bs-popover-${_}`),...d,children:[j.jsx("div",{className:"popover-arrow",...o}),a?j.jsx($3,{children:i}):i]})}),Uxe=Object.assign(jxe,{Header:kae,Body:$3,POPPER_OFFSET:[0,8]}),Nae=ge.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:l,show:s,...c},d)=>{e=Tn(e,"tooltip");const h=w1(),[p]=(t==null?void 0:t.split("-"))||[],g=Dae(p,h);let m=n;return s&&!o&&(m={...n,...Lae(l==null?void 0:l.strategy)}),j.jsxs("div",{ref:d,style:m,role:"tooltip","x-placement":p,className:sn(r,e,`bs-tooltip-${g}`),...c,children:[j.jsx("div",{className:"tooltip-arrow",...a}),j.jsx("div",{className:`${e}-inner`,children:i})]})});Nae.displayName="Tooltip";const F3=Object.assign(Nae,{TOOLTIP_OFFSET:[0,6]});function qxe(e){const t=ge.useRef(null),r=Tn(void 0,"popover"),n=Tn(void 0,"tooltip"),i=ge.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(cI(t.current,r))return Uxe.POPPER_OFFSET;if(cI(t.current,n))return F3.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function Vxe(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(Wm(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(Wm(i)))}const Mae=ge.forwardRef(({children:e,transition:t=Lp,popperConfig:r={},rootClose:n=!1,placement:i="top",show:a=!1,...o},l)=>{const s=ge.useRef({}),[c,d]=ge.useState(null),[h,p]=qxe(o.offset),g=gh(l,h),m=t===!0?Lp:t||void 0,_=Dp(E=>{d(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return oae(()=>{c&&o.target&&(s.current.scheduleUpdate==null||s.current.scheduleUpdate())},[c,o.target]),ge.useEffect(()=>{a||d(null)},[a]),j.jsx(Pae,{...o,ref:g,popperConfig:{...r,modifiers:p.concat(r.modifiers||[]),onFirstUpdate:_},transition:m,rootClose:n,placement:i,show:a,children:(E,{arrowProps:w,popper:b,show:x})=>{var T;Vxe(E,w);const A=b==null?void 0:b.placement,O=Object.assign(s.current,{state:b==null?void 0:b.state,scheduleUpdate:b==null?void 0:b.update,placement:A,outOfBoundaries:(b==null||(T=b.state)==null||(T=T.modifiersData.hide)==null?void 0:T.isReferenceHidden)||!1,strategy:r.strategy}),y=!!c;return typeof e=="function"?e({...E,placement:A,show:x,...!t&&x&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:y}):ge.cloneElement(e,{...E,placement:A,arrowProps:w,popper:O,hasDoneInitialMeasure:y,className:sn(e.props.className,!t&&x&&"show"),style:{...e.props.style,...E.style}})}})});Mae.displayName="Overlay";function Hxe(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function PX(e,t,r){const[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==i)&&!Np(i,a)&&e(...t)}Xr.oneOf(["click","hover","focus"]);const fI=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:l,placement:s,flip:c=s&&s.indexOf("auto")!==-1,...d})=>{const h=ge.useRef(null),p=gh(h,_v(r)),g=ARe(),m=ge.useRef(""),[_,E]=Iie(i,a,o),w=Hxe(l),{onFocus:b,onBlur:x,onClick:T}=typeof r!="function"?ge.Children.only(r).props:{},A=X=>{p(Wm(X))},O=ge.useCallback(()=>{if(g.clear(),m.current="show",!w.show){E(!0);return}g.set(()=>{m.current==="show"&&E(!0)},w.show)},[w.show,E,g]),y=ge.useCallback(()=>{if(g.clear(),m.current="hide",!w.hide){E(!1);return}g.set(()=>{m.current==="hide"&&E(!1)},w.hide)},[w.hide,E,g]),P=ge.useCallback((...X)=>{O(),b==null||b(...X)},[O,b]),D=ge.useCallback((...X)=>{y(),x==null||x(...X)},[y,x]),V=ge.useCallback((...X)=>{E(!_),T==null||T(...X)},[T,E,_]),F=ge.useCallback((...X)=>{PX(O,X,"fromElement")},[O]),B=ge.useCallback((...X)=>{PX(y,X,"toElement")},[y]),K=e==null?[]:[].concat(e),Q={ref:A};return K.indexOf("click")!==-1&&(Q.onClick=V),K.indexOf("focus")!==-1&&(Q.onFocus=P,Q.onBlur=D),K.indexOf("hover")!==-1&&(Q.onMouseOver=F,Q.onMouseOut=B),j.jsxs(j.Fragment,{children:[typeof r=="function"?r(Q):ge.cloneElement(r,Q),j.jsx(Mae,{...d,show:_,onHide:y,flip:c,placement:s,popperConfig:n,target:h.current,children:t})]})},Ev=ge.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:a,...o},l)=>{e=Tn(e,"spinner");const s=`${e}-${r}`;return j.jsx(i,{ref:l,...o,className:sn(a,s,n&&`${s}-${n}`,t&&`text-${t}`)})});Ev.displayName="Spinner";const $d=Xt.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 j.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})}),Bxe="_appLink_1d1n3_1",zxe={appLink:Bxe},Yo=ge.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:a,children:o,disabled:l,tag:s="a",preventFocus:c}=e;if(!r)return j.jsx("div",{ref:t,className:`${zxe.appLink} ${i||""}`,style:a,children:o});const d=Vn.getHref(r,n)||void 0,p={onClick:g=>{var _;const m=g.metaKey||g.ctrlKey;m||g.preventDefault(),!l&&((_=e.onClick)==null||_.call(e,g),e.analyticsData&&e.analyticsOptions&&Ti.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!m&&(e.openInNewTab?Un.PageLoad(d,!0):e.forcePageLoad?Un.PageLoad(d):Vn.trigger(r,n)))},...s==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:a,disabled:l,tabIndex:c?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return s==="button"||!d?j.jsx($d,{...p,children:o}):j.jsx(s,{...p,children:o})});function Wxe(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}const $ae={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}};function Gxe(e){const[t,r]=ge.useState(!1),n=ge.useMemo(()=>`${e.type}-${$ae.getRandomInt()}`,[]);if(!e.title)return j.jsx(j.Fragment,{children:e.children});const i=j.jsx(F3,{id:n,style:{opacity:t?1:0},children:e.title});return e.spanHack?j.jsx(fI,{placement:e.placement,overlay:i,trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,onEntered:()=>r(!0),onExited:()=>r(!1),children:j.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},n)}):j.jsx(fI,{placement:e.placement,overlay:i,trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,onEntered:()=>r(!0),onExited:()=>r(!1),children:j.jsx(ge.Fragment,{children:e.children},n)})}function Kxe(e){const[t,r]=ge.useState(),[n,i]=ge.useState(!1);return ge.useEffect(()=>{const a=document.createElement("div");E3.createRoot(a).render(e.markupComponent),window.setTimeout(()=>{r(a.innerHTML)},100)}),j.jsx(fI,{placement:"top",overlay:j.jsx(F3,{id:e.id,style:{opacity:n?1:0},children:j.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],show:e.show,onEntered:()=>i(!0),onExited:()=>i(!1),children:j.jsx("div",{children:e.children})})}pu.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function pu(e){return e.type==="text"?j.jsx(Gxe,{...e,type:"text"}):e.type==="markup"?j.jsx(Kxe,{...e,type:"markup"}):j.jsx(j.Fragment,{})}var xl={},wc={};/**
131
+ * @license React
132
+ * react-dom-server-legacy.browser.production.min.js
133
+ *
134
+ * Copyright (c) Facebook, Inc. and its affiliates.
135
+ *
136
+ * This source code is licensed under the MIT license found in the
137
+ * LICENSE file in the root directory of this source tree.
138
+ */var kX;function Yxe(){if(kX)return wc;kX=1;var e=$o();function t(W){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+W,Ce=1;Ce<arguments.length;Ce++)se+="&args[]="+encodeURIComponent(arguments[Ce]);return"Minified React error #"+W+"; 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(W,se){return r&&(r=!1,se[0]!=="<"&&W.push("<!-- -->")),se==="<!-- -->"?r=!0:W.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={},l={};function s(W){return i.call(l,W)?!0:i.call(o,W)?!1:a.test(W)?l[W]=!0:(o[W]=!0,!1)}function c(W,se,Ce,qe,ht,rt,Ot){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=qe,this.attributeNamespace=ht,this.mustUseProperty=Ce,this.propertyName=W,this.type=se,this.sanitizeURL=rt,this.removeEmptyString=Ot}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(W){d[W]=new c(W,0,!1,W,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(W){var se=W[0];d[se]=new c(se,1,!1,W[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(W){d[W]=new c(W,2,!1,W.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(W){d[W]=new c(W,2,!1,W,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(W){d[W]=new c(W,3,!1,W.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(W){d[W]=new c(W,3,!0,W,null,!1,!1)}),["capture","download"].forEach(function(W){d[W]=new c(W,4,!1,W,null,!1,!1)}),["cols","rows","size","span"].forEach(function(W){d[W]=new c(W,6,!1,W,null,!1,!1)}),["rowSpan","start"].forEach(function(W){d[W]=new c(W,5,!1,W.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function p(W){return W[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(W){var se=W.replace(h,p);d[se]=new c(se,1,!1,W,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(W){var se=W.replace(h,p);d[se]=new c(se,1,!1,W,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(W){var se=W.replace(h,p);d[se]=new c(se,1,!1,W,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(W){d[W]=new c(W,1,!1,W.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(W){d[W]=new c(W,1,!1,W.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},m=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(W){m.forEach(function(se){se=se+W.charAt(0).toUpperCase()+W.substring(1),g[se]=g[W]})});var _=/["'&<>]/;function E(W){if(typeof W=="boolean"||typeof W=="number")return""+W;W=""+W;var se=_.exec(W);if(se){var Ce="",qe,ht=0;for(qe=se.index;qe<W.length;qe++){switch(W.charCodeAt(qe)){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}ht!==qe&&(Ce+=W.substring(ht,qe)),ht=qe+1,Ce+=se}W=ht!==qe?Ce+W.substring(ht,qe):Ce}return W}var w=/([A-Z])/g,b=/^ms-/,x=Array.isArray;function T(W,se){return{insertionMode:W,selectedValue:se}}function A(W,se,Ce){switch(se){case"select":return T(1,Ce.value!=null?Ce.value:Ce.defaultValue);case"svg":return T(2,null);case"math":return T(3,null);case"foreignObject":return T(1,null);case"table":return T(4,null);case"thead":case"tbody":case"tfoot":return T(5,null);case"colgroup":return T(7,null);case"tr":return T(6,null)}return 4<=W.insertionMode||W.insertionMode===0?T(1,null):W}function O(W,se){se!==""&&W.push(E(se),"<!-- -->")}var y=new Map;function P(W,se,Ce){if(typeof Ce!="object")throw Error(t(62));se=!0;for(var qe in Ce)if(i.call(Ce,qe)){var ht=Ce[qe];if(ht!=null&&typeof ht!="boolean"&&ht!==""){if(qe.indexOf("--")===0){var rt=E(qe);ht=E((""+ht).trim())}else{rt=qe;var Ot=y.get(rt);Ot!==void 0||(Ot=E(rt.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),y.set(rt,Ot)),rt=Ot,ht=typeof ht=="number"?ht===0||i.call(g,qe)?""+ht:ht+"px":E((""+ht).trim())}se?(se=!1,W.push(' style="',rt,":",ht)):W.push(";",rt,":",ht)}}se||W.push('"')}function D(W,se,Ce,qe){switch(Ce){case"style":P(W,se,qe);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Ce.length)||Ce[0]!=="o"&&Ce[0]!=="O"||Ce[1]!=="n"&&Ce[1]!=="N"){if(se=d.hasOwnProperty(Ce)?d[Ce]:null,se!==null){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(!se.acceptsBooleans)return}switch(Ce=se.attributeName,se.type){case 3:qe&&W.push(" ",Ce,'=""');break;case 4:qe===!0?W.push(" ",Ce,'=""'):qe!==!1&&W.push(" ",Ce,'="',E(qe),'"');break;case 5:isNaN(qe)||W.push(" ",Ce,'="',E(qe),'"');break;case 6:!isNaN(qe)&&1<=qe&&W.push(" ",Ce,'="',E(qe),'"');break;default:se.sanitizeURL&&(qe=""+qe),W.push(" ",Ce,'="',E(qe),'"')}}else if(s(Ce)){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(se=Ce.toLowerCase().slice(0,5),se!=="data-"&&se!=="aria-")return}W.push(" ",Ce,'="',E(qe),'"')}}}function V(W,se,Ce){if(se!=null){if(Ce!=null)throw Error(t(60));if(typeof se!="object"||!("__html"in se))throw Error(t(61));se=se.__html,se!=null&&W.push(""+se)}}function F(W){var se="";return e.Children.forEach(W,function(Ce){Ce!=null&&(se+=Ce)}),se}function B(W,se,Ce,qe){W.push(X(Ce));var ht=Ce=null,rt;for(rt in se)if(i.call(se,rt)){var Ot=se[rt];if(Ot!=null)switch(rt){case"children":Ce=Ot;break;case"dangerouslySetInnerHTML":ht=Ot;break;default:D(W,qe,rt,Ot)}}return W.push(">"),V(W,ht,Ce),typeof Ce=="string"?(W.push(E(Ce)),null):Ce}var K=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q=new Map;function X(W){var se=Q.get(W);if(se===void 0){if(!K.test(W))throw Error(t(65,W));se="<"+W,Q.set(W,se)}return se}function te(W,se,Ce,qe,ht){switch(se){case"select":W.push(X("select"));var rt=null,Ot=null;for(Pr in Ce)if(i.call(Ce,Pr)){var zt=Ce[Pr];if(zt!=null)switch(Pr){case"children":rt=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;case"defaultValue":case"value":break;default:D(W,qe,Pr,zt)}}return W.push(">"),V(W,Ot,rt),rt;case"option":Ot=ht.selectedValue,W.push(X("option"));var Zt=zt=null,Cr=null,Pr=null;for(rt in Ce)if(i.call(Ce,rt)&&(se=Ce[rt],se!=null))switch(rt){case"children":zt=se;break;case"selected":Cr=se;break;case"dangerouslySetInnerHTML":Pr=se;break;case"value":Zt=se;default:D(W,qe,rt,se)}if(Ot!=null)if(Ce=Zt!==null?""+Zt:F(zt),x(Ot)){for(qe=0;qe<Ot.length;qe++)if(""+Ot[qe]===Ce){W.push(' selected=""');break}}else""+Ot===Ce&&W.push(' selected=""');else Cr&&W.push(' selected=""');return W.push(">"),V(W,Pr,zt),zt;case"textarea":W.push(X("textarea")),Pr=Ot=rt=null;for(zt in Ce)if(i.call(Ce,zt)&&(Zt=Ce[zt],Zt!=null))switch(zt){case"children":Pr=Zt;break;case"value":rt=Zt;break;case"defaultValue":Ot=Zt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:D(W,qe,zt,Zt)}if(rt===null&&Ot!==null&&(rt=Ot),W.push(">"),Pr!=null){if(rt!=null)throw Error(t(92));if(x(Pr)&&1<Pr.length)throw Error(t(93));rt=""+Pr}return typeof rt=="string"&&rt[0]===`
139
+ `&&W.push(`
140
+ `),rt!==null&&W.push(E(""+rt)),null;case"input":W.push(X("input")),Zt=Pr=zt=rt=null;for(Ot in Ce)if(i.call(Ce,Ot)&&(Cr=Ce[Ot],Cr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Zt=Cr;break;case"defaultValue":zt=Cr;break;case"checked":Pr=Cr;break;case"value":rt=Cr;break;default:D(W,qe,Ot,Cr)}return Pr!==null?D(W,qe,"checked",Pr):Zt!==null&&D(W,qe,"checked",Zt),rt!==null?D(W,qe,"value",rt):zt!==null&&D(W,qe,"value",zt),W.push("/>"),null;case"menuitem":W.push(X("menuitem"));for(var Mn in Ce)if(i.call(Ce,Mn)&&(rt=Ce[Mn],rt!=null))switch(Mn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:D(W,qe,Mn,rt)}return W.push(">"),null;case"listing":case"pre":W.push(X(se)),Ot=rt=null;for(Zt in Ce)if(i.call(Ce,Zt)&&(zt=Ce[Zt],zt!=null))switch(Zt){case"children":rt=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;default:D(W,qe,Zt,zt)}if(W.push(">"),Ot!=null){if(rt!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));Ce=Ot.__html,Ce!=null&&(typeof Ce=="string"&&0<Ce.length&&Ce[0]===`
141
+ `?W.push(`
142
+ `,Ce):W.push(""+Ce))}return typeof rt=="string"&&rt[0]===`
143
+ `&&W.push(`
144
+ `),rt;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":W.push(X(se));for(var Oi in Ce)if(i.call(Ce,Oi)&&(rt=Ce[Oi],rt!=null))switch(Oi){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,se));default:D(W,qe,Oi,rt)}return W.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 B(W,Ce,se,qe);case"html":return ht.insertionMode===0&&W.push("<!DOCTYPE html>"),B(W,Ce,se,qe);default:if(se.indexOf("-")===-1&&typeof Ce.is!="string")return B(W,Ce,se,qe);W.push(X(se)),Ot=rt=null;for(Cr in Ce)if(i.call(Ce,Cr)&&(zt=Ce[Cr],zt!=null))switch(Cr){case"children":rt=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;case"style":P(W,qe,zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:s(Cr)&&typeof zt!="function"&&typeof zt!="symbol"&&W.push(" ",Cr,'="',E(zt),'"')}return W.push(">"),V(W,Ot,rt),rt}}function ue(W,se,Ce){if(n(W,'<!--$?--><template id="'),Ce===null)throw Error(t(395));return n(W,Ce),n(W,'"></template>')}function L(W,se,Ce,qe){switch(Ce.insertionMode){case 0:case 1:return n(W,'<div hidden id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 2:return n(W,'<svg aria-hidden="true" style="display:none" id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 3:return n(W,'<math aria-hidden="true" style="display:none" id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 4:return n(W,'<table hidden id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 5:return n(W,'<table hidden><tbody id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 6:return n(W,'<table hidden><tr id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');case 7:return n(W,'<table hidden><colgroup id="'),n(W,se.segmentPrefix),se=qe.toString(16),n(W,se),n(W,'">');default:throw Error(t(397))}}function I(W,se){switch(se.insertionMode){case 0:case 1:return n(W,"</div>");case 2:return n(W,"</svg>");case 3:return n(W,"</math>");case 4:return n(W,"</table>");case 5:return n(W,"</tbody></table>");case 6:return n(W,"</tr></table>");case 7:return n(W,"</colgroup></table>");default:throw Error(t(397))}}function N(W,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:W}}var re=Object.assign,ee=Symbol.for("react.element"),ce=Symbol.for("react.portal"),be=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),k=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),me=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),Te=Symbol.for("react.legacy_hidden"),Se=Symbol.for("react.default_value"),Oe=Symbol.iterator;function Me(W){if(W==null)return null;if(typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case be:return"Fragment";case ce:return"Portal";case je:return"Profiler";case Ie:return"StrictMode";case H:return"Suspense";case ne:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case k:return(W.displayName||"Context")+".Consumer";case z:return(W._context.displayName||"Context")+".Provider";case U:var se=W.render;return W=W.displayName,W||(W=se.displayName||se.name||"",W=W!==""?"ForwardRef("+W+")":"ForwardRef"),W;case q:return se=W.displayName||null,se!==null?se:Me(W.type)||"Memo";case J:se=W._payload,W=W._init;try{return Me(W(se))}catch{}}return null}var de={};function Ee(W,se){if(W=W.contextTypes,!W)return de;var Ce={},qe;for(qe in W)Ce[qe]=se[qe];return Ce}var _e=null;function Ae(W,se){if(W!==se){W.context._currentValue2=W.parentValue,W=W.parent;var Ce=se.parent;if(W===null){if(Ce!==null)throw Error(t(401))}else{if(Ce===null)throw Error(t(401));Ae(W,Ce)}se.context._currentValue2=se.value}}function De(W){W.context._currentValue2=W.parentValue,W=W.parent,W!==null&&De(W)}function Ne(W){var se=W.parent;se!==null&&Ne(se),W.context._currentValue2=W.value}function Be(W,se){if(W.context._currentValue2=W.parentValue,W=W.parent,W===null)throw Error(t(402));W.depth===se.depth?Ae(W,se):Be(W,se)}function _t(W,se){var Ce=se.parent;if(Ce===null)throw Error(t(402));W.depth===Ce.depth?Ae(W,Ce):_t(W,Ce),se.context._currentValue2=se.value}function Ut(W){var se=_e;se!==W&&(se===null?Ne(W):W===null?De(se):se.depth===W.depth?Ae(se,W):se.depth>W.depth?Be(se,W):_t(se,W),_e=W)}var Mt={isMounted:function(){return!1},enqueueSetState:function(W,se){W=W._reactInternals,W.queue!==null&&W.queue.push(se)},enqueueReplaceState:function(W,se){W=W._reactInternals,W.replace=!0,W.queue=[se]},enqueueForceUpdate:function(){}};function Qe(W,se,Ce,qe){var ht=W.state!==void 0?W.state:null;W.updater=Mt,W.props=Ce,W.state=ht;var rt={queue:[],replace:!1};W._reactInternals=rt;var Ot=se.contextType;if(W.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue2:qe,Ot=se.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(Ce,ht),ht=Ot==null?ht:re({},ht,Ot),W.state=ht),typeof se.getDerivedStateFromProps!="function"&&typeof W.getSnapshotBeforeUpdate!="function"&&(typeof W.UNSAFE_componentWillMount=="function"||typeof W.componentWillMount=="function"))if(se=W.state,typeof W.componentWillMount=="function"&&W.componentWillMount(),typeof W.UNSAFE_componentWillMount=="function"&&W.UNSAFE_componentWillMount(),se!==W.state&&Mt.enqueueReplaceState(W,W.state,null),rt.queue!==null&&0<rt.queue.length)if(se=rt.queue,Ot=rt.replace,rt.queue=null,rt.replace=!1,Ot&&se.length===1)W.state=se[0];else{for(rt=Ot?se[0]:W.state,ht=!0,Ot=Ot?1:0;Ot<se.length;Ot++){var zt=se[Ot];zt=typeof zt=="function"?zt.call(W,rt,Ce,qe):zt,zt!=null&&(ht?(ht=!1,rt=re({},rt,zt)):re(rt,zt))}W.state=rt}else rt.queue=null}var bt={id:1,overflow:""};function mt(W,se,Ce){var qe=W.id;W=W.overflow;var ht=32-St(qe)-1;qe&=~(1<<ht),Ce+=1;var rt=32-St(se)+ht;if(30<rt){var Ot=ht-ht%5;return rt=(qe&(1<<Ot)-1).toString(32),qe>>=Ot,ht-=Ot,{id:1<<32-St(se)+ht|Ce<<ht|qe,overflow:rt+W}}return{id:1<<rt|Ce<<ht|qe,overflow:W}}var St=Math.clz32?Math.clz32:Ft,yt=Math.log,at=Math.LN2;function Ft(W){return W>>>=0,W===0?32:31-(yt(W)/at|0)|0}function At(W,se){return W===se&&(W!==0||1/W===1/se)||W!==W&&se!==se}var Re=typeof Object.is=="function"?Object.is:At,Je=null,ut=null,Ct=null,kt=null,rr=!1,Sr=!1,ur=0,mr=null,Lr=0;function un(){if(Je===null)throw Error(t(321));return Je}function ui(){if(0<Lr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pn(){return kt===null?Ct===null?(rr=!1,Ct=kt=ui()):(rr=!0,kt=Ct):kt.next===null?(rr=!1,kt=kt.next=ui()):(rr=!0,kt=kt.next),kt}function wn(){ut=Je=null,Sr=!1,Ct=null,Lr=0,kt=mr=null}function _n(W,se){return typeof se=="function"?se(W):se}function Kn(W,se,Ce){if(Je=un(),kt=Pn(),rr){var qe=kt.queue;if(se=qe.dispatch,mr!==null&&(Ce=mr.get(qe),Ce!==void 0)){mr.delete(qe),qe=kt.memoizedState;do qe=W(qe,Ce.action),Ce=Ce.next;while(Ce!==null);return kt.memoizedState=qe,[qe,se]}return[kt.memoizedState,se]}return W=W===_n?typeof se=="function"?se():se:Ce!==void 0?Ce(se):se,kt.memoizedState=W,W=kt.queue={last:null,dispatch:null},W=W.dispatch=Ei.bind(null,Je,W),[kt.memoizedState,W]}function Yn(W,se){if(Je=un(),kt=Pn(),se=se===void 0?null:se,kt!==null){var Ce=kt.memoizedState;if(Ce!==null&&se!==null){var qe=Ce[1];e:if(qe===null)qe=!1;else{for(var ht=0;ht<qe.length&&ht<se.length;ht++)if(!Re(se[ht],qe[ht])){qe=!1;break e}qe=!0}if(qe)return Ce[0]}}return W=W(),kt.memoizedState=[W,se],W}function Ei(W,se,Ce){if(25<=Lr)throw Error(t(301));if(W===Je)if(Sr=!0,W={action:Ce,next:null},mr===null&&(mr=new Map),Ce=mr.get(se),Ce===void 0)mr.set(se,W);else{for(se=Ce;se.next!==null;)se=se.next;se.next=W}}function di(){throw Error(t(394))}function $i(){}var Vi={readContext:function(W){return W._currentValue2},useContext:function(W){return un(),W._currentValue2},useMemo:Yn,useReducer:Kn,useRef:function(W){Je=un(),kt=Pn();var se=kt.memoizedState;return se===null?(W={current:W},kt.memoizedState=W):se},useState:function(W){return Kn(_n,W)},useInsertionEffect:$i,useLayoutEffect:function(){},useCallback:function(W,se){return Yn(function(){return W},se)},useImperativeHandle:$i,useEffect:$i,useDebugValue:$i,useDeferredValue:function(W){return un(),W},useTransition:function(){return un(),[!1,di]},useId:function(){var W=ut.treeContext,se=W.overflow;W=W.id,W=(W&~(1<<32-St(W)-1)).toString(32)+se;var Ce=kn;if(Ce===null)throw Error(t(404));return se=ur++,W=":"+Ce.idPrefix+"R"+W,0<se&&(W+="H"+se.toString(32)),W+":"},useMutableSource:function(W,se){return un(),se(W._source)},useSyncExternalStore:function(W,se,Ce){if(Ce===void 0)throw Error(t(407));return Ce()}},kn=null,ri=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function xi(W){console.error(W)}function wi(){}function it(W,se,Ce,qe,ht,rt,Ot,zt,Zt){var Cr=[],Pr=new Set;return se={destination:null,responseState:se,progressiveChunkSize:qe===void 0?12800:qe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Pr,pingedTasks:Cr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ht===void 0?xi:ht,onAllReady:wi,onShellReady:Ot===void 0?wi:Ot,onShellError:wi,onFatalError:wi},Ce=vt(se,0,null,Ce),Ce.parentFlushed=!0,W=jt(se,W,null,Ce,Pr,de,null,bt),Cr.push(W),se}function jt(W,se,Ce,qe,ht,rt,Ot,zt){W.allPendingTasks++,Ce===null?W.pendingRootTasks++:Ce.pendingTasks++;var Zt={node:se,ping:function(){var Cr=W.pingedTasks;Cr.push(Zt),Cr.length===1&&fn(W)},blockedBoundary:Ce,blockedSegment:qe,abortSet:ht,legacyContext:rt,context:Ot,treeContext:zt};return ht.add(Zt),Zt}function vt(W,se,Ce,qe){return{status:0,id:-1,index:se,parentFlushed:!1,chunks:[],children:[],formatContext:qe,boundary:Ce}}function Ye(W,se){W=W.onError,W(se)}function xt(W,se){var Ce=W.onShellError;Ce(se),Ce=W.onFatalError,Ce(se),W.destination!==null?(W.status=2,W.destination.destroy(se)):(W.status=1,W.fatalError=se)}function gr(W,se,Ce,qe,ht){for(Je={},ut=se,ur=0,W=Ce(qe,ht);Sr;)Sr=!1,ur=0,Lr+=1,kt=null,W=Ce(qe,ht);return wn(),W}function we(W,se,Ce,qe){var ht=Ce.render(),rt=qe.childContextTypes;if(rt!=null){var Ot=se.legacyContext;if(typeof Ce.getChildContext!="function")qe=Ot;else{Ce=Ce.getChildContext();for(var zt in Ce)if(!(zt in rt))throw Error(t(108,Me(qe)||"Unknown",zt));qe=re({},Ot,Ce)}se.legacyContext=qe,ft(W,se,ht),se.legacyContext=Ot}else ft(W,se,ht)}function ct(W,se){if(W&&W.defaultProps){se=re({},se),W=W.defaultProps;for(var Ce in W)se[Ce]===void 0&&(se[Ce]=W[Ce]);return se}return se}function nt(W,se,Ce,qe,ht){if(typeof Ce=="function")if(Ce.prototype&&Ce.prototype.isReactComponent){ht=Ee(Ce,se.legacyContext);var rt=Ce.contextType;rt=new Ce(qe,typeof rt=="object"&&rt!==null?rt._currentValue2:ht),Qe(rt,Ce,qe,ht),we(W,se,rt,Ce)}else{rt=Ee(Ce,se.legacyContext),ht=gr(W,se,Ce,qe,rt);var Ot=ur!==0;if(typeof ht=="object"&&ht!==null&&typeof ht.render=="function"&&ht.$$typeof===void 0)Qe(ht,Ce,qe,rt),we(W,se,ht,Ce);else if(Ot){qe=se.treeContext,se.treeContext=mt(qe,1,0);try{ft(W,se,ht)}finally{se.treeContext=qe}}else ft(W,se,ht)}else if(typeof Ce=="string")switch(ht=se.blockedSegment,rt=te(ht.chunks,Ce,qe,W.responseState,ht.formatContext),Ot=ht.formatContext,ht.formatContext=A(Ot,Ce,qe),dt(W,se,rt),ht.formatContext=Ot,Ce){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:ht.chunks.push("</",Ce,">")}else{switch(Ce){case Te:case fe:case Ie:case je:case be:ft(W,se,qe.children);return;case ne:ft(W,se,qe.children);return;case me:throw Error(t(343));case H:e:{Ce=se.blockedBoundary,ht=se.blockedSegment,rt=qe.fallback,qe=qe.children,Ot=new Set;var zt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},Zt=vt(W,ht.chunks.length,zt,ht.formatContext);ht.children.push(Zt);var Cr=vt(W,0,null,ht.formatContext);Cr.parentFlushed=!0,se.blockedBoundary=zt,se.blockedSegment=Cr;try{if(dt(W,se,qe),Cr.status=1,Jr(zt,Cr),zt.pendingTasks===0)break e}catch(Pr){Cr.status=4,Ye(W,Pr),zt.forceClientRender=!0}finally{se.blockedBoundary=Ce,se.blockedSegment=ht}se=jt(W,rt,Ce,Zt,Ot,se.legacyContext,se.context,se.treeContext),W.pingedTasks.push(se)}return}if(typeof Ce=="object"&&Ce!==null)switch(Ce.$$typeof){case U:if(qe=gr(W,se,Ce.render,qe,ht),ur!==0){Ce=se.treeContext,se.treeContext=mt(Ce,1,0);try{ft(W,se,qe)}finally{se.treeContext=Ce}}else ft(W,se,qe);return;case q:Ce=Ce.type,qe=ct(Ce,qe),nt(W,se,Ce,qe,ht);return;case z:if(ht=qe.children,Ce=Ce._context,qe=qe.value,rt=Ce._currentValue2,Ce._currentValue2=qe,Ot=_e,_e=qe={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:Ce,parentValue:rt,value:qe},se.context=qe,ft(W,se,ht),W=_e,W===null)throw Error(t(403));qe=W.parentValue,W.context._currentValue2=qe===Se?W.context._defaultValue:qe,W=_e=W.parent,se.context=W;return;case k:qe=qe.children,qe=qe(Ce._currentValue2),ft(W,se,qe);return;case J:ht=Ce._init,Ce=ht(Ce._payload),qe=ct(Ce,qe),nt(W,se,Ce,qe,void 0);return}throw Error(t(130,Ce==null?Ce:typeof Ce,""))}}function ft(W,se,Ce){if(se.node=Ce,typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case ee:nt(W,se,Ce.type,Ce.props,Ce.ref);return;case ce:throw Error(t(257));case J:var qe=Ce._init;Ce=qe(Ce._payload),ft(W,se,Ce);return}if(x(Ce)){Lt(W,se,Ce);return}if(Ce===null||typeof Ce!="object"?qe=null:(qe=Oe&&Ce[Oe]||Ce["@@iterator"],qe=typeof qe=="function"?qe:null),qe&&(qe=qe.call(Ce))){if(Ce=qe.next(),!Ce.done){var ht=[];do ht.push(Ce.value),Ce=qe.next();while(!Ce.done);Lt(W,se,ht)}return}throw W=Object.prototype.toString.call(Ce),Error(t(31,W==="[object Object]"?"object with keys {"+Object.keys(Ce).join(", ")+"}":W))}typeof Ce=="string"?(se=se.blockedSegment.chunks,W.responseState.generateStaticMarkup?se.push(E(Ce)):O(se,Ce)):typeof Ce=="number"&&(se=se.blockedSegment.chunks,Ce=""+Ce,W.responseState.generateStaticMarkup?se.push(E(Ce)):O(se,Ce))}function Lt(W,se,Ce){for(var qe=Ce.length,ht=0;ht<qe;ht++){var rt=se.treeContext;se.treeContext=mt(rt,qe,ht);try{dt(W,se,Ce[ht])}finally{se.treeContext=rt}}}function dt(W,se,Ce){var qe=se.blockedSegment.formatContext,ht=se.legacyContext,rt=se.context;try{return ft(W,se,Ce)}catch(Zt){if(wn(),typeof Zt=="object"&&Zt!==null&&typeof Zt.then=="function"){Ce=Zt;var Ot=se.blockedSegment,zt=vt(W,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(zt),W=jt(W,se.node,se.blockedBoundary,zt,se.abortSet,se.legacyContext,se.context,se.treeContext).ping,Ce.then(W,W),se.blockedSegment.formatContext=qe,se.legacyContext=ht,se.context=rt,Ut(rt)}else throw se.blockedSegment.formatContext=qe,se.legacyContext=ht,se.context=rt,Ut(rt),Zt}}function Gt(W){var se=W.blockedBoundary;W=W.blockedSegment,W.status=3,en(this,se,W)}function Nr(W){var se=W.blockedBoundary;W.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(Nr,this),se.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(W=this.onAllReady,W()))}function Jr(W,se){if(se.chunks.length===0&&se.children.length===1&&se.children[0].boundary===null){var Ce=se.children[0];Ce.id=se.id,Ce.parentFlushed=!0,Ce.status===1&&Jr(W,Ce)}else W.completedSegments.push(se)}function en(W,se,Ce){if(se===null){if(Ce.parentFlushed){if(W.completedRootSegment!==null)throw Error(t(389));W.completedRootSegment=Ce}W.pendingRootTasks--,W.pendingRootTasks===0&&(W.onShellError=wi,se=W.onShellReady,se())}else se.pendingTasks--,se.forceClientRender||(se.pendingTasks===0?(Ce.parentFlushed&&Ce.status===1&&Jr(se,Ce),se.parentFlushed&&W.completedBoundaries.push(se),se.fallbackAbortableTasks.forEach(Gt,W),se.fallbackAbortableTasks.clear()):Ce.parentFlushed&&Ce.status===1&&(Jr(se,Ce),se.completedSegments.length===1&&se.parentFlushed&&W.partialBoundaries.push(se)));W.allPendingTasks--,W.allPendingTasks===0&&(W=W.onAllReady,W())}function fn(W){if(W.status!==2){var se=_e,Ce=ri.current;ri.current=Vi;var qe=kn;kn=W.responseState;try{var ht=W.pingedTasks,rt;for(rt=0;rt<ht.length;rt++){var Ot=ht[rt],zt=W,Zt=Ot.blockedSegment;if(Zt.status===0){Ut(Ot.context);try{ft(zt,Ot,Ot.node),Ot.abortSet.delete(Ot),Zt.status=1,en(zt,Ot.blockedBoundary,Zt)}catch(Ii){if(wn(),typeof Ii=="object"&&Ii!==null&&typeof Ii.then=="function"){var Cr=Ot.ping;Ii.then(Cr,Cr)}else{Ot.abortSet.delete(Ot),Zt.status=4;var Pr=Ot.blockedBoundary,Mn=Ii;if(Ye(zt,Mn),Pr===null?xt(zt,Mn):(Pr.pendingTasks--,Pr.forceClientRender||(Pr.forceClientRender=!0,Pr.parentFlushed&&zt.clientRenderedBoundaries.push(Pr))),zt.allPendingTasks--,zt.allPendingTasks===0){var Oi=zt.onAllReady;Oi()}}}finally{}}}ht.splice(0,rt),W.destination!==null&&Fi(W,W.destination)}catch(Ii){Ye(W,Ii),xt(W,Ii)}finally{kn=qe,ri.current=Ce,Ce===Vi&&Ut(se)}}}function $t(W,se,Ce){switch(Ce.parentFlushed=!0,Ce.status){case 0:var qe=Ce.id=W.nextSegmentId++;return W=W.responseState,n(se,'<template id="'),n(se,W.placeholderPrefix),W=qe.toString(16),n(se,W),n(se,'"></template>');case 1:Ce.status=2;var ht=!0;qe=Ce.chunks;var rt=0;Ce=Ce.children;for(var Ot=0;Ot<Ce.length;Ot++){for(ht=Ce[Ot];rt<ht.index;rt++)n(se,qe[rt]);ht=Yr(W,se,ht)}for(;rt<qe.length-1;rt++)n(se,qe[rt]);return rt<qe.length&&(ht=n(se,qe[rt])),ht;default:throw Error(t(390))}}function Yr(W,se,Ce){var qe=Ce.boundary;if(qe===null)return $t(W,se,Ce);if(qe.parentFlushed=!0,qe.forceClientRender)return W.responseState.generateStaticMarkup||n(se,"<!--$!-->"),$t(W,se,Ce),W=W.responseState.generateStaticMarkup?!0:n(se,"<!--/$-->"),W;if(0<qe.pendingTasks){qe.rootSegmentID=W.nextSegmentId++,0<qe.completedSegments.length&&W.partialBoundaries.push(qe);var ht=W.responseState,rt=ht.nextSuspenseID++;return ht=ht.boundaryPrefix+rt.toString(16),qe=qe.id=ht,ue(se,W.responseState,qe),$t(W,se,Ce),n(se,"<!--/$-->")}if(qe.byteSize>W.progressiveChunkSize)return qe.rootSegmentID=W.nextSegmentId++,W.completedBoundaries.push(qe),ue(se,W.responseState,qe.id),$t(W,se,Ce),n(se,"<!--/$-->");if(W.responseState.generateStaticMarkup||n(se,"<!--$-->"),Ce=qe.completedSegments,Ce.length!==1)throw Error(t(391));return Yr(W,se,Ce[0]),W=W.responseState.generateStaticMarkup?!0:n(se,"<!--/$-->"),W}function Hi(W,se,Ce){return L(se,W.responseState,Ce.formatContext,Ce.id),Yr(W,se,Ce),I(se,Ce.formatContext)}function ni(W,se,Ce){for(var qe=Ce.completedSegments,ht=0;ht<qe.length;ht++)ua(W,se,Ce,qe[ht]);if(qe.length=0,W=W.responseState,qe=Ce.id,Ce=Ce.rootSegmentID,n(se,W.startInlineScript),W.sentCompleteBoundaryFunction?n(se,'$RC("'):(W.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("')),qe===null)throw Error(t(395));return Ce=Ce.toString(16),n(se,qe),n(se,'","'),n(se,W.segmentPrefix),n(se,Ce),n(se,'")<\/script>')}function ua(W,se,Ce,qe){if(qe.status===2)return!0;var ht=qe.id;if(ht===-1){if((qe.id=Ce.rootSegmentID)===-1)throw Error(t(392));return Hi(W,se,qe)}return Hi(W,se,qe),W=W.responseState,n(se,W.startInlineScript),W.sentCompleteSegmentFunction?n(se,'$RS("'):(W.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,W.segmentPrefix),ht=ht.toString(16),n(se,ht),n(se,'","'),n(se,W.placeholderPrefix),n(se,ht),n(se,'")<\/script>')}function Fi(W,se){try{var Ce=W.completedRootSegment;if(Ce!==null&&W.pendingRootTasks===0){Yr(W,se,Ce),W.completedRootSegment=null;var qe=W.responseState.bootstrapChunks;for(Ce=0;Ce<qe.length-1;Ce++)n(se,qe[Ce]);Ce<qe.length&&n(se,qe[Ce])}var ht=W.clientRenderedBoundaries,rt;for(rt=0;rt<ht.length;rt++){qe=se;var Ot=W.responseState,zt=ht[rt].id;if(n(qe,Ot.startInlineScript),Ot.sentClientRenderFunction?n(qe,'$RX("'):(Ot.sentClientRenderFunction=!0,n(qe,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),zt===null)throw Error(t(395));if(n(qe,zt),!n(qe,'")<\/script>')){W.destination=null,rt++,ht.splice(0,rt);return}}ht.splice(0,rt);var Zt=W.completedBoundaries;for(rt=0;rt<Zt.length;rt++)if(!ni(W,se,Zt[rt])){W.destination=null,rt++,Zt.splice(0,rt);return}Zt.splice(0,rt);var Cr=W.partialBoundaries;for(rt=0;rt<Cr.length;rt++){var Pr=Cr[rt];e:{ht=W,Ot=se;var Mn=Pr.completedSegments;for(zt=0;zt<Mn.length;zt++)if(!ua(ht,Ot,Pr,Mn[zt])){zt++,Mn.splice(0,zt);var Oi=!1;break e}Mn.splice(0,zt),Oi=!0}if(!Oi){W.destination=null,rt++,Cr.splice(0,rt);return}}Cr.splice(0,rt);var Ii=W.completedBoundaries;for(rt=0;rt<Ii.length;rt++)if(!ni(W,se,Ii[rt])){W.destination=null,rt++,Ii.splice(0,rt);return}Ii.splice(0,rt)}finally{W.allPendingTasks===0&&W.pingedTasks.length===0&&W.clientRenderedBoundaries.length===0&&W.completedBoundaries.length===0&&se.push(null)}}function ya(W){try{var se=W.abortableTasks;se.forEach(Nr,W),se.clear(),W.destination!==null&&Fi(W,W.destination)}catch(Ce){Ye(W,Ce),xt(W,Ce)}}function Wa(){}function ka(W,se,Ce){var qe=!1,ht=null,rt="",Ot={push:function(Zt){return Zt!==null&&(rt+=Zt),!0},destroy:function(Zt){qe=!0,ht=Zt}},zt=!1;if(W=it(W,N(Ce,se?se.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wa,void 0,function(){zt=!0}),fn(W),ya(W),W.status===1)W.status=2,Ot.destroy(W.fatalError);else if(W.status!==2&&W.destination===null){W.destination=Ot;try{Fi(W,Ot)}catch(Zt){Ye(W,Zt),xt(W,Zt)}}if(qe)throw ht;if(!zt)throw Error(t(426));return rt}return wc.renderToNodeStream=function(){throw Error(t(207))},wc.renderToStaticMarkup=function(W,se){return ka(W,se,!0)},wc.renderToStaticNodeStream=function(){throw Error(t(208))},wc.renderToString=function(W,se){return ka(W,se,!1)},wc.version="18.1.0",wc}var Fg={};/**
145
+ * @license React
146
+ * react-dom-server.browser.production.min.js
147
+ *
148
+ * Copyright (c) Facebook, Inc. and its affiliates.
149
+ *
150
+ * This source code is licensed under the MIT license found in the
151
+ * LICENSE file in the root directory of this source tree.
152
+ */var DX;function Xxe(){if(DX)return Fg;DX=1;var e=$o();function t(G){for(var oe="https://reactjs.org/docs/error-decoder.html?invariant="+G,ve=1;ve<arguments.length;ve++)oe+="&args[]="+encodeURIComponent(arguments[ve]);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 ve=r.length-n;ve<oe.length&&(ve===0?G.enqueue(r):(r.set(oe.subarray(0,ve),n),G.enqueue(r),oe=oe.subarray(ve)),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 l=new TextEncoder;function s(G){return l.encode(G)}function c(G){return l.encode(G)}function d(G,oe){typeof G.error=="function"?G.error(oe):G.close()}var h=Object.prototype.hasOwnProperty,p=/^[: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={},m={};function _(G){return h.call(m,G)?!0:h.call(g,G)?!1:p.test(G)?m[G]=!0:(g[G]=!0,!1)}function E(G,oe,ve,$e,Ze,et,It){this.acceptsBooleans=oe===2||oe===3||oe===4,this.attributeName=$e,this.attributeNamespace=Ze,this.mustUseProperty=ve,this.propertyName=G,this.type=oe,this.sanitizeURL=et,this.removeEmptyString=It}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(G){w[G]=new E(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 E(oe,1,!1,G[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(G){w[G]=new E(G,2,!1,G.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(G){w[G]=new E(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 E(G,3,!1,G.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(G){w[G]=new E(G,3,!0,G,null,!1,!1)}),["capture","download"].forEach(function(G){w[G]=new E(G,4,!1,G,null,!1,!1)}),["cols","rows","size","span"].forEach(function(G){w[G]=new E(G,6,!1,G,null,!1,!1)}),["rowSpan","start"].forEach(function(G){w[G]=new E(G,5,!1,G.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(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,x);w[oe]=new E(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,x);w[oe]=new E(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,x);w[oe]=new E(oe,1,!1,G,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(G){w[G]=new E(G,1,!1,G.toLowerCase(),null,!1,!1)}),w.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(G){w[G]=new E(G,1,!1,G.toLowerCase(),null,!0,!0)});var T={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},A=["Webkit","ms","Moz","O"];Object.keys(T).forEach(function(G){A.forEach(function(oe){oe=oe+G.charAt(0).toUpperCase()+G.substring(1),T[oe]=T[G]})});var O=/["'&<>]/;function y(G){if(typeof G=="boolean"||typeof G=="number")return""+G;G=""+G;var oe=O.exec(G);if(oe){var ve="",$e,Ze=0;for($e=oe.index;$e<G.length;$e++){switch(G.charCodeAt($e)){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}Ze!==$e&&(ve+=G.substring(Ze,$e)),Ze=$e+1,ve+=oe}G=Ze!==$e?ve+G.substring(Ze,$e):ve}return G}var P=/([A-Z])/g,D=/^ms-/,V=Array.isArray,F=c("<script>"),B=c("<\/script>"),K=c('<script src="'),Q=c('<script type="module" src="'),X=c('" async=""><\/script>'),te=/(<\/|<)(s)(cript)/gi;function ue(G,oe,ve,$e){return""+oe+(ve==="s"?"\\u0073":"\\u0053")+$e}function L(G,oe,ve,$e,Ze){G=G===void 0?"":G,oe=oe===void 0?F:c('<script nonce="'+y(oe)+'">');var et=[];if(ve!==void 0&&et.push(oe,s((""+ve).replace(te,ue)),B),$e!==void 0)for(ve=0;ve<$e.length;ve++)et.push(K,s(y($e[ve])),X);if(Ze!==void 0)for($e=0;$e<Ze.length;$e++)et.push(Q,s(y(Ze[$e])),X);return{bootstrapChunks:et,startInlineScript:oe,placeholderPrefix:c(G+"P:"),segmentPrefix:c(G+"S:"),boundaryPrefix:G+"B:",idPrefix:G,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function I(G,oe){return{insertionMode:G,selectedValue:oe}}function N(G){return I(G==="http://www.w3.org/2000/svg"?2:G==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function re(G,oe,ve){switch(oe){case"select":return I(1,ve.value!=null?ve.value:ve.defaultValue);case"svg":return I(2,null);case"math":return I(3,null);case"foreignObject":return I(1,null);case"table":return I(4,null);case"thead":case"tbody":case"tfoot":return I(5,null);case"colgroup":return I(7,null);case"tr":return I(6,null)}return 4<=G.insertionMode||G.insertionMode===0?I(1,null):G}var ee=c("<!-- -->"),ce=new Map,be=c(' style="'),Ie=c(":"),je=c(";");function z(G,oe,ve){if(typeof ve!="object")throw Error(t(62));oe=!0;for(var $e in ve)if(h.call(ve,$e)){var Ze=ve[$e];if(Ze!=null&&typeof Ze!="boolean"&&Ze!==""){if($e.indexOf("--")===0){var et=s(y($e));Ze=s(y((""+Ze).trim()))}else{et=$e;var It=ce.get(et);It!==void 0||(It=c(y(et.replace(P,"-$1").toLowerCase().replace(D,"-ms-"))),ce.set(et,It)),et=It,Ze=typeof Ze=="number"?Ze===0||h.call(T,$e)?s(""+Ze):s(Ze+"px"):s(y((""+Ze).trim()))}oe?(oe=!1,G.push(be,et,Ie,Ze)):G.push(je,et,Ie,Ze)}}oe||G.push(H)}var k=c(" "),U=c('="'),H=c('"'),ne=c('=""');function q(G,oe,ve,$e){switch(ve){case"style":z(G,oe,$e);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<ve.length)||ve[0]!=="o"&&ve[0]!=="O"||ve[1]!=="n"&&ve[1]!=="N"){if(oe=w.hasOwnProperty(ve)?w[ve]:null,oe!==null){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(!oe.acceptsBooleans)return}switch(ve=s(oe.attributeName),oe.type){case 3:$e&&G.push(k,ve,ne);break;case 4:$e===!0?G.push(k,ve,ne):$e!==!1&&G.push(k,ve,U,s(y($e)),H);break;case 5:isNaN($e)||G.push(k,ve,U,s(y($e)),H);break;case 6:!isNaN($e)&&1<=$e&&G.push(k,ve,U,s(y($e)),H);break;default:oe.sanitizeURL&&($e=""+$e),G.push(k,ve,U,s(y($e)),H)}}else if(_(ve)){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(oe=ve.toLowerCase().slice(0,5),oe!=="data-"&&oe!=="aria-")return}G.push(k,s(ve),U,s(y($e)),H)}}}var J=c(">"),me=c("/>");function fe(G,oe,ve){if(oe!=null){if(ve!=null)throw Error(t(60));if(typeof oe!="object"||!("__html"in oe))throw Error(t(61));oe=oe.__html,oe!=null&&G.push(s(""+oe))}}function Te(G){var oe="";return e.Children.forEach(G,function(ve){ve!=null&&(oe+=ve)}),oe}var Se=c(' selected=""');function Oe(G,oe,ve,$e){G.push(_e(ve));var Ze=ve=null,et;for(et in oe)if(h.call(oe,et)){var It=oe[et];if(It!=null)switch(et){case"children":ve=It;break;case"dangerouslySetInnerHTML":Ze=It;break;default:q(G,$e,et,It)}}return G.push(J),fe(G,Ze,ve),typeof ve=="string"?(G.push(s(y(ve))),null):ve}var Me=c(`
153
+ `),de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee=new Map;function _e(G){var oe=Ee.get(G);if(oe===void 0){if(!de.test(G))throw Error(t(65,G));oe=c("<"+G),Ee.set(G,oe)}return oe}var Ae=c("<!DOCTYPE html>");function De(G,oe,ve,$e,Ze){switch(oe){case"select":G.push(_e("select"));var et=null,It=null;for(xr in ve)if(h.call(ve,xr)){var Wt=ve[xr];if(Wt!=null)switch(xr){case"children":et=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;case"defaultValue":case"value":break;default:q(G,$e,xr,Wt)}}return G.push(J),fe(G,It,et),et;case"option":It=Ze.selectedValue,G.push(_e("option"));var yr=Wt=null,Hr=null,xr=null;for(et in ve)if(h.call(ve,et)&&(oe=ve[et],oe!=null))switch(et){case"children":Wt=oe;break;case"selected":Hr=oe;break;case"dangerouslySetInnerHTML":xr=oe;break;case"value":yr=oe;default:q(G,$e,et,oe)}if(It!=null)if(ve=yr!==null?""+yr:Te(Wt),V(It)){for($e=0;$e<It.length;$e++)if(""+It[$e]===ve){G.push(Se);break}}else""+It===ve&&G.push(Se);else Hr&&G.push(Se);return G.push(J),fe(G,xr,Wt),Wt;case"textarea":G.push(_e("textarea")),xr=It=et=null;for(Wt in ve)if(h.call(ve,Wt)&&(yr=ve[Wt],yr!=null))switch(Wt){case"children":xr=yr;break;case"value":et=yr;break;case"defaultValue":It=yr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:q(G,$e,Wt,yr)}if(et===null&&It!==null&&(et=It),G.push(J),xr!=null){if(et!=null)throw Error(t(92));if(V(xr)&&1<xr.length)throw Error(t(93));et=""+xr}return typeof et=="string"&&et[0]===`
154
+ `&&G.push(Me),et!==null&&G.push(s(y(""+et))),null;case"input":G.push(_e("input")),yr=xr=Wt=et=null;for(It in ve)if(h.call(ve,It)&&(Hr=ve[It],Hr!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":yr=Hr;break;case"defaultValue":Wt=Hr;break;case"checked":xr=Hr;break;case"value":et=Hr;break;default:q(G,$e,It,Hr)}return xr!==null?q(G,$e,"checked",xr):yr!==null&&q(G,$e,"checked",yr),et!==null?q(G,$e,"value",et):Wt!==null&&q(G,$e,"value",Wt),G.push(me),null;case"menuitem":G.push(_e("menuitem"));for(var Dn in ve)if(h.call(ve,Dn)&&(et=ve[Dn],et!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:q(G,$e,Dn,et)}return G.push(J),null;case"listing":case"pre":G.push(_e(oe)),It=et=null;for(yr in ve)if(h.call(ve,yr)&&(Wt=ve[yr],Wt!=null))switch(yr){case"children":et=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;default:q(G,$e,yr,Wt)}if(G.push(J),It!=null){if(et!=null)throw Error(t(60));if(typeof It!="object"||!("__html"in It))throw Error(t(61));ve=It.__html,ve!=null&&(typeof ve=="string"&&0<ve.length&&ve[0]===`
155
+ `?G.push(Me,s(ve)):G.push(s(""+ve)))}return typeof et=="string"&&et[0]===`
156
+ `&&G.push(Me),et;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(_e(oe));for(var ii in ve)if(h.call(ve,ii)&&(et=ve[ii],et!=null))switch(ii){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,oe));default:q(G,$e,ii,et)}return G.push(me),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 Oe(G,ve,oe,$e);case"html":return Ze.insertionMode===0&&G.push(Ae),Oe(G,ve,oe,$e);default:if(oe.indexOf("-")===-1&&typeof ve.is!="string")return Oe(G,ve,oe,$e);G.push(_e(oe)),It=et=null;for(Hr in ve)if(h.call(ve,Hr)&&(Wt=ve[Hr],Wt!=null))switch(Hr){case"children":et=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;case"style":z(G,$e,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:_(Hr)&&typeof Wt!="function"&&typeof Wt!="symbol"&&G.push(k,s(Hr),U,s(y(Wt)),H)}return G.push(J),fe(G,It,et),et}}var Ne=c("</"),Be=c(">"),_t=c('<template id="'),Ut=c('"></template>'),Mt=c("<!--$-->"),Qe=c('<!--$?--><template id="'),bt=c('"></template>'),mt=c("<!--$!-->"),St=c("<!--/$-->");function yt(G,oe,ve){if(i(G,Qe),ve===null)throw Error(t(395));return i(G,ve),a(G,bt)}var at=c('<div hidden id="'),Ft=c('">'),At=c("</div>"),Re=c('<svg aria-hidden="true" style="display:none" id="'),Je=c('">'),ut=c("</svg>"),Ct=c('<math aria-hidden="true" style="display:none" id="'),kt=c('">'),rr=c("</math>"),Sr=c('<table hidden id="'),ur=c('">'),mr=c("</table>"),Lr=c('<table hidden><tbody id="'),un=c('">'),ui=c("</tbody></table>"),Pn=c('<table hidden><tr id="'),wn=c('">'),_n=c("</tr></table>"),Kn=c('<table hidden><colgroup id="'),Yn=c('">'),Ei=c("</colgroup></table>");function di(G,oe,ve,$e){switch(ve.insertionMode){case 0:case 1:return i(G,at),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,Ft);case 2:return i(G,Re),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,Je);case 3:return i(G,Ct),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,kt);case 4:return i(G,Sr),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,ur);case 5:return i(G,Lr),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,un);case 6:return i(G,Pn),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,wn);case 7:return i(G,Kn),i(G,oe.segmentPrefix),i(G,s($e.toString(16))),a(G,Yn);default:throw Error(t(397))}}function $i(G,oe){switch(oe.insertionMode){case 0:case 1:return a(G,At);case 2:return a(G,ut);case 3:return a(G,rr);case 4:return a(G,mr);case 5:return a(G,ui);case 6:return a(G,_n);case 7:return a(G,Ei);default:throw Error(t(397))}}var Vi=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("'),kn=c('$RS("'),ri=c('","'),xi=c('")<\/script>'),wi=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("'),it=c('$RC("'),jt=c('","'),vt=c('")<\/script>'),Ye=c('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),xt=c('$RX("'),gr=c('")<\/script>'),we=Object.assign,ct=Symbol.for("react.element"),nt=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),Lt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),Gt=Symbol.for("react.provider"),Nr=Symbol.for("react.context"),Jr=Symbol.for("react.forward_ref"),en=Symbol.for("react.suspense"),fn=Symbol.for("react.suspense_list"),$t=Symbol.for("react.memo"),Yr=Symbol.for("react.lazy"),Hi=Symbol.for("react.scope"),ni=Symbol.for("react.debug_trace_mode"),ua=Symbol.for("react.legacy_hidden"),Fi=Symbol.for("react.default_value"),ya=Symbol.iterator;function Wa(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 ft:return"Fragment";case nt:return"Portal";case dt:return"Profiler";case Lt:return"StrictMode";case en:return"Suspense";case fn:return"SuspenseList"}if(typeof G=="object")switch(G.$$typeof){case Nr:return(G.displayName||"Context")+".Consumer";case Gt:return(G._context.displayName||"Context")+".Provider";case Jr:var oe=G.render;return G=G.displayName,G||(G=oe.displayName||oe.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case $t:return oe=G.displayName||null,oe!==null?oe:Wa(G.type)||"Memo";case Yr:oe=G._payload,G=G._init;try{return Wa(G(oe))}catch{}}return null}var ka={};function W(G,oe){if(G=G.contextTypes,!G)return ka;var ve={},$e;for($e in G)ve[$e]=oe[$e];return ve}var se=null;function Ce(G,oe){if(G!==oe){G.context._currentValue=G.parentValue,G=G.parent;var ve=oe.parent;if(G===null){if(ve!==null)throw Error(t(401))}else{if(ve===null)throw Error(t(401));Ce(G,ve)}oe.context._currentValue=oe.value}}function qe(G){G.context._currentValue=G.parentValue,G=G.parent,G!==null&&qe(G)}function ht(G){var oe=G.parent;oe!==null&&ht(oe),G.context._currentValue=G.value}function rt(G,oe){if(G.context._currentValue=G.parentValue,G=G.parent,G===null)throw Error(t(402));G.depth===oe.depth?Ce(G,oe):rt(G,oe)}function Ot(G,oe){var ve=oe.parent;if(ve===null)throw Error(t(402));G.depth===ve.depth?Ce(G,ve):Ot(G,ve),oe.context._currentValue=oe.value}function zt(G){var oe=se;oe!==G&&(oe===null?ht(G):G===null?qe(oe):oe.depth===G.depth?Ce(oe,G):oe.depth>G.depth?rt(oe,G):Ot(oe,G),se=G)}var Zt={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 Cr(G,oe,ve,$e){var Ze=G.state!==void 0?G.state:null;G.updater=Zt,G.props=ve,G.state=Ze;var et={queue:[],replace:!1};G._reactInternals=et;var It=oe.contextType;if(G.context=typeof It=="object"&&It!==null?It._currentValue:$e,It=oe.getDerivedStateFromProps,typeof It=="function"&&(It=It(ve,Ze),Ze=It==null?Ze:we({},Ze,It),G.state=Ze),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&&Zt.enqueueReplaceState(G,G.state,null),et.queue!==null&&0<et.queue.length)if(oe=et.queue,It=et.replace,et.queue=null,et.replace=!1,It&&oe.length===1)G.state=oe[0];else{for(et=It?oe[0]:G.state,Ze=!0,It=It?1:0;It<oe.length;It++){var Wt=oe[It];Wt=typeof Wt=="function"?Wt.call(G,et,ve,$e):Wt,Wt!=null&&(Ze?(Ze=!1,et=we({},et,Wt)):we(et,Wt))}G.state=et}else et.queue=null}var Pr={id:1,overflow:""};function Mn(G,oe,ve){var $e=G.id;G=G.overflow;var Ze=32-Oi($e)-1;$e&=~(1<<Ze),ve+=1;var et=32-Oi(oe)+Ze;if(30<et){var It=Ze-Ze%5;return et=($e&(1<<It)-1).toString(32),$e>>=It,Ze-=It,{id:1<<32-Oi(oe)+Ze|ve<<Ze|$e,overflow:et+G}}return{id:1<<et|ve<<Ze|$e,overflow:G}}var Oi=Math.clz32?Math.clz32:Js,Ii=Math.log,ls=Math.LN2;function Js(G){return G>>>=0,G===0?32:31-(Ii(G)/ls|0)|0}function cs(G,oe){return G===oe&&(G!==0||1/G===1/oe)||G!==G&&oe!==oe}var Ga=typeof Object.is=="function"?Object.is:cs,hi=null,Da=null,Ka=null,dn=null,la=!1,Fo=!1,jo=0,Ki=null,Ls=0;function Ya(){if(hi===null)throw Error(t(321));return hi}function fs(){if(0<Ls)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Ns(){return dn===null?Ka===null?(la=!1,Ka=dn=fs()):(la=!0,dn=Ka):dn.next===null?(la=!1,dn=dn.next=fs()):(la=!0,dn=dn.next),dn}function Cu(){Da=hi=null,Fo=!1,Ka=null,Ls=0,dn=Ki=null}function Xa(G,oe){return typeof oe=="function"?oe(G):oe}function uo(G,oe,ve){if(hi=Ya(),dn=Ns(),la){var $e=dn.queue;if(oe=$e.dispatch,Ki!==null&&(ve=Ki.get($e),ve!==void 0)){Ki.delete($e),$e=dn.memoizedState;do $e=G($e,ve.action),ve=ve.next;while(ve!==null);return dn.memoizedState=$e,[$e,oe]}return[dn.memoizedState,oe]}return G=G===Xa?typeof oe=="function"?oe():oe:ve!==void 0?ve(oe):oe,dn.memoizedState=G,G=dn.queue={last:null,dispatch:null},G=G.dispatch=ca.bind(null,hi,G),[dn.memoizedState,G]}function ji(G,oe){if(hi=Ya(),dn=Ns(),oe=oe===void 0?null:oe,dn!==null){var ve=dn.memoizedState;if(ve!==null&&oe!==null){var $e=ve[1];e:if($e===null)$e=!1;else{for(var Ze=0;Ze<$e.length&&Ze<oe.length;Ze++)if(!Ga(oe[Ze],$e[Ze])){$e=!1;break e}$e=!0}if($e)return ve[0]}}return G=G(),dn.memoizedState=[G,oe],G}function ca(G,oe,ve){if(25<=Ls)throw Error(t(301));if(G===hi)if(Fo=!0,G={action:ve,next:null},Ki===null&&(Ki=new Map),ve=Ki.get(oe),ve===void 0)Ki.set(oe,G);else{for(oe=ve;oe.next!==null;)oe=oe.next;oe.next=G}}function Tu(){throw Error(t(394))}function Uo(){}var qo={readContext:function(G){return G._currentValue},useContext:function(G){return Ya(),G._currentValue},useMemo:ji,useReducer:uo,useRef:function(G){hi=Ya(),dn=Ns();var oe=dn.memoizedState;return oe===null?(G={current:G},dn.memoizedState=G):oe},useState:function(G){return uo(Xa,G)},useInsertionEffect:Uo,useLayoutEffect:function(){},useCallback:function(G,oe){return ji(function(){return G},oe)},useImperativeHandle:Uo,useEffect:Uo,useDebugValue:Uo,useDeferredValue:function(G){return Ya(),G},useTransition:function(){return Ya(),[!1,Tu]},useId:function(){var G=Da.treeContext,oe=G.overflow;G=G.id,G=(G&~(1<<32-Oi(G)-1)).toString(32)+oe;var ve=fa;if(ve===null)throw Error(t(404));return oe=jo++,G=":"+ve.idPrefix+"R"+G,0<oe&&(G+="H"+oe.toString(32)),G+":"},useMutableSource:function(G,oe){return Ya(),oe(G._source)},useSyncExternalStore:function(G,oe,ve){if(ve===void 0)throw Error(t(407));return ve()}},fa=null,Ms=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Au(G){console.error(G)}function Pi(){}function da(G,oe,ve,$e,Ze,et,It,Wt,yr){var Hr=[],xr=new Set;return oe={destination:null,responseState:oe,progressiveChunkSize:$e===void 0?12800:$e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:xr,pingedTasks:Hr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ze===void 0?Au:Ze,onAllReady:et===void 0?Pi:et,onShellReady:It===void 0?Pi:It,onShellError:Wt===void 0?Pi:Wt,onFatalError:yr===void 0?Pi:yr},ve=Vo(oe,0,null,ve),ve.parentFlushed=!0,G=lo(oe,G,null,ve,xr,ka,null,Pr),Hr.push(G),oe}function lo(G,oe,ve,$e,Ze,et,It,Wt){G.allPendingTasks++,ve===null?G.pendingRootTasks++:ve.pendingTasks++;var yr={node:oe,ping:function(){var Hr=G.pingedTasks;Hr.push(yr),Hr.length===1&&Rt(G)},blockedBoundary:ve,blockedSegment:$e,abortSet:Ze,legacyContext:et,context:It,treeContext:Wt};return Ze.add(yr),yr}function Vo(G,oe,ve,$e){return{status:0,id:-1,index:oe,parentFlushed:!1,chunks:[],children:[],formatContext:$e,boundary:ve}}function co(G,oe){G=G.onError,G(oe)}function fo(G,oe){var ve=G.onShellError;ve(oe),ve=G.onFatalError,ve(oe),G.destination!==null?(G.status=2,d(G.destination,oe)):(G.status=1,G.fatalError=oe)}function S(G,oe,ve,$e,Ze){for(hi={},Da=oe,jo=0,G=ve($e,Ze);Fo;)Fo=!1,jo=0,Ls+=1,dn=null,G=ve($e,Ze);return Cu(),G}function R(G,oe,ve,$e){var Ze=ve.render(),et=$e.childContextTypes;if(et!=null){var It=oe.legacyContext;if(typeof ve.getChildContext!="function")$e=It;else{ve=ve.getChildContext();for(var Wt in ve)if(!(Wt in et))throw Error(t(108,Wa($e)||"Unknown",Wt));$e=we({},It,ve)}oe.legacyContext=$e,ae(G,oe,Ze),oe.legacyContext=It}else ae(G,oe,Ze)}function M(G,oe){if(G&&G.defaultProps){oe=we({},oe),G=G.defaultProps;for(var ve in G)oe[ve]===void 0&&(oe[ve]=G[ve]);return oe}return oe}function Y(G,oe,ve,$e,Ze){if(typeof ve=="function")if(ve.prototype&&ve.prototype.isReactComponent){Ze=W(ve,oe.legacyContext);var et=ve.contextType;et=new ve($e,typeof et=="object"&&et!==null?et._currentValue:Ze),Cr(et,ve,$e,Ze),R(G,oe,et,ve)}else{et=W(ve,oe.legacyContext),Ze=S(G,oe,ve,$e,et);var It=jo!==0;if(typeof Ze=="object"&&Ze!==null&&typeof Ze.render=="function"&&Ze.$$typeof===void 0)Cr(Ze,ve,$e,et),R(G,oe,Ze,ve);else if(It){$e=oe.treeContext,oe.treeContext=Mn($e,1,0);try{ae(G,oe,Ze)}finally{oe.treeContext=$e}}else ae(G,oe,Ze)}else if(typeof ve=="string")switch(Ze=oe.blockedSegment,et=De(Ze.chunks,ve,$e,G.responseState,Ze.formatContext),It=Ze.formatContext,Ze.formatContext=re(It,ve,$e),he(G,oe,et),Ze.formatContext=It,ve){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:Ze.chunks.push(Ne,s(ve),Be)}else{switch(ve){case ua:case ni:case Lt:case dt:case ft:ae(G,oe,$e.children);return;case fn:ae(G,oe,$e.children);return;case Hi:throw Error(t(343));case en:e:{ve=oe.blockedBoundary,Ze=oe.blockedSegment,et=$e.fallback,$e=$e.children,It=new Set;var Wt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:It},yr=Vo(G,Ze.chunks.length,Wt,Ze.formatContext);Ze.children.push(yr);var Hr=Vo(G,0,null,Ze.formatContext);Hr.parentFlushed=!0,oe.blockedBoundary=Wt,oe.blockedSegment=Hr;try{if(he(G,oe,$e),Hr.status=1,Ge(Wt,Hr),Wt.pendingTasks===0)break e}catch(xr){Hr.status=4,co(G,xr),Wt.forceClientRender=!0}finally{oe.blockedBoundary=ve,oe.blockedSegment=Ze}oe=lo(G,et,ve,yr,It,oe.legacyContext,oe.context,oe.treeContext),G.pingedTasks.push(oe)}return}if(typeof ve=="object"&&ve!==null)switch(ve.$$typeof){case Jr:if($e=S(G,oe,ve.render,$e,Ze),jo!==0){ve=oe.treeContext,oe.treeContext=Mn(ve,1,0);try{ae(G,oe,$e)}finally{oe.treeContext=ve}}else ae(G,oe,$e);return;case $t:ve=ve.type,$e=M(ve,$e),Y(G,oe,ve,$e,Ze);return;case Gt:if(Ze=$e.children,ve=ve._context,$e=$e.value,et=ve._currentValue,ve._currentValue=$e,It=se,se=$e={parent:It,depth:It===null?0:It.depth+1,context:ve,parentValue:et,value:$e},oe.context=$e,ae(G,oe,Ze),G=se,G===null)throw Error(t(403));$e=G.parentValue,G.context._currentValue=$e===Fi?G.context._defaultValue:$e,G=se=G.parent,oe.context=G;return;case Nr:$e=$e.children,$e=$e(ve._currentValue),ae(G,oe,$e);return;case Yr:Ze=ve._init,ve=Ze(ve._payload),$e=M(ve,$e),Y(G,oe,ve,$e,void 0);return}throw Error(t(130,ve==null?ve:typeof ve,""))}}function ae(G,oe,ve){if(oe.node=ve,typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case ct:Y(G,oe,ve.type,ve.props,ve.ref);return;case nt:throw Error(t(257));case Yr:var $e=ve._init;ve=$e(ve._payload),ae(G,oe,ve);return}if(V(ve)){le(G,oe,ve);return}if(ve===null||typeof ve!="object"?$e=null:($e=ya&&ve[ya]||ve["@@iterator"],$e=typeof $e=="function"?$e:null),$e&&($e=$e.call(ve))){if(ve=$e.next(),!ve.done){var Ze=[];do Ze.push(ve.value),ve=$e.next();while(!ve.done);le(G,oe,Ze)}return}throw oe=Object.prototype.toString.call(ve),Error(t(31,oe==="[object Object]"?"object with keys {"+Object.keys(ve).join(", ")+"}":oe))}typeof ve=="string"?ve!==""&&oe.blockedSegment.chunks.push(s(y(ve)),ee):typeof ve=="number"&&(G=""+ve,G!==""&&oe.blockedSegment.chunks.push(s(y(G)),ee))}function le(G,oe,ve){for(var $e=ve.length,Ze=0;Ze<$e;Ze++){var et=oe.treeContext;oe.treeContext=Mn(et,$e,Ze);try{he(G,oe,ve[Ze])}finally{oe.treeContext=et}}}function he(G,oe,ve){var $e=oe.blockedSegment.formatContext,Ze=oe.legacyContext,et=oe.context;try{return ae(G,oe,ve)}catch(yr){if(Cu(),typeof yr=="object"&&yr!==null&&typeof yr.then=="function"){ve=yr;var It=oe.blockedSegment,Wt=Vo(G,It.chunks.length,null,It.formatContext);It.children.push(Wt),G=lo(G,oe.node,oe.blockedBoundary,Wt,oe.abortSet,oe.legacyContext,oe.context,oe.treeContext).ping,ve.then(G,G),oe.blockedSegment.formatContext=$e,oe.legacyContext=Ze,oe.context=et,zt(et)}else throw oe.blockedSegment.formatContext=$e,oe.legacyContext=Ze,oe.context=et,zt(et),yr}}function Ue(G){var oe=G.blockedBoundary;G=G.blockedSegment,G.status=3,wt(this,oe,G)}function Le(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(Le,this),oe.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(G=this.onAllReady,G()))}function Ge(G,oe){if(oe.chunks.length===0&&oe.children.length===1&&oe.children[0].boundary===null){var ve=oe.children[0];ve.id=oe.id,ve.parentFlushed=!0,ve.status===1&&Ge(G,ve)}else G.completedSegments.push(oe)}function wt(G,oe,ve){if(oe===null){if(ve.parentFlushed){if(G.completedRootSegment!==null)throw Error(t(389));G.completedRootSegment=ve}G.pendingRootTasks--,G.pendingRootTasks===0&&(G.onShellError=Pi,oe=G.onShellReady,oe())}else oe.pendingTasks--,oe.forceClientRender||(oe.pendingTasks===0?(ve.parentFlushed&&ve.status===1&&Ge(oe,ve),oe.parentFlushed&&G.completedBoundaries.push(oe),oe.fallbackAbortableTasks.forEach(Ue,G),oe.fallbackAbortableTasks.clear()):ve.parentFlushed&&ve.status===1&&(Ge(oe,ve),oe.completedSegments.length===1&&oe.parentFlushed&&G.partialBoundaries.push(oe)));G.allPendingTasks--,G.allPendingTasks===0&&(G=G.onAllReady,G())}function Rt(G){if(G.status!==2){var oe=se,ve=Ms.current;Ms.current=qo;var $e=fa;fa=G.responseState;try{var Ze=G.pingedTasks,et;for(et=0;et<Ze.length;et++){var It=Ze[et],Wt=G,yr=It.blockedSegment;if(yr.status===0){zt(It.context);try{ae(Wt,It,It.node),It.abortSet.delete(It),yr.status=1,wt(Wt,It.blockedBoundary,yr)}catch($n){if(Cu(),typeof $n=="object"&&$n!==null&&typeof $n.then=="function"){var Hr=It.ping;$n.then(Hr,Hr)}else{It.abortSet.delete(It),yr.status=4;var xr=It.blockedBoundary,Dn=$n;if(co(Wt,Dn),xr===null?fo(Wt,Dn):(xr.pendingTasks--,xr.forceClientRender||(xr.forceClientRender=!0,xr.parentFlushed&&Wt.clientRenderedBoundaries.push(xr))),Wt.allPendingTasks--,Wt.allPendingTasks===0){var ii=Wt.onAllReady;ii()}}}finally{}}}Ze.splice(0,et),G.destination!==null&&Xn(G,G.destination)}catch($n){co(G,$n),fo(G,$n)}finally{fa=$e,Ms.current=ve,ve===qo&&zt(oe)}}}function st(G,oe,ve){switch(ve.parentFlushed=!0,ve.status){case 0:var $e=ve.id=G.nextSegmentId++;return G=G.responseState,i(oe,_t),i(oe,G.placeholderPrefix),G=s($e.toString(16)),i(oe,G),a(oe,Ut);case 1:ve.status=2;var Ze=!0;$e=ve.chunks;var et=0;ve=ve.children;for(var It=0;It<ve.length;It++){for(Ze=ve[It];et<Ze.index;et++)i(oe,$e[et]);Ze=Vt(G,oe,Ze)}for(;et<$e.length-1;et++)i(oe,$e[et]);return et<$e.length&&(Ze=a(oe,$e[et])),Ze;default:throw Error(t(390))}}function Vt(G,oe,ve){var $e=ve.boundary;if($e===null)return st(G,oe,ve);if($e.parentFlushed=!0,$e.forceClientRender)a(oe,mt),st(G,oe,ve);else if(0<$e.pendingTasks){$e.rootSegmentID=G.nextSegmentId++,0<$e.completedSegments.length&&G.partialBoundaries.push($e);var Ze=G.responseState,et=Ze.nextSuspenseID++;Ze=c(Ze.boundaryPrefix+et.toString(16)),$e=$e.id=Ze,yt(oe,G.responseState,$e),st(G,oe,ve)}else if($e.byteSize>G.progressiveChunkSize)$e.rootSegmentID=G.nextSegmentId++,G.completedBoundaries.push($e),yt(oe,G.responseState,$e.id),st(G,oe,ve);else{if(a(oe,Mt),ve=$e.completedSegments,ve.length!==1)throw Error(t(391));Vt(G,oe,ve[0])}return a(oe,St)}function Rr(G,oe,ve){return di(oe,G.responseState,ve.formatContext,ve.id),Vt(G,oe,ve),$i(oe,ve.formatContext)}function tn(G,oe,ve){for(var $e=ve.completedSegments,Ze=0;Ze<$e.length;Ze++)Vr(G,oe,ve,$e[Ze]);if($e.length=0,G=G.responseState,$e=ve.id,ve=ve.rootSegmentID,i(oe,G.startInlineScript),G.sentCompleteBoundaryFunction?i(oe,it):(G.sentCompleteBoundaryFunction=!0,i(oe,wi)),$e===null)throw Error(t(395));return ve=s(ve.toString(16)),i(oe,$e),i(oe,jt),i(oe,G.segmentPrefix),i(oe,ve),a(oe,vt)}function Vr(G,oe,ve,$e){if($e.status===2)return!0;var Ze=$e.id;if(Ze===-1){if(($e.id=ve.rootSegmentID)===-1)throw Error(t(392));return Rr(G,oe,$e)}return Rr(G,oe,$e),G=G.responseState,i(oe,G.startInlineScript),G.sentCompleteSegmentFunction?i(oe,kn):(G.sentCompleteSegmentFunction=!0,i(oe,Vi)),i(oe,G.segmentPrefix),Ze=s(Ze.toString(16)),i(oe,Ze),i(oe,ri),i(oe,G.placeholderPrefix),i(oe,Ze),a(oe,xi)}function Xn(G,oe){r=new Uint8Array(512),n=0;try{var ve=G.completedRootSegment;if(ve!==null&&G.pendingRootTasks===0){Vt(G,oe,ve),G.completedRootSegment=null;var $e=G.responseState.bootstrapChunks;for(ve=0;ve<$e.length-1;ve++)i(oe,$e[ve]);ve<$e.length&&a(oe,$e[ve])}var Ze=G.clientRenderedBoundaries,et;for(et=0;et<Ze.length;et++){$e=oe;var It=G.responseState,Wt=Ze[et].id;if(i($e,It.startInlineScript),It.sentClientRenderFunction?i($e,xt):(It.sentClientRenderFunction=!0,i($e,Ye)),Wt===null)throw Error(t(395));i($e,Wt),a($e,gr)}Ze.splice(0,et);var yr=G.completedBoundaries;for(et=0;et<yr.length;et++)tn(G,oe,yr[et]);yr.splice(0,et),o(oe),r=new Uint8Array(512),n=0;var Hr=G.partialBoundaries;for(et=0;et<Hr.length;et++){var xr=Hr[et];e:{Ze=G,It=oe;var Dn=xr.completedSegments;for(Wt=0;Wt<Dn.length;Wt++)if(!Vr(Ze,It,xr,Dn[Wt])){Wt++,Dn.splice(0,Wt);var ii=!1;break e}Dn.splice(0,Wt),ii=!0}if(!ii){G.destination=null,et++,Hr.splice(0,et);return}}Hr.splice(0,et);var $n=G.completedBoundaries;for(et=0;et<$n.length;et++)tn(G,oe,$n[et]);$n.splice(0,et)}finally{o(oe),G.allPendingTasks===0&&G.pingedTasks.length===0&&G.clientRenderedBoundaries.length===0&&G.completedBoundaries.length===0&&oe.close()}}function li(G){try{var oe=G.abortableTasks;oe.forEach(Le,G),oe.clear(),G.destination!==null&&Xn(G,G.destination)}catch(ve){co(G,ve),fo(G,ve)}}return Fg.renderToReadableStream=function(G,oe){return new Promise(function(ve,$e){var Ze,et,It=new Promise(function(xr,Dn){et=xr,Ze=Dn}),Wt=da(G,L(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),N(oe?oe.namespaceURI:void 0),oe?oe.progressiveChunkSize:void 0,oe?oe.onError:void 0,et,function(){var xr=new ReadableStream({type:"bytes",pull:function(Dn){if(Wt.status===1)Wt.status=2,d(Dn,Wt.fatalError);else if(Wt.status!==2&&Wt.destination===null){Wt.destination=Dn;try{Xn(Wt,Dn)}catch(ii){co(Wt,ii),fo(Wt,ii)}}},cancel:function(){li(Wt)}});xr.allReady=It,ve(xr)},function(xr){It.catch(function(){}),$e(xr)},Ze);if(oe&&oe.signal){var yr=oe.signal,Hr=function(){li(Wt),yr.removeEventListener("abort",Hr)};yr.addEventListener("abort",Hr)}Rt(Wt)})},Fg.version="18.1.0",Fg}var LX;function Qxe(){if(LX)return xl;LX=1;var e,t;return e=Yxe(),t=Xxe(),xl.version=e.version,xl.renderToString=e.renderToString,xl.renderToStaticMarkup=e.renderToStaticMarkup,xl.renderToNodeStream=e.renderToNodeStream,xl.renderToStaticNodeStream=e.renderToStaticNodeStream,xl.renderToReadableStream=t.renderToReadableStream,xl}var Zxe=Qxe();const Jxe={getSvg(e){const t=e;return Zxe.renderToStaticMarkup(j.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},eOe="d-inline-block svg-container",tOe="span";var Fd=(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))(Fd||{});function Jo(e){const{svg:t,className:r=eOe,tagName:n=tOe,size:i="std",onClick:a,title:o,tooltipSpanHackClassName:l,tooltipPlacement:s="right",tooltipSpanHack:c=!1,tooltipShow:d}=e,h=n,p={className:`${r} ${i}`,onClick:Ai.isFunction(a)?a:null},g=t;return j.jsx(pu,{title:o,placement:s,spanHack:c,spanHackClassName:l,show:d,children:j.jsx(h,{...p,children:j.jsx(g,{...Jxe.getCommonSvgProps()})})})}const rOe="_iconButton_1no8y_1",nOe="_iconWithText_1no8y_5",iOe="_svg_1no8y_9",aOe="_iconOnly_1no8y_21",oOe="_iconBorder_1no8y_30",Yh={iconButton:rOe,iconWithText:nOe,svg:iOe,iconOnly:aOe,iconBorder:oOe};function xx(e){return e.tooltip?j.jsx(pu,{title:e.tooltip,spanHack:!0,spanHackClassName:e.showBorder?"me-2":"",children:e.children}):j.jsx(j.Fragment,{children:e.children})}function Ym(e){let t=`${e.className} ${Yh.iconButton}`;ge.Children.toArray(e.children).length?t+=` ${Yh.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${Yh.iconOnly}`),e.showBorder&&(t+=" "+Wxe(Yh.iconBorder,"btn btn-outline-dark",!e.tooltip&&"me-2")),e.disabled&&(t+=" disabled");const r=j.jsx(Jo,{svg:e.svg,className:`svg-container ${Yh.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(a)}function i(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(a),Un.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?j.jsx(xx,{...e,children:j.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]})}):e.href?j.jsx(xx,{...e,children:j.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]})}):j.jsx(xx,{...e,children:j.jsxs(Yo,{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 sOe(e){const t=e.showSpinner?j.jsx(Ev,{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"),j.jsx(pu,{title:e.tooltip,spanHack:!0,children:j.jsx(Ym,{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 j.jsx(Ym,{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 j.jsx(pu,{title:e.tooltip,spanHack:!0,children:j.jsx(Yo,{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 j.jsx(Yo,{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&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?j.jsx(pu,{title:e.tooltip,spanHack:!0,children:j.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})}):j.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const Fae=(e,t,r,n=[])=>{const i=typeof e=="string"?qr.Radio.channel(e):e;ge.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function jae(e){Xt.useEffect(()=>{e&&t(Vn.getCurrentAppLink(),e)},[e]);function t(n,i){const a=Vn.getHref(n);Ti.logUserAction({title:i,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:Pt.PageView,entity:vn.Url,location:aa.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((a,o,l)=>(a[`arg${l}`]=o,a),{})}}}function uOe(){return j.jsx("div",{className:"text-center p-5",children:j.jsx(Ev,{as:"div",animation:"border",role:"status"})})}Uae.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Uae(e){var n;jae(e.title);const t=(i,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};Fae(Cn.SHELL,On.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,a)=>j.jsx(sOe,{...i},a)):j.jsx(j.Fragment,{});return j.jsxs($g,{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&&j.jsxs($g.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[j.jsx($g.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?j.jsx(uOe,{}):j.jsx($g.Body,{className:e.bodyClassName,children:e.children})]})}var Ox,NX;function lOe(){if(NX)return Ox;NX=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 l=e(a),s=e(o),c,d,h;if(l&&s){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(l!=s)return!1;var p=a instanceof Date,g=o instanceof Date;if(p!=g)return!1;if(p&&g)return a.getTime()==o.getTime();var m=a instanceof RegExp,_=o instanceof RegExp;if(m!=_)return!1;if(m&&_)return a.toString()==o.toString();var E=t(a);if(d=E.length,d!==t(o).length)return!1;for(c=d;c--!==0;)if(!r.call(o,E[c]))return!1;if(n&&a instanceof Element&&o instanceof Element)return a===o;for(c=d;c--!==0;)if(h=E[c],!(h==="_owner"&&a.$$typeof)&&!i(a[h],o[h]))return!1;return!0}return a!==a&&o!==o}return Ox=function(o,l){try{return i(o,l)}catch(s){if(s.message&&s.message.match(/stack|recursion/i)||s.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",s.name,s.message),!1;throw s}},Ox}var cOe=lOe();const Ml=Ln(cOe);var fOe=function(t){return dOe(t)&&!hOe(t)};function dOe(e){return!!e&&typeof e=="object"}function hOe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||gOe(e)}var pOe=typeof Symbol=="function"&&Symbol.for,vOe=pOe?Symbol.for("react.element"):60103;function gOe(e){return e.$$typeof===vOe}function mOe(e){return Array.isArray(e)?[]:{}}function Xm(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Mp(mOe(e),e,t):e}function yOe(e,t,r){return e.concat(t).map(function(n){return Xm(n,r)})}function _Oe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Xm(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Xm(t[i],r):n[i]=Mp(e[i],t[i],r)}),n}function Mp(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||yOe,r.isMergeableObject=r.isMergeableObject||fOe;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):_Oe(e,t,r):Xm(t,r)}Mp.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Mp(n,i,r)},{})};var dI=Mp,qae=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,SOe=typeof self=="object"&&self&&self.Object===Object&&self,bu=qae||SOe||Function("return this")(),Gl=bu.Symbol,Vae=Object.prototype,EOe=Vae.hasOwnProperty,wOe=Vae.toString,Xh=Gl?Gl.toStringTag:void 0;function bOe(e){var t=EOe.call(e,Xh),r=e[Xh];try{e[Xh]=void 0;var n=!0}catch{}var i=wOe.call(e);return n&&(t?e[Xh]=r:delete e[Xh]),i}var COe=Object.prototype,TOe=COe.toString;function AOe(e){return TOe.call(e)}var ROe="[object Null]",xOe="[object Undefined]",MX=Gl?Gl.toStringTag:void 0;function Rf(e){return e==null?e===void 0?xOe:ROe:MX&&MX in Object(e)?bOe(e):AOe(e)}function Hae(e,t){return function(r){return e(t(r))}}var j3=Hae(Object.getPrototypeOf,Object);function xf(e){return e!=null&&typeof e=="object"}var OOe="[object Object]",IOe=Function.prototype,POe=Object.prototype,Bae=IOe.toString,kOe=POe.hasOwnProperty,DOe=Bae.call(Object);function $X(e){if(!xf(e)||Rf(e)!=OOe)return!1;var t=j3(e);if(t===null)return!0;var r=kOe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Bae.call(r)==DOe}function LOe(){this.__data__=[],this.size=0}function zae(e,t){return e===t||e!==e&&t!==t}function x1(e,t){for(var r=e.length;r--;)if(zae(e[r][0],t))return r;return-1}var NOe=Array.prototype,MOe=NOe.splice;function $Oe(e){var t=this.__data__,r=x1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():MOe.call(t,r,1),--this.size,!0}function FOe(e){var t=this.__data__,r=x1(t,e);return r<0?void 0:t[r][1]}function jOe(e){return x1(this.__data__,e)>-1}function UOe(e,t){var r=this.__data__,n=x1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function cl(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])}}cl.prototype.clear=LOe;cl.prototype.delete=$Oe;cl.prototype.get=FOe;cl.prototype.has=jOe;cl.prototype.set=UOe;function qOe(){this.__data__=new cl,this.size=0}function VOe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function HOe(e){return this.__data__.get(e)}function BOe(e){return this.__data__.has(e)}function wv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zOe="[object AsyncFunction]",WOe="[object Function]",GOe="[object GeneratorFunction]",KOe="[object Proxy]";function Wae(e){if(!wv(e))return!1;var t=Rf(e);return t==WOe||t==GOe||t==zOe||t==KOe}var Ix=bu["__core-js_shared__"],FX=(function(){var e=/[^.]+$/.exec(Ix&&Ix.keys&&Ix.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function YOe(e){return!!FX&&FX in e}var XOe=Function.prototype,QOe=XOe.toString;function Of(e){if(e!=null){try{return QOe.call(e)}catch{}try{return e+""}catch{}}return""}var ZOe=/[\\^$.*+?()[\]{}|]/g,JOe=/^\[object .+?Constructor\]$/,eIe=Function.prototype,tIe=Object.prototype,rIe=eIe.toString,nIe=tIe.hasOwnProperty,iIe=RegExp("^"+rIe.call(nIe).replace(ZOe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aIe(e){if(!wv(e)||YOe(e))return!1;var t=Wae(e)?iIe:JOe;return t.test(Of(e))}function oIe(e,t){return e==null?void 0:e[t]}function If(e,t){var r=oIe(e,t);return aIe(r)?r:void 0}var $p=If(bu,"Map"),Fp=If(Object,"create");function sIe(){this.__data__=Fp?Fp(null):{},this.size=0}function uIe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lIe="__lodash_hash_undefined__",cIe=Object.prototype,fIe=cIe.hasOwnProperty;function dIe(e){var t=this.__data__;if(Fp){var r=t[e];return r===lIe?void 0:r}return fIe.call(t,e)?t[e]:void 0}var hIe=Object.prototype,pIe=hIe.hasOwnProperty;function vIe(e){var t=this.__data__;return Fp?t[e]!==void 0:pIe.call(t,e)}var gIe="__lodash_hash_undefined__";function mIe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Fp&&t===void 0?gIe:t,this}function Jc(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])}}Jc.prototype.clear=sIe;Jc.prototype.delete=uIe;Jc.prototype.get=dIe;Jc.prototype.has=vIe;Jc.prototype.set=mIe;function yIe(){this.size=0,this.__data__={hash:new Jc,map:new($p||cl),string:new Jc}}function _Ie(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function O1(e,t){var r=e.__data__;return _Ie(t)?r[typeof t=="string"?"string":"hash"]:r.map}function SIe(e){var t=O1(this,e).delete(e);return this.size-=t?1:0,t}function EIe(e){return O1(this,e).get(e)}function wIe(e){return O1(this,e).has(e)}function bIe(e,t){var r=O1(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function sc(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])}}sc.prototype.clear=yIe;sc.prototype.delete=SIe;sc.prototype.get=EIe;sc.prototype.has=wIe;sc.prototype.set=bIe;var CIe=200;function TIe(e,t){var r=this.__data__;if(r instanceof cl){var n=r.__data__;if(!$p||n.length<CIe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new sc(n)}return r.set(e,t),this.size=r.size,this}function mh(e){var t=this.__data__=new cl(e);this.size=t.size}mh.prototype.clear=qOe;mh.prototype.delete=VOe;mh.prototype.get=HOe;mh.prototype.has=BOe;mh.prototype.set=TIe;function AIe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var jX=(function(){try{var e=If(Object,"defineProperty");return e({},"",{}),e}catch{}})();function Gae(e,t,r){t=="__proto__"&&jX?jX(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var RIe=Object.prototype,xIe=RIe.hasOwnProperty;function Kae(e,t,r){var n=e[t];(!(xIe.call(e,t)&&zae(n,r))||r===void 0&&!(t in e))&&Gae(e,t,r)}function I1(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var l=t[a],s=void 0;s===void 0&&(s=e[l]),i?Gae(r,l,s):Kae(r,l,s)}return r}function OIe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var IIe="[object Arguments]";function UX(e){return xf(e)&&Rf(e)==IIe}var Yae=Object.prototype,PIe=Yae.hasOwnProperty,kIe=Yae.propertyIsEnumerable,DIe=UX((function(){return arguments})())?UX:function(e){return xf(e)&&PIe.call(e,"callee")&&!kIe.call(e,"callee")},bv=Array.isArray;function LIe(){return!1}var Xae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qX=Xae&&typeof module=="object"&&module&&!module.nodeType&&module,NIe=qX&&qX.exports===Xae,VX=NIe?bu.Buffer:void 0,MIe=VX?VX.isBuffer:void 0,Qae=MIe||LIe,$Ie=9007199254740991,FIe=/^(?:0|[1-9]\d*)$/;function jIe(e,t){var r=typeof e;return t=t??$Ie,!!t&&(r=="number"||r!="symbol"&&FIe.test(e))&&e>-1&&e%1==0&&e<t}var UIe=9007199254740991;function Zae(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=UIe}var qIe="[object Arguments]",VIe="[object Array]",HIe="[object Boolean]",BIe="[object Date]",zIe="[object Error]",WIe="[object Function]",GIe="[object Map]",KIe="[object Number]",YIe="[object Object]",XIe="[object RegExp]",QIe="[object Set]",ZIe="[object String]",JIe="[object WeakMap]",ePe="[object ArrayBuffer]",tPe="[object DataView]",rPe="[object Float32Array]",nPe="[object Float64Array]",iPe="[object Int8Array]",aPe="[object Int16Array]",oPe="[object Int32Array]",sPe="[object Uint8Array]",uPe="[object Uint8ClampedArray]",lPe="[object Uint16Array]",cPe="[object Uint32Array]",mi={};mi[rPe]=mi[nPe]=mi[iPe]=mi[aPe]=mi[oPe]=mi[sPe]=mi[uPe]=mi[lPe]=mi[cPe]=!0;mi[qIe]=mi[VIe]=mi[ePe]=mi[HIe]=mi[tPe]=mi[BIe]=mi[zIe]=mi[WIe]=mi[GIe]=mi[KIe]=mi[YIe]=mi[XIe]=mi[QIe]=mi[ZIe]=mi[JIe]=!1;function fPe(e){return xf(e)&&Zae(e.length)&&!!mi[Rf(e)]}function U3(e){return function(t){return e(t)}}var Jae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gp=Jae&&typeof module=="object"&&module&&!module.nodeType&&module,dPe=gp&&gp.exports===Jae,Px=dPe&&qae.process,jd=(function(){try{var e=gp&&gp.require&&gp.require("util").types;return e||Px&&Px.binding&&Px.binding("util")}catch{}})(),HX=jd&&jd.isTypedArray,hPe=HX?U3(HX):fPe,pPe=Object.prototype,vPe=pPe.hasOwnProperty;function eoe(e,t){var r=bv(e),n=!r&&DIe(e),i=!r&&!n&&Qae(e),a=!r&&!n&&!i&&hPe(e),o=r||n||i||a,l=o?OIe(e.length,String):[],s=l.length;for(var c in e)(t||vPe.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||jIe(c,s)))&&l.push(c);return l}var gPe=Object.prototype;function q3(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||gPe;return e===r}var mPe=Hae(Object.keys,Object),yPe=Object.prototype,_Pe=yPe.hasOwnProperty;function SPe(e){if(!q3(e))return mPe(e);var t=[];for(var r in Object(e))_Pe.call(e,r)&&r!="constructor"&&t.push(r);return t}function toe(e){return e!=null&&Zae(e.length)&&!Wae(e)}function V3(e){return toe(e)?eoe(e):SPe(e)}function EPe(e,t){return e&&I1(t,V3(t),e)}function wPe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var bPe=Object.prototype,CPe=bPe.hasOwnProperty;function TPe(e){if(!wv(e))return wPe(e);var t=q3(e),r=[];for(var n in e)n=="constructor"&&(t||!CPe.call(e,n))||r.push(n);return r}function H3(e){return toe(e)?eoe(e,!0):TPe(e)}function APe(e,t){return e&&I1(t,H3(t),e)}var roe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,BX=roe&&typeof module=="object"&&module&&!module.nodeType&&module,RPe=BX&&BX.exports===roe,zX=RPe?bu.Buffer:void 0,WX=zX?zX.allocUnsafe:void 0;function xPe(e,t){if(t)return e.slice();var r=e.length,n=WX?WX(r):new e.constructor(r);return e.copy(n),n}function noe(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function OPe(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 ioe(){return[]}var IPe=Object.prototype,PPe=IPe.propertyIsEnumerable,GX=Object.getOwnPropertySymbols,B3=GX?function(e){return e==null?[]:(e=Object(e),OPe(GX(e),function(t){return PPe.call(e,t)}))}:ioe;function kPe(e,t){return I1(e,B3(e),t)}function aoe(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var DPe=Object.getOwnPropertySymbols,ooe=DPe?function(e){for(var t=[];e;)aoe(t,B3(e)),e=j3(e);return t}:ioe;function LPe(e,t){return I1(e,ooe(e),t)}function soe(e,t,r){var n=t(e);return bv(e)?n:aoe(n,r(e))}function NPe(e){return soe(e,V3,B3)}function MPe(e){return soe(e,H3,ooe)}var hI=If(bu,"DataView"),pI=If(bu,"Promise"),vI=If(bu,"Set"),gI=If(bu,"WeakMap"),KX="[object Map]",$Pe="[object Object]",YX="[object Promise]",XX="[object Set]",QX="[object WeakMap]",ZX="[object DataView]",FPe=Of(hI),jPe=Of($p),UPe=Of(pI),qPe=Of(vI),VPe=Of(gI),Hu=Rf;(hI&&Hu(new hI(new ArrayBuffer(1)))!=ZX||$p&&Hu(new $p)!=KX||pI&&Hu(pI.resolve())!=YX||vI&&Hu(new vI)!=XX||gI&&Hu(new gI)!=QX)&&(Hu=function(e){var t=Rf(e),r=t==$Pe?e.constructor:void 0,n=r?Of(r):"";if(n)switch(n){case FPe:return ZX;case jPe:return KX;case UPe:return YX;case qPe:return XX;case VPe:return QX}return t});var HPe=Object.prototype,BPe=HPe.hasOwnProperty;function zPe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&BPe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var JX=bu.Uint8Array;function z3(e){var t=new e.constructor(e.byteLength);return new JX(t).set(new JX(e)),t}function WPe(e,t){var r=t?z3(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var GPe=/\w*$/;function KPe(e){var t=new e.constructor(e.source,GPe.exec(e));return t.lastIndex=e.lastIndex,t}var eQ=Gl?Gl.prototype:void 0,tQ=eQ?eQ.valueOf:void 0;function YPe(e){return tQ?Object(tQ.call(e)):{}}function XPe(e,t){var r=t?z3(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var QPe="[object Boolean]",ZPe="[object Date]",JPe="[object Map]",e3e="[object Number]",t3e="[object RegExp]",r3e="[object Set]",n3e="[object String]",i3e="[object Symbol]",a3e="[object ArrayBuffer]",o3e="[object DataView]",s3e="[object Float32Array]",u3e="[object Float64Array]",l3e="[object Int8Array]",c3e="[object Int16Array]",f3e="[object Int32Array]",d3e="[object Uint8Array]",h3e="[object Uint8ClampedArray]",p3e="[object Uint16Array]",v3e="[object Uint32Array]";function g3e(e,t,r){var n=e.constructor;switch(t){case a3e:return z3(e);case QPe:case ZPe:return new n(+e);case o3e:return WPe(e,r);case s3e:case u3e:case l3e:case c3e:case f3e:case d3e:case h3e:case p3e:case v3e:return XPe(e,r);case JPe:return new n;case e3e:case n3e:return new n(e);case t3e:return KPe(e);case r3e:return new n;case i3e:return YPe(e)}}var rQ=Object.create,m3e=(function(){function e(){}return function(t){if(!wv(t))return{};if(rQ)return rQ(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function y3e(e){return typeof e.constructor=="function"&&!q3(e)?m3e(j3(e)):{}}var _3e="[object Map]";function S3e(e){return xf(e)&&Hu(e)==_3e}var nQ=jd&&jd.isMap,E3e=nQ?U3(nQ):S3e,w3e="[object Set]";function b3e(e){return xf(e)&&Hu(e)==w3e}var iQ=jd&&jd.isSet,C3e=iQ?U3(iQ):b3e,T3e=1,A3e=2,R3e=4,uoe="[object Arguments]",x3e="[object Array]",O3e="[object Boolean]",I3e="[object Date]",P3e="[object Error]",loe="[object Function]",k3e="[object GeneratorFunction]",D3e="[object Map]",L3e="[object Number]",coe="[object Object]",N3e="[object RegExp]",M3e="[object Set]",$3e="[object String]",F3e="[object Symbol]",j3e="[object WeakMap]",U3e="[object ArrayBuffer]",q3e="[object DataView]",V3e="[object Float32Array]",H3e="[object Float64Array]",B3e="[object Int8Array]",z3e="[object Int16Array]",W3e="[object Int32Array]",G3e="[object Uint8Array]",K3e="[object Uint8ClampedArray]",Y3e="[object Uint16Array]",X3e="[object Uint32Array]",fi={};fi[uoe]=fi[x3e]=fi[U3e]=fi[q3e]=fi[O3e]=fi[I3e]=fi[V3e]=fi[H3e]=fi[B3e]=fi[z3e]=fi[W3e]=fi[D3e]=fi[L3e]=fi[coe]=fi[N3e]=fi[M3e]=fi[$3e]=fi[F3e]=fi[G3e]=fi[K3e]=fi[Y3e]=fi[X3e]=!0;fi[P3e]=fi[loe]=fi[j3e]=!1;function mp(e,t,r,n,i,a){var o,l=t&T3e,s=t&A3e,c=t&R3e;if(o!==void 0)return o;if(!wv(e))return e;var d=bv(e);if(d){if(o=zPe(e),!l)return noe(e,o)}else{var h=Hu(e),p=h==loe||h==k3e;if(Qae(e))return xPe(e,l);if(h==coe||h==uoe||p&&!i){if(o=s||p?{}:y3e(e),!l)return s?LPe(e,APe(o,e)):kPe(e,EPe(o,e))}else{if(!fi[h])return i?e:{};o=g3e(e,h,l)}}a||(a=new mh);var g=a.get(e);if(g)return g;a.set(e,o),C3e(e)?e.forEach(function(E){o.add(mp(E,t,r,E,e,a))}):E3e(e)&&e.forEach(function(E,w){o.set(w,mp(E,t,r,w,e,a))});var m=c?s?MPe:NPe:s?H3:V3,_=d?void 0:m(e);return AIe(_||e,function(E,w){_&&(w=E,E=e[w]),Kae(o,w,mp(E,t,r,w,e,a))}),o}var Q3e=4;function aQ(e){return mp(e,Q3e)}function foe(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 Z3e="[object Symbol]";function W3(e){return typeof e=="symbol"||xf(e)&&Rf(e)==Z3e}var J3e="Expected a function";function G3(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(J3e);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(G3.Cache||sc),r}G3.Cache=sc;var eke=500;function tke(e){var t=G3(e,function(n){return r.size===eke&&r.clear(),n}),r=t.cache;return t}var rke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nke=/\\(\\)?/g,ike=tke(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rke,function(r,n,i,a){t.push(i?a.replace(nke,"$1"):n||r)}),t});function ake(e){if(typeof e=="string"||W3(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var oQ=Gl?Gl.prototype:void 0,sQ=oQ?oQ.toString:void 0;function doe(e){if(typeof e=="string")return e;if(bv(e))return foe(e,doe)+"";if(W3(e))return sQ?sQ.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function oke(e){return e==null?"":doe(e)}function hoe(e){return bv(e)?foe(e,ake):W3(e)?[e]:noe(ike(oke(e)))}var ske=1,uke=4;function lke(e){return mp(e,ske|uke)}function oi(){return oi=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},oi.apply(this,arguments)}function poe(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 uQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var lQ=function(t){return Array.isArray(t)&&t.length===0},Fa=function(t){return typeof t=="function"},P1=function(t){return t!==null&&typeof t=="object"},cke=function(t){return String(Math.floor(Number(t)))===t},kx=function(t){return Object.prototype.toString.call(t)==="[object String]"},voe=function(t){return ge.Children.count(t)===0},Dx=function(t){return P1(t)&&Fa(t.then)};function Ni(e,t,r,n){n===void 0&&(n=0);for(var i=hoe(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function vu(e,t,r){for(var n=aQ(e),i=n,a=0,o=hoe(t);a<o.length-1;a++){var l=o[a],s=Ni(e,o.slice(0,a+1));if(s&&(P1(s)||Array.isArray(s)))i=i[l]=aQ(s);else{var c=o[a+1];i=i[l]=cke(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 goe(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],l=e[o];P1(l)?r.get(l)||(r.set(l,!0),n[o]=Array.isArray(l)?[]:{},goe(l,t,r,n[o])):n[o]=t}return n}var Cv=ge.createContext(void 0);Cv.displayName="FormikContext";var fke=Cv.Provider,dke=Cv.Consumer;function K3(){var e=ge.useContext(Cv);return e}function hke(e,t){switch(t.type){case"SET_VALUES":return oi({},e,{values:t.payload});case"SET_TOUCHED":return oi({},e,{touched:t.payload});case"SET_ERRORS":return Ml(e.errors,t.payload)?e:oi({},e,{errors:t.payload});case"SET_STATUS":return oi({},e,{status:t.payload});case"SET_ISSUBMITTING":return oi({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return oi({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return oi({},e,{values:vu(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return oi({},e,{touched:vu(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return oi({},e,{errors:vu(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return oi({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return oi({},e,{touched:goe(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return oi({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return oi({},e,{isSubmitting:!1});default:return e}}var bc={},jg={};function pke(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,l=e.isInitialValid,s=e.enableReinitialize,c=s===void 0?!1:s,d=e.onSubmit,h=ql(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=oi({validateOnChange:r,validateOnBlur:i,validateOnMount:o,onSubmit:d},h),g=ge.useRef(p.initialValues),m=ge.useRef(p.initialErrors||bc),_=ge.useRef(p.initialTouched||jg),E=ge.useRef(p.initialStatus),w=ge.useRef(!1),b=ge.useRef({});ge.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var x=ge.useReducer(hke,{values:p.initialValues,errors:p.initialErrors||bc,touched:p.initialTouched||jg,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),T=x[0],A=x[1],O=ge.useCallback(function(de,Ee){return new Promise(function(_e,Ae){var De=p.validate(de,Ee);De==null?_e(bc):Dx(De)?De.then(function(Ne){_e(Ne||bc)},function(Ne){Ae(Ne)}):_e(De)})},[p.validate]),y=ge.useCallback(function(de,Ee){var _e=p.validationSchema,Ae=Fa(_e)?_e(Ee):_e,De=Ee&&Ae.validateAt?Ae.validateAt(Ee,de):gke(de,Ae);return new Promise(function(Ne,Be){De.then(function(){Ne(bc)},function(_t){_t.name==="ValidationError"?Ne(vke(_t)):Be(_t)})})},[p.validationSchema]),P=ge.useCallback(function(de,Ee){return new Promise(function(_e){return _e(b.current[de].validate(Ee))})},[]),D=ge.useCallback(function(de){var Ee=Object.keys(b.current).filter(function(Ae){return Fa(b.current[Ae].validate)}),_e=Ee.length>0?Ee.map(function(Ae){return P(Ae,Ni(de,Ae))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(_e).then(function(Ae){return Ae.reduce(function(De,Ne,Be){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(De=vu(De,Ee[Be],Ne)),De},{})})},[P]),V=ge.useCallback(function(de){return Promise.all([D(de),p.validationSchema?y(de):{},p.validate?O(de):{}]).then(function(Ee){var _e=Ee[0],Ae=Ee[1],De=Ee[2],Ne=dI.all([_e,Ae,De],{arrayMerge:mke});return Ne})},[p.validate,p.validationSchema,D,O,y]),F=Ss(function(de){return de===void 0&&(de=T.values),A({type:"SET_ISVALIDATING",payload:!0}),V(de).then(function(Ee){return w.current&&(A({type:"SET_ISVALIDATING",payload:!1}),A({type:"SET_ERRORS",payload:Ee})),Ee})});ge.useEffect(function(){o&&w.current===!0&&Ml(g.current,p.initialValues)&&F(g.current)},[o,F]);var B=ge.useCallback(function(de){var Ee=de&&de.values?de.values:g.current,_e=de&&de.errors?de.errors:m.current?m.current:p.initialErrors||{},Ae=de&&de.touched?de.touched:_.current?_.current:p.initialTouched||{},De=de&&de.status?de.status:E.current?E.current:p.initialStatus;g.current=Ee,m.current=_e,_.current=Ae,E.current=De;var Ne=function(){A({type:"RESET_FORM",payload:{isSubmitting:!!de&&!!de.isSubmitting,errors:_e,touched:Ae,status:De,values:Ee,isValidating:!!de&&!!de.isValidating,submitCount:de&&de.submitCount&&typeof de.submitCount=="number"?de.submitCount:0}})};if(p.onReset){var Be=p.onReset(T.values,ne);Dx(Be)?Be.then(Ne):Ne()}else Ne()},[p.initialErrors,p.initialStatus,p.initialTouched]);ge.useEffect(function(){w.current===!0&&!Ml(g.current,p.initialValues)&&(c&&(g.current=p.initialValues,B()),o&&F(g.current))},[c,p.initialValues,B,o,F]),ge.useEffect(function(){c&&w.current===!0&&!Ml(m.current,p.initialErrors)&&(m.current=p.initialErrors||bc,A({type:"SET_ERRORS",payload:p.initialErrors||bc}))},[c,p.initialErrors]),ge.useEffect(function(){c&&w.current===!0&&!Ml(_.current,p.initialTouched)&&(_.current=p.initialTouched||jg,A({type:"SET_TOUCHED",payload:p.initialTouched||jg}))},[c,p.initialTouched]),ge.useEffect(function(){c&&w.current===!0&&!Ml(E.current,p.initialStatus)&&(E.current=p.initialStatus,A({type:"SET_STATUS",payload:p.initialStatus}))},[c,p.initialStatus,p.initialTouched]);var K=Ss(function(de){if(b.current[de]&&Fa(b.current[de].validate)){var Ee=Ni(T.values,de),_e=b.current[de].validate(Ee);return Dx(_e)?(A({type:"SET_ISVALIDATING",payload:!0}),_e.then(function(Ae){return Ae}).then(function(Ae){A({type:"SET_FIELD_ERROR",payload:{field:de,value:Ae}}),A({type:"SET_ISVALIDATING",payload:!1})})):(A({type:"SET_FIELD_ERROR",payload:{field:de,value:_e}}),Promise.resolve(_e))}else if(p.validationSchema)return A({type:"SET_ISVALIDATING",payload:!0}),y(T.values,de).then(function(Ae){return Ae}).then(function(Ae){A({type:"SET_FIELD_ERROR",payload:{field:de,value:Ae[de]}}),A({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=ge.useCallback(function(de,Ee){var _e=Ee.validate;b.current[de]={validate:_e}},[]),X=ge.useCallback(function(de){delete b.current[de]},[]),te=Ss(function(de,Ee){A({type:"SET_TOUCHED",payload:de});var _e=Ee===void 0?i:Ee;return _e?F(T.values):Promise.resolve()}),ue=ge.useCallback(function(de){A({type:"SET_ERRORS",payload:de})},[]),L=Ss(function(de,Ee){var _e=Fa(de)?de(T.values):de;A({type:"SET_VALUES",payload:_e});var Ae=Ee===void 0?r:Ee;return Ae?F(_e):Promise.resolve()}),I=ge.useCallback(function(de,Ee){A({type:"SET_FIELD_ERROR",payload:{field:de,value:Ee}})},[]),N=Ss(function(de,Ee,_e){A({type:"SET_FIELD_VALUE",payload:{field:de,value:Ee}});var Ae=_e===void 0?r:_e;return Ae?F(vu(T.values,de,Ee)):Promise.resolve()}),re=ge.useCallback(function(de,Ee){var _e=Ee,Ae=de,De;if(!kx(de)){de.persist&&de.persist();var Ne=de.target?de.target:de.currentTarget,Be=Ne.type,_t=Ne.name,Ut=Ne.id,Mt=Ne.value,Qe=Ne.checked;Ne.outerHTML;var bt=Ne.options,mt=Ne.multiple;_e=Ee||_t||Ut,Ae=/number|range/.test(Be)?(De=parseFloat(Mt),isNaN(De)?"":De):/checkbox/.test(Be)?_ke(Ni(T.values,_e),Qe,Mt):bt&&mt?yke(bt):Mt}_e&&N(_e,Ae)},[N,T.values]),ee=Ss(function(de){if(kx(de))return function(Ee){return re(Ee,de)};re(de)}),ce=Ss(function(de,Ee,_e){Ee===void 0&&(Ee=!0),A({type:"SET_FIELD_TOUCHED",payload:{field:de,value:Ee}});var Ae=_e===void 0?i:_e;return Ae?F(T.values):Promise.resolve()}),be=ge.useCallback(function(de,Ee){de.persist&&de.persist();var _e=de.target,Ae=_e.name,De=_e.id;_e.outerHTML;var Ne=Ee||Ae||De;ce(Ne,!0)},[ce]),Ie=Ss(function(de){if(kx(de))return function(Ee){return be(Ee,de)};be(de)}),je=ge.useCallback(function(de){Fa(de)?A({type:"SET_FORMIK_STATE",payload:de}):A({type:"SET_FORMIK_STATE",payload:function(){return de}})},[]),z=ge.useCallback(function(de){A({type:"SET_STATUS",payload:de})},[]),k=ge.useCallback(function(de){A({type:"SET_ISSUBMITTING",payload:de})},[]),U=Ss(function(){return A({type:"SUBMIT_ATTEMPT"}),F().then(function(de){var Ee=de instanceof Error,_e=!Ee&&Object.keys(de).length===0;if(_e){var Ae;try{if(Ae=q(),Ae===void 0)return}catch(De){throw De}return Promise.resolve(Ae).then(function(De){return w.current&&A({type:"SUBMIT_SUCCESS"}),De}).catch(function(De){if(w.current)throw A({type:"SUBMIT_FAILURE"}),De})}else if(w.current&&(A({type:"SUBMIT_FAILURE"}),Ee))throw de})}),H=Ss(function(de){de&&de.preventDefault&&Fa(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Fa(de.stopPropagation)&&de.stopPropagation(),U().catch(function(Ee){console.warn("Warning: An unhandled error was caught from submitForm()",Ee)})}),ne={resetForm:B,validateForm:F,validateField:K,setErrors:ue,setFieldError:I,setFieldTouched:ce,setFieldValue:N,setStatus:z,setSubmitting:k,setTouched:te,setValues:L,setFormikState:je,submitForm:U},q=Ss(function(){return d(T.values,ne)}),J=Ss(function(de){de&&de.preventDefault&&Fa(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Fa(de.stopPropagation)&&de.stopPropagation(),B()}),me=ge.useCallback(function(de){return{value:Ni(T.values,de),error:Ni(T.errors,de),touched:!!Ni(T.touched,de),initialValue:Ni(g.current,de),initialTouched:!!Ni(_.current,de),initialError:Ni(m.current,de)}},[T.errors,T.touched,T.values]),fe=ge.useCallback(function(de){return{setValue:function(_e,Ae){return N(de,_e,Ae)},setTouched:function(_e,Ae){return ce(de,_e,Ae)},setError:function(_e){return I(de,_e)}}},[N,ce,I]),Te=ge.useCallback(function(de){var Ee=P1(de),_e=Ee?de.name:de,Ae=Ni(T.values,_e),De={name:_e,value:Ae,onChange:ee,onBlur:Ie};if(Ee){var Ne=de.type,Be=de.value,_t=de.as,Ut=de.multiple;Ne==="checkbox"?Be===void 0?De.checked=!!Ae:(De.checked=!!(Array.isArray(Ae)&&~Ae.indexOf(Be)),De.value=Be):Ne==="radio"?(De.checked=Ae===Be,De.value=Be):_t==="select"&&Ut&&(De.value=De.value||[],De.multiple=!0)}return De},[Ie,ee,T.values]),Se=ge.useMemo(function(){return!Ml(g.current,T.values)},[g.current,T.values]),Oe=ge.useMemo(function(){return typeof l<"u"?Se?T.errors&&Object.keys(T.errors).length===0:l!==!1&&Fa(l)?l(p):l:T.errors&&Object.keys(T.errors).length===0},[l,Se,T.errors,p]),Me=oi({},T,{initialValues:g.current,initialErrors:m.current,initialTouched:_.current,initialStatus:E.current,handleBlur:Ie,handleChange:ee,handleReset:J,handleSubmit:H,resetForm:B,setErrors:ue,setFormikState:je,setFieldTouched:ce,setFieldValue:N,setFieldError:I,setStatus:z,setSubmitting:k,setTouched:te,setValues:L,submitForm:U,validateForm:F,validateField:K,isValid:Oe,dirty:Se,unregisterField:X,registerField:Q,getFieldProps:Te,getFieldMeta:me,getFieldHelpers:fe,validateOnBlur:i,validateOnChange:r,validateOnMount:o});return Me}function $8e(e){var t=pke(e),r=e.component,n=e.children,i=e.render,a=e.innerRef;return ge.useImperativeHandle(a,function(){return t}),ge.createElement(fke,{value:t},r?ge.createElement(r,t):i?i(t):n?Fa(n)?n(t):voe(n)?null:ge.Children.only(n):null)}function vke(e){var t={};if(e.inner){if(e.inner.length===0)return vu(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;Ni(t,o.path)||(t=vu(t,o.path,o.message))}}return t}function gke(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=mI(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function mI(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||$X(i)?mI(i):i!==""?i:void 0}):$X(e[n])?t[n]=mI(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function mke(e,t,r){var n=e.slice();return t.forEach(function(a,o){if(typeof n[o]>"u"){var l=r.clone!==!1,s=l&&r.isMergeableObject(a);n[o]=s?dI(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[o]=dI(e[o],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function yke(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function _ke(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 Ske=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ge.useLayoutEffect:ge.useEffect;function Ss(e){var t=ge.useRef(e);return Ske(function(){t.current=e}),ge.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 F8e(e){var t=e.validate,r=e.name,n=e.render,i=e.children,a=e.as,o=e.component,l=ql(e,["validate","name","render","children","as","component"]),s=K3(),c=ql(s,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;ge.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var p=c.getFieldProps(oi({name:r},l)),g=c.getFieldMeta(r),m={field:p,form:c};if(n)return n(oi({},m,{meta:g}));if(Fa(i))return i(oi({},m,{meta:g}));if(o){if(typeof o=="string"){var _=l.innerRef,E=ql(l,["innerRef"]);return ge.createElement(o,oi({ref:_},p,E),i)}return ge.createElement(o,oi({field:p,form:c},l),i)}var w=a||"input";if(typeof w=="string"){var b=l.innerRef,x=ql(l,["innerRef"]);return ge.createElement(w,oi({ref:b},p,x),i)}return ge.createElement(w,oi({},p,l),i)}var Eke=ge.forwardRef(function(e,t){var r=e.action,n=ql(e,["action"]),i=r??"#",a=K3(),o=a.handleReset,l=a.handleSubmit;return ge.createElement("form",Object.assign({onSubmit:l,ref:t,onReset:o,action:i},n))});Eke.displayName="Form";function wke(e){var t=function(i){return ge.createElement(dke,null,function(a){return ge.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+")",Jbe(t,e)}var bke=function(t,r,n){var i=Ud(t),a=i[r];return i.splice(r,1),i.splice(n,0,a),i},Cke=function(t,r,n){var i=Ud(t),a=i[r];return i[r]=i[n],i[n]=a,i},Lx=function(t,r,n){var i=Ud(t);return i.splice(r,0,n),i},Tke=function(t,r,n){var i=Ud(t);return i[r]=n,i},Ud=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(oi({},t,{length:r+1}))}else return[]},Ake=(function(e){poe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(a,o,l){var s=i.props,c=s.name,d=s.formik.setFormikState;d(function(h){var p=typeof l=="function"?l:a,g=typeof o=="function"?o:a,m=vu(h.values,c,a(Ni(h.values,c))),_=l?p(Ni(h.errors,c)):void 0,E=o?g(Ni(h.touched,c)):void 0;return lQ(_)&&(_=void 0),lQ(E)&&(E=void 0),oi({},h,{values:m,errors:l?vu(h.errors,c,_):h.errors,touched:o?vu(h.touched,c,E):h.touched})})},i.push=function(a){return i.updateArrayField(function(o){return[].concat(Ud(o),[lke(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,o){return i.updateArrayField(function(l){return Cke(l,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(l){return bke(l,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(l){return Lx(l,a,o)},function(l){return Lx(l,a,null)},function(l){return Lx(l,a,null)})},i.handleInsert=function(a,o){return function(){return i.insert(a,o)}},i.replace=function(a,o){return i.updateArrayField(function(l){return Tke(l,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(l){var s=l?[a].concat(l):[a];return o<0&&(o=s.length),s},function(l){var s=l?[null].concat(l):[null];return o<0&&(o=s.length),s},function(l){var s=l?[null].concat(l):[null];return o<0&&(o=s.length),s}),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(uQ(i)),i.pop=i.pop.bind(uQ(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Ml(Ni(i.formik.values,i.name),Ni(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 l=o?Ud(o):[];return a||(a=l[i]),Fa(l.splice)&&l.splice(i,1),l},!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,l=a.render,s=a.children,c=a.name,d=a.formik,h=ql(d,["validate","validationSchema"]),p=oi({},i,{form:h,name:c});return o?ge.createElement(o,p):l?l(p):s?typeof s=="function"?s(p):voe(s)?null:ge.Children.only(s):null},t})(ge.Component);Ake.defaultProps={validateOnChange:!0};var Rke=(function(e){poe(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return Ni(this.props.formik.errors,this.props.name)!==Ni(i.formik.errors,this.props.name)||Ni(this.props.formik.touched,this.props.name)!==Ni(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,l=i.render,s=i.children,c=i.name,d=ql(i,["component","formik","render","children","name"]),h=Ni(o.touched,c),p=Ni(o.errors,c);return h&&p?l?Fa(l)?l(p):null:s?Fa(s)?s(p):null:a?ge.createElement(a,d,p):p:null},t})(ge.Component),j8e=wke(Rke);const xke=ge.createContext(""),bn=ge.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=ge.useContext(xke),a=r||i,o=Object.assign({escapeText:!0},n),l=Er.getPhrase(a,t,o);return j.jsx("span",{dangerouslySetInnerHTML:{__html:l}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&oa.isEqual(e.options,t.options));function Oke(e){var n;const[t,r]=ge.useState(!1);return ge.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]),ge.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function Ike(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...a}=e,o=ge.useRef(null),[{width:l,height:s},c]=ge.useState({}),[d,h]=ge.useState(t);ge.useEffect(()=>{if(!t){c({});return}const g=o.current,m=g.offsetHeight,_=g.offsetWidth;!m||!_||c({width:_,height:m})},[t]),ge.useLayoutEffect(()=>{h(t)},[t]);const p={...n};return l&&(p.width=`${l+1}px`),s&&(p.height=`${s+1}px`),j.jsx(b1,{ref:o,disabled:t,style:p,...a,children:d?j.jsxs(j.Fragment,{children:[j.jsx(Ev,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&j.jsx("span",{className:"ps-1",children:i})]}):r})}const Pke={info:"custom-toggle-info"};Y3.defaults={floatEnd:!0};function Y3(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:a,hideOutline:o,...l}=e;function s(...E){e.disabled||e.onClick(...E)}const c="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=o?"outline-none":"",p=Pke[i]??"",g=a?"float-end":"";let m=t?"on":"";e.disabled&&!r&&(m="");const _=`${c} ${p} ${m} ${d} ${h} ${g}`;return e.tooltipText?j.jsx(pu,{title:n,spanHack:!0,children:j.jsx($d,{...l,role:"switch","aria-checked":`${t}`,onClick:s,className:_,children:j.jsx("span",{className:"handle"})})}):j.jsx($d,{...l,role:"switch","aria-checked":t,onClick:s,className:_,children:j.jsx("span",{className:"handle"})})}const moe="shared.popup",Gc=e=>j.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 yoe(e){return j.jsx(Ike,{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?j.jsx(j.Fragment,{children:e.text}):j.jsx(bn,{namespace:moe,phrase:e.isNew?"create":"save"})})}function kke(e){const t=K3(),r=Oke(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return j.jsx(yoe,{...e,disabled:i(),showSpinner:n})}const Dke=e=>Xt.useContext(Cv)?j.jsx(kke,{...e}):j.jsx(yoe,{...e}),Lke=e=>j.jsx(b1,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:j.jsx(bn,{namespace:moe,phrase:"cancel"})}),Nke=e=>j.jsx(Md.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),Mke=e=>j.jsxs("div",{className:"d-flex align-items-center me-auto",children:[j.jsx(Y3,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&j.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});Gc.Submit=Dke;Gc.Cancel=Lke;Gc.Checkbox=Nke;Gc.Toggle=Mke;const cQ="shared.shared-utils",$ke={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=E3.createRoot(r);function i(){var s;if(Ai.isFunction((s=t.submitButtonProps)==null?void 0:s.onClick)){const c=t.submitButtonProps.onClick();if(c instanceof Promise){c.then(()=>{n.unmount()});return}}n.unmount()}function a(){var s;Ai.isFunction((s=t.cancelButtonProps)==null?void 0:s.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const o={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},l={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(j.jsxs(Uae,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&j.jsxs(Gc,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&j.jsx(Gc.Cancel,{...l}),t.submitButtonProps&&j.jsx(Gc.Submit,{...o})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:Er.getPhrase(cQ,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:Er.getPhrase(cQ,"cancel")}}},Ug=Er.encloseNamespace("shared.hooks"),Fke=()=>{const[e,t]=Xt.useState([]),r=qr.Radio.channel(Cn.SHELL);Xt.useEffect(()=>(e.find(s=>!s.allowAppLinks)&&r.on(On.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",o),()=>{r.off(On.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",o)}),[e]),Xt.useEffect(()=>{function s(){n({id:"upload",title:Ug("navLockTitle"),text:Ug("navLockBody"),allowAppLinks:!0})}const c=qr.Radio.channel(lp.VIDEO_UPLOAD);return c.on(Ku.FILES_ADDED,s),c.on(Ku.UNLOCK_NAV,i),()=>{c.off(Ku.FILES_ADDED,s),c.off(Ku.UNLOCK_NAV,i)}},[]);function n(s={}){e.find(c=>c.id===s.id)||(s.allowAppLinks||r.trigger(On.LOCK_NAV),t([...e,s]))}function i(s){const c=e.filter(d=>d.id!==s);(c.length===0||!c.find(d=>!d.allowAppLinks))&&r.trigger(On.UNLOCK_NAV),t(c)}function a(s){var d;if(!e.length)return;const c=e.find(h=>!h.allowAppLinks);if((d=c.appLinkWhitelist)!=null&&d.find(h=>h.action===s.action&&h.application===s.application)){r.trigger(On.UNLOCK_NAV),window.setTimeout(()=>{Vn.trigger(s),r.trigger(On.LOCK_NAV)},0);return}if(Ai.isFunction(c.renderCustomDialog)){c.renderCustomDialog();return}$ke.render(j.jsx("p",{children:c.text}),{title:c.title,submitButtonProps:{onClick:()=>{c.onConfirmUnlock&&c.onConfirmUnlock(),l(s)},variant:"danger",text:Ug("discard")},cancelButtonProps:{text:Ug("cancel"),variant:"link"}})}function o(s){let c=e.find(d=>d.allowAppLinks);return c||(c=Bn.first(e)),s.returnValue=c.text,c.text}function l(s){r.trigger(On.NAV_UNLOCKED_BY_USER),e.forEach(c=>{c.allowAppLinks||i(c.id)}),window.removeEventListener("beforeunload",o),Vn.trigger(s)}return{lock:n,unlock:i}};function jke(){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)}ge.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function Uke(){const e=Ji(Ks.version());return e.data?j.jsx("footer",{className:"text-center text-secondary my-2",children:j.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):j.jsx(j.Fragment,{})}function _oe(){return Xt.useContext(Oie)}var k1=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(k1||{});function qke(e){return e?e===Gs.SessionStorage?Nd:qa:null}const Tv=(e,t,r)=>{const n=qke(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const a=mv(),o=Zne(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function l(){return i!=null}const s=(t!==void 0||l())&&o===void 0;Xt.useEffect(()=>{if(s){if(l()){c(i);return}c(t);return}},[]);function c(h,p){n&&d(h,p),a({type:k1.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:p}})}function d(h,p){if(!n)return;const g=n.get(e);if(typeof h=="string"&&p!==void 0){n.set(e,{...g,[h]:p});return}n.set(e,h)}return s?l()?[i,c]:[t,c]:[o??void 0,c]},D1={LOCAL_PERMISSIONS:"local:permissions",AUDIENCE_FILTER:"audience:filter",BULK_USER_ACTIONS:"bulk:user:actions",PRESENTATION_ID:"presentation:id",SHOW_SEARCH_MASK:"show:search:mask"},Av=()=>{const e=Ji(si.currentUser()),t=Ji(e.hasCompleted&&si.permissions()),[r]=Tv(D1.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 Rn("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 X3(e){return j.jsx("svg",{...e,children:j.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"})})}function Vke(e){return j.jsx("svg",{...e,children:j.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"})})}var L1=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(L1||{}),Ul=(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))(Ul||{}),Hke=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))(Hke||{}),Bke=(e=>(e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageAPIv2=3]="ImageAPIv2",e))(Bke||{});function zke(e){return j.jsx("svg",{...e,children:j.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 Wke={[Ul.Banners]:"banner",[Ul.Thumbnails]:"thumbnail"},fQ={[Ul.Banners]:"banners",[Ul.Thumbnails]:"thumbnails",[Ul.TallPosters]:"tallPosters",[Ul.Covers]:"covers",[Ul.Avatars]:"avatars"},Gke={categoryMapper:e=>`/v1/category-map/${e}`},qu={createUrl(e,t){return qu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?qu._createUrl(e.url,r):qu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return qu._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=ga.safeUrlConcat(r,`${Gke.categoryMapper(Wke[i])}`),o={name:qu.Rfc3986EncodeURIComponent(n),...t};return qu._createUrl(a,o)},_createUrl(e,t){if(!e)return;if(oa.isEmpty(t))return e;const r=Ip.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 Ju?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:L1.Small,bgColor:"000",...t};return qu._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){fQ[t]||vr.throw(new Rn(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=ga.safeUrlConcat(e,`v2/${fQ[t]}/${r}`);return ga.urlBuilder(i,{size:n})}},Kke="_avatar_xiggt_1",Yke="_dot_xiggt_11",Nx={avatar:Kke,dot:Yke};function Xke(e,t){return t?qu.createUrl(ga.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:L1.Small}):""}function Soe(e){const t=!e.anonymiseUsers&&e.imageUrl||Xke(e.imageCdnUrl,e.initials);return j.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?j.jsx("div",{className:`${Nx.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:j.jsx(Jo,{svg:zke,size:e.anonymousSvgSize||Fd.Large,className:"svg-container w-100 h-100"})}):j.jsx("div",{className:`${Nx.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&j.jsx("div",{className:`${Nx.dot} rounded-circle bg-danger`})]})}function dQ(e){return j.jsx("svg",{...e,children:j.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"})})}const Mx={"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 lu=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(lu||{}),yi=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(yi||{}),wo=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(wo||{});const zs={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 zs.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=yi.Unknown;break;case 1:t=yi.Staff;break;case 2:t=yi.Learner;break;case 255:t=yi.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=lu.Disabled;break;case 1:t=lu.Active;break;case 2:t=lu.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=lu.Disabled;break;case 1:e=lu.Active;break;case 2:e=lu.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 wo.User;if(typeof t=="number")switch(t){case 16:t=wo.Guest;break;case 32:t=wo.User;break;case 48:t=wo.Admin;break;case 64:t=wo.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return wo.User;if(typeof e=="number")switch(e){case 16:return wo.Guest;case 32:return wo.User;case 48:return wo.Admin;case 64:return wo.SuperAdmin;default:return wo.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:zs.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?Bn.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 zs.hasLegacySso(e)||zs.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in Mx)Mx.hasOwnProperty(n)&&(t[n.toLowerCase()]=Mx[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?zs.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function hQ(e){return j.jsx("svg",{...e,children:j.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 Qke="_toggle_1f3ot_1",Zke={toggle:Qke},Jke=4,pQ="shared.customerSelectorItem";function e4e(e){var n;function t(i,a=null){a!==e.currentCustomerId&&(Ti.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:Pt.SwitchCustomer,entity:vn.Customer,location:aa.UserOptions}),Un.PageLoad(r(a)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?j.jsx(j.Fragment,{}):e.customers.length<=1?j.jsx(j.Fragment,{}):e.customers.length>Jke?j.jsx(Co.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:j.jsxs("div",{className:"d-flex justify-content-between",children:[j.jsx(bn,{namespace:pQ,phrase:"title"}),j.jsx(Jo,{svg:hQ,className:"svg-container text-secondary"})]})}):j.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[j.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${Zke.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[j.jsx(bn,{namespace:pQ,phrase:"title"}),j.jsx(Jo,{svg:hQ,className:"svg-container text-secondary"})]}),j.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,a)=>{const o=i.id===e.currentCustomerId;return j.jsx(Co.Item,{as:"li",onClick:l=>t(l,i.id),disabled:o,children:i.name},a)})})]})}var Ir=(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))(Ir||{});const yp={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?jc.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):jc._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?jc.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):jc._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),{})}},vQ=[{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 $x=()=>(vr.throw(new Rn("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const jc={setPublicFormatSettings(e){e&&($x=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:yp.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=>Bn.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:yp.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$x,success:e,error:t,successResponse:()=>vQ}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$x,success:e,error:t,successResponse:()=>vQ}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Bn.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:yp.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:_i.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:_i.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},Q3=e=>{const t=Ji(si.currentUser()),r=Ji(t.hasCompleted&&yp.getCustomerSettingsRequest(t.data)),n=Ji(t.hasCompleted&&yp.getUserSettingsRequest(t.data)),i=mv(),a=!!r.hasCompleted&&!!n.hasCompleted,o=_=>{var b,x;if(!a||r.hasError||n.hasError)return null;const E=(b=r.data)==null?void 0:b[_];if(E)return E==null?void 0:E.value;const w=(x=n.data)==null?void 0:x[_];return w?w==null?void 0:w.value:null};function l(_,E,w,b,x){return _==="user"?jc.updateUserSetting(E,w,b,x):jc.updateCustomerSetting(E,w,b,x)}const s=(_,E,w,b,x)=>{function T(){Ti.logUserAction({name:E.name,value:E.value},{location:e,entity:vn.UserSetting,actionType:Pt.Edit}),w==null||w()}hh(i,l(_,E,T,b,x))},c=(_,E)=>new Promise((w,b)=>{s(_,E,w,b)}),d=(_,E,w,b)=>s("user",_,E,w,b),h=(_,E,w,b)=>s("customer",_,E,w,b),p=_=>c("user",_),g=_=>c("customer",_);function m(){var _;return(_=t.data)!=null&&_.isAuthenticated?o(Ir.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:d,updateUserSettingAsync:p,updateCustomerSetting:h,updateCustomerSettingAsync:g,userSettings:n,shareToGoogleClassroom:o(Ir.ShareToGoogleClassroom),shareToMicrosoftTeams:o(Ir.ShareToMicrosoftTeams),hasLti:o(Ir.LTI),defaultPlaybackQuality:o(Ir.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(Ir.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(Ir.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(Ir.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(Ir.HasCompletedOnboardingV2),hasOnboardingV2:o(Ir.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:o(Ir.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:o(Ir.HasCompletedOnboardingProductTips),liteUpgradeTime:o(Ir.LiteUpgradeTime),liteUpgradeTypeCustomer:o(Ir.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:o(Ir.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:o(Ir.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:o(Ir.LiteUpgradeFeedback),liteUpgradeComplete:o(Ir.LiteUpgradeComplete),hasNewClassificationView:o(Ir.HasNewClassificationView),hasCuratedDiscoverDashboards:o(Ir.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(Ir.HasSpecialEventCalendar),hasLiteSearchDropdown:o(Ir.HasLiteSearchDropdown),policyEndTime:o(Ir.PolicyEndTime),bulkOnboardingPreferencesState:o(Ir.BulkOnboardingPreferencesState),hasOnlineTopics:o(Ir.Topics),hasPreviewVideos:o(Ir.PreviewVideos),domainSettings:o(Ir.DomainSettings),inviteColleague:o(Ir.InviteColleague),myVideosFolders:o(Ir.MyVideosFolders),exchangeTvProductOption:o(Ir.ExchangeTvProductOption),messageFrequencyOption:o(Ir.MessageFrequencyOption),tvRegion:o(Ir.TvRegion),hasEnabledViviStudentCasting:o(Ir.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(Ir.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(Ir.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:o(Ir.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:o(Ir.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:o(Ir.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:o(Ir.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:o(Ir.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(Ir.ShareOverrideRestrictions),hasTopicDirectories:m(),hasTopicVideoListFeature:o(Ir.HasTopicVideoListFeature),hasManageGroupPermissions:o(Ir.HasManageGrouPermissions),experimentalInteractiveQuestions:o(Ir.ExperimentalInteractiveQuestions),hasClassrooms:o(Ir.HasClassrooms),hasNewSearch:o(Ir.HasNewSearch),hasPlayPageTranscript:o(Ir.HasPlayPageTranscript),hasShareFlowV2:o(Ir.HasShareFlowV2)}},Eoe=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:a,isLoadingSettings:o}=Q3(null),{hasPermissions:l}=Av(),s=e||t,c=ge.useMemo(()=>{if(o||!r)return 0;const m=new Date(r),_=new Date;return Math.max(Oo.diffBetween(m,_,"day"),0)+1},[o,r]),[d,h]=Tv("lite:upgrade:feedback:banner",{show:!0},{storage:Gs.LocalStorage}),p=!!s;return{isUpgrading:p&&!i,isLoading:o,daysLeft:c,upgradeType:s,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:p&&d.show&&!l(Ws.StudentExperience),showTvGuide:p,dismissFeedbackBanner:()=>h({show:!1})}};class t4e{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new Rn("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===xo.Online){if(!t.onlineSupportSiteUrl){vr.throw(new Rn("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new Rn("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new Rn("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return ga.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===xo.Primary&&vr.throw(new Rn("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===xo.Online&&vr.throw(new Rn("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===xo.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?ga.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":ga.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const yI=t4e.Instance,r4e="shared.userOptions",gQ=Er.encloseNamespace(r4e);function n4e(e,t,r){const{hasPermissions:n}=Av(),i=Eoe(),a=Bn.sortBy(t,"order");if(e&&(a.push({label:gQ("helpCentre"),order:0,url:yI.getHybridArticle(null,null),analyticsData:{url:yI.getHybridArticle(null,null)},analyticsOptions:{actionType:Pt.Click,entity:vn.Url,descriptor:zc.ExternalLink,location:aa.UserOptions}}),n(Ws.ViewProductBoard)&&!i.isUpgrading&&!r)){const l=ga.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:gQ("whatsNew"),order:0,url:l,analyticsData:{url:l},analyticsOptions:{actionType:Pt.Click,entity:vn.Url,descriptor:zc.ExternalLink,location:aa.UserOptions}})}const o={main:[],logOut:[]};return a.forEach(l=>{l.section==="logOut"?o.logOut.push(l):o.main.push(l)}),o}function i4e(e,t,r){var c;const n=Ji(si.currentUser()),i=Ji(((c=n.data)==null?void 0:c.isAuthenticated)&&y3.userProducts()),a=Eoe();if(t||!i.data||a.isLoading)return;const o=[...i.data],l=Array.isArray(e)?e:[e];a.isUpgrading&&!l.includes(xo.Online)&&l.push(xo.Online);let s=o.filter(d=>!l.includes(d.id),"order");return typeof r=="function"&&(s=r(s)),Bn.sortBy(s)}const a4e="_avatarContainer_1z0er_1",o4e="_productLogo_1z0er_5",s4e="_counter_1z0er_9",Qm={avatarContainer:a4e,productLogo:o4e,counter:s4e},u4e="shared.userOptions",_p=Er.encloseNamespace(u4e);function mQ({item:e}){if(e.appLink)return j.jsxs(Co.Item,{as:Yo,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&&j.jsx("div",{className:`${Qm.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&j.jsx(Jo,{svg:dQ,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&&Ti.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Un.PageLoad(e.url,!0)};return j.jsxs(Co.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&&j.jsx("div",{className:`${Qm.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&j.jsx(Jo,{svg:dQ,className:"svg-container text-secondary"})]})]})}return j.jsx(j.Fragment,{})}const l4e=({appLinks:e})=>{const t=_oe(),r=t.xs||t.sm;return j.jsxs(j.Fragment,{children:[j.jsx(Yo,{appLink:e.signIn,className:"btn btn-link ps-0",analyticsOptions:{actionType:Pt.Click,location:aa.TopNav,entity:vn.Url,descriptor:Gu.SignIn},analyticsData:{},children:_p("signIn")}),j.jsx(Yo,{appLink:e.signUp,className:"btn btn-dark ms-2",analyticsOptions:{actionType:Pt.Click,location:aa.TopNav,entity:vn.AppLink,workflowPhase:Io.Start,descriptor:Gu.SignUp},analyticsData:{},tag:"button",children:_p(r?"signUpForMobile":"signUp")})]})},c4e=({appLinks:e})=>j.jsx(Yo,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:Pt.Click,location:aa.TopNav,entity:vn.AppLink,workflowPhase:Io.Start,descriptor:Gu.SignIn},analyticsData:{},children:_p("signIn")});function f4e(e){var m,_,E,w,b,x;const[t,r]=ge.useState(!1),{hasPermissions:n}=Av(),i=Ji(si.currentUser()),a=Ji(((m=i.data)==null?void 0:m.id)&&si.user(i.data.id)),o=Ji(Ks.config()),l=Ji(((_=i.data)==null?void 0:_.isAuthenticated)&&si.customers(i.data.id)),s=n4e(o.data,e.additionalItems,e.hideWhatsNew),c=n(Ws.GuestExperience),d=e.hideProductList||c,h=i4e(e.productId,d,e.transform);function p(T){r(T),Ti.logUserAction({},{actionType:Pt.Click,entity:vn.AppLink,location:aa.UserOptions,descriptor:T?zc.Open:zc.Close})}function g(T){Ti.logUserAction({id:T.id,name:T.name},{actionType:Pt.Click,entity:vn.Product,location:aa.UserOptions,descriptor:zc.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?j.jsx(j.Fragment,{}):i.data.isAuthenticated?j.jsxs(Co,{className:"position-relative",onToggle:p,children:[j.jsx(Co.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Qm.avatarContainer} no-caret border-0 p-0`,children:j.jsx(Soe,{imageUrl:qu.createUrl(i.data.avatar,{size:L1.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:zs.getInitials(i.data.givenName,i.data.familyName),showDot:s.main.some(T=>T.counter>0)})}),j.jsxs(Co.Menu,{as:"ul",align:"end",children:[j.jsxs(Co.Item,{as:"div",children:[j.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[j.jsx("strong",{children:i.data.displayName})," ",!c&&j.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),j.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!c&&((E=a.data)==null?void 0:E.masterYearGroup)&&j.jsx("p",{className:"m-0 text-secondary",children:a.data.masterYearGroup.name})]}),j.jsx(e4e,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(b=l.data)==null?void 0:b.data}),j.jsx(Co.Divider,{}),s.main.map((T,A)=>j.jsx(mQ,{item:T},A)),j.jsx(Co.Divider,{}),h==null?void 0:h.map((T,A)=>j.jsxs(Co.Item,{as:"a",href:T.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>g(T),children:[j.jsx("img",{src:T.imageUrl,className:`${Qm.productLogo} me-2`}),T.name]},A)),!!(h!=null&&h.length)&&j.jsx(Co.Divider,{}),s.logOut.map((T,A)=>j.jsx(mQ,{item:T},A)),j.jsx(Co.Item,{as:Yo,appLink:e.appLinks.signOut,analyticsData:{id:(x=i.data)==null?void 0:x.id},analyticsOptions:{actionType:Pt.Click,location:aa.UserOptions,entity:vn.AppLink,descriptor:Gu.SignOut},children:_p("signOut")})]})]}):e.displaySignUp?j.jsx(l4e,{...e}):j.jsx(c4e,{...e})}const d4e="_logoContainer_1bv0u_1",h4e="_iconLogo_1bv0u_4",yQ={logoContainer:d4e,iconLogo:h4e};function p4e(){return j.jsxs("svg",{width:"208",height:"40",viewBox:"0 0 208 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[j.jsx("path",{d:"M41.4589 24.7134C41.7582 24.1897 42.1964 23.7622 42.7735 23.4309C43.3507 23.0995 44.008 22.9339 44.7455 22.9339C45.5364 22.9339 46.2472 23.1209 46.8778 23.495C47.5083 23.8691 48.0053 24.3981 48.3687 25.0822C48.7321 25.7555 48.9138 26.5411 48.9138 27.4389C48.9138 28.326 48.7321 29.1169 48.3687 29.8116C48.0053 30.5063 47.503 31.0461 46.8617 31.4309C46.2311 31.8156 45.5257 32.008 44.7455 32.008C43.9866 32.008 43.3186 31.8424 42.7415 31.511C42.175 31.1797 41.7475 30.7575 41.4589 30.2445V31.8637H40V20H41.4589V24.7134ZM47.4228 27.4389C47.4228 26.7762 47.2892 26.1991 47.022 25.7074C46.7548 25.2158 46.3914 24.8417 45.9319 24.5852C45.483 24.3287 44.986 24.2004 44.4409 24.2004C43.9065 24.2004 43.4095 24.334 42.9499 24.6012C42.501 24.8577 42.1376 25.2371 41.8597 25.7395C41.5925 26.2311 41.4589 26.8029 41.4589 27.4549C41.4589 28.1176 41.5925 28.7001 41.8597 29.2024C42.1376 29.6941 42.501 30.0735 42.9499 30.3407C43.4095 30.5972 43.9065 30.7255 44.4409 30.7255C44.986 30.7255 45.483 30.5972 45.9319 30.3407C46.3914 30.0735 46.7548 29.6941 47.022 29.2024C47.2892 28.7001 47.4228 28.1122 47.4228 27.4389Z",fill:"white"}),j.jsx("path",{d:"M58.4013 23.0782L53.1107 36H51.6037L53.3352 31.7675L49.7921 23.0782H51.4113L54.1688 30.1964L56.8943 23.0782H58.4013Z",fill:"white"}),j.jsx("path",{d:"M82.5069 29.4482L83.1019 30.0432C82.0255 31.2772 80.4619 31.977 78.8244 31.9576C75.487 31.9576 73.1085 29.3155 73.1085 25.9799C73.1085 22.6442 75.4887 20.0005 78.8244 20.0005C80.3841 19.9792 81.8794 20.6221 82.937 21.7687L82.325 22.3297C81.4236 21.3575 80.1498 20.8168 78.8244 20.8438C75.9495 20.8438 73.9977 23.139 73.9977 25.9799C73.9977 28.8208 75.9495 31.116 78.8244 31.116C80.2383 31.1328 81.587 30.522 82.5069 29.4482Z",fill:"white"}),j.jsx("path",{d:"M84.5811 20.0006H85.3546V31.9389H84.5505L84.5811 20.0006Z",fill:"white"}),j.jsx("path",{d:"M87.5223 21.8027C87.7767 21.8027 88.0061 21.956 88.1034 22.191C88.2008 22.4261 88.147 22.6967 87.9671 22.8766C87.7872 23.0565 87.5166 23.1103 87.2816 23.0129C87.0465 22.9156 86.8932 22.6862 86.8932 22.4318C86.8932 22.0844 87.1749 21.8027 87.5223 21.8027Z",fill:"white"}),j.jsx("path",{d:"M87.1125 24.3647H87.9303V31.9405H87.1125V24.3647Z",fill:"white"}),j.jsx("path",{d:"M95.2732 30.0006L95.8394 30.5362C95.1402 31.4562 94.052 31.9975 92.8965 32C90.756 32 89.197 30.2999 89.197 28.2223C89.197 26.1447 90.756 24.4446 92.8965 24.4446C94.0067 24.4469 95.0576 24.9459 95.7612 25.8047L95.178 26.325C94.6191 25.6407 93.78 25.2468 92.8965 25.2539C91.181 25.2539 90.047 26.6395 90.047 28.2291C90.047 29.8187 91.181 31.2043 92.8965 31.2043C93.8349 31.2033 94.7171 30.7565 95.2732 30.0006Z",fill:"white"}),j.jsx("path",{d:"M97.8217 28.4145V31.9406H97.0175V20.0023H97.8217V28.1204L101.348 24.8867H102.477L98.8111 28.2598L102.834 31.9406H101.642L97.8217 28.4145Z",fill:"white"}),j.jsx("path",{d:"M115.695 22.1836C115.695 22.7056 115.272 23.1288 114.75 23.1288C114.228 23.1288 113.805 22.7056 113.805 22.1836C113.805 21.6615 114.228 21.2383 114.75 21.2383C115.272 21.2383 115.695 21.6615 115.695 22.1836Z",fill:"white"}),j.jsx("path",{d:"M113.805 24.3647H115.693V31.9405H113.805V24.3647Z",fill:"white"}),j.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M124.232 28.8107C124.247 28.5421 124.247 28.2683 124.247 28.1306C124.247 25.9052 122.584 24.3648 120.609 24.3716C118.519 24.3716 116.979 26.048 116.979 28.168C116.979 30.2881 118.672 31.9661 120.869 31.9661C121.922 31.9593 122.942 31.5935 123.759 30.9291L122.844 29.5417C122.299 30.0259 121.591 30.2874 120.862 30.2745C119.718 30.2745 118.97 29.4516 118.834 28.8107H124.232ZM120.602 26.0259C121.807 26.0259 122.385 26.8657 122.416 27.4914H118.834C118.893 26.8504 119.427 26.0259 120.602 26.0259Z",fill:"white"}),j.jsx("path",{d:"M70.0976 25.9629L63.0505 20.0005V31.9269L70.0976 25.9629Z",fill:"white"}),j.jsx("path",{d:"M128.662 31.9014H127.571L124.231 24.3579H126.607L128.164 28.4348L129.816 24.3579H131.229L132.866 28.4348L134.424 24.3579H136.799L133.477 31.9014H132.368L130.524 27.8721L128.662 31.9014Z",fill:"white"}),j.jsx("path",{d:"M108.223 31.961H107.203L101.492 20.0023H104.384L107.686 27.5134L110.76 20.0023H113.635L108.223 31.961Z",fill:"white"}),j.jsx("path",{d:"M43.7774 15.9309C43.0608 15.9309 42.4159 15.8081 41.8426 15.5624C41.2694 15.3065 40.8189 14.9482 40.4914 14.4875C40.1638 14.0269 40 13.4894 40 12.8752H41.8733C41.9143 13.3359 42.0934 13.7147 42.4107 14.0115C42.7383 14.3084 43.1939 14.4568 43.7774 14.4568C44.3813 14.4568 44.8522 14.3135 45.19 14.0269C45.5278 13.73 45.6967 13.3512 45.6967 12.8906C45.6967 12.5323 45.5892 12.2406 45.3743 12.0154C45.1695 11.7901 44.9085 11.6161 44.5912 11.4933C44.2841 11.3704 43.8541 11.2374 43.3013 11.094C42.6052 10.9098 42.0371 10.7255 41.5969 10.5413C41.167 10.3468 40.7985 10.0499 40.4914 9.65067C40.1843 9.25144 40.0307 8.71913 40.0307 8.05374C40.0307 7.43954 40.1843 6.90211 40.4914 6.44146C40.7985 5.98081 41.2284 5.62764 41.7812 5.38196C42.334 5.13628 42.9738 5.01344 43.7006 5.01344C44.7345 5.01344 45.579 5.27447 46.2342 5.79655C46.8996 6.30838 47.2681 7.01471 47.3397 7.91555H45.405C45.3743 7.52655 45.19 7.19386 44.8522 6.91747C44.5144 6.64107 44.0691 6.50288 43.5163 6.50288C43.0147 6.50288 42.6052 6.63084 42.2879 6.88676C41.9706 7.14267 41.8119 7.5112 41.8119 7.99232C41.8119 8.3199 41.9091 8.59117 42.1036 8.80614C42.3084 9.01088 42.5643 9.17466 42.8714 9.2975C43.1785 9.42034 43.5982 9.55342 44.1305 9.69674C44.8369 9.89123 45.4101 10.0857 45.8503 10.2802C46.3007 10.4747 46.6795 10.7767 46.9866 11.1862C47.3039 11.5854 47.4626 12.1228 47.4626 12.7985C47.4626 13.341 47.3141 13.8528 47.0173 14.334C46.7306 14.8151 46.3058 15.2041 45.7428 15.501C45.19 15.7876 44.5349 15.9309 43.7774 15.9309Z",fill:"white"}),j.jsx("path",{d:"M51.5703 8.79079V13.4741C51.5703 13.7914 51.642 14.0218 51.7853 14.1651C51.9388 14.2981 52.1947 14.3647 52.553 14.3647H53.6279V15.8234H52.2459C51.4577 15.8234 50.8537 15.6392 50.434 15.2706C50.0143 14.9021 49.8045 14.3033 49.8045 13.4741V8.79079H48.8064V7.36276H49.8045V5.25912H51.5703V7.36276H53.6279V8.79079H51.5703Z",fill:"white"}),j.jsx("path",{d:"M56.9917 8.59117C57.2476 8.16123 57.5854 7.82853 58.0052 7.59309C58.4351 7.34741 58.9418 7.22457 59.5253 7.22457V9.03647H59.08C58.3942 9.03647 57.8721 9.21049 57.5138 9.55854C57.1657 9.90659 56.9917 10.5106 56.9917 11.3704V15.8234H55.2412V7.36276H56.9917V8.59117Z",fill:"white"}),j.jsx("path",{d:"M68.8887 11.3858C68.8887 11.7031 68.8682 11.9898 68.8273 12.2457H62.3628C62.4139 12.9213 62.6647 13.4639 63.1152 13.8733C63.5656 14.2828 64.1184 14.4875 64.7735 14.4875C65.7153 14.4875 66.3807 14.0934 66.7697 13.3052H68.6583C68.4024 14.0832 67.9367 14.723 67.261 15.2246C66.5956 15.7159 65.7665 15.9616 64.7735 15.9616C63.9648 15.9616 63.238 15.7825 62.5931 15.4242C61.9584 15.0557 61.4568 14.5438 61.0883 13.8887C60.73 13.2233 60.5509 12.4555 60.5509 11.5854C60.5509 10.7153 60.7249 9.95265 61.0729 9.2975C61.4312 8.63212 61.9277 8.12028 62.5624 7.762C63.2073 7.40371 63.9443 7.22457 64.7735 7.22457C65.572 7.22457 66.2834 7.39859 66.9079 7.74664C67.5323 8.09469 68.0186 8.58605 68.3666 9.22073C68.7146 9.84517 68.8887 10.5669 68.8887 11.3858ZM67.0614 10.833C67.0512 10.1881 66.8209 9.67114 66.3704 9.28215C65.92 8.89315 65.3621 8.69866 64.6967 8.69866C64.0928 8.69866 63.5758 8.89315 63.1459 9.28215C62.7159 9.66091 62.46 10.1779 62.3781 10.833H67.0614Z",fill:"white"}),j.jsx("path",{d:"M70.0278 11.5547C70.0278 10.7051 70.2019 9.95265 70.5499 9.2975C70.9082 8.64235 71.3893 8.13564 71.9933 7.77735C72.6075 7.40883 73.2831 7.22457 74.0202 7.22457C74.6855 7.22457 75.2639 7.35765 75.7553 7.6238C76.2569 7.87972 76.6561 8.20218 76.953 8.59117V7.36276H78.7188V15.8234H76.953V14.5643C76.6561 14.9635 76.2518 15.2962 75.7399 15.5624C75.2281 15.8285 74.6446 15.9616 73.9894 15.9616C73.2626 15.9616 72.5973 15.7774 71.9933 15.4088C71.3893 15.0301 70.9082 14.508 70.5499 13.8426C70.2019 13.167 70.0278 12.4044 70.0278 11.5547ZM76.953 11.5854C76.953 11.0019 76.8301 10.4952 76.5844 10.0653C76.349 9.63532 76.0368 9.30774 75.6478 9.08253C75.2588 8.85733 74.8391 8.74472 74.3887 8.74472C73.9383 8.74472 73.5186 8.85733 73.1296 9.08253C72.7406 9.2975 72.4232 9.61996 72.1775 10.0499C71.9421 10.4696 71.8244 10.9712 71.8244 11.5547C71.8244 12.1382 71.9421 12.65 72.1775 13.0902C72.4232 13.5304 72.7406 13.8682 73.1296 14.1036C73.5288 14.3289 73.9485 14.4415 74.3887 14.4415C74.8391 14.4415 75.2588 14.3289 75.6478 14.1036C76.0368 13.8784 76.349 13.5509 76.5844 13.1209C76.8301 12.6807 76.953 12.1689 76.953 11.5854Z",fill:"white"}),j.jsx("path",{d:"M91.2598 7.22457C91.9252 7.22457 92.519 7.36276 93.041 7.63916C93.5733 7.91555 93.9879 8.32502 94.2848 8.86756C94.5919 9.41011 94.7454 10.0653 94.7454 10.833V15.8234H93.0103V11.094C93.0103 10.3365 92.8209 9.75816 92.4422 9.35892C92.0634 8.94946 91.5465 8.74472 90.8913 8.74472C90.2362 8.74472 89.7141 8.94946 89.3251 9.35892C88.9463 9.75816 88.757 10.3365 88.757 11.094V15.8234H87.0218V11.094C87.0218 10.3365 86.8324 9.75816 86.4537 9.35892C86.0749 8.94946 85.558 8.74472 84.9028 8.74472C84.2477 8.74472 83.7256 8.94946 83.3366 9.35892C82.9579 9.75816 82.7685 10.3365 82.7685 11.094V15.8234H81.018V7.36276H82.7685V8.33013C83.0551 7.98209 83.4185 7.71081 83.8587 7.51631C84.2989 7.32182 84.7697 7.22457 85.2713 7.22457C85.947 7.22457 86.5509 7.36788 87.0833 7.65451C87.6156 7.94114 88.025 8.35573 88.3117 8.89827C88.5676 8.38644 88.9668 7.98209 89.5094 7.68522C90.0519 7.37812 90.6354 7.22457 91.2598 7.22457Z",fill:"white"}),j.jsx("path",{d:"M96.3894 11.5547C96.3894 10.7051 96.5634 9.95265 96.9115 9.2975C97.2698 8.64235 97.7509 8.13564 98.3548 7.77735C98.969 7.40883 99.6447 7.22457 100.382 7.22457C101.047 7.22457 101.625 7.35765 102.117 7.6238C102.618 7.87972 103.018 8.20218 103.315 8.59117V7.36276H105.08V15.8234H103.315V14.5643C103.018 14.9635 102.613 15.2962 102.101 15.5624C101.59 15.8285 101.006 15.9616 100.351 15.9616C99.6242 15.9616 98.9588 15.7774 98.3548 15.4088C97.7509 15.0301 97.2698 14.508 96.9115 13.8426C96.5634 13.167 96.3894 12.4044 96.3894 11.5547ZM103.315 11.5854C103.315 11.0019 103.192 10.4952 102.946 10.0653C102.711 9.63532 102.398 9.30774 102.009 9.08253C101.62 8.85733 101.201 8.74472 100.75 8.74472C100.3 8.74472 99.8801 8.85733 99.4911 9.08253C99.1021 9.2975 98.7848 9.61996 98.5391 10.0499C98.3037 10.4696 98.1859 10.9712 98.1859 11.5547C98.1859 12.1382 98.3037 12.65 98.5391 13.0902C98.7848 13.5304 99.1021 13.8682 99.4911 14.1036C99.8904 14.3289 100.31 14.4415 100.75 14.4415C101.201 14.4415 101.62 14.3289 102.009 14.1036C102.398 13.8784 102.711 13.5509 102.946 13.1209C103.192 12.6807 103.315 12.1689 103.315 11.5854Z",fill:"white"}),j.jsx("path",{d:"M109.13 8.62188C109.427 8.21241 109.831 7.87972 110.343 7.6238C110.865 7.35765 111.444 7.22457 112.078 7.22457C112.826 7.22457 113.501 7.40371 114.105 7.762C114.709 8.12028 115.185 8.63212 115.533 9.2975C115.881 9.95265 116.055 10.7051 116.055 11.5547C116.055 12.4044 115.881 13.167 115.533 13.8426C115.185 14.508 114.704 15.0301 114.09 15.4088C113.486 15.7774 112.815 15.9616 112.078 15.9616C111.423 15.9616 110.84 15.8337 110.328 15.5777C109.826 15.3218 109.427 14.9942 109.13 14.595V15.8234H107.38V4.46065H109.13V8.62188ZM114.274 11.5547C114.274 10.9712 114.151 10.4696 113.905 10.0499C113.67 9.61996 113.353 9.2975 112.953 9.08253C112.564 8.85733 112.145 8.74472 111.694 8.74472C111.254 8.74472 110.834 8.85733 110.435 9.08253C110.046 9.30774 109.729 9.63532 109.483 10.0653C109.248 10.4952 109.13 11.0019 109.13 11.5854C109.13 12.1689 109.248 12.6807 109.483 13.1209C109.729 13.5509 110.046 13.8784 110.435 14.1036C110.834 14.3289 111.254 14.4415 111.694 14.4415C112.145 14.4415 112.564 14.3289 112.953 14.1036C113.353 13.8682 113.67 13.5304 113.905 13.0902C114.151 12.65 114.274 12.1382 114.274 11.5547Z",fill:"white"}),j.jsx("path",{d:"M119.537 4.46065V15.8234H117.786V4.46065H119.537Z",fill:"white"}),j.jsx("path",{d:"M129.589 11.3858C129.589 11.7031 129.569 11.9898 129.528 12.2457H123.063C123.115 12.9213 123.365 13.4639 123.816 13.8733C124.266 14.2828 124.819 14.4875 125.474 14.4875C126.416 14.4875 127.081 14.0934 127.47 13.3052H129.359C129.103 14.0832 128.637 14.723 127.962 15.2246C127.296 15.7159 126.467 15.9616 125.474 15.9616C124.665 15.9616 123.939 15.7825 123.294 15.4242C122.659 15.0557 122.157 14.5438 121.789 13.8887C121.431 13.2233 121.251 12.4555 121.251 11.5854C121.251 10.7153 121.425 9.95265 121.774 9.2975C122.132 8.63212 122.628 8.12028 123.263 7.762C123.908 7.40371 124.645 7.22457 125.474 7.22457C126.273 7.22457 126.984 7.39859 127.608 7.74664C128.233 8.09469 128.719 8.58605 129.067 9.22073C129.415 9.84517 129.589 10.5669 129.589 11.3858ZM127.762 10.833C127.752 10.1881 127.521 9.67114 127.071 9.28215C126.621 8.89315 126.063 8.69866 125.397 8.69866C124.793 8.69866 124.276 8.89315 123.846 9.28215C123.417 9.66091 123.161 10.1779 123.079 10.833H127.762Z",fill:"white"}),j.jsx("path",{d:"M137.051 14.4107H140.66V15.8234H135.301V5.15163H137.051V14.4107Z",fill:"white"}),j.jsx("path",{d:"M149.878 11.3858C149.878 11.7031 149.857 11.9898 149.816 12.2457H143.352C143.403 12.9213 143.654 13.4639 144.104 13.8733C144.555 14.2828 145.107 14.4875 145.763 14.4875C146.704 14.4875 147.37 14.0934 147.759 13.3052H149.647C149.392 14.0832 148.926 14.723 148.25 15.2246C147.585 15.7159 146.756 15.9616 145.763 15.9616C144.954 15.9616 144.227 15.7825 143.582 15.4242C142.947 15.0557 142.446 14.5438 142.077 13.8887C141.719 13.2233 141.54 12.4555 141.54 11.5854C141.54 10.7153 141.714 9.95265 142.062 9.2975C142.42 8.63212 142.917 8.12028 143.551 7.762C144.196 7.40371 144.933 7.22457 145.763 7.22457C146.561 7.22457 147.273 7.39859 147.897 7.74664C148.521 8.09469 149.008 8.58605 149.356 9.22073C149.704 9.84517 149.878 10.5669 149.878 11.3858ZM148.051 10.833C148.04 10.1881 147.81 9.67114 147.36 9.28215C146.909 8.89315 146.351 8.69866 145.686 8.69866C145.082 8.69866 144.565 8.89315 144.135 9.28215C143.705 9.66091 143.449 10.1779 143.367 10.833H148.051Z",fill:"white"}),j.jsx("path",{d:"M151.017 11.5547C151.017 10.7051 151.191 9.95265 151.539 9.2975C151.897 8.64235 152.378 8.13564 152.982 7.77735C153.597 7.40883 154.272 7.22457 155.009 7.22457C155.675 7.22457 156.253 7.35765 156.744 7.6238C157.246 7.87972 157.645 8.20218 157.942 8.59117V7.36276H159.708V15.8234H157.942V14.5643C157.645 14.9635 157.241 15.2962 156.729 15.5624C156.217 15.8285 155.634 15.9616 154.979 15.9616C154.252 15.9616 153.586 15.7774 152.982 15.4088C152.378 15.0301 151.897 14.508 151.539 13.8426C151.191 13.167 151.017 12.4044 151.017 11.5547ZM157.942 11.5854C157.942 11.0019 157.819 10.4952 157.574 10.0653C157.338 9.63532 157.026 9.30774 156.637 9.08253C156.248 8.85733 155.828 8.74472 155.378 8.74472C154.927 8.74472 154.508 8.85733 154.119 9.08253C153.73 9.2975 153.412 9.61996 153.167 10.0499C152.931 10.4696 152.813 10.9712 152.813 11.5547C152.813 12.1382 152.931 12.65 153.167 13.0902C153.412 13.5304 153.73 13.8682 154.119 14.1036C154.518 14.3289 154.938 14.4415 155.378 14.4415C155.828 14.4415 156.248 14.3289 156.637 14.1036C157.026 13.8784 157.338 13.5509 157.574 13.1209C157.819 12.6807 157.942 12.1689 157.942 11.5854Z",fill:"white"}),j.jsx("path",{d:"M163.758 8.59117C164.013 8.16123 164.351 7.82853 164.771 7.59309C165.201 7.34741 165.708 7.22457 166.291 7.22457V9.03647H165.846C165.16 9.03647 164.638 9.21049 164.28 9.55854C163.932 9.90659 163.758 10.5106 163.758 11.3704V15.8234H162.007V7.36276H163.758V8.59117Z",fill:"white"}),j.jsx("path",{d:"M172.169 7.22457C172.834 7.22457 173.428 7.36276 173.95 7.63916C174.482 7.91555 174.897 8.32502 175.194 8.86756C175.491 9.41011 175.639 10.0653 175.639 10.833V15.8234H173.904V11.094C173.904 10.3365 173.715 9.75816 173.336 9.35892C172.957 8.94946 172.44 8.74472 171.785 8.74472C171.13 8.74472 170.608 8.94946 170.219 9.35892C169.84 9.75816 169.651 10.3365 169.651 11.094V15.8234H167.9V7.36276H169.651V8.33013C169.937 7.98209 170.301 7.71081 170.741 7.51631C171.191 7.32182 171.667 7.22457 172.169 7.22457Z",fill:"white"}),j.jsx("path",{d:"M178.763 6.24184C178.445 6.24184 178.179 6.13436 177.964 5.91939C177.749 5.70442 177.642 5.43826 177.642 5.12092C177.642 4.80358 177.749 4.53743 177.964 4.32246C178.179 4.10749 178.445 4 178.763 4C179.07 4 179.331 4.10749 179.546 4.32246C179.761 4.53743 179.868 4.80358 179.868 5.12092C179.868 5.43826 179.761 5.70442 179.546 5.91939C179.331 6.13436 179.07 6.24184 178.763 6.24184ZM179.622 7.36276V15.8234H177.872V7.36276H179.622Z",fill:"white"}),j.jsx("path",{d:"M186.189 7.22457C186.855 7.22457 187.449 7.36276 187.971 7.63916C188.503 7.91555 188.918 8.32502 189.214 8.86756C189.511 9.41011 189.66 10.0653 189.66 10.833V15.8234H187.925V11.094C187.925 10.3365 187.735 9.75816 187.356 9.35892C186.978 8.94946 186.461 8.74472 185.806 8.74472C185.15 8.74472 184.628 8.94946 184.239 9.35892C183.861 9.75816 183.671 10.3365 183.671 11.094V15.8234H181.921V7.36276H183.671V8.33013C183.958 7.98209 184.321 7.71081 184.761 7.51631C185.212 7.32182 185.688 7.22457 186.189 7.22457Z",fill:"white"}),j.jsx("path",{d:"M195.301 7.22457C195.956 7.22457 196.535 7.35765 197.036 7.6238C197.548 7.87972 197.948 8.20218 198.234 8.59117V7.36276H200V15.9616C200 16.7396 199.836 17.4306 199.509 18.0345C199.181 18.6488 198.705 19.1299 198.081 19.4779C197.466 19.826 196.729 20 195.869 20C194.723 20 193.771 19.7287 193.013 19.1862C192.256 18.6539 191.826 17.9271 191.724 17.0058H193.459C193.592 17.4459 193.873 17.7991 194.303 18.0653C194.743 18.3417 195.266 18.4798 195.869 18.4798C196.576 18.4798 197.144 18.2649 197.574 17.8349C198.014 17.405 198.234 16.7806 198.234 15.9616V14.5489C197.937 14.9482 197.533 15.286 197.021 15.5624C196.52 15.8285 195.946 15.9616 195.301 15.9616C194.564 15.9616 193.889 15.7774 193.274 15.4088C192.671 15.0301 192.189 14.508 191.831 13.8426C191.483 13.167 191.309 12.4044 191.309 11.5547C191.309 10.7051 191.483 9.95265 191.831 9.2975C192.189 8.64235 192.671 8.13564 193.274 7.77735C193.889 7.40883 194.564 7.22457 195.301 7.22457ZM198.234 11.5854C198.234 11.0019 198.111 10.4952 197.866 10.0653C197.63 9.63532 197.318 9.30774 196.929 9.08253C196.54 8.85733 196.12 8.74472 195.67 8.74472C195.219 8.74472 194.8 8.85733 194.411 9.08253C194.022 9.2975 193.704 9.61996 193.459 10.0499C193.223 10.4696 193.106 10.9712 193.106 11.5547C193.106 12.1382 193.223 12.65 193.459 13.0902C193.704 13.5304 194.022 13.8682 194.411 14.1036C194.81 14.3289 195.23 14.4415 195.67 14.4415C196.12 14.4415 196.54 14.3289 196.929 14.1036C197.318 13.8784 197.63 13.5509 197.866 13.1209C198.111 12.6807 198.234 12.1689 198.234 11.5854Z",fill:"white"}),j.jsx("path",{d:"M16 35.0303C24.301 35.0303 31.0303 28.301 31.0303 20C31.0303 11.699 24.301 4.9697 16 4.9697C7.69899 4.9697 0.969697 11.699 0.969697 20C0.969697 28.301 7.69899 35.0303 16 35.0303Z",fill:"white"}),j.jsx("path",{d:"M32 20C32 11.1634 24.8366 4 16 4C7.16344 4 0 11.1634 0 20C0 28.8366 7.16344 36 16 36C24.8366 36 32 28.8366 32 20ZM31.0303 20C31.0303 28.301 24.301 35.0303 16 35.0303C7.69899 35.0303 0.969697 28.301 0.969697 20C0.969697 11.699 7.69899 4.9697 16 4.9697C24.301 4.9697 31.0303 11.699 31.0303 20Z",fill:"white"}),j.jsx("path",{d:"M31.0303 20C31.0303 21.6065 30.7777 23.154 30.3112 24.6057C30.1657 23.5728 29.8371 22.081 29.0937 20.4396C28.2015 18.4695 25.4 15.6162 23.5084 13.8262C24.7932 14.0466 26.0593 14.331 27.2726 14.7979C28.4437 15.2492 29.5986 15.9265 30.6792 16.7562C30.909 17.8012 31.0303 18.8862 31.0303 20Z",fill:"#ADE1F9"}),j.jsx("path",{d:"M16.736 22.9957C16.2249 22.9307 15.7149 22.8658 15.208 22.7942C11.9545 22.3336 8.69926 21.5409 5.83833 19.9247C3.92495 18.8437 2.495 17.5914 1.47352 16.1283V16.1266C1.49183 16.0585 1.51015 15.9911 1.52881 15.9234C1.76344 15.151 2.79979 12.4584 5.82762 12.6253C6.55158 12.6651 9.33959 12.9985 9.73042 16.2548C9.7591 16.4936 9.78675 16.7327 9.83271 16.9691C10.4402 20.0971 13.9045 21.8377 16.5781 22.9328C16.6306 22.9542 16.6835 22.9746 16.736 22.9957Z",fill:"#E1FAE1"}),j.jsx("path",{d:"M30.6792 16.7562C29.5986 15.9265 28.4437 15.2492 27.2726 14.7979C26.0593 14.331 24.7932 14.0466 23.5084 13.8262C20.6869 13.3413 17.7769 13.1644 15.1554 12.0361C13.788 11.4473 12.47 10.5402 11.847 9.18834C11.2519 7.89835 11.2702 6.78736 11.6794 5.85538C11.7616 5.66808 11.9247 5.52744 12.1224 5.47491C13.3595 5.14559 14.6589 4.9697 16 4.9697C21.3213 4.9697 25.9975 7.73525 28.668 11.9079C29.6045 13.3704 30.2942 15.0066 30.6792 16.7562Z",fill:"#32B3EF"}),j.jsx("path",{d:"M27.7495 29.3734C24.9746 32.847 20.6917 35.0635 15.8922 35.0296C7.6052 34.9716 0.958275 28.2659 0.969678 19.9786C0.971406 18.6475 1.14696 17.3571 1.47352 16.1283C2.495 17.5914 3.92495 18.8437 5.83833 19.9247C8.69926 21.5409 11.9545 22.3336 15.208 22.7942C15.7149 22.8658 16.2249 22.9307 16.736 22.9957C19.2213 23.3109 21.7253 23.6253 23.9542 24.7342C25.6226 25.5643 27.1033 27.0015 27.8407 28.675C27.9427 28.9066 27.9078 29.1754 27.7495 29.3734Z",fill:"#5ABD5E"})]})}function v4e(){return j.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[j.jsx("path",{d:"M20 38.7879C30.3763 38.7879 38.7879 30.3763 38.7879 20C38.7879 9.62374 30.3763 1.21212 20 1.21212C9.62374 1.21212 1.21212 9.62374 1.21212 20C1.21212 30.3763 9.62374 38.7879 20 38.7879Z",fill:"white"}),j.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20ZM38.7879 20C38.7879 30.3763 30.3763 38.7879 20 38.7879C9.62374 38.7879 1.21212 30.3763 1.21212 20C1.21212 9.62374 9.62374 1.21212 20 1.21212C30.3763 1.21212 38.7879 9.62374 38.7879 20Z",fill:"white"}),j.jsx("path",{d:"M38.7879 20C38.7879 22.0082 38.4721 23.9425 37.889 25.7571C37.7071 24.466 37.2963 22.6012 36.3672 20.5494C35.2519 18.0869 31.75 14.5202 29.3855 12.2827C30.9915 12.5583 32.5742 12.9138 34.0908 13.4974C35.5547 14.0615 36.9983 14.9081 38.349 15.9452C38.6362 17.2515 38.7879 18.6078 38.7879 20Z",fill:"#ADE1F9"}),j.jsx("path",{d:"M20.92 23.7446C20.2812 23.6634 19.6436 23.5822 19.0099 23.4928C14.9431 22.917 10.8741 21.9261 7.29792 19.9058C4.90618 18.5547 3.11875 16.9893 1.84189 15.1604V15.1582C1.86479 15.0731 1.88768 14.9889 1.91101 14.9042C2.2043 13.9388 3.49974 10.573 7.28453 10.7817C8.18947 10.8313 11.6745 11.2482 12.163 15.3185C12.1989 15.617 12.2334 15.9159 12.2909 16.2113C13.0503 20.1214 17.3806 22.2971 20.7226 23.666C20.7883 23.6928 20.8544 23.7183 20.92 23.7446Z",fill:"#E1FAE1"}),j.jsx("path",{d:"M38.349 15.9452C36.9983 14.9081 35.5547 14.0615 34.0908 13.4974C32.5742 12.9138 30.9915 12.5583 29.3855 12.2827C25.8586 11.6767 22.2211 11.4555 18.9443 10.0452C17.235 9.30911 15.5875 8.17523 14.8087 6.48543C14.0649 4.87294 14.0878 3.4842 14.5992 2.31922C14.702 2.0851 14.9059 1.9093 15.153 1.84364C16.6994 1.43199 18.3236 1.21212 20 1.21212C26.6517 1.21212 32.4969 4.66906 35.835 9.88491C37.0056 11.7129 37.8678 13.7583 38.349 15.9452Z",fill:"#32B3EF"}),j.jsx("path",{d:"M34.6869 31.7168C31.2183 36.0588 25.8646 38.8293 19.8652 38.787C9.5065 38.7144 1.19784 30.3324 1.2121 19.9732C1.21426 18.3093 1.4337 16.6964 1.84189 15.1604C3.11875 16.9893 4.90618 18.5547 7.29792 19.9058C10.8741 21.9261 14.9431 22.917 19.0099 23.4928C19.6436 23.5822 20.2812 23.6634 20.92 23.7446C24.0267 24.1386 27.1566 24.5316 29.9427 25.9178C32.0282 26.9553 33.8791 28.7518 34.8009 30.8438C34.9283 31.1332 34.8847 31.4693 34.6869 31.7168Z",fill:"#5ABD5E"})]})}function g4e(){return j.jsxs("div",{className:`${yQ.logoContainer} d-flex align-items-center`,children:[j.jsx("div",{className:"d-none d-sm-block h-100",children:j.jsx(p4e,{})}),j.jsx("div",{className:`${yQ.iconLogo} d-block d-sm-none`,children:j.jsx(v4e,{})})]})}const m4e="_banner_1q8e9_1",y4e={banner:m4e},_Q="shared.streamableTrialBanner",_4e=30;function S4e(){const{policyEndTime:e,isLoadingSettings:t}=Q3(null),r=Xt.useMemo(()=>{if(t)return 0;const n=new Date(e),i=new Date;return Math.max(Oo.diffBetween(n,i,"day"),0)+1},[t,e]);return t?j.jsx(j.Fragment,{}):j.jsx("div",{className:`bg-light-green d-none d-md-block text-center ${y4e.banner}`,children:j.jsx(j.Fragment,{children:j.jsx("span",{className:"py-3 mb-0 d-inline-block h6",children:r<=_4e?j.jsx(bn,{namespace:_Q,phrase:"endTime",options:{smartCount:r}}):j.jsx(bn,{namespace:_Q,phrase:"endDate",options:{endDate:Oo.format(e,"Do MMMM")}})})})})}var woe=(e=>(e.StreamableViewTrialBanner="sl.trial.banner.view",e.ClickViewViewTrialBanner="cv.trial.banner.view",e))(woe||{});function E4e(){var n;const e=Ji(si.currentUser()),t=Ji(e.hasCompleted&&((n=e.data)==null?void 0:n.isAuthenticated)&&si.accessPolicy());function r(i){var o,l;return t.data?(((l=(o=t.data)==null?void 0:o.permissions)==null?void 0:l.additional)??[]).includes(i):!1}return{isLoaded:e.hasCompleted&&t.hasCompleted,accessPolicy:t.data,policyHasOption:r}}const w4e=()=>{var i;const e=Ji(si.currentUser()),t=Ji(((i=e.data)==null?void 0:i.isAuthenticated)&&y3.userProducts()),r=!t.hasCompleted;return{hasProduct:a=>{var o;return r||t.hasError||!((o=t.data)!=null&&o.length)?!1:t.data.some(l=>l.id===a)},products:t,isLoadingProducts:r}};var _I=(e=>(e.Static="Static",e.Timed="Timed",e.Cft="Cft",e))(_I||{});function b4e(){const{hasPermissions:e,isLoaded:t}=Av(),{policyHasOption:r,accessPolicy:n,isLoaded:i}=E4e(),{hasProduct:a}=w4e(),{policyEndTime:o,isLoadingSettings:l,inviteColleague:s}=Q3(null),c=Xt.useMemo(()=>{if(l)return 0;const _=new Date(o),E=new Date;return Math.max(Oo.diffBetween(_,E,"day"),0)+1},[l,o]),d=e(Ws.ViewTrialBanner)||r(woe.StreamableViewTrialBanner),h=a(xo.StreamableLearning)&&!l&&i&&d&&!e(Ws.StudentExperience),p=[_I.Timed,_I.Cft].includes(n==null?void 0:n.type),g=e(Ws.ViewTrialUpgrade),m=s&&e(Ws.ViewInviteColleague);return{showBanner:h,viewTrialDuration:p,viewTrialUpgrade:g,viewInviteColleague:m,daysLeft:c,hasLoaded:!l&&t&&i}}function C4e(){const{showBanner:e,hasLoaded:t,viewTrialDuration:r}=b4e();function n(){return t&&e&&r?"trial":"none"}return n()==="trial"?j.jsx(S4e,{}):j.jsx(j.Fragment,{})}const T4e="streamableShared.header",A4e=Er.encloseNamespace(T4e);function R4e({showNav:e}){const t=Ji(Ks.config()),r=Ji(si.currentUser());return function(){return!r.hasCompleted||!t.hasCompleted?[]:r.data.isAuthenticated?e?[{label:A4e("settings"),order:10,appLink:{application:sr.SETTINGS,action:Tr.Settings.HOME},analyticsData:{url:Vn.getHref({application:sr.SETTINGS,action:Tr.Settings.HOME})},analyticsOptions:{location:aa.UserOptions,actionType:Pt.Click,entity:vn.Url}}]:[]:[]}}var Fx={},jx,SQ;function x4e(){if(SQ)return jx;SQ=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 jx=e,jx}var Ux={},qx,EQ;function O4e(){if(EQ)return qx;EQ=1;var e=(function(){function t(r,n){var i=[],a=!0,o=!1,l=void 0;try{for(var s=r[Symbol.iterator](),c;!(a=(c=s.next()).done)&&(i.push(c.value),!(n&&i.length===n));a=!0);}catch(d){o=!0,l=d}finally{try{!a&&s.return&&s.return()}finally{if(o)throw l}}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 qx=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],p=d[1];return n?p===null||p===r[h]-1?(h=i(h),h===null?[null,null]:[h,0]):[h,p+1]:r===0||p===r-1?[null,null]:p===null?[null,0]:[null,p+1]}function l(c){var d=e(c,2),h=d[0],p=d[1];return n?p===null||p===0?(h=a(h),h===null?[null,null]:[h,r[h]-1]):[h,p-1]:r===0||p===0?[null,null]:p===null?[null,r-1]:[null,p-1]}function s(c){return o(c)[1]===null}return{next:o,prev:l,isLast:s}},qx}var qg={exports:{}},Vx,wQ;function I4e(){if(wQ)return Vx;wQ=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 Vx=Object.assign||function(n,i){for(var a,o,l=t(n),s=1;s<arguments.length;s++){a=arguments[s],o=r(Object(a));for(var c=0;c<o.length;c++)l[o[c]]=a[o[c]]}return l},Vx}var bQ;function P4e(){return bQ||(bQ=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function s(c,d){var h=[],p=!0,g=!1,m=void 0;try{for(var _=c[Symbol.iterator](),E;!(p=(E=_.next()).done)&&(h.push(E.value),!(d&&h.length===d));p=!0);}catch(w){g=!0,m=w}finally{try{!p&&_.return&&_.return()}finally{if(g)throw m}}return h}return function(c,d){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return s(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function n(s){return s&&s.__esModule?s:{default:s}}function i(s){if(Array.isArray(s)){for(var c=0,d=Array(s.length);c<s.length;c++)d[c]=s[c];return d}else return Array.from(s)}var a=I4e(),o=n(a),l=function(c){return c};t.default=function(s){var c=Array.isArray(s)&&s.length===2?s:[s,null],d=r(c,2),h=d[0],p=d[1];return function(g){for(var m=arguments.length,_=Array(m>1?m-1:0),E=1;E<m;E++)_[E-1]=arguments[E];var w=_.map(function(b){return h[b]}).filter(l);return typeof w[0]=="string"||typeof p=="function"?{key:g,className:p?p.apply(void 0,i(w)):w.join(" ")}:{key:g,style:o.default.apply(void 0,[{}].concat(i(w)))}}},e.exports=t.default})(qg,qg.exports)),qg.exports}var Hx={},Bx={},CQ;function Z3(){return CQ||(CQ=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),l=Object.keys(i);if(o.length!==l.length)return!0;var s={},c,d;for(c=0,d=a.length;c<d;c++)s[a[c]]=!0;for(c=0,d=o.length;c<d;c++){var h=o[c],p=n[h],g=i[h];if(p!==g){if(!s[h]||p===null||g===null||t(p)!=="object"||t(g)!=="object")return!0;var m=Object.keys(p),_=Object.keys(g);if(m.length!==_.length)return!0;for(var E=0,w=m.length;E<w;E++){var b=m[E];if(p[b]!==g[b])return!0}}}return!1}})(Bx)),Bx}var TQ;function k4e(){return TQ||(TQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o($o()),r=i(Af()),n=i(Z3());function i(T){return T&&T.__esModule?T:{default:T}}function a(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return a=function(){return T},T}function o(T){if(T&&T.__esModule)return T;if(T===null||l(T)!=="object"&&typeof T!="function")return{default:T};var A=a();if(A&&A.has(T))return A.get(T);var O={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in T)if(Object.prototype.hasOwnProperty.call(T,P)){var D=y?Object.getOwnPropertyDescriptor(T,P):null;D&&(D.get||D.set)?Object.defineProperty(O,P,D):O[P]=T[P]}return O.default=T,A&&A.set(T,O),O}function l(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(O){return typeof O}:l=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},l(T)}function s(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function c(T,A){for(var O=0;O<A.length;O++){var y=A[O];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(T,y.key,y)}}function d(T,A,O){return A&&c(T.prototype,A),T}function h(T){return function(){var A=_(T),O;if(m()){var y=_(this).constructor;O=Reflect.construct(A,arguments,y)}else O=A.apply(this,arguments);return p(this,O)}}function p(T,A){return A&&(l(A)==="object"||typeof A=="function")?A:g(T)}function g(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function m(){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 _(T){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},_(T)}function E(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),A&&w(T,A)}function w(T,A){return w=Object.setPrototypeOf||function(y,P){return y.__proto__=P,y},w(T,A)}function b(T,A,O){return A in T?Object.defineProperty(T,A,{value:O,enumerable:!0,configurable:!0,writable:!0}):T[A]=O,T}var x=(function(T){E(O,T);var A=h(O);function O(){return s(this,O),A.apply(this,arguments)}return d(O,[{key:"shouldComponentUpdate",value:function(P){return(0,n.default)(P,this.props)}},{key:"render",value:function(){var P=this.props,D=P.section,V=P.renderSectionTitle,F=P.theme,B=P.sectionKeyPrefix,K=V(D);return K?t.default.createElement("div",F("".concat(B,"title"),"sectionTitle"),K):null}}]),O})(t.Component);e.default=x,b(x,"propTypes",{section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired})})(Hx)),Hx}var zx={},Wx={},AQ;function D4e(){return AQ||(AQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o($o()),r=i(Af()),n=i(Z3());function i(D){return D&&D.__esModule?D:{default:D}}function a(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return a=function(){return D},D}function o(D){if(D&&D.__esModule)return D;if(D===null||l(D)!=="object"&&typeof D!="function")return{default:D};var V=a();if(V&&V.has(D))return V.get(D);var F={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in D)if(Object.prototype.hasOwnProperty.call(D,K)){var Q=B?Object.getOwnPropertyDescriptor(D,K):null;Q&&(Q.get||Q.set)?Object.defineProperty(F,K,Q):F[K]=D[K]}return F.default=D,V&&V.set(D,F),F}function l(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(F){return typeof F}:l=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},l(D)}function s(){return s=Object.assign||function(D){for(var V=1;V<arguments.length;V++){var F=arguments[V];for(var B in F)Object.prototype.hasOwnProperty.call(F,B)&&(D[B]=F[B])}return D},s.apply(this,arguments)}function c(D,V){var F=Object.keys(D);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(D);V&&(B=B.filter(function(K){return Object.getOwnPropertyDescriptor(D,K).enumerable})),F.push.apply(F,B)}return F}function d(D){for(var V=1;V<arguments.length;V++){var F=arguments[V]!=null?arguments[V]:{};V%2?c(Object(F),!0).forEach(function(B){y(D,B,F[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(F)):c(Object(F)).forEach(function(B){Object.defineProperty(D,B,Object.getOwnPropertyDescriptor(F,B))})}return D}function h(D,V){if(D==null)return{};var F=p(D,V),B,K;if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(D);for(K=0;K<Q.length;K++)B=Q[K],!(V.indexOf(B)>=0)&&Object.prototype.propertyIsEnumerable.call(D,B)&&(F[B]=D[B])}return F}function p(D,V){if(D==null)return{};var F={},B=Object.keys(D),K,Q;for(Q=0;Q<B.length;Q++)K=B[Q],!(V.indexOf(K)>=0)&&(F[K]=D[K]);return F}function g(D,V){if(!(D instanceof V))throw new TypeError("Cannot call a class as a function")}function m(D,V){for(var F=0;F<V.length;F++){var B=V[F];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(D,B.key,B)}}function _(D,V,F){return V&&m(D.prototype,V),D}function E(D){return function(){var V=T(D),F;if(x()){var B=T(this).constructor;F=Reflect.construct(V,arguments,B)}else F=V.apply(this,arguments);return w(this,F)}}function w(D,V){return V&&(l(V)==="object"||typeof V=="function")?V:b(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}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 T(D){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},T(D)}function A(D,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(V&&V.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),V&&O(D,V)}function O(D,V){return O=Object.setPrototypeOf||function(B,K){return B.__proto__=K,B},O(D,V)}function y(D,V,F){return V in D?Object.defineProperty(D,V,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[V]=F,D}var P=(function(D){A(F,D);var V=E(F);function F(){var B;g(this,F);for(var K=arguments.length,Q=new Array(K),X=0;X<K;X++)Q[X]=arguments[X];return B=V.call.apply(V,[this].concat(Q)),y(b(B),"storeItemReference",function(te){te!==null&&(B.item=te)}),y(b(B),"onMouseEnter",function(te){var ue=B.props,L=ue.sectionIndex,I=ue.itemIndex;B.props.onMouseEnter(te,{sectionIndex:L,itemIndex:I})}),y(b(B),"onMouseLeave",function(te){var ue=B.props,L=ue.sectionIndex,I=ue.itemIndex;B.props.onMouseLeave(te,{sectionIndex:L,itemIndex:I})}),y(b(B),"onMouseDown",function(te){var ue=B.props,L=ue.sectionIndex,I=ue.itemIndex;B.props.onMouseDown(te,{sectionIndex:L,itemIndex:I})}),y(b(B),"onClick",function(te){var ue=B.props,L=ue.sectionIndex,I=ue.itemIndex;B.props.onClick(te,{sectionIndex:L,itemIndex:I})}),B}return _(F,[{key:"shouldComponentUpdate",value:function(K){return(0,n.default)(K,this.props,["renderItemData"])}},{key:"render",value:function(){var K=this.props,Q=K.isHighlighted,X=K.item,te=K.renderItem,ue=K.renderItemData,L=h(K,["isHighlighted","item","renderItem","renderItemData"]);return delete L.sectionIndex,delete L.itemIndex,typeof L.onMouseEnter=="function"&&(L.onMouseEnter=this.onMouseEnter),typeof L.onMouseLeave=="function"&&(L.onMouseLeave=this.onMouseLeave),typeof L.onMouseDown=="function"&&(L.onMouseDown=this.onMouseDown),typeof L.onClick=="function"&&(L.onClick=this.onClick),t.default.createElement("li",s({role:"option"},L,{ref:this.storeItemReference}),te(X,d({isHighlighted:Q},ue)))}}]),F})(t.Component);e.default=P,y(P,"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})})(Wx)),Wx}var RQ;function L4e(){return RQ||(RQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l($o()),r=a(Af()),n=a(D4e()),i=a(Z3());function a(P){return P&&P.__esModule?P:{default:P}}function o(){if(typeof WeakMap!="function")return null;var P=new WeakMap;return o=function(){return P},P}function l(P){if(P&&P.__esModule)return P;if(P===null||s(P)!=="object"&&typeof P!="function")return{default:P};var D=o();if(D&&D.has(P))return D.get(P);var V={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in P)if(Object.prototype.hasOwnProperty.call(P,B)){var K=F?Object.getOwnPropertyDescriptor(P,B):null;K&&(K.get||K.set)?Object.defineProperty(V,B,K):V[B]=P[B]}return V.default=P,D&&D.set(P,V),V}function s(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(V){return typeof V}:s=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},s(P)}function c(){return c=Object.assign||function(P){for(var D=1;D<arguments.length;D++){var V=arguments[D];for(var F in V)Object.prototype.hasOwnProperty.call(V,F)&&(P[F]=V[F])}return P},c.apply(this,arguments)}function d(P,D){var V=Object.keys(P);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(P);D&&(F=F.filter(function(B){return Object.getOwnPropertyDescriptor(P,B).enumerable})),V.push.apply(V,F)}return V}function h(P){for(var D=1;D<arguments.length;D++){var V=arguments[D]!=null?arguments[D]:{};D%2?d(Object(V),!0).forEach(function(F){O(P,F,V[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(V)):d(Object(V)).forEach(function(F){Object.defineProperty(P,F,Object.getOwnPropertyDescriptor(V,F))})}return P}function p(P,D){if(!(P instanceof D))throw new TypeError("Cannot call a class as a function")}function g(P,D){for(var V=0;V<D.length;V++){var F=D[V];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(P,F.key,F)}}function m(P,D,V){return D&&g(P.prototype,D),P}function _(P){return function(){var D=x(P),V;if(b()){var F=x(this).constructor;V=Reflect.construct(D,arguments,F)}else V=D.apply(this,arguments);return E(this,V)}}function E(P,D){return D&&(s(D)==="object"||typeof D=="function")?D:w(P)}function w(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}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 x(P){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(V){return V.__proto__||Object.getPrototypeOf(V)},x(P)}function T(P,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(D&&D.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),D&&A(P,D)}function A(P,D){return A=Object.setPrototypeOf||function(F,B){return F.__proto__=B,F},A(P,D)}function O(P,D,V){return D in P?Object.defineProperty(P,D,{value:V,enumerable:!0,configurable:!0,writable:!0}):P[D]=V,P}var y=(function(P){T(V,P);var D=_(V);function V(){var F;p(this,V);for(var B=arguments.length,K=new Array(B),Q=0;Q<B;Q++)K[Q]=arguments[Q];return F=D.call.apply(D,[this].concat(K)),O(w(F),"storeHighlightedItemReference",function(X){F.props.onHighlightedItemChange(X===null?null:X.item)}),F}return m(V,[{key:"shouldComponentUpdate",value:function(B){return(0,i.default)(B,this.props,["itemProps"])}},{key:"render",value:function(){var B=this,K=this.props,Q=K.items,X=K.itemProps,te=K.renderItem,ue=K.renderItemData,L=K.sectionIndex,I=K.highlightedItemIndex,N=K.getItemId,re=K.theme,ee=K.keyPrefix,ce=L===null?ee:"".concat(ee,"section-").concat(L,"-"),be=typeof X=="function";return t.default.createElement("ul",c({role:"listbox"},re("".concat(ce,"items-list"),"itemsList")),Q.map(function(Ie,je){var z=je===0,k=je===I,U="".concat(ce,"item-").concat(je),H=be?X({sectionIndex:L,itemIndex:je}):X,ne=h({id:N(L,je),"aria-selected":k},re(U,"item",z&&"itemFirst",k&&"itemHighlighted"),{},H);return k&&(ne.ref=B.storeHighlightedItemReference),t.default.createElement(n.default,c({},ne,{sectionIndex:L,isHighlighted:k,itemIndex:je,item:Ie,renderItem:te,renderItemData:ue}))}))}}]),V})(t.Component);e.default=y,O(y,"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(y,"defaultProps",{sectionIndex:null})})(zx)),zx}var xQ;function N4e(){return xQ||(xQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c($o()),r=l(Af()),n=l(O4e()),i=l(P4e()),a=l(k4e()),o=l(L4e());function l(I){return I&&I.__esModule?I:{default:I}}function s(){if(typeof WeakMap!="function")return null;var I=new WeakMap;return s=function(){return I},I}function c(I){if(I&&I.__esModule)return I;if(I===null||b(I)!=="object"&&typeof I!="function")return{default:I};var N=s();if(N&&N.has(I))return N.get(I);var re={},ee=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ce in I)if(Object.prototype.hasOwnProperty.call(I,ce)){var be=ee?Object.getOwnPropertyDescriptor(I,ce):null;be&&(be.get||be.set)?Object.defineProperty(re,ce,be):re[ce]=I[ce]}return re.default=I,N&&N.set(I,re),re}function d(I,N){var re=Object.keys(I);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(I);N&&(ee=ee.filter(function(ce){return Object.getOwnPropertyDescriptor(I,ce).enumerable})),re.push.apply(re,ee)}return re}function h(I){for(var N=1;N<arguments.length;N++){var re=arguments[N]!=null?arguments[N]:{};N%2?d(Object(re),!0).forEach(function(ee){K(I,ee,re[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(re)):d(Object(re)).forEach(function(ee){Object.defineProperty(I,ee,Object.getOwnPropertyDescriptor(re,ee))})}return I}function p(I,N){return w(I)||E(I,N)||m(I,N)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
157
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(I,N){if(I){if(typeof I=="string")return _(I,N);var re=Object.prototype.toString.call(I).slice(8,-1);if(re==="Object"&&I.constructor&&(re=I.constructor.name),re==="Map"||re==="Set")return Array.from(re);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return _(I,N)}}function _(I,N){(N==null||N>I.length)&&(N=I.length);for(var re=0,ee=new Array(N);re<N;re++)ee[re]=I[re];return ee}function E(I,N){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var re=[],ee=!0,ce=!1,be=void 0;try{for(var Ie=I[Symbol.iterator](),je;!(ee=(je=Ie.next()).done)&&(re.push(je.value),!(N&&re.length===N));ee=!0);}catch(z){ce=!0,be=z}finally{try{!ee&&Ie.return!=null&&Ie.return()}finally{if(ce)throw be}}return re}}function w(I){if(Array.isArray(I))return I}function b(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(re){return typeof re}:b=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},b(I)}function x(I,N){if(!(I instanceof N))throw new TypeError("Cannot call a class as a function")}function T(I,N){for(var re=0;re<N.length;re++){var ee=N[re];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(I,ee.key,ee)}}function A(I,N,re){return N&&T(I.prototype,N),I}function O(I){return function(){var N=V(I),re;if(D()){var ee=V(this).constructor;re=Reflect.construct(N,arguments,ee)}else re=N.apply(this,arguments);return y(this,re)}}function y(I,N){return N&&(b(N)==="object"||typeof N=="function")?N:P(I)}function P(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function D(){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 V(I){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(re){return re.__proto__||Object.getPrototypeOf(re)},V(I)}function F(I,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(N&&N.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),N&&B(I,N)}function B(I,N){return B=Object.setPrototypeOf||function(ee,ce){return ee.__proto__=ce,ee},B(I,N)}function K(I,N,re){return N in I?Object.defineProperty(I,N,{value:re,enumerable:!0,configurable:!0,writable:!0}):I[N]=re,I}var Q={},X=function(N){return t.default.createElement("input",N)},te=function(N){var re=N.containerProps,ee=N.children;return t.default.createElement("div",re,ee)},ue={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"},L=(function(I){F(re,I);var N=O(re);function re(ee){var ce;return x(this,re),ce=N.call(this,ee),K(P(ce),"storeInputReference",function(be){be!==null&&(ce.input=be);var Ie=ce.props.inputProps.ref;Ie&&(typeof Ie=="function"?Ie(be):b(Ie)==="object"&&Object.prototype.hasOwnProperty.call(Ie,"current")&&(Ie.current=be))}),K(P(ce),"storeItemsContainerReference",function(be){be!==null&&(ce.itemsContainer=be)}),K(P(ce),"onHighlightedItemChange",function(be){ce.highlightedItem=be}),K(P(ce),"getItemId",function(be,Ie){if(Ie===null)return null;var je=ce.props.id,z=be===null?"":"section-".concat(be);return"react-autowhatever-".concat(je,"-").concat(z,"-item-").concat(Ie)}),K(P(ce),"onFocus",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!0}),Ie.onFocus&&Ie.onFocus(be)}),K(P(ce),"onBlur",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!1}),Ie.onBlur&&Ie.onBlur(be)}),K(P(ce),"onKeyDown",function(be){var Ie=ce.props,je=Ie.inputProps,z=Ie.highlightedSectionIndex,k=Ie.highlightedItemIndex,U=be.keyCode;switch(U){case 40:case 38:{var H=U===40?"next":"prev",ne=ce.sectionIterator[H]([z,k]),q=p(ne,2),J=q[0],me=q[1];je.onKeyDown(be,{newHighlightedSectionIndex:J,newHighlightedItemIndex:me});break}default:je.onKeyDown(be,{highlightedSectionIndex:z,highlightedItemIndex:k})}}),ce.highlightedItem=null,ce.state={isInputFocused:!1},ce.setSectionsItems(ee),ce.setSectionIterator(ee),ce.setTheme(ee),ce}return A(re,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(ce){ce.items!==this.props.items&&this.setSectionsItems(ce),(ce.items!==this.props.items||ce.multiSection!==this.props.multiSection)&&this.setSectionIterator(ce),ce.theme!==this.props.theme&&this.setTheme(ce)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(ce){ce.multiSection&&(this.sectionsItems=ce.items.map(function(be){return ce.getSectionItems(be)}),this.sectionsLengths=this.sectionsItems.map(function(be){return be.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(be){return be===0}))}},{key:"setSectionIterator",value:function(ce){this.sectionIterator=(0,n.default)({multiSection:ce.multiSection,data:ce.multiSection?this.sectionsLengths:ce.items.length})}},{key:"setTheme",value:function(ce){this.theme=(0,i.default)(ce.theme)}},{key:"renderSections",value:function(){var ce=this;if(this.allSectionsAreEmpty)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.items,k=Ie.renderItem,U=Ie.renderItemData,H=Ie.renderSectionTitle,ne=Ie.highlightedSectionIndex,q=Ie.highlightedItemIndex,J=Ie.itemProps;return z.map(function(me,fe){var Te="react-autowhatever-".concat(je,"-"),Se="".concat(Te,"section-").concat(fe,"-"),Oe=fe===0;return t.default.createElement("div",be("".concat(Se,"container"),"sectionContainer",Oe&&"sectionContainerFirst"),t.default.createElement(a.default,{section:me,renderSectionTitle:H,theme:be,sectionKeyPrefix:Se}),t.default.createElement(o.default,{items:ce.sectionsItems[fe],itemProps:J,renderItem:k,renderItemData:U,sectionIndex:fe,highlightedItemIndex:ne===fe?q:null,onHighlightedItemChange:ce.onHighlightedItemChange,getItemId:ce.getItemId,theme:be,keyPrefix:Te,ref:ce.storeItemsListReference}))})}},{key:"renderItems",value:function(){var ce=this.props.items;if(ce.length===0)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.renderItem,k=Ie.renderItemData,U=Ie.highlightedSectionIndex,H=Ie.highlightedItemIndex,ne=Ie.itemProps;return t.default.createElement(o.default,{items:ce,itemProps:ne,renderItem:z,renderItemData:k,highlightedItemIndex:U===null?H:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:be,keyPrefix:"react-autowhatever-".concat(je,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var ce=this.highlightedItem;if(ce){var be=this.itemsContainer,Ie=ce.offsetParent===be?ce.offsetTop:ce.offsetTop-be.offsetTop,je=be.scrollTop;Ie<je?je=Ie:Ie+ce.offsetHeight>je+be.offsetHeight&&(je=Ie+ce.offsetHeight-be.offsetHeight),je!==be.scrollTop&&(be.scrollTop=je)}}},{key:"render",value:function(){var ce=this.theme,be=this.props,Ie=be.id,je=be.multiSection,z=be.renderInputComponent,k=be.renderItemsContainer,U=be.highlightedSectionIndex,H=be.highlightedItemIndex,ne=this.state.isInputFocused,q=je?this.renderSections():this.renderItems(),J=q!==null,me=this.getItemId(U,H),fe="react-autowhatever-".concat(Ie),Te=h({role:"combobox","aria-haspopup":"listbox","aria-owns":fe,"aria-expanded":J},ce("react-autowhatever-".concat(Ie,"-container"),"container",J&&"containerOpen"),{},this.props.containerProps),Se=z(h({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":fe,"aria-activedescendant":me},ce("react-autowhatever-".concat(Ie,"-input"),"input",J&&"inputOpen",ne&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),Oe=k({containerProps:h({id:fe,role:"listbox"},ce("react-autowhatever-".concat(Ie,"-items-container"),"itemsContainer",J&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:q});return t.default.createElement("div",Te,Se,Oe)}}]),re})(t.Component);e.default=L,K(L,"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(L,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:X,renderItemsContainer:te,renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:Q,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:Q,inputProps:Q,itemProps:Q,highlightedSectionIndex:null,highlightedItemIndex:null,theme:ue})})(Ux)),Ux}var Cc={},OQ;function M4e(){if(OQ)return Cc;OQ=1,Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.mapToAutowhateverTheme=Cc.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"};Cc.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 Cc.mapToAutowhateverTheme=t,Cc}var IQ;function $4e(){return IQ||(IQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s($o()),r=o(Af()),n=o(x4e()),i=o(N4e()),a=M4e();function o(L){return L&&L.__esModule?L:{default:L}}function l(){if(typeof WeakMap!="function")return null;var L=new WeakMap;return l=function(){return L},L}function s(L){if(L&&L.__esModule)return L;if(L===null||c(L)!=="object"&&typeof L!="function")return{default:L};var I=l();if(I&&I.has(L))return I.get(L);var N={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in L)if(Object.prototype.hasOwnProperty.call(L,ee)){var ce=re?Object.getOwnPropertyDescriptor(L,ee):null;ce&&(ce.get||ce.set)?Object.defineProperty(N,ee,ce):N[ee]=L[ee]}return N.default=L,I&&I.set(L,N),N}function c(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(N){return typeof N}:c=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},c(L)}function d(L,I){var N=Object.keys(L);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(L);I&&(re=re.filter(function(ee){return Object.getOwnPropertyDescriptor(L,ee).enumerable})),N.push.apply(N,re)}return N}function h(L){for(var I=1;I<arguments.length;I++){var N=arguments[I]!=null?arguments[I]:{};I%2?d(Object(N),!0).forEach(function(re){O(L,re,N[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(N)):d(Object(N)).forEach(function(re){Object.defineProperty(L,re,Object.getOwnPropertyDescriptor(N,re))})}return L}function p(L,I){if(!(L instanceof I))throw new TypeError("Cannot call a class as a function")}function g(L,I){for(var N=0;N<I.length;N++){var re=I[N];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(L,re.key,re)}}function m(L,I,N){return I&&g(L.prototype,I),L}function _(L){return function(){var I=x(L),N;if(b()){var re=x(this).constructor;N=Reflect.construct(I,arguments,re)}else N=I.apply(this,arguments);return E(this,N)}}function E(L,I){return I&&(c(I)==="object"||typeof I=="function")?I:w(L)}function w(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}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 x(L){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},x(L)}function T(L,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(I&&I.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),I&&A(L,I)}function A(L,I){return A=Object.setPrototypeOf||function(re,ee){return re.__proto__=ee,re},A(L,I)}function O(L,I,N){return I in L?Object.defineProperty(L,I,{value:N,enumerable:!0,configurable:!0,writable:!0}):L[I]=N,L}var y=function(){return!0},P=function(I){return I.trim().length>0},D=function(I){var N=I.containerProps,re=I.children;return t.default.createElement("div",N,re)},V="suggestions-revealed",F="suggestions-updated",B="suggestion-selected",K="input-focused",Q="input-changed",X="input-blurred",te="escape-pressed",ue=(function(L){T(N,L);var I=_(N);function N(re){var ee,ce=re.alwaysRenderSuggestions;return p(this,N),ee=I.call(this),O(w(ee),"onDocumentMouseDown",function(be){ee.justClickedOnSuggestionsContainer=!1;for(var Ie=be.detail&&be.detail.target||be.target;Ie!==null&&Ie!==document;){if(Ie.getAttribute&&Ie.getAttribute("data-suggestion-index")!==null)return;if(Ie===ee.suggestionsContainer){ee.justClickedOnSuggestionsContainer=!0;return}Ie=Ie.parentNode}}),O(w(ee),"storeAutowhateverRef",function(be){be!==null&&(ee.autowhatever=be)}),O(w(ee),"onSuggestionMouseEnter",function(be,Ie){var je=Ie.sectionIndex,z=Ie.itemIndex;ee.updateHighlightedSuggestion(je,z),be.target===ee.pressedSuggestion&&(ee.justSelectedSuggestion=!0),ee.justMouseEntered=!0,setTimeout(function(){ee.justMouseEntered=!1})}),O(w(ee),"highlightFirstSuggestion",function(){ee.updateHighlightedSuggestion(ee.props.multiSection?0:null,0)}),O(w(ee),"onDocumentMouseUp",function(){ee.pressedSuggestion&&!ee.justSelectedSuggestion&&ee.input.focus(),ee.pressedSuggestion=null}),O(w(ee),"onSuggestionMouseDown",function(be){ee.justSelectedSuggestion||(ee.justSelectedSuggestion=!0,ee.pressedSuggestion=be.target)}),O(w(ee),"onSuggestionsClearRequested",function(){var be=ee.props.onSuggestionsClearRequested;be&&be()}),O(w(ee),"onSuggestionSelected",function(be,Ie){var je=ee.props,z=je.alwaysRenderSuggestions,k=je.onSuggestionSelected,U=je.onSuggestionsFetchRequested;k&&k(be,Ie);var H=ee.props.shouldKeepSuggestionsOnSelect(Ie.suggestion);z||H?U({value:Ie.suggestionValue,reason:B}):ee.onSuggestionsClearRequested(),ee.resetHighlightedSuggestion()}),O(w(ee),"onSuggestionClick",function(be){var Ie=ee.props,je=Ie.alwaysRenderSuggestions,z=Ie.focusInputOnSuggestionClick,k=ee.getSuggestionIndices(ee.findSuggestionElement(be.target)),U=k.sectionIndex,H=k.suggestionIndex,ne=ee.getSuggestion(U,H),q=ee.props.getSuggestionValue(ne);ee.maybeCallOnChange(be,q,"click"),ee.onSuggestionSelected(be,{suggestion:ne,suggestionValue:q,suggestionIndex:H,sectionIndex:U,method:"click"});var J=ee.props.shouldKeepSuggestionsOnSelect(ne);je||J||ee.closeSuggestions(),z===!0?ee.input.focus():ee.onBlur(),setTimeout(function(){ee.justSelectedSuggestion=!1})}),O(w(ee),"onBlur",function(){var be=ee.props,Ie=be.inputProps,je=be.shouldRenderSuggestions,z=Ie.value,k=Ie.onBlur,U=ee.getHighlightedSuggestion(),H=je(z,X);ee.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!H}),k&&k(ee.blurEvent,{highlightedSuggestion:U})}),O(w(ee),"onSuggestionMouseLeave",function(be){ee.resetHighlightedSuggestion(!1),ee.justSelectedSuggestion&&be.target===ee.pressedSuggestion&&(ee.justSelectedSuggestion=!1)}),O(w(ee),"onSuggestionTouchStart",function(){ee.justSelectedSuggestion=!0}),O(w(ee),"onSuggestionTouchMove",function(){ee.justSelectedSuggestion=!1,ee.pressedSuggestion=null,ee.input.focus()}),O(w(ee),"itemProps",function(be){var Ie=be.sectionIndex,je=be.itemIndex;return{"data-section-index":Ie,"data-suggestion-index":je,onMouseEnter:ee.onSuggestionMouseEnter,onMouseLeave:ee.onSuggestionMouseLeave,onMouseDown:ee.onSuggestionMouseDown,onTouchStart:ee.onSuggestionTouchStart,onTouchMove:ee.onSuggestionTouchMove,onClick:ee.onSuggestionClick}}),O(w(ee),"renderSuggestionsContainer",function(be){var Ie=be.containerProps,je=be.children,z=ee.props.renderSuggestionsContainer;return z({containerProps:Ie,children:je,query:ee.getQuery()})}),ee.state={isFocused:!1,isCollapsed:!ce,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},ee.justPressedUpDown=!1,ee.justMouseEntered=!1,ee.pressedSuggestion=null,ee}return m(N,[{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(ee){var ce=this.state.highlightedSuggestionIndex===0&&this.props.highlightFirstSuggestion&&!ee.highlightFirstSuggestion;(0,n.default)(ee.suggestions,this.props.suggestions)?ee.highlightFirstSuggestion&&ee.suggestions.length>0&&this.justPressedUpDown===!1&&this.justMouseEntered===!1?this.highlightFirstSuggestion():ce&&this.resetHighlightedSuggestion():this.willRenderSuggestions(ee,F)?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),ce&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(ee,ce){var be=this.props,Ie=be.suggestions,je=be.onSuggestionHighlighted,z=be.highlightFirstSuggestion;if(!(0,n.default)(Ie,ee.suggestions)&&Ie.length>0&&z){this.highlightFirstSuggestion();return}if(je){var k=this.getHighlightedSuggestion(),U=ce.highlightedSuggestion;k!=U&&je({suggestion:k})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(ee,ce,be){var Ie=this;this.setState(function(je){var z=je.valueBeforeUpDown;return ce===null?z=null:z===null&&typeof be<"u"&&(z=be),{highlightedSectionIndex:ee,highlightedSuggestionIndex:ce,highlightedSuggestion:ce===null?null:Ie.getSuggestion(ee,ce),valueBeforeUpDown:z}})}},{key:"resetHighlightedSuggestion",value:function(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setState(function(ce){var be=ce.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:ee?null:be}})}},{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(ee,ce){var be=this.props,Ie=be.suggestions,je=be.multiSection,z=be.getSectionSuggestions;return je?z(Ie[ee])[ce]:Ie[ce]}},{key:"getHighlightedSuggestion",value:function(){var ee=this.state,ce=ee.highlightedSectionIndex,be=ee.highlightedSuggestionIndex;return be===null?null:this.getSuggestion(ce,be)}},{key:"getSuggestionValueByIndex",value:function(ee,ce){var be=this.props.getSuggestionValue;return be(this.getSuggestion(ee,ce))}},{key:"getSuggestionIndices",value:function(ee){var ce=ee.getAttribute("data-section-index"),be=ee.getAttribute("data-suggestion-index");return{sectionIndex:typeof ce=="string"?parseInt(ce,10):null,suggestionIndex:parseInt(be,10)}}},{key:"findSuggestionElement",value:function(ee){var ce=ee;do{if(ce.getAttribute&&ce.getAttribute("data-suggestion-index")!==null)return ce;ce=ce.parentNode}while(ce!==null);throw console.error("Clicked element:",ee),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(ee,ce,be){var Ie=this.props.inputProps,je=Ie.value,z=Ie.onChange;ce!==je&&z(ee,{newValue:ce,method:be})}},{key:"willRenderSuggestions",value:function(ee,ce){var be=ee.suggestions,Ie=ee.inputProps,je=ee.shouldRenderSuggestions,z=Ie.value;return be.length>0&&je(z,ce)}},{key:"getQuery",value:function(){var ee=this.props.inputProps,ce=ee.value,be=this.state.valueBeforeUpDown;return(be===null?ce:be).trim()}},{key:"render",value:function(){var ee=this,ce=this.props,be=ce.suggestions,Ie=ce.renderInputComponent,je=ce.onSuggestionsFetchRequested,z=ce.renderSuggestion,k=ce.inputProps,U=ce.multiSection,H=ce.renderSectionTitle,ne=ce.id,q=ce.getSectionSuggestions,J=ce.theme,me=ce.getSuggestionValue,fe=ce.alwaysRenderSuggestions,Te=ce.highlightFirstSuggestion,Se=ce.containerProps,Oe=this.state,Me=Oe.isFocused,de=Oe.isCollapsed,Ee=Oe.highlightedSectionIndex,_e=Oe.highlightedSuggestionIndex,Ae=Oe.valueBeforeUpDown,De=fe?y:this.props.shouldRenderSuggestions,Ne=k.value,Be=k.onFocus,_t=k.onKeyDown,Ut=this.willRenderSuggestions(this.props,"render"),Mt=fe||Me&&!de&&Ut,Qe=Mt?be:[],bt=h({},k,{onFocus:function(yt){if(!ee.justSelectedSuggestion&&!ee.justClickedOnSuggestionsContainer){var at=De(Ne,K);ee.setState({isFocused:!0,isCollapsed:!at}),Be&&Be(yt),at&&je({value:Ne,reason:K})}},onBlur:function(yt){if(ee.justClickedOnSuggestionsContainer){ee.input.focus();return}ee.blurEvent=yt,ee.justSelectedSuggestion||(ee.onBlur(),ee.onSuggestionsClearRequested())},onChange:function(yt){var at=yt.target.value,Ft=De(at,Q);ee.maybeCallOnChange(yt,at,"type"),ee.suggestionsContainer&&(ee.suggestionsContainer.scrollTop=0),ee.setState(h({},Te?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!Ft})),Ft?je({value:at,reason:Q}):ee.onSuggestionsClearRequested()},onKeyDown:function(yt,at){var Ft=yt.keyCode;switch(Ft){case 40:case 38:if(de)De(Ne,V)&&(je({value:Ne,reason:V}),ee.revealSuggestions(),yt.preventDefault());else if(be.length>0){var At=at.newHighlightedSectionIndex,Re=at.newHighlightedItemIndex,Je;Re===null?Je=Ae===null?Ne:Ae:Je=ee.getSuggestionValueByIndex(At,Re),ee.updateHighlightedSuggestion(At,Re,Ne),ee.maybeCallOnChange(yt,Je,Ft===40?"down":"up"),yt.preventDefault()}ee.justPressedUpDown=!0,setTimeout(function(){ee.justPressedUpDown=!1});break;case 13:{if(yt.keyCode===229)break;var ut=ee.getHighlightedSuggestion();if(Mt&&!fe&&ee.closeSuggestions(),ut!=null){yt.preventDefault();var Ct=me(ut);ee.maybeCallOnChange(yt,Ct,"enter"),ee.onSuggestionSelected(yt,{suggestion:ut,suggestionValue:Ct,suggestionIndex:_e,sectionIndex:Ee,method:"enter"}),ee.justSelectedSuggestion=!0,setTimeout(function(){ee.justSelectedSuggestion=!1})}break}case 27:{Mt&&yt.preventDefault();var kt=Mt&&!fe;if(Ae===null){if(!kt){var rr="";ee.maybeCallOnChange(yt,rr,"escape"),De(rr,te)?je({value:rr,reason:te}):ee.onSuggestionsClearRequested()}}else ee.maybeCallOnChange(yt,Ae,"escape");kt?(ee.onSuggestionsClearRequested(),ee.closeSuggestions()):ee.resetHighlightedSuggestion();break}}_t&&_t(yt)}}),mt={query:this.getQuery()};return t.default.createElement(i.default,{multiSection:U,items:Qe,renderInputComponent:Ie,renderItemsContainer:this.renderSuggestionsContainer,renderItem:z,renderItemData:mt,renderSectionTitle:H,getSectionItems:q,highlightedSectionIndex:Ee,highlightedItemIndex:_e,containerProps:Se,inputProps:bt,itemProps:this.itemProps,theme:(0,a.mapToAutowhateverTheme)(J),id:ne,ref:this.storeAutowhateverRef})}}]),N})(t.Component);e.default=ue,O(ue,"propTypes",{suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(I,N){var re=I[N];if(typeof re!="function")throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(I,N){var re=I[N];if(I.alwaysRenderSuggestions===!1&&typeof re!="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(I,N){var re=I[N];if(!re)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(re,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(re,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(I,N){var re=I[N];if(I.multiSection===!0&&typeof re!="function")throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(I,N){var re=I[N];if(I.multiSection===!0&&typeof re!="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(ue,"defaultProps",{renderSuggestionsContainer:D,shouldRenderSuggestions:P,alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:a.defaultTheme,id:"1",containerProps:{}})})(Fx)),Fx}var Gx,PQ;function F4e(){return PQ||(PQ=1,Gx=$4e().default),Gx}var j4e=F4e();const U4e=Ln(j4e);var Kx={},Yx={},Qh={exports:{}},Oc={exports:{}},q4e=Oc.exports,kQ;function V4e(){return kQ||(kQ=1,(function(){var e,t,r,n,i,a;typeof performance<"u"&&performance!==null&&performance.now?Oc.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Oc.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?(Oc.exports=function(){return Date.now()-r},r=Date.now()):(Oc.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(q4e)),Oc.exports}var DQ;function H4e(){if(DQ)return Qh.exports;DQ=1;for(var e=V4e(),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 l=0,s=0,c=[],d=1e3/60;i=function(h){if(c.length===0){var p=e(),g=Math.max(0,d-(p-l));l=g+p,setTimeout(function(){var m=c.slice(0);c.length=0;for(var _=0;_<m.length;_++)if(!m[_].cancelled)try{m[_].callback(l)}catch(E){setTimeout(function(){throw E},0)}},Math.round(g))}return c.push({handle:++s,callback:h,cancelled:!1}),s},a=function(h){for(var p=0;p<c.length;p++)c[p].handle===h&&(c[p].cancelled=!0)}}return Qh.exports=function(h){return i.call(t,h)},Qh.exports.cancel=function(){a.apply(t,arguments)},Qh.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=i,h.cancelAnimationFrame=a},Qh.exports}var Zh={exports:{}},Xx,LQ;function B4e(){if(LQ)return Xx;LQ=1;var e=null,t=["Webkit","Moz","O","ms"];return Xx=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 l=t[o]+a;if(l in i)return l}return!1},Xx}var Qx,NQ;function z4e(){if(NQ)return Qx;NQ=1,Qx=n;var e=/\s/,t=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function n(s){return e.test(s)?s.toLowerCase():t.test(s)?(a(s)||s).toLowerCase():r.test(s)?l(s).toLowerCase():s.toLowerCase()}var i=/[\W_]+(.|$)/g;function a(s){return s.replace(i,function(c,d){return d?" "+d:""})}var o=/(.)([A-Z]+)/g;function l(s){return s.replace(o,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return Qx}var Zx,MQ;function W4e(){if(MQ)return Zx;MQ=1;var e=z4e();Zx=t;function t(r){return e(r).replace(/[\W_]+(.|$)/g,function(n,i){return i?" "+i:""}).trim()}return Zx}var Jx,$Q;function G4e(){if($Q)return Jx;$Q=1;var e=W4e();Jx=t;function t(r){return e(r).replace(/\s(\w)/g,function(n,i){return i.toUpperCase()})}return Jx}var eO,FQ;function K4e(){if(FQ)return eO;FQ=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 eO=function(t,r){return typeof r=="number"&&!e[t]?r+"px":r},eO}var jQ;function boe(){if(jQ)return Zh.exports;jQ=1;var e=B4e(),t=G4e(),r={float:"cssFloat"},n=K4e();function i(s,c,d){var h=r[c];if(typeof h>"u"&&(h=o(c)),h){if(d===void 0)return s.style[h];s.style[h]=n(h,d)}}function a(s,c){for(var d in c)c.hasOwnProperty(d)&&i(s,d,c[d])}function o(s){var c=t(s),d=e(c);return r[c]=r[s]=r[d]=d,d}function l(){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 Zh.exports=l,Zh.exports.set=l,Zh.exports.get=function(s,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=i(s,h||""),d},{}):i(s,c||"")},Zh.exports}var tO={},UQ;function Y4e(){return UQ||(UQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(tO)),tO}var rO={},qQ;function X4e(){return qQ||(qQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=boe(),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 l=document.createElement("div");(0,r.default)(l,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(l),i=l.offsetWidth-l.clientWidth,document.body.removeChild(l)}else i=0;return i||0}})(rO)),rO}var nO={},VQ;function Q4e(){return VQ||(VQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(nO)),nO}var iO={},HQ;function Z4e(){return HQ||(HQ=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)}})(iO)),iO}var aO={},BQ;function J4e(){return BQ||(BQ=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)}})(aO)),aO}var Eo={},zQ;function eDe(){return zQ||(zQ=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},Eo.containerStyleAutoHeight={height:"auto"},Eo.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},Eo.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},Eo.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},Eo.trackHorizontalStyleDefault={position:"absolute",height:6},Eo.trackVerticalStyleDefault={position:"absolute",width:6},Eo.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},Eo.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},Eo.disableSelectStyle={userSelect:"none"},Eo.disableSelectStyleReset={userSelect:""}),Eo}var Ol={},WQ;function tDe(){if(WQ)return Ol;WQ=1,Object.defineProperty(Ol,"__esModule",{value:!0});var e=Object.assign||function(d){for(var h=1;h<arguments.length;h++){var p=arguments[h];for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&(d[g]=p[g])}return d};Ol.renderViewDefault=a,Ol.renderTrackHorizontalDefault=o,Ol.renderTrackVerticalDefault=l,Ol.renderThumbHorizontalDefault=s,Ol.renderThumbVerticalDefault=c;var t=$o(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,h){var p={};for(var g in d)h.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(d,g)&&(p[g]=d[g]);return p}function a(d){return r.default.createElement("div",d)}function o(d){var h=d.style,p=i(d,["style"]),g=e({},h,{right:2,bottom:2,left:2,borderRadius:3});return r.default.createElement("div",e({style:g},p))}function l(d){var h=d.style,p=i(d,["style"]),g=e({},h,{right:2,bottom:2,top:2,borderRadius:3});return r.default.createElement("div",e({style:g},p))}function s(d){var h=d.style,p=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},p))}function c(d){var h=d.style,p=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},p))}return Ol}var GQ;function rDe(){return GQ||(GQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(B){for(var K=1;K<arguments.length;K++){var Q=arguments[K];for(var X in Q)Object.prototype.hasOwnProperty.call(Q,X)&&(B[X]=Q[X])}return B},r=(function(){function B(K,Q){for(var X=0;X<Q.length;X++){var te=Q[X];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(K,te.key,te)}}return function(K,Q,X){return Q&&B(K.prototype,Q),X&&B(K,X),K}})(),n=H4e(),i=O(n),a=boe(),o=O(a),l=$o(),s=Af(),c=O(s),d=Y4e(),h=O(d),p=X4e(),g=O(p),m=Q4e(),_=O(m),E=Z4e(),w=O(E),b=J4e(),x=O(b),T=eDe(),A=tDe();function O(B){return B&&B.__esModule?B:{default:B}}function y(B,K){var Q={};for(var X in B)K.indexOf(X)>=0||Object.prototype.hasOwnProperty.call(B,X)&&(Q[X]=B[X]);return Q}function P(B,K){if(!(B instanceof K))throw new TypeError("Cannot call a class as a function")}function D(B,K){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K&&(typeof K=="object"||typeof K=="function")?K:B}function V(B,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof K);B.prototype=Object.create(K&&K.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(B,K):B.__proto__=K)}var F=(function(B){V(K,B);function K(Q){var X;P(this,K);for(var te=arguments.length,ue=Array(te>1?te-1:0),L=1;L<te;L++)ue[L-1]=arguments[L];var I=D(this,(X=K.__proto__||Object.getPrototypeOf(K)).call.apply(X,[this,Q].concat(ue)));return I.getScrollLeft=I.getScrollLeft.bind(I),I.getScrollTop=I.getScrollTop.bind(I),I.getScrollWidth=I.getScrollWidth.bind(I),I.getScrollHeight=I.getScrollHeight.bind(I),I.getClientWidth=I.getClientWidth.bind(I),I.getClientHeight=I.getClientHeight.bind(I),I.getValues=I.getValues.bind(I),I.getThumbHorizontalWidth=I.getThumbHorizontalWidth.bind(I),I.getThumbVerticalHeight=I.getThumbVerticalHeight.bind(I),I.getScrollLeftForOffset=I.getScrollLeftForOffset.bind(I),I.getScrollTopForOffset=I.getScrollTopForOffset.bind(I),I.scrollLeft=I.scrollLeft.bind(I),I.scrollTop=I.scrollTop.bind(I),I.scrollToLeft=I.scrollToLeft.bind(I),I.scrollToTop=I.scrollToTop.bind(I),I.scrollToRight=I.scrollToRight.bind(I),I.scrollToBottom=I.scrollToBottom.bind(I),I.handleTrackMouseEnter=I.handleTrackMouseEnter.bind(I),I.handleTrackMouseLeave=I.handleTrackMouseLeave.bind(I),I.handleHorizontalTrackMouseDown=I.handleHorizontalTrackMouseDown.bind(I),I.handleVerticalTrackMouseDown=I.handleVerticalTrackMouseDown.bind(I),I.handleHorizontalThumbMouseDown=I.handleHorizontalThumbMouseDown.bind(I),I.handleVerticalThumbMouseDown=I.handleVerticalThumbMouseDown.bind(I),I.handleWindowResize=I.handleWindowResize.bind(I),I.handleScroll=I.handleScroll.bind(I),I.handleDrag=I.handleDrag.bind(I),I.handleDragEnd=I.handleDragEnd.bind(I),I.state={didMountUniversal:!1},I}return r(K,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var X=this.props.universal;X&&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 X=this.view||{},te=X.scrollLeft,ue=te===void 0?0:te,L=X.scrollTop,I=L===void 0?0:L,N=X.scrollWidth,re=N===void 0?0:N,ee=X.scrollHeight,ce=ee===void 0?0:ee,be=X.clientWidth,Ie=be===void 0?0:be,je=X.clientHeight,z=je===void 0?0:je;return{left:ue/(re-Ie)||0,top:I/(ce-z)||0,scrollLeft:ue,scrollTop:I,scrollWidth:re,scrollHeight:ce,clientWidth:Ie,clientHeight:z}}},{key:"getThumbHorizontalWidth",value:function(){var X=this.props,te=X.thumbSize,ue=X.thumbMinSize,L=this.view,I=L.scrollWidth,N=L.clientWidth,re=(0,w.default)(this.trackHorizontal),ee=Math.ceil(N/I*re);return re<=ee?0:te||Math.max(ee,ue)}},{key:"getThumbVerticalHeight",value:function(){var X=this.props,te=X.thumbSize,ue=X.thumbMinSize,L=this.view,I=L.scrollHeight,N=L.clientHeight,re=(0,x.default)(this.trackVertical),ee=Math.ceil(N/I*re);return re<=ee?0:te||Math.max(ee,ue)}},{key:"getScrollLeftForOffset",value:function(X){var te=this.view,ue=te.scrollWidth,L=te.clientWidth,I=(0,w.default)(this.trackHorizontal),N=this.getThumbHorizontalWidth();return X/(I-N)*(ue-L)}},{key:"getScrollTopForOffset",value:function(X){var te=this.view,ue=te.scrollHeight,L=te.clientHeight,I=(0,x.default)(this.trackVertical),N=this.getThumbVerticalHeight();return X/(I-N)*(ue-L)}},{key:"scrollLeft",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=X)}},{key:"scrollTop",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=X)}},{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 X=this.view,te=this.trackHorizontal,ue=this.trackVertical,L=this.thumbHorizontal,I=this.thumbVertical;X.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(te.addEventListener("mouseenter",this.handleTrackMouseEnter),te.addEventListener("mouseleave",this.handleTrackMouseLeave),te.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),ue.addEventListener("mouseenter",this.handleTrackMouseEnter),ue.addEventListener("mouseleave",this.handleTrackMouseLeave),ue.addEventListener("mousedown",this.handleVerticalTrackMouseDown),L.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var X=this.view,te=this.trackHorizontal,ue=this.trackVertical,L=this.thumbHorizontal,I=this.thumbVertical;X.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(te.removeEventListener("mouseenter",this.handleTrackMouseEnter),te.removeEventListener("mouseleave",this.handleTrackMouseLeave),te.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),ue.removeEventListener("mouseenter",this.handleTrackMouseEnter),ue.removeEventListener("mouseleave",this.handleTrackMouseLeave),ue.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),L.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(X){var te=this,ue=this.props,L=ue.onScroll,I=ue.onScrollFrame;L&&L(X),this.update(function(N){var re=N.scrollLeft,ee=N.scrollTop;te.viewScrollLeft=re,te.viewScrollTop=ee,I&&I(N)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var X=this.props.onScrollStart;X&&X(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var X=this.props.autoHide;X&&this.showTracks()}},{key:"handleScrollStop",value:function(){var X=this.props.onScrollStop;X&&X(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var X=this.props.autoHide;X&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(X){X.preventDefault();var te=X.target,ue=X.clientX,L=te.getBoundingClientRect(),I=L.left,N=this.getThumbHorizontalWidth(),re=Math.abs(I-ue)-N/2;this.view.scrollLeft=this.getScrollLeftForOffset(re)}},{key:"handleVerticalTrackMouseDown",value:function(X){X.preventDefault();var te=X.target,ue=X.clientY,L=te.getBoundingClientRect(),I=L.top,N=this.getThumbVerticalHeight(),re=Math.abs(I-ue)-N/2;this.view.scrollTop=this.getScrollTopForOffset(re)}},{key:"handleHorizontalThumbMouseDown",value:function(X){X.preventDefault(),this.handleDragStart(X);var te=X.target,ue=X.clientX,L=te.offsetWidth,I=te.getBoundingClientRect(),N=I.left;this.prevPageX=L-(ue-N)}},{key:"handleVerticalThumbMouseDown",value:function(X){X.preventDefault(),this.handleDragStart(X);var te=X.target,ue=X.clientY,L=te.offsetHeight,I=te.getBoundingClientRect(),N=I.top;this.prevPageY=L-(ue-N)}},{key:"setupDragging",value:function(){(0,o.default)(document.body,T.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=_.default}},{key:"teardownDragging",value:function(){(0,o.default)(document.body,T.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(X){this.dragging=!0,X.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(X){if(this.prevPageX){var te=X.clientX,ue=this.trackHorizontal.getBoundingClientRect(),L=ue.left,I=this.getThumbHorizontalWidth(),N=I-this.prevPageX,re=-L+te-N;this.view.scrollLeft=this.getScrollLeftForOffset(re)}if(this.prevPageY){var ee=X.clientY,ce=this.trackVertical.getBoundingClientRect(),be=ce.top,Ie=this.getThumbVerticalHeight(),je=Ie-this.prevPageY,z=-be+ee-je;this.view.scrollTop=this.getScrollTopForOffset(z)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var X=this.props.autoHide;X&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var X=this.props.autoHide;X&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var X=this.props.autoHide;X&&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 X=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var te=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,o.default)(X.trackHorizontal,{opacity:0}),(0,o.default)(X.trackVertical,{opacity:0})},te)}}},{key:"detectScrolling",value:function(){var X=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){X.lastViewScrollLeft===X.viewScrollLeft&&X.lastViewScrollTop===X.viewScrollTop&&(clearInterval(X.detectScrollingInterval),X.scrolling=!1,X.handleScrollStop()),X.lastViewScrollLeft=X.viewScrollLeft,X.lastViewScrollTop=X.viewScrollTop},100))}},{key:"raf",value:function(X){var te=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)(function(){te.requestFrame=void 0,X()})}},{key:"update",value:function(X){var te=this;this.raf(function(){return te._update(X)})}},{key:"_update",value:function(X){var te=this.props,ue=te.onUpdate,L=te.hideTracksWhenNotNeeded,I=this.getValues();if((0,g.default)()){var N=I.scrollLeft,re=I.clientWidth,ee=I.scrollWidth,ce=(0,w.default)(this.trackHorizontal),be=this.getThumbHorizontalWidth(),Ie=N/(ee-re)*(ce-be),je={width:be,transform:"translateX("+Ie+"px)"},z=I.scrollTop,k=I.clientHeight,U=I.scrollHeight,H=(0,x.default)(this.trackVertical),ne=this.getThumbVerticalHeight(),q=z/(U-k)*(H-ne),J={height:ne,transform:"translateY("+q+"px)"};if(L){var me={visibility:ee>re?"visible":"hidden"},fe={visibility:U>k?"visible":"hidden"};(0,o.default)(this.trackHorizontal,me),(0,o.default)(this.trackVertical,fe)}(0,o.default)(this.thumbHorizontal,je),(0,o.default)(this.thumbVertical,J)}ue&&ue(I),typeof X=="function"&&X(I)}},{key:"render",value:function(){var X=this,te=(0,g.default)(),ue=this.props;ue.onScroll,ue.onScrollFrame,ue.onScrollStart,ue.onScrollStop,ue.onUpdate;var L=ue.renderView,I=ue.renderTrackHorizontal,N=ue.renderTrackVertical,re=ue.renderThumbHorizontal,ee=ue.renderThumbVertical,ce=ue.tagName;ue.hideTracksWhenNotNeeded;var be=ue.autoHide;ue.autoHideTimeout;var Ie=ue.autoHideDuration;ue.thumbSize,ue.thumbMinSize;var je=ue.universal,z=ue.autoHeight,k=ue.autoHeightMin,U=ue.autoHeightMax,H=ue.style,ne=ue.children,q=y(ue,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),J=this.state.didMountUniversal,me=t({},T.containerStyleDefault,z&&t({},T.containerStyleAutoHeight,{minHeight:k,maxHeight:U}),H),fe=t({},T.viewStyleDefault,{marginRight:te?-te:0,marginBottom:te?-te:0},z&&t({},T.viewStyleAutoHeight,{minHeight:(0,h.default)(k)?"calc("+k+" + "+te+"px)":k+te,maxHeight:(0,h.default)(U)?"calc("+U+" + "+te+"px)":U+te}),z&&je&&!J&&{minHeight:k,maxHeight:U},je&&!J&&T.viewStyleUniversalInitial),Te={transition:"opacity "+Ie+"ms",opacity:0},Se=t({},T.trackHorizontalStyleDefault,be&&Te,(!te||je&&!J)&&{display:"none"}),Oe=t({},T.trackVerticalStyleDefault,be&&Te,(!te||je&&!J)&&{display:"none"});return(0,l.createElement)(ce,t({},q,{style:me,ref:function(de){X.container=de}}),[(0,l.cloneElement)(L({style:fe}),{key:"view",ref:function(de){X.view=de}},ne),(0,l.cloneElement)(I({style:Se}),{key:"trackHorizontal",ref:function(de){X.trackHorizontal=de}},(0,l.cloneElement)(re({style:T.thumbHorizontalStyleDefault}),{ref:function(de){X.thumbHorizontal=de}})),(0,l.cloneElement)(N({style:Oe}),{key:"trackVertical",ref:function(de){X.trackVertical=de}},(0,l.cloneElement)(ee({style:T.thumbVerticalStyleDefault}),{ref:function(de){X.thumbVertical=de}}))])}}]),K})(l.Component);e.default=F,F.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},F.defaultProps={renderView:A.renderViewDefault,renderTrackHorizontal:A.renderTrackHorizontalDefault,renderTrackVertical:A.renderTrackVerticalDefault,renderThumbHorizontal:A.renderThumbHorizontalDefault,renderThumbVertical:A.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})(Yx)),Yx}var KQ;function nDe(){return KQ||(KQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=rDe(),r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default,e.Scrollbars=r.default})(Kx)),Kx}var iDe=nDe();const aDe=Ln(iDe);function Coe(e){return j.jsx("svg",{...e,children:j.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"})})}const oDe="_inputWithoutHighlight_1gh2d_1",sDe="_suggestionsContainerOpen_1gh2d_5",uDe="_sectionContainer_1gh2d_12",lDe="_suggestionHighlighted_1gh2d_15",cDe="_clearButton_1gh2d_18",fDe="_inputWithLeftIcon_1gh2d_21",dDe="_inputWithRightIcon_1gh2d_24",hDe="_inputWithTwoRightIcons_1gh2d_27",pDe="_iconContainer_1gh2d_30",vDe="_leftIconContainer_1gh2d_35",gDe="_rightIconContainer_1gh2d_38",Go={inputWithoutHighlight:oDe,suggestionsContainerOpen:sDe,sectionContainer:uDe,suggestionHighlighted:lDe,clearButton:cDe,inputWithLeftIcon:fDe,inputWithRightIcon:dDe,inputWithTwoRightIcons:hDe,iconContainer:pDe,leftIconContainer:vDe,rightIconContainer:gDe};function mDe(e,t,r,n,i){let a="form-control text-truncate";return r||(a+=` ${Go.inputWithoutHighlight}`),e==="left"&&(a+=` ${Go.inputWithLeftIcon}`),(e==="right"&&!t||e==="left"&&t||t)&&(a+=` ${Go.inputWithRightIcon}`),e==="right"&&t&&(a+=` ${Go.inputWithTwoRightIcons}`),i==="lg"&&(a+=" form-control-lg"),i==="sm"&&(a+=" form-control-sm"),n&&(a+=` ${n}`),a}function YQ(e){const t="d-inline-block svg-container";return Ai.isFunction(e)?t+" cursor-pointer":t}function yDe(e){const{onClickSearchIcon:t,searchIconPlacement:r,showClearInputIcon:n,onClickClearInput:i,highlightOnFocus:a,className:o,formSize:l,...s}=e,c=()=>j.jsx("div",{className:"d-inline-block",children:j.jsx(Jo,{svg:X3,size:Fd.Standard,onClick:t,className:YQ(t)})}),d=()=>j.jsx("button",{className:`d-inline-block text-secondary ${Go.clearButton}`,onMouseUp:i,children:j.jsx(Jo,{svg:Coe,size:Fd.Standard,className:YQ(i)})});return j.jsxs("div",{className:`position-relative ${Go.inputContainer}`,children:[r==="left"&&j.jsx("div",{className:`${Go.iconContainer} ${Go.leftIconContainer}`,children:j.jsx(c,{})}),j.jsx("input",{className:mDe(r,n,a,o,l),...s}),(r==="right"||!!n)&&j.jsxs("div",{className:`${Go.iconContainer} ${Go.rightIconContainer}`,children:[!!n&&j.jsx(d,{}),r==="right"&&j.jsx(c,{})]})]})}var Toe=(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))(Toe||{});const Zm={isNumber(e){return Zm.isType(e,"number")},isString(e){return Zm.isType(e,"string")},isType(e,t){return typeof e===t}};function Rd(e,t){return{recent:t,local:e,remote:[],generic:[]}}function J3(e,t){return oa.isObject(e)&&e.hasOwnProperty(t)&&Zm.isString(e[t])}function _De(e,t,r,n){const i=e.trim().toLowerCase();return i.length<n?[]:t.filter(a=>!J3(a,r)||!Zm.isString(a[r])?!1:a[r].trim().toLowerCase().includes(i))}function SDe(e,t,r,n,i,a){const o=Ai.isFunction(e)&&e(t);if(o){if(a){WO({resource:o,type:_i.POST,success:r,error:n,headers:i,data:a(t)});return}WO({resource:o,type:_i.GET,success:r,error:n,headers:i})}}function gd(e,t){e({...Rd([],[]),generic:[{type:t,generic:!0}]})}function XQ(e,t,r){const n=Ai.isFunction(t.formatRemoteSuggestions)?t.formatRemoteSuggestions(e):e;if(!n.length&&t.getEmptyStateComponent){gd(r,"empty");return}r(i=>({...i,remote:n,generic:[]}))}function oO(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 l=Ai.isFunction(e.getLocalSuggestions)?e.getLocalSuggestions(n,e.local):_De(n,e.local,e.valueKey,e.activationLength);if(!l.length&&e.getEmptyStateComponent){gd(t,"empty");return}t(s=>({...s,local:l,generic:[]}))}if(typeof e.handleFetchSuggestions=="function"){e.replacePreviousRemoteSuggestions?t(l=>({...Rd([],[]),remote:l.remote})):gd(t,"loading"),e.handleFetchSuggestions(n,l=>XQ(l,e,t),()=>gd(t,"errored"));return}e.getRemoteUrl&&(e.replacePreviousRemoteSuggestions?t(l=>({...Rd([],[]),remote:l.remote})):gd(t,"loading"),SDe(e.getRemoteUrl,n,l=>XQ(l,e,t),()=>{gd(t,"errored")},e.requestHeaders,e.getRemotePostBody))}}}function EDe(e,t){return J3(t,e)?t[e]:""}function wDe(e,t){return J3(t,e)?j.jsx(j.Fragment,{children:t[e]}):j.jsx(j.Fragment,{})}function bDe(e){function t(r){r.stopPropagation()}return j.jsx("div",{className:`d-flex justify-content-center cursor-default ${e??""}`,onClick:t,children:j.jsx(Ev,{as:"span",animation:"border",role:"status"})})}function CDe(e,t,r,n,i,a){const o=p=>{const g=e[p];return g?g.map(m=>({...m,suggestionType:p})):[]},l=o("recent"),s=o("local"),c=o("remote"),d=o("generic");if(d.length)return[{data:d,suggestionType:"generic"}];if(Ai.isFunction(n))return n([...s,...c,...l]);const h=[];return s!=null&&s.length&&h.push({title:t,data:uO(s,sO("local",i)),suggestionType:"local"}),c!=null&&c.length&&h.push({title:t,data:uO(c,sO("remote",i)),suggestionType:"remote"}),l!=null&&l.length&&h.push({title:r,data:uO(l,sO("recent",i)),suggestionType:"recent"}),typeof a=="function"?a(h):h}function sO(e,t){return typeof t=="number"||typeof t=="boolean"?t:t[e]||!1}function uO(e,t){return typeof t=="boolean"||e.length<=t?e:e.slice(0,t)}function TDe(e){return e.data}function ADe(e,t){if(e.title)return j.jsx("div",{className:`pb-1 ${t??""}`,children:j.jsx("strong",{children:e.title})})}function RDe(e){return{container:"position-relative",suggestionsContainerOpen:`bg-white py-1 border rounded ${Go.suggestionsContainerOpen}`,suggestionsList:"list-unstyled m-0",suggestion:`${e?"":"cursor-pointer"} py-1 px-2`,suggestionHighlighted:e?"":Go.suggestionHighlighted,sectionContainer:`border-bottom py-1 ${Go.sectionContainer}`}}function xDe(e,t){const r=typeof e=="function"?e(t):e,n=RDe(t);return Object.assign(n,r)}function ODe(e,t,r,n,i){ge.useEffect(()=>{!e||e.current||(e.current={resetQuery:t,setQuery:r,focusInput:n,blurInput:i})},[e==null?void 0:e.current])}function IDe(e){const[t,r]=Tv("lite:search:bar:focus",{focus:!1});return ge.useEffect(()=>{!t.focus||!(e!=null&&e.current)||(e.current.focus(),r({focus:!1}))},[t.focus]),{focusSearchBar:()=>r({focus:!0}),shouldFocus:t.focus}}const QQ="shared.searchBar",Mu=Ai.isFunction;function PDe(e){return e.renderAsForm?j.jsx("form",{onSubmit:e.onSubmit,children:e.children}):j.jsx("div",{className:"w-100",children:e.children})}Aoe.defaultProps={valueKey:"name",activationLength:3,suggestionLimit:5,recentSearches:[],initialLocalSuggestions:[],searchIconPlacement:"right",renderAsForm:!0,onSuggestionDependencies:[],shouldUpdateQueryOnSelection:!0,focusInputOnSuggestionClick:!0,resetQueryOnEscape:!0};function Aoe(e){const t=Rd(e.initialLocalSuggestions,e.recentSearches),[r,n]=ge.useState(e.initialQuery||""),[i,a]=ge.useState(t),o=ge.useMemo(()=>CDe(i,e.suggestionsHeading,e.recentSearchHeading||Er.getPhrase(QQ,"recentSearchesHeading"),e.getSections,e.suggestionLimit,e.transformSections),[i]);ge.useEffect(()=>{oa.isEqual(t,i)||r&&r.length>=(e==null?void 0:e.activationLength)||a(t)},[t]),ge.useEffect(()=>{typeof e.onSuggestionUpdated=="function"&&e.onSuggestionUpdated(o)},[o]);const l=ge.useRef(null),s=ge.useRef(!1);IDe(l);const[c,d]=ge.useState(e.initialQuery||""),[h,p]=ge.useState("none"),g=Rc(Toe.XS);ge.useEffect(()=>{!e.resetSuggestionsOnNoActivation||!r||r.length>=e.activationLength||m()},[r]),ge.useEffect(()=>{if(r.length)return;const te=Rd(e.initialLocalSuggestions,e.recentSearches);a(te)},[e.initialLocalSuggestions,e.recentSearches]),ge.useEffect(()=>{const te=e.initialQuery||"";r!==te&&(n(te),d(te))},[e.initialQuery]),ge.useEffect(()=>{!l.current||!e.autoFocusInput||l.current.focus()},[e.autoFocusInput]);const m=()=>{const te=Rd(e.initialLocalSuggestions,e.recentSearches);a(te)},_=()=>{n(""),d("")},E=()=>{var te;(te=l.current)==null||te.focus()},w=()=>{var te;(te=l.current)==null||te.blur()};ODe(e.controlsRef,_,n,E,w);const b=(te,{newValue:ue,method:L})=>{L==="type"&&d(ue),!(L==="escape"&&(p("none"),!(e!=null&&e.resetQueryOnEscape)))&&(["up","down"].includes(L)||(n(ue),Mu(e.onQueryChange)&&e.onQueryChange(ue)))},x=()=>{p("none")},T=te=>{te.preventDefault(),Mu(e.onSubmit)&&e.onSubmit(r,l.current),e.clearQueryOnSelect&&_()},A=te=>{if(te.key==="Backspace"&&e.onBackspace&&!r){e.onBackspace();return}if(te.key==="ArrowUp"||te.key==="ArrowDown"){s.current=!0;return}},O=()=>{_(),e.resetSuggestionsOnClear&&m(),Mu(e.onClickClearInput)&&e.onClickClearInput()},y=({suggestion:te})=>{if(h==="none"&&!te)return;s.current&&e.onArrowKeyUpOrDown&&(s.current=!1,e.onArrowKeyUpOrDown()),p(te?"suggestion":"custom")};function P(te){return Mu(e.shouldUpdateQueryOnSelection)?e.shouldUpdateQueryOnSelection(te):e.shouldUpdateQueryOnSelection}const D=ge.useMemo(()=>e.debounceTime?Ai.debounce(oO(e,a,m),e.debounceTime):oO(e,a,m),[e.debounceTime,...e.onSuggestionDependencies]);function V(te){return Mu(e.renderSectionTitle)?e.renderSectionTitle(te,e.sectionTitleClassName):ADe(te,e.sectionTitleClassName)}function F(){return Mu(e.renderSuggestionsOnInputFocus)?e.renderSuggestionsOnInputFocus(r):e.renderSuggestionsOnInputFocus}function B(){e.onBlur&&e.onBlur(r)}function K(){e.onFocus&&e.onFocus(r)}function Q(te){te!==null&&!l.current&&(l.current=te.input)}function X(){return typeof e.alwaysRenderSuggestions=="boolean"?e.alwaysRenderSuggestions:e.alwaysRenderSuggestionsWhenFocused&&r.length>=e.activationLength?document.activeElement===l.current:!1}return j.jsx(PDe,{onSubmit:T,renderAsForm:!!e.renderAsForm,children:j.jsx(U4e,{ref:Q,suggestions:o,onSuggestionsFetchRequested:D,onSuggestionHighlighted:y,onSuggestionsClearRequested:()=>{X()||m()},onSuggestionSelected:(te,{suggestion:ue})=>{ue.generic||(e.clearQueryOnSelect&&_(),e.onSuggestionSelected(ue,l.current,te))},getSuggestionValue:te=>P(te)?EDe(e.valueKey,te):r,renderSuggestion:(te,ue)=>{if(te.generic){if(te.type==="empty")return r.length>=e.activationLength&&Mu(e.getEmptyStateComponent)?e.getEmptyStateComponent(r):j.jsx(j.Fragment,{});if(te.type==="errored"&&Mu(e.getErrorStateComponent)){const L=oO(e,a,m),I=()=>L({value:r,reason:"input-changed"});return e.getErrorStateComponent(I)}if(te.type==="loading")return bDe(e.loadingComponentClassName)}return Mu(e.getSuggestionComponent)?e.getSuggestionComponent(te,ue):wDe(e.valueKey,te)},renderSuggestionsContainer:te=>{const{ref:ue,...L}=te.containerProps;if(!e.customScrollbarProps){const I={suggestions:i,query:r,isDropdownOpen:!!te.children};return j.jsxs("div",{ref:ue,...L,onMouseOut:x,children:[te.children,e.getCreateComponent&&e.getCreateComponent({userInput:c,isActive:h==="custom",resetQuery:_,resetSuggestions:m,...I}),e.getFooterComponent&&e.getFooterComponent(I)]})}return j.jsx(aDe,{ref:ue,...e.customScrollbarProps,...L,children:te.children})},alwaysRenderSuggestions:X(),focusInputOnSuggestionClick:!g&&e.focusInputOnSuggestionClick,inputProps:{id:e.id,name:e.id,"aria-errormessage":`${e.id}Error`,"aria-label":e.label,placeholder:e.placeholder||Er.getPhrase(QQ,"placeholder"),value:r,onChange:b,onKeyDown:A,autoFocus:!!e.autoFocusInput,highlightOnFocus:e.highlightInputOnFocus,onClickSearchIcon:!!e.submitOnClickSearchIcon&&T,searchIconPlacement:e.searchIconPlacement,showClearInputIcon:!!e.showClearInputIcon&&!!r.length,onClickClearInput:O,formSize:e.size,onBlur:B,onFocus:K,disabled:e.disabled},renderInputComponent:yDe,theme:xDe(e.theme,!!i.generic.length),multiSection:!0,renderSectionTitle:V,getSectionSuggestions:TDe,...e.renderSuggestionsOnInputFocus?{shouldRenderSuggestions:F}:{}})})}const Roe=(e,t)=>{const[r,n]=Xt.useState(e);return Xt.useEffect(()=>{const i=setTimeout(()=>n(e),t);return()=>clearTimeout(i)},[e,t]),r};function kDe(e,t=[]){function r(){e()}Xt.useEffect(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[...t])}function DDe(e){const{query:t,indices:r,analyticsOptions:n,onLog:i,shouldLog:a=!0}=e,o=Roe(t,5e3),[l,s]=Xt.useState({[t]:!1});function c(h,p){if(a){if(!h){s({"":!0});return}l[h]||(s({[h]:!0}),Ti.logUserAction({query:h,indices:r},Ti.mergeOptions(n,[{actionType:Pt.Search,workflowPhase:Io.Complete},p])),typeof i=="function"&&i())}}function d(h,p){const g=h.name;l[g]||(s({[g]:!0}),Ti.logUserAction(h,Ti.mergeOptions(n,[{actionType:Pt.Search,workflowPhase:Io.Complete},p])))}return Xt.useEffect(()=>c(o),[o]),kDe(()=>c(t),[t,l]),{log:c,logTrendingTopic:d}}const $l={FILTER_PARAM_PREFIX:"filters.",MAX_CHECKBOXES_PER_COLUMN:10};function Pf(e){return j.jsx("label",{htmlFor:e.id,className:"mb-0",children:j.jsx("h3",{className:"h6 mb-2",children:e.title})})}jp.defaultProps={checked:!1,label:"",className:""};function jp(e){const{isLabelEllipsis:t}=e,r=ge.useRef(null);return ge.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]),j.jsxs("div",{className:`form-check pe-2 ${e.className}`,children:[j.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&&j.jsx("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id,children:j.jsx("span",{className:`${t?"clamp-1":""}`,children:e.label})})]})}function xoe(e){const t=e.draftState.selection;function r(i,a){if(a){let l=-1;t.find((c,d)=>{l>-1||c.id.toString()===i.id.toString()&&(l=d)});const s=[...t.slice(0,l),...t.slice(l+1)];e.setDraftState({active:!!s.length,selection:s});return}const o=[...t];o.push(i),e.setDraftState({active:!!o.length,selection:o})}const n=e.options.map(i=>{const a=e.filter.disabled||i.disabled,o=!!e.draftState.selection.find(s=>s.id.toString()===i.id.toString()),l=Array.isArray(i.id)?i.id.join("_"):i.id;return j.jsx("li",{className:`my-1 ${e.displayOptionsIn2Columns?"col-md-6 col-12":""}`,children:j.jsx(jp,{label:i.name,name:l,id:l,onChange:()=>r(i,o),checked:!a&&o,isLabelEllipsis:e.displayOptionsIn2Columns,disabled:a})},l)});return j.jsx("ul",{className:`list-unstyled ${e.displayOptionsIn2Columns?"d-flex flex-wrap":""}`,children:n})}function LDe(e){const t=ba.displayTwoColumns(e.filter);return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{title:e.filter.name}),j.jsx(Md,{className:"mb-3",children:j.jsx(xoe,{displayOptionsIn2Columns:t,options:e.filter.options,filter:e.filter,draftState:e.draftState,setDraftState:e.setDraftState})})]})}function NDe(e){var r;const t=[];for(const n of e.filter.options){const i=e.filter.disabled||n.disabled,a=(r=e.draftState.selection)==null?void 0:r.find(d=>(d==null?void 0:d.id)===n.id),o=n.secondLayerOptions??[],l=MDe(a,o),s=!l&&!!a;t.push(j.jsx(jp,{label:n.name,name:n.id,id:n.id,indeterminate:l,onChange:()=>e.onToggleItem(n,s||l),checked:!i&&s,className:"my-1",disabled:i},n.id)),ba.hasManyFilterOptions(o)&&t.push(...o.map(d=>{var g;const h=i||d.disabled,p=!!((g=a==null?void 0:a.secondLayerSelection)!=null&&g.find(m=>m.id===d.id));return j.jsx(jp,{label:d.name,name:d.id,id:d.id,onChange:()=>e.onToggleChildItem(d,p,n),checked:!h&&p,className:"my-1 ms-3",disabled:h},d.id)}))}return j.jsx(j.Fragment,{children:t})}function MDe(e,t){var i,a;const r=((i=e==null?void 0:e.secondLayerSelection)==null?void 0:i.length)>0,n=((a=e==null?void 0:e.secondLayerSelection)==null?void 0:a.length)===t.length;return r&&!n}function $De(e){var t;for(const r of e.filter.options){const n=e.filter.disabled||r.disabled,i=(t=e.draftState.selection)==null?void 0:t.find(l=>(l==null?void 0:l.id)===r.id),o=(r.secondLayerOptions??[]).map(l=>{var d;const s=n||l.disabled,c=!!((d=i==null?void 0:i.secondLayerSelection)!=null&&d.find(h=>h.id===l.id));return j.jsx(jp,{label:l.name,name:l.id,id:l.id,onChange:()=>e.onToggleChildItem(l,c,r),checked:!s&&c,className:"my-1",disabled:s},l.id)});return j.jsx(j.Fragment,{children:o})}}function FDe(e){const t=e.filter.options;function r(i,a){var c;const{selection:o}=e.draftState,l=o.findIndex(d=>d.id===i.id);if(!a){const d=(c=t==null?void 0:t.find(p=>p.id===i.id).secondLayerOptions)==null?void 0:c.filter(p=>!p.disabled),h={...i,secondLayerSelection:d};if(o.length===0||l===-1){const p=[...o,h];e.setDraftState({active:!0,selection:p});return}if(l!==-1){const p=o.map(g=>g.id===i.id?h:g);e.setDraftState({active:!!p.length,selection:p});return}}const s=Bn.removeItemFromIndex(o,o.findIndex(d=>d.id===i.id));e.setDraftState({active:!!s.length,selection:s})}function n(i,a,o){var d;const{selection:l}=e.draftState,s=l.findIndex(h=>h.id===o.id);if(!a){const h=[...((d=l[s])==null?void 0:d.secondLayerSelection)??[],i];if(l.length===0||s===-1){const p={...o,secondLayerSelection:h},g=[...l,p];e.setDraftState({active:!!g.length,selection:g});return}if(s!==-1){const p=l.map(g=>g.id===o.id?{...g,secondLayerSelection:h}:g);e.setDraftState({active:!!p.length,selection:p});return}}let c=l.map(h=>{if(h.id===o.id){const p=Bn.removeItem(h.secondLayerSelection,i);return{...o,secondLayerSelection:p}}return h});c[s].secondLayerSelection.length===0&&(c=Bn.removeItem(c,o)),e.setDraftState({active:!!c.length,selection:c})}return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{title:e.filter.name}),j.jsx(Md,{className:"mb-3",children:ba.hasManyFilterOptions(t)?j.jsx(NDe,{onToggleItem:r,onToggleChildItem:n,...e}):j.jsx($De,{onToggleChildItem:n,...e})})]})}function jDe(e){const t=e.draftState.active;function r(){e.setDraftState({active:!t})}return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{id:e.filter.id,title:e.filter.name}),j.jsxs("div",{className:"d-flex align-items-start justify-content-between",children:[j.jsx("p",{className:"d-inline-block w-75",children:e.filter.description}),j.jsx(Y3,{id:e.filter.id,disabled:e.filter.disabled,onClick:r,on:t})]})]})}function UDe(e){function t(r){e.setDraftState({active:!r.default,selection:[r]})}return j.jsx(j.Fragment,{children:e.filter.options.map(r=>j.jsx(Co.Item,{onClick:()=>t(r),disabled:e.filter.disabled||r.disabled,children:r.name},r.id))})}const qDe="_radioFilter_fxy7p_1",VDe={radioFilter:qDe};function HDe(e){function t(r){e.setDraftState({active:!r.default,selection:[r]})}return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{title:e.filter.name}),j.jsx(Md,{children:j.jsx("ul",{className:`${e.isOnMoreFilters?"d-flex flex-wrap":""} list-unstyled`,children:e.filter.options.map(r=>{var a;const n=e.filter.disabled||r.disabled,i=((a=Bn.first(e.draftState.selection))==null?void 0:a.id.toString())===r.id.toString();return j.jsx("li",{className:`${e.isOnMoreFilters?"w-50":""}`,children:j.jsx(Md.Check,{type:"radio",label:r.name,name:r.id,id:r.id,value:r.id,onChange:()=>t(r),checked:!n&&i,className:`${VDe.radioFilter}`,disabled:n})},r.id)})})})]})}function BDe(e){const[t,r]=bie({delay:1});if(Xt.useEffect(()=>{e.onHover(r?e.rating:null)},[r]),!e.rating.code)return j.jsx(j.Fragment,{});const n=j.jsx($d,{ref:t,className:e.getButtonClasses(e.rating,e.isActive,r),onClick:e.onClick,disabled:e.disabled,children:e.rating.code});return e.disabled?n:j.jsx(pu,{title:e.rating.name,spanHack:!0,children:n})}Ooe.defaultProps={selections:[]};function Ooe(e){const[t,r]=Xt.useState([]);function n(l){return e.ratings.filter(s=>s.code&&s.value<=l.value)}function i(l){e.onSelectRange(n(l))}function a(l){if(!l||e.isDisabled(l)){r([]);return}}function o(l){return t.length?!!t.find(s=>s.id===l.id):!!e.selections.find(s=>s.id===l.id)}return j.jsx("div",{children:j.jsx(Fie,{as:"ul",className:"list-unstyled mb-0",children:e.ratings.map(l=>{var s;return j.jsx("li",{children:j.jsx(BDe,{rating:l,onClick:()=>i(l),onHover:a,isActive:o(l),disabled:e.disabled||((s=e.isDisabled)==null?void 0:s.call(e,l)),getButtonClasses:e.getButtonClasses})},l.id)})})})}const zDe="_firstButton_tcosn_1",WDe="_lastButton_tcosn_6",ZQ={firstButton:zDe,lastButton:WDe};function GDe(e){const t=e.filter.options;function r(o){e.setDraftState({active:!!o.length,selection:o})}const n=t.filter(o=>o.code),[i]=n,a=n[n.length-1];return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{title:e.filter.name}),j.jsx("div",{className:"mb-2",children:j.jsx(Ooe,{ratings:t,selections:e.draftState.selection,onSelectRange:r,disabled:e.filter.disabled,isDisabled:o=>o.disabled,getButtonClasses:(o,l,s)=>{let c="btn border text-nowrap";return l||s?c+=" btn-dark":c+=" btn-outline-dark",s&&(c+=" active"),n.length===1?c+=" rounded":i.id===o.id?c+=" "+ZQ.firstButton:a.id===o.id?c+=" "+ZQ.lastButton:c+=" rounded-0",c}})})]})}const Vg=["video","clip","interactive"],Jh=["playlist","series","clip","classification","interactive","video","company","category"],Hg=["user"],KDe=["sort","classification","presentation","audience","yearGroup","moviesAndTv","type","rating","interactives","clips","classroom","hasResources","hasSubtitles","productionYear","isHd","producedByClickView","duration","tagOrClassification","status","isAdmin","bulkActionType","userType","filter","channel","dateBroadcast","categoryId","hasInteractives","jobStatus","source","customerStatus","specialEventType","customerType"],YDe={type:!0},XDe=KDe.reduce((e,t)=>({...e,[t]:!YDe[t]}),{});var Fu=(e=>(e.MyVideos="my-videos",e.School="school",e.ExchangeArchive="exchange-archive",e.ClickView="clickview",e))(Fu||{}),QDe=(e=>(e.Video="video",e.Series="series",e.Playlist="playlist",e.Classification="classification",e.Clip="clip",e.Interactive="interactive",e.Company="company",e.Category="category",e))(QDe||{}),ju=(e=>(e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive",e))(ju||{});const ZDe="sharedSearch.utils",Bg=Er.encloseNamespace(ZDe),ep=`${$l.FILTER_PARAM_PREFIX}library`;function JDe(e){return e.reduce((t,r)=>({...t,[r.type]:!0}),{})}const e2e={getOptions(e){const{libraries:t,isLearner:r,isGuest:n,hasCustomLibraries:i}=e,a=[],o=JDe(t);return o[ju.Workspace]&&!n&&a.push({id:Fu.MyVideos,name:Bg("myVideos")}),o[ju.CustomLibrary]&&(!r||i)&&a.push({id:Fu.School,name:Bg("schoolVideos")}),o[ju.Exchange]&&a.push({id:Fu.ExchangeArchive,name:Bg("exchangeArchiveVideos")}),o[ju.HostedLibrary]&&a.push({id:Fu.ClickView,name:Bg("clickViewVideos")}),a},getBackendParamValue(e,t){return(Array.isArray(e)?e:[e]).reduce((n,i)=>t.reduce((a,o)=>{const l=a[ep]||[];return i===Fu.MyVideos&&o.type===ju.Workspace?{...a,[ep]:[...l,o.id.toString()]}:i===Fu.School&&o.type===ju.CustomLibrary?{...a,[ep]:[...l,o.id.toString()]}:i===Fu.ExchangeArchive&&o.type===ju.Exchange?{...a,[ep]:[...l,o.id.toString()]}:i===Fu.ClickView&&o.type===ju.HostedLibrary?{...a,[ep]:[...l,o.id.toString()]}:a},n),{})}},t2e={MULTI_PRESENTATION_THRESHOLD:2};var Ioe=(e=>(e.CLICKVIEW_CURATED="is_clickview_curated",e.MOVIES_AND_TV="is_movies_and_tv",e.STREAMABLE_CURATED="is_streamable_learning_curated",e))(Ioe||{}),Ic=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Active=1]="Active",e[e.Prospect=2]="Prospect",e[e.LostCustomer=3]="LostCustomer",e[e.Disabled=4]="Disabled",e[e.Other=5]="Other",e))(Ic||{}),Pc=(e=>(e.Unclassified="Unclassified",e.Active="Active",e.Prospect="Prospect",e.LostCustomer="LostCustomer",e.Disabled="Disabled",e.Other="Other",e))(Pc||{}),Es=(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))(Es||{}),ws=(e=>(e.Unclassified="Unclassified",e.Primary="Primary",e.Secondary="Secondary",e.K12="K12",e.Tertiary="Tertiary",e.NonEducational="NonEducational",e.Partners="Partners",e.Internal="Internal",e.Other="Other",e.ClickView="ClickView",e.System="System",e))(ws||{}),Hn=(e=>(e.Holiday="Holiday",e.SportingEvent="SportingEvent",e.Observance="Observance",e.NaturalDisaster="NaturalDisaster",e.HistoricalEvent="HistoricalEvent",e.BreakingNews="BreakingNews",e.Informal="Informal",e.ReligiousEvent="ReligiousEvent",e.Livestream="Livestream",e.Other="Other",e))(Hn||{}),r2e=(e=>(e[e.Classification=0]="Classification",e[e.Livestream=1]="Livestream",e))(r2e||{});const $u={[Hn.BreakingNews]:"Breaking news",[Hn.HistoricalEvent]:"Historical event",[Hn.Holiday]:"Holiday",[Hn.Informal]:"Informal",[Hn.Livestream]:"Livestream",[Hn.NaturalDisaster]:"Natural disaster",[Hn.Observance]:"Observance",[Hn.ReligiousEvent]:"Religious event",[Hn.SportingEvent]:"Sporting event",[Hn.Other]:"Other"};function fl(e){return j.jsx("div",{className:"alert text-dark bg-light-blue px-2 rounded-3",children:e.children})}const zg="userManager.bulkUserActivationActionInfo";function n2e(e){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:zg,phrase:"deactivate"})}),j.jsx("p",{children:j.jsx(bn,{namespace:zg,phrase:e.userType===yi.Learner?"deactivateInfoStudent":"deactivateInfoStaff"})}),j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:zg,phrase:"reactivate"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:zg,phrase:e.userType===yi.Learner?"reactivateInfoStudent":"reactivateInfoStaff"})})]})}const JQ="userManager.bulkUserActivationEmailActionInfo";function i2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:JQ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:JQ,phrase:"info"})})]})}const eZ="userManager.addToClassroomActionInfo";function a2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:eZ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:eZ,phrase:"info"})})]})}const tZ="userManager.changeYearGroupActionInfo";function o2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:tZ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:tZ,phrase:"info"})})]})}const rZ="userManager.bulkUserDeleteActionInfo";function s2e(e){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:rZ,phrase:"delete"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:rZ,phrase:e.userType===yi.Learner?"infoStudent":"infoStaff"})})]})}const nZ="userManager.bulkUserRemoveActionInfo";function u2e(e){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:nZ,phrase:"remove"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:nZ,phrase:e.userType===yi.Learner?"infoStudent":"infoStaff"})})]})}const iZ="userManager.bulkUserResetEmailActionInfo";function l2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:iZ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:iZ,phrase:"info"})})]})}const aZ="userManager.bulkResetPasswordActionInfo";function c2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:aZ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:aZ,phrase:"info"})})]})}const oZ="userManager.bulkUserYearGroupRolloverActionInfo";function f2e(){return j.jsxs(fl,{children:[j.jsx("h4",{className:"h5",children:j.jsx(bn,{namespace:oZ,phrase:"heading"})}),j.jsx("p",{className:"mb-0",children:j.jsx(bn,{namespace:oZ,phrase:"info"})})]})}function d2e(e){return j.jsx("svg",{...e,children:j.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-9m4.244 5.578a.77.77 0 0 0-1.058.068l-4.722 5.18-1.684-1.615a.77.77 0 0 0-1.06 0 .7.7 0 0 0 0 1.018l2.25 2.16a.77.77 0 0 0 1.094-.035l5.25-5.76a.7.7 0 0 0-.07-1.016"})})}const h2e="_badge_1yp84_1",p2e="_pending_1yp84_5",v2e="_active_1yp84_8",g2e="_name_1yp84_11",m2e="_username_1yp84_14",y2e="_avatarContainer_1yp84_26",_2e="_verifiedEmail_1yp84_31",cu={badge:h2e,pending:p2e,active:v2e,name:g2e,username:m2e,avatarContainer:y2e,verifiedEmail:_2e},od="userManager.userList";function S2e(e){var t,r,n,i,a;return j.jsxs(j.Fragment,{children:[zs.getUserStatusFromValue(((t=e.user)==null?void 0:t.status)??e.status)===lu.Disabled&&j.jsx("div",{className:`text-white px-1 ${cu.badge} bg-danger ${e.className??""}`,children:j.jsx(bn,{namespace:od,phrase:"deactivated"})}),zs.getUserStatusFromValue(((r=e.user)==null?void 0:r.status)??e.status)===lu.Inactive&&j.jsx("div",{className:`text-white px-1 ${cu.badge} ${cu.pending} ${e.className??""}`,children:j.jsx(pu,{title:Er.getPhrase(od,"pendingTooltip"),spanHack:!0,children:j.jsx(bn,{namespace:od,phrase:"pending"})})}),e.showActiveBadge&&zs.getUserStatusFromValue(((n=e.user)==null?void 0:n.status)??e.status)===lu.Active&&j.jsx("div",{className:`text-white px-1 ${cu.badge} ${cu.active} ${e.className??""}`,children:j.jsx(pu,{title:Er.getPhrase(od,"active"),spanHack:!0,children:j.jsx(bn,{namespace:od,phrase:"active"})})}),((i=e.user)==null?void 0:i.id.toString())===((a=e.currentUser)==null?void 0:a.id.toString())&&j.jsx("div",{className:`text-white px-1 ${cu.badge} bg-blue ${e.className??""}`,children:j.jsx(bn,{namespace:od,phrase:"thatsYou"})})]})}const lO="userManager.userList";function E2e(e){var n;const{user:t,currentUser:r}=e;return j.jsxs("div",{className:`d-flex flex-column justify-content-center me-auto w-100 ${e.wrapperClassName}`,children:[j.jsxs("div",{className:"pb-1 d-flex align-items-center",children:[j.jsxs("div",{className:`d-flex ${cu.name}`,children:[t.name?j.jsxs("h2",{className:"h5 m-0 me-1 d-inline-block align-middle text-truncate",title:`${t.name} ${t.surname||""}`,children:[t.name," ",t.surname||""]}):j.jsx("span",{className:"fst-italic text-secondary me-2",children:j.jsx(bn,{namespace:lO,phrase:"noName"})}),t.username&&j.jsxs(j.Fragment,{children:["(",j.jsx("p",{title:t.username,className:`m-0 d-inline-block align-middle text-truncate ${cu.username}`,children:t.username}),")"]})]}),j.jsx(S2e,{user:t,currentUser:r,className:"ms-2"})]}),j.jsxs("div",{className:"d-flex",children:[!!((n=t.metadata)!=null&&n.isEmailVerified)&&j.jsx(Jo,{className:`svg-container text-secondary ms-n1 ${cu.verifiedEmail}`,svg:d2e,title:Er.getPhrase(lO,"emailVerified"),tooltipSpanHack:!0,tooltipPlacement:"top"}),j.jsx("p",{className:"text-truncate mb-0 overflow-visible",children:t.email?t.email:j.jsx("span",{className:"fst-italic",children:j.jsx(bn,{namespace:lO,phrase:"noEmail"})})})]})]})}const sZ="userManager.userList";function w2e(e){var t,r,n,i,a,o,l,s,c,d,h;if(e.userType===yi.Learner)return(r=(t=e.user)==null?void 0:t.masterYearGroup)!=null&&r.name?(n=e.user)==null?void 0:n.masterYearGroup.name:(o=(a=(i=e.user)==null?void 0:i.yearGroups)==null?void 0:a.data)!=null&&o.length?Bn.first((l=e.user)==null?void 0:l.yearGroups.data).name:null;if(e.userType===yi.Staff)return((c=(s=e.user)==null?void 0:s.userProfile)==null?void 0:c.role)===wo.Admin?Er.getPhrase(sZ,"admin"):((h=(d=e.user)==null?void 0:d.userProfile)==null?void 0:h.role)===wo.SuperAdmin?Er.getPhrase(sZ,e.countryCode==="US"?"superAdminUs":"superAdmin"):null}function b2e(e){const t=e.badgeText||w2e(e);return t?j.jsx("div",{className:"rounded-pill border border-dark bg-white px-2 me-3 d-inline-block flex-shrink-0",children:t}):j.jsx(j.Fragment,{})}function C2e(e){var t;return j.jsx("div",{className:`${cu.avatarContainer} mx-2`,children:j.jsx(Soe,{imageUrl:(t=e.user.avatar)==null?void 0:t.url,imageCdnUrl:e.imageCdnUrl,initials:zs.getInitials(e.user.name,e.user.surname)})})}function T2e(e){return j.jsxs("li",{className:"d-flex align-items-center p-2",children:[j.jsx(C2e,{user:e.user,imageCdnUrl:e.imageCdnUrl}),j.jsx(E2e,{user:e.user,currentUser:e.currentUser}),j.jsx(b2e,{userType:e.userType,user:e.user}),j.jsx("p",{className:"mb-0 mx-2 text-danger",children:e.errorMessage})]})}var SI=(e=>(e.Online="online",e.Primary="primary",e.Curator="curator",e))(SI||{});const A2e=Xt.createContext({});var md=(e=>(e[e.Unknown=0]="Unknown",e[e.Staff=1]="Staff",e[e.Learner=2]="Learner",e[e.MasterVideo=3]="MasterVideo",e[e.Rostering=8]="Rostering",e[e.MarketingProfile=16]="MarketingProfile",e))(md||{}),Vs=(e=>(e.YearGroupRollover="year-group-rollover",e.ChangeYearGroup="change-year-group",e.DeleteUser="delete-user",e.RemoveUser="remove-user",e.DeactivateUser="deactivate-user",e.ActivateUser="activate-user",e.AddToClassroom="add-to-classroom",e.ResetPassword="reset-password",e.SendResetPasswordEmail="send-reset-password-email",e.SendAccountActivationEmail="send-account-activation-email",e.CreateUser="create-user",e.AddToAudience="add-to-audience",e.AddToBackboneClassification="add-to-backbone-classification",e.AddToBackboneAudience="add-to-backbone-audience",e.AddToClassification="add-to-classification",e.AddToSeries="add-to-series",e.AddToDirector="add-to-director",e.AddToDistributor="add-to-distributor",e.AddToProductionCompany="add-to-production-company",e.AddToProducer="add-to-producer",e.SetProductionYear="set-production-year",e.AddToLibrary="add-to-library",e.AddToCurationTag="add-to-curation-tag",e.AddToSkillTag="add-to-skill-tag",e.AddToPedagogyTag="add-to-pedagogy-tag",e.AddToNormalTag="add-to-normal-tag",e.AddToHiddenTag="add-to-hidden-tag",e.AddResourceAndLink="add-resource-and-link",e.Rostering="rostering",e.MarketingProfile="marketing-profile",e))(Vs||{}),Hs=(e=>(e[e.NoAction=1]="NoAction",e[e.Succeed=1]="Succeed",e[e.Unknown=10]="Unknown",e[e.CustomerNotFound=100]="CustomerNotFound",e[e.UserNotFound=101]="UserNotFound",e[e.EmailNotVerified=131]="EmailNotVerified",e[e.UserDisabled=133]="UserDisabled",e[e.InvalidYearGroup=200]="InvalidYearGroup",e[e.MissingYearGroup=201]="MissingYearGroup",e[e.NewYearGroupNotSet=202]="NewYearGroupNotSet",e[e.ObjectNotFoundInBackboneClassification=300]="ObjectNotFoundInBackboneClassification",e[e.ObjectNotFoundInBackboneAudience=301]="ObjectNotFoundInBackboneAudience",e))(Hs||{}),Zr=(e=>(e[e.RolloverYearGroup=1]="RolloverYearGroup",e[e.DeactivateUser=2]="DeactivateUser",e[e.ChangeYearGroup=3]="ChangeYearGroup",e[e.DeleteUser=4]="DeleteUser",e[e.CreateUser=5]="CreateUser",e[e.ResetPassword=6]="ResetPassword",e[e.AddUsersClassroom=7]="AddUsersClassroom",e[e.SendAccountReminderEmail=8]="SendAccountReminderEmail",e[e.ActivateUser=9]="ActivateUser",e[e.AddToBackboneClassification=10]="AddToBackboneClassification",e[e.AddToClassification=11]="AddToClassification",e[e.AddToBackboneAudience=12]="AddToBackboneAudience",e[e.AddToAudience=13]="AddToAudience",e[e.AddVideosSeries=14]="AddVideosSeries",e[e.AddVideosDistributor=15]="AddVideosDistributor",e[e.AddVideosProductionCompany=16]="AddVideosProductionCompany",e[e.AddVideosProducer=17]="AddVideosProducer",e[e.AddVideosDirector=18]="AddVideosDirector",e[e.AddVideosLibrary=19]="AddVideosLibrary",e[e.AddVideosResourceAndLinks=21]="AddVideosResourceAndLinks",e[e.AddVideosTag=22]="AddVideosTag",e[e.SendAccountActivationEmail=23]="SendAccountActivationEmail",e[e.RemoveUser=24]="RemoveUser",e[e.Rostering=25]="Rostering",e[e.MarketingProfile=26]="MarketingProfile",e[e.SetProductionYear=28]="SetProductionYear",e))(Zr||{}),Poe=(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))(Poe||{});function R2e(e){const t=ro.getInstance(e);return ge.useEffect(()=>()=>{ro.releaseInstance(e)}),t}function U8e(e){let t=null;return t=ro.getInstance(e),ge.useEffect(()=>()=>{ro.releaseInstance(e)}),t}function x2e(e){return R2e(e)}function O2e(){const e=x2e(dv.ALERT);return{success(t){e.success(t)()},error(t){e.error(t)()},warning(t){e.createAlert({type:Ko.Warning,heading:hie.Warning,message:t})},info(t,r){e.createAlert({heading:t,message:r,type:Ko.Info})}}}function uZ(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.5 7A1.5 1.5 0 0 1 11 5.5h2A1.5 1.5 0 0 1 14.5 7h4a.5.5 0 0 1 0 1h-1.14q0 .045-.005.09l-.909 10a1 1 0 0 1-.996.91h-6.9a1 1 0 0 1-.996-.91l-.91-10A1 1 0 0 1 6.64 8H5.5a.5.5 0 0 1 0-1h4m4 0a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5zm2.971 1H7.53l.853 9.545A.5.5 0 0 0 8.88 18h6.24a.5.5 0 0 0 .498-.456zm-7.43 2.537a.499.499 0 1 1 .994-.077l.424 5.503a.498.498 0 1 1-.994.077zM11.5 10.5a.5.5 0 0 1 1 0V16a.5.5 0 0 1-1 0zm2.962-.5c-.26 0-.477.2-.497.46l-.424 5.503a.499.499 0 1 0 .994.077l.424-5.503a.5.5 0 0 0-.497-.537",clipRule:"evenodd"})})}function I2e(e){return j.jsx("svg",{...e,children:j.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 lZ(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M4 6.462C4 6.207 4.21 6 4.47 6h15.06c.26 0 .47.207.47.462v10.892a.653.653 0 0 1-.659.646H4.66A.653.653 0 0 1 4 17.354zm1.723.461 5.967 5.12a.48.48 0 0 0 .62 0l5.967-5.12zm13.336.556-6.13 5.26a1.43 1.43 0 0 1-1.859 0l-6.129-5.26v9.598H19.06z"})})}function P2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M4.007 5.007A1.73 1.73 0 0 1 5.23 4.5h3.077a1.73 1.73 0 0 1 1.384.692l1.327 1.77h7.75a1.73 1.73 0 0 1 1.731 1.73v8.616a1.73 1.73 0 0 1-1.73 1.73H5.23a1.73 1.73 0 0 1-1.73-1.73V6.23c0-.46.182-.9.507-1.224M5.23 5.5a.73.73 0 0 0-.731.73V9.5h15v-.808a.73.73 0 0 0-.73-.73h-8a.5.5 0 0 1-.4-.2l-1.478-1.97a.73.73 0 0 0-.584-.292zm14.269 5h-15v6.808a.73.73 0 0 0 .73.73h13.54a.73.73 0 0 0 .73-.73z"})})}function k2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M16.863 20c-.662 0-1.21-.567-1.21-1.252s.548-1.252 1.21-1.252c.663 0 1.21.567 1.21 1.252S17.527 20 16.864 20m0-1.441a.183.183 0 0 0-.182.189c0 .118.068.189.182.189.115 0 .183-.071.183-.19a.183.183 0 0 0-.183-.188m0-.118a.516.516 0 0 1-.502-.52v-6.19L11.75 9.158a.53.53 0 0 1-.205-.71c.137-.26.456-.354.685-.212l4.886 2.717a.57.57 0 0 1 .274.473v6.496a.52.52 0 0 1-.526.52m-4.908-4.205a.8.8 0 0 1-.229-.048L2.296 9.51A.55.55 0 0 1 2 9.014c0-.212.114-.401.297-.472l9.52-4.489a.47.47 0 0 1 .434 0l9.452 4.489a.55.55 0 0 1 .297.472.49.49 0 0 1-.297.473l-9.52 4.701a.8.8 0 0 1-.228.048m-8.22-5.198 8.22 4.087 8.288-4.087-8.22-3.898zm8.151 8.41c-4.749 0-6.644-2.905-6.712-3.047a.7.7 0 0 1-.092-.284V10.81c0-.283.229-.52.503-.52s.502.237.502.52v3.142c.388.496 2.077 2.434 5.776 2.434 3.653 0 5.548-1.938 6.005-2.457v-2.93c0-.284.228-.52.502-.52s.502.236.502.52v3.118a.6.6 0 0 1-.091.307c-.046.142-2.192 3.024-6.895 3.024"})})}function D2e(e){return j.jsx("svg",{...e,children:j.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 L2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:'M12.335 4C14.7258 4.00011 16.6631 5.90392 16.6631 8.26074C16.6629 9.95954 15.6586 11.3904 13.877 12.2334L15.2314 13.5742C15.4776 13.8297 15.4899 14.2192 15.2373 14.4619L13.7734 15.8994L14.7773 16.8828C15.0235 17.1318 15.0366 17.5149 14.7842 17.7705L12.7822 19.7441C12.523 19.9933 12.153 19.9618 11.8809 19.7383L10.8252 18.8252C10.6373 18.6591 10.5723 18.4158 10.5723 18.2051V12.1758C8.99791 11.4924 8.00018 9.97233 8 8.26074C8 5.89108 9.9246 4 12.335 4ZM12.335 5.02832C10.5078 5.02832 9.03711 6.47232 9.03711 8.26074C9.03732 9.79975 10.0929 11.096 11.6152 11.4346V18.0264L12.335 18.7285L13.7471 17.3174L12.8271 16.4229V15.3633L14.2012 14.0283L12.9307 12.7695V11.4795C14.5568 11.0963 15.6199 9.78709 15.6201 8.26074C15.6201 6.47238 14.1556 5.02843 12.335 5.02832ZM12.3496 5.875C13.125 5.875 13.7559 6.50584 13.7559 7.28125C13.7559 8.05666 13.125 8.6875 12.3496 8.6875C11.5744 8.68728 10.9434 8.05652 10.9434 7.28125C10.9434 6.50598 11.5744 5.87522 12.3496 5.875ZM12.3496 6.8125C12.0913 6.81272 11.8809 7.02291 11.8809 7.28125C11.8809 7.53959 12.0913 7.74978 12.3496 7.75C12.6081 7.75 12.8184 7.53972 12.8184 7.28125C12.8184 7.02278 12.6081 6.8125 12.3496 6.8125Z" fill="#313543'})})}const _r=Er.encloseNamespace("userManager.utils");Zr.ActivateUser,Zr.AddUsersClassroom,Zr.ChangeYearGroup,Zr.DeactivateUser,Zr.DeleteUser,Zr.ResetPassword,Zr.RolloverYearGroup,Zr.SendAccountReminderEmail,Zr.CreateUser,Zr.SendAccountActivationEmail,Zr.RemoveUser;const bs={getSteps(e,t,r,n){var o,l;const i=[{id:"select-action",text:_r("choose"),appLink:r==null?void 0:r.bulkActionsSelectAction},{id:"action-details",text:_r("details"),appLink:(o=r==null?void 0:r.bulkActionsActionDetails)==null?void 0:o[n],disabled:!((l=r==null?void 0:r.bulkActionsActionDetails)!=null&&l[n])},{id:"confirmation",text:_r("confirmation")},{id:"status",text:_r("status")}],a={id:"review-accounts",text:_r(e===yi.Learner?"reviewStudents":"reviewStaff"),subText:_r(e===yi.Learner?"reviewSubTextStudents":"reviewSubTextStaff",{smartCount:t}),appLink:r==null?void 0:r.bulkActionsReviewAccounts};return typeof t!="number"&&delete a.subText,i.unshift(a),i},getActionOptions({userType:e,allowYearGroupRollover:t,countsByStatus:r,client:n,products:i,yearGroups:a,hasClassroomsFeature:o}){const l=[];l.push({order:40,id:"activation",icon:P2e,name:_r("deactivateReactivate"),infoComponent:()=>j.jsx(n2e,{userType:e})});const s=!(r!=null&&r.Disabled)&&!(r!=null&&r.Inactive);return(n!==SI.Primary||(i==null?void 0:i.includes(xo.Online)))&&l.push({order:50,id:"delete",icon:uZ,name:_r("delete"),infoComponent:()=>j.jsx(s2e,{userType:e}),disabled:s,tooltip:s?_r("deleteDisabledTooltip"):""}),n!==SI.Online&&!(i!=null&&i.includes(xo.Online))&&l.push({order:50,id:"removeFromSchool",icon:uZ,name:_r("removeFromSchool"),infoComponent:()=>j.jsx(u2e,{userType:e}),disabled:s,tooltip:s?_r("removeFromSchoolDisabledTooltip"):""}),e===yi.Learner&&((a==null?void 0:a.length)>1&&l.push({order:20,id:"changeYearGroup",icon:D2e,name:_r("changeYearGroup"),infoComponent:()=>j.jsx(o2e,{})}),l.push({order:30,id:"resetPassword",icon:L2e,name:_r("resetPassword"),infoComponent:()=>j.jsx(c2e,{})}),l.push({order:35,id:"activationEmail",icon:lZ,name:_r("activationEmail"),infoComponent:()=>j.jsx(i2e,{})}),o&&l.push({order:60,id:"addToClassroom",icon:I2e,name:_r("addToClassroom"),infoComponent:()=>j.jsx(a2e,{})}),(a==null?void 0:a.length)>1&&l.push({order:70,id:"yearGroupRollover",icon:k2e,name:_r("yearGroupRollover"),infoComponent:()=>j.jsx(f2e,{}),disabled:!(t!=null&&t.canRollover),tooltip:F2e(t)})),e===yi.Staff&&l.push({order:60,id:"resetEmail",icon:lZ,name:_r("resetEmail"),infoComponent:()=>j.jsx(l2e,{})}),l.sort((h,p)=>h.order-p.order)},mapSubActionToDisplayName(e){switch(e){case"yearGroupRollover":return _r("yearGroupRolloverDisplayName");case"changeYearGroup":return _r("changeYearGroupDisplayName");case"deactivate":return _r("deactivateDisplayName");case"reactivate":return _r("reactivateDisplayName");case"delete":return _r("deleteDisplayName");case"addToClassroom":return _r("addToClassroomDisplayName");case"resetPassword":return _r("resetPasswordDisplayName");case"resetEmail":return _r("resetEmailDisplayName");case"activationEmail":return _r("activationEmailDisplayName");case"removeFromSchool":return _r("removeFromSchoolDisplayName");default:return""}},getWizardAppLinks(e){const t=Object.keys(e.bulkActionsActionDetails).map(i=>e.bulkActionsActionDetails[i]),r=Object.keys(e.bulkActionsConfirmation).map(i=>e.bulkActionsConfirmation[i]),n=Object.keys(e.bulkActionsStatus).map(i=>e.bulkActionsStatus[i]);return[e.bulkActionsReviewAccounts,e.bulkActionsSelectAction,...t,...r,...n]},getErrorListItem(e,t,r){const n=this.getUserErrorMessage(e.errorCode);return j.jsx(T2e,{user:e,userType:e.userType,imageCdnUrl:t,errorMessage:n,currentUser:r})},getUserErrorMessage(e){switch(e){case Hs.NoAction:case Hs.Succeed:return"";case Hs.InvalidYearGroup:return _r("invalidYearGroupError");case Hs.MissingYearGroup:return _r("missingYearGroupError");case Hs.NewYearGroupNotSet:return _r("yearGroupUpdateError");case Hs.EmailNotVerified:return _r("emailNotVerifiedError");case Hs.UserDisabled:return _r("userDeactivatedError");case Hs.Unknown:case Hs.CustomerNotFound:case Hs.UserNotFound:default:return _r("genericUnexpectedError",{errorCode:e})}},getCreateJobRequestData(e,t,r,n){switch(e.subAction){case"yearGroupRollover":return{name:Vs.YearGroupRollover,type:Zr.RolloverYearGroup,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:N2e(e,t)};case"changeYearGroup":return{name:Vs.ChangeYearGroup,type:Zr.ChangeYearGroup,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:M2e(e)};case"delete":return{name:Vs.DeleteUser,type:Zr.DeleteUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"removeFromSchool":return{name:Vs.RemoveUser,type:Zr.RemoveUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"deactivate":return{name:Vs.DeactivateUser,type:Zr.DeactivateUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:U2e(e,n)};case"reactivate":return{name:Vs.ActivateUser,type:Zr.ActivateUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"addToClassroom":return{name:Vs.AddToClassroom,type:Zr.AddUsersClassroom,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:j2e(e)};case"resetPassword":return{name:Vs.ResetPassword,type:Zr.ResetPassword,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:$2e(e)};case"resetEmail":return{name:Vs.SendResetPasswordEmail,type:Zr.SendAccountReminderEmail,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"activationEmail":return{name:Vs.SendAccountActivationEmail,type:Zr.SendAccountActivationEmail,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};default:vr.throw(new Rn(`No handler for type ${e.subAction} in BulkUserActionsHelper.getCreateJobRequestData`))}return null},useSetWizardConfirmationCallback(e){const{setOnClickConfirm:t}=Xt.useContext(A2e),[r]=Tv(D1.BULK_USER_ACTIONS);Xt.useEffect(()=>{t(()=>e)},[r==null?void 0:r.subAction])},useCreateJobErrorAlert(){const e=O2e();return()=>{e.error(_r("failedToCreateJob"))}},mapDataTypeToUserType(e){switch(e){case md.Staff:return yi.Staff;case md.Learner:return yi.Learner;default:return yi.Unknown}},mapUserTypeToDataType(e){switch(e){case yi.Learner:return md.Learner;case yi.Staff:return md.Staff;case yi.Unknown:return md.Unknown}},getActionTypeFilterOptions(){return[{id:Zr.ActivateUser,name:_r("activate")},{id:Zr.DeactivateUser,name:_r("deactivate")},{id:Zr.DeleteUser,name:_r("deleteUser")},{id:Zr.RolloverYearGroup,name:_r("yearGroupRollover")},{id:Zr.ChangeYearGroup,name:_r("changeYearGroup")},{id:Zr.CreateUser,name:_r("createUser")},{id:Zr.ResetPassword,name:_r("resetPassword")},{id:Zr.SendAccountReminderEmail,name:_r("resetEmail")},{id:Zr.AddUsersClassroom,name:_r("addToClassroom")},{id:Zr.SendAccountActivationEmail,name:_r("activationEmail")},{id:Zr.RemoveUser,name:_r("removeFromSchool")}]},getUserTypeFilterOptions(){return[{id:yi.Staff,name:_r("staff")},{id:yi.Learner,name:_r("students")}]},mapSubActionToVerb(e){return e==="delete"?"Delete":e==="removeFromSchool"?"Remove":e==="resetEmail"||e==="activationEmail"?"Email":e==="addToClassroom"?"Add":"Update"},mapJobTypeToName(e){switch(e){case Zr.ActivateUser:return _r("activate");case Zr.AddUsersClassroom:return _r("addToClassroom");case Zr.ChangeYearGroup:return _r("changeYearGroup");case Zr.DeactivateUser:return _r("deactivate");case Zr.DeleteUser:return _r("delete");case Zr.ResetPassword:return _r("resetPassword");case Zr.RolloverYearGroup:return _r("yearGroupRollover");case Zr.SendAccountReminderEmail:return _r("sendAccountReminderEmail");case Zr.CreateUser:return _r("bulkUpload");case Zr.SendAccountActivationEmail:return _r("sendAccountActivationEmail");case Zr.RemoveUser:return _r("removeUser");default:return _r("unknown")}},hasFilterOrQuery(e){return!!(e.query||e.isAdmin||e.status||e.yearGroup)}};function Bu(e){return{batchObjectIds:[...e.userIdMap.keys()],fullBatchObjects:void 0}}function N2e(e,t){return{fullBatchObjects:{source:"UserApi",ownerId:t,objectType:Poe.User,query:`{userType:${yi.Learner}}`},finalYearGroupId:e.yearGroup.id}}function M2e(e){const t=Bu(e);return t.newYearGroupId=e.yearGroup.id,t}function $2e(e){const t=Bu(e);return t.newPassword=e.password,t.changeOnNextLogin=e.changeOnNextLogin,t}function F2e(e){if(e.canRollover)return"";switch(e.reason){case"select-all-students":return _r("selectAllStudents");case"cooldown":return _r("rolloverCooldown",{date:Oo.format(e.lastRolloverDate,"DD/MM/YYYY")})}}function j2e(e){const t=Bu(e);return t.classroomIds=[e.classroom.id],t}function U2e(e,t){var n;const r=Bu(e);return t!=null&&t.id&&(r.batchObjectIds=((n=r.batchObjectIds)==null?void 0:n.filter(i=>i.toString()!==t.id.toString()))??[]),r}const q2e="search.durationFilter";function V2e(e){let t="";switch(e.id){case"bite-sized":t="rangeBiteSized";break;case"short":t="rangeShort";break;case"medium":t="rangeMedium";break;case"long":t="rangeLong";break}return Er.getPhrase(q2e,t)}function H2e(e){return j.jsxs("li",{className:"d-flex flex-fill flex-column align-items-center mb-2 mb-md-0 mx-1",children:[j.jsx("button",{onClick:()=>e.onClick(e.option),className:`btn w-100 text-center btn-${e.active?"dark":"outline-dark"} mb-1`,disabled:e.disabled,children:e.option.name}),j.jsx("span",{children:V2e(e.option)})]})}function B2e(e){const t=Bn.first(e.draftState.selection);function r(n){if((t==null?void 0:t.id)===n.id){e.setDraftState({active:!1,selection:[]});return}e.setDraftState({active:!0,selection:[n]})}return j.jsxs(j.Fragment,{children:[j.jsx(Pf,{title:e.filter.name}),j.jsx("ul",{className:"d-flex list-unstyled flex-column flex-md-row mx-n1 mb-2",children:e.filter.options.map(n=>j.jsx(H2e,{option:n,onClick:r,active:(t==null?void 0:t.id)===n.id,disabled:e.filter.disabled||n.disabled},n.id))})]})}const z2e=ge.createContext(null);function q8e(e,t){switch(t.type){case"update":return t.payload;default:return e}}const W2e="_icon_bcwaq_1",G2e="_activeIcon_bcwaq_5",K2e="_text_bcwaq_11",Y2e="_floatingIcon_bcwaq_14",X2e="_active_bcwaq_5",sd={icon:W2e,activeIcon:G2e,text:K2e,floatingIcon:Y2e,default:"_default_bcwaq_18",active:X2e},Q2e="search.moviesAndTvFilter";function Z2e(e){const t=e.filter,{state:r}=Xt.useContext(z2e),n=r[t.id],i=n==null?void 0:n.active,[a,o]=Xt.useState(!1),l=Xt.useRef(a);Xt.useEffect(()=>{i!==l.current&&(l.current=i),a!==l.current&&o(l.current)},[i]);function s(c){ba.applyFilter([t],n,{[e.filter.id]:c},r.appLink)}return j.jsxs($d,{onClick:()=>{o(!i),s({active:!i})},className:`mx-1 btn ${i?"btn-dark":"btn-outline-dark"} position-relative fw-semibold d-flex align-items-center flex-shrink-0`,children:[j.jsx("img",{src:e.iconUrl,className:`${sd.icon} position-absolute ${i?sd.activeIcon:""}`}),j.jsx("div",{className:sd.text,children:j.jsx(bn,{namespace:Q2e,phrase:"title"})}),j.jsx("img",{src:e.extraIconUrl,className:`position-absolute ${sd.floatingIcon} ${a?sd.active:sd.default}`})]})}function J2e(e){const t={};for(const r of e.filter.options)r.group&&(t[r.group]||(t[r.group]=[]),t[r.group].push(r));return j.jsx(Md,{className:"mb-3",children:Object.entries(t).map(([r,n])=>j.jsxs("ul",{className:"list-unstyled",children:[j.jsx(Pf,{title:r}),j.jsx(xoe,{filter:e.filter,options:n,draftState:e.draftState,setDraftState:e.setDraftState,displayOptionsIn2Columns:!1})]},r))})}const eLe={deriveInitialClassificationFilterStateFromQueryParams(e,t){var r;return((r=e==null?void 0:e.options)==null?void 0:r.filter(n=>n.id.split(":").every(a=>t.find(l=>l.toString()===a.toString()))))??[]}},tLe="sharedSearch.utils",Wg=Er.encloseNamespace(tLe),koe={getOptions(){return[{id:"bite-sized",name:Wg("durationBiteSized")},{id:"short",name:Wg("durationShort")},{id:"medium",name:Wg("durationMedium")},{id:"long",name:Wg("durationLong")}]},getBackendParamValue(e){switch(e){case"bite-sized":return"...179999";case"short":return"180000...299999";case"medium":return"300000...899999";case"long":return"900000..."}}},rLe={deriveInitialPresentationFilterStateFromQueryParams:(e,t,r)=>wI(e,t).map(n=>{const i=r.audience;if(!(i!=null&&i.length))return n;const a=wI(n.secondLayerOptions,i);return{...n,secondLayerSelection:a}}).filter(n=>{var i;return!!((i=n.secondLayerSelection)!=null&&i.length)})},nLe="sharedSearch.utils",Gg=Er.encloseNamespace(nLe),Doe={getOptions(){return[{id:"any-year",name:Gg("anyYear"),default:!0},{id:"this-year",name:Gg("thisYear")},{id:"last-3-years",name:Gg("last3Years")},{id:"last-5-years",name:Gg("last5Years")}]},getBackendParamValue(e){const t=new Date().getFullYear();switch(e){case"any-year":return"";case"this-year":return`${t}...`;case"last-3-years":return`${t-3}...`;case"last-5-years":return`${t-5}...`}}},EI={deriveInitialRatingFilterStateFromQueryParams(e,t){if(Array.isArray(e))return e;const r=t.options,n=cZ(e,r);if(!n.length)return[];const i=Bn.last(n);return r.filter(a=>a.value>0&&a.value<=i.value)},getFrontendParamValue(e){if(!(e!=null&&e.length))return"";const t=Bn.first(e),r=Bn.last(e);return e.length===1?t.code:`${t.code}-to-${r.code}`},getBackendParamValue(e,t){const r=cZ(e,t);return r.length?r.length===1?`0...${Bn.first(r).value}`:`0...${Bn.last(r).value}`:void 0},getStudentMaxRating(e,t){var n;const r=Bn.findWhere(e,{value:(n=t.masterYearGroup)==null?void 0:n.value});return r==null?void 0:r.rating}};function cZ(e,t){const n=e.split("-to-").map(i=>t.find(a=>a.code===i));return n.every(i=>!!i)?n:[]}const iLe="sharedSearch.utils",Cs={"featured-result":1,"topic-list":8,company:8,"playlist-with-videos":1,"series-with-videos":1,"series-thumbnail":1,"playlist-thumbnail":1,"video-item":1,"companies-and-topics":16},aLe="curriculumCode",V8e={flattenResults(e){return e?e.results?{...e,results:Bn.flatten(e.results)}:{...e,results:[]}:null},getContextualSearchQueryParams(e){if(!e||!e.get("filterParam"))return{};const t=e.get("filterParam"),r=e.get("filterValue");return{[t]:r}},mapMaxScoreToSearchResults(e,t){return e.map(r=>t?{...r,_maxScore:t}:r)},groupResults(e,t,r,n,i){var c,d;if(!(e!=null&&e.length)&&!((c=t==null?void 0:t.results)!=null&&c.length)&&!((d=r==null?void 0:r.results)!=null&&d.length))return[];const[a,...o]=e,l=i.xs||i.sm,s=oLe(a,t,r,n,l);return o!=null&&o.length?sLe(o,s,l):s}};function Loe(e,t){var r;if(e._index==="video"||e._index==="interactive"||e._index==="clip")return"video-item";if(e._index==="series")return(r=e.tallPoster)!=null&&r.id&&!t?"series-with-videos":"series-thumbnail";if(e._index==="classification")return"topic-list";if(e._index==="playlist")return t?"playlist-thumbnail":"playlist-with-videos"}function oLe(e,t,r,n,i){var c,d,h;const a=i?"playlist-thumbnail":"playlist-with-videos",o=i?"series-thumbnail":"series-with-videos",l=[{type:"companies-and-topics",items:[...((c=r==null?void 0:r.results)==null?void 0:c.slice(0,Cs.company))??[],...((d=t==null?void 0:t.results)==null?void 0:d.slice(0,Cs["topic-list"]))??[]]},{type:"featured-result",items:oa.isEmpty(n)?[]:[n]},{type:"video-item",items:[]},{type:"video-item",items:[]},{type:"video-item",items:[]},{type:a,items:[]},{type:o,items:[]},{heading:Er.getPhrase(iLe,"relatedTopics"),type:"topic-list",items:((h=t==null?void 0:t.results)==null?void 0:h.slice(Cs["topic-list"],Cs["topic-list"]*2))??[]}];let s=!1;return e==null||e.forEach(p=>{const g=Loe(p,i);if(p._featured&&!s&&p._index==="video"){s=!0;return}if(l[2].items.length<Cs["video-item"]&&g==="video-item"){l[2].items.push(p);return}if(l[3].items.length<Cs["video-item"]&&g==="video-item"){l[3].items.push(p);return}if(l[4].items.length<Cs["video-item"]&&g==="video-item"){l[4].items.push(p);return}if(l[5].items.length<Cs[a]&&g===a){l[5].items.push(p);return}if(l[6].items.length<Cs[o]&&g===o){l[6].items.push(p);return}const m=l[l.length-1];if((m==null?void 0:m.type)===g){const _=Cs[g];m.items.length>=_?l.push({type:g,items:[p]}):m.items.push(p)}else l.push({type:g,items:[p]})}),l.filter(p=>{var g;return(g=p.items)==null?void 0:g.length})}function sLe(e,t,r){return e&&e.forEach(n=>{const i=t[t.length-1];let a=!0;n.forEach(o=>{const l=Loe(o,r);if(a&&i.type===l)i.items.length>=Cs[l]?(a=!1,t.push({type:l,items:[o]})):i.items.push(o);else{const s=t[t.length-1];(s==null?void 0:s.type)===l?s.items.length>=Cs[l]?t.push({type:l,items:[o]}):s.items.push(o):t.push({type:l,items:[o]})}})}),t}const ir=Er.encloseNamespace("sharedSearch.utils"),uLe={classification:!0,categoryId:!0,channel:!0},fZ={series:!0,video:!0,playlist:!0,classification:!0,clip:!0,interactive:!0,company:!0,category:!0},cO={SortBy:(e,t)=>({id:"sort",name:ir("newest"),type:"dropdown",options:e,compatibleIndices:[...Jh,...Hg],labelPrefix:t}),Presentation:(e,t)=>({id:"presentation",secondaryId:"audience",name:ir("schoolLevels"),type:"nested-checkbox",options:lLe(e),compatibleIndices:t?["playlist","series","clip","interactive","video","company","category"]:Jh}),Topics:e=>({compatibleIndices:["playlist","series","clip","classification","interactive","video"],options:e,type:"checkbox",name:ir("topicsFilter"),id:"classification"}),Source:e=>({id:"source",type:"checkbox",name:ir("sources"),options:e,compatibleIndices:["video","clip","interactive","category"]}),MoviesAndTv:(e,t)=>({id:"moviesAndTv",name:ir("moviesAndTv"),type:"button",compatibleIndices:["video","series","clip","interactive","classification","playlist","company"],customComponent:r=>j.jsx(Z2e,{...r,filter:r.filter,iconUrl:e,extraIconUrl:t})}),YearGroup:e=>({id:"yearGroup",name:ir("yearGroup"),type:"checkbox",options:e,compatibleIndices:Hg}),ObjectTypes:(e=[],t=!1)=>({id:"type",name:ir("types"),type:t?"grouped-checkbox":"checkbox",options:ba.getObjectTypeOptions(e,t),disableOptions:ba.getIsObjectTypeOptionDisabled,compatibleIndices:Jh}),Rating:(e,t)=>({id:"rating",name:ir("rating"),type:"rating",options:e&&t?e.filter(r=>r.value<=t.value):e,compatibleIndices:["video","series"]}),Interactives:()=>({id:"interactives",name:ir("interactives"),type:"switch",description:ir("interactivesDescription"),compatibleIndices:["video","clip"]}),Clips:()=>({id:"clips",name:ir("clips"),type:"switch",description:ir("clipsDescription"),compatibleIndices:["video"]}),HasResources:()=>({id:"hasResources",name:ir("resources"),type:"switch",description:ir("resourcesDescription"),compatibleIndices:["video","clip"]}),HasSubtitles:()=>({id:"hasSubtitles",name:ir("subtitles"),type:"switch",description:ir("subtitlesDescription"),compatibleIndices:Vg}),ProductionYear:()=>({id:"productionYear",name:ir("productionYear"),type:"radio",options:Doe.getOptions(),compatibleIndices:[...Vg,"series"]}),IsHD:()=>({id:"isHd",name:ir("isHd"),type:"switch",description:ir("isHdDescription"),compatibleIndices:Vg}),IsClickViewContent:()=>({id:"producedByClickView",name:ir("producedByClickView"),type:"switch",description:ir("producedByClickViewDescription"),compatibleIndices:Jh}),Duration:()=>({id:"duration",name:ir("duration"),type:"radio",customComponent:B2e,options:koe.getOptions(),compatibleIndices:Vg}),TagOrClassification:e=>({id:"tagOrClassification",type:"tag",options:e&&e.map(t=>({id:t,name:t})),compatibleIndices:Jh}),Status:e=>({id:"status",name:ir("status"),type:"checkbox",compatibleIndices:[...Hg,"customer"],options:e||ba.getStatusOptions()}),JobStatus:()=>({id:"jobStatus",name:ir("status"),type:"checkbox",compatibleIndices:[],options:ba.getJobStatusOptions()}),IsAdmin:(e,t)=>{const r=!!(e!=null&&e.organisation),i=ir(r?t==="US"?"isAdminDescriptionOrgUs":"isAdminDescriptionOrg":"isAdminDescription");return{id:"isAdmin",name:ir("isAdmin"),type:"switch",compatibleIndices:Hg,description:i}},BulkActionType:()=>({id:"bulkActionType",name:ir("actionType"),type:"checkbox",options:bs.getActionTypeFilterOptions(),compatibleIndices:[]}),UserType:()=>({id:"userType",name:ir("users"),type:"checkbox",options:bs.getUserTypeFilterOptions(),compatibleIndices:[]}),TvFields:()=>({id:"filter",name:ir("tvFields"),type:"radio",options:ba.getTvFieldsOptions(),compatibleIndices:[]}),TvChannel:e=>({id:"channel",name:ir("tvChannel"),type:"checkbox",options:ba.getTvChannelOptions(e),compatibleIndices:[]}),TvDateBroadcast:()=>({id:"dateBroadcast",name:ir("tvDateBroadcast"),type:"radio",options:ba.getTvDateBroadcastOptions(),compatibleIndices:[]}),Categories:e=>({id:"categoryId",name:ir("categories"),type:"checkbox",options:ba.getCategoriesOptions(e),compatibleIndices:[]}),CustomerStatus:()=>({id:"customerStatus",name:ir("customerStatus"),type:"radio",options:ba.getCustomerStatusOptions(),compatibleIndices:[]}),SpecialEventTypes:()=>({id:"specialEventType",type:"checkbox",name:"Event Type",compatibleIndices:[],options:ba.getSpecialEventTypeOptions()}),CustomerType:()=>({id:"customerType",name:ir("customerType"),type:"radio",options:ba.getCustomerTypeOptions(),compatibleIndices:[]})};function lLe(e){return e?e.map(t=>({...t,id:t.id.toString(),secondLayerOptions:t.audiences.map(r=>({...r,id:r.id.toString()}))})):[]}const ba={displayTwoLayers(e){return!(e.type!=="nested-checkbox"||!this.hasManyFilterOptions(e.options)||e.options.every(t=>!this.hasManyFilterOptions(t==null?void 0:t.secondLayerOptions)))},hasManyFilterOptions(e){return e.length>=t2e.MULTI_PRESENTATION_THRESHOLD},displayTwoColumns(e){var t;return uLe[e.id]&&((t=e.options)==null?void 0:t.length)>=$l.MAX_CHECKBOXES_PER_COLUMN},showPresentationFilter(e){var t,r;return(t=e.options)!=null&&t.length?e.options.length>1||((r=Bn.first(e.options).secondLayerOptions)==null?void 0:r.length)>1:!1},getMoreFilters(e){return{id:"moreFilters",name:ir("moreFilters"),type:"more-filters",filters:e}},mapTypeToComponent(e){switch(e){case"switch":return t=>j.jsx(jDe,{...t},t.id);case"checkbox":return t=>j.jsx(LDe,{...t},t.id);case"nested-checkbox":return t=>j.jsx(FDe,{...t},t.id);case"grouped-checkbox":return t=>j.jsx(J2e,{...t},t.id);case"radio":return t=>j.jsx(HDe,{...t},t.id);case"rating":return t=>j.jsx(GDe,{...t},t.id);case"dropdown":return t=>j.jsx(UDe,{...t},t.id);default:return()=>j.jsx(j.Fragment,{})}},deriveInitialStateFromQuery(e={},t=null,r=null,n){var l,s,c,d,h,p,g,m;const i={sort:{active:!!e.sort,selection:Ci(e,t,"sort")},classification:{active:!!e.classification,selection:Ci(e,t,"classification")},presentation:{active:!!e.presentation,selection:Ci(e,t,"presentation")},type:{active:!!e.type,selection:Ci(e,t,"type")},specialEventType:{active:!!e.specialEventType,selection:Ci(e,t,"specialEventType")},rating:{active:!!e.rating,selection:Ci(e,t,"rating")},interactives:{active:((l=e.interactives)==null?void 0:l.toString())==="true"},clips:{active:((s=e.clips)==null?void 0:s.toString())==="true"},yearGroup:{active:!!e.yearGroup,selection:Ci(e,t,"yearGroup")},moviesAndTv:{active:((c=e.moviesAndTv)==null?void 0:c.toString())==="true"},classroom:{active:!!e.classroom,selection:Ci(e,t,"classroom")},audience:{active:!!e.audience,selection:Ci(e,t,"audience")},hasResources:{active:((d=e.hasResources)==null?void 0:d.toString())==="true"},hasSubtitles:{active:((h=e.hasSubtitles)==null?void 0:h.toString())==="true"},productionYear:{active:!!e.productionYear,selection:Ci(e,r==null?void 0:r.filters,"productionYear")},isHd:{active:((p=e.isHd)==null?void 0:p.toString())==="true"},producedByClickView:{active:((g=e.producedByClickView)==null?void 0:g.toString())==="true"},duration:{active:e.duration,selection:Ci(e,r==null?void 0:r.filters,"duration")},tagOrClassification:{active:!!e.tagOrClassification,selection:Ci(e,t,"tagOrClassification")},status:{active:!!e.status,selection:Ci(e,t,"status")},jobStatus:{active:!!e.jobStatus,selection:Ci(e,t,"jobStatus")},isAdmin:{active:((m=e.isAdmin)==null?void 0:m.toString())==="true"},bulkActionType:{active:!!e.bulkActionType,selection:Ci(e,t,"bulkActionType")},userType:{active:!!e.userType,selection:Ci(e,t,"userType")},filter:{active:!!e.filter,selection:Ci(e,t,"filter")},channel:{active:!!e.channel,selection:Ci(e,t,"channel")},dateBroadcast:{active:!!e.dateBroadcast,selection:Ci(e,t,"dateBroadcast")},categoryId:{active:!!e.categoryId,selection:Ci(e,t,"categoryId")},hasInteractives:{active:!!e.hasInteractives,selection:Ci(e,t,"hasInteractives")},source:{active:!!e.source,selection:Ci(e,t,"source")},customerStatus:{active:!!e.customerStatus,selection:Ci(e,t,"customerStatus")},customerType:{active:!!e.customerType,selection:Ci(e,t,"customerType")}},a=(_,E)=>{var b;const w=i[E.id];return w.active&&"selection"in w&&!((b=w.selection)!=null&&b.length)&&(w.active=!1),_[E.id]=i[E.id],_},o=t.reduce(a,{});return r!=null&&r.filters&&(o.moreFilters=r.filters.reduce(a,{})),o.appLink=n,o},hasActiveFilters(e){const t=Object.keys(e);return t.length?!!t.filter(n=>!(n==="query"||n==="cursor"||n==="page"||n===aLe||Array.isArray(e[n])&&!e[n].length)).length:!1},getLabel(e,t){var r,n;if(!((r=t==null?void 0:t.selection)!=null&&r.length))return e.name;if(e.type==="dropdown")return Bn.first(t.selection).name;if(e.type==="radio"){const i=Bn.first(t.selection);return!i||i.default?e.name:i.name}if(e.type==="nested-checkbox"||e.type==="checkbox"||e.type==="grouped-checkbox"){if(e.options.find(a=>a.default&&t.selection.find(o=>o.id===a.id)))return e.name;if(e.secondaryId){const a=(n=t.selection)==null?void 0:n.reduce((o,l)=>{var d,h;const s=e.options,c=s.findIndex(p=>p.id===l.id);return((d=s[c].secondLayerOptions)==null?void 0:d.length)===0?o+1:o+(((h=l.secondLayerSelection)==null?void 0:h.length)??0)},0);return`${e.name} - ${a}`}return`${e.name} - ${t.selection.length}`}if(e.type==="rating"){if(!t.selection.length)return e.name;const i=Bn.first(t.selection),a=Bn.last(t.selection);return t.selection.length===1?`${e.name}: ${i.code}`:`${e.name}: ${i.code} to ${a.code}`}},buildFrontendFilterParams(e,t){const r={...e};return t.forEach(n=>{var s,c;if(!(n!=null&&n.filter))return;const{id:i,type:a}=n.filter,{active:o,selection:l}=n.state;switch(a){case"switch":r[i]=o?"true":"";break;case"radio":case"dropdown":const d=((s=n.state.selection)==null?void 0:s.length)===1&&((c=Bn.first(n.state.selection))==null?void 0:c.default);r[i]=n.state.selection.length&&!d?Bn.first(n.state.selection).id:"";break;case"nested-checkbox":r[i]=o?l.map(g=>g.id):null;const{secondaryId:h}=n.filter;h&&(r[h]=[].concat(...l.map(g=>g.secondLayerSelection.map(m=>m.id))));break;case"checkbox":case"grouped-checkbox":if(!o){r[i]=null;break}const p=[];for(const g of l){const m=g.id.toString().split(":");if(m.length>1)for(const _ of m)p.push(_);else p.push(g.id)}r[i]=p;break;case"tag":r[i]=o?l.map(g=>g.id):null;break;case"rating":r[i]=o?EI.getFrontendParamValue(l):null;break;case"button":r[i]=o?"true":"";break}r[i]||delete r[i]}),oa.omit(r,["cursor"])},buildBackendFilterParams(e,t=[],r,n,i){const a=n?{"filters.presentation":r,isLearner:n}:{};return Object.keys(e).reduce((o,l)=>{const s=e[l];return Array.isArray(s)&&!s.length||!s||!XDe[l]?o:l==="rating"?(o[`${$l.FILTER_PARAM_PREFIX}${l}`]=EI.getBackendParamValue(s,t),o):l==="productionYear"?(o[`${$l.FILTER_PARAM_PREFIX}${l}`]=Doe.getBackendParamValue(s),o):l==="duration"?(o[`${$l.FILTER_PARAM_PREFIX}${l}`]=koe.getBackendParamValue(s),o):l==="moviesAndTv"?(o[`${$l.FILTER_PARAM_PREFIX}curationTag`]=Ioe.MOVIES_AND_TV,o):l==="source"?{...o,...e2e.getBackendParamValue(s,i)}:(o[`${$l.FILTER_PARAM_PREFIX}${l}`]=s,o)},a)},getAppliedIndices(e={},t=!1){const{type:r}=e,n=["category"];function i(o){return(t||!n.includes(o))&&fZ[o]}if(r){if(!Array.isArray(r))return[r].filter(i);if(r.length)return r.filter(i)}const a=[];return t&&a.push(...n),e.source?["video","clip","interactive",...a]:["series","video","playlist","classification","clip","interactive","company",...a]},applyFilter(e,t,r,n){if(oa.isEqual(t,r))return;const a=Object.keys(r).map(l=>{var h,p;const s=e.find(g=>g.id===l),c=r[l],d=((h=c.selection)==null?void 0:h.length)===1&&((p=Bn.first(c.selection))==null?void 0:p.default);return{filter:s,state:{active:c.active&&!d,selection:c.selection}}}),o=Un.GetQuery();Vn.trigger({...n,params:ba.buildFrontendFilterParams(o,a)},{replace:!0})},mixinDisabledFields(e,t,r,n){let i=[...r,...(n==null?void 0:n.filters)??[]];i=cLe(e,i,t),i=fLe(e,i);const a={mainFilters:i.filter(o=>r.find(l=>l.id===o.id))};return n!=null&&n.filters&&(a.moreFilters={...n,filters:i.filter(o=>n.filters.find(l=>l.id===o.id))}),a},logFilterEvent(e,t,r,n,i){var o;const a=[];e==null||e.forEach(l=>{const s=r[l.id];s.active&&a.push({type:l.id,selection:s.selection})}),(o=t==null?void 0:t.filters)==null||o.forEach(l=>{const s=r.moreFilters[l.id];s.active&&a.push({type:l.id,selection:s.selection})}),a.length||(i.descriptor=Cie.Reset),Ti.logUserAction({query:n??"",filters:a},Ti.mergeOptions(i,{workflowPhase:Io.Complete,actionType:Pt.Filter}))},getObjectTypeOptions(e=[],t){return t?[{id:"video",name:ir("videos"),group:ir("videoTypes")},{id:"interactive",name:ir("interactives"),group:ir("videoTypes")},{id:"clip",name:ir("clips"),group:ir("videoTypes")},{id:"classification",name:ir("topics"),group:ir("collections")},{id:"series",name:ir("series"),group:ir("collections")},{id:"playlist",name:ir("playlists"),group:ir("collections")},{id:"category",name:ir("category"),group:ir("collections")}].filter(r=>!e.find(n=>n===r.id)):[{id:"classification",name:ir("topics")},{id:"playlist",name:ir("playlists")},{id:"series",name:ir("series")},{id:"video",name:ir("videos")},{id:"clip",name:ir("clips")},{id:"interactive",name:ir("interactives")}].filter(r=>!e.find(n=>n===r.id))},getIsObjectTypeOptionDisabled(e,t,r){return e.map(n=>{let i=!1;return t.forEach(a=>{var l;if(i)return;const o=r[a.id]||r.moreFilters[a.id];!(o!=null&&o.active)||!((l=a.compatibleIndices)!=null&&l.length)||a.compatibleIndices.find(s=>n.id===s)||(i=!0)}),{...n,disabled:i}})},getNameSortOptions(){return[{id:"newest",name:ir("newest")},{id:"oldest",name:ir("oldest")},{id:"first-name-atoz",name:ir("firstNameAToZ")},{id:"first-name-ztoa",name:ir("firstNameZToA")},{id:"surname-atoz",name:ir("surnameAToZ")},{id:"surname-ztoa",name:ir("surnameZToA")}]},getYearGroupOptions(e){return e!=null&&e.length?e.map(t=>({id:t.value.toString(),name:t.name})):[]},getStatusOptions(){return[{id:"active",name:ir("active")},{id:"deactivated",name:ir("deactivated")},{id:"pending",name:ir("pending")}]},getJobStatusOptions(){return[{id:"completed",name:ir("completed")},{id:"failed",name:ir("errored")},{id:"inProgress",name:ir("inProgress")}]},getTvFieldsOptions(){return[{id:"0",name:ir("allFields"),default:!0},{id:"1",name:ir("titleDescriptionField")},{id:"2",name:ir("captionsField")}]},getTvChannelOptions(e){return e!=null&&e.length?e.map(t=>({id:t.name,name:t.name})):[]},getTvDateBroadcastOptions(){return[{id:"any-time",name:ir("anyTime"),default:!0},{id:"yesterday",name:ir("yesterday")},{id:"last-week",name:ir("lastWeek")},{id:"last-2-weeks",name:ir("last2Weeks")}]},getCustomerStatusOptions(){return[{id:Ic.Unclassified.toString(),name:Pc.Unclassified},{id:Ic.Active.toString(),name:Pc.Active},{id:Ic.Prospect.toString(),name:Pc.Prospect},{id:Ic.LostCustomer.toString(),name:Pc.LostCustomer},{id:Ic.Disabled.toString(),name:Pc.Disabled},{id:Ic.Other.toString(),name:Pc.Other}]},getCustomerTypeOptions(){return[{id:Es.Unclassified.toString(),name:ws.Unclassified},{id:Es.Primary.toString(),name:ws.Primary},{id:Es.Secondary.toString(),name:ws.Secondary},{id:Es.K12.toString(),name:ws.K12},{id:Es.Tertiary.toString(),name:ws.Tertiary},{id:Es.NonEducational.toString(),name:ws.NonEducational},{id:Es.Partners.toString(),name:ws.Partners},{id:Es.Internal.toString(),name:ws.Internal},{id:Es.Other.toString(),name:ws.Other},{id:Es.ClickView.toString(),name:ws.ClickView},{id:Es.System.toString(),name:ws.System}]},getCategoriesOptions(e){return e!=null&&e.length?e.map(t=>({id:t.data.id,name:t.data.name})):[]},getSpecialEventTypeOptions(){return[{id:Hn.BreakingNews,name:$u[Hn.BreakingNews]},{id:Hn.SportingEvent,name:$u[Hn.SportingEvent]},{id:Hn.Observance,name:$u[Hn.Observance]},{id:Hn.NaturalDisaster,name:$u[Hn.NaturalDisaster]},{id:Hn.HistoricalEvent,name:$u[Hn.HistoricalEvent]},{id:Hn.Holiday,name:$u[Hn.Holiday]},{id:Hn.Informal,name:$u[Hn.Informal]},{id:Hn.ReligiousEvent,name:$u[Hn.ReligiousEvent]},{id:Hn.Other,name:$u[Hn.Other]}]}};function Ci(e,t=[],r){var a;const n=t.find(o=>o.id===r);if(!n)return[];if(!e[r])return((a=n.options)==null?void 0:a.filter(o=>o.default))??[];if(r==="rating")return EI.deriveInitialRatingFilterStateFromQueryParams(e[r],n);let i=e[r];return Array.isArray(i)||(i=[i]),r==="classification"?eLe.deriveInitialClassificationFilterStateFromQueryParams(n,i):r==="presentation"?rLe.deriveInitialPresentationFilterStateFromQueryParams(n.options,i,e):wI(n.options,i)}function wI(e,t){return Array.isArray(t)||(t=[t]),(e==null?void 0:e.filter(r=>t.find(n=>n.toString()===r.id.toString())))??[]}function cLe(e,t,r){const n=r.reduce((i,a)=>(i[a]=!0,i),{});return t.map(i=>{var l;if(!((l=i.compatibleIndices)!=null&&l.length))return i;if(!i.compatibleIndices.find(s=>n[s]))return{...i,disabled:!0};const a=Object.keys(e).filter(s=>{const c=e[s];return"active"in c?c.active:!1});let o=!1;return a.forEach(s=>{var h;if(o)return;const c=t.find(p=>p.id===s);if(!((h=c.compatibleIndices)!=null&&h.length))return;const d=c.compatibleIndices.reduce((p,g)=>(p[g]=!0,p),{});i.compatibleIndices.find(p=>d[p])||(o=!0)}),{...i,disabled:o}})}function fLe(e,t){return t.map(r=>{if(!Ai.isFunction(r.disableOptions))return r;const n=r.disableOptions(r.options,t,e);return{...r,options:n}})}const fO={classification:(e,t)=>({application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION,args:[e==null?void 0:e.id,Fl.slugify(e==null?void 0:e.name)],params:t||{}}),classificationDirectory:e=>({application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION_TOPICS,params:e||{}}),videoType:e=>({application:sr.VIDEOS,action:Tr.Videos.PLAY_VIDEO,args:[e.id,Fl.slugify(e.name)]}),allTopics:()=>({application:sr.SUBJECTS,action:Tr.Subjects.CLASSIFICATION_ALL}),widgetVideoList:(e,t)=>({application:sr.DASHBOARD,action:Tr.Dashboard.DASHBOARD_WIDGET,args:[e,Fl.slugify(t)]}),company:e=>({application:sr.DASHBOARD,action:Tr.Dashboard.COMPANY_DASHBOARD,args:[e.id,Fl.slugify(e.name)]}),discover:()=>({application:sr.DASHBOARD,action:Tr.Dashboard.HOME}),calendar:()=>({application:sr.CALENDAR,action:Tr.Calendar.CALENDAR}),calendarMonth:(e,t)=>{const r={application:sr.CALENDAR,action:Tr.Calendar.CALENDAR_MONTH,args:[e.toLowerCase()]};return t&&(r.params={year:t}),r},livestream:e=>({application:sr.LIVESTREAMS,action:Tr.Livestreams.LIVESTREAM,args:[e==null?void 0:e.id,Fl.slugify(e==null?void 0:e.name)]}),search:(e,t)=>({application:sr.SEARCH,action:Tr.Search.HOME,params:{...t,query:e}}),resource:(e,t)=>({application:sr.VIDEOS,action:Tr.Videos.PREVIEW_PDF,args:[e.id],params:{videoId:t}}),tag:e=>({application:sr.SEARCH,action:Tr.Search.HOME,params:{tagOrClassification:e.name}})},bo={getAppLinks(){return{getVideoAppLink:fO.videoType,getPlaylistAppLink:()=>null,getSeriesAppLink:()=>null,getCompanyAppLink:fO.company,getClassificationAppLink:fO.classification,getCollectionActions:()=>[],getPreviewQuestionsAppLink:()=>null}},isSearchAppLink(e){return e.application===sr.SEARCH&&e.action===Tr.Search.HOME},useReferrerAppLink(){const e={application:sr.DASHBOARD,action:Tr.Dashboard.HOME},[t,r]=ge.useState(e),n=Wl.getCurrentRoute();return ge.useEffect(()=>{bo.isSearchAppLink(n.appLink)||r(n.appLink)},[n.appLink.application,n.appLink.action]),t},triggerAppLink(e,t={},r){let n={};t=r?oa.omit(t,["query"]):{},e&&(n.query=Fl.removeExtraSpace(e)),Object.keys(t).length&&(n={...n,...t}),Vn.trigger({application:sr.SEARCH,action:Tr.Search.HOME,params:n},{replace:r})},getInitialQuery(){var t;const e=Wl.getCurrentRoute().appLink;return bo.isSearchAppLink(e)?((t=e.params)==null?void 0:t.query)??"":""},isValidSearch(e,t){var a,o,l;if(e!=null&&e.trim())return!0;if(!bo.isSearchAppLink(t))return!1;const r=(a=t==null?void 0:t.params)==null?void 0:a.tagOrClassification,n=(o=t==null?void 0:t.params)==null?void 0:o.rating,i=(l=t==null?void 0:t.params)==null?void 0:l.moviesAndTv;return Array.isArray(r)?!!r.length:!!(r!=null&&r.length)||!!(n!=null&&n.length)||!!(i!=null&&i.length)},getQuery(e){return e.query?e.query:e.tagOrClassification?(Array.isArray(e.tagOrClassification)?e.tagOrClassification:[e.tagOrClassification]).join(" "):""},getFilters(e,t){var a,o;if(!e.hasDataLoaded||!t.hasCompleted)return null;const{schoolLevels:r,availableTopics:n}=e;return{mainFilters:[cO.Topics((a=n.data)==null?void 0:a.topics.map(l=>({name:l.name,id:l.topicIds.join(":")}))),cO.Presentation((o=r.data)==null?void 0:o.schoolLevels),cO.TagOrClassification(t.data)].filter(Boolean)}},getAppliedIndices(e={}){const{type:t}=e;if(t){if(!Array.isArray(t))return[t];if(t.length)return t}return["video"]},getBackendFilters(e){if(!e.hasDataLoaded)return null;const{queryParams:t,currentPresentationId:r,streamableLibraryId:n}=e,i=ba.buildBackendFilterParams(t,null,[r],!1,[]);n&&(i[`${$l.FILTER_PARAM_PREFIX}library`]=[n]);const a=bo.getAppliedIndices(e.queryParams).filter(o=>o!=="classification"&&o!=="company");return{queryParams:t,backendFilters:i,appliedIndices:a}}},dLe="_container_nptlg_1",hLe="_searchBar_nptlg_6",dZ={container:dLe,searchBar:hLe},pLe="search.streamableSearchBar",vLe=Er.encloseNamespace(pLe),gLe=200;function mLe(e){var E;const t=Xt.useMemo(bo.getInitialQuery,[]),[r,n]=Xt.useState(t),[i,a]=Xt.useState(!1),[o,l]=Tv(D1.SHOW_SEARCH_MASK,!1),s=Roe(r,e.queryDebounceTime),c=Wl.getCurrentRoute(),d=c.appLink,h=bo.isSearchAppLink(d),p=Xt.useRef(null),g=bo.useReferrerAppLink(),{log:m}=DDe({query:r,indices:bo.getAppliedIndices(d.params),analyticsOptions:{actionType:Pt.Search,entity:vn.SearchResults,location:aa.SearchBar}});function _(){l(!0),window.setTimeout(()=>{l(!1),Vn.trigger(g,{replace:!0})},gLe)}return Xt.useEffect(()=>{if(!(!h&&!r)){if(i){window.setTimeout(()=>a(!1),0);return}!h&&r&&!o&&l(!0)}},[r==null?void 0:r.trim(),i]),Xt.useEffect(()=>{bo.isValidSearch(r,d)||!h||_()},[(E=d.params)==null?void 0:E.tagOrClassification]),Xt.useEffect(()=>{const w={...d.params};s.trim()&&(w!=null&&w.tagOrClassification)&&!c.pageLoad&&delete w.tagOrClassification;const b=bo.isValidSearch(r,d);if(!b&&h)return _();b&&(Ti.logUserAction({query:r,indices:bo.getAppliedIndices(d.params)},{actionType:Pt.InstantSearch,entity:vn.SearchResults,location:aa.SearchBar,workflowPhase:Io.Complete}),bo.triggerAppLink(r,w,h))},[s]),Fae(qr.Radio.channel(Cn.SHELL),On.URL_CHANGE,w=>{var b,x,T;w||(w=Wl.getCurrentRoute().appLink),r&&!bo.isSearchAppLink(w)&&(a(!0),n(""),(x=(b=p.current)==null?void 0:b.resetQuery)==null||x.call(b)),bo.isSearchAppLink(w)&&((T=w.params)==null?void 0:T.query)!==!r&&n(w.params.query??"")},[r,n]),j.jsxs("form",{className:`${dZ.searchBar} form-control ps-1 pe-0 d-flex align-items-center border-0`,onSubmit:w=>w.preventDefault(),children:[j.jsx(Jo,{svg:X3}),j.jsx("div",{className:"w-100 d-flex align-items-center ps-1",children:j.jsx(Aoe,{renderAsForm:!1,onQueryChange:n,placeholder:vLe("placeholder"),onSuggestionSelected:null,searchIconPlacement:!1,initialQuery:t,autoFocusInput:e.autoFocus,theme:{container:dZ.container,input:"p-0 border-0 h-100"},onBlur:w=>w&&m(w),controlsRef:p})}),e.showCloseButton&&j.jsx(Ym,{svg:Coe,onClick:e.onClickClose,className:"btn btn-link"})]})}const yLe="_nav_qrvb9_1",_Le="_headerLeft_qrvb9_10",SLe="_searchBarContainer_qrvb9_13",ELe="_searchBarPadding_qrvb9_21",wLe="_searchBarWrapper_qrvb9_30",bLe="_actionButtons_qrvb9_55",ud={nav:yLe,headerLeft:_Le,searchBarContainer:SLe,searchBarPadding:ELe,searchBarWrapper:wLe,actionButtons:bLe},hZ="streamableShared.header",CLe=300,TLe=600,pZ={application:sr.DASHBOARD,action:Tr.Dashboard.HOME},ALe={application:sr.DEFAULT,action:Tr.Default.CONTACT_US_POPUP};function RLe({showNav:e}){var E,w,b;const[t,r]=Xt.useState(!1),n=Ji(Ks.config()),i=Ji(si.currentUser()),{hasPermissions:a,isLoaded:o}=Av(),l=_oe(),s=R4e({showNav:e}),c=l.sm||l.xs,d=(c||l.md)&&!t;Xt.useEffect(()=>{!l.sm&&!l.xs&&!l.md&&t&&r(!1)},[l,t]);const h=(E=i.data)!=null&&E.isAuthenticated?CLe:TLe,p=Vn.getHref(Vn.getCurrentAppLink()),g=p!=="/"?{redirectUrl:p}:{},m=e&&((w=i.data)==null?void 0:w.isAuthenticated)&&o&&!a(Ws.StudentExperience);function _(){var T;return!(!e||(T=i.data)!=null&&T.isAuthenticated||Vn.getCurrentAppLink().action===Tr.Default.CONTACT_US)}return j.jsxs(j.Fragment,{children:[j.jsx(C4e,{}),j.jsx("nav",{className:`navbar navbar-expanded ps-4 w-100 ${ud.nav}`,children:j.jsxs("div",{className:"container-fluid",children:[!t&&j.jsx("div",{className:`d-flex align-items-center justify-content-start ${ud.headerLeft}`,children:j.jsx(Yo,{appLink:pZ,className:"navbar-brand py-0",analyticsData:{url:Vn.getHref(pZ)},analyticsOptions:{actionType:Pt.Click,entity:vn.Url,location:aa.TopNav,descriptor:zc.ClickViewLogo},children:j.jsx(g4e,{})})}),e&&j.jsxs(j.Fragment,{children:[j.jsx("div",{className:`ms-auto me-3 ${d?"d-flex":"d-none"} align-items-center gap-3`,children:j.jsx($d,{onClick:()=>r(!0),className:"text-white",children:j.jsx(Jo,{svg:X3,size:Fd.Large})})}),j.jsx("div",{className:`${ud.searchBarContainer} ${t?"px-4":""} ${d?"d-none":"d-block"}`,children:j.jsx("div",{className:`container ${ud.searchBarPadding} ${t?"px-0 mw-100":""}`,children:i.data&&j.jsx("div",{className:ud.searchBarWrapper,children:j.jsx(mLe,{recentSearchKey:`recent:search:${((b=i.data)==null?void 0:b.id)??"public"}`,queryDebounceTime:h,showCloseButton:t,onClickClose:()=>r(!1),autoFocus:t})})})})]}),!t&&j.jsxs("div",{className:`d-flex align-items-center justify-content-end gap-3 me-4 ${ud.actionButtons}`,children:[m&&j.jsxs(Yo,{appLink:{application:sr.DEFAULT,action:Tr.Default.GIVE_FEEDBACK},className:`btn ${c?"p-0 border-0 text-white":"btn-outline-dark"}`,children:[c&&j.jsx(Jo,{svg:Vke,size:Fd.Large}),!c&&j.jsx(bn,{namespace:hZ,phrase:"giveFeedback"})]}),_()&&j.jsx(Yo,{appLink:ALe,className:"text-white",children:j.jsx(bn,{namespace:hZ,phrase:"contactUsLink"})}),!!n.data&&j.jsx(f4e,{productId:xo.StreamableLearning,additionalItems:s(),appLinks:{signOut:{application:sr.DEFAULT,action:Tr.Default.LOG_OUT,params:g},signIn:{application:sr.DEFAULT,action:Tr.Default.CHALLENGE,params:g}}})]})]})})]})}function xLe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!Ai.isFunction(e.onClick)&&!e.disabled)return j.jsx(Yo,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(Ai.isFunction(e.onClick)&&e.onClick(),e.appLink&&Vn.trigger(e.appLink),Ti.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?j.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):j.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return j.jsx(Ym,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const OLe="_image_12gb5_1",ILe="_small_12gb5_6",vZ={image:OLe,small:ILe};Noe.defaultProps={size:"medium"};function Noe(e){return j.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${vZ.image} ${e.size==="small"?vZ.small:""} ${e.className??""}`})}fu.defaultProps={className:"pt-5"};function fu(e){return j.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}fu.Image=e=>j.jsx(Noe,{...e});fu.Cta=e=>j.jsx(xLe,{...e});fu.Heading=e=>j.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});fu.Info=e=>e.injectHtml?j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});const dO={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var kc=(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))(kc||{});function PLe(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 Moe={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=Un.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Vn.getCurrentAppLink(),n=PLe(r.params,e.allowedParams);let i=Vn.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),ga.safeUrlConcat(t,i)}};function ek(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let kf=ek();function $oe(e){kf=e}const Sp={exec:()=>null};function Wn(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(no.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}const no={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")},kLe=/^(?:[ \t]*(?:\n|$))+/,DLe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,LLe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Rv=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,NLe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Foe=/(?:[*+-]|\d{1,9}[.)])/,joe=Wn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Foe).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(),tk=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,MLe=/^[^\n]+/,rk=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$Le=Wn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",rk).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),FLe=Wn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Foe).getRegex(),N1="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",nk=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,jLe=Wn("^ {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",nk).replace("tag",N1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Uoe=Wn(tk).replace("hr",Rv).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",N1).getRegex(),ULe=Wn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Uoe).getRegex(),ik={blockquote:ULe,code:DLe,def:$Le,fences:LLe,heading:NLe,hr:Rv,html:jLe,lheading:joe,list:FLe,newline:kLe,paragraph:Uoe,table:Sp,text:MLe},gZ=Wn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rv).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",N1).getRegex(),qLe={...ik,table:gZ,paragraph:Wn(tk).replace("hr",Rv).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gZ).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",N1).getRegex()},VLe={...ik,html:Wn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",nk).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:Sp,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Wn(tk).replace("hr",Rv).replace("heading",` *#{1,6} *[^
158
+ ]`).replace("lheading",joe).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},HLe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,BLe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,qoe=/^( {2,}|\\)\n(?!\s*$)/,zLe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,M1=/[\p{P}\p{S}]/u,ak=/[\s\p{P}\p{S}]/u,Voe=/[^\s\p{P}\p{S}]/u,WLe=Wn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ak).getRegex(),Hoe=/(?!~)[\p{P}\p{S}]/u,GLe=/(?!~)[\s\p{P}\p{S}]/u,KLe=/(?:[^\s\p{P}\p{S}]|~)/u,YLe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Boe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,XLe=Wn(Boe,"u").replace(/punct/g,M1).getRegex(),QLe=Wn(Boe,"u").replace(/punct/g,Hoe).getRegex(),zoe="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ZLe=Wn(zoe,"gu").replace(/notPunctSpace/g,Voe).replace(/punctSpace/g,ak).replace(/punct/g,M1).getRegex(),JLe=Wn(zoe,"gu").replace(/notPunctSpace/g,KLe).replace(/punctSpace/g,GLe).replace(/punct/g,Hoe).getRegex(),e5e=Wn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Voe).replace(/punctSpace/g,ak).replace(/punct/g,M1).getRegex(),t5e=Wn(/\\(punct)/,"gu").replace(/punct/g,M1).getRegex(),r5e=Wn(/^<(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(),n5e=Wn(nk).replace("(?:-->|$)","-->").getRegex(),i5e=Wn("^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",n5e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Jm=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,a5e=Wn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Jm).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Woe=Wn(/^!?\[(label)\]\[(ref)\]/).replace("label",Jm).replace("ref",rk).getRegex(),Goe=Wn(/^!?\[(ref)\](?:\[\])?/).replace("ref",rk).getRegex(),o5e=Wn("reflink|nolink(?!\\()","g").replace("reflink",Woe).replace("nolink",Goe).getRegex(),ok={_backpedal:Sp,anyPunctuation:t5e,autolink:r5e,blockSkip:YLe,br:qoe,code:BLe,del:Sp,emStrongLDelim:XLe,emStrongRDelimAst:ZLe,emStrongRDelimUnd:e5e,escape:HLe,link:a5e,nolink:Goe,punctuation:WLe,reflink:Woe,reflinkSearch:o5e,tag:i5e,text:zLe,url:Sp},s5e={...ok,link:Wn(/^!?\[(label)\]\((.*?)\)/).replace("label",Jm).getRegex(),reflink:Wn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Jm).getRegex()},bI={...ok,emStrongRDelimAst:JLe,emStrongLDelim:QLe,url:Wn(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},u5e={...bI,br:Wn(qoe).replace("{2,}","*").getRegex(),text:Wn(bI.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Kg={normal:ik,gfm:qLe,pedantic:VLe},tp={normal:ok,gfm:bI,breaks:u5e,pedantic:s5e},l5e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mZ=e=>l5e[e];function uu(e,t){if(t){if(no.escapeTest.test(e))return e.replace(no.escapeReplace,mZ)}else if(no.escapeTestNoEncode.test(e))return e.replace(no.escapeReplaceNoEncode,mZ);return e}function yZ(e){try{e=encodeURI(e).replace(no.percentDecode,"%")}catch{return null}return e}function _Z(e,t){var a;const r=e.replace(no.findPipe,(o,l,s)=>{let c=!1,d=l;for(;--d>=0&&s[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(no.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(no.slashPipe,"|");return n}function rp(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 c5e(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 SZ(e,t,r,n,i){const a=t.href,o=t.title||null,l=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:r,href:a,title:o,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,s}return{type:"image",raw:r,href:a,title:o,text:l}}function f5e(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
159
+ `).map(a=>{const o=a.match(r.other.beginningSpace);if(o===null)return a;const[l]=o;return l.length>=i.length?a.slice(i.length):a}).join(`
160
+ `)}class ey{constructor(t){ai(this,"options");ai(this,"rules");ai(this,"lexer");this.options=t||kf}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:rp(n,`
161
+ `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=f5e(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=rp(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:rp(r[0],`
162
+ `)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=rp(r[0],`
163
+ `).split(`
164
+ `),i="",a="";const o=[];for(;n.length>0;){let l=!1;const s=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))s.push(n[c]),l=!0;else if(!l)s.push(n[c]);else break;n=n.slice(c);const d=s.join(`
165
+ `),h=d.replace(this.rules.other.blockquoteSetextReplace,`
166
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
167
+ ${d}`:d,a=a?`${a}
168
+ ${h}`:h;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=p,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 m=g,_=m.raw+`
169
+ `+n.join(`
170
+ `),E=this.blockquote(_);o[o.length-1]=E,i=i.substring(0,i.length-m.raw.length)+E.raw,a=a.substring(0,a.length-m.text.length)+E.text;break}else if((g==null?void 0:g.type)==="list"){const m=g,_=m.raw+`
171
+ `+n.join(`
172
+ `),E=this.list(_);o[o.length-1]=E,i=i.substring(0,i.length-g.raw.length)+E.raw,a=a.substring(0,a.length-m.raw.length)+E.raw,n=_.substring(o.at(-1).raw.length).split(`
173
+ `);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 l=!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 p=r[2].split(`
174
+ `,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),g=t.split(`
175
+ `,1)[0],m=!p.trim(),_=0;if(this.options.pedantic?(_=2,h=p.trimStart()):m?_=r[1].length+1:(_=r[2].search(this.rules.other.nonSpaceChar),_=_>4?1:_,h=p.slice(_),_+=r[1].length),m&&this.rules.other.blankLine.test(g)&&(d+=g+`
176
+ `,t=t.substring(g.length+1),c=!0),!c){const b=this.rules.other.nextBulletRegex(_),x=this.rules.other.hrRegex(_),T=this.rules.other.fencesBeginRegex(_),A=this.rules.other.headingBeginRegex(_),O=this.rules.other.htmlBeginRegex(_);for(;t;){const y=t.split(`
177
+ `,1)[0];let P;if(g=y,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),P=g):P=g.replace(this.rules.other.tabCharGlobal," "),T.test(g)||A.test(g)||O.test(g)||b.test(g)||x.test(g))break;if(P.search(this.rules.other.nonSpaceChar)>=_||!g.trim())h+=`
178
+ `+P.slice(_);else{if(m||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||T.test(p)||A.test(p)||x.test(p))break;h+=`
179
+ `+g}!m&&!g.trim()&&(m=!0),d+=y+`
180
+ `,t=t.substring(y.length+1),p=P.slice(_)}}a.loose||(l?a.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(l=!0));let E=null,w;this.options.gfm&&(E=this.rules.other.listIsTask.exec(h),E&&(w=E[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:d,task:!!E,checked:w,loose:!1,text:h,tokens:[]}),a.raw+=d}const s=a.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.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(p=>p.type==="space"),h=d.length>0&&d.some(p=>this.rules.other.anyLine.test(p.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 l;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=_Z(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=(l=r[3])!=null&&l.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
181
+ `):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const s of i)this.rules.other.tableAlignRight.test(s)?o.align.push("right"):this.rules.other.tableAlignCenter.test(s)?o.align.push("center"):this.rules.other.tableAlignLeft.test(s)?o.align.push("left"):o.align.push(null);for(let s=0;s<n.length;s++)o.header.push({text:n[s],tokens:this.lexer.inline(n[s]),header:!0,align:o.align[s]});for(const s of a)o.rows.push(_Z(s,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)===`
182
+ `?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=rp(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=c5e(r[2],"()");if(o>-1){const s=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,s).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)),SZ(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 SZ(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 l,s,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(l=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!l)continue;if(s=[...l].length,i[3]||i[4]){c+=s;continue}else if((i[5]||i[6])&&o%3&&!((o+s)%3)){d+=s;continue}if(c-=s,c>0)continue;s=Math.min(s,s+c+d);const p=[...i[0]][0].length,g=t.slice(0,o+i.index+p+s);if(Math.min(o,s)%2){const _=g.slice(1,-1);return{type:"em",raw:g,text:_,tokens:this.lexer.inlineTokens(_)}}const m=g.slice(2,-2);return{type:"strong",raw:g,text:m,tokens:this.lexer.inlineTokens(m)}}}}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 Ts{constructor(t){ai(this,"tokens");ai(this,"options");ai(this,"state");ai(this,"tokenizer");ai(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||kf,this.options.tokenizer=this.options.tokenizer||new ey,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:no,block:Kg.normal,inline:tp.normal};this.options.pedantic?(r.block=Kg.pedantic,r.inline=tp.pedantic):this.options.gfm&&(r.block=Kg.gfm,this.options.breaks?r.inline=tp.breaks:r.inline=tp.gfm),this.tokenizer.rules=r}static get rules(){return{block:Kg,inline:tp}}static lex(t,r){return new Ts(r).lex(t)}static lexInline(t,r){return new Ts(r).inlineTokens(t)}lex(t){t=t.replace(no.carriageReturn,`
183
+ `),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(no.tabCharGlobal," ").replace(no.spaceLine,""));t;){let l;if((a=(i=this.options.extensions)==null?void 0:i.block)!=null&&a.some(c=>(l=c.call({lexer:this},t,r))?(t=t.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.space(t)){t=t.substring(l.raw.length);const c=r.at(-1);l.raw.length===1&&c!==void 0?c.raw+=`
184
+ `:r.push(l);continue}if(l=this.tokenizer.code(t)){t=t.substring(l.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
185
+ `+l.raw,c.text+=`
186
+ `+l.text,this.inlineQueue.at(-1).src=c.text):r.push(l);continue}if(l=this.tokenizer.fences(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.heading(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.hr(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.blockquote(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.list(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.html(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.def(t)){t=t.substring(l.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
187
+ `+l.raw,c.text+=`
188
+ `+l.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.lheading(t)){t=t.substring(l.raw.length),r.push(l);continue}let s=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(p=>{h=p.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(s=t.substring(0,c+1))}if(this.state.top&&(l=this.tokenizer.paragraph(s))){const c=r.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
189
+ `+l.raw,c.text+=`
190
+ `+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(l),n=s.length!==t.length,t=t.substring(l.raw.length);continue}if(l=this.tokenizer.text(t)){t=t.substring(l.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
191
+ `+l.raw,c.text+=`
192
+ `+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(l);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 l,s,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((s=(l=this.options.extensions)==null?void 0:l.inline)!=null&&s.some(p=>(d=p.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 p=r.at(-1);d.type==="text"&&(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.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 p=1/0;const g=t.slice(1);let m;this.options.extensions.startInline.forEach(_=>{m=_.call({lexer:this},g),typeof m=="number"&&m>=0&&(p=Math.min(p,m))}),p<1/0&&p>=0&&(h=t.substring(0,p+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 p=r.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):r.push(d);continue}if(t){const p="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return r}}class ty{constructor(t){ai(this,"options");ai(this,"parser");this.options=t||kf}space(t){return""}code({text:t,lang:r,escaped:n}){var o;const i=(o=(r||"").match(no.notSpaceStart))==null?void 0:o[0],a=t.replace(no.endingNewline,"")+`
193
+ `;return i?'<pre><code class="language-'+uu(i)+'">'+(n?a:uu(a,!0))+`</code></pre>
194
+ `:"<pre><code>"+(n?a:uu(a,!0))+`</code></pre>
195
+ `}blockquote({tokens:t}){return`<blockquote>
196
+ ${this.parser.parse(t)}</blockquote>
197
+ `}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
198
+ `}hr(t){return`<hr>
199
+ `}list(t){const r=t.ordered,n=t.start;let i="";for(let l=0;l<t.items.length;l++){const s=t.items[l];i+=this.listitem(s)}const a=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+a+o+`>
200
+ `+i+"</"+a+`>
201
+ `}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+" "+uu(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>
202
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
203
+ `}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 l=0;l<o.length;l++)n+=this.tablecell(o[l]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
204
+ <thead>
205
+ `+r+`</thead>
206
+ `+i+`</table>
207
+ `}tablerow({text:t}){return`<tr>
208
+ ${t}</tr>
209
+ `}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
210
+ `}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>${uu(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=yZ(t);if(a===null)return i;t=a;let o='<a href="'+t+'"';return r&&(o+=' title="'+uu(r)+'"'),o+=">"+i+"</a>",o}image({href:t,title:r,text:n}){const i=yZ(t);if(i===null)return uu(n);t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${uu(r)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:uu(t.text)}}class sk{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 As{constructor(t){ai(this,"options");ai(this,"renderer");ai(this,"textRenderer");this.options=t||kf,this.options.renderer=this.options.renderer||new ty,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new sk}static parse(t,r){return new As(r).parse(t)}static parseInline(t,r){return new As(r).parseInline(t)}parse(t,r=!0){var i,a;let n="";for(let o=0;o<t.length;o++){const l=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[l.type]){const c=l,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 s=l;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let c=s,d=this.renderer.text(c);for(;o+1<t.length&&t[o+1].type==="text";)c=t[++o],d+=`
211
+ `+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 "'+s.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 l=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[l.type]){const c=this.options.extensions.renderers[l.type].call({parser:this},l);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){n+=c||"";continue}}const s=l;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{const c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class Ep{constructor(t){ai(this,"options");ai(this,"block");this.options=t||kf}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ts.lex:Ts.lexInline}provideParser(){return this.block?As.parse:As.parseInline}}ai(Ep,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Koe{constructor(...t){ai(this,"defaults",ek());ai(this,"options",this.setOptions);ai(this,"parse",this.parseMarkdown(!0));ai(this,"parseInline",this.parseMarkdown(!1));ai(this,"Parser",As);ai(this,"Renderer",ty);ai(this,"TextRenderer",sk);ai(this,"Lexer",Ts);ai(this,"Tokenizer",ey);ai(this,"Hooks",Ep);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 l=o;for(const s of l.header)n=n.concat(this.walkTokens(s.tokens,r));for(const s of l.rows)for(const c of s)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{const l=o;n=n.concat(this.walkTokens(l.items,r));break}default:{const l=o;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[l.type]?this.defaults.extensions.childTokens[l.type].forEach(s=>{const c=l[s].flat(1/0);n=n.concat(this.walkTokens(c,r))}):l.tokens&&(n=n.concat(this.walkTokens(l.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(...l){let s=a.renderer.apply(this,l);return s===!1&&(s=o.apply(this,l)),s}: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 ty(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 l=o,s=n.renderer[l],c=a[l];a[l]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new ey(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 l=o,s=n.tokenizer[l],c=a[l];a[l]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new Ep;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 l=o,s=n.hooks[l],c=a[l];Ep.passThroughHooks.has(o)?a[l]=d=>{if(this.defaults.async)return Promise.resolve(s.call(a,d)).then(p=>c.call(a,p));const h=s.call(a,d);return c.call(a,h)}:a[l]=(...d)=>{let h=s.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(l){let s=[];return s.push(o.call(this,l)),a&&(s=s.concat(a.call(this,l))),s}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ts.lex(t,r??this.defaults)}parser(t,r){return As.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},o={...this.defaults,...a},l=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&a.async===!1)return l(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 l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(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 s=o.hooks?o.hooks.provideLexer():t?Ts.lex:Ts.lexInline,c=o.hooks?o.hooks.provideParser():t?As.parse:As.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>s(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(l);try{o.hooks&&(n=o.hooks.preprocess(n));let d=s(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 l(d)}}}onError(t,r){return n=>{if(n.message+=`
212
+ Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+uu(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const ef=new Koe;function ei(e,t){return ef.parse(e,t)}ei.options=ei.setOptions=function(e){return ef.setOptions(e),ei.defaults=ef.defaults,$oe(ei.defaults),ei};ei.getDefaults=ek;ei.defaults=kf;ei.use=function(...e){return ef.use(...e),ei.defaults=ef.defaults,$oe(ei.defaults),ei};ei.walkTokens=function(e,t){return ef.walkTokens(e,t)};ei.parseInline=ef.parseInline;ei.Parser=As;ei.parser=As.parse;ei.Renderer=ty;ei.TextRenderer=sk;ei.Lexer=Ts;ei.lexer=Ts.lex;ei.Tokenizer=ey;ei.Hooks=Ep;ei.parse=ei;ei.options;ei.setOptions;ei.use;ei.walkTokens;ei.parseInline;As.parse;Ts.lex;const d5e="_container_1hbtl_1",h5e={container:d5e},EZ="markdown-link",CI=new Koe;let np;const wZ=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,p5e=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;CI.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(wZ))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(wZ);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>np?np.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(p5e);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>np?np.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 zn(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([156,157]));np=t}}});const Yoe={isLink(e){return e.classList.contains(EZ)},async parse(e,t){if(!e)return"";const r=await CI.parse(e,{renderer:Yoe.getRenderer(t)});return BO.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return BO.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new CI.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 ${EZ}" ${i}>${n}</a>`},t},getContainerClass(){return h5e.container}},v5e="shared.shared-utils",ry=Er.encloseNamespace(v5e),g5e=70,hO=160,m5e=/^(.*)\s/,bZ="pageTitle",CZ="pageDescription",pO="YYYY-MM-DD",ld={AU:"au",ENGLAND:"gb",US:"us"},y5e={[ld.AU]:kc.AU,[ld.ENGLAND]:kc.UK,[ld.US]:kc.US,[kc.AU]:ld.AU,[kc.UK]:ld.ENGLAND,[kc.US]:ld.US};function TZ(e){return e?e.substring(0,e.length-3)+"...":""}function _5e(e,t){return e?e.substring(0,t):""}function S5e(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(m5e);return a?a[1]:i}function Il({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return ry(bZ,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,i=g5e-n;return e.length>=i?ry(bZ,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Pl({title:e,description:t,phraseContext:r}){var s,c;const n=TZ(_5e(t||e,hO));if(!r)return ry(CZ,{description:n});const i=((s=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:s.length)??0,a=hO-i;if((e==null?void 0:e.length)>=a)return ry(CZ,{description:n});const o=((c=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:c.length)??0,l=TZ(S5e(t,hO,o));return r.phraseHandler(r.descriptionPhrase,{title:e,description:l})}function E5e(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,o;const i=(a=y5e[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 w5e(e,t){const r=e!=null&&e.datePublished?Oo.format(e==null?void 0:e.datePublished,pO):Oo.format(e==null?void 0:e.dateCreated,pO),n=t!=null&&t.dateModified?Oo.format(t==null?void 0:t.dateModified,pO):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:Moe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function b5e(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:Oo.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${dO.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${dO.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${dO.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:E5e(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function C5e(e,t){const r=[];for(const i of e){const a=await Yoe.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 su="ClickView";const Xoe={setProduct(e){su=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:l,preload:s}=e;return{title:Il({title:t,phraseContext:i,product:l||su}),description:Pl({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:a,hrefLang:o,preload:s,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:l}=e;return{title:Il({title:t==null?void 0:t.name,phraseContext:n,product:l||su}),description:Pl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:b5e(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:Il({title:t==null?void 0:t.name,phraseContext:n,product:a||su}),description:Pl({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:Il({title:t==null?void 0:t.name,phraseContext:n,product:a||su}),description:Pl({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:Il({title:t==null?void 0:t.name,phraseContext:n,product:a||su}),description:Pl({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:Il({title:t==null?void 0:t.name,phraseContext:n,product:a||su}),description:Pl({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:l}=e;function s(){var d,h,p,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(g=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:g.title} | ${l||su}`:Il({title:t==null?void 0:t.name,phraseContext:i,product:l||su})}function c(){var d,h,p,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(g=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:g.description:Pl({title:t==null?void 0:t.name,phraseContext:i})}return{title:s(),description:c(),canonicalLink:n,allowIndexing:a,jsonLd:r&&w5e(t,r),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,product:o}=e;return{title:Il({title:t==null?void 0:t.name,phraseContext:n,product:o||su}),description:Pl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await C5e(e,t)}};function T5e(e){let t=e;t._helperUsed||(t=Xoe.getDefaultMetadata(t)),jae(t.title);const r=KTe();if(!r.hasProvider)throw vr.throw(new Rn("PageMetadataContext must exist in your application to use this hook"));ge.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const AZ="default.error",A5e=33;function Qoe(){const[e]=ge.useState($ae.getRandomInt(A5e)+1);return die.ErrorViews.SMALL.replace("{number}",e.toString())}function Zoe({error:e}){var r,n,i;T5e({title:(e==null?void 0:e.heading)||Er.getPhrase(AZ,"defaultPageTitle")});const t=Qoe();return e?j.jsxs(fu,{children:[j.jsx(fu.Image,{src:t}),j.jsx(fu.Heading,{children:e.heading}),!!e.description&&j.jsx(fu.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&j.jsx(fu.Cta,{text:((r=e.cta)==null?void 0:r.text)??Er.getPhrase(AZ,"discoverVideos"),className:(n=e.cta)!=null&&n.className?e.cta.className:`info-link ${e.description?"mt-n2":""}`,appLink:((i=e.cta)==null?void 0:i.appLink)??{application:sr.DASHBOARD,action:Tr.Dashboard.HOME}})]}):j.jsx(j.Fragment,{})}const R5e=Object.freeze(Object.defineProperty({__proto__:null,ErrorView:Zoe,useErrorImage:Qoe},Symbol.toStringTag,{value:"Module"})),x5e="_content_sjrnn_1",O5e="_container_sjrnn_6",I5e="_fixedBottomRightContainer_sjrnn_13",Yg={content:x5e,container:O5e,fixedBottomRightContainer:I5e},Joe="banner-portal-container",P5e=e=>(Fke(),jke(),ge.useEffect(()=>{document.body.style.overflowY="scroll"},[]),j.jsx(_x,{renderError:()=>Zoe({error:new Zc}),children:j.jsxs("div",{className:Yg.lockedWidth,children:[j.jsx(RLe,{showNav:e.showNav}),j.jsx("main",{className:Yg.content,children:j.jsxs(xie.ReferenceContainer,{children:[j.jsx("div",{className:`container-fluid ${Joe}`}),j.jsx("div",{className:`container ${Yg.container}`,children:j.jsx(_x,{throwError:Zc,children:e.contentChild})})]})}),j.jsx(Uke,{}),j.jsx(_x,{throwError:jAe,children:e.popupChild}),j.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&j.jsx("div",{className:Yg.fixedBottomRightContainer,children:e.alertChild})})]})}));function k5e(e){return j.jsx(Jne,{store:e.store,children:j.jsx(YTe,{children:j.jsx(FAe,{children:j.jsx(tAe,{children:j.jsx($Ae,{containerClassName:Joe,children:j.jsx(P5e,{...e})})})})})})}class D5e extends bTe{constructor(t){super(t),this.childComponents={},this.preventScrollTop=!1}initialize(){this.listenTo(Cn.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'</div><div id="dialog-region"></div><div class="layout-region position-relative">'}static getCacheKey(){return`${Su.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[pn.CONTENT],popupChild:this.childComponents[pn.POPUP],alertChild:this.childComponents[pn.ALERT],store:this.options.store,showNav:this.options.showNav}}unsetRegion(t){delete this.childComponents[t],this.renderLayout()}closePopup(){this.unsetRegion(pn.POPUP)}showChildView(t,r,n={}){this.childComponents[t]=r,t===pn.CONTENT&&(!this.preventScrollTop&&!n.preventScrollTop&&Ip(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const t={...this.getChildComponents()};super.showChildView("layout",j.jsx(k5e,{...t}))}}function L5e(e,t){e.registerLayout(Su.DEFAULT_LAYOUT,D5e),t(e)}function N5e(e,t,r){l1.setUpVariables({isDevelopment:!1}),r(e,t)}var ny=(e=>(e.Fifo="FifoMemoryCache",e))(ny||{}),iy=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(iy||{});class M5e extends Mo{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),hp(this,"name")||vr.throw(new Rn("Must provide a name when extending BaseDataService")),hp(this,"channelName")||vr.throw(new Rn(`Must provide a channelName for ${hp(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),l=this.cache.get(i);if(l&&l.openRequest){const s=d=>{cn(n)&&this.stopListening(this.getChannel(),o,n),cn(r)&&r(d)},c=()=>{cn(r)&&this.stopListening(this.getChannel(),a,r),cn(n)&&n()};this.listenToOnce(this.getChannel(),a,s),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:l,successHandler:s,errorHandler:c,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:p,requestEvent:g,successEvent:m,errorEvent:_}=this.getEventNames(i),E=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 x;b&&(x=b.data);const T=b&&b.openRequest,A=this.isExpired(i,l);if(T){const O=P=>{cn(n)&&this.stopListening(this.getChannel(),_,n),cn(r)&&r(P)},y=()=>{cn(r)&&this.stopListening(this.getChannel(),p,r),cn(n)&&n()};this.listenToOnce(E,p,O),this.listenToOnce(E,_,y)}if((!this.cache.has(i)||A)&&(E.trigger(g),this.listenToResponse({eventPrefix:i,formatData:o,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:s,errorHandler:c,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:m,errorEvent:_})),x&&cn(r)&&!A&&r(x),x)return x}create(t){const{eventPrefix:r,resource:n,data:i,formatData:a,callback:o,errorCallback:l,invalidationKeys:s,successHandler:c,errorHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),_=this.getChannel(),E=this.getTransportChannel();_.trigger(p),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:s,callback:o,errorCallback:l,successHandler:c,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:E,successEvent:g,errorEvent:m})}update(t){const{data:r,callback:n,errorCallback:i,resource:a,formatData:o,eventPrefix:l,invalidationKeys:s,errorHandler:c,successHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),_=this.getChannel(),E=this.getTransportChannel();_.trigger(p),this.listenToResponse({eventPrefix:l,formatData:o,invalidationKeys:s,callback:n,errorCallback:i,successHandler:d,errorHandler:c,invalidateFlight:h}),this.dataProvider.update(a,r,{channel:E,successEvent:g,errorEvent:m})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:a,invalidationKeys:o,successHandler:l,errorHandler:s,invalidateFlight:c}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),p=this.getTransportChannel(),g={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:o,callback:i,errorCallback:a,cacheOptions:g,successHandler:l,errorHandler:s,invalidateFlight:c}),this.dataProvider.delete(n,{channel:p,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:a,successHandler:o,errorHandler:l,invalidationKeys:s,cacheOptions:c={},invalidateFlight:d}=t,{syncEvent:h,successEvent:p,errorEvent:g,successAlertEvent:m,errorAlertEvent:_}=this.getEventNames(r),E=this.getChannel(),w=this.getTransportChannel(),b=this.getAlertChannel();if(cn(i)&&this.listenToOnce(E,h,i),cn(a)&&this.listenToOnce(E,g,a),this.stopListening(b,m),this.stopListening(b,_),cn(o)&&this.listenToOnce(b,m,o),cn(l)&&this.listenToOnce(b,_,l),!cn(l)&&l!==!1&&cn(this.defaultErrorHandler)&&this.listenToOnce(b,_,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const x=(A,...O)=>{this.stopListening(E,g,a),b.trigger(m,A,...O);const y=c.noCache?this.formatData(A,n):this.cacheData(r,A,n);c.clearCacheKey&&this.cache.remove(r),E.trigger(h,y),s&&s.length&&this.cache.invalidate(s,P=>E.trigger(`${P}:invalidate`),d)},T=(...A)=>{this.stopListening(E,h,i);const O=this.dataProvider.parseError(...A);b.trigger(_,O),E.trigger(g,O),!c.noCache&&this.cacheData(r,null,null)};this.listenTo(w,p,x),this.listenTo(w,g,T)}cacheData(t,r,n,i={}){const{openRequest:a=!1}=i;let{timestamp:o}=i;o||(o=this.currentTimestamp());const l=this.processPagination(r),s=this.formatData(r,n);return this.cache.set(t,{data:s,timestamp:o,cursors:l,openRequest:a}),s}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!km(r.offset)&&!km(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return cn(r)?r(t):t}chain(){const t=[],r=(a,o)=>{cn(a)&&a(o)},n=(a,o)=>{const l=()=>{const s=a.callback;a.callback=c=>{r(s,c),r(t.shift())},this[o](a)};return t.push(l),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 qr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return qr.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),l={};if(a&&a<i&&(l.next=a.toString()),bd(o)&&(l.previous=o.toString()),!Ap(l))return l}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=bd(r)&&r>0&&r<n&&r+1,a=bd(r)&&r>1&&r-1,o={};if(i&&i<=n&&(o.next=i.toString()),a&&(o.previous=a.toString()),!Ap(o))return o}}class $5e extends Mo{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 Uz&&t.set(n,{silent:!0}),t instanceof Ju&&!(t instanceof Uz)&&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,l=this.mergeData(r,n),s=a?new a(l):new Ju(l);return this.viewObjects[t]=s,o&&!n?(this.setLocalData(t,s,null,i),this.setupChangeListeners(t,s,i)):o&&n&&this.setupChangeListeners(t,s,i),s}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 Ju&&(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]),tt.each(i.persistProps,a=>{this.listenTo(r,`change:${a}`,tt.partial(this.setLocalData,t,tt,tt,n))}))}mergeData(t,r){if(!r)return t;if(tt.isObject(t)&&tt.isObject(r))return tt.extend(t,r);vr.throw(new Rn("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Gs.LocalStorage:return qa;case Gs.SessionStorage:return Nd}}}const ese=$5e.Instance;var uk=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(uk||{});class F5e extends Tf{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:Er.getPhrase(this.lang,"heading"),text:Er.getPhrase(this.lang,"body"),buttons:[{text:Er.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:Er.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const j5e=["pdf"],U5e=["doc","docx","dotx","dot","rtf","docm","odt"],q5e=["csv","txt"],V5e=["xlsx"],RZ=["jpg","jpeg","png","bmp","gif"],xZ=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],H5e=["zip"],B5e=["ppt","pps","pptx"],z5e=["srt"],Xg={VIDEO:`.${xZ.join(",.")}`,MIXED_MEDIA:`.${RZ.join(",.")},${xZ.join(",.")}`,RESOURCES:`.${[...U5e,...V5e,...B5e,...j5e,...q5e,...RZ,...H5e].join(",.")}`,SUBTITLES:`.${z5e.join(",.")}`},W5e={requestUpload(e,t){const r=e.name.split("."),n=t===uk.Permanent?null:Oo.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:_i.POST,data:i}}};var vO={exports:{}},OZ;function G5e(){return OZ||(OZ=1,(function(e,t){(function(n,i){e.exports=i()})(self,function(){return(function(){var r={3099:(function(o){o.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}}),6077:(function(o,l,s){var c=s(111);o.exports=function(d){if(!c(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}}),1223:(function(o,l,s){var c=s(5112),d=s(30),h=s(3070),p=c("unscopables"),g=Array.prototype;g[p]==null&&h.f(g,p,{configurable:!0,value:d(null)}),o.exports=function(m){g[p][m]=!0}}),1530:(function(o,l,s){var c=s(8710).charAt;o.exports=function(d,h,p){return h+(p?c(d,h).length:1)}}),5787:(function(o){o.exports=function(l,s,c){if(!(l instanceof s))throw TypeError("Incorrect "+(c?c+" ":"")+"invocation");return l}}),9670:(function(o,l,s){var c=s(111);o.exports=function(d){if(!c(d))throw TypeError(String(d)+" is not an object");return d}}),4019:(function(o){o.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(o,l,s){var c=s(4019),d=s(9781),h=s(7854),p=s(111),g=s(6656),m=s(648),_=s(8880),E=s(1320),w=s(3070).f,b=s(9518),x=s(7674),T=s(5112),A=s(9711),O=h.Int8Array,y=O&&O.prototype,P=h.Uint8ClampedArray,D=P&&P.prototype,V=O&&b(O),F=y&&b(y),B=Object.prototype,K=B.isPrototypeOf,Q=T("toStringTag"),X=A("TYPED_ARRAY_TAG"),te=c&&!!x&&m(h.opera)!=="Opera",ue=!1,L,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},re=function(k){if(!p(k))return!1;var U=m(k);return U==="DataView"||g(I,U)||g(N,U)},ee=function(z){if(!p(z))return!1;var k=m(z);return g(I,k)||g(N,k)},ce=function(z){if(ee(z))return z;throw TypeError("Target is not a typed array")},be=function(z){if(x){if(K.call(V,z))return z}else for(var k in I)if(g(I,L)){var U=h[k];if(U&&(z===U||K.call(U,z)))return z}throw TypeError("Target is not a typed array constructor")},Ie=function(z,k,U){if(d){if(U)for(var H in I){var ne=h[H];ne&&g(ne.prototype,z)&&delete ne.prototype[z]}(!F[z]||U)&&E(F,z,U?k:te&&y[z]||k)}},je=function(z,k,U){var H,ne;if(d){if(x){if(U)for(H in I)ne=h[H],ne&&g(ne,z)&&delete ne[z];if(!V[z]||U)try{return E(V,z,U?k:te&&O[z]||k)}catch{}else return}for(H in I)ne=h[H],ne&&(!ne[z]||U)&&E(ne,z,k)}};for(L in I)h[L]||(te=!1);if((!te||typeof V!="function"||V===Function.prototype)&&(V=function(){throw TypeError("Incorrect invocation")},te))for(L in I)h[L]&&x(h[L],V);if((!te||!F||F===B)&&(F=V.prototype,te))for(L in I)h[L]&&x(h[L].prototype,F);if(te&&b(D)!==F&&x(D,F),d&&!g(F,Q)){ue=!0,w(F,Q,{get:function(){return p(this)?this[X]:void 0}});for(L in I)h[L]&&_(h[L],X,L)}o.exports={NATIVE_ARRAY_BUFFER_VIEWS:te,TYPED_ARRAY_TAG:ue&&X,aTypedArray:ce,aTypedArrayConstructor:be,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:je,isView:re,isTypedArray:ee,TypedArray:V,TypedArrayPrototype:F}}),3331:(function(o,l,s){var c=s(7854),d=s(9781),h=s(4019),p=s(8880),g=s(2248),m=s(7293),_=s(5787),E=s(9958),w=s(7466),b=s(7067),x=s(1179),T=s(9518),A=s(7674),O=s(8006).f,y=s(3070).f,P=s(1285),D=s(8003),V=s(9909),F=V.get,B=V.set,K="ArrayBuffer",Q="DataView",X="prototype",te="Wrong length",ue="Wrong index",L=c[K],I=L,N=c[Q],re=N&&N[X],ee=Object.prototype,ce=c.RangeError,be=x.pack,Ie=x.unpack,je=function(Ee){return[Ee&255]},z=function(Ee){return[Ee&255,Ee>>8&255]},k=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},U=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},H=function(Ee){return be(Ee,23,4)},ne=function(Ee){return be(Ee,52,8)},q=function(Ee,_e){y(Ee[X],_e,{get:function(){return F(this)[_e]}})},J=function(Ee,_e,Ae,De){var Ne=b(Ae),Be=F(Ee);if(Ne+_e>Be.byteLength)throw ce(ue);var _t=F(Be.buffer).bytes,Ut=Ne+Be.byteOffset,Mt=_t.slice(Ut,Ut+_e);return De?Mt:Mt.reverse()},me=function(Ee,_e,Ae,De,Ne,Be){var _t=b(Ae),Ut=F(Ee);if(_t+_e>Ut.byteLength)throw ce(ue);for(var Mt=F(Ut.buffer).bytes,Qe=_t+Ut.byteOffset,bt=De(+Ne),mt=0;mt<_e;mt++)Mt[Qe+mt]=bt[Be?mt:_e-mt-1]};if(!h)I=function(_e){_(this,I,K);var Ae=b(_e);B(this,{bytes:P.call(new Array(Ae),0),byteLength:Ae}),d||(this.byteLength=Ae)},N=function(_e,Ae,De){_(this,N,Q),_(_e,I,Q);var Ne=F(_e).byteLength,Be=E(Ae);if(Be<0||Be>Ne)throw ce("Wrong offset");if(De=De===void 0?Ne-Be:w(De),Be+De>Ne)throw ce(te);B(this,{buffer:_e,byteLength:De,byteOffset:Be}),d||(this.buffer=_e,this.byteLength=De,this.byteOffset=Be)},d&&(q(I,"byteLength"),q(N,"buffer"),q(N,"byteLength"),q(N,"byteOffset")),g(N[X],{getInt8:function(_e){return J(this,1,_e)[0]<<24>>24},getUint8:function(_e){return J(this,1,_e)[0]},getInt16:function(_e){var Ae=J(this,2,_e,arguments.length>1?arguments[1]:void 0);return(Ae[1]<<8|Ae[0])<<16>>16},getUint16:function(_e){var Ae=J(this,2,_e,arguments.length>1?arguments[1]:void 0);return Ae[1]<<8|Ae[0]},getInt32:function(_e){return U(J(this,4,_e,arguments.length>1?arguments[1]:void 0))},getUint32:function(_e){return U(J(this,4,_e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(_e){return Ie(J(this,4,_e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(_e){return Ie(J(this,8,_e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(_e,Ae){me(this,1,_e,je,Ae)},setUint8:function(_e,Ae){me(this,1,_e,je,Ae)},setInt16:function(_e,Ae){me(this,2,_e,z,Ae,arguments.length>2?arguments[2]:void 0)},setUint16:function(_e,Ae){me(this,2,_e,z,Ae,arguments.length>2?arguments[2]:void 0)},setInt32:function(_e,Ae){me(this,4,_e,k,Ae,arguments.length>2?arguments[2]:void 0)},setUint32:function(_e,Ae){me(this,4,_e,k,Ae,arguments.length>2?arguments[2]:void 0)},setFloat32:function(_e,Ae){me(this,4,_e,H,Ae,arguments.length>2?arguments[2]:void 0)},setFloat64:function(_e,Ae){me(this,8,_e,ne,Ae,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){L(1)})||!m(function(){new L(-1)})||m(function(){return new L,new L(1.5),new L(NaN),L.name!=K})){I=function(_e){return _(this,I),new L(b(_e))};for(var fe=I[X]=L[X],Te=O(L),Se=0,Oe;Te.length>Se;)(Oe=Te[Se++])in I||p(I,Oe,L[Oe]);fe.constructor=I}A&&T(re)!==ee&&A(re,ee);var Me=new N(new I(2)),de=re.setInt8;Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&g(re,{setInt8:function(_e,Ae){de.call(this,_e,Ae<<24>>24)},setUint8:function(_e,Ae){de.call(this,_e,Ae<<24>>24)}},{unsafe:!0})}D(I,K),D(N,Q),o.exports={ArrayBuffer:I,DataView:N}}),1048:(function(o,l,s){var c=s(7908),d=s(1400),h=s(7466),p=Math.min;o.exports=[].copyWithin||function(m,_){var E=c(this),w=h(E.length),b=d(m,w),x=d(_,w),T=arguments.length>2?arguments[2]:void 0,A=p((T===void 0?w:d(T,w))-x,w-b),O=1;for(x<b&&b<x+A&&(O=-1,x+=A-1,b+=A-1);A-- >0;)x in E?E[b]=E[x]:delete E[b],b+=O,x+=O;return E}}),1285:(function(o,l,s){var c=s(7908),d=s(1400),h=s(7466);o.exports=function(g){for(var m=c(this),_=h(m.length),E=arguments.length,w=d(E>1?arguments[1]:void 0,_),b=E>2?arguments[2]:void 0,x=b===void 0?_:d(b,_);x>w;)m[w++]=g;return m}}),8533:(function(o,l,s){var c=s(2092).forEach,d=s(9341),h=d("forEach");o.exports=h?[].forEach:function(g){return c(this,g,arguments.length>1?arguments[1]:void 0)}}),8457:(function(o,l,s){var c=s(9974),d=s(7908),h=s(3411),p=s(7659),g=s(7466),m=s(6135),_=s(1246);o.exports=function(w){var b=d(w),x=typeof this=="function"?this:Array,T=arguments.length,A=T>1?arguments[1]:void 0,O=A!==void 0,y=_(b),P=0,D,V,F,B,K,Q;if(O&&(A=c(A,T>2?arguments[2]:void 0,2)),y!=null&&!(x==Array&&p(y)))for(B=y.call(b),K=B.next,V=new x;!(F=K.call(B)).done;P++)Q=O?h(B,A,[F.value,P],!0):F.value,m(V,P,Q);else for(D=g(b.length),V=new x(D);D>P;P++)Q=O?A(b[P],P):b[P],m(V,P,Q);return V.length=P,V}}),1318:(function(o,l,s){var c=s(5656),d=s(7466),h=s(1400),p=function(g){return function(m,_,E){var w=c(m),b=d(w.length),x=h(E,b),T;if(g&&_!=_){for(;b>x;)if(T=w[x++],T!=T)return!0}else for(;b>x;x++)if((g||x in w)&&w[x]===_)return g||x||0;return!g&&-1}};o.exports={includes:p(!0),indexOf:p(!1)}}),2092:(function(o,l,s){var c=s(9974),d=s(8361),h=s(7908),p=s(7466),g=s(5417),m=[].push,_=function(E){var w=E==1,b=E==2,x=E==3,T=E==4,A=E==6,O=E==7,y=E==5||A;return function(P,D,V,F){for(var B=h(P),K=d(B),Q=c(D,V,3),X=p(K.length),te=0,ue=F||g,L=w?ue(P,X):b||O?ue(P,0):void 0,I,N;X>te;te++)if((y||te in K)&&(I=K[te],N=Q(I,te,B),E))if(w)L[te]=N;else if(N)switch(E){case 3:return!0;case 5:return I;case 6:return te;case 2:m.call(L,I)}else switch(E){case 4:return!1;case 7:m.call(L,I)}return A?-1:x||T?T:L}};o.exports={forEach:_(0),map:_(1),filter:_(2),some:_(3),every:_(4),find:_(5),findIndex:_(6),filterOut:_(7)}}),6583:(function(o,l,s){var c=s(5656),d=s(9958),h=s(7466),p=s(9341),g=Math.min,m=[].lastIndexOf,_=!!m&&1/[1].lastIndexOf(1,-0)<0,E=p("lastIndexOf"),w=_||!E;o.exports=w?function(x){if(_)return m.apply(this,arguments)||0;var T=c(this),A=h(T.length),O=A-1;for(arguments.length>1&&(O=g(O,d(arguments[1]))),O<0&&(O=A+O);O>=0;O--)if(O in T&&T[O]===x)return O||0;return-1}:m}),1194:(function(o,l,s){var c=s(7293),d=s(5112),h=s(7392),p=d("species");o.exports=function(g){return h>=51||!c(function(){var m=[],_=m.constructor={};return _[p]=function(){return{foo:1}},m[g](Boolean).foo!==1})}}),9341:(function(o,l,s){var c=s(7293);o.exports=function(d,h){var p=[][d];return!!p&&c(function(){p.call(null,h||function(){throw 1},1)})}}),3671:(function(o,l,s){var c=s(3099),d=s(7908),h=s(8361),p=s(7466),g=function(m){return function(_,E,w,b){c(E);var x=d(_),T=h(x),A=p(x.length),O=m?A-1:0,y=m?-1:1;if(w<2)for(;;){if(O in T){b=T[O],O+=y;break}if(O+=y,m?O<0:A<=O)throw TypeError("Reduce of empty array with no initial value")}for(;m?O>=0:A>O;O+=y)O in T&&(b=E(b,T[O],O,x));return b}};o.exports={left:g(!1),right:g(!0)}}),5417:(function(o,l,s){var c=s(111),d=s(3157),h=s(5112),p=h("species");o.exports=function(g,m){var _;return d(g)&&(_=g.constructor,typeof _=="function"&&(_===Array||d(_.prototype))?_=void 0:c(_)&&(_=_[p],_===null&&(_=void 0))),new(_===void 0?Array:_)(m===0?0:m)}}),3411:(function(o,l,s){var c=s(9670),d=s(9212);o.exports=function(h,p,g,m){try{return m?p(c(g)[0],g[1]):p(g)}catch(_){throw d(h),_}}}),7072:(function(o,l,s){var c=s(5112),d=c("iterator"),h=!1;try{var p=0,g={next:function(){return{done:!!p++}},return:function(){h=!0}};g[d]=function(){return this},Array.from(g,function(){throw 2})}catch{}o.exports=function(m,_){if(!_&&!h)return!1;var E=!1;try{var w={};w[d]=function(){return{next:function(){return{done:E=!0}}}},m(w)}catch{}return E}}),4326:(function(o){var l={}.toString;o.exports=function(s){return l.call(s).slice(8,-1)}}),648:(function(o,l,s){var c=s(1694),d=s(4326),h=s(5112),p=h("toStringTag"),g=d((function(){return arguments})())=="Arguments",m=function(_,E){try{return _[E]}catch{}};o.exports=c?d:function(_){var E,w,b;return _===void 0?"Undefined":_===null?"Null":typeof(w=m(E=Object(_),p))=="string"?w:g?d(E):(b=d(E))=="Object"&&typeof E.callee=="function"?"Arguments":b}}),9920:(function(o,l,s){var c=s(6656),d=s(3887),h=s(1236),p=s(3070);o.exports=function(g,m){for(var _=d(m),E=p.f,w=h.f,b=0;b<_.length;b++){var x=_[b];c(g,x)||E(g,x,w(m,x))}}}),8544:(function(o,l,s){var c=s(7293);o.exports=!c(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})}),4994:(function(o,l,s){var c=s(3383).IteratorPrototype,d=s(30),h=s(9114),p=s(8003),g=s(7497),m=function(){return this};o.exports=function(_,E,w){var b=E+" Iterator";return _.prototype=d(c,{next:h(1,w)}),p(_,b,!1,!0),g[b]=m,_}}),8880:(function(o,l,s){var c=s(9781),d=s(3070),h=s(9114);o.exports=c?function(p,g,m){return d.f(p,g,h(1,m))}:function(p,g,m){return p[g]=m,p}}),9114:(function(o){o.exports=function(l,s){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:s}}}),6135:(function(o,l,s){var c=s(7593),d=s(3070),h=s(9114);o.exports=function(p,g,m){var _=c(g);_ in p?d.f(p,_,h(0,m)):p[_]=m}}),654:(function(o,l,s){var c=s(2109),d=s(4994),h=s(9518),p=s(7674),g=s(8003),m=s(8880),_=s(1320),E=s(5112),w=s(1913),b=s(7497),x=s(3383),T=x.IteratorPrototype,A=x.BUGGY_SAFARI_ITERATORS,O=E("iterator"),y="keys",P="values",D="entries",V=function(){return this};o.exports=function(F,B,K,Q,X,te,ue){d(K,B,Q);var L=function(k){if(k===X&&ce)return ce;if(!A&&k in re)return re[k];switch(k){case y:return function(){return new K(this,k)};case P:return function(){return new K(this,k)};case D:return function(){return new K(this,k)}}return function(){return new K(this)}},I=B+" Iterator",N=!1,re=F.prototype,ee=re[O]||re["@@iterator"]||X&&re[X],ce=!A&&ee||L(X),be=B=="Array"&&re.entries||ee,Ie,je,z;if(be&&(Ie=h(be.call(new F)),T!==Object.prototype&&Ie.next&&(!w&&h(Ie)!==T&&(p?p(Ie,T):typeof Ie[O]!="function"&&m(Ie,O,V)),g(Ie,I,!0,!0),w&&(b[I]=V))),X==P&&ee&&ee.name!==P&&(N=!0,ce=function(){return ee.call(this)}),(!w||ue)&&re[O]!==ce&&m(re,O,ce),b[B]=ce,X)if(je={values:L(P),keys:te?ce:L(y),entries:L(D)},ue)for(z in je)(A||N||!(z in re))&&_(re,z,je[z]);else c({target:B,proto:!0,forced:A||N},je);return je}}),9781:(function(o,l,s){var c=s(7293);o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(o,l,s){var c=s(7854),d=s(111),h=c.document,p=d(h)&&d(h.createElement);o.exports=function(g){return p?h.createElement(g):{}}}),8324:(function(o){o.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(o,l,s){var c=s(5005);o.exports=c("navigator","userAgent")||""}),7392:(function(o,l,s){var c=s(7854),d=s(8113),h=c.process,p=h&&h.versions,g=p&&p.v8,m,_;g?(m=g.split("."),_=m[0]+m[1]):d&&(m=d.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=d.match(/Chrome\/(\d+)/),m&&(_=m[1]))),o.exports=_&&+_}),748:(function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(o,l,s){var c=s(7854),d=s(1236).f,h=s(8880),p=s(1320),g=s(3505),m=s(9920),_=s(4705);o.exports=function(E,w){var b=E.target,x=E.global,T=E.stat,A,O,y,P,D,V;if(x?O=c:T?O=c[b]||g(b,{}):O=(c[b]||{}).prototype,O)for(y in w){if(D=w[y],E.noTargetGet?(V=d(O,y),P=V&&V.value):P=O[y],A=_(x?y:b+(T?".":"#")+y,E.forced),!A&&P!==void 0){if(typeof D==typeof P)continue;m(D,P)}(E.sham||P&&P.sham)&&h(D,"sham",!0),p(O,y,D,E)}}}),7293:(function(o){o.exports=function(l){try{return!!l()}catch{return!0}}}),7007:(function(o,l,s){s(4916);var c=s(1320),d=s(7293),h=s(5112),p=s(2261),g=s(8880),m=h("species"),_=!d(function(){var T=/./;return T.exec=function(){var A=[];return A.groups={a:"7"},A},"".replace(T,"$<a>")!=="7"}),E=(function(){return"a".replace(/./,"$0")==="$0"})(),w=h("replace"),b=(function(){return/./[w]?/./[w]("a","$0")==="":!1})(),x=!d(function(){var T=/(?:)/,A=T.exec;T.exec=function(){return A.apply(this,arguments)};var O="ab".split(T);return O.length!==2||O[0]!=="a"||O[1]!=="b"});o.exports=function(T,A,O,y){var P=h(T),D=!d(function(){var X={};return X[P]=function(){return 7},""[T](X)!=7}),V=D&&!d(function(){var X=!1,te=/a/;return T==="split"&&(te={},te.constructor={},te.constructor[m]=function(){return te},te.flags="",te[P]=/./[P]),te.exec=function(){return X=!0,null},te[P](""),!X});if(!D||!V||T==="replace"&&!(_&&E&&!b)||T==="split"&&!x){var F=/./[P],B=O(P,""[T],function(X,te,ue,L,I){return te.exec===p?D&&!I?{done:!0,value:F.call(te,ue,L)}:{done:!0,value:X.call(ue,te,L)}:{done:!1}},{REPLACE_KEEPS_$0:E,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),K=B[0],Q=B[1];c(String.prototype,T,K),c(RegExp.prototype,P,A==2?function(X,te){return Q.call(X,this,te)}:function(X){return Q.call(X,this)})}y&&g(RegExp.prototype[P],"sham",!0)}}),9974:(function(o,l,s){var c=s(3099);o.exports=function(d,h,p){if(c(d),h===void 0)return d;switch(p){case 0:return function(){return d.call(h)};case 1:return function(g){return d.call(h,g)};case 2:return function(g,m){return d.call(h,g,m)};case 3:return function(g,m,_){return d.call(h,g,m,_)}}return function(){return d.apply(h,arguments)}}}),5005:(function(o,l,s){var c=s(857),d=s(7854),h=function(p){return typeof p=="function"?p:void 0};o.exports=function(p,g){return arguments.length<2?h(c[p])||h(d[p]):c[p]&&c[p][g]||d[p]&&d[p][g]}}),1246:(function(o,l,s){var c=s(648),d=s(7497),h=s(5112),p=h("iterator");o.exports=function(g){if(g!=null)return g[p]||g["@@iterator"]||d[c(g)]}}),8554:(function(o,l,s){var c=s(9670),d=s(1246);o.exports=function(h){var p=d(h);if(typeof p!="function")throw TypeError(String(h)+" is not iterable");return c(p.call(h))}}),647:(function(o,l,s){var c=s(7908),d=Math.floor,h="".replace,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;o.exports=function(m,_,E,w,b,x){var T=E+m.length,A=w.length,O=g;return b!==void 0&&(b=c(b),O=p),h.call(x,O,function(y,P){var D;switch(P.charAt(0)){case"$":return"$";case"&":return m;case"`":return _.slice(0,E);case"'":return _.slice(T);case"<":D=b[P.slice(1,-1)];break;default:var V=+P;if(V===0)return y;if(V>A){var F=d(V/10);return F===0?y:F<=A?w[F-1]===void 0?P.charAt(1):w[F-1]+P.charAt(1):y}D=w[V-1]}return D===void 0?"":D})}}),7854:(function(o,l,s){var c=function(d){return d&&d.Math==Math&&d};o.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof s.g=="object"&&s.g)||(function(){return this})()||Function("return this")()}),6656:(function(o){var l={}.hasOwnProperty;o.exports=function(s,c){return l.call(s,c)}}),3501:(function(o){o.exports={}}),490:(function(o,l,s){var c=s(5005);o.exports=c("document","documentElement")}),4664:(function(o,l,s){var c=s(9781),d=s(7293),h=s(317);o.exports=!c&&!d(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(o){var l=Math.abs,s=Math.pow,c=Math.floor,d=Math.log,h=Math.LN2,p=function(m,_,E){var w=new Array(E),b=E*8-_-1,x=(1<<b)-1,T=x>>1,A=_===23?s(2,-24)-s(2,-77):0,O=m<0||m===0&&1/m<0?1:0,y=0,P,D,V;for(m=l(m),m!=m||m===1/0?(D=m!=m?1:0,P=x):(P=c(d(m)/h),m*(V=s(2,-P))<1&&(P--,V*=2),P+T>=1?m+=A/V:m+=A*s(2,1-T),m*V>=2&&(P++,V/=2),P+T>=x?(D=0,P=x):P+T>=1?(D=(m*V-1)*s(2,_),P=P+T):(D=m*s(2,T-1)*s(2,_),P=0));_>=8;w[y++]=D&255,D/=256,_-=8);for(P=P<<_|D,b+=_;b>0;w[y++]=P&255,P/=256,b-=8);return w[--y]|=O*128,w},g=function(m,_){var E=m.length,w=E*8-_-1,b=(1<<w)-1,x=b>>1,T=w-7,A=E-1,O=m[A--],y=O&127,P;for(O>>=7;T>0;y=y*256+m[A],A--,T-=8);for(P=y&(1<<-T)-1,y>>=-T,T+=_;T>0;P=P*256+m[A],A--,T-=8);if(y===0)y=1-x;else{if(y===b)return P?NaN:O?-1/0:1/0;P=P+s(2,_),y=y-x}return(O?-1:1)*P*s(2,y-_)};o.exports={pack:p,unpack:g}}),8361:(function(o,l,s){var c=s(7293),d=s(4326),h="".split;o.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(p){return d(p)=="String"?h.call(p,""):Object(p)}:Object}),9587:(function(o,l,s){var c=s(111),d=s(7674);o.exports=function(h,p,g){var m,_;return d&&typeof(m=p.constructor)=="function"&&m!==g&&c(_=m.prototype)&&_!==g.prototype&&d(h,_),h}}),2788:(function(o,l,s){var c=s(5465),d=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(h){return d.call(h)}),o.exports=c.inspectSource}),9909:(function(o,l,s){var c=s(8536),d=s(7854),h=s(111),p=s(8880),g=s(6656),m=s(5465),_=s(6200),E=s(3501),w=d.WeakMap,b,x,T,A=function(B){return T(B)?x(B):b(B,{})},O=function(B){return function(K){var Q;if(!h(K)||(Q=x(K)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return Q}};if(c){var y=m.state||(m.state=new w),P=y.get,D=y.has,V=y.set;b=function(B,K){return K.facade=B,V.call(y,B,K),K},x=function(B){return P.call(y,B)||{}},T=function(B){return D.call(y,B)}}else{var F=_("state");E[F]=!0,b=function(B,K){return K.facade=B,p(B,F,K),K},x=function(B){return g(B,F)?B[F]:{}},T=function(B){return g(B,F)}}o.exports={set:b,get:x,has:T,enforce:A,getterFor:O}}),7659:(function(o,l,s){var c=s(5112),d=s(7497),h=c("iterator"),p=Array.prototype;o.exports=function(g){return g!==void 0&&(d.Array===g||p[h]===g)}}),3157:(function(o,l,s){var c=s(4326);o.exports=Array.isArray||function(h){return c(h)=="Array"}}),4705:(function(o,l,s){var c=s(7293),d=/#|\.prototype\./,h=function(E,w){var b=g[p(E)];return b==_?!0:b==m?!1:typeof w=="function"?c(w):!!w},p=h.normalize=function(E){return String(E).replace(d,".").toLowerCase()},g=h.data={},m=h.NATIVE="N",_=h.POLYFILL="P";o.exports=h}),111:(function(o){o.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}}),1913:(function(o){o.exports=!1}),7850:(function(o,l,s){var c=s(111),d=s(4326),h=s(5112),p=h("match");o.exports=function(g){var m;return c(g)&&((m=g[p])!==void 0?!!m:d(g)=="RegExp")}}),9212:(function(o,l,s){var c=s(9670);o.exports=function(d){var h=d.return;if(h!==void 0)return c(h.call(d)).value}}),3383:(function(o,l,s){var c=s(7293),d=s(9518),h=s(8880),p=s(6656),g=s(5112),m=s(1913),_=g("iterator"),E=!1,w=function(){return this},b,x,T;[].keys&&(T=[].keys(),"next"in T?(x=d(d(T)),x!==Object.prototype&&(b=x)):E=!0);var A=b==null||c(function(){var O={};return b[_].call(O)!==O});A&&(b={}),(!m||A)&&!p(b,_)&&h(b,_,w),o.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:E}}),7497:(function(o){o.exports={}}),133:(function(o,l,s){var c=s(7293);o.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})}),590:(function(o,l,s){var c=s(7293),d=s(5112),h=s(1913),p=d("iterator");o.exports=!c(function(){var g=new URL("b?a=1&b=2&c=3","http://a"),m=g.searchParams,_="";return g.pathname="c%20d",m.forEach(function(E,w){m.delete("b"),_+=w+E}),h&&!g.toJSON||!m.sort||g.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[p]||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"||_!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(o,l,s){var c=s(7854),d=s(2788),h=c.WeakMap;o.exports=typeof h=="function"&&/native code/.test(d(h))}),1574:(function(o,l,s){var c=s(9781),d=s(7293),h=s(1956),p=s(5181),g=s(5296),m=s(7908),_=s(8361),E=Object.assign,w=Object.defineProperty;o.exports=!E||d(function(){if(c&&E({b:1},E(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},x={},T=Symbol(),A="abcdefghijklmnopqrst";return b[T]=7,A.split("").forEach(function(O){x[O]=O}),E({},b)[T]!=7||h(E({},x)).join("")!=A})?function(x,T){for(var A=m(x),O=arguments.length,y=1,P=p.f,D=g.f;O>y;)for(var V=_(arguments[y++]),F=P?h(V).concat(P(V)):h(V),B=F.length,K=0,Q;B>K;)Q=F[K++],(!c||D.call(V,Q))&&(A[Q]=V[Q]);return A}:E}),30:(function(o,l,s){var c=s(9670),d=s(6048),h=s(748),p=s(3501),g=s(490),m=s(317),_=s(6200),E=">",w="<",b="prototype",x="script",T=_("IE_PROTO"),A=function(){},O=function(F){return w+x+E+F+w+"/"+x+E},y=function(F){F.write(O("")),F.close();var B=F.parentWindow.Object;return F=null,B},P=function(){var F=m("iframe"),B="java"+x+":",K;return F.style.display="none",g.appendChild(F),F.src=String(B),K=F.contentWindow.document,K.open(),K.write(O("document.F=Object")),K.close(),K.F},D,V=function(){try{D=document.domain&&new ActiveXObject("htmlfile")}catch{}V=D?y(D):P();for(var F=h.length;F--;)delete V[b][h[F]];return V()};p[T]=!0,o.exports=Object.create||function(B,K){var Q;return B!==null?(A[b]=c(B),Q=new A,A[b]=null,Q[T]=B):Q=V(),K===void 0?Q:d(Q,K)}}),6048:(function(o,l,s){var c=s(9781),d=s(3070),h=s(9670),p=s(1956);o.exports=c?Object.defineProperties:function(m,_){h(m);for(var E=p(_),w=E.length,b=0,x;w>b;)d.f(m,x=E[b++],_[x]);return m}}),3070:(function(o,l,s){var c=s(9781),d=s(4664),h=s(9670),p=s(7593),g=Object.defineProperty;l.f=c?g:function(_,E,w){if(h(_),E=p(E,!0),h(w),d)try{return g(_,E,w)}catch{}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(_[E]=w.value),_}}),1236:(function(o,l,s){var c=s(9781),d=s(5296),h=s(9114),p=s(5656),g=s(7593),m=s(6656),_=s(4664),E=Object.getOwnPropertyDescriptor;l.f=c?E:function(b,x){if(b=p(b),x=g(x,!0),_)try{return E(b,x)}catch{}if(m(b,x))return h(!d.f.call(b,x),b[x])}}),8006:(function(o,l,s){var c=s(6324),d=s(748),h=d.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(g){return c(g,h)}}),5181:(function(o,l){l.f=Object.getOwnPropertySymbols}),9518:(function(o,l,s){var c=s(6656),d=s(7908),h=s(6200),p=s(8544),g=h("IE_PROTO"),m=Object.prototype;o.exports=p?Object.getPrototypeOf:function(_){return _=d(_),c(_,g)?_[g]:typeof _.constructor=="function"&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?m:null}}),6324:(function(o,l,s){var c=s(6656),d=s(5656),h=s(1318).indexOf,p=s(3501);o.exports=function(g,m){var _=d(g),E=0,w=[],b;for(b in _)!c(p,b)&&c(_,b)&&w.push(b);for(;m.length>E;)c(_,b=m[E++])&&(~h(w,b)||w.push(b));return w}}),1956:(function(o,l,s){var c=s(6324),d=s(748);o.exports=Object.keys||function(p){return c(p,d)}}),5296:(function(o,l){var s={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,d=c&&!s.call({1:2},1);l.f=d?function(p){var g=c(this,p);return!!g&&g.enumerable}:s}),7674:(function(o,l,s){var c=s(9670),d=s(6077);o.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var h=!1,p={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(p,[]),h=p instanceof Array}catch{}return function(_,E){return c(_),d(E),h?g.call(_,E):_.__proto__=E,_}})():void 0)}),288:(function(o,l,s){var c=s(1694),d=s(648);o.exports=c?{}.toString:function(){return"[object "+d(this)+"]"}}),3887:(function(o,l,s){var c=s(5005),d=s(8006),h=s(5181),p=s(9670);o.exports=c("Reflect","ownKeys")||function(m){var _=d.f(p(m)),E=h.f;return E?_.concat(E(m)):_}}),857:(function(o,l,s){var c=s(7854);o.exports=c}),2248:(function(o,l,s){var c=s(1320);o.exports=function(d,h,p){for(var g in h)c(d,g,h[g],p);return d}}),1320:(function(o,l,s){var c=s(7854),d=s(8880),h=s(6656),p=s(3505),g=s(2788),m=s(9909),_=m.get,E=m.enforce,w=String(String).split("String");(o.exports=function(b,x,T,A){var O=A?!!A.unsafe:!1,y=A?!!A.enumerable:!1,P=A?!!A.noTargetGet:!1,D;if(typeof T=="function"&&(typeof x=="string"&&!h(T,"name")&&d(T,"name",x),D=E(T),D.source||(D.source=w.join(typeof x=="string"?x:""))),b===c){y?b[x]=T:p(x,T);return}else O?!P&&b[x]&&(y=!0):delete b[x];y?b[x]=T:d(b,x,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&_(this).source||g(this)})}),7651:(function(o,l,s){var c=s(4326),d=s(2261);o.exports=function(h,p){var g=h.exec;if(typeof g=="function"){var m=g.call(h,p);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(c(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(h,p)}}),2261:(function(o,l,s){var c=s(7066),d=s(2999),h=RegExp.prototype.exec,p=String.prototype.replace,g=h,m=(function(){var b=/a/,x=/b*/g;return h.call(b,"a"),h.call(x,"a"),b.lastIndex!==0||x.lastIndex!==0})(),_=d.UNSUPPORTED_Y||d.BROKEN_CARET,E=/()??/.exec("")[1]!==void 0,w=m||E||_;w&&(g=function(x){var T=this,A,O,y,P,D=_&&T.sticky,V=c.call(T),F=T.source,B=0,K=x;return D&&(V=V.replace("y",""),V.indexOf("g")===-1&&(V+="g"),K=String(x).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&x[T.lastIndex-1]!==`
213
+ `)&&(F="(?: "+F+")",K=" "+K,B++),O=new RegExp("^(?:"+F+")",V)),E&&(O=new RegExp("^"+F+"$(?!\\s)",V)),m&&(A=T.lastIndex),y=h.call(D?O:T,K),D?y?(y.input=y.input.slice(B),y[0]=y[0].slice(B),y.index=T.lastIndex,T.lastIndex+=y[0].length):T.lastIndex=0:m&&y&&(T.lastIndex=T.global?y.index+y[0].length:A),E&&y&&y.length>1&&p.call(y[0],O,function(){for(P=1;P<arguments.length-2;P++)arguments[P]===void 0&&(y[P]=void 0)}),y}),o.exports=g}),7066:(function(o,l,s){var c=s(9670);o.exports=function(){var d=c(this),h="";return d.global&&(h+="g"),d.ignoreCase&&(h+="i"),d.multiline&&(h+="m"),d.dotAll&&(h+="s"),d.unicode&&(h+="u"),d.sticky&&(h+="y"),h}}),2999:(function(o,l,s){var c=s(7293);function d(h,p){return RegExp(h,p)}l.UNSUPPORTED_Y=c(function(){var h=d("a","y");return h.lastIndex=2,h.exec("abcd")!=null}),l.BROKEN_CARET=c(function(){var h=d("^r","gy");return h.lastIndex=2,h.exec("str")!=null})}),4488:(function(o){o.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}}),3505:(function(o,l,s){var c=s(7854),d=s(8880);o.exports=function(h,p){try{d(c,h,p)}catch{c[h]=p}return p}}),6340:(function(o,l,s){var c=s(5005),d=s(3070),h=s(5112),p=s(9781),g=h("species");o.exports=function(m){var _=c(m),E=d.f;p&&_&&!_[g]&&E(_,g,{configurable:!0,get:function(){return this}})}}),8003:(function(o,l,s){var c=s(3070).f,d=s(6656),h=s(5112),p=h("toStringTag");o.exports=function(g,m,_){g&&!d(g=_?g:g.prototype,p)&&c(g,p,{configurable:!0,value:m})}}),6200:(function(o,l,s){var c=s(2309),d=s(9711),h=c("keys");o.exports=function(p){return h[p]||(h[p]=d(p))}}),5465:(function(o,l,s){var c=s(7854),d=s(3505),h="__core-js_shared__",p=c[h]||d(h,{});o.exports=p}),2309:(function(o,l,s){var c=s(1913),d=s(5465);(o.exports=function(h,p){return d[h]||(d[h]=p!==void 0?p:{})})("versions",[]).push({version:"3.9.0",mode:c?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(o,l,s){var c=s(9670),d=s(3099),h=s(5112),p=h("species");o.exports=function(g,m){var _=c(g).constructor,E;return _===void 0||(E=c(_)[p])==null?m:d(E)}}),8710:(function(o,l,s){var c=s(9958),d=s(4488),h=function(p){return function(g,m){var _=String(d(g)),E=c(m),w=_.length,b,x;return E<0||E>=w?p?"":void 0:(b=_.charCodeAt(E),b<55296||b>56319||E+1===w||(x=_.charCodeAt(E+1))<56320||x>57343?p?_.charAt(E):b:p?_.slice(E,E+2):(b-55296<<10)+(x-56320)+65536)}};o.exports={codeAt:h(!1),charAt:h(!0)}}),3197:(function(o){var l=2147483647,s=36,c=1,d=26,h=38,p=700,g=72,m=128,_="-",E=/[^\0-\u007E]/,w=/[.\u3002\uFF0E\uFF61]/g,b="Overflow: input needs wider integers to process",x=s-c,T=Math.floor,A=String.fromCharCode,O=function(V){for(var F=[],B=0,K=V.length;B<K;){var Q=V.charCodeAt(B++);if(Q>=55296&&Q<=56319&&B<K){var X=V.charCodeAt(B++);(X&64512)==56320?F.push(((Q&1023)<<10)+(X&1023)+65536):(F.push(Q),B--)}else F.push(Q)}return F},y=function(V){return V+22+75*(V<26)},P=function(V,F,B){var K=0;for(V=B?T(V/p):V>>1,V+=T(V/F);V>x*d>>1;K+=s)V=T(V/x);return T(K+(x+1)*V/(V+h))},D=function(V){var F=[];V=O(V);var B=V.length,K=m,Q=0,X=g,te,ue;for(te=0;te<V.length;te++)ue=V[te],ue<128&&F.push(A(ue));var L=F.length,I=L;for(L&&F.push(_);I<B;){var N=l;for(te=0;te<V.length;te++)ue=V[te],ue>=K&&ue<N&&(N=ue);var re=I+1;if(N-K>T((l-Q)/re))throw RangeError(b);for(Q+=(N-K)*re,K=N,te=0;te<V.length;te++){if(ue=V[te],ue<K&&++Q>l)throw RangeError(b);if(ue==K){for(var ee=Q,ce=s;;ce+=s){var be=ce<=X?c:ce>=X+d?d:ce-X;if(ee<be)break;var Ie=ee-be,je=s-be;F.push(A(y(be+Ie%je))),ee=T(Ie/je)}F.push(A(y(ee))),X=P(Q,re,I==L),Q=0,++I}}++Q,++K}return F.join("")};o.exports=function(V){var F=[],B=V.toLowerCase().replace(w,".").split("."),K,Q;for(K=0;K<B.length;K++)Q=B[K],F.push(E.test(Q)?"xn--"+D(Q):Q);return F.join(".")}}),6091:(function(o,l,s){var c=s(7293),d=s(1361),h="​…᠎";o.exports=function(p){return c(function(){return!!d[p]()||h[p]()!=h||d[p].name!==p})}}),3111:(function(o,l,s){var c=s(4488),d=s(1361),h="["+d+"]",p=RegExp("^"+h+h+"*"),g=RegExp(h+h+"*$"),m=function(_){return function(E){var w=String(c(E));return _&1&&(w=w.replace(p,"")),_&2&&(w=w.replace(g,"")),w}};o.exports={start:m(1),end:m(2),trim:m(3)}}),1400:(function(o,l,s){var c=s(9958),d=Math.max,h=Math.min;o.exports=function(p,g){var m=c(p);return m<0?d(m+g,0):h(m,g)}}),7067:(function(o,l,s){var c=s(9958),d=s(7466);o.exports=function(h){if(h===void 0)return 0;var p=c(h),g=d(p);if(p!==g)throw RangeError("Wrong length or index");return g}}),5656:(function(o,l,s){var c=s(8361),d=s(4488);o.exports=function(h){return c(d(h))}}),9958:(function(o){var l=Math.ceil,s=Math.floor;o.exports=function(c){return isNaN(c=+c)?0:(c>0?s:l)(c)}}),7466:(function(o,l,s){var c=s(9958),d=Math.min;o.exports=function(h){return h>0?d(c(h),9007199254740991):0}}),7908:(function(o,l,s){var c=s(4488);o.exports=function(d){return Object(c(d))}}),4590:(function(o,l,s){var c=s(3002);o.exports=function(d,h){var p=c(d);if(p%h)throw RangeError("Wrong offset");return p}}),3002:(function(o,l,s){var c=s(9958);o.exports=function(d){var h=c(d);if(h<0)throw RangeError("The argument can't be less than 0");return h}}),7593:(function(o,l,s){var c=s(111);o.exports=function(d,h){if(!c(d))return d;var p,g;if(h&&typeof(p=d.toString)=="function"&&!c(g=p.call(d))||typeof(p=d.valueOf)=="function"&&!c(g=p.call(d))||!h&&typeof(p=d.toString)=="function"&&!c(g=p.call(d)))return g;throw TypeError("Can't convert object to primitive value")}}),1694:(function(o,l,s){var c=s(5112),d=c("toStringTag"),h={};h[d]="z",o.exports=String(h)==="[object z]"}),9843:(function(o,l,s){var c=s(2109),d=s(7854),h=s(9781),p=s(3832),g=s(260),m=s(3331),_=s(5787),E=s(9114),w=s(8880),b=s(7466),x=s(7067),T=s(4590),A=s(7593),O=s(6656),y=s(648),P=s(111),D=s(30),V=s(7674),F=s(8006).f,B=s(7321),K=s(2092).forEach,Q=s(6340),X=s(3070),te=s(1236),ue=s(9909),L=s(9587),I=ue.get,N=ue.set,re=X.f,ee=te.f,ce=Math.round,be=d.RangeError,Ie=m.ArrayBuffer,je=m.DataView,z=g.NATIVE_ARRAY_BUFFER_VIEWS,k=g.TYPED_ARRAY_TAG,U=g.TypedArray,H=g.TypedArrayPrototype,ne=g.aTypedArrayConstructor,q=g.isTypedArray,J="BYTES_PER_ELEMENT",me="Wrong length",fe=function(Ee,_e){for(var Ae=0,De=_e.length,Ne=new(ne(Ee))(De);De>Ae;)Ne[Ae]=_e[Ae++];return Ne},Te=function(Ee,_e){re(Ee,_e,{get:function(){return I(this)[_e]}})},Se=function(Ee){var _e;return Ee instanceof Ie||(_e=y(Ee))=="ArrayBuffer"||_e=="SharedArrayBuffer"},Oe=function(Ee,_e){return q(Ee)&&typeof _e!="symbol"&&_e in Ee&&String(+_e)==String(_e)},Me=function(_e,Ae){return Oe(_e,Ae=A(Ae,!0))?E(2,_e[Ae]):ee(_e,Ae)},de=function(_e,Ae,De){return Oe(_e,Ae=A(Ae,!0))&&P(De)&&O(De,"value")&&!O(De,"get")&&!O(De,"set")&&!De.configurable&&(!O(De,"writable")||De.writable)&&(!O(De,"enumerable")||De.enumerable)?(_e[Ae]=De.value,_e):re(_e,Ae,De)};h?(z||(te.f=Me,X.f=de,Te(H,"buffer"),Te(H,"byteOffset"),Te(H,"byteLength"),Te(H,"length")),c({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:Me,defineProperty:de}),o.exports=function(Ee,_e,Ae){var De=Ee.match(/\d+$/)[0]/8,Ne=Ee+(Ae?"Clamped":"")+"Array",Be="get"+Ee,_t="set"+Ee,Ut=d[Ne],Mt=Ut,Qe=Mt&&Mt.prototype,bt={},mt=function(at,Ft){var At=I(at);return At.view[Be](Ft*De+At.byteOffset,!0)},St=function(at,Ft,At){var Re=I(at);Ae&&(At=(At=ce(At))<0?0:At>255?255:At&255),Re.view[_t](Ft*De+Re.byteOffset,At,!0)},yt=function(at,Ft){re(at,Ft,{get:function(){return mt(this,Ft)},set:function(At){return St(this,Ft,At)},enumerable:!0})};z?p&&(Mt=_e(function(at,Ft,At,Re){return _(at,Mt,Ne),L((function(){return P(Ft)?Se(Ft)?Re!==void 0?new Ut(Ft,T(At,De),Re):At!==void 0?new Ut(Ft,T(At,De)):new Ut(Ft):q(Ft)?fe(Mt,Ft):B.call(Mt,Ft):new Ut(x(Ft))})(),at,Mt)}),V&&V(Mt,U),K(F(Ut),function(at){at in Mt||w(Mt,at,Ut[at])}),Mt.prototype=Qe):(Mt=_e(function(at,Ft,At,Re){_(at,Mt,Ne);var Je=0,ut=0,Ct,kt,rr;if(!P(Ft))rr=x(Ft),kt=rr*De,Ct=new Ie(kt);else if(Se(Ft)){Ct=Ft,ut=T(At,De);var Sr=Ft.byteLength;if(Re===void 0){if(Sr%De||(kt=Sr-ut,kt<0))throw be(me)}else if(kt=b(Re)*De,kt+ut>Sr)throw be(me);rr=kt/De}else return q(Ft)?fe(Mt,Ft):B.call(Mt,Ft);for(N(at,{buffer:Ct,byteOffset:ut,byteLength:kt,length:rr,view:new je(Ct)});Je<rr;)yt(at,Je++)}),V&&V(Mt,U),Qe=Mt.prototype=D(H)),Qe.constructor!==Mt&&w(Qe,"constructor",Mt),k&&w(Qe,k,Ne),bt[Ne]=Mt,c({global:!0,forced:Mt!=Ut,sham:!z},bt),J in Mt||w(Mt,J,De),J in Qe||w(Qe,J,De),Q(Ne)}):o.exports=function(){}}),3832:(function(o,l,s){var c=s(7854),d=s(7293),h=s(7072),p=s(260).NATIVE_ARRAY_BUFFER_VIEWS,g=c.ArrayBuffer,m=c.Int8Array;o.exports=!p||!d(function(){m(1)})||!d(function(){new m(-1)})||!h(function(_){new m,new m(null),new m(1.5),new m(_)},!0)||d(function(){return new m(new g(2),1,void 0).length!==1})}),3074:(function(o,l,s){var c=s(260).aTypedArrayConstructor,d=s(6707);o.exports=function(h,p){for(var g=d(h,h.constructor),m=0,_=p.length,E=new(c(g))(_);_>m;)E[m]=p[m++];return E}}),7321:(function(o,l,s){var c=s(7908),d=s(7466),h=s(1246),p=s(7659),g=s(9974),m=s(260).aTypedArrayConstructor;o.exports=function(E){var w=c(E),b=arguments.length,x=b>1?arguments[1]:void 0,T=x!==void 0,A=h(w),O,y,P,D,V,F;if(A!=null&&!p(A))for(V=A.call(w),F=V.next,w=[];!(D=F.call(V)).done;)w.push(D.value);for(T&&b>2&&(x=g(x,arguments[2],2)),y=d(w.length),P=new(m(this))(y),O=0;y>O;O++)P[O]=T?x(w[O],O):w[O];return P}}),9711:(function(o){var l=0,s=Math.random();o.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++l+s).toString(36)}}),3307:(function(o,l,s){var c=s(133);o.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(o,l,s){var c=s(7854),d=s(2309),h=s(6656),p=s(9711),g=s(133),m=s(3307),_=d("wks"),E=c.Symbol,w=m?E:E&&E.withoutSetter||p;o.exports=function(b){return h(_,b)||(g&&h(E,b)?_[b]=E[b]:_[b]=w("Symbol."+b)),_[b]}}),1361:(function(o){o.exports=`
214
+ \v\f\r                 \u2028\u2029\uFEFF`}),8264:(function(o,l,s){var c=s(2109),d=s(7854),h=s(3331),p=s(6340),g="ArrayBuffer",m=h[g],_=d[g];c({global:!0,forced:_!==m},{ArrayBuffer:m}),p(g)}),2222:(function(o,l,s){var c=s(2109),d=s(7293),h=s(3157),p=s(111),g=s(7908),m=s(7466),_=s(6135),E=s(5417),w=s(1194),b=s(5112),x=s(7392),T=b("isConcatSpreadable"),A=9007199254740991,O="Maximum allowed index exceeded",y=x>=51||!d(function(){var F=[];return F[T]=!1,F.concat()[0]!==F}),P=w("concat"),D=function(F){if(!p(F))return!1;var B=F[T];return B!==void 0?!!B:h(F)},V=!y||!P;c({target:"Array",proto:!0,forced:V},{concat:function(B){var K=g(this),Q=E(K,0),X=0,te,ue,L,I,N;for(te=-1,L=arguments.length;te<L;te++)if(N=te===-1?K:arguments[te],D(N)){if(I=m(N.length),X+I>A)throw TypeError(O);for(ue=0;ue<I;ue++,X++)ue in N&&_(Q,X,N[ue])}else{if(X>=A)throw TypeError(O);_(Q,X++,N)}return Q.length=X,Q}})}),7327:(function(o,l,s){var c=s(2109),d=s(2092).filter,h=s(1194),p=h("filter");c({target:"Array",proto:!0,forced:!p},{filter:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(o,l,s){var c=s(2109),d=s(1318).indexOf,h=s(9341),p=[].indexOf,g=!!p&&1/[1].indexOf(1,-0)<0,m=h("indexOf");c({target:"Array",proto:!0,forced:g||!m},{indexOf:function(E){return g?p.apply(this,arguments)||0:d(this,E,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(o,l,s){var c=s(5656),d=s(1223),h=s(7497),p=s(9909),g=s(654),m="Array Iterator",_=p.set,E=p.getterFor(m);o.exports=g(Array,"Array",function(w,b){_(this,{type:m,target:c(w),index:0,kind:b})},function(){var w=E(this),b=w.target,x=w.kind,T=w.index++;return!b||T>=b.length?(w.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:T,done:!1}:x=="values"?{value:b[T],done:!1}:{value:[T,b[T]],done:!1}},"values"),h.Arguments=h.Array,d("keys"),d("values"),d("entries")}),1249:(function(o,l,s){var c=s(2109),d=s(2092).map,h=s(1194),p=h("map");c({target:"Array",proto:!0,forced:!p},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(o,l,s){var c=s(2109),d=s(111),h=s(3157),p=s(1400),g=s(7466),m=s(5656),_=s(6135),E=s(5112),w=s(1194),b=w("slice"),x=E("species"),T=[].slice,A=Math.max;c({target:"Array",proto:!0,forced:!b},{slice:function(y,P){var D=m(this),V=g(D.length),F=p(y,V),B=p(P===void 0?V:P,V),K,Q,X;if(h(D)&&(K=D.constructor,typeof K=="function"&&(K===Array||h(K.prototype))?K=void 0:d(K)&&(K=K[x],K===null&&(K=void 0)),K===Array||K===void 0))return T.call(D,F,B);for(Q=new(K===void 0?Array:K)(A(B-F,0)),X=0;F<B;F++,X++)F in D&&_(Q,X,D[F]);return Q.length=X,Q}})}),561:(function(o,l,s){var c=s(2109),d=s(1400),h=s(9958),p=s(7466),g=s(7908),m=s(5417),_=s(6135),E=s(1194),w=E("splice"),b=Math.max,x=Math.min,T=9007199254740991,A="Maximum allowed length exceeded";c({target:"Array",proto:!0,forced:!w},{splice:function(y,P){var D=g(this),V=p(D.length),F=d(y,V),B=arguments.length,K,Q,X,te,ue,L;if(B===0?K=Q=0:B===1?(K=0,Q=V-F):(K=B-2,Q=x(b(h(P),0),V-F)),V+K-Q>T)throw TypeError(A);for(X=m(D,Q),te=0;te<Q;te++)ue=F+te,ue in D&&_(X,te,D[ue]);if(X.length=Q,K<Q){for(te=F;te<V-Q;te++)ue=te+Q,L=te+K,ue in D?D[L]=D[ue]:delete D[L];for(te=V;te>V-Q+K;te--)delete D[te-1]}else if(K>Q)for(te=V-Q;te>F;te--)ue=te+Q-1,L=te+K-1,ue in D?D[L]=D[ue]:delete D[L];for(te=0;te<K;te++)D[te+F]=arguments[te+2];return D.length=V-Q+K,X}})}),8309:(function(o,l,s){var c=s(9781),d=s(3070).f,h=Function.prototype,p=h.toString,g=/^\s*function ([^ (]*)/,m="name";c&&!(m in h)&&d(h,m,{configurable:!0,get:function(){try{return p.call(this).match(g)[1]}catch{return""}}})}),489:(function(o,l,s){var c=s(2109),d=s(7293),h=s(7908),p=s(9518),g=s(8544),m=d(function(){p(1)});c({target:"Object",stat:!0,forced:m,sham:!g},{getPrototypeOf:function(E){return p(h(E))}})}),1539:(function(o,l,s){var c=s(1694),d=s(1320),h=s(288);c||d(Object.prototype,"toString",h,{unsafe:!0})}),4916:(function(o,l,s){var c=s(2109),d=s(2261);c({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})}),9714:(function(o,l,s){var c=s(1320),d=s(9670),h=s(7293),p=s(7066),g="toString",m=RegExp.prototype,_=m[g],E=h(function(){return _.call({source:"a",flags:"b"})!="/a/b"}),w=_.name!=g;(E||w)&&c(RegExp.prototype,g,function(){var x=d(this),T=String(x.source),A=x.flags,O=String(A===void 0&&x instanceof RegExp&&!("flags"in m)?p.call(x):A);return"/"+T+"/"+O},{unsafe:!0})}),8783:(function(o,l,s){var c=s(8710).charAt,d=s(9909),h=s(654),p="String Iterator",g=d.set,m=d.getterFor(p);h(String,"String",function(_){g(this,{type:p,string:String(_),index:0})},function(){var E=m(this),w=E.string,b=E.index,x;return b>=w.length?{value:void 0,done:!0}:(x=c(w,b),E.index+=x.length,{value:x,done:!1})})}),4723:(function(o,l,s){var c=s(7007),d=s(9670),h=s(7466),p=s(4488),g=s(1530),m=s(7651);c("match",1,function(_,E,w){return[function(x){var T=p(this),A=x==null?void 0:x[_];return A!==void 0?A.call(x,T):new RegExp(x)[_](String(T))},function(b){var x=w(E,b,this);if(x.done)return x.value;var T=d(b),A=String(this);if(!T.global)return m(T,A);var O=T.unicode;T.lastIndex=0;for(var y=[],P=0,D;(D=m(T,A))!==null;){var V=String(D[0]);y[P]=V,V===""&&(T.lastIndex=g(A,h(T.lastIndex),O)),P++}return P===0?null:y}]})}),5306:(function(o,l,s){var c=s(7007),d=s(9670),h=s(7466),p=s(9958),g=s(4488),m=s(1530),_=s(647),E=s(7651),w=Math.max,b=Math.min,x=function(T){return T===void 0?T:String(T)};c("replace",2,function(T,A,O,y){var P=y.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,D=y.REPLACE_KEEPS_$0,V=P?"$":"$0";return[function(B,K){var Q=g(this),X=B==null?void 0:B[T];return X!==void 0?X.call(B,Q,K):A.call(String(Q),B,K)},function(F,B){if(!P&&D||typeof B=="string"&&B.indexOf(V)===-1){var K=O(A,F,this,B);if(K.done)return K.value}var Q=d(F),X=String(this),te=typeof B=="function";te||(B=String(B));var ue=Q.global;if(ue){var L=Q.unicode;Q.lastIndex=0}for(var I=[];;){var N=E(Q,X);if(N===null||(I.push(N),!ue))break;var re=String(N[0]);re===""&&(Q.lastIndex=m(X,h(Q.lastIndex),L))}for(var ee="",ce=0,be=0;be<I.length;be++){N=I[be];for(var Ie=String(N[0]),je=w(b(p(N.index),X.length),0),z=[],k=1;k<N.length;k++)z.push(x(N[k]));var U=N.groups;if(te){var H=[Ie].concat(z,je,X);U!==void 0&&H.push(U);var ne=String(B.apply(void 0,H))}else ne=_(Ie,X,je,z,U,B);je>=ce&&(ee+=X.slice(ce,je)+ne,ce=je+Ie.length)}return ee+X.slice(ce)}]})}),3123:(function(o,l,s){var c=s(7007),d=s(7850),h=s(9670),p=s(4488),g=s(6707),m=s(1530),_=s(7466),E=s(7651),w=s(2261),b=s(7293),x=[].push,T=Math.min,A=4294967295,O=!b(function(){return!RegExp(A,"y")});c("split",2,function(y,P,D){var V;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(F,B){var K=String(p(this)),Q=B===void 0?A:B>>>0;if(Q===0)return[];if(F===void 0)return[K];if(!d(F))return P.call(K,F,Q);for(var X=[],te=(F.ignoreCase?"i":"")+(F.multiline?"m":"")+(F.unicode?"u":"")+(F.sticky?"y":""),ue=0,L=new RegExp(F.source,te+"g"),I,N,re;(I=w.call(L,K))&&(N=L.lastIndex,!(N>ue&&(X.push(K.slice(ue,I.index)),I.length>1&&I.index<K.length&&x.apply(X,I.slice(1)),re=I[0].length,ue=N,X.length>=Q)));)L.lastIndex===I.index&&L.lastIndex++;return ue===K.length?(re||!L.test(""))&&X.push(""):X.push(K.slice(ue)),X.length>Q?X.slice(0,Q):X}:"0".split(void 0,0).length?V=function(F,B){return F===void 0&&B===0?[]:P.call(this,F,B)}:V=P,[function(B,K){var Q=p(this),X=B==null?void 0:B[y];return X!==void 0?X.call(B,Q,K):V.call(String(Q),B,K)},function(F,B){var K=D(V,F,this,B,V!==P);if(K.done)return K.value;var Q=h(F),X=String(this),te=g(Q,RegExp),ue=Q.unicode,L=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"y":"g"),I=new te(O?Q:"^(?:"+Q.source+")",L),N=B===void 0?A:B>>>0;if(N===0)return[];if(X.length===0)return E(I,X)===null?[X]:[];for(var re=0,ee=0,ce=[];ee<X.length;){I.lastIndex=O?ee:0;var be=E(I,O?X:X.slice(ee)),Ie;if(be===null||(Ie=T(_(I.lastIndex+(O?0:ee)),X.length))===re)ee=m(X,ee,ue);else{if(ce.push(X.slice(re,ee)),ce.length===N)return ce;for(var je=1;je<=be.length-1;je++)if(ce.push(be[je]),ce.length===N)return ce;ee=re=Ie}}return ce.push(X.slice(re)),ce}]},!O)}),3210:(function(o,l,s){var c=s(2109),d=s(3111).trim,h=s(6091);c({target:"String",proto:!0,forced:h("trim")},{trim:function(){return d(this)}})}),2990:(function(o,l,s){var c=s(260),d=s(1048),h=c.aTypedArray,p=c.exportTypedArrayMethod;p("copyWithin",function(m,_){return d.call(h(this),m,_,arguments.length>2?arguments[2]:void 0)})}),8927:(function(o,l,s){var c=s(260),d=s(2092).every,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("every",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3105:(function(o,l,s){var c=s(260),d=s(1285),h=c.aTypedArray,p=c.exportTypedArrayMethod;p("fill",function(m){return d.apply(h(this),arguments)})}),5035:(function(o,l,s){var c=s(260),d=s(2092).filter,h=s(3074),p=c.aTypedArray,g=c.exportTypedArrayMethod;g("filter",function(_){var E=d(p(this),_,arguments.length>1?arguments[1]:void 0);return h(this,E)})}),7174:(function(o,l,s){var c=s(260),d=s(2092).findIndex,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("findIndex",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4345:(function(o,l,s){var c=s(260),d=s(2092).find,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("find",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),2846:(function(o,l,s){var c=s(260),d=s(2092).forEach,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("forEach",function(m){d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4731:(function(o,l,s){var c=s(260),d=s(1318).includes,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("includes",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),7209:(function(o,l,s){var c=s(260),d=s(1318).indexOf,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("indexOf",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),6319:(function(o,l,s){var c=s(7854),d=s(260),h=s(6992),p=s(5112),g=p("iterator"),m=c.Uint8Array,_=h.values,E=h.keys,w=h.entries,b=d.aTypedArray,x=d.exportTypedArrayMethod,T=m&&m.prototype[g],A=!!T&&(T.name=="values"||T.name==null),O=function(){return _.call(b(this))};x("entries",function(){return w.call(b(this))}),x("keys",function(){return E.call(b(this))}),x("values",O,!A),x(g,O,!A)}),8867:(function(o,l,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,p=[].join;h("join",function(m){return p.apply(d(this),arguments)})}),7789:(function(o,l,s){var c=s(260),d=s(6583),h=c.aTypedArray,p=c.exportTypedArrayMethod;p("lastIndexOf",function(m){return d.apply(h(this),arguments)})}),3739:(function(o,l,s){var c=s(260),d=s(2092).map,h=s(6707),p=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod;m("map",function(E){return d(p(this),E,arguments.length>1?arguments[1]:void 0,function(w,b){return new(g(h(w,w.constructor)))(b)})})}),4483:(function(o,l,s){var c=s(260),d=s(3671).right,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("reduceRight",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(o,l,s){var c=s(260),d=s(3671).left,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("reduce",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(o,l,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,p=Math.floor;h("reverse",function(){for(var m=this,_=d(m).length,E=p(_/2),w=0,b;w<E;)b=m[w],m[w++]=m[--_],m[_]=b;return m})}),3462:(function(o,l,s){var c=s(260),d=s(7466),h=s(4590),p=s(7908),g=s(7293),m=c.aTypedArray,_=c.exportTypedArrayMethod,E=g(function(){new Int8Array(1).set({})});_("set",function(b){m(this);var x=h(arguments.length>1?arguments[1]:void 0,1),T=this.length,A=p(b),O=d(A.length),y=0;if(O+x>T)throw RangeError("Wrong length");for(;y<O;)this[x+y]=A[y++]},E)}),678:(function(o,l,s){var c=s(260),d=s(6707),h=s(7293),p=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod,_=[].slice,E=h(function(){new Int8Array(1).slice()});m("slice",function(b,x){for(var T=_.call(p(this),b,x),A=d(this,this.constructor),O=0,y=T.length,P=new(g(A))(y);y>O;)P[O]=T[O++];return P},E)}),7462:(function(o,l,s){var c=s(260),d=s(2092).some,h=c.aTypedArray,p=c.exportTypedArrayMethod;p("some",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3824:(function(o,l,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,p=[].sort;h("sort",function(m){return p.call(d(this),m)})}),5021:(function(o,l,s){var c=s(260),d=s(7466),h=s(1400),p=s(6707),g=c.aTypedArray,m=c.exportTypedArrayMethod;m("subarray",function(E,w){var b=g(this),x=b.length,T=h(E,x);return new(p(b,b.constructor))(b.buffer,b.byteOffset+T*b.BYTES_PER_ELEMENT,d((w===void 0?x:h(w,x))-T))})}),2974:(function(o,l,s){var c=s(7854),d=s(260),h=s(7293),p=c.Int8Array,g=d.aTypedArray,m=d.exportTypedArrayMethod,_=[].toLocaleString,E=[].slice,w=!!p&&h(function(){_.call(new p(1))}),b=h(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!h(function(){p.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return _.apply(w?E.call(g(this)):g(this),arguments)},b)}),5016:(function(o,l,s){var c=s(260).exportTypedArrayMethod,d=s(7293),h=s(7854),p=h.Uint8Array,g=p&&p.prototype||{},m=[].toString,_=[].join;d(function(){m.call({})})&&(m=function(){return _.call(this)});var E=g.toString!=m;c("toString",m,E)}),2472:(function(o,l,s){var c=s(9843);c("Uint8",function(d){return function(p,g,m){return d(this,p,g,m)}})}),4747:(function(o,l,s){var c=s(7854),d=s(8324),h=s(8533),p=s(8880);for(var g in d){var m=c[g],_=m&&m.prototype;if(_&&_.forEach!==h)try{p(_,"forEach",h)}catch{_.forEach=h}}}),3948:(function(o,l,s){var c=s(7854),d=s(8324),h=s(6992),p=s(8880),g=s(5112),m=g("iterator"),_=g("toStringTag"),E=h.values;for(var w in d){var b=c[w],x=b&&b.prototype;if(x){if(x[m]!==E)try{p(x,m,E)}catch{x[m]=E}if(x[_]||p(x,_,w),d[w]){for(var T in h)if(x[T]!==h[T])try{p(x,T,h[T])}catch{x[T]=h[T]}}}}}),1637:(function(o,l,s){s(6992);var c=s(2109),d=s(5005),h=s(590),p=s(1320),g=s(2248),m=s(8003),_=s(4994),E=s(9909),w=s(5787),b=s(6656),x=s(9974),T=s(648),A=s(9670),O=s(111),y=s(30),P=s(9114),D=s(8554),V=s(1246),F=s(5112),B=d("fetch"),K=d("Headers"),Q=F("iterator"),X="URLSearchParams",te=X+"Iterator",ue=E.set,L=E.getterFor(X),I=E.getterFor(te),N=/\+/g,re=Array(4),ee=function(fe){return re[fe-1]||(re[fe-1]=RegExp("((?:%[\\da-f]{2}){"+fe+"})","gi"))},ce=function(fe){try{return decodeURIComponent(fe)}catch{return fe}},be=function(fe){var Te=fe.replace(N," "),Se=4;try{return decodeURIComponent(Te)}catch{for(;Se;)Te=Te.replace(ee(Se--),ce);return Te}},Ie=/[!'()~]|%20/g,je={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(fe){return je[fe]},k=function(fe){return encodeURIComponent(fe).replace(Ie,z)},U=function(fe,Te){if(Te)for(var Se=Te.split("&"),Oe=0,Me,de;Oe<Se.length;)Me=Se[Oe++],Me.length&&(de=Me.split("="),fe.push({key:be(de.shift()),value:be(de.join("="))}))},H=function(fe){this.entries.length=0,U(this.entries,fe)},ne=function(fe,Te){if(fe<Te)throw TypeError("Not enough arguments")},q=_(function(Te,Se){ue(this,{type:te,iterator:D(L(Te).entries),kind:Se})},"Iterator",function(){var Te=I(this),Se=Te.kind,Oe=Te.iterator.next(),Me=Oe.value;return Oe.done||(Oe.value=Se==="keys"?Me.key:Se==="values"?Me.value:[Me.key,Me.value]),Oe}),J=function(){w(this,J,X);var Te=arguments.length>0?arguments[0]:void 0,Se=this,Oe=[],Me,de,Ee,_e,Ae,De,Ne,Be,_t;if(ue(Se,{type:X,entries:Oe,updateURL:function(){},updateSearchParams:H}),Te!==void 0)if(O(Te))if(Me=V(Te),typeof Me=="function")for(de=Me.call(Te),Ee=de.next;!(_e=Ee.call(de)).done;){if(Ae=D(A(_e.value)),De=Ae.next,(Ne=De.call(Ae)).done||(Be=De.call(Ae)).done||!De.call(Ae).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Ne.value+"",value:Be.value+""})}else for(_t in Te)b(Te,_t)&&Oe.push({key:_t,value:Te[_t]+""});else U(Oe,typeof Te=="string"?Te.charAt(0)==="?"?Te.slice(1):Te:Te+"")},me=J.prototype;g(me,{append:function(Te,Se){ne(arguments.length,2);var Oe=L(this);Oe.entries.push({key:Te+"",value:Se+""}),Oe.updateURL()},delete:function(fe){ne(arguments.length,1);for(var Te=L(this),Se=Te.entries,Oe=fe+"",Me=0;Me<Se.length;)Se[Me].key===Oe?Se.splice(Me,1):Me++;Te.updateURL()},get:function(Te){ne(arguments.length,1);for(var Se=L(this).entries,Oe=Te+"",Me=0;Me<Se.length;Me++)if(Se[Me].key===Oe)return Se[Me].value;return null},getAll:function(Te){ne(arguments.length,1);for(var Se=L(this).entries,Oe=Te+"",Me=[],de=0;de<Se.length;de++)Se[de].key===Oe&&Me.push(Se[de].value);return Me},has:function(Te){ne(arguments.length,1);for(var Se=L(this).entries,Oe=Te+"",Me=0;Me<Se.length;)if(Se[Me++].key===Oe)return!0;return!1},set:function(Te,Se){ne(arguments.length,1);for(var Oe=L(this),Me=Oe.entries,de=!1,Ee=Te+"",_e=Se+"",Ae=0,De;Ae<Me.length;Ae++)De=Me[Ae],De.key===Ee&&(de?Me.splice(Ae--,1):(de=!0,De.value=_e));de||Me.push({key:Ee,value:_e}),Oe.updateURL()},sort:function(){var Te=L(this),Se=Te.entries,Oe=Se.slice(),Me,de,Ee;for(Se.length=0,Ee=0;Ee<Oe.length;Ee++){for(Me=Oe[Ee],de=0;de<Ee;de++)if(Se[de].key>Me.key){Se.splice(de,0,Me);break}de===Ee&&Se.push(Me)}Te.updateURL()},forEach:function(Te){for(var Se=L(this).entries,Oe=x(Te,arguments.length>1?arguments[1]:void 0,3),Me=0,de;Me<Se.length;)de=Se[Me++],Oe(de.value,de.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),p(me,Q,me.entries),p(me,"toString",function(){for(var Te=L(this).entries,Se=[],Oe=0,Me;Oe<Te.length;)Me=Te[Oe++],Se.push(k(Me.key)+"="+k(Me.value));return Se.join("&")},{enumerable:!0}),m(J,X),c({global:!0,forced:!h},{URLSearchParams:J}),!h&&typeof B=="function"&&typeof K=="function"&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(Te){var Se=[Te],Oe,Me,de;return arguments.length>1&&(Oe=arguments[1],O(Oe)&&(Me=Oe.body,T(Me)===X&&(de=Oe.headers?new K(Oe.headers):new K,de.has("content-type")||de.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=y(Oe,{body:P(0,String(Me)),headers:P(0,de)}))),Se.push(Oe)),B.apply(this,Se)}}),o.exports={URLSearchParams:J,getState:L}}),285:(function(o,l,s){s(8783);var c=s(2109),d=s(9781),h=s(590),p=s(7854),g=s(6048),m=s(1320),_=s(5787),E=s(6656),w=s(1574),b=s(8457),x=s(8710).codeAt,T=s(3197),A=s(8003),O=s(1637),y=s(9909),P=p.URL,D=O.URLSearchParams,V=O.getState,F=y.set,B=y.getterFor("URL"),K=Math.floor,Q=Math.pow,X="Invalid authority",te="Invalid scheme",ue="Invalid host",L="Invalid port",I=/[A-Za-z]/,N=/[\d+-.A-Za-z]/,re=/\d/,ee=/^(0x|0X)/,ce=/^[0-7]+$/,be=/^\d+$/,Ie=/^[\dA-Fa-f]+$/,je=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,z=/[\u0000\t\u000A\u000D #/:?@[\\]]/,k=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,U=/[\t\u000A\u000D]/g,H,ne=function(we,ct){var nt,ft,Lt;if(ct.charAt(0)=="["){if(ct.charAt(ct.length-1)!="]"||(nt=J(ct.slice(1,-1)),!nt))return ue;we.host=nt}else if(_e(we)){if(ct=T(ct),je.test(ct)||(nt=q(ct),nt===null))return ue;we.host=nt}else{if(z.test(ct))return ue;for(nt="",ft=b(ct),Lt=0;Lt<ft.length;Lt++)nt+=de(ft[Lt],Te);we.host=nt}},q=function(we){var ct=we.split("."),nt,ft,Lt,dt,Gt,Nr,Jr;if(ct.length&&ct[ct.length-1]==""&&ct.pop(),nt=ct.length,nt>4)return we;for(ft=[],Lt=0;Lt<nt;Lt++){if(dt=ct[Lt],dt=="")return we;if(Gt=10,dt.length>1&&dt.charAt(0)=="0"&&(Gt=ee.test(dt)?16:8,dt=dt.slice(Gt==8?1:2)),dt==="")Nr=0;else{if(!(Gt==10?be:Gt==8?ce:Ie).test(dt))return we;Nr=parseInt(dt,Gt)}ft.push(Nr)}for(Lt=0;Lt<nt;Lt++)if(Nr=ft[Lt],Lt==nt-1){if(Nr>=Q(256,5-nt))return null}else if(Nr>255)return null;for(Jr=ft.pop(),Lt=0;Lt<ft.length;Lt++)Jr+=ft[Lt]*Q(256,3-Lt);return Jr},J=function(we){var ct=[0,0,0,0,0,0,0,0],nt=0,ft=null,Lt=0,dt,Gt,Nr,Jr,en,fn,$t,Yr=function(){return we.charAt(Lt)};if(Yr()==":"){if(we.charAt(1)!=":")return;Lt+=2,nt++,ft=nt}for(;Yr();){if(nt==8)return;if(Yr()==":"){if(ft!==null)return;Lt++,nt++,ft=nt;continue}for(dt=Gt=0;Gt<4&&Ie.test(Yr());)dt=dt*16+parseInt(Yr(),16),Lt++,Gt++;if(Yr()=="."){if(Gt==0||(Lt-=Gt,nt>6))return;for(Nr=0;Yr();){if(Jr=null,Nr>0)if(Yr()=="."&&Nr<4)Lt++;else return;if(!re.test(Yr()))return;for(;re.test(Yr());){if(en=parseInt(Yr(),10),Jr===null)Jr=en;else{if(Jr==0)return;Jr=Jr*10+en}if(Jr>255)return;Lt++}ct[nt]=ct[nt]*256+Jr,Nr++,(Nr==2||Nr==4)&&nt++}if(Nr!=4)return;break}else if(Yr()==":"){if(Lt++,!Yr())return}else if(Yr())return;ct[nt++]=dt}if(ft!==null)for(fn=nt-ft,nt=7;nt!=0&&fn>0;)$t=ct[nt],ct[nt--]=ct[ft+fn-1],ct[ft+--fn]=$t;else if(nt!=8)return;return ct},me=function(we){for(var ct=null,nt=1,ft=null,Lt=0,dt=0;dt<8;dt++)we[dt]!==0?(Lt>nt&&(ct=ft,nt=Lt),ft=null,Lt=0):(ft===null&&(ft=dt),++Lt);return Lt>nt&&(ct=ft,nt=Lt),ct},fe=function(we){var ct,nt,ft,Lt;if(typeof we=="number"){for(ct=[],nt=0;nt<4;nt++)ct.unshift(we%256),we=K(we/256);return ct.join(".")}else if(typeof we=="object"){for(ct="",ft=me(we),nt=0;nt<8;nt++)Lt&&we[nt]===0||(Lt&&(Lt=!1),ft===nt?(ct+=nt?":":"::",Lt=!0):(ct+=we[nt].toString(16),nt<7&&(ct+=":")));return"["+ct+"]"}return we},Te={},Se=w({},Te,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=w({},Se,{"#":1,"?":1,"{":1,"}":1}),Me=w({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(we,ct){var nt=x(we,0);return nt>32&&nt<127&&!E(ct,we)?we:encodeURIComponent(we)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_e=function(we){return E(Ee,we.scheme)},Ae=function(we){return we.username!=""||we.password!=""},De=function(we){return!we.host||we.cannotBeABaseURL||we.scheme=="file"},Ne=function(we,ct){var nt;return we.length==2&&I.test(we.charAt(0))&&((nt=we.charAt(1))==":"||!ct&&nt=="|")},Be=function(we){var ct;return we.length>1&&Ne(we.slice(0,2))&&(we.length==2||(ct=we.charAt(2))==="/"||ct==="\\"||ct==="?"||ct==="#")},_t=function(we){var ct=we.path,nt=ct.length;nt&&(we.scheme!="file"||nt!=1||!Ne(ct[0],!0))&&ct.pop()},Ut=function(we){return we==="."||we.toLowerCase()==="%2e"},Mt=function(we){return we=we.toLowerCase(),we===".."||we==="%2e."||we===".%2e"||we==="%2e%2e"},Qe={},bt={},mt={},St={},yt={},at={},Ft={},At={},Re={},Je={},ut={},Ct={},kt={},rr={},Sr={},ur={},mr={},Lr={},un={},ui={},Pn={},wn=function(we,ct,nt,ft){var Lt=nt||Qe,dt=0,Gt="",Nr=!1,Jr=!1,en=!1,fn,$t,Yr,Hi;for(nt||(we.scheme="",we.username="",we.password="",we.host=null,we.port=null,we.path=[],we.query=null,we.fragment=null,we.cannotBeABaseURL=!1,ct=ct.replace(k,"")),ct=ct.replace(U,""),fn=b(ct);dt<=fn.length;){switch($t=fn[dt],Lt){case Qe:if($t&&I.test($t))Gt+=$t.toLowerCase(),Lt=bt;else{if(nt)return te;Lt=mt;continue}break;case bt:if($t&&(N.test($t)||$t=="+"||$t=="-"||$t=="."))Gt+=$t.toLowerCase();else if($t==":"){if(nt&&(_e(we)!=E(Ee,Gt)||Gt=="file"&&(Ae(we)||we.port!==null)||we.scheme=="file"&&!we.host))return;if(we.scheme=Gt,nt){_e(we)&&Ee[we.scheme]==we.port&&(we.port=null);return}Gt="",we.scheme=="file"?Lt=rr:_e(we)&&ft&&ft.scheme==we.scheme?Lt=St:_e(we)?Lt=At:fn[dt+1]=="/"?(Lt=yt,dt++):(we.cannotBeABaseURL=!0,we.path.push(""),Lt=un)}else{if(nt)return te;Gt="",Lt=mt,dt=0;continue}break;case mt:if(!ft||ft.cannotBeABaseURL&&$t!="#")return te;if(ft.cannotBeABaseURL&&$t=="#"){we.scheme=ft.scheme,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",we.cannotBeABaseURL=!0,Lt=Pn;break}Lt=ft.scheme=="file"?rr:at;continue;case St:if($t=="/"&&fn[dt+1]=="/")Lt=Re,dt++;else{Lt=at;continue}break;case yt:if($t=="/"){Lt=Je;break}else{Lt=Lr;continue}case at:if(we.scheme=ft.scheme,$t==H)we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query;else if($t=="/"||$t=="\\"&&_e(we))Lt=Ft;else if($t=="?")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query="",Lt=ui;else if($t=="#")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",Lt=Pn;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.path.pop(),Lt=Lr;continue}break;case Ft:if(_e(we)&&($t=="/"||$t=="\\"))Lt=Re;else if($t=="/")Lt=Je;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,Lt=Lr;continue}break;case At:if(Lt=Re,$t!="/"||Gt.charAt(dt+1)!="/")continue;dt++;break;case Re:if($t!="/"&&$t!="\\"){Lt=Je;continue}break;case Je:if($t=="@"){Nr&&(Gt="%40"+Gt),Nr=!0,Yr=b(Gt);for(var ni=0;ni<Yr.length;ni++){var ua=Yr[ni];if(ua==":"&&!en){en=!0;continue}var Fi=de(ua,Me);en?we.password+=Fi:we.username+=Fi}Gt=""}else if($t==H||$t=="/"||$t=="?"||$t=="#"||$t=="\\"&&_e(we)){if(Nr&&Gt=="")return X;dt-=b(Gt).length+1,Gt="",Lt=ut}else Gt+=$t;break;case ut:case Ct:if(nt&&we.scheme=="file"){Lt=ur;continue}else if($t==":"&&!Jr){if(Gt=="")return ue;if(Hi=ne(we,Gt),Hi)return Hi;if(Gt="",Lt=kt,nt==Ct)return}else if($t==H||$t=="/"||$t=="?"||$t=="#"||$t=="\\"&&_e(we)){if(_e(we)&&Gt=="")return ue;if(nt&&Gt==""&&(Ae(we)||we.port!==null))return;if(Hi=ne(we,Gt),Hi)return Hi;if(Gt="",Lt=mr,nt)return;continue}else $t=="["?Jr=!0:$t=="]"&&(Jr=!1),Gt+=$t;break;case kt:if(re.test($t))Gt+=$t;else if($t==H||$t=="/"||$t=="?"||$t=="#"||$t=="\\"&&_e(we)||nt){if(Gt!=""){var ya=parseInt(Gt,10);if(ya>65535)return L;we.port=_e(we)&&ya===Ee[we.scheme]?null:ya,Gt=""}if(nt)return;Lt=mr;continue}else return L;break;case rr:if(we.scheme="file",$t=="/"||$t=="\\")Lt=Sr;else if(ft&&ft.scheme=="file")if($t==H)we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query;else if($t=="?")we.host=ft.host,we.path=ft.path.slice(),we.query="",Lt=ui;else if($t=="#")we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",Lt=Pn;else{Be(fn.slice(dt).join(""))||(we.host=ft.host,we.path=ft.path.slice(),_t(we)),Lt=Lr;continue}else{Lt=Lr;continue}break;case Sr:if($t=="/"||$t=="\\"){Lt=ur;break}ft&&ft.scheme=="file"&&!Be(fn.slice(dt).join(""))&&(Ne(ft.path[0],!0)?we.path.push(ft.path[0]):we.host=ft.host),Lt=Lr;continue;case ur:if($t==H||$t=="/"||$t=="\\"||$t=="?"||$t=="#"){if(!nt&&Ne(Gt))Lt=Lr;else if(Gt==""){if(we.host="",nt)return;Lt=mr}else{if(Hi=ne(we,Gt),Hi)return Hi;if(we.host=="localhost"&&(we.host=""),nt)return;Gt="",Lt=mr}continue}else Gt+=$t;break;case mr:if(_e(we)){if(Lt=Lr,$t!="/"&&$t!="\\")continue}else if(!nt&&$t=="?")we.query="",Lt=ui;else if(!nt&&$t=="#")we.fragment="",Lt=Pn;else if($t!=H&&(Lt=Lr,$t!="/"))continue;break;case Lr:if($t==H||$t=="/"||$t=="\\"&&_e(we)||!nt&&($t=="?"||$t=="#")){if(Mt(Gt)?(_t(we),$t!="/"&&!($t=="\\"&&_e(we))&&we.path.push("")):Ut(Gt)?$t!="/"&&!($t=="\\"&&_e(we))&&we.path.push(""):(we.scheme=="file"&&!we.path.length&&Ne(Gt)&&(we.host&&(we.host=""),Gt=Gt.charAt(0)+":"),we.path.push(Gt)),Gt="",we.scheme=="file"&&($t==H||$t=="?"||$t=="#"))for(;we.path.length>1&&we.path[0]==="";)we.path.shift();$t=="?"?(we.query="",Lt=ui):$t=="#"&&(we.fragment="",Lt=Pn)}else Gt+=de($t,Oe);break;case un:$t=="?"?(we.query="",Lt=ui):$t=="#"?(we.fragment="",Lt=Pn):$t!=H&&(we.path[0]+=de($t,Te));break;case ui:!nt&&$t=="#"?(we.fragment="",Lt=Pn):$t!=H&&($t=="'"&&_e(we)?we.query+="%27":$t=="#"?we.query+="%23":we.query+=de($t,Te));break;case Pn:$t!=H&&(we.fragment+=de($t,Se));break}dt++}},_n=function(ct){var nt=_(this,_n,"URL"),ft=arguments.length>1?arguments[1]:void 0,Lt=String(ct),dt=F(nt,{type:"URL"}),Gt,Nr;if(ft!==void 0){if(ft instanceof _n)Gt=B(ft);else if(Nr=wn(Gt={},String(ft)),Nr)throw TypeError(Nr)}if(Nr=wn(dt,Lt,null,Gt),Nr)throw TypeError(Nr);var Jr=dt.searchParams=new D,en=V(Jr);en.updateSearchParams(dt.query),en.updateURL=function(){dt.query=String(Jr)||null},d||(nt.href=Yn.call(nt),nt.origin=Ei.call(nt),nt.protocol=di.call(nt),nt.username=$i.call(nt),nt.password=Vi.call(nt),nt.host=kn.call(nt),nt.hostname=ri.call(nt),nt.port=xi.call(nt),nt.pathname=wi.call(nt),nt.search=it.call(nt),nt.searchParams=jt.call(nt),nt.hash=vt.call(nt))},Kn=_n.prototype,Yn=function(){var we=B(this),ct=we.scheme,nt=we.username,ft=we.password,Lt=we.host,dt=we.port,Gt=we.path,Nr=we.query,Jr=we.fragment,en=ct+":";return Lt!==null?(en+="//",Ae(we)&&(en+=nt+(ft?":"+ft:"")+"@"),en+=fe(Lt),dt!==null&&(en+=":"+dt)):ct=="file"&&(en+="//"),en+=we.cannotBeABaseURL?Gt[0]:Gt.length?"/"+Gt.join("/"):"",Nr!==null&&(en+="?"+Nr),Jr!==null&&(en+="#"+Jr),en},Ei=function(){var we=B(this),ct=we.scheme,nt=we.port;if(ct=="blob")try{return new URL(ct.path[0]).origin}catch{return"null"}return ct=="file"||!_e(we)?"null":ct+"://"+fe(we.host)+(nt!==null?":"+nt:"")},di=function(){return B(this).scheme+":"},$i=function(){return B(this).username},Vi=function(){return B(this).password},kn=function(){var we=B(this),ct=we.host,nt=we.port;return ct===null?"":nt===null?fe(ct):fe(ct)+":"+nt},ri=function(){var we=B(this).host;return we===null?"":fe(we)},xi=function(){var we=B(this).port;return we===null?"":String(we)},wi=function(){var we=B(this),ct=we.path;return we.cannotBeABaseURL?ct[0]:ct.length?"/"+ct.join("/"):""},it=function(){var we=B(this).query;return we?"?"+we:""},jt=function(){return B(this).searchParams},vt=function(){var we=B(this).fragment;return we?"#"+we:""},Ye=function(we,ct){return{get:we,set:ct,configurable:!0,enumerable:!0}};if(d&&g(Kn,{href:Ye(Yn,function(we){var ct=B(this),nt=String(we),ft=wn(ct,nt);if(ft)throw TypeError(ft);V(ct.searchParams).updateSearchParams(ct.query)}),origin:Ye(Ei),protocol:Ye(di,function(we){var ct=B(this);wn(ct,String(we)+":",Qe)}),username:Ye($i,function(we){var ct=B(this),nt=b(String(we));if(!De(ct)){ct.username="";for(var ft=0;ft<nt.length;ft++)ct.username+=de(nt[ft],Me)}}),password:Ye(Vi,function(we){var ct=B(this),nt=b(String(we));if(!De(ct)){ct.password="";for(var ft=0;ft<nt.length;ft++)ct.password+=de(nt[ft],Me)}}),host:Ye(kn,function(we){var ct=B(this);ct.cannotBeABaseURL||wn(ct,String(we),ut)}),hostname:Ye(ri,function(we){var ct=B(this);ct.cannotBeABaseURL||wn(ct,String(we),Ct)}),port:Ye(xi,function(we){var ct=B(this);De(ct)||(we=String(we),we==""?ct.port=null:wn(ct,we,kt))}),pathname:Ye(wi,function(we){var ct=B(this);ct.cannotBeABaseURL||(ct.path=[],wn(ct,we+"",mr))}),search:Ye(it,function(we){var ct=B(this);we=String(we),we==""?ct.query=null:(we.charAt(0)=="?"&&(we=we.slice(1)),ct.query="",wn(ct,we,ui)),V(ct.searchParams).updateSearchParams(ct.query)}),searchParams:Ye(jt),hash:Ye(vt,function(we){var ct=B(this);if(we=String(we),we==""){ct.fragment=null;return}we.charAt(0)=="#"&&(we=we.slice(1)),ct.fragment="",wn(ct,we,Pn)})}),m(Kn,"toJSON",function(){return Yn.call(this)},{enumerable:!0}),m(Kn,"toString",function(){return Yn.call(this)},{enumerable:!0}),P){var xt=P.createObjectURL,gr=P.revokeObjectURL;xt&&m(_n,"createObjectURL",function(ct){return xt.apply(P,arguments)}),gr&&m(_n,"revokeObjectURL",function(ct){return gr.apply(P,arguments)})}A(_n,"URL"),c({global:!0,forced:!h,sham:!d},{URL:_n})})},n={};function i(o){if(n[o])return n[o].exports;var l=n[o]={exports:{}};return r[o](l,l.exports,i),l.exports}(function(){i.d=function(o,l){for(var s in l)i.o(l,s)&&!i.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:l[s]})}})(),(function(){i.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){i.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)}})(),(function(){i.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}})();var a={};return(function(){i.r(a),i.d(a,{Dropzone:function(){return L},default:function(){return z}}),i(2222),i(7327),i(2772),i(6992),i(1249),i(7042),i(561),i(8264),i(8309),i(489),i(1539),i(4916),i(9714),i(8783),i(4723),i(5306),i(3123),i(3210),i(2472),i(2990),i(8927),i(3105),i(5035),i(4345),i(7174),i(2846),i(4731),i(7209),i(6319),i(8867),i(7789),i(3739),i(9368),i(4483),i(2056),i(3462),i(678),i(7462),i(3824),i(5021),i(2974),i(5016),i(4747),i(3948),i(285);function o(k,U){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=l(k))||k&&typeof k.length=="number"){H&&(k=H);var ne=0,q=function(){};return{s:q,n:function(){return ne>=k.length?{done:!0}:{done:!1,value:k[ne++]}},e:function(Se){throw Se},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
215
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return J=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!J&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function l(k,U){if(k){if(typeof k=="string")return s(k,U);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return s(k,U)}}function s(k,U){(U==null||U>k.length)&&(U=k.length);for(var H=0,ne=new Array(U);H<U;H++)ne[H]=k[H];return ne}function c(k,U){if(!(k instanceof U))throw new TypeError("Cannot call a class as a function")}function d(k,U){for(var H=0;H<U.length;H++){var ne=U[H];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(k,ne.key,ne)}}function h(k,U,H){return U&&d(k.prototype,U),k}var p=(function(){function k(){c(this,k)}return h(k,[{key:"on",value:(function(H,ne){return this._callbacks=this._callbacks||{},this._callbacks[H]||(this._callbacks[H]=[]),this._callbacks[H].push(ne),this})},{key:"emit",value:function(H){this._callbacks=this._callbacks||{};for(var ne=this._callbacks[H],q=arguments.length,J=new Array(q>1?q-1:0),me=1;me<q;me++)J[me-1]=arguments[me];if(ne){var fe=o(ne),Te;try{for(fe.s();!(Te=fe.n()).done;){var Se=Te.value;Se.apply(this,J)}}catch(Oe){fe.e(Oe)}finally{fe.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+H,{args:J})),this}},{key:"makeEvent",value:function(H,ne){var q={bubbles:!0,cancelable:!0,detail:ne};if(typeof window.CustomEvent=="function")return new CustomEvent(H,q);var J=document.createEvent("CustomEvent");return J.initCustomEvent(H,q.bubbles,q.cancelable,q.detail),J}},{key:"off",value:function(H,ne){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var q=this._callbacks[H];if(!q)return this;if(arguments.length===1)return delete this._callbacks[H],this;for(var J=0;J<q.length;J++){var me=q[J];if(me===ne){q.splice(J,1);break}}return this}}]),k})(),g='<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> ',m=g;function _(k,U){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=E(k))||k&&typeof k.length=="number"){H&&(k=H);var ne=0,q=function(){};return{s:q,n:function(){return ne>=k.length?{done:!0}:{done:!1,value:k[ne++]}},e:function(Se){throw Se},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
216
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return J=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!J&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function E(k,U){if(k){if(typeof k=="string")return w(k,U);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return w(k,U)}}function w(k,U){(U==null||U>k.length)&&(U=k.length);for(var H=0,ne=new Array(U);H<U;H++)ne[H]=k[H];return ne}var b={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(U,H,ne){if(ne)return{dzuuid:ne.file.upload.uuid,dzchunkindex:ne.index,dztotalfilesize:ne.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:ne.file.upload.totalChunkCount,dzchunkbyteoffset:ne.index*this.options.chunkSize}},accept:function(U,H){return H()},chunksUploaded:function(U,H){H()},fallback:function(){var U;this.element.className="".concat(this.element.className," dz-browser-not-supported");var H=_(this.element.getElementsByTagName("div")),ne;try{for(H.s();!(ne=H.n()).done;){var q=ne.value;if(/(^| )dz-message($| )/.test(q.className)){U=q,q.className="dz-message";break}}}catch(me){H.e(me)}finally{H.f()}U||(U=L.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(U));var J=U.getElementsByTagName("span")[0];return J&&(J.textContent!=null?J.textContent=this.options.dictFallbackMessage:J.innerText!=null&&(J.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(U,H,ne,q){var J={srcX:0,srcY:0,srcWidth:U.width,srcHeight:U.height},me=U.width/U.height;H==null&&ne==null?(H=J.srcWidth,ne=J.srcHeight):H==null?H=ne*me:ne==null&&(ne=H/me),H=Math.min(H,J.srcWidth),ne=Math.min(ne,J.srcHeight);var fe=H/ne;if(J.srcWidth>H||J.srcHeight>ne)if(q==="crop")me>fe?(J.srcHeight=U.height,J.srcWidth=J.srcHeight*fe):(J.srcWidth=U.width,J.srcHeight=J.srcWidth/fe);else if(q==="contain")me>fe?ne=H/me:H=ne*me;else throw new Error("Unknown resizeMethod '".concat(q,"'"));return J.srcX=(U.width-J.srcWidth)/2,J.srcY=(U.height-J.srcHeight)/2,J.trgWidth=H,J.trgHeight=ne,J},transformFile:function(U,H){return(this.options.resizeWidth||this.options.resizeHeight)&&U.type.match(/image.*/)?this.resizeImage(U,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,H):H(U)},previewTemplate:m,drop:function(U){return this.element.classList.remove("dz-drag-hover")},dragstart:function(U){},dragend:function(U){return this.element.classList.remove("dz-drag-hover")},dragenter:function(U){return this.element.classList.add("dz-drag-hover")},dragover:function(U){return this.element.classList.add("dz-drag-hover")},dragleave:function(U){return this.element.classList.remove("dz-drag-hover")},paste:function(U){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(U){var H=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){U.previewElement=L.createElement(this.options.previewTemplate.trim()),U.previewTemplate=U.previewElement,this.previewsContainer.appendChild(U.previewElement);var ne=_(U.previewElement.querySelectorAll("[data-dz-name]")),q;try{for(ne.s();!(q=ne.n()).done;){var J=q.value;J.textContent=U.name}}catch(de){ne.e(de)}finally{ne.f()}var me=_(U.previewElement.querySelectorAll("[data-dz-size]")),fe;try{for(me.s();!(fe=me.n()).done;)J=fe.value,J.innerHTML=this.filesize(U.size)}catch(de){me.e(de)}finally{me.f()}this.options.addRemoveLinks&&(U._removeLink=L.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),U.previewElement.appendChild(U._removeLink));var Te=function(Ee){return Ee.preventDefault(),Ee.stopPropagation(),U.status===L.UPLOADING?L.confirm(H.options.dictCancelUploadConfirmation,function(){return H.removeFile(U)}):H.options.dictRemoveFileConfirmation?L.confirm(H.options.dictRemoveFileConfirmation,function(){return H.removeFile(U)}):H.removeFile(U)},Se=_(U.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;Me.addEventListener("click",Te)}}catch(de){Se.e(de)}finally{Se.f()}}},removedfile:function(U){return U.previewElement!=null&&U.previewElement.parentNode!=null&&U.previewElement.parentNode.removeChild(U.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(U,H){if(U.previewElement){U.previewElement.classList.remove("dz-file-preview");var ne=_(U.previewElement.querySelectorAll("[data-dz-thumbnail]")),q;try{for(ne.s();!(q=ne.n()).done;){var J=q.value;J.alt=U.name,J.src=H}}catch(me){ne.e(me)}finally{ne.f()}return setTimeout(function(){return U.previewElement.classList.add("dz-image-preview")},1)}},error:function(U,H){if(U.previewElement){U.previewElement.classList.add("dz-error"),typeof H!="string"&&H.error&&(H=H.error);var ne=_(U.previewElement.querySelectorAll("[data-dz-errormessage]")),q;try{for(ne.s();!(q=ne.n()).done;){var J=q.value;J.textContent=H}}catch(me){ne.e(me)}finally{ne.f()}}},errormultiple:function(){},processing:function(U){if(U.previewElement&&(U.previewElement.classList.add("dz-processing"),U._removeLink))return U._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(U,H,ne){if(U.previewElement){var q=_(U.previewElement.querySelectorAll("[data-dz-uploadprogress]")),J;try{for(q.s();!(J=q.n()).done;){var me=J.value;me.nodeName==="PROGRESS"?me.value=H:me.style.width="".concat(H,"%")}}catch(fe){q.e(fe)}finally{q.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(U){if(U.previewElement)return U.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(U){return this.emit("error",U,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(U){if(U._removeLink&&(U._removeLink.innerHTML=this.options.dictRemoveFile),U.previewElement)return U.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},x=b;function T(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(H){return typeof H}:T=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},T(k)}function A(k,U){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=O(k))||k&&typeof k.length=="number"){H&&(k=H);var ne=0,q=function(){};return{s:q,n:function(){return ne>=k.length?{done:!0}:{done:!1,value:k[ne++]}},e:function(Se){throw Se},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
217
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return J=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!J&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function O(k,U){if(k){if(typeof k=="string")return y(k,U);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return y(k,U)}}function y(k,U){(U==null||U>k.length)&&(U=k.length);for(var H=0,ne=new Array(U);H<U;H++)ne[H]=k[H];return ne}function P(k,U){if(!(k instanceof U))throw new TypeError("Cannot call a class as a function")}function D(k,U){for(var H=0;H<U.length;H++){var ne=U[H];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(k,ne.key,ne)}}function V(k,U,H){return U&&D(k.prototype,U),H&&D(k,H),k}function F(k,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(U&&U.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),U&&B(k,U)}function B(k,U){return B=Object.setPrototypeOf||function(ne,q){return ne.__proto__=q,ne},B(k,U)}function K(k){var U=te();return function(){var ne=ue(k),q;if(U){var J=ue(this).constructor;q=Reflect.construct(ne,arguments,J)}else q=ne.apply(this,arguments);return Q(this,q)}}function Q(k,U){return U&&(T(U)==="object"||typeof U=="function")?U:X(k)}function X(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function te(){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 ue(k){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},ue(k)}var L=(function(k){F(H,k);var U=K(H);function H(ne,q){var J;P(this,H),J=U.call(this);var me,fe;if(J.element=ne,J.version=H.version,J.clickableElements=[],J.listeners=[],J.files=[],typeof J.element=="string"&&(J.element=document.querySelector(J.element)),!J.element||J.element.nodeType==null)throw new Error("Invalid dropzone element.");if(J.element.dropzone)throw new Error("Dropzone already attached.");H.instances.push(X(J)),J.element.dropzone=X(J);var Te=(fe=H.optionsForElement(J.element))!=null?fe:{};if(J.options=H.extend({},x,Te,q??{}),J.options.previewTemplate=J.options.previewTemplate.replace(/\n*/g,""),J.options.forceFallback||!H.isBrowserSupported())return Q(J,J.options.fallback.call(X(J)));if(J.options.url==null&&(J.options.url=J.element.getAttribute("action")),!J.options.url)throw new Error("No URL provided.");if(J.options.acceptedFiles&&J.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(J.options.uploadMultiple&&J.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return J.options.acceptedMimeTypes&&(J.options.acceptedFiles=J.options.acceptedMimeTypes,delete J.options.acceptedMimeTypes),J.options.renameFilename!=null&&(J.options.renameFile=function(Se){return J.options.renameFilename.call(X(J),Se.name,Se)}),typeof J.options.method=="string"&&(J.options.method=J.options.method.toUpperCase()),(me=J.getExistingFallback())&&me.parentNode&&me.parentNode.removeChild(me),J.options.previewsContainer!==!1&&(J.options.previewsContainer?J.previewsContainer=H.getElement(J.options.previewsContainer,"previewsContainer"):J.previewsContainer=J.element),J.options.clickable&&(J.options.clickable===!0?J.clickableElements=[J.element]:J.clickableElements=H.getElements(J.options.clickable,"clickable")),J.init(),J}return V(H,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(q){return q.accepted}).map(function(q){return q})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(q){return!q.accepted}).map(function(q){return q})}},{key:"getFilesWithStatus",value:function(q){return this.files.filter(function(J){return J.status===q}).map(function(J){return J})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(H.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(H.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(H.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(q){return q.status===H.UPLOADING||q.status===H.QUEUED}).map(function(q){return q})}},{key:"init",value:function(){var q=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(H.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var J=function Me(){q.hiddenFileInput&&q.hiddenFileInput.parentNode.removeChild(q.hiddenFileInput),q.hiddenFileInput=document.createElement("input"),q.hiddenFileInput.setAttribute("type","file"),(q.options.maxFiles===null||q.options.maxFiles>1)&&q.hiddenFileInput.setAttribute("multiple","multiple"),q.hiddenFileInput.className="dz-hidden-input",q.options.acceptedFiles!==null&&q.hiddenFileInput.setAttribute("accept",q.options.acceptedFiles),q.options.capture!==null&&q.hiddenFileInput.setAttribute("capture",q.options.capture),q.hiddenFileInput.setAttribute("tabindex","-1"),q.hiddenFileInput.style.visibility="hidden",q.hiddenFileInput.style.position="absolute",q.hiddenFileInput.style.top="0",q.hiddenFileInput.style.left="0",q.hiddenFileInput.style.height="0",q.hiddenFileInput.style.width="0",H.getElement(q.options.hiddenInputContainer,"hiddenInputContainer").appendChild(q.hiddenFileInput),q.hiddenFileInput.addEventListener("change",function(){var de=q.hiddenFileInput.files;if(de.length){var Ee=A(de),_e;try{for(Ee.s();!(_e=Ee.n()).done;){var Ae=_e.value;q.addFile(Ae)}}catch(De){Ee.e(De)}finally{Ee.f()}}q.emit("addedfiles",de),Me()})};J()}this.URL=window.URL!==null?window.URL:window.webkitURL;var me=A(this.events),fe;try{for(me.s();!(fe=me.n()).done;){var Te=fe.value;this.on(Te,this.options[Te])}}catch(Me){me.e(Me)}finally{me.f()}this.on("uploadprogress",function(){return q.updateTotalUploadProgress()}),this.on("removedfile",function(){return q.updateTotalUploadProgress()}),this.on("canceled",function(Me){return q.emit("complete",Me)}),this.on("complete",function(Me){if(q.getAddedFiles().length===0&&q.getUploadingFiles().length===0&&q.getQueuedFiles().length===0)return setTimeout(function(){return q.emit("queuecomplete")},0)});var Se=function(de){if(de.dataTransfer.types){for(var Ee=0;Ee<de.dataTransfer.types.length;Ee++)if(de.dataTransfer.types[Ee]==="Files")return!0}return!1},Oe=function(de){if(Se(de))return de.stopPropagation(),de.preventDefault?de.preventDefault():de.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(de){return q.emit("dragstart",de)},dragenter:function(de){return Oe(de),q.emit("dragenter",de)},dragover:function(de){var Ee;try{Ee=de.dataTransfer.effectAllowed}catch{}return de.dataTransfer.dropEffect=Ee==="move"||Ee==="linkMove"?"move":"copy",Oe(de),q.emit("dragover",de)},dragleave:function(de){return q.emit("dragleave",de)},drop:function(de){return Oe(de),q.drop(de)},dragend:function(de){return q.emit("dragend",de)}}}],this.clickableElements.forEach(function(Me){return q.listeners.push({element:Me,events:{click:function(Ee){return(Me!==q.element||Ee.target===q.element||H.elementInside(Ee.target,q.element.querySelector(".dz-message")))&&q.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,H.instances.splice(H.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var q,J=0,me=0,fe=this.getActiveFiles();if(fe.length){var Te=A(this.getActiveFiles()),Se;try{for(Te.s();!(Se=Te.n()).done;){var Oe=Se.value;J+=Oe.upload.bytesSent,me+=Oe.upload.total}}catch(Me){Te.e(Me)}finally{Te.f()}q=100*J/me}else q=100;return this.emit("totaluploadprogress",q,me,J)}},{key:"_getParamName",value:function(q){return typeof this.options.paramName=="function"?this.options.paramName(q):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(q,"]"):"")}},{key:"_renameFile",value:function(q){return typeof this.options.renameFile!="function"?q.name:this.options.renameFile(q)}},{key:"getFallbackForm",value:function(){var q,J;if(q=this.getExistingFallback())return q;var me='<div class="dz-fallback">';this.options.dictFallbackText&&(me+="<p>".concat(this.options.dictFallbackText,"</p>")),me+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var fe=H.createElement(me);return this.element.tagName!=="FORM"?(J=H.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),J.appendChild(fe)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),J??fe}},{key:"getExistingFallback",value:function(){for(var q=function(Oe){var Me=A(Oe),de;try{for(Me.s();!(de=Me.n()).done;){var Ee=de.value;if(/(^| )fallback($| )/.test(Ee.className))return Ee}}catch(_e){Me.e(_e)}finally{Me.f()}},J=0,me=["div","form"];J<me.length;J++){var fe=me[J],Te;if(Te=q(this.element.getElementsByTagName(fe)))return Te}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(q){return(function(){var J=[];for(var me in q.events){var fe=q.events[me];J.push(q.element.addEventListener(me,fe,!1))}return J})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(q){return(function(){var J=[];for(var me in q.events){var fe=q.events[me];J.push(q.element.removeEventListener(me,fe,!1))}return J})()})}},{key:"disable",value:function(){var q=this;return this.clickableElements.forEach(function(J){return J.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(J){return q.cancelUpload(J)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(q){return q.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(q){var J=0,me="b";if(q>0){for(var fe=["tb","gb","mb","kb","b"],Te=0;Te<fe.length;Te++){var Se=fe[Te],Oe=Math.pow(this.options.filesizeBase,4-Te)/10;if(q>=Oe){J=q/Math.pow(this.options.filesizeBase,4-Te),me=Se;break}}J=Math.round(10*J)/10}return"<strong>".concat(J,"</strong> ").concat(this.options.dictFileSizeUnits[me])}},{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(q){if(q.dataTransfer){this.emit("drop",q);for(var J=[],me=0;me<q.dataTransfer.files.length;me++)J[me]=q.dataTransfer.files[me];if(J.length){var fe=q.dataTransfer.items;fe&&fe.length&&fe[0].webkitGetAsEntry!=null?this._addFilesFromItems(fe):this.handleFiles(J)}this.emit("addedfiles",J)}}},{key:"paste",value:function(q){if(Ie(q!=null?q.clipboardData:void 0,function(me){return me.items})!=null){this.emit("paste",q);var J=q.clipboardData.items;if(J.length)return this._addFilesFromItems(J)}}},{key:"handleFiles",value:function(q){var J=A(q),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value;this.addFile(fe)}}catch(Te){J.e(Te)}finally{J.f()}}},{key:"_addFilesFromItems",value:function(q){var J=this;return(function(){var me=[],fe=A(q),Te;try{for(fe.s();!(Te=fe.n()).done;){var Se=Te.value,Oe;Se.webkitGetAsEntry!=null&&(Oe=Se.webkitGetAsEntry())?Oe.isFile?me.push(J.addFile(Se.getAsFile())):Oe.isDirectory?me.push(J._addFilesFromDirectory(Oe,Oe.name)):me.push(void 0):Se.getAsFile!=null&&(Se.kind==null||Se.kind==="file")?me.push(J.addFile(Se.getAsFile())):me.push(void 0)}}catch(Me){fe.e(Me)}finally{fe.f()}return me})()}},{key:"_addFilesFromDirectory",value:function(q,J){var me=this,fe=q.createReader(),Te=function(Me){return je(console,"log",function(de){return de.log(Me)})},Se=function Oe(){return fe.readEntries(function(Me){if(Me.length>0){var de=A(Me),Ee;try{for(de.s();!(Ee=de.n()).done;){var _e=Ee.value;_e.isFile?_e.file(function(Ae){if(!(me.options.ignoreHiddenFiles&&Ae.name.substring(0,1)==="."))return Ae.fullPath="".concat(J,"/").concat(Ae.name),me.addFile(Ae)}):_e.isDirectory&&me._addFilesFromDirectory(_e,"".concat(J,"/").concat(_e.name))}}catch(Ae){de.e(Ae)}finally{de.f()}Oe()}return null},Te)};return Se()}},{key:"accept",value:function(q,J){this.options.maxFilesize&&q.size>this.options.maxFilesize*1024*1024?J(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(q.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):H.isValidFile(q,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(J(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",q)):this.options.accept.call(this,q,J):J(this.options.dictInvalidFileType)}},{key:"addFile",value:function(q){var J=this;q.upload={uuid:H.uuidv4(),progress:0,total:q.size,bytesSent:0,filename:this._renameFile(q)},this.files.push(q),q.status=H.ADDED,this.emit("addedfile",q),this._enqueueThumbnail(q),this.accept(q,function(me){me?(q.accepted=!1,J._errorProcessing([q],me)):(q.accepted=!0,J.options.autoQueue&&J.enqueueFile(q)),J._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(q){var J=A(q),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value;this.enqueueFile(fe)}}catch(Te){J.e(Te)}finally{J.f()}return null}},{key:"enqueueFile",value:function(q){var J=this;if(q.status===H.ADDED&&q.accepted===!0){if(q.status=H.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return J.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(q){var J=this;if(this.options.createImageThumbnails&&q.type.match(/image.*/)&&q.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(q),setTimeout(function(){return J._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var q=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var J=this._thumbnailQueue.shift();return this.createThumbnail(J,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(me){return q.emit("thumbnail",J,me),q._processingThumbnail=!1,q._processThumbnailQueue()})}}},{key:"removeFile",value:function(q){if(q.status===H.UPLOADING&&this.cancelUpload(q),this.files=I(this.files,q),this.emit("removedfile",q),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(q){q==null&&(q=!1);var J=A(this.files.slice()),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value;(fe.status!==H.UPLOADING||q)&&this.removeFile(fe)}}catch(Te){J.e(Te)}finally{J.f()}return null}},{key:"resizeImage",value:function(q,J,me,fe,Te){var Se=this;return this.createThumbnail(q,J,me,fe,!0,function(Oe,Me){if(Me==null)return Te(q);var de=Se.options.resizeMimeType;de==null&&(de=q.type);var Ee=Me.toDataURL(de,Se.options.resizeQuality);return(de==="image/jpeg"||de==="image/jpg")&&(Ee=ce.restore(q.dataURL,Ee)),Te(H.dataURItoBlob(Ee))})}},{key:"createThumbnail",value:function(q,J,me,fe,Te,Se){var Oe=this,Me=new FileReader;Me.onload=function(){if(q.dataURL=Me.result,q.type==="image/svg+xml"){Se!=null&&Se(Me.result);return}Oe.createThumbnailFromUrl(q,J,me,fe,Te,Se)},Me.readAsDataURL(q)}},{key:"displayExistingFile",value:function(q,J,me,fe){var Te=this,Se=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",q),this.emit("complete",q),!Se)this.emit("thumbnail",q,J),me&&me();else{var Oe=function(de){Te.emit("thumbnail",q,de),me&&me()};q.dataURL=J,this.createThumbnailFromUrl(q,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,fe)}}},{key:"createThumbnailFromUrl",value:function(q,J,me,fe,Te,Se,Oe){var Me=this,de=document.createElement("img");return Oe&&(de.crossOrigin=Oe),Te=getComputedStyle(document.body).imageOrientation=="from-image"?!1:Te,de.onload=function(){var Ee=function(Ae){return Ae(1)};return typeof EXIF<"u"&&EXIF!==null&&Te&&(Ee=function(Ae){return EXIF.getData(de,function(){return Ae(EXIF.getTag(this,"Orientation"))})}),Ee(function(_e){q.width=de.width,q.height=de.height;var Ae=Me.options.resize.call(Me,q,J,me,fe),De=document.createElement("canvas"),Ne=De.getContext("2d");switch(De.width=Ae.trgWidth,De.height=Ae.trgHeight,_e>4&&(De.width=Ae.trgHeight,De.height=Ae.trgWidth),_e){case 2:Ne.translate(De.width,0),Ne.scale(-1,1);break;case 3:Ne.translate(De.width,De.height),Ne.rotate(Math.PI);break;case 4:Ne.translate(0,De.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,-De.width);break;case 7:Ne.rotate(.5*Math.PI),Ne.translate(De.height,-De.width),Ne.scale(-1,1);break;case 8:Ne.rotate(-.5*Math.PI),Ne.translate(-De.height,0);break}ee(Ne,de,Ae.srcX!=null?Ae.srcX:0,Ae.srcY!=null?Ae.srcY:0,Ae.srcWidth,Ae.srcHeight,Ae.trgX!=null?Ae.trgX:0,Ae.trgY!=null?Ae.trgY:0,Ae.trgWidth,Ae.trgHeight);var Be=De.toDataURL("image/png");if(Se!=null)return Se(Be,De)})},Se!=null&&(de.onerror=Se),de.src=q.dataURL}},{key:"processQueue",value:function(){var q=this.options.parallelUploads,J=this.getUploadingFiles().length,me=J;if(!(J>=q)){var fe=this.getQueuedFiles();if(fe.length>0){if(this.options.uploadMultiple)return this.processFiles(fe.slice(0,q-J));for(;me<q;){if(!fe.length)return;this.processFile(fe.shift()),me++}}}}},{key:"processFile",value:function(q){return this.processFiles([q])}},{key:"processFiles",value:function(q){var J=A(q),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value;fe.processing=!0,fe.status=H.UPLOADING,this.emit("processing",fe)}}catch(Te){J.e(Te)}finally{J.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",q),this.uploadFiles(q)}},{key:"_getFilesWithXhr",value:function(q){return this.files.filter(function(J){return J.xhr===q}).map(function(J){return J})}},{key:"cancelUpload",value:function(q){if(q.status===H.UPLOADING){var J=this._getFilesWithXhr(q.xhr),me=A(J),fe;try{for(me.s();!(fe=me.n()).done;){var Te=fe.value;Te.status=H.CANCELED}}catch(de){me.e(de)}finally{me.f()}typeof q.xhr<"u"&&q.xhr.abort();var Se=A(J),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;this.emit("canceled",Me)}}catch(de){Se.e(de)}finally{Se.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",J)}else(q.status===H.ADDED||q.status===H.QUEUED)&&(q.status=H.CANCELED,this.emit("canceled",q),this.options.uploadMultiple&&this.emit("canceledmultiple",[q]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(q){if(typeof q=="function"){for(var J=arguments.length,me=new Array(J>1?J-1:0),fe=1;fe<J;fe++)me[fe-1]=arguments[fe];return q.apply(this,me)}return q}},{key:"uploadFile",value:function(q){return this.uploadFiles([q])}},{key:"uploadFiles",value:function(q){var J=this;this._transformFiles(q,function(me){if(J.options.chunking){var fe=me[0];q[0].upload.chunked=J.options.chunking&&(J.options.forceChunking||fe.size>J.options.chunkSize),q[0].upload.totalChunkCount=Math.ceil(fe.size/J.options.chunkSize)}if(q[0].upload.chunked){var Te=q[0],Se=me[0];Te.upload.chunks=[];var Oe=function(){for(var Ae=0;Te.upload.chunks[Ae]!==void 0;)Ae++;if(!(Ae>=Te.upload.totalChunkCount)){var De=Ae*J.options.chunkSize,Ne=Math.min(De+J.options.chunkSize,Se.size),Be={name:J._getParamName(0),data:Se.webkitSlice?Se.webkitSlice(De,Ne):Se.slice(De,Ne),filename:Te.upload.filename,chunkIndex:Ae};Te.upload.chunks[Ae]={file:Te,index:Ae,dataBlock:Be,status:H.UPLOADING,progress:0,retries:0},J._uploadData(q,[Be])}};if(Te.upload.finishedChunkUpload=function(_e,Ae){var De=!0;_e.status=H.SUCCESS,_e.dataBlock=null,_e.xhr=null;for(var Ne=0;Ne<Te.upload.totalChunkCount;Ne++){if(Te.upload.chunks[Ne]===void 0)return Oe();Te.upload.chunks[Ne].status!==H.SUCCESS&&(De=!1)}De&&J.options.chunksUploaded(Te,function(){J._finished(q,Ae,null)})},J.options.parallelChunkUploads)for(var Me=0;Me<Te.upload.totalChunkCount;Me++)Oe();else Oe()}else{for(var de=[],Ee=0;Ee<q.length;Ee++)de[Ee]={name:J._getParamName(Ee),data:me[Ee],filename:q[Ee].upload.filename};J._uploadData(q,de)}})}},{key:"_getChunk",value:function(q,J){for(var me=0;me<q.upload.totalChunkCount;me++)if(q.upload.chunks[me]!==void 0&&q.upload.chunks[me].xhr===J)return q.upload.chunks[me]}},{key:"_uploadData",value:function(q,J){var me=this,fe=new XMLHttpRequest,Te=A(q),Se;try{for(Te.s();!(Se=Te.n()).done;){var Oe=Se.value;Oe.xhr=fe}}catch(Ft){Te.e(Ft)}finally{Te.f()}q[0].upload.chunked&&(q[0].upload.chunks[J[0].chunkIndex].xhr=fe);var Me=this.resolveOption(this.options.method,q),de=this.resolveOption(this.options.url,q);fe.open(Me,de,!0);var Ee=this.resolveOption(this.options.timeout,q);Ee&&(fe.timeout=this.resolveOption(this.options.timeout,q)),fe.withCredentials=!!this.options.withCredentials,fe.onload=function(Ft){me._finishedUploading(q,fe,Ft)},fe.ontimeout=function(){me._handleUploadError(q,fe,"Request timedout after ".concat(me.options.timeout/1e3," seconds"))},fe.onerror=function(){me._handleUploadError(q,fe)};var _e=fe.upload!=null?fe.upload:fe;_e.onprogress=function(Ft){return me._updateFilesUploadProgress(q,fe,Ft)};var Ae={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&H.extend(Ae,this.options.headers);for(var De in Ae){var Ne=Ae[De];Ne&&fe.setRequestHeader(De,Ne)}var Be=new FormData;if(this.options.params){var _t=this.options.params;typeof _t=="function"&&(_t=_t.call(this,q,fe,q[0].upload.chunked?this._getChunk(q[0],fe):null));for(var Ut in _t){var Mt=_t[Ut];if(Array.isArray(Mt))for(var Qe=0;Qe<Mt.length;Qe++)Be.append(Ut,Mt[Qe]);else Be.append(Ut,Mt)}}var bt=A(q),mt;try{for(bt.s();!(mt=bt.n()).done;){var St=mt.value;this.emit("sending",St,fe,Be)}}catch(Ft){bt.e(Ft)}finally{bt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",q,fe,Be),this._addFormElementData(Be);for(var yt=0;yt<J.length;yt++){var at=J[yt];Be.append(at.name,at.data,at.filename)}this.submitRequest(fe,Be,q)}},{key:"_transformFiles",value:function(q,J){for(var me=this,fe=[],Te=0,Se=function(de){me.options.transformFile.call(me,q[de],function(Ee){fe[de]=Ee,++Te===q.length&&J(fe)})},Oe=0;Oe<q.length;Oe++)Se(Oe)}},{key:"_addFormElementData",value:function(q){if(this.element.tagName==="FORM"){var J=A(this.element.querySelectorAll("input, textarea, select, button")),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value,Te=fe.getAttribute("name"),Se=fe.getAttribute("type");if(Se&&(Se=Se.toLowerCase()),!(typeof Te>"u"||Te===null))if(fe.tagName==="SELECT"&&fe.hasAttribute("multiple")){var Oe=A(fe.options,!0),Me;try{for(Oe.s();!(Me=Oe.n()).done;){var de=Me.value;de.selected&&q.append(Te,de.value)}}catch(Ee){Oe.e(Ee)}finally{Oe.f()}}else(!Se||Se!=="checkbox"&&Se!=="radio"||fe.checked)&&q.append(Te,fe.value)}}catch(Ee){J.e(Ee)}finally{J.f()}}}},{key:"_updateFilesUploadProgress",value:function(q,J,me){if(q[0].upload.chunked){var Oe=q[0],Me=this._getChunk(Oe,J);me?(Me.progress=100*me.loaded/me.total,Me.total=me.total,Me.bytesSent=me.loaded):(Me.progress=100,Me.bytesSent=Me.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var de=0;de<Oe.upload.totalChunkCount;de++)Oe.upload.chunks[de]&&typeof Oe.upload.chunks[de].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[de].progress,Oe.upload.total+=Oe.upload.chunks[de].total,Oe.upload.bytesSent+=Oe.upload.chunks[de].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var fe=A(q),Te;try{for(fe.s();!(Te=fe.n()).done;){var Se=Te.value;Se.upload.total&&Se.upload.bytesSent&&Se.upload.bytesSent==Se.upload.total||(me?(Se.upload.progress=100*me.loaded/me.total,Se.upload.total=me.total,Se.upload.bytesSent=me.loaded):(Se.upload.progress=100,Se.upload.bytesSent=Se.upload.total),this.emit("uploadprogress",Se,Se.upload.progress,Se.upload.bytesSent))}}catch(Ee){fe.e(Ee)}finally{fe.f()}}}},{key:"_finishedUploading",value:function(q,J,me){var fe;if(q[0].status!==H.CANCELED&&J.readyState===4){if(J.responseType!=="arraybuffer"&&J.responseType!=="blob"&&(fe=J.responseText,J.getResponseHeader("content-type")&&~J.getResponseHeader("content-type").indexOf("application/json")))try{fe=JSON.parse(fe)}catch(Te){me=Te,fe="Invalid JSON response from server."}this._updateFilesUploadProgress(q,J),200<=J.status&&J.status<300?q[0].upload.chunked?q[0].upload.finishedChunkUpload(this._getChunk(q[0],J),fe):this._finished(q,fe,me):this._handleUploadError(q,J,fe)}}},{key:"_handleUploadError",value:function(q,J,me){if(q[0].status!==H.CANCELED){if(q[0].upload.chunked&&this.options.retryChunks){var fe=this._getChunk(q[0],J);if(fe.retries++<this.options.retryChunksLimit){this._uploadData(q,[fe.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(q,me||this.options.dictResponseError.replace("{{statusCode}}",J.status),J)}}},{key:"submitRequest",value:function(q,J,me){if(q.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}q.send(J)}},{key:"_finished",value:function(q,J,me){var fe=A(q),Te;try{for(fe.s();!(Te=fe.n()).done;){var Se=Te.value;Se.status=H.SUCCESS,this.emit("success",Se,J,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",q,J,me),this.emit("completemultiple",q)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(q,J,me){var fe=A(q),Te;try{for(fe.s();!(Te=fe.n()).done;){var Se=Te.value;Se.status=H.ERROR,this.emit("error",Se,J,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",q,J,me),this.emit("completemultiple",q)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=p,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(q){for(var J=arguments.length,me=new Array(J>1?J-1:0),fe=1;fe<J;fe++)me[fe-1]=arguments[fe];for(var Te=0,Se=me;Te<Se.length;Te++){var Oe=Se[Te];for(var Me in Oe){var de=Oe[Me];q[Me]=de}}return q}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(q){var J=Math.random()*16|0,me=q==="x"?J:J&3|8;return me.toString(16)})}}]),H})(p);L.initClass(),L.version="5.9.3",L.options={},L.optionsForElement=function(k){if(k.getAttribute("id"))return L.options[N(k.getAttribute("id"))]},L.instances=[],L.forElement=function(k){if(typeof k=="string"&&(k=document.querySelector(k)),(k!=null?k.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 k.dropzone},L.autoDiscover=!0,L.discover=function(){var k;if(document.querySelectorAll)k=document.querySelectorAll(".dropzone");else{k=[];var U=function(ne){return(function(){var q=[],J=A(ne),me;try{for(J.s();!(me=J.n()).done;){var fe=me.value;/(^| )dropzone($| )/.test(fe.className)?q.push(k.push(fe)):q.push(void 0)}}catch(Te){J.e(Te)}finally{J.f()}return q})()};U(document.getElementsByTagName("div")),U(document.getElementsByTagName("form"))}return(function(){var H=[],ne=A(k),q;try{for(ne.s();!(q=ne.n()).done;){var J=q.value;L.optionsForElement(J)!==!1?H.push(new L(J)):H.push(void 0)}}catch(me){ne.e(me)}finally{ne.f()}return H})()},L.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],L.isBrowserSupported=function(){var k=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))k=!1;else{L.blacklistedBrowsers!==void 0&&(L.blockedBrowsers=L.blacklistedBrowsers);var U=A(L.blockedBrowsers),H;try{for(U.s();!(H=U.n()).done;){var ne=H.value;if(ne.test(navigator.userAgent)){k=!1;continue}}}catch(q){U.e(q)}finally{U.f()}}else k=!1;return k},L.dataURItoBlob=function(k){for(var U=atob(k.split(",")[1]),H=k.split(",")[0].split(":")[1].split(";")[0],ne=new ArrayBuffer(U.length),q=new Uint8Array(ne),J=0,me=U.length,fe=0<=me;fe?J<=me:J>=me;fe?J++:J--)q[J]=U.charCodeAt(J);return new Blob([ne],{type:H})};var I=function(U,H){return U.filter(function(ne){return ne!==H}).map(function(ne){return ne})},N=function(U){return U.replace(/[\-_](\w)/g,function(H){return H.charAt(1).toUpperCase()})};L.createElement=function(k){var U=document.createElement("div");return U.innerHTML=k,U.childNodes[0]},L.elementInside=function(k,U){if(k===U)return!0;for(;k=k.parentNode;)if(k===U)return!0;return!1},L.getElement=function(k,U){var H;if(typeof k=="string"?H=document.querySelector(k):k.nodeType!=null&&(H=k),H==null)throw new Error("Invalid `".concat(U,"` option provided. Please provide a CSS selector or a plain HTML element."));return H},L.getElements=function(k,U){var H,ne;if(k instanceof Array){ne=[];try{var q=A(k,!0),J;try{for(q.s();!(J=q.n()).done;)H=J.value,ne.push(this.getElement(H,U))}catch(Te){q.e(Te)}finally{q.f()}}catch{ne=null}}else if(typeof k=="string"){ne=[];var me=A(document.querySelectorAll(k)),fe;try{for(me.s();!(fe=me.n()).done;)H=fe.value,ne.push(H)}catch(Te){me.e(Te)}finally{me.f()}}else k.nodeType!=null&&(ne=[k]);if(ne==null||!ne.length)throw new Error("Invalid `".concat(U,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return ne},L.confirm=function(k,U,H){if(window.confirm(k))return U();if(H!=null)return H()},L.isValidFile=function(k,U){if(!U)return!0;U=U.split(",");var H=k.type,ne=H.replace(/\/.*$/,""),q=A(U),J;try{for(q.s();!(J=q.n()).done;){var me=J.value;if(me=me.trim(),me.charAt(0)==="."){if(k.name.toLowerCase().indexOf(me.toLowerCase(),k.name.length-me.length)!==-1)return!0}else if(/\/\*$/.test(me)){if(ne===me.replace(/\/.*$/,""))return!0}else if(H===me)return!0}}catch(fe){q.e(fe)}finally{q.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(k){return this.each(function(){return new L(this,k)})}),L.ADDED="added",L.QUEUED="queued",L.ACCEPTED=L.QUEUED,L.UPLOADING="uploading",L.PROCESSING=L.UPLOADING,L.CANCELED="canceled",L.ERROR="error",L.SUCCESS="success";var re=function(U){U.naturalWidth;var H=U.naturalHeight,ne=document.createElement("canvas");ne.width=1,ne.height=H;var q=ne.getContext("2d");q.drawImage(U,0,0);for(var J=q.getImageData(1,0,1,H),me=J.data,fe=0,Te=H,Se=H;Se>fe;){var Oe=me[(Se-1)*4+3];Oe===0?Te=Se:fe=Se,Se=Te+fe>>1}var Me=Se/H;return Me===0?1:Me},ee=function(U,H,ne,q,J,me,fe,Te,Se,Oe){var Me=re(H);return U.drawImage(H,ne,q,J,me,fe,Te,Se,Oe/Me)},ce=(function(){function k(){P(this,k)}return V(k,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(H){for(var ne="",q=void 0,J=void 0,me="",fe=void 0,Te=void 0,Se=void 0,Oe="",Me=0;q=H[Me++],J=H[Me++],me=H[Me++],fe=q>>2,Te=(q&3)<<4|J>>4,Se=(J&15)<<2|me>>6,Oe=me&63,isNaN(J)?Se=Oe=64:isNaN(me)&&(Oe=64),ne=ne+this.KEY_STR.charAt(fe)+this.KEY_STR.charAt(Te)+this.KEY_STR.charAt(Se)+this.KEY_STR.charAt(Oe),q=J=me="",fe=Te=Se=Oe="",Me<H.length;);return ne}},{key:"restore",value:function(H,ne){if(!H.match("data:image/jpeg;base64,"))return ne;var q=this.decode64(H.replace("data:image/jpeg;base64,","")),J=this.slice2Segments(q),me=this.exifManipulation(ne,J);return"data:image/jpeg;base64,".concat(this.encode64(me))}},{key:"exifManipulation",value:function(H,ne){var q=this.getExifArray(ne),J=this.insertExif(H,q),me=new Uint8Array(J);return me}},{key:"getExifArray",value:function(H){for(var ne=void 0,q=0;q<H.length;){if(ne=H[q],ne[0]===255&ne[1]===225)return ne;q++}return[]}},{key:"insertExif",value:function(H,ne){var q=H.replace("data:image/jpeg;base64,",""),J=this.decode64(q),me=J.indexOf(255,3),fe=J.slice(0,me),Te=J.slice(me),Se=fe;return Se=Se.concat(ne),Se=Se.concat(Te),Se}},{key:"slice2Segments",value:function(H){for(var ne=0,q=[];;){var J;if(H[ne]===255&H[ne+1]===218)break;if(H[ne]===255&H[ne+1]===216)ne+=2;else{J=H[ne+2]*256+H[ne+3];var me=ne+J+2,fe=H.slice(ne,me);q.push(fe),ne=me}if(ne>H.length)break}return q}},{key:"decode64",value:function(H){var ne=void 0,q=void 0,J="",me=void 0,fe=void 0,Te=void 0,Se="",Oe=0,Me=[],de=/[^A-Za-z0-9\+\/\=]/g;for(de.exec(H)&&console.warn(`There were invalid base64 characters in the input text.
218
+ Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
219
+ Expect errors in decoding.`),H=H.replace(/[^A-Za-z0-9\+\/\=]/g,"");me=this.KEY_STR.indexOf(H.charAt(Oe++)),fe=this.KEY_STR.indexOf(H.charAt(Oe++)),Te=this.KEY_STR.indexOf(H.charAt(Oe++)),Se=this.KEY_STR.indexOf(H.charAt(Oe++)),ne=me<<2|fe>>4,q=(fe&15)<<4|Te>>2,J=(Te&3)<<6|Se,Me.push(ne),Te!==64&&Me.push(q),Se!==64&&Me.push(J),ne=q=J="",me=fe=Te=Se="",Oe<H.length;);return Me}}]),k})();ce.initClass();var be=function(U,H){var ne=!1,q=!0,J=U.document,me=J.documentElement,fe=J.addEventListener?"addEventListener":"attachEvent",Te=J.addEventListener?"removeEventListener":"detachEvent",Se=J.addEventListener?"":"on",Oe=function de(Ee){if(!(Ee.type==="readystatechange"&&J.readyState!=="complete")&&((Ee.type==="load"?U:J)[Te](Se+Ee.type,de,!1),!ne&&(ne=!0)))return H.call(U,Ee.type||Ee)},Me=function de(){try{me.doScroll("left")}catch{setTimeout(de,50);return}return Oe("poll")};if(J.readyState!=="complete"){if(J.createEventObject&&me.doScroll){try{q=!U.frameElement}catch{}q&&Me()}return J[fe](Se+"DOMContentLoaded",Oe,!1),J[fe](Se+"readystatechange",Oe,!1),U[fe](Se+"load",Oe,!1)}};L._autoDiscoverFunction=function(){if(L.autoDiscover)return L.discover()},be(window,L._autoDiscoverFunction);function Ie(k,U){return typeof k<"u"&&k!==null?U(k):void 0}function je(k,U,H){if(typeof k<"u"&&k!==null&&typeof k[U]=="function")return H(k,U)}window.Dropzone=L;var z=L})(),a})()})})(vO)),vO.exports}var K5e=G5e();const IZ=Ln(K5e),Qg="upload.internetConnectivityError";class Y5e extends Tf{constructor(){super(Er.getPhrase(Qg,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:Er.getPhrase(Qg,"heading"),text:Er.getPhrase(Qg,"body"),buttons:[{text:Er.getPhrase(Qg,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Zg="upload.slowInternetError";class X5e extends Tf{constructor(){super(Er.getPhrase(Zg,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:Er.getPhrase(Zg,"heading"),text:Er.getPhrase(Zg,"body"),buttons:[{text:Er.getPhrase(Zg,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Q5e=[];class PZ extends Mo{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=qr.Radio.channel(t.channelName),i=this;this.dropzone=new IZ(document.createElement("div"),{url:(a=>{const o=a[0],{ingestUrl:l}=o.cvUpload;return l}),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&&(tt.each(Q5e,a=>{this.on(a,(...o)=>{const l=o[0]instanceof File?o[0].name:o[0];console.info(a,l,o)})}),this.on("uploadprogress",(a,o,l)=>{const s=l/a.size*100;n.trigger("progress",i.getId(a),s,l)}),this.on("success",a=>{const o=a.upload.chunks,l=tt.last(o);let s=l.xhr;s||(s=l.file.xhr);const c=JSON.parse(s.response);a.cvUpload.fileId=c.id,n.trigger(Ku.UPLOAD_SUCCESS,a,c)}),this.on("error",(a,o,l)=>{if(l&&l.status===0){vr.throw(new Y5e);return}a.status!=="canceled"&&vr.throw(new pie(Er.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 X5e),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(i.slowInternetTimeout[a.path])))},params:(a,o,l)=>{if(l)return{chunk_index:l.index,upload_length:l.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 IZ.isValidFile(t,r)}}class Z5e extends M5e{constructor(){super({dataProvider:ro.getInstance(iy.Ajax),cache:ro.getInstance(ny.Fifo),alertService:ro.getInstance(dv.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();Ua(r,l=>{this.incrementingUploadId++,o.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(l,n),callback:s=>{i(l,s)},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(){ro.releaseInstance(iy.Ajax).releaseInstance(ny.Fifo)}}const J5e={0:Xg.VIDEO,1:Xg.RESOURCES,2:Xg.SUBTITLES,3:Xg.MIXED_MEDIA},eNe={0:lp.VIDEO_UPLOAD,1:lp.RESOURCE_UPLOAD,2:lp.SUBTITLE_UPLOAD,3:lp.MIXED_MEDIA_UPLOAD},tNe=1024*1024*4,rNe=1024*1024*1024*50;class nNe extends Mo{initialize(){this.uploadDataService=new Z5e,this.progressViewModel=ese.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return eNe[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=tNe;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new PZ({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:rNe,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,Ku.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 u1,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(l=>{t+=l.get("totalUploaded")||0,r+=l.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 PZ.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(NO(t,n=>!this.isValidFile(n))){vr.throw(new F5e(Er.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 l=await iie(this.options.store.dispatch,W5e.requestUpload(o,this.fileLifestyle));"minChunkSize"in l&&"maxChunkSize"in l&&this.initUploader(l.minChunkSize,l.maxChunkSize),o.cvUpload={uploadId:l.uploadId,ingestUrl:l.uploadUrl},this.uploader.addFile(o);let s=o.name;this.uploadType===0&&(s=s.replace(/\.[^/.]+$/,""));const c=this.uploader.getId(o);i.add({id:c,file:o,name:s,...this.getAdditionalFileInfo(o,l)},{at:i.length-1})}r&&Ti.logUserAction({uploadCount:t.length},r),qr.Radio.channel(this.channelName).trigger(Ku.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,()=>{Ti.logUserAction(n.toJSON(),{entity:vn.Video,actionType:Pt.Upload,workflowPhase:Io.Discard,descriptor:QO.Single,location:aa.MyUploads}),qr.Radio.channel(this.channelName).trigger(Ku.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),Ti.logUserAction({id:t.cvUpload.uploadId},{entity:vn.Video,actionType:Pt.Upload,workflowPhase:Io.Complete,descriptor:QO.Single,location:aa.VideoUpload}),qr.Radio.channel(this.channelName).trigger(Ku.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ua(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return J5e[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class iNe extends nNe{get uploadType(){return 3}get name(){return sie.MixedMediaUpload}get fileLifestyle(){return uk.Temporary}}var aNe=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return bae(t,n)})},gO=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Cae(t,n)})},lk=(function(e){T3(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(l,s){var c=n.resolveArguments(l,s),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,s)},n.onEntering=function(l,s){var c=n.resolveArguments(l,s),d=c[0],h=c[1],p=h?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(l,s)},n.onEntered=function(l,s){var c=n.resolveArguments(l,s),d=c[0],h=c[1],p=h?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(l,s)},n.onExit=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var s=n.resolveArguments(l),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,s){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,s]},n.getClassNames=function(l){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",h=c?""+d+l:s[l],p=c?h+"-active":s[l+"Active"],g=c?h+"-done":s[l+"Done"];return{baseClassName:h,activeClassName:p,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(i,a,o){var l=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(l+=" "+c),o==="active"&&i&&Pie(i),l&&(this.appliedClasses[a][o]=l,aNe(i,l))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],l=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},l&&gO(i,l),s&&gO(i,s),c&&gO(i,c)},r.render=function(){var i=this.props;i.classNames;var a=_1(i,["classNames"]);return Xt.createElement(wu,Pp({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(Xt.Component);lk.defaultProps={classNames:""};lk.propTypes={};function oNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ck(e,t){var r=function(a){return t&&ge.isValidElement(a)?t(a):a},n=Object.create(null);return e&&ge.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function sNe(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,l={};for(var s in t){if(n[s])for(o=0;o<n[s].length;o++){var c=n[s][o];l[n[s][o]]=r(c)}l[s]=r(s)}for(o=0;o<i.length;o++)l[i[o]]=r(i[o]);return l}function Uc(e,t,r){return r[t]!=null?r[t]:e.props[t]}function uNe(e,t){return ck(e.children,function(r){return ge.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Uc(r,"appear",e),enter:Uc(r,"enter",e),exit:Uc(r,"exit",e)})})}function lNe(e,t,r){var n=ck(e.children),i=sNe(t,n);return Object.keys(i).forEach(function(a){var o=i[a];if(ge.isValidElement(o)){var l=a in t,s=a in n,c=t[a],d=ge.isValidElement(c)&&!c.props.in;s&&(!l||d)?i[a]=ge.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Uc(o,"exit",e),enter:Uc(o,"enter",e)}):!s&&l&&!d?i[a]=ge.cloneElement(o,{in:!1}):s&&l&&ge.isValidElement(c)&&(i[a]=ge.cloneElement(o,{onExited:r.bind(null,o),in:c.props.in,exit:Uc(o,"exit",e),enter:Uc(o,"enter",e)}))}}),i}var cNe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},fNe={component:"div",childFactory:function(t){return t}},fk=(function(e){T3(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind(oNe(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,l=a.handleExited,s=a.firstRender;return{children:s?uNe(i,l):lNe(i,o,l),firstRender:!1}},r.handleExited=function(i,a){var o=ck(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var s=Pp({},l.children);return delete s[i.key],{children:s}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,l=_1(i,["component","childFactory"]),s=this.state.contextValue,c=cNe(this.state.children).map(o);return delete l.appear,delete l.enter,delete l.exit,a===null?Xt.createElement(zm.Provider,{value:s},c):Xt.createElement(zm.Provider,{value:s},Xt.createElement(a,l,c))},t})(Xt.Component);fk.propTypes={};fk.defaultProps=fNe;function dNe(e){return j.jsx("svg",{...e,children:j.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 hNe(e){return j.jsx("svg",{...e,children:j.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 pNe(e){return j.jsx("svg",{...e,children:j.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 vNe(e){return j.jsx("svg",{...e,children:j.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 gNe="_alertItem_i5y1z_1",mNe="_alertBox_i5y1z_11",yNe="_alertList_i5y1z_11",_Ne="_icon_i5y1z_28",SNe="_alertContent_i5y1z_32",ENe="_heading_i5y1z_40",qc={alertItem:gNe,alertBox:mNe,alertList:yNe,icon:_Ne,alertContent:SNe,heading:ENe};function wNe(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:a,heading:o,appLink:l,appLinkText:s,appLinkClassName:c="",extLink:d,extLinkText:h,extLinkClassName:p}=t;return j.jsxs(j.Fragment,{children:[j.jsx("div",{className:`d-inline-block ${qc.icon}`,children:j.jsx(Jo,{svg:r,className:`svg-container ${n}`})}),j.jsxs("div",{role:t.type===Ko.Fail?"alert":"status",className:`ps-2 d-inline-block ${qc.alertContent}`,children:[j.jsx("p",{className:`p-0 m-0 pb-1 ${qc.heading}`,children:o}),j.jsx("p",{className:`p-0 text-break clamp-4 ${qc.message}`,dangerouslySetInnerHTML:{__html:a}}),!!l&&j.jsx(Yo,{className:c,appLink:l,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:s}})}),!!d&&h&&j.jsx("a",{href:d,className:p,target:"_blank",children:h})]}),j.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const bNe=e=>{switch(e.type){case Ko.Success:return dNe;case Ko.Fail:case Ko.Warning:return vNe;case Ko.Pending:return pNe;case Ko.Info:default:return hNe}},CNe=e=>e.type===Ko.Pending?"text-info":`text-${e.type}`;tse.defaultProps={timeout:3e3};function tse({alert:e,closeAlert:t,timeout:r}){const[n,i]=ge.useState(!0),a=ge.useRef(null);return ge.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),j.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${qc.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:j.jsx(wNe,{alert:e,svg:bNe(e),svgClassName:CNe(e),closeAlert:t})})}function TNe({alerts:e,removeAlert:t}){return j.jsx("div",{className:qc.alertBox,children:j.jsx(fk,{component:"ul",className:`${qc.alertList} list-unstyled`,children:e&&e.map((r,n)=>j.jsx(lk,{timeout:200,classNames:"alert",children:j.jsx(tse,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}const ANe={[jl.US]:"en-us"};var pr=(e=>(e.AU="au",e.NZ="nz",e.UK="uk",e.US="us",e.CA="ca",e))(pr||{}),Ro=(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))(Ro||{});const RNe=["uk","gb","gg","im","je","ie"],kZ={au:pr.AU,nz:pr.NZ,us:pr.US,uk:pr.UK,ca:pr.CA,gb:pr.UK,gg:pr.UK,im:pr.UK,je:pr.UK,ie:pr.UK,al:pr.UK,ad:pr.UK,am:pr.UK,at:pr.UK,az:pr.UK,by:pr.UK,be:pr.UK,ba:pr.UK,bg:pr.UK,hr:pr.UK,cy:pr.UK,cz:pr.UK,dk:pr.UK,ee:pr.UK,fi:pr.UK,fr:pr.UK,de:pr.UK,ge:pr.UK,gr:pr.UK,hu:pr.UK,is:pr.UK,it:pr.UK,lv:pr.UK,li:pr.UK,lt:pr.UK,lu:pr.UK,mt:pr.UK,md:pr.UK,mc:pr.UK,me:pr.UK,nl:pr.UK,mk:pr.UK,no:pr.UK,pl:pr.UK,pt:pr.UK,ro:pr.UK,ru:pr.UK,sm:pr.UK,rs:pr.UK,sk:pr.UK,si:pr.UK,es:pr.UK,se:pr.UK,ch:pr.UK,tr:pr.UK,ua:pr.UK,va:pr.UK},xNe={au:Ro.CvApSoutheast1,uk:Ro.CvEuWest1,us:Ro.CvNaWest1,nz:Ro.CvApSoutheast2,ca:Ro.CvNaWest1},ONe={au:jl.AU,uk:jl.UK,us:jl.US,nz:jl.NZ,ca:jl.US},Dl={getRegionName(e){const t=Dl.getCountryCode(e);return xNe[t]},getInstanceRegion(e){const t=Dl.getCountryCode(e);return ONe[t]},getCountryCode(e){const t=kZ[e==null?void 0:e.toLowerCase()];return t||pr.US},isCountryCodeUK(e){return RNe.includes(e.toLowerCase())},isCountryCodeAU(e){return(e==null?void 0:e.toLowerCase())===pr.AU},isCountryCodeUS(e){return(e==null?void 0:e.toLowerCase())===pr.US},isCountryCodeNZ(e){return(e==null?void 0:e.toLowerCase())===pr.NZ},isSupportedCountryCode(e){return Object.keys(kZ).includes(e==null?void 0:e.toLowerCase())},getLocalizedLocalityPlaceholderPhrase(e){if(e){if(Dl.isCountryCodeUK(e))return"E.g. CR0 3RL or 36 Factory Lane";if(Dl.isCountryCodeAU(e)||Dl.isCountryCodeNZ(e))return"E.g. 2212 or Revesby";if(Dl.isCountryCodeUS(e))return"E.g. 95826 or Sacramento"}},getLocalizedLocalityPlaceholderText(e){if(!e)return;const t=Dl.getLocalizedLocalityPlaceholderPhrase(e);if(t)return t}},INe={getInstanceRegion(e,t){return e.instanceRegion?e.instanceRegion:Dl.getInstanceRegion(t==null?void 0:t.countryCode)},BRAZE_CLIENT_SOURCE:"cv_product_braze_client_service"},PNe={shouldInitialize(e){return!!e.isAuthenticated}};async function kNe(e){const t=ia(e.store,Ks.config()),r=ia(e.store,Ks.version());return{currentUser:await ia(e.store,si.currentUser()),config:await t,version:await r}}const DZ={countryCode:pr.US};async function DNe(e,t){try{const{currentUser:r,config:n,version:i}=await kNe(e);Ane.setCurrentRegion(ANe[r.instanceRegion]);const a={maxAlerts:3,defaultSuccessAlert:{heading:GO.Success,type:Ko.Success},defaultErrorAlert:{heading:GO.Fail,type:Ko.Fail},alertViewCtor:TNe};ro.registerSingleton(new dTe(a)).registerInstance(iNe,{store:e.store}),await o(),t(e);async function o(){const{BrazeClientService:l}=await zn(async()=>{const{BrazeClientService:d}=await import("./DK1p1ffZ.chunk.js");return{BrazeClientService:d}},__vite__mapDeps([158,123])),s=INe.getInstanceRegion(r,DZ),c={client:{productName:"streamable.web",version:i,apiKey:n.braze[s].apiKey,baseUrl:n.braze[s].url,shouldInitialize:PNe.shouldInitialize(r),geoLocation:DZ},context:{user:r},eventOptions:{logAttributionData:!0,logUtmParameters:!0}};ro.registerInstance(l,c)}}catch{vr.throw(new Zc)}}function LNe(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 yd;typeof self<"u"?yd=self:typeof window<"u"?yd=window:typeof globalThis<"u"?yd=globalThis:typeof module<"u"?yd=module:yd=Function("return this")();var LZ=LNe(yd),mO=function(){return Math.random().toString(36).substring(7).split("").join(".")},wp={INIT:"@@redux/INIT"+mO(),REPLACE:"@@redux/REPLACE"+mO(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+mO()}};function NNe(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 rse(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(rse)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],l=o,s=!1;function c(){l===o&&(l=o.slice())}function d(){if(s)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(_){if(typeof _!="function")throw new Error("Expected the listener to be a function.");if(s)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 E=!0;return c(),l.push(_),function(){if(E){if(s)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.");E=!1,c();var b=l.indexOf(_);l.splice(b,1)}}}function p(_){if(!NNe(_))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof _.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(s)throw new Error("Reducers may not dispatch actions.");try{s=!0,a=i(a,_)}finally{s=!1}for(var E=o=l,w=0;w<E.length;w++){var b=E[w];b()}return _}function g(_){if(typeof _!="function")throw new Error("Expected the nextReducer to be a function.");i=_,p({type:wp.REPLACE})}function m(){var _,E=h;return _={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function x(){b.next&&b.next(d())}x();var T=E(x);return{unsubscribe:T}}},_[LZ]=function(){return this},_}return p({type:wp.INIT}),n={dispatch:p,subscribe:h,getState:d,replaceReducer:g},n[LZ]=m,n}function MNe(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 $Ne(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:wp.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:wp.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+wp.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 FNe(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{$Ne(r)}catch(l){o=l}return function(s,c){if(s===void 0&&(s={}),o)throw o;for(var d=!1,h={},p=0;p<a.length;p++){var g=a[p],m=r[g],_=s[g],E=m(_,c);if(typeof E>"u"){var w=MNe(g,c);throw new Error(w)}h[g]=E,d=d||E!==_}return d?h:s}}function jNe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NZ(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 UNe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?NZ(r,!0).forEach(function(n){jNe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NZ(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qNe(){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 VNe(){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)}},l=t.map(function(s){return s(o)});return a=qNe.apply(void 0,l)(i.dispatch),UNe({},i,{dispatch:a})}}}function HNe(e){const{authenticationError:t}=e;return function(){return n=>i=>{var o;const a=i;if(i.type===to.API_ERROR&&t&&((o=a==null?void 0:a.xhr)==null?void 0:o.status)===XP.Unauthorized)return vr.throw(new t("dark"));if(i.type!==to.API_RESPONSE){n(i);return}n(i)}}}function BNe(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 zNe(e={},t){switch(t.type){case k1.UPDATE:return BNe(e,t)}return e}const WNe={STANDARD:600},Jg="shared.authentication";class GNe extends Tf{constructor(t){super(Er.getPhrase(Jg,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:Er.getPhrase(Jg,"heading"),text:Er.getPhrase(Jg,"body"),buttons:[{text:Er.getPhrase(Jg,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Un.Reload()}}class KNe extends GNe{onDone(){Un.PageLoad(`/login?returnUrl=${encodeURIComponent(Un.GetCurrentUrl())}`)}}async function YNe(e,t,r){const n=rie(r.getState(),si.currentUser().key).data;return n?{...e,resource:gCe.isPublicRequest(t)&&!n.isAuthenticated?t.publicUrl:t.url}:e}const xd={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,o,l,s;const r=rie(e.getState(),Bc.TOKEN),n=xd.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){hh(e.dispatch,t);return}if(r.isFetching){let c=!1;const d=e.subscribe(()=>{d(),!c&&(c=!0,xd.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)):((l=t.success)==null||l.call(t,r.data),(s=t.always)==null||s.call(t))},async getTokenAsync(e){const t=nse.getToken();return t||new Promise((r,n)=>{const i=o=>r(o),a=o=>n(o);xd.getToken(e,si.token(i,a))})}},XNe=Zi.Router.prototype._routeToRegExp("share/embed/:id(/)"),QNe=Zi.Router.prototype._routeToRegExp("videos/embed/:id(/)"),nse={applyToken(e){const t=Wl.getCurrentRoute().appLink,r=Vn.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}});Un.PageLoad(r)},getToken(){const e=Zi.history.getFragment(Un.GetCurrentPath()),t=XNe.test(e),r=QNe.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 xd.hasTokenExpired(o)?null:o}};function ZNe(){const e=nse.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);xd.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const ay={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},MZ={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function JNe(e){return async function(r,n){const i=Object.keys(MZ).find(o=>r.resource.startsWith(o));if(!i)return n(r);function a(o,l){const s=o[MZ[i]],c={...r,resource:ay.safeUrlConcat(s,r.resource.split(`${i}/`)[1])};l!=null&&l.value&&(c.headers={...c.headers??{},authorization:`Bearer ${l.value}`}),n(c)}try{const o=await ia(e,Ks.config());if(!(await ia(e,si.currentUser())).isAuthenticated){a(o);return}const s=await xd.getTokenAsync(e);a(o,s)}catch{n(r)}}}const $Z=/\(([^()]*)\)/g;function eMe(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function tMe(e,t){function r(n){return function(a){const o=t[a];if(typeof o=="string"){n.useAsync(eMe(a,o));return}o&&n.useAsync(o)}}return function(i,a){var p;const o=new Cd,l=new Cd,s={resource:i.resource,store:e},c={resource:null,store:e},d=(p=i.data)==null?void 0:p.ogql;if(decodeURIComponent(i.resource).replace($Z,r(o)),d){const g=JSON.stringify(i.data.ogql);c.resource=g,g.replace($Z,r(l))}o.goAsync(s,g=>{l.goAsync(c,m=>{a({...i,resource:g.resource,data:d?{...i.data,ogql:JSON.parse(m.resource)}:i.data})})})}}function rMe(e,t){return function(n){const i=new Cd;i.useAsync(JNe(e.store)),i.useAsync(tMe(e.store,t)),i.useAsync(ZNe()),i.goAsync(n,a=>{WO(a)})}}function nMe(e,t){return async function(n,i){if(!(t!=null&&t.length))return n;try{let a=n;for(const o of t)a=await o(a,i,e.store);return a}catch{return n}}}const iMe=[Ir.DefaultPlaybackQuality,Ir.DefaultLocalCachePlaybackQuality,Ir.EnableSubtitlesDefault,Ir.PolicyEndTime];function aMe(e){return function(r,n){const i=iMe.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const oMe=[Ir.HasCompletedOnboardingV1];function sMe(e){return function(r,n){const i=oMe.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const uMe="thumbnail,_rating,series,season,productionCompanies[logo]",lMe="subtitles{limit:1}";function cMe(e){return function(r,n){m3(r.store,si.currentUser(i=>{let a=`${uMe}`;i.isAuthenticated&&(a+=`,favouritedby{id:${i.id}}`),a+=","+lMe;const o=r.resource.replace(e,a);n({...r,resource:o})},()=>n(r)))}}const fMe={[Vm.VIDEO_COLLECTION]:cMe(Vm.VIDEO_COLLECTION),"(customerSettings)":aMe("(customerSettings)"),"(userSettings)":sMe("(userSettings)")};async function dMe(e,t){const r=FNe({flightData:ICe,viewModelData:zNe}),n=CCe({fetchData:rMe(e,fMe),getFetchDataOptions:nMe(e,[YNe]),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:WNe.STANDARD}),i=HNe({authenticationError:KNe});async function a(l){e.registerStore(l),t(e),delete window.bootstrapData}const o=rse(r,VNe(n,i));await a(o)}const hMe="application:options";class pMe extends Mo{constructor(t){super(),this.clients={},this.enrichers={},ese.get(hMe).set(t??{})}get name(){return E1.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(Rie.ANALYTICS,Ad.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(Vu(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 Rn(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>Ai.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new Rn(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new Rn(`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 ise="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function FZ(e,t,r,n){let i,a,o;const l=t||[0],s=(r=r||0)>>>3,c=n===-1?3:0;for(i=0;i<e.length;i+=1)o=i+s,a=o>>>2,l.length<=a&&l.push(0),l[a]|=e[i]<<8*(c+n*(o%4));return{value:l,binLen:8*e.length+r}}function yO(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,l,s,c){let d,h,p,g;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const m=l||[0],_=(s=s||0)>>>3,E=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)+_,p=g>>>2;m.length<=p;)m.push(0);m[p]|=h<<8*(E+c*(g%4))}return{value:m,binLen:4*o.length+s}})(n,i,a,r)};case"TEXT":return function(n,i,a){return(function(o,l,s,c,d){let h,p,g,m,_,E,w,b,x=0;const T=s||[0],A=(c=c||0)>>>3;if(l==="UTF8")for(w=d===-1?3:0,g=0;g<o.length;g+=1)for(h=o.charCodeAt(g),p=[],128>h?p.push(h):2048>h?(p.push(192|h>>>6),p.push(128|63&h)):55296>h||57344<=h?p.push(224|h>>>12,128|h>>>6&63,128|63&h):(g+=1,h=65536+((1023&h)<<10|1023&o.charCodeAt(g)),p.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),m=0;m<p.length;m+=1){for(E=x+A,_=E>>>2;T.length<=_;)T.push(0);T[_]|=p[m]<<8*(w+d*(E%4)),x+=1}else for(w=d===-1?2:0,b=l==="UTF16LE"&&d!==1||l!=="UTF16LE"&&d===1,g=0;g<o.length;g+=1){for(h=o.charCodeAt(g),b===!0&&(m=255&h,h=m<<8|h>>>8),E=x+A,_=E>>>2;T.length<=_;)T.push(0);T[_]|=h<<8*(w+d*(E%4)),x+=2}return{value:T,binLen:8*x+c}})(n,t,i,a,r)};case"B64":return function(n,i,a){return(function(o,l,s,c){let d,h,p,g,m,_,E,w=0;const b=l||[0],x=(s=s||0)>>>3,T=c===-1?3:0,A=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),A!==-1&&A<o.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<o.length;h+=4){for(m=o.substr(h,4),g=0,p=0;p<m.length;p+=1)d=ise.indexOf(m.charAt(p)),g|=d<<18-6*p;for(p=0;p<m.length-1;p+=1){for(E=w+x,_=E>>>2;b.length<=_;)b.push(0);b[_]|=(g>>>16-8*p&255)<<8*(T+c*(E%4)),w+=1}}return{value:b,binLen:8*w+s}})(n,i,a,r)};case"BYTES":return function(n,i,a){return(function(o,l,s,c){let d,h,p,g;const m=l||[0],_=(s=s||0)>>>3,E=c===-1?3:0;for(h=0;h<o.length;h+=1)d=o.charCodeAt(h),g=h+_,p=g>>>2,m.length<=p&&m.push(0),m[p]|=d<<8*(E+c*(g%4));return{value:m,binLen:8*o.length+s}})(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,l,s,c){return FZ(new Uint8Array(o),l,s,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 FZ(n,i,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function jZ(e,t,r,n){switch(e){case"HEX":return function(i){return(function(a,o,l,s){let c,d,h="";const p=o/8,g=l===-1?3:0;for(c=0;c<p;c+=1)d=a[c>>>2]>>>8*(g+l*(c%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return s.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(a,o,l,s){let c,d,h,p,g,m="";const _=o/8,E=l===-1?3:0;for(c=0;c<_;c+=3)for(p=c+1<_?a[c+1>>>2]:0,g=c+2<_?a[c+2>>>2]:0,h=(a[c>>>2]>>>8*(E+l*(c%4))&255)<<16|(p>>>8*(E+l*((c+1)%4))&255)<<8|g>>>8*(E+l*((c+2)%4))&255,d=0;d<4;d+=1)m+=8*c+6*d<=o?ise.charAt(h>>>6*(3-d)&63):s.b64Pad;return m})(i,t,r,n)};case"BYTES":return function(i){return(function(a,o,l){let s,c,d="";const h=o/8,p=l===-1?3:0;for(s=0;s<h;s+=1)c=a[s>>>2]>>>8*(p+l*(s%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,l){let s;const c=o/8,d=new ArrayBuffer(c),h=new Uint8Array(d),p=l===-1?3:0;for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(p+l*(s%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,l){let s;const c=o/8,d=l===-1?3:0,h=new Uint8Array(c);for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(d+l*(s%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function UZ(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 cd(e,t){return e<<t|e>>>32-t}function qZ(e,t,r){return e^t^r}function vMe(e,t,r){return e&t^e&r^t&r}function ip(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function em(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 gMe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function ase(e,t){let r,n,i,a,o,l,s;const c=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=0;s<80;s+=1)c[s]=s<16?e[s]:cd(c[s-3]^c[s-8]^c[s-14]^c[s-16],1),l=s<20?em(cd(r,5),(d=n)&i^~d&a,o,1518500249,c[s]):s<40?em(cd(r,5),qZ(n,i,a),o,1859775393,c[s]):s<60?em(cd(r,5),vMe(n,i,a),o,2400959708,c[s]):em(cd(r,5),qZ(n,i,a),o,3395469782,c[s]),o=a,a=i,i=cd(n,30),n=r,r=l;var d;return t[0]=ip(r,t[0]),t[1]=ip(n,t[1]),t[2]=ip(i,t[2]),t[3]=ip(a,t[3]),t[4]=ip(o,t[4]),t}function mMe(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=ase(e.slice(i,i+16),n);return n}class yMe 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,l=a.value,s=o>>>5;for(r=0;r<s;r+=i)n+this.U<=o&&(this.F=this.m(l.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=l.slice(n>>>5),this.h=o%this.U,this.u=!0}getHash(t,r){let n,i,a=this.g;const o=UZ(r);if(this.B){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const l=jZ(t,a,this.v,o);if(this.A&&this.Y)return l(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 l(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=yO(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=UZ(r);return jZ(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=yO(this.t,this.i,this.v),this.m=ase,this.C=function(a){return a.slice()},this.I=gMe,this.H=mMe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(a,o,l,s){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 yO(o.format,o.encoding||"UTF8",l)(o.value)})("hmacKey",i.hmacKey,this.v))}}const _Me={systemName:Ro.CvApSoutheast1},SMe={systemName:Ro.CvApSoutheast2},EMe={systemName:Ro.CvEuWest1},wMe={systemName:Ro.CvNaWest1},bMe={CvApSoutheast1:_Me,CvApSoutheast2:SMe,CvEuWest1:EMe,CvNaWest1:wMe},VZ="r",$1="cv:r",F1="cv:r:e",tm="referrer",HZ="cv:originalReferrer",TI=28800,BZ=["internalReferrer"],dk={getDecodedAttributionData(){const e=qa.cacheGet($1);if(e&&Object.keys(e).length>0)return e;const t=zZ();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=qa.cacheGet(F1);return e!=null&&e.length?e:zZ().encoded},getProfileId(){const e=dk.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function zZ(){const e=qa.cacheGet($1),t=qa.cacheGet(F1);return hk(e)?{encoded:t,decoded:e}:CMe()}function CMe(){qa.cacheRemove($1),qa.cacheRemove(F1);const e=AMe(),t=RMe(e);if(t)return WZ(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:TMe()},n=xMe(r);return WZ(n,r),{decoded:r,encoded:n}}function hk(e){return!e||typeof e!="object"||Object.keys(e).length<BZ.length?!1:BZ.every(t=>typeof e[t]=="string")}function TMe(){const e=qa.cacheGet(HZ);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(tm)&&r.get(tm);r.has(tm)&&r.get(tm)&&(t=n)}return t&&qa.cacheSet(HZ,t,TI),t}function AMe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(VZ))return e.get(VZ)}function RMe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!hk(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 xMe(e){if(hk(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function WZ(e,t){try{qa.cacheSet($1,t,TI),qa.cacheSet(F1,e,TI)}catch{console.error("Could not store attribution data in session storage")}}const GZ=3,OMe=5e3,IMe=6,_O={};class PMe{constructor(t){this.key=t.toString()}getCount(){return _O[this.key]||0}increment(){_O[this.key]=this.getCount()+1}reset(){delete _O[this.key]}shouldBreak(){return this.getCount()>=IMe}}class kMe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,OMe*Math.pow(2,this.attempt))),this.attempt++}}async function DMe(e,t){const r=new kMe,n=new PMe(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<=GZ;a++)try{return await i()}catch(o){if(a>=GZ||n.shouldBreak())throw o;n.increment(),await r.wait()}}var rm,LMe=new Uint8Array(16);function NMe(){if(!rm&&(rm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!rm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rm(LMe)}const MMe=/^(?:[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 pk(e){return typeof e=="string"&&MMe.test(e)}var Ea=[];for(var SO=0;SO<256;++SO)Ea.push((SO+256).toString(16).substr(1));function $Me(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ea[e[t+0]]+Ea[e[t+1]]+Ea[e[t+2]]+Ea[e[t+3]]+"-"+Ea[e[t+4]]+Ea[e[t+5]]+"-"+Ea[e[t+6]]+Ea[e[t+7]]+"-"+Ea[e[t+8]]+Ea[e[t+9]]+"-"+Ea[e[t+10]]+Ea[e[t+11]]+Ea[e[t+12]]+Ea[e[t+13]]+Ea[e[t+14]]+Ea[e[t+15]]).toLowerCase();if(!pk(r))throw TypeError("Stringified UUID is invalid");return r}function FMe(e,t,r){e=e||{};var n=e.random||(e.rng||NMe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,$Me(n)}function jMe(e){if(!pk(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const KZ="cv:session:",YZ="cv:window:",UMe=new Date(864e13).getTime(),XZ=18e5,qMe=4;function ose(e){if(e===Gs.LocalStorage)return qa.isAvailable()?qa:GY;if(e===Gs.SessionStorage)return Nd.isAvailable()?Nd:GY}function QZ(e){return e===!1?UMe:new Date().getTime()+e}function VMe(){return FMe()}function HMe(e){return e?new Date().getTime()>e:!1}function BMe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!pk(e.id)||jMe(e.id)!==qMe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function ZZ(e,t,r){const n=ose(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function JZ(e,t,r,n){const i=ose(r),a=e+(t||"0"),o=i.get(a);if(!BMe(o)||HMe(o==null?void 0:o.ttl)){const s={id:VMe(),ttl:QZ(n)};return i.set(a,s),s.id}const l={id:o.id,ttl:QZ(n)};return i.set(a,l),o.id}let EO=!1;const eJ={getClientSessionData(e){const t=JZ(KZ,e,Gs.LocalStorage,XZ),r=JZ(YZ,e,Gs.SessionStorage,EO?!1:XZ);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){ZZ(KZ,e,Gs.LocalStorage),ZZ(YZ,e,Gs.SessionStorage)},lockWindowSession(){EO=!0},unlockWindowSession(){EO=!1}},Vc={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},ln={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},zu="Unknown";function fd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=zu),{name:e,version:i}}function Tc(e,t,r){if(!t)return{name:e,version:zu};const n=t.exec(r),i=n&&n.length?n[0].trim():zu;return{name:e,version:i}}function zMe(e,t){const r={name:e,version:null};return ln.win2000.test(t)&&(r.version="2000"),ln.winXP.test(t)&&(r.version="XP"),ln.winVista.test(t)&&(r.version="Vista"),ln.win7.test(t)&&(r.version="7"),ln.win8.test(t)&&(r.version="8"),ln.win81.test(t)&&(r.version="8.1"),ln.win10.test(t)&&(r.version="10"),r.version||(r.version=zu),r}const tJ={getDeviceType(){const e=window.navigator.userAgent;return ln.mobileDevice.test(e)?ln.iphone.test(e)?"iPhone":ln.ipad.test(e)?"iPad":ln.android.test(e)?"Android":ln.blackberry.test(e)?"Blackberry":ln.windowsPhone.test(e)?"Windows Phone":zu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return ln.android.test(e)?Tc("Android",ln.androidVersion,e):ln.iphone.test(e)||ln.ipad.test(e)?Tc("iOS",ln.iosVersion,e):ln.linux.test(e)?Tc("Linux",null,e):ln.unix.test(e)?Tc("Unix",null,e):ln.mac.test(e)?Tc("Macintosh",ln.osxVersion,e):ln.windows.test(e)?zMe("Windows",e):ln.blackberry.test(e)?Tc("BlackBerry",ln.blackberryVersion,e):ln.windowsPhone.test(e)?Tc("Windows Phone",ln.windowsPhoneVersion,e):{name:zu,version:zu}},getBrowser(){const e=window.navigator.userAgent;return ln.chrome.test(e)?fd("Chrome",ln.generalVersion,e):ln.firefox.test(e)?fd("Firefox",ln.generalVersion,e):ln.safari.test(e)?fd("Safari",ln.generalVersion,e):ln.ie.test(e)?fd("Internet Explorer",ln.ieVersion,e):ln.edge.test(e)?fd("Edge",ln.edgeVersion,e):ln.opera.test(e)?fd("Opera",ln.operaVersion,e):{name:zu,version:zu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},WMe=28800,rJ="cv:utmparams",AI=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],GMe=AI.reduce((e,[t])=>({...e,[t]:t}),{}),vk={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 AI.forEach(r),nJ(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{GMe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),nJ(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=vk.getUtmParameters();return t?(AI.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function nJ(e){if(Object.keys(e).length)return qa.cacheSet(rJ,e,WMe),e;const t=qa.cacheGet(rJ);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const KMe="2.3.0",YMe={version:KMe},XMe="zXJL9nOHxzDlMUDjiP41",iJ="unknown";class QMe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=vk.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=dk.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(!Vc.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Vc.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=ay.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=ay.safeUrlConcat(a,"/bulk"));try{const o=await DMe(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 yMe("SHA-1","TEXT",{hmacKey:{value:XMe,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 Ro.CvEuWest1:return t.cvEuWest1;case Ro.CvApSoutheast2:return t.cvApSoutheast2;case Ro.CvNaWest1:return t.cvNaWest1;case Ro.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Vc.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 l={user:i,action:r,platform:n,product:o,session:a};this.utmParameters&&(l.utm=this.utmParameters);const s=this.extractData(t),c=Object.keys(l).map(h=>h.toLowerCase()),d=Object.keys(s).map(h=>h.toLowerCase());return c.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...l,...s}}extractData(t){return Vc.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())||iJ,userGroup:(a.userGroup??Aie.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{...eJ.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),eJ.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:tJ.getBrowser(),os:tJ.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:YMe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(bMe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):iJ}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const sy=class sy extends Mo{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===sy.type}};sy.type="BaseAnalyticsClient";let oy=sy;class ZMe extends oy{get name(){return"DebuggerClient"}shouldLog(){return l1.isDevelopment}log(t){const r=fre(t);for(const n in t){const i=r[n];(i instanceof Ju||i instanceof u1)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}var Dc=(e=>(e.PageView="cv_page_view",e.Click="cv_click",e.FormSubmission="cv_form_submission",e))(Dc||{});const JMe={needsConsent(e){return!(typeof e>"u"||!e.isRequired||e.hasConsent)}},e8e="cookie:consent:accepted";class wa extends oy{constructor(t){super(t)}get name(){return"GoogleAnalyticsClient"}initialize(t){if(this.setup(),t.logUtmParameters&&(this.utmParameters=vk.getUtmParameters()),t.logAttributionData&&(this.attributionData=dk.getDecodedAttributionData()),!JMe.needsConsent(t.consent)){this.updateGAConsent("granted");return}this.listenTo(Cn.SHELL,e8e,this.onConsent)}onConsent(t){t!=null&&t.analytics&&this.updateGAConsent("granted")}updateGAConsent(t){if(!this.ready){console.error("gtag is not ready");return}window.gtag("consent","update",{ad_user_data:t,ad_personalization:t,ad_storage:t,analytics_storage:t})}setup(){if(typeof window.gtag!="function"){this.ready=!1;return}this.ready=!0}shouldLog(t){if(!this.ready||!Array.isArray(window.dataLayer))return!1;const r=wa.eventWhitelist[t.type];return typeof r=="function"?r(t):!1}log(t){const{eventName:r,eventData:n}=this.getEventData(t)??{};r&&this.logEvent(r,n)}logEvent(t,r={}){var n,i;this.ready&&(this.utmParameters&&(r.utm=this.utmParameters),(n=this.attributionData)!=null&&n.internalReferrer&&(r.internalReferrer=this.attributionData.internalReferrer),(i=this.attributionData)!=null&&i.originalReferrer&&(r.originalReferrer=this.attributionData.originalReferrer),window.gtag("event",t,r||{}))}getEventData(t){if(t.isType(Pt.PageView))return wa.getPageViewData(t);if(t.isType(Pt.Click))return wa.getClickData(t);if(t.isType(Pt.Create))return wa.getCreateEventData(t)}static getCreateEventData(t){if(wa.isTrialCreatedEvent(t))return{eventName:Dc.FormSubmission,eventData:{event_category:"sign_up",event_label:"created"}};if(wa.isTrialRequestedEvent(t))return{eventName:Dc.FormSubmission,eventData:{event_category:"sign_up",event_label:"trial_requested"}};if(wa.isTrialCustomerEvent(t))return{eventName:Dc.FormSubmission,eventData:{event_category:"sign_up",event_label:"customer"}};if(wa.isTrialExistingEvent(t))return{eventName:Dc.FormSubmission,eventData:{event_category:"sign_up",event_label:"existing_trial"}}}static getPageViewData(t){var r;if(!(!("url"in t.data)||!t.data.url))return{eventName:Dc.PageView,eventData:{url:(r=t.data)==null?void 0:r.url}}}static getClickData(t){var r,n,i,a,o,l;if(((r=t.actionContext)==null?void 0:r.entity)!==vn.Url)return{eventName:Dc.Click,eventData:{entity:(n=t.actionContext)==null?void 0:n.entity,context:((i=t.actionContext)==null?void 0:i.descriptor)||((a=t.actionContext)==null?void 0:a.location),id:(o=t.data)==null?void 0:o.id,value:(l=t.data)==null?void 0:l.name}}}static get eventWhitelist(){return{[Pt.PageView]:wa.isPageViewEvent,[Pt.Click]:wa.isClickEvent,[Pt.Create]:wa.isCreateEvent}}static isPageViewEvent(t){return"url"in t.data}static isClickEvent(t){return t.type===Pt.Click}static isCreateEvent(t){return t.type!==Pt.Create?!1:wa.isTrialCreatedEvent(t)||wa.isTrialRequestedEvent(t)||wa.isTrialCustomerEvent(t)||wa.isTrialExistingEvent(t)}static isTrialCreatedEvent(t){return!(t.type!==Pt.Create||t.actionContext.descriptor!==Gu.TrialCreated||t.actionContext.workflowPhase!==Io.Complete)}static isTrialRequestedEvent(t){if(t.type!==Pt.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==vn.SignUp||n!==Gu.TrialRequested||t.actionContext.workflowPhase!==Io.Complete)}static isTrialCustomerEvent(t){if(t.type!==Pt.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==vn.SignUp||n!==Gu.DeadEnd||!("trialStatus"in t.data)||t.data.trialStatus!=="not-required")}static isTrialExistingEvent(t){if(t.type!==Pt.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==vn.SignUp||n!==Gu.DeadEnd||!("trialStatus"in t.data)||t.data.trialStatus!=="active")}}const aJ="cv:profileId";class t8e{get name(){return E1.ProfileApiClient}constructor(t){this.options=t,this.storage=_3.getStorage(),this.masterId="",this.bindFunctions(),this.options.attributedProfileId&&(this.profileRequest=this.getSetAttributedProfileId())}bindFunctions(){this.createOrUpdate=this.createOrUpdate.bind(this),this.getProfileId=this.getProfileId.bind(this)}getSetAttributedProfileId(){return this.storage.setItem(this.getProfileIdKey(this.masterId),this.options.attributedProfileId),Promise.resolve(this.options.attributedProfileId)}async createOrUpdate(t,r){var n,i;try{const a=this.buildRequest(t,r);this.profileRequest=this.fetchProfileId(a),await this.profileRequest}catch(a){(i=(n=this.options).onError)==null||i.call(n,a)}}async fetchProfileId(t){const r={"Content-Type":"application/json"},n=ay.safeUrlConcat(this.options.hostUrl||window.location.origin,this.options.path||"/v1/profiles"),i=await fetch(n,{method:"POST",headers:r,mode:"cors",body:JSON.stringify(t)});return await this.handleResponse(i)}async getProfileId(){try{return await this.profileRequest}catch{return}}getStoredProfileId(){return this.storage.getItem(this.getProfileIdKey(this.masterId))}getProfileIdKey(t=""){return t?`${aJ}:${t}`:aJ}buildRequest(t,r={}){const n={...r,countryCode:t==null?void 0:t.countryCode,crmId:t==null?void 0:t.crmId,email:t==null?void 0:t.email,firstName:t==null?void 0:t.firstName,lastName:t==null?void 0:t.lastName,masterId:t==null?void 0:t.masterId,phone:t==null?void 0:t.phone},i={};for(const o in n){let l=n[o];l!==void 0&&l!==null&&(l=l.toString().trim(),l&&(i[o]=l))}return t.masterId&&(this.masterId=t.masterId),{id:this.getStoredProfileId(),instanceRegion:this.options.instanceRegion,properties:i}}async handleResponse(t){if(!t.ok)throw new Error(`ProfileApiClient failed to log properties. Status: ${t.status} ${t.statusText}`);const r=await t.json();return this.masterId&&this.storage.removeItem(this.getProfileIdKey()),this.storage.setItem(this.getProfileIdKey(this.masterId),r.id),r.id}}const an={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)/},Wu="Unknown";function dd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Wu),{browser:e,version:i}}function Ac(e,t,r){if(!t)return{os:e,version:Wu};const n=t.exec(r),i=n&&n.length?n[0].trim():Wu;return{os:e,version:i}}function r8e(e,t){const r={os:e};return an.win2000.test(t)&&(r.version="2000"),an.winXP.test(t)&&(r.version="XP"),an.winVista.test(t)&&(r.version="Vista"),an.win7.test(t)&&(r.version="7"),an.win8.test(t)&&(r.version="8"),an.win81.test(t)&&(r.version="8.1"),an.win10.test(t)&&(r.version="10"),r.version||(r.version=Wu),r}const bp={getDeviceType(){const e=window.navigator.userAgent;return an.mobileDevice.test(e)?an.iphone.test(e)?"iPhone":an.ipad.test(e)?"iPad":an.android.test(e)?"Android":an.blackberry.test(e)?"Blackberry":an.windowsPhone.test(e)?"Windows Phone":Wu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return an.android.test(e)?Ac("Android",an.androidVersion,e):an.iphone.test(e)||an.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Ac("iOS",an.iosVersion,e):an.linux.test(e)?Ac("Linux",null,e):an.unix.test(e)?Ac("Unix",null,e):an.mac.test(e)?Ac("Macintosh",an.osxVersion,e):an.windows.test(e)?r8e("Windows",e):an.blackberry.test(e)?Ac("BlackBerry",an.blackberryVersion,e):an.windowsPhone.test(e)?Ac("Windows Phone",an.windowsPhoneVersion,e):{os:Wu,version:Wu}},getBrowser(){const e=window.navigator.userAgent;return an.chrome.test(e)?dd("Chrome",an.generalVersion,e):an.firefox.test(e)?dd("Firefox",an.generalVersion,e):an.safari.test(e)?dd("Safari",an.generalVersion,e):an.ie.test(e)?dd("Internet Explorer",an.ieVersion,e):an.edge.test(e)?dd("Edge",an.edgeVersion,e):an.opera.test(e)?dd("Opera",an.operaVersion,e):{browser:Wu,version:Wu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return bp.isTouchScreen()?an.tablet.test(navigator.userAgent)||an.mobile.test(navigator.userAgent):!1},isAndroid(){return bp.getOperatingSystem().os==="Android"},isIOS(){return bp.getOperatingSystem().os==="iOS"}},uy=class uy extends Mo{enrich(t,r){}isType(t){return t===uy.type}};uy.type="BaseAnalyticsEnricher";let RI=uy;class n8e extends RI{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 Oo.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Un.GetCurrentReferrer(),requestUrl:Un.GetCurrentUrl()}}getClientInfo(){const t=bp.getOperatingSystem(),r=bp.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 i8e extends Sf{}class a8e extends i8e{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(Ad.Outlet,t)}subscribe(t){const r=t,n=i=>{Ai.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};cn(r.listenTo)?r.listenTo(this.getChannel(),Ad.Outlet,n):this.listenTo(this.getChannel(),Ad.Outlet,n)}}const Li={passthrough(e){return e}},br={allow:()=>!0,restrict:()=>!1},o8e={getShareData(e){var l,s,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(l=e.video)!=null&&l.id&&(o.video={id:e.video.id}),(s=e.clip)!=null&&s.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}},_d={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===vn.Video)return _d.formatVideoUpload(e,t);if(r===vn.Resource||r===vn.Subtitle)return _d.formatResourceUpload(e);if(r===vn.Banner||r===vn.Thumbnail||r===vn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Io.Start)return _d.getStartVideoUploadData(e);if(r===Io.Discard)return _d.getDiscardVideoUploadData(e);if(r===Io.Complete)return _d.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,l={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(l.progress=r.progress.toFixed(2)),o&&(l.uploadId=o.uploadId),l};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 Vc.isObject(e.metadata)&&(n.type=e.metadata.type),n}},s8e={[Pt.Navigate]:br.restrict,[Pt.Click]:br.allow,[Pt.Search]:br.allow,[Pt.InstantSearch]:br.allow,[Pt.Play]:br.allow,[Pt.Stream]:br.allow,[Pt.WebPlayerStream]:br.allow,[Pt.StreamProgress]:br.allow,[Pt.Rename]:br.allow,[Pt.Move]:br.allow,[Pt.Create]:br.allow,[Pt.Delete]:br.allow,[Pt.Associate]:br.allow,[Pt.Dissociate]:br.allow,[Pt.Filter]:br.allow,[Pt.Sort]:br.allow,[Pt.Approve]:br.allow,[Pt.Reject]:br.allow,[Pt.Disable]:br.allow,[Pt.Upload]:br.allow,[Pt.Download]:br.allow,[Pt.SetAccess]:br.allow,[Pt.AddToLocalCache]:br.restrict,[Pt.Share]:br.allow,[Pt.Unshare]:br.allow,[Pt.Edit]:br.allow,[Pt.Suggest]:br.allow,[Pt.Favourite]:br.allow,[Pt.WorkspaceAdd]:br.allow,[Pt.ResolveWarning]:br.allow,[Pt.DismissWarning]:br.allow,[Pt.EditAssoc]:br.allow,[Pt.Follow]:br.allow,[Pt.Print]:br.allow,[Pt.Copy]:br.allow,[Pt.Activate]:br.allow,[Pt.VerifyEmail]:br.allow,[Pt.ChangePassword]:br.allow,[Pt.Export]:br.allow,[Pt.SendEmail]:br.allow,[Pt.Publish]:br.allow,[Pt.Submit]:br.allow,[Pt.Complete]:br.allow,[Pt.Archive]:br.allow,[Pt.Promote]:br.allow,[Pt.Demote]:br.allow,[Pt.BulkAction]:br.allow,[Pt.Remove]:br.allow,[Pt.Dismiss]:br.allow,[Pt.Open]:br.allow,[Pt.Hide]:br.allow,[Pt.PageView]:br.allow,[Pt.Select]:br.allow,[Pt.SwitchCustomer]:br.allow,[Pt.Focus]:br.allow,[Pt.Blur]:br.allow,[Pt.Hover]:br.allow,[Pt.Unhover]:br.allow},u8e={[Pt.Search]:Li.passthrough,[Pt.InstantSearch]:Li.passthrough,[Pt.Play]:Li.passthrough,[Pt.Stream]:Li.passthrough,[Pt.StreamProgress]:Li.passthrough,[Pt.Click]:Li.passthrough,[Pt.Filter]:Li.passthrough,[Pt.Sort]:Li.passthrough,[Pt.SetAccess]:Li.passthrough,[Pt.Approve]:Li.passthrough,[Pt.Reject]:Li.passthrough,[Pt.Create]:Li.passthrough,[Pt.Delete]:Li.passthrough,[Pt.Rename]:Li.passthrough,[Pt.Move]:Li.passthrough,[Pt.Edit]:Li.passthrough,[Pt.Share]:o8e.getShareData,[Pt.Disable]:Li.passthrough,[Pt.Suggest]:Li.passthrough,[Pt.Upload]:_d.getUploadData,[Pt.ResolveWarning]:Li.passthrough,[Pt.DismissWarning]:Li.passthrough,[Pt.Follow]:Li.passthrough,[Pt.Print]:Li.passthrough,[Pt.Copy]:Li.passthrough},oJ={[Pt.Search]:()=>"search",[Pt.InstantSearch]:()=>"search",[Pt.Filter]:()=>"filter",[Pt.Stream]:()=>vn.Video},sJ={user:"target_user",product:"target_product"},l8e={[Pt.StreamProgress]:!0,[Pt.WebPlayerStream]:!0},uJ={shouldLog(e){return!!s8e[e.type](e)},formatData(e){const t=u8e[e.type],r=Vc.isFunction(t)?t(e.data,e):e.data;if(l8e[e.type])return r;let n=e.actionContext.entity;return Vc.isFunction(oJ[e.type])&&(n=oJ[e.type](e)),sJ[n]&&(n=sJ[n]),{[n]:r}}},sse={customer(e,t,r,n){return{url:ga.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:_i.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},c8e="staff";async function f8e(e){try{return await ia(e.store,si.accessPolicy())}catch{return null}}const use={async getUser(e){const t=await ia(e.store,si.currentUser());if(!t.isAuthenticated)return null;const r=ia(e.store,sse.customer(t.customerId)),n=ia(e.store,si.user(t.id)),i=f8e(e);return use.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const i=zs.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===yi.Staff?c8e:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},d8e={logError(e,...t){var r;Ai.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&Ai.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}},h8e={shouldRegisterGoogleAnalyticsClient(e,t){return!(!(e!=null&&e.googleAnalyticsProjectId)||Moe.isBot()||!t||t[Ws.StudentExperience])}},p8e={isRequired:!1,hasConsent:!1,consentKey:"analytics"};async function v8e(e,t){const[r,n,i]=await Promise.all([ia(e.store,si.currentUser()),ia(e.store,Ks.config()),ia(e.store,si.permissions())]);let a=null;r.isAuthenticated&&(a=await ia(e.store,sse.customer(r.customerId)));const o=ia(e.store,Ks.version()),l=new pMe({user:r,config:n}),s=g8e({instanceRegion:n.instanceRegion,currentUser:r,customer:a});ro.registerSingleton(l),ro.registerSingleton(s),l.registerTransport(a8e),l.registerClient(ZMe);const c=await o;l.registerClient(QMe,{productName:"streamablelearning.web",productVersion:c,regionName:n.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>use.getUser(e),shouldLog:uJ.shouldLog,formatData:uJ.formatData,logError:d8e.logError,logUtmParameters:!0,logAttributionData:!0,getProfileId:s.getProfileId}),l.registerEnricher(n8e,{productName:"Streamable Learning",productVersion:c}),h8e.shouldRegisterGoogleAnalyticsClient(n,i)&&l.registerClient(wa,{projectId:n.googleAnalyticsProjectId,logUtmParameters:!0,logAttributionData:!0,consent:p8e}),t(e)}function g8e(e){const{instanceRegion:t,currentUser:r,customer:n}=e,i=new t8e({path:"/api/profile/v1/profiles",instanceRegion:t});let a={};return e.currentUser.isAuthenticated&&n&&(a={countryCode:r.countryCode,crmId:n.crmId,email:r.email,firstName:r.givenName,lastName:r.familyName,masterId:r.id}),i.createOrUpdate(a),i}async function m8e(e,t){try{const r=await ia(e.store,Ks.config());yI.initialize({product:xo.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const lJ={locale(){return{url:"/api/locale",key:"locale",bootstrapName:Bc.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:Bc.PHRASES}}};async function y8e(e,t){let r;try{r=ia(e.store,lJ.phrases());const n=ia(e.store,lJ.locale());Er.setConfig({locale:await n,phrases:await r}),Xoe.setProduct("Streamable Learning")}catch(n){console.error(n)}finally{t(e)}}const _8e={setLocalPermissions(e,t){e.dispatch({type:k1.UPDATE,payload:{viewModelKey:D1.LOCAL_PERMISSIONS,dataOrKey:t}})}};async function S8e(e,t){try{const r=await ia(e.store,si.currentUser()),n=E8e(r);_8e.setLocalPermissions(e.store,n)}catch(r){console.error(r)}finally{t(e)}}function E8e(e){const t=e==null?void 0:e.isAuthenticated;return{[eo.ManagePublicPresentation]:!t,[eo.ManageDiscoverPreferences]:t,[eo.ViewPlaylistsLanding]:!t,[eo.ViewMyVideosLanding]:!t,[eo.ViewMyFavouritesLanding]:!t,[eo.ViewWatchHistoryLanding]:!t,[eo.WatchVideos]:t,[eo.UseVideoActions]:t,[eo.UseSeriesActions]:t,[eo.ViewNotifications]:t,[eo.ViewTrendingTopics]:t,[eo.FollowComingSoonTopics]:t,[eo.ViewVideoResourceItems]:t,[eo.ViewMySharesLanding]:t}}var Nc=(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))(Nc||{});const w8e={type:Nc.Unknown,message:"",code:0},b8e={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 C8e extends Sf{constructor(t){super(t),Ip.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 iy.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=_i.GET);const a=tt.defaults(i,{forceHttps:!1}),o={url:t,method:n,type:n};r&&(o.data=n===_i.POST||n===_i.PUT?JSON.stringify(r):r),a.forceHttps&&(o.url=this.makeHttps(o.url)),a.traditional&&(o.traditional=a.traditional);const l=Ip.ajax(o);return tt.keys(this.successMiddleware).length&&l.done(tt.values(this.successMiddleware)),tt.keys(this.errorMiddleware).length&&l.fail(tt.values(this.errorMiddleware)),l}create(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,_i.POST).done((l,s,c)=>i.trigger(a,l,s,c)).fail((l,s,c)=>i.trigger(o,l,s,c))}read(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,_i.GET).done((o,l,s)=>{n.trigger(i,o,l,s)}).fail((o,l,s)=>{n.trigger(a,o,l,s)})}update(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,_i.PUT).done((l,s,c)=>i.trigger(a,l,s,c)).fail((l,s,c)=>i.trigger(o,l,s,c))}delete(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,_i.DELETE).done((o,l,s)=>n.trigger(i,o,l,s)).fail((o,l,s)=>n.trigger(a,o,l,s))}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=w8e;switch(n.code=t.status,n.message=b8e.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Nc.BadRequest;break;case 401:n.type=Nc.Unauthorized;break;case 403:n.type=Nc.Forbidden;break;case 404:n.type=Nc.NotFound;break;case 500:n.type=Nc.InternalServer;break}return n}}function T8e(e,t){ro.registerSingleton(new C8e({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}class A8e extends Mo{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return ny.Fifo}removeCacheKey(t){this.cachedkeys=$O(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new Rn("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=Bre(this.cachedkeys,this.cachedkeys);let a=[];Ua(t,o=>{i[o]&&a.push(o);const l=new RegExp(o,"i"),s=Qc(i,c=>l.test(c));a.push(...s)}),a.length&&(a=Op(a),Ua(a,o=>{delete this.cache[o],cn(r)&&r(o)}),this.cachedkeys=$O(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:to.INVALIDATE,keys:t})}}function R8e(e,t){ro.registerInstance(A8e,{size:100}),t(e)}function x8e(e,t){jc.setPublicFormatSettings(()=>[]),t(e)}const gk=new Z_e({region:"#app",layoutService:new X_e({})});gk.addInitializationStep(x8e).addInitializationStep(L5e).addInitializationStep(R8e).addInitializationStep(T8e).addInitializationStep(dMe).addInitializationStep(y8e).addInitializationStep(S8e).addInitializationStep(DNe).addInitializationStep(v8e).addInitializationStep(ETe).addInitializationStep(fTe).addInitializationStep(m8e);gk.addStartUpStep(N5e);gk.start();export{Ks as $,dk as A,Mo as B,yAe as C,Oo as D,fu as E,L1 as F,Uae as G,xie as H,Ym as I,iDe as J,sOe as K,xke as L,Ti as M,pG as N,oa as O,Ws as P,JEe as Q,Xt as R,sie as S,bn as T,vk as U,die as V,Tr as W,sr as X,pu as Y,r2e as Z,D1 as _,lp as a,mAe as a$,fO as a0,vr as a1,fie as a2,O2e as a3,P8e as a4,_i as a5,ga as a6,Tf as a7,d8e as a8,IZ as a9,_De as aA,Eke as aB,k8e as aC,sse as aD,si as aE,x2e as aF,xo as aG,Fae as aH,qr as aI,y3 as aJ,Io as aK,Un as aL,Ku as aM,Zoe as aN,Tn as aO,fRe as aP,sn as aQ,$ie as aR,BAe as aS,Lp as aT,Dp as aU,x3 as aV,Ike as aW,Wl as aX,v4e as aY,d2e as aZ,KY as a_,Xg as aa,wo as ab,pr as ac,bie as ad,$d as ae,Gc as af,jl as ag,Ln as ah,ge as ai,Xr as aj,P2e as ak,Coe as al,uZ as am,lZ as an,Poe as ao,zs as ap,I2e as aq,D2e as ar,Ai as as,yi as at,Soe as au,Wxe as av,Roe as aw,X3 as ax,Aoe as ay,wDe as az,INe as b,k2e as b$,R2e as b0,E1 as b1,U8e as b2,Dl as b3,$ae as b4,qa as b5,Gu as b6,zc as b7,qie as b8,Fu as b9,pv as bA,lRe as bB,_v as bC,oRe as bD,Wc as bE,sRe as bF,Lc as bG,Ll as bH,tI as bI,xc as bJ,yI as bK,Y3 as bL,b1 as bM,pAe as bN,sAe as bO,dQ as bP,Rn as bQ,Q3 as bR,vAe as bS,rAe as bT,Yoe as bU,KTe as bV,Ane as bW,ANe as bX,v3 as bY,bp as bZ,JTe as b_,gAe as ba,Ul as bb,Vm as bc,$l as bd,V8e as be,ba as bf,bo as bg,BY as bh,bCe as bi,z2e as bj,Co as bk,aLe as bl,q8e as bm,UO as bn,E3 as bo,mv as bp,hh as bq,dAe as br,lu as bs,cO as bt,Rc as bu,Toe as bv,K3 as bw,Bke as bx,Hke as by,eo as bz,Er as c,yfe as c$,jp as c0,ju as c1,Cn as c2,Oke as c3,Md as c4,Ni as c5,hNe as c6,j8e as c7,F8e as c8,$8e as c9,Nne as cA,Rbe as cB,MAe as cC,t2e as cD,GAe as cE,KAe as cF,s1 as cG,Zc as cH,ei as cI,WO as cJ,Zm as cK,Pp as cL,Tie as cM,eJ as cN,QMe as cO,uJ as cP,cAe as cQ,eI as cR,T3 as cS,oNe as cT,lAe as cU,Bue as cV,spe as cW,$ue as cX,Sy as cY,Vce as cZ,vfe as c_,xbe as ca,Mwe as cb,dh as cc,Fwe as cd,Fne as ce,Obe as cf,mbe as cg,vv as ch,fh as ci,Tbe as cj,u3 as ck,v1 as cl,Kwe as cm,f3 as cn,qne as co,Lne as cp,abe as cq,Ine as cr,Zwe as cs,Pwe as ct,$ne as cu,Uwe as cv,gv as cw,Pbe as cx,Ebe as cy,Ibe as cz,Yo as d,_ee as d0,rpe as d1,upe as d2,ele as d3,qle as d4,nP as d5,Ode as d6,Nde as d7,BO as d8,fAe as d9,_Ae as da,aDe as db,Ro as dc,XP as dd,Zne as de,rie as df,dO as dg,bd as dh,To as di,yp as dj,Ioe as dk,Ir as dl,QDe as dm,_1 as dn,uOe as dp,I8e as dq,hAe as dr,uAe as ds,D8e as dt,ay as du,Fl as e,Ev as f,Bn as g,aa as h,vn as i,j,Pt as k,Jo as l,Fd as m,Vn as n,Ji as o,Tv as p,Gs as q,Av as r,FCe as s,uie as t,_oe as u,T5e as v,Xoe as w,mTe as x,zO as y,qu as z};
220
+ //# sourceMappingURL=app-DiXzpOyg.js.map