@clickview/exchange 0.46.0 → 0.47.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 (379) 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/B57G3PZD.chunk.css +1 -0
  62. package/dist/css/BBV1d-ZI.chunk.css +1 -0
  63. package/dist/css/BDOTXlob.chunk.css +1 -0
  64. package/dist/css/BIeUeS4h.chunk.css +1 -0
  65. package/dist/css/BPdg7JW4.chunk.css +1 -0
  66. package/dist/css/BiRz4h1c.chunk.css +1 -0
  67. package/dist/css/Bt3pBBLn.chunk.css +1 -0
  68. package/dist/css/Bz8F9buU.chunk.css +1 -0
  69. package/dist/css/C2R4QydJ.chunk.css +1 -0
  70. package/dist/css/C7XoyEPr.chunk.css +1 -0
  71. package/dist/css/CAdv9Saa.chunk.css +1 -0
  72. package/dist/css/CC5F5C8O.chunk.css +1 -0
  73. package/dist/css/CCsCPLDG.chunk.css +1 -0
  74. package/dist/css/CD1qrI1T.chunk.css +1 -0
  75. package/dist/css/CDiJwtuL.chunk.css +1 -0
  76. package/dist/css/CM-cscAF.chunk.css +1 -0
  77. package/dist/css/CY0yvCW4.chunk.css +1 -0
  78. package/dist/css/Ci6HCTb5.chunk.css +1 -0
  79. package/dist/css/CifDVjr-.chunk.css +1 -0
  80. package/dist/css/CphXVlxY.chunk.css +1 -0
  81. package/dist/css/CrSv-tYo.chunk.css +1 -0
  82. package/dist/css/DD13UQOa.chunk.css +1 -0
  83. package/dist/css/DGyCCqtO.chunk.css +1 -0
  84. package/dist/css/DI4l_5OJ.chunk.css +1 -0
  85. package/dist/css/DL_jCfRl.chunk.css +1 -0
  86. package/dist/css/DRlDmMhN.chunk.css +1 -0
  87. package/dist/css/Dkh6sNpi.chunk.css +1 -0
  88. package/dist/css/DlOtoSz0.chunk.css +1 -0
  89. package/dist/css/DnhNnDZN.chunk.css +1 -0
  90. package/dist/css/EnQ3abug.chunk.css +1 -0
  91. package/dist/css/O777zV0C.chunk.css +1 -0
  92. package/dist/css/fs02hBfZ.chunk.css +1 -0
  93. package/dist/css/jbMisi9r.chunk.css +1 -0
  94. package/dist/css/w4TLT4f5.chunk.css +1 -0
  95. package/dist/en.json +1 -0
  96. package/dist/scripts/B-5ydzuM.chunk.js +2 -0
  97. package/dist/scripts/B-5ydzuM.chunk.js.map +1 -0
  98. package/dist/scripts/B3-JqlcP.chunk.js +2 -0
  99. package/dist/scripts/B3-JqlcP.chunk.js.map +1 -0
  100. package/dist/scripts/B668bf5B.chunk.js +2 -0
  101. package/dist/scripts/B668bf5B.chunk.js.map +1 -0
  102. package/dist/scripts/B7u1qZUC.chunk.js +2 -0
  103. package/dist/scripts/B7u1qZUC.chunk.js.map +1 -0
  104. package/dist/scripts/B8wzW7Yj.chunk.js +2 -0
  105. package/dist/scripts/B8wzW7Yj.chunk.js.map +1 -0
  106. package/dist/scripts/B9rPD6n8.chunk.js +2 -0
  107. package/dist/scripts/B9rPD6n8.chunk.js.map +1 -0
  108. package/dist/scripts/BF36nt4r.chunk.js +2 -0
  109. package/dist/scripts/BF36nt4r.chunk.js.map +1 -0
  110. package/dist/scripts/BGnfLy0q.chunk.js +15 -0
  111. package/dist/scripts/BGnfLy0q.chunk.js.map +1 -0
  112. package/dist/scripts/BNzrcPxP.chunk.js +2 -0
  113. package/dist/scripts/BNzrcPxP.chunk.js.map +1 -0
  114. package/dist/scripts/BO4-fm-e.chunk.js +2 -0
  115. package/dist/scripts/BO4-fm-e.chunk.js.map +1 -0
  116. package/dist/scripts/BPSvvoqU.chunk.js +362 -0
  117. package/dist/scripts/BPSvvoqU.chunk.js.map +1 -0
  118. package/dist/scripts/BPZ_jyzP.chunk.js +2 -0
  119. package/dist/scripts/BPZ_jyzP.chunk.js.map +1 -0
  120. package/dist/scripts/BRAYzUlB.chunk.js +2 -0
  121. package/dist/scripts/BRAYzUlB.chunk.js.map +1 -0
  122. package/dist/scripts/BRJXjLDa.chunk.js +2 -0
  123. package/dist/scripts/BRJXjLDa.chunk.js.map +1 -0
  124. package/dist/scripts/BVcQUV7q.chunk.js +2 -0
  125. package/dist/scripts/BVcQUV7q.chunk.js.map +1 -0
  126. package/dist/scripts/B_bz6ygY.chunk.js +2 -0
  127. package/dist/scripts/B_bz6ygY.chunk.js.map +1 -0
  128. package/dist/scripts/Be9uUZcG.chunk.js +2 -0
  129. package/dist/scripts/Be9uUZcG.chunk.js.map +1 -0
  130. package/dist/scripts/BgaIiZcl.chunk.js +2 -0
  131. package/dist/scripts/BgaIiZcl.chunk.js.map +1 -0
  132. package/dist/scripts/BietNZU2.chunk.js +2 -0
  133. package/dist/scripts/BietNZU2.chunk.js.map +1 -0
  134. package/dist/scripts/BkyZfdvv.chunk.js +3 -0
  135. package/dist/scripts/BkyZfdvv.chunk.js.map +1 -0
  136. package/dist/scripts/BlDVEZsX.chunk.js +2 -0
  137. package/dist/scripts/BlDVEZsX.chunk.js.map +1 -0
  138. package/dist/scripts/Bm-ruqha.chunk.js +2 -0
  139. package/dist/scripts/Bm-ruqha.chunk.js.map +1 -0
  140. package/dist/scripts/Bo-XjbmT.chunk.js +2 -0
  141. package/dist/scripts/Bo-XjbmT.chunk.js.map +1 -0
  142. package/dist/scripts/Bpa_PvUX.chunk.js +2 -0
  143. package/dist/scripts/Bpa_PvUX.chunk.js.map +1 -0
  144. package/dist/scripts/Bu8WHAmF.chunk.js +2 -0
  145. package/dist/scripts/Bu8WHAmF.chunk.js.map +1 -0
  146. package/dist/scripts/C-jOhSzY.chunk.js +2 -0
  147. package/dist/scripts/C-jOhSzY.chunk.js.map +1 -0
  148. package/dist/scripts/C1_c6qh4.chunk.js +2 -0
  149. package/dist/scripts/C1_c6qh4.chunk.js.map +1 -0
  150. package/dist/scripts/C7yAlGG9.chunk.js +2 -0
  151. package/dist/scripts/C7yAlGG9.chunk.js.map +1 -0
  152. package/dist/scripts/CDFiJlb4.chunk.js +2 -0
  153. package/dist/scripts/CDFiJlb4.chunk.js.map +1 -0
  154. package/dist/scripts/CHNNWZoa.chunk.js +2 -0
  155. package/dist/scripts/CHNNWZoa.chunk.js.map +1 -0
  156. package/dist/scripts/CI47nh5L.chunk.js +2 -0
  157. package/dist/scripts/CI47nh5L.chunk.js.map +1 -0
  158. package/dist/scripts/CIkmhMNR.chunk.js +2 -0
  159. package/dist/scripts/CIkmhMNR.chunk.js.map +1 -0
  160. package/dist/scripts/CJ3oIQlG.chunk.js +2 -0
  161. package/dist/scripts/CJ3oIQlG.chunk.js.map +1 -0
  162. package/dist/scripts/CPApz2KV.chunk.js +2 -0
  163. package/dist/scripts/CPApz2KV.chunk.js.map +1 -0
  164. package/dist/scripts/CRO8NV-g.chunk.js +2 -0
  165. package/dist/scripts/CRO8NV-g.chunk.js.map +1 -0
  166. package/dist/scripts/CUSpSpZ7.chunk.js +8 -0
  167. package/dist/scripts/CUSpSpZ7.chunk.js.map +1 -0
  168. package/dist/scripts/CWIqj_F3.chunk.js +2 -0
  169. package/dist/scripts/CWIqj_F3.chunk.js.map +1 -0
  170. package/dist/scripts/CY7w74ke.chunk.js +50 -0
  171. package/dist/scripts/CY7w74ke.chunk.js.map +1 -0
  172. package/dist/scripts/CYrgiYqL.chunk.js +2 -0
  173. package/dist/scripts/CYrgiYqL.chunk.js.map +1 -0
  174. package/dist/scripts/C_RBC04Q.chunk.js +2 -0
  175. package/dist/scripts/C_RBC04Q.chunk.js.map +1 -0
  176. package/dist/scripts/CePx6UH8.chunk.js +2 -0
  177. package/dist/scripts/CePx6UH8.chunk.js.map +1 -0
  178. package/dist/scripts/Cg5KzJdC.chunk.js +2 -0
  179. package/dist/scripts/Cg5KzJdC.chunk.js.map +1 -0
  180. package/dist/scripts/ChTv7GMQ.chunk.js +2 -0
  181. package/dist/scripts/ChTv7GMQ.chunk.js.map +1 -0
  182. package/dist/scripts/ChiWcyj1.chunk.js +2 -0
  183. package/dist/scripts/ChiWcyj1.chunk.js.map +1 -0
  184. package/dist/scripts/Ci-X7TGl.chunk.js +5 -0
  185. package/dist/scripts/Ci-X7TGl.chunk.js.map +1 -0
  186. package/dist/scripts/Ckz2DJ_U.chunk.js +2 -0
  187. package/dist/scripts/Ckz2DJ_U.chunk.js.map +1 -0
  188. package/dist/scripts/Cmu1J2M7.chunk.js +262 -0
  189. package/dist/scripts/Cmu1J2M7.chunk.js.map +1 -0
  190. package/dist/scripts/CykxXZkx.chunk.js +2 -0
  191. package/dist/scripts/CykxXZkx.chunk.js.map +1 -0
  192. package/dist/scripts/D-ZSOo7Q.chunk.js +2 -0
  193. package/dist/scripts/D-ZSOo7Q.chunk.js.map +1 -0
  194. package/dist/scripts/D-likyuC.chunk.js +2 -0
  195. package/dist/scripts/D-likyuC.chunk.js.map +1 -0
  196. package/dist/scripts/D1pufNca.chunk.js +2 -0
  197. package/dist/scripts/D1pufNca.chunk.js.map +1 -0
  198. package/dist/scripts/D4CIz80G.chunk.js +2 -0
  199. package/dist/scripts/D4CIz80G.chunk.js.map +1 -0
  200. package/dist/scripts/D7VkMmnb.chunk.js +2 -0
  201. package/dist/scripts/D7VkMmnb.chunk.js.map +1 -0
  202. package/dist/scripts/D95rI9HN.chunk.js +2 -0
  203. package/dist/scripts/D95rI9HN.chunk.js.map +1 -0
  204. package/dist/scripts/DJpMcGX1.chunk.js +2 -0
  205. package/dist/scripts/DJpMcGX1.chunk.js.map +1 -0
  206. package/dist/scripts/DMCzbHMl.chunk.js +2 -0
  207. package/dist/scripts/DMCzbHMl.chunk.js.map +1 -0
  208. package/dist/scripts/DOs-gjWY.chunk.js +2 -0
  209. package/dist/scripts/DOs-gjWY.chunk.js.map +1 -0
  210. package/dist/scripts/DPtwsIzh.chunk.js +2 -0
  211. package/dist/scripts/DPtwsIzh.chunk.js.map +1 -0
  212. package/dist/scripts/DTpRellp.chunk.js +2 -0
  213. package/dist/scripts/DTpRellp.chunk.js.map +1 -0
  214. package/dist/scripts/DTtpo7W0.chunk.js +2 -0
  215. package/dist/scripts/DTtpo7W0.chunk.js.map +1 -0
  216. package/dist/scripts/DXjf6BeH.chunk.js +2 -0
  217. package/dist/scripts/DXjf6BeH.chunk.js.map +1 -0
  218. package/dist/scripts/DYgHg3xX.chunk.js +2 -0
  219. package/dist/scripts/DYgHg3xX.chunk.js.map +1 -0
  220. package/dist/scripts/DZpf3JyV.chunk.js +2 -0
  221. package/dist/scripts/DZpf3JyV.chunk.js.map +1 -0
  222. package/dist/scripts/D_mIsJh2.chunk.js +2 -0
  223. package/dist/scripts/D_mIsJh2.chunk.js.map +1 -0
  224. package/dist/scripts/DeT4vB6l.chunk.js +2 -0
  225. package/dist/scripts/DeT4vB6l.chunk.js.map +1 -0
  226. package/dist/scripts/DhC-T3Lw.chunk.js +2 -0
  227. package/dist/scripts/DhC-T3Lw.chunk.js.map +1 -0
  228. package/dist/scripts/DhZaCYmC.chunk.js +2 -0
  229. package/dist/scripts/DhZaCYmC.chunk.js.map +1 -0
  230. package/dist/scripts/DmWfOnj1.chunk.js +2 -0
  231. package/dist/scripts/DmWfOnj1.chunk.js.map +1 -0
  232. package/dist/scripts/DqCESxCM.chunk.js +2 -0
  233. package/dist/scripts/DqCESxCM.chunk.js.map +1 -0
  234. package/dist/scripts/DvNnjPg5.chunk.js +2 -0
  235. package/dist/scripts/DvNnjPg5.chunk.js.map +1 -0
  236. package/dist/scripts/DxQMPV5P.chunk.js +2 -0
  237. package/dist/scripts/DxQMPV5P.chunk.js.map +1 -0
  238. package/dist/scripts/DxSRnTZT.chunk.js +2 -0
  239. package/dist/scripts/DxSRnTZT.chunk.js.map +1 -0
  240. package/dist/scripts/FtezGuzd.chunk.js +2 -0
  241. package/dist/scripts/FtezGuzd.chunk.js.map +1 -0
  242. package/dist/scripts/IFRPGDQf.chunk.js +2 -0
  243. package/dist/scripts/IFRPGDQf.chunk.js.map +1 -0
  244. package/dist/scripts/JNMAKyNq.chunk.js +2 -0
  245. package/dist/scripts/JNMAKyNq.chunk.js.map +1 -0
  246. package/dist/scripts/Kj832An8.chunk.js +2 -0
  247. package/dist/scripts/Kj832An8.chunk.js.map +1 -0
  248. package/dist/scripts/MwatUxhm.chunk.js +2 -0
  249. package/dist/scripts/MwatUxhm.chunk.js.map +1 -0
  250. package/dist/scripts/NLYsyNLg.chunk.js +2 -0
  251. package/dist/scripts/NLYsyNLg.chunk.js.map +1 -0
  252. package/dist/scripts/P2J0rmbX.chunk.js +2 -0
  253. package/dist/scripts/P2J0rmbX.chunk.js.map +1 -0
  254. package/dist/scripts/PzQ6JDDL.chunk.js +2 -0
  255. package/dist/scripts/PzQ6JDDL.chunk.js.map +1 -0
  256. package/dist/scripts/QfCSKVqV.chunk.js +2 -0
  257. package/dist/scripts/QfCSKVqV.chunk.js.map +1 -0
  258. package/dist/scripts/QnZLc1Rx.chunk.js +2 -0
  259. package/dist/scripts/QnZLc1Rx.chunk.js.map +1 -0
  260. package/dist/scripts/RJLacO7e.chunk.js +2 -0
  261. package/dist/scripts/RJLacO7e.chunk.js.map +1 -0
  262. package/dist/scripts/SwyafJDN.chunk.js +2 -0
  263. package/dist/scripts/SwyafJDN.chunk.js.map +1 -0
  264. package/dist/scripts/ZJlVW2Ry.chunk.js +2 -0
  265. package/dist/scripts/ZJlVW2Ry.chunk.js.map +1 -0
  266. package/dist/scripts/_sYSSSUN.chunk.js +2 -0
  267. package/dist/scripts/_sYSSSUN.chunk.js.map +1 -0
  268. package/dist/scripts/aYSRXnKS.chunk.js +2 -0
  269. package/dist/scripts/aYSRXnKS.chunk.js.map +1 -0
  270. package/dist/scripts/app-DxIP7Chi.js +203 -0
  271. package/dist/scripts/app-DxIP7Chi.js.map +1 -0
  272. package/dist/scripts/cgmaXINJ.chunk.js +2 -0
  273. package/dist/scripts/cgmaXINJ.chunk.js.map +1 -0
  274. package/dist/scripts/cw5ndfQh.chunk.js +2 -0
  275. package/dist/scripts/cw5ndfQh.chunk.js.map +1 -0
  276. package/dist/scripts/oZTtKho4.chunk.js +2 -0
  277. package/dist/scripts/oZTtKho4.chunk.js.map +1 -0
  278. package/dist/scripts/pkzD5BEm.chunk.js +2 -0
  279. package/dist/scripts/pkzD5BEm.chunk.js.map +1 -0
  280. package/dist/scripts/q-llueA4.chunk.js +2 -0
  281. package/dist/scripts/q-llueA4.chunk.js.map +1 -0
  282. package/dist/scripts/somfQ0OC.chunk.js +2 -0
  283. package/dist/scripts/somfQ0OC.chunk.js.map +1 -0
  284. package/dist/scripts/tcOwjCrz.chunk.js +6 -0
  285. package/dist/scripts/tcOwjCrz.chunk.js.map +1 -0
  286. package/dist/scripts/tjMjOV-C.chunk.js +2 -0
  287. package/dist/scripts/tjMjOV-C.chunk.js.map +1 -0
  288. package/dist/scripts/tzCBjHpZ.chunk.js +2 -0
  289. package/dist/scripts/tzCBjHpZ.chunk.js.map +1 -0
  290. package/dist/scripts/uFv_7m8b.chunk.js +2 -0
  291. package/dist/scripts/uFv_7m8b.chunk.js.map +1 -0
  292. package/dist/scripts/yBXeHdE_.chunk.js +2 -0
  293. package/dist/scripts/yBXeHdE_.chunk.js.map +1 -0
  294. package/package.json +7 -3
  295. package/typings/utils/imports.d.ts +1 -1
  296. package/vite.config.ts +6 -0
  297. package/dist/css/1068-exchange-b5eaf8af44.chunk.css +0 -35
  298. package/dist/css/1127-exchange-0eab318199.chunk.css +0 -40
  299. package/dist/css/1226-exchange-217b44f8b4.chunk.css +0 -57
  300. package/dist/css/137-exchange-2b71022801.chunk.css +0 -25
  301. package/dist/css/1861-exchange-7b60c00935.chunk.css +0 -85
  302. package/dist/css/2494-exchange-02d7a0249c.chunk.css +0 -2
  303. package/dist/css/2538-exchange-4cbfe56ba3.chunk.css +0 -1
  304. package/dist/css/3291-exchange-be9d9f0cdb.chunk.css +0 -11
  305. package/dist/css/3858-exchange-06944bdfa4.chunk.css +0 -1
  306. package/dist/css/4075-exchange-6d2304419c.chunk.css +0 -5
  307. package/dist/css/6298-exchange-78ece5c7c5.chunk.css +0 -37
  308. package/dist/css/6332-exchange-e4754ae27a.chunk.css +0 -1
  309. package/dist/css/6356-exchange-8c5b220bf6.chunk.css +0 -1
  310. package/dist/css/7095-exchange-4cbfe56ba3.chunk.css +0 -1
  311. package/dist/css/7759-exchange-23bb5dd175.chunk.css +0 -8
  312. package/dist/css/8294-exchange-c797263ac2.chunk.css +0 -1
  313. package/dist/css/8589-exchange-fa098d9131.chunk.css +0 -11
  314. package/dist/css/8866-exchange-e80e6c6649.chunk.css +0 -10
  315. package/dist/css/9212-exchange-d71527fc65.chunk.css +0 -1
  316. package/dist/css/9611-exchange-cbf2bb5621.chunk.css +0 -5
  317. package/dist/css/9958-exchange-1387f35e92.chunk.css +0 -14
  318. package/dist/css/lite-exchange-306a09841f.css +0 -15
  319. package/dist/languages/en.json +0 -1
  320. package/dist/scripts/1068-566868eb8c-exchange.chunk.js +0 -1
  321. package/dist/scripts/1127-eb466cd476-exchange.chunk.js +0 -1
  322. package/dist/scripts/1136-4377ddadf4-exchange.chunk.js +0 -2
  323. package/dist/scripts/1136-4377ddadf4-exchange.chunk.js.LICENSE.txt +0 -1
  324. package/dist/scripts/1226-fa8e17bf95-exchange.chunk.js +0 -1
  325. package/dist/scripts/137-6b0ee857ea-exchange.chunk.js +0 -1
  326. package/dist/scripts/1498-9bee5df65b-exchange.chunk.js +0 -1
  327. package/dist/scripts/1861-15bfde264d-exchange.chunk.js +0 -2
  328. package/dist/scripts/1861-15bfde264d-exchange.chunk.js.LICENSE.txt +0 -1
  329. package/dist/scripts/2087-bbc1fd721f-exchange.chunk.js +0 -1
  330. package/dist/scripts/2117-20b23f9bbb-exchange.chunk.js +0 -1
  331. package/dist/scripts/2127-fc4a027054-exchange.chunk.js +0 -1
  332. package/dist/scripts/2490-4016ce9cfb-exchange.chunk.js +0 -1
  333. package/dist/scripts/2494-ecc1094b7f-exchange.chunk.js +0 -2
  334. package/dist/scripts/2494-ecc1094b7f-exchange.chunk.js.LICENSE.txt +0 -1
  335. package/dist/scripts/2507-53a6bf28db-exchange.chunk.js +0 -1
  336. package/dist/scripts/2538-9c7c759517-exchange.chunk.js +0 -2
  337. package/dist/scripts/2538-9c7c759517-exchange.chunk.js.LICENSE.txt +0 -1
  338. package/dist/scripts/2648-4197959943-exchange.chunk.js +0 -1
  339. package/dist/scripts/2877-eee7fe484e-exchange.chunk.js +0 -1
  340. package/dist/scripts/3291-95c549eb51-exchange.chunk.js +0 -1
  341. package/dist/scripts/3858-c74650e41e-exchange.chunk.js +0 -1
  342. package/dist/scripts/4075-6dcb1f61d7-exchange.chunk.js +0 -1
  343. package/dist/scripts/4312-147461771f-exchange.chunk.js +0 -1
  344. package/dist/scripts/442-b8af9f9d0e-exchange.chunk.js +0 -1
  345. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
  346. package/dist/scripts/4558-f27e67b02b-exchange.chunk.js +0 -1
  347. package/dist/scripts/5173-9cde8f68d3-exchange.chunk.js +0 -1
  348. package/dist/scripts/5267-1cc5bd1419-exchange.chunk.js +0 -1
  349. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
  350. package/dist/scripts/6156-e13e898fed-exchange.chunk.js +0 -1
  351. package/dist/scripts/6298-d06394a4a0-exchange.chunk.js +0 -1
  352. package/dist/scripts/6332-147bbcfa6c-exchange.chunk.js +0 -1
  353. package/dist/scripts/6356-dd8ff70cbb-exchange.chunk.js +0 -1
  354. package/dist/scripts/6725-356f308b5e-exchange.chunk.js +0 -1
  355. package/dist/scripts/6831-5b22edf7c6-exchange.chunk.js +0 -1
  356. package/dist/scripts/7095-0846ca984f-exchange.chunk.js +0 -2
  357. package/dist/scripts/7095-0846ca984f-exchange.chunk.js.LICENSE.txt +0 -1
  358. package/dist/scripts/7170-cc2ea0de18-exchange.chunk.js +0 -1
  359. package/dist/scripts/7659-80cd0d2cd7-exchange.chunk.js +0 -1
  360. package/dist/scripts/7759-10fb577e95-exchange.chunk.js +0 -1
  361. package/dist/scripts/7782-36924dba92-exchange.chunk.js +0 -1
  362. package/dist/scripts/7925-978cf5d7fb-exchange.chunk.js +0 -1
  363. package/dist/scripts/851-df1d9024fc-exchange.chunk.js +0 -2
  364. package/dist/scripts/851-df1d9024fc-exchange.chunk.js.LICENSE.txt +0 -1
  365. package/dist/scripts/8536-dc903c2f54-exchange.chunk.js +0 -1
  366. package/dist/scripts/8589-ca7a347624-exchange.chunk.js +0 -1
  367. package/dist/scripts/8619-e5f595a594-exchange.chunk.js +0 -1
  368. package/dist/scripts/8866-3b72551318-exchange.chunk.js +0 -1
  369. package/dist/scripts/8937-727d080ed9-exchange.chunk.js +0 -1
  370. package/dist/scripts/9212-9ac522c425-exchange.chunk.js +0 -1
  371. package/dist/scripts/9414-85c7657c8f-exchange.chunk.js +0 -2
  372. package/dist/scripts/9414-85c7657c8f-exchange.chunk.js.LICENSE.txt +0 -60
  373. package/dist/scripts/9484-bd599e2b9b-exchange.chunk.js +0 -1
  374. package/dist/scripts/9611-8803676bac-exchange.chunk.js +0 -1
  375. package/dist/scripts/9866-2d10067a4e-exchange.chunk.js +0 -1
  376. package/dist/scripts/9958-16a6d9263e-exchange.chunk.js +0 -2
  377. package/dist/scripts/9958-16a6d9263e-exchange.chunk.js.LICENSE.txt +0 -1
  378. package/dist/scripts/bundle-a390abeecb.min.js +0 -2
  379. package/dist/scripts/bundle-a390abeecb.min.js.LICENSE.txt +0 -108
@@ -0,0 +1,203 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css","scripts/CUSpSpZ7.chunk.js","scripts/ChTv7GMQ.chunk.js","scripts/pkzD5BEm.chunk.js","scripts/DTpRellp.chunk.js","scripts/tcOwjCrz.chunk.js","scripts/DxQMPV5P.chunk.js","css/CY0yvCW4.chunk.css","scripts/CJ3oIQlG.chunk.js","scripts/q-llueA4.chunk.js","scripts/B9rPD6n8.chunk.js","scripts/P2J0rmbX.chunk.js","scripts/Be9uUZcG.chunk.js","scripts/DmWfOnj1.chunk.js","css/jbMisi9r.chunk.css","scripts/Ckz2DJ_U.chunk.js","scripts/ZJlVW2Ry.chunk.js","scripts/DXjf6BeH.chunk.js","scripts/_sYSSSUN.chunk.js","scripts/B668bf5B.chunk.js","css/CifDVjr-.chunk.css","scripts/BietNZU2.chunk.js","scripts/uFv_7m8b.chunk.js","scripts/DZpf3JyV.chunk.js","css/C2R4QydJ.chunk.css","scripts/CWIqj_F3.chunk.js","css/BPdg7JW4.chunk.css","scripts/BNzrcPxP.chunk.js","scripts/SwyafJDN.chunk.js","scripts/cgmaXINJ.chunk.js","css/CC5F5C8O.chunk.css","css/CCsCPLDG.chunk.css","scripts/D7VkMmnb.chunk.js","css/C7XoyEPr.chunk.css","css/BIeUeS4h.chunk.css","scripts/DeT4vB6l.chunk.js","scripts/B_bz6ygY.chunk.js","scripts/C7yAlGG9.chunk.js","scripts/DvNnjPg5.chunk.js","css/DL_jCfRl.chunk.css","scripts/BRJXjLDa.chunk.js","scripts/BGnfLy0q.chunk.js","scripts/CI47nh5L.chunk.js","scripts/BlDVEZsX.chunk.js","scripts/C-jOhSzY.chunk.js","css/BiRz4h1c.chunk.css","css/DlOtoSz0.chunk.css","scripts/tzCBjHpZ.chunk.js","scripts/B7u1qZUC.chunk.js","scripts/oZTtKho4.chunk.js","scripts/D-ZSOo7Q.chunk.js","scripts/CY7w74ke.chunk.js","scripts/CHNNWZoa.chunk.js","scripts/Bpa_PvUX.chunk.js","css/CrSv-tYo.chunk.css","scripts/DxSRnTZT.chunk.js","scripts/D-likyuC.chunk.js","scripts/DJpMcGX1.chunk.js","scripts/FtezGuzd.chunk.js","scripts/Ci-X7TGl.chunk.js","css/DI4l_5OJ.chunk.css","scripts/Kj832An8.chunk.js","css/O777zV0C.chunk.css","scripts/NLYsyNLg.chunk.js","scripts/D95rI9HN.chunk.js","scripts/CDFiJlb4.chunk.js","scripts/IFRPGDQf.chunk.js","scripts/BkyZfdvv.chunk.js","scripts/DhZaCYmC.chunk.js","css/DD13UQOa.chunk.css","scripts/QnZLc1Rx.chunk.js","scripts/CYrgiYqL.chunk.js","css/CphXVlxY.chunk.css","scripts/QfCSKVqV.chunk.js","css/CM-cscAF.chunk.css","scripts/BgaIiZcl.chunk.js","scripts/ChiWcyj1.chunk.js","scripts/BO4-fm-e.chunk.js","scripts/BPSvvoqU.chunk.js","scripts/DOs-gjWY.chunk.js","scripts/BVcQUV7q.chunk.js","css/DnhNnDZN.chunk.css","scripts/B-5ydzuM.chunk.js","css/BDOTXlob.chunk.css","scripts/CPApz2KV.chunk.js","scripts/yBXeHdE_.chunk.js","css/EnQ3abug.chunk.css","css/Bz8F9buU.chunk.css","scripts/somfQ0OC.chunk.js","scripts/C_RBC04Q.chunk.js","scripts/JNMAKyNq.chunk.js","scripts/BRAYzUlB.chunk.js","scripts/BPZ_jyzP.chunk.js","scripts/BF36nt4r.chunk.js","scripts/Bu8WHAmF.chunk.js","css/BBV1d-ZI.chunk.css","scripts/DMCzbHMl.chunk.js","scripts/C1_c6qh4.chunk.js","scripts/cw5ndfQh.chunk.js","scripts/Bo-XjbmT.chunk.js","scripts/D_mIsJh2.chunk.js","scripts/DhC-T3Lw.chunk.js","css/Ci6HCTb5.chunk.css","scripts/aYSRXnKS.chunk.js","scripts/Cg5KzJdC.chunk.js","css/w4TLT4f5.chunk.css","scripts/D1pufNca.chunk.js","scripts/B8wzW7Yj.chunk.js","css/B57G3PZD.chunk.css","css/DRlDmMhN.chunk.css","scripts/DPtwsIzh.chunk.js","css/Bt3pBBLn.chunk.css","scripts/PzQ6JDDL.chunk.js","scripts/Bm-ruqha.chunk.js","css/DGyCCqtO.chunk.css","scripts/CykxXZkx.chunk.js","scripts/RJLacO7e.chunk.js","css/fs02hBfZ.chunk.css","scripts/DYgHg3xX.chunk.js","scripts/B3-JqlcP.chunk.js","css/CDiJwtuL.chunk.css","scripts/DqCESxCM.chunk.js","css/Dkh6sNpi.chunk.css","scripts/MwatUxhm.chunk.js","scripts/CRO8NV-g.chunk.js","scripts/CIkmhMNR.chunk.js"])))=>i.map(i=>d[i]);
2
+ var fae=Object.defineProperty;var dae=(e,t,r)=>t in e?fae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var un=(e,t,r)=>dae(e,typeof t!="symbol"?t+"":t,r);function Cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hae(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 G_={exports:{}},GD;function pae(){return GD||(GD=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(G,ee,z){return Object.defineProperty(G,ee,{value:z,enumerable:!0,configurable:!0,writable:!0}),G[ee]}try{d({},"")}catch{d=function(ee,z,ue){return ee[z]=ue}}function h(G,ee,z,ue){var Ee=ee&&ee.prototype instanceof T?ee:T,Oe=Object.create(Ee.prototype),$e=new ne(ue||[]);return Oe._invoke=B(G,z,$e),Oe}r.wrap=h;function p(G,ee,z){try{return{type:"normal",arg:G.call(ee,z)}}catch(ue){return{type:"throw",arg:ue}}}var m="suspendedStart",S="suspendedYield",E="executing",_="completed",w={};function T(){}function C(){}function x(){}var R={};d(R,u,function(){return this});var P=Object.getPrototypeOf,y=P&&P(P(re([])));y&&y!==n&&i.call(y,u)&&(R=y);var N=x.prototype=T.prototype=Object.create(R);C.prototype=x,d(N,"constructor",x),d(x,"constructor",C),C.displayName=d(x,f,"GeneratorFunction");function $(G){["next","throw","return"].forEach(function(ee){d(G,ee,function(z){return this._invoke(ee,z)})})}r.isGeneratorFunction=function(G){var ee=typeof G=="function"&&G.constructor;return ee?ee===C||(ee.displayName||ee.name)==="GeneratorFunction":!1},r.mark=function(G){return Object.setPrototypeOf?Object.setPrototypeOf(G,x):(G.__proto__=x,d(G,f,"GeneratorFunction")),G.prototype=Object.create(N),G},r.awrap=function(G){return{__await:G}};function H(G,ee){function z(Oe,$e,Ve,ae){var O=p(G[Oe],G,$e);if(O.type==="throw")ae(O.arg);else{var I=O.arg,M=I.value;return M&&typeof M=="object"&&i.call(M,"__await")?ee.resolve(M.__await).then(function(k){z("next",k,Ve,ae)},function(k){z("throw",k,Ve,ae)}):ee.resolve(M).then(function(k){I.value=k,Ve(I)},function(k){return z("throw",k,Ve,ae)})}}var ue;function Ee(Oe,$e){function Ve(){return new ee(function(ae,O){z(Oe,$e,ae,O)})}return ue=ue?ue.then(Ve,Ve):Ve()}this._invoke=Ee}$(H.prototype),d(H.prototype,l,function(){return this}),r.AsyncIterator=H,r.async=function(G,ee,z,ue,Ee){Ee===void 0&&(Ee=Promise);var Oe=new H(h(G,ee,z,ue),Ee);return r.isGeneratorFunction(ee)?Oe:Oe.next().then(function($e){return $e.done?$e.value:Oe.next()})};function B(G,ee,z){var ue=m;return function(Oe,$e){if(ue===E)throw new Error("Generator is already running");if(ue===_){if(Oe==="throw")throw $e;return de()}for(z.method=Oe,z.arg=$e;;){var Ve=z.delegate;if(Ve){var ae=W(Ve,z);if(ae){if(ae===w)continue;return ae}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(ue===m)throw ue=_,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);ue=E;var O=p(G,ee,z);if(O.type==="normal"){if(ue=z.done?_:S,O.arg===w)continue;return{value:O.arg,done:z.done}}else O.type==="throw"&&(ue=_,z.method="throw",z.arg=O.arg)}}}function W(G,ee){var z=G.iterator[ee.method];if(z===o){if(ee.delegate=null,ee.method==="throw"){if(G.iterator.return&&(ee.method="return",ee.arg=o,W(G,ee),ee.method==="throw"))return w;ee.method="throw",ee.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var ue=p(z,G.iterator,ee.arg);if(ue.type==="throw")return ee.method="throw",ee.arg=ue.arg,ee.delegate=null,w;var Ee=ue.arg;if(!Ee)return ee.method="throw",ee.arg=new TypeError("iterator result is not an object"),ee.delegate=null,w;if(Ee.done)ee[G.resultName]=Ee.value,ee.next=G.nextLoc,ee.method!=="return"&&(ee.method="next",ee.arg=o);else return Ee;return ee.delegate=null,w}$(N),d(N,f,"Generator"),d(N,u,function(){return this}),d(N,"toString",function(){return"[object Generator]"});function Y(G){var ee={tryLoc:G[0]};1 in G&&(ee.catchLoc=G[1]),2 in G&&(ee.finallyLoc=G[2],ee.afterLoc=G[3]),this.tryEntries.push(ee)}function Q(G){var ee=G.completion||{};ee.type="normal",delete ee.arg,G.completion=ee}function ne(G){this.tryEntries=[{tryLoc:"root"}],G.forEach(Y,this),this.reset(!0)}r.keys=function(G){var ee=[];for(var z in G)ee.push(z);return ee.reverse(),function ue(){for(;ee.length;){var Ee=ee.pop();if(Ee in G)return ue.value=Ee,ue.done=!1,ue}return ue.done=!0,ue}};function re(G){if(G){var ee=G[u];if(ee)return ee.call(G);if(typeof G.next=="function")return G;if(!isNaN(G.length)){var z=-1,ue=function Ee(){for(;++z<G.length;)if(i.call(G,z))return Ee.value=G[z],Ee.done=!1,Ee;return Ee.value=o,Ee.done=!0,Ee};return ue.next=ue}}return{next:de}}r.values=re;function de(){return{value:o,done:!0}}return ne.prototype={constructor:ne,reset:function(G){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(Q),!G)for(var ee in this)ee.charAt(0)==="t"&&i.call(this,ee)&&!isNaN(+ee.slice(1))&&(this[ee]=o)},stop:function(){this.done=!0;var G=this.tryEntries[0],ee=G.completion;if(ee.type==="throw")throw ee.arg;return this.rval},dispatchException:function(G){if(this.done)throw G;var ee=this;function z(ae,O){return Oe.type="throw",Oe.arg=G,ee.next=ae,O&&(ee.method="next",ee.arg=o),!!O}for(var ue=this.tryEntries.length-1;ue>=0;--ue){var Ee=this.tryEntries[ue],Oe=Ee.completion;if(Ee.tryLoc==="root")return z("end");if(Ee.tryLoc<=this.prev){var $e=i.call(Ee,"catchLoc"),Ve=i.call(Ee,"finallyLoc");if($e&&Ve){if(this.prev<Ee.catchLoc)return z(Ee.catchLoc,!0);if(this.prev<Ee.finallyLoc)return z(Ee.finallyLoc)}else if($e){if(this.prev<Ee.catchLoc)return z(Ee.catchLoc,!0)}else if(Ve){if(this.prev<Ee.finallyLoc)return z(Ee.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(G,ee){for(var z=this.tryEntries.length-1;z>=0;--z){var ue=this.tryEntries[z];if(ue.tryLoc<=this.prev&&i.call(ue,"finallyLoc")&&this.prev<ue.finallyLoc){var Ee=ue;break}}Ee&&(G==="break"||G==="continue")&&Ee.tryLoc<=ee&&ee<=Ee.finallyLoc&&(Ee=null);var Oe=Ee?Ee.completion:{};return Oe.type=G,Oe.arg=ee,Ee?(this.method="next",this.next=Ee.finallyLoc,w):this.complete(Oe)},complete:function(G,ee){if(G.type==="throw")throw G.arg;return G.type==="break"||G.type==="continue"?this.next=G.arg:G.type==="return"?(this.rval=this.arg=G.arg,this.method="return",this.next="end"):G.type==="normal"&&ee&&(this.next=ee),w},finish:function(G){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var z=this.tryEntries[ee];if(z.finallyLoc===G)return this.complete(z.completion,z.afterLoc),Q(z),w}},catch:function(G){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var z=this.tryEntries[ee];if(z.tryLoc===G){var ue=z.completion;if(ue.type==="throw"){var Ee=ue.arg;Q(z)}return Ee}}throw new Error("illegal catch attempt")},delegateYield:function(G,ee,z){return this.delegate={iterator:re(G),resultName:ee,nextLoc:z},this.method==="next"&&(this.arg=o),w}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(G_)),G_.exports}pae();var KD={},YD={},Gd,XD;function Bt(){if(XD)return Gd;XD=1;var e=function(t){return t&&t.Math===Math&&t};return Gd=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof Gd=="object"&&Gd)||(function(){return this})()||Function("return this")(),Gd}var K_={},Y_,QD;function Lt(){return QD||(QD=1,Y_=function(e){try{return!!e()}catch{return!0}}),Y_}var X_,JD;function gr(){if(JD)return X_;JD=1;var e=Lt();return X_=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),X_}var Q_,ZD;function Hh(){if(ZD)return Q_;ZD=1;var e=Lt();return Q_=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Q_}var J_,eL;function ir(){if(eL)return J_;eL=1;var e=Hh(),t=Function.prototype.call;return J_=e?t.bind(t):function(){return t.apply(t,arguments)},J_}var Z_={},tL;function Zg(){if(tL)return Z_;tL=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return Z_.f=r?function(i){var o=t(this,i);return!!o&&o.enumerable}:e,Z_}var eE,rL;function Za(){return rL||(rL=1,eE=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),eE}var tE,nL;function Nt(){if(nL)return tE;nL=1;var e=Hh(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return tE=e?n:function(i){return function(){return r.apply(i,arguments)}},tE}var rE,iL;function ia(){if(iL)return rE;iL=1;var e=Nt(),t=e({}.toString),r=e("".slice);return rE=function(n){return r(t(n),8,-1)},rE}var nE,aL;function Vf(){if(aL)return nE;aL=1;var e=Nt(),t=Lt(),r=ia(),n=Object,i=e("".split);return nE=t(function(){return!n("z").propertyIsEnumerable(0)})?function(o){return r(o)==="String"?i(o,""):n(o)}:n,nE}var iE,oL;function uu(){return oL||(oL=1,iE=function(e){return e==null}),iE}var aE,sL;function Gn(){if(sL)return aE;sL=1;var e=uu(),t=TypeError;return aE=function(r){if(e(r))throw new t("Can't call method on "+r);return r},aE}var oE,uL;function Li(){if(uL)return oE;uL=1;var e=Vf(),t=Gn();return oE=function(r){return e(t(r))},oE}var sE,lL;function Qr(){if(lL)return sE;lL=1;var e=typeof document=="object"&&document.all;return sE=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},sE}var uE,cL;function xr(){if(cL)return uE;cL=1;var e=Qr();return uE=function(t){return typeof t=="object"?t!==null:e(t)},uE}var lE,fL;function Kr(){if(fL)return lE;fL=1;var e=Bt(),t=Qr(),r=function(n){return t(n)?n:void 0};return lE=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},lE}var cE,dL;function _a(){if(dL)return cE;dL=1;var e=Nt();return cE=e({}.isPrototypeOf),cE}var fE,hL;function As(){if(hL)return fE;hL=1;var e=Bt(),t=e.navigator,r=t&&t.userAgent;return fE=r?String(r):"",fE}var dE,pL;function Rs(){if(pL)return dE;pL=1;var e=Bt(),t=As(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,o=i&&i.v8,a,u;return o&&(a=o.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&t&&(a=t.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=t.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),dE=u,dE}var hE,vL;function Hf(){if(vL)return hE;vL=1;var e=Rs(),t=Lt(),r=Bt(),n=r.String;return hE=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),hE}var pE,gL;function HX(){if(gL)return pE;gL=1;var e=Hf();return pE=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",pE}var vE,mL;function ac(){if(mL)return vE;mL=1;var e=Kr(),t=Qr(),r=_a(),n=HX(),i=Object;return vE=n?function(o){return typeof o=="symbol"}:function(o){var a=e("Symbol");return t(a)&&r(a.prototype,i(o))},vE}var gE,yL;function oc(){if(yL)return gE;yL=1;var e=String;return gE=function(t){try{return e(t)}catch{return"Object"}},gE}var mE,_L;function Yr(){if(_L)return mE;_L=1;var e=Qr(),t=oc(),r=TypeError;return mE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},mE}var yE,EL;function Bi(){if(EL)return yE;EL=1;var e=Yr(),t=uu();return yE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},yE}var _E,SL;function zX(){if(SL)return _E;SL=1;var e=ir(),t=Qr(),r=xr(),n=TypeError;return _E=function(i,o){var a,u;if(o==="string"&&t(a=i.toString)&&!r(u=e(a,i))||t(a=i.valueOf)&&!r(u=e(a,i))||o!=="string"&&t(a=i.toString)&&!r(u=e(a,i)))return u;throw new n("Can't convert object to primitive value")},_E}var EE={exports:{}},SE,wL;function cn(){return wL||(wL=1,SE=!1),SE}var wE,bL;function FC(){if(bL)return wE;bL=1;var e=Bt(),t=Object.defineProperty;return wE=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},wE}var TL;function em(){if(TL)return EE.exports;TL=1;var e=cn(),t=Bt(),r=FC(),n="__core-js_shared__",i=EE.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"}),EE.exports}var bE,AL;function zf(){if(AL)return bE;AL=1;var e=em();return bE=function(t,r){return e[t]||(e[t]=r||{})},bE}var TE,RL;function on(){if(RL)return TE;RL=1;var e=Gn(),t=Object;return TE=function(r){return t(e(r))},TE}var AE,xL;function Xr(){if(xL)return AE;xL=1;var e=Nt(),t=on(),r=e({}.hasOwnProperty);return AE=Object.hasOwn||function(i,o){return r(t(i),o)},AE}var RE,CL;function Wf(){if(CL)return RE;CL=1;var e=Nt(),t=0,r=Math.random(),n=e(1.1.toString);return RE=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},RE}var xE,OL;function Cr(){if(OL)return xE;OL=1;var e=Bt(),t=zf(),r=Xr(),n=Wf(),i=Hf(),o=HX(),a=e.Symbol,u=t("wks"),l=o?a.for||a:a&&a.withoutSetter||n;return xE=function(f){return r(u,f)||(u[f]=i&&r(a,f)?a[f]:l("Symbol."+f)),u[f]},xE}var CE,IL;function tm(){if(IL)return CE;IL=1;var e=ir(),t=xr(),r=ac(),n=Bi(),i=zX(),o=Cr(),a=TypeError,u=o("toPrimitive");return CE=function(l,f){if(!t(l)||r(l))return l;var d=n(l,u),h;if(d){if(f===void 0&&(f="default"),h=e(d,l,f),!t(h)||r(h))return h;throw new a("Can't convert object to primitive value")}return f===void 0&&(f="number"),i(l,f)},CE}var OE,PL;function nl(){if(PL)return OE;PL=1;var e=tm(),t=ac();return OE=function(r){var n=e(r,"string");return t(n)?n:n+""},OE}var IE,kL;function rm(){if(kL)return IE;kL=1;var e=Bt(),t=xr(),r=e.document,n=t(r)&&t(r.createElement);return IE=function(i){return n?r.createElement(i):{}},IE}var PE,DL;function WX(){if(DL)return PE;DL=1;var e=gr(),t=Lt(),r=rm();return PE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),PE}var LL;function Vi(){if(LL)return K_;LL=1;var e=gr(),t=ir(),r=Zg(),n=Za(),i=Li(),o=nl(),a=Xr(),u=WX(),l=Object.getOwnPropertyDescriptor;return K_.f=e?l:function(d,h){if(d=i(d),h=o(h),u)try{return l(d,h)}catch{}if(a(d,h))return n(!t(r.f,d,h),d[h])},K_}var kE={},DE,NL;function GX(){if(NL)return DE;NL=1;var e=gr(),t=Lt();return DE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),DE}var LE,ML;function ur(){if(ML)return LE;ML=1;var e=xr(),t=String,r=TypeError;return LE=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},LE}var $L;function qn(){if($L)return kE;$L=1;var e=gr(),t=WX(),r=GX(),n=ur(),i=nl(),o=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l="enumerable",f="configurable",d="writable";return kE.f=e?r?function(p,m,S){if(n(p),m=i(m),n(S),typeof p=="function"&&m==="prototype"&&"value"in S&&d in S&&!S[d]){var E=u(p,m);E&&E[d]&&(p[m]=S.value,S={configurable:f in S?S[f]:E[f],enumerable:l in S?S[l]:E[l],writable:!1})}return a(p,m,S)}:a:function(p,m,S){if(n(p),m=i(m),n(S),t)try{return a(p,m,S)}catch{}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(p[m]=S.value),p},kE}var NE,FL;function Hi(){if(FL)return NE;FL=1;var e=gr(),t=qn(),r=Za();return NE=e?function(n,i,o){return t.f(n,i,r(1,o))}:function(n,i,o){return n[i]=o,n},NE}var ME={exports:{}},$E,jL;function Gf(){if(jL)return $E;jL=1;var e=gr(),t=Xr(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,i=t(r,"name"),o=i&&(function(){}).name==="something",a=i&&(!e||e&&n(r,"name").configurable);return $E={EXISTS:i,PROPER:o,CONFIGURABLE:a},$E}var FE,UL;function jC(){if(UL)return FE;UL=1;var e=Nt(),t=Qr(),r=em(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),FE=r.inspectSource,FE}var jE,qL;function KX(){if(qL)return jE;qL=1;var e=Bt(),t=Qr(),r=e.WeakMap;return jE=t(r)&&/native code/.test(String(r)),jE}var UE,BL;function nm(){if(BL)return UE;BL=1;var e=zf(),t=Wf(),r=e("keys");return UE=function(n){return r[n]||(r[n]=t(n))},UE}var qE,VL;function zh(){return VL||(VL=1,qE={}),qE}var BE,HL;function ti(){if(HL)return BE;HL=1;var e=KX(),t=Bt(),r=xr(),n=Hi(),i=Xr(),o=em(),a=nm(),u=zh(),l="Object already initialized",f=t.TypeError,d=t.WeakMap,h,p,m,S=function(T){return m(T)?p(T):h(T,{})},E=function(T){return function(C){var x;if(!r(C)||(x=p(C)).type!==T)throw new f("Incompatible receiver, "+T+" required");return x}};if(e||o.state){var _=o.state||(o.state=new d);_.get=_.get,_.has=_.has,_.set=_.set,h=function(T,C){if(_.has(T))throw new f(l);return C.facade=T,_.set(T,C),C},p=function(T){return _.get(T)||{}},m=function(T){return _.has(T)}}else{var w=a("state");u[w]=!0,h=function(T,C){if(i(T,w))throw new f(l);return C.facade=T,n(T,w,C),C},p=function(T){return i(T,w)?T[w]:{}},m=function(T){return i(T,w)}}return BE={set:h,get:p,has:m,enforce:S,getterFor:E},BE}var zL;function UC(){if(zL)return ME.exports;zL=1;var e=Nt(),t=Lt(),r=Qr(),n=Xr(),i=gr(),o=Gf().CONFIGURABLE,a=jC(),u=ti(),l=u.enforce,f=u.get,d=String,h=Object.defineProperty,p=e("".slice),m=e("".replace),S=e([].join),E=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),_=String(String).split("String"),w=ME.exports=function(T,C,x){p(d(C),0,7)==="Symbol("&&(C="["+m(d(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(C="get "+C),x&&x.setter&&(C="set "+C),(!n(T,"name")||o&&T.name!==C)&&(i?h(T,"name",{value:C,configurable:!0}):T.name=C),E&&x&&n(x,"arity")&&T.length!==x.arity&&h(T,"length",{value:x.arity});try{x&&n(x,"constructor")&&x.constructor?i&&h(T,"prototype",{writable:!1}):T.prototype&&(T.prototype=void 0)}catch{}var R=l(T);return n(R,"source")||(R.source=S(_,typeof C=="string"?C:"")),T};return Function.prototype.toString=w(function(){return r(this)&&f(this).source||a(this)},"toString"),ME.exports}var VE,WL;function wn(){if(WL)return VE;WL=1;var e=Qr(),t=qn(),r=UC(),n=FC();return VE=function(i,o,a,u){u||(u={});var l=u.enumerable,f=u.name!==void 0?u.name:o;if(e(a)&&r(a,f,u),u.global)l?i[o]=a:n(o,a);else{try{u.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=a:t.f(i,o,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return i},VE}var HE={},zE,GL;function YX(){if(GL)return zE;GL=1;var e=Math.ceil,t=Math.floor;return zE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},zE}var WE,KL;function ii(){if(KL)return WE;KL=1;var e=YX();return WE=function(t){var r=+t;return r!==r||r===0?0:e(r)},WE}var GE,YL;function lu(){if(YL)return GE;YL=1;var e=ii(),t=Math.max,r=Math.min;return GE=function(n,i){var o=e(n);return o<0?t(o+i,0):r(o,i)},GE}var KE,XL;function eo(){if(XL)return KE;XL=1;var e=ii(),t=Math.min;return KE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},KE}var YE,QL;function On(){if(QL)return YE;QL=1;var e=eo();return YE=function(t){return e(t.length)},YE}var XE,JL;function Wh(){if(JL)return XE;JL=1;var e=Li(),t=lu(),r=On(),n=function(i){return function(o,a,u){var l=e(o),f=r(l);if(f===0)return!i&&-1;var d=t(u,f),h;if(i&&a!==a){for(;f>d;)if(h=l[d++],h!==h)return!0}else for(;f>d;d++)if((i||d in l)&&l[d]===a)return i||d||0;return!i&&-1}};return XE={includes:n(!0),indexOf:n(!1)},XE}var QE,ZL;function XX(){if(ZL)return QE;ZL=1;var e=Nt(),t=Xr(),r=Li(),n=Wh().indexOf,i=zh(),o=e([].push);return QE=function(a,u){var l=r(a),f=0,d=[],h;for(h in l)!t(i,h)&&t(l,h)&&o(d,h);for(;u.length>f;)t(l,h=u[f++])&&(~n(d,h)||o(d,h));return d},QE}var JE,eN;function qC(){return eN||(eN=1,JE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),JE}var tN;function sc(){if(tN)return HE;tN=1;var e=XX(),t=qC(),r=t.concat("length","prototype");return HE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},HE}var ZE={},rN;function im(){return rN||(rN=1,ZE.f=Object.getOwnPropertySymbols),ZE}var eS,nN;function BC(){if(nN)return eS;nN=1;var e=Kr(),t=Nt(),r=sc(),n=im(),i=ur(),o=t([].concat);return eS=e("Reflect","ownKeys")||function(u){var l=r.f(i(u)),f=n.f;return f?o(l,f(u)):l},eS}var tS,iN;function Kf(){if(iN)return tS;iN=1;var e=Xr(),t=BC(),r=Vi(),n=qn();return tS=function(i,o,a){for(var u=t(o),l=n.f,f=r.f,d=0;d<u.length;d++){var h=u[d];!e(i,h)&&!(a&&e(a,h))&&l(i,h,f(o,h))}},tS}var rS,aN;function Gh(){if(aN)return rS;aN=1;var e=Lt(),t=Qr(),r=/#|\.prototype\./,n=function(l,f){var d=o[i(l)];return d===u?!0:d===a?!1:t(f)?e(f):!!f},i=n.normalize=function(l){return String(l).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";return rS=n,rS}var nS,oN;function Ie(){if(oN)return nS;oN=1;var e=Bt(),t=Vi().f,r=Hi(),n=wn(),i=FC(),o=Kf(),a=Gh();return nS=function(u,l){var f=u.target,d=u.global,h=u.stat,p,m,S,E,_,w;if(d?m=e:h?m=e[f]||i(f,{}):m=e[f]&&e[f].prototype,m)for(S in l){if(_=l[S],u.dontCallGetSet?(w=t(m,S),E=w&&w.value):E=m[S],p=a(d?S:f+(h?".":"#")+S,u.forced),!p&&E!==void 0){if(typeof _==typeof E)continue;o(_,E)}(u.sham||E&&E.sham)&&r(_,"sham",!0),n(m,S,_,u)}},nS}var iS,sN;function VC(){if(sN)return iS;sN=1;var e=Cr(),t=e("toStringTag"),r={};return r[t]="z",iS=String(r)==="[object z]",iS}var aS,uN;function to(){if(uN)return aS;uN=1;var e=VC(),t=Qr(),r=ia(),n=Cr(),i=n("toStringTag"),o=Object,a=r((function(){return arguments})())==="Arguments",u=function(l,f){try{return l[f]}catch{}};return aS=e?r:function(l){var f,d,h;return l===void 0?"Undefined":l===null?"Null":typeof(d=u(f=o(l),i))=="string"?d:a?r(f):(h=r(f))==="Object"&&t(f.callee)?"Arguments":h},aS}var oS,lN;function Mr(){if(lN)return oS;lN=1;var e=to(),t=String;return oS=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},oS}var sS={},uS,cN;function Kh(){if(cN)return uS;cN=1;var e=XX(),t=qC();return uS=Object.keys||function(n){return e(n,t)},uS}var fN;function HC(){if(fN)return sS;fN=1;var e=gr(),t=GX(),r=qn(),n=ur(),i=Li(),o=Kh();return sS.f=e&&!t?Object.defineProperties:function(u,l){n(u);for(var f=i(l),d=o(l),h=d.length,p=0,m;h>p;)r.f(u,m=d[p++],f[m]);return u},sS}var lS,dN;function QX(){if(dN)return lS;dN=1;var e=Kr();return lS=e("document","documentElement"),lS}var cS,hN;function zi(){if(hN)return cS;hN=1;var e=ur(),t=HC(),r=qC(),n=zh(),i=QX(),o=rm(),a=nm(),u=">",l="<",f="prototype",d="script",h=a("IE_PROTO"),p=function(){},m=function(T){return l+d+u+T+l+"/"+d+u},S=function(T){T.write(m("")),T.close();var C=T.parentWindow.Object;return T=null,C},E=function(){var T=o("iframe"),C="java"+d+":",x;return T.style.display="none",i.appendChild(T),T.src=String(C),x=T.contentWindow.document,x.open(),x.write(m("document.F=Object")),x.close(),x.F},_,w=function(){try{_=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&_?S(_):E():S(_);for(var T=r.length;T--;)delete w[f][r[T]];return w()};return n[h]=!0,cS=Object.create||function(C,x){var R;return C!==null?(p[f]=e(C),R=new p,p[f]=null,R[h]=C):R=w(),x===void 0?R:t.f(R,x)},cS}var fS={},dS,pN;function Po(){if(pN)return dS;pN=1;var e=Nt();return dS=e([].slice),dS}var vN;function zC(){if(vN)return fS;vN=1;var e=ia(),t=Li(),r=sc().f,n=Po(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(a){try{return r(a)}catch{return n(i)}};return fS.f=function(u){return i&&e(u)==="Window"?o(u):r(t(u))},fS}var hS,gN;function pi(){if(gN)return hS;gN=1;var e=UC(),t=qn();return hS=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)},hS}var pS={},mN;function JX(){if(mN)return pS;mN=1;var e=Cr();return pS.f=e,pS}var vS,yN;function am(){if(yN)return vS;yN=1;var e=Bt();return vS=e,vS}var gS,_N;function aa(){if(_N)return gS;_N=1;var e=am(),t=Xr(),r=JX(),n=qn().f;return gS=function(i){var o=e.Symbol||(e.Symbol={});t(o,i)||n(o,i,{value:r.f(i)})},gS}var mS,EN;function ZX(){if(EN)return mS;EN=1;var e=ir(),t=Kr(),r=Cr(),n=wn();return mS=function(){var i=t("Symbol"),o=i&&i.prototype,a=o&&o.valueOf,u=r("toPrimitive");o&&!o[u]&&n(o,u,function(l){return e(a,this)},{arity:1})},mS}var yS,SN;function Na(){if(SN)return yS;SN=1;var e=qn().f,t=Xr(),r=Cr(),n=r("toStringTag");return yS=function(i,o,a){i&&!a&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:o})},yS}var _S,wN;function uc(){if(wN)return _S;wN=1;var e=ia(),t=Nt();return _S=function(r){if(e(r)==="Function")return t(r)},_S}var ES,bN;function ro(){if(bN)return ES;bN=1;var e=uc(),t=Yr(),r=Hh(),n=e(e.bind);return ES=function(i,o){return t(i),o===void 0?i:r?n(i,o):function(){return i.apply(o,arguments)}},ES}var SS,TN;function il(){if(TN)return SS;TN=1;var e=ia();return SS=Array.isArray||function(r){return e(r)==="Array"},SS}var wS,AN;function lc(){if(AN)return wS;AN=1;var e=Nt(),t=Lt(),r=Qr(),n=to(),i=Kr(),o=jC(),a=function(){},u=i("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=e(l.exec),d=!l.test(a),h=function(S){if(!r(S))return!1;try{return u(a,[],S),!0}catch{return!1}},p=function(S){if(!r(S))return!1;switch(n(S)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(l,o(S))}catch{return!0}};return p.sham=!0,wS=!u||t(function(){var m;return h(h.call)||!h(Object)||!h(function(){m=!0})||m})?p:h,wS}var bS,RN;function vae(){if(RN)return bS;RN=1;var e=il(),t=lc(),r=xr(),n=Cr(),i=n("species"),o=Array;return bS=function(a){var u;return e(a)&&(u=a.constructor,t(u)&&(u===o||e(u.prototype))?u=void 0:r(u)&&(u=u[i],u===null&&(u=void 0))),u===void 0?o:u},bS}var TS,xN;function Yh(){if(xN)return TS;xN=1;var e=vae();return TS=function(t,r){return new(e(t))(r===0?0:r)},TS}var AS,CN;function Wi(){if(CN)return AS;CN=1;var e=ro(),t=Nt(),r=Vf(),n=on(),i=On(),o=Yh(),a=t([].push),u=function(l){var f=l===1,d=l===2,h=l===3,p=l===4,m=l===6,S=l===7,E=l===5||m;return function(_,w,T,C){for(var x=n(_),R=r(x),P=i(R),y=e(w,T),N=0,$=C||o,H=f?$(_,P):d||S?$(_,0):void 0,B,W;P>N;N++)if((E||N in R)&&(B=R[N],W=y(B,N,x),l))if(f)H[N]=W;else if(W)switch(l){case 3:return!0;case 5:return B;case 6:return N;case 2:a(H,B)}else switch(l){case 4:return!1;case 7:a(H,B)}return m?-1:h||p?p:H}};return AS={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)},AS}var ON;function gae(){if(ON)return YD;ON=1;var e=Ie(),t=Bt(),r=ir(),n=Nt(),i=cn(),o=gr(),a=Hf(),u=Lt(),l=Xr(),f=_a(),d=ur(),h=Li(),p=nl(),m=Mr(),S=Za(),E=zi(),_=Kh(),w=sc(),T=zC(),C=im(),x=Vi(),R=qn(),P=HC(),y=Zg(),N=wn(),$=pi(),H=zf(),B=nm(),W=zh(),Y=Wf(),Q=Cr(),ne=JX(),re=aa(),de=ZX(),G=Na(),ee=ti(),z=Wi().forEach,ue=B("hidden"),Ee="Symbol",Oe="prototype",$e=ee.set,Ve=ee.getterFor(Ee),ae=Object[Oe],O=t.Symbol,I=O&&O[Oe],M=t.RangeError,k=t.TypeError,U=t.QObject,K=x.f,ie=R.f,ye=T.f,ve=y.f,Re=n([].push),Se=H("symbols"),xe=H("op-symbols"),De=H("wks"),he=!U||!U[Oe]||!U[Oe].findChild,me=function(_t,vt,rt){var ot=K(ae,vt);ot&&delete ae[vt],ie(_t,vt,rt),ot&&_t!==ae&&ie(ae,vt,ot)},_e=o&&u(function(){return E(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a!==7})?me:ie,Le=function(_t,vt){var rt=Se[_t]=E(I);return $e(rt,{type:Ee,tag:_t,description:vt}),o||(rt.description=vt),rt},Me=function(vt,rt,ot){vt===ae&&Me(xe,rt,ot),d(vt);var ht=p(rt);return d(ot),l(Se,ht)?(ot.enumerable?(l(vt,ue)&&vt[ue][ht]&&(vt[ue][ht]=!1),ot=E(ot,{enumerable:S(0,!1)})):(l(vt,ue)||ie(vt,ue,S(1,E(null))),vt[ue][ht]=!0),_e(vt,ht,ot)):ie(vt,ht,ot)},Ne=function(vt,rt){d(vt);var ot=h(rt),ht=_(ot).concat(Ke(ot));return z(ht,function(Ht){(!o||r(it,ot,Ht))&&Me(vt,Ht,ot[Ht])}),vt},Ge=function(vt,rt){return rt===void 0?E(vt):Ne(E(vt),rt)},it=function(vt){var rt=p(vt),ot=r(ve,this,rt);return this===ae&&l(Se,rt)&&!l(xe,rt)?!1:ot||!l(this,rt)||!l(Se,rt)||l(this,ue)&&this[ue][rt]?ot:!0},Dt=function(vt,rt){var ot=h(vt),ht=p(rt);if(!(ot===ae&&l(Se,ht)&&!l(xe,ht))){var Ht=K(ot,ht);return Ht&&l(Se,ht)&&!(l(ot,ue)&&ot[ue][ht])&&(Ht.enumerable=!0),Ht}},rr=function(vt){var rt=ye(h(vt)),ot=[];return z(rt,function(ht){!l(Se,ht)&&!l(W,ht)&&Re(ot,ht)}),ot},Ke=function(_t){var vt=_t===ae,rt=ye(vt?xe:h(_t)),ot=[];return z(rt,function(ht){l(Se,ht)&&(!vt||l(ae,ht))&&Re(ot,Se[ht])}),ot};return a||(O=function(){if(f(I,this))throw new k("Symbol is not a constructor");var vt=!arguments.length||arguments[0]===void 0?void 0:m(arguments[0]),rt=Y(vt),ot=function(ht){var Ht=this===void 0?t:this;Ht===ae&&r(ot,xe,ht),l(Ht,ue)&&l(Ht[ue],rt)&&(Ht[ue][rt]=!1);var Ct=S(1,ht);try{_e(Ht,rt,Ct)}catch(be){if(!(be instanceof M))throw be;me(Ht,rt,Ct)}};return o&&he&&_e(ae,rt,{configurable:!0,set:ot}),Le(rt,vt)},I=O[Oe],N(I,"toString",function(){return Ve(this).tag}),N(O,"withoutSetter",function(_t){return Le(Y(_t),_t)}),y.f=it,R.f=Me,P.f=Ne,x.f=Dt,w.f=T.f=rr,C.f=Ke,ne.f=function(_t){return Le(Q(_t),_t)},o&&($(I,"description",{configurable:!0,get:function(){return Ve(this).description}}),i||N(ae,"propertyIsEnumerable",it,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!a,sham:!a},{Symbol:O}),z(_(De),function(_t){re(_t)}),e({target:Ee,stat:!0,forced:!a},{useSetter:function(){he=!0},useSimple:function(){he=!1}}),e({target:"Object",stat:!0,forced:!a,sham:!o},{create:Ge,defineProperty:Me,defineProperties:Ne,getOwnPropertyDescriptor:Dt}),e({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:rr}),de(),G(O,Ee),W[ue]=!0,YD}var IN={},RS,PN;function eQ(){if(PN)return RS;PN=1;var e=Hf();return RS=e&&!!Symbol.for&&!!Symbol.keyFor,RS}var kN;function mae(){if(kN)return IN;kN=1;var e=Ie(),t=Kr(),r=Xr(),n=Mr(),i=zf(),o=eQ(),a=i("string-to-symbol-registry"),u=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!o},{for:function(l){var f=n(l);if(r(a,f))return a[f];var d=t("Symbol")(f);return a[f]=d,u[d]=f,d}}),IN}var DN={},LN;function yae(){if(LN)return DN;LN=1;var e=Ie(),t=Xr(),r=ac(),n=oc(),i=zf(),o=eQ(),a=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!o},{keyFor:function(l){if(!r(l))throw new TypeError(n(l)+" is not a symbol");if(t(a,l))return a[l]}}),DN}var NN={},xS,MN;function no(){if(MN)return xS;MN=1;var e=Hh(),t=Function.prototype,r=t.apply,n=t.call;return xS=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),xS}var CS,$N;function _ae(){if($N)return CS;$N=1;var e=Nt(),t=il(),r=Qr(),n=ia(),i=Mr(),o=e([].push);return CS=function(a){if(r(a))return a;if(t(a)){for(var u=a.length,l=[],f=0;f<u;f++){var d=a[f];typeof d=="string"?o(l,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&o(l,i(d))}var h=l.length,p=!0;return function(m,S){if(p)return p=!1,S;if(t(this))return S;for(var E=0;E<h;E++)if(l[E]===m)return S}}},CS}var FN;function tQ(){if(FN)return NN;FN=1;var e=Ie(),t=Kr(),r=no(),n=ir(),i=Nt(),o=Lt(),a=Qr(),u=ac(),l=Po(),f=_ae(),d=Hf(),h=String,p=t("JSON","stringify"),m=i(/./.exec),S=i("".charAt),E=i("".charCodeAt),_=i("".replace),w=i(1.1.toString),T=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,R=!d||o(function(){var $=t("Symbol")("stringify detection");return p([$])!=="[null]"||p({a:$})!=="{}"||p(Object($))!=="{}"}),P=o(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),y=function($,H){var B=l(arguments),W=f(H);if(!(!a(W)&&($===void 0||u($))))return B[1]=function(Y,Q){if(a(W)&&(Q=n(W,this,h(Y),Q)),!u(Q))return Q},r(p,null,B)},N=function($,H,B){var W=S(B,H-1),Y=S(B,H+1);return m(C,$)&&!m(x,Y)||m(x,$)&&!m(C,W)?"\\u"+w(E($,0),16):$};return p&&e({target:"JSON",stat:!0,arity:3,forced:R||P},{stringify:function(H,B,W){var Y=l(arguments),Q=r(R?y:p,null,Y);return P&&typeof Q=="string"?_(Q,T,N):Q}}),NN}var jN={},UN;function Eae(){if(UN)return jN;UN=1;var e=Ie(),t=Hf(),r=Lt(),n=im(),i=on(),o=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:o},{getOwnPropertySymbols:function(u){var l=n.f;return l?l(i(u)):[]}}),jN}var qN;function Sae(){return qN||(qN=1,gae(),mae(),yae(),tQ(),Eae()),KD}var BN={},VN;function wae(){if(VN)return BN;VN=1;var e=Ie(),t=gr(),r=Bt(),n=Nt(),i=Xr(),o=Qr(),a=_a(),u=Mr(),l=pi(),f=Kf(),d=r.Symbol,h=d&&d.prototype;if(t&&o(d)&&(!("description"in h)||d().description!==void 0)){var p={},m=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),P=a(h,this)?new d(R):R===void 0?d():d(R);return R===""&&(p[P]=!0),P};f(m,d),m.prototype=h,h.constructor=m;var S=String(d("description detection"))==="Symbol(description detection)",E=n(h.valueOf),_=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,T=n("".replace),C=n("".slice);l(h,"description",{configurable:!0,get:function(){var R=E(this);if(i(p,R))return"";var P=_(R),y=S?C(P,7,-1):T(P,w,"$1");return y===""?void 0:y}}),e({global:!0,constructor:!0,forced:!0},{Symbol:m})}return BN}var HN={},zN;function bae(){if(zN)return HN;zN=1;var e=Bt(),t=aa(),r=qn().f,n=Vi().f,i=e.Symbol;if(t("asyncDispose"),i){var o=n(i,"asyncDispose");o.enumerable&&o.configurable&&o.writable&&r(i,"asyncDispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}return HN}var WN={},GN;function Tae(){if(GN)return WN;GN=1;var e=aa();return e("asyncIterator"),WN}var KN={},YN;function Aae(){if(YN)return KN;YN=1;var e=Bt(),t=aa(),r=qn().f,n=Vi().f,i=e.Symbol;if(t("dispose"),i){var o=n(i,"dispose");o.enumerable&&o.configurable&&o.writable&&r(i,"dispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}return KN}var XN={},QN;function Rae(){if(QN)return XN;QN=1;var e=aa();return e("hasInstance"),XN}var JN={},ZN;function xae(){if(ZN)return JN;ZN=1;var e=aa();return e("isConcatSpreadable"),JN}var eM={},tM;function Cae(){if(tM)return eM;tM=1;var e=aa();return e("iterator"),eM}var rM={},nM;function Oae(){if(nM)return rM;nM=1;var e=aa();return e("match"),rM}var iM={},aM;function Iae(){if(aM)return iM;aM=1;var e=aa();return e("matchAll"),iM}var oM={},sM;function Pae(){if(sM)return oM;sM=1;var e=aa();return e("replace"),oM}var uM={},lM;function kae(){if(lM)return uM;lM=1;var e=aa();return e("search"),uM}var cM={},fM;function Dae(){if(fM)return cM;fM=1;var e=aa();return e("species"),cM}var dM={},hM;function Lae(){if(hM)return dM;hM=1;var e=aa();return e("split"),dM}var pM={},vM;function Nae(){if(vM)return pM;vM=1;var e=aa(),t=ZX();return e("toPrimitive"),t(),pM}var gM={},mM;function Mae(){if(mM)return gM;mM=1;var e=Kr(),t=aa(),r=Na();return t("toStringTag"),r(e("Symbol"),"Symbol"),gM}var yM={},_M;function $ae(){if(_M)return yM;_M=1;var e=aa();return e("unscopables"),yM}var EM={},OS,SM;function om(){if(SM)return OS;SM=1;var e=Nt(),t=Yr();return OS=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},OS}var IS,wM;function rQ(){if(wM)return IS;wM=1;var e=xr();return IS=function(t){return e(t)||t===null},IS}var PS,bM;function nQ(){if(bM)return PS;bM=1;var e=rQ(),t=String,r=TypeError;return PS=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},PS}var kS,TM;function Qo(){if(TM)return kS;TM=1;var e=om(),t=xr(),r=Gn(),n=nQ();return kS=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,o={},a;try{a=e(Object.prototype,"__proto__","set"),a(o,[]),i=o instanceof Array}catch{}return function(l,f){return r(l),n(f),t(l)&&(i?a(l,f):l.__proto__=f),l}})():void 0),kS}var DS,AM;function iQ(){if(AM)return DS;AM=1;var e=qn().f;return DS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},DS}var LS,RM;function cc(){if(RM)return LS;RM=1;var e=Qr(),t=xr(),r=Qo();return LS=function(n,i,o){var a,u;return r&&e(a=i.constructor)&&a!==o&&t(u=a.prototype)&&u!==o.prototype&&r(n,u),n},LS}var NS,xM;function Yf(){if(xM)return NS;xM=1;var e=Mr();return NS=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},NS}var MS,CM;function aQ(){if(CM)return MS;CM=1;var e=xr(),t=Hi();return MS=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},MS}var $S,OM;function WC(){if(OM)return $S;OM=1;var e=Nt(),t=Error,r=e("".replace),n=(function(a){return String(new t(a).stack)})("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,o=i.test(n);return $S=function(a,u){if(o&&typeof a=="string"&&!t.prepareStackTrace)for(;u--;)a=r(a,i,"");return a},$S}var FS,IM;function oQ(){if(IM)return FS;IM=1;var e=Lt(),t=Za();return FS=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),FS}var jS,PM;function GC(){if(PM)return jS;PM=1;var e=Hi(),t=WC(),r=oQ(),n=Error.captureStackTrace;return jS=function(i,o,a,u){r&&(n?n(i,o):e(i,"stack",t(a,u)))},jS}var US,kM;function sQ(){if(kM)return US;kM=1;var e=Kr(),t=Xr(),r=Hi(),n=_a(),i=Qo(),o=Kf(),a=iQ(),u=cc(),l=Yf(),f=aQ(),d=GC(),h=gr(),p=cn();return US=function(m,S,E,_){var w="stackTraceLimit",T=_?2:1,C=m.split("."),x=C[C.length-1],R=e.apply(null,C);if(R){var P=R.prototype;if(!p&&t(P,"cause")&&delete P.cause,!E)return R;var y=e("Error"),N=S(function($,H){var B=l(_?H:$,void 0),W=_?new R($):new R;return B!==void 0&&r(W,"message",B),d(W,N,W.stack,2),this&&n(P,this)&&u(W,this,N),arguments.length>T&&f(W,arguments[T]),W});if(N.prototype=P,x!=="Error"?i?i(N,y):o(N,y,{name:!0}):h&&w in R&&(a(N,R,w),a(N,R,"prepareStackTrace")),o(N,R),!p)try{P.name!==x&&r(P,"name",x),P.constructor=N}catch{}return N}},US}var DM;function Fae(){if(DM)return EM;DM=1;var e=Ie(),t=Bt(),r=no(),n=sQ(),i="WebAssembly",o=t[i],a=new Error("e",{cause:7}).cause!==7,u=function(f,d){var h={};h[f]=n(f,d,a),e({global:!0,constructor:!0,arity:1,forced:a},h)},l=function(f,d){if(o&&o[f]){var h={};h[f]=n(i+"."+f,d,a),e({target:i,stat:!0,constructor:!0,arity:1,forced:a},h)}};return u("Error",function(f){return function(h){return r(f,this,arguments)}}),u("EvalError",function(f){return function(h){return r(f,this,arguments)}}),u("RangeError",function(f){return function(h){return r(f,this,arguments)}}),u("ReferenceError",function(f){return function(h){return r(f,this,arguments)}}),u("SyntaxError",function(f){return function(h){return r(f,this,arguments)}}),u("TypeError",function(f){return function(h){return r(f,this,arguments)}}),u("URIError",function(f){return function(h){return r(f,this,arguments)}}),l("CompileError",function(f){return function(h){return r(f,this,arguments)}}),l("LinkError",function(f){return function(h){return r(f,this,arguments)}}),l("RuntimeError",function(f){return function(h){return r(f,this,arguments)}}),EM}var LM={},NM;function jae(){if(NM)return LM;NM=1;var e=Ie(),t=Kr(),r=xr(),n=to(),i=Lt(),o="Error",a="DOMException",u=Object.setPrototypeOf||{}.__proto__,l=t(a),f=Error,d=f.isError,h=!d||!u||i(function(){return l&&!d(new l(a))||!d(new f(o,{cause:function(){}}))||d(t("Object","create")(f.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(m){if(!r(m))return!1;var S=n(m);return S===o||S===a}}),LM}var MM={},qS,$M;function uQ(){if($M)return qS;$M=1;var e=gr(),t=Lt(),r=ur(),n=Yf(),i=Error.prototype.toString,o=t(function(){if(e){var a=Object.create(Object.defineProperty({},"name",{get:function(){return this===a}}));if(i.call(a)!=="true")return!0}return i.call({message:1,name:2})!=="2: 1"||i.call({})!=="Error"});return qS=o?function(){var u=r(this),l=n(u.name,"Error"),f=n(u.message);return l?f?l+": "+f:l:f}:i,qS}var FM;function Uae(){if(FM)return MM;FM=1;var e=wn(),t=uQ(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),MM}var jM={},UM={},BS,qM;function KC(){if(qM)return BS;qM=1;var e=Lt();return BS=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),BS}var VS,BM;function Ea(){if(BM)return VS;BM=1;var e=Xr(),t=Qr(),r=on(),n=nm(),i=KC(),o=n("IE_PROTO"),a=Object,u=a.prototype;return VS=i?a.getPrototypeOf:function(l){var f=r(l);if(e(f,o))return f[o];var d=f.constructor;return t(d)&&f instanceof d?d.prototype:f instanceof a?u:null},VS}var HS,VM;function Xh(){return VM||(VM=1,HS={}),HS}var zS,HM;function YC(){if(HM)return zS;HM=1;var e=Cr(),t=Xh(),r=e("iterator"),n=Array.prototype;return zS=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},zS}var WS,zM;function fc(){if(zM)return WS;zM=1;var e=to(),t=Bi(),r=uu(),n=Xh(),i=Cr(),o=i("iterator");return WS=function(a){if(!r(a))return t(a,o)||t(a,"@@iterator")||n[e(a)]},WS}var GS,WM;function Xf(){if(WM)return GS;WM=1;var e=ir(),t=Yr(),r=ur(),n=oc(),i=fc(),o=TypeError;return GS=function(a,u){var l=arguments.length<2?i(a):u;if(t(l))return r(e(l,a));throw new o(n(a)+" is not iterable")},GS}var KS,GM;function Gi(){if(GM)return KS;GM=1;var e=ir(),t=ur(),r=Bi();return KS=function(n,i,o){var a,u;t(n);try{if(a=r(n,"return"),!a){if(i==="throw")throw o;return o}a=e(a,n)}catch(l){u=!0,a=l}if(i==="throw")throw o;if(u)throw a;return t(a),o},KS}var YS,KM;function Oi(){if(KM)return YS;KM=1;var e=ro(),t=ir(),r=ur(),n=oc(),i=YC(),o=On(),a=_a(),u=Xf(),l=fc(),f=Gi(),d=TypeError,h=function(m,S){this.stopped=m,this.result=S},p=h.prototype;return YS=function(m,S,E){var _=E&&E.that,w=!!(E&&E.AS_ENTRIES),T=!!(E&&E.IS_RECORD),C=!!(E&&E.IS_ITERATOR),x=!!(E&&E.INTERRUPTED),R=e(S,_),P,y,N,$,H,B,W,Y=function(ne){return P&&f(P,"normal"),new h(!0,ne)},Q=function(ne){return w?(r(ne),x?R(ne[0],ne[1],Y):R(ne[0],ne[1])):x?R(ne,Y):R(ne)};if(T)P=m.iterator;else if(C)P=m;else{if(y=l(m),!y)throw new d(n(m)+" is not iterable");if(i(y)){for(N=0,$=o(m);$>N;N++)if(H=Q(m[N]),H&&a(p,H))return H;return new h(!1)}P=u(m,y)}for(B=T?m.next:P.next;!(W=t(B,P)).done;){try{H=Q(W.value)}catch(ne){f(P,"throw",ne)}if(typeof H=="object"&&H&&a(p,H))return H}return new h(!1)},YS}var YM;function qae(){if(YM)return UM;YM=1;var e=Ie(),t=_a(),r=Ea(),n=Qo(),i=Kf(),o=zi(),a=Hi(),u=Za(),l=aQ(),f=GC(),d=Oi(),h=Yf(),p=Cr(),m=p("toStringTag"),S=Error,E=[].push,_=function(C,x){var R=t(w,this),P;n?P=n(new S,R?r(this):w):(P=R?this:o(w),a(P,m,"Error")),x!==void 0&&a(P,"message",h(x)),f(P,_,P.stack,1),arguments.length>2&&l(P,arguments[2]);var y=[];return d(C,E,{that:y}),a(P,"errors",y),P};n?n(_,S):i(_,S,{name:!0});var w=_.prototype=o(S.prototype,{constructor:u(1,_),message:u(1,""),name:u(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:_}),UM}var XM;function Bae(){return XM||(XM=1,qae()),jM}var QM={},JM;function Vae(){if(JM)return QM;JM=1;var e=Ie(),t=Kr(),r=no(),n=Lt(),i=sQ(),o="AggregateError",a=t(o),u=!n(function(){return a([1]).errors[0]!==1})&&n(function(){return a([1],o,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:i(o,function(l){return function(d,h){return r(l,this,arguments)}},u,!0)}),QM}var ZM={},e$;function Hae(){if(e$)return ZM;e$=1;var e=Ie(),t=Bt(),r=_a(),n=Ea(),i=Qo(),o=Kf(),a=zi(),u=Hi(),l=Za(),f=GC(),d=Yf(),h=Cr(),p=Lt(),m=cn(),S=t.SuppressedError,E=h("toStringTag"),_=Error,w=!!S&&S.length!==3,T=!!S&&p(function(){return new S(1,2,3,{cause:4}).cause===4}),C=w||T,x=function(y,N,$){var H=r(R,this),B;return i?B=C&&(!H||n(this)===R)?new S:i(new _,H?n(this):R):(B=H?this:a(R),u(B,E,"Error")),$!==void 0&&u(B,"message",d($)),f(B,x,B.stack,1),u(B,"error",y),u(B,"suppressed",N),B};i?i(x,_):o(x,_,{name:!0});var R=x.prototype=C?S.prototype:a(_.prototype,{constructor:l(1,x),message:l(1,""),name:l(1,"SuppressedError")});return C&&!m&&(R.constructor=x),e({global:!0,constructor:!0,arity:3,forced:C},{SuppressedError:x}),ZM}var t$={},XS,r$;function Ma(){if(r$)return XS;r$=1;var e=Cr(),t=zi(),r=qn().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),XS=function(o){i[n][o]=!0},XS}var n$;function zae(){if(n$)return t$;n$=1;var e=Ie(),t=on(),r=On(),n=ii(),i=Ma();return e({target:"Array",proto:!0},{at:function(a){var u=t(this),l=r(u),f=n(a),d=f>=0?f:l+f;return d<0||d>=l?void 0:u[d]}}),i("at"),t$}var i$={},QS,a$;function dc(){if(a$)return QS;a$=1;var e=TypeError,t=9007199254740991;return QS=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},QS}var JS,o$;function cu(){if(o$)return JS;o$=1;var e=gr(),t=qn(),r=Za();return JS=function(n,i,o){e?t.f(n,i,r(0,o)):n[i]=o},JS}var ZS,s$;function Qh(){if(s$)return ZS;s$=1;var e=Lt(),t=Cr(),r=Rs(),n=t("species");return ZS=function(i){return r>=51||!e(function(){var o=[],a=o.constructor={};return a[n]=function(){return{foo:1}},o[i](Boolean).foo!==1})},ZS}var u$;function Wae(){if(u$)return i$;u$=1;var e=Ie(),t=Lt(),r=il(),n=xr(),i=on(),o=On(),a=dc(),u=cu(),l=Yh(),f=Qh(),d=Cr(),h=Rs(),p=d("isConcatSpreadable"),m=h>=51||!t(function(){var _=[];return _[p]=!1,_.concat()[0]!==_}),S=function(_){if(!n(_))return!1;var w=_[p];return w!==void 0?!!w:r(_)},E=!m||!f("concat");return e({target:"Array",proto:!0,arity:1,forced:E},{concat:function(w){var T=i(this),C=l(T,0),x=0,R,P,y,N,$;for(R=-1,y=arguments.length;R<y;R++)if($=R===-1?T:arguments[R],S($))for(N=o($),a(x+N),P=0;P<N;P++,x++)P in $&&u(C,x,$[P]);else a(x+1),u(C,x++,$);return C.length=x,C}}),i$}var l$={},ew,c$;function sm(){if(c$)return ew;c$=1;var e=oc(),t=TypeError;return ew=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},ew}var tw,f$;function lQ(){if(f$)return tw;f$=1;var e=on(),t=lu(),r=On(),n=sm(),i=Math.min;return tw=[].copyWithin||function(a,u){var l=e(this),f=r(l),d=t(a,f),h=t(u,f),p=arguments.length>2?arguments[2]:void 0,m=i((p===void 0?f:t(p,f))-h,f-d),S=1;for(h<d&&d<h+m&&(S=-1,h+=m-1,d+=m-1);m-- >0;)h in l?l[d]=l[h]:n(l,d),d+=S,h+=S;return l},tw}var d$;function Gae(){if(d$)return l$;d$=1;var e=Ie(),t=lQ(),r=Ma();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),l$}var h$={},rw,p$;function fu(){if(p$)return rw;p$=1;var e=Lt();return rw=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},rw}var v$;function Kae(){if(v$)return h$;v$=1;var e=Ie(),t=Wi().every,r=fu(),n=r("every");return e({target:"Array",proto:!0,forced:!n},{every:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),h$}var g$={},nw,m$;function XC(){if(m$)return nw;m$=1;var e=on(),t=lu(),r=On();return nw=function(i){for(var o=e(this),a=r(o),u=arguments.length,l=t(u>1?arguments[1]:void 0,a),f=u>2?arguments[2]:void 0,d=f===void 0?a:t(f,a);d>l;)o[l++]=i;return o},nw}var y$;function Yae(){if(y$)return g$;y$=1;var e=Ie(),t=XC(),r=Ma();return e({target:"Array",proto:!0},{fill:t}),r("fill"),g$}var _$={},E$;function Xae(){if(E$)return _$;E$=1;var e=Ie(),t=Wi().filter,r=Qh(),n=r("filter");return e({target:"Array",proto:!0,forced:!n},{filter:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),_$}var S$={},w$;function Qae(){if(w$)return S$;w$=1;var e=Ie(),t=Wi().find,r=Ma(),n="find",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{find:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),r(n),S$}var b$={},T$;function Jae(){if(T$)return b$;T$=1;var e=Ie(),t=Wi().findIndex,r=Ma(),n="findIndex",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{findIndex:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),r(n),b$}var A$={},iw,R$;function um(){if(R$)return iw;R$=1;var e=ro(),t=Vf(),r=on(),n=On(),i=function(o){var a=o===1;return function(u,l,f){for(var d=r(u),h=t(d),p=n(h),m=e(l,f),S,E;p-- >0;)if(S=h[p],E=m(S,p,d),E)switch(o){case 0:return S;case 1:return p}return a?-1:void 0}};return iw={findLast:i(0),findLastIndex:i(1)},iw}var x$;function Zae(){if(x$)return A$;x$=1;var e=Ie(),t=um().findLast,r=Ma();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),A$}var C$={},O$;function eoe(){if(O$)return C$;O$=1;var e=Ie(),t=um().findLastIndex,r=Ma();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),C$}var I$={},aw,P$;function cQ(){if(P$)return aw;P$=1;var e=il(),t=On(),r=dc(),n=ro(),i=function(o,a,u,l,f,d,h,p){for(var m=f,S=0,E=h?n(h,p):!1,_,w;S<l;)S in u&&(_=E?E(u[S],S,a):u[S],d>0&&e(_)?(w=t(_),m=i(o,a,_,w,m,d-1)-1):(r(m+1),o[m]=_),m++),S++;return m};return aw=i,aw}var k$;function toe(){if(k$)return I$;k$=1;var e=Ie(),t=cQ(),r=on(),n=On(),i=ii(),o=Yh();return e({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,l=r(this),f=n(l),d=o(l,0);return d.length=t(d,l,l,f,0,u===void 0?1:i(u)),d}}),I$}var D$={},L$;function roe(){if(L$)return D$;L$=1;var e=Ie(),t=cQ(),r=Yr(),n=on(),i=On(),o=Yh();return e({target:"Array",proto:!0},{flatMap:function(u){var l=n(this),f=i(l),d;return r(u),d=o(l,0),d.length=t(d,l,l,f,0,1,u,arguments.length>1?arguments[1]:void 0),d}}),D$}var N$={},ow,M$;function fQ(){if(M$)return ow;M$=1;var e=Wi().forEach,t=fu(),r=t("forEach");return ow=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},ow}var $$;function noe(){if($$)return N$;$$=1;var e=Ie(),t=fQ();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),N$}var F$={},sw,j$;function QC(){if(j$)return sw;j$=1;var e=ur(),t=Gi();return sw=function(r,n,i,o){try{return o?n(e(i)[0],i[1]):n(i)}catch(a){t(r,"throw",a)}},sw}var uw,U$;function dQ(){if(U$)return uw;U$=1;var e=ro(),t=ir(),r=on(),n=QC(),i=YC(),o=lc(),a=On(),u=cu(),l=Xf(),f=fc(),d=Array;return uw=function(p){var m=r(p),S=o(this),E=arguments.length,_=E>1?arguments[1]:void 0,w=_!==void 0;w&&(_=e(_,E>2?arguments[2]:void 0));var T=f(m),C=0,x,R,P,y,N,$;if(T&&!(this===d&&i(T)))for(R=S?new this:[],y=l(m,T),N=y.next;!(P=t(N,y)).done;C++)$=w?n(y,_,[P.value,C],!0):P.value,u(R,C,$);else for(x=a(m),R=S?new this(x):d(x);x>C;C++)$=w?_(m[C],C):m[C],u(R,C,$);return R.length=C,R},uw}var lw,q$;function lm(){if(q$)return lw;q$=1;var e=Cr(),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 lw=function(o,a){try{if(!a&&!r)return!1}catch{return!1}var u=!1;try{var l={};l[t]=function(){return{next:function(){return{done:u=!0}}}},o(l)}catch{}return u},lw}var B$;function ioe(){if(B$)return F$;B$=1;var e=Ie(),t=dQ(),r=lm(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),F$}var V$={},H$;function aoe(){if(H$)return V$;H$=1;var e=Ie(),t=Wh().includes,r=Lt(),n=Ma(),i=r(function(){return!Array(1).includes()});return e({target:"Array",proto:!0,forced:i},{includes:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),n("includes"),V$}var z$={},W$;function ooe(){if(W$)return z$;W$=1;var e=Ie(),t=uc(),r=Wh().indexOf,n=fu(),i=t([].indexOf),o=!!i&&1/i([1],1,-0)<0,a=o||!n("indexOf");return e({target:"Array",proto:!0,forced:a},{indexOf:function(l){var f=arguments.length>1?arguments[1]:void 0;return o?i(this,l,f)||0:r(this,l,f)}}),z$}var G$={},K$;function soe(){if(K$)return G$;K$=1;var e=Ie(),t=il();return e({target:"Array",stat:!0},{isArray:t}),G$}var cw,Y$;function Qf(){if(Y$)return cw;Y$=1;var e=Lt(),t=Qr(),r=xr(),n=zi(),i=Ea(),o=wn(),a=Cr(),u=cn(),l=a("iterator"),f=!1,d,h,p;[].keys&&(p=[].keys(),"next"in p?(h=i(i(p)),h!==Object.prototype&&(d=h)):f=!0);var m=!r(d)||e(function(){var S={};return d[l].call(S)!==S});return m?d={}:u&&(d=n(d)),t(d[l])||o(d,l,function(){return this}),cw={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f},cw}var fw,X$;function JC(){if(X$)return fw;X$=1;var e=Qf().IteratorPrototype,t=zi(),r=Za(),n=Na(),i=Xh(),o=function(){return this};return fw=function(a,u,l,f){var d=u+" Iterator";return a.prototype=t(e,{next:r(+!f,l)}),n(a,d,!1,!0),i[d]=o,a},fw}var dw,Q$;function ZC(){if(Q$)return dw;Q$=1;var e=Ie(),t=ir(),r=cn(),n=Gf(),i=Qr(),o=JC(),a=Ea(),u=Qo(),l=Na(),f=Hi(),d=wn(),h=Cr(),p=Xh(),m=Qf(),S=n.PROPER,E=n.CONFIGURABLE,_=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,T=h("iterator"),C="keys",x="values",R="entries",P=function(){return this};return dw=function(y,N,$,H,B,W,Y){o($,N,H);var Q=function($e){if($e===B&&ee)return ee;if(!w&&$e&&$e in de)return de[$e];switch($e){case C:return function(){return new $(this,$e)};case x:return function(){return new $(this,$e)};case R:return function(){return new $(this,$e)}}return function(){return new $(this)}},ne=N+" Iterator",re=!1,de=y.prototype,G=de[T]||de["@@iterator"]||B&&de[B],ee=!w&&G||Q(B),z=N==="Array"&&de.entries||G,ue,Ee,Oe;if(z&&(ue=a(z.call(new y)),ue!==Object.prototype&&ue.next&&(!r&&a(ue)!==_&&(u?u(ue,_):i(ue[T])||d(ue,T,P)),l(ue,ne,!0,!0),r&&(p[ne]=P))),S&&B===x&&G&&G.name!==x&&(!r&&E?f(de,"name",x):(re=!0,ee=function(){return t(G,this)})),B)if(Ee={values:Q(x),keys:W?ee:Q(C),entries:Q(R)},Y)for(Oe in Ee)(w||re||!(Oe in de))&&d(de,Oe,Ee[Oe]);else e({target:N,proto:!0,forced:w||re},Ee);return(!r||Y)&&de[T]!==ee&&d(de,T,ee,{name:B}),p[N]=ee,Ee},dw}var hw,J$;function hc(){return J$||(J$=1,hw=function(e,t){return{value:e,done:t}}),hw}var pw,Z$;function cm(){if(Z$)return pw;Z$=1;var e=Li(),t=Ma(),r=Xh(),n=ti(),i=qn().f,o=ZC(),a=hc(),u=cn(),l=gr(),f="Array Iterator",d=n.set,h=n.getterFor(f);pw=o(Array,"Array",function(m,S){d(this,{type:f,target:e(m),index:0,kind:S})},function(){var m=h(this),S=m.target,E=m.index++;if(!S||E>=S.length)return m.target=null,a(void 0,!0);switch(m.kind){case"keys":return a(E,!1);case"values":return a(S[E],!1)}return a([E,S[E]],!1)},"values");var p=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!u&&l&&p.name!=="values")try{i(p,"name",{value:"values"})}catch{}return pw}var eF={},tF;function uoe(){if(tF)return eF;tF=1;var e=Ie(),t=Nt(),r=Vf(),n=Li(),i=fu(),o=t([].join),a=r!==Object,u=a||!i("join",",");return e({target:"Array",proto:!0,forced:u},{join:function(f){return o(n(this),f===void 0?",":f)}}),eF}var rF={},vw,nF;function hQ(){if(nF)return vw;nF=1;var e=no(),t=Li(),r=ii(),n=On(),i=fu(),o=Math.min,a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0,l=i("lastIndexOf"),f=u||!l;return vw=f?function(h){if(u)return e(a,this,arguments)||0;var p=t(this),m=n(p);if(m===0)return-1;var S=m-1;for(arguments.length>1&&(S=o(S,r(arguments[1]))),S<0&&(S=m+S);S>=0;S--)if(S in p&&p[S]===h)return S||0;return-1}:a,vw}var iF;function loe(){if(iF)return rF;iF=1;var e=Ie(),t=hQ();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),rF}var aF={},oF;function coe(){if(oF)return aF;oF=1;var e=Ie(),t=Wi().map,r=Qh(),n=r("map");return e({target:"Array",proto:!0,forced:!n},{map:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),aF}var sF={},uF;function foe(){if(uF)return sF;uF=1;var e=Ie(),t=Lt(),r=lc(),n=cu(),i=Array,o=t(function(){function a(){}return!(i.of.call(a)instanceof a)});return e({target:"Array",stat:!0,forced:o},{of:function(){for(var u=0,l=arguments.length,f=new(r(this)?this:i)(l);l>u;)n(f,u,arguments[u++]);return f.length=l,f}}),sF}var lF={},gw,cF;function eO(){if(cF)return gw;cF=1;var e=gr(),t=il(),r=TypeError,n=Object.getOwnPropertyDescriptor,i=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(o){return o instanceof TypeError}})();return gw=i?function(o,a){if(t(o)&&!n(o,"length").writable)throw new r("Cannot set read only .length");return o.length=a}:function(o,a){return o.length=a},gw}var fF;function doe(){if(fF)return lF;fF=1;var e=Ie(),t=on(),r=On(),n=eO(),i=dc(),o=Lt(),a=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(f){return f instanceof TypeError}},l=a||!u();return e({target:"Array",proto:!0,arity:1,forced:l},{push:function(d){var h=t(this),p=r(h),m=arguments.length;i(p+m);for(var S=0;S<m;S++)h[p]=arguments[S],p++;return n(h,p),p}}),lF}var dF={},mw,hF;function fm(){if(hF)return mw;hF=1;var e=Yr(),t=on(),r=Vf(),n=On(),i=TypeError,o="Reduce of empty array with no initial value",a=function(u){return function(l,f,d,h){var p=t(l),m=r(p),S=n(p);if(e(f),S===0&&d<2)throw new i(o);var E=u?S-1:0,_=u?-1:1;if(d<2)for(;;){if(E in m){h=m[E],E+=_;break}if(E+=_,u?E<0:S<=E)throw new i(o)}for(;u?E>=0:S>E;E+=_)E in m&&(h=f(h,m[E],E,p));return h}};return mw={left:a(!1),right:a(!0)},mw}var yw,pF;function dm(){if(pF)return yw;pF=1;var e=Bt(),t=As(),r=ia(),n=function(i){return t.slice(0,i.length)===i};return yw=(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"})(),yw}var _w,vF;function Jf(){if(vF)return _w;vF=1;var e=dm();return _w=e==="NODE",_w}var gF;function hoe(){if(gF)return dF;gF=1;var e=Ie(),t=fm().left,r=fu(),n=Rs(),i=Jf(),o=!i&&n>79&&n<83,a=o||!r("reduce");return e({target:"Array",proto:!0,forced:a},{reduce:function(l){var f=arguments.length;return t(this,l,f,f>1?arguments[1]:void 0)}}),dF}var mF={},yF;function poe(){if(yF)return mF;yF=1;var e=Ie(),t=fm().right,r=fu(),n=Rs(),i=Jf(),o=!i&&n>79&&n<83,a=o||!r("reduceRight");return e({target:"Array",proto:!0,forced:a},{reduceRight:function(l){return t(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}}),mF}var _F={},EF;function voe(){if(EF)return _F;EF=1;var e=Ie(),t=Nt(),r=il(),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)}}),_F}var SF={},wF;function goe(){if(wF)return SF;wF=1;var e=Ie(),t=il(),r=lc(),n=xr(),i=lu(),o=On(),a=Li(),u=cu(),l=Cr(),f=Qh(),d=Po(),h=f("slice"),p=l("species"),m=Array,S=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(_,w){var T=a(this),C=o(T),x=i(_,C),R=i(w===void 0?C:w,C),P,y,N;if(t(T)&&(P=T.constructor,r(P)&&(P===m||t(P.prototype))?P=void 0:n(P)&&(P=P[p],P===null&&(P=void 0)),P===m||P===void 0))return d(T,x,R);for(y=new(P===void 0?m:P)(S(R-x,0)),N=0;x<R;x++,N++)x in T&&u(y,N,T[x]);return y.length=N,y}}),SF}var bF={},TF;function moe(){if(TF)return bF;TF=1;var e=Ie(),t=Wi().some,r=fu(),n=r("some");return e({target:"Array",proto:!0,forced:!n},{some:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),bF}var AF={},Ew,RF;function tO(){if(RF)return Ew;RF=1;var e=Po(),t=Math.floor,r=function(n,i){var o=n.length;if(o<8)for(var a=1,u,l;a<o;){for(l=a,u=n[a];l&&i(n[l-1],u)>0;)n[l]=n[--l];l!==a++&&(n[l]=u)}else for(var f=t(o/2),d=r(e(n,0,f),i),h=r(e(n,f),i),p=d.length,m=h.length,S=0,E=0;S<p||E<m;)n[S+E]=S<p&&E<m?i(d[S],h[E])<=0?d[S++]:h[E++]:S<p?d[S++]:h[E++];return n};return Ew=r,Ew}var Sw,xF;function pQ(){if(xF)return Sw;xF=1;var e=As(),t=e.match(/firefox\/(\d+)/i);return Sw=!!t&&+t[1],Sw}var ww,CF;function vQ(){if(CF)return ww;CF=1;var e=As();return ww=/MSIE|Trident/.test(e),ww}var bw,OF;function rO(){if(OF)return bw;OF=1;var e=As(),t=e.match(/AppleWebKit\/(\d+)\./);return bw=!!t&&+t[1],bw}var IF;function yoe(){if(IF)return AF;IF=1;var e=Ie(),t=Nt(),r=Yr(),n=on(),i=On(),o=sm(),a=Mr(),u=Lt(),l=tO(),f=fu(),d=pQ(),h=vQ(),p=Rs(),m=rO(),S=[],E=t(S.sort),_=t(S.push),w=u(function(){S.sort(void 0)}),T=u(function(){S.sort(null)}),C=f("sort"),x=!u(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(m)return m<603;var y="",N,$,H,B;for(N=65;N<76;N++){switch($=String.fromCharCode(N),N){case 66:case 69:case 70:case 72:H=3;break;case 68:case 71:H=4;break;default:H=2}for(B=0;B<47;B++)S.push({k:$+B,v:H})}for(S.sort(function(W,Y){return Y.v-W.v}),B=0;B<S.length;B++)$=S[B].k.charAt(0),y.charAt(y.length-1)!==$&&(y+=$);return y!=="DGBEFHACIJK"}}),R=w||!T||!C||!x,P=function(y){return function(N,$){return $===void 0?-1:N===void 0?1:y!==void 0?+y(N,$)||0:a(N)>a($)?1:-1}};return e({target:"Array",proto:!0,forced:R},{sort:function(N){N!==void 0&&r(N);var $=n(this);if(x)return N===void 0?E($):E($,N);var H=[],B=i($),W,Y;for(Y=0;Y<B;Y++)Y in $&&_(H,$[Y]);for(l(H,P(N)),W=i(H),Y=0;Y<W;)$[Y]=H[Y++];for(;Y<B;)o($,Y++);return $}}),AF}var PF={},Tw,kF;function Zf(){if(kF)return Tw;kF=1;var e=Kr(),t=pi(),r=Cr(),n=gr(),i=r("species");return Tw=function(o){var a=e(o);n&&a&&!a[i]&&t(a,i,{configurable:!0,get:function(){return this}})},Tw}var DF;function _oe(){if(DF)return PF;DF=1;var e=Zf();return e("Array"),PF}var LF={},NF;function Eoe(){if(NF)return LF;NF=1;var e=Ie(),t=on(),r=lu(),n=ii(),i=On(),o=eO(),a=dc(),u=Yh(),l=cu(),f=sm(),d=Qh(),h=d("splice"),p=Math.max,m=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(E,_){var w=t(this),T=i(w),C=r(E,T),x=arguments.length,R,P,y,N,$,H;for(x===0?R=P=0:x===1?(R=0,P=T-C):(R=x-2,P=m(p(n(_),0),T-C)),a(T+R-P),y=u(w,P),N=0;N<P;N++)$=C+N,$ in w&&l(y,N,w[$]);if(y.length=P,R<P){for(N=C;N<T-P;N++)$=N+P,H=N+R,$ in w?w[H]=w[$]:f(w,H);for(N=T;N>T-P+R;N--)f(w,N-1)}else if(R>P)for(N=T-P;N>C;N--)$=N+P-1,H=N+R-1,$ in w?w[H]=w[$]:f(w,H);for(N=0;N<R;N++)w[N+C]=arguments[N+2];return o(w,T-P+R),y}}),LF}var MF={},Aw,$F;function gQ(){if($F)return Aw;$F=1;var e=On();return Aw=function(t,r){for(var n=e(t),i=new r(n),o=0;o<n;o++)i[o]=t[n-o-1];return i},Aw}var FF;function Soe(){if(FF)return MF;FF=1;var e=Ie(),t=gQ(),r=Li(),n=Ma(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),MF}var jF={},Rw,UF;function Jh(){if(UF)return Rw;UF=1;var e=On();return Rw=function(t,r,n){for(var i=0,o=arguments.length>2?n:e(r),a=new t(o);o>i;)a[i]=r[i++];return a},Rw}var xw,qF;function mQ(){if(qF)return xw;qF=1;var e=Bt();return xw=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},xw}var BF;function woe(){if(BF)return jF;BF=1;var e=Ie(),t=Nt(),r=Yr(),n=Li(),i=Jh(),o=mQ(),a=Ma(),u=Array,l=t(o("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),p=i(u,h);return l(p,d)}}),a("toSorted"),jF}var VF={},HF;function boe(){if(HF)return VF;HF=1;var e=Ie(),t=Ma(),r=dc(),n=On(),i=lu(),o=Li(),a=ii(),u=Array,l=Math.max,f=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,p){var m=o(this),S=n(m),E=i(h,S),_=arguments.length,w=0,T,C,x,R;for(_===0?T=C=0:_===1?(T=0,C=S-E):(T=_-2,C=f(l(a(p),0),S-E)),x=r(S+T-C),R=u(x);w<E;w++)R[w]=m[w];for(;w<E+T;w++)R[w]=arguments[w-E+2];for(;w<x;w++)R[w]=m[w+C-T];return R}}),t("toSpliced"),VF}var zF={},WF;function Toe(){if(WF)return zF;WF=1;var e=Ma();return e("flat"),zF}var GF={},KF;function Aoe(){if(KF)return GF;KF=1;var e=Ma();return e("flatMap"),GF}var YF={},XF;function Roe(){if(XF)return YF;XF=1;var e=Ie(),t=on(),r=On(),n=eO(),i=sm(),o=dc(),a=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(f){return f instanceof TypeError}},l=a||!u();return e({target:"Array",proto:!0,arity:1,forced:l},{unshift:function(d){var h=t(this),p=r(h),m=arguments.length;if(m){o(p+m);for(var S=p;S--;){var E=S+m;S in h?h[E]=h[S]:i(h,E)}for(var _=0;_<m;_++)h[_]=arguments[_]}return n(h,p+m)}}),YF}var QF={},Cw,JF;function yQ(){if(JF)return Cw;JF=1;var e=On(),t=ii(),r=RangeError;return Cw=function(n,i,o,a){var u=e(n),l=t(o),f=l<0?u+l:l;if(f>=u||f<0)throw new r("Incorrect index");for(var d=new i(u),h=0;h<u;h++)d[h]=h===f?a:n[h];return d},Cw}var ZF;function xoe(){if(ZF)return QF;ZF=1;var e=Ie(),t=yQ(),r=Li(),n=Array,i=(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(o){return o!==4}})();return e({target:"Array",proto:!0,forced:i},{with:function(o,a){return t(r(this),n,o,a)}}),QF}var ej={},Ow,tj;function hm(){return tj||(tj=1,Ow=typeof ArrayBuffer<"u"&&typeof DataView<"u"),Ow}var Iw,rj;function du(){if(rj)return Iw;rj=1;var e=wn();return Iw=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},Iw}var Pw,nj;function io(){if(nj)return Pw;nj=1;var e=_a(),t=TypeError;return Pw=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},Pw}var kw,ij;function pm(){if(ij)return kw;ij=1;var e=ii(),t=eo(),r=RangeError;return kw=function(n){if(n===void 0)return 0;var i=e(n),o=t(i);if(i!==o)throw new r("Wrong length or index");return o},kw}var Dw,aj;function nO(){return aj||(aj=1,Dw=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),Dw}var Lw,oj;function _Q(){if(oj)return Lw;oj=1;var e=2220446049250313e-31,t=1/e;return Lw=function(r){return r+t-t},Lw}var Nw,sj;function EQ(){if(sj)return Nw;sj=1;var e=nO(),t=_Q(),r=Math.abs,n=2220446049250313e-31;return Nw=function(i,o,a,u){var l=+i,f=r(l),d=e(l);if(f<u)return d*t(f/u/o)*u*o;var h=(1+o/n)*f,p=h-(h-f);return p>a||p!==p?d*(1/0):d*p},Nw}var Mw,uj;function SQ(){if(uj)return Mw;uj=1;var e=EQ(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return Mw=Math.fround||function(o){return e(o,t,r,n)},Mw}var $w,lj;function Coe(){if(lj)return $w;lj=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,o=Math.LN2,a=function(l,f,d){var h=e(d),p=d*8-f-1,m=(1<<p)-1,S=m>>1,E=f===23?r(2,-24)-r(2,-77):0,_=l<0||l===0&&1/l<0?1:0,w=0,T,C,x;for(l=t(l),l!==l||l===1/0?(C=l!==l?1:0,T=m):(T=n(i(l)/o),x=r(2,-T),l*x<1&&(T--,x*=2),T+S>=1?l+=E/x:l+=E*r(2,1-S),l*x>=2&&(T++,x/=2),T+S>=m?(C=0,T=m):T+S>=1?(C=(l*x-1)*r(2,f),T+=S):(C=l*r(2,S-1)*r(2,f),T=0));f>=8;)h[w++]=C&255,C/=256,f-=8;for(T=T<<f|C,p+=f;p>0;)h[w++]=T&255,T/=256,p-=8;return h[w-1]|=_*128,h},u=function(l,f){var d=l.length,h=d*8-f-1,p=(1<<h)-1,m=p>>1,S=h-7,E=d-1,_=l[E--],w=_&127,T;for(_>>=7;S>0;)w=w*256+l[E--],S-=8;for(T=w&(1<<-S)-1,w>>=-S,S+=f;S>0;)T=T*256+l[E--],S-=8;if(w===0)w=1-m;else{if(w===p)return T?NaN:_?-1/0:1/0;T+=r(2,f),w-=m}return(_?-1:1)*T*r(2,w-f)};return $w={pack:a,unpack:u},$w}var Fw,cj;function vm(){if(cj)return Fw;cj=1;var e=Bt(),t=Nt(),r=gr(),n=hm(),i=Gf(),o=Hi(),a=pi(),u=du(),l=Lt(),f=io(),d=ii(),h=eo(),p=pm(),m=SQ(),S=Coe(),E=Ea(),_=Qo(),w=XC(),T=Po(),C=cc(),x=Kf(),R=Na(),P=ti(),y=i.PROPER,N=i.CONFIGURABLE,$="ArrayBuffer",H="DataView",B="prototype",W="Wrong length",Y="Wrong index",Q=P.getterFor($),ne=P.getterFor(H),re=P.set,de=e[$],G=de,ee=G&&G[B],z=e[H],ue=z&&z[B],Ee=Object.prototype,Oe=e.Array,$e=e.RangeError,Ve=t(w),ae=t([].reverse),O=S.pack,I=S.unpack,M=function(me){return[me&255]},k=function(me){return[me&255,me>>8&255]},U=function(me){return[me&255,me>>8&255,me>>16&255,me>>24&255]},K=function(me){return me[3]<<24|me[2]<<16|me[1]<<8|me[0]},ie=function(me){return O(m(me),23,4)},ye=function(me){return O(me,52,8)},ve=function(me,_e,Le){a(me[B],_e,{configurable:!0,get:function(){return Le(this)[_e]}})},Re=function(me,_e,Le,Me){var Ne=ne(me),Ge=p(Le),it=!!Me;if(Ge+_e>Ne.byteLength)throw new $e(Y);var Dt=Ne.bytes,rr=Ge+Ne.byteOffset,Ke=T(Dt,rr,rr+_e);return it?Ke:ae(Ke)},Se=function(me,_e,Le,Me,Ne,Ge){var it=ne(me),Dt=p(Le),rr=Me(+Ne),Ke=!!Ge;if(Dt+_e>it.byteLength)throw new $e(Y);for(var _t=it.bytes,vt=Dt+it.byteOffset,rt=0;rt<_e;rt++)_t[vt+rt]=rr[Ke?rt:_e-rt-1]};if(!n)G=function(_e){f(this,ee);var Le=p(_e);re(this,{type:$,bytes:Ve(Oe(Le),0),byteLength:Le}),r||(this.byteLength=Le,this.detached=!1)},ee=G[B],z=function(_e,Le,Me){f(this,ue),f(_e,ee);var Ne=Q(_e),Ge=Ne.byteLength,it=d(Le);if(it<0||it>Ge)throw new $e("Wrong offset");if(Me=Me===void 0?Ge-it:h(Me),it+Me>Ge)throw new $e(W);re(this,{type:H,buffer:_e,byteLength:Me,byteOffset:it,bytes:Ne.bytes}),r||(this.buffer=_e,this.byteLength=Me,this.byteOffset=it)},ue=z[B],r&&(ve(G,"byteLength",Q),ve(z,"buffer",ne),ve(z,"byteLength",ne),ve(z,"byteOffset",ne)),u(ue,{getInt8:function(_e){return Re(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Re(this,1,_e)[0]},getInt16:function(_e){var Le=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return(Le[1]<<8|Le[0])<<16>>16},getUint16:function(_e){var Le=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return Le[1]<<8|Le[0]},getInt32:function(_e){return K(Re(this,4,_e,arguments.length>1?arguments[1]:!1))},getUint32:function(_e){return K(Re(this,4,_e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(_e){return I(Re(this,4,_e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(_e){return I(Re(this,8,_e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(_e,Le){Se(this,1,_e,M,Le)},setUint8:function(_e,Le){Se(this,1,_e,M,Le)},setInt16:function(_e,Le){Se(this,2,_e,k,Le,arguments.length>2?arguments[2]:!1)},setUint16:function(_e,Le){Se(this,2,_e,k,Le,arguments.length>2?arguments[2]:!1)},setInt32:function(_e,Le){Se(this,4,_e,U,Le,arguments.length>2?arguments[2]:!1)},setUint32:function(_e,Le){Se(this,4,_e,U,Le,arguments.length>2?arguments[2]:!1)},setFloat32:function(_e,Le){Se(this,4,_e,ie,Le,arguments.length>2?arguments[2]:!1)},setFloat64:function(_e,Le){Se(this,8,_e,ye,Le,arguments.length>2?arguments[2]:!1)}});else{var xe=y&&de.name!==$;!l(function(){de(1)})||!l(function(){new de(-1)})||l(function(){return new de,new de(1.5),new de(NaN),de.length!==1||xe&&!N})?(G=function(_e){return f(this,ee),C(new de(p(_e)),this,G)},G[B]=ee,ee.constructor=G,x(G,de)):xe&&N&&o(de,"name",$),_&&E(ue)!==Ee&&_(ue,Ee);var De=new z(new G(2)),he=t(ue.setInt8);De.setInt8(0,2147483648),De.setInt8(1,2147483649),(De.getInt8(0)||!De.getInt8(1))&&u(ue,{setInt8:function(_e,Le){he(this,_e,Le<<24>>24)},setUint8:function(_e,Le){he(this,_e,Le<<24>>24)}},{unsafe:!0})}return R(G,$),R(z,H),Fw={ArrayBuffer:G,DataView:z},Fw}var fj;function Ooe(){if(fj)return ej;fj=1;var e=Ie(),t=Bt(),r=vm(),n=Zf(),i="ArrayBuffer",o=r[i],a=t[i];return e({global:!0,constructor:!0,forced:a!==o},{ArrayBuffer:o}),n(i),ej}var dj={},jw,hj;function Jr(){if(hj)return jw;hj=1;var e=hm(),t=gr(),r=Bt(),n=Qr(),i=xr(),o=Xr(),a=to(),u=oc(),l=Hi(),f=wn(),d=pi(),h=_a(),p=Ea(),m=Qo(),S=Cr(),E=Wf(),_=ti(),w=_.enforce,T=_.get,C=r.Int8Array,x=C&&C.prototype,R=r.Uint8ClampedArray,P=R&&R.prototype,y=C&&p(C),N=x&&p(x),$=Object.prototype,H=r.TypeError,B=S("toStringTag"),W=E("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",Q=e&&!!m&&a(r.opera)!=="Opera",ne=!1,re,de,G,ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},ue=function(M){if(!i(M))return!1;var k=a(M);return k==="DataView"||o(ee,k)||o(z,k)},Ee=function(I){var M=p(I);if(i(M)){var k=T(M);return k&&o(k,Y)?k[Y]:Ee(M)}},Oe=function(I){if(!i(I))return!1;var M=a(I);return o(ee,M)||o(z,M)},$e=function(I){if(Oe(I))return I;throw new H("Target is not a typed array")},Ve=function(I){if(n(I)&&(!m||h(y,I)))return I;throw new H(u(I)+" is not a typed array constructor")},ae=function(I,M,k,U){if(t){if(k)for(var K in ee){var ie=r[K];if(ie&&o(ie.prototype,I))try{delete ie.prototype[I]}catch{try{ie.prototype[I]=M}catch{}}}(!N[I]||k)&&f(N,I,k?M:Q&&x[I]||M,U)}},O=function(I,M,k){var U,K;if(t){if(m){if(k){for(U in ee)if(K=r[U],K&&o(K,I))try{delete K[I]}catch{}}if(!y[I]||k)try{return f(y,I,k?M:Q&&y[I]||M)}catch{}else return}for(U in ee)K=r[U],K&&(!K[I]||k)&&f(K,I,M)}};for(re in ee)de=r[re],G=de&&de.prototype,G?w(G)[Y]=de:Q=!1;for(re in z)de=r[re],G=de&&de.prototype,G&&(w(G)[Y]=de);if((!Q||!n(y)||y===Function.prototype)&&(y=function(){throw new H("Incorrect invocation")},Q))for(re in ee)r[re]&&m(r[re],y);if((!Q||!N||N===$)&&(N=y.prototype,Q))for(re in ee)r[re]&&m(r[re].prototype,N);if(Q&&p(P)!==N&&m(P,N),t&&!o(N,B)){ne=!0,d(N,B,{configurable:!0,get:function(){return i(this)?this[W]:void 0}});for(re in ee)r[re]&&l(r[re],W,re)}return jw={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:ne&&W,aTypedArray:$e,aTypedArrayConstructor:Ve,exportTypedArrayMethod:ae,exportTypedArrayStaticMethod:O,getTypedArrayConstructor:Ee,isView:ue,isTypedArray:Oe,TypedArray:y,TypedArrayPrototype:N},jw}var pj;function Ioe(){if(pj)return dj;pj=1;var e=Ie(),t=Jr(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),dj}var vj={},gj;function Poe(){if(gj)return vj;gj=1;var e=Ie(),t=uc(),r=Lt(),n=vm(),i=ur(),o=lu(),a=eo(),u=n.ArrayBuffer,l=n.DataView,f=l.prototype,d=t(u.prototype.slice),h=t(f.getUint8),p=t(f.setUint8),m=r(function(){return!new u(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:m},{slice:function(E,_){if(d&&_===void 0)return d(i(this),E);for(var w=i(this).byteLength,T=o(E,w),C=o(_===void 0?w:_,w),x=new u(a(C-T)),R=new l(this),P=new l(x),y=0;T<C;)p(P,y++,h(R,T++));return x}}),vj}var mj={},yj={},_j;function koe(){if(_j)return yj;_j=1;var e=Ie(),t=vm(),r=hm();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),yj}var Ej;function Doe(){return Ej||(Ej=1,koe()),mj}var Sj={},wj;function Loe(){if(wj)return Sj;wj=1;var e=Ie(),t=Nt(),r=Math.pow,n=31,i=1023,o=r(2,-24),a=.0009765625,u=function(f){var d=f>>>15,h=f>>>10&n,p=f&i;return h===n?p===0?d===0?1/0:-1/0:NaN:h===0?p*(d===0?o:-o):r(2,h-15)*(d===0?1+p*a:-1-p*a)},l=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return u(l(this,d,arguments.length>1?arguments[1]:!1))}}),Sj}var bj={},Uw,Tj;function Noe(){if(Tj)return Uw;Tj=1;var e=to(),t=TypeError;return Uw=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},Uw}var qw,Aj;function wQ(){if(Aj)return qw;Aj=1;var e=Math.log,t=Math.LN2;return qw=Math.log2||function(n){return e(n)/t},qw}var Rj;function Moe(){if(Rj)return bj;Rj=1;var e=Ie(),t=Nt(),r=Noe(),n=pm(),i=wQ(),o=_Q(),a=Math.pow,u=65520,l=61005353927612305e-21,f=16777216,d=1024,h=function(m){if(m!==m)return 32256;if(m===0)return(1/m===-1/0)<<15;var S=m<0;if(S&&(m=-m),m>=u)return S<<15|31744;if(m<l)return S<<15|o(m*f);var E=i(m)|0;if(E===-15)return S<<15|d;var _=o((m*a(2,-E)-1)*d);return _===d?S<<15|E+16<<10:S<<15|E+15<<10|_},p=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(S,E){p(r(this),n(S),h(+E),arguments.length>2?arguments[2]:!1)}}),bj}var xj={},Bw,Cj;function bQ(){if(Cj)return Bw;Cj=1;var e=Bt(),t=om(),r=ia(),n=e.ArrayBuffer,i=e.TypeError;return Bw=n&&t(n.prototype,"byteLength","get")||function(o){if(r(o)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return o.byteLength},Bw}var Vw,Oj;function TQ(){if(Oj)return Vw;Oj=1;var e=Bt(),t=hm(),r=bQ(),n=e.DataView;return Vw=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},Vw}var Ij;function $oe(){if(Ij)return xj;Ij=1;var e=gr(),t=pi(),r=TQ(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),xj}var Pj={},Hw,kj;function Zh(){if(kj)return Hw;kj=1;var e=TQ(),t=TypeError;return Hw=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},Hw}var zw,Dj;function AQ(){if(Dj)return zw;Dj=1;var e=Bt(),t=Jf();return zw=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},zw}var Ww,Lj;function iO(){if(Lj)return Ww;Lj=1;var e=Bt(),t=Lt(),r=Rs(),n=dm(),i=e.structuredClone;return Ww=!!i&&!t(function(){if(n==="DENO"&&r>92||n==="NODE"&&r>94||n==="BROWSER"&&r>97)return!1;var o=new ArrayBuffer(8),a=i(o,{transfer:[o]});return o.byteLength!==0||a.byteLength!==8}),Ww}var Gw,Nj;function RQ(){if(Nj)return Gw;Nj=1;var e=Bt(),t=AQ(),r=iO(),n=e.structuredClone,i=e.ArrayBuffer,o=e.MessageChannel,a=!1,u,l,f,d;if(r)a=function(h){n(h,{transfer:[h]})};else if(i)try{o||(u=t("worker_threads"),u&&(o=u.MessageChannel)),o&&(l=new o,f=new i(2),d=function(h){l.port1.postMessage(null,[h])},f.byteLength===2&&(d(f),f.byteLength===0&&(a=d)))}catch{}return Gw=a,Gw}var Kw,Mj;function xQ(){if(Mj)return Kw;Mj=1;var e=Bt(),t=Nt(),r=om(),n=pm(),i=Zh(),o=bQ(),a=RQ(),u=iO(),l=e.structuredClone,f=e.ArrayBuffer,d=e.DataView,h=Math.min,p=f.prototype,m=d.prototype,S=t(p.slice),E=r(p,"resizable","get"),_=r(p,"maxByteLength","get"),w=t(m.getInt8),T=t(m.setInt8);return Kw=(u||a)&&function(C,x,R){var P=o(C),y=x===void 0?P:n(x),N=!E||!E(C),$;if(i(C),u&&(C=l(C,{transfer:[C]}),P===y&&(R||N)))return C;if(P>=y&&(!R||N))$=S(C,0,y);else{var H=R&&!N&&_?{maxByteLength:_(C)}:void 0;$=new f(y,H);for(var B=new d(C),W=new d($),Y=h(y,P),Q=0;Q<Y;Q++)T(W,Q,w(B,Q))}return u||a(C),$},Kw}var $j;function Foe(){if($j)return Pj;$j=1;var e=Ie(),t=xQ();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),Pj}var Fj={},jj;function joe(){if(jj)return Fj;jj=1;var e=Ie(),t=xQ();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),Fj}var Uj={},qj;function Uoe(){if(qj)return Uj;qj=1;var e=Ie(),t=Nt(),r=Lt(),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}}),Uj}var Bj={},Vj;function qoe(){if(Vj)return Bj;Vj=1;var e=Ie(),t=Nt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),Bj}var Hj={},zj;function Boe(){if(zj)return Hj;zj=1;var e=Ie(),t=Nt(),r=ii(),n=Date.prototype,i=t(n.getTime),o=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(u){i(this);var l=r(u),f=l>=0&&l<=99?l+1900:l;return o(this,f)}}),Hj}var Wj={},Gj;function Voe(){if(Gj)return Wj;Gj=1;var e=Ie();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),Wj}var Kj={},Yw,Yj;function gm(){if(Yj)return Yw;Yj=1;var e=ii(),t=Mr(),r=Gn(),n=RangeError;return Yw=function(o){var a=t(r(this)),u="",l=e(o);if(l<0||l===1/0)throw new n("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(a+=a))l&1&&(u+=a);return u},Yw}var Xw,Xj;function mm(){if(Xj)return Xw;Xj=1;var e=Nt(),t=eo(),r=Mr(),n=gm(),i=Gn(),o=e(n),a=e("".slice),u=Math.ceil,l=function(f){return function(d,h,p){var m=r(i(d)),S=t(h),E=m.length,_=p===void 0?" ":r(p),w,T;return S<=E||_===""?m:(w=S-E,T=o(_,u(w/_.length)),T.length>w&&(T=a(T,0,w)),f?m+T:T+m)}};return Xw={start:l(!1),end:l(!0)},Xw}var Qw,Qj;function Hoe(){if(Qj)return Qw;Qj=1;var e=Nt(),t=Lt(),r=mm().start,n=RangeError,i=isFinite,o=Math.abs,a=Date.prototype,u=a.toISOString,l=e(a.getTime),f=e(a.getUTCDate),d=e(a.getUTCFullYear),h=e(a.getUTCHours),p=e(a.getUTCMilliseconds),m=e(a.getUTCMinutes),S=e(a.getUTCMonth),E=e(a.getUTCSeconds);return Qw=t(function(){return u.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){u.call(new Date(NaN))})?function(){if(!i(l(this)))throw new n("Invalid time value");var w=this,T=d(w),C=p(w),x=T<0?"-":T>9999?"+":"";return x+r(o(T),x?6:4,0)+"-"+r(S(w)+1,2,0)+"-"+r(f(w),2,0)+"T"+r(h(w),2,0)+":"+r(m(w),2,0)+":"+r(E(w),2,0)+"."+r(C,3,0)+"Z"}:u,Qw}var Jj;function zoe(){if(Jj)return Kj;Jj=1;var e=Ie(),t=Hoe();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),Kj}var Zj={},eU;function Woe(){if(eU)return Zj;eU=1;var e=Ie(),t=Lt(),r=on(),n=tm(),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(a){var u=r(this),l=n(u,"number");return typeof l=="number"&&!isFinite(l)?null:u.toISOString()}}),Zj}var tU={},Jw,rU;function Goe(){if(rU)return Jw;rU=1;var e=ur(),t=zX(),r=TypeError;return Jw=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},Jw}var nU;function Koe(){if(nU)return tU;nU=1;var e=Xr(),t=wn(),r=Goe(),n=Cr(),i=n("toPrimitive"),o=Date.prototype;return e(o,i)||t(o,i,r),tU}var iU={},aU;function Yoe(){if(aU)return iU;aU=1;var e=Nt(),t=wn(),r=Date.prototype,n="Invalid Date",i="toString",o=e(r[i]),a=e(r.getTime);return String(new Date(NaN))!==n&&t(r,i,function(){var l=a(this);return l===l?o(this):n}),iU}var oU={},Zw,sU;function CQ(){if(sU)return Zw;sU=1;var e=Kr(),t=ir(),r=Nt(),n=ro(),i=ur(),o=Yr(),a=uu(),u=Bi(),l=Cr(),f=l("asyncDispose"),d=l("dispose"),h=r([].push),p=function(S,E){if(E==="async-dispose"){var _=u(S,f);return _!==void 0||(_=u(S,d),_===void 0)?_:function(){var w=this,T=e("Promise");return new T(function(C){t(_,w),C(void 0)})}}return u(S,d)},m=function(S,E,_){return arguments.length<3&&!a(S)&&(_=o(p(i(S),E))),_===void 0?function(){}:n(_,S)};return Zw=function(S,E,_,w){var T;if(arguments.length<4){if(a(E)&&_==="sync-dispose")return;T=m(E,_)}else T=m(void 0,_,w);h(S.stack,T)},Zw}var uU;function Xoe(){if(uU)return oU;uU=1;var e=Ie(),t=gr(),r=Kr(),n=Yr(),i=io(),o=wn(),a=du(),u=pi(),l=Cr(),f=ti(),d=CQ(),h=r("SuppressedError"),p=ReferenceError,m=l("dispose"),S=l("toStringTag"),E="DisposableStack",_=f.set,w=f.getterFor(E),T="sync-dispose",C="disposed",x="pending",R=function(N){var $=w(N);if($.state===C)throw new p(E+" already disposed");return $},P=function(){_(i(this,y),{type:E,state:x,stack:[]}),t||(this.disposed=!1)},y=P.prototype;return a(y,{dispose:function(){var $=w(this);if($.state!==C){$.state=C,t||(this.disposed=!0);for(var H=$.stack,B=H.length,W=!1,Y;B;){var Q=H[--B];H[B]=null;try{Q()}catch(ne){W?Y=new h(ne,Y):(W=!0,Y=ne)}}if($.stack=null,W)throw Y}},use:function($){return d(R(this),$,T),$},adopt:function($,H){var B=R(this);return n(H),d(B,void 0,T,function(){H($)}),$},defer:function($){var H=R(this);n($),d(H,void 0,T,$)},move:function(){var $=R(this),H=new P;return w(H).stack=$.stack,$.stack=[],$.state=C,t||(this.disposed=!0),H}}),t&&u(y,"disposed",{configurable:!0,get:function(){return w(this).state===C}}),o(y,m,y.dispose,{name:"dispose"}),o(y,S,E,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:P}),oU}var lU={},cU;function Qoe(){if(cU)return lU;cU=1;var e=Ie(),t=Nt(),r=Mr(),n=t("".charAt),i=t("".charCodeAt),o=t(/./.exec),a=t(1.1.toString),u=t("".toUpperCase),l=/[\w*+\-./@]/,f=function(d,h){for(var p=a(d,16);p.length<h;)p="0"+p;return p};return e({global:!0},{escape:function(h){for(var p=r(h),m="",S=p.length,E=0,_,w;E<S;)_=n(p,E++),o(l,_)?m+=_:(w=i(_,0),w<256?m+="%"+f(w,2):m+="%u"+u(f(w,4)));return m}}),lU}var fU={},e0,dU;function OQ(){if(dU)return e0;dU=1;var e=Nt(),t=Yr(),r=xr(),n=Xr(),i=Po(),o=Hh(),a=Function,u=e([].concat),l=e([].join),f={},d=function(h,p,m){if(!n(f,p)){for(var S=[],E=0;E<p;E++)S[E]="a["+E+"]";f[p]=a("C,a","return new C("+l(S,",")+")")}return f[p](h,m)};return e0=o?a.bind:function(p){var m=t(this),S=m.prototype,E=i(arguments,1),_=function(){var T=u(E,i(arguments));return this instanceof _?d(m,T.length,T):m.apply(p,T)};return r(S)&&(_.prototype=S),_},e0}var hU;function Joe(){if(hU)return fU;hU=1;var e=Ie(),t=OQ();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),fU}var pU={},vU;function Zoe(){if(vU)return pU;vU=1;var e=Qr(),t=xr(),r=qn(),n=_a(),i=Cr(),o=UC(),a=i("hasInstance"),u=Function.prototype;return a in u||r.f(u,a,{value:o(function(l){if(!e(this)||!t(l))return!1;var f=this.prototype;return t(f)?n(f,l):l instanceof this},a)}),pU}var gU={},mU;function ese(){if(mU)return gU;mU=1;var e=gr(),t=Gf().EXISTS,r=Nt(),n=pi(),i=Function.prototype,o=r(i.toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=r(a.exec),l="name";return e&&!t&&n(i,l,{configurable:!0,get:function(){try{return u(a,o(this))[1]}catch{return""}}}),gU}var yU={},_U;function tse(){if(_U)return yU;_U=1;var e=Ie(),t=Bt();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),yU}var EU={},SU;function rse(){if(SU)return EU;SU=1;var e=Ie(),t=Bt(),r=io(),n=ur(),i=Qr(),o=Ea(),a=pi(),u=cu(),l=Lt(),f=Xr(),d=Cr(),h=Qf().IteratorPrototype,p=gr(),m=cn(),S="constructor",E="Iterator",_=d("toStringTag"),w=TypeError,T=t[E],C=m||!i(T)||T.prototype!==h||!l(function(){T({})}),x=function(){if(r(this,h),o(this)===h)throw new w("Abstract class Iterator not directly constructable")},R=function(P,y){p?a(h,P,{configurable:!0,get:function(){return y},set:function(N){if(n(this),this===h)throw new w("You can't redefine this property");f(this,P)?this[P]=N:u(this,P,N)}}):h[P]=y};return f(h,_)||R(_,E),(C||!f(h,S)||h[S]===Object)&&R(S,x),x.prototype=h,e({global:!0,constructor:!0,forced:C},{Iterator:x}),EU}var wU={},bU;function nse(){if(bU)return wU;bU=1;var e=ir(),t=wn(),r=Bi(),n=Xr(),i=Cr(),o=Qf().IteratorPrototype,a=i("dispose");return n(o,a)||t(o,a,function(){var u=r(this,"return");u&&e(u,this)}),wU}var TU={},t0,AU;function oa(){return AU||(AU=1,t0=function(e){return{iterator:e,next:e.next,done:!1}}),t0}var r0,RU;function IQ(){if(RU)return r0;RU=1;var e=RangeError;return r0=function(t){if(t===t)return t;throw new e("NaN is not allowed")},r0}var n0,xU;function aO(){if(xU)return n0;xU=1;var e=ii(),t=RangeError;return n0=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},n0}var i0,CU;function ise(){if(CU)return i0;CU=1;var e=Gi();return i0=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(o){r="throw",n=o}if(r==="throw")throw n;return n},i0}var a0,OU;function ed(){if(OU)return a0;OU=1;var e=ir(),t=zi(),r=Hi(),n=du(),i=Cr(),o=ti(),a=Bi(),u=Qf().IteratorPrototype,l=hc(),f=Gi(),d=ise(),h=i("toStringTag"),p="IteratorHelper",m="WrapForValidIterator",S="normal",E="throw",_=o.set,w=function(x){var R=o.getterFor(x?m:p);return n(t(u),{next:function(){var y=R(this);if(x)return y.nextHandler();if(y.done)return l(void 0,!0);try{var N=y.nextHandler();return y.returnHandlerResult?N:l(N,y.done)}catch($){throw y.done=!0,$}},return:function(){var P=R(this),y=P.iterator;if(P.done=!0,x){var N=a(y,"return");return N?e(N,y):l(void 0,!0)}if(P.inner)try{f(P.inner.iterator,S)}catch($){return f(y,E,$)}if(P.openIters)try{d(P.openIters,S)}catch($){return f(y,E,$)}return y&&f(y,S),l(void 0,!0)}})},T=w(!0),C=w(!1);return r(C,h,"Iterator Helper"),a0=function(x,R,P){var y=function($,H){H?(H.iterator=$.iterator,H.next=$.next):H=$,H.type=R?m:p,H.returnHandlerResult=!!P,H.nextHandler=x,H.counter=0,H.done=!1,_(this,H)};return y.prototype=R?T:C,y},a0}var o0,IU;function ym(){return IU||(IU=1,o0=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),o0}var s0,PU;function xs(){if(PU)return s0;PU=1;var e=Bt();return s0=function(t,r){var n=e.Iterator,i=n&&n.prototype,o=i&&i[t],a=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(u){u instanceof r||(a=!1)}if(!a)return o},s0}var kU;function ase(){if(kU)return TU;kU=1;var e=Ie(),t=ir(),r=ur(),n=oa(),i=IQ(),o=aO(),a=Gi(),u=ed(),l=ym(),f=xs(),d=cn(),h=!d&&!l("drop",0),p=!d&&!h&&f("drop",RangeError),m=d||h||p,S=u(function(){for(var E=this.iterator,_=this.next,w,T;this.remaining;)if(this.remaining--,w=r(t(_,E)),T=this.done=!!w.done,T)return;if(w=r(t(_,E)),T=this.done=!!w.done,!T)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:m},{drop:function(_){r(this);var w;try{w=o(i(+_))}catch(T){a(this,"throw",T)}return p?t(p,this,w):new S(n(this),{remaining:w})}}),TU}var DU={},LU;function ose(){if(LU)return DU;LU=1;var e=Ie(),t=ir(),r=Oi(),n=Yr(),i=ur(),o=oa(),a=Gi(),u=xs(),l=u("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{every:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return!r(h,function(m,S){if(!d(m,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),DU}var NU={},MU;function sse(){if(MU)return NU;MU=1;var e=Ie(),t=ir(),r=Yr(),n=ur(),i=oa(),o=ed(),a=QC(),u=cn(),l=Gi(),f=ym(),d=xs(),h=!u&&!f("filter",function(){}),p=!u&&!h&&d("filter",TypeError),m=u||h||p,S=o(function(){for(var E=this.iterator,_=this.predicate,w=this.next,T,C,x;;){if(T=n(t(w,E)),C=this.done=!!T.done,C)return;if(x=T.value,a(E,_,[x,this.counter++],!0))return x}});return e({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(_){n(this);try{r(_)}catch(w){l(this,"throw",w)}return p?t(p,this,_):new S(i(this),{predicate:_})}}),NU}var $U={},FU;function use(){if(FU)return $U;FU=1;var e=Ie(),t=ir(),r=Oi(),n=Yr(),i=ur(),o=oa(),a=Gi(),u=xs(),l=u("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(m,S){if(d(m,p++))return S(m)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),$U}var jU={},u0,UU;function PQ(){if(UU)return u0;UU=1;var e=ir(),t=ur(),r=oa(),n=fc();return u0=function(i,o){(!o||typeof i!="string")&&t(i);var a=n(i);return r(t(a!==void 0?e(a,i):i))},u0}var qU;function lse(){if(qU)return jU;qU=1;var e=Ie(),t=ir(),r=Yr(),n=ur(),i=oa(),o=PQ(),a=ed(),u=Gi(),l=cn(),f=ym(),d=xs(),h=!l&&!f("flatMap",function(){}),p=!l&&!h&&d("flatMap",TypeError),m=l||h||p,S=a(function(){for(var E=this.iterator,_=this.mapper,w,T;;){if(T=this.inner)try{if(w=n(t(T.next,T.iterator)),!w.done)return w.value;this.inner=null}catch(C){u(E,"throw",C)}if(w=n(t(this.next,E)),this.done=!!w.done)return;try{this.inner=o(_(w.value,this.counter++),!1)}catch(C){u(E,"throw",C)}}});return e({target:"Iterator",proto:!0,real:!0,forced:m},{flatMap:function(_){n(this);try{r(_)}catch(w){u(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_,inner:null})}}),jU}var BU={},VU;function cse(){if(VU)return BU;VU=1;var e=Ie(),t=ir(),r=Oi(),n=Yr(),i=ur(),o=oa(),a=Gi(),u=xs(),l=u("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;r(h,function(m){d(m,p++)},{IS_RECORD:!0})}}),BU}var HU={},zU;function fse(){if(zU)return HU;zU=1;var e=Ie(),t=ir(),r=on(),n=_a(),i=Qf().IteratorPrototype,o=ed(),a=PQ(),u=cn(),l=u||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),f=o(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:l},{from:function(h){var p=a(typeof h=="string"?r(h):h,!0);return n(i,p.iterator)?p.iterator:new f(p)}}),HU}var WU={},GU;function dse(){if(GU)return WU;GU=1;var e=Ie(),t=ir(),r=Yr(),n=ur(),i=oa(),o=ed(),a=QC(),u=Gi(),l=ym(),f=xs(),d=cn(),h=!d&&!l("map",function(){}),p=!d&&!h&&f("map",TypeError),m=d||h||p,S=o(function(){var E=this.iterator,_=n(t(this.next,E)),w=this.done=!!_.done;if(!w)return a(E,this.mapper,[_.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(_){n(this);try{r(_)}catch(w){u(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_})}}),WU}var KU={},YU;function hse(){if(YU)return KU;YU=1;var e=Ie(),t=Oi(),r=Yr(),n=ur(),i=oa(),o=Gi(),a=xs(),u=no(),l=Lt(),f=TypeError,d=l(function(){[].keys().reduce(function(){},void 0)}),h=!d&&a("reduce",f);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(m){n(this);try{r(m)}catch(T){o(this,"throw",T)}var S=arguments.length<2,E=S?void 0:arguments[1];if(h)return u(h,this,S?[m]:[m,E]);var _=i(this),w=0;if(t(_,function(T){S?(S=!1,E=T):E=m(E,T,w),w++},{IS_RECORD:!0}),S)throw new f("Reduce of empty iterator with no initial value");return E}}),KU}var XU={},QU;function pse(){if(QU)return XU;QU=1;var e=Ie(),t=ir(),r=Oi(),n=Yr(),i=ur(),o=oa(),a=Gi(),u=xs(),l=u("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(m,S){if(d(m,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),XU}var JU={},ZU;function vse(){if(ZU)return JU;ZU=1;var e=Ie(),t=ir(),r=ur(),n=oa(),i=IQ(),o=aO(),a=ed(),u=Gi(),l=xs(),f=cn(),d=!f&&l("take",RangeError),h=a(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var m=r(t(this.next,p)),S=this.done=!!m.done;if(!S)return m.value});return e({target:"Iterator",proto:!0,real:!0,forced:f||d},{take:function(m){r(this);var S;try{S=o(i(+m))}catch(E){u(this,"throw",E)}return d?t(d,this,S):new h(n(this),{remaining:S})}}),JU}var e3={},t3;function gse(){if(t3)return e3;t3=1;var e=Ie(),t=ur(),r=Oi(),n=oa(),i=[].push;return e({target:"Iterator",proto:!0,real:!0},{toArray:function(){var a=[];return r(n(t(this)),i,{that:a,IS_RECORD:!0}),a}}),e3}var r3={},n3;function mse(){if(n3)return r3;n3=1;var e=Bt(),t=Na();return t(e.JSON,"JSON",!0),r3}var i3={},a3={},l0={exports:{}},c0,o3;function oO(){if(o3)return c0;o3=1;var e=Lt();return c0=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),c0}var f0,s3;function sO(){if(s3)return f0;s3=1;var e=Lt(),t=xr(),r=ia(),n=oO(),i=Object.isExtensible,o=e(function(){});return f0=o||n?function(u){return!t(u)||n&&r(u)==="ArrayBuffer"?!1:i?i(u):!0}:i,f0}var d0,u3;function td(){if(u3)return d0;u3=1;var e=Lt();return d0=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),d0}var l3;function pc(){if(l3)return l0.exports;l3=1;var e=Ie(),t=Nt(),r=zh(),n=xr(),i=Xr(),o=qn().f,a=sc(),u=zC(),l=sO(),f=Wf(),d=td(),h=!1,p=f("meta"),m=0,S=function(x){o(x,p,{value:{objectID:"O"+m++,weakData:{}}})},E=function(x,R){if(!n(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!i(x,p)){if(!l(x))return"F";if(!R)return"E";S(x)}return x[p].objectID},_=function(x,R){if(!i(x,p)){if(!l(x))return!0;if(!R)return!1;S(x)}return x[p].weakData},w=function(x){return d&&h&&l(x)&&!i(x,p)&&S(x),x},T=function(){C.enable=function(){},h=!0;var x=a.f,R=t([].splice),P={};P[p]=1,x(P).length&&(a.f=function(y){for(var N=x(y),$=0,H=N.length;$<H;$++)if(N[$]===p){R(N,$,1);break}return N},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},C=l0.exports={enable:T,fastKey:E,getWeakData:_,onFreeze:w};return r[p]=!0,l0.exports}var h0,c3;function _m(){if(c3)return h0;c3=1;var e=Ie(),t=Bt(),r=Nt(),n=Gh(),i=wn(),o=pc(),a=Oi(),u=io(),l=Qr(),f=uu(),d=xr(),h=Lt(),p=lm(),m=Na(),S=cc();return h0=function(E,_,w){var T=E.indexOf("Map")!==-1,C=E.indexOf("Weak")!==-1,x=T?"set":"add",R=t[E],P=R&&R.prototype,y=R,N={},$=function(re){var de=r(P[re]);i(P,re,re==="add"?function(ee){return de(this,ee===0?0:ee),this}:re==="delete"?function(G){return C&&!d(G)?!1:de(this,G===0?0:G)}:re==="get"?function(ee){return C&&!d(ee)?void 0:de(this,ee===0?0:ee)}:re==="has"?function(ee){return C&&!d(ee)?!1:de(this,ee===0?0:ee)}:function(ee,z){return de(this,ee===0?0:ee,z),this})},H=n(E,!l(R)||!(C||P.forEach&&!h(function(){new R().entries().next()})));if(H)y=w.getConstructor(_,E,T,x),o.enable();else if(n(E,!0)){var B=new y,W=B[x](C?{}:-0,1)!==B,Y=h(function(){B.has(1)}),Q=p(function(re){new R(re)}),ne=!C&&h(function(){for(var re=new R,de=5;de--;)re[x](de,de);return!re.has(-0)});Q||(y=_(function(re,de){u(re,P);var G=S(new R,re,y);return f(de)||a(de,G[x],{that:G,AS_ENTRIES:T}),G}),y.prototype=P,P.constructor=y),(Y||ne)&&($("delete"),$("has"),T&&$("get")),(ne||W)&&$(x),C&&P.clear&&delete P.clear}return N[E]=y,e({global:!0,constructor:!0,forced:y!==R},N),m(y,E),C||w.setStrong(y,E,T),y},h0}var p0,f3;function kQ(){if(f3)return p0;f3=1;var e=zi(),t=pi(),r=du(),n=ro(),i=io(),o=uu(),a=Oi(),u=ZC(),l=hc(),f=Zf(),d=gr(),h=pc().fastKey,p=ti(),m=p.set,S=p.getterFor;return p0={getConstructor:function(E,_,w,T){var C=E(function(N,$){i(N,x),m(N,{type:_,index:e(null),first:null,last:null,size:0}),d||(N.size=0),o($)||a($,N[T],{that:N,AS_ENTRIES:w})}),x=C.prototype,R=S(_),P=function(N,$,H){var B=R(N),W=y(N,$),Y,Q;return W?W.value=H:(B.last=W={index:Q=h($,!0),key:$,value:H,previous:Y=B.last,next:null,removed:!1},B.first||(B.first=W),Y&&(Y.next=W),d?B.size++:N.size++,Q!=="F"&&(B.index[Q]=W)),N},y=function(N,$){var H=R(N),B=h($),W;if(B!=="F")return H.index[B];for(W=H.first;W;W=W.next)if(W.key===$)return W};return r(x,{clear:function(){for(var $=this,H=R($),B=H.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=null),B=B.next;H.first=H.last=null,H.index=e(null),d?H.size=0:$.size=0},delete:function(N){var $=this,H=R($),B=y($,N);if(B){var W=B.next,Y=B.previous;delete H.index[B.index],B.removed=!0,Y&&(Y.next=W),W&&(W.previous=Y),H.first===B&&(H.first=W),H.last===B&&(H.last=Y),d?H.size--:$.size--}return!!B},forEach:function($){for(var H=R(this),B=n($,arguments.length>1?arguments[1]:void 0),W;W=W?W.next:H.first;)for(B(W.value,W.key,this);W&&W.removed;)W=W.previous},has:function($){return!!y(this,$)}}),r(x,w?{get:function($){var H=y(this,$);return H&&H.value},set:function($,H){return P(this,$===0?0:$,H)}}:{add:function($){return P(this,$=$===0?0:$,$)}}),d&&t(x,"size",{configurable:!0,get:function(){return R(this).size}}),C},setStrong:function(E,_,w){var T=_+" Iterator",C=S(_),x=S(T);u(E,_,function(R,P){m(this,{type:T,target:R,state:C(R),kind:P,last:null})},function(){for(var R=x(this),P=R.kind,y=R.last;y&&y.removed;)y=y.previous;return!R.target||!(R.last=y=y?y.next:R.state.first)?(R.target=null,l(void 0,!0)):l(P==="keys"?y.key:P==="values"?y.value:[y.key,y.value],!1)},w?"entries":"values",!w,!0),f(_)}},p0}var d3;function yse(){if(d3)return a3;d3=1;var e=_m(),t=kQ();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),a3}var h3;function _se(){return h3||(h3=1,yse()),i3}var p3={},v0,v3;function DQ(){if(v3)return v0;v3=1;var e=Nt(),t=Map.prototype;return v0={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},v0}var g3;function Ese(){if(g3)return p3;g3=1;var e=Ie(),t=Nt(),r=Yr(),n=Gn(),i=Oi(),o=DQ(),a=cn(),u=Lt(),l=o.Map,f=o.has,d=o.get,h=o.set,p=t([].push),m=a||u(function(){return l.groupBy("ab",function(S){return S}).get("a").length!==1});return e({target:"Map",stat:!0,forced:a||m},{groupBy:function(E,_){n(E),r(_);var w=new l,T=0;return i(E,function(C){var x=_(C,T++);f(w,x)?p(d(w,x),C):h(w,x,[C])}),w}}),p3}var m3={},g0,y3;function LQ(){if(y3)return g0;y3=1;var e=Math.log;return g0=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},g0}var _3;function Sse(){if(_3)return m3;_3=1;var e=Ie(),t=LQ(),r=Math.acosh,n=Math.log,i=Math.sqrt,o=Math.LN2,a=!r||Math.floor(r(Number.MAX_VALUE))!==710||r(1/0)!==1/0;return e({target:"Math",stat:!0,forced:a},{acosh:function(l){var f=+l;return f<1?NaN:f>9490626562425156e-8?n(f)+o:t(f-1+i(f-1)*i(f+1))}}),m3}var E3={},S3;function wse(){if(S3)return E3;S3=1;var e=Ie(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(a){var u=+a;return!isFinite(u)||u===0?u:u<0?-i(-u):r(u+n(u*u+1))}var o=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:o},{asinh:i}),E3}var w3={},b3;function bse(){if(b3)return w3;b3=1;var e=Ie(),t=Math.atanh,r=Math.log,n=!(t&&1/t(-0)<0);return e({target:"Math",stat:!0,forced:n},{atanh:function(o){var a=+o;return a===0?a:r((1+a)/(1-a))/2}}),w3}var T3={},A3;function Tse(){if(A3)return T3;A3=1;var e=Ie(),t=nO(),r=Math.abs,n=Math.pow;return e({target:"Math",stat:!0},{cbrt:function(o){var a=+o;return t(a)*n(r(a),1/3)}}),T3}var R3={},x3;function Ase(){if(x3)return R3;x3=1;var e=Ie(),t=Math.floor,r=Math.log,n=Math.LOG2E;return e({target:"Math",stat:!0},{clz32:function(o){var a=o>>>0;return a?31-t(r(a+.5)*n):32}}),R3}var C3={},m0,O3;function Em(){if(O3)return m0;O3=1;var e=Math.expm1,t=Math.exp;return m0=!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,m0}var I3;function Rse(){if(I3)return C3;I3=1;var e=Ie(),t=Em(),r=Math.cosh,n=Math.abs,i=Math.E,o=!r||r(710)===1/0;return e({target:"Math",stat:!0,forced:o},{cosh:function(u){var l=t(n(u)-1)+1;return(l+1/(l*i*i))*(i/2)}}),C3}var P3={},k3;function xse(){if(k3)return P3;k3=1;var e=Ie(),t=Em();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),P3}var D3={},L3;function Cse(){if(L3)return D3;L3=1;var e=Ie(),t=SQ();return e({target:"Math",stat:!0},{fround:t}),D3}var N3={},M3;function Ose(){if(M3)return N3;M3=1;var e=Ie(),t=EQ(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(a){return t(a,r,n,i)}}),N3}var $3={},F3;function Ise(){if(F3)return $3;F3=1;var e=Ie(),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(a,u){for(var l=0,f=0,d=arguments.length,h=0,p,m;f<d;)p=r(arguments[f++]),h<p?(m=h/p,l=l*m*m+1,h=p):p>0?(m=p/h,l+=m*m):l+=p;return h===1/0?1/0:h*n(l)}}),$3}var j3={},U3;function Pse(){if(U3)return j3;U3=1;var e=Ie(),t=Lt(),r=Math.imul,n=t(function(){return r(4294967295,5)!==-5||r.length!==2});return e({target:"Math",stat:!0,forced:n},{imul:function(o,a){var u=65535,l=+o,f=+a,d=u&l,h=u&f;return 0|d*h+((u&l>>>16)*h+d*(u&f>>>16)<<16>>>0)}}),j3}var q3={},y0,B3;function NQ(){if(B3)return y0;B3=1;var e=Math.log,t=Math.LOG10E;return y0=Math.log10||function(n){return e(n)*t},y0}var V3;function kse(){if(V3)return q3;V3=1;var e=Ie(),t=NQ();return e({target:"Math",stat:!0},{log10:t}),q3}var H3={},z3;function Dse(){if(z3)return H3;z3=1;var e=Ie(),t=LQ();return e({target:"Math",stat:!0},{log1p:t}),H3}var W3={},G3;function Lse(){if(G3)return W3;G3=1;var e=Ie(),t=wQ();return e({target:"Math",stat:!0},{log2:t}),W3}var K3={},Y3;function Nse(){if(Y3)return K3;Y3=1;var e=Ie(),t=nO();return e({target:"Math",stat:!0},{sign:t}),K3}var X3={},Q3;function Mse(){if(Q3)return X3;Q3=1;var e=Ie(),t=Lt(),r=Em(),n=Math.abs,i=Math.exp,o=Math.E,a=t(function(){return Math.sinh(-2e-17)!==-2e-17});return e({target:"Math",stat:!0,forced:a},{sinh:function(l){var f=+l;return n(f)<1?(r(f)-r(-f))/2:(i(f-1)-i(-f-1))*(o/2)}}),X3}var J3={},Z3;function $se(){if(Z3)return J3;Z3=1;var e=Ie(),t=Nt(),r=Oi(),n=RangeError,i=TypeError,o=1/0,a=NaN,u=Math.abs,l=Math.pow,f=t([].push),d=l(2,1023),h=l(2,53)-1,p=Number.MAX_VALUE,m=l(2,971),S={},E={},_={},w={},T={},C=function(x,R){var P=x+R,y=R-(P-x);return{hi:P,lo:y}};return e({target:"Math",stat:!0},{sumPrecise:function(R){var P=[],y=0,N=w;switch(r(R,function(Oe){if(++y>=h)throw new n("Maximum allowed index exceeded");if(typeof Oe!="number")throw new i("Value is not a number");N!==S&&(Oe!==Oe?N=S:Oe===o?N=N===E?S:_:Oe===-o?N=N===_?S:E:(Oe!==0||1/Oe===o)&&(N===w||N===T)&&(N=T,f(P,Oe)))}),N){case S:return a;case E:return-o;case _:return o;case w:return-0}for(var $=[],H=0,B,W,Y,Q,ne,re,de=0;de<P.length;de++){B=P[de];for(var G=0,ee=0;ee<$.length;ee++){if(W=$[ee],u(B)<u(W)&&(re=B,B=W,W=re),Y=C(B,W),Q=Y.hi,ne=Y.lo,u(Q)===o){var z=Q===o?1:-1;H+=z,B=B-z*d-z*d,u(B)<u(W)&&(re=B,B=W,W=re),Y=C(B,W),Q=Y.hi,ne=Y.lo}ne!==0&&($[G++]=ne),B=Q}$.length=G,B!==0&&f($,B)}var ue=$.length-1;if(Q=0,ne=0,H!==0){var Ee=ue>=0?$[ue]:0;if(ue--,u(H)>1||H>0&&Ee>0||H<0&&Ee<0)return H>0?o:-o;if(Y=C(H*d,Ee/2),Q=Y.hi,ne=Y.lo,ne*=2,u(2*Q)===o)return Q>0?Q===d&&ne===-(m/2)&&ue>=0&&$[ue]<0?p:o:Q===-d&&ne===m/2&&ue>=0&&$[ue]>0?-p:-o;ne!==0&&($[++ue]=ne,ne=0),Q*=2}for(;ue>=0&&(Y=C(Q,$[ue--]),Q=Y.hi,ne=Y.lo,ne===0););return ue>=0&&(ne<0&&$[ue]<0||ne>0&&$[ue]>0)&&(W=ne*2,B=Q+W,W===B-Q&&(Q=B)),Q}}),J3}var eq={},tq;function Fse(){if(tq)return eq;tq=1;var e=Ie(),t=Em(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var o=+i,a=t(o),u=t(-o);return a===1/0?1:u===1/0?-1:(a-u)/(r(o)+r(-o))}}),eq}var rq={},nq;function jse(){if(nq)return rq;nq=1;var e=Na();return e(Math,"Math",!0),rq}var iq={},aq;function Use(){if(aq)return iq;aq=1;var e=Ie(),t=YX();return e({target:"Math",stat:!0},{trunc:t}),iq}var oq={},_0,sq;function Sm(){if(sq)return _0;sq=1;var e=Nt();return _0=e(1.1.valueOf),_0}var E0,uq;function ep(){return uq||(uq=1,E0=`
3
+ \v\f\r                 \u2028\u2029\uFEFF`),E0}var S0,lq;function rd(){if(lq)return S0;lq=1;var e=Nt(),t=Gn(),r=Mr(),n=ep(),i=e("".replace),o=RegExp("^["+n+"]+"),a=RegExp("(^|[^"+n+"])["+n+"]+$"),u=function(l){return function(f){var d=r(t(f));return l&1&&(d=i(d,o,"")),l&2&&(d=i(d,a,"$1")),d}};return S0={start:u(1),end:u(2),trim:u(3)},S0}var cq;function qse(){if(cq)return oq;cq=1;var e=Ie(),t=cn(),r=gr(),n=Bt(),i=am(),o=Nt(),a=Gh(),u=Xr(),l=cc(),f=_a(),d=ac(),h=tm(),p=Lt(),m=sc().f,S=Vi().f,E=qn().f,_=Sm(),w=rd().trim,T="Number",C=n[T],x=i[T],R=C.prototype,P=n.TypeError,y=o("".slice),N=o("".charCodeAt),$=function(ne){var re=h(ne,"number");return typeof re=="bigint"?re:H(re)},H=function(ne){var re=h(ne,"number"),de,G,ee,z,ue,Ee,Oe,$e;if(d(re))throw new P("Cannot convert a Symbol value to a number");if(typeof re=="string"&&re.length>2){if(re=w(re),de=N(re,0),de===43||de===45){if(G=N(re,2),G===88||G===120)return NaN}else if(de===48){switch(N(re,1)){case 66:case 98:ee=2,z=49;break;case 79:case 111:ee=8,z=55;break;default:return+re}for(ue=y(re,2),Ee=ue.length,Oe=0;Oe<Ee;Oe++)if($e=N(ue,Oe),$e<48||$e>z)return NaN;return parseInt(ue,ee)}}return+re},B=a(T,!C(" 0o1")||!C("0b1")||C("+0x1")),W=function(ne){return f(R,ne)&&p(function(){_(ne)})},Y=function(re){var de=arguments.length<1?0:C($(re));return W(this)?l(Object(de),this,Y):de};Y.prototype=R,B&&!t&&(R.constructor=Y),e({global:!0,constructor:!0,wrap:!0,forced:B},{Number:Y});var Q=function(ne,re){for(var de=r?m(re):"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(","),G=0,ee;de.length>G;G++)u(re,ee=de[G])&&!u(ne,ee)&&E(ne,ee,S(re,ee))};return t&&x&&Q(i[T],x),(B||t)&&Q(i[T],C),oq}var fq={},dq;function Bse(){if(dq)return fq;dq=1;var e=Ie();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),fq}var hq={},w0,pq;function Vse(){if(pq)return w0;pq=1;var e=Bt(),t=e.isFinite;return w0=Number.isFinite||function(n){return typeof n=="number"&&t(n)},w0}var vq;function Hse(){if(vq)return hq;vq=1;var e=Ie(),t=Vse();return e({target:"Number",stat:!0},{isFinite:t}),hq}var gq={},b0,mq;function uO(){if(mq)return b0;mq=1;var e=xr(),t=Math.floor;return b0=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},b0}var yq;function zse(){if(yq)return gq;yq=1;var e=Ie(),t=uO();return e({target:"Number",stat:!0},{isInteger:t}),gq}var _q={},Eq;function Wse(){if(Eq)return _q;Eq=1;var e=Ie();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),_q}var Sq={},wq;function Gse(){if(wq)return Sq;wq=1;var e=Ie(),t=uO(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),Sq}var bq={},Tq;function Kse(){if(Tq)return bq;Tq=1;var e=Ie();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),bq}var Aq={},Rq;function Yse(){if(Rq)return Aq;Rq=1;var e=Ie();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),Aq}var xq={},T0,Cq;function MQ(){if(Cq)return T0;Cq=1;var e=Bt(),t=Lt(),r=Nt(),n=Mr(),i=rd().trim,o=ep(),a=r("".charAt),u=e.parseFloat,l=e.Symbol,f=l&&l.iterator,d=1/u(o+"-0")!==-1/0||f&&!t(function(){u(Object(f))});return T0=d?function(p){var m=i(n(p)),S=u(m);return S===0&&a(m,0)==="-"?-0:S}:u,T0}var Oq;function Xse(){if(Oq)return xq;Oq=1;var e=Ie(),t=MQ();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),xq}var Iq={},A0,Pq;function $Q(){if(Pq)return A0;Pq=1;var e=Bt(),t=Lt(),r=Nt(),n=Mr(),i=rd().trim,o=ep(),a=e.parseInt,u=e.Symbol,l=u&&u.iterator,f=/^[+-]?0x/i,d=r(f.exec),h=a(o+"08")!==8||a(o+"0x16")!==22||l&&!t(function(){a(Object(l))});return A0=h?function(m,S){var E=i(n(m));return a(E,S>>>0||(d(f,E)?16:10))}:a,A0}var kq;function Qse(){if(kq)return Iq;kq=1;var e=Ie(),t=$Q();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),Iq}var Dq={},Lq;function Jse(){if(Lq)return Dq;Lq=1;var e=Ie(),t=Nt(),r=ii(),n=Sm(),i=gm(),o=NQ(),a=Lt(),u=RangeError,l=String,f=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,m=Math.round,S=t(1.1.toExponential),E=t(i),_=t("".slice),w=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",T=function(){return a(function(){S(1,1/0)})&&a(function(){S(1,-1/0)})},C=function(){return!a(function(){S(1/0,1/0),S(NaN,1/0)})},x=!w||!T()||!C();return e({target:"Number",proto:!0,forced:x},{toExponential:function(P){var y=n(this);if(P===void 0)return S(y);var N=r(P);if(!f(y))return String(y);if(N<0||N>20)throw new u("Incorrect fraction digits");if(w)return S(y,N);var $="",H,B,W,Y;if(y<0&&($="-",y=-y),y===0)B=0,H=E("0",N+1);else{var Q=o(y);B=h(Q);var ne=p(10,B-N),re=m(y/ne);2*y>=(2*re+1)*ne&&(re+=1),re>=p(10,N+1)&&(re/=10,B+=1),H=l(re)}return N!==0&&(H=_(H,0,1)+"."+_(H,1)),B===0?(W="+",Y="0"):(W=B>0?"+":"-",Y=l(d(B))),H+="e"+W+Y,$+H}}),Dq}var Nq={},Mq;function Zse(){if(Mq)return Nq;Mq=1;var e=Ie(),t=Nt(),r=ii(),n=Sm(),i=gm(),o=Lt(),a=RangeError,u=String,l=Math.floor,f=t(i),d=t("".slice),h=t(1.1.toFixed),p=function(T,C,x){return C===0?x:C%2===1?p(T,C-1,x*T):p(T*T,C/2,x)},m=function(T){for(var C=0,x=T;x>=4096;)C+=12,x/=4096;for(;x>=2;)C+=1,x/=2;return C},S=function(T,C,x){for(var R=-1,P=x;++R<6;)P+=C*T[R],T[R]=P%1e7,P=l(P/1e7)},E=function(T,C){for(var x=6,R=0;--x>=0;)R+=T[x],T[x]=l(R/C),R=R%C*1e7},_=function(T){for(var C=6,x="";--C>=0;)if(x!==""||C===0||T[C]!==0){var R=u(T[C]);x=x===""?R:x+f("0",7-R.length)+R}return x},w=o(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){h({})});return e({target:"Number",proto:!0,forced:w},{toFixed:function(C){var x=n(this),R=r(C),P=[0,0,0,0,0,0],y="",N="0",$,H,B,W;if(R<0||R>20)throw new a("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return u(x);if(x<0&&(y="-",x=-x),x>1e-21)if($=m(x*p(2,69,1))-69,H=$<0?x*p(2,-$,1):x/p(2,$,1),H*=4503599627370496,$=52-$,$>0){for(S(P,0,H),B=R;B>=7;)S(P,1e7,0),B-=7;for(S(P,p(10,B,1),0),B=$-1;B>=23;)E(P,1<<23),B-=23;E(P,1<<B),S(P,1,1),E(P,2),N=_(P)}else S(P,0,H),S(P,1<<-$,0),N=_(P)+f("0",R);return R>0?(W=N.length,N=y+(W<=R?"0."+f("0",R-W)+N:d(N,0,W-R)+"."+d(N,W-R))):N=y+N,N}}),Nq}var $q={},Fq;function eue(){if(Fq)return $q;Fq=1;var e=Ie(),t=Nt(),r=Lt(),n=Sm(),i=t(1.1.toPrecision),o=r(function(){return i(1,void 0)!=="1"})||!r(function(){i({})});return e({target:"Number",proto:!0,forced:o},{toPrecision:function(u){return u===void 0?i(n(this)):i(n(this),u)}}),$q}var jq={},R0,Uq;function FQ(){if(Uq)return R0;Uq=1;var e=gr(),t=Nt(),r=ir(),n=Lt(),i=Kh(),o=im(),a=Zg(),u=on(),l=Vf(),f=Object.assign,d=Object.defineProperty,h=t([].concat);return R0=!f||n(function(){if(e&&f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var p={},m={},S=Symbol("assign detection"),E="abcdefghijklmnopqrst";return p[S]=7,E.split("").forEach(function(_){m[_]=_}),f({},p)[S]!==7||i(f({},m)).join("")!==E})?function(m,S){for(var E=u(m),_=arguments.length,w=1,T=o.f,C=a.f;_>w;)for(var x=l(arguments[w++]),R=T?h(i(x),T(x)):i(x),P=R.length,y=0,N;P>y;)N=R[y++],(!e||r(C,x,N))&&(E[N]=x[N]);return E}:f,R0}var qq;function tue(){if(qq)return jq;qq=1;var e=Ie(),t=FQ();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),jq}var Bq={},Vq;function rue(){if(Vq)return Bq;Vq=1;var e=Ie(),t=gr(),r=zi();return e({target:"Object",stat:!0,sham:!t},{create:r}),Bq}var Hq={},x0,zq;function wm(){if(zq)return x0;zq=1;var e=cn(),t=Bt(),r=Lt(),n=rO();return x0=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),x0}var Wq;function nue(){if(Wq)return Hq;Wq=1;var e=Ie(),t=gr(),r=wm(),n=Yr(),i=on(),o=qn();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(u,l){o.f(i(this),u,{get:n(l),enumerable:!0,configurable:!0})}}),Hq}var Gq={},Kq;function iue(){if(Kq)return Gq;Kq=1;var e=Ie(),t=gr(),r=HC().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),Gq}var Yq={},Xq;function aue(){if(Xq)return Yq;Xq=1;var e=Ie(),t=gr(),r=qn().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),Yq}var Qq={},Jq;function oue(){if(Jq)return Qq;Jq=1;var e=Ie(),t=gr(),r=wm(),n=Yr(),i=on(),o=qn();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(u,l){o.f(i(this),u,{set:n(l),enumerable:!0,configurable:!0})}}),Qq}var Zq={},C0,eB;function jQ(){if(eB)return C0;eB=1;var e=gr(),t=Lt(),r=Nt(),n=Ea(),i=Kh(),o=Li(),a=Zg().f,u=r(a),l=r([].push),f=e&&t(function(){var h=Object.create(null);return h[2]=2,!u(h,2)}),d=function(h){return function(p){for(var m=o(p),S=i(m),E=f&&n(m)===null,_=S.length,w=0,T=[],C;_>w;)C=S[w++],(!e||(E?C in m:u(m,C)))&&l(T,h?[C,m[C]]:m[C]);return T}};return C0={entries:d(!0),values:d(!1)},C0}var tB;function sue(){if(tB)return Zq;tB=1;var e=Ie(),t=jQ().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),Zq}var rB={},nB;function uue(){if(nB)return rB;nB=1;var e=Ie(),t=td(),r=Lt(),n=xr(),i=pc().onFreeze,o=Object.freeze,a=r(function(){o(1)});return e({target:"Object",stat:!0,forced:a,sham:!t},{freeze:function(l){return o&&n(l)?o(i(l)):l}}),rB}var iB={},aB;function lue(){if(aB)return iB;aB=1;var e=Ie(),t=Oi(),r=cu();return e({target:"Object",stat:!0},{fromEntries:function(i){var o={};return t(i,function(a,u){r(o,a,u)},{AS_ENTRIES:!0}),o}}),iB}var oB={},sB;function cue(){if(sB)return oB;sB=1;var e=Ie(),t=Lt(),r=Li(),n=Vi().f,i=gr(),o=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getOwnPropertyDescriptor:function(u,l){return n(r(u),l)}}),oB}var uB={},lB;function fue(){if(lB)return uB;lB=1;var e=Ie(),t=gr(),r=BC(),n=Li(),i=Vi(),o=cu();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(u){for(var l=n(u),f=i.f,d=r(l),h={},p=0,m,S;d.length>p;)S=f(l,m=d[p++]),S!==void 0&&o(h,m,S);return h}}),uB}var cB={},fB;function due(){if(fB)return cB;fB=1;var e=Ie(),t=Lt(),r=zC().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),cB}var dB={},hB;function hue(){if(hB)return dB;hB=1;var e=Ie(),t=Lt(),r=on(),n=Ea(),i=KC(),o=t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getPrototypeOf:function(u){return n(r(u))}}),dB}var pB={},vB;function pue(){if(vB)return pB;vB=1;var e=Ie(),t=Kr(),r=Nt(),n=Yr(),i=Gn(),o=nl(),a=Oi(),u=Lt(),l=Object.groupBy,f=t("Object","create"),d=r([].push),h=!l||u(function(){return l("ab",function(p){return p}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(m,S){i(m),n(S);var E=f(null),_=0;return a(m,function(w){var T=o(S(w,_++));T in E?d(E[T],w):E[T]=[w]}),E}}),pB}var gB={},mB;function vue(){if(mB)return gB;mB=1;var e=Ie(),t=Xr();return e({target:"Object",stat:!0},{hasOwn:t}),gB}var yB={},O0,_B;function UQ(){return _B||(_B=1,O0=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),O0}var EB;function gue(){if(EB)return yB;EB=1;var e=Ie(),t=UQ();return e({target:"Object",stat:!0},{is:t}),yB}var SB={},wB;function mue(){if(wB)return SB;wB=1;var e=Ie(),t=sO();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),SB}var bB={},TB;function yue(){if(TB)return bB;TB=1;var e=Ie(),t=Lt(),r=xr(),n=ia(),i=oO(),o=Object.isFrozen,a=i||t(function(){});return e({target:"Object",stat:!0,forced:a},{isFrozen:function(l){return!r(l)||i&&n(l)==="ArrayBuffer"?!0:o?o(l):!1}}),bB}var AB={},RB;function _ue(){if(RB)return AB;RB=1;var e=Ie(),t=Lt(),r=xr(),n=ia(),i=oO(),o=Object.isSealed,a=i||t(function(){});return e({target:"Object",stat:!0,forced:a},{isSealed:function(l){return!r(l)||i&&n(l)==="ArrayBuffer"?!0:o?o(l):!1}}),AB}var xB={},CB;function Eue(){if(CB)return xB;CB=1;var e=Ie(),t=on(),r=Kh(),n=Lt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(a){return r(t(a))}}),xB}var OB={},IB;function Sue(){if(IB)return OB;IB=1;var e=Ie(),t=gr(),r=wm(),n=on(),i=nl(),o=Ea(),a=Vi().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(l){var f=n(this),d=i(l),h;do if(h=a(f,d))return h.get;while(f=o(f))}}),OB}var PB={},kB;function wue(){if(kB)return PB;kB=1;var e=Ie(),t=gr(),r=wm(),n=on(),i=nl(),o=Ea(),a=Vi().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(l){var f=n(this),d=i(l),h;do if(h=a(f,d))return h.set;while(f=o(f))}}),PB}var DB={},LB;function bue(){if(LB)return DB;LB=1;var e=Ie(),t=xr(),r=pc().onFreeze,n=td(),i=Lt(),o=Object.preventExtensions,a=i(function(){o(1)});return e({target:"Object",stat:!0,forced:a,sham:!n},{preventExtensions:function(l){return o&&t(l)?o(r(l)):l}}),DB}var NB={},MB;function Tue(){if(MB)return NB;MB=1;var e=gr(),t=pi(),r=xr(),n=rQ(),i=on(),o=Gn(),a=Object.getPrototypeOf,u=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(e&&a&&u&&!(f in l))try{t(l,f,{configurable:!0,get:function(){return a(i(this))},set:function(h){var p=o(this);n(h)&&r(p)&&u(p,h)}})}catch{}return NB}var $B={},FB;function Aue(){if(FB)return $B;FB=1;var e=Ie(),t=xr(),r=pc().onFreeze,n=td(),i=Lt(),o=Object.seal,a=i(function(){o(1)});return e({target:"Object",stat:!0,forced:a,sham:!n},{seal:function(l){return o&&t(l)?o(r(l)):l}}),$B}var jB={},UB;function Rue(){if(UB)return jB;UB=1;var e=Ie(),t=Qo();return e({target:"Object",stat:!0},{setPrototypeOf:t}),jB}var qB={},I0,BB;function xue(){if(BB)return I0;BB=1;var e=VC(),t=to();return I0=e?{}.toString:function(){return"[object "+t(this)+"]"},I0}var VB;function Cue(){if(VB)return qB;VB=1;var e=VC(),t=wn(),r=xue();return e||t(Object.prototype,"toString",r,{unsafe:!0}),qB}var HB={},zB;function Oue(){if(zB)return HB;zB=1;var e=Ie(),t=jQ().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),HB}var WB={},GB;function Iue(){if(GB)return WB;GB=1;var e=Ie(),t=MQ();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),WB}var KB={},YB;function Pue(){if(YB)return KB;YB=1;var e=Ie(),t=$Q();return e({global:!0,forced:parseInt!==t},{parseInt:t}),KB}var XB={},QB={},P0,JB;function lO(){if(JB)return P0;JB=1;var e=lc(),t=oc(),r=TypeError;return P0=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},P0}var k0,ZB;function bm(){if(ZB)return k0;ZB=1;var e=ur(),t=lO(),r=uu(),n=Cr(),i=n("species");return k0=function(o,a){var u=e(o).constructor,l;return u===void 0||r(l=e(u)[i])?a:t(l)},k0}var D0,e6;function ko(){if(e6)return D0;e6=1;var e=TypeError;return D0=function(t,r){if(t<r)throw new e("Not enough arguments");return t},D0}var L0,t6;function qQ(){if(t6)return L0;t6=1;var e=As();return L0=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),L0}var N0,r6;function Tm(){if(r6)return N0;r6=1;var e=Bt(),t=no(),r=ro(),n=Qr(),i=Xr(),o=Lt(),a=QX(),u=Po(),l=rm(),f=ko(),d=qQ(),h=Jf(),p=e.setImmediate,m=e.clearImmediate,S=e.process,E=e.Dispatch,_=e.Function,w=e.MessageChannel,T=e.String,C=0,x={},R="onreadystatechange",P,y,N,$;o(function(){P=e.location});var H=function(Q){if(i(x,Q)){var ne=x[Q];delete x[Q],ne()}},B=function(Q){return function(){H(Q)}},W=function(Q){H(Q.data)},Y=function(Q){e.postMessage(T(Q),P.protocol+"//"+P.host)};return(!p||!m)&&(p=function(ne){f(arguments.length,1);var re=n(ne)?ne:_(ne),de=u(arguments,1);return x[++C]=function(){t(re,void 0,de)},y(C),C},m=function(ne){delete x[ne]},h?y=function(Q){S.nextTick(B(Q))}:E&&E.now?y=function(Q){E.now(B(Q))}:w&&!d?(N=new w,$=N.port2,N.port1.onmessage=W,y=r($.postMessage,$)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&P&&P.protocol!=="file:"&&!o(Y)?(y=Y,e.addEventListener("message",W,!1)):R in l("script")?y=function(Q){a.appendChild(l("script"))[R]=function(){a.removeChild(this),H(Q)}}:y=function(Q){setTimeout(B(Q),0)}),N0={set:p,clear:m},N0}var M0,n6;function BQ(){if(n6)return M0;n6=1;var e=Bt(),t=gr(),r=Object.getOwnPropertyDescriptor;return M0=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},M0}var $0,i6;function VQ(){if(i6)return $0;i6=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}}},$0=e,$0}var F0,a6;function kue(){if(a6)return F0;a6=1;var e=As();return F0=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",F0}var j0,o6;function Due(){if(o6)return j0;o6=1;var e=As();return j0=/web0s(?!.*chrome)/i.test(e),j0}var U0,s6;function HQ(){if(s6)return U0;s6=1;var e=Bt(),t=BQ(),r=ro(),n=Tm().set,i=VQ(),o=qQ(),a=kue(),u=Due(),l=Jf(),f=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,p=e.Promise,m=t("queueMicrotask"),S,E,_,w,T;if(!m){var C=new i,x=function(){var R,P;for(l&&(R=h.domain)&&R.exit();P=C.get();)try{P()}catch(y){throw C.head&&S(),y}R&&R.enter()};!o&&!l&&!u&&f&&d?(E=!0,_=d.createTextNode(""),new f(x).observe(_,{characterData:!0}),S=function(){_.data=E=!E}):!a&&p&&p.resolve?(w=p.resolve(void 0),w.constructor=p,T=r(w.then,w),S=function(){T(x)}):l?S=function(){h.nextTick(x)}:(n=r(n,e),S=function(){n(x)}),m=function(R){C.head||S(),C.add(R)}}return U0=m,U0}var q0,u6;function Lue(){return u6||(u6=1,q0=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),q0}var B0,l6;function nd(){return l6||(l6=1,B0=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),B0}var V0,c6;function id(){if(c6)return V0;c6=1;var e=Bt();return V0=e.Promise,V0}var H0,f6;function tp(){if(f6)return H0;f6=1;var e=Bt(),t=id(),r=Qr(),n=Gh(),i=jC(),o=Cr(),a=dm(),u=cn(),l=Rs(),f=t&&t.prototype,d=o("species"),h=!1,p=r(e.PromiseRejectionEvent),m=n("Promise",function(){var S=i(t),E=S!==String(t);if(!E&&l===66||u&&!(f.catch&&f.finally))return!0;if(!l||l<51||!/native code/.test(S)){var _=new t(function(C){C(1)}),w=function(C){C(function(){},function(){})},T=_.constructor={};if(T[d]=w,h=_.then(function(){})instanceof w,!h)return!0}return!E&&(a==="BROWSER"||a==="DENO")&&!p});return H0={CONSTRUCTOR:m,REJECTION_EVENT:p,SUBCLASSING:h},H0}var z0={},d6;function hu(){if(d6)return z0;d6=1;var e=Yr(),t=TypeError,r=function(n){var i,o;this.promise=new n(function(a,u){if(i!==void 0||o!==void 0)throw new t("Bad Promise constructor");i=a,o=u}),this.resolve=e(i),this.reject=e(o)};return z0.f=function(n){return new r(n)},z0}var h6;function Nue(){if(h6)return QB;h6=1;var e=Ie(),t=cn(),r=Jf(),n=Bt(),i=am(),o=ir(),a=wn(),u=Qo(),l=Na(),f=Zf(),d=Yr(),h=Qr(),p=xr(),m=io(),S=bm(),E=Tm().set,_=HQ(),w=Lue(),T=nd(),C=VQ(),x=ti(),R=id(),P=tp(),y=hu(),N="Promise",$=P.CONSTRUCTOR,H=P.REJECTION_EVENT,B=P.SUBCLASSING,W=x.getterFor(N),Y=x.set,Q=R&&R.prototype,ne=R,re=Q,de=n.TypeError,G=n.document,ee=n.process,z=y.f,ue=z,Ee=!!(G&&G.createEvent&&n.dispatchEvent),Oe="unhandledrejection",$e="rejectionhandled",Ve=0,ae=1,O=2,I=1,M=2,k,U,K,ie,ye=function(Me){var Ne;return p(Me)&&h(Ne=Me.then)?Ne:!1},ve=function(Me,Ne){var Ge=Ne.value,it=Ne.state===ae,Dt=it?Me.ok:Me.fail,rr=Me.resolve,Ke=Me.reject,_t=Me.domain,vt,rt,ot;try{Dt?(it||(Ne.rejection===M&&he(Ne),Ne.rejection=I),Dt===!0?vt=Ge:(_t&&_t.enter(),vt=Dt(Ge),_t&&(_t.exit(),ot=!0)),vt===Me.promise?Ke(new de("Promise-chain cycle")):(rt=ye(vt))?o(rt,vt,rr,Ke):rr(vt)):Ke(Ge)}catch(ht){_t&&!ot&&_t.exit(),Ke(ht)}},Re=function(Me,Ne){Me.notified||(Me.notified=!0,_(function(){for(var Ge=Me.reactions,it;it=Ge.get();)ve(it,Me);Me.notified=!1,Ne&&!Me.rejection&&xe(Me)}))},Se=function(Me,Ne,Ge){var it,Dt;Ee?(it=G.createEvent("Event"),it.promise=Ne,it.reason=Ge,it.initEvent(Me,!1,!0),n.dispatchEvent(it)):it={promise:Ne,reason:Ge},!H&&(Dt=n["on"+Me])?Dt(it):Me===Oe&&w("Unhandled promise rejection",Ge)},xe=function(Me){o(E,n,function(){var Ne=Me.facade,Ge=Me.value,it=De(Me),Dt;if(it&&(Dt=T(function(){r?ee.emit("unhandledRejection",Ge,Ne):Se(Oe,Ne,Ge)}),Me.rejection=r||De(Me)?M:I,Dt.error))throw Dt.value})},De=function(Me){return Me.rejection!==I&&!Me.parent},he=function(Me){o(E,n,function(){var Ne=Me.facade;r?ee.emit("rejectionHandled",Ne):Se($e,Ne,Me.value)})},me=function(Me,Ne,Ge){return function(it){Me(Ne,it,Ge)}},_e=function(Me,Ne,Ge){Me.done||(Me.done=!0,Ge&&(Me=Ge),Me.value=Ne,Me.state=O,Re(Me,!0))},Le=function(Me,Ne,Ge){if(!Me.done){Me.done=!0,Ge&&(Me=Ge);try{if(Me.facade===Ne)throw new de("Promise can't be resolved itself");var it=ye(Ne);it?_(function(){var Dt={done:!1};try{o(it,Ne,me(Le,Dt,Me),me(_e,Dt,Me))}catch(rr){_e(Dt,rr,Me)}}):(Me.value=Ne,Me.state=ae,Re(Me,!1))}catch(Dt){_e({done:!1},Dt,Me)}}};if($&&(ne=function(Ne){m(this,re),d(Ne),o(k,this);var Ge=W(this);try{Ne(me(Le,Ge),me(_e,Ge))}catch(it){_e(Ge,it)}},re=ne.prototype,k=function(Ne){Y(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:Ve,value:null})},k.prototype=a(re,"then",function(Ne,Ge){var it=W(this),Dt=z(S(this,ne));return it.parent=!0,Dt.ok=h(Ne)?Ne:!0,Dt.fail=h(Ge)&&Ge,Dt.domain=r?ee.domain:void 0,it.state===Ve?it.reactions.add(Dt):_(function(){ve(Dt,it)}),Dt.promise}),U=function(){var Me=new k,Ne=W(Me);this.promise=Me,this.resolve=me(Le,Ne),this.reject=me(_e,Ne)},y.f=z=function(Me){return Me===ne||Me===K?new U(Me):ue(Me)},!t&&h(R)&&Q!==Object.prototype)){ie=Q.then,B||a(Q,"then",function(Ne,Ge){var it=this;return new ne(function(Dt,rr){o(ie,it,Dt,rr)}).then(Ne,Ge)},{unsafe:!0});try{delete Q.constructor}catch{}u&&u(Q,re)}return e({global:!0,constructor:!0,wrap:!0,forced:$},{Promise:ne}),K=i.Promise,l(ne,N,!1,!0),f(N),QB}var p6={},W0,v6;function Am(){if(v6)return W0;v6=1;var e=id(),t=lm(),r=tp().CONSTRUCTOR;return W0=r||!t(function(n){e.all(n).then(void 0,function(){})}),W0}var g6;function Mue(){if(g6)return p6;g6=1;var e=Ie(),t=ir(),r=Yr(),n=hu(),i=nd(),o=Oi(),a=Am();return e({target:"Promise",stat:!0,forced:a},{all:function(l){var f=this,d=n.f(f),h=d.resolve,p=d.reject,m=i(function(){var S=r(f.resolve),E=[],_=0,w=1;o(l,function(T){var C=_++,x=!1;w++,t(S,f,T).then(function(R){x||(x=!0,E[C]=R,--w||h(E))},p)}),--w||h(E)});return m.error&&p(m.value),d.promise}}),p6}var m6={},y6;function $ue(){if(y6)return m6;y6=1;var e=Ie(),t=cn(),r=tp().CONSTRUCTOR,n=id(),i=Kr(),o=Qr(),a=wn(),u=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(f){return this.then(void 0,f)}}),!t&&o(n)){var l=i("Promise").prototype.catch;u.catch!==l&&a(u,"catch",l,{unsafe:!0})}return m6}var _6={},E6;function Fue(){if(E6)return _6;E6=1;var e=Ie(),t=ir(),r=Yr(),n=hu(),i=nd(),o=Oi(),a=Am();return e({target:"Promise",stat:!0,forced:a},{race:function(l){var f=this,d=n.f(f),h=d.reject,p=i(function(){var m=r(f.resolve);o(l,function(S){t(m,f,S).then(d.resolve,h)})});return p.error&&h(p.value),d.promise}}),_6}var S6={},w6;function jue(){if(w6)return S6;w6=1;var e=Ie(),t=hu(),r=tp().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:r},{reject:function(i){var o=t.f(this),a=o.reject;return a(i),o.promise}}),S6}var b6={},G0,T6;function zQ(){if(T6)return G0;T6=1;var e=ur(),t=xr(),r=hu();return G0=function(n,i){if(e(n),t(i)&&i.constructor===n)return i;var o=r.f(n),a=o.resolve;return a(i),o.promise},G0}var A6;function Uue(){if(A6)return b6;A6=1;var e=Ie(),t=Kr(),r=cn(),n=id(),i=tp().CONSTRUCTOR,o=zQ(),a=t("Promise"),u=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(f){return o(u&&this===a?n:this,f)}}),b6}var R6;function que(){return R6||(R6=1,Nue(),Mue(),$ue(),Fue(),jue(),Uue()),XB}var x6={},C6;function Bue(){if(C6)return x6;C6=1;var e=Ie(),t=ir(),r=Yr(),n=hu(),i=nd(),o=Oi(),a=Am();return e({target:"Promise",stat:!0,forced:a},{allSettled:function(l){var f=this,d=n.f(f),h=d.resolve,p=d.reject,m=i(function(){var S=r(f.resolve),E=[],_=0,w=1;o(l,function(T){var C=_++,x=!1;w++,t(S,f,T).then(function(R){x||(x=!0,E[C]={status:"fulfilled",value:R},--w||h(E))},function(R){x||(x=!0,E[C]={status:"rejected",reason:R},--w||h(E))})}),--w||h(E)});return m.error&&p(m.value),d.promise}}),x6}var O6={},I6;function Vue(){if(I6)return O6;I6=1;var e=Ie(),t=ir(),r=Yr(),n=Kr(),i=hu(),o=nd(),a=Oi(),u=Am(),l="No one promise resolved";return e({target:"Promise",stat:!0,forced:u},{any:function(d){var h=this,p=n("AggregateError"),m=i.f(h),S=m.resolve,E=m.reject,_=o(function(){var w=r(h.resolve),T=[],C=0,x=1,R=!1;a(d,function(P){var y=C++,N=!1;x++,t(w,h,P).then(function($){N||R||(R=!0,S($))},function($){N||R||(N=!0,T[y]=$,--x||E(new p(T,l)))})}),--x||E(new p(T,l))});return _.error&&E(_.value),m.promise}}),O6}var P6={},k6;function Hue(){if(k6)return P6;k6=1;var e=Ie(),t=cn(),r=id(),n=Lt(),i=Kr(),o=Qr(),a=bm(),u=zQ(),l=wn(),f=r&&r.prototype,d=!!r&&n(function(){f.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(p){var m=a(this,i("Promise")),S=o(p);return this.then(S?function(E){return u(m,p()).then(function(){return E})}:p,S?function(E){return u(m,p()).then(function(){throw E})}:p)}}),!t&&o(r)){var h=i("Promise").prototype.finally;f.finally!==h&&l(f,"finally",h,{unsafe:!0})}return P6}var D6={},L6;function zue(){if(L6)return D6;L6=1;var e=Ie(),t=Bt(),r=no(),n=Po(),i=hu(),o=Yr(),a=nd(),u=t.Promise,l=!1,f=!u||!u.try||a(function(){u.try(function(d){l=d===8},8)}).error||!l;return e({target:"Promise",stat:!0,forced:f},{try:function(d){var h=arguments.length>1?n(arguments,1):[],p=i.f(this),m=a(function(){return r(o(d),void 0,h)});return(m.error?p.reject:p.resolve)(m.value),p.promise}}),D6}var N6={},M6;function Wue(){if(M6)return N6;M6=1;var e=Ie(),t=hu();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),N6}var $6={},K0,F6;function WQ(){if(F6)return K0;F6=1;var e=Bt(),t=em(),r=Qr(),n=zi(),i=Ea(),o=wn(),a=Cr(),u=cn(),l="USE_FUNCTION_CONSTRUCTOR",f=a("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,p,m;if(h)p=h;else if(r(d))p=d.prototype;else if(t[l]||e[l])try{m=i(i(i(Function("return async function*(){}()")()))),i(m)===Object.prototype&&(p=m)}catch{}return p?u&&(p=n(p)):p={},r(p[f])||o(p,f,function(){return this}),K0=p,K0}var Y0,j6;function GQ(){if(j6)return Y0;j6=1;var e=ir(),t=ur(),r=zi(),n=Bi(),i=du(),o=ti(),a=Gi(),u=Kr(),l=WQ(),f=hc(),d=u("Promise"),h="AsyncFromSyncIterator",p=o.set,m=o.getterFor(h),S=function(_,w,T,C,x){var R=_.done;d.resolve(_.value).then(function(P){w(f(P,R))},function(P){if(!R&&x)try{a(C,"throw",P)}catch(y){P=y}T(P)})},E=function(w){w.type=h,p(this,w)};return E.prototype=i(r(l),{next:function(){var w=m(this);return new d(function(T,C){var x=t(e(w.next,w.iterator));S(x,T,C,w.iterator,!0)})},return:function(){var _=m(this).iterator;return new d(function(w,T){var C=n(_,"return");if(C===void 0)return w(f(void 0,!0));var x=t(e(C,_));S(x,w,T,_)})}}),Y0=E,Y0}var X0,U6;function Gue(){if(U6)return X0;U6=1;var e=ir(),t=GQ(),r=ur(),n=Xf(),i=oa(),o=Bi(),a=Cr(),u=a("asyncIterator");return X0=function(l,f){var d=arguments.length<2?o(l,u):f;return d?r(e(d,l)):new t(i(n(l)))},X0}var Q0,q6;function Kue(){if(q6)return Q0;q6=1;var e=ir(),t=Kr(),r=Bi();return Q0=function(n,i,o,a){try{var u=r(n,"return");if(u)return t("Promise").resolve(e(u,n)).then(function(){i(o)},function(l){a(l)})}catch(l){return a(l)}i(o)},Q0}var J0,B6;function Yue(){if(B6)return J0;B6=1;var e=ir(),t=Yr(),r=ur(),n=xr(),i=dc(),o=Kr(),a=oa(),u=Kue(),l=function(f){var d=f===0,h=f===1,p=f===2,m=f===3;return function(S,E,_){r(S);var w=E!==void 0;(w||!d)&&t(E);var T=a(S),C=o("Promise"),x=T.iterator,R=T.next,P=0;return new C(function(y,N){var $=function(B){u(x,N,B,N)},H=function(){try{if(w)try{i(P)}catch(B){$(B)}C.resolve(r(e(R,x))).then(function(B){try{if(r(B).done)d?(_.length=P,y(_)):y(m?!1:p||void 0);else{var W=B.value;try{if(w){var Y=E(W,P),Q=function(ne){if(h)H();else if(p)ne?H():u(x,y,!1,N);else if(d)try{_[P++]=ne,H()}catch(re){$(re)}else ne?u(x,y,m||W,N):H()};n(Y)?C.resolve(Y).then(Q,$):Q(Y)}else _[P++]=W,H()}catch(ne){$(ne)}}}catch(ne){N(ne)}},N)}catch(B){N(B)}};H()})}};return J0={toArray:l(0),forEach:l(1),every:l(2),some:l(3),find:l(4)},J0}var Z0,V6;function Xue(){if(V6)return Z0;V6=1;var e=ro(),t=Nt(),r=on(),n=lc(),i=Gue(),o=Xf(),a=oa(),u=fc(),l=Bi(),f=Kr(),d=mQ(),h=Cr(),p=GQ(),m=Yue().toArray,S=h("asyncIterator"),E=t(d("Array","values")),_=t(E([]).next),w=function(){return new T(this)},T=function(C){this.iterator=E(C)};return T.prototype.next=function(){return _(this.iterator)},Z0=function(x){var R=this,P=arguments.length,y=P>1?arguments[1]:void 0,N=P>2?arguments[2]:void 0;return new(f("Promise"))(function($){var H=r(x);y!==void 0&&(y=e(y,N));var B=l(H,S),W=B?void 0:u(H)||w,Y=n(R)?new R:[],Q=B?i(H,B):new p(a(o(H,W)));$(m(Q,y,Y))})},Z0}var H6;function Que(){if(H6)return $6;H6=1;var e=Ie(),t=Xue(),r=Lt(),n=Array.fromAsync,i=!n||r(function(){var o=0;return n.call(function(){return o++,[]},{length:0}),o!==1});return e({target:"Array",stat:!0,forced:i},{fromAsync:t}),$6}var z6={},W6;function Jue(){if(W6)return z6;W6=1;var e=Ie(),t=gr(),r=Kr(),n=Yr(),i=io(),o=wn(),a=du(),u=pi(),l=Cr(),f=ti(),d=CQ(),h=Rs(),p=r("Promise"),m=r("SuppressedError"),S=ReferenceError,E=l("asyncDispose"),_=l("toStringTag"),w="AsyncDisposableStack",T=f.set,C=f.getterFor(w),x="async-dispose",R="disposed",P="pending",y=function(B){var W=C(B);if(W.state===R)throw new S(w+" already disposed");return W},N=function(){T(i(this,$),{type:w,state:P,stack:[]}),t||(this.disposed=!1)},$=N.prototype;a($,{disposeAsync:function(){var W=this;return new p(function(Y,Q){var ne=C(W);if(ne.state===R)return Y(void 0);ne.state=R,t||(W.disposed=!0);var re=ne.stack,de=re.length,G=!1,ee,z=function(Ee){G?ee=new m(Ee,ee):(G=!0,ee=Ee),ue()},ue=function(){if(de){var Ee=re[--de];re[de]=null;try{p.resolve(Ee()).then(ue,z)}catch(Oe){z(Oe)}}else ne.stack=null,G?Q(ee):Y(void 0)};ue()})},use:function(W){return d(y(this),W,x),W},adopt:function(W,Y){var Q=y(this);return n(Y),d(Q,void 0,x,function(){return Y(W)}),W},defer:function(W){var Y=y(this);n(W),d(Y,void 0,x,W)},move:function(){var W=y(this),Y=new N;return C(Y).stack=W.stack,W.stack=[],W.state=R,t||(this.disposed=!0),Y}}),t&&u($,"disposed",{configurable:!0,get:function(){return C(this).state===R}}),o($,E,$.disposeAsync,{name:"disposeAsync"}),o($,_,w,{nonWritable:!0});var H=h&&h<136;return e({global:!0,constructor:!0,forced:H},{AsyncDisposableStack:N}),z6}var G6={},K6;function Zue(){if(K6)return G6;K6=1;var e=ir(),t=wn(),r=Kr(),n=Bi(),i=Xr(),o=Cr(),a=WQ(),u=o("asyncDispose"),l=r("Promise");return i(a,u)||t(a,u,function(){var f=this;return new l(function(d,h){var p=n(f,"return");p?l.resolve(e(p,f)).then(function(){d(void 0)},h):d(void 0)})}),G6}var Y6={},X6;function ele(){if(X6)return Y6;X6=1;var e=Ie(),t=no(),r=Yr(),n=ur(),i=Lt(),o=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:o},{apply:function(u,l,f){return t(r(u),l,n(f))}}),Y6}var Q6={},J6;function tle(){if(J6)return Q6;J6=1;var e=Ie(),t=Kr(),r=no(),n=OQ(),i=lO(),o=ur(),a=xr(),u=zi(),l=Lt(),f=t("Reflect","construct"),d=Object.prototype,h=[].push,p=l(function(){function E(){}return!(f(function(){},[],E)instanceof E)}),m=!l(function(){f(function(){})}),S=p||m;return e({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(_,w){i(_),o(w);var T=arguments.length<3?_:i(arguments[2]);if(m&&!p)return f(_,w,T);if(_===T){switch(w.length){case 0:return new _;case 1:return new _(w[0]);case 2:return new _(w[0],w[1]);case 3:return new _(w[0],w[1],w[2]);case 4:return new _(w[0],w[1],w[2],w[3])}var C=[null];return r(h,C,w),new(r(n,_,C))}var x=T.prototype,R=u(a(x)?x:d),P=r(_,R,w);return a(P)?P:R}}),Q6}var Z6={},e4;function rle(){if(e4)return Z6;e4=1;var e=Ie(),t=gr(),r=ur(),n=nl(),i=qn(),o=Lt(),a=o(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})});return e({target:"Reflect",stat:!0,forced:a,sham:!t},{defineProperty:function(l,f,d){r(l);var h=n(f);r(d);try{return i.f(l,h,d),!0}catch{return!1}}}),Z6}var t4={},r4;function nle(){if(r4)return t4;r4=1;var e=Ie(),t=ur(),r=Vi().f;return e({target:"Reflect",stat:!0},{deleteProperty:function(i,o){var a=r(t(i),o);return a&&!a.configurable?!1:delete i[o]}}),t4}var n4={},e1,i4;function KQ(){if(i4)return e1;i4=1;var e=Xr();return e1=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},e1}var a4;function ile(){if(a4)return n4;a4=1;var e=Ie(),t=ir(),r=xr(),n=ur(),i=KQ(),o=Vi(),a=Ea();function u(l,f){var d=arguments.length<3?l:arguments[2],h,p;if(n(l)===d)return l[f];if(h=o.f(l,f),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(p=a(l)))return u(p,f,d)}return e({target:"Reflect",stat:!0},{get:u}),n4}var o4={},s4;function ale(){if(s4)return o4;s4=1;var e=Ie(),t=gr(),r=ur(),n=Vi();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(o,a){return n.f(r(o),a)}}),o4}var u4={},l4;function ole(){if(l4)return u4;l4=1;var e=Ie(),t=ur(),r=Ea(),n=KC();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(o){return r(t(o))}}),u4}var c4={},f4;function sle(){if(f4)return c4;f4=1;var e=Ie();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),c4}var d4={},h4;function ule(){if(h4)return d4;h4=1;var e=Ie(),t=ur(),r=sO();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),d4}var p4={},v4;function lle(){if(v4)return p4;v4=1;var e=Ie(),t=BC();return e({target:"Reflect",stat:!0},{ownKeys:t}),p4}var g4={},m4;function cle(){if(m4)return g4;m4=1;var e=Ie(),t=Kr(),r=ur(),n=td();return e({target:"Reflect",stat:!0,sham:!n},{preventExtensions:function(o){r(o);try{var a=t("Object","preventExtensions");return a&&a(o),!0}catch{return!1}}}),g4}var y4={},_4;function fle(){if(_4)return y4;_4=1;var e=Ie(),t=ir(),r=ur(),n=xr(),i=KQ(),o=Lt(),a=qn(),u=Vi(),l=Ea(),f=Za();function d(p,m,S){var E=arguments.length<4?p:arguments[3],_=u.f(r(p),m),w,T,C;if(!_){if(n(T=l(p)))return d(T,m,S,E);_=f(0)}if(i(_)){if(_.writable===!1||!n(E))return!1;if(w=u.f(E,m)){if(w.get||w.set||w.writable===!1)return!1;w.value=S,a.f(E,m,w)}else a.f(E,m,f(0,S))}else{if(C=_.set,C===void 0)return!1;t(C,E,S)}return!0}var h=o(function(){var p=function(){},m=a.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,m)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),y4}var E4={},S4;function dle(){if(S4)return E4;S4=1;var e=Ie(),t=ur(),r=nQ(),n=Qo();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(o,a){t(o),r(a);try{return n(o,a),!0}catch{return!1}}}),E4}var w4={},b4;function hle(){if(b4)return w4;b4=1;var e=Ie(),t=Bt(),r=Na();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),w4}var T4={},t1,A4;function Rm(){if(A4)return t1;A4=1;var e=xr(),t=ia(),r=Cr(),n=r("match");return t1=function(i){var o;return e(i)&&((o=i[n])!==void 0?!!o:t(i)==="RegExp")},t1}var r1,R4;function YQ(){if(R4)return r1;R4=1;var e=Bt(),t=Lt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var o={},a="",u=i?"dgimsy":"gimsy",l=function(p,m){Object.defineProperty(o,p,{get:function(){return a+=m,!0}})},f={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(f.hasIndices="d");for(var d in f)l(d,f[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(o);return h!==u||a!==u});return r1={correct:n},r1}var n1,x4;function cO(){if(x4)return n1;x4=1;var e=ur();return n1=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},n1}var i1,C4;function vc(){if(C4)return i1;C4=1;var e=ir(),t=Xr(),r=_a(),n=YQ(),i=cO(),o=RegExp.prototype;return i1=n.correct?function(a){return a.flags}:function(a){return!n.correct&&r(o,a)&&!t(a,"flags")?e(i,a):a.flags},i1}var a1,O4;function xm(){if(O4)return a1;O4=1;var e=Lt(),t=Bt(),r=t.RegExp,n=e(function(){var a=r("a","y");return a.lastIndex=2,a.exec("abcd")!==null}),i=n||e(function(){return!r("a","y").sticky}),o=n||e(function(){var a=r("^r","gy");return a.lastIndex=2,a.exec("str")!==null});return a1={BROKEN_CARET:o,MISSED_STICKY:i,UNSUPPORTED_Y:n},a1}var o1,I4;function fO(){if(I4)return o1;I4=1;var e=Lt(),t=Bt(),r=t.RegExp;return o1=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
4
+ `)&&n.flags==="s")}),o1}var s1,P4;function XQ(){if(P4)return s1;P4=1;var e=Lt(),t=Bt(),r=t.RegExp;return s1=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),s1}var k4;function ple(){if(k4)return T4;k4=1;var e=gr(),t=Bt(),r=Nt(),n=Gh(),i=cc(),o=Hi(),a=zi(),u=sc().f,l=_a(),f=Rm(),d=Mr(),h=vc(),p=xm(),m=iQ(),S=wn(),E=Lt(),_=Xr(),w=ti().enforce,T=Zf(),C=Cr(),x=fO(),R=XQ(),P=C("match"),y=t.RegExp,N=y.prototype,$=t.SyntaxError,H=r(N.exec),B=r("".charAt),W=r("".replace),Y=r("".indexOf),Q=r("".slice),ne=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re=/a/g,de=/a/g,G=new y(re)!==re,ee=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,ue=e&&(!G||ee||x||R||E(function(){return de[P]=!1,y(re)!==re||y(de)===de||String(y(re,"i"))!=="/a/i"})),Ee=function(O){for(var I=O.length,M=0,k="",U=!1,K;M<=I;M++){if(K=B(O,M),K==="\\"){k+=K+B(O,++M);continue}!U&&K==="."?k+="[\\s\\S]":(K==="["?U=!0:K==="]"&&(U=!1),k+=K)}return k},Oe=function(O){for(var I=O.length,M=0,k="",U=[],K=a(null),ie=!1,ye=!1,ve=0,Re="",Se;M<=I;M++){if(Se=B(O,M),Se==="\\")Se+=B(O,++M);else if(Se==="]")ie=!1;else if(!ie)switch(!0){case Se==="[":ie=!0;break;case Se==="(":if(k+=Se,Q(O,M+1,M+3)==="?:")continue;H(ne,Q(O,M+1))&&(M+=2,ye=!0),ve++;continue;case(Se===">"&&ye):if(Re===""||_(K,Re))throw new $("Invalid capture group name");K[Re]=!0,U[U.length]=[Re,ve],ye=!1,Re="";continue}ye?Re+=Se:k+=Se}return[k,U]};if(n("RegExp",ue)){for(var $e=function(I,M){var k=l(N,this),U=f(I),K=M===void 0,ie=[],ye=I,ve,Re,Se,xe,De,he;if(!k&&U&&K&&I.constructor===$e)return I;if((U||l(N,I))&&(I=I.source,K&&(M=h(ye))),I=I===void 0?"":d(I),M=M===void 0?"":d(M),ye=I,x&&"dotAll"in re&&(Re=!!M&&Y(M,"s")>-1,Re&&(M=W(M,/s/g,""))),ve=M,ee&&"sticky"in re&&(Se=!!M&&Y(M,"y")>-1,Se&&z&&(M=W(M,/y/g,""))),R&&(xe=Oe(I),I=xe[0],ie=xe[1]),De=i(y(I,M),k?this:N,$e),(Re||Se||ie.length)&&(he=w(De),Re&&(he.dotAll=!0,he.raw=$e(Ee(I),ve)),Se&&(he.sticky=!0),ie.length&&(he.groups=ie)),I!==ye)try{o(De,"source",ye===""?"(?:)":ye)}catch{}return De},Ve=u(y),ae=0;Ve.length>ae;)m($e,y,Ve[ae++]);N.constructor=$e,$e.prototype=N,S(t,"RegExp",$e,{constructor:!0})}return T("RegExp"),T4}var D4={},u1,L4;function Cm(){if(L4)return u1;L4=1;var e=TypeError;return u1=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},u1}var N4;function vle(){if(N4)return D4;N4=1;var e=Ie(),t=Nt(),r=Cm(),n=Xr(),i=mm().start,o=ep(),a=Array,u=RegExp.escape,l=t("".charAt),f=t("".charCodeAt),d=t(1.1.toString),h=t([].join),p=/^[0-9a-z]/i,m=/^[$()*+./?[\\\]^{|}]/,S=RegExp("^[!\"#%&',\\-:;<=>@`~"+o+"]"),E=t(p.exec),_={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(C){var x=d(f(C,0),16);return x.length<3?"\\x"+i(x,2,"0"):"\\u"+i(x,4,"0")},T=!u||u("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:T},{escape:function(x){r(x);for(var R=x.length,P=a(R),y=0;y<R;y++){var N=l(x,y);if(y===0&&E(p,N))P[y]=w(N);else if(n(_,N))P[y]="\\"+_[N];else if(E(m,N))P[y]="\\"+N;else if(E(S,N))P[y]=w(N);else{var $=f(N,0);($&63488)!==55296?P[y]=N:$>=56320||y+1>=R||(f(x,y+1)&64512)!==56320?P[y]=w(N):(P[y]=N,P[++y]=l(x,y))}}return h(P,"")}}),D4}var M4={},$4;function gle(){if($4)return M4;$4=1;var e=gr(),t=fO(),r=ia(),n=pi(),i=ti().get,o=RegExp.prototype,a=TypeError;return e&&t&&n(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(r(this)==="RegExp")return!!i(this).dotAll;throw new a("Incompatible receiver, RegExp required")}}}),M4}var F4={},l1,j4;function dO(){if(j4)return l1;j4=1;var e=ir(),t=Nt(),r=Mr(),n=cO(),i=xm(),o=zf(),a=zi(),u=ti().get,l=fO(),f=XQ(),d=o("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,m=t("".charAt),S=t("".indexOf),E=t("".replace),_=t("".slice),w=(function(){var R=/a/,P=/b*/g;return e(h,R,"a"),e(h,P,"a"),R.lastIndex!==0||P.lastIndex!==0})(),T=i.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,x=w||C||T||l||f;return x&&(p=function(P){var y=this,N=u(y),$=r(P),H=N.raw,B,W,Y,Q,ne,re,de;if(H)return H.lastIndex=y.lastIndex,B=e(p,H,$),y.lastIndex=H.lastIndex,B;var G=N.groups,ee=T&&y.sticky,z=e(n,y),ue=y.source,Ee=0,Oe=$;if(ee&&(z=E(z,"y",""),S(z,"g")===-1&&(z+="g"),Oe=_($,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&m($,y.lastIndex-1)!==`
5
+ `)&&(ue="(?: "+ue+")",Oe=" "+Oe,Ee++),W=new RegExp("^(?:"+ue+")",z)),C&&(W=new RegExp("^"+ue+"$(?!\\s)",z)),w&&(Y=y.lastIndex),Q=e(h,ee?W:y,Oe),ee?Q?(Q.input=_(Q.input,Ee),Q[0]=_(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:Y),C&&Q&&Q.length>1&&e(d,Q[0],W,function(){for(ne=1;ne<arguments.length-2;ne++)arguments[ne]===void 0&&(Q[ne]=void 0)}),Q&&G)for(Q.groups=re=a(null),ne=0;ne<G.length;ne++)de=G[ne],re[de[0]]=Q[de[1]];return Q}),l1=p,l1}var U4;function hO(){if(U4)return F4;U4=1;var e=Ie(),t=dO();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),F4}var q4={},B4;function mle(){if(B4)return q4;B4=1;var e=gr(),t=pi(),r=YQ(),n=cO();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),q4}var V4={},H4;function yle(){if(H4)return V4;H4=1;var e=gr(),t=xm().MISSED_STICKY,r=ia(),n=pi(),i=ti().get,o=RegExp.prototype,a=TypeError;return e&&t&&n(o,"sticky",{configurable:!0,get:function(){if(this!==o){if(r(this)==="RegExp")return!!i(this).sticky;throw new a("Incompatible receiver, RegExp required")}}}),V4}var z4={},W4;function _le(){if(W4)return z4;W4=1,hO();var e=Ie(),t=ir(),r=Qr(),n=ur(),i=Mr(),o=(function(){var u=!1,l=/[ac]/;return l.exec=function(){return u=!0,/./.exec.apply(this,arguments)},l.test("abc")===!0&&u})(),a=/./.test;return e({target:"RegExp",proto:!0,forced:!o},{test:function(u){var l=n(this),f=i(u),d=l.exec;if(!r(d))return t(a,l,f);var h=t(d,l,f);return h===null?!1:(n(h),!0)}}),z4}var G4={},K4;function Ele(){if(K4)return G4;K4=1;var e=Gf().PROPER,t=wn(),r=ur(),n=Mr(),i=Lt(),o=vc(),a="toString",u=RegExp.prototype,l=u[a],f=i(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&l.name!==a;return(f||d)&&t(u,a,function(){var p=r(this),m=n(p.source),S=n(o(p));return"/"+m+"/"+S},{unsafe:!0}),G4}var Y4={},X4={},Q4;function Sle(){if(Q4)return X4;Q4=1;var e=_m(),t=kQ();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),X4}var J4;function wle(){return J4||(J4=1,Sle()),Y4}var Z4={},c1,e2;function Jo(){if(e2)return c1;e2=1;var e=Nt(),t=Set.prototype;return c1={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},c1}var f1,t2;function gc(){if(t2)return f1;t2=1;var e=Jo().has;return f1=function(t){return e(t),t},f1}var d1,r2;function mc(){if(r2)return d1;r2=1;var e=ir();return d1=function(t,r,n){for(var i=n?t:t.iterator,o=t.next,a,u;!(a=e(o,i)).done;)if(u=r(a.value),u!==void 0)return u},d1}var h1,n2;function ad(){if(n2)return h1;n2=1;var e=Nt(),t=mc(),r=Jo(),n=r.Set,i=r.proto,o=e(i.forEach),a=e(i.keys),u=a(new n).next;return h1=function(l,f,d){return d?t({iterator:a(l),next:u},f):o(l,f)},h1}var p1,i2;function pO(){if(i2)return p1;i2=1;var e=Jo(),t=ad(),r=e.Set,n=e.add;return p1=function(i){var o=new r;return t(i,function(a){n(o,a)}),o},p1}var v1,a2;function rp(){if(a2)return v1;a2=1;var e=om(),t=Jo();return v1=e(t.proto,"size","get")||function(r){return r.size},v1}var g1,o2;function yc(){if(o2)return g1;o2=1;var e=Yr(),t=ur(),r=ir(),n=ii(),i=oa(),o="Invalid size",a=RangeError,u=TypeError,l=Math.max,f=function(d,h){this.set=d,this.size=l(h,0),this.has=e(d.has),this.keys=e(d.keys)};return f.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},g1=function(d){t(d);var h=+d.size;if(h!==h)throw new u(o);var p=n(h);if(p<0)throw new a(o);return new f(d,p)},g1}var m1,s2;function ble(){if(s2)return m1;s2=1;var e=gc(),t=Jo(),r=pO(),n=rp(),i=yc(),o=ad(),a=mc(),u=t.has,l=t.remove;return m1=function(d){var h=e(this),p=i(d),m=r(h);return n(h)<=p.size?o(h,function(S){p.includes(S)&&l(m,S)}):a(p.getIterator(),function(S){u(m,S)&&l(m,S)}),m},m1}var y1,u2;function _c(){if(u2)return y1;u2=1;var e=Kr(),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 y1=function(n,i){var o=e("Set");try{new o()[n](t(0));try{return new o()[n](t(-1)),!1}catch{if(!i)return!0;try{return new o()[n](r(-1/0)),!1}catch{var a=new o;return a.add(1),a.add(2),i(a[n](r(1/0)))}}}catch{return!1}},y1}var l2;function Tle(){if(l2)return Z4;l2=1;var e=Ie(),t=ble(),r=Lt(),n=_c(),i=!n("difference",function(a){return a.size===0}),o=i||r(function(){var a={size:1,has:function(){return!0},keys:function(){var l=0;return{next:function(){var f=l++>1;return u.has(1)&&u.clear(),{done:f,value:2}}}}},u=new Set([1,2,3,4]);return u.difference(a).size!==3});return e({target:"Set",proto:!0,real:!0,forced:o},{difference:t}),Z4}var c2={},_1,f2;function Ale(){if(f2)return _1;f2=1;var e=gc(),t=Jo(),r=rp(),n=yc(),i=ad(),o=mc(),a=t.Set,u=t.add,l=t.has;return _1=function(d){var h=e(this),p=n(d),m=new a;return r(h)>p.size?o(p.getIterator(),function(S){l(h,S)&&u(m,S)}):i(h,function(S){p.includes(S)&&u(m,S)}),m},_1}var d2;function Rle(){if(d2)return c2;d2=1;var e=Ie(),t=Lt(),r=Ale(),n=_c(),i=!n("intersection",function(o){return o.size===2&&o.has(1)&&o.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}),c2}var h2={},E1,p2;function xle(){if(p2)return E1;p2=1;var e=gc(),t=Jo().has,r=rp(),n=yc(),i=ad(),o=mc(),a=Gi();return E1=function(l){var f=e(this),d=n(l);if(r(f)<=d.size)return i(f,function(p){if(d.includes(p))return!1},!0)!==!1;var h=d.getIterator();return o(h,function(p){if(t(f,p))return a(h,"normal",!1)})!==!1},E1}var v2;function Cle(){if(v2)return h2;v2=1;var e=Ie(),t=xle(),r=_c(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),h2}var g2={},S1,m2;function Ole(){if(m2)return S1;m2=1;var e=gc(),t=rp(),r=ad(),n=yc();return S1=function(o){var a=e(this),u=n(o);return t(a)>u.size?!1:r(a,function(l){if(!u.includes(l))return!1},!0)!==!1},S1}var y2;function Ile(){if(y2)return g2;y2=1;var e=Ie(),t=Ole(),r=_c(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),g2}var _2={},w1,E2;function Ple(){if(E2)return w1;E2=1;var e=gc(),t=Jo().has,r=rp(),n=yc(),i=mc(),o=Gi();return w1=function(u){var l=e(this),f=n(u);if(r(l)<f.size)return!1;var d=f.getIterator();return i(d,function(h){if(!t(l,h))return o(d,"normal",!1)})!==!1},w1}var S2;function kle(){if(S2)return _2;S2=1;var e=Ie(),t=Ple(),r=_c(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),_2}var w2={},b1,b2;function Dle(){if(b2)return b1;b2=1;var e=gc(),t=Jo(),r=pO(),n=yc(),i=mc(),o=t.add,a=t.has,u=t.remove;return b1=function(f){var d=e(this),h=n(f).getIterator(),p=r(d);return i(h,function(m){a(d,m)?u(p,m):o(p,m)}),p},b1}var T1,T2;function QQ(){return T2||(T2=1,T1=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}}),T1}var A2;function Lle(){if(A2)return w2;A2=1;var e=Ie(),t=Dle(),r=QQ(),n=_c(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),w2}var R2={},A1,x2;function Nle(){if(x2)return A1;x2=1;var e=gc(),t=Jo().add,r=pO(),n=yc(),i=mc();return A1=function(a){var u=e(this),l=n(a).getIterator(),f=r(u);return i(l,function(d){t(f,d)}),f},A1}var C2;function Mle(){if(C2)return R2;C2=1;var e=Ie(),t=Nle(),r=QQ(),n=_c(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),R2}var O2={},I2;function $le(){if(I2)return O2;I2=1;var e=Ie(),t=Nt(),r=Gn(),n=ii(),i=Mr(),o=Lt(),a=t("".charAt),u=o(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:u},{at:function(f){var d=i(r(this)),h=d.length,p=n(f),m=p>=0?p:h+p;return m<0||m>=h?void 0:a(d,m)}}),O2}var P2={},R1,k2;function Om(){if(k2)return R1;k2=1;var e=Nt(),t=ii(),r=Mr(),n=Gn(),i=e("".charAt),o=e("".charCodeAt),a=e("".slice),u=function(l){return function(f,d){var h=r(n(f)),p=t(d),m=h.length,S,E;return p<0||p>=m?l?"":void 0:(S=o(h,p),S<55296||S>56319||p+1===m||(E=o(h,p+1))<56320||E>57343?l?i(h,p):S:l?a(h,p,p+2):(S-55296<<10)+(E-56320)+65536)}};return R1={codeAt:u(!1),charAt:u(!0)},R1}var D2;function Fle(){if(D2)return P2;D2=1;var e=Ie(),t=Om().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),P2}var L2={},x1,N2;function vO(){if(N2)return x1;N2=1;var e=Rm(),t=TypeError;return x1=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},x1}var C1,M2;function gO(){if(M2)return C1;M2=1;var e=Cr(),t=e("match");return C1=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},C1}var $2;function jle(){if($2)return L2;$2=1;var e=Ie(),t=uc(),r=Vi().f,n=eo(),i=Mr(),o=vO(),a=Gn(),u=gO(),l=cn(),f=t("".slice),d=Math.min,h=u("endsWith"),p=!l&&!h&&!!(function(){var m=r(String.prototype,"endsWith");return m&&!m.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{endsWith:function(S){var E=i(a(this));o(S);var _=arguments.length>1?arguments[1]:void 0,w=E.length,T=_===void 0?w:d(n(_),w),C=i(S);return f(E,T-C.length,T)===C}}),L2}var F2={},j2;function JQ(){if(j2)return F2;j2=1;var e=Ie(),t=Nt(),r=lu(),n=RangeError,i=String.fromCharCode,o=String.fromCodePoint,a=t([].join),u=!!o&&o.length!==1;return e({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(f){for(var d=[],h=arguments.length,p=0,m;h>p;){if(m=+arguments[p++],r(m,1114111)!==m)throw new n(m+" is not a valid code point");d[p]=m<65536?i(m):i(((m-=65536)>>10)+55296,m%1024+56320)}return a(d,"")}}),F2}var U2={},q2;function Ule(){if(q2)return U2;q2=1;var e=Ie(),t=Nt(),r=vO(),n=Gn(),i=Mr(),o=gO(),a=t("".indexOf);return e({target:"String",proto:!0,forced:!o("includes")},{includes:function(l){return!!~a(i(n(this)),i(r(l)),arguments.length>1?arguments[1]:void 0)}}),U2}var B2={},V2;function qle(){if(V2)return B2;V2=1;var e=Ie(),t=Nt(),r=Gn(),n=Mr(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var a=n(r(this)),u=a.length,l=0;l<u;l++){var f=i(a,l);if((f&63488)===55296&&(f>=56320||++l>=u||(i(a,l)&64512)!==56320))return!1}return!0}}),B2}var H2={},z2;function ZQ(){if(z2)return H2;z2=1;var e=Om().charAt,t=Mr(),r=ti(),n=ZC(),i=hc(),o="String Iterator",a=r.set,u=r.getterFor(o);return n(String,"String",function(l){a(this,{type:o,string:t(l),index:0})},function(){var f=u(this),d=f.string,h=f.index,p;return h>=d.length?i(void 0,!0):(p=e(d,h),f.index+=p.length,i(p,!1))}),H2}var W2={},O1,G2;function Im(){if(G2)return O1;G2=1,hO();var e=ir(),t=wn(),r=dO(),n=Lt(),i=Cr(),o=Hi(),a=i("species"),u=RegExp.prototype;return O1=function(l,f,d,h){var p=i(l),m=!n(function(){var w={};return w[p]=function(){return 7},""[l](w)!==7}),S=m&&!n(function(){var w=!1,T=/a/;return l==="split"&&(T={},T.constructor={},T.constructor[a]=function(){return T},T.flags="",T[p]=/./[p]),T.exec=function(){return w=!0,null},T[p](""),!w});if(!m||!S||d){var E=/./[p],_=f(p,""[l],function(w,T,C,x,R){var P=T.exec;return P===r||P===u.exec?m&&!R?{done:!0,value:e(E,T,C,x)}:{done:!0,value:e(w,C,T,x)}:{done:!1}});t(String.prototype,l,_[0]),t(u,p,_[1])}h&&o(u[p],"sham",!0)},O1}var I1,K2;function Pm(){if(K2)return I1;K2=1;var e=Om().charAt;return I1=function(t,r,n){return r+(n?e(t,r).length:1)},I1}var P1,Y2;function np(){if(Y2)return P1;Y2=1;var e=ir(),t=ur(),r=Qr(),n=ia(),i=dO(),o=TypeError;return P1=function(a,u){var l=a.exec;if(r(l)){var f=e(l,a,u);return f!==null&&t(f),f}if(n(a)==="RegExp")return e(i,a,u);throw new o("RegExp#exec called on incompatible receiver")},P1}var X2;function Ble(){if(X2)return W2;X2=1;var e=ir(),t=Nt(),r=Im(),n=ur(),i=xr(),o=eo(),a=Mr(),u=Gn(),l=Bi(),f=Pm(),d=vc(),h=np(),p=t("".indexOf);return r("match",function(m,S,E){return[function(w){var T=u(this),C=i(w)?l(w,m):void 0;return C?e(C,w,T):new RegExp(w)[m](a(T))},function(_){var w=n(this),T=a(_),C=E(S,w,T);if(C.done)return C.value;var x=a(d(w));if(p(x,"g")===-1)return h(w,T);var R=p(x,"u")!==-1;w.lastIndex=0;for(var P=[],y=0,N;(N=h(w,T))!==null;){var $=a(N[0]);P[y]=$,$===""&&(w.lastIndex=f(T,o(w.lastIndex),R)),y++}return y===0?null:P}]}),W2}var Q2={},J2;function Vle(){if(J2)return Q2;J2=1;var e=Ie(),t=ir(),r=uc(),n=JC(),i=hc(),o=Gn(),a=eo(),u=Mr(),l=ur(),f=xr(),d=ia(),h=Rm(),p=vc(),m=Bi(),S=wn(),E=Lt(),_=Cr(),w=bm(),T=Pm(),C=np(),x=ti(),R=cn(),P=_("matchAll"),y="RegExp String",N=y+" Iterator",$=x.set,H=x.getterFor(N),B=RegExp.prototype,W=TypeError,Y=r("".indexOf),Q=r("".matchAll),ne=!!Q&&!E(function(){Q("a",/./)}),re=n(function(ee,z,ue,Ee){$(this,{type:N,regexp:ee,string:z,global:ue,unicode:Ee,done:!1})},y,function(){var ee=H(this);if(ee.done)return i(void 0,!0);var z=ee.regexp,ue=ee.string,Ee=C(z,ue);return Ee===null?(ee.done=!0,i(void 0,!0)):ee.global?(u(Ee[0])===""&&(z.lastIndex=T(ue,a(z.lastIndex),ee.unicode)),i(Ee,!1)):(ee.done=!0,i(Ee,!1))}),de=function(G){var ee=l(this),z=u(G),ue=w(ee,RegExp),Ee=u(p(ee)),Oe,$e,Ve;return Oe=new ue(ue===RegExp?ee.source:ee,Ee),$e=!!~Y(Ee,"g"),Ve=!!~Y(Ee,"u"),Oe.lastIndex=a(ee.lastIndex),new re(Oe,z,$e,Ve)};return e({target:"String",proto:!0,forced:ne},{matchAll:function(ee){var z=o(this),ue,Ee,Oe,$e;if(f(ee)){if(h(ee)&&(ue=u(o(p(ee))),!~Y(ue,"g")))throw new W("`.matchAll` does not allow non-global regexes");if(ne)return Q(z,ee);if(Oe=m(ee,P),Oe===void 0&&R&&d(ee)==="RegExp"&&(Oe=de),Oe)return t(Oe,ee,z)}else if(ne)return Q(z,ee);return Ee=u(z),$e=new RegExp(ee,"g"),R?t(de,$e,Ee):$e[P](Ee)}}),R||P in B||S(B,P,de),Q2}var Z2={},k1,eV;function eJ(){if(eV)return k1;eV=1;var e=As();return k1=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),k1}var tV;function Hle(){if(tV)return Z2;tV=1;var e=Ie(),t=mm().end,r=eJ();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),Z2}var rV={},nV;function zle(){if(nV)return rV;nV=1;var e=Ie(),t=mm().start,r=eJ();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),rV}var iV={},aV;function Wle(){if(aV)return iV;aV=1;var e=Ie(),t=Nt(),r=Li(),n=on(),i=Mr(),o=On(),a=t([].push),u=t([].join);return e({target:"String",stat:!0},{raw:function(f){var d=r(n(f).raw),h=o(d);if(!h)return"";for(var p=arguments.length,m=[],S=0;;){if(a(m,i(d[S++])),S===h)return u(m,"");S<p&&a(m,i(arguments[S]))}}}),iV}var oV={},sV;function Gle(){if(sV)return oV;sV=1;var e=Ie(),t=gm();return e({target:"String",proto:!0},{repeat:t}),oV}var uV={},D1,lV;function tJ(){if(lV)return D1;lV=1;var e=Nt(),t=on(),r=Math.floor,n=e("".charAt),i=e("".replace),o=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;return D1=function(l,f,d,h,p,m){var S=d+l.length,E=h.length,_=u;return p!==void 0&&(p=t(p),_=a),i(m,_,function(w,T){var C;switch(n(T,0)){case"$":return"$";case"&":return l;case"`":return o(f,0,d);case"'":return o(f,S);case"<":C=p[o(T,1,-1)];break;default:var x=+T;if(x===0)return w;if(x>E){var R=r(x/10);return R===0?w:R<=E?h[R-1]===void 0?n(T,1):h[R-1]+n(T,1):w}C=h[x-1]}return C===void 0?"":C})},D1}var cV;function Kle(){if(cV)return uV;cV=1;var e=no(),t=ir(),r=Nt(),n=Im(),i=Lt(),o=ur(),a=Qr(),u=xr(),l=ii(),f=eo(),d=Mr(),h=Gn(),p=Pm(),m=Bi(),S=tJ(),E=vc(),_=np(),w=Cr(),T=w("replace"),C=Math.max,x=Math.min,R=r([].concat),P=r([].push),y=r("".indexOf),N=r("".slice),$=function(Y){return Y===void 0?Y:String(Y)},H=(function(){return"a".replace(/./,"$0")==="$0"})(),B=(function(){return/./[T]?/./[T]("a","$0")==="":!1})(),W=!i(function(){var Y=/./;return Y.exec=function(){var Q=[];return Q.groups={a:"7"},Q},"".replace(Y,"$<a>")!=="7"});return n("replace",function(Y,Q,ne){var re=B?"$":"$0";return[function(G,ee){var z=h(this),ue=u(G)?m(G,T):void 0;return ue?t(ue,G,z,ee):t(Q,d(z),G,ee)},function(de,G){var ee=o(this),z=d(de);if(typeof G=="string"&&y(G,re)===-1&&y(G,"$<")===-1){var ue=ne(Q,ee,z,G);if(ue.done)return ue.value}var Ee=a(G);Ee||(G=d(G));var Oe=d(E(ee)),$e=y(Oe,"g")!==-1,Ve;$e&&(Ve=y(Oe,"u")!==-1,ee.lastIndex=0);for(var ae=[],O;O=_(ee,z),!(O===null||(P(ae,O),!$e));){var I=d(O[0]);I===""&&(ee.lastIndex=p(z,f(ee.lastIndex),Ve))}for(var M="",k=0,U=0;U<ae.length;U++){O=ae[U];for(var K=d(O[0]),ie=C(x(l(O.index),z.length),0),ye=[],ve,Re=1;Re<O.length;Re++)P(ye,$(O[Re]));var Se=O.groups;if(Ee){var xe=R([K],ye,ie,z);Se!==void 0&&P(xe,Se),ve=d(e(G,void 0,xe))}else ve=S(K,z,ie,ye,Se,G);ie>=k&&(M+=N(z,k,ie)+ve,k=ie+K.length)}return M+N(z,k)}]},!W||!H||B),uV}var fV={},dV;function Yle(){if(dV)return fV;dV=1;var e=Ie(),t=ir(),r=Nt(),n=Gn(),i=Qr(),o=xr(),a=Rm(),u=Mr(),l=Bi(),f=vc(),d=tJ(),h=Cr(),p=cn(),m=h("replace"),S=TypeError,E=r("".indexOf),_=r("".replace),w=r("".slice),T=Math.max;return e({target:"String",proto:!0},{replaceAll:function(x,R){var P=n(this),y,N,$,H,B,W,Y,Q,ne,re,de=0,G="";if(o(x)){if(y=a(x),y&&(N=u(n(f(x))),!~E(N,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if($=l(x,m),$)return t($,x,P,R);if(p&&y)return _(u(P),x,R)}for(H=u(P),B=u(x),W=i(R),W||(R=u(R)),Y=B.length,Q=T(1,Y),ne=E(H,B);ne!==-1;)re=W?u(R(B,ne,H)):d(B,H,ne,[],void 0,R),G+=w(H,de,ne)+re,de=ne+Y,ne=ne+Q>H.length?-1:E(H,B,ne+Q);return de<H.length&&(G+=w(H,de)),G}}),fV}var hV={},pV;function Xle(){if(pV)return hV;pV=1;var e=ir(),t=Im(),r=ur(),n=xr(),i=Gn(),o=UQ(),a=Mr(),u=Bi(),l=np();return t("search",function(f,d,h){return[function(m){var S=i(this),E=n(m)?u(m,f):void 0;return E?e(E,m,S):new RegExp(m)[f](a(S))},function(p){var m=r(this),S=a(p),E=h(d,m,S);if(E.done)return E.value;var _=m.lastIndex;o(_,0)||(m.lastIndex=0);var w=l(m,S);return o(m.lastIndex,_)||(m.lastIndex=_),w===null?-1:w.index}]}),hV}var vV={},gV;function Qle(){if(gV)return vV;gV=1;var e=ir(),t=Nt(),r=Im(),n=ur(),i=xr(),o=Gn(),a=bm(),u=Pm(),l=eo(),f=Mr(),d=Bi(),h=np(),p=xm(),m=Lt(),S=p.UNSUPPORTED_Y,E=4294967295,_=Math.min,w=t([].push),T=t("".slice),C=!m(function(){var R=/(?:)/,P=R.exec;R.exec=function(){return P.apply(this,arguments)};var y="ab".split(R);return y.length!==2||y[0]!=="a"||y[1]!=="b"}),x="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(R,P,y){var N="0".split(void 0,0).length?function($,H){return $===void 0&&H===0?[]:e(P,this,$,H)}:P;return[function(H,B){var W=o(this),Y=i(H)?d(H,R):void 0;return Y?e(Y,H,W,B):e(N,f(W),H,B)},function($,H){var B=n(this),W=f($);if(!x){var Y=y(N,B,W,H,N!==P);if(Y.done)return Y.value}var Q=a(B,RegExp),ne=B.unicode,re=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(S?"g":"y"),de=new Q(S?"^(?:"+B.source+")":B,re),G=H===void 0?E:H>>>0;if(G===0)return[];if(W.length===0)return h(de,W)===null?[W]:[];for(var ee=0,z=0,ue=[];z<W.length;){de.lastIndex=S?0:z;var Ee=h(de,S?T(W,z):W),Oe;if(Ee===null||(Oe=_(l(de.lastIndex+(S?z:0)),W.length))===ee)z=u(W,z,ne);else{if(w(ue,T(W,ee,z)),ue.length===G)return ue;for(var $e=1;$e<=Ee.length-1;$e++)if(w(ue,Ee[$e]),ue.length===G)return ue;z=ee=Oe}}return w(ue,T(W,ee)),ue}]},x||!C,S),vV}var mV={},yV;function Jle(){if(yV)return mV;yV=1;var e=Ie(),t=uc(),r=Vi().f,n=eo(),i=Mr(),o=vO(),a=Gn(),u=gO(),l=cn(),f=t("".slice),d=Math.min,h=u("startsWith"),p=!l&&!h&&!!(function(){var m=r(String.prototype,"startsWith");return m&&!m.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{startsWith:function(S){var E=i(a(this));o(S);var _=n(d(arguments.length>1?arguments[1]:void 0,E.length)),w=i(S);return f(E,_,_+w.length)===w}}),mV}var _V={},EV;function Zle(){if(EV)return _V;EV=1;var e=Ie(),t=Nt(),r=Gn(),n=ii(),i=Mr(),o=t("".slice),a=Math.max,u=Math.min,l=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:l},{substr:function(d,h){var p=i(r(this)),m=p.length,S=n(d),E,_;return S===1/0&&(S=0),S<0&&(S=a(m+S,0)),E=h===void 0?m:n(h),E<=0||E===1/0?"":(_=u(S+E,m),S>=_?"":o(p,S,_))}}),_V}var SV={},wV;function ece(){if(wV)return SV;wV=1;var e=Ie(),t=ir(),r=Nt(),n=Gn(),i=Mr(),o=Lt(),a=Array,u=r("".charAt),l=r("".charCodeAt),f=r([].join),d="".toWellFormed,h="�",p=d&&o(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:p},{toWellFormed:function(){var S=i(n(this));if(p)return t(d,S);for(var E=S.length,_=a(E),w=0;w<E;w++){var T=l(S,w);(T&63488)!==55296?_[w]=u(S,w):T>=56320||w+1>=E||(l(S,w+1)&64512)!==56320?_[w]=h:(_[w]=u(S,w),_[++w]=u(S,w))}return f(_,"")}}),SV}var bV={},L1,TV;function mO(){if(TV)return L1;TV=1;var e=Gf().PROPER,t=Lt(),r=ep(),n="​…᠎";return L1=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},L1}var AV;function tce(){if(AV)return bV;AV=1;var e=Ie(),t=rd().trim,r=mO();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),bV}var RV={},xV={},N1,CV;function rJ(){if(CV)return N1;CV=1;var e=rd().end,t=mO();return N1=t("trimEnd")?function(){return e(this)}:"".trimEnd,N1}var OV;function rce(){if(OV)return xV;OV=1;var e=Ie(),t=rJ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),xV}var IV;function nce(){if(IV)return RV;IV=1,rce();var e=Ie(),t=rJ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),RV}var PV={},kV={},M1,DV;function nJ(){if(DV)return M1;DV=1;var e=rd().start,t=mO();return M1=t("trimStart")?function(){return e(this)}:"".trimStart,M1}var LV;function ice(){if(LV)return kV;LV=1;var e=Ie(),t=nJ();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),kV}var NV;function ace(){if(NV)return PV;NV=1,ice();var e=Ie(),t=nJ();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),PV}var MV={},$1,$V;function ao(){if($V)return $1;$V=1;var e=Nt(),t=Gn(),r=Mr(),n=/"/g,i=e("".replace);return $1=function(o,a,u,l){var f=r(t(o)),d="<"+a;return u!==""&&(d+=" "+u+'="'+i(r(l),n,"&quot;")+'"'),d+">"+f+"</"+a+">"},$1}var F1,FV;function oo(){if(FV)return F1;FV=1;var e=Lt();return F1=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},F1}var jV;function oce(){if(jV)return MV;jV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),MV}var UV={},qV;function sce(){if(qV)return UV;qV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),UV}var BV={},VV;function uce(){if(VV)return BV;VV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),BV}var HV={},zV;function lce(){if(zV)return HV;zV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),HV}var WV={},GV;function cce(){if(GV)return WV;GV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),WV}var KV={},YV;function fce(){if(YV)return KV;YV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),KV}var XV={},QV;function dce(){if(QV)return XV;QV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),XV}var JV={},ZV;function hce(){if(ZV)return JV;ZV=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),JV}var e8={},t8;function pce(){if(t8)return e8;t8=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),e8}var r8={},n8;function vce(){if(n8)return r8;n8=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),r8}var i8={},a8;function gce(){if(a8)return i8;a8=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),i8}var o8={},s8;function mce(){if(s8)return o8;s8=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),o8}var u8={},l8;function yce(){if(l8)return u8;l8=1;var e=Ie(),t=ao(),r=oo();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),u8}var c8={},Tv={exports:{}},j1,f8;function yO(){if(f8)return j1;f8=1;var e=Bt(),t=Lt(),r=lm(),n=Jr().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,o=e.Int8Array;return j1=!n||!t(function(){o(1)})||!t(function(){new o(-1)})||!r(function(a){new o,new o(null),new o(1.5),new o(a)},!0)||t(function(){return new o(new i(2),1,void 0).length!==1}),j1}var U1,d8;function iJ(){if(d8)return U1;d8=1;var e=aO(),t=RangeError;return U1=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},U1}var q1,h8;function _ce(){if(h8)return q1;h8=1;var e=Math.round;return q1=function(t){var r=e(t);return r<0?0:r>255?255:r&255},q1}var B1,p8;function aJ(){if(p8)return B1;p8=1;var e=to();return B1=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},B1}var V1,v8;function _O(){if(v8)return V1;v8=1;var e=tm(),t=TypeError;return V1=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},V1}var H1,g8;function oJ(){if(g8)return H1;g8=1;var e=ro(),t=ir(),r=lO(),n=on(),i=On(),o=Xf(),a=fc(),u=YC(),l=aJ(),f=Jr().aTypedArrayConstructor,d=_O();return H1=function(p){var m=r(this),S=n(p),E=arguments.length,_=E>1?arguments[1]:void 0,w=_!==void 0,T=a(S),C,x,R,P,y,N,$,H;if(T&&!u(T))for($=o(S,T),H=$.next,S=[];!(N=t(H,$)).done;)S.push(N.value);for(w&&E>2&&(_=e(_,arguments[2])),x=i(S),R=new(f(m))(x),P=l(R),C=0;x>C;C++)y=w?_(S[C],C):S[C],R[C]=P?d(y):+y;return R},H1}var m8;function pu(){if(m8)return Tv.exports;m8=1;var e=Ie(),t=Bt(),r=ir(),n=gr(),i=yO(),o=Jr(),a=vm(),u=io(),l=Za(),f=Hi(),d=uO(),h=eo(),p=pm(),m=iJ(),S=_ce(),E=nl(),_=Xr(),w=to(),T=xr(),C=ac(),x=zi(),R=_a(),P=Qo(),y=sc().f,N=oJ(),$=Wi().forEach,H=Zf(),B=pi(),W=qn(),Y=Vi(),Q=Jh(),ne=ti(),re=cc(),de=ne.get,G=ne.set,ee=ne.enforce,z=W.f,ue=Y.f,Ee=t.RangeError,Oe=a.ArrayBuffer,$e=Oe.prototype,Ve=a.DataView,ae=o.NATIVE_ARRAY_BUFFER_VIEWS,O=o.TYPED_ARRAY_TAG,I=o.TypedArray,M=o.TypedArrayPrototype,k=o.isTypedArray,U="BYTES_PER_ELEMENT",K="Wrong length",ie=function(xe,De){B(xe,De,{configurable:!0,get:function(){return de(this)[De]}})},ye=function(xe){var De;return R($e,xe)||(De=w(xe))==="ArrayBuffer"||De==="SharedArrayBuffer"},ve=function(xe,De){return k(xe)&&!C(De)&&De in xe&&d(+De)&&De>=0},Re=function(De,he){return he=E(he),ve(De,he)?l(2,De[he]):ue(De,he)},Se=function(De,he,me){return he=E(he),ve(De,he)&&T(me)&&_(me,"value")&&!_(me,"get")&&!_(me,"set")&&!me.configurable&&(!_(me,"writable")||me.writable)&&(!_(me,"enumerable")||me.enumerable)?(De[he]=me.value,De):z(De,he,me)};return n?(ae||(Y.f=Re,W.f=Se,ie(M,"buffer"),ie(M,"byteOffset"),ie(M,"byteLength"),ie(M,"length")),e({target:"Object",stat:!0,forced:!ae},{getOwnPropertyDescriptor:Re,defineProperty:Se}),Tv.exports=function(xe,De,he){var me=xe.match(/\d+/)[0]/8,_e=xe+(he?"Clamped":"")+"Array",Le="get"+xe,Me="set"+xe,Ne=t[_e],Ge=Ne,it=Ge&&Ge.prototype,Dt={},rr=function(rt,ot){var ht=de(rt);return ht.view[Le](ot*me+ht.byteOffset,!0)},Ke=function(rt,ot,ht){var Ht=de(rt);Ht.view[Me](ot*me+Ht.byteOffset,he?S(ht):ht,!0)},_t=function(rt,ot){z(rt,ot,{get:function(){return rr(this,ot)},set:function(ht){return Ke(this,ot,ht)},enumerable:!0})};ae?i&&(Ge=De(function(rt,ot,ht,Ht){return u(rt,it),re((function(){return T(ot)?ye(ot)?Ht!==void 0?new Ne(ot,m(ht,me),Ht):ht!==void 0?new Ne(ot,m(ht,me)):new Ne(ot):k(ot)?Q(Ge,ot):r(N,Ge,ot):new Ne(p(ot))})(),rt,Ge)}),P&&P(Ge,I),$(y(Ne),function(rt){rt in Ge||f(Ge,rt,Ne[rt])}),Ge.prototype=it):(Ge=De(function(rt,ot,ht,Ht){u(rt,it);var Ct=0,be=0,Xe,at,mt;if(!T(ot))mt=p(ot),at=mt*me,Xe=new Oe(at);else if(ye(ot)){Xe=ot,be=m(ht,me);var xt=ot.byteLength;if(Ht===void 0){if(xt%me)throw new Ee(K);if(at=xt-be,at<0)throw new Ee(K)}else if(at=h(Ht)*me,at+be>xt)throw new Ee(K);mt=at/me}else return k(ot)?Q(Ge,ot):r(N,Ge,ot);for(G(rt,{buffer:Xe,byteOffset:be,byteLength:at,length:mt,view:new Ve(Xe)});Ct<mt;)_t(rt,Ct++)}),P&&P(Ge,I),it=Ge.prototype=x(M)),it.constructor!==Ge&&f(it,"constructor",Ge),ee(it).TypedArrayConstructor=Ge,O&&f(it,O,_e);var vt=Ge!==Ne;Dt[_e]=Ge,e({global:!0,constructor:!0,forced:vt,sham:!ae},Dt),U in Ge||f(Ge,U,me),U in it||f(it,U,me),H(_e)}):Tv.exports=function(){},Tv.exports}var y8;function Ece(){if(y8)return c8;y8=1;var e=pu();return e("Float32",function(t){return function(n,i,o){return t(this,n,i,o)}}),c8}var _8={},E8;function Sce(){if(E8)return _8;E8=1;var e=pu();return e("Float64",function(t){return function(n,i,o){return t(this,n,i,o)}}),_8}var S8={},w8;function wce(){if(w8)return S8;w8=1;var e=pu();return e("Int8",function(t){return function(n,i,o){return t(this,n,i,o)}}),S8}var b8={},T8;function bce(){if(T8)return b8;T8=1;var e=pu();return e("Int16",function(t){return function(n,i,o){return t(this,n,i,o)}}),b8}var A8={},R8;function Tce(){if(R8)return A8;R8=1;var e=pu();return e("Int32",function(t){return function(n,i,o){return t(this,n,i,o)}}),A8}var x8={},C8;function Ace(){if(C8)return x8;C8=1;var e=pu();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}}),x8}var O8={},I8;function Rce(){if(I8)return O8;I8=1;var e=pu();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}},!0),O8}var P8={},k8;function xce(){if(k8)return P8;k8=1;var e=pu();return e("Uint16",function(t){return function(n,i,o){return t(this,n,i,o)}}),P8}var D8={},L8;function Cce(){if(L8)return D8;L8=1;var e=pu();return e("Uint32",function(t){return function(n,i,o){return t(this,n,i,o)}}),D8}var N8={},M8;function Oce(){if(M8)return N8;M8=1;var e=Jr(),t=On(),r=ii(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(a){var u=n(this),l=t(u),f=r(a),d=f>=0?f:l+f;return d<0||d>=l?void 0:u[d]}),N8}var $8={},F8;function Ice(){if(F8)return $8;F8=1;var e=Nt(),t=Jr(),r=lQ(),n=e(r),i=t.aTypedArray,o=t.exportTypedArrayMethod;return o("copyWithin",function(u,l){return n(i(this),u,l,arguments.length>2?arguments[2]:void 0)}),$8}var j8={},U8;function Pce(){if(U8)return j8;U8=1;var e=Jr(),t=Wi().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),j8}var q8={},B8;function kce(){if(B8)return q8;B8=1;var e=Jr(),t=XC(),r=_O(),n=to(),i=ir(),o=Nt(),a=Lt(),u=e.aTypedArray,l=e.exportTypedArrayMethod,f=o("".slice),d=a(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return l("fill",function(p){var m=arguments.length;u(this);var S=f(n(this),0,3)==="Big"?r(p):+p;return i(t,this,S,m>1?arguments[1]:void 0,m>2?arguments[2]:void 0)},d),q8}var V8={},z1,H8;function Dce(){if(H8)return z1;H8=1;var e=Jh(),t=Jr().getTypedArrayConstructor;return z1=function(r,n){return e(t(r),n)},z1}var z8;function Lce(){if(z8)return V8;z8=1;var e=Jr(),t=Wi().filter,r=Dce(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(a){var u=t(n(this),a,arguments.length>1?arguments[1]:void 0);return r(this,u)}),V8}var W8={},G8;function Nce(){if(G8)return W8;G8=1;var e=Jr(),t=Wi().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),W8}var K8={},Y8;function Mce(){if(Y8)return K8;Y8=1;var e=Jr(),t=Wi().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),K8}var X8={},Q8;function $ce(){if(Q8)return X8;Q8=1;var e=Jr(),t=um().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),X8}var J8={},Z8;function Fce(){if(Z8)return J8;Z8=1;var e=Jr(),t=um().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),J8}var e5={},t5;function jce(){if(t5)return e5;t5=1;var e=Jr(),t=Wi().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(o){t(r(this),o,arguments.length>1?arguments[1]:void 0)}),e5}var r5={},n5;function Uce(){if(n5)return r5;n5=1;var e=yO(),t=Jr().exportTypedArrayStaticMethod,r=oJ();return t("from",r,e),r5}var i5={},a5;function qce(){if(a5)return i5;a5=1;var e=Jr(),t=Wh().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),i5}var o5={},s5;function Bce(){if(s5)return o5;s5=1;var e=Jr(),t=Wh().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),o5}var u5={},l5;function Vce(){if(l5)return u5;l5=1;var e=Bt(),t=Lt(),r=Nt(),n=Jr(),i=cm(),o=Cr(),a=o("iterator"),u=e.Uint8Array,l=r(i.values),f=r(i.keys),d=r(i.entries),h=n.aTypedArray,p=n.exportTypedArrayMethod,m=u&&u.prototype,S=!t(function(){m[a].call([1])}),E=!!m&&m.values&&m[a]===m.values&&m.values.name==="values",_=function(){return l(h(this))};return p("entries",function(){return d(h(this))},S),p("keys",function(){return f(h(this))},S),p("values",_,S||!E,{name:"values"}),p(a,_,S||!E,{name:"values"}),u5}var c5={},f5;function Hce(){if(f5)return c5;f5=1;var e=Jr(),t=Nt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(a){return i(r(this),a)}),c5}var d5={},h5;function zce(){if(h5)return d5;h5=1;var e=Jr(),t=no(),r=hQ(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(a){var u=arguments.length;return t(r,n(this),u>1?[a,arguments[1]]:[a])}),d5}var p5={},v5;function Wce(){if(v5)return p5;v5=1;var e=Jr(),t=Wi().map,r=e.aTypedArray,n=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;return i("map",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0,function(u,l){return new(n(u))(l)})}),p5}var g5={},m5;function Gce(){if(m5)return g5;m5=1;var e=Jr(),t=yO(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var o=0,a=arguments.length,u=new(r(this))(a);a>o;)u[o]=arguments[o++];return u},t),g5}var y5={},_5;function Kce(){if(_5)return y5;_5=1;var e=Jr(),t=fm().left,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduce",function(o){var a=arguments.length;return t(r(this),o,a,a>1?arguments[1]:void 0)}),y5}var E5={},S5;function Yce(){if(S5)return E5;S5=1;var e=Jr(),t=fm().right,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduceRight",function(o){var a=arguments.length;return t(r(this),o,a,a>1?arguments[1]:void 0)}),E5}var w5={},b5;function Xce(){if(b5)return w5;b5=1;var e=Jr(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var o=this,a=t(o).length,u=n(a/2),l=0,f;l<u;)f=o[l],o[l++]=o[--a],o[a]=f;return o}),w5}var T5={},A5;function Qce(){if(A5)return T5;A5=1;var e=Bt(),t=ir(),r=Jr(),n=On(),i=iJ(),o=on(),a=Lt(),u=e.RangeError,l=e.Int8Array,f=l&&l.prototype,d=f&&f.set,h=r.aTypedArray,p=r.exportTypedArrayMethod,m=!a(function(){var E=new Uint8ClampedArray(2);return t(d,E,{length:1,0:3},1),E[1]!==3}),S=m&&r.NATIVE_ARRAY_BUFFER_VIEWS&&a(function(){var E=new l(2);return E.set(1),E.set("2",1),E[0]!==0||E[1]!==2});return p("set",function(_){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),T=o(_);if(m)return t(d,this,T,w);var C=this.length,x=n(T),R=0;if(x+w>C)throw new u("Wrong length");for(;R<x;)this[w+R]=T[R++]},!m||S),T5}var R5={},x5;function Jce(){if(x5)return R5;x5=1;var e=Jr(),t=Lt(),r=Po(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,a=t(function(){new Int8Array(1).slice()});return o("slice",function(l,f){for(var d=r(n(this),l,f),h=i(this),p=0,m=d.length,S=new h(m);m>p;)S[p]=d[p++];return S},a),R5}var C5={},O5;function Zce(){if(O5)return C5;O5=1;var e=Jr(),t=Wi().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),C5}var I5={},P5;function efe(){if(P5)return I5;P5=1;var e=Bt(),t=uc(),r=Lt(),n=Yr(),i=tO(),o=Jr(),a=pQ(),u=vQ(),l=Rs(),f=rO(),d=o.aTypedArray,h=o.exportTypedArrayMethod,p=e.Uint16Array,m=p&&t(p.prototype.sort),S=!!m&&!(r(function(){m(new p(2),null)})&&r(function(){m(new p(2),{})})),E=!!m&&!r(function(){if(l)return l<74;if(a)return a<67;if(u)return!0;if(f)return f<602;var w=new p(516),T=Array(516),C,x;for(C=0;C<516;C++)x=C%4,w[C]=515-C,T[C]=C-2*x+3;for(m(w,function(R,P){return(R/4|0)-(P/4|0)}),C=0;C<516;C++)if(w[C]!==T[C])return!0}),_=function(w){return function(T,C){return w!==void 0?+w(T,C)||0:C!==C?-1:T!==T?1:T===0&&C===0?1/T>0&&1/C<0?1:-1:T>C}};return h("sort",function(T){return T!==void 0&&n(T),E?m(this,T):i(d(this),_(T))},!E||S),I5}var k5={},D5;function tfe(){if(D5)return k5;D5=1;var e=Jr(),t=eo(),r=lu(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod;return o("subarray",function(u,l){var f=n(this),d=f.length,h=r(u,d),p=i(f);return new p(f.buffer,f.byteOffset+h*f.BYTES_PER_ELEMENT,t((l===void 0?d:r(l,d))-h))}),k5}var L5={},N5;function rfe(){if(N5)return L5;N5=1;var e=Bt(),t=no(),r=Jr(),n=Lt(),i=Po(),o=e.Int8Array,a=r.aTypedArray,u=r.exportTypedArrayMethod,l=[].toLocaleString,f=!!o&&n(function(){l.call(new o(1))}),d=n(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!n(function(){o.prototype.toLocaleString.call([1,2])});return u("toLocaleString",function(){return t(l,f?i(a(this)):a(this),i(arguments))},d),L5}var M5={},$5;function nfe(){if($5)return M5;$5=1;var e=gQ(),t=Jr(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),M5}var F5={},j5;function ife(){if(j5)return F5;j5=1;var e=Jr(),t=Nt(),r=Yr(),n=Jh(),i=e.aTypedArray,o=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,u=t(e.TypedArrayPrototype.sort);return a("toSorted",function(f){f!==void 0&&r(f);var d=i(this),h=n(o(d),d);return u(h,f)}),F5}var U5={},q5;function afe(){if(q5)return U5;q5=1;var e=Jr().exportTypedArrayMethod,t=Lt(),r=Bt(),n=Nt(),i=r.Uint8Array,o=i&&i.prototype||{},a=[].toString,u=n([].join);t(function(){a.call({})})&&(a=function(){return u(this)});var l=o.toString!==a;return e("toString",a,l),U5}var B5={},V5;function ofe(){if(V5)return B5;V5=1;var e=yQ(),t=Jr(),r=aJ(),n=ii(),i=_O(),o=t.aTypedArray,a=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,l=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),f=l&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return u("with",function(d,h){var p=o(this),m=n(d),S=r(p)?i(h):+h;return e(p,a(p),m,S)},!l||f),B5}var H5={},W1,z5;function sJ(){if(z5)return W1;z5=1;var e=xr(),t=String,r=TypeError;return W1=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},W1}var G1,W5;function km(){if(W5)return G1;W5=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=e+"+/",r=e+"-_",n=function(i){for(var o={},a=0;a<64;a++)o[i.charAt(a)]=a;return o};return G1={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},G1}var K1,G5;function uJ(){if(G5)return K1;G5=1;var e=TypeError;return K1=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},K1}var Y1,K5;function lJ(){if(K5)return Y1;K5=1;var e=Bt(),t=Nt(),r=sJ(),n=Cm(),i=Xr(),o=km(),a=uJ(),u=Zh(),l=o.c2i,f=o.c2iUrl,d=e.SyntaxError,h=e.TypeError,p=t("".charAt),m=function(_,w){for(var T=_.length;w<T;w++){var C=p(_,w);if(C!==" "&&C!==" "&&C!==`
6
+ `&&C!=="\f"&&C!=="\r")break}return w},S=function(_,w,T){var C=_.length;C<4&&(_+=C===2?"AA":"A");var x=(w[p(_,0)]<<18)+(w[p(_,1)]<<12)+(w[p(_,2)]<<6)+w[p(_,3)],R=[x>>16&255,x>>8&255,x&255];if(C===2){if(T&&R[1]!==0)throw new d("Extra bits");return[R[0]]}if(C===3){if(T&&R[2]!==0)throw new d("Extra bits");return[R[0],R[1]]}return R},E=function(_,w,T){for(var C=w.length,x=0;x<C;x++)_[T+x]=w[x];return T+C};return Y1=function(_,w,T,C){n(_),r(w);var x=a(w)==="base64"?l:f,R=w?w.lastChunkHandling:void 0;if(R===void 0&&(R="loose"),R!=="loose"&&R!=="strict"&&R!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");T&&u(T.buffer);var P=_.length,y=T||[],N=0,$=0,H="",B=0;if(C)for(;;){if(B=m(_,B),B===P){if(H.length>0){if(R==="stop-before-partial")break;if(R==="loose"){if(H.length===1)throw new d("Malformed padding: exactly one additional character");N=E(y,S(H,x,!1),N)}else throw new d("Missing padding")}$=P;break}var W=p(_,B);if(++B,W==="="){if(H.length<2)throw new d("Padding is too early");if(B=m(_,B),H.length===2){if(B===P){if(R==="stop-before-partial")break;throw new d("Malformed padding: only one =")}p(_,B)==="="&&(++B,B=m(_,B))}if(B<P)throw new d("Unexpected character after padding");N=E(y,S(H,x,R==="strict"),N),$=P;break}if(!i(x,W))throw new d("Unexpected character");var Y=C-N;if(Y===1&&H.length===2||Y===2&&H.length===3||(H+=W,H.length===4&&(N=E(y,S(H,x,!1),N),H="",$=B,N===C)))break}return{bytes:y,read:$,written:N}},Y1}var Y5;function sfe(){if(Y5)return H5;Y5=1;var e=Ie(),t=Bt(),r=Jh(),n=lJ(),i=t.Uint8Array,o=!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:o},{fromBase64:function(u){var l=n(u,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,l.bytes)}}),H5}var X5={},X1,Q5;function cJ(){if(Q5)return X1;Q5=1;var e=Bt(),t=Nt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,o=Math.min,a=/[^\da-f]/i,u=t(a.exec),l=t("".slice);return X1=function(f,d){var h=f.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var p=d?o(d.length,h/2):h/2,m=d||new r(p),S=0,E=0;E<p;){var _=l(f,S,S+=2);if(u(a,_))throw new n("String should only contain hex characters");m[E++]=i(_,16)}return{bytes:m,read:S}},X1}var J5;function ufe(){if(J5)return X5;J5=1;var e=Ie(),t=Bt(),r=Cm(),n=cJ();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(o){return n(r(o)).bytes}}),X5}var Z5={},Q1,eH;function Dm(){if(eH)return Q1;eH=1;var e=to(),t=TypeError;return Q1=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},Q1}var tH;function lfe(){if(tH)return Z5;tH=1;var e=Ie(),t=Bt(),r=lJ(),n=Dm(),i=t.Uint8Array,o=!i||!i.prototype.setFromBase64||!(function(){var a=new i([255,255,255,255,255]);try{a.setFromBase64("",null);return}catch{}try{a.setFromBase64("a");return}catch{}try{a.setFromBase64("MjYyZg===")}catch{return a[0]===50&&a[1]===54&&a[2]===50&&a[3]===255&&a[4]===255}})();return i&&e({target:"Uint8Array",proto:!0,forced:o},{setFromBase64:function(u){n(this);var l=r(u,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}}),Z5}var rH={},nH;function cfe(){if(nH)return rH;nH=1;var e=Ie(),t=Bt(),r=Cm(),n=Dm(),i=Zh(),o=cJ();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(u){n(this),r(u),i(this.buffer);var l=o(u,this).read;return{read:l,written:l/2}}}),rH}var iH={},aH;function ffe(){if(aH)return iH;aH=1;var e=Ie(),t=Bt(),r=Nt(),n=sJ(),i=Dm(),o=Zh(),a=km(),u=uJ(),l=a.i2c,f=a.i2cUrl,d=r("".charAt),h=t.Uint8Array,p=!h||!h.prototype.toBase64||!(function(){try{var m=new h;m.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:p},{toBase64:function(){var S=i(this),E=arguments.length?n(arguments[0]):void 0,_=u(E)==="base64"?l:f,w=!!E&&!!E.omitPadding;o(this.buffer);for(var T="",C=0,x=S.length,R,P=function(y){return d(_,R>>6*y&63)};C+2<x;C+=3)R=(S[C]<<16)+(S[C+1]<<8)+S[C+2],T+=P(3)+P(2)+P(1)+P(0);return C+2===x?(R=(S[C]<<16)+(S[C+1]<<8),T+=P(3)+P(2)+P(1)+(w?"":"=")):C+1===x&&(R=S[C]<<16,T+=P(3)+P(2)+(w?"":"==")),T}}),iH}var oH={},sH;function dfe(){if(sH)return oH;sH=1;var e=Ie(),t=Bt(),r=Nt(),n=Dm(),i=Zh(),o=r(1.1.toString),a=t.Uint8Array,u=!a||!a.prototype.toHex||!(function(){try{var l=new a([255,255,255,255,255,255,255,255]);return l.toHex()==="ffffffffffffffff"}catch{return!1}})();return a&&e({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){n(this),i(this.buffer);for(var f="",d=0,h=this.length;d<h;d++){var p=o(this[d],16);f+=p.length===1?"0"+p:p}return f}}),oH}var uH={},lH;function hfe(){if(lH)return uH;lH=1;var e=Ie(),t=Nt(),r=Mr(),n=String.fromCharCode,i=t("".charAt),o=t(/./.exec),a=t("".slice),u=/^[\da-f]{2}$/i,l=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),p="",m=h.length,S=0,E,_;S<m;){if(E=i(h,S++),E==="%"){if(i(h,S)==="u"){if(_=a(h,S+1,S+5),o(l,_)){p+=n(parseInt(_,16)),S+=5;continue}}else if(_=a(h,S,S+2),o(u,_)){p+=n(parseInt(_,16)),S+=2;continue}}p+=E}return p}}),uH}var cH={},fH={},J1,dH;function fJ(){if(dH)return J1;dH=1;var e=Nt(),t=du(),r=pc().getWeakData,n=io(),i=ur(),o=uu(),a=xr(),u=Oi(),l=Wi(),f=Xr(),d=ti(),h=d.set,p=d.getterFor,m=l.find,S=l.findIndex,E=e([].splice),_=0,w=function(x){return x.frozen||(x.frozen=new T)},T=function(){this.entries=[]},C=function(x,R){return m(x.entries,function(P){return P[0]===R})};return T.prototype={get:function(x){var R=C(this,x);if(R)return R[1]},has:function(x){return!!C(this,x)},set:function(x,R){var P=C(this,x);P?P[1]=R:this.entries.push([x,R])},delete:function(x){var R=S(this.entries,function(P){return P[0]===x});return~R&&E(this.entries,R,1),!!~R}},J1={getConstructor:function(x,R,P,y){var N=x(function(W,Y){n(W,$),h(W,{type:R,id:_++,frozen:null}),o(Y)||u(Y,W[y],{that:W,AS_ENTRIES:P})}),$=N.prototype,H=p(R),B=function(W,Y,Q){var ne=H(W),re=r(i(Y),!0);return re===!0?w(ne).set(Y,Q):re[ne.id]=Q,W};return t($,{delete:function(W){var Y=H(this);if(!a(W))return!1;var Q=r(W);return Q===!0?w(Y).delete(W):Q&&f(Q,Y.id)&&delete Q[Y.id]},has:function(Y){var Q=H(this);if(!a(Y))return!1;var ne=r(Y);return ne===!0?w(Q).has(Y):ne&&f(ne,Q.id)}}),t($,P?{get:function(Y){var Q=H(this);if(a(Y)){var ne=r(Y);if(ne===!0)return w(Q).get(Y);if(ne)return ne[Q.id]}},set:function(Y,Q){return B(this,Y,Q)}}:{add:function(Y){return B(this,Y,!0)}}),N}},J1}var hH;function pfe(){if(hH)return fH;hH=1;var e=td(),t=Bt(),r=Nt(),n=du(),i=pc(),o=_m(),a=fJ(),u=xr(),l=ti().enforce,f=Lt(),d=KX(),h=Object,p=Array.isArray,m=h.isExtensible,S=h.isFrozen,E=h.isSealed,_=h.freeze,w=h.seal,T=!t.ActiveXObject&&"ActiveXObject"in t,C,x=function(W){return function(){return W(this,arguments.length?arguments[0]:void 0)}},R=o("WeakMap",x,a),P=R.prototype,y=r(P.set),N=function(){return e&&f(function(){var W=_([]);return y(new R,W,1),!S(W)})};if(d)if(T){C=a.getConstructor(x,"WeakMap",!0),i.enable();var $=r(P.delete),H=r(P.has),B=r(P.get);n(P,{delete:function(W){if(u(W)&&!m(W)){var Y=l(this);return Y.frozen||(Y.frozen=new C),$(this,W)||Y.frozen.delete(W)}return $(this,W)},has:function(Y){if(u(Y)&&!m(Y)){var Q=l(this);return Q.frozen||(Q.frozen=new C),H(this,Y)||Q.frozen.has(Y)}return H(this,Y)},get:function(Y){if(u(Y)&&!m(Y)){var Q=l(this);return Q.frozen||(Q.frozen=new C),H(this,Y)?B(this,Y):Q.frozen.get(Y)}return B(this,Y)},set:function(Y,Q){if(u(Y)&&!m(Y)){var ne=l(this);ne.frozen||(ne.frozen=new C),H(this,Y)?y(this,Y,Q):ne.frozen.set(Y,Q)}else y(this,Y,Q);return this}})}else N()&&n(P,{set:function(Y,Q){var ne;return p(Y)&&(S(Y)?ne=_:E(Y)&&(ne=w)),y(this,Y,Q),ne&&ne(Y),this}});return fH}var pH;function vfe(){return pH||(pH=1,pfe()),cH}var vH={},gH={},mH;function gfe(){if(mH)return gH;mH=1;var e=_m(),t=fJ();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),gH}var yH;function mfe(){return yH||(yH=1,gfe()),vH}var _H={},EH;function yfe(){if(EH)return _H;EH=1;var e=Ie(),t=Bt(),r=Kr(),n=Nt(),i=ir(),o=Lt(),a=Mr(),u=ko(),l=km().c2i,f=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=r("atob"),m=String.fromCharCode,S=n("".charAt),E=n("".replace),_=n(f.exec),w=!!p&&!o(function(){return p("aGk=")!=="hi"}),T=w&&o(function(){return p(" ")!==""}),C=w&&!o(function(){p("a")}),x=w&&!o(function(){p()}),R=w&&p.length!==1,P=!w||T||C||x||R;return e({global:!0,bind:!0,enumerable:!0,forced:P},{atob:function(N){if(u(arguments.length,1),w&&!T&&!C)return i(p,t,N);var $=E(a(N),d,""),H="",B=0,W=0,Y,Q,ne;if($.length%4===0&&($=E($,h,"")),Y=$.length,Y%4===1||_(f,$))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;B<Y;)Q=S($,B++),ne=W%4?ne*64+l[Q]:l[Q],W++%4&&(H+=m(255&ne>>(-2*W&6)));return H}}),_H}var SH={},wH;function _fe(){if(wH)return SH;wH=1;var e=Ie(),t=Bt(),r=Kr(),n=Nt(),i=ir(),o=Lt(),a=Mr(),u=ko(),l=km().i2c,f=r("btoa"),d=n("".charAt),h=n("".charCodeAt),p=!!f&&!o(function(){return f("hi")!=="aGk="}),m=p&&!o(function(){f()}),S=p&&o(function(){return f(null)!=="bnVsbA=="}),E=p&&f.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!p||m||S||E},{btoa:function(w){if(u(arguments.length,1),p)return i(f,t,a(w));for(var T=a(w),C="",x=0,R=l,P,y;d(T,x)||(R="=",x%1);){if(y=h(T,x+=3/4),y>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");P=P<<8|y,C+=d(R,63&P>>8-x%1*8)}return C}}),SH}var bH={},Z1,TH;function dJ(){return TH||(TH=1,Z1={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}),Z1}var eb,AH;function hJ(){if(AH)return eb;AH=1;var e=rm(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return eb=r===Object.prototype?void 0:r,eb}var RH;function Efe(){if(RH)return bH;RH=1;var e=Bt(),t=dJ(),r=hJ(),n=fQ(),i=Hi(),o=function(u){if(u&&u.forEach!==n)try{i(u,"forEach",n)}catch{u.forEach=n}};for(var a in t)t[a]&&o(e[a]&&e[a].prototype);return o(r),bH}var xH={},CH;function Sfe(){if(CH)return xH;CH=1;var e=Bt(),t=dJ(),r=hJ(),n=cm(),i=Hi(),o=Na(),a=Cr(),u=a("iterator"),l=n.values,f=function(h,p){if(h){if(h[u]!==l)try{i(h,u,l)}catch{h[u]=l}if(o(h,p,!0),t[p]){for(var m in n)if(h[m]!==n[m])try{i(h,m,n[m])}catch{h[m]=n[m]}}}};for(var d in t)f(e[d]&&e[d].prototype,d);return f(r,"DOMTokenList"),xH}var OH={},tb,IH;function pJ(){return IH||(IH=1,tb={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}}),tb}var PH;function wfe(){if(PH)return OH;PH=1;var e=Ie(),t=Kr(),r=AQ(),n=Lt(),i=zi(),o=Za(),a=qn().f,u=wn(),l=pi(),f=Xr(),d=io(),h=ur(),p=uQ(),m=Yf(),S=pJ(),E=WC(),_=ti(),w=gr(),T=cn(),C="DOMException",x="DATA_CLONE_ERR",R=t("Error"),P=t(C)||(function(){try{var I=t("MessageChannel")||r("worker_threads").MessageChannel;new I().port1.postMessage(new WeakMap)}catch(M){if(M.name===x&&M.code===25)return M.constructor}})(),y=P&&P.prototype,N=R.prototype,$=_.set,H=_.getterFor(C),B="stack"in new R(C),W=function(I){return f(S,I)&&S[I].m?S[I].c:0},Y=function(){d(this,Q);var M=arguments.length,k=m(M<1?void 0:arguments[0]),U=m(M<2?void 0:arguments[1],"Error"),K=W(U);if($(this,{type:C,name:U,message:k,code:K}),w||(this.name=U,this.message=k,this.code=K),B){var ie=new R(k);ie.name=C,a(this,"stack",o(1,E(ie.stack,1)))}},Q=Y.prototype=i(N),ne=function(I){return{enumerable:!0,configurable:!0,get:I}},re=function(I){return ne(function(){return H(this)[I]})};w&&(l(Q,"code",re("code")),l(Q,"message",re("message")),l(Q,"name",re("name"))),a(Q,"constructor",o(1,Y));var de=n(function(){return!(new P instanceof R)}),G=de||n(function(){return N.toString!==p||String(new P(1,2))!=="2: 1"}),ee=de||n(function(){return new P(1,"DataCloneError").code!==25}),z=de||P[x]!==25||y[x]!==25,ue=T?G||ee||z:de;e({global:!0,constructor:!0,forced:ue},{DOMException:ue?Y:P});var Ee=t(C),Oe=Ee.prototype;G&&(T||P===Ee)&&u(Oe,"toString",p),ee&&w&&P===Ee&&l(Oe,"code",ne(function(){return W(h(this).name)}));for(var $e in S)if(f(S,$e)){var Ve=S[$e],ae=Ve.s,O=o(6,Ve.c);f(Ee,ae)||a(Ee,ae,O),f(Oe,ae)||a(Oe,ae,O)}return OH}var kH={},DH;function bfe(){if(DH)return kH;DH=1;var e=Ie(),t=Bt(),r=Kr(),n=Za(),i=qn().f,o=Xr(),a=io(),u=cc(),l=Yf(),f=pJ(),d=WC(),h=gr(),p=cn(),m="DOMException",S=r("Error"),E=r(m),_=function(){a(this,w);var Y=arguments.length,Q=l(Y<1?void 0:arguments[0]),ne=l(Y<2?void 0:arguments[1],"Error"),re=new E(Q,ne),de=new S(Q);return de.name=m,i(re,"stack",n(1,d(de.stack,1))),u(re,this,_),re},w=_.prototype=E.prototype,T="stack"in new S(m),C="stack"in new E(1,2),x=E&&h&&Object.getOwnPropertyDescriptor(t,m),R=!!x&&!(x.writable&&x.configurable),P=T&&!R&&!C;e({global:!0,constructor:!0,forced:p||P},{DOMException:P?_:E});var y=r(m),N=y.prototype;if(N.constructor!==y){p||i(N,"constructor",n(1,y));for(var $ in f)if(o(f,$)){var H=f[$],B=H.s;o(y,B)||i(y,B,n(6,H.c))}}return kH}var LH={},NH;function Tfe(){if(NH)return LH;NH=1;var e=Kr(),t=Na(),r="DOMException";return t(e(r),r),LH}var MH={},$H={},FH;function Afe(){if(FH)return $H;FH=1;var e=Ie(),t=Bt(),r=Tm().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),$H}var jH={},rb,UH;function EO(){if(UH)return rb;UH=1;var e=Bt(),t=no(),r=Qr(),n=dm(),i=As(),o=Po(),a=ko(),u=e.Function,l=/MSIE .\./.test(i)||n==="BUN"&&(function(){var f=e.Bun.version.split(".");return f.length<3||f[0]==="0"&&(f[1]<3||f[1]==="3"&&f[2]==="0")})();return rb=function(f,d){var h=d?2:1;return l?function(p,m){var S=a(arguments.length,1)>h,E=r(p)?p:u(p),_=S?o(arguments,h):[],w=S?function(){t(E,this,_)}:E;return d?f(w,m):f(w)}:f},rb}var qH;function Rfe(){if(qH)return jH;qH=1;var e=Ie(),t=Bt(),r=Tm().set,n=EO(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),jH}var BH;function xfe(){return BH||(BH=1,Afe(),Rfe()),MH}var VH={},HH;function Cfe(){if(HH)return VH;HH=1;var e=Ie(),t=Bt(),r=HQ(),n=Yr(),i=ko(),o=Lt(),a=gr(),u=o(function(){return a&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:u},{queueMicrotask:function(f){i(arguments.length,1),r(n(f))}}),VH}var zH={},WH;function Ofe(){if(WH)return zH;WH=1;var e=Ie(),t=Bt(),r=pi(),n=gr(),i=TypeError,o=Object.defineProperty,a=t.self!==t;try{if(n){var u=Object.getOwnPropertyDescriptor(t,"self");(a||!u||!u.get||!u.enumerable)&&r(t,"self",{get:function(){return t},set:function(f){if(this!==t)throw new i("Illegal invocation");o(t,"self",{value:f,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:a},{self:t})}catch{}return zH}var GH={},KH;function Ife(){if(KH)return GH;KH=1;var e=cn(),t=Ie(),r=Bt(),n=Kr(),i=Nt(),o=Lt(),a=Wf(),u=Qr(),l=lc(),f=uu(),d=xr(),h=ac(),p=Oi(),m=ur(),S=to(),E=Xr(),_=cu(),w=Hi(),T=On(),C=ko(),x=vc(),R=DQ(),P=Jo(),y=ad(),N=RQ(),$=oQ(),H=iO(),B=r.Object,W=r.Array,Y=r.Date,Q=r.Error,ne=r.TypeError,re=r.PerformanceMark,de=n("DOMException"),G=R.Map,ee=R.has,z=R.get,ue=R.set,Ee=P.Set,Oe=P.add,$e=P.has,Ve=n("Object","keys"),ae=i([].push),O=i((!0).valueOf),I=i(1.1.valueOf),M=i("".valueOf),k=i(Y.prototype.getTime),U=a("structuredClone"),K="DataCloneError",ie="Transferring",ye=function(Ke){return!o(function(){var _t=new r.Set([7]),vt=Ke(_t),rt=Ke(B(7));return vt===_t||!vt.has(7)||!d(rt)||+rt!=7})&&Ke},ve=function(Ke,_t){return!o(function(){var vt=new _t,rt=Ke({a:vt,b:vt});return!(rt&&rt.a===rt.b&&rt.a instanceof _t&&rt.a.stack===vt.stack)})},Re=function(Ke){return!o(function(){var _t=Ke(new r.AggregateError([1],U,{cause:3}));return _t.name!=="AggregateError"||_t.errors[0]!==1||_t.message!==U||_t.cause!==3})},Se=r.structuredClone,xe=e||!ve(Se,Q)||!ve(Se,de)||!Re(Se),De=!Se&&ye(function(Ke){return new re(U,{detail:Ke}).detail}),he=ye(Se)||De,me=function(Ke){throw new de("Uncloneable type: "+Ke,K)},_e=function(Ke,_t){throw new de((_t||"Cloning")+" of "+Ke+" cannot be properly polyfilled in this engine",K)},Le=function(Ke,_t){return he||_e(_t),he(Ke)},Me=function(){var Ke;try{Ke=new r.DataTransfer}catch{try{Ke=new r.ClipboardEvent("").clipboardData}catch{}}return Ke&&Ke.items&&Ke.files?Ke:null},Ne=function(Ke,_t,vt){if(ee(_t,Ke))return z(_t,Ke);var rt=vt||S(Ke),ot,ht,Ht,Ct,be,Xe;if(rt==="SharedArrayBuffer")he?ot=he(Ke):ot=Ke;else{var at=r.DataView;!at&&!u(Ke.slice)&&_e("ArrayBuffer");try{if(u(Ke.slice)&&!Ke.resizable)ot=Ke.slice(0);else for(ht=Ke.byteLength,Ht=("maxByteLength"in Ke)?{maxByteLength:Ke.maxByteLength}:void 0,ot=new ArrayBuffer(ht,Ht),Ct=new at(Ke),be=new at(ot),Xe=0;Xe<ht;Xe++)be.setUint8(Xe,Ct.getUint8(Xe))}catch{throw new de("ArrayBuffer is detached",K)}}return ue(_t,Ke,ot),ot},Ge=function(Ke,_t,vt,rt,ot){var ht=r[_t];return d(ht)||_e(_t),new ht(Ne(Ke.buffer,ot),vt,rt)},it=function(Ke,_t){if(h(Ke)&&me("Symbol"),!d(Ke))return Ke;if(_t){if(ee(_t,Ke))return z(_t,Ke)}else _t=new G;var vt=S(Ke),rt,ot,ht,Ht,Ct,be,Xe,at;switch(vt){case"Array":ht=W(T(Ke));break;case"Object":ht={};break;case"Map":ht=new G;break;case"Set":ht=new Ee;break;case"RegExp":ht=new RegExp(Ke.source,x(Ke));break;case"Error":switch(ot=Ke.name,ot){case"AggregateError":ht=new(n(ot))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":ht=new(n(ot));break;case"CompileError":case"LinkError":case"RuntimeError":ht=new(n("WebAssembly",ot));break;default:ht=new Q}break;case"DOMException":ht=new de(Ke.message,Ke.name);break;case"ArrayBuffer":case"SharedArrayBuffer":ht=Ne(Ke,_t,vt);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":be=vt==="DataView"?Ke.byteLength:Ke.length,ht=Ge(Ke,vt,Ke.byteOffset,be,_t);break;case"DOMQuad":try{ht=new DOMQuad(it(Ke.p1,_t),it(Ke.p2,_t),it(Ke.p3,_t),it(Ke.p4,_t))}catch{ht=Le(Ke,vt)}break;case"File":if(he)try{ht=he(Ke),S(ht)!==vt&&(ht=void 0)}catch{}if(!ht)try{ht=new File([Ke],Ke.name,Ke)}catch{}ht||_e(vt);break;case"FileList":if(Ht=Me(),Ht){for(Ct=0,be=T(Ke);Ct<be;Ct++)Ht.items.add(it(Ke[Ct],_t));ht=Ht.files}else ht=Le(Ke,vt);break;case"ImageData":try{ht=new ImageData(it(Ke.data,_t),Ke.width,Ke.height,{colorSpace:Ke.colorSpace})}catch{ht=Le(Ke,vt)}break;default:if(he)ht=he(Ke);else switch(vt){case"BigInt":ht=B(Ke.valueOf());break;case"Boolean":ht=B(O(Ke));break;case"Number":ht=B(I(Ke));break;case"String":ht=B(M(Ke));break;case"Date":ht=new Y(k(Ke));break;case"Blob":try{ht=Ke.slice(0,Ke.size,Ke.type)}catch{_e(vt)}break;case"DOMPoint":case"DOMPointReadOnly":rt=r[vt];try{ht=rt.fromPoint?rt.fromPoint(Ke):new rt(Ke.x,Ke.y,Ke.z,Ke.w)}catch{_e(vt)}break;case"DOMRect":case"DOMRectReadOnly":rt=r[vt];try{ht=rt.fromRect?rt.fromRect(Ke):new rt(Ke.x,Ke.y,Ke.width,Ke.height)}catch{_e(vt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":rt=r[vt];try{ht=rt.fromMatrix?rt.fromMatrix(Ke):new rt(Ke)}catch{_e(vt)}break;case"AudioData":case"VideoFrame":u(Ke.clone)||_e(vt);try{ht=Ke.clone()}catch{me(vt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":_e(vt);default:me(vt)}}switch(ue(_t,Ke,ht),vt){case"Array":case"Object":for(Xe=Ve(Ke),Ct=0,be=T(Xe);Ct<be;Ct++)at=Xe[Ct],_(ht,at,it(Ke[at],_t));break;case"Map":Ke.forEach(function(mt,xt){ue(ht,it(xt,_t),it(mt,_t))});break;case"Set":Ke.forEach(function(mt){Oe(ht,it(mt,_t))});break;case"Error":w(ht,"message",it(Ke.message,_t)),E(Ke,"cause")&&w(ht,"cause",it(Ke.cause,_t)),ot==="AggregateError"?ht.errors=it(Ke.errors,_t):ot==="SuppressedError"&&(ht.error=it(Ke.error,_t),ht.suppressed=it(Ke.suppressed,_t));case"DOMException":$&&w(ht,"stack",it(Ke.stack,_t))}return ht},Dt=function(Ke,_t){if(!d(Ke))throw new ne("Transfer option cannot be converted to a sequence");var vt=[];p(Ke,function(xt){ae(vt,m(xt))});for(var rt=0,ot=T(vt),ht=new Ee,Ht,Ct,be,Xe,at,mt;rt<ot;){if(Ht=vt[rt++],Ct=S(Ht),Ct==="ArrayBuffer"?$e(ht,Ht):ee(_t,Ht))throw new de("Duplicate transferable",K);if(Ct==="ArrayBuffer"){Oe(ht,Ht);continue}if(H)Xe=Se(Ht,{transfer:[Ht]});else switch(Ct){case"ImageBitmap":be=r.OffscreenCanvas,l(be)||_e(Ct,ie);try{at=new be(Ht.width,Ht.height),mt=at.getContext("bitmaprenderer"),mt.transferFromImageBitmap(Ht),Xe=at.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!u(Ht.clone)||!u(Ht.close))&&_e(Ct,ie);try{Xe=Ht.clone(),Ht.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":_e(Ct,ie)}if(Xe===void 0)throw new de("This object cannot be transferred: "+Ct,K);ue(_t,Ht,Xe)}return ht},rr=function(Ke){y(Ke,function(_t){H?he(_t,{transfer:[_t]}):u(_t.transfer)?_t.transfer():N?N(_t):_e("ArrayBuffer",ie)})};return t({global:!0,enumerable:!0,sham:!H,forced:xe},{structuredClone:function(_t){var vt=C(arguments.length,1)>1&&!f(arguments[1])?m(arguments[1]):void 0,rt=vt?vt.transfer:void 0,ot,ht;rt!==void 0&&(ot=new G,ht=Dt(rt,ot));var Ht=it(_t,ot);return ht&&rr(ht),Ht}}),GH}var YH={},XH={},QH;function Pfe(){if(QH)return XH;QH=1;var e=Ie(),t=Bt(),r=EO(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),XH}var JH={},ZH;function kfe(){if(ZH)return JH;ZH=1;var e=Ie(),t=Bt(),r=EO(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),JH}var ez;function Dfe(){return ez||(ez=1,Pfe(),kfe()),YH}var tz={},rz={},nb,nz;function Lm(){if(nz)return nb;nz=1;var e=Lt(),t=Cr(),r=gr(),n=cn(),i=t("iterator");return nb=!e(function(){var o=new URL("b?a=1&b=2&c=3","https://a"),a=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),l="";return o.pathname="c%20d",a.forEach(function(f,d){a.delete("b"),l+=d+f}),u.delete("a",2),u.delete("b",void 0),n&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!a.size&&(n||!r)||!a.sort||o.href!=="https://a/c%20d?a=1&c=3"||a.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!a[i]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||l!=="a1c3"||new URL("https://x",void 0).host!=="x"}),nb}var ib,iz;function Lfe(){if(iz)return ib;iz=1;var e=Nt(),t=2147483647,r=36,n=1,i=26,o=38,a=700,u=72,l=128,f="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",m=r-n,S=RangeError,E=e(h.exec),_=Math.floor,w=String.fromCharCode,T=e("".charCodeAt),C=e([].join),x=e([].push),R=e("".replace),P=e("".split),y=e("".toLowerCase),N=function(W){for(var Y=[],Q=0,ne=W.length;Q<ne;){var re=T(W,Q++);if(re>=55296&&re<=56319&&Q<ne){var de=T(W,Q++);(de&64512)===56320?x(Y,((re&1023)<<10)+(de&1023)+65536):(x(Y,re),Q--)}else x(Y,re)}return Y},$=function(W){return W+22+75*(W<26)},H=function(W,Y,Q){var ne=0;for(W=Q?_(W/a):W>>1,W+=_(W/Y);W>m*i>>1;)W=_(W/m),ne+=r;return _(ne+(m+1)*W/(W+o))},B=function(W){var Y=[];W=N(W);var Q=W.length,ne=l,re=0,de=u,G,ee;for(G=0;G<W.length;G++)ee=W[G],ee<128&&x(Y,w(ee));var z=Y.length,ue=z;for(z&&x(Y,f);ue<Q;){var Ee=t;for(G=0;G<W.length;G++)ee=W[G],ee>=ne&&ee<Ee&&(Ee=ee);var Oe=ue+1;if(Ee-ne>_((t-re)/Oe))throw new S(p);for(re+=(Ee-ne)*Oe,ne=Ee,G=0;G<W.length;G++){if(ee=W[G],ee<ne&&++re>t)throw new S(p);if(ee===ne){for(var $e=re,Ve=r;;){var ae=Ve<=de?n:Ve>=de+i?i:Ve-de;if($e<ae)break;var O=$e-ae,I=r-ae;x(Y,w($(ae+O%I))),$e=_(O/I),Ve+=r}x(Y,w($($e))),de=H(re,Oe,ue===z),re=0,ue++}}re++,ne++}return C(Y,"")};return ib=function(W){var Y=[],Q=P(R(y(W),h,"."),"."),ne,re;for(ne=0;ne<Q.length;ne++)re=Q[ne],x(Y,E(d,re)?"xn--"+B(re):re);return C(Y,".")},ib}var ab,az;function vJ(){if(az)return ab;az=1,cm(),JQ();var e=Ie(),t=Bt(),r=BQ(),n=Kr(),i=ir(),o=Nt(),a=gr(),u=Lm(),l=wn(),f=pi(),d=du(),h=Na(),p=JC(),m=ti(),S=io(),E=Qr(),_=Xr(),w=ro(),T=to(),C=ur(),x=xr(),R=Mr(),P=zi(),y=Za(),N=Xf(),$=fc(),H=hc(),B=ko(),W=Cr(),Y=tO(),Q=W("iterator"),ne="URLSearchParams",re=ne+"Iterator",de=m.set,G=m.getterFor(ne),ee=m.getterFor(re),z=r("fetch"),ue=r("Request"),Ee=r("Headers"),Oe=ue&&ue.prototype,$e=Ee&&Ee.prototype,Ve=t.TypeError,ae=t.encodeURIComponent,O=String.fromCharCode,I=n("String","fromCodePoint"),M=parseInt,k=o("".charAt),U=o([].join),K=o([].push),ie=o("".replace),ye=o([].shift),ve=o([].splice),Re=o("".split),Se=o("".slice),xe=o(/./.exec),De=/\+/g,he="�",me=/^[0-9a-f]+$/i,_e=function(be,Xe){var at=Se(be,Xe,Xe+2);return xe(me,at)?M(at,16):NaN},Le=function(be){for(var Xe=0,at=128;at>0&&(be&at)!==0;at>>=1)Xe++;return Xe},Me=function(be){var Xe=null;switch(be.length){case 1:Xe=be[0];break;case 2:Xe=(be[0]&31)<<6|be[1]&63;break;case 3:Xe=(be[0]&15)<<12|(be[1]&63)<<6|be[2]&63;break;case 4:Xe=(be[0]&7)<<18|(be[1]&63)<<12|(be[2]&63)<<6|be[3]&63;break}return Xe>1114111?null:Xe},Ne=function(be){be=ie(be,De," ");for(var Xe=be.length,at="",mt=0;mt<Xe;){var xt=k(be,mt);if(xt==="%"){if(k(be,mt+1)==="%"||mt+3>Xe){at+="%",mt++;continue}var Xt=_e(be,mt+1);if(Xt!==Xt){at+=xt,mt++;continue}mt+=2;var or=Le(Xt);if(or===0)xt=O(Xt);else{if(or===1||or>4){at+=he,mt++;continue}for(var Kt=[Xt],lr=1;lr<or&&(mt++,!(mt+3>Xe||k(be,mt)!=="%"));){var Tr=_e(be,mt+1);if(Tr!==Tr){mt+=3;break}if(Tr>191||Tr<128)break;K(Kt,Tr),mt+=2,lr++}if(Kt.length!==or){at+=he;continue}var Br=Me(Kt);Br===null?at+=he:xt=I(Br)}}at+=xt,mt++}return at},Ge=/[!'()~]|%20/g,it={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Dt=function(be){return it[be]},rr=function(be){return ie(ae(be),Ge,Dt)},Ke=p(function(Xe,at){de(this,{type:re,target:G(Xe).entries,index:0,kind:at})},ne,function(){var Xe=ee(this),at=Xe.target,mt=Xe.index++;if(!at||mt>=at.length)return Xe.target=null,H(void 0,!0);var xt=at[mt];switch(Xe.kind){case"keys":return H(xt.key,!1);case"values":return H(xt.value,!1)}return H([xt.key,xt.value],!1)},!0),_t=function(be){this.entries=[],this.url=null,be!==void 0&&(x(be)?this.parseObject(be):this.parseQuery(typeof be=="string"?k(be,0)==="?"?Se(be,1):be:R(be)))};_t.prototype={type:ne,bindURL:function(be){this.url=be,this.update()},parseObject:function(be){var Xe=this.entries,at=$(be),mt,xt,Xt,or,Kt,lr,Tr;if(at)for(mt=N(be,at),xt=mt.next;!(Xt=i(xt,mt)).done;){if(or=N(C(Xt.value)),Kt=or.next,(lr=i(Kt,or)).done||(Tr=i(Kt,or)).done||!i(Kt,or).done)throw new Ve("Expected sequence with length 2");K(Xe,{key:R(lr.value),value:R(Tr.value)})}else for(var Br in be)_(be,Br)&&K(Xe,{key:Br,value:R(be[Br])})},parseQuery:function(be){if(be)for(var Xe=this.entries,at=Re(be,"&"),mt=0,xt,Xt;mt<at.length;)xt=at[mt++],xt.length&&(Xt=Re(xt,"="),K(Xe,{key:Ne(ye(Xt)),value:Ne(U(Xt,"="))}))},serialize:function(){for(var be=this.entries,Xe=[],at=0,mt;at<be.length;)mt=be[at++],K(Xe,rr(mt.key)+"="+rr(mt.value));return U(Xe,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var vt=function(){S(this,rt);var Xe=arguments.length>0?arguments[0]:void 0,at=de(this,new _t(Xe));a||(this.size=at.entries.length)},rt=vt.prototype;if(d(rt,{append:function(Xe,at){var mt=G(this);B(arguments.length,2),K(mt.entries,{key:R(Xe),value:R(at)}),a||this.length++,mt.updateURL()},delete:function(be){for(var Xe=G(this),at=B(arguments.length,1),mt=Xe.entries,xt=R(be),Xt=at<2?void 0:arguments[1],or=Xt===void 0?Xt:R(Xt),Kt=0;Kt<mt.length;){var lr=mt[Kt];if(lr.key===xt&&(or===void 0||lr.value===or)){if(ve(mt,Kt,1),or!==void 0)break}else Kt++}a||(this.size=mt.length),Xe.updateURL()},get:function(Xe){var at=G(this).entries;B(arguments.length,1);for(var mt=R(Xe),xt=0;xt<at.length;xt++)if(at[xt].key===mt)return at[xt].value;return null},getAll:function(Xe){var at=G(this).entries;B(arguments.length,1);for(var mt=R(Xe),xt=[],Xt=0;Xt<at.length;Xt++)at[Xt].key===mt&&K(xt,at[Xt].value);return xt},has:function(Xe){for(var at=G(this).entries,mt=B(arguments.length,1),xt=R(Xe),Xt=mt<2?void 0:arguments[1],or=Xt===void 0?Xt:R(Xt),Kt=0;Kt<at.length;){var lr=at[Kt++];if(lr.key===xt&&(or===void 0||lr.value===or))return!0}return!1},set:function(Xe,at){var mt=G(this);B(arguments.length,1);for(var xt=mt.entries,Xt=!1,or=R(Xe),Kt=R(at),lr=0,Tr;lr<xt.length;lr++)Tr=xt[lr],Tr.key===or&&(Xt?ve(xt,lr--,1):(Xt=!0,Tr.value=Kt));Xt||K(xt,{key:or,value:Kt}),a||(this.size=xt.length),mt.updateURL()},sort:function(){var Xe=G(this);Y(Xe.entries,function(at,mt){return at.key>mt.key?1:-1}),Xe.updateURL()},forEach:function(Xe){for(var at=G(this).entries,mt=w(Xe,arguments.length>1?arguments[1]:void 0),xt=0,Xt;xt<at.length;)Xt=at[xt++],mt(Xt.value,Xt.key,this)},keys:function(){return new Ke(this,"keys")},values:function(){return new Ke(this,"values")},entries:function(){return new Ke(this,"entries")}},{enumerable:!0}),l(rt,Q,rt.entries,{name:"entries"}),l(rt,"toString",function(){return G(this).serialize()},{enumerable:!0}),a&&f(rt,"size",{get:function(){return G(this).entries.length},configurable:!0,enumerable:!0}),h(vt,ne),e({global:!0,constructor:!0,forced:!u},{URLSearchParams:vt}),!u&&E(Ee)){var ot=o($e.has),ht=o($e.set),Ht=function(be){if(x(be)){var Xe=be.body,at;if(T(Xe)===ne)return at=be.headers?new Ee(be.headers):new Ee,ot(at,"content-type")||ht(at,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),P(be,{body:y(0,R(Xe)),headers:y(0,at)})}return be};if(E(z)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Xe){return z(Xe,arguments.length>1?Ht(arguments[1]):{})}}),E(ue)){var Ct=function(Xe){return S(this,Oe),new ue(Xe,arguments.length>1?Ht(arguments[1]):{})};Oe.constructor=Ct,Ct.prototype=Oe,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ct})}}return ab={URLSearchParams:vt,getState:G},ab}var oz;function Nfe(){if(oz)return rz;oz=1,ZQ();var e=Ie(),t=gr(),r=Lm(),n=Bt(),i=ro(),o=Nt(),a=wn(),u=pi(),l=io(),f=Xr(),d=FQ(),h=dQ(),p=Po(),m=Om().codeAt,S=Lfe(),E=Mr(),_=Na(),w=ko(),T=vJ(),C=ti(),x=C.set,R=C.getterFor("URL"),P=T.URLSearchParams,y=T.getState,N=n.URL,$=n.TypeError,H=n.parseInt,B=Math.floor,W=Math.pow,Y=o("".charAt),Q=o(/./.exec),ne=o([].join),re=o(1.1.toString),de=o([].pop),G=o([].push),ee=o("".replace),z=o([].shift),ue=o("".split),Ee=o("".slice),Oe=o("".toLowerCase),$e=o([].unshift),Ve="Invalid authority",ae="Invalid scheme",O="Invalid host",I="Invalid port",M=/[a-z]/i,k=/[\d+-.a-z]/i,U=/\d/,K=/^0x/i,ie=/^[0-7]+$/,ye=/^\d+$/,ve=/^[\da-f]+$/i,Re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Se=/[\0\t\n\r #/:<>?@[\\\]^|]/,xe=/^[\u0000-\u0020]+/,De=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,he=/[\t\n\r]/g,me,_e=function(et){var At=ue(et,"."),ct,We,oe,Je,Ue,yt,ft;if(At.length&&At[At.length-1]===""&&At.length--,ct=At.length,ct>4)return et;for(We=[],oe=0;oe<ct;oe++){if(Je=At[oe],Je==="")return et;if(Ue=10,Je.length>1&&Y(Je,0)==="0"&&(Ue=Q(K,Je)?16:8,Je=Ee(Je,Ue===8?1:2)),Je==="")yt=0;else{if(!Q(Ue===10?ye:Ue===8?ie:ve,Je))return et;yt=H(Je,Ue)}G(We,yt)}for(oe=0;oe<ct;oe++)if(yt=We[oe],oe===ct-1){if(yt>=W(256,5-ct))return null}else if(yt>255)return null;for(ft=de(We),oe=0;oe<We.length;oe++)ft+=We[oe]*W(256,3-oe);return ft},Le=function(et){var At=[0,0,0,0,0,0,0,0],ct=0,We=null,oe=0,Je,Ue,yt,ft,zt,jt,gt,dr=function(){return Y(et,oe)};if(dr()===":"){if(Y(et,1)!==":")return;oe+=2,ct++,We=ct}for(;dr();){if(ct===8)return;if(dr()===":"){if(We!==null)return;oe++,ct++,We=ct;continue}for(Je=Ue=0;Ue<4&&Q(ve,dr());)Je=Je*16+H(dr(),16),oe++,Ue++;if(dr()==="."){if(Ue===0||(oe-=Ue,ct>6))return;for(yt=0;dr();){if(ft=null,yt>0)if(dr()==="."&&yt<4)oe++;else return;if(!Q(U,dr()))return;for(;Q(U,dr());){if(zt=H(dr(),10),ft===null)ft=zt;else{if(ft===0)return;ft=ft*10+zt}if(ft>255)return;oe++}At[ct]=At[ct]*256+ft,yt++,(yt===2||yt===4)&&ct++}if(yt!==4)return;break}else if(dr()===":"){if(oe++,!dr())return}else if(dr())return;At[ct++]=Je}if(We!==null)for(jt=ct-We,ct=7;ct!==0&&jt>0;)gt=At[ct],At[ct--]=At[We+jt-1],At[We+--jt]=gt;else if(ct!==8)return;return At},Me=function(et){for(var At=null,ct=1,We=null,oe=0,Je=0;Je<8;Je++)et[Je]!==0?(oe>ct&&(At=We,ct=oe),We=null,oe=0):(We===null&&(We=Je),++oe);return oe>ct?We:At},Ne=function(et){var At,ct,We,oe;if(typeof et=="number"){for(At=[],ct=0;ct<4;ct++)$e(At,et%256),et=B(et/256);return ne(At,".")}if(typeof et=="object"){for(At="",We=Me(et),ct=0;ct<8;ct++)oe&&et[ct]===0||(oe&&(oe=!1),We===ct?(At+=ct?":":"::",oe=!0):(At+=re(et[ct],16),ct<7&&(At+=":")));return"["+At+"]"}return et},Ge={},it=d({},Ge,{" ":1,'"':1,"<":1,">":1,"`":1}),Dt=d({},it,{"#":1,"?":1,"{":1,"}":1}),rr=d({},Dt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ke=function(et,At){var ct=m(et,0);return ct>32&&ct<127&&!f(At,et)?et:encodeURIComponent(et)},_t={ftp:21,file:null,http:80,https:443,ws:80,wss:443},vt=function(et,At){var ct;return et.length===2&&Q(M,Y(et,0))&&((ct=Y(et,1))===":"||!At&&ct==="|")},rt=function(et){var At;return et.length>1&&vt(Ee(et,0,2))&&(et.length===2||(At=Y(et,2))==="/"||At==="\\"||At==="?"||At==="#")},ot=function(et){return et==="."||Oe(et)==="%2e"},ht=function(et){return et=Oe(et),et===".."||et==="%2e."||et===".%2e"||et==="%2e%2e"},Ht={},Ct={},be={},Xe={},at={},mt={},xt={},Xt={},or={},Kt={},lr={},Tr={},Br={},In={},Dn={},Bn={},vn={},Vn={},ai={},oi={},Kn={},wi=function(et,At,ct){var We=E(et),oe,Je,Ue;if(At){if(Je=this.parse(We),Je)throw new $(Je);this.searchParams=null}else{if(ct!==void 0&&(oe=new wi(ct,!0)),Je=this.parse(We,null,oe),Je)throw new $(Je);Ue=y(new P),Ue.bindURL(this),this.searchParams=Ue}};wi.prototype={type:"URL",parse:function(et,At,ct){var We=this,oe=At||Ht,Je=0,Ue="",yt=!1,ft=!1,zt=!1,jt,gt,dr,Nr;for(et=E(et),At||(We.scheme="",We.username="",We.password="",We.host=null,We.port=null,We.path=[],We.query=null,We.fragment=null,We.cannotBeABaseURL=!1,et=ee(et,xe,""),et=ee(et,De,"$1")),et=ee(et,he,""),jt=h(et);Je<=jt.length;){switch(gt=jt[Je],oe){case Ht:if(gt&&Q(M,gt))Ue+=Oe(gt),oe=Ct;else{if(At)return ae;oe=be;continue}break;case Ct:if(gt&&(Q(k,gt)||gt==="+"||gt==="-"||gt==="."))Ue+=Oe(gt);else if(gt===":"){if(At&&(We.isSpecial()!==f(_t,Ue)||Ue==="file"&&(We.includesCredentials()||We.port!==null)||We.scheme==="file"&&!We.host))return;if(We.scheme=Ue,At){We.isSpecial()&&_t[We.scheme]===We.port&&(We.port=null);return}Ue="",We.scheme==="file"?oe=In:We.isSpecial()&&ct&&ct.scheme===We.scheme?oe=Xe:We.isSpecial()?oe=Xt:jt[Je+1]==="/"?(oe=at,Je++):(We.cannotBeABaseURL=!0,G(We.path,""),oe=ai)}else{if(At)return ae;Ue="",oe=be,Je=0;continue}break;case be:if(!ct||ct.cannotBeABaseURL&&gt!=="#")return ae;if(ct.cannotBeABaseURL&&gt==="#"){We.scheme=ct.scheme,We.path=p(ct.path),We.query=ct.query,We.fragment="",We.cannotBeABaseURL=!0,oe=Kn;break}oe=ct.scheme==="file"?In:mt;continue;case Xe:if(gt==="/"&&jt[Je+1]==="/")oe=or,Je++;else{oe=mt;continue}break;case at:if(gt==="/"){oe=Kt;break}else{oe=Vn;continue}case mt:if(We.scheme=ct.scheme,gt===me)We.username=ct.username,We.password=ct.password,We.host=ct.host,We.port=ct.port,We.path=p(ct.path),We.query=ct.query;else if(gt==="/"||gt==="\\"&&We.isSpecial())oe=xt;else if(gt==="?")We.username=ct.username,We.password=ct.password,We.host=ct.host,We.port=ct.port,We.path=p(ct.path),We.query="",oe=oi;else if(gt==="#")We.username=ct.username,We.password=ct.password,We.host=ct.host,We.port=ct.port,We.path=p(ct.path),We.query=ct.query,We.fragment="",oe=Kn;else{We.username=ct.username,We.password=ct.password,We.host=ct.host,We.port=ct.port,We.path=p(ct.path),We.path.length--,oe=Vn;continue}break;case xt:if(We.isSpecial()&&(gt==="/"||gt==="\\"))oe=or;else if(gt==="/")oe=Kt;else{We.username=ct.username,We.password=ct.password,We.host=ct.host,We.port=ct.port,oe=Vn;continue}break;case Xt:if(oe=or,gt!=="/"||Y(Ue,Je+1)!=="/")continue;Je++;break;case or:if(gt!=="/"&&gt!=="\\"){oe=Kt;continue}break;case Kt:if(gt==="@"){yt&&(Ue="%40"+Ue),yt=!0,dr=h(Ue);for(var mn=0;mn<dr.length;mn++){var Rt=dr[mn];if(Rt===":"&&!zt){zt=!0;continue}var $r=Ke(Rt,rr);zt?We.password+=$r:We.username+=$r}Ue=""}else if(gt===me||gt==="/"||gt==="?"||gt==="#"||gt==="\\"&&We.isSpecial()){if(yt&&Ue==="")return Ve;Je-=h(Ue).length+1,Ue="",oe=lr}else Ue+=gt;break;case lr:case Tr:if(At&&We.scheme==="file"){oe=Bn;continue}else if(gt===":"&&!ft){if(Ue==="")return O;if(Nr=We.parseHost(Ue),Nr)return Nr;if(Ue="",oe=Br,At===Tr)return}else if(gt===me||gt==="/"||gt==="?"||gt==="#"||gt==="\\"&&We.isSpecial()){if(We.isSpecial()&&Ue==="")return O;if(At&&Ue===""&&(We.includesCredentials()||We.port!==null))return;if(Nr=We.parseHost(Ue),Nr)return Nr;if(Ue="",oe=vn,At)return;continue}else gt==="["?ft=!0:gt==="]"&&(ft=!1),Ue+=gt;break;case Br:if(Q(U,gt))Ue+=gt;else if(gt===me||gt==="/"||gt==="?"||gt==="#"||gt==="\\"&&We.isSpecial()||At){if(Ue!==""){var Ln=H(Ue,10);if(Ln>65535)return I;We.port=We.isSpecial()&&Ln===_t[We.scheme]?null:Ln,Ue=""}if(At)return;oe=vn;continue}else return I;break;case In:if(We.scheme="file",gt==="/"||gt==="\\")oe=Dn;else if(ct&&ct.scheme==="file")switch(gt){case me:We.host=ct.host,We.path=p(ct.path),We.query=ct.query;break;case"?":We.host=ct.host,We.path=p(ct.path),We.query="",oe=oi;break;case"#":We.host=ct.host,We.path=p(ct.path),We.query=ct.query,We.fragment="",oe=Kn;break;default:rt(ne(p(jt,Je),""))||(We.host=ct.host,We.path=p(ct.path),We.shortenPath()),oe=Vn;continue}else{oe=Vn;continue}break;case Dn:if(gt==="/"||gt==="\\"){oe=Bn;break}ct&&ct.scheme==="file"&&!rt(ne(p(jt,Je),""))&&(vt(ct.path[0],!0)?G(We.path,ct.path[0]):We.host=ct.host),oe=Vn;continue;case Bn:if(gt===me||gt==="/"||gt==="\\"||gt==="?"||gt==="#"){if(!At&&vt(Ue))oe=Vn;else if(Ue===""){if(We.host="",At)return;oe=vn}else{if(Nr=We.parseHost(Ue),Nr)return Nr;if(We.host==="localhost"&&(We.host=""),At)return;Ue="",oe=vn}continue}else Ue+=gt;break;case vn:if(We.isSpecial()){if(oe=Vn,gt!=="/"&&gt!=="\\")continue}else if(!At&&gt==="?")We.query="",oe=oi;else if(!At&&gt==="#")We.fragment="",oe=Kn;else if(gt!==me&&(oe=Vn,gt!=="/"))continue;break;case Vn:if(gt===me||gt==="/"||gt==="\\"&&We.isSpecial()||!At&&(gt==="?"||gt==="#")){if(ht(Ue)?(We.shortenPath(),gt!=="/"&&!(gt==="\\"&&We.isSpecial())&&G(We.path,"")):ot(Ue)?gt!=="/"&&!(gt==="\\"&&We.isSpecial())&&G(We.path,""):(We.scheme==="file"&&!We.path.length&&vt(Ue)&&(We.host&&(We.host=""),Ue=Y(Ue,0)+":"),G(We.path,Ue)),Ue="",We.scheme==="file"&&(gt===me||gt==="?"||gt==="#"))for(;We.path.length>1&&We.path[0]==="";)z(We.path);gt==="?"?(We.query="",oe=oi):gt==="#"&&(We.fragment="",oe=Kn)}else Ue+=Ke(gt,Dt);break;case ai:gt==="?"?(We.query="",oe=oi):gt==="#"?(We.fragment="",oe=Kn):gt!==me&&(We.path[0]+=Ke(gt,Ge));break;case oi:!At&&gt==="#"?(We.fragment="",oe=Kn):gt!==me&&(gt==="'"&&We.isSpecial()?We.query+="%27":gt==="#"?We.query+="%23":We.query+=Ke(gt,Ge));break;case Kn:gt!==me&&(We.fragment+=Ke(gt,it));break}Je++}},parseHost:function(et){var At,ct,We;if(Y(et,0)==="["){if(Y(et,et.length-1)!=="]"||(At=Le(Ee(et,1,-1)),!At))return O;this.host=At}else if(this.isSpecial()){if(et=S(et),Q(Re,et)||(At=_e(et),At===null))return O;this.host=At}else{if(Q(Se,et))return O;for(At="",ct=h(et),We=0;We<ct.length;We++)At+=Ke(ct[We],Ge);this.host=At}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return f(_t,this.scheme)},shortenPath:function(){var et=this.path,At=et.length;At&&(this.scheme!=="file"||At!==1||!vt(et[0],!0))&&et.length--},serialize:function(){var et=this,At=et.scheme,ct=et.username,We=et.password,oe=et.host,Je=et.port,Ue=et.path,yt=et.query,ft=et.fragment,zt=At+":";return oe!==null?(zt+="//",et.includesCredentials()&&(zt+=ct+(We?":"+We:"")+"@"),zt+=Ne(oe),Je!==null&&(zt+=":"+Je)):At==="file"&&(zt+="//"),zt+=et.cannotBeABaseURL?Ue[0]:Ue.length?"/"+ne(Ue,"/"):"",yt!==null&&(zt+="?"+yt),ft!==null&&(zt+="#"+ft),zt},setHref:function(et){var At=this.parse(et);if(At)throw new $(At);this.searchParams.update()},getOrigin:function(){var et=this.scheme,At=this.port;if(et==="blob")try{return new bi(et.path[0]).origin}catch{return"null"}return et==="file"||!this.isSpecial()?"null":et+"://"+Ne(this.host)+(At!==null?":"+At:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(et){this.parse(E(et)+":",Ht)},getUsername:function(){return this.username},setUsername:function(et){var At=h(E(et));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var ct=0;ct<At.length;ct++)this.username+=Ke(At[ct],rr)}},getPassword:function(){return this.password},setPassword:function(et){var At=h(E(et));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var ct=0;ct<At.length;ct++)this.password+=Ke(At[ct],rr)}},getHost:function(){var et=this.host,At=this.port;return et===null?"":At===null?Ne(et):Ne(et)+":"+At},setHost:function(et){this.cannotBeABaseURL||this.parse(et,lr)},getHostname:function(){var et=this.host;return et===null?"":Ne(et)},setHostname:function(et){this.cannotBeABaseURL||this.parse(et,Tr)},getPort:function(){var et=this.port;return et===null?"":E(et)},setPort:function(et){this.cannotHaveUsernamePasswordPort()||(et=E(et),et===""?this.port=null:this.parse(et,Br))},getPathname:function(){var et=this.path;return this.cannotBeABaseURL?et[0]:et.length?"/"+ne(et,"/"):""},setPathname:function(et){this.cannotBeABaseURL||(this.path=[],this.parse(et,vn))},getSearch:function(){var et=this.query;return et?"?"+et:""},setSearch:function(et){et=E(et),et===""?this.query=null:(Y(et,0)==="?"&&(et=Ee(et,1)),this.query="",this.parse(et,oi)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var et=this.fragment;return et?"#"+et:""},setHash:function(et){if(et=E(et),et===""){this.fragment=null;return}Y(et,0)==="#"&&(et=Ee(et,1)),this.fragment="",this.parse(et,Kn)},update:function(){this.query=this.searchParams.serialize()||null}};var bi=function(At){var ct=l(this,gn),We=w(arguments.length,1)>1?arguments[1]:void 0,oe=x(ct,new wi(At,!1,We));t||(ct.href=oe.serialize(),ct.origin=oe.getOrigin(),ct.protocol=oe.getProtocol(),ct.username=oe.getUsername(),ct.password=oe.getPassword(),ct.host=oe.getHost(),ct.hostname=oe.getHostname(),ct.port=oe.getPort(),ct.pathname=oe.getPathname(),ct.search=oe.getSearch(),ct.searchParams=oe.getSearchParams(),ct.hash=oe.getHash())},gn=bi.prototype,$n=function(et,At){return{get:function(){return R(this)[et]()},set:At&&function(ct){return R(this)[At](ct)},configurable:!0,enumerable:!0}};if(t&&(u(gn,"href",$n("serialize","setHref")),u(gn,"origin",$n("getOrigin")),u(gn,"protocol",$n("getProtocol","setProtocol")),u(gn,"username",$n("getUsername","setUsername")),u(gn,"password",$n("getPassword","setPassword")),u(gn,"host",$n("getHost","setHost")),u(gn,"hostname",$n("getHostname","setHostname")),u(gn,"port",$n("getPort","setPort")),u(gn,"pathname",$n("getPathname","setPathname")),u(gn,"search",$n("getSearch","setSearch")),u(gn,"searchParams",$n("getSearchParams")),u(gn,"hash",$n("getHash","setHash"))),a(gn,"toJSON",function(){return R(this).serialize()},{enumerable:!0}),a(gn,"toString",function(){return R(this).serialize()},{enumerable:!0}),N){var vi=N.createObjectURL,Ii=N.revokeObjectURL;vi&&a(bi,"createObjectURL",i(vi,N)),Ii&&a(bi,"revokeObjectURL",i(Ii,N))}return _(bi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:bi}),rz}var sz;function Mfe(){return sz||(sz=1,Nfe()),tz}var uz={},lz;function $fe(){if(lz)return uz;lz=1;var e=Ie(),t=Kr(),r=Lt(),n=ko(),i=Mr(),o=Lm(),a=t("URL"),u=o&&r(function(){a.canParse()}),l=r(function(){return a.canParse.length!==1});return e({target:"URL",stat:!0,forced:!u||l},{canParse:function(d){var h=n(arguments.length,1),p=i(d),m=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new a(p,m)}catch{return!1}}}),uz}var cz={},fz;function Ffe(){if(fz)return cz;fz=1;var e=Ie(),t=Kr(),r=ko(),n=Mr(),i=Lm(),o=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(u){var l=r(arguments.length,1),f=n(u),d=l<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new o(f,d)}catch{return null}}}),cz}var dz={},hz;function jfe(){if(hz)return dz;hz=1;var e=Ie(),t=ir();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),dz}var pz={},vz;function Ufe(){return vz||(vz=1,vJ()),pz}var gz={},mz;function qfe(){if(mz)return gz;mz=1;var e=wn(),t=Nt(),r=Mr(),n=ko(),i=URLSearchParams,o=i.prototype,a=t(o.append),u=t(o.delete),l=t(o.forEach),f=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(o,"delete",function(h){var p=arguments.length,m=p<2?void 0:arguments[1];if(p&&m===void 0)return u(this,h);var S=[];l(this,function(P,y){f(S,{key:y,value:P})}),n(p,1);for(var E=r(h),_=r(m),w=0,T=0,C=!1,x=S.length,R;w<x;)R=S[w++],C||R.key===E?(C=!0,u(this,R.key)):T++;for(;T<x;)R=S[T++],R.key===E&&R.value===_||a(this,R.key,R.value)},{enumerable:!0,unsafe:!0}),gz}var yz={},_z;function Bfe(){if(_z)return yz;_z=1;var e=wn(),t=Nt(),r=Mr(),n=ko(),i=URLSearchParams,o=i.prototype,a=t(o.getAll),u=t(o.has),l=new i("a=1");return(l.has("a",2)||!l.has("a",void 0))&&e(o,"has",function(d){var h=arguments.length,p=h<2?void 0:arguments[1];if(h&&p===void 0)return u(this,d);var m=a(this,d);n(h,1);for(var S=r(p),E=0;E<m.length;)if(m[E++]===S)return!0;return!1},{enumerable:!0,unsafe:!0}),yz}var Ez={},Sz;function Vfe(){if(Sz)return Ez;Sz=1;var e=gr(),t=Nt(),r=pi(),n=URLSearchParams.prototype,i=t(n.forEach);return e&&!("size"in n)&&r(n,"size",{get:function(){var a=0;return i(this,function(){a++}),a},configurable:!0,enumerable:!0}),Ez}var ob,wz;function Hfe(){return wz||(wz=1,Sae(),wae(),bae(),Tae(),Aae(),Rae(),xae(),Cae(),Oae(),Iae(),Pae(),kae(),Dae(),Lae(),Nae(),Mae(),$ae(),Fae(),jae(),Uae(),Bae(),Vae(),Hae(),zae(),Wae(),Gae(),Kae(),Yae(),Xae(),Qae(),Jae(),Zae(),eoe(),toe(),roe(),noe(),ioe(),aoe(),ooe(),soe(),cm(),uoe(),loe(),coe(),foe(),doe(),hoe(),poe(),voe(),goe(),moe(),yoe(),_oe(),Eoe(),Soe(),woe(),boe(),Toe(),Aoe(),Roe(),xoe(),Ooe(),Ioe(),Poe(),Doe(),Loe(),Moe(),$oe(),Foe(),joe(),Uoe(),qoe(),Boe(),Voe(),zoe(),Woe(),Koe(),Yoe(),Xoe(),Qoe(),Joe(),Zoe(),ese(),tse(),rse(),nse(),ase(),ose(),sse(),use(),lse(),cse(),fse(),dse(),hse(),pse(),vse(),gse(),tQ(),mse(),_se(),Ese(),Sse(),wse(),bse(),Tse(),Ase(),Rse(),xse(),Cse(),Ose(),Ise(),Pse(),kse(),Dse(),Lse(),Nse(),Mse(),$se(),Fse(),jse(),Use(),qse(),Bse(),Hse(),zse(),Wse(),Gse(),Kse(),Yse(),Xse(),Qse(),Jse(),Zse(),eue(),tue(),rue(),nue(),iue(),aue(),oue(),sue(),uue(),lue(),cue(),fue(),due(),hue(),pue(),vue(),gue(),mue(),yue(),_ue(),Eue(),Sue(),wue(),bue(),Tue(),Aue(),Rue(),Cue(),Oue(),Iue(),Pue(),que(),Bue(),Vue(),Hue(),zue(),Wue(),Que(),Jue(),Zue(),ele(),tle(),rle(),nle(),ile(),ale(),ole(),sle(),ule(),lle(),cle(),fle(),dle(),hle(),ple(),vle(),gle(),hO(),mle(),yle(),_le(),Ele(),wle(),Tle(),Rle(),Cle(),Ile(),kle(),Lle(),Mle(),$le(),Fle(),jle(),JQ(),Ule(),qle(),ZQ(),Ble(),Vle(),Hle(),zle(),Wle(),Gle(),Kle(),Yle(),Xle(),Qle(),Jle(),Zle(),ece(),tce(),nce(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),pce(),vce(),gce(),mce(),yce(),Ece(),Sce(),wce(),bce(),Tce(),Ace(),Rce(),xce(),Cce(),Oce(),Ice(),Pce(),kce(),Lce(),Nce(),Mce(),$ce(),Fce(),jce(),Uce(),qce(),Bce(),Vce(),Hce(),zce(),Wce(),Gce(),Kce(),Yce(),Xce(),Qce(),Jce(),Zce(),efe(),tfe(),rfe(),nfe(),ife(),afe(),ofe(),sfe(),ufe(),lfe(),cfe(),ffe(),dfe(),hfe(),vfe(),mfe(),yfe(),_fe(),Efe(),Sfe(),wfe(),bfe(),Tfe(),xfe(),Cfe(),Ofe(),Ife(),Dfe(),Mfe(),$fe(),Ffe(),jfe(),Ufe(),qfe(),Bfe(),Vfe(),ob=am()),ob}Hfe();var eg={exports:{}};/*!
7
+ * jQuery JavaScript Library v3.7.1
8
+ * https://jquery.com/
9
+ *
10
+ * Copyright OpenJS Foundation and other contributors
11
+ * Released under the MIT license
12
+ * https://jquery.org/license
13
+ *
14
+ * Date: 2023-08-28T13:37Z
15
+ */var zfe=eg.exports,bz;function gJ(){return bz||(bz=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:zfe,function(t,r){var n=[],i=Object.getPrototypeOf,o=n.slice,a=n.flat?function(g){return n.flat.call(g)}:function(g){return n.concat.apply([],g)},u=n.push,l=n.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,m=p.call(Object),S={},E=function(A){return typeof A=="function"&&typeof A.nodeType!="number"&&typeof A.item!="function"},_=function(A){return A!=null&&A===A.window},w=t.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function C(g,A,D){D=D||w;var q,X,te=D.createElement("script");if(te.text=g,A)for(q in T)X=A[q]||A.getAttribute&&A.getAttribute(q),X&&te.setAttribute(q,X);D.head.appendChild(te).parentNode.removeChild(te)}function x(g){return g==null?g+"":typeof g=="object"||typeof g=="function"?f[d.call(g)]||"object":typeof g}var R="3.7.1",P=/HTML$/i,y=function(g,A){return new y.fn.init(g,A)};y.fn=y.prototype={jquery:R,constructor:y,length:0,toArray:function(){return o.call(this)},get:function(g){return g==null?o.call(this):g<0?this[g+this.length]:this[g]},pushStack:function(g){var A=y.merge(this.constructor(),g);return A.prevObject=this,A},each:function(g){return y.each(this,g)},map:function(g){return this.pushStack(y.map(this,function(A,D){return g.call(A,D,A)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(y.grep(this,function(g,A){return(A+1)%2}))},odd:function(){return this.pushStack(y.grep(this,function(g,A){return A%2}))},eq:function(g){var A=this.length,D=+g+(g<0?A:0);return this.pushStack(D>=0&&D<A?[this[D]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},y.extend=y.fn.extend=function(){var g,A,D,q,X,te,se=arguments[0]||{},Pe=1,Ae=arguments.length,qe=!1;for(typeof se=="boolean"&&(qe=se,se=arguments[Pe]||{},Pe++),typeof se!="object"&&!E(se)&&(se={}),Pe===Ae&&(se=this,Pe--);Pe<Ae;Pe++)if((g=arguments[Pe])!=null)for(A in g)q=g[A],!(A==="__proto__"||se===q)&&(qe&&q&&(y.isPlainObject(q)||(X=Array.isArray(q)))?(D=se[A],X&&!Array.isArray(D)?te=[]:!X&&!y.isPlainObject(D)?te={}:te=D,X=!1,se[A]=y.extend(qe,te,q)):q!==void 0&&(se[A]=q));return se},y.extend({expando:"jQuery"+(R+Math.random()).replace(/\D/g,""),isReady:!0,error:function(g){throw new Error(g)},noop:function(){},isPlainObject:function(g){var A,D;return!g||d.call(g)!=="[object Object]"?!1:(A=i(g),A?(D=h.call(A,"constructor")&&A.constructor,typeof D=="function"&&p.call(D)===m):!0)},isEmptyObject:function(g){var A;for(A in g)return!1;return!0},globalEval:function(g,A,D){C(g,{nonce:A&&A.nonce},D)},each:function(g,A){var D,q=0;if(N(g))for(D=g.length;q<D&&A.call(g[q],q,g[q])!==!1;q++);else for(q in g)if(A.call(g[q],q,g[q])===!1)break;return g},text:function(g){var A,D="",q=0,X=g.nodeType;if(!X)for(;A=g[q++];)D+=y.text(A);return X===1||X===11?g.textContent:X===9?g.documentElement.textContent:X===3||X===4?g.nodeValue:D},makeArray:function(g,A){var D=A||[];return g!=null&&(N(Object(g))?y.merge(D,typeof g=="string"?[g]:g):u.call(D,g)),D},inArray:function(g,A,D){return A==null?-1:l.call(A,g,D)},isXMLDoc:function(g){var A=g&&g.namespaceURI,D=g&&(g.ownerDocument||g).documentElement;return!P.test(A||D&&D.nodeName||"HTML")},merge:function(g,A){for(var D=+A.length,q=0,X=g.length;q<D;q++)g[X++]=A[q];return g.length=X,g},grep:function(g,A,D){for(var q,X=[],te=0,se=g.length,Pe=!D;te<se;te++)q=!A(g[te],te),q!==Pe&&X.push(g[te]);return X},map:function(g,A,D){var q,X,te=0,se=[];if(N(g))for(q=g.length;te<q;te++)X=A(g[te],te,D),X!=null&&se.push(X);else for(te in g)X=A(g[te],te,D),X!=null&&se.push(X);return a(se)},guid:1,support:S}),typeof Symbol=="function"&&(y.fn[Symbol.iterator]=n[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(g,A){f["[object "+A+"]"]=A.toLowerCase()});function N(g){var A=!!g&&"length"in g&&g.length,D=x(g);return E(g)||_(g)?!1:D==="array"||A===0||typeof A=="number"&&A>0&&A-1 in g}function $(g,A){return g.nodeName&&g.nodeName.toLowerCase()===A.toLowerCase()}var H=n.pop,B=n.sort,W=n.splice,Y="[\\x20\\t\\r\\n\\f]",Q=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");y.contains=function(g,A){var D=A&&A.parentNode;return g===D||!!(D&&D.nodeType===1&&(g.contains?g.contains(D):g.compareDocumentPosition&&g.compareDocumentPosition(D)&16))};var ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function re(g,A){return A?g==="\0"?"�":g.slice(0,-1)+"\\"+g.charCodeAt(g.length-1).toString(16)+" ":"\\"+g}y.escapeSelector=function(g){return(g+"").replace(ne,re)};var de=w,G=u;(function(){var g,A,D,q,X,te=G,se,Pe,Ae,qe,pt,Et=y.expando,tt=0,Pt=0,hr=hl(),Vr=hl(),Ir=hl(),Yn=hl(),zn=function(we,je){return we===je&&(X=!0),0},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",J="(?:\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",le="\\["+Y+"*("+J+")(?:"+Y+"*([*^$|!~]?=)"+Y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+J+"))|)"+Y+"*\\]",Ce=":("+J+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+le+")*)|.*)\\)|)",He=new RegExp(Y+"+","g"),ze=new RegExp("^"+Y+"*,"+Y+"*"),wt=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),Mt=new RegExp(Y+"|>"),ar=new RegExp(Ce),Rr=new RegExp("^"+J+"$"),pr={ID:new RegExp("^#("+J+")"),CLASS:new RegExp("^\\.("+J+")"),TAG:new RegExp("^("+J+"|[*])"),ATTR:new RegExp("^"+le),PSEUDO:new RegExp("^"+Ce),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Y+"*(even|odd|(([+-]|)(\\d*)n|)"+Y+"*(?:([+-]|)"+Y+"*(\\d+)|))"+Y+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},yn=/^(?:input|select|textarea|button)$/i,Xn=/^h\d$/i,Pn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ed=/[+~]/,Fo=new RegExp("\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\([^\\r\\n\\f])","g"),jo=function(we,je){var nt="0x"+we.slice(1)-65536;return je||(nt<0?String.fromCharCode(nt+65536):String.fromCharCode(nt>>10|55296,nt&1023|56320))},Ny=function(){os()},Sd=us(function(we){return we.disabled===!0&&$(we,"fieldset")},{dir:"parentNode",next:"legend"});function dl(){try{return se.activeElement}catch{}}try{te.apply(n=o.call(de.childNodes),de.childNodes),n[de.childNodes.length].nodeType}catch{te={apply:function(je,nt){G.apply(je,o.call(nt))},call:function(je){G.apply(je,o.call(arguments,1))}}}function sn(we,je,nt,dt){var St,qt,Vt,Jt,Yt,Ur,_r,br=je&&je.ownerDocument,Fr=je?je.nodeType:9;if(nt=nt||[],typeof we!="string"||!we||Fr!==1&&Fr!==9&&Fr!==11)return nt;if(!dt&&(os(je),je=je||se,Ae)){if(Fr!==11&&(Yt=Pn.exec(we)))if(St=Yt[1]){if(Fr===9)if(Vt=je.getElementById(St)){if(Vt.id===St)return te.call(nt,Vt),nt}else return nt;else if(br&&(Vt=br.getElementById(St))&&sn.contains(je,Vt)&&Vt.id===St)return te.call(nt,Vt),nt}else{if(Yt[2])return te.apply(nt,je.getElementsByTagName(we)),nt;if((St=Yt[3])&&je.getElementsByClassName)return te.apply(nt,je.getElementsByClassName(St)),nt}if(!Yn[we+" "]&&(!qe||!qe.test(we))){if(_r=we,br=je,Fr===1&&(Mt.test(we)||wt.test(we))){for(br=Ed.test(we)&&wd(je.parentNode)||je,(br!=je||!S.scope)&&((Jt=je.getAttribute("id"))?Jt=y.escapeSelector(Jt):je.setAttribute("id",Jt=Et)),Ur=bu(we),qt=Ur.length;qt--;)Ur[qt]=(Jt?"#"+Jt:":scope")+" "+ss(Ur[qt]);_r=Ur.join(",")}try{return te.apply(nt,br.querySelectorAll(_r)),nt}catch{Yn(we,!0)}finally{Jt===Et&&je.removeAttribute("id")}}}return Rd(we.replace(Q,"$1"),je,nt,dt)}function hl(){var we=[];function je(nt,dt){return we.push(nt+" ")>A.cacheLength&&delete je[we.shift()],je[nt+" "]=dt}return je}function ba(we){return we[Et]=!0,we}function Ns(we){var je=se.createElement("fieldset");try{return!!we(je)}catch{return!1}finally{je.parentNode&&je.parentNode.removeChild(je),je=null}}function Pp(we){return function(je){return $(je,"input")&&je.type===we}}function kp(we){return function(je){return($(je,"input")||$(je,"button"))&&je.type===we}}function Ms(we){return function(je){return"form"in je?je.parentNode&&je.disabled===!1?"label"in je?"label"in je.parentNode?je.parentNode.disabled===we:je.disabled===we:je.isDisabled===we||je.isDisabled!==!we&&Sd(je)===we:je.disabled===we:"label"in je?je.disabled===we:!1}}function $s(we){return ba(function(je){return je=+je,ba(function(nt,dt){for(var St,qt=we([],nt.length,je),Vt=qt.length;Vt--;)nt[St=qt[Vt]]&&(nt[St]=!(dt[St]=nt[St]))})})}function wd(we){return we&&typeof we.getElementsByTagName<"u"&&we}function os(we){var je,nt=we?we.ownerDocument||we:de;return nt==se||nt.nodeType!==9||!nt.documentElement||(se=nt,Pe=se.documentElement,Ae=!y.isXMLDoc(se),pt=Pe.matches||Pe.webkitMatchesSelector||Pe.msMatchesSelector,Pe.msMatchesSelector&&de!=se&&(je=se.defaultView)&&je.top!==je&&je.addEventListener("unload",Ny),S.getById=Ns(function(dt){return Pe.appendChild(dt).id=y.expando,!se.getElementsByName||!se.getElementsByName(y.expando).length}),S.disconnectedMatch=Ns(function(dt){return pt.call(dt,"*")}),S.scope=Ns(function(){return se.querySelectorAll(":scope")}),S.cssHas=Ns(function(){try{return se.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(A.filter.ID=function(dt){var St=dt.replace(Fo,jo);return function(qt){return qt.getAttribute("id")===St}},A.find.ID=function(dt,St){if(typeof St.getElementById<"u"&&Ae){var qt=St.getElementById(dt);return qt?[qt]:[]}}):(A.filter.ID=function(dt){var St=dt.replace(Fo,jo);return function(qt){var Vt=typeof qt.getAttributeNode<"u"&&qt.getAttributeNode("id");return Vt&&Vt.value===St}},A.find.ID=function(dt,St){if(typeof St.getElementById<"u"&&Ae){var qt,Vt,Jt,Yt=St.getElementById(dt);if(Yt){if(qt=Yt.getAttributeNode("id"),qt&&qt.value===dt)return[Yt];for(Jt=St.getElementsByName(dt),Vt=0;Yt=Jt[Vt++];)if(qt=Yt.getAttributeNode("id"),qt&&qt.value===dt)return[Yt]}return[]}}),A.find.TAG=function(dt,St){return typeof St.getElementsByTagName<"u"?St.getElementsByTagName(dt):St.querySelectorAll(dt)},A.find.CLASS=function(dt,St){if(typeof St.getElementsByClassName<"u"&&Ae)return St.getElementsByClassName(dt)},qe=[],Ns(function(dt){var St;Pe.appendChild(dt).innerHTML="<a id='"+Et+"' href='' disabled='disabled'></a><select id='"+Et+"-\r\\' disabled='disabled'><option selected=''></option></select>",dt.querySelectorAll("[selected]").length||qe.push("\\["+Y+"*(?:value|"+j+")"),dt.querySelectorAll("[id~="+Et+"-]").length||qe.push("~="),dt.querySelectorAll("a#"+Et+"+*").length||qe.push(".#.+[+~]"),dt.querySelectorAll(":checked").length||qe.push(":checked"),St=se.createElement("input"),St.setAttribute("type","hidden"),dt.appendChild(St).setAttribute("name","D"),Pe.appendChild(dt).disabled=!0,dt.querySelectorAll(":disabled").length!==2&&qe.push(":enabled",":disabled"),St=se.createElement("input"),St.setAttribute("name",""),dt.appendChild(St),dt.querySelectorAll("[name='']").length||qe.push("\\["+Y+"*name"+Y+"*="+Y+`*(?:''|"")`)}),S.cssHas||qe.push(":has"),qe=qe.length&&new RegExp(qe.join("|")),zn=function(dt,St){if(dt===St)return X=!0,0;var qt=!dt.compareDocumentPosition-!St.compareDocumentPosition;return qt||(qt=(dt.ownerDocument||dt)==(St.ownerDocument||St)?dt.compareDocumentPosition(St):1,qt&1||!S.sortDetached&&St.compareDocumentPosition(dt)===qt?dt===se||dt.ownerDocument==de&&sn.contains(de,dt)?-1:St===se||St.ownerDocument==de&&sn.contains(de,St)?1:q?l.call(q,dt)-l.call(q,St):0:qt&4?-1:1)}),se}sn.matches=function(we,je){return sn(we,null,null,je)},sn.matchesSelector=function(we,je){if(os(we),Ae&&!Yn[je+" "]&&(!qe||!qe.test(je)))try{var nt=pt.call(we,je);if(nt||S.disconnectedMatch||we.document&&we.document.nodeType!==11)return nt}catch{Yn(je,!0)}return sn(je,se,null,[we]).length>0},sn.contains=function(we,je){return(we.ownerDocument||we)!=se&&os(we),y.contains(we,je)},sn.attr=function(we,je){(we.ownerDocument||we)!=se&&os(we);var nt=A.attrHandle[je.toLowerCase()],dt=nt&&h.call(A.attrHandle,je.toLowerCase())?nt(we,je,!Ae):void 0;return dt!==void 0?dt:we.getAttribute(je)},sn.error=function(we){throw new Error("Syntax error, unrecognized expression: "+we)},y.uniqueSort=function(we){var je,nt=[],dt=0,St=0;if(X=!S.sortStable,q=!S.sortStable&&o.call(we,0),B.call(we,zn),X){for(;je=we[St++];)je===we[St]&&(dt=nt.push(St));for(;dt--;)W.call(we,nt[dt],1)}return q=null,we},y.fn.uniqueSort=function(){return this.pushStack(y.uniqueSort(o.apply(this)))},A=y.expr={cacheLength:50,createPseudo:ba,match:pr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(we){return we[1]=we[1].replace(Fo,jo),we[3]=(we[3]||we[4]||we[5]||"").replace(Fo,jo),we[2]==="~="&&(we[3]=" "+we[3]+" "),we.slice(0,4)},CHILD:function(we){return we[1]=we[1].toLowerCase(),we[1].slice(0,3)==="nth"?(we[3]||sn.error(we[0]),we[4]=+(we[4]?we[5]+(we[6]||1):2*(we[3]==="even"||we[3]==="odd")),we[5]=+(we[7]+we[8]||we[3]==="odd")):we[3]&&sn.error(we[0]),we},PSEUDO:function(we){var je,nt=!we[6]&&we[2];return pr.CHILD.test(we[0])?null:(we[3]?we[2]=we[4]||we[5]||"":nt&&ar.test(nt)&&(je=bu(nt,!0))&&(je=nt.indexOf(")",nt.length-je)-nt.length)&&(we[0]=we[0].slice(0,je),we[2]=nt.slice(0,je)),we.slice(0,3))}},filter:{TAG:function(we){var je=we.replace(Fo,jo).toLowerCase();return we==="*"?function(){return!0}:function(nt){return $(nt,je)}},CLASS:function(we){var je=hr[we+" "];return je||(je=new RegExp("(^|"+Y+")"+we+"("+Y+"|$)"))&&hr(we,function(nt){return je.test(typeof nt.className=="string"&&nt.className||typeof nt.getAttribute<"u"&&nt.getAttribute("class")||"")})},ATTR:function(we,je,nt){return function(dt){var St=sn.attr(dt,we);return St==null?je==="!=":je?(St+="",je==="="?St===nt:je==="!="?St!==nt:je==="^="?nt&&St.indexOf(nt)===0:je==="*="?nt&&St.indexOf(nt)>-1:je==="$="?nt&&St.slice(-nt.length)===nt:je==="~="?(" "+St.replace(He," ")+" ").indexOf(nt)>-1:je==="|="?St===nt||St.slice(0,nt.length+1)===nt+"-":!1):!0}},CHILD:function(we,je,nt,dt,St){var qt=we.slice(0,3)!=="nth",Vt=we.slice(-4)!=="last",Jt=je==="of-type";return dt===1&&St===0?(function(Yt){return!!Yt.parentNode}):function(Yt,Ur,_r){var br,Fr,cr,An,li,yi=qt!==Vt?"nextSibling":"previousSibling",Pi=Yt.parentNode,Ta=Jt&&Yt.nodeName.toLowerCase(),Fs=!_r&&!Jt,_i=!1;if(Pi){if(qt){for(;yi;){for(cr=Yt;cr=cr[yi];)if(Jt?$(cr,Ta):cr.nodeType===1)return!1;li=yi=we==="only"&&!li&&"nextSibling"}return!0}if(li=[Vt?Pi.firstChild:Pi.lastChild],Vt&&Fs){for(Fr=Pi[Et]||(Pi[Et]={}),br=Fr[we]||[],An=br[0]===tt&&br[1],_i=An&&br[2],cr=An&&Pi.childNodes[An];cr=++An&&cr&&cr[yi]||(_i=An=0)||li.pop();)if(cr.nodeType===1&&++_i&&cr===Yt){Fr[we]=[tt,An,_i];break}}else if(Fs&&(Fr=Yt[Et]||(Yt[Et]={}),br=Fr[we]||[],An=br[0]===tt&&br[1],_i=An),_i===!1)for(;(cr=++An&&cr&&cr[yi]||(_i=An=0)||li.pop())&&!((Jt?$(cr,Ta):cr.nodeType===1)&&++_i&&(Fs&&(Fr=cr[Et]||(cr[Et]={}),Fr[we]=[tt,_i]),cr===Yt)););return _i-=St,_i===dt||_i%dt===0&&_i/dt>=0}}},PSEUDO:function(we,je){var nt,dt=A.pseudos[we]||A.setFilters[we.toLowerCase()]||sn.error("unsupported pseudo: "+we);return dt[Et]?dt(je):dt.length>1?(nt=[we,we,"",je],A.setFilters.hasOwnProperty(we.toLowerCase())?ba(function(St,qt){for(var Vt,Jt=dt(St,je),Yt=Jt.length;Yt--;)Vt=l.call(St,Jt[Yt]),St[Vt]=!(qt[Vt]=Jt[Yt])}):function(St){return dt(St,0,nt)}):dt}},pseudos:{not:ba(function(we){var je=[],nt=[],dt=Uc(we.replace(Q,"$1"));return dt[Et]?ba(function(St,qt,Vt,Jt){for(var Yt,Ur=dt(St,null,Jt,[]),_r=St.length;_r--;)(Yt=Ur[_r])&&(St[_r]=!(qt[_r]=Yt))}):function(St,qt,Vt){return je[0]=St,dt(je,null,Vt,nt),je[0]=null,!nt.pop()}}),has:ba(function(we){return function(je){return sn(we,je).length>0}}),contains:ba(function(we){return we=we.replace(Fo,jo),function(je){return(je.textContent||y.text(je)).indexOf(we)>-1}}),lang:ba(function(we){return Rr.test(we||"")||sn.error("unsupported lang: "+we),we=we.replace(Fo,jo).toLowerCase(),function(je){var nt;do if(nt=Ae?je.lang:je.getAttribute("xml:lang")||je.getAttribute("lang"))return nt=nt.toLowerCase(),nt===we||nt.indexOf(we+"-")===0;while((je=je.parentNode)&&je.nodeType===1);return!1}}),target:function(we){var je=t.location&&t.location.hash;return je&&je.slice(1)===we.id},root:function(we){return we===Pe},focus:function(we){return we===dl()&&se.hasFocus()&&!!(we.type||we.href||~we.tabIndex)},enabled:Ms(!1),disabled:Ms(!0),checked:function(we){return $(we,"input")&&!!we.checked||$(we,"option")&&!!we.selected},selected:function(we){return we.parentNode&&we.parentNode.selectedIndex,we.selected===!0},empty:function(we){for(we=we.firstChild;we;we=we.nextSibling)if(we.nodeType<6)return!1;return!0},parent:function(we){return!A.pseudos.empty(we)},header:function(we){return Xn.test(we.nodeName)},input:function(we){return yn.test(we.nodeName)},button:function(we){return $(we,"input")&&we.type==="button"||$(we,"button")},text:function(we){var je;return $(we,"input")&&we.type==="text"&&((je=we.getAttribute("type"))==null||je.toLowerCase()==="text")},first:$s(function(){return[0]}),last:$s(function(we,je){return[je-1]}),eq:$s(function(we,je,nt){return[nt<0?nt+je:nt]}),even:$s(function(we,je){for(var nt=0;nt<je;nt+=2)we.push(nt);return we}),odd:$s(function(we,je){for(var nt=1;nt<je;nt+=2)we.push(nt);return we}),lt:$s(function(we,je,nt){var dt;for(nt<0?dt=nt+je:nt>je?dt=je:dt=nt;--dt>=0;)we.push(dt);return we}),gt:$s(function(we,je,nt){for(var dt=nt<0?nt+je:nt;++dt<je;)we.push(dt);return we})}},A.pseudos.nth=A.pseudos.eq;for(g in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[g]=Pp(g);for(g in{submit:!0,reset:!0})A.pseudos[g]=kp(g);function bd(){}bd.prototype=A.filters=A.pseudos,A.setFilters=new bd;function bu(we,je){var nt,dt,St,qt,Vt,Jt,Yt,Ur=Vr[we+" "];if(Ur)return je?0:Ur.slice(0);for(Vt=we,Jt=[],Yt=A.preFilter;Vt;){(!nt||(dt=ze.exec(Vt)))&&(dt&&(Vt=Vt.slice(dt[0].length)||Vt),Jt.push(St=[])),nt=!1,(dt=wt.exec(Vt))&&(nt=dt.shift(),St.push({value:nt,type:dt[0].replace(Q," ")}),Vt=Vt.slice(nt.length));for(qt in A.filter)(dt=pr[qt].exec(Vt))&&(!Yt[qt]||(dt=Yt[qt](dt)))&&(nt=dt.shift(),St.push({value:nt,type:qt,matches:dt}),Vt=Vt.slice(nt.length));if(!nt)break}return je?Vt.length:Vt?sn.error(we):Vr(we,Jt).slice(0)}function ss(we){for(var je=0,nt=we.length,dt="";je<nt;je++)dt+=we[je].value;return dt}function us(we,je,nt){var dt=je.dir,St=je.next,qt=St||dt,Vt=nt&&qt==="parentNode",Jt=Pt++;return je.first?(function(Yt,Ur,_r){for(;Yt=Yt[dt];)if(Yt.nodeType===1||Vt)return we(Yt,Ur,_r);return!1}):(function(Yt,Ur,_r){var br,Fr,cr=[tt,Jt];if(_r){for(;Yt=Yt[dt];)if((Yt.nodeType===1||Vt)&&we(Yt,Ur,_r))return!0}else for(;Yt=Yt[dt];)if(Yt.nodeType===1||Vt)if(Fr=Yt[Et]||(Yt[Et]={}),St&&$(Yt,St))Yt=Yt[dt]||Yt;else{if((br=Fr[qt])&&br[0]===tt&&br[1]===Jt)return cr[2]=br[2];if(Fr[qt]=cr,cr[2]=we(Yt,Ur,_r))return!0}return!1})}function Td(we){return we.length>1?function(je,nt,dt){for(var St=we.length;St--;)if(!we[St](je,nt,dt))return!1;return!0}:we[0]}function $c(we,je,nt){for(var dt=0,St=je.length;dt<St;dt++)sn(we,je[dt],nt);return nt}function Fc(we,je,nt,dt,St){for(var qt,Vt=[],Jt=0,Yt=we.length,Ur=je!=null;Jt<Yt;Jt++)(qt=we[Jt])&&(!nt||nt(qt,dt,St))&&(Vt.push(qt),Ur&&je.push(Jt));return Vt}function jc(we,je,nt,dt,St,qt){return dt&&!dt[Et]&&(dt=jc(dt)),St&&!St[Et]&&(St=jc(St,qt)),ba(function(Vt,Jt,Yt,Ur){var _r,br,Fr,cr,An=[],li=[],yi=Jt.length,Pi=Vt||$c(je||"*",Yt.nodeType?[Yt]:Yt,[]),Ta=we&&(Vt||!je)?Fc(Pi,An,we,Yt,Ur):Pi;if(nt?(cr=St||(Vt?we:yi||dt)?[]:Jt,nt(Ta,cr,Yt,Ur)):cr=Ta,dt)for(_r=Fc(cr,li),dt(_r,[],Yt,Ur),br=_r.length;br--;)(Fr=_r[br])&&(cr[li[br]]=!(Ta[li[br]]=Fr));if(Vt){if(St||we){if(St){for(_r=[],br=cr.length;br--;)(Fr=cr[br])&&_r.push(Ta[br]=Fr);St(null,cr=[],_r,Ur)}for(br=cr.length;br--;)(Fr=cr[br])&&(_r=St?l.call(Vt,Fr):An[br])>-1&&(Vt[_r]=!(Jt[_r]=Fr))}}else cr=Fc(cr===Jt?cr.splice(yi,cr.length):cr),St?St(null,Jt,cr,Ur):te.apply(Jt,cr)})}function pl(we){for(var je,nt,dt,St=we.length,qt=A.relative[we[0].type],Vt=qt||A.relative[" "],Jt=qt?1:0,Yt=us(function(br){return br===je},Vt,!0),Ur=us(function(br){return l.call(je,br)>-1},Vt,!0),_r=[function(br,Fr,cr){var An=!qt&&(cr||Fr!=D)||((je=Fr).nodeType?Yt(br,Fr,cr):Ur(br,Fr,cr));return je=null,An}];Jt<St;Jt++)if(nt=A.relative[we[Jt].type])_r=[us(Td(_r),nt)];else{if(nt=A.filter[we[Jt].type].apply(null,we[Jt].matches),nt[Et]){for(dt=++Jt;dt<St&&!A.relative[we[dt].type];dt++);return jc(Jt>1&&Td(_r),Jt>1&&ss(we.slice(0,Jt-1).concat({value:we[Jt-2].type===" "?"*":""})).replace(Q,"$1"),nt,Jt<dt&&pl(we.slice(Jt,dt)),dt<St&&pl(we=we.slice(dt)),dt<St&&ss(we))}_r.push(nt)}return Td(_r)}function Ad(we,je){var nt=je.length>0,dt=we.length>0,St=function(qt,Vt,Jt,Yt,Ur){var _r,br,Fr,cr=0,An="0",li=qt&&[],yi=[],Pi=D,Ta=qt||dt&&A.find.TAG("*",Ur),Fs=tt+=Pi==null?1:Math.random()||.1,_i=Ta.length;for(Ur&&(D=Vt==se||Vt||Ur);An!==_i&&(_r=Ta[An])!=null;An++){if(dt&&_r){for(br=0,!Vt&&_r.ownerDocument!=se&&(os(_r),Jt=!Ae);Fr=we[br++];)if(Fr(_r,Vt||se,Jt)){te.call(Yt,_r);break}Ur&&(tt=Fs)}nt&&((_r=!Fr&&_r)&&cr--,qt&&li.push(_r))}if(cr+=An,nt&&An!==cr){for(br=0;Fr=je[br++];)Fr(li,yi,Vt,Jt);if(qt){if(cr>0)for(;An--;)li[An]||yi[An]||(yi[An]=H.call(Yt));yi=Fc(yi)}te.apply(Yt,yi),Ur&&!qt&&yi.length>0&&cr+je.length>1&&y.uniqueSort(Yt)}return Ur&&(tt=Fs,D=Pi),li};return nt?ba(St):St}function Uc(we,je){var nt,dt=[],St=[],qt=Ir[we+" "];if(!qt){for(je||(je=bu(we)),nt=je.length;nt--;)qt=pl(je[nt]),qt[Et]?dt.push(qt):St.push(qt);qt=Ir(we,Ad(St,dt)),qt.selector=we}return qt}function Rd(we,je,nt,dt){var St,qt,Vt,Jt,Yt,Ur=typeof we=="function"&&we,_r=!dt&&bu(we=Ur.selector||we);if(nt=nt||[],_r.length===1){if(qt=_r[0]=_r[0].slice(0),qt.length>2&&(Vt=qt[0]).type==="ID"&&je.nodeType===9&&Ae&&A.relative[qt[1].type]){if(je=(A.find.ID(Vt.matches[0].replace(Fo,jo),je)||[])[0],je)Ur&&(je=je.parentNode);else return nt;we=we.slice(qt.shift().value.length)}for(St=pr.needsContext.test(we)?0:qt.length;St--&&(Vt=qt[St],!A.relative[Jt=Vt.type]);)if((Yt=A.find[Jt])&&(dt=Yt(Vt.matches[0].replace(Fo,jo),Ed.test(qt[0].type)&&wd(je.parentNode)||je))){if(qt.splice(St,1),we=dt.length&&ss(qt),!we)return te.apply(nt,dt),nt;break}}return(Ur||Uc(we,_r))(dt,je,!Ae,nt,!je||Ed.test(we)&&wd(je.parentNode)||je),nt}S.sortStable=Et.split("").sort(zn).join("")===Et,os(),S.sortDetached=Ns(function(we){return we.compareDocumentPosition(se.createElement("fieldset"))&1}),y.find=sn,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,sn.compile=Uc,sn.select=Rd,sn.setDocument=os,sn.tokenize=bu,sn.escape=y.escapeSelector,sn.getText=y.text,sn.isXML=y.isXMLDoc,sn.selectors=y.expr,sn.support=y.support,sn.uniqueSort=y.uniqueSort})();var ee=function(g,A,D){for(var q=[],X=D!==void 0;(g=g[A])&&g.nodeType!==9;)if(g.nodeType===1){if(X&&y(g).is(D))break;q.push(g)}return q},z=function(g,A){for(var D=[];g;g=g.nextSibling)g.nodeType===1&&g!==A&&D.push(g);return D},ue=y.expr.match.needsContext,Ee=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Oe(g,A,D){return E(A)?y.grep(g,function(q,X){return!!A.call(q,X,q)!==D}):A.nodeType?y.grep(g,function(q){return q===A!==D}):typeof A!="string"?y.grep(g,function(q){return l.call(A,q)>-1!==D}):y.filter(A,g,D)}y.filter=function(g,A,D){var q=A[0];return D&&(g=":not("+g+")"),A.length===1&&q.nodeType===1?y.find.matchesSelector(q,g)?[q]:[]:y.find.matches(g,y.grep(A,function(X){return X.nodeType===1}))},y.fn.extend({find:function(g){var A,D,q=this.length,X=this;if(typeof g!="string")return this.pushStack(y(g).filter(function(){for(A=0;A<q;A++)if(y.contains(X[A],this))return!0}));for(D=this.pushStack([]),A=0;A<q;A++)y.find(g,X[A],D);return q>1?y.uniqueSort(D):D},filter:function(g){return this.pushStack(Oe(this,g||[],!1))},not:function(g){return this.pushStack(Oe(this,g||[],!0))},is:function(g){return!!Oe(this,typeof g=="string"&&ue.test(g)?y(g):g||[],!1).length}});var $e,Ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ae=y.fn.init=function(g,A,D){var q,X;if(!g)return this;if(D=D||$e,typeof g=="string")if(g[0]==="<"&&g[g.length-1]===">"&&g.length>=3?q=[null,g,null]:q=Ve.exec(g),q&&(q[1]||!A))if(q[1]){if(A=A instanceof y?A[0]:A,y.merge(this,y.parseHTML(q[1],A&&A.nodeType?A.ownerDocument||A:w,!0)),Ee.test(q[1])&&y.isPlainObject(A))for(q in A)E(this[q])?this[q](A[q]):this.attr(q,A[q]);return this}else return X=w.getElementById(q[2]),X&&(this[0]=X,this.length=1),this;else return!A||A.jquery?(A||D).find(g):this.constructor(A).find(g);else{if(g.nodeType)return this[0]=g,this.length=1,this;if(E(g))return D.ready!==void 0?D.ready(g):g(y)}return y.makeArray(g,this)};ae.prototype=y.fn,$e=y(w);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};y.fn.extend({has:function(g){var A=y(g,this),D=A.length;return this.filter(function(){for(var q=0;q<D;q++)if(y.contains(this,A[q]))return!0})},closest:function(g,A){var D,q=0,X=this.length,te=[],se=typeof g!="string"&&y(g);if(!ue.test(g)){for(;q<X;q++)for(D=this[q];D&&D!==A;D=D.parentNode)if(D.nodeType<11&&(se?se.index(D)>-1:D.nodeType===1&&y.find.matchesSelector(D,g))){te.push(D);break}}return this.pushStack(te.length>1?y.uniqueSort(te):te)},index:function(g){return g?typeof g=="string"?l.call(y(g),this[0]):l.call(this,g.jquery?g[0]:g):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(g,A){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(g,A))))},addBack:function(g){return this.add(g==null?this.prevObject:this.prevObject.filter(g))}});function M(g,A){for(;(g=g[A])&&g.nodeType!==1;);return g}y.each({parent:function(g){var A=g.parentNode;return A&&A.nodeType!==11?A:null},parents:function(g){return ee(g,"parentNode")},parentsUntil:function(g,A,D){return ee(g,"parentNode",D)},next:function(g){return M(g,"nextSibling")},prev:function(g){return M(g,"previousSibling")},nextAll:function(g){return ee(g,"nextSibling")},prevAll:function(g){return ee(g,"previousSibling")},nextUntil:function(g,A,D){return ee(g,"nextSibling",D)},prevUntil:function(g,A,D){return ee(g,"previousSibling",D)},siblings:function(g){return z((g.parentNode||{}).firstChild,g)},children:function(g){return z(g.firstChild)},contents:function(g){return g.contentDocument!=null&&i(g.contentDocument)?g.contentDocument:($(g,"template")&&(g=g.content||g),y.merge([],g.childNodes))}},function(g,A){y.fn[g]=function(D,q){var X=y.map(this,A,D);return g.slice(-5)!=="Until"&&(q=D),q&&typeof q=="string"&&(X=y.filter(q,X)),this.length>1&&(I[g]||y.uniqueSort(X),O.test(g)&&X.reverse()),this.pushStack(X)}});var k=/[^\x20\t\r\n\f]+/g;function U(g){var A={};return y.each(g.match(k)||[],function(D,q){A[q]=!0}),A}y.Callbacks=function(g){g=typeof g=="string"?U(g):y.extend({},g);var A,D,q,X,te=[],se=[],Pe=-1,Ae=function(){for(X=X||g.once,q=A=!0;se.length;Pe=-1)for(D=se.shift();++Pe<te.length;)te[Pe].apply(D[0],D[1])===!1&&g.stopOnFalse&&(Pe=te.length,D=!1);g.memory||(D=!1),A=!1,X&&(D?te=[]:te="")},qe={add:function(){return te&&(D&&!A&&(Pe=te.length-1,se.push(D)),(function pt(Et){y.each(Et,function(tt,Pt){E(Pt)?(!g.unique||!qe.has(Pt))&&te.push(Pt):Pt&&Pt.length&&x(Pt)!=="string"&&pt(Pt)})})(arguments),D&&!A&&Ae()),this},remove:function(){return y.each(arguments,function(pt,Et){for(var tt;(tt=y.inArray(Et,te,tt))>-1;)te.splice(tt,1),tt<=Pe&&Pe--}),this},has:function(pt){return pt?y.inArray(pt,te)>-1:te.length>0},empty:function(){return te&&(te=[]),this},disable:function(){return X=se=[],te=D="",this},disabled:function(){return!te},lock:function(){return X=se=[],!D&&!A&&(te=D=""),this},locked:function(){return!!X},fireWith:function(pt,Et){return X||(Et=Et||[],Et=[pt,Et.slice?Et.slice():Et],se.push(Et),A||Ae()),this},fire:function(){return qe.fireWith(this,arguments),this},fired:function(){return!!q}};return qe};function K(g){return g}function ie(g){throw g}function ye(g,A,D,q){var X;try{g&&E(X=g.promise)?X.call(g).done(A).fail(D):g&&E(X=g.then)?X.call(g,A,D):A.apply(void 0,[g].slice(q))}catch(te){D.apply(void 0,[te])}}y.extend({Deferred:function(g){var A=[["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"]],D="pending",q={state:function(){return D},always:function(){return X.done(arguments).fail(arguments),this},catch:function(te){return q.then(null,te)},pipe:function(){var te=arguments;return y.Deferred(function(se){y.each(A,function(Pe,Ae){var qe=E(te[Ae[4]])&&te[Ae[4]];X[Ae[1]](function(){var pt=qe&&qe.apply(this,arguments);pt&&E(pt.promise)?pt.promise().progress(se.notify).done(se.resolve).fail(se.reject):se[Ae[0]+"With"](this,qe?[pt]:arguments)})}),te=null}).promise()},then:function(te,se,Pe){var Ae=0;function qe(pt,Et,tt,Pt){return function(){var hr=this,Vr=arguments,Ir=function(){var zn,j;if(!(pt<Ae)){if(zn=tt.apply(hr,Vr),zn===Et.promise())throw new TypeError("Thenable self-resolution");j=zn&&(typeof zn=="object"||typeof zn=="function")&&zn.then,E(j)?Pt?j.call(zn,qe(Ae,Et,K,Pt),qe(Ae,Et,ie,Pt)):(Ae++,j.call(zn,qe(Ae,Et,K,Pt),qe(Ae,Et,ie,Pt),qe(Ae,Et,K,Et.notifyWith))):(tt!==K&&(hr=void 0,Vr=[zn]),(Pt||Et.resolveWith)(hr,Vr))}},Yn=Pt?Ir:function(){try{Ir()}catch(zn){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(zn,Yn.error),pt+1>=Ae&&(tt!==ie&&(hr=void 0,Vr=[zn]),Et.rejectWith(hr,Vr))}};pt?Yn():(y.Deferred.getErrorHook?Yn.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(Yn.error=y.Deferred.getStackHook()),t.setTimeout(Yn))}}return y.Deferred(function(pt){A[0][3].add(qe(0,pt,E(Pe)?Pe:K,pt.notifyWith)),A[1][3].add(qe(0,pt,E(te)?te:K)),A[2][3].add(qe(0,pt,E(se)?se:ie))}).promise()},promise:function(te){return te!=null?y.extend(te,q):q}},X={};return y.each(A,function(te,se){var Pe=se[2],Ae=se[5];q[se[1]]=Pe.add,Ae&&Pe.add(function(){D=Ae},A[3-te][2].disable,A[3-te][3].disable,A[0][2].lock,A[0][3].lock),Pe.add(se[3].fire),X[se[0]]=function(){return X[se[0]+"With"](this===X?void 0:this,arguments),this},X[se[0]+"With"]=Pe.fireWith}),q.promise(X),g&&g.call(X,X),X},when:function(g){var A=arguments.length,D=A,q=Array(D),X=o.call(arguments),te=y.Deferred(),se=function(Pe){return function(Ae){q[Pe]=this,X[Pe]=arguments.length>1?o.call(arguments):Ae,--A||te.resolveWith(q,X)}};if(A<=1&&(ye(g,te.done(se(D)).resolve,te.reject,!A),te.state()==="pending"||E(X[D]&&X[D].then)))return te.then();for(;D--;)ye(X[D],se(D),te.reject);return te.promise()}});var ve=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(g,A){t.console&&t.console.warn&&g&&ve.test(g.name)&&t.console.warn("jQuery.Deferred exception: "+g.message,g.stack,A)},y.readyException=function(g){t.setTimeout(function(){throw g})};var Re=y.Deferred();y.fn.ready=function(g){return Re.then(g).catch(function(A){y.readyException(A)}),this},y.extend({isReady:!1,readyWait:1,ready:function(g){(g===!0?--y.readyWait:y.isReady)||(y.isReady=!0,!(g!==!0&&--y.readyWait>0)&&Re.resolveWith(w,[y]))}}),y.ready.then=Re.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 xe=function(g,A,D,q,X,te,se){var Pe=0,Ae=g.length,qe=D==null;if(x(D)==="object"){X=!0;for(Pe in D)xe(g,A,Pe,D[Pe],!0,te,se)}else if(q!==void 0&&(X=!0,E(q)||(se=!0),qe&&(se?(A.call(g,q),A=null):(qe=A,A=function(pt,Et,tt){return qe.call(y(pt),tt)})),A))for(;Pe<Ae;Pe++)A(g[Pe],D,se?q:q.call(g[Pe],Pe,A(g[Pe],D)));return X?g:qe?A.call(g):Ae?A(g[0],D):te},De=/^-ms-/,he=/-([a-z])/g;function me(g,A){return A.toUpperCase()}function _e(g){return g.replace(De,"ms-").replace(he,me)}var Le=function(g){return g.nodeType===1||g.nodeType===9||!+g.nodeType};function Me(){this.expando=y.expando+Me.uid++}Me.uid=1,Me.prototype={cache:function(g){var A=g[this.expando];return A||(A={},Le(g)&&(g.nodeType?g[this.expando]=A:Object.defineProperty(g,this.expando,{value:A,configurable:!0}))),A},set:function(g,A,D){var q,X=this.cache(g);if(typeof A=="string")X[_e(A)]=D;else for(q in A)X[_e(q)]=A[q];return X},get:function(g,A){return A===void 0?this.cache(g):g[this.expando]&&g[this.expando][_e(A)]},access:function(g,A,D){return A===void 0||A&&typeof A=="string"&&D===void 0?this.get(g,A):(this.set(g,A,D),D!==void 0?D:A)},remove:function(g,A){var D,q=g[this.expando];if(q!==void 0){if(A!==void 0)for(Array.isArray(A)?A=A.map(_e):(A=_e(A),A=A in q?[A]:A.match(k)||[]),D=A.length;D--;)delete q[A[D]];(A===void 0||y.isEmptyObject(q))&&(g.nodeType?g[this.expando]=void 0:delete g[this.expando])}},hasData:function(g){var A=g[this.expando];return A!==void 0&&!y.isEmptyObject(A)}};var Ne=new Me,Ge=new Me,it=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Dt=/[A-Z]/g;function rr(g){return g==="true"?!0:g==="false"?!1:g==="null"?null:g===+g+""?+g:it.test(g)?JSON.parse(g):g}function Ke(g,A,D){var q;if(D===void 0&&g.nodeType===1)if(q="data-"+A.replace(Dt,"-$&").toLowerCase(),D=g.getAttribute(q),typeof D=="string"){try{D=rr(D)}catch{}Ge.set(g,A,D)}else D=void 0;return D}y.extend({hasData:function(g){return Ge.hasData(g)||Ne.hasData(g)},data:function(g,A,D){return Ge.access(g,A,D)},removeData:function(g,A){Ge.remove(g,A)},_data:function(g,A,D){return Ne.access(g,A,D)},_removeData:function(g,A){Ne.remove(g,A)}}),y.fn.extend({data:function(g,A){var D,q,X,te=this[0],se=te&&te.attributes;if(g===void 0){if(this.length&&(X=Ge.get(te),te.nodeType===1&&!Ne.get(te,"hasDataAttrs"))){for(D=se.length;D--;)se[D]&&(q=se[D].name,q.indexOf("data-")===0&&(q=_e(q.slice(5)),Ke(te,q,X[q])));Ne.set(te,"hasDataAttrs",!0)}return X}return typeof g=="object"?this.each(function(){Ge.set(this,g)}):xe(this,function(Pe){var Ae;if(te&&Pe===void 0)return Ae=Ge.get(te,g),Ae!==void 0||(Ae=Ke(te,g),Ae!==void 0)?Ae:void 0;this.each(function(){Ge.set(this,g,Pe)})},null,A,arguments.length>1,null,!0)},removeData:function(g){return this.each(function(){Ge.remove(this,g)})}}),y.extend({queue:function(g,A,D){var q;if(g)return A=(A||"fx")+"queue",q=Ne.get(g,A),D&&(!q||Array.isArray(D)?q=Ne.access(g,A,y.makeArray(D)):q.push(D)),q||[]},dequeue:function(g,A){A=A||"fx";var D=y.queue(g,A),q=D.length,X=D.shift(),te=y._queueHooks(g,A),se=function(){y.dequeue(g,A)};X==="inprogress"&&(X=D.shift(),q--),X&&(A==="fx"&&D.unshift("inprogress"),delete te.stop,X.call(g,se,te)),!q&&te&&te.empty.fire()},_queueHooks:function(g,A){var D=A+"queueHooks";return Ne.get(g,D)||Ne.access(g,D,{empty:y.Callbacks("once memory").add(function(){Ne.remove(g,[A+"queue",D])})})}}),y.fn.extend({queue:function(g,A){var D=2;return typeof g!="string"&&(A=g,g="fx",D--),arguments.length<D?y.queue(this[0],g):A===void 0?this:this.each(function(){var q=y.queue(this,g,A);y._queueHooks(this,g),g==="fx"&&q[0]!=="inprogress"&&y.dequeue(this,g)})},dequeue:function(g){return this.each(function(){y.dequeue(this,g)})},clearQueue:function(g){return this.queue(g||"fx",[])},promise:function(g,A){var D,q=1,X=y.Deferred(),te=this,se=this.length,Pe=function(){--q||X.resolveWith(te,[te])};for(typeof g!="string"&&(A=g,g=void 0),g=g||"fx";se--;)D=Ne.get(te[se],g+"queueHooks"),D&&D.empty&&(q++,D.empty.add(Pe));return Pe(),X.promise(A)}});var _t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,vt=new RegExp("^(?:([+-])=|)("+_t+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],ot=w.documentElement,ht=function(g){return y.contains(g.ownerDocument,g)},Ht={composed:!0};ot.getRootNode&&(ht=function(g){return y.contains(g.ownerDocument,g)||g.getRootNode(Ht)===g.ownerDocument});var Ct=function(g,A){return g=A||g,g.style.display==="none"||g.style.display===""&&ht(g)&&y.css(g,"display")==="none"};function be(g,A,D,q){var X,te,se=20,Pe=q?function(){return q.cur()}:function(){return y.css(g,A,"")},Ae=Pe(),qe=D&&D[3]||(y.cssNumber[A]?"":"px"),pt=g.nodeType&&(y.cssNumber[A]||qe!=="px"&&+Ae)&&vt.exec(y.css(g,A));if(pt&&pt[3]!==qe){for(Ae=Ae/2,qe=qe||pt[3],pt=+Ae||1;se--;)y.style(g,A,pt+qe),(1-te)*(1-(te=Pe()/Ae||.5))<=0&&(se=0),pt=pt/te;pt=pt*2,y.style(g,A,pt+qe),D=D||[]}return D&&(pt=+pt||+Ae||0,X=D[1]?pt+(D[1]+1)*D[2]:+D[2],q&&(q.unit=qe,q.start=pt,q.end=X)),X}var Xe={};function at(g){var A,D=g.ownerDocument,q=g.nodeName,X=Xe[q];return X||(A=D.body.appendChild(D.createElement(q)),X=y.css(A,"display"),A.parentNode.removeChild(A),X==="none"&&(X="block"),Xe[q]=X,X)}function mt(g,A){for(var D,q,X=[],te=0,se=g.length;te<se;te++)q=g[te],q.style&&(D=q.style.display,A?(D==="none"&&(X[te]=Ne.get(q,"display")||null,X[te]||(q.style.display="")),q.style.display===""&&Ct(q)&&(X[te]=at(q))):D!=="none"&&(X[te]="none",Ne.set(q,"display",D)));for(te=0;te<se;te++)X[te]!=null&&(g[te].style.display=X[te]);return g}y.fn.extend({show:function(){return mt(this,!0)},hide:function(){return mt(this)},toggle:function(g){return typeof g=="boolean"?g?this.show():this.hide():this.each(function(){Ct(this)?y(this).show():y(this).hide()})}});var xt=/^(?:checkbox|radio)$/i,Xt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,or=/^$|^module$|\/(?:java|ecma)script/i;(function(){var g=w.createDocumentFragment(),A=g.appendChild(w.createElement("div")),D=w.createElement("input");D.setAttribute("type","radio"),D.setAttribute("checked","checked"),D.setAttribute("name","t"),A.appendChild(D),S.checkClone=A.cloneNode(!0).cloneNode(!0).lastChild.checked,A.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!A.cloneNode(!0).lastChild.defaultValue,A.innerHTML="<option></option>",S.option=!!A.lastChild})();var Kt={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,"",""]};Kt.tbody=Kt.tfoot=Kt.colgroup=Kt.caption=Kt.thead,Kt.th=Kt.td,S.option||(Kt.optgroup=Kt.option=[1,"<select multiple='multiple'>","</select>"]);function lr(g,A){var D;return typeof g.getElementsByTagName<"u"?D=g.getElementsByTagName(A||"*"):typeof g.querySelectorAll<"u"?D=g.querySelectorAll(A||"*"):D=[],A===void 0||A&&$(g,A)?y.merge([g],D):D}function Tr(g,A){for(var D=0,q=g.length;D<q;D++)Ne.set(g[D],"globalEval",!A||Ne.get(A[D],"globalEval"))}var Br=/<|&#?\w+;/;function In(g,A,D,q,X){for(var te,se,Pe,Ae,qe,pt,Et=A.createDocumentFragment(),tt=[],Pt=0,hr=g.length;Pt<hr;Pt++)if(te=g[Pt],te||te===0)if(x(te)==="object")y.merge(tt,te.nodeType?[te]:te);else if(!Br.test(te))tt.push(A.createTextNode(te));else{for(se=se||Et.appendChild(A.createElement("div")),Pe=(Xt.exec(te)||["",""])[1].toLowerCase(),Ae=Kt[Pe]||Kt._default,se.innerHTML=Ae[1]+y.htmlPrefilter(te)+Ae[2],pt=Ae[0];pt--;)se=se.lastChild;y.merge(tt,se.childNodes),se=Et.firstChild,se.textContent=""}for(Et.textContent="",Pt=0;te=tt[Pt++];){if(q&&y.inArray(te,q)>-1){X&&X.push(te);continue}if(qe=ht(te),se=lr(Et.appendChild(te),"script"),qe&&Tr(se),D)for(pt=0;te=se[pt++];)or.test(te.type||"")&&D.push(te)}return Et}var Dn=/^([^.]*)(?:\.(.+)|)/;function Bn(){return!0}function vn(){return!1}function Vn(g,A,D,q,X,te){var se,Pe;if(typeof A=="object"){typeof D!="string"&&(q=q||D,D=void 0);for(Pe in A)Vn(g,Pe,D,q,A[Pe],te);return g}if(q==null&&X==null?(X=D,q=D=void 0):X==null&&(typeof D=="string"?(X=q,q=void 0):(X=q,q=D,D=void 0)),X===!1)X=vn;else if(!X)return g;return te===1&&(se=X,X=function(Ae){return y().off(Ae),se.apply(this,arguments)},X.guid=se.guid||(se.guid=y.guid++)),g.each(function(){y.event.add(this,A,X,q,D)})}y.event={global:{},add:function(g,A,D,q,X){var te,se,Pe,Ae,qe,pt,Et,tt,Pt,hr,Vr,Ir=Ne.get(g);if(Le(g))for(D.handler&&(te=D,D=te.handler,X=te.selector),X&&y.find.matchesSelector(ot,X),D.guid||(D.guid=y.guid++),(Ae=Ir.events)||(Ae=Ir.events=Object.create(null)),(se=Ir.handle)||(se=Ir.handle=function(Yn){return typeof y<"u"&&y.event.triggered!==Yn.type?y.event.dispatch.apply(g,arguments):void 0}),A=(A||"").match(k)||[""],qe=A.length;qe--;)Pe=Dn.exec(A[qe])||[],Pt=Vr=Pe[1],hr=(Pe[2]||"").split(".").sort(),Pt&&(Et=y.event.special[Pt]||{},Pt=(X?Et.delegateType:Et.bindType)||Pt,Et=y.event.special[Pt]||{},pt=y.extend({type:Pt,origType:Vr,data:q,handler:D,guid:D.guid,selector:X,needsContext:X&&y.expr.match.needsContext.test(X),namespace:hr.join(".")},te),(tt=Ae[Pt])||(tt=Ae[Pt]=[],tt.delegateCount=0,(!Et.setup||Et.setup.call(g,q,hr,se)===!1)&&g.addEventListener&&g.addEventListener(Pt,se)),Et.add&&(Et.add.call(g,pt),pt.handler.guid||(pt.handler.guid=D.guid)),X?tt.splice(tt.delegateCount++,0,pt):tt.push(pt),y.event.global[Pt]=!0)},remove:function(g,A,D,q,X){var te,se,Pe,Ae,qe,pt,Et,tt,Pt,hr,Vr,Ir=Ne.hasData(g)&&Ne.get(g);if(!(!Ir||!(Ae=Ir.events))){for(A=(A||"").match(k)||[""],qe=A.length;qe--;){if(Pe=Dn.exec(A[qe])||[],Pt=Vr=Pe[1],hr=(Pe[2]||"").split(".").sort(),!Pt){for(Pt in Ae)y.event.remove(g,Pt+A[qe],D,q,!0);continue}for(Et=y.event.special[Pt]||{},Pt=(q?Et.delegateType:Et.bindType)||Pt,tt=Ae[Pt]||[],Pe=Pe[2]&&new RegExp("(^|\\.)"+hr.join("\\.(?:.*\\.|)")+"(\\.|$)"),se=te=tt.length;te--;)pt=tt[te],(X||Vr===pt.origType)&&(!D||D.guid===pt.guid)&&(!Pe||Pe.test(pt.namespace))&&(!q||q===pt.selector||q==="**"&&pt.selector)&&(tt.splice(te,1),pt.selector&&tt.delegateCount--,Et.remove&&Et.remove.call(g,pt));se&&!tt.length&&((!Et.teardown||Et.teardown.call(g,hr,Ir.handle)===!1)&&y.removeEvent(g,Pt,Ir.handle),delete Ae[Pt])}y.isEmptyObject(Ae)&&Ne.remove(g,"handle events")}},dispatch:function(g){var A,D,q,X,te,se,Pe=new Array(arguments.length),Ae=y.event.fix(g),qe=(Ne.get(this,"events")||Object.create(null))[Ae.type]||[],pt=y.event.special[Ae.type]||{};for(Pe[0]=Ae,A=1;A<arguments.length;A++)Pe[A]=arguments[A];if(Ae.delegateTarget=this,!(pt.preDispatch&&pt.preDispatch.call(this,Ae)===!1)){for(se=y.event.handlers.call(this,Ae,qe),A=0;(X=se[A++])&&!Ae.isPropagationStopped();)for(Ae.currentTarget=X.elem,D=0;(te=X.handlers[D++])&&!Ae.isImmediatePropagationStopped();)(!Ae.rnamespace||te.namespace===!1||Ae.rnamespace.test(te.namespace))&&(Ae.handleObj=te,Ae.data=te.data,q=((y.event.special[te.origType]||{}).handle||te.handler).apply(X.elem,Pe),q!==void 0&&(Ae.result=q)===!1&&(Ae.preventDefault(),Ae.stopPropagation()));return pt.postDispatch&&pt.postDispatch.call(this,Ae),Ae.result}},handlers:function(g,A){var D,q,X,te,se,Pe=[],Ae=A.delegateCount,qe=g.target;if(Ae&&qe.nodeType&&!(g.type==="click"&&g.button>=1)){for(;qe!==this;qe=qe.parentNode||this)if(qe.nodeType===1&&!(g.type==="click"&&qe.disabled===!0)){for(te=[],se={},D=0;D<Ae;D++)q=A[D],X=q.selector+" ",se[X]===void 0&&(se[X]=q.needsContext?y(X,this).index(qe)>-1:y.find(X,this,null,[qe]).length),se[X]&&te.push(q);te.length&&Pe.push({elem:qe,handlers:te})}}return qe=this,Ae<A.length&&Pe.push({elem:qe,handlers:A.slice(Ae)}),Pe},addProp:function(g,A){Object.defineProperty(y.Event.prototype,g,{enumerable:!0,configurable:!0,get:E(A)?function(){if(this.originalEvent)return A(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[g]},set:function(D){Object.defineProperty(this,g,{enumerable:!0,configurable:!0,writable:!0,value:D})}})},fix:function(g){return g[y.expando]?g:new y.Event(g)},special:{load:{noBubble:!0},click:{setup:function(g){var A=this||g;return xt.test(A.type)&&A.click&&$(A,"input")&&ai(A,"click",!0),!1},trigger:function(g){var A=this||g;return xt.test(A.type)&&A.click&&$(A,"input")&&ai(A,"click"),!0},_default:function(g){var A=g.target;return xt.test(A.type)&&A.click&&$(A,"input")&&Ne.get(A,"click")||$(A,"a")}},beforeunload:{postDispatch:function(g){g.result!==void 0&&g.originalEvent&&(g.originalEvent.returnValue=g.result)}}}};function ai(g,A,D){if(!D){Ne.get(g,A)===void 0&&y.event.add(g,A,Bn);return}Ne.set(g,A,!1),y.event.add(g,A,{namespace:!1,handler:function(q){var X,te=Ne.get(this,A);if(q.isTrigger&1&&this[A]){if(te)(y.event.special[A]||{}).delegateType&&q.stopPropagation();else if(te=o.call(arguments),Ne.set(this,A,te),this[A](),X=Ne.get(this,A),Ne.set(this,A,!1),te!==X)return q.stopImmediatePropagation(),q.preventDefault(),X}else te&&(Ne.set(this,A,y.event.trigger(te[0],te.slice(1),this)),q.stopPropagation(),q.isImmediatePropagationStopped=Bn)}})}y.removeEvent=function(g,A,D){g.removeEventListener&&g.removeEventListener(A,D)},y.Event=function(g,A){if(!(this instanceof y.Event))return new y.Event(g,A);g&&g.type?(this.originalEvent=g,this.type=g.type,this.isDefaultPrevented=g.defaultPrevented||g.defaultPrevented===void 0&&g.returnValue===!1?Bn:vn,this.target=g.target&&g.target.nodeType===3?g.target.parentNode:g.target,this.currentTarget=g.currentTarget,this.relatedTarget=g.relatedTarget):this.type=g,A&&y.extend(this,A),this.timeStamp=g&&g.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:vn,isPropagationStopped:vn,isImmediatePropagationStopped:vn,isSimulated:!1,preventDefault:function(){var g=this.originalEvent;this.isDefaultPrevented=Bn,g&&!this.isSimulated&&g.preventDefault()},stopPropagation:function(){var g=this.originalEvent;this.isPropagationStopped=Bn,g&&!this.isSimulated&&g.stopPropagation()},stopImmediatePropagation:function(){var g=this.originalEvent;this.isImmediatePropagationStopped=Bn,g&&!this.isSimulated&&g.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(g,A){function D(q){if(w.documentMode){var X=Ne.get(this,"handle"),te=y.event.fix(q);te.type=q.type==="focusin"?"focus":"blur",te.isSimulated=!0,X(q),te.target===te.currentTarget&&X(te)}else y.event.simulate(A,q.target,y.event.fix(q))}y.event.special[g]={setup:function(){var q;if(ai(this,g,!0),w.documentMode)q=Ne.get(this,A),q||this.addEventListener(A,D),Ne.set(this,A,(q||0)+1);else return!1},trigger:function(){return ai(this,g),!0},teardown:function(){var q;if(w.documentMode)q=Ne.get(this,A)-1,q?Ne.set(this,A,q):(this.removeEventListener(A,D),Ne.remove(this,A));else return!1},_default:function(q){return Ne.get(q.target,g)},delegateType:A},y.event.special[A]={setup:function(){var q=this.ownerDocument||this.document||this,X=w.documentMode?this:q,te=Ne.get(X,A);te||(w.documentMode?this.addEventListener(A,D):q.addEventListener(g,D,!0)),Ne.set(X,A,(te||0)+1)},teardown:function(){var q=this.ownerDocument||this.document||this,X=w.documentMode?this:q,te=Ne.get(X,A)-1;te?Ne.set(X,A,te):(w.documentMode?this.removeEventListener(A,D):q.removeEventListener(g,D,!0),Ne.remove(X,A))}}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(g,A){y.event.special[g]={delegateType:A,bindType:A,handle:function(D){var q,X=this,te=D.relatedTarget,se=D.handleObj;return(!te||te!==X&&!y.contains(X,te))&&(D.type=se.origType,q=se.handler.apply(this,arguments),D.type=A),q}}}),y.fn.extend({on:function(g,A,D,q){return Vn(this,g,A,D,q)},one:function(g,A,D,q){return Vn(this,g,A,D,q,1)},off:function(g,A,D){var q,X;if(g&&g.preventDefault&&g.handleObj)return q=g.handleObj,y(g.delegateTarget).off(q.namespace?q.origType+"."+q.namespace:q.origType,q.selector,q.handler),this;if(typeof g=="object"){for(X in g)this.off(X,A,g[X]);return this}return(A===!1||typeof A=="function")&&(D=A,A=void 0),D===!1&&(D=vn),this.each(function(){y.event.remove(this,g,D,A)})}});var oi=/<script|<style|<link/i,Kn=/checked\s*(?:[^=]|=\s*.checked.)/i,wi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function bi(g,A){return $(g,"table")&&$(A.nodeType!==11?A:A.firstChild,"tr")&&y(g).children("tbody")[0]||g}function gn(g){return g.type=(g.getAttribute("type")!==null)+"/"+g.type,g}function $n(g){return(g.type||"").slice(0,5)==="true/"?g.type=g.type.slice(5):g.removeAttribute("type"),g}function vi(g,A){var D,q,X,te,se,Pe,Ae;if(A.nodeType===1){if(Ne.hasData(g)&&(te=Ne.get(g),Ae=te.events,Ae)){Ne.remove(A,"handle events");for(X in Ae)for(D=0,q=Ae[X].length;D<q;D++)y.event.add(A,X,Ae[X][D])}Ge.hasData(g)&&(se=Ge.access(g),Pe=y.extend({},se),Ge.set(A,Pe))}}function Ii(g,A){var D=A.nodeName.toLowerCase();D==="input"&&xt.test(g.type)?A.checked=g.checked:(D==="input"||D==="textarea")&&(A.defaultValue=g.defaultValue)}function et(g,A,D,q){A=a(A);var X,te,se,Pe,Ae,qe,pt=0,Et=g.length,tt=Et-1,Pt=A[0],hr=E(Pt);if(hr||Et>1&&typeof Pt=="string"&&!S.checkClone&&Kn.test(Pt))return g.each(function(Vr){var Ir=g.eq(Vr);hr&&(A[0]=Pt.call(this,Vr,Ir.html())),et(Ir,A,D,q)});if(Et&&(X=In(A,g[0].ownerDocument,!1,g,q),te=X.firstChild,X.childNodes.length===1&&(X=te),te||q)){for(se=y.map(lr(X,"script"),gn),Pe=se.length;pt<Et;pt++)Ae=X,pt!==tt&&(Ae=y.clone(Ae,!0,!0),Pe&&y.merge(se,lr(Ae,"script"))),D.call(g[pt],Ae,pt);if(Pe)for(qe=se[se.length-1].ownerDocument,y.map(se,$n),pt=0;pt<Pe;pt++)Ae=se[pt],or.test(Ae.type||"")&&!Ne.access(Ae,"globalEval")&&y.contains(qe,Ae)&&(Ae.src&&(Ae.type||"").toLowerCase()!=="module"?y._evalUrl&&!Ae.noModule&&y._evalUrl(Ae.src,{nonce:Ae.nonce||Ae.getAttribute("nonce")},qe):C(Ae.textContent.replace(wi,""),Ae,qe))}return g}function At(g,A,D){for(var q,X=A?y.filter(A,g):g,te=0;(q=X[te])!=null;te++)!D&&q.nodeType===1&&y.cleanData(lr(q)),q.parentNode&&(D&&ht(q)&&Tr(lr(q,"script")),q.parentNode.removeChild(q));return g}y.extend({htmlPrefilter:function(g){return g},clone:function(g,A,D){var q,X,te,se,Pe=g.cloneNode(!0),Ae=ht(g);if(!S.noCloneChecked&&(g.nodeType===1||g.nodeType===11)&&!y.isXMLDoc(g))for(se=lr(Pe),te=lr(g),q=0,X=te.length;q<X;q++)Ii(te[q],se[q]);if(A)if(D)for(te=te||lr(g),se=se||lr(Pe),q=0,X=te.length;q<X;q++)vi(te[q],se[q]);else vi(g,Pe);return se=lr(Pe,"script"),se.length>0&&Tr(se,!Ae&&lr(g,"script")),Pe},cleanData:function(g){for(var A,D,q,X=y.event.special,te=0;(D=g[te])!==void 0;te++)if(Le(D)){if(A=D[Ne.expando]){if(A.events)for(q in A.events)X[q]?y.event.remove(D,q):y.removeEvent(D,q,A.handle);D[Ne.expando]=void 0}D[Ge.expando]&&(D[Ge.expando]=void 0)}}}),y.fn.extend({detach:function(g){return At(this,g,!0)},remove:function(g){return At(this,g)},text:function(g){return xe(this,function(A){return A===void 0?y.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=A)})},null,g,arguments.length)},append:function(){return et(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=bi(this,g);A.appendChild(g)}})},prepend:function(){return et(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=bi(this,g);A.insertBefore(g,A.firstChild)}})},before:function(){return et(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this)})},after:function(){return et(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this.nextSibling)})},empty:function(){for(var g,A=0;(g=this[A])!=null;A++)g.nodeType===1&&(y.cleanData(lr(g,!1)),g.textContent="");return this},clone:function(g,A){return g=g??!1,A=A??g,this.map(function(){return y.clone(this,g,A)})},html:function(g){return xe(this,function(A){var D=this[0]||{},q=0,X=this.length;if(A===void 0&&D.nodeType===1)return D.innerHTML;if(typeof A=="string"&&!oi.test(A)&&!Kt[(Xt.exec(A)||["",""])[1].toLowerCase()]){A=y.htmlPrefilter(A);try{for(;q<X;q++)D=this[q]||{},D.nodeType===1&&(y.cleanData(lr(D,!1)),D.innerHTML=A);D=0}catch{}}D&&this.empty().append(A)},null,g,arguments.length)},replaceWith:function(){var g=[];return et(this,arguments,function(A){var D=this.parentNode;y.inArray(this,g)<0&&(y.cleanData(lr(this)),D&&D.replaceChild(A,this))},g)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(g,A){y.fn[g]=function(D){for(var q,X=[],te=y(D),se=te.length-1,Pe=0;Pe<=se;Pe++)q=Pe===se?this:this.clone(!0),y(te[Pe])[A](q),u.apply(X,q.get());return this.pushStack(X)}});var ct=new RegExp("^("+_t+")(?!px)[a-z%]+$","i"),We=/^--/,oe=function(g){var A=g.ownerDocument.defaultView;return(!A||!A.opener)&&(A=t),A.getComputedStyle(g)},Je=function(g,A,D){var q,X,te={};for(X in A)te[X]=g.style[X],g.style[X]=A[X];q=D.call(g);for(X in A)g.style[X]=te[X];return q},Ue=new RegExp(rt.join("|"),"i");(function(){function g(){if(qe){Ae.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",qe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(Ae).appendChild(qe);var pt=t.getComputedStyle(qe);D=pt.top!=="1%",Pe=A(pt.marginLeft)===12,qe.style.right="60%",te=A(pt.right)===36,q=A(pt.width)===36,qe.style.position="absolute",X=A(qe.offsetWidth/3)===12,ot.removeChild(Ae),qe=null}}function A(pt){return Math.round(parseFloat(pt))}var D,q,X,te,se,Pe,Ae=w.createElement("div"),qe=w.createElement("div");qe.style&&(qe.style.backgroundClip="content-box",qe.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=qe.style.backgroundClip==="content-box",y.extend(S,{boxSizingReliable:function(){return g(),q},pixelBoxStyles:function(){return g(),te},pixelPosition:function(){return g(),D},reliableMarginLeft:function(){return g(),Pe},scrollboxSize:function(){return g(),X},reliableTrDimensions:function(){var pt,Et,tt,Pt;return se==null&&(pt=w.createElement("table"),Et=w.createElement("tr"),tt=w.createElement("div"),pt.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Et.style.cssText="box-sizing:content-box;border:1px solid",Et.style.height="1px",tt.style.height="9px",tt.style.display="block",ot.appendChild(pt).appendChild(Et).appendChild(tt),Pt=t.getComputedStyle(Et),se=parseInt(Pt.height,10)+parseInt(Pt.borderTopWidth,10)+parseInt(Pt.borderBottomWidth,10)===Et.offsetHeight,ot.removeChild(pt)),se}}))})();function yt(g,A,D){var q,X,te,se,Pe=We.test(A),Ae=g.style;return D=D||oe(g),D&&(se=D.getPropertyValue(A)||D[A],Pe&&se&&(se=se.replace(Q,"$1")||void 0),se===""&&!ht(g)&&(se=y.style(g,A)),!S.pixelBoxStyles()&&ct.test(se)&&Ue.test(A)&&(q=Ae.width,X=Ae.minWidth,te=Ae.maxWidth,Ae.minWidth=Ae.maxWidth=Ae.width=se,se=D.width,Ae.width=q,Ae.minWidth=X,Ae.maxWidth=te)),se!==void 0?se+"":se}function ft(g,A){return{get:function(){if(g()){delete this.get;return}return(this.get=A).apply(this,arguments)}}}var zt=["Webkit","Moz","ms"],jt=w.createElement("div").style,gt={};function dr(g){for(var A=g[0].toUpperCase()+g.slice(1),D=zt.length;D--;)if(g=zt[D]+A,g in jt)return g}function Nr(g){var A=y.cssProps[g]||gt[g];return A||(g in jt?g:gt[g]=dr(g)||g)}var mn=/^(none|table(?!-c[ea]).+)/,Rt={position:"absolute",visibility:"hidden",display:"block"},$r={letterSpacing:"0",fontWeight:"400"};function Ln(g,A,D){var q=vt.exec(A);return q?Math.max(0,q[2]-(D||0))+(q[3]||"px"):A}function bn(g,A,D,q,X,te){var se=A==="width"?1:0,Pe=0,Ae=0,qe=0;if(D===(q?"border":"content"))return 0;for(;se<4;se+=2)D==="margin"&&(qe+=y.css(g,D+rt[se],!0,X)),q?(D==="content"&&(Ae-=y.css(g,"padding"+rt[se],!0,X)),D!=="margin"&&(Ae-=y.css(g,"border"+rt[se]+"Width",!0,X))):(Ae+=y.css(g,"padding"+rt[se],!0,X),D!=="padding"?Ae+=y.css(g,"border"+rt[se]+"Width",!0,X):Pe+=y.css(g,"border"+rt[se]+"Width",!0,X));return!q&&te>=0&&(Ae+=Math.max(0,Math.ceil(g["offset"+A[0].toUpperCase()+A.slice(1)]-te-Ae-Pe-.5))||0),Ae+qe}function uo(g,A,D){var q=oe(g),X=!S.boxSizingReliable()||D,te=X&&y.css(g,"boxSizing",!1,q)==="border-box",se=te,Pe=yt(g,A,q),Ae="offset"+A[0].toUpperCase()+A.slice(1);if(ct.test(Pe)){if(!D)return Pe;Pe="auto"}return(!S.boxSizingReliable()&&te||!S.reliableTrDimensions()&&$(g,"tr")||Pe==="auto"||!parseFloat(Pe)&&y.css(g,"display",!1,q)==="inline")&&g.getClientRects().length&&(te=y.css(g,"boxSizing",!1,q)==="border-box",se=Ae in g,se&&(Pe=g[Ae])),Pe=parseFloat(Pe)||0,Pe+bn(g,A,D||(te?"border":"content"),se,q,Pe)+"px"}y.extend({cssHooks:{opacity:{get:function(g,A){if(A){var D=yt(g,"opacity");return D===""?"1":D}}}},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(g,A,D,q){if(!(!g||g.nodeType===3||g.nodeType===8||!g.style)){var X,te,se,Pe=_e(A),Ae=We.test(A),qe=g.style;if(Ae||(A=Nr(Pe)),se=y.cssHooks[A]||y.cssHooks[Pe],D!==void 0){if(te=typeof D,te==="string"&&(X=vt.exec(D))&&X[1]&&(D=be(g,A,X),te="number"),D==null||D!==D)return;te==="number"&&!Ae&&(D+=X&&X[3]||(y.cssNumber[Pe]?"":"px")),!S.clearCloneStyle&&D===""&&A.indexOf("background")===0&&(qe[A]="inherit"),(!se||!("set"in se)||(D=se.set(g,D,q))!==void 0)&&(Ae?qe.setProperty(A,D):qe[A]=D)}else return se&&"get"in se&&(X=se.get(g,!1,q))!==void 0?X:qe[A]}},css:function(g,A,D,q){var X,te,se,Pe=_e(A),Ae=We.test(A);return Ae||(A=Nr(Pe)),se=y.cssHooks[A]||y.cssHooks[Pe],se&&"get"in se&&(X=se.get(g,!0,D)),X===void 0&&(X=yt(g,A,q)),X==="normal"&&A in $r&&(X=$r[A]),D===""||D?(te=parseFloat(X),D===!0||isFinite(te)?te||0:X):X}}),y.each(["height","width"],function(g,A){y.cssHooks[A]={get:function(D,q,X){if(q)return mn.test(y.css(D,"display"))&&(!D.getClientRects().length||!D.getBoundingClientRect().width)?Je(D,Rt,function(){return uo(D,A,X)}):uo(D,A,X)},set:function(D,q,X){var te,se=oe(D),Pe=!S.scrollboxSize()&&se.position==="absolute",Ae=Pe||X,qe=Ae&&y.css(D,"boxSizing",!1,se)==="border-box",pt=X?bn(D,A,X,qe,se):0;return qe&&Pe&&(pt-=Math.ceil(D["offset"+A[0].toUpperCase()+A.slice(1)]-parseFloat(se[A])-bn(D,A,"border",!1,se)-.5)),pt&&(te=vt.exec(q))&&(te[3]||"px")!=="px"&&(D.style[A]=q,q=y.css(D,A)),Ln(D,q,pt)}}}),y.cssHooks.marginLeft=ft(S.reliableMarginLeft,function(g,A){if(A)return(parseFloat(yt(g,"marginLeft"))||g.getBoundingClientRect().left-Je(g,{marginLeft:0},function(){return g.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function(g,A){y.cssHooks[g+A]={expand:function(D){for(var q=0,X={},te=typeof D=="string"?D.split(" "):[D];q<4;q++)X[g+rt[q]+A]=te[q]||te[q-2]||te[0];return X}},g!=="margin"&&(y.cssHooks[g+A].set=Ln)}),y.fn.extend({css:function(g,A){return xe(this,function(D,q,X){var te,se,Pe={},Ae=0;if(Array.isArray(q)){for(te=oe(D),se=q.length;Ae<se;Ae++)Pe[q[Ae]]=y.css(D,q[Ae],!1,te);return Pe}return X!==void 0?y.style(D,q,X):y.css(D,q)},g,A,arguments.length>1)}});function Hn(g,A,D,q,X){return new Hn.prototype.init(g,A,D,q,X)}y.Tween=Hn,Hn.prototype={constructor:Hn,init:function(g,A,D,q,X,te){this.elem=g,this.prop=D,this.easing=X||y.easing._default,this.options=A,this.start=this.now=this.cur(),this.end=q,this.unit=te||(y.cssNumber[D]?"":"px")},cur:function(){var g=Hn.propHooks[this.prop];return g&&g.get?g.get(this):Hn.propHooks._default.get(this)},run:function(g){var A,D=Hn.propHooks[this.prop];return this.options.duration?this.pos=A=y.easing[this.easing](g,this.options.duration*g,0,1,this.options.duration):this.pos=A=g,this.now=(this.end-this.start)*A+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),D&&D.set?D.set(this):Hn.propHooks._default.set(this),this}},Hn.prototype.init.prototype=Hn.prototype,Hn.propHooks={_default:{get:function(g){var A;return g.elem.nodeType!==1||g.elem[g.prop]!=null&&g.elem.style[g.prop]==null?g.elem[g.prop]:(A=y.css(g.elem,g.prop,""),!A||A==="auto"?0:A)},set:function(g){y.fx.step[g.prop]?y.fx.step[g.prop](g):g.elem.nodeType===1&&(y.cssHooks[g.prop]||g.elem.style[Nr(g.prop)]!=null)?y.style(g.elem,g.prop,g.now+g.unit):g.elem[g.prop]=g.now}}},Hn.propHooks.scrollTop=Hn.propHooks.scrollLeft={set:function(g){g.elem.nodeType&&g.elem.parentNode&&(g.elem[g.prop]=g.now)}},y.easing={linear:function(g){return g},swing:function(g){return .5-Math.cos(g*Math.PI)/2},_default:"swing"},y.fx=Hn.prototype.init,y.fx.step={};var Ni,ua,Lo=/^(?:toggle|show|hide)$/,ja=/queueHooks$/;function Sa(){ua&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Sa):t.setTimeout(Sa,y.fx.interval),y.fx.tick())}function F(){return t.setTimeout(function(){Ni=void 0}),Ni=Date.now()}function Z(g,A){var D,q=0,X={height:g};for(A=A?1:0;q<4;q+=2-A)D=rt[q],X["margin"+D]=X["padding"+D]=g;return A&&(X.opacity=X.width=g),X}function pe(g,A,D){for(var q,X=(Qe.tweeners[A]||[]).concat(Qe.tweeners["*"]),te=0,se=X.length;te<se;te++)if(q=X[te].call(D,A,g))return q}function ke(g,A,D){var q,X,te,se,Pe,Ae,qe,pt,Et="width"in A||"height"in A,tt=this,Pt={},hr=g.style,Vr=g.nodeType&&Ct(g),Ir=Ne.get(g,"fxshow");D.queue||(se=y._queueHooks(g,"fx"),se.unqueued==null&&(se.unqueued=0,Pe=se.empty.fire,se.empty.fire=function(){se.unqueued||Pe()}),se.unqueued++,tt.always(function(){tt.always(function(){se.unqueued--,y.queue(g,"fx").length||se.empty.fire()})}));for(q in A)if(X=A[q],Lo.test(X)){if(delete A[q],te=te||X==="toggle",X===(Vr?"hide":"show"))if(X==="show"&&Ir&&Ir[q]!==void 0)Vr=!0;else continue;Pt[q]=Ir&&Ir[q]||y.style(g,q)}if(Ae=!y.isEmptyObject(A),!(!Ae&&y.isEmptyObject(Pt))){Et&&g.nodeType===1&&(D.overflow=[hr.overflow,hr.overflowX,hr.overflowY],qe=Ir&&Ir.display,qe==null&&(qe=Ne.get(g,"display")),pt=y.css(g,"display"),pt==="none"&&(qe?pt=qe:(mt([g],!0),qe=g.style.display||qe,pt=y.css(g,"display"),mt([g]))),(pt==="inline"||pt==="inline-block"&&qe!=null)&&y.css(g,"float")==="none"&&(Ae||(tt.done(function(){hr.display=qe}),qe==null&&(pt=hr.display,qe=pt==="none"?"":pt)),hr.display="inline-block")),D.overflow&&(hr.overflow="hidden",tt.always(function(){hr.overflow=D.overflow[0],hr.overflowX=D.overflow[1],hr.overflowY=D.overflow[2]})),Ae=!1;for(q in Pt)Ae||(Ir?"hidden"in Ir&&(Vr=Ir.hidden):Ir=Ne.access(g,"fxshow",{display:qe}),te&&(Ir.hidden=!Vr),Vr&&mt([g],!0),tt.done(function(){Vr||mt([g]),Ne.remove(g,"fxshow");for(q in Pt)y.style(g,q,Pt[q])})),Ae=pe(Vr?Ir[q]:0,q,tt),q in Ir||(Ir[q]=Ae.start,Vr&&(Ae.end=Ae.start,Ae.start=0))}}function ut(g,A){var D,q,X,te,se;for(D in g)if(q=_e(D),X=A[q],te=g[D],Array.isArray(te)&&(X=te[1],te=g[D]=te[0]),D!==q&&(g[q]=te,delete g[D]),se=y.cssHooks[q],se&&"expand"in se){te=se.expand(te),delete g[q];for(D in te)D in g||(g[D]=te[D],A[D]=X)}else A[q]=X}function Qe(g,A,D){var q,X,te=0,se=Qe.prefilters.length,Pe=y.Deferred().always(function(){delete Ae.elem}),Ae=function(){if(X)return!1;for(var Et=Ni||F(),tt=Math.max(0,qe.startTime+qe.duration-Et),Pt=tt/qe.duration||0,hr=1-Pt,Vr=0,Ir=qe.tweens.length;Vr<Ir;Vr++)qe.tweens[Vr].run(hr);return Pe.notifyWith(g,[qe,hr,tt]),hr<1&&Ir?tt:(Ir||Pe.notifyWith(g,[qe,1,0]),Pe.resolveWith(g,[qe]),!1)},qe=Pe.promise({elem:g,props:y.extend({},A),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},D),originalProperties:A,originalOptions:D,startTime:Ni||F(),duration:D.duration,tweens:[],createTween:function(Et,tt){var Pt=y.Tween(g,qe.opts,Et,tt,qe.opts.specialEasing[Et]||qe.opts.easing);return qe.tweens.push(Pt),Pt},stop:function(Et){var tt=0,Pt=Et?qe.tweens.length:0;if(X)return this;for(X=!0;tt<Pt;tt++)qe.tweens[tt].run(1);return Et?(Pe.notifyWith(g,[qe,1,0]),Pe.resolveWith(g,[qe,Et])):Pe.rejectWith(g,[qe,Et]),this}}),pt=qe.props;for(ut(pt,qe.opts.specialEasing);te<se;te++)if(q=Qe.prefilters[te].call(qe,g,pt,qe.opts),q)return E(q.stop)&&(y._queueHooks(qe.elem,qe.opts.queue).stop=q.stop.bind(q)),q;return y.map(pt,pe,qe),E(qe.opts.start)&&qe.opts.start.call(g,qe),qe.progress(qe.opts.progress).done(qe.opts.done,qe.opts.complete).fail(qe.opts.fail).always(qe.opts.always),y.fx.timer(y.extend(Ae,{elem:g,anim:qe,queue:qe.opts.queue})),qe}y.Animation=y.extend(Qe,{tweeners:{"*":[function(g,A){var D=this.createTween(g,A);return be(D.elem,g,vt.exec(A),D),D}]},tweener:function(g,A){E(g)?(A=g,g=["*"]):g=g.match(k);for(var D,q=0,X=g.length;q<X;q++)D=g[q],Qe.tweeners[D]=Qe.tweeners[D]||[],Qe.tweeners[D].unshift(A)},prefilters:[ke],prefilter:function(g,A){A?Qe.prefilters.unshift(g):Qe.prefilters.push(g)}}),y.speed=function(g,A,D){var q=g&&typeof g=="object"?y.extend({},g):{complete:D||!D&&A||E(g)&&g,duration:g,easing:D&&A||A&&!E(A)&&A};return y.fx.off?q.duration=0:typeof q.duration!="number"&&(q.duration in y.fx.speeds?q.duration=y.fx.speeds[q.duration]:q.duration=y.fx.speeds._default),(q.queue==null||q.queue===!0)&&(q.queue="fx"),q.old=q.complete,q.complete=function(){E(q.old)&&q.old.call(this),q.queue&&y.dequeue(this,q.queue)},q},y.fn.extend({fadeTo:function(g,A,D,q){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:A},g,D,q)},animate:function(g,A,D,q){var X=y.isEmptyObject(g),te=y.speed(A,D,q),se=function(){var Pe=Qe(this,y.extend({},g),te);(X||Ne.get(this,"finish"))&&Pe.stop(!0)};return se.finish=se,X||te.queue===!1?this.each(se):this.queue(te.queue,se)},stop:function(g,A,D){var q=function(X){var te=X.stop;delete X.stop,te(D)};return typeof g!="string"&&(D=A,A=g,g=void 0),A&&this.queue(g||"fx",[]),this.each(function(){var X=!0,te=g!=null&&g+"queueHooks",se=y.timers,Pe=Ne.get(this);if(te)Pe[te]&&Pe[te].stop&&q(Pe[te]);else for(te in Pe)Pe[te]&&Pe[te].stop&&ja.test(te)&&q(Pe[te]);for(te=se.length;te--;)se[te].elem===this&&(g==null||se[te].queue===g)&&(se[te].anim.stop(D),X=!1,se.splice(te,1));(X||!D)&&y.dequeue(this,g)})},finish:function(g){return g!==!1&&(g=g||"fx"),this.each(function(){var A,D=Ne.get(this),q=D[g+"queue"],X=D[g+"queueHooks"],te=y.timers,se=q?q.length:0;for(D.finish=!0,y.queue(this,g,[]),X&&X.stop&&X.stop.call(this,!0),A=te.length;A--;)te[A].elem===this&&te[A].queue===g&&(te[A].anim.stop(!0),te.splice(A,1));for(A=0;A<se;A++)q[A]&&q[A].finish&&q[A].finish.call(this);delete D.finish})}}),y.each(["toggle","show","hide"],function(g,A){var D=y.fn[A];y.fn[A]=function(q,X,te){return q==null||typeof q=="boolean"?D.apply(this,arguments):this.animate(Z(A,!0),q,X,te)}}),y.each({slideDown:Z("show"),slideUp:Z("hide"),slideToggle:Z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(g,A){y.fn[g]=function(D,q,X){return this.animate(A,D,q,X)}}),y.timers=[],y.fx.tick=function(){var g,A=0,D=y.timers;for(Ni=Date.now();A<D.length;A++)g=D[A],!g()&&D[A]===g&&D.splice(A--,1);D.length||y.fx.stop(),Ni=void 0},y.fx.timer=function(g){y.timers.push(g),y.fx.start()},y.fx.interval=13,y.fx.start=function(){ua||(ua=!0,Sa())},y.fx.stop=function(){ua=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(g,A){return g=y.fx&&y.fx.speeds[g]||g,A=A||"fx",this.queue(A,function(D,q){var X=t.setTimeout(D,g);q.stop=function(){t.clearTimeout(X)}})},(function(){var g=w.createElement("input"),A=w.createElement("select"),D=A.appendChild(w.createElement("option"));g.type="checkbox",S.checkOn=g.value!=="",S.optSelected=D.selected,g=w.createElement("input"),g.value="t",g.type="radio",S.radioValue=g.value==="t"})();var Tt,$t=y.expr.attrHandle;y.fn.extend({attr:function(g,A){return xe(this,y.attr,g,A,arguments.length>1)},removeAttr:function(g){return this.each(function(){y.removeAttr(this,g)})}}),y.extend({attr:function(g,A,D){var q,X,te=g.nodeType;if(!(te===3||te===8||te===2)){if(typeof g.getAttribute>"u")return y.prop(g,A,D);if((te!==1||!y.isXMLDoc(g))&&(X=y.attrHooks[A.toLowerCase()]||(y.expr.match.bool.test(A)?Tt:void 0)),D!==void 0){if(D===null){y.removeAttr(g,A);return}return X&&"set"in X&&(q=X.set(g,D,A))!==void 0?q:(g.setAttribute(A,D+""),D)}return X&&"get"in X&&(q=X.get(g,A))!==null?q:(q=y.find.attr(g,A),q??void 0)}},attrHooks:{type:{set:function(g,A){if(!S.radioValue&&A==="radio"&&$(g,"input")){var D=g.value;return g.setAttribute("type",A),D&&(g.value=D),A}}}},removeAttr:function(g,A){var D,q=0,X=A&&A.match(k);if(X&&g.nodeType===1)for(;D=X[q++];)g.removeAttribute(D)}}),Tt={set:function(g,A,D){return A===!1?y.removeAttr(g,D):g.setAttribute(D,D),D}},y.each(y.expr.match.bool.source.match(/\w+/g),function(g,A){var D=$t[A]||y.find.attr;$t[A]=function(q,X,te){var se,Pe,Ae=X.toLowerCase();return te||(Pe=$t[Ae],$t[Ae]=se,se=D(q,X,te)!=null?Ae:null,$t[Ae]=Pe),se}});var Ut=/^(?:input|select|textarea|button)$/i,Dr=/^(?:a|area)$/i;y.fn.extend({prop:function(g,A){return xe(this,y.prop,g,A,arguments.length>1)},removeProp:function(g){return this.each(function(){delete this[y.propFix[g]||g]})}}),y.extend({prop:function(g,A,D){var q,X,te=g.nodeType;if(!(te===3||te===8||te===2))return(te!==1||!y.isXMLDoc(g))&&(A=y.propFix[A]||A,X=y.propHooks[A]),D!==void 0?X&&"set"in X&&(q=X.set(g,D,A))!==void 0?q:g[A]=D:X&&"get"in X&&(q=X.get(g,A))!==null?q:g[A]},propHooks:{tabIndex:{get:function(g){var A=y.find.attr(g,"tabindex");return A?parseInt(A,10):Ut.test(g.nodeName)||Dr.test(g.nodeName)&&g.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(y.propHooks.selected={get:function(g){var A=g.parentNode;return A&&A.parentNode&&A.parentNode.selectedIndex,null},set:function(g){var A=g.parentNode;A&&(A.selectedIndex,A.parentNode&&A.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});function Or(g){var A=g.match(k)||[];return A.join(" ")}function Tn(g){return g.getAttribute&&g.getAttribute("class")||""}function si(g){return Array.isArray(g)?g:typeof g=="string"?g.match(k)||[]:[]}y.fn.extend({addClass:function(g){var A,D,q,X,te,se;return E(g)?this.each(function(Pe){y(this).addClass(g.call(this,Pe,Tn(this)))}):(A=si(g),A.length?this.each(function(){if(q=Tn(this),D=this.nodeType===1&&" "+Or(q)+" ",D){for(te=0;te<A.length;te++)X=A[te],D.indexOf(" "+X+" ")<0&&(D+=X+" ");se=Or(D),q!==se&&this.setAttribute("class",se)}}):this)},removeClass:function(g){var A,D,q,X,te,se;return E(g)?this.each(function(Pe){y(this).removeClass(g.call(this,Pe,Tn(this)))}):arguments.length?(A=si(g),A.length?this.each(function(){if(q=Tn(this),D=this.nodeType===1&&" "+Or(q)+" ",D){for(te=0;te<A.length;te++)for(X=A[te];D.indexOf(" "+X+" ")>-1;)D=D.replace(" "+X+" "," ");se=Or(D),q!==se&&this.setAttribute("class",se)}}):this):this.attr("class","")},toggleClass:function(g,A){var D,q,X,te,se=typeof g,Pe=se==="string"||Array.isArray(g);return E(g)?this.each(function(Ae){y(this).toggleClass(g.call(this,Ae,Tn(this),A),A)}):typeof A=="boolean"&&Pe?A?this.addClass(g):this.removeClass(g):(D=si(g),this.each(function(){if(Pe)for(te=y(this),X=0;X<D.length;X++)q=D[X],te.hasClass(q)?te.removeClass(q):te.addClass(q);else(g===void 0||se==="boolean")&&(q=Tn(this),q&&Ne.set(this,"__className__",q),this.setAttribute&&this.setAttribute("class",q||g===!1?"":Ne.get(this,"__className__")||""))}))},hasClass:function(g){var A,D,q=0;for(A=" "+g+" ";D=this[q++];)if(D.nodeType===1&&(" "+Or(Tn(D))+" ").indexOf(A)>-1)return!0;return!1}});var gi=/\r/g;y.fn.extend({val:function(g){var A,D,q,X=this[0];return arguments.length?(q=E(g),this.each(function(te){var se;this.nodeType===1&&(q?se=g.call(this,te,y(this).val()):se=g,se==null?se="":typeof se=="number"?se+="":Array.isArray(se)&&(se=y.map(se,function(Pe){return Pe==null?"":Pe+""})),A=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()],(!A||!("set"in A)||A.set(this,se,"value")===void 0)&&(this.value=se))})):X?(A=y.valHooks[X.type]||y.valHooks[X.nodeName.toLowerCase()],A&&"get"in A&&(D=A.get(X,"value"))!==void 0?D:(D=X.value,typeof D=="string"?D.replace(gi,""):D??"")):void 0}}),y.extend({valHooks:{option:{get:function(g){var A=y.find.attr(g,"value");return A??Or(y.text(g))}},select:{get:function(g){var A,D,q,X=g.options,te=g.selectedIndex,se=g.type==="select-one",Pe=se?null:[],Ae=se?te+1:X.length;for(te<0?q=Ae:q=se?te:0;q<Ae;q++)if(D=X[q],(D.selected||q===te)&&!D.disabled&&(!D.parentNode.disabled||!$(D.parentNode,"optgroup"))){if(A=y(D).val(),se)return A;Pe.push(A)}return Pe},set:function(g,A){for(var D,q,X=g.options,te=y.makeArray(A),se=X.length;se--;)q=X[se],(q.selected=y.inArray(y.valHooks.option.get(q),te)>-1)&&(D=!0);return D||(g.selectedIndex=-1),te}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(g,A){if(Array.isArray(A))return g.checked=y.inArray(y(g).val(),A)>-1}},S.checkOn||(y.valHooks[this].get=function(g){return g.getAttribute("value")===null?"on":g.value})});var es=t.location,_u={guid:Date.now()},ts=/\?/;y.parseXML=function(g){var A,D;if(!g||typeof g!="string")return null;try{A=new t.DOMParser().parseFromString(g,"text/xml")}catch{}return D=A&&A.getElementsByTagName("parsererror")[0],(!A||D)&&y.error("Invalid XML: "+(D?y.map(D.childNodes,function(q){return q.textContent}).join(`
16
+ `):g)),A};var Ua=/^(?:focusinfocus|focusoutblur)$/,ui=function(g){g.stopPropagation()};y.extend(y.event,{trigger:function(g,A,D,q){var X,te,se,Pe,Ae,qe,pt,Et,tt=[D||w],Pt=h.call(g,"type")?g.type:g,hr=h.call(g,"namespace")?g.namespace.split("."):[];if(te=Et=se=D=D||w,!(D.nodeType===3||D.nodeType===8)&&!Ua.test(Pt+y.event.triggered)&&(Pt.indexOf(".")>-1&&(hr=Pt.split("."),Pt=hr.shift(),hr.sort()),Ae=Pt.indexOf(":")<0&&"on"+Pt,g=g[y.expando]?g:new y.Event(Pt,typeof g=="object"&&g),g.isTrigger=q?2:3,g.namespace=hr.join("."),g.rnamespace=g.namespace?new RegExp("(^|\\.)"+hr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,g.result=void 0,g.target||(g.target=D),A=A==null?[g]:y.makeArray(A,[g]),pt=y.event.special[Pt]||{},!(!q&&pt.trigger&&pt.trigger.apply(D,A)===!1))){if(!q&&!pt.noBubble&&!_(D)){for(Pe=pt.delegateType||Pt,Ua.test(Pe+Pt)||(te=te.parentNode);te;te=te.parentNode)tt.push(te),se=te;se===(D.ownerDocument||w)&&tt.push(se.defaultView||se.parentWindow||t)}for(X=0;(te=tt[X++])&&!g.isPropagationStopped();)Et=te,g.type=X>1?Pe:pt.bindType||Pt,qe=(Ne.get(te,"events")||Object.create(null))[g.type]&&Ne.get(te,"handle"),qe&&qe.apply(te,A),qe=Ae&&te[Ae],qe&&qe.apply&&Le(te)&&(g.result=qe.apply(te,A),g.result===!1&&g.preventDefault());return g.type=Pt,!q&&!g.isDefaultPrevented()&&(!pt._default||pt._default.apply(tt.pop(),A)===!1)&&Le(D)&&Ae&&E(D[Pt])&&!_(D)&&(se=D[Ae],se&&(D[Ae]=null),y.event.triggered=Pt,g.isPropagationStopped()&&Et.addEventListener(Pt,ui),D[Pt](),g.isPropagationStopped()&&Et.removeEventListener(Pt,ui),y.event.triggered=void 0,se&&(D[Ae]=se)),g.result}},simulate:function(g,A,D){var q=y.extend(new y.Event,D,{type:g,isSimulated:!0});y.event.trigger(q,null,A)}}),y.fn.extend({trigger:function(g,A){return this.each(function(){y.event.trigger(g,A,this)})},triggerHandler:function(g,A){var D=this[0];if(D)return y.event.trigger(g,A,D,!0)}});var wa=/\[\]$/,qa=/\r?\n/g,Zr=/^(?:submit|button|image|reset|file)$/i,Ki=/^(?:input|select|textarea|keygen)/i;function rs(g,A,D,q){var X;if(Array.isArray(A))y.each(A,function(te,se){D||wa.test(g)?q(g,se):rs(g+"["+(typeof se=="object"&&se!=null?te:"")+"]",se,D,q)});else if(!D&&x(A)==="object")for(X in A)rs(g+"["+X+"]",A[X],D,q);else q(g,A)}y.param=function(g,A){var D,q=[],X=function(te,se){var Pe=E(se)?se():se;q[q.length]=encodeURIComponent(te)+"="+encodeURIComponent(Pe??"")};if(g==null)return"";if(Array.isArray(g)||g.jquery&&!y.isPlainObject(g))y.each(g,function(){X(this.name,this.value)});else for(D in g)rs(D,g[D],A,X);return q.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var g=y.prop(this,"elements");return g?y.makeArray(g):this}).filter(function(){var g=this.type;return this.name&&!y(this).is(":disabled")&&Ki.test(this.nodeName)&&!Zr.test(g)&&(this.checked||!xt.test(g))}).map(function(g,A){var D=y(this).val();return D==null?null:Array.isArray(D)?y.map(D,function(q){return{name:A.name,value:q.replace(qa,`\r
17
+ `)}}):{name:A.name,value:D.replace(qa,`\r
18
+ `)}}).get()}});var ns=/%20/g,Yi=/#.*$/,Eu=/([?&])_=[^&]*/,lo=/^(.*?):[ \t]*([^\r\n]*)$/mg,Ps=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Su=/^(?:GET|HEAD)$/,fl=/^\/\//,No={},co={},fo="*/".concat("*"),is=w.createElement("a");is.href=es.href;function Nc(g){return function(A,D){typeof A!="string"&&(D=A,A="*");var q,X=0,te=A.toLowerCase().match(k)||[];if(E(D))for(;q=te[X++];)q[0]==="+"?(q=q.slice(1)||"*",(g[q]=g[q]||[]).unshift(D)):(g[q]=g[q]||[]).push(D)}}function ks(g,A,D,q){var X={},te=g===co;function se(Pe){var Ae;return X[Pe]=!0,y.each(g[Pe]||[],function(qe,pt){var Et=pt(A,D,q);if(typeof Et=="string"&&!te&&!X[Et])return A.dataTypes.unshift(Et),se(Et),!1;if(te)return!(Ae=Et)}),Ae}return se(A.dataTypes[0])||!X["*"]&&se("*")}function as(g,A){var D,q,X=y.ajaxSettings.flatOptions||{};for(D in A)A[D]!==void 0&&((X[D]?g:q||(q={}))[D]=A[D]);return q&&y.extend(!0,g,q),g}function Mo(g,A,D){for(var q,X,te,se,Pe=g.contents,Ae=g.dataTypes;Ae[0]==="*";)Ae.shift(),q===void 0&&(q=g.mimeType||A.getResponseHeader("Content-Type"));if(q){for(X in Pe)if(Pe[X]&&Pe[X].test(q)){Ae.unshift(X);break}}if(Ae[0]in D)te=Ae[0];else{for(X in D){if(!Ae[0]||g.converters[X+" "+Ae[0]]){te=X;break}se||(se=X)}te=te||se}if(te)return te!==Ae[0]&&Ae.unshift(te),D[te]}function Ds(g,A,D,q){var X,te,se,Pe,Ae,qe={},pt=g.dataTypes.slice();if(pt[1])for(se in g.converters)qe[se.toLowerCase()]=g.converters[se];for(te=pt.shift();te;)if(g.responseFields[te]&&(D[g.responseFields[te]]=A),!Ae&&q&&g.dataFilter&&(A=g.dataFilter(A,g.dataType)),Ae=te,te=pt.shift(),te){if(te==="*")te=Ae;else if(Ae!=="*"&&Ae!==te){if(se=qe[Ae+" "+te]||qe["* "+te],!se){for(X in qe)if(Pe=X.split(" "),Pe[1]===te&&(se=qe[Ae+" "+Pe[0]]||qe["* "+Pe[0]],se)){se===!0?se=qe[X]:qe[X]!==!0&&(te=Pe[0],pt.unshift(Pe[1]));break}}if(se!==!0)if(se&&g.throws)A=se(A);else try{A=se(A)}catch(Et){return{state:"parsererror",error:se?Et:"No conversion from "+Ae+" to "+te}}}}return{state:"success",data:A}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:es.href,type:"GET",isLocal:Ps.test(es.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":fo,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(g,A){return A?as(as(g,y.ajaxSettings),A):as(y.ajaxSettings,g)},ajaxPrefilter:Nc(No),ajaxTransport:Nc(co),ajax:function(g,A){typeof g=="object"&&(A=g,g=void 0),A=A||{};var D,q,X,te,se,Pe,Ae,qe,pt,Et,tt=y.ajaxSetup({},A),Pt=tt.context||tt,hr=tt.context&&(Pt.nodeType||Pt.jquery)?y(Pt):y.event,Vr=y.Deferred(),Ir=y.Callbacks("once memory"),Yn=tt.statusCode||{},zn={},j={},J="canceled",le={readyState:0,getResponseHeader:function(He){var ze;if(Ae){if(!te)for(te={};ze=lo.exec(X);)te[ze[1].toLowerCase()+" "]=(te[ze[1].toLowerCase()+" "]||[]).concat(ze[2]);ze=te[He.toLowerCase()+" "]}return ze==null?null:ze.join(", ")},getAllResponseHeaders:function(){return Ae?X:null},setRequestHeader:function(He,ze){return Ae==null&&(He=j[He.toLowerCase()]=j[He.toLowerCase()]||He,zn[He]=ze),this},overrideMimeType:function(He){return Ae==null&&(tt.mimeType=He),this},statusCode:function(He){var ze;if(He)if(Ae)le.always(He[le.status]);else for(ze in He)Yn[ze]=[Yn[ze],He[ze]];return this},abort:function(He){var ze=He||J;return D&&D.abort(ze),Ce(0,ze),this}};if(Vr.promise(le),tt.url=((g||tt.url||es.href)+"").replace(fl,es.protocol+"//"),tt.type=A.method||A.type||tt.method||tt.type,tt.dataTypes=(tt.dataType||"*").toLowerCase().match(k)||[""],tt.crossDomain==null){Pe=w.createElement("a");try{Pe.href=tt.url,Pe.href=Pe.href,tt.crossDomain=is.protocol+"//"+is.host!=Pe.protocol+"//"+Pe.host}catch{tt.crossDomain=!0}}if(tt.data&&tt.processData&&typeof tt.data!="string"&&(tt.data=y.param(tt.data,tt.traditional)),ks(No,tt,A,le),Ae)return le;qe=y.event&&tt.global,qe&&y.active++===0&&y.event.trigger("ajaxStart"),tt.type=tt.type.toUpperCase(),tt.hasContent=!Su.test(tt.type),q=tt.url.replace(Yi,""),tt.hasContent?tt.data&&tt.processData&&(tt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(tt.data=tt.data.replace(ns,"+")):(Et=tt.url.slice(q.length),tt.data&&(tt.processData||typeof tt.data=="string")&&(q+=(ts.test(q)?"&":"?")+tt.data,delete tt.data),tt.cache===!1&&(q=q.replace(Eu,"$1"),Et=(ts.test(q)?"&":"?")+"_="+_u.guid+++Et),tt.url=q+Et),tt.ifModified&&(y.lastModified[q]&&le.setRequestHeader("If-Modified-Since",y.lastModified[q]),y.etag[q]&&le.setRequestHeader("If-None-Match",y.etag[q])),(tt.data&&tt.hasContent&&tt.contentType!==!1||A.contentType)&&le.setRequestHeader("Content-Type",tt.contentType),le.setRequestHeader("Accept",tt.dataTypes[0]&&tt.accepts[tt.dataTypes[0]]?tt.accepts[tt.dataTypes[0]]+(tt.dataTypes[0]!=="*"?", "+fo+"; q=0.01":""):tt.accepts["*"]);for(pt in tt.headers)le.setRequestHeader(pt,tt.headers[pt]);if(tt.beforeSend&&(tt.beforeSend.call(Pt,le,tt)===!1||Ae))return le.abort();if(J="abort",Ir.add(tt.complete),le.done(tt.success),le.fail(tt.error),D=ks(co,tt,A,le),!D)Ce(-1,"No Transport");else{if(le.readyState=1,qe&&hr.trigger("ajaxSend",[le,tt]),Ae)return le;tt.async&&tt.timeout>0&&(se=t.setTimeout(function(){le.abort("timeout")},tt.timeout));try{Ae=!1,D.send(zn,Ce)}catch(He){if(Ae)throw He;Ce(-1,He)}}function Ce(He,ze,wt,Mt){var ar,Rr,pr,yn,Xn,Pn=ze;Ae||(Ae=!0,se&&t.clearTimeout(se),D=void 0,X=Mt||"",le.readyState=He>0?4:0,ar=He>=200&&He<300||He===304,wt&&(yn=Mo(tt,le,wt)),!ar&&y.inArray("script",tt.dataTypes)>-1&&y.inArray("json",tt.dataTypes)<0&&(tt.converters["text script"]=function(){}),yn=Ds(tt,yn,le,ar),ar?(tt.ifModified&&(Xn=le.getResponseHeader("Last-Modified"),Xn&&(y.lastModified[q]=Xn),Xn=le.getResponseHeader("etag"),Xn&&(y.etag[q]=Xn)),He===204||tt.type==="HEAD"?Pn="nocontent":He===304?Pn="notmodified":(Pn=yn.state,Rr=yn.data,pr=yn.error,ar=!pr)):(pr=Pn,(He||!Pn)&&(Pn="error",He<0&&(He=0))),le.status=He,le.statusText=(ze||Pn)+"",ar?Vr.resolveWith(Pt,[Rr,Pn,le]):Vr.rejectWith(Pt,[le,Pn,pr]),le.statusCode(Yn),Yn=void 0,qe&&hr.trigger(ar?"ajaxSuccess":"ajaxError",[le,tt,ar?Rr:pr]),Ir.fireWith(Pt,[le,Pn]),qe&&(hr.trigger("ajaxComplete",[le,tt]),--y.active||y.event.trigger("ajaxStop")))}return le},getJSON:function(g,A,D){return y.get(g,A,D,"json")},getScript:function(g,A){return y.get(g,void 0,A,"script")}}),y.each(["get","post"],function(g,A){y[A]=function(D,q,X,te){return E(q)&&(te=te||X,X=q,q=void 0),y.ajax(y.extend({url:D,type:A,dataType:te,data:q,success:X},y.isPlainObject(D)&&D))}}),y.ajaxPrefilter(function(g){var A;for(A in g.headers)A.toLowerCase()==="content-type"&&(g.contentType=g.headers[A]||"")}),y._evalUrl=function(g,A,D){return y.ajax({url:g,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(q){y.globalEval(q,A,D)}})},y.fn.extend({wrapAll:function(g){var A;return this[0]&&(E(g)&&(g=g.call(this[0])),A=y(g,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&A.insertBefore(this[0]),A.map(function(){for(var D=this;D.firstElementChild;)D=D.firstElementChild;return D}).append(this)),this},wrapInner:function(g){return E(g)?this.each(function(A){y(this).wrapInner(g.call(this,A))}):this.each(function(){var A=y(this),D=A.contents();D.length?D.wrapAll(g):A.append(g)})},wrap:function(g){var A=E(g);return this.each(function(D){y(this).wrapAll(A?g.call(this,D):g)})},unwrap:function(g){return this.parent(g).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function(g){return!y.expr.pseudos.visible(g)},y.expr.pseudos.visible=function(g){return!!(g.offsetWidth||g.offsetHeight||g.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Mc={0:200,1223:204},mi=y.ajaxSettings.xhr();S.cors=!!mi&&"withCredentials"in mi,S.ajax=mi=!!mi,y.ajaxTransport(function(g){var A,D;if(S.cors||mi&&!g.crossDomain)return{send:function(q,X){var te,se=g.xhr();if(se.open(g.type,g.url,g.async,g.username,g.password),g.xhrFields)for(te in g.xhrFields)se[te]=g.xhrFields[te];g.mimeType&&se.overrideMimeType&&se.overrideMimeType(g.mimeType),!g.crossDomain&&!q["X-Requested-With"]&&(q["X-Requested-With"]="XMLHttpRequest");for(te in q)se.setRequestHeader(te,q[te]);A=function(Pe){return function(){A&&(A=D=se.onload=se.onerror=se.onabort=se.ontimeout=se.onreadystatechange=null,Pe==="abort"?se.abort():Pe==="error"?typeof se.status!="number"?X(0,"error"):X(se.status,se.statusText):X(Mc[se.status]||se.status,se.statusText,(se.responseType||"text")!=="text"||typeof se.responseText!="string"?{binary:se.response}:{text:se.responseText},se.getAllResponseHeaders()))}},se.onload=A(),D=se.onerror=se.ontimeout=A("error"),se.onabort!==void 0?se.onabort=D:se.onreadystatechange=function(){se.readyState===4&&t.setTimeout(function(){A&&D()})},A=A("abort");try{se.send(g.hasContent&&g.data||null)}catch(Pe){if(A)throw Pe}},abort:function(){A&&A()}}}),y.ajaxPrefilter(function(g){g.crossDomain&&(g.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(g){return y.globalEval(g),g}}}),y.ajaxPrefilter("script",function(g){g.cache===void 0&&(g.cache=!1),g.crossDomain&&(g.type="GET")}),y.ajaxTransport("script",function(g){if(g.crossDomain||g.scriptAttrs){var A,D;return{send:function(q,X){A=y("<script>").attr(g.scriptAttrs||{}).prop({charset:g.scriptCharset,src:g.url}).on("load error",D=function(te){A.remove(),D=null,te&&X(te.type==="error"?404:200,te.type)}),w.head.appendChild(A[0])},abort:function(){D&&D()}}}});var wu=[],ho=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var g=wu.pop()||y.expando+"_"+_u.guid++;return this[g]=!0,g}}),y.ajaxPrefilter("json jsonp",function(g,A,D){var q,X,te,se=g.jsonp!==!1&&(ho.test(g.url)?"url":typeof g.data=="string"&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ho.test(g.data)&&"data");if(se||g.dataTypes[0]==="jsonp")return q=g.jsonpCallback=E(g.jsonpCallback)?g.jsonpCallback():g.jsonpCallback,se?g[se]=g[se].replace(ho,"$1"+q):g.jsonp!==!1&&(g.url+=(ts.test(g.url)?"&":"?")+g.jsonp+"="+q),g.converters["script json"]=function(){return te||y.error(q+" was not called"),te[0]},g.dataTypes[0]="json",X=t[q],t[q]=function(){te=arguments},D.always(function(){X===void 0?y(t).removeProp(q):t[q]=X,g[q]&&(g.jsonpCallback=A.jsonpCallback,wu.push(q)),te&&E(X)&&X(te[0]),te=X=void 0}),"script"}),S.createHTMLDocument=(function(){var g=w.implementation.createHTMLDocument("").body;return g.innerHTML="<form></form><form></form>",g.childNodes.length===2})(),y.parseHTML=function(g,A,D){if(typeof g!="string")return[];typeof A=="boolean"&&(D=A,A=!1);var q,X,te;return A||(S.createHTMLDocument?(A=w.implementation.createHTMLDocument(""),q=A.createElement("base"),q.href=w.location.href,A.head.appendChild(q)):A=w),X=Ee.exec(g),te=!D&&[],X?[A.createElement(X[1])]:(X=In([g],A,te),te&&te.length&&y(te).remove(),y.merge([],X.childNodes))},y.fn.load=function(g,A,D){var q,X,te,se=this,Pe=g.indexOf(" ");return Pe>-1&&(q=Or(g.slice(Pe)),g=g.slice(0,Pe)),E(A)?(D=A,A=void 0):A&&typeof A=="object"&&(X="POST"),se.length>0&&y.ajax({url:g,type:X||"GET",dataType:"html",data:A}).done(function(Ae){te=arguments,se.html(q?y("<div>").append(y.parseHTML(Ae)).find(q):Ae)}).always(D&&function(Ae,qe){se.each(function(){D.apply(this,te||[Ae.responseText,qe,Ae])})}),this},y.expr.pseudos.animated=function(g){return y.grep(y.timers,function(A){return g===A.elem}).length},y.offset={setOffset:function(g,A,D){var q,X,te,se,Pe,Ae,qe,pt=y.css(g,"position"),Et=y(g),tt={};pt==="static"&&(g.style.position="relative"),Pe=Et.offset(),te=y.css(g,"top"),Ae=y.css(g,"left"),qe=(pt==="absolute"||pt==="fixed")&&(te+Ae).indexOf("auto")>-1,qe?(q=Et.position(),se=q.top,X=q.left):(se=parseFloat(te)||0,X=parseFloat(Ae)||0),E(A)&&(A=A.call(g,D,y.extend({},Pe))),A.top!=null&&(tt.top=A.top-Pe.top+se),A.left!=null&&(tt.left=A.left-Pe.left+X),"using"in A?A.using.call(g,tt):Et.css(tt)}},y.fn.extend({offset:function(g){if(arguments.length)return g===void 0?this:this.each(function(X){y.offset.setOffset(this,g,X)});var A,D,q=this[0];if(q)return q.getClientRects().length?(A=q.getBoundingClientRect(),D=q.ownerDocument.defaultView,{top:A.top+D.pageYOffset,left:A.left+D.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var g,A,D,q=this[0],X={top:0,left:0};if(y.css(q,"position")==="fixed")A=q.getBoundingClientRect();else{for(A=this.offset(),D=q.ownerDocument,g=q.offsetParent||D.documentElement;g&&(g===D.body||g===D.documentElement)&&y.css(g,"position")==="static";)g=g.parentNode;g&&g!==q&&g.nodeType===1&&(X=y(g).offset(),X.top+=y.css(g,"borderTopWidth",!0),X.left+=y.css(g,"borderLeftWidth",!0))}return{top:A.top-X.top-y.css(q,"marginTop",!0),left:A.left-X.left-y.css(q,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var g=this.offsetParent;g&&y.css(g,"position")==="static";)g=g.offsetParent;return g||ot})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(g,A){var D=A==="pageYOffset";y.fn[g]=function(q){return xe(this,function(X,te,se){var Pe;if(_(X)?Pe=X:X.nodeType===9&&(Pe=X.defaultView),se===void 0)return Pe?Pe[A]:X[te];Pe?Pe.scrollTo(D?Pe.pageXOffset:se,D?se:Pe.pageYOffset):X[te]=se},g,q,arguments.length)}}),y.each(["top","left"],function(g,A){y.cssHooks[A]=ft(S.pixelPosition,function(D,q){if(q)return q=yt(D,A),ct.test(q)?y(D).position()[A]+"px":q})}),y.each({Height:"height",Width:"width"},function(g,A){y.each({padding:"inner"+g,content:A,"":"outer"+g},function(D,q){y.fn[q]=function(X,te){var se=arguments.length&&(D||typeof X!="boolean"),Pe=D||(X===!0||te===!0?"margin":"border");return xe(this,function(Ae,qe,pt){var Et;return _(Ae)?q.indexOf("outer")===0?Ae["inner"+g]:Ae.document.documentElement["client"+g]:Ae.nodeType===9?(Et=Ae.documentElement,Math.max(Ae.body["scroll"+g],Et["scroll"+g],Ae.body["offset"+g],Et["offset"+g],Et["client"+g])):pt===void 0?y.css(Ae,qe,Pe):y.style(Ae,qe,pt,Pe)},A,se?X:void 0,se)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(g,A){y.fn[A]=function(D){return this.on(A,D)}}),y.fn.extend({bind:function(g,A,D){return this.on(g,null,A,D)},unbind:function(g,A){return this.off(g,null,A)},delegate:function(g,A,D,q){return this.on(A,g,D,q)},undelegate:function(g,A,D){return arguments.length===1?this.off(g,"**"):this.off(A,g||"**",D)},hover:function(g,A){return this.on("mouseenter",g).on("mouseleave",A||g)}}),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(g,A){y.fn[A]=function(D,q){return arguments.length>0?this.on(A,null,D,q):this.trigger(A)}});var Ls=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function(g,A){var D,q,X;if(typeof A=="string"&&(D=g[A],A=g,g=D),!!E(g))return q=o.call(arguments,2),X=function(){return g.apply(A||this,q.concat(o.call(arguments)))},X.guid=g.guid=g.guid||y.guid++,X},y.holdReady=function(g){g?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=$,y.isFunction=E,y.isWindow=_,y.camelCase=_e,y.type=x,y.now=Date.now,y.isNumeric=function(g){var A=y.type(g);return(A==="number"||A==="string")&&!isNaN(g-parseFloat(g))},y.trim=function(g){return g==null?"":(g+"").replace(Ls,"$1")};var po=t.jQuery,$o=t.$;return y.noConflict=function(g){return t.$===y&&(t.$=$o),g&&t.jQuery===y&&(t.jQuery=po),y},typeof r>"u"&&(t.jQuery=t.$=y),y})})(eg)),eg.exports}var Wfe=gJ();const _s=Cn(Wfe);var pa="top",Ga="bottom",Ka="right",va="left",Nm="auto",od=[pa,Ga,Ka,va],Jl="start",Pf="end",mJ="clippingParents",SO="viewport",gf="popper",yJ="reference",Bx=od.reduce(function(e,t){return e.concat([t+"-"+Jl,t+"-"+Pf])},[]),wO=[].concat(od,[Nm]).reduce(function(e,t){return e.concat([t,t+"-"+Jl,t+"-"+Pf])},[]),_J="beforeRead",EJ="read",SJ="afterRead",wJ="beforeMain",bJ="main",TJ="afterMain",AJ="beforeWrite",RJ="write",xJ="afterWrite",CJ=[_J,EJ,SJ,wJ,bJ,TJ,AJ,RJ,xJ];function bs(e){return e?(e.nodeName||"").toLowerCase():null}function Ya(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zl(e){var t=Ya(e).Element;return e instanceof t||e instanceof Element}function xo(e){var t=Ya(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function bO(e){if(typeof ShadowRoot>"u")return!1;var t=Ya(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Gfe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!xo(o)||!bs(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var u=i[a];u===!1?o.removeAttribute(a):o.setAttribute(a,u===!0?"":u)}))})}function Kfe(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],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=a.reduce(function(l,f){return l[f]="",l},{});!xo(i)||!bs(i)||(Object.assign(i.style,u),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const TO={name:"applyStyles",enabled:!0,phase:"write",fn:Gfe,effect:Kfe,requires:["computeStyles"]};function Es(e){return e.split("-")[0]}var Hl=Math.max,Sg=Math.min,kf=Math.round;function Vx(){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 OJ(){return!/^((?!chrome|android).)*safari/i.test(Vx())}function Df(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&xo(e)&&(i=e.offsetWidth>0&&kf(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&kf(n.height)/e.offsetHeight||1);var a=Zl(e)?Ya(e):window,u=a.visualViewport,l=!OJ()&&r,f=(n.left+(l&&u?u.offsetLeft:0))/i,d=(n.top+(l&&u?u.offsetTop:0))/o,h=n.width/i,p=n.height/o;return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function AO(e){var t=Df(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 IJ(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&bO(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function iu(e){return Ya(e).getComputedStyle(e)}function Yfe(e){return["table","td","th"].indexOf(bs(e))>=0}function al(e){return((Zl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Mm(e){return bs(e)==="html"?e:e.assignedSlot||e.parentNode||(bO(e)?e.host:null)||al(e)}function Tz(e){return!xo(e)||iu(e).position==="fixed"?null:e.offsetParent}function Xfe(e){var t=/firefox/i.test(Vx()),r=/Trident/i.test(Vx());if(r&&xo(e)){var n=iu(e);if(n.position==="fixed")return null}var i=Mm(e);for(bO(i)&&(i=i.host);xo(i)&&["html","body"].indexOf(bs(i))<0;){var o=iu(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ip(e){for(var t=Ya(e),r=Tz(e);r&&Yfe(r)&&iu(r).position==="static";)r=Tz(r);return r&&(bs(r)==="html"||bs(r)==="body"&&iu(r).position==="static")?t:r||Xfe(e)||t}function RO(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dh(e,t,r){return Hl(e,Sg(t,r))}function Qfe(e,t,r){var n=dh(e,t,r);return n>r?r:n}function PJ(){return{top:0,right:0,bottom:0,left:0}}function kJ(e){return Object.assign({},PJ(),e)}function DJ(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Jfe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,kJ(typeof t!="number"?t:DJ(t,od))};function Zfe(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,u=Es(r.placement),l=RO(u),f=[va,Ka].indexOf(u)>=0,d=f?"height":"width";if(!(!o||!a)){var h=Jfe(i.padding,r),p=AO(o),m=l==="y"?pa:va,S=l==="y"?Ga:Ka,E=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],_=a[l]-r.rects.reference[l],w=ip(o),T=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,C=E/2-_/2,x=h[m],R=T-p[d]-h[S],P=T/2-p[d]/2+C,y=dh(x,P,R),N=l;r.modifiersData[n]=(t={},t[N]=y,t.centerOffset=y-P,t)}}function ede(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)||IJ(t.elements.popper,i)&&(t.elements.arrow=i))}const xO={name:"arrow",enabled:!0,phase:"main",fn:Zfe,effect:ede,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lf(e){return e.split("-")[1]}var tde={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rde(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:kf(r*i)/i||0,y:kf(n*i)/i||0}}function Az(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,u=e.position,l=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=a.x,m=p===void 0?0:p,S=a.y,E=S===void 0?0:S,_=typeof d=="function"?d({x:m,y:E}):{x:m,y:E};m=_.x,E=_.y;var w=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),C=va,x=pa,R=window;if(f){var P=ip(r),y="clientHeight",N="clientWidth";if(P===Ya(r)&&(P=al(r),iu(P).position!=="static"&&u==="absolute"&&(y="scrollHeight",N="scrollWidth")),P=P,i===pa||(i===va||i===Ka)&&o===Pf){x=Ga;var $=h&&P===R&&R.visualViewport?R.visualViewport.height:P[y];E-=$-n.height,E*=l?1:-1}if(i===va||(i===pa||i===Ga)&&o===Pf){C=Ka;var H=h&&P===R&&R.visualViewport?R.visualViewport.width:P[N];m-=H-n.width,m*=l?1:-1}}var B=Object.assign({position:u},f&&tde),W=d===!0?rde({x:m,y:E},Ya(r)):{x:m,y:E};if(m=W.x,E=W.y,l){var Y;return Object.assign({},B,(Y={},Y[x]=T?"0":"",Y[C]=w?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+E+"px)":"translate3d("+m+"px, "+E+"px, 0)",Y))}return Object.assign({},B,(t={},t[x]=T?E+"px":"",t[C]=w?m+"px":"",t.transform="",t))}function nde(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,u=r.roundOffsets,l=u===void 0?!0:u,f={placement:Es(t.placement),variation:Lf(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,Az(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Az(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const $m={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nde,data:{}};var Av={passive:!0};function ide(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,u=a===void 0?!0:a,l=Ya(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(d){d.addEventListener("scroll",r.update,Av)}),u&&l.addEventListener("resize",r.update,Av),function(){o&&f.forEach(function(d){d.removeEventListener("scroll",r.update,Av)}),u&&l.removeEventListener("resize",r.update,Av)}}const Fm={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ide,data:{}};var ade={left:"right",right:"left",bottom:"top",top:"bottom"};function tg(e){return e.replace(/left|right|bottom|top/g,function(t){return ade[t]})}var ode={start:"end",end:"start"};function Rz(e){return e.replace(/start|end/g,function(t){return ode[t]})}function CO(e){var t=Ya(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function OO(e){return Df(al(e)).left+CO(e).scrollLeft}function sde(e,t){var r=Ya(e),n=al(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,u=0,l=0;if(i){o=i.width,a=i.height;var f=OJ();(f||!f&&t==="fixed")&&(u=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:u+OO(e),y:l}}function ude(e){var t,r=al(e),n=CO(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Hl(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Hl(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+OO(e),l=-n.scrollTop;return iu(i||r).direction==="rtl"&&(u+=Hl(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:l}}function IO(e){var t=iu(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function LJ(e){return["html","body","#document"].indexOf(bs(e))>=0?e.ownerDocument.body:xo(e)&&IO(e)?e:LJ(Mm(e))}function hh(e,t){var r;t===void 0&&(t=[]);var n=LJ(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ya(n),a=i?[o].concat(o.visualViewport||[],IO(n)?n:[]):n,u=t.concat(a);return i?u:u.concat(hh(Mm(a)))}function Hx(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lde(e,t){var r=Df(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 xz(e,t,r){return t===SO?Hx(sde(e,r)):Zl(t)?lde(t,r):Hx(ude(al(e)))}function cde(e){var t=hh(Mm(e)),r=["absolute","fixed"].indexOf(iu(e).position)>=0,n=r&&xo(e)?ip(e):e;return Zl(n)?t.filter(function(i){return Zl(i)&&IJ(i,n)&&bs(i)!=="body"}):[]}function fde(e,t,r,n){var i=t==="clippingParents"?cde(e):[].concat(t),o=[].concat(i,[r]),a=o[0],u=o.reduce(function(l,f){var d=xz(e,f,n);return l.top=Hl(d.top,l.top),l.right=Sg(d.right,l.right),l.bottom=Sg(d.bottom,l.bottom),l.left=Hl(d.left,l.left),l},xz(e,a,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function NJ(e){var t=e.reference,r=e.element,n=e.placement,i=n?Es(n):null,o=n?Lf(n):null,a=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,l;switch(i){case pa:l={x:a,y:t.y-r.height};break;case Ga:l={x:a,y:t.y+t.height};break;case Ka:l={x:t.x+t.width,y:u};break;case va:l={x:t.x-r.width,y:u};break;default:l={x:t.x,y:t.y}}var f=i?RO(i):null;if(f!=null){var d=f==="y"?"height":"width";switch(o){case Jl:l[f]=l[f]-(t[d]/2-r[d]/2);break;case Pf:l[f]=l[f]+(t[d]/2-r[d]/2);break}}return l}function Nf(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,u=r.boundary,l=u===void 0?mJ:u,f=r.rootBoundary,d=f===void 0?SO:f,h=r.elementContext,p=h===void 0?gf:h,m=r.altBoundary,S=m===void 0?!1:m,E=r.padding,_=E===void 0?0:E,w=kJ(typeof _!="number"?_:DJ(_,od)),T=p===gf?yJ:gf,C=e.rects.popper,x=e.elements[S?T:p],R=fde(Zl(x)?x:x.contextElement||al(e.elements.popper),l,d,a),P=Df(e.elements.reference),y=NJ({reference:P,element:C,placement:i}),N=Hx(Object.assign({},C,y)),$=p===gf?N:P,H={top:R.top-$.top+w.top,bottom:$.bottom-R.bottom+w.bottom,left:R.left-$.left+w.left,right:$.right-R.right+w.right},B=e.modifiersData.offset;if(p===gf&&B){var W=B[i];Object.keys(H).forEach(function(Y){var Q=[Ka,Ga].indexOf(Y)>=0?1:-1,ne=[pa,Ga].indexOf(Y)>=0?"y":"x";H[Y]+=W[ne]*Q})}return H}function dde(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,u=r.flipVariations,l=r.allowedAutoPlacements,f=l===void 0?wO:l,d=Lf(n),h=d?u?Bx:Bx.filter(function(S){return Lf(S)===d}):od,p=h.filter(function(S){return f.indexOf(S)>=0});p.length===0&&(p=h);var m=p.reduce(function(S,E){return S[E]=Nf(e,{placement:E,boundary:i,rootBoundary:o,padding:a})[Es(E)],S},{});return Object.keys(m).sort(function(S,E){return m[S]-m[E]})}function hde(e){if(Es(e)===Nm)return[];var t=tg(e);return[Rz(e),t,Rz(t)]}function pde(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,u=a===void 0?!0:a,l=r.fallbackPlacements,f=r.padding,d=r.boundary,h=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,S=m===void 0?!0:m,E=r.allowedAutoPlacements,_=t.options.placement,w=Es(_),T=w===_,C=l||(T||!S?[tg(_)]:hde(_)),x=[_].concat(C).reduce(function($e,Ve){return $e.concat(Es(Ve)===Nm?dde(t,{placement:Ve,boundary:d,rootBoundary:h,padding:f,flipVariations:S,allowedAutoPlacements:E}):Ve)},[]),R=t.rects.reference,P=t.rects.popper,y=new Map,N=!0,$=x[0],H=0;H<x.length;H++){var B=x[H],W=Es(B),Y=Lf(B)===Jl,Q=[pa,Ga].indexOf(W)>=0,ne=Q?"width":"height",re=Nf(t,{placement:B,boundary:d,rootBoundary:h,altBoundary:p,padding:f}),de=Q?Y?Ka:va:Y?Ga:pa;R[ne]>P[ne]&&(de=tg(de));var G=tg(de),ee=[];if(o&&ee.push(re[W]<=0),u&&ee.push(re[de]<=0,re[G]<=0),ee.every(function($e){return $e})){$=B,N=!1;break}y.set(B,ee)}if(N)for(var z=S?3:1,ue=function(Ve){var ae=x.find(function(O){var I=y.get(O);if(I)return I.slice(0,Ve).every(function(M){return M})});if(ae)return $=ae,"break"},Ee=z;Ee>0;Ee--){var Oe=ue(Ee);if(Oe==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const PO={name:"flip",enabled:!0,phase:"main",fn:pde,requiresIfExists:["offset"],data:{_skip:!1}};function Cz(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 Oz(e){return[pa,Ka,Ga,va].some(function(t){return e[t]>=0})}function vde(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Nf(t,{elementContext:"reference"}),u=Nf(t,{altBoundary:!0}),l=Cz(a,n),f=Cz(u,i,o),d=Oz(l),h=Oz(f);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const kO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vde};function gde(e,t,r){var n=Es(e),i=[va,pa].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],u=o[1];return a=a||0,u=(u||0)*i,[va,Ka].indexOf(n)>=0?{x:u,y:a}:{x:a,y:u}}function mde(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=wO.reduce(function(d,h){return d[h]=gde(h,t.rects,o),d},{}),u=a[t.placement],l=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=a}const DO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mde};function yde(e){var t=e.state,r=e.name;t.modifiersData[r]=NJ({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const jm={name:"popperOffsets",enabled:!0,phase:"read",fn:yde,data:{}};function _de(e){return e==="x"?"y":"x"}function Ede(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,u=a===void 0?!1:a,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.padding,p=r.tether,m=p===void 0?!0:p,S=r.tetherOffset,E=S===void 0?0:S,_=Nf(t,{boundary:l,rootBoundary:f,padding:h,altBoundary:d}),w=Es(t.placement),T=Lf(t.placement),C=!T,x=RO(w),R=_de(x),P=t.modifiersData.popperOffsets,y=t.rects.reference,N=t.rects.popper,$=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,H=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(P){if(o){var Y,Q=x==="y"?pa:va,ne=x==="y"?Ga:Ka,re=x==="y"?"height":"width",de=P[x],G=de+_[Q],ee=de-_[ne],z=m?-N[re]/2:0,ue=T===Jl?y[re]:N[re],Ee=T===Jl?-N[re]:-y[re],Oe=t.elements.arrow,$e=m&&Oe?AO(Oe):{width:0,height:0},Ve=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:PJ(),ae=Ve[Q],O=Ve[ne],I=dh(0,y[re],$e[re]),M=C?y[re]/2-z-I-ae-H.mainAxis:ue-I-ae-H.mainAxis,k=C?-y[re]/2+z+I+O+H.mainAxis:Ee+I+O+H.mainAxis,U=t.elements.arrow&&ip(t.elements.arrow),K=U?x==="y"?U.clientTop||0:U.clientLeft||0:0,ie=(Y=B==null?void 0:B[x])!=null?Y:0,ye=de+M-ie-K,ve=de+k-ie,Re=dh(m?Sg(G,ye):G,de,m?Hl(ee,ve):ee);P[x]=Re,W[x]=Re-de}if(u){var Se,xe=x==="x"?pa:va,De=x==="x"?Ga:Ka,he=P[R],me=R==="y"?"height":"width",_e=he+_[xe],Le=he-_[De],Me=[pa,va].indexOf(w)!==-1,Ne=(Se=B==null?void 0:B[R])!=null?Se:0,Ge=Me?_e:he-y[me]-N[me]-Ne+H.altAxis,it=Me?he+y[me]+N[me]-Ne-H.altAxis:Le,Dt=m&&Me?Qfe(Ge,he,it):dh(m?Ge:_e,he,m?it:Le);P[R]=Dt,W[R]=Dt-he}t.modifiersData[n]=W}}const LO={name:"preventOverflow",enabled:!0,phase:"main",fn:Ede,requiresIfExists:["offset"]};function Sde(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wde(e){return e===Ya(e)||!xo(e)?CO(e):Sde(e)}function bde(e){var t=e.getBoundingClientRect(),r=kf(t.width)/e.offsetWidth||1,n=kf(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Tde(e,t,r){r===void 0&&(r=!1);var n=xo(t),i=xo(t)&&bde(t),o=al(t),a=Df(e,i,r),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((bs(t)!=="body"||IO(o))&&(u=wde(t)),xo(t)?(l=Df(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=OO(o))),{x:a.left+u.scrollLeft-l.x,y:a.top+u.scrollTop-l.y,width:a.width,height:a.height}}function Ade(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(u){if(!r.has(u)){var l=t.get(u);l&&i(l)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function Rde(e){var t=Ade(e);return CJ.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function xde(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Cde(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 Iz={placement:"bottom",modifiers:[],strategy:"absolute"};function Pz(){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 ap(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?Iz:i;return function(u,l,f){f===void 0&&(f=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Iz,o),modifiersData:{},elements:{reference:u,popper:l},attributes:{},styles:{}},h=[],p=!1,m={state:d,setOptions:function(w){var T=typeof w=="function"?w(d.options):w;E(),d.options=Object.assign({},o,d.options,T),d.scrollParents={reference:Zl(u)?hh(u):u.contextElement?hh(u.contextElement):[],popper:hh(l)};var C=Rde(Cde([].concat(n,d.options.modifiers)));return d.orderedModifiers=C.filter(function(x){return x.enabled}),S(),m.update()},forceUpdate:function(){if(!p){var w=d.elements,T=w.reference,C=w.popper;if(Pz(T,C)){d.rects={reference:Tde(T,ip(C),d.options.strategy==="fixed"),popper:AO(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(H){return d.modifiersData[H.name]=Object.assign({},H.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var R=d.orderedModifiers[x],P=R.fn,y=R.options,N=y===void 0?{}:y,$=R.name;typeof P=="function"&&(d=P({state:d,options:N,name:$,instance:m})||d)}}}},update:xde(function(){return new Promise(function(_){m.forceUpdate(),_(d)})}),destroy:function(){E(),p=!0}};if(!Pz(u,l))return m;m.setOptions(f).then(function(_){!p&&f.onFirstUpdate&&f.onFirstUpdate(_)});function S(){d.orderedModifiers.forEach(function(_){var w=_.name,T=_.options,C=T===void 0?{}:T,x=_.effect;if(typeof x=="function"){var R=x({state:d,name:w,instance:m,options:C}),P=function(){};h.push(R||P)}})}function E(){h.forEach(function(_){return _()}),h=[]}return m}}var Ode=ap(),Ide=[Fm,jm,$m,TO],Pde=ap({defaultModifiers:Ide}),kde=[Fm,jm,$m,TO,DO,PO,LO,xO,kO],NO=ap({defaultModifiers:kde});const MJ=Object.freeze(Object.defineProperty({__proto__:null,afterMain:TJ,afterRead:SJ,afterWrite:xJ,applyStyles:TO,arrow:xO,auto:Nm,basePlacements:od,beforeMain:wJ,beforeRead:_J,beforeWrite:AJ,bottom:Ga,clippingParents:mJ,computeStyles:$m,createPopper:NO,createPopperBase:Ode,createPopperLite:Pde,detectOverflow:Nf,end:Pf,eventListeners:Fm,flip:PO,hide:kO,left:va,main:bJ,modifierPhases:CJ,offset:DO,placements:wO,popper:gf,popperGenerator:ap,popperOffsets:jm,preventOverflow:LO,read:EJ,reference:yJ,right:Ka,start:Jl,top:pa,variationPlacements:Bx,viewport:SO,write:RJ},Symbol.toStringTag,{value:"Module"})),$u=new Map,sb={set(e,t,r){$u.has(e)||$u.set(e,new Map);const n=$u.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 $u.has(e)&&$u.get(e).get(t)||null},remove(e,t){if(!$u.has(e))return;const r=$u.get(e);r.delete(t),r.size===0&&$u.delete(e)}},Dde=1e6,Lde=1e3,zx="transitionend",$J=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),Nde=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Mde=e=>{do e+=Math.floor(Math.random()*Dde);while(document.getElementById(e));return e},$de=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))*Lde)},FJ=e=>{e.dispatchEvent(new Event(zx))},tu=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Xu=e=>tu(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector($J(e)):null,sd=e=>{if(!tu(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},Qu=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",jJ=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?jJ(e.parentNode):null},wg=()=>{},op=e=>{e.offsetHeight},UJ=()=>_s&&!document.body.hasAttribute("data-bs-no-jquery")?_s:null,ub=[],Fde=e=>{document.readyState==="loading"?(ub.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of ub)t()}),ub.push(e)):e()},Oo=()=>document.documentElement.dir==="rtl",Do=e=>{Fde(()=>{const t=UJ();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)}})},ka=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,qJ=(e,t,r=!0)=>{if(!r){ka(e);return}const i=$de(t)+5;let o=!1;const a=({target:u})=>{u===t&&(o=!0,t.removeEventListener(zx,a),ka(e))};t.addEventListener(zx,a),setTimeout(()=>{o||FJ(t)},i)},MO=(e,t,r,n)=>{const i=e.length;let o=e.indexOf(t);return o===-1?!r&&n?e[i-1]:e[0]:(o+=r?1:-1,n&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))])},jde=/[^.]*(?=\..*)\.|.*/,Ude=/\..*/,qde=/::\d+$/,lb={};let kz=1;const BJ={mouseenter:"mouseover",mouseleave:"mouseout"},Bde=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 VJ(e,t){return t&&`${t}::${kz++}`||e.uidEvent||kz++}function HJ(e){const t=VJ(e);return e.uidEvent=t,lb[t]=lb[t]||{},lb[t]}function Vde(e,t){return function r(n){return $O(n,{delegateTarget:e}),r.oneOff&&kt.off(e,n.type,t),t.apply(e,[n])}}function Hde(e,t,r){return function n(i){const o=e.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(const u of o)if(u===a)return $O(i,{delegateTarget:a}),n.oneOff&&kt.off(e,i.type,t,r),r.apply(a,[i])}}function zJ(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function WJ(e,t,r){const n=typeof t=="string",i=n?r:t||r;let o=GJ(e);return Bde.has(o)||(o=e),[n,i,o]}function Dz(e,t,r,n,i){if(typeof t!="string"||!e)return;let[o,a,u]=WJ(t,r,n);t in BJ&&(a=(S=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return S.call(this,E)})(a));const l=HJ(e),f=l[u]||(l[u]={}),d=zJ(f,a,o?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=VJ(a,t.replace(jde,"")),p=o?Hde(e,r,a):Vde(e,a);p.delegationSelector=o?r:null,p.callable=a,p.oneOff=i,p.uidEvent=h,f[h]=p,e.addEventListener(u,p,o)}function Wx(e,t,r,n,i){const o=zJ(t[r],n,i);o&&(e.removeEventListener(r,o,!!i),delete t[r][o.uidEvent])}function zde(e,t,r,n){const i=t[r]||{};for(const[o,a]of Object.entries(i))o.includes(n)&&Wx(e,t,r,a.callable,a.delegationSelector)}function GJ(e){return e=e.replace(Ude,""),BJ[e]||e}const kt={on(e,t,r,n){Dz(e,t,r,n,!1)},one(e,t,r,n){Dz(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,o,a]=WJ(t,r,n),u=a!==t,l=HJ(e),f=l[a]||{},d=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(f).length)return;Wx(e,l,a,o,i?r:null);return}if(d)for(const h of Object.keys(l))zde(e,l,h,t.slice(1));for(const[h,p]of Object.entries(f)){const m=h.replace(qde,"");(!u||t.includes(m))&&Wx(e,l,a,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=UJ(),i=GJ(t),o=t!==i;let a=null,u=!0,l=!0,f=!1;o&&n&&(a=n.Event(t,r),n(e).trigger(a),u=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented());const d=$O(new Event(t,{bubbles:u,cancelable:!0}),r);return f&&d.preventDefault(),l&&e.dispatchEvent(d),d.defaultPrevented&&a&&a.preventDefault(),d}};function $O(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 Lz(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 cb(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ru={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${cb(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${cb(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]=Lz(e.dataset[n])}return t},getDataAttribute(e,t){return Lz(e.getAttribute(`data-bs-${cb(t)}`))}};class sp{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=tu(r)?ru.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...tu(r)?ru.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const o=t[n],a=tu(o)?"element":Nde(o);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${i}".`)}}}const Wde="5.3.2";class Zo extends sp{constructor(t,r){super(),t=Xu(t),t&&(this._element=t,this._config=this._getConfig(r),sb.set(this._element,this.constructor.DATA_KEY,this))}dispose(){sb.remove(this._element,this.constructor.DATA_KEY),kt.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){qJ(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return sb.get(Xu(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return Wde}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 fb=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!=="#"?$J(r.trim()):null}return t},vr={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=>!Qu(r)&&sd(r))},getSelectorFromElement(e){const t=fb(e);return t&&vr.findOne(t)?t:null},getElementFromSelector(e){const t=fb(e);return t?vr.findOne(t):null},getMultipleElementsFromSelector(e){const t=fb(e);return t?vr.find(t):[]}},Um=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;kt.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Qu(this))return;const o=vr.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(o)[t]()})},Gde="alert",Kde="bs.alert",KJ=`.${Kde}`,Yde=`close${KJ}`,Xde=`closed${KJ}`,Qde="fade",Jde="show";let YJ=class XJ extends Zo{static get NAME(){return Gde}close(){if(kt.trigger(this._element,Yde).defaultPrevented)return;this._element.classList.remove(Jde);const r=this._element.classList.contains(Qde);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),kt.trigger(this._element,Xde),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=XJ.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)}})}};Um(YJ,"close");Do(YJ);const Zde="button",ehe="bs.button",the=`.${ehe}`,rhe=".data-api",nhe="active",Nz='[data-bs-toggle="button"]',ihe=`click${the}${rhe}`;let QJ=class JJ extends Zo{static get NAME(){return Zde}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(nhe))}static jQueryInterface(t){return this.each(function(){const r=JJ.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};kt.on(document,ihe,Nz,e=>{e.preventDefault();const t=e.target.closest(Nz);QJ.getOrCreateInstance(t).toggle()});Do(QJ);const ahe="swipe",ud=".bs.swipe",ohe=`touchstart${ud}`,she=`touchmove${ud}`,uhe=`touchend${ud}`,lhe=`pointerdown${ud}`,che=`pointerup${ud}`,fhe="touch",dhe="pen",hhe="pointer-event",phe=40,vhe={endCallback:null,leftCallback:null,rightCallback:null},ghe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class bg extends sp{constructor(t,r){super(),this._element=t,!(!t||!bg.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return vhe}static get DefaultType(){return ghe}static get NAME(){return ahe}dispose(){kt.off(this._element,ud)}_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(),ka(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<=phe)return;const r=t/this._deltaX;this._deltaX=0,r&&ka(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(kt.on(this._element,lhe,t=>this._start(t)),kt.on(this._element,che,t=>this._end(t)),this._element.classList.add(hhe)):(kt.on(this._element,ohe,t=>this._start(t)),kt.on(this._element,she,t=>this._move(t)),kt.on(this._element,uhe,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===dhe||t.pointerType===fhe)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const mhe="carousel",yhe="bs.carousel",ol=`.${yhe}`,ZJ=".data-api",_he="ArrowLeft",Ehe="ArrowRight",She=500,Kd="next",af="prev",mf="left",rg="right",whe=`slide${ol}`,db=`slid${ol}`,bhe=`keydown${ol}`,The=`mouseenter${ol}`,Ahe=`mouseleave${ol}`,Rhe=`dragstart${ol}`,xhe=`load${ol}${ZJ}`,Che=`click${ol}${ZJ}`,eZ="carousel",Rv="active",Ohe="slide",Ihe="carousel-item-end",Phe="carousel-item-start",khe="carousel-item-next",Dhe="carousel-item-prev",tZ=".active",rZ=".carousel-item",Lhe=tZ+rZ,Nhe=".carousel-item img",Mhe=".carousel-indicators",$he="[data-bs-slide], [data-bs-slide-to]",Fhe='[data-bs-ride="carousel"]',jhe={[_he]:rg,[Ehe]:mf},Uhe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},qhe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class up extends Zo{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=vr.findOne(Mhe,this._element),this._addEventListeners(),this._config.ride===eZ&&this.cycle()}static get Default(){return Uhe}static get DefaultType(){return qhe}static get NAME(){return mhe}next(){this._slide(Kd)}nextWhenVisible(){!document.hidden&&sd(this._element)&&this.next()}prev(){this._slide(af)}pause(){this._isSliding&&FJ(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){kt.one(this._element,db,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){kt.one(this._element,db,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Kd:af;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&&kt.on(this._element,bhe,t=>this._keydown(t)),this._config.pause==="hover"&&(kt.on(this._element,The,()=>this.pause()),kt.on(this._element,Ahe,()=>this._maybeEnableCycle())),this._config.touch&&bg.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of vr.find(Nhe,this._element))kt.on(n,Rhe,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(mf)),rightCallback:()=>this._slide(this._directionToOrder(rg)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),She+this._config.interval))}};this._swipeHelper=new bg(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=jhe[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=vr.findOne(tZ,this._indicatorsElement);r.classList.remove(Rv),r.removeAttribute("aria-current");const n=vr.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Rv),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===Kd,o=r||MO(this._getItems(),n,i,this._config.wrap);if(o===n)return;const a=this._getItemIndex(o),u=m=>kt.trigger(this._element,m,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:a});if(u(whe).defaultPrevented||!n||!o)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=o;const d=i?Phe:Ihe,h=i?khe:Dhe;o.classList.add(h),op(o),n.classList.add(d),o.classList.add(d);const p=()=>{o.classList.remove(d,h),o.classList.add(Rv),n.classList.remove(Rv,h,d),this._isSliding=!1,u(db)};this._queueCallback(p,n,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(Ohe)}_getActive(){return vr.findOne(Lhe,this._element)}_getItems(){return vr.find(rZ,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Oo()?t===mf?af:Kd:t===mf?Kd:af}_orderToDirection(t){return Oo()?t===af?mf:rg:t===af?rg:mf}static jQueryInterface(t){return this.each(function(){const r=up.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]()}})}}kt.on(document,Che,$he,function(e){const t=vr.getElementFromSelector(this);if(!t||!t.classList.contains(eZ))return;e.preventDefault();const r=up.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(ru.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});kt.on(window,xhe,()=>{const e=vr.find(Fhe);for(const t of e)up.getOrCreateInstance(t)});Do(up);const Bhe="collapse",Vhe="bs.collapse",lp=`.${Vhe}`,Hhe=".data-api",zhe=`show${lp}`,Whe=`shown${lp}`,Ghe=`hide${lp}`,Khe=`hidden${lp}`,Yhe=`click${lp}${Hhe}`,hb="show",Sf="collapse",xv="collapsing",Xhe="collapsed",Qhe=`:scope .${Sf} .${Sf}`,Jhe="collapse-horizontal",Zhe="width",epe="height",tpe=".collapse.show, .collapse.collapsing",Gx='[data-bs-toggle="collapse"]',rpe={parent:null,toggle:!0},npe={parent:"(null|element)",toggle:"boolean"};class bh extends Zo{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=vr.find(Gx);for(const i of n){const o=vr.getSelectorFromElement(i),a=vr.find(o).filter(u=>u===this._element);o!==null&&a.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 rpe}static get DefaultType(){return npe}static get NAME(){return Bhe}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(tpe).filter(u=>u!==this._element).map(u=>bh.getOrCreateInstance(u,{toggle:!1}))),t.length&&t[0]._isTransitioning||kt.trigger(this._element,zhe).defaultPrevented)return;for(const u of t)u.hide();const n=this._getDimension();this._element.classList.remove(Sf),this._element.classList.add(xv),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(xv),this._element.classList.add(Sf,hb),this._element.style[n]="",kt.trigger(this._element,Whe)},a=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||kt.trigger(this._element,Ghe).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,op(this._element),this._element.classList.add(xv),this._element.classList.remove(Sf,hb);for(const i of this._triggerArray){const o=vr.getElementFromSelector(i);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(xv),this._element.classList.add(Sf),kt.trigger(this._element,Khe)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(hb)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Xu(t.parent),t}_getDimension(){return this._element.classList.contains(Jhe)?Zhe:epe}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Gx);for(const r of t){const n=vr.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=vr.find(Qhe,this._config.parent);return vr.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(Xhe,!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=bh.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}kt.on(document,Yhe,Gx,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of vr.getMultipleElementsFromSelector(this))bh.getOrCreateInstance(t,{toggle:!1}).toggle()});Do(bh);const Mz="dropdown",ipe="bs.dropdown",Ec=`.${ipe}`,FO=".data-api",ape="Escape",$z="Tab",ope="ArrowUp",Fz="ArrowDown",spe=2,upe=`hide${Ec}`,lpe=`hidden${Ec}`,cpe=`show${Ec}`,fpe=`shown${Ec}`,nZ=`click${Ec}${FO}`,iZ=`keydown${Ec}${FO}`,dpe=`keyup${Ec}${FO}`,yf="show",hpe="dropup",ppe="dropend",vpe="dropstart",gpe="dropup-center",mpe="dropdown-center",$l='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ype=`${$l}.${yf}`,ng=".dropdown-menu",_pe=".navbar",Epe=".navbar-nav",Spe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",wpe=Oo()?"top-end":"top-start",bpe=Oo()?"top-start":"top-end",Tpe=Oo()?"bottom-end":"bottom-start",Ape=Oo()?"bottom-start":"bottom-end",Rpe=Oo()?"left-start":"right-start",xpe=Oo()?"right-start":"left-start",Cpe="top",Ope="bottom",Ipe={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ppe={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let ld=class ig extends Zo{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=vr.next(this._element,ng)[0]||vr.prev(this._element,ng)[0]||vr.findOne(ng,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ipe}static get DefaultType(){return Ppe}static get NAME(){return Mz}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Qu(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!kt.trigger(this._element,cpe,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Epe))for(const n of[].concat(...document.body.children))kt.on(n,"mouseover",wg);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(yf),this._element.classList.add(yf),kt.trigger(this._element,fpe,t)}}hide(){if(Qu(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(!kt.trigger(this._element,upe,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))kt.off(n,"mouseover",wg);this._popper&&this._popper.destroy(),this._menu.classList.remove(yf),this._element.classList.remove(yf),this._element.setAttribute("aria-expanded","false"),ru.removeDataAttribute(this._menu,"popper"),kt.trigger(this._element,lpe,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!tu(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Mz.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof MJ>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:tu(this._config.reference)?t=Xu(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=NO(t,this._menu,r)}_isShown(){return this._menu.classList.contains(yf)}_getPlacement(){const t=this._parent;if(t.classList.contains(ppe))return Rpe;if(t.classList.contains(vpe))return xpe;if(t.classList.contains(gpe))return Cpe;if(t.classList.contains(mpe))return Ope;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(hpe)?r?bpe:wpe:r?Ape:Tpe}_detectNavbar(){return this._element.closest(_pe)!==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")&&(ru.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...ka(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=vr.find(Spe,this._menu).filter(i=>sd(i));n.length&&MO(n,r,t===Fz,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=ig.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===spe||t.type==="keyup"&&t.key!==$z)return;const r=vr.find(ype);for(const n of r){const i=ig.getInstance(n);if(!i||i._config.autoClose===!1)continue;const o=t.composedPath(),a=o.includes(i._menu);if(o.includes(i._element)||i._config.autoClose==="inside"&&!a||i._config.autoClose==="outside"&&a||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===$z||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const u={relatedTarget:i._element};t.type==="click"&&(u.clickEvent=t),i._completeHide(u)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===ape,i=[ope,Fz].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const o=this.matches($l)?this:vr.prev(this,$l)[0]||vr.next(this,$l)[0]||vr.findOne($l,t.delegateTarget.parentNode),a=ig.getOrCreateInstance(o);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),o.focus())}};kt.on(document,iZ,$l,ld.dataApiKeydownHandler);kt.on(document,iZ,ng,ld.dataApiKeydownHandler);kt.on(document,nZ,ld.clearMenus);kt.on(document,dpe,ld.clearMenus);kt.on(document,nZ,$l,function(e){e.preventDefault(),ld.getOrCreateInstance(this).toggle()});Do(ld);const aZ="backdrop",kpe="fade",jz="show",Uz=`mousedown.bs.${aZ}`,Dpe={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Lpe={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class oZ extends sp{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Dpe}static get DefaultType(){return Lpe}static get NAME(){return aZ}show(t){if(!this._config.isVisible){ka(t);return}this._append();const r=this._getElement();this._config.isAnimated&&op(r),r.classList.add(jz),this._emulateAnimation(()=>{ka(t)})}hide(t){if(!this._config.isVisible){ka(t);return}this._getElement().classList.remove(jz),this._emulateAnimation(()=>{this.dispose(),ka(t)})}dispose(){this._isAppended&&(kt.off(this._element,Uz),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(kpe),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Xu(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),kt.on(t,Uz,()=>{ka(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){qJ(t,this._getElement(),this._config.isAnimated)}}const Npe="focustrap",Mpe="bs.focustrap",Tg=`.${Mpe}`,$pe=`focusin${Tg}`,Fpe=`keydown.tab${Tg}`,jpe="Tab",Upe="forward",qz="backward",qpe={autofocus:!0,trapElement:null},Bpe={autofocus:"boolean",trapElement:"element"};class sZ extends sp{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return qpe}static get DefaultType(){return Bpe}static get NAME(){return Npe}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),kt.off(document,Tg),kt.on(document,$pe,t=>this._handleFocusin(t)),kt.on(document,Fpe,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,kt.off(document,Tg))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=vr.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===qz?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===jpe&&(this._lastTabNavDirection=t.shiftKey?qz:Upe)}}const Bz=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vz=".sticky-top",Cv="padding-right",Hz="margin-right";class Kx{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,Cv,r=>r+t),this._setElementAttributes(Bz,Cv,r=>r+t),this._setElementAttributes(Vz,Hz,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Cv),this._resetElementAttributes(Bz,Cv),this._resetElementAttributes(Vz,Hz)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const i=this.getWidth(),o=a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+i)return;this._saveInitialAttribute(a,r);const u=window.getComputedStyle(a).getPropertyValue(r);a.style.setProperty(r,`${n(Number.parseFloat(u))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&ru.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const o=ru.getDataAttribute(i,r);if(o===null){i.style.removeProperty(r);return}ru.removeDataAttribute(i,r),i.style.setProperty(r,o)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(tu(t)){r(t);return}for(const n of vr.find(t,this._element))r(n)}}const Vpe="modal",Hpe="bs.modal",Io=`.${Hpe}`,zpe=".data-api",Wpe="Escape",Gpe=`hide${Io}`,Kpe=`hidePrevented${Io}`,uZ=`hidden${Io}`,lZ=`show${Io}`,Ype=`shown${Io}`,Xpe=`resize${Io}`,Qpe=`click.dismiss${Io}`,Jpe=`mousedown.dismiss${Io}`,Zpe=`keydown.dismiss${Io}`,eve=`click${Io}${zpe}`,zz="modal-open",tve="fade",Wz="show",pb="modal-static",rve=".modal.show",nve=".modal-dialog",ive=".modal-body",ave='[data-bs-toggle="modal"]',ove={backdrop:!0,focus:!0,keyboard:!0},sve={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let Ag=class cZ extends Zo{constructor(t,r){super(t,r),this._dialog=vr.findOne(nve,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Kx,this._addEventListeners()}static get Default(){return ove}static get DefaultType(){return sve}static get NAME(){return Vpe}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||kt.trigger(this._element,lZ,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(zz),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||kt.trigger(this._element,Gpe).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wz),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){kt.off(window,Io),kt.off(this._dialog,Io),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new oZ({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sZ({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=vr.findOne(ive,this._dialog);r&&(r.scrollTop=0),op(this._element),this._element.classList.add(Wz);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,kt.trigger(this._element,Ype,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){kt.on(this._element,Zpe,t=>{if(t.key===Wpe){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),kt.on(window,Xpe,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),kt.on(this._element,Jpe,t=>{kt.one(this._element,Qpe,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(zz),this._resetAdjustments(),this._scrollBar.reset(),kt.trigger(this._element,uZ)})}_isAnimated(){return this._element.classList.contains(tve)}_triggerBackdropTransition(){if(kt.trigger(this._element,Kpe).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(pb)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(pb),this._queueCallback(()=>{this._element.classList.remove(pb),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=Oo()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=Oo()?"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=cZ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};kt.on(document,eve,ave,function(e){const t=vr.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),kt.one(t,lZ,i=>{i.defaultPrevented||kt.one(t,uZ,()=>{sd(this)&&this.focus()})});const r=vr.findOne(rve);r&&Ag.getInstance(r).hide(),Ag.getOrCreateInstance(t).toggle(this)});Um(Ag);Do(Ag);const uve="offcanvas",lve="bs.offcanvas",vu=`.${lve}`,fZ=".data-api",cve=`load${vu}${fZ}`,fve="Escape",Gz="show",Kz="showing",Yz="hiding",dve="offcanvas-backdrop",dZ=".offcanvas.show",hve=`show${vu}`,pve=`shown${vu}`,vve=`hide${vu}`,Xz=`hidePrevented${vu}`,hZ=`hidden${vu}`,gve=`resize${vu}`,mve=`click${vu}${fZ}`,yve=`keydown.dismiss${vu}`,_ve='[data-bs-toggle="offcanvas"]',Eve={backdrop:!0,keyboard:!0,scroll:!1},Sve={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ju extends Zo{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Eve}static get DefaultType(){return Sve}static get NAME(){return uve}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||kt.trigger(this._element,hve,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Kx().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Kz);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Gz),this._element.classList.remove(Kz),kt.trigger(this._element,pve,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||kt.trigger(this._element,vve).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Yz),this._backdrop.hide();const r=()=>{this._element.classList.remove(Gz,Yz),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Kx().reset(),kt.trigger(this._element,hZ)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){kt.trigger(this._element,Xz);return}this.hide()},r=!!this._config.backdrop;return new oZ({className:dve,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new sZ({trapElement:this._element})}_addEventListeners(){kt.on(this._element,yve,t=>{if(t.key===fve){if(this._config.keyboard){this.hide();return}kt.trigger(this._element,Xz)}})}static jQueryInterface(t){return this.each(function(){const r=Ju.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)}})}}kt.on(document,mve,_ve,function(e){const t=vr.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Qu(this))return;kt.one(t,hZ,()=>{sd(this)&&this.focus()});const r=vr.findOne(dZ);r&&r!==t&&Ju.getInstance(r).hide(),Ju.getOrCreateInstance(t).toggle(this)});kt.on(window,cve,()=>{for(const e of vr.find(dZ))Ju.getOrCreateInstance(e).show()});kt.on(window,gve,()=>{for(const e of vr.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Ju.getOrCreateInstance(e).hide()});Um(Ju);Do(Ju);const wve=/^aria-[\w-]*$/i,pZ={"*":["class","dir","id","lang","role",wve],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:[]},bve=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Tve=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ave=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?bve.has(r)?!!Tve.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function Rve(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"),o=[].concat(...i.body.querySelectorAll("*"));for(const a of o){const u=a.nodeName.toLowerCase();if(!Object.keys(t).includes(u)){a.remove();continue}const l=[].concat(...a.attributes),f=[].concat(t["*"]||[],t[u]||[]);for(const d of l)Ave(d,f)||a.removeAttribute(d.nodeName)}return i.body.innerHTML}const xve="TemplateFactory",Cve={allowList:pZ,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ove={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ive={entry:"(string|element|function|null)",selector:"(string|element)"};class Pve extends sp{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Cve}static get DefaultType(){return Ove}static get NAME(){return xve}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,o]of Object.entries(this._config.content))this._setContent(t,o,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},Ive)}_setContent(t,r,n){const i=vr.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(tu(r)){this._putElementInTemplate(Xu(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?Rve(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return ka(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const kve="tooltip",Dve=new Set(["sanitize","allowList","sanitizeFn"]),vb="fade",Lve="modal",Ov="show",Nve=".tooltip-inner",Qz=`.${Lve}`,Jz="hide.bs.modal",Yd="hover",gb="focus",Mve="click",$ve="manual",Fve="hide",jve="hidden",Uve="show",qve="shown",Bve="inserted",Vve="click",Hve="focusin",zve="focusout",Wve="mouseenter",Gve="mouseleave",Kve={AUTO:"auto",TOP:"top",RIGHT:Oo()?"left":"right",BOTTOM:"bottom",LEFT:Oo()?"right":"left"},Yve={allowList:pZ,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"},Xve={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 qm=class vZ extends Zo{constructor(t,r){if(typeof MJ>"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 Yve}static get DefaultType(){return Xve}static get NAME(){return kve}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),kt.off(this._element.closest(Qz),Jz,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=kt.trigger(this._element,this.constructor.eventName(Uve)),n=(jJ(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:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),kt.trigger(this._element,this.constructor.eventName(Bve))),this._popper=this._createPopper(i),i.classList.add(Ov),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))kt.on(u,"mouseover",wg);const a=()=>{kt.trigger(this._element,this.constructor.eventName(qve)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||kt.trigger(this._element,this.constructor.eventName(Fve)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ov),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))kt.off(i,"mouseover",wg);this._activeTrigger[Mve]=!1,this._activeTrigger[gb]=!1,this._activeTrigger[Yd]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),kt.trigger(this._element,this.constructor.eventName(jve)))};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(vb,Ov),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Mde(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(vb),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Pve({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Nve]: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(vb)}_isShown(){return this.tip&&this.tip.classList.contains(Ov)}_createPopper(t){const r=ka(this._config.placement,[this,t,this._element]),n=Kve[r.toUpperCase()];return NO(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 ka(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,...ka(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")kt.on(this._element,this.constructor.eventName(Vve),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==$ve){const n=r===Yd?this.constructor.eventName(Wve):this.constructor.eventName(Hve),i=r===Yd?this.constructor.eventName(Gve):this.constructor.eventName(zve);kt.on(this._element,n,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusin"?gb:Yd]=!0,a._enter()}),kt.on(this._element,i,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusout"?gb:Yd]=a._element.contains(o.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},kt.on(this._element.closest(Qz),Jz,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=ru.getDataAttributes(this._element);for(const n of Object.keys(r))Dve.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:Xu(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=vZ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Do(qm);const Qve="popover",Jve=".popover-header",Zve=".popover-body",ege={...qm.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"},tge={...qm.DefaultType,content:"(null|string|element|function)"};let rge=class gZ extends qm{static get Default(){return ege}static get DefaultType(){return tge}static get NAME(){return Qve}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Jve]:this._getTitle(),[Zve]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=gZ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Do(rge);const nge="scrollspy",ige="bs.scrollspy",jO=`.${ige}`,age=".data-api",oge=`activate${jO}`,Zz=`click${jO}`,sge=`load${jO}${age}`,uge="dropdown-item",of="active",lge='[data-bs-spy="scroll"]',mb="[href]",cge=".nav, .list-group",e7=".nav-link",fge=".nav-item",dge=".list-group-item",hge=`${e7}, ${fge} > ${e7}, ${dge}`,pge=".dropdown",vge=".dropdown-toggle",gge={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},mge={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Bm extends Zo{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 gge}static get DefaultType(){return mge}static get NAME(){return nge}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=Xu(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&&(kt.off(this._config.target,Zz),kt.on(this._config.target,Zz,mb,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=a=>this._targetLinks.get(`#${a.target.id}`),n=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(r(a))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(a));continue}const u=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&u){if(n(a),!i)return;continue}!o&&!u&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=vr.find(mb,this._config.target);for(const r of t){if(!r.hash||Qu(r))continue;const n=vr.findOne(decodeURI(r.hash),this._element);sd(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(of),this._activateParents(t),kt.trigger(this._element,oge,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(uge)){vr.findOne(vge,t.closest(pge)).classList.add(of);return}for(const r of vr.parents(t,cge))for(const n of vr.prev(r,hge))n.classList.add(of)}_clearActiveClass(t){t.classList.remove(of);const r=vr.find(`${mb}.${of}`,t);for(const n of r)n.classList.remove(of)}static jQueryInterface(t){return this.each(function(){const r=Bm.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]()}})}}kt.on(window,sge,()=>{for(const e of vr.find(lge))Bm.getOrCreateInstance(e)});Do(Bm);const yge="tab",_ge="bs.tab",Sc=`.${_ge}`,Ege=`hide${Sc}`,Sge=`hidden${Sc}`,wge=`show${Sc}`,bge=`shown${Sc}`,Tge=`click${Sc}`,Age=`keydown${Sc}`,Rge=`load${Sc}`,xge="ArrowLeft",t7="ArrowRight",Cge="ArrowUp",r7="ArrowDown",yb="Home",n7="End",Fl="active",i7="fade",_b="show",Oge="dropdown",mZ=".dropdown-toggle",Ige=".dropdown-menu",Eb=`:not(${mZ})`,Pge='.list-group, .nav, [role="tablist"]',kge=".nav-item, .list-group-item",Dge=`.nav-link${Eb}, .list-group-item${Eb}, [role="tab"]${Eb}`,yZ='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Sb=`${Dge}, ${yZ}`,Lge=`.${Fl}[data-bs-toggle="tab"], .${Fl}[data-bs-toggle="pill"], .${Fl}[data-bs-toggle="list"]`;class Mf extends Zo{constructor(t){super(t),this._parent=this._element.closest(Pge),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),kt.on(this._element,Age,r=>this._keydown(r)))}static get NAME(){return yge}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?kt.trigger(r,Ege,{relatedTarget:t}):null;kt.trigger(t,wge,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Fl),this._activate(vr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(_b);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),kt.trigger(t,bge,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(i7))}_deactivate(t,r){if(!t)return;t.classList.remove(Fl),t.blur(),this._deactivate(vr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(_b);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),kt.trigger(t,Sge,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(i7))}_keydown(t){if(![xge,t7,Cge,r7,yb,n7].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!Qu(i));let n;if([yb,n7].includes(t.key))n=r[t.key===yb?0:r.length-1];else{const i=[t7,r7].includes(t.key);n=MO(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Mf.getOrCreateInstance(n).show())}_getChildren(){return vr.find(Sb,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=vr.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(Oge))return;const i=(o,a)=>{const u=vr.findOne(o,n);u&&u.classList.toggle(a,r)};i(mZ,Fl),i(Ige,_b),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Fl)}_getInnerElement(t){return t.matches(Sb)?t:vr.findOne(Sb,t)}_getOuterElement(t){return t.closest(kge)||t}static jQueryInterface(t){return this.each(function(){const r=Mf.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}kt.on(document,Tge,yZ,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Qu(this)&&Mf.getOrCreateInstance(this).show()});kt.on(window,Rge,()=>{for(const e of vr.find(Lge))Mf.getOrCreateInstance(e)});Do(Mf);const Nge="toast",Mge="bs.toast",sl=`.${Mge}`,$ge=`mouseover${sl}`,Fge=`mouseout${sl}`,jge=`focusin${sl}`,Uge=`focusout${sl}`,qge=`hide${sl}`,Bge=`hidden${sl}`,Vge=`show${sl}`,Hge=`shown${sl}`,zge="fade",a7="hide",Iv="show",Pv="showing",Wge={animation:"boolean",autohide:"boolean",delay:"number"},Gge={animation:!0,autohide:!0,delay:5e3};class Vm extends Zo{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Gge}static get DefaultType(){return Wge}static get NAME(){return Nge}show(){if(kt.trigger(this._element,Vge).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(zge);const r=()=>{this._element.classList.remove(Pv),kt.trigger(this._element,Hge),this._maybeScheduleHide()};this._element.classList.remove(a7),op(this._element),this._element.classList.add(Iv,Pv),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||kt.trigger(this._element,qge).defaultPrevented)return;const r=()=>{this._element.classList.add(a7),this._element.classList.remove(Pv,Iv),kt.trigger(this._element,Bge)};this._element.classList.add(Pv),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Iv),super.dispose()}isShown(){return this._element.classList.contains(Iv)}_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(){kt.on(this._element,$ge,t=>this._onInteraction(t,!0)),kt.on(this._element,Fge,t=>this._onInteraction(t,!1)),kt.on(this._element,jge,t=>this._onInteraction(t,!0)),kt.on(this._element,Uge,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=Vm.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Um(Vm);Do(Vm);var ag={exports:{}},UO="1.13.7",o7=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},Hm=Array.prototype,qO=Object.prototype,s7=typeof Symbol<"u"?Symbol.prototype:null,Kge=Hm.push,cp=Hm.slice,Th=qO.toString,Yge=qO.hasOwnProperty,_Z=typeof ArrayBuffer<"u",Xge=typeof DataView<"u",Qge=Array.isArray,u7=Object.keys,l7=Object.create,c7=_Z&&ArrayBuffer.isView,Jge=isNaN,Zge=isFinite,EZ=!{toString:null}.propertyIsEnumerable("toString"),f7=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],eme=Math.pow(2,53)-1;function ya(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 o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=n,e.apply(this,o)}}function Xa(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function SZ(e){return e===null}function Ah(e){return e===void 0}function BO(e){return e===!0||e===!1||Th.call(e)==="[object Boolean]"}function wZ(e){return!!(e&&e.nodeType===1)}function sa(e){var t="[object "+e+"]";return function(r){return Th.call(r)===t}}const zm=sa("String"),zl=sa("Number"),bZ=sa("Date"),TZ=sa("RegExp"),AZ=sa("Error"),VO=sa("Symbol"),HO=sa("ArrayBuffer");var RZ=sa("Function"),tme=o7.document&&o7.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof tme!="function"&&(RZ=function(e){return typeof e=="function"||!1});const qr=RZ,xZ=sa("Object");var CZ=Xge&&(!/\[native code\]/.test(String(DataView))||xZ(new DataView(new ArrayBuffer(8)))),zO=typeof Map<"u"&&xZ(new Map),rme=sa("DataView");function nme(e){return e!=null&&qr(e.getInt8)&&HO(e.buffer)}const Rh=CZ?nme:rme,gu=Qge||sa("Array");function ul(e,t){return e!=null&&Yge.call(e,t)}var Yx=sa("Arguments");(function(){Yx(arguments)||(Yx=function(e){return ul(e,"callee")})})();const Wm=Yx;function OZ(e){return!VO(e)&&Zge(e)&&!isNaN(parseFloat(e))}function WO(e){return zl(e)&&Jge(e)}function GO(e){return function(){return e}}function IZ(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=eme}}function PZ(e){return function(t){return t==null?void 0:t[e]}}const Rg=PZ("byteLength"),ime=IZ(Rg);var ame=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ome(e){return c7?c7(e)&&!Rh(e):ime(e)&&ame.test(Th.call(e))}const KO=_Z?ome:GO(!1),La=PZ("length");function sme(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 kZ(e,t){t=sme(t);var r=f7.length,n=e.constructor,i=qr(n)&&n.prototype||qO,o="constructor";for(ul(e,o)&&!t.contains(o)&&t.push(o);r--;)o=f7[r],o in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}function hi(e){if(!Xa(e))return[];if(u7)return u7(e);var t=[];for(var r in e)ul(e,r)&&t.push(r);return EZ&&kZ(e,t),t}function $f(e){if(e==null)return!0;var t=La(e);return typeof t=="number"&&(gu(e)||zm(e)||Wm(e))?t===0:La(hi(e))===0}function YO(e,t){var r=hi(t),n=r.length;if(e==null)return!n;for(var i=Object(e),o=0;o<n;o++){var a=r[o];if(t[a]!==i[a]||!(a in i))return!1}return!0}function pn(e){if(e instanceof pn)return e;if(!(this instanceof pn))return new pn(e);this._wrapped=e}pn.VERSION=UO;pn.prototype.value=function(){return this._wrapped};pn.prototype.valueOf=pn.prototype.toJSON=pn.prototype.value;pn.prototype.toString=function(){return String(this._wrapped)};function d7(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Rg(e))}var h7="[object DataView]";function Xx(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:DZ(e,t,r,n)}function DZ(e,t,r,n){e instanceof pn&&(e=e._wrapped),t instanceof pn&&(t=t._wrapped);var i=Th.call(e);if(i!==Th.call(t))return!1;if(CZ&&i=="[object Object]"&&Rh(e)){if(!Rh(t))return!1;i=h7}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 s7.valueOf.call(e)===s7.valueOf.call(t);case"[object ArrayBuffer]":case h7:return DZ(d7(e),d7(t),r,n)}var o=i==="[object Array]";if(!o&&KO(e)){var a=Rg(e);if(a!==Rg(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;o=!0}if(!o){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(qr(u)&&u instanceof u&&qr(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var f=r.length;f--;)if(r[f]===e)return n[f]===t;if(r.push(e),n.push(t),o){if(f=e.length,f!==t.length)return!1;for(;f--;)if(!Xx(e[f],t[f],r,n))return!1}else{var d=hi(e),h;if(f=d.length,hi(t).length!==f)return!1;for(;f--;)if(h=d[f],!(ul(t,h)&&Xx(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function XO(e,t){return Xx(e,t)}function cd(e){if(!Xa(e))return[];var t=[];for(var r in e)t.push(r);return EZ&&kZ(e,t),t}function QO(e){var t=La(e);return function(r){if(r==null)return!1;var n=cd(r);if(La(n))return!1;for(var i=0;i<t;i++)if(!qr(r[e[i]]))return!1;return e!==MZ||!qr(r[JO])}}var JO="forEach",LZ="has",ZO=["clear","delete"],NZ=["get",LZ,"set"],ume=ZO.concat(JO,NZ),MZ=ZO.concat(NZ),lme=["add"].concat(ZO,JO,LZ);const $Z=zO?QO(ume):sa("Map"),FZ=zO?QO(MZ):sa("WeakMap"),jZ=zO?QO(lme):sa("Set"),UZ=sa("WeakSet");function mu(e){for(var t=hi(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function qZ(e){for(var t=hi(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function eI(e){for(var t={},r=hi(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function xh(e){var t=[];for(var r in e)qr(e[r])&&t.push(r);return t.sort()}function tI(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 o=arguments[i],a=e(o),u=a.length,l=0;l<u;l++){var f=a[l];(!t||r[f]===void 0)&&(r[f]=o[f])}return r}}const fa=tI(cd),Ff=tI(hi),rI=tI(cd,!0);function cme(){return function(){}}function BZ(e){if(!Xa(e))return{};if(l7)return l7(e);var t=cme();t.prototype=e;var r=new t;return t.prototype=null,r}function VZ(e,t){var r=BZ(e);return t&&Ff(r,t),r}function nI(e){return Xa(e)?gu(e)?e.slice():fa({},e):e}function HZ(e,t){return t(e),e}function iI(e){return gu(e)?e:[e]}pn.toPath=iI;function fp(e){return pn.toPath(e)}function aI(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 oI(e,t,r){var n=aI(e,fp(t));return Ah(n)?r:n}function Ch(e,t){t=fp(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!ul(e,i))return!1;e=e[i]}return!!r}function dp(e){return e}function ec(e){return e=Ff({},e),function(t){return YO(t,e)}}function Gm(e){return e=fp(e),function(t){return aI(t,e)}}function hp(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,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,a){return e.call(t,n,i,o,a)}}return function(){return e.apply(t,arguments)}}function zZ(e,t,r){return e==null?dp:qr(e)?hp(e,t,r):Xa(e)&&!gu(e)?ec(e):Gm(e)}function Km(e,t){return zZ(e,t,1/0)}pn.iteratee=Km;function $a(e,t,r){return pn.iteratee!==Km?pn.iteratee(e,t):zZ(e,t,r)}function WZ(e,t,r){t=$a(t,r);for(var n=hi(e),i=n.length,o={},a=0;a<i;a++){var u=n[a];o[u]=t(e[u],u,e)}return o}function sI(){}function GZ(e){return e==null?sI:function(t){return oI(e,t)}}function KZ(e,t,r){var n=Array(Math.max(0,e));t=hp(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function xg(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}const jf=Date.now||function(){return new Date().getTime()};function YZ(e){var t=function(o){return e[o]},r="(?:"+hi(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(o){return o=o==null?"":""+o,n.test(o)?o.replace(i,t):o}}const XZ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},QZ=YZ(XZ),fme=eI(XZ),JZ=YZ(fme),ZZ=pn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var wb=/(.)^/,dme={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},hme=/\\|'|\r|\n|\u2028|\u2029/g;function pme(e){return"\\"+dme[e]}var vme=/^\s*(\w|\$)+\s*$/;function eee(e,t,r){!t&&r&&(t=r),t=rI({},t,pn.templateSettings);var n=RegExp([(t.escape||wb).source,(t.interpolate||wb).source,(t.evaluate||wb).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(n,function(f,d,h,p,m){return o+=e.slice(i,m).replace(hme,pme),i=m+f.length,d?o+=`'+
19
+ ((__t=(`+d+`))==null?'':_.escape(__t))+
20
+ '`:h?o+=`'+
21
+ ((__t=(`+h+`))==null?'':__t)+
22
+ '`:p&&(o+=`';
23
+ `+p+`
24
+ __p+='`),f}),o+=`';
25
+ `;var a=t.variable;if(a){if(!vme.test(a))throw new Error("variable is not a bare identifier: "+a)}else o=`with(obj||{}){
26
+ `+o+`}
27
+ `,a="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
28
+ `+o+`return __p;
29
+ `;var u;try{u=new Function(a,"_",o)}catch(f){throw f.source=o,f}var l=function(f){return u.call(this,f,pn)};return l.source="function("+a+`){
30
+ `+o+"}",l}function Af(e,t,r){t=fp(t);var n=t.length;if(!n)return qr(r)?r.call(e):r;for(var i=0;i<n;i++){var o=e==null?void 0:e[t[i]];o===void 0&&(o=r,i=n),e=qr(o)?o.call(e):o}return e}var gme=0;function uI(e){var t=++gme+"";return e?e+t:t}function tee(e){var t=pn(e);return t._chain=!0,t}function ree(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var o=BZ(e.prototype),a=e.apply(o,i);return Xa(a)?a:o}var wc=ya(function(e,t){var r=wc.placeholder,n=function(){for(var i=0,o=t.length,a=Array(o),u=0;u<o;u++)a[u]=t[u]===r?arguments[i++]:t[u];for(;i<arguments.length;)a.push(arguments[i++]);return ree(e,n,this,this,a)};return n});wc.placeholder=pn;const gs=ya(function(e,t,r){if(!qr(e))throw new TypeError("Bind must be called on a function");var n=ya(function(i){return ree(e,n,t,this,r.concat(i))});return n}),so=IZ(La);function bc(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,o=0,a=La(e);o<a;o++){var u=e[o];if(so(u)&&(gu(u)||Wm(u)))if(t>1)bc(u,t-1,r,n),i=n.length;else for(var l=0,f=u.length;l<f;)n[i++]=u[l++];else r||(n[i++]=u)}return n}const nee=ya(function(e,t){t=bc(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]=gs(e[n],e)}return e});function lI(e,t){var r=function(n){var i=r.cache,o=""+(t?t.apply(this,arguments):n);return ul(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return r.cache={},r}const cI=ya(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),iee=wc(cI,pn,1);function fI(e,t,r){var n,i,o,a,u=0;r||(r={});var l=function(){u=r.leading===!1?0:jf(),n=null,a=e.apply(i,o),n||(i=o=null)},f=function(){var d=jf();!u&&r.leading===!1&&(u=d);var h=t-(d-u);return i=this,o=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),u=d,a=e.apply(i,o),n||(i=o=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,h)),a};return f.cancel=function(){clearTimeout(n),u=0,n=i=o=null},f}function dI(e,t,r){var n,i,o,a,u,l=function(){var d=jf()-i;t>d?n=setTimeout(l,t-d):(n=null,r||(a=e.apply(u,o)),n||(o=u=null))},f=ya(function(d){return u=this,o=d,i=jf(),n||(n=setTimeout(l,t),r&&(a=e.apply(u,o))),a});return f.cancel=function(){clearTimeout(n),n=o=u=null},f}function aee(e,t){return wc(t,e)}function Ym(e){return function(){return!e.apply(this,arguments)}}function oee(){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 see(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function hI(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}const uee=wc(hI,2);function pI(e,t,r){t=$a(t,r);for(var n=hi(e),i,o=0,a=n.length;o<a;o++)if(i=n[o],t(e[i],i,e))return i}function lee(e){return function(t,r,n){r=$a(r,n);for(var i=La(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(r(t[o],o,t))return o;return-1}}const pp=lee(1),vI=lee(-1);function gI(e,t,r,n){r=$a(r,n,1);for(var i=r(t),o=0,a=La(e);o<a;){var u=Math.floor((o+a)/2);r(e[u])<i?o=u+1:a=u}return o}function cee(e,t,r){return function(n,i,o){var a=0,u=La(n);if(typeof o=="number")e>0?a=o>=0?o:Math.max(o+u,a):u=o>=0?Math.min(o+1,u):o+u+1;else if(r&&o&&u)return o=r(n,i),n[o]===i?o:-1;if(i!==i)return o=t(cp.call(n,a,u),WO),o>=0?o+a:-1;for(o=e>0?a:u-1;o>=0&&o<u;o+=e)if(n[o]===i)return o;return-1}}const mI=cee(1,pp,gI),fee=cee(-1,vI);function Oh(e,t,r){var n=so(e)?pp:pI,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function yI(e,t){return Oh(e,ec(t))}function Ci(e,t,r){t=hp(t,r);var n,i;if(so(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var o=hi(e);for(n=0,i=o.length;n<i;n++)t(e[o[n]],o[n],e)}return e}function au(e,t,r){t=$a(t,r);for(var n=!so(e)&&hi(e),i=(n||e).length,o=Array(i),a=0;a<i;a++){var u=n?n[a]:a;o[a]=t(e[u],u,e)}return o}function dee(e){var t=function(r,n,i,o){var a=!so(r)&&hi(r),u=(a||r).length,l=e>0?0:u-1;for(o||(i=r[a?a[l]:l],l+=e);l>=0&&l<u;l+=e){var f=a?a[l]:l;i=n(i,r[f],f,r)}return i};return function(r,n,i,o){var a=arguments.length>=3;return t(r,hp(n,o,4),i,a)}}const Wl=dee(1),Cg=dee(-1);function ou(e,t,r){var n=[];return t=$a(t,r),Ci(e,function(i,o,a){t(i,o,a)&&n.push(i)}),n}function hee(e,t,r){return ou(e,Ym($a(t)),r)}function Ih(e,t,r){t=$a(t,r);for(var n=!so(e)&&hi(e),i=(n||e).length,o=0;o<i;o++){var a=n?n[o]:o;if(!t(e[a],a,e))return!1}return!0}function Ph(e,t,r){t=$a(t,r);for(var n=!so(e)&&hi(e),i=(n||e).length,o=0;o<i;o++){var a=n?n[o]:o;if(t(e[a],a,e))return!0}return!1}function Co(e,t,r,n){return so(e)||(e=mu(e)),(typeof r!="number"||n)&&(r=0),mI(e,t,r)>=0}const pee=ya(function(e,t,r){var n,i;return qr(t)?i=t:(t=fp(t),n=t.slice(0,-1),t=t[t.length-1]),au(e,function(o){var a=i;if(!a){if(n&&n.length&&(o=aI(o,n)),o==null)return;a=o[t]}return a==null?a:a.apply(o,r)})});function Xm(e,t){return au(e,Gm(t))}function _I(e,t){return ou(e,ec(t))}function Qm(e,t,r){var n=-1/0,i=-1/0,o,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=so(e)?e:mu(e);for(var u=0,l=e.length;u<l;u++)o=e[u],o!=null&&o>n&&(n=o)}else t=$a(t,r),Ci(e,function(f,d,h){a=t(f,d,h),(a>i||a===-1/0&&n===-1/0)&&(n=f,i=a)});return n}function vee(e,t,r){var n=1/0,i=1/0,o,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=so(e)?e:mu(e);for(var u=0,l=e.length;u<l;u++)o=e[u],o!=null&&o<n&&(n=o)}else t=$a(t,r),Ci(e,function(f,d,h){a=t(f,d,h),(a<i||a===1/0&&n===1/0)&&(n=f,i=a)});return n}var mme=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function EI(e){return e?gu(e)?cp.call(e):zm(e)?e.match(mme):so(e)?au(e,dp):mu(e):[]}function SI(e,t,r){if(t==null||r)return so(e)||(e=mu(e)),e[xg(e.length-1)];var n=EI(e),i=La(n);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var u=xg(a,o),l=n[a];n[a]=n[u],n[u]=l}return n.slice(0,t)}function wI(e){return SI(e,1/0)}function bI(e,t,r){var n=0;return t=$a(t,r),Xm(au(e,function(i,o,a){return{value:i,index:n++,criteria:t(i,o,a)}}).sort(function(i,o){var a=i.criteria,u=o.criteria;if(a!==u){if(a>u||a===void 0)return 1;if(a<u||u===void 0)return-1}return i.index-o.index}),"value")}function Jm(e,t){return function(r,n,i){var o=t?[[],[]]:{};return n=$a(n,i),Ci(r,function(a,u){var l=n(a,u,r);e(o,a,l)}),o}}const TI=Jm(function(e,t,r){ul(e,r)?e[r].push(t):e[r]=[t]}),gee=Jm(function(e,t,r){e[r]=t}),AI=Jm(function(e,t,r){ul(e,r)?e[r]++:e[r]=1}),mee=Jm(function(e,t,r){e[r?0:1].push(t)},!0);function yee(e){return e==null?0:so(e)?e.length:hi(e).length}function yme(e,t,r){return t in r}const Zm=ya(function(e,t){var r={},n=t[0];if(e==null)return r;qr(n)?(t.length>1&&(n=hp(n,t[1])),t=cd(e)):(n=yme,t=bc(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],u=e[a];n(u,a,e)&&(r[a]=u)}return r}),vp=ya(function(e,t){var r=t[0],n;return qr(r)?(r=Ym(r),t.length>1&&(n=t[1])):(t=au(bc(t,!1,!1),String),r=function(i,o){return!Co(t,o)}),Zm(e,r,n)});function RI(e,t,r){return cp.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function Gu(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:RI(e,e.length-t)}function Gl(e,t,r){return cp.call(e,t==null||r?1:t)}function kh(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Gl(e,Math.max(0,e.length-t))}function _ee(e){return ou(e,Boolean)}function xI(e,t){return bc(e,t,!1)}const CI=ya(function(e,t){return t=bc(t,!0,!0),ou(e,function(r){return!Co(t,r)})}),Og=ya(function(e,t){return CI(e,t)});function tc(e,t,r,n){BO(t)||(n=r,r=t,t=!1),r!=null&&(r=$a(r,n));for(var i=[],o=[],a=0,u=La(e);a<u;a++){var l=e[a],f=r?r(l,a,e):l;t&&!r?((!a||o!==f)&&i.push(l),o=f):r?Co(o,f)||(o.push(f),i.push(l)):Co(i,l)||i.push(l)}return i}const Eee=ya(function(e){return tc(bc(e,!0,!0))});function OI(e){for(var t=[],r=arguments.length,n=0,i=La(e);n<i;n++){var o=e[n];if(!Co(t,o)){var a;for(a=1;a<r&&Co(arguments[a],o);a++);a===r&&t.push(o)}}return t}function Dh(e){for(var t=e&&Qm(e,La).length||0,r=Array(t),n=0;n<t;n++)r[n]=Xm(e,n);return r}const See=ya(Dh);function II(e,t){for(var r={},n=0,i=La(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function wee(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),o=0;o<n;o++,e+=r)i[o]=e;return i}function PI(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(cp.call(e,n,n+=t));return r}function kI(e,t){return e._chain?pn(t).chain():t}function DI(e){return Ci(xh(e),function(t){var r=pn[t]=e[t];pn.prototype[t]=function(){var n=[this._wrapped];return Kge.apply(n,arguments),kI(this,r.apply(pn,n))}}),pn}Ci(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=Hm[e];pn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),kI(this,r)}});Ci(["concat","join","slice"],function(e){var t=Hm[e];pn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),kI(this,r)}});const _me=Object.freeze(Object.defineProperty({__proto__:null,VERSION:UO,after:see,all:Ih,allKeys:cd,any:Ph,assign:Ff,before:hI,bind:gs,bindAll:nee,chain:tee,chunk:PI,clone:nI,collect:au,compact:_ee,compose:oee,constant:GO,contains:Co,countBy:AI,create:VZ,debounce:dI,default:pn,defaults:rI,defer:iee,delay:cI,detect:Oh,difference:CI,drop:Gl,each:Ci,escape:QZ,every:Ih,extend:fa,extendOwn:Ff,filter:ou,find:Oh,findIndex:pp,findKey:pI,findLastIndex:vI,findWhere:yI,first:Gu,flatten:xI,foldl:Wl,foldr:Cg,forEach:Ci,functions:xh,get:oI,groupBy:TI,has:Ch,head:Gu,identity:dp,include:Co,includes:Co,indexBy:gee,indexOf:mI,initial:RI,inject:Wl,intersection:OI,invert:eI,invoke:pee,isArguments:Wm,isArray:gu,isArrayBuffer:HO,isBoolean:BO,isDataView:Rh,isDate:bZ,isElement:wZ,isEmpty:$f,isEqual:XO,isError:AZ,isFinite:OZ,isFunction:qr,isMap:$Z,isMatch:YO,isNaN:WO,isNull:SZ,isNumber:zl,isObject:Xa,isRegExp:TZ,isSet:jZ,isString:zm,isSymbol:VO,isTypedArray:KO,isUndefined:Ah,isWeakMap:FZ,isWeakSet:UZ,iteratee:Km,keys:hi,last:kh,lastIndexOf:fee,map:au,mapObject:WZ,matcher:ec,matches:ec,max:Qm,memoize:lI,methods:xh,min:vee,mixin:DI,negate:Ym,noop:sI,now:jf,object:II,omit:vp,once:uee,pairs:qZ,partial:wc,partition:mee,pick:Zm,pluck:Xm,property:Gm,propertyOf:GZ,random:xg,range:wee,reduce:Wl,reduceRight:Cg,reject:hee,rest:Gl,restArguments:ya,result:Af,sample:SI,select:ou,shuffle:wI,size:yee,some:Ph,sortBy:bI,sortedIndex:gI,tail:Gl,take:Gu,tap:HZ,template:eee,templateSettings:ZZ,throttle:fI,times:KZ,toArray:EI,toPath:iI,transpose:Dh,unescape:JZ,union:Eee,uniq:tc,unique:tc,uniqueId:uI,unzip:Dh,values:mu,where:_I,without:Og,wrap:aee,zip:See},Symbol.toStringTag,{value:"Module"}));var Ye=DI(_me);Ye._=Ye;const Eme=Object.freeze(Object.defineProperty({__proto__:null,VERSION:UO,after:see,all:Ih,allKeys:cd,any:Ph,assign:Ff,before:hI,bind:gs,bindAll:nee,chain:tee,chunk:PI,clone:nI,collect:au,compact:_ee,compose:oee,constant:GO,contains:Co,countBy:AI,create:VZ,debounce:dI,default:Ye,defaults:rI,defer:iee,delay:cI,detect:Oh,difference:CI,drop:Gl,each:Ci,escape:QZ,every:Ih,extend:fa,extendOwn:Ff,filter:ou,find:Oh,findIndex:pp,findKey:pI,findLastIndex:vI,findWhere:yI,first:Gu,flatten:xI,foldl:Wl,foldr:Cg,forEach:Ci,functions:xh,get:oI,groupBy:TI,has:Ch,head:Gu,identity:dp,include:Co,includes:Co,indexBy:gee,indexOf:mI,initial:RI,inject:Wl,intersection:OI,invert:eI,invoke:pee,isArguments:Wm,isArray:gu,isArrayBuffer:HO,isBoolean:BO,isDataView:Rh,isDate:bZ,isElement:wZ,isEmpty:$f,isEqual:XO,isError:AZ,isFinite:OZ,isFunction:qr,isMap:$Z,isMatch:YO,isNaN:WO,isNull:SZ,isNumber:zl,isObject:Xa,isRegExp:TZ,isSet:jZ,isString:zm,isSymbol:VO,isTypedArray:KO,isUndefined:Ah,isWeakMap:FZ,isWeakSet:UZ,iteratee:Km,keys:hi,last:kh,lastIndexOf:fee,map:au,mapObject:WZ,matcher:ec,matches:ec,max:Qm,memoize:lI,methods:xh,min:vee,mixin:DI,negate:Ym,noop:sI,now:jf,object:II,omit:vp,once:uee,pairs:qZ,partial:wc,partition:mee,pick:Zm,pluck:Xm,property:Gm,propertyOf:GZ,random:xg,range:wee,reduce:Wl,reduceRight:Cg,reject:hee,rest:Gl,restArguments:ya,result:Af,sample:SI,select:ou,shuffle:wI,size:yee,some:Ph,sortBy:bI,sortedIndex:gI,tail:Gl,take:Gu,tap:HZ,template:eee,templateSettings:ZZ,throttle:fI,times:KZ,toArray:EI,toPath:iI,transpose:Dh,unescape:JZ,union:Eee,uniq:tc,unique:tc,uniqueId:uI,unzip:Dh,values:mu,where:_I,without:Og,wrap:aee,zip:See},Symbol.toStringTag,{value:"Module"})),bee=hae(Eme);var bb={},p7;function Tee(){return p7||(p7=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=bee,i;try{i=gJ()}catch{}t(r,e,n,i)}})(function(t,r,n,i){var o=t.Backbone,a=Array.prototype.slice;r.VERSION="1.3.3",r.$=i,r.noConflict=function(){return t.Backbone=o,this},r.emulateHTTP=!1,r.emulateJSON=!1;var u=function(O,I,M){switch(O){case 1:return function(){return n[I](this[M])};case 2:return function(k){return n[I](this[M],k)};case 3:return function(k,U){return n[I](this[M],f(k,this),U)};case 4:return function(k,U,K){return n[I](this[M],f(k,this),U,K)};default:return function(){var k=a.call(arguments);return k.unshift(this[M]),n[I].apply(n,k)}}},l=function(O,I,M){n.each(I,function(k,U){n[U]&&(O.prototype[U]=u(k,U,M))})},f=function(O,I){return n.isFunction(O)?O:n.isObject(O)&&!I._isModel(O)?d(O):n.isString(O)?function(M){return M.get(O)}:O},d=function(O){var I=n.matches(O);return function(M){return I(M.attributes)}},h=r.Events={},p=/\s+/,m=function(O,I,M,k,U){var K=0,ie;if(M&&typeof M=="object")for(k!==void 0&&("context"in U)&&U.context===void 0&&(U.context=k),ie=n.keys(M);K<ie.length;K++)I=m(O,I,ie[K],M[ie[K]],U);else if(M&&p.test(M))for(ie=M.split(p);K<ie.length;K++)I=O(I,ie[K],k,U);else I=O(I,M,k,U);return I};h.on=function(O,I,M){return S(this,O,I,M)};var S=function(O,I,M,k,U){if(O._events=m(E,O._events||{},I,M,{context:k,ctx:O,listening:U}),U){var K=O._listeners||(O._listeners={});K[U.id]=U}return O};h.listenTo=function(O,I,M){if(!O)return this;var k=O._listenId||(O._listenId=n.uniqueId("l")),U=this._listeningTo||(this._listeningTo={}),K=U[k];if(!K){var ie=this._listenId||(this._listenId=n.uniqueId("l"));K=U[k]={obj:O,objId:k,id:ie,listeningTo:U,count:0}}return S(O,I,M,this,K),this};var E=function(O,I,M,k){if(M){var U=O[I]||(O[I]=[]),K=k.context,ie=k.ctx,ye=k.listening;ye&&ye.count++,U.push({callback:M,context:K,ctx:K||ie,listening:ye})}return O};h.off=function(O,I,M){return this._events?(this._events=m(_,this._events,O,I,{context:M,listeners:this._listeners}),this):this},h.stopListening=function(O,I,M){var k=this._listeningTo;if(!k)return this;for(var U=O?[O._listenId]:n.keys(k),K=0;K<U.length;K++){var ie=k[U[K]];if(!ie)break;ie.obj.off(I,M,this)}return this};var _=function(O,I,M,k){if(O){var U=0,K,ie=k.context,ye=k.listeners;if(!I&&!M&&!ie){for(var ve=n.keys(ye);U<ve.length;U++)K=ye[ve[U]],delete ye[K.id],delete K.listeningTo[K.objId];return}for(var Re=I?[I]:n.keys(O);U<Re.length;U++){I=Re[U];var Se=O[I];if(!Se)break;for(var xe=[],De=0;De<Se.length;De++){var he=Se[De];M&&M!==he.callback&&M!==he.callback._callback||ie&&ie!==he.context?xe.push(he):(K=he.listening,K&&--K.count===0&&(delete ye[K.id],delete K.listeningTo[K.objId]))}xe.length?O[I]=xe:delete O[I]}return O}};h.once=function(O,I,M){var k=m(w,{},O,I,n.bind(this.off,this));return typeof O=="string"&&M==null&&(I=void 0),this.on(k,I,M)},h.listenToOnce=function(O,I,M){var k=m(w,{},I,M,n.bind(this.stopListening,this,O));return this.listenTo(O,k)};var w=function(O,I,M,k){if(M){var U=O[I]=n.once(function(){k(I,U),M.apply(this,arguments)});U._callback=M}return O};h.trigger=function(O){if(!this._events)return this;for(var I=Math.max(0,arguments.length-1),M=Array(I),k=0;k<I;k++)M[k]=arguments[k+1];return m(T,this._events,O,void 0,M),this};var T=function(O,I,M,k){if(O){var U=O[I],K=O.all;U&&K&&(K=K.slice()),U&&C(U,k),K&&C(K,[I].concat(k))}return O},C=function(O,I){var M,k=-1,U=O.length,K=I[0],ie=I[1],ye=I[2];switch(I.length){case 0:for(;++k<U;)(M=O[k]).callback.call(M.ctx);return;case 1:for(;++k<U;)(M=O[k]).callback.call(M.ctx,K);return;case 2:for(;++k<U;)(M=O[k]).callback.call(M.ctx,K,ie);return;case 3:for(;++k<U;)(M=O[k]).callback.call(M.ctx,K,ie,ye);return;default:for(;++k<U;)(M=O[k]).callback.apply(M.ctx,I);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var x=r.Model=function(O,I){var M=O||{};I||(I={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},I.collection&&(this.collection=I.collection),I.parse&&(M=this.parse(M,I)||{});var k=n.result(this,"defaults");M=n.defaults(n.extend({},k,M),k),this.set(M,I),this.changed={},this.initialize.apply(this,arguments)};n.extend(x.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(O){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(O){return this.attributes[O]},escape:function(O){return n.escape(this.get(O))},has:function(O){return this.get(O)!=null},matches:function(O){return!!n.iteratee(O,this)(this.attributes)},set:function(O,I,M){if(O==null)return this;var k;if(typeof O=="object"?(k=O,M=I):(k={})[O]=I,M||(M={}),!this._validate(k,M))return!1;var U=M.unset,K=M.silent,ie=[],ye=this._changing;this._changing=!0,ye||(this._previousAttributes=n.clone(this.attributes),this.changed={});var ve=this.attributes,Re=this.changed,Se=this._previousAttributes;for(var xe in k)I=k[xe],n.isEqual(ve[xe],I)||ie.push(xe),n.isEqual(Se[xe],I)?delete Re[xe]:Re[xe]=I,U?delete ve[xe]:ve[xe]=I;if(this.idAttribute in k&&(this.id=this.get(this.idAttribute)),!K){ie.length&&(this._pending=M);for(var De=0;De<ie.length;De++)this.trigger("change:"+ie[De],this,ve[ie[De]],M)}if(ye)return this;if(!K)for(;this._pending;)M=this._pending,this._pending=!1,this.trigger("change",this,M);return this._pending=!1,this._changing=!1,this},unset:function(O,I){return this.set(O,void 0,n.extend({},I,{unset:!0}))},clear:function(O){var I={};for(var M in this.attributes)I[M]=void 0;return this.set(I,n.extend({},O,{unset:!0}))},hasChanged:function(O){return O==null?!n.isEmpty(this.changed):n.has(this.changed,O)},changedAttributes:function(O){if(!O)return this.hasChanged()?n.clone(this.changed):!1;var I=this._changing?this._previousAttributes:this.attributes,M={};for(var k in O){var U=O[k];n.isEqual(I[k],U)||(M[k]=U)}return n.size(M)?M:!1},previous:function(O){return O==null||!this._previousAttributes?null:this._previousAttributes[O]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(O){O=n.extend({parse:!0},O);var I=this,M=O.success;return O.success=function(k){var U=O.parse?I.parse(k,O):k;if(!I.set(U,O))return!1;M&&M.call(O.context,I,k,O),I.trigger("sync",I,k,O)},ae(this,O),this.sync("read",this,O)},save:function(O,I,M){var k;O==null||typeof O=="object"?(k=O,M=I):(k={})[O]=I,M=n.extend({validate:!0,parse:!0},M);var U=M.wait;if(k&&!U){if(!this.set(k,M))return!1}else if(!this._validate(k,M))return!1;var K=this,ie=M.success,ye=this.attributes;M.success=function(Se){K.attributes=ye;var xe=M.parse?K.parse(Se,M):Se;if(U&&(xe=n.extend({},k,xe)),xe&&!K.set(xe,M))return!1;ie&&ie.call(M.context,K,Se,M),K.trigger("sync",K,Se,M)},ae(this,M),k&&U&&(this.attributes=n.extend({},ye,k));var ve=this.isNew()?"create":M.patch?"patch":"update";ve==="patch"&&!M.attrs&&(M.attrs=k);var Re=this.sync(ve,this,M);return this.attributes=ye,Re},destroy:function(O){O=O?n.clone(O):{};var I=this,M=O.success,k=O.wait,U=function(){I.stopListening(),I.trigger("destroy",I,I.collection,O)};O.success=function(ie){k&&U(),M&&M.call(O.context,I,ie,O),I.isNew()||I.trigger("sync",I,ie,O)};var K=!1;return this.isNew()?n.defer(O.success):(ae(this,O),K=this.sync("delete",this,O)),k||U(),K},url:function(){var O=n.result(this,"urlRoot")||n.result(this.collection,"url")||Ve();if(this.isNew())return O;var I=this.get(this.idAttribute);return O.replace(/[^\/]$/,"$&/")+encodeURIComponent(I)},parse:function(O,I){return O},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(O){return this._validate({},n.extend({},O,{validate:!0}))},_validate:function(O,I){if(!I.validate||!this.validate)return!0;O=n.extend({},this.attributes,O);var M=this.validationError=this.validate(O,I)||null;return M?(this.trigger("invalid",this,M,n.extend(I,{validationError:M})),!1):!0}});var R={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};l(x,R,"attributes");var P=r.Collection=function(O,I){I||(I={}),I.model&&(this.model=I.model),I.comparator!==void 0&&(this.comparator=I.comparator),this._reset(),this.initialize.apply(this,arguments),O&&this.reset(O,n.extend({silent:!0},I))},y={add:!0,remove:!0,merge:!0},N={add:!0,remove:!1},$=function(O,I,M){M=Math.min(Math.max(M,0),O.length);var k=Array(O.length-M),U=I.length,K;for(K=0;K<k.length;K++)k[K]=O[K+M];for(K=0;K<U;K++)O[K+M]=I[K];for(K=0;K<k.length;K++)O[K+U+M]=k[K]};n.extend(P.prototype,h,{model:x,initialize:function(){},toJSON:function(O){return this.map(function(I){return I.toJSON(O)})},sync:function(){return r.sync.apply(this,arguments)},add:function(O,I){return this.set(O,n.extend({merge:!1},I,N))},remove:function(O,I){I=n.extend({},I);var M=!n.isArray(O);O=M?[O]:O.slice();var k=this._removeModels(O,I);return!I.silent&&k.length&&(I.changes={added:[],merged:[],removed:k},this.trigger("update",this,I)),M?k[0]:k},set:function(O,I){if(O!=null){I=n.extend({},y,I),I.parse&&!this._isModel(O)&&(O=this.parse(O,I)||[]);var M=!n.isArray(O);O=M?[O]:O.slice();var k=I.at;k!=null&&(k=+k),k>this.length&&(k=this.length),k<0&&(k+=this.length+1);var U=[],K=[],ie=[],ye=[],ve={},Re=I.add,Se=I.merge,xe=I.remove,De=!1,he=this.comparator&&k==null&&I.sort!==!1,me=n.isString(this.comparator)?this.comparator:null,_e,Le;for(Le=0;Le<O.length;Le++){_e=O[Le];var Me=this.get(_e);if(Me){if(Se&&_e!==Me){var Ne=this._isModel(_e)?_e.attributes:_e;I.parse&&(Ne=Me.parse(Ne,I)),Me.set(Ne,I),ie.push(Me),he&&!De&&(De=Me.hasChanged(me))}ve[Me.cid]||(ve[Me.cid]=!0,U.push(Me)),O[Le]=Me}else Re&&(_e=O[Le]=this._prepareModel(_e,I),_e&&(K.push(_e),this._addReference(_e,I),ve[_e.cid]=!0,U.push(_e)))}if(xe){for(Le=0;Le<this.length;Le++)_e=this.models[Le],ve[_e.cid]||ye.push(_e);ye.length&&this._removeModels(ye,I)}var Ge=!1,it=!he&&Re&&xe;if(U.length&&it?(Ge=this.length!==U.length||n.some(this.models,function(Dt,rr){return Dt!==U[rr]}),this.models.length=0,$(this.models,U,0),this.length=this.models.length):K.length&&(he&&(De=!0),$(this.models,K,k??this.length),this.length=this.models.length),De&&this.sort({silent:!0}),!I.silent){for(Le=0;Le<K.length;Le++)k!=null&&(I.index=k+Le),_e=K[Le],_e.trigger("add",_e,this,I);(De||Ge)&&this.trigger("sort",this,I),(K.length||ye.length||ie.length)&&(I.changes={added:K,removed:ye,merged:ie},this.trigger("update",this,I))}return M?O[0]:O}},reset:function(O,I){I=I?n.clone(I):{};for(var M=0;M<this.models.length;M++)this._removeReference(this.models[M],I);return I.previousModels=this.models,this._reset(),O=this.add(O,n.extend({silent:!0},I)),I.silent||this.trigger("reset",this,I),O},push:function(O,I){return this.add(O,n.extend({at:this.length},I))},pop:function(O){var I=this.at(this.length-1);return this.remove(I,O)},unshift:function(O,I){return this.add(O,n.extend({at:0},I))},shift:function(O){var I=this.at(0);return this.remove(I,O)},slice:function(){return a.apply(this.models,arguments)},get:function(O){if(O!=null)return this._byId[O]||this._byId[this.modelId(O.attributes||O)]||O.cid&&this._byId[O.cid]},has:function(O){return this.get(O)!=null},at:function(O){return O<0&&(O+=this.length),this.models[O]},where:function(O,I){return this[I?"find":"filter"](O)},findWhere:function(O){return this.where(O,!0)},sort:function(O){var I=this.comparator;if(!I)throw new Error("Cannot sort a set without a comparator");O||(O={});var M=I.length;return n.isFunction(I)&&(I=n.bind(I,this)),M===1||n.isString(I)?this.models=this.sortBy(I):this.models.sort(I),O.silent||this.trigger("sort",this,O),this},pluck:function(O){return this.map(O+"")},fetch:function(O){O=n.extend({parse:!0},O);var I=O.success,M=this;return O.success=function(k){var U=O.reset?"reset":"set";M[U](k,O),I&&I.call(O.context,M,k,O),M.trigger("sync",M,k,O)},ae(this,O),this.sync("read",this,O)},create:function(O,I){I=I?n.clone(I):{};var M=I.wait;if(O=this._prepareModel(O,I),!O)return!1;M||this.add(O,I);var k=this,U=I.success;return I.success=function(K,ie,ye){M&&k.add(K,ye),U&&U.call(ye.context,K,ie,ye)},O.save(null,I),O},parse:function(O,I){return O},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(O){return O[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(O,I){if(this._isModel(O))return O.collection||(O.collection=this),O;I=I?n.clone(I):{},I.collection=this;var M=new this.model(O,I);return M.validationError?(this.trigger("invalid",this,M.validationError,I),!1):M},_removeModels:function(O,I){for(var M=[],k=0;k<O.length;k++){var U=this.get(O[k]);if(U){var K=this.indexOf(U);this.models.splice(K,1),this.length--,delete this._byId[U.cid];var ie=this.modelId(U.attributes);ie!=null&&delete this._byId[ie],I.silent||(I.index=K,U.trigger("remove",U,this,I)),M.push(U),this._removeReference(U,I)}}return M},_isModel:function(O){return O instanceof x},_addReference:function(O,I){this._byId[O.cid]=O;var M=this.modelId(O.attributes);M!=null&&(this._byId[M]=O),O.on("all",this._onModelEvent,this)},_removeReference:function(O,I){delete this._byId[O.cid];var M=this.modelId(O.attributes);M!=null&&delete this._byId[M],this===O.collection&&delete O.collection,O.off("all",this._onModelEvent,this)},_onModelEvent:function(O,I,M,k){if(I){if((O==="add"||O==="remove")&&M!==this)return;if(O==="destroy"&&this.remove(I,k),O==="change"){var U=this.modelId(I.previousAttributes()),K=this.modelId(I.attributes);U!==K&&(U!=null&&delete this._byId[U],K!=null&&(this._byId[K]=I))}}this.trigger.apply(this,arguments)}});var H={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};l(P,H,"models");var B=r.View=function(O){this.cid=n.uniqueId("view"),n.extend(this,n.pick(O,Y)),this._ensureElement(),this.initialize.apply(this,arguments)},W=/^(\S+)\s*(.*)$/,Y=["model","collection","el","id","attributes","className","tagName","events"];n.extend(B.prototype,h,{tagName:"div",$:function(O){return this.$el.find(O)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(O){return this.undelegateEvents(),this._setElement(O),this.delegateEvents(),this},_setElement:function(O){this.$el=O instanceof r.$?O:r.$(O),this.el=this.$el[0]},delegateEvents:function(O){if(O||(O=n.result(this,"events")),!O)return this;this.undelegateEvents();for(var I in O){var M=O[I];if(n.isFunction(M)||(M=this[M]),!!M){var k=I.match(W);this.delegate(k[1],k[2],n.bind(M,this))}}return this},delegate:function(O,I,M){return this.$el.on(O+".delegateEvents"+this.cid,I,M),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(O,I,M){return this.$el.off(O+".delegateEvents"+this.cid,I,M),this},_createElement:function(O){return document.createElement(O)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var O=n.extend({},n.result(this,"attributes"));this.id&&(O.id=n.result(this,"id")),this.className&&(O.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(O)}},_setAttributes:function(O){this.$el.attr(O)}}),r.sync=function(O,I,M){var k=Q[O];n.defaults(M||(M={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var U={type:k,dataType:"json"};if(M.url||(U.url=n.result(I,"url")||Ve()),M.data==null&&I&&(O==="create"||O==="update"||O==="patch")&&(U.contentType="application/json",U.data=JSON.stringify(M.attrs||I.toJSON(M))),M.emulateJSON&&(U.contentType="application/x-www-form-urlencoded",U.data=U.data?{model:U.data}:{}),M.emulateHTTP&&(k==="PUT"||k==="DELETE"||k==="PATCH")){U.type="POST",M.emulateJSON&&(U.data._method=k);var K=M.beforeSend;M.beforeSend=function(ve){if(ve.setRequestHeader("X-HTTP-Method-Override",k),K)return K.apply(this,arguments)}}U.type!=="GET"&&!M.emulateJSON&&(U.processData=!1);var ie=M.error;M.error=function(ve,Re,Se){M.textStatus=Re,M.errorThrown=Se,ie&&ie.call(M.context,ve,Re,Se)};var ye=M.xhr=r.ajax(n.extend(U,M));return I.trigger("request",I,ye,M),ye};var Q={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var ne=r.Router=function(O){O||(O={}),O.routes&&(this.routes=O.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},re=/\((.*?)\)/g,de=/(\(\?)?:\w+/g,G=/\*\w+/g,ee=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(ne.prototype,h,{initialize:function(){},route:function(O,I,M){n.isRegExp(O)||(O=this._routeToRegExp(O)),n.isFunction(I)&&(M=I,I=""),M||(M=this[I]);var k=this;return r.history.route(O,function(U){var K=k._extractParameters(O,U);k.execute(M,K,I)!==!1&&(k.trigger.apply(k,["route:"+I].concat(K)),k.trigger("route",I,K),r.history.trigger("route",k,I,K))}),this},execute:function(O,I,M){O&&O.apply(this,I)},navigate:function(O,I){return r.history.navigate(O,I),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var O,I=n.keys(this.routes);(O=I.pop())!=null;)this.route(O,this.routes[O])}},_routeToRegExp:function(O){return O=O.replace(ee,"\\$&").replace(re,"(?:$1)?").replace(de,function(I,M){return M?I:"([^/?]+)"}).replace(G,"([^?]*?)"),new RegExp("^"+O+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(O,I){var M=O.exec(I).slice(1);return n.map(M,function(k,U){return U===M.length-1?k||null:k?decodeURIComponent(k):null})}});var z=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},ue=/^[#\/]|\s+$/g,Ee=/^\/+|\/+$/g,Oe=/#.*$/;z.started=!1,n.extend(z.prototype,h,{interval:50,atRoot:function(){var O=this.location.pathname.replace(/[^\/]$/,"$&/");return O===this.root&&!this.getSearch()},matchRoot:function(){var O=this.decodeFragment(this.location.pathname),I=O.slice(0,this.root.length-1)+"/";return I===this.root},decodeFragment:function(O){return decodeURI(O.replace(/%25/g,"%2525"))},getSearch:function(){var O=this.location.href.replace(/#.*/,"").match(/\?.+/);return O?O[0]:""},getHash:function(O){var I=(O||this).location.href.match(/#(.*)$/);return I?I[1]:""},getPath:function(){var O=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return O.charAt(0)==="/"?O.slice(1):O},getFragment:function(O){return O==null&&(this._usePushState||!this._wantsHashChange?O=this.getPath():O=this.getHash()),O.replace(ue,"")},start:function(O){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=n.extend({root:"/"},this.options,O),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 I=this.root.slice(0,-1)||"/";return this.location.replace(I+"#"+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 M=document.body,k=M.insertBefore(this.iframe,M.firstChild).contentWindow;k.document.open(),k.document.close(),k.location.hash="#"+this.fragment}var U=window.addEventListener||function(K,ie){return attachEvent("on"+K,ie)};if(this._usePushState?U("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?U("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var O=window.removeEventListener||function(I,M){return detachEvent("on"+I,M)};this._usePushState?O("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&O("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(O,I){this.handlers.unshift({route:O,callback:I})},checkUrl:function(O){var I=this.getFragment();if(I===this.fragment&&this.iframe&&(I=this.getHash(this.iframe.contentWindow)),I===this.fragment)return!1;this.iframe&&this.navigate(I),this.loadUrl()},loadUrl:function(O){return this.matchRoot()?(O=this.fragment=this.getFragment(O),n.some(this.handlers,function(I){if(I.route.test(O))return I.callback(O),!0})):!1},navigate:function(O,I){if(!z.started)return!1;(!I||I===!0)&&(I={trigger:!!I}),O=this.getFragment(O||"");var M=this.root;(O===""||O.charAt(0)==="?")&&(M=M.slice(0,-1)||"/");var k=M+O;if(O=this.decodeFragment(O.replace(Oe,"")),this.fragment!==O){if(this.fragment=O,this._usePushState)this.history[I.replace?"replaceState":"pushState"]({},document.title,k);else if(this._wantsHashChange){if(this._updateHash(this.location,O,I.replace),this.iframe&&O!==this.getHash(this.iframe.contentWindow)){var U=this.iframe.contentWindow;I.replace||(U.document.open(),U.document.close()),this._updateHash(U.location,O,I.replace)}}else return this.location.assign(k);if(I.trigger)return this.loadUrl(O)}},_updateHash:function(O,I,M){if(M){var k=O.href.replace(/(javascript:|#).*$/,"");O.replace(k+"#"+I)}else O.hash="#"+I}}),r.history=new z;var $e=function(O,I){var M=this,k;return O&&n.has(O,"constructor")?k=O.constructor:k=function(){return M.apply(this,arguments)},n.extend(k,M,I),k.prototype=n.create(M.prototype,O),k.prototype.constructor=k,k.__super__=M.prototype,k};x.extend=P.extend=ne.extend=B.extend=z.extend=$e;var Ve=function(){throw new Error('A "url" property or function must be specified')},ae=function(O,I){var M=I.error;I.error=function(k){M&&M.call(I.context,O,k,I),O.trigger("error",O,k,I)}};return r})})(bb)),bb}var Sme=ag.exports,v7;function wme(){return v7||(v7=1,(function(e,t){(function(r,n){e.exports=n(bee,Tee())})(Sme,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(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol?"symbol":typeof _},o=n.Radio,a=n.Radio={};a.VERSION="2.0.0",a.noConflict=function(){return n.Radio=o,this},a.DEBUG=!1,a._debugText=function(_,w,T){return _+(T?" on the "+T+" channel":"")+': "'+w+'"'},a.debugLog=function(_,w,T){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(_,w,T))};var u=/\s+/;a._eventsApi=function(_,w,T,C){if(!T)return!1;var x={};if((typeof T>"u"?"undefined":i(T))==="object"){for(var R in T){var P=_[w].apply(_,[R,T[R]].concat(C));u.test(R)?r.extend(x,P):x[R]=P}return x}if(u.test(T)){for(var y=T.split(u),N=0,$=y.length;N<$;N++)x[y[N]]=_[w].apply(_,[y[N]].concat(C));return x}return!1},a._callHandler=function(_,w,T){var C=T[0],x=T[1],R=T[2];switch(T.length){case 0:return _.call(w);case 1:return _.call(w,C);case 2:return _.call(w,C,x);case 3:return _.call(w,C,x,R);default:return _.apply(w,T)}};function l(_,w,T,C){var x=_[w];if((!T||T===x.callback||T===x.callback._callback)&&(!C||C===x.context))return delete _[w],!0}function f(_,w,T,C){_||(_={});for(var x=w?[w]:r.keys(_),R=!1,P=0,y=x.length;P<y;P++)w=x[P],_[w]&&l(_,w,T,C)&&(R=!0);return R}var d={};function h(_){return d[_]||(d[_]=r.bind(a.log,a,_))}r.extend(a,{log:function(w,T){if(!(typeof console>"u")){var C=r.toArray(arguments).slice(2);console.log("["+w+'] "'+T+'"',C)}},tuneIn:function(w){var T=a.channel(w);return T._tunedIn=!0,T.on("all",h(w)),this},tuneOut:function(w){var T=a.channel(w);return T._tunedIn=!1,T.off("all",h(w)),delete d[w],this}});function p(_){return r.isFunction(_)?_:function(){return _}}a.Requests={request:function(w){var T=r.toArray(arguments).slice(1),C=a._eventsApi(this,"request",w,T);if(C)return C;var x=this.channelName,R=this._requests;if(x&&this._tunedIn&&a.log.apply(this,[x,w].concat(T)),R&&(R[w]||R.default)){var P=R[w]||R.default;return T=R[w]?T:arguments,a._callHandler(P.callback,P.context,T)}else a.debugLog("An unhandled request was fired",w,x)},reply:function(w,T,C){return a._eventsApi(this,"reply",w,[T,C])?this:(this._requests||(this._requests={}),this._requests[w]&&a.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:p(T),context:C||this},this)},replyOnce:function(w,T,C){if(a._eventsApi(this,"replyOnce",w,[T,C]))return this;var x=this,R=r.once(function(){return x.stopReplying(w),p(T).apply(this,arguments)});return this.reply(w,R,C)},stopReplying:function(w,T,C){return a._eventsApi(this,"stopReplying",w)?this:(!w&&!T&&!C?delete this._requests:f(this._requests,w,T,C)||a.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},a._channels={},a.channel=function(_){if(!_)throw new Error("You must provide a name for the channel.");return a._channels[_]?a._channels[_]:a._channels[_]=new a.Channel(_)},a.Channel=function(_){this.channelName=_},r.extend(a.Channel.prototype,n.Events,a.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var m,S,E=[n.Events,a.Requests];return r.each(E,function(_){r.each(_,function(w,T){a[T]=function(C){return S=r.toArray(arguments).slice(1),m=this.channel(C),m[T].apply(m,S)}})}),a.reset=function(_){var w=_?[this._channels[_]]:this._channels;r.each(w,function(T){T.reset()})},a})})(ag)),ag.exports}var bme=wme();const g7=Cn(bme);var wr=Tee();const Si=Cn(wr),tn={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},an={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"},Tme=/\/+$/g,Ame=wr.history.getFragment.bind(wr.history);fa(wr.history,{getFragment(e){return Ame(e).replace(Tme,"")}});const En={GetQuery(){return En.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=En.GetQuery();let r=En.SerializeQueryParams(fa(t,e));r&&(r=`?${r}`),En.UpdateUrl(`${En.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=ni.buildRoute(e,t);wr.history.navigate(n,r),wr.Radio.channel(tn.SHELL).trigger(an.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(o=>{t.push(r(n,o))});return}t.push(r(n,i))}}),t.join("&")},DeserializeQueryParams(e){return e?Wl(e.split("&"),(t,r)=>{const n=r.split("="),i=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return t[i]?t[i]instanceof Array?(t[i].push(o),t):(t[i]=[t[i],o],t):(t[i]=o,t)},{}):{}},StartHistory(){wr.History.started&&wr.history.stop(),wr.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;Go.hasActiveRoute()?wr.Radio.channel(tn.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}},Rme=/((\(\?)?:\w+)|(\*\w+)/,xme=/[\(\)]/g,Cme=/\(\/\)/g,Ome=/\/$/,Ime=/\([^)]*\)/g,Go={routingStarted(){wr.Radio.channel(tn.SHELL).trigger(an.ROUTING_START)},routingEnded(){if(!Go.hasActiveRoute())return;wr.Radio.channel(tn.SHELL).trigger(an.ROUTING_END)},hasActiveRoute(){return wr.Radio.channel(tn.SHELL).request(an.HAS_ACTIVE_ROUTE)}},m7=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;wr.Radio.channel(r).trigger(n,e,t)},ni={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:o}=e,a=wr.Radio.channel(tn.SHELL),u={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},l=a.request(an.ROUTE_LOOKUP,`${r}:${n}`,i,o,u);return l===!1?"":`/${l}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ci(n,a=>{e=e.replace(Rme,a||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(Ime,"")),e=e.replace(Cme,""),e=e.replace(xme,""),e=e.replace(Ome,""),!i)return e;const o=En.SerializeQueryParams(i);return o.length?`${e}?${o}`:e},trigger(e,t){if(!e)return;if(!Go.hasActiveRoute()){m7(e,t);return}wr.Radio.channel(tn.SHELL).once("routing:end",()=>{m7(e,t)})},getCurrentAppLink(){return wr.Radio.channel(tn.SHELL).request(an.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 o=En.SerializeQueryParams((e==null?void 0:e.params)??{}),a=En.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&o!==a)}};var Pme="4.1.3",gp=Si.Model.extend,LI=function(t){var r=this;if(t)return Ye.reduce(t,function(n,i,o){return Ye.isFunction(i)||(i=r[i]),i&&(n[o]=i),n},{})},y7=["description","fileName","lineNumber","name","message","number","url"],Ui=gp.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(Pme,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);Ye.extend(this,Ye.pick(r,y7),Ye.pick(t,y7)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,Ui)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function Aee(e,t){if(!Ye.isObject(t))throw new Ui({message:"Bindings must be an object.",url:"common.html#bindevents"});return LI.call(e,t)}function kme(e,t){return!e||!t?this:(this.listenTo(e,Aee(this,t)),this)}function Dme(e,t){return e?t?(this.stopListening(e,Aee(this,t)),this):(this.stopListening(e),this):this}function Ree(e,t){if(!Ye.isObject(t))throw new Ui({message:"Bindings must be an object.",url:"common.html#bindrequests"});return LI.call(e,t)}function Lme(e,t){return!e||!t?this:(e.reply(Ree(this,t),this),this)}function Nme(e,t){return e?t?(e.stopReplying(Ree(this,t),this),this):(e.stopReplying(null,null,this),this):this}var xee=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},Mme=function(t,r){var n=this;t&&Ye.each(r,function(i){var o=t[i];o!==void 0&&(n[i]=o)})};function ey(e,t,r){e._getImmediateChildren&&Ye.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function Cee(e){return!e._isAttached}function $me(e){return Cee(e)?(e._isAttached=!0,!0):!1}function Fme(e){return e._isAttached}function jme(e){return e._isAttached=!1,!0}function Oee(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function Iee(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function Ume(){ey(this,"before:attach",Cee)}function qme(){ey(this,"attach",$me),Oee(this)}function Bme(){ey(this,"before:detach",Fme),Iee(this)}function Vme(){ey(this,"detach",jme)}function Hme(){Iee(this)}function zme(){Oee(this)}function Ig(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":Ume,attach:qme,"before:detach":Bme,detach:Vme,"before:render":Hme,render:zme}))}var Wme=/(^|:)(\w)/gi,Tb={};function Gme(e,t,r){return r.toUpperCase()}var Kme=function(t){return Tb[t]||(Tb[t]="on"+t.replace(Wme,Gme)),Tb[t]};function Yme(e){var t=Kme(e),r=xee.call(this,t),n;return Ye.isFunction(r)&&(n=r.apply(this,Ye.drop(arguments))),this.trigger.apply(this,arguments),n}var fd={normalizeMethods:LI,_setOptions:function(t,r){this.options=Ye.extend({},Ye.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:Mme,getOption:xee,bindEvents:kme,unbindEvents:Dme,bindRequests:Lme,unbindRequests:Nme,triggerMethod:Yme};Ye.extend(fd,Si.Events);var Pee={_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)}},kee={_initRadio:function(){var t=Ye.result(this,"channelName");if(t){if(!g7)throw new Ui({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=g7.channel(t),n=Ye.result(this,"radioEvents");this.bindEvents(r,n);var i=Ye.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}},Xme=["channelName","radioEvents","radioRequests"],Tc=function(t){this._setOptions(t,Xme),this.cid=Ye.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Tc.extend=gp;Ye.extend(Tc.prototype,fd,Pee,kee,{cidPrefix:"mno",initialize:function(){}});var zo=Ye.invokeMap||Ye.invoke;function Qme(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(Ye.isFunction(e))return{BehaviorClass:e,options:{}};throw new Ui({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 Dee(e,t,r){return Ye.reduce(t,function(n,i){var o=Qme(i),a=o.BehaviorClass,u=o.options,l=new a(u,e);return n.push(l),Dee(e,Ye.result(l,"behaviors"),n)},r)}var Jme={_initBehaviors:function(){this._behaviors=Dee(this,Ye.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=zo(this._behaviors,"_getTriggers");return Ye.reduce(t,function(r,n){return Ye.extend(r,n)},{})},_getBehaviorEvents:function(){var t=zo(this._behaviors,"_getEvents");return Ye.reduce(t,function(r,n){return Ye.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){zo(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){zo(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){zo(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){zo(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=Ye.without(this._behaviors,t))},_bindBehaviorUIElements:function(){zo(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){zo(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){zo(this._behaviors,"triggerMethod",t,r,n)}},Lee={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=Ye.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=Ye.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}},Zme={_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=Ye.result(this,"templateContext");return r?t?Ye.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 Ye.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)}},eye=/^(\S+)\s*(.*)$/,Nee=function(t,r){var n=t.match(eye);return"".concat(n[1],".").concat(r," ").concat(n[2])},tye={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function Qx(e){return!!tye[e]}function rye(e,t){Ye.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;Qx("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return Qx("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(o){n&&o.preventDefault(),i&&o.stopPropagation();for(var a=arguments.length,u=new Array(a>1?a-1:0),l=1;l<a;l++)u[l-1]=arguments[l];e.triggerMethod.apply(e,[r,e,o].concat(u))}}var Mee={_getViewTriggers:function(t,r){var n=this;return Ye.reduce(r,function(i,o,a){return a=Nee(a,"trig".concat(n.cid)),i[a]=rye(t,o),i},{})}},nye=function(t,r){return Ye.reduce(t,function(n,i,o){var a=Pg(o,r);return n[a]=i,n},{})},iye=/@ui\.[a-zA-Z-_$0-9]*/g,Pg=function(t,r){return t.replace(iye,function(n){return r[n.slice(4)]})},aye=function(t,r,n){return Ye.each(t,function(i,o){if(Ye.isString(i))t[o]=Pg(i,r);else if(i){var a=i[n];Ye.isString(a)&&(i[n]=Pg(a,r))}}),t},$ee={normalizeUIKeys:function(t){var r=this._getUIBindings();return nye(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return Pg(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return aye(t,n,r)},_getUIBindings:function(){var t=Ye.result(this,"_uiBindings");return t||Ye.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=Ye.result(this,"_uiBindings");this._ui={},Ye.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(Ye.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 Rl(e){return e instanceof Si.$?e:Si.$(e)}function NI(e){return this.prototype.Dom=Ye.extend({},this.prototype.Dom,e),this}var Fee={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Rl(t)},findEl:function(t,r){return Rl(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]:Rl(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 o=t.nextSibling,a=r.nextSibling;n.insertBefore(r,o),i.insertBefore(t,a)}}},setContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rl(t);n.html(r)},appendContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n._$el,o=i===void 0?Rl(t):i,a=n._$contents,u=a===void 0?Rl(r):a;o.append(u)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rl(t);r.contents().detach()}},MI={Dom:Fee,_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=Ye.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Si.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(Ye.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(Ye.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(Ye.result(this,"childViewEvents")),this._childViewTriggers=Ye.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=Qx("childViewEventPrefix")?"childview":!1,r=Ye.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),o=1;o<n;o++)i[o-1]=arguments[o];r&&r[t]&&r[t].apply(this,i);var a=this._childViewTriggers;a&&a[t]&&this.triggerMethod.apply(this,[a[t]].concat(i)),this._eventPrefix&&this.triggerMethod.apply(this,[this._eventPrefix+t].concat(i))}};Ye.extend(MI,Jme,fd,Lee,Zme,Mee,$ee);function jee(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function Uee(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 Xd="RegionError",oye=["allowMissingEl","parentEl","replaceElement"],Ac=function(t){this._setOptions(t,oye),this.cid=Ye.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Si.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Ac.extend=gp;Ac.setDomApi=NI;Ye.extend(Ac.prototype,fd,{Dom:Fee,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 Ui({name:Xd,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,jee(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new Ui({name:Xd,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){Ig(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(),o=typeof n>"u"?!!Ye.result(this,"replaceElement"):!!n;i&&t.triggerMethod("before:attach",t),o?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(Ye.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!Ye.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new Ui({name:Xd,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 Ui({name:Xd,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 Ui({name:Xd,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Si.View)return t;var r=this._getViewOptions(t);return new $I(r)},_getViewOptions:function(t){if(Ye.isFunction(t))return{template:t};if(Ye.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=Ye.result(this,"parentEl");return r&&Ye.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||Uee(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 qee(e,t){if(e instanceof Ac)return e;if(Ye.isString(e))return Ab(t,{el:e});if(Ye.isFunction(e))return Ab(t,{regionClass:e});if(Ye.isObject(e))return Ab(t,e);throw new Ui({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function Ab(e,t){var r=Ye.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var sye={regionClass:Ac,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(Ye.result(this,"regions"))},_reInitRegions:function(){zo(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!Ye.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=Ye.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:Ye.partial(Ye.result,this,"el")};return Ye.reduce(t,function(i,o,a){return i[a]=qee(o,n),r._addRegion(i[a],a),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 Ye.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 zo(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return Ye.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 Bee(e){return this.prototype._renderHtml=e,this}var uye=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function lye(e,t){return t.currentView&&e.push(t.currentView),e}var $I=Si.View.extend({constructor:function(t){this._setOptions(t,uye),Ig(this),this._initBehaviors(),this._initRegions(),Si.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Si.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 Ye.reduce(this._regions,lye,[])}},{setRenderer:Bee,setDomApi:NI});Ye.extend($I.prototype,MI,sye);var kg=function(){this._init()},cye=["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"];Ye.each(cye,function(e){kg.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ye[e].apply(Ye,[this._views].concat(r))}});function fye(e,t){return t.model&&t.model.get(e)}Ye.extend(kg.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=Ye.partial(fye,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=Ye.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={},Ye.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 o=this._views[n];this._views[n]=this._views[i],this._views[i]=o}},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 sf="CollectionViewError",dye=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],hye=Si.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,dye),Ig(this),this._initChildViewStorage(),this._initBehaviors(),Si.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new kg,this.children=new kg},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Ac({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,o=r.remove;!this.sortWithCollection||this.viewComparator===!1||n||o||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 Ye.reduce(t,function(n,i){var o=r._removeChildModel(i);return o&&n.push(o),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 Ye.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 Ui({name:sf,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new Ui({name:sf,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 Si.View||t===Si.View)return t;if(Ye.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return Ye.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=Ye.extend({model:t},n);return new r(i)},_setupChildView:function(t){Ig(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Si.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=Ye.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new Ui({name:sf,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,o=i&&!n;return this.viewComparator=t,o&&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=[],o=[];Ye.each(this._children._views,function(a,u,l){(r.call(t,a,u,l)?i:o).push(a)}),this._detachChildren(o),this.children._set(i,!0),this.triggerMethod("filter",this,i,o)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if(Ye.isFunction(t))return t;if(Ye.isObject(t)){var r=Ye.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(Ye.isString(t))return function(n){return n.model&&n.model.get(t)};throw new Ui({name:sf,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,o=i&&!n;return this.viewFilter=t,o&&this.filter(),this},removeFilter:function(t){return this.setFilter(null,t)},_detachChildren:function(t){Ye.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 Ye.each(t,function(i){jee(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:[],Ye.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),Ye.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 Ye.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new Ui({name:sf,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 Ui({name:sf,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(Ye.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",o=!i||r>=this._children.length;return o&&!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){Ye.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;Uee(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:NI,setRenderer:Bee});Ye.extend(hye.prototype,MI);var pye=["collectionEvents","events","modelEvents","triggers","ui"],Vee=function(t,r){this.view=r,this._setOptions(t,pye),this.cid=Ye.uniqueId(this.cidPrefix),this.ui=Ye.extend({},Ye.result(this,"ui"),Ye.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};Vee.extend=gp;Ye.extend(Vee.prototype,fd,Lee,Mee,$ee,{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(Ye.result(this,"events"));return Ye.reduce(r,function(n,i,o){return Ye.isFunction(i)||(i=t[i]),i&&(o=Nee(o,t.cid),n[o]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(Ye.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var vye=["channelName","radioEvents","radioRequests","region","regionClass"],ty=function(t){this._setOptions(t,vye),this.cid=Ye.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};ty.extend=gp;Ye.extend(ty.prototype,fd,Pee,kee,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Ac,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=qee(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),o=1;o<n;o++)i[o-1]=arguments[o];return r.show.apply(r,[t].concat(i)),t},getView:function(){return this.getRegion().currentView}});var FI=(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))(FI||{}),Jx=(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))(Jx||{});class Hee extends Error{constructor(t){super(t)}}class ry extends Hee{get name(){return"SilentError"}}class qi extends Error{get name(){return"CoreError"}}const nr={throw(e){if(wr.Radio.channel(tn.SHELL).trigger(an.ERROR,e),!(e instanceof ry))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===Jx.ClientError||t===Jx.ServerError}};function ll(e,t,r,n){let i=e;return typeof e=="string"&&(i=wr.Radio.channel(e)),n.call(this,i,t,r)}class gye extends ty{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),Ye.result(this,"name")||nr.throw(new qi("BaseApplication must define a name")),Ye.result(this,"channelName")||nr.throw(new qi("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),an.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||nr.throw(new qi(`Global channel ${n} does not exist`)),wr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=Ye.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(Ye.extend(this.layoutOptions,{options:t})),this.layout||nr.throw(new qi(`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")||nr.throw(new qi("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){nr.throw(new qi("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=Ye.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return ll.call(this,t[0],t[1],t[2],super.listenTo)}}/**
31
+ * @license
32
+ * MarionetteJS (Marionette.AppRouter)
33
+ * ----------------------------------
34
+ * v1.0.1
35
+ *
36
+ * Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
37
+ * Distributed under MIT license
38
+ *
39
+ * http://marionettejs.com
40
+ */var mye=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],yye=["appRoutes","controller"],zee=Si.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,yye),Si.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(Ye.isFunction(this.onRoute)){var n=Ye.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=Ye.keys(r).reverse();return Ye.each(i,function(o){n._addAppRoute(t,o,r[o])}),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,Ye.bind(i,t))}});Ye.extend(zee.prototype,Ye.pick(Tc.prototype,mye));class Rf{constructor(){this.stack=[]}useAsync(t){const r=n=>(i,o)=>n(i,a=>t(a,o));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 _ye=/([A-Z])/g,Eye=/(^|:)(\w)/gi;class jI extends zee{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Rf,r=this.options.shell.routeMiddleware,n=this.appRoutes;return Ye.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},o=>i(o.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((o,[a,u])=>({...o,[u]:a}),{}),i=Object.entries(r).reduce((o,[a,u])=>({...o,[u]:a}),{});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(Ye.isFunction(this.onRoute)){const n=Ye.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(tn.SHELL,an.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Rf;return Ye.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,o)=>{const u={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:o,currentRoute:r,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,u),f=this.toMethodName(l.action),d=this._routeLookup.modifiedRoutes[f];return ni.buildRoute(d??r,l,o)})}processInternalRoutes(){Ye.each(Ye.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,o)=>{(!o||!o.usedHelper)&&nr.throw(new qi("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a={appLink:i,appLinkOptions:o,currentRoute:t,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,a),l=this.toMethodName(u.action),f=this._routeLookup.modifiedRoutes[l];this.executeRoute(u,{isAppRoute:!0,route:f??t},d=>{const h=Ye.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,En.UpdateUrl(f??t,d,o)})})})}triggerNavLocked(t,r){t.trigger(an.NAV_IS_LOCKED,r),Go.routingEnded()}processExternalRoutes(){this.externalRoutes&&Ye.each(Ye.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,o)=>{(!o||!o.usedHelper)&&nr.throw(new qi("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a=wr.Radio.channel(tn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(a,i);return}En.PageLoad(ni.getHref(i))})})}processAppLinks(){this.appLinks&&Ye.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&nr.throw(new qi("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),Go.routingStarted();const i=wr.Radio.channel(tn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(i,t);return}const o={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},a=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,o),u=this.toMethodName(a.action),l=new Rf;Ye.each(this.filters,f=>l.useAsync(f)),l.goAsync({appLink:a,shell:this.options.shell},()=>{i.trigger(an.ROUTE,a,r),this.createApp();const f=this.controller;if(Ye.isFunction(f[u])||(Go.routingEnded(),nr.throw(new qi(`${u} does not exist on the ${Ye.result(f,"name")}.`))),f.triggerMethod("before:action",t)===!1){f.triggerMethod("action:cancelled"),Go.routingEnded();return}f.triggerMethod("load:layout");const d={appLink:a,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);f[u].apply(f,[...h.args||[],h.params||{}]),Ye.isFunction(n)&&n(a),Go.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 o={application:this.channelName,action:this.toEventName(n),args:i.slice(0,i.length-1),params:En.DeserializeQueryParams(i[i.length-1])};this.executeRoute(o,{isAppRoute:!0,route:r},()=>{En.UpdateQuery(Ye.extend(this.controller.getAndClearDefaultQueryParams(),o.params))})})}toEventName(t){return t.replace(_ye,":$1").toLowerCase()}toMethodName(t){const r=t.replace(Eye,(n,i,o)=>o.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(Go.routingEnded(),nr.throw(new qi("Invalid AppLink")))}listenTo(...t){return ll.call(this,t[0],t[1],t[2],super.listenTo)}}class ny extends wr.Collection{listenTo(...t){return ll.call(this,t[0],t[1],t[2],super.listenTo)}}class ln extends Hee{get name(){return"DevError"}}class Sye{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 iy=Sye.Instance;function wye(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const bye=["model","collection","el","id","attributes","className","tagName","events"];wr.View.prototype.constructor=function(e){this.cid=Ye.uniqueId("view");const t=bye.filter(r=>{var n;return!((n=wye(this,r))!=null&&n.get)});Ye.extend(this,Ye.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const Tf=class Tf extends $I{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=Ye.extend({},Ye.result(this,"defaults"),t)}_setAttributes(t){iy.isDevelopment&&Ye.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),Ye.result(this,"name")||nr.throw(new qi(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){Tf.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",Ye.result(this,"className"))}serializeData(){const t=super.serializeData(),r=Ye.result(this,"viewOptions"),n=Ye.extend({},t,{options:r});return Tf.ViewDataExtensions.length?Ye.extend(n,...Ye.map(Tf.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(),Ye.each(Ye.keys(t),r=>{let n=r;const i=t[r],o=ni.getHref(i);n==="[this]"&&(n=null);const a=n?this.$el.find(r):this.$el;!a.is("a")&&!a.is("button")||(o&&o!=="/"&&a.attr("href",o),this.delegate(`click.appLinks${this.cid}`,n,function(u){u.preventDefault(),ni.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=Ye.some(t.regions,(r=>Ye.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){wr.Radio.channel(tn.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return ll.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(){}};Tf.ViewDataExtensions=[];let Zx=Tf;class Tye extends Zx{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=Ye.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return Ye.each(r,o=>{const a=this.requiredResources[o];if(a.beforeOnBeforeRender!==t)return;const u=a.dataServiceName;this.resourceInstances[u]||(this.resourceInstances[u]=a.getInstance(this)),this.boundListeners[`${u}:${a.eventName}`]||(this.listenTo(this.resourceInstances[u].channelName,a.eventName,this.render),this.boundListeners[`${u}:${a.eventName}`]=!0),n[o]=a.getData(this.resourceInstances[u]),i=i&&!!n[o]}),i}setTitle(){!Ye.isString(this.title)&&this.title!==!1&&nr.throw(new ln(`Must define a title for ${this.name}.`)),wr.Radio.channel(tn.SHELL).trigger("set:page:title",this.title)}}class Aye extends Tye{constructor(t){super(t)}static getCacheKey(t){nr.throw(new ln(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class nu extends wr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=fa({},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 ll.call(this,t[0],t[1],t[2],super.listenTo)}}class _7 extends nu{set(t,r,n){let i,o;if(t===null)return this;typeof t=="object"?(o=t,n=r):(o={},o[t]=r),n||(n={});for(i in o)Ch(this.associations,i)&&(o[i]=this.setAssociation(i,o[i],n));return super.set.call(this,o,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||!qr(i.get))return super.get.call(this,t);const o=t.substr(r+1);return i.get(o)}setAssociation(t,r,n){const i=this.associations[t],o=this.attributes[t];if(!qr(i))return r;if(n.unset)return o&&delete o.parent,delete this[t],o;if(o)return o instanceof nu&&o.set(r,n),o instanceof ny&&o.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),o;const a=r instanceof nu?r:new i(r,{parse:!0});return a.parent=this,this[t]=a,a}toJSON(...t){const r=super.toJSON.apply(this,t);return Ci(this.associations,(n,i)=>{Ch(r,i)&&qr(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return vp(super.toJSON.apply(this,t),hi(this.associations))}}class Fa extends Tc{constructor(t){super(t),this.name||nr.throw(new qi("Your service must be named."))}listenTo(...t){return ll.call(this,t[0],t[1],t[2],super.listenTo)}}class Rye extends Tc{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]||nr.throw(new qi(`${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){Ci(this.requiredRegions,r=>{Ch(Af(t.prototype,"regions"),r)||nr.throw(new qi(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return ll.call(this,t[0],t[1],t[2],super.listenTo)}}class xye{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class Cye extends ty{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(tn.SHELL,an.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(tn.SHELL,an.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(tn.SHELL,an.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(tn.SHELL,an.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(tn.SHELL,an.ROUTE,r=>this.shellState.currentAppLink=r);const t=wr.Radio.channel(tn.SHELL);t.reply(an.HAS_ACTIVE_ROUTE,Ye.bind(this.hasActiveRoute,this)),t.reply(an.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{Go.routingEnded()})}bindErrorListener(){const t=wr.Radio.channel(tn.SHELL);this.listenTo(t,an.ERROR,this.handleError)}bindRouteLookup(){wr.Radio.channel(tn.SHELL).reply(an.ROUTE_LOOKUP,(r,n,i,o)=>this.routeLookup[r]?this.routeLookup[r](n,i,o):!1,this)}addRouteLookup(t,r){this.routeLookup[t]=r}registerApplication(t,r){return this.applications.push(new xye(t,r)),this}getGlobalRadioChannels(){return tn}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=Ye.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(),En.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,o)=>r(n,i,()=>t(n,i,o)))(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||nr.throw(new qi("An error must have a name in order to register a handler for it.")),Ye.any(this.errorHandlers,n=>n.errorType===t)&&nr.throw(new qi(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=Ye.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 ll.call(this,t[0],t[1],t[2],super.listenTo)}}const da={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Ss=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Ss||{}),ji=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(ji||{});function E7(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const Oye=[ji.POST,ji.PUT];function Iye(e){const{resource:t,type:r,headers:n,success:i,error:o,always:a}=e,u={url:t,method:r,contentType:"application/json; charset=utf-8"};Oye.includes(r)&&e.data&&(u.data=JSON.stringify(e.data)),n&&(u.headers=n),_s.ajax(u).done((l,f,d)=>{i&&i(l,E7(d))}).fail(l=>{o&&o(E7(l))}).always(()=>{a&&a()})}const Wee="id";function Rb(e,t={}){const{idAttribute:r=Wee,namespace:n=""}=t;return`${n}__${e[r]}`}function Gee(e,t,r,n={}){const{idAttribute:i=Wee}=n,o={...e};if(r.has(e))return e[i]?Rb(e,n):o;if(r.add(e),Object.keys(e).forEach(a=>{const u=e[a];if(u){if(Array.isArray(u)){o[a]=u.map(l=>UI(l,t,r,n));return}if(typeof u=="object"){const l=Gee(u,t,r,n);u[i]?o[a]=Rb(u,n):o[a]=l}}}),e[i]){const a=Rb(e,n);return t[a]?t[a]={...t[a],...o}:t[a]=o,a}return o}function UI(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>UI(i,t,r,n)):typeof e=="object"?Gee(e,t,r,n):e)}function Kee(e,t){const r={};return{result:UI(e,r,new Set,t),entities:r}}var xb,S7;function Pye(){if(S7)return xb;S7=1;function e(){this.__data__=[],this.size=0}return xb=e,xb}var Cb,w7;function Yee(){if(w7)return Cb;w7=1;function e(t,r){return t===r||t!==t&&r!==r}return Cb=e,Cb}var Ob,b7;function ay(){if(b7)return Ob;b7=1;var e=Yee();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Ob=t,Ob}var Ib,T7;function kye(){if(T7)return Ib;T7=1;var e=ay(),t=Array.prototype,r=t.splice;function n(i){var o=this.__data__,a=e(o,i);if(a<0)return!1;var u=o.length-1;return a==u?o.pop():r.call(o,a,1),--this.size,!0}return Ib=n,Ib}var Pb,A7;function Dye(){if(A7)return Pb;A7=1;var e=ay();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return Pb=t,Pb}var kb,R7;function Lye(){if(R7)return kb;R7=1;var e=ay();function t(r){return e(this.__data__,r)>-1}return kb=t,kb}var Db,x7;function Nye(){if(x7)return Db;x7=1;var e=ay();function t(r,n){var i=this.__data__,o=e(i,r);return o<0?(++this.size,i.push([r,n])):i[o][1]=n,this}return Db=t,Db}var Lb,C7;function oy(){if(C7)return Lb;C7=1;var e=Pye(),t=kye(),r=Dye(),n=Lye(),i=Nye();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,Lb=o,Lb}var Nb,O7;function Mye(){if(O7)return Nb;O7=1;var e=oy();function t(){this.__data__=new e,this.size=0}return Nb=t,Nb}var Mb,I7;function $ye(){if(I7)return Mb;I7=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Mb=e,Mb}var $b,P7;function Fye(){if(P7)return $b;P7=1;function e(t){return this.__data__.get(t)}return $b=e,$b}var Fb,k7;function jye(){if(k7)return Fb;k7=1;function e(t){return this.__data__.has(t)}return Fb=e,Fb}var jb,D7;function Xee(){if(D7)return jb;D7=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return jb=e,jb}var Ub,L7;function Cs(){if(L7)return Ub;L7=1;var e=Xee(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Ub=r,Ub}var qb,N7;function sy(){if(N7)return qb;N7=1;var e=Cs(),t=e.Symbol;return qb=t,qb}var Bb,M7;function Uye(){if(M7)return Bb;M7=1;var e=sy(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function o(a){var u=r.call(a,i),l=a[i];try{a[i]=void 0;var f=!0}catch{}var d=n.call(a);return f&&(u?a[i]=l:delete a[i]),d}return Bb=o,Bb}var Vb,$7;function qye(){if($7)return Vb;$7=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Vb=r,Vb}var Hb,F7;function mp(){if(F7)return Hb;F7=1;var e=sy(),t=Uye(),r=qye(),n="[object Null]",i="[object Undefined]",o=e?e.toStringTag:void 0;function a(u){return u==null?u===void 0?i:n:o&&o in Object(u)?t(u):r(u)}return Hb=a,Hb}var zb,j7;function yp(){if(j7)return zb;j7=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return zb=e,zb}var Wb,U7;function Qee(){if(U7)return Wb;U7=1;var e=mp(),t=yp(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",o="[object Proxy]";function a(u){if(!t(u))return!1;var l=e(u);return l==n||l==i||l==r||l==o}return Wb=a,Wb}var Gb,q7;function Bye(){if(q7)return Gb;q7=1;var e=Cs(),t=e["__core-js_shared__"];return Gb=t,Gb}var Kb,B7;function Vye(){if(B7)return Kb;B7=1;var e=Bye(),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 Kb=r,Kb}var Yb,V7;function Jee(){if(V7)return Yb;V7=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 Yb=r,Yb}var Xb,H7;function Hye(){if(H7)return Xb;H7=1;var e=Qee(),t=Vye(),r=yp(),n=Jee(),i=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!r(p)||t(p))return!1;var m=e(p)?d:o;return m.test(n(p))}return Xb=h,Xb}var Qb,z7;function zye(){if(z7)return Qb;z7=1;function e(t,r){return t==null?void 0:t[r]}return Qb=e,Qb}var Jb,W7;function Rc(){if(W7)return Jb;W7=1;var e=Hye(),t=zye();function r(n,i){var o=t(n,i);return e(o)?o:void 0}return Jb=r,Jb}var Zb,G7;function qI(){if(G7)return Zb;G7=1;var e=Rc(),t=Cs(),r=e(t,"Map");return Zb=r,Zb}var eT,K7;function uy(){if(K7)return eT;K7=1;var e=Rc(),t=e(Object,"create");return eT=t,eT}var tT,Y7;function Wye(){if(Y7)return tT;Y7=1;var e=uy();function t(){this.__data__=e?e(null):{},this.size=0}return tT=t,tT}var rT,X7;function Gye(){if(X7)return rT;X7=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return rT=e,rT}var nT,Q7;function Kye(){if(Q7)return nT;Q7=1;var e=uy(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(o){var a=this.__data__;if(e){var u=a[o];return u===t?void 0:u}return n.call(a,o)?a[o]:void 0}return nT=i,nT}var iT,J7;function Yye(){if(J7)return iT;J7=1;var e=uy(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var o=this.__data__;return e?o[i]!==void 0:r.call(o,i)}return iT=n,iT}var aT,Z7;function Xye(){if(Z7)return aT;Z7=1;var e=uy(),t="__lodash_hash_undefined__";function r(n,i){var o=this.__data__;return this.size+=this.has(n)?0:1,o[n]=e&&i===void 0?t:i,this}return aT=r,aT}var oT,e9;function Qye(){if(e9)return oT;e9=1;var e=Wye(),t=Gye(),r=Kye(),n=Yye(),i=Xye();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,oT=o,oT}var sT,t9;function Jye(){if(t9)return sT;t9=1;var e=Qye(),t=oy(),r=qI();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return sT=n,sT}var uT,r9;function Zye(){if(r9)return uT;r9=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return uT=e,uT}var lT,n9;function ly(){if(n9)return lT;n9=1;var e=Zye();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return lT=t,lT}var cT,i9;function e_e(){if(i9)return cT;i9=1;var e=ly();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return cT=t,cT}var fT,a9;function t_e(){if(a9)return fT;a9=1;var e=ly();function t(r){return e(this,r).get(r)}return fT=t,fT}var dT,o9;function r_e(){if(o9)return dT;o9=1;var e=ly();function t(r){return e(this,r).has(r)}return dT=t,dT}var hT,s9;function n_e(){if(s9)return hT;s9=1;var e=ly();function t(r,n){var i=e(this,r),o=i.size;return i.set(r,n),this.size+=i.size==o?0:1,this}return hT=t,hT}var pT,u9;function Zee(){if(u9)return pT;u9=1;var e=Jye(),t=e_e(),r=t_e(),n=r_e(),i=n_e();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,pT=o,pT}var vT,l9;function i_e(){if(l9)return vT;l9=1;var e=oy(),t=qI(),r=Zee(),n=200;function i(o,a){var u=this.__data__;if(u instanceof e){var l=u.__data__;if(!t||l.length<n-1)return l.push([o,a]),this.size=++u.size,this;u=this.__data__=new r(l)}return u.set(o,a),this.size=u.size,this}return vT=i,vT}var gT,c9;function a_e(){if(c9)return gT;c9=1;var e=oy(),t=Mye(),r=$ye(),n=Fye(),i=jye(),o=i_e();function a(u){var l=this.__data__=new e(u);this.size=l.size}return a.prototype.clear=t,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=i,a.prototype.set=o,gT=a,gT}var mT,f9;function o_e(){if(f9)return mT;f9=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 mT=e,mT}var yT,d9;function s_e(){if(d9)return yT;d9=1;var e=Rc(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return yT=t,yT}var _T,h9;function ete(){if(h9)return _T;h9=1;var e=s_e();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return _T=t,_T}var ET,p9;function tte(){if(p9)return ET;p9=1;var e=ete(),t=Yee(),r=Object.prototype,n=r.hasOwnProperty;function i(o,a,u){var l=o[a];(!(n.call(o,a)&&t(l,u))||u===void 0&&!(a in o))&&e(o,a,u)}return ET=i,ET}var ST,v9;function cy(){if(v9)return ST;v9=1;var e=tte(),t=ete();function r(n,i,o,a){var u=!o;o||(o={});for(var l=-1,f=i.length;++l<f;){var d=i[l],h=a?a(o[d],n[d],d,o,n):void 0;h===void 0&&(h=n[d]),u?t(o,d,h):e(o,d,h)}return o}return ST=r,ST}var wT,g9;function u_e(){if(g9)return wT;g9=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return wT=e,wT}var bT,m9;function dd(){if(m9)return bT;m9=1;function e(t){return t!=null&&typeof t=="object"}return bT=e,bT}var TT,y9;function l_e(){if(y9)return TT;y9=1;var e=mp(),t=dd(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return TT=n,TT}var AT,_9;function c_e(){if(_9)return AT;_9=1;var e=l_e(),t=dd(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,o=e((function(){return arguments})())?e:function(a){return t(a)&&n.call(a,"callee")&&!i.call(a,"callee")};return AT=o,AT}var RT,E9;function hd(){if(E9)return RT;E9=1;var e=Array.isArray;return RT=e,RT}var oh={exports:{}},xT,S9;function f_e(){if(S9)return xT;S9=1;function e(){return!1}return xT=e,xT}oh.exports;var w9;function rte(){return w9||(w9=1,(function(e,t){var r=Cs(),n=f_e(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,u=a?r.Buffer:void 0,l=u?u.isBuffer:void 0,f=l||n;e.exports=f})(oh,oh.exports)),oh.exports}var CT,b9;function d_e(){if(b9)return CT;b9=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var o=typeof n;return i=i??e,!!i&&(o=="number"||o!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return CT=r,CT}var OT,T9;function nte(){if(T9)return OT;T9=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return OT=t,OT}var IT,A9;function h_e(){if(A9)return IT;A9=1;var e=mp(),t=nte(),r=dd(),n="[object Arguments]",i="[object Array]",o="[object Boolean]",a="[object Date]",u="[object Error]",l="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",m="[object Set]",S="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",T="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",R="[object Int16Array]",P="[object Int32Array]",y="[object Uint8Array]",N="[object Uint8ClampedArray]",$="[object Uint16Array]",H="[object Uint32Array]",B={};B[T]=B[C]=B[x]=B[R]=B[P]=B[y]=B[N]=B[$]=B[H]=!0,B[n]=B[i]=B[_]=B[o]=B[w]=B[a]=B[u]=B[l]=B[f]=B[d]=B[h]=B[p]=B[m]=B[S]=B[E]=!1;function W(Y){return r(Y)&&t(Y.length)&&!!B[e(Y)]}return IT=W,IT}var PT,R9;function BI(){if(R9)return PT;R9=1;function e(t){return function(r){return t(r)}}return PT=e,PT}var sh={exports:{}};sh.exports;var x9;function VI(){return x9||(x9=1,(function(e,t){var r=Xee(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,u=(function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}})();e.exports=u})(sh,sh.exports)),sh.exports}var kT,C9;function p_e(){if(C9)return kT;C9=1;var e=h_e(),t=BI(),r=VI(),n=r&&r.isTypedArray,i=n?t(n):e;return kT=i,kT}var DT,O9;function ite(){if(O9)return DT;O9=1;var e=u_e(),t=c_e(),r=hd(),n=rte(),i=d_e(),o=p_e(),a=Object.prototype,u=a.hasOwnProperty;function l(f,d){var h=r(f),p=!h&&t(f),m=!h&&!p&&n(f),S=!h&&!p&&!m&&o(f),E=h||p||m||S,_=E?e(f.length,String):[],w=_.length;for(var T in f)(d||u.call(f,T))&&!(E&&(T=="length"||m&&(T=="offset"||T=="parent")||S&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||i(T,w)))&&_.push(T);return _}return DT=l,DT}var LT,I9;function HI(){if(I9)return LT;I9=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return LT=t,LT}var NT,P9;function ate(){if(P9)return NT;P9=1;function e(t,r){return function(n){return t(r(n))}}return NT=e,NT}var MT,k9;function v_e(){if(k9)return MT;k9=1;var e=ate(),t=e(Object.keys,Object);return MT=t,MT}var $T,D9;function g_e(){if(D9)return $T;D9=1;var e=HI(),t=v_e(),r=Object.prototype,n=r.hasOwnProperty;function i(o){if(!e(o))return t(o);var a=[];for(var u in Object(o))n.call(o,u)&&u!="constructor"&&a.push(u);return a}return $T=i,$T}var FT,L9;function ote(){if(L9)return FT;L9=1;var e=Qee(),t=nte();function r(n){return n!=null&&t(n.length)&&!e(n)}return FT=r,FT}var jT,N9;function zI(){if(N9)return jT;N9=1;var e=ite(),t=g_e(),r=ote();function n(i){return r(i)?e(i):t(i)}return jT=n,jT}var UT,M9;function m_e(){if(M9)return UT;M9=1;var e=cy(),t=zI();function r(n,i){return n&&e(i,t(i),n)}return UT=r,UT}var qT,$9;function y_e(){if($9)return qT;$9=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return qT=e,qT}var BT,F9;function __e(){if(F9)return BT;F9=1;var e=yp(),t=HI(),r=y_e(),n=Object.prototype,i=n.hasOwnProperty;function o(a){if(!e(a))return r(a);var u=t(a),l=[];for(var f in a)f=="constructor"&&(u||!i.call(a,f))||l.push(f);return l}return BT=o,BT}var VT,j9;function WI(){if(j9)return VT;j9=1;var e=ite(),t=__e(),r=ote();function n(i){return r(i)?e(i,!0):t(i)}return VT=n,VT}var HT,U9;function E_e(){if(U9)return HT;U9=1;var e=cy(),t=WI();function r(n,i){return n&&e(i,t(i),n)}return HT=r,HT}var uh={exports:{}};uh.exports;var q9;function S_e(){return q9||(q9=1,(function(e,t){var r=Cs(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;function l(f,d){if(d)return f.slice();var h=f.length,p=u?u(h):new f.constructor(h);return f.copy(p),p}e.exports=l})(uh,uh.exports)),uh.exports}var zT,B9;function w_e(){if(B9)return zT;B9=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 zT=e,zT}var WT,V9;function b_e(){if(V9)return WT;V9=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,o=0,a=[];++n<i;){var u=t[n];r(u,n,t)&&(a[o++]=u)}return a}return WT=e,WT}var GT,H9;function ste(){if(H9)return GT;H9=1;function e(){return[]}return GT=e,GT}var KT,z9;function GI(){if(z9)return KT;z9=1;var e=b_e(),t=ste(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,o=i?function(a){return a==null?[]:(a=Object(a),e(i(a),function(u){return n.call(a,u)}))}:t;return KT=o,KT}var YT,W9;function T_e(){if(W9)return YT;W9=1;var e=cy(),t=GI();function r(n,i){return e(n,t(n),i)}return YT=r,YT}var XT,G9;function ute(){if(G9)return XT;G9=1;function e(t,r){for(var n=-1,i=r.length,o=t.length;++n<i;)t[o+n]=r[n];return t}return XT=e,XT}var QT,K9;function lte(){if(K9)return QT;K9=1;var e=ate(),t=e(Object.getPrototypeOf,Object);return QT=t,QT}var JT,Y9;function cte(){if(Y9)return JT;Y9=1;var e=ute(),t=lte(),r=GI(),n=ste(),i=Object.getOwnPropertySymbols,o=i?function(a){for(var u=[];a;)e(u,r(a)),a=t(a);return u}:n;return JT=o,JT}var ZT,X9;function A_e(){if(X9)return ZT;X9=1;var e=cy(),t=cte();function r(n,i){return e(n,t(n),i)}return ZT=r,ZT}var eA,Q9;function fte(){if(Q9)return eA;Q9=1;var e=ute(),t=hd();function r(n,i,o){var a=i(n);return t(n)?a:e(a,o(n))}return eA=r,eA}var tA,J9;function R_e(){if(J9)return tA;J9=1;var e=fte(),t=GI(),r=zI();function n(i){return e(i,r,t)}return tA=n,tA}var rA,Z9;function x_e(){if(Z9)return rA;Z9=1;var e=fte(),t=cte(),r=WI();function n(i){return e(i,r,t)}return rA=n,rA}var nA,eW;function C_e(){if(eW)return nA;eW=1;var e=Rc(),t=Cs(),r=e(t,"DataView");return nA=r,nA}var iA,tW;function O_e(){if(tW)return iA;tW=1;var e=Rc(),t=Cs(),r=e(t,"Promise");return iA=r,iA}var aA,rW;function I_e(){if(rW)return aA;rW=1;var e=Rc(),t=Cs(),r=e(t,"Set");return aA=r,aA}var oA,nW;function P_e(){if(nW)return oA;nW=1;var e=Rc(),t=Cs(),r=e(t,"WeakMap");return oA=r,oA}var sA,iW;function KI(){if(iW)return sA;iW=1;var e=C_e(),t=qI(),r=O_e(),n=I_e(),i=P_e(),o=mp(),a=Jee(),u="[object Map]",l="[object Object]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",m=a(e),S=a(t),E=a(r),_=a(n),w=a(i),T=o;return(e&&T(new e(new ArrayBuffer(1)))!=p||t&&T(new t)!=u||r&&T(r.resolve())!=f||n&&T(new n)!=d||i&&T(new i)!=h)&&(T=function(C){var x=o(C),R=x==l?C.constructor:void 0,P=R?a(R):"";if(P)switch(P){case m:return p;case S:return u;case E:return f;case _:return d;case w:return h}return x}),sA=T,sA}var uA,aW;function k_e(){if(aW)return uA;aW=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var i=n.length,o=new n.constructor(i);return i&&typeof n[0]=="string"&&t.call(n,"index")&&(o.index=n.index,o.input=n.input),o}return uA=r,uA}var lA,oW;function D_e(){if(oW)return lA;oW=1;var e=Cs(),t=e.Uint8Array;return lA=t,lA}var cA,sW;function YI(){if(sW)return cA;sW=1;var e=D_e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return cA=t,cA}var fA,uW;function L_e(){if(uW)return fA;uW=1;var e=YI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return fA=t,fA}var dA,lW;function N_e(){if(lW)return dA;lW=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return dA=t,dA}var hA,cW;function M_e(){if(cW)return hA;cW=1;var e=sy(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return hA=n,hA}var pA,fW;function $_e(){if(fW)return pA;fW=1;var e=YI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return pA=t,pA}var vA,dW;function F_e(){if(dW)return vA;dW=1;var e=YI(),t=L_e(),r=N_e(),n=M_e(),i=$_e(),o="[object Boolean]",a="[object Date]",u="[object Map]",l="[object Number]",f="[object RegExp]",d="[object Set]",h="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",_="[object Float64Array]",w="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",x="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",y="[object Uint32Array]";function N($,H,B){var W=$.constructor;switch(H){case m:return e($);case o:case a:return new W(+$);case S:return t($,B);case E:case _:case w:case T:case C:case x:case R:case P:case y:return i($,B);case u:return new W;case l:case h:return new W($);case f:return r($);case d:return new W;case p:return n($)}}return vA=N,vA}var gA,hW;function j_e(){if(hW)return gA;hW=1;var e=yp(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var o=new n;return n.prototype=void 0,o}})();return gA=r,gA}var mA,pW;function U_e(){if(pW)return mA;pW=1;var e=j_e(),t=lte(),r=HI();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return mA=n,mA}var yA,vW;function q_e(){if(vW)return yA;vW=1;var e=KI(),t=dd(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return yA=n,yA}var _A,gW;function B_e(){if(gW)return _A;gW=1;var e=q_e(),t=BI(),r=VI(),n=r&&r.isMap,i=n?t(n):e;return _A=i,_A}var EA,mW;function V_e(){if(mW)return EA;mW=1;var e=KI(),t=dd(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return EA=n,EA}var SA,yW;function H_e(){if(yW)return SA;yW=1;var e=V_e(),t=BI(),r=VI(),n=r&&r.isSet,i=n?t(n):e;return SA=i,SA}var wA,_W;function z_e(){if(_W)return wA;_W=1;var e=a_e(),t=o_e(),r=tte(),n=m_e(),i=E_e(),o=S_e(),a=w_e(),u=T_e(),l=A_e(),f=R_e(),d=x_e(),h=KI(),p=k_e(),m=F_e(),S=U_e(),E=hd(),_=rte(),w=B_e(),T=yp(),C=H_e(),x=zI(),R=WI(),P=1,y=2,N=4,$="[object Arguments]",H="[object Array]",B="[object Boolean]",W="[object Date]",Y="[object Error]",Q="[object Function]",ne="[object GeneratorFunction]",re="[object Map]",de="[object Number]",G="[object Object]",ee="[object RegExp]",z="[object Set]",ue="[object String]",Ee="[object Symbol]",Oe="[object WeakMap]",$e="[object ArrayBuffer]",Ve="[object DataView]",ae="[object Float32Array]",O="[object Float64Array]",I="[object Int8Array]",M="[object Int16Array]",k="[object Int32Array]",U="[object Uint8Array]",K="[object Uint8ClampedArray]",ie="[object Uint16Array]",ye="[object Uint32Array]",ve={};ve[$]=ve[H]=ve[$e]=ve[Ve]=ve[B]=ve[W]=ve[ae]=ve[O]=ve[I]=ve[M]=ve[k]=ve[re]=ve[de]=ve[G]=ve[ee]=ve[z]=ve[ue]=ve[Ee]=ve[U]=ve[K]=ve[ie]=ve[ye]=!0,ve[Y]=ve[Q]=ve[Oe]=!1;function Re(Se,xe,De,he,me,_e){var Le,Me=xe&P,Ne=xe&y,Ge=xe&N;if(De&&(Le=me?De(Se,he,me,_e):De(Se)),Le!==void 0)return Le;if(!T(Se))return Se;var it=E(Se);if(it){if(Le=p(Se),!Me)return a(Se,Le)}else{var Dt=h(Se),rr=Dt==Q||Dt==ne;if(_(Se))return o(Se,Me);if(Dt==G||Dt==$||rr&&!me){if(Le=Ne||rr?{}:S(Se),!Me)return Ne?l(Se,i(Le,Se)):u(Se,n(Le,Se))}else{if(!ve[Dt])return me?Se:{};Le=m(Se,Dt,Me)}}_e||(_e=new e);var Ke=_e.get(Se);if(Ke)return Ke;_e.set(Se,Le),C(Se)?Se.forEach(function(rt){Le.add(Re(rt,xe,De,rt,Se,_e))}):w(Se)&&Se.forEach(function(rt,ot){Le.set(ot,Re(rt,xe,De,ot,Se,_e))});var _t=Ge?Ne?d:f:Ne?R:x,vt=it?void 0:_t(Se);return t(vt||Se,function(rt,ot){vt&&(ot=rt,rt=Se[ot]),r(Le,ot,Re(rt,xe,De,ot,Se,_e))}),Le}return wA=Re,wA}var bA,EW;function W_e(){if(EW)return bA;EW=1;var e=z_e(),t=1,r=4;function n(i){return e(i,t|r)}return bA=n,bA}var G_e=W_e();const K_e=Cn(G_e);var TA,SW;function XI(){if(SW)return TA;SW=1;var e=mp(),t=dd(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return TA=n,TA}var AA,wW;function Y_e(){if(wW)return AA;wW=1;var e=hd(),t=XI(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(o,a){if(e(o))return!1;var u=typeof o;return u=="number"||u=="symbol"||u=="boolean"||o==null||t(o)?!0:n.test(o)||!r.test(o)||a!=null&&o in Object(a)}return AA=i,AA}var RA,bW;function X_e(){if(bW)return RA;bW=1;var e=Zee(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var o=function(){var a=arguments,u=i?i.apply(this,a):a[0],l=o.cache;if(l.has(u))return l.get(u);var f=n.apply(this,a);return o.cache=l.set(u,f)||l,f};return o.cache=new(r.Cache||e),o}return r.Cache=e,RA=r,RA}var xA,TW;function Q_e(){if(TW)return xA;TW=1;var e=X_e(),t=500;function r(n){var i=e(n,function(a){return o.size===t&&o.clear(),a}),o=i.cache;return i}return xA=r,xA}var CA,AW;function J_e(){if(AW)return CA;AW=1;var e=Q_e(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var o=[];return i.charCodeAt(0)===46&&o.push(""),i.replace(t,function(a,u,l,f){o.push(l?f.replace(r,"$1"):u||a)}),o});return CA=n,CA}var OA,RW;function Z_e(){if(RW)return OA;RW=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,o=Array(i);++n<i;)o[n]=r(t[n],n,t);return o}return OA=e,OA}var IA,xW;function eEe(){if(xW)return IA;xW=1;var e=sy(),t=Z_e(),r=hd(),n=XI(),i=e?e.prototype:void 0,o=i?i.toString:void 0;function a(u){if(typeof u=="string")return u;if(r(u))return t(u,a)+"";if(n(u))return o?o.call(u):"";var l=u+"";return l=="0"&&1/u==-1/0?"-0":l}return IA=a,IA}var PA,CW;function tEe(){if(CW)return PA;CW=1;var e=eEe();function t(r){return r==null?"":e(r)}return PA=t,PA}var kA,OW;function rEe(){if(OW)return kA;OW=1;var e=hd(),t=Y_e(),r=J_e(),n=tEe();function i(o,a){return e(o)?o:t(o,a)?[o]:r(n(o))}return kA=i,kA}var DA,IW;function nEe(){if(IW)return DA;IW=1;var e=XI();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return DA=t,DA}var LA,PW;function iEe(){if(PW)return LA;PW=1;var e=rEe(),t=nEe();function r(n,i){i=e(i,n);for(var o=0,a=i.length;n!=null&&o<a;)n=n[t(i[o++])];return o&&o==a?n:void 0}return LA=r,LA}var NA,kW;function aEe(){if(kW)return NA;kW=1;var e=iEe();function t(r,n,i){var o=r==null?void 0:e(r,n);return o===void 0?i:o}return NA=t,NA}var oEe=aEe();const sEe=Cn(oEe),Ts={isEmpty(e){return $f(e)},values(e){return mu(e)},keys(e){return hi(e)},deepClone(e){return K_e(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Xa(e)},isEqual(e,t){return XO(e,t)},omit(e,t){return vp(e,t)},pick(e,t){return Zm(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])?Ts.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return sEe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function uEe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=Dg(t[e],t,r,n);return Object.assign(r[e],i),Ts.isEmpty(r[e])?(delete r[e],e):Ts.omit(r[e],["__modifyCount"])}function Dg(e,t,r,n){if(!e)return e;if(typeof e=="string")return uEe(e,t,r,n);if(Array.isArray(e))return e.map(i=>Dg(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(o=>{i[o]=Dg(e[o],t,r,n)}),i}return e}function QI(e,t){return Dg(e,t,{},new WeakMap)}var MA={exports:{}},Gr={},DW;function lEe(){if(DW)return Gr;DW=1;/**
41
+ * @license React
42
+ * react.production.min.js
43
+ *
44
+ * Copyright (c) Facebook, Inc. and its affiliates.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ */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"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function p(z){return z===null||typeof z!="object"?null:(z=h&&z[h]||z["@@iterator"],typeof z=="function"?z:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function _(z,ue,Ee){this.props=z,this.context=ue,this.refs=E,this.updater=Ee||m}_.prototype.isReactComponent={},_.prototype.setState=function(z,ue){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,ue,"setState")},_.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function w(){}w.prototype=_.prototype;function T(z,ue,Ee){this.props=z,this.context=ue,this.refs=E,this.updater=Ee||m}var C=T.prototype=new w;C.constructor=T,S(C,_.prototype),C.isPureReactComponent=!0;var x=Array.isArray,R=Object.prototype.hasOwnProperty,P={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function N(z,ue,Ee){var Oe,$e={},Ve=null,ae=null;if(ue!=null)for(Oe in ue.ref!==void 0&&(ae=ue.ref),ue.key!==void 0&&(Ve=""+ue.key),ue)R.call(ue,Oe)&&!y.hasOwnProperty(Oe)&&($e[Oe]=ue[Oe]);var O=arguments.length-2;if(O===1)$e.children=Ee;else if(1<O){for(var I=Array(O),M=0;M<O;M++)I[M]=arguments[M+2];$e.children=I}if(z&&z.defaultProps)for(Oe in O=z.defaultProps,O)$e[Oe]===void 0&&($e[Oe]=O[Oe]);return{$$typeof:e,type:z,key:Ve,ref:ae,props:$e,_owner:P.current}}function $(z,ue){return{$$typeof:e,type:z.type,key:ue,ref:z.ref,props:z.props,_owner:z._owner}}function H(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function B(z){var ue={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(Ee){return ue[Ee]})}var W=/\/+/g;function Y(z,ue){return typeof z=="object"&&z!==null&&z.key!=null?B(""+z.key):ue.toString(36)}function Q(z,ue,Ee,Oe,$e){var Ve=typeof z;(Ve==="undefined"||Ve==="boolean")&&(z=null);var ae=!1;if(z===null)ae=!0;else switch(Ve){case"string":case"number":ae=!0;break;case"object":switch(z.$$typeof){case e:case t:ae=!0}}if(ae)return ae=z,$e=$e(ae),z=Oe===""?"."+Y(ae,0):Oe,x($e)?(Ee="",z!=null&&(Ee=z.replace(W,"$&/")+"/"),Q($e,ue,Ee,"",function(M){return M})):$e!=null&&(H($e)&&($e=$($e,Ee+(!$e.key||ae&&ae.key===$e.key?"":(""+$e.key).replace(W,"$&/")+"/")+z)),ue.push($e)),1;if(ae=0,Oe=Oe===""?".":Oe+":",x(z))for(var O=0;O<z.length;O++){Ve=z[O];var I=Oe+Y(Ve,O);ae+=Q(Ve,ue,Ee,I,$e)}else if(I=p(z),typeof I=="function")for(z=I.call(z),O=0;!(Ve=z.next()).done;)Ve=Ve.value,I=Oe+Y(Ve,O++),ae+=Q(Ve,ue,Ee,I,$e);else if(Ve==="object")throw ue=String(z),Error("Objects are not valid as a React child (found: "+(ue==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":ue)+"). If you meant to render a collection of children, use an array instead.");return ae}function ne(z,ue,Ee){if(z==null)return z;var Oe=[],$e=0;return Q(z,Oe,"","",function(Ve){return ue.call(Ee,Ve,$e++)}),Oe}function re(z){if(z._status===-1){var ue=z._result;ue=ue(),ue.then(function(Ee){(z._status===0||z._status===-1)&&(z._status=1,z._result=Ee)},function(Ee){(z._status===0||z._status===-1)&&(z._status=2,z._result=Ee)}),z._status===-1&&(z._status=0,z._result=ue)}if(z._status===1)return z._result.default;throw z._result}var de={current:null},G={transition:null},ee={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:G,ReactCurrentOwner:P};return Gr.Children={map:ne,forEach:function(z,ue,Ee){ne(z,function(){ue.apply(this,arguments)},Ee)},count:function(z){var ue=0;return ne(z,function(){ue++}),ue},toArray:function(z){return ne(z,function(ue){return ue})||[]},only:function(z){if(!H(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},Gr.Component=_,Gr.Fragment=r,Gr.Profiler=i,Gr.PureComponent=T,Gr.StrictMode=n,Gr.Suspense=l,Gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,Gr.cloneElement=function(z,ue,Ee){if(z==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+z+".");var Oe=S({},z.props),$e=z.key,Ve=z.ref,ae=z._owner;if(ue!=null){if(ue.ref!==void 0&&(Ve=ue.ref,ae=P.current),ue.key!==void 0&&($e=""+ue.key),z.type&&z.type.defaultProps)var O=z.type.defaultProps;for(I in ue)R.call(ue,I)&&!y.hasOwnProperty(I)&&(Oe[I]=ue[I]===void 0&&O!==void 0?O[I]:ue[I])}var I=arguments.length-2;if(I===1)Oe.children=Ee;else if(1<I){O=Array(I);for(var M=0;M<I;M++)O[M]=arguments[M+2];Oe.children=O}return{$$typeof:e,type:z.type,key:$e,ref:Ve,props:Oe,_owner:ae}},Gr.createContext=function(z){return z={$$typeof:a,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},z.Provider={$$typeof:o,_context:z},z.Consumer=z},Gr.createElement=N,Gr.createFactory=function(z){var ue=N.bind(null,z);return ue.type=z,ue},Gr.createRef=function(){return{current:null}},Gr.forwardRef=function(z){return{$$typeof:u,render:z}},Gr.isValidElement=H,Gr.lazy=function(z){return{$$typeof:d,_payload:{_status:-1,_result:z},_init:re}},Gr.memo=function(z,ue){return{$$typeof:f,type:z,compare:ue===void 0?null:ue}},Gr.startTransition=function(z){var ue=G.transition;G.transition={};try{z()}finally{G.transition=ue}},Gr.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Gr.useCallback=function(z,ue){return de.current.useCallback(z,ue)},Gr.useContext=function(z){return de.current.useContext(z)},Gr.useDebugValue=function(){},Gr.useDeferredValue=function(z){return de.current.useDeferredValue(z)},Gr.useEffect=function(z,ue){return de.current.useEffect(z,ue)},Gr.useId=function(){return de.current.useId()},Gr.useImperativeHandle=function(z,ue,Ee){return de.current.useImperativeHandle(z,ue,Ee)},Gr.useInsertionEffect=function(z,ue){return de.current.useInsertionEffect(z,ue)},Gr.useLayoutEffect=function(z,ue){return de.current.useLayoutEffect(z,ue)},Gr.useMemo=function(z,ue){return de.current.useMemo(z,ue)},Gr.useReducer=function(z,ue,Ee){return de.current.useReducer(z,ue,Ee)},Gr.useRef=function(z){return de.current.useRef(z)},Gr.useState=function(z){return de.current.useState(z)},Gr.useSyncExternalStore=function(z,ue,Ee){return de.current.useSyncExternalStore(z,ue,Ee)},Gr.useTransition=function(){return de.current.useTransition()},Gr.version="18.1.0",Gr}var LW;function xc(){return LW||(LW=1,MA.exports=lEe()),MA.exports}var ge=xc();const Sr=Cn(ge);var $A={exports:{}},FA={};/**
49
+ * @license React
50
+ * use-sync-external-store-shim.production.js
51
+ *
52
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */var NW;function cEe(){if(NW)return FA;NW=1;var e=xc();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,o=e.useLayoutEffect,a=e.useDebugValue;function u(h,p){var m=p(),S=n({inst:{value:m,getSnapshot:p}}),E=S[0].inst,_=S[1];return o(function(){E.value=m,E.getSnapshot=p,l(E)&&_({inst:E})},[h,m,p]),i(function(){return l(E)&&_({inst:E}),h(function(){l(E)&&_({inst:E})})},[h]),a(m),m}function l(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!r(h,m)}catch{return!0}}function f(h,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return FA.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,FA}var MW;function dte(){return MW||(MW=1,$A.exports=cEe()),$A.exports}dte();var jA={exports:{}},UA={};/**
57
+ * @license React
58
+ * use-sync-external-store-shim/with-selector.production.js
59
+ *
60
+ * Copyright (c) Meta Platforms, Inc. and 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 $W;function fEe(){if($W)return UA;$W=1;var e=xc(),t=dte();function r(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,o=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return UA.useSyncExternalStoreWithSelector=function(f,d,h,p,m){var S=o(null);if(S.current===null){var E={hasValue:!1,value:null};S.current=E}else E=S.current;S=u(function(){function w(P){if(!T){if(T=!0,C=P,P=p(P),m!==void 0&&E.hasValue){var y=E.value;if(m(y,P))return x=y}return x=P}if(y=x,n(C,P))return y;var N=p(P);return m!==void 0&&m(y,N)?(C=P,y):(C=P,x=N)}var T=!1,C,x,R=h===void 0?null:h;return[function(){return w(d())},R===null?void 0:function(){return w(R())}]},[d,h,p,m]);var _=i(f,S[0],S[1]);return a(function(){E.hasValue=!0,E.value=_},[_]),l(_),_},UA}var FW;function dEe(){return FW||(FW=1,jA.exports=fEe()),jA.exports}var hEe=dEe(),qA={exports:{}},Pa={},BA={exports:{}},VA={};/**
65
+ * @license React
66
+ * scheduler.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 jW;function pEe(){return jW||(jW=1,(function(e){function t(G,ee){var z=G.length;G.push(ee);e:for(;0<z;){var ue=z-1>>>1,Ee=G[ue];if(0<i(Ee,ee))G[ue]=ee,G[z]=Ee,z=ue;else break e}}function r(G){return G.length===0?null:G[0]}function n(G){if(G.length===0)return null;var ee=G[0],z=G.pop();if(z!==ee){G[0]=z;e:for(var ue=0,Ee=G.length,Oe=Ee>>>1;ue<Oe;){var $e=2*(ue+1)-1,Ve=G[$e],ae=$e+1,O=G[ae];if(0>i(Ve,z))ae<Ee&&0>i(O,Ve)?(G[ue]=O,G[ae]=z,ue=ae):(G[ue]=Ve,G[$e]=z,ue=$e);else if(ae<Ee&&0>i(O,z))G[ue]=O,G[ae]=z,ue=ae;else break e}}return ee}function i(G,ee){var z=G.sortIndex-ee.sortIndex;return z!==0?z:G.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],f=[],d=1,h=null,p=3,m=!1,S=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(G){for(var ee=r(f);ee!==null;){if(ee.callback===null)n(f);else if(ee.startTime<=G)n(f),ee.sortIndex=ee.expirationTime,t(l,ee);else break;ee=r(f)}}function x(G){if(E=!1,C(G),!S)if(r(l)!==null)S=!0,re(R);else{var ee=r(f);ee!==null&&de(x,ee.startTime-G)}}function R(G,ee){S=!1,E&&(E=!1,w(N),N=-1),m=!0;var z=p;try{for(C(ee),h=r(l);h!==null&&(!(h.expirationTime>ee)||G&&!B());){var ue=h.callback;if(typeof ue=="function"){h.callback=null,p=h.priorityLevel;var Ee=ue(h.expirationTime<=ee);ee=e.unstable_now(),typeof Ee=="function"?h.callback=Ee:h===r(l)&&n(l),C(ee)}else n(l);h=r(l)}if(h!==null)var Oe=!0;else{var $e=r(f);$e!==null&&de(x,$e.startTime-ee),Oe=!1}return Oe}finally{h=null,p=z,m=!1}}var P=!1,y=null,N=-1,$=5,H=-1;function B(){return!(e.unstable_now()-H<$)}function W(){if(y!==null){var G=e.unstable_now();H=G;var ee=!0;try{ee=y(!0,G)}finally{ee?Y():(P=!1,y=null)}}else P=!1}var Y;if(typeof T=="function")Y=function(){T(W)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,ne=Q.port2;Q.port1.onmessage=W,Y=function(){ne.postMessage(null)}}else Y=function(){_(W,0)};function re(G){y=G,P||(P=!0,Y())}function de(G,ee){N=_(function(){G(e.unstable_now())},ee)}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(G){G.callback=null},e.unstable_continueExecution=function(){S||m||(S=!0,re(R))},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(G){switch(p){case 1:case 2:case 3:var ee=3;break;default:ee=p}var z=p;p=ee;try{return G()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(G,ee){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var z=p;p=G;try{return ee()}finally{p=z}},e.unstable_scheduleCallback=function(G,ee,z){var ue=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?ue+z:ue):z=ue,G){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=z+Ee,G={id:d++,callback:ee,priorityLevel:G,startTime:z,expirationTime:Ee,sortIndex:-1},z>ue?(G.sortIndex=z,t(f,G),r(l)===null&&G===r(f)&&(E?(w(N),N=-1):E=!0,de(x,z-ue))):(G.sortIndex=Ee,t(l,G),S||m||(S=!0,re(R))),G},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(G){var ee=p;return function(){var z=p;p=ee;try{return G.apply(this,arguments)}finally{p=z}}}})(VA)),VA}var UW;function vEe(){return UW||(UW=1,BA.exports=pEe()),BA.exports}/**
73
+ * @license React
74
+ * react-dom.production.min.js
75
+ *
76
+ * Copyright (c) Facebook, Inc. and its 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 qW;function gEe(){if(qW)return Pa;qW=1;var e=xc(),t=vEe();function r(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,v=1;v<arguments.length;v++)c+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+s+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function o(s,c){a(s,c),a(s+"Capture",c)}function a(s,c){for(i[s]=c,s=0;s<c.length;s++)n.add(c[s])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,f=/^[: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(s){return l.call(h,s)?!0:l.call(d,s)?!1:f.test(s)?h[s]=!0:(d[s]=!0,!1)}function m(s,c,v,b){if(v!==null&&v.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return b?!1:v!==null?!v.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function S(s,c,v,b){if(c===null||typeof c>"u"||m(s,c,v,b))return!0;if(b)return!1;if(v!==null)switch(v.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function E(s,c,v,b,L,V,fe){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=b,this.attributeNamespace=L,this.mustUseProperty=v,this.propertyName=s,this.type=c,this.sanitizeURL=V,this.removeEmptyString=fe}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){_[s]=new E(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];_[c]=new E(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){_[s]=new E(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){_[s]=new E(s,2,!1,s,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(s){_[s]=new E(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){_[s]=new E(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){_[s]=new E(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){_[s]=new E(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){_[s]=new E(s,5,!1,s.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function T(s){return s[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(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){_[s]=new E(s,1,!1,s.toLowerCase(),null,!1,!1)}),_.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){_[s]=new E(s,1,!1,s.toLowerCase(),null,!0,!0)});function C(s,c,v,b){var L=_.hasOwnProperty(c)?_[c]:null;(L!==null?L.type!==0:b||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(S(c,v,L,b)&&(v=null),b||L===null?p(c)&&(v===null?s.removeAttribute(c):s.setAttribute(c,""+v)):L.mustUseProperty?s[L.propertyName]=v===null?L.type===3?!1:"":v:(c=L.attributeName,b=L.attributeNamespace,v===null?s.removeAttribute(c):(L=L.type,v=L===3||L===4&&v===!0?"":""+v,b?s.setAttributeNS(b,c,v):s.setAttribute(c,v))))}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),P=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),B=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),G=Symbol.iterator;function ee(s){return s===null||typeof s!="object"?null:(s=G&&s[G]||s["@@iterator"],typeof s=="function"?s:null)}var z=Object.assign,ue;function Ee(s){if(ue===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);ue=c&&c[1]||""}return`
81
+ `+ue+s}var Oe=!1;function $e(s,c){if(!s||Oe)return"";Oe=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(lt){var b=lt}Reflect.construct(s,[],c)}else{try{c.call()}catch(lt){b=lt}s.call(c.prototype)}else{try{throw Error()}catch(lt){b=lt}s()}}catch(lt){if(lt&&b&&typeof lt.stack=="string"){for(var L=lt.stack.split(`
82
+ `),V=b.stack.split(`
83
+ `),fe=L.length-1,Te=V.length-1;1<=fe&&0<=Te&&L[fe]!==V[Te];)Te--;for(;1<=fe&&0<=Te;fe--,Te--)if(L[fe]!==V[Te]){if(fe!==1||Te!==1)do if(fe--,Te--,0>Te||L[fe]!==V[Te]){var Fe=`
84
+ `+L[fe].replace(" at new "," at ");return s.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",s.displayName)),Fe}while(1<=fe&&0<=Te);break}}}finally{Oe=!1,Error.prepareStackTrace=v}return(s=s?s.displayName||s.name:"")?Ee(s):""}function Ve(s){switch(s.tag){case 5:return Ee(s.type);case 16:return Ee("Lazy");case 13:return Ee("Suspense");case 19:return Ee("SuspenseList");case 0:case 2:case 15:return s=$e(s.type,!1),s;case 11:return s=$e(s.type.render,!1),s;case 1:return s=$e(s.type,!0),s;default:return""}}function ae(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case y:return"Fragment";case P:return"Portal";case $:return"Profiler";case N:return"StrictMode";case Y:return"Suspense";case Q:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case B:return(s.displayName||"Context")+".Consumer";case H:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ne:return c=s.displayName||null,c!==null?c:ae(s.type)||"Memo";case re:c=s._payload,s=s._init;try{return ae(s(c))}catch{}}return null}function O(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(c);case 8:return c===N?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function I(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function M(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function k(s){var c=M(s)?"checked":"value",v=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),b=""+s[c];if(!s.hasOwnProperty(c)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var L=v.get,V=v.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return L.call(this)},set:function(fe){b=""+fe,V.call(this,fe)}}),Object.defineProperty(s,c,{enumerable:v.enumerable}),{getValue:function(){return b},setValue:function(fe){b=""+fe},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function U(s){s._valueTracker||(s._valueTracker=k(s))}function K(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var v=c.getValue(),b="";return s&&(b=M(s)?s.checked?"true":"false":s.value),s=b,s!==v?(c.setValue(s),!0):!1}function ie(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function ye(s,c){var v=c.checked;return z({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??s._wrapperState.initialChecked})}function ve(s,c){var v=c.defaultValue==null?"":c.defaultValue,b=c.checked!=null?c.checked:c.defaultChecked;v=I(c.value!=null?c.value:v),s._wrapperState={initialChecked:b,initialValue:v,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Re(s,c){c=c.checked,c!=null&&C(s,"checked",c,!1)}function Se(s,c){Re(s,c);var v=I(c.value),b=c.type;if(v!=null)b==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=""+v):s.value!==""+v&&(s.value=""+v);else if(b==="submit"||b==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?De(s,c.type,v):c.hasOwnProperty("defaultValue")&&De(s,c.type,I(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function xe(s,c,v){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var b=c.type;if(!(b!=="submit"&&b!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,v||c===s.value||(s.value=c),s.defaultValue=c}v=s.name,v!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,v!==""&&(s.name=v)}function De(s,c,v){(c!=="number"||ie(s.ownerDocument)!==s)&&(v==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+v&&(s.defaultValue=""+v))}var he=Array.isArray;function me(s,c,v,b){if(s=s.options,c){c={};for(var L=0;L<v.length;L++)c["$"+v[L]]=!0;for(v=0;v<s.length;v++)L=c.hasOwnProperty("$"+s[v].value),s[v].selected!==L&&(s[v].selected=L),L&&b&&(s[v].defaultSelected=!0)}else{for(v=""+I(v),c=null,L=0;L<s.length;L++){if(s[L].value===v){s[L].selected=!0,b&&(s[L].defaultSelected=!0);return}c!==null||s[L].disabled||(c=s[L])}c!==null&&(c.selected=!0)}}function _e(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(r(91));return z({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Le(s,c){var v=c.value;if(v==null){if(v=c.children,c=c.defaultValue,v!=null){if(c!=null)throw Error(r(92));if(he(v)){if(1<v.length)throw Error(r(93));v=v[0]}c=v}c==null&&(c=""),v=c}s._wrapperState={initialValue:I(v)}}function Me(s,c){var v=I(c.value),b=I(c.defaultValue);v!=null&&(v=""+v,v!==s.value&&(s.value=v),c.defaultValue==null&&s.defaultValue!==v&&(s.defaultValue=v)),b!=null&&(s.defaultValue=""+b)}function Ne(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Ge(s){switch(s){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 it(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?Ge(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var Dt,rr=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,v,b,L){MSApp.execUnsafeLocalFunction(function(){return s(c,v,b,L)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(Dt=Dt||document.createElement("div"),Dt.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=Dt.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Ke(s,c){if(c){var v=s.firstChild;if(v&&v===s.lastChild&&v.nodeType===3){v.nodeValue=c;return}}s.textContent=c}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},vt=["Webkit","ms","Moz","O"];Object.keys(_t).forEach(function(s){vt.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),_t[c]=_t[s]})});function rt(s,c,v){return c==null||typeof c=="boolean"||c===""?"":v||typeof c!="number"||c===0||_t.hasOwnProperty(s)&&_t[s]?(""+c).trim():c+"px"}function ot(s,c){s=s.style;for(var v in c)if(c.hasOwnProperty(v)){var b=v.indexOf("--")===0,L=rt(v,c[v],b);v==="float"&&(v="cssFloat"),b?s.setProperty(v,L):s[v]=L}}var ht=z({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 Ht(s,c){if(c){if(ht[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(r(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(r(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(c.style!=null&&typeof c.style!="object")throw Error(r(62))}}function Ct(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 be=null;function Xe(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var at=null,mt=null,xt=null;function Xt(s){if(s=Pd(s)){if(typeof at!="function")throw Error(r(280));var c=s.stateNode;c&&(c=Fp(c),at(s.stateNode,s.type,c))}}function or(s){mt?xt?xt.push(s):xt=[s]:mt=s}function Kt(){if(mt){var s=mt,c=xt;if(xt=mt=null,Xt(s),c)for(s=0;s<c.length;s++)Xt(c[s])}}function lr(s,c){return s(c)}function Tr(){}var Br=!1;function In(s,c,v){if(Br)return s(c,v);Br=!0;try{return lr(s,c,v)}finally{Br=!1,(mt!==null||xt!==null)&&(Tr(),Kt())}}function Dn(s,c){var v=s.stateNode;if(v===null)return null;var b=Fp(v);if(b===null)return null;v=b[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(b=!b.disabled)||(s=s.type,b=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!b;break e;default:s=!1}if(s)return null;if(v&&typeof v!="function")throw Error(r(231,c,typeof v));return v}var Bn=!1;if(u)try{var vn={};Object.defineProperty(vn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",vn,vn),window.removeEventListener("test",vn,vn)}catch{Bn=!1}function Vn(s,c,v,b,L,V,fe,Te,Fe){var lt=Array.prototype.slice.call(arguments,3);try{c.apply(v,lt)}catch(Ot){this.onError(Ot)}}var ai=!1,oi=null,Kn=!1,wi=null,bi={onError:function(s){ai=!0,oi=s}};function gn(s,c,v,b,L,V,fe,Te,Fe){ai=!1,oi=null,Vn.apply(bi,arguments)}function $n(s,c,v,b,L,V,fe,Te,Fe){if(gn.apply(this,arguments),ai){if(ai){var lt=oi;ai=!1,oi=null}else throw Error(r(198));Kn||(Kn=!0,wi=lt)}}function vi(s){var c=s,v=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(v=c.return),s=c.return;while(s)}return c.tag===3?v:null}function Ii(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function et(s){if(vi(s)!==s)throw Error(r(188))}function At(s){var c=s.alternate;if(!c){if(c=vi(s),c===null)throw Error(r(188));return c!==s?null:s}for(var v=s,b=c;;){var L=v.return;if(L===null)break;var V=L.alternate;if(V===null){if(b=L.return,b!==null){v=b;continue}break}if(L.child===V.child){for(V=L.child;V;){if(V===v)return et(L),s;if(V===b)return et(L),c;V=V.sibling}throw Error(r(188))}if(v.return!==b.return)v=L,b=V;else{for(var fe=!1,Te=L.child;Te;){if(Te===v){fe=!0,v=L,b=V;break}if(Te===b){fe=!0,b=L,v=V;break}Te=Te.sibling}if(!fe){for(Te=V.child;Te;){if(Te===v){fe=!0,v=V,b=L;break}if(Te===b){fe=!0,b=V,v=L;break}Te=Te.sibling}if(!fe)throw Error(r(189))}}if(v.alternate!==b)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?s:c}function ct(s){return s=At(s),s!==null?We(s):null}function We(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=We(s);if(c!==null)return c;s=s.sibling}return null}var oe=t.unstable_scheduleCallback,Je=t.unstable_cancelCallback,Ue=t.unstable_shouldYield,yt=t.unstable_requestPaint,ft=t.unstable_now,zt=t.unstable_getCurrentPriorityLevel,jt=t.unstable_ImmediatePriority,gt=t.unstable_UserBlockingPriority,dr=t.unstable_NormalPriority,Nr=t.unstable_LowPriority,mn=t.unstable_IdlePriority,Rt=null,$r=null;function Ln(s){if($r&&typeof $r.onCommitFiberRoot=="function")try{$r.onCommitFiberRoot(Rt,s,void 0,(s.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:Ni,uo=Math.log,Hn=Math.LN2;function Ni(s){return s>>>=0,s===0?32:31-(uo(s)/Hn|0)|0}var ua=64,Lo=4194304;function ja(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Sa(s,c){var v=s.pendingLanes;if(v===0)return 0;var b=0,L=s.suspendedLanes,V=s.pingedLanes,fe=v&268435455;if(fe!==0){var Te=fe&~L;Te!==0?b=ja(Te):(V&=fe,V!==0&&(b=ja(V)))}else fe=v&~L,fe!==0?b=ja(fe):V!==0&&(b=ja(V));if(b===0)return 0;if(c!==0&&c!==b&&(c&L)===0&&(L=b&-b,V=c&-c,L>=V||L===16&&(V&4194240)!==0))return c;if((b&4)!==0&&(b|=v&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=b;0<c;)v=31-bn(c),L=1<<v,b|=s[v],c&=~L;return b}function F(s,c){switch(s){case 1:case 2:case 4:return c+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 c+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 Z(s,c){for(var v=s.suspendedLanes,b=s.pingedLanes,L=s.expirationTimes,V=s.pendingLanes;0<V;){var fe=31-bn(V),Te=1<<fe,Fe=L[fe];Fe===-1?((Te&v)===0||(Te&b)!==0)&&(L[fe]=F(Te,c)):Fe<=c&&(s.expiredLanes|=Te),V&=~Te}}function pe(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function ke(){var s=ua;return ua<<=1,(ua&4194240)===0&&(ua=64),s}function ut(s){for(var c=[],v=0;31>v;v++)c.push(s);return c}function Qe(s,c,v){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-bn(c),s[c]=v}function Tt(s,c){var v=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var b=s.eventTimes;for(s=s.expirationTimes;0<v;){var L=31-bn(v),V=1<<L;c[L]=0,b[L]=-1,s[L]=-1,v&=~V}}function $t(s,c){var v=s.entangledLanes|=c;for(s=s.entanglements;v;){var b=31-bn(v),L=1<<b;L&c|s[b]&c&&(s[b]|=c),v&=~L}}var Ut=0;function Dr(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var Or,Tn,si,gi,es,_u=!1,ts=[],Ua=null,ui=null,wa=null,qa=new Map,Zr=new Map,Ki=[],rs="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 ns(s,c){switch(s){case"focusin":case"focusout":Ua=null;break;case"dragenter":case"dragleave":ui=null;break;case"mouseover":case"mouseout":wa=null;break;case"pointerover":case"pointerout":qa.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zr.delete(c.pointerId)}}function Yi(s,c,v,b,L,V){return s===null||s.nativeEvent!==V?(s={blockedOn:c,domEventName:v,eventSystemFlags:b,nativeEvent:V,targetContainers:[L]},c!==null&&(c=Pd(c),c!==null&&Tn(c)),s):(s.eventSystemFlags|=b,c=s.targetContainers,L!==null&&c.indexOf(L)===-1&&c.push(L),s)}function Eu(s,c,v,b,L){switch(c){case"focusin":return Ua=Yi(Ua,s,c,v,b,L),!0;case"dragenter":return ui=Yi(ui,s,c,v,b,L),!0;case"mouseover":return wa=Yi(wa,s,c,v,b,L),!0;case"pointerover":var V=L.pointerId;return qa.set(V,Yi(qa.get(V)||null,s,c,v,b,L)),!0;case"gotpointercapture":return V=L.pointerId,Zr.set(V,Yi(Zr.get(V)||null,s,c,v,b,L)),!0}return!1}function lo(s){var c=vl(s.target);if(c!==null){var v=vi(c);if(v!==null){if(c=v.tag,c===13){if(c=Ii(v),c!==null){s.blockedOn=c,es(s.priority,function(){si(v)});return}}else if(c===3&&v.stateNode.current.memoizedState.isDehydrated){s.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Ps(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var v=Ds(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(v===null){v=s.nativeEvent;var b=new v.constructor(v.type,v);be=b,v.target.dispatchEvent(b),be=null}else return c=Pd(v),c!==null&&Tn(c),s.blockedOn=v,!1;c.shift()}return!0}function Su(s,c,v){Ps(s)&&v.delete(c)}function fl(){_u=!1,Ua!==null&&Ps(Ua)&&(Ua=null),ui!==null&&Ps(ui)&&(ui=null),wa!==null&&Ps(wa)&&(wa=null),qa.forEach(Su),Zr.forEach(Su)}function No(s,c){s.blockedOn===c&&(s.blockedOn=null,_u||(_u=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,fl)))}function co(s){function c(L){return No(L,s)}if(0<ts.length){No(ts[0],s);for(var v=1;v<ts.length;v++){var b=ts[v];b.blockedOn===s&&(b.blockedOn=null)}}for(Ua!==null&&No(Ua,s),ui!==null&&No(ui,s),wa!==null&&No(wa,s),qa.forEach(c),Zr.forEach(c),v=0;v<Ki.length;v++)b=Ki[v],b.blockedOn===s&&(b.blockedOn=null);for(;0<Ki.length&&(v=Ki[0],v.blockedOn===null);)lo(v),v.blockedOn===null&&Ki.shift()}var fo=x.ReactCurrentBatchConfig,is=!0;function Nc(s,c,v,b){var L=Ut,V=fo.transition;fo.transition=null;try{Ut=1,as(s,c,v,b)}finally{Ut=L,fo.transition=V}}function ks(s,c,v,b){var L=Ut,V=fo.transition;fo.transition=null;try{Ut=4,as(s,c,v,b)}finally{Ut=L,fo.transition=V}}function as(s,c,v,b){if(is){var L=Ds(s,c,v,b);if(L===null)Uy(s,c,b,Mo,v),ns(s,b);else if(Eu(L,s,c,v,b))b.stopPropagation();else if(ns(s,b),c&4&&-1<rs.indexOf(s)){for(;L!==null;){var V=Pd(L);if(V!==null&&Or(V),V=Ds(s,c,v,b),V===null&&Uy(s,c,b,Mo,v),V===L)break;L=V}L!==null&&b.stopPropagation()}else Uy(s,c,b,null,v)}}var Mo=null;function Ds(s,c,v,b){if(Mo=null,s=Xe(b),s=vl(s),s!==null)if(c=vi(s),c===null)s=null;else if(v=c.tag,v===13){if(s=Ii(c),s!==null)return s;s=null}else if(v===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Mo=s,null}function Mc(s){switch(s){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zt()){case jt:return 1;case gt:return 4;case dr:case Nr:return 16;case mn:return 536870912;default:return 16}default:return 16}}var mi=null,wu=null,ho=null;function Ls(){if(ho)return ho;var s,c=wu,v=c.length,b,L="value"in mi?mi.value:mi.textContent,V=L.length;for(s=0;s<v&&c[s]===L[s];s++);var fe=v-s;for(b=1;b<=fe&&c[v-b]===L[V-b];b++);return ho=L.slice(s,1<b?1-b:void 0)}function po(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function $o(){return!0}function g(){return!1}function A(s){function c(v,b,L,V,fe){this._reactName=v,this._targetInst=L,this.type=b,this.nativeEvent=V,this.target=fe,this.currentTarget=null;for(var Te in s)s.hasOwnProperty(Te)&&(v=s[Te],this[Te]=v?v(V):V[Te]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?$o:g,this.isPropagationStopped=g,this}return z(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=$o)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=$o)},persist:function(){},isPersistent:$o}),c}var D={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},q=A(D),X=z({},D,{view:0,detail:0}),te=A(X),se,Pe,Ae,qe=z({},X,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wt,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Ae&&(Ae&&s.type==="mousemove"?(se=s.screenX-Ae.screenX,Pe=s.screenY-Ae.screenY):Pe=se=0,Ae=s),se)},movementY:function(s){return"movementY"in s?s.movementY:Pe}}),pt=A(qe),Et=z({},qe,{dataTransfer:0}),tt=A(Et),Pt=z({},X,{relatedTarget:0}),hr=A(Pt),Vr=z({},D,{animationName:0,elapsedTime:0,pseudoElement:0}),Ir=A(Vr),Yn=z({},D,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),zn=A(Yn),j=z({},D,{data:0}),J=A(j),le={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ce={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"},He={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ze(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=He[s])?!!c[s]:!1}function wt(){return ze}var Mt=z({},X,{key:function(s){if(s.key){var c=le[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=po(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Ce[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wt,charCode:function(s){return s.type==="keypress"?po(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?po(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),ar=A(Mt),Rr=z({},qe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pr=A(Rr),yn=z({},X,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wt}),Xn=A(yn),Pn=z({},D,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ed=A(Pn),Fo=z({},qe,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),jo=A(Fo),Ny=[9,13,27,32],Sd=u&&"CompositionEvent"in window,dl=null;u&&"documentMode"in document&&(dl=document.documentMode);var sn=u&&"TextEvent"in window&&!dl,hl=u&&(!Sd||dl&&8<dl&&11>=dl),ba=" ",Ns=!1;function Pp(s,c){switch(s){case"keyup":return Ny.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kp(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Ms=!1;function $s(s,c){switch(s){case"compositionend":return kp(c);case"keypress":return c.which!==32?null:(Ns=!0,ba);case"textInput":return s=c.data,s===ba&&Ns?null:s;default:return null}}function wd(s,c){if(Ms)return s==="compositionend"||!Sd&&Pp(s,c)?(s=Ls(),ho=wu=mi=null,Ms=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return hl&&c.locale!=="ko"?null:c.data;default:return null}}var os={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 bd(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!os[s.type]:c==="textarea"}function bu(s,c,v,b){or(b),c=Np(c,"onChange"),0<c.length&&(v=new q("onChange","change",null,v,b),s.push({event:v,listeners:c}))}var ss=null,us=null;function Td(s){ok(s,0)}function $c(s){var c=Hc(s);if(K(c))return s}function Fc(s,c){if(s==="change")return c}var jc=!1;if(u){var pl;if(u){var Ad="oninput"in document;if(!Ad){var Uc=document.createElement("div");Uc.setAttribute("oninput","return;"),Ad=typeof Uc.oninput=="function"}pl=Ad}else pl=!1;jc=pl&&(!document.documentMode||9<document.documentMode)}function Rd(){ss&&(ss.detachEvent("onpropertychange",we),us=ss=null)}function we(s){if(s.propertyName==="value"&&$c(us)){var c=[];bu(c,us,s,Xe(s)),In(Td,c)}}function je(s,c,v){s==="focusin"?(Rd(),ss=c,us=v,ss.attachEvent("onpropertychange",we)):s==="focusout"&&Rd()}function nt(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return $c(us)}function dt(s,c){if(s==="click")return $c(c)}function St(s,c){if(s==="input"||s==="change")return $c(c)}function qt(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var Vt=typeof Object.is=="function"?Object.is:qt;function Jt(s,c){if(Vt(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var v=Object.keys(s),b=Object.keys(c);if(v.length!==b.length)return!1;for(b=0;b<v.length;b++){var L=v[b];if(!l.call(c,L)||!Vt(s[L],c[L]))return!1}return!0}function Yt(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Ur(s,c){var v=Yt(s);s=0;for(var b;v;){if(v.nodeType===3){if(b=s+v.textContent.length,s<=c&&b>=c)return{node:v,offset:c-s};s=b}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=Yt(v)}}function _r(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?_r(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function br(){for(var s=window,c=ie();c instanceof s.HTMLIFrameElement;){try{var v=typeof c.contentWindow.location.href=="string"}catch{v=!1}if(v)s=c.contentWindow;else break;c=ie(s.document)}return c}function Fr(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function cr(s){var c=br(),v=s.focusedElem,b=s.selectionRange;if(c!==v&&v&&v.ownerDocument&&_r(v.ownerDocument.documentElement,v)){if(b!==null&&Fr(v)){if(c=b.start,s=b.end,s===void 0&&(s=c),"selectionStart"in v)v.selectionStart=c,v.selectionEnd=Math.min(s,v.value.length);else if(s=(c=v.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var L=v.textContent.length,V=Math.min(b.start,L);b=b.end===void 0?V:Math.min(b.end,L),!s.extend&&V>b&&(L=b,b=V,V=L),L=Ur(v,V);var fe=Ur(v,b);L&&fe&&(s.rangeCount!==1||s.anchorNode!==L.node||s.anchorOffset!==L.offset||s.focusNode!==fe.node||s.focusOffset!==fe.offset)&&(c=c.createRange(),c.setStart(L.node,L.offset),s.removeAllRanges(),V>b?(s.addRange(c),s.extend(fe.node,fe.offset)):(c.setEnd(fe.node,fe.offset),s.addRange(c)))}}for(c=[],s=v;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<c.length;v++)s=c[v],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var An=u&&"documentMode"in document&&11>=document.documentMode,li=null,yi=null,Pi=null,Ta=!1;function Fs(s,c,v){var b=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;Ta||li==null||li!==ie(b)||(b=li,"selectionStart"in b&&Fr(b)?b={start:b.selectionStart,end:b.selectionEnd}:(b=(b.ownerDocument&&b.ownerDocument.defaultView||window).getSelection(),b={anchorNode:b.anchorNode,anchorOffset:b.anchorOffset,focusNode:b.focusNode,focusOffset:b.focusOffset}),Pi&&Jt(Pi,b)||(Pi=b,b=Np(yi,"onSelect"),0<b.length&&(c=new q("onSelect","select",null,c,v),s.push({event:c,listeners:b}),c.target=li)))}function _i(s,c){var v={};return v[s.toLowerCase()]=c.toLowerCase(),v["Webkit"+s]="webkit"+c,v["Moz"+s]="moz"+c,v}var qc={animationend:_i("Animation","AnimationEnd"),animationiteration:_i("Animation","AnimationIteration"),animationstart:_i("Animation","AnimationStart"),transitionend:_i("Transition","TransitionEnd")},My={},JP={};u&&(JP=document.createElement("div").style,"AnimationEvent"in window||(delete qc.animationend.animation,delete qc.animationiteration.animation,delete qc.animationstart.animation),"TransitionEvent"in window||delete qc.transitionend.transition);function Dp(s){if(My[s])return My[s];if(!qc[s])return s;var c=qc[s],v;for(v in c)if(c.hasOwnProperty(v)&&v in JP)return My[s]=c[v];return s}var ZP=Dp("animationend"),ek=Dp("animationiteration"),tk=Dp("animationstart"),rk=Dp("transitionend"),nk=new Map,ik="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 Tu(s,c){nk.set(s,c),o(c,[s])}for(var $y=0;$y<ik.length;$y++){var Fy=ik[$y],Sie=Fy.toLowerCase(),wie=Fy[0].toUpperCase()+Fy.slice(1);Tu(Sie,"on"+wie)}Tu(ZP,"onAnimationEnd"),Tu(ek,"onAnimationIteration"),Tu(tk,"onAnimationStart"),Tu("dblclick","onDoubleClick"),Tu("focusin","onFocus"),Tu("focusout","onBlur"),Tu(rk,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xd="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(" "),bie=new Set("cancel close invalid load scroll toggle".split(" ").concat(xd));function ak(s,c,v){var b=s.type||"unknown-event";s.currentTarget=v,$n(b,c,void 0,s),s.currentTarget=null}function ok(s,c){c=(c&4)!==0;for(var v=0;v<s.length;v++){var b=s[v],L=b.event;b=b.listeners;e:{var V=void 0;if(c)for(var fe=b.length-1;0<=fe;fe--){var Te=b[fe],Fe=Te.instance,lt=Te.currentTarget;if(Te=Te.listener,Fe!==V&&L.isPropagationStopped())break e;ak(L,Te,lt),V=Fe}else for(fe=0;fe<b.length;fe++){if(Te=b[fe],Fe=Te.instance,lt=Te.currentTarget,Te=Te.listener,Fe!==V&&L.isPropagationStopped())break e;ak(L,Te,lt),V=Fe}}}if(Kn)throw s=wi,Kn=!1,wi=null,s}function Fn(s,c){var v=c[Wy];v===void 0&&(v=c[Wy]=new Set);var b=s+"__bubble";v.has(b)||(sk(c,s,2,!1),v.add(b))}function jy(s,c,v){var b=0;c&&(b|=4),sk(v,s,b,c)}var Lp="_reactListening"+Math.random().toString(36).slice(2);function Cd(s){if(!s[Lp]){s[Lp]=!0,n.forEach(function(v){v!=="selectionchange"&&(bie.has(v)||jy(v,!1,s),jy(v,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[Lp]||(c[Lp]=!0,jy("selectionchange",!1,c))}}function sk(s,c,v,b){switch(Mc(c)){case 1:var L=Nc;break;case 4:L=ks;break;default:L=as}v=L.bind(null,c,v,s),L=void 0,!Bn||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(L=!0),b?L!==void 0?s.addEventListener(c,v,{capture:!0,passive:L}):s.addEventListener(c,v,!0):L!==void 0?s.addEventListener(c,v,{passive:L}):s.addEventListener(c,v,!1)}function Uy(s,c,v,b,L){var V=b;if((c&1)===0&&(c&2)===0&&b!==null)e:for(;;){if(b===null)return;var fe=b.tag;if(fe===3||fe===4){var Te=b.stateNode.containerInfo;if(Te===L||Te.nodeType===8&&Te.parentNode===L)break;if(fe===4)for(fe=b.return;fe!==null;){var Fe=fe.tag;if((Fe===3||Fe===4)&&(Fe=fe.stateNode.containerInfo,Fe===L||Fe.nodeType===8&&Fe.parentNode===L))return;fe=fe.return}for(;Te!==null;){if(fe=vl(Te),fe===null)return;if(Fe=fe.tag,Fe===5||Fe===6){b=V=fe;continue e}Te=Te.parentNode}}b=b.return}In(function(){var lt=V,Ot=Xe(v),Gt=[];e:{var bt=nk.get(s);if(bt!==void 0){var Qt=q,Wt=s;switch(s){case"keypress":if(po(v)===0)break e;case"keydown":case"keyup":Qt=ar;break;case"focusin":Wt="focus",Qt=hr;break;case"focusout":Wt="blur",Qt=hr;break;case"beforeblur":case"afterblur":Qt=hr;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":Qt=pt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Qt=tt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Qt=Xn;break;case ZP:case ek:case tk:Qt=Ir;break;case rk:Qt=Ed;break;case"scroll":Qt=te;break;case"wheel":Qt=jo;break;case"copy":case"cut":case"paste":Qt=zn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Qt=pr}var kr=(c&4)!==0,ci=!kr&&s==="scroll",Ze=kr?bt!==null?bt+"Capture":null:bt;kr=[];for(var Be=lt,st;Be!==null;){st=Be;var Ft=st.stateNode;if(st.tag===5&&Ft!==null&&(st=Ft,Ze!==null&&(Ft=Dn(Be,Ze),Ft!=null&&kr.push(Od(Be,Ft,st)))),ci)break;Be=Be.return}0<kr.length&&(bt=new Qt(bt,Wt,null,v,Ot),Gt.push({event:bt,listeners:kr}))}}if((c&7)===0){e:{if(bt=s==="mouseover"||s==="pointerover",Qt=s==="mouseout"||s==="pointerout",bt&&v!==be&&(Wt=v.relatedTarget||v.fromElement)&&(vl(Wt)||Wt[Us]))break e;if((Qt||bt)&&(bt=Ot.window===Ot?Ot:(bt=Ot.ownerDocument)?bt.defaultView||bt.parentWindow:window,Qt?(Wt=v.relatedTarget||v.toElement,Qt=lt,Wt=Wt?vl(Wt):null,Wt!==null&&(ci=vi(Wt),Wt!==ci||Wt.tag!==5&&Wt.tag!==6)&&(Wt=null)):(Qt=null,Wt=lt),Qt!==Wt)){if(kr=pt,Ft="onMouseLeave",Ze="onMouseEnter",Be="mouse",(s==="pointerout"||s==="pointerover")&&(kr=pr,Ft="onPointerLeave",Ze="onPointerEnter",Be="pointer"),ci=Qt==null?bt:Hc(Qt),st=Wt==null?bt:Hc(Wt),bt=new kr(Ft,Be+"leave",Qt,v,Ot),bt.target=ci,bt.relatedTarget=st,Ft=null,vl(Ot)===lt&&(kr=new kr(Ze,Be+"enter",Wt,v,Ot),kr.target=st,kr.relatedTarget=ci,Ft=kr),ci=Ft,Qt&&Wt)t:{for(kr=Qt,Ze=Wt,Be=0,st=kr;st;st=Bc(st))Be++;for(st=0,Ft=Ze;Ft;Ft=Bc(Ft))st++;for(;0<Be-st;)kr=Bc(kr),Be--;for(;0<st-Be;)Ze=Bc(Ze),st--;for(;Be--;){if(kr===Ze||Ze!==null&&kr===Ze.alternate)break t;kr=Bc(kr),Ze=Bc(Ze)}kr=null}else kr=null;Qt!==null&&uk(Gt,bt,Qt,kr,!1),Wt!==null&&ci!==null&&uk(Gt,ci,Wt,kr,!0)}}e:{if(bt=lt?Hc(lt):window,Qt=bt.nodeName&&bt.nodeName.toLowerCase(),Qt==="select"||Qt==="input"&&bt.type==="file")var tr=Fc;else if(bd(bt))if(jc)tr=St;else{tr=nt;var mr=je}else(Qt=bt.nodeName)&&Qt.toLowerCase()==="input"&&(bt.type==="checkbox"||bt.type==="radio")&&(tr=dt);if(tr&&(tr=tr(s,lt))){bu(Gt,tr,v,Ot);break e}mr&&mr(s,bt,lt),s==="focusout"&&(mr=bt._wrapperState)&&mr.controlled&&bt.type==="number"&&De(bt,"number",bt.value)}switch(mr=lt?Hc(lt):window,s){case"focusin":(bd(mr)||mr.contentEditable==="true")&&(li=mr,yi=lt,Pi=null);break;case"focusout":Pi=yi=li=null;break;case"mousedown":Ta=!0;break;case"contextmenu":case"mouseup":case"dragend":Ta=!1,Fs(Gt,v,Ot);break;case"selectionchange":if(An)break;case"keydown":case"keyup":Fs(Gt,v,Ot)}var yr;if(Sd)e:{switch(s){case"compositionstart":var Ar="onCompositionStart";break e;case"compositionend":Ar="onCompositionEnd";break e;case"compositionupdate":Ar="onCompositionUpdate";break e}Ar=void 0}else Ms?Pp(s,v)&&(Ar="onCompositionEnd"):s==="keydown"&&v.keyCode===229&&(Ar="onCompositionStart");Ar&&(hl&&v.locale!=="ko"&&(Ms||Ar!=="onCompositionStart"?Ar==="onCompositionEnd"&&Ms&&(yr=Ls()):(mi=Ot,wu="value"in mi?mi.value:mi.textContent,Ms=!0)),mr=Np(lt,Ar),0<mr.length&&(Ar=new J(Ar,s,null,v,Ot),Gt.push({event:Ar,listeners:mr}),yr?Ar.data=yr:(yr=kp(v),yr!==null&&(Ar.data=yr)))),(yr=sn?$s(s,v):wd(s,v))&&(lt=Np(lt,"onBeforeInput"),0<lt.length&&(Ot=new J("onBeforeInput","beforeinput",null,v,Ot),Gt.push({event:Ot,listeners:lt}),Ot.data=yr))}ok(Gt,c)})}function Od(s,c,v){return{instance:s,listener:c,currentTarget:v}}function Np(s,c){for(var v=c+"Capture",b=[];s!==null;){var L=s,V=L.stateNode;L.tag===5&&V!==null&&(L=V,V=Dn(s,v),V!=null&&b.unshift(Od(s,V,L)),V=Dn(s,c),V!=null&&b.push(Od(s,V,L))),s=s.return}return b}function Bc(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function uk(s,c,v,b,L){for(var V=c._reactName,fe=[];v!==null&&v!==b;){var Te=v,Fe=Te.alternate,lt=Te.stateNode;if(Fe!==null&&Fe===b)break;Te.tag===5&&lt!==null&&(Te=lt,L?(Fe=Dn(v,V),Fe!=null&&fe.unshift(Od(v,Fe,Te))):L||(Fe=Dn(v,V),Fe!=null&&fe.push(Od(v,Fe,Te)))),v=v.return}fe.length!==0&&s.push({event:c,listeners:fe})}var Tie=/\r\n?/g,Aie=/\u0000|\uFFFD/g;function lk(s){return(typeof s=="string"?s:""+s).replace(Tie,`
85
+ `).replace(Aie,"")}function Mp(s,c,v){if(c=lk(c),lk(s)!==c&&v)throw Error(r(425))}function $p(){}var qy=null,By=null;function Vy(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Hy=typeof setTimeout=="function"?setTimeout:void 0,Rie=typeof clearTimeout=="function"?clearTimeout:void 0,ck=typeof Promise=="function"?Promise:void 0,xie=typeof queueMicrotask=="function"?queueMicrotask:typeof ck<"u"?function(s){return ck.resolve(null).then(s).catch(Cie)}:Hy;function Cie(s){setTimeout(function(){throw s})}function zy(s,c){var v=c,b=0;do{var L=v.nextSibling;if(s.removeChild(v),L&&L.nodeType===8)if(v=L.data,v==="/$"){if(b===0){s.removeChild(L),co(c);return}b--}else v!=="$"&&v!=="$?"&&v!=="$!"||b++;v=L}while(v);co(c)}function js(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function fk(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="$"||v==="$!"||v==="$?"){if(c===0)return s;c--}else v==="/$"&&c++}s=s.previousSibling}return null}var Vc=Math.random().toString(36).slice(2),ls="__reactFiber$"+Vc,Id="__reactProps$"+Vc,Us="__reactContainer$"+Vc,Wy="__reactEvents$"+Vc,Oie="__reactListeners$"+Vc,Iie="__reactHandles$"+Vc;function vl(s){var c=s[ls];if(c)return c;for(var v=s.parentNode;v;){if(c=v[Us]||v[ls]){if(v=c.alternate,c.child!==null||v!==null&&v.child!==null)for(s=fk(s);s!==null;){if(v=s[ls])return v;s=fk(s)}return c}s=v,v=s.parentNode}return null}function Pd(s){return s=s[ls]||s[Us],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Hc(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(r(33))}function Fp(s){return s[Id]||null}var Gy=[],zc=-1;function Au(s){return{current:s}}function jn(s){0>zc||(s.current=Gy[zc],Gy[zc]=null,zc--)}function Nn(s,c){zc++,Gy[zc]=s.current,s.current=c}var Ru={},Xi=Au(Ru),Aa=Au(!1),gl=Ru;function Wc(s,c){var v=s.type.contextTypes;if(!v)return Ru;var b=s.stateNode;if(b&&b.__reactInternalMemoizedUnmaskedChildContext===c)return b.__reactInternalMemoizedMaskedChildContext;var L={},V;for(V in v)L[V]=c[V];return b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=L),L}function Ra(s){return s=s.childContextTypes,s!=null}function jp(){jn(Aa),jn(Xi)}function dk(s,c,v){if(Xi.current!==Ru)throw Error(r(168));Nn(Xi,c),Nn(Aa,v)}function hk(s,c,v){var b=s.stateNode;if(c=c.childContextTypes,typeof b.getChildContext!="function")return v;b=b.getChildContext();for(var L in b)if(!(L in c))throw Error(r(108,O(s)||"Unknown",L));return z({},v,b)}function Up(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||Ru,gl=Xi.current,Nn(Xi,s),Nn(Aa,Aa.current),!0}function pk(s,c,v){var b=s.stateNode;if(!b)throw Error(r(169));v?(s=hk(s,c,gl),b.__reactInternalMemoizedMergedChildContext=s,jn(Aa),jn(Xi),Nn(Xi,s)):jn(Aa),Nn(Aa,v)}var qs=null,qp=!1,Ky=!1;function vk(s){qs===null?qs=[s]:qs.push(s)}function Pie(s){qp=!0,vk(s)}function xu(){if(!Ky&&qs!==null){Ky=!0;var s=0,c=Ut;try{var v=qs;for(Ut=1;s<v.length;s++){var b=v[s];do b=b(!0);while(b!==null)}qs=null,qp=!1}catch(L){throw qs!==null&&(qs=qs.slice(s+1)),oe(jt,xu),L}finally{Ut=c,Ky=!1}}return null}var kie=x.ReactCurrentBatchConfig;function Uo(s,c){if(s&&s.defaultProps){c=z({},c),s=s.defaultProps;for(var v in s)c[v]===void 0&&(c[v]=s[v]);return c}return c}var Bp=Au(null),Vp=null,Gc=null,Yy=null;function Xy(){Yy=Gc=Vp=null}function Qy(s){var c=Bp.current;jn(Bp),s._currentValue=c}function Jy(s,c,v){for(;s!==null;){var b=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,b!==null&&(b.childLanes|=c)):b!==null&&(b.childLanes&c)!==c&&(b.childLanes|=c),s===v)break;s=s.return}}function Kc(s,c){Vp=s,Yy=Gc=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(Ca=!0),s.firstContext=null)}function vo(s){var c=s._currentValue;if(Yy!==s)if(s={context:s,memoizedValue:c,next:null},Gc===null){if(Vp===null)throw Error(r(308));Gc=s,Vp.dependencies={lanes:0,firstContext:s}}else Gc=Gc.next=s;return c}var qo=null,Cu=!1;function Zy(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gk(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Bs(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function Ou(s,c){var v=s.updateQueue;v!==null&&(v=v.shared,PD(s)?(s=v.interleaved,s===null?(c.next=c,qo===null?qo=[v]:qo.push(v)):(c.next=s.next,s.next=c),v.interleaved=c):(s=v.pending,s===null?c.next=c:(c.next=s.next,s.next=c),v.pending=c))}function Hp(s,c,v){if(c=c.updateQueue,c!==null&&(c=c.shared,(v&4194240)!==0)){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,$t(s,v)}}function mk(s,c){var v=s.updateQueue,b=s.alternate;if(b!==null&&(b=b.updateQueue,v===b)){var L=null,V=null;if(v=v.firstBaseUpdate,v!==null){do{var fe={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};V===null?L=V=fe:V=V.next=fe,v=v.next}while(v!==null);V===null?L=V=c:V=V.next=c}else L=V=c;v={baseState:b.baseState,firstBaseUpdate:L,lastBaseUpdate:V,shared:b.shared,effects:b.effects},s.updateQueue=v;return}s=v.lastBaseUpdate,s===null?v.firstBaseUpdate=c:s.next=c,v.lastBaseUpdate=c}function zp(s,c,v,b){var L=s.updateQueue;Cu=!1;var V=L.firstBaseUpdate,fe=L.lastBaseUpdate,Te=L.shared.pending;if(Te!==null){L.shared.pending=null;var Fe=Te,lt=Fe.next;Fe.next=null,fe===null?V=lt:fe.next=lt,fe=Fe;var Ot=s.alternate;Ot!==null&&(Ot=Ot.updateQueue,Te=Ot.lastBaseUpdate,Te!==fe&&(Te===null?Ot.firstBaseUpdate=lt:Te.next=lt,Ot.lastBaseUpdate=Fe))}if(V!==null){var Gt=L.baseState;fe=0,Ot=lt=Fe=null,Te=V;do{var bt=Te.lane,Qt=Te.eventTime;if((b&bt)===bt){Ot!==null&&(Ot=Ot.next={eventTime:Qt,lane:0,tag:Te.tag,payload:Te.payload,callback:Te.callback,next:null});e:{var Wt=s,kr=Te;switch(bt=c,Qt=v,kr.tag){case 1:if(Wt=kr.payload,typeof Wt=="function"){Gt=Wt.call(Qt,Gt,bt);break e}Gt=Wt;break e;case 3:Wt.flags=Wt.flags&-65537|128;case 0:if(Wt=kr.payload,bt=typeof Wt=="function"?Wt.call(Qt,Gt,bt):Wt,bt==null)break e;Gt=z({},Gt,bt);break e;case 2:Cu=!0}}Te.callback!==null&&Te.lane!==0&&(s.flags|=64,bt=L.effects,bt===null?L.effects=[Te]:bt.push(Te))}else Qt={eventTime:Qt,lane:bt,tag:Te.tag,payload:Te.payload,callback:Te.callback,next:null},Ot===null?(lt=Ot=Qt,Fe=Gt):Ot=Ot.next=Qt,fe|=bt;if(Te=Te.next,Te===null){if(Te=L.shared.pending,Te===null)break;bt=Te,Te=bt.next,bt.next=null,L.lastBaseUpdate=bt,L.shared.pending=null}}while(!0);if(Ot===null&&(Fe=Gt),L.baseState=Fe,L.firstBaseUpdate=lt,L.lastBaseUpdate=Ot,c=L.shared.interleaved,c!==null){L=c;do fe|=L.lane,L=L.next;while(L!==c)}else V===null&&(L.shared.lanes=0);Sl|=fe,s.lanes=fe,s.memoizedState=Gt}}function yk(s,c,v){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var b=s[c],L=b.callback;if(L!==null){if(b.callback=null,b=v,typeof L!="function")throw Error(r(191,L));L.call(b)}}}var _k=new e.Component().refs;function e_(s,c,v,b){c=s.memoizedState,v=v(b,c),v=v==null?c:z({},c,v),s.memoizedState=v,s.lanes===0&&(s.updateQueue.baseState=v)}var Wp={isMounted:function(s){return(s=s._reactInternals)?vi(s)===s:!1},enqueueSetState:function(s,c,v){s=s._reactInternals;var b=ca(),L=Du(s),V=Bs(b,L);V.payload=c,v!=null&&(V.callback=v),Ou(s,V),c=Eo(s,L,b),c!==null&&Hp(c,s,L)},enqueueReplaceState:function(s,c,v){s=s._reactInternals;var b=ca(),L=Du(s),V=Bs(b,L);V.tag=1,V.payload=c,v!=null&&(V.callback=v),Ou(s,V),c=Eo(s,L,b),c!==null&&Hp(c,s,L)},enqueueForceUpdate:function(s,c){s=s._reactInternals;var v=ca(),b=Du(s),L=Bs(v,b);L.tag=2,c!=null&&(L.callback=c),Ou(s,L),c=Eo(s,b,v),c!==null&&Hp(c,s,b)}};function Ek(s,c,v,b,L,V,fe){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(b,V,fe):c.prototype&&c.prototype.isPureReactComponent?!Jt(v,b)||!Jt(L,V):!0}function Sk(s,c,v){var b=!1,L=Ru,V=c.contextType;return typeof V=="object"&&V!==null?V=vo(V):(L=Ra(c)?gl:Xi.current,b=c.contextTypes,V=(b=b!=null)?Wc(s,L):Ru),c=new c(v,V),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Wp,s.stateNode=c,c._reactInternals=s,b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=L,s.__reactInternalMemoizedMaskedChildContext=V),c}function wk(s,c,v,b){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(v,b),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(v,b),c.state!==s&&Wp.enqueueReplaceState(c,c.state,null)}function t_(s,c,v,b){var L=s.stateNode;L.props=v,L.state=s.memoizedState,L.refs=_k,Zy(s);var V=c.contextType;typeof V=="object"&&V!==null?L.context=vo(V):(V=Ra(c)?gl:Xi.current,L.context=Wc(s,V)),L.state=s.memoizedState,V=c.getDerivedStateFromProps,typeof V=="function"&&(e_(s,c,V,v),L.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(c=L.state,typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount(),c!==L.state&&Wp.enqueueReplaceState(L,L.state,null),zp(s,v,L,b),L.state=s.memoizedState),typeof L.componentDidMount=="function"&&(s.flags|=4194308)}var Yc=[],Xc=0,Gp=null,Kp=0,go=[],mo=0,ml=null,Vs=1,Hs="";function yl(s,c){Yc[Xc++]=Kp,Yc[Xc++]=Gp,Gp=s,Kp=c}function bk(s,c,v){go[mo++]=Vs,go[mo++]=Hs,go[mo++]=ml,ml=s;var b=Vs;s=Hs;var L=32-bn(b)-1;b&=~(1<<L),v+=1;var V=32-bn(c)+L;if(30<V){var fe=L-L%5;V=(b&(1<<fe)-1).toString(32),b>>=fe,L-=fe,Vs=1<<32-bn(c)+L|v<<L|b,Hs=V+s}else Vs=1<<V|v<<L|b,Hs=s}function r_(s){s.return!==null&&(yl(s,1),bk(s,1,0))}function n_(s){for(;s===Gp;)Gp=Yc[--Xc],Yc[Xc]=null,Kp=Yc[--Xc],Yc[Xc]=null;for(;s===ml;)ml=go[--mo],go[mo]=null,Hs=go[--mo],go[mo]=null,Vs=go[--mo],go[mo]=null}var Ba=null,xa=null,Wn=!1,Bo=null;function Tk(s,c){var v=So(5,null,null,0);v.elementType="DELETED",v.stateNode=c,v.return=s,c=s.deletions,c===null?(s.deletions=[v],s.flags|=16):c.push(v)}function Ak(s,c){switch(s.tag){case 5:var v=s.type;return c=c.nodeType!==1||v.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Ba=s,xa=js(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Ba=s,xa=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(v=ml!==null?{id:Vs,overflow:Hs}:null,s.memoizedState={dehydrated:c,treeContext:v,retryLane:1073741824},v=So(18,null,null,0),v.stateNode=c,v.return=s,s.child=v,Ba=s,xa=null,!0):!1;default:return!1}}function i_(s){return(s.mode&1)!==0&&(s.flags&128)===0}function a_(s){if(Wn){var c=xa;if(c){var v=c;if(!Ak(s,c)){if(i_(s))throw Error(r(418));c=js(v.nextSibling);var b=Ba;c&&Ak(s,c)?Tk(b,v):(s.flags=s.flags&-4097|2,Wn=!1,Ba=s)}}else{if(i_(s))throw Error(r(418));s.flags=s.flags&-4097|2,Wn=!1,Ba=s}}}function Rk(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Ba=s}function kd(s){if(s!==Ba)return!1;if(!Wn)return Rk(s),Wn=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!Vy(s.type,s.memoizedProps)),c&&(c=xa)){if(i_(s)){for(s=xa;s;)s=js(s.nextSibling);throw Error(r(418))}for(;c;)Tk(s,c),c=js(c.nextSibling)}if(Rk(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="/$"){if(c===0){xa=js(s.nextSibling);break e}c--}else v!=="$"&&v!=="$!"&&v!=="$?"||c++}s=s.nextSibling}xa=null}}else xa=Ba?js(s.stateNode.nextSibling):null;return!0}function Qc(){xa=Ba=null,Wn=!1}function o_(s){Bo===null?Bo=[s]:Bo.push(s)}function Dd(s,c,v){if(s=v.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var b=v.stateNode}if(!b)throw Error(r(147,s));var L=b,V=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===V?c.ref:(c=function(fe){var Te=L.refs;Te===_k&&(Te=L.refs={}),fe===null?delete Te[V]:Te[V]=fe},c._stringRef=V,c)}if(typeof s!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,s))}return s}function Yp(s,c){throw s=Object.prototype.toString.call(c),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function xk(s){var c=s._init;return c(s._payload)}function Ck(s){function c(Ze,Be){if(s){var st=Ze.deletions;st===null?(Ze.deletions=[Be],Ze.flags|=16):st.push(Be)}}function v(Ze,Be){if(!s)return null;for(;Be!==null;)c(Ze,Be),Be=Be.sibling;return null}function b(Ze,Be){for(Ze=new Map;Be!==null;)Be.key!==null?Ze.set(Be.key,Be):Ze.set(Be.index,Be),Be=Be.sibling;return Ze}function L(Ze,Be){return Ze=Nu(Ze,Be),Ze.index=0,Ze.sibling=null,Ze}function V(Ze,Be,st){return Ze.index=st,s?(st=Ze.alternate,st!==null?(st=st.index,st<Be?(Ze.flags|=2,Be):st):(Ze.flags|=2,Be)):(Ze.flags|=1048576,Be)}function fe(Ze){return s&&Ze.alternate===null&&(Ze.flags|=2),Ze}function Te(Ze,Be,st,Ft){return Be===null||Be.tag!==6?(Be=q_(st,Ze.mode,Ft),Be.return=Ze,Be):(Be=L(Be,st),Be.return=Ze,Be)}function Fe(Ze,Be,st,Ft){var tr=st.type;return tr===y?Ot(Ze,Be,st.props.children,Ft,st.key):Be!==null&&(Be.elementType===tr||typeof tr=="object"&&tr!==null&&tr.$$typeof===re&&xk(tr)===Be.type)?(Ft=L(Be,st.props),Ft.ref=Dd(Ze,Be,st),Ft.return=Ze,Ft):(Ft=gv(st.type,st.key,st.props,null,Ze.mode,Ft),Ft.ref=Dd(Ze,Be,st),Ft.return=Ze,Ft)}function lt(Ze,Be,st,Ft){return Be===null||Be.tag!==4||Be.stateNode.containerInfo!==st.containerInfo||Be.stateNode.implementation!==st.implementation?(Be=B_(st,Ze.mode,Ft),Be.return=Ze,Be):(Be=L(Be,st.children||[]),Be.return=Ze,Be)}function Ot(Ze,Be,st,Ft,tr){return Be===null||Be.tag!==7?(Be=Al(st,Ze.mode,Ft,tr),Be.return=Ze,Be):(Be=L(Be,st),Be.return=Ze,Be)}function Gt(Ze,Be,st){if(typeof Be=="string"&&Be!==""||typeof Be=="number")return Be=q_(""+Be,Ze.mode,st),Be.return=Ze,Be;if(typeof Be=="object"&&Be!==null){switch(Be.$$typeof){case R:return st=gv(Be.type,Be.key,Be.props,null,Ze.mode,st),st.ref=Dd(Ze,null,Be),st.return=Ze,st;case P:return Be=B_(Be,Ze.mode,st),Be.return=Ze,Be;case re:var Ft=Be._init;return Gt(Ze,Ft(Be._payload),st)}if(he(Be)||ee(Be))return Be=Al(Be,Ze.mode,st,null),Be.return=Ze,Be;Yp(Ze,Be)}return null}function bt(Ze,Be,st,Ft){var tr=Be!==null?Be.key:null;if(typeof st=="string"&&st!==""||typeof st=="number")return tr!==null?null:Te(Ze,Be,""+st,Ft);if(typeof st=="object"&&st!==null){switch(st.$$typeof){case R:return st.key===tr?Fe(Ze,Be,st,Ft):null;case P:return st.key===tr?lt(Ze,Be,st,Ft):null;case re:return tr=st._init,bt(Ze,Be,tr(st._payload),Ft)}if(he(st)||ee(st))return tr!==null?null:Ot(Ze,Be,st,Ft,null);Yp(Ze,st)}return null}function Qt(Ze,Be,st,Ft,tr){if(typeof Ft=="string"&&Ft!==""||typeof Ft=="number")return Ze=Ze.get(st)||null,Te(Be,Ze,""+Ft,tr);if(typeof Ft=="object"&&Ft!==null){switch(Ft.$$typeof){case R:return Ze=Ze.get(Ft.key===null?st:Ft.key)||null,Fe(Be,Ze,Ft,tr);case P:return Ze=Ze.get(Ft.key===null?st:Ft.key)||null,lt(Be,Ze,Ft,tr);case re:var mr=Ft._init;return Qt(Ze,Be,st,mr(Ft._payload),tr)}if(he(Ft)||ee(Ft))return Ze=Ze.get(st)||null,Ot(Be,Ze,Ft,tr,null);Yp(Be,Ft)}return null}function Wt(Ze,Be,st,Ft){for(var tr=null,mr=null,yr=Be,Ar=Be=0,Di=null;yr!==null&&Ar<st.length;Ar++){yr.index>Ar?(Di=yr,yr=null):Di=yr.sibling;var nn=bt(Ze,yr,st[Ar],Ft);if(nn===null){yr===null&&(yr=Di);break}s&&yr&&nn.alternate===null&&c(Ze,yr),Be=V(nn,Be,Ar),mr===null?tr=nn:mr.sibling=nn,mr=nn,yr=Di}if(Ar===st.length)return v(Ze,yr),Wn&&yl(Ze,Ar),tr;if(yr===null){for(;Ar<st.length;Ar++)yr=Gt(Ze,st[Ar],Ft),yr!==null&&(Be=V(yr,Be,Ar),mr===null?tr=yr:mr.sibling=yr,mr=yr);return Wn&&yl(Ze,Ar),tr}for(yr=b(Ze,yr);Ar<st.length;Ar++)Di=Qt(yr,Ze,Ar,st[Ar],Ft),Di!==null&&(s&&Di.alternate!==null&&yr.delete(Di.key===null?Ar:Di.key),Be=V(Di,Be,Ar),mr===null?tr=Di:mr.sibling=Di,mr=Di);return s&&yr.forEach(function(Mu){return c(Ze,Mu)}),Wn&&yl(Ze,Ar),tr}function kr(Ze,Be,st,Ft){var tr=ee(st);if(typeof tr!="function")throw Error(r(150));if(st=tr.call(st),st==null)throw Error(r(151));for(var mr=tr=null,yr=Be,Ar=Be=0,Di=null,nn=st.next();yr!==null&&!nn.done;Ar++,nn=st.next()){yr.index>Ar?(Di=yr,yr=null):Di=yr.sibling;var Mu=bt(Ze,yr,nn.value,Ft);if(Mu===null){yr===null&&(yr=Di);break}s&&yr&&Mu.alternate===null&&c(Ze,yr),Be=V(Mu,Be,Ar),mr===null?tr=Mu:mr.sibling=Mu,mr=Mu,yr=Di}if(nn.done)return v(Ze,yr),Wn&&yl(Ze,Ar),tr;if(yr===null){for(;!nn.done;Ar++,nn=st.next())nn=Gt(Ze,nn.value,Ft),nn!==null&&(Be=V(nn,Be,Ar),mr===null?tr=nn:mr.sibling=nn,mr=nn);return Wn&&yl(Ze,Ar),tr}for(yr=b(Ze,yr);!nn.done;Ar++,nn=st.next())nn=Qt(yr,Ze,Ar,nn.value,Ft),nn!==null&&(s&&nn.alternate!==null&&yr.delete(nn.key===null?Ar:nn.key),Be=V(nn,Be,Ar),mr===null?tr=nn:mr.sibling=nn,mr=nn);return s&&yr.forEach(function(cae){return c(Ze,cae)}),Wn&&yl(Ze,Ar),tr}function ci(Ze,Be,st,Ft){if(typeof st=="object"&&st!==null&&st.type===y&&st.key===null&&(st=st.props.children),typeof st=="object"&&st!==null){switch(st.$$typeof){case R:e:{for(var tr=st.key,mr=Be;mr!==null;){if(mr.key===tr){if(tr=st.type,tr===y){if(mr.tag===7){v(Ze,mr.sibling),Be=L(mr,st.props.children),Be.return=Ze,Ze=Be;break e}}else if(mr.elementType===tr||typeof tr=="object"&&tr!==null&&tr.$$typeof===re&&xk(tr)===mr.type){v(Ze,mr.sibling),Be=L(mr,st.props),Be.ref=Dd(Ze,mr,st),Be.return=Ze,Ze=Be;break e}v(Ze,mr);break}else c(Ze,mr);mr=mr.sibling}st.type===y?(Be=Al(st.props.children,Ze.mode,Ft,st.key),Be.return=Ze,Ze=Be):(Ft=gv(st.type,st.key,st.props,null,Ze.mode,Ft),Ft.ref=Dd(Ze,Be,st),Ft.return=Ze,Ze=Ft)}return fe(Ze);case P:e:{for(mr=st.key;Be!==null;){if(Be.key===mr)if(Be.tag===4&&Be.stateNode.containerInfo===st.containerInfo&&Be.stateNode.implementation===st.implementation){v(Ze,Be.sibling),Be=L(Be,st.children||[]),Be.return=Ze,Ze=Be;break e}else{v(Ze,Be);break}else c(Ze,Be);Be=Be.sibling}Be=B_(st,Ze.mode,Ft),Be.return=Ze,Ze=Be}return fe(Ze);case re:return mr=st._init,ci(Ze,Be,mr(st._payload),Ft)}if(he(st))return Wt(Ze,Be,st,Ft);if(ee(st))return kr(Ze,Be,st,Ft);Yp(Ze,st)}return typeof st=="string"&&st!==""||typeof st=="number"?(st=""+st,Be!==null&&Be.tag===6?(v(Ze,Be.sibling),Be=L(Be,st),Be.return=Ze,Ze=Be):(v(Ze,Be),Be=q_(st,Ze.mode,Ft),Be.return=Ze,Ze=Be),fe(Ze)):v(Ze,Be)}return ci}var Jc=Ck(!0),Ok=Ck(!1),Ld={},cs=Au(Ld),Nd=Au(Ld),Md=Au(Ld);function _l(s){if(s===Ld)throw Error(r(174));return s}function s_(s,c){switch(Nn(Md,c),Nn(Nd,s),Nn(cs,Ld),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:it(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=it(c,s)}jn(cs),Nn(cs,c)}function Zc(){jn(cs),jn(Nd),jn(Md)}function Ik(s){_l(Md.current);var c=_l(cs.current),v=it(c,s.type);c!==v&&(Nn(Nd,s),Nn(cs,v))}function u_(s){Nd.current===s&&(jn(cs),jn(Nd))}var Qn=Au(0);function Xp(s){for(var c=s;c!==null;){if(c.tag===13){var v=c.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var l_=[];function c_(){for(var s=0;s<l_.length;s++)l_[s]._workInProgressVersionPrimary=null;l_.length=0}var Qp=x.ReactCurrentDispatcher,f_=x.ReactCurrentBatchConfig,El=0,Jn=null,Ti=null,ki=null,Jp=!1,$d=!1,Fd=0,Die=0;function Qi(){throw Error(r(321))}function d_(s,c){if(c===null)return!1;for(var v=0;v<c.length&&v<s.length;v++)if(!Vt(s[v],c[v]))return!1;return!0}function h_(s,c,v,b,L,V){if(El=V,Jn=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Qp.current=s===null||s.memoizedState===null?$ie:Fie,s=v(b,L),$d){V=0;do{if($d=!1,Fd=0,25<=V)throw Error(r(301));V+=1,ki=Ti=null,c.updateQueue=null,Qp.current=jie,s=v(b,L)}while($d)}if(Qp.current=tv,c=Ti!==null&&Ti.next!==null,El=0,ki=Ti=Jn=null,Jp=!1,c)throw Error(r(300));return s}function p_(){var s=Fd!==0;return Fd=0,s}function fs(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ki===null?Jn.memoizedState=ki=s:ki=ki.next=s,ki}function yo(){if(Ti===null){var s=Jn.alternate;s=s!==null?s.memoizedState:null}else s=Ti.next;var c=ki===null?Jn.memoizedState:ki.next;if(c!==null)ki=c,Ti=s;else{if(s===null)throw Error(r(310));Ti=s,s={memoizedState:Ti.memoizedState,baseState:Ti.baseState,baseQueue:Ti.baseQueue,queue:Ti.queue,next:null},ki===null?Jn.memoizedState=ki=s:ki=ki.next=s}return ki}function jd(s,c){return typeof c=="function"?c(s):c}function v_(s){var c=yo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=Ti,L=b.baseQueue,V=v.pending;if(V!==null){if(L!==null){var fe=L.next;L.next=V.next,V.next=fe}b.baseQueue=L=V,v.pending=null}if(L!==null){V=L.next,b=b.baseState;var Te=fe=null,Fe=null,lt=V;do{var Ot=lt.lane;if((El&Ot)===Ot)Fe!==null&&(Fe=Fe.next={lane:0,action:lt.action,hasEagerState:lt.hasEagerState,eagerState:lt.eagerState,next:null}),b=lt.hasEagerState?lt.eagerState:s(b,lt.action);else{var Gt={lane:Ot,action:lt.action,hasEagerState:lt.hasEagerState,eagerState:lt.eagerState,next:null};Fe===null?(Te=Fe=Gt,fe=b):Fe=Fe.next=Gt,Jn.lanes|=Ot,Sl|=Ot}lt=lt.next}while(lt!==null&&lt!==V);Fe===null?fe=b:Fe.next=Te,Vt(b,c.memoizedState)||(Ca=!0),c.memoizedState=b,c.baseState=fe,c.baseQueue=Fe,v.lastRenderedState=b}if(s=v.interleaved,s!==null){L=s;do V=L.lane,Jn.lanes|=V,Sl|=V,L=L.next;while(L!==s)}else L===null&&(v.lanes=0);return[c.memoizedState,v.dispatch]}function g_(s){var c=yo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=v.dispatch,L=v.pending,V=c.memoizedState;if(L!==null){v.pending=null;var fe=L=L.next;do V=s(V,fe.action),fe=fe.next;while(fe!==L);Vt(V,c.memoizedState)||(Ca=!0),c.memoizedState=V,c.baseQueue===null&&(c.baseState=V),v.lastRenderedState=V}return[V,b]}function Pk(){}function kk(s,c){var v=Jn,b=yo(),L=c(),V=!Vt(b.memoizedState,L);if(V&&(b.memoizedState=L,Ca=!0),b=b.queue,m_(Nk.bind(null,v,b,s),[s]),b.getSnapshot!==c||V||ki!==null&&ki.memoizedState.tag&1){if(v.flags|=2048,Ud(9,Lk.bind(null,v,b,L,c),void 0,null),Ai===null)throw Error(r(349));(El&30)!==0||Dk(v,c,L)}return L}function Dk(s,c,v){s.flags|=16384,s={getSnapshot:c,value:v},c=Jn.updateQueue,c===null?(c={lastEffect:null,stores:null},Jn.updateQueue=c,c.stores=[s]):(v=c.stores,v===null?c.stores=[s]:v.push(s))}function Lk(s,c,v,b){c.value=v,c.getSnapshot=b,Mk(c)&&Eo(s,1,-1)}function Nk(s,c,v){return v(function(){Mk(c)&&Eo(s,1,-1)})}function Mk(s){var c=s.getSnapshot;s=s.value;try{var v=c();return!Vt(s,v)}catch{return!0}}function $k(s){var c=fs();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:jd,lastRenderedState:s},c.queue=s,s=s.dispatch=Mie.bind(null,Jn,s),[c.memoizedState,s]}function Ud(s,c,v,b){return s={tag:s,create:c,destroy:v,deps:b,next:null},c=Jn.updateQueue,c===null?(c={lastEffect:null,stores:null},Jn.updateQueue=c,c.lastEffect=s.next=s):(v=c.lastEffect,v===null?c.lastEffect=s.next=s:(b=v.next,v.next=s,s.next=b,c.lastEffect=s)),s}function Fk(){return yo().memoizedState}function Zp(s,c,v,b){var L=fs();Jn.flags|=s,L.memoizedState=Ud(1|c,v,void 0,b===void 0?null:b)}function ev(s,c,v,b){var L=yo();b=b===void 0?null:b;var V=void 0;if(Ti!==null){var fe=Ti.memoizedState;if(V=fe.destroy,b!==null&&d_(b,fe.deps)){L.memoizedState=Ud(c,v,V,b);return}}Jn.flags|=s,L.memoizedState=Ud(1|c,v,V,b)}function jk(s,c){return Zp(8390656,8,s,c)}function m_(s,c){return ev(2048,8,s,c)}function Uk(s,c){return ev(4,2,s,c)}function qk(s,c){return ev(4,4,s,c)}function Bk(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function Vk(s,c,v){return v=v!=null?v.concat([s]):null,ev(4,4,Bk.bind(null,c,s),v)}function y_(){}function Hk(s,c){var v=yo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&d_(c,b[1])?b[0]:(v.memoizedState=[s,c],s)}function zk(s,c){var v=yo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&d_(c,b[1])?b[0]:(s=s(),v.memoizedState=[s,c],s)}function Wk(s,c,v){return(El&21)===0?(s.baseState&&(s.baseState=!1,Ca=!0),s.memoizedState=v):(Vt(v,c)||(v=ke(),Jn.lanes|=v,Sl|=v,s.baseState=!0),c)}function Lie(s,c){var v=Ut;Ut=v!==0&&4>v?v:4,s(!0);var b=f_.transition;f_.transition={};try{s(!1),c()}finally{Ut=v,f_.transition=b}}function Gk(){return yo().memoizedState}function Nie(s,c,v){var b=Du(s);v={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null},Kk(s)?Yk(c,v):(Xk(s,c,v),v=ca(),s=Eo(s,b,v),s!==null&&Qk(s,c,b))}function Mie(s,c,v){var b=Du(s),L={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null};if(Kk(s))Yk(c,L);else{Xk(s,c,L);var V=s.alternate;if(s.lanes===0&&(V===null||V.lanes===0)&&(V=c.lastRenderedReducer,V!==null))try{var fe=c.lastRenderedState,Te=V(fe,v);if(L.hasEagerState=!0,L.eagerState=Te,Vt(Te,fe))return}catch{}finally{}v=ca(),s=Eo(s,b,v),s!==null&&Qk(s,c,b)}}function Kk(s){var c=s.alternate;return s===Jn||c!==null&&c===Jn}function Yk(s,c){$d=Jp=!0;var v=s.pending;v===null?c.next=c:(c.next=v.next,v.next=c),s.pending=c}function Xk(s,c,v){PD(s)?(s=c.interleaved,s===null?(v.next=v,qo===null?qo=[c]:qo.push(c)):(v.next=s.next,s.next=v),c.interleaved=v):(s=c.pending,s===null?v.next=v:(v.next=s.next,s.next=v),c.pending=v)}function Qk(s,c,v){if((v&4194240)!==0){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,$t(s,v)}}var tv={readContext:vo,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},$ie={readContext:vo,useCallback:function(s,c){return fs().memoizedState=[s,c===void 0?null:c],s},useContext:vo,useEffect:jk,useImperativeHandle:function(s,c,v){return v=v!=null?v.concat([s]):null,Zp(4194308,4,Bk.bind(null,c,s),v)},useLayoutEffect:function(s,c){return Zp(4194308,4,s,c)},useInsertionEffect:function(s,c){return Zp(4,2,s,c)},useMemo:function(s,c){var v=fs();return c=c===void 0?null:c,s=s(),v.memoizedState=[s,c],s},useReducer:function(s,c,v){var b=fs();return c=v!==void 0?v(c):c,b.memoizedState=b.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},b.queue=s,s=s.dispatch=Nie.bind(null,Jn,s),[b.memoizedState,s]},useRef:function(s){var c=fs();return s={current:s},c.memoizedState=s},useState:$k,useDebugValue:y_,useDeferredValue:function(s){return fs().memoizedState=s},useTransition:function(){var s=$k(!1),c=s[0];return s=Lie.bind(null,s[1]),fs().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,v){var b=Jn,L=fs();if(Wn){if(v===void 0)throw Error(r(407));v=v()}else{if(v=c(),Ai===null)throw Error(r(349));(El&30)!==0||Dk(b,c,v)}L.memoizedState=v;var V={value:v,getSnapshot:c};return L.queue=V,jk(Nk.bind(null,b,V,s),[s]),b.flags|=2048,Ud(9,Lk.bind(null,b,V,v,c),void 0,null),v},useId:function(){var s=fs(),c=Ai.identifierPrefix;if(Wn){var v=Hs,b=Vs;v=(b&~(1<<32-bn(b)-1)).toString(32)+v,c=":"+c+"R"+v,v=Fd++,0<v&&(c+="H"+v.toString(32)),c+=":"}else v=Die++,c=":"+c+"r"+v.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},Fie={readContext:vo,useCallback:Hk,useContext:vo,useEffect:m_,useImperativeHandle:Vk,useInsertionEffect:Uk,useLayoutEffect:qk,useMemo:zk,useReducer:v_,useRef:Fk,useState:function(){return v_(jd)},useDebugValue:y_,useDeferredValue:function(s){var c=yo();return Wk(c,Ti.memoizedState,s)},useTransition:function(){var s=v_(jd)[0],c=yo().memoizedState;return[s,c]},useMutableSource:Pk,useSyncExternalStore:kk,useId:Gk,unstable_isNewReconciler:!1},jie={readContext:vo,useCallback:Hk,useContext:vo,useEffect:m_,useImperativeHandle:Vk,useInsertionEffect:Uk,useLayoutEffect:qk,useMemo:zk,useReducer:g_,useRef:Fk,useState:function(){return g_(jd)},useDebugValue:y_,useDeferredValue:function(s){var c=yo();return Ti===null?c.memoizedState=s:Wk(c,Ti.memoizedState,s)},useTransition:function(){var s=g_(jd)[0],c=yo().memoizedState;return[s,c]},useMutableSource:Pk,useSyncExternalStore:kk,useId:Gk,unstable_isNewReconciler:!1};function __(s,c){try{var v="",b=c;do v+=Ve(b),b=b.return;while(b);var L=v}catch(V){L=`
86
+ Error generating stack: `+V.message+`
87
+ `+V.stack}return{value:s,source:c,stack:L}}function E_(s,c){try{console.error(c.value)}catch(v){setTimeout(function(){throw v})}}var Uie=typeof WeakMap=="function"?WeakMap:Map;function Jk(s,c,v){v=Bs(-1,v),v.tag=3,v.payload={element:null};var b=c.value;return v.callback=function(){lv||(lv=!0,D_=b),E_(s,c)},v}function Zk(s,c,v){v=Bs(-1,v),v.tag=3;var b=s.type.getDerivedStateFromError;if(typeof b=="function"){var L=c.value;v.payload=function(){return b(L)},v.callback=function(){E_(s,c)}}var V=s.stateNode;return V!==null&&typeof V.componentDidCatch=="function"&&(v.callback=function(){E_(s,c),typeof b!="function"&&(Pu===null?Pu=new Set([this]):Pu.add(this));var fe=c.stack;this.componentDidCatch(c.value,{componentStack:fe!==null?fe:""})}),v}function eD(s,c,v){var b=s.pingCache;if(b===null){b=s.pingCache=new Uie;var L=new Set;b.set(c,L)}else L=b.get(c),L===void 0&&(L=new Set,b.set(c,L));L.has(v)||(L.add(v),s=Zie.bind(null,s,c,v),c.then(s,s))}function tD(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function rD(s,c,v,b,L){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(c=Bs(-1,1),c.tag=2,Ou(v,c))),v.lanes|=1),s):(s.flags|=65536,s.lanes=L,s)}var nD,S_,iD,aD;nD=function(s,c){for(var v=c.child;v!==null;){if(v.tag===5||v.tag===6)s.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===c)break;for(;v.sibling===null;){if(v.return===null||v.return===c)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},S_=function(){},iD=function(s,c,v,b){var L=s.memoizedProps;if(L!==b){s=c.stateNode,_l(cs.current);var V=null;switch(v){case"input":L=ye(s,L),b=ye(s,b),V=[];break;case"select":L=z({},L,{value:void 0}),b=z({},b,{value:void 0}),V=[];break;case"textarea":L=_e(s,L),b=_e(s,b),V=[];break;default:typeof L.onClick!="function"&&typeof b.onClick=="function"&&(s.onclick=$p)}Ht(v,b);var fe;v=null;for(lt in L)if(!b.hasOwnProperty(lt)&&L.hasOwnProperty(lt)&&L[lt]!=null)if(lt==="style"){var Te=L[lt];for(fe in Te)Te.hasOwnProperty(fe)&&(v||(v={}),v[fe]="")}else lt!=="dangerouslySetInnerHTML"&&lt!=="children"&&lt!=="suppressContentEditableWarning"&&lt!=="suppressHydrationWarning"&&lt!=="autoFocus"&&(i.hasOwnProperty(lt)?V||(V=[]):(V=V||[]).push(lt,null));for(lt in b){var Fe=b[lt];if(Te=L!=null?L[lt]:void 0,b.hasOwnProperty(lt)&&Fe!==Te&&(Fe!=null||Te!=null))if(lt==="style")if(Te){for(fe in Te)!Te.hasOwnProperty(fe)||Fe&&Fe.hasOwnProperty(fe)||(v||(v={}),v[fe]="");for(fe in Fe)Fe.hasOwnProperty(fe)&&Te[fe]!==Fe[fe]&&(v||(v={}),v[fe]=Fe[fe])}else v||(V||(V=[]),V.push(lt,v)),v=Fe;else lt==="dangerouslySetInnerHTML"?(Fe=Fe?Fe.__html:void 0,Te=Te?Te.__html:void 0,Fe!=null&&Te!==Fe&&(V=V||[]).push(lt,Fe)):lt==="children"?typeof Fe!="string"&&typeof Fe!="number"||(V=V||[]).push(lt,""+Fe):lt!=="suppressContentEditableWarning"&&lt!=="suppressHydrationWarning"&&(i.hasOwnProperty(lt)?(Fe!=null&&lt==="onScroll"&&Fn("scroll",s),V||Te===Fe||(V=[])):(V=V||[]).push(lt,Fe))}v&&(V=V||[]).push("style",v);var lt=V;(c.updateQueue=lt)&&(c.flags|=4)}},aD=function(s,c,v,b){v!==b&&(c.flags|=4)};function qd(s,c){if(!Wn)switch(s.tailMode){case"hidden":c=s.tail;for(var v=null;c!==null;)c.alternate!==null&&(v=c),c=c.sibling;v===null?s.tail=null:v.sibling=null;break;case"collapsed":v=s.tail;for(var b=null;v!==null;)v.alternate!==null&&(b=v),v=v.sibling;b===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:b.sibling=null}}function Ji(s){var c=s.alternate!==null&&s.alternate.child===s.child,v=0,b=0;if(c)for(var L=s.child;L!==null;)v|=L.lanes|L.childLanes,b|=L.subtreeFlags&14680064,b|=L.flags&14680064,L.return=s,L=L.sibling;else for(L=s.child;L!==null;)v|=L.lanes|L.childLanes,b|=L.subtreeFlags,b|=L.flags,L.return=s,L=L.sibling;return s.subtreeFlags|=b,s.childLanes=v,c}function qie(s,c,v){var b=c.pendingProps;switch(n_(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ji(c),null;case 1:return Ra(c.type)&&jp(),Ji(c),null;case 3:return b=c.stateNode,Zc(),jn(Aa),jn(Xi),c_(),b.pendingContext&&(b.context=b.pendingContext,b.pendingContext=null),(s===null||s.child===null)&&(kd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,Bo!==null&&(M_(Bo),Bo=null))),S_(s,c),Ji(c),null;case 5:u_(c);var L=_l(Md.current);if(v=c.type,s!==null&&c.stateNode!=null)iD(s,c,v,b,L),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!b){if(c.stateNode===null)throw Error(r(166));return Ji(c),null}if(s=_l(cs.current),kd(c)){b=c.stateNode,v=c.type;var V=c.memoizedProps;switch(b[ls]=c,b[Id]=V,s=(c.mode&1)!==0,v){case"dialog":Fn("cancel",b),Fn("close",b);break;case"iframe":case"object":case"embed":Fn("load",b);break;case"video":case"audio":for(L=0;L<xd.length;L++)Fn(xd[L],b);break;case"source":Fn("error",b);break;case"img":case"image":case"link":Fn("error",b),Fn("load",b);break;case"details":Fn("toggle",b);break;case"input":ve(b,V),Fn("invalid",b);break;case"select":b._wrapperState={wasMultiple:!!V.multiple},Fn("invalid",b);break;case"textarea":Le(b,V),Fn("invalid",b)}Ht(v,V),L=null;for(var fe in V)if(V.hasOwnProperty(fe)){var Te=V[fe];fe==="children"?typeof Te=="string"?b.textContent!==Te&&(V.suppressHydrationWarning!==!0&&Mp(b.textContent,Te,s),L=["children",Te]):typeof Te=="number"&&b.textContent!==""+Te&&(V.suppressHydrationWarning!==!0&&Mp(b.textContent,Te,s),L=["children",""+Te]):i.hasOwnProperty(fe)&&Te!=null&&fe==="onScroll"&&Fn("scroll",b)}switch(v){case"input":U(b),xe(b,V,!0);break;case"textarea":U(b),Ne(b);break;case"select":case"option":break;default:typeof V.onClick=="function"&&(b.onclick=$p)}b=L,c.updateQueue=b,b!==null&&(c.flags|=4)}else{fe=L.nodeType===9?L:L.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=Ge(v)),s==="http://www.w3.org/1999/xhtml"?v==="script"?(s=fe.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof b.is=="string"?s=fe.createElement(v,{is:b.is}):(s=fe.createElement(v),v==="select"&&(fe=s,b.multiple?fe.multiple=!0:b.size&&(fe.size=b.size))):s=fe.createElementNS(s,v),s[ls]=c,s[Id]=b,nD(s,c,!1,!1),c.stateNode=s;e:{switch(fe=Ct(v,b),v){case"dialog":Fn("cancel",s),Fn("close",s),L=b;break;case"iframe":case"object":case"embed":Fn("load",s),L=b;break;case"video":case"audio":for(L=0;L<xd.length;L++)Fn(xd[L],s);L=b;break;case"source":Fn("error",s),L=b;break;case"img":case"image":case"link":Fn("error",s),Fn("load",s),L=b;break;case"details":Fn("toggle",s),L=b;break;case"input":ve(s,b),L=ye(s,b),Fn("invalid",s);break;case"option":L=b;break;case"select":s._wrapperState={wasMultiple:!!b.multiple},L=z({},b,{value:void 0}),Fn("invalid",s);break;case"textarea":Le(s,b),L=_e(s,b),Fn("invalid",s);break;default:L=b}Ht(v,L),Te=L;for(V in Te)if(Te.hasOwnProperty(V)){var Fe=Te[V];V==="style"?ot(s,Fe):V==="dangerouslySetInnerHTML"?(Fe=Fe?Fe.__html:void 0,Fe!=null&&rr(s,Fe)):V==="children"?typeof Fe=="string"?(v!=="textarea"||Fe!=="")&&Ke(s,Fe):typeof Fe=="number"&&Ke(s,""+Fe):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(i.hasOwnProperty(V)?Fe!=null&&V==="onScroll"&&Fn("scroll",s):Fe!=null&&C(s,V,Fe,fe))}switch(v){case"input":U(s),xe(s,b,!1);break;case"textarea":U(s),Ne(s);break;case"option":b.value!=null&&s.setAttribute("value",""+I(b.value));break;case"select":s.multiple=!!b.multiple,V=b.value,V!=null?me(s,!!b.multiple,V,!1):b.defaultValue!=null&&me(s,!!b.multiple,b.defaultValue,!0);break;default:typeof L.onClick=="function"&&(s.onclick=$p)}switch(v){case"button":case"input":case"select":case"textarea":b=!!b.autoFocus;break e;case"img":b=!0;break e;default:b=!1}}b&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Ji(c),null;case 6:if(s&&c.stateNode!=null)aD(s,c,s.memoizedProps,b);else{if(typeof b!="string"&&c.stateNode===null)throw Error(r(166));if(v=_l(Md.current),_l(cs.current),kd(c)){if(b=c.stateNode,v=c.memoizedProps,b[ls]=c,(V=b.nodeValue!==v)&&(s=Ba,s!==null))switch(s.tag){case 3:Mp(b.nodeValue,v,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&Mp(b.nodeValue,v,(s.mode&1)!==0)}V&&(c.flags|=4)}else b=(v.nodeType===9?v:v.ownerDocument).createTextNode(b),b[ls]=c,c.stateNode=b}return Ji(c),null;case 13:if(jn(Qn),b=c.memoizedState,Wn&&xa!==null&&(c.mode&1)!==0&&(c.flags&128)===0){for(b=xa;b;)b=js(b.nextSibling);return Qc(),c.flags|=98560,c}if(b!==null&&b.dehydrated!==null){if(b=kd(c),s===null){if(!b)throw Error(r(318));if(b=c.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[ls]=c}else Qc(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;return Ji(c),null}return Bo!==null&&(M_(Bo),Bo=null),(c.flags&128)!==0?(c.lanes=v,c):(b=b!==null,v=!1,s===null?kd(c):v=s.memoizedState!==null,b!==v&&b&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(Qn.current&1)!==0?Ri===0&&(Ri=3):j_())),c.updateQueue!==null&&(c.flags|=4),Ji(c),null);case 4:return Zc(),S_(s,c),s===null&&Cd(c.stateNode.containerInfo),Ji(c),null;case 10:return Qy(c.type._context),Ji(c),null;case 17:return Ra(c.type)&&jp(),Ji(c),null;case 19:if(jn(Qn),V=c.memoizedState,V===null)return Ji(c),null;if(b=(c.flags&128)!==0,fe=V.rendering,fe===null)if(b)qd(V,!1);else{if(Ri!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(fe=Xp(s),fe!==null){for(c.flags|=128,qd(V,!1),b=fe.updateQueue,b!==null&&(c.updateQueue=b,c.flags|=4),c.subtreeFlags=0,b=v,v=c.child;v!==null;)V=v,s=b,V.flags&=14680066,fe=V.alternate,fe===null?(V.childLanes=0,V.lanes=s,V.child=null,V.subtreeFlags=0,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null,V.stateNode=null):(V.childLanes=fe.childLanes,V.lanes=fe.lanes,V.child=fe.child,V.subtreeFlags=0,V.deletions=null,V.memoizedProps=fe.memoizedProps,V.memoizedState=fe.memoizedState,V.updateQueue=fe.updateQueue,V.type=fe.type,s=fe.dependencies,V.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),v=v.sibling;return Nn(Qn,Qn.current&1|2),c.child}s=s.sibling}V.tail!==null&&ft()>rf&&(c.flags|=128,b=!0,qd(V,!1),c.lanes=4194304)}else{if(!b)if(s=Xp(fe),s!==null){if(c.flags|=128,b=!0,v=s.updateQueue,v!==null&&(c.updateQueue=v,c.flags|=4),qd(V,!0),V.tail===null&&V.tailMode==="hidden"&&!fe.alternate&&!Wn)return Ji(c),null}else 2*ft()-V.renderingStartTime>rf&&v!==1073741824&&(c.flags|=128,b=!0,qd(V,!1),c.lanes=4194304);V.isBackwards?(fe.sibling=c.child,c.child=fe):(v=V.last,v!==null?v.sibling=fe:c.child=fe,V.last=fe)}return V.tail!==null?(c=V.tail,V.rendering=c,V.tail=c.sibling,V.renderingStartTime=ft(),c.sibling=null,v=Qn.current,Nn(Qn,b?v&1|2:v&1),c):(Ji(c),null);case 22:case 23:return F_(),b=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==b&&(c.flags|=8192),b&&(c.mode&1)!==0?(Va&1073741824)!==0&&(Ji(c),c.subtreeFlags&6&&(c.flags|=8192)):Ji(c),null;case 24:return null;case 25:return null}throw Error(r(156,c.tag))}var Bie=x.ReactCurrentOwner,Ca=!1;function la(s,c,v,b){c.child=s===null?Ok(c,null,v,b):Jc(c,s.child,v,b)}function oD(s,c,v,b,L){v=v.render;var V=c.ref;return Kc(c,L),b=h_(s,c,v,b,V,L),v=p_(),s!==null&&!Ca?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~L,zs(s,c,L)):(Wn&&v&&r_(c),c.flags|=1,la(s,c,b,L),c.child)}function sD(s,c,v,b,L){if(s===null){var V=v.type;return typeof V=="function"&&!U_(V)&&V.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(c.tag=15,c.type=V,uD(s,c,V,b,L)):(s=gv(v.type,null,b,c,c.mode,L),s.ref=c.ref,s.return=c,c.child=s)}if(V=s.child,(s.lanes&L)===0){var fe=V.memoizedProps;if(v=v.compare,v=v!==null?v:Jt,v(fe,b)&&s.ref===c.ref)return zs(s,c,L)}return c.flags|=1,s=Nu(V,b),s.ref=c.ref,s.return=c,c.child=s}function uD(s,c,v,b,L){if(s!==null){var V=s.memoizedProps;if(Jt(V,b)&&s.ref===c.ref)if(Ca=!1,c.pendingProps=b=V,(s.lanes&L)!==0)(s.flags&131072)!==0&&(Ca=!0);else return c.lanes=s.lanes,zs(s,c,L)}return w_(s,c,v,b,L)}function lD(s,c,v){var b=c.pendingProps,L=b.children,V=s!==null?s.memoizedState:null;if(b.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Nn(tf,Va),Va|=v;else if((v&1073741824)!==0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},b=V!==null?V.baseLanes:v,Nn(tf,Va),Va|=b;else return s=V!==null?V.baseLanes|v:v,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Nn(tf,Va),Va|=s,null;else V!==null?(b=V.baseLanes|v,c.memoizedState=null):b=v,Nn(tf,Va),Va|=b;return la(s,c,L,v),c.child}function cD(s,c){var v=c.ref;(s===null&&v!==null||s!==null&&s.ref!==v)&&(c.flags|=512,c.flags|=2097152)}function w_(s,c,v,b,L){var V=Ra(v)?gl:Xi.current;return V=Wc(c,V),Kc(c,L),v=h_(s,c,v,b,V,L),b=p_(),s!==null&&!Ca?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~L,zs(s,c,L)):(Wn&&b&&r_(c),c.flags|=1,la(s,c,v,L),c.child)}function fD(s,c,v,b,L){if(Ra(v)){var V=!0;Up(c)}else V=!1;if(Kc(c,L),c.stateNode===null)s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),Sk(c,v,b),t_(c,v,b,L),b=!0;else if(s===null){var fe=c.stateNode,Te=c.memoizedProps;fe.props=Te;var Fe=fe.context,lt=v.contextType;typeof lt=="object"&&lt!==null?lt=vo(lt):(lt=Ra(v)?gl:Xi.current,lt=Wc(c,lt));var Ot=v.getDerivedStateFromProps,Gt=typeof Ot=="function"||typeof fe.getSnapshotBeforeUpdate=="function";Gt||typeof fe.UNSAFE_componentWillReceiveProps!="function"&&typeof fe.componentWillReceiveProps!="function"||(Te!==b||Fe!==lt)&&wk(c,fe,b,lt),Cu=!1;var bt=c.memoizedState;fe.state=bt,zp(c,b,fe,L),Fe=c.memoizedState,Te!==b||bt!==Fe||Aa.current||Cu?(typeof Ot=="function"&&(e_(c,v,Ot,b),Fe=c.memoizedState),(Te=Cu||Ek(c,v,Te,b,bt,Fe,lt))?(Gt||typeof fe.UNSAFE_componentWillMount!="function"&&typeof fe.componentWillMount!="function"||(typeof fe.componentWillMount=="function"&&fe.componentWillMount(),typeof fe.UNSAFE_componentWillMount=="function"&&fe.UNSAFE_componentWillMount()),typeof fe.componentDidMount=="function"&&(c.flags|=4194308)):(typeof fe.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=b,c.memoizedState=Fe),fe.props=b,fe.state=Fe,fe.context=lt,b=Te):(typeof fe.componentDidMount=="function"&&(c.flags|=4194308),b=!1)}else{fe=c.stateNode,gk(s,c),Te=c.memoizedProps,lt=c.type===c.elementType?Te:Uo(c.type,Te),fe.props=lt,Gt=c.pendingProps,bt=fe.context,Fe=v.contextType,typeof Fe=="object"&&Fe!==null?Fe=vo(Fe):(Fe=Ra(v)?gl:Xi.current,Fe=Wc(c,Fe));var Qt=v.getDerivedStateFromProps;(Ot=typeof Qt=="function"||typeof fe.getSnapshotBeforeUpdate=="function")||typeof fe.UNSAFE_componentWillReceiveProps!="function"&&typeof fe.componentWillReceiveProps!="function"||(Te!==Gt||bt!==Fe)&&wk(c,fe,b,Fe),Cu=!1,bt=c.memoizedState,fe.state=bt,zp(c,b,fe,L);var Wt=c.memoizedState;Te!==Gt||bt!==Wt||Aa.current||Cu?(typeof Qt=="function"&&(e_(c,v,Qt,b),Wt=c.memoizedState),(lt=Cu||Ek(c,v,lt,b,bt,Wt,Fe)||!1)?(Ot||typeof fe.UNSAFE_componentWillUpdate!="function"&&typeof fe.componentWillUpdate!="function"||(typeof fe.componentWillUpdate=="function"&&fe.componentWillUpdate(b,Wt,Fe),typeof fe.UNSAFE_componentWillUpdate=="function"&&fe.UNSAFE_componentWillUpdate(b,Wt,Fe)),typeof fe.componentDidUpdate=="function"&&(c.flags|=4),typeof fe.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof fe.componentDidUpdate!="function"||Te===s.memoizedProps&&bt===s.memoizedState||(c.flags|=4),typeof fe.getSnapshotBeforeUpdate!="function"||Te===s.memoizedProps&&bt===s.memoizedState||(c.flags|=1024),c.memoizedProps=b,c.memoizedState=Wt),fe.props=b,fe.state=Wt,fe.context=Fe,b=lt):(typeof fe.componentDidUpdate!="function"||Te===s.memoizedProps&&bt===s.memoizedState||(c.flags|=4),typeof fe.getSnapshotBeforeUpdate!="function"||Te===s.memoizedProps&&bt===s.memoizedState||(c.flags|=1024),b=!1)}return b_(s,c,v,b,V,L)}function b_(s,c,v,b,L,V){cD(s,c);var fe=(c.flags&128)!==0;if(!b&&!fe)return L&&pk(c,v,!1),zs(s,c,V);b=c.stateNode,Bie.current=c;var Te=fe&&typeof v.getDerivedStateFromError!="function"?null:b.render();return c.flags|=1,s!==null&&fe?(c.child=Jc(c,s.child,null,V),c.child=Jc(c,null,Te,V)):la(s,c,Te,V),c.memoizedState=b.state,L&&pk(c,v,!0),c.child}function dD(s){var c=s.stateNode;c.pendingContext?dk(s,c.pendingContext,c.pendingContext!==c.context):c.context&&dk(s,c.context,!1),s_(s,c.containerInfo)}function hD(s,c,v,b,L){return Qc(),o_(L),c.flags|=256,la(s,c,v,b),c.child}var rv={dehydrated:null,treeContext:null,retryLane:0};function nv(s){return{baseLanes:s,cachePool:null,transitions:null}}function pD(s,c){return{baseLanes:s.baseLanes|c,cachePool:null,transitions:s.transitions}}function vD(s,c,v){var b=c.pendingProps,L=Qn.current,V=!1,fe=(c.flags&128)!==0,Te;if((Te=fe)||(Te=s!==null&&s.memoizedState===null?!1:(L&2)!==0),Te?(V=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(L|=1),Nn(Qn,L&1),s===null)return a_(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(L=b.children,s=b.fallback,V?(b=c.mode,V=c.child,L={mode:"hidden",children:L},(b&1)===0&&V!==null?(V.childLanes=0,V.pendingProps=L):V=mv(L,b,0,null),s=Al(s,b,v,null),V.return=c,s.return=c,V.sibling=s,c.child=V,c.child.memoizedState=nv(v),c.memoizedState=rv,s):T_(c,L));if(L=s.memoizedState,L!==null){if(Te=L.dehydrated,Te!==null){if(fe)return c.flags&256?(c.flags&=-257,iv(s,c,v,Error(r(422)))):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(V=b.fallback,L=c.mode,b=mv({mode:"visible",children:b.children},L,0,null),V=Al(V,L,v,null),V.flags|=2,b.return=c,V.return=c,b.sibling=V,c.child=b,(c.mode&1)!==0&&Jc(c,s.child,null,v),c.child.memoizedState=nv(v),c.memoizedState=rv,V);if((c.mode&1)===0)c=iv(s,c,v,null);else if(Te.data==="$!")c=iv(s,c,v,Error(r(419)));else if(b=(v&s.childLanes)!==0,Ca||b){if(b=Ai,b!==null){switch(v&-v){case 4:V=2;break;case 16:V=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:V=32;break;case 536870912:V=268435456;break;default:V=0}b=(V&(b.suspendedLanes|v))!==0?0:V,b!==0&&b!==L.retryLane&&(L.retryLane=b,Eo(s,b,-1))}j_(),c=iv(s,c,v,Error(r(421)))}else Te.data==="$?"?(c.flags|=128,c.child=s.child,c=eae.bind(null,s),Te._reactRetry=c,c=null):(v=L.treeContext,xa=js(Te.nextSibling),Ba=c,Wn=!0,Bo=null,v!==null&&(go[mo++]=Vs,go[mo++]=Hs,go[mo++]=ml,Vs=v.id,Hs=v.overflow,ml=c),c=T_(c,c.pendingProps.children),c.flags|=4096);return c}return V?(b=mD(s,c,b.children,b.fallback,v),V=c.child,L=s.child.memoizedState,V.memoizedState=L===null?nv(v):pD(L,v),V.childLanes=s.childLanes&~v,c.memoizedState=rv,b):(v=gD(s,c,b.children,v),c.memoizedState=null,v)}return V?(b=mD(s,c,b.children,b.fallback,v),V=c.child,L=s.child.memoizedState,V.memoizedState=L===null?nv(v):pD(L,v),V.childLanes=s.childLanes&~v,c.memoizedState=rv,b):(v=gD(s,c,b.children,v),c.memoizedState=null,v)}function T_(s,c){return c=mv({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function gD(s,c,v,b){var L=s.child;return s=L.sibling,v=Nu(L,{mode:"visible",children:v}),(c.mode&1)===0&&(v.lanes=b),v.return=c,v.sibling=null,s!==null&&(b=c.deletions,b===null?(c.deletions=[s],c.flags|=16):b.push(s)),c.child=v}function mD(s,c,v,b,L){var V=c.mode;s=s.child;var fe=s.sibling,Te={mode:"hidden",children:v};return(V&1)===0&&c.child!==s?(v=c.child,v.childLanes=0,v.pendingProps=Te,c.deletions=null):(v=Nu(s,Te),v.subtreeFlags=s.subtreeFlags&14680064),fe!==null?b=Nu(fe,b):(b=Al(b,V,L,null),b.flags|=2),b.return=c,v.return=c,v.sibling=b,c.child=v,b}function iv(s,c,v,b){return b!==null&&o_(b),Jc(c,s.child,null,v),s=T_(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function yD(s,c,v){s.lanes|=c;var b=s.alternate;b!==null&&(b.lanes|=c),Jy(s.return,c,v)}function A_(s,c,v,b,L){var V=s.memoizedState;V===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:b,tail:v,tailMode:L}:(V.isBackwards=c,V.rendering=null,V.renderingStartTime=0,V.last=b,V.tail=v,V.tailMode=L)}function _D(s,c,v){var b=c.pendingProps,L=b.revealOrder,V=b.tail;if(la(s,c,b.children,v),b=Qn.current,(b&2)!==0)b=b&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&yD(s,v,c);else if(s.tag===19)yD(s,v,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}b&=1}if(Nn(Qn,b),(c.mode&1)===0)c.memoizedState=null;else switch(L){case"forwards":for(v=c.child,L=null;v!==null;)s=v.alternate,s!==null&&Xp(s)===null&&(L=v),v=v.sibling;v=L,v===null?(L=c.child,c.child=null):(L=v.sibling,v.sibling=null),A_(c,!1,L,v,V);break;case"backwards":for(v=null,L=c.child,c.child=null;L!==null;){if(s=L.alternate,s!==null&&Xp(s)===null){c.child=L;break}s=L.sibling,L.sibling=v,v=L,L=s}A_(c,!0,v,null,V);break;case"together":A_(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function zs(s,c,v){if(s!==null&&(c.dependencies=s.dependencies),Sl|=c.lanes,(v&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(r(153));if(c.child!==null){for(s=c.child,v=Nu(s,s.pendingProps),c.child=v,v.return=c;s.sibling!==null;)s=s.sibling,v=v.sibling=Nu(s,s.pendingProps),v.return=c;v.sibling=null}return c.child}function Vie(s,c,v){switch(c.tag){case 3:dD(c),Qc();break;case 5:Ik(c);break;case 1:Ra(c.type)&&Up(c);break;case 4:s_(c,c.stateNode.containerInfo);break;case 10:var b=c.type._context,L=c.memoizedProps.value;Nn(Bp,b._currentValue),b._currentValue=L;break;case 13:if(b=c.memoizedState,b!==null)return b.dehydrated!==null?(Nn(Qn,Qn.current&1),c.flags|=128,null):(v&c.child.childLanes)!==0?vD(s,c,v):(Nn(Qn,Qn.current&1),s=zs(s,c,v),s!==null?s.sibling:null);Nn(Qn,Qn.current&1);break;case 19:if(b=(v&c.childLanes)!==0,(s.flags&128)!==0){if(b)return _D(s,c,v);c.flags|=128}if(L=c.memoizedState,L!==null&&(L.rendering=null,L.tail=null,L.lastEffect=null),Nn(Qn,Qn.current),b)break;return null;case 22:case 23:return c.lanes=0,lD(s,c,v)}return zs(s,c,v)}function Hie(s,c){switch(n_(c),c.tag){case 1:return Ra(c.type)&&jp(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Zc(),jn(Aa),jn(Xi),c_(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return u_(c),null;case 13:if(jn(Qn),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(r(340));Qc()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return jn(Qn),null;case 4:return Zc(),null;case 10:return Qy(c.type._context),null;case 22:case 23:return F_(),null;case 24:return null;default:return null}}var av=!1,Zi=!1,zie=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function ef(s,c){var v=s.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(b){ri(s,c,b)}else v.current=null}function R_(s,c,v){try{v()}catch(b){ri(s,c,b)}}var ED=!1;function Wie(s,c){if(qy=is,s=br(),Fr(s)){if("selectionStart"in s)var v={start:s.selectionStart,end:s.selectionEnd};else e:{v=(v=s.ownerDocument)&&v.defaultView||window;var b=v.getSelection&&v.getSelection();if(b&&b.rangeCount!==0){v=b.anchorNode;var L=b.anchorOffset,V=b.focusNode;b=b.focusOffset;try{v.nodeType,V.nodeType}catch{v=null;break e}var fe=0,Te=-1,Fe=-1,lt=0,Ot=0,Gt=s,bt=null;t:for(;;){for(var Qt;Gt!==v||L!==0&&Gt.nodeType!==3||(Te=fe+L),Gt!==V||b!==0&&Gt.nodeType!==3||(Fe=fe+b),Gt.nodeType===3&&(fe+=Gt.nodeValue.length),(Qt=Gt.firstChild)!==null;)bt=Gt,Gt=Qt;for(;;){if(Gt===s)break t;if(bt===v&&++lt===L&&(Te=fe),bt===V&&++Ot===b&&(Fe=fe),(Qt=Gt.nextSibling)!==null)break;Gt=bt,bt=Gt.parentNode}Gt=Qt}v=Te===-1||Fe===-1?null:{start:Te,end:Fe}}else v=null}v=v||{start:0,end:0}}else v=null;for(By={focusedElem:s,selectionRange:v},is=!1,Zt=c;Zt!==null;)if(c=Zt,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Zt=s;else for(;Zt!==null;){c=Zt;try{var Wt=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Wt!==null){var kr=Wt.memoizedProps,ci=Wt.memoizedState,Ze=c.stateNode,Be=Ze.getSnapshotBeforeUpdate(c.elementType===c.type?kr:Uo(c.type,kr),ci);Ze.__reactInternalSnapshotBeforeUpdate=Be}break;case 3:var st=c.stateNode.containerInfo;if(st.nodeType===1)st.textContent="";else if(st.nodeType===9){var Ft=st.body;Ft!=null&&(Ft.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(tr){ri(c,c.return,tr)}if(s=c.sibling,s!==null){s.return=c.return,Zt=s;break}Zt=c.return}return Wt=ED,ED=!1,Wt}function Bd(s,c,v){var b=c.updateQueue;if(b=b!==null?b.lastEffect:null,b!==null){var L=b=b.next;do{if((L.tag&s)===s){var V=L.destroy;L.destroy=void 0,V!==void 0&&R_(c,v,V)}L=L.next}while(L!==b)}}function ov(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var v=c=c.next;do{if((v.tag&s)===s){var b=v.create;v.destroy=b()}v=v.next}while(v!==c)}}function x_(s){var c=s.ref;if(c!==null){var v=s.stateNode;switch(s.tag){case 5:s=v;break;default:s=v}typeof c=="function"?c(s):c.current=s}}function SD(s){var c=s.alternate;c!==null&&(s.alternate=null,SD(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[ls],delete c[Id],delete c[Wy],delete c[Oie],delete c[Iie])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function wD(s){return s.tag===5||s.tag===3||s.tag===4}function bD(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||wD(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function C_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.nodeType===8?v.parentNode.insertBefore(s,c):v.insertBefore(s,c):(v.nodeType===8?(c=v.parentNode,c.insertBefore(s,v)):(c=v,c.appendChild(s)),v=v._reactRootContainer,v!=null||c.onclick!==null||(c.onclick=$p));else if(b!==4&&(s=s.child,s!==null))for(C_(s,c,v),s=s.sibling;s!==null;)C_(s,c,v),s=s.sibling}function O_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.insertBefore(s,c):v.appendChild(s);else if(b!==4&&(s=s.child,s!==null))for(O_(s,c,v),s=s.sibling;s!==null;)O_(s,c,v),s=s.sibling}var Mi=null,Vo=!1;function Iu(s,c,v){for(v=v.child;v!==null;)TD(s,c,v),v=v.sibling}function TD(s,c,v){if($r&&typeof $r.onCommitFiberUnmount=="function")try{$r.onCommitFiberUnmount(Rt,v)}catch{}switch(v.tag){case 5:Zi||ef(v,c);case 6:var b=Mi,L=Vo;Mi=null,Iu(s,c,v),Mi=b,Vo=L,Mi!==null&&(Vo?(s=Mi,v=v.stateNode,s.nodeType===8?s.parentNode.removeChild(v):s.removeChild(v)):Mi.removeChild(v.stateNode));break;case 18:Mi!==null&&(Vo?(s=Mi,v=v.stateNode,s.nodeType===8?zy(s.parentNode,v):s.nodeType===1&&zy(s,v),co(s)):zy(Mi,v.stateNode));break;case 4:b=Mi,L=Vo,Mi=v.stateNode.containerInfo,Vo=!0,Iu(s,c,v),Mi=b,Vo=L;break;case 0:case 11:case 14:case 15:if(!Zi&&(b=v.updateQueue,b!==null&&(b=b.lastEffect,b!==null))){L=b=b.next;do{var V=L,fe=V.destroy;V=V.tag,fe!==void 0&&((V&2)!==0||(V&4)!==0)&&R_(v,c,fe),L=L.next}while(L!==b)}Iu(s,c,v);break;case 1:if(!Zi&&(ef(v,c),b=v.stateNode,typeof b.componentWillUnmount=="function"))try{b.props=v.memoizedProps,b.state=v.memoizedState,b.componentWillUnmount()}catch(Te){ri(v,c,Te)}Iu(s,c,v);break;case 21:Iu(s,c,v);break;case 22:v.mode&1?(Zi=(b=Zi)||v.memoizedState!==null,Iu(s,c,v),Zi=b):Iu(s,c,v);break;default:Iu(s,c,v)}}function AD(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var v=s.stateNode;v===null&&(v=s.stateNode=new zie),c.forEach(function(b){var L=tae.bind(null,s,b);v.has(b)||(v.add(b),b.then(L,L))})}}function Ho(s,c){var v=c.deletions;if(v!==null)for(var b=0;b<v.length;b++){var L=v[b];try{var V=s,fe=c,Te=fe;e:for(;Te!==null;){switch(Te.tag){case 5:Mi=Te.stateNode,Vo=!1;break e;case 3:Mi=Te.stateNode.containerInfo,Vo=!0;break e;case 4:Mi=Te.stateNode.containerInfo,Vo=!0;break e}Te=Te.return}if(Mi===null)throw Error(r(160));TD(V,fe,L),Mi=null,Vo=!1;var Fe=L.alternate;Fe!==null&&(Fe.return=null),L.return=null}catch(lt){ri(L,c,lt)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)RD(c,s),c=c.sibling}function RD(s,c){var v=s.alternate,b=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(Ho(c,s),ds(s),b&4){try{Bd(3,s,s.return),ov(3,s)}catch(Wt){ri(s,s.return,Wt)}try{Bd(5,s,s.return)}catch(Wt){ri(s,s.return,Wt)}}break;case 1:Ho(c,s),ds(s),b&512&&v!==null&&ef(v,v.return);break;case 5:if(Ho(c,s),ds(s),b&512&&v!==null&&ef(v,v.return),s.flags&32){var L=s.stateNode;try{Ke(L,"")}catch(Wt){ri(s,s.return,Wt)}}if(b&4&&(L=s.stateNode,L!=null)){var V=s.memoizedProps,fe=v!==null?v.memoizedProps:V,Te=s.type,Fe=s.updateQueue;if(s.updateQueue=null,Fe!==null)try{Te==="input"&&V.type==="radio"&&V.name!=null&&Re(L,V),Ct(Te,fe);var lt=Ct(Te,V);for(fe=0;fe<Fe.length;fe+=2){var Ot=Fe[fe],Gt=Fe[fe+1];Ot==="style"?ot(L,Gt):Ot==="dangerouslySetInnerHTML"?rr(L,Gt):Ot==="children"?Ke(L,Gt):C(L,Ot,Gt,lt)}switch(Te){case"input":Se(L,V);break;case"textarea":Me(L,V);break;case"select":var bt=L._wrapperState.wasMultiple;L._wrapperState.wasMultiple=!!V.multiple;var Qt=V.value;Qt!=null?me(L,!!V.multiple,Qt,!1):bt!==!!V.multiple&&(V.defaultValue!=null?me(L,!!V.multiple,V.defaultValue,!0):me(L,!!V.multiple,V.multiple?[]:"",!1))}L[Id]=V}catch(Wt){ri(s,s.return,Wt)}}break;case 6:if(Ho(c,s),ds(s),b&4){if(s.stateNode===null)throw Error(r(162));lt=s.stateNode,Ot=s.memoizedProps;try{lt.nodeValue=Ot}catch(Wt){ri(s,s.return,Wt)}}break;case 3:if(Ho(c,s),ds(s),b&4&&v!==null&&v.memoizedState.isDehydrated)try{co(c.containerInfo)}catch(Wt){ri(s,s.return,Wt)}break;case 4:Ho(c,s),ds(s);break;case 13:Ho(c,s),ds(s),lt=s.child,lt.flags&8192&&lt.memoizedState!==null&&(lt.alternate===null||lt.alternate.memoizedState===null)&&(k_=ft()),b&4&&AD(s);break;case 22:if(lt=v!==null&&v.memoizedState!==null,s.mode&1?(Zi=(Ot=Zi)||lt,Ho(c,s),Zi=Ot):Ho(c,s),ds(s),b&8192){Ot=s.memoizedState!==null;e:for(Gt=null,bt=s;;){if(bt.tag===5){if(Gt===null){Gt=bt;try{L=bt.stateNode,Ot?(V=L.style,typeof V.setProperty=="function"?V.setProperty("display","none","important"):V.display="none"):(Te=bt.stateNode,Fe=bt.memoizedProps.style,fe=Fe!=null&&Fe.hasOwnProperty("display")?Fe.display:null,Te.style.display=rt("display",fe))}catch(Wt){ri(s,s.return,Wt)}}}else if(bt.tag===6){if(Gt===null)try{bt.stateNode.nodeValue=Ot?"":bt.memoizedProps}catch(Wt){ri(s,s.return,Wt)}}else if((bt.tag!==22&&bt.tag!==23||bt.memoizedState===null||bt===s)&&bt.child!==null){bt.child.return=bt,bt=bt.child;continue}if(bt===s)break e;for(;bt.sibling===null;){if(bt.return===null||bt.return===s)break e;Gt===bt&&(Gt=null),bt=bt.return}Gt===bt&&(Gt=null),bt.sibling.return=bt.return,bt=bt.sibling}if(Ot&&!lt&&(s.mode&1)!==0)for(Zt=s,s=s.child;s!==null;){for(lt=Zt=s;Zt!==null;){switch(Ot=Zt,Gt=Ot.child,Ot.tag){case 0:case 11:case 14:case 15:Bd(4,Ot,Ot.return);break;case 1:if(ef(Ot,Ot.return),V=Ot.stateNode,typeof V.componentWillUnmount=="function"){bt=Ot,Qt=Ot.return;try{L=bt,V.props=L.memoizedProps,V.state=L.memoizedState,V.componentWillUnmount()}catch(Wt){ri(bt,Qt,Wt)}}break;case 5:ef(Ot,Ot.return);break;case 22:if(Ot.memoizedState!==null){OD(lt);continue}}Gt!==null?(Gt.return=Ot,Zt=Gt):OD(lt)}s=s.sibling}}break;case 19:Ho(c,s),ds(s),b&4&&AD(s);break;case 21:break;default:Ho(c,s),ds(s)}}function ds(s){var c=s.flags;if(c&2){try{e:{for(var v=s.return;v!==null;){if(wD(v)){var b=v;break e}v=v.return}throw Error(r(160))}switch(b.tag){case 5:var L=b.stateNode;b.flags&32&&(Ke(L,""),b.flags&=-33);var V=bD(s);O_(s,V,L);break;case 3:case 4:var fe=b.stateNode.containerInfo,Te=bD(s);C_(s,Te,fe);break;default:throw Error(r(161))}}catch(Fe){ri(s,s.return,Fe)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function Gie(s,c,v){Zt=s,xD(s)}function xD(s,c,v){for(var b=(s.mode&1)!==0;Zt!==null;){var L=Zt,V=L.child;if(L.tag===22&&b){var fe=L.memoizedState!==null||av;if(!fe){var Te=L.alternate,Fe=Te!==null&&Te.memoizedState!==null||Zi;Te=av;var lt=Zi;if(av=fe,(Zi=Fe)&&!lt)for(Zt=L;Zt!==null;)fe=Zt,Fe=fe.child,fe.tag===22&&fe.memoizedState!==null?ID(L):Fe!==null?(Fe.return=fe,Zt=Fe):ID(L);for(;V!==null;)Zt=V,xD(V),V=V.sibling;Zt=L,av=Te,Zi=lt}CD(s)}else(L.subtreeFlags&8772)!==0&&V!==null?(V.return=L,Zt=V):CD(s)}}function CD(s){for(;Zt!==null;){var c=Zt;if((c.flags&8772)!==0){var v=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Zi||ov(5,c);break;case 1:var b=c.stateNode;if(c.flags&4&&!Zi)if(v===null)b.componentDidMount();else{var L=c.elementType===c.type?v.memoizedProps:Uo(c.type,v.memoizedProps);b.componentDidUpdate(L,v.memoizedState,b.__reactInternalSnapshotBeforeUpdate)}var V=c.updateQueue;V!==null&&yk(c,V,b);break;case 3:var fe=c.updateQueue;if(fe!==null){if(v=null,c.child!==null)switch(c.child.tag){case 5:v=c.child.stateNode;break;case 1:v=c.child.stateNode}yk(c,fe,v)}break;case 5:var Te=c.stateNode;if(v===null&&c.flags&4){v=Te;var Fe=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Fe.autoFocus&&v.focus();break;case"img":Fe.src&&(v.src=Fe.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var lt=c.alternate;if(lt!==null){var Ot=lt.memoizedState;if(Ot!==null){var Gt=Ot.dehydrated;Gt!==null&&co(Gt)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}Zi||c.flags&512&&x_(c)}catch(bt){ri(c,c.return,bt)}}if(c===s){Zt=null;break}if(v=c.sibling,v!==null){v.return=c.return,Zt=v;break}Zt=c.return}}function OD(s){for(;Zt!==null;){var c=Zt;if(c===s){Zt=null;break}var v=c.sibling;if(v!==null){v.return=c.return,Zt=v;break}Zt=c.return}}function ID(s){for(;Zt!==null;){var c=Zt;try{switch(c.tag){case 0:case 11:case 15:var v=c.return;try{ov(4,c)}catch(Fe){ri(c,v,Fe)}break;case 1:var b=c.stateNode;if(typeof b.componentDidMount=="function"){var L=c.return;try{b.componentDidMount()}catch(Fe){ri(c,L,Fe)}}var V=c.return;try{x_(c)}catch(Fe){ri(c,V,Fe)}break;case 5:var fe=c.return;try{x_(c)}catch(Fe){ri(c,fe,Fe)}}}catch(Fe){ri(c,c.return,Fe)}if(c===s){Zt=null;break}var Te=c.sibling;if(Te!==null){Te.return=c.return,Zt=Te;break}Zt=c.return}}var Kie=Math.ceil,sv=x.ReactCurrentDispatcher,I_=x.ReactCurrentOwner,_o=x.ReactCurrentBatchConfig,en=0,Ai=null,Ei=null,$i=0,Va=0,tf=Au(0),Ri=0,Vd=null,Sl=0,uv=0,P_=0,Hd=null,Oa=null,k_=0,rf=1/0,Ws=null,lv=!1,D_=null,Pu=null,cv=!1,ku=null,fv=0,zd=0,L_=null,dv=-1,hv=0;function ca(){return(en&6)!==0?ft():dv!==-1?dv:dv=ft()}function Du(s){return(s.mode&1)===0?1:(en&2)!==0&&$i!==0?$i&-$i:kie.transition!==null?(hv===0&&(hv=ke()),hv):(s=Ut,s!==0||(s=window.event,s=s===void 0?16:Mc(s.type)),s)}function Eo(s,c,v){if(50<zd)throw zd=0,L_=null,Error(r(185));var b=pv(s,c);return b===null?null:(Qe(b,c,v),((en&2)===0||b!==Ai)&&(b===Ai&&((en&2)===0&&(uv|=c),Ri===4&&Lu(b,$i)),Ia(b,v),c===1&&en===0&&(s.mode&1)===0&&(rf=ft()+500,qp&&xu())),b)}function pv(s,c){s.lanes|=c;var v=s.alternate;for(v!==null&&(v.lanes|=c),v=s,s=s.return;s!==null;)s.childLanes|=c,v=s.alternate,v!==null&&(v.childLanes|=c),v=s,s=s.return;return v.tag===3?v.stateNode:null}function PD(s){return(Ai!==null||qo!==null)&&(s.mode&1)!==0&&(en&2)===0}function Ia(s,c){var v=s.callbackNode;Z(s,c);var b=Sa(s,s===Ai?$i:0);if(b===0)v!==null&&Je(v),s.callbackNode=null,s.callbackPriority=0;else if(c=b&-b,s.callbackPriority!==c){if(v!=null&&Je(v),c===1)s.tag===0?Pie(DD.bind(null,s)):vk(DD.bind(null,s)),xie(function(){en===0&&xu()}),v=null;else{switch(Dr(b)){case 1:v=jt;break;case 4:v=gt;break;case 16:v=dr;break;case 536870912:v=mn;break;default:v=dr}v=qD(v,kD.bind(null,s))}s.callbackPriority=c,s.callbackNode=v}}function kD(s,c){if(dv=-1,hv=0,(en&6)!==0)throw Error(r(327));var v=s.callbackNode;if(nf()&&s.callbackNode!==v)return null;var b=Sa(s,s===Ai?$i:0);if(b===0)return null;if((b&30)!==0||(b&s.expiredLanes)!==0||c)c=vv(s,b);else{c=b;var L=en;en|=2;var V=ND();(Ai!==s||$i!==c)&&(Ws=null,rf=ft()+500,bl(s,c));do try{Qie();break}catch(Te){LD(s,Te)}while(!0);Xy(),sv.current=V,en=L,Ei!==null?c=0:(Ai=null,$i=0,c=Ri)}if(c!==0){if(c===2&&(L=pe(s),L!==0&&(b=L,c=N_(s,L))),c===1)throw v=Vd,bl(s,0),Lu(s,b),Ia(s,ft()),v;if(c===6)Lu(s,b);else{if(L=s.current.alternate,(b&30)===0&&!Yie(L)&&(c=vv(s,b),c===2&&(V=pe(s),V!==0&&(b=V,c=N_(s,V))),c===1))throw v=Vd,bl(s,0),Lu(s,b),Ia(s,ft()),v;switch(s.finishedWork=L,s.finishedLanes=b,c){case 0:case 1:throw Error(r(345));case 2:Tl(s,Oa,Ws);break;case 3:if(Lu(s,b),(b&130023424)===b&&(c=k_+500-ft(),10<c)){if(Sa(s,0)!==0)break;if(L=s.suspendedLanes,(L&b)!==b){ca(),s.pingedLanes|=s.suspendedLanes&L;break}s.timeoutHandle=Hy(Tl.bind(null,s,Oa,Ws),c);break}Tl(s,Oa,Ws);break;case 4:if(Lu(s,b),(b&4194240)===b)break;for(c=s.eventTimes,L=-1;0<b;){var fe=31-bn(b);V=1<<fe,fe=c[fe],fe>L&&(L=fe),b&=~V}if(b=L,b=ft()-b,b=(120>b?120:480>b?480:1080>b?1080:1920>b?1920:3e3>b?3e3:4320>b?4320:1960*Kie(b/1960))-b,10<b){s.timeoutHandle=Hy(Tl.bind(null,s,Oa,Ws),b);break}Tl(s,Oa,Ws);break;case 5:Tl(s,Oa,Ws);break;default:throw Error(r(329))}}}return Ia(s,ft()),s.callbackNode===v?kD.bind(null,s):null}function N_(s,c){var v=Hd;return s.current.memoizedState.isDehydrated&&(bl(s,c).flags|=256),s=vv(s,c),s!==2&&(c=Oa,Oa=v,c!==null&&M_(c)),s}function M_(s){Oa===null?Oa=s:Oa.push.apply(Oa,s)}function Yie(s){for(var c=s;;){if(c.flags&16384){var v=c.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var b=0;b<v.length;b++){var L=v[b],V=L.getSnapshot;L=L.value;try{if(!Vt(V(),L))return!1}catch{return!1}}}if(v=c.child,c.subtreeFlags&16384&&v!==null)v.return=c,c=v;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function Lu(s,c){for(c&=~P_,c&=~uv,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var v=31-bn(c),b=1<<v;s[v]=-1,c&=~b}}function DD(s){if((en&6)!==0)throw Error(r(327));nf();var c=Sa(s,0);if((c&1)===0)return Ia(s,ft()),null;var v=vv(s,c);if(s.tag!==0&&v===2){var b=pe(s);b!==0&&(c=b,v=N_(s,b))}if(v===1)throw v=Vd,bl(s,0),Lu(s,c),Ia(s,ft()),v;if(v===6)throw Error(r(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,Tl(s,Oa,Ws),Ia(s,ft()),null}function $_(s,c){var v=en;en|=1;try{return s(c)}finally{en=v,en===0&&(rf=ft()+500,qp&&xu())}}function wl(s){ku!==null&&ku.tag===0&&(en&6)===0&&nf();var c=en;en|=1;var v=_o.transition,b=Ut;try{if(_o.transition=null,Ut=1,s)return s()}finally{Ut=b,_o.transition=v,en=c,(en&6)===0&&xu()}}function F_(){Va=tf.current,jn(tf)}function bl(s,c){s.finishedWork=null,s.finishedLanes=0;var v=s.timeoutHandle;if(v!==-1&&(s.timeoutHandle=-1,Rie(v)),Ei!==null)for(v=Ei.return;v!==null;){var b=v;switch(n_(b),b.tag){case 1:b=b.type.childContextTypes,b!=null&&jp();break;case 3:Zc(),jn(Aa),jn(Xi),c_();break;case 5:u_(b);break;case 4:Zc();break;case 13:jn(Qn);break;case 19:jn(Qn);break;case 10:Qy(b.type._context);break;case 22:case 23:F_()}v=v.return}if(Ai=s,Ei=s=Nu(s.current,null),$i=Va=c,Ri=0,Vd=null,P_=uv=Sl=0,Oa=Hd=null,qo!==null){for(c=0;c<qo.length;c++)if(v=qo[c],b=v.interleaved,b!==null){v.interleaved=null;var L=b.next,V=v.pending;if(V!==null){var fe=V.next;V.next=L,b.next=fe}v.pending=b}qo=null}return s}function LD(s,c){do{var v=Ei;try{if(Xy(),Qp.current=tv,Jp){for(var b=Jn.memoizedState;b!==null;){var L=b.queue;L!==null&&(L.pending=null),b=b.next}Jp=!1}if(El=0,ki=Ti=Jn=null,$d=!1,Fd=0,I_.current=null,v===null||v.return===null){Ri=1,Vd=c,Ei=null;break}e:{var V=s,fe=v.return,Te=v,Fe=c;if(c=$i,Te.flags|=32768,Fe!==null&&typeof Fe=="object"&&typeof Fe.then=="function"){var lt=Fe,Ot=Te,Gt=Ot.tag;if((Ot.mode&1)===0&&(Gt===0||Gt===11||Gt===15)){var bt=Ot.alternate;bt?(Ot.updateQueue=bt.updateQueue,Ot.memoizedState=bt.memoizedState,Ot.lanes=bt.lanes):(Ot.updateQueue=null,Ot.memoizedState=null)}var Qt=tD(fe);if(Qt!==null){Qt.flags&=-257,rD(Qt,fe,Te,V,c),Qt.mode&1&&eD(V,lt,c),c=Qt,Fe=lt;var Wt=c.updateQueue;if(Wt===null){var kr=new Set;kr.add(Fe),c.updateQueue=kr}else Wt.add(Fe);break e}else{if((c&1)===0){eD(V,lt,c),j_();break e}Fe=Error(r(426))}}else if(Wn&&Te.mode&1){var ci=tD(fe);if(ci!==null){(ci.flags&65536)===0&&(ci.flags|=256),rD(ci,fe,Te,V,c),o_(Fe);break e}}V=Fe,Ri!==4&&(Ri=2),Hd===null?Hd=[V]:Hd.push(V),Fe=__(Fe,Te),Te=fe;do{switch(Te.tag){case 3:Te.flags|=65536,c&=-c,Te.lanes|=c;var Ze=Jk(Te,Fe,c);mk(Te,Ze);break e;case 1:V=Fe;var Be=Te.type,st=Te.stateNode;if((Te.flags&128)===0&&(typeof Be.getDerivedStateFromError=="function"||st!==null&&typeof st.componentDidCatch=="function"&&(Pu===null||!Pu.has(st)))){Te.flags|=65536,c&=-c,Te.lanes|=c;var Ft=Zk(Te,V,c);mk(Te,Ft);break e}}Te=Te.return}while(Te!==null)}$D(v)}catch(tr){c=tr,Ei===v&&v!==null&&(Ei=v=v.return);continue}break}while(!0)}function ND(){var s=sv.current;return sv.current=tv,s===null?tv:s}function j_(){(Ri===0||Ri===3||Ri===2)&&(Ri=4),Ai===null||(Sl&268435455)===0&&(uv&268435455)===0||Lu(Ai,$i)}function vv(s,c){var v=en;en|=2;var b=ND();(Ai!==s||$i!==c)&&(Ws=null,bl(s,c));do try{Xie();break}catch(L){LD(s,L)}while(!0);if(Xy(),en=v,sv.current=b,Ei!==null)throw Error(r(261));return Ai=null,$i=0,Ri}function Xie(){for(;Ei!==null;)MD(Ei)}function Qie(){for(;Ei!==null&&!Ue();)MD(Ei)}function MD(s){var c=UD(s.alternate,s,Va);s.memoizedProps=s.pendingProps,c===null?$D(s):Ei=c,I_.current=null}function $D(s){var c=s;do{var v=c.alternate;if(s=c.return,(c.flags&32768)===0){if(v=qie(v,c,Va),v!==null){Ei=v;return}}else{if(v=Hie(v,c),v!==null){v.flags&=32767,Ei=v;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{Ri=6,Ei=null;return}}if(c=c.sibling,c!==null){Ei=c;return}Ei=c=s}while(c!==null);Ri===0&&(Ri=5)}function Tl(s,c,v){var b=Ut,L=_o.transition;try{_o.transition=null,Ut=1,Jie(s,c,v,b)}finally{_o.transition=L,Ut=b}return null}function Jie(s,c,v,b){do nf();while(ku!==null);if((en&6)!==0)throw Error(r(327));v=s.finishedWork;var L=s.finishedLanes;if(v===null)return null;if(s.finishedWork=null,s.finishedLanes=0,v===s.current)throw Error(r(177));s.callbackNode=null,s.callbackPriority=0;var V=v.lanes|v.childLanes;if(Tt(s,V),s===Ai&&(Ei=Ai=null,$i=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||cv||(cv=!0,qD(dr,function(){return nf(),null})),V=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||V){V=_o.transition,_o.transition=null;var fe=Ut;Ut=1;var Te=en;en|=4,I_.current=null,Wie(s,v),RD(v,s),cr(By),is=!!qy,By=qy=null,s.current=v,Gie(v),yt(),en=Te,Ut=fe,_o.transition=V}else s.current=v;if(cv&&(cv=!1,ku=s,fv=L),V=s.pendingLanes,V===0&&(Pu=null),Ln(v.stateNode),Ia(s,ft()),c!==null)for(b=s.onRecoverableError,v=0;v<c.length;v++)b(c[v]);if(lv)throw lv=!1,s=D_,D_=null,s;return(fv&1)!==0&&s.tag!==0&&nf(),V=s.pendingLanes,(V&1)!==0?s===L_?zd++:(zd=0,L_=s):zd=0,xu(),null}function nf(){if(ku!==null){var s=Dr(fv),c=_o.transition,v=Ut;try{if(_o.transition=null,Ut=16>s?16:s,ku===null)var b=!1;else{if(s=ku,ku=null,fv=0,(en&6)!==0)throw Error(r(331));var L=en;for(en|=4,Zt=s.current;Zt!==null;){var V=Zt,fe=V.child;if((Zt.flags&16)!==0){var Te=V.deletions;if(Te!==null){for(var Fe=0;Fe<Te.length;Fe++){var lt=Te[Fe];for(Zt=lt;Zt!==null;){var Ot=Zt;switch(Ot.tag){case 0:case 11:case 15:Bd(8,Ot,V)}var Gt=Ot.child;if(Gt!==null)Gt.return=Ot,Zt=Gt;else for(;Zt!==null;){Ot=Zt;var bt=Ot.sibling,Qt=Ot.return;if(SD(Ot),Ot===lt){Zt=null;break}if(bt!==null){bt.return=Qt,Zt=bt;break}Zt=Qt}}}var Wt=V.alternate;if(Wt!==null){var kr=Wt.child;if(kr!==null){Wt.child=null;do{var ci=kr.sibling;kr.sibling=null,kr=ci}while(kr!==null)}}Zt=V}}if((V.subtreeFlags&2064)!==0&&fe!==null)fe.return=V,Zt=fe;else e:for(;Zt!==null;){if(V=Zt,(V.flags&2048)!==0)switch(V.tag){case 0:case 11:case 15:Bd(9,V,V.return)}var Ze=V.sibling;if(Ze!==null){Ze.return=V.return,Zt=Ze;break e}Zt=V.return}}var Be=s.current;for(Zt=Be;Zt!==null;){fe=Zt;var st=fe.child;if((fe.subtreeFlags&2064)!==0&&st!==null)st.return=fe,Zt=st;else e:for(fe=Be;Zt!==null;){if(Te=Zt,(Te.flags&2048)!==0)try{switch(Te.tag){case 0:case 11:case 15:ov(9,Te)}}catch(tr){ri(Te,Te.return,tr)}if(Te===fe){Zt=null;break e}var Ft=Te.sibling;if(Ft!==null){Ft.return=Te.return,Zt=Ft;break e}Zt=Te.return}}if(en=L,xu(),$r&&typeof $r.onPostCommitFiberRoot=="function")try{$r.onPostCommitFiberRoot(Rt,s)}catch{}b=!0}return b}finally{Ut=v,_o.transition=c}}return!1}function FD(s,c,v){c=__(v,c),c=Jk(s,c,1),Ou(s,c),c=ca(),s=pv(s,1),s!==null&&(Qe(s,1,c),Ia(s,c))}function ri(s,c,v){if(s.tag===3)FD(s,s,v);else for(;c!==null;){if(c.tag===3){FD(c,s,v);break}else if(c.tag===1){var b=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof b.componentDidCatch=="function"&&(Pu===null||!Pu.has(b))){s=__(v,s),s=Zk(c,s,1),Ou(c,s),s=ca(),c=pv(c,1),c!==null&&(Qe(c,1,s),Ia(c,s));break}}c=c.return}}function Zie(s,c,v){var b=s.pingCache;b!==null&&b.delete(c),c=ca(),s.pingedLanes|=s.suspendedLanes&v,Ai===s&&($i&v)===v&&(Ri===4||Ri===3&&($i&130023424)===$i&&500>ft()-k_?bl(s,0):P_|=v),Ia(s,c)}function jD(s,c){c===0&&((s.mode&1)===0?c=1:(c=Lo,Lo<<=1,(Lo&130023424)===0&&(Lo=4194304)));var v=ca();s=pv(s,c),s!==null&&(Qe(s,c,v),Ia(s,v))}function eae(s){var c=s.memoizedState,v=0;c!==null&&(v=c.retryLane),jD(s,v)}function tae(s,c){var v=0;switch(s.tag){case 13:var b=s.stateNode,L=s.memoizedState;L!==null&&(v=L.retryLane);break;case 19:b=s.stateNode;break;default:throw Error(r(314))}b!==null&&b.delete(c),jD(s,v)}var UD;UD=function(s,c,v){if(s!==null)if(s.memoizedProps!==c.pendingProps||Aa.current)Ca=!0;else{if((s.lanes&v)===0&&(c.flags&128)===0)return Ca=!1,Vie(s,c,v);Ca=(s.flags&131072)!==0}else Ca=!1,Wn&&(c.flags&1048576)!==0&&bk(c,Kp,c.index);switch(c.lanes=0,c.tag){case 2:var b=c.type;s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps;var L=Wc(c,Xi.current);Kc(c,v),L=h_(null,c,b,s,L,v);var V=p_();return c.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Ra(b)?(V=!0,Up(c)):V=!1,c.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,Zy(c),L.updater=Wp,c.stateNode=L,L._reactInternals=c,t_(c,b,s,v),c=b_(null,c,b,!0,V,v)):(c.tag=0,Wn&&V&&r_(c),la(null,c,L,v),c=c.child),c;case 16:b=c.elementType;e:{switch(s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps,L=b._init,b=L(b._payload),c.type=b,L=c.tag=nae(b),s=Uo(b,s),L){case 0:c=w_(null,c,b,s,v);break e;case 1:c=fD(null,c,b,s,v);break e;case 11:c=oD(null,c,b,s,v);break e;case 14:c=sD(null,c,b,Uo(b.type,s),v);break e}throw Error(r(306,b,""))}return c;case 0:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:Uo(b,L),w_(s,c,b,L,v);case 1:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:Uo(b,L),fD(s,c,b,L,v);case 3:e:{if(dD(c),s===null)throw Error(r(387));b=c.pendingProps,V=c.memoizedState,L=V.element,gk(s,c),zp(c,b,null,v);var fe=c.memoizedState;if(b=fe.element,V.isDehydrated)if(V={element:b,isDehydrated:!1,cache:fe.cache,pendingSuspenseBoundaries:fe.pendingSuspenseBoundaries,transitions:fe.transitions},c.updateQueue.baseState=V,c.memoizedState=V,c.flags&256){L=Error(r(423)),c=hD(s,c,b,v,L);break e}else if(b!==L){L=Error(r(424)),c=hD(s,c,b,v,L);break e}else for(xa=js(c.stateNode.containerInfo.firstChild),Ba=c,Wn=!0,Bo=null,v=Ok(c,null,b,v),c.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Qc(),b===L){c=zs(s,c,v);break e}la(s,c,b,v)}c=c.child}return c;case 5:return Ik(c),s===null&&a_(c),b=c.type,L=c.pendingProps,V=s!==null?s.memoizedProps:null,fe=L.children,Vy(b,L)?fe=null:V!==null&&Vy(b,V)&&(c.flags|=32),cD(s,c),la(s,c,fe,v),c.child;case 6:return s===null&&a_(c),null;case 13:return vD(s,c,v);case 4:return s_(c,c.stateNode.containerInfo),b=c.pendingProps,s===null?c.child=Jc(c,null,b,v):la(s,c,b,v),c.child;case 11:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:Uo(b,L),oD(s,c,b,L,v);case 7:return la(s,c,c.pendingProps,v),c.child;case 8:return la(s,c,c.pendingProps.children,v),c.child;case 12:return la(s,c,c.pendingProps.children,v),c.child;case 10:e:{if(b=c.type._context,L=c.pendingProps,V=c.memoizedProps,fe=L.value,Nn(Bp,b._currentValue),b._currentValue=fe,V!==null)if(Vt(V.value,fe)){if(V.children===L.children&&!Aa.current){c=zs(s,c,v);break e}}else for(V=c.child,V!==null&&(V.return=c);V!==null;){var Te=V.dependencies;if(Te!==null){fe=V.child;for(var Fe=Te.firstContext;Fe!==null;){if(Fe.context===b){if(V.tag===1){Fe=Bs(-1,v&-v),Fe.tag=2;var lt=V.updateQueue;if(lt!==null){lt=lt.shared;var Ot=lt.pending;Ot===null?Fe.next=Fe:(Fe.next=Ot.next,Ot.next=Fe),lt.pending=Fe}}V.lanes|=v,Fe=V.alternate,Fe!==null&&(Fe.lanes|=v),Jy(V.return,v,c),Te.lanes|=v;break}Fe=Fe.next}}else if(V.tag===10)fe=V.type===c.type?null:V.child;else if(V.tag===18){if(fe=V.return,fe===null)throw Error(r(341));fe.lanes|=v,Te=fe.alternate,Te!==null&&(Te.lanes|=v),Jy(fe,v,c),fe=V.sibling}else fe=V.child;if(fe!==null)fe.return=V;else for(fe=V;fe!==null;){if(fe===c){fe=null;break}if(V=fe.sibling,V!==null){V.return=fe.return,fe=V;break}fe=fe.return}V=fe}la(s,c,L.children,v),c=c.child}return c;case 9:return L=c.type,b=c.pendingProps.children,Kc(c,v),L=vo(L),b=b(L),c.flags|=1,la(s,c,b,v),c.child;case 14:return b=c.type,L=Uo(b,c.pendingProps),L=Uo(b.type,L),sD(s,c,b,L,v);case 15:return uD(s,c,c.type,c.pendingProps,v);case 17:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:Uo(b,L),s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),c.tag=1,Ra(b)?(s=!0,Up(c)):s=!1,Kc(c,v),Sk(c,b,L),t_(c,b,L,v),b_(null,c,b,!0,s,v);case 19:return _D(s,c,v);case 22:return lD(s,c,v)}throw Error(r(156,c.tag))};function qD(s,c){return oe(s,c)}function rae(s,c,v,b){this.tag=s,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=b,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function So(s,c,v,b){return new rae(s,c,v,b)}function U_(s){return s=s.prototype,!(!s||!s.isReactComponent)}function nae(s){if(typeof s=="function")return U_(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===ne)return 14}return 2}function Nu(s,c){var v=s.alternate;return v===null?(v=So(s.tag,c,s.key,s.mode),v.elementType=s.elementType,v.type=s.type,v.stateNode=s.stateNode,v.alternate=s,s.alternate=v):(v.pendingProps=c,v.type=s.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=s.flags&14680064,v.childLanes=s.childLanes,v.lanes=s.lanes,v.child=s.child,v.memoizedProps=s.memoizedProps,v.memoizedState=s.memoizedState,v.updateQueue=s.updateQueue,c=s.dependencies,v.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},v.sibling=s.sibling,v.index=s.index,v.ref=s.ref,v}function gv(s,c,v,b,L,V){var fe=2;if(b=s,typeof s=="function")U_(s)&&(fe=1);else if(typeof s=="string")fe=5;else e:switch(s){case y:return Al(v.children,L,V,c);case N:fe=8,L|=8;break;case $:return s=So(12,v,c,L|2),s.elementType=$,s.lanes=V,s;case Y:return s=So(13,v,c,L),s.elementType=Y,s.lanes=V,s;case Q:return s=So(19,v,c,L),s.elementType=Q,s.lanes=V,s;case de:return mv(v,L,V,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case H:fe=10;break e;case B:fe=9;break e;case W:fe=11;break e;case ne:fe=14;break e;case re:fe=16,b=null;break e}throw Error(r(130,s==null?s:typeof s,""))}return c=So(fe,v,c,L),c.elementType=s,c.type=b,c.lanes=V,c}function Al(s,c,v,b){return s=So(7,s,b,c),s.lanes=v,s}function mv(s,c,v,b){return s=So(22,s,b,c),s.elementType=de,s.lanes=v,s.stateNode={},s}function q_(s,c,v){return s=So(6,s,null,c),s.lanes=v,s}function B_(s,c,v){return c=So(4,s.children!==null?s.children:[],s.key,c),c.lanes=v,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function iae(s,c,v,b,L){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ut(0),this.expirationTimes=ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ut(0),this.identifierPrefix=b,this.onRecoverableError=L,this.mutableSourceEagerHydrationData=null}function V_(s,c,v,b,L,V,fe,Te,Fe){return s=new iae(s,c,v,Te,Fe),c===1?(c=1,V===!0&&(c|=8)):c=0,V=So(3,null,null,c),s.current=V,V.stateNode=s,V.memoizedState={element:b,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zy(V),s}function aae(s,c,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:P,key:b==null?null:""+b,children:s,containerInfo:c,implementation:v}}function BD(s){if(!s)return Ru;s=s._reactInternals;e:{if(vi(s)!==s||s.tag!==1)throw Error(r(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Ra(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(r(171))}if(s.tag===1){var v=s.type;if(Ra(v))return hk(s,v,c)}return c}function VD(s,c,v,b,L,V,fe,Te,Fe){return s=V_(v,b,!0,s,L,V,fe,Te,Fe),s.context=BD(null),v=s.current,b=ca(),L=Du(v),V=Bs(b,L),V.callback=c??null,Ou(v,V),s.current.lanes=L,Qe(s,L,b),Ia(s,b),s}function yv(s,c,v,b){var L=c.current,V=ca(),fe=Du(L);return v=BD(v),c.context===null?c.context=v:c.pendingContext=v,c=Bs(V,fe),c.payload={element:s},b=b===void 0?null:b,b!==null&&(c.callback=b),Ou(L,c),s=Eo(L,fe,V),s!==null&&Hp(s,L,fe),fe}function _v(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function HD(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var v=s.retryLane;s.retryLane=v!==0&&v<c?v:c}}function H_(s,c){HD(s,c),(s=s.alternate)&&HD(s,c)}function oae(){return null}var zD=typeof reportError=="function"?reportError:function(s){console.error(s)};function z_(s){this._internalRoot=s}Ev.prototype.render=z_.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(r(409));yv(s,c,null,null)},Ev.prototype.unmount=z_.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;wl(function(){yv(null,s,null,null)}),c[Us]=null}};function Ev(s){this._internalRoot=s}Ev.prototype.unstable_scheduleHydration=function(s){if(s){var c=gi();s={blockedOn:null,target:s,priority:c};for(var v=0;v<Ki.length&&c!==0&&c<Ki[v].priority;v++);Ki.splice(v,0,s),v===0&&lo(s)}};function W_(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function Sv(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function WD(){}function sae(s,c,v,b,L){if(L){if(typeof b=="function"){var V=b;b=function(){var lt=_v(fe);V.call(lt)}}var fe=VD(c,b,s,0,null,!1,!1,"",WD);return s._reactRootContainer=fe,s[Us]=fe.current,Cd(s.nodeType===8?s.parentNode:s),wl(),fe}for(;L=s.lastChild;)s.removeChild(L);if(typeof b=="function"){var Te=b;b=function(){var lt=_v(Fe);Te.call(lt)}}var Fe=V_(s,0,!1,null,null,!1,!1,"",WD);return s._reactRootContainer=Fe,s[Us]=Fe.current,Cd(s.nodeType===8?s.parentNode:s),wl(function(){yv(c,Fe,v,b)}),Fe}function wv(s,c,v,b,L){var V=v._reactRootContainer;if(V){var fe=V;if(typeof L=="function"){var Te=L;L=function(){var Fe=_v(fe);Te.call(Fe)}}yv(c,fe,s,L)}else fe=sae(v,c,s,L,b);return _v(fe)}Or=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var v=ja(c.pendingLanes);v!==0&&($t(c,v|1),Ia(c,ft()),(en&6)===0&&(rf=ft()+500,xu()))}break;case 13:var b=ca();wl(function(){return Eo(s,1,b)}),H_(s,1)}},Tn=function(s){if(s.tag===13){var c=ca();Eo(s,134217728,c),H_(s,134217728)}},si=function(s){if(s.tag===13){var c=ca(),v=Du(s);Eo(s,v,c),H_(s,v)}},gi=function(){return Ut},es=function(s,c){var v=Ut;try{return Ut=s,c()}finally{Ut=v}},at=function(s,c,v){switch(c){case"input":if(Se(s,v),c=v.name,v.type==="radio"&&c!=null){for(v=s;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<v.length;c++){var b=v[c];if(b!==s&&b.form===s.form){var L=Fp(b);if(!L)throw Error(r(90));K(b),Se(b,L)}}}break;case"textarea":Me(s,v);break;case"select":c=v.value,c!=null&&me(s,!!v.multiple,c,!1)}},lr=$_,Tr=wl;var uae={usingClientEntryPoint:!1,Events:[Pd,Hc,Fp,or,Kt,$_]},Wd={findFiberByHostInstance:vl,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},lae={bundleType:Wd.bundleType,version:Wd.version,rendererPackageName:Wd.rendererPackageName,rendererConfig:Wd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=ct(s),s===null?null:s.stateNode},findFiberByHostInstance:Wd.findFiberByHostInstance||oae,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 bv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bv.isDisabled&&bv.supportsFiber)try{Rt=bv.inject(lae),$r=bv}catch{}}return Pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uae,Pa.createPortal=function(s,c){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!W_(c))throw Error(r(200));return aae(s,c,null,v)},Pa.createRoot=function(s,c){if(!W_(s))throw Error(r(299));var v=!1,b="",L=zD;return c!=null&&(c.unstable_strictMode===!0&&(v=!0),c.identifierPrefix!==void 0&&(b=c.identifierPrefix),c.onRecoverableError!==void 0&&(L=c.onRecoverableError)),c=V_(s,1,!1,null,null,v,!1,b,L),s[Us]=c.current,Cd(s.nodeType===8?s.parentNode:s),new z_(c)},Pa.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(r(188)):(s=Object.keys(s).join(","),Error(r(268,s)));return s=ct(c),s=s===null?null:s.stateNode,s},Pa.flushSync=function(s){return wl(s)},Pa.hydrate=function(s,c,v){if(!Sv(c))throw Error(r(200));return wv(null,s,c,!0,v)},Pa.hydrateRoot=function(s,c,v){if(!W_(s))throw Error(r(405));var b=v!=null&&v.hydratedSources||null,L=!1,V="",fe=zD;if(v!=null&&(v.unstable_strictMode===!0&&(L=!0),v.identifierPrefix!==void 0&&(V=v.identifierPrefix),v.onRecoverableError!==void 0&&(fe=v.onRecoverableError)),c=VD(c,null,s,1,v??null,L,!1,V,fe),s[Us]=c.current,Cd(s),b)for(s=0;s<b.length;s++)v=b[s],L=v._getVersion,L=L(v._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[v,L]:c.mutableSourceEagerHydrationData.push(v,L);return new Ev(c)},Pa.render=function(s,c,v){if(!Sv(c))throw Error(r(200));return wv(null,s,c,!1,v)},Pa.unmountComponentAtNode=function(s){if(!Sv(s))throw Error(r(40));return s._reactRootContainer?(wl(function(){wv(null,null,s,!1,function(){s._reactRootContainer=null,s[Us]=null})}),!0):!1},Pa.unstable_batchedUpdates=$_,Pa.unstable_renderSubtreeIntoContainer=function(s,c,v,b){if(!Sv(v))throw Error(r(200));if(s==null||s._reactInternals===void 0)throw Error(r(38));return wv(s,c,v,!1,b)},Pa.version="18.1.0-next-22edb9f77-20220426",Pa}var BW;function hte(){if(BW)return qA.exports;BW=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(),qA.exports=gEe(),qA.exports}var pte=hte();const jl=Cn(pte);function mEe(e){e()}let vte=mEe;const yEe=e=>vte=e,_Ee=()=>vte,Zu=Sr.createContext(null);function gte(){return ge.useContext(Zu)}const EEe=()=>{throw new Error("uSES not initialized!")};let mte=EEe;const SEe=e=>{mte=e},wEe=(e,t)=>e===t;function bEe(e=Zu){const t=e===Zu?gte:()=>ge.useContext(e);return function(n,i=wEe){const{store:o,subscription:a,getServerState:u}=t(),l=mte(a.addNestedSub,o.getState,u||o.getState,n,i);return ge.useDebugValue(l),l}}const yte=bEe();function Lh(){return Lh=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},Lh.apply(null,arguments)}function fy(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 HA={exports:{}},fn={};/** @license React v16.13.1
88
+ * react-is.production.min.js
89
+ *
90
+ * Copyright (c) Facebook, Inc. and its affiliates.
91
+ *
92
+ * This source code is licensed under the MIT license found in the
93
+ * LICENSE file in the root directory of this source tree.
94
+ */var VW;function TEe(){if(VW)return fn;VW=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,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=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,m=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function C(R){if(typeof R=="object"&&R!==null){var P=R.$$typeof;switch(P){case t:switch(R=R.type,R){case l:case f:case n:case o:case i:case h:return R;default:switch(R=R&&R.$$typeof,R){case u:case d:case S:case m:case a:return R;default:return P}}case r:return P}}}function x(R){return C(R)===f}return fn.AsyncMode=l,fn.ConcurrentMode=f,fn.ContextConsumer=u,fn.ContextProvider=a,fn.Element=t,fn.ForwardRef=d,fn.Fragment=n,fn.Lazy=S,fn.Memo=m,fn.Portal=r,fn.Profiler=o,fn.StrictMode=i,fn.Suspense=h,fn.isAsyncMode=function(R){return x(R)||C(R)===l},fn.isConcurrentMode=x,fn.isContextConsumer=function(R){return C(R)===u},fn.isContextProvider=function(R){return C(R)===a},fn.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},fn.isForwardRef=function(R){return C(R)===d},fn.isFragment=function(R){return C(R)===n},fn.isLazy=function(R){return C(R)===S},fn.isMemo=function(R){return C(R)===m},fn.isPortal=function(R){return C(R)===r},fn.isProfiler=function(R){return C(R)===o},fn.isStrictMode=function(R){return C(R)===i},fn.isSuspense=function(R){return C(R)===h},fn.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===f||R===o||R===i||R===h||R===p||typeof R=="object"&&R!==null&&(R.$$typeof===S||R.$$typeof===m||R.$$typeof===a||R.$$typeof===u||R.$$typeof===d||R.$$typeof===_||R.$$typeof===w||R.$$typeof===T||R.$$typeof===E)},fn.typeOf=C,fn}var HW;function AEe(){return HW||(HW=1,HA.exports=TEe()),HA.exports}var zA,zW;function REe(){if(zW)return zA;zW=1;var e=AEe(),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},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function a(S){return e.isMemo(S)?i:o[S.$$typeof]||t}var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function m(S,E,_){if(typeof E!="string"){if(p){var w=h(E);w&&w!==p&&m(S,w,_)}var T=l(E);f&&(T=T.concat(f(E)));for(var C=a(S),x=a(E),R=0;R<T.length;++R){var P=T[R];if(!r[P]&&!(_&&_[P])&&!(x&&x[P])&&!(C&&C[P])){var y=d(E,P);try{u(S,P,y)}catch{}}}}return S}return zA=m,zA}var xEe=REe();const CEe=Cn(xEe);var WA={exports:{}},dn={};/**
95
+ * @license React
96
+ * react-is.production.min.js
97
+ *
98
+ * Copyright (c) Facebook, Inc. and its affiliates.
99
+ *
100
+ * This source code is licensed under the MIT license found in the
101
+ * LICENSE file in the root directory of this source tree.
102
+ */var WW;function OEe(){if(WW)return dn;WW=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"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function E(_){if(typeof _=="object"&&_!==null){var w=_.$$typeof;switch(w){case e:switch(_=_.type,_){case r:case i:case n:case f:case d:return _;default:switch(_=_&&_.$$typeof,_){case u:case a:case l:case p:case h:case o:return _;default:return w}}case t:return w}}}return dn.ContextConsumer=a,dn.ContextProvider=o,dn.Element=e,dn.ForwardRef=l,dn.Fragment=r,dn.Lazy=p,dn.Memo=h,dn.Portal=t,dn.Profiler=i,dn.StrictMode=n,dn.Suspense=f,dn.SuspenseList=d,dn.isAsyncMode=function(){return!1},dn.isConcurrentMode=function(){return!1},dn.isContextConsumer=function(_){return E(_)===a},dn.isContextProvider=function(_){return E(_)===o},dn.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===e},dn.isForwardRef=function(_){return E(_)===l},dn.isFragment=function(_){return E(_)===r},dn.isLazy=function(_){return E(_)===p},dn.isMemo=function(_){return E(_)===h},dn.isPortal=function(_){return E(_)===t},dn.isProfiler=function(_){return E(_)===i},dn.isStrictMode=function(_){return E(_)===n},dn.isSuspense=function(_){return E(_)===f},dn.isSuspenseList=function(_){return E(_)===d},dn.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===r||_===i||_===n||_===f||_===d||_===m||typeof _=="object"&&_!==null&&(_.$$typeof===p||_.$$typeof===h||_.$$typeof===o||_.$$typeof===a||_.$$typeof===l||_.$$typeof===S||_.getModuleId!==void 0)},dn.typeOf=E,dn}var GW;function IEe(){return GW||(GW=1,WA.exports=OEe()),WA.exports}IEe();function PEe(){const e=_Ee();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,o=r={callback:n,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const KW={notify(){},get:()=>[]};function kEe(e,t){let r,n=KW;function i(h){return l(),n.subscribe(h)}function o(){n.notify()}function a(){d.onStateChange&&d.onStateChange()}function u(){return!!r}function l(){r||(r=e.subscribe(a),n=PEe())}function f(){r&&(r(),r=void 0,n.clear(),n=KW)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:u,trySubscribe:l,tryUnsubscribe:f,getListeners:()=>n};return d}const DEe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",LEe=DEe?ge.useLayoutEffect:ge.useEffect;function _te({store:e,context:t,children:r,serverState:n}){const i=ge.useMemo(()=>{const u=kEe(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0}},[e,n]),o=ge.useMemo(()=>e.getState(),[e]);LEe(()=>{const{subscription:u}=i;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[i,o]);const a=t||Zu;return Sr.createElement(a.Provider,{value:i},r)}function Ete(e=Zu){const t=e===Zu?gte:()=>ge.useContext(e);return function(){const{store:n}=t();return n}}const Ste=Ete();function NEe(e=Zu){const t=e===Zu?Ste:Ete(e);return function(){return t().dispatch}}const _p=NEe();SEe(hEe.useSyncExternalStoreWithSelector);yEe(pte.unstable_batchedUpdates);var Lg="NOT_FOUND";function MEe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Lg},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function $Ee(e,t){var r=[];function n(u){var l=r.findIndex(function(d){return t(u,d.key)});if(l>-1){var f=r[l];return l>0&&(r.splice(l,1),r.unshift(f)),f.value}return Lg}function i(u,l){n(u)===Lg&&(r.unshift({key:u,value:l}),r.length>e&&r.pop())}function o(){return r}function a(){r=[]}return{get:n,put:i,getEntries:o,clear:a}}var FEe=function(t,r){return t===r};function jEe(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var i=r.length,o=0;o<i;o++)if(!e(r[o],n[o]))return!1;return!0}}function UEe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?FEe:n,o=r.maxSize,a=o===void 0?1:o,u=r.resultEqualityCheck,l=jEe(i),f=a===1?MEe(l):$Ee(a,l);function d(){var h=f.get(arguments);if(h===Lg){if(h=e.apply(null,arguments),u){var p=f.getEntries(),m=p.find(function(S){return u(S.value,h)});m&&(h=m.value)}f.put(arguments,h)}return h}return d.clearCache=function(){return f.clear()},d}function qEe(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 BEe(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 a=arguments.length,u=new Array(a),l=0;l<a;l++)u[l]=arguments[l];var f=0,d,h={memoizeOptions:void 0},p=u.pop();if(typeof p=="object"&&(h=p,p=u.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var m=h,S=m.memoizeOptions,E=S===void 0?r:S,_=Array.isArray(E)?E:[E],w=qEe(u),T=e.apply(void 0,[function(){return f++,p.apply(null,arguments)}].concat(_)),C=e(function(){for(var R=[],P=w.length,y=0;y<P;y++)R.push(w[y].apply(null,arguments));return d=T.apply(null,R),d});return Object.assign(C,{resultFunc:p,memoizedResultFunc:T,dependencies:w,lastResult:function(){return d},recomputations:function(){return f},resetRecomputations:function(){return f=0}}),C};return i}const JI={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(o=>{const a=new RegExp(o,"i"),u=Object.keys(e.resources).filter(l=>a.test(l));i.push(...u)}),r&&(i=i.filter(o=>o!==r)),i.reduce((o,a)=>(o[a]=!0,o),{})},updateState(e,t,r){const n=e.getState(),i=JI.getMatchingKeyMap(n.flightData,t.keys),o={...Object.keys(n.flightData.resources).filter(u=>i[u]).reduce((u,l)=>{const f=n.flightData.resources[l];let d=f.response;return f.request.normalize&&(d=QI(f.response,n.flightData.entities)),u[l]=d,u},{})},a=t.updateData(o,r);Object.keys(a).forEach(u=>{const l=n.flightData.resources[u],f=a[u];let d={result:f,entities:{}};l.request.normalize&&(d=Kee(f,l.request.normalizeOptions)),e.dispatch({type:da.UPDATE,result:d.result,entities:d.entities,request:l.request})})}};function VEe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const YW={isSimulated(e){const t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData(e,t){const{success:r,error:n,always:i}=e,o=t;window.setTimeout(async()=>{if(!o.noResponse){if(o.successResponse){const a=await o.successResponse();r(a,{status:FI.Ok,getResponseHeader:()=>""})}else o.errorResponse&&n(o.errorResponse());i()}},VEe(t))}},HEe=1e3,zEe=12,XW=18;function GA(e){const t=+e;return isNaN(t)||!t?0:t}const Nh={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*HEe;return e<Nh.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=zEe&&t<XW?"afternoon":t>=XW?"evening":"morning"},convertDurationToSeconds(e,t,r){return GA(e)*60*60+GA(t)*60+GA(r)}};class wte{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===Ss.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Nh.isExpired(this.requestTime,this.cacheDuration(this.data)):Nh.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Ss.Fetching}get hasError(){return this.status===Ss.Error}}function WEe(e,t){var n,i;if(!Ts.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 o in e.resource.entityIds){const a=e.resource.entityIds[o];if(e.entities[a].__modifyCount!==t.entities[a].__modifyCount)return!1}return!0}function GEe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return BEe(UEe,WEe)(t,n=>dy(e,n.resource,n.entities).response)}function dy(e,t,r){if(!e||!t)return{resource:t,response:KEe()};let n=t.response;t.request.normalize!==!1&&(n=QI(t.response,r));const i=new wte({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function KEe(){return new wte({status:Ss.None})}function bte(e,t){return dy(t,e.flightData.resources[t],e.flightData.entities).response}function Tte(e){return t=>{t&&pd(e,t)}}function YEe(e){return t=>{if(t)return Ate(e,t)}}function pd(e,t){e({type:da.API_REQUEST,request:t})}function Ate(e,t){return new Promise((r,n)=>{const i=t.success,o=t.error;t.success=a=>{i==null||i(a),r(a)},t.error=a=>{o==null||o(a),n(a)},pd(e,t)})}function ZI(e,t){var a,u,l,f;const r=e.getState(),n=t==null?void 0:t.key,i=dy(n,r.flightData.resources[n],r.flightData.entities),o=i.response;if(t&&o.shouldFetch){pd(e.dispatch,t);return}if(o.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,ZI(e,t))});return}o.hasError?((a=t.error)==null||a.call(t,{status:o.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(u=t.always)==null||u.call(t)):((l=t.success)==null||l.call(t,o.data),(f=t.always)==null||f.call(t))}function lLe(){const e=_p();return Tte(e)}function cLe(){const e=_p();return YEe(e)}function XEe(e){const t=ge.useMemo(()=>GEe(e),[e]);return yte(r=>t(r))}function fLe(){const e=Ste();return t=>bte(e.getState(),t)}function ra(e){const t=_p(),r=XEe(e&&e.key),n=Tte(t);return ge.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function Da(e,t){return new Promise((r,n)=>{const i=t.success,o=t.error;t.success=a=>{i==null||i(a),r(a)},t.error=a=>{o==null||o(a),n(a)},ZI(e,t)})}async function QW(e,t){const r=e.getState(),{response:n}=dy(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?Da(e,t):(n.shouldFetch&&pd(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function QEe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,o=Object.freeze({key:null,url:null,type:ji.GET,normalize:!0,formatData:a=>a,cacheDuration:i});return function(u){return l=>f=>{if(f.type!==da.API_REQUEST){l(f);return}const d=u.getState(),{success:h,error:p,always:m,formatData:S,...E}=Object.assign({},o,f.request),_=d.flightData.resources[E.key];if(l(f),_&&_.status===Ss.Fetching)return;if(E.bootstrapName&&n&&n[f.request.bootstrapName]){C(n[f.request.bootstrapName]),R(),delete n[f.request.bootstrapName];return}const w={resource:E.url,type:E.type,data:E.data,success:C,error:x,always:R};if(typeof r!="function"){T(w);return}r(w,E).then(T);return;function T(P){if(YW.isSimulated(E)){YW.simulateFetchData(P,E);return}t(P)}function C(P,y){const N=S(P);let $={result:N,entities:{}};E.normalize&&($=Kee(N,E.normalizeOptions)),u.dispatch({type:da.API_RESPONSE,result:$.result,entities:$.entities,request:E,timestamp:Nh.currentTimestamp(),xhr:y});let H=$.result;if(E.normalize){const B={...d.flightData.entities,...$.entities};H=QI($.result,B)}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(W=>{JI.updateState(u,W,H)}),E.invalidationKeys&&u.dispatch({type:da.INVALIDATE,keys:E.invalidationKeys,request:E}),h&&h(H)}function x(P){u.dispatch({type:da.API_ERROR,errorResponse:P.responseJSON,request:f.request,timestamp:Nh.currentTimestamp(),xhr:P}),E.invalidationKeys&&u.dispatch({type:da.INVALIDATE,keys:E.invalidationKeys,request:E}),p&&p(P)}function R(){m&&m()}}}}function Rte(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]};Ts.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function JEe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ss.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function ZEe(e,t){var r;return{entities:Rte(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Ss.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 eSe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ss.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function tSe(e,t){var n;const r=JI.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,o)=>{const a=e.resources[o];return i[o]=Object.assign({},a,{status:Ss.None}),i},{})}}}function rSe(e=xte,t){return{entities:Rte(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 xte={resources:{},entities:{}};function nSe(e=xte,t){switch(t.type){case da.API_REQUEST:return JEe(e,t);case da.API_RESPONSE:return ZEe(e,t);case da.API_ERROR:return eSe(e,t);case da.INVALIDATE:return tSe(e,t);case da.UPDATE:return rSe(e,t)}return e}const rc={first(e){return Gu(e)},firstFew(e,t){return Gu(e,t)},last(e){return kh(e)},lastFew(e,t){return kh(e,t)},max(e,t){return Qm(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 pp(e,t)},findWhere(e,t){return yI(e,t)},where(e,t){return _I(e,t)},groupBy(e,t){return TI(e,t)},countBy(e,t){return AI(e,t)},flatten(e,t){return xI(e,t)},intersection(...e){return OI(...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=Ts.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return bI(e,t)},chunk(e,t){return PI(e,t)},uniq(e,t){return tc(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,Ts.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 wI(e)}};var fr=(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))(fr||{}),KA,JW;function iSe(){if(JW)return KA;JW=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(T){T!==n&&(t=null)}else t=null;var i=/^\s*class\b/,o=function(C){try{var x=e.call(C);return i.test(x)}catch{return!1}},a=function(C){try{return o(C)?!1:(e.call(C),!0)}catch{return!1}},u=Object.prototype.toString,l="[object Object]",f="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",m="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var w=document.all;u.call(w)===u.call(document.all)&&(_=function(C){if((E||!C)&&(typeof C>"u"||typeof C=="object"))try{var x=u.call(C);return(x===h||x===p||x===m||x===l)&&C("")==null}catch{}return!1})}return KA=t?function(C){if(_(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;try{t(C,null,r)}catch(x){if(x!==n)return!1}return!o(C)&&a(C)}:function(C){if(_(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;if(S)return a(C);if(o(C))return!1;var x=u.call(C);return x!==f&&x!==d&&!/^\[object HTML/.test(x)?!1:a(C)},KA}var YA,ZW;function aSe(){if(ZW)return YA;ZW=1;var e=iSe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(l,f,d){for(var h=0,p=l.length;h<p;h++)r.call(l,h)&&(d==null?f(l[h],h,l):f.call(d,l[h],h,l))},i=function(l,f,d){for(var h=0,p=l.length;h<p;h++)d==null?f(l.charAt(h),h,l):f.call(d,l.charAt(h),h,l)},o=function(l,f,d){for(var h in l)r.call(l,h)&&(d==null?f(l[h],h,l):f.call(d,l[h],h,l))};function a(u){return t.call(u)==="[object Array]"}return YA=function(l,f,d){if(!e(f))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),a(l)?n(l,f,h):typeof l=="string"?i(l,f,h):o(l,f,h)},YA}var XA,eG;function Cte(){if(eG)return XA;eG=1;var e=function(){};return XA=e,XA}var QA,tG;function oSe(){if(tG)return QA;tG=1;var e={}.hasOwnProperty,t=Function.prototype.call;return QA=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},QA}var JA={exports:{}},ZA,rG;function Ote(){return rG||(rG=1,ZA=Object),ZA}var eR,nG;function sSe(){return nG||(nG=1,eR=Error),eR}var tR,iG;function uSe(){return iG||(iG=1,tR=EvalError),tR}var rR,aG;function lSe(){return aG||(aG=1,rR=RangeError),rR}var nR,oG;function cSe(){return oG||(oG=1,nR=ReferenceError),nR}var iR,sG;function Ite(){return sG||(sG=1,iR=SyntaxError),iR}var aR,uG;function vd(){return uG||(uG=1,aR=TypeError),aR}var oR,lG;function fSe(){return lG||(lG=1,oR=URIError),oR}var sR,cG;function dSe(){return cG||(cG=1,sR=Math.abs),sR}var uR,fG;function hSe(){return fG||(fG=1,uR=Math.floor),uR}var lR,dG;function pSe(){return dG||(dG=1,lR=Math.max),lR}var cR,hG;function vSe(){return hG||(hG=1,cR=Math.min),cR}var fR,pG;function gSe(){return pG||(pG=1,fR=Math.pow),fR}var dR,vG;function mSe(){return vG||(vG=1,dR=Math.round),dR}var hR,gG;function ySe(){return gG||(gG=1,hR=Number.isNaN||function(t){return t!==t}),hR}var pR,mG;function _Se(){if(mG)return pR;mG=1;var e=ySe();return pR=function(r){return e(r)||r===0?r:r<0?-1:1},pR}var vR,yG;function ESe(){return yG||(yG=1,vR=Object.getOwnPropertyDescriptor),vR}var gR,_G;function hy(){if(_G)return gR;_G=1;var e=ESe();if(e)try{e([],"length")}catch{e=null}return gR=e,gR}var mR,EG;function py(){if(EG)return mR;EG=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return mR=e,mR}var yR,SG;function SSe(){return SG||(SG=1,yR=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 o 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 a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),yR}var _R,wG;function wSe(){if(wG)return _R;wG=1;var e=typeof Symbol<"u"&&Symbol,t=SSe();return _R=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},_R}var ER,bG;function Pte(){return bG||(bG=1,ER=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),ER}var SR,TG;function kte(){if(TG)return SR;TG=1;var e=Ote();return SR=e.getPrototypeOf||null,SR}var wR,AG;function bSe(){if(AG)return wR;AG=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,f){for(var d=[],h=0;h<l.length;h+=1)d[h]=l[h];for(var p=0;p<f.length;p+=1)d[p+l.length]=f[p];return d},o=function(l,f){for(var d=[],h=f,p=0;h<l.length;h+=1,p+=1)d[p]=l[h];return d},a=function(u,l){for(var f="",d=0;d<u.length;d+=1)f+=u[d],d+1<u.length&&(f+=l);return f};return wR=function(l){var f=this;if(typeof f!="function"||t.apply(f)!==n)throw new TypeError(e+f);for(var d=o(arguments,1),h,p=function(){if(this instanceof h){var w=f.apply(this,i(d,arguments));return Object(w)===w?w:this}return f.apply(l,i(d,arguments))},m=r(0,f.length-d.length),S=[],E=0;E<m;E++)S[E]="$"+E;if(h=Function("binder","return function ("+a(S,",")+"){ return binder.apply(this,arguments); }")(p),f.prototype){var _=function(){};_.prototype=f.prototype,h.prototype=new _,_.prototype=null}return h},wR}var bR,RG;function Ep(){if(RG)return bR;RG=1;var e=bSe();return bR=Function.prototype.bind||e,bR}var TR,xG;function eP(){return xG||(xG=1,TR=Function.prototype.call),TR}var AR,CG;function tP(){return CG||(CG=1,AR=Function.prototype.apply),AR}var RR,OG;function TSe(){return OG||(OG=1,RR=typeof Reflect<"u"&&Reflect&&Reflect.apply),RR}var xR,IG;function Dte(){if(IG)return xR;IG=1;var e=Ep(),t=tP(),r=eP(),n=TSe();return xR=n||e.call(r,t),xR}var CR,PG;function rP(){if(PG)return CR;PG=1;var e=Ep(),t=vd(),r=eP(),n=Dte();return CR=function(o){if(o.length<1||typeof o[0]!="function")throw new t("a function is required");return n(e,r,o)},CR}var OR,kG;function ASe(){if(kG)return OR;kG=1;var e=rP(),t=hy(),r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return OR=n&&typeof n.get=="function"?e([n.get]):typeof o=="function"?function(u){return o(u==null?u:i(u))}:!1,OR}var IR,DG;function RSe(){if(DG)return IR;DG=1;var e=Pte(),t=kte(),r=ASe();return IR=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,IR}var PR,LG;function xSe(){if(LG)return PR;LG=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Ep();return PR=r.call(e,t),PR}var kR,NG;function nP(){if(NG)return kR;NG=1;var e,t=Ote(),r=sSe(),n=uSe(),i=lSe(),o=cSe(),a=Ite(),u=vd(),l=fSe(),f=dSe(),d=hSe(),h=pSe(),p=vSe(),m=gSe(),S=mSe(),E=_Se(),_=Function,w=function(M){try{return _('"use strict"; return ('+M+").constructor;")()}catch{}},T=hy(),C=py(),x=function(){throw new u},R=T?(function(){try{return arguments.callee,x}catch{try{return T(arguments,"callee").get}catch{return x}}})():x,P=wSe()(),y=RSe(),N=kte(),$=Pte(),H=tP(),B=eP(),W={},Y=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%":P&&y?y([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&y?y(y([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!y?e:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!y?e:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&y?y(""[Symbol.iterator]()):e,"%Symbol%":P?Symbol:e,"%SyntaxError%":a,"%ThrowTypeError%":R,"%TypedArray%":Y,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":H,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":N,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":m,"%Math.round%":S,"%Math.sign%":E,"%Reflect.getPrototypeOf%":$};if(y)try{null.error}catch(M){var ne=y(y(M));Q["%Error.prototype%"]=ne}var re=function M(k){var U;if(k==="%AsyncFunction%")U=w("async function () {}");else if(k==="%GeneratorFunction%")U=w("function* () {}");else if(k==="%AsyncGeneratorFunction%")U=w("async function* () {}");else if(k==="%AsyncGenerator%"){var K=M("%AsyncGeneratorFunction%");K&&(U=K.prototype)}else if(k==="%AsyncIteratorPrototype%"){var ie=M("%AsyncGenerator%");ie&&y&&(U=y(ie.prototype))}return Q[k]=U,U},de={__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"]},G=Ep(),ee=xSe(),z=G.call(B,Array.prototype.concat),ue=G.call(H,Array.prototype.splice),Ee=G.call(B,String.prototype.replace),Oe=G.call(B,String.prototype.slice),$e=G.call(B,RegExp.prototype.exec),Ve=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ae=/\\(\\)?/g,O=function(k){var U=Oe(k,0,1),K=Oe(k,-1);if(U==="%"&&K!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(K==="%"&&U!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var ie=[];return Ee(k,Ve,function(ye,ve,Re,Se){ie[ie.length]=Re?Ee(Se,ae,"$1"):ve||ye}),ie},I=function(k,U){var K=k,ie;if(ee(de,K)&&(ie=de[K],K="%"+ie[0]+"%"),ee(Q,K)){var ye=Q[K];if(ye===W&&(ye=re(K)),typeof ye>"u"&&!U)throw new u("intrinsic "+k+" exists, but is not available. Please file an issue!");return{alias:ie,name:K,value:ye}}throw new a("intrinsic "+k+" does not exist!")};return kR=function(k,U){if(typeof k!="string"||k.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new u('"allowMissing" argument must be a boolean');if($e(/^%?[^%]*%?$/,k)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var K=O(k),ie=K.length>0?K[0]:"",ye=I("%"+ie+"%",U),ve=ye.name,Re=ye.value,Se=!1,xe=ye.alias;xe&&(ie=xe[0],ue(K,z([0,1],xe)));for(var De=1,he=!0;De<K.length;De+=1){var me=K[De],_e=Oe(me,0,1),Le=Oe(me,-1);if((_e==='"'||_e==="'"||_e==="`"||Le==='"'||Le==="'"||Le==="`")&&_e!==Le)throw new a("property names with quotes must have matching quotes");if((me==="constructor"||!he)&&(Se=!0),ie+="."+me,ve="%"+ie+"%",ee(Q,ve))Re=Q[ve];else if(Re!=null){if(!(me in Re)){if(!U)throw new u("base intrinsic for "+k+" exists, but the property is not available.");return}if(T&&De+1>=K.length){var Me=T(Re,me);he=!!Me,he&&"get"in Me&&!("originalValue"in Me.get)?Re=Me.get:Re=Re[me]}else he=ee(Re,me),Re=Re[me];he&&!Se&&(Q[ve]=Re)}}return Re},kR}var DR,MG;function iP(){if(MG)return DR;MG=1;var e=py(),t=Ite(),r=vd(),n=hy();return DR=function(o,a,u){if(!o||typeof o!="object"&&typeof o!="function")throw new r("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,p=!!n&&n(o,a);if(e)e(o,a,{configurable:d===null&&p?p.configurable:!d,enumerable:l===null&&p?p.enumerable:!l,value:u,writable:f===null&&p?p.writable:!f});else if(h||!l&&!f&&!d)o[a]=u;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},DR}var LR,$G;function aP(){if($G)return LR;$G=1;var e=py(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},LR=t,LR}var NR,FG;function CSe(){if(FG)return NR;FG=1;var e=nP(),t=iP(),r=aP()(),n=hy(),i=vd(),o=e("%Math.floor%");return NR=function(u,l){if(typeof u!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new i("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in u&&n){var p=n(u,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(h=!1)}return(d||h||!f)&&(r?t(u,"length",l,!0,!0):t(u,"length",l)),u},NR}var MR,jG;function OSe(){if(jG)return MR;jG=1;var e=Ep(),t=tP(),r=Dte();return MR=function(){return r(e,t,arguments)},MR}var UG;function ISe(){return UG||(UG=1,(function(e){var t=CSe(),r=py(),n=rP(),i=OSe();e.exports=function(a){var u=n(arguments),l=a.length-(arguments.length-1);return t(u,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(JA)),JA.exports}var $R,qG;function Lte(){if(qG)return $R;qG=1;var e=Object.prototype.toString;return $R=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},$R}var FR,BG;function PSe(){if(BG)return FR;BG=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Lte(),i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var m=p.constructor;return m&&m.prototype===p},f={$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(!f["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1})(),h=function(p){if(typeof window>"u"||!d)return l(p);try{return l(p)}catch{return!1}};e=function(m){var S=m!==null&&typeof m=="object",E=r.call(m)==="[object Function]",_=n(m),w=S&&r.call(m)==="[object String]",T=[];if(!S&&!E&&!_)throw new TypeError("Object.keys called on a non-object");var C=a&&E;if(w&&m.length>0&&!t.call(m,0))for(var x=0;x<m.length;++x)T.push(String(x));if(_&&m.length>0)for(var R=0;R<m.length;++R)T.push(String(R));else for(var P in m)!(C&&P==="prototype")&&t.call(m,P)&&T.push(String(P));if(o)for(var y=h(m),N=0;N<u.length;++N)!(y&&u[N]==="constructor")&&t.call(m,u[N])&&T.push(u[N]);return T}}return FR=e,FR}var jR,VG;function kSe(){if(VG)return jR;VG=1;var e=Array.prototype.slice,t=Lte(),r=Object.keys,n=r?function(a){return r(a)}:PSe(),i=Object.keys;return n.shim=function(){if(Object.keys){var a=(function(){var u=Object.keys(arguments);return u&&u.length===arguments.length})(1,2);a||(Object.keys=function(l){return t(l)?i(e.call(l)):i(l)})}else Object.keys=n;return Object.keys||n},jR=n,jR}var UR,HG;function DSe(){if(HG)return UR;HG=1;var e=kSe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=iP(),o=function(f){return typeof f=="function"&&r.call(f)==="[object Function]"},a=aP()(),u=function(f,d,h,p){if(d in f){if(p===!0){if(f[d]===h)return}else if(!o(p)||!p())return}a?i(f,d,h,!0):i(f,d,h)},l=function(f,d){var h=arguments.length>2?arguments[2]:{},p=e(d);t&&(p=n.call(p,Object.getOwnPropertySymbols(d)));for(var m=0;m<p.length;m+=1)u(f,p[m],d[p[m]],h[p[m]])};return l.supportsDescriptors=!!a,UR=l,UR}var qR,zG;function Nte(){if(zG)return qR;zG=1;var e=vd();return qR=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},qR}var BR,WG;function LSe(){if(WG)return BR;WG=1;var e=nP(),t=e("%String%"),r=vd();return BR=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},BR}var VR,GG;function NSe(){if(GG)return VR;GG=1;var e=nP(),t=rP(),r=t([e("%String.prototype.indexOf%")]);return VR=function(i,o){var a=e(i,!!o);return typeof a=="function"&&r(i,".prototype.")>-1?t([a]):a},VR}var HR,KG;function Mte(){if(KG)return HR;KG=1;var e=Nte(),t=LSe(),r=NSe(),n=r("String.prototype.replace"),i=/^\s$/.test("᠎"),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]+/,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]+$/;return HR=function(){var l=t(e(this));return n(n(l,o,""),a,"")},HR}var zR,YG;function $te(){if(YG)return zR;YG=1;var e=Mte(),t="​",r="᠎";return zR=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},zR}var WR,XG;function MSe(){if(XG)return WR;XG=1;var e=aP()(),t=iP(),r=$te();return WR=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},WR}var GR,QG;function $Se(){if(QG)return GR;QG=1;var e=ISe(),t=DSe(),r=Nte(),n=Mte(),i=$te(),o=MSe(),a=e(i()),u=function(f){return r(f),a(f)};return t(u,{getPolyfill:i,implementation:n,shim:o}),GR=u,GR}var KR,JG;function FSe(){if(JG)return KR;JG=1;var e=aSe(),t=Cte(),r=oSe(),n=$Se(),i=function(P){t(!1,P)},o=String.prototype.replace,a=String.prototype.split,u="||||",l=function(R){var P=R%10;return R!==11&&P===1?0:2<=P&&P<=4&&!(R>=12&&R<=14)?1:2},f={arabic:function(R){if(R<3)return R;var P=R%100;return P>=3&&P<=10?3:P>=11?4:5},bosnian_serbian:l,chinese:function(){return 0},croatian:l,french:function(R){return R>1?1:0},german:function(R){return R!==1?1:0},russian:l,lithuanian:function(R){return R%10===1&&R%100!==11?0:R%10>=2&&R%10<=9&&(R%100<11||R%100>19)?1:2},czech:function(R){return R===1?0:R>=2&&R<=4?1:2},polish:function(R){if(R===1)return 0;var P=R%10;return 2<=P&&P<=4&&(R%100<10||R%100>=20)?1:2},icelandic:function(R){return R%10!==1||R%100===11?1:0},slovenian:function(R){var P=R%100;return P===1?0:P===2?1:P===3||P===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(R){var P={};return e(R,function(y,N){e(y,function($){P[$]=N})}),P}function p(R){var P=h(d);return P[R]||P[a.call(R,/-/,1)[0]]||P.en}function m(R,P){return f[p(R)](P)}function S(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(R){var P=R&&R.prefix||"%{",y=R&&R.suffix||"}";if(P===u||y===u)throw new RangeError('"'+u+'" token is reserved for pluralization');return new RegExp(S(P)+"(.*?)"+S(y),"g")}var _=/\$/g,w="$$",T=/%\{(.*?)\}/g;function C(R,P,y,N){if(typeof R!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(P==null)return R;var $=R,H=N||T,B=typeof P=="number"?{smart_count:P}:P;if(B.smart_count!=null&&$){var W=a.call($,u);$=n(W[m(y||"en",B.smart_count)]||W[0])}return $=o.call($,H,function(Y,Q){return!r(B,Q)||B[Q]==null?Y:o.call(B[Q],_,w)}),$}function x(R){var P=R||{};this.phrases={},this.extend(P.phrases||{}),this.currentLocale=P.locale||"en";var y=P.allowMissing?C:null;this.onMissingKey=typeof P.onMissingKey=="function"?P.onMissingKey:y,this.warn=P.warn||i,this.tokenRegex=E(P.interpolation)}return x.prototype.locale=function(R){return R&&(this.currentLocale=R),this.currentLocale},x.prototype.extend=function(R,P){e(R,function(y,N){var $=P?P+"."+N:N;typeof y=="object"?this.extend(y,$):this.phrases[$]=y},this)},x.prototype.unset=function(R,P){typeof R=="string"?delete this.phrases[R]:e(R,function(y,N){var $=P?P+"."+N:N;typeof y=="object"?this.unset(y,$):delete this.phrases[$]},this)},x.prototype.clear=function(){this.phrases={}},x.prototype.replace=function(R){this.clear(),this.extend(R)},x.prototype.t=function(R,P){var y,N,$=P??{};if(typeof this.phrases[R]=="string")y=this.phrases[R];else if(typeof $._=="string")y=$._;else if(this.onMissingKey){var H=this.onMissingKey;N=H(R,$,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+R+'"'),N=R;return typeof y=="string"&&(N=C(y,$,this.currentLocale,this.tokenRegex)),N},x.prototype.has=function(R){return r(this.phrases,R)},x.transformPhrase=function(P,y,N){return C(P,y,N)},KR=x,KR}var jSe=FSe();const USe=Cn(jSe),vy={ALERT:"AlertService",LANGUAGE:"LanguageService"};var Sp=Object.freeze||function(e){return e},ZG=Sp(["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"]),eK=Sp(["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"]),tK=Sp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),rK=Sp(["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"]),nK=Sp(["#text"]),gy=Object.freeze||function(e){return e},iK=gy(["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"]),YR=gy(["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"]),aK=gy(["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"]),kv=gy(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qSe=Object.hasOwnProperty,oK=Object.setPrototypeOf,BSe=typeof Reflect<"u"&&Reflect,eC=BSe.apply;eC||(eC=function(t,r,n){return t.apply(r,n)});function Rn(e,t){oK&&oK(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 XR(e){var t={},r=void 0;for(r in e)eC(qSe,e,[r])&&(t[r]=e[r]);return t}var Cc=Object.seal||function(e){return e},VSe=Cc(/\{\{[\s\S]*|[\s\S]*\}\}/gm),HSe=Cc(/<%[\s\S]*|[\s\S]*%>/gm),zSe=Cc(/^data-[\-\w.\u00B7-\uFFFF]/),WSe=Cc(/^aria-[\-\w]+$/),GSe=Cc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),KSe=Cc(/^(?:\w+script|data):/i),YSe=Cc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),lh=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 hs(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 XSe=typeof Reflect<"u"&&Reflect,tC=XSe.apply,QSe=Array.prototype.slice,sK=Object.freeze,JSe=function(){return typeof window>"u"?null:window};tC||(tC=function(t,r,n){return t.apply(r,n)});var ZSe=function(t,r){if((typeof t>"u"?"undefined":lh(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 o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(u){return u}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Fte(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:JSe(),t=function(be){return Fte(be)};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,o=e.document,a=e.DocumentFragment,u=e.HTMLTemplateElement,l=e.Node,f=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,p=e.Text,m=e.Comment,S=e.DOMParser,E=e.TrustedTypes;if(typeof u=="function"){var _=o.createElement("template");_.content&&_.content.ownerDocument&&(o=_.content.ownerDocument)}var w=ZSe(E,r),T=w?w.createHTML(""):"",C=o,x=C.implementation,R=C.createNodeIterator,P=C.getElementsByTagName,y=C.createDocumentFragment,N=r.importNode,$={};t.isSupported=x&&typeof x.createHTMLDocument<"u"&&o.documentMode!==9;var H=VSe,B=HSe,W=zSe,Y=WSe,Q=KSe,ne=YSe,re=GSe,de=null,G=Rn({},[].concat(hs(ZG),hs(eK),hs(tK),hs(rK),hs(nK))),ee=null,z=Rn({},[].concat(hs(iK),hs(YR),hs(aK),hs(kv))),ue=null,Ee=null,Oe=!0,$e=!0,Ve=!1,ae=!1,O=!1,I=!1,M=!1,k=!1,U=!1,K=!1,ie=!1,ye=!1,ve=!0,Re=!0,Se=!1,xe={},De=Rn({},["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"]),he=Rn({},["audio","video","img","source","image"]),me=null,_e=Rn({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Le=null,Me=o.createElement("form"),Ne=function(be){Le&&Le===be||((!be||(typeof be>"u"?"undefined":lh(be))!=="object")&&(be={}),de="ALLOWED_TAGS"in be?Rn({},be.ALLOWED_TAGS):G,ee="ALLOWED_ATTR"in be?Rn({},be.ALLOWED_ATTR):z,me="ADD_URI_SAFE_ATTR"in be?Rn(XR(_e),be.ADD_URI_SAFE_ATTR):_e,ue="FORBID_TAGS"in be?Rn({},be.FORBID_TAGS):{},Ee="FORBID_ATTR"in be?Rn({},be.FORBID_ATTR):{},xe="USE_PROFILES"in be?be.USE_PROFILES:!1,Oe=be.ALLOW_ARIA_ATTR!==!1,$e=be.ALLOW_DATA_ATTR!==!1,Ve=be.ALLOW_UNKNOWN_PROTOCOLS||!1,ae=be.SAFE_FOR_JQUERY||!1,O=be.SAFE_FOR_TEMPLATES||!1,I=be.WHOLE_DOCUMENT||!1,U=be.RETURN_DOM||!1,K=be.RETURN_DOM_FRAGMENT||!1,ie=be.RETURN_DOM_IMPORT||!1,ye=be.RETURN_TRUSTED_TYPE||!1,k=be.FORCE_BODY||!1,ve=be.SANITIZE_DOM!==!1,Re=be.KEEP_CONTENT!==!1,Se=be.IN_PLACE||!1,re=be.ALLOWED_URI_REGEXP||re,O&&($e=!1),K&&(U=!0),xe&&(de=Rn({},[].concat(hs(nK))),ee=[],xe.html===!0&&(Rn(de,ZG),Rn(ee,iK)),xe.svg===!0&&(Rn(de,eK),Rn(ee,YR),Rn(ee,kv)),xe.svgFilters===!0&&(Rn(de,tK),Rn(ee,YR),Rn(ee,kv)),xe.mathMl===!0&&(Rn(de,rK),Rn(ee,aK),Rn(ee,kv))),be.ADD_TAGS&&(de===G&&(de=XR(de)),Rn(de,be.ADD_TAGS)),be.ADD_ATTR&&(ee===z&&(ee=XR(ee)),Rn(ee,be.ADD_ATTR)),be.ADD_URI_SAFE_ATTR&&Rn(me,be.ADD_URI_SAFE_ATTR),Re&&(de["#text"]=!0),I&&Rn(de,["html","head","body"]),de.table&&(Rn(de,["tbody"]),delete ue.tbody),sK&&sK(be),Le=be)},Ge=function(be){t.removed.push({element:be});try{be.parentNode.removeChild(be)}catch{be.outerHTML=T}},it=function(be,Xe){try{t.removed.push({attribute:Xe.getAttributeNode(be),from:Xe})}catch{t.removed.push({attribute:null,from:Xe})}Xe.removeAttribute(be)},Dt=function(be){var Xe=void 0,at=void 0;if(k)be="<remove></remove>"+be;else{var mt=be.match(/^[\s]+/);at=mt&&mt[0],at&&(be=be.slice(at.length))}if(n)try{Xe=new S().parseFromString(be,"text/html")}catch{}if(i&&Rn(ue,["title"]),!Xe||!Xe.documentElement){Xe=x.createHTMLDocument("");var xt=Xe,Xt=xt.body;Xt.parentNode.removeChild(Xt.parentNode.firstElementChild),Xt.outerHTML=w?w.createHTML(be):be}return be&&at&&Xe.body.insertBefore(o.createTextNode(at),Xe.body.childNodes[0]||null),P.call(Xe,I?"html":"body")[0]};t.isSupported&&((function(){try{var Ct=Dt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Ct.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var Ct=Dt("<x/><title>&lt;/title&gt;&lt;img&gt;");/<\/title/.test(Ct.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var rr=function(be){return R.call(be.ownerDocument||be,be,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,function(){return f.FILTER_ACCEPT},!1)},Ke=function(be){return be instanceof p||be instanceof m?!1:typeof be.nodeName!="string"||typeof be.textContent!="string"||typeof be.removeChild!="function"||!(be.attributes instanceof h)||typeof be.removeAttribute!="function"||typeof be.setAttribute!="function"||typeof be.namespaceURI!="string"},_t=function(be){return(typeof l>"u"?"undefined":lh(l))==="object"?be instanceof l:be&&(typeof be>"u"?"undefined":lh(be))==="object"&&typeof be.nodeType=="number"&&typeof be.nodeName=="string"},vt=function(be,Xe,at){$[be]&&$[be].forEach(function(mt){mt.call(t,Xe,at,Le)})},rt=function(be){var Xe=void 0;if(vt("beforeSanitizeElements",be,null),Ke(be))return Ge(be),!0;var at=be.nodeName.toLowerCase();if(vt("uponSanitizeElement",be,{tagName:at,allowedTags:de}),(at==="svg"||at==="math")&&be.querySelectorAll("p, br").length!==0)return Ge(be),!0;if(!de[at]||ue[at]){if(Re&&!De[at]&&typeof be.insertAdjacentHTML=="function")try{var mt=be.innerHTML;be.insertAdjacentHTML("AfterEnd",w?w.createHTML(mt):mt)}catch{}return Ge(be),!0}return at==="noscript"&&/<\/noscript/i.test(be.innerHTML)||at==="noembed"&&/<\/noembed/i.test(be.innerHTML)?(Ge(be),!0):(ae&&!be.firstElementChild&&(!be.content||!be.content.firstElementChild)&&/</g.test(be.textContent)&&(t.removed.push({element:be.cloneNode()}),be.innerHTML?be.innerHTML=be.innerHTML.replace(/</g,"&lt;"):be.innerHTML=be.textContent.replace(/</g,"&lt;")),O&&be.nodeType===3&&(Xe=be.textContent,Xe=Xe.replace(H," "),Xe=Xe.replace(B," "),be.textContent!==Xe&&(t.removed.push({element:be.cloneNode()}),be.textContent=Xe)),vt("afterSanitizeElements",be,null),!1)},ot=function(be,Xe,at){if(ve&&(Xe==="id"||Xe==="name")&&(at in o||at in Me))return!1;if(!($e&&W.test(Xe))){if(!(Oe&&Y.test(Xe))){if(!ee[Xe]||Ee[Xe])return!1;if(!me[Xe]){if(!re.test(at.replace(ne,""))){if(!((Xe==="src"||Xe==="xlink:href"||Xe==="href")&&be!=="script"&&at.indexOf("data:")===0&&he[be])){if(!(Ve&&!Q.test(at.replace(ne,"")))){if(at)return!1}}}}}}return!0},ht=function(be){var Xe=void 0,at=void 0,mt=void 0,xt=void 0,Xt=void 0;vt("beforeSanitizeAttributes",be,null);var or=be.attributes;if(or){var Kt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee};for(Xt=or.length;Xt--;){Xe=or[Xt];var lr=Xe,Tr=lr.name,Br=lr.namespaceURI;if(at=Xe.value.trim(),mt=Tr.toLowerCase(),Kt.attrName=mt,Kt.attrValue=at,Kt.keepAttr=!0,vt("uponSanitizeAttribute",be,Kt),at=Kt.attrValue,mt==="name"&&be.nodeName==="IMG"&&or.id)xt=or.id,or=tC(QSe,or,[]),it("id",be),it(Tr,be),or.indexOf(xt)>Xt&&be.setAttribute("id",xt.value);else{if(be.nodeName==="INPUT"&&mt==="type"&&at==="file"&&Kt.keepAttr&&(ee[mt]||!Ee[mt]))continue;Tr==="id"&&be.setAttribute(Tr,""),it(Tr,be)}if(Kt.keepAttr){if(/svg|math/i.test(be.namespaceURI)&&new RegExp("</("+Object.keys(De).join("|")+")","i").test(at)){it(Tr,be);continue}O&&(at=at.replace(H," "),at=at.replace(B," "));var In=be.nodeName.toLowerCase();if(ot(In,mt,at))try{Br?be.setAttributeNS(Br,Tr,at):be.setAttribute(Tr,at),t.removed.pop()}catch{}}}vt("afterSanitizeAttributes",be,null)}},Ht=function Ct(be){var Xe=void 0,at=rr(be);for(vt("beforeSanitizeShadowDOM",be,null);Xe=at.nextNode();)vt("uponSanitizeShadowNode",Xe,null),!rt(Xe)&&(Xe.content instanceof a&&Ct(Xe.content),ht(Xe));vt("afterSanitizeShadowDOM",be,null)};return t.sanitize=function(Ct,be){var Xe=void 0,at=void 0,mt=void 0,xt=void 0,Xt=void 0;if(Ct||(Ct="<!-->"),typeof Ct!="string"&&!_t(Ct)){if(typeof Ct.toString!="function")throw new TypeError("toString is not a function");if(Ct=Ct.toString(),typeof Ct!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(lh(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Ct=="string")return e.toStaticHTML(Ct);if(_t(Ct))return e.toStaticHTML(Ct.outerHTML)}return Ct}if(M||Ne(be),t.removed=[],!Se)if(Ct instanceof l)Xe=Dt("<!-->"),at=Xe.ownerDocument.importNode(Ct,!0),at.nodeType===1&&at.nodeName==="BODY"||at.nodeName==="HTML"?Xe=at:Xe.appendChild(at);else{if(!U&&!O&&!I&&ye&&Ct.indexOf("<")===-1)return w?w.createHTML(Ct):Ct;if(Xe=Dt(Ct),!Xe)return U?null:T}Xe&&k&&Ge(Xe.firstChild);for(var or=rr(Se?Ct:Xe);mt=or.nextNode();)mt.nodeType===3&&mt===xt||rt(mt)||(mt.content instanceof a&&Ht(mt.content),ht(mt),xt=mt);if(xt=null,Se)return Ct;if(U){if(K)for(Xt=y.call(Xe.ownerDocument);Xe.firstChild;)Xt.appendChild(Xe.firstChild);else Xt=Xe;return ie&&(Xt=N.call(r,Xt,!0)),Xt}var Kt=I?Xe.outerHTML:Xe.innerHTML;return O&&(Kt=Kt.replace(H," "),Kt=Kt.replace(B," ")),w&&ye?w.createHTML(Kt):Kt},t.setConfig=function(Ct){Ne(Ct),M=!0},t.clearConfig=function(){Le=null,M=!1},t.isValidAttribute=function(Ct,be,Xe){Le||Ne({});var at=Ct.toLowerCase(),mt=be.toLowerCase();return ot(at,mt,Xe)},t.addHook=function(Ct,be){typeof be=="function"&&($[Ct]=$[Ct]||[],$[Ct].push(be))},t.removeHook=function(Ct){$[Ct]&&$[Ct].pop()},t.removeHooks=function(Ct){$[Ct]&&($[Ct]=[])},t.removeAllHooks=function(){$={}},t}var rC=Fte();const ewe=/&/g,twe=/[\W]+/g,rwe=/\s+/g,uK={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"};function i(o){return n[o]}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(ewe,"and").replace(twe," ").trim().replace(rwe,"-").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?rC.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&amp;","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class nwe extends Fa{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return vy.LANGUAGE}setConfig(t){this.polyglot=new USe({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||nr.throw(new ln("LanguageService config must be set.")),!this.polyglot.has(i)){if(!iy.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}nr.throw(new ln(`No phrase set for ${i} in language config.`))}if(!n||$f(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const o=vp(n,"smartCount","escapeText"),a={};for(const d in o){let h=uK.sanitize(o[d]);n.escapeText&&(h=uK.escapeExpression(h)),a[d]=h}zl(n.smartCount)&&(a.smart_count=n.smartCount);const u=`${i}:${mu({...a}).join(":")}`,l=this.cache[u];if(l)return l;const f=this.polyglot.t(i,a);return this.cache[u]=f,f}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const Lr=nwe.Instance;class my extends ry{get name(){return"ErrorPageError"}}const QR="shared.unspecifiedError";class Uf extends my{constructor(){super(Lr.getPhrase(QR,"title"))}get name(){return"UnspecifiedError"}get heading(){return Lr.getPhrase(QR,"heading")}get description(){return Lr.getPhrase(QR,"description")}get cta(){return!1}}const ph={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?Ul.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):Ul._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?Ul.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):Ul._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),{})}},lK=[{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 JR=()=>(nr.throw(new ln("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const Ul={setPublicFormatSettings(e){e&&(JR=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:ph.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=>rc.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:ph.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:JR,success:e,error:t,successResponse:()=>lK}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:JR,success:e,error:t,successResponse:()=>lK}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>rc.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:ph.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:ji.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:ji.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},iwe="modulepreload",awe=function(e){return"/"+e},cK={},_n=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),u=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(l=>{if(l=awe(l),l in cK)return;cK[l]=!0;const f=l.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":iwe,f||(h.as="script"),h.crossOrigin="",h.href=l,u&&h.setAttribute("nonce",u),document.head.appendChild(h),f)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=a,window.dispatchEvent(u),!u.defaultPrevented)throw a}return i.then(a=>{for(const u of a||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};var ZR={exports:{}},Qd={};/**
103
+ * @license React
104
+ * react-jsx-runtime.production.min.js
105
+ *
106
+ * Copyright (c) Facebook, Inc. and its affiliates.
107
+ *
108
+ * This source code is licensed under the MIT license found in the
109
+ * LICENSE file in the root directory of this source tree.
110
+ */var fK;function owe(){if(fK)return Qd;fK=1;var e=xc(),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,o={key:!0,ref:!0,__self:!0,__source:!0};function a(u,l,f){var d,h={},p=null,m=null;f!==void 0&&(p=""+f),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(d in l)n.call(l,d)&&!o.hasOwnProperty(d)&&(h[d]=l[d]);if(u&&u.defaultProps)for(d in l=u.defaultProps,l)h[d]===void 0&&(h[d]=l[d]);return{$$typeof:t,type:u,key:p,ref:m,props:h,_owner:i.current}}return Qd.Fragment=r,Qd.jsx=a,Qd.jsxs=a,Qd}var dK;function swe(){return dK||(dK=1,ZR.exports=owe()),ZR.exports}var ce=swe();class oP extends gye{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],o=a=>wr.Radio.channel(tn.ALERT).trigger("remove:alert",a);this.layout.showChildView(this.layoutOptions.options.alertRegion,ce.jsx(r,{alerts:i,removeAlert:o}))}}var za=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(za||{});const ex="shared.notFoundError";class jte extends my{constructor(){super(Lr.getPhrase(ex,"title"))}get name(){return"NotFoundError"}get heading(){return Lr.getPhrase(ex,"heading")}get description(){return Lr.getPhrase(ex,"description")}}const Wr={CONTENT:"content",POPUP:"popup",ALERT:"alert",HIDDEN:"hidden"},wp={DEFAULT_LAYOUT:"DefaultLayout"},di={DEFAULT:"default:application",EXCHANGE:"exchange:application",TV:"tv:application"},Ute={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}},Qa={debounce(e,t,r){return dI(e,t,r)},throttle(e,t,r){return fI(e,t,r)},isFunction(e){return qr(e)},useIdentity(){return dp},memoize(e,t){return lI(e,t)}};var It=(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))(It||{}),hn=(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))(hn||{}),na=(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))(na||{}),Ku=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Ku||{}),nC=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(nC||{}),uwe=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(uwe||{}),lwe=(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))(lwe||{}),cwe=(e=>(e.Embedded="embedded",e))(cwe||{}),Kl=(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))(Kl||{}),fwe=(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))(fwe||{}),iC=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(iC||{}),dwe=(e=>(e.On="on",e.Off="off",e))(dwe||{}),Mh=(e=>(e.SignIn="sign_in",e.SignUp="sign_up",e.SignOut="sign_out",e.TopNavButton="top_nav_button",e.Educator="educator",e.Student="student",e.TermsAndConditions="terms_and_conditions",e.PrivacyPolicy="privacy_policy",e.EnterEmail="enter_email",e.ClosePopup="close_popup",e.Back="back",e.UseMyLocation="use_my_location",e.TrialCreated="trial_created",e.TrialRequested="trial_requested",e.DeadEnd="dead_end",e.CantFindSchool="cant_find_school",e.ResendEmail="resend_email",e.ContactUs="contact_us",e.InviteColleague="invite_colleague",e.Upgrade="upgrade",e.FindSchool="find_school",e.AddToBraze="add_to_braze",e.RequestAccess="request_access",e.AutoJoin="auto_join",e.WrongEmail="wrong_email",e.RequestBdmTrial="request_bdm_trial",e.SkipIdpSelect="skip_idp_select",e))(Mh||{}),hwe=(e=>(e.RequestProgram="tv_request_program",e.AdFreeRequest="tv_ad_free_request",e.AddAdFreeVideo="tv_add_ad_free_video",e.AddFullVideo="tv_add_full_video",e.RegionSelect="tv_region_select",e))(hwe||{}),pwe=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(pwe||{}),vwe=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(vwe||{}),aC=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(aC||{}),qu=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(qu||{}),qte=(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))(qte||{}),Bte=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(Bte||{}),sP=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(sP||{});const gwe=5;let mwe=class extends Fa{constructor(){super(...arguments),this.contextHistory=[]}get name(){return sP.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(tn.SHELL,an.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=gwe&&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 Vte=new mwe;var xf=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(xf||{});const Hte={ANALYTICS:"global:analytics"},ywe=qte.V2;class _we{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||ywe}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")&&nr.throw(new ln(`${t} is not a valid key`)),this[t]&&nr.throw(new ln(`Event already contains an enrichment named ${t}`))}}const Ewe={log(e,t,r,n){wr.Radio.channel(Hte.ANALYTICS).trigger(xf.Inlet,new _we(e,t,r,n))}};function Swe(){const{appLink:e}=Vte.getCurrentContext();return Xa(e)||nr.throw(new ln("Applink does not exist. Check current context.")),Twe(e.application)}function Dv(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||nr.throw(new ln("location must be set.")),r||nr.throw(new ln("entity must be set.")),{productArea:e.productArea??Swe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function wwe(e){return!!(gu(e)&&Ih(e,t=>Xa(t))||Xa(e))}function bwe(){return En.GetCurrentPath()+En.GetCurrentQueryString()}function Twe(e){return e.replace(":","-")}const ga={logUserAction(e,t){if(!wwe(e)||!Xa(t))return;const{userAction:r,action:n,eventVersion:i}=ga.buildUserActionEvent(t);Ewe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),fa({},e,...t)},buildActionContext(e={}){return Dv(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=Dv(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return bwe()},buildSearchEvent(e,t){return{data:{query:e},action:Dv({entity:hn.Video,location:na.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===qu.Series&&(n=hn.Series),r===qu.Folder&&(n=hn.Folder),r===qu.Tags&&(n=hn.Tag),r===qu.Video&&(n=hn.Video),r===qu.Clip&&(n=hn.Clip),r===qu.Interactive&&(n=hn.Interactive),r===qu.Subjects&&(n=hn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:Dv({entity:n,location:na.SearchBar})}},mapInteractionType(e){switch(e){case aC.DragDrop:return iC.DragDrop;case aC.FileSelect:return iC.FileSelect;default:return}}},oC=Sr.forwardRef((e,t)=>{function r(i){if(e.onKeyDown)return e.onKeyDown(i);if(i.key===" "&&i.preventDefault(),i.key==="Enter"||i.key===" "){if(e.disabled||!e.onClick)return;n(i)}}function n(...i){if(!(e.disabled||!e.onClick))return e.onClick(...i)}return ce.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})}),Awe="_appLink_1d1n3_1",Rwe={appLink:Awe},Ja=ge.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:o,children:a,disabled:u,tag:l="a",preventFocus:f}=e;if(!r)return ce.jsx("div",{ref:t,className:`${Rwe.appLink} ${i||""}`,style:o,children:a});const d=ni.getHref(r,n)||void 0,p={onClick:m=>{var E;const S=m.metaKey||m.ctrlKey;S||m.preventDefault(),!u&&((E=e.onClick)==null||E.call(e,m),e.analyticsData&&e.analyticsOptions&&ga.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!S&&(e.openInNewTab?En.PageLoad(d,!0):e.forcePageLoad?En.PageLoad(d):ni.trigger(r,n)))},...l==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:o,disabled:u,tabIndex:f?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return l==="button"||!d?ce.jsx(oC,{...p,children:a}):ce.jsx(l,{...p,children:a})});var tx={exports:{}};/*!
111
+ Copyright (c) 2018 Jed Watson.
112
+ Licensed under the MIT License (MIT), see
113
+ http://jedwatson.github.io/classnames
114
+ */var hK;function xwe(){return hK||(hK=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",a=0;a<arguments.length;a++){var u=arguments[a];u&&(o=i(o,n(u)))}return o}function n(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return r.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var u in o)t.call(o,u)&&o[u]&&(a=i(a,u));return a}function i(o,a){return a?o?o+" "+a:o+a:o}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(tx)),tx.exports}var Cwe=xwe();const zr=Cn(Cwe);var rx,pK;function Owe(){if(pK)return rx;pK=1;var e=function(t,r,n,i,o,a,u,l){if(!t){var f;if(r===void 0)f=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,o,a,u,l],h=0;f=new Error(r.replace(/%s/g,function(){return d[h++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return rx=e,rx}var Iwe=Owe();const vK=Cn(Iwe);function gK(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Pwe(e){var t=kwe(e,"string");return typeof t=="symbol"?t:String(t)}function kwe(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 zte(e,t,r){var n=ge.useRef(e!==void 0),i=ge.useState(t),o=i[0],a=i[1],u=e!==void 0,l=n.current;return n.current=u,!u&&l&&o!==t&&a(t),[u?e:o,ge.useCallback(function(f){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,[f].concat(h)),a(f)},[r])]}function Dwe(e,t){return Object.keys(t).reduce(function(r,n){var i,o=r,a=o[gK(n)],u=o[n],l=fy(o,[gK(n),n].map(Pwe)),f=t[n],d=zte(u,a,e[f]),h=d[0],p=d[1];return Lh({},l,(i={},i[n]=h,i[f]=p,i))},e)}function sC(e,t){return sC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},sC(e,t)}function uP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sC(e,t)}const Lwe=["xxl","xl","lg","md","sm","xs"],Nwe="xs",bp=ge.createContext({prefixes:{},breakpoints:Lwe,minBreakpoint:Nwe}),{Consumer:hLe,Provider:pLe}=bp;function rn(e,t){const{prefixes:r}=ge.useContext(bp);return e||r[t]||t}function Mwe(){const{breakpoints:e}=ge.useContext(bp);return e}function $we(){const{minBreakpoint:e}=ge.useContext(bp);return e}function yy(){const{dir:e}=ge.useContext(bp);return e==="rtl"}function gd(e){return e&&e.ownerDocument||document}function Fwe(e){var t=gd(e);return t&&t.defaultView||window}function jwe(e,t){return Fwe(e).getComputedStyle(e,t)}var Uwe=/([A-Z])/g;function qwe(e){return e.replace(Uwe,"-$1").toLowerCase()}var Bwe=/^ms-/;function Lv(e){return qwe(e).replace(Bwe,"-ms-")}var Vwe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Hwe(e){return!!(e&&Vwe.test(e))}function Yl(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Lv(t))||jwe(e).getPropertyValue(Lv(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(Lv(i)):Hwe(i)?n+=i+"("+o+") ":r+=Lv(i)+": "+o+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var nx={exports:{}},ix,mK;function zwe(){if(mK)return ix;mK=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ix=e,ix}var ax,yK;function Wwe(){if(yK)return ax;yK=1;var e=zwe();function t(){}function r(){}return r.resetWarningCache=t,ax=function(){function n(a,u,l,f,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 o={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 o.PropTypes=o,o},ax}var _K;function Gwe(){return _K||(_K=1,nx.exports=Wwe()()),nx.exports}var Kwe=Gwe();const Pr=Cn(Kwe),EK={disabled:!1},Ng=Sr.createContext(null);var Wte=function(t){return t.scrollTop},ch="unmounted",Pl="exited",Bu="entering",Ll="entered",uC="exiting",Os=(function(e){uP(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,u=a&&!a.isMounting?n.enter:n.appear,l;return o.appearStatus=null,n.in?u?(l=Pl,o.appearStatus=Bu):l=Ll:n.unmountOnExit||n.mountOnEnter?l=ch:l=Pl,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ch?{status:Pl}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Bu&&a!==Ll&&(o=Bu):(a===Bu||a===Ll)&&(o=uC)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,u;return o=a=u=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:u}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Bu){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:jl.findDOMNode(this);a&&Wte(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pl&&this.setState({status:ch})},r.performEnter=function(i){var o=this,a=this.props.enter,u=this.context?this.context.isMounting:i,l=this.props.nodeRef?[u]:[jl.findDOMNode(this),u],f=l[0],d=l[1],h=this.getTimeouts(),p=u?h.appear:h.enter;if(!i&&!a||EK.disabled){this.safeSetState({status:Ll},function(){o.props.onEntered(f)});return}this.props.onEnter(f,d),this.safeSetState({status:Bu},function(){o.props.onEntering(f,d),o.onTransitionEnd(p,function(){o.safeSetState({status:Ll},function(){o.props.onEntered(f,d)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:jl.findDOMNode(this);if(!o||EK.disabled){this.safeSetState({status:Pl},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:uC},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Pl},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},r.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,o.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:jl.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],f=l[0],d=l[1];this.props.addEndListener(f,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===ch)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var u=fy(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Sr.createElement(Ng.Provider,{value:null},typeof a=="function"?a(i,u):Sr.cloneElement(Sr.Children.only(a),u))},t})(Sr.Component);Os.contextType=Ng;Os.propTypes={};function uf(){}Os.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:uf,onEntering:uf,onEntered:uf,onExit:uf,onExiting:uf,onExited:uf};Os.UNMOUNTED=ch;Os.EXITED=Pl;Os.ENTERING=Bu;Os.ENTERED=Ll;Os.EXITING=uC;function Gte(e){return e.code==="Escape"||e.keyCode===27}function Ywe(){const e=ge.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Tp(e){if(!e||typeof e=="function")return null;const{major:t}=Ywe();return t>=19?e.props.ref:e.ref}const md=!!(typeof window<"u"&&window.document&&window.document.createElement);var lC=!1,cC=!1;try{var ox={get passive(){return lC=!0},get once(){return cC=lC=!0}};md&&(window.addEventListener("test",ox,ox),window.removeEventListener("test",ox,!0))}catch{}function lP(e,t,r,n){if(n&&typeof n!="boolean"&&!cC){var i=n.once,o=n.capture,a=r;!cC&&i&&(a=r.__once||function u(l){this.removeEventListener(t,u,o),r.call(this,l)},r.__once=a),e.addEventListener(t,a,lC?n:o)}e.addEventListener(t,r,n)}function fC(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 Qs(e,t,r,n){return lP(e,t,r,n),function(){fC(e,t,r,n)}}function Xwe(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 Qwe(e){var t=Yl(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Jwe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||Xwe(e,"transitionend",!0)},t+r),o=Qs(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),o()}}function Kte(e,t,r,n){r==null&&(r=Qwe(e)||0);var i=Jwe(e,r,n),o=Qs(e,"transitionend",t);return function(){i(),o()}}function SK(e,t){const r=Yl(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function Zwe(e,t){const r=SK(e,"transitionDuration"),n=SK(e,"transitionDelay"),i=Kte(e,o=>{o.target===e&&(i(),t(o))},r+n)}function e0e(e){e.offsetHeight}const wK=e=>!e||typeof e=="function"?e:t=>{e.current=t};function t0e(e,t){const r=wK(e),n=wK(t);return i=>{r&&r(i),n&&n(i)}}function yd(e,t){return ge.useMemo(()=>t0e(e,t),[e,t])}function Mg(e){return e&&"setState"in e?jl.findDOMNode(e):e??null}const r0e=Sr.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:o,addEndListener:a,children:u,childRef:l,...f},d)=>{const h=ge.useRef(null),p=yd(h,l),m=P=>{p(Mg(P))},S=P=>y=>{P&&h.current&&P(h.current,y)},E=ge.useCallback(S(e),[e]),_=ge.useCallback(S(t),[t]),w=ge.useCallback(S(r),[r]),T=ge.useCallback(S(n),[n]),C=ge.useCallback(S(i),[i]),x=ge.useCallback(S(o),[o]),R=ge.useCallback(S(a),[a]);return ce.jsx(Os,{ref:d,...f,onEnter:E,onEntered:w,onEntering:_,onExit:T,onExited:x,onExiting:C,addEndListener:R,nodeRef:h,children:typeof u=="function"?(P,y)=>u(P,{...y,ref:m}):Sr.cloneElement(u,{ref:m})})});function n0e(e){const t=ge.useRef(e);return ge.useEffect(()=>{t.current=e},[e]),t}function $h(e){const t=n0e(e);return ge.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const i0e=(e=>ge.forwardRef((t,r)=>ce.jsx("div",{...t,ref:r,className:zr(t.className,e)})));function dC(){return ge.useState(null)}function a0e(e){const t=ge.useRef(e);return ge.useEffect(()=>{t.current=e},[e]),t}function ta(e){const t=a0e(e);return ge.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function o0e(e,t,r,n=!1){const i=ta(r);ge.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,i,n),()=>o.removeEventListener(t,i,n)},[e])}function Yte(){const e=ge.useRef(!0),t=ge.useRef(()=>e.current);return ge.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Xte(e){const t=ge.useRef(null);return ge.useEffect(()=>{t.current=e}),t.current}const s0e=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",u0e=typeof document<"u",bK=u0e||s0e?ge.useLayoutEffect:ge.useEffect,l0e=["as","disabled"];function c0e(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 f0e(e){return!e||e.trim()==="#"}function cP({tagName:e,disabled:t,href:r,target:n,rel:i,role:o,onClick:a,tabIndex:u=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const f={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},f];const d=p=>{if((t||e==="a"&&f0e(r))&&p.preventDefault(),t){p.stopPropagation();return}a==null||a(p)},h=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:o??"button",disabled:void 0,tabIndex:t?void 0:u,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},f]}const Qte=ge.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=c0e(e,l0e);const[o,{tagName:a}]=cP(Object.assign({tagName:r,disabled:n},i));return ce.jsx(a,Object.assign({},i,o,{ref:t}))});Qte.displayName="Button";const d0e=["onKeyDown"];function h0e(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 p0e(e){return!e||e.trim()==="#"}const Jte=ge.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=h0e(e,d0e);const[i]=cP(Object.assign({tagName:"a"},n)),o=ta(a=>{i.onKeyDown(a),r==null||r(a)});return p0e(n.href)||n.role==="button"?ce.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:o})):ce.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});Jte.displayName="Anchor";const v0e={[Bu]:"show",[Ll]:"show"},Fh=ge.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=ge.useCallback((l,f)=>{e0e(l),n==null||n(l,f)},[n]);return ce.jsx(r0e,{ref:o,addEndListener:Zwe,...a,onEnter:u,childRef:Tp(t),children:(l,f)=>ge.cloneElement(t,{...f,className:zr("fade",e,t.props.className,v0e[l],r[l])})})});Fh.displayName="Fade";const g0e={"aria-label":Pr.string,onClick:Pr.func,variant:Pr.oneOf(["white"])},fP=ge.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>ce.jsx("button",{ref:i,type:"button",className:zr("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));fP.displayName="CloseButton";fP.propTypes=g0e;const _y=ge.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:o=!1,className:a,...u},l)=>{const f=rn(t,"btn"),[d,{tagName:h}]=cP({tagName:e,disabled:o,...u}),p=h;return ce.jsx(p,{...d,...u,ref:l,disabled:o,className:zr(a,f,i&&"active",r&&`${f}-${r}`,n&&`${f}-${n}`,u.href&&o&&"disabled")})});_y.displayName="Button";function m0e(){const e=ge.useRef(!0),t=ge.useRef(()=>e.current);return ge.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function y0e(e){const t=ge.useRef(e);return t.current=e,t}function Zte(e){const t=y0e(e);ge.useEffect(()=>()=>t.current(),[])}const hC=2**31-1;function ere(e,t,r){const n=r-Date.now();e.current=n<=hC?setTimeout(t,n):setTimeout(()=>ere(e,t,r),hC)}function _0e(){const e=m0e(),t=ge.useRef();return Zte(()=>clearTimeout(t.current)),ge.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,o=0){e()&&(r(),o<=hC?t.current=setTimeout(i,o):ere(t,i,Date.now()+o))}return{set:n,clear:r,handleRef:t}},[])}function E0e(e,t){return ge.Children.toArray(e).some(r=>ge.isValidElement(r)&&r.type===t)}function S0e({as:e,bsPrefix:t,className:r,...n}){t=rn(t,"col");const i=Mwe(),o=$we(),a=[],u=[];return i.forEach(l=>{const f=n[l];delete n[l];let d,h,p;typeof f=="object"&&f!=null?{span:d,offset:h,order:p}=f:d=f;const m=l!==o?`-${l}`:"";d&&a.push(d===!0?`${t}${m}`:`${t}${m}-${d}`),p!=null&&u.push(`order${m}-${p}`),h!=null&&u.push(`offset${m}-${h}`)}),[{...n,className:zr(r,...a,...u)},{as:e,bsPrefix:t,spans:a}]}const tre=ge.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:o,spans:a}]=S0e(e);return ce.jsx(i,{...n,ref:t,className:zr(r,!a.length&&o)})});tre.displayName="Col";var w0e=Function.prototype.bind.call(Function.prototype.call,[].slice);function Vu(e,t){return w0e(e.querySelectorAll(t))}function b0e(e,t,r){const n=ge.useRef(e!==void 0),[i,o]=ge.useState(t),a=e!==void 0,u=n.current;return n.current=a,!a&&u&&i!==t&&o(t),[a?e:i,ge.useCallback((...l)=>{const[f,...d]=l;let h=r==null?void 0:r(f,...d);return o(f),h},[r])]}function T0e(){const[,e]=ge.useReducer(t=>t+1,0);return e}const Ey=ge.createContext(null);var TK=Object.prototype.hasOwnProperty;function AK(e,t,r){for(r of e.keys())if(vh(r,t))return r}function vh(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--&&vh(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=AK(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=AK(t,i),!i)||!vh(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(TK.call(e,r)&&++n&&!TK.call(t,r)||!(r in t)||!vh(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function A0e(e){const t=Yte();return[e[0],ge.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const R0e=ap({defaultModifiers:[kO,jm,$m,Fm,DO,PO,LO,xO]}),x0e=["enabled","placement","strategy","modifiers"];function C0e(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 O0e={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},I0e={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 o=n.getAttribute("aria-describedby");if(o&&o.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",o?`${o},${r.id}`:r.id)}}},P0e=[];function rre(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:o="absolute",modifiers:a=P0e}=r,u=C0e(r,x0e);const l=ge.useRef(a),f=ge.useRef(),d=ge.useCallback(()=>{var _;(_=f.current)==null||_.update()},[]),h=ge.useCallback(()=>{var _;(_=f.current)==null||_.forceUpdate()},[]),[p,m]=A0e(ge.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),S=ge.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:_})=>{const w={},T={};Object.keys(_.elements).forEach(C=>{w[C]=_.styles[C],T[C]=_.attributes[C]}),m({state:_,styles:w,attributes:T,update:d,forceUpdate:h,placement:_.placement})}}),[d,h,m]),E=ge.useMemo(()=>(vh(l.current,a)||(l.current=a),l.current),[a]);return ge.useEffect(()=>{!f.current||!n||f.current.setOptions({placement:i,strategy:o,modifiers:[...E,S,O0e]})},[o,i,S,n,E]),ge.useEffect(()=>{if(!(!n||e==null||t==null))return f.current=R0e(e,t,Object.assign({},u,{placement:i,strategy:o,modifiers:[...E,I0e,S]})),()=>{f.current!=null&&(f.current.destroy(),f.current=void 0,m(_=>Object.assign({},_,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),p}function jh(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var k0e=Cte();const D0e=Cn(k0e),RK=()=>{};function L0e(e){return e.button===0}function N0e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const og=e=>e&&("current"in e?e.current:e),xK={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function nre(e,t=RK,{disabled:r,clickTrigger:n="click"}={}){const i=ge.useRef(!1),o=ge.useRef(!1),a=ge.useCallback(f=>{const d=og(e);D0e(!!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||N0e(f)||!L0e(f)||!!jh(d,f.target)||o.current,o.current=!1},[e]),u=ta(f=>{const d=og(e);d&&jh(d,f.target)?o.current=!0:o.current=!1}),l=ta(f=>{i.current||t(f)});ge.useEffect(()=>{var f,d;if(r||e==null)return;const h=gd(og(e)),p=h.defaultView||window;let m=(f=p.event)!=null?f:(d=p.parent)==null?void 0:d.event,S=null;xK[n]&&(S=Qs(h,xK[n],u,!0));const E=Qs(h,n,a,!0),_=Qs(h,n,T=>{if(T===m){m=void 0;return}l(T)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(T=>Qs(T,"mousemove",RK))),()=>{S==null||S(),E(),_(),w.forEach(T=>T())}},[e,r,n,a,u,l])}function M0e(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function $0e(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function ire({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:o,containerPadding:a,arrowElement:u,popperConfig:l={}}){var f,d,h,p,m;const S=M0e(l.modifiers);return Object.assign({},l,{placement:r,enabled:e,strategy:o?"fixed":l.strategy,modifiers:$0e(Object.assign({},S,{eventListeners:{enabled:t,options:(f=S.eventListeners)==null?void 0:f.options},preventOverflow:Object.assign({},S.preventOverflow,{options:a?Object.assign({padding:a},(d=S.preventOverflow)==null?void 0:d.options):(h=S.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(p=S.offset)==null?void 0:p.options)},arrow:Object.assign({},S.arrow,{enabled:!!u,options:Object.assign({},(m=S.arrow)==null?void 0:m.options,{element:u})}),flip:Object.assign({enabled:!!n},S.flip)}))})}const F0e=["children","usePopper"];function j0e(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 U0e=()=>{};function are(e={}){const t=ge.useContext(Ey),[r,n]=dC(),i=ge.useRef(!1),{flip:o,offset:a,rootCloseEvent:u,fixed:l=!1,placement:f,popperConfig:d={},enableEventListeners:h=!0,usePopper:p=!!t}=e,m=(t==null?void 0:t.show)==null?!!e.show:t.show;m&&!i.current&&(i.current=!0);const S=P=>{t==null||t.toggle(!1,P)},{placement:E,setMenu:_,menuElement:w,toggleElement:T}=t||{},C=rre(T,w,ire({placement:f||E||"bottom-start",enabled:p,enableEvents:h??m,offset:a,flip:o,fixed:l,arrowElement:r,popperConfig:d})),x=Object.assign({ref:_||U0e,"aria-labelledby":T==null?void 0:T.id},C.attributes.popper,{style:C.styles.popper}),R={show:m,placement:E,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:p?C:null,arrowProps:p?Object.assign({ref:n},C.attributes.arrow,{style:C.styles.arrow}):{}};return nre(w,S,{clickTrigger:u,disabled:!m}),[x,R]}function ore(e){let{children:t,usePopper:r=!0}=e,n=j0e(e,F0e);const[i,o]=are(Object.assign({},n,{usePopper:r}));return ce.jsx(ce.Fragment,{children:t(i,o)})}ore.displayName="DropdownMenu";const sre={prefix:String(Math.round(Math.random()*1e10)),current:0},ure=Sr.createContext(sre),q0e=Sr.createContext(!1);let sx=new WeakMap;function B0e(e=!1){let t=ge.useContext(ure),r=ge.useRef(null);if(r.current===null&&!e){var n,i;let o=(i=Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let a=sx.get(o);a==null?sx.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==a.state&&(t.current=a.id,sx.delete(o))}r.current=++t.current}return r.current}function V0e(e){let t=ge.useContext(ure),r=B0e(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function H0e(e){let t=Sr.useId(),[r]=ge.useState(Y0e()),n=r?"react-aria":`react-aria${sre.prefix}`;return e||`${n}-${t}`}const z0e=typeof Sr.useId=="function"?H0e:V0e;function W0e(){return!1}function G0e(){return!0}function K0e(e){return()=>{}}function Y0e(){return typeof Sr.useSyncExternalStore=="function"?Sr.useSyncExternalStore(K0e,W0e,G0e):ge.useContext(q0e)}const lre=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},CK=()=>{};function cre(){const e=z0e(),{show:t=!1,toggle:r=CK,setToggle:n,menuElement:i}=ge.useContext(Ey)||{},o=ge.useCallback(u=>{r(!t,u)},[t,r]),a={id:e,ref:n||CK,onClick:o,"aria-expanded":!!t};return i&&lre(i)&&(a["aria-haspopup"]=!0),[a,{show:t,toggle:r}]}function fre({children:e}){const[t,r]=cre();return ce.jsx(ce.Fragment,{children:e(t,r)})}fre.displayName="DropdownToggle";const pC=ge.createContext(null),OK=(e,t=null)=>e!=null?String(e):t||null,dre=ge.createContext(null);dre.displayName="NavContext";const X0e="data-rr-ui-";function dP(e){return`${X0e}${e}`}const Q0e=["eventKey","disabled","onClick","active","as"];function J0e(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 hre({key:e,href:t,active:r,disabled:n,onClick:i}){const o=ge.useContext(pC),a=ge.useContext(dre),{activeKey:u}=a||{},l=OK(e,t),f=r==null&&e!=null?OK(u)===l:r;return[{onClick:ta(h=>{n||(i==null||i(h),o&&!h.isPropagationStopped()&&o(l,h))}),"aria-disabled":n||void 0,"aria-selected":f,[dP("dropdown-item")]:""},{isActive:f}]}const pre=ge.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:o,as:a=Qte}=e,u=J0e(e,Q0e);const[l]=hre({key:r,href:u.href,disabled:n,onClick:i,active:o});return ce.jsx(a,Object.assign({},u,{ref:t},l))});pre.displayName="DropdownItem";const vre=ge.createContext(md?window:void 0);vre.Provider;function Sy(){return ge.useContext(vre)}function IK(){const e=T0e(),t=ge.useRef(null),r=ge.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function Ap({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${dP("dropdown-item")}]`,focusFirstItemOnShow:o,placement:a="bottom-start",children:u}){const l=Sy(),[f,d]=b0e(t,e,n),[h,p]=IK(),m=h.current,[S,E]=IK(),_=S.current,w=Xte(f),T=ge.useRef(null),C=ge.useRef(!1),x=ge.useContext(pC),R=ge.useCallback((B,W,Y=W==null?void 0:W.type)=>{d(B,{originalEvent:W,source:Y})},[d]),P=ta((B,W)=>{r==null||r(B,W),R(!1,W,"select"),W.isPropagationStopped()||x==null||x(B,W)}),y=ge.useMemo(()=>({toggle:R,placement:a,show:f,menuElement:m,toggleElement:_,setMenu:p,setToggle:E}),[R,a,f,m,_,p,E]);m&&w&&!f&&(C.current=m.contains(m.ownerDocument.activeElement));const N=ta(()=>{_&&_.focus&&_.focus()}),$=ta(()=>{const B=T.current;let W=o;if(W==null&&(W=h.current&&lre(h.current)?"keyboard":!1),W===!1||W==="keyboard"&&!/^key.+$/.test(B))return;const Y=Vu(h.current,i)[0];Y&&Y.focus&&Y.focus()});ge.useEffect(()=>{f?$():C.current&&(C.current=!1,N())},[f,C,N,$]),ge.useEffect(()=>{T.current=null});const H=(B,W)=>{if(!h.current)return null;const Y=Vu(h.current,i);let Q=Y.indexOf(B)+W;return Q=Math.max(0,Math.min(Q,Y.length)),Y[Q]};return o0e(ge.useCallback(()=>l.document,[l]),"keydown",B=>{var W,Y;const{key:Q}=B,ne=B.target,re=(W=h.current)==null?void 0:W.contains(ne),de=(Y=S.current)==null?void 0:Y.contains(ne);if(/input|textarea/i.test(ne.tagName)&&(Q===" "||Q!=="Escape"&&re||Q==="Escape"&&ne.type==="search")||!re&&!de||Q==="Tab"&&(!h.current||!f))return;T.current=B.type;const ee={originalEvent:B,source:B.type};switch(Q){case"ArrowUp":{const z=H(ne,-1);z&&z.focus&&z.focus(),B.preventDefault();return}case"ArrowDown":if(B.preventDefault(),!f)d(!0,ee);else{const z=H(ne,1);z&&z.focus&&z.focus()}return;case"Tab":lP(ne.ownerDocument,"keyup",z=>{var ue;(z.key==="Tab"&&!z.target||!((ue=h.current)!=null&&ue.contains(z.target)))&&d(!1,ee)},{once:!0});break;case"Escape":Q==="Escape"&&(B.preventDefault(),B.stopPropagation()),d(!1,ee);break}}),ce.jsx(pC.Provider,{value:P,children:ce.jsx(Ey.Provider,{value:y,children:u})})}Ap.displayName="Dropdown";Ap.Menu=ore;Ap.Toggle=fre;Ap.Item=pre;const hP=ge.createContext({});hP.displayName="DropdownContext";const gre=ge.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},o)=>(t=rn(t,"dropdown-divider"),ce.jsx(r,{ref:o,className:zr(e,t),role:n,...i})));gre.displayName="DropdownDivider";const mre=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},o)=>(t=rn(t,"dropdown-header"),ce.jsx(r,{ref:o,className:zr(e,t),role:n,...i})));mre.displayName="DropdownHeader";const yre=ge.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:o,as:a=Jte,...u},l)=>{const f=rn(e,"dropdown-item"),[d,h]=hre({key:r,href:u.href,disabled:n,onClick:i,active:o});return ce.jsx(a,{...u,...d,ref:l,className:zr(t,f,h.isActive&&"active",n&&"disabled")})});yre.displayName="DropdownItem";const _re=ge.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=rn(t,"dropdown-item-text"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));_re.displayName="DropdownItemText";const Z0e=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",e1e=typeof document<"u",Ere=e1e||Z0e?ge.useLayoutEffect:ge.useEffect,pP=ge.createContext(null);pP.displayName="InputGroupContext";const Sre=ge.createContext(null);Sre.displayName="NavbarContext";function wre(e,t){return e}function bre(e,t,r){const n=r?"top-end":"top-start",i=r?"top-start":"top-end",o=r?"bottom-end":"bottom-start",a=r?"bottom-start":"bottom-end",u=r?"right-start":"left-start",l=r?"right-end":"left-end",f=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?a:o;return t==="up"?h=e?i:n:t==="end"?h=e?d:f:t==="start"?h=e?l:u:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const Tre=ge.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:o,renderOnMount:a,as:u="div",popperConfig:l,variant:f,...d},h)=>{let p=!1;const m=ge.useContext(Sre),S=rn(e,"dropdown-menu"),{align:E,drop:_,isRTL:w}=ge.useContext(hP);r=r||E;const T=ge.useContext(pP),C=[];if(r)if(typeof r=="object"){const B=Object.keys(r);if(B.length){const W=B[0],Y=r[W];p=Y==="start",C.push(`${S}-${W}-${Y}`)}}else r==="end"&&(p=!0);const x=bre(p,_,w),[R,{hasShown:P,popper:y,show:N,toggle:$}]=are({flip:i,rootCloseEvent:n,show:o,usePopper:!m&&C.length===0,offset:[0,2],popperConfig:l,placement:x});if(R.ref=yd(wre(h),R.ref),Ere(()=>{N&&(y==null||y.update())},[N]),!P&&!a&&!T)return null;typeof u!="string"&&(R.show=N,R.close=()=>$==null?void 0:$(!1),R.align=r);let H=d.style;return y!=null&&y.placement&&(H={...d.style,...R.style},d["x-placement"]=y.placement),ce.jsx(u,{...d,...R,style:H,...(C.length||m)&&{"data-bs-popper":"static"},className:zr(t,S,N&&"show",p&&`${S}-end`,f&&`${S}-${f}`,...C)})});Tre.displayName="DropdownMenu";const Are=ge.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=_y,...o},a)=>{const u=rn(e,"dropdown-toggle"),l=ge.useContext(Ey);n!==void 0&&(o.bsPrefix=n);const[f]=cre();return f.ref=yd(f.ref,wre(a)),ce.jsx(i,{className:zr(r,u,t&&`${u}-split`,(l==null?void 0:l.show)&&"show"),...f,...o})});Are.displayName="DropdownToggle";const Rre=ge.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:o,align:a="start",onSelect:u,onToggle:l,focusFirstItemOnShow:f,as:d="div",navbar:h,autoClose:p=!0,...m}=Dwe(e,{show:"onToggle"}),S=ge.useContext(pP),E=rn(r,"dropdown"),_=yy(),w=y=>p===!1?y==="click":p==="inside"?y!=="rootClose":p==="outside"?y!=="select":!0,T=$h((y,N)=>{var $;!(($=N.originalEvent)==null||($=$.target)==null)&&$.classList.contains("dropdown-toggle")&&N.source==="mousedown"||(N.originalEvent.currentTarget===document&&(N.source!=="keydown"||N.originalEvent.key==="Escape")&&(N.source="rootClose"),w(N.source)&&(l==null||l(y,N)))}),x=bre(a==="end",n,_),R=ge.useMemo(()=>({align:a,drop:n,isRTL:_}),[a,n,_]),P={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return ce.jsx(hP.Provider,{value:R,children:ce.jsx(Ap,{placement:x,show:i,onSelect:u,onToggle:T,focusFirstItemOnShow:f,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:S?m.children:ce.jsx(d,{...m,ref:t,className:zr(o,i&&"show",P[n])})})})});Rre.displayName="Dropdown";const Ha=Object.assign(Rre,{Toggle:Are,Menu:Tre,Item:yre,ItemText:_re,Divider:gre,Header:mre}),t1e={type:Pr.string,tooltip:Pr.bool,as:Pr.elementType},wy=ge.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},o)=>ce.jsx(e,{...i,ref:o,className:zr(t,`${r}-${n?"tooltip":"feedback"}`)}));wy.displayName="Feedback";wy.propTypes=t1e;const su=ge.createContext({}),vP=ge.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:o=!1,as:a="input",...u},l)=>{const{controlId:f}=ge.useContext(su);return t=rn(t,"form-check-input"),ce.jsx(a,{...u,ref:l,type:n,id:e||f,className:zr(r,t,i&&"is-valid",o&&"is-invalid")})});vP.displayName="FormCheckInput";const $g=ge.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:o}=ge.useContext(su);return e=rn(e,"form-check-label"),ce.jsx("label",{...n,ref:i,htmlFor:r||o,className:zr(t,e)})});$g.displayName="FormCheckLabel";const xre=ge.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:o=!1,isValid:a=!1,isInvalid:u=!1,feedbackTooltip:l=!1,feedback:f,feedbackType:d,className:h,style:p,title:m="",type:S="checkbox",label:E,children:_,as:w="input",...T},C)=>{t=rn(t,"form-check"),r=rn(r,"form-switch");const{controlId:x}=ge.useContext(su),R=ge.useMemo(()=>({controlId:e||x}),[x,e]),P=!_&&E!=null&&E!==!1||E0e(_,$g),y=ce.jsx(vP,{...T,type:S==="switch"?"checkbox":S,ref:C,isValid:a,isInvalid:u,disabled:o,as:w});return ce.jsx(su.Provider,{value:R,children:ce.jsx("div",{style:p,className:zr(h,P&&t,n&&`${t}-inline`,i&&`${t}-reverse`,S==="switch"&&r),children:_||ce.jsxs(ce.Fragment,{children:[y,P&&ce.jsx($g,{title:m,children:E}),f&&ce.jsx(wy,{type:d,tooltip:l,children:f})]})})})});xre.displayName="FormCheck";const Fg=Object.assign(xre,{Input:vP,Label:$g}),Cre=ge.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:o,isValid:a=!1,isInvalid:u=!1,plaintext:l,readOnly:f,as:d="input",...h},p)=>{const{controlId:m}=ge.useContext(su);return e=rn(e,"form-control"),ce.jsx(d,{...h,type:t,size:n,ref:p,readOnly:f,id:i||m,className:zr(o,l?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,a&&"is-valid",u&&"is-invalid")})});Cre.displayName="FormControl";const r1e=Object.assign(Cre,{Feedback:wy}),Ore=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=rn(t,"form-floating"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));Ore.displayName="FormFloating";const gP=ge.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=ge.useMemo(()=>({controlId:e}),[e]);return ce.jsx(su.Provider,{value:i,children:ce.jsx(t,{...r,ref:n})})});gP.displayName="FormGroup";const Ire=ge.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:o,...a},u)=>{const{controlId:l}=ge.useContext(su);t=rn(t,"form-label");let f="col-form-label";typeof r=="string"&&(f=`${f} ${f}-${r}`);const d=zr(i,t,n&&"visually-hidden",r&&f);return o=o||l,r?ce.jsx(tre,{ref:u,as:"label",className:d,htmlFor:o,...a}):ce.jsx(e,{ref:u,className:d,htmlFor:o,...a})});Ire.displayName="FormLabel";const Pre=ge.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:o}=ge.useContext(su);return e=rn(e,"form-range"),ce.jsx("input",{...n,type:"range",ref:i,className:zr(t,e),id:r||o})});Pre.displayName="FormRange";const kre=ge.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:o=!1,id:a,...u},l)=>{const{controlId:f}=ge.useContext(su);return e=rn(e,"form-select"),ce.jsx("select",{...u,size:r,ref:l,className:zr(n,e,t&&`${e}-${t}`,i&&"is-valid",o&&"is-invalid"),id:a||f})});kre.displayName="FormSelect";const Dre=ge.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},o)=>(e=rn(e,"form-text"),ce.jsx(r,{...i,ref:o,className:zr(t,e,n&&"text-muted")})));Dre.displayName="FormText";const Lre=ge.forwardRef((e,t)=>ce.jsx(Fg,{...e,ref:t,type:"switch"}));Lre.displayName="Switch";const n1e=Object.assign(Lre,{Input:Fg.Input,Label:Fg.Label}),Nre=ge.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...o},a)=>(e=rn(e,"form-floating"),ce.jsxs(gP,{ref:a,className:zr(t,e),controlId:n,...o,children:[r,ce.jsx("label",{htmlFor:n,children:i})]})));Nre.displayName="FloatingLabel";const i1e={_ref:Pr.any,validated:Pr.bool,as:Pr.elementType},mP=ge.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>ce.jsx(r,{...n,ref:i,className:zr(e,t&&"was-validated")}));mP.displayName="Form";mP.propTypes=i1e;const a1e=Object.assign(mP,{Group:gP,Control:r1e,Floating:Ore,Check:Fg,Switch:n1e,Label:Ire,Text:Dre,Range:Pre,Select:kre,FloatingLabel:Nre}),PK=e=>!e||typeof e=="function"?e:t=>{e.current=t};function o1e(e,t){const r=PK(e),n=PK(t);return i=>{r&&r(i),n&&n(i)}}function by(e,t){return ge.useMemo(()=>o1e(e,t),[e,t])}var Nv;function kK(e){if((!Nv&&Nv!==0||e)&&md){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),Nv=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Nv}function s1e(){return ge.useState(null)}function ux(e){e===void 0&&(e=gd());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function u1e(e){const t=ge.useRef(e);return t.current=e,t}function l1e(e){const t=u1e(e);ge.useEffect(()=>()=>t.current(),[])}function c1e(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const DK=dP("modal-open");class yP{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return c1e(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(Yl(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(DK,""),Yl(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(DK),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 lx=(e,t)=>md?e==null?(t||gd()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function vC(e,t){const r=Sy(),[n,i]=ge.useState(()=>lx(e,r==null?void 0:r.document));if(!n){const o=lx(e);o&&i(o)}return ge.useEffect(()=>{},[t,n]),ge.useEffect(()=>{const o=lx(e);o!==n&&i(o)},[e,n]),n}function f1e({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const o=ge.useRef(null),a=ge.useRef(t),u=ta(r);ge.useEffect(()=>{t?a.current=!0:u(o.current)},[t,u]);const l=by(o,Tp(e)),f=ge.cloneElement(e,{ref:l});return t?f:i||!a.current&&n?null:f}const d1e=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function h1e(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 p1e(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:o,onExited:a,addEndListener:u,children:l}=e,f=h1e(e,d1e);const d=ge.useRef(null),h=by(d,Tp(l)),p=x=>R=>{x&&d.current&&x(d.current,R)},m=ge.useCallback(p(t),[t]),S=ge.useCallback(p(r),[r]),E=ge.useCallback(p(n),[n]),_=ge.useCallback(p(i),[i]),w=ge.useCallback(p(o),[o]),T=ge.useCallback(p(a),[a]),C=ge.useCallback(p(u),[u]);return Object.assign({},f,{nodeRef:d},t&&{onEnter:m},r&&{onEntering:S},n&&{onEntered:E},i&&{onExit:_},o&&{onExiting:w},a&&{onExited:T},u&&{addEndListener:C},{children:typeof l=="function"?(x,R)=>l(x,Object.assign({},R,{ref:h})):ge.cloneElement(l,{ref:h})})}const v1e=["component"];function g1e(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 m1e=ge.forwardRef((e,t)=>{let{component:r}=e,n=g1e(e,v1e);const i=p1e(n);return ce.jsx(r,Object.assign({ref:t},i))});function y1e({in:e,onTransition:t}){const r=ge.useRef(null),n=ge.useRef(!0),i=ta(t);return bK(()=>{if(!r.current)return;let o=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>o}),()=>{o=!0}},[e,i]),bK(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function _1e({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[o,a]=ge.useState(!t);t&&o&&a(!1);const u=y1e({in:!!t,onTransition:f=>{const d=()=>{f.isStale()||(f.in?n==null||n(f.element,f.initial):(a(!0),r==null||r(f.element)))};Promise.resolve(i(f)).then(d,h=>{throw f.in||a(!0),h})}}),l=by(u,Tp(e));return o&&!t?null:ge.cloneElement(e,{ref:l})}function gC(e,t,r){return e?ce.jsx(m1e,Object.assign({},r,{component:e})):t?ce.jsx(_1e,Object.assign({},r,{transition:t})):ce.jsx(f1e,Object.assign({},r))}const E1e=["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 S1e(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 cx;function w1e(e){return cx||(cx=new yP({ownerDocument:e==null?void 0:e.document})),cx}function b1e(e){const t=Sy(),r=e||w1e(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 Mre=ge.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:o,children:a,backdrop:u=!0,keyboard:l=!0,onBackdropClick:f,onEscapeKeyDown:d,transition:h,runTransition:p,backdropTransition:m,runBackdropTransition:S,autoFocus:E=!0,enforceFocus:_=!0,restoreFocus:w=!0,restoreFocusOptions:T,renderDialog:C,renderBackdrop:x=ve=>ce.jsx("div",Object.assign({},ve)),manager:R,container:P,onShow:y,onHide:N=()=>{},onExit:$,onExited:H,onExiting:B,onEnter:W,onEntering:Y,onEntered:Q}=e,ne=S1e(e,E1e);const re=Sy(),de=vC(P),G=b1e(R),ee=Yte(),z=Xte(r),[ue,Ee]=ge.useState(!r),Oe=ge.useRef(null);ge.useImperativeHandle(t,()=>G,[G]),md&&!z&&r&&(Oe.current=ux(re==null?void 0:re.document)),r&&ue&&Ee(!1);const $e=ta(()=>{if(G.add(),k.current=Qs(document,"keydown",I),M.current=Qs(document,"focus",()=>setTimeout(ae),!0),y&&y(),E){var ve,Re;const Se=ux((ve=(Re=G.dialog)==null?void 0:Re.ownerDocument)!=null?ve:re==null?void 0:re.document);G.dialog&&Se&&!jh(G.dialog,Se)&&(Oe.current=Se,G.dialog.focus())}}),Ve=ta(()=>{if(G.remove(),k.current==null||k.current(),M.current==null||M.current(),w){var ve;(ve=Oe.current)==null||ve.focus==null||ve.focus(T),Oe.current=null}});ge.useEffect(()=>{!r||!de||$e()},[r,de,$e]),ge.useEffect(()=>{ue&&Ve()},[ue,Ve]),l1e(()=>{Ve()});const ae=ta(()=>{if(!_||!ee()||!G.isTopModal())return;const ve=ux(re==null?void 0:re.document);G.dialog&&ve&&!jh(G.dialog,ve)&&G.dialog.focus()}),O=ta(ve=>{ve.target===ve.currentTarget&&(f==null||f(ve),u===!0&&N())}),I=ta(ve=>{l&&Gte(ve)&&G.isTopModal()&&(d==null||d(ve),ve.defaultPrevented||N())}),M=ge.useRef(),k=ge.useRef(),U=(...ve)=>{Ee(!0),H==null||H(...ve)};if(!de)return null;const K=Object.assign({role:n,ref:G.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},ne,{style:o,className:i,tabIndex:-1});let ie=C?C(K):ce.jsx("div",Object.assign({},K,{children:ge.cloneElement(a,{role:"document"})}));ie=gC(h,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:$,onExiting:B,onExited:U,onEnter:W,onEntering:Y,onEntered:Q,children:ie});let ye=null;return u&&(ye=x({ref:G.setBackdropRef,onClick:O}),ye=gC(m,S,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ye})),ce.jsx(ce.Fragment,{children:jl.createPortal(ce.jsxs(ce.Fragment,{children:[ye,ie]}),de)})});Mre.displayName="Modal";const T1e=Object.assign(Mre,{Manager:yP});function mC(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function $re(e,t){e.classList?e.classList.add(t):mC(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function LK(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Fre(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=LK(e.className,t):e.setAttribute("class",LK(e.className&&e.className.baseVal||"",t))}const lf={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class A1e extends yP{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Yl(r,{[t]:`${parseFloat(Yl(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Yl(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if($re(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Vu(r,lf.FIXED_CONTENT).forEach(o=>this.adjustAndStore(n,o,t.scrollBarWidth)),Vu(r,lf.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Vu(r,lf.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();Fre(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Vu(r,lf.FIXED_CONTENT).forEach(o=>this.restore(n,o)),Vu(r,lf.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Vu(r,lf.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let fx;function R1e(e){return fx||(fx=new A1e(e)),fx}const jre=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=rn(t,"modal-body"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));jre.displayName="ModalBody";const Ure=ge.createContext({onHide(){}}),_P=ge.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:o,children:a,scrollable:u,...l},f)=>{e=rn(e,"modal");const d=`${e}-dialog`,h=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return ce.jsx("div",{...l,ref:f,className:zr(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,u&&`${d}-scrollable`,o&&h),children:ce.jsx("div",{className:zr(`${e}-content`,r),children:a})})});_P.displayName="ModalDialog";const qre=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=rn(t,"modal-footer"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));qre.displayName="ModalFooter";const x1e=ge.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...o},a)=>{const u=ge.useContext(Ure),l=$h(()=>{u==null||u.onHide(),n==null||n()});return ce.jsxs("div",{ref:a,...o,children:[i,r&&ce.jsx(fP,{"aria-label":e,variant:t,onClick:l})]})}),Bre=ge.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},o)=>(e=rn(e,"modal-header"),ce.jsx(x1e,{ref:o,...i,className:zr(t,e),closeLabel:r,closeButton:n})));Bre.displayName="ModalHeader";const C1e=i0e("h4"),Vre=ge.forwardRef(({className:e,bsPrefix:t,as:r=C1e,...n},i)=>(t=rn(t,"modal-title"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));Vre.displayName="ModalTitle";function O1e(e){return ce.jsx(Fh,{...e,timeout:null})}function I1e(e){return ce.jsx(Fh,{...e,timeout:null})}const Hre=ge.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:o,dialogAs:a=_P,"data-bs-theme":u,"aria-labelledby":l,"aria-describedby":f,"aria-label":d,show:h=!1,animation:p=!0,backdrop:m=!0,keyboard:S=!0,onEscapeKeyDown:E,onShow:_,onHide:w,container:T,autoFocus:C=!0,enforceFocus:x=!0,restoreFocus:R=!0,restoreFocusOptions:P,onEntered:y,onExit:N,onExiting:$,onEnter:H,onEntering:B,onExited:W,backdropClassName:Y,manager:Q,...ne},re)=>{const[de,G]=ge.useState({}),[ee,z]=ge.useState(!1),ue=ge.useRef(!1),Ee=ge.useRef(!1),Oe=ge.useRef(null),[$e,Ve]=s1e(),ae=yd(re,Ve),O=$h(w),I=yy();e=rn(e,"modal");const M=ge.useMemo(()=>({onHide:O}),[O]);function k(){return Q||R1e({isRTL:I})}function U(Ge){if(!md)return;const it=k().getScrollbarWidth()>0,Dt=Ge.scrollHeight>gd(Ge).documentElement.clientHeight;G({paddingRight:it&&!Dt?kK():void 0,paddingLeft:!it&&Dt?kK():void 0})}const K=$h(()=>{$e&&U($e.dialog)});Zte(()=>{fC(window,"resize",K),Oe.current==null||Oe.current()});const ie=()=>{ue.current=!0},ye=Ge=>{ue.current&&$e&&Ge.target===$e.dialog&&(Ee.current=!0),ue.current=!1},ve=()=>{z(!0),Oe.current=Kte($e.dialog,()=>{z(!1)})},Re=Ge=>{Ge.target===Ge.currentTarget&&ve()},Se=Ge=>{if(m==="static"){Re(Ge);return}if(Ee.current||Ge.target!==Ge.currentTarget){Ee.current=!1;return}w==null||w()},xe=Ge=>{S?E==null||E(Ge):(Ge.preventDefault(),m==="static"&&ve())},De=(Ge,it)=>{Ge&&U(Ge),H==null||H(Ge,it)},he=Ge=>{Oe.current==null||Oe.current(),N==null||N(Ge)},me=(Ge,it)=>{B==null||B(Ge,it),lP(window,"resize",K)},_e=Ge=>{Ge&&(Ge.style.display=""),W==null||W(Ge),fC(window,"resize",K)},Le=ge.useCallback(Ge=>ce.jsx("div",{...Ge,className:zr(`${e}-backdrop`,Y,!p&&"show")}),[p,Y,e]),Me={...r,...de};Me.display="block";const Ne=Ge=>ce.jsx("div",{role:"dialog",...Ge,style:Me,className:zr(t,e,ee&&`${e}-static`,!p&&"show"),onClick:m?Se:void 0,onMouseUp:ye,"data-bs-theme":u,"aria-label":d,"aria-labelledby":l,"aria-describedby":f,children:ce.jsx(a,{...ne,onMouseDown:ie,className:n,contentClassName:i,children:o})});return ce.jsx(Ure.Provider,{value:M,children:ce.jsx(T1e,{show:h,ref:ae,backdrop:m,container:T,keyboard:!0,autoFocus:C,enforceFocus:x,restoreFocus:R,restoreFocusOptions:P,onEscapeKeyDown:xe,onShow:_,onHide:w,onEnter:De,onEntering:me,onEntered:y,onExit:he,onExiting:$,onExited:_e,manager:k(),transition:p?O1e:void 0,backdropTransition:p?I1e:void 0,renderBackdrop:Le,renderDialog:Ne})})});Hre.displayName="Modal";const Mv=Object.assign(Hre,{Body:jre,Header:Bre,Title:Vre,Footer:qre,Dialog:_P,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),P1e=()=>{};function k1e(e,t,{disabled:r,clickTrigger:n}={}){const i=t||P1e;nre(e,i,{disabled:r,clickTrigger:n});const o=ta(a=>{Gte(a)&&i(a)});ge.useEffect(()=>{if(r||e==null)return;const a=gd(og(e));let u=(a.defaultView||window).event;const l=Qs(a,"keyup",f=>{if(f===u){u=void 0;return}o(f)});return()=>{l()}},[e,r,o])}const zre=ge.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:o,popperConfig:a={},transition:u,runTransition:l}=e,[f,d]=dC(),[h,p]=dC(),m=by(d,t),S=vC(e.container),E=vC(e.target),[_,w]=ge.useState(!e.show),T=rre(E,f,ire({placement:i,enableEvents:!!e.show,containerPadding:o||5,flip:r,offset:n,arrowElement:h,popperConfig:a}));e.show&&_&&w(!1);const C=(...B)=>{w(!0),e.onExited&&e.onExited(...B)},x=e.show||!_;if(k1e(f,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!x)return null;const{onExit:R,onExiting:P,onEnter:y,onEntering:N,onEntered:$}=e;let H=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:m}),{popper:T,placement:i,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:p})});return H=gC(u,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:H,onExit:R,onExiting:P,onExited:C,onEnter:y,onEntering:N,onEntered:$}),S?jl.createPortal(H,S):null});zre.displayName="Overlay";const Wre=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=rn(t,"popover-header"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));Wre.displayName="PopoverHeader";const EP=ge.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=rn(t,"popover-body"),ce.jsx(r,{ref:i,className:zr(e,t),...n})));EP.displayName="PopoverBody";function Gre(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Kre(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const D1e=ge.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:o,arrowProps:a,hasDoneInitialMeasure:u,popper:l,show:f,...d},h)=>{const p=rn(e,"popover"),m=yy(),[S]=(t==null?void 0:t.split("-"))||[],E=Gre(S,m);let _=n;return f&&!u&&(_={...n,...Kre(l==null?void 0:l.strategy)}),ce.jsxs("div",{ref:h,role:"tooltip",style:_,"x-placement":S,className:zr(r,p,S&&`bs-popover-${E}`),...d,children:[ce.jsx("div",{className:"popover-arrow",...a}),o?ce.jsx(EP,{children:i}):i]})}),L1e=Object.assign(D1e,{Header:Wre,Body:EP,POPPER_OFFSET:[0,8]}),Yre=ge.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:o,hasDoneInitialMeasure:a,popper:u,show:l,...f},d)=>{e=rn(e,"tooltip");const h=yy(),[p]=(t==null?void 0:t.split("-"))||[],m=Gre(p,h);let S=n;return l&&!a&&(S={...n,...Kre(u==null?void 0:u.strategy)}),ce.jsxs("div",{ref:d,style:S,role:"tooltip","x-placement":p,className:zr(r,e,`bs-tooltip-${m}`),...f,children:[ce.jsx("div",{className:"tooltip-arrow",...o}),ce.jsx("div",{className:`${e}-inner`,children:i})]})});Yre.displayName="Tooltip";const jg=Object.assign(Yre,{TOOLTIP_OFFSET:[0,6]});function N1e(e){const t=ge.useRef(null),r=rn(void 0,"popover"),n=rn(void 0,"tooltip"),i=ge.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(mC(t.current,r))return L1e.POPPER_OFFSET;if(mC(t.current,n))return jg.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function M1e(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(Mg(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(Mg(i)))}const Xre=ge.forwardRef(({children:e,transition:t=Fh,popperConfig:r={},rootClose:n=!1,placement:i="top",show:o=!1,...a},u)=>{const l=ge.useRef({}),[f,d]=ge.useState(null),[h,p]=N1e(a.offset),m=yd(u,h),S=t===!0?Fh:t||void 0,E=$h(_=>{d(_),r==null||r.onFirstUpdate==null||r.onFirstUpdate(_)});return Ere(()=>{f&&a.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[f,a.target]),ge.useEffect(()=>{o||d(null)},[o]),ce.jsx(zre,{...a,ref:m,popperConfig:{...r,modifiers:p.concat(r.modifiers||[]),onFirstUpdate:E},transition:S,rootClose:n,placement:i,show:o,children:(_,{arrowProps:w,popper:T,show:C})=>{var x;M1e(_,w);const R=T==null?void 0:T.placement,P=Object.assign(l.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:R,outOfBoundaries:(T==null||(x=T.state)==null||(x=x.modifiersData.hide)==null?void 0:x.isReferenceHidden)||!1,strategy:r.strategy}),y=!!f;return typeof e=="function"?e({..._,placement:R,show:C,...!t&&C&&{className:"show"},popper:P,arrowProps:w,hasDoneInitialMeasure:y}):ge.cloneElement(e,{..._,placement:R,arrowProps:w,popper:P,hasDoneInitialMeasure:y,className:zr(e.props.className,!t&&C&&"show"),style:{...e.props.style,..._.style}})}})});Xre.displayName="Overlay";function $1e(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function NK(e,t,r){const[n]=t,i=n.currentTarget,o=n.relatedTarget||n.nativeEvent[r];(!o||o!==i)&&!jh(i,o)&&e(...t)}Pr.oneOf(["click","hover","focus"]);const yC=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:o=!1,onToggle:a,delay:u,placement:l,flip:f=l&&l.indexOf("auto")!==-1,...d})=>{const h=ge.useRef(null),p=yd(h,Tp(r)),m=_0e(),S=ge.useRef(""),[E,_]=zte(i,o,a),w=$1e(u),{onFocus:T,onBlur:C,onClick:x}=typeof r!="function"?ge.Children.only(r).props:{},R=ne=>{p(Mg(ne))},P=ge.useCallback(()=>{if(m.clear(),S.current="show",!w.show){_(!0);return}m.set(()=>{S.current==="show"&&_(!0)},w.show)},[w.show,_,m]),y=ge.useCallback(()=>{if(m.clear(),S.current="hide",!w.hide){_(!1);return}m.set(()=>{S.current==="hide"&&_(!1)},w.hide)},[w.hide,_,m]),N=ge.useCallback((...ne)=>{P(),T==null||T(...ne)},[P,T]),$=ge.useCallback((...ne)=>{y(),C==null||C(...ne)},[y,C]),H=ge.useCallback((...ne)=>{_(!E),x==null||x(...ne)},[x,_,E]),B=ge.useCallback((...ne)=>{NK(P,ne,"fromElement")},[P]),W=ge.useCallback((...ne)=>{NK(y,ne,"toElement")},[y]),Y=e==null?[]:[].concat(e),Q={ref:R};return Y.indexOf("click")!==-1&&(Q.onClick=H),Y.indexOf("focus")!==-1&&(Q.onFocus=N,Q.onBlur=$),Y.indexOf("hover")!==-1&&(Q.onMouseOver=B,Q.onMouseOut=W),ce.jsxs(ce.Fragment,{children:[typeof r=="function"?r(Q):ge.cloneElement(r,Q),ce.jsx(Xre,{...d,show:E,onHide:y,flip:f,placement:l,popperConfig:n,target:h.current,children:t})]})},Ty=ge.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:o,...a},u)=>{e=rn(e,"spinner");const l=`${e}-${r}`;return ce.jsx(i,{ref:u,...a,className:zr(o,l,n&&`${l}-${n}`,t&&`text-${t}`)})});Ty.displayName="Spinner";var $v={},MK;function F1e(){if(MK)return $v;MK=1;var e=hte();return $v.createRoot=e.createRoot,$v.hydrateRoot=e.hydrateRoot,$v}var SP=F1e();function j1e(e){const t=ge.useMemo(()=>`${e.type}-${Ute.getRandomInt()}`,[]);return e.title?e.spanHack?ce.jsx(yC,{placement:e.placement,overlay:ce.jsx(jg,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:ce.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):ce.jsx(yC,{placement:e.placement,overlay:ce.jsx(jg,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:ce.jsx(ge.Fragment,{children:e.children},t)}):ce.jsx(ce.Fragment,{children:e.children})}function U1e(e){const[t,r]=ge.useState();return ge.useEffect(()=>{const n=document.createElement("div");SP.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),ce.jsx(yC,{placement:"top",overlay:ce.jsx(jg,{id:e.id,children:ce.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:ce.jsx("div",{children:e.children})})}Cf.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function Cf(e){return e.type==="text"?ce.jsx(j1e,{...e,type:"text"}):e.type==="markup"?ce.jsx(U1e,{...e,type:"markup"}):ce.jsx(ce.Fragment,{})}var Fu={},xl={};/**
115
+ * @license React
116
+ * react-dom-server-legacy.browser.production.min.js
117
+ *
118
+ * Copyright (c) Facebook, Inc. and its affiliates.
119
+ *
120
+ * This source code is licensed under the MIT license found in the
121
+ * LICENSE file in the root directory of this source tree.
122
+ */var $K;function q1e(){if($K)return xl;$K=1;var e=xc();function t(F){for(var Z="https://reactjs.org/docs/error-decoder.html?invariant="+F,pe=1;pe<arguments.length;pe++)Z+="&args[]="+encodeURIComponent(arguments[pe]);return"Minified React error #"+F+"; visit "+Z+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(F,Z){return r&&(r=!1,Z[0]!=="<"&&F.push("<!-- -->")),Z==="<!-- -->"?r=!0:F.push(Z)}var i=Object.prototype.hasOwnProperty,o=/^[: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]*$/,a={},u={};function l(F){return i.call(u,F)?!0:i.call(a,F)?!1:o.test(F)?u[F]=!0:(a[F]=!0,!1)}function f(F,Z,pe,ke,ut,Qe,Tt){this.acceptsBooleans=Z===2||Z===3||Z===4,this.attributeName=ke,this.attributeNamespace=ut,this.mustUseProperty=pe,this.propertyName=F,this.type=Z,this.sanitizeURL=Qe,this.removeEmptyString=Tt}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(F){d[F]=new f(F,0,!1,F,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(F){var Z=F[0];d[Z]=new f(Z,1,!1,F[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(F){d[F]=new f(F,2,!1,F.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(F){d[F]=new f(F,2,!1,F,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(F){d[F]=new f(F,3,!1,F.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(F){d[F]=new f(F,3,!0,F,null,!1,!1)}),["capture","download"].forEach(function(F){d[F]=new f(F,4,!1,F,null,!1,!1)}),["cols","rows","size","span"].forEach(function(F){d[F]=new f(F,6,!1,F,null,!1,!1)}),["rowSpan","start"].forEach(function(F){d[F]=new f(F,5,!1,F.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function p(F){return F[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(F){var Z=F.replace(h,p);d[Z]=new f(Z,1,!1,F,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(F){var Z=F.replace(h,p);d[Z]=new f(Z,1,!1,F,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(F){var Z=F.replace(h,p);d[Z]=new f(Z,1,!1,F,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(F){d[F]=new f(F,1,!1,F.toLowerCase(),null,!1,!1)}),d.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(F){d[F]=new f(F,1,!1,F.toLowerCase(),null,!0,!0)});var m={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(m).forEach(function(F){S.forEach(function(Z){Z=Z+F.charAt(0).toUpperCase()+F.substring(1),m[Z]=m[F]})});var E=/["'&<>]/;function _(F){if(typeof F=="boolean"||typeof F=="number")return""+F;F=""+F;var Z=E.exec(F);if(Z){var pe="",ke,ut=0;for(ke=Z.index;ke<F.length;ke++){switch(F.charCodeAt(ke)){case 34:Z="&quot;";break;case 38:Z="&amp;";break;case 39:Z="&#x27;";break;case 60:Z="&lt;";break;case 62:Z="&gt;";break;default:continue}ut!==ke&&(pe+=F.substring(ut,ke)),ut=ke+1,pe+=Z}F=ut!==ke?pe+F.substring(ut,ke):pe}return F}var w=/([A-Z])/g,T=/^ms-/,C=Array.isArray;function x(F,Z){return{insertionMode:F,selectedValue:Z}}function R(F,Z,pe){switch(Z){case"select":return x(1,pe.value!=null?pe.value:pe.defaultValue);case"svg":return x(2,null);case"math":return x(3,null);case"foreignObject":return x(1,null);case"table":return x(4,null);case"thead":case"tbody":case"tfoot":return x(5,null);case"colgroup":return x(7,null);case"tr":return x(6,null)}return 4<=F.insertionMode||F.insertionMode===0?x(1,null):F}function P(F,Z){Z!==""&&F.push(_(Z),"<!-- -->")}var y=new Map;function N(F,Z,pe){if(typeof pe!="object")throw Error(t(62));Z=!0;for(var ke in pe)if(i.call(pe,ke)){var ut=pe[ke];if(ut!=null&&typeof ut!="boolean"&&ut!==""){if(ke.indexOf("--")===0){var Qe=_(ke);ut=_((""+ut).trim())}else{Qe=ke;var Tt=y.get(Qe);Tt!==void 0||(Tt=_(Qe.replace(w,"-$1").toLowerCase().replace(T,"-ms-")),y.set(Qe,Tt)),Qe=Tt,ut=typeof ut=="number"?ut===0||i.call(m,ke)?""+ut:ut+"px":_((""+ut).trim())}Z?(Z=!1,F.push(' style="',Qe,":",ut)):F.push(";",Qe,":",ut)}}Z||F.push('"')}function $(F,Z,pe,ke){switch(pe){case"style":N(F,Z,ke);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<pe.length)||pe[0]!=="o"&&pe[0]!=="O"||pe[1]!=="n"&&pe[1]!=="N"){if(Z=d.hasOwnProperty(pe)?d[pe]:null,Z!==null){switch(typeof ke){case"function":case"symbol":return;case"boolean":if(!Z.acceptsBooleans)return}switch(pe=Z.attributeName,Z.type){case 3:ke&&F.push(" ",pe,'=""');break;case 4:ke===!0?F.push(" ",pe,'=""'):ke!==!1&&F.push(" ",pe,'="',_(ke),'"');break;case 5:isNaN(ke)||F.push(" ",pe,'="',_(ke),'"');break;case 6:!isNaN(ke)&&1<=ke&&F.push(" ",pe,'="',_(ke),'"');break;default:Z.sanitizeURL&&(ke=""+ke),F.push(" ",pe,'="',_(ke),'"')}}else if(l(pe)){switch(typeof ke){case"function":case"symbol":return;case"boolean":if(Z=pe.toLowerCase().slice(0,5),Z!=="data-"&&Z!=="aria-")return}F.push(" ",pe,'="',_(ke),'"')}}}function H(F,Z,pe){if(Z!=null){if(pe!=null)throw Error(t(60));if(typeof Z!="object"||!("__html"in Z))throw Error(t(61));Z=Z.__html,Z!=null&&F.push(""+Z)}}function B(F){var Z="";return e.Children.forEach(F,function(pe){pe!=null&&(Z+=pe)}),Z}function W(F,Z,pe,ke){F.push(ne(pe));var ut=pe=null,Qe;for(Qe in Z)if(i.call(Z,Qe)){var Tt=Z[Qe];if(Tt!=null)switch(Qe){case"children":pe=Tt;break;case"dangerouslySetInnerHTML":ut=Tt;break;default:$(F,ke,Qe,Tt)}}return F.push(">"),H(F,ut,pe),typeof pe=="string"?(F.push(_(pe)),null):pe}var Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q=new Map;function ne(F){var Z=Q.get(F);if(Z===void 0){if(!Y.test(F))throw Error(t(65,F));Z="<"+F,Q.set(F,Z)}return Z}function re(F,Z,pe,ke,ut){switch(Z){case"select":F.push(ne("select"));var Qe=null,Tt=null;for(Or in pe)if(i.call(pe,Or)){var $t=pe[Or];if($t!=null)switch(Or){case"children":Qe=$t;break;case"dangerouslySetInnerHTML":Tt=$t;break;case"defaultValue":case"value":break;default:$(F,ke,Or,$t)}}return F.push(">"),H(F,Tt,Qe),Qe;case"option":Tt=ut.selectedValue,F.push(ne("option"));var Ut=$t=null,Dr=null,Or=null;for(Qe in pe)if(i.call(pe,Qe)&&(Z=pe[Qe],Z!=null))switch(Qe){case"children":$t=Z;break;case"selected":Dr=Z;break;case"dangerouslySetInnerHTML":Or=Z;break;case"value":Ut=Z;default:$(F,ke,Qe,Z)}if(Tt!=null)if(pe=Ut!==null?""+Ut:B($t),C(Tt)){for(ke=0;ke<Tt.length;ke++)if(""+Tt[ke]===pe){F.push(' selected=""');break}}else""+Tt===pe&&F.push(' selected=""');else Dr&&F.push(' selected=""');return F.push(">"),H(F,Or,$t),$t;case"textarea":F.push(ne("textarea")),Or=Tt=Qe=null;for($t in pe)if(i.call(pe,$t)&&(Ut=pe[$t],Ut!=null))switch($t){case"children":Or=Ut;break;case"value":Qe=Ut;break;case"defaultValue":Tt=Ut;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:$(F,ke,$t,Ut)}if(Qe===null&&Tt!==null&&(Qe=Tt),F.push(">"),Or!=null){if(Qe!=null)throw Error(t(92));if(C(Or)&&1<Or.length)throw Error(t(93));Qe=""+Or}return typeof Qe=="string"&&Qe[0]===`
123
+ `&&F.push(`
124
+ `),Qe!==null&&F.push(_(""+Qe)),null;case"input":F.push(ne("input")),Ut=Or=$t=Qe=null;for(Tt in pe)if(i.call(pe,Tt)&&(Dr=pe[Tt],Dr!=null))switch(Tt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Ut=Dr;break;case"defaultValue":$t=Dr;break;case"checked":Or=Dr;break;case"value":Qe=Dr;break;default:$(F,ke,Tt,Dr)}return Or!==null?$(F,ke,"checked",Or):Ut!==null&&$(F,ke,"checked",Ut),Qe!==null?$(F,ke,"value",Qe):$t!==null&&$(F,ke,"value",$t),F.push("/>"),null;case"menuitem":F.push(ne("menuitem"));for(var Tn in pe)if(i.call(pe,Tn)&&(Qe=pe[Tn],Qe!=null))switch(Tn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:$(F,ke,Tn,Qe)}return F.push(">"),null;case"listing":case"pre":F.push(ne(Z)),Tt=Qe=null;for(Ut in pe)if(i.call(pe,Ut)&&($t=pe[Ut],$t!=null))switch(Ut){case"children":Qe=$t;break;case"dangerouslySetInnerHTML":Tt=$t;break;default:$(F,ke,Ut,$t)}if(F.push(">"),Tt!=null){if(Qe!=null)throw Error(t(60));if(typeof Tt!="object"||!("__html"in Tt))throw Error(t(61));pe=Tt.__html,pe!=null&&(typeof pe=="string"&&0<pe.length&&pe[0]===`
125
+ `?F.push(`
126
+ `,pe):F.push(""+pe))}return typeof Qe=="string"&&Qe[0]===`
127
+ `&&F.push(`
128
+ `),Qe;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":F.push(ne(Z));for(var si in pe)if(i.call(pe,si)&&(Qe=pe[si],Qe!=null))switch(si){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,Z));default:$(F,ke,si,Qe)}return F.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return W(F,pe,Z,ke);case"html":return ut.insertionMode===0&&F.push("<!DOCTYPE html>"),W(F,pe,Z,ke);default:if(Z.indexOf("-")===-1&&typeof pe.is!="string")return W(F,pe,Z,ke);F.push(ne(Z)),Tt=Qe=null;for(Dr in pe)if(i.call(pe,Dr)&&($t=pe[Dr],$t!=null))switch(Dr){case"children":Qe=$t;break;case"dangerouslySetInnerHTML":Tt=$t;break;case"style":N(F,ke,$t);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(Dr)&&typeof $t!="function"&&typeof $t!="symbol"&&F.push(" ",Dr,'="',_($t),'"')}return F.push(">"),H(F,Tt,Qe),Qe}}function de(F,Z,pe){if(n(F,'<!--$?--><template id="'),pe===null)throw Error(t(395));return n(F,pe),n(F,'"></template>')}function G(F,Z,pe,ke){switch(pe.insertionMode){case 0:case 1:return n(F,'<div hidden id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 2:return n(F,'<svg aria-hidden="true" style="display:none" id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 3:return n(F,'<math aria-hidden="true" style="display:none" id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 4:return n(F,'<table hidden id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 5:return n(F,'<table hidden><tbody id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 6:return n(F,'<table hidden><tr id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');case 7:return n(F,'<table hidden><colgroup id="'),n(F,Z.segmentPrefix),Z=ke.toString(16),n(F,Z),n(F,'">');default:throw Error(t(397))}}function ee(F,Z){switch(Z.insertionMode){case 0:case 1:return n(F,"</div>");case 2:return n(F,"</svg>");case 3:return n(F,"</math>");case 4:return n(F,"</table>");case 5:return n(F,"</tbody></table>");case 6:return n(F,"</tr></table>");case 7:return n(F,"</colgroup></table>");default:throw Error(t(397))}}function z(F,Z){return Z=Z===void 0?"":Z,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:Z+"P:",segmentPrefix:Z+"S:",boundaryPrefix:Z+"B:",idPrefix:Z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:F}}var ue=Object.assign,Ee=Symbol.for("react.element"),Oe=Symbol.for("react.portal"),$e=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),I=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ye=Symbol.for("react.scope"),ve=Symbol.for("react.debug_trace_mode"),Re=Symbol.for("react.legacy_hidden"),Se=Symbol.for("react.default_value"),xe=Symbol.iterator;function De(F){if(F==null)return null;if(typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case $e:return"Fragment";case Oe:return"Portal";case ae:return"Profiler";case Ve:return"StrictMode";case k:return"Suspense";case U:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case I:return(F.displayName||"Context")+".Consumer";case O:return(F._context.displayName||"Context")+".Provider";case M:var Z=F.render;return F=F.displayName,F||(F=Z.displayName||Z.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case K:return Z=F.displayName||null,Z!==null?Z:De(F.type)||"Memo";case ie:Z=F._payload,F=F._init;try{return De(F(Z))}catch{}}return null}var he={};function me(F,Z){if(F=F.contextTypes,!F)return he;var pe={},ke;for(ke in F)pe[ke]=Z[ke];return pe}var _e=null;function Le(F,Z){if(F!==Z){F.context._currentValue2=F.parentValue,F=F.parent;var pe=Z.parent;if(F===null){if(pe!==null)throw Error(t(401))}else{if(pe===null)throw Error(t(401));Le(F,pe)}Z.context._currentValue2=Z.value}}function Me(F){F.context._currentValue2=F.parentValue,F=F.parent,F!==null&&Me(F)}function Ne(F){var Z=F.parent;Z!==null&&Ne(Z),F.context._currentValue2=F.value}function Ge(F,Z){if(F.context._currentValue2=F.parentValue,F=F.parent,F===null)throw Error(t(402));F.depth===Z.depth?Le(F,Z):Ge(F,Z)}function it(F,Z){var pe=Z.parent;if(pe===null)throw Error(t(402));F.depth===pe.depth?Le(F,pe):it(F,pe),Z.context._currentValue2=Z.value}function Dt(F){var Z=_e;Z!==F&&(Z===null?Ne(F):F===null?Me(Z):Z.depth===F.depth?Le(Z,F):Z.depth>F.depth?Ge(Z,F):it(Z,F),_e=F)}var rr={isMounted:function(){return!1},enqueueSetState:function(F,Z){F=F._reactInternals,F.queue!==null&&F.queue.push(Z)},enqueueReplaceState:function(F,Z){F=F._reactInternals,F.replace=!0,F.queue=[Z]},enqueueForceUpdate:function(){}};function Ke(F,Z,pe,ke){var ut=F.state!==void 0?F.state:null;F.updater=rr,F.props=pe,F.state=ut;var Qe={queue:[],replace:!1};F._reactInternals=Qe;var Tt=Z.contextType;if(F.context=typeof Tt=="object"&&Tt!==null?Tt._currentValue2:ke,Tt=Z.getDerivedStateFromProps,typeof Tt=="function"&&(Tt=Tt(pe,ut),ut=Tt==null?ut:ue({},ut,Tt),F.state=ut),typeof Z.getDerivedStateFromProps!="function"&&typeof F.getSnapshotBeforeUpdate!="function"&&(typeof F.UNSAFE_componentWillMount=="function"||typeof F.componentWillMount=="function"))if(Z=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),Z!==F.state&&rr.enqueueReplaceState(F,F.state,null),Qe.queue!==null&&0<Qe.queue.length)if(Z=Qe.queue,Tt=Qe.replace,Qe.queue=null,Qe.replace=!1,Tt&&Z.length===1)F.state=Z[0];else{for(Qe=Tt?Z[0]:F.state,ut=!0,Tt=Tt?1:0;Tt<Z.length;Tt++){var $t=Z[Tt];$t=typeof $t=="function"?$t.call(F,Qe,pe,ke):$t,$t!=null&&(ut?(ut=!1,Qe=ue({},Qe,$t)):ue(Qe,$t))}F.state=Qe}else Qe.queue=null}var _t={id:1,overflow:""};function vt(F,Z,pe){var ke=F.id;F=F.overflow;var ut=32-rt(ke)-1;ke&=~(1<<ut),pe+=1;var Qe=32-rt(Z)+ut;if(30<Qe){var Tt=ut-ut%5;return Qe=(ke&(1<<Tt)-1).toString(32),ke>>=Tt,ut-=Tt,{id:1<<32-rt(Z)+ut|pe<<ut|ke,overflow:Qe+F}}return{id:1<<Qe|pe<<ut|ke,overflow:F}}var rt=Math.clz32?Math.clz32:Ht,ot=Math.log,ht=Math.LN2;function Ht(F){return F>>>=0,F===0?32:31-(ot(F)/ht|0)|0}function Ct(F,Z){return F===Z&&(F!==0||1/F===1/Z)||F!==F&&Z!==Z}var be=typeof Object.is=="function"?Object.is:Ct,Xe=null,at=null,mt=null,xt=null,Xt=!1,or=!1,Kt=0,lr=null,Tr=0;function Br(){if(Xe===null)throw Error(t(321));return Xe}function In(){if(0<Tr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Dn(){return xt===null?mt===null?(Xt=!1,mt=xt=In()):(Xt=!0,xt=mt):xt.next===null?(Xt=!1,xt=xt.next=In()):(Xt=!0,xt=xt.next),xt}function Bn(){at=Xe=null,or=!1,mt=null,Tr=0,xt=lr=null}function vn(F,Z){return typeof Z=="function"?Z(F):Z}function Vn(F,Z,pe){if(Xe=Br(),xt=Dn(),Xt){var ke=xt.queue;if(Z=ke.dispatch,lr!==null&&(pe=lr.get(ke),pe!==void 0)){lr.delete(ke),ke=xt.memoizedState;do ke=F(ke,pe.action),pe=pe.next;while(pe!==null);return xt.memoizedState=ke,[ke,Z]}return[xt.memoizedState,Z]}return F=F===vn?typeof Z=="function"?Z():Z:pe!==void 0?pe(Z):Z,xt.memoizedState=F,F=xt.queue={last:null,dispatch:null},F=F.dispatch=oi.bind(null,Xe,F),[xt.memoizedState,F]}function ai(F,Z){if(Xe=Br(),xt=Dn(),Z=Z===void 0?null:Z,xt!==null){var pe=xt.memoizedState;if(pe!==null&&Z!==null){var ke=pe[1];e:if(ke===null)ke=!1;else{for(var ut=0;ut<ke.length&&ut<Z.length;ut++)if(!be(Z[ut],ke[ut])){ke=!1;break e}ke=!0}if(ke)return pe[0]}}return F=F(),xt.memoizedState=[F,Z],F}function oi(F,Z,pe){if(25<=Tr)throw Error(t(301));if(F===Xe)if(or=!0,F={action:pe,next:null},lr===null&&(lr=new Map),pe=lr.get(Z),pe===void 0)lr.set(Z,F);else{for(Z=pe;Z.next!==null;)Z=Z.next;Z.next=F}}function Kn(){throw Error(t(394))}function wi(){}var bi={readContext:function(F){return F._currentValue2},useContext:function(F){return Br(),F._currentValue2},useMemo:ai,useReducer:Vn,useRef:function(F){Xe=Br(),xt=Dn();var Z=xt.memoizedState;return Z===null?(F={current:F},xt.memoizedState=F):Z},useState:function(F){return Vn(vn,F)},useInsertionEffect:wi,useLayoutEffect:function(){},useCallback:function(F,Z){return ai(function(){return F},Z)},useImperativeHandle:wi,useEffect:wi,useDebugValue:wi,useDeferredValue:function(F){return Br(),F},useTransition:function(){return Br(),[!1,Kn]},useId:function(){var F=at.treeContext,Z=F.overflow;F=F.id,F=(F&~(1<<32-rt(F)-1)).toString(32)+Z;var pe=gn;if(pe===null)throw Error(t(404));return Z=Kt++,F=":"+pe.idPrefix+"R"+F,0<Z&&(F+="H"+Z.toString(32)),F+":"},useMutableSource:function(F,Z){return Br(),Z(F._source)},useSyncExternalStore:function(F,Z,pe){if(pe===void 0)throw Error(t(407));return pe()}},gn=null,$n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function vi(F){console.error(F)}function Ii(){}function et(F,Z,pe,ke,ut,Qe,Tt,$t,Ut){var Dr=[],Or=new Set;return Z={destination:null,responseState:Z,progressiveChunkSize:ke===void 0?12800:ke,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Or,pingedTasks:Dr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ut===void 0?vi:ut,onAllReady:Ii,onShellReady:Tt===void 0?Ii:Tt,onShellError:Ii,onFatalError:Ii},pe=ct(Z,0,null,pe),pe.parentFlushed=!0,F=At(Z,F,null,pe,Or,he,null,_t),Dr.push(F),Z}function At(F,Z,pe,ke,ut,Qe,Tt,$t){F.allPendingTasks++,pe===null?F.pendingRootTasks++:pe.pendingTasks++;var Ut={node:Z,ping:function(){var Dr=F.pingedTasks;Dr.push(Ut),Dr.length===1&&$r(F)},blockedBoundary:pe,blockedSegment:ke,abortSet:ut,legacyContext:Qe,context:Tt,treeContext:$t};return ut.add(Ut),Ut}function ct(F,Z,pe,ke){return{status:0,id:-1,index:Z,parentFlushed:!1,chunks:[],children:[],formatContext:ke,boundary:pe}}function We(F,Z){F=F.onError,F(Z)}function oe(F,Z){var pe=F.onShellError;pe(Z),pe=F.onFatalError,pe(Z),F.destination!==null?(F.status=2,F.destination.destroy(Z)):(F.status=1,F.fatalError=Z)}function Je(F,Z,pe,ke,ut){for(Xe={},at=Z,Kt=0,F=pe(ke,ut);or;)or=!1,Kt=0,Tr+=1,xt=null,F=pe(ke,ut);return Bn(),F}function Ue(F,Z,pe,ke){var ut=pe.render(),Qe=ke.childContextTypes;if(Qe!=null){var Tt=Z.legacyContext;if(typeof pe.getChildContext!="function")ke=Tt;else{pe=pe.getChildContext();for(var $t in pe)if(!($t in Qe))throw Error(t(108,De(ke)||"Unknown",$t));ke=ue({},Tt,pe)}Z.legacyContext=ke,zt(F,Z,ut),Z.legacyContext=Tt}else zt(F,Z,ut)}function yt(F,Z){if(F&&F.defaultProps){Z=ue({},Z),F=F.defaultProps;for(var pe in F)Z[pe]===void 0&&(Z[pe]=F[pe]);return Z}return Z}function ft(F,Z,pe,ke,ut){if(typeof pe=="function")if(pe.prototype&&pe.prototype.isReactComponent){ut=me(pe,Z.legacyContext);var Qe=pe.contextType;Qe=new pe(ke,typeof Qe=="object"&&Qe!==null?Qe._currentValue2:ut),Ke(Qe,pe,ke,ut),Ue(F,Z,Qe,pe)}else{Qe=me(pe,Z.legacyContext),ut=Je(F,Z,pe,ke,Qe);var Tt=Kt!==0;if(typeof ut=="object"&&ut!==null&&typeof ut.render=="function"&&ut.$$typeof===void 0)Ke(ut,pe,ke,Qe),Ue(F,Z,ut,pe);else if(Tt){ke=Z.treeContext,Z.treeContext=vt(ke,1,0);try{zt(F,Z,ut)}finally{Z.treeContext=ke}}else zt(F,Z,ut)}else if(typeof pe=="string")switch(ut=Z.blockedSegment,Qe=re(ut.chunks,pe,ke,F.responseState,ut.formatContext),Tt=ut.formatContext,ut.formatContext=R(Tt,pe,ke),gt(F,Z,Qe),ut.formatContext=Tt,pe){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:ut.chunks.push("</",pe,">")}else{switch(pe){case Re:case ve:case Ve:case ae:case $e:zt(F,Z,ke.children);return;case U:zt(F,Z,ke.children);return;case ye:throw Error(t(343));case k:e:{pe=Z.blockedBoundary,ut=Z.blockedSegment,Qe=ke.fallback,ke=ke.children,Tt=new Set;var $t={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Tt},Ut=ct(F,ut.chunks.length,$t,ut.formatContext);ut.children.push(Ut);var Dr=ct(F,0,null,ut.formatContext);Dr.parentFlushed=!0,Z.blockedBoundary=$t,Z.blockedSegment=Dr;try{if(gt(F,Z,ke),Dr.status=1,mn($t,Dr),$t.pendingTasks===0)break e}catch(Or){Dr.status=4,We(F,Or),$t.forceClientRender=!0}finally{Z.blockedBoundary=pe,Z.blockedSegment=ut}Z=At(F,Qe,pe,Ut,Tt,Z.legacyContext,Z.context,Z.treeContext),F.pingedTasks.push(Z)}return}if(typeof pe=="object"&&pe!==null)switch(pe.$$typeof){case M:if(ke=Je(F,Z,pe.render,ke,ut),Kt!==0){pe=Z.treeContext,Z.treeContext=vt(pe,1,0);try{zt(F,Z,ke)}finally{Z.treeContext=pe}}else zt(F,Z,ke);return;case K:pe=pe.type,ke=yt(pe,ke),ft(F,Z,pe,ke,ut);return;case O:if(ut=ke.children,pe=pe._context,ke=ke.value,Qe=pe._currentValue2,pe._currentValue2=ke,Tt=_e,_e=ke={parent:Tt,depth:Tt===null?0:Tt.depth+1,context:pe,parentValue:Qe,value:ke},Z.context=ke,zt(F,Z,ut),F=_e,F===null)throw Error(t(403));ke=F.parentValue,F.context._currentValue2=ke===Se?F.context._defaultValue:ke,F=_e=F.parent,Z.context=F;return;case I:ke=ke.children,ke=ke(pe._currentValue2),zt(F,Z,ke);return;case ie:ut=pe._init,pe=ut(pe._payload),ke=yt(pe,ke),ft(F,Z,pe,ke,void 0);return}throw Error(t(130,pe==null?pe:typeof pe,""))}}function zt(F,Z,pe){if(Z.node=pe,typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Ee:ft(F,Z,pe.type,pe.props,pe.ref);return;case Oe:throw Error(t(257));case ie:var ke=pe._init;pe=ke(pe._payload),zt(F,Z,pe);return}if(C(pe)){jt(F,Z,pe);return}if(pe===null||typeof pe!="object"?ke=null:(ke=xe&&pe[xe]||pe["@@iterator"],ke=typeof ke=="function"?ke:null),ke&&(ke=ke.call(pe))){if(pe=ke.next(),!pe.done){var ut=[];do ut.push(pe.value),pe=ke.next();while(!pe.done);jt(F,Z,ut)}return}throw F=Object.prototype.toString.call(pe),Error(t(31,F==="[object Object]"?"object with keys {"+Object.keys(pe).join(", ")+"}":F))}typeof pe=="string"?(Z=Z.blockedSegment.chunks,F.responseState.generateStaticMarkup?Z.push(_(pe)):P(Z,pe)):typeof pe=="number"&&(Z=Z.blockedSegment.chunks,pe=""+pe,F.responseState.generateStaticMarkup?Z.push(_(pe)):P(Z,pe))}function jt(F,Z,pe){for(var ke=pe.length,ut=0;ut<ke;ut++){var Qe=Z.treeContext;Z.treeContext=vt(Qe,ke,ut);try{gt(F,Z,pe[ut])}finally{Z.treeContext=Qe}}}function gt(F,Z,pe){var ke=Z.blockedSegment.formatContext,ut=Z.legacyContext,Qe=Z.context;try{return zt(F,Z,pe)}catch(Ut){if(Bn(),typeof Ut=="object"&&Ut!==null&&typeof Ut.then=="function"){pe=Ut;var Tt=Z.blockedSegment,$t=ct(F,Tt.chunks.length,null,Tt.formatContext);Tt.children.push($t),F=At(F,Z.node,Z.blockedBoundary,$t,Z.abortSet,Z.legacyContext,Z.context,Z.treeContext).ping,pe.then(F,F),Z.blockedSegment.formatContext=ke,Z.legacyContext=ut,Z.context=Qe,Dt(Qe)}else throw Z.blockedSegment.formatContext=ke,Z.legacyContext=ut,Z.context=Qe,Dt(Qe),Ut}}function dr(F){var Z=F.blockedBoundary;F=F.blockedSegment,F.status=3,Rt(this,Z,F)}function Nr(F){var Z=F.blockedBoundary;F.blockedSegment.status=3,Z===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,Z.parentFlushed&&this.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(Nr,this),Z.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(F=this.onAllReady,F()))}function mn(F,Z){if(Z.chunks.length===0&&Z.children.length===1&&Z.children[0].boundary===null){var pe=Z.children[0];pe.id=Z.id,pe.parentFlushed=!0,pe.status===1&&mn(F,pe)}else F.completedSegments.push(Z)}function Rt(F,Z,pe){if(Z===null){if(pe.parentFlushed){if(F.completedRootSegment!==null)throw Error(t(389));F.completedRootSegment=pe}F.pendingRootTasks--,F.pendingRootTasks===0&&(F.onShellError=Ii,Z=F.onShellReady,Z())}else Z.pendingTasks--,Z.forceClientRender||(Z.pendingTasks===0?(pe.parentFlushed&&pe.status===1&&mn(Z,pe),Z.parentFlushed&&F.completedBoundaries.push(Z),Z.fallbackAbortableTasks.forEach(dr,F),Z.fallbackAbortableTasks.clear()):pe.parentFlushed&&pe.status===1&&(mn(Z,pe),Z.completedSegments.length===1&&Z.parentFlushed&&F.partialBoundaries.push(Z)));F.allPendingTasks--,F.allPendingTasks===0&&(F=F.onAllReady,F())}function $r(F){if(F.status!==2){var Z=_e,pe=$n.current;$n.current=bi;var ke=gn;gn=F.responseState;try{var ut=F.pingedTasks,Qe;for(Qe=0;Qe<ut.length;Qe++){var Tt=ut[Qe],$t=F,Ut=Tt.blockedSegment;if(Ut.status===0){Dt(Tt.context);try{zt($t,Tt,Tt.node),Tt.abortSet.delete(Tt),Ut.status=1,Rt($t,Tt.blockedBoundary,Ut)}catch(gi){if(Bn(),typeof gi=="object"&&gi!==null&&typeof gi.then=="function"){var Dr=Tt.ping;gi.then(Dr,Dr)}else{Tt.abortSet.delete(Tt),Ut.status=4;var Or=Tt.blockedBoundary,Tn=gi;if(We($t,Tn),Or===null?oe($t,Tn):(Or.pendingTasks--,Or.forceClientRender||(Or.forceClientRender=!0,Or.parentFlushed&&$t.clientRenderedBoundaries.push(Or))),$t.allPendingTasks--,$t.allPendingTasks===0){var si=$t.onAllReady;si()}}}finally{}}}ut.splice(0,Qe),F.destination!==null&&ua(F,F.destination)}catch(gi){We(F,gi),oe(F,gi)}finally{gn=ke,$n.current=pe,pe===bi&&Dt(Z)}}}function Ln(F,Z,pe){switch(pe.parentFlushed=!0,pe.status){case 0:var ke=pe.id=F.nextSegmentId++;return F=F.responseState,n(Z,'<template id="'),n(Z,F.placeholderPrefix),F=ke.toString(16),n(Z,F),n(Z,'"></template>');case 1:pe.status=2;var ut=!0;ke=pe.chunks;var Qe=0;pe=pe.children;for(var Tt=0;Tt<pe.length;Tt++){for(ut=pe[Tt];Qe<ut.index;Qe++)n(Z,ke[Qe]);ut=bn(F,Z,ut)}for(;Qe<ke.length-1;Qe++)n(Z,ke[Qe]);return Qe<ke.length&&(ut=n(Z,ke[Qe])),ut;default:throw Error(t(390))}}function bn(F,Z,pe){var ke=pe.boundary;if(ke===null)return Ln(F,Z,pe);if(ke.parentFlushed=!0,ke.forceClientRender)return F.responseState.generateStaticMarkup||n(Z,"<!--$!-->"),Ln(F,Z,pe),F=F.responseState.generateStaticMarkup?!0:n(Z,"<!--/$-->"),F;if(0<ke.pendingTasks){ke.rootSegmentID=F.nextSegmentId++,0<ke.completedSegments.length&&F.partialBoundaries.push(ke);var ut=F.responseState,Qe=ut.nextSuspenseID++;return ut=ut.boundaryPrefix+Qe.toString(16),ke=ke.id=ut,de(Z,F.responseState,ke),Ln(F,Z,pe),n(Z,"<!--/$-->")}if(ke.byteSize>F.progressiveChunkSize)return ke.rootSegmentID=F.nextSegmentId++,F.completedBoundaries.push(ke),de(Z,F.responseState,ke.id),Ln(F,Z,pe),n(Z,"<!--/$-->");if(F.responseState.generateStaticMarkup||n(Z,"<!--$-->"),pe=ke.completedSegments,pe.length!==1)throw Error(t(391));return bn(F,Z,pe[0]),F=F.responseState.generateStaticMarkup?!0:n(Z,"<!--/$-->"),F}function uo(F,Z,pe){return G(Z,F.responseState,pe.formatContext,pe.id),bn(F,Z,pe),ee(Z,pe.formatContext)}function Hn(F,Z,pe){for(var ke=pe.completedSegments,ut=0;ut<ke.length;ut++)Ni(F,Z,pe,ke[ut]);if(ke.length=0,F=F.responseState,ke=pe.id,pe=pe.rootSegmentID,n(Z,F.startInlineScript),F.sentCompleteBoundaryFunction?n(Z,'$RC("'):(F.sentCompleteBoundaryFunction=!0,n(Z,'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("')),ke===null)throw Error(t(395));return pe=pe.toString(16),n(Z,ke),n(Z,'","'),n(Z,F.segmentPrefix),n(Z,pe),n(Z,'")<\/script>')}function Ni(F,Z,pe,ke){if(ke.status===2)return!0;var ut=ke.id;if(ut===-1){if((ke.id=pe.rootSegmentID)===-1)throw Error(t(392));return uo(F,Z,ke)}return uo(F,Z,ke),F=F.responseState,n(Z,F.startInlineScript),F.sentCompleteSegmentFunction?n(Z,'$RS("'):(F.sentCompleteSegmentFunction=!0,n(Z,'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(Z,F.segmentPrefix),ut=ut.toString(16),n(Z,ut),n(Z,'","'),n(Z,F.placeholderPrefix),n(Z,ut),n(Z,'")<\/script>')}function ua(F,Z){try{var pe=F.completedRootSegment;if(pe!==null&&F.pendingRootTasks===0){bn(F,Z,pe),F.completedRootSegment=null;var ke=F.responseState.bootstrapChunks;for(pe=0;pe<ke.length-1;pe++)n(Z,ke[pe]);pe<ke.length&&n(Z,ke[pe])}var ut=F.clientRenderedBoundaries,Qe;for(Qe=0;Qe<ut.length;Qe++){ke=Z;var Tt=F.responseState,$t=ut[Qe].id;if(n(ke,Tt.startInlineScript),Tt.sentClientRenderFunction?n(ke,'$RX("'):(Tt.sentClientRenderFunction=!0,n(ke,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),$t===null)throw Error(t(395));if(n(ke,$t),!n(ke,'")<\/script>')){F.destination=null,Qe++,ut.splice(0,Qe);return}}ut.splice(0,Qe);var Ut=F.completedBoundaries;for(Qe=0;Qe<Ut.length;Qe++)if(!Hn(F,Z,Ut[Qe])){F.destination=null,Qe++,Ut.splice(0,Qe);return}Ut.splice(0,Qe);var Dr=F.partialBoundaries;for(Qe=0;Qe<Dr.length;Qe++){var Or=Dr[Qe];e:{ut=F,Tt=Z;var Tn=Or.completedSegments;for($t=0;$t<Tn.length;$t++)if(!Ni(ut,Tt,Or,Tn[$t])){$t++,Tn.splice(0,$t);var si=!1;break e}Tn.splice(0,$t),si=!0}if(!si){F.destination=null,Qe++,Dr.splice(0,Qe);return}}Dr.splice(0,Qe);var gi=F.completedBoundaries;for(Qe=0;Qe<gi.length;Qe++)if(!Hn(F,Z,gi[Qe])){F.destination=null,Qe++,gi.splice(0,Qe);return}gi.splice(0,Qe)}finally{F.allPendingTasks===0&&F.pingedTasks.length===0&&F.clientRenderedBoundaries.length===0&&F.completedBoundaries.length===0&&Z.push(null)}}function Lo(F){try{var Z=F.abortableTasks;Z.forEach(Nr,F),Z.clear(),F.destination!==null&&ua(F,F.destination)}catch(pe){We(F,pe),oe(F,pe)}}function ja(){}function Sa(F,Z,pe){var ke=!1,ut=null,Qe="",Tt={push:function(Ut){return Ut!==null&&(Qe+=Ut),!0},destroy:function(Ut){ke=!0,ut=Ut}},$t=!1;if(F=et(F,z(pe,Z?Z.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ja,void 0,function(){$t=!0}),$r(F),Lo(F),F.status===1)F.status=2,Tt.destroy(F.fatalError);else if(F.status!==2&&F.destination===null){F.destination=Tt;try{ua(F,Tt)}catch(Ut){We(F,Ut),oe(F,Ut)}}if(ke)throw ut;if(!$t)throw Error(t(426));return Qe}return xl.renderToNodeStream=function(){throw Error(t(207))},xl.renderToStaticMarkup=function(F,Z){return Sa(F,Z,!0)},xl.renderToStaticNodeStream=function(){throw Error(t(208))},xl.renderToString=function(F,Z){return Sa(F,Z,!1)},xl.version="18.1.0",xl}var Fv={};/**
129
+ * @license React
130
+ * react-dom-server.browser.production.min.js
131
+ *
132
+ * Copyright (c) Facebook, Inc. and its affiliates.
133
+ *
134
+ * This source code is licensed under the MIT license found in the
135
+ * LICENSE file in the root directory of this source tree.
136
+ */var FK;function B1e(){if(FK)return Fv;FK=1;var e=xc();function t(j){for(var J="https://reactjs.org/docs/error-decoder.html?invariant="+j,le=1;le<arguments.length;le++)J+="&args[]="+encodeURIComponent(arguments[le]);return"Minified React error #"+j+"; visit "+J+" 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(j,J){if(J.length!==0)if(512<J.length)0<n&&(j.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),j.enqueue(J);else{var le=r.length-n;le<J.length&&(le===0?j.enqueue(r):(r.set(J.subarray(0,le),n),j.enqueue(r),J=J.subarray(le)),r=new Uint8Array(512),n=0),r.set(J,n),n+=J.length}}function o(j,J){return i(j,J),!0}function a(j){r&&0<n&&(j.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var u=new TextEncoder;function l(j){return u.encode(j)}function f(j){return u.encode(j)}function d(j,J){typeof j.error=="function"?j.error(J):j.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]*$/,m={},S={};function E(j){return h.call(S,j)?!0:h.call(m,j)?!1:p.test(j)?S[j]=!0:(m[j]=!0,!1)}function _(j,J,le,Ce,He,ze,wt){this.acceptsBooleans=J===2||J===3||J===4,this.attributeName=Ce,this.attributeNamespace=He,this.mustUseProperty=le,this.propertyName=j,this.type=J,this.sanitizeURL=ze,this.removeEmptyString=wt}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(j){w[j]=new _(j,0,!1,j,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(j){var J=j[0];w[J]=new _(J,1,!1,j[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(j){w[j]=new _(j,2,!1,j.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(j){w[j]=new _(j,2,!1,j,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(j){w[j]=new _(j,3,!1,j.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(j){w[j]=new _(j,3,!0,j,null,!1,!1)}),["capture","download"].forEach(function(j){w[j]=new _(j,4,!1,j,null,!1,!1)}),["cols","rows","size","span"].forEach(function(j){w[j]=new _(j,6,!1,j,null,!1,!1)}),["rowSpan","start"].forEach(function(j){w[j]=new _(j,5,!1,j.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function C(j){return j[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(j){var J=j.replace(T,C);w[J]=new _(J,1,!1,j,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(j){var J=j.replace(T,C);w[J]=new _(J,1,!1,j,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(j){var J=j.replace(T,C);w[J]=new _(J,1,!1,j,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(j){w[j]=new _(j,1,!1,j.toLowerCase(),null,!1,!1)}),w.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(j){w[j]=new _(j,1,!1,j.toLowerCase(),null,!0,!0)});var x={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},R=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(j){R.forEach(function(J){J=J+j.charAt(0).toUpperCase()+j.substring(1),x[J]=x[j]})});var P=/["'&<>]/;function y(j){if(typeof j=="boolean"||typeof j=="number")return""+j;j=""+j;var J=P.exec(j);if(J){var le="",Ce,He=0;for(Ce=J.index;Ce<j.length;Ce++){switch(j.charCodeAt(Ce)){case 34:J="&quot;";break;case 38:J="&amp;";break;case 39:J="&#x27;";break;case 60:J="&lt;";break;case 62:J="&gt;";break;default:continue}He!==Ce&&(le+=j.substring(He,Ce)),He=Ce+1,le+=J}j=He!==Ce?le+j.substring(He,Ce):le}return j}var N=/([A-Z])/g,$=/^ms-/,H=Array.isArray,B=f("<script>"),W=f("<\/script>"),Y=f('<script src="'),Q=f('<script type="module" src="'),ne=f('" async=""><\/script>'),re=/(<\/|<)(s)(cript)/gi;function de(j,J,le,Ce){return""+J+(le==="s"?"\\u0073":"\\u0053")+Ce}function G(j,J,le,Ce,He){j=j===void 0?"":j,J=J===void 0?B:f('<script nonce="'+y(J)+'">');var ze=[];if(le!==void 0&&ze.push(J,l((""+le).replace(re,de)),W),Ce!==void 0)for(le=0;le<Ce.length;le++)ze.push(Y,l(y(Ce[le])),ne);if(He!==void 0)for(Ce=0;Ce<He.length;Ce++)ze.push(Q,l(y(He[Ce])),ne);return{bootstrapChunks:ze,startInlineScript:J,placeholderPrefix:f(j+"P:"),segmentPrefix:f(j+"S:"),boundaryPrefix:j+"B:",idPrefix:j,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ee(j,J){return{insertionMode:j,selectedValue:J}}function z(j){return ee(j==="http://www.w3.org/2000/svg"?2:j==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ue(j,J,le){switch(J){case"select":return ee(1,le.value!=null?le.value:le.defaultValue);case"svg":return ee(2,null);case"math":return ee(3,null);case"foreignObject":return ee(1,null);case"table":return ee(4,null);case"thead":case"tbody":case"tfoot":return ee(5,null);case"colgroup":return ee(7,null);case"tr":return ee(6,null)}return 4<=j.insertionMode||j.insertionMode===0?ee(1,null):j}var Ee=f("<!-- -->"),Oe=new Map,$e=f(' style="'),Ve=f(":"),ae=f(";");function O(j,J,le){if(typeof le!="object")throw Error(t(62));J=!0;for(var Ce in le)if(h.call(le,Ce)){var He=le[Ce];if(He!=null&&typeof He!="boolean"&&He!==""){if(Ce.indexOf("--")===0){var ze=l(y(Ce));He=l(y((""+He).trim()))}else{ze=Ce;var wt=Oe.get(ze);wt!==void 0||(wt=f(y(ze.replace(N,"-$1").toLowerCase().replace($,"-ms-"))),Oe.set(ze,wt)),ze=wt,He=typeof He=="number"?He===0||h.call(x,Ce)?l(""+He):l(He+"px"):l(y((""+He).trim()))}J?(J=!1,j.push($e,ze,Ve,He)):j.push(ae,ze,Ve,He)}}J||j.push(k)}var I=f(" "),M=f('="'),k=f('"'),U=f('=""');function K(j,J,le,Ce){switch(le){case"style":O(j,J,Ce);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<le.length)||le[0]!=="o"&&le[0]!=="O"||le[1]!=="n"&&le[1]!=="N"){if(J=w.hasOwnProperty(le)?w[le]:null,J!==null){switch(typeof Ce){case"function":case"symbol":return;case"boolean":if(!J.acceptsBooleans)return}switch(le=l(J.attributeName),J.type){case 3:Ce&&j.push(I,le,U);break;case 4:Ce===!0?j.push(I,le,U):Ce!==!1&&j.push(I,le,M,l(y(Ce)),k);break;case 5:isNaN(Ce)||j.push(I,le,M,l(y(Ce)),k);break;case 6:!isNaN(Ce)&&1<=Ce&&j.push(I,le,M,l(y(Ce)),k);break;default:J.sanitizeURL&&(Ce=""+Ce),j.push(I,le,M,l(y(Ce)),k)}}else if(E(le)){switch(typeof Ce){case"function":case"symbol":return;case"boolean":if(J=le.toLowerCase().slice(0,5),J!=="data-"&&J!=="aria-")return}j.push(I,l(le),M,l(y(Ce)),k)}}}var ie=f(">"),ye=f("/>");function ve(j,J,le){if(J!=null){if(le!=null)throw Error(t(60));if(typeof J!="object"||!("__html"in J))throw Error(t(61));J=J.__html,J!=null&&j.push(l(""+J))}}function Re(j){var J="";return e.Children.forEach(j,function(le){le!=null&&(J+=le)}),J}var Se=f(' selected=""');function xe(j,J,le,Ce){j.push(_e(le));var He=le=null,ze;for(ze in J)if(h.call(J,ze)){var wt=J[ze];if(wt!=null)switch(ze){case"children":le=wt;break;case"dangerouslySetInnerHTML":He=wt;break;default:K(j,Ce,ze,wt)}}return j.push(ie),ve(j,He,le),typeof le=="string"?(j.push(l(y(le))),null):le}var De=f(`
137
+ `),he=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,me=new Map;function _e(j){var J=me.get(j);if(J===void 0){if(!he.test(j))throw Error(t(65,j));J=f("<"+j),me.set(j,J)}return J}var Le=f("<!DOCTYPE html>");function Me(j,J,le,Ce,He){switch(J){case"select":j.push(_e("select"));var ze=null,wt=null;for(pr in le)if(h.call(le,pr)){var Mt=le[pr];if(Mt!=null)switch(pr){case"children":ze=Mt;break;case"dangerouslySetInnerHTML":wt=Mt;break;case"defaultValue":case"value":break;default:K(j,Ce,pr,Mt)}}return j.push(ie),ve(j,wt,ze),ze;case"option":wt=He.selectedValue,j.push(_e("option"));var ar=Mt=null,Rr=null,pr=null;for(ze in le)if(h.call(le,ze)&&(J=le[ze],J!=null))switch(ze){case"children":Mt=J;break;case"selected":Rr=J;break;case"dangerouslySetInnerHTML":pr=J;break;case"value":ar=J;default:K(j,Ce,ze,J)}if(wt!=null)if(le=ar!==null?""+ar:Re(Mt),H(wt)){for(Ce=0;Ce<wt.length;Ce++)if(""+wt[Ce]===le){j.push(Se);break}}else""+wt===le&&j.push(Se);else Rr&&j.push(Se);return j.push(ie),ve(j,pr,Mt),Mt;case"textarea":j.push(_e("textarea")),pr=wt=ze=null;for(Mt in le)if(h.call(le,Mt)&&(ar=le[Mt],ar!=null))switch(Mt){case"children":pr=ar;break;case"value":ze=ar;break;case"defaultValue":wt=ar;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:K(j,Ce,Mt,ar)}if(ze===null&&wt!==null&&(ze=wt),j.push(ie),pr!=null){if(ze!=null)throw Error(t(92));if(H(pr)&&1<pr.length)throw Error(t(93));ze=""+pr}return typeof ze=="string"&&ze[0]===`
138
+ `&&j.push(De),ze!==null&&j.push(l(y(""+ze))),null;case"input":j.push(_e("input")),ar=pr=Mt=ze=null;for(wt in le)if(h.call(le,wt)&&(Rr=le[wt],Rr!=null))switch(wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ar=Rr;break;case"defaultValue":Mt=Rr;break;case"checked":pr=Rr;break;case"value":ze=Rr;break;default:K(j,Ce,wt,Rr)}return pr!==null?K(j,Ce,"checked",pr):ar!==null&&K(j,Ce,"checked",ar),ze!==null?K(j,Ce,"value",ze):Mt!==null&&K(j,Ce,"value",Mt),j.push(ye),null;case"menuitem":j.push(_e("menuitem"));for(var yn in le)if(h.call(le,yn)&&(ze=le[yn],ze!=null))switch(yn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:K(j,Ce,yn,ze)}return j.push(ie),null;case"listing":case"pre":j.push(_e(J)),wt=ze=null;for(ar in le)if(h.call(le,ar)&&(Mt=le[ar],Mt!=null))switch(ar){case"children":ze=Mt;break;case"dangerouslySetInnerHTML":wt=Mt;break;default:K(j,Ce,ar,Mt)}if(j.push(ie),wt!=null){if(ze!=null)throw Error(t(60));if(typeof wt!="object"||!("__html"in wt))throw Error(t(61));le=wt.__html,le!=null&&(typeof le=="string"&&0<le.length&&le[0]===`
139
+ `?j.push(De,l(le)):j.push(l(""+le)))}return typeof ze=="string"&&ze[0]===`
140
+ `&&j.push(De),ze;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":j.push(_e(J));for(var Xn in le)if(h.call(le,Xn)&&(ze=le[Xn],ze!=null))switch(Xn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,J));default:K(j,Ce,Xn,ze)}return j.push(ye),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 xe(j,le,J,Ce);case"html":return He.insertionMode===0&&j.push(Le),xe(j,le,J,Ce);default:if(J.indexOf("-")===-1&&typeof le.is!="string")return xe(j,le,J,Ce);j.push(_e(J)),wt=ze=null;for(Rr in le)if(h.call(le,Rr)&&(Mt=le[Rr],Mt!=null))switch(Rr){case"children":ze=Mt;break;case"dangerouslySetInnerHTML":wt=Mt;break;case"style":O(j,Ce,Mt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(Rr)&&typeof Mt!="function"&&typeof Mt!="symbol"&&j.push(I,l(Rr),M,l(y(Mt)),k)}return j.push(ie),ve(j,wt,ze),ze}}var Ne=f("</"),Ge=f(">"),it=f('<template id="'),Dt=f('"></template>'),rr=f("<!--$-->"),Ke=f('<!--$?--><template id="'),_t=f('"></template>'),vt=f("<!--$!-->"),rt=f("<!--/$-->");function ot(j,J,le){if(i(j,Ke),le===null)throw Error(t(395));return i(j,le),o(j,_t)}var ht=f('<div hidden id="'),Ht=f('">'),Ct=f("</div>"),be=f('<svg aria-hidden="true" style="display:none" id="'),Xe=f('">'),at=f("</svg>"),mt=f('<math aria-hidden="true" style="display:none" id="'),xt=f('">'),Xt=f("</math>"),or=f('<table hidden id="'),Kt=f('">'),lr=f("</table>"),Tr=f('<table hidden><tbody id="'),Br=f('">'),In=f("</tbody></table>"),Dn=f('<table hidden><tr id="'),Bn=f('">'),vn=f("</tr></table>"),Vn=f('<table hidden><colgroup id="'),ai=f('">'),oi=f("</colgroup></table>");function Kn(j,J,le,Ce){switch(le.insertionMode){case 0:case 1:return i(j,ht),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,Ht);case 2:return i(j,be),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,Xe);case 3:return i(j,mt),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,xt);case 4:return i(j,or),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,Kt);case 5:return i(j,Tr),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,Br);case 6:return i(j,Dn),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,Bn);case 7:return i(j,Vn),i(j,J.segmentPrefix),i(j,l(Ce.toString(16))),o(j,ai);default:throw Error(t(397))}}function wi(j,J){switch(J.insertionMode){case 0:case 1:return o(j,Ct);case 2:return o(j,at);case 3:return o(j,Xt);case 4:return o(j,lr);case 5:return o(j,In);case 6:return o(j,vn);case 7:return o(j,oi);default:throw Error(t(397))}}var bi=f('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("'),gn=f('$RS("'),$n=f('","'),vi=f('")<\/script>'),Ii=f('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("'),et=f('$RC("'),At=f('","'),ct=f('")<\/script>'),We=f('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),oe=f('$RX("'),Je=f('")<\/script>'),Ue=Object.assign,yt=Symbol.for("react.element"),ft=Symbol.for("react.portal"),zt=Symbol.for("react.fragment"),jt=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),dr=Symbol.for("react.provider"),Nr=Symbol.for("react.context"),mn=Symbol.for("react.forward_ref"),Rt=Symbol.for("react.suspense"),$r=Symbol.for("react.suspense_list"),Ln=Symbol.for("react.memo"),bn=Symbol.for("react.lazy"),uo=Symbol.for("react.scope"),Hn=Symbol.for("react.debug_trace_mode"),Ni=Symbol.for("react.legacy_hidden"),ua=Symbol.for("react.default_value"),Lo=Symbol.iterator;function ja(j){if(j==null)return null;if(typeof j=="function")return j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case zt:return"Fragment";case ft:return"Portal";case gt:return"Profiler";case jt:return"StrictMode";case Rt:return"Suspense";case $r:return"SuspenseList"}if(typeof j=="object")switch(j.$$typeof){case Nr:return(j.displayName||"Context")+".Consumer";case dr:return(j._context.displayName||"Context")+".Provider";case mn:var J=j.render;return j=j.displayName,j||(j=J.displayName||J.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case Ln:return J=j.displayName||null,J!==null?J:ja(j.type)||"Memo";case bn:J=j._payload,j=j._init;try{return ja(j(J))}catch{}}return null}var Sa={};function F(j,J){if(j=j.contextTypes,!j)return Sa;var le={},Ce;for(Ce in j)le[Ce]=J[Ce];return le}var Z=null;function pe(j,J){if(j!==J){j.context._currentValue=j.parentValue,j=j.parent;var le=J.parent;if(j===null){if(le!==null)throw Error(t(401))}else{if(le===null)throw Error(t(401));pe(j,le)}J.context._currentValue=J.value}}function ke(j){j.context._currentValue=j.parentValue,j=j.parent,j!==null&&ke(j)}function ut(j){var J=j.parent;J!==null&&ut(J),j.context._currentValue=j.value}function Qe(j,J){if(j.context._currentValue=j.parentValue,j=j.parent,j===null)throw Error(t(402));j.depth===J.depth?pe(j,J):Qe(j,J)}function Tt(j,J){var le=J.parent;if(le===null)throw Error(t(402));j.depth===le.depth?pe(j,le):Tt(j,le),J.context._currentValue=J.value}function $t(j){var J=Z;J!==j&&(J===null?ut(j):j===null?ke(J):J.depth===j.depth?pe(J,j):J.depth>j.depth?Qe(J,j):Tt(J,j),Z=j)}var Ut={isMounted:function(){return!1},enqueueSetState:function(j,J){j=j._reactInternals,j.queue!==null&&j.queue.push(J)},enqueueReplaceState:function(j,J){j=j._reactInternals,j.replace=!0,j.queue=[J]},enqueueForceUpdate:function(){}};function Dr(j,J,le,Ce){var He=j.state!==void 0?j.state:null;j.updater=Ut,j.props=le,j.state=He;var ze={queue:[],replace:!1};j._reactInternals=ze;var wt=J.contextType;if(j.context=typeof wt=="object"&&wt!==null?wt._currentValue:Ce,wt=J.getDerivedStateFromProps,typeof wt=="function"&&(wt=wt(le,He),He=wt==null?He:Ue({},He,wt),j.state=He),typeof J.getDerivedStateFromProps!="function"&&typeof j.getSnapshotBeforeUpdate!="function"&&(typeof j.UNSAFE_componentWillMount=="function"||typeof j.componentWillMount=="function"))if(J=j.state,typeof j.componentWillMount=="function"&&j.componentWillMount(),typeof j.UNSAFE_componentWillMount=="function"&&j.UNSAFE_componentWillMount(),J!==j.state&&Ut.enqueueReplaceState(j,j.state,null),ze.queue!==null&&0<ze.queue.length)if(J=ze.queue,wt=ze.replace,ze.queue=null,ze.replace=!1,wt&&J.length===1)j.state=J[0];else{for(ze=wt?J[0]:j.state,He=!0,wt=wt?1:0;wt<J.length;wt++){var Mt=J[wt];Mt=typeof Mt=="function"?Mt.call(j,ze,le,Ce):Mt,Mt!=null&&(He?(He=!1,ze=Ue({},ze,Mt)):Ue(ze,Mt))}j.state=ze}else ze.queue=null}var Or={id:1,overflow:""};function Tn(j,J,le){var Ce=j.id;j=j.overflow;var He=32-si(Ce)-1;Ce&=~(1<<He),le+=1;var ze=32-si(J)+He;if(30<ze){var wt=He-He%5;return ze=(Ce&(1<<wt)-1).toString(32),Ce>>=wt,He-=wt,{id:1<<32-si(J)+He|le<<He|Ce,overflow:ze+j}}return{id:1<<ze|le<<He|Ce,overflow:j}}var si=Math.clz32?Math.clz32:_u,gi=Math.log,es=Math.LN2;function _u(j){return j>>>=0,j===0?32:31-(gi(j)/es|0)|0}function ts(j,J){return j===J&&(j!==0||1/j===1/J)||j!==j&&J!==J}var Ua=typeof Object.is=="function"?Object.is:ts,ui=null,wa=null,qa=null,Zr=null,Ki=!1,rs=!1,ns=0,Yi=null,Eu=0;function lo(){if(ui===null)throw Error(t(321));return ui}function Ps(){if(0<Eu)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Su(){return Zr===null?qa===null?(Ki=!1,qa=Zr=Ps()):(Ki=!0,Zr=qa):Zr.next===null?(Ki=!1,Zr=Zr.next=Ps()):(Ki=!0,Zr=Zr.next),Zr}function fl(){wa=ui=null,rs=!1,qa=null,Eu=0,Zr=Yi=null}function No(j,J){return typeof J=="function"?J(j):J}function co(j,J,le){if(ui=lo(),Zr=Su(),Ki){var Ce=Zr.queue;if(J=Ce.dispatch,Yi!==null&&(le=Yi.get(Ce),le!==void 0)){Yi.delete(Ce),Ce=Zr.memoizedState;do Ce=j(Ce,le.action),le=le.next;while(le!==null);return Zr.memoizedState=Ce,[Ce,J]}return[Zr.memoizedState,J]}return j=j===No?typeof J=="function"?J():J:le!==void 0?le(J):J,Zr.memoizedState=j,j=Zr.queue={last:null,dispatch:null},j=j.dispatch=is.bind(null,ui,j),[Zr.memoizedState,j]}function fo(j,J){if(ui=lo(),Zr=Su(),J=J===void 0?null:J,Zr!==null){var le=Zr.memoizedState;if(le!==null&&J!==null){var Ce=le[1];e:if(Ce===null)Ce=!1;else{for(var He=0;He<Ce.length&&He<J.length;He++)if(!Ua(J[He],Ce[He])){Ce=!1;break e}Ce=!0}if(Ce)return le[0]}}return j=j(),Zr.memoizedState=[j,J],j}function is(j,J,le){if(25<=Eu)throw Error(t(301));if(j===ui)if(rs=!0,j={action:le,next:null},Yi===null&&(Yi=new Map),le=Yi.get(J),le===void 0)Yi.set(J,j);else{for(J=le;J.next!==null;)J=J.next;J.next=j}}function Nc(){throw Error(t(394))}function ks(){}var as={readContext:function(j){return j._currentValue},useContext:function(j){return lo(),j._currentValue},useMemo:fo,useReducer:co,useRef:function(j){ui=lo(),Zr=Su();var J=Zr.memoizedState;return J===null?(j={current:j},Zr.memoizedState=j):J},useState:function(j){return co(No,j)},useInsertionEffect:ks,useLayoutEffect:function(){},useCallback:function(j,J){return fo(function(){return j},J)},useImperativeHandle:ks,useEffect:ks,useDebugValue:ks,useDeferredValue:function(j){return lo(),j},useTransition:function(){return lo(),[!1,Nc]},useId:function(){var j=wa.treeContext,J=j.overflow;j=j.id,j=(j&~(1<<32-si(j)-1)).toString(32)+J;var le=Mo;if(le===null)throw Error(t(404));return J=ns++,j=":"+le.idPrefix+"R"+j,0<J&&(j+="H"+J.toString(32)),j+":"},useMutableSource:function(j,J){return lo(),J(j._source)},useSyncExternalStore:function(j,J,le){if(le===void 0)throw Error(t(407));return le()}},Mo=null,Ds=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Mc(j){console.error(j)}function mi(){}function wu(j,J,le,Ce,He,ze,wt,Mt,ar){var Rr=[],pr=new Set;return J={destination:null,responseState:J,progressiveChunkSize:Ce===void 0?12800:Ce,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:pr,pingedTasks:Rr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:He===void 0?Mc:He,onAllReady:ze===void 0?mi:ze,onShellReady:wt===void 0?mi:wt,onShellError:Mt===void 0?mi:Mt,onFatalError:ar===void 0?mi:ar},le=Ls(J,0,null,le),le.parentFlushed=!0,j=ho(J,j,null,le,pr,Sa,null,Or),Rr.push(j),J}function ho(j,J,le,Ce,He,ze,wt,Mt){j.allPendingTasks++,le===null?j.pendingRootTasks++:le.pendingTasks++;var ar={node:J,ping:function(){var Rr=j.pingedTasks;Rr.push(ar),Rr.length===1&&Et(j)},blockedBoundary:le,blockedSegment:Ce,abortSet:He,legacyContext:ze,context:wt,treeContext:Mt};return He.add(ar),ar}function Ls(j,J,le,Ce){return{status:0,id:-1,index:J,parentFlushed:!1,chunks:[],children:[],formatContext:Ce,boundary:le}}function po(j,J){j=j.onError,j(J)}function $o(j,J){var le=j.onShellError;le(J),le=j.onFatalError,le(J),j.destination!==null?(j.status=2,d(j.destination,J)):(j.status=1,j.fatalError=J)}function g(j,J,le,Ce,He){for(ui={},wa=J,ns=0,j=le(Ce,He);rs;)rs=!1,ns=0,Eu+=1,Zr=null,j=le(Ce,He);return fl(),j}function A(j,J,le,Ce){var He=le.render(),ze=Ce.childContextTypes;if(ze!=null){var wt=J.legacyContext;if(typeof le.getChildContext!="function")Ce=wt;else{le=le.getChildContext();for(var Mt in le)if(!(Mt in ze))throw Error(t(108,ja(Ce)||"Unknown",Mt));Ce=Ue({},wt,le)}J.legacyContext=Ce,X(j,J,He),J.legacyContext=wt}else X(j,J,He)}function D(j,J){if(j&&j.defaultProps){J=Ue({},J),j=j.defaultProps;for(var le in j)J[le]===void 0&&(J[le]=j[le]);return J}return J}function q(j,J,le,Ce,He){if(typeof le=="function")if(le.prototype&&le.prototype.isReactComponent){He=F(le,J.legacyContext);var ze=le.contextType;ze=new le(Ce,typeof ze=="object"&&ze!==null?ze._currentValue:He),Dr(ze,le,Ce,He),A(j,J,ze,le)}else{ze=F(le,J.legacyContext),He=g(j,J,le,Ce,ze);var wt=ns!==0;if(typeof He=="object"&&He!==null&&typeof He.render=="function"&&He.$$typeof===void 0)Dr(He,le,Ce,ze),A(j,J,He,le);else if(wt){Ce=J.treeContext,J.treeContext=Tn(Ce,1,0);try{X(j,J,He)}finally{J.treeContext=Ce}}else X(j,J,He)}else if(typeof le=="string")switch(He=J.blockedSegment,ze=Me(He.chunks,le,Ce,j.responseState,He.formatContext),wt=He.formatContext,He.formatContext=ue(wt,le,Ce),se(j,J,ze),He.formatContext=wt,le){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:He.chunks.push(Ne,l(le),Ge)}else{switch(le){case Ni:case Hn:case jt:case gt:case zt:X(j,J,Ce.children);return;case $r:X(j,J,Ce.children);return;case uo:throw Error(t(343));case Rt:e:{le=J.blockedBoundary,He=J.blockedSegment,ze=Ce.fallback,Ce=Ce.children,wt=new Set;var Mt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:wt},ar=Ls(j,He.chunks.length,Mt,He.formatContext);He.children.push(ar);var Rr=Ls(j,0,null,He.formatContext);Rr.parentFlushed=!0,J.blockedBoundary=Mt,J.blockedSegment=Rr;try{if(se(j,J,Ce),Rr.status=1,qe(Mt,Rr),Mt.pendingTasks===0)break e}catch(pr){Rr.status=4,po(j,pr),Mt.forceClientRender=!0}finally{J.blockedBoundary=le,J.blockedSegment=He}J=ho(j,ze,le,ar,wt,J.legacyContext,J.context,J.treeContext),j.pingedTasks.push(J)}return}if(typeof le=="object"&&le!==null)switch(le.$$typeof){case mn:if(Ce=g(j,J,le.render,Ce,He),ns!==0){le=J.treeContext,J.treeContext=Tn(le,1,0);try{X(j,J,Ce)}finally{J.treeContext=le}}else X(j,J,Ce);return;case Ln:le=le.type,Ce=D(le,Ce),q(j,J,le,Ce,He);return;case dr:if(He=Ce.children,le=le._context,Ce=Ce.value,ze=le._currentValue,le._currentValue=Ce,wt=Z,Z=Ce={parent:wt,depth:wt===null?0:wt.depth+1,context:le,parentValue:ze,value:Ce},J.context=Ce,X(j,J,He),j=Z,j===null)throw Error(t(403));Ce=j.parentValue,j.context._currentValue=Ce===ua?j.context._defaultValue:Ce,j=Z=j.parent,J.context=j;return;case Nr:Ce=Ce.children,Ce=Ce(le._currentValue),X(j,J,Ce);return;case bn:He=le._init,le=He(le._payload),Ce=D(le,Ce),q(j,J,le,Ce,void 0);return}throw Error(t(130,le==null?le:typeof le,""))}}function X(j,J,le){if(J.node=le,typeof le=="object"&&le!==null){switch(le.$$typeof){case yt:q(j,J,le.type,le.props,le.ref);return;case ft:throw Error(t(257));case bn:var Ce=le._init;le=Ce(le._payload),X(j,J,le);return}if(H(le)){te(j,J,le);return}if(le===null||typeof le!="object"?Ce=null:(Ce=Lo&&le[Lo]||le["@@iterator"],Ce=typeof Ce=="function"?Ce:null),Ce&&(Ce=Ce.call(le))){if(le=Ce.next(),!le.done){var He=[];do He.push(le.value),le=Ce.next();while(!le.done);te(j,J,He)}return}throw J=Object.prototype.toString.call(le),Error(t(31,J==="[object Object]"?"object with keys {"+Object.keys(le).join(", ")+"}":J))}typeof le=="string"?le!==""&&J.blockedSegment.chunks.push(l(y(le)),Ee):typeof le=="number"&&(j=""+le,j!==""&&J.blockedSegment.chunks.push(l(y(j)),Ee))}function te(j,J,le){for(var Ce=le.length,He=0;He<Ce;He++){var ze=J.treeContext;J.treeContext=Tn(ze,Ce,He);try{se(j,J,le[He])}finally{J.treeContext=ze}}}function se(j,J,le){var Ce=J.blockedSegment.formatContext,He=J.legacyContext,ze=J.context;try{return X(j,J,le)}catch(ar){if(fl(),typeof ar=="object"&&ar!==null&&typeof ar.then=="function"){le=ar;var wt=J.blockedSegment,Mt=Ls(j,wt.chunks.length,null,wt.formatContext);wt.children.push(Mt),j=ho(j,J.node,J.blockedBoundary,Mt,J.abortSet,J.legacyContext,J.context,J.treeContext).ping,le.then(j,j),J.blockedSegment.formatContext=Ce,J.legacyContext=He,J.context=ze,$t(ze)}else throw J.blockedSegment.formatContext=Ce,J.legacyContext=He,J.context=ze,$t(ze),ar}}function Pe(j){var J=j.blockedBoundary;j=j.blockedSegment,j.status=3,pt(this,J,j)}function Ae(j){var J=j.blockedBoundary;j.blockedSegment.status=3,J===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(J.pendingTasks--,J.forceClientRender||(J.forceClientRender=!0,J.parentFlushed&&this.clientRenderedBoundaries.push(J)),J.fallbackAbortableTasks.forEach(Ae,this),J.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(j=this.onAllReady,j()))}function qe(j,J){if(J.chunks.length===0&&J.children.length===1&&J.children[0].boundary===null){var le=J.children[0];le.id=J.id,le.parentFlushed=!0,le.status===1&&qe(j,le)}else j.completedSegments.push(J)}function pt(j,J,le){if(J===null){if(le.parentFlushed){if(j.completedRootSegment!==null)throw Error(t(389));j.completedRootSegment=le}j.pendingRootTasks--,j.pendingRootTasks===0&&(j.onShellError=mi,J=j.onShellReady,J())}else J.pendingTasks--,J.forceClientRender||(J.pendingTasks===0?(le.parentFlushed&&le.status===1&&qe(J,le),J.parentFlushed&&j.completedBoundaries.push(J),J.fallbackAbortableTasks.forEach(Pe,j),J.fallbackAbortableTasks.clear()):le.parentFlushed&&le.status===1&&(qe(J,le),J.completedSegments.length===1&&J.parentFlushed&&j.partialBoundaries.push(J)));j.allPendingTasks--,j.allPendingTasks===0&&(j=j.onAllReady,j())}function Et(j){if(j.status!==2){var J=Z,le=Ds.current;Ds.current=as;var Ce=Mo;Mo=j.responseState;try{var He=j.pingedTasks,ze;for(ze=0;ze<He.length;ze++){var wt=He[ze],Mt=j,ar=wt.blockedSegment;if(ar.status===0){$t(wt.context);try{X(Mt,wt,wt.node),wt.abortSet.delete(wt),ar.status=1,pt(Mt,wt.blockedBoundary,ar)}catch(Pn){if(fl(),typeof Pn=="object"&&Pn!==null&&typeof Pn.then=="function"){var Rr=wt.ping;Pn.then(Rr,Rr)}else{wt.abortSet.delete(wt),ar.status=4;var pr=wt.blockedBoundary,yn=Pn;if(po(Mt,yn),pr===null?$o(Mt,yn):(pr.pendingTasks--,pr.forceClientRender||(pr.forceClientRender=!0,pr.parentFlushed&&Mt.clientRenderedBoundaries.push(pr))),Mt.allPendingTasks--,Mt.allPendingTasks===0){var Xn=Mt.onAllReady;Xn()}}}finally{}}}He.splice(0,ze),j.destination!==null&&Yn(j,j.destination)}catch(Pn){po(j,Pn),$o(j,Pn)}finally{Mo=Ce,Ds.current=le,le===as&&$t(J)}}}function tt(j,J,le){switch(le.parentFlushed=!0,le.status){case 0:var Ce=le.id=j.nextSegmentId++;return j=j.responseState,i(J,it),i(J,j.placeholderPrefix),j=l(Ce.toString(16)),i(J,j),o(J,Dt);case 1:le.status=2;var He=!0;Ce=le.chunks;var ze=0;le=le.children;for(var wt=0;wt<le.length;wt++){for(He=le[wt];ze<He.index;ze++)i(J,Ce[ze]);He=Pt(j,J,He)}for(;ze<Ce.length-1;ze++)i(J,Ce[ze]);return ze<Ce.length&&(He=o(J,Ce[ze])),He;default:throw Error(t(390))}}function Pt(j,J,le){var Ce=le.boundary;if(Ce===null)return tt(j,J,le);if(Ce.parentFlushed=!0,Ce.forceClientRender)o(J,vt),tt(j,J,le);else if(0<Ce.pendingTasks){Ce.rootSegmentID=j.nextSegmentId++,0<Ce.completedSegments.length&&j.partialBoundaries.push(Ce);var He=j.responseState,ze=He.nextSuspenseID++;He=f(He.boundaryPrefix+ze.toString(16)),Ce=Ce.id=He,ot(J,j.responseState,Ce),tt(j,J,le)}else if(Ce.byteSize>j.progressiveChunkSize)Ce.rootSegmentID=j.nextSegmentId++,j.completedBoundaries.push(Ce),ot(J,j.responseState,Ce.id),tt(j,J,le);else{if(o(J,rr),le=Ce.completedSegments,le.length!==1)throw Error(t(391));Pt(j,J,le[0])}return o(J,rt)}function hr(j,J,le){return Kn(J,j.responseState,le.formatContext,le.id),Pt(j,J,le),wi(J,le.formatContext)}function Vr(j,J,le){for(var Ce=le.completedSegments,He=0;He<Ce.length;He++)Ir(j,J,le,Ce[He]);if(Ce.length=0,j=j.responseState,Ce=le.id,le=le.rootSegmentID,i(J,j.startInlineScript),j.sentCompleteBoundaryFunction?i(J,et):(j.sentCompleteBoundaryFunction=!0,i(J,Ii)),Ce===null)throw Error(t(395));return le=l(le.toString(16)),i(J,Ce),i(J,At),i(J,j.segmentPrefix),i(J,le),o(J,ct)}function Ir(j,J,le,Ce){if(Ce.status===2)return!0;var He=Ce.id;if(He===-1){if((Ce.id=le.rootSegmentID)===-1)throw Error(t(392));return hr(j,J,Ce)}return hr(j,J,Ce),j=j.responseState,i(J,j.startInlineScript),j.sentCompleteSegmentFunction?i(J,gn):(j.sentCompleteSegmentFunction=!0,i(J,bi)),i(J,j.segmentPrefix),He=l(He.toString(16)),i(J,He),i(J,$n),i(J,j.placeholderPrefix),i(J,He),o(J,vi)}function Yn(j,J){r=new Uint8Array(512),n=0;try{var le=j.completedRootSegment;if(le!==null&&j.pendingRootTasks===0){Pt(j,J,le),j.completedRootSegment=null;var Ce=j.responseState.bootstrapChunks;for(le=0;le<Ce.length-1;le++)i(J,Ce[le]);le<Ce.length&&o(J,Ce[le])}var He=j.clientRenderedBoundaries,ze;for(ze=0;ze<He.length;ze++){Ce=J;var wt=j.responseState,Mt=He[ze].id;if(i(Ce,wt.startInlineScript),wt.sentClientRenderFunction?i(Ce,oe):(wt.sentClientRenderFunction=!0,i(Ce,We)),Mt===null)throw Error(t(395));i(Ce,Mt),o(Ce,Je)}He.splice(0,ze);var ar=j.completedBoundaries;for(ze=0;ze<ar.length;ze++)Vr(j,J,ar[ze]);ar.splice(0,ze),a(J),r=new Uint8Array(512),n=0;var Rr=j.partialBoundaries;for(ze=0;ze<Rr.length;ze++){var pr=Rr[ze];e:{He=j,wt=J;var yn=pr.completedSegments;for(Mt=0;Mt<yn.length;Mt++)if(!Ir(He,wt,pr,yn[Mt])){Mt++,yn.splice(0,Mt);var Xn=!1;break e}yn.splice(0,Mt),Xn=!0}if(!Xn){j.destination=null,ze++,Rr.splice(0,ze);return}}Rr.splice(0,ze);var Pn=j.completedBoundaries;for(ze=0;ze<Pn.length;ze++)Vr(j,J,Pn[ze]);Pn.splice(0,ze)}finally{a(J),j.allPendingTasks===0&&j.pingedTasks.length===0&&j.clientRenderedBoundaries.length===0&&j.completedBoundaries.length===0&&J.close()}}function zn(j){try{var J=j.abortableTasks;J.forEach(Ae,j),J.clear(),j.destination!==null&&Yn(j,j.destination)}catch(le){po(j,le),$o(j,le)}}return Fv.renderToReadableStream=function(j,J){return new Promise(function(le,Ce){var He,ze,wt=new Promise(function(pr,yn){ze=pr,He=yn}),Mt=wu(j,G(J?J.identifierPrefix:void 0,J?J.nonce:void 0,J?J.bootstrapScriptContent:void 0,J?J.bootstrapScripts:void 0,J?J.bootstrapModules:void 0),z(J?J.namespaceURI:void 0),J?J.progressiveChunkSize:void 0,J?J.onError:void 0,ze,function(){var pr=new ReadableStream({type:"bytes",pull:function(yn){if(Mt.status===1)Mt.status=2,d(yn,Mt.fatalError);else if(Mt.status!==2&&Mt.destination===null){Mt.destination=yn;try{Yn(Mt,yn)}catch(Xn){po(Mt,Xn),$o(Mt,Xn)}}},cancel:function(){zn(Mt)}});pr.allReady=wt,le(pr)},function(pr){wt.catch(function(){}),Ce(pr)},He);if(J&&J.signal){var ar=J.signal,Rr=function(){zn(Mt),ar.removeEventListener("abort",Rr)};ar.addEventListener("abort",Rr)}Et(Mt)})},Fv.version="18.1.0",Fv}var jK;function V1e(){if(jK)return Fu;jK=1;var e,t;return e=q1e(),t=B1e(),Fu.version=e.version,Fu.renderToString=e.renderToString,Fu.renderToStaticMarkup=e.renderToStaticMarkup,Fu.renderToNodeStream=e.renderToNodeStream,Fu.renderToStaticNodeStream=e.renderToStaticNodeStream,Fu.renderToReadableStream=t.renderToReadableStream,Fu}var H1e=V1e();const z1e={getSvg(e){const t=e;return H1e.renderToStaticMarkup(ce.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},W1e="d-inline-block svg-container",G1e="span";var Qre=(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))(Qre||{});function el(e){const{svg:t,className:r=W1e,tagName:n=G1e,size:i="std",onClick:o,title:a,tooltipSpanHackClassName:u,tooltipPlacement:l="right",tooltipSpanHack:f=!1,tooltipShow:d}=e,h=n,p={className:`${r} ${i}`,onClick:Qa.isFunction(o)?o:null},m=t;return ce.jsx(Cf,{title:a,placement:l,spanHack:f,spanHackClassName:u,show:d,children:ce.jsx(h,{...p,children:ce.jsx(m,{...z1e.getCommonSvgProps()})})})}const K1e="_iconButton_1no8y_1",Y1e="_iconWithText_1no8y_5",X1e="_svg_1no8y_9",Q1e="_iconOnly_1no8y_21",J1e="_iconBorder_1no8y_30",Jd={iconButton:K1e,iconWithText:Y1e,svg:X1e,iconOnly:Q1e,iconBorder:J1e};function _C(e){let t=`${e.className} ${Jd.iconButton}`;ge.Children.toArray(e.children).length?t+=` ${Jd.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${Jd.iconOnly}`),e.showBorder&&(t+=` ${Jd.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=ce.jsx(el,{svg:e.svg,className:`svg-container ${Jd.svg}`,size:e.svgSize});function n(o){e.analyticsData&&e.analyticsOptions&&ga.logUserAction(e.analyticsData,e.analyticsOptions),Qa.isFunction(e.onClick)&&e.onClick(o)}function i(o){o.preventDefault(),e.analyticsData&&e.analyticsOptions&&ga.logUserAction(e.analyticsData,e.analyticsOptions),Qa.isFunction(e.onClick)&&e.onClick(o),En.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?ce.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?ce.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):ce.jsxs(Ja,{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 Z1e(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!Qa.isFunction(e.onClick)&&!e.disabled)return ce.jsx(Ja,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(Qa.isFunction(e.onClick)&&e.onClick(),e.appLink&&ni.trigger(e.appLink),ga.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?ce.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):ce.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return ce.jsx(_C,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const ebe="_image_12gb5_1",tbe="_small_12gb5_6",UK={image:ebe,small:tbe};Jre.defaultProps={size:"medium"};function Jre(e){return ce.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${UK.image} ${e.size==="small"?UK.small:""} ${e.className??""}`})}ms.defaultProps={className:"pt-5"};function ms(e){return ce.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}ms.Image=e=>ce.jsx(Jre,{...e});ms.Cta=e=>ce.jsx(Z1e,{...e});ms.Heading=e=>ce.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});ms.Info=e=>e.injectHtml?ce.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):ce.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});var dx,qK;function rbe(){if(qK)return dx;qK=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){if(o.constructor!==a.constructor)return!1;var u,l,f;if(Array.isArray(o)){if(u=o.length,u!=a.length)return!1;for(l=u;l--!==0;)if(!i(o[l],a[l]))return!1;return!0}var d;if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(d=o.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;for(d=o.entries();!(l=d.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(d=o.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if(u=o.length,u!=a.length)return!1;for(l=u;l--!==0;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof a.valueOf=="function")return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof a.toString=="function")return o.toString()===a.toString();if(f=Object.keys(o),u=f.length,u!==Object.keys(a).length)return!1;for(l=u;l--!==0;)if(!Object.prototype.hasOwnProperty.call(a,f[l]))return!1;if(e&&o instanceof Element)return!1;for(l=u;l--!==0;)if(!((f[l]==="_owner"||f[l]==="__v"||f[l]==="__o")&&o.$$typeof)&&!i(o[f[l]],a[f[l]]))return!1;return!0}return o!==o&&a!==a}return dx=function(a,u){try{return i(a,u)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},dx}var nbe=rbe();const ibe=Cn(nbe);var hx,BK;function abe(){return BK||(BK=1,hx=function(t,r,n,i){var o=n?n.call(i,t,r):void 0;if(o!==void 0)return!!o;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var a=Object.keys(t),u=Object.keys(r);if(a.length!==u.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),f=0;f<a.length;f++){var d=a[f];if(!l(d))return!1;var h=t[d],p=r[d];if(o=n?n.call(i,h,p,d):void 0,o===!1||o===void 0&&h!==p)return!1}return!0}),hx}var obe=abe();const sbe=Cn(obe);function fi(){return fi=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},fi.apply(this,arguments)}function wP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,EC(e,t)}function EC(e,t){return EC=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},EC(e,t)}function VK(e,t){if(e==null)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}var Er={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},ube={rel:["amphtml","canonical","alternate"]},lbe={type:["application/ld+json"]},cbe={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"]},HK=Object.keys(Er).map(function(e){return Er[e]}),Ug={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},fbe=Object.keys(Ug).reduce(function(e,t){return e[Ug[t]]=t,e},{}),Of=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},dbe=function(e){var t=Of(e,Er.TITLE),r=Of(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Of(e,"defaultTitle");return t||n||void 0},hbe=function(e){return Of(e,"onChangeClientState")||function(){}},px=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return fi({},r,n)},{})},pbe=function(e,t){return t.filter(function(r){return r[Er.BASE]!==void 0}).map(function(r){return r[Er.BASE]}).reverse().reduce(function(r,n){if(!r.length)for(var i=Object.keys(n),o=0;o<i.length;o+=1){var a=i[o].toLowerCase();if(e.indexOf(a)!==-1&&n[a])return r.concat(n)}return r},[])},Zd=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,o){var a={};o.filter(function(h){for(var p,m=Object.keys(h),S=0;S<m.length;S+=1){var E=m[S],_=E.toLowerCase();t.indexOf(_)===-1||p==="rel"&&h[p].toLowerCase()==="canonical"||_==="rel"&&h[_].toLowerCase()==="stylesheet"||(p=_),t.indexOf(E)===-1||E!=="innerHTML"&&E!=="cssText"&&E!=="itemprop"||(p=E)}if(!p||!h[p])return!1;var w=h[p].toLowerCase();return n[p]||(n[p]={}),a[p]||(a[p]={}),!n[p][w]&&(a[p][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var u=Object.keys(a),l=0;l<u.length;l+=1){var f=u[l],d=fi({},n[f],a[f]);n[f]=d}return i},[]).reverse()},vbe=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},Zre=function(e){return Array.isArray(e)?e.join(""):e},vx=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,o){for(var a=Object.keys(i),u=0;u<a.length;u+=1)if(o[a[u]]&&o[a[u]].includes(i[a[u]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},zK=function(e,t){var r;return fi({},e,((r={})[t]=void 0,r))},gbe=[Er.NOSCRIPT,Er.SCRIPT,Er.STYLE],gx=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;")},WK=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},"")},GK=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Ug[n]||n]=e[n],r},t)},sg=function(e,t){return t.map(function(r,n){var i,o=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(a){var u=Ug[a]||a;u==="innerHTML"||u==="cssText"?o.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:o[u]=r[a]}),Sr.createElement(e,o)})},wo=function(e,t,r){switch(e){case Er.TITLE:return{toComponent:function(){return i=t.titleAttributes,(o={key:n=t.title})["data-rh"]=!0,a=GK(i,o),[Sr.createElement(Er.TITLE,a,n)];var n,i,o,a},toString:function(){return(function(n,i,o,a){var u=WK(o),l=Zre(i);return u?"<"+n+' data-rh="true" '+u+">"+gx(l,a)+"</"+n+">":"<"+n+' data-rh="true">'+gx(l,a)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return GK(t)},toString:function(){return WK(t)}};default:return{toComponent:function(){return sg(e,t)},toString:function(){return(function(n,i,o){return i.reduce(function(a,u){var l=Object.keys(u).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,p){var m=u[p]===void 0?p:p+'="'+gx(u[p],o)+'"';return h?h+" "+m:m},""),f=u.innerHTML||u.cssText||"",d=gbe.indexOf(n)===-1;return a+"<"+n+' data-rh="true" '+l+(d?"/>":">"+f+"</"+n+">")},"")})(e,t,r)}}}},SC=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,u=e.title,l=u===void 0?"":u,f=e.titleAttributes,d=e.linkTags,h=e.metaTags,p=e.scriptTags,m={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var S=(function(E){var _=E.linkTags,w=E.scriptTags,T=E.encode,C=vx(E.metaTags,cbe),x=vx(_,ube),R=vx(w,lbe);return{priorityMethods:{toComponent:function(){return[].concat(sg(Er.META,C.priority),sg(Er.LINK,x.priority),sg(Er.SCRIPT,R.priority))},toString:function(){return wo(Er.META,C.priority,T)+" "+wo(Er.LINK,x.priority,T)+" "+wo(Er.SCRIPT,R.priority,T)}},metaTags:C.default,linkTags:x.default,scriptTags:R.default}})(e);m=S.priorityMethods,d=S.linkTags,h=S.metaTags,p=S.scriptTags}return{priority:m,base:wo(Er.BASE,t,n),bodyAttributes:wo("bodyAttributes",r,n),htmlAttributes:wo("htmlAttributes",i,n),link:wo(Er.LINK,d,n),meta:wo(Er.META,h,n),noscript:wo(Er.NOSCRIPT,o,n),script:wo(Er.SCRIPT,p,n),style:wo(Er.STYLE,a,n),title:wo(Er.TITLE,{title:l,titleAttributes:f},n)}},jv=[],wC=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?jv:r.instances},add:function(n){(r.canUseDOM?jv:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?jv:r.instances).indexOf(n);(r.canUseDOM?jv:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=SC({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ene=Sr.createContext({}),mbe=Pr.shape({setHelmet:Pr.func,helmetInstances:Pr.shape({get:Pr.func,add:Pr.func,remove:Pr.func})}),ybe=typeof document<"u",wf=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new wC(n.props.context,t.canUseDOM),n}return wP(t,e),t.prototype.render=function(){return Sr.createElement(ene.Provider,{value:this.helmetData.value},this.props.children)},t})(ge.Component);wf.canUseDOM=ybe,wf.propTypes={context:Pr.shape({helmet:Pr.shape()}),children:Pr.node.isRequired},wf.defaultProps={context:{}},wf.displayName="HelmetProvider";var cf=function(e,t){var r,n=document.head||document.querySelector(Er.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach(function(u){var l=document.createElement(e);for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&(f==="innerHTML"?l.innerHTML=u.innerHTML:f==="cssText"?l.styleSheet?l.styleSheet.cssText=u.cssText:l.appendChild(document.createTextNode(u.cssText)):l.setAttribute(f,u[f]===void 0?"":u[f]));l.setAttribute("data-rh","true"),o.some(function(d,h){return r=h,l.isEqualNode(d)})?o.splice(r,1):a.push(l)}),o.forEach(function(u){return u.parentNode.removeChild(u)}),a.forEach(function(u){return n.appendChild(u)}),{oldTags:o,newTags:a}},mx=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(t),u=0;u<a.length;u+=1){var l=a[u],f=t[l]||"";r.getAttribute(l)!==f&&r.setAttribute(l,f),i.indexOf(l)===-1&&i.push(l);var d=o.indexOf(l);d!==-1&&o.splice(d,1)}for(var h=o.length-1;h>=0;h-=1)r.removeAttribute(o[h]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},KK=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,u=e.onChangeClientState,l=e.scriptTags,f=e.styleTags,d=e.title,h=e.titleAttributes;mx(Er.BODY,e.bodyAttributes),mx(Er.HTML,n),(function(E,_){E!==void 0&&document.title!==E&&(document.title=Zre(E)),mx(Er.TITLE,_)})(d,h);var p={baseTag:cf(Er.BASE,r),linkTags:cf(Er.LINK,i),metaTags:cf(Er.META,o),noscriptTags:cf(Er.NOSCRIPT,a),scriptTags:cf(Er.SCRIPT,l),styleTags:cf(Er.STYLE,f)},m={},S={};Object.keys(p).forEach(function(E){var _=p[E],w=_.newTags,T=_.oldTags;w.length&&(m[E]=w),T.length&&(S[E]=p[E].oldTags)}),t&&t(),u(e,m,S)},eh=null,qg=(function(e){function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(n=e.call.apply(e,[this].concat(o))||this).rendered=!1,n}wP(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!sbe(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,o=this.props.context,a=o.setHelmet,u=null,l=(n=o.helmetInstances.get().map(function(f){var d=fi({},f.props);return delete d.context,d}),{baseTag:pbe(["href"],n),bodyAttributes:px("bodyAttributes",n),defer:Of(n,"defer"),encode:Of(n,"encodeSpecialCharacters"),htmlAttributes:px("htmlAttributes",n),linkTags:Zd(Er.LINK,["rel","href"],n),metaTags:Zd(Er.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Zd(Er.NOSCRIPT,["innerHTML"],n),onChangeClientState:hbe(n),scriptTags:Zd(Er.SCRIPT,["src","innerHTML"],n),styleTags:Zd(Er.STYLE,["cssText"],n),title:dbe(n),titleAttributes:px("titleAttributes",n),prioritizeSeoTags:vbe(n,"prioritizeSeoTags")});wf.canUseDOM?(i=l,eh&&cancelAnimationFrame(eh),i.defer?eh=requestAnimationFrame(function(){KK(i,function(){eh=null})}):(KK(i),eh=null)):SC&&(u=SC(l)),a(u)},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);qg.propTypes={context:mbe.isRequired},qg.displayName="HelmetDispatcher";var _be=["children"],Ebe=["children"],ug=(function(e){function t(){return e.apply(this,arguments)||this}wP(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!ibe(zK(this.props,"helmetData"),zK(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case Er.SCRIPT:case Er.NOSCRIPT:return{innerHTML:i};case Er.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,o=n.child,a=n.arrayTypeChildren;return fi({},a,((i={})[o.type]=[].concat(a[o.type]||[],[fi({},n.newChildProps,this.mapNestedChildrenToProps(o,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,o,a=n.child,u=n.newProps,l=n.newChildProps,f=n.nestedChildren;switch(a.type){case Er.TITLE:return fi({},u,((i={})[a.type]=f,i.titleAttributes=fi({},l),i));case Er.BODY:return fi({},u,{bodyAttributes:fi({},l)});case Er.HTML:return fi({},u,{htmlAttributes:fi({},l)});default:return fi({},u,((o={})[a.type]=fi({},l),o))}},r.mapArrayTypeChildrenToProps=function(n,i){var o=fi({},i);return Object.keys(n).forEach(function(a){var u;o=fi({},o,((u={})[a]=n[a],u))}),o},r.warnOnInvalidChildren=function(n,i){return vK(HK.some(function(o){return n.type===o}),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 "+HK.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),vK(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(o){return typeof o!="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 o=this,a={};return Sr.Children.forEach(n,function(u){if(u&&u.props){var l=u.props,f=l.children,d=VK(l,_be),h=Object.keys(d).reduce(function(m,S){return m[fbe[S]||S]=d[S],m},{}),p=u.type;switch(typeof p=="symbol"?p=p.toString():o.warnOnInvalidChildren(u,f),p){case Er.FRAGMENT:i=o.mapChildrenToProps(f,i);break;case Er.LINK:case Er.META:case Er.NOSCRIPT:case Er.SCRIPT:case Er.STYLE:a=o.flattenArrayTypeChildren({child:u,arrayTypeChildren:a,newChildProps:h,nestedChildren:f});break;default:i=o.mapObjectTypeChildren({child:u,newProps:i,newChildProps:h,nestedChildren:f})}}}),this.mapArrayTypeChildrenToProps(a,i)},r.render=function(){var n=this.props,i=n.children,o=VK(n,Ebe),a=fi({},o),u=o.helmetData;return i&&(a=this.mapChildrenToProps(i,a)),!u||u instanceof wC||(u=new wC(u.context,u.instances)),u?Sr.createElement(qg,fi({},a,{context:u.value,helmetData:void 0})):Sr.createElement(ene.Consumer,null,function(l){return Sr.createElement(qg,fi({},a,{context:l}))})},t})(ge.Component);ug.propTypes={base:Pr.object,bodyAttributes:Pr.object,children:Pr.oneOfType([Pr.arrayOf(Pr.node),Pr.node]),defaultTitle:Pr.string,defer:Pr.bool,encodeSpecialCharacters:Pr.bool,htmlAttributes:Pr.object,link:Pr.arrayOf(Pr.object),meta:Pr.arrayOf(Pr.object),noscript:Pr.arrayOf(Pr.object),onChangeClientState:Pr.func,script:Pr.arrayOf(Pr.object),style:Pr.arrayOf(Pr.object),title:Pr.string,titleAttributes:Pr.object,titleTemplate:Pr.string,prioritizeSeoTags:Pr.bool,helmetData:Pr.object},ug.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ug.displayName="Helmet";const tne=Sr.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function YK(e,t){return!Ts.isEqual(e,t)}function Sbe(){return Sr.useContext(tne)}const wbe=e=>{const[t,r]=Sr.useState({}),[n,i]=Sr.useState({}),[o,a]=Sr.useState(null),{title:u,description:l,canonicalLink:f,jsonLd:d,allowIndexing:h,hrefLang:p,preload:m}=t;function S(T){YK(t,n)&&i(t),r(T)}function E(){r(n)}function _(T){return YK(T,t)}function w(T){a(T)}return ce.jsx(tne.Provider,{value:{setPageMetadata:S,revertPageMetadata:E,hasPageMetadataChanged:_,setFaq:w,hasProvider:!0},children:ce.jsxs(wf,{children:[ce.jsxs(ug,{children:[u&&ce.jsx("title",{children:u}),l&&ce.jsx("meta",{name:"description",content:l}),f&&ce.jsx("link",{rel:"canonical",href:f}),d&&ce.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),o&&ce.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)}),!h&&ce.jsx("meta",{name:"robots",content:"noindex"}),p&&(p==null?void 0:p.map((T,C)=>ce.jsx("link",{rel:"alternate",hrefLang:T.hrefLang,href:T.canonicalLink},C))),m&&(m==null?void 0:m.map((T,C)=>{const x={};return T.crossorigin&&(x.crossOrigin="true"),T.media&&(x.media=T.media),T.type&&(x.type=T.type),ce.jsx("link",{rel:"preload",href:T.href,as:T.as,...x},`preload-${C}`)}))]}),e.children]})})};function rne(e){Sr.useEffect(()=>{e&&t(ni.getCurrentAppLink(),e)},[e]);function t(n,i){const o=ni.getHref(n);ga.logUserAction({title:i,url:o,isAddressable:!!o,isError:n.action==="error",appLink:r(n)},{actionType:It.PageView,entity:hn.Url,location:na.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((o,a,u)=>(o[`arg${u}`]=a,o),{})}}}var lg={exports:{}},bbe=lg.exports,XK;function Tbe(){return XK||(XK=1,(function(e,t){(function(r,n){e.exports=n()})(bbe,(function(){var r=1e3,n=6e4,i=36e5,o="millisecond",a="second",u="minute",l="hour",f="day",d="week",h="month",p="quarter",m="year",S="date",E="Invalid Date",_=/^(\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,T={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 ne=["th","st","nd","rd"],re=Q%100;return"["+Q+(ne[(re-20)%10]||ne[re]||ne[0])+"]"}},C=function(Q,ne,re){var de=String(Q);return!de||de.length>=ne?Q:""+Array(ne+1-de.length).join(re)+Q},x={s:C,z:function(Q){var ne=-Q.utcOffset(),re=Math.abs(ne),de=Math.floor(re/60),G=re%60;return(ne<=0?"+":"-")+C(de,2,"0")+":"+C(G,2,"0")},m:function Q(ne,re){if(ne.date()<re.date())return-Q(re,ne);var de=12*(re.year()-ne.year())+(re.month()-ne.month()),G=ne.clone().add(de,h),ee=re-G<0,z=ne.clone().add(de+(ee?-1:1),h);return+(-(de+(re-G)/(ee?G-z:z-G))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:h,y:m,w:d,d:f,D:S,h:l,m:u,s:a,ms:o,Q:p}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},R="en",P={};P[R]=T;var y="$isDayjsObject",N=function(Q){return Q instanceof W||!(!Q||!Q[y])},$=function Q(ne,re,de){var G;if(!ne)return R;if(typeof ne=="string"){var ee=ne.toLowerCase();P[ee]&&(G=ee),re&&(P[ee]=re,G=ee);var z=ne.split("-");if(!G&&z.length>1)return Q(z[0])}else{var ue=ne.name;P[ue]=ne,G=ue}return!de&&G&&(R=G),G||!de&&R},H=function(Q,ne){if(N(Q))return Q.clone();var re=typeof ne=="object"?ne:{};return re.date=Q,re.args=arguments,new W(re)},B=x;B.l=$,B.i=N,B.w=function(Q,ne){return H(Q,{locale:ne.$L,utc:ne.$u,x:ne.$x,$offset:ne.$offset})};var W=(function(){function Q(re){this.$L=$(re.locale,null,!0),this.parse(re),this.$x=this.$x||re.x||{},this[y]=!0}var ne=Q.prototype;return ne.parse=function(re){this.$d=(function(de){var G=de.date,ee=de.utc;if(G===null)return new Date(NaN);if(B.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var z=G.match(_);if(z){var ue=z[2]-1||0,Ee=(z[7]||"0").substring(0,3);return ee?new Date(Date.UTC(z[1],ue,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Ee)):new Date(z[1],ue,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Ee)}}return new Date(G)})(re),this.init()},ne.init=function(){var re=this.$d;this.$y=re.getFullYear(),this.$M=re.getMonth(),this.$D=re.getDate(),this.$W=re.getDay(),this.$H=re.getHours(),this.$m=re.getMinutes(),this.$s=re.getSeconds(),this.$ms=re.getMilliseconds()},ne.$utils=function(){return B},ne.isValid=function(){return this.$d.toString()!==E},ne.isSame=function(re,de){var G=H(re);return this.startOf(de)<=G&&G<=this.endOf(de)},ne.isAfter=function(re,de){return H(re)<this.startOf(de)},ne.isBefore=function(re,de){return this.endOf(de)<H(re)},ne.$g=function(re,de,G){return B.u(re)?this[de]:this.set(G,re)},ne.unix=function(){return Math.floor(this.valueOf()/1e3)},ne.valueOf=function(){return this.$d.getTime()},ne.startOf=function(re,de){var G=this,ee=!!B.u(de)||de,z=B.p(re),ue=function(M,k){var U=B.w(G.$u?Date.UTC(G.$y,k,M):new Date(G.$y,k,M),G);return ee?U:U.endOf(f)},Ee=function(M,k){return B.w(G.toDate()[M].apply(G.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(k)),G)},Oe=this.$W,$e=this.$M,Ve=this.$D,ae="set"+(this.$u?"UTC":"");switch(z){case m:return ee?ue(1,0):ue(31,11);case h:return ee?ue(1,$e):ue(0,$e+1);case d:var O=this.$locale().weekStart||0,I=(Oe<O?Oe+7:Oe)-O;return ue(ee?Ve-I:Ve+(6-I),$e);case f:case S:return Ee(ae+"Hours",0);case l:return Ee(ae+"Minutes",1);case u:return Ee(ae+"Seconds",2);case a:return Ee(ae+"Milliseconds",3);default:return this.clone()}},ne.endOf=function(re){return this.startOf(re,!1)},ne.$set=function(re,de){var G,ee=B.p(re),z="set"+(this.$u?"UTC":""),ue=(G={},G[f]=z+"Date",G[S]=z+"Date",G[h]=z+"Month",G[m]=z+"FullYear",G[l]=z+"Hours",G[u]=z+"Minutes",G[a]=z+"Seconds",G[o]=z+"Milliseconds",G)[ee],Ee=ee===f?this.$D+(de-this.$W):de;if(ee===h||ee===m){var Oe=this.clone().set(S,1);Oe.$d[ue](Ee),Oe.init(),this.$d=Oe.set(S,Math.min(this.$D,Oe.daysInMonth())).$d}else ue&&this.$d[ue](Ee);return this.init(),this},ne.set=function(re,de){return this.clone().$set(re,de)},ne.get=function(re){return this[B.p(re)]()},ne.add=function(re,de){var G,ee=this;re=Number(re);var z=B.p(de),ue=function($e){var Ve=H(ee);return B.w(Ve.date(Ve.date()+Math.round($e*re)),ee)};if(z===h)return this.set(h,this.$M+re);if(z===m)return this.set(m,this.$y+re);if(z===f)return ue(1);if(z===d)return ue(7);var Ee=(G={},G[u]=n,G[l]=i,G[a]=r,G)[z]||1,Oe=this.$d.getTime()+re*Ee;return B.w(Oe,this)},ne.subtract=function(re,de){return this.add(-1*re,de)},ne.format=function(re){var de=this,G=this.$locale();if(!this.isValid())return G.invalidDate||E;var ee=re||"YYYY-MM-DDTHH:mm:ssZ",z=B.z(this),ue=this.$H,Ee=this.$m,Oe=this.$M,$e=G.weekdays,Ve=G.months,ae=G.meridiem,O=function(k,U,K,ie){return k&&(k[U]||k(de,ee))||K[U].slice(0,ie)},I=function(k){return B.s(ue%12||12,k,"0")},M=ae||function(k,U,K){var ie=k<12?"AM":"PM";return K?ie.toLowerCase():ie};return ee.replace(w,(function(k,U){return U||(function(K){switch(K){case"YY":return String(de.$y).slice(-2);case"YYYY":return B.s(de.$y,4,"0");case"M":return Oe+1;case"MM":return B.s(Oe+1,2,"0");case"MMM":return O(G.monthsShort,Oe,Ve,3);case"MMMM":return O(Ve,Oe);case"D":return de.$D;case"DD":return B.s(de.$D,2,"0");case"d":return String(de.$W);case"dd":return O(G.weekdaysMin,de.$W,$e,2);case"ddd":return O(G.weekdaysShort,de.$W,$e,3);case"dddd":return $e[de.$W];case"H":return String(ue);case"HH":return B.s(ue,2,"0");case"h":return I(1);case"hh":return I(2);case"a":return M(ue,Ee,!0);case"A":return M(ue,Ee,!1);case"m":return String(Ee);case"mm":return B.s(Ee,2,"0");case"s":return String(de.$s);case"ss":return B.s(de.$s,2,"0");case"SSS":return B.s(de.$ms,3,"0");case"Z":return z}return null})(k)||z.replace(":","")}))},ne.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ne.diff=function(re,de,G){var ee,z=this,ue=B.p(de),Ee=H(re),Oe=(Ee.utcOffset()-this.utcOffset())*n,$e=this-Ee,Ve=function(){return B.m(z,Ee)};switch(ue){case m:ee=Ve()/12;break;case h:ee=Ve();break;case p:ee=Ve()/3;break;case d:ee=($e-Oe)/6048e5;break;case f:ee=($e-Oe)/864e5;break;case l:ee=$e/i;break;case u:ee=$e/n;break;case a:ee=$e/r;break;default:ee=$e}return G?ee:B.a(ee)},ne.daysInMonth=function(){return this.endOf(h).$D},ne.$locale=function(){return P[this.$L]},ne.locale=function(re,de){if(!re)return this.$L;var G=this.clone(),ee=$(re,de,!0);return ee&&(G.$L=ee),G},ne.clone=function(){return B.w(this.$d,this)},ne.toDate=function(){return new Date(this.valueOf())},ne.toJSON=function(){return this.isValid()?this.toISOString():null},ne.toISOString=function(){return this.$d.toISOString()},ne.toString=function(){return this.$d.toUTCString()},Q})(),Y=W.prototype;return H.prototype=Y,[["$ms",o],["$s",a],["$m",u],["$H",l],["$W",f],["$M",h],["$y",m],["$D",S]].forEach((function(Q){Y[Q[1]]=function(ne){return this.$g(ne,Q[0],Q[1])}})),H.extend=function(Q,ne){return Q.$i||(Q(ne,W,H),Q.$i=!0),H},H.locale=$,H.isDayjs=N,H.unix=function(Q){return H(1e3*Q)},H.en=P[R],H.Ls=P,H.p={},H}))})(lg)),lg.exports}var Abe=Tbe();const er=Cn(Abe);var cg={exports:{}},Rbe=cg.exports,QK;function xbe(){return QK||(QK=1,(function(e,t){(function(r,n){e.exports=n()})(Rbe,(function(){return function(r,n){var i=n.prototype,o=i.format;i.format=function(a){var u=this,l=this.$locale();if(!this.isValid())return o.bind(this)(a);var f=this.$utils(),d=(a||"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((u.$M+1)/3);case"Do":return l.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return l.ordinal(u.week(),"W");case"w":case"ww":return f.s(u.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(u.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.s(String(u.$H===0?24:u.$H),h==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return h}}));return o.bind(this)(d)}}}))})(cg)),cg.exports}var Cbe=xbe();const Obe=Cn(Cbe);var fg={exports:{}},Ibe=fg.exports,JK;function Pbe(){return JK||(JK=1,(function(e,t){(function(r,n){e.exports=n()})(Ibe,(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/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,u={},l=function(E){return(E=+E)+(E>68?1900:2e3)},f=function(E){return function(_){this[E]=+_}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=(function(_){if(!_||_==="Z")return 0;var w=_.match(/([+-]|\d\d)/g),T=60*w[1]+(+w[2]||0);return T===0?0:w[0]==="+"?-T:T})(E)}],h=function(E){var _=u[E];return _&&(_.indexOf?_:_.s.concat(_.f))},p=function(E,_){var w,T=u.meridiem;if(T){for(var C=1;C<=24;C+=1)if(E.indexOf(T(C,0,_))>-1){w=C>12;break}}else w=E===(_?"pm":"PM");return w},m={A:[a,function(E){this.afternoon=p(E,!1)}],a:[a,function(E){this.afternoon=p(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[i,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[o,f("seconds")],ss:[o,f("seconds")],m:[o,f("minutes")],mm:[o,f("minutes")],H:[o,f("hours")],h:[o,f("hours")],HH:[o,f("hours")],hh:[o,f("hours")],D:[o,f("day")],DD:[i,f("day")],Do:[a,function(E){var _=u.ordinal,w=E.match(/\d+/);if(this.day=w[0],_)for(var T=1;T<=31;T+=1)_(T).replace(/\[|\]/g,"")===E&&(this.day=T)}],M:[o,f("month")],MM:[i,f("month")],MMM:[a,function(E){var _=h("months"),w=(h("monthsShort")||_.map((function(T){return T.slice(0,3)}))).indexOf(E)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[a,function(E){var _=h("months").indexOf(E)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,f("year")],YY:[i,function(E){this.year=l(E)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function S(E){var _,w;_=E,w=u&&u.formats;for(var T=(E=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,H,B){var W=B&&B.toUpperCase();return H||w[B]||r[B]||w[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,Q,ne){return Q||ne.slice(1)}))}))).match(n),C=T.length,x=0;x<C;x+=1){var R=T[x],P=m[R],y=P&&P[0],N=P&&P[1];T[x]=N?{regex:y,parser:N}:R.replace(/^\[|\]$/g,"")}return function($){for(var H={},B=0,W=0;B<C;B+=1){var Y=T[B];if(typeof Y=="string")W+=Y.length;else{var Q=Y.regex,ne=Y.parser,re=$.slice(W),de=Q.exec(re)[0];ne.call(H,de),$=$.replace(de,"")}}return(function(G){var ee=G.afternoon;if(ee!==void 0){var z=G.hours;ee?z<12&&(G.hours+=12):z===12&&(G.hours=0),delete G.afternoon}})(H),H}}return function(E,_,w){w.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(l=E.parseTwoDigitYear);var T=_.prototype,C=T.parse;T.parse=function(x){var R=x.date,P=x.utc,y=x.args;this.$u=P;var N=y[1];if(typeof N=="string"){var $=y[2]===!0,H=y[3]===!0,B=$||H,W=y[2];H&&(W=y[2]),u=this.$locale(),!$&&W&&(u=w.Ls[W]),this.$d=(function(re,de,G){try{if(["x","X"].indexOf(de)>-1)return new Date((de==="X"?1e3:1)*re);var ee=S(de)(re),z=ee.year,ue=ee.month,Ee=ee.day,Oe=ee.hours,$e=ee.minutes,Ve=ee.seconds,ae=ee.milliseconds,O=ee.zone,I=new Date,M=Ee||(z||ue?1:I.getDate()),k=z||I.getFullYear(),U=0;z&&!ue||(U=ue>0?ue-1:I.getMonth());var K=Oe||0,ie=$e||0,ye=Ve||0,ve=ae||0;return O?new Date(Date.UTC(k,U,M,K,ie,ye,ve+60*O.offset*1e3)):G?new Date(Date.UTC(k,U,M,K,ie,ye,ve)):new Date(k,U,M,K,ie,ye,ve)}catch{return new Date("")}})(R,N,P),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),B&&R!=this.format(N)&&(this.$d=new Date("")),u={}}else if(N instanceof Array)for(var Y=N.length,Q=1;Q<=Y;Q+=1){y[1]=N[Q-1];var ne=w.apply(this,y);if(ne.isValid()){this.$d=ne.$d,this.$L=ne.$L,this.init();break}Q===Y&&(this.$d=new Date(""))}else C.call(this,x)}}}))})(fg)),fg.exports}var kbe=Pbe();const nne=Cn(kbe);var dg={exports:{}},Dbe=dg.exports,ZK;function Lbe(){return ZK||(ZK=1,(function(e,t){(function(r,n){e.exports=n()})(Dbe,(function(){var r,n,i=1e3,o=6e4,a=36e5,u=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=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:f,months:d,days:u,hours:a,minutes:o,seconds:i,milliseconds:1,weeks:6048e5},m=function(P){return P instanceof x},S=function(P,y,N){return new x(P,N,y.$l)},E=function(P){return n.p(P)+"s"},_=function(P){return P<0},w=function(P){return _(P)?Math.ceil(P):Math.floor(P)},T=function(P){return Math.abs(P)},C=function(P,y){return P?_(P)?{negative:!0,format:""+T(P)+y}:{negative:!1,format:""+P+y}:{negative:!1,format:""}},x=(function(){function P(N,$,H){var B=this;if(this.$d={},this.$l=H,N===void 0&&(this.$ms=0,this.parseFromMilliseconds()),$)return S(N*p[E($)],this);if(typeof N=="number")return this.$ms=N,this.parseFromMilliseconds(),this;if(typeof N=="object")return Object.keys(N).forEach((function(Q){B.$d[E(Q)]=N[Q]})),this.calMilliseconds(),this;if(typeof N=="string"){var W=N.match(h);if(W){var Y=W.slice(2).map((function(Q){return Q!=null?Number(Q):0}));return this.$d.years=Y[0],this.$d.months=Y[1],this.$d.weeks=Y[2],this.$d.days=Y[3],this.$d.hours=Y[4],this.$d.minutes=Y[5],this.$d.seconds=Y[6],this.calMilliseconds(),this}}return this}var y=P.prototype;return y.calMilliseconds=function(){var N=this;this.$ms=Object.keys(this.$d).reduce((function($,H){return $+(N.$d[H]||0)*p[H]}),0)},y.parseFromMilliseconds=function(){var N=this.$ms;this.$d.years=w(N/f),N%=f,this.$d.months=w(N/d),N%=d,this.$d.days=w(N/u),N%=u,this.$d.hours=w(N/a),N%=a,this.$d.minutes=w(N/o),N%=o,this.$d.seconds=w(N/i),N%=i,this.$d.milliseconds=N},y.toISOString=function(){var N=C(this.$d.years,"Y"),$=C(this.$d.months,"M"),H=+this.$d.days||0;this.$d.weeks&&(H+=7*this.$d.weeks);var B=C(H,"D"),W=C(this.$d.hours,"H"),Y=C(this.$d.minutes,"M"),Q=this.$d.seconds||0;this.$d.milliseconds&&(Q+=this.$d.milliseconds/1e3,Q=Math.round(1e3*Q)/1e3);var ne=C(Q,"S"),re=N.negative||$.negative||B.negative||W.negative||Y.negative||ne.negative,de=W.format||Y.format||ne.format?"T":"",G=(re?"-":"")+"P"+N.format+$.format+B.format+de+W.format+Y.format+ne.format;return G==="P"||G==="-P"?"P0D":G},y.toJSON=function(){return this.toISOString()},y.format=function(N){var $=N||"YYYY-MM-DDTHH:mm:ss",H={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 $.replace(l,(function(B,W){return W||String(H[B])}))},y.as=function(N){return this.$ms/p[E(N)]},y.get=function(N){var $=this.$ms,H=E(N);return H==="milliseconds"?$%=1e3:$=H==="weeks"?w($/p[H]):this.$d[H],$||0},y.add=function(N,$,H){var B;return B=$?N*p[E($)]:m(N)?N.$ms:S(N,this).$ms,S(this.$ms+B*(H?-1:1),this)},y.subtract=function(N,$){return this.add(N,$,!0)},y.locale=function(N){var $=this.clone();return $.$l=N,$},y.clone=function(){return S(this.$ms,this)},y.humanize=function(N){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!N)},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")},P})(),R=function(P,y,N){return P.add(y.years()*N,"y").add(y.months()*N,"M").add(y.days()*N,"d").add(y.hours()*N,"h").add(y.minutes()*N,"m").add(y.seconds()*N,"s").add(y.milliseconds()*N,"ms")};return function(P,y,N){r=N,n=N().$utils(),N.duration=function(B,W){var Y=N.locale();return S(B,{$l:Y},W)},N.isDuration=m;var $=y.prototype.add,H=y.prototype.subtract;y.prototype.add=function(B,W){return m(B)?R(this,B,1):$.bind(this)(B,W)},y.prototype.subtract=function(B,W){return m(B)?R(this,B,-1):H.bind(this)(B,W)}}}))})(dg)),dg.exports}var Nbe=Lbe();const Mbe=Cn(Nbe);var hg={exports:{}},$be=hg.exports,eY;function Fbe(){return eY||(eY=1,(function(e,t){(function(r,n){e.exports=n()})($be,(function(){return function(r,n,i){n.prototype.isBetween=function(o,a,u,l){var f=i(o),d=i(a),h=(l=l||"()")[0]==="(",p=l[1]===")";return(h?this.isAfter(f,u):!this.isBefore(f,u))&&(p?this.isBefore(d,u):!this.isAfter(d,u))||(h?this.isBefore(f,u):!this.isAfter(f,u))&&(p?this.isAfter(d,u):!this.isBefore(d,u))}}}))})(hg)),hg.exports}var jbe=Fbe();const Ube=Cn(jbe);var pg={exports:{}},qbe=pg.exports,tY;function Bbe(){return tY||(tY=1,(function(e,t){(function(r,n){e.exports=n()})(qbe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}}))})(pg)),pg.exports}var Vbe=Bbe();const Hbe=Cn(Vbe);var vg={exports:{}},zbe=vg.exports,rY;function Wbe(){return rY||(rY=1,(function(e,t){(function(r,n){e.exports=n()})(zbe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}}))})(vg)),vg.exports}var Gbe=Wbe();const Kbe=Cn(Gbe);var gg={exports:{}},Ybe=gg.exports,nY;function Xbe(){return nY||(nY=1,(function(e,t){(function(r,n){e.exports=n()})(Ybe,(function(){return function(r,n,i){var o=n.prototype,a=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,p,m,S,E){var _=h.name?h:h.$locale(),w=a(_[p]),T=a(_[m]),C=w||T.map((function(R){return R.slice(0,S)}));if(!E)return C;var x=_.weekStart;return C.map((function(R,P){return C[(P+(x||0))%7]}))},l=function(){return i.Ls[i.locale()]},f=function(h,p){return h.formats[p]||(function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,E,_){return E||_.slice(1)}))})(h.formats[p.toUpperCase()])},d=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):u(h,"months")},monthsShort:function(p){return p?p.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):u(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return f(h.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=l();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(p){return f(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return u(l(),"months")},i.monthsShort=function(){return u(l(),"monthsShort","months",3)},i.weekdays=function(h){return u(l(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return u(l(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return u(l(),"weekdaysMin","weekdays",2,h)}}}))})(gg)),gg.exports}var Qbe=Xbe();const Jbe=Cn(Qbe);var mg={exports:{}},Zbe=mg.exports,iY;function eTe(){return iY||(iY=1,(function(e,t){(function(r,n){e.exports=n()})(Zbe,(function(){return function(r,n,i){r=r||{};var o=n.prototype,a={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 u(f,d,h,p){return o.fromToBase(f,d,h,p)}i.en.relativeTime=a,o.fromToBase=function(f,d,h,p,m){for(var S,E,_,w=h.$locale().relativeTime||a,T=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"}],C=T.length,x=0;x<C;x+=1){var R=T[x];R.d&&(S=p?i(f).diff(h,R.d,!0):h.diff(f,R.d,!0));var P=(r.rounding||Math.round)(Math.abs(S));if(_=S>0,P<=R.r||!R.r){P<=1&&x>0&&(R=T[x-1]);var y=w[R.l];m&&(P=m(""+P)),E=typeof y=="string"?y.replace("%d",P):y(P,d,R.l,_);break}}if(d)return E;var N=_?w.future:w.past;return typeof N=="function"?N(E):N.replace("%s",E)},o.to=function(f,d){return u(f,d,this,!0)},o.from=function(f,d){return u(f,d,this)};var l=function(f){return f.$u?i.utc():i()};o.toNow=function(f){return this.to(l(this),f)},o.fromNow=function(f){return this.from(l(this),f)}}}))})(mg)),mg.exports}var tTe=eTe();const rTe=Cn(tTe);var yg={exports:{}},nTe=yg.exports,aY;function iTe(){return aY||(aY=1,(function(e,t){(function(r,n){e.exports=n()})(nTe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,o,a){var u,l=function(p,m,S){S===void 0&&(S={});var E=new Date(p),_=(function(w,T){T===void 0&&(T={});var C=T.timeZoneName||"short",x=w+"|"+C,R=n[x];return R||(R=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:C}),n[x]=R),R})(m,S);return _.formatToParts(E)},f=function(p,m){for(var S=l(p,m),E=[],_=0;_<S.length;_+=1){var w=S[_],T=w.type,C=w.value,x=r[T];x>=0&&(E[x]=parseInt(C,10))}var R=E[3],P=R===24?0:R,y=E[0]+"-"+E[1]+"-"+E[2]+" "+P+":"+E[4]+":"+E[5]+":000",N=+p;return(a.utc(y).valueOf()-(N-=N%1e3))/6e4},d=o.prototype;d.tz=function(p,m){p===void 0&&(p=u);var S=this.utcOffset(),E=this.toDate(),_=E.toLocaleString("en-US",{timeZone:p}),w=Math.round((E-new Date(_))/1e3/60),T=a(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-w,!0);if(m){var C=T.utcOffset();T=T.add(S-C,"minute")}return T.$x.$timezone=p,T},d.offsetName=function(p){var m=this.$x.$timezone||a.tz.guess(),S=l(this.valueOf(),m,{timeZoneName:p}).find((function(E){return E.type.toLowerCase()==="timezonename"}));return S&&S.value};var h=d.startOf;d.startOf=function(p,m){if(!this.$x||!this.$x.$timezone)return h.call(this,p,m);var S=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(S,p,m).tz(this.$x.$timezone,!0)},a.tz=function(p,m,S){var E=S&&m,_=S||m||u,w=f(+a(),_);if(typeof p!="string")return a(p).tz(_);var T=(function(P,y,N){var $=P-60*y*1e3,H=f($,N);if(y===H)return[$,y];var B=f($-=60*(H-y)*1e3,N);return H===B?[$,H]:[P-60*Math.min(H,B)*1e3,Math.max(H,B)]})(a.utc(p,E).valueOf(),w,_),C=T[0],x=T[1],R=a(C).utcOffset(x);return R.$x.$timezone=_,R},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(p){u=p}}}))})(yg)),yg.exports}var aTe=iTe();const oTe=Cn(aTe);var _g={exports:{}},sTe=_g.exports,oY;function uTe(){return oY||(oY=1,(function(e,t){(function(r,n){e.exports=n()})(sTe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,a,u){var l=a.prototype;u.utc=function(E){var _={date:E,utc:!0,args:arguments};return new a(_)},l.utc=function(E){var _=u(this.toDate(),{locale:this.$L,utc:!0});return E?_.add(this.utcOffset(),r):_},l.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var f=l.parse;l.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),f.call(this,E)};var d=l.init;l.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else d.call(this)};var h=l.utcOffset;l.utcOffset=function(E,_){var w=this.$utils().u;if(w(E))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof E=="string"&&(E=(function(R){R===void 0&&(R="");var P=R.match(n);if(!P)return null;var y=(""+P[0]).match(i)||["-",0,0],N=y[0],$=60*+y[1]+ +y[2];return $===0?0:N==="+"?$:-$})(E),E===null))return this;var T=Math.abs(E)<=16?60*E:E,C=this;if(_)return C.$offset=T,C.$u=E===0,C;if(E!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(C=this.local().add(T+x,r)).$offset=T,C.$x.$localOffset=x}else C=this.utc();return C};var p=l.format;l.format=function(E){var _=E||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,_)},l.valueOf=function(){var E=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*E},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var m=l.toDate;l.toDate=function(E){return E==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var S=l.diff;l.diff=function(E,_,w){if(E&&this.$u===E.$u)return S.call(this,E,_,w);var T=this.local(),C=u(E).local();return S.call(T,C,_,w)}}}))})(_g)),_g.exports}var lTe=uTe();const cTe=Cn(lTe);var Eg={exports:{}},fTe=Eg.exports,sY;function dTe(){return sY||(sY=1,(function(e,t){(function(r,n){e.exports=n()})(fTe,(function(){return function(r,n){n.prototype.weekday=function(i){var o=this.$locale().weekStart||0,a=this.$W,u=(a<o?a+7:a)-o;return this.$utils().u(i)?u:this.subtract(u,"day").add(i,"day")}}}))})(Eg)),Eg.exports}var hTe=dTe();const pTe=Cn(hTe);let Uv;const vTe={"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"}},gTe={getCurrentRegion(){return Uv},setCurrentRegion(e){Uv=e},updateFormatByRegion(e){var r;return Uv&&((r=vTe[e])==null?void 0:r[Uv])||e}};er.extend(Obe);er.extend(nne);er.extend(rTe);er.extend(Hbe);er.extend(Ube);er.extend(pTe);er.extend(Jbe);er.extend(Kbe);er.extend(nne);er.extend(Mbe);er.extend(cTe);er.extend(oTe);const mTe=/[\[\]]/g;function yTe(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 Yu={add(e,t,r){return er(e).add(t,r).toDate()},subtract(e,t,r){return er(e).subtract(t,r).toDate()},format(e,t){return er(e).format(gTe.updateFormatByRegion(t))},formatToISODate(e){return er(e).format("YYYY-MM-DD")},isValid(e){return er(e).isValid()},formatIsValid(e,t,r){return er(e,t,r).isValid()},fromNow(e,t){return er(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,a=Math.abs(t.getTimezoneOffset())/60,u=Math.floor(a),l=Math.floor((a-u)*60);let f=r+u,d=n+l;return i&&(f=r-u,d=n-l),t.setHours(f),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=er(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=er(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return er(e).isSame(er(t),r)},isSameOrBefore(e,t,r){return er(e).isSameOrBefore(er(t),r)},isToday(e){return er().isSame(er(e),"day")},isBetween(e,t,r){return er(e).isSameOrAfter(er(t))&&er(e).isSameOrBefore(er(r))},timeSince(e,t,r){const n=er(e);return er().diff(n,t,r)},startOf(e,t){return er(e).startOf(t).toDate()},endOf(e,t){return er(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(),o=`${n}:${i}:00`;return e<0?o:`-${o}`},weekday(e,t){return er(e).weekday(t).toDate()},getWeekday(e){return er(e).weekday()},daysInMonth(e){return er(e).daysInMonth()},get(e,t){return er(e).get(t)},set(e,t,r){return er(e).set(t,r).toDate()},diffBetween(e,t,r){return er(e).diff(er(t),r)},getLocalDateOrdinal(e){return er.localeData().ordinal(e).replace(mTe,"")},parseDateString(e,t){return e?er(e,t).toDate():er().toDate()},getDurationISOString(e,t){return er.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return er.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 er.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=yTe(e);switch(t){case"milliseconds":return er.duration(r).asMilliseconds();case"seconds":return er.duration(r).asSeconds();case"hours":return er.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=er().day(e).hour(t).minute(r).utc().toDate();return Yu.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return er().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return er(e).utc().toISOString()},formatUtc(e,t){return er(e).utc().format(t)},formatUtcString(e,t){return er.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return er.duration(e,t).hours();case"minutes":return er.duration(e,t).minutes();case"seconds":return er.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return er().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return er().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?er.utc(e).tz(r).format(t):er.utc(e).format(t)},getUtcStringByTimezone(e,t){return er.tz(e,t).utc().toISOString()}},yx={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var kl=(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))(kl||{});const _Te=/\/$/,Xo={urlBuilder(e,t){const n=Object.entries(t).map(([i,o])=>i&&Array.isArray(o)?o.map(u=>`${i}=${encodeURIComponent(u)}`).join("&"):i&&o!==void 0&&o!==null?`${i}=${encodeURIComponent(o)}`:"").reduce((i,o)=>o?i?`${i}&${o}`:o: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(_Te,"")}};function ETe(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 STe={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=En.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||ni.getCurrentAppLink(),n=ETe(r.params,e.allowedParams);let i=ni.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),Xo.safeUrlConcat(t,i)}};function bP(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Oc=bP();function ine(e){Oc=e}const gh={exec:()=>null};function Sn(e,t=""){let r=typeof e=="string"?e:e.source;const n={replace:(i,o)=>{let a=typeof o=="string"?o:o.source;return a=a.replace(ha.caret,"$1"),r=r.replace(i,a),n},getRegex:()=>new RegExp(r,t)};return n}const ha={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")},wTe=/^(?:[ \t]*(?:\n|$))+/,bTe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,TTe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Rp=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ATe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ane=/(?:[*+-]|\d{1,9}[.)])/,one=Sn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ane).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(),TP=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,RTe=/^[^\n]+/,AP=/(?!\s*\])(?:\\.|[^\[\]\\])+/,xTe=Sn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",AP).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),CTe=Sn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ane).getRegex(),Ay="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",RP=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,OTe=Sn("^ {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",RP).replace("tag",Ay).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),sne=Sn(TP).replace("hr",Rp).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",Ay).getRegex(),ITe=Sn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",sne).getRegex(),xP={blockquote:ITe,code:bTe,def:xTe,fences:TTe,heading:ATe,hr:Rp,html:OTe,lheading:one,list:CTe,newline:wTe,paragraph:sne,table:gh,text:RTe},uY=Sn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rp).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",Ay).getRegex(),PTe={...xP,table:uY,paragraph:Sn(TP).replace("hr",Rp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",uY).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",Ay).getRegex()},kTe={...xP,html:Sn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",RP).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:gh,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Sn(TP).replace("hr",Rp).replace("heading",` *#{1,6} *[^
141
+ ]`).replace("lheading",one).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},DTe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,LTe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,une=/^( {2,}|\\)\n(?!\s*$)/,NTe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Ry=/[\p{P}\p{S}]/u,CP=/[\s\p{P}\p{S}]/u,lne=/[^\s\p{P}\p{S}]/u,MTe=Sn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,CP).getRegex(),cne=/(?!~)[\p{P}\p{S}]/u,$Te=/(?!~)[\s\p{P}\p{S}]/u,FTe=/(?:[^\s\p{P}\p{S}]|~)/u,jTe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,fne=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,UTe=Sn(fne,"u").replace(/punct/g,Ry).getRegex(),qTe=Sn(fne,"u").replace(/punct/g,cne).getRegex(),dne="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",BTe=Sn(dne,"gu").replace(/notPunctSpace/g,lne).replace(/punctSpace/g,CP).replace(/punct/g,Ry).getRegex(),VTe=Sn(dne,"gu").replace(/notPunctSpace/g,FTe).replace(/punctSpace/g,$Te).replace(/punct/g,cne).getRegex(),HTe=Sn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,lne).replace(/punctSpace/g,CP).replace(/punct/g,Ry).getRegex(),zTe=Sn(/\\(punct)/,"gu").replace(/punct/g,Ry).getRegex(),WTe=Sn(/^<(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(),GTe=Sn(RP).replace("(?:-->|$)","-->").getRegex(),KTe=Sn("^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",GTe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Bg=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,YTe=Sn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Bg).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),hne=Sn(/^!?\[(label)\]\[(ref)\]/).replace("label",Bg).replace("ref",AP).getRegex(),pne=Sn(/^!?\[(ref)\](?:\[\])?/).replace("ref",AP).getRegex(),XTe=Sn("reflink|nolink(?!\\()","g").replace("reflink",hne).replace("nolink",pne).getRegex(),OP={_backpedal:gh,anyPunctuation:zTe,autolink:WTe,blockSkip:jTe,br:une,code:LTe,del:gh,emStrongLDelim:UTe,emStrongRDelimAst:BTe,emStrongRDelimUnd:HTe,escape:DTe,link:YTe,nolink:pne,punctuation:MTe,reflink:hne,reflinkSearch:XTe,tag:KTe,text:NTe,url:gh},QTe={...OP,link:Sn(/^!?\[(label)\]\((.*?)\)/).replace("label",Bg).getRegex(),reflink:Sn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Bg).getRegex()},bC={...OP,emStrongRDelimAst:VTe,emStrongLDelim:qTe,url:Sn(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},JTe={...bC,br:Sn(une).replace("{2,}","*").getRegex(),text:Sn(bC.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},qv={normal:xP,gfm:PTe,pedantic:kTe},th={normal:OP,gfm:bC,breaks:JTe,pedantic:QTe},ZTe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},lY=e=>ZTe[e];function vs(e,t){if(t){if(ha.escapeTest.test(e))return e.replace(ha.escapeReplace,lY)}else if(ha.escapeTestNoEncode.test(e))return e.replace(ha.escapeReplaceNoEncode,lY);return e}function cY(e){try{e=encodeURI(e).replace(ha.percentDecode,"%")}catch{return null}return e}function fY(e,t){var o;const r=e.replace(ha.findPipe,(a,u,l)=>{let f=!1,d=u;for(;--d>=0&&l[d]==="\\";)f=!f;return f?"|":" |"}),n=r.split(ha.splitPipe);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!((o=n.at(-1))!=null&&o.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(ha.slashPipe,"|");return n}function rh(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 eAe(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 dY(e,t,r,n,i){const o=t.href,a=t.title||null,u=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const l={type:"link",raw:r,href:o,title:a,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,l}return{type:"image",raw:r,href:o,title:a,text:u}}function tAe(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
142
+ `).map(o=>{const a=o.match(r.other.beginningSpace);if(a===null)return o;const[u]=a;return u.length>=i.length?o.slice(i.length):o}).join(`
143
+ `)}class Vg{constructor(t){un(this,"options");un(this,"rules");un(this,"lexer");this.options=t||Oc}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:rh(n,`
144
+ `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=tAe(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=rh(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:rh(r[0],`
145
+ `)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=rh(r[0],`
146
+ `).split(`
147
+ `),i="",o="";const a=[];for(;n.length>0;){let u=!1;const l=[];let f;for(f=0;f<n.length;f++)if(this.rules.other.blockquoteStart.test(n[f]))l.push(n[f]),u=!0;else if(!u)l.push(n[f]);else break;n=n.slice(f);const d=l.join(`
148
+ `),h=d.replace(this.rules.other.blockquoteSetextReplace,`
149
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
150
+ ${d}`:d,o=o?`${o}
151
+ ${h}`:h;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,a,!0),this.lexer.state.top=p,n.length===0)break;const m=a.at(-1);if((m==null?void 0:m.type)==="code")break;if((m==null?void 0:m.type)==="blockquote"){const S=m,E=S.raw+`
152
+ `+n.join(`
153
+ `),_=this.blockquote(E);a[a.length-1]=_,i=i.substring(0,i.length-S.raw.length)+_.raw,o=o.substring(0,o.length-S.text.length)+_.text;break}else if((m==null?void 0:m.type)==="list"){const S=m,E=S.raw+`
154
+ `+n.join(`
155
+ `),_=this.list(E);a[a.length-1]=_,i=i.substring(0,i.length-m.raw.length)+_.raw,o=o.substring(0,o.length-S.raw.length)+_.raw,n=E.substring(a.at(-1).raw.length).split(`
156
+ `);continue}}return{type:"blockquote",raw:i,tokens:a,text:o}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,o={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 a=this.rules.other.listItemRegex(n);let u=!1;for(;t;){let f=!1,d="",h="";if(!(r=a.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let p=r[2].split(`
157
+ `,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),m=t.split(`
158
+ `,1)[0],S=!p.trim(),E=0;if(this.options.pedantic?(E=2,h=p.trimStart()):S?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,h=p.slice(E),E+=r[1].length),S&&this.rules.other.blankLine.test(m)&&(d+=m+`
159
+ `,t=t.substring(m.length+1),f=!0),!f){const T=this.rules.other.nextBulletRegex(E),C=this.rules.other.hrRegex(E),x=this.rules.other.fencesBeginRegex(E),R=this.rules.other.headingBeginRegex(E),P=this.rules.other.htmlBeginRegex(E);for(;t;){const y=t.split(`
160
+ `,1)[0];let N;if(m=y,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),N=m):N=m.replace(this.rules.other.tabCharGlobal," "),x.test(m)||R.test(m)||P.test(m)||T.test(m)||C.test(m))break;if(N.search(this.rules.other.nonSpaceChar)>=E||!m.trim())h+=`
161
+ `+N.slice(E);else{if(S||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||x.test(p)||R.test(p)||C.test(p))break;h+=`
162
+ `+m}!S&&!m.trim()&&(S=!0),d+=y+`
163
+ `,t=t.substring(y.length+1),p=N.slice(E)}}o.loose||(u?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(u=!0));let _=null,w;this.options.gfm&&(_=this.rules.other.listIsTask.exec(h),_&&(w=_[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!_,checked:w,loose:!1,text:h,tokens:[]}),o.raw+=d}const l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let f=0;f<o.items.length;f++)if(this.lexer.state.top=!1,o.items[f].tokens=this.lexer.blockTokens(o.items[f].text,[]),!o.loose){const d=o.items[f].tokens.filter(p=>p.type==="space"),h=d.length>0&&d.some(p=>this.rules.other.anyLine.test(p.raw));o.loose=h}if(o.loose)for(let f=0;f<o.items.length;f++)o.items[f].loose=!0;return o}}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"):"",o=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:o}}}table(t){var u;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=fY(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(u=r[3])!=null&&u.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
164
+ `):[],a={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const l of i)this.rules.other.tableAlignRight.test(l)?a.align.push("right"):this.rules.other.tableAlignCenter.test(l)?a.align.push("center"):this.rules.other.tableAlignLeft.test(l)?a.align.push("left"):a.align.push(null);for(let l=0;l<n.length;l++)a.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:a.align[l]});for(const l of o)a.rows.push(fY(l,a.header.length).map((f,d)=>({text:f,tokens:this.lexer.inline(f),header:!1,align:a.align[d]})));return a}}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)===`
165
+ `?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 a=rh(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{const a=eAe(r[2],"()");if(a>-1){const l=(r[0].indexOf("!")===0?5:4)+r[1].length+a;r[2]=r[2].substring(0,a),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let i=r[2],o="";if(this.options.pedantic){const a=this.rules.other.pedanticHrefTitle.exec(i);a&&(i=a[1],o=a[3])}else o=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)),dY(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.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," "),o=r[i.toLowerCase()];if(!o){const a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return dY(n,o,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 a=[...i[0]].length-1;let u,l,f=a,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+a);(i=h.exec(r))!=null;){if(u=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!u)continue;if(l=[...u].length,i[3]||i[4]){f+=l;continue}else if((i[5]||i[6])&&a%3&&!((a+l)%3)){d+=l;continue}if(f-=l,f>0)continue;l=Math.min(l,l+f+d);const p=[...i[0]][0].length,m=t.slice(0,a+i.index+p+l);if(Math.min(a,l)%2){const E=m.slice(1,-1);return{type:"em",raw:m,text:E,tokens:this.lexer.inlineTokens(E)}}const S=m.slice(2,-2);return{type:"strong",raw:m,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),o=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&o&&(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,o;if(r[2]==="@")i=r[0],o="mailto:"+i;else{let a;do a=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(a!==r[0]);i=r[0],r[1]==="www."?o="http://"+r[0]:o=r[0]}return{type:"link",raw:r[0],text:i,href:o,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 Ao{constructor(t){un(this,"tokens");un(this,"options");un(this,"state");un(this,"tokenizer");un(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Oc,this.options.tokenizer=this.options.tokenizer||new Vg,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:ha,block:qv.normal,inline:th.normal};this.options.pedantic?(r.block=qv.pedantic,r.inline=th.pedantic):this.options.gfm&&(r.block=qv.gfm,this.options.breaks?r.inline=th.breaks:r.inline=th.gfm),this.tokenizer.rules=r}static get rules(){return{block:qv,inline:th}}static lex(t,r){return new Ao(r).lex(t)}static lexInline(t,r){return new Ao(r).inlineTokens(t)}lex(t){t=t.replace(ha.carriageReturn,`
166
+ `),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,o,a;for(this.options.pedantic&&(t=t.replace(ha.tabCharGlobal," ").replace(ha.spaceLine,""));t;){let u;if((o=(i=this.options.extensions)==null?void 0:i.block)!=null&&o.some(f=>(u=f.call({lexer:this},t,r))?(t=t.substring(u.raw.length),r.push(u),!0):!1))continue;if(u=this.tokenizer.space(t)){t=t.substring(u.raw.length);const f=r.at(-1);u.raw.length===1&&f!==void 0?f.raw+=`
167
+ `:r.push(u);continue}if(u=this.tokenizer.code(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
168
+ `+u.raw,f.text+=`
169
+ `+u.text,this.inlineQueue.at(-1).src=f.text):r.push(u);continue}if(u=this.tokenizer.fences(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.heading(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.hr(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.blockquote(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.list(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.html(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.def(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
170
+ `+u.raw,f.text+=`
171
+ `+u.raw,this.inlineQueue.at(-1).src=f.text):this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title});continue}if(u=this.tokenizer.table(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.lheading(t)){t=t.substring(u.raw.length),r.push(u);continue}let l=t;if((a=this.options.extensions)!=null&&a.startBlock){let f=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&&(f=Math.min(f,h))}),f<1/0&&f>=0&&(l=t.substring(0,f+1))}if(this.state.top&&(u=this.tokenizer.paragraph(l))){const f=r.at(-1);n&&(f==null?void 0:f.type)==="paragraph"?(f.raw+=`
172
+ `+u.raw,f.text+=`
173
+ `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(u),n=l.length!==t.length,t=t.substring(u.raw.length);continue}if(u=this.tokenizer.text(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=`
174
+ `+u.raw,f.text+=`
175
+ `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(u);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var u,l,f;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 o=!1,a="";for(;t;){o||(a=""),o=!1;let d;if((l=(u=this.options.extensions)==null?void 0:u.inline)!=null&&l.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,a)){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((f=this.options.extensions)!=null&&f.startInline){let p=1/0;const m=t.slice(1);let S;this.options.extensions.startInline.forEach(E=>{S=E.call({lexer:this},m),typeof S=="number"&&S>=0&&(p=Math.min(p,S))}),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)!=="_"&&(a=d.raw.slice(-1)),o=!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 Hg{constructor(t){un(this,"options");un(this,"parser");this.options=t||Oc}space(t){return""}code({text:t,lang:r,escaped:n}){var a;const i=(a=(r||"").match(ha.notSpaceStart))==null?void 0:a[0],o=t.replace(ha.endingNewline,"")+`
176
+ `;return i?'<pre><code class="language-'+vs(i)+'">'+(n?o:vs(o,!0))+`</code></pre>
177
+ `:"<pre><code>"+(n?o:vs(o,!0))+`</code></pre>
178
+ `}blockquote({tokens:t}){return`<blockquote>
179
+ ${this.parser.parse(t)}</blockquote>
180
+ `}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
181
+ `}hr(t){return`<hr>
182
+ `}list(t){const r=t.ordered,n=t.start;let i="";for(let u=0;u<t.items.length;u++){const l=t.items[u];i+=this.listitem(l)}const o=r?"ol":"ul",a=r&&n!==1?' start="'+n+'"':"";return"<"+o+a+`>
183
+ `+i+"</"+o+`>
184
+ `}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+" "+vs(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>
185
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
186
+ `}table(t){let r="",n="";for(let o=0;o<t.header.length;o++)n+=this.tablecell(t.header[o]);r+=this.tablerow({text:n});let i="";for(let o=0;o<t.rows.length;o++){const a=t.rows[o];n="";for(let u=0;u<a.length;u++)n+=this.tablecell(a[u]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
187
+ <thead>
188
+ `+r+`</thead>
189
+ `+i+`</table>
190
+ `}tablerow({text:t}){return`<tr>
191
+ ${t}</tr>
192
+ `}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
193
+ `}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>${vs(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),o=cY(t);if(o===null)return i;t=o;let a='<a href="'+t+'"';return r&&(a+=' title="'+vs(r)+'"'),a+=">"+i+"</a>",a}image({href:t,title:r,text:n}){const i=cY(t);if(i===null)return vs(n);t=i;let o=`<img src="${t}" alt="${n}"`;return r&&(o+=` title="${vs(r)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:vs(t.text)}}class IP{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 Ro{constructor(t){un(this,"options");un(this,"renderer");un(this,"textRenderer");this.options=t||Oc,this.options.renderer=this.options.renderer||new Hg,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new IP}static parse(t,r){return new Ro(r).parse(t)}static parseInline(t,r){return new Ro(r).parseInline(t)}parse(t,r=!0){var i,o;let n="";for(let a=0;a<t.length;a++){const u=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[u.type]){const f=u,d=this.options.extensions.renderers[f.type].call({parser:this},f);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type)){n+=d||"";continue}}const l=u;switch(l.type){case"space":{n+=this.renderer.space(l);continue}case"hr":{n+=this.renderer.hr(l);continue}case"heading":{n+=this.renderer.heading(l);continue}case"code":{n+=this.renderer.code(l);continue}case"table":{n+=this.renderer.table(l);continue}case"blockquote":{n+=this.renderer.blockquote(l);continue}case"list":{n+=this.renderer.list(l);continue}case"html":{n+=this.renderer.html(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let f=l,d=this.renderer.text(f);for(;a+1<t.length&&t[a+1].type==="text";)f=t[++a],d+=`
194
+ `+this.renderer.text(f);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 f='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}parseInline(t,r=this.renderer){var i,o;let n="";for(let a=0;a<t.length;a++){const u=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[u.type]){const f=this.options.extensions.renderers[u.type].call({parser:this},u);if(f!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)){n+=f||"";continue}}const l=u;switch(l.type){case"escape":{n+=r.text(l);break}case"html":{n+=r.html(l);break}case"link":{n+=r.link(l);break}case"image":{n+=r.image(l);break}case"strong":{n+=r.strong(l);break}case"em":{n+=r.em(l);break}case"codespan":{n+=r.codespan(l);break}case"br":{n+=r.br(l);break}case"del":{n+=r.del(l);break}case"text":{n+=r.text(l);break}default:{const f='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}}class mh{constructor(t){un(this,"options");un(this,"block");this.options=t||Oc}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ao.lex:Ao.lexInline}provideParser(){return this.block?Ro.parse:Ro.parseInline}}un(mh,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class vne{constructor(...t){un(this,"defaults",bP());un(this,"options",this.setOptions);un(this,"parse",this.parseMarkdown(!0));un(this,"parseInline",this.parseMarkdown(!1));un(this,"Parser",Ro);un(this,"Renderer",Hg);un(this,"TextRenderer",IP);un(this,"Lexer",Ao);un(this,"Tokenizer",Vg);un(this,"Hooks",mh);this.use(...t)}walkTokens(t,r){var i,o;let n=[];for(const a of t)switch(n=n.concat(r.call(this,a)),a.type){case"table":{const u=a;for(const l of u.header)n=n.concat(this.walkTokens(l.tokens,r));for(const l of u.rows)for(const f of l)n=n.concat(this.walkTokens(f.tokens,r));break}case"list":{const u=a;n=n.concat(this.walkTokens(u.items,r));break}default:{const u=a;(o=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&o[u.type]?this.defaults.extensions.childTokens[u.type].forEach(l=>{const f=u[l].flat(1/0);n=n.concat(this.walkTokens(f,r))}):u.tokens&&(n=n.concat(this.walkTokens(u.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(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const a=r.renderers[o.name];a?r.renderers[o.name]=function(...u){let l=o.renderer.apply(this,u);return l===!1&&(l=a.apply(this,u)),l}:r.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const a=r[o.level];a?a.unshift(o.tokenizer):r[o.level]=[o.tokenizer],o.start&&(o.level==="block"?r.startBlock?r.startBlock.push(o.start):r.startBlock=[o.start]:o.level==="inline"&&(r.startInline?r.startInline.push(o.start):r.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(r.childTokens[o.name]=o.childTokens)}),i.extensions=r),n.renderer){const o=this.defaults.renderer||new Hg(this.defaults);for(const a in n.renderer){if(!(a in o))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;const u=a,l=n.renderer[u],f=o[u];o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h||""}}i.renderer=o}if(n.tokenizer){const o=this.defaults.tokenizer||new Vg(this.defaults);for(const a in n.tokenizer){if(!(a in o))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;const u=a,l=n.tokenizer[u],f=o[u];o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h}}i.tokenizer=o}if(n.hooks){const o=this.defaults.hooks||new mh;for(const a in n.hooks){if(!(a in o))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;const u=a,l=n.hooks[u],f=o[u];mh.passThroughHooks.has(a)?o[u]=d=>{if(this.defaults.async)return Promise.resolve(l.call(o,d)).then(p=>f.call(o,p));const h=l.call(o,d);return f.call(o,h)}:o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h}}i.hooks=o}if(n.walkTokens){const o=this.defaults.walkTokens,a=n.walkTokens;i.walkTokens=function(u){let l=[];return l.push(a.call(this,u)),o&&(l=l.concat(o.call(this,u))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ao.lex(t,r??this.defaults)}parser(t,r){return Ro.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const o={...i},a={...this.defaults,...o},u=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&o.async===!1)return u(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 u(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=t);const l=a.hooks?a.hooks.provideLexer():t?Ao.lex:Ao.lexInline,f=a.hooks?a.hooks.provideParser():t?Ro.parse:Ro.parseInline;if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then(d=>l(d,a)).then(d=>a.hooks?a.hooks.processAllTokens(d):d).then(d=>a.walkTokens?Promise.all(this.walkTokens(d,a.walkTokens)).then(()=>d):d).then(d=>f(d,a)).then(d=>a.hooks?a.hooks.postprocess(d):d).catch(u);try{a.hooks&&(n=a.hooks.preprocess(n));let d=l(n,a);a.hooks&&(d=a.hooks.processAllTokens(d)),a.walkTokens&&this.walkTokens(d,a.walkTokens);let h=f(d,a);return a.hooks&&(h=a.hooks.postprocess(h)),h}catch(d){return u(d)}}}onError(t,r){return n=>{if(n.message+=`
195
+ Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+vs(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const nc=new vne;function xn(e,t){return nc.parse(e,t)}xn.options=xn.setOptions=function(e){return nc.setOptions(e),xn.defaults=nc.defaults,ine(xn.defaults),xn};xn.getDefaults=bP;xn.defaults=Oc;xn.use=function(...e){return nc.use(...e),xn.defaults=nc.defaults,ine(xn.defaults),xn};xn.walkTokens=function(e,t){return nc.walkTokens(e,t)};xn.parseInline=nc.parseInline;xn.Parser=Ro;xn.parser=Ro.parse;xn.Renderer=Hg;xn.TextRenderer=IP;xn.Lexer=Ao;xn.lexer=Ao.lex;xn.Tokenizer=Vg;xn.Hooks=mh;xn.parse=xn;xn.options;xn.setOptions;xn.use;xn.walkTokens;xn.parseInline;Ro.parse;Ao.lex;const rAe="_container_1hbtl_1",nAe={container:rAe},hY="markdown-link",TC=new vne;let nh;const pY=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,iAe=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;TC.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(pY))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(pY);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>nh?nh.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(iAe);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>nh?nh.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 _n(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([0,1]));nh=t}}});const gne={isLink(e){return e.classList.contains(hY)},async parse(e,t){if(!e)return"";const r=await TC.parse(e,{renderer:gne.getRenderer(t)});return rC.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return rC.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new TC.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 ${hY}" ${i}>${n}</a>`},t},getContainerClass(){return nAe.container}},aAe="shared.shared-utils",zg=Lr.encloseNamespace(aAe),oAe=70,_x=160,sAe=/^(.*)\s/,vY="pageTitle",gY="pageDescription",Ex="YYYY-MM-DD",ff={AU:"au",ENGLAND:"gb",US:"us"},uAe={[ff.AU]:kl.AU,[ff.ENGLAND]:kl.UK,[ff.US]:kl.US,[kl.AU]:ff.AU,[kl.UK]:ff.ENGLAND,[kl.US]:ff.US};function mY(e){return e?e.substring(0,e.length-3)+"...":""}function lAe(e,t){return e?e.substring(0,t):""}function cAe(e,t,r){if(!e)return"";const n=t-r;if(e.length<=n)return e;const i=e.slice(0,n),o=i.match(sAe);return o?o[1]:i}function ju({title:e,phraseContext:t,product:r}){var o;if(!e)return"";if(!t)return zg(vY,{title:e,product:r});const n=((o=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:o.length)??0,i=oAe-n;return e.length>=i?zg(vY,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Uu({title:e,description:t,phraseContext:r}){var l,f;const n=mY(lAe(t||e,_x));if(!r)return zg(gY,{description:n});const i=((l=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:l.length)??0,o=_x-i;if((e==null?void 0:e.length)>=o)return zg(gY,{description:n});const a=((f=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:f.length)??0,u=mY(cAe(t,_x,a));return r.phraseHandler(r.descriptionPhrase,{title:e,description:u})}function fAe(e,t){return(e==null?void 0:e.reduce((r,n)=>{var o,a;const i=(o=uAe[n.contentRegion])==null?void 0:o.toUpperCase();return((a=n.id)==null?void 0:a.toString())!==(t==null?void 0:t.toString())||!i?r:[...r,{"@type":"Place",name:i}]},[]))??[]}function dAe(e,t){const r=e!=null&&e.datePublished?Yu.format(e==null?void 0:e.datePublished,Ex):Yu.format(e==null?void 0:e.dateCreated,Ex),n=t!=null&&t.dateModified?Yu.format(t==null?void 0:t.dateModified,Ex):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:STe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function hAe(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:Yu.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${yx.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${yx.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${yx.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:fAe(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function pAe(e,t){const r=[];for(const i of e){const o=await gne.toPlainText(i.answer);r.push({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:o}})}const n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r};return t&&(n.name=t),n}let ps="ClickView";const vAe={setProduct(e){ps=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:o,hrefLang:a,product:u,preload:l}=e;return{title:ju({title:t,phraseContext:i,product:u||ps}),description:Uu({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:o,hrefLang:a,preload:l,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:o,regionAlternatives:a,product:u}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:u||ps}),description:Uu({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:hAe(t,r,a),canonicalLink:r,allowIndexing:i,hrefLang:o,_helperUsed:!0}},getClipMetadata(e){var a;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:o}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:o||ps}),description:Uu({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((a=t==null?void 0:t._parentVideo)==null?void 0:a.description),phraseContext:n}),canonicalLink:r,allowIndexing:i}},getInteractiveMetadata(e){var a;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:o}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:o||ps}),description:Uu({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((a=t==null?void 0:t._parentVideo)==null?void 0:a.description),phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getPlaylistMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:o}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:o||ps}),description:Uu({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:o}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:o||ps}),description:Uu({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:o,hrefLang:a,product:u}=e;function l(){var d,h,p,m;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(m=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:m.title} | ${u||ps}`:ju({title:t==null?void 0:t.name,phraseContext:i,product:u||ps})}function f(){var d,h,p,m;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(m=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:m.description:Uu({title:t==null?void 0:t.name,phraseContext:i})}return{title:l(),description:f(),canonicalLink:n,allowIndexing:o,jsonLd:r&&dAe(t,r),hrefLang:a,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:o,product:a}=e;return{title:ju({title:t==null?void 0:t.name,phraseContext:n,product:a||ps}),description:Uu({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:o,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await pAe(e,t)}};function gAe(e){let t=e;t._helperUsed||(t=vAe.getDefaultMetadata(t)),rne(t.title);const r=Sbe();if(!r.hasProvider)throw nr.throw(new ln("PageMetadataContext must exist in your application to use this hook"));ge.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const Wa={Default:{LOG_OUT:"log:out",LOG_IN:"log:in",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Exchange:{INDEX:"index",FOLDER:"folder",MOST_RECENT:"most:recent",SERIES:"series",SEARCH:"search",PREVIEW:"preview",ADD:"add",SUGGEST_EDIT:"suggest:edit",DOWNLOAD_VIDEO:"download:video",ADD_TO_LIBRARY:"add:to:library"},Tv:{INDEX:"index",CHANNELS:"channels",CHANNEL:"channel",PROGRAMS:"programs",SEARCH:"search",PREVIEW:"preview",ADD:"add",AD_FREE_REQUEST:"ad:free:request",BROADCAST_CONTENT:"broadcast:content",ALREADY_ADDED:"already:added",REQUEST_PROGRAM:"request:program",RADIO_DOWNLOAD:"radio:download",TV_GUIDE:"tv:guide"}},mAe={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",FOLDER:"/images/empty-states/empty-folder-v2.png"},General:{ANNOUNCEMENT_FRAMED:"/images/general/announcement-framed-v2.png",MOUNTAINS_FRAMED:"/images/general/mountains-framed-v2.png",CONFETTI:"/images/general/confetti-v2.png",PAPER_PLANE:"/images/general/paper-plane-v2.png"},ProgramLogos:{FOXTEL:"/images/logos/foxtel.png",BBC:"/images/logos/bbc.png"}},yY="default.error",yAe=33;function mne({error:e}){var n,i;gAe({title:(e==null?void 0:e.heading)||Lr.getPhrase(yY,"defaultPageTitle")});const[t]=ge.useState(Ute.getRandomInt(yAe)+1),r=mAe.ErrorViews.SMALL.replace("{number}",t.toString());return e?ce.jsxs(ms,{children:[ce.jsx(ms.Image,{src:r}),ce.jsx(ms.Heading,{children:e.heading}),!!e.description&&ce.jsx(ms.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&ce.jsx(ms.Cta,{text:((n=e.cta)==null?void 0:n.text)??Lr.getPhrase(yY,"discoverVideos"),className:`info-link ${e.description?"mt-n2":""}`,appLink:((i=e.cta)==null?void 0:i.appLink)??{application:di.EXCHANGE,action:Wa.Exchange.INDEX}})]}):ce.jsx(ce.Fragment,{})}class _Ae extends jI{get channelName(){return di.DEFAULT}get appRoutes(){return{"(/)":"index","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","login(/)":"logIn"}}get appLinks(){return["devError","dialogError","error","notFound","giveFeedback"]}}class EAe extends oP{get name(){return"Default Application"}get layoutOptions(){return{name:wp.DEFAULT_LAYOUT,options:{alertRegion:Wr.ALERT}}}get channelName(){return di.DEFAULT}static get router(){return _Ae}async index(){const{RedirectView:t}=await _n(async()=>{const{RedirectView:r}=await import("./DTtpo7W0.chunk.js");return{RedirectView:r}},[]);this.layout.showChildView(Wr.CONTENT,ce.jsx(t,{}))}catchAllRoutes(){nr.throw(new jte)}notFound(){const t=wr.Radio.channel("error:view").request("current:error");_n(async()=>{const{NotFoundView:r}=await import("./D4CIz80G.chunk.js");return{NotFoundView:r}},[]).then(({NotFoundView:r})=>{this.layout.showChildView(Wr.CONTENT,ce.jsx(r,{error:t}))})}error(){const t=wr.Radio.channel("error:view").request("current:error");this.layout.showChildView(Wr.CONTENT,ce.jsx(mne,{error:t}))}dialogError(){const t=wr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t;_n(async()=>{const{DialogView:n}=await import("./tjMjOV-C.chunk.js");return{DialogView:n}},[]).then(({DialogView:n})=>{this.layout.showChildView(Wr.POPUP,ce.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const t=wr.Radio.channel("error:view").request("current:error");_n(async()=>{const{DevErrorView:r}=await import("./CePx6UH8.chunk.js");return{DevErrorView:r}},[]).then(({DevErrorView:r})=>{this.layout.showChildView(Wr.CONTENT,ce.jsx(r,{error:t}))})}giveFeedback(){_n(async()=>{const{GiveFeedbackView:t}=await import("./CUSpSpZ7.chunk.js");return{GiveFeedbackView:t}},__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])).then(({GiveFeedbackView:t})=>{this.layout.showChildView(Wr.POPUP,ce.jsx(t,{product:za.Exchange,closePopup:()=>this.layout.closePopup()}))})}}var yne=(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))(yne||{});const _ne={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},SAe=5,wAe=3;class bAe extends Fa{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return _ne.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(tn.SHELL,an.ROUTE,this.setContext),this.listenTo(tn.SHELL,an.ROUTE,this.updateRouteHistory)}setContext(t){var r;ni.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=SAe&&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;ni.getHref(t)&&(ni.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=wAe&&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 PP=new bAe,Ene={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:Ene.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 Yo=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Yo||{});class kP{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=Ene.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 TAe extends kP{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class AAe extends kP{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class RAe extends kP{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const xi=TAe.Instance,Wg=AAe.Instance,_Y=RAe.Instance;var Wo=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(Wo||{});const xAe=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,CAe=Wo.RecentlyAdded,EY={getValidSortTypeFromParam(e){return Object.values(Wo).includes(e)?e:Wo.Newest},getOrSetSortType(e,t,r,n){const i=xAe(e,n);return(t||!xi.cacheExists(i))&&xi.cacheSet(i,t||r||CAe),t||(t=xi.cacheGet(i)),t},getVideoSortParam(e){switch(e){case Wo.AtoZ:return"orderby:name";case Wo.ZtoA:return"orderbydesc:name";case Wo.Newest:return"orderbydesc:datecreated";case Wo.Oldest:return"orderby:datecreated";case Wo.RecentlyAdded:return"orderbydesc:timestamp";case Wo.Series:return"orderby:seriessort";case Wo.ProductionYear:return"orderbydesc:productionyear";default:return}}},tl={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"}}},Xl={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},DP={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:Xl.PRODUCTS}}};let Sx=!1,wx=!1,bx=!1,Tx=!0,Ax=!0;class OAe extends Fa{get name(){return"LayoutHelper"}shouldHideNav(){return Sx}disableNav(){Sx=!0}enableNav(){Sx=!1}shouldHideHeader(){return wx}disableHeader(){wx=!0}enableHeader(){wx=!1}lockContentWidth(){bx=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){bx=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!bx}shouldShowSearch(){return Ax}enableSearch(){Ax=!0}disableSearch(){Ax=!1}enableLogoClick(){Tx=!0}disableLogoClick(){Tx=!1}shouldAllowLogoClick(){return Tx}}const Sne=new OAe,SY="exchangeShared.noAccess";class IAe extends my{constructor(r){super("Current user's school does not have access to Exchange");un(this,"config");this.config=r}get name(){return"NoAccessError"}get heading(){return Lr.getPhrase(SY,"heading")}get description(){return Lr.getPhrase(SY,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}const PAe=[{application:di.DEFAULT,action:Wa.Default.ERROR},{application:di.DEFAULT,action:Wa.Default.DEV_ERROR},{application:di.DEFAULT,action:Wa.Default.LOG_IN},{application:di.DEFAULT,action:Wa.Default.LOG_OUT}],kAe=PAe.reduce((e,t)=>(e[wne(t)]=!0,e),{});function wne(e){return e.application+e.action}function wY(e,t){PP._forcePushContext(e),Sne.disableNav(),Go.routingEnded(),nr.throw(t??new Uf)}async function bne(e,t){const{appLink:r,shell:n}=e;try{if((await QW(n.store,DP.userProducts())).find(a=>a.id===za.Exchange)){t(e);return}if(kAe[wne(e.appLink)]){Sne.disableNav(),t(e);return}const o=await QW(n.store,tl.config());wY(r,new IAe(o))}catch{wY(r)}}class DAe extends jI{get channelName(){return di.EXCHANGE}get appRoutes(){return{"exchange(/)":"index","exchange/folders/:id(/:slug)":"folder","exchange/series/:id(/:slug)":"series","exchange/search(/)":"search","exchange/most-recent(/)":"mostRecent","exchange/videos/:id(/)":"preview"}}get appLinks(){return["add","suggestEdit","downloadVideo","addToLibrary"]}get filters(){return[bne]}}class bY extends oP{get name(){return"Exchange Application"}get layoutOptions(){return{name:wp.DEFAULT_LAYOUT,options:{alertRegion:Wr.ALERT}}}get channelName(){return di.EXCHANGE}static get router(){return DAe}async index(){const{ExchangeView:t}=await _n(async()=>{const{ExchangeView:r}=await import("./BietNZU2.chunk.js");return{ExchangeView:r}},__vite__mapDeps([22,23,24,25,26,27,28,29,30,31,32,33,13,34,35,36,37,38,39,18,40,41,42,43,44,45,46,47,48,49,4,50]));this.layout.showChildView(Wr.CONTENT,ce.jsx(t,{}))}async folder(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,o=i&&EY.getValidSortTypeFromParam(i),{ExchangeFolderView:a}=await _n(async()=>{const{ExchangeFolderView:u}=await import("./D-ZSOo7Q.chunk.js");return{ExchangeFolderView:u}},__vite__mapDeps([51,26,27,23,24,25,28,29,30,31,32,33,13,34,35,52,50,36,53,54,19,55,56,57,44,45,46,4,58,43,59,3,60,61,5,12,62,63,38,64,37,39,18,40,41,42,47,48,49,65,66]));this.layout.showChildView(Wr.CONTENT,ce.jsx(a,{folderId:t,sort:o}))}async series(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,o=i&&EY.getValidSortTypeFromParam(i),{ExchangeSeriesView:a}=await _n(async()=>{const{ExchangeSeriesView:u}=await import("./IFRPGDQf.chunk.js");return{ExchangeSeriesView:u}},__vite__mapDeps([67,65,19,66,53,33,13,34,30,31,54,29,32,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,60,61,5,12,26,27,62,63,38,37,48,49,64]));this.layout.showChildView(Wr.CONTENT,ce.jsx(a,{seriesId:t,sort:o}))}async search(t){const{ExchangeSearchResultsView:r}=await _n(async()=>{const{ExchangeSearchResultsView:n}=await import("./BkyZfdvv.chunk.js");return{ExchangeSearchResultsView:n}},__vite__mapDeps([68,29,30,31,32,57,44,45,46,4,58,14,15,33,13,34,16,69,62,9,43,70,52,50,36,28,53,54,19,55,56,59,3,60,61,5,12,26,27,63,71,72,10,49,66,73,39,18,40,64,74,48,38,75]));this.layout.showChildView(Wr.CONTENT,ce.jsx(r,{queryParams:t||{}}))}async mostRecent(){const{ExchangeMostRecentView:t}=await _n(async()=>{const{ExchangeMostRecentView:r}=await import("./BgaIiZcl.chunk.js");return{ExchangeMostRecentView:r}},__vite__mapDeps([76,53,33,13,34,30,31,54,29,32,19,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,60,61,5,12,26,27,62,63,38,39,18,40,41,42,47,48,49,64]));this.layout.showChildView(Wr.CONTENT,ce.jsx(t,{}))}async preview(t,r){const{pageLoad:n}=PP.getCurrentRoute();n&&this.index();const{ExchangePreviewView:i}=await _n(async()=>{const{ExchangePreviewView:o}=await import("./ChiWcyj1.chunk.js");return{ExchangePreviewView:o}},__vite__mapDeps([77,56,58,44,4,78,79,7,17,60,57,45,46,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,64,89]));this.layout.showChildView(Wr.POPUP,ce.jsx(i,{videoId:t,currentTime:r,closePopup:()=>this.layout.closePopup()}))}async add(t){const{ExchangeAddView:r}=await _n(async()=>{const{ExchangeAddView:n}=await import("./C_RBC04Q.chunk.js");return{ExchangeAddView:n}},__vite__mapDeps([90,56,58,44,4,3,48,49,89]));this.layout.showChildView(Wr.POPUP,ce.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(t){const{ExchangeSuggestEditView:r}=await _n(async()=>{const{ExchangeSuggestEditView:n}=await import("./JNMAKyNq.chunk.js");return{ExchangeSuggestEditView:n}},__vite__mapDeps([91,56,92,6,7,8,11,72,74,58,44,4,3,93,48,49,89]));this.layout.showChildView(Wr.POPUP,ce.jsx(r,{videoId:t,closePopup:()=>this.layout.closePopup()}))}downloadVideo(t){_n(async()=>{const{DownloadVideoView:r}=await import("./BF36nt4r.chunk.js");return{DownloadVideoView:r}},__vite__mapDeps([94,80])).then(({DownloadVideoView:r})=>{this.layout.showChildView(Wr.HIDDEN,ce.jsx(r,{id:t}))})}addToLibrary(t){_n(async()=>{const{AddToLibraryView:r}=await import("./Bu8WHAmF.chunk.js");return{AddToLibraryView:r}},__vite__mapDeps([95,17,6,7,8,26,27,24,25,62,36,58,44,4,3,93,57,45,46,96])).then(({AddToLibraryView:r})=>{this.layout.showChildView(Wr.POPUP,ce.jsx(r,{id:t,typeId:yne.Video,closePopup:()=>this.layout.closePopup()}))})}}class LAe extends jI{get channelName(){return di.TV}get appRoutes(){return{"tv(/)":"index","tv/:region/channels(/)":"channels","tv/:region/channels/:channelId(/)":"channel","tv/:region/programs(/)":"programs","tv/:region/search(/)":"search","tv/:region/guide":"tvGuide"}}get appLinks(){return["preview","add","adFreeRequest","broadcastContent","alreadyAdded","requestProgram","radioDownload"]}get filters(){return[bne]}}class TY extends oP{get name(){return"Tv Application"}get layoutOptions(){return{name:wp.DEFAULT_LAYOUT,options:{alertRegion:Wr.ALERT}}}get channelName(){return di.TV}static get router(){return LAe}async index(){const{TvHomeView:t}=await _n(async()=>{const{TvHomeView:r}=await import("./DMCzbHMl.chunk.js");return{TvHomeView:r}},__vite__mapDeps([97,98,37,38,99]));this.layout.showChildView(Wr.CONTENT,ce.jsx(t,{}))}async channels(t){const{TvChannelsView:r}=await _n(async()=>{const{TvChannelsView:n}=await import("./Bo-XjbmT.chunk.js");return{TvChannelsView:n}},__vite__mapDeps([100,37,38,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,105,9,106]));this.layout.showChildView(Wr.CONTENT,ce.jsx(r,{region:t}))}async channel(t,r,n){const{TvChannelView:i}=await _n(async()=>{const{TvChannelView:o}=await import("./D1pufNca.chunk.js");return{TvChannelView:o}},__vite__mapDeps([107,38,37,108,24,25,109,30,31,81,82,85,86,87,101,99,42,43,44,45,46,13,47,102,54,18,103,104,98,110]));this.layout.showChildView(Wr.CONTENT,ce.jsx(i,{region:t,channelId:r,selectedRegion:n.region}))}async programs(t,r){const{TvProgramsView:n}=await _n(async()=>{const{TvProgramsView:i}=await import("./DPtwsIzh.chunk.js");return{TvProgramsView:i}},__vite__mapDeps([111,38,37,108,24,25,109,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,30,31,85,87,112]));this.layout.showChildView(Wr.CONTENT,ce.jsx(n,{region:t,startsWith:r.startsWith}))}async search(t,r){const{TvSearchResultsView:n}=await _n(async()=>{const{TvSearchResultsView:i}=await import("./PzQ6JDDL.chunk.js");return{TvSearchResultsView:i}},__vite__mapDeps([113,71,53,33,13,34,30,31,54,29,32,19,55,5,72,69,62,9,43,44,45,46,16,70,3,10,49,66,73,38,37,102,18,103,99,114,59,104,98,26,27,81,82,83,84,85,86,87,115]));this.layout.showChildView(Wr.CONTENT,ce.jsx(n,{region:t,queryParams:r}))}async preview(t,r,n){const{TvPreviewView:i}=await _n(async()=>{const{TvPreviewView:o}=await import("./CykxXZkx.chunk.js");return{TvPreviewView:o}},__vite__mapDeps([116,78,79,7,17,60,57,44,45,46,4,58,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,99,114,104,38]));this.layout.showChildView(Wr.POPUP,ce.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(t,r,n){const{TvAddView:i}=await _n(async()=>{const{TvAddView:o}=await import("./RJLacO7e.chunk.js");return{TvAddView:o}},__vite__mapDeps([117,78,99,3,118]));this.layout.showChildView(Wr.POPUP,ce.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(t,r){const{TvAdFreeRequestView:n}=await _n(async()=>{const{TvAdFreeRequestView:i}=await import("./DYgHg3xX.chunk.js");return{TvAdFreeRequestView:i}},__vite__mapDeps([119,78,99,104,38]));this.layout.showChildView(Wr.POPUP,ce.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(t){const{TvBroadcastContentView:r}=await _n(async()=>{const{TvBroadcastContentView:n}=await import("./B3-JqlcP.chunk.js");return{TvBroadcastContentView:n}},__vite__mapDeps([120,99,86,121]));this.layout.showChildView(Wr.POPUP,ce.jsx(r,{region:t,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(t){const{TvAlreadyAddedView:r}=await _n(async()=>{const{TvAlreadyAddedView:n}=await import("./DqCESxCM.chunk.js");return{TvAlreadyAddedView:n}},__vite__mapDeps([122,123]));this.layout.showChildView(Wr.POPUP,ce.jsx(r,{params:t,closePopup:()=>this.layout.closePopup()}))}async requestProgram(t,r){const{TvRequestProgramView:n}=await _n(async()=>{const{TvRequestProgramView:i}=await import("./MwatUxhm.chunk.js");return{TvRequestProgramView:i}},__vite__mapDeps([124,6,7,8,9,3,93,99,105,92]));this.layout.showChildView(Wr.POPUP,ce.jsx(n,{region:t,instanceRegion:r,closePopup:()=>this.layout.closePopup()}))}async radioDownload(t,r){const{TvRadioDownloadView:n}=await _n(async()=>{const{TvRadioDownloadView:i}=await import("./CRO8NV-g.chunk.js");return{TvRadioDownloadView:i}},__vite__mapDeps([125,85,86,87,99]));this.layout.showChildView(Wr.POPUP,ce.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async tvGuide(t){const{TvGuideView:r}=await _n(async()=>{const{TvGuideView:n}=await import("./CIkmhMNR.chunk.js");return{TvGuideView:n}},__vite__mapDeps([126,101,86,99,42,43,44,45,46,13,47,102,54,18,103,98,37,38]));this.layout.showChildView(Wr.CONTENT,ce.jsx(r,{region:t}))}}async function NAe(e,t){var r;try{const i=(r=(await Da(e.store,Ul.customerSettings()))[fr.ExchangeTvProductOption])==null?void 0:r.value;switch(e.registerApplication(EAe),i){case"exchange":{e.registerApplication(bY),t(e);return}case"tv":{e.registerApplication(TY),t(e);return}case"exchange_and_tv":{e.registerApplication(bY).registerApplication(TY),t(e);return}}}catch{nr.throw(new Uf)}}var Ko=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Ko||{}),MAe=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(MAe||{});class $Ae extends Fa{constructor(t){super(t)}initialize(){this.alertCollection=new ny,this.listenTo(tn.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return vy.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=wr.Radio.channel(tn.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=fa({},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=fa({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new nu(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?gs(()=>this.createAlert(fa({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?gs((r,n)=>this.createAlert(fa({},this.options.defaultSuccessAlert,{message:n})),this):gs(()=>this.createAlert(fa({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?gs(()=>this.createAlert(fa({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?gs(r=>this.createAlert(fa({},this.options.defaultErrorAlert,{message:r.message})),this):gs(()=>this.createAlert(fa({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return uI("alert_")}}class FAe extends Fa{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():nr.throw(new ln(`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]=()=>qr(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]||nr.throw(new ln(`${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||nr.throw(new ln(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&nr.throw(new ln(`A class with the name: ${r} has already been registered with ${this.name}`))}}const Js=FAe.Instance;class Ic extends ry{constructor(t){super(t),this.dialogOptions||nr.throw(new ln("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const Bv="shared.chunkLoadError",jAe=/\/([^\s/]+\.css)/,UAe=/\/([^\s/]+\.js)/;class AY extends Ic{constructor(t,r,n){super(Lr.getPhrase(Bv,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:Lr.getPhrase(Bv,"heading",{product:this.product}),text:Lr.getPhrase(Bv,"body"),buttons:[{text:Lr.getPhrase(Bv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){En.Reload()}}function qAe(e,t){window.addEventListener("error",r=>{var u,l;const n=((u=r==null?void 0:r.target)==null?void 0:u.src)||((l=r==null?void 0:r.target)==null?void 0:l.href);if(!n)return;const i=f=>(f==null?void 0:f[1])??"Unknown Chunk",o=n.match(UAe);if(o&&n.includes("/scripts/")&&n.includes(".chunk.js")){nr.throw(new AY(e,i(o),t));return}const a=n.match(jAe);if(a&&n.includes("/css/")&&n.includes(".chunk.css")){nr.throw(new AY(e,i(a),t));return}},!0)}class Tne extends ry{get name(){return"AlertError"}}const AC={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"};function BAe(e){Js.getInstance(vy.ALERT).createAlert({heading:AC.Fail,type:Ko.Fail,message:e.message})}function VAe(e){wr.Radio.channel("error:view").replyOnce("current:error",()=>e),ni.trigger({application:di.DEFAULT,action:Wa.Default.NOT_FOUND})}function RY(e){wr.Radio.channel("error:view").replyOnce("current:error",()=>e),ni.trigger({application:di.DEFAULT,action:Wa.Default.ERROR})}function HAe(e){wr.Radio.channel("error:view").replyOnce("current:error",()=>e),ni.trigger({application:di.DEFAULT,action:Wa.Default.DIALOG_ERROR})}function zAe(e,t){e.registerErrorHandler(my,RY).registerErrorHandler(Ic,HAe).registerErrorHandler(Tne,BAe).registerErrorHandler(jte,VAe).registerErrorHandler(Uf,RY),qAe("dark"),t(e)}class WAe extends Aye{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return Sr&&Sr.isValidElement(t)}showChildView(t,r,n){if(this.isReactComponent(r)){this.showChildReactComponent(t,r),this.isReactComponentRendered[t]=!0;return}this.isReactComponentRendered[t]&&this.unmountRoot(t),super.showChildView(t,r,n),this.isReactComponentRendered[t]=!1}showChildReactComponent(t,r){if(this.isAttached()){this.renderChildReactComponent(t,r);return}this.listenToOnce(this,"attach",()=>this.renderChildReactComponent(t,r))}renderChildReactComponent(t,r){const n=this.getRegion(t),i=this.$el.find(n.el);!i||!i.length||(n.trigger("before:show"),this.regionRoots[t]||(this.regionRoots[t]=SP.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 ce.jsx(_te,{store:this.options.store,children:t})}}class Rx extends Sr.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(nr.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 ce.jsx(r,{})}return t||!this.props.children?ce.jsx(ce.Fragment,{}):this.props.children}}function GAe(e){return document.querySelector(`.${e}`)}const KAe=Sr.createContext(null);function YAe(e){const[t,r]=Sr.useState();return Sr.useEffect(()=>{r(GAe(e.containerClassName))},[]),ce.jsx(KAe.Provider,{value:{container:t},children:e.children})}function df(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 XAe=Sr.createContext({}),QAe=e=>{const t=df("(max-width: 575.98px)"),r=df("(min-width: 576px) and (max-width: 767.98px)"),n=df("(min-width: 768px) and (max-width: 991.98px)"),i=df("(min-width: 992px) and (max-width: 1199.98px)"),o=df("(min-width: 1200px) and (max-width: 1439.98px)"),a=df("(min-width: 1440px)"),u=Sr.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:o,xxl:a}),[t,r,n,i,o,a]);return ce.jsx(XAe.Provider,{value:u,children:e.children})},xx="shared.unspecifiedDialogError";class JAe extends Ic{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:Lr.getPhrase(xx,"title"),text:Lr.getPhrase(xx,"body"),buttons:[{text:Lr.getPhrase(xx,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const Zs={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},fh={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"};function ZAe(e){const t=e.showSpinner?ce.jsx(Ty,{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"),ce.jsx(Cf,{title:e.tooltip,spanHack:!0,children:ce.jsx(_C,{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 ce.jsx(_C,{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 ce.jsx(Cf,{title:e.tooltip,spanHack:!0,children:ce.jsx(Ja,{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 ce.jsx(Ja,{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&&ga.logUserAction(e.analyticsData,e.analyticsOptions),Qa.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?ce.jsx(Cf,{title:e.tooltip,spanHack:!0,children:ce.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})}):ce.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const eRe=(e,t,r,n=[])=>{const i=typeof e=="string"?wr.Radio.channel(e):e;ge.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function tRe(){return ce.jsx("div",{className:"text-center p-5",children:ce.jsx(Ty,{as:"div",animation:"border",role:"status"})})}Ane.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Ane(e){var n;rne(e.title);const t=(i,o)=>{!e.closeOnNavigate||!o.isAppRoute||e.closePopup()};eRe(tn.SHELL,an.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,o)=>ce.jsx(ZAe,{...i},o)):ce.jsx(ce.Fragment,{});return ce.jsxs(Mv,{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&&ce.jsxs(Mv.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[ce.jsx(Mv.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?ce.jsx(tRe,{}):ce.jsx(Mv.Body,{className:e.bodyClassName,children:e.children})]})}var Cx,xY;function rRe(){if(xY)return Cx;xY=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){var u=e(o),l=e(a),f,d,h;if(u&&l){if(d=o.length,d!=a.length)return!1;for(f=d;f--!==0;)if(!i(o[f],a[f]))return!1;return!0}if(u!=l)return!1;var p=o instanceof Date,m=a instanceof Date;if(p!=m)return!1;if(p&&m)return o.getTime()==a.getTime();var S=o instanceof RegExp,E=a instanceof RegExp;if(S!=E)return!1;if(S&&E)return o.toString()==a.toString();var _=t(o);if(d=_.length,d!==t(a).length)return!1;for(f=d;f--!==0;)if(!r.call(a,_[f]))return!1;if(n&&o instanceof Element&&a instanceof Element)return o===a;for(f=d;f--!==0;)if(h=_[f],!(h==="_owner"&&o.$$typeof)&&!i(o[h],a[h]))return!1;return!0}return o!==o&&a!==a}return Cx=function(a,u){try{return i(a,u)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},Cx}var nRe=rRe();const Hu=Cn(nRe);var iRe=function(t){return aRe(t)&&!oRe(t)};function aRe(e){return!!e&&typeof e=="object"}function oRe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||lRe(e)}var sRe=typeof Symbol=="function"&&Symbol.for,uRe=sRe?Symbol.for("react.element"):60103;function lRe(e){return e.$$typeof===uRe}function cRe(e){return Array.isArray(e)?[]:{}}function Gg(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Uh(cRe(e),e,t):e}function fRe(e,t,r){return e.concat(t).map(function(n){return Gg(n,r)})}function dRe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Gg(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Gg(t[i],r):n[i]=Uh(e[i],t[i],r)}),n}function Uh(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||fRe,r.isMergeableObject=r.isMergeableObject||iRe;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):dRe(e,t,r):Gg(t,r)}Uh.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Uh(n,i,r)},{})};var RC=Uh,Rne=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,hRe=typeof self=="object"&&self&&self.Object===Object&&self,Is=Rne||hRe||Function("return this")(),rl=Is.Symbol,xne=Object.prototype,pRe=xne.hasOwnProperty,vRe=xne.toString,ih=rl?rl.toStringTag:void 0;function gRe(e){var t=pRe.call(e,ih),r=e[ih];try{e[ih]=void 0;var n=!0}catch{}var i=vRe.call(e);return n&&(t?e[ih]=r:delete e[ih]),i}var mRe=Object.prototype,yRe=mRe.toString;function _Re(e){return yRe.call(e)}var ERe="[object Null]",SRe="[object Undefined]",CY=rl?rl.toStringTag:void 0;function Pc(e){return e==null?e===void 0?SRe:ERe:CY&&CY in Object(e)?gRe(e):_Re(e)}function Cne(e,t){return function(r){return e(t(r))}}var LP=Cne(Object.getPrototypeOf,Object);function kc(e){return e!=null&&typeof e=="object"}var wRe="[object Object]",bRe=Function.prototype,TRe=Object.prototype,One=bRe.toString,ARe=TRe.hasOwnProperty,RRe=One.call(Object);function OY(e){if(!kc(e)||Pc(e)!=wRe)return!1;var t=LP(e);if(t===null)return!0;var r=ARe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&One.call(r)==RRe}function xRe(){this.__data__=[],this.size=0}function Ine(e,t){return e===t||e!==e&&t!==t}function xy(e,t){for(var r=e.length;r--;)if(Ine(e[r][0],t))return r;return-1}var CRe=Array.prototype,ORe=CRe.splice;function IRe(e){var t=this.__data__,r=xy(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ORe.call(t,r,1),--this.size,!0}function PRe(e){var t=this.__data__,r=xy(t,e);return r<0?void 0:t[r][1]}function kRe(e){return xy(this.__data__,e)>-1}function DRe(e,t){var r=this.__data__,n=xy(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function yu(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])}}yu.prototype.clear=xRe;yu.prototype.delete=IRe;yu.prototype.get=PRe;yu.prototype.has=kRe;yu.prototype.set=DRe;function LRe(){this.__data__=new yu,this.size=0}function NRe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function MRe(e){return this.__data__.get(e)}function $Re(e){return this.__data__.has(e)}function xp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var FRe="[object AsyncFunction]",jRe="[object Function]",URe="[object GeneratorFunction]",qRe="[object Proxy]";function Pne(e){if(!xp(e))return!1;var t=Pc(e);return t==jRe||t==URe||t==FRe||t==qRe}var Ox=Is["__core-js_shared__"],IY=(function(){var e=/[^.]+$/.exec(Ox&&Ox.keys&&Ox.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function BRe(e){return!!IY&&IY in e}var VRe=Function.prototype,HRe=VRe.toString;function Dc(e){if(e!=null){try{return HRe.call(e)}catch{}try{return e+""}catch{}}return""}var zRe=/[\\^$.*+?()[\]{}|]/g,WRe=/^\[object .+?Constructor\]$/,GRe=Function.prototype,KRe=Object.prototype,YRe=GRe.toString,XRe=KRe.hasOwnProperty,QRe=RegExp("^"+YRe.call(XRe).replace(zRe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function JRe(e){if(!xp(e)||BRe(e))return!1;var t=Pne(e)?QRe:WRe;return t.test(Dc(e))}function ZRe(e,t){return e==null?void 0:e[t]}function Lc(e,t){var r=ZRe(e,t);return JRe(r)?r:void 0}var qh=Lc(Is,"Map"),Bh=Lc(Object,"create");function exe(){this.__data__=Bh?Bh(null):{},this.size=0}function txe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var rxe="__lodash_hash_undefined__",nxe=Object.prototype,ixe=nxe.hasOwnProperty;function axe(e){var t=this.__data__;if(Bh){var r=t[e];return r===rxe?void 0:r}return ixe.call(t,e)?t[e]:void 0}var oxe=Object.prototype,sxe=oxe.hasOwnProperty;function uxe(e){var t=this.__data__;return Bh?t[e]!==void 0:sxe.call(t,e)}var lxe="__lodash_hash_undefined__";function cxe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Bh&&t===void 0?lxe:t,this}function ic(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])}}ic.prototype.clear=exe;ic.prototype.delete=txe;ic.prototype.get=axe;ic.prototype.has=uxe;ic.prototype.set=cxe;function fxe(){this.size=0,this.__data__={hash:new ic,map:new(qh||yu),string:new ic}}function dxe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cy(e,t){var r=e.__data__;return dxe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function hxe(e){var t=Cy(this,e).delete(e);return this.size-=t?1:0,t}function pxe(e){return Cy(this,e).get(e)}function vxe(e){return Cy(this,e).has(e)}function gxe(e,t){var r=Cy(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,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=fxe;cl.prototype.delete=hxe;cl.prototype.get=pxe;cl.prototype.has=vxe;cl.prototype.set=gxe;var mxe=200;function yxe(e,t){var r=this.__data__;if(r instanceof yu){var n=r.__data__;if(!qh||n.length<mxe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new cl(n)}return r.set(e,t),this.size=r.size,this}function _d(e){var t=this.__data__=new yu(e);this.size=t.size}_d.prototype.clear=LRe;_d.prototype.delete=NRe;_d.prototype.get=MRe;_d.prototype.has=$Re;_d.prototype.set=yxe;function _xe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var PY=(function(){try{var e=Lc(Object,"defineProperty");return e({},"",{}),e}catch{}})();function kne(e,t,r){t=="__proto__"&&PY?PY(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Exe=Object.prototype,Sxe=Exe.hasOwnProperty;function Dne(e,t,r){var n=e[t];(!(Sxe.call(e,t)&&Ine(n,r))||r===void 0&&!(t in e))&&kne(e,t,r)}function Oy(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var u=t[o],l=void 0;l===void 0&&(l=e[u]),i?kne(r,u,l):Dne(r,u,l)}return r}function wxe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var bxe="[object Arguments]";function kY(e){return kc(e)&&Pc(e)==bxe}var Lne=Object.prototype,Txe=Lne.hasOwnProperty,Axe=Lne.propertyIsEnumerable,Rxe=kY((function(){return arguments})())?kY:function(e){return kc(e)&&Txe.call(e,"callee")&&!Axe.call(e,"callee")},Cp=Array.isArray;function xxe(){return!1}var Nne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,DY=Nne&&typeof module=="object"&&module&&!module.nodeType&&module,Cxe=DY&&DY.exports===Nne,LY=Cxe?Is.Buffer:void 0,Oxe=LY?LY.isBuffer:void 0,Mne=Oxe||xxe,Ixe=9007199254740991,Pxe=/^(?:0|[1-9]\d*)$/;function kxe(e,t){var r=typeof e;return t=t??Ixe,!!t&&(r=="number"||r!="symbol"&&Pxe.test(e))&&e>-1&&e%1==0&&e<t}var Dxe=9007199254740991;function $ne(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Dxe}var Lxe="[object Arguments]",Nxe="[object Array]",Mxe="[object Boolean]",$xe="[object Date]",Fxe="[object Error]",jxe="[object Function]",Uxe="[object Map]",qxe="[object Number]",Bxe="[object Object]",Vxe="[object RegExp]",Hxe="[object Set]",zxe="[object String]",Wxe="[object WeakMap]",Gxe="[object ArrayBuffer]",Kxe="[object DataView]",Yxe="[object Float32Array]",Xxe="[object Float64Array]",Qxe="[object Int8Array]",Jxe="[object Int16Array]",Zxe="[object Int32Array]",eCe="[object Uint8Array]",tCe="[object Uint8ClampedArray]",rCe="[object Uint16Array]",nCe="[object Uint32Array]",Un={};Un[Yxe]=Un[Xxe]=Un[Qxe]=Un[Jxe]=Un[Zxe]=Un[eCe]=Un[tCe]=Un[rCe]=Un[nCe]=!0;Un[Lxe]=Un[Nxe]=Un[Gxe]=Un[Mxe]=Un[Kxe]=Un[$xe]=Un[Fxe]=Un[jxe]=Un[Uxe]=Un[qxe]=Un[Bxe]=Un[Vxe]=Un[Hxe]=Un[zxe]=Un[Wxe]=!1;function iCe(e){return kc(e)&&$ne(e.length)&&!!Un[Pc(e)]}function NP(e){return function(t){return e(t)}}var Fne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yh=Fne&&typeof module=="object"&&module&&!module.nodeType&&module,aCe=yh&&yh.exports===Fne,Ix=aCe&&Rne.process,qf=(function(){try{var e=yh&&yh.require&&yh.require("util").types;return e||Ix&&Ix.binding&&Ix.binding("util")}catch{}})(),NY=qf&&qf.isTypedArray,oCe=NY?NP(NY):iCe,sCe=Object.prototype,uCe=sCe.hasOwnProperty;function jne(e,t){var r=Cp(e),n=!r&&Rxe(e),i=!r&&!n&&Mne(e),o=!r&&!n&&!i&&oCe(e),a=r||n||i||o,u=a?wxe(e.length,String):[],l=u.length;for(var f in e)(t||uCe.call(e,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||o&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||kxe(f,l)))&&u.push(f);return u}var lCe=Object.prototype;function MP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||lCe;return e===r}var cCe=Cne(Object.keys,Object),fCe=Object.prototype,dCe=fCe.hasOwnProperty;function hCe(e){if(!MP(e))return cCe(e);var t=[];for(var r in Object(e))dCe.call(e,r)&&r!="constructor"&&t.push(r);return t}function Une(e){return e!=null&&$ne(e.length)&&!Pne(e)}function $P(e){return Une(e)?jne(e):hCe(e)}function pCe(e,t){return e&&Oy(t,$P(t),e)}function vCe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var gCe=Object.prototype,mCe=gCe.hasOwnProperty;function yCe(e){if(!xp(e))return vCe(e);var t=MP(e),r=[];for(var n in e)n=="constructor"&&(t||!mCe.call(e,n))||r.push(n);return r}function FP(e){return Une(e)?jne(e,!0):yCe(e)}function _Ce(e,t){return e&&Oy(t,FP(t),e)}var qne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,MY=qne&&typeof module=="object"&&module&&!module.nodeType&&module,ECe=MY&&MY.exports===qne,$Y=ECe?Is.Buffer:void 0,FY=$Y?$Y.allocUnsafe:void 0;function SCe(e,t){if(t)return e.slice();var r=e.length,n=FY?FY(r):new e.constructor(r);return e.copy(n),n}function Bne(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function wCe(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function Vne(){return[]}var bCe=Object.prototype,TCe=bCe.propertyIsEnumerable,jY=Object.getOwnPropertySymbols,jP=jY?function(e){return e==null?[]:(e=Object(e),wCe(jY(e),function(t){return TCe.call(e,t)}))}:Vne;function ACe(e,t){return Oy(e,jP(e),t)}function Hne(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var RCe=Object.getOwnPropertySymbols,zne=RCe?function(e){for(var t=[];e;)Hne(t,jP(e)),e=LP(e);return t}:Vne;function xCe(e,t){return Oy(e,zne(e),t)}function Wne(e,t,r){var n=t(e);return Cp(e)?n:Hne(n,r(e))}function CCe(e){return Wne(e,$P,jP)}function OCe(e){return Wne(e,FP,zne)}var xC=Lc(Is,"DataView"),CC=Lc(Is,"Promise"),OC=Lc(Is,"Set"),IC=Lc(Is,"WeakMap"),UY="[object Map]",ICe="[object Object]",qY="[object Promise]",BY="[object Set]",VY="[object WeakMap]",HY="[object DataView]",PCe=Dc(xC),kCe=Dc(qh),DCe=Dc(CC),LCe=Dc(OC),NCe=Dc(IC),Ks=Pc;(xC&&Ks(new xC(new ArrayBuffer(1)))!=HY||qh&&Ks(new qh)!=UY||CC&&Ks(CC.resolve())!=qY||OC&&Ks(new OC)!=BY||IC&&Ks(new IC)!=VY)&&(Ks=function(e){var t=Pc(e),r=t==ICe?e.constructor:void 0,n=r?Dc(r):"";if(n)switch(n){case PCe:return HY;case kCe:return UY;case DCe:return qY;case LCe:return BY;case NCe:return VY}return t});var MCe=Object.prototype,$Ce=MCe.hasOwnProperty;function FCe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&$Ce.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var zY=Is.Uint8Array;function UP(e){var t=new e.constructor(e.byteLength);return new zY(t).set(new zY(e)),t}function jCe(e,t){var r=t?UP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var UCe=/\w*$/;function qCe(e){var t=new e.constructor(e.source,UCe.exec(e));return t.lastIndex=e.lastIndex,t}var WY=rl?rl.prototype:void 0,GY=WY?WY.valueOf:void 0;function BCe(e){return GY?Object(GY.call(e)):{}}function VCe(e,t){var r=t?UP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var HCe="[object Boolean]",zCe="[object Date]",WCe="[object Map]",GCe="[object Number]",KCe="[object RegExp]",YCe="[object Set]",XCe="[object String]",QCe="[object Symbol]",JCe="[object ArrayBuffer]",ZCe="[object DataView]",eOe="[object Float32Array]",tOe="[object Float64Array]",rOe="[object Int8Array]",nOe="[object Int16Array]",iOe="[object Int32Array]",aOe="[object Uint8Array]",oOe="[object Uint8ClampedArray]",sOe="[object Uint16Array]",uOe="[object Uint32Array]";function lOe(e,t,r){var n=e.constructor;switch(t){case JCe:return UP(e);case HCe:case zCe:return new n(+e);case ZCe:return jCe(e,r);case eOe:case tOe:case rOe:case nOe:case iOe:case aOe:case oOe:case sOe:case uOe:return VCe(e,r);case WCe:return new n;case GCe:case XCe:return new n(e);case KCe:return qCe(e);case YCe:return new n;case QCe:return BCe(e)}}var KY=Object.create,cOe=(function(){function e(){}return function(t){if(!xp(t))return{};if(KY)return KY(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function fOe(e){return typeof e.constructor=="function"&&!MP(e)?cOe(LP(e)):{}}var dOe="[object Map]";function hOe(e){return kc(e)&&Ks(e)==dOe}var YY=qf&&qf.isMap,pOe=YY?NP(YY):hOe,vOe="[object Set]";function gOe(e){return kc(e)&&Ks(e)==vOe}var XY=qf&&qf.isSet,mOe=XY?NP(XY):gOe,yOe=1,_Oe=2,EOe=4,Gne="[object Arguments]",SOe="[object Array]",wOe="[object Boolean]",bOe="[object Date]",TOe="[object Error]",Kne="[object Function]",AOe="[object GeneratorFunction]",ROe="[object Map]",xOe="[object Number]",Yne="[object Object]",COe="[object RegExp]",OOe="[object Set]",IOe="[object String]",POe="[object Symbol]",kOe="[object WeakMap]",DOe="[object ArrayBuffer]",LOe="[object DataView]",NOe="[object Float32Array]",MOe="[object Float64Array]",$Oe="[object Int8Array]",FOe="[object Int16Array]",jOe="[object Int32Array]",UOe="[object Uint8Array]",qOe="[object Uint8ClampedArray]",BOe="[object Uint16Array]",VOe="[object Uint32Array]",Mn={};Mn[Gne]=Mn[SOe]=Mn[DOe]=Mn[LOe]=Mn[wOe]=Mn[bOe]=Mn[NOe]=Mn[MOe]=Mn[$Oe]=Mn[FOe]=Mn[jOe]=Mn[ROe]=Mn[xOe]=Mn[Yne]=Mn[COe]=Mn[OOe]=Mn[IOe]=Mn[POe]=Mn[UOe]=Mn[qOe]=Mn[BOe]=Mn[VOe]=!0;Mn[TOe]=Mn[Kne]=Mn[kOe]=!1;function _h(e,t,r,n,i,o){var a,u=t&yOe,l=t&_Oe,f=t&EOe;if(a!==void 0)return a;if(!xp(e))return e;var d=Cp(e);if(d){if(a=FCe(e),!u)return Bne(e,a)}else{var h=Ks(e),p=h==Kne||h==AOe;if(Mne(e))return SCe(e,u);if(h==Yne||h==Gne||p&&!i){if(a=l||p?{}:fOe(e),!u)return l?xCe(e,_Ce(a,e)):ACe(e,pCe(a,e))}else{if(!Mn[h])return i?e:{};a=lOe(e,h,u)}}o||(o=new _d);var m=o.get(e);if(m)return m;o.set(e,a),mOe(e)?e.forEach(function(_){a.add(_h(_,t,r,_,e,o))}):pOe(e)&&e.forEach(function(_,w){a.set(w,_h(_,t,r,w,e,o))});var S=f?l?OCe:CCe:l?FP:$P,E=d?void 0:S(e);return _xe(E||e,function(_,w){E&&(w=_,_=e[w]),Dne(a,w,_h(_,t,r,w,e,o))}),a}var HOe=4;function QY(e){return _h(e,HOe)}function Xne(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 zOe="[object Symbol]";function qP(e){return typeof e=="symbol"||kc(e)&&Pc(e)==zOe}var WOe="Expected a function";function BP(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(WOe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(BP.Cache||cl),r}BP.Cache=cl;var GOe=500;function KOe(e){var t=BP(e,function(n){return r.size===GOe&&r.clear(),n}),r=t.cache;return t}var YOe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,XOe=/\\(\\)?/g,QOe=KOe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(YOe,function(r,n,i,o){t.push(i?o.replace(XOe,"$1"):n||r)}),t});function JOe(e){if(typeof e=="string"||qP(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var JY=rl?rl.prototype:void 0,ZY=JY?JY.toString:void 0;function Qne(e){if(typeof e=="string")return e;if(Cp(e))return Xne(e,Qne)+"";if(qP(e))return ZY?ZY.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ZOe(e){return e==null?"":Qne(e)}function Jne(e){return Cp(e)?Xne(e,JOe):qP(e)?[e]:Bne(QOe(ZOe(e)))}var eIe=1,tIe=4;function rIe(e){return _h(e,eIe|tIe)}function kn(){return kn=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},kn.apply(this,arguments)}function Zne(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Wu(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function eX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tX=function(t){return Array.isArray(t)&&t.length===0},ea=function(t){return typeof t=="function"},Iy=function(t){return t!==null&&typeof t=="object"},nIe=function(t){return String(Math.floor(Number(t)))===t},Px=function(t){return Object.prototype.toString.call(t)==="[object String]"},eie=function(t){return ge.Children.count(t)===0},kx=function(t){return Iy(t)&&ea(t.then)};function ei(e,t,r,n){n===void 0&&(n=0);for(var i=Jne(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function ws(e,t,r){for(var n=QY(e),i=n,o=0,a=Jne(t);o<a.length-1;o++){var u=a[o],l=ei(e,a.slice(0,o+1));if(l&&(Iy(l)||Array.isArray(l)))i=i[u]=QY(l);else{var f=a[o+1];i=i[u]=nIe(f)&&Number(f)>=0?[]:{}}}return(o===0?e:i)[a[o]]===r?e:(r===void 0?delete i[a[o]]:i[a[o]]=r,o===0&&r===void 0&&delete n[a[o]],n)}function tie(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var i=0,o=Object.keys(e);i<o.length;i++){var a=o[i],u=e[a];Iy(u)?r.get(u)||(r.set(u,!0),n[a]=Array.isArray(u)?[]:{},tie(u,t,r,n[a])):n[a]=t}return n}var Op=ge.createContext(void 0);Op.displayName="FormikContext";var iIe=Op.Provider,aIe=Op.Consumer;function VP(){var e=ge.useContext(Op);return e}function oIe(e,t){switch(t.type){case"SET_VALUES":return kn({},e,{values:t.payload});case"SET_TOUCHED":return kn({},e,{touched:t.payload});case"SET_ERRORS":return Hu(e.errors,t.payload)?e:kn({},e,{errors:t.payload});case"SET_STATUS":return kn({},e,{status:t.payload});case"SET_ISSUBMITTING":return kn({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return kn({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return kn({},e,{values:ws(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return kn({},e,{touched:ws(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return kn({},e,{errors:ws(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return kn({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return kn({},e,{touched:tie(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return kn({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return kn({},e,{isSubmitting:!1});default:return e}}var Cl={},Vv={};function sIe(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,i=n===void 0?!0:n,o=e.validateOnMount,a=o===void 0?!1:o,u=e.isInitialValid,l=e.enableReinitialize,f=l===void 0?!1:l,d=e.onSubmit,h=Wu(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=kn({validateOnChange:r,validateOnBlur:i,validateOnMount:a,onSubmit:d},h),m=ge.useRef(p.initialValues),S=ge.useRef(p.initialErrors||Cl),E=ge.useRef(p.initialTouched||Vv),_=ge.useRef(p.initialStatus),w=ge.useRef(!1),T=ge.useRef({});ge.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var C=ge.useReducer(oIe,{values:p.initialValues,errors:p.initialErrors||Cl,touched:p.initialTouched||Vv,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),x=C[0],R=C[1],P=ge.useCallback(function(he,me){return new Promise(function(_e,Le){var Me=p.validate(he,me);Me==null?_e(Cl):kx(Me)?Me.then(function(Ne){_e(Ne||Cl)},function(Ne){Le(Ne)}):_e(Me)})},[p.validate]),y=ge.useCallback(function(he,me){var _e=p.validationSchema,Le=ea(_e)?_e(me):_e,Me=me&&Le.validateAt?Le.validateAt(me,he):lIe(he,Le);return new Promise(function(Ne,Ge){Me.then(function(){Ne(Cl)},function(it){it.name==="ValidationError"?Ne(uIe(it)):Ge(it)})})},[p.validationSchema]),N=ge.useCallback(function(he,me){return new Promise(function(_e){return _e(T.current[he].validate(me))})},[]),$=ge.useCallback(function(he){var me=Object.keys(T.current).filter(function(Le){return ea(T.current[Le].validate)}),_e=me.length>0?me.map(function(Le){return N(Le,ei(he,Le))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(_e).then(function(Le){return Le.reduce(function(Me,Ne,Ge){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(Me=ws(Me,me[Ge],Ne)),Me},{})})},[N]),H=ge.useCallback(function(he){return Promise.all([$(he),p.validationSchema?y(he):{},p.validate?P(he):{}]).then(function(me){var _e=me[0],Le=me[1],Me=me[2],Ne=RC.all([_e,Le,Me],{arrayMerge:cIe});return Ne})},[p.validate,p.validationSchema,$,P,y]),B=bo(function(he){return he===void 0&&(he=x.values),R({type:"SET_ISVALIDATING",payload:!0}),H(he).then(function(me){return w.current&&(R({type:"SET_ISVALIDATING",payload:!1}),R({type:"SET_ERRORS",payload:me})),me})});ge.useEffect(function(){a&&w.current===!0&&Hu(m.current,p.initialValues)&&B(m.current)},[a,B]);var W=ge.useCallback(function(he){var me=he&&he.values?he.values:m.current,_e=he&&he.errors?he.errors:S.current?S.current:p.initialErrors||{},Le=he&&he.touched?he.touched:E.current?E.current:p.initialTouched||{},Me=he&&he.status?he.status:_.current?_.current:p.initialStatus;m.current=me,S.current=_e,E.current=Le,_.current=Me;var Ne=function(){R({type:"RESET_FORM",payload:{isSubmitting:!!he&&!!he.isSubmitting,errors:_e,touched:Le,status:Me,values:me,isValidating:!!he&&!!he.isValidating,submitCount:he&&he.submitCount&&typeof he.submitCount=="number"?he.submitCount:0}})};if(p.onReset){var Ge=p.onReset(x.values,U);kx(Ge)?Ge.then(Ne):Ne()}else Ne()},[p.initialErrors,p.initialStatus,p.initialTouched]);ge.useEffect(function(){w.current===!0&&!Hu(m.current,p.initialValues)&&(f&&(m.current=p.initialValues,W()),a&&B(m.current))},[f,p.initialValues,W,a,B]),ge.useEffect(function(){f&&w.current===!0&&!Hu(S.current,p.initialErrors)&&(S.current=p.initialErrors||Cl,R({type:"SET_ERRORS",payload:p.initialErrors||Cl}))},[f,p.initialErrors]),ge.useEffect(function(){f&&w.current===!0&&!Hu(E.current,p.initialTouched)&&(E.current=p.initialTouched||Vv,R({type:"SET_TOUCHED",payload:p.initialTouched||Vv}))},[f,p.initialTouched]),ge.useEffect(function(){f&&w.current===!0&&!Hu(_.current,p.initialStatus)&&(_.current=p.initialStatus,R({type:"SET_STATUS",payload:p.initialStatus}))},[f,p.initialStatus,p.initialTouched]);var Y=bo(function(he){if(T.current[he]&&ea(T.current[he].validate)){var me=ei(x.values,he),_e=T.current[he].validate(me);return kx(_e)?(R({type:"SET_ISVALIDATING",payload:!0}),_e.then(function(Le){return Le}).then(function(Le){R({type:"SET_FIELD_ERROR",payload:{field:he,value:Le}}),R({type:"SET_ISVALIDATING",payload:!1})})):(R({type:"SET_FIELD_ERROR",payload:{field:he,value:_e}}),Promise.resolve(_e))}else if(p.validationSchema)return R({type:"SET_ISVALIDATING",payload:!0}),y(x.values,he).then(function(Le){return Le}).then(function(Le){R({type:"SET_FIELD_ERROR",payload:{field:he,value:Le[he]}}),R({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=ge.useCallback(function(he,me){var _e=me.validate;T.current[he]={validate:_e}},[]),ne=ge.useCallback(function(he){delete T.current[he]},[]),re=bo(function(he,me){R({type:"SET_TOUCHED",payload:he});var _e=me===void 0?i:me;return _e?B(x.values):Promise.resolve()}),de=ge.useCallback(function(he){R({type:"SET_ERRORS",payload:he})},[]),G=bo(function(he,me){var _e=ea(he)?he(x.values):he;R({type:"SET_VALUES",payload:_e});var Le=me===void 0?r:me;return Le?B(_e):Promise.resolve()}),ee=ge.useCallback(function(he,me){R({type:"SET_FIELD_ERROR",payload:{field:he,value:me}})},[]),z=bo(function(he,me,_e){R({type:"SET_FIELD_VALUE",payload:{field:he,value:me}});var Le=_e===void 0?r:_e;return Le?B(ws(x.values,he,me)):Promise.resolve()}),ue=ge.useCallback(function(he,me){var _e=me,Le=he,Me;if(!Px(he)){he.persist&&he.persist();var Ne=he.target?he.target:he.currentTarget,Ge=Ne.type,it=Ne.name,Dt=Ne.id,rr=Ne.value,Ke=Ne.checked;Ne.outerHTML;var _t=Ne.options,vt=Ne.multiple;_e=me||it||Dt,Le=/number|range/.test(Ge)?(Me=parseFloat(rr),isNaN(Me)?"":Me):/checkbox/.test(Ge)?dIe(ei(x.values,_e),Ke,rr):_t&&vt?fIe(_t):rr}_e&&z(_e,Le)},[z,x.values]),Ee=bo(function(he){if(Px(he))return function(me){return ue(me,he)};ue(he)}),Oe=bo(function(he,me,_e){me===void 0&&(me=!0),R({type:"SET_FIELD_TOUCHED",payload:{field:he,value:me}});var Le=_e===void 0?i:_e;return Le?B(x.values):Promise.resolve()}),$e=ge.useCallback(function(he,me){he.persist&&he.persist();var _e=he.target,Le=_e.name,Me=_e.id;_e.outerHTML;var Ne=me||Le||Me;Oe(Ne,!0)},[Oe]),Ve=bo(function(he){if(Px(he))return function(me){return $e(me,he)};$e(he)}),ae=ge.useCallback(function(he){ea(he)?R({type:"SET_FORMIK_STATE",payload:he}):R({type:"SET_FORMIK_STATE",payload:function(){return he}})},[]),O=ge.useCallback(function(he){R({type:"SET_STATUS",payload:he})},[]),I=ge.useCallback(function(he){R({type:"SET_ISSUBMITTING",payload:he})},[]),M=bo(function(){return R({type:"SUBMIT_ATTEMPT"}),B().then(function(he){var me=he instanceof Error,_e=!me&&Object.keys(he).length===0;if(_e){var Le;try{if(Le=K(),Le===void 0)return}catch(Me){throw Me}return Promise.resolve(Le).then(function(Me){return w.current&&R({type:"SUBMIT_SUCCESS"}),Me}).catch(function(Me){if(w.current)throw R({type:"SUBMIT_FAILURE"}),Me})}else if(w.current&&(R({type:"SUBMIT_FAILURE"}),me))throw he})}),k=bo(function(he){he&&he.preventDefault&&ea(he.preventDefault)&&he.preventDefault(),he&&he.stopPropagation&&ea(he.stopPropagation)&&he.stopPropagation(),M().catch(function(me){console.warn("Warning: An unhandled error was caught from submitForm()",me)})}),U={resetForm:W,validateForm:B,validateField:Y,setErrors:de,setFieldError:ee,setFieldTouched:Oe,setFieldValue:z,setStatus:O,setSubmitting:I,setTouched:re,setValues:G,setFormikState:ae,submitForm:M},K=bo(function(){return d(x.values,U)}),ie=bo(function(he){he&&he.preventDefault&&ea(he.preventDefault)&&he.preventDefault(),he&&he.stopPropagation&&ea(he.stopPropagation)&&he.stopPropagation(),W()}),ye=ge.useCallback(function(he){return{value:ei(x.values,he),error:ei(x.errors,he),touched:!!ei(x.touched,he),initialValue:ei(m.current,he),initialTouched:!!ei(E.current,he),initialError:ei(S.current,he)}},[x.errors,x.touched,x.values]),ve=ge.useCallback(function(he){return{setValue:function(_e,Le){return z(he,_e,Le)},setTouched:function(_e,Le){return Oe(he,_e,Le)},setError:function(_e){return ee(he,_e)}}},[z,Oe,ee]),Re=ge.useCallback(function(he){var me=Iy(he),_e=me?he.name:he,Le=ei(x.values,_e),Me={name:_e,value:Le,onChange:Ee,onBlur:Ve};if(me){var Ne=he.type,Ge=he.value,it=he.as,Dt=he.multiple;Ne==="checkbox"?Ge===void 0?Me.checked=!!Le:(Me.checked=!!(Array.isArray(Le)&&~Le.indexOf(Ge)),Me.value=Ge):Ne==="radio"?(Me.checked=Le===Ge,Me.value=Ge):it==="select"&&Dt&&(Me.value=Me.value||[],Me.multiple=!0)}return Me},[Ve,Ee,x.values]),Se=ge.useMemo(function(){return!Hu(m.current,x.values)},[m.current,x.values]),xe=ge.useMemo(function(){return typeof u<"u"?Se?x.errors&&Object.keys(x.errors).length===0:u!==!1&&ea(u)?u(p):u:x.errors&&Object.keys(x.errors).length===0},[u,Se,x.errors,p]),De=kn({},x,{initialValues:m.current,initialErrors:S.current,initialTouched:E.current,initialStatus:_.current,handleBlur:Ve,handleChange:Ee,handleReset:ie,handleSubmit:k,resetForm:W,setErrors:de,setFormikState:ae,setFieldTouched:Oe,setFieldValue:z,setFieldError:ee,setStatus:O,setSubmitting:I,setTouched:re,setValues:G,submitForm:M,validateForm:B,validateField:Y,isValid:xe,dirty:Se,unregisterField:ne,registerField:Q,getFieldProps:Re,getFieldMeta:ye,getFieldHelpers:ve,validateOnBlur:i,validateOnChange:r,validateOnMount:a});return De}function vLe(e){var t=sIe(e),r=e.component,n=e.children,i=e.render,o=e.innerRef;return ge.useImperativeHandle(o,function(){return t}),ge.createElement(iIe,{value:t},r?ge.createElement(r,t):i?i(t):n?ea(n)?n(t):eie(n)?null:ge.Children.only(n):null)}function uIe(e){var t={};if(e.inner){if(e.inner.length===0)return ws(t,e.path,e.message);for(var i=e.inner,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var a=o;ei(t,a.path)||(t=ws(t,a.path,a.message))}}return t}function lIe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=PC(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function PC(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||OY(i)?PC(i):i!==""?i:void 0}):OY(e[n])?t[n]=PC(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function cIe(e,t,r){var n=e.slice();return t.forEach(function(o,a){if(typeof n[a]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(o);n[a]=l?RC(Array.isArray(o)?[]:{},o,r):o}else r.isMergeableObject(o)?n[a]=RC(e[a],o,r):e.indexOf(o)===-1&&n.push(o)}),n}function fIe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function dIe(e,t,r){if(typeof e=="boolean")return!!t;var n=[],i=!1,o=-1;if(Array.isArray(e))n=e,o=e.indexOf(r),i=o>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!i?n.concat(r):i?n.slice(0,o).concat(n.slice(o+1)):n}var hIe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ge.useLayoutEffect:ge.useEffect;function bo(e){var t=ge.useRef(e);return hIe(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 gLe(e){var t=e.validate,r=e.name,n=e.render,i=e.children,o=e.as,a=e.component,u=Wu(e,["validate","name","render","children","as","component"]),l=VP(),f=Wu(l,["validate","validationSchema"]),d=f.registerField,h=f.unregisterField;ge.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var p=f.getFieldProps(kn({name:r},u)),m=f.getFieldMeta(r),S={field:p,form:f};if(n)return n(kn({},S,{meta:m}));if(ea(i))return i(kn({},S,{meta:m}));if(a){if(typeof a=="string"){var E=u.innerRef,_=Wu(u,["innerRef"]);return ge.createElement(a,kn({ref:E},p,_),i)}return ge.createElement(a,kn({field:p,form:f},u),i)}var w=o||"input";if(typeof w=="string"){var T=u.innerRef,C=Wu(u,["innerRef"]);return ge.createElement(w,kn({ref:T},p,C),i)}return ge.createElement(w,kn({},p,u),i)}var pIe=ge.forwardRef(function(e,t){var r=e.action,n=Wu(e,["action"]),i=r??"#",o=VP(),a=o.handleReset,u=o.handleSubmit;return ge.createElement("form",Object.assign({onSubmit:u,ref:t,onReset:a,action:i},n))});pIe.displayName="Form";function vIe(e){var t=function(i){return ge.createElement(aIe,null,function(o){return ge.createElement(e,Object.assign({},i,{formik:o}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",CEe(t,e)}var gIe=function(t,r,n){var i=Bf(t),o=i[r];return i.splice(r,1),i.splice(n,0,o),i},mIe=function(t,r,n){var i=Bf(t),o=i[r];return i[r]=i[n],i[n]=o,i},Dx=function(t,r,n){var i=Bf(t);return i.splice(r,0,n),i},yIe=function(t,r,n){var i=Bf(t);return i[r]=n,i},Bf=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(kn({},t,{length:r+1}))}else return[]},_Ie=(function(e){Zne(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(o,a,u){var l=i.props,f=l.name,d=l.formik.setFormikState;d(function(h){var p=typeof u=="function"?u:o,m=typeof a=="function"?a:o,S=ws(h.values,f,o(ei(h.values,f))),E=u?p(ei(h.errors,f)):void 0,_=a?m(ei(h.touched,f)):void 0;return tX(E)&&(E=void 0),tX(_)&&(_=void 0),kn({},h,{values:S,errors:u?ws(h.errors,f,E):h.errors,touched:a?ws(h.touched,f,_):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(Bf(a),[rIe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(u){return mIe(u,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(u){return gIe(u,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(u){return Dx(u,o,a)},function(u){return Dx(u,o,null)},function(u){return Dx(u,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(u){return yIe(u,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(u){var l=u?[o].concat(u):[o];return a<0&&(a=l.length),l},function(u){var l=u?[null].concat(u):[null];return a<0&&(a=l.length),l},function(u){var l=u?[null].concat(u):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(eX(i)),i.pop=i.pop.bind(eX(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Hu(ei(i.formik.values,i.name),ei(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var o;return this.updateArrayField(function(a){var u=a?Bf(a):[];return o||(o=u[i]),ea(u.splice)&&u.splice(i,1),u},!0,!0),o},r.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!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},o=this.props,a=o.component,u=o.render,l=o.children,f=o.name,d=o.formik,h=Wu(d,["validate","validationSchema"]),p=kn({},i,{form:h,name:f});return a?ge.createElement(a,p):u?u(p):l?typeof l=="function"?l(p):eie(l)?null:ge.Children.only(l):null},t})(ge.Component);_Ie.defaultProps={validateOnChange:!0};var EIe=(function(e){Zne(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return ei(this.props.formik.errors,this.props.name)!==ei(i.formik.errors,this.props.name)||ei(this.props.formik.touched,this.props.name)!==ei(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,o=i.component,a=i.formik,u=i.render,l=i.children,f=i.name,d=Wu(i,["component","formik","render","children","name"]),h=ei(a.touched,f),p=ei(a.errors,f);return h&&p?u?ea(u)?u(p):null:l?ea(l)?l(p):null:o?ge.createElement(o,d,p):p:null},t})(ge.Component),mLe=vIe(EIe);const SIe=ge.createContext(""),Vh=ge.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=ge.useContext(SIe),o=r||i,a=Object.assign({escapeText:!0},n),u=Lr.getPhrase(o,t,a);return ce.jsx("span",{dangerouslySetInnerHTML:{__html:u}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&Ts.isEqual(e.options,t.options));function wIe(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 bIe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...o}=e,a=ge.useRef(null),[{width:u,height:l},f]=ge.useState({}),[d,h]=ge.useState(t);ge.useEffect(()=>{if(!t){f({});return}const m=a.current,S=m.offsetHeight,E=m.offsetWidth;!S||!E||f({width:E,height:S})},[t]),ge.useLayoutEffect(()=>{h(t)},[t]);const p={...n};return u&&(p.width=`${u+1}px`),l&&(p.height=`${l+1}px`),ce.jsx(_y,{ref:a,disabled:t,style:p,...o,children:d?ce.jsxs(ce.Fragment,{children:[ce.jsx(Ty,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&ce.jsx("span",{className:"ps-1",children:i})]}):r})}const TIe={info:"custom-toggle-info"};rie.defaults={floatEnd:!0};function rie(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:o,hideOutline:a,...u}=e;function l(..._){e.disabled||e.onClick(..._)}const f="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=a?"outline-none":"",p=TIe[i]??"",m=o?"float-end":"";let S=t?"on":"";e.disabled&&!r&&(S="");const E=`${f} ${p} ${S} ${d} ${h} ${m}`;return e.tooltipText?ce.jsx(Cf,{title:n,spanHack:!0,children:ce.jsx(oC,{...u,role:"switch","aria-checked":`${t}`,onClick:l,className:E,children:ce.jsx("span",{className:"handle"})})}):ce.jsx(oC,{...u,role:"switch","aria-checked":t,onClick:l,className:E,children:ce.jsx("span",{className:"handle"})})}const nie="shared.popup",Ql=e=>ce.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 iie(e){return ce.jsx(bIe,{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?ce.jsx(ce.Fragment,{children:e.text}):ce.jsx(Vh,{namespace:nie,phrase:e.isNew?"create":"save"})})}function AIe(e){const t=VP(),r=wIe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return ce.jsx(iie,{...e,disabled:i(),showSpinner:n})}const RIe=e=>Sr.useContext(Op)?ce.jsx(AIe,{...e}):ce.jsx(iie,{...e}),xIe=e=>ce.jsx(_y,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:ce.jsx(Vh,{namespace:nie,phrase:"cancel"})}),CIe=e=>ce.jsx(a1e.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),OIe=e=>ce.jsxs("div",{className:"d-flex align-items-center me-auto",children:[ce.jsx(rie,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&ce.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});Ql.Submit=RIe;Ql.Cancel=xIe;Ql.Checkbox=CIe;Ql.Toggle=OIe;const rX="shared.shared-utils",IIe={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=SP.createRoot(r);function i(){var l;if(Qa.isFunction((l=t.submitButtonProps)==null?void 0:l.onClick)){const f=t.submitButtonProps.onClick();if(f instanceof Promise){f.then(()=>{n.unmount()});return}}n.unmount()}function o(){var l;Qa.isFunction((l=t.cancelButtonProps)==null?void 0:l.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const a={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},u={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{o()}};n.render(ce.jsxs(Ane,{title:t.title,closePopup:o,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&ce.jsxs(Ql,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&ce.jsx(Ql.Cancel,{...u}),t.submitButtonProps&&ce.jsx(Ql.Submit,{...a})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:Lr.getPhrase(rX,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:Lr.getPhrase(rX,"cancel")}}},Hv=Lr.encloseNamespace("shared.hooks"),PIe=()=>{const[e,t]=Sr.useState([]),r=wr.Radio.channel(tn.SHELL);Sr.useEffect(()=>(e.find(l=>!l.allowAppLinks)&&r.on(an.NAV_IS_LOCKED,o),e.length&&window.addEventListener("beforeunload",a),()=>{r.off(an.NAV_IS_LOCKED,o),window.removeEventListener("beforeunload",a)}),[e]),Sr.useEffect(()=>{function l(){n({id:"upload",title:Hv("navLockTitle"),text:Hv("navLockBody"),allowAppLinks:!0})}const f=wr.Radio.channel(fh.VIDEO_UPLOAD);return f.on(Zs.FILES_ADDED,l),f.on(Zs.UNLOCK_NAV,i),()=>{f.off(Zs.FILES_ADDED,l),f.off(Zs.UNLOCK_NAV,i)}},[]);function n(l={}){e.find(f=>f.id===l.id)||(l.allowAppLinks||r.trigger(an.LOCK_NAV),t([...e,l]))}function i(l){const f=e.filter(d=>d.id!==l);(f.length===0||!f.find(d=>!d.allowAppLinks))&&r.trigger(an.UNLOCK_NAV),t(f)}function o(l){var d;if(!e.length)return;const f=e.find(h=>!h.allowAppLinks);if((d=f.appLinkWhitelist)!=null&&d.find(h=>h.action===l.action&&h.application===l.application)){r.trigger(an.UNLOCK_NAV),window.setTimeout(()=>{ni.trigger(l),r.trigger(an.LOCK_NAV)},0);return}if(Qa.isFunction(f.renderCustomDialog)){f.renderCustomDialog();return}IIe.render(ce.jsx("p",{children:f.text}),{title:f.title,submitButtonProps:{onClick:()=>{f.onConfirmUnlock&&f.onConfirmUnlock(),u(l)},variant:"danger",text:Hv("discard")},cancelButtonProps:{text:Hv("cancel"),variant:"link"}})}function a(l){let f=e.find(d=>d.allowAppLinks);return f||(f=rc.first(e)),l.returnValue=f.text,f.text}function u(l){r.trigger(an.NAV_UNLOCKED_BY_USER),e.forEach(f=>{f.allowAppLinks||i(f.id)}),window.removeEventListener("beforeunload",a),ni.trigger(l)}return{lock:n,unlock:i}};function kIe(){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 DIe(){const e=ra(tl.version());return e.data?ce.jsx("footer",{className:"text-center text-secondary my-2",children:ce.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):ce.jsx(ce.Fragment,{})}function LIe(){return ce.jsx("svg",{viewBox:"0 0 434 71",children:ce.jsxs("g",{children:[ce.jsx("path",{fill:"#000000",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),ce.jsx("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})]})})}function yLe(){return ce.jsx("svg",{viewBox:"0 0 41 70",children:ce.jsx("g",{children:ce.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const ma={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:Xl.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:Xo.urlBuilder("{gateway}/v1/users",{id:e}),key:`users:list:${e.join(",")}`,success:t,error:r,formatData:n=>{const i=n.reduce((o,a)=>(o[a.id.toString()]=a,o),{});return e.map(o=>i[o.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:ji.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:Xl.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:Xl.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:ji.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=rc.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}}},aie=e=>{const t=ra(ma.currentUser()),r=ra(t.hasCompleted&&ph.getCustomerSettingsRequest(t.data)),n=ra(t.hasCompleted&&ph.getUserSettingsRequest(t.data)),i=_p(),o=!!r.hasCompleted&&!!n.hasCompleted,a=E=>{var T,C;if(!o||r.hasError||n.hasError)return null;const _=(T=r.data)==null?void 0:T[E];if(_)return _==null?void 0:_.value;const w=(C=n.data)==null?void 0:C[E];return w?w==null?void 0:w.value:null};function u(E,_,w,T,C){return E==="user"?Ul.updateUserSetting(_,w,T,C):Ul.updateCustomerSetting(_,w,T,C)}const l=(E,_,w,T,C)=>{function x(){ga.logUserAction({name:_.name,value:_.value},{location:e,entity:hn.UserSetting,actionType:It.Edit}),w==null||w()}pd(i,u(E,_,x,T,C))},f=(E,_)=>new Promise((w,T)=>{l(E,_,w,T)}),d=(E,_,w,T)=>l("user",E,_,w,T),h=(E,_,w,T)=>l("customer",E,_,w,T),p=E=>f("user",E),m=E=>f("customer",E);function S(){var E;return(E=t.data)!=null&&E.isAuthenticated?a(fr.HasTopicDirectories):!0}return{isLoadingSettings:!o,updateUserSetting:d,updateUserSettingAsync:p,updateCustomerSetting:h,updateCustomerSettingAsync:m,userSettings:n,shareToGoogleClassroom:a(fr.ShareToGoogleClassroom),shareToMicrosoftTeams:a(fr.ShareToMicrosoftTeams),hasLti:a(fr.LTI),defaultPlaybackQuality:a(fr.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:a(fr.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:a(fr.EnableSubtitlesDefault),hasCompletedOnboardingV1:a(fr.HasCompletedOnboardingV1),hasCompletedOnboardingV2:a(fr.HasCompletedOnboardingV2),hasOnboardingV2:a(fr.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:a(fr.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:a(fr.HasCompletedOnboardingProductTips),liteUpgradeTime:a(fr.LiteUpgradeTime),liteUpgradeTypeCustomer:a(fr.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:a(fr.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:a(fr.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:a(fr.LiteUpgradeFeedback),liteUpgradeComplete:a(fr.LiteUpgradeComplete),hasNewClassificationView:a(fr.HasNewClassificationView),hasCuratedDiscoverDashboards:a(fr.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:a(fr.HasSpecialEventCalendar),hasLiteSearchDropdown:a(fr.HasLiteSearchDropdown),policyEndTime:a(fr.PolicyEndTime),bulkOnboardingPreferencesState:a(fr.BulkOnboardingPreferencesState),hasOnlineTopics:a(fr.Topics),hasPreviewVideos:a(fr.PreviewVideos),domainSettings:a(fr.DomainSettings),inviteColleague:a(fr.InviteColleague),myVideosFolders:a(fr.MyVideosFolders),exchangeTvProductOption:a(fr.ExchangeTvProductOption),messageFrequencyOption:a(fr.MessageFrequencyOption),tvRegion:a(fr.TvRegion),hasEnabledViviStudentCasting:a(fr.HasEnabledViviStudentCasting),hasEnabledViviPlayback:a(fr.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:a(fr.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:a(fr.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:a(fr.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:a(fr.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:a(fr.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:a(fr.ShowExchangeSearchResultsUser),shareOverrideRestrictions:a(fr.ShareOverrideRestrictions),hasTopicDirectories:S(),hasTopicVideoListFeature:a(fr.HasTopicVideoListFeature),hasManageGroupPermissions:a(fr.HasManageGrouPermissions),experimentalInteractiveQuestions:a(fr.ExperimentalInteractiveQuestions),hasClassrooms:a(fr.HasClassrooms),hasNewSearch:a(fr.HasNewSearch),hasPlayPageTranscript:a(fr.HasPlayPageTranscript),hasShareFlowV2:a(fr.HasShareFlowV2)}};function NIe(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var Py=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(Py||{}),zu=(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))(zu||{}),MIe=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))(MIe||{});function $Ie(e){return ce.jsx("svg",{...e,children:ce.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 FIe={[zu.Banners]:"banner",[zu.Thumbnails]:"thumbnail"},nX={[zu.Banners]:"banners",[zu.Thumbnails]:"thumbnails",[zu.TallPosters]:"tallPosters",[zu.Covers]:"covers",[zu.Avatars]:"avatars"},jIe={categoryMapper:e=>`/v1/category-map/${e}`},Gs={createUrl(e,t){return Gs._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?Gs._createUrl(e.url,r):Gs._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return Gs._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:i}=e,o=Xo.safeUrlConcat(r,`${jIe.categoryMapper(FIe[i])}`),a={name:Gs.Rfc3986EncodeURIComponent(n),...t};return Gs._createUrl(o,a)},_createUrl(e,t){if(!e)return;if(Ts.isEmpty(t))return e;const r=_s.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 nu?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:Py.Small,bgColor:"000",...t};return Gs._createUrl(r,n)},getDisplayImageFromObject(e){var t,r,n,i,o;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&&((o=(i=e._parentVideo)==null?void 0:i.thumbnail)!=null&&o.url)?e._parentVideo.thumbnail:null},getUrlById(e,t,r,n){nX[t]||nr.throw(new ln(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=Xo.safeUrlConcat(e,`v2/${nX[t]}/${r}`);return Xo.urlBuilder(i,{size:n})}},UIe="_avatar_xiggt_1",qIe="_dot_xiggt_11",Lx={avatar:UIe,dot:qIe};function BIe(e,t){return t?Gs.createUrl(Xo.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:Py.Small}):""}function VIe(e){const t=!e.anonymiseUsers&&e.imageUrl||BIe(e.imageCdnUrl,e.initials);return ce.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?ce.jsx("div",{className:`${Lx.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:ce.jsx(el,{svg:$Ie,size:e.anonymousSvgSize||Qre.Large,className:"svg-container w-100 h-100"})}):ce.jsx("div",{className:`${Lx.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&ce.jsx("div",{className:`${Lx.dot} rounded-circle bg-danger`})]})}var Ip=(e=>(e.ManageSubjectPreferences="subjects.preferences.manage",e.FollowSubjects="subjects.follow",e.ViewClassrooms="classrooms.view",e.ManageAllClassrooms="classrooms.manage.all",e.ShareToUsers="share.direct.users",e.ShareToClassrooms="share.direct.classrooms",e.ShareToClassroomGroups="share.direct.classroomgroups",e.CreateClassrooms="classrooms.create",e.DeleteClassrooms="classrooms.delete",e.StudentExperience="studentexperience",e.ManageUsers="users.manage",e.ManageIntegrations="integrations.manage",e.EditProfileDetails="profile.edit",e.ManageCustomerSettings="customersettings.manage",e.ManageLocalCache="localcache.manage",e.ManageVideoAccess="video.access.manage",e.ViewCustomerAnalytics="analytics.customeranalytics.view",e.ViewAnalyticsProduct="analytics.view",e.ManageShareLinkSettings="sharelink.settings.edit",e.ViewProductBoard="productboard.view",e.CanSubmitFeedback="feedback.submit",e.ViewTrialDuration="trial.duration.view",e.ViewTrialBanner="trial.banner.view",e.ViewTrialUpgrade="trial.upgrade.view",e.ViewInviteColleague="invitecolleague.view",e.UploadVideo="video.upload",e.FavouriteVideo="video.favourite",e.ViewVideoPointsOfInterest="video.pointsofinterest.view",e.ViewVideoGlance="video.glance.view",e.ViewVideoInteractives="video.interactives.view",e.ViewVideoClips="video.clips.view",e.ViewCurriculums="curriculums.view",e.ViewLibraries="libraries.view",e.ViewOnboarding="onboarding.view",e.Exchange="exchangetv.manage",e.Rostering="rostering.manage",e.ViewMoviesTv="moviestv.view",e.ViewDiscover="discover.view",e.ViewSearch="search.view",e.ViewMyShares="myshares.view",e.ViewInsights="insights.view",e.ViewRestrictedMode="restrictedmode.view",e.GuestExperience="guestexperience",e))(Ip||{}),HP=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(HP||{});function HIe(e){return e?e===Yo.SessionStorage?Wg:xi:null}const oie=(e,t,r)=>{const n=HIe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const o=_p(),a=yte(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function u(){return i!=null}const l=(t!==void 0||u())&&a===void 0;Sr.useEffect(()=>{if(l){if(u()){f(i);return}f(t);return}},[]);function f(h,p){n&&d(h,p),o({type:HP.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:p}})}function d(h,p){if(!n)return;const m=n.get(e);if(typeof h=="string"&&p!==void 0){n.set(e,{...m,[h]:p});return}n.set(e,h)}return l?u()?[i,f]:[t,f]:[a??void 0,f]},zIe={LOCAL_PERMISSIONS:"local:permissions",BULK_USER_ACTIONS:"bulk:user:actions"},ky=()=>{const e=ra(ma.currentUser()),t=ra(e.hasCompleted&&ma.permissions()),[r]=oie(zIe.LOCAL_PERMISSIONS),n=o=>!t.hasCompleted||t.hasError?!1:!o||!(o!=null&&o.length)?!0:Array.isArray(o)?!o.find(a=>!t.data[a]):!!t.data[o],i=o=>(r||nr.throw(new ln("Local Permissions should be registered during start up.")),!o||!(o!=null&&o.length)?!0:Array.isArray(o)?!o.find(a=>!r[a]):!!r[o]);return{permissions:t.data,hasPermissions:n,hasLocalPermissions:i,isLoaded:t.hasCompleted}};function iX(e){return ce.jsx("svg",{...e,children:ce.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 Nx={"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 Dl=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Dl||{}),bf=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(bf||{}),To=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(To||{});const Nl={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 Nl.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=bf.Unknown;break;case 1:t=bf.Staff;break;case 2:t=bf.Learner;break;case 255:t=bf.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Dl.Disabled;break;case 1:t=Dl.Active;break;case 2:t=Dl.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Dl.Disabled;break;case 1:e=Dl.Active;break;case 2:e=Dl.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 To.User;if(typeof t=="number")switch(t){case 16:t=To.Guest;break;case 32:t=To.User;break;case 48:t=To.Admin;break;case 64:t=To.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return To.User;if(typeof e=="number")switch(e){case 16:return To.Guest;case 32:return To.User;case 48:return To.Admin;case 64:return To.SuperAdmin;default:return To.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Nl.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?rc.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 Nl.hasLegacySso(e)||Nl.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in Nx)Nx.hasOwnProperty(n)&&(t[n.toLowerCase()]=Nx[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Nl.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function aX(e){return ce.jsx("svg",{...e,children:ce.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 WIe="_toggle_1f3ot_1",GIe={toggle:WIe},KIe=4,oX="shared.customerSelectorItem";function YIe(e){var n;function t(i,o=null){o!==e.currentCustomerId&&(ga.logUserAction({id:e.currentCustomerId,newCustomerId:o},{actionType:It.SwitchCustomer,entity:hn.Customer,location:na.UserOptions}),En.PageLoad(r(o)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?ce.jsx(ce.Fragment,{}):e.customers.length<=1?ce.jsx(ce.Fragment,{}):e.customers.length>KIe?ce.jsx(Ha.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:ce.jsxs("div",{className:"d-flex justify-content-between",children:[ce.jsx(Vh,{namespace:oX,phrase:"title"}),ce.jsx(el,{svg:aX,className:"svg-container text-secondary"})]})}):ce.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[ce.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${GIe.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[ce.jsx(Vh,{namespace:oX,phrase:"title"}),ce.jsx(el,{svg:aX,className:"svg-container text-secondary"})]}),ce.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,o)=>{const a=i.id===e.currentCustomerId;return ce.jsx(Ha.Item,{as:"li",onClick:u=>t(u,i.id),disabled:a,children:i.name},o)})})]})}const sie=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:o,isLoadingSettings:a}=aie(null),{hasPermissions:u}=ky(),l=e||t,f=ge.useMemo(()=>{if(a||!r)return 0;const S=new Date(r),E=new Date;return Math.max(Yu.diffBetween(S,E,"day"),0)+1},[a,r]),[d,h]=oie("lite:upgrade:feedback:banner",{show:!0},{storage:Yo.LocalStorage}),p=!!l;return{isUpgrading:p&&!i,isLoading:a,daysLeft:f,upgradeType:l,hasCompletedOnboarding:o,feedbackStatus:n,showFeedbackBanner:p&&d.show&&!u(Ip.StudentExperience),showTvGuide:p,dismissFeedbackBanner:()=>h({show:!1})}};class XIe{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){nr.throw(new ln("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===za.Online){if(!t.onlineSupportSiteUrl){nr.throw(new ln("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){nr.throw(new ln("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(nr.throw(new ln("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return Xo.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===za.Primary&&nr.throw(new ln("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===za.Online&&nr.throw(new ln("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===za.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?Xo.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":Xo.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const kC=XIe.Instance,QIe="shared.userOptions",sX=Lr.encloseNamespace(QIe);function JIe(e,t,r){const{hasPermissions:n}=ky(),i=sie(),o=rc.sortBy(t,"order");if(e&&(o.push({label:sX("helpCentre"),order:0,url:kC.getHybridArticle(null,null),analyticsData:{url:kC.getHybridArticle(null,null)},analyticsOptions:{actionType:It.Click,entity:hn.Url,descriptor:Kl.ExternalLink,location:na.UserOptions}}),n(Ip.ViewProductBoard)&&!i.isUpgrading&&!r)){const u=Xo.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");o.push({label:sX("whatsNew"),order:0,url:u,analyticsData:{url:u},analyticsOptions:{actionType:It.Click,entity:hn.Url,descriptor:Kl.ExternalLink,location:na.UserOptions}})}const a={main:[],logOut:[]};return o.forEach(u=>{u.section==="logOut"?a.logOut.push(u):a.main.push(u)}),a}function ZIe(e,t,r){var f;const n=ra(ma.currentUser()),i=ra(((f=n.data)==null?void 0:f.isAuthenticated)&&DP.userProducts()),o=sie();if(t||!i.data||o.isLoading)return;const a=[...i.data],u=Array.isArray(e)?e:[e];o.isUpgrading&&!u.includes(za.Online)&&u.push(za.Online);let l=a.filter(d=>!u.includes(d.id),"order");return typeof r=="function"&&(l=r(l)),rc.sortBy(l)}const ePe="_avatarContainer_1z0er_1",tPe="_productLogo_1z0er_5",rPe="_counter_1z0er_9",Kg={avatarContainer:ePe,productLogo:tPe,counter:rPe},nPe="shared.userOptions",Eh=Lr.encloseNamespace(nPe);function uX({item:e}){if(e.appLink)return ce.jsxs(Ha.Item,{as:Ja,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&&ce.jsx("div",{className:`${Kg.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),ce.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&ce.jsx(el,{svg:iX,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&&ga.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),En.PageLoad(e.url,!0)};return ce.jsxs(Ha.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&&ce.jsx("div",{className:`${Kg.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),ce.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&ce.jsx(el,{svg:iX,className:"svg-container text-secondary"})]})]})}return ce.jsx(ce.Fragment,{})}const iPe=({appLinks:e,showSignUpForMobile:t})=>ce.jsxs(ce.Fragment,{children:[ce.jsx(Ja,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:It.Click,location:na.TopNav,entity:hn.Url,descriptor:Mh.SignIn},analyticsData:{},children:Eh("signIn")}),ce.jsx(Ja,{appLink:e.signUp,className:NIe("btn btn-dark",!t&&"d-none d-lg-inline-block"),analyticsOptions:{actionType:It.Click,location:na.TopNav,entity:hn.AppLink,workflowPhase:Ku.Start,descriptor:Mh.SignUp},analyticsData:{},tag:"button",children:Eh(t?"signUpForMobile":"signUp")})]}),aPe=({appLinks:e})=>ce.jsx(Ja,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:It.Click,location:na.TopNav,entity:hn.AppLink,workflowPhase:Ku.Start,descriptor:Mh.SignIn},analyticsData:{},children:Eh("signIn")});function oPe(e){var S,E,_,w,T,C;const[t,r]=ge.useState(!1),{hasPermissions:n}=ky(),i=ra(ma.currentUser()),o=ra(((S=i.data)==null?void 0:S.id)&&ma.user(i.data.id)),a=ra(tl.config()),u=ra(((E=i.data)==null?void 0:E.isAuthenticated)&&ma.customers(i.data.id)),l=JIe(a.data,e.additionalItems,e.hideWhatsNew),f=n(Ip.GuestExperience),d=e.hideProductList||f,h=ZIe(e.productId,d,e.transform);function p(x){r(x),ga.logUserAction({},{actionType:It.Click,entity:hn.AppLink,location:na.UserOptions,descriptor:x?Kl.Open:Kl.Close})}function m(x){ga.logUserAction({id:x.id,name:x.name},{actionType:It.Click,entity:hn.Product,location:na.UserOptions,descriptor:Kl.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!o.hasCompleted||!a.data?ce.jsx(ce.Fragment,{}):i.data.isAuthenticated?ce.jsxs(Ha,{className:"position-relative",onToggle:p,children:[ce.jsx(Ha.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Kg.avatarContainer} no-caret border-0 p-0`,children:ce.jsx(VIe,{imageUrl:Gs.createUrl(i.data.avatar,{size:Py.Small}),imageCdnUrl:a.data.imageCdnUrl,initials:Nl.getInitials(i.data.givenName,i.data.familyName),showDot:l.main.some(x=>x.counter>0)})}),ce.jsxs(Ha.Menu,{as:"ul",align:"end",children:[ce.jsxs(Ha.Item,{as:"div",children:[ce.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[ce.jsx("strong",{children:i.data.displayName})," ",!f&&ce.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),ce.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!f&&((_=o.data)==null?void 0:_.masterYearGroup)&&ce.jsx("p",{className:"m-0 text-secondary",children:o.data.masterYearGroup.name})]}),ce.jsx(YIe,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(T=u.data)==null?void 0:T.data}),ce.jsx(Ha.Divider,{}),l.main.map((x,R)=>ce.jsx(uX,{item:x},R)),ce.jsx(Ha.Divider,{}),h==null?void 0:h.map((x,R)=>ce.jsxs(Ha.Item,{as:"a",href:x.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>m(x),children:[ce.jsx("img",{src:x.imageUrl,className:`${Kg.productLogo} me-2`}),x.name]},R)),!!(h!=null&&h.length)&&ce.jsx(Ha.Divider,{}),l.logOut.map((x,R)=>ce.jsx(uX,{item:x},R)),ce.jsx(Ha.Item,{as:Ja,appLink:e.appLinks.signOut,analyticsData:{id:(C=i.data)==null?void 0:C.id},analyticsOptions:{actionType:It.Click,location:na.UserOptions,entity:hn.AppLink,descriptor:Mh.SignOut},children:Eh("signOut")})]})]}):e.displaySignUp?ce.jsx(iPe,{...e}):ce.jsx(aPe,{...e})}function sPe(e){return ce.jsx("svg",{...e,children:ce.jsx("path",{fill:"currentColor",d:"M4.794 4c-.67 0-1.207.541-1.207 1.21v13.58c0 .669.538 1.21 1.207 1.21h14.499c.67 0 1.207-.541 1.207-1.21V5.21c0-.669-.538-1.21-1.207-1.21zm-.207 1.21c0-.12.093-.21.207-.21h14.499c.114 0 .207.09.207.21v13.58c0 .12-.093.21-.207.21h-.82c.09-.212.126-.451.09-.696l-.977-6.73a1.3 1.3 0 0 0-1.474-1.099l-.791.115a1.3 1.3 0 0 0-.628.273A1.3 1.3 0 0 0 13.4 9.7h-1.6c-.302 0-.58.103-.8.275a1.3 1.3 0 0 0-.8-.275H8.6A1.3 1.3 0 0 0 7.3 11v7.6q0 .21.063.4H4.794a.207.207 0 0 1-.207-.21zM14.7 15.36l.499 3.433q.015.107.047.207h-.609a1.3 1.3 0 0 0 .063-.4zM8.3 11a.3.3 0 0 1 .3-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3H8.6a.3.3 0 0 1-.3-.3zm3.5-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3h-1.6a.3.3 0 0 1-.3-.3V11a.3.3 0 0 1 .3-.3m3.41 1.22a.3.3 0 0 1 .254-.34l.792-.115a.3.3 0 0 1 .34.254l.978 6.729a.3.3 0 0 1-.254.34l-.792.115a.3.3 0 0 1-.34-.254z"})})}function uPe(e){return ce.jsx("svg",{...e,children:ce.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.893 7.5H5.6A1.6 1.6 0 0 0 4 9.1v9.3A1.6 1.6 0 0 0 5.6 20h12.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-5.096l2.733-2.535a.55.55 0 0 0 0-.816.657.657 0 0 0-.88 0l-3.059 2.837L9.04 4.15a.657.657 0 0 0-.88 0 .55.55 0 0 0 0 .816zM5.6 8.7h12.8c.22 0 .4.18.4.4v9.3a.4.4 0 0 1-.4.4H5.6a.4.4 0 0 1-.4-.4V9.1c0-.22.18-.4.4-.4m11.407 3.413a.6.6 0 0 1-.24.814l-4.4 2.4a.6.6 0 0 1-.887-.527v-1.39l-3.513 1.917a.6.6 0 1 1-.574-1.054l4.4-2.4a.6.6 0 0 1 .887.527v1.39l3.513-1.917a.6.6 0 0 1 .814.24",clipRule:"evenodd"})})}const lPe="_navItem_7o62g_5",cPe="_active_7o62g_18",fPe="_svg_7o62g_21",dPe="_background_7o62g_24",hPe="_backgroundExchange_7o62g_33",pPe="_backgroundTv_7o62g_37",vPe="_iconContainer_7o62g_42",gPe="_text_7o62g_57",mPe="_exchange_7o62g_66",yPe="_clickviewTv_7o62g_72",ys={navItem:lPe,active:cPe,svg:fPe,background:dPe,backgroundExchange:hPe,backgroundTv:pPe,iconContainer:vPe,text:gPe,exchange:mPe,clickviewTv:yPe};function _Pe(e){return e==="exchange"?ys.backgroundExchange:e==="tv"?ys.backgroundTv:""}function lX(e){const{appLink:t,typeClass:r,active:n,text:i,svg:o}=e;return ce.jsxs(Ja,{appLink:t,className:`${ys.navItem} ${r} ${n?ys.active:""}`,children:[ce.jsx("div",{className:ys.iconContainer,children:ce.jsx(el,{svg:o,className:ys.svg})}),ce.jsx("div",{className:ys.text,children:i})]})}function EPe(e){return ce.jsxs("div",{className:"position-relative",children:[ce.jsx("div",{className:`${ys.background} ${_Pe(e.activeApp)}`}),ce.jsx(lX,{appLink:{application:di.EXCHANGE,action:Wa.Exchange.INDEX},typeClass:ys.exchange,active:e.activeApp==="exchange",text:"Exchange Archive",svg:sPe}),ce.jsx(lX,{appLink:{application:di.TV,action:Wa.Tv.INDEX},typeClass:ys.clickviewTv,active:e.activeApp==="tv",text:"ClickView TV",svg:uPe})]})}var uie=(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))(uie||{}),SPe=(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))(SPe||{});const lie={customer(e,t,r,n){return{url:Xo.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:ji.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},wPe="_nav_fxrnb_1",bPe="_logo_fxrnb_11",TPe="_navIconContainer_fxrnb_23",zv={nav:wPe,logo:bPe,navIconContainer:TPe},APe="exchange.header",cX={application:di.DEFAULT,action:Wa.Default.INDEX};function RPe(e){var d,h,p;const t=ra(tl.config()),r=ra(DP.userProducts()),n=ra(ma.currentUser()),o=((h=ra(!!((d=n.data)!=null&&d.isAuthenticated)&&lie.customer(n.data.customerId)).data)==null?void 0:h.customerType)===uie.Tertiary,{exchangeTvProductOption:a}=aie(null),{hasPermissions:u}=ky(),l=(p=r.data)==null?void 0:p.find(m=>m.id===za.Exchange);function f(m){return o&&!u(Ip.ViewCustomerAnalytics)?m.filter(S=>S.id!==za.Analytics):m}return ce.jsx("nav",{className:`navbar navbar-expanded ps-3 w-100 ${zv.nav}`,children:ce.jsxs("div",{className:"container-fluid",children:[ce.jsx("div",{className:`d-flex align-items-center justify-content-start ${zv.headerLeft}`,children:ce.jsx(Ja,{appLink:cX,className:`navbar-brand text-hide align-top ${zv.logo} d-inline-block'`,analyticsData:{url:ni.getHref(cX)},analyticsOptions:{actionType:It.Click,entity:hn.Url,location:na.TopNav,descriptor:Kl.ClickViewLogo},children:ce.jsx(LIe,{})})}),l&&a==="exchange_and_tv"&&ce.jsx("div",{className:`${zv.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:ce.jsx(EPe,{activeApp:e.activeApp})}),ce.jsxs("div",{className:"d-flex align-items-center justify-content-end",children:[ce.jsx(Ja,{appLink:{application:di.DEFAULT,action:Wa.Default.GIVE_FEEDBACK},className:"btn btn-outline-dark me-3",children:ce.jsx(Vh,{namespace:APe,phrase:"giveFeedback"})}),!!t.data&&ce.jsx("div",{className:"me-3",children:ce.jsx(oPe,{productId:za.Exchange,appLinks:{signOut:{application:di.DEFAULT,action:Wa.Default.LOG_OUT}},transform:f})})]})]})})}const xPe="_content_ulv6h_1",CPe="_container_ulv6h_6",OPe="_fixedBottomRightContainer_ulv6h_13",IPe="_lockedWidth_ulv6h_19",Wv={content:xPe,container:CPe,fixedBottomRightContainer:OPe,lockedWidth:IPe},cie="banner-portal-container",PPe=e=>(PIe(),kIe(),ge.useEffect(()=>{document.body.style.overflowY="scroll"},[]),ce.jsx(Rx,{renderError:()=>mne({error:new Uf}),children:ce.jsxs("div",{className:Wv.lockedWidth,children:[ce.jsx(RPe,{activeApp:e.activeApp}),ce.jsxs("div",{className:Wv.content,children:[ce.jsx("div",{className:`container-fluid ${cie}`}),ce.jsxs("div",{className:`container px-3 ${Wv.container}`,children:[ce.jsx(Rx,{throwError:Uf,children:e.contentChild}),ce.jsx(DIe,{})]})]}),ce.jsx(Rx,{throwError:JAe,children:e.popupChild}),ce.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&ce.jsx("div",{className:Wv.fixedBottomRightContainer,children:e.alertChild})}),ce.jsx("div",{style:{display:"none"},children:e.hiddenChild})]})}));function kPe(e){return ce.jsx(_te,{store:e.store,children:ce.jsx(wbe,{children:ce.jsx(QAe,{children:ce.jsx(YAe,{containerClassName:cie,children:ce.jsx(PPe,{...e})})})})})}class DPe extends WAe{constructor(r){super(r);un(this,"childComponents",{});un(this,"preventScrollTop",!1);un(this,"activeApp")}initialize(){var n,i;this.listenTo(tn.SHELL,an.ROUTE,this.onRouteChange),this.listenTo(tn.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0);const r=(i=(n=Vte.getCurrentContext())==null?void 0:n.appLink)==null?void 0:i.application;this.setActiveApp(r)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region position-relative"></div>'}static getCacheKey(){return`${wp.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Wr.CONTENT],popupChild:this.childComponents[Wr.POPUP],alertChild:this.childComponents[Wr.ALERT],hiddenChild:this.childComponents[Wr.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(r){delete this.childComponents[r],this.renderLayout()}closePopup(){this.unsetRegion(Wr.POPUP)}showChildView(r,n,i={}){this.childComponents[r]=n,r===Wr.CONTENT&&(!this.preventScrollTop&&!i.preventScrollTop&&_s(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const r={...this.getChildComponents()};super.showChildView("layout",ce.jsx(kPe,{...r}))}setActiveApp(r){if(r===di.EXCHANGE){this.activeApp="exchange";return}if(r===di.TV){this.activeApp="tv";return}this.activeApp=null}onRouteChange(r,n){n.isAppRoute&&this.setActiveApp(r.application)}}function LPe(e,t){e.registerLayout(wp.DEFAULT_LAYOUT,DPe),t(e)}function NPe(e,t,r){iy.setUpVariables({isDevelopment:!1}),r(e,t)}var Yg=(e=>(e.Fifo="FifoMemoryCache",e))(Yg||{}),Xg=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(Xg||{});class MPe extends Fa{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),Af(this,"name")||nr.throw(new ln("Must provide a name when extending BaseDataService")),Af(this,"channelName")||nr.throw(new ln(`Must provide a channelName for ${Af(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:o,errorEvent:a}=this.getEventNames(i),u=this.cache.get(i);if(u&&u.openRequest){const l=d=>{qr(n)&&this.stopListening(this.getChannel(),a,n),qr(r)&&r(d)},f=()=>{qr(r)&&this.stopListening(this.getChannel(),o,r),qr(n)&&n()};this.listenToOnce(this.getChannel(),o,l),this.listenToOnce(this.getChannel(),a,f);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:o,formatData:a,expiryTime:u,successHandler:l,errorHandler:f,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:p,requestEvent:m,successEvent:S,errorEvent:E}=this.getEventNames(i),_=this.getChannel(),w=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[d]&&(this.cacheData(i,this.bootstrapData[d],a,{openRequest:!1,timestamp:w}),delete this.bootstrapData[d]);const T=this.cache.get(i);let C;T&&(C=T.data);const x=T&&T.openRequest,R=this.isExpired(i,u);if(x){const P=N=>{qr(n)&&this.stopListening(this.getChannel(),E,n),qr(r)&&r(N)},y=()=>{qr(r)&&this.stopListening(this.getChannel(),p,r),qr(n)&&n()};this.listenToOnce(_,p,P),this.listenToOnce(_,E,y)}if((!this.cache.has(i)||R)&&(_.trigger(m),this.listenToResponse({eventPrefix:i,formatData:a,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:l,errorHandler:f,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(o,{channel:this.getTransportChannel(),successEvent:S,errorEvent:E})),C&&qr(r)&&!R&&r(C),C)return C}create(t){const{eventPrefix:r,resource:n,data:i,formatData:o,callback:a,errorCallback:u,invalidationKeys:l,successHandler:f,errorHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:m,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),_=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:r,formatData:o,invalidationKeys:l,callback:a,errorCallback:u,successHandler:f,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:_,successEvent:m,errorEvent:S})}update(t){const{data:r,callback:n,errorCallback:i,resource:o,formatData:a,eventPrefix:u,invalidationKeys:l,errorHandler:f,successHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:m,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),_=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:u,formatData:a,invalidationKeys:l,callback:n,errorCallback:i,successHandler:d,errorHandler:f,invalidateFlight:h}),this.dataProvider.update(o,r,{channel:_,successEvent:m,errorEvent:S})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:o,invalidationKeys:a,successHandler:u,errorHandler:l,invalidateFlight:f}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),p=this.getTransportChannel(),m={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:a,callback:i,errorCallback:o,cacheOptions:m,successHandler:u,errorHandler:l,invalidateFlight:f}),this.dataProvider.delete(n,{channel:p,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:o,successHandler:a,errorHandler:u,invalidationKeys:l,cacheOptions:f={},invalidateFlight:d}=t,{syncEvent:h,successEvent:p,errorEvent:m,successAlertEvent:S,errorAlertEvent:E}=this.getEventNames(r),_=this.getChannel(),w=this.getTransportChannel(),T=this.getAlertChannel();if(qr(i)&&this.listenToOnce(_,h,i),qr(o)&&this.listenToOnce(_,m,o),this.stopListening(T,S),this.stopListening(T,E),qr(a)&&this.listenToOnce(T,S,a),qr(u)&&this.listenToOnce(T,E,u),!qr(u)&&u!==!1&&qr(this.defaultErrorHandler)&&this.listenToOnce(T,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const C=(R,...P)=>{this.stopListening(_,m,o),T.trigger(S,R,...P);const y=f.noCache?this.formatData(R,n):this.cacheData(r,R,n);f.clearCacheKey&&this.cache.remove(r),_.trigger(h,y),l&&l.length&&this.cache.invalidate(l,N=>_.trigger(`${N}:invalidate`),d)},x=(...R)=>{this.stopListening(_,h,i);const P=this.dataProvider.parseError(...R);T.trigger(E,P),_.trigger(m,P),!f.noCache&&this.cacheData(r,null,null)};this.listenTo(w,p,C),this.listenTo(w,m,x)}cacheData(t,r,n,i={}){const{openRequest:o=!1}=i;let{timestamp:a}=i;a||(a=this.currentTimestamp());const u=this.processPagination(r),l=this.formatData(r,n);return this.cache.set(t,{data:l,timestamp:a,cursors:u,openRequest:o}),l}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!Ah(r.offset)&&!Ah(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return qr(r)?r(t):t}chain(){const t=[],r=(o,a)=>{qr(o)&&o(a)},n=(o,a)=>{const u=()=>{const l=o.callback;o.callback=f=>{r(l,f),r(t.shift())},this[a](o)};return t.push(u),i},i={func(o){return t.push(()=>{o(t.shift()||(()=>{}))}),i},get(o){return n(o,"get")},create(o){return n(o,"create")},update(o){return n(o,"update")},delete(o){return n(o,"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,o=n.timestamp,a=r*i;return o<this.currentTimestamp()-a}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 wr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return wr.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,o=i>0&&r<i&&r+n,a=i>0&&r>0&&Math.max(r-n,0),u={};if(o&&o<i&&(u.next=o.toString()),zl(a)&&(u.previous=a.toString()),!$f(u))return u}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=zl(r)&&r>0&&r<n&&r+1,o=zl(r)&&r>1&&r-1,a={};if(i&&i<=n&&(a.next=i.toString()),o&&(a.previous=o.toString()),!$f(a))return a}}class $Pe extends Fa{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 _7&&t.set(n,{silent:!0}),t instanceof nu&&!(t instanceof _7)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:i=!1}=n,o=this.viewObjects[t];if(o&&i)return this.updateViewModel(o,r);if(o)return o;const a=this.getLocalData(t,n);return this.set(t,r,a,n)}set(t,r={},n,i){const{ctor:o,storage:a}=i,u=this.mergeData(r,n),l=o?new o(u):new nu(u);return this.viewObjects[t]=l,a&&!n?(this.setLocalData(t,l,null,i),this.setupChangeListeners(t,l,i)):a&&n&&this.setupChangeListeners(t,l,i),l}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,i){const{storage:o}=i;if(!o||o&&!o.persistProps)return;typeof o.persistProps=="string"&&(o.persistProps=[o.persistProps]);let a;r instanceof nu&&(a=r.pick(o.persistProps)),this.getStorageHelper(o.type).set(t,a)}setupChangeListeners(t,r,n){const{storage:i}=n;!i||i&&!i.persistProps||(typeof i.persistProps=="string"&&(i.persistProps=[i.persistProps]),Ye.each(i.persistProps,o=>{this.listenTo(r,`change:${o}`,Ye.partial(this.setLocalData,t,Ye,Ye,n))}))}mergeData(t,r){if(!r)return t;if(Ye.isObject(t)&&Ye.isObject(r))return Ye.extend(t,r);nr.throw(new ln("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Yo.LocalStorage:return xi;case Yo.SessionStorage:return Wg}}}const fie=$Pe.Instance;var zP=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(zP||{});class FPe extends Ic{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:Lr.getPhrase(this.lang,"heading"),text:Lr.getPhrase(this.lang,"body"),buttons:[{text:Lr.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:Lr.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const jPe=["pdf"],UPe=["doc","docx","dotx","dot","rtf","docm","odt"],qPe=["csv","txt"],BPe=["xlsx"],fX=["jpg","jpeg","png","bmp","gif"],dX=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],VPe=["zip"],HPe=["ppt","pps","pptx"],zPe=["srt"],Gv={VIDEO:`.${dX.join(",.")}`,MIXED_MEDIA:`.${fX.join(",.")},${dX.join(",.")}`,RESOURCES:`.${[...UPe,...BPe,...HPe,...jPe,...qPe,...fX,...VPe].join(",.")}`,SUBTITLES:`.${zPe.join(",.")}`},WPe={requestUpload(e,t){const r=e.name.split("."),n=t===zP.Permanent?null:Yu.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:ji.POST,data:i}}};(function(t,r){if(typeof exports=="object"&&typeof module=="object")module.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n=r();for(var i in n)(typeof exports=="object"?exports:t)[i]=n[i]}})(self,function(){return(function(){var e={3099:(function(i){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}}),6077:(function(i,o,a){var u=a(111);i.exports=function(l){if(!u(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}}),1223:(function(i,o,a){var u=a(5112),l=a(30),f=a(3070),d=u("unscopables"),h=Array.prototype;h[d]==null&&f.f(h,d,{configurable:!0,value:l(null)}),i.exports=function(p){h[d][p]=!0}}),1530:(function(i,o,a){var u=a(8710).charAt;i.exports=function(l,f,d){return f+(d?u(l,f).length:1)}}),5787:(function(i){i.exports=function(o,a,u){if(!(o instanceof a))throw TypeError("Incorrect "+(u?u+" ":"")+"invocation");return o}}),9670:(function(i,o,a){var u=a(111);i.exports=function(l){if(!u(l))throw TypeError(String(l)+" is not an object");return l}}),4019:(function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(i,o,a){var u=a(4019),l=a(9781),f=a(7854),d=a(111),h=a(6656),p=a(648),m=a(8880),S=a(1320),E=a(3070).f,_=a(9518),w=a(7674),T=a(5112),C=a(9711),x=f.Int8Array,R=x&&x.prototype,P=f.Uint8ClampedArray,y=P&&P.prototype,N=x&&_(x),$=R&&_(R),H=Object.prototype,B=H.isPrototypeOf,W=T("toStringTag"),Y=C("TYPED_ARRAY_TAG"),Q=u&&!!w&&p(f.opera)!=="Opera",ne=!1,re,de={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},G={BigInt64Array:8,BigUint64Array:8},ee=function(ae){if(!d(ae))return!1;var O=p(ae);return O==="DataView"||h(de,O)||h(G,O)},z=function(Ve){if(!d(Ve))return!1;var ae=p(Ve);return h(de,ae)||h(G,ae)},ue=function(Ve){if(z(Ve))return Ve;throw TypeError("Target is not a typed array")},Ee=function(Ve){if(w){if(B.call(N,Ve))return Ve}else for(var ae in de)if(h(de,re)){var O=f[ae];if(O&&(Ve===O||B.call(O,Ve)))return Ve}throw TypeError("Target is not a typed array constructor")},Oe=function(Ve,ae,O){if(l){if(O)for(var I in de){var M=f[I];M&&h(M.prototype,Ve)&&delete M.prototype[Ve]}(!$[Ve]||O)&&S($,Ve,O?ae:Q&&R[Ve]||ae)}},$e=function(Ve,ae,O){var I,M;if(l){if(w){if(O)for(I in de)M=f[I],M&&h(M,Ve)&&delete M[Ve];if(!N[Ve]||O)try{return S(N,Ve,O?ae:Q&&x[Ve]||ae)}catch{}else return}for(I in de)M=f[I],M&&(!M[Ve]||O)&&S(M,Ve,ae)}};for(re in de)f[re]||(Q=!1);if((!Q||typeof N!="function"||N===Function.prototype)&&(N=function(){throw TypeError("Incorrect invocation")},Q))for(re in de)f[re]&&w(f[re],N);if((!Q||!$||$===H)&&($=N.prototype,Q))for(re in de)f[re]&&w(f[re].prototype,$);if(Q&&_(y)!==$&&w(y,$),l&&!h($,W)){ne=!0,E($,W,{get:function(){return d(this)?this[Y]:void 0}});for(re in de)f[re]&&m(f[re],Y,re)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:ne&&Y,aTypedArray:ue,aTypedArrayConstructor:Ee,exportTypedArrayMethod:Oe,exportTypedArrayStaticMethod:$e,isView:ee,isTypedArray:z,TypedArray:N,TypedArrayPrototype:$}}),3331:(function(i,o,a){var u=a(7854),l=a(9781),f=a(4019),d=a(8880),h=a(2248),p=a(7293),m=a(5787),S=a(9958),E=a(7466),_=a(7067),w=a(1179),T=a(9518),C=a(7674),x=a(8006).f,R=a(3070).f,P=a(1285),y=a(8003),N=a(9909),$=N.get,H=N.set,B="ArrayBuffer",W="DataView",Y="prototype",Q="Wrong length",ne="Wrong index",re=u[B],de=re,G=u[W],ee=G&&G[Y],z=Object.prototype,ue=u.RangeError,Ee=w.pack,Oe=w.unpack,$e=function(De){return[De&255]},Ve=function(De){return[De&255,De>>8&255]},ae=function(De){return[De&255,De>>8&255,De>>16&255,De>>24&255]},O=function(De){return De[3]<<24|De[2]<<16|De[1]<<8|De[0]},I=function(De){return Ee(De,23,4)},M=function(De){return Ee(De,52,8)},k=function(De,he){R(De[Y],he,{get:function(){return $(this)[he]}})},U=function(De,he,me,_e){var Le=_(me),Me=$(De);if(Le+he>Me.byteLength)throw ue(ne);var Ne=$(Me.buffer).bytes,Ge=Le+Me.byteOffset,it=Ne.slice(Ge,Ge+he);return _e?it:it.reverse()},K=function(De,he,me,_e,Le,Me){var Ne=_(me),Ge=$(De);if(Ne+he>Ge.byteLength)throw ue(ne);for(var it=$(Ge.buffer).bytes,Dt=Ne+Ge.byteOffset,rr=_e(+Le),Ke=0;Ke<he;Ke++)it[Dt+Ke]=rr[Me?Ke:he-Ke-1]};if(!f)de=function(he){m(this,de,B);var me=_(he);H(this,{bytes:P.call(new Array(me),0),byteLength:me}),l||(this.byteLength=me)},G=function(he,me,_e){m(this,G,W),m(he,de,W);var Le=$(he).byteLength,Me=S(me);if(Me<0||Me>Le)throw ue("Wrong offset");if(_e=_e===void 0?Le-Me:E(_e),Me+_e>Le)throw ue(Q);H(this,{buffer:he,byteLength:_e,byteOffset:Me}),l||(this.buffer=he,this.byteLength=_e,this.byteOffset=Me)},l&&(k(de,"byteLength"),k(G,"buffer"),k(G,"byteLength"),k(G,"byteOffset")),h(G[Y],{getInt8:function(he){return U(this,1,he)[0]<<24>>24},getUint8:function(he){return U(this,1,he)[0]},getInt16:function(he){var me=U(this,2,he,arguments.length>1?arguments[1]:void 0);return(me[1]<<8|me[0])<<16>>16},getUint16:function(he){var me=U(this,2,he,arguments.length>1?arguments[1]:void 0);return me[1]<<8|me[0]},getInt32:function(he){return O(U(this,4,he,arguments.length>1?arguments[1]:void 0))},getUint32:function(he){return O(U(this,4,he,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(he){return Oe(U(this,4,he,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(he){return Oe(U(this,8,he,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(he,me){K(this,1,he,$e,me)},setUint8:function(he,me){K(this,1,he,$e,me)},setInt16:function(he,me){K(this,2,he,Ve,me,arguments.length>2?arguments[2]:void 0)},setUint16:function(he,me){K(this,2,he,Ve,me,arguments.length>2?arguments[2]:void 0)},setInt32:function(he,me){K(this,4,he,ae,me,arguments.length>2?arguments[2]:void 0)},setUint32:function(he,me){K(this,4,he,ae,me,arguments.length>2?arguments[2]:void 0)},setFloat32:function(he,me){K(this,4,he,I,me,arguments.length>2?arguments[2]:void 0)},setFloat64:function(he,me){K(this,8,he,M,me,arguments.length>2?arguments[2]:void 0)}});else{if(!p(function(){re(1)})||!p(function(){new re(-1)})||p(function(){return new re,new re(1.5),new re(NaN),re.name!=B})){de=function(he){return m(this,de),new re(_(he))};for(var ie=de[Y]=re[Y],ye=x(re),ve=0,Re;ye.length>ve;)(Re=ye[ve++])in de||d(de,Re,re[Re]);ie.constructor=de}C&&T(ee)!==z&&C(ee,z);var Se=new G(new de(2)),xe=ee.setInt8;Se.setInt8(0,2147483648),Se.setInt8(1,2147483649),(Se.getInt8(0)||!Se.getInt8(1))&&h(ee,{setInt8:function(he,me){xe.call(this,he,me<<24>>24)},setUint8:function(he,me){xe.call(this,he,me<<24>>24)}},{unsafe:!0})}y(de,B),y(G,W),i.exports={ArrayBuffer:de,DataView:G}}),1048:(function(i,o,a){var u=a(7908),l=a(1400),f=a(7466),d=Math.min;i.exports=[].copyWithin||function(p,m){var S=u(this),E=f(S.length),_=l(p,E),w=l(m,E),T=arguments.length>2?arguments[2]:void 0,C=d((T===void 0?E:l(T,E))-w,E-_),x=1;for(w<_&&_<w+C&&(x=-1,w+=C-1,_+=C-1);C-- >0;)w in S?S[_]=S[w]:delete S[_],_+=x,w+=x;return S}}),1285:(function(i,o,a){var u=a(7908),l=a(1400),f=a(7466);i.exports=function(h){for(var p=u(this),m=f(p.length),S=arguments.length,E=l(S>1?arguments[1]:void 0,m),_=S>2?arguments[2]:void 0,w=_===void 0?m:l(_,m);w>E;)p[E++]=h;return p}}),8533:(function(i,o,a){var u=a(2092).forEach,l=a(9341),f=l("forEach");i.exports=f?[].forEach:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}}),8457:(function(i,o,a){var u=a(9974),l=a(7908),f=a(3411),d=a(7659),h=a(7466),p=a(6135),m=a(1246);i.exports=function(E){var _=l(E),w=typeof this=="function"?this:Array,T=arguments.length,C=T>1?arguments[1]:void 0,x=C!==void 0,R=m(_),P=0,y,N,$,H,B,W;if(x&&(C=u(C,T>2?arguments[2]:void 0,2)),R!=null&&!(w==Array&&d(R)))for(H=R.call(_),B=H.next,N=new w;!($=B.call(H)).done;P++)W=x?f(H,C,[$.value,P],!0):$.value,p(N,P,W);else for(y=h(_.length),N=new w(y);y>P;P++)W=x?C(_[P],P):_[P],p(N,P,W);return N.length=P,N}}),1318:(function(i,o,a){var u=a(5656),l=a(7466),f=a(1400),d=function(h){return function(p,m,S){var E=u(p),_=l(E.length),w=f(S,_),T;if(h&&m!=m){for(;_>w;)if(T=E[w++],T!=T)return!0}else for(;_>w;w++)if((h||w in E)&&E[w]===m)return h||w||0;return!h&&-1}};i.exports={includes:d(!0),indexOf:d(!1)}}),2092:(function(i,o,a){var u=a(9974),l=a(8361),f=a(7908),d=a(7466),h=a(5417),p=[].push,m=function(S){var E=S==1,_=S==2,w=S==3,T=S==4,C=S==6,x=S==7,R=S==5||C;return function(P,y,N,$){for(var H=f(P),B=l(H),W=u(y,N,3),Y=d(B.length),Q=0,ne=$||h,re=E?ne(P,Y):_||x?ne(P,0):void 0,de,G;Y>Q;Q++)if((R||Q in B)&&(de=B[Q],G=W(de,Q,H),S))if(E)re[Q]=G;else if(G)switch(S){case 3:return!0;case 5:return de;case 6:return Q;case 2:p.call(re,de)}else switch(S){case 4:return!1;case 7:p.call(re,de)}return C?-1:w||T?T:re}};i.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterOut:m(7)}}),6583:(function(i,o,a){var u=a(5656),l=a(9958),f=a(7466),d=a(9341),h=Math.min,p=[].lastIndexOf,m=!!p&&1/[1].lastIndexOf(1,-0)<0,S=d("lastIndexOf"),E=m||!S;i.exports=E?function(w){if(m)return p.apply(this,arguments)||0;var T=u(this),C=f(T.length),x=C-1;for(arguments.length>1&&(x=h(x,l(arguments[1]))),x<0&&(x=C+x);x>=0;x--)if(x in T&&T[x]===w)return x||0;return-1}:p}),1194:(function(i,o,a){var u=a(7293),l=a(5112),f=a(7392),d=l("species");i.exports=function(h){return f>=51||!u(function(){var p=[],m=p.constructor={};return m[d]=function(){return{foo:1}},p[h](Boolean).foo!==1})}}),9341:(function(i,o,a){var u=a(7293);i.exports=function(l,f){var d=[][l];return!!d&&u(function(){d.call(null,f||function(){throw 1},1)})}}),3671:(function(i,o,a){var u=a(3099),l=a(7908),f=a(8361),d=a(7466),h=function(p){return function(m,S,E,_){u(S);var w=l(m),T=f(w),C=d(w.length),x=p?C-1:0,R=p?-1:1;if(E<2)for(;;){if(x in T){_=T[x],x+=R;break}if(x+=R,p?x<0:C<=x)throw TypeError("Reduce of empty array with no initial value")}for(;p?x>=0:C>x;x+=R)x in T&&(_=S(_,T[x],x,w));return _}};i.exports={left:h(!1),right:h(!0)}}),5417:(function(i,o,a){var u=a(111),l=a(3157),f=a(5112),d=f("species");i.exports=function(h,p){var m;return l(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||l(m.prototype))?m=void 0:u(m)&&(m=m[d],m===null&&(m=void 0))),new(m===void 0?Array:m)(p===0?0:p)}}),3411:(function(i,o,a){var u=a(9670),l=a(9212);i.exports=function(f,d,h,p){try{return p?d(u(h)[0],h[1]):d(h)}catch(m){throw l(f),m}}}),7072:(function(i,o,a){var u=a(5112),l=u("iterator"),f=!1;try{var d=0,h={next:function(){return{done:!!d++}},return:function(){f=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}i.exports=function(p,m){if(!m&&!f)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},p(E)}catch{}return S}}),4326:(function(i){var o={}.toString;i.exports=function(a){return o.call(a).slice(8,-1)}}),648:(function(i,o,a){var u=a(1694),l=a(4326),f=a(5112),d=f("toStringTag"),h=l((function(){return arguments})())=="Arguments",p=function(m,S){try{return m[S]}catch{}};i.exports=u?l:function(m){var S,E,_;return m===void 0?"Undefined":m===null?"Null":typeof(E=p(S=Object(m),d))=="string"?E:h?l(S):(_=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":_}}),9920:(function(i,o,a){var u=a(6656),l=a(3887),f=a(1236),d=a(3070);i.exports=function(h,p){for(var m=l(p),S=d.f,E=f.f,_=0;_<m.length;_++){var w=m[_];u(h,w)||S(h,w,E(p,w))}}}),8544:(function(i,o,a){var u=a(7293);i.exports=!u(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})}),4994:(function(i,o,a){var u=a(3383).IteratorPrototype,l=a(30),f=a(9114),d=a(8003),h=a(7497),p=function(){return this};i.exports=function(m,S,E){var _=S+" Iterator";return m.prototype=l(u,{next:f(1,E)}),d(m,_,!1,!0),h[_]=p,m}}),8880:(function(i,o,a){var u=a(9781),l=a(3070),f=a(9114);i.exports=u?function(d,h,p){return l.f(d,h,f(1,p))}:function(d,h,p){return d[h]=p,d}}),9114:(function(i){i.exports=function(o,a){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:a}}}),6135:(function(i,o,a){var u=a(7593),l=a(3070),f=a(9114);i.exports=function(d,h,p){var m=u(h);m in d?l.f(d,m,f(0,p)):d[m]=p}}),654:(function(i,o,a){var u=a(2109),l=a(4994),f=a(9518),d=a(7674),h=a(8003),p=a(8880),m=a(1320),S=a(5112),E=a(1913),_=a(7497),w=a(3383),T=w.IteratorPrototype,C=w.BUGGY_SAFARI_ITERATORS,x=S("iterator"),R="keys",P="values",y="entries",N=function(){return this};i.exports=function($,H,B,W,Y,Q,ne){l(B,H,W);var re=function(ae){if(ae===Y&&ue)return ue;if(!C&&ae in ee)return ee[ae];switch(ae){case R:return function(){return new B(this,ae)};case P:return function(){return new B(this,ae)};case y:return function(){return new B(this,ae)}}return function(){return new B(this)}},de=H+" Iterator",G=!1,ee=$.prototype,z=ee[x]||ee["@@iterator"]||Y&&ee[Y],ue=!C&&z||re(Y),Ee=H=="Array"&&ee.entries||z,Oe,$e,Ve;if(Ee&&(Oe=f(Ee.call(new $)),T!==Object.prototype&&Oe.next&&(!E&&f(Oe)!==T&&(d?d(Oe,T):typeof Oe[x]!="function"&&p(Oe,x,N)),h(Oe,de,!0,!0),E&&(_[de]=N))),Y==P&&z&&z.name!==P&&(G=!0,ue=function(){return z.call(this)}),(!E||ne)&&ee[x]!==ue&&p(ee,x,ue),_[H]=ue,Y)if($e={values:re(P),keys:Q?ue:re(R),entries:re(y)},ne)for(Ve in $e)(C||G||!(Ve in ee))&&m(ee,Ve,$e[Ve]);else u({target:H,proto:!0,forced:C||G},$e);return $e}}),9781:(function(i,o,a){var u=a(7293);i.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(i,o,a){var u=a(7854),l=a(111),f=u.document,d=l(f)&&l(f.createElement);i.exports=function(h){return d?f.createElement(h):{}}}),8324:(function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(i,o,a){var u=a(5005);i.exports=u("navigator","userAgent")||""}),7392:(function(i,o,a){var u=a(7854),l=a(8113),f=u.process,d=f&&f.versions,h=d&&d.v8,p,m;h?(p=h.split("."),m=p[0]+p[1]):l&&(p=l.match(/Edge\/(\d+)/),(!p||p[1]>=74)&&(p=l.match(/Chrome\/(\d+)/),p&&(m=p[1]))),i.exports=m&&+m}),748:(function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(i,o,a){var u=a(7854),l=a(1236).f,f=a(8880),d=a(1320),h=a(3505),p=a(9920),m=a(4705);i.exports=function(S,E){var _=S.target,w=S.global,T=S.stat,C,x,R,P,y,N;if(w?x=u:T?x=u[_]||h(_,{}):x=(u[_]||{}).prototype,x)for(R in E){if(y=E[R],S.noTargetGet?(N=l(x,R),P=N&&N.value):P=x[R],C=m(w?R:_+(T?".":"#")+R,S.forced),!C&&P!==void 0){if(typeof y==typeof P)continue;p(y,P)}(S.sham||P&&P.sham)&&f(y,"sham",!0),d(x,R,y,S)}}}),7293:(function(i){i.exports=function(o){try{return!!o()}catch{return!0}}}),7007:(function(i,o,a){a(4916);var u=a(1320),l=a(7293),f=a(5112),d=a(2261),h=a(8880),p=f("species"),m=!l(function(){var T=/./;return T.exec=function(){var C=[];return C.groups={a:"7"},C},"".replace(T,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),E=f("replace"),_=(function(){return/./[E]?/./[E]("a","$0")==="":!1})(),w=!l(function(){var T=/(?:)/,C=T.exec;T.exec=function(){return C.apply(this,arguments)};var x="ab".split(T);return x.length!==2||x[0]!=="a"||x[1]!=="b"});i.exports=function(T,C,x,R){var P=f(T),y=!l(function(){var Y={};return Y[P]=function(){return 7},""[T](Y)!=7}),N=y&&!l(function(){var Y=!1,Q=/a/;return T==="split"&&(Q={},Q.constructor={},Q.constructor[p]=function(){return Q},Q.flags="",Q[P]=/./[P]),Q.exec=function(){return Y=!0,null},Q[P](""),!Y});if(!y||!N||T==="replace"&&!(m&&S&&!_)||T==="split"&&!w){var $=/./[P],H=x(P,""[T],function(Y,Q,ne,re,de){return Q.exec===d?y&&!de?{done:!0,value:$.call(Q,ne,re)}:{done:!0,value:Y.call(ne,Q,re)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),B=H[0],W=H[1];u(String.prototype,T,B),u(RegExp.prototype,P,C==2?function(Y,Q){return W.call(Y,this,Q)}:function(Y){return W.call(Y,this)})}R&&h(RegExp.prototype[P],"sham",!0)}}),9974:(function(i,o,a){var u=a(3099);i.exports=function(l,f,d){if(u(l),f===void 0)return l;switch(d){case 0:return function(){return l.call(f)};case 1:return function(h){return l.call(f,h)};case 2:return function(h,p){return l.call(f,h,p)};case 3:return function(h,p,m){return l.call(f,h,p,m)}}return function(){return l.apply(f,arguments)}}}),5005:(function(i,o,a){var u=a(857),l=a(7854),f=function(d){return typeof d=="function"?d:void 0};i.exports=function(d,h){return arguments.length<2?f(u[d])||f(l[d]):u[d]&&u[d][h]||l[d]&&l[d][h]}}),1246:(function(i,o,a){var u=a(648),l=a(7497),f=a(5112),d=f("iterator");i.exports=function(h){if(h!=null)return h[d]||h["@@iterator"]||l[u(h)]}}),8554:(function(i,o,a){var u=a(9670),l=a(1246);i.exports=function(f){var d=l(f);if(typeof d!="function")throw TypeError(String(f)+" is not iterable");return u(d.call(f))}}),647:(function(i,o,a){var u=a(7908),l=Math.floor,f="".replace,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i.exports=function(p,m,S,E,_,w){var T=S+p.length,C=E.length,x=h;return _!==void 0&&(_=u(_),x=d),f.call(w,x,function(R,P){var y;switch(P.charAt(0)){case"$":return"$";case"&":return p;case"`":return m.slice(0,S);case"'":return m.slice(T);case"<":y=_[P.slice(1,-1)];break;default:var N=+P;if(N===0)return R;if(N>C){var $=l(N/10);return $===0?R:$<=C?E[$-1]===void 0?P.charAt(1):E[$-1]+P.charAt(1):R}y=E[N-1]}return y===void 0?"":y})}}),7854:(function(i,o,a){var u=function(l){return l&&l.Math==Math&&l};i.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a.g=="object"&&a.g)||(function(){return this})()||Function("return this")()}),6656:(function(i){var o={}.hasOwnProperty;i.exports=function(a,u){return o.call(a,u)}}),3501:(function(i){i.exports={}}),490:(function(i,o,a){var u=a(5005);i.exports=u("document","documentElement")}),4664:(function(i,o,a){var u=a(9781),l=a(7293),f=a(317);i.exports=!u&&!l(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(i){var o=Math.abs,a=Math.pow,u=Math.floor,l=Math.log,f=Math.LN2,d=function(p,m,S){var E=new Array(S),_=S*8-m-1,w=(1<<_)-1,T=w>>1,C=m===23?a(2,-24)-a(2,-77):0,x=p<0||p===0&&1/p<0?1:0,R=0,P,y,N;for(p=o(p),p!=p||p===1/0?(y=p!=p?1:0,P=w):(P=u(l(p)/f),p*(N=a(2,-P))<1&&(P--,N*=2),P+T>=1?p+=C/N:p+=C*a(2,1-T),p*N>=2&&(P++,N/=2),P+T>=w?(y=0,P=w):P+T>=1?(y=(p*N-1)*a(2,m),P=P+T):(y=p*a(2,T-1)*a(2,m),P=0));m>=8;E[R++]=y&255,y/=256,m-=8);for(P=P<<m|y,_+=m;_>0;E[R++]=P&255,P/=256,_-=8);return E[--R]|=x*128,E},h=function(p,m){var S=p.length,E=S*8-m-1,_=(1<<E)-1,w=_>>1,T=E-7,C=S-1,x=p[C--],R=x&127,P;for(x>>=7;T>0;R=R*256+p[C],C--,T-=8);for(P=R&(1<<-T)-1,R>>=-T,T+=m;T>0;P=P*256+p[C],C--,T-=8);if(R===0)R=1-w;else{if(R===_)return P?NaN:x?-1/0:1/0;P=P+a(2,m),R=R-w}return(x?-1:1)*P*a(2,R-m)};i.exports={pack:d,unpack:h}}),8361:(function(i,o,a){var u=a(7293),l=a(4326),f="".split;i.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?f.call(d,""):Object(d)}:Object}),9587:(function(i,o,a){var u=a(111),l=a(7674);i.exports=function(f,d,h){var p,m;return l&&typeof(p=d.constructor)=="function"&&p!==h&&u(m=p.prototype)&&m!==h.prototype&&l(f,m),f}}),2788:(function(i,o,a){var u=a(5465),l=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(f){return l.call(f)}),i.exports=u.inspectSource}),9909:(function(i,o,a){var u=a(8536),l=a(7854),f=a(111),d=a(8880),h=a(6656),p=a(5465),m=a(6200),S=a(3501),E=l.WeakMap,_,w,T,C=function(H){return T(H)?w(H):_(H,{})},x=function(H){return function(B){var W;if(!f(B)||(W=w(B)).type!==H)throw TypeError("Incompatible receiver, "+H+" required");return W}};if(u){var R=p.state||(p.state=new E),P=R.get,y=R.has,N=R.set;_=function(H,B){return B.facade=H,N.call(R,H,B),B},w=function(H){return P.call(R,H)||{}},T=function(H){return y.call(R,H)}}else{var $=m("state");S[$]=!0,_=function(H,B){return B.facade=H,d(H,$,B),B},w=function(H){return h(H,$)?H[$]:{}},T=function(H){return h(H,$)}}i.exports={set:_,get:w,has:T,enforce:C,getterFor:x}}),7659:(function(i,o,a){var u=a(5112),l=a(7497),f=u("iterator"),d=Array.prototype;i.exports=function(h){return h!==void 0&&(l.Array===h||d[f]===h)}}),3157:(function(i,o,a){var u=a(4326);i.exports=Array.isArray||function(f){return u(f)=="Array"}}),4705:(function(i,o,a){var u=a(7293),l=/#|\.prototype\./,f=function(S,E){var _=h[d(S)];return _==m?!0:_==p?!1:typeof E=="function"?u(E):!!E},d=f.normalize=function(S){return String(S).replace(l,".").toLowerCase()},h=f.data={},p=f.NATIVE="N",m=f.POLYFILL="P";i.exports=f}),111:(function(i){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}}),1913:(function(i){i.exports=!1}),7850:(function(i,o,a){var u=a(111),l=a(4326),f=a(5112),d=f("match");i.exports=function(h){var p;return u(h)&&((p=h[d])!==void 0?!!p:l(h)=="RegExp")}}),9212:(function(i,o,a){var u=a(9670);i.exports=function(l){var f=l.return;if(f!==void 0)return u(f.call(l)).value}}),3383:(function(i,o,a){var u=a(7293),l=a(9518),f=a(8880),d=a(6656),h=a(5112),p=a(1913),m=h("iterator"),S=!1,E=function(){return this},_,w,T;[].keys&&(T=[].keys(),"next"in T?(w=l(l(T)),w!==Object.prototype&&(_=w)):S=!0);var C=_==null||u(function(){var x={};return _[m].call(x)!==x});C&&(_={}),(!p||C)&&!d(_,m)&&f(_,m,E),i.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(i){i.exports={}}),133:(function(i,o,a){var u=a(7293);i.exports=!!Object.getOwnPropertySymbols&&!u(function(){return!String(Symbol())})}),590:(function(i,o,a){var u=a(7293),l=a(5112),f=a(1913),d=l("iterator");i.exports=!u(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),p=h.searchParams,m="";return h.pathname="c%20d",p.forEach(function(S,E){p.delete("b"),m+=E+S}),f&&!h.toJSON||!p.sort||h.href!=="http://a/c%20d?a=1&c=3"||p.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!p[d]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||m!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(i,o,a){var u=a(7854),l=a(2788),f=u.WeakMap;i.exports=typeof f=="function"&&/native code/.test(l(f))}),1574:(function(i,o,a){var u=a(9781),l=a(7293),f=a(1956),d=a(5181),h=a(5296),p=a(7908),m=a(8361),S=Object.assign,E=Object.defineProperty;i.exports=!S||l(function(){if(u&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},w={},T=Symbol(),C="abcdefghijklmnopqrst";return _[T]=7,C.split("").forEach(function(x){w[x]=x}),S({},_)[T]!=7||f(S({},w)).join("")!=C})?function(w,T){for(var C=p(w),x=arguments.length,R=1,P=d.f,y=h.f;x>R;)for(var N=m(arguments[R++]),$=P?f(N).concat(P(N)):f(N),H=$.length,B=0,W;H>B;)W=$[B++],(!u||y.call(N,W))&&(C[W]=N[W]);return C}:S}),30:(function(i,o,a){var u=a(9670),l=a(6048),f=a(748),d=a(3501),h=a(490),p=a(317),m=a(6200),S=">",E="<",_="prototype",w="script",T=m("IE_PROTO"),C=function(){},x=function($){return E+w+S+$+E+"/"+w+S},R=function($){$.write(x("")),$.close();var H=$.parentWindow.Object;return $=null,H},P=function(){var $=p("iframe"),H="java"+w+":",B;return $.style.display="none",h.appendChild($),$.src=String(H),B=$.contentWindow.document,B.open(),B.write(x("document.F=Object")),B.close(),B.F},y,N=function(){try{y=document.domain&&new ActiveXObject("htmlfile")}catch{}N=y?R(y):P();for(var $=f.length;$--;)delete N[_][f[$]];return N()};d[T]=!0,i.exports=Object.create||function(H,B){var W;return H!==null?(C[_]=u(H),W=new C,C[_]=null,W[T]=H):W=N(),B===void 0?W:l(W,B)}}),6048:(function(i,o,a){var u=a(9781),l=a(3070),f=a(9670),d=a(1956);i.exports=u?Object.defineProperties:function(p,m){f(p);for(var S=d(m),E=S.length,_=0,w;E>_;)l.f(p,w=S[_++],m[w]);return p}}),3070:(function(i,o,a){var u=a(9781),l=a(4664),f=a(9670),d=a(7593),h=Object.defineProperty;o.f=u?h:function(m,S,E){if(f(m),S=d(S,!0),f(E),l)try{return h(m,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(m[S]=E.value),m}}),1236:(function(i,o,a){var u=a(9781),l=a(5296),f=a(9114),d=a(5656),h=a(7593),p=a(6656),m=a(4664),S=Object.getOwnPropertyDescriptor;o.f=u?S:function(_,w){if(_=d(_),w=h(w,!0),m)try{return S(_,w)}catch{}if(p(_,w))return f(!l.f.call(_,w),_[w])}}),8006:(function(i,o,a){var u=a(6324),l=a(748),f=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(h){return u(h,f)}}),5181:(function(i,o){o.f=Object.getOwnPropertySymbols}),9518:(function(i,o,a){var u=a(6656),l=a(7908),f=a(6200),d=a(8544),h=f("IE_PROTO"),p=Object.prototype;i.exports=d?Object.getPrototypeOf:function(m){return m=l(m),u(m,h)?m[h]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?p:null}}),6324:(function(i,o,a){var u=a(6656),l=a(5656),f=a(1318).indexOf,d=a(3501);i.exports=function(h,p){var m=l(h),S=0,E=[],_;for(_ in m)!u(d,_)&&u(m,_)&&E.push(_);for(;p.length>S;)u(m,_=p[S++])&&(~f(E,_)||E.push(_));return E}}),1956:(function(i,o,a){var u=a(6324),l=a(748);i.exports=Object.keys||function(d){return u(d,l)}}),5296:(function(i,o){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l=u&&!a.call({1:2},1);o.f=l?function(d){var h=u(this,d);return!!h&&h.enumerable}:a}),7674:(function(i,o,a){var u=a(9670),l=a(6077);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var f=!1,d={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(d,[]),f=d instanceof Array}catch{}return function(m,S){return u(m),l(S),f?h.call(m,S):m.__proto__=S,m}})():void 0)}),288:(function(i,o,a){var u=a(1694),l=a(648);i.exports=u?{}.toString:function(){return"[object "+l(this)+"]"}}),3887:(function(i,o,a){var u=a(5005),l=a(8006),f=a(5181),d=a(9670);i.exports=u("Reflect","ownKeys")||function(p){var m=l.f(d(p)),S=f.f;return S?m.concat(S(p)):m}}),857:(function(i,o,a){var u=a(7854);i.exports=u}),2248:(function(i,o,a){var u=a(1320);i.exports=function(l,f,d){for(var h in f)u(l,h,f[h],d);return l}}),1320:(function(i,o,a){var u=a(7854),l=a(8880),f=a(6656),d=a(3505),h=a(2788),p=a(9909),m=p.get,S=p.enforce,E=String(String).split("String");(i.exports=function(_,w,T,C){var x=C?!!C.unsafe:!1,R=C?!!C.enumerable:!1,P=C?!!C.noTargetGet:!1,y;if(typeof T=="function"&&(typeof w=="string"&&!f(T,"name")&&l(T,"name",w),y=S(T),y.source||(y.source=E.join(typeof w=="string"?w:""))),_===u){R?_[w]=T:d(w,T);return}else x?!P&&_[w]&&(R=!0):delete _[w];R?_[w]=T:l(_,w,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||h(this)})}),7651:(function(i,o,a){var u=a(4326),l=a(2261);i.exports=function(f,d){var h=f.exec;if(typeof h=="function"){var p=h.call(f,d);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(u(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(f,d)}}),2261:(function(i,o,a){var u=a(7066),l=a(2999),f=RegExp.prototype.exec,d=String.prototype.replace,h=f,p=(function(){var _=/a/,w=/b*/g;return f.call(_,"a"),f.call(w,"a"),_.lastIndex!==0||w.lastIndex!==0})(),m=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=p||S||m;E&&(h=function(w){var T=this,C,x,R,P,y=m&&T.sticky,N=u.call(T),$=T.source,H=0,B=w;return y&&(N=N.replace("y",""),N.indexOf("g")===-1&&(N+="g"),B=String(w).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&w[T.lastIndex-1]!==`
196
+ `)&&($="(?: "+$+")",B=" "+B,H++),x=new RegExp("^(?:"+$+")",N)),S&&(x=new RegExp("^"+$+"$(?!\\s)",N)),p&&(C=T.lastIndex),R=f.call(y?x:T,B),y?R?(R.input=R.input.slice(H),R[0]=R[0].slice(H),R.index=T.lastIndex,T.lastIndex+=R[0].length):T.lastIndex=0:p&&R&&(T.lastIndex=T.global?R.index+R[0].length:C),S&&R&&R.length>1&&d.call(R[0],x,function(){for(P=1;P<arguments.length-2;P++)arguments[P]===void 0&&(R[P]=void 0)}),R}),i.exports=h}),7066:(function(i,o,a){var u=a(9670);i.exports=function(){var l=u(this),f="";return l.global&&(f+="g"),l.ignoreCase&&(f+="i"),l.multiline&&(f+="m"),l.dotAll&&(f+="s"),l.unicode&&(f+="u"),l.sticky&&(f+="y"),f}}),2999:(function(i,o,a){var u=a(7293);function l(f,d){return RegExp(f,d)}o.UNSUPPORTED_Y=u(function(){var f=l("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),o.BROKEN_CARET=u(function(){var f=l("^r","gy");return f.lastIndex=2,f.exec("str")!=null})}),4488:(function(i){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}}),3505:(function(i,o,a){var u=a(7854),l=a(8880);i.exports=function(f,d){try{l(u,f,d)}catch{u[f]=d}return d}}),6340:(function(i,o,a){var u=a(5005),l=a(3070),f=a(5112),d=a(9781),h=f("species");i.exports=function(p){var m=u(p),S=l.f;d&&m&&!m[h]&&S(m,h,{configurable:!0,get:function(){return this}})}}),8003:(function(i,o,a){var u=a(3070).f,l=a(6656),f=a(5112),d=f("toStringTag");i.exports=function(h,p,m){h&&!l(h=m?h:h.prototype,d)&&u(h,d,{configurable:!0,value:p})}}),6200:(function(i,o,a){var u=a(2309),l=a(9711),f=u("keys");i.exports=function(d){return f[d]||(f[d]=l(d))}}),5465:(function(i,o,a){var u=a(7854),l=a(3505),f="__core-js_shared__",d=u[f]||l(f,{});i.exports=d}),2309:(function(i,o,a){var u=a(1913),l=a(5465);(i.exports=function(f,d){return l[f]||(l[f]=d!==void 0?d:{})})("versions",[]).push({version:"3.9.0",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(i,o,a){var u=a(9670),l=a(3099),f=a(5112),d=f("species");i.exports=function(h,p){var m=u(h).constructor,S;return m===void 0||(S=u(m)[d])==null?p:l(S)}}),8710:(function(i,o,a){var u=a(9958),l=a(4488),f=function(d){return function(h,p){var m=String(l(h)),S=u(p),E=m.length,_,w;return S<0||S>=E?d?"":void 0:(_=m.charCodeAt(S),_<55296||_>56319||S+1===E||(w=m.charCodeAt(S+1))<56320||w>57343?d?m.charAt(S):_:d?m.slice(S,S+2):(_-55296<<10)+(w-56320)+65536)}};i.exports={codeAt:f(!1),charAt:f(!0)}}),3197:(function(i){var o=2147483647,a=36,u=1,l=26,f=38,d=700,h=72,p=128,m="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",w=a-u,T=Math.floor,C=String.fromCharCode,x=function(N){for(var $=[],H=0,B=N.length;H<B;){var W=N.charCodeAt(H++);if(W>=55296&&W<=56319&&H<B){var Y=N.charCodeAt(H++);(Y&64512)==56320?$.push(((W&1023)<<10)+(Y&1023)+65536):($.push(W),H--)}else $.push(W)}return $},R=function(N){return N+22+75*(N<26)},P=function(N,$,H){var B=0;for(N=H?T(N/d):N>>1,N+=T(N/$);N>w*l>>1;B+=a)N=T(N/w);return T(B+(w+1)*N/(N+f))},y=function(N){var $=[];N=x(N);var H=N.length,B=p,W=0,Y=h,Q,ne;for(Q=0;Q<N.length;Q++)ne=N[Q],ne<128&&$.push(C(ne));var re=$.length,de=re;for(re&&$.push(m);de<H;){var G=o;for(Q=0;Q<N.length;Q++)ne=N[Q],ne>=B&&ne<G&&(G=ne);var ee=de+1;if(G-B>T((o-W)/ee))throw RangeError(_);for(W+=(G-B)*ee,B=G,Q=0;Q<N.length;Q++){if(ne=N[Q],ne<B&&++W>o)throw RangeError(_);if(ne==B){for(var z=W,ue=a;;ue+=a){var Ee=ue<=Y?u:ue>=Y+l?l:ue-Y;if(z<Ee)break;var Oe=z-Ee,$e=a-Ee;$.push(C(R(Ee+Oe%$e))),z=T(Oe/$e)}$.push(C(R(z))),Y=P(W,ee,de==re),W=0,++de}}++W,++B}return $.join("")};i.exports=function(N){var $=[],H=N.toLowerCase().replace(E,".").split("."),B,W;for(B=0;B<H.length;B++)W=H[B],$.push(S.test(W)?"xn--"+y(W):W);return $.join(".")}}),6091:(function(i,o,a){var u=a(7293),l=a(1361),f="​…᠎";i.exports=function(d){return u(function(){return!!l[d]()||f[d]()!=f||l[d].name!==d})}}),3111:(function(i,o,a){var u=a(4488),l=a(1361),f="["+l+"]",d=RegExp("^"+f+f+"*"),h=RegExp(f+f+"*$"),p=function(m){return function(S){var E=String(u(S));return m&1&&(E=E.replace(d,"")),m&2&&(E=E.replace(h,"")),E}};i.exports={start:p(1),end:p(2),trim:p(3)}}),1400:(function(i,o,a){var u=a(9958),l=Math.max,f=Math.min;i.exports=function(d,h){var p=u(d);return p<0?l(p+h,0):f(p,h)}}),7067:(function(i,o,a){var u=a(9958),l=a(7466);i.exports=function(f){if(f===void 0)return 0;var d=u(f),h=l(d);if(d!==h)throw RangeError("Wrong length or index");return h}}),5656:(function(i,o,a){var u=a(8361),l=a(4488);i.exports=function(f){return u(l(f))}}),9958:(function(i){var o=Math.ceil,a=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?a:o)(u)}}),7466:(function(i,o,a){var u=a(9958),l=Math.min;i.exports=function(f){return f>0?l(u(f),9007199254740991):0}}),7908:(function(i,o,a){var u=a(4488);i.exports=function(l){return Object(u(l))}}),4590:(function(i,o,a){var u=a(3002);i.exports=function(l,f){var d=u(l);if(d%f)throw RangeError("Wrong offset");return d}}),3002:(function(i,o,a){var u=a(9958);i.exports=function(l){var f=u(l);if(f<0)throw RangeError("The argument can't be less than 0");return f}}),7593:(function(i,o,a){var u=a(111);i.exports=function(l,f){if(!u(l))return l;var d,h;if(f&&typeof(d=l.toString)=="function"&&!u(h=d.call(l))||typeof(d=l.valueOf)=="function"&&!u(h=d.call(l))||!f&&typeof(d=l.toString)=="function"&&!u(h=d.call(l)))return h;throw TypeError("Can't convert object to primitive value")}}),1694:(function(i,o,a){var u=a(5112),l=u("toStringTag"),f={};f[l]="z",i.exports=String(f)==="[object z]"}),9843:(function(i,o,a){var u=a(2109),l=a(7854),f=a(9781),d=a(3832),h=a(260),p=a(3331),m=a(5787),S=a(9114),E=a(8880),_=a(7466),w=a(7067),T=a(4590),C=a(7593),x=a(6656),R=a(648),P=a(111),y=a(30),N=a(7674),$=a(8006).f,H=a(7321),B=a(2092).forEach,W=a(6340),Y=a(3070),Q=a(1236),ne=a(9909),re=a(9587),de=ne.get,G=ne.set,ee=Y.f,z=Q.f,ue=Math.round,Ee=l.RangeError,Oe=p.ArrayBuffer,$e=p.DataView,Ve=h.NATIVE_ARRAY_BUFFER_VIEWS,ae=h.TYPED_ARRAY_TAG,O=h.TypedArray,I=h.TypedArrayPrototype,M=h.aTypedArrayConstructor,k=h.isTypedArray,U="BYTES_PER_ELEMENT",K="Wrong length",ie=function(De,he){for(var me=0,_e=he.length,Le=new(M(De))(_e);_e>me;)Le[me]=he[me++];return Le},ye=function(De,he){ee(De,he,{get:function(){return de(this)[he]}})},ve=function(De){var he;return De instanceof Oe||(he=R(De))=="ArrayBuffer"||he=="SharedArrayBuffer"},Re=function(De,he){return k(De)&&typeof he!="symbol"&&he in De&&String(+he)==String(he)},Se=function(he,me){return Re(he,me=C(me,!0))?S(2,he[me]):z(he,me)},xe=function(he,me,_e){return Re(he,me=C(me,!0))&&P(_e)&&x(_e,"value")&&!x(_e,"get")&&!x(_e,"set")&&!_e.configurable&&(!x(_e,"writable")||_e.writable)&&(!x(_e,"enumerable")||_e.enumerable)?(he[me]=_e.value,he):ee(he,me,_e)};f?(Ve||(Q.f=Se,Y.f=xe,ye(I,"buffer"),ye(I,"byteOffset"),ye(I,"byteLength"),ye(I,"length")),u({target:"Object",stat:!0,forced:!Ve},{getOwnPropertyDescriptor:Se,defineProperty:xe}),i.exports=function(De,he,me){var _e=De.match(/\d+$/)[0]/8,Le=De+(me?"Clamped":"")+"Array",Me="get"+De,Ne="set"+De,Ge=l[Le],it=Ge,Dt=it&&it.prototype,rr={},Ke=function(rt,ot){var ht=de(rt);return ht.view[Me](ot*_e+ht.byteOffset,!0)},_t=function(rt,ot,ht){var Ht=de(rt);me&&(ht=(ht=ue(ht))<0?0:ht>255?255:ht&255),Ht.view[Ne](ot*_e+Ht.byteOffset,ht,!0)},vt=function(rt,ot){ee(rt,ot,{get:function(){return Ke(this,ot)},set:function(ht){return _t(this,ot,ht)},enumerable:!0})};Ve?d&&(it=he(function(rt,ot,ht,Ht){return m(rt,it,Le),re((function(){return P(ot)?ve(ot)?Ht!==void 0?new Ge(ot,T(ht,_e),Ht):ht!==void 0?new Ge(ot,T(ht,_e)):new Ge(ot):k(ot)?ie(it,ot):H.call(it,ot):new Ge(w(ot))})(),rt,it)}),N&&N(it,O),B($(Ge),function(rt){rt in it||E(it,rt,Ge[rt])}),it.prototype=Dt):(it=he(function(rt,ot,ht,Ht){m(rt,it,Le);var Ct=0,be=0,Xe,at,mt;if(!P(ot))mt=w(ot),at=mt*_e,Xe=new Oe(at);else if(ve(ot)){Xe=ot,be=T(ht,_e);var xt=ot.byteLength;if(Ht===void 0){if(xt%_e||(at=xt-be,at<0))throw Ee(K)}else if(at=_(Ht)*_e,at+be>xt)throw Ee(K);mt=at/_e}else return k(ot)?ie(it,ot):H.call(it,ot);for(G(rt,{buffer:Xe,byteOffset:be,byteLength:at,length:mt,view:new $e(Xe)});Ct<mt;)vt(rt,Ct++)}),N&&N(it,O),Dt=it.prototype=y(I)),Dt.constructor!==it&&E(Dt,"constructor",it),ae&&E(Dt,ae,Le),rr[Le]=it,u({global:!0,forced:it!=Ge,sham:!Ve},rr),U in it||E(it,U,_e),U in Dt||E(Dt,U,_e),W(Le)}):i.exports=function(){}}),3832:(function(i,o,a){var u=a(7854),l=a(7293),f=a(7072),d=a(260).NATIVE_ARRAY_BUFFER_VIEWS,h=u.ArrayBuffer,p=u.Int8Array;i.exports=!d||!l(function(){p(1)})||!l(function(){new p(-1)})||!f(function(m){new p,new p(null),new p(1.5),new p(m)},!0)||l(function(){return new p(new h(2),1,void 0).length!==1})}),3074:(function(i,o,a){var u=a(260).aTypedArrayConstructor,l=a(6707);i.exports=function(f,d){for(var h=l(f,f.constructor),p=0,m=d.length,S=new(u(h))(m);m>p;)S[p]=d[p++];return S}}),7321:(function(i,o,a){var u=a(7908),l=a(7466),f=a(1246),d=a(7659),h=a(9974),p=a(260).aTypedArrayConstructor;i.exports=function(S){var E=u(S),_=arguments.length,w=_>1?arguments[1]:void 0,T=w!==void 0,C=f(E),x,R,P,y,N,$;if(C!=null&&!d(C))for(N=C.call(E),$=N.next,E=[];!(y=$.call(N)).done;)E.push(y.value);for(T&&_>2&&(w=h(w,arguments[2],2)),R=l(E.length),P=new(p(this))(R),x=0;R>x;x++)P[x]=T?w(E[x],x):E[x];return P}}),9711:(function(i){var o=0,a=Math.random();i.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++o+a).toString(36)}}),3307:(function(i,o,a){var u=a(133);i.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(i,o,a){var u=a(7854),l=a(2309),f=a(6656),d=a(9711),h=a(133),p=a(3307),m=l("wks"),S=u.Symbol,E=p?S:S&&S.withoutSetter||d;i.exports=function(_){return f(m,_)||(h&&f(S,_)?m[_]=S[_]:m[_]=E("Symbol."+_)),m[_]}}),1361:(function(i){i.exports=`
197
+ \v\f\r                 \u2028\u2029\uFEFF`}),8264:(function(i,o,a){var u=a(2109),l=a(7854),f=a(3331),d=a(6340),h="ArrayBuffer",p=f[h],m=l[h];u({global:!0,forced:m!==p},{ArrayBuffer:p}),d(h)}),2222:(function(i,o,a){var u=a(2109),l=a(7293),f=a(3157),d=a(111),h=a(7908),p=a(7466),m=a(6135),S=a(5417),E=a(1194),_=a(5112),w=a(7392),T=_("isConcatSpreadable"),C=9007199254740991,x="Maximum allowed index exceeded",R=w>=51||!l(function(){var $=[];return $[T]=!1,$.concat()[0]!==$}),P=E("concat"),y=function($){if(!d($))return!1;var H=$[T];return H!==void 0?!!H:f($)},N=!R||!P;u({target:"Array",proto:!0,forced:N},{concat:function(H){var B=h(this),W=S(B,0),Y=0,Q,ne,re,de,G;for(Q=-1,re=arguments.length;Q<re;Q++)if(G=Q===-1?B:arguments[Q],y(G)){if(de=p(G.length),Y+de>C)throw TypeError(x);for(ne=0;ne<de;ne++,Y++)ne in G&&m(W,Y,G[ne])}else{if(Y>=C)throw TypeError(x);m(W,Y++,G)}return W.length=Y,W}})}),7327:(function(i,o,a){var u=a(2109),l=a(2092).filter,f=a(1194),d=f("filter");u({target:"Array",proto:!0,forced:!d},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(i,o,a){var u=a(2109),l=a(1318).indexOf,f=a(9341),d=[].indexOf,h=!!d&&1/[1].indexOf(1,-0)<0,p=f("indexOf");u({target:"Array",proto:!0,forced:h||!p},{indexOf:function(S){return h?d.apply(this,arguments)||0:l(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(i,o,a){var u=a(5656),l=a(1223),f=a(7497),d=a(9909),h=a(654),p="Array Iterator",m=d.set,S=d.getterFor(p);i.exports=h(Array,"Array",function(E,_){m(this,{type:p,target:u(E),index:0,kind:_})},function(){var E=S(this),_=E.target,w=E.kind,T=E.index++;return!_||T>=_.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:T,done:!1}:w=="values"?{value:_[T],done:!1}:{value:[T,_[T]],done:!1}},"values"),f.Arguments=f.Array,l("keys"),l("values"),l("entries")}),1249:(function(i,o,a){var u=a(2109),l=a(2092).map,f=a(1194),d=f("map");u({target:"Array",proto:!0,forced:!d},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(i,o,a){var u=a(2109),l=a(111),f=a(3157),d=a(1400),h=a(7466),p=a(5656),m=a(6135),S=a(5112),E=a(1194),_=E("slice"),w=S("species"),T=[].slice,C=Math.max;u({target:"Array",proto:!0,forced:!_},{slice:function(R,P){var y=p(this),N=h(y.length),$=d(R,N),H=d(P===void 0?N:P,N),B,W,Y;if(f(y)&&(B=y.constructor,typeof B=="function"&&(B===Array||f(B.prototype))?B=void 0:l(B)&&(B=B[w],B===null&&(B=void 0)),B===Array||B===void 0))return T.call(y,$,H);for(W=new(B===void 0?Array:B)(C(H-$,0)),Y=0;$<H;$++,Y++)$ in y&&m(W,Y,y[$]);return W.length=Y,W}})}),561:(function(i,o,a){var u=a(2109),l=a(1400),f=a(9958),d=a(7466),h=a(7908),p=a(5417),m=a(6135),S=a(1194),E=S("splice"),_=Math.max,w=Math.min,T=9007199254740991,C="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!E},{splice:function(R,P){var y=h(this),N=d(y.length),$=l(R,N),H=arguments.length,B,W,Y,Q,ne,re;if(H===0?B=W=0:H===1?(B=0,W=N-$):(B=H-2,W=w(_(f(P),0),N-$)),N+B-W>T)throw TypeError(C);for(Y=p(y,W),Q=0;Q<W;Q++)ne=$+Q,ne in y&&m(Y,Q,y[ne]);if(Y.length=W,B<W){for(Q=$;Q<N-W;Q++)ne=Q+W,re=Q+B,ne in y?y[re]=y[ne]:delete y[re];for(Q=N;Q>N-W+B;Q--)delete y[Q-1]}else if(B>W)for(Q=N-W;Q>$;Q--)ne=Q+W-1,re=Q+B-1,ne in y?y[re]=y[ne]:delete y[re];for(Q=0;Q<B;Q++)y[Q+$]=arguments[Q+2];return y.length=N-W+B,Y}})}),8309:(function(i,o,a){var u=a(9781),l=a(3070).f,f=Function.prototype,d=f.toString,h=/^\s*function ([^ (]*)/,p="name";u&&!(p in f)&&l(f,p,{configurable:!0,get:function(){try{return d.call(this).match(h)[1]}catch{return""}}})}),489:(function(i,o,a){var u=a(2109),l=a(7293),f=a(7908),d=a(9518),h=a(8544),p=l(function(){d(1)});u({target:"Object",stat:!0,forced:p,sham:!h},{getPrototypeOf:function(S){return d(f(S))}})}),1539:(function(i,o,a){var u=a(1694),l=a(1320),f=a(288);u||l(Object.prototype,"toString",f,{unsafe:!0})}),4916:(function(i,o,a){var u=a(2109),l=a(2261);u({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})}),9714:(function(i,o,a){var u=a(1320),l=a(9670),f=a(7293),d=a(7066),h="toString",p=RegExp.prototype,m=p[h],S=f(function(){return m.call({source:"a",flags:"b"})!="/a/b"}),E=m.name!=h;(S||E)&&u(RegExp.prototype,h,function(){var w=l(this),T=String(w.source),C=w.flags,x=String(C===void 0&&w instanceof RegExp&&!("flags"in p)?d.call(w):C);return"/"+T+"/"+x},{unsafe:!0})}),8783:(function(i,o,a){var u=a(8710).charAt,l=a(9909),f=a(654),d="String Iterator",h=l.set,p=l.getterFor(d);f(String,"String",function(m){h(this,{type:d,string:String(m),index:0})},function(){var S=p(this),E=S.string,_=S.index,w;return _>=E.length?{value:void 0,done:!0}:(w=u(E,_),S.index+=w.length,{value:w,done:!1})})}),4723:(function(i,o,a){var u=a(7007),l=a(9670),f=a(7466),d=a(4488),h=a(1530),p=a(7651);u("match",1,function(m,S,E){return[function(w){var T=d(this),C=w==null?void 0:w[m];return C!==void 0?C.call(w,T):new RegExp(w)[m](String(T))},function(_){var w=E(S,_,this);if(w.done)return w.value;var T=l(_),C=String(this);if(!T.global)return p(T,C);var x=T.unicode;T.lastIndex=0;for(var R=[],P=0,y;(y=p(T,C))!==null;){var N=String(y[0]);R[P]=N,N===""&&(T.lastIndex=h(C,f(T.lastIndex),x)),P++}return P===0?null:R}]})}),5306:(function(i,o,a){var u=a(7007),l=a(9670),f=a(7466),d=a(9958),h=a(4488),p=a(1530),m=a(647),S=a(7651),E=Math.max,_=Math.min,w=function(T){return T===void 0?T:String(T)};u("replace",2,function(T,C,x,R){var P=R.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=R.REPLACE_KEEPS_$0,N=P?"$":"$0";return[function(H,B){var W=h(this),Y=H==null?void 0:H[T];return Y!==void 0?Y.call(H,W,B):C.call(String(W),H,B)},function($,H){if(!P&&y||typeof H=="string"&&H.indexOf(N)===-1){var B=x(C,$,this,H);if(B.done)return B.value}var W=l($),Y=String(this),Q=typeof H=="function";Q||(H=String(H));var ne=W.global;if(ne){var re=W.unicode;W.lastIndex=0}for(var de=[];;){var G=S(W,Y);if(G===null||(de.push(G),!ne))break;var ee=String(G[0]);ee===""&&(W.lastIndex=p(Y,f(W.lastIndex),re))}for(var z="",ue=0,Ee=0;Ee<de.length;Ee++){G=de[Ee];for(var Oe=String(G[0]),$e=E(_(d(G.index),Y.length),0),Ve=[],ae=1;ae<G.length;ae++)Ve.push(w(G[ae]));var O=G.groups;if(Q){var I=[Oe].concat(Ve,$e,Y);O!==void 0&&I.push(O);var M=String(H.apply(void 0,I))}else M=m(Oe,Y,$e,Ve,O,H);$e>=ue&&(z+=Y.slice(ue,$e)+M,ue=$e+Oe.length)}return z+Y.slice(ue)}]})}),3123:(function(i,o,a){var u=a(7007),l=a(7850),f=a(9670),d=a(4488),h=a(6707),p=a(1530),m=a(7466),S=a(7651),E=a(2261),_=a(7293),w=[].push,T=Math.min,C=4294967295,x=!_(function(){return!RegExp(C,"y")});u("split",2,function(R,P,y){var N;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?N=function($,H){var B=String(d(this)),W=H===void 0?C:H>>>0;if(W===0)return[];if($===void 0)return[B];if(!l($))return P.call(B,$,W);for(var Y=[],Q=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),ne=0,re=new RegExp($.source,Q+"g"),de,G,ee;(de=E.call(re,B))&&(G=re.lastIndex,!(G>ne&&(Y.push(B.slice(ne,de.index)),de.length>1&&de.index<B.length&&w.apply(Y,de.slice(1)),ee=de[0].length,ne=G,Y.length>=W)));)re.lastIndex===de.index&&re.lastIndex++;return ne===B.length?(ee||!re.test(""))&&Y.push(""):Y.push(B.slice(ne)),Y.length>W?Y.slice(0,W):Y}:"0".split(void 0,0).length?N=function($,H){return $===void 0&&H===0?[]:P.call(this,$,H)}:N=P,[function(H,B){var W=d(this),Y=H==null?void 0:H[R];return Y!==void 0?Y.call(H,W,B):N.call(String(W),H,B)},function($,H){var B=y(N,$,this,H,N!==P);if(B.done)return B.value;var W=f($),Y=String(this),Q=h(W,RegExp),ne=W.unicode,re=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(x?"y":"g"),de=new Q(x?W:"^(?:"+W.source+")",re),G=H===void 0?C:H>>>0;if(G===0)return[];if(Y.length===0)return S(de,Y)===null?[Y]:[];for(var ee=0,z=0,ue=[];z<Y.length;){de.lastIndex=x?z:0;var Ee=S(de,x?Y:Y.slice(z)),Oe;if(Ee===null||(Oe=T(m(de.lastIndex+(x?0:z)),Y.length))===ee)z=p(Y,z,ne);else{if(ue.push(Y.slice(ee,z)),ue.length===G)return ue;for(var $e=1;$e<=Ee.length-1;$e++)if(ue.push(Ee[$e]),ue.length===G)return ue;z=ee=Oe}}return ue.push(Y.slice(ee)),ue}]},!x)}),3210:(function(i,o,a){var u=a(2109),l=a(3111).trim,f=a(6091);u({target:"String",proto:!0,forced:f("trim")},{trim:function(){return l(this)}})}),2990:(function(i,o,a){var u=a(260),l=a(1048),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("copyWithin",function(p,m){return l.call(f(this),p,m,arguments.length>2?arguments[2]:void 0)})}),8927:(function(i,o,a){var u=a(260),l=a(2092).every,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("every",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),3105:(function(i,o,a){var u=a(260),l=a(1285),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("fill",function(p){return l.apply(f(this),arguments)})}),5035:(function(i,o,a){var u=a(260),l=a(2092).filter,f=a(3074),d=u.aTypedArray,h=u.exportTypedArrayMethod;h("filter",function(m){var S=l(d(this),m,arguments.length>1?arguments[1]:void 0);return f(this,S)})}),7174:(function(i,o,a){var u=a(260),l=a(2092).findIndex,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("findIndex",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),4345:(function(i,o,a){var u=a(260),l=a(2092).find,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("find",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),2846:(function(i,o,a){var u=a(260),l=a(2092).forEach,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("forEach",function(p){l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),4731:(function(i,o,a){var u=a(260),l=a(1318).includes,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("includes",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),7209:(function(i,o,a){var u=a(260),l=a(1318).indexOf,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("indexOf",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),6319:(function(i,o,a){var u=a(7854),l=a(260),f=a(6992),d=a(5112),h=d("iterator"),p=u.Uint8Array,m=f.values,S=f.keys,E=f.entries,_=l.aTypedArray,w=l.exportTypedArrayMethod,T=p&&p.prototype[h],C=!!T&&(T.name=="values"||T.name==null),x=function(){return m.call(_(this))};w("entries",function(){return E.call(_(this))}),w("keys",function(){return S.call(_(this))}),w("values",x,!C),w(h,x,!C)}),8867:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=[].join;f("join",function(p){return d.apply(l(this),arguments)})}),7789:(function(i,o,a){var u=a(260),l=a(6583),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("lastIndexOf",function(p){return l.apply(f(this),arguments)})}),3739:(function(i,o,a){var u=a(260),l=a(2092).map,f=a(6707),d=u.aTypedArray,h=u.aTypedArrayConstructor,p=u.exportTypedArrayMethod;p("map",function(S){return l(d(this),S,arguments.length>1?arguments[1]:void 0,function(E,_){return new(h(f(E,E.constructor)))(_)})})}),4483:(function(i,o,a){var u=a(260),l=a(3671).right,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("reduceRight",function(p){return l(f(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(i,o,a){var u=a(260),l=a(3671).left,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("reduce",function(p){return l(f(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=Math.floor;f("reverse",function(){for(var p=this,m=l(p).length,S=d(m/2),E=0,_;E<S;)_=p[E],p[E++]=p[--m],p[m]=_;return p})}),3462:(function(i,o,a){var u=a(260),l=a(7466),f=a(4590),d=a(7908),h=a(7293),p=u.aTypedArray,m=u.exportTypedArrayMethod,S=h(function(){new Int8Array(1).set({})});m("set",function(_){p(this);var w=f(arguments.length>1?arguments[1]:void 0,1),T=this.length,C=d(_),x=l(C.length),R=0;if(x+w>T)throw RangeError("Wrong length");for(;R<x;)this[w+R]=C[R++]},S)}),678:(function(i,o,a){var u=a(260),l=a(6707),f=a(7293),d=u.aTypedArray,h=u.aTypedArrayConstructor,p=u.exportTypedArrayMethod,m=[].slice,S=f(function(){new Int8Array(1).slice()});p("slice",function(_,w){for(var T=m.call(d(this),_,w),C=l(this,this.constructor),x=0,R=T.length,P=new(h(C))(R);R>x;)P[x]=T[x++];return P},S)}),7462:(function(i,o,a){var u=a(260),l=a(2092).some,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("some",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),3824:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=[].sort;f("sort",function(p){return d.call(l(this),p)})}),5021:(function(i,o,a){var u=a(260),l=a(7466),f=a(1400),d=a(6707),h=u.aTypedArray,p=u.exportTypedArrayMethod;p("subarray",function(S,E){var _=h(this),w=_.length,T=f(S,w);return new(d(_,_.constructor))(_.buffer,_.byteOffset+T*_.BYTES_PER_ELEMENT,l((E===void 0?w:f(E,w))-T))})}),2974:(function(i,o,a){var u=a(7854),l=a(260),f=a(7293),d=u.Int8Array,h=l.aTypedArray,p=l.exportTypedArrayMethod,m=[].toLocaleString,S=[].slice,E=!!d&&f(function(){m.call(new d(1))}),_=f(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!f(function(){d.prototype.toLocaleString.call([1,2])});p("toLocaleString",function(){return m.apply(E?S.call(h(this)):h(this),arguments)},_)}),5016:(function(i,o,a){var u=a(260).exportTypedArrayMethod,l=a(7293),f=a(7854),d=f.Uint8Array,h=d&&d.prototype||{},p=[].toString,m=[].join;l(function(){p.call({})})&&(p=function(){return m.call(this)});var S=h.toString!=p;u("toString",p,S)}),2472:(function(i,o,a){var u=a(9843);u("Uint8",function(l){return function(d,h,p){return l(this,d,h,p)}})}),4747:(function(i,o,a){var u=a(7854),l=a(8324),f=a(8533),d=a(8880);for(var h in l){var p=u[h],m=p&&p.prototype;if(m&&m.forEach!==f)try{d(m,"forEach",f)}catch{m.forEach=f}}}),3948:(function(i,o,a){var u=a(7854),l=a(8324),f=a(6992),d=a(8880),h=a(5112),p=h("iterator"),m=h("toStringTag"),S=f.values;for(var E in l){var _=u[E],w=_&&_.prototype;if(w){if(w[p]!==S)try{d(w,p,S)}catch{w[p]=S}if(w[m]||d(w,m,E),l[E]){for(var T in f)if(w[T]!==f[T])try{d(w,T,f[T])}catch{w[T]=f[T]}}}}}),1637:(function(i,o,a){a(6992);var u=a(2109),l=a(5005),f=a(590),d=a(1320),h=a(2248),p=a(8003),m=a(4994),S=a(9909),E=a(5787),_=a(6656),w=a(9974),T=a(648),C=a(9670),x=a(111),R=a(30),P=a(9114),y=a(8554),N=a(1246),$=a(5112),H=l("fetch"),B=l("Headers"),W=$("iterator"),Y="URLSearchParams",Q=Y+"Iterator",ne=S.set,re=S.getterFor(Y),de=S.getterFor(Q),G=/\+/g,ee=Array(4),z=function(ie){return ee[ie-1]||(ee[ie-1]=RegExp("((?:%[\\da-f]{2}){"+ie+"})","gi"))},ue=function(ie){try{return decodeURIComponent(ie)}catch{return ie}},Ee=function(ie){var ye=ie.replace(G," "),ve=4;try{return decodeURIComponent(ye)}catch{for(;ve;)ye=ye.replace(z(ve--),ue);return ye}},Oe=/[!'()~]|%20/g,$e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ve=function(ie){return $e[ie]},ae=function(ie){return encodeURIComponent(ie).replace(Oe,Ve)},O=function(ie,ye){if(ye)for(var ve=ye.split("&"),Re=0,Se,xe;Re<ve.length;)Se=ve[Re++],Se.length&&(xe=Se.split("="),ie.push({key:Ee(xe.shift()),value:Ee(xe.join("="))}))},I=function(ie){this.entries.length=0,O(this.entries,ie)},M=function(ie,ye){if(ie<ye)throw TypeError("Not enough arguments")},k=m(function(ye,ve){ne(this,{type:Q,iterator:y(re(ye).entries),kind:ve})},"Iterator",function(){var ye=de(this),ve=ye.kind,Re=ye.iterator.next(),Se=Re.value;return Re.done||(Re.value=ve==="keys"?Se.key:ve==="values"?Se.value:[Se.key,Se.value]),Re}),U=function(){E(this,U,Y);var ye=arguments.length>0?arguments[0]:void 0,ve=this,Re=[],Se,xe,De,he,me,_e,Le,Me,Ne;if(ne(ve,{type:Y,entries:Re,updateURL:function(){},updateSearchParams:I}),ye!==void 0)if(x(ye))if(Se=N(ye),typeof Se=="function")for(xe=Se.call(ye),De=xe.next;!(he=De.call(xe)).done;){if(me=y(C(he.value)),_e=me.next,(Le=_e.call(me)).done||(Me=_e.call(me)).done||!_e.call(me).done)throw TypeError("Expected sequence with length 2");Re.push({key:Le.value+"",value:Me.value+""})}else for(Ne in ye)_(ye,Ne)&&Re.push({key:Ne,value:ye[Ne]+""});else O(Re,typeof ye=="string"?ye.charAt(0)==="?"?ye.slice(1):ye:ye+"")},K=U.prototype;h(K,{append:function(ye,ve){M(arguments.length,2);var Re=re(this);Re.entries.push({key:ye+"",value:ve+""}),Re.updateURL()},delete:function(ie){M(arguments.length,1);for(var ye=re(this),ve=ye.entries,Re=ie+"",Se=0;Se<ve.length;)ve[Se].key===Re?ve.splice(Se,1):Se++;ye.updateURL()},get:function(ye){M(arguments.length,1);for(var ve=re(this).entries,Re=ye+"",Se=0;Se<ve.length;Se++)if(ve[Se].key===Re)return ve[Se].value;return null},getAll:function(ye){M(arguments.length,1);for(var ve=re(this).entries,Re=ye+"",Se=[],xe=0;xe<ve.length;xe++)ve[xe].key===Re&&Se.push(ve[xe].value);return Se},has:function(ye){M(arguments.length,1);for(var ve=re(this).entries,Re=ye+"",Se=0;Se<ve.length;)if(ve[Se++].key===Re)return!0;return!1},set:function(ye,ve){M(arguments.length,1);for(var Re=re(this),Se=Re.entries,xe=!1,De=ye+"",he=ve+"",me=0,_e;me<Se.length;me++)_e=Se[me],_e.key===De&&(xe?Se.splice(me--,1):(xe=!0,_e.value=he));xe||Se.push({key:De,value:he}),Re.updateURL()},sort:function(){var ye=re(this),ve=ye.entries,Re=ve.slice(),Se,xe,De;for(ve.length=0,De=0;De<Re.length;De++){for(Se=Re[De],xe=0;xe<De;xe++)if(ve[xe].key>Se.key){ve.splice(xe,0,Se);break}xe===De&&ve.push(Se)}ye.updateURL()},forEach:function(ye){for(var ve=re(this).entries,Re=w(ye,arguments.length>1?arguments[1]:void 0,3),Se=0,xe;Se<ve.length;)xe=ve[Se++],Re(xe.value,xe.key,this)},keys:function(){return new k(this,"keys")},values:function(){return new k(this,"values")},entries:function(){return new k(this,"entries")}},{enumerable:!0}),d(K,W,K.entries),d(K,"toString",function(){for(var ye=re(this).entries,ve=[],Re=0,Se;Re<ye.length;)Se=ye[Re++],ve.push(ae(Se.key)+"="+ae(Se.value));return ve.join("&")},{enumerable:!0}),p(U,Y),u({global:!0,forced:!f},{URLSearchParams:U}),!f&&typeof H=="function"&&typeof B=="function"&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(ye){var ve=[ye],Re,Se,xe;return arguments.length>1&&(Re=arguments[1],x(Re)&&(Se=Re.body,T(Se)===Y&&(xe=Re.headers?new B(Re.headers):new B,xe.has("content-type")||xe.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Re=R(Re,{body:P(0,String(Se)),headers:P(0,xe)}))),ve.push(Re)),H.apply(this,ve)}}),i.exports={URLSearchParams:U,getState:re}}),285:(function(i,o,a){a(8783);var u=a(2109),l=a(9781),f=a(590),d=a(7854),h=a(6048),p=a(1320),m=a(5787),S=a(6656),E=a(1574),_=a(8457),w=a(8710).codeAt,T=a(3197),C=a(8003),x=a(1637),R=a(9909),P=d.URL,y=x.URLSearchParams,N=x.getState,$=R.set,H=R.getterFor("URL"),B=Math.floor,W=Math.pow,Y="Invalid authority",Q="Invalid scheme",ne="Invalid host",re="Invalid port",de=/[A-Za-z]/,G=/[\d+-.A-Za-z]/,ee=/\d/,z=/^(0x|0X)/,ue=/^[0-7]+$/,Ee=/^\d+$/,Oe=/^[\dA-Fa-f]+$/,$e=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ve=/[\u0000\t\u000A\u000D #/:?@[\\]]/,ae=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,O=/[\t\u000A\u000D]/g,I,M=function(oe,Je){var Ue,yt,ft;if(Je.charAt(0)=="["){if(Je.charAt(Je.length-1)!="]"||(Ue=U(Je.slice(1,-1)),!Ue))return ne;oe.host=Ue}else if(he(oe)){if(Je=T(Je),$e.test(Je)||(Ue=k(Je),Ue===null))return ne;oe.host=Ue}else{if(Ve.test(Je))return ne;for(Ue="",yt=_(Je),ft=0;ft<yt.length;ft++)Ue+=xe(yt[ft],ye);oe.host=Ue}},k=function(oe){var Je=oe.split("."),Ue,yt,ft,zt,jt,gt,dr;if(Je.length&&Je[Je.length-1]==""&&Je.pop(),Ue=Je.length,Ue>4)return oe;for(yt=[],ft=0;ft<Ue;ft++){if(zt=Je[ft],zt=="")return oe;if(jt=10,zt.length>1&&zt.charAt(0)=="0"&&(jt=z.test(zt)?16:8,zt=zt.slice(jt==8?1:2)),zt==="")gt=0;else{if(!(jt==10?Ee:jt==8?ue:Oe).test(zt))return oe;gt=parseInt(zt,jt)}yt.push(gt)}for(ft=0;ft<Ue;ft++)if(gt=yt[ft],ft==Ue-1){if(gt>=W(256,5-Ue))return null}else if(gt>255)return null;for(dr=yt.pop(),ft=0;ft<yt.length;ft++)dr+=yt[ft]*W(256,3-ft);return dr},U=function(oe){var Je=[0,0,0,0,0,0,0,0],Ue=0,yt=null,ft=0,zt,jt,gt,dr,Nr,mn,Rt,$r=function(){return oe.charAt(ft)};if($r()==":"){if(oe.charAt(1)!=":")return;ft+=2,Ue++,yt=Ue}for(;$r();){if(Ue==8)return;if($r()==":"){if(yt!==null)return;ft++,Ue++,yt=Ue;continue}for(zt=jt=0;jt<4&&Oe.test($r());)zt=zt*16+parseInt($r(),16),ft++,jt++;if($r()=="."){if(jt==0||(ft-=jt,Ue>6))return;for(gt=0;$r();){if(dr=null,gt>0)if($r()=="."&&gt<4)ft++;else return;if(!ee.test($r()))return;for(;ee.test($r());){if(Nr=parseInt($r(),10),dr===null)dr=Nr;else{if(dr==0)return;dr=dr*10+Nr}if(dr>255)return;ft++}Je[Ue]=Je[Ue]*256+dr,gt++,(gt==2||gt==4)&&Ue++}if(gt!=4)return;break}else if($r()==":"){if(ft++,!$r())return}else if($r())return;Je[Ue++]=zt}if(yt!==null)for(mn=Ue-yt,Ue=7;Ue!=0&&mn>0;)Rt=Je[Ue],Je[Ue--]=Je[yt+mn-1],Je[yt+--mn]=Rt;else if(Ue!=8)return;return Je},K=function(oe){for(var Je=null,Ue=1,yt=null,ft=0,zt=0;zt<8;zt++)oe[zt]!==0?(ft>Ue&&(Je=yt,Ue=ft),yt=null,ft=0):(yt===null&&(yt=zt),++ft);return ft>Ue&&(Je=yt,Ue=ft),Je},ie=function(oe){var Je,Ue,yt,ft;if(typeof oe=="number"){for(Je=[],Ue=0;Ue<4;Ue++)Je.unshift(oe%256),oe=B(oe/256);return Je.join(".")}else if(typeof oe=="object"){for(Je="",yt=K(oe),Ue=0;Ue<8;Ue++)ft&&oe[Ue]===0||(ft&&(ft=!1),yt===Ue?(Je+=Ue?":":"::",ft=!0):(Je+=oe[Ue].toString(16),Ue<7&&(Je+=":")));return"["+Je+"]"}return oe},ye={},ve=E({},ye,{" ":1,'"':1,"<":1,">":1,"`":1}),Re=E({},ve,{"#":1,"?":1,"{":1,"}":1}),Se=E({},Re,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),xe=function(oe,Je){var Ue=w(oe,0);return Ue>32&&Ue<127&&!S(Je,oe)?oe:encodeURIComponent(oe)},De={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(oe){return S(De,oe.scheme)},me=function(oe){return oe.username!=""||oe.password!=""},_e=function(oe){return!oe.host||oe.cannotBeABaseURL||oe.scheme=="file"},Le=function(oe,Je){var Ue;return oe.length==2&&de.test(oe.charAt(0))&&((Ue=oe.charAt(1))==":"||!Je&&Ue=="|")},Me=function(oe){var Je;return oe.length>1&&Le(oe.slice(0,2))&&(oe.length==2||(Je=oe.charAt(2))==="/"||Je==="\\"||Je==="?"||Je==="#")},Ne=function(oe){var Je=oe.path,Ue=Je.length;Ue&&(oe.scheme!="file"||Ue!=1||!Le(Je[0],!0))&&Je.pop()},Ge=function(oe){return oe==="."||oe.toLowerCase()==="%2e"},it=function(oe){return oe=oe.toLowerCase(),oe===".."||oe==="%2e."||oe===".%2e"||oe==="%2e%2e"},Dt={},rr={},Ke={},_t={},vt={},rt={},ot={},ht={},Ht={},Ct={},be={},Xe={},at={},mt={},xt={},Xt={},or={},Kt={},lr={},Tr={},Br={},In=function(oe,Je,Ue,yt){var ft=Ue||Dt,zt=0,jt="",gt=!1,dr=!1,Nr=!1,mn,Rt,$r,Ln;for(Ue||(oe.scheme="",oe.username="",oe.password="",oe.host=null,oe.port=null,oe.path=[],oe.query=null,oe.fragment=null,oe.cannotBeABaseURL=!1,Je=Je.replace(ae,"")),Je=Je.replace(O,""),mn=_(Je);zt<=mn.length;){switch(Rt=mn[zt],ft){case Dt:if(Rt&&de.test(Rt))jt+=Rt.toLowerCase(),ft=rr;else{if(Ue)return Q;ft=Ke;continue}break;case rr:if(Rt&&(G.test(Rt)||Rt=="+"||Rt=="-"||Rt=="."))jt+=Rt.toLowerCase();else if(Rt==":"){if(Ue&&(he(oe)!=S(De,jt)||jt=="file"&&(me(oe)||oe.port!==null)||oe.scheme=="file"&&!oe.host))return;if(oe.scheme=jt,Ue){he(oe)&&De[oe.scheme]==oe.port&&(oe.port=null);return}jt="",oe.scheme=="file"?ft=mt:he(oe)&&yt&&yt.scheme==oe.scheme?ft=_t:he(oe)?ft=ht:mn[zt+1]=="/"?(ft=vt,zt++):(oe.cannotBeABaseURL=!0,oe.path.push(""),ft=lr)}else{if(Ue)return Q;jt="",ft=Ke,zt=0;continue}break;case Ke:if(!yt||yt.cannotBeABaseURL&&Rt!="#")return Q;if(yt.cannotBeABaseURL&&Rt=="#"){oe.scheme=yt.scheme,oe.path=yt.path.slice(),oe.query=yt.query,oe.fragment="",oe.cannotBeABaseURL=!0,ft=Br;break}ft=yt.scheme=="file"?mt:rt;continue;case _t:if(Rt=="/"&&mn[zt+1]=="/")ft=Ht,zt++;else{ft=rt;continue}break;case vt:if(Rt=="/"){ft=Ct;break}else{ft=Kt;continue}case rt:if(oe.scheme=yt.scheme,Rt==I)oe.username=yt.username,oe.password=yt.password,oe.host=yt.host,oe.port=yt.port,oe.path=yt.path.slice(),oe.query=yt.query;else if(Rt=="/"||Rt=="\\"&&he(oe))ft=ot;else if(Rt=="?")oe.username=yt.username,oe.password=yt.password,oe.host=yt.host,oe.port=yt.port,oe.path=yt.path.slice(),oe.query="",ft=Tr;else if(Rt=="#")oe.username=yt.username,oe.password=yt.password,oe.host=yt.host,oe.port=yt.port,oe.path=yt.path.slice(),oe.query=yt.query,oe.fragment="",ft=Br;else{oe.username=yt.username,oe.password=yt.password,oe.host=yt.host,oe.port=yt.port,oe.path=yt.path.slice(),oe.path.pop(),ft=Kt;continue}break;case ot:if(he(oe)&&(Rt=="/"||Rt=="\\"))ft=Ht;else if(Rt=="/")ft=Ct;else{oe.username=yt.username,oe.password=yt.password,oe.host=yt.host,oe.port=yt.port,ft=Kt;continue}break;case ht:if(ft=Ht,Rt!="/"||jt.charAt(zt+1)!="/")continue;zt++;break;case Ht:if(Rt!="/"&&Rt!="\\"){ft=Ct;continue}break;case Ct:if(Rt=="@"){gt&&(jt="%40"+jt),gt=!0,$r=_(jt);for(var bn=0;bn<$r.length;bn++){var uo=$r[bn];if(uo==":"&&!Nr){Nr=!0;continue}var Hn=xe(uo,Se);Nr?oe.password+=Hn:oe.username+=Hn}jt=""}else if(Rt==I||Rt=="/"||Rt=="?"||Rt=="#"||Rt=="\\"&&he(oe)){if(gt&&jt=="")return Y;zt-=_(jt).length+1,jt="",ft=be}else jt+=Rt;break;case be:case Xe:if(Ue&&oe.scheme=="file"){ft=Xt;continue}else if(Rt==":"&&!dr){if(jt=="")return ne;if(Ln=M(oe,jt),Ln)return Ln;if(jt="",ft=at,Ue==Xe)return}else if(Rt==I||Rt=="/"||Rt=="?"||Rt=="#"||Rt=="\\"&&he(oe)){if(he(oe)&&jt=="")return ne;if(Ue&&jt==""&&(me(oe)||oe.port!==null))return;if(Ln=M(oe,jt),Ln)return Ln;if(jt="",ft=or,Ue)return;continue}else Rt=="["?dr=!0:Rt=="]"&&(dr=!1),jt+=Rt;break;case at:if(ee.test(Rt))jt+=Rt;else if(Rt==I||Rt=="/"||Rt=="?"||Rt=="#"||Rt=="\\"&&he(oe)||Ue){if(jt!=""){var Ni=parseInt(jt,10);if(Ni>65535)return re;oe.port=he(oe)&&Ni===De[oe.scheme]?null:Ni,jt=""}if(Ue)return;ft=or;continue}else return re;break;case mt:if(oe.scheme="file",Rt=="/"||Rt=="\\")ft=xt;else if(yt&&yt.scheme=="file")if(Rt==I)oe.host=yt.host,oe.path=yt.path.slice(),oe.query=yt.query;else if(Rt=="?")oe.host=yt.host,oe.path=yt.path.slice(),oe.query="",ft=Tr;else if(Rt=="#")oe.host=yt.host,oe.path=yt.path.slice(),oe.query=yt.query,oe.fragment="",ft=Br;else{Me(mn.slice(zt).join(""))||(oe.host=yt.host,oe.path=yt.path.slice(),Ne(oe)),ft=Kt;continue}else{ft=Kt;continue}break;case xt:if(Rt=="/"||Rt=="\\"){ft=Xt;break}yt&&yt.scheme=="file"&&!Me(mn.slice(zt).join(""))&&(Le(yt.path[0],!0)?oe.path.push(yt.path[0]):oe.host=yt.host),ft=Kt;continue;case Xt:if(Rt==I||Rt=="/"||Rt=="\\"||Rt=="?"||Rt=="#"){if(!Ue&&Le(jt))ft=Kt;else if(jt==""){if(oe.host="",Ue)return;ft=or}else{if(Ln=M(oe,jt),Ln)return Ln;if(oe.host=="localhost"&&(oe.host=""),Ue)return;jt="",ft=or}continue}else jt+=Rt;break;case or:if(he(oe)){if(ft=Kt,Rt!="/"&&Rt!="\\")continue}else if(!Ue&&Rt=="?")oe.query="",ft=Tr;else if(!Ue&&Rt=="#")oe.fragment="",ft=Br;else if(Rt!=I&&(ft=Kt,Rt!="/"))continue;break;case Kt:if(Rt==I||Rt=="/"||Rt=="\\"&&he(oe)||!Ue&&(Rt=="?"||Rt=="#")){if(it(jt)?(Ne(oe),Rt!="/"&&!(Rt=="\\"&&he(oe))&&oe.path.push("")):Ge(jt)?Rt!="/"&&!(Rt=="\\"&&he(oe))&&oe.path.push(""):(oe.scheme=="file"&&!oe.path.length&&Le(jt)&&(oe.host&&(oe.host=""),jt=jt.charAt(0)+":"),oe.path.push(jt)),jt="",oe.scheme=="file"&&(Rt==I||Rt=="?"||Rt=="#"))for(;oe.path.length>1&&oe.path[0]==="";)oe.path.shift();Rt=="?"?(oe.query="",ft=Tr):Rt=="#"&&(oe.fragment="",ft=Br)}else jt+=xe(Rt,Re);break;case lr:Rt=="?"?(oe.query="",ft=Tr):Rt=="#"?(oe.fragment="",ft=Br):Rt!=I&&(oe.path[0]+=xe(Rt,ye));break;case Tr:!Ue&&Rt=="#"?(oe.fragment="",ft=Br):Rt!=I&&(Rt=="'"&&he(oe)?oe.query+="%27":Rt=="#"?oe.query+="%23":oe.query+=xe(Rt,ye));break;case Br:Rt!=I&&(oe.fragment+=xe(Rt,ve));break}zt++}},Dn=function(Je){var Ue=m(this,Dn,"URL"),yt=arguments.length>1?arguments[1]:void 0,ft=String(Je),zt=$(Ue,{type:"URL"}),jt,gt;if(yt!==void 0){if(yt instanceof Dn)jt=H(yt);else if(gt=In(jt={},String(yt)),gt)throw TypeError(gt)}if(gt=In(zt,ft,null,jt),gt)throw TypeError(gt);var dr=zt.searchParams=new y,Nr=N(dr);Nr.updateSearchParams(zt.query),Nr.updateURL=function(){zt.query=String(dr)||null},l||(Ue.href=vn.call(Ue),Ue.origin=Vn.call(Ue),Ue.protocol=ai.call(Ue),Ue.username=oi.call(Ue),Ue.password=Kn.call(Ue),Ue.host=wi.call(Ue),Ue.hostname=bi.call(Ue),Ue.port=gn.call(Ue),Ue.pathname=$n.call(Ue),Ue.search=vi.call(Ue),Ue.searchParams=Ii.call(Ue),Ue.hash=et.call(Ue))},Bn=Dn.prototype,vn=function(){var oe=H(this),Je=oe.scheme,Ue=oe.username,yt=oe.password,ft=oe.host,zt=oe.port,jt=oe.path,gt=oe.query,dr=oe.fragment,Nr=Je+":";return ft!==null?(Nr+="//",me(oe)&&(Nr+=Ue+(yt?":"+yt:"")+"@"),Nr+=ie(ft),zt!==null&&(Nr+=":"+zt)):Je=="file"&&(Nr+="//"),Nr+=oe.cannotBeABaseURL?jt[0]:jt.length?"/"+jt.join("/"):"",gt!==null&&(Nr+="?"+gt),dr!==null&&(Nr+="#"+dr),Nr},Vn=function(){var oe=H(this),Je=oe.scheme,Ue=oe.port;if(Je=="blob")try{return new URL(Je.path[0]).origin}catch{return"null"}return Je=="file"||!he(oe)?"null":Je+"://"+ie(oe.host)+(Ue!==null?":"+Ue:"")},ai=function(){return H(this).scheme+":"},oi=function(){return H(this).username},Kn=function(){return H(this).password},wi=function(){var oe=H(this),Je=oe.host,Ue=oe.port;return Je===null?"":Ue===null?ie(Je):ie(Je)+":"+Ue},bi=function(){var oe=H(this).host;return oe===null?"":ie(oe)},gn=function(){var oe=H(this).port;return oe===null?"":String(oe)},$n=function(){var oe=H(this),Je=oe.path;return oe.cannotBeABaseURL?Je[0]:Je.length?"/"+Je.join("/"):""},vi=function(){var oe=H(this).query;return oe?"?"+oe:""},Ii=function(){return H(this).searchParams},et=function(){var oe=H(this).fragment;return oe?"#"+oe:""},At=function(oe,Je){return{get:oe,set:Je,configurable:!0,enumerable:!0}};if(l&&h(Bn,{href:At(vn,function(oe){var Je=H(this),Ue=String(oe),yt=In(Je,Ue);if(yt)throw TypeError(yt);N(Je.searchParams).updateSearchParams(Je.query)}),origin:At(Vn),protocol:At(ai,function(oe){var Je=H(this);In(Je,String(oe)+":",Dt)}),username:At(oi,function(oe){var Je=H(this),Ue=_(String(oe));if(!_e(Je)){Je.username="";for(var yt=0;yt<Ue.length;yt++)Je.username+=xe(Ue[yt],Se)}}),password:At(Kn,function(oe){var Je=H(this),Ue=_(String(oe));if(!_e(Je)){Je.password="";for(var yt=0;yt<Ue.length;yt++)Je.password+=xe(Ue[yt],Se)}}),host:At(wi,function(oe){var Je=H(this);Je.cannotBeABaseURL||In(Je,String(oe),be)}),hostname:At(bi,function(oe){var Je=H(this);Je.cannotBeABaseURL||In(Je,String(oe),Xe)}),port:At(gn,function(oe){var Je=H(this);_e(Je)||(oe=String(oe),oe==""?Je.port=null:In(Je,oe,at))}),pathname:At($n,function(oe){var Je=H(this);Je.cannotBeABaseURL||(Je.path=[],In(Je,oe+"",or))}),search:At(vi,function(oe){var Je=H(this);oe=String(oe),oe==""?Je.query=null:(oe.charAt(0)=="?"&&(oe=oe.slice(1)),Je.query="",In(Je,oe,Tr)),N(Je.searchParams).updateSearchParams(Je.query)}),searchParams:At(Ii),hash:At(et,function(oe){var Je=H(this);if(oe=String(oe),oe==""){Je.fragment=null;return}oe.charAt(0)=="#"&&(oe=oe.slice(1)),Je.fragment="",In(Je,oe,Br)})}),p(Bn,"toJSON",function(){return vn.call(this)},{enumerable:!0}),p(Bn,"toString",function(){return vn.call(this)},{enumerable:!0}),P){var ct=P.createObjectURL,We=P.revokeObjectURL;ct&&p(Dn,"createObjectURL",function(Je){return ct.apply(P,arguments)}),We&&p(Dn,"revokeObjectURL",function(Je){return We.apply(P,arguments)})}C(Dn,"URL"),u({global:!0,forced:!f,sham:!l},{URL:Dn})})},t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}(function(){r.d=function(i,o){for(var a in o)r.o(o,a)&&!r.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:o[a]})}})(),(function(){r.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)}})(),(function(){r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}})();var n={};return(function(){r.r(n),r.d(n,{Dropzone:function(){return re},default:function(){return Ve}}),r(2222),r(7327),r(2772),r(6992),r(1249),r(7042),r(561),r(8264),r(8309),r(489),r(1539),r(4916),r(9714),r(8783),r(4723),r(5306),r(3123),r(3210),r(2472),r(2990),r(8927),r(3105),r(5035),r(4345),r(7174),r(2846),r(4731),r(7209),r(6319),r(8867),r(7789),r(3739),r(9368),r(4483),r(2056),r(3462),r(678),r(7462),r(3824),r(5021),r(2974),r(5016),r(4747),r(3948),r(285);function i(ae,O){var I;if(typeof Symbol>"u"||ae[Symbol.iterator]==null){if(Array.isArray(ae)||(I=o(ae))||ae&&typeof ae.length=="number"){I&&(ae=I);var M=0,k=function(){};return{s:k,n:function(){return M>=ae.length?{done:!0}:{done:!1,value:ae[M++]}},e:function(ve){throw ve},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
198
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,K=!1,ie;return{s:function(){I=ae[Symbol.iterator]()},n:function(){var ve=I.next();return U=ve.done,ve},e:function(ve){K=!0,ie=ve},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(K)throw ie}}}}function o(ae,O){if(ae){if(typeof ae=="string")return a(ae,O);var I=Object.prototype.toString.call(ae).slice(8,-1);if(I==="Object"&&ae.constructor&&(I=ae.constructor.name),I==="Map"||I==="Set")return Array.from(ae);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return a(ae,O)}}function a(ae,O){(O==null||O>ae.length)&&(O=ae.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=ae[I];return M}function u(ae,O){if(!(ae instanceof O))throw new TypeError("Cannot call a class as a function")}function l(ae,O){for(var I=0;I<O.length;I++){var M=O[I];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(ae,M.key,M)}}function f(ae,O,I){return O&&l(ae.prototype,O),ae}var d=(function(){function ae(){u(this,ae)}return f(ae,[{key:"on",value:(function(I,M){return this._callbacks=this._callbacks||{},this._callbacks[I]||(this._callbacks[I]=[]),this._callbacks[I].push(M),this})},{key:"emit",value:function(I){this._callbacks=this._callbacks||{};for(var M=this._callbacks[I],k=arguments.length,U=new Array(k>1?k-1:0),K=1;K<k;K++)U[K-1]=arguments[K];if(M){var ie=i(M),ye;try{for(ie.s();!(ye=ie.n()).done;){var ve=ye.value;ve.apply(this,U)}}catch(Re){ie.e(Re)}finally{ie.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+I,{args:U})),this}},{key:"makeEvent",value:function(I,M){var k={bubbles:!0,cancelable:!0,detail:M};if(typeof window.CustomEvent=="function")return new CustomEvent(I,k);var U=document.createEvent("CustomEvent");return U.initCustomEvent(I,k.bubbles,k.cancelable,k.detail),U}},{key:"off",value:function(I,M){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var k=this._callbacks[I];if(!k)return this;if(arguments.length===1)return delete this._callbacks[I],this;for(var U=0;U<k.length;U++){var K=k[U];if(K===M){k.splice(U,1);break}}return this}}]),ae})(),h='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',p=h;function m(ae,O){var I;if(typeof Symbol>"u"||ae[Symbol.iterator]==null){if(Array.isArray(ae)||(I=S(ae))||ae&&typeof ae.length=="number"){I&&(ae=I);var M=0,k=function(){};return{s:k,n:function(){return M>=ae.length?{done:!0}:{done:!1,value:ae[M++]}},e:function(ve){throw ve},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
199
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,K=!1,ie;return{s:function(){I=ae[Symbol.iterator]()},n:function(){var ve=I.next();return U=ve.done,ve},e:function(ve){K=!0,ie=ve},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(K)throw ie}}}}function S(ae,O){if(ae){if(typeof ae=="string")return E(ae,O);var I=Object.prototype.toString.call(ae).slice(8,-1);if(I==="Object"&&ae.constructor&&(I=ae.constructor.name),I==="Map"||I==="Set")return Array.from(ae);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return E(ae,O)}}function E(ae,O){(O==null||O>ae.length)&&(O=ae.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=ae[I];return M}var _={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(O,I,M){if(M)return{dzuuid:M.file.upload.uuid,dzchunkindex:M.index,dztotalfilesize:M.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:M.file.upload.totalChunkCount,dzchunkbyteoffset:M.index*this.options.chunkSize}},accept:function(O,I){return I()},chunksUploaded:function(O,I){I()},fallback:function(){var O;this.element.className="".concat(this.element.className," dz-browser-not-supported");var I=m(this.element.getElementsByTagName("div")),M;try{for(I.s();!(M=I.n()).done;){var k=M.value;if(/(^| )dz-message($| )/.test(k.className)){O=k,k.className="dz-message";break}}}catch(K){I.e(K)}finally{I.f()}O||(O=re.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(O));var U=O.getElementsByTagName("span")[0];return U&&(U.textContent!=null?U.textContent=this.options.dictFallbackMessage:U.innerText!=null&&(U.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(O,I,M,k){var U={srcX:0,srcY:0,srcWidth:O.width,srcHeight:O.height},K=O.width/O.height;I==null&&M==null?(I=U.srcWidth,M=U.srcHeight):I==null?I=M*K:M==null&&(M=I/K),I=Math.min(I,U.srcWidth),M=Math.min(M,U.srcHeight);var ie=I/M;if(U.srcWidth>I||U.srcHeight>M)if(k==="crop")K>ie?(U.srcHeight=O.height,U.srcWidth=U.srcHeight*ie):(U.srcWidth=O.width,U.srcHeight=U.srcWidth/ie);else if(k==="contain")K>ie?M=I/K:I=M*K;else throw new Error("Unknown resizeMethod '".concat(k,"'"));return U.srcX=(O.width-U.srcWidth)/2,U.srcY=(O.height-U.srcHeight)/2,U.trgWidth=I,U.trgHeight=M,U},transformFile:function(O,I){return(this.options.resizeWidth||this.options.resizeHeight)&&O.type.match(/image.*/)?this.resizeImage(O,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,I):I(O)},previewTemplate:p,drop:function(O){return this.element.classList.remove("dz-drag-hover")},dragstart:function(O){},dragend:function(O){return this.element.classList.remove("dz-drag-hover")},dragenter:function(O){return this.element.classList.add("dz-drag-hover")},dragover:function(O){return this.element.classList.add("dz-drag-hover")},dragleave:function(O){return this.element.classList.remove("dz-drag-hover")},paste:function(O){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(O){var I=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){O.previewElement=re.createElement(this.options.previewTemplate.trim()),O.previewTemplate=O.previewElement,this.previewsContainer.appendChild(O.previewElement);var M=m(O.previewElement.querySelectorAll("[data-dz-name]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.textContent=O.name}}catch(xe){M.e(xe)}finally{M.f()}var K=m(O.previewElement.querySelectorAll("[data-dz-size]")),ie;try{for(K.s();!(ie=K.n()).done;)U=ie.value,U.innerHTML=this.filesize(O.size)}catch(xe){K.e(xe)}finally{K.f()}this.options.addRemoveLinks&&(O._removeLink=re.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),O.previewElement.appendChild(O._removeLink));var ye=function(De){return De.preventDefault(),De.stopPropagation(),O.status===re.UPLOADING?re.confirm(I.options.dictCancelUploadConfirmation,function(){return I.removeFile(O)}):I.options.dictRemoveFileConfirmation?re.confirm(I.options.dictRemoveFileConfirmation,function(){return I.removeFile(O)}):I.removeFile(O)},ve=m(O.previewElement.querySelectorAll("[data-dz-remove]")),Re;try{for(ve.s();!(Re=ve.n()).done;){var Se=Re.value;Se.addEventListener("click",ye)}}catch(xe){ve.e(xe)}finally{ve.f()}}},removedfile:function(O){return O.previewElement!=null&&O.previewElement.parentNode!=null&&O.previewElement.parentNode.removeChild(O.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(O,I){if(O.previewElement){O.previewElement.classList.remove("dz-file-preview");var M=m(O.previewElement.querySelectorAll("[data-dz-thumbnail]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.alt=O.name,U.src=I}}catch(K){M.e(K)}finally{M.f()}return setTimeout(function(){return O.previewElement.classList.add("dz-image-preview")},1)}},error:function(O,I){if(O.previewElement){O.previewElement.classList.add("dz-error"),typeof I!="string"&&I.error&&(I=I.error);var M=m(O.previewElement.querySelectorAll("[data-dz-errormessage]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.textContent=I}}catch(K){M.e(K)}finally{M.f()}}},errormultiple:function(){},processing:function(O){if(O.previewElement&&(O.previewElement.classList.add("dz-processing"),O._removeLink))return O._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(O,I,M){if(O.previewElement){var k=m(O.previewElement.querySelectorAll("[data-dz-uploadprogress]")),U;try{for(k.s();!(U=k.n()).done;){var K=U.value;K.nodeName==="PROGRESS"?K.value=I:K.style.width="".concat(I,"%")}}catch(ie){k.e(ie)}finally{k.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(O){if(O.previewElement)return O.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(O){return this.emit("error",O,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(O){if(O._removeLink&&(O._removeLink.innerHTML=this.options.dictRemoveFile),O.previewElement)return O.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},w=_;function T(ae){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(I){return typeof I}:T=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},T(ae)}function C(ae,O){var I;if(typeof Symbol>"u"||ae[Symbol.iterator]==null){if(Array.isArray(ae)||(I=x(ae))||ae&&typeof ae.length=="number"){I&&(ae=I);var M=0,k=function(){};return{s:k,n:function(){return M>=ae.length?{done:!0}:{done:!1,value:ae[M++]}},e:function(ve){throw ve},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
200
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,K=!1,ie;return{s:function(){I=ae[Symbol.iterator]()},n:function(){var ve=I.next();return U=ve.done,ve},e:function(ve){K=!0,ie=ve},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(K)throw ie}}}}function x(ae,O){if(ae){if(typeof ae=="string")return R(ae,O);var I=Object.prototype.toString.call(ae).slice(8,-1);if(I==="Object"&&ae.constructor&&(I=ae.constructor.name),I==="Map"||I==="Set")return Array.from(ae);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return R(ae,O)}}function R(ae,O){(O==null||O>ae.length)&&(O=ae.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=ae[I];return M}function P(ae,O){if(!(ae instanceof O))throw new TypeError("Cannot call a class as a function")}function y(ae,O){for(var I=0;I<O.length;I++){var M=O[I];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(ae,M.key,M)}}function N(ae,O,I){return O&&y(ae.prototype,O),I&&y(ae,I),ae}function $(ae,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(O&&O.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),O&&H(ae,O)}function H(ae,O){return H=Object.setPrototypeOf||function(M,k){return M.__proto__=k,M},H(ae,O)}function B(ae){var O=Q();return function(){var M=ne(ae),k;if(O){var U=ne(this).constructor;k=Reflect.construct(M,arguments,U)}else k=M.apply(this,arguments);return W(this,k)}}function W(ae,O){return O&&(T(O)==="object"||typeof O=="function")?O:Y(ae)}function Y(ae){if(ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function Q(){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 ne(ae){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},ne(ae)}var re=(function(ae){$(I,ae);var O=B(I);function I(M,k){var U;P(this,I),U=O.call(this);var K,ie;if(U.element=M,U.version=I.version,U.clickableElements=[],U.listeners=[],U.files=[],typeof U.element=="string"&&(U.element=document.querySelector(U.element)),!U.element||U.element.nodeType==null)throw new Error("Invalid dropzone element.");if(U.element.dropzone)throw new Error("Dropzone already attached.");I.instances.push(Y(U)),U.element.dropzone=Y(U);var ye=(ie=I.optionsForElement(U.element))!=null?ie:{};if(U.options=I.extend({},w,ye,k??{}),U.options.previewTemplate=U.options.previewTemplate.replace(/\n*/g,""),U.options.forceFallback||!I.isBrowserSupported())return W(U,U.options.fallback.call(Y(U)));if(U.options.url==null&&(U.options.url=U.element.getAttribute("action")),!U.options.url)throw new Error("No URL provided.");if(U.options.acceptedFiles&&U.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(U.options.uploadMultiple&&U.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return U.options.acceptedMimeTypes&&(U.options.acceptedFiles=U.options.acceptedMimeTypes,delete U.options.acceptedMimeTypes),U.options.renameFilename!=null&&(U.options.renameFile=function(ve){return U.options.renameFilename.call(Y(U),ve.name,ve)}),typeof U.options.method=="string"&&(U.options.method=U.options.method.toUpperCase()),(K=U.getExistingFallback())&&K.parentNode&&K.parentNode.removeChild(K),U.options.previewsContainer!==!1&&(U.options.previewsContainer?U.previewsContainer=I.getElement(U.options.previewsContainer,"previewsContainer"):U.previewsContainer=U.element),U.options.clickable&&(U.options.clickable===!0?U.clickableElements=[U.element]:U.clickableElements=I.getElements(U.options.clickable,"clickable")),U.init(),U}return N(I,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(k){return k.accepted}).map(function(k){return k})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(k){return!k.accepted}).map(function(k){return k})}},{key:"getFilesWithStatus",value:function(k){return this.files.filter(function(U){return U.status===k}).map(function(U){return U})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(I.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(I.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(I.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(k){return k.status===I.UPLOADING||k.status===I.QUEUED}).map(function(k){return k})}},{key:"init",value:function(){var k=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(I.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var U=function Se(){k.hiddenFileInput&&k.hiddenFileInput.parentNode.removeChild(k.hiddenFileInput),k.hiddenFileInput=document.createElement("input"),k.hiddenFileInput.setAttribute("type","file"),(k.options.maxFiles===null||k.options.maxFiles>1)&&k.hiddenFileInput.setAttribute("multiple","multiple"),k.hiddenFileInput.className="dz-hidden-input",k.options.acceptedFiles!==null&&k.hiddenFileInput.setAttribute("accept",k.options.acceptedFiles),k.options.capture!==null&&k.hiddenFileInput.setAttribute("capture",k.options.capture),k.hiddenFileInput.setAttribute("tabindex","-1"),k.hiddenFileInput.style.visibility="hidden",k.hiddenFileInput.style.position="absolute",k.hiddenFileInput.style.top="0",k.hiddenFileInput.style.left="0",k.hiddenFileInput.style.height="0",k.hiddenFileInput.style.width="0",I.getElement(k.options.hiddenInputContainer,"hiddenInputContainer").appendChild(k.hiddenFileInput),k.hiddenFileInput.addEventListener("change",function(){var xe=k.hiddenFileInput.files;if(xe.length){var De=C(xe),he;try{for(De.s();!(he=De.n()).done;){var me=he.value;k.addFile(me)}}catch(_e){De.e(_e)}finally{De.f()}}k.emit("addedfiles",xe),Se()})};U()}this.URL=window.URL!==null?window.URL:window.webkitURL;var K=C(this.events),ie;try{for(K.s();!(ie=K.n()).done;){var ye=ie.value;this.on(ye,this.options[ye])}}catch(Se){K.e(Se)}finally{K.f()}this.on("uploadprogress",function(){return k.updateTotalUploadProgress()}),this.on("removedfile",function(){return k.updateTotalUploadProgress()}),this.on("canceled",function(Se){return k.emit("complete",Se)}),this.on("complete",function(Se){if(k.getAddedFiles().length===0&&k.getUploadingFiles().length===0&&k.getQueuedFiles().length===0)return setTimeout(function(){return k.emit("queuecomplete")},0)});var ve=function(xe){if(xe.dataTransfer.types){for(var De=0;De<xe.dataTransfer.types.length;De++)if(xe.dataTransfer.types[De]==="Files")return!0}return!1},Re=function(xe){if(ve(xe))return xe.stopPropagation(),xe.preventDefault?xe.preventDefault():xe.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(xe){return k.emit("dragstart",xe)},dragenter:function(xe){return Re(xe),k.emit("dragenter",xe)},dragover:function(xe){var De;try{De=xe.dataTransfer.effectAllowed}catch{}return xe.dataTransfer.dropEffect=De==="move"||De==="linkMove"?"move":"copy",Re(xe),k.emit("dragover",xe)},dragleave:function(xe){return k.emit("dragleave",xe)},drop:function(xe){return Re(xe),k.drop(xe)},dragend:function(xe){return k.emit("dragend",xe)}}}],this.clickableElements.forEach(function(Se){return k.listeners.push({element:Se,events:{click:function(De){return(Se!==k.element||De.target===k.element||I.elementInside(De.target,k.element.querySelector(".dz-message")))&&k.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,I.instances.splice(I.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var k,U=0,K=0,ie=this.getActiveFiles();if(ie.length){var ye=C(this.getActiveFiles()),ve;try{for(ye.s();!(ve=ye.n()).done;){var Re=ve.value;U+=Re.upload.bytesSent,K+=Re.upload.total}}catch(Se){ye.e(Se)}finally{ye.f()}k=100*U/K}else k=100;return this.emit("totaluploadprogress",k,K,U)}},{key:"_getParamName",value:function(k){return typeof this.options.paramName=="function"?this.options.paramName(k):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(k,"]"):"")}},{key:"_renameFile",value:function(k){return typeof this.options.renameFile!="function"?k.name:this.options.renameFile(k)}},{key:"getFallbackForm",value:function(){var k,U;if(k=this.getExistingFallback())return k;var K='<div class="dz-fallback">';this.options.dictFallbackText&&(K+="<p>".concat(this.options.dictFallbackText,"</p>")),K+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var ie=I.createElement(K);return this.element.tagName!=="FORM"?(U=I.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),U.appendChild(ie)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),U??ie}},{key:"getExistingFallback",value:function(){for(var k=function(Re){var Se=C(Re),xe;try{for(Se.s();!(xe=Se.n()).done;){var De=xe.value;if(/(^| )fallback($| )/.test(De.className))return De}}catch(he){Se.e(he)}finally{Se.f()}},U=0,K=["div","form"];U<K.length;U++){var ie=K[U],ye;if(ye=k(this.element.getElementsByTagName(ie)))return ye}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(k){return(function(){var U=[];for(var K in k.events){var ie=k.events[K];U.push(k.element.addEventListener(K,ie,!1))}return U})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(k){return(function(){var U=[];for(var K in k.events){var ie=k.events[K];U.push(k.element.removeEventListener(K,ie,!1))}return U})()})}},{key:"disable",value:function(){var k=this;return this.clickableElements.forEach(function(U){return U.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(U){return k.cancelUpload(U)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(k){return k.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(k){var U=0,K="b";if(k>0){for(var ie=["tb","gb","mb","kb","b"],ye=0;ye<ie.length;ye++){var ve=ie[ye],Re=Math.pow(this.options.filesizeBase,4-ye)/10;if(k>=Re){U=k/Math.pow(this.options.filesizeBase,4-ye),K=ve;break}}U=Math.round(10*U)/10}return"<strong>".concat(U,"</strong> ").concat(this.options.dictFileSizeUnits[K])}},{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(k){if(k.dataTransfer){this.emit("drop",k);for(var U=[],K=0;K<k.dataTransfer.files.length;K++)U[K]=k.dataTransfer.files[K];if(U.length){var ie=k.dataTransfer.items;ie&&ie.length&&ie[0].webkitGetAsEntry!=null?this._addFilesFromItems(ie):this.handleFiles(U)}this.emit("addedfiles",U)}}},{key:"paste",value:function(k){if(Oe(k!=null?k.clipboardData:void 0,function(K){return K.items})!=null){this.emit("paste",k);var U=k.clipboardData.items;if(U.length)return this._addFilesFromItems(U)}}},{key:"handleFiles",value:function(k){var U=C(k),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value;this.addFile(ie)}}catch(ye){U.e(ye)}finally{U.f()}}},{key:"_addFilesFromItems",value:function(k){var U=this;return(function(){var K=[],ie=C(k),ye;try{for(ie.s();!(ye=ie.n()).done;){var ve=ye.value,Re;ve.webkitGetAsEntry!=null&&(Re=ve.webkitGetAsEntry())?Re.isFile?K.push(U.addFile(ve.getAsFile())):Re.isDirectory?K.push(U._addFilesFromDirectory(Re,Re.name)):K.push(void 0):ve.getAsFile!=null&&(ve.kind==null||ve.kind==="file")?K.push(U.addFile(ve.getAsFile())):K.push(void 0)}}catch(Se){ie.e(Se)}finally{ie.f()}return K})()}},{key:"_addFilesFromDirectory",value:function(k,U){var K=this,ie=k.createReader(),ye=function(Se){return $e(console,"log",function(xe){return xe.log(Se)})},ve=function Re(){return ie.readEntries(function(Se){if(Se.length>0){var xe=C(Se),De;try{for(xe.s();!(De=xe.n()).done;){var he=De.value;he.isFile?he.file(function(me){if(!(K.options.ignoreHiddenFiles&&me.name.substring(0,1)==="."))return me.fullPath="".concat(U,"/").concat(me.name),K.addFile(me)}):he.isDirectory&&K._addFilesFromDirectory(he,"".concat(U,"/").concat(he.name))}}catch(me){xe.e(me)}finally{xe.f()}Re()}return null},ye)};return ve()}},{key:"accept",value:function(k,U){this.options.maxFilesize&&k.size>this.options.maxFilesize*1024*1024?U(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(k.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):I.isValidFile(k,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(U(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",k)):this.options.accept.call(this,k,U):U(this.options.dictInvalidFileType)}},{key:"addFile",value:function(k){var U=this;k.upload={uuid:I.uuidv4(),progress:0,total:k.size,bytesSent:0,filename:this._renameFile(k)},this.files.push(k),k.status=I.ADDED,this.emit("addedfile",k),this._enqueueThumbnail(k),this.accept(k,function(K){K?(k.accepted=!1,U._errorProcessing([k],K)):(k.accepted=!0,U.options.autoQueue&&U.enqueueFile(k)),U._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(k){var U=C(k),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value;this.enqueueFile(ie)}}catch(ye){U.e(ye)}finally{U.f()}return null}},{key:"enqueueFile",value:function(k){var U=this;if(k.status===I.ADDED&&k.accepted===!0){if(k.status=I.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return U.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(k){var U=this;if(this.options.createImageThumbnails&&k.type.match(/image.*/)&&k.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(k),setTimeout(function(){return U._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var k=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var U=this._thumbnailQueue.shift();return this.createThumbnail(U,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(K){return k.emit("thumbnail",U,K),k._processingThumbnail=!1,k._processThumbnailQueue()})}}},{key:"removeFile",value:function(k){if(k.status===I.UPLOADING&&this.cancelUpload(k),this.files=de(this.files,k),this.emit("removedfile",k),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(k){k==null&&(k=!1);var U=C(this.files.slice()),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value;(ie.status!==I.UPLOADING||k)&&this.removeFile(ie)}}catch(ye){U.e(ye)}finally{U.f()}return null}},{key:"resizeImage",value:function(k,U,K,ie,ye){var ve=this;return this.createThumbnail(k,U,K,ie,!0,function(Re,Se){if(Se==null)return ye(k);var xe=ve.options.resizeMimeType;xe==null&&(xe=k.type);var De=Se.toDataURL(xe,ve.options.resizeQuality);return(xe==="image/jpeg"||xe==="image/jpg")&&(De=ue.restore(k.dataURL,De)),ye(I.dataURItoBlob(De))})}},{key:"createThumbnail",value:function(k,U,K,ie,ye,ve){var Re=this,Se=new FileReader;Se.onload=function(){if(k.dataURL=Se.result,k.type==="image/svg+xml"){ve!=null&&ve(Se.result);return}Re.createThumbnailFromUrl(k,U,K,ie,ye,ve)},Se.readAsDataURL(k)}},{key:"displayExistingFile",value:function(k,U,K,ie){var ye=this,ve=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",k),this.emit("complete",k),!ve)this.emit("thumbnail",k,U),K&&K();else{var Re=function(xe){ye.emit("thumbnail",k,xe),K&&K()};k.dataURL=U,this.createThumbnailFromUrl(k,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Re,ie)}}},{key:"createThumbnailFromUrl",value:function(k,U,K,ie,ye,ve,Re){var Se=this,xe=document.createElement("img");return Re&&(xe.crossOrigin=Re),ye=getComputedStyle(document.body).imageOrientation=="from-image"?!1:ye,xe.onload=function(){var De=function(me){return me(1)};return typeof EXIF<"u"&&EXIF!==null&&ye&&(De=function(me){return EXIF.getData(xe,function(){return me(EXIF.getTag(this,"Orientation"))})}),De(function(he){k.width=xe.width,k.height=xe.height;var me=Se.options.resize.call(Se,k,U,K,ie),_e=document.createElement("canvas"),Le=_e.getContext("2d");switch(_e.width=me.trgWidth,_e.height=me.trgHeight,he>4&&(_e.width=me.trgHeight,_e.height=me.trgWidth),he){case 2:Le.translate(_e.width,0),Le.scale(-1,1);break;case 3:Le.translate(_e.width,_e.height),Le.rotate(Math.PI);break;case 4:Le.translate(0,_e.height),Le.scale(1,-1);break;case 5:Le.rotate(.5*Math.PI),Le.scale(1,-1);break;case 6:Le.rotate(.5*Math.PI),Le.translate(0,-_e.width);break;case 7:Le.rotate(.5*Math.PI),Le.translate(_e.height,-_e.width),Le.scale(-1,1);break;case 8:Le.rotate(-.5*Math.PI),Le.translate(-_e.height,0);break}z(Le,xe,me.srcX!=null?me.srcX:0,me.srcY!=null?me.srcY:0,me.srcWidth,me.srcHeight,me.trgX!=null?me.trgX:0,me.trgY!=null?me.trgY:0,me.trgWidth,me.trgHeight);var Me=_e.toDataURL("image/png");if(ve!=null)return ve(Me,_e)})},ve!=null&&(xe.onerror=ve),xe.src=k.dataURL}},{key:"processQueue",value:function(){var k=this.options.parallelUploads,U=this.getUploadingFiles().length,K=U;if(!(U>=k)){var ie=this.getQueuedFiles();if(ie.length>0){if(this.options.uploadMultiple)return this.processFiles(ie.slice(0,k-U));for(;K<k;){if(!ie.length)return;this.processFile(ie.shift()),K++}}}}},{key:"processFile",value:function(k){return this.processFiles([k])}},{key:"processFiles",value:function(k){var U=C(k),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value;ie.processing=!0,ie.status=I.UPLOADING,this.emit("processing",ie)}}catch(ye){U.e(ye)}finally{U.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",k),this.uploadFiles(k)}},{key:"_getFilesWithXhr",value:function(k){return this.files.filter(function(U){return U.xhr===k}).map(function(U){return U})}},{key:"cancelUpload",value:function(k){if(k.status===I.UPLOADING){var U=this._getFilesWithXhr(k.xhr),K=C(U),ie;try{for(K.s();!(ie=K.n()).done;){var ye=ie.value;ye.status=I.CANCELED}}catch(xe){K.e(xe)}finally{K.f()}typeof k.xhr<"u"&&k.xhr.abort();var ve=C(U),Re;try{for(ve.s();!(Re=ve.n()).done;){var Se=Re.value;this.emit("canceled",Se)}}catch(xe){ve.e(xe)}finally{ve.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",U)}else(k.status===I.ADDED||k.status===I.QUEUED)&&(k.status=I.CANCELED,this.emit("canceled",k),this.options.uploadMultiple&&this.emit("canceledmultiple",[k]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(k){if(typeof k=="function"){for(var U=arguments.length,K=new Array(U>1?U-1:0),ie=1;ie<U;ie++)K[ie-1]=arguments[ie];return k.apply(this,K)}return k}},{key:"uploadFile",value:function(k){return this.uploadFiles([k])}},{key:"uploadFiles",value:function(k){var U=this;this._transformFiles(k,function(K){if(U.options.chunking){var ie=K[0];k[0].upload.chunked=U.options.chunking&&(U.options.forceChunking||ie.size>U.options.chunkSize),k[0].upload.totalChunkCount=Math.ceil(ie.size/U.options.chunkSize)}if(k[0].upload.chunked){var ye=k[0],ve=K[0];ye.upload.chunks=[];var Re=function(){for(var me=0;ye.upload.chunks[me]!==void 0;)me++;if(!(me>=ye.upload.totalChunkCount)){var _e=me*U.options.chunkSize,Le=Math.min(_e+U.options.chunkSize,ve.size),Me={name:U._getParamName(0),data:ve.webkitSlice?ve.webkitSlice(_e,Le):ve.slice(_e,Le),filename:ye.upload.filename,chunkIndex:me};ye.upload.chunks[me]={file:ye,index:me,dataBlock:Me,status:I.UPLOADING,progress:0,retries:0},U._uploadData(k,[Me])}};if(ye.upload.finishedChunkUpload=function(he,me){var _e=!0;he.status=I.SUCCESS,he.dataBlock=null,he.xhr=null;for(var Le=0;Le<ye.upload.totalChunkCount;Le++){if(ye.upload.chunks[Le]===void 0)return Re();ye.upload.chunks[Le].status!==I.SUCCESS&&(_e=!1)}_e&&U.options.chunksUploaded(ye,function(){U._finished(k,me,null)})},U.options.parallelChunkUploads)for(var Se=0;Se<ye.upload.totalChunkCount;Se++)Re();else Re()}else{for(var xe=[],De=0;De<k.length;De++)xe[De]={name:U._getParamName(De),data:K[De],filename:k[De].upload.filename};U._uploadData(k,xe)}})}},{key:"_getChunk",value:function(k,U){for(var K=0;K<k.upload.totalChunkCount;K++)if(k.upload.chunks[K]!==void 0&&k.upload.chunks[K].xhr===U)return k.upload.chunks[K]}},{key:"_uploadData",value:function(k,U){var K=this,ie=new XMLHttpRequest,ye=C(k),ve;try{for(ye.s();!(ve=ye.n()).done;){var Re=ve.value;Re.xhr=ie}}catch(ot){ye.e(ot)}finally{ye.f()}k[0].upload.chunked&&(k[0].upload.chunks[U[0].chunkIndex].xhr=ie);var Se=this.resolveOption(this.options.method,k),xe=this.resolveOption(this.options.url,k);ie.open(Se,xe,!0);var De=this.resolveOption(this.options.timeout,k);De&&(ie.timeout=this.resolveOption(this.options.timeout,k)),ie.withCredentials=!!this.options.withCredentials,ie.onload=function(ot){K._finishedUploading(k,ie,ot)},ie.ontimeout=function(){K._handleUploadError(k,ie,"Request timedout after ".concat(K.options.timeout/1e3," seconds"))},ie.onerror=function(){K._handleUploadError(k,ie)};var he=ie.upload!=null?ie.upload:ie;he.onprogress=function(ot){return K._updateFilesUploadProgress(k,ie,ot)};var me={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&I.extend(me,this.options.headers);for(var _e in me){var Le=me[_e];Le&&ie.setRequestHeader(_e,Le)}var Me=new FormData;if(this.options.params){var Ne=this.options.params;typeof Ne=="function"&&(Ne=Ne.call(this,k,ie,k[0].upload.chunked?this._getChunk(k[0],ie):null));for(var Ge in Ne){var it=Ne[Ge];if(Array.isArray(it))for(var Dt=0;Dt<it.length;Dt++)Me.append(Ge,it[Dt]);else Me.append(Ge,it)}}var rr=C(k),Ke;try{for(rr.s();!(Ke=rr.n()).done;){var _t=Ke.value;this.emit("sending",_t,ie,Me)}}catch(ot){rr.e(ot)}finally{rr.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",k,ie,Me),this._addFormElementData(Me);for(var vt=0;vt<U.length;vt++){var rt=U[vt];Me.append(rt.name,rt.data,rt.filename)}this.submitRequest(ie,Me,k)}},{key:"_transformFiles",value:function(k,U){for(var K=this,ie=[],ye=0,ve=function(xe){K.options.transformFile.call(K,k[xe],function(De){ie[xe]=De,++ye===k.length&&U(ie)})},Re=0;Re<k.length;Re++)ve(Re)}},{key:"_addFormElementData",value:function(k){if(this.element.tagName==="FORM"){var U=C(this.element.querySelectorAll("input, textarea, select, button")),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value,ye=ie.getAttribute("name"),ve=ie.getAttribute("type");if(ve&&(ve=ve.toLowerCase()),!(typeof ye>"u"||ye===null))if(ie.tagName==="SELECT"&&ie.hasAttribute("multiple")){var Re=C(ie.options,!0),Se;try{for(Re.s();!(Se=Re.n()).done;){var xe=Se.value;xe.selected&&k.append(ye,xe.value)}}catch(De){Re.e(De)}finally{Re.f()}}else(!ve||ve!=="checkbox"&&ve!=="radio"||ie.checked)&&k.append(ye,ie.value)}}catch(De){U.e(De)}finally{U.f()}}}},{key:"_updateFilesUploadProgress",value:function(k,U,K){if(k[0].upload.chunked){var Re=k[0],Se=this._getChunk(Re,U);K?(Se.progress=100*K.loaded/K.total,Se.total=K.total,Se.bytesSent=K.loaded):(Se.progress=100,Se.bytesSent=Se.total),Re.upload.progress=0,Re.upload.total=0,Re.upload.bytesSent=0;for(var xe=0;xe<Re.upload.totalChunkCount;xe++)Re.upload.chunks[xe]&&typeof Re.upload.chunks[xe].progress<"u"&&(Re.upload.progress+=Re.upload.chunks[xe].progress,Re.upload.total+=Re.upload.chunks[xe].total,Re.upload.bytesSent+=Re.upload.chunks[xe].bytesSent);Re.upload.progress=Re.upload.progress/Re.upload.totalChunkCount,this.emit("uploadprogress",Re,Re.upload.progress,Re.upload.bytesSent)}else{var ie=C(k),ye;try{for(ie.s();!(ye=ie.n()).done;){var ve=ye.value;ve.upload.total&&ve.upload.bytesSent&&ve.upload.bytesSent==ve.upload.total||(K?(ve.upload.progress=100*K.loaded/K.total,ve.upload.total=K.total,ve.upload.bytesSent=K.loaded):(ve.upload.progress=100,ve.upload.bytesSent=ve.upload.total),this.emit("uploadprogress",ve,ve.upload.progress,ve.upload.bytesSent))}}catch(De){ie.e(De)}finally{ie.f()}}}},{key:"_finishedUploading",value:function(k,U,K){var ie;if(k[0].status!==I.CANCELED&&U.readyState===4){if(U.responseType!=="arraybuffer"&&U.responseType!=="blob"&&(ie=U.responseText,U.getResponseHeader("content-type")&&~U.getResponseHeader("content-type").indexOf("application/json")))try{ie=JSON.parse(ie)}catch(ye){K=ye,ie="Invalid JSON response from server."}this._updateFilesUploadProgress(k,U),200<=U.status&&U.status<300?k[0].upload.chunked?k[0].upload.finishedChunkUpload(this._getChunk(k[0],U),ie):this._finished(k,ie,K):this._handleUploadError(k,U,ie)}}},{key:"_handleUploadError",value:function(k,U,K){if(k[0].status!==I.CANCELED){if(k[0].upload.chunked&&this.options.retryChunks){var ie=this._getChunk(k[0],U);if(ie.retries++<this.options.retryChunksLimit){this._uploadData(k,[ie.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(k,K||this.options.dictResponseError.replace("{{statusCode}}",U.status),U)}}},{key:"submitRequest",value:function(k,U,K){if(k.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}k.send(U)}},{key:"_finished",value:function(k,U,K){var ie=C(k),ye;try{for(ie.s();!(ye=ie.n()).done;){var ve=ye.value;ve.status=I.SUCCESS,this.emit("success",ve,U,K),this.emit("complete",ve)}}catch(Re){ie.e(Re)}finally{ie.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",k,U,K),this.emit("completemultiple",k)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(k,U,K){var ie=C(k),ye;try{for(ie.s();!(ye=ie.n()).done;){var ve=ye.value;ve.status=I.ERROR,this.emit("error",ve,U,K),this.emit("complete",ve)}}catch(Re){ie.e(Re)}finally{ie.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",k,U,K),this.emit("completemultiple",k)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=d,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(k){for(var U=arguments.length,K=new Array(U>1?U-1:0),ie=1;ie<U;ie++)K[ie-1]=arguments[ie];for(var ye=0,ve=K;ye<ve.length;ye++){var Re=ve[ye];for(var Se in Re){var xe=Re[Se];k[Se]=xe}}return k}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(k){var U=Math.random()*16|0,K=k==="x"?U:U&3|8;return K.toString(16)})}}]),I})(d);re.initClass(),re.version="5.9.3",re.options={},re.optionsForElement=function(ae){if(ae.getAttribute("id"))return re.options[G(ae.getAttribute("id"))]},re.instances=[],re.forElement=function(ae){if(typeof ae=="string"&&(ae=document.querySelector(ae)),(ae!=null?ae.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 ae.dropzone},re.autoDiscover=!0,re.discover=function(){var ae;if(document.querySelectorAll)ae=document.querySelectorAll(".dropzone");else{ae=[];var O=function(M){return(function(){var k=[],U=C(M),K;try{for(U.s();!(K=U.n()).done;){var ie=K.value;/(^| )dropzone($| )/.test(ie.className)?k.push(ae.push(ie)):k.push(void 0)}}catch(ye){U.e(ye)}finally{U.f()}return k})()};O(document.getElementsByTagName("div")),O(document.getElementsByTagName("form"))}return(function(){var I=[],M=C(ae),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;re.optionsForElement(U)!==!1?I.push(new re(U)):I.push(void 0)}}catch(K){M.e(K)}finally{M.f()}return I})()},re.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],re.isBrowserSupported=function(){var ae=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))ae=!1;else{re.blacklistedBrowsers!==void 0&&(re.blockedBrowsers=re.blacklistedBrowsers);var O=C(re.blockedBrowsers),I;try{for(O.s();!(I=O.n()).done;){var M=I.value;if(M.test(navigator.userAgent)){ae=!1;continue}}}catch(k){O.e(k)}finally{O.f()}}else ae=!1;return ae},re.dataURItoBlob=function(ae){for(var O=atob(ae.split(",")[1]),I=ae.split(",")[0].split(":")[1].split(";")[0],M=new ArrayBuffer(O.length),k=new Uint8Array(M),U=0,K=O.length,ie=0<=K;ie?U<=K:U>=K;ie?U++:U--)k[U]=O.charCodeAt(U);return new Blob([M],{type:I})};var de=function(O,I){return O.filter(function(M){return M!==I}).map(function(M){return M})},G=function(O){return O.replace(/[\-_](\w)/g,function(I){return I.charAt(1).toUpperCase()})};re.createElement=function(ae){var O=document.createElement("div");return O.innerHTML=ae,O.childNodes[0]},re.elementInside=function(ae,O){if(ae===O)return!0;for(;ae=ae.parentNode;)if(ae===O)return!0;return!1},re.getElement=function(ae,O){var I;if(typeof ae=="string"?I=document.querySelector(ae):ae.nodeType!=null&&(I=ae),I==null)throw new Error("Invalid `".concat(O,"` option provided. Please provide a CSS selector or a plain HTML element."));return I},re.getElements=function(ae,O){var I,M;if(ae instanceof Array){M=[];try{var k=C(ae,!0),U;try{for(k.s();!(U=k.n()).done;)I=U.value,M.push(this.getElement(I,O))}catch(ye){k.e(ye)}finally{k.f()}}catch{M=null}}else if(typeof ae=="string"){M=[];var K=C(document.querySelectorAll(ae)),ie;try{for(K.s();!(ie=K.n()).done;)I=ie.value,M.push(I)}catch(ye){K.e(ye)}finally{K.f()}}else ae.nodeType!=null&&(M=[ae]);if(M==null||!M.length)throw new Error("Invalid `".concat(O,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return M},re.confirm=function(ae,O,I){if(window.confirm(ae))return O();if(I!=null)return I()},re.isValidFile=function(ae,O){if(!O)return!0;O=O.split(",");var I=ae.type,M=I.replace(/\/.*$/,""),k=C(O),U;try{for(k.s();!(U=k.n()).done;){var K=U.value;if(K=K.trim(),K.charAt(0)==="."){if(ae.name.toLowerCase().indexOf(K.toLowerCase(),ae.name.length-K.length)!==-1)return!0}else if(/\/\*$/.test(K)){if(M===K.replace(/\/.*$/,""))return!0}else if(I===K)return!0}}catch(ie){k.e(ie)}finally{k.f()}return!1},typeof _s<"u"&&_s!==null&&(_s.fn.dropzone=function(ae){return this.each(function(){return new re(this,ae)})}),re.ADDED="added",re.QUEUED="queued",re.ACCEPTED=re.QUEUED,re.UPLOADING="uploading",re.PROCESSING=re.UPLOADING,re.CANCELED="canceled",re.ERROR="error",re.SUCCESS="success";var ee=function(O){O.naturalWidth;var I=O.naturalHeight,M=document.createElement("canvas");M.width=1,M.height=I;var k=M.getContext("2d");k.drawImage(O,0,0);for(var U=k.getImageData(1,0,1,I),K=U.data,ie=0,ye=I,ve=I;ve>ie;){var Re=K[(ve-1)*4+3];Re===0?ye=ve:ie=ve,ve=ye+ie>>1}var Se=ve/I;return Se===0?1:Se},z=function(O,I,M,k,U,K,ie,ye,ve,Re){var Se=ee(I);return O.drawImage(I,M,k,U,K,ie,ye,ve,Re/Se)},ue=(function(){function ae(){P(this,ae)}return N(ae,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(I){for(var M="",k=void 0,U=void 0,K="",ie=void 0,ye=void 0,ve=void 0,Re="",Se=0;k=I[Se++],U=I[Se++],K=I[Se++],ie=k>>2,ye=(k&3)<<4|U>>4,ve=(U&15)<<2|K>>6,Re=K&63,isNaN(U)?ve=Re=64:isNaN(K)&&(Re=64),M=M+this.KEY_STR.charAt(ie)+this.KEY_STR.charAt(ye)+this.KEY_STR.charAt(ve)+this.KEY_STR.charAt(Re),k=U=K="",ie=ye=ve=Re="",Se<I.length;);return M}},{key:"restore",value:function(I,M){if(!I.match("data:image/jpeg;base64,"))return M;var k=this.decode64(I.replace("data:image/jpeg;base64,","")),U=this.slice2Segments(k),K=this.exifManipulation(M,U);return"data:image/jpeg;base64,".concat(this.encode64(K))}},{key:"exifManipulation",value:function(I,M){var k=this.getExifArray(M),U=this.insertExif(I,k),K=new Uint8Array(U);return K}},{key:"getExifArray",value:function(I){for(var M=void 0,k=0;k<I.length;){if(M=I[k],M[0]===255&M[1]===225)return M;k++}return[]}},{key:"insertExif",value:function(I,M){var k=I.replace("data:image/jpeg;base64,",""),U=this.decode64(k),K=U.indexOf(255,3),ie=U.slice(0,K),ye=U.slice(K),ve=ie;return ve=ve.concat(M),ve=ve.concat(ye),ve}},{key:"slice2Segments",value:function(I){for(var M=0,k=[];;){var U;if(I[M]===255&I[M+1]===218)break;if(I[M]===255&I[M+1]===216)M+=2;else{U=I[M+2]*256+I[M+3];var K=M+U+2,ie=I.slice(M,K);k.push(ie),M=K}if(M>I.length)break}return k}},{key:"decode64",value:function(I){var M=void 0,k=void 0,U="",K=void 0,ie=void 0,ye=void 0,ve="",Re=0,Se=[],xe=/[^A-Za-z0-9\+\/\=]/g;for(xe.exec(I)&&console.warn(`There were invalid base64 characters in the input text.
201
+ Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
202
+ Expect errors in decoding.`),I=I.replace(/[^A-Za-z0-9\+\/\=]/g,"");K=this.KEY_STR.indexOf(I.charAt(Re++)),ie=this.KEY_STR.indexOf(I.charAt(Re++)),ye=this.KEY_STR.indexOf(I.charAt(Re++)),ve=this.KEY_STR.indexOf(I.charAt(Re++)),M=K<<2|ie>>4,k=(ie&15)<<4|ye>>2,U=(ye&3)<<6|ve,Se.push(M),ye!==64&&Se.push(k),ve!==64&&Se.push(U),M=k=U="",K=ie=ye=ve="",Re<I.length;);return Se}}]),ae})();ue.initClass();var Ee=function(O,I){var M=!1,k=!0,U=O.document,K=U.documentElement,ie=U.addEventListener?"addEventListener":"attachEvent",ye=U.addEventListener?"removeEventListener":"detachEvent",ve=U.addEventListener?"":"on",Re=function xe(De){if(!(De.type==="readystatechange"&&U.readyState!=="complete")&&((De.type==="load"?O:U)[ye](ve+De.type,xe,!1),!M&&(M=!0)))return I.call(O,De.type||De)},Se=function xe(){try{K.doScroll("left")}catch{setTimeout(xe,50);return}return Re("poll")};if(U.readyState!=="complete"){if(U.createEventObject&&K.doScroll){try{k=!O.frameElement}catch{}k&&Se()}return U[ie](ve+"DOMContentLoaded",Re,!1),U[ie](ve+"readystatechange",Re,!1),O[ie](ve+"load",Re,!1)}};re._autoDiscoverFunction=function(){if(re.autoDiscover)return re.discover()},Ee(window,re._autoDiscoverFunction);function Oe(ae,O){return typeof ae<"u"&&ae!==null?O(ae):void 0}function $e(ae,O,I){if(typeof ae<"u"&&ae!==null&&typeof ae[O]=="function")return I(ae,O)}window.Dropzone=re;var Ve=re})(),n})()});const GPe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Kv="upload.internetConnectivityError";class KPe extends Ic{constructor(){super(Lr.getPhrase(Kv,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:Lr.getPhrase(Kv,"heading"),text:Lr.getPhrase(Kv,"body"),buttons:[{text:Lr.getPhrase(Kv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Yv="upload.slowInternetError";class YPe extends Ic{constructor(){super(Lr.getPhrase(Yv,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:Lr.getPhrase(Yv,"heading"),text:Lr.getPhrase(Yv,"body"),buttons:[{text:Lr.getPhrase(Yv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const XPe=[];class hX extends Fa{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=wr.Radio.channel(t.channelName),i=this;this.dropzone=new GPe(document.createElement("div"),{url:(o=>{const a=o[0],{ingestUrl:u}=a.cvUpload;return u}),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&&(Ci(XPe,o=>{this.on(o,(...a)=>{const u=a[0]instanceof File?a[0].name:a[0];console.info(o,u,a)})}),this.on("uploadprogress",(o,a,u)=>{const l=u/o.size*100;n.trigger("progress",i.getId(o),l,u)}),this.on("success",o=>{const a=o.upload.chunks,u=kh(a);let l=u.xhr;l||(l=u.file.xhr);const f=JSON.parse(l.response);o.cvUpload.fileId=f.id,n.trigger(Zs.UPLOAD_SUCCESS,o,f)}),this.on("error",(o,a,u)=>{if(u&&u.status===0){nr.throw(new KPe);return}o.status!=="canceled"&&nr.throw(new Tne(Lr.getPhrase("upload.services","uploadError",{fileName:o.name,message:a.message})))}),this.on("sending",o=>{window.clearTimeout(i.slowInternetTimeout[o.path]),i.showSlowInternetTimeout&&(i.slowInternetTimeout[o.path]=window.setTimeout(()=>{i.showSlowInternetTimeout&&nr.throw(new YPe),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",o=>window.clearTimeout(i.slowInternetTimeout[o.path])))},params:(o,a,u)=>{if(u)return{chunk_index:u.index,upload_length:u.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return(void 0)(t,r)}}class QPe extends MPe{constructor(){super({dataProvider:Js.getInstance(Xg.Ajax),cache:Js.getInstance(Yg.Fifo),alertService:Js.getInstance(vy.ALERT)}),this.incrementingUploadId=0}get name(){return"UploadDataService"}get channelName(){return"private:upload:data:service"}requestUploads(t,r,n,i,o){const a=this.chain();Ci(r,u=>{this.incrementingUploadId++,a.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(u,n),callback:l=>{i(u,l)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),a.func(()=>{o()}).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(){Js.releaseInstance(Xg.Ajax).releaseInstance(Yg.Fifo)}}const JPe={0:Gv.VIDEO,1:Gv.RESOURCES,2:Gv.SUBTITLES,3:Gv.MIXED_MEDIA},ZPe={0:fh.VIDEO_UPLOAD,1:fh.RESOURCE_UPLOAD,2:fh.SUBTITLE_UPLOAD,3:fh.MIXED_MEDIA_UPLOAD},eke=1024*1024*4,tke=1024*1024*1024*50;class rke extends Fa{initialize(){this.uploadDataService=new QPe,this.progressViewModel=fie.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return ZPe[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=eke;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new hX({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:tke,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,Zs.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 ny,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(u=>{t+=u.get("totalUploaded")||0,r+=u.get("file").size||0});const i=t/r*100,o=i>=100,a=()=>{this.progressViewModel.set({progress:o?100:i,done:o})};if(!o){a();return}window.setTimeout(a,2e3)}isValidFile(t){return hX.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(Ph(t,n=>!this.isValidFile(n))){nr.throw(new FPe(Lr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}async requestUploads(t,r){const n=this.isUploading(),i=this.getCollection();for(const a of t){const u=await Ate(this.options.store.dispatch,WPe.requestUpload(a,this.fileLifestyle));"minChunkSize"in u&&"maxChunkSize"in u&&this.initUploader(u.minChunkSize,u.maxChunkSize),a.cvUpload={uploadId:u.uploadId,ingestUrl:u.uploadUrl},this.uploader.addFile(a);let l=a.name;this.uploadType===0&&(l=l.replace(/\.[^/.]+$/,""));const f=this.uploader.getId(a);i.add({id:f,file:a,name:l,...this.getAdditionalFileInfo(a,u)},{at:i.length-1})}r&&ga.logUserAction({uploadCount:t.length},r),wr.Radio.channel(this.channelName).trigger(Zs.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,()=>{ga.logUserAction(n.toJSON(),{entity:hn.Video,actionType:It.Upload,workflowPhase:Ku.Discard,descriptor:nC.Single,location:na.MyUploads}),wr.Radio.channel(this.channelName).trigger(Zs.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),ga.logUserAction({id:t.cvUpload.uploadId},{entity:hn.Video,actionType:It.Upload,workflowPhase:Ku.Complete,descriptor:nC.Single,location:na.VideoUpload}),wr.Radio.channel(this.channelName).trigger(Zs.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ci(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return JPe[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class nke extends rke{get uploadType(){return 3}get name(){return _ne.MixedMediaUpload}get fileLifestyle(){return zP.Temporary}}var ike=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return $re(t,n)})},Mx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Fre(t,n)})},WP=(function(e){uP(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1],p=h?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1],p=h?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"appear"),n.removeClasses(f,"enter"),n.addClass(f,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),f=l[0];n.addClass(f,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"exit"),n.addClass(f,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,f=typeof l=="string",d=f&&l?l+"-":"",h=f?""+d+u:l[u],p=f?h+"-active":l[u+"Active"],m=f?h+"-done":l[u+"Done"];return{baseClassName:h,activeClassName:p,doneClassName:m}},n}var r=t.prototype;return r.addClass=function(i,o,a){var u=this.getClassNames(o)[a+"ClassName"],l=this.getClassNames("enter"),f=l.doneClassName;o==="appear"&&a==="done"&&f&&(u+=" "+f),a==="active"&&i&&Wte(i),u&&(this.appliedClasses[o][a]=u,ike(i,u))},r.removeClasses=function(i,o){var a=this.appliedClasses[o],u=a.base,l=a.active,f=a.done;this.appliedClasses[o]={},u&&Mx(i,u),l&&Mx(i,l),f&&Mx(i,f)},r.render=function(){var i=this.props;i.classNames;var o=fy(i,["classNames"]);return Sr.createElement(Os,Lh({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(Sr.Component);WP.defaultProps={classNames:""};WP.propTypes={};function ake(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t){var r=function(o){return t&&ge.isValidElement(o)?t(o):o},n=Object.create(null);return e&&ge.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function oke(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 o in e)o in t?i.length&&(n[o]=i,i=[]):i.push(o);var a,u={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var f=n[l][a];u[n[l][a]]=r(f)}u[l]=r(l)}for(a=0;a<i.length;a++)u[i[a]]=r(i[a]);return u}function ql(e,t,r){return r[t]!=null?r[t]:e.props[t]}function ske(e,t){return GP(e.children,function(r){return ge.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ql(r,"appear",e),enter:ql(r,"enter",e),exit:ql(r,"exit",e)})})}function uke(e,t,r){var n=GP(e.children),i=oke(t,n);return Object.keys(i).forEach(function(o){var a=i[o];if(ge.isValidElement(a)){var u=o in t,l=o in n,f=t[o],d=ge.isValidElement(f)&&!f.props.in;l&&(!u||d)?i[o]=ge.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ql(a,"exit",e),enter:ql(a,"enter",e)}):!l&&u&&!d?i[o]=ge.cloneElement(a,{in:!1}):l&&u&&ge.isValidElement(f)&&(i[o]=ge.cloneElement(a,{onExited:r.bind(null,a),in:f.props.in,exit:ql(a,"exit",e),enter:ql(a,"enter",e)}))}}),i}var lke=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},cke={component:"div",childFactory:function(t){return t}},KP=(function(e){uP(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=o.handleExited.bind(ake(o));return o.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},o}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,o){var a=o.children,u=o.handleExited,l=o.firstRender;return{children:l?ske(i,u):uke(i,a,u),firstRender:!1}},r.handleExited=function(i,o){var a=GP(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(u){var l=Lh({},u.children);return delete l[i.key],{children:l}}))},r.render=function(){var i=this.props,o=i.component,a=i.childFactory,u=fy(i,["component","childFactory"]),l=this.state.contextValue,f=lke(this.state.children).map(a);return delete u.appear,delete u.enter,delete u.exit,o===null?Sr.createElement(Ng.Provider,{value:l},f):Sr.createElement(Ng.Provider,{value:l},Sr.createElement(o,u,f))},t})(Sr.Component);KP.propTypes={};KP.defaultProps=cke;function fke(e){return ce.jsx("svg",{...e,children:ce.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 dke(e){return ce.jsx("svg",{...e,children:ce.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 hke(e){return ce.jsx("svg",{...e,children:ce.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 pke(e){return ce.jsx("svg",{...e,children:ce.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 vke="_alertItem_i5y1z_1",gke="_alertBox_i5y1z_11",mke="_alertList_i5y1z_11",yke="_icon_i5y1z_28",_ke="_alertContent_i5y1z_32",Eke="_heading_i5y1z_40",Bl={alertItem:vke,alertBox:gke,alertList:mke,icon:yke,alertContent:_ke,heading:Eke};function Ske(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:o,heading:a,appLink:u,appLinkText:l,appLinkClassName:f="",extLink:d,extLinkText:h,extLinkClassName:p}=t;return ce.jsxs(ce.Fragment,{children:[ce.jsx("div",{className:`d-inline-block ${Bl.icon}`,children:ce.jsx(el,{svg:r,className:`svg-container ${n}`})}),ce.jsxs("div",{role:t.type===Ko.Fail?"alert":"status",className:`ps-2 d-inline-block ${Bl.alertContent}`,children:[ce.jsx("p",{className:`p-0 m-0 pb-1 ${Bl.heading}`,children:a}),ce.jsx("p",{className:`p-0 text-break clamp-4 ${Bl.message}`,dangerouslySetInnerHTML:{__html:o}}),!!u&&ce.jsx(Ja,{className:f,appLink:u,children:ce.jsx("span",{dangerouslySetInnerHTML:{__html:l}})}),!!d&&h&&ce.jsx("a",{href:d,className:p,target:"_blank",children:h})]}),ce.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const wke=e=>{switch(e.type){case Ko.Success:return fke;case Ko.Fail:case Ko.Warning:return pke;case Ko.Pending:return hke;case Ko.Info:default:return dke}},bke=e=>e.type===Ko.Pending?"text-info":`text-${e.type}`;die.defaultProps={timeout:3e3};function die({alert:e,closeAlert:t,timeout:r}){const[n,i]=ge.useState(!0),o=ge.useRef(null);return ge.useEffect(()=>{if(!n){clearTimeout(o.current);return}o.current=window.setTimeout(t,r)},[n]),ce.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Bl.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:ce.jsx(Ske,{alert:e,svg:wke(e),svgClassName:bke(e),closeAlert:t})})}function Tke({alerts:e,removeAlert:t}){return ce.jsx("div",{className:Bl.alertBox,children:ce.jsx(KP,{component:"ul",className:`${Bl.alertList} list-unstyled`,children:e&&e.map((r,n)=>ce.jsx(WP,{timeout:200,classNames:"alert",children:ce.jsx(die,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}async function Ake(e,t){try{const r={maxAlerts:3,defaultSuccessAlert:{heading:AC.Success,type:Ko.Success},defaultErrorAlert:{heading:AC.Fail,type:Ko.Fail},alertViewCtor:Tke};Js.registerSingleton(new $Ae(r)).registerInstance(nke,{store:e.store}),t(e)}catch{nr.throw(new Uf)}}function Rke(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 _f;typeof self<"u"?_f=self:typeof window<"u"?_f=window:typeof globalThis<"u"?_f=globalThis:typeof module<"u"?_f=module:_f=Function("return this")();var pX=Rke(_f),$x=function(){return Math.random().toString(36).substring(7).split("").join(".")},Sh={INIT:"@@redux/INIT"+$x(),REPLACE:"@@redux/REPLACE"+$x(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$x()}};function xke(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 hie(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(hie)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],u=a,l=!1;function f(){u===a&&(u=a.slice())}function d(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function h(E){if(typeof E!="function")throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var _=!0;return f(),u.push(E),function(){if(_){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");_=!1,f();var T=u.indexOf(E);u.splice(T,1)}}}function p(E){if(!xke(E))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof E.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,E)}finally{l=!1}for(var _=a=u,w=0;w<_.length;w++){var T=_[w];T()}return E}function m(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");i=E,p({type:Sh.REPLACE})}function S(){var E,_=h;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new TypeError("Expected the observer to be an object.");function C(){T.next&&T.next(d())}C();var x=_(C);return{unsubscribe:x}}},E[pX]=function(){return this},E}return p({type:Sh.INIT}),n={dispatch:p,subscribe:h,getState:d,replaceReducer:m},n[pX]=S,n}function Cke(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 Oke(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Sh.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:Sh.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+Sh.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 Ike(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 o=Object.keys(r),a;try{Oke(r)}catch(u){a=u}return function(l,f){if(l===void 0&&(l={}),a)throw a;for(var d=!1,h={},p=0;p<o.length;p++){var m=o[p],S=r[m],E=l[m],_=S(E,f);if(typeof _>"u"){var w=Cke(m,f);throw new Error(w)}h[m]=_,d=d||_!==E}return d?h:l}}function Pke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vX(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 kke(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vX(r,!0).forEach(function(n){Pke(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vX(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Dke(){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 Lke(){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),o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},u=t.map(function(l){return l(a)});return o=Dke.apply(void 0,u)(i.dispatch),kke({},i,{dispatch:o})}}}function Nke(e){const{authenticationError:t}=e;return function(){return n=>i=>{var a;const o=i;if(i.type===da.API_ERROR&&t&&((a=o==null?void 0:o.xhr)==null?void 0:a.status)===FI.Unauthorized)return nr.throw(new t("dark"));if(i.type!==da.API_RESPONSE){n(i);return}n(i)}}}function Mke(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 $ke(e={},t){switch(t.type){case HP.UPDATE:return Mke(e,t)}return e}const Fke={STANDARD:600},Xv="shared.authentication";class jke extends Ic{constructor(t){super(Lr.getPhrase(Xv,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:Lr.getPhrase(Xv,"heading"),text:Lr.getPhrase(Xv,"body"),buttons:[{text:Lr.getPhrase(Xv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){En.Reload()}}class Uke extends jke{onDone(){En.PageLoad(`/login?returnUrl=${encodeURIComponent(En.GetCurrentUrl())}`)}}const If={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var o,a,u,l;const r=bte(e.getState(),Xl.TOKEN),n=If.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){pd(e.dispatch,t);return}if(r.isFetching){let f=!1;const d=e.subscribe(()=>{d(),!f&&(f=!0,If.getToken(e,t))});return}r.hasError?((o=t.error)==null||o.call(t,{status:r.statusCode,getResponseHeader:null}),(a=t.always)==null||a.call(t)):((u=t.success)==null||u.call(t,r.data),(l=t.always)==null||l.call(t))},async getTokenAsync(e){const t=pie.getToken();return t||new Promise((r,n)=>{const i=a=>r(a),o=a=>n(a);If.getToken(e,ma.token(i,o))})}},qke=Si.Router.prototype._routeToRegExp("share/embed/:id(/)"),Bke=Si.Router.prototype._routeToRegExp("videos/embed/:id(/)"),pie={applyToken(e){const t=PP.getCurrentRoute().appLink,r=ni.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}});En.PageLoad(r)},getToken(){const e=Si.history.getFragment(En.GetCurrentPath()),t=qke.test(e),r=Bke.test(e);if(!t&&!r||!window.URLSearchParams)return null;const n=new URLSearchParams(window.location.search),i=n.get("embedToken"),o=parseInt(n.get("localTTL"));if(!i||!o)return null;const a={value:i,localTTL:isNaN(o)?null:o};return If.hasTokenExpired(a)?null:a}};function Vke(){const e=pie.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);If.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const DC={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},gX={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function Hke(e){return async function(r,n){const i=Object.keys(gX).find(a=>r.resource.startsWith(a));if(!i)return n(r);function o(a,u){const l=a[gX[i]],f={...r,resource:DC.safeUrlConcat(l,r.resource.split(`${i}/`)[1])};u!=null&&u.value&&(f.headers={...f.headers??{},authorization:`Bearer ${u.value}`}),n(f)}try{const a=await Da(e,tl.config());if(!(await Da(e,ma.currentUser())).isAuthenticated){o(a);return}const l=await If.getTokenAsync(e);o(a,l)}catch{n(r)}}}const mX=/\(([^()]*)\)/g;function zke(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function Wke(e,t){function r(n){return function(o){const a=t[o];if(typeof a=="string"){n.useAsync(zke(o,a));return}a&&n.useAsync(a)}}return function(i,o){var p;const a=new Rf,u=new Rf,l={resource:i.resource,store:e},f={resource:null,store:e},d=(p=i.data)==null?void 0:p.ogql;if(decodeURIComponent(i.resource).replace(mX,r(a)),d){const m=JSON.stringify(i.data.ogql);f.resource=m,m.replace(mX,r(u))}a.goAsync(l,m=>{u.goAsync(f,S=>{o({...i,resource:m.resource,data:d?{...i.data,ogql:JSON.parse(S.resource)}:i.data})})})}}function Gke(e,t){return function(n){const i=new Rf;i.useAsync(Hke(e.store)),i.useAsync(Wke(e.store,t)),i.useAsync(Vke()),i.goAsync(n,o=>{Iye(o)})}}const yX={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"},_Le={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,_rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,_rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"},Kke=[fr.ExchangeTvProductOption,fr.TvRegion,fr.LiteUpgradeTypeCustomer];function Yke(e){return function(r,n){const i=Kke.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const Xke=[fr.HasCompletedOnboardingV1];function Qke(e){return function(r,n){const i=Xke.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const Jke="thumbnail,_rating,series,season,subtitles{limit:1}";function Zke(e){return function(r,n){ZI(r.store,ma.currentUser(i=>{let o=`${Jke}`;i.isAuthenticated&&(o+=`,favouritedby{id:${i.id}}`);const a=r.resource.replace(e,o);n({...r,resource:a})},()=>n(r)))}}const eDe={[yX.VIDEO_COLLECTION]:Zke(yX.VIDEO_COLLECTION),"(customerSettings)":Yke("(customerSettings)"),"(userSettings)":Qke("(userSettings)")};async function tDe(e,t){const r=Ike({flightData:nSe,viewModelData:$ke}),n=QEe({fetchData:Gke(e,eDe),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:Fke.STANDARD}),i=Nke({authenticationError:Uke});async function o(u){e.registerStore(u),t(e),delete window.bootstrapData}const a=hie(r,Lke(n,i));await o(a)}const rDe="application:options";class nDe extends Fa{constructor(t){super(),this.clients={},this.enrichers={},fie.get(rDe).set(t??{})}get name(){return sP.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(Hte.ANALYTICS,xf.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(gs(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||nr.throw(new ln(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>Qa.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&nr.throw(new ln(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&nr.throw(new ln(`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 vie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function _X(e,t,r,n){let i,o,a;const u=t||[0],l=(r=r||0)>>>3,f=n===-1?3:0;for(i=0;i<e.length;i+=1)a=i+l,o=a>>>2,u.length<=o&&u.push(0),u[o]|=e[i]<<8*(f+n*(a%4));return{value:u,binLen:8*e.length+r}}function Fx(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,o){return(function(a,u,l,f){let d,h,p,m;if(a.length%2!=0)throw new Error("String of HEX type must be in byte increments");const S=u||[0],E=(l=l||0)>>>3,_=f===-1?3:0;for(d=0;d<a.length;d+=2){if(h=parseInt(a.substr(d,2),16),isNaN(h))throw new Error("String of HEX type contains invalid characters");for(m=(d>>>1)+E,p=m>>>2;S.length<=p;)S.push(0);S[p]|=h<<8*(_+f*(m%4))}return{value:S,binLen:4*a.length+l}})(n,i,o,r)};case"TEXT":return function(n,i,o){return(function(a,u,l,f,d){let h,p,m,S,E,_,w,T,C=0;const x=l||[0],R=(f=f||0)>>>3;if(u==="UTF8")for(w=d===-1?3:0,m=0;m<a.length;m+=1)for(h=a.charCodeAt(m),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):(m+=1,h=65536+((1023&h)<<10|1023&a.charCodeAt(m)),p.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),S=0;S<p.length;S+=1){for(_=C+R,E=_>>>2;x.length<=E;)x.push(0);x[E]|=p[S]<<8*(w+d*(_%4)),C+=1}else for(w=d===-1?2:0,T=u==="UTF16LE"&&d!==1||u!=="UTF16LE"&&d===1,m=0;m<a.length;m+=1){for(h=a.charCodeAt(m),T===!0&&(S=255&h,h=S<<8|h>>>8),_=C+R,E=_>>>2;x.length<=E;)x.push(0);x[E]|=h<<8*(w+d*(_%4)),C+=2}return{value:x,binLen:8*C+f}})(n,t,i,o,r)};case"B64":return function(n,i,o){return(function(a,u,l,f){let d,h,p,m,S,E,_,w=0;const T=u||[0],C=(l=l||0)>>>3,x=f===-1?3:0,R=a.indexOf("=");if(a.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(a=a.replace(/=/g,""),R!==-1&&R<a.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<a.length;h+=4){for(S=a.substr(h,4),m=0,p=0;p<S.length;p+=1)d=vie.indexOf(S.charAt(p)),m|=d<<18-6*p;for(p=0;p<S.length-1;p+=1){for(_=w+C,E=_>>>2;T.length<=E;)T.push(0);T[E]|=(m>>>16-8*p&255)<<8*(x+f*(_%4)),w+=1}}return{value:T,binLen:8*w+l}})(n,i,o,r)};case"BYTES":return function(n,i,o){return(function(a,u,l,f){let d,h,p,m;const S=u||[0],E=(l=l||0)>>>3,_=f===-1?3:0;for(h=0;h<a.length;h+=1)d=a.charCodeAt(h),m=h+E,p=m>>>2,S.length<=p&&S.push(0),S[p]|=d<<8*(_+f*(m%4));return{value:S,binLen:8*a.length+l}})(n,i,o,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,i,o){return(function(a,u,l,f){return _X(new Uint8Array(a),u,l,f)})(n,i,o,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,i,o){return _X(n,i,o,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function EX(e,t,r,n){switch(e){case"HEX":return function(i){return(function(o,a,u,l){let f,d,h="";const p=a/8,m=u===-1?3:0;for(f=0;f<p;f+=1)d=o[f>>>2]>>>8*(m+u*(f%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return l.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(o,a,u,l){let f,d,h,p,m,S="";const E=a/8,_=u===-1?3:0;for(f=0;f<E;f+=3)for(p=f+1<E?o[f+1>>>2]:0,m=f+2<E?o[f+2>>>2]:0,h=(o[f>>>2]>>>8*(_+u*(f%4))&255)<<16|(p>>>8*(_+u*((f+1)%4))&255)<<8|m>>>8*(_+u*((f+2)%4))&255,d=0;d<4;d+=1)S+=8*f+6*d<=a?vie.charAt(h>>>6*(3-d)&63):l.b64Pad;return S})(i,t,r,n)};case"BYTES":return function(i){return(function(o,a,u){let l,f,d="";const h=a/8,p=u===-1?3:0;for(l=0;l<h;l+=1)f=o[l>>>2]>>>8*(p+u*(l%4))&255,d+=String.fromCharCode(f);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(o,a,u){let l;const f=a/8,d=new ArrayBuffer(f),h=new Uint8Array(d),p=u===-1?3:0;for(l=0;l<f;l+=1)h[l]=o[l>>>2]>>>8*(p+u*(l%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(o,a,u){let l;const f=a/8,d=u===-1?3:0,h=new Uint8Array(f);for(l=0;l<f;l+=1)h[l]=o[l>>>2]>>>8*(d+u*(l%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function SX(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 hf(e,t){return e<<t|e>>>32-t}function wX(e,t,r){return e^t^r}function iDe(e,t,r){return e&t^e&r^t&r}function ah(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function Qv(e,t,r,n,i){const o=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(o>>>16))<<16|65535&o}function aDe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function gie(e,t){let r,n,i,o,a,u,l;const f=[];for(r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],l=0;l<80;l+=1)f[l]=l<16?e[l]:hf(f[l-3]^f[l-8]^f[l-14]^f[l-16],1),u=l<20?Qv(hf(r,5),(d=n)&i^~d&o,a,1518500249,f[l]):l<40?Qv(hf(r,5),wX(n,i,o),a,1859775393,f[l]):l<60?Qv(hf(r,5),iDe(n,i,o),a,2400959708,f[l]):Qv(hf(r,5),wX(n,i,o),a,3395469782,f[l]),a=o,o=i,i=hf(n,30),n=r,r=u;var d;return t[0]=ah(r,t[0]),t[1]=ah(n,t[1]),t[2]=ah(i,t[2]),t[3]=ah(o,t[3]),t[4]=ah(a,t[4]),t}function oDe(e,t,r,n){let i;const o=15+(t+65>>>9<<4),a=t+r;for(;e.length<=o;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[o]=4294967295&a,e[o-1]=a/4294967296|0,i=0;i<e.length;i+=16)n=gie(e.slice(i,i+16),n);return n}class sDe 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,o=this.T(t,this.o,this.h),a=o.binLen,u=o.value,l=a>>>5;for(r=0;r<l;r+=i)n+this.U<=a&&(this.F=this.m(u.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=u.slice(n>>>5),this.h=a%this.U,this.u=!0}getHash(t,r){let n,i,o=this.g;const a=SX(r);if(this.B){if(a.outputLen===-1)throw new Error("Output length must be specified in options");o=a.outputLen}const u=EX(t,o,this.v,a);if(this.A&&this.Y)return u(this.Y(a));for(i=this.H(this.o.slice(),this.h,this.l,this.C(this.F),o),n=1;n<this.numRounds;n+=1)this.B&&o%32!=0&&(i[i.length-1]&=16777215>>>24-o%32),i=this.H(i,o,0,this.I(this.s),o);return u(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=Fx(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=SX(r);return EX(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=Fx(this.t,this.i,this.v),this.m=gie,this.C=function(o){return o.slice()},this.I=aDe,this.H=oDe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(o,a,u,l){const f=o+" must include a value and format";if(!a)throw new Error(f);if(a.value===void 0||!a.format)throw new Error(f);return Fx(a.format,a.encoding||"UTF8",u)(a.value)})("hmacKey",i.hmacKey,this.v))}}var eu=(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))(eu||{});const uDe={systemName:eu.CvApSoutheast1},lDe={systemName:eu.CvApSoutheast2},cDe={systemName:eu.CvEuWest1},fDe={systemName:eu.CvNaWest1},dDe={CvApSoutheast1:uDe,CvApSoutheast2:lDe,CvEuWest1:cDe,CvNaWest1:fDe},bX="r",Dy="cv:r",Ly="cv:r:e",Jv="referrer",TX="cv:originalReferrer",LC=28800,AX=["internalReferrer"],mie={getDecodedAttributionData(){const e=xi.cacheGet(Dy);if(e&&Object.keys(e).length>0)return e;const t=RX();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=xi.cacheGet(Ly);return e!=null&&e.length?e:RX().encoded},getProfileId(){const e=mie.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function RX(){const e=xi.cacheGet(Dy),t=xi.cacheGet(Ly);return YP(e)?{encoded:t,decoded:e}:hDe()}function hDe(){xi.cacheRemove(Dy),xi.cacheRemove(Ly);const e=vDe(),t=gDe(e);if(t)return xX(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:pDe()},n=mDe(r);return xX(n,r),{decoded:r,encoded:n}}function YP(e){return!e||typeof e!="object"||Object.keys(e).length<AX.length?!1:AX.every(t=>typeof e[t]=="string")}function pDe(){const e=xi.cacheGet(TX);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(Jv)&&r.get(Jv);r.has(Jv)&&r.get(Jv)&&(t=n)}return t&&xi.cacheSet(TX,t,LC),t}function vDe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(bX))return e.get(bX)}function gDe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!YP(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 mDe(e){if(YP(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function xX(e,t){try{xi.cacheSet(Dy,t,LC),xi.cacheSet(Ly,e,LC)}catch{console.error("Could not store attribution data in session storage")}}const CX=3,yDe=5e3,_De=6,jx={};class EDe{constructor(t){this.key=t.toString()}getCount(){return jx[this.key]||0}increment(){jx[this.key]=this.getCount()+1}reset(){delete jx[this.key]}shouldBreak(){return this.getCount()>=_De}}class SDe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,yDe*Math.pow(2,this.attempt))),this.attempt++}}async function wDe(e,t){const r=new SDe,n=new EDe(e);async function i(){const o=await fetch(e,t);if(o.status>=500&&!n.shouldBreak())throw new Error(`Server error: ${o.status}`);return o.ok&&n.reset(),o}for(let o=1;o<=CX;o++)try{return await i()}catch(a){if(o>=CX||n.shouldBreak())throw a;n.increment(),await r.wait()}}var Zv,bDe=new Uint8Array(16);function TDe(){if(!Zv&&(Zv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Zv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Zv(bDe)}const ADe=/^(?:[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 XP(e){return typeof e=="string"&&ADe.test(e)}var Fi=[];for(var Ux=0;Ux<256;++Ux)Fi.push((Ux+256).toString(16).substr(1));function RDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Fi[e[t+0]]+Fi[e[t+1]]+Fi[e[t+2]]+Fi[e[t+3]]+"-"+Fi[e[t+4]]+Fi[e[t+5]]+"-"+Fi[e[t+6]]+Fi[e[t+7]]+"-"+Fi[e[t+8]]+Fi[e[t+9]]+"-"+Fi[e[t+10]]+Fi[e[t+11]]+Fi[e[t+12]]+Fi[e[t+13]]+Fi[e[t+14]]+Fi[e[t+15]]).toLowerCase();if(!XP(r))throw TypeError("Stringified UUID is invalid");return r}function xDe(e,t,r){e=e||{};var n=e.random||(e.rng||TDe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,RDe(n)}function CDe(e){if(!XP(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const OX="cv:session:",IX="cv:window:",ODe=new Date(864e13).getTime(),PX=18e5,IDe=4;function yie(e){if(e===Yo.LocalStorage)return xi.isAvailable()?xi:_Y;if(e===Yo.SessionStorage)return Wg.isAvailable()?Wg:_Y}function kX(e){return e===!1?ODe:new Date().getTime()+e}function PDe(){return xDe()}function kDe(e){return e?new Date().getTime()>e:!1}function DDe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!XP(e.id)||CDe(e.id)!==IDe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function DX(e,t,r){const n=yie(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function LX(e,t,r,n){const i=yie(r),o=e+(t||"0"),a=i.get(o);if(!DDe(a)||kDe(a==null?void 0:a.ttl)){const l={id:PDe(),ttl:kX(n)};return i.set(o,l),l.id}const u={id:a.id,ttl:kX(n)};return i.set(o,u),a.id}let qx=!1;const NX={getClientSessionData(e){const t=LX(OX,e,Yo.LocalStorage,PX),r=LX(IX,e,Yo.SessionStorage,qx?!1:PX);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){DX(OX,e,Yo.LocalStorage),DX(IX,e,Yo.SessionStorage)},lockWindowSession(){qx=!0},unlockWindowSession(){qx=!1}},Vl={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},Hr={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},Ys="Unknown";function pf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Ys),{name:e,version:i}}function Ol(e,t,r){if(!t)return{name:e,version:Ys};const n=t.exec(r),i=n&&n.length?n[0].trim():Ys;return{name:e,version:i}}function LDe(e,t){const r={name:e,version:null};return Hr.win2000.test(t)&&(r.version="2000"),Hr.winXP.test(t)&&(r.version="XP"),Hr.winVista.test(t)&&(r.version="Vista"),Hr.win7.test(t)&&(r.version="7"),Hr.win8.test(t)&&(r.version="8"),Hr.win81.test(t)&&(r.version="8.1"),Hr.win10.test(t)&&(r.version="10"),r.version||(r.version=Ys),r}const MX={getDeviceType(){const e=window.navigator.userAgent;return Hr.mobileDevice.test(e)?Hr.iphone.test(e)?"iPhone":Hr.ipad.test(e)?"iPad":Hr.android.test(e)?"Android":Hr.blackberry.test(e)?"Blackberry":Hr.windowsPhone.test(e)?"Windows Phone":Ys:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return Hr.android.test(e)?Ol("Android",Hr.androidVersion,e):Hr.iphone.test(e)||Hr.ipad.test(e)?Ol("iOS",Hr.iosVersion,e):Hr.linux.test(e)?Ol("Linux",null,e):Hr.unix.test(e)?Ol("Unix",null,e):Hr.mac.test(e)?Ol("Macintosh",Hr.osxVersion,e):Hr.windows.test(e)?LDe("Windows",e):Hr.blackberry.test(e)?Ol("BlackBerry",Hr.blackberryVersion,e):Hr.windowsPhone.test(e)?Ol("Windows Phone",Hr.windowsPhoneVersion,e):{name:Ys,version:Ys}},getBrowser(){const e=window.navigator.userAgent;return Hr.chrome.test(e)?pf("Chrome",Hr.generalVersion,e):Hr.firefox.test(e)?pf("Firefox",Hr.generalVersion,e):Hr.safari.test(e)?pf("Safari",Hr.generalVersion,e):Hr.ie.test(e)?pf("Internet Explorer",Hr.ieVersion,e):Hr.edge.test(e)?pf("Edge",Hr.edgeVersion,e):Hr.opera.test(e)?pf("Opera",Hr.operaVersion,e):{name:Ys,version:Ys}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},NDe=28800,$X="cv:utmparams",NC=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],MDe=NC.reduce((e,[t])=>({...e,[t]:t}),{}),_ie={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 NC.forEach(r),FX(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{MDe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),FX(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=_ie.getUtmParameters();return t?(NC.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function FX(e){if(Object.keys(e).length)return xi.cacheSet($X,e,NDe),e;const t=xi.cacheGet($X);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const $De="2.3.0",FDe={version:$De},jDe="zXJL9nOHxzDlMUDjiP41",jX="unknown";class UDe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=_ie.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=mie.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(!Vl.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Vl.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 o=DC.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(o=DC.safeUrlConcat(o,"/bulk"));try{const a=await wDe(o,{method:"POST",mode:"cors",headers:i,body:n});a.ok||this.logError(new Error(`CollectionApiClient failed to log event. Status: ${a.status} ${a.statusText}`),!1,this.getResponseAsObject(a))}catch(a){this.logError(a)}}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 sDe("SHA-1","TEXT",{hmacKey:{value:jDe,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 eu.CvEuWest1:return t.cvEuWest1;case eu.CvApSoutheast2:return t.cvApSoutheast2;case eu.CvNaWest1:return t.cvNaWest1;case eu.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Vl.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(),o=await this.getSessionData(),a={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(a.variant=this.options.productVariant);const u={user:i,action:r,platform:n,product:a,session:o};this.utmParameters&&(u.utm=this.utmParameters);const l=this.extractData(t),f=Object.keys(u).map(h=>h.toLowerCase()),d=Object.keys(l).map(h=>h.toLowerCase());return f.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...u,...l}}extractData(t){return Vl.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(o){this.logError(o)}try{const o=await this.options.getUser();return o!=null&&o.id?{id:o.id,role:((i=o.role)==null?void 0:i.toLowerCase())||jX,userGroup:(o.userGroup??Bte.Unknown).toLowerCase(),yearGroup:this.normalizeYearGroup(o.yearGroup),profileId:t,customer:{id:o.customerId,name:o.customerName,customerGuid:o.customerGuid,crmId:o.crmId,country:o.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:o.accessPolicy}}:t?{profileId:t}:void 0}catch(o){this.logError(o)}}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{...NX.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),NX.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:MX.getBrowser(),os:MX.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:FDe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(dDe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):jX}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Qg=class Qg extends Fa{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Qg.type}};Qg.type="BaseAnalyticsClient";let MC=Qg;class qDe extends MC{get name(){return"DebuggerClient"}shouldLog(){return iy.isDevelopment}log(t){const r=nI(t);for(const n in t){const i=r[n];(i instanceof nu||i instanceof ny)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const jr={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)/},Xs="Unknown";function vf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Xs),{browser:e,version:i}}function Il(e,t,r){if(!t)return{os:e,version:Xs};const n=t.exec(r),i=n&&n.length?n[0].trim():Xs;return{os:e,version:i}}function BDe(e,t){const r={os:e};return jr.win2000.test(t)&&(r.version="2000"),jr.winXP.test(t)&&(r.version="XP"),jr.winVista.test(t)&&(r.version="Vista"),jr.win7.test(t)&&(r.version="7"),jr.win8.test(t)&&(r.version="8"),jr.win81.test(t)&&(r.version="8.1"),jr.win10.test(t)&&(r.version="10"),r.version||(r.version=Xs),r}const wh={getDeviceType(){const e=window.navigator.userAgent;return jr.mobileDevice.test(e)?jr.iphone.test(e)?"iPhone":jr.ipad.test(e)?"iPad":jr.android.test(e)?"Android":jr.blackberry.test(e)?"Blackberry":jr.windowsPhone.test(e)?"Windows Phone":Xs:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return jr.android.test(e)?Il("Android",jr.androidVersion,e):jr.iphone.test(e)||jr.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Il("iOS",jr.iosVersion,e):jr.linux.test(e)?Il("Linux",null,e):jr.unix.test(e)?Il("Unix",null,e):jr.mac.test(e)?Il("Macintosh",jr.osxVersion,e):jr.windows.test(e)?BDe("Windows",e):jr.blackberry.test(e)?Il("BlackBerry",jr.blackberryVersion,e):jr.windowsPhone.test(e)?Il("Windows Phone",jr.windowsPhoneVersion,e):{os:Xs,version:Xs}},getBrowser(){const e=window.navigator.userAgent;return jr.chrome.test(e)?vf("Chrome",jr.generalVersion,e):jr.firefox.test(e)?vf("Firefox",jr.generalVersion,e):jr.safari.test(e)?vf("Safari",jr.generalVersion,e):jr.ie.test(e)?vf("Internet Explorer",jr.ieVersion,e):jr.edge.test(e)?vf("Edge",jr.edgeVersion,e):jr.opera.test(e)?vf("Opera",jr.operaVersion,e):{browser:Xs,version:Xs}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return wh.isTouchScreen()?jr.tablet.test(navigator.userAgent)||jr.mobile.test(navigator.userAgent):!1},isAndroid(){return wh.getOperatingSystem().os==="Android"},isIOS(){return wh.getOperatingSystem().os==="iOS"}},Jg=class Jg extends Fa{enrich(t,r){}isType(t){return t===Jg.type}};Jg.type="BaseAnalyticsEnricher";let $C=Jg;class VDe extends $C{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 Yu.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:En.GetCurrentReferrer(),requestUrl:En.GetCurrentUrl()}}getClientInfo(){const t=wh.getOperatingSystem(),r=wh.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 HDe extends Tc{}class zDe extends HDe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(xf.Outlet,t)}subscribe(t){const r=t,n=i=>{Qa.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};qr(r.listenTo)?r.listenTo(this.getChannel(),xf.Outlet,n):this.listenTo(this.getChannel(),xf.Outlet,n)}}const Zn={passthrough(e){return e}},sr={allow:()=>!0,restrict:()=>!1},WDe={getShareData(e){var u,l,f,d;const{id:t,search:r,pagePositionIndex:n,shareId:i,shareType:o}=e,a={id:t,search:r,pagePositionIndex:n,shareId:i,shareType:o};return(u=e.video)!=null&&u.id&&(a.video={id:e.video.id}),(l=e.clip)!=null&&l.id&&(a.clip={id:e.clip.id},(f=e.clip.video)!=null&&f.id&&(a.video={id:(d=e.clip.video)==null?void 0:d.id})),e.shareCount!==void 0&&(a.shareCount=e.shareCount),e.embedDetails&&(a.embedDetails=a.embedDetails),a}},Ef={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===hn.Video)return Ef.formatVideoUpload(e,t);if(r===hn.Resource||r===hn.Subtitle)return Ef.formatResourceUpload(e);if(r===hn.Banner||r===hn.Thumbnail||r===hn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Ku.Start)return Ef.getStartVideoUploadData(e);if(r===Ku.Discard)return Ef.getDiscardVideoUploadData(e);if(r===Ku.Complete)return Ef.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:o,cvUpload:a}=r.file,u={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:o};return r.progress&&(u.progress=r.progress.toFixed(2)),a&&(u.uploadId=a.uploadId),u};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:o}=t;return{fileName:r,libraryId:n,folderId:i,autoCaption:o,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Vl.isObject(e.metadata)&&(n.type=e.metadata.type),n}},GDe={[It.Navigate]:sr.restrict,[It.Click]:sr.allow,[It.Search]:sr.allow,[It.InstantSearch]:sr.allow,[It.Play]:sr.allow,[It.Stream]:sr.allow,[It.WebPlayerStream]:sr.allow,[It.StreamProgress]:sr.allow,[It.Rename]:sr.allow,[It.Move]:sr.allow,[It.Create]:sr.allow,[It.Delete]:sr.allow,[It.Associate]:sr.allow,[It.Dissociate]:sr.allow,[It.Filter]:sr.allow,[It.Sort]:sr.allow,[It.Approve]:sr.allow,[It.Reject]:sr.allow,[It.Disable]:sr.allow,[It.Upload]:sr.allow,[It.Download]:sr.allow,[It.SetAccess]:sr.allow,[It.AddToLocalCache]:sr.restrict,[It.Share]:sr.allow,[It.Unshare]:sr.allow,[It.Edit]:sr.allow,[It.Suggest]:sr.allow,[It.Favourite]:sr.allow,[It.WorkspaceAdd]:sr.allow,[It.ResolveWarning]:sr.allow,[It.DismissWarning]:sr.allow,[It.EditAssoc]:sr.allow,[It.Follow]:sr.allow,[It.Print]:sr.allow,[It.Copy]:sr.allow,[It.Activate]:sr.allow,[It.VerifyEmail]:sr.allow,[It.ChangePassword]:sr.allow,[It.Export]:sr.allow,[It.SendEmail]:sr.allow,[It.Publish]:sr.allow,[It.Submit]:sr.allow,[It.Complete]:sr.allow,[It.Archive]:sr.allow,[It.Promote]:sr.allow,[It.Demote]:sr.allow,[It.BulkAction]:sr.allow,[It.Remove]:sr.allow,[It.Dismiss]:sr.allow,[It.Open]:sr.allow,[It.Hide]:sr.allow,[It.PageView]:sr.allow,[It.Select]:sr.allow,[It.SwitchCustomer]:sr.allow,[It.Focus]:sr.allow,[It.Blur]:sr.allow,[It.Hover]:sr.allow,[It.Unhover]:sr.allow},KDe={[It.Search]:Zn.passthrough,[It.InstantSearch]:Zn.passthrough,[It.Play]:Zn.passthrough,[It.Stream]:Zn.passthrough,[It.StreamProgress]:Zn.passthrough,[It.Click]:Zn.passthrough,[It.Filter]:Zn.passthrough,[It.Sort]:Zn.passthrough,[It.SetAccess]:Zn.passthrough,[It.Approve]:Zn.passthrough,[It.Reject]:Zn.passthrough,[It.Create]:Zn.passthrough,[It.Delete]:Zn.passthrough,[It.Rename]:Zn.passthrough,[It.Move]:Zn.passthrough,[It.Edit]:Zn.passthrough,[It.Share]:WDe.getShareData,[It.Disable]:Zn.passthrough,[It.Suggest]:Zn.passthrough,[It.Upload]:Ef.getUploadData,[It.ResolveWarning]:Zn.passthrough,[It.DismissWarning]:Zn.passthrough,[It.Follow]:Zn.passthrough,[It.Print]:Zn.passthrough,[It.Copy]:Zn.passthrough},UX={[It.Search]:()=>"search",[It.InstantSearch]:()=>"search",[It.Filter]:()=>"filter",[It.Stream]:()=>hn.Video},qX={user:"target_user",product:"target_product"},YDe={[It.StreamProgress]:!0,[It.WebPlayerStream]:!0},BX={shouldLog(e){return!!GDe[e.type](e)},formatData(e){const t=KDe[e.type],r=Vl.isFunction(t)?t(e.data,e):e.data;if(YDe[e.type])return r;let n=e.actionContext.entity;return Vl.isFunction(UX[e.type])&&(n=UX[e.type](e)),qX[n]&&(n=qX[n]),{[n]:r}}},XDe="staff";async function QDe(e){try{return await Da(e.store,ma.accessPolicy())}catch{return null}}const Eie={async getUser(e){const t=await Da(e.store,ma.currentUser());if(!t.isAuthenticated)return null;const r=Da(e.store,lie.customer(t.customerId)),n=Da(e.store,ma.user(t.id)),i=QDe(e);return Eie.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var o;const i=Nl.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===bf.Staff?XDe:(o=t==null?void 0:t.masterYearGroup)==null?void 0:o.name,accessPolicy:n==null?void 0:n.id}}},JDe={logError(e,...t){var r;Qa.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&Qa.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function ZDe(e,t){const[r,n]=await Promise.all([Da(e.store,ma.currentUser()),Da(e.store,tl.config())]),i=Da(e.store,tl.version()),o=new nDe({user:r,config:n});Js.registerSingleton(o),o.registerTransport(zDe),o.registerClient(qDe);const a=await i;o.registerClient(UDe,{productName:"exchange.web",productVersion:a,regionName:r.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>Eie.getUser(e),shouldLog:BX.shouldLog,formatData:BX.formatData,logError:JDe.logError,logUtmParameters:!0}),o.registerEnricher(VDe,{productName:"ClickView Exchange",productVersion:a}),t(e)}async function eLe(e,t){try{const r=await Da(e.store,tl.config());kC.initialize({product:za.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const VX={locale(){return{url:"/api/locale",key:"locale",bootstrapName:Xl.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:Xl.PHRASES}}};async function tLe(e,t){let r;try{r=Da(e.store,VX.phrases());const n=Da(e.store,VX.locale());Lr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}class rLe extends Fa{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return Yg.Fifo}removeCacheKey(t){this.cachedkeys=Og(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&nr.throw(new ln("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=II(this.cachedkeys,this.cachedkeys);let o=[];Ci(t,a=>{i[a]&&o.push(a);const u=new RegExp(a,"i"),l=ou(i,f=>u.test(f));o.push(...l)}),o.length&&(o=tc(o),Ci(o,a=>{delete this.cache[a],qr(r)&&r(a)}),this.cachedkeys=Og(this.cachedkeys,...o)),!(!this.store||!n)&&this.store.dispatch({type:da.INVALIDATE,keys:t})}}function nLe(e,t){Js.registerInstance(rLe,{size:100}),t(e)}var Ml=(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))(Ml||{});const iLe={type:Ml.Unknown,message:"",code:0},aLe={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 oLe extends Tc{constructor(t){super(t),_s.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 Xg.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=ji.GET);const o=Ye.defaults(i,{forceHttps:!1}),a={url:t,method:n,type:n};r&&(a.data=n===ji.POST||n===ji.PUT?JSON.stringify(r):r),o.forceHttps&&(a.url=this.makeHttps(a.url)),o.traditional&&(a.traditional=o.traditional);const u=_s.ajax(a);return Ye.keys(this.successMiddleware).length&&u.done(Ye.values(this.successMiddleware)),Ye.keys(this.errorMiddleware).length&&u.fail(Ye.values(this.errorMiddleware)),u}create(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,ji.POST).done((u,l,f)=>i.trigger(o,u,l,f)).fail((u,l,f)=>i.trigger(a,u,l,f))}read(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,ji.GET).done((a,u,l)=>{n.trigger(i,a,u,l)}).fail((a,u,l)=>{n.trigger(o,a,u,l)})}update(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,ji.PUT).done((u,l,f)=>i.trigger(o,u,l,f)).fail((u,l,f)=>i.trigger(a,u,l,f))}delete(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,ji.DELETE).done((a,u,l)=>n.trigger(i,a,u,l)).fail((a,u,l)=>n.trigger(o,a,u,l))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=iLe;switch(n.code=t.status,n.message=aLe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Ml.BadRequest;break;case 401:n.type=Ml.Unauthorized;break;case 403:n.type=Ml.Forbidden;break;case 404:n.type=Ml.NotFound;break;case 500:n.type=Ml.InternalServer;break}return n}}function sLe(e,t){Js.registerSingleton(new oLe({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}const QP=new Cye({region:"#app",layoutService:new Rye({})});QP.addInitializationStep(LPe).addInitializationStep(nLe).addInitializationStep(sLe).addInitializationStep(tDe).addInitializationStep(tLe).addInitializationStep(Ake).addInitializationStep(ZDe).addInitializationStep(zAe).addInitializationStep(NAe).addInitializationStep(eLe);QP.addStartUpStep(NPe);QP.start();export{pIe as $,ni as A,el as B,fP as C,Ic as D,mne as E,Qa as F,Nl as G,ji as H,Cf as I,Ty as J,bf as K,Lr as L,yne as M,VIe as N,Qre as O,Ane as P,NIe as Q,Sr as R,yX as S,uK as T,Xo as U,xc as V,Gwe as W,Ts as X,oie as Y,Iye as Z,df as _,Wa as a,Jx as a$,cLe as a0,ra as a1,lie as a2,ma as a3,za as a4,eRe as a5,wr as a6,fh as a7,DP as a8,ga as a9,tl as aA,_y as aB,wh as aC,ln as aD,fLe as aE,fwe as aF,DC as aG,iX as aH,VP as aI,a1e as aJ,sEe as aK,PP as aL,tn as aM,kl as aN,Ko as aO,hwe as aP,sie as aQ,FI as aR,rie as aS,Ha as aT,Dl as aU,zIe as aV,SPe as aW,uie as aX,uwe as aY,Mwe as aZ,$we as a_,Ku as aa,na as ab,hn as ac,It as ad,En as ae,_ne as af,Zs as ag,lLe as ah,SIe as ai,ms as aj,mAe as ak,EY as al,Wo as am,Py as an,Ja as ao,zu as ap,xi as aq,Gs as ar,Ute as as,Kl as at,tre as au,pwe as av,yLe as aw,MIe as ax,Yu as ay,XEe as az,di as b,ote as b$,yte as b0,bte as b1,hae as b2,Lh as b3,qte as b4,NX as b5,UDe as b6,BX as b7,cwe as b8,sC as b9,yx as bA,Xre as bB,fa as bC,ph as bD,fr as bE,XAe as bF,ZAe as bG,AC as bH,JAe as bI,kC as bJ,wIe as bK,bIe as bL,vLe as bM,rEe as bN,c_e as bO,hd as bP,d_e as bQ,nte as bR,nEe as bS,z_e as bT,mp as bU,dd as bV,Z_e as bW,zI as bX,sy as bY,w_e as bZ,KI as b_,uP as ba,ake as bb,lwe as bc,dwe as bd,noe as be,Efe as bf,Xae as bg,cm as bh,tue as bi,Cue as bj,Pue as bk,ZQ as bl,vfe as bm,Sfe as bn,hoe as bo,ese as bp,hO as bq,Ble as br,Kle as bs,ry as bt,rC as bu,pte as bv,vwe as bw,_C as bx,SP as by,eu as bz,rc as c,Zee as c0,D_e as c1,Yee as c2,R_e as c3,a_e as c4,rte as c5,p_e as c6,yp as c7,aEe as c8,Y_e as c9,iEe as ca,ete as cb,tEe as cc,ei as cd,dke as ce,mLe as cf,gLe as cg,Js as ch,MAe as ci,vy as cj,Yo as ck,zl as cl,my as cm,Uf as cn,jte as co,rn as d,i0e as e,zr as f,Jte as g,Dwe as h,Fh as i,ce as j,$h as k,gAe as l,_Le as m,ky as n,Ip as o,JDe as p,nr as q,ge as r,Gv as s,To as t,aie as u,oC as v,Ql as w,Cn as x,Pr as y,Vh as z};
203
+ //# sourceMappingURL=app-DxIP7Chi.js.map