@clickview/streamable-learning 0.34.0 → 0.34.1-dev.1
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.
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/bundles.json +2 -2
- package/dist/css/B-attovs.chunk.css +9 -0
- package/dist/css/B1NucFMn.chunk.css +1 -0
- package/dist/css/BPdg7JW4.chunk.css +1 -0
- package/dist/css/BPrUSCaY.chunk.css +1 -0
- package/dist/css/BR0fUt9D.chunk.css +1 -0
- package/dist/css/BhYm6SRm.chunk.css +1 -0
- package/dist/css/BiRz4h1c.chunk.css +1 -0
- package/dist/css/Bq1ChJn4.chunk.css +1 -0
- package/dist/css/Bt85j9js.chunk.css +1 -0
- package/dist/css/BuYrqi9E.chunk.css +1 -0
- package/dist/css/BugV1Bpa.chunk.css +1 -0
- package/dist/css/BuuVPl7n.chunk.css +1 -0
- package/dist/css/C1NkrNqQ.chunk.css +1 -0
- package/dist/css/C1qv5jz5.chunk.css +1 -0
- package/dist/css/C7XoyEPr.chunk.css +1 -0
- package/dist/css/C7_MDu56.chunk.css +1 -0
- package/dist/css/CC5F5C8O.chunk.css +1 -0
- package/dist/css/CChSC6Ta.chunk.css +1 -0
- package/dist/css/CCsCPLDG.chunk.css +1 -0
- package/dist/css/CD1qrI1T.chunk.css +1 -0
- package/dist/css/CKqvCBj4.chunk.css +1 -0
- package/dist/css/CLZ0Ycds.chunk.css +1 -0
- package/dist/css/CO7M4rZW.chunk.css +1 -0
- package/dist/css/CY0yvCW4.chunk.css +1 -0
- package/dist/css/CYGsw8FT.chunk.css +1 -0
- package/dist/css/Cbi3KYBa.chunk.css +1 -0
- package/dist/css/CliS8Q8r.chunk.css +1 -0
- package/dist/css/D-kQKsZN.chunk.css +1 -0
- package/dist/css/D2NwUVrK.chunk.css +1 -0
- package/dist/css/D4g1IoUU.chunk.css +1 -0
- package/dist/css/DBgpcO3T.chunk.css +1 -0
- package/dist/css/DDnpOnVB.chunk.css +1 -0
- package/dist/css/DZJSONGP.chunk.css +1 -0
- package/dist/css/Dc0zNt2E.chunk.css +1 -0
- package/dist/css/DeAfaPiD.chunk.css +1 -0
- package/dist/css/Dj731zLm.chunk.css +1 -0
- package/dist/css/DjPPxa0A.chunk.css +1 -0
- package/dist/css/DlOtoSz0.chunk.css +1 -0
- package/dist/css/DwduQat7.chunk.css +1 -0
- package/dist/css/Dzuu2GTx.chunk.css +1 -0
- package/dist/css/JAvsJreH.chunk.css +1 -0
- package/dist/css/NKlFYVOc.chunk.css +1 -0
- package/dist/css/VZd8qGtK.chunk.css +1 -0
- package/dist/css/Y7U--2na.chunk.css +1 -0
- package/dist/css/ir3IcK_l.chunk.css +1 -0
- package/dist/css/jbMisi9r.chunk.css +1 -0
- package/dist/css/kS5aDtIJ.chunk.css +1 -0
- package/dist/css/mqCL1o7m.chunk.css +1 -0
- package/dist/css/qZzkUeZk.chunk.css +1 -0
- package/dist/css/sC_H3yXE.chunk.css +1 -0
- package/dist/css/wR_6C_NV.chunk.css +1 -0
- package/dist/en.json +1 -0
- package/dist/scripts/-Oi3rE3V.chunk.js +5 -0
- package/dist/scripts/-Oi3rE3V.chunk.js.map +1 -0
- package/dist/scripts/-cwk-1Iv.chunk.js +2 -0
- package/dist/scripts/-cwk-1Iv.chunk.js.map +1 -0
- package/dist/scripts/4oi1ldJ4.chunk.js +3 -0
- package/dist/scripts/4oi1ldJ4.chunk.js.map +1 -0
- package/dist/scripts/6UeJLeAd.chunk.js +2 -0
- package/dist/scripts/6UeJLeAd.chunk.js.map +1 -0
- package/dist/scripts/8zar0u1i.chunk.js +2 -0
- package/dist/scripts/8zar0u1i.chunk.js.map +1 -0
- package/dist/scripts/9NIa7Pi_.chunk.js +2 -0
- package/dist/scripts/9NIa7Pi_.chunk.js.map +1 -0
- package/dist/scripts/B5OOLcT3.chunk.js +2 -0
- package/dist/scripts/B5OOLcT3.chunk.js.map +1 -0
- package/dist/scripts/B8XJmK96.chunk.js +8 -0
- package/dist/scripts/B8XJmK96.chunk.js.map +1 -0
- package/dist/scripts/BA6k9XoA.chunk.js +2 -0
- package/dist/scripts/BA6k9XoA.chunk.js.map +1 -0
- package/dist/scripts/BBnDr_iy.chunk.js +2 -0
- package/dist/scripts/BBnDr_iy.chunk.js.map +1 -0
- package/dist/scripts/BEL0opwe.chunk.js +2 -0
- package/dist/scripts/BEL0opwe.chunk.js.map +1 -0
- package/dist/scripts/BHmtLW9C.chunk.js +2 -0
- package/dist/scripts/BHmtLW9C.chunk.js.map +1 -0
- package/dist/scripts/BJ0C6oH6.chunk.js +2 -0
- package/dist/scripts/BJ0C6oH6.chunk.js.map +1 -0
- package/dist/scripts/BPcJv8Nj.chunk.js +2 -0
- package/dist/scripts/BPcJv8Nj.chunk.js.map +1 -0
- package/dist/scripts/BQQ9SPei.chunk.js +10 -0
- package/dist/scripts/BQQ9SPei.chunk.js.map +1 -0
- package/dist/scripts/BQQZ0Zva.chunk.js +2 -0
- package/dist/scripts/BQQZ0Zva.chunk.js.map +1 -0
- package/dist/scripts/BRKKXF-k.chunk.js +2 -0
- package/dist/scripts/BRKKXF-k.chunk.js.map +1 -0
- package/dist/scripts/BUhbk0mt.chunk.js +2 -0
- package/dist/scripts/BUhbk0mt.chunk.js.map +1 -0
- package/dist/scripts/BXKrMYdw.chunk.js +2 -0
- package/dist/scripts/BXKrMYdw.chunk.js.map +1 -0
- package/dist/scripts/B_eK8A25.chunk.js +2 -0
- package/dist/scripts/B_eK8A25.chunk.js.map +1 -0
- package/dist/scripts/BbjveACT.chunk.js +2 -0
- package/dist/scripts/BbjveACT.chunk.js.map +1 -0
- package/dist/scripts/BdHxGaRy.chunk.js +2 -0
- package/dist/scripts/BdHxGaRy.chunk.js.map +1 -0
- package/dist/scripts/BeHz9c4V.chunk.js +2 -0
- package/dist/scripts/BeHz9c4V.chunk.js.map +1 -0
- package/dist/scripts/BexFb8rj.chunk.js +2 -0
- package/dist/scripts/BexFb8rj.chunk.js.map +1 -0
- package/dist/scripts/Bi8YRFeY.chunk.js +2 -0
- package/dist/scripts/Bi8YRFeY.chunk.js.map +1 -0
- package/dist/scripts/Bj3i6I7i.chunk.js +2 -0
- package/dist/scripts/Bj3i6I7i.chunk.js.map +1 -0
- package/dist/scripts/BktU87GA.chunk.js +2 -0
- package/dist/scripts/BktU87GA.chunk.js.map +1 -0
- package/dist/scripts/Bl1HvG0b.chunk.js +2 -0
- package/dist/scripts/Bl1HvG0b.chunk.js.map +1 -0
- package/dist/scripts/BnWlQ7-4.chunk.js +2 -0
- package/dist/scripts/BnWlQ7-4.chunk.js.map +1 -0
- package/dist/scripts/BoqzK1u7.chunk.js +2 -0
- package/dist/scripts/BoqzK1u7.chunk.js.map +1 -0
- package/dist/scripts/Bsa3zcW0.chunk.js +2 -0
- package/dist/scripts/Bsa3zcW0.chunk.js.map +1 -0
- package/dist/scripts/Bt3kaRtU.chunk.js +6 -0
- package/dist/scripts/Bt3kaRtU.chunk.js.map +1 -0
- package/dist/scripts/BtiKTu8r.chunk.js +2 -0
- package/dist/scripts/BtiKTu8r.chunk.js.map +1 -0
- package/dist/scripts/BwOoIPmc.chunk.js +2 -0
- package/dist/scripts/BwOoIPmc.chunk.js.map +1 -0
- package/dist/scripts/BwuSNwcs.chunk.js +2 -0
- package/dist/scripts/BwuSNwcs.chunk.js.map +1 -0
- package/dist/scripts/Byn8R7bs.chunk.js +2 -0
- package/dist/scripts/Byn8R7bs.chunk.js.map +1 -0
- package/dist/scripts/C2Zu5vKc.chunk.js +2 -0
- package/dist/scripts/C2Zu5vKc.chunk.js.map +1 -0
- package/dist/scripts/C2uxO8e2.chunk.js +2 -0
- package/dist/scripts/C2uxO8e2.chunk.js.map +1 -0
- package/dist/scripts/C35NlkUr.chunk.js +2 -0
- package/dist/scripts/C35NlkUr.chunk.js.map +1 -0
- package/dist/scripts/C5QPXJGU.chunk.js +15 -0
- package/dist/scripts/C5QPXJGU.chunk.js.map +1 -0
- package/dist/scripts/C6mGMCz4.chunk.js +2 -0
- package/dist/scripts/C6mGMCz4.chunk.js.map +1 -0
- package/dist/scripts/C8ZuWYfb.chunk.js +2 -0
- package/dist/scripts/C8ZuWYfb.chunk.js.map +1 -0
- package/dist/scripts/CEmtkty-.chunk.js +2 -0
- package/dist/scripts/CEmtkty-.chunk.js.map +1 -0
- package/dist/scripts/CICkmQW6.chunk.js +2 -0
- package/dist/scripts/CICkmQW6.chunk.js.map +1 -0
- package/dist/scripts/CLumRL-T.chunk.js +2 -0
- package/dist/scripts/CLumRL-T.chunk.js.map +1 -0
- package/dist/scripts/CO_D2O4I.chunk.js +2 -0
- package/dist/scripts/CO_D2O4I.chunk.js.map +1 -0
- package/dist/scripts/CPXlV0fg.chunk.js +2 -0
- package/dist/scripts/CPXlV0fg.chunk.js.map +1 -0
- package/dist/scripts/CQZOieOF.chunk.js +2 -0
- package/dist/scripts/CQZOieOF.chunk.js.map +1 -0
- package/dist/scripts/CQoWqq54.chunk.js +2 -0
- package/dist/scripts/CQoWqq54.chunk.js.map +1 -0
- package/dist/scripts/CRT9qru0.chunk.js +2 -0
- package/dist/scripts/CRT9qru0.chunk.js.map +1 -0
- package/dist/scripts/CU6iZ8MR.chunk.js +2 -0
- package/dist/scripts/CU6iZ8MR.chunk.js.map +1 -0
- package/dist/scripts/CUltMbyK.chunk.js +2 -0
- package/dist/scripts/CUltMbyK.chunk.js.map +1 -0
- package/dist/scripts/CW7x8M-z.chunk.js +2 -0
- package/dist/scripts/CW7x8M-z.chunk.js.map +1 -0
- package/dist/scripts/CYlwi5iC.chunk.js +7 -0
- package/dist/scripts/CYlwi5iC.chunk.js.map +1 -0
- package/dist/scripts/CgJckl-g.chunk.js +2 -0
- package/dist/scripts/CgJckl-g.chunk.js.map +1 -0
- package/dist/scripts/Cj5ETNHP.chunk.js +2 -0
- package/dist/scripts/Cj5ETNHP.chunk.js.map +1 -0
- package/dist/scripts/Cmu1J2M7.chunk.js +262 -0
- package/dist/scripts/Cmu1J2M7.chunk.js.map +1 -0
- package/dist/scripts/Cr8fUgj9.chunk.js +2 -0
- package/dist/scripts/Cr8fUgj9.chunk.js.map +1 -0
- package/dist/scripts/CtM_cXum.chunk.js +2 -0
- package/dist/scripts/CtM_cXum.chunk.js.map +1 -0
- package/dist/scripts/Cv1FGdNu.chunk.js +2 -0
- package/dist/scripts/Cv1FGdNu.chunk.js.map +1 -0
- package/dist/scripts/CvPDjx7y.chunk.js +2 -0
- package/dist/scripts/CvPDjx7y.chunk.js.map +1 -0
- package/dist/scripts/D0bydDVL.chunk.js +2 -0
- package/dist/scripts/D0bydDVL.chunk.js.map +1 -0
- package/dist/scripts/D1EE4AEz.chunk.js +356 -0
- package/dist/scripts/D1EE4AEz.chunk.js.map +1 -0
- package/dist/scripts/D84-WY3k.chunk.js +2 -0
- package/dist/scripts/D84-WY3k.chunk.js.map +1 -0
- package/dist/scripts/DAh7Ea13.chunk.js +2 -0
- package/dist/scripts/DAh7Ea13.chunk.js.map +1 -0
- package/dist/scripts/DBIkG3Bu.chunk.js +2 -0
- package/dist/scripts/DBIkG3Bu.chunk.js.map +1 -0
- package/dist/scripts/DCcI7sWt.chunk.js +2 -0
- package/dist/scripts/DCcI7sWt.chunk.js.map +1 -0
- package/dist/scripts/DEP24A-f.chunk.js +2 -0
- package/dist/scripts/DEP24A-f.chunk.js.map +1 -0
- package/dist/scripts/DGFORsAE.chunk.js +2 -0
- package/dist/scripts/DGFORsAE.chunk.js.map +1 -0
- package/dist/scripts/DGaf-Jy9.chunk.js +2 -0
- package/dist/scripts/DGaf-Jy9.chunk.js.map +1 -0
- package/dist/scripts/DJyZ6Hx7.chunk.js +2 -0
- package/dist/scripts/DJyZ6Hx7.chunk.js.map +1 -0
- package/dist/scripts/DOCam-GK.chunk.js +2 -0
- package/dist/scripts/DOCam-GK.chunk.js.map +1 -0
- package/dist/scripts/DSLX3H2r.chunk.js +2 -0
- package/dist/scripts/DSLX3H2r.chunk.js.map +1 -0
- package/dist/scripts/DSq4f4jm.chunk.js +2 -0
- package/dist/scripts/DSq4f4jm.chunk.js.map +1 -0
- package/dist/scripts/DXxBqeLg.chunk.js +2 -0
- package/dist/scripts/DXxBqeLg.chunk.js.map +1 -0
- package/dist/scripts/DZ6Jrm23.chunk.js +2 -0
- package/dist/scripts/DZ6Jrm23.chunk.js.map +1 -0
- package/dist/scripts/Daes5Wgy.chunk.js +2 -0
- package/dist/scripts/Daes5Wgy.chunk.js.map +1 -0
- package/dist/scripts/DeUbJqVo.chunk.js +2 -0
- package/dist/scripts/DeUbJqVo.chunk.js.map +1 -0
- package/dist/scripts/DgEqkZy0.chunk.js +8 -0
- package/dist/scripts/DgEqkZy0.chunk.js.map +1 -0
- package/dist/scripts/DhB-Uugx.chunk.js +2 -0
- package/dist/scripts/DhB-Uugx.chunk.js.map +1 -0
- package/dist/scripts/DhqAA1wT.chunk.js +2 -0
- package/dist/scripts/DhqAA1wT.chunk.js.map +1 -0
- package/dist/scripts/Di5-l4QJ.chunk.js +2 -0
- package/dist/scripts/Di5-l4QJ.chunk.js.map +1 -0
- package/dist/scripts/DiQkAtUx.chunk.js +53 -0
- package/dist/scripts/DiQkAtUx.chunk.js.map +1 -0
- package/dist/scripts/DireiQEp.chunk.js +2 -0
- package/dist/scripts/DireiQEp.chunk.js.map +1 -0
- package/dist/scripts/Dj66TI5y.chunk.js +2 -0
- package/dist/scripts/Dj66TI5y.chunk.js.map +1 -0
- package/dist/scripts/DkFkYS-j.chunk.js +2 -0
- package/dist/scripts/DkFkYS-j.chunk.js.map +1 -0
- package/dist/scripts/Dkq5GtOV.chunk.js +2 -0
- package/dist/scripts/Dkq5GtOV.chunk.js.map +1 -0
- package/dist/scripts/DmSSmUHZ.chunk.js +2 -0
- package/dist/scripts/DmSSmUHZ.chunk.js.map +1 -0
- package/dist/scripts/DoQU9vjn.chunk.js +2 -0
- package/dist/scripts/DoQU9vjn.chunk.js.map +1 -0
- package/dist/scripts/DtHh_hpg.chunk.js +2 -0
- package/dist/scripts/DtHh_hpg.chunk.js.map +1 -0
- package/dist/scripts/DvDdiDQN.chunk.js +7 -0
- package/dist/scripts/DvDdiDQN.chunk.js.map +1 -0
- package/dist/scripts/DwhG2uva.chunk.js +2 -0
- package/dist/scripts/DwhG2uva.chunk.js.map +1 -0
- package/dist/scripts/DxJlWHZr.chunk.js +2 -0
- package/dist/scripts/DxJlWHZr.chunk.js.map +1 -0
- package/dist/scripts/DxmeZ4C9.chunk.js +2 -0
- package/dist/scripts/DxmeZ4C9.chunk.js.map +1 -0
- package/dist/scripts/KuveJuNy.chunk.js +2 -0
- package/dist/scripts/KuveJuNy.chunk.js.map +1 -0
- package/dist/scripts/LKCLmV2A.chunk.js +2 -0
- package/dist/scripts/LKCLmV2A.chunk.js.map +1 -0
- package/dist/scripts/RnuR8yr3.chunk.js +2 -0
- package/dist/scripts/RnuR8yr3.chunk.js.map +1 -0
- package/dist/scripts/XxrnElSv.chunk.js +2 -0
- package/dist/scripts/XxrnElSv.chunk.js.map +1 -0
- package/dist/scripts/YF_QoXEj.chunk.js +3 -0
- package/dist/scripts/YF_QoXEj.chunk.js.map +1 -0
- package/dist/scripts/Z2sDSVPb.chunk.js +2 -0
- package/dist/scripts/Z2sDSVPb.chunk.js.map +1 -0
- package/dist/scripts/Zbze2j9b.chunk.js +2 -0
- package/dist/scripts/Zbze2j9b.chunk.js.map +1 -0
- package/dist/scripts/app-C56EnOMP.js +216 -0
- package/dist/scripts/app-C56EnOMP.js.map +1 -0
- package/dist/scripts/cvX-F_mx.chunk.js +2 -0
- package/dist/scripts/cvX-F_mx.chunk.js.map +1 -0
- package/dist/scripts/h34ZSRKe.chunk.js +2 -0
- package/dist/scripts/h34ZSRKe.chunk.js.map +1 -0
- package/dist/scripts/leubTuJo.chunk.js +2 -0
- package/dist/scripts/leubTuJo.chunk.js.map +1 -0
- package/dist/scripts/m5XtnRaH.chunk.js +2 -0
- package/dist/scripts/m5XtnRaH.chunk.js.map +1 -0
- package/dist/scripts/nay4aGaa.chunk.js +2 -0
- package/dist/scripts/nay4aGaa.chunk.js.map +1 -0
- package/dist/scripts/p61U8kXz.chunk.js +2 -0
- package/dist/scripts/p61U8kXz.chunk.js.map +1 -0
- package/dist/scripts/pkzD5BEm.chunk.js +2 -0
- package/dist/scripts/pkzD5BEm.chunk.js.map +1 -0
- package/dist/scripts/sc9-PV9Y.chunk.js +2 -0
- package/dist/scripts/sc9-PV9Y.chunk.js.map +1 -0
- package/dist/scripts/tAsRziXo.chunk.js +8 -0
- package/dist/scripts/tAsRziXo.chunk.js.map +1 -0
- package/dist/scripts/xrHhD6CF.chunk.js +8 -0
- package/dist/scripts/xrHhD6CF.chunk.js.map +1 -0
- package/dist/scripts/xxo027lm.chunk.js +2 -0
- package/dist/scripts/xxo027lm.chunk.js.map +1 -0
- package/package.json +5 -3
- package/typings/utils/imports.d.ts +2 -1
- package/vite.config.ts +6 -0
- package/dist/css/103-streamable-learning-5060b6cda5.chunk.css +0 -7
- package/dist/css/1269-streamable-learning-a12c4ebc99.chunk.css +0 -2
- package/dist/css/1457-streamable-learning-c8c8b3b9b1.chunk.css +0 -50
- package/dist/css/2334-streamable-learning-de03ae073a.chunk.css +0 -2
- package/dist/css/3322-streamable-learning-510e1aa3f3.chunk.css +0 -34
- package/dist/css/3838-streamable-learning-da10685fe8.chunk.css +0 -22
- package/dist/css/4254-streamable-learning-e493f4a027.chunk.css +0 -2
- package/dist/css/4607-streamable-learning-2605302fc2.chunk.css +0 -90
- package/dist/css/4772-streamable-learning-f83b838d71.chunk.css +0 -9
- package/dist/css/5003-streamable-learning-b38d2ddbbe.chunk.css +0 -98
- package/dist/css/5565-streamable-learning-0caae3809b.chunk.css +0 -13
- package/dist/css/6017-streamable-learning-098a205d01.chunk.css +0 -6
- package/dist/css/6356-streamable-learning-8c5b220bf6.chunk.css +0 -1
- package/dist/css/6987-streamable-learning-8f682301c6.chunk.css +0 -1
- package/dist/css/7317-streamable-learning-b5d226bbb6.chunk.css +0 -5
- package/dist/css/8058-streamable-learning-539cf7be18.chunk.css +0 -12
- package/dist/css/8294-streamable-learning-c797263ac2.chunk.css +0 -1
- package/dist/css/8496-streamable-learning-ce19f6ca52.chunk.css +0 -13
- package/dist/css/8601-streamable-learning-f525210660.chunk.css +0 -6
- package/dist/css/9514-streamable-learning-251703c6d1.chunk.css +0 -2
- package/dist/css/9766-streamable-learning-31650ffe5d.chunk.css +0 -8
- package/dist/css/9842-streamable-learning-24729103f7.chunk.css +0 -4
- package/dist/css/9899-streamable-learning-0338f8d2dc.chunk.css +0 -4
- package/dist/css/streamable-learning-dd0c1095d5.css +0 -23
- package/dist/languages/en.json +0 -1
- package/dist/scripts/103-aceced8961-streamable-learning.chunk.js +0 -1
- package/dist/scripts/1097-680a971192-streamable-learning.chunk.js +0 -2
- package/dist/scripts/1097-680a971192-streamable-learning.chunk.js.LICENSE.txt +0 -105
- package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js +0 -2
- package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/1457-899f40d09a-streamable-learning.chunk.js +0 -1
- package/dist/scripts/1482-b1dd75897c-streamable-learning.chunk.js +0 -1
- package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js +0 -2
- package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js.LICENSE.txt +0 -9
- package/dist/scripts/2042-d51622d63e-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2087-eba9033b1c-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2245-8cd3224e1b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2334-00b028191d-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js +0 -2
- package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/2877-5ffc9711f6-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2911-9e2725fd22-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3057-731a8ca978-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3093-efbcc927ea-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3186-d1a6ccffde-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3322-33c015dec9-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3472-50ca92bde3-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3838-4a38f33dc2-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3941-2ef15ca9ac-streamable-learning.chunk.js +0 -1
- package/dist/scripts/4254-ef581b8105-streamable-learning.chunk.js +0 -1
- package/dist/scripts/4607-36e8f52a55-streamable-learning.chunk.js +0 -2
- package/dist/scripts/4607-36e8f52a55-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js +0 -2
- package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/4951-df701c6a8d-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5003-c23dd99aad-streamable-learning.chunk.js +0 -2
- package/dist/scripts/5003-c23dd99aad-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/5088-2e09e1ba6e-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5173-a800a17d0d-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5446-2cbe9f9d1b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5543-205aaa36a6-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5565-224d86dc1b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/578-2cc99f46f7-streamable-learning.chunk.js +0 -1
- package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js +0 -2
- package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/6356-eefa3ff22e-streamable-learning.chunk.js +0 -1
- package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js +0 -2
- package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/6987-e58de31cfe-streamable-learning.chunk.js +0 -1
- package/dist/scripts/7317-6b7186c85d-streamable-learning.chunk.js +0 -1
- package/dist/scripts/7347-e2b82be015-streamable-learning.chunk.js +0 -1
- package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js +0 -2
- package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/7904-e07cdef2de-streamable-learning.chunk.js +0 -1
- package/dist/scripts/7925-1e1cfa2a04-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8058-5333f0f01b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js +0 -2
- package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js.LICENSE.txt +0 -60
- package/dist/scripts/8397-39ce77876d-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js +0 -2
- package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/8599-b74e1ab6e3-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8601-37783cf18b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8819-2a50dd6a9b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8937-5103db88d8-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9390-0f988af378-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9514-a31ca9af06-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9766-7c34cab592-streamable-learning.chunk.js +0 -2
- package/dist/scripts/9766-7c34cab592-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/9842-3add7f20d0-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9899-ca1a1a08c4-streamable-learning.chunk.js +0 -2
- package/dist/scripts/9899-ca1a1a08c4-streamable-learning.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/bundle-91983aeacb.min.js +0 -2
- package/dist/scripts/bundle-91983aeacb.min.js.LICENSE.txt +0 -108
- package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js +0 -2
- package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js.LICENSE.txt +0 -21
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/BeHz9c4V.chunk.js","scripts/Cr8fUgj9.chunk.js","scripts/Bj3i6I7i.chunk.js","scripts/m5XtnRaH.chunk.js","css/Cbi3KYBa.chunk.css","scripts/BJ0C6oH6.chunk.js","scripts/B5OOLcT3.chunk.js","scripts/CU6iZ8MR.chunk.js","css/CC5F5C8O.chunk.css","scripts/nay4aGaa.chunk.js","scripts/-cwk-1Iv.chunk.js","scripts/DSq4f4jm.chunk.js","css/ir3IcK_l.chunk.css","css/Bt85j9js.chunk.css","scripts/DGaf-Jy9.chunk.js","scripts/-Oi3rE3V.chunk.js","scripts/DkFkYS-j.chunk.js","css/CCsCPLDG.chunk.css","scripts/BXKrMYdw.chunk.js","scripts/CEmtkty-.chunk.js","scripts/8zar0u1i.chunk.js","scripts/6UeJLeAd.chunk.js","css/B1NucFMn.chunk.css","scripts/Cv1FGdNu.chunk.js","scripts/DireiQEp.chunk.js","scripts/DZ6Jrm23.chunk.js","scripts/p61U8kXz.chunk.js","scripts/D0bydDVL.chunk.js","scripts/Z2sDSVPb.chunk.js","scripts/BdHxGaRy.chunk.js","scripts/sc9-PV9Y.chunk.js","css/qZzkUeZk.chunk.css","scripts/DxmeZ4C9.chunk.js","scripts/BUhbk0mt.chunk.js","css/CKqvCBj4.chunk.css","scripts/DEP24A-f.chunk.js","scripts/CPXlV0fg.chunk.js","css/DeAfaPiD.chunk.css","css/BR0fUt9D.chunk.css","scripts/DSLX3H2r.chunk.js","scripts/C5QPXJGU.chunk.js","scripts/B_eK8A25.chunk.js","scripts/leubTuJo.chunk.js","scripts/RnuR8yr3.chunk.js","css/BiRz4h1c.chunk.css","scripts/cvX-F_mx.chunk.js","scripts/Daes5Wgy.chunk.js","css/DlOtoSz0.chunk.css","css/D4g1IoUU.chunk.css","scripts/DmSSmUHZ.chunk.js","scripts/9NIa7Pi_.chunk.js","scripts/pkzD5BEm.chunk.js","scripts/C8ZuWYfb.chunk.js","css/BugV1Bpa.chunk.css","scripts/DwhG2uva.chunk.js","css/D-kQKsZN.chunk.css","scripts/D84-WY3k.chunk.js","scripts/xrHhD6CF.chunk.js","scripts/tAsRziXo.chunk.js","scripts/BexFb8rj.chunk.js","css/D2NwUVrK.chunk.css","scripts/DXxBqeLg.chunk.js","css/C7_MDu56.chunk.css","scripts/DBIkG3Bu.chunk.js","css/CYGsw8FT.chunk.css","scripts/BBnDr_iy.chunk.js","scripts/BwOoIPmc.chunk.js","scripts/YF_QoXEj.chunk.js","scripts/C2Zu5vKc.chunk.js","css/jbMisi9r.chunk.css","scripts/DJyZ6Hx7.chunk.js","css/C7XoyEPr.chunk.css","css/CChSC6Ta.chunk.css","scripts/BoqzK1u7.chunk.js","css/CO7M4rZW.chunk.css","scripts/DtHh_hpg.chunk.js","scripts/Bt3kaRtU.chunk.js","scripts/CW7x8M-z.chunk.js","scripts/C35NlkUr.chunk.js","css/CY0yvCW4.chunk.css","scripts/BA6k9XoA.chunk.js","scripts/DiQkAtUx.chunk.js","scripts/DhqAA1wT.chunk.js","scripts/DxJlWHZr.chunk.js","scripts/DGFORsAE.chunk.js","scripts/4oi1ldJ4.chunk.js","css/C1NkrNqQ.chunk.css","scripts/DoQU9vjn.chunk.js","scripts/Bl1HvG0b.chunk.js","css/BPdg7JW4.chunk.css","css/DjPPxa0A.chunk.css","css/CliS8Q8r.chunk.css","scripts/BwuSNwcs.chunk.js","css/kS5aDtIJ.chunk.css","scripts/BEL0opwe.chunk.js","scripts/h34ZSRKe.chunk.js","scripts/BRKKXF-k.chunk.js","css/BuYrqi9E.chunk.css","css/Dc0zNt2E.chunk.css","scripts/CtM_cXum.chunk.js","scripts/CQoWqq54.chunk.js","css/DZJSONGP.chunk.css","scripts/Zbze2j9b.chunk.js","scripts/KuveJuNy.chunk.js","scripts/CRT9qru0.chunk.js","css/Bq1ChJn4.chunk.css","scripts/BnWlQ7-4.chunk.js","scripts/CgJckl-g.chunk.js","css/Dj731zLm.chunk.css","scripts/DAh7Ea13.chunk.js","scripts/C6mGMCz4.chunk.js","scripts/C2uxO8e2.chunk.js","scripts/DeUbJqVo.chunk.js","scripts/CLumRL-T.chunk.js","css/DDnpOnVB.chunk.css","scripts/Cj5ETNHP.chunk.js","scripts/LKCLmV2A.chunk.js","scripts/Di5-l4QJ.chunk.js","css/VZd8qGtK.chunk.css","scripts/CYlwi5iC.chunk.js","scripts/Dkq5GtOV.chunk.js","css/NKlFYVOc.chunk.css","scripts/DOCam-GK.chunk.js","scripts/DvDdiDQN.chunk.js","scripts/Bi8YRFeY.chunk.js","css/Dzuu2GTx.chunk.css","css/C1qv5jz5.chunk.css","scripts/Bsa3zcW0.chunk.js","scripts/BtiKTu8r.chunk.js","css/CLZ0Ycds.chunk.css","scripts/xxo027lm.chunk.js","css/Y7U--2na.chunk.css","scripts/XxrnElSv.chunk.js","scripts/Byn8R7bs.chunk.js","css/JAvsJreH.chunk.css","scripts/BQQ9SPei.chunk.js","scripts/CO_D2O4I.chunk.js","css/B-attovs.chunk.css","scripts/BbjveACT.chunk.js","css/BPrUSCaY.chunk.css","scripts/BHmtLW9C.chunk.js","css/DwduQat7.chunk.css","scripts/BktU87GA.chunk.js","scripts/BPcJv8Nj.chunk.js","css/sC_H3yXE.chunk.css","scripts/D1EE4AEz.chunk.js","scripts/BQQZ0Zva.chunk.js","scripts/CUltMbyK.chunk.js","css/mqCL1o7m.chunk.css","scripts/B8XJmK96.chunk.js","css/BhYm6SRm.chunk.css","scripts/Dj66TI5y.chunk.js","css/BuuVPl7n.chunk.css","scripts/DCcI7sWt.chunk.js","scripts/DgEqkZy0.chunk.js","css/wR_6C_NV.chunk.css","scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css","scripts/CICkmQW6.chunk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Kse=Object.defineProperty;var Yse=(e,t,r)=>t in e?Kse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ii=(e,t,r)=>Yse(e,typeof t!="symbol"?t+"":t,r);function jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function T8e(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 Z0={exports:{}},cD;function Xse(){return cD||(cD=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(H,L,j){return Object.defineProperty(H,L,{value:j,enumerable:!0,configurable:!0,writable:!0}),H[L]}try{d({},"")}catch{d=function(L,j,te){return L[j]=te}}function h(H,L,j,te){var ee=L&&L.prototype instanceof b?L:b,de=Object.create(ee.prototype),Se=new J(te||[]);return de._invoke=F(H,j,Se),de}r.wrap=h;function p(H,L,j){try{return{type:"normal",arg:H.call(L,j)}}catch(te){return{type:"throw",arg:te}}}var g="suspendedStart",S="suspendedYield",E="executing",_="completed",w={};function b(){}function x(){}function A(){}var R={};d(R,s,function(){return this});var O=Object.getPrototypeOf,m=O&&O(O(Z([])));m&&m!==n&&i.call(m,s)&&(R=m);var k=A.prototype=b.prototype=Object.create(R);x.prototype=A,d(k,"constructor",A),d(A,"constructor",x),x.displayName=d(A,c,"GeneratorFunction");function D(H){["next","throw","return"].forEach(function(L){d(H,L,function(j){return this._invoke(L,j)})})}r.isGeneratorFunction=function(H){var L=typeof H=="function"&&H.constructor;return L?L===x||(L.displayName||L.name)==="GeneratorFunction":!1},r.mark=function(H){return Object.setPrototypeOf?Object.setPrototypeOf(H,A):(H.__proto__=A,d(H,c,"GeneratorFunction")),H.prototype=Object.create(k),H},r.awrap=function(H){return{__await:H}};function V(H,L){function j(de,Se,Ae,se){var I=p(H[de],H,Se);if(I.type==="throw")se(I.arg);else{var P=I.arg,q=P.value;return q&&typeof q=="object"&&i.call(q,"__await")?L.resolve(q.__await).then(function(N){j("next",N,Ae,se)},function(N){j("throw",N,Ae,se)}):L.resolve(q).then(function(N){P.value=N,Ae(P)},function(N){return j("throw",N,Ae,se)})}}var te;function ee(de,Se){function Ae(){return new L(function(se,I){j(de,Se,se,I)})}return te=te?te.then(Ae,Ae):Ae()}this._invoke=ee}D(V.prototype),d(V.prototype,l,function(){return this}),r.AsyncIterator=V,r.async=function(H,L,j,te,ee){ee===void 0&&(ee=Promise);var de=new V(h(H,L,j,te),ee);return r.isGeneratorFunction(L)?de:de.next().then(function(Se){return Se.done?Se.value:de.next()})};function F(H,L,j){var te=g;return function(de,Se){if(te===E)throw new Error("Generator is already running");if(te===_){if(de==="throw")throw Se;return ue()}for(j.method=de,j.arg=Se;;){var Ae=j.delegate;if(Ae){var se=G(Ae,j);if(se){if(se===w)continue;return se}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(te===g)throw te=_,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);te=E;var I=p(H,L,j);if(I.type==="normal"){if(te=j.done?_:S,I.arg===w)continue;return{value:I.arg,done:j.done}}else I.type==="throw"&&(te=_,j.method="throw",j.arg=I.arg)}}}function G(H,L){var j=H.iterator[L.method];if(j===o){if(L.delegate=null,L.method==="throw"){if(H.iterator.return&&(L.method="return",L.arg=o,G(H,L),L.method==="throw"))return w;L.method="throw",L.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var te=p(j,H.iterator,L.arg);if(te.type==="throw")return L.method="throw",L.arg=te.arg,L.delegate=null,w;var ee=te.arg;if(!ee)return L.method="throw",L.arg=new TypeError("iterator result is not an object"),L.delegate=null,w;if(ee.done)L[H.resultName]=ee.value,L.next=H.nextLoc,L.method!=="return"&&(L.method="next",L.arg=o);else return ee;return L.delegate=null,w}D(k),d(k,c,"Generator"),d(k,s,function(){return this}),d(k,"toString",function(){return"[object Generator]"});function Y(H){var L={tryLoc:H[0]};1 in H&&(L.catchLoc=H[1]),2 in H&&(L.finallyLoc=H[2],L.afterLoc=H[3]),this.tryEntries.push(L)}function X(H){var L=H.completion||{};L.type="normal",delete L.arg,H.completion=L}function J(H){this.tryEntries=[{tryLoc:"root"}],H.forEach(Y,this),this.reset(!0)}r.keys=function(H){var L=[];for(var j in H)L.push(j);return L.reverse(),function te(){for(;L.length;){var ee=L.pop();if(ee in H)return te.value=ee,te.done=!1,te}return te.done=!0,te}};function Z(H){if(H){var L=H[s];if(L)return L.call(H);if(typeof H.next=="function")return H;if(!isNaN(H.length)){var j=-1,te=function ee(){for(;++j<H.length;)if(i.call(H,j))return ee.value=H[j],ee.done=!1,ee;return ee.value=o,ee.done=!0,ee};return te.next=te}}return{next:ue}}r.values=Z;function ue(){return{value:o,done:!0}}return J.prototype={constructor:J,reset:function(H){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(X),!H)for(var L in this)L.charAt(0)==="t"&&i.call(this,L)&&!isNaN(+L.slice(1))&&(this[L]=o)},stop:function(){this.done=!0;var H=this.tryEntries[0],L=H.completion;if(L.type==="throw")throw L.arg;return this.rval},dispatchException:function(H){if(this.done)throw H;var L=this;function j(se,I){return de.type="throw",de.arg=H,L.next=se,I&&(L.method="next",L.arg=o),!!I}for(var te=this.tryEntries.length-1;te>=0;--te){var ee=this.tryEntries[te],de=ee.completion;if(ee.tryLoc==="root")return j("end");if(ee.tryLoc<=this.prev){var Se=i.call(ee,"catchLoc"),Ae=i.call(ee,"finallyLoc");if(Se&&Ae){if(this.prev<ee.catchLoc)return j(ee.catchLoc,!0);if(this.prev<ee.finallyLoc)return j(ee.finallyLoc)}else if(Se){if(this.prev<ee.catchLoc)return j(ee.catchLoc,!0)}else if(Ae){if(this.prev<ee.finallyLoc)return j(ee.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(H,L){for(var j=this.tryEntries.length-1;j>=0;--j){var te=this.tryEntries[j];if(te.tryLoc<=this.prev&&i.call(te,"finallyLoc")&&this.prev<te.finallyLoc){var ee=te;break}}ee&&(H==="break"||H==="continue")&&ee.tryLoc<=L&&L<=ee.finallyLoc&&(ee=null);var de=ee?ee.completion:{};return de.type=H,de.arg=L,ee?(this.method="next",this.next=ee.finallyLoc,w):this.complete(de)},complete:function(H,L){if(H.type==="throw")throw H.arg;return H.type==="break"||H.type==="continue"?this.next=H.arg:H.type==="return"?(this.rval=this.arg=H.arg,this.method="return",this.next="end"):H.type==="normal"&&L&&(this.next=L),w},finish:function(H){for(var L=this.tryEntries.length-1;L>=0;--L){var j=this.tryEntries[L];if(j.finallyLoc===H)return this.complete(j.completion,j.afterLoc),X(j),w}},catch:function(H){for(var L=this.tryEntries.length-1;L>=0;--L){var j=this.tryEntries[L];if(j.tryLoc===H){var te=j.completion;if(te.type==="throw"){var ee=te.arg;X(j)}return ee}}throw new Error("illegal catch attempt")},delegateYield:function(H,L,j){return this.delegate={iterator:Z(H),resultName:L,nextLoc:j},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)}})(Z0)),Z0.exports}Xse();var fD={},dD={},Hh,hD;function er(){if(hD)return Hh;hD=1;var e=function(t){return t&&t.Math===Math&&t};return Hh=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof Hh=="object"&&Hh)||(function(){return this})()||Function("return this")(),Hh}var J0={},e_,pD;function qt(){return pD||(pD=1,e_=function(e){try{return!!e()}catch{return!0}}),e_}var t_,vD;function Dr(){if(vD)return t_;vD=1;var e=qt();return t_=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),t_}var r_,gD;function Up(){if(gD)return r_;gD=1;var e=qt();return r_=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),r_}var n_,mD;function Sr(){if(mD)return n_;mD=1;var e=Up(),t=Function.prototype.call;return n_=e?t.bind(t):function(){return t.apply(t,arguments)},n_}var i_={},yD;function fy(){if(yD)return i_;yD=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return i_.f=r?function(i){var o=t(this,i);return!!o&&o.enumerable}:e,i_}var a_,_D;function es(){return _D||(_D=1,a_=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),a_}var o_,SD;function Wt(){if(SD)return o_;SD=1;var e=Up(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return o_=e?n:function(i){return function(){return r.apply(i,arguments)}},o_}var s_,ED;function Ua(){if(ED)return s_;ED=1;var e=Wt(),t=e({}.toString),r=e("".slice);return s_=function(n){return r(t(n),8,-1)},s_}var u_,wD;function Vd(){if(wD)return u_;wD=1;var e=Wt(),t=qt(),r=Ua(),n=Object,i=e("".split);return u_=t(function(){return!n("z").propertyIsEnumerable(0)})?function(o){return r(o)==="String"?i(o,""):n(o)}:n,u_}var l_,bD;function nl(){return bD||(bD=1,l_=function(e){return e==null}),l_}var c_,CD;function Ri(){if(CD)return c_;CD=1;var e=nl(),t=TypeError;return c_=function(r){if(e(r))throw new t("Can't call method on "+r);return r},c_}var f_,TD;function ga(){if(TD)return f_;TD=1;var e=Vd(),t=Ri();return f_=function(r){return e(t(r))},f_}var d_,AD;function gn(){if(AD)return d_;AD=1;var e=typeof document=="object"&&document.all;return d_=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},d_}var h_,RD;function Gr(){if(RD)return h_;RD=1;var e=gn();return h_=function(t){return typeof t=="object"?t!==null:e(t)},h_}var p_,xD;function hn(){if(xD)return p_;xD=1;var e=er(),t=gn(),r=function(n){return t(n)?n:void 0};return p_=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},p_}var v_,OD;function io(){if(OD)return v_;OD=1;var e=Wt();return v_=e({}.isPrototypeOf),v_}var g_,ID;function mu(){if(ID)return g_;ID=1;var e=er(),t=e.navigator,r=t&&t.userAgent;return g_=r?String(r):"",g_}var m_,PD;function yu(){if(PD)return m_;PD=1;var e=er(),t=mu(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,o=i&&i.v8,a,s;return o&&(a=o.split("."),s=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!s&&t&&(a=t.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=t.match(/Chrome\/(\d+)/),a&&(s=+a[1]))),m_=s,m_}var y_,kD;function Hd(){if(kD)return y_;kD=1;var e=yu(),t=qt(),r=er(),n=r.String;return y_=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),y_}var __,DD;function oJ(){if(DD)return __;DD=1;var e=Hd();return __=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",__}var S_,LD;function rf(){if(LD)return S_;LD=1;var e=hn(),t=gn(),r=io(),n=oJ(),i=Object;return S_=n?function(o){return typeof o=="symbol"}:function(o){var a=e("Symbol");return t(a)&&r(a.prototype,i(o))},S_}var E_,ND;function nf(){if(ND)return E_;ND=1;var e=String;return E_=function(t){try{return e(t)}catch{return"Object"}},E_}var w_,MD;function pn(){if(MD)return w_;MD=1;var e=gn(),t=nf(),r=TypeError;return w_=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},w_}var b_,$D;function Ta(){if($D)return b_;$D=1;var e=pn(),t=nl();return b_=function(r,n){var i=r[n];return t(i)?void 0:e(i)},b_}var C_,FD;function sJ(){if(FD)return C_;FD=1;var e=Sr(),t=gn(),r=Gr(),n=TypeError;return C_=function(i,o){var a,s;if(o==="string"&&t(a=i.toString)&&!r(s=e(a,i))||t(a=i.valueOf)&&!r(s=e(a,i))||o!=="string"&&t(a=i.toString)&&!r(s=e(a,i)))return s;throw new n("Can't convert object to primitive value")},C_}var T_={exports:{}},A_,jD;function In(){return jD||(jD=1,A_=!1),A_}var R_,UD;function RI(){if(UD)return R_;UD=1;var e=er(),t=Object.defineProperty;return R_=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},R_}var qD;function dy(){if(qD)return T_.exports;qD=1;var e=In(),t=er(),r=RI(),n="__core-js_shared__",i=T_.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"}),T_.exports}var x_,VD;function Bd(){if(VD)return x_;VD=1;var e=dy();return x_=function(t,r){return e[t]||(e[t]=r||{})},x_}var O_,HD;function Rn(){if(HD)return O_;HD=1;var e=Ri(),t=Object;return O_=function(r){return t(e(r))},O_}var I_,BD;function vn(){if(BD)return I_;BD=1;var e=Wt(),t=Rn(),r=e({}.hasOwnProperty);return I_=Object.hasOwn||function(i,o){return r(t(i),o)},I_}var P_,zD;function zd(){if(zD)return P_;zD=1;var e=Wt(),t=0,r=Math.random(),n=e(1.1.toString);return P_=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},P_}var k_,WD;function Kr(){if(WD)return k_;WD=1;var e=er(),t=Bd(),r=vn(),n=zd(),i=Hd(),o=oJ(),a=e.Symbol,s=t("wks"),l=o?a.for||a:a&&a.withoutSetter||n;return k_=function(c){return r(s,c)||(s[c]=i&&r(a,c)?a[c]:l("Symbol."+c)),s[c]},k_}var D_,GD;function hy(){if(GD)return D_;GD=1;var e=Sr(),t=Gr(),r=rf(),n=Ta(),i=sJ(),o=Kr(),a=TypeError,s=o("toPrimitive");return D_=function(l,c){if(!t(l)||r(l))return l;var d=n(l,s),h;if(d){if(c===void 0&&(c="default"),h=e(d,l,c),!t(h)||r(h))return h;throw new a("Can't convert object to primitive value")}return c===void 0&&(c="number"),i(l,c)},D_}var L_,KD;function Yl(){if(KD)return L_;KD=1;var e=hy(),t=rf();return L_=function(r){var n=e(r,"string");return t(n)?n:n+""},L_}var N_,YD;function py(){if(YD)return N_;YD=1;var e=er(),t=Gr(),r=e.document,n=t(r)&&t(r.createElement);return N_=function(i){return n?r.createElement(i):{}},N_}var M_,XD;function uJ(){if(XD)return M_;XD=1;var e=Dr(),t=qt(),r=py();return M_=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),M_}var QD;function Aa(){if(QD)return J0;QD=1;var e=Dr(),t=Sr(),r=fy(),n=es(),i=ga(),o=Yl(),a=vn(),s=uJ(),l=Object.getOwnPropertyDescriptor;return J0.f=e?l:function(d,h){if(d=i(d),h=o(h),s)try{return l(d,h)}catch{}if(a(d,h))return n(!t(r.f,d,h),d[h])},J0}var $_={},F_,ZD;function lJ(){if(ZD)return F_;ZD=1;var e=Dr(),t=qt();return F_=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),F_}var j_,JD;function Tr(){if(JD)return j_;JD=1;var e=Gr(),t=String,r=TypeError;return j_=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},j_}var e2;function _i(){if(e2)return $_;e2=1;var e=Dr(),t=uJ(),r=lJ(),n=Tr(),i=Yl(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";return $_.f=e?r?function(p,g,S){if(n(p),g=i(g),n(S),typeof p=="function"&&g==="prototype"&&"value"in S&&d in S&&!S[d]){var E=s(p,g);E&&E[d]&&(p[g]=S.value,S={configurable:c in S?S[c]:E[c],enumerable:l in S?S[l]:E[l],writable:!1})}return a(p,g,S)}:a:function(p,g,S){if(n(p),g=i(g),n(S),t)try{return a(p,g,S)}catch{}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(p[g]=S.value),p},$_}var U_,t2;function Ra(){if(t2)return U_;t2=1;var e=Dr(),t=_i(),r=es();return U_=e?function(n,i,o){return t.f(n,i,r(1,o))}:function(n,i,o){return n[i]=o,n},U_}var q_={exports:{}},V_,r2;function Wd(){if(r2)return V_;r2=1;var e=Dr(),t=vn(),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 V_={EXISTS:i,PROPER:o,CONFIGURABLE:a},V_}var H_,n2;function xI(){if(n2)return H_;n2=1;var e=Wt(),t=gn(),r=dy(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),H_=r.inspectSource,H_}var B_,i2;function cJ(){if(i2)return B_;i2=1;var e=er(),t=gn(),r=e.WeakMap;return B_=t(r)&&/native code/.test(String(r)),B_}var z_,a2;function vy(){if(a2)return z_;a2=1;var e=Bd(),t=zd(),r=e("keys");return z_=function(n){return r[n]||(r[n]=t(n))},z_}var W_,o2;function qp(){return o2||(o2=1,W_={}),W_}var G_,s2;function Mi(){if(s2)return G_;s2=1;var e=cJ(),t=er(),r=Gr(),n=Ra(),i=vn(),o=dy(),a=vy(),s=qp(),l="Object already initialized",c=t.TypeError,d=t.WeakMap,h,p,g,S=function(b){return g(b)?p(b):h(b,{})},E=function(b){return function(x){var A;if(!r(x)||(A=p(x)).type!==b)throw new c("Incompatible receiver, "+b+" required");return A}};if(e||o.state){var _=o.state||(o.state=new d);_.get=_.get,_.has=_.has,_.set=_.set,h=function(b,x){if(_.has(b))throw new c(l);return x.facade=b,_.set(b,x),x},p=function(b){return _.get(b)||{}},g=function(b){return _.has(b)}}else{var w=a("state");s[w]=!0,h=function(b,x){if(i(b,w))throw new c(l);return x.facade=b,n(b,w,x),x},p=function(b){return i(b,w)?b[w]:{}},g=function(b){return i(b,w)}}return G_={set:h,get:p,has:g,enforce:S,getterFor:E},G_}var u2;function OI(){if(u2)return q_.exports;u2=1;var e=Wt(),t=qt(),r=gn(),n=vn(),i=Dr(),o=Wd().CONFIGURABLE,a=xI(),s=Mi(),l=s.enforce,c=s.get,d=String,h=Object.defineProperty,p=e("".slice),g=e("".replace),S=e([].join),E=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),_=String(String).split("String"),w=q_.exports=function(b,x,A){p(d(x),0,7)==="Symbol("&&(x="["+g(d(x),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(x="get "+x),A&&A.setter&&(x="set "+x),(!n(b,"name")||o&&b.name!==x)&&(i?h(b,"name",{value:x,configurable:!0}):b.name=x),E&&A&&n(A,"arity")&&b.length!==A.arity&&h(b,"length",{value:A.arity});try{A&&n(A,"constructor")&&A.constructor?i&&h(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var R=l(b);return n(R,"source")||(R.source=S(_,typeof x=="string"?x:"")),b};return Function.prototype.toString=w(function(){return r(this)&&c(this).source||a(this)},"toString"),q_.exports}var K_,l2;function Gn(){if(l2)return K_;l2=1;var e=gn(),t=_i(),r=OI(),n=RI();return K_=function(i,o,a,s){s||(s={});var l=s.enumerable,c=s.name!==void 0?s.name:o;if(e(a)&&r(a,c,s),s.global)l?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=a:t.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i},K_}var Y_={},X_,c2;function fJ(){if(c2)return X_;c2=1;var e=Math.ceil,t=Math.floor;return X_=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},X_}var Q_,f2;function Ui(){if(f2)return Q_;f2=1;var e=fJ();return Q_=function(t){var r=+t;return r!==r||r===0?0:e(r)},Q_}var Z_,d2;function il(){if(d2)return Z_;d2=1;var e=Ui(),t=Math.max,r=Math.min;return Z_=function(n,i){var o=e(n);return o<0?t(o+i,0):r(o,i)},Z_}var J_,h2;function ts(){if(h2)return J_;h2=1;var e=Ui(),t=Math.min;return J_=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},J_}var eS,p2;function ei(){if(p2)return eS;p2=1;var e=ts();return eS=function(t){return e(t.length)},eS}var tS,v2;function Vp(){if(v2)return tS;v2=1;var e=ga(),t=il(),r=ei(),n=function(i){return function(o,a,s){var l=e(o),c=r(l);if(c===0)return!i&&-1;var d=t(s,c),h;if(i&&a!==a){for(;c>d;)if(h=l[d++],h!==h)return!0}else for(;c>d;d++)if((i||d in l)&&l[d]===a)return i||d||0;return!i&&-1}};return tS={includes:n(!0),indexOf:n(!1)},tS}var rS,g2;function dJ(){if(g2)return rS;g2=1;var e=Wt(),t=vn(),r=ga(),n=Vp().indexOf,i=qp(),o=e([].push);return rS=function(a,s){var l=r(a),c=0,d=[],h;for(h in l)!t(i,h)&&t(l,h)&&o(d,h);for(;s.length>c;)t(l,h=s[c++])&&(~n(d,h)||o(d,h));return d},rS}var nS,m2;function II(){return m2||(m2=1,nS=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),nS}var y2;function af(){if(y2)return Y_;y2=1;var e=dJ(),t=II(),r=t.concat("length","prototype");return Y_.f=Object.getOwnPropertyNames||function(i){return e(i,r)},Y_}var iS={},_2;function gy(){return _2||(_2=1,iS.f=Object.getOwnPropertySymbols),iS}var aS,S2;function PI(){if(S2)return aS;S2=1;var e=hn(),t=Wt(),r=af(),n=gy(),i=Tr(),o=t([].concat);return aS=e("Reflect","ownKeys")||function(s){var l=r.f(i(s)),c=n.f;return c?o(l,c(s)):l},aS}var oS,E2;function Gd(){if(E2)return oS;E2=1;var e=vn(),t=PI(),r=Aa(),n=_i();return oS=function(i,o,a){for(var s=t(o),l=n.f,c=r.f,d=0;d<s.length;d++){var h=s[d];!e(i,h)&&!(a&&e(a,h))&&l(i,h,c(o,h))}},oS}var sS,w2;function Hp(){if(w2)return sS;w2=1;var e=qt(),t=gn(),r=/#|\.prototype\./,n=function(l,c){var d=o[i(l)];return d===s?!0:d===a?!1:t(c)?e(c):!!c},i=n.normalize=function(l){return String(l).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return sS=n,sS}var uS,b2;function Ue(){if(b2)return uS;b2=1;var e=er(),t=Aa().f,r=Ra(),n=Gn(),i=RI(),o=Gd(),a=Hp();return uS=function(s,l){var c=s.target,d=s.global,h=s.stat,p,g,S,E,_,w;if(d?g=e:h?g=e[c]||i(c,{}):g=e[c]&&e[c].prototype,g)for(S in l){if(_=l[S],s.dontCallGetSet?(w=t(g,S),E=w&&w.value):E=g[S],p=a(d?S:c+(h?".":"#")+S,s.forced),!p&&E!==void 0){if(typeof _==typeof E)continue;o(_,E)}(s.sham||E&&E.sham)&&r(_,"sham",!0),n(g,S,_,s)}},uS}var lS,C2;function kI(){if(C2)return lS;C2=1;var e=Kr(),t=e("toStringTag"),r={};return r[t]="z",lS=String(r)==="[object z]",lS}var cS,T2;function rs(){if(T2)return cS;T2=1;var e=kI(),t=gn(),r=Ua(),n=Kr(),i=n("toStringTag"),o=Object,a=r((function(){return arguments})())==="Arguments",s=function(l,c){try{return l[c]}catch{}};return cS=e?r:function(l){var c,d,h;return l===void 0?"Undefined":l===null?"Null":typeof(d=s(c=o(l),i))=="string"?d:a?r(c):(h=r(c))==="Object"&&t(c.callee)?"Arguments":h},cS}var fS,A2;function tn(){if(A2)return fS;A2=1;var e=rs(),t=String;return fS=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},fS}var dS={},hS,R2;function Bp(){if(R2)return hS;R2=1;var e=dJ(),t=II();return hS=Object.keys||function(n){return e(n,t)},hS}var x2;function DI(){if(x2)return dS;x2=1;var e=Dr(),t=lJ(),r=_i(),n=Tr(),i=ga(),o=Bp();return dS.f=e&&!t?Object.defineProperties:function(s,l){n(s);for(var c=i(l),d=o(l),h=d.length,p=0,g;h>p;)r.f(s,g=d[p++],c[g]);return s},dS}var pS,O2;function hJ(){if(O2)return pS;O2=1;var e=hn();return pS=e("document","documentElement"),pS}var vS,I2;function xa(){if(I2)return vS;I2=1;var e=Tr(),t=DI(),r=II(),n=qp(),i=hJ(),o=py(),a=vy(),s=">",l="<",c="prototype",d="script",h=a("IE_PROTO"),p=function(){},g=function(b){return l+d+s+b+l+"/"+d+s},S=function(b){b.write(g("")),b.close();var x=b.parentWindow.Object;return b=null,x},E=function(){var b=o("iframe"),x="java"+d+":",A;return b.style.display="none",i.appendChild(b),b.src=String(x),A=b.contentWindow.document,A.open(),A.write(g("document.F=Object")),A.close(),A.F},_,w=function(){try{_=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&_?S(_):E():S(_);for(var b=r.length;b--;)delete w[c][r[b]];return w()};return n[h]=!0,vS=Object.create||function(x,A){var R;return x!==null?(p[c]=e(x),R=new p,p[c]=null,R[h]=x):R=w(),A===void 0?R:t.f(R,A)},vS}var gS={},mS,P2;function Ps(){if(P2)return mS;P2=1;var e=Wt();return mS=e([].slice),mS}var k2;function LI(){if(k2)return gS;k2=1;var e=Ua(),t=ga(),r=af().f,n=Ps(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(a){try{return r(a)}catch{return n(i)}};return gS.f=function(s){return i&&e(s)==="Window"?o(s):r(t(s))},gS}var yS,D2;function zi(){if(D2)return yS;D2=1;var e=OI(),t=_i();return yS=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)},yS}var _S={},L2;function pJ(){if(L2)return _S;L2=1;var e=Kr();return _S.f=e,_S}var SS,N2;function my(){if(N2)return SS;N2=1;var e=er();return SS=e,SS}var ES,M2;function qa(){if(M2)return ES;M2=1;var e=my(),t=vn(),r=pJ(),n=_i().f;return ES=function(i){var o=e.Symbol||(e.Symbol={});t(o,i)||n(o,i,{value:r.f(i)})},ES}var wS,$2;function vJ(){if($2)return wS;$2=1;var e=Sr(),t=hn(),r=Kr(),n=Gn();return wS=function(){var i=t("Symbol"),o=i&&i.prototype,a=o&&o.valueOf,s=r("toPrimitive");o&&!o[s]&&n(o,s,function(l){return e(a,this)},{arity:1})},wS}var bS,F2;function ko(){if(F2)return bS;F2=1;var e=_i().f,t=vn(),r=Kr(),n=r("toStringTag");return bS=function(i,o,a){i&&!a&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:o})},bS}var CS,j2;function of(){if(j2)return CS;j2=1;var e=Ua(),t=Wt();return CS=function(r){if(e(r)==="Function")return t(r)},CS}var TS,U2;function ns(){if(U2)return TS;U2=1;var e=of(),t=pn(),r=Up(),n=e(e.bind);return TS=function(i,o){return t(i),o===void 0?i:r?n(i,o):function(){return i.apply(o,arguments)}},TS}var AS,q2;function Xl(){if(q2)return AS;q2=1;var e=Ua();return AS=Array.isArray||function(r){return e(r)==="Array"},AS}var RS,V2;function sf(){if(V2)return RS;V2=1;var e=Wt(),t=qt(),r=gn(),n=rs(),i=hn(),o=xI(),a=function(){},s=i("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=e(l.exec),d=!l.test(a),h=function(S){if(!r(S))return!1;try{return s(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||!!c(l,o(S))}catch{return!0}};return p.sham=!0,RS=!s||t(function(){var g;return h(h.call)||!h(Object)||!h(function(){g=!0})||g})?p:h,RS}var xS,H2;function Qse(){if(H2)return xS;H2=1;var e=Xl(),t=sf(),r=Gr(),n=Kr(),i=n("species"),o=Array;return xS=function(a){var s;return e(a)&&(s=a.constructor,t(s)&&(s===o||e(s.prototype))?s=void 0:r(s)&&(s=s[i],s===null&&(s=void 0))),s===void 0?o:s},xS}var OS,B2;function zp(){if(B2)return OS;B2=1;var e=Qse();return OS=function(t,r){return new(e(t))(r===0?0:r)},OS}var IS,z2;function Oa(){if(z2)return IS;z2=1;var e=ns(),t=Wt(),r=Vd(),n=Rn(),i=ei(),o=zp(),a=t([].push),s=function(l){var c=l===1,d=l===2,h=l===3,p=l===4,g=l===6,S=l===7,E=l===5||g;return function(_,w,b,x){for(var A=n(_),R=r(A),O=i(R),m=e(w,b),k=0,D=x||o,V=c?D(_,O):d||S?D(_,0):void 0,F,G;O>k;k++)if((E||k in R)&&(F=R[k],G=m(F,k,A),l))if(c)V[k]=G;else if(G)switch(l){case 3:return!0;case 5:return F;case 6:return k;case 2:a(V,F)}else switch(l){case 4:return!1;case 7:a(V,F)}return g?-1:h||p?p:V}};return IS={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)},IS}var W2;function Zse(){if(W2)return dD;W2=1;var e=Ue(),t=er(),r=Sr(),n=Wt(),i=In(),o=Dr(),a=Hd(),s=qt(),l=vn(),c=io(),d=Tr(),h=ga(),p=Yl(),g=tn(),S=es(),E=xa(),_=Bp(),w=af(),b=LI(),x=gy(),A=Aa(),R=_i(),O=DI(),m=fy(),k=Gn(),D=zi(),V=Bd(),F=vy(),G=qp(),Y=zd(),X=Kr(),J=pJ(),Z=qa(),ue=vJ(),H=ko(),L=Mi(),j=Oa().forEach,te=F("hidden"),ee="Symbol",de="prototype",Se=L.set,Ae=L.getterFor(ee),se=Object[de],I=t.Symbol,P=I&&I[de],q=t.RangeError,N=t.TypeError,B=t.QObject,re=A.f,ce=R.f,we=b.f,_e=m.f,Oe=n([].push),Te=V("symbols"),Ie=V("op-symbols"),$e=V("wks"),ge=!B||!B[de]||!B[de].findChild,be=function(Tt,_t,st){var rt=re(se,_t);rt&&delete se[_t],ce(Tt,_t,st),rt&&Tt!==se&&ce(se,_t,rt)},Ce=o&&s(function(){return E(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!==7})?be:ce,Le=function(Tt,_t){var st=Te[Tt]=E(P);return Se(st,{type:ee,tag:Tt,description:_t}),o||(st.description=_t),st},Ve=function(_t,st,rt){_t===se&&Ve(Ie,st,rt),d(_t);var dt=p(st);return d(rt),l(Te,dt)?(rt.enumerable?(l(_t,te)&&_t[te][dt]&&(_t[te][dt]=!1),rt=E(rt,{enumerable:S(0,!1)})):(l(_t,te)||ce(_t,te,S(1,E(null))),_t[te][dt]=!0),Ce(_t,dt,rt)):ce(_t,dt,rt)},qe=function(_t,st){d(_t);var rt=h(st),dt=_(rt).concat(Ze(rt));return j(dt,function(Gt){(!o||r(ct,rt,Gt))&&Ve(_t,Gt,rt[Gt])}),_t},Ge=function(_t,st){return st===void 0?E(_t):qe(E(_t),st)},ct=function(_t){var st=p(_t),rt=r(_e,this,st);return this===se&&l(Te,st)&&!l(Ie,st)?!1:rt||!l(this,st)||!l(Te,st)||l(this,te)&&this[te][st]?rt:!0},jt=function(_t,st){var rt=h(_t),dt=p(st);if(!(rt===se&&l(Te,dt)&&!l(Ie,dt))){var Gt=re(rt,dt);return Gt&&l(Te,dt)&&!(l(rt,te)&&rt[te][dt])&&(Gt.enumerable=!0),Gt}},zt=function(_t){var st=we(h(_t)),rt=[];return j(st,function(dt){!l(Te,dt)&&!l(G,dt)&&Oe(rt,dt)}),rt},Ze=function(Tt){var _t=Tt===se,st=we(_t?Ie:h(Tt)),rt=[];return j(st,function(dt){l(Te,dt)&&(!_t||l(se,dt))&&Oe(rt,Te[dt])}),rt};return a||(I=function(){if(c(P,this))throw new N("Symbol is not a constructor");var _t=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),st=Y(_t),rt=function(dt){var Gt=this===void 0?t:this;Gt===se&&r(rt,Ie,dt),l(Gt,te)&&l(Gt[te],st)&&(Gt[te][st]=!1);var Mt=S(1,dt);try{Ce(Gt,st,Mt)}catch(Re){if(!(Re instanceof q))throw Re;be(Gt,st,Mt)}};return o&&ge&&Ce(se,st,{configurable:!0,set:rt}),Le(st,_t)},P=I[de],k(P,"toString",function(){return Ae(this).tag}),k(I,"withoutSetter",function(Tt){return Le(Y(Tt),Tt)}),m.f=ct,R.f=Ve,O.f=qe,A.f=jt,w.f=b.f=zt,x.f=Ze,J.f=function(Tt){return Le(X(Tt),Tt)},o&&(D(P,"description",{configurable:!0,get:function(){return Ae(this).description}}),i||k(se,"propertyIsEnumerable",ct,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!a,sham:!a},{Symbol:I}),j(_($e),function(Tt){Z(Tt)}),e({target:ee,stat:!0,forced:!a},{useSetter:function(){ge=!0},useSimple:function(){ge=!1}}),e({target:"Object",stat:!0,forced:!a,sham:!o},{create:Ge,defineProperty:Ve,defineProperties:qe,getOwnPropertyDescriptor:jt}),e({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:zt}),ue(),H(I,ee),G[te]=!0,dD}var G2={},PS,K2;function gJ(){if(K2)return PS;K2=1;var e=Hd();return PS=e&&!!Symbol.for&&!!Symbol.keyFor,PS}var Y2;function Jse(){if(Y2)return G2;Y2=1;var e=Ue(),t=hn(),r=vn(),n=tn(),i=Bd(),o=gJ(),a=i("string-to-symbol-registry"),s=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!o},{for:function(l){var c=n(l);if(r(a,c))return a[c];var d=t("Symbol")(c);return a[c]=d,s[d]=c,d}}),G2}var X2={},Q2;function eue(){if(Q2)return X2;Q2=1;var e=Ue(),t=vn(),r=rf(),n=nf(),i=Bd(),o=gJ(),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]}}),X2}var Z2={},kS,J2;function is(){if(J2)return kS;J2=1;var e=Up(),t=Function.prototype,r=t.apply,n=t.call;return kS=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),kS}var DS,eL;function tue(){if(eL)return DS;eL=1;var e=Wt(),t=Xl(),r=gn(),n=Ua(),i=tn(),o=e([].push);return DS=function(a){if(r(a))return a;if(t(a)){for(var s=a.length,l=[],c=0;c<s;c++){var d=a[c];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(g,S){if(p)return p=!1,S;if(t(this))return S;for(var E=0;E<h;E++)if(l[E]===g)return S}}},DS}var tL;function mJ(){if(tL)return Z2;tL=1;var e=Ue(),t=hn(),r=is(),n=Sr(),i=Wt(),o=qt(),a=gn(),s=rf(),l=Ps(),c=tue(),d=Hd(),h=String,p=t("JSON","stringify"),g=i(/./.exec),S=i("".charAt),E=i("".charCodeAt),_=i("".replace),w=i(1.1.toString),b=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,R=!d||o(function(){var D=t("Symbol")("stringify detection");return p([D])!=="[null]"||p({a:D})!=="{}"||p(Object(D))!=="{}"}),O=o(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),m=function(D,V){var F=l(arguments),G=c(V);if(!(!a(G)&&(D===void 0||s(D))))return F[1]=function(Y,X){if(a(G)&&(X=n(G,this,h(Y),X)),!s(X))return X},r(p,null,F)},k=function(D,V,F){var G=S(F,V-1),Y=S(F,V+1);return g(x,D)&&!g(A,Y)||g(A,D)&&!g(x,G)?"\\u"+w(E(D,0),16):D};return p&&e({target:"JSON",stat:!0,arity:3,forced:R||O},{stringify:function(V,F,G){var Y=l(arguments),X=r(R?m:p,null,Y);return O&&typeof X=="string"?_(X,b,k):X}}),Z2}var rL={},nL;function rue(){if(nL)return rL;nL=1;var e=Ue(),t=Hd(),r=qt(),n=gy(),i=Rn(),o=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:o},{getOwnPropertySymbols:function(s){var l=n.f;return l?l(i(s)):[]}}),rL}var iL;function nue(){return iL||(iL=1,Zse(),Jse(),eue(),mJ(),rue()),fD}var aL={},oL;function iue(){if(oL)return aL;oL=1;var e=Ue(),t=Dr(),r=er(),n=Wt(),i=vn(),o=gn(),a=io(),s=tn(),l=zi(),c=Gd(),d=r.Symbol,h=d&&d.prototype;if(t&&o(d)&&(!("description"in h)||d().description!==void 0)){var p={},g=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:s(arguments[0]),O=a(h,this)?new d(R):R===void 0?d():d(R);return R===""&&(p[O]=!0),O};c(g,d),g.prototype=h,h.constructor=g;var S=String(d("description detection"))==="Symbol(description detection)",E=n(h.valueOf),_=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,b=n("".replace),x=n("".slice);l(h,"description",{configurable:!0,get:function(){var R=E(this);if(i(p,R))return"";var O=_(R),m=S?x(O,7,-1):b(O,w,"$1");return m===""?void 0:m}}),e({global:!0,constructor:!0,forced:!0},{Symbol:g})}return aL}var sL={},uL;function aue(){if(uL)return sL;uL=1;var e=er(),t=qa(),r=_i().f,n=Aa().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 sL}var lL={},cL;function oue(){if(cL)return lL;cL=1;var e=qa();return e("asyncIterator"),lL}var fL={},dL;function sue(){if(dL)return fL;dL=1;var e=er(),t=qa(),r=_i().f,n=Aa().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 fL}var hL={},pL;function uue(){if(pL)return hL;pL=1;var e=qa();return e("hasInstance"),hL}var vL={},gL;function lue(){if(gL)return vL;gL=1;var e=qa();return e("isConcatSpreadable"),vL}var mL={},yL;function cue(){if(yL)return mL;yL=1;var e=qa();return e("iterator"),mL}var _L={},SL;function fue(){if(SL)return _L;SL=1;var e=qa();return e("match"),_L}var EL={},wL;function due(){if(wL)return EL;wL=1;var e=qa();return e("matchAll"),EL}var bL={},CL;function hue(){if(CL)return bL;CL=1;var e=qa();return e("replace"),bL}var TL={},AL;function pue(){if(AL)return TL;AL=1;var e=qa();return e("search"),TL}var RL={},xL;function vue(){if(xL)return RL;xL=1;var e=qa();return e("species"),RL}var OL={},IL;function gue(){if(IL)return OL;IL=1;var e=qa();return e("split"),OL}var PL={},kL;function mue(){if(kL)return PL;kL=1;var e=qa(),t=vJ();return e("toPrimitive"),t(),PL}var DL={},LL;function yue(){if(LL)return DL;LL=1;var e=hn(),t=qa(),r=ko();return t("toStringTag"),r(e("Symbol"),"Symbol"),DL}var NL={},ML;function _ue(){if(ML)return NL;ML=1;var e=qa();return e("unscopables"),NL}var $L={},LS,FL;function yy(){if(FL)return LS;FL=1;var e=Wt(),t=pn();return LS=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},LS}var NS,jL;function yJ(){if(jL)return NS;jL=1;var e=Gr();return NS=function(t){return e(t)||t===null},NS}var MS,UL;function _J(){if(UL)return MS;UL=1;var e=yJ(),t=String,r=TypeError;return MS=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},MS}var $S,qL;function Ys(){if(qL)return $S;qL=1;var e=yy(),t=Gr(),r=Ri(),n=_J();return $S=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,c){return r(l),n(c),t(l)&&(i?a(l,c):l.__proto__=c),l}})():void 0),$S}var FS,VL;function SJ(){if(VL)return FS;VL=1;var e=_i().f;return FS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},FS}var jS,HL;function uf(){if(HL)return jS;HL=1;var e=gn(),t=Gr(),r=Ys();return jS=function(n,i,o){var a,s;return r&&e(a=i.constructor)&&a!==o&&t(s=a.prototype)&&s!==o.prototype&&r(n,s),n},jS}var US,BL;function Kd(){if(BL)return US;BL=1;var e=tn();return US=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},US}var qS,zL;function EJ(){if(zL)return qS;zL=1;var e=Gr(),t=Ra();return qS=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},qS}var VS,WL;function NI(){if(WL)return VS;WL=1;var e=Wt(),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 VS=function(a,s){if(o&&typeof a=="string"&&!t.prepareStackTrace)for(;s--;)a=r(a,i,"");return a},VS}var HS,GL;function wJ(){if(GL)return HS;GL=1;var e=qt(),t=es();return HS=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),HS}var BS,KL;function MI(){if(KL)return BS;KL=1;var e=Ra(),t=NI(),r=wJ(),n=Error.captureStackTrace;return BS=function(i,o,a,s){r&&(n?n(i,o):e(i,"stack",t(a,s)))},BS}var zS,YL;function bJ(){if(YL)return zS;YL=1;var e=hn(),t=vn(),r=Ra(),n=io(),i=Ys(),o=Gd(),a=SJ(),s=uf(),l=Kd(),c=EJ(),d=MI(),h=Dr(),p=In();return zS=function(g,S,E,_){var w="stackTraceLimit",b=_?2:1,x=g.split("."),A=x[x.length-1],R=e.apply(null,x);if(R){var O=R.prototype;if(!p&&t(O,"cause")&&delete O.cause,!E)return R;var m=e("Error"),k=S(function(D,V){var F=l(_?V:D,void 0),G=_?new R(D):new R;return F!==void 0&&r(G,"message",F),d(G,k,G.stack,2),this&&n(O,this)&&s(G,this,k),arguments.length>b&&c(G,arguments[b]),G});if(k.prototype=O,A!=="Error"?i?i(k,m):o(k,m,{name:!0}):h&&w in R&&(a(k,R,w),a(k,R,"prepareStackTrace")),o(k,R),!p)try{O.name!==A&&r(O,"name",A),O.constructor=k}catch{}return k}},zS}var XL;function Sue(){if(XL)return $L;XL=1;var e=Ue(),t=er(),r=is(),n=bJ(),i="WebAssembly",o=t[i],a=new Error("e",{cause:7}).cause!==7,s=function(c,d){var h={};h[c]=n(c,d,a),e({global:!0,constructor:!0,arity:1,forced:a},h)},l=function(c,d){if(o&&o[c]){var h={};h[c]=n(i+"."+c,d,a),e({target:i,stat:!0,constructor:!0,arity:1,forced:a},h)}};return s("Error",function(c){return function(h){return r(c,this,arguments)}}),s("EvalError",function(c){return function(h){return r(c,this,arguments)}}),s("RangeError",function(c){return function(h){return r(c,this,arguments)}}),s("ReferenceError",function(c){return function(h){return r(c,this,arguments)}}),s("SyntaxError",function(c){return function(h){return r(c,this,arguments)}}),s("TypeError",function(c){return function(h){return r(c,this,arguments)}}),s("URIError",function(c){return function(h){return r(c,this,arguments)}}),l("CompileError",function(c){return function(h){return r(c,this,arguments)}}),l("LinkError",function(c){return function(h){return r(c,this,arguments)}}),l("RuntimeError",function(c){return function(h){return r(c,this,arguments)}}),$L}var QL={},ZL;function Eue(){if(ZL)return QL;ZL=1;var e=Ue(),t=hn(),r=Gr(),n=rs(),i=qt(),o="Error",a="DOMException",s=Object.setPrototypeOf||{}.__proto__,l=t(a),c=Error,d=c.isError,h=!d||!s||i(function(){return l&&!d(new l(a))||!d(new c(o,{cause:function(){}}))||d(t("Object","create")(c.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(g){if(!r(g))return!1;var S=n(g);return S===o||S===a}}),QL}var JL={},WS,e5;function CJ(){if(e5)return WS;e5=1;var e=Dr(),t=qt(),r=Tr(),n=Kd(),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 WS=o?function(){var s=r(this),l=n(s.name,"Error"),c=n(s.message);return l?c?l+": "+c:l:c}:i,WS}var t5;function wue(){if(t5)return JL;t5=1;var e=Gn(),t=CJ(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),JL}var r5={},n5={},GS,i5;function $I(){if(i5)return GS;i5=1;var e=qt();return GS=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),GS}var KS,a5;function ao(){if(a5)return KS;a5=1;var e=vn(),t=gn(),r=Rn(),n=vy(),i=$I(),o=n("IE_PROTO"),a=Object,s=a.prototype;return KS=i?a.getPrototypeOf:function(l){var c=r(l);if(e(c,o))return c[o];var d=c.constructor;return t(d)&&c instanceof d?d.prototype:c instanceof a?s:null},KS}var YS,o5;function Wp(){return o5||(o5=1,YS={}),YS}var XS,s5;function FI(){if(s5)return XS;s5=1;var e=Kr(),t=Wp(),r=e("iterator"),n=Array.prototype;return XS=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},XS}var QS,u5;function lf(){if(u5)return QS;u5=1;var e=rs(),t=Ta(),r=nl(),n=Wp(),i=Kr(),o=i("iterator");return QS=function(a){if(!r(a))return t(a,o)||t(a,"@@iterator")||n[e(a)]},QS}var ZS,l5;function Yd(){if(l5)return ZS;l5=1;var e=Sr(),t=pn(),r=Tr(),n=nf(),i=lf(),o=TypeError;return ZS=function(a,s){var l=arguments.length<2?i(a):s;if(t(l))return r(e(l,a));throw new o(n(a)+" is not iterable")},ZS}var JS,c5;function Ia(){if(c5)return JS;c5=1;var e=Sr(),t=Tr(),r=Ta();return JS=function(n,i,o){var a,s;t(n);try{if(a=r(n,"return"),!a){if(i==="throw")throw o;return o}a=e(a,n)}catch(l){s=!0,a=l}if(i==="throw")throw o;if(s)throw a;return t(a),o},JS}var eE,f5;function sa(){if(f5)return eE;f5=1;var e=ns(),t=Sr(),r=Tr(),n=nf(),i=FI(),o=ei(),a=io(),s=Yd(),l=lf(),c=Ia(),d=TypeError,h=function(g,S){this.stopped=g,this.result=S},p=h.prototype;return eE=function(g,S,E){var _=E&&E.that,w=!!(E&&E.AS_ENTRIES),b=!!(E&&E.IS_RECORD),x=!!(E&&E.IS_ITERATOR),A=!!(E&&E.INTERRUPTED),R=e(S,_),O,m,k,D,V,F,G,Y=function(J){return O&&c(O,"normal"),new h(!0,J)},X=function(J){return w?(r(J),A?R(J[0],J[1],Y):R(J[0],J[1])):A?R(J,Y):R(J)};if(b)O=g.iterator;else if(x)O=g;else{if(m=l(g),!m)throw new d(n(g)+" is not iterable");if(i(m)){for(k=0,D=o(g);D>k;k++)if(V=X(g[k]),V&&a(p,V))return V;return new h(!1)}O=s(g,m)}for(F=b?g.next:O.next;!(G=t(F,O)).done;){try{V=X(G.value)}catch(J){c(O,"throw",J)}if(typeof V=="object"&&V&&a(p,V))return V}return new h(!1)},eE}var d5;function bue(){if(d5)return n5;d5=1;var e=Ue(),t=io(),r=ao(),n=Ys(),i=Gd(),o=xa(),a=Ra(),s=es(),l=EJ(),c=MI(),d=sa(),h=Kd(),p=Kr(),g=p("toStringTag"),S=Error,E=[].push,_=function(x,A){var R=t(w,this),O;n?O=n(new S,R?r(this):w):(O=R?this:o(w),a(O,g,"Error")),A!==void 0&&a(O,"message",h(A)),c(O,_,O.stack,1),arguments.length>2&&l(O,arguments[2]);var m=[];return d(x,E,{that:m}),a(O,"errors",m),O};n?n(_,S):i(_,S,{name:!0});var w=_.prototype=o(S.prototype,{constructor:s(1,_),message:s(1,""),name:s(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:_}),n5}var h5;function Cue(){return h5||(h5=1,bue()),r5}var p5={},v5;function Tue(){if(v5)return p5;v5=1;var e=Ue(),t=hn(),r=is(),n=qt(),i=bJ(),o="AggregateError",a=t(o),s=!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:s},{AggregateError:i(o,function(l){return function(d,h){return r(l,this,arguments)}},s,!0)}),p5}var g5={},m5;function Aue(){if(m5)return g5;m5=1;var e=Ue(),t=er(),r=io(),n=ao(),i=Ys(),o=Gd(),a=xa(),s=Ra(),l=es(),c=MI(),d=Kd(),h=Kr(),p=qt(),g=In(),S=t.SuppressedError,E=h("toStringTag"),_=Error,w=!!S&&S.length!==3,b=!!S&&p(function(){return new S(1,2,3,{cause:4}).cause===4}),x=w||b,A=function(m,k,D){var V=r(R,this),F;return i?F=x&&(!V||n(this)===R)?new S:i(new _,V?n(this):R):(F=V?this:a(R),s(F,E,"Error")),D!==void 0&&s(F,"message",d(D)),c(F,A,F.stack,1),s(F,"error",m),s(F,"suppressed",k),F};i?i(A,_):o(A,_,{name:!0});var R=A.prototype=x?S.prototype:a(_.prototype,{constructor:l(1,A),message:l(1,""),name:l(1,"SuppressedError")});return x&&!g&&(R.constructor=A),e({global:!0,constructor:!0,arity:3,forced:x},{SuppressedError:A}),g5}var y5={},tE,_5;function Do(){if(_5)return tE;_5=1;var e=Kr(),t=xa(),r=_i().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),tE=function(o){i[n][o]=!0},tE}var S5;function Rue(){if(S5)return y5;S5=1;var e=Ue(),t=Rn(),r=ei(),n=Ui(),i=Do();return e({target:"Array",proto:!0},{at:function(a){var s=t(this),l=r(s),c=n(a),d=c>=0?c:l+c;return d<0||d>=l?void 0:s[d]}}),i("at"),y5}var E5={},rE,w5;function cf(){if(w5)return rE;w5=1;var e=TypeError,t=9007199254740991;return rE=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},rE}var nE,b5;function al(){if(b5)return nE;b5=1;var e=Dr(),t=_i(),r=es();return nE=function(n,i,o){e?t.f(n,i,r(0,o)):n[i]=o},nE}var iE,C5;function Gp(){if(C5)return iE;C5=1;var e=qt(),t=Kr(),r=yu(),n=t("species");return iE=function(i){return r>=51||!e(function(){var o=[],a=o.constructor={};return a[n]=function(){return{foo:1}},o[i](Boolean).foo!==1})},iE}var T5;function xue(){if(T5)return E5;T5=1;var e=Ue(),t=qt(),r=Xl(),n=Gr(),i=Rn(),o=ei(),a=cf(),s=al(),l=zp(),c=Gp(),d=Kr(),h=yu(),p=d("isConcatSpreadable"),g=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=!g||!c("concat");return e({target:"Array",proto:!0,arity:1,forced:E},{concat:function(w){var b=i(this),x=l(b,0),A=0,R,O,m,k,D;for(R=-1,m=arguments.length;R<m;R++)if(D=R===-1?b:arguments[R],S(D))for(k=o(D),a(A+k),O=0;O<k;O++,A++)O in D&&s(x,A,D[O]);else a(A+1),s(x,A++,D);return x.length=A,x}}),E5}var A5={},aE,R5;function _y(){if(R5)return aE;R5=1;var e=nf(),t=TypeError;return aE=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},aE}var oE,x5;function TJ(){if(x5)return oE;x5=1;var e=Rn(),t=il(),r=ei(),n=_y(),i=Math.min;return oE=[].copyWithin||function(a,s){var l=e(this),c=r(l),d=t(a,c),h=t(s,c),p=arguments.length>2?arguments[2]:void 0,g=i((p===void 0?c:t(p,c))-h,c-d),S=1;for(h<d&&d<h+g&&(S=-1,h+=g-1,d+=g-1);g-- >0;)h in l?l[d]=l[h]:n(l,d),d+=S,h+=S;return l},oE}var O5;function Oue(){if(O5)return A5;O5=1;var e=Ue(),t=TJ(),r=Do();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),A5}var I5={},sE,P5;function ol(){if(P5)return sE;P5=1;var e=qt();return sE=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},sE}var k5;function Iue(){if(k5)return I5;k5=1;var e=Ue(),t=Oa().every,r=ol(),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)}}),I5}var D5={},uE,L5;function jI(){if(L5)return uE;L5=1;var e=Rn(),t=il(),r=ei();return uE=function(i){for(var o=e(this),a=r(o),s=arguments.length,l=t(s>1?arguments[1]:void 0,a),c=s>2?arguments[2]:void 0,d=c===void 0?a:t(c,a);d>l;)o[l++]=i;return o},uE}var N5;function Pue(){if(N5)return D5;N5=1;var e=Ue(),t=jI(),r=Do();return e({target:"Array",proto:!0},{fill:t}),r("fill"),D5}var M5={},$5;function kue(){if($5)return M5;$5=1;var e=Ue(),t=Oa().filter,r=Gp(),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)}}),M5}var F5={},j5;function Due(){if(j5)return F5;j5=1;var e=Ue(),t=Oa().find,r=Do(),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),F5}var U5={},q5;function Lue(){if(q5)return U5;q5=1;var e=Ue(),t=Oa().findIndex,r=Do(),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),U5}var V5={},lE,H5;function Sy(){if(H5)return lE;H5=1;var e=ns(),t=Vd(),r=Rn(),n=ei(),i=function(o){var a=o===1;return function(s,l,c){for(var d=r(s),h=t(d),p=n(h),g=e(l,c),S,E;p-- >0;)if(S=h[p],E=g(S,p,d),E)switch(o){case 0:return S;case 1:return p}return a?-1:void 0}};return lE={findLast:i(0),findLastIndex:i(1)},lE}var B5;function Nue(){if(B5)return V5;B5=1;var e=Ue(),t=Sy().findLast,r=Do();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),V5}var z5={},W5;function Mue(){if(W5)return z5;W5=1;var e=Ue(),t=Sy().findLastIndex,r=Do();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),z5}var G5={},cE,K5;function AJ(){if(K5)return cE;K5=1;var e=Xl(),t=ei(),r=cf(),n=ns(),i=function(o,a,s,l,c,d,h,p){for(var g=c,S=0,E=h?n(h,p):!1,_,w;S<l;)S in s&&(_=E?E(s[S],S,a):s[S],d>0&&e(_)?(w=t(_),g=i(o,a,_,w,g,d-1)-1):(r(g+1),o[g]=_),g++),S++;return g};return cE=i,cE}var Y5;function $ue(){if(Y5)return G5;Y5=1;var e=Ue(),t=AJ(),r=Rn(),n=ei(),i=Ui(),o=zp();return e({target:"Array",proto:!0},{flat:function(){var s=arguments.length?arguments[0]:void 0,l=r(this),c=n(l),d=o(l,0);return d.length=t(d,l,l,c,0,s===void 0?1:i(s)),d}}),G5}var X5={},Q5;function Fue(){if(Q5)return X5;Q5=1;var e=Ue(),t=AJ(),r=pn(),n=Rn(),i=ei(),o=zp();return e({target:"Array",proto:!0},{flatMap:function(s){var l=n(this),c=i(l),d;return r(s),d=o(l,0),d.length=t(d,l,l,c,0,1,s,arguments.length>1?arguments[1]:void 0),d}}),X5}var Z5={},fE,J5;function RJ(){if(J5)return fE;J5=1;var e=Oa().forEach,t=ol(),r=t("forEach");return fE=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},fE}var eN;function jue(){if(eN)return Z5;eN=1;var e=Ue(),t=RJ();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),Z5}var tN={},dE,rN;function UI(){if(rN)return dE;rN=1;var e=Tr(),t=Ia();return dE=function(r,n,i,o){try{return o?n(e(i)[0],i[1]):n(i)}catch(a){t(r,"throw",a)}},dE}var hE,nN;function xJ(){if(nN)return hE;nN=1;var e=ns(),t=Sr(),r=Rn(),n=UI(),i=FI(),o=sf(),a=ei(),s=al(),l=Yd(),c=lf(),d=Array;return hE=function(p){var g=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 b=c(g),x=0,A,R,O,m,k,D;if(b&&!(this===d&&i(b)))for(R=S?new this:[],m=l(g,b),k=m.next;!(O=t(k,m)).done;x++)D=w?n(m,_,[O.value,x],!0):O.value,s(R,x,D);else for(A=a(g),R=S?new this(A):d(A);A>x;x++)D=w?_(g[x],x):g[x],s(R,x,D);return R.length=x,R},hE}var pE,iN;function Ey(){if(iN)return pE;iN=1;var e=Kr(),t=e("iterator"),r=!1;try{var n=0,i={next:function(){return{done:!!n++}},return:function(){r=!0}};i[t]=function(){return this},Array.from(i,function(){throw 2})}catch{}return pE=function(o,a){try{if(!a&&!r)return!1}catch{return!1}var s=!1;try{var l={};l[t]=function(){return{next:function(){return{done:s=!0}}}},o(l)}catch{}return s},pE}var aN;function Uue(){if(aN)return tN;aN=1;var e=Ue(),t=xJ(),r=Ey(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),tN}var oN={},sN;function que(){if(sN)return oN;sN=1;var e=Ue(),t=Vp().includes,r=qt(),n=Do(),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"),oN}var uN={},lN;function Vue(){if(lN)return uN;lN=1;var e=Ue(),t=of(),r=Vp().indexOf,n=ol(),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 c=arguments.length>1?arguments[1]:void 0;return o?i(this,l,c)||0:r(this,l,c)}}),uN}var cN={},fN;function Hue(){if(fN)return cN;fN=1;var e=Ue(),t=Xl();return e({target:"Array",stat:!0},{isArray:t}),cN}var vE,dN;function Xd(){if(dN)return vE;dN=1;var e=qt(),t=gn(),r=Gr(),n=xa(),i=ao(),o=Gn(),a=Kr(),s=In(),l=a("iterator"),c=!1,d,h,p;[].keys&&(p=[].keys(),"next"in p?(h=i(i(p)),h!==Object.prototype&&(d=h)):c=!0);var g=!r(d)||e(function(){var S={};return d[l].call(S)!==S});return g?d={}:s&&(d=n(d)),t(d[l])||o(d,l,function(){return this}),vE={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c},vE}var gE,hN;function qI(){if(hN)return gE;hN=1;var e=Xd().IteratorPrototype,t=xa(),r=es(),n=ko(),i=Wp(),o=function(){return this};return gE=function(a,s,l,c){var d=s+" Iterator";return a.prototype=t(e,{next:r(+!c,l)}),n(a,d,!1,!0),i[d]=o,a},gE}var mE,pN;function VI(){if(pN)return mE;pN=1;var e=Ue(),t=Sr(),r=In(),n=Wd(),i=gn(),o=qI(),a=ao(),s=Ys(),l=ko(),c=Ra(),d=Gn(),h=Kr(),p=Wp(),g=Xd(),S=n.PROPER,E=n.CONFIGURABLE,_=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",A="values",R="entries",O=function(){return this};return mE=function(m,k,D,V,F,G,Y){o(D,k,V);var X=function(Se){if(Se===F&&L)return L;if(!w&&Se&&Se in ue)return ue[Se];switch(Se){case x:return function(){return new D(this,Se)};case A:return function(){return new D(this,Se)};case R:return function(){return new D(this,Se)}}return function(){return new D(this)}},J=k+" Iterator",Z=!1,ue=m.prototype,H=ue[b]||ue["@@iterator"]||F&&ue[F],L=!w&&H||X(F),j=k==="Array"&&ue.entries||H,te,ee,de;if(j&&(te=a(j.call(new m)),te!==Object.prototype&&te.next&&(!r&&a(te)!==_&&(s?s(te,_):i(te[b])||d(te,b,O)),l(te,J,!0,!0),r&&(p[J]=O))),S&&F===A&&H&&H.name!==A&&(!r&&E?c(ue,"name",A):(Z=!0,L=function(){return t(H,this)})),F)if(ee={values:X(A),keys:G?L:X(x),entries:X(R)},Y)for(de in ee)(w||Z||!(de in ue))&&d(ue,de,ee[de]);else e({target:k,proto:!0,forced:w||Z},ee);return(!r||Y)&&ue[b]!==L&&d(ue,b,L,{name:F}),p[k]=L,ee},mE}var yE,vN;function ff(){return vN||(vN=1,yE=function(e,t){return{value:e,done:t}}),yE}var _E,gN;function wy(){if(gN)return _E;gN=1;var e=ga(),t=Do(),r=Wp(),n=Mi(),i=_i().f,o=VI(),a=ff(),s=In(),l=Dr(),c="Array Iterator",d=n.set,h=n.getterFor(c);_E=o(Array,"Array",function(g,S){d(this,{type:c,target:e(g),index:0,kind:S})},function(){var g=h(this),S=g.target,E=g.index++;if(!S||E>=S.length)return g.target=null,a(void 0,!0);switch(g.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"),!s&&l&&p.name!=="values")try{i(p,"name",{value:"values"})}catch{}return _E}var mN={},yN;function Bue(){if(yN)return mN;yN=1;var e=Ue(),t=Wt(),r=Vd(),n=ga(),i=ol(),o=t([].join),a=r!==Object,s=a||!i("join",",");return e({target:"Array",proto:!0,forced:s},{join:function(c){return o(n(this),c===void 0?",":c)}}),mN}var _N={},SE,SN;function OJ(){if(SN)return SE;SN=1;var e=is(),t=ga(),r=Ui(),n=ei(),i=ol(),o=Math.min,a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,l=i("lastIndexOf"),c=s||!l;return SE=c?function(h){if(s)return e(a,this,arguments)||0;var p=t(this),g=n(p);if(g===0)return-1;var S=g-1;for(arguments.length>1&&(S=o(S,r(arguments[1]))),S<0&&(S=g+S);S>=0;S--)if(S in p&&p[S]===h)return S||0;return-1}:a,SE}var EN;function zue(){if(EN)return _N;EN=1;var e=Ue(),t=OJ();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),_N}var wN={},bN;function Wue(){if(bN)return wN;bN=1;var e=Ue(),t=Oa().map,r=Gp(),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)}}),wN}var CN={},TN;function Gue(){if(TN)return CN;TN=1;var e=Ue(),t=qt(),r=sf(),n=al(),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 s=0,l=arguments.length,c=new(r(this)?this:i)(l);l>s;)n(c,s,arguments[s++]);return c.length=l,c}}),CN}var AN={},EE,RN;function HI(){if(RN)return EE;RN=1;var e=Dr(),t=Xl(),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 EE=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},EE}var xN;function Kue(){if(xN)return AN;xN=1;var e=Ue(),t=Rn(),r=ei(),n=HI(),i=cf(),o=qt(),a=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},l=a||!s();return e({target:"Array",proto:!0,arity:1,forced:l},{push:function(d){var h=t(this),p=r(h),g=arguments.length;i(p+g);for(var S=0;S<g;S++)h[p]=arguments[S],p++;return n(h,p),p}}),AN}var ON={},wE,IN;function by(){if(IN)return wE;IN=1;var e=pn(),t=Rn(),r=Vd(),n=ei(),i=TypeError,o="Reduce of empty array with no initial value",a=function(s){return function(l,c,d,h){var p=t(l),g=r(p),S=n(p);if(e(c),S===0&&d<2)throw new i(o);var E=s?S-1:0,_=s?-1:1;if(d<2)for(;;){if(E in g){h=g[E],E+=_;break}if(E+=_,s?E<0:S<=E)throw new i(o)}for(;s?E>=0:S>E;E+=_)E in g&&(h=c(h,g[E],E,p));return h}};return wE={left:a(!1),right:a(!0)},wE}var bE,PN;function Cy(){if(PN)return bE;PN=1;var e=er(),t=mu(),r=Ua(),n=function(i){return t.slice(0,i.length)===i};return bE=(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"})(),bE}var CE,kN;function Qd(){if(kN)return CE;kN=1;var e=Cy();return CE=e==="NODE",CE}var DN;function Yue(){if(DN)return ON;DN=1;var e=Ue(),t=by().left,r=ol(),n=yu(),i=Qd(),o=!i&&n>79&&n<83,a=o||!r("reduce");return e({target:"Array",proto:!0,forced:a},{reduce:function(l){var c=arguments.length;return t(this,l,c,c>1?arguments[1]:void 0)}}),ON}var LN={},NN;function Xue(){if(NN)return LN;NN=1;var e=Ue(),t=by().right,r=ol(),n=yu(),i=Qd(),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)}}),LN}var MN={},$N;function Que(){if($N)return MN;$N=1;var e=Ue(),t=Wt(),r=Xl(),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)}}),MN}var FN={},jN;function Zue(){if(jN)return FN;jN=1;var e=Ue(),t=Xl(),r=sf(),n=Gr(),i=il(),o=ei(),a=ga(),s=al(),l=Kr(),c=Gp(),d=Ps(),h=c("slice"),p=l("species"),g=Array,S=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(_,w){var b=a(this),x=o(b),A=i(_,x),R=i(w===void 0?x:w,x),O,m,k;if(t(b)&&(O=b.constructor,r(O)&&(O===g||t(O.prototype))?O=void 0:n(O)&&(O=O[p],O===null&&(O=void 0)),O===g||O===void 0))return d(b,A,R);for(m=new(O===void 0?g:O)(S(R-A,0)),k=0;A<R;A++,k++)A in b&&s(m,k,b[A]);return m.length=k,m}}),FN}var UN={},qN;function Jue(){if(qN)return UN;qN=1;var e=Ue(),t=Oa().some,r=ol(),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)}}),UN}var VN={},TE,HN;function BI(){if(HN)return TE;HN=1;var e=Ps(),t=Math.floor,r=function(n,i){var o=n.length;if(o<8)for(var a=1,s,l;a<o;){for(l=a,s=n[a];l&&i(n[l-1],s)>0;)n[l]=n[--l];l!==a++&&(n[l]=s)}else for(var c=t(o/2),d=r(e(n,0,c),i),h=r(e(n,c),i),p=d.length,g=h.length,S=0,E=0;S<p||E<g;)n[S+E]=S<p&&E<g?i(d[S],h[E])<=0?d[S++]:h[E++]:S<p?d[S++]:h[E++];return n};return TE=r,TE}var AE,BN;function IJ(){if(BN)return AE;BN=1;var e=mu(),t=e.match(/firefox\/(\d+)/i);return AE=!!t&&+t[1],AE}var RE,zN;function PJ(){if(zN)return RE;zN=1;var e=mu();return RE=/MSIE|Trident/.test(e),RE}var xE,WN;function zI(){if(WN)return xE;WN=1;var e=mu(),t=e.match(/AppleWebKit\/(\d+)\./);return xE=!!t&&+t[1],xE}var GN;function ele(){if(GN)return VN;GN=1;var e=Ue(),t=Wt(),r=pn(),n=Rn(),i=ei(),o=_y(),a=tn(),s=qt(),l=BI(),c=ol(),d=IJ(),h=PJ(),p=yu(),g=zI(),S=[],E=t(S.sort),_=t(S.push),w=s(function(){S.sort(void 0)}),b=s(function(){S.sort(null)}),x=c("sort"),A=!s(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(g)return g<603;var m="",k,D,V,F;for(k=65;k<76;k++){switch(D=String.fromCharCode(k),k){case 66:case 69:case 70:case 72:V=3;break;case 68:case 71:V=4;break;default:V=2}for(F=0;F<47;F++)S.push({k:D+F,v:V})}for(S.sort(function(G,Y){return Y.v-G.v}),F=0;F<S.length;F++)D=S[F].k.charAt(0),m.charAt(m.length-1)!==D&&(m+=D);return m!=="DGBEFHACIJK"}}),R=w||!b||!x||!A,O=function(m){return function(k,D){return D===void 0?-1:k===void 0?1:m!==void 0?+m(k,D)||0:a(k)>a(D)?1:-1}};return e({target:"Array",proto:!0,forced:R},{sort:function(k){k!==void 0&&r(k);var D=n(this);if(A)return k===void 0?E(D):E(D,k);var V=[],F=i(D),G,Y;for(Y=0;Y<F;Y++)Y in D&&_(V,D[Y]);for(l(V,O(k)),G=i(V),Y=0;Y<G;)D[Y]=V[Y++];for(;Y<F;)o(D,Y++);return D}}),VN}var KN={},OE,YN;function Zd(){if(YN)return OE;YN=1;var e=hn(),t=zi(),r=Kr(),n=Dr(),i=r("species");return OE=function(o){var a=e(o);n&&a&&!a[i]&&t(a,i,{configurable:!0,get:function(){return this}})},OE}var XN;function tle(){if(XN)return KN;XN=1;var e=Zd();return e("Array"),KN}var QN={},ZN;function rle(){if(ZN)return QN;ZN=1;var e=Ue(),t=Rn(),r=il(),n=Ui(),i=ei(),o=HI(),a=cf(),s=zp(),l=al(),c=_y(),d=Gp(),h=d("splice"),p=Math.max,g=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(E,_){var w=t(this),b=i(w),x=r(E,b),A=arguments.length,R,O,m,k,D,V;for(A===0?R=O=0:A===1?(R=0,O=b-x):(R=A-2,O=g(p(n(_),0),b-x)),a(b+R-O),m=s(w,O),k=0;k<O;k++)D=x+k,D in w&&l(m,k,w[D]);if(m.length=O,R<O){for(k=x;k<b-O;k++)D=k+O,V=k+R,D in w?w[V]=w[D]:c(w,V);for(k=b;k>b-O+R;k--)c(w,k-1)}else if(R>O)for(k=b-O;k>x;k--)D=k+O-1,V=k+R-1,D in w?w[V]=w[D]:c(w,V);for(k=0;k<R;k++)w[k+x]=arguments[k+2];return o(w,b-O+R),m}}),QN}var JN={},IE,eM;function kJ(){if(eM)return IE;eM=1;var e=ei();return IE=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},IE}var tM;function nle(){if(tM)return JN;tM=1;var e=Ue(),t=kJ(),r=ga(),n=Do(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),JN}var rM={},PE,nM;function Kp(){if(nM)return PE;nM=1;var e=ei();return PE=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},PE}var kE,iM;function DJ(){if(iM)return kE;iM=1;var e=er();return kE=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},kE}var aM;function ile(){if(aM)return rM;aM=1;var e=Ue(),t=Wt(),r=pn(),n=ga(),i=Kp(),o=DJ(),a=Do(),s=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(s,h);return l(p,d)}}),a("toSorted"),rM}var oM={},sM;function ale(){if(sM)return oM;sM=1;var e=Ue(),t=Do(),r=cf(),n=ei(),i=il(),o=ga(),a=Ui(),s=Array,l=Math.max,c=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,p){var g=o(this),S=n(g),E=i(h,S),_=arguments.length,w=0,b,x,A,R;for(_===0?b=x=0:_===1?(b=0,x=S-E):(b=_-2,x=c(l(a(p),0),S-E)),A=r(S+b-x),R=s(A);w<E;w++)R[w]=g[w];for(;w<E+b;w++)R[w]=arguments[w-E+2];for(;w<A;w++)R[w]=g[w+x-b];return R}}),t("toSpliced"),oM}var uM={},lM;function ole(){if(lM)return uM;lM=1;var e=Do();return e("flat"),uM}var cM={},fM;function sle(){if(fM)return cM;fM=1;var e=Do();return e("flatMap"),cM}var dM={},hM;function ule(){if(hM)return dM;hM=1;var e=Ue(),t=Rn(),r=ei(),n=HI(),i=_y(),o=cf(),a=[].unshift(0)!==1,s=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(c){return c instanceof TypeError}},l=a||!s();return e({target:"Array",proto:!0,arity:1,forced:l},{unshift:function(d){var h=t(this),p=r(h),g=arguments.length;if(g){o(p+g);for(var S=p;S--;){var E=S+g;S in h?h[E]=h[S]:i(h,E)}for(var _=0;_<g;_++)h[_]=arguments[_]}return n(h,p+g)}}),dM}var pM={},DE,vM;function LJ(){if(vM)return DE;vM=1;var e=ei(),t=Ui(),r=RangeError;return DE=function(n,i,o,a){var s=e(n),l=t(o),c=l<0?s+l:l;if(c>=s||c<0)throw new r("Incorrect index");for(var d=new i(s),h=0;h<s;h++)d[h]=h===c?a:n[h];return d},DE}var gM;function lle(){if(gM)return pM;gM=1;var e=Ue(),t=LJ(),r=ga(),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)}}),pM}var mM={},LE,yM;function Ty(){return yM||(yM=1,LE=typeof ArrayBuffer<"u"&&typeof DataView<"u"),LE}var NE,_M;function sl(){if(_M)return NE;_M=1;var e=Gn();return NE=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},NE}var ME,SM;function as(){if(SM)return ME;SM=1;var e=io(),t=TypeError;return ME=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},ME}var $E,EM;function Ay(){if(EM)return $E;EM=1;var e=Ui(),t=ts(),r=RangeError;return $E=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},$E}var FE,wM;function WI(){return wM||(wM=1,FE=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),FE}var jE,bM;function NJ(){if(bM)return jE;bM=1;var e=2220446049250313e-31,t=1/e;return jE=function(r){return r+t-t},jE}var UE,CM;function MJ(){if(CM)return UE;CM=1;var e=WI(),t=NJ(),r=Math.abs,n=2220446049250313e-31;return UE=function(i,o,a,s){var l=+i,c=r(l),d=e(l);if(c<s)return d*t(c/s/o)*s*o;var h=(1+o/n)*c,p=h-(h-c);return p>a||p!==p?d*(1/0):d*p},UE}var qE,TM;function $J(){if(TM)return qE;TM=1;var e=MJ(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return qE=Math.fround||function(o){return e(o,t,r,n)},qE}var VE,AM;function cle(){if(AM)return VE;AM=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,o=Math.LN2,a=function(l,c,d){var h=e(d),p=d*8-c-1,g=(1<<p)-1,S=g>>1,E=c===23?r(2,-24)-r(2,-77):0,_=l<0||l===0&&1/l<0?1:0,w=0,b,x,A;for(l=t(l),l!==l||l===1/0?(x=l!==l?1:0,b=g):(b=n(i(l)/o),A=r(2,-b),l*A<1&&(b--,A*=2),b+S>=1?l+=E/A:l+=E*r(2,1-S),l*A>=2&&(b++,A/=2),b+S>=g?(x=0,b=g):b+S>=1?(x=(l*A-1)*r(2,c),b+=S):(x=l*r(2,S-1)*r(2,c),b=0));c>=8;)h[w++]=x&255,x/=256,c-=8;for(b=b<<c|x,p+=c;p>0;)h[w++]=b&255,b/=256,p-=8;return h[w-1]|=_*128,h},s=function(l,c){var d=l.length,h=d*8-c-1,p=(1<<h)-1,g=p>>1,S=h-7,E=d-1,_=l[E--],w=_&127,b;for(_>>=7;S>0;)w=w*256+l[E--],S-=8;for(b=w&(1<<-S)-1,w>>=-S,S+=c;S>0;)b=b*256+l[E--],S-=8;if(w===0)w=1-g;else{if(w===p)return b?NaN:_?-1/0:1/0;b+=r(2,c),w-=g}return(_?-1:1)*b*r(2,w-c)};return VE={pack:a,unpack:s},VE}var HE,RM;function Ry(){if(RM)return HE;RM=1;var e=er(),t=Wt(),r=Dr(),n=Ty(),i=Wd(),o=Ra(),a=zi(),s=sl(),l=qt(),c=as(),d=Ui(),h=ts(),p=Ay(),g=$J(),S=cle(),E=ao(),_=Ys(),w=jI(),b=Ps(),x=uf(),A=Gd(),R=ko(),O=Mi(),m=i.PROPER,k=i.CONFIGURABLE,D="ArrayBuffer",V="DataView",F="prototype",G="Wrong length",Y="Wrong index",X=O.getterFor(D),J=O.getterFor(V),Z=O.set,ue=e[D],H=ue,L=H&&H[F],j=e[V],te=j&&j[F],ee=Object.prototype,de=e.Array,Se=e.RangeError,Ae=t(w),se=t([].reverse),I=S.pack,P=S.unpack,q=function(be){return[be&255]},N=function(be){return[be&255,be>>8&255]},B=function(be){return[be&255,be>>8&255,be>>16&255,be>>24&255]},re=function(be){return be[3]<<24|be[2]<<16|be[1]<<8|be[0]},ce=function(be){return I(g(be),23,4)},we=function(be){return I(be,52,8)},_e=function(be,Ce,Le){a(be[F],Ce,{configurable:!0,get:function(){return Le(this)[Ce]}})},Oe=function(be,Ce,Le,Ve){var qe=J(be),Ge=p(Le),ct=!!Ve;if(Ge+Ce>qe.byteLength)throw new Se(Y);var jt=qe.bytes,zt=Ge+qe.byteOffset,Ze=b(jt,zt,zt+Ce);return ct?Ze:se(Ze)},Te=function(be,Ce,Le,Ve,qe,Ge){var ct=J(be),jt=p(Le),zt=Ve(+qe),Ze=!!Ge;if(jt+Ce>ct.byteLength)throw new Se(Y);for(var Tt=ct.bytes,_t=jt+ct.byteOffset,st=0;st<Ce;st++)Tt[_t+st]=zt[Ze?st:Ce-st-1]};if(!n)H=function(Ce){c(this,L);var Le=p(Ce);Z(this,{type:D,bytes:Ae(de(Le),0),byteLength:Le}),r||(this.byteLength=Le,this.detached=!1)},L=H[F],j=function(Ce,Le,Ve){c(this,te),c(Ce,L);var qe=X(Ce),Ge=qe.byteLength,ct=d(Le);if(ct<0||ct>Ge)throw new Se("Wrong offset");if(Ve=Ve===void 0?Ge-ct:h(Ve),ct+Ve>Ge)throw new Se(G);Z(this,{type:V,buffer:Ce,byteLength:Ve,byteOffset:ct,bytes:qe.bytes}),r||(this.buffer=Ce,this.byteLength=Ve,this.byteOffset=ct)},te=j[F],r&&(_e(H,"byteLength",X),_e(j,"buffer",J),_e(j,"byteLength",J),_e(j,"byteOffset",J)),s(te,{getInt8:function(Ce){return Oe(this,1,Ce)[0]<<24>>24},getUint8:function(Ce){return Oe(this,1,Ce)[0]},getInt16:function(Ce){var Le=Oe(this,2,Ce,arguments.length>1?arguments[1]:!1);return(Le[1]<<8|Le[0])<<16>>16},getUint16:function(Ce){var Le=Oe(this,2,Ce,arguments.length>1?arguments[1]:!1);return Le[1]<<8|Le[0]},getInt32:function(Ce){return re(Oe(this,4,Ce,arguments.length>1?arguments[1]:!1))},getUint32:function(Ce){return re(Oe(this,4,Ce,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Ce){return P(Oe(this,4,Ce,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Ce){return P(Oe(this,8,Ce,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Ce,Le){Te(this,1,Ce,q,Le)},setUint8:function(Ce,Le){Te(this,1,Ce,q,Le)},setInt16:function(Ce,Le){Te(this,2,Ce,N,Le,arguments.length>2?arguments[2]:!1)},setUint16:function(Ce,Le){Te(this,2,Ce,N,Le,arguments.length>2?arguments[2]:!1)},setInt32:function(Ce,Le){Te(this,4,Ce,B,Le,arguments.length>2?arguments[2]:!1)},setUint32:function(Ce,Le){Te(this,4,Ce,B,Le,arguments.length>2?arguments[2]:!1)},setFloat32:function(Ce,Le){Te(this,4,Ce,ce,Le,arguments.length>2?arguments[2]:!1)},setFloat64:function(Ce,Le){Te(this,8,Ce,we,Le,arguments.length>2?arguments[2]:!1)}});else{var Ie=m&&ue.name!==D;!l(function(){ue(1)})||!l(function(){new ue(-1)})||l(function(){return new ue,new ue(1.5),new ue(NaN),ue.length!==1||Ie&&!k})?(H=function(Ce){return c(this,L),x(new ue(p(Ce)),this,H)},H[F]=L,L.constructor=H,A(H,ue)):Ie&&k&&o(ue,"name",D),_&&E(te)!==ee&&_(te,ee);var $e=new j(new H(2)),ge=t(te.setInt8);$e.setInt8(0,2147483648),$e.setInt8(1,2147483649),($e.getInt8(0)||!$e.getInt8(1))&&s(te,{setInt8:function(Ce,Le){ge(this,Ce,Le<<24>>24)},setUint8:function(Ce,Le){ge(this,Ce,Le<<24>>24)}},{unsafe:!0})}return R(H,D),R(j,V),HE={ArrayBuffer:H,DataView:j},HE}var xM;function fle(){if(xM)return mM;xM=1;var e=Ue(),t=er(),r=Ry(),n=Zd(),i="ArrayBuffer",o=r[i],a=t[i];return e({global:!0,constructor:!0,forced:a!==o},{ArrayBuffer:o}),n(i),mM}var OM={},BE,IM;function mn(){if(IM)return BE;IM=1;var e=Ty(),t=Dr(),r=er(),n=gn(),i=Gr(),o=vn(),a=rs(),s=nf(),l=Ra(),c=Gn(),d=zi(),h=io(),p=ao(),g=Ys(),S=Kr(),E=zd(),_=Mi(),w=_.enforce,b=_.get,x=r.Int8Array,A=x&&x.prototype,R=r.Uint8ClampedArray,O=R&&R.prototype,m=x&&p(x),k=A&&p(A),D=Object.prototype,V=r.TypeError,F=S("toStringTag"),G=E("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",X=e&&!!g&&a(r.opera)!=="Opera",J=!1,Z,ue,H,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},te=function(q){if(!i(q))return!1;var N=a(q);return N==="DataView"||o(L,N)||o(j,N)},ee=function(P){var q=p(P);if(i(q)){var N=b(q);return N&&o(N,Y)?N[Y]:ee(q)}},de=function(P){if(!i(P))return!1;var q=a(P);return o(L,q)||o(j,q)},Se=function(P){if(de(P))return P;throw new V("Target is not a typed array")},Ae=function(P){if(n(P)&&(!g||h(m,P)))return P;throw new V(s(P)+" is not a typed array constructor")},se=function(P,q,N,B){if(t){if(N)for(var re in L){var ce=r[re];if(ce&&o(ce.prototype,P))try{delete ce.prototype[P]}catch{try{ce.prototype[P]=q}catch{}}}(!k[P]||N)&&c(k,P,N?q:X&&A[P]||q,B)}},I=function(P,q,N){var B,re;if(t){if(g){if(N){for(B in L)if(re=r[B],re&&o(re,P))try{delete re[P]}catch{}}if(!m[P]||N)try{return c(m,P,N?q:X&&m[P]||q)}catch{}else return}for(B in L)re=r[B],re&&(!re[P]||N)&&c(re,P,q)}};for(Z in L)ue=r[Z],H=ue&&ue.prototype,H?w(H)[Y]=ue:X=!1;for(Z in j)ue=r[Z],H=ue&&ue.prototype,H&&(w(H)[Y]=ue);if((!X||!n(m)||m===Function.prototype)&&(m=function(){throw new V("Incorrect invocation")},X))for(Z in L)r[Z]&&g(r[Z],m);if((!X||!k||k===D)&&(k=m.prototype,X))for(Z in L)r[Z]&&g(r[Z].prototype,k);if(X&&p(O)!==k&&g(O,k),t&&!o(k,F)){J=!0,d(k,F,{configurable:!0,get:function(){return i(this)?this[G]:void 0}});for(Z in L)r[Z]&&l(r[Z],G,Z)}return BE={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:J&&G,aTypedArray:Se,aTypedArrayConstructor:Ae,exportTypedArrayMethod:se,exportTypedArrayStaticMethod:I,getTypedArrayConstructor:ee,isView:te,isTypedArray:de,TypedArray:m,TypedArrayPrototype:k},BE}var PM;function dle(){if(PM)return OM;PM=1;var e=Ue(),t=mn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),OM}var kM={},DM;function hle(){if(DM)return kM;DM=1;var e=Ue(),t=of(),r=qt(),n=Ry(),i=Tr(),o=il(),a=ts(),s=n.ArrayBuffer,l=n.DataView,c=l.prototype,d=t(s.prototype.slice),h=t(c.getUint8),p=t(c.setUint8),g=r(function(){return!new s(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(E,_){if(d&&_===void 0)return d(i(this),E);for(var w=i(this).byteLength,b=o(E,w),x=o(_===void 0?w:_,w),A=new s(a(x-b)),R=new l(this),O=new l(A),m=0;b<x;)p(O,m++,h(R,b++));return A}}),kM}var LM={},NM={},MM;function ple(){if(MM)return NM;MM=1;var e=Ue(),t=Ry(),r=Ty();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),NM}var $M;function vle(){return $M||($M=1,ple()),LM}var FM={},jM;function gle(){if(jM)return FM;jM=1;var e=Ue(),t=Wt(),r=Math.pow,n=31,i=1023,o=r(2,-24),a=.0009765625,s=function(c){var d=c>>>15,h=c>>>10&n,p=c&i;return h===n?p===0?d===0?1/0:-1/0:NaN:h===0?p*(d===0?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 s(l(this,d,arguments.length>1?arguments[1]:!1))}}),FM}var UM={},zE,qM;function mle(){if(qM)return zE;qM=1;var e=rs(),t=TypeError;return zE=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},zE}var WE,VM;function FJ(){if(VM)return WE;VM=1;var e=Math.log,t=Math.LN2;return WE=Math.log2||function(n){return e(n)/t},WE}var HM;function yle(){if(HM)return UM;HM=1;var e=Ue(),t=Wt(),r=mle(),n=Ay(),i=FJ(),o=NJ(),a=Math.pow,s=65520,l=61005353927612305e-21,c=16777216,d=1024,h=function(g){if(g!==g)return 32256;if(g===0)return(1/g===-1/0)<<15;var S=g<0;if(S&&(g=-g),g>=s)return S<<15|31744;if(g<l)return S<<15|o(g*c);var E=i(g)|0;if(E===-15)return S<<15|d;var _=o((g*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)}}),UM}var BM={},GE,zM;function jJ(){if(zM)return GE;zM=1;var e=er(),t=yy(),r=Ua(),n=e.ArrayBuffer,i=e.TypeError;return GE=n&&t(n.prototype,"byteLength","get")||function(o){if(r(o)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return o.byteLength},GE}var KE,WM;function UJ(){if(WM)return KE;WM=1;var e=er(),t=Ty(),r=jJ(),n=e.DataView;return KE=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},KE}var GM;function _le(){if(GM)return BM;GM=1;var e=Dr(),t=zi(),r=UJ(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),BM}var KM={},YE,YM;function Yp(){if(YM)return YE;YM=1;var e=UJ(),t=TypeError;return YE=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},YE}var XE,XM;function qJ(){if(XM)return XE;XM=1;var e=er(),t=Qd();return XE=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},XE}var QE,QM;function GI(){if(QM)return QE;QM=1;var e=er(),t=qt(),r=yu(),n=Cy(),i=e.structuredClone;return QE=!!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}),QE}var ZE,ZM;function VJ(){if(ZM)return ZE;ZM=1;var e=er(),t=qJ(),r=GI(),n=e.structuredClone,i=e.ArrayBuffer,o=e.MessageChannel,a=!1,s,l,c,d;if(r)a=function(h){n(h,{transfer:[h]})};else if(i)try{o||(s=t("worker_threads"),s&&(o=s.MessageChannel)),o&&(l=new o,c=new i(2),d=function(h){l.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(a=d)))}catch{}return ZE=a,ZE}var JE,JM;function HJ(){if(JM)return JE;JM=1;var e=er(),t=Wt(),r=yy(),n=Ay(),i=Yp(),o=jJ(),a=VJ(),s=GI(),l=e.structuredClone,c=e.ArrayBuffer,d=e.DataView,h=Math.min,p=c.prototype,g=d.prototype,S=t(p.slice),E=r(p,"resizable","get"),_=r(p,"maxByteLength","get"),w=t(g.getInt8),b=t(g.setInt8);return JE=(s||a)&&function(x,A,R){var O=o(x),m=A===void 0?O:n(A),k=!E||!E(x),D;if(i(x),s&&(x=l(x,{transfer:[x]}),O===m&&(R||k)))return x;if(O>=m&&(!R||k))D=S(x,0,m);else{var V=R&&!k&&_?{maxByteLength:_(x)}:void 0;D=new c(m,V);for(var F=new d(x),G=new d(D),Y=h(m,O),X=0;X<Y;X++)b(G,X,w(F,X))}return s||a(x),D},JE}var e8;function Sle(){if(e8)return KM;e8=1;var e=Ue(),t=HJ();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),KM}var t8={},r8;function Ele(){if(r8)return t8;r8=1;var e=Ue(),t=HJ();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),t8}var n8={},i8;function wle(){if(i8)return n8;i8=1;var e=Ue(),t=Wt(),r=qt(),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}}),n8}var a8={},o8;function ble(){if(o8)return a8;o8=1;var e=Ue(),t=Wt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),a8}var s8={},u8;function Cle(){if(u8)return s8;u8=1;var e=Ue(),t=Wt(),r=Ui(),n=Date.prototype,i=t(n.getTime),o=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(s){i(this);var l=r(s),c=l>=0&&l<=99?l+1900:l;return o(this,c)}}),s8}var l8={},c8;function Tle(){if(c8)return l8;c8=1;var e=Ue();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),l8}var f8={},ew,d8;function xy(){if(d8)return ew;d8=1;var e=Ui(),t=tn(),r=Ri(),n=RangeError;return ew=function(o){var a=t(r(this)),s="",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&&(s+=a);return s},ew}var tw,h8;function Oy(){if(h8)return tw;h8=1;var e=Wt(),t=ts(),r=tn(),n=xy(),i=Ri(),o=e(n),a=e("".slice),s=Math.ceil,l=function(c){return function(d,h,p){var g=r(i(d)),S=t(h),E=g.length,_=p===void 0?" ":r(p),w,b;return S<=E||_===""?g:(w=S-E,b=o(_,s(w/_.length)),b.length>w&&(b=a(b,0,w)),c?g+b:b+g)}};return tw={start:l(!1),end:l(!0)},tw}var rw,p8;function Ale(){if(p8)return rw;p8=1;var e=Wt(),t=qt(),r=Oy().start,n=RangeError,i=isFinite,o=Math.abs,a=Date.prototype,s=a.toISOString,l=e(a.getTime),c=e(a.getUTCDate),d=e(a.getUTCFullYear),h=e(a.getUTCHours),p=e(a.getUTCMilliseconds),g=e(a.getUTCMinutes),S=e(a.getUTCMonth),E=e(a.getUTCSeconds);return rw=t(function(){return s.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){s.call(new Date(NaN))})?function(){if(!i(l(this)))throw new n("Invalid time value");var w=this,b=d(w),x=p(w),A=b<0?"-":b>9999?"+":"";return A+r(o(b),A?6:4,0)+"-"+r(S(w)+1,2,0)+"-"+r(c(w),2,0)+"T"+r(h(w),2,0)+":"+r(g(w),2,0)+":"+r(E(w),2,0)+"."+r(x,3,0)+"Z"}:s,rw}var v8;function Rle(){if(v8)return f8;v8=1;var e=Ue(),t=Ale();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),f8}var g8={},m8;function xle(){if(m8)return g8;m8=1;var e=Ue(),t=qt(),r=Rn(),n=hy(),i=t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return e({target:"Date",proto:!0,arity:1,forced:i},{toJSON:function(a){var s=r(this),l=n(s,"number");return typeof l=="number"&&!isFinite(l)?null:s.toISOString()}}),g8}var y8={},nw,_8;function Ole(){if(_8)return nw;_8=1;var e=Tr(),t=sJ(),r=TypeError;return nw=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},nw}var S8;function Ile(){if(S8)return y8;S8=1;var e=vn(),t=Gn(),r=Ole(),n=Kr(),i=n("toPrimitive"),o=Date.prototype;return e(o,i)||t(o,i,r),y8}var E8={},w8;function Ple(){if(w8)return E8;w8=1;var e=Wt(),t=Gn(),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}),E8}var b8={},iw,C8;function BJ(){if(C8)return iw;C8=1;var e=hn(),t=Sr(),r=Wt(),n=ns(),i=Tr(),o=pn(),a=nl(),s=Ta(),l=Kr(),c=l("asyncDispose"),d=l("dispose"),h=r([].push),p=function(S,E){if(E==="async-dispose"){var _=s(S,c);return _!==void 0||(_=s(S,d),_===void 0)?_:function(){var w=this,b=e("Promise");return new b(function(x){t(_,w),x(void 0)})}}return s(S,d)},g=function(S,E,_){return arguments.length<3&&!a(S)&&(_=o(p(i(S),E))),_===void 0?function(){}:n(_,S)};return iw=function(S,E,_,w){var b;if(arguments.length<4){if(a(E)&&_==="sync-dispose")return;b=g(E,_)}else b=g(void 0,_,w);h(S.stack,b)},iw}var T8;function kle(){if(T8)return b8;T8=1;var e=Ue(),t=Dr(),r=hn(),n=pn(),i=as(),o=Gn(),a=sl(),s=zi(),l=Kr(),c=Mi(),d=BJ(),h=r("SuppressedError"),p=ReferenceError,g=l("dispose"),S=l("toStringTag"),E="DisposableStack",_=c.set,w=c.getterFor(E),b="sync-dispose",x="disposed",A="pending",R=function(k){var D=w(k);if(D.state===x)throw new p(E+" already disposed");return D},O=function(){_(i(this,m),{type:E,state:A,stack:[]}),t||(this.disposed=!1)},m=O.prototype;return a(m,{dispose:function(){var D=w(this);if(D.state!==x){D.state=x,t||(this.disposed=!0);for(var V=D.stack,F=V.length,G=!1,Y;F;){var X=V[--F];V[F]=null;try{X()}catch(J){G?Y=new h(J,Y):(G=!0,Y=J)}}if(D.stack=null,G)throw Y}},use:function(D){return d(R(this),D,b),D},adopt:function(D,V){var F=R(this);return n(V),d(F,void 0,b,function(){V(D)}),D},defer:function(D){var V=R(this);n(D),d(V,void 0,b,D)},move:function(){var D=R(this),V=new O;return w(V).stack=D.stack,D.stack=[],D.state=x,t||(this.disposed=!0),V}}),t&&s(m,"disposed",{configurable:!0,get:function(){return w(this).state===x}}),o(m,g,m.dispose,{name:"dispose"}),o(m,S,E,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),b8}var A8={},R8;function Dle(){if(R8)return A8;R8=1;var e=Ue(),t=Wt(),r=tn(),n=t("".charAt),i=t("".charCodeAt),o=t(/./.exec),a=t(1.1.toString),s=t("".toUpperCase),l=/[\w*+\-./@]/,c=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),g="",S=p.length,E=0,_,w;E<S;)_=n(p,E++),o(l,_)?g+=_:(w=i(_,0),w<256?g+="%"+c(w,2):g+="%u"+s(c(w,4)));return g}}),A8}var x8={},aw,O8;function zJ(){if(O8)return aw;O8=1;var e=Wt(),t=pn(),r=Gr(),n=vn(),i=Ps(),o=Up(),a=Function,s=e([].concat),l=e([].join),c={},d=function(h,p,g){if(!n(c,p)){for(var S=[],E=0;E<p;E++)S[E]="a["+E+"]";c[p]=a("C,a","return new C("+l(S,",")+")")}return c[p](h,g)};return aw=o?a.bind:function(p){var g=t(this),S=g.prototype,E=i(arguments,1),_=function(){var b=s(E,i(arguments));return this instanceof _?d(g,b.length,b):g.apply(p,b)};return r(S)&&(_.prototype=S),_},aw}var I8;function Lle(){if(I8)return x8;I8=1;var e=Ue(),t=zJ();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),x8}var P8={},k8;function Nle(){if(k8)return P8;k8=1;var e=gn(),t=Gr(),r=_i(),n=io(),i=Kr(),o=OI(),a=i("hasInstance"),s=Function.prototype;return a in s||r.f(s,a,{value:o(function(l){if(!e(this)||!t(l))return!1;var c=this.prototype;return t(c)?n(c,l):l instanceof this},a)}),P8}var D8={},L8;function Mle(){if(L8)return D8;L8=1;var e=Dr(),t=Wd().EXISTS,r=Wt(),n=zi(),i=Function.prototype,o=r(i.toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=r(a.exec),l="name";return e&&!t&&n(i,l,{configurable:!0,get:function(){try{return s(a,o(this))[1]}catch{return""}}}),D8}var N8={},M8;function $le(){if(M8)return N8;M8=1;var e=Ue(),t=er();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),N8}var $8={},F8;function Fle(){if(F8)return $8;F8=1;var e=Ue(),t=er(),r=as(),n=Tr(),i=gn(),o=ao(),a=zi(),s=al(),l=qt(),c=vn(),d=Kr(),h=Xd().IteratorPrototype,p=Dr(),g=In(),S="constructor",E="Iterator",_=d("toStringTag"),w=TypeError,b=t[E],x=g||!i(b)||b.prototype!==h||!l(function(){b({})}),A=function(){if(r(this,h),o(this)===h)throw new w("Abstract class Iterator not directly constructable")},R=function(O,m){p?a(h,O,{configurable:!0,get:function(){return m},set:function(k){if(n(this),this===h)throw new w("You can't redefine this property");c(this,O)?this[O]=k:s(this,O,k)}}):h[O]=m};return c(h,_)||R(_,E),(x||!c(h,S)||h[S]===Object)&&R(S,A),A.prototype=h,e({global:!0,constructor:!0,forced:x},{Iterator:A}),$8}var j8={},U8;function jle(){if(U8)return j8;U8=1;var e=Sr(),t=Gn(),r=Ta(),n=vn(),i=Kr(),o=Xd().IteratorPrototype,a=i("dispose");return n(o,a)||t(o,a,function(){var s=r(this,"return");s&&e(s,this)}),j8}var q8={},ow,V8;function Va(){return V8||(V8=1,ow=function(e){return{iterator:e,next:e.next,done:!1}}),ow}var sw,H8;function WJ(){if(H8)return sw;H8=1;var e=RangeError;return sw=function(t){if(t===t)return t;throw new e("NaN is not allowed")},sw}var uw,B8;function KI(){if(B8)return uw;B8=1;var e=Ui(),t=RangeError;return uw=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},uw}var lw,z8;function Ule(){if(z8)return lw;z8=1;var e=Ia();return lw=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},lw}var cw,W8;function Jd(){if(W8)return cw;W8=1;var e=Sr(),t=xa(),r=Ra(),n=sl(),i=Kr(),o=Mi(),a=Ta(),s=Xd().IteratorPrototype,l=ff(),c=Ia(),d=Ule(),h=i("toStringTag"),p="IteratorHelper",g="WrapForValidIterator",S="normal",E="throw",_=o.set,w=function(A){var R=o.getterFor(A?g:p);return n(t(s),{next:function(){var m=R(this);if(A)return m.nextHandler();if(m.done)return l(void 0,!0);try{var k=m.nextHandler();return m.returnHandlerResult?k:l(k,m.done)}catch(D){throw m.done=!0,D}},return:function(){var O=R(this),m=O.iterator;if(O.done=!0,A){var k=a(m,"return");return k?e(k,m):l(void 0,!0)}if(O.inner)try{c(O.inner.iterator,S)}catch(D){return c(m,E,D)}if(O.openIters)try{d(O.openIters,S)}catch(D){return c(m,E,D)}return m&&c(m,S),l(void 0,!0)}})},b=w(!0),x=w(!1);return r(x,h,"Iterator Helper"),cw=function(A,R,O){var m=function(D,V){V?(V.iterator=D.iterator,V.next=D.next):V=D,V.type=R?g:p,V.returnHandlerResult=!!O,V.nextHandler=A,V.counter=0,V.done=!1,_(this,V)};return m.prototype=R?b:x,m},cw}var fw,G8;function Iy(){return G8||(G8=1,fw=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),fw}var dw,K8;function _u(){if(K8)return dw;K8=1;var e=er();return dw=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(s){s instanceof r||(a=!1)}if(!a)return o},dw}var Y8;function qle(){if(Y8)return q8;Y8=1;var e=Ue(),t=Sr(),r=Tr(),n=Va(),i=WJ(),o=KI(),a=Ia(),s=Jd(),l=Iy(),c=_u(),d=In(),h=!d&&!l("drop",0),p=!d&&!h&&c("drop",RangeError),g=d||h||p,S=s(function(){for(var E=this.iterator,_=this.next,w,b;this.remaining;)if(this.remaining--,w=r(t(_,E)),b=this.done=!!w.done,b)return;if(w=r(t(_,E)),b=this.done=!!w.done,!b)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:g},{drop:function(_){r(this);var w;try{w=o(i(+_))}catch(b){a(this,"throw",b)}return p?t(p,this,w):new S(n(this),{remaining:w})}}),q8}var X8={},Q8;function Vle(){if(Q8)return X8;Q8=1;var e=Ue(),t=Sr(),r=sa(),n=pn(),i=Tr(),o=Va(),a=Ia(),s=_u(),l=s("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{every:function(d){i(this);try{n(d)}catch(g){a(this,"throw",g)}if(l)return t(l,this,d);var h=o(this),p=0;return!r(h,function(g,S){if(!d(g,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),X8}var Z8={},J8;function Hle(){if(J8)return Z8;J8=1;var e=Ue(),t=Sr(),r=pn(),n=Tr(),i=Va(),o=Jd(),a=UI(),s=In(),l=Ia(),c=Iy(),d=_u(),h=!s&&!c("filter",function(){}),p=!s&&!h&&d("filter",TypeError),g=s||h||p,S=o(function(){for(var E=this.iterator,_=this.predicate,w=this.next,b,x,A;;){if(b=n(t(w,E)),x=this.done=!!b.done,x)return;if(A=b.value,a(E,_,[A,this.counter++],!0))return A}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(_){n(this);try{r(_)}catch(w){l(this,"throw",w)}return p?t(p,this,_):new S(i(this),{predicate:_})}}),Z8}var e6={},t6;function Ble(){if(t6)return e6;t6=1;var e=Ue(),t=Sr(),r=sa(),n=pn(),i=Tr(),o=Va(),a=Ia(),s=_u(),l=s("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(d){i(this);try{n(d)}catch(g){a(this,"throw",g)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(g,S){if(d(g,p++))return S(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),e6}var r6={},hw,n6;function GJ(){if(n6)return hw;n6=1;var e=Sr(),t=Tr(),r=Va(),n=lf();return hw=function(i,o){(!o||typeof i!="string")&&t(i);var a=n(i);return r(t(a!==void 0?e(a,i):i))},hw}var i6;function zle(){if(i6)return r6;i6=1;var e=Ue(),t=Sr(),r=pn(),n=Tr(),i=Va(),o=GJ(),a=Jd(),s=Ia(),l=In(),c=Iy(),d=_u(),h=!l&&!c("flatMap",function(){}),p=!l&&!h&&d("flatMap",TypeError),g=l||h||p,S=a(function(){for(var E=this.iterator,_=this.mapper,w,b;;){if(b=this.inner)try{if(w=n(t(b.next,b.iterator)),!w.done)return w.value;this.inner=null}catch(x){s(E,"throw",x)}if(w=n(t(this.next,E)),this.done=!!w.done)return;try{this.inner=o(_(w.value,this.counter++),!1)}catch(x){s(E,"throw",x)}}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(_){n(this);try{r(_)}catch(w){s(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_,inner:null})}}),r6}var a6={},o6;function Wle(){if(o6)return a6;o6=1;var e=Ue(),t=Sr(),r=sa(),n=pn(),i=Tr(),o=Va(),a=Ia(),s=_u(),l=s("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(d){i(this);try{n(d)}catch(g){a(this,"throw",g)}if(l)return t(l,this,d);var h=o(this),p=0;r(h,function(g){d(g,p++)},{IS_RECORD:!0})}}),a6}var s6={},u6;function Gle(){if(u6)return s6;u6=1;var e=Ue(),t=Sr(),r=Rn(),n=io(),i=Xd().IteratorPrototype,o=Jd(),a=GJ(),s=In(),l=s||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),c=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 c(p)}}),s6}var l6={},c6;function Kle(){if(c6)return l6;c6=1;var e=Ue(),t=Sr(),r=pn(),n=Tr(),i=Va(),o=Jd(),a=UI(),s=Ia(),l=Iy(),c=_u(),d=In(),h=!d&&!l("map",function(){}),p=!d&&!h&&c("map",TypeError),g=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:g},{map:function(_){n(this);try{r(_)}catch(w){s(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_})}}),l6}var f6={},d6;function Yle(){if(d6)return f6;d6=1;var e=Ue(),t=sa(),r=pn(),n=Tr(),i=Va(),o=Ia(),a=_u(),s=is(),l=qt(),c=TypeError,d=l(function(){[].keys().reduce(function(){},void 0)}),h=!d&&a("reduce",c);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(g){n(this);try{r(g)}catch(b){o(this,"throw",b)}var S=arguments.length<2,E=S?void 0:arguments[1];if(h)return s(h,this,S?[g]:[g,E]);var _=i(this),w=0;if(t(_,function(b){S?(S=!1,E=b):E=g(E,b,w),w++},{IS_RECORD:!0}),S)throw new c("Reduce of empty iterator with no initial value");return E}}),f6}var h6={},p6;function Xle(){if(p6)return h6;p6=1;var e=Ue(),t=Sr(),r=sa(),n=pn(),i=Tr(),o=Va(),a=Ia(),s=_u(),l=s("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(d){i(this);try{n(d)}catch(g){a(this,"throw",g)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(g,S){if(d(g,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),h6}var v6={},g6;function Qle(){if(g6)return v6;g6=1;var e=Ue(),t=Sr(),r=Tr(),n=Va(),i=WJ(),o=KI(),a=Jd(),s=Ia(),l=_u(),c=In(),d=!c&&l("take",RangeError),h=a(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,s(p,"normal",void 0);var g=r(t(this.next,p)),S=this.done=!!g.done;if(!S)return g.value});return e({target:"Iterator",proto:!0,real:!0,forced:c||d},{take:function(g){r(this);var S;try{S=o(i(+g))}catch(E){s(this,"throw",E)}return d?t(d,this,S):new h(n(this),{remaining:S})}}),v6}var m6={},y6;function Zle(){if(y6)return m6;y6=1;var e=Ue(),t=Tr(),r=sa(),n=Va(),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}}),m6}var _6={},S6;function Jle(){if(S6)return _6;S6=1;var e=er(),t=ko();return t(e.JSON,"JSON",!0),_6}var E6={},w6={},pw={exports:{}},vw,b6;function YI(){if(b6)return vw;b6=1;var e=qt();return vw=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),vw}var gw,C6;function XI(){if(C6)return gw;C6=1;var e=qt(),t=Gr(),r=Ua(),n=YI(),i=Object.isExtensible,o=e(function(){});return gw=o||n?function(s){return!t(s)||n&&r(s)==="ArrayBuffer"?!1:i?i(s):!0}:i,gw}var mw,T6;function eh(){if(T6)return mw;T6=1;var e=qt();return mw=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),mw}var A6;function df(){if(A6)return pw.exports;A6=1;var e=Ue(),t=Wt(),r=qp(),n=Gr(),i=vn(),o=_i().f,a=af(),s=LI(),l=XI(),c=zd(),d=eh(),h=!1,p=c("meta"),g=0,S=function(A){o(A,p,{value:{objectID:"O"+g++,weakData:{}}})},E=function(A,R){if(!n(A))return typeof A=="symbol"?A:(typeof A=="string"?"S":"P")+A;if(!i(A,p)){if(!l(A))return"F";if(!R)return"E";S(A)}return A[p].objectID},_=function(A,R){if(!i(A,p)){if(!l(A))return!0;if(!R)return!1;S(A)}return A[p].weakData},w=function(A){return d&&h&&l(A)&&!i(A,p)&&S(A),A},b=function(){x.enable=function(){},h=!0;var A=a.f,R=t([].splice),O={};O[p]=1,A(O).length&&(a.f=function(m){for(var k=A(m),D=0,V=k.length;D<V;D++)if(k[D]===p){R(k,D,1);break}return k},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},x=pw.exports={enable:b,fastKey:E,getWeakData:_,onFreeze:w};return r[p]=!0,pw.exports}var yw,R6;function Py(){if(R6)return yw;R6=1;var e=Ue(),t=er(),r=Wt(),n=Hp(),i=Gn(),o=df(),a=sa(),s=as(),l=gn(),c=nl(),d=Gr(),h=qt(),p=Ey(),g=ko(),S=uf();return yw=function(E,_,w){var b=E.indexOf("Map")!==-1,x=E.indexOf("Weak")!==-1,A=b?"set":"add",R=t[E],O=R&&R.prototype,m=R,k={},D=function(Z){var ue=r(O[Z]);i(O,Z,Z==="add"?function(L){return ue(this,L===0?0:L),this}:Z==="delete"?function(H){return x&&!d(H)?!1:ue(this,H===0?0:H)}:Z==="get"?function(L){return x&&!d(L)?void 0:ue(this,L===0?0:L)}:Z==="has"?function(L){return x&&!d(L)?!1:ue(this,L===0?0:L)}:function(L,j){return ue(this,L===0?0:L,j),this})},V=n(E,!l(R)||!(x||O.forEach&&!h(function(){new R().entries().next()})));if(V)m=w.getConstructor(_,E,b,A),o.enable();else if(n(E,!0)){var F=new m,G=F[A](x?{}:-0,1)!==F,Y=h(function(){F.has(1)}),X=p(function(Z){new R(Z)}),J=!x&&h(function(){for(var Z=new R,ue=5;ue--;)Z[A](ue,ue);return!Z.has(-0)});X||(m=_(function(Z,ue){s(Z,O);var H=S(new R,Z,m);return c(ue)||a(ue,H[A],{that:H,AS_ENTRIES:b}),H}),m.prototype=O,O.constructor=m),(Y||J)&&(D("delete"),D("has"),b&&D("get")),(J||G)&&D(A),x&&O.clear&&delete O.clear}return k[E]=m,e({global:!0,constructor:!0,forced:m!==R},k),g(m,E),x||w.setStrong(m,E,b),m},yw}var _w,x6;function KJ(){if(x6)return _w;x6=1;var e=xa(),t=zi(),r=sl(),n=ns(),i=as(),o=nl(),a=sa(),s=VI(),l=ff(),c=Zd(),d=Dr(),h=df().fastKey,p=Mi(),g=p.set,S=p.getterFor;return _w={getConstructor:function(E,_,w,b){var x=E(function(k,D){i(k,A),g(k,{type:_,index:e(null),first:null,last:null,size:0}),d||(k.size=0),o(D)||a(D,k[b],{that:k,AS_ENTRIES:w})}),A=x.prototype,R=S(_),O=function(k,D,V){var F=R(k),G=m(k,D),Y,X;return G?G.value=V:(F.last=G={index:X=h(D,!0),key:D,value:V,previous:Y=F.last,next:null,removed:!1},F.first||(F.first=G),Y&&(Y.next=G),d?F.size++:k.size++,X!=="F"&&(F.index[X]=G)),k},m=function(k,D){var V=R(k),F=h(D),G;if(F!=="F")return V.index[F];for(G=V.first;G;G=G.next)if(G.key===D)return G};return r(A,{clear:function(){for(var D=this,V=R(D),F=V.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=null),F=F.next;V.first=V.last=null,V.index=e(null),d?V.size=0:D.size=0},delete:function(k){var D=this,V=R(D),F=m(D,k);if(F){var G=F.next,Y=F.previous;delete V.index[F.index],F.removed=!0,Y&&(Y.next=G),G&&(G.previous=Y),V.first===F&&(V.first=G),V.last===F&&(V.last=Y),d?V.size--:D.size--}return!!F},forEach:function(D){for(var V=R(this),F=n(D,arguments.length>1?arguments[1]:void 0),G;G=G?G.next:V.first;)for(F(G.value,G.key,this);G&&G.removed;)G=G.previous},has:function(D){return!!m(this,D)}}),r(A,w?{get:function(D){var V=m(this,D);return V&&V.value},set:function(D,V){return O(this,D===0?0:D,V)}}:{add:function(D){return O(this,D=D===0?0:D,D)}}),d&&t(A,"size",{configurable:!0,get:function(){return R(this).size}}),x},setStrong:function(E,_,w){var b=_+" Iterator",x=S(_),A=S(b);s(E,_,function(R,O){g(this,{type:b,target:R,state:x(R),kind:O,last:null})},function(){for(var R=A(this),O=R.kind,m=R.last;m&&m.removed;)m=m.previous;return!R.target||!(R.last=m=m?m.next:R.state.first)?(R.target=null,l(void 0,!0)):l(O==="keys"?m.key:O==="values"?m.value:[m.key,m.value],!1)},w?"entries":"values",!w,!0),c(_)}},_w}var O6;function ece(){if(O6)return w6;O6=1;var e=Py(),t=KJ();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),w6}var I6;function tce(){return I6||(I6=1,ece()),E6}var P6={},Sw,k6;function YJ(){if(k6)return Sw;k6=1;var e=Wt(),t=Map.prototype;return Sw={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},Sw}var D6;function rce(){if(D6)return P6;D6=1;var e=Ue(),t=Wt(),r=pn(),n=Ri(),i=sa(),o=YJ(),a=In(),s=qt(),l=o.Map,c=o.has,d=o.get,h=o.set,p=t([].push),g=a||s(function(){return l.groupBy("ab",function(S){return S}).get("a").length!==1});return e({target:"Map",stat:!0,forced:a||g},{groupBy:function(E,_){n(E),r(_);var w=new l,b=0;return i(E,function(x){var A=_(x,b++);c(w,A)?p(d(w,A),x):h(w,A,[x])}),w}}),P6}var L6={},Ew,N6;function XJ(){if(N6)return Ew;N6=1;var e=Math.log;return Ew=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},Ew}var M6;function nce(){if(M6)return L6;M6=1;var e=Ue(),t=XJ(),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 c=+l;return c<1?NaN:c>9490626562425156e-8?n(c)+o:t(c-1+i(c-1)*i(c+1))}}),L6}var $6={},F6;function ice(){if(F6)return $6;F6=1;var e=Ue(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(a){var s=+a;return!isFinite(s)||s===0?s:s<0?-i(-s):r(s+n(s*s+1))}var o=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:o},{asinh:i}),$6}var j6={},U6;function ace(){if(U6)return j6;U6=1;var e=Ue(),t=Math.atanh,r=Math.log,n=!(t&&1/t(-0)<0);return e({target:"Math",stat:!0,forced:n},{atanh:function(o){var a=+o;return a===0?a:r((1+a)/(1-a))/2}}),j6}var q6={},V6;function oce(){if(V6)return q6;V6=1;var e=Ue(),t=WI(),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)}}),q6}var H6={},B6;function sce(){if(B6)return H6;B6=1;var e=Ue(),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}}),H6}var z6={},ww,W6;function ky(){if(W6)return ww;W6=1;var e=Math.expm1,t=Math.exp;return ww=!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,ww}var G6;function uce(){if(G6)return z6;G6=1;var e=Ue(),t=ky(),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(s){var l=t(n(s)-1)+1;return(l+1/(l*i*i))*(i/2)}}),z6}var K6={},Y6;function lce(){if(Y6)return K6;Y6=1;var e=Ue(),t=ky();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),K6}var X6={},Q6;function cce(){if(Q6)return X6;Q6=1;var e=Ue(),t=$J();return e({target:"Math",stat:!0},{fround:t}),X6}var Z6={},J6;function fce(){if(J6)return Z6;J6=1;var e=Ue(),t=MJ(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(a){return t(a,r,n,i)}}),Z6}var e7={},t7;function dce(){if(t7)return e7;t7=1;var e=Ue(),t=Math.hypot,r=Math.abs,n=Math.sqrt,i=!!t&&t(1/0,NaN)!==1/0;return e({target:"Math",stat:!0,arity:2,forced:i},{hypot:function(a,s){for(var l=0,c=0,d=arguments.length,h=0,p,g;c<d;)p=r(arguments[c++]),h<p?(g=h/p,l=l*g*g+1,h=p):p>0?(g=p/h,l+=g*g):l+=p;return h===1/0?1/0:h*n(l)}}),e7}var r7={},n7;function hce(){if(n7)return r7;n7=1;var e=Ue(),t=qt(),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 s=65535,l=+o,c=+a,d=s&l,h=s&c;return 0|d*h+((s&l>>>16)*h+d*(s&c>>>16)<<16>>>0)}}),r7}var i7={},bw,a7;function QJ(){if(a7)return bw;a7=1;var e=Math.log,t=Math.LOG10E;return bw=Math.log10||function(n){return e(n)*t},bw}var o7;function pce(){if(o7)return i7;o7=1;var e=Ue(),t=QJ();return e({target:"Math",stat:!0},{log10:t}),i7}var s7={},u7;function vce(){if(u7)return s7;u7=1;var e=Ue(),t=XJ();return e({target:"Math",stat:!0},{log1p:t}),s7}var l7={},c7;function gce(){if(c7)return l7;c7=1;var e=Ue(),t=FJ();return e({target:"Math",stat:!0},{log2:t}),l7}var f7={},d7;function mce(){if(d7)return f7;d7=1;var e=Ue(),t=WI();return e({target:"Math",stat:!0},{sign:t}),f7}var h7={},p7;function yce(){if(p7)return h7;p7=1;var e=Ue(),t=qt(),r=ky(),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 c=+l;return n(c)<1?(r(c)-r(-c))/2:(i(c-1)-i(-c-1))*(o/2)}}),h7}var v7={},g7;function _ce(){if(g7)return v7;g7=1;var e=Ue(),t=Wt(),r=sa(),n=RangeError,i=TypeError,o=1/0,a=NaN,s=Math.abs,l=Math.pow,c=t([].push),d=l(2,1023),h=l(2,53)-1,p=Number.MAX_VALUE,g=l(2,971),S={},E={},_={},w={},b={},x=function(A,R){var O=A+R,m=R-(O-A);return{hi:O,lo:m}};return e({target:"Math",stat:!0},{sumPrecise:function(R){var O=[],m=0,k=w;switch(r(R,function(de){if(++m>=h)throw new n("Maximum allowed index exceeded");if(typeof de!="number")throw new i("Value is not a number");k!==S&&(de!==de?k=S:de===o?k=k===E?S:_:de===-o?k=k===_?S:E:(de!==0||1/de===o)&&(k===w||k===b)&&(k=b,c(O,de)))}),k){case S:return a;case E:return-o;case _:return o;case w:return-0}for(var D=[],V=0,F,G,Y,X,J,Z,ue=0;ue<O.length;ue++){F=O[ue];for(var H=0,L=0;L<D.length;L++){if(G=D[L],s(F)<s(G)&&(Z=F,F=G,G=Z),Y=x(F,G),X=Y.hi,J=Y.lo,s(X)===o){var j=X===o?1:-1;V+=j,F=F-j*d-j*d,s(F)<s(G)&&(Z=F,F=G,G=Z),Y=x(F,G),X=Y.hi,J=Y.lo}J!==0&&(D[H++]=J),F=X}D.length=H,F!==0&&c(D,F)}var te=D.length-1;if(X=0,J=0,V!==0){var ee=te>=0?D[te]:0;if(te--,s(V)>1||V>0&&ee>0||V<0&&ee<0)return V>0?o:-o;if(Y=x(V*d,ee/2),X=Y.hi,J=Y.lo,J*=2,s(2*X)===o)return X>0?X===d&&J===-(g/2)&&te>=0&&D[te]<0?p:o:X===-d&&J===g/2&&te>=0&&D[te]>0?-p:-o;J!==0&&(D[++te]=J,J=0),X*=2}for(;te>=0&&(Y=x(X,D[te--]),X=Y.hi,J=Y.lo,J===0););return te>=0&&(J<0&&D[te]<0||J>0&&D[te]>0)&&(G=J*2,F=X+G,G===F-X&&(X=F)),X}}),v7}var m7={},y7;function Sce(){if(y7)return m7;y7=1;var e=Ue(),t=ky(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var o=+i,a=t(o),s=t(-o);return a===1/0?1:s===1/0?-1:(a-s)/(r(o)+r(-o))}}),m7}var _7={},S7;function Ece(){if(S7)return _7;S7=1;var e=ko();return e(Math,"Math",!0),_7}var E7={},w7;function wce(){if(w7)return E7;w7=1;var e=Ue(),t=fJ();return e({target:"Math",stat:!0},{trunc:t}),E7}var b7={},Cw,C7;function Dy(){if(C7)return Cw;C7=1;var e=Wt();return Cw=e(1.1.valueOf),Cw}var Tw,T7;function Xp(){return T7||(T7=1,Tw=`
|
|
3
|
+
\v\f\r \u2028\u2029\uFEFF`),Tw}var Aw,A7;function th(){if(A7)return Aw;A7=1;var e=Wt(),t=Ri(),r=tn(),n=Xp(),i=e("".replace),o=RegExp("^["+n+"]+"),a=RegExp("(^|[^"+n+"])["+n+"]+$"),s=function(l){return function(c){var d=r(t(c));return l&1&&(d=i(d,o,"")),l&2&&(d=i(d,a,"$1")),d}};return Aw={start:s(1),end:s(2),trim:s(3)},Aw}var R7;function bce(){if(R7)return b7;R7=1;var e=Ue(),t=In(),r=Dr(),n=er(),i=my(),o=Wt(),a=Hp(),s=vn(),l=uf(),c=io(),d=rf(),h=hy(),p=qt(),g=af().f,S=Aa().f,E=_i().f,_=Dy(),w=th().trim,b="Number",x=n[b],A=i[b],R=x.prototype,O=n.TypeError,m=o("".slice),k=o("".charCodeAt),D=function(J){var Z=h(J,"number");return typeof Z=="bigint"?Z:V(Z)},V=function(J){var Z=h(J,"number"),ue,H,L,j,te,ee,de,Se;if(d(Z))throw new O("Cannot convert a Symbol value to a number");if(typeof Z=="string"&&Z.length>2){if(Z=w(Z),ue=k(Z,0),ue===43||ue===45){if(H=k(Z,2),H===88||H===120)return NaN}else if(ue===48){switch(k(Z,1)){case 66:case 98:L=2,j=49;break;case 79:case 111:L=8,j=55;break;default:return+Z}for(te=m(Z,2),ee=te.length,de=0;de<ee;de++)if(Se=k(te,de),Se<48||Se>j)return NaN;return parseInt(te,L)}}return+Z},F=a(b,!x(" 0o1")||!x("0b1")||x("+0x1")),G=function(J){return c(R,J)&&p(function(){_(J)})},Y=function(Z){var ue=arguments.length<1?0:x(D(Z));return G(this)?l(Object(ue),this,Y):ue};Y.prototype=R,F&&!t&&(R.constructor=Y),e({global:!0,constructor:!0,wrap:!0,forced:F},{Number:Y});var X=function(J,Z){for(var ue=r?g(Z):"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(","),H=0,L;ue.length>H;H++)s(Z,L=ue[H])&&!s(J,L)&&E(J,L,S(Z,L))};return t&&A&&X(i[b],A),(F||t)&&X(i[b],x),b7}var x7={},O7;function Cce(){if(O7)return x7;O7=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),x7}var I7={},Rw,P7;function Tce(){if(P7)return Rw;P7=1;var e=er(),t=e.isFinite;return Rw=Number.isFinite||function(n){return typeof n=="number"&&t(n)},Rw}var k7;function Ace(){if(k7)return I7;k7=1;var e=Ue(),t=Tce();return e({target:"Number",stat:!0},{isFinite:t}),I7}var D7={},xw,L7;function QI(){if(L7)return xw;L7=1;var e=Gr(),t=Math.floor;return xw=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},xw}var N7;function Rce(){if(N7)return D7;N7=1;var e=Ue(),t=QI();return e({target:"Number",stat:!0},{isInteger:t}),D7}var M7={},$7;function xce(){if($7)return M7;$7=1;var e=Ue();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),M7}var F7={},j7;function Oce(){if(j7)return F7;j7=1;var e=Ue(),t=QI(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),F7}var U7={},q7;function Ice(){if(q7)return U7;q7=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),U7}var V7={},H7;function Pce(){if(H7)return V7;H7=1;var e=Ue();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),V7}var B7={},Ow,z7;function ZJ(){if(z7)return Ow;z7=1;var e=er(),t=qt(),r=Wt(),n=tn(),i=th().trim,o=Xp(),a=r("".charAt),s=e.parseFloat,l=e.Symbol,c=l&&l.iterator,d=1/s(o+"-0")!==-1/0||c&&!t(function(){s(Object(c))});return Ow=d?function(p){var g=i(n(p)),S=s(g);return S===0&&a(g,0)==="-"?-0:S}:s,Ow}var W7;function kce(){if(W7)return B7;W7=1;var e=Ue(),t=ZJ();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),B7}var G7={},Iw,K7;function JJ(){if(K7)return Iw;K7=1;var e=er(),t=qt(),r=Wt(),n=tn(),i=th().trim,o=Xp(),a=e.parseInt,s=e.Symbol,l=s&&s.iterator,c=/^[+-]?0x/i,d=r(c.exec),h=a(o+"08")!==8||a(o+"0x16")!==22||l&&!t(function(){a(Object(l))});return Iw=h?function(g,S){var E=i(n(g));return a(E,S>>>0||(d(c,E)?16:10))}:a,Iw}var Y7;function Dce(){if(Y7)return G7;Y7=1;var e=Ue(),t=JJ();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),G7}var X7={},Q7;function Lce(){if(Q7)return X7;Q7=1;var e=Ue(),t=Wt(),r=Ui(),n=Dy(),i=xy(),o=QJ(),a=qt(),s=RangeError,l=String,c=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,g=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",b=function(){return a(function(){S(1,1/0)})&&a(function(){S(1,-1/0)})},x=function(){return!a(function(){S(1/0,1/0),S(NaN,1/0)})},A=!w||!b()||!x();return e({target:"Number",proto:!0,forced:A},{toExponential:function(O){var m=n(this);if(O===void 0)return S(m);var k=r(O);if(!c(m))return String(m);if(k<0||k>20)throw new s("Incorrect fraction digits");if(w)return S(m,k);var D="",V,F,G,Y;if(m<0&&(D="-",m=-m),m===0)F=0,V=E("0",k+1);else{var X=o(m);F=h(X);var J=p(10,F-k),Z=g(m/J);2*m>=(2*Z+1)*J&&(Z+=1),Z>=p(10,k+1)&&(Z/=10,F+=1),V=l(Z)}return k!==0&&(V=_(V,0,1)+"."+_(V,1)),F===0?(G="+",Y="0"):(G=F>0?"+":"-",Y=l(d(F))),V+="e"+G+Y,D+V}}),X7}var Z7={},J7;function Nce(){if(J7)return Z7;J7=1;var e=Ue(),t=Wt(),r=Ui(),n=Dy(),i=xy(),o=qt(),a=RangeError,s=String,l=Math.floor,c=t(i),d=t("".slice),h=t(1.1.toFixed),p=function(b,x,A){return x===0?A:x%2===1?p(b,x-1,A*b):p(b*b,x/2,A)},g=function(b){for(var x=0,A=b;A>=4096;)x+=12,A/=4096;for(;A>=2;)x+=1,A/=2;return x},S=function(b,x,A){for(var R=-1,O=A;++R<6;)O+=x*b[R],b[R]=O%1e7,O=l(O/1e7)},E=function(b,x){for(var A=6,R=0;--A>=0;)R+=b[A],b[A]=l(R/x),R=R%x*1e7},_=function(b){for(var x=6,A="";--x>=0;)if(A!==""||x===0||b[x]!==0){var R=s(b[x]);A=A===""?R:A+c("0",7-R.length)+R}return A},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(x){var A=n(this),R=r(x),O=[0,0,0,0,0,0],m="",k="0",D,V,F,G;if(R<0||R>20)throw new a("Incorrect fraction digits");if(A!==A)return"NaN";if(A<=-1e21||A>=1e21)return s(A);if(A<0&&(m="-",A=-A),A>1e-21)if(D=g(A*p(2,69,1))-69,V=D<0?A*p(2,-D,1):A/p(2,D,1),V*=4503599627370496,D=52-D,D>0){for(S(O,0,V),F=R;F>=7;)S(O,1e7,0),F-=7;for(S(O,p(10,F,1),0),F=D-1;F>=23;)E(O,1<<23),F-=23;E(O,1<<F),S(O,1,1),E(O,2),k=_(O)}else S(O,0,V),S(O,1<<-D,0),k=_(O)+c("0",R);return R>0?(G=k.length,k=m+(G<=R?"0."+c("0",R-G)+k:d(k,0,G-R)+"."+d(k,G-R))):k=m+k,k}}),Z7}var e9={},t9;function Mce(){if(t9)return e9;t9=1;var e=Ue(),t=Wt(),r=qt(),n=Dy(),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(s){return s===void 0?i(n(this)):i(n(this),s)}}),e9}var r9={},Pw,n9;function eee(){if(n9)return Pw;n9=1;var e=Dr(),t=Wt(),r=Sr(),n=qt(),i=Bp(),o=gy(),a=fy(),s=Rn(),l=Vd(),c=Object.assign,d=Object.defineProperty,h=t([].concat);return Pw=!c||n(function(){if(e&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var p={},g={},S=Symbol("assign detection"),E="abcdefghijklmnopqrst";return p[S]=7,E.split("").forEach(function(_){g[_]=_}),c({},p)[S]!==7||i(c({},g)).join("")!==E})?function(g,S){for(var E=s(g),_=arguments.length,w=1,b=o.f,x=a.f;_>w;)for(var A=l(arguments[w++]),R=b?h(i(A),b(A)):i(A),O=R.length,m=0,k;O>m;)k=R[m++],(!e||r(x,A,k))&&(E[k]=A[k]);return E}:c,Pw}var i9;function $ce(){if(i9)return r9;i9=1;var e=Ue(),t=eee();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),r9}var a9={},o9;function Fce(){if(o9)return a9;o9=1;var e=Ue(),t=Dr(),r=xa();return e({target:"Object",stat:!0,sham:!t},{create:r}),a9}var s9={},kw,u9;function Ly(){if(u9)return kw;u9=1;var e=In(),t=er(),r=qt(),n=zI();return kw=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),kw}var l9;function jce(){if(l9)return s9;l9=1;var e=Ue(),t=Dr(),r=Ly(),n=pn(),i=Rn(),o=_i();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(s,l){o.f(i(this),s,{get:n(l),enumerable:!0,configurable:!0})}}),s9}var c9={},f9;function Uce(){if(f9)return c9;f9=1;var e=Ue(),t=Dr(),r=DI().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),c9}var d9={},h9;function qce(){if(h9)return d9;h9=1;var e=Ue(),t=Dr(),r=_i().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),d9}var p9={},v9;function Vce(){if(v9)return p9;v9=1;var e=Ue(),t=Dr(),r=Ly(),n=pn(),i=Rn(),o=_i();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(s,l){o.f(i(this),s,{set:n(l),enumerable:!0,configurable:!0})}}),p9}var g9={},Dw,m9;function tee(){if(m9)return Dw;m9=1;var e=Dr(),t=qt(),r=Wt(),n=ao(),i=Bp(),o=ga(),a=fy().f,s=r(a),l=r([].push),c=e&&t(function(){var h=Object.create(null);return h[2]=2,!s(h,2)}),d=function(h){return function(p){for(var g=o(p),S=i(g),E=c&&n(g)===null,_=S.length,w=0,b=[],x;_>w;)x=S[w++],(!e||(E?x in g:s(g,x)))&&l(b,h?[x,g[x]]:g[x]);return b}};return Dw={entries:d(!0),values:d(!1)},Dw}var y9;function Hce(){if(y9)return g9;y9=1;var e=Ue(),t=tee().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),g9}var _9={},S9;function Bce(){if(S9)return _9;S9=1;var e=Ue(),t=eh(),r=qt(),n=Gr(),i=df().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}}),_9}var E9={},w9;function zce(){if(w9)return E9;w9=1;var e=Ue(),t=sa(),r=al();return e({target:"Object",stat:!0},{fromEntries:function(i){var o={};return t(i,function(a,s){r(o,a,s)},{AS_ENTRIES:!0}),o}}),E9}var b9={},C9;function Wce(){if(C9)return b9;C9=1;var e=Ue(),t=qt(),r=ga(),n=Aa().f,i=Dr(),o=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getOwnPropertyDescriptor:function(s,l){return n(r(s),l)}}),b9}var T9={},A9;function Gce(){if(A9)return T9;A9=1;var e=Ue(),t=Dr(),r=PI(),n=ga(),i=Aa(),o=al();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(s){for(var l=n(s),c=i.f,d=r(l),h={},p=0,g,S;d.length>p;)S=c(l,g=d[p++]),S!==void 0&&o(h,g,S);return h}}),T9}var R9={},x9;function Kce(){if(x9)return R9;x9=1;var e=Ue(),t=qt(),r=LI().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),R9}var O9={},I9;function Yce(){if(I9)return O9;I9=1;var e=Ue(),t=qt(),r=Rn(),n=ao(),i=$I(),o=t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getPrototypeOf:function(s){return n(r(s))}}),O9}var P9={},k9;function Xce(){if(k9)return P9;k9=1;var e=Ue(),t=hn(),r=Wt(),n=pn(),i=Ri(),o=Yl(),a=sa(),s=qt(),l=Object.groupBy,c=t("Object","create"),d=r([].push),h=!l||s(function(){return l("ab",function(p){return p}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(g,S){i(g),n(S);var E=c(null),_=0;return a(g,function(w){var b=o(S(w,_++));b in E?d(E[b],w):E[b]=[w]}),E}}),P9}var D9={},L9;function Qce(){if(L9)return D9;L9=1;var e=Ue(),t=vn();return e({target:"Object",stat:!0},{hasOwn:t}),D9}var N9={},Lw,M9;function ree(){return M9||(M9=1,Lw=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),Lw}var $9;function Zce(){if($9)return N9;$9=1;var e=Ue(),t=ree();return e({target:"Object",stat:!0},{is:t}),N9}var F9={},j9;function Jce(){if(j9)return F9;j9=1;var e=Ue(),t=XI();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),F9}var U9={},q9;function efe(){if(q9)return U9;q9=1;var e=Ue(),t=qt(),r=Gr(),n=Ua(),i=YI(),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}}),U9}var V9={},H9;function tfe(){if(H9)return V9;H9=1;var e=Ue(),t=qt(),r=Gr(),n=Ua(),i=YI(),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}}),V9}var B9={},z9;function rfe(){if(z9)return B9;z9=1;var e=Ue(),t=Rn(),r=Bp(),n=qt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(a){return r(t(a))}}),B9}var W9={},G9;function nfe(){if(G9)return W9;G9=1;var e=Ue(),t=Dr(),r=Ly(),n=Rn(),i=Yl(),o=ao(),a=Aa().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(l){var c=n(this),d=i(l),h;do if(h=a(c,d))return h.get;while(c=o(c))}}),W9}var K9={},Y9;function ife(){if(Y9)return K9;Y9=1;var e=Ue(),t=Dr(),r=Ly(),n=Rn(),i=Yl(),o=ao(),a=Aa().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(l){var c=n(this),d=i(l),h;do if(h=a(c,d))return h.set;while(c=o(c))}}),K9}var X9={},Q9;function afe(){if(Q9)return X9;Q9=1;var e=Ue(),t=Gr(),r=df().onFreeze,n=eh(),i=qt(),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}}),X9}var Z9={},J9;function ofe(){if(J9)return Z9;J9=1;var e=Dr(),t=zi(),r=Gr(),n=yJ(),i=Rn(),o=Ri(),a=Object.getPrototypeOf,s=Object.setPrototypeOf,l=Object.prototype,c="__proto__";if(e&&a&&s&&!(c in l))try{t(l,c,{configurable:!0,get:function(){return a(i(this))},set:function(h){var p=o(this);n(h)&&r(p)&&s(p,h)}})}catch{}return Z9}var e$={},t$;function sfe(){if(t$)return e$;t$=1;var e=Ue(),t=Gr(),r=df().onFreeze,n=eh(),i=qt(),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}}),e$}var r$={},n$;function ufe(){if(n$)return r$;n$=1;var e=Ue(),t=Ys();return e({target:"Object",stat:!0},{setPrototypeOf:t}),r$}var i$={},Nw,a$;function lfe(){if(a$)return Nw;a$=1;var e=kI(),t=rs();return Nw=e?{}.toString:function(){return"[object "+t(this)+"]"},Nw}var o$;function cfe(){if(o$)return i$;o$=1;var e=kI(),t=Gn(),r=lfe();return e||t(Object.prototype,"toString",r,{unsafe:!0}),i$}var s$={},u$;function ffe(){if(u$)return s$;u$=1;var e=Ue(),t=tee().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),s$}var l$={},c$;function dfe(){if(c$)return l$;c$=1;var e=Ue(),t=ZJ();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),l$}var f$={},d$;function hfe(){if(d$)return f$;d$=1;var e=Ue(),t=JJ();return e({global:!0,forced:parseInt!==t},{parseInt:t}),f$}var h$={},p$={},Mw,v$;function ZI(){if(v$)return Mw;v$=1;var e=sf(),t=nf(),r=TypeError;return Mw=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},Mw}var $w,g$;function Ny(){if(g$)return $w;g$=1;var e=Tr(),t=ZI(),r=nl(),n=Kr(),i=n("species");return $w=function(o,a){var s=e(o).constructor,l;return s===void 0||r(l=e(s)[i])?a:t(l)},$w}var Fw,m$;function ks(){if(m$)return Fw;m$=1;var e=TypeError;return Fw=function(t,r){if(t<r)throw new e("Not enough arguments");return t},Fw}var jw,y$;function nee(){if(y$)return jw;y$=1;var e=mu();return jw=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),jw}var Uw,_$;function My(){if(_$)return Uw;_$=1;var e=er(),t=is(),r=ns(),n=gn(),i=vn(),o=qt(),a=hJ(),s=Ps(),l=py(),c=ks(),d=nee(),h=Qd(),p=e.setImmediate,g=e.clearImmediate,S=e.process,E=e.Dispatch,_=e.Function,w=e.MessageChannel,b=e.String,x=0,A={},R="onreadystatechange",O,m,k,D;o(function(){O=e.location});var V=function(X){if(i(A,X)){var J=A[X];delete A[X],J()}},F=function(X){return function(){V(X)}},G=function(X){V(X.data)},Y=function(X){e.postMessage(b(X),O.protocol+"//"+O.host)};return(!p||!g)&&(p=function(J){c(arguments.length,1);var Z=n(J)?J:_(J),ue=s(arguments,1);return A[++x]=function(){t(Z,void 0,ue)},m(x),x},g=function(J){delete A[J]},h?m=function(X){S.nextTick(F(X))}:E&&E.now?m=function(X){E.now(F(X))}:w&&!d?(k=new w,D=k.port2,k.port1.onmessage=G,m=r(D.postMessage,D)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!o(Y)?(m=Y,e.addEventListener("message",G,!1)):R in l("script")?m=function(X){a.appendChild(l("script"))[R]=function(){a.removeChild(this),V(X)}}:m=function(X){setTimeout(F(X),0)}),Uw={set:p,clear:g},Uw}var qw,S$;function iee(){if(S$)return qw;S$=1;var e=er(),t=Dr(),r=Object.getOwnPropertyDescriptor;return qw=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},qw}var Vw,E$;function aee(){if(E$)return Vw;E$=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}}},Vw=e,Vw}var Hw,w$;function pfe(){if(w$)return Hw;w$=1;var e=mu();return Hw=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",Hw}var Bw,b$;function vfe(){if(b$)return Bw;b$=1;var e=mu();return Bw=/web0s(?!.*chrome)/i.test(e),Bw}var zw,C$;function oee(){if(C$)return zw;C$=1;var e=er(),t=iee(),r=ns(),n=My().set,i=aee(),o=nee(),a=pfe(),s=vfe(),l=Qd(),c=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,p=e.Promise,g=t("queueMicrotask"),S,E,_,w,b;if(!g){var x=new i,A=function(){var R,O;for(l&&(R=h.domain)&&R.exit();O=x.get();)try{O()}catch(m){throw x.head&&S(),m}R&&R.enter()};!o&&!l&&!s&&c&&d?(E=!0,_=d.createTextNode(""),new c(A).observe(_,{characterData:!0}),S=function(){_.data=E=!E}):!a&&p&&p.resolve?(w=p.resolve(void 0),w.constructor=p,b=r(w.then,w),S=function(){b(A)}):l?S=function(){h.nextTick(A)}:(n=r(n,e),S=function(){n(A)}),g=function(R){x.head||S(),x.add(R)}}return zw=g,zw}var Ww,T$;function gfe(){return T$||(T$=1,Ww=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Ww}var Gw,A$;function rh(){return A$||(A$=1,Gw=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),Gw}var Kw,R$;function nh(){if(R$)return Kw;R$=1;var e=er();return Kw=e.Promise,Kw}var Yw,x$;function Qp(){if(x$)return Yw;x$=1;var e=er(),t=nh(),r=gn(),n=Hp(),i=xI(),o=Kr(),a=Cy(),s=In(),l=yu(),c=t&&t.prototype,d=o("species"),h=!1,p=r(e.PromiseRejectionEvent),g=n("Promise",function(){var S=i(t),E=S!==String(t);if(!E&&l===66||s&&!(c.catch&&c.finally))return!0;if(!l||l<51||!/native code/.test(S)){var _=new t(function(x){x(1)}),w=function(x){x(function(){},function(){})},b=_.constructor={};if(b[d]=w,h=_.then(function(){})instanceof w,!h)return!0}return!E&&(a==="BROWSER"||a==="DENO")&&!p});return Yw={CONSTRUCTOR:g,REJECTION_EVENT:p,SUBCLASSING:h},Yw}var Xw={},O$;function ul(){if(O$)return Xw;O$=1;var e=pn(),t=TypeError,r=function(n){var i,o;this.promise=new n(function(a,s){if(i!==void 0||o!==void 0)throw new t("Bad Promise constructor");i=a,o=s}),this.resolve=e(i),this.reject=e(o)};return Xw.f=function(n){return new r(n)},Xw}var I$;function mfe(){if(I$)return p$;I$=1;var e=Ue(),t=In(),r=Qd(),n=er(),i=my(),o=Sr(),a=Gn(),s=Ys(),l=ko(),c=Zd(),d=pn(),h=gn(),p=Gr(),g=as(),S=Ny(),E=My().set,_=oee(),w=gfe(),b=rh(),x=aee(),A=Mi(),R=nh(),O=Qp(),m=ul(),k="Promise",D=O.CONSTRUCTOR,V=O.REJECTION_EVENT,F=O.SUBCLASSING,G=A.getterFor(k),Y=A.set,X=R&&R.prototype,J=R,Z=X,ue=n.TypeError,H=n.document,L=n.process,j=m.f,te=j,ee=!!(H&&H.createEvent&&n.dispatchEvent),de="unhandledrejection",Se="rejectionhandled",Ae=0,se=1,I=2,P=1,q=2,N,B,re,ce,we=function(Ve){var qe;return p(Ve)&&h(qe=Ve.then)?qe:!1},_e=function(Ve,qe){var Ge=qe.value,ct=qe.state===se,jt=ct?Ve.ok:Ve.fail,zt=Ve.resolve,Ze=Ve.reject,Tt=Ve.domain,_t,st,rt;try{jt?(ct||(qe.rejection===q&&ge(qe),qe.rejection=P),jt===!0?_t=Ge:(Tt&&Tt.enter(),_t=jt(Ge),Tt&&(Tt.exit(),rt=!0)),_t===Ve.promise?Ze(new ue("Promise-chain cycle")):(st=we(_t))?o(st,_t,zt,Ze):zt(_t)):Ze(Ge)}catch(dt){Tt&&!rt&&Tt.exit(),Ze(dt)}},Oe=function(Ve,qe){Ve.notified||(Ve.notified=!0,_(function(){for(var Ge=Ve.reactions,ct;ct=Ge.get();)_e(ct,Ve);Ve.notified=!1,qe&&!Ve.rejection&&Ie(Ve)}))},Te=function(Ve,qe,Ge){var ct,jt;ee?(ct=H.createEvent("Event"),ct.promise=qe,ct.reason=Ge,ct.initEvent(Ve,!1,!0),n.dispatchEvent(ct)):ct={promise:qe,reason:Ge},!V&&(jt=n["on"+Ve])?jt(ct):Ve===de&&w("Unhandled promise rejection",Ge)},Ie=function(Ve){o(E,n,function(){var qe=Ve.facade,Ge=Ve.value,ct=$e(Ve),jt;if(ct&&(jt=b(function(){r?L.emit("unhandledRejection",Ge,qe):Te(de,qe,Ge)}),Ve.rejection=r||$e(Ve)?q:P,jt.error))throw jt.value})},$e=function(Ve){return Ve.rejection!==P&&!Ve.parent},ge=function(Ve){o(E,n,function(){var qe=Ve.facade;r?L.emit("rejectionHandled",qe):Te(Se,qe,Ve.value)})},be=function(Ve,qe,Ge){return function(ct){Ve(qe,ct,Ge)}},Ce=function(Ve,qe,Ge){Ve.done||(Ve.done=!0,Ge&&(Ve=Ge),Ve.value=qe,Ve.state=I,Oe(Ve,!0))},Le=function(Ve,qe,Ge){if(!Ve.done){Ve.done=!0,Ge&&(Ve=Ge);try{if(Ve.facade===qe)throw new ue("Promise can't be resolved itself");var ct=we(qe);ct?_(function(){var jt={done:!1};try{o(ct,qe,be(Le,jt,Ve),be(Ce,jt,Ve))}catch(zt){Ce(jt,zt,Ve)}}):(Ve.value=qe,Ve.state=se,Oe(Ve,!1))}catch(jt){Ce({done:!1},jt,Ve)}}};if(D&&(J=function(qe){g(this,Z),d(qe),o(N,this);var Ge=G(this);try{qe(be(Le,Ge),be(Ce,Ge))}catch(ct){Ce(Ge,ct)}},Z=J.prototype,N=function(qe){Y(this,{type:k,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:Ae,value:null})},N.prototype=a(Z,"then",function(qe,Ge){var ct=G(this),jt=j(S(this,J));return ct.parent=!0,jt.ok=h(qe)?qe:!0,jt.fail=h(Ge)&&Ge,jt.domain=r?L.domain:void 0,ct.state===Ae?ct.reactions.add(jt):_(function(){_e(jt,ct)}),jt.promise}),B=function(){var Ve=new N,qe=G(Ve);this.promise=Ve,this.resolve=be(Le,qe),this.reject=be(Ce,qe)},m.f=j=function(Ve){return Ve===J||Ve===re?new B(Ve):te(Ve)},!t&&h(R)&&X!==Object.prototype)){ce=X.then,F||a(X,"then",function(qe,Ge){var ct=this;return new J(function(jt,zt){o(ce,ct,jt,zt)}).then(qe,Ge)},{unsafe:!0});try{delete X.constructor}catch{}s&&s(X,Z)}return e({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:J}),re=i.Promise,l(J,k,!1,!0),c(k),p$}var P$={},Qw,k$;function $y(){if(k$)return Qw;k$=1;var e=nh(),t=Ey(),r=Qp().CONSTRUCTOR;return Qw=r||!t(function(n){e.all(n).then(void 0,function(){})}),Qw}var D$;function yfe(){if(D$)return P$;D$=1;var e=Ue(),t=Sr(),r=pn(),n=ul(),i=rh(),o=sa(),a=$y();return e({target:"Promise",stat:!0,forced:a},{all:function(l){var c=this,d=n.f(c),h=d.resolve,p=d.reject,g=i(function(){var S=r(c.resolve),E=[],_=0,w=1;o(l,function(b){var x=_++,A=!1;w++,t(S,c,b).then(function(R){A||(A=!0,E[x]=R,--w||h(E))},p)}),--w||h(E)});return g.error&&p(g.value),d.promise}}),P$}var L$={},N$;function _fe(){if(N$)return L$;N$=1;var e=Ue(),t=In(),r=Qp().CONSTRUCTOR,n=nh(),i=hn(),o=gn(),a=Gn(),s=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(c){return this.then(void 0,c)}}),!t&&o(n)){var l=i("Promise").prototype.catch;s.catch!==l&&a(s,"catch",l,{unsafe:!0})}return L$}var M$={},$$;function Sfe(){if($$)return M$;$$=1;var e=Ue(),t=Sr(),r=pn(),n=ul(),i=rh(),o=sa(),a=$y();return e({target:"Promise",stat:!0,forced:a},{race:function(l){var c=this,d=n.f(c),h=d.reject,p=i(function(){var g=r(c.resolve);o(l,function(S){t(g,c,S).then(d.resolve,h)})});return p.error&&h(p.value),d.promise}}),M$}var F$={},j$;function Efe(){if(j$)return F$;j$=1;var e=Ue(),t=ul(),r=Qp().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}}),F$}var U$={},Zw,q$;function see(){if(q$)return Zw;q$=1;var e=Tr(),t=Gr(),r=ul();return Zw=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},Zw}var V$;function wfe(){if(V$)return U$;V$=1;var e=Ue(),t=hn(),r=In(),n=nh(),i=Qp().CONSTRUCTOR,o=see(),a=t("Promise"),s=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(c){return o(s&&this===a?n:this,c)}}),U$}var H$;function bfe(){return H$||(H$=1,mfe(),yfe(),_fe(),Sfe(),Efe(),wfe()),h$}var B$={},z$;function Cfe(){if(z$)return B$;z$=1;var e=Ue(),t=Sr(),r=pn(),n=ul(),i=rh(),o=sa(),a=$y();return e({target:"Promise",stat:!0,forced:a},{allSettled:function(l){var c=this,d=n.f(c),h=d.resolve,p=d.reject,g=i(function(){var S=r(c.resolve),E=[],_=0,w=1;o(l,function(b){var x=_++,A=!1;w++,t(S,c,b).then(function(R){A||(A=!0,E[x]={status:"fulfilled",value:R},--w||h(E))},function(R){A||(A=!0,E[x]={status:"rejected",reason:R},--w||h(E))})}),--w||h(E)});return g.error&&p(g.value),d.promise}}),B$}var W$={},G$;function Tfe(){if(G$)return W$;G$=1;var e=Ue(),t=Sr(),r=pn(),n=hn(),i=ul(),o=rh(),a=sa(),s=$y(),l="No one promise resolved";return e({target:"Promise",stat:!0,forced:s},{any:function(d){var h=this,p=n("AggregateError"),g=i.f(h),S=g.resolve,E=g.reject,_=o(function(){var w=r(h.resolve),b=[],x=0,A=1,R=!1;a(d,function(O){var m=x++,k=!1;A++,t(w,h,O).then(function(D){k||R||(R=!0,S(D))},function(D){k||R||(k=!0,b[m]=D,--A||E(new p(b,l)))})}),--A||E(new p(b,l))});return _.error&&E(_.value),g.promise}}),W$}var K$={},Y$;function Afe(){if(Y$)return K$;Y$=1;var e=Ue(),t=In(),r=nh(),n=qt(),i=hn(),o=gn(),a=Ny(),s=see(),l=Gn(),c=r&&r.prototype,d=!!r&&n(function(){c.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(p){var g=a(this,i("Promise")),S=o(p);return this.then(S?function(E){return s(g,p()).then(function(){return E})}:p,S?function(E){return s(g,p()).then(function(){throw E})}:p)}}),!t&&o(r)){var h=i("Promise").prototype.finally;c.finally!==h&&l(c,"finally",h,{unsafe:!0})}return K$}var X$={},Q$;function Rfe(){if(Q$)return X$;Q$=1;var e=Ue(),t=er(),r=is(),n=Ps(),i=ul(),o=pn(),a=rh(),s=t.Promise,l=!1,c=!s||!s.try||a(function(){s.try(function(d){l=d===8},8)}).error||!l;return e({target:"Promise",stat:!0,forced:c},{try:function(d){var h=arguments.length>1?n(arguments,1):[],p=i.f(this),g=a(function(){return r(o(d),void 0,h)});return(g.error?p.reject:p.resolve)(g.value),p.promise}}),X$}var Z$={},J$;function xfe(){if(J$)return Z$;J$=1;var e=Ue(),t=ul();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),Z$}var eF={},Jw,tF;function uee(){if(tF)return Jw;tF=1;var e=er(),t=dy(),r=gn(),n=xa(),i=ao(),o=Gn(),a=Kr(),s=In(),l="USE_FUNCTION_CONSTRUCTOR",c=a("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,p,g;if(h)p=h;else if(r(d))p=d.prototype;else if(t[l]||e[l])try{g=i(i(i(Function("return async function*(){}()")()))),i(g)===Object.prototype&&(p=g)}catch{}return p?s&&(p=n(p)):p={},r(p[c])||o(p,c,function(){return this}),Jw=p,Jw}var eb,rF;function lee(){if(rF)return eb;rF=1;var e=Sr(),t=Tr(),r=xa(),n=Ta(),i=sl(),o=Mi(),a=Ia(),s=hn(),l=uee(),c=ff(),d=s("Promise"),h="AsyncFromSyncIterator",p=o.set,g=o.getterFor(h),S=function(_,w,b,x,A){var R=_.done;d.resolve(_.value).then(function(O){w(c(O,R))},function(O){if(!R&&A)try{a(x,"throw",O)}catch(m){O=m}b(O)})},E=function(w){w.type=h,p(this,w)};return E.prototype=i(r(l),{next:function(){var w=g(this);return new d(function(b,x){var A=t(e(w.next,w.iterator));S(A,b,x,w.iterator,!0)})},return:function(){var _=g(this).iterator;return new d(function(w,b){var x=n(_,"return");if(x===void 0)return w(c(void 0,!0));var A=t(e(x,_));S(A,w,b,_)})}}),eb=E,eb}var tb,nF;function Ofe(){if(nF)return tb;nF=1;var e=Sr(),t=lee(),r=Tr(),n=Yd(),i=Va(),o=Ta(),a=Kr(),s=a("asyncIterator");return tb=function(l,c){var d=arguments.length<2?o(l,s):c;return d?r(e(d,l)):new t(i(n(l)))},tb}var rb,iF;function Ife(){if(iF)return rb;iF=1;var e=Sr(),t=hn(),r=Ta();return rb=function(n,i,o,a){try{var s=r(n,"return");if(s)return t("Promise").resolve(e(s,n)).then(function(){i(o)},function(l){a(l)})}catch(l){return a(l)}i(o)},rb}var nb,aF;function Pfe(){if(aF)return nb;aF=1;var e=Sr(),t=pn(),r=Tr(),n=Gr(),i=cf(),o=hn(),a=Va(),s=Ife(),l=function(c){var d=c===0,h=c===1,p=c===2,g=c===3;return function(S,E,_){r(S);var w=E!==void 0;(w||!d)&&t(E);var b=a(S),x=o("Promise"),A=b.iterator,R=b.next,O=0;return new x(function(m,k){var D=function(F){s(A,k,F,k)},V=function(){try{if(w)try{i(O)}catch(F){D(F)}x.resolve(r(e(R,A))).then(function(F){try{if(r(F).done)d?(_.length=O,m(_)):m(g?!1:p||void 0);else{var G=F.value;try{if(w){var Y=E(G,O),X=function(J){if(h)V();else if(p)J?V():s(A,m,!1,k);else if(d)try{_[O++]=J,V()}catch(Z){D(Z)}else J?s(A,m,g||G,k):V()};n(Y)?x.resolve(Y).then(X,D):X(Y)}else _[O++]=G,V()}catch(J){D(J)}}}catch(J){k(J)}},k)}catch(F){k(F)}};V()})}};return nb={toArray:l(0),forEach:l(1),every:l(2),some:l(3),find:l(4)},nb}var ib,oF;function kfe(){if(oF)return ib;oF=1;var e=ns(),t=Wt(),r=Rn(),n=sf(),i=Ofe(),o=Yd(),a=Va(),s=lf(),l=Ta(),c=hn(),d=DJ(),h=Kr(),p=lee(),g=Pfe().toArray,S=h("asyncIterator"),E=t(d("Array","values")),_=t(E([]).next),w=function(){return new b(this)},b=function(x){this.iterator=E(x)};return b.prototype.next=function(){return _(this.iterator)},ib=function(A){var R=this,O=arguments.length,m=O>1?arguments[1]:void 0,k=O>2?arguments[2]:void 0;return new(c("Promise"))(function(D){var V=r(A);m!==void 0&&(m=e(m,k));var F=l(V,S),G=F?void 0:s(V)||w,Y=n(R)?new R:[],X=F?i(V,F):new p(a(o(V,G)));D(g(X,m,Y))})},ib}var sF;function Dfe(){if(sF)return eF;sF=1;var e=Ue(),t=kfe(),r=qt(),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}),eF}var uF={},lF;function Lfe(){if(lF)return uF;lF=1;var e=Ue(),t=Dr(),r=hn(),n=pn(),i=as(),o=Gn(),a=sl(),s=zi(),l=Kr(),c=Mi(),d=BJ(),h=yu(),p=r("Promise"),g=r("SuppressedError"),S=ReferenceError,E=l("asyncDispose"),_=l("toStringTag"),w="AsyncDisposableStack",b=c.set,x=c.getterFor(w),A="async-dispose",R="disposed",O="pending",m=function(F){var G=x(F);if(G.state===R)throw new S(w+" already disposed");return G},k=function(){b(i(this,D),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},D=k.prototype;a(D,{disposeAsync:function(){var G=this;return new p(function(Y,X){var J=x(G);if(J.state===R)return Y(void 0);J.state=R,t||(G.disposed=!0);var Z=J.stack,ue=Z.length,H=!1,L,j=function(ee){H?L=new g(ee,L):(H=!0,L=ee),te()},te=function(){if(ue){var ee=Z[--ue];Z[ue]=null;try{p.resolve(ee()).then(te,j)}catch(de){j(de)}}else J.stack=null,H?X(L):Y(void 0)};te()})},use:function(G){return d(m(this),G,A),G},adopt:function(G,Y){var X=m(this);return n(Y),d(X,void 0,A,function(){return Y(G)}),G},defer:function(G){var Y=m(this);n(G),d(Y,void 0,A,G)},move:function(){var G=m(this),Y=new k;return x(Y).stack=G.stack,G.stack=[],G.state=R,t||(this.disposed=!0),Y}}),t&&s(D,"disposed",{configurable:!0,get:function(){return x(this).state===R}}),o(D,E,D.disposeAsync,{name:"disposeAsync"}),o(D,_,w,{nonWritable:!0});var V=h&&h<136;return e({global:!0,constructor:!0,forced:V},{AsyncDisposableStack:k}),uF}var cF={},fF;function Nfe(){if(fF)return cF;fF=1;var e=Sr(),t=Gn(),r=hn(),n=Ta(),i=vn(),o=Kr(),a=uee(),s=o("asyncDispose"),l=r("Promise");return i(a,s)||t(a,s,function(){var c=this;return new l(function(d,h){var p=n(c,"return");p?l.resolve(e(p,c)).then(function(){d(void 0)},h):d(void 0)})}),cF}var dF={},hF;function Mfe(){if(hF)return dF;hF=1;var e=Ue(),t=is(),r=pn(),n=Tr(),i=qt(),o=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:o},{apply:function(s,l,c){return t(r(s),l,n(c))}}),dF}var pF={},vF;function $fe(){if(vF)return pF;vF=1;var e=Ue(),t=hn(),r=is(),n=zJ(),i=ZI(),o=Tr(),a=Gr(),s=xa(),l=qt(),c=t("Reflect","construct"),d=Object.prototype,h=[].push,p=l(function(){function E(){}return!(c(function(){},[],E)instanceof E)}),g=!l(function(){c(function(){})}),S=p||g;return e({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(_,w){i(_),o(w);var b=arguments.length<3?_:i(arguments[2]);if(g&&!p)return c(_,w,b);if(_===b){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 x=[null];return r(h,x,w),new(r(n,_,x))}var A=b.prototype,R=s(a(A)?A:d),O=r(_,R,w);return a(O)?O:R}}),pF}var gF={},mF;function Ffe(){if(mF)return gF;mF=1;var e=Ue(),t=Dr(),r=Tr(),n=Yl(),i=_i(),o=qt(),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,c,d){r(l);var h=n(c);r(d);try{return i.f(l,h,d),!0}catch{return!1}}}),gF}var yF={},_F;function jfe(){if(_F)return yF;_F=1;var e=Ue(),t=Tr(),r=Aa().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]}}),yF}var SF={},ab,EF;function cee(){if(EF)return ab;EF=1;var e=vn();return ab=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},ab}var wF;function Ufe(){if(wF)return SF;wF=1;var e=Ue(),t=Sr(),r=Gr(),n=Tr(),i=cee(),o=Aa(),a=ao();function s(l,c){var d=arguments.length<3?l:arguments[2],h,p;if(n(l)===d)return l[c];if(h=o.f(l,c),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(p=a(l)))return s(p,c,d)}return e({target:"Reflect",stat:!0},{get:s}),SF}var bF={},CF;function qfe(){if(CF)return bF;CF=1;var e=Ue(),t=Dr(),r=Tr(),n=Aa();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(o,a){return n.f(r(o),a)}}),bF}var TF={},AF;function Vfe(){if(AF)return TF;AF=1;var e=Ue(),t=Tr(),r=ao(),n=$I();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(o){return r(t(o))}}),TF}var RF={},xF;function Hfe(){if(xF)return RF;xF=1;var e=Ue();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),RF}var OF={},IF;function Bfe(){if(IF)return OF;IF=1;var e=Ue(),t=Tr(),r=XI();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),OF}var PF={},kF;function zfe(){if(kF)return PF;kF=1;var e=Ue(),t=PI();return e({target:"Reflect",stat:!0},{ownKeys:t}),PF}var DF={},LF;function Wfe(){if(LF)return DF;LF=1;var e=Ue(),t=hn(),r=Tr(),n=eh();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}}}),DF}var NF={},MF;function Gfe(){if(MF)return NF;MF=1;var e=Ue(),t=Sr(),r=Tr(),n=Gr(),i=cee(),o=qt(),a=_i(),s=Aa(),l=ao(),c=es();function d(p,g,S){var E=arguments.length<4?p:arguments[3],_=s.f(r(p),g),w,b,x;if(!_){if(n(b=l(p)))return d(b,g,S,E);_=c(0)}if(i(_)){if(_.writable===!1||!n(E))return!1;if(w=s.f(E,g)){if(w.get||w.set||w.writable===!1)return!1;w.value=S,a.f(E,g,w)}else a.f(E,g,c(0,S))}else{if(x=_.set,x===void 0)return!1;t(x,E,S)}return!0}var h=o(function(){var p=function(){},g=a.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,g)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),NF}var $F={},FF;function Kfe(){if(FF)return $F;FF=1;var e=Ue(),t=Tr(),r=_J(),n=Ys();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(o,a){t(o),r(a);try{return n(o,a),!0}catch{return!1}}}),$F}var jF={},UF;function Yfe(){if(UF)return jF;UF=1;var e=Ue(),t=er(),r=ko();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),jF}var qF={},ob,VF;function Fy(){if(VF)return ob;VF=1;var e=Gr(),t=Ua(),r=Kr(),n=r("match");return ob=function(i){var o;return e(i)&&((o=i[n])!==void 0?!!o:t(i)==="RegExp")},ob}var sb,HF;function fee(){if(HF)return sb;HF=1;var e=er(),t=qt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var o={},a="",s=i?"dgimsy":"gimsy",l=function(p,g){Object.defineProperty(o,p,{get:function(){return a+=g,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(c.hasIndices="d");for(var d in c)l(d,c[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(o);return h!==s||a!==s});return sb={correct:n},sb}var ub,BF;function JI(){if(BF)return ub;BF=1;var e=Tr();return ub=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},ub}var lb,zF;function hf(){if(zF)return lb;zF=1;var e=Sr(),t=vn(),r=io(),n=fee(),i=JI(),o=RegExp.prototype;return lb=n.correct?function(a){return a.flags}:function(a){return!n.correct&&r(o,a)&&!t(a,"flags")?e(i,a):a.flags},lb}var cb,WF;function jy(){if(WF)return cb;WF=1;var e=qt(),t=er(),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 cb={BROKEN_CARET:o,MISSED_STICKY:i,UNSUPPORTED_Y:n},cb}var fb,GF;function eP(){if(GF)return fb;GF=1;var e=qt(),t=er(),r=t.RegExp;return fb=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
|
|
4
|
+
`)&&n.flags==="s")}),fb}var db,KF;function dee(){if(KF)return db;KF=1;var e=qt(),t=er(),r=t.RegExp;return db=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),db}var YF;function Xfe(){if(YF)return qF;YF=1;var e=Dr(),t=er(),r=Wt(),n=Hp(),i=uf(),o=Ra(),a=xa(),s=af().f,l=io(),c=Fy(),d=tn(),h=hf(),p=jy(),g=SJ(),S=Gn(),E=qt(),_=vn(),w=Mi().enforce,b=Zd(),x=Kr(),A=eP(),R=dee(),O=x("match"),m=t.RegExp,k=m.prototype,D=t.SyntaxError,V=r(k.exec),F=r("".charAt),G=r("".replace),Y=r("".indexOf),X=r("".slice),J=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Z=/a/g,ue=/a/g,H=new m(Z)!==Z,L=p.MISSED_STICKY,j=p.UNSUPPORTED_Y,te=e&&(!H||L||A||R||E(function(){return ue[O]=!1,m(Z)!==Z||m(ue)===ue||String(m(Z,"i"))!=="/a/i"})),ee=function(I){for(var P=I.length,q=0,N="",B=!1,re;q<=P;q++){if(re=F(I,q),re==="\\"){N+=re+F(I,++q);continue}!B&&re==="."?N+="[\\s\\S]":(re==="["?B=!0:re==="]"&&(B=!1),N+=re)}return N},de=function(I){for(var P=I.length,q=0,N="",B=[],re=a(null),ce=!1,we=!1,_e=0,Oe="",Te;q<=P;q++){if(Te=F(I,q),Te==="\\")Te+=F(I,++q);else if(Te==="]")ce=!1;else if(!ce)switch(!0){case Te==="[":ce=!0;break;case Te==="(":if(N+=Te,X(I,q+1,q+3)==="?:")continue;V(J,X(I,q+1))&&(q+=2,we=!0),_e++;continue;case(Te===">"&&we):if(Oe===""||_(re,Oe))throw new D("Invalid capture group name");re[Oe]=!0,B[B.length]=[Oe,_e],we=!1,Oe="";continue}we?Oe+=Te:N+=Te}return[N,B]};if(n("RegExp",te)){for(var Se=function(P,q){var N=l(k,this),B=c(P),re=q===void 0,ce=[],we=P,_e,Oe,Te,Ie,$e,ge;if(!N&&B&&re&&P.constructor===Se)return P;if((B||l(k,P))&&(P=P.source,re&&(q=h(we))),P=P===void 0?"":d(P),q=q===void 0?"":d(q),we=P,A&&"dotAll"in Z&&(Oe=!!q&&Y(q,"s")>-1,Oe&&(q=G(q,/s/g,""))),_e=q,L&&"sticky"in Z&&(Te=!!q&&Y(q,"y")>-1,Te&&j&&(q=G(q,/y/g,""))),R&&(Ie=de(P),P=Ie[0],ce=Ie[1]),$e=i(m(P,q),N?this:k,Se),(Oe||Te||ce.length)&&(ge=w($e),Oe&&(ge.dotAll=!0,ge.raw=Se(ee(P),_e)),Te&&(ge.sticky=!0),ce.length&&(ge.groups=ce)),P!==we)try{o($e,"source",we===""?"(?:)":we)}catch{}return $e},Ae=s(m),se=0;Ae.length>se;)g(Se,m,Ae[se++]);k.constructor=Se,Se.prototype=k,S(t,"RegExp",Se,{constructor:!0})}return b("RegExp"),qF}var XF={},hb,QF;function Uy(){if(QF)return hb;QF=1;var e=TypeError;return hb=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},hb}var ZF;function Qfe(){if(ZF)return XF;ZF=1;var e=Ue(),t=Wt(),r=Uy(),n=vn(),i=Oy().start,o=Xp(),a=Array,s=RegExp.escape,l=t("".charAt),c=t("".charCodeAt),d=t(1.1.toString),h=t([].join),p=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,S=RegExp("^[!\"#%&',\\-:;<=>@`~"+o+"]"),E=t(p.exec),_={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(x){var A=d(c(x,0),16);return A.length<3?"\\x"+i(A,2,"0"):"\\u"+i(A,4,"0")},b=!s||s("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:b},{escape:function(A){r(A);for(var R=A.length,O=a(R),m=0;m<R;m++){var k=l(A,m);if(m===0&&E(p,k))O[m]=w(k);else if(n(_,k))O[m]="\\"+_[k];else if(E(g,k))O[m]="\\"+k;else if(E(S,k))O[m]=w(k);else{var D=c(k,0);(D&63488)!==55296?O[m]=k:D>=56320||m+1>=R||(c(A,m+1)&64512)!==56320?O[m]=w(k):(O[m]=k,O[++m]=l(A,m))}}return h(O,"")}}),XF}var JF={},ej;function Zfe(){if(ej)return JF;ej=1;var e=Dr(),t=eP(),r=Ua(),n=zi(),i=Mi().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")}}}),JF}var tj={},pb,rj;function tP(){if(rj)return pb;rj=1;var e=Sr(),t=Wt(),r=tn(),n=JI(),i=jy(),o=Bd(),a=xa(),s=Mi().get,l=eP(),c=dee(),d=o("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,g=t("".charAt),S=t("".indexOf),E=t("".replace),_=t("".slice),w=(function(){var R=/a/,O=/b*/g;return e(h,R,"a"),e(h,O,"a"),R.lastIndex!==0||O.lastIndex!==0})(),b=i.BROKEN_CARET,x=/()??/.exec("")[1]!==void 0,A=w||x||b||l||c;return A&&(p=function(O){var m=this,k=s(m),D=r(O),V=k.raw,F,G,Y,X,J,Z,ue;if(V)return V.lastIndex=m.lastIndex,F=e(p,V,D),m.lastIndex=V.lastIndex,F;var H=k.groups,L=b&&m.sticky,j=e(n,m),te=m.source,ee=0,de=D;if(L&&(j=E(j,"y",""),S(j,"g")===-1&&(j+="g"),de=_(D,m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&g(D,m.lastIndex-1)!==`
|
|
5
|
+
`)&&(te="(?: "+te+")",de=" "+de,ee++),G=new RegExp("^(?:"+te+")",j)),x&&(G=new RegExp("^"+te+"$(?!\\s)",j)),w&&(Y=m.lastIndex),X=e(h,L?G:m,de),L?X?(X.input=_(X.input,ee),X[0]=_(X[0],ee),X.index=m.lastIndex,m.lastIndex+=X[0].length):m.lastIndex=0:w&&X&&(m.lastIndex=m.global?X.index+X[0].length:Y),x&&X&&X.length>1&&e(d,X[0],G,function(){for(J=1;J<arguments.length-2;J++)arguments[J]===void 0&&(X[J]=void 0)}),X&&H)for(X.groups=Z=a(null),J=0;J<H.length;J++)ue=H[J],Z[ue[0]]=X[ue[1]];return X}),pb=p,pb}var nj;function rP(){if(nj)return tj;nj=1;var e=Ue(),t=tP();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),tj}var ij={},aj;function Jfe(){if(aj)return ij;aj=1;var e=Dr(),t=zi(),r=fee(),n=JI();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),ij}var oj={},sj;function ede(){if(sj)return oj;sj=1;var e=Dr(),t=jy().MISSED_STICKY,r=Ua(),n=zi(),i=Mi().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")}}}),oj}var uj={},lj;function tde(){if(lj)return uj;lj=1,rP();var e=Ue(),t=Sr(),r=gn(),n=Tr(),i=tn(),o=(function(){var s=!1,l=/[ac]/;return l.exec=function(){return s=!0,/./.exec.apply(this,arguments)},l.test("abc")===!0&&s})(),a=/./.test;return e({target:"RegExp",proto:!0,forced:!o},{test:function(s){var l=n(this),c=i(s),d=l.exec;if(!r(d))return t(a,l,c);var h=t(d,l,c);return h===null?!1:(n(h),!0)}}),uj}var cj={},fj;function rde(){if(fj)return cj;fj=1;var e=Wd().PROPER,t=Gn(),r=Tr(),n=tn(),i=qt(),o=hf(),a="toString",s=RegExp.prototype,l=s[a],c=i(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&l.name!==a;return(c||d)&&t(s,a,function(){var p=r(this),g=n(p.source),S=n(o(p));return"/"+g+"/"+S},{unsafe:!0}),cj}var dj={},hj={},pj;function nde(){if(pj)return hj;pj=1;var e=Py(),t=KJ();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),hj}var vj;function ide(){return vj||(vj=1,nde()),dj}var gj={},vb,mj;function Xs(){if(mj)return vb;mj=1;var e=Wt(),t=Set.prototype;return vb={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},vb}var gb,yj;function pf(){if(yj)return gb;yj=1;var e=Xs().has;return gb=function(t){return e(t),t},gb}var mb,_j;function vf(){if(_j)return mb;_j=1;var e=Sr();return mb=function(t,r,n){for(var i=n?t:t.iterator,o=t.next,a,s;!(a=e(o,i)).done;)if(s=r(a.value),s!==void 0)return s},mb}var yb,Sj;function ih(){if(Sj)return yb;Sj=1;var e=Wt(),t=vf(),r=Xs(),n=r.Set,i=r.proto,o=e(i.forEach),a=e(i.keys),s=a(new n).next;return yb=function(l,c,d){return d?t({iterator:a(l),next:s},c):o(l,c)},yb}var _b,Ej;function nP(){if(Ej)return _b;Ej=1;var e=Xs(),t=ih(),r=e.Set,n=e.add;return _b=function(i){var o=new r;return t(i,function(a){n(o,a)}),o},_b}var Sb,wj;function Zp(){if(wj)return Sb;wj=1;var e=yy(),t=Xs();return Sb=e(t.proto,"size","get")||function(r){return r.size},Sb}var Eb,bj;function gf(){if(bj)return Eb;bj=1;var e=pn(),t=Tr(),r=Sr(),n=Ui(),i=Va(),o="Invalid size",a=RangeError,s=TypeError,l=Math.max,c=function(d,h){this.set=d,this.size=l(h,0),this.has=e(d.has),this.keys=e(d.keys)};return c.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},Eb=function(d){t(d);var h=+d.size;if(h!==h)throw new s(o);var p=n(h);if(p<0)throw new a(o);return new c(d,p)},Eb}var wb,Cj;function ade(){if(Cj)return wb;Cj=1;var e=pf(),t=Xs(),r=nP(),n=Zp(),i=gf(),o=ih(),a=vf(),s=t.has,l=t.remove;return wb=function(d){var h=e(this),p=i(d),g=r(h);return n(h)<=p.size?o(h,function(S){p.includes(S)&&l(g,S)}):a(p.getIterator(),function(S){s(g,S)&&l(g,S)}),g},wb}var bb,Tj;function mf(){if(Tj)return bb;Tj=1;var e=hn(),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 bb=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}},bb}var Aj;function ode(){if(Aj)return gj;Aj=1;var e=Ue(),t=ade(),r=qt(),n=mf(),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 c=l++>1;return s.has(1)&&s.clear(),{done:c,value:2}}}}},s=new Set([1,2,3,4]);return s.difference(a).size!==3});return e({target:"Set",proto:!0,real:!0,forced:o},{difference:t}),gj}var Rj={},Cb,xj;function sde(){if(xj)return Cb;xj=1;var e=pf(),t=Xs(),r=Zp(),n=gf(),i=ih(),o=vf(),a=t.Set,s=t.add,l=t.has;return Cb=function(d){var h=e(this),p=n(d),g=new a;return r(h)>p.size?o(p.getIterator(),function(S){l(h,S)&&s(g,S)}):i(h,function(S){p.includes(S)&&s(g,S)}),g},Cb}var Oj;function ude(){if(Oj)return Rj;Oj=1;var e=Ue(),t=qt(),r=sde(),n=mf(),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}),Rj}var Ij={},Tb,Pj;function lde(){if(Pj)return Tb;Pj=1;var e=pf(),t=Xs().has,r=Zp(),n=gf(),i=ih(),o=vf(),a=Ia();return Tb=function(l){var c=e(this),d=n(l);if(r(c)<=d.size)return i(c,function(p){if(d.includes(p))return!1},!0)!==!1;var h=d.getIterator();return o(h,function(p){if(t(c,p))return a(h,"normal",!1)})!==!1},Tb}var kj;function cde(){if(kj)return Ij;kj=1;var e=Ue(),t=lde(),r=mf(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),Ij}var Dj={},Ab,Lj;function fde(){if(Lj)return Ab;Lj=1;var e=pf(),t=Zp(),r=ih(),n=gf();return Ab=function(o){var a=e(this),s=n(o);return t(a)>s.size?!1:r(a,function(l){if(!s.includes(l))return!1},!0)!==!1},Ab}var Nj;function dde(){if(Nj)return Dj;Nj=1;var e=Ue(),t=fde(),r=mf(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),Dj}var Mj={},Rb,$j;function hde(){if($j)return Rb;$j=1;var e=pf(),t=Xs().has,r=Zp(),n=gf(),i=vf(),o=Ia();return Rb=function(s){var l=e(this),c=n(s);if(r(l)<c.size)return!1;var d=c.getIterator();return i(d,function(h){if(!t(l,h))return o(d,"normal",!1)})!==!1},Rb}var Fj;function pde(){if(Fj)return Mj;Fj=1;var e=Ue(),t=hde(),r=mf(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),Mj}var jj={},xb,Uj;function vde(){if(Uj)return xb;Uj=1;var e=pf(),t=Xs(),r=nP(),n=gf(),i=vf(),o=t.add,a=t.has,s=t.remove;return xb=function(c){var d=e(this),h=n(c).getIterator(),p=r(d);return i(h,function(g){a(d,g)?s(p,g):o(p,g)}),p},xb}var Ob,qj;function hee(){return qj||(qj=1,Ob=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}}),Ob}var Vj;function gde(){if(Vj)return jj;Vj=1;var e=Ue(),t=vde(),r=hee(),n=mf(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),jj}var Hj={},Ib,Bj;function mde(){if(Bj)return Ib;Bj=1;var e=pf(),t=Xs().add,r=nP(),n=gf(),i=vf();return Ib=function(a){var s=e(this),l=n(a).getIterator(),c=r(s);return i(l,function(d){t(c,d)}),c},Ib}var zj;function yde(){if(zj)return Hj;zj=1;var e=Ue(),t=mde(),r=hee(),n=mf(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),Hj}var Wj={},Gj;function _de(){if(Gj)return Wj;Gj=1;var e=Ue(),t=Wt(),r=Ri(),n=Ui(),i=tn(),o=qt(),a=t("".charAt),s=o(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:s},{at:function(c){var d=i(r(this)),h=d.length,p=n(c),g=p>=0?p:h+p;return g<0||g>=h?void 0:a(d,g)}}),Wj}var Kj={},Pb,Yj;function qy(){if(Yj)return Pb;Yj=1;var e=Wt(),t=Ui(),r=tn(),n=Ri(),i=e("".charAt),o=e("".charCodeAt),a=e("".slice),s=function(l){return function(c,d){var h=r(n(c)),p=t(d),g=h.length,S,E;return p<0||p>=g?l?"":void 0:(S=o(h,p),S<55296||S>56319||p+1===g||(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 Pb={codeAt:s(!1),charAt:s(!0)},Pb}var Xj;function Sde(){if(Xj)return Kj;Xj=1;var e=Ue(),t=qy().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),Kj}var Qj={},kb,Zj;function iP(){if(Zj)return kb;Zj=1;var e=Fy(),t=TypeError;return kb=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},kb}var Db,Jj;function aP(){if(Jj)return Db;Jj=1;var e=Kr(),t=e("match");return Db=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},Db}var eU;function Ede(){if(eU)return Qj;eU=1;var e=Ue(),t=of(),r=Aa().f,n=ts(),i=tn(),o=iP(),a=Ri(),s=aP(),l=In(),c=t("".slice),d=Math.min,h=s("endsWith"),p=!l&&!h&&!!(function(){var g=r(String.prototype,"endsWith");return g&&!g.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,b=_===void 0?w:d(n(_),w),x=i(S);return c(E,b-x.length,b)===x}}),Qj}var tU={},rU;function pee(){if(rU)return tU;rU=1;var e=Ue(),t=Wt(),r=il(),n=RangeError,i=String.fromCharCode,o=String.fromCodePoint,a=t([].join),s=!!o&&o.length!==1;return e({target:"String",stat:!0,arity:1,forced:s},{fromCodePoint:function(c){for(var d=[],h=arguments.length,p=0,g;h>p;){if(g=+arguments[p++],r(g,1114111)!==g)throw new n(g+" is not a valid code point");d[p]=g<65536?i(g):i(((g-=65536)>>10)+55296,g%1024+56320)}return a(d,"")}}),tU}var nU={},iU;function wde(){if(iU)return nU;iU=1;var e=Ue(),t=Wt(),r=iP(),n=Ri(),i=tn(),o=aP(),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)}}),nU}var aU={},oU;function bde(){if(oU)return aU;oU=1;var e=Ue(),t=Wt(),r=Ri(),n=tn(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var a=n(r(this)),s=a.length,l=0;l<s;l++){var c=i(a,l);if((c&63488)===55296&&(c>=56320||++l>=s||(i(a,l)&64512)!==56320))return!1}return!0}}),aU}var sU={},uU;function vee(){if(uU)return sU;uU=1;var e=qy().charAt,t=tn(),r=Mi(),n=VI(),i=ff(),o="String Iterator",a=r.set,s=r.getterFor(o);return n(String,"String",function(l){a(this,{type:o,string:t(l),index:0})},function(){var c=s(this),d=c.string,h=c.index,p;return h>=d.length?i(void 0,!0):(p=e(d,h),c.index+=p.length,i(p,!1))}),sU}var lU={},Lb,cU;function Vy(){if(cU)return Lb;cU=1,rP();var e=Sr(),t=Gn(),r=tP(),n=qt(),i=Kr(),o=Ra(),a=i("species"),s=RegExp.prototype;return Lb=function(l,c,d,h){var p=i(l),g=!n(function(){var w={};return w[p]=function(){return 7},""[l](w)!==7}),S=g&&!n(function(){var w=!1,b=/a/;return l==="split"&&(b={},b.constructor={},b.constructor[a]=function(){return b},b.flags="",b[p]=/./[p]),b.exec=function(){return w=!0,null},b[p](""),!w});if(!g||!S||d){var E=/./[p],_=c(p,""[l],function(w,b,x,A,R){var O=b.exec;return O===r||O===s.exec?g&&!R?{done:!0,value:e(E,b,x,A)}:{done:!0,value:e(w,x,b,A)}:{done:!1}});t(String.prototype,l,_[0]),t(s,p,_[1])}h&&o(s[p],"sham",!0)},Lb}var Nb,fU;function Hy(){if(fU)return Nb;fU=1;var e=qy().charAt;return Nb=function(t,r,n){return r+(n?e(t,r).length:1)},Nb}var Mb,dU;function Jp(){if(dU)return Mb;dU=1;var e=Sr(),t=Tr(),r=gn(),n=Ua(),i=tP(),o=TypeError;return Mb=function(a,s){var l=a.exec;if(r(l)){var c=e(l,a,s);return c!==null&&t(c),c}if(n(a)==="RegExp")return e(i,a,s);throw new o("RegExp#exec called on incompatible receiver")},Mb}var hU;function Cde(){if(hU)return lU;hU=1;var e=Sr(),t=Wt(),r=Vy(),n=Tr(),i=Gr(),o=ts(),a=tn(),s=Ri(),l=Ta(),c=Hy(),d=hf(),h=Jp(),p=t("".indexOf);return r("match",function(g,S,E){return[function(w){var b=s(this),x=i(w)?l(w,g):void 0;return x?e(x,w,b):new RegExp(w)[g](a(b))},function(_){var w=n(this),b=a(_),x=E(S,w,b);if(x.done)return x.value;var A=a(d(w));if(p(A,"g")===-1)return h(w,b);var R=p(A,"u")!==-1;w.lastIndex=0;for(var O=[],m=0,k;(k=h(w,b))!==null;){var D=a(k[0]);O[m]=D,D===""&&(w.lastIndex=c(b,o(w.lastIndex),R)),m++}return m===0?null:O}]}),lU}var pU={},vU;function Tde(){if(vU)return pU;vU=1;var e=Ue(),t=Sr(),r=of(),n=qI(),i=ff(),o=Ri(),a=ts(),s=tn(),l=Tr(),c=Gr(),d=Ua(),h=Fy(),p=hf(),g=Ta(),S=Gn(),E=qt(),_=Kr(),w=Ny(),b=Hy(),x=Jp(),A=Mi(),R=In(),O=_("matchAll"),m="RegExp String",k=m+" Iterator",D=A.set,V=A.getterFor(k),F=RegExp.prototype,G=TypeError,Y=r("".indexOf),X=r("".matchAll),J=!!X&&!E(function(){X("a",/./)}),Z=n(function(L,j,te,ee){D(this,{type:k,regexp:L,string:j,global:te,unicode:ee,done:!1})},m,function(){var L=V(this);if(L.done)return i(void 0,!0);var j=L.regexp,te=L.string,ee=x(j,te);return ee===null?(L.done=!0,i(void 0,!0)):L.global?(s(ee[0])===""&&(j.lastIndex=b(te,a(j.lastIndex),L.unicode)),i(ee,!1)):(L.done=!0,i(ee,!1))}),ue=function(H){var L=l(this),j=s(H),te=w(L,RegExp),ee=s(p(L)),de,Se,Ae;return de=new te(te===RegExp?L.source:L,ee),Se=!!~Y(ee,"g"),Ae=!!~Y(ee,"u"),de.lastIndex=a(L.lastIndex),new Z(de,j,Se,Ae)};return e({target:"String",proto:!0,forced:J},{matchAll:function(L){var j=o(this),te,ee,de,Se;if(c(L)){if(h(L)&&(te=s(o(p(L))),!~Y(te,"g")))throw new G("`.matchAll` does not allow non-global regexes");if(J)return X(j,L);if(de=g(L,O),de===void 0&&R&&d(L)==="RegExp"&&(de=ue),de)return t(de,L,j)}else if(J)return X(j,L);return ee=s(j),Se=new RegExp(L,"g"),R?t(ue,Se,ee):Se[O](ee)}}),R||O in F||S(F,O,ue),pU}var gU={},$b,mU;function gee(){if(mU)return $b;mU=1;var e=mu();return $b=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),$b}var yU;function Ade(){if(yU)return gU;yU=1;var e=Ue(),t=Oy().end,r=gee();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),gU}var _U={},SU;function Rde(){if(SU)return _U;SU=1;var e=Ue(),t=Oy().start,r=gee();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),_U}var EU={},wU;function xde(){if(wU)return EU;wU=1;var e=Ue(),t=Wt(),r=ga(),n=Rn(),i=tn(),o=ei(),a=t([].push),s=t([].join);return e({target:"String",stat:!0},{raw:function(c){var d=r(n(c).raw),h=o(d);if(!h)return"";for(var p=arguments.length,g=[],S=0;;){if(a(g,i(d[S++])),S===h)return s(g,"");S<p&&a(g,i(arguments[S]))}}}),EU}var bU={},CU;function Ode(){if(CU)return bU;CU=1;var e=Ue(),t=xy();return e({target:"String",proto:!0},{repeat:t}),bU}var TU={},Fb,AU;function mee(){if(AU)return Fb;AU=1;var e=Wt(),t=Rn(),r=Math.floor,n=e("".charAt),i=e("".replace),o=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return Fb=function(l,c,d,h,p,g){var S=d+l.length,E=h.length,_=s;return p!==void 0&&(p=t(p),_=a),i(g,_,function(w,b){var x;switch(n(b,0)){case"$":return"$";case"&":return l;case"`":return o(c,0,d);case"'":return o(c,S);case"<":x=p[o(b,1,-1)];break;default:var A=+b;if(A===0)return w;if(A>E){var R=r(A/10);return R===0?w:R<=E?h[R-1]===void 0?n(b,1):h[R-1]+n(b,1):w}x=h[A-1]}return x===void 0?"":x})},Fb}var RU;function Ide(){if(RU)return TU;RU=1;var e=is(),t=Sr(),r=Wt(),n=Vy(),i=qt(),o=Tr(),a=gn(),s=Gr(),l=Ui(),c=ts(),d=tn(),h=Ri(),p=Hy(),g=Ta(),S=mee(),E=hf(),_=Jp(),w=Kr(),b=w("replace"),x=Math.max,A=Math.min,R=r([].concat),O=r([].push),m=r("".indexOf),k=r("".slice),D=function(Y){return Y===void 0?Y:String(Y)},V=(function(){return"a".replace(/./,"$0")==="$0"})(),F=(function(){return/./[b]?/./[b]("a","$0")==="":!1})(),G=!i(function(){var Y=/./;return Y.exec=function(){var X=[];return X.groups={a:"7"},X},"".replace(Y,"$<a>")!=="7"});return n("replace",function(Y,X,J){var Z=F?"$":"$0";return[function(H,L){var j=h(this),te=s(H)?g(H,b):void 0;return te?t(te,H,j,L):t(X,d(j),H,L)},function(ue,H){var L=o(this),j=d(ue);if(typeof H=="string"&&m(H,Z)===-1&&m(H,"$<")===-1){var te=J(X,L,j,H);if(te.done)return te.value}var ee=a(H);ee||(H=d(H));var de=d(E(L)),Se=m(de,"g")!==-1,Ae;Se&&(Ae=m(de,"u")!==-1,L.lastIndex=0);for(var se=[],I;I=_(L,j),!(I===null||(O(se,I),!Se));){var P=d(I[0]);P===""&&(L.lastIndex=p(j,c(L.lastIndex),Ae))}for(var q="",N=0,B=0;B<se.length;B++){I=se[B];for(var re=d(I[0]),ce=x(A(l(I.index),j.length),0),we=[],_e,Oe=1;Oe<I.length;Oe++)O(we,D(I[Oe]));var Te=I.groups;if(ee){var Ie=R([re],we,ce,j);Te!==void 0&&O(Ie,Te),_e=d(e(H,void 0,Ie))}else _e=S(re,j,ce,we,Te,H);ce>=N&&(q+=k(j,N,ce)+_e,N=ce+re.length)}return q+k(j,N)}]},!G||!V||F),TU}var xU={},OU;function Pde(){if(OU)return xU;OU=1;var e=Ue(),t=Sr(),r=Wt(),n=Ri(),i=gn(),o=Gr(),a=Fy(),s=tn(),l=Ta(),c=hf(),d=mee(),h=Kr(),p=In(),g=h("replace"),S=TypeError,E=r("".indexOf),_=r("".replace),w=r("".slice),b=Math.max;return e({target:"String",proto:!0},{replaceAll:function(A,R){var O=n(this),m,k,D,V,F,G,Y,X,J,Z,ue=0,H="";if(o(A)){if(m=a(A),m&&(k=s(n(c(A))),!~E(k,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(D=l(A,g),D)return t(D,A,O,R);if(p&&m)return _(s(O),A,R)}for(V=s(O),F=s(A),G=i(R),G||(R=s(R)),Y=F.length,X=b(1,Y),J=E(V,F);J!==-1;)Z=G?s(R(F,J,V)):d(F,V,J,[],void 0,R),H+=w(V,ue,J)+Z,ue=J+Y,J=J+X>V.length?-1:E(V,F,J+X);return ue<V.length&&(H+=w(V,ue)),H}}),xU}var IU={},PU;function kde(){if(PU)return IU;PU=1;var e=Sr(),t=Vy(),r=Tr(),n=Gr(),i=Ri(),o=ree(),a=tn(),s=Ta(),l=Jp();return t("search",function(c,d,h){return[function(g){var S=i(this),E=n(g)?s(g,c):void 0;return E?e(E,g,S):new RegExp(g)[c](a(S))},function(p){var g=r(this),S=a(p),E=h(d,g,S);if(E.done)return E.value;var _=g.lastIndex;o(_,0)||(g.lastIndex=0);var w=l(g,S);return o(g.lastIndex,_)||(g.lastIndex=_),w===null?-1:w.index}]}),IU}var kU={},DU;function Dde(){if(DU)return kU;DU=1;var e=Sr(),t=Wt(),r=Vy(),n=Tr(),i=Gr(),o=Ri(),a=Ny(),s=Hy(),l=ts(),c=tn(),d=Ta(),h=Jp(),p=jy(),g=qt(),S=p.UNSUPPORTED_Y,E=4294967295,_=Math.min,w=t([].push),b=t("".slice),x=!g(function(){var R=/(?:)/,O=R.exec;R.exec=function(){return O.apply(this,arguments)};var m="ab".split(R);return m.length!==2||m[0]!=="a"||m[1]!=="b"}),A="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,O,m){var k="0".split(void 0,0).length?function(D,V){return D===void 0&&V===0?[]:e(O,this,D,V)}:O;return[function(V,F){var G=o(this),Y=i(V)?d(V,R):void 0;return Y?e(Y,V,G,F):e(k,c(G),V,F)},function(D,V){var F=n(this),G=c(D);if(!A){var Y=m(k,F,G,V,k!==O);if(Y.done)return Y.value}var X=a(F,RegExp),J=F.unicode,Z=(F.ignoreCase?"i":"")+(F.multiline?"m":"")+(F.unicode?"u":"")+(S?"g":"y"),ue=new X(S?"^(?:"+F.source+")":F,Z),H=V===void 0?E:V>>>0;if(H===0)return[];if(G.length===0)return h(ue,G)===null?[G]:[];for(var L=0,j=0,te=[];j<G.length;){ue.lastIndex=S?0:j;var ee=h(ue,S?b(G,j):G),de;if(ee===null||(de=_(l(ue.lastIndex+(S?j:0)),G.length))===L)j=s(G,j,J);else{if(w(te,b(G,L,j)),te.length===H)return te;for(var Se=1;Se<=ee.length-1;Se++)if(w(te,ee[Se]),te.length===H)return te;j=L=de}}return w(te,b(G,L)),te}]},A||!x,S),kU}var LU={},NU;function Lde(){if(NU)return LU;NU=1;var e=Ue(),t=of(),r=Aa().f,n=ts(),i=tn(),o=iP(),a=Ri(),s=aP(),l=In(),c=t("".slice),d=Math.min,h=s("startsWith"),p=!l&&!h&&!!(function(){var g=r(String.prototype,"startsWith");return g&&!g.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 c(E,_,_+w.length)===w}}),LU}var MU={},$U;function Nde(){if($U)return MU;$U=1;var e=Ue(),t=Wt(),r=Ri(),n=Ui(),i=tn(),o=t("".slice),a=Math.max,s=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)),g=p.length,S=n(d),E,_;return S===1/0&&(S=0),S<0&&(S=a(g+S,0)),E=h===void 0?g:n(h),E<=0||E===1/0?"":(_=s(S+E,g),S>=_?"":o(p,S,_))}}),MU}var FU={},jU;function Mde(){if(jU)return FU;jU=1;var e=Ue(),t=Sr(),r=Wt(),n=Ri(),i=tn(),o=qt(),a=Array,s=r("".charAt),l=r("".charCodeAt),c=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 b=l(S,w);(b&63488)!==55296?_[w]=s(S,w):b>=56320||w+1>=E||(l(S,w+1)&64512)!==56320?_[w]=h:(_[w]=s(S,w),_[++w]=s(S,w))}return c(_,"")}}),FU}var UU={},jb,qU;function oP(){if(qU)return jb;qU=1;var e=Wd().PROPER,t=qt(),r=Xp(),n="
";return jb=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},jb}var VU;function $de(){if(VU)return UU;VU=1;var e=Ue(),t=th().trim,r=oP();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),UU}var HU={},BU={},Ub,zU;function yee(){if(zU)return Ub;zU=1;var e=th().end,t=oP();return Ub=t("trimEnd")?function(){return e(this)}:"".trimEnd,Ub}var WU;function Fde(){if(WU)return BU;WU=1;var e=Ue(),t=yee();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),BU}var GU;function jde(){if(GU)return HU;GU=1,Fde();var e=Ue(),t=yee();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),HU}var KU={},YU={},qb,XU;function _ee(){if(XU)return qb;XU=1;var e=th().start,t=oP();return qb=t("trimStart")?function(){return e(this)}:"".trimStart,qb}var QU;function Ude(){if(QU)return YU;QU=1;var e=Ue(),t=_ee();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),YU}var ZU;function qde(){if(ZU)return KU;ZU=1,Ude();var e=Ue(),t=_ee();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),KU}var JU={},Vb,eq;function os(){if(eq)return Vb;eq=1;var e=Wt(),t=Ri(),r=tn(),n=/"/g,i=e("".replace);return Vb=function(o,a,s,l){var c=r(t(o)),d="<"+a;return s!==""&&(d+=" "+s+'="'+i(r(l),n,""")+'"'),d+">"+c+"</"+a+">"},Vb}var Hb,tq;function ss(){if(tq)return Hb;tq=1;var e=qt();return Hb=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},Hb}var rq;function Vde(){if(rq)return JU;rq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),JU}var nq={},iq;function Hde(){if(iq)return nq;iq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),nq}var aq={},oq;function Bde(){if(oq)return aq;oq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),aq}var sq={},uq;function zde(){if(uq)return sq;uq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),sq}var lq={},cq;function Wde(){if(cq)return lq;cq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),lq}var fq={},dq;function Gde(){if(dq)return fq;dq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),fq}var hq={},pq;function Kde(){if(pq)return hq;pq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),hq}var vq={},gq;function Yde(){if(gq)return vq;gq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),vq}var mq={},yq;function Xde(){if(yq)return mq;yq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),mq}var _q={},Sq;function Qde(){if(Sq)return _q;Sq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),_q}var Eq={},wq;function Zde(){if(wq)return Eq;wq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),Eq}var bq={},Cq;function Jde(){if(Cq)return bq;Cq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),bq}var Tq={},Aq;function ehe(){if(Aq)return Tq;Aq=1;var e=Ue(),t=os(),r=ss();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),Tq}var Rq={},_g={exports:{}},Bb,xq;function sP(){if(xq)return Bb;xq=1;var e=er(),t=qt(),r=Ey(),n=mn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,o=e.Int8Array;return Bb=!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}),Bb}var zb,Oq;function See(){if(Oq)return zb;Oq=1;var e=KI(),t=RangeError;return zb=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},zb}var Wb,Iq;function the(){if(Iq)return Wb;Iq=1;var e=Math.round;return Wb=function(t){var r=e(t);return r<0?0:r>255?255:r&255},Wb}var Gb,Pq;function Eee(){if(Pq)return Gb;Pq=1;var e=rs();return Gb=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},Gb}var Kb,kq;function uP(){if(kq)return Kb;kq=1;var e=hy(),t=TypeError;return Kb=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},Kb}var Yb,Dq;function wee(){if(Dq)return Yb;Dq=1;var e=ns(),t=Sr(),r=ZI(),n=Rn(),i=ei(),o=Yd(),a=lf(),s=FI(),l=Eee(),c=mn().aTypedArrayConstructor,d=uP();return Yb=function(p){var g=r(this),S=n(p),E=arguments.length,_=E>1?arguments[1]:void 0,w=_!==void 0,b=a(S),x,A,R,O,m,k,D,V;if(b&&!s(b))for(D=o(S,b),V=D.next,S=[];!(k=t(V,D)).done;)S.push(k.value);for(w&&E>2&&(_=e(_,arguments[2])),A=i(S),R=new(c(g))(A),O=l(R),x=0;A>x;x++)m=w?_(S[x],x):S[x],R[x]=O?d(m):+m;return R},Yb}var Lq;function ll(){if(Lq)return _g.exports;Lq=1;var e=Ue(),t=er(),r=Sr(),n=Dr(),i=sP(),o=mn(),a=Ry(),s=as(),l=es(),c=Ra(),d=QI(),h=ts(),p=Ay(),g=See(),S=the(),E=Yl(),_=vn(),w=rs(),b=Gr(),x=rf(),A=xa(),R=io(),O=Ys(),m=af().f,k=wee(),D=Oa().forEach,V=Zd(),F=zi(),G=_i(),Y=Aa(),X=Kp(),J=Mi(),Z=uf(),ue=J.get,H=J.set,L=J.enforce,j=G.f,te=Y.f,ee=t.RangeError,de=a.ArrayBuffer,Se=de.prototype,Ae=a.DataView,se=o.NATIVE_ARRAY_BUFFER_VIEWS,I=o.TYPED_ARRAY_TAG,P=o.TypedArray,q=o.TypedArrayPrototype,N=o.isTypedArray,B="BYTES_PER_ELEMENT",re="Wrong length",ce=function(Ie,$e){F(Ie,$e,{configurable:!0,get:function(){return ue(this)[$e]}})},we=function(Ie){var $e;return R(Se,Ie)||($e=w(Ie))==="ArrayBuffer"||$e==="SharedArrayBuffer"},_e=function(Ie,$e){return N(Ie)&&!x($e)&&$e in Ie&&d(+$e)&&$e>=0},Oe=function($e,ge){return ge=E(ge),_e($e,ge)?l(2,$e[ge]):te($e,ge)},Te=function($e,ge,be){return ge=E(ge),_e($e,ge)&&b(be)&&_(be,"value")&&!_(be,"get")&&!_(be,"set")&&!be.configurable&&(!_(be,"writable")||be.writable)&&(!_(be,"enumerable")||be.enumerable)?($e[ge]=be.value,$e):j($e,ge,be)};return n?(se||(Y.f=Oe,G.f=Te,ce(q,"buffer"),ce(q,"byteOffset"),ce(q,"byteLength"),ce(q,"length")),e({target:"Object",stat:!0,forced:!se},{getOwnPropertyDescriptor:Oe,defineProperty:Te}),_g.exports=function(Ie,$e,ge){var be=Ie.match(/\d+/)[0]/8,Ce=Ie+(ge?"Clamped":"")+"Array",Le="get"+Ie,Ve="set"+Ie,qe=t[Ce],Ge=qe,ct=Ge&&Ge.prototype,jt={},zt=function(st,rt){var dt=ue(st);return dt.view[Le](rt*be+dt.byteOffset,!0)},Ze=function(st,rt,dt){var Gt=ue(st);Gt.view[Ve](rt*be+Gt.byteOffset,ge?S(dt):dt,!0)},Tt=function(st,rt){j(st,rt,{get:function(){return zt(this,rt)},set:function(dt){return Ze(this,rt,dt)},enumerable:!0})};se?i&&(Ge=$e(function(st,rt,dt,Gt){return s(st,ct),Z((function(){return b(rt)?we(rt)?Gt!==void 0?new qe(rt,g(dt,be),Gt):dt!==void 0?new qe(rt,g(dt,be)):new qe(rt):N(rt)?X(Ge,rt):r(k,Ge,rt):new qe(p(rt))})(),st,Ge)}),O&&O(Ge,P),D(m(qe),function(st){st in Ge||c(Ge,st,qe[st])}),Ge.prototype=ct):(Ge=$e(function(st,rt,dt,Gt){s(st,ct);var Mt=0,Re=0,Je,ut,wt;if(!b(rt))wt=p(rt),ut=wt*be,Je=new de(ut);else if(we(rt)){Je=rt,Re=g(dt,be);var Nt=rt.byteLength;if(Gt===void 0){if(Nt%be)throw new ee(re);if(ut=Nt-Re,ut<0)throw new ee(re)}else if(ut=h(Gt)*be,ut+Re>Nt)throw new ee(re);wt=ut/be}else return N(rt)?X(Ge,rt):r(k,Ge,rt);for(H(st,{buffer:Je,byteOffset:Re,byteLength:ut,length:wt,view:new Ae(Je)});Mt<wt;)Tt(st,Mt++)}),O&&O(Ge,P),ct=Ge.prototype=A(q)),ct.constructor!==Ge&&c(ct,"constructor",Ge),L(ct).TypedArrayConstructor=Ge,I&&c(ct,I,Ce);var _t=Ge!==qe;jt[Ce]=Ge,e({global:!0,constructor:!0,forced:_t,sham:!se},jt),B in Ge||c(Ge,B,be),B in ct||c(ct,B,be),V(Ce)}):_g.exports=function(){},_g.exports}var Nq;function rhe(){if(Nq)return Rq;Nq=1;var e=ll();return e("Float32",function(t){return function(n,i,o){return t(this,n,i,o)}}),Rq}var Mq={},$q;function nhe(){if($q)return Mq;$q=1;var e=ll();return e("Float64",function(t){return function(n,i,o){return t(this,n,i,o)}}),Mq}var Fq={},jq;function ihe(){if(jq)return Fq;jq=1;var e=ll();return e("Int8",function(t){return function(n,i,o){return t(this,n,i,o)}}),Fq}var Uq={},qq;function ahe(){if(qq)return Uq;qq=1;var e=ll();return e("Int16",function(t){return function(n,i,o){return t(this,n,i,o)}}),Uq}var Vq={},Hq;function ohe(){if(Hq)return Vq;Hq=1;var e=ll();return e("Int32",function(t){return function(n,i,o){return t(this,n,i,o)}}),Vq}var Bq={},zq;function she(){if(zq)return Bq;zq=1;var e=ll();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}}),Bq}var Wq={},Gq;function uhe(){if(Gq)return Wq;Gq=1;var e=ll();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}},!0),Wq}var Kq={},Yq;function lhe(){if(Yq)return Kq;Yq=1;var e=ll();return e("Uint16",function(t){return function(n,i,o){return t(this,n,i,o)}}),Kq}var Xq={},Qq;function che(){if(Qq)return Xq;Qq=1;var e=ll();return e("Uint32",function(t){return function(n,i,o){return t(this,n,i,o)}}),Xq}var Zq={},Jq;function fhe(){if(Jq)return Zq;Jq=1;var e=mn(),t=ei(),r=Ui(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(a){var s=n(this),l=t(s),c=r(a),d=c>=0?c:l+c;return d<0||d>=l?void 0:s[d]}),Zq}var eV={},tV;function dhe(){if(tV)return eV;tV=1;var e=Wt(),t=mn(),r=TJ(),n=e(r),i=t.aTypedArray,o=t.exportTypedArrayMethod;return o("copyWithin",function(s,l){return n(i(this),s,l,arguments.length>2?arguments[2]:void 0)}),eV}var rV={},nV;function hhe(){if(nV)return rV;nV=1;var e=mn(),t=Oa().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),rV}var iV={},aV;function phe(){if(aV)return iV;aV=1;var e=mn(),t=jI(),r=uP(),n=rs(),i=Sr(),o=Wt(),a=qt(),s=e.aTypedArray,l=e.exportTypedArrayMethod,c=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 g=arguments.length;s(this);var S=c(n(this),0,3)==="Big"?r(p):+p;return i(t,this,S,g>1?arguments[1]:void 0,g>2?arguments[2]:void 0)},d),iV}var oV={},Xb,sV;function vhe(){if(sV)return Xb;sV=1;var e=Kp(),t=mn().getTypedArrayConstructor;return Xb=function(r,n){return e(t(r),n)},Xb}var uV;function ghe(){if(uV)return oV;uV=1;var e=mn(),t=Oa().filter,r=vhe(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(a){var s=t(n(this),a,arguments.length>1?arguments[1]:void 0);return r(this,s)}),oV}var lV={},cV;function mhe(){if(cV)return lV;cV=1;var e=mn(),t=Oa().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),lV}var fV={},dV;function yhe(){if(dV)return fV;dV=1;var e=mn(),t=Oa().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),fV}var hV={},pV;function _he(){if(pV)return hV;pV=1;var e=mn(),t=Sy().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),hV}var vV={},gV;function She(){if(gV)return vV;gV=1;var e=mn(),t=Sy().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),vV}var mV={},yV;function Ehe(){if(yV)return mV;yV=1;var e=mn(),t=Oa().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(o){t(r(this),o,arguments.length>1?arguments[1]:void 0)}),mV}var _V={},SV;function whe(){if(SV)return _V;SV=1;var e=sP(),t=mn().exportTypedArrayStaticMethod,r=wee();return t("from",r,e),_V}var EV={},wV;function bhe(){if(wV)return EV;wV=1;var e=mn(),t=Vp().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),EV}var bV={},CV;function Che(){if(CV)return bV;CV=1;var e=mn(),t=Vp().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),bV}var TV={},AV;function The(){if(AV)return TV;AV=1;var e=er(),t=qt(),r=Wt(),n=mn(),i=wy(),o=Kr(),a=o("iterator"),s=e.Uint8Array,l=r(i.values),c=r(i.keys),d=r(i.entries),h=n.aTypedArray,p=n.exportTypedArrayMethod,g=s&&s.prototype,S=!t(function(){g[a].call([1])}),E=!!g&&g.values&&g[a]===g.values&&g.values.name==="values",_=function(){return l(h(this))};return p("entries",function(){return d(h(this))},S),p("keys",function(){return c(h(this))},S),p("values",_,S||!E,{name:"values"}),p(a,_,S||!E,{name:"values"}),TV}var RV={},xV;function Ahe(){if(xV)return RV;xV=1;var e=mn(),t=Wt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(a){return i(r(this),a)}),RV}var OV={},IV;function Rhe(){if(IV)return OV;IV=1;var e=mn(),t=is(),r=OJ(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(a){var s=arguments.length;return t(r,n(this),s>1?[a,arguments[1]]:[a])}),OV}var PV={},kV;function xhe(){if(kV)return PV;kV=1;var e=mn(),t=Oa().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(s,l){return new(n(s))(l)})}),PV}var DV={},LV;function Ohe(){if(LV)return DV;LV=1;var e=mn(),t=sP(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var o=0,a=arguments.length,s=new(r(this))(a);a>o;)s[o]=arguments[o++];return s},t),DV}var NV={},MV;function Ihe(){if(MV)return NV;MV=1;var e=mn(),t=by().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)}),NV}var $V={},FV;function Phe(){if(FV)return $V;FV=1;var e=mn(),t=by().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)}),$V}var jV={},UV;function khe(){if(UV)return jV;UV=1;var e=mn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var o=this,a=t(o).length,s=n(a/2),l=0,c;l<s;)c=o[l],o[l++]=o[--a],o[a]=c;return o}),jV}var qV={},VV;function Dhe(){if(VV)return qV;VV=1;var e=er(),t=Sr(),r=mn(),n=ei(),i=See(),o=Rn(),a=qt(),s=e.RangeError,l=e.Int8Array,c=l&&l.prototype,d=c&&c.set,h=r.aTypedArray,p=r.exportTypedArrayMethod,g=!a(function(){var E=new Uint8ClampedArray(2);return t(d,E,{length:1,0:3},1),E[1]!==3}),S=g&&r.NATIVE_ARRAY_BUFFER_VIEWS&&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),b=o(_);if(g)return t(d,this,b,w);var x=this.length,A=n(b),R=0;if(A+w>x)throw new s("Wrong length");for(;R<A;)this[w+R]=b[R++]},!g||S),qV}var HV={},BV;function Lhe(){if(BV)return HV;BV=1;var e=mn(),t=qt(),r=Ps(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,a=t(function(){new Int8Array(1).slice()});return o("slice",function(l,c){for(var d=r(n(this),l,c),h=i(this),p=0,g=d.length,S=new h(g);g>p;)S[p]=d[p++];return S},a),HV}var zV={},WV;function Nhe(){if(WV)return zV;WV=1;var e=mn(),t=Oa().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),zV}var GV={},KV;function Mhe(){if(KV)return GV;KV=1;var e=er(),t=of(),r=qt(),n=pn(),i=BI(),o=mn(),a=IJ(),s=PJ(),l=yu(),c=zI(),d=o.aTypedArray,h=o.exportTypedArrayMethod,p=e.Uint16Array,g=p&&t(p.prototype.sort),S=!!g&&!(r(function(){g(new p(2),null)})&&r(function(){g(new p(2),{})})),E=!!g&&!r(function(){if(l)return l<74;if(a)return a<67;if(s)return!0;if(c)return c<602;var w=new p(516),b=Array(516),x,A;for(x=0;x<516;x++)A=x%4,w[x]=515-x,b[x]=x-2*A+3;for(g(w,function(R,O){return(R/4|0)-(O/4|0)}),x=0;x<516;x++)if(w[x]!==b[x])return!0}),_=function(w){return function(b,x){return w!==void 0?+w(b,x)||0:x!==x?-1:b!==b?1:b===0&&x===0?1/b>0&&1/x<0?1:-1:b>x}};return h("sort",function(b){return b!==void 0&&n(b),E?g(this,b):i(d(this),_(b))},!E||S),GV}var YV={},XV;function $he(){if(XV)return YV;XV=1;var e=mn(),t=ts(),r=il(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod;return o("subarray",function(s,l){var c=n(this),d=c.length,h=r(s,d),p=i(c);return new p(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,t((l===void 0?d:r(l,d))-h))}),YV}var QV={},ZV;function Fhe(){if(ZV)return QV;ZV=1;var e=er(),t=is(),r=mn(),n=qt(),i=Ps(),o=e.Int8Array,a=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].toLocaleString,c=!!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 s("toLocaleString",function(){return t(l,c?i(a(this)):a(this),i(arguments))},d),QV}var JV={},eH;function jhe(){if(eH)return JV;eH=1;var e=kJ(),t=mn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),JV}var tH={},rH;function Uhe(){if(rH)return tH;rH=1;var e=mn(),t=Wt(),r=pn(),n=Kp(),i=e.aTypedArray,o=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,s=t(e.TypedArrayPrototype.sort);return a("toSorted",function(c){c!==void 0&&r(c);var d=i(this),h=n(o(d),d);return s(h,c)}),tH}var nH={},iH;function qhe(){if(iH)return nH;iH=1;var e=mn().exportTypedArrayMethod,t=qt(),r=er(),n=Wt(),i=r.Uint8Array,o=i&&i.prototype||{},a=[].toString,s=n([].join);t(function(){a.call({})})&&(a=function(){return s(this)});var l=o.toString!==a;return e("toString",a,l),nH}var aH={},oH;function Vhe(){if(oH)return aH;oH=1;var e=LJ(),t=mn(),r=Eee(),n=Ui(),i=uP(),o=t.aTypedArray,a=t.getTypedArrayConstructor,s=t.exportTypedArrayMethod,l=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),c=l&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return s("with",function(d,h){var p=o(this),g=n(d),S=r(p)?i(h):+h;return e(p,a(p),g,S)},!l||c),aH}var sH={},Qb,uH;function bee(){if(uH)return Qb;uH=1;var e=Gr(),t=String,r=TypeError;return Qb=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},Qb}var Zb,lH;function By(){if(lH)return Zb;lH=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 Zb={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},Zb}var Jb,cH;function Cee(){if(cH)return Jb;cH=1;var e=TypeError;return Jb=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},Jb}var eC,fH;function Tee(){if(fH)return eC;fH=1;var e=er(),t=Wt(),r=bee(),n=Uy(),i=vn(),o=By(),a=Cee(),s=Yp(),l=o.c2i,c=o.c2iUrl,d=e.SyntaxError,h=e.TypeError,p=t("".charAt),g=function(_,w){for(var b=_.length;w<b;w++){var x=p(_,w);if(x!==" "&&x!==" "&&x!==`
|
|
6
|
+
`&&x!=="\f"&&x!=="\r")break}return w},S=function(_,w,b){var x=_.length;x<4&&(_+=x===2?"AA":"A");var A=(w[p(_,0)]<<18)+(w[p(_,1)]<<12)+(w[p(_,2)]<<6)+w[p(_,3)],R=[A>>16&255,A>>8&255,A&255];if(x===2){if(b&&R[1]!==0)throw new d("Extra bits");return[R[0]]}if(x===3){if(b&&R[2]!==0)throw new d("Extra bits");return[R[0],R[1]]}return R},E=function(_,w,b){for(var x=w.length,A=0;A<x;A++)_[b+A]=w[A];return b+x};return eC=function(_,w,b,x){n(_),r(w);var A=a(w)==="base64"?l:c,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");b&&s(b.buffer);var O=_.length,m=b||[],k=0,D=0,V="",F=0;if(x)for(;;){if(F=g(_,F),F===O){if(V.length>0){if(R==="stop-before-partial")break;if(R==="loose"){if(V.length===1)throw new d("Malformed padding: exactly one additional character");k=E(m,S(V,A,!1),k)}else throw new d("Missing padding")}D=O;break}var G=p(_,F);if(++F,G==="="){if(V.length<2)throw new d("Padding is too early");if(F=g(_,F),V.length===2){if(F===O){if(R==="stop-before-partial")break;throw new d("Malformed padding: only one =")}p(_,F)==="="&&(++F,F=g(_,F))}if(F<O)throw new d("Unexpected character after padding");k=E(m,S(V,A,R==="strict"),k),D=O;break}if(!i(A,G))throw new d("Unexpected character");var Y=x-k;if(Y===1&&V.length===2||Y===2&&V.length===3||(V+=G,V.length===4&&(k=E(m,S(V,A,!1),k),V="",D=F,k===x)))break}return{bytes:m,read:D,written:k}},eC}var dH;function Hhe(){if(dH)return sH;dH=1;var e=Ue(),t=er(),r=Kp(),n=Tee(),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(s){var l=n(s,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,l.bytes)}}),sH}var hH={},tC,pH;function Aee(){if(pH)return tC;pH=1;var e=er(),t=Wt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,o=Math.min,a=/[^\da-f]/i,s=t(a.exec),l=t("".slice);return tC=function(c,d){var h=c.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var p=d?o(d.length,h/2):h/2,g=d||new r(p),S=0,E=0;E<p;){var _=l(c,S,S+=2);if(s(a,_))throw new n("String should only contain hex characters");g[E++]=i(_,16)}return{bytes:g,read:S}},tC}var vH;function Bhe(){if(vH)return hH;vH=1;var e=Ue(),t=er(),r=Uy(),n=Aee();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(o){return n(r(o)).bytes}}),hH}var gH={},rC,mH;function zy(){if(mH)return rC;mH=1;var e=rs(),t=TypeError;return rC=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},rC}var yH;function zhe(){if(yH)return gH;yH=1;var e=Ue(),t=er(),r=Tee(),n=zy(),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(s){n(this);var l=r(s,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}}),gH}var _H={},SH;function Whe(){if(SH)return _H;SH=1;var e=Ue(),t=er(),r=Uy(),n=zy(),i=Yp(),o=Aee();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(s){n(this),r(s),i(this.buffer);var l=o(s,this).read;return{read:l,written:l/2}}}),_H}var EH={},wH;function Ghe(){if(wH)return EH;wH=1;var e=Ue(),t=er(),r=Wt(),n=bee(),i=zy(),o=Yp(),a=By(),s=Cee(),l=a.i2c,c=a.i2cUrl,d=r("".charAt),h=t.Uint8Array,p=!h||!h.prototype.toBase64||!(function(){try{var g=new h;g.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:p},{toBase64:function(){var S=i(this),E=arguments.length?n(arguments[0]):void 0,_=s(E)==="base64"?l:c,w=!!E&&!!E.omitPadding;o(this.buffer);for(var b="",x=0,A=S.length,R,O=function(m){return d(_,R>>6*m&63)};x+2<A;x+=3)R=(S[x]<<16)+(S[x+1]<<8)+S[x+2],b+=O(3)+O(2)+O(1)+O(0);return x+2===A?(R=(S[x]<<16)+(S[x+1]<<8),b+=O(3)+O(2)+O(1)+(w?"":"=")):x+1===A&&(R=S[x]<<16,b+=O(3)+O(2)+(w?"":"==")),b}}),EH}var bH={},CH;function Khe(){if(CH)return bH;CH=1;var e=Ue(),t=er(),r=Wt(),n=zy(),i=Yp(),o=r(1.1.toString),a=t.Uint8Array,s=!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:s},{toHex:function(){n(this),i(this.buffer);for(var c="",d=0,h=this.length;d<h;d++){var p=o(this[d],16);c+=p.length===1?"0"+p:p}return c}}),bH}var TH={},AH;function Yhe(){if(AH)return TH;AH=1;var e=Ue(),t=Wt(),r=tn(),n=String.fromCharCode,i=t("".charAt),o=t(/./.exec),a=t("".slice),s=/^[\da-f]{2}$/i,l=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),p="",g=h.length,S=0,E,_;S<g;){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(s,_)){p+=n(parseInt(_,16)),S+=2;continue}}p+=E}return p}}),TH}var RH={},xH={},nC,OH;function Ree(){if(OH)return nC;OH=1;var e=Wt(),t=sl(),r=df().getWeakData,n=as(),i=Tr(),o=nl(),a=Gr(),s=sa(),l=Oa(),c=vn(),d=Mi(),h=d.set,p=d.getterFor,g=l.find,S=l.findIndex,E=e([].splice),_=0,w=function(A){return A.frozen||(A.frozen=new b)},b=function(){this.entries=[]},x=function(A,R){return g(A.entries,function(O){return O[0]===R})};return b.prototype={get:function(A){var R=x(this,A);if(R)return R[1]},has:function(A){return!!x(this,A)},set:function(A,R){var O=x(this,A);O?O[1]=R:this.entries.push([A,R])},delete:function(A){var R=S(this.entries,function(O){return O[0]===A});return~R&&E(this.entries,R,1),!!~R}},nC={getConstructor:function(A,R,O,m){var k=A(function(G,Y){n(G,D),h(G,{type:R,id:_++,frozen:null}),o(Y)||s(Y,G[m],{that:G,AS_ENTRIES:O})}),D=k.prototype,V=p(R),F=function(G,Y,X){var J=V(G),Z=r(i(Y),!0);return Z===!0?w(J).set(Y,X):Z[J.id]=X,G};return t(D,{delete:function(G){var Y=V(this);if(!a(G))return!1;var X=r(G);return X===!0?w(Y).delete(G):X&&c(X,Y.id)&&delete X[Y.id]},has:function(Y){var X=V(this);if(!a(Y))return!1;var J=r(Y);return J===!0?w(X).has(Y):J&&c(J,X.id)}}),t(D,O?{get:function(Y){var X=V(this);if(a(Y)){var J=r(Y);if(J===!0)return w(X).get(Y);if(J)return J[X.id]}},set:function(Y,X){return F(this,Y,X)}}:{add:function(Y){return F(this,Y,!0)}}),k}},nC}var IH;function Xhe(){if(IH)return xH;IH=1;var e=eh(),t=er(),r=Wt(),n=sl(),i=df(),o=Py(),a=Ree(),s=Gr(),l=Mi().enforce,c=qt(),d=cJ(),h=Object,p=Array.isArray,g=h.isExtensible,S=h.isFrozen,E=h.isSealed,_=h.freeze,w=h.seal,b=!t.ActiveXObject&&"ActiveXObject"in t,x,A=function(G){return function(){return G(this,arguments.length?arguments[0]:void 0)}},R=o("WeakMap",A,a),O=R.prototype,m=r(O.set),k=function(){return e&&c(function(){var G=_([]);return m(new R,G,1),!S(G)})};if(d)if(b){x=a.getConstructor(A,"WeakMap",!0),i.enable();var D=r(O.delete),V=r(O.has),F=r(O.get);n(O,{delete:function(G){if(s(G)&&!g(G)){var Y=l(this);return Y.frozen||(Y.frozen=new x),D(this,G)||Y.frozen.delete(G)}return D(this,G)},has:function(Y){if(s(Y)&&!g(Y)){var X=l(this);return X.frozen||(X.frozen=new x),V(this,Y)||X.frozen.has(Y)}return V(this,Y)},get:function(Y){if(s(Y)&&!g(Y)){var X=l(this);return X.frozen||(X.frozen=new x),V(this,Y)?F(this,Y):X.frozen.get(Y)}return F(this,Y)},set:function(Y,X){if(s(Y)&&!g(Y)){var J=l(this);J.frozen||(J.frozen=new x),V(this,Y)?m(this,Y,X):J.frozen.set(Y,X)}else m(this,Y,X);return this}})}else k()&&n(O,{set:function(Y,X){var J;return p(Y)&&(S(Y)?J=_:E(Y)&&(J=w)),m(this,Y,X),J&&J(Y),this}});return xH}var PH;function Qhe(){return PH||(PH=1,Xhe()),RH}var kH={},DH={},LH;function Zhe(){if(LH)return DH;LH=1;var e=Py(),t=Ree();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),DH}var NH;function Jhe(){return NH||(NH=1,Zhe()),kH}var MH={},$H;function epe(){if($H)return MH;$H=1;var e=Ue(),t=er(),r=hn(),n=Wt(),i=Sr(),o=qt(),a=tn(),s=ks(),l=By().c2i,c=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=r("atob"),g=String.fromCharCode,S=n("".charAt),E=n("".replace),_=n(c.exec),w=!!p&&!o(function(){return p("aGk=")!=="hi"}),b=w&&o(function(){return p(" ")!==""}),x=w&&!o(function(){p("a")}),A=w&&!o(function(){p()}),R=w&&p.length!==1,O=!w||b||x||A||R;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(k){if(s(arguments.length,1),w&&!b&&!x)return i(p,t,k);var D=E(a(k),d,""),V="",F=0,G=0,Y,X,J;if(D.length%4===0&&(D=E(D,h,"")),Y=D.length,Y%4===1||_(c,D))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;F<Y;)X=S(D,F++),J=G%4?J*64+l[X]:l[X],G++%4&&(V+=g(255&J>>(-2*G&6)));return V}}),MH}var FH={},jH;function tpe(){if(jH)return FH;jH=1;var e=Ue(),t=er(),r=hn(),n=Wt(),i=Sr(),o=qt(),a=tn(),s=ks(),l=By().i2c,c=r("btoa"),d=n("".charAt),h=n("".charCodeAt),p=!!c&&!o(function(){return c("hi")!=="aGk="}),g=p&&!o(function(){c()}),S=p&&o(function(){return c(null)!=="bnVsbA=="}),E=p&&c.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!p||g||S||E},{btoa:function(w){if(s(arguments.length,1),p)return i(c,t,a(w));for(var b=a(w),x="",A=0,R=l,O,m;d(b,A)||(R="=",A%1);){if(m=h(b,A+=3/4),m>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|m,x+=d(R,63&O>>8-A%1*8)}return x}}),FH}var UH={},iC,qH;function xee(){return qH||(qH=1,iC={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}),iC}var aC,VH;function Oee(){if(VH)return aC;VH=1;var e=py(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return aC=r===Object.prototype?void 0:r,aC}var HH;function rpe(){if(HH)return UH;HH=1;var e=er(),t=xee(),r=Oee(),n=RJ(),i=Ra(),o=function(s){if(s&&s.forEach!==n)try{i(s,"forEach",n)}catch{s.forEach=n}};for(var a in t)t[a]&&o(e[a]&&e[a].prototype);return o(r),UH}var BH={},zH;function npe(){if(zH)return BH;zH=1;var e=er(),t=xee(),r=Oee(),n=wy(),i=Ra(),o=ko(),a=Kr(),s=a("iterator"),l=n.values,c=function(h,p){if(h){if(h[s]!==l)try{i(h,s,l)}catch{h[s]=l}if(o(h,p,!0),t[p]){for(var g in n)if(h[g]!==n[g])try{i(h,g,n[g])}catch{h[g]=n[g]}}}};for(var d in t)c(e[d]&&e[d].prototype,d);return c(r,"DOMTokenList"),BH}var WH={},oC,GH;function Iee(){return GH||(GH=1,oC={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}}),oC}var KH;function ipe(){if(KH)return WH;KH=1;var e=Ue(),t=hn(),r=qJ(),n=qt(),i=xa(),o=es(),a=_i().f,s=Gn(),l=zi(),c=vn(),d=as(),h=Tr(),p=CJ(),g=Kd(),S=Iee(),E=NI(),_=Mi(),w=Dr(),b=In(),x="DOMException",A="DATA_CLONE_ERR",R=t("Error"),O=t(x)||(function(){try{var P=t("MessageChannel")||r("worker_threads").MessageChannel;new P().port1.postMessage(new WeakMap)}catch(q){if(q.name===A&&q.code===25)return q.constructor}})(),m=O&&O.prototype,k=R.prototype,D=_.set,V=_.getterFor(x),F="stack"in new R(x),G=function(P){return c(S,P)&&S[P].m?S[P].c:0},Y=function(){d(this,X);var q=arguments.length,N=g(q<1?void 0:arguments[0]),B=g(q<2?void 0:arguments[1],"Error"),re=G(B);if(D(this,{type:x,name:B,message:N,code:re}),w||(this.name=B,this.message=N,this.code=re),F){var ce=new R(N);ce.name=x,a(this,"stack",o(1,E(ce.stack,1)))}},X=Y.prototype=i(k),J=function(P){return{enumerable:!0,configurable:!0,get:P}},Z=function(P){return J(function(){return V(this)[P]})};w&&(l(X,"code",Z("code")),l(X,"message",Z("message")),l(X,"name",Z("name"))),a(X,"constructor",o(1,Y));var ue=n(function(){return!(new O instanceof R)}),H=ue||n(function(){return k.toString!==p||String(new O(1,2))!=="2: 1"}),L=ue||n(function(){return new O(1,"DataCloneError").code!==25}),j=ue||O[A]!==25||m[A]!==25,te=b?H||L||j:ue;e({global:!0,constructor:!0,forced:te},{DOMException:te?Y:O});var ee=t(x),de=ee.prototype;H&&(b||O===ee)&&s(de,"toString",p),L&&w&&O===ee&&l(de,"code",J(function(){return G(h(this).name)}));for(var Se in S)if(c(S,Se)){var Ae=S[Se],se=Ae.s,I=o(6,Ae.c);c(ee,se)||a(ee,se,I),c(de,se)||a(de,se,I)}return WH}var YH={},XH;function ape(){if(XH)return YH;XH=1;var e=Ue(),t=er(),r=hn(),n=es(),i=_i().f,o=vn(),a=as(),s=uf(),l=Kd(),c=Iee(),d=NI(),h=Dr(),p=In(),g="DOMException",S=r("Error"),E=r(g),_=function(){a(this,w);var Y=arguments.length,X=l(Y<1?void 0:arguments[0]),J=l(Y<2?void 0:arguments[1],"Error"),Z=new E(X,J),ue=new S(X);return ue.name=g,i(Z,"stack",n(1,d(ue.stack,1))),s(Z,this,_),Z},w=_.prototype=E.prototype,b="stack"in new S(g),x="stack"in new E(1,2),A=E&&h&&Object.getOwnPropertyDescriptor(t,g),R=!!A&&!(A.writable&&A.configurable),O=b&&!R&&!x;e({global:!0,constructor:!0,forced:p||O},{DOMException:O?_:E});var m=r(g),k=m.prototype;if(k.constructor!==m){p||i(k,"constructor",n(1,m));for(var D in c)if(o(c,D)){var V=c[D],F=V.s;o(m,F)||i(m,F,n(6,V.c))}}return YH}var QH={},ZH;function ope(){if(ZH)return QH;ZH=1;var e=hn(),t=ko(),r="DOMException";return t(e(r),r),QH}var JH={},eB={},tB;function spe(){if(tB)return eB;tB=1;var e=Ue(),t=er(),r=My().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),eB}var rB={},sC,nB;function lP(){if(nB)return sC;nB=1;var e=er(),t=is(),r=gn(),n=Cy(),i=mu(),o=Ps(),a=ks(),s=e.Function,l=/MSIE .\./.test(i)||n==="BUN"&&(function(){var c=e.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")})();return sC=function(c,d){var h=d?2:1;return l?function(p,g){var S=a(arguments.length,1)>h,E=r(p)?p:s(p),_=S?o(arguments,h):[],w=S?function(){t(E,this,_)}:E;return d?c(w,g):c(w)}:c},sC}var iB;function upe(){if(iB)return rB;iB=1;var e=Ue(),t=er(),r=My().set,n=lP(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),rB}var aB;function lpe(){return aB||(aB=1,spe(),upe()),JH}var oB={},sB;function cpe(){if(sB)return oB;sB=1;var e=Ue(),t=er(),r=oee(),n=pn(),i=ks(),o=qt(),a=Dr(),s=o(function(){return a&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:s},{queueMicrotask:function(c){i(arguments.length,1),r(n(c))}}),oB}var uB={},lB;function fpe(){if(lB)return uB;lB=1;var e=Ue(),t=er(),r=zi(),n=Dr(),i=TypeError,o=Object.defineProperty,a=t.self!==t;try{if(n){var s=Object.getOwnPropertyDescriptor(t,"self");(a||!s||!s.get||!s.enumerable)&&r(t,"self",{get:function(){return t},set:function(c){if(this!==t)throw new i("Illegal invocation");o(t,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:a},{self:t})}catch{}return uB}var cB={},fB;function dpe(){if(fB)return cB;fB=1;var e=In(),t=Ue(),r=er(),n=hn(),i=Wt(),o=qt(),a=zd(),s=gn(),l=sf(),c=nl(),d=Gr(),h=rf(),p=sa(),g=Tr(),S=rs(),E=vn(),_=al(),w=Ra(),b=ei(),x=ks(),A=hf(),R=YJ(),O=Xs(),m=ih(),k=VJ(),D=wJ(),V=GI(),F=r.Object,G=r.Array,Y=r.Date,X=r.Error,J=r.TypeError,Z=r.PerformanceMark,ue=n("DOMException"),H=R.Map,L=R.has,j=R.get,te=R.set,ee=O.Set,de=O.add,Se=O.has,Ae=n("Object","keys"),se=i([].push),I=i((!0).valueOf),P=i(1.1.valueOf),q=i("".valueOf),N=i(Y.prototype.getTime),B=a("structuredClone"),re="DataCloneError",ce="Transferring",we=function(Ze){return!o(function(){var Tt=new r.Set([7]),_t=Ze(Tt),st=Ze(F(7));return _t===Tt||!_t.has(7)||!d(st)||+st!=7})&&Ze},_e=function(Ze,Tt){return!o(function(){var _t=new Tt,st=Ze({a:_t,b:_t});return!(st&&st.a===st.b&&st.a instanceof Tt&&st.a.stack===_t.stack)})},Oe=function(Ze){return!o(function(){var Tt=Ze(new r.AggregateError([1],B,{cause:3}));return Tt.name!=="AggregateError"||Tt.errors[0]!==1||Tt.message!==B||Tt.cause!==3})},Te=r.structuredClone,Ie=e||!_e(Te,X)||!_e(Te,ue)||!Oe(Te),$e=!Te&&we(function(Ze){return new Z(B,{detail:Ze}).detail}),ge=we(Te)||$e,be=function(Ze){throw new ue("Uncloneable type: "+Ze,re)},Ce=function(Ze,Tt){throw new ue((Tt||"Cloning")+" of "+Ze+" cannot be properly polyfilled in this engine",re)},Le=function(Ze,Tt){return ge||Ce(Tt),ge(Ze)},Ve=function(){var Ze;try{Ze=new r.DataTransfer}catch{try{Ze=new r.ClipboardEvent("").clipboardData}catch{}}return Ze&&Ze.items&&Ze.files?Ze:null},qe=function(Ze,Tt,_t){if(L(Tt,Ze))return j(Tt,Ze);var st=_t||S(Ze),rt,dt,Gt,Mt,Re,Je;if(st==="SharedArrayBuffer")ge?rt=ge(Ze):rt=Ze;else{var ut=r.DataView;!ut&&!s(Ze.slice)&&Ce("ArrayBuffer");try{if(s(Ze.slice)&&!Ze.resizable)rt=Ze.slice(0);else for(dt=Ze.byteLength,Gt=("maxByteLength"in Ze)?{maxByteLength:Ze.maxByteLength}:void 0,rt=new ArrayBuffer(dt,Gt),Mt=new ut(Ze),Re=new ut(rt),Je=0;Je<dt;Je++)Re.setUint8(Je,Mt.getUint8(Je))}catch{throw new ue("ArrayBuffer is detached",re)}}return te(Tt,Ze,rt),rt},Ge=function(Ze,Tt,_t,st,rt){var dt=r[Tt];return d(dt)||Ce(Tt),new dt(qe(Ze.buffer,rt),_t,st)},ct=function(Ze,Tt){if(h(Ze)&&be("Symbol"),!d(Ze))return Ze;if(Tt){if(L(Tt,Ze))return j(Tt,Ze)}else Tt=new H;var _t=S(Ze),st,rt,dt,Gt,Mt,Re,Je,ut;switch(_t){case"Array":dt=G(b(Ze));break;case"Object":dt={};break;case"Map":dt=new H;break;case"Set":dt=new ee;break;case"RegExp":dt=new RegExp(Ze.source,A(Ze));break;case"Error":switch(rt=Ze.name,rt){case"AggregateError":dt=new(n(rt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":dt=new(n(rt));break;case"CompileError":case"LinkError":case"RuntimeError":dt=new(n("WebAssembly",rt));break;default:dt=new X}break;case"DOMException":dt=new ue(Ze.message,Ze.name);break;case"ArrayBuffer":case"SharedArrayBuffer":dt=qe(Ze,Tt,_t);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Re=_t==="DataView"?Ze.byteLength:Ze.length,dt=Ge(Ze,_t,Ze.byteOffset,Re,Tt);break;case"DOMQuad":try{dt=new DOMQuad(ct(Ze.p1,Tt),ct(Ze.p2,Tt),ct(Ze.p3,Tt),ct(Ze.p4,Tt))}catch{dt=Le(Ze,_t)}break;case"File":if(ge)try{dt=ge(Ze),S(dt)!==_t&&(dt=void 0)}catch{}if(!dt)try{dt=new File([Ze],Ze.name,Ze)}catch{}dt||Ce(_t);break;case"FileList":if(Gt=Ve(),Gt){for(Mt=0,Re=b(Ze);Mt<Re;Mt++)Gt.items.add(ct(Ze[Mt],Tt));dt=Gt.files}else dt=Le(Ze,_t);break;case"ImageData":try{dt=new ImageData(ct(Ze.data,Tt),Ze.width,Ze.height,{colorSpace:Ze.colorSpace})}catch{dt=Le(Ze,_t)}break;default:if(ge)dt=ge(Ze);else switch(_t){case"BigInt":dt=F(Ze.valueOf());break;case"Boolean":dt=F(I(Ze));break;case"Number":dt=F(P(Ze));break;case"String":dt=F(q(Ze));break;case"Date":dt=new Y(N(Ze));break;case"Blob":try{dt=Ze.slice(0,Ze.size,Ze.type)}catch{Ce(_t)}break;case"DOMPoint":case"DOMPointReadOnly":st=r[_t];try{dt=st.fromPoint?st.fromPoint(Ze):new st(Ze.x,Ze.y,Ze.z,Ze.w)}catch{Ce(_t)}break;case"DOMRect":case"DOMRectReadOnly":st=r[_t];try{dt=st.fromRect?st.fromRect(Ze):new st(Ze.x,Ze.y,Ze.width,Ze.height)}catch{Ce(_t)}break;case"DOMMatrix":case"DOMMatrixReadOnly":st=r[_t];try{dt=st.fromMatrix?st.fromMatrix(Ze):new st(Ze)}catch{Ce(_t)}break;case"AudioData":case"VideoFrame":s(Ze.clone)||Ce(_t);try{dt=Ze.clone()}catch{be(_t)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ce(_t);default:be(_t)}}switch(te(Tt,Ze,dt),_t){case"Array":case"Object":for(Je=Ae(Ze),Mt=0,Re=b(Je);Mt<Re;Mt++)ut=Je[Mt],_(dt,ut,ct(Ze[ut],Tt));break;case"Map":Ze.forEach(function(wt,Nt){te(dt,ct(Nt,Tt),ct(wt,Tt))});break;case"Set":Ze.forEach(function(wt){de(dt,ct(wt,Tt))});break;case"Error":w(dt,"message",ct(Ze.message,Tt)),E(Ze,"cause")&&w(dt,"cause",ct(Ze.cause,Tt)),rt==="AggregateError"?dt.errors=ct(Ze.errors,Tt):rt==="SuppressedError"&&(dt.error=ct(Ze.error,Tt),dt.suppressed=ct(Ze.suppressed,Tt));case"DOMException":D&&w(dt,"stack",ct(Ze.stack,Tt))}return dt},jt=function(Ze,Tt){if(!d(Ze))throw new J("Transfer option cannot be converted to a sequence");var _t=[];p(Ze,function(Nt){se(_t,g(Nt))});for(var st=0,rt=b(_t),dt=new ee,Gt,Mt,Re,Je,ut,wt;st<rt;){if(Gt=_t[st++],Mt=S(Gt),Mt==="ArrayBuffer"?Se(dt,Gt):L(Tt,Gt))throw new ue("Duplicate transferable",re);if(Mt==="ArrayBuffer"){de(dt,Gt);continue}if(V)Je=Te(Gt,{transfer:[Gt]});else switch(Mt){case"ImageBitmap":Re=r.OffscreenCanvas,l(Re)||Ce(Mt,ce);try{ut=new Re(Gt.width,Gt.height),wt=ut.getContext("bitmaprenderer"),wt.transferFromImageBitmap(Gt),Je=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!s(Gt.clone)||!s(Gt.close))&&Ce(Mt,ce);try{Je=Gt.clone(),Gt.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":Ce(Mt,ce)}if(Je===void 0)throw new ue("This object cannot be transferred: "+Mt,re);te(Tt,Gt,Je)}return dt},zt=function(Ze){m(Ze,function(Tt){V?ge(Tt,{transfer:[Tt]}):s(Tt.transfer)?Tt.transfer():k?k(Tt):Ce("ArrayBuffer",ce)})};return t({global:!0,enumerable:!0,sham:!V,forced:Ie},{structuredClone:function(Tt){var _t=x(arguments.length,1)>1&&!c(arguments[1])?g(arguments[1]):void 0,st=_t?_t.transfer:void 0,rt,dt;st!==void 0&&(rt=new H,dt=jt(st,rt));var Gt=ct(Tt,rt);return dt&&zt(dt),Gt}}),cB}var dB={},hB={},pB;function hpe(){if(pB)return hB;pB=1;var e=Ue(),t=er(),r=lP(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),hB}var vB={},gB;function ppe(){if(gB)return vB;gB=1;var e=Ue(),t=er(),r=lP(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),vB}var mB;function vpe(){return mB||(mB=1,hpe(),ppe()),dB}var yB={},_B={},uC,SB;function Wy(){if(SB)return uC;SB=1;var e=qt(),t=Kr(),r=Dr(),n=In(),i=t("iterator");return uC=!e(function(){var o=new URL("b?a=1&b=2&c=3","https://a"),a=o.searchParams,s=new URLSearchParams("a=1&a=2&b=3"),l="";return o.pathname="c%20d",a.forEach(function(c,d){a.delete("b"),l+=d+c}),s.delete("a",2),s.delete("b",void 0),n&&(!o.toJSON||!s.has("a",1)||s.has("a",2)||!s.has("a",void 0)||s.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"}),uC}var lC,EB;function gpe(){if(EB)return lC;EB=1;var e=Wt(),t=2147483647,r=36,n=1,i=26,o=38,a=700,s=72,l=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",g=r-n,S=RangeError,E=e(h.exec),_=Math.floor,w=String.fromCharCode,b=e("".charCodeAt),x=e([].join),A=e([].push),R=e("".replace),O=e("".split),m=e("".toLowerCase),k=function(G){for(var Y=[],X=0,J=G.length;X<J;){var Z=b(G,X++);if(Z>=55296&&Z<=56319&&X<J){var ue=b(G,X++);(ue&64512)===56320?A(Y,((Z&1023)<<10)+(ue&1023)+65536):(A(Y,Z),X--)}else A(Y,Z)}return Y},D=function(G){return G+22+75*(G<26)},V=function(G,Y,X){var J=0;for(G=X?_(G/a):G>>1,G+=_(G/Y);G>g*i>>1;)G=_(G/g),J+=r;return _(J+(g+1)*G/(G+o))},F=function(G){var Y=[];G=k(G);var X=G.length,J=l,Z=0,ue=s,H,L;for(H=0;H<G.length;H++)L=G[H],L<128&&A(Y,w(L));var j=Y.length,te=j;for(j&&A(Y,c);te<X;){var ee=t;for(H=0;H<G.length;H++)L=G[H],L>=J&&L<ee&&(ee=L);var de=te+1;if(ee-J>_((t-Z)/de))throw new S(p);for(Z+=(ee-J)*de,J=ee,H=0;H<G.length;H++){if(L=G[H],L<J&&++Z>t)throw new S(p);if(L===J){for(var Se=Z,Ae=r;;){var se=Ae<=ue?n:Ae>=ue+i?i:Ae-ue;if(Se<se)break;var I=Se-se,P=r-se;A(Y,w(D(se+I%P))),Se=_(I/P),Ae+=r}A(Y,w(D(Se))),ue=V(Z,de,te===j),Z=0,te++}}Z++,J++}return x(Y,"")};return lC=function(G){var Y=[],X=O(R(m(G),h,"."),"."),J,Z;for(J=0;J<X.length;J++)Z=X[J],A(Y,E(d,Z)?"xn--"+F(Z):Z);return x(Y,".")},lC}var cC,wB;function Pee(){if(wB)return cC;wB=1,wy(),pee();var e=Ue(),t=er(),r=iee(),n=hn(),i=Sr(),o=Wt(),a=Dr(),s=Wy(),l=Gn(),c=zi(),d=sl(),h=ko(),p=qI(),g=Mi(),S=as(),E=gn(),_=vn(),w=ns(),b=rs(),x=Tr(),A=Gr(),R=tn(),O=xa(),m=es(),k=Yd(),D=lf(),V=ff(),F=ks(),G=Kr(),Y=BI(),X=G("iterator"),J="URLSearchParams",Z=J+"Iterator",ue=g.set,H=g.getterFor(J),L=g.getterFor(Z),j=r("fetch"),te=r("Request"),ee=r("Headers"),de=te&&te.prototype,Se=ee&&ee.prototype,Ae=t.TypeError,se=t.encodeURIComponent,I=String.fromCharCode,P=n("String","fromCodePoint"),q=parseInt,N=o("".charAt),B=o([].join),re=o([].push),ce=o("".replace),we=o([].shift),_e=o([].splice),Oe=o("".split),Te=o("".slice),Ie=o(/./.exec),$e=/\+/g,ge="�",be=/^[0-9a-f]+$/i,Ce=function(Re,Je){var ut=Te(Re,Je,Je+2);return Ie(be,ut)?q(ut,16):NaN},Le=function(Re){for(var Je=0,ut=128;ut>0&&(Re&ut)!==0;ut>>=1)Je++;return Je},Ve=function(Re){var Je=null;switch(Re.length){case 1:Je=Re[0];break;case 2:Je=(Re[0]&31)<<6|Re[1]&63;break;case 3:Je=(Re[0]&15)<<12|(Re[1]&63)<<6|Re[2]&63;break;case 4:Je=(Re[0]&7)<<18|(Re[1]&63)<<12|(Re[2]&63)<<6|Re[3]&63;break}return Je>1114111?null:Je},qe=function(Re){Re=ce(Re,$e," ");for(var Je=Re.length,ut="",wt=0;wt<Je;){var Nt=N(Re,wt);if(Nt==="%"){if(N(Re,wt+1)==="%"||wt+3>Je){ut+="%",wt++;continue}var nr=Ce(Re,wt+1);if(nr!==nr){ut+=Nt,wt++;continue}wt+=2;var yr=Le(nr);if(yr===0)Nt=I(nr);else{if(yr===1||yr>4){ut+=ge,wt++;continue}for(var ir=[nr],wr=1;wr<yr&&(wt++,!(wt+3>Je||N(Re,wt)!=="%"));){var Ur=Ce(Re,wt+1);if(Ur!==Ur){wt+=3;break}if(Ur>191||Ur<128)break;re(ir,Ur),wt+=2,wr++}if(ir.length!==yr){ut+=ge;continue}var Wr=Ve(ir);Wr===null?ut+=ge:Nt=P(Wr)}}ut+=Nt,wt++}return ut},Ge=/[!'()~]|%20/g,ct={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},jt=function(Re){return ct[Re]},zt=function(Re){return ce(se(Re),Ge,jt)},Ze=p(function(Je,ut){ue(this,{type:Z,target:H(Je).entries,index:0,kind:ut})},J,function(){var Je=L(this),ut=Je.target,wt=Je.index++;if(!ut||wt>=ut.length)return Je.target=null,V(void 0,!0);var Nt=ut[wt];switch(Je.kind){case"keys":return V(Nt.key,!1);case"values":return V(Nt.value,!1)}return V([Nt.key,Nt.value],!1)},!0),Tt=function(Re){this.entries=[],this.url=null,Re!==void 0&&(A(Re)?this.parseObject(Re):this.parseQuery(typeof Re=="string"?N(Re,0)==="?"?Te(Re,1):Re:R(Re)))};Tt.prototype={type:J,bindURL:function(Re){this.url=Re,this.update()},parseObject:function(Re){var Je=this.entries,ut=D(Re),wt,Nt,nr,yr,ir,wr,Ur;if(ut)for(wt=k(Re,ut),Nt=wt.next;!(nr=i(Nt,wt)).done;){if(yr=k(x(nr.value)),ir=yr.next,(wr=i(ir,yr)).done||(Ur=i(ir,yr)).done||!i(ir,yr).done)throw new Ae("Expected sequence with length 2");re(Je,{key:R(wr.value),value:R(Ur.value)})}else for(var Wr in Re)_(Re,Wr)&&re(Je,{key:Wr,value:R(Re[Wr])})},parseQuery:function(Re){if(Re)for(var Je=this.entries,ut=Oe(Re,"&"),wt=0,Nt,nr;wt<ut.length;)Nt=ut[wt++],Nt.length&&(nr=Oe(Nt,"="),re(Je,{key:qe(we(nr)),value:qe(B(nr,"="))}))},serialize:function(){for(var Re=this.entries,Je=[],ut=0,wt;ut<Re.length;)wt=Re[ut++],re(Je,zt(wt.key)+"="+zt(wt.value));return B(Je,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var _t=function(){S(this,st);var Je=arguments.length>0?arguments[0]:void 0,ut=ue(this,new Tt(Je));a||(this.size=ut.entries.length)},st=_t.prototype;if(d(st,{append:function(Je,ut){var wt=H(this);F(arguments.length,2),re(wt.entries,{key:R(Je),value:R(ut)}),a||this.length++,wt.updateURL()},delete:function(Re){for(var Je=H(this),ut=F(arguments.length,1),wt=Je.entries,Nt=R(Re),nr=ut<2?void 0:arguments[1],yr=nr===void 0?nr:R(nr),ir=0;ir<wt.length;){var wr=wt[ir];if(wr.key===Nt&&(yr===void 0||wr.value===yr)){if(_e(wt,ir,1),yr!==void 0)break}else ir++}a||(this.size=wt.length),Je.updateURL()},get:function(Je){var ut=H(this).entries;F(arguments.length,1);for(var wt=R(Je),Nt=0;Nt<ut.length;Nt++)if(ut[Nt].key===wt)return ut[Nt].value;return null},getAll:function(Je){var ut=H(this).entries;F(arguments.length,1);for(var wt=R(Je),Nt=[],nr=0;nr<ut.length;nr++)ut[nr].key===wt&&re(Nt,ut[nr].value);return Nt},has:function(Je){for(var ut=H(this).entries,wt=F(arguments.length,1),Nt=R(Je),nr=wt<2?void 0:arguments[1],yr=nr===void 0?nr:R(nr),ir=0;ir<ut.length;){var wr=ut[ir++];if(wr.key===Nt&&(yr===void 0||wr.value===yr))return!0}return!1},set:function(Je,ut){var wt=H(this);F(arguments.length,1);for(var Nt=wt.entries,nr=!1,yr=R(Je),ir=R(ut),wr=0,Ur;wr<Nt.length;wr++)Ur=Nt[wr],Ur.key===yr&&(nr?_e(Nt,wr--,1):(nr=!0,Ur.value=ir));nr||re(Nt,{key:yr,value:ir}),a||(this.size=Nt.length),wt.updateURL()},sort:function(){var Je=H(this);Y(Je.entries,function(ut,wt){return ut.key>wt.key?1:-1}),Je.updateURL()},forEach:function(Je){for(var ut=H(this).entries,wt=w(Je,arguments.length>1?arguments[1]:void 0),Nt=0,nr;Nt<ut.length;)nr=ut[Nt++],wt(nr.value,nr.key,this)},keys:function(){return new Ze(this,"keys")},values:function(){return new Ze(this,"values")},entries:function(){return new Ze(this,"entries")}},{enumerable:!0}),l(st,X,st.entries,{name:"entries"}),l(st,"toString",function(){return H(this).serialize()},{enumerable:!0}),a&&c(st,"size",{get:function(){return H(this).entries.length},configurable:!0,enumerable:!0}),h(_t,J),e({global:!0,constructor:!0,forced:!s},{URLSearchParams:_t}),!s&&E(ee)){var rt=o(Se.has),dt=o(Se.set),Gt=function(Re){if(A(Re)){var Je=Re.body,ut;if(b(Je)===J)return ut=Re.headers?new ee(Re.headers):new ee,rt(ut,"content-type")||dt(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Re,{body:m(0,R(Je)),headers:m(0,ut)})}return Re};if(E(j)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Je){return j(Je,arguments.length>1?Gt(arguments[1]):{})}}),E(te)){var Mt=function(Je){return S(this,de),new te(Je,arguments.length>1?Gt(arguments[1]):{})};de.constructor=Mt,Mt.prototype=de,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Mt})}}return cC={URLSearchParams:_t,getState:H},cC}var bB;function mpe(){if(bB)return _B;bB=1,vee();var e=Ue(),t=Dr(),r=Wy(),n=er(),i=ns(),o=Wt(),a=Gn(),s=zi(),l=as(),c=vn(),d=eee(),h=xJ(),p=Ps(),g=qy().codeAt,S=gpe(),E=tn(),_=ko(),w=ks(),b=Pee(),x=Mi(),A=x.set,R=x.getterFor("URL"),O=b.URLSearchParams,m=b.getState,k=n.URL,D=n.TypeError,V=n.parseInt,F=Math.floor,G=Math.pow,Y=o("".charAt),X=o(/./.exec),J=o([].join),Z=o(1.1.toString),ue=o([].pop),H=o([].push),L=o("".replace),j=o([].shift),te=o("".split),ee=o("".slice),de=o("".toLowerCase),Se=o([].unshift),Ae="Invalid authority",se="Invalid scheme",I="Invalid host",P="Invalid port",q=/[a-z]/i,N=/[\d+-.a-z]/i,B=/\d/,re=/^0x/i,ce=/^[0-7]+$/,we=/^\d+$/,_e=/^[\da-f]+$/i,Oe=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Te=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ie=/^[\u0000-\u0020]+/,$e=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ge=/[\t\n\r]/g,be,Ce=function(ot){var Dt=te(ot,"."),gt,et,fe,nt,ze,Ct,yt;if(Dt.length&&Dt[Dt.length-1]===""&&Dt.length--,gt=Dt.length,gt>4)return ot;for(et=[],fe=0;fe<gt;fe++){if(nt=Dt[fe],nt==="")return ot;if(ze=10,nt.length>1&&Y(nt,0)==="0"&&(ze=X(re,nt)?16:8,nt=ee(nt,ze===8?1:2)),nt==="")Ct=0;else{if(!X(ze===10?we:ze===8?ce:_e,nt))return ot;Ct=V(nt,ze)}H(et,Ct)}for(fe=0;fe<gt;fe++)if(Ct=et[fe],fe===gt-1){if(Ct>=G(256,5-gt))return null}else if(Ct>255)return null;for(yt=ue(et),fe=0;fe<et.length;fe++)yt+=et[fe]*G(256,3-fe);return yt},Le=function(ot){var Dt=[0,0,0,0,0,0,0,0],gt=0,et=null,fe=0,nt,ze,Ct,yt,Bt,Yt,bt,Ar=function(){return Y(ot,fe)};if(Ar()===":"){if(Y(ot,1)!==":")return;fe+=2,gt++,et=gt}for(;Ar();){if(gt===8)return;if(Ar()===":"){if(et!==null)return;fe++,gt++,et=gt;continue}for(nt=ze=0;ze<4&&X(_e,Ar());)nt=nt*16+V(Ar(),16),fe++,ze++;if(Ar()==="."){if(ze===0||(fe-=ze,gt>6))return;for(Ct=0;Ar();){if(yt=null,Ct>0)if(Ar()==="."&&Ct<4)fe++;else return;if(!X(B,Ar()))return;for(;X(B,Ar());){if(Bt=V(Ar(),10),yt===null)yt=Bt;else{if(yt===0)return;yt=yt*10+Bt}if(yt>255)return;fe++}Dt[gt]=Dt[gt]*256+yt,Ct++,(Ct===2||Ct===4)&>++}if(Ct!==4)return;break}else if(Ar()===":"){if(fe++,!Ar())return}else if(Ar())return;Dt[gt++]=nt}if(et!==null)for(Yt=gt-et,gt=7;gt!==0&&Yt>0;)bt=Dt[gt],Dt[gt--]=Dt[et+Yt-1],Dt[et+--Yt]=bt;else if(gt!==8)return;return Dt},Ve=function(ot){for(var Dt=null,gt=1,et=null,fe=0,nt=0;nt<8;nt++)ot[nt]!==0?(fe>gt&&(Dt=et,gt=fe),et=null,fe=0):(et===null&&(et=nt),++fe);return fe>gt?et:Dt},qe=function(ot){var Dt,gt,et,fe;if(typeof ot=="number"){for(Dt=[],gt=0;gt<4;gt++)Se(Dt,ot%256),ot=F(ot/256);return J(Dt,".")}if(typeof ot=="object"){for(Dt="",et=Ve(ot),gt=0;gt<8;gt++)fe&&ot[gt]===0||(fe&&(fe=!1),et===gt?(Dt+=gt?":":"::",fe=!0):(Dt+=Z(ot[gt],16),gt<7&&(Dt+=":")));return"["+Dt+"]"}return ot},Ge={},ct=d({},Ge,{" ":1,'"':1,"<":1,">":1,"`":1}),jt=d({},ct,{"#":1,"?":1,"{":1,"}":1}),zt=d({},jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ze=function(ot,Dt){var gt=g(ot,0);return gt>32&><127&&!c(Dt,ot)?ot:encodeURIComponent(ot)},Tt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_t=function(ot,Dt){var gt;return ot.length===2&&X(q,Y(ot,0))&&((gt=Y(ot,1))===":"||!Dt&>==="|")},st=function(ot){var Dt;return ot.length>1&&_t(ee(ot,0,2))&&(ot.length===2||(Dt=Y(ot,2))==="/"||Dt==="\\"||Dt==="?"||Dt==="#")},rt=function(ot){return ot==="."||de(ot)==="%2e"},dt=function(ot){return ot=de(ot),ot===".."||ot==="%2e."||ot===".%2e"||ot==="%2e%2e"},Gt={},Mt={},Re={},Je={},ut={},wt={},Nt={},nr={},yr={},ir={},wr={},Ur={},Wr={},Un={},qn={},Kn={},En={},ti={},si={},Si={},di={},$i=function(ot,Dt,gt){var et=E(ot),fe,nt,ze;if(Dt){if(nt=this.parse(et),nt)throw new D(nt);this.searchParams=null}else{if(gt!==void 0&&(fe=new $i(gt,!0)),nt=this.parse(et,null,fe),nt)throw new D(nt);ze=m(new O),ze.bindURL(this),this.searchParams=ze}};$i.prototype={type:"URL",parse:function(ot,Dt,gt){var et=this,fe=Dt||Gt,nt=0,ze="",Ct=!1,yt=!1,Bt=!1,Yt,bt,Ar,Xr;for(ot=E(ot),Dt||(et.scheme="",et.username="",et.password="",et.host=null,et.port=null,et.path=[],et.query=null,et.fragment=null,et.cannotBeABaseURL=!1,ot=L(ot,Ie,""),ot=L(ot,$e,"$1")),ot=L(ot,ge,""),Yt=h(ot);nt<=Yt.length;){switch(bt=Yt[nt],fe){case Gt:if(bt&&X(q,bt))ze+=de(bt),fe=Mt;else{if(Dt)return se;fe=Re;continue}break;case Mt:if(bt&&(X(N,bt)||bt==="+"||bt==="-"||bt==="."))ze+=de(bt);else if(bt===":"){if(Dt&&(et.isSpecial()!==c(Tt,ze)||ze==="file"&&(et.includesCredentials()||et.port!==null)||et.scheme==="file"&&!et.host))return;if(et.scheme=ze,Dt){et.isSpecial()&&Tt[et.scheme]===et.port&&(et.port=null);return}ze="",et.scheme==="file"?fe=Un:et.isSpecial()&>&>.scheme===et.scheme?fe=Je:et.isSpecial()?fe=nr:Yt[nt+1]==="/"?(fe=ut,nt++):(et.cannotBeABaseURL=!0,H(et.path,""),fe=si)}else{if(Dt)return se;ze="",fe=Re,nt=0;continue}break;case Re:if(!gt||gt.cannotBeABaseURL&&bt!=="#")return se;if(gt.cannotBeABaseURL&&bt==="#"){et.scheme=gt.scheme,et.path=p(gt.path),et.query=gt.query,et.fragment="",et.cannotBeABaseURL=!0,fe=di;break}fe=gt.scheme==="file"?Un:wt;continue;case Je:if(bt==="/"&&Yt[nt+1]==="/")fe=yr,nt++;else{fe=wt;continue}break;case ut:if(bt==="/"){fe=ir;break}else{fe=ti;continue}case wt:if(et.scheme=gt.scheme,bt===be)et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=p(gt.path),et.query=gt.query;else if(bt==="/"||bt==="\\"&&et.isSpecial())fe=Nt;else if(bt==="?")et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=p(gt.path),et.query="",fe=Si;else if(bt==="#")et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=p(gt.path),et.query=gt.query,et.fragment="",fe=di;else{et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,et.path=p(gt.path),et.path.length--,fe=ti;continue}break;case Nt:if(et.isSpecial()&&(bt==="/"||bt==="\\"))fe=yr;else if(bt==="/")fe=ir;else{et.username=gt.username,et.password=gt.password,et.host=gt.host,et.port=gt.port,fe=ti;continue}break;case nr:if(fe=yr,bt!=="/"||Y(ze,nt+1)!=="/")continue;nt++;break;case yr:if(bt!=="/"&&bt!=="\\"){fe=ir;continue}break;case ir:if(bt==="@"){Ct&&(ze="%40"+ze),Ct=!0,Ar=h(ze);for(var wn=0;wn<Ar.length;wn++){var Lt=Ar[wn];if(Lt===":"&&!Bt){Bt=!0;continue}var Qr=Ze(Lt,zt);Bt?et.password+=Qr:et.username+=Qr}ze=""}else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()){if(Ct&&ze==="")return Ae;nt-=h(ze).length+1,ze="",fe=wr}else ze+=bt;break;case wr:case Ur:if(Dt&&et.scheme==="file"){fe=Kn;continue}else if(bt===":"&&!yt){if(ze==="")return I;if(Xr=et.parseHost(ze),Xr)return Xr;if(ze="",fe=Wr,Dt===Ur)return}else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()){if(et.isSpecial()&&ze==="")return I;if(Dt&&ze===""&&(et.includesCredentials()||et.port!==null))return;if(Xr=et.parseHost(ze),Xr)return Xr;if(ze="",fe=En,Dt)return;continue}else bt==="["?yt=!0:bt==="]"&&(yt=!1),ze+=bt;break;case Wr:if(X(B,bt))ze+=bt;else if(bt===be||bt==="/"||bt==="?"||bt==="#"||bt==="\\"&&et.isSpecial()||Dt){if(ze!==""){var Vn=V(ze,10);if(Vn>65535)return P;et.port=et.isSpecial()&&Vn===Tt[et.scheme]?null:Vn,ze=""}if(Dt)return;fe=En;continue}else return P;break;case Un:if(et.scheme="file",bt==="/"||bt==="\\")fe=qn;else if(gt&>.scheme==="file")switch(bt){case be:et.host=gt.host,et.path=p(gt.path),et.query=gt.query;break;case"?":et.host=gt.host,et.path=p(gt.path),et.query="",fe=Si;break;case"#":et.host=gt.host,et.path=p(gt.path),et.query=gt.query,et.fragment="",fe=di;break;default:st(J(p(Yt,nt),""))||(et.host=gt.host,et.path=p(gt.path),et.shortenPath()),fe=ti;continue}else{fe=ti;continue}break;case qn:if(bt==="/"||bt==="\\"){fe=Kn;break}gt&>.scheme==="file"&&!st(J(p(Yt,nt),""))&&(_t(gt.path[0],!0)?H(et.path,gt.path[0]):et.host=gt.host),fe=ti;continue;case Kn:if(bt===be||bt==="/"||bt==="\\"||bt==="?"||bt==="#"){if(!Dt&&_t(ze))fe=ti;else if(ze===""){if(et.host="",Dt)return;fe=En}else{if(Xr=et.parseHost(ze),Xr)return Xr;if(et.host==="localhost"&&(et.host=""),Dt)return;ze="",fe=En}continue}else ze+=bt;break;case En:if(et.isSpecial()){if(fe=ti,bt!=="/"&&bt!=="\\")continue}else if(!Dt&&bt==="?")et.query="",fe=Si;else if(!Dt&&bt==="#")et.fragment="",fe=di;else if(bt!==be&&(fe=ti,bt!=="/"))continue;break;case ti:if(bt===be||bt==="/"||bt==="\\"&&et.isSpecial()||!Dt&&(bt==="?"||bt==="#")){if(dt(ze)?(et.shortenPath(),bt!=="/"&&!(bt==="\\"&&et.isSpecial())&&H(et.path,"")):rt(ze)?bt!=="/"&&!(bt==="\\"&&et.isSpecial())&&H(et.path,""):(et.scheme==="file"&&!et.path.length&&_t(ze)&&(et.host&&(et.host=""),ze=Y(ze,0)+":"),H(et.path,ze)),ze="",et.scheme==="file"&&(bt===be||bt==="?"||bt==="#"))for(;et.path.length>1&&et.path[0]==="";)j(et.path);bt==="?"?(et.query="",fe=Si):bt==="#"&&(et.fragment="",fe=di)}else ze+=Ze(bt,jt);break;case si:bt==="?"?(et.query="",fe=Si):bt==="#"?(et.fragment="",fe=di):bt!==be&&(et.path[0]+=Ze(bt,Ge));break;case Si:!Dt&&bt==="#"?(et.fragment="",fe=di):bt!==be&&(bt==="'"&&et.isSpecial()?et.query+="%27":bt==="#"?et.query+="%23":et.query+=Ze(bt,Ge));break;case di:bt!==be&&(et.fragment+=Ze(bt,ct));break}nt++}},parseHost:function(ot){var Dt,gt,et;if(Y(ot,0)==="["){if(Y(ot,ot.length-1)!=="]"||(Dt=Le(ee(ot,1,-1)),!Dt))return I;this.host=Dt}else if(this.isSpecial()){if(ot=S(ot),X(Oe,ot)||(Dt=Ce(ot),Dt===null))return I;this.host=Dt}else{if(X(Te,ot))return I;for(Dt="",gt=h(ot),et=0;et<gt.length;et++)Dt+=Ze(gt[et],Ge);this.host=Dt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return c(Tt,this.scheme)},shortenPath:function(){var ot=this.path,Dt=ot.length;Dt&&(this.scheme!=="file"||Dt!==1||!_t(ot[0],!0))&&ot.length--},serialize:function(){var ot=this,Dt=ot.scheme,gt=ot.username,et=ot.password,fe=ot.host,nt=ot.port,ze=ot.path,Ct=ot.query,yt=ot.fragment,Bt=Dt+":";return fe!==null?(Bt+="//",ot.includesCredentials()&&(Bt+=gt+(et?":"+et:"")+"@"),Bt+=qe(fe),nt!==null&&(Bt+=":"+nt)):Dt==="file"&&(Bt+="//"),Bt+=ot.cannotBeABaseURL?ze[0]:ze.length?"/"+J(ze,"/"):"",Ct!==null&&(Bt+="?"+Ct),yt!==null&&(Bt+="#"+yt),Bt},setHref:function(ot){var Dt=this.parse(ot);if(Dt)throw new D(Dt);this.searchParams.update()},getOrigin:function(){var ot=this.scheme,Dt=this.port;if(ot==="blob")try{return new qi(ot.path[0]).origin}catch{return"null"}return ot==="file"||!this.isSpecial()?"null":ot+"://"+qe(this.host)+(Dt!==null?":"+Dt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(ot){this.parse(E(ot)+":",Gt)},getUsername:function(){return this.username},setUsername:function(ot){var Dt=h(E(ot));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var gt=0;gt<Dt.length;gt++)this.username+=Ze(Dt[gt],zt)}},getPassword:function(){return this.password},setPassword:function(ot){var Dt=h(E(ot));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var gt=0;gt<Dt.length;gt++)this.password+=Ze(Dt[gt],zt)}},getHost:function(){var ot=this.host,Dt=this.port;return ot===null?"":Dt===null?qe(ot):qe(ot)+":"+Dt},setHost:function(ot){this.cannotBeABaseURL||this.parse(ot,wr)},getHostname:function(){var ot=this.host;return ot===null?"":qe(ot)},setHostname:function(ot){this.cannotBeABaseURL||this.parse(ot,Ur)},getPort:function(){var ot=this.port;return ot===null?"":E(ot)},setPort:function(ot){this.cannotHaveUsernamePasswordPort()||(ot=E(ot),ot===""?this.port=null:this.parse(ot,Wr))},getPathname:function(){var ot=this.path;return this.cannotBeABaseURL?ot[0]:ot.length?"/"+J(ot,"/"):""},setPathname:function(ot){this.cannotBeABaseURL||(this.path=[],this.parse(ot,En))},getSearch:function(){var ot=this.query;return ot?"?"+ot:""},setSearch:function(ot){ot=E(ot),ot===""?this.query=null:(Y(ot,0)==="?"&&(ot=ee(ot,1)),this.query="",this.parse(ot,Si)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var ot=this.fragment;return ot?"#"+ot:""},setHash:function(ot){if(ot=E(ot),ot===""){this.fragment=null;return}Y(ot,0)==="#"&&(ot=ee(ot,1)),this.fragment="",this.parse(ot,di)},update:function(){this.query=this.searchParams.serialize()||null}};var qi=function(Dt){var gt=l(this,xn),et=w(arguments.length,1)>1?arguments[1]:void 0,fe=A(gt,new $i(Dt,!1,et));t||(gt.href=fe.serialize(),gt.origin=fe.getOrigin(),gt.protocol=fe.getProtocol(),gt.username=fe.getUsername(),gt.password=fe.getPassword(),gt.host=fe.getHost(),gt.hostname=fe.getHostname(),gt.port=fe.getPort(),gt.pathname=fe.getPathname(),gt.search=fe.getSearch(),gt.searchParams=fe.getSearchParams(),gt.hash=fe.getHash())},xn=qi.prototype,ri=function(ot,Dt){return{get:function(){return R(this)[ot]()},set:Dt&&function(gt){return R(this)[Dt](gt)},configurable:!0,enumerable:!0}};if(t&&(s(xn,"href",ri("serialize","setHref")),s(xn,"origin",ri("getOrigin")),s(xn,"protocol",ri("getProtocol","setProtocol")),s(xn,"username",ri("getUsername","setUsername")),s(xn,"password",ri("getPassword","setPassword")),s(xn,"host",ri("getHost","setHost")),s(xn,"hostname",ri("getHostname","setHostname")),s(xn,"port",ri("getPort","setPort")),s(xn,"pathname",ri("getPathname","setPathname")),s(xn,"search",ri("getSearch","setSearch")),s(xn,"searchParams",ri("getSearchParams")),s(xn,"hash",ri("getHash","setHash"))),a(xn,"toJSON",function(){return R(this).serialize()},{enumerable:!0}),a(xn,"toString",function(){return R(this).serialize()},{enumerable:!0}),k){var xi=k.createObjectURL,Ei=k.revokeObjectURL;xi&&a(qi,"createObjectURL",i(xi,k)),Ei&&a(qi,"revokeObjectURL",i(Ei,k))}return _(qi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:qi}),_B}var CB;function ype(){return CB||(CB=1,mpe()),yB}var TB={},AB;function _pe(){if(AB)return TB;AB=1;var e=Ue(),t=hn(),r=qt(),n=ks(),i=tn(),o=Wy(),a=t("URL"),s=o&&r(function(){a.canParse()}),l=r(function(){return a.canParse.length!==1});return e({target:"URL",stat:!0,forced:!s||l},{canParse:function(d){var h=n(arguments.length,1),p=i(d),g=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new a(p,g)}catch{return!1}}}),TB}var RB={},xB;function Spe(){if(xB)return RB;xB=1;var e=Ue(),t=hn(),r=ks(),n=tn(),i=Wy(),o=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(s){var l=r(arguments.length,1),c=n(s),d=l<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new o(c,d)}catch{return null}}}),RB}var OB={},IB;function Epe(){if(IB)return OB;IB=1;var e=Ue(),t=Sr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),OB}var PB={},kB;function wpe(){return kB||(kB=1,Pee()),PB}var DB={},LB;function bpe(){if(LB)return DB;LB=1;var e=Gn(),t=Wt(),r=tn(),n=ks(),i=URLSearchParams,o=i.prototype,a=t(o.append),s=t(o.delete),l=t(o.forEach),c=t([].push),d=new i("a=1&a=2&b=3");return d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&e(o,"delete",function(h){var p=arguments.length,g=p<2?void 0:arguments[1];if(p&&g===void 0)return s(this,h);var S=[];l(this,function(O,m){c(S,{key:m,value:O})}),n(p,1);for(var E=r(h),_=r(g),w=0,b=0,x=!1,A=S.length,R;w<A;)R=S[w++],x||R.key===E?(x=!0,s(this,R.key)):b++;for(;b<A;)R=S[b++],R.key===E&&R.value===_||a(this,R.key,R.value)},{enumerable:!0,unsafe:!0}),DB}var NB={},MB;function Cpe(){if(MB)return NB;MB=1;var e=Gn(),t=Wt(),r=tn(),n=ks(),i=URLSearchParams,o=i.prototype,a=t(o.getAll),s=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 s(this,d);var g=a(this,d);n(h,1);for(var S=r(p),E=0;E<g.length;)if(g[E++]===S)return!0;return!1},{enumerable:!0,unsafe:!0}),NB}var $B={},FB;function Tpe(){if(FB)return $B;FB=1;var e=Dr(),t=Wt(),r=zi(),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}),$B}var fC,jB;function Ape(){return jB||(jB=1,nue(),iue(),aue(),oue(),sue(),uue(),lue(),cue(),fue(),due(),hue(),pue(),vue(),gue(),mue(),yue(),_ue(),Sue(),Eue(),wue(),Cue(),Tue(),Aue(),Rue(),xue(),Oue(),Iue(),Pue(),kue(),Due(),Lue(),Nue(),Mue(),$ue(),Fue(),jue(),Uue(),que(),Vue(),Hue(),wy(),Bue(),zue(),Wue(),Gue(),Kue(),Yue(),Xue(),Que(),Zue(),Jue(),ele(),tle(),rle(),nle(),ile(),ale(),ole(),sle(),ule(),lle(),fle(),dle(),hle(),vle(),gle(),yle(),_le(),Sle(),Ele(),wle(),ble(),Cle(),Tle(),Rle(),xle(),Ile(),Ple(),kle(),Dle(),Lle(),Nle(),Mle(),$le(),Fle(),jle(),qle(),Vle(),Hle(),Ble(),zle(),Wle(),Gle(),Kle(),Yle(),Xle(),Qle(),Zle(),mJ(),Jle(),tce(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),pce(),vce(),gce(),mce(),yce(),_ce(),Sce(),Ece(),wce(),bce(),Cce(),Ace(),Rce(),xce(),Oce(),Ice(),Pce(),kce(),Dce(),Lce(),Nce(),Mce(),$ce(),Fce(),jce(),Uce(),qce(),Vce(),Hce(),Bce(),zce(),Wce(),Gce(),Kce(),Yce(),Xce(),Qce(),Zce(),Jce(),efe(),tfe(),rfe(),nfe(),ife(),afe(),ofe(),sfe(),ufe(),cfe(),ffe(),dfe(),hfe(),bfe(),Cfe(),Tfe(),Afe(),Rfe(),xfe(),Dfe(),Lfe(),Nfe(),Mfe(),$fe(),Ffe(),jfe(),Ufe(),qfe(),Vfe(),Hfe(),Bfe(),zfe(),Wfe(),Gfe(),Kfe(),Yfe(),Xfe(),Qfe(),Zfe(),rP(),Jfe(),ede(),tde(),rde(),ide(),ode(),ude(),cde(),dde(),pde(),gde(),yde(),_de(),Sde(),Ede(),pee(),wde(),bde(),vee(),Cde(),Tde(),Ade(),Rde(),xde(),Ode(),Ide(),Pde(),kde(),Dde(),Lde(),Nde(),Mde(),$de(),jde(),qde(),Vde(),Hde(),Bde(),zde(),Wde(),Gde(),Kde(),Yde(),Xde(),Qde(),Zde(),Jde(),ehe(),rhe(),nhe(),ihe(),ahe(),ohe(),she(),uhe(),lhe(),che(),fhe(),dhe(),hhe(),phe(),ghe(),mhe(),yhe(),_he(),She(),Ehe(),whe(),bhe(),Che(),The(),Ahe(),Rhe(),xhe(),Ohe(),Ihe(),Phe(),khe(),Dhe(),Lhe(),Nhe(),Mhe(),$he(),Fhe(),jhe(),Uhe(),qhe(),Vhe(),Hhe(),Bhe(),zhe(),Whe(),Ghe(),Khe(),Yhe(),Qhe(),Jhe(),epe(),tpe(),rpe(),npe(),ipe(),ape(),ope(),lpe(),cpe(),fpe(),dpe(),vpe(),ype(),_pe(),Spe(),Epe(),wpe(),bpe(),Cpe(),Tpe(),fC=my()),fC}Ape();var nm={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 Rpe=nm.exports,UB;function kee(){return UB||(UB=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:Rpe,function(t,r){var n=[],i=Object.getPrototypeOf,o=n.slice,a=n.flat?function(y){return n.flat.call(y)}:function(y){return n.concat.apply([],y)},s=n.push,l=n.indexOf,c={},d=c.toString,h=c.hasOwnProperty,p=h.toString,g=p.call(Object),S={},E=function(T){return typeof T=="function"&&typeof T.nodeType!="number"&&typeof T.item!="function"},_=function(T){return T!=null&&T===T.window},w=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function x(y,T,M){M=M||w;var K,ie,le=M.createElement("script");if(le.text=y,T)for(K in b)ie=T[K]||T.getAttribute&&T.getAttribute(K),ie&&le.setAttribute(K,ie);M.head.appendChild(le).parentNode.removeChild(le)}function A(y){return y==null?y+"":typeof y=="object"||typeof y=="function"?c[d.call(y)]||"object":typeof y}var R="3.7.1",O=/HTML$/i,m=function(y,T){return new m.fn.init(y,T)};m.fn=m.prototype={jquery:R,constructor:m,length:0,toArray:function(){return o.call(this)},get:function(y){return y==null?o.call(this):y<0?this[y+this.length]:this[y]},pushStack:function(y){var T=m.merge(this.constructor(),y);return T.prevObject=this,T},each:function(y){return m.each(this,y)},map:function(y){return this.pushStack(m.map(this,function(T,M){return y.call(T,M,T)}))},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(m.grep(this,function(y,T){return(T+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(y,T){return T%2}))},eq:function(y){var T=this.length,M=+y+(y<0?T:0);return this.pushStack(M>=0&&M<T?[this[M]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},m.extend=m.fn.extend=function(){var y,T,M,K,ie,le,he=arguments[0]||{},Fe=1,De=arguments.length,Ke=!1;for(typeof he=="boolean"&&(Ke=he,he=arguments[Fe]||{},Fe++),typeof he!="object"&&!E(he)&&(he={}),Fe===De&&(he=this,Fe--);Fe<De;Fe++)if((y=arguments[Fe])!=null)for(T in y)K=y[T],!(T==="__proto__"||he===K)&&(Ke&&K&&(m.isPlainObject(K)||(ie=Array.isArray(K)))?(M=he[T],ie&&!Array.isArray(M)?le=[]:!ie&&!m.isPlainObject(M)?le={}:le=M,ie=!1,he[T]=m.extend(Ke,le,K)):K!==void 0&&(he[T]=K));return he},m.extend({expando:"jQuery"+(R+Math.random()).replace(/\D/g,""),isReady:!0,error:function(y){throw new Error(y)},noop:function(){},isPlainObject:function(y){var T,M;return!y||d.call(y)!=="[object Object]"?!1:(T=i(y),T?(M=h.call(T,"constructor")&&T.constructor,typeof M=="function"&&p.call(M)===g):!0)},isEmptyObject:function(y){var T;for(T in y)return!1;return!0},globalEval:function(y,T,M){x(y,{nonce:T&&T.nonce},M)},each:function(y,T){var M,K=0;if(k(y))for(M=y.length;K<M&&T.call(y[K],K,y[K])!==!1;K++);else for(K in y)if(T.call(y[K],K,y[K])===!1)break;return y},text:function(y){var T,M="",K=0,ie=y.nodeType;if(!ie)for(;T=y[K++];)M+=m.text(T);return ie===1||ie===11?y.textContent:ie===9?y.documentElement.textContent:ie===3||ie===4?y.nodeValue:M},makeArray:function(y,T){var M=T||[];return y!=null&&(k(Object(y))?m.merge(M,typeof y=="string"?[y]:y):s.call(M,y)),M},inArray:function(y,T,M){return T==null?-1:l.call(T,y,M)},isXMLDoc:function(y){var T=y&&y.namespaceURI,M=y&&(y.ownerDocument||y).documentElement;return!O.test(T||M&&M.nodeName||"HTML")},merge:function(y,T){for(var M=+T.length,K=0,ie=y.length;K<M;K++)y[ie++]=T[K];return y.length=ie,y},grep:function(y,T,M){for(var K,ie=[],le=0,he=y.length,Fe=!M;le<he;le++)K=!T(y[le],le),K!==Fe&&ie.push(y[le]);return ie},map:function(y,T,M){var K,ie,le=0,he=[];if(k(y))for(K=y.length;le<K;le++)ie=T(y[le],le,M),ie!=null&&he.push(ie);else for(le in y)ie=T(y[le],le,M),ie!=null&&he.push(ie);return a(he)},guid:1,support:S}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=n[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(y,T){c["[object "+T+"]"]=T.toLowerCase()});function k(y){var T=!!y&&"length"in y&&y.length,M=A(y);return E(y)||_(y)?!1:M==="array"||T===0||typeof T=="number"&&T>0&&T-1 in y}function D(y,T){return y.nodeName&&y.nodeName.toLowerCase()===T.toLowerCase()}var V=n.pop,F=n.sort,G=n.splice,Y="[\\x20\\t\\r\\n\\f]",X=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");m.contains=function(y,T){var M=T&&T.parentNode;return y===M||!!(M&&M.nodeType===1&&(y.contains?y.contains(M):y.compareDocumentPosition&&y.compareDocumentPosition(M)&16))};var J=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Z(y,T){return T?y==="\0"?"�":y.slice(0,-1)+"\\"+y.charCodeAt(y.length-1).toString(16)+" ":"\\"+y}m.escapeSelector=function(y){return(y+"").replace(J,Z)};var ue=w,H=s;(function(){var y,T,M,K,ie,le=H,he,Fe,De,Ke,Et,Rt=m.expando,ft=0,Ft=0,Rr=Ye(),en=Ye(),qr=Ye(),Yn=Ye(),li=function(xe,We){return xe===We&&(ie=!0),0},W="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ae="(?:\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ve="\\["+Y+"*("+ae+")(?:"+Y+"*([*^$|!~]?=)"+Y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ae+"))|)"+Y+"*\\]",Ne=":("+ae+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ve+")*)|.*)\\)|)",Qe=new RegExp(Y+"+","g"),tt=new RegExp("^"+Y+"*,"+Y+"*"),Ot=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),Ht=new RegExp(Y+"|>"),gr=new RegExp(Ne),Vr=new RegExp("^"+ae+"$"),xr={ID:new RegExp("^#("+ae+")"),CLASS:new RegExp("^\\.("+ae+")"),TAG:new RegExp("^("+ae+"|[*])"),ATTR:new RegExp("^"+ve),PSEUDO:new RegExp("^"+Ne),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("^(?:"+W+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},On=/^(?:input|select|textarea|button)$/i,ni=/^h\d$/i,Dn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,lc=/[+~]/,Ya=new RegExp("\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\([^\\r\\n\\f])","g"),ne=function(xe,We){var ht="0x"+xe.slice(1)-65536;return We||(ht<0?String.fromCharCode(ht+65536):String.fromCharCode(ht>>10|55296,ht&1023|56320))},pe=function(){Ho()},Pe=tu(function(xe){return xe.disabled===!0&&D(xe,"fieldset")},{dir:"parentNode",next:"legend"});function Me(){try{return he.activeElement}catch{}}try{le.apply(n=o.call(ue.childNodes),ue.childNodes),n[ue.childNodes.length].nodeType}catch{le={apply:function(We,ht){H.apply(We,o.call(ht))},call:function(We){H.apply(We,o.call(arguments,1))}}}function He(xe,We,ht,St){var Pt,Jt,tr,cr,sr,an,$r,Br=We&&We.ownerDocument,rn=We?We.nodeType:9;if(ht=ht||[],typeof xe!="string"||!xe||rn!==1&&rn!==9&&rn!==11)return ht;if(!St&&(Ho(We),We=We||he,De)){if(rn!==11&&(sr=Dn.exec(xe)))if(Pt=sr[1]){if(rn===9)if(tr=We.getElementById(Pt)){if(tr.id===Pt)return le.call(ht,tr),ht}else return ht;else if(Br&&(tr=Br.getElementById(Pt))&&He.contains(We,tr)&&tr.id===Pt)return le.call(ht,tr),ht}else{if(sr[2])return le.apply(ht,We.getElementsByTagName(xe)),ht;if((Pt=sr[3])&&We.getElementsByClassName)return le.apply(ht,We.getElementsByClassName(Pt)),ht}if(!Yn[xe+" "]&&(!Ke||!Ke.test(xe))){if($r=xe,Br=We,rn===1&&(Ht.test(xe)||Ot.test(xe))){for(Br=lc.test(xe)&&hl(We.parentNode)||We,(Br!=We||!S.scope)&&((cr=We.getAttribute("id"))?cr=m.escapeSelector(cr):We.setAttribute("id",cr=Rt)),an=pl(xe),Jt=an.length;Jt--;)an[Jt]=(cr?"#"+cr:":scope")+" "+eu(an[Jt]);$r=an.join(",")}try{return le.apply(ht,Br.querySelectorAll($r)),ht}catch{Yn(xe,!0)}finally{cr===Rt&&We.removeAttribute("id")}}}return wh(xe.replace(X,"$1"),We,ht,St)}function Ye(){var xe=[];function We(ht,St){return xe.push(ht+" ")>T.cacheLength&&delete We[xe.shift()],We[ht+" "]=St}return We}function At(xe){return xe[Rt]=!0,xe}function Kt(xe){var We=he.createElement("fieldset");try{return!!xe(We)}catch{return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Hr(xe){return function(We){return D(We,"input")&&We.type===xe}}function Mr(xe){return function(We){return(D(We,"input")||D(We,"button"))&&We.type===xe}}function Xn(xe){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===xe:We.disabled===xe:We.isDisabled===xe||We.isDisabled!==!xe&&Pe(We)===xe:We.disabled===xe:"label"in We?We.disabled===xe:!1}}function pi(xe){return At(function(We){return We=+We,At(function(ht,St){for(var Pt,Jt=xe([],ht.length,We),tr=Jt.length;tr--;)ht[Pt=Jt[tr]]&&(ht[Pt]=!(St[Pt]=ht[Pt]))})})}function hl(xe){return xe&&typeof xe.getElementsByTagName<"u"&&xe}function Ho(xe){var We,ht=xe?xe.ownerDocument||xe:ue;return ht==he||ht.nodeType!==9||!ht.documentElement||(he=ht,Fe=he.documentElement,De=!m.isXMLDoc(he),Et=Fe.matches||Fe.webkitMatchesSelector||Fe.msMatchesSelector,Fe.msMatchesSelector&&ue!=he&&(We=he.defaultView)&&We.top!==We&&We.addEventListener("unload",pe),S.getById=Kt(function(St){return Fe.appendChild(St).id=m.expando,!he.getElementsByName||!he.getElementsByName(m.expando).length}),S.disconnectedMatch=Kt(function(St){return Et.call(St,"*")}),S.scope=Kt(function(){return he.querySelectorAll(":scope")}),S.cssHas=Kt(function(){try{return he.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(T.filter.ID=function(St){var Pt=St.replace(Ya,ne);return function(Jt){return Jt.getAttribute("id")===Pt}},T.find.ID=function(St,Pt){if(typeof Pt.getElementById<"u"&&De){var Jt=Pt.getElementById(St);return Jt?[Jt]:[]}}):(T.filter.ID=function(St){var Pt=St.replace(Ya,ne);return function(Jt){var tr=typeof Jt.getAttributeNode<"u"&&Jt.getAttributeNode("id");return tr&&tr.value===Pt}},T.find.ID=function(St,Pt){if(typeof Pt.getElementById<"u"&&De){var Jt,tr,cr,sr=Pt.getElementById(St);if(sr){if(Jt=sr.getAttributeNode("id"),Jt&&Jt.value===St)return[sr];for(cr=Pt.getElementsByName(St),tr=0;sr=cr[tr++];)if(Jt=sr.getAttributeNode("id"),Jt&&Jt.value===St)return[sr]}return[]}}),T.find.TAG=function(St,Pt){return typeof Pt.getElementsByTagName<"u"?Pt.getElementsByTagName(St):Pt.querySelectorAll(St)},T.find.CLASS=function(St,Pt){if(typeof Pt.getElementsByClassName<"u"&&De)return Pt.getElementsByClassName(St)},Ke=[],Kt(function(St){var Pt;Fe.appendChild(St).innerHTML="<a id='"+Rt+"' href='' disabled='disabled'></a><select id='"+Rt+"-\r\\' disabled='disabled'><option selected=''></option></select>",St.querySelectorAll("[selected]").length||Ke.push("\\["+Y+"*(?:value|"+W+")"),St.querySelectorAll("[id~="+Rt+"-]").length||Ke.push("~="),St.querySelectorAll("a#"+Rt+"+*").length||Ke.push(".#.+[+~]"),St.querySelectorAll(":checked").length||Ke.push(":checked"),Pt=he.createElement("input"),Pt.setAttribute("type","hidden"),St.appendChild(Pt).setAttribute("name","D"),Fe.appendChild(St).disabled=!0,St.querySelectorAll(":disabled").length!==2&&Ke.push(":enabled",":disabled"),Pt=he.createElement("input"),Pt.setAttribute("name",""),St.appendChild(Pt),St.querySelectorAll("[name='']").length||Ke.push("\\["+Y+"*name"+Y+"*="+Y+`*(?:''|"")`)}),S.cssHas||Ke.push(":has"),Ke=Ke.length&&new RegExp(Ke.join("|")),li=function(St,Pt){if(St===Pt)return ie=!0,0;var Jt=!St.compareDocumentPosition-!Pt.compareDocumentPosition;return Jt||(Jt=(St.ownerDocument||St)==(Pt.ownerDocument||Pt)?St.compareDocumentPosition(Pt):1,Jt&1||!S.sortDetached&&Pt.compareDocumentPosition(St)===Jt?St===he||St.ownerDocument==ue&&He.contains(ue,St)?-1:Pt===he||Pt.ownerDocument==ue&&He.contains(ue,Pt)?1:K?l.call(K,St)-l.call(K,Pt):0:Jt&4?-1:1)}),he}He.matches=function(xe,We){return He(xe,null,null,We)},He.matchesSelector=function(xe,We){if(Ho(xe),De&&!Yn[We+" "]&&(!Ke||!Ke.test(We)))try{var ht=Et.call(xe,We);if(ht||S.disconnectedMatch||xe.document&&xe.document.nodeType!==11)return ht}catch{Yn(We,!0)}return He(We,he,null,[xe]).length>0},He.contains=function(xe,We){return(xe.ownerDocument||xe)!=he&&Ho(xe),m.contains(xe,We)},He.attr=function(xe,We){(xe.ownerDocument||xe)!=he&&Ho(xe);var ht=T.attrHandle[We.toLowerCase()],St=ht&&h.call(T.attrHandle,We.toLowerCase())?ht(xe,We,!De):void 0;return St!==void 0?St:xe.getAttribute(We)},He.error=function(xe){throw new Error("Syntax error, unrecognized expression: "+xe)},m.uniqueSort=function(xe){var We,ht=[],St=0,Pt=0;if(ie=!S.sortStable,K=!S.sortStable&&o.call(xe,0),F.call(xe,li),ie){for(;We=xe[Pt++];)We===xe[Pt]&&(St=ht.push(Pt));for(;St--;)G.call(xe,ht[St],1)}return K=null,xe},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(o.apply(this)))},T=m.expr={cacheLength:50,createPseudo:At,match:xr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(xe){return xe[1]=xe[1].replace(Ya,ne),xe[3]=(xe[3]||xe[4]||xe[5]||"").replace(Ya,ne),xe[2]==="~="&&(xe[3]=" "+xe[3]+" "),xe.slice(0,4)},CHILD:function(xe){return xe[1]=xe[1].toLowerCase(),xe[1].slice(0,3)==="nth"?(xe[3]||He.error(xe[0]),xe[4]=+(xe[4]?xe[5]+(xe[6]||1):2*(xe[3]==="even"||xe[3]==="odd")),xe[5]=+(xe[7]+xe[8]||xe[3]==="odd")):xe[3]&&He.error(xe[0]),xe},PSEUDO:function(xe){var We,ht=!xe[6]&&xe[2];return xr.CHILD.test(xe[0])?null:(xe[3]?xe[2]=xe[4]||xe[5]||"":ht&&gr.test(ht)&&(We=pl(ht,!0))&&(We=ht.indexOf(")",ht.length-We)-ht.length)&&(xe[0]=xe[0].slice(0,We),xe[2]=ht.slice(0,We)),xe.slice(0,3))}},filter:{TAG:function(xe){var We=xe.replace(Ya,ne).toLowerCase();return xe==="*"?function(){return!0}:function(ht){return D(ht,We)}},CLASS:function(xe){var We=Rr[xe+" "];return We||(We=new RegExp("(^|"+Y+")"+xe+"("+Y+"|$)"))&&Rr(xe,function(ht){return We.test(typeof ht.className=="string"&&ht.className||typeof ht.getAttribute<"u"&&ht.getAttribute("class")||"")})},ATTR:function(xe,We,ht){return function(St){var Pt=He.attr(St,xe);return Pt==null?We==="!=":We?(Pt+="",We==="="?Pt===ht:We==="!="?Pt!==ht:We==="^="?ht&&Pt.indexOf(ht)===0:We==="*="?ht&&Pt.indexOf(ht)>-1:We==="$="?ht&&Pt.slice(-ht.length)===ht:We==="~="?(" "+Pt.replace(Qe," ")+" ").indexOf(ht)>-1:We==="|="?Pt===ht||Pt.slice(0,ht.length+1)===ht+"-":!1):!0}},CHILD:function(xe,We,ht,St,Pt){var Jt=xe.slice(0,3)!=="nth",tr=xe.slice(-4)!=="last",cr=We==="of-type";return St===1&&Pt===0?(function(sr){return!!sr.parentNode}):function(sr,an,$r){var Br,rn,Or,Qn,Vi,Gi=Jt!==tr?"nextSibling":"previousSibling",da=sr.parentNode,fo=cr&&sr.nodeName.toLowerCase(),Ru=!$r&&!cr,Ki=!1;if(da){if(Jt){for(;Gi;){for(Or=sr;Or=Or[Gi];)if(cr?D(Or,fo):Or.nodeType===1)return!1;Vi=Gi=xe==="only"&&!Vi&&"nextSibling"}return!0}if(Vi=[tr?da.firstChild:da.lastChild],tr&&Ru){for(rn=da[Rt]||(da[Rt]={}),Br=rn[xe]||[],Qn=Br[0]===ft&&Br[1],Ki=Qn&&Br[2],Or=Qn&&da.childNodes[Qn];Or=++Qn&&Or&&Or[Gi]||(Ki=Qn=0)||Vi.pop();)if(Or.nodeType===1&&++Ki&&Or===sr){rn[xe]=[ft,Qn,Ki];break}}else if(Ru&&(rn=sr[Rt]||(sr[Rt]={}),Br=rn[xe]||[],Qn=Br[0]===ft&&Br[1],Ki=Qn),Ki===!1)for(;(Or=++Qn&&Or&&Or[Gi]||(Ki=Qn=0)||Vi.pop())&&!((cr?D(Or,fo):Or.nodeType===1)&&++Ki&&(Ru&&(rn=Or[Rt]||(Or[Rt]={}),rn[xe]=[ft,Ki]),Or===sr)););return Ki-=Pt,Ki===St||Ki%St===0&&Ki/St>=0}}},PSEUDO:function(xe,We){var ht,St=T.pseudos[xe]||T.setFilters[xe.toLowerCase()]||He.error("unsupported pseudo: "+xe);return St[Rt]?St(We):St.length>1?(ht=[xe,xe,"",We],T.setFilters.hasOwnProperty(xe.toLowerCase())?At(function(Pt,Jt){for(var tr,cr=St(Pt,We),sr=cr.length;sr--;)tr=l.call(Pt,cr[sr]),Pt[tr]=!(Jt[tr]=cr[sr])}):function(Pt){return St(Pt,0,ht)}):St}},pseudos:{not:At(function(xe){var We=[],ht=[],St=$f(xe.replace(X,"$1"));return St[Rt]?At(function(Pt,Jt,tr,cr){for(var sr,an=St(Pt,null,cr,[]),$r=Pt.length;$r--;)(sr=an[$r])&&(Pt[$r]=!(Jt[$r]=sr))}):function(Pt,Jt,tr){return We[0]=Pt,St(We,null,tr,ht),We[0]=null,!ht.pop()}}),has:At(function(xe){return function(We){return He(xe,We).length>0}}),contains:At(function(xe){return xe=xe.replace(Ya,ne),function(We){return(We.textContent||m.text(We)).indexOf(xe)>-1}}),lang:At(function(xe){return Vr.test(xe||"")||He.error("unsupported lang: "+xe),xe=xe.replace(Ya,ne).toLowerCase(),function(We){var ht;do if(ht=De?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return ht=ht.toLowerCase(),ht===xe||ht.indexOf(xe+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(xe){var We=t.location&&t.location.hash;return We&&We.slice(1)===xe.id},root:function(xe){return xe===Fe},focus:function(xe){return xe===Me()&&he.hasFocus()&&!!(xe.type||xe.href||~xe.tabIndex)},enabled:Xn(!1),disabled:Xn(!0),checked:function(xe){return D(xe,"input")&&!!xe.checked||D(xe,"option")&&!!xe.selected},selected:function(xe){return xe.parentNode&&xe.parentNode.selectedIndex,xe.selected===!0},empty:function(xe){for(xe=xe.firstChild;xe;xe=xe.nextSibling)if(xe.nodeType<6)return!1;return!0},parent:function(xe){return!T.pseudos.empty(xe)},header:function(xe){return ni.test(xe.nodeName)},input:function(xe){return On.test(xe.nodeName)},button:function(xe){return D(xe,"input")&&xe.type==="button"||D(xe,"button")},text:function(xe){var We;return D(xe,"input")&&xe.type==="text"&&((We=xe.getAttribute("type"))==null||We.toLowerCase()==="text")},first:pi(function(){return[0]}),last:pi(function(xe,We){return[We-1]}),eq:pi(function(xe,We,ht){return[ht<0?ht+We:ht]}),even:pi(function(xe,We){for(var ht=0;ht<We;ht+=2)xe.push(ht);return xe}),odd:pi(function(xe,We){for(var ht=1;ht<We;ht+=2)xe.push(ht);return xe}),lt:pi(function(xe,We,ht){var St;for(ht<0?St=ht+We:ht>We?St=We:St=ht;--St>=0;)xe.push(St);return xe}),gt:pi(function(xe,We,ht){for(var St=ht<0?ht+We:ht;++St<We;)xe.push(St);return xe})}},T.pseudos.nth=T.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[y]=Hr(y);for(y in{submit:!0,reset:!0})T.pseudos[y]=Mr(y);function _h(){}_h.prototype=T.filters=T.pseudos,T.setFilters=new _h;function pl(xe,We){var ht,St,Pt,Jt,tr,cr,sr,an=en[xe+" "];if(an)return We?0:an.slice(0);for(tr=xe,cr=[],sr=T.preFilter;tr;){(!ht||(St=tt.exec(tr)))&&(St&&(tr=tr.slice(St[0].length)||tr),cr.push(Pt=[])),ht=!1,(St=Ot.exec(tr))&&(ht=St.shift(),Pt.push({value:ht,type:St[0].replace(X," ")}),tr=tr.slice(ht.length));for(Jt in T.filter)(St=xr[Jt].exec(tr))&&(!sr[Jt]||(St=sr[Jt](St)))&&(ht=St.shift(),Pt.push({value:ht,type:Jt,matches:St}),tr=tr.slice(ht.length));if(!ht)break}return We?tr.length:tr?He.error(xe):en(xe,cr).slice(0)}function eu(xe){for(var We=0,ht=xe.length,St="";We<ht;We++)St+=xe[We].value;return St}function tu(xe,We,ht){var St=We.dir,Pt=We.next,Jt=Pt||St,tr=ht&&Jt==="parentNode",cr=Ft++;return We.first?(function(sr,an,$r){for(;sr=sr[St];)if(sr.nodeType===1||tr)return xe(sr,an,$r);return!1}):(function(sr,an,$r){var Br,rn,Or=[ft,cr];if($r){for(;sr=sr[St];)if((sr.nodeType===1||tr)&&xe(sr,an,$r))return!0}else for(;sr=sr[St];)if(sr.nodeType===1||tr)if(rn=sr[Rt]||(sr[Rt]={}),Pt&&D(sr,Pt))sr=sr[St]||sr;else{if((Br=rn[Jt])&&Br[0]===ft&&Br[1]===cr)return Or[2]=Br[2];if(rn[Jt]=Or,Or[2]=xe(sr,an,$r))return!0}return!1})}function Sh(xe){return xe.length>1?function(We,ht,St){for(var Pt=xe.length;Pt--;)if(!xe[Pt](We,ht,St))return!1;return!0}:xe[0]}function Lf(xe,We,ht){for(var St=0,Pt=We.length;St<Pt;St++)He(xe,We[St],ht);return ht}function Nf(xe,We,ht,St,Pt){for(var Jt,tr=[],cr=0,sr=xe.length,an=We!=null;cr<sr;cr++)(Jt=xe[cr])&&(!ht||ht(Jt,St,Pt))&&(tr.push(Jt),an&&We.push(cr));return tr}function Mf(xe,We,ht,St,Pt,Jt){return St&&!St[Rt]&&(St=Mf(St)),Pt&&!Pt[Rt]&&(Pt=Mf(Pt,Jt)),At(function(tr,cr,sr,an){var $r,Br,rn,Or,Qn=[],Vi=[],Gi=cr.length,da=tr||Lf(We||"*",sr.nodeType?[sr]:sr,[]),fo=xe&&(tr||!We)?Nf(da,Qn,xe,sr,an):da;if(ht?(Or=Pt||(tr?xe:Gi||St)?[]:cr,ht(fo,Or,sr,an)):Or=fo,St)for($r=Nf(Or,Vi),St($r,[],sr,an),Br=$r.length;Br--;)(rn=$r[Br])&&(Or[Vi[Br]]=!(fo[Vi[Br]]=rn));if(tr){if(Pt||xe){if(Pt){for($r=[],Br=Or.length;Br--;)(rn=Or[Br])&&$r.push(fo[Br]=rn);Pt(null,Or=[],$r,an)}for(Br=Or.length;Br--;)(rn=Or[Br])&&($r=Pt?l.call(tr,rn):Qn[Br])>-1&&(tr[$r]=!(cr[$r]=rn))}}else Or=Nf(Or===cr?Or.splice(Gi,Or.length):Or),Pt?Pt(null,cr,Or,an):le.apply(cr,Or)})}function cc(xe){for(var We,ht,St,Pt=xe.length,Jt=T.relative[xe[0].type],tr=Jt||T.relative[" "],cr=Jt?1:0,sr=tu(function(Br){return Br===We},tr,!0),an=tu(function(Br){return l.call(We,Br)>-1},tr,!0),$r=[function(Br,rn,Or){var Qn=!Jt&&(Or||rn!=M)||((We=rn).nodeType?sr(Br,rn,Or):an(Br,rn,Or));return We=null,Qn}];cr<Pt;cr++)if(ht=T.relative[xe[cr].type])$r=[tu(Sh($r),ht)];else{if(ht=T.filter[xe[cr].type].apply(null,xe[cr].matches),ht[Rt]){for(St=++cr;St<Pt&&!T.relative[xe[St].type];St++);return Mf(cr>1&&Sh($r),cr>1&&eu(xe.slice(0,cr-1).concat({value:xe[cr-2].type===" "?"*":""})).replace(X,"$1"),ht,cr<St&&cc(xe.slice(cr,St)),St<Pt&&cc(xe=xe.slice(St)),St<Pt&&eu(xe))}$r.push(ht)}return Sh($r)}function Eh(xe,We){var ht=We.length>0,St=xe.length>0,Pt=function(Jt,tr,cr,sr,an){var $r,Br,rn,Or=0,Qn="0",Vi=Jt&&[],Gi=[],da=M,fo=Jt||St&&T.find.TAG("*",an),Ru=ft+=da==null?1:Math.random()||.1,Ki=fo.length;for(an&&(M=tr==he||tr||an);Qn!==Ki&&($r=fo[Qn])!=null;Qn++){if(St&&$r){for(Br=0,!tr&&$r.ownerDocument!=he&&(Ho($r),cr=!De);rn=xe[Br++];)if(rn($r,tr||he,cr)){le.call(sr,$r);break}an&&(ft=Ru)}ht&&(($r=!rn&&$r)&&Or--,Jt&&Vi.push($r))}if(Or+=Qn,ht&&Qn!==Or){for(Br=0;rn=We[Br++];)rn(Vi,Gi,tr,cr);if(Jt){if(Or>0)for(;Qn--;)Vi[Qn]||Gi[Qn]||(Gi[Qn]=V.call(sr));Gi=Nf(Gi)}le.apply(sr,Gi),an&&!Jt&&Gi.length>0&&Or+We.length>1&&m.uniqueSort(sr)}return an&&(ft=Ru,M=da),Vi};return ht?At(Pt):Pt}function $f(xe,We){var ht,St=[],Pt=[],Jt=qr[xe+" "];if(!Jt){for(We||(We=pl(xe)),ht=We.length;ht--;)Jt=cc(We[ht]),Jt[Rt]?St.push(Jt):Pt.push(Jt);Jt=qr(xe,Eh(Pt,St)),Jt.selector=xe}return Jt}function wh(xe,We,ht,St){var Pt,Jt,tr,cr,sr,an=typeof xe=="function"&&xe,$r=!St&&pl(xe=an.selector||xe);if(ht=ht||[],$r.length===1){if(Jt=$r[0]=$r[0].slice(0),Jt.length>2&&(tr=Jt[0]).type==="ID"&&We.nodeType===9&&De&&T.relative[Jt[1].type]){if(We=(T.find.ID(tr.matches[0].replace(Ya,ne),We)||[])[0],We)an&&(We=We.parentNode);else return ht;xe=xe.slice(Jt.shift().value.length)}for(Pt=xr.needsContext.test(xe)?0:Jt.length;Pt--&&(tr=Jt[Pt],!T.relative[cr=tr.type]);)if((sr=T.find[cr])&&(St=sr(tr.matches[0].replace(Ya,ne),lc.test(Jt[0].type)&&hl(We.parentNode)||We))){if(Jt.splice(Pt,1),xe=St.length&&eu(Jt),!xe)return le.apply(ht,St),ht;break}}return(an||$f(xe,$r))(St,We,!De,ht,!We||lc.test(xe)&&hl(We.parentNode)||We),ht}S.sortStable=Rt.split("").sort(li).join("")===Rt,Ho(),S.sortDetached=Kt(function(xe){return xe.compareDocumentPosition(he.createElement("fieldset"))&1}),m.find=He,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,He.compile=$f,He.select=wh,He.setDocument=Ho,He.tokenize=pl,He.escape=m.escapeSelector,He.getText=m.text,He.isXML=m.isXMLDoc,He.selectors=m.expr,He.support=m.support,He.uniqueSort=m.uniqueSort})();var L=function(y,T,M){for(var K=[],ie=M!==void 0;(y=y[T])&&y.nodeType!==9;)if(y.nodeType===1){if(ie&&m(y).is(M))break;K.push(y)}return K},j=function(y,T){for(var M=[];y;y=y.nextSibling)y.nodeType===1&&y!==T&&M.push(y);return M},te=m.expr.match.needsContext,ee=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function de(y,T,M){return E(T)?m.grep(y,function(K,ie){return!!T.call(K,ie,K)!==M}):T.nodeType?m.grep(y,function(K){return K===T!==M}):typeof T!="string"?m.grep(y,function(K){return l.call(T,K)>-1!==M}):m.filter(T,y,M)}m.filter=function(y,T,M){var K=T[0];return M&&(y=":not("+y+")"),T.length===1&&K.nodeType===1?m.find.matchesSelector(K,y)?[K]:[]:m.find.matches(y,m.grep(T,function(ie){return ie.nodeType===1}))},m.fn.extend({find:function(y){var T,M,K=this.length,ie=this;if(typeof y!="string")return this.pushStack(m(y).filter(function(){for(T=0;T<K;T++)if(m.contains(ie[T],this))return!0}));for(M=this.pushStack([]),T=0;T<K;T++)m.find(y,ie[T],M);return K>1?m.uniqueSort(M):M},filter:function(y){return this.pushStack(de(this,y||[],!1))},not:function(y){return this.pushStack(de(this,y||[],!0))},is:function(y){return!!de(this,typeof y=="string"&&te.test(y)?m(y):y||[],!1).length}});var Se,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,se=m.fn.init=function(y,T,M){var K,ie;if(!y)return this;if(M=M||Se,typeof y=="string")if(y[0]==="<"&&y[y.length-1]===">"&&y.length>=3?K=[null,y,null]:K=Ae.exec(y),K&&(K[1]||!T))if(K[1]){if(T=T instanceof m?T[0]:T,m.merge(this,m.parseHTML(K[1],T&&T.nodeType?T.ownerDocument||T:w,!0)),ee.test(K[1])&&m.isPlainObject(T))for(K in T)E(this[K])?this[K](T[K]):this.attr(K,T[K]);return this}else return ie=w.getElementById(K[2]),ie&&(this[0]=ie,this.length=1),this;else return!T||T.jquery?(T||M).find(y):this.constructor(T).find(y);else{if(y.nodeType)return this[0]=y,this.length=1,this;if(E(y))return M.ready!==void 0?M.ready(y):y(m)}return m.makeArray(y,this)};se.prototype=m.fn,Se=m(w);var I=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(y){var T=m(y,this),M=T.length;return this.filter(function(){for(var K=0;K<M;K++)if(m.contains(this,T[K]))return!0})},closest:function(y,T){var M,K=0,ie=this.length,le=[],he=typeof y!="string"&&m(y);if(!te.test(y)){for(;K<ie;K++)for(M=this[K];M&&M!==T;M=M.parentNode)if(M.nodeType<11&&(he?he.index(M)>-1:M.nodeType===1&&m.find.matchesSelector(M,y))){le.push(M);break}}return this.pushStack(le.length>1?m.uniqueSort(le):le)},index:function(y){return y?typeof y=="string"?l.call(m(y),this[0]):l.call(this,y.jquery?y[0]:y):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(y,T){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(y,T))))},addBack:function(y){return this.add(y==null?this.prevObject:this.prevObject.filter(y))}});function q(y,T){for(;(y=y[T])&&y.nodeType!==1;);return y}m.each({parent:function(y){var T=y.parentNode;return T&&T.nodeType!==11?T:null},parents:function(y){return L(y,"parentNode")},parentsUntil:function(y,T,M){return L(y,"parentNode",M)},next:function(y){return q(y,"nextSibling")},prev:function(y){return q(y,"previousSibling")},nextAll:function(y){return L(y,"nextSibling")},prevAll:function(y){return L(y,"previousSibling")},nextUntil:function(y,T,M){return L(y,"nextSibling",M)},prevUntil:function(y,T,M){return L(y,"previousSibling",M)},siblings:function(y){return j((y.parentNode||{}).firstChild,y)},children:function(y){return j(y.firstChild)},contents:function(y){return y.contentDocument!=null&&i(y.contentDocument)?y.contentDocument:(D(y,"template")&&(y=y.content||y),m.merge([],y.childNodes))}},function(y,T){m.fn[y]=function(M,K){var ie=m.map(this,T,M);return y.slice(-5)!=="Until"&&(K=M),K&&typeof K=="string"&&(ie=m.filter(K,ie)),this.length>1&&(P[y]||m.uniqueSort(ie),I.test(y)&&ie.reverse()),this.pushStack(ie)}});var N=/[^\x20\t\r\n\f]+/g;function B(y){var T={};return m.each(y.match(N)||[],function(M,K){T[K]=!0}),T}m.Callbacks=function(y){y=typeof y=="string"?B(y):m.extend({},y);var T,M,K,ie,le=[],he=[],Fe=-1,De=function(){for(ie=ie||y.once,K=T=!0;he.length;Fe=-1)for(M=he.shift();++Fe<le.length;)le[Fe].apply(M[0],M[1])===!1&&y.stopOnFalse&&(Fe=le.length,M=!1);y.memory||(M=!1),T=!1,ie&&(M?le=[]:le="")},Ke={add:function(){return le&&(M&&!T&&(Fe=le.length-1,he.push(M)),(function Et(Rt){m.each(Rt,function(ft,Ft){E(Ft)?(!y.unique||!Ke.has(Ft))&&le.push(Ft):Ft&&Ft.length&&A(Ft)!=="string"&&Et(Ft)})})(arguments),M&&!T&&De()),this},remove:function(){return m.each(arguments,function(Et,Rt){for(var ft;(ft=m.inArray(Rt,le,ft))>-1;)le.splice(ft,1),ft<=Fe&&Fe--}),this},has:function(Et){return Et?m.inArray(Et,le)>-1:le.length>0},empty:function(){return le&&(le=[]),this},disable:function(){return ie=he=[],le=M="",this},disabled:function(){return!le},lock:function(){return ie=he=[],!M&&!T&&(le=M=""),this},locked:function(){return!!ie},fireWith:function(Et,Rt){return ie||(Rt=Rt||[],Rt=[Et,Rt.slice?Rt.slice():Rt],he.push(Rt),T||De()),this},fire:function(){return Ke.fireWith(this,arguments),this},fired:function(){return!!K}};return Ke};function re(y){return y}function ce(y){throw y}function we(y,T,M,K){var ie;try{y&&E(ie=y.promise)?ie.call(y).done(T).fail(M):y&&E(ie=y.then)?ie.call(y,T,M):T.apply(void 0,[y].slice(K))}catch(le){M.apply(void 0,[le])}}m.extend({Deferred:function(y){var T=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],M="pending",K={state:function(){return M},always:function(){return ie.done(arguments).fail(arguments),this},catch:function(le){return K.then(null,le)},pipe:function(){var le=arguments;return m.Deferred(function(he){m.each(T,function(Fe,De){var Ke=E(le[De[4]])&&le[De[4]];ie[De[1]](function(){var Et=Ke&&Ke.apply(this,arguments);Et&&E(Et.promise)?Et.promise().progress(he.notify).done(he.resolve).fail(he.reject):he[De[0]+"With"](this,Ke?[Et]:arguments)})}),le=null}).promise()},then:function(le,he,Fe){var De=0;function Ke(Et,Rt,ft,Ft){return function(){var Rr=this,en=arguments,qr=function(){var li,W;if(!(Et<De)){if(li=ft.apply(Rr,en),li===Rt.promise())throw new TypeError("Thenable self-resolution");W=li&&(typeof li=="object"||typeof li=="function")&&li.then,E(W)?Ft?W.call(li,Ke(De,Rt,re,Ft),Ke(De,Rt,ce,Ft)):(De++,W.call(li,Ke(De,Rt,re,Ft),Ke(De,Rt,ce,Ft),Ke(De,Rt,re,Rt.notifyWith))):(ft!==re&&(Rr=void 0,en=[li]),(Ft||Rt.resolveWith)(Rr,en))}},Yn=Ft?qr:function(){try{qr()}catch(li){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(li,Yn.error),Et+1>=De&&(ft!==ce&&(Rr=void 0,en=[li]),Rt.rejectWith(Rr,en))}};Et?Yn():(m.Deferred.getErrorHook?Yn.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(Yn.error=m.Deferred.getStackHook()),t.setTimeout(Yn))}}return m.Deferred(function(Et){T[0][3].add(Ke(0,Et,E(Fe)?Fe:re,Et.notifyWith)),T[1][3].add(Ke(0,Et,E(le)?le:re)),T[2][3].add(Ke(0,Et,E(he)?he:ce))}).promise()},promise:function(le){return le!=null?m.extend(le,K):K}},ie={};return m.each(T,function(le,he){var Fe=he[2],De=he[5];K[he[1]]=Fe.add,De&&Fe.add(function(){M=De},T[3-le][2].disable,T[3-le][3].disable,T[0][2].lock,T[0][3].lock),Fe.add(he[3].fire),ie[he[0]]=function(){return ie[he[0]+"With"](this===ie?void 0:this,arguments),this},ie[he[0]+"With"]=Fe.fireWith}),K.promise(ie),y&&y.call(ie,ie),ie},when:function(y){var T=arguments.length,M=T,K=Array(M),ie=o.call(arguments),le=m.Deferred(),he=function(Fe){return function(De){K[Fe]=this,ie[Fe]=arguments.length>1?o.call(arguments):De,--T||le.resolveWith(K,ie)}};if(T<=1&&(we(y,le.done(he(M)).resolve,le.reject,!T),le.state()==="pending"||E(ie[M]&&ie[M].then)))return le.then();for(;M--;)we(ie[M],he(M),le.reject);return le.promise()}});var _e=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(y,T){t.console&&t.console.warn&&y&&_e.test(y.name)&&t.console.warn("jQuery.Deferred exception: "+y.message,y.stack,T)},m.readyException=function(y){t.setTimeout(function(){throw y})};var Oe=m.Deferred();m.fn.ready=function(y){return Oe.then(y).catch(function(T){m.readyException(T)}),this},m.extend({isReady:!1,readyWait:1,ready:function(y){(y===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(y!==!0&&--m.readyWait>0)&&Oe.resolveWith(w,[m]))}}),m.ready.then=Oe.then;function Te(){w.removeEventListener("DOMContentLoaded",Te),t.removeEventListener("load",Te),m.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(m.ready):(w.addEventListener("DOMContentLoaded",Te),t.addEventListener("load",Te));var Ie=function(y,T,M,K,ie,le,he){var Fe=0,De=y.length,Ke=M==null;if(A(M)==="object"){ie=!0;for(Fe in M)Ie(y,T,Fe,M[Fe],!0,le,he)}else if(K!==void 0&&(ie=!0,E(K)||(he=!0),Ke&&(he?(T.call(y,K),T=null):(Ke=T,T=function(Et,Rt,ft){return Ke.call(m(Et),ft)})),T))for(;Fe<De;Fe++)T(y[Fe],M,he?K:K.call(y[Fe],Fe,T(y[Fe],M)));return ie?y:Ke?T.call(y):De?T(y[0],M):le},$e=/^-ms-/,ge=/-([a-z])/g;function be(y,T){return T.toUpperCase()}function Ce(y){return y.replace($e,"ms-").replace(ge,be)}var Le=function(y){return y.nodeType===1||y.nodeType===9||!+y.nodeType};function Ve(){this.expando=m.expando+Ve.uid++}Ve.uid=1,Ve.prototype={cache:function(y){var T=y[this.expando];return T||(T={},Le(y)&&(y.nodeType?y[this.expando]=T:Object.defineProperty(y,this.expando,{value:T,configurable:!0}))),T},set:function(y,T,M){var K,ie=this.cache(y);if(typeof T=="string")ie[Ce(T)]=M;else for(K in T)ie[Ce(K)]=T[K];return ie},get:function(y,T){return T===void 0?this.cache(y):y[this.expando]&&y[this.expando][Ce(T)]},access:function(y,T,M){return T===void 0||T&&typeof T=="string"&&M===void 0?this.get(y,T):(this.set(y,T,M),M!==void 0?M:T)},remove:function(y,T){var M,K=y[this.expando];if(K!==void 0){if(T!==void 0)for(Array.isArray(T)?T=T.map(Ce):(T=Ce(T),T=T in K?[T]:T.match(N)||[]),M=T.length;M--;)delete K[T[M]];(T===void 0||m.isEmptyObject(K))&&(y.nodeType?y[this.expando]=void 0:delete y[this.expando])}},hasData:function(y){var T=y[this.expando];return T!==void 0&&!m.isEmptyObject(T)}};var qe=new Ve,Ge=new Ve,ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jt=/[A-Z]/g;function zt(y){return y==="true"?!0:y==="false"?!1:y==="null"?null:y===+y+""?+y:ct.test(y)?JSON.parse(y):y}function Ze(y,T,M){var K;if(M===void 0&&y.nodeType===1)if(K="data-"+T.replace(jt,"-$&").toLowerCase(),M=y.getAttribute(K),typeof M=="string"){try{M=zt(M)}catch{}Ge.set(y,T,M)}else M=void 0;return M}m.extend({hasData:function(y){return Ge.hasData(y)||qe.hasData(y)},data:function(y,T,M){return Ge.access(y,T,M)},removeData:function(y,T){Ge.remove(y,T)},_data:function(y,T,M){return qe.access(y,T,M)},_removeData:function(y,T){qe.remove(y,T)}}),m.fn.extend({data:function(y,T){var M,K,ie,le=this[0],he=le&&le.attributes;if(y===void 0){if(this.length&&(ie=Ge.get(le),le.nodeType===1&&!qe.get(le,"hasDataAttrs"))){for(M=he.length;M--;)he[M]&&(K=he[M].name,K.indexOf("data-")===0&&(K=Ce(K.slice(5)),Ze(le,K,ie[K])));qe.set(le,"hasDataAttrs",!0)}return ie}return typeof y=="object"?this.each(function(){Ge.set(this,y)}):Ie(this,function(Fe){var De;if(le&&Fe===void 0)return De=Ge.get(le,y),De!==void 0||(De=Ze(le,y),De!==void 0)?De:void 0;this.each(function(){Ge.set(this,y,Fe)})},null,T,arguments.length>1,null,!0)},removeData:function(y){return this.each(function(){Ge.remove(this,y)})}}),m.extend({queue:function(y,T,M){var K;if(y)return T=(T||"fx")+"queue",K=qe.get(y,T),M&&(!K||Array.isArray(M)?K=qe.access(y,T,m.makeArray(M)):K.push(M)),K||[]},dequeue:function(y,T){T=T||"fx";var M=m.queue(y,T),K=M.length,ie=M.shift(),le=m._queueHooks(y,T),he=function(){m.dequeue(y,T)};ie==="inprogress"&&(ie=M.shift(),K--),ie&&(T==="fx"&&M.unshift("inprogress"),delete le.stop,ie.call(y,he,le)),!K&&le&&le.empty.fire()},_queueHooks:function(y,T){var M=T+"queueHooks";return qe.get(y,M)||qe.access(y,M,{empty:m.Callbacks("once memory").add(function(){qe.remove(y,[T+"queue",M])})})}}),m.fn.extend({queue:function(y,T){var M=2;return typeof y!="string"&&(T=y,y="fx",M--),arguments.length<M?m.queue(this[0],y):T===void 0?this:this.each(function(){var K=m.queue(this,y,T);m._queueHooks(this,y),y==="fx"&&K[0]!=="inprogress"&&m.dequeue(this,y)})},dequeue:function(y){return this.each(function(){m.dequeue(this,y)})},clearQueue:function(y){return this.queue(y||"fx",[])},promise:function(y,T){var M,K=1,ie=m.Deferred(),le=this,he=this.length,Fe=function(){--K||ie.resolveWith(le,[le])};for(typeof y!="string"&&(T=y,y=void 0),y=y||"fx";he--;)M=qe.get(le[he],y+"queueHooks"),M&&M.empty&&(K++,M.empty.add(Fe));return Fe(),ie.promise(T)}});var Tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_t=new RegExp("^(?:([+-])=|)("+Tt+")([a-z%]*)$","i"),st=["Top","Right","Bottom","Left"],rt=w.documentElement,dt=function(y){return m.contains(y.ownerDocument,y)},Gt={composed:!0};rt.getRootNode&&(dt=function(y){return m.contains(y.ownerDocument,y)||y.getRootNode(Gt)===y.ownerDocument});var Mt=function(y,T){return y=T||y,y.style.display==="none"||y.style.display===""&&dt(y)&&m.css(y,"display")==="none"};function Re(y,T,M,K){var ie,le,he=20,Fe=K?function(){return K.cur()}:function(){return m.css(y,T,"")},De=Fe(),Ke=M&&M[3]||(m.cssNumber[T]?"":"px"),Et=y.nodeType&&(m.cssNumber[T]||Ke!=="px"&&+De)&&_t.exec(m.css(y,T));if(Et&&Et[3]!==Ke){for(De=De/2,Ke=Ke||Et[3],Et=+De||1;he--;)m.style(y,T,Et+Ke),(1-le)*(1-(le=Fe()/De||.5))<=0&&(he=0),Et=Et/le;Et=Et*2,m.style(y,T,Et+Ke),M=M||[]}return M&&(Et=+Et||+De||0,ie=M[1]?Et+(M[1]+1)*M[2]:+M[2],K&&(K.unit=Ke,K.start=Et,K.end=ie)),ie}var Je={};function ut(y){var T,M=y.ownerDocument,K=y.nodeName,ie=Je[K];return ie||(T=M.body.appendChild(M.createElement(K)),ie=m.css(T,"display"),T.parentNode.removeChild(T),ie==="none"&&(ie="block"),Je[K]=ie,ie)}function wt(y,T){for(var M,K,ie=[],le=0,he=y.length;le<he;le++)K=y[le],K.style&&(M=K.style.display,T?(M==="none"&&(ie[le]=qe.get(K,"display")||null,ie[le]||(K.style.display="")),K.style.display===""&&Mt(K)&&(ie[le]=ut(K))):M!=="none"&&(ie[le]="none",qe.set(K,"display",M)));for(le=0;le<he;le++)ie[le]!=null&&(y[le].style.display=ie[le]);return y}m.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(y){return typeof y=="boolean"?y?this.show():this.hide():this.each(function(){Mt(this)?m(this).show():m(this).hide()})}});var Nt=/^(?:checkbox|radio)$/i,nr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var y=w.createDocumentFragment(),T=y.appendChild(w.createElement("div")),M=w.createElement("input");M.setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),T.appendChild(M),S.checkClone=T.cloneNode(!0).cloneNode(!0).lastChild.checked,T.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!T.cloneNode(!0).lastChild.defaultValue,T.innerHTML="<option></option>",S.option=!!T.lastChild})();var ir={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ir.tbody=ir.tfoot=ir.colgroup=ir.caption=ir.thead,ir.th=ir.td,S.option||(ir.optgroup=ir.option=[1,"<select multiple='multiple'>","</select>"]);function wr(y,T){var M;return typeof y.getElementsByTagName<"u"?M=y.getElementsByTagName(T||"*"):typeof y.querySelectorAll<"u"?M=y.querySelectorAll(T||"*"):M=[],T===void 0||T&&D(y,T)?m.merge([y],M):M}function Ur(y,T){for(var M=0,K=y.length;M<K;M++)qe.set(y[M],"globalEval",!T||qe.get(T[M],"globalEval"))}var Wr=/<|&#?\w+;/;function Un(y,T,M,K,ie){for(var le,he,Fe,De,Ke,Et,Rt=T.createDocumentFragment(),ft=[],Ft=0,Rr=y.length;Ft<Rr;Ft++)if(le=y[Ft],le||le===0)if(A(le)==="object")m.merge(ft,le.nodeType?[le]:le);else if(!Wr.test(le))ft.push(T.createTextNode(le));else{for(he=he||Rt.appendChild(T.createElement("div")),Fe=(nr.exec(le)||["",""])[1].toLowerCase(),De=ir[Fe]||ir._default,he.innerHTML=De[1]+m.htmlPrefilter(le)+De[2],Et=De[0];Et--;)he=he.lastChild;m.merge(ft,he.childNodes),he=Rt.firstChild,he.textContent=""}for(Rt.textContent="",Ft=0;le=ft[Ft++];){if(K&&m.inArray(le,K)>-1){ie&&ie.push(le);continue}if(Ke=dt(le),he=wr(Rt.appendChild(le),"script"),Ke&&Ur(he),M)for(Et=0;le=he[Et++];)yr.test(le.type||"")&&M.push(le)}return Rt}var qn=/^([^.]*)(?:\.(.+)|)/;function Kn(){return!0}function En(){return!1}function ti(y,T,M,K,ie,le){var he,Fe;if(typeof T=="object"){typeof M!="string"&&(K=K||M,M=void 0);for(Fe in T)ti(y,Fe,M,K,T[Fe],le);return y}if(K==null&&ie==null?(ie=M,K=M=void 0):ie==null&&(typeof M=="string"?(ie=K,K=void 0):(ie=K,K=M,M=void 0)),ie===!1)ie=En;else if(!ie)return y;return le===1&&(he=ie,ie=function(De){return m().off(De),he.apply(this,arguments)},ie.guid=he.guid||(he.guid=m.guid++)),y.each(function(){m.event.add(this,T,ie,K,M)})}m.event={global:{},add:function(y,T,M,K,ie){var le,he,Fe,De,Ke,Et,Rt,ft,Ft,Rr,en,qr=qe.get(y);if(Le(y))for(M.handler&&(le=M,M=le.handler,ie=le.selector),ie&&m.find.matchesSelector(rt,ie),M.guid||(M.guid=m.guid++),(De=qr.events)||(De=qr.events=Object.create(null)),(he=qr.handle)||(he=qr.handle=function(Yn){return typeof m<"u"&&m.event.triggered!==Yn.type?m.event.dispatch.apply(y,arguments):void 0}),T=(T||"").match(N)||[""],Ke=T.length;Ke--;)Fe=qn.exec(T[Ke])||[],Ft=en=Fe[1],Rr=(Fe[2]||"").split(".").sort(),Ft&&(Rt=m.event.special[Ft]||{},Ft=(ie?Rt.delegateType:Rt.bindType)||Ft,Rt=m.event.special[Ft]||{},Et=m.extend({type:Ft,origType:en,data:K,handler:M,guid:M.guid,selector:ie,needsContext:ie&&m.expr.match.needsContext.test(ie),namespace:Rr.join(".")},le),(ft=De[Ft])||(ft=De[Ft]=[],ft.delegateCount=0,(!Rt.setup||Rt.setup.call(y,K,Rr,he)===!1)&&y.addEventListener&&y.addEventListener(Ft,he)),Rt.add&&(Rt.add.call(y,Et),Et.handler.guid||(Et.handler.guid=M.guid)),ie?ft.splice(ft.delegateCount++,0,Et):ft.push(Et),m.event.global[Ft]=!0)},remove:function(y,T,M,K,ie){var le,he,Fe,De,Ke,Et,Rt,ft,Ft,Rr,en,qr=qe.hasData(y)&&qe.get(y);if(!(!qr||!(De=qr.events))){for(T=(T||"").match(N)||[""],Ke=T.length;Ke--;){if(Fe=qn.exec(T[Ke])||[],Ft=en=Fe[1],Rr=(Fe[2]||"").split(".").sort(),!Ft){for(Ft in De)m.event.remove(y,Ft+T[Ke],M,K,!0);continue}for(Rt=m.event.special[Ft]||{},Ft=(K?Rt.delegateType:Rt.bindType)||Ft,ft=De[Ft]||[],Fe=Fe[2]&&new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"),he=le=ft.length;le--;)Et=ft[le],(ie||en===Et.origType)&&(!M||M.guid===Et.guid)&&(!Fe||Fe.test(Et.namespace))&&(!K||K===Et.selector||K==="**"&&Et.selector)&&(ft.splice(le,1),Et.selector&&ft.delegateCount--,Rt.remove&&Rt.remove.call(y,Et));he&&!ft.length&&((!Rt.teardown||Rt.teardown.call(y,Rr,qr.handle)===!1)&&m.removeEvent(y,Ft,qr.handle),delete De[Ft])}m.isEmptyObject(De)&&qe.remove(y,"handle events")}},dispatch:function(y){var T,M,K,ie,le,he,Fe=new Array(arguments.length),De=m.event.fix(y),Ke=(qe.get(this,"events")||Object.create(null))[De.type]||[],Et=m.event.special[De.type]||{};for(Fe[0]=De,T=1;T<arguments.length;T++)Fe[T]=arguments[T];if(De.delegateTarget=this,!(Et.preDispatch&&Et.preDispatch.call(this,De)===!1)){for(he=m.event.handlers.call(this,De,Ke),T=0;(ie=he[T++])&&!De.isPropagationStopped();)for(De.currentTarget=ie.elem,M=0;(le=ie.handlers[M++])&&!De.isImmediatePropagationStopped();)(!De.rnamespace||le.namespace===!1||De.rnamespace.test(le.namespace))&&(De.handleObj=le,De.data=le.data,K=((m.event.special[le.origType]||{}).handle||le.handler).apply(ie.elem,Fe),K!==void 0&&(De.result=K)===!1&&(De.preventDefault(),De.stopPropagation()));return Et.postDispatch&&Et.postDispatch.call(this,De),De.result}},handlers:function(y,T){var M,K,ie,le,he,Fe=[],De=T.delegateCount,Ke=y.target;if(De&&Ke.nodeType&&!(y.type==="click"&&y.button>=1)){for(;Ke!==this;Ke=Ke.parentNode||this)if(Ke.nodeType===1&&!(y.type==="click"&&Ke.disabled===!0)){for(le=[],he={},M=0;M<De;M++)K=T[M],ie=K.selector+" ",he[ie]===void 0&&(he[ie]=K.needsContext?m(ie,this).index(Ke)>-1:m.find(ie,this,null,[Ke]).length),he[ie]&&le.push(K);le.length&&Fe.push({elem:Ke,handlers:le})}}return Ke=this,De<T.length&&Fe.push({elem:Ke,handlers:T.slice(De)}),Fe},addProp:function(y,T){Object.defineProperty(m.Event.prototype,y,{enumerable:!0,configurable:!0,get:E(T)?function(){if(this.originalEvent)return T(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[y]},set:function(M){Object.defineProperty(this,y,{enumerable:!0,configurable:!0,writable:!0,value:M})}})},fix:function(y){return y[m.expando]?y:new m.Event(y)},special:{load:{noBubble:!0},click:{setup:function(y){var T=this||y;return Nt.test(T.type)&&T.click&&D(T,"input")&&si(T,"click",!0),!1},trigger:function(y){var T=this||y;return Nt.test(T.type)&&T.click&&D(T,"input")&&si(T,"click"),!0},_default:function(y){var T=y.target;return Nt.test(T.type)&&T.click&&D(T,"input")&&qe.get(T,"click")||D(T,"a")}},beforeunload:{postDispatch:function(y){y.result!==void 0&&y.originalEvent&&(y.originalEvent.returnValue=y.result)}}}};function si(y,T,M){if(!M){qe.get(y,T)===void 0&&m.event.add(y,T,Kn);return}qe.set(y,T,!1),m.event.add(y,T,{namespace:!1,handler:function(K){var ie,le=qe.get(this,T);if(K.isTrigger&1&&this[T]){if(le)(m.event.special[T]||{}).delegateType&&K.stopPropagation();else if(le=o.call(arguments),qe.set(this,T,le),this[T](),ie=qe.get(this,T),qe.set(this,T,!1),le!==ie)return K.stopImmediatePropagation(),K.preventDefault(),ie}else le&&(qe.set(this,T,m.event.trigger(le[0],le.slice(1),this)),K.stopPropagation(),K.isImmediatePropagationStopped=Kn)}})}m.removeEvent=function(y,T,M){y.removeEventListener&&y.removeEventListener(T,M)},m.Event=function(y,T){if(!(this instanceof m.Event))return new m.Event(y,T);y&&y.type?(this.originalEvent=y,this.type=y.type,this.isDefaultPrevented=y.defaultPrevented||y.defaultPrevented===void 0&&y.returnValue===!1?Kn:En,this.target=y.target&&y.target.nodeType===3?y.target.parentNode:y.target,this.currentTarget=y.currentTarget,this.relatedTarget=y.relatedTarget):this.type=y,T&&m.extend(this,T),this.timeStamp=y&&y.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:En,isPropagationStopped:En,isImmediatePropagationStopped:En,isSimulated:!1,preventDefault:function(){var y=this.originalEvent;this.isDefaultPrevented=Kn,y&&!this.isSimulated&&y.preventDefault()},stopPropagation:function(){var y=this.originalEvent;this.isPropagationStopped=Kn,y&&!this.isSimulated&&y.stopPropagation()},stopImmediatePropagation:function(){var y=this.originalEvent;this.isImmediatePropagationStopped=Kn,y&&!this.isSimulated&&y.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(y,T){function M(K){if(w.documentMode){var ie=qe.get(this,"handle"),le=m.event.fix(K);le.type=K.type==="focusin"?"focus":"blur",le.isSimulated=!0,ie(K),le.target===le.currentTarget&&ie(le)}else m.event.simulate(T,K.target,m.event.fix(K))}m.event.special[y]={setup:function(){var K;if(si(this,y,!0),w.documentMode)K=qe.get(this,T),K||this.addEventListener(T,M),qe.set(this,T,(K||0)+1);else return!1},trigger:function(){return si(this,y),!0},teardown:function(){var K;if(w.documentMode)K=qe.get(this,T)-1,K?qe.set(this,T,K):(this.removeEventListener(T,M),qe.remove(this,T));else return!1},_default:function(K){return qe.get(K.target,y)},delegateType:T},m.event.special[T]={setup:function(){var K=this.ownerDocument||this.document||this,ie=w.documentMode?this:K,le=qe.get(ie,T);le||(w.documentMode?this.addEventListener(T,M):K.addEventListener(y,M,!0)),qe.set(ie,T,(le||0)+1)},teardown:function(){var K=this.ownerDocument||this.document||this,ie=w.documentMode?this:K,le=qe.get(ie,T)-1;le?qe.set(ie,T,le):(w.documentMode?this.removeEventListener(T,M):K.removeEventListener(y,M,!0),qe.remove(ie,T))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(y,T){m.event.special[y]={delegateType:T,bindType:T,handle:function(M){var K,ie=this,le=M.relatedTarget,he=M.handleObj;return(!le||le!==ie&&!m.contains(ie,le))&&(M.type=he.origType,K=he.handler.apply(this,arguments),M.type=T),K}}}),m.fn.extend({on:function(y,T,M,K){return ti(this,y,T,M,K)},one:function(y,T,M,K){return ti(this,y,T,M,K,1)},off:function(y,T,M){var K,ie;if(y&&y.preventDefault&&y.handleObj)return K=y.handleObj,m(y.delegateTarget).off(K.namespace?K.origType+"."+K.namespace:K.origType,K.selector,K.handler),this;if(typeof y=="object"){for(ie in y)this.off(ie,T,y[ie]);return this}return(T===!1||typeof T=="function")&&(M=T,T=void 0),M===!1&&(M=En),this.each(function(){m.event.remove(this,y,M,T)})}});var Si=/<script|<style|<link/i,di=/checked\s*(?:[^=]|=\s*.checked.)/i,$i=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function qi(y,T){return D(y,"table")&&D(T.nodeType!==11?T:T.firstChild,"tr")&&m(y).children("tbody")[0]||y}function xn(y){return y.type=(y.getAttribute("type")!==null)+"/"+y.type,y}function ri(y){return(y.type||"").slice(0,5)==="true/"?y.type=y.type.slice(5):y.removeAttribute("type"),y}function xi(y,T){var M,K,ie,le,he,Fe,De;if(T.nodeType===1){if(qe.hasData(y)&&(le=qe.get(y),De=le.events,De)){qe.remove(T,"handle events");for(ie in De)for(M=0,K=De[ie].length;M<K;M++)m.event.add(T,ie,De[ie][M])}Ge.hasData(y)&&(he=Ge.access(y),Fe=m.extend({},he),Ge.set(T,Fe))}}function Ei(y,T){var M=T.nodeName.toLowerCase();M==="input"&&Nt.test(y.type)?T.checked=y.checked:(M==="input"||M==="textarea")&&(T.defaultValue=y.defaultValue)}function ot(y,T,M,K){T=a(T);var ie,le,he,Fe,De,Ke,Et=0,Rt=y.length,ft=Rt-1,Ft=T[0],Rr=E(Ft);if(Rr||Rt>1&&typeof Ft=="string"&&!S.checkClone&&di.test(Ft))return y.each(function(en){var qr=y.eq(en);Rr&&(T[0]=Ft.call(this,en,qr.html())),ot(qr,T,M,K)});if(Rt&&(ie=Un(T,y[0].ownerDocument,!1,y,K),le=ie.firstChild,ie.childNodes.length===1&&(ie=le),le||K)){for(he=m.map(wr(ie,"script"),xn),Fe=he.length;Et<Rt;Et++)De=ie,Et!==ft&&(De=m.clone(De,!0,!0),Fe&&m.merge(he,wr(De,"script"))),M.call(y[Et],De,Et);if(Fe)for(Ke=he[he.length-1].ownerDocument,m.map(he,ri),Et=0;Et<Fe;Et++)De=he[Et],yr.test(De.type||"")&&!qe.access(De,"globalEval")&&m.contains(Ke,De)&&(De.src&&(De.type||"").toLowerCase()!=="module"?m._evalUrl&&!De.noModule&&m._evalUrl(De.src,{nonce:De.nonce||De.getAttribute("nonce")},Ke):x(De.textContent.replace($i,""),De,Ke))}return y}function Dt(y,T,M){for(var K,ie=T?m.filter(T,y):y,le=0;(K=ie[le])!=null;le++)!M&&K.nodeType===1&&m.cleanData(wr(K)),K.parentNode&&(M&&dt(K)&&Ur(wr(K,"script")),K.parentNode.removeChild(K));return y}m.extend({htmlPrefilter:function(y){return y},clone:function(y,T,M){var K,ie,le,he,Fe=y.cloneNode(!0),De=dt(y);if(!S.noCloneChecked&&(y.nodeType===1||y.nodeType===11)&&!m.isXMLDoc(y))for(he=wr(Fe),le=wr(y),K=0,ie=le.length;K<ie;K++)Ei(le[K],he[K]);if(T)if(M)for(le=le||wr(y),he=he||wr(Fe),K=0,ie=le.length;K<ie;K++)xi(le[K],he[K]);else xi(y,Fe);return he=wr(Fe,"script"),he.length>0&&Ur(he,!De&&wr(y,"script")),Fe},cleanData:function(y){for(var T,M,K,ie=m.event.special,le=0;(M=y[le])!==void 0;le++)if(Le(M)){if(T=M[qe.expando]){if(T.events)for(K in T.events)ie[K]?m.event.remove(M,K):m.removeEvent(M,K,T.handle);M[qe.expando]=void 0}M[Ge.expando]&&(M[Ge.expando]=void 0)}}}),m.fn.extend({detach:function(y){return Dt(this,y,!0)},remove:function(y){return Dt(this,y)},text:function(y){return Ie(this,function(T){return T===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=T)})},null,y,arguments.length)},append:function(){return ot(this,arguments,function(y){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var T=qi(this,y);T.appendChild(y)}})},prepend:function(){return ot(this,arguments,function(y){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var T=qi(this,y);T.insertBefore(y,T.firstChild)}})},before:function(){return ot(this,arguments,function(y){this.parentNode&&this.parentNode.insertBefore(y,this)})},after:function(){return ot(this,arguments,function(y){this.parentNode&&this.parentNode.insertBefore(y,this.nextSibling)})},empty:function(){for(var y,T=0;(y=this[T])!=null;T++)y.nodeType===1&&(m.cleanData(wr(y,!1)),y.textContent="");return this},clone:function(y,T){return y=y??!1,T=T??y,this.map(function(){return m.clone(this,y,T)})},html:function(y){return Ie(this,function(T){var M=this[0]||{},K=0,ie=this.length;if(T===void 0&&M.nodeType===1)return M.innerHTML;if(typeof T=="string"&&!Si.test(T)&&!ir[(nr.exec(T)||["",""])[1].toLowerCase()]){T=m.htmlPrefilter(T);try{for(;K<ie;K++)M=this[K]||{},M.nodeType===1&&(m.cleanData(wr(M,!1)),M.innerHTML=T);M=0}catch{}}M&&this.empty().append(T)},null,y,arguments.length)},replaceWith:function(){var y=[];return ot(this,arguments,function(T){var M=this.parentNode;m.inArray(this,y)<0&&(m.cleanData(wr(this)),M&&M.replaceChild(T,this))},y)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(y,T){m.fn[y]=function(M){for(var K,ie=[],le=m(M),he=le.length-1,Fe=0;Fe<=he;Fe++)K=Fe===he?this:this.clone(!0),m(le[Fe])[T](K),s.apply(ie,K.get());return this.pushStack(ie)}});var gt=new RegExp("^("+Tt+")(?!px)[a-z%]+$","i"),et=/^--/,fe=function(y){var T=y.ownerDocument.defaultView;return(!T||!T.opener)&&(T=t),T.getComputedStyle(y)},nt=function(y,T,M){var K,ie,le={};for(ie in T)le[ie]=y.style[ie],y.style[ie]=T[ie];K=M.call(y);for(ie in T)y.style[ie]=le[ie];return K},ze=new RegExp(st.join("|"),"i");(function(){function y(){if(Ke){De.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ke.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(De).appendChild(Ke);var Et=t.getComputedStyle(Ke);M=Et.top!=="1%",Fe=T(Et.marginLeft)===12,Ke.style.right="60%",le=T(Et.right)===36,K=T(Et.width)===36,Ke.style.position="absolute",ie=T(Ke.offsetWidth/3)===12,rt.removeChild(De),Ke=null}}function T(Et){return Math.round(parseFloat(Et))}var M,K,ie,le,he,Fe,De=w.createElement("div"),Ke=w.createElement("div");Ke.style&&(Ke.style.backgroundClip="content-box",Ke.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=Ke.style.backgroundClip==="content-box",m.extend(S,{boxSizingReliable:function(){return y(),K},pixelBoxStyles:function(){return y(),le},pixelPosition:function(){return y(),M},reliableMarginLeft:function(){return y(),Fe},scrollboxSize:function(){return y(),ie},reliableTrDimensions:function(){var Et,Rt,ft,Ft;return he==null&&(Et=w.createElement("table"),Rt=w.createElement("tr"),ft=w.createElement("div"),Et.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Rt.style.cssText="box-sizing:content-box;border:1px solid",Rt.style.height="1px",ft.style.height="9px",ft.style.display="block",rt.appendChild(Et).appendChild(Rt).appendChild(ft),Ft=t.getComputedStyle(Rt),he=parseInt(Ft.height,10)+parseInt(Ft.borderTopWidth,10)+parseInt(Ft.borderBottomWidth,10)===Rt.offsetHeight,rt.removeChild(Et)),he}}))})();function Ct(y,T,M){var K,ie,le,he,Fe=et.test(T),De=y.style;return M=M||fe(y),M&&(he=M.getPropertyValue(T)||M[T],Fe&&he&&(he=he.replace(X,"$1")||void 0),he===""&&!dt(y)&&(he=m.style(y,T)),!S.pixelBoxStyles()&>.test(he)&&ze.test(T)&&(K=De.width,ie=De.minWidth,le=De.maxWidth,De.minWidth=De.maxWidth=De.width=he,he=M.width,De.width=K,De.minWidth=ie,De.maxWidth=le)),he!==void 0?he+"":he}function yt(y,T){return{get:function(){if(y()){delete this.get;return}return(this.get=T).apply(this,arguments)}}}var Bt=["Webkit","Moz","ms"],Yt=w.createElement("div").style,bt={};function Ar(y){for(var T=y[0].toUpperCase()+y.slice(1),M=Bt.length;M--;)if(y=Bt[M]+T,y in Yt)return y}function Xr(y){var T=m.cssProps[y]||bt[y];return T||(y in Yt?y:bt[y]=Ar(y)||y)}var wn=/^(none|table(?!-c[ea]).+)/,Lt={position:"absolute",visibility:"hidden",display:"block"},Qr={letterSpacing:"0",fontWeight:"400"};function Vn(y,T,M){var K=_t.exec(T);return K?Math.max(0,K[2]-(M||0))+(K[3]||"px"):T}function Pn(y,T,M,K,ie,le){var he=T==="width"?1:0,Fe=0,De=0,Ke=0;if(M===(K?"border":"content"))return 0;for(;he<4;he+=2)M==="margin"&&(Ke+=m.css(y,M+st[he],!0,ie)),K?(M==="content"&&(De-=m.css(y,"padding"+st[he],!0,ie)),M!=="margin"&&(De-=m.css(y,"border"+st[he]+"Width",!0,ie))):(De+=m.css(y,"padding"+st[he],!0,ie),M!=="padding"?De+=m.css(y,"border"+st[he]+"Width",!0,ie):Fe+=m.css(y,"border"+st[he]+"Width",!0,ie));return!K&&le>=0&&(De+=Math.max(0,Math.ceil(y["offset"+T[0].toUpperCase()+T.slice(1)]-le-De-Fe-.5))||0),De+Ke}function oo(y,T,M){var K=fe(y),ie=!S.boxSizingReliable()||M,le=ie&&m.css(y,"boxSizing",!1,K)==="border-box",he=le,Fe=Ct(y,T,K),De="offset"+T[0].toUpperCase()+T.slice(1);if(gt.test(Fe)){if(!M)return Fe;Fe="auto"}return(!S.boxSizingReliable()&&le||!S.reliableTrDimensions()&&D(y,"tr")||Fe==="auto"||!parseFloat(Fe)&&m.css(y,"display",!1,K)==="inline")&&y.getClientRects().length&&(le=m.css(y,"boxSizing",!1,K)==="border-box",he=De in y,he&&(Fe=y[De])),Fe=parseFloat(Fe)||0,Fe+Pn(y,T,M||(le?"border":"content"),he,K,Fe)+"px"}m.extend({cssHooks:{opacity:{get:function(y,T){if(T){var M=Ct(y,"opacity");return M===""?"1":M}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(y,T,M,K){if(!(!y||y.nodeType===3||y.nodeType===8||!y.style)){var ie,le,he,Fe=Ce(T),De=et.test(T),Ke=y.style;if(De||(T=Xr(Fe)),he=m.cssHooks[T]||m.cssHooks[Fe],M!==void 0){if(le=typeof M,le==="string"&&(ie=_t.exec(M))&&ie[1]&&(M=Re(y,T,ie),le="number"),M==null||M!==M)return;le==="number"&&!De&&(M+=ie&&ie[3]||(m.cssNumber[Fe]?"":"px")),!S.clearCloneStyle&&M===""&&T.indexOf("background")===0&&(Ke[T]="inherit"),(!he||!("set"in he)||(M=he.set(y,M,K))!==void 0)&&(De?Ke.setProperty(T,M):Ke[T]=M)}else return he&&"get"in he&&(ie=he.get(y,!1,K))!==void 0?ie:Ke[T]}},css:function(y,T,M,K){var ie,le,he,Fe=Ce(T),De=et.test(T);return De||(T=Xr(Fe)),he=m.cssHooks[T]||m.cssHooks[Fe],he&&"get"in he&&(ie=he.get(y,!0,M)),ie===void 0&&(ie=Ct(y,T,K)),ie==="normal"&&T in Qr&&(ie=Qr[T]),M===""||M?(le=parseFloat(ie),M===!0||isFinite(le)?le||0:ie):ie}}),m.each(["height","width"],function(y,T){m.cssHooks[T]={get:function(M,K,ie){if(K)return wn.test(m.css(M,"display"))&&(!M.getClientRects().length||!M.getBoundingClientRect().width)?nt(M,Lt,function(){return oo(M,T,ie)}):oo(M,T,ie)},set:function(M,K,ie){var le,he=fe(M),Fe=!S.scrollboxSize()&&he.position==="absolute",De=Fe||ie,Ke=De&&m.css(M,"boxSizing",!1,he)==="border-box",Et=ie?Pn(M,T,ie,Ke,he):0;return Ke&&Fe&&(Et-=Math.ceil(M["offset"+T[0].toUpperCase()+T.slice(1)]-parseFloat(he[T])-Pn(M,T,"border",!1,he)-.5)),Et&&(le=_t.exec(K))&&(le[3]||"px")!=="px"&&(M.style[T]=K,K=m.css(M,T)),Vn(M,K,Et)}}}),m.cssHooks.marginLeft=yt(S.reliableMarginLeft,function(y,T){if(T)return(parseFloat(Ct(y,"marginLeft"))||y.getBoundingClientRect().left-nt(y,{marginLeft:0},function(){return y.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(y,T){m.cssHooks[y+T]={expand:function(M){for(var K=0,ie={},le=typeof M=="string"?M.split(" "):[M];K<4;K++)ie[y+st[K]+T]=le[K]||le[K-2]||le[0];return ie}},y!=="margin"&&(m.cssHooks[y+T].set=Vn)}),m.fn.extend({css:function(y,T){return Ie(this,function(M,K,ie){var le,he,Fe={},De=0;if(Array.isArray(K)){for(le=fe(M),he=K.length;De<he;De++)Fe[K[De]]=m.css(M,K[De],!1,le);return Fe}return ie!==void 0?m.style(M,K,ie):m.css(M,K)},y,T,arguments.length>1)}});function ui(y,T,M,K,ie){return new ui.prototype.init(y,T,M,K,ie)}m.Tween=ui,ui.prototype={constructor:ui,init:function(y,T,M,K,ie,le){this.elem=y,this.prop=M,this.easing=ie||m.easing._default,this.options=T,this.start=this.now=this.cur(),this.end=K,this.unit=le||(m.cssNumber[M]?"":"px")},cur:function(){var y=ui.propHooks[this.prop];return y&&y.get?y.get(this):ui.propHooks._default.get(this)},run:function(y){var T,M=ui.propHooks[this.prop];return this.options.duration?this.pos=T=m.easing[this.easing](y,this.options.duration*y,0,1,this.options.duration):this.pos=T=y,this.now=(this.end-this.start)*T+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),M&&M.set?M.set(this):ui.propHooks._default.set(this),this}},ui.prototype.init.prototype=ui.prototype,ui.propHooks={_default:{get:function(y){var T;return y.elem.nodeType!==1||y.elem[y.prop]!=null&&y.elem.style[y.prop]==null?y.elem[y.prop]:(T=m.css(y.elem,y.prop,""),!T||T==="auto"?0:T)},set:function(y){m.fx.step[y.prop]?m.fx.step[y.prop](y):y.elem.nodeType===1&&(m.cssHooks[y.prop]||y.elem.style[Xr(y.prop)]!=null)?m.style(y.elem,y.prop,y.now+y.unit):y.elem[y.prop]=y.now}}},ui.propHooks.scrollTop=ui.propHooks.scrollLeft={set:function(y){y.elem.nodeType&&y.elem.parentNode&&(y.elem[y.prop]=y.now)}},m.easing={linear:function(y){return y},swing:function(y){return .5-Math.cos(y*Math.PI)/2},_default:"swing"},m.fx=ui.prototype.init,m.fx.step={};var Ji,ea,$o=/^(?:toggle|show|hide)$/,Ba=/queueHooks$/;function Pa(){ea&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Pa):t.setTimeout(Pa,m.fx.interval),m.fx.tick())}function z(){return t.setTimeout(function(){Ji=void 0}),Ji=Date.now()}function oe(y,T){var M,K=0,ie={height:y};for(T=T?1:0;K<4;K+=2-T)M=st[K],ie["margin"+M]=ie["padding"+M]=y;return T&&(ie.opacity=ie.width=y),ie}function Ee(y,T,M){for(var K,ie=(it.tweeners[T]||[]).concat(it.tweeners["*"]),le=0,he=ie.length;le<he;le++)if(K=ie[le].call(M,T,y))return K}function je(y,T,M){var K,ie,le,he,Fe,De,Ke,Et,Rt="width"in T||"height"in T,ft=this,Ft={},Rr=y.style,en=y.nodeType&&Mt(y),qr=qe.get(y,"fxshow");M.queue||(he=m._queueHooks(y,"fx"),he.unqueued==null&&(he.unqueued=0,Fe=he.empty.fire,he.empty.fire=function(){he.unqueued||Fe()}),he.unqueued++,ft.always(function(){ft.always(function(){he.unqueued--,m.queue(y,"fx").length||he.empty.fire()})}));for(K in T)if(ie=T[K],$o.test(ie)){if(delete T[K],le=le||ie==="toggle",ie===(en?"hide":"show"))if(ie==="show"&&qr&&qr[K]!==void 0)en=!0;else continue;Ft[K]=qr&&qr[K]||m.style(y,K)}if(De=!m.isEmptyObject(T),!(!De&&m.isEmptyObject(Ft))){Rt&&y.nodeType===1&&(M.overflow=[Rr.overflow,Rr.overflowX,Rr.overflowY],Ke=qr&&qr.display,Ke==null&&(Ke=qe.get(y,"display")),Et=m.css(y,"display"),Et==="none"&&(Ke?Et=Ke:(wt([y],!0),Ke=y.style.display||Ke,Et=m.css(y,"display"),wt([y]))),(Et==="inline"||Et==="inline-block"&&Ke!=null)&&m.css(y,"float")==="none"&&(De||(ft.done(function(){Rr.display=Ke}),Ke==null&&(Et=Rr.display,Ke=Et==="none"?"":Et)),Rr.display="inline-block")),M.overflow&&(Rr.overflow="hidden",ft.always(function(){Rr.overflow=M.overflow[0],Rr.overflowX=M.overflow[1],Rr.overflowY=M.overflow[2]})),De=!1;for(K in Ft)De||(qr?"hidden"in qr&&(en=qr.hidden):qr=qe.access(y,"fxshow",{display:Ke}),le&&(qr.hidden=!en),en&&wt([y],!0),ft.done(function(){en||wt([y]),qe.remove(y,"fxshow");for(K in Ft)m.style(y,K,Ft[K])})),De=Ee(en?qr[K]:0,K,ft),K in qr||(qr[K]=De.start,en&&(De.end=De.start,De.start=0))}}function pt(y,T){var M,K,ie,le,he;for(M in y)if(K=Ce(M),ie=T[K],le=y[M],Array.isArray(le)&&(ie=le[1],le=y[M]=le[0]),M!==K&&(y[K]=le,delete y[M]),he=m.cssHooks[K],he&&"expand"in he){le=he.expand(le),delete y[K];for(M in le)M in y||(y[M]=le[M],T[M]=ie)}else T[K]=ie}function it(y,T,M){var K,ie,le=0,he=it.prefilters.length,Fe=m.Deferred().always(function(){delete De.elem}),De=function(){if(ie)return!1;for(var Rt=Ji||z(),ft=Math.max(0,Ke.startTime+Ke.duration-Rt),Ft=ft/Ke.duration||0,Rr=1-Ft,en=0,qr=Ke.tweens.length;en<qr;en++)Ke.tweens[en].run(Rr);return Fe.notifyWith(y,[Ke,Rr,ft]),Rr<1&&qr?ft:(qr||Fe.notifyWith(y,[Ke,1,0]),Fe.resolveWith(y,[Ke]),!1)},Ke=Fe.promise({elem:y,props:m.extend({},T),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},M),originalProperties:T,originalOptions:M,startTime:Ji||z(),duration:M.duration,tweens:[],createTween:function(Rt,ft){var Ft=m.Tween(y,Ke.opts,Rt,ft,Ke.opts.specialEasing[Rt]||Ke.opts.easing);return Ke.tweens.push(Ft),Ft},stop:function(Rt){var ft=0,Ft=Rt?Ke.tweens.length:0;if(ie)return this;for(ie=!0;ft<Ft;ft++)Ke.tweens[ft].run(1);return Rt?(Fe.notifyWith(y,[Ke,1,0]),Fe.resolveWith(y,[Ke,Rt])):Fe.rejectWith(y,[Ke,Rt]),this}}),Et=Ke.props;for(pt(Et,Ke.opts.specialEasing);le<he;le++)if(K=it.prefilters[le].call(Ke,y,Et,Ke.opts),K)return E(K.stop)&&(m._queueHooks(Ke.elem,Ke.opts.queue).stop=K.stop.bind(K)),K;return m.map(Et,Ee,Ke),E(Ke.opts.start)&&Ke.opts.start.call(y,Ke),Ke.progress(Ke.opts.progress).done(Ke.opts.done,Ke.opts.complete).fail(Ke.opts.fail).always(Ke.opts.always),m.fx.timer(m.extend(De,{elem:y,anim:Ke,queue:Ke.opts.queue})),Ke}m.Animation=m.extend(it,{tweeners:{"*":[function(y,T){var M=this.createTween(y,T);return Re(M.elem,y,_t.exec(T),M),M}]},tweener:function(y,T){E(y)?(T=y,y=["*"]):y=y.match(N);for(var M,K=0,ie=y.length;K<ie;K++)M=y[K],it.tweeners[M]=it.tweeners[M]||[],it.tweeners[M].unshift(T)},prefilters:[je],prefilter:function(y,T){T?it.prefilters.unshift(y):it.prefilters.push(y)}}),m.speed=function(y,T,M){var K=y&&typeof y=="object"?m.extend({},y):{complete:M||!M&&T||E(y)&&y,duration:y,easing:M&&T||T&&!E(T)&&T};return m.fx.off?K.duration=0:typeof K.duration!="number"&&(K.duration in m.fx.speeds?K.duration=m.fx.speeds[K.duration]:K.duration=m.fx.speeds._default),(K.queue==null||K.queue===!0)&&(K.queue="fx"),K.old=K.complete,K.complete=function(){E(K.old)&&K.old.call(this),K.queue&&m.dequeue(this,K.queue)},K},m.fn.extend({fadeTo:function(y,T,M,K){return this.filter(Mt).css("opacity",0).show().end().animate({opacity:T},y,M,K)},animate:function(y,T,M,K){var ie=m.isEmptyObject(y),le=m.speed(T,M,K),he=function(){var Fe=it(this,m.extend({},y),le);(ie||qe.get(this,"finish"))&&Fe.stop(!0)};return he.finish=he,ie||le.queue===!1?this.each(he):this.queue(le.queue,he)},stop:function(y,T,M){var K=function(ie){var le=ie.stop;delete ie.stop,le(M)};return typeof y!="string"&&(M=T,T=y,y=void 0),T&&this.queue(y||"fx",[]),this.each(function(){var ie=!0,le=y!=null&&y+"queueHooks",he=m.timers,Fe=qe.get(this);if(le)Fe[le]&&Fe[le].stop&&K(Fe[le]);else for(le in Fe)Fe[le]&&Fe[le].stop&&Ba.test(le)&&K(Fe[le]);for(le=he.length;le--;)he[le].elem===this&&(y==null||he[le].queue===y)&&(he[le].anim.stop(M),ie=!1,he.splice(le,1));(ie||!M)&&m.dequeue(this,y)})},finish:function(y){return y!==!1&&(y=y||"fx"),this.each(function(){var T,M=qe.get(this),K=M[y+"queue"],ie=M[y+"queueHooks"],le=m.timers,he=K?K.length:0;for(M.finish=!0,m.queue(this,y,[]),ie&&ie.stop&&ie.stop.call(this,!0),T=le.length;T--;)le[T].elem===this&&le[T].queue===y&&(le[T].anim.stop(!0),le.splice(T,1));for(T=0;T<he;T++)K[T]&&K[T].finish&&K[T].finish.call(this);delete M.finish})}}),m.each(["toggle","show","hide"],function(y,T){var M=m.fn[T];m.fn[T]=function(K,ie,le){return K==null||typeof K=="boolean"?M.apply(this,arguments):this.animate(oe(T,!0),K,ie,le)}}),m.each({slideDown:oe("show"),slideUp:oe("hide"),slideToggle:oe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(y,T){m.fn[y]=function(M,K,ie){return this.animate(T,M,K,ie)}}),m.timers=[],m.fx.tick=function(){var y,T=0,M=m.timers;for(Ji=Date.now();T<M.length;T++)y=M[T],!y()&&M[T]===y&&M.splice(T--,1);M.length||m.fx.stop(),Ji=void 0},m.fx.timer=function(y){m.timers.push(y),m.fx.start()},m.fx.interval=13,m.fx.start=function(){ea||(ea=!0,Pa())},m.fx.stop=function(){ea=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(y,T){return y=m.fx&&m.fx.speeds[y]||y,T=T||"fx",this.queue(T,function(M,K){var ie=t.setTimeout(M,y);K.stop=function(){t.clearTimeout(ie)}})},(function(){var y=w.createElement("input"),T=w.createElement("select"),M=T.appendChild(w.createElement("option"));y.type="checkbox",S.checkOn=y.value!=="",S.optSelected=M.selected,y=w.createElement("input"),y.value="t",y.type="radio",S.radioValue=y.value==="t"})();var xt,Vt=m.expr.attrHandle;m.fn.extend({attr:function(y,T){return Ie(this,m.attr,y,T,arguments.length>1)},removeAttr:function(y){return this.each(function(){m.removeAttr(this,y)})}}),m.extend({attr:function(y,T,M){var K,ie,le=y.nodeType;if(!(le===3||le===8||le===2)){if(typeof y.getAttribute>"u")return m.prop(y,T,M);if((le!==1||!m.isXMLDoc(y))&&(ie=m.attrHooks[T.toLowerCase()]||(m.expr.match.bool.test(T)?xt:void 0)),M!==void 0){if(M===null){m.removeAttr(y,T);return}return ie&&"set"in ie&&(K=ie.set(y,M,T))!==void 0?K:(y.setAttribute(T,M+""),M)}return ie&&"get"in ie&&(K=ie.get(y,T))!==null?K:(K=m.find.attr(y,T),K??void 0)}},attrHooks:{type:{set:function(y,T){if(!S.radioValue&&T==="radio"&&D(y,"input")){var M=y.value;return y.setAttribute("type",T),M&&(y.value=M),T}}}},removeAttr:function(y,T){var M,K=0,ie=T&&T.match(N);if(ie&&y.nodeType===1)for(;M=ie[K++];)y.removeAttribute(M)}}),xt={set:function(y,T,M){return T===!1?m.removeAttr(y,M):y.setAttribute(M,M),M}},m.each(m.expr.match.bool.source.match(/\w+/g),function(y,T){var M=Vt[T]||m.find.attr;Vt[T]=function(K,ie,le){var he,Fe,De=ie.toLowerCase();return le||(Fe=Vt[De],Vt[De]=he,he=M(K,ie,le)!=null?De:null,Vt[De]=Fe),he}});var Zt=/^(?:input|select|textarea|button)$/i,br=/^(?:a|area)$/i;m.fn.extend({prop:function(y,T){return Ie(this,m.prop,y,T,arguments.length>1)},removeProp:function(y){return this.each(function(){delete this[m.propFix[y]||y]})}}),m.extend({prop:function(y,T,M){var K,ie,le=y.nodeType;if(!(le===3||le===8||le===2))return(le!==1||!m.isXMLDoc(y))&&(T=m.propFix[T]||T,ie=m.propHooks[T]),M!==void 0?ie&&"set"in ie&&(K=ie.set(y,M,T))!==void 0?K:y[T]=M:ie&&"get"in ie&&(K=ie.get(y,T))!==null?K:y[T]},propHooks:{tabIndex:{get:function(y){var T=m.find.attr(y,"tabindex");return T?parseInt(T,10):Zt.test(y.nodeName)||br.test(y.nodeName)&&y.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(m.propHooks.selected={get:function(y){var T=y.parentNode;return T&&T.parentNode&&T.parentNode.selectedIndex,null},set:function(y){var T=y.parentNode;T&&(T.selectedIndex,T.parentNode&&T.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function Pr(y){var T=y.match(N)||[];return T.join(" ")}function kn(y){return y.getAttribute&&y.getAttribute("class")||""}function Oi(y){return Array.isArray(y)?y:typeof y=="string"?y.match(N)||[]:[]}m.fn.extend({addClass:function(y){var T,M,K,ie,le,he;return E(y)?this.each(function(Fe){m(this).addClass(y.call(this,Fe,kn(this)))}):(T=Oi(y),T.length?this.each(function(){if(K=kn(this),M=this.nodeType===1&&" "+Pr(K)+" ",M){for(le=0;le<T.length;le++)ie=T[le],M.indexOf(" "+ie+" ")<0&&(M+=ie+" ");he=Pr(M),K!==he&&this.setAttribute("class",he)}}):this)},removeClass:function(y){var T,M,K,ie,le,he;return E(y)?this.each(function(Fe){m(this).removeClass(y.call(this,Fe,kn(this)))}):arguments.length?(T=Oi(y),T.length?this.each(function(){if(K=kn(this),M=this.nodeType===1&&" "+Pr(K)+" ",M){for(le=0;le<T.length;le++)for(ie=T[le];M.indexOf(" "+ie+" ")>-1;)M=M.replace(" "+ie+" "," ");he=Pr(M),K!==he&&this.setAttribute("class",he)}}):this):this.attr("class","")},toggleClass:function(y,T){var M,K,ie,le,he=typeof y,Fe=he==="string"||Array.isArray(y);return E(y)?this.each(function(De){m(this).toggleClass(y.call(this,De,kn(this),T),T)}):typeof T=="boolean"&&Fe?T?this.addClass(y):this.removeClass(y):(M=Oi(y),this.each(function(){if(Fe)for(le=m(this),ie=0;ie<M.length;ie++)K=M[ie],le.hasClass(K)?le.removeClass(K):le.addClass(K);else(y===void 0||he==="boolean")&&(K=kn(this),K&&qe.set(this,"__className__",K),this.setAttribute&&this.setAttribute("class",K||y===!1?"":qe.get(this,"__className__")||""))}))},hasClass:function(y){var T,M,K=0;for(T=" "+y+" ";M=this[K++];)if(M.nodeType===1&&(" "+Pr(kn(M))+" ").indexOf(T)>-1)return!0;return!1}});var Ii=/\r/g;m.fn.extend({val:function(y){var T,M,K,ie=this[0];return arguments.length?(K=E(y),this.each(function(le){var he;this.nodeType===1&&(K?he=y.call(this,le,m(this).val()):he=y,he==null?he="":typeof he=="number"?he+="":Array.isArray(he)&&(he=m.map(he,function(Fe){return Fe==null?"":Fe+""})),T=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!T||!("set"in T)||T.set(this,he,"value")===void 0)&&(this.value=he))})):ie?(T=m.valHooks[ie.type]||m.valHooks[ie.nodeName.toLowerCase()],T&&"get"in T&&(M=T.get(ie,"value"))!==void 0?M:(M=ie.value,typeof M=="string"?M.replace(Ii,""):M??"")):void 0}}),m.extend({valHooks:{option:{get:function(y){var T=m.find.attr(y,"value");return T??Pr(m.text(y))}},select:{get:function(y){var T,M,K,ie=y.options,le=y.selectedIndex,he=y.type==="select-one",Fe=he?null:[],De=he?le+1:ie.length;for(le<0?K=De:K=he?le:0;K<De;K++)if(M=ie[K],(M.selected||K===le)&&!M.disabled&&(!M.parentNode.disabled||!D(M.parentNode,"optgroup"))){if(T=m(M).val(),he)return T;Fe.push(T)}return Fe},set:function(y,T){for(var M,K,ie=y.options,le=m.makeArray(T),he=ie.length;he--;)K=ie[he],(K.selected=m.inArray(m.valHooks.option.get(K),le)>-1)&&(M=!0);return M||(y.selectedIndex=-1),le}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(y,T){if(Array.isArray(T))return y.checked=m.inArray(m(y).val(),T)>-1}},S.checkOn||(m.valHooks[this].get=function(y){return y.getAttribute("value")===null?"on":y.value})});var ls=t.location,Js={guid:Date.now()},cs=/\?/;m.parseXML=function(y){var T,M;if(!y||typeof y!="string")return null;try{T=new t.DOMParser().parseFromString(y,"text/xml")}catch{}return M=T&&T.getElementsByTagName("parsererror")[0],(!T||M)&&m.error("Invalid XML: "+(M?m.map(M.childNodes,function(K){return K.textContent}).join(`
|
|
16
|
+
`):y)),T};var za=/^(?:focusinfocus|focusoutblur)$/,hi=function(y){y.stopPropagation()};m.extend(m.event,{trigger:function(y,T,M,K){var ie,le,he,Fe,De,Ke,Et,Rt,ft=[M||w],Ft=h.call(y,"type")?y.type:y,Rr=h.call(y,"namespace")?y.namespace.split("."):[];if(le=Rt=he=M=M||w,!(M.nodeType===3||M.nodeType===8)&&!za.test(Ft+m.event.triggered)&&(Ft.indexOf(".")>-1&&(Rr=Ft.split("."),Ft=Rr.shift(),Rr.sort()),De=Ft.indexOf(":")<0&&"on"+Ft,y=y[m.expando]?y:new m.Event(Ft,typeof y=="object"&&y),y.isTrigger=K?2:3,y.namespace=Rr.join("."),y.rnamespace=y.namespace?new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,y.result=void 0,y.target||(y.target=M),T=T==null?[y]:m.makeArray(T,[y]),Et=m.event.special[Ft]||{},!(!K&&Et.trigger&&Et.trigger.apply(M,T)===!1))){if(!K&&!Et.noBubble&&!_(M)){for(Fe=Et.delegateType||Ft,za.test(Fe+Ft)||(le=le.parentNode);le;le=le.parentNode)ft.push(le),he=le;he===(M.ownerDocument||w)&&ft.push(he.defaultView||he.parentWindow||t)}for(ie=0;(le=ft[ie++])&&!y.isPropagationStopped();)Rt=le,y.type=ie>1?Fe:Et.bindType||Ft,Ke=(qe.get(le,"events")||Object.create(null))[y.type]&&qe.get(le,"handle"),Ke&&Ke.apply(le,T),Ke=De&&le[De],Ke&&Ke.apply&&Le(le)&&(y.result=Ke.apply(le,T),y.result===!1&&y.preventDefault());return y.type=Ft,!K&&!y.isDefaultPrevented()&&(!Et._default||Et._default.apply(ft.pop(),T)===!1)&&Le(M)&&De&&E(M[Ft])&&!_(M)&&(he=M[De],he&&(M[De]=null),m.event.triggered=Ft,y.isPropagationStopped()&&Rt.addEventListener(Ft,hi),M[Ft](),y.isPropagationStopped()&&Rt.removeEventListener(Ft,hi),m.event.triggered=void 0,he&&(M[De]=he)),y.result}},simulate:function(y,T,M){var K=m.extend(new m.Event,M,{type:y,isSimulated:!0});m.event.trigger(K,null,T)}}),m.fn.extend({trigger:function(y,T){return this.each(function(){m.event.trigger(y,T,this)})},triggerHandler:function(y,T){var M=this[0];if(M)return m.event.trigger(y,T,M,!0)}});var ka=/\[\]$/,Wa=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,ua=/^(?:input|select|textarea|keygen)/i;function Fo(y,T,M,K){var ie;if(Array.isArray(T))m.each(T,function(le,he){M||ka.test(y)?K(y,he):Fo(y+"["+(typeof he=="object"&&he!=null?le:"")+"]",he,M,K)});else if(!M&&A(T)==="object")for(ie in T)Fo(y+"["+ie+"]",T[ie],M,K);else K(y,T)}m.param=function(y,T){var M,K=[],ie=function(le,he){var Fe=E(he)?he():he;K[K.length]=encodeURIComponent(le)+"="+encodeURIComponent(Fe??"")};if(y==null)return"";if(Array.isArray(y)||y.jquery&&!m.isPlainObject(y))m.each(y,function(){ie(this.name,this.value)});else for(M in y)Fo(M,y[M],T,ie);return K.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var y=m.prop(this,"elements");return y?m.makeArray(y):this}).filter(function(){var y=this.type;return this.name&&!m(this).is(":disabled")&&ua.test(this.nodeName)&&!ln.test(y)&&(this.checked||!Nt.test(y))}).map(function(y,T){var M=m(this).val();return M==null?null:Array.isArray(M)?m.map(M,function(K){return{name:T.name,value:K.replace(Wa,`\r
|
|
17
|
+
`)}}):{name:T.name,value:M.replace(Wa,`\r
|
|
18
|
+
`)}}).get()}});var jo=/%20/g,Wi=/#.*$/,Ls=/([?&])_=[^&]*/,Ga=/^(.*?):[ \t]*([^\r\n]*)$/mg,fs=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ns=/^(?:GET|HEAD)$/,Cu=/^\/\//,Ka={},so={},Fi="*/".concat("*"),la=w.createElement("a");la.href=ls.href;function Tu(y){return function(T,M){typeof T!="string"&&(M=T,T="*");var K,ie=0,le=T.toLowerCase().match(N)||[];if(E(M))for(;K=le[ie++];)K[0]==="+"?(K=K.slice(1)||"*",(y[K]=y[K]||[]).unshift(M)):(y[K]=y[K]||[]).push(M)}}function Uo(y,T,M,K){var ie={},le=y===so;function he(Fe){var De;return ie[Fe]=!0,m.each(y[Fe]||[],function(Ke,Et){var Rt=Et(T,M,K);if(typeof Rt=="string"&&!le&&!ie[Rt])return T.dataTypes.unshift(Rt),he(Rt),!1;if(le)return!(De=Rt)}),De}return he(T.dataTypes[0])||!ie["*"]&&he("*")}function qo(y,T){var M,K,ie=m.ajaxSettings.flatOptions||{};for(M in T)T[M]!==void 0&&((ie[M]?y:K||(K={}))[M]=T[M]);return K&&m.extend(!0,y,K),y}function ca(y,T,M){for(var K,ie,le,he,Fe=y.contents,De=y.dataTypes;De[0]==="*";)De.shift(),K===void 0&&(K=y.mimeType||T.getResponseHeader("Content-Type"));if(K){for(ie in Fe)if(Fe[ie]&&Fe[ie].test(K)){De.unshift(ie);break}}if(De[0]in M)le=De[0];else{for(ie in M){if(!De[0]||y.converters[ie+" "+De[0]]){le=ie;break}he||(he=ie)}le=le||he}if(le)return le!==De[0]&&De.unshift(le),M[le]}function Ms(y,T,M,K){var ie,le,he,Fe,De,Ke={},Et=y.dataTypes.slice();if(Et[1])for(he in y.converters)Ke[he.toLowerCase()]=y.converters[he];for(le=Et.shift();le;)if(y.responseFields[le]&&(M[y.responseFields[le]]=T),!De&&K&&y.dataFilter&&(T=y.dataFilter(T,y.dataType)),De=le,le=Et.shift(),le){if(le==="*")le=De;else if(De!=="*"&&De!==le){if(he=Ke[De+" "+le]||Ke["* "+le],!he){for(ie in Ke)if(Fe=ie.split(" "),Fe[1]===le&&(he=Ke[De+" "+Fe[0]]||Ke["* "+Fe[0]],he)){he===!0?he=Ke[ie]:Ke[ie]!==!0&&(le=Fe[0],Et.unshift(Fe[1]));break}}if(he!==!0)if(he&&y.throws)T=he(T);else try{T=he(T)}catch(Rt){return{state:"parsererror",error:he?Rt:"No conversion from "+De+" to "+le}}}}return{state:"success",data:T}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ls.href,type:"GET",isLocal:fs.test(ls.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(y,T){return T?qo(qo(y,m.ajaxSettings),T):qo(m.ajaxSettings,y)},ajaxPrefilter:Tu(Ka),ajaxTransport:Tu(so),ajax:function(y,T){typeof y=="object"&&(T=y,y=void 0),T=T||{};var M,K,ie,le,he,Fe,De,Ke,Et,Rt,ft=m.ajaxSetup({},T),Ft=ft.context||ft,Rr=ft.context&&(Ft.nodeType||Ft.jquery)?m(Ft):m.event,en=m.Deferred(),qr=m.Callbacks("once memory"),Yn=ft.statusCode||{},li={},W={},ae="canceled",ve={readyState:0,getResponseHeader:function(Qe){var tt;if(De){if(!le)for(le={};tt=Ga.exec(ie);)le[tt[1].toLowerCase()+" "]=(le[tt[1].toLowerCase()+" "]||[]).concat(tt[2]);tt=le[Qe.toLowerCase()+" "]}return tt==null?null:tt.join(", ")},getAllResponseHeaders:function(){return De?ie:null},setRequestHeader:function(Qe,tt){return De==null&&(Qe=W[Qe.toLowerCase()]=W[Qe.toLowerCase()]||Qe,li[Qe]=tt),this},overrideMimeType:function(Qe){return De==null&&(ft.mimeType=Qe),this},statusCode:function(Qe){var tt;if(Qe)if(De)ve.always(Qe[ve.status]);else for(tt in Qe)Yn[tt]=[Yn[tt],Qe[tt]];return this},abort:function(Qe){var tt=Qe||ae;return M&&M.abort(tt),Ne(0,tt),this}};if(en.promise(ve),ft.url=((y||ft.url||ls.href)+"").replace(Cu,ls.protocol+"//"),ft.type=T.method||T.type||ft.method||ft.type,ft.dataTypes=(ft.dataType||"*").toLowerCase().match(N)||[""],ft.crossDomain==null){Fe=w.createElement("a");try{Fe.href=ft.url,Fe.href=Fe.href,ft.crossDomain=la.protocol+"//"+la.host!=Fe.protocol+"//"+Fe.host}catch{ft.crossDomain=!0}}if(ft.data&&ft.processData&&typeof ft.data!="string"&&(ft.data=m.param(ft.data,ft.traditional)),Uo(Ka,ft,T,ve),De)return ve;Ke=m.event&&ft.global,Ke&&m.active++===0&&m.event.trigger("ajaxStart"),ft.type=ft.type.toUpperCase(),ft.hasContent=!Ns.test(ft.type),K=ft.url.replace(Wi,""),ft.hasContent?ft.data&&ft.processData&&(ft.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ft.data=ft.data.replace(jo,"+")):(Rt=ft.url.slice(K.length),ft.data&&(ft.processData||typeof ft.data=="string")&&(K+=(cs.test(K)?"&":"?")+ft.data,delete ft.data),ft.cache===!1&&(K=K.replace(Ls,"$1"),Rt=(cs.test(K)?"&":"?")+"_="+Js.guid+++Rt),ft.url=K+Rt),ft.ifModified&&(m.lastModified[K]&&ve.setRequestHeader("If-Modified-Since",m.lastModified[K]),m.etag[K]&&ve.setRequestHeader("If-None-Match",m.etag[K])),(ft.data&&ft.hasContent&&ft.contentType!==!1||T.contentType)&&ve.setRequestHeader("Content-Type",ft.contentType),ve.setRequestHeader("Accept",ft.dataTypes[0]&&ft.accepts[ft.dataTypes[0]]?ft.accepts[ft.dataTypes[0]]+(ft.dataTypes[0]!=="*"?", "+Fi+"; q=0.01":""):ft.accepts["*"]);for(Et in ft.headers)ve.setRequestHeader(Et,ft.headers[Et]);if(ft.beforeSend&&(ft.beforeSend.call(Ft,ve,ft)===!1||De))return ve.abort();if(ae="abort",qr.add(ft.complete),ve.done(ft.success),ve.fail(ft.error),M=Uo(so,ft,T,ve),!M)Ne(-1,"No Transport");else{if(ve.readyState=1,Ke&&Rr.trigger("ajaxSend",[ve,ft]),De)return ve;ft.async&&ft.timeout>0&&(he=t.setTimeout(function(){ve.abort("timeout")},ft.timeout));try{De=!1,M.send(li,Ne)}catch(Qe){if(De)throw Qe;Ne(-1,Qe)}}function Ne(Qe,tt,Ot,Ht){var gr,Vr,xr,On,ni,Dn=tt;De||(De=!0,he&&t.clearTimeout(he),M=void 0,ie=Ht||"",ve.readyState=Qe>0?4:0,gr=Qe>=200&&Qe<300||Qe===304,Ot&&(On=ca(ft,ve,Ot)),!gr&&m.inArray("script",ft.dataTypes)>-1&&m.inArray("json",ft.dataTypes)<0&&(ft.converters["text script"]=function(){}),On=Ms(ft,On,ve,gr),gr?(ft.ifModified&&(ni=ve.getResponseHeader("Last-Modified"),ni&&(m.lastModified[K]=ni),ni=ve.getResponseHeader("etag"),ni&&(m.etag[K]=ni)),Qe===204||ft.type==="HEAD"?Dn="nocontent":Qe===304?Dn="notmodified":(Dn=On.state,Vr=On.data,xr=On.error,gr=!xr)):(xr=Dn,(Qe||!Dn)&&(Dn="error",Qe<0&&(Qe=0))),ve.status=Qe,ve.statusText=(tt||Dn)+"",gr?en.resolveWith(Ft,[Vr,Dn,ve]):en.rejectWith(Ft,[ve,Dn,xr]),ve.statusCode(Yn),Yn=void 0,Ke&&Rr.trigger(gr?"ajaxSuccess":"ajaxError",[ve,ft,gr?Vr:xr]),qr.fireWith(Ft,[ve,Dn]),Ke&&(Rr.trigger("ajaxComplete",[ve,ft]),--m.active||m.event.trigger("ajaxStop")))}return ve},getJSON:function(y,T,M){return m.get(y,T,M,"json")},getScript:function(y,T){return m.get(y,void 0,T,"script")}}),m.each(["get","post"],function(y,T){m[T]=function(M,K,ie,le){return E(K)&&(le=le||ie,ie=K,K=void 0),m.ajax(m.extend({url:M,type:T,dataType:le,data:K,success:ie},m.isPlainObject(M)&&M))}}),m.ajaxPrefilter(function(y){var T;for(T in y.headers)T.toLowerCase()==="content-type"&&(y.contentType=y.headers[T]||"")}),m._evalUrl=function(y,T,M){return m.ajax({url:y,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(K){m.globalEval(K,T,M)}})},m.fn.extend({wrapAll:function(y){var T;return this[0]&&(E(y)&&(y=y.call(this[0])),T=m(y,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&T.insertBefore(this[0]),T.map(function(){for(var M=this;M.firstElementChild;)M=M.firstElementChild;return M}).append(this)),this},wrapInner:function(y){return E(y)?this.each(function(T){m(this).wrapInner(y.call(this,T))}):this.each(function(){var T=m(this),M=T.contents();M.length?M.wrapAll(y):T.append(y)})},wrap:function(y){var T=E(y);return this.each(function(M){m(this).wrapAll(T?y.call(this,M):y)})},unwrap:function(y){return this.parent(y).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(y){return!m.expr.pseudos.visible(y)},m.expr.pseudos.visible=function(y){return!!(y.offsetWidth||y.offsetHeight||y.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Au={0:200,1223:204},Pi=m.ajaxSettings.xhr();S.cors=!!Pi&&"withCredentials"in Pi,S.ajax=Pi=!!Pi,m.ajaxTransport(function(y){var T,M;if(S.cors||Pi&&!y.crossDomain)return{send:function(K,ie){var le,he=y.xhr();if(he.open(y.type,y.url,y.async,y.username,y.password),y.xhrFields)for(le in y.xhrFields)he[le]=y.xhrFields[le];y.mimeType&&he.overrideMimeType&&he.overrideMimeType(y.mimeType),!y.crossDomain&&!K["X-Requested-With"]&&(K["X-Requested-With"]="XMLHttpRequest");for(le in K)he.setRequestHeader(le,K[le]);T=function(Fe){return function(){T&&(T=M=he.onload=he.onerror=he.onabort=he.ontimeout=he.onreadystatechange=null,Fe==="abort"?he.abort():Fe==="error"?typeof he.status!="number"?ie(0,"error"):ie(he.status,he.statusText):ie(Au[he.status]||he.status,he.statusText,(he.responseType||"text")!=="text"||typeof he.responseText!="string"?{binary:he.response}:{text:he.responseText},he.getAllResponseHeaders()))}},he.onload=T(),M=he.onerror=he.ontimeout=T("error"),he.onabort!==void 0?he.onabort=M:he.onreadystatechange=function(){he.readyState===4&&t.setTimeout(function(){T&&M()})},T=T("abort");try{he.send(y.hasContent&&y.data||null)}catch(Fe){if(T)throw Fe}},abort:function(){T&&T()}}}),m.ajaxPrefilter(function(y){y.crossDomain&&(y.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(y){return m.globalEval(y),y}}}),m.ajaxPrefilter("script",function(y){y.cache===void 0&&(y.cache=!1),y.crossDomain&&(y.type="GET")}),m.ajaxTransport("script",function(y){if(y.crossDomain||y.scriptAttrs){var T,M;return{send:function(K,ie){T=m("<script>").attr(y.scriptAttrs||{}).prop({charset:y.scriptCharset,src:y.url}).on("load error",M=function(le){T.remove(),M=null,le&&ie(le.type==="error"?404:200,le.type)}),w.head.appendChild(T[0])},abort:function(){M&&M()}}}});var fa=[],uo=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var y=fa.pop()||m.expando+"_"+Js.guid++;return this[y]=!0,y}}),m.ajaxPrefilter("json jsonp",function(y,T,M){var K,ie,le,he=y.jsonp!==!1&&(uo.test(y.url)?"url":typeof y.data=="string"&&(y.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&uo.test(y.data)&&"data");if(he||y.dataTypes[0]==="jsonp")return K=y.jsonpCallback=E(y.jsonpCallback)?y.jsonpCallback():y.jsonpCallback,he?y[he]=y[he].replace(uo,"$1"+K):y.jsonp!==!1&&(y.url+=(cs.test(y.url)?"&":"?")+y.jsonp+"="+K),y.converters["script json"]=function(){return le||m.error(K+" was not called"),le[0]},y.dataTypes[0]="json",ie=t[K],t[K]=function(){le=arguments},M.always(function(){ie===void 0?m(t).removeProp(K):t[K]=ie,y[K]&&(y.jsonpCallback=T.jsonpCallback,fa.push(K)),le&&E(ie)&&ie(le[0]),le=ie=void 0}),"script"}),S.createHTMLDocument=(function(){var y=w.implementation.createHTMLDocument("").body;return y.innerHTML="<form></form><form></form>",y.childNodes.length===2})(),m.parseHTML=function(y,T,M){if(typeof y!="string")return[];typeof T=="boolean"&&(M=T,T=!1);var K,ie,le;return T||(S.createHTMLDocument?(T=w.implementation.createHTMLDocument(""),K=T.createElement("base"),K.href=w.location.href,T.head.appendChild(K)):T=w),ie=ee.exec(y),le=!M&&[],ie?[T.createElement(ie[1])]:(ie=Un([y],T,le),le&&le.length&&m(le).remove(),m.merge([],ie.childNodes))},m.fn.load=function(y,T,M){var K,ie,le,he=this,Fe=y.indexOf(" ");return Fe>-1&&(K=Pr(y.slice(Fe)),y=y.slice(0,Fe)),E(T)?(M=T,T=void 0):T&&typeof T=="object"&&(ie="POST"),he.length>0&&m.ajax({url:y,type:ie||"GET",dataType:"html",data:T}).done(function(De){le=arguments,he.html(K?m("<div>").append(m.parseHTML(De)).find(K):De)}).always(M&&function(De,Ke){he.each(function(){M.apply(this,le||[De.responseText,Ke,De])})}),this},m.expr.pseudos.animated=function(y){return m.grep(m.timers,function(T){return y===T.elem}).length},m.offset={setOffset:function(y,T,M){var K,ie,le,he,Fe,De,Ke,Et=m.css(y,"position"),Rt=m(y),ft={};Et==="static"&&(y.style.position="relative"),Fe=Rt.offset(),le=m.css(y,"top"),De=m.css(y,"left"),Ke=(Et==="absolute"||Et==="fixed")&&(le+De).indexOf("auto")>-1,Ke?(K=Rt.position(),he=K.top,ie=K.left):(he=parseFloat(le)||0,ie=parseFloat(De)||0),E(T)&&(T=T.call(y,M,m.extend({},Fe))),T.top!=null&&(ft.top=T.top-Fe.top+he),T.left!=null&&(ft.left=T.left-Fe.left+ie),"using"in T?T.using.call(y,ft):Rt.css(ft)}},m.fn.extend({offset:function(y){if(arguments.length)return y===void 0?this:this.each(function(ie){m.offset.setOffset(this,y,ie)});var T,M,K=this[0];if(K)return K.getClientRects().length?(T=K.getBoundingClientRect(),M=K.ownerDocument.defaultView,{top:T.top+M.pageYOffset,left:T.left+M.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var y,T,M,K=this[0],ie={top:0,left:0};if(m.css(K,"position")==="fixed")T=K.getBoundingClientRect();else{for(T=this.offset(),M=K.ownerDocument,y=K.offsetParent||M.documentElement;y&&(y===M.body||y===M.documentElement)&&m.css(y,"position")==="static";)y=y.parentNode;y&&y!==K&&y.nodeType===1&&(ie=m(y).offset(),ie.top+=m.css(y,"borderTopWidth",!0),ie.left+=m.css(y,"borderLeftWidth",!0))}return{top:T.top-ie.top-m.css(K,"marginTop",!0),left:T.left-ie.left-m.css(K,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var y=this.offsetParent;y&&m.css(y,"position")==="static";)y=y.offsetParent;return y||rt})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(y,T){var M=T==="pageYOffset";m.fn[y]=function(K){return Ie(this,function(ie,le,he){var Fe;if(_(ie)?Fe=ie:ie.nodeType===9&&(Fe=ie.defaultView),he===void 0)return Fe?Fe[T]:ie[le];Fe?Fe.scrollTo(M?Fe.pageXOffset:he,M?he:Fe.pageYOffset):ie[le]=he},y,K,arguments.length)}}),m.each(["top","left"],function(y,T){m.cssHooks[T]=yt(S.pixelPosition,function(M,K){if(K)return K=Ct(M,T),gt.test(K)?m(M).position()[T]+"px":K})}),m.each({Height:"height",Width:"width"},function(y,T){m.each({padding:"inner"+y,content:T,"":"outer"+y},function(M,K){m.fn[K]=function(ie,le){var he=arguments.length&&(M||typeof ie!="boolean"),Fe=M||(ie===!0||le===!0?"margin":"border");return Ie(this,function(De,Ke,Et){var Rt;return _(De)?K.indexOf("outer")===0?De["inner"+y]:De.document.documentElement["client"+y]:De.nodeType===9?(Rt=De.documentElement,Math.max(De.body["scroll"+y],Rt["scroll"+y],De.body["offset"+y],Rt["offset"+y],Rt["client"+y])):Et===void 0?m.css(De,Ke,Fe):m.style(De,Ke,Et,Fe)},T,he?ie:void 0,he)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(y,T){m.fn[T]=function(M){return this.on(T,M)}}),m.fn.extend({bind:function(y,T,M){return this.on(y,null,T,M)},unbind:function(y,T){return this.off(y,null,T)},delegate:function(y,T,M,K){return this.on(T,y,M,K)},undelegate:function(y,T,M){return arguments.length===1?this.off(y,"**"):this.off(T,y||"**",M)},hover:function(y,T){return this.on("mouseenter",y).on("mouseleave",T||y)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(y,T){m.fn[T]=function(M,K){return arguments.length>0?this.on(T,null,M,K):this.trigger(T)}});var Vo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(y,T){var M,K,ie;if(typeof T=="string"&&(M=y[T],T=y,y=M),!!E(y))return K=o.call(arguments,2),ie=function(){return y.apply(T||this,K.concat(o.call(arguments)))},ie.guid=y.guid=y.guid||m.guid++,ie},m.holdReady=function(y){y?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=D,m.isFunction=E,m.isWindow=_,m.camelCase=Ce,m.type=A,m.now=Date.now,m.isNumeric=function(y){var T=m.type(y);return(T==="number"||T==="string")&&!isNaN(y-parseFloat(y))},m.trim=function(y){return y==null?"":(y+"").replace(Vo,"$1")};var lo=t.jQuery,co=t.$;return m.noConflict=function(y){return t.$===m&&(t.$=co),y&&t.jQuery===m&&(t.jQuery=lo),m},typeof r>"u"&&(t.jQuery=t.$=m),m})})(nm)),nm.exports}var xpe=kee();const du=jn(xpe);var ro="top",Xo="bottom",Qo="right",no="left",Gy="auto",ah=[ro,Xo,Qo,no],Yc="start",Id="end",Dee="clippingParents",cP="viewport",pd="popper",Lee="reference",wO=ah.reduce(function(e,t){return e.concat([t+"-"+Yc,t+"-"+Id])},[]),fP=[].concat(ah,[Gy]).reduce(function(e,t){return e.concat([t,t+"-"+Yc,t+"-"+Id])},[]),Nee="beforeRead",Mee="read",$ee="afterRead",Fee="beforeMain",jee="main",Uee="afterMain",qee="beforeWrite",Vee="write",Hee="afterWrite",Bee=[Nee,Mee,$ee,Fee,jee,Uee,qee,Vee,Hee];function gu(e){return e?(e.nodeName||"").toLowerCase():null}function Zo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xc(e){var t=Zo(e).Element;return e instanceof t||e instanceof Element}function Rs(e){var t=Zo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dP(e){if(typeof ShadowRoot>"u")return!1;var t=Zo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ope(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];!Rs(o)||!gu(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Ipe(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]),s=a.reduce(function(l,c){return l[c]="",l},{});!Rs(i)||!gu(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const hP={name:"applyStyles",enabled:!0,phase:"write",fn:Ope,effect:Ipe,requires:["computeStyles"]};function hu(e){return e.split("-")[0]}var Bc=Math.max,Rm=Math.min,Pd=Math.round;function bO(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zee(){return!/^((?!chrome|android).)*safari/i.test(bO())}function kd(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Rs(e)&&(i=e.offsetWidth>0&&Pd(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Pd(n.height)/e.offsetHeight||1);var a=Xc(e)?Zo(e):window,s=a.visualViewport,l=!zee()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,d=(n.top+(l&&s?s.offsetTop:0))/o,h=n.width/i,p=n.height/o;return{width:h,height:p,top:d,right:c+h,bottom:d+p,left:c,x:c,y:d}}function pP(e){var t=kd(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 Wee(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&dP(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function tl(e){return Zo(e).getComputedStyle(e)}function Ppe(e){return["table","td","th"].indexOf(gu(e))>=0}function Ql(e){return((Xc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ky(e){return gu(e)==="html"?e:e.assignedSlot||e.parentNode||(dP(e)?e.host:null)||Ql(e)}function qB(e){return!Rs(e)||tl(e).position==="fixed"?null:e.offsetParent}function kpe(e){var t=/firefox/i.test(bO()),r=/Trident/i.test(bO());if(r&&Rs(e)){var n=tl(e);if(n.position==="fixed")return null}var i=Ky(e);for(dP(i)&&(i=i.host);Rs(i)&&["html","body"].indexOf(gu(i))<0;){var o=tl(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 ev(e){for(var t=Zo(e),r=qB(e);r&&Ppe(r)&&tl(r).position==="static";)r=qB(r);return r&&(gu(r)==="html"||gu(r)==="body"&&tl(r).position==="static")?t:r||kpe(e)||t}function vP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dp(e,t,r){return Bc(e,Rm(t,r))}function Dpe(e,t,r){var n=dp(e,t,r);return n>r?r:n}function Gee(){return{top:0,right:0,bottom:0,left:0}}function Kee(e){return Object.assign({},Gee(),e)}function Yee(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Lpe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Kee(typeof t!="number"?t:Yee(t,ah))};function Npe(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=hu(r.placement),l=vP(s),c=[no,Qo].indexOf(s)>=0,d=c?"height":"width";if(!(!o||!a)){var h=Lpe(i.padding,r),p=pP(o),g=l==="y"?ro:no,S=l==="y"?Xo:Qo,E=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],_=a[l]-r.rects.reference[l],w=ev(o),b=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,x=E/2-_/2,A=h[g],R=b-p[d]-h[S],O=b/2-p[d]/2+x,m=dp(A,O,R),k=l;r.modifiersData[n]=(t={},t[k]=m,t.centerOffset=m-O,t)}}function Mpe(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)||Wee(t.elements.popper,i)&&(t.elements.arrow=i))}const gP={name:"arrow",enabled:!0,phase:"main",fn:Npe,effect:Mpe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dd(e){return e.split("-")[1]}var $pe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fpe(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Pd(r*i)/i||0,y:Pd(n*i)/i||0}}function VB(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=a.x,g=p===void 0?0:p,S=a.y,E=S===void 0?0:S,_=typeof d=="function"?d({x:g,y:E}):{x:g,y:E};g=_.x,E=_.y;var w=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=no,A=ro,R=window;if(c){var O=ev(r),m="clientHeight",k="clientWidth";if(O===Zo(r)&&(O=Ql(r),tl(O).position!=="static"&&s==="absolute"&&(m="scrollHeight",k="scrollWidth")),O=O,i===ro||(i===no||i===Qo)&&o===Id){A=Xo;var D=h&&O===R&&R.visualViewport?R.visualViewport.height:O[m];E-=D-n.height,E*=l?1:-1}if(i===no||(i===ro||i===Xo)&&o===Id){x=Qo;var V=h&&O===R&&R.visualViewport?R.visualViewport.width:O[k];g-=V-n.width,g*=l?1:-1}}var F=Object.assign({position:s},c&&$pe),G=d===!0?Fpe({x:g,y:E},Zo(r)):{x:g,y:E};if(g=G.x,E=G.y,l){var Y;return Object.assign({},F,(Y={},Y[A]=b?"0":"",Y[x]=w?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+E+"px)":"translate3d("+g+"px, "+E+"px, 0)",Y))}return Object.assign({},F,(t={},t[A]=b?E+"px":"",t[x]=w?g+"px":"",t.transform="",t))}function jpe(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,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:hu(t.placement),variation:Dd(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,VB(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,VB(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Yy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jpe,data:{}};var Sg={passive:!0};function Upe(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,s=a===void 0?!0:a,l=Zo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",r.update,Sg)}),s&&l.addEventListener("resize",r.update,Sg),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Sg)}),s&&l.removeEventListener("resize",r.update,Sg)}}const Xy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Upe,data:{}};var qpe={left:"right",right:"left",bottom:"top",top:"bottom"};function im(e){return e.replace(/left|right|bottom|top/g,function(t){return qpe[t]})}var Vpe={start:"end",end:"start"};function HB(e){return e.replace(/start|end/g,function(t){return Vpe[t]})}function mP(e){var t=Zo(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function yP(e){return kd(Ql(e)).left+mP(e).scrollLeft}function Hpe(e,t){var r=Zo(e),n=Ql(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=zee();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+yP(e),y:l}}function Bpe(e){var t,r=Ql(e),n=mP(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Bc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Bc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+yP(e),l=-n.scrollTop;return tl(i||r).direction==="rtl"&&(s+=Bc(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function _P(e){var t=tl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Xee(e){return["html","body","#document"].indexOf(gu(e))>=0?e.ownerDocument.body:Rs(e)&&_P(e)?e:Xee(Ky(e))}function hp(e,t){var r;t===void 0&&(t=[]);var n=Xee(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Zo(n),a=i?[o].concat(o.visualViewport||[],_P(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(hp(Ky(a)))}function CO(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zpe(e,t){var r=kd(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 BB(e,t,r){return t===cP?CO(Hpe(e,r)):Xc(t)?zpe(t,r):CO(Bpe(Ql(e)))}function Wpe(e){var t=hp(Ky(e)),r=["absolute","fixed"].indexOf(tl(e).position)>=0,n=r&&Rs(e)?ev(e):e;return Xc(n)?t.filter(function(i){return Xc(i)&&Wee(i,n)&&gu(i)!=="body"}):[]}function Gpe(e,t,r,n){var i=t==="clippingParents"?Wpe(e):[].concat(t),o=[].concat(i,[r]),a=o[0],s=o.reduce(function(l,c){var d=BB(e,c,n);return l.top=Bc(d.top,l.top),l.right=Rm(d.right,l.right),l.bottom=Rm(d.bottom,l.bottom),l.left=Bc(d.left,l.left),l},BB(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Qee(e){var t=e.reference,r=e.element,n=e.placement,i=n?hu(n):null,o=n?Dd(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case ro:l={x:a,y:t.y-r.height};break;case Xo:l={x:a,y:t.y+t.height};break;case Qo:l={x:t.x+t.width,y:s};break;case no:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?vP(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case Yc:l[c]=l[c]-(t[d]/2-r[d]/2);break;case Id:l[c]=l[c]+(t[d]/2-r[d]/2);break}}return l}function Ld(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,s=r.boundary,l=s===void 0?Dee:s,c=r.rootBoundary,d=c===void 0?cP:c,h=r.elementContext,p=h===void 0?pd:h,g=r.altBoundary,S=g===void 0?!1:g,E=r.padding,_=E===void 0?0:E,w=Kee(typeof _!="number"?_:Yee(_,ah)),b=p===pd?Lee:pd,x=e.rects.popper,A=e.elements[S?b:p],R=Gpe(Xc(A)?A:A.contextElement||Ql(e.elements.popper),l,d,a),O=kd(e.elements.reference),m=Qee({reference:O,element:x,placement:i}),k=CO(Object.assign({},x,m)),D=p===pd?k:O,V={top:R.top-D.top+w.top,bottom:D.bottom-R.bottom+w.bottom,left:R.left-D.left+w.left,right:D.right-R.right+w.right},F=e.modifiersData.offset;if(p===pd&&F){var G=F[i];Object.keys(V).forEach(function(Y){var X=[Qo,Xo].indexOf(Y)>=0?1:-1,J=[ro,Xo].indexOf(Y)>=0?"y":"x";V[Y]+=G[J]*X})}return V}function Kpe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?fP:l,d=Dd(n),h=d?s?wO:wO.filter(function(S){return Dd(S)===d}):ah,p=h.filter(function(S){return c.indexOf(S)>=0});p.length===0&&(p=h);var g=p.reduce(function(S,E){return S[E]=Ld(e,{placement:E,boundary:i,rootBoundary:o,padding:a})[hu(E)],S},{});return Object.keys(g).sort(function(S,E){return g[S]-g[E]})}function Ype(e){if(hu(e)===Gy)return[];var t=im(e);return[HB(e),t,HB(t)]}function Xpe(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,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,d=r.boundary,h=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,S=g===void 0?!0:g,E=r.allowedAutoPlacements,_=t.options.placement,w=hu(_),b=w===_,x=l||(b||!S?[im(_)]:Ype(_)),A=[_].concat(x).reduce(function(Se,Ae){return Se.concat(hu(Ae)===Gy?Kpe(t,{placement:Ae,boundary:d,rootBoundary:h,padding:c,flipVariations:S,allowedAutoPlacements:E}):Ae)},[]),R=t.rects.reference,O=t.rects.popper,m=new Map,k=!0,D=A[0],V=0;V<A.length;V++){var F=A[V],G=hu(F),Y=Dd(F)===Yc,X=[ro,Xo].indexOf(G)>=0,J=X?"width":"height",Z=Ld(t,{placement:F,boundary:d,rootBoundary:h,altBoundary:p,padding:c}),ue=X?Y?Qo:no:Y?Xo:ro;R[J]>O[J]&&(ue=im(ue));var H=im(ue),L=[];if(o&&L.push(Z[G]<=0),s&&L.push(Z[ue]<=0,Z[H]<=0),L.every(function(Se){return Se})){D=F,k=!1;break}m.set(F,L)}if(k)for(var j=S?3:1,te=function(Ae){var se=A.find(function(I){var P=m.get(I);if(P)return P.slice(0,Ae).every(function(q){return q})});if(se)return D=se,"break"},ee=j;ee>0;ee--){var de=te(ee);if(de==="break")break}t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}const SP={name:"flip",enabled:!0,phase:"main",fn:Xpe,requiresIfExists:["offset"],data:{_skip:!1}};function zB(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 WB(e){return[ro,Qo,Xo,no].some(function(t){return e[t]>=0})}function Qpe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Ld(t,{elementContext:"reference"}),s=Ld(t,{altBoundary:!0}),l=zB(a,n),c=zB(s,i,o),d=WB(l),h=WB(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const EP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Qpe};function Zpe(e,t,r){var n=hu(e),i=[no,ro].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[no,Qo].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Jpe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=fP.reduce(function(d,h){return d[h]=Zpe(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const wP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jpe};function eve(e){var t=e.state,r=e.name;t.modifiersData[r]=Qee({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Qy={name:"popperOffsets",enabled:!0,phase:"read",fn:eve,data:{}};function tve(e){return e==="x"?"y":"x"}function rve(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,h=r.padding,p=r.tether,g=p===void 0?!0:p,S=r.tetherOffset,E=S===void 0?0:S,_=Ld(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),w=hu(t.placement),b=Dd(t.placement),x=!b,A=vP(w),R=tve(A),O=t.modifiersData.popperOffsets,m=t.rects.reference,k=t.rects.popper,D=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,V=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(O){if(o){var Y,X=A==="y"?ro:no,J=A==="y"?Xo:Qo,Z=A==="y"?"height":"width",ue=O[A],H=ue+_[X],L=ue-_[J],j=g?-k[Z]/2:0,te=b===Yc?m[Z]:k[Z],ee=b===Yc?-k[Z]:-m[Z],de=t.elements.arrow,Se=g&&de?pP(de):{width:0,height:0},Ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gee(),se=Ae[X],I=Ae[J],P=dp(0,m[Z],Se[Z]),q=x?m[Z]/2-j-P-se-V.mainAxis:te-P-se-V.mainAxis,N=x?-m[Z]/2+j+P+I+V.mainAxis:ee+P+I+V.mainAxis,B=t.elements.arrow&&ev(t.elements.arrow),re=B?A==="y"?B.clientTop||0:B.clientLeft||0:0,ce=(Y=F==null?void 0:F[A])!=null?Y:0,we=ue+q-ce-re,_e=ue+N-ce,Oe=dp(g?Rm(H,we):H,ue,g?Bc(L,_e):L);O[A]=Oe,G[A]=Oe-ue}if(s){var Te,Ie=A==="x"?ro:no,$e=A==="x"?Xo:Qo,ge=O[R],be=R==="y"?"height":"width",Ce=ge+_[Ie],Le=ge-_[$e],Ve=[ro,no].indexOf(w)!==-1,qe=(Te=F==null?void 0:F[R])!=null?Te:0,Ge=Ve?Ce:ge-m[be]-k[be]-qe+V.altAxis,ct=Ve?ge+m[be]+k[be]-qe-V.altAxis:Le,jt=g&&Ve?Dpe(Ge,ge,ct):dp(g?Ge:Ce,ge,g?ct:Le);O[R]=jt,G[R]=jt-ge}t.modifiersData[n]=G}}const bP={name:"preventOverflow",enabled:!0,phase:"main",fn:rve,requiresIfExists:["offset"]};function nve(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ive(e){return e===Zo(e)||!Rs(e)?mP(e):nve(e)}function ave(e){var t=e.getBoundingClientRect(),r=Pd(t.width)/e.offsetWidth||1,n=Pd(t.height)/e.offsetHeight||1;return r!==1||n!==1}function ove(e,t,r){r===void 0&&(r=!1);var n=Rs(t),i=Rs(t)&&ave(t),o=Ql(t),a=kd(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((gu(t)!=="body"||_P(o))&&(s=ive(t)),Rs(t)?(l=kd(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=yP(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function sve(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(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function uve(e){var t=sve(e);return Bee.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function lve(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function cve(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 GB={placement:"bottom",modifiers:[],strategy:"absolute"};function KB(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function tv(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?GB:i;return function(s,l,c){c===void 0&&(c=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},GB,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},h=[],p=!1,g={state:d,setOptions:function(w){var b=typeof w=="function"?w(d.options):w;E(),d.options=Object.assign({},o,d.options,b),d.scrollParents={reference:Xc(s)?hp(s):s.contextElement?hp(s.contextElement):[],popper:hp(l)};var x=uve(cve([].concat(n,d.options.modifiers)));return d.orderedModifiers=x.filter(function(A){return A.enabled}),S(),g.update()},forceUpdate:function(){if(!p){var w=d.elements,b=w.reference,x=w.popper;if(KB(b,x)){d.rects={reference:ove(b,ev(x),d.options.strategy==="fixed"),popper:pP(x)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(V){return d.modifiersData[V.name]=Object.assign({},V.data)});for(var A=0;A<d.orderedModifiers.length;A++){if(d.reset===!0){d.reset=!1,A=-1;continue}var R=d.orderedModifiers[A],O=R.fn,m=R.options,k=m===void 0?{}:m,D=R.name;typeof O=="function"&&(d=O({state:d,options:k,name:D,instance:g})||d)}}}},update:lve(function(){return new Promise(function(_){g.forceUpdate(),_(d)})}),destroy:function(){E(),p=!0}};if(!KB(s,l))return g;g.setOptions(c).then(function(_){!p&&c.onFirstUpdate&&c.onFirstUpdate(_)});function S(){d.orderedModifiers.forEach(function(_){var w=_.name,b=_.options,x=b===void 0?{}:b,A=_.effect;if(typeof A=="function"){var R=A({state:d,name:w,instance:g,options:x}),O=function(){};h.push(R||O)}})}function E(){h.forEach(function(_){return _()}),h=[]}return g}}var fve=tv(),dve=[Xy,Qy,Yy,hP],hve=tv({defaultModifiers:dve}),pve=[Xy,Qy,Yy,hP,wP,SP,bP,gP,EP],CP=tv({defaultModifiers:pve});const Zee=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Uee,afterRead:$ee,afterWrite:Hee,applyStyles:hP,arrow:gP,auto:Gy,basePlacements:ah,beforeMain:Fee,beforeRead:Nee,beforeWrite:qee,bottom:Xo,clippingParents:Dee,computeStyles:Yy,createPopper:CP,createPopperBase:fve,createPopperLite:hve,detectOverflow:Ld,end:Id,eventListeners:Xy,flip:SP,hide:EP,left:no,main:jee,modifierPhases:Bee,offset:wP,placements:fP,popper:pd,popperGenerator:tv,popperOffsets:Qy,preventOverflow:bP,read:Mee,reference:Lee,right:Qo,start:Yc,top:ro,variationPlacements:wO,viewport:cP,write:Vee},Symbol.toStringTag,{value:"Module"})),xl=new Map,dC={set(e,t,r){xl.has(e)||xl.set(e,new Map);const n=xl.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 xl.has(e)&&xl.get(e).get(t)||null},remove(e,t){if(!xl.has(e))return;const r=xl.get(e);r.delete(t),r.size===0&&xl.delete(e)}},vve=1e6,gve=1e3,TO="transitionend",Jee=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),mve=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),yve=e=>{do e+=Math.floor(Math.random()*vve);while(document.getElementById(e));return e},_ve=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))*gve)},ete=e=>{e.dispatchEvent(new Event(TO))},Xu=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Hl=e=>Xu(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Jee(e)):null,oh=e=>{if(!Xu(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},Bl=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",tte=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?tte(e.parentNode):null},xm=()=>{},rv=e=>{e.offsetHeight},rte=()=>du&&!document.body.hasAttribute("data-bs-no-jquery")?du:null,hC=[],Sve=e=>{document.readyState==="loading"?(hC.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of hC)t()}),hC.push(e)):e()},xs=()=>document.documentElement.dir==="rtl",Ds=e=>{Sve(()=>{const t=rte();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)}})},To=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,nte=(e,t,r=!0)=>{if(!r){To(e);return}const i=_ve(t)+5;let o=!1;const a=({target:s})=>{s===t&&(o=!0,t.removeEventListener(TO,a),To(e))};t.addEventListener(TO,a),setTimeout(()=>{o||ete(t)},i)},TP=(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))])},Eve=/[^.]*(?=\..*)\.|.*/,wve=/\..*/,bve=/::\d+$/,pC={};let YB=1;const ite={mouseenter:"mouseover",mouseleave:"mouseout"},Cve=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 ate(e,t){return t&&`${t}::${YB++}`||e.uidEvent||YB++}function ote(e){const t=ate(e);return e.uidEvent=t,pC[t]=pC[t]||{},pC[t]}function Tve(e,t){return function r(n){return AP(n,{delegateTarget:e}),r.oneOff&&Ut.off(e,n.type,t),t.apply(e,[n])}}function Ave(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 s of o)if(s===a)return AP(i,{delegateTarget:a}),n.oneOff&&Ut.off(e,i.type,t,r),r.apply(a,[i])}}function ste(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function ute(e,t,r){const n=typeof t=="string",i=n?r:t||r;let o=lte(e);return Cve.has(o)||(o=e),[n,i,o]}function XB(e,t,r,n,i){if(typeof t!="string"||!e)return;let[o,a,s]=ute(t,r,n);t in ite&&(a=(S=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return S.call(this,E)})(a));const l=ote(e),c=l[s]||(l[s]={}),d=ste(c,a,o?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=ate(a,t.replace(Eve,"")),p=o?Ave(e,r,a):Tve(e,a);p.delegationSelector=o?r:null,p.callable=a,p.oneOff=i,p.uidEvent=h,c[h]=p,e.addEventListener(s,p,o)}function AO(e,t,r,n,i){const o=ste(t[r],n,i);o&&(e.removeEventListener(r,o,!!i),delete t[r][o.uidEvent])}function Rve(e,t,r,n){const i=t[r]||{};for(const[o,a]of Object.entries(i))o.includes(n)&&AO(e,t,r,a.callable,a.delegationSelector)}function lte(e){return e=e.replace(wve,""),ite[e]||e}const Ut={on(e,t,r,n){XB(e,t,r,n,!1)},one(e,t,r,n){XB(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,o,a]=ute(t,r,n),s=a!==t,l=ote(e),c=l[a]||{},d=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(c).length)return;AO(e,l,a,o,i?r:null);return}if(d)for(const h of Object.keys(l))Rve(e,l,h,t.slice(1));for(const[h,p]of Object.entries(c)){const g=h.replace(bve,"");(!s||t.includes(g))&&AO(e,l,a,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=rte(),i=lte(t),o=t!==i;let a=null,s=!0,l=!0,c=!1;o&&n&&(a=n.Event(t,r),n(e).trigger(a),s=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());const d=AP(new Event(t,{bubbles:s,cancelable:!0}),r);return c&&d.preventDefault(),l&&e.dispatchEvent(d),d.defaultPrevented&&a&&a.preventDefault(),d}};function AP(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 QB(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 vC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Qu={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${vC(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${vC(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]=QB(e.dataset[n])}return t},getDataAttribute(e,t){return QB(e.getAttribute(`data-bs-${vC(t)}`))}};class nv{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=Xu(r)?Qu.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...Xu(r)?Qu.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const o=t[n],a=Xu(o)?"element":mve(o);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${i}".`)}}}const xve="5.3.2";class Qs extends nv{constructor(t,r){super(),t=Hl(t),t&&(this._element=t,this._config=this._getConfig(r),dC.set(this._element,this.constructor.DATA_KEY,this))}dispose(){dC.remove(this._element,this.constructor.DATA_KEY),Ut.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){nte(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return dC.get(Hl(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return xve}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 gC=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!=="#"?Jee(r.trim()):null}return t},kr={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!Bl(r)&&oh(r))},getSelectorFromElement(e){const t=gC(e);return t&&kr.findOne(t)?t:null},getElementFromSelector(e){const t=gC(e);return t?kr.findOne(t):null},getMultipleElementsFromSelector(e){const t=gC(e);return t?kr.find(t):[]}},Zy=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ut.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Bl(this))return;const o=kr.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(o)[t]()})},Ove="alert",Ive="bs.alert",cte=`.${Ive}`,Pve=`close${cte}`,kve=`closed${cte}`,Dve="fade",Lve="show";let fte=class dte extends Qs{static get NAME(){return Ove}close(){if(Ut.trigger(this._element,Pve).defaultPrevented)return;this._element.classList.remove(Lve);const r=this._element.classList.contains(Dve);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ut.trigger(this._element,kve),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=dte.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)}})}};Zy(fte,"close");Ds(fte);const Nve="button",Mve="bs.button",$ve=`.${Mve}`,Fve=".data-api",jve="active",ZB='[data-bs-toggle="button"]',Uve=`click${$ve}${Fve}`;let hte=class pte extends Qs{static get NAME(){return Nve}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(jve))}static jQueryInterface(t){return this.each(function(){const r=pte.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Ut.on(document,Uve,ZB,e=>{e.preventDefault();const t=e.target.closest(ZB);hte.getOrCreateInstance(t).toggle()});Ds(hte);const qve="swipe",sh=".bs.swipe",Vve=`touchstart${sh}`,Hve=`touchmove${sh}`,Bve=`touchend${sh}`,zve=`pointerdown${sh}`,Wve=`pointerup${sh}`,Gve="touch",Kve="pen",Yve="pointer-event",Xve=40,Qve={endCallback:null,leftCallback:null,rightCallback:null},Zve={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Om extends nv{constructor(t,r){super(),this._element=t,!(!t||!Om.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Qve}static get DefaultType(){return Zve}static get NAME(){return qve}dispose(){Ut.off(this._element,sh)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),To(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<=Xve)return;const r=t/this._deltaX;this._deltaX=0,r&&To(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ut.on(this._element,zve,t=>this._start(t)),Ut.on(this._element,Wve,t=>this._end(t)),this._element.classList.add(Yve)):(Ut.on(this._element,Vve,t=>this._start(t)),Ut.on(this._element,Hve,t=>this._move(t)),Ut.on(this._element,Bve,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Kve||t.pointerType===Gve)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Jve="carousel",ege="bs.carousel",Zl=`.${ege}`,vte=".data-api",tge="ArrowLeft",rge="ArrowRight",nge=500,Bh="next",td="prev",vd="left",am="right",ige=`slide${Zl}`,mC=`slid${Zl}`,age=`keydown${Zl}`,oge=`mouseenter${Zl}`,sge=`mouseleave${Zl}`,uge=`dragstart${Zl}`,lge=`load${Zl}${vte}`,cge=`click${Zl}${vte}`,gte="carousel",Eg="active",fge="slide",dge="carousel-item-end",hge="carousel-item-start",pge="carousel-item-next",vge="carousel-item-prev",mte=".active",yte=".carousel-item",gge=mte+yte,mge=".carousel-item img",yge=".carousel-indicators",_ge="[data-bs-slide], [data-bs-slide-to]",Sge='[data-bs-ride="carousel"]',Ege={[tge]:am,[rge]:vd},wge={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},bge={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class iv extends Qs{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=kr.findOne(yge,this._element),this._addEventListeners(),this._config.ride===gte&&this.cycle()}static get Default(){return wge}static get DefaultType(){return bge}static get NAME(){return Jve}next(){this._slide(Bh)}nextWhenVisible(){!document.hidden&&oh(this._element)&&this.next()}prev(){this._slide(td)}pause(){this._isSliding&&ete(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){Ut.one(this._element,mC,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Ut.one(this._element,mC,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Bh:td;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&&Ut.on(this._element,age,t=>this._keydown(t)),this._config.pause==="hover"&&(Ut.on(this._element,oge,()=>this.pause()),Ut.on(this._element,sge,()=>this._maybeEnableCycle())),this._config.touch&&Om.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of kr.find(mge,this._element))Ut.on(n,uge,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(vd)),rightCallback:()=>this._slide(this._directionToOrder(am)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),nge+this._config.interval))}};this._swipeHelper=new Om(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Ege[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=kr.findOne(mte,this._indicatorsElement);r.classList.remove(Eg),r.removeAttribute("aria-current");const n=kr.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Eg),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),i=t===Bh,o=r||TP(this._getItems(),n,i,this._config.wrap);if(o===n)return;const a=this._getItemIndex(o),s=g=>Ut.trigger(this._element,g,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:a});if(s(ige).defaultPrevented||!n||!o)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=o;const d=i?hge:dge,h=i?pge:vge;o.classList.add(h),rv(o),n.classList.add(d),o.classList.add(d);const p=()=>{o.classList.remove(d,h),o.classList.add(Eg),n.classList.remove(Eg,h,d),this._isSliding=!1,s(mC)};this._queueCallback(p,n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(fge)}_getActive(){return kr.findOne(gge,this._element)}_getItems(){return kr.find(yte,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return xs()?t===vd?td:Bh:t===vd?Bh:td}_orderToDirection(t){return xs()?t===td?vd:am:t===td?am:vd}static jQueryInterface(t){return this.each(function(){const r=iv.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ut.on(document,cge,_ge,function(e){const t=kr.getElementFromSelector(this);if(!t||!t.classList.contains(gte))return;e.preventDefault();const r=iv.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(Qu.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ut.on(window,lge,()=>{const e=kr.find(Sge);for(const t of e)iv.getOrCreateInstance(t)});Ds(iv);const Cge="collapse",Tge="bs.collapse",av=`.${Tge}`,Age=".data-api",Rge=`show${av}`,xge=`shown${av}`,Oge=`hide${av}`,Ige=`hidden${av}`,Pge=`click${av}${Age}`,yC="show",Ed="collapse",wg="collapsing",kge="collapsed",Dge=`:scope .${Ed} .${Ed}`,Lge="collapse-horizontal",Nge="width",Mge="height",$ge=".collapse.show, .collapse.collapsing",RO='[data-bs-toggle="collapse"]',Fge={parent:null,toggle:!0},jge={parent:"(null|element)",toggle:"boolean"};class Tp extends Qs{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=kr.find(RO);for(const i of n){const o=kr.getSelectorFromElement(i),a=kr.find(o).filter(s=>s===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 Fge}static get DefaultType(){return jge}static get NAME(){return Cge}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren($ge).filter(s=>s!==this._element).map(s=>Tp.getOrCreateInstance(s,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ut.trigger(this._element,Rge).defaultPrevented)return;for(const s of t)s.hide();const n=this._getDimension();this._element.classList.remove(Ed),this._element.classList.add(wg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(wg),this._element.classList.add(Ed,yC),this._element.style[n]="",Ut.trigger(this._element,xge)},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()||Ut.trigger(this._element,Oge).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,rv(this._element),this._element.classList.add(wg),this._element.classList.remove(Ed,yC);for(const i of this._triggerArray){const o=kr.getElementFromSelector(i);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(wg),this._element.classList.add(Ed),Ut.trigger(this._element,Ige)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(yC)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Hl(t.parent),t}_getDimension(){return this._element.classList.contains(Lge)?Nge:Mge}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(RO);for(const r of t){const n=kr.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=kr.find(Dge,this._config.parent);return kr.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(kge,!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=Tp.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ut.on(document,Pge,RO,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of kr.getMultipleElementsFromSelector(this))Tp.getOrCreateInstance(t,{toggle:!1}).toggle()});Ds(Tp);const JB="dropdown",Uge="bs.dropdown",yf=`.${Uge}`,RP=".data-api",qge="Escape",ez="Tab",Vge="ArrowUp",tz="ArrowDown",Hge=2,Bge=`hide${yf}`,zge=`hidden${yf}`,Wge=`show${yf}`,Gge=`shown${yf}`,_te=`click${yf}${RP}`,Ste=`keydown${yf}${RP}`,Kge=`keyup${yf}${RP}`,gd="show",Yge="dropup",Xge="dropend",Qge="dropstart",Zge="dropup-center",Jge="dropdown-center",$c='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',eme=`${$c}.${gd}`,om=".dropdown-menu",tme=".navbar",rme=".navbar-nav",nme=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ime=xs()?"top-end":"top-start",ame=xs()?"top-start":"top-end",ome=xs()?"bottom-end":"bottom-start",sme=xs()?"bottom-start":"bottom-end",ume=xs()?"left-start":"right-start",lme=xs()?"right-start":"left-start",cme="top",fme="bottom",dme={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},hme={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let uh=class sm extends Qs{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=kr.next(this._element,om)[0]||kr.prev(this._element,om)[0]||kr.findOne(om,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return dme}static get DefaultType(){return hme}static get NAME(){return JB}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Bl(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ut.trigger(this._element,Wge,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(rme))for(const n of[].concat(...document.body.children))Ut.on(n,"mouseover",xm);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(gd),this._element.classList.add(gd),Ut.trigger(this._element,Gge,t)}}hide(){if(Bl(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(!Ut.trigger(this._element,Bge,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ut.off(n,"mouseover",xm);this._popper&&this._popper.destroy(),this._menu.classList.remove(gd),this._element.classList.remove(gd),this._element.setAttribute("aria-expanded","false"),Qu.removeDataAttribute(this._menu,"popper"),Ut.trigger(this._element,zge,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Xu(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${JB.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Zee>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Xu(this._config.reference)?t=Hl(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=CP(t,this._menu,r)}_isShown(){return this._menu.classList.contains(gd)}_getPlacement(){const t=this._parent;if(t.classList.contains(Xge))return ume;if(t.classList.contains(Qge))return lme;if(t.classList.contains(Zge))return cme;if(t.classList.contains(Jge))return fme;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Yge)?r?ame:ime:r?sme:ome}_detectNavbar(){return this._element.closest(tme)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qu.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...To(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=kr.find(nme,this._menu).filter(i=>oh(i));n.length&&TP(n,r,t===tz,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=sm.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===Hge||t.type==="keyup"&&t.key!==ez)return;const r=kr.find(eme);for(const n of r){const i=sm.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===ez||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const s={relatedTarget:i._element};t.type==="click"&&(s.clickEvent=t),i._completeHide(s)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===qge,i=[Vge,tz].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const o=this.matches($c)?this:kr.prev(this,$c)[0]||kr.next(this,$c)[0]||kr.findOne($c,t.delegateTarget.parentNode),a=sm.getOrCreateInstance(o);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),o.focus())}};Ut.on(document,Ste,$c,uh.dataApiKeydownHandler);Ut.on(document,Ste,om,uh.dataApiKeydownHandler);Ut.on(document,_te,uh.clearMenus);Ut.on(document,Kge,uh.clearMenus);Ut.on(document,_te,$c,function(e){e.preventDefault(),uh.getOrCreateInstance(this).toggle()});Ds(uh);const Ete="backdrop",pme="fade",rz="show",nz=`mousedown.bs.${Ete}`,vme={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},gme={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wte extends nv{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return vme}static get DefaultType(){return gme}static get NAME(){return Ete}show(t){if(!this._config.isVisible){To(t);return}this._append();const r=this._getElement();this._config.isAnimated&&rv(r),r.classList.add(rz),this._emulateAnimation(()=>{To(t)})}hide(t){if(!this._config.isVisible){To(t);return}this._getElement().classList.remove(rz),this._emulateAnimation(()=>{this.dispose(),To(t)})}dispose(){this._isAppended&&(Ut.off(this._element,nz),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(pme),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Hl(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ut.on(t,nz,()=>{To(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){nte(t,this._getElement(),this._config.isAnimated)}}const mme="focustrap",yme="bs.focustrap",Im=`.${yme}`,_me=`focusin${Im}`,Sme=`keydown.tab${Im}`,Eme="Tab",wme="forward",iz="backward",bme={autofocus:!0,trapElement:null},Cme={autofocus:"boolean",trapElement:"element"};class bte extends nv{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return bme}static get DefaultType(){return Cme}static get NAME(){return mme}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ut.off(document,Im),Ut.on(document,_me,t=>this._handleFocusin(t)),Ut.on(document,Sme,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ut.off(document,Im))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=kr.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===iz?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===Eme&&(this._lastTabNavDirection=t.shiftKey?iz:wme)}}const az=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oz=".sticky-top",bg="padding-right",sz="margin-right";class xO{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,bg,r=>r+t),this._setElementAttributes(az,bg,r=>r+t),this._setElementAttributes(oz,sz,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bg),this._resetElementAttributes(az,bg),this._resetElementAttributes(oz,sz)}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 s=window.getComputedStyle(a).getPropertyValue(r);a.style.setProperty(r,`${n(Number.parseFloat(s))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&Qu.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const o=Qu.getDataAttribute(i,r);if(o===null){i.style.removeProperty(r);return}Qu.removeDataAttribute(i,r),i.style.setProperty(r,o)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(Xu(t)){r(t);return}for(const n of kr.find(t,this._element))r(n)}}const Tme="modal",Ame="bs.modal",Os=`.${Ame}`,Rme=".data-api",xme="Escape",Ome=`hide${Os}`,Ime=`hidePrevented${Os}`,Cte=`hidden${Os}`,Tte=`show${Os}`,Pme=`shown${Os}`,kme=`resize${Os}`,Dme=`click.dismiss${Os}`,Lme=`mousedown.dismiss${Os}`,Nme=`keydown.dismiss${Os}`,Mme=`click${Os}${Rme}`,uz="modal-open",$me="fade",lz="show",_C="modal-static",Fme=".modal.show",jme=".modal-dialog",Ume=".modal-body",qme='[data-bs-toggle="modal"]',Vme={backdrop:!0,focus:!0,keyboard:!0},Hme={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let Pm=class Ate extends Qs{constructor(t,r){super(t,r),this._dialog=kr.findOne(jme,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xO,this._addEventListeners()}static get Default(){return Vme}static get DefaultType(){return Hme}static get NAME(){return Tme}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ut.trigger(this._element,Tte,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(uz),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ut.trigger(this._element,Ome).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(lz),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ut.off(window,Os),Ut.off(this._dialog,Os),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wte({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new bte({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=kr.findOne(Ume,this._dialog);r&&(r.scrollTop=0),rv(this._element),this._element.classList.add(lz);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ut.trigger(this._element,Pme,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ut.on(this._element,Nme,t=>{if(t.key===xme){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ut.on(window,kme,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ut.on(this._element,Lme,t=>{Ut.one(this._element,Dme,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(uz),this._resetAdjustments(),this._scrollBar.reset(),Ut.trigger(this._element,Cte)})}_isAnimated(){return this._element.classList.contains($me)}_triggerBackdropTransition(){if(Ut.trigger(this._element,Ime).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(_C)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(_C),this._queueCallback(()=>{this._element.classList.remove(_C),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const i=xs()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=xs()?"paddingRight":"paddingLeft";this._element.style[i]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Ate.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};Ut.on(document,Mme,qme,function(e){const t=kr.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ut.one(t,Tte,i=>{i.defaultPrevented||Ut.one(t,Cte,()=>{oh(this)&&this.focus()})});const r=kr.findOne(Fme);r&&Pm.getInstance(r).hide(),Pm.getOrCreateInstance(t).toggle(this)});Zy(Pm);Ds(Pm);const Bme="offcanvas",zme="bs.offcanvas",cl=`.${zme}`,Rte=".data-api",Wme=`load${cl}${Rte}`,Gme="Escape",cz="show",fz="showing",dz="hiding",Kme="offcanvas-backdrop",xte=".offcanvas.show",Yme=`show${cl}`,Xme=`shown${cl}`,Qme=`hide${cl}`,hz=`hidePrevented${cl}`,Ote=`hidden${cl}`,Zme=`resize${cl}`,Jme=`click${cl}${Rte}`,eye=`keydown.dismiss${cl}`,tye='[data-bs-toggle="offcanvas"]',rye={backdrop:!0,keyboard:!0,scroll:!1},nye={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class zl extends Qs{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return rye}static get DefaultType(){return nye}static get NAME(){return Bme}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ut.trigger(this._element,Yme,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new xO().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(fz);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(cz),this._element.classList.remove(fz),Ut.trigger(this._element,Xme,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ut.trigger(this._element,Qme).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(dz),this._backdrop.hide();const r=()=>{this._element.classList.remove(cz,dz),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new xO().reset(),Ut.trigger(this._element,Ote)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ut.trigger(this._element,hz);return}this.hide()},r=!!this._config.backdrop;return new wte({className:Kme,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new bte({trapElement:this._element})}_addEventListeners(){Ut.on(this._element,eye,t=>{if(t.key===Gme){if(this._config.keyboard){this.hide();return}Ut.trigger(this._element,hz)}})}static jQueryInterface(t){return this.each(function(){const r=zl.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)}})}}Ut.on(document,Jme,tye,function(e){const t=kr.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Bl(this))return;Ut.one(t,Ote,()=>{oh(this)&&this.focus()});const r=kr.findOne(xte);r&&r!==t&&zl.getInstance(r).hide(),zl.getOrCreateInstance(t).toggle(this)});Ut.on(window,Wme,()=>{for(const e of kr.find(xte))zl.getOrCreateInstance(e).show()});Ut.on(window,Zme,()=>{for(const e of kr.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&zl.getOrCreateInstance(e).hide()});Zy(zl);Ds(zl);const iye=/^aria-[\w-]*$/i,Ite={"*":["class","dir","id","lang","role",iye],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:[]},aye=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),oye=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,sye=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?aye.has(r)?!!oye.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function uye(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 s=a.nodeName.toLowerCase();if(!Object.keys(t).includes(s)){a.remove();continue}const l=[].concat(...a.attributes),c=[].concat(t["*"]||[],t[s]||[]);for(const d of l)sye(d,c)||a.removeAttribute(d.nodeName)}return i.body.innerHTML}const lye="TemplateFactory",cye={allowList:Ite,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},fye={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},dye={entry:"(string|element|function|null)",selector:"(string|element)"};class hye extends nv{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return cye}static get DefaultType(){return fye}static get NAME(){return lye}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},dye)}_setContent(t,r,n){const i=kr.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(Xu(r)){this._putElementInTemplate(Hl(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?uye(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return To(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const pye="tooltip",vye=new Set(["sanitize","allowList","sanitizeFn"]),SC="fade",gye="modal",Cg="show",mye=".tooltip-inner",pz=`.${gye}`,vz="hide.bs.modal",zh="hover",EC="focus",yye="click",_ye="manual",Sye="hide",Eye="hidden",wye="show",bye="shown",Cye="inserted",Tye="click",Aye="focusin",Rye="focusout",xye="mouseenter",Oye="mouseleave",Iye={AUTO:"auto",TOP:"top",RIGHT:xs()?"left":"right",BOTTOM:"bottom",LEFT:xs()?"right":"left"},Pye={allowList:Ite,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"},kye={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 Jy=class Pte extends Qs{constructor(t,r){if(typeof Zee>"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 Pye}static get DefaultType(){return kye}static get NAME(){return pye}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),Ut.off(this._element.closest(pz),vz,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=Ut.trigger(this._element,this.constructor.eventName(wye)),n=(tte(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),Ut.trigger(this._element,this.constructor.eventName(Cye))),this._popper=this._createPopper(i),i.classList.add(Cg),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))Ut.on(s,"mouseover",xm);const a=()=>{Ut.trigger(this._element,this.constructor.eventName(bye)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ut.trigger(this._element,this.constructor.eventName(Sye)).defaultPrevented)return;if(this._getTipElement().classList.remove(Cg),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Ut.off(i,"mouseover",xm);this._activeTrigger[yye]=!1,this._activeTrigger[EC]=!1,this._activeTrigger[zh]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ut.trigger(this._element,this.constructor.eventName(Eye)))};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(SC,Cg),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=yve(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(SC),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new hye({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[mye]: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(SC)}_isShown(){return this.tip&&this.tip.classList.contains(Cg)}_createPopper(t){const r=To(this._config.placement,[this,t,this._element]),n=Iye[r.toUpperCase()];return CP(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 To(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,...To(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Ut.on(this._element,this.constructor.eventName(Tye),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==_ye){const n=r===zh?this.constructor.eventName(xye):this.constructor.eventName(Aye),i=r===zh?this.constructor.eventName(Oye):this.constructor.eventName(Rye);Ut.on(this._element,n,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusin"?EC:zh]=!0,a._enter()}),Ut.on(this._element,i,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusout"?EC:zh]=a._element.contains(o.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ut.on(this._element.closest(pz),vz,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=Qu.getDataAttributes(this._element);for(const n of Object.keys(r))vye.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:Hl(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=Pte.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Ds(Jy);const Dye="popover",Lye=".popover-header",Nye=".popover-body",Mye={...Jy.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"},$ye={...Jy.DefaultType,content:"(null|string|element|function)"};let Fye=class kte extends Jy{static get Default(){return Mye}static get DefaultType(){return $ye}static get NAME(){return Dye}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Lye]:this._getTitle(),[Nye]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=kte.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Ds(Fye);const jye="scrollspy",Uye="bs.scrollspy",xP=`.${Uye}`,qye=".data-api",Vye=`activate${xP}`,gz=`click${xP}`,Hye=`load${xP}${qye}`,Bye="dropdown-item",rd="active",zye='[data-bs-spy="scroll"]',wC="[href]",Wye=".nav, .list-group",mz=".nav-link",Gye=".nav-item",Kye=".list-group-item",Yye=`${mz}, ${Gye} > ${mz}, ${Kye}`,Xye=".dropdown",Qye=".dropdown-toggle",Zye={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Jye={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class e1 extends Qs{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Zye}static get DefaultType(){return Jye}static get NAME(){return jye}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=Hl(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&&(Ut.off(this._config.target,gz),Ut.on(this._config.target,gz,wC,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 s=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&s){if(n(a),!i)return;continue}!o&&!s&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=kr.find(wC,this._config.target);for(const r of t){if(!r.hash||Bl(r))continue;const n=kr.findOne(decodeURI(r.hash),this._element);oh(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(rd),this._activateParents(t),Ut.trigger(this._element,Vye,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Bye)){kr.findOne(Qye,t.closest(Xye)).classList.add(rd);return}for(const r of kr.parents(t,Wye))for(const n of kr.prev(r,Yye))n.classList.add(rd)}_clearActiveClass(t){t.classList.remove(rd);const r=kr.find(`${wC}.${rd}`,t);for(const n of r)n.classList.remove(rd)}static jQueryInterface(t){return this.each(function(){const r=e1.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]()}})}}Ut.on(window,Hye,()=>{for(const e of kr.find(zye))e1.getOrCreateInstance(e)});Ds(e1);const e1e="tab",t1e="bs.tab",_f=`.${t1e}`,r1e=`hide${_f}`,n1e=`hidden${_f}`,i1e=`show${_f}`,a1e=`shown${_f}`,o1e=`click${_f}`,s1e=`keydown${_f}`,u1e=`load${_f}`,l1e="ArrowLeft",yz="ArrowRight",c1e="ArrowUp",_z="ArrowDown",bC="Home",Sz="End",Fc="active",Ez="fade",CC="show",f1e="dropdown",Dte=".dropdown-toggle",d1e=".dropdown-menu",TC=`:not(${Dte})`,h1e='.list-group, .nav, [role="tablist"]',p1e=".nav-item, .list-group-item",v1e=`.nav-link${TC}, .list-group-item${TC}, [role="tab"]${TC}`,Lte='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',AC=`${v1e}, ${Lte}`,g1e=`.${Fc}[data-bs-toggle="tab"], .${Fc}[data-bs-toggle="pill"], .${Fc}[data-bs-toggle="list"]`;class Nd extends Qs{constructor(t){super(t),this._parent=this._element.closest(h1e),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ut.on(this._element,s1e,r=>this._keydown(r)))}static get NAME(){return e1e}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ut.trigger(r,r1e,{relatedTarget:t}):null;Ut.trigger(t,i1e,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Fc),this._activate(kr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(CC);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ut.trigger(t,a1e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(Ez))}_deactivate(t,r){if(!t)return;t.classList.remove(Fc),t.blur(),this._deactivate(kr.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(CC);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ut.trigger(t,n1e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(Ez))}_keydown(t){if(![l1e,yz,c1e,_z,bC,Sz].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!Bl(i));let n;if([bC,Sz].includes(t.key))n=r[t.key===bC?0:r.length-1];else{const i=[yz,_z].includes(t.key);n=TP(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Nd.getOrCreateInstance(n).show())}_getChildren(){return kr.find(AC,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=kr.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(f1e))return;const i=(o,a)=>{const s=kr.findOne(o,n);s&&s.classList.toggle(a,r)};i(Dte,Fc),i(d1e,CC),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Fc)}_getInnerElement(t){return t.matches(AC)?t:kr.findOne(AC,t)}_getOuterElement(t){return t.closest(p1e)||t}static jQueryInterface(t){return this.each(function(){const r=Nd.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ut.on(document,o1e,Lte,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Bl(this)&&Nd.getOrCreateInstance(this).show()});Ut.on(window,u1e,()=>{for(const e of kr.find(g1e))Nd.getOrCreateInstance(e)});Ds(Nd);const m1e="toast",y1e="bs.toast",Jl=`.${y1e}`,_1e=`mouseover${Jl}`,S1e=`mouseout${Jl}`,E1e=`focusin${Jl}`,w1e=`focusout${Jl}`,b1e=`hide${Jl}`,C1e=`hidden${Jl}`,T1e=`show${Jl}`,A1e=`shown${Jl}`,R1e="fade",wz="hide",Tg="show",Ag="showing",x1e={animation:"boolean",autohide:"boolean",delay:"number"},O1e={animation:!0,autohide:!0,delay:5e3};class t1 extends Qs{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return O1e}static get DefaultType(){return x1e}static get NAME(){return m1e}show(){if(Ut.trigger(this._element,T1e).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(R1e);const r=()=>{this._element.classList.remove(Ag),Ut.trigger(this._element,A1e),this._maybeScheduleHide()};this._element.classList.remove(wz),rv(this._element),this._element.classList.add(Tg,Ag),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ut.trigger(this._element,b1e).defaultPrevented)return;const r=()=>{this._element.classList.add(wz),this._element.classList.remove(Ag,Tg),Ut.trigger(this._element,C1e)};this._element.classList.add(Ag),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Tg),super.dispose()}isShown(){return this._element.classList.contains(Tg)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Ut.on(this._element,_1e,t=>this._onInteraction(t,!0)),Ut.on(this._element,S1e,t=>this._onInteraction(t,!1)),Ut.on(this._element,E1e,t=>this._onInteraction(t,!0)),Ut.on(this._element,w1e,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=t1.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Zy(t1);Ds(t1);var um={exports:{}},lm={exports:{}},I1e=lm.exports,bz;function Nte(){return bz||(bz=1,(function(e,t){(function(r,n){e.exports=n()})(I1e,(function(){var r="1.13.7",n=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},i=Array.prototype,o=Object.prototype,a=typeof Symbol<"u"?Symbol.prototype:null,s=i.push,l=i.slice,c=o.toString,d=o.hasOwnProperty,h=typeof ArrayBuffer<"u",p=typeof DataView<"u",g=Array.isArray,S=Object.keys,E=Object.create,_=h&&ArrayBuffer.isView,w=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=Math.pow(2,53)-1;function O(ne,pe){return pe=pe==null?ne.length-1:+pe,function(){for(var Pe=Math.max(arguments.length-pe,0),Me=Array(Pe),He=0;He<Pe;He++)Me[He]=arguments[He+pe];switch(pe){case 0:return ne.call(this,Me);case 1:return ne.call(this,arguments[0],Me);case 2:return ne.call(this,arguments[0],arguments[1],Me)}var Ye=Array(pe+1);for(He=0;He<pe;He++)Ye[He]=arguments[He];return Ye[pe]=Me,ne.apply(this,Ye)}}function m(ne){var pe=typeof ne;return pe==="function"||pe==="object"&&!!ne}function k(ne){return ne===null}function D(ne){return ne===void 0}function V(ne){return ne===!0||ne===!1||c.call(ne)==="[object Boolean]"}function F(ne){return!!(ne&&ne.nodeType===1)}function G(ne){var pe="[object "+ne+"]";return function(Pe){return c.call(Pe)===pe}}var Y=G("String"),X=G("Number"),J=G("Date"),Z=G("RegExp"),ue=G("Error"),H=G("Symbol"),L=G("ArrayBuffer"),j=G("Function"),te=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof te!="function"&&(j=function(ne){return typeof ne=="function"||!1});var ee=j,de=G("Object"),Se=p&&(!/\[native code\]/.test(String(DataView))||de(new DataView(new ArrayBuffer(8)))),Ae=typeof Map<"u"&&de(new Map),se=G("DataView");function I(ne){return ne!=null&&ee(ne.getInt8)&&L(ne.buffer)}var P=Se?I:se,q=g||G("Array");function N(ne,pe){return ne!=null&&d.call(ne,pe)}var B=G("Arguments");(function(){B(arguments)||(B=function(ne){return N(ne,"callee")})})();var re=B;function ce(ne){return!H(ne)&&b(ne)&&!isNaN(parseFloat(ne))}function we(ne){return X(ne)&&w(ne)}function _e(ne){return function(){return ne}}function Oe(ne){return function(pe){var Pe=ne(pe);return typeof Pe=="number"&&Pe>=0&&Pe<=R}}function Te(ne){return function(pe){return pe==null?void 0:pe[ne]}}var Ie=Te("byteLength"),$e=Oe(Ie),ge=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function be(ne){return _?_(ne)&&!P(ne):$e(ne)&&ge.test(c.call(ne))}var Ce=h?be:_e(!1),Le=Te("length");function Ve(ne){for(var pe={},Pe=ne.length,Me=0;Me<Pe;++Me)pe[ne[Me]]=!0;return{contains:function(He){return pe[He]===!0},push:function(He){return pe[He]=!0,ne.push(He)}}}function qe(ne,pe){pe=Ve(pe);var Pe=A.length,Me=ne.constructor,He=ee(Me)&&Me.prototype||o,Ye="constructor";for(N(ne,Ye)&&!pe.contains(Ye)&&pe.push(Ye);Pe--;)Ye=A[Pe],Ye in ne&&ne[Ye]!==He[Ye]&&!pe.contains(Ye)&&pe.push(Ye)}function Ge(ne){if(!m(ne))return[];if(S)return S(ne);var pe=[];for(var Pe in ne)N(ne,Pe)&&pe.push(Pe);return x&&qe(ne,pe),pe}function ct(ne){if(ne==null)return!0;var pe=Le(ne);return typeof pe=="number"&&(q(ne)||Y(ne)||re(ne))?pe===0:Le(Ge(ne))===0}function jt(ne,pe){var Pe=Ge(pe),Me=Pe.length;if(ne==null)return!Me;for(var He=Object(ne),Ye=0;Ye<Me;Ye++){var At=Pe[Ye];if(pe[At]!==He[At]||!(At in He))return!1}return!0}function zt(ne){if(ne instanceof zt)return ne;if(!(this instanceof zt))return new zt(ne);this._wrapped=ne}zt.VERSION=r,zt.prototype.value=function(){return this._wrapped},zt.prototype.valueOf=zt.prototype.toJSON=zt.prototype.value,zt.prototype.toString=function(){return String(this._wrapped)};function Ze(ne){return new Uint8Array(ne.buffer||ne,ne.byteOffset||0,Ie(ne))}var Tt="[object DataView]";function _t(ne,pe,Pe,Me){if(ne===pe)return ne!==0||1/ne===1/pe;if(ne==null||pe==null)return!1;if(ne!==ne)return pe!==pe;var He=typeof ne;return He!=="function"&&He!=="object"&&typeof pe!="object"?!1:st(ne,pe,Pe,Me)}function st(ne,pe,Pe,Me){ne instanceof zt&&(ne=ne._wrapped),pe instanceof zt&&(pe=pe._wrapped);var He=c.call(ne);if(He!==c.call(pe))return!1;if(Se&&He=="[object Object]"&&P(ne)){if(!P(pe))return!1;He=Tt}switch(He){case"[object RegExp]":case"[object String]":return""+ne==""+pe;case"[object Number]":return+ne!=+ne?+pe!=+pe:+ne==0?1/+ne===1/pe:+ne==+pe;case"[object Date]":case"[object Boolean]":return+ne==+pe;case"[object Symbol]":return a.valueOf.call(ne)===a.valueOf.call(pe);case"[object ArrayBuffer]":case Tt:return st(Ze(ne),Ze(pe),Pe,Me)}var Ye=He==="[object Array]";if(!Ye&&Ce(ne)){var At=Ie(ne);if(At!==Ie(pe))return!1;if(ne.buffer===pe.buffer&&ne.byteOffset===pe.byteOffset)return!0;Ye=!0}if(!Ye){if(typeof ne!="object"||typeof pe!="object")return!1;var Kt=ne.constructor,Hr=pe.constructor;if(Kt!==Hr&&!(ee(Kt)&&Kt instanceof Kt&&ee(Hr)&&Hr instanceof Hr)&&"constructor"in ne&&"constructor"in pe)return!1}Pe=Pe||[],Me=Me||[];for(var Mr=Pe.length;Mr--;)if(Pe[Mr]===ne)return Me[Mr]===pe;if(Pe.push(ne),Me.push(pe),Ye){if(Mr=ne.length,Mr!==pe.length)return!1;for(;Mr--;)if(!_t(ne[Mr],pe[Mr],Pe,Me))return!1}else{var Xn=Ge(ne),pi;if(Mr=Xn.length,Ge(pe).length!==Mr)return!1;for(;Mr--;)if(pi=Xn[Mr],!(N(pe,pi)&&_t(ne[pi],pe[pi],Pe,Me)))return!1}return Pe.pop(),Me.pop(),!0}function rt(ne,pe){return _t(ne,pe)}function dt(ne){if(!m(ne))return[];var pe=[];for(var Pe in ne)pe.push(Pe);return x&&qe(ne,pe),pe}function Gt(ne){var pe=Le(ne);return function(Pe){if(Pe==null)return!1;var Me=dt(Pe);if(Le(Me))return!1;for(var He=0;He<pe;He++)if(!ee(Pe[ne[He]]))return!1;return ne!==Nt||!ee(Pe[Mt])}}var Mt="forEach",Re="has",Je=["clear","delete"],ut=["get",Re,"set"],wt=Je.concat(Mt,ut),Nt=Je.concat(ut),nr=["add"].concat(Je,Mt,Re),yr=Ae?Gt(wt):G("Map"),ir=Ae?Gt(Nt):G("WeakMap"),wr=Ae?Gt(nr):G("Set"),Ur=G("WeakSet");function Wr(ne){for(var pe=Ge(ne),Pe=pe.length,Me=Array(Pe),He=0;He<Pe;He++)Me[He]=ne[pe[He]];return Me}function Un(ne){for(var pe=Ge(ne),Pe=pe.length,Me=Array(Pe),He=0;He<Pe;He++)Me[He]=[pe[He],ne[pe[He]]];return Me}function qn(ne){for(var pe={},Pe=Ge(ne),Me=0,He=Pe.length;Me<He;Me++)pe[ne[Pe[Me]]]=Pe[Me];return pe}function Kn(ne){var pe=[];for(var Pe in ne)ee(ne[Pe])&&pe.push(Pe);return pe.sort()}function En(ne,pe){return function(Pe){var Me=arguments.length;if(pe&&(Pe=Object(Pe)),Me<2||Pe==null)return Pe;for(var He=1;He<Me;He++)for(var Ye=arguments[He],At=ne(Ye),Kt=At.length,Hr=0;Hr<Kt;Hr++){var Mr=At[Hr];(!pe||Pe[Mr]===void 0)&&(Pe[Mr]=Ye[Mr])}return Pe}}var ti=En(dt),si=En(Ge),Si=En(dt,!0);function di(){return function(){}}function $i(ne){if(!m(ne))return{};if(E)return E(ne);var pe=di();pe.prototype=ne;var Pe=new pe;return pe.prototype=null,Pe}function qi(ne,pe){var Pe=$i(ne);return pe&&si(Pe,pe),Pe}function xn(ne){return m(ne)?q(ne)?ne.slice():ti({},ne):ne}function ri(ne,pe){return pe(ne),ne}function xi(ne){return q(ne)?ne:[ne]}zt.toPath=xi;function Ei(ne){return zt.toPath(ne)}function ot(ne,pe){for(var Pe=pe.length,Me=0;Me<Pe;Me++){if(ne==null)return;ne=ne[pe[Me]]}return Pe?ne:void 0}function Dt(ne,pe,Pe){var Me=ot(ne,Ei(pe));return D(Me)?Pe:Me}function gt(ne,pe){pe=Ei(pe);for(var Pe=pe.length,Me=0;Me<Pe;Me++){var He=pe[Me];if(!N(ne,He))return!1;ne=ne[He]}return!!Pe}function et(ne){return ne}function fe(ne){return ne=si({},ne),function(pe){return jt(pe,ne)}}function nt(ne){return ne=Ei(ne),function(pe){return ot(pe,ne)}}function ze(ne,pe,Pe){if(pe===void 0)return ne;switch(Pe??3){case 1:return function(Me){return ne.call(pe,Me)};case 3:return function(Me,He,Ye){return ne.call(pe,Me,He,Ye)};case 4:return function(Me,He,Ye,At){return ne.call(pe,Me,He,Ye,At)}}return function(){return ne.apply(pe,arguments)}}function Ct(ne,pe,Pe){return ne==null?et:ee(ne)?ze(ne,pe,Pe):m(ne)&&!q(ne)?fe(ne):nt(ne)}function yt(ne,pe){return Ct(ne,pe,1/0)}zt.iteratee=yt;function Bt(ne,pe,Pe){return zt.iteratee!==yt?zt.iteratee(ne,pe):Ct(ne,pe,Pe)}function Yt(ne,pe,Pe){pe=Bt(pe,Pe);for(var Me=Ge(ne),He=Me.length,Ye={},At=0;At<He;At++){var Kt=Me[At];Ye[Kt]=pe(ne[Kt],Kt,ne)}return Ye}function bt(){}function Ar(ne){return ne==null?bt:function(pe){return Dt(ne,pe)}}function Xr(ne,pe,Pe){var Me=Array(Math.max(0,ne));pe=ze(pe,Pe,1);for(var He=0;He<ne;He++)Me[He]=pe(He);return Me}function wn(ne,pe){return pe==null&&(pe=ne,ne=0),ne+Math.floor(Math.random()*(pe-ne+1))}var Lt=Date.now||function(){return new Date().getTime()};function Qr(ne){var pe=function(Ye){return ne[Ye]},Pe="(?:"+Ge(ne).join("|")+")",Me=RegExp(Pe),He=RegExp(Pe,"g");return function(Ye){return Ye=Ye==null?"":""+Ye,Me.test(Ye)?Ye.replace(He,pe):Ye}}var Vn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Pn=Qr(Vn),oo=qn(Vn),ui=Qr(oo),Ji=zt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ea=/(.)^/,$o={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ba=/\\|'|\r|\n|\u2028|\u2029/g;function Pa(ne){return"\\"+$o[ne]}var z=/^\s*(\w|\$)+\s*$/;function oe(ne,pe,Pe){!pe&&Pe&&(pe=Pe),pe=Si({},pe,zt.templateSettings);var Me=RegExp([(pe.escape||ea).source,(pe.interpolate||ea).source,(pe.evaluate||ea).source].join("|")+"|$","g"),He=0,Ye="__p+='";ne.replace(Me,function(Mr,Xn,pi,hl,Ho){return Ye+=ne.slice(He,Ho).replace(Ba,Pa),He=Ho+Mr.length,Xn?Ye+=`'+
|
|
19
|
+
((__t=(`+Xn+`))==null?'':_.escape(__t))+
|
|
20
|
+
'`:pi?Ye+=`'+
|
|
21
|
+
((__t=(`+pi+`))==null?'':__t)+
|
|
22
|
+
'`:hl&&(Ye+=`';
|
|
23
|
+
`+hl+`
|
|
24
|
+
__p+='`),Mr}),Ye+=`';
|
|
25
|
+
`;var At=pe.variable;if(At){if(!z.test(At))throw new Error("variable is not a bare identifier: "+At)}else Ye=`with(obj||{}){
|
|
26
|
+
`+Ye+`}
|
|
27
|
+
`,At="obj";Ye=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
28
|
+
`+Ye+`return __p;
|
|
29
|
+
`;var Kt;try{Kt=new Function(At,"_",Ye)}catch(Mr){throw Mr.source=Ye,Mr}var Hr=function(Mr){return Kt.call(this,Mr,zt)};return Hr.source="function("+At+`){
|
|
30
|
+
`+Ye+"}",Hr}function Ee(ne,pe,Pe){pe=Ei(pe);var Me=pe.length;if(!Me)return ee(Pe)?Pe.call(ne):Pe;for(var He=0;He<Me;He++){var Ye=ne==null?void 0:ne[pe[He]];Ye===void 0&&(Ye=Pe,He=Me),ne=ee(Ye)?Ye.call(ne):Ye}return ne}var je=0;function pt(ne){var pe=++je+"";return ne?ne+pe:pe}function it(ne){var pe=zt(ne);return pe._chain=!0,pe}function xt(ne,pe,Pe,Me,He){if(!(Me instanceof pe))return ne.apply(Pe,He);var Ye=$i(ne.prototype),At=ne.apply(Ye,He);return m(At)?At:Ye}var Vt=O(function(ne,pe){var Pe=Vt.placeholder,Me=function(){for(var He=0,Ye=pe.length,At=Array(Ye),Kt=0;Kt<Ye;Kt++)At[Kt]=pe[Kt]===Pe?arguments[He++]:pe[Kt];for(;He<arguments.length;)At.push(arguments[He++]);return xt(ne,Me,this,this,At)};return Me});Vt.placeholder=zt;var Zt=O(function(ne,pe,Pe){if(!ee(ne))throw new TypeError("Bind must be called on a function");var Me=O(function(He){return xt(ne,Me,pe,this,Pe.concat(He))});return Me}),br=Oe(Le);function Pr(ne,pe,Pe,Me){if(Me=Me||[],!pe&&pe!==0)pe=1/0;else if(pe<=0)return Me.concat(ne);for(var He=Me.length,Ye=0,At=Le(ne);Ye<At;Ye++){var Kt=ne[Ye];if(br(Kt)&&(q(Kt)||re(Kt)))if(pe>1)Pr(Kt,pe-1,Pe,Me),He=Me.length;else for(var Hr=0,Mr=Kt.length;Hr<Mr;)Me[He++]=Kt[Hr++];else Pe||(Me[He++]=Kt)}return Me}var kn=O(function(ne,pe){pe=Pr(pe,!1,!1);var Pe=pe.length;if(Pe<1)throw new Error("bindAll must be passed function names");for(;Pe--;){var Me=pe[Pe];ne[Me]=Zt(ne[Me],ne)}return ne});function Oi(ne,pe){var Pe=function(Me){var He=Pe.cache,Ye=""+(pe?pe.apply(this,arguments):Me);return N(He,Ye)||(He[Ye]=ne.apply(this,arguments)),He[Ye]};return Pe.cache={},Pe}var Ii=O(function(ne,pe,Pe){return setTimeout(function(){return ne.apply(null,Pe)},pe)}),ls=Vt(Ii,zt,1);function Js(ne,pe,Pe){var Me,He,Ye,At,Kt=0;Pe||(Pe={});var Hr=function(){Kt=Pe.leading===!1?0:Lt(),Me=null,At=ne.apply(He,Ye),Me||(He=Ye=null)},Mr=function(){var Xn=Lt();!Kt&&Pe.leading===!1&&(Kt=Xn);var pi=pe-(Xn-Kt);return He=this,Ye=arguments,pi<=0||pi>pe?(Me&&(clearTimeout(Me),Me=null),Kt=Xn,At=ne.apply(He,Ye),Me||(He=Ye=null)):!Me&&Pe.trailing!==!1&&(Me=setTimeout(Hr,pi)),At};return Mr.cancel=function(){clearTimeout(Me),Kt=0,Me=He=Ye=null},Mr}function cs(ne,pe,Pe){var Me,He,Ye,At,Kt,Hr=function(){var Xn=Lt()-He;pe>Xn?Me=setTimeout(Hr,pe-Xn):(Me=null,Pe||(At=ne.apply(Kt,Ye)),Me||(Ye=Kt=null))},Mr=O(function(Xn){return Kt=this,Ye=Xn,He=Lt(),Me||(Me=setTimeout(Hr,pe),Pe&&(At=ne.apply(Kt,Ye))),At});return Mr.cancel=function(){clearTimeout(Me),Me=Ye=Kt=null},Mr}function za(ne,pe){return Vt(pe,ne)}function hi(ne){return function(){return!ne.apply(this,arguments)}}function ka(){var ne=arguments,pe=ne.length-1;return function(){for(var Pe=pe,Me=ne[pe].apply(this,arguments);Pe--;)Me=ne[Pe].call(this,Me);return Me}}function Wa(ne,pe){return function(){if(--ne<1)return pe.apply(this,arguments)}}function ln(ne,pe){var Pe;return function(){return--ne>0&&(Pe=pe.apply(this,arguments)),ne<=1&&(pe=null),Pe}}var ua=Vt(ln,2);function Fo(ne,pe,Pe){pe=Bt(pe,Pe);for(var Me=Ge(ne),He,Ye=0,At=Me.length;Ye<At;Ye++)if(He=Me[Ye],pe(ne[He],He,ne))return He}function jo(ne){return function(pe,Pe,Me){Pe=Bt(Pe,Me);for(var He=Le(pe),Ye=ne>0?0:He-1;Ye>=0&&Ye<He;Ye+=ne)if(Pe(pe[Ye],Ye,pe))return Ye;return-1}}var Wi=jo(1),Ls=jo(-1);function Ga(ne,pe,Pe,Me){Pe=Bt(Pe,Me,1);for(var He=Pe(pe),Ye=0,At=Le(ne);Ye<At;){var Kt=Math.floor((Ye+At)/2);Pe(ne[Kt])<He?Ye=Kt+1:At=Kt}return Ye}function fs(ne,pe,Pe){return function(Me,He,Ye){var At=0,Kt=Le(Me);if(typeof Ye=="number")ne>0?At=Ye>=0?Ye:Math.max(Ye+Kt,At):Kt=Ye>=0?Math.min(Ye+1,Kt):Ye+Kt+1;else if(Pe&&Ye&&Kt)return Ye=Pe(Me,He),Me[Ye]===He?Ye:-1;if(He!==He)return Ye=pe(l.call(Me,At,Kt),we),Ye>=0?Ye+At:-1;for(Ye=ne>0?At:Kt-1;Ye>=0&&Ye<Kt;Ye+=ne)if(Me[Ye]===He)return Ye;return-1}}var Ns=fs(1,Wi,Ga),Cu=fs(-1,Ls);function Ka(ne,pe,Pe){var Me=br(ne)?Wi:Fo,He=Me(ne,pe,Pe);if(He!==void 0&&He!==-1)return ne[He]}function so(ne,pe){return Ka(ne,fe(pe))}function Fi(ne,pe,Pe){pe=ze(pe,Pe);var Me,He;if(br(ne))for(Me=0,He=ne.length;Me<He;Me++)pe(ne[Me],Me,ne);else{var Ye=Ge(ne);for(Me=0,He=Ye.length;Me<He;Me++)pe(ne[Ye[Me]],Ye[Me],ne)}return ne}function la(ne,pe,Pe){pe=Bt(pe,Pe);for(var Me=!br(ne)&&Ge(ne),He=(Me||ne).length,Ye=Array(He),At=0;At<He;At++){var Kt=Me?Me[At]:At;Ye[At]=pe(ne[Kt],Kt,ne)}return Ye}function Tu(ne){var pe=function(Pe,Me,He,Ye){var At=!br(Pe)&&Ge(Pe),Kt=(At||Pe).length,Hr=ne>0?0:Kt-1;for(Ye||(He=Pe[At?At[Hr]:Hr],Hr+=ne);Hr>=0&&Hr<Kt;Hr+=ne){var Mr=At?At[Hr]:Hr;He=Me(He,Pe[Mr],Mr,Pe)}return He};return function(Pe,Me,He,Ye){var At=arguments.length>=3;return pe(Pe,ze(Me,Ye,4),He,At)}}var Uo=Tu(1),qo=Tu(-1);function ca(ne,pe,Pe){var Me=[];return pe=Bt(pe,Pe),Fi(ne,function(He,Ye,At){pe(He,Ye,At)&&Me.push(He)}),Me}function Ms(ne,pe,Pe){return ca(ne,hi(Bt(pe)),Pe)}function Au(ne,pe,Pe){pe=Bt(pe,Pe);for(var Me=!br(ne)&&Ge(ne),He=(Me||ne).length,Ye=0;Ye<He;Ye++){var At=Me?Me[Ye]:Ye;if(!pe(ne[At],At,ne))return!1}return!0}function Pi(ne,pe,Pe){pe=Bt(pe,Pe);for(var Me=!br(ne)&&Ge(ne),He=(Me||ne).length,Ye=0;Ye<He;Ye++){var At=Me?Me[Ye]:Ye;if(pe(ne[At],At,ne))return!0}return!1}function fa(ne,pe,Pe,Me){return br(ne)||(ne=Wr(ne)),(typeof Pe!="number"||Me)&&(Pe=0),Ns(ne,pe,Pe)>=0}var uo=O(function(ne,pe,Pe){var Me,He;return ee(pe)?He=pe:(pe=Ei(pe),Me=pe.slice(0,-1),pe=pe[pe.length-1]),la(ne,function(Ye){var At=He;if(!At){if(Me&&Me.length&&(Ye=ot(Ye,Me)),Ye==null)return;At=Ye[pe]}return At==null?At:At.apply(Ye,Pe)})});function Vo(ne,pe){return la(ne,nt(pe))}function lo(ne,pe){return ca(ne,fe(pe))}function co(ne,pe,Pe){var Me=-1/0,He=-1/0,Ye,At;if(pe==null||typeof pe=="number"&&typeof ne[0]!="object"&&ne!=null){ne=br(ne)?ne:Wr(ne);for(var Kt=0,Hr=ne.length;Kt<Hr;Kt++)Ye=ne[Kt],Ye!=null&&Ye>Me&&(Me=Ye)}else pe=Bt(pe,Pe),Fi(ne,function(Mr,Xn,pi){At=pe(Mr,Xn,pi),(At>He||At===-1/0&&Me===-1/0)&&(Me=Mr,He=At)});return Me}function y(ne,pe,Pe){var Me=1/0,He=1/0,Ye,At;if(pe==null||typeof pe=="number"&&typeof ne[0]!="object"&&ne!=null){ne=br(ne)?ne:Wr(ne);for(var Kt=0,Hr=ne.length;Kt<Hr;Kt++)Ye=ne[Kt],Ye!=null&&Ye<Me&&(Me=Ye)}else pe=Bt(pe,Pe),Fi(ne,function(Mr,Xn,pi){At=pe(Mr,Xn,pi),(At<He||At===1/0&&Me===1/0)&&(Me=Mr,He=At)});return Me}var T=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function M(ne){return ne?q(ne)?l.call(ne):Y(ne)?ne.match(T):br(ne)?la(ne,et):Wr(ne):[]}function K(ne,pe,Pe){if(pe==null||Pe)return br(ne)||(ne=Wr(ne)),ne[wn(ne.length-1)];var Me=M(ne),He=Le(Me);pe=Math.max(Math.min(pe,He),0);for(var Ye=He-1,At=0;At<pe;At++){var Kt=wn(At,Ye),Hr=Me[At];Me[At]=Me[Kt],Me[Kt]=Hr}return Me.slice(0,pe)}function ie(ne){return K(ne,1/0)}function le(ne,pe,Pe){var Me=0;return pe=Bt(pe,Pe),Vo(la(ne,function(He,Ye,At){return{value:He,index:Me++,criteria:pe(He,Ye,At)}}).sort(function(He,Ye){var At=He.criteria,Kt=Ye.criteria;if(At!==Kt){if(At>Kt||At===void 0)return 1;if(At<Kt||Kt===void 0)return-1}return He.index-Ye.index}),"value")}function he(ne,pe){return function(Pe,Me,He){var Ye=pe?[[],[]]:{};return Me=Bt(Me,He),Fi(Pe,function(At,Kt){var Hr=Me(At,Kt,Pe);ne(Ye,At,Hr)}),Ye}}var Fe=he(function(ne,pe,Pe){N(ne,Pe)?ne[Pe].push(pe):ne[Pe]=[pe]}),De=he(function(ne,pe,Pe){ne[Pe]=pe}),Ke=he(function(ne,pe,Pe){N(ne,Pe)?ne[Pe]++:ne[Pe]=1}),Et=he(function(ne,pe,Pe){ne[Pe?0:1].push(pe)},!0);function Rt(ne){return ne==null?0:br(ne)?ne.length:Ge(ne).length}function ft(ne,pe,Pe){return pe in Pe}var Ft=O(function(ne,pe){var Pe={},Me=pe[0];if(ne==null)return Pe;ee(Me)?(pe.length>1&&(Me=ze(Me,pe[1])),pe=dt(ne)):(Me=ft,pe=Pr(pe,!1,!1),ne=Object(ne));for(var He=0,Ye=pe.length;He<Ye;He++){var At=pe[He],Kt=ne[At];Me(Kt,At,ne)&&(Pe[At]=Kt)}return Pe}),Rr=O(function(ne,pe){var Pe=pe[0],Me;return ee(Pe)?(Pe=hi(Pe),pe.length>1&&(Me=pe[1])):(pe=la(Pr(pe,!1,!1),String),Pe=function(He,Ye){return!fa(pe,Ye)}),Ft(ne,Pe,Me)});function en(ne,pe,Pe){return l.call(ne,0,Math.max(0,ne.length-(pe==null||Pe?1:pe)))}function qr(ne,pe,Pe){return ne==null||ne.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ne[0]:en(ne,ne.length-pe)}function Yn(ne,pe,Pe){return l.call(ne,pe==null||Pe?1:pe)}function li(ne,pe,Pe){return ne==null||ne.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ne[ne.length-1]:Yn(ne,Math.max(0,ne.length-pe))}function W(ne){return ca(ne,Boolean)}function ae(ne,pe){return Pr(ne,pe,!1)}var ve=O(function(ne,pe){return pe=Pr(pe,!0,!0),ca(ne,function(Pe){return!fa(pe,Pe)})}),Ne=O(function(ne,pe){return ve(ne,pe)});function Qe(ne,pe,Pe,Me){V(pe)||(Me=Pe,Pe=pe,pe=!1),Pe!=null&&(Pe=Bt(Pe,Me));for(var He=[],Ye=[],At=0,Kt=Le(ne);At<Kt;At++){var Hr=ne[At],Mr=Pe?Pe(Hr,At,ne):Hr;pe&&!Pe?((!At||Ye!==Mr)&&He.push(Hr),Ye=Mr):Pe?fa(Ye,Mr)||(Ye.push(Mr),He.push(Hr)):fa(He,Hr)||He.push(Hr)}return He}var tt=O(function(ne){return Qe(Pr(ne,!0,!0))});function Ot(ne){for(var pe=[],Pe=arguments.length,Me=0,He=Le(ne);Me<He;Me++){var Ye=ne[Me];if(!fa(pe,Ye)){var At;for(At=1;At<Pe&&fa(arguments[At],Ye);At++);At===Pe&&pe.push(Ye)}}return pe}function Ht(ne){for(var pe=ne&&co(ne,Le).length||0,Pe=Array(pe),Me=0;Me<pe;Me++)Pe[Me]=Vo(ne,Me);return Pe}var gr=O(Ht);function Vr(ne,pe){for(var Pe={},Me=0,He=Le(ne);Me<He;Me++)pe?Pe[ne[Me]]=pe[Me]:Pe[ne[Me][0]]=ne[Me][1];return Pe}function xr(ne,pe,Pe){pe==null&&(pe=ne||0,ne=0),Pe||(Pe=pe<ne?-1:1);for(var Me=Math.max(Math.ceil((pe-ne)/Pe),0),He=Array(Me),Ye=0;Ye<Me;Ye++,ne+=Pe)He[Ye]=ne;return He}function On(ne,pe){if(pe==null||pe<1)return[];for(var Pe=[],Me=0,He=ne.length;Me<He;)Pe.push(l.call(ne,Me,Me+=pe));return Pe}function ni(ne,pe){return ne._chain?zt(pe).chain():pe}function Dn(ne){return Fi(Kn(ne),function(pe){var Pe=zt[pe]=ne[pe];zt.prototype[pe]=function(){var Me=[this._wrapped];return s.apply(Me,arguments),ni(this,Pe.apply(zt,Me))}}),zt}Fi(["pop","push","reverse","shift","sort","splice","unshift"],function(ne){var pe=i[ne];zt.prototype[ne]=function(){var Pe=this._wrapped;return Pe!=null&&(pe.apply(Pe,arguments),(ne==="shift"||ne==="splice")&&Pe.length===0&&delete Pe[0]),ni(this,Pe)}}),Fi(["concat","join","slice"],function(ne){var pe=i[ne];zt.prototype[ne]=function(){var Pe=this._wrapped;return Pe!=null&&(Pe=pe.apply(Pe,arguments)),ni(this,Pe)}});var lc={__proto__:null,VERSION:r,restArguments:O,isObject:m,isNull:k,isUndefined:D,isBoolean:V,isElement:F,isString:Y,isNumber:X,isDate:J,isRegExp:Z,isError:ue,isSymbol:H,isArrayBuffer:L,isDataView:P,isArray:q,isFunction:ee,isArguments:re,isFinite:ce,isNaN:we,isTypedArray:Ce,isEmpty:ct,isMatch:jt,isEqual:rt,isMap:yr,isWeakMap:ir,isSet:wr,isWeakSet:Ur,keys:Ge,allKeys:dt,values:Wr,pairs:Un,invert:qn,functions:Kn,methods:Kn,extend:ti,extendOwn:si,assign:si,defaults:Si,create:qi,clone:xn,tap:ri,get:Dt,has:gt,mapObject:Yt,identity:et,constant:_e,noop:bt,toPath:xi,property:nt,propertyOf:Ar,matcher:fe,matches:fe,times:Xr,random:wn,now:Lt,escape:Pn,unescape:ui,templateSettings:Ji,template:oe,result:Ee,uniqueId:pt,chain:it,iteratee:yt,partial:Vt,bind:Zt,bindAll:kn,memoize:Oi,delay:Ii,defer:ls,throttle:Js,debounce:cs,wrap:za,negate:hi,compose:ka,after:Wa,before:ln,once:ua,findKey:Fo,findIndex:Wi,findLastIndex:Ls,sortedIndex:Ga,indexOf:Ns,lastIndexOf:Cu,find:Ka,detect:Ka,findWhere:so,each:Fi,forEach:Fi,map:la,collect:la,reduce:Uo,foldl:Uo,inject:Uo,reduceRight:qo,foldr:qo,filter:ca,select:ca,reject:Ms,every:Au,all:Au,some:Pi,any:Pi,contains:fa,includes:fa,include:fa,invoke:uo,pluck:Vo,where:lo,max:co,min:y,shuffle:ie,sample:K,sortBy:le,groupBy:Fe,indexBy:De,countBy:Ke,partition:Et,toArray:M,size:Rt,pick:Ft,omit:Rr,first:qr,head:qr,take:qr,initial:en,last:li,rest:Yn,tail:Yn,drop:Yn,compact:W,flatten:ae,without:Ne,uniq:Qe,unique:Qe,union:tt,intersection:Ot,difference:ve,unzip:Ht,transpose:Ht,zip:gr,object:Vr,range:xr,chunk:On,mixin:Dn,default:zt},Ya=Dn(lc);return Ya._=Ya,Ya}))})(lm)),lm.exports}var RC={},Cz;function Mte(){return Cz||(Cz=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=Nte(),i;try{i=kee()}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 s=function(I,P,q){switch(I){case 1:return function(){return n[P](this[q])};case 2:return function(N){return n[P](this[q],N)};case 3:return function(N,B){return n[P](this[q],c(N,this),B)};case 4:return function(N,B,re){return n[P](this[q],c(N,this),B,re)};default:return function(){var N=a.call(arguments);return N.unshift(this[q]),n[P].apply(n,N)}}},l=function(I,P,q){n.each(P,function(N,B){n[B]&&(I.prototype[B]=s(N,B,q))})},c=function(I,P){return n.isFunction(I)?I:n.isObject(I)&&!P._isModel(I)?d(I):n.isString(I)?function(q){return q.get(I)}:I},d=function(I){var P=n.matches(I);return function(q){return P(q.attributes)}},h=r.Events={},p=/\s+/,g=function(I,P,q,N,B){var re=0,ce;if(q&&typeof q=="object")for(N!==void 0&&("context"in B)&&B.context===void 0&&(B.context=N),ce=n.keys(q);re<ce.length;re++)P=g(I,P,ce[re],q[ce[re]],B);else if(q&&p.test(q))for(ce=q.split(p);re<ce.length;re++)P=I(P,ce[re],N,B);else P=I(P,q,N,B);return P};h.on=function(I,P,q){return S(this,I,P,q)};var S=function(I,P,q,N,B){if(I._events=g(E,I._events||{},P,q,{context:N,ctx:I,listening:B}),B){var re=I._listeners||(I._listeners={});re[B.id]=B}return I};h.listenTo=function(I,P,q){if(!I)return this;var N=I._listenId||(I._listenId=n.uniqueId("l")),B=this._listeningTo||(this._listeningTo={}),re=B[N];if(!re){var ce=this._listenId||(this._listenId=n.uniqueId("l"));re=B[N]={obj:I,objId:N,id:ce,listeningTo:B,count:0}}return S(I,P,q,this,re),this};var E=function(I,P,q,N){if(q){var B=I[P]||(I[P]=[]),re=N.context,ce=N.ctx,we=N.listening;we&&we.count++,B.push({callback:q,context:re,ctx:re||ce,listening:we})}return I};h.off=function(I,P,q){return this._events?(this._events=g(_,this._events,I,P,{context:q,listeners:this._listeners}),this):this},h.stopListening=function(I,P,q){var N=this._listeningTo;if(!N)return this;for(var B=I?[I._listenId]:n.keys(N),re=0;re<B.length;re++){var ce=N[B[re]];if(!ce)break;ce.obj.off(P,q,this)}return this};var _=function(I,P,q,N){if(I){var B=0,re,ce=N.context,we=N.listeners;if(!P&&!q&&!ce){for(var _e=n.keys(we);B<_e.length;B++)re=we[_e[B]],delete we[re.id],delete re.listeningTo[re.objId];return}for(var Oe=P?[P]:n.keys(I);B<Oe.length;B++){P=Oe[B];var Te=I[P];if(!Te)break;for(var Ie=[],$e=0;$e<Te.length;$e++){var ge=Te[$e];q&&q!==ge.callback&&q!==ge.callback._callback||ce&&ce!==ge.context?Ie.push(ge):(re=ge.listening,re&&--re.count===0&&(delete we[re.id],delete re.listeningTo[re.objId]))}Ie.length?I[P]=Ie:delete I[P]}return I}};h.once=function(I,P,q){var N=g(w,{},I,P,n.bind(this.off,this));return typeof I=="string"&&q==null&&(P=void 0),this.on(N,P,q)},h.listenToOnce=function(I,P,q){var N=g(w,{},P,q,n.bind(this.stopListening,this,I));return this.listenTo(I,N)};var w=function(I,P,q,N){if(q){var B=I[P]=n.once(function(){N(P,B),q.apply(this,arguments)});B._callback=q}return I};h.trigger=function(I){if(!this._events)return this;for(var P=Math.max(0,arguments.length-1),q=Array(P),N=0;N<P;N++)q[N]=arguments[N+1];return g(b,this._events,I,void 0,q),this};var b=function(I,P,q,N){if(I){var B=I[P],re=I.all;B&&re&&(re=re.slice()),B&&x(B,N),re&&x(re,[P].concat(N))}return I},x=function(I,P){var q,N=-1,B=I.length,re=P[0],ce=P[1],we=P[2];switch(P.length){case 0:for(;++N<B;)(q=I[N]).callback.call(q.ctx);return;case 1:for(;++N<B;)(q=I[N]).callback.call(q.ctx,re);return;case 2:for(;++N<B;)(q=I[N]).callback.call(q.ctx,re,ce);return;case 3:for(;++N<B;)(q=I[N]).callback.call(q.ctx,re,ce,we);return;default:for(;++N<B;)(q=I[N]).callback.apply(q.ctx,P);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var A=r.Model=function(I,P){var q=I||{};P||(P={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},P.collection&&(this.collection=P.collection),P.parse&&(q=this.parse(q,P)||{});var N=n.result(this,"defaults");q=n.defaults(n.extend({},N,q),N),this.set(q,P),this.changed={},this.initialize.apply(this,arguments)};n.extend(A.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(I){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(I){return this.attributes[I]},escape:function(I){return n.escape(this.get(I))},has:function(I){return this.get(I)!=null},matches:function(I){return!!n.iteratee(I,this)(this.attributes)},set:function(I,P,q){if(I==null)return this;var N;if(typeof I=="object"?(N=I,q=P):(N={})[I]=P,q||(q={}),!this._validate(N,q))return!1;var B=q.unset,re=q.silent,ce=[],we=this._changing;this._changing=!0,we||(this._previousAttributes=n.clone(this.attributes),this.changed={});var _e=this.attributes,Oe=this.changed,Te=this._previousAttributes;for(var Ie in N)P=N[Ie],n.isEqual(_e[Ie],P)||ce.push(Ie),n.isEqual(Te[Ie],P)?delete Oe[Ie]:Oe[Ie]=P,B?delete _e[Ie]:_e[Ie]=P;if(this.idAttribute in N&&(this.id=this.get(this.idAttribute)),!re){ce.length&&(this._pending=q);for(var $e=0;$e<ce.length;$e++)this.trigger("change:"+ce[$e],this,_e[ce[$e]],q)}if(we)return this;if(!re)for(;this._pending;)q=this._pending,this._pending=!1,this.trigger("change",this,q);return this._pending=!1,this._changing=!1,this},unset:function(I,P){return this.set(I,void 0,n.extend({},P,{unset:!0}))},clear:function(I){var P={};for(var q in this.attributes)P[q]=void 0;return this.set(P,n.extend({},I,{unset:!0}))},hasChanged:function(I){return I==null?!n.isEmpty(this.changed):n.has(this.changed,I)},changedAttributes:function(I){if(!I)return this.hasChanged()?n.clone(this.changed):!1;var P=this._changing?this._previousAttributes:this.attributes,q={};for(var N in I){var B=I[N];n.isEqual(P[N],B)||(q[N]=B)}return n.size(q)?q:!1},previous:function(I){return I==null||!this._previousAttributes?null:this._previousAttributes[I]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(I){I=n.extend({parse:!0},I);var P=this,q=I.success;return I.success=function(N){var B=I.parse?P.parse(N,I):N;if(!P.set(B,I))return!1;q&&q.call(I.context,P,N,I),P.trigger("sync",P,N,I)},se(this,I),this.sync("read",this,I)},save:function(I,P,q){var N;I==null||typeof I=="object"?(N=I,q=P):(N={})[I]=P,q=n.extend({validate:!0,parse:!0},q);var B=q.wait;if(N&&!B){if(!this.set(N,q))return!1}else if(!this._validate(N,q))return!1;var re=this,ce=q.success,we=this.attributes;q.success=function(Te){re.attributes=we;var Ie=q.parse?re.parse(Te,q):Te;if(B&&(Ie=n.extend({},N,Ie)),Ie&&!re.set(Ie,q))return!1;ce&&ce.call(q.context,re,Te,q),re.trigger("sync",re,Te,q)},se(this,q),N&&B&&(this.attributes=n.extend({},we,N));var _e=this.isNew()?"create":q.patch?"patch":"update";_e==="patch"&&!q.attrs&&(q.attrs=N);var Oe=this.sync(_e,this,q);return this.attributes=we,Oe},destroy:function(I){I=I?n.clone(I):{};var P=this,q=I.success,N=I.wait,B=function(){P.stopListening(),P.trigger("destroy",P,P.collection,I)};I.success=function(ce){N&&B(),q&&q.call(I.context,P,ce,I),P.isNew()||P.trigger("sync",P,ce,I)};var re=!1;return this.isNew()?n.defer(I.success):(se(this,I),re=this.sync("delete",this,I)),N||B(),re},url:function(){var I=n.result(this,"urlRoot")||n.result(this.collection,"url")||Ae();if(this.isNew())return I;var P=this.get(this.idAttribute);return I.replace(/[^\/]$/,"$&/")+encodeURIComponent(P)},parse:function(I,P){return I},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(I){return this._validate({},n.extend({},I,{validate:!0}))},_validate:function(I,P){if(!P.validate||!this.validate)return!0;I=n.extend({},this.attributes,I);var q=this.validationError=this.validate(I,P)||null;return q?(this.trigger("invalid",this,q,n.extend(P,{validationError:q})),!1):!0}});var R={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};l(A,R,"attributes");var O=r.Collection=function(I,P){P||(P={}),P.model&&(this.model=P.model),P.comparator!==void 0&&(this.comparator=P.comparator),this._reset(),this.initialize.apply(this,arguments),I&&this.reset(I,n.extend({silent:!0},P))},m={add:!0,remove:!0,merge:!0},k={add:!0,remove:!1},D=function(I,P,q){q=Math.min(Math.max(q,0),I.length);var N=Array(I.length-q),B=P.length,re;for(re=0;re<N.length;re++)N[re]=I[re+q];for(re=0;re<B;re++)I[re+q]=P[re];for(re=0;re<N.length;re++)I[re+B+q]=N[re]};n.extend(O.prototype,h,{model:A,initialize:function(){},toJSON:function(I){return this.map(function(P){return P.toJSON(I)})},sync:function(){return r.sync.apply(this,arguments)},add:function(I,P){return this.set(I,n.extend({merge:!1},P,k))},remove:function(I,P){P=n.extend({},P);var q=!n.isArray(I);I=q?[I]:I.slice();var N=this._removeModels(I,P);return!P.silent&&N.length&&(P.changes={added:[],merged:[],removed:N},this.trigger("update",this,P)),q?N[0]:N},set:function(I,P){if(I!=null){P=n.extend({},m,P),P.parse&&!this._isModel(I)&&(I=this.parse(I,P)||[]);var q=!n.isArray(I);I=q?[I]:I.slice();var N=P.at;N!=null&&(N=+N),N>this.length&&(N=this.length),N<0&&(N+=this.length+1);var B=[],re=[],ce=[],we=[],_e={},Oe=P.add,Te=P.merge,Ie=P.remove,$e=!1,ge=this.comparator&&N==null&&P.sort!==!1,be=n.isString(this.comparator)?this.comparator:null,Ce,Le;for(Le=0;Le<I.length;Le++){Ce=I[Le];var Ve=this.get(Ce);if(Ve){if(Te&&Ce!==Ve){var qe=this._isModel(Ce)?Ce.attributes:Ce;P.parse&&(qe=Ve.parse(qe,P)),Ve.set(qe,P),ce.push(Ve),ge&&!$e&&($e=Ve.hasChanged(be))}_e[Ve.cid]||(_e[Ve.cid]=!0,B.push(Ve)),I[Le]=Ve}else Oe&&(Ce=I[Le]=this._prepareModel(Ce,P),Ce&&(re.push(Ce),this._addReference(Ce,P),_e[Ce.cid]=!0,B.push(Ce)))}if(Ie){for(Le=0;Le<this.length;Le++)Ce=this.models[Le],_e[Ce.cid]||we.push(Ce);we.length&&this._removeModels(we,P)}var Ge=!1,ct=!ge&&Oe&&Ie;if(B.length&&ct?(Ge=this.length!==B.length||n.some(this.models,function(jt,zt){return jt!==B[zt]}),this.models.length=0,D(this.models,B,0),this.length=this.models.length):re.length&&(ge&&($e=!0),D(this.models,re,N??this.length),this.length=this.models.length),$e&&this.sort({silent:!0}),!P.silent){for(Le=0;Le<re.length;Le++)N!=null&&(P.index=N+Le),Ce=re[Le],Ce.trigger("add",Ce,this,P);($e||Ge)&&this.trigger("sort",this,P),(re.length||we.length||ce.length)&&(P.changes={added:re,removed:we,merged:ce},this.trigger("update",this,P))}return q?I[0]:I}},reset:function(I,P){P=P?n.clone(P):{};for(var q=0;q<this.models.length;q++)this._removeReference(this.models[q],P);return P.previousModels=this.models,this._reset(),I=this.add(I,n.extend({silent:!0},P)),P.silent||this.trigger("reset",this,P),I},push:function(I,P){return this.add(I,n.extend({at:this.length},P))},pop:function(I){var P=this.at(this.length-1);return this.remove(P,I)},unshift:function(I,P){return this.add(I,n.extend({at:0},P))},shift:function(I){var P=this.at(0);return this.remove(P,I)},slice:function(){return a.apply(this.models,arguments)},get:function(I){if(I!=null)return this._byId[I]||this._byId[this.modelId(I.attributes||I)]||I.cid&&this._byId[I.cid]},has:function(I){return this.get(I)!=null},at:function(I){return I<0&&(I+=this.length),this.models[I]},where:function(I,P){return this[P?"find":"filter"](I)},findWhere:function(I){return this.where(I,!0)},sort:function(I){var P=this.comparator;if(!P)throw new Error("Cannot sort a set without a comparator");I||(I={});var q=P.length;return n.isFunction(P)&&(P=n.bind(P,this)),q===1||n.isString(P)?this.models=this.sortBy(P):this.models.sort(P),I.silent||this.trigger("sort",this,I),this},pluck:function(I){return this.map(I+"")},fetch:function(I){I=n.extend({parse:!0},I);var P=I.success,q=this;return I.success=function(N){var B=I.reset?"reset":"set";q[B](N,I),P&&P.call(I.context,q,N,I),q.trigger("sync",q,N,I)},se(this,I),this.sync("read",this,I)},create:function(I,P){P=P?n.clone(P):{};var q=P.wait;if(I=this._prepareModel(I,P),!I)return!1;q||this.add(I,P);var N=this,B=P.success;return P.success=function(re,ce,we){q&&N.add(re,we),B&&B.call(we.context,re,ce,we)},I.save(null,P),I},parse:function(I,P){return I},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(I){return I[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(I,P){if(this._isModel(I))return I.collection||(I.collection=this),I;P=P?n.clone(P):{},P.collection=this;var q=new this.model(I,P);return q.validationError?(this.trigger("invalid",this,q.validationError,P),!1):q},_removeModels:function(I,P){for(var q=[],N=0;N<I.length;N++){var B=this.get(I[N]);if(B){var re=this.indexOf(B);this.models.splice(re,1),this.length--,delete this._byId[B.cid];var ce=this.modelId(B.attributes);ce!=null&&delete this._byId[ce],P.silent||(P.index=re,B.trigger("remove",B,this,P)),q.push(B),this._removeReference(B,P)}}return q},_isModel:function(I){return I instanceof A},_addReference:function(I,P){this._byId[I.cid]=I;var q=this.modelId(I.attributes);q!=null&&(this._byId[q]=I),I.on("all",this._onModelEvent,this)},_removeReference:function(I,P){delete this._byId[I.cid];var q=this.modelId(I.attributes);q!=null&&delete this._byId[q],this===I.collection&&delete I.collection,I.off("all",this._onModelEvent,this)},_onModelEvent:function(I,P,q,N){if(P){if((I==="add"||I==="remove")&&q!==this)return;if(I==="destroy"&&this.remove(P,N),I==="change"){var B=this.modelId(P.previousAttributes()),re=this.modelId(P.attributes);B!==re&&(B!=null&&delete this._byId[B],re!=null&&(this._byId[re]=P))}}this.trigger.apply(this,arguments)}});var V={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};l(O,V,"models");var F=r.View=function(I){this.cid=n.uniqueId("view"),n.extend(this,n.pick(I,Y)),this._ensureElement(),this.initialize.apply(this,arguments)},G=/^(\S+)\s*(.*)$/,Y=["model","collection","el","id","attributes","className","tagName","events"];n.extend(F.prototype,h,{tagName:"div",$:function(I){return this.$el.find(I)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(I){return this.undelegateEvents(),this._setElement(I),this.delegateEvents(),this},_setElement:function(I){this.$el=I instanceof r.$?I:r.$(I),this.el=this.$el[0]},delegateEvents:function(I){if(I||(I=n.result(this,"events")),!I)return this;this.undelegateEvents();for(var P in I){var q=I[P];if(n.isFunction(q)||(q=this[q]),!!q){var N=P.match(G);this.delegate(N[1],N[2],n.bind(q,this))}}return this},delegate:function(I,P,q){return this.$el.on(I+".delegateEvents"+this.cid,P,q),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(I,P,q){return this.$el.off(I+".delegateEvents"+this.cid,P,q),this},_createElement:function(I){return document.createElement(I)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var I=n.extend({},n.result(this,"attributes"));this.id&&(I.id=n.result(this,"id")),this.className&&(I.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(I)}},_setAttributes:function(I){this.$el.attr(I)}}),r.sync=function(I,P,q){var N=X[I];n.defaults(q||(q={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var B={type:N,dataType:"json"};if(q.url||(B.url=n.result(P,"url")||Ae()),q.data==null&&P&&(I==="create"||I==="update"||I==="patch")&&(B.contentType="application/json",B.data=JSON.stringify(q.attrs||P.toJSON(q))),q.emulateJSON&&(B.contentType="application/x-www-form-urlencoded",B.data=B.data?{model:B.data}:{}),q.emulateHTTP&&(N==="PUT"||N==="DELETE"||N==="PATCH")){B.type="POST",q.emulateJSON&&(B.data._method=N);var re=q.beforeSend;q.beforeSend=function(_e){if(_e.setRequestHeader("X-HTTP-Method-Override",N),re)return re.apply(this,arguments)}}B.type!=="GET"&&!q.emulateJSON&&(B.processData=!1);var ce=q.error;q.error=function(_e,Oe,Te){q.textStatus=Oe,q.errorThrown=Te,ce&&ce.call(q.context,_e,Oe,Te)};var we=q.xhr=r.ajax(n.extend(B,q));return P.trigger("request",P,we,q),we};var X={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var J=r.Router=function(I){I||(I={}),I.routes&&(this.routes=I.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},Z=/\((.*?)\)/g,ue=/(\(\?)?:\w+/g,H=/\*\w+/g,L=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(J.prototype,h,{initialize:function(){},route:function(I,P,q){n.isRegExp(I)||(I=this._routeToRegExp(I)),n.isFunction(P)&&(q=P,P=""),q||(q=this[P]);var N=this;return r.history.route(I,function(B){var re=N._extractParameters(I,B);N.execute(q,re,P)!==!1&&(N.trigger.apply(N,["route:"+P].concat(re)),N.trigger("route",P,re),r.history.trigger("route",N,P,re))}),this},execute:function(I,P,q){I&&I.apply(this,P)},navigate:function(I,P){return r.history.navigate(I,P),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var I,P=n.keys(this.routes);(I=P.pop())!=null;)this.route(I,this.routes[I])}},_routeToRegExp:function(I){return I=I.replace(L,"\\$&").replace(Z,"(?:$1)?").replace(ue,function(P,q){return q?P:"([^/?]+)"}).replace(H,"([^?]*?)"),new RegExp("^"+I+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(I,P){var q=I.exec(P).slice(1);return n.map(q,function(N,B){return B===q.length-1?N||null:N?decodeURIComponent(N):null})}});var j=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},te=/^[#\/]|\s+$/g,ee=/^\/+|\/+$/g,de=/#.*$/;j.started=!1,n.extend(j.prototype,h,{interval:50,atRoot:function(){var I=this.location.pathname.replace(/[^\/]$/,"$&/");return I===this.root&&!this.getSearch()},matchRoot:function(){var I=this.decodeFragment(this.location.pathname),P=I.slice(0,this.root.length-1)+"/";return P===this.root},decodeFragment:function(I){return decodeURI(I.replace(/%25/g,"%2525"))},getSearch:function(){var I=this.location.href.replace(/#.*/,"").match(/\?.+/);return I?I[0]:""},getHash:function(I){var P=(I||this).location.href.match(/#(.*)$/);return P?P[1]:""},getPath:function(){var I=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return I.charAt(0)==="/"?I.slice(1):I},getFragment:function(I){return I==null&&(this._usePushState||!this._wantsHashChange?I=this.getPath():I=this.getHash()),I.replace(te,"")},start:function(I){if(j.started)throw new Error("Backbone.history has already been started");if(j.started=!0,this.options=n.extend({root:"/"},this.options,I),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(ee,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var P=this.root.slice(0,-1)||"/";return this.location.replace(P+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var q=document.body,N=q.insertBefore(this.iframe,q.firstChild).contentWindow;N.document.open(),N.document.close(),N.location.hash="#"+this.fragment}var B=window.addEventListener||function(re,ce){return attachEvent("on"+re,ce)};if(this._usePushState?B("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?B("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var I=window.removeEventListener||function(P,q){return detachEvent("on"+P,q)};this._usePushState?I("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&I("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),j.started=!1},route:function(I,P){this.handlers.unshift({route:I,callback:P})},checkUrl:function(I){var P=this.getFragment();if(P===this.fragment&&this.iframe&&(P=this.getHash(this.iframe.contentWindow)),P===this.fragment)return!1;this.iframe&&this.navigate(P),this.loadUrl()},loadUrl:function(I){return this.matchRoot()?(I=this.fragment=this.getFragment(I),n.some(this.handlers,function(P){if(P.route.test(I))return P.callback(I),!0})):!1},navigate:function(I,P){if(!j.started)return!1;(!P||P===!0)&&(P={trigger:!!P}),I=this.getFragment(I||"");var q=this.root;(I===""||I.charAt(0)==="?")&&(q=q.slice(0,-1)||"/");var N=q+I;if(I=this.decodeFragment(I.replace(de,"")),this.fragment!==I){if(this.fragment=I,this._usePushState)this.history[P.replace?"replaceState":"pushState"]({},document.title,N);else if(this._wantsHashChange){if(this._updateHash(this.location,I,P.replace),this.iframe&&I!==this.getHash(this.iframe.contentWindow)){var B=this.iframe.contentWindow;P.replace||(B.document.open(),B.document.close()),this._updateHash(B.location,I,P.replace)}}else return this.location.assign(N);if(P.trigger)return this.loadUrl(I)}},_updateHash:function(I,P,q){if(q){var N=I.href.replace(/(javascript:|#).*$/,"");I.replace(N+"#"+P)}else I.hash="#"+P}}),r.history=new j;var Se=function(I,P){var q=this,N;return I&&n.has(I,"constructor")?N=I.constructor:N=function(){return q.apply(this,arguments)},n.extend(N,q,P),N.prototype=n.create(q.prototype,I),N.prototype.constructor=N,N.__super__=q.prototype,N};A.extend=O.extend=J.extend=F.extend=j.extend=Se;var Ae=function(){throw new Error('A "url" property or function must be specified')},se=function(I,P){var q=P.error;P.error=function(N){q&&q.call(P.context,I,N,P),I.trigger("error",I,N,P)}};return r})})(RC)),RC}var P1e=um.exports,Tz;function k1e(){return Tz||(Tz=1,(function(e,t){(function(r,n){e.exports=n(Nte(),Mte())})(P1e,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,b){return _+(b?" on the "+b+" channel":"")+': "'+w+'"'},a.debugLog=function(_,w,b){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(_,w,b))};var s=/\s+/;a._eventsApi=function(_,w,b,x){if(!b)return!1;var A={};if((typeof b>"u"?"undefined":i(b))==="object"){for(var R in b){var O=_[w].apply(_,[R,b[R]].concat(x));s.test(R)?r.extend(A,O):A[R]=O}return A}if(s.test(b)){for(var m=b.split(s),k=0,D=m.length;k<D;k++)A[m[k]]=_[w].apply(_,[m[k]].concat(x));return A}return!1},a._callHandler=function(_,w,b){var x=b[0],A=b[1],R=b[2];switch(b.length){case 0:return _.call(w);case 1:return _.call(w,x);case 2:return _.call(w,x,A);case 3:return _.call(w,x,A,R);default:return _.apply(w,b)}};function l(_,w,b,x){var A=_[w];if((!b||b===A.callback||b===A.callback._callback)&&(!x||x===A.context))return delete _[w],!0}function c(_,w,b,x){_||(_={});for(var A=w?[w]:r.keys(_),R=!1,O=0,m=A.length;O<m;O++)w=A[O],_[w]&&l(_,w,b,x)&&(R=!0);return R}var d={};function h(_){return d[_]||(d[_]=r.bind(a.log,a,_))}r.extend(a,{log:function(w,b){if(!(typeof console>"u")){var x=r.toArray(arguments).slice(2);console.log("["+w+'] "'+b+'"',x)}},tuneIn:function(w){var b=a.channel(w);return b._tunedIn=!0,b.on("all",h(w)),this},tuneOut:function(w){var b=a.channel(w);return b._tunedIn=!1,b.off("all",h(w)),delete d[w],this}});function p(_){return r.isFunction(_)?_:function(){return _}}a.Requests={request:function(w){var b=r.toArray(arguments).slice(1),x=a._eventsApi(this,"request",w,b);if(x)return x;var A=this.channelName,R=this._requests;if(A&&this._tunedIn&&a.log.apply(this,[A,w].concat(b)),R&&(R[w]||R.default)){var O=R[w]||R.default;return b=R[w]?b:arguments,a._callHandler(O.callback,O.context,b)}else a.debugLog("An unhandled request was fired",w,A)},reply:function(w,b,x){return a._eventsApi(this,"reply",w,[b,x])?this:(this._requests||(this._requests={}),this._requests[w]&&a.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:p(b),context:x||this},this)},replyOnce:function(w,b,x){if(a._eventsApi(this,"replyOnce",w,[b,x]))return this;var A=this,R=r.once(function(){return A.stopReplying(w),p(b).apply(this,arguments)});return this.reply(w,R,x)},stopReplying:function(w,b,x){return a._eventsApi(this,"stopReplying",w)?this:(!w&&!b&&!x?delete this._requests:c(this._requests,w,b,x)||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 g,S,E=[n.Events,a.Requests];return r.each(E,function(_){r.each(_,function(w,b){a[b]=function(x){return S=r.toArray(arguments).slice(1),g=this.channel(x),g[b].apply(g,S)}})}),a.reset=function(_){var w=_?[this._channels[_]]:this._channels;r.each(w,function(b){b.reset()})},a})})(um)),um.exports}var D1e=k1e();const Az=jn(D1e);var jr=Mte();const Xi=jn(jr);var $te="1.13.7",Rz=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},r1=Array.prototype,OP=Object.prototype,xz=typeof Symbol<"u"?Symbol.prototype:null,L1e=r1.push,ov=r1.slice,Ap=OP.toString,N1e=OP.hasOwnProperty,Fte=typeof ArrayBuffer<"u",M1e=typeof DataView<"u",$1e=Array.isArray,Oz=Object.keys,Iz=Object.create,Pz=Fte&&ArrayBuffer.isView,F1e=isNaN,j1e=isFinite,jte=!{toString:null}.propertyIsEnumerable("toString"),kz=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],U1e=Math.pow(2,53)-1;function Io(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 Is(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function q1e(e){return e===null}function km(e){return e===void 0}function Ute(e){return e===!0||e===!1||Ap.call(e)==="[object Boolean]"}function V1e(e){return!!(e&&e.nodeType===1)}function Ha(e){var t="[object "+e+"]";return function(r){return Ap.call(r)===t}}var IP=Ha("String"),Cd=Ha("Number"),H1e=Ha("Date"),B1e=Ha("RegExp"),z1e=Ha("Error"),qte=Ha("Symbol"),Vte=Ha("ArrayBuffer"),Hte=Ha("Function"),W1e=Rz.document&&Rz.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof W1e!="function"&&(Hte=function(e){return typeof e=="function"||!1});var un=Hte,Bte=Ha("Object"),zte=M1e&&(!/\[native code\]/.test(String(DataView))||Bte(new DataView(new ArrayBuffer(8)))),PP=typeof Map<"u"&&Bte(new Map),G1e=Ha("DataView");function K1e(e){return e!=null&&un(e.getInt8)&&Vte(e.buffer)}var Dm=zte?K1e:G1e,ec=$1e||Ha("Array");function tc(e,t){return e!=null&&N1e.call(e,t)}var OO=Ha("Arguments");(function(){OO(arguments)||(OO=function(e){return tc(e,"callee")})})();var kP=OO;function Y1e(e){return!qte(e)&&j1e(e)&&!isNaN(parseFloat(e))}function Wte(e){return Cd(e)&&F1e(e)}function Gte(e){return function(){return e}}function Kte(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=U1e}}function Yte(e){return function(t){return t==null?void 0:t[e]}}var Lm=Yte("byteLength"),X1e=Kte(Lm),Q1e=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Z1e(e){return Pz?Pz(e)&&!Dm(e):X1e(e)&&Q1e.test(Ap.call(e))}var Xte=Fte?Z1e:Gte(!1),Po=Yte("length");function J1e(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 Qte(e,t){t=J1e(t);var r=kz.length,n=e.constructor,i=un(n)&&n.prototype||OP,o="constructor";for(tc(e,o)&&!t.contains(o)&&t.push(o);r--;)o=kz[r],o in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}function Zi(e){if(!Is(e))return[];if(Oz)return Oz(e);var t=[];for(var r in e)tc(e,r)&&t.push(r);return jte&&Qte(e,t),t}function Rp(e){if(e==null)return!0;var t=Po(e);return typeof t=="number"&&(ec(e)||IP(e)||kP(e))?t===0:Po(Zi(e))===0}function Zte(e,t){var r=Zi(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 $n(e){if(e instanceof $n)return e;if(!(this instanceof $n))return new $n(e);this._wrapped=e}$n.VERSION=$te;$n.prototype.value=function(){return this._wrapped};$n.prototype.valueOf=$n.prototype.toJSON=$n.prototype.value;$n.prototype.toString=function(){return String(this._wrapped)};function Dz(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Lm(e))}var Lz="[object DataView]";function IO(e,t,r,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var i=typeof e;return i!=="function"&&i!=="object"&&typeof t!="object"?!1:Jte(e,t,r,n)}function Jte(e,t,r,n){e instanceof $n&&(e=e._wrapped),t instanceof $n&&(t=t._wrapped);var i=Ap.call(e);if(i!==Ap.call(t))return!1;if(zte&&i=="[object Object]"&&Dm(e)){if(!Dm(t))return!1;i=Lz}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 xz.valueOf.call(e)===xz.valueOf.call(t);case"[object ArrayBuffer]":case Lz:return Jte(Dz(e),Dz(t),r,n)}var o=i==="[object Array]";if(!o&&Xte(e)){var a=Lm(e);if(a!==Lm(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 s=e.constructor,l=t.constructor;if(s!==l&&!(un(s)&&s instanceof s&&un(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var c=r.length;c--;)if(r[c]===e)return n[c]===t;if(r.push(e),n.push(t),o){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!IO(e[c],t[c],r,n))return!1}else{var d=Zi(e),h;if(c=d.length,Zi(t).length!==c)return!1;for(;c--;)if(h=d[c],!(tc(t,h)&&IO(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function ere(e,t){return IO(e,t)}function sv(e){if(!Is(e))return[];var t=[];for(var r in e)t.push(r);return jte&&Qte(e,t),t}function DP(e){var t=Po(e);return function(r){if(r==null)return!1;var n=sv(r);if(Po(n))return!1;for(var i=0;i<t;i++)if(!un(r[e[i]]))return!1;return e!==nre||!un(r[LP])}}var LP="forEach",tre="has",NP=["clear","delete"],rre=["get",tre,"set"],e0e=NP.concat(LP,rre),nre=NP.concat(rre),t0e=["add"].concat(NP,LP,tre),r0e=PP?DP(e0e):Ha("Map"),n0e=PP?DP(nre):Ha("WeakMap"),i0e=PP?DP(t0e):Ha("Set"),a0e=Ha("WeakSet");function rc(e){for(var t=Zi(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function o0e(e){for(var t=Zi(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function ire(e){for(var t={},r=Zi(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function PO(e){var t=[];for(var r in e)un(e[r])&&t.push(r);return t.sort()}function MP(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),s=a.length,l=0;l<s;l++){var c=a[l];(!t||r[c]===void 0)&&(r[c]=o[c])}return r}}var Co=MP(sv),Nm=MP(Zi),are=MP(sv,!0);function s0e(){return function(){}}function ore(e){if(!Is(e))return{};if(Iz)return Iz(e);var t=s0e();t.prototype=e;var r=new t;return t.prototype=null,r}function u0e(e,t){var r=ore(e);return t&&Nm(r,t),r}function sre(e){return Is(e)?ec(e)?e.slice():Co({},e):e}function l0e(e,t){return t(e),e}function ure(e){return ec(e)?e:[e]}$n.toPath=ure;function uv(e){return $n.toPath(e)}function $P(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 lre(e,t,r){var n=$P(e,uv(t));return km(n)?r:n}function Mm(e,t){t=uv(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!tc(e,i))return!1;e=e[i]}return!!r}function n1(e){return e}function xp(e){return e=Nm({},e),function(t){return Zte(t,e)}}function FP(e){return e=uv(e),function(t){return $P(t,e)}}function lv(e,t,r){if(t===void 0)return e;switch(r??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,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 cre(e,t,r){return e==null?n1:un(e)?lv(e,t,r):Is(e)&&!ec(e)?xp(e):FP(e)}function jP(e,t){return cre(e,t,1/0)}$n.iteratee=jP;function Lo(e,t,r){return $n.iteratee!==jP?$n.iteratee(e,t):cre(e,t,r)}function c0e(e,t,r){t=Lo(t,r);for(var n=Zi(e),i=n.length,o={},a=0;a<i;a++){var s=n[a];o[s]=t(e[s],s,e)}return o}function fre(){}function f0e(e){return e==null?fre:function(t){return lre(e,t)}}function d0e(e,t,r){var n=Array(Math.max(0,e));t=lv(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function kO(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var Op=Date.now||function(){return new Date().getTime()};function dre(e){var t=function(o){return e[o]},r="(?:"+Zi(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}}var hre={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},h0e=dre(hre),p0e=ire(hre),v0e=dre(p0e),g0e=$n.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},xC=/(.)^/,m0e={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},y0e=/\\|'|\r|\n|\u2028|\u2029/g;function _0e(e){return"\\"+m0e[e]}var S0e=/^\s*(\w|\$)+\s*$/;function E0e(e,t,r){!t&&r&&(t=r),t=are({},t,$n.templateSettings);var n=RegExp([(t.escape||xC).source,(t.interpolate||xC).source,(t.evaluate||xC).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(n,function(c,d,h,p,g){return o+=e.slice(i,g).replace(y0e,_0e),i=g+c.length,d?o+=`'+
|
|
31
|
+
((__t=(`+d+`))==null?'':_.escape(__t))+
|
|
32
|
+
'`:h?o+=`'+
|
|
33
|
+
((__t=(`+h+`))==null?'':__t)+
|
|
34
|
+
'`:p&&(o+=`';
|
|
35
|
+
`+p+`
|
|
36
|
+
__p+='`),c}),o+=`';
|
|
37
|
+
`;var a=t.variable;if(a){if(!S0e.test(a))throw new Error("variable is not a bare identifier: "+a)}else o=`with(obj||{}){
|
|
38
|
+
`+o+`}
|
|
39
|
+
`,a="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
40
|
+
`+o+`return __p;
|
|
41
|
+
`;var s;try{s=new Function(a,"_",o)}catch(c){throw c.source=o,c}var l=function(c){return s.call(this,c,$n)};return l.source="function("+a+`){
|
|
42
|
+
`+o+"}",l}function pp(e,t,r){t=uv(t);var n=t.length;if(!n)return un(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=un(o)?o.call(e):o}return e}var w0e=0;function pre(e){var t=++w0e+"";return e?e+t:t}function b0e(e){var t=$n(e);return t._chain=!0,t}function vre(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var o=ore(e.prototype),a=e.apply(o,i);return Is(a)?a:o}var lh=Io(function(e,t){var r=lh.placeholder,n=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===r?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return vre(e,n,this,this,a)};return n});lh.placeholder=$n;var Vu=Io(function(e,t,r){if(!un(e))throw new TypeError("Bind must be called on a function");var n=Io(function(i){return vre(e,n,t,this,r.concat(i))});return n}),us=Kte(Po);function Sf(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=Po(e);o<a;o++){var s=e[o];if(us(s)&&(ec(s)||kP(s)))if(t>1)Sf(s,t-1,r,n),i=n.length;else for(var l=0,c=s.length;l<c;)n[i++]=s[l++];else r||(n[i++]=s)}return n}var C0e=Io(function(e,t){t=Sf(t,!1,!1);var r=t.length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=Vu(e[n],e)}return e});function gre(e,t){var r=function(n){var i=r.cache,o=""+(t?t.apply(this,arguments):n);return tc(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return r.cache={},r}var mre=Io(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),T0e=lh(mre,$n,1);function yre(e,t,r){var n,i,o,a,s=0;r||(r={});var l=function(){s=r.leading===!1?0:Op(),n=null,a=e.apply(i,o),n||(i=o=null)},c=function(){var d=Op();!s&&r.leading===!1&&(s=d);var h=t-(d-s);return i=this,o=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),s=d,a=e.apply(i,o),n||(i=o=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,h)),a};return c.cancel=function(){clearTimeout(n),s=0,n=i=o=null},c}function _re(e,t,r){var n,i,o,a,s,l=function(){var d=Op()-i;t>d?n=setTimeout(l,t-d):(n=null,r||(a=e.apply(s,o)),n||(o=s=null))},c=Io(function(d){return s=this,o=d,i=Op(),n||(n=setTimeout(l,t),r&&(a=e.apply(s,o))),a});return c.cancel=function(){clearTimeout(n),n=o=s=null},c}function A0e(e,t){return lh(t,e)}function UP(e){return function(){return!e.apply(this,arguments)}}function R0e(){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 x0e(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Sre(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var O0e=lh(Sre,2);function Ere(e,t,r){t=Lo(t,r);for(var n=Zi(e),i,o=0,a=n.length;o<a;o++)if(i=n[o],t(e[i],i,e))return i}function wre(e){return function(t,r,n){r=Lo(r,n);for(var i=Po(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(r(t[o],o,t))return o;return-1}}var i1=wre(1),bre=wre(-1);function Cre(e,t,r,n){r=Lo(r,n,1);for(var i=r(t),o=0,a=Po(e);o<a;){var s=Math.floor((o+a)/2);r(e[s])<i?o=s+1:a=s}return o}function Tre(e,t,r){return function(n,i,o){var a=0,s=Po(n);if(typeof o=="number")e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(r&&o&&s)return o=r(n,i),n[o]===i?o:-1;if(i!==i)return o=t(ov.call(n,a,s),Wte),o>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(n[o]===i)return o;return-1}}var Are=Tre(1,i1,Cre),I0e=Tre(-1,bre);function DO(e,t,r){var n=us(e)?i1:Ere,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function Rre(e,t){return DO(e,xp(t))}function Ca(e,t,r){t=lv(t,r);var n,i;if(us(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var o=Zi(e);for(n=0,i=o.length;n<i;n++)t(e[o[n]],o[n],e)}return e}function Qc(e,t,r){t=Lo(t,r);for(var n=!us(e)&&Zi(e),i=(n||e).length,o=Array(i),a=0;a<i;a++){var s=n?n[a]:a;o[a]=t(e[s],s,e)}return o}function xre(e){var t=function(r,n,i,o){var a=!us(r)&&Zi(r),s=(a||r).length,l=e>0?0:s-1;for(o||(i=r[a?a[l]:l],l+=e);l>=0&&l<s;l+=e){var c=a?a[l]:l;i=n(i,r[c],c,r)}return i};return function(r,n,i,o){var a=arguments.length>=3;return t(r,lv(n,o,4),i,a)}}var cm=xre(1),Nz=xre(-1);function Zc(e,t,r){var n=[];return t=Lo(t,r),Ca(e,function(i,o,a){t(i,o,a)&&n.push(i)}),n}function P0e(e,t,r){return Zc(e,UP(Lo(t)),r)}function LO(e,t,r){t=Lo(t,r);for(var n=!us(e)&&Zi(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 NO(e,t,r){t=Lo(t,r);for(var n=!us(e)&&Zi(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 Zu(e,t,r,n){return us(e)||(e=rc(e)),(typeof r!="number"||n)&&(r=0),Are(e,t,r)>=0}var k0e=Io(function(e,t,r){var n,i;return un(t)?i=t:(t=uv(t),n=t.slice(0,-1),t=t[t.length-1]),Qc(e,function(o){var a=i;if(!a){if(n&&n.length&&(o=$P(o,n)),o==null)return;a=o[t]}return a==null?a:a.apply(o,r)})});function qP(e,t){return Qc(e,FP(t))}function Ore(e,t){return Zc(e,xp(t))}function VP(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=us(e)?e:rc(e);for(var s=0,l=e.length;s<l;s++)o=e[s],o!=null&&o>n&&(n=o)}else t=Lo(t,r),Ca(e,function(c,d,h){a=t(c,d,h),(a>i||a===-1/0&&n===-1/0)&&(n=c,i=a)});return n}function D0e(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=us(e)?e:rc(e);for(var s=0,l=e.length;s<l;s++)o=e[s],o!=null&&o<n&&(n=o)}else t=Lo(t,r),Ca(e,function(c,d,h){a=t(c,d,h),(a<i||a===1/0&&n===1/0)&&(n=c,i=a)});return n}var L0e=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ire(e){return e?ec(e)?ov.call(e):IP(e)?e.match(L0e):us(e)?Qc(e,n1):rc(e):[]}function Pre(e,t,r){if(t==null||r)return us(e)||(e=rc(e)),e[kO(e.length-1)];var n=Ire(e),i=Po(n);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=kO(a,o),l=n[a];n[a]=n[s],n[s]=l}return n.slice(0,t)}function kre(e){return Pre(e,1/0)}function Dre(e,t,r){var n=0;return t=Lo(t,r),qP(Qc(e,function(i,o,a){return{value:i,index:n++,criteria:t(i,o,a)}}).sort(function(i,o){var a=i.criteria,s=o.criteria;if(a!==s){if(a>s||a===void 0)return 1;if(a<s||s===void 0)return-1}return i.index-o.index}),"value")}function a1(e,t){return function(r,n,i){var o=t?[[],[]]:{};return n=Lo(n,i),Ca(r,function(a,s){var l=n(a,s,r);e(o,a,l)}),o}}var Lre=a1(function(e,t,r){tc(e,r)?e[r].push(t):e[r]=[t]}),N0e=a1(function(e,t,r){e[r]=t}),Nre=a1(function(e,t,r){tc(e,r)?e[r]++:e[r]=1}),M0e=a1(function(e,t,r){e[r?0:1].push(t)},!0);function $0e(e){return e==null?0:us(e)?e.length:Zi(e).length}function F0e(e,t,r){return t in r}var HP=Io(function(e,t){var r={},n=t[0];if(e==null)return r;un(n)?(t.length>1&&(n=lv(n,t[1])),t=sv(e)):(n=F0e,t=Sf(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];n(s,a,e)&&(r[a]=s)}return r}),o1=Io(function(e,t){var r=t[0],n;return un(r)?(r=UP(r),t.length>1&&(n=t[1])):(t=Qc(Sf(t,!1,!1),String),r=function(i,o){return!Zu(t,o)}),HP(e,r,n)});function Mre(e,t,r){return ov.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function vp(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:Mre(e,e.length-t)}function fm(e,t,r){return ov.call(e,t==null||r?1:t)}function $m(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:fm(e,Math.max(0,e.length-t))}function j0e(e){return Zc(e,Boolean)}function $re(e,t){return Sf(e,t,!1)}var Fre=Io(function(e,t){return t=Sf(t,!0,!0),Zc(e,function(r){return!Zu(t,r)})}),MO=Io(function(e,t){return Fre(e,t)});function Ip(e,t,r,n){Ute(t)||(n=r,r=t,t=!1),r!=null&&(r=Lo(r,n));for(var i=[],o=[],a=0,s=Po(e);a<s;a++){var l=e[a],c=r?r(l,a,e):l;t&&!r?((!a||o!==c)&&i.push(l),o=c):r?Zu(o,c)||(o.push(c),i.push(l)):Zu(i,l)||i.push(l)}return i}var U0e=Io(function(e){return Ip(Sf(e,!0,!0))});function jre(e){for(var t=[],r=arguments.length,n=0,i=Po(e);n<i;n++){var o=e[n];if(!Zu(t,o)){var a;for(a=1;a<r&&Zu(arguments[a],o);a++);a===r&&t.push(o)}}return t}function $O(e){for(var t=e&&VP(e,Po).length||0,r=Array(t),n=0;n<t;n++)r[n]=qP(e,n);return r}var q0e=Io($O);function Ure(e,t){for(var r={},n=0,i=Po(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function V0e(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 qre(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(ov.call(e,n,n+=t));return r}function BP(e,t){return e._chain?$n(t).chain():t}function Vre(e){return Ca(PO(e),function(t){var r=$n[t]=e[t];$n.prototype[t]=function(){var n=[this._wrapped];return L1e.apply(n,arguments),BP(this,r.apply($n,n))}}),$n}Ca(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r1[e];$n.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),BP(this,r)}});Ca(["concat","join","slice"],function(e){var t=r1[e];$n.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),BP(this,r)}});var H0e={__proto__:null,VERSION:$te,restArguments:Io,isObject:Is,isNull:q1e,isUndefined:km,isBoolean:Ute,isElement:V1e,isString:IP,isNumber:Cd,isDate:H1e,isRegExp:B1e,isError:z1e,isSymbol:qte,isArrayBuffer:Vte,isDataView:Dm,isArray:ec,isFunction:un,isArguments:kP,isFinite:Y1e,isNaN:Wte,isTypedArray:Xte,isEmpty:Rp,isMatch:Zte,isEqual:ere,isMap:r0e,isWeakMap:n0e,isSet:i0e,isWeakSet:a0e,keys:Zi,allKeys:sv,values:rc,pairs:o0e,invert:ire,functions:PO,methods:PO,extend:Co,extendOwn:Nm,assign:Nm,defaults:are,create:u0e,clone:sre,tap:l0e,get:lre,has:Mm,mapObject:c0e,identity:n1,constant:Gte,noop:fre,toPath:ure,property:FP,propertyOf:f0e,matcher:xp,matches:xp,times:d0e,random:kO,now:Op,escape:h0e,unescape:v0e,templateSettings:g0e,template:E0e,result:pp,uniqueId:pre,chain:b0e,iteratee:jP,partial:lh,bind:Vu,bindAll:C0e,memoize:gre,delay:mre,defer:T0e,throttle:yre,debounce:_re,wrap:A0e,negate:UP,compose:R0e,after:x0e,before:Sre,once:O0e,findKey:Ere,findIndex:i1,findLastIndex:bre,sortedIndex:Cre,indexOf:Are,lastIndexOf:I0e,find:DO,detect:DO,findWhere:Rre,each:Ca,forEach:Ca,map:Qc,collect:Qc,reduce:cm,foldl:cm,inject:cm,reduceRight:Nz,foldr:Nz,filter:Zc,select:Zc,reject:P0e,every:LO,all:LO,some:NO,any:NO,contains:Zu,includes:Zu,include:Zu,invoke:k0e,pluck:qP,where:Ore,max:VP,min:D0e,shuffle:kre,sample:Pre,sortBy:Dre,groupBy:Lre,indexBy:N0e,countBy:Nre,partition:M0e,toArray:Ire,size:$0e,pick:HP,omit:o1,first:vp,head:vp,take:vp,initial:Mre,last:$m,rest:fm,tail:fm,drop:fm,compact:j0e,flatten:$re,without:MO,uniq:Ip,unique:Ip,union:U0e,intersection:jre,difference:Fre,unzip:$O,transpose:$O,zip:q0e,object:Ure,range:V0e,chunk:qre,mixin:Vre,default:$n},at=Vre(H0e);at._=at;const _n={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"},B0e=/\/+$/g,z0e=jr.history.getFragment.bind(jr.history);Co(jr.history,{getFragment(e){return z0e(e).replace(B0e,"")}});const Mn={GetQuery(){return Mn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Mn.GetQuery();let r=Mn.SerializeQueryParams(Co(t,e));r&&(r=`?${r}`),Mn.UpdateUrl(`${Mn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Fn.buildRoute(e,t);jr.history.navigate(n,r),jr.Radio.channel(_n.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?cm(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(){jr.History.started&&jr.history.stop(),jr.history.start({pushState:!0})},PageLoad(e,t=!1,r){if(!t){window.location.href=e;return}window.open(e,"_blank",r)},Redirect(e,t=!0){const r=()=>t?window.location.replace(e):window.location.href=e;Wo.hasActiveRoute()?jr.Radio.channel(_n.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}},W0e=/((\(\?)?:\w+)|(\*\w+)/,G0e=/[\(\)]/g,K0e=/\(\/\)/g,Y0e=/\/$/,X0e=/\([^)]*\)/g,Wo={routingStarted(){jr.Radio.channel(_n.SHELL).trigger(An.ROUTING_START)},routingEnded(){if(!Wo.hasActiveRoute())return;jr.Radio.channel(_n.SHELL).trigger(An.ROUTING_END)},hasActiveRoute(){return jr.Radio.channel(_n.SHELL).request(An.HAS_ACTIVE_ROUTE)}},Mz=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;jr.Radio.channel(r).trigger(n,e,t)},Fn={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:o}=e,a=jr.Radio.channel(_n.SHELL),s={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},l=a.request(An.ROUTE_LOOKUP,`${r}:${n}`,i,o,s);return l===!1?"":`/${l}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ca(n,a=>{e=e.replace(W0e,a||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(X0e,"")),e=e.replace(K0e,""),e=e.replace(G0e,""),e=e.replace(Y0e,""),!i)return e;const o=Mn.SerializeQueryParams(i);return o.length?`${e}?${o}`:e},trigger(e,t){if(!e)return;if(!Wo.hasActiveRoute()){Mz(e,t);return}jr.Radio.channel(_n.SHELL).once("routing:end",()=>{Mz(e,t)})},getCurrentAppLink(){return jr.Radio.channel(_n.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=Mn.SerializeQueryParams((e==null?void 0:e.params)??{}),a=Mn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&o!==a)}};var Q0e="4.1.3",cv=Xi.Model.extend,zP=function(t){var r=this;if(t)return at.reduce(t,function(n,i,o){return at.isFunction(i)||(i=r[i]),i&&(n[o]=i),n},{})},$z=["description","fileName","lineNumber","name","message","number","url"],wa=cv.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(Q0e,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);at.extend(this,at.pick(r,$z),at.pick(t,$z)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,wa)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function Hre(e,t){if(!at.isObject(t))throw new wa({message:"Bindings must be an object.",url:"common.html#bindevents"});return zP.call(e,t)}function Z0e(e,t){return!e||!t?this:(this.listenTo(e,Hre(this,t)),this)}function J0e(e,t){return e?t?(this.stopListening(e,Hre(this,t)),this):(this.stopListening(e),this):this}function Bre(e,t){if(!at.isObject(t))throw new wa({message:"Bindings must be an object.",url:"common.html#bindrequests"});return zP.call(e,t)}function e_e(e,t){return!e||!t?this:(e.reply(Bre(this,t),this),this)}function t_e(e,t){return e?t?(e.stopReplying(Bre(this,t),this),this):(e.stopReplying(null,null,this),this):this}var zre=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},r_e=function(t,r){var n=this;t&&at.each(r,function(i){var o=t[i];o!==void 0&&(n[i]=o)})};function s1(e,t,r){e._getImmediateChildren&&at.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function Wre(e){return!e._isAttached}function n_e(e){return Wre(e)?(e._isAttached=!0,!0):!1}function i_e(e){return e._isAttached}function a_e(e){return e._isAttached=!1,!0}function Gre(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function Kre(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function o_e(){s1(this,"before:attach",Wre)}function s_e(){s1(this,"attach",n_e),Gre(this)}function u_e(){s1(this,"before:detach",i_e),Kre(this)}function l_e(){s1(this,"detach",a_e)}function c_e(){Kre(this)}function f_e(){Gre(this)}function Fm(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":o_e,attach:s_e,"before:detach":u_e,detach:l_e,"before:render":c_e,render:f_e}))}var d_e=/(^|:)(\w)/gi,OC={};function h_e(e,t,r){return r.toUpperCase()}var p_e=function(t){return OC[t]||(OC[t]="on"+t.replace(d_e,h_e)),OC[t]};function v_e(e){var t=p_e(e),r=zre.call(this,t),n;return at.isFunction(r)&&(n=r.apply(this,at.drop(arguments))),this.trigger.apply(this,arguments),n}var ch={normalizeMethods:zP,_setOptions:function(t,r){this.options=at.extend({},at.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:r_e,getOption:zre,bindEvents:Z0e,unbindEvents:J0e,bindRequests:e_e,unbindRequests:t_e,triggerMethod:v_e};at.extend(ch,Xi.Events);var Yre={_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)}},Xre={_initRadio:function(){var t=at.result(this,"channelName");if(t){if(!Az)throw new wa({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=Az.channel(t),n=at.result(this,"radioEvents");this.bindEvents(r,n);var i=at.result(this,"radioRequests");this.bindRequests(r,i),this.on("destroy",this._destroyRadio)}},_destroyRadio:function(){this._channel.stopReplying(null,null,this)},getChannel:function(){return this._channel}},g_e=["channelName","radioEvents","radioRequests"],Ef=function(t){this._setOptions(t,g_e),this.cid=at.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Ef.extend=cv;at.extend(Ef.prototype,ch,Yre,Xre,{cidPrefix:"mno",initialize:function(){}});var Bs=at.invokeMap||at.invoke;function m_e(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(at.isFunction(e))return{BehaviorClass:e,options:{}};throw new wa({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 Qre(e,t,r){return at.reduce(t,function(n,i){var o=m_e(i),a=o.BehaviorClass,s=o.options,l=new a(s,e);return n.push(l),Qre(e,at.result(l,"behaviors"),n)},r)}var y_e={_initBehaviors:function(){this._behaviors=Qre(this,at.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=Bs(this._behaviors,"_getTriggers");return at.reduce(t,function(r,n){return at.extend(r,n)},{})},_getBehaviorEvents:function(){var t=Bs(this._behaviors,"_getEvents");return at.reduce(t,function(r,n){return at.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){Bs(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){Bs(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){Bs(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){Bs(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=at.without(this._behaviors,t))},_bindBehaviorUIElements:function(){Bs(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){Bs(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){Bs(this._behaviors,"triggerMethod",t,r,n)}},Zre={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=at.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=at.result(this,"collectionEvents"),this.bindEvents(r,this._collectionEvents))},_undelegateEntityEvents:function(t,r){this._modelEvents&&(this.unbindEvents(t,this._modelEvents),delete this._modelEvents),this._collectionEvents&&(this.unbindEvents(r,this._collectionEvents),delete this._collectionEvents)},_deleteEntityEventHandlers:function(){delete this._modelEvents,delete this._collectionEvents}},__e={_renderTemplate:function(t){var r=this.mixinTemplateContext(this.serializeData())||{},n=this._renderHtml(t,r);typeof n<"u"&&this.attachElContent(n)},getTemplate:function(){return this.template},mixinTemplateContext:function(t){var r=at.result(this,"templateContext");return r?t?at.extend({},t,r):r:t},serializeData:function(){if(this.model)return this.serializeModel();if(this.collection)return{items:this.serializeCollection()}},serializeModel:function(){return this.model.attributes},serializeCollection:function(){return at.map(this.collection.models,function(t){return t.attributes})},_renderHtml:function(t,r){return t(r)},attachElContent:function(t){this.Dom.setContents(this.el,t,this.$el)}},S_e=/^(\S+)\s*(.*)$/,Jre=function(t,r){var n=t.match(S_e);return"".concat(n[1],".").concat(r," ").concat(n[2])},E_e={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function FO(e){return!!E_e[e]}function w_e(e,t){at.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;FO("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return FO("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(o){n&&o.preventDefault(),i&&o.stopPropagation();for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];e.triggerMethod.apply(e,[r,e,o].concat(s))}}var ene={_getViewTriggers:function(t,r){var n=this;return at.reduce(r,function(i,o,a){return a=Jre(a,"trig".concat(n.cid)),i[a]=w_e(t,o),i},{})}},b_e=function(t,r){return at.reduce(t,function(n,i,o){var a=jm(o,r);return n[a]=i,n},{})},C_e=/@ui\.[a-zA-Z-_$0-9]*/g,jm=function(t,r){return t.replace(C_e,function(n){return r[n.slice(4)]})},T_e=function(t,r,n){return at.each(t,function(i,o){if(at.isString(i))t[o]=jm(i,r);else if(i){var a=i[n];at.isString(a)&&(i[n]=jm(a,r))}}),t},tne={normalizeUIKeys:function(t){var r=this._getUIBindings();return b_e(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return jm(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return T_e(t,n,r)},_getUIBindings:function(){var t=at.result(this,"_uiBindings");return t||at.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=at.result(this,"_uiBindings");this._ui={},at.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(at.each(this.ui,function(r,n){delete t.ui[n]}),this.ui=this._uiBindings,delete this._uiBindings,delete this._ui)},_getUI:function(t){return this._ui[t]}};function wc(e){return e instanceof Xi.$?e:Xi.$(e)}function WP(e){return this.prototype.Dom=at.extend({},this.prototype.Dom,e),this}var rne={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return wc(t)},findEl:function(t,r){return wc(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]:wc(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]:wc(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?wc(t):i,a=n._$contents,s=a===void 0?wc(r):a;o.append(s)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wc(t);r.contents().detach()}},GP={Dom:rne,_isElAttached:function(){return!!this.el&&this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,_isDestroyed:!1,isDestroyed:function(){return!!this._isDestroyed},_isRendered:!1,isRendered:function(){return!!this._isRendered},_isAttached:!1,isAttached:function(){return!!this._isAttached},delegateEvents:function(t){this._proxyBehaviorViewProperties(),this._buildEventProxies();var r=at.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Xi.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(at.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(at.result(this,"triggers"));return this._getViewTriggers(this,t)}},delegateEntityEvents:function(){return this._delegateEntityEvents(this.model,this.collection),this._delegateBehaviorEntityEvents(),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.model,this.collection),this._undelegateBehaviorEntityEvents(),this},destroy:function(t){if(this._isDestroyed||this._isDestroying)return this;this._isDestroying=!0;var r=this._isAttached&&!this._disableDetachEvents;return this.triggerMethod("before:destroy",this,t),r&&this.triggerMethod("before:detach",this),this.unbindUIElements(),this._removeElement(),r&&(this._isAttached=!1,this.triggerMethod("detach",this)),this._removeChildren(),this._isDestroyed=!0,this._isRendered=!1,this._destroyBehaviors(t),this._deleteEntityEventHandlers(),this.triggerMethod("destroy",this,t),this._triggerEventOnBehaviors("destroy",this,t),this.stopListening(),this},_removeElement:function(){this.$el.off().removeData(),this.Dom.detachEl(this.el,this.$el)},bindUIElements:function(){return this._bindUIElements(),this._bindBehaviorUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this._unbindBehaviorUIElements(),this},getUI:function(t){return this._getUI(t)},_buildEventProxies:function(){this._childViewEvents=this.normalizeMethods(at.result(this,"childViewEvents")),this._childViewTriggers=at.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=FO("childViewEventPrefix")?"childview":!1,r=at.result(this,"childViewEventPrefix",t);return r===!1?r:r+":"},_proxyChildViewEvents:function(t){(this._childViewEvents||this._childViewTriggers||this._eventPrefix)&&this.listenTo(t,"all",this._childViewEventHandler)},_childViewEventHandler:function(t){for(var r=this._childViewEvents,n=arguments.length,i=new Array(n>1?n-1:0),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))}};at.extend(GP,y_e,ch,Zre,__e,ene,tne);function nne(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function ine(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 Wh="RegionError",A_e=["allowMissingEl","parentEl","replaceElement"],wf=function(t){this._setOptions(t,A_e),this.cid=at.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Xi.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};wf.extend=cv;wf.setDomApi=WP;at.extend(wf.prototype,ch,{Dom:rne,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 wa({name:Wh,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,nne(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new wa({name:Wh,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){Fm(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"?!!at.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(at.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!at.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new wa({name:Wh,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 wa({name:Wh,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 wa({name:Wh,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Xi.View)return t;var r=this._getViewOptions(t);return new KP(r)},_getViewOptions:function(t){if(at.isFunction(t))return{template:t};if(at.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=at.result(this,"parentEl");return r&&at.isString(t)?this.Dom.findEl(r,t):this.Dom.getEl(t)},_replaceEl:function(t){this._restoreEl(),t.on("before:destroy",this._restoreEl,this),this.Dom.replaceEl(t.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var t=this.currentView;t&&(this._detachView(t),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(t){this.Dom.appendContents(this.el,t.el,{_$el:this.$el,_$contents:t.$el})},empty:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{allowMissingEl:!0},r=this.currentView;return r?(this._empty(r,!0),this):(this._ensureElement(t)&&this.detachHtml(),this)},_empty:function(t,r){t.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,t),this._restoreEl(),delete this.currentView,t._isDestroyed||(r?this.removeView(t):this._detachView(t),t._isShown=!1,this._stopChildViewEvents(t)),this.triggerMethod("empty",this,t)},_stopChildViewEvents:function(t){var r=this._parentView;r&&this._parentView.stopListening(t)},destroyView:function(t){return t._isDestroyed||ine(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 ane(e,t){if(e instanceof wf)return e;if(at.isString(e))return IC(t,{el:e});if(at.isFunction(e))return IC(t,{regionClass:e});if(at.isObject(e))return IC(t,e);throw new wa({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function IC(e,t){var r=at.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var R_e={regionClass:wf,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(at.result(this,"regions"))},_reInitRegions:function(){Bs(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!at.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=at.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:at.partial(at.result,this,"el")};return at.reduce(t,function(i,o,a){return i[a]=ane(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 at.each(this._regions,this._removeRegion.bind(this)),t},_removeRegion:function(t,r){this.triggerMethod("before:remove:region",this,r,t),t.destroy(),this.triggerMethod("remove:region",this,r,t)},_removeReferences:function(t){delete this.regions[t],delete this._regions[t]},emptyRegions:function(){var t=this.getRegions();return Bs(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return at.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(t,r,n){var i=this.getRegion(t);return i.show(r,n),r},detachChildView:function(t){return this.getRegion(t).detachView()},getChildView:function(t){return this.getRegion(t).currentView}};function one(e){return this.prototype._renderHtml=e,this}var x_e=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function O_e(e,t){return t.currentView&&e.push(t.currentView),e}var KP=Xi.View.extend({constructor:function(t){this._setOptions(t,x_e),Fm(this),this._initBehaviors(),this._initRegions(),Xi.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Xi.View.prototype.setElement.apply(this,arguments),this._isRendered=this.Dom.hasContents(this.el),this._isAttached=this._isElAttached(),this._isRendered&&this.bindUIElements(),this},render:function(){var t=this.getTemplate();return t===!1||this._isDestroyed?this:(this.triggerMethod("before:render",this),this._isRendered&&this._reInitRegions(),this._renderTemplate(t),this.bindUIElements(),this._isRendered=!0,this.triggerMethod("render",this),this)},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return at.reduce(this._regions,O_e,[])}},{setRenderer:one,setDomApi:WP});at.extend(KP.prototype,GP,R_e);var Um=function(){this._init()},I_e=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"];at.each(I_e,function(e){Um.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return at[e].apply(at,[this._views].concat(r))}});function P_e(e,t){return t.model&&t.model.get(e)}at.extend(Um.prototype,{_init:function(){this._views=[],this._viewsByCid={},this._indexByModel={},this._updateLength()},_add:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._views.length;this._addViewIndexes(t),this._views.splice(r,0,t),this._updateLength()},_addViewIndexes:function(t){this._viewsByCid[t.cid]=t,t.model&&(this._indexByModel[t.model.cid]=t)},_sort:function(t,r){return typeof t=="string"?(t=at.partial(P_e,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=at.sortBy(this._views,t);return this._set(r),r},_set:function(t,r){this._views.length=0,this._views.push.apply(this._views,t.slice(0)),r&&(this._viewsByCid={},this._indexByModel={},at.each(t,this._addViewIndexes.bind(this)),this._updateLength())},_swap:function(t,r){var n=this.findIndexByView(t),i=this.findIndexByView(r);if(!(n===-1||i===-1)){var 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 nd="CollectionViewError",k_e=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],D_e=Xi.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,k_e),Fm(this),this._initChildViewStorage(),this._initBehaviors(),Xi.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new Um,this.children=new Um},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new wf({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 at.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 at.map(t,this._addChildModel.bind(this))},_addChildModel:function(t){var r=this._createChildView(t);return this._addChild(r),r},_createChildView:function(t){var r=this._getChildView(t),n=this._getChildViewOptions(t),i=this.buildChildView(t,r,n);return i},_addChild:function(t,r){this.triggerMethod("before:add:child",this,t),this._setupChildView(t),this._children._add(t,r),this.children._add(t,r),this.triggerMethod("add:child",this,t)},_getChildView:function(t){var r=this.childView;if(!r)throw new wa({name:nd,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new wa({name:nd,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 Xi.View||t===Xi.View)return t;if(at.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return at.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=at.extend({model:t},n);return new r(i)},_setupChildView:function(t){Fm(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Xi.View.prototype.setElement.apply(this,arguments),this._isAttached=this._isElAttached(),this},render:function(){if(this._isDestroyed)return this;this.triggerMethod("before:render",this),this._destroyChildren(),this.collection&&(this._addChildModels(this.collection.models),this._initialEvents());var t=this.getTemplate();return t&&(this._renderTemplate(t),this.bindUIElements()),this._getChildViewContainer(),this.sort(),this._isRendered=!0,this.triggerMethod("render",this),this},_getChildViewContainer:function(){var t=at.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new wa({name:nd,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=[];at.each(this._children._views,function(a,s,l){(r.call(t,a,s,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(at.isFunction(t))return t;if(at.isObject(t)){var r=at.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(at.isString(t))return function(n){return n.model&&n.model.get(t)};throw new wa({name:nd,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){at.each(t,this._detachChildView.bind(this))},_detachChildView:function(t){var r=t._isAttached&&this.monitorViewEvents!==!1;r&&t.triggerMethod("before:detach",t),this.detachHtml(t),r&&(t._isAttached=!1,t.triggerMethod("detach",t)),t._isShown=!1},detachHtml:function(t){this.Dom.detachEl(t.el,t.$el)},_renderChildren:function(){this._hasUnrenderedViews&&(delete this._addedViews,delete this._hasUnrenderedViews);var t=this._addedViews||this.children._views;if(this.triggerMethod("before:render:children",this,t),this.isEmpty())this._showEmptyView();else{this._destroyEmptyView();var r=this._getBuffer(t);this._attachChildren(r,t)}delete this._addedViews,this.triggerMethod("render:children",this,t)},_getBuffer:function(t){var r=this,n=this.Dom.createBuffer();return at.each(t,function(i){nne(i),i._isShown=!0,r.Dom.appendContents(n,i.el,{_$contents:i.$el})}),n},_attachChildren:function(t,r){var n=this._isAttached&&this.monitorViewEvents!==!1;r=n?r:[],at.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),at.each(r,function(i){i._isAttached||(i._isAttached=!0,i.triggerMethod("attach",i))})},attachHtml:function(t,r){this.Dom.appendContents(r[0],t,{_$el:r})},isEmpty:function(){return!this.children.length},_showEmptyView:function(){var t=this._getEmptyView();if(t){var r=this._getEmptyViewOptions(),n=this.getEmptyRegion();n.show(new t(r))}},_getEmptyView:function(){var t=this.emptyView;if(t)return this._getView(t)},_destroyEmptyView:function(){var t=this.getEmptyRegion();t.hasView()&&t.empty()},_getEmptyViewOptions:function(){var t=this.emptyViewOptions||this.childViewOptions;return at.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new wa({name:nd,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 wa({name:nd,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(at.isObject(r)&&(n=r),n.index!=null&&(r=n.index),this._isRendered||this.render(),this._addChild(t,r),n.preventRender)return this._hasUnrenderedViews=!0,t;var i=typeof r<"u",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){at.each(t,this._removeChildView.bind(this))},_removeChildView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.shouldDetach;t.off("destroy",this.removeChildView,this),n?this._detachChildView(t):this._destroyChildView(t),this.stopListening(t)},_destroyChildView:function(t){if(!t._isDestroyed){var r=this.monitorViewEvents===!1;ine(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:WP,setRenderer:one});at.extend(D_e.prototype,GP);var L_e=["collectionEvents","events","modelEvents","triggers","ui"],sne=function(t,r){this.view=r,this._setOptions(t,L_e),this.cid=at.uniqueId(this.cidPrefix),this.ui=at.extend({},at.result(this,"ui"),at.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};sne.extend=cv;at.extend(sne.prototype,ch,Zre,ene,tne,{cidPrefix:"mnb",initialize:function(){},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this._deleteEntityEventHandlers(),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(t){return this._getUI(t)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},_getEvents:function(){var t=this;if(this.events){var r=this.normalizeUIKeys(at.result(this,"events"));return at.reduce(r,function(n,i,o){return at.isFunction(i)||(i=t[i]),i&&(o=Jre(o,t.cid),n[o]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(at.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var N_e=["channelName","radioEvents","radioRequests","region","regionClass"],u1=function(t){this._setOptions(t,N_e),this.cid=at.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};u1.extend=cv;at.extend(u1.prototype,ch,Yre,Xre,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:wf,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=ane(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 YP=(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))(YP||{}),jO=(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))(jO||{});class une extends Error{constructor(t){super(t)}}class l1 extends une{get name(){return"SilentError"}}class ba extends Error{get name(){return"CoreError"}}const vr={throw(e){if(jr.Radio.channel(_n.SHELL).trigger(An.ERROR,e),!(e instanceof l1))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===jO.ClientError||t===jO.ServerError}};function nc(e,t,r,n){let i=e;return typeof e=="string"&&(i=jr.Radio.channel(e)),n.call(this,i,t,r)}class M_e extends u1{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),at.result(this,"name")||vr.throw(new ba("BaseApplication must define a name")),at.result(this,"channelName")||vr.throw(new ba("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||vr.throw(new ba(`Global channel ${n} does not exist`)),jr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=at.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(at.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new ba(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||vr.throw(new ba("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,i=this.layout.getRegion("alert");if(!i){vr.throw(new ba("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=at.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}/**
|
|
43
|
+
* @license
|
|
44
|
+
* MarionetteJS (Marionette.AppRouter)
|
|
45
|
+
* ----------------------------------
|
|
46
|
+
* v1.0.1
|
|
47
|
+
*
|
|
48
|
+
* Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
|
|
49
|
+
* Distributed under MIT license
|
|
50
|
+
*
|
|
51
|
+
* http://marionettejs.com
|
|
52
|
+
*/var $_e=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],F_e=["appRoutes","controller"],lne=Xi.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,F_e),Xi.Router.apply(this,arguments);var r=this.appRoutes,n=this._getController();this.processAppRoutes(n,r),this.on("route",this._processOnRoute,this)},appRoute:function(t,r){var n=this._getController();return this._addAppRoute(n,t,r),this},_processOnRoute:function(t,r){if(at.isFunction(this.onRoute)){var n=at.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=at.keys(r).reverse();return at.each(i,function(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,at.bind(i,t))}});at.extend(lne.prototype,at.pick(Ef.prototype,$_e));class Td{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 j_e=/([A-Z])/g,U_e=/(^|:)(\w)/gi;class ic extends lne{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Td,r=this.options.shell.routeMiddleware,n=this.appRoutes;return at.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},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,s])=>({...o,[s]:a}),{}),i=Object.entries(r).reduce((o,[a,s])=>({...o,[s]: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(at.isFunction(this.onRoute)){const n=at.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(_n.SHELL,An.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Td;return at.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,i,o)=>{const s={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:o,currentRoute:r,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,s),c=this.toMethodName(l.action),d=this._routeLookup.modifiedRoutes[c];return Fn.buildRoute(d??r,l,o)})}processInternalRoutes(){at.each(at.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,o)=>{(!o||!o.usedHelper)&&vr.throw(new ba("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a={appLink:i,appLinkOptions:o,currentRoute:t,routeLookup:this._routeLookup},s=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,a),l=this.toMethodName(s.action),c=this._routeLookup.modifiedRoutes[l];this.executeRoute(s,{isAppRoute:!0,route:c??t},d=>{const h=at.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Mn.UpdateUrl(c??t,d,o)})})})}triggerNavLocked(t,r){t.trigger(An.NAV_IS_LOCKED,r),Wo.routingEnded()}processExternalRoutes(){this.externalRoutes&&at.each(at.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,o)=>{(!o||!o.usedHelper)&&vr.throw(new ba("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a=jr.Radio.channel(_n.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(a,i);return}Mn.PageLoad(Fn.getHref(i))})})}processAppLinks(){this.appLinks&&at.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new ba("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),Wo.routingStarted();const i=jr.Radio.channel(_n.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),s=this.toMethodName(a.action),l=new Td;at.each(this.filters,c=>l.useAsync(c)),l.goAsync({appLink:a,shell:this.options.shell},()=>{i.trigger(An.ROUTE,a,r),this.createApp();const c=this.controller;if(at.isFunction(c[s])||(Wo.routingEnded(),vr.throw(new ba(`${s} does not exist on the ${at.result(c,"name")}.`))),c.triggerMethod("before:action",t)===!1){c.triggerMethod("action:cancelled"),Wo.routingEnded();return}c.triggerMethod("load:layout");const d={appLink:a,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);c[s].apply(c,[...h.args||[],h.params||{}]),at.isFunction(n)&&n(a),Wo.routingEnded()})}createApp(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}destroyApp(){if(!this.controller)return;this.controller.destroy(),delete this.controller}_addAppRoute(t,r,n){this.route(r,n,(...i)=>{const o={application:this.channelName,action:this.toEventName(n),args:i.slice(0,i.length-1),params:Mn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(o,{isAppRoute:!0,route:r},()=>{Mn.UpdateQuery(at.extend(this.controller.getAndClearDefaultQueryParams(),o.params))})})}toEventName(t){return t.replace(j_e,":$1").toLowerCase()}toMethodName(t){const r=t.replace(U_e,(n,i,o)=>o.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(Wo.routingEnded(),vr.throw(new ba("Invalid AppLink")))}listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}class c1 extends jr.Collection{listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}class Cn extends une{get name(){return"DevError"}}class q_e{constructor(){this.variables={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"EnvironmentVariables"}get isDevelopment(){return this.variables.isDevelopment}get(t){return this.variables[t]}setUpVariables(t){this.variables=t}}const f1=q_e.Instance;function V_e(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const H_e=["model","collection","el","id","attributes","className","tagName","events"];jr.View.prototype.constructor=function(e){this.cid=at.uniqueId("view");const t=H_e.filter(r=>{var n;return!((n=V_e(this,r))!=null&&n.get)});at.extend(this,at.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const bd=class bd extends KP{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=at.extend({},at.result(this,"defaults"),t)}_setAttributes(t){f1.isDevelopment&&at.extend(t,{"cv-classname":this.name}),this.$el.attr(t)}get elements(){return null}get ui(){return this.uiStorage?this.uiStorage:(this.uiStorage=this.elements,this.uiStorage)}set ui(t){this.uiStorage=t}constructor(t){super(t);const r=[...this.defaultProps,...this.props||[]];this.mergeOptions(t,r),at.result(this,"name")||vr.throw(new ba(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){bd.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",at.result(this,"className"))}serializeData(){const t=super.serializeData(),r=at.result(this,"viewOptions"),n=at.extend({},t,{options:r});return bd.ViewDataExtensions.length?at.extend(n,...at.map(bd.ViewDataExtensions,i=>i instanceof Function?i(this):i)):n}viewOptions(){return this.options}undelegateAppLinks(){this.$el&&this.$el.off(`.appLinks${this.cid}`)}renderAppLinks(){let t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),at.each(at.keys(t),r=>{let n=r;const i=t[r],o=Fn.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(s){s.preventDefault(),Fn.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=at.some(t.regions,(r=>at.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){jr.Radio.channel(_n.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return nc.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(){}};bd.ViewDataExtensions=[];let UO=bd;class B_e extends UO{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=at.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return at.each(r,o=>{const a=this.requiredResources[o];if(a.beforeOnBeforeRender!==t)return;const s=a.dataServiceName;this.resourceInstances[s]||(this.resourceInstances[s]=a.getInstance(this)),this.boundListeners[`${s}:${a.eventName}`]||(this.listenTo(this.resourceInstances[s].channelName,a.eventName,this.render),this.boundListeners[`${s}:${a.eventName}`]=!0),n[o]=a.getData(this.resourceInstances[s]),i=i&&!!n[o]}),i}setTitle(){!at.isString(this.title)&&this.title!==!1&&vr.throw(new Cn(`Must define a title for ${this.name}.`)),jr.Radio.channel(_n.SHELL).trigger("set:page:title",this.title)}}class z_e extends B_e{constructor(t){super(t)}static getCacheKey(t){vr.throw(new Cn(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class Ju extends jr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=Co({},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 nc.call(this,t[0],t[1],t[2],super.listenTo)}}class Fz extends Ju{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)Mm(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||!un(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(!un(i))return r;if(n.unset)return o&&delete o.parent,delete this[t],o;if(o)return o instanceof Ju&&o.set(r,n),o instanceof c1&&o.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),o;const a=r instanceof Ju?r:new i(r,{parse:!0});return a.parent=this,this[t]=a,a}toJSON(...t){const r=super.toJSON.apply(this,t);return Ca(this.associations,(n,i)=>{Mm(r,i)&&un(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return o1(super.toJSON.apply(this,t),Zi(this.associations))}}class No extends Ef{constructor(t){super(t),this.name||vr.throw(new ba("Your service must be named."))}listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}class W_e extends Ef{constructor(t){super(t),this.layouts={},this.requiredRegions=t.requiredRegions}clearLayout(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}registerLayout(t,r){return this.checkRequiredRegions(r),this.layouts[t]=r,this}getLayout(t){const{name:r,options:n={}}=t;this.layouts[r]||vr.throw(new ba(`${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){Ca(this.requiredRegions,r=>{Mm(pp(t.prototype,"regions"),r)||vr.throw(new ba(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}class G_e{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class K_e extends u1{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(_n.SHELL,An.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(_n.SHELL,An.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(_n.SHELL,An.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(_n.SHELL,An.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(_n.SHELL,An.ROUTE,r=>this.shellState.currentAppLink=r);const t=jr.Radio.channel(_n.SHELL);t.reply(An.HAS_ACTIVE_ROUTE,at.bind(this.hasActiveRoute,this)),t.reply(An.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{Wo.routingEnded()})}bindErrorListener(){const t=jr.Radio.channel(_n.SHELL);this.listenTo(t,An.ERROR,this.handleError)}bindRouteLookup(){jr.Radio.channel(_n.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 G_e(t,r)),this}getGlobalRadioChannels(){return _n}isNavLocked(){return this.shellState.navLock}start(t){t||(t={}),this.runInitializationSteps(this,()=>{this.runStartUpSteps(this,t,()=>{super.start(t)})})}hasActiveRoute(){return this.shellState.activeRoute}async onStart(){const t=at.map(this.applications,r=>{const n={appConstructor:r.Application,shell:this,appOptions:{region:"",shell:this,layoutService:this.layoutService,...r.Options}};return new r.Application.router(n)});await Promise.all(t.map(r=>r.start())),this.bindListeners(),Mn.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||vr.throw(new ba("An error must have a name in order to register a handler for it.")),at.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new ba(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=at.find(this.errorHandlers,n=>t instanceof n.errorType);r&&r.handler&&r.handler(t)}registerStore(t){this.store=t}registerRouteMiddleware(t){return this.routeMiddleware.push(t),this}registerAppLinkMiddleware(t,r){return t==="onBeforeExecute"&&this.onBeforeExecuteAppLinkMiddleware.push(r),t==="onExecute"&&this.onExecuteAppLinkMiddleware.push(r),t==="onAfterExecute"&&this.onAfterExecuteAppLinkMiddleware.push(r),this}listenTo(...t){return nc.call(this,t[0],t[1],t[2],super.listenTo)}}var PC,jz;function Y_e(){if(jz)return PC;jz=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(b){b!==n&&(t=null)}else t=null;var i=/^\s*class\b/,o=function(x){try{var A=e.call(x);return i.test(A)}catch{return!1}},a=function(x){try{return o(x)?!1:(e.call(x),!0)}catch{return!1}},s=Object.prototype.toString,l="[object Object]",c="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",g="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var w=document.all;s.call(w)===s.call(document.all)&&(_=function(x){if((E||!x)&&(typeof x>"u"||typeof x=="object"))try{var A=s.call(x);return(A===h||A===p||A===g||A===l)&&x("")==null}catch{}return!1})}return PC=t?function(x){if(_(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;try{t(x,null,r)}catch(A){if(A!==n)return!1}return!o(x)&&a(x)}:function(x){if(_(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;if(S)return a(x);if(o(x))return!1;var A=s.call(x);return A!==c&&A!==d&&!/^\[object HTML/.test(A)?!1:a(x)},PC}var kC,Uz;function X_e(){if(Uz)return kC;Uz=1;var e=Y_e(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(l,c,d){for(var h=0,p=l.length;h<p;h++)r.call(l,h)&&(d==null?c(l[h],h,l):c.call(d,l[h],h,l))},i=function(l,c,d){for(var h=0,p=l.length;h<p;h++)d==null?c(l.charAt(h),h,l):c.call(d,l.charAt(h),h,l)},o=function(l,c,d){for(var h in l)r.call(l,h)&&(d==null?c(l[h],h,l):c.call(d,l[h],h,l))};function a(s){return t.call(s)==="[object Array]"}return kC=function(l,c,d){if(!e(c))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),a(l)?n(l,c,h):typeof l=="string"?i(l,c,h):o(l,c,h)},kC}var DC,qz;function cne(){if(qz)return DC;qz=1;var e=function(){};return DC=e,DC}var LC,Vz;function Q_e(){if(Vz)return LC;Vz=1;var e={}.hasOwnProperty,t=Function.prototype.call;return LC=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},LC}var NC={exports:{}},MC,Hz;function fne(){return Hz||(Hz=1,MC=Object),MC}var $C,Bz;function Z_e(){return Bz||(Bz=1,$C=Error),$C}var FC,zz;function J_e(){return zz||(zz=1,FC=EvalError),FC}var jC,Wz;function eSe(){return Wz||(Wz=1,jC=RangeError),jC}var UC,Gz;function tSe(){return Gz||(Gz=1,UC=ReferenceError),UC}var qC,Kz;function dne(){return Kz||(Kz=1,qC=SyntaxError),qC}var VC,Yz;function fh(){return Yz||(Yz=1,VC=TypeError),VC}var HC,Xz;function rSe(){return Xz||(Xz=1,HC=URIError),HC}var BC,Qz;function nSe(){return Qz||(Qz=1,BC=Math.abs),BC}var zC,Zz;function iSe(){return Zz||(Zz=1,zC=Math.floor),zC}var WC,Jz;function aSe(){return Jz||(Jz=1,WC=Math.max),WC}var GC,eW;function oSe(){return eW||(eW=1,GC=Math.min),GC}var KC,tW;function sSe(){return tW||(tW=1,KC=Math.pow),KC}var YC,rW;function uSe(){return rW||(rW=1,YC=Math.round),YC}var XC,nW;function lSe(){return nW||(nW=1,XC=Number.isNaN||function(t){return t!==t}),XC}var QC,iW;function cSe(){if(iW)return QC;iW=1;var e=lSe();return QC=function(r){return e(r)||r===0?r:r<0?-1:1},QC}var ZC,aW;function fSe(){return aW||(aW=1,ZC=Object.getOwnPropertyDescriptor),ZC}var JC,oW;function d1(){if(oW)return JC;oW=1;var e=fSe();if(e)try{e([],"length")}catch{e=null}return JC=e,JC}var eT,sW;function h1(){if(sW)return eT;sW=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return eT=e,eT}var tT,uW;function dSe(){return uW||(uW=1,tT=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 s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),tT}var rT,lW;function hSe(){if(lW)return rT;lW=1;var e=typeof Symbol<"u"&&Symbol,t=dSe();return rT=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},rT}var nT,cW;function hne(){return cW||(cW=1,nT=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),nT}var iT,fW;function pne(){if(fW)return iT;fW=1;var e=fne();return iT=e.getPrototypeOf||null,iT}var aT,dW;function pSe(){if(dW)return aT;dW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var d=[],h=0;h<l.length;h+=1)d[h]=l[h];for(var p=0;p<c.length;p+=1)d[p+l.length]=c[p];return d},o=function(l,c){for(var d=[],h=c,p=0;h<l.length;h+=1,p+=1)d[p]=l[h];return d},a=function(s,l){for(var c="",d=0;d<s.length;d+=1)c+=s[d],d+1<s.length&&(c+=l);return c};return aT=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=o(arguments,1),h,p=function(){if(this instanceof h){var w=c.apply(this,i(d,arguments));return Object(w)===w?w:this}return c.apply(l,i(d,arguments))},g=r(0,c.length-d.length),S=[],E=0;E<g;E++)S[E]="$"+E;if(h=Function("binder","return function ("+a(S,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var _=function(){};_.prototype=c.prototype,h.prototype=new _,_.prototype=null}return h},aT}var oT,hW;function fv(){if(hW)return oT;hW=1;var e=pSe();return oT=Function.prototype.bind||e,oT}var sT,pW;function XP(){return pW||(pW=1,sT=Function.prototype.call),sT}var uT,vW;function QP(){return vW||(vW=1,uT=Function.prototype.apply),uT}var lT,gW;function vSe(){return gW||(gW=1,lT=typeof Reflect<"u"&&Reflect&&Reflect.apply),lT}var cT,mW;function vne(){if(mW)return cT;mW=1;var e=fv(),t=QP(),r=XP(),n=vSe();return cT=n||e.call(r,t),cT}var fT,yW;function ZP(){if(yW)return fT;yW=1;var e=fv(),t=fh(),r=XP(),n=vne();return fT=function(o){if(o.length<1||typeof o[0]!="function")throw new t("a function is required");return n(e,r,o)},fT}var dT,_W;function gSe(){if(_W)return dT;_W=1;var e=ZP(),t=d1(),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 dT=n&&typeof n.get=="function"?e([n.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,dT}var hT,SW;function mSe(){if(SW)return hT;SW=1;var e=hne(),t=pne(),r=gSe();return hT=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,hT}var pT,EW;function ySe(){if(EW)return pT;EW=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=fv();return pT=r.call(e,t),pT}var vT,wW;function JP(){if(wW)return vT;wW=1;var e,t=fne(),r=Z_e(),n=J_e(),i=eSe(),o=tSe(),a=dne(),s=fh(),l=rSe(),c=nSe(),d=iSe(),h=aSe(),p=oSe(),g=sSe(),S=uSe(),E=cSe(),_=Function,w=function(q){try{return _('"use strict"; return ('+q+").constructor;")()}catch{}},b=d1(),x=h1(),A=function(){throw new s},R=b?(function(){try{return arguments.callee,A}catch{try{return b(arguments,"callee").get}catch{return A}}})():A,O=hSe()(),m=mSe(),k=pne(),D=hne(),V=QP(),F=XP(),G={},Y=typeof Uint8Array>"u"||!m?e:m(Uint8Array),X={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&m?m([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":G,"%AsyncGenerator%":G,"%AsyncGeneratorFunction%":G,"%AsyncIteratorPrototype%":G,"%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%":G,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&m?m(m([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!m?e:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O||!m?e:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&m?m(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":a,"%ThrowTypeError%":R,"%TypedArray%":Y,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":F,"%Function.prototype.apply%":V,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":k,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":g,"%Math.round%":S,"%Math.sign%":E,"%Reflect.getPrototypeOf%":D};if(m)try{null.error}catch(q){var J=m(m(q));X["%Error.prototype%"]=J}var Z=function q(N){var B;if(N==="%AsyncFunction%")B=w("async function () {}");else if(N==="%GeneratorFunction%")B=w("function* () {}");else if(N==="%AsyncGeneratorFunction%")B=w("async function* () {}");else if(N==="%AsyncGenerator%"){var re=q("%AsyncGeneratorFunction%");re&&(B=re.prototype)}else if(N==="%AsyncIteratorPrototype%"){var ce=q("%AsyncGenerator%");ce&&m&&(B=m(ce.prototype))}return X[N]=B,B},ue={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=fv(),L=ySe(),j=H.call(F,Array.prototype.concat),te=H.call(V,Array.prototype.splice),ee=H.call(F,String.prototype.replace),de=H.call(F,String.prototype.slice),Se=H.call(F,RegExp.prototype.exec),Ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,I=function(N){var B=de(N,0,1),re=de(N,-1);if(B==="%"&&re!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(re==="%"&&B!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var ce=[];return ee(N,Ae,function(we,_e,Oe,Te){ce[ce.length]=Oe?ee(Te,se,"$1"):_e||we}),ce},P=function(N,B){var re=N,ce;if(L(ue,re)&&(ce=ue[re],re="%"+ce[0]+"%"),L(X,re)){var we=X[re];if(we===G&&(we=Z(re)),typeof we>"u"&&!B)throw new s("intrinsic "+N+" exists, but is not available. Please file an issue!");return{alias:ce,name:re,value:we}}throw new a("intrinsic "+N+" does not exist!")};return vT=function(N,B){if(typeof N!="string"||N.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof B!="boolean")throw new s('"allowMissing" argument must be a boolean');if(Se(/^%?[^%]*%?$/,N)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var re=I(N),ce=re.length>0?re[0]:"",we=P("%"+ce+"%",B),_e=we.name,Oe=we.value,Te=!1,Ie=we.alias;Ie&&(ce=Ie[0],te(re,j([0,1],Ie)));for(var $e=1,ge=!0;$e<re.length;$e+=1){var be=re[$e],Ce=de(be,0,1),Le=de(be,-1);if((Ce==='"'||Ce==="'"||Ce==="`"||Le==='"'||Le==="'"||Le==="`")&&Ce!==Le)throw new a("property names with quotes must have matching quotes");if((be==="constructor"||!ge)&&(Te=!0),ce+="."+be,_e="%"+ce+"%",L(X,_e))Oe=X[_e];else if(Oe!=null){if(!(be in Oe)){if(!B)throw new s("base intrinsic for "+N+" exists, but the property is not available.");return}if(b&&$e+1>=re.length){var Ve=b(Oe,be);ge=!!Ve,ge&&"get"in Ve&&!("originalValue"in Ve.get)?Oe=Ve.get:Oe=Oe[be]}else ge=L(Oe,be),Oe=Oe[be];ge&&!Te&&(X[_e]=Oe)}}return Oe},vT}var gT,bW;function e3(){if(bW)return gT;bW=1;var e=h1(),t=dne(),r=fh(),n=d1();return gT=function(o,a,s){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,c=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:s,writable:c===null&&p?p.writable:!c});else if(h||!l&&!c&&!d)o[a]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},gT}var mT,CW;function t3(){if(CW)return mT;CW=1;var e=h1(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},mT=t,mT}var yT,TW;function _Se(){if(TW)return yT;TW=1;var e=JP(),t=e3(),r=t3()(),n=d1(),i=fh(),o=e("%Math.floor%");return yT=function(s,l){if(typeof s!="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 c=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in s&&n){var p=n(s,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(h=!1)}return(d||h||!c)&&(r?t(s,"length",l,!0,!0):t(s,"length",l)),s},yT}var _T,AW;function SSe(){if(AW)return _T;AW=1;var e=fv(),t=QP(),r=vne();return _T=function(){return r(e,t,arguments)},_T}var RW;function ESe(){return RW||(RW=1,(function(e){var t=_Se(),r=h1(),n=ZP(),i=SSe();e.exports=function(a){var s=n(arguments),l=a.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(NC)),NC.exports}var ST,xW;function gne(){if(xW)return ST;xW=1;var e=Object.prototype.toString;return ST=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},ST}var ET,OW;function wSe(){if(OW)return ET;OW=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=gne(),i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var g=p.constructor;return g&&g.prototype===p},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=(function(){if(typeof window>"u")return!1;for(var p in window)try{if(!c["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{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(g){var S=g!==null&&typeof g=="object",E=r.call(g)==="[object Function]",_=n(g),w=S&&r.call(g)==="[object String]",b=[];if(!S&&!E&&!_)throw new TypeError("Object.keys called on a non-object");var x=a&&E;if(w&&g.length>0&&!t.call(g,0))for(var A=0;A<g.length;++A)b.push(String(A));if(_&&g.length>0)for(var R=0;R<g.length;++R)b.push(String(R));else for(var O in g)!(x&&O==="prototype")&&t.call(g,O)&&b.push(String(O));if(o)for(var m=h(g),k=0;k<s.length;++k)!(m&&s[k]==="constructor")&&t.call(g,s[k])&&b.push(s[k]);return b}}return ET=e,ET}var wT,IW;function bSe(){if(IW)return wT;IW=1;var e=Array.prototype.slice,t=gne(),r=Object.keys,n=r?function(a){return r(a)}:wSe(),i=Object.keys;return n.shim=function(){if(Object.keys){var a=(function(){var s=Object.keys(arguments);return s&&s.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},wT=n,wT}var bT,PW;function CSe(){if(PW)return bT;PW=1;var e=bSe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=e3(),o=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},a=t3()(),s=function(c,d,h,p){if(d in c){if(p===!0){if(c[d]===h)return}else if(!o(p)||!p())return}a?i(c,d,h,!0):i(c,d,h)},l=function(c,d){var h=arguments.length>2?arguments[2]:{},p=e(d);t&&(p=n.call(p,Object.getOwnPropertySymbols(d)));for(var g=0;g<p.length;g+=1)s(c,p[g],d[p[g]],h[p[g]])};return l.supportsDescriptors=!!a,bT=l,bT}var CT,kW;function mne(){if(kW)return CT;kW=1;var e=fh();return CT=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},CT}var TT,DW;function TSe(){if(DW)return TT;DW=1;var e=JP(),t=e("%String%"),r=fh();return TT=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},TT}var AT,LW;function ASe(){if(LW)return AT;LW=1;var e=JP(),t=ZP(),r=t([e("%String.prototype.indexOf%")]);return AT=function(i,o){var a=e(i,!!o);return typeof a=="function"&&r(i,".prototype.")>-1?t([a]):a},AT}var RT,NW;function yne(){if(NW)return RT;NW=1;var e=mne(),t=TSe(),r=ASe(),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 RT=function(){var l=t(e(this));return n(n(l,o,""),a,"")},RT}var xT,MW;function _ne(){if(MW)return xT;MW=1;var e=yne(),t="",r="";return xT=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},xT}var OT,$W;function RSe(){if($W)return OT;$W=1;var e=t3()(),t=e3(),r=_ne();return OT=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},OT}var IT,FW;function xSe(){if(FW)return IT;FW=1;var e=ESe(),t=CSe(),r=mne(),n=yne(),i=_ne(),o=RSe(),a=e(i()),s=function(c){return r(c),a(c)};return t(s,{getPolyfill:i,implementation:n,shim:o}),IT=s,IT}var PT,jW;function OSe(){if(jW)return PT;jW=1;var e=X_e(),t=cne(),r=Q_e(),n=xSe(),i=function(O){t(!1,O)},o=String.prototype.replace,a=String.prototype.split,s="||||",l=function(R){var O=R%10;return R!==11&&O===1?0:2<=O&&O<=4&&!(R>=12&&R<=14)?1:2},c={arabic:function(R){if(R<3)return R;var O=R%100;return O>=3&&O<=10?3:O>=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 O=R%10;return 2<=O&&O<=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 O=R%100;return O===1?0:O===2?1:O===3||O===4?2:3}},d={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function h(R){var O={};return e(R,function(m,k){e(m,function(D){O[D]=k})}),O}function p(R){var O=h(d);return O[R]||O[a.call(R,/-/,1)[0]]||O.en}function g(R,O){return c[p(R)](O)}function S(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(R){var O=R&&R.prefix||"%{",m=R&&R.suffix||"}";if(O===s||m===s)throw new RangeError('"'+s+'" token is reserved for pluralization');return new RegExp(S(O)+"(.*?)"+S(m),"g")}var _=/\$/g,w="$$",b=/%\{(.*?)\}/g;function x(R,O,m,k){if(typeof R!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return R;var D=R,V=k||b,F=typeof O=="number"?{smart_count:O}:O;if(F.smart_count!=null&&D){var G=a.call(D,s);D=n(G[g(m||"en",F.smart_count)]||G[0])}return D=o.call(D,V,function(Y,X){return!r(F,X)||F[X]==null?Y:o.call(F[X],_,w)}),D}function A(R){var O=R||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var m=O.allowMissing?x:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:m,this.warn=O.warn||i,this.tokenRegex=E(O.interpolation)}return A.prototype.locale=function(R){return R&&(this.currentLocale=R),this.currentLocale},A.prototype.extend=function(R,O){e(R,function(m,k){var D=O?O+"."+k:k;typeof m=="object"?this.extend(m,D):this.phrases[D]=m},this)},A.prototype.unset=function(R,O){typeof R=="string"?delete this.phrases[R]:e(R,function(m,k){var D=O?O+"."+k:k;typeof m=="object"?this.unset(m,D):delete this.phrases[D]},this)},A.prototype.clear=function(){this.phrases={}},A.prototype.replace=function(R){this.clear(),this.extend(R)},A.prototype.t=function(R,O){var m,k,D=O??{};if(typeof this.phrases[R]=="string")m=this.phrases[R];else if(typeof D._=="string")m=D._;else if(this.onMissingKey){var V=this.onMissingKey;k=V(R,D,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+R+'"'),k=R;return typeof m=="string"&&(k=x(m,D,this.currentLocale,this.tokenRegex)),k},A.prototype.has=function(R){return r(this.phrases,R)},A.transformPhrase=function(O,m,k){return x(O,m,k)},PT=A,PT}var ISe=OSe();const PSe=jn(ISe),dv={ALERT:"AlertService",LANGUAGE:"LanguageService"};var hv=Object.freeze||function(e){return e},UW=hv(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qW=hv(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),VW=hv(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),HW=hv(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),BW=hv(["#text"]),p1=Object.freeze||function(e){return e},zW=p1(["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"]),kT=p1(["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"]),WW=p1(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Rg=p1(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),kSe=Object.hasOwnProperty,GW=Object.setPrototypeOf,DSe=typeof Reflect<"u"&&Reflect,qO=DSe.apply;qO||(qO=function(t,r,n){return t.apply(r,n)});function Zn(e,t){GW&&GW(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 DT(e){var t={},r=void 0;for(r in e)qO(kSe,e,[r])&&(t[r]=e[r]);return t}var bf=Object.seal||function(e){return e},LSe=bf(/\{\{[\s\S]*|[\s\S]*\}\}/gm),NSe=bf(/<%[\s\S]*|[\s\S]*%>/gm),MSe=bf(/^data-[\-\w.\u00B7-\uFFFF]/),$Se=bf(/^aria-[\-\w]+$/),FSe=bf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jSe=bf(/^(?:\w+script|data):/i),USe=bf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),op=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function ou(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var qSe=typeof Reflect<"u"&&Reflect,VO=qSe.apply,VSe=Array.prototype.slice,KW=Object.freeze,HSe=function(){return typeof window>"u"?null:window};VO||(VO=function(t,r,n){return t.apply(r,n)});var BSe=function(t,r){if((typeof t>"u"?"undefined":op(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(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Sne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:HSe(),t=function(Re){return Sne(Re)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,i=!1,o=e.document,a=e.DocumentFragment,s=e.HTMLTemplateElement,l=e.Node,c=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,p=e.Text,g=e.Comment,S=e.DOMParser,E=e.TrustedTypes;if(typeof s=="function"){var _=o.createElement("template");_.content&&_.content.ownerDocument&&(o=_.content.ownerDocument)}var w=BSe(E,r),b=w?w.createHTML(""):"",x=o,A=x.implementation,R=x.createNodeIterator,O=x.getElementsByTagName,m=x.createDocumentFragment,k=r.importNode,D={};t.isSupported=A&&typeof A.createHTMLDocument<"u"&&o.documentMode!==9;var V=LSe,F=NSe,G=MSe,Y=$Se,X=jSe,J=USe,Z=FSe,ue=null,H=Zn({},[].concat(ou(UW),ou(qW),ou(VW),ou(HW),ou(BW))),L=null,j=Zn({},[].concat(ou(zW),ou(kT),ou(WW),ou(Rg))),te=null,ee=null,de=!0,Se=!0,Ae=!1,se=!1,I=!1,P=!1,q=!1,N=!1,B=!1,re=!1,ce=!1,we=!1,_e=!0,Oe=!0,Te=!1,Ie={},$e=Zn({},["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"]),ge=Zn({},["audio","video","img","source","image"]),be=null,Ce=Zn({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Le=null,Ve=o.createElement("form"),qe=function(Re){Le&&Le===Re||((!Re||(typeof Re>"u"?"undefined":op(Re))!=="object")&&(Re={}),ue="ALLOWED_TAGS"in Re?Zn({},Re.ALLOWED_TAGS):H,L="ALLOWED_ATTR"in Re?Zn({},Re.ALLOWED_ATTR):j,be="ADD_URI_SAFE_ATTR"in Re?Zn(DT(Ce),Re.ADD_URI_SAFE_ATTR):Ce,te="FORBID_TAGS"in Re?Zn({},Re.FORBID_TAGS):{},ee="FORBID_ATTR"in Re?Zn({},Re.FORBID_ATTR):{},Ie="USE_PROFILES"in Re?Re.USE_PROFILES:!1,de=Re.ALLOW_ARIA_ATTR!==!1,Se=Re.ALLOW_DATA_ATTR!==!1,Ae=Re.ALLOW_UNKNOWN_PROTOCOLS||!1,se=Re.SAFE_FOR_JQUERY||!1,I=Re.SAFE_FOR_TEMPLATES||!1,P=Re.WHOLE_DOCUMENT||!1,B=Re.RETURN_DOM||!1,re=Re.RETURN_DOM_FRAGMENT||!1,ce=Re.RETURN_DOM_IMPORT||!1,we=Re.RETURN_TRUSTED_TYPE||!1,N=Re.FORCE_BODY||!1,_e=Re.SANITIZE_DOM!==!1,Oe=Re.KEEP_CONTENT!==!1,Te=Re.IN_PLACE||!1,Z=Re.ALLOWED_URI_REGEXP||Z,I&&(Se=!1),re&&(B=!0),Ie&&(ue=Zn({},[].concat(ou(BW))),L=[],Ie.html===!0&&(Zn(ue,UW),Zn(L,zW)),Ie.svg===!0&&(Zn(ue,qW),Zn(L,kT),Zn(L,Rg)),Ie.svgFilters===!0&&(Zn(ue,VW),Zn(L,kT),Zn(L,Rg)),Ie.mathMl===!0&&(Zn(ue,HW),Zn(L,WW),Zn(L,Rg))),Re.ADD_TAGS&&(ue===H&&(ue=DT(ue)),Zn(ue,Re.ADD_TAGS)),Re.ADD_ATTR&&(L===j&&(L=DT(L)),Zn(L,Re.ADD_ATTR)),Re.ADD_URI_SAFE_ATTR&&Zn(be,Re.ADD_URI_SAFE_ATTR),Oe&&(ue["#text"]=!0),P&&Zn(ue,["html","head","body"]),ue.table&&(Zn(ue,["tbody"]),delete te.tbody),KW&&KW(Re),Le=Re)},Ge=function(Re){t.removed.push({element:Re});try{Re.parentNode.removeChild(Re)}catch{Re.outerHTML=b}},ct=function(Re,Je){try{t.removed.push({attribute:Je.getAttributeNode(Re),from:Je})}catch{t.removed.push({attribute:null,from:Je})}Je.removeAttribute(Re)},jt=function(Re){var Je=void 0,ut=void 0;if(N)Re="<remove></remove>"+Re;else{var wt=Re.match(/^[\s]+/);ut=wt&&wt[0],ut&&(Re=Re.slice(ut.length))}if(n)try{Je=new S().parseFromString(Re,"text/html")}catch{}if(i&&Zn(te,["title"]),!Je||!Je.documentElement){Je=A.createHTMLDocument("");var Nt=Je,nr=Nt.body;nr.parentNode.removeChild(nr.parentNode.firstElementChild),nr.outerHTML=w?w.createHTML(Re):Re}return Re&&ut&&Je.body.insertBefore(o.createTextNode(ut),Je.body.childNodes[0]||null),O.call(Je,P?"html":"body")[0]};t.isSupported&&((function(){try{var Mt=jt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Mt.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var Mt=jt("<x/><title></title><img>");/<\/title/.test(Mt.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var zt=function(Re){return R.call(Re.ownerDocument||Re,Re,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,function(){return c.FILTER_ACCEPT},!1)},Ze=function(Re){return Re instanceof p||Re instanceof g?!1:typeof Re.nodeName!="string"||typeof Re.textContent!="string"||typeof Re.removeChild!="function"||!(Re.attributes instanceof h)||typeof Re.removeAttribute!="function"||typeof Re.setAttribute!="function"||typeof Re.namespaceURI!="string"},Tt=function(Re){return(typeof l>"u"?"undefined":op(l))==="object"?Re instanceof l:Re&&(typeof Re>"u"?"undefined":op(Re))==="object"&&typeof Re.nodeType=="number"&&typeof Re.nodeName=="string"},_t=function(Re,Je,ut){D[Re]&&D[Re].forEach(function(wt){wt.call(t,Je,ut,Le)})},st=function(Re){var Je=void 0;if(_t("beforeSanitizeElements",Re,null),Ze(Re))return Ge(Re),!0;var ut=Re.nodeName.toLowerCase();if(_t("uponSanitizeElement",Re,{tagName:ut,allowedTags:ue}),(ut==="svg"||ut==="math")&&Re.querySelectorAll("p, br").length!==0)return Ge(Re),!0;if(!ue[ut]||te[ut]){if(Oe&&!$e[ut]&&typeof Re.insertAdjacentHTML=="function")try{var wt=Re.innerHTML;Re.insertAdjacentHTML("AfterEnd",w?w.createHTML(wt):wt)}catch{}return Ge(Re),!0}return ut==="noscript"&&/<\/noscript/i.test(Re.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Re.innerHTML)?(Ge(Re),!0):(se&&!Re.firstElementChild&&(!Re.content||!Re.content.firstElementChild)&&/</g.test(Re.textContent)&&(t.removed.push({element:Re.cloneNode()}),Re.innerHTML?Re.innerHTML=Re.innerHTML.replace(/</g,"<"):Re.innerHTML=Re.textContent.replace(/</g,"<")),I&&Re.nodeType===3&&(Je=Re.textContent,Je=Je.replace(V," "),Je=Je.replace(F," "),Re.textContent!==Je&&(t.removed.push({element:Re.cloneNode()}),Re.textContent=Je)),_t("afterSanitizeElements",Re,null),!1)},rt=function(Re,Je,ut){if(_e&&(Je==="id"||Je==="name")&&(ut in o||ut in Ve))return!1;if(!(Se&&G.test(Je))){if(!(de&&Y.test(Je))){if(!L[Je]||ee[Je])return!1;if(!be[Je]){if(!Z.test(ut.replace(J,""))){if(!((Je==="src"||Je==="xlink:href"||Je==="href")&&Re!=="script"&&ut.indexOf("data:")===0&&ge[Re])){if(!(Ae&&!X.test(ut.replace(J,"")))){if(ut)return!1}}}}}}return!0},dt=function(Re){var Je=void 0,ut=void 0,wt=void 0,Nt=void 0,nr=void 0;_t("beforeSanitizeAttributes",Re,null);var yr=Re.attributes;if(yr){var ir={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L};for(nr=yr.length;nr--;){Je=yr[nr];var wr=Je,Ur=wr.name,Wr=wr.namespaceURI;if(ut=Je.value.trim(),wt=Ur.toLowerCase(),ir.attrName=wt,ir.attrValue=ut,ir.keepAttr=!0,_t("uponSanitizeAttribute",Re,ir),ut=ir.attrValue,wt==="name"&&Re.nodeName==="IMG"&&yr.id)Nt=yr.id,yr=VO(VSe,yr,[]),ct("id",Re),ct(Ur,Re),yr.indexOf(Nt)>nr&&Re.setAttribute("id",Nt.value);else{if(Re.nodeName==="INPUT"&&wt==="type"&&ut==="file"&&ir.keepAttr&&(L[wt]||!ee[wt]))continue;Ur==="id"&&Re.setAttribute(Ur,""),ct(Ur,Re)}if(ir.keepAttr){if(/svg|math/i.test(Re.namespaceURI)&&new RegExp("</("+Object.keys($e).join("|")+")","i").test(ut)){ct(Ur,Re);continue}I&&(ut=ut.replace(V," "),ut=ut.replace(F," "));var Un=Re.nodeName.toLowerCase();if(rt(Un,wt,ut))try{Wr?Re.setAttributeNS(Wr,Ur,ut):Re.setAttribute(Ur,ut),t.removed.pop()}catch{}}}_t("afterSanitizeAttributes",Re,null)}},Gt=function Mt(Re){var Je=void 0,ut=zt(Re);for(_t("beforeSanitizeShadowDOM",Re,null);Je=ut.nextNode();)_t("uponSanitizeShadowNode",Je,null),!st(Je)&&(Je.content instanceof a&&Mt(Je.content),dt(Je));_t("afterSanitizeShadowDOM",Re,null)};return t.sanitize=function(Mt,Re){var Je=void 0,ut=void 0,wt=void 0,Nt=void 0,nr=void 0;if(Mt||(Mt="<!-->"),typeof Mt!="string"&&!Tt(Mt)){if(typeof Mt.toString!="function")throw new TypeError("toString is not a function");if(Mt=Mt.toString(),typeof Mt!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(op(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Mt=="string")return e.toStaticHTML(Mt);if(Tt(Mt))return e.toStaticHTML(Mt.outerHTML)}return Mt}if(q||qe(Re),t.removed=[],!Te)if(Mt instanceof l)Je=jt("<!-->"),ut=Je.ownerDocument.importNode(Mt,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Je=ut:Je.appendChild(ut);else{if(!B&&!I&&!P&&we&&Mt.indexOf("<")===-1)return w?w.createHTML(Mt):Mt;if(Je=jt(Mt),!Je)return B?null:b}Je&&N&&Ge(Je.firstChild);for(var yr=zt(Te?Mt:Je);wt=yr.nextNode();)wt.nodeType===3&&wt===Nt||st(wt)||(wt.content instanceof a&&Gt(wt.content),dt(wt),Nt=wt);if(Nt=null,Te)return Mt;if(B){if(re)for(nr=m.call(Je.ownerDocument);Je.firstChild;)nr.appendChild(Je.firstChild);else nr=Je;return ce&&(nr=k.call(r,nr,!0)),nr}var ir=P?Je.outerHTML:Je.innerHTML;return I&&(ir=ir.replace(V," "),ir=ir.replace(F," ")),w&&we?w.createHTML(ir):ir},t.setConfig=function(Mt){qe(Mt),q=!0},t.clearConfig=function(){Le=null,q=!1},t.isValidAttribute=function(Mt,Re,Je){Le||qe({});var ut=Mt.toLowerCase(),wt=Re.toLowerCase();return rt(ut,wt,Je)},t.addHook=function(Mt,Re){typeof Re=="function"&&(D[Mt]=D[Mt]||[],D[Mt].push(Re))},t.removeHook=function(Mt){D[Mt]&&D[Mt].pop()},t.removeHooks=function(Mt){D[Mt]&&(D[Mt]=[])},t.removeAllHooks=function(){D={}},t}var HO=Sne();const zSe=/&/g,WSe=/[\W]+/g,GSe=/\s+/g,jl={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};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(zSe,"and").replace(WSe," ").trim().replace(GSe,"-").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?HO.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class KSe extends No{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return dv.LANGUAGE}setConfig(t){this.polyglot=new PSe({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={},this.initialized=!0}isInitialised(){return this.initialized}getPhrase(t,r,n){const i=`${t}.${r}`;if(this.polyglot||vr.throw(new Cn("LanguageService config must be set.")),!this.polyglot.has(i)){if(!f1.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new Cn(`No phrase set for ${i} in language config.`))}if(!n||Rp(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const o=o1(n,"smartCount","escapeText"),a={};for(const d in o){let h=jl.sanitize(o[d]);n.escapeText&&(h=jl.escapeExpression(h)),a[d]=h}Cd(n.smartCount)&&(a.smart_count=n.smartCount);const s=`${i}:${rc({...a}).join(":")}`,l=this.cache[s];if(l)return l;const c=this.polyglot.t(i,a);return this.cache[s]=c,c}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const _r=KSe.Instance;class pv extends l1{get name(){return"ErrorPageError"}}const LT="shared.unspecifiedError";class Jc extends pv{constructor(){super(_r.getPhrase(LT,"title"))}get name(){return"UnspecifiedError"}get heading(){return _r.getPhrase(LT,"heading")}get description(){return _r.getPhrase(LT,"description")}get cta(){return!1}}const YSe="modulepreload",XSe=function(e){return"/"+e},YW={},zn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(l=>{if(l=XSe(l),l in YW)return;YW[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":YSe,c||(h.as="script"),h.crossOrigin="",h.href=l,s&&h.setAttribute("nonce",s),document.head.appendChild(h),c)return new Promise((p,g)=>{h.addEventListener("load",p),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})};var NT={exports:{}},Gh={},MT={exports:{}},cn={},XW;function QSe(){if(XW)return cn;XW=1;/**
|
|
53
|
+
* @license React
|
|
54
|
+
* react.production.min.js
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function p(j){return j===null||typeof j!="object"?null:(j=h&&j[h]||j["@@iterator"],typeof j=="function"?j:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function _(j,te,ee){this.props=j,this.context=te,this.refs=E,this.updater=ee||g}_.prototype.isReactComponent={},_.prototype.setState=function(j,te){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,te,"setState")},_.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function w(){}w.prototype=_.prototype;function b(j,te,ee){this.props=j,this.context=te,this.refs=E,this.updater=ee||g}var x=b.prototype=new w;x.constructor=b,S(x,_.prototype),x.isPureReactComponent=!0;var A=Array.isArray,R=Object.prototype.hasOwnProperty,O={current:null},m={key:!0,ref:!0,__self:!0,__source:!0};function k(j,te,ee){var de,Se={},Ae=null,se=null;if(te!=null)for(de in te.ref!==void 0&&(se=te.ref),te.key!==void 0&&(Ae=""+te.key),te)R.call(te,de)&&!m.hasOwnProperty(de)&&(Se[de]=te[de]);var I=arguments.length-2;if(I===1)Se.children=ee;else if(1<I){for(var P=Array(I),q=0;q<I;q++)P[q]=arguments[q+2];Se.children=P}if(j&&j.defaultProps)for(de in I=j.defaultProps,I)Se[de]===void 0&&(Se[de]=I[de]);return{$$typeof:e,type:j,key:Ae,ref:se,props:Se,_owner:O.current}}function D(j,te){return{$$typeof:e,type:j.type,key:te,ref:j.ref,props:j.props,_owner:j._owner}}function V(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function F(j){var te={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ee){return te[ee]})}var G=/\/+/g;function Y(j,te){return typeof j=="object"&&j!==null&&j.key!=null?F(""+j.key):te.toString(36)}function X(j,te,ee,de,Se){var Ae=typeof j;(Ae==="undefined"||Ae==="boolean")&&(j=null);var se=!1;if(j===null)se=!0;else switch(Ae){case"string":case"number":se=!0;break;case"object":switch(j.$$typeof){case e:case t:se=!0}}if(se)return se=j,Se=Se(se),j=de===""?"."+Y(se,0):de,A(Se)?(ee="",j!=null&&(ee=j.replace(G,"$&/")+"/"),X(Se,te,ee,"",function(q){return q})):Se!=null&&(V(Se)&&(Se=D(Se,ee+(!Se.key||se&&se.key===Se.key?"":(""+Se.key).replace(G,"$&/")+"/")+j)),te.push(Se)),1;if(se=0,de=de===""?".":de+":",A(j))for(var I=0;I<j.length;I++){Ae=j[I];var P=de+Y(Ae,I);se+=X(Ae,te,ee,P,Se)}else if(P=p(j),typeof P=="function")for(j=P.call(j),I=0;!(Ae=j.next()).done;)Ae=Ae.value,P=de+Y(Ae,I++),se+=X(Ae,te,ee,P,Se);else if(Ae==="object")throw te=String(j),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.");return se}function J(j,te,ee){if(j==null)return j;var de=[],Se=0;return X(j,de,"","",function(Ae){return te.call(ee,Ae,Se++)}),de}function Z(j){if(j._status===-1){var te=j._result;te=te(),te.then(function(ee){(j._status===0||j._status===-1)&&(j._status=1,j._result=ee)},function(ee){(j._status===0||j._status===-1)&&(j._status=2,j._result=ee)}),j._status===-1&&(j._status=0,j._result=te)}if(j._status===1)return j._result.default;throw j._result}var ue={current:null},H={transition:null},L={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:H,ReactCurrentOwner:O};return cn.Children={map:J,forEach:function(j,te,ee){J(j,function(){te.apply(this,arguments)},ee)},count:function(j){var te=0;return J(j,function(){te++}),te},toArray:function(j){return J(j,function(te){return te})||[]},only:function(j){if(!V(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},cn.Component=_,cn.Fragment=r,cn.Profiler=i,cn.PureComponent=b,cn.StrictMode=n,cn.Suspense=l,cn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,cn.cloneElement=function(j,te,ee){if(j==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var de=S({},j.props),Se=j.key,Ae=j.ref,se=j._owner;if(te!=null){if(te.ref!==void 0&&(Ae=te.ref,se=O.current),te.key!==void 0&&(Se=""+te.key),j.type&&j.type.defaultProps)var I=j.type.defaultProps;for(P in te)R.call(te,P)&&!m.hasOwnProperty(P)&&(de[P]=te[P]===void 0&&I!==void 0?I[P]:te[P])}var P=arguments.length-2;if(P===1)de.children=ee;else if(1<P){I=Array(P);for(var q=0;q<P;q++)I[q]=arguments[q+2];de.children=I}return{$$typeof:e,type:j.type,key:Se,ref:Ae,props:de,_owner:se}},cn.createContext=function(j){return j={$$typeof:a,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:o,_context:j},j.Consumer=j},cn.createElement=k,cn.createFactory=function(j){var te=k.bind(null,j);return te.type=j,te},cn.createRef=function(){return{current:null}},cn.forwardRef=function(j){return{$$typeof:s,render:j}},cn.isValidElement=V,cn.lazy=function(j){return{$$typeof:d,_payload:{_status:-1,_result:j},_init:Z}},cn.memo=function(j,te){return{$$typeof:c,type:j,compare:te===void 0?null:te}},cn.startTransition=function(j){var te=H.transition;H.transition={};try{j()}finally{H.transition=te}},cn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},cn.useCallback=function(j,te){return ue.current.useCallback(j,te)},cn.useContext=function(j){return ue.current.useContext(j)},cn.useDebugValue=function(){},cn.useDeferredValue=function(j){return ue.current.useDeferredValue(j)},cn.useEffect=function(j,te){return ue.current.useEffect(j,te)},cn.useId=function(){return ue.current.useId()},cn.useImperativeHandle=function(j,te,ee){return ue.current.useImperativeHandle(j,te,ee)},cn.useInsertionEffect=function(j,te){return ue.current.useInsertionEffect(j,te)},cn.useLayoutEffect=function(j,te){return ue.current.useLayoutEffect(j,te)},cn.useMemo=function(j,te){return ue.current.useMemo(j,te)},cn.useReducer=function(j,te,ee){return ue.current.useReducer(j,te,ee)},cn.useRef=function(j){return ue.current.useRef(j)},cn.useState=function(j){return ue.current.useState(j)},cn.useSyncExternalStore=function(j,te,ee){return ue.current.useSyncExternalStore(j,te,ee)},cn.useTransition=function(){return ue.current.useTransition()},cn.version="18.1.0",cn}var QW;function Mo(){return QW||(QW=1,MT.exports=QSe()),MT.exports}/**
|
|
61
|
+
* @license React
|
|
62
|
+
* react-jsx-runtime.production.min.js
|
|
63
|
+
*
|
|
64
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the MIT license found in the
|
|
67
|
+
* LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/var ZW;function ZSe(){if(ZW)return Gh;ZW=1;var e=Mo(),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(s,l,c){var d,h={},p=null,g=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(g=l.ref);for(d in l)n.call(l,d)&&!o.hasOwnProperty(d)&&(h[d]=l[d]);if(s&&s.defaultProps)for(d in l=s.defaultProps,l)h[d]===void 0&&(h[d]=l[d]);return{$$typeof:t,type:s,key:p,ref:g,props:h,_owner:i.current}}return Gh.Fragment=r,Gh.jsx=a,Gh.jsxs=a,Gh}var JW;function JSe(){return JW||(JW=1,NT.exports=ZSe()),NT.exports}var U=JSe();class ac extends M_e{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],o=a=>jr.Radio.channel(_n.ALERT).trigger("remove:alert",a);this.layout.showChildView(this.layoutOptions.options.alertRegion,U.jsx(r,{alerts:i,removeAlert:o}))}}var dm={exports:{}},eEe=dm.exports,eG;function tEe(){return eG||(eG=1,(function(e,t){(function(r,n){e.exports=n()})(eEe,(function(){var r=1e3,n=6e4,i=36e5,o="millisecond",a="second",s="minute",l="hour",c="day",d="week",h="month",p="quarter",g="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,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(X){var J=["th","st","nd","rd"],Z=X%100;return"["+X+(J[(Z-20)%10]||J[Z]||J[0])+"]"}},x=function(X,J,Z){var ue=String(X);return!ue||ue.length>=J?X:""+Array(J+1-ue.length).join(Z)+X},A={s:x,z:function(X){var J=-X.utcOffset(),Z=Math.abs(J),ue=Math.floor(Z/60),H=Z%60;return(J<=0?"+":"-")+x(ue,2,"0")+":"+x(H,2,"0")},m:function X(J,Z){if(J.date()<Z.date())return-X(Z,J);var ue=12*(Z.year()-J.year())+(Z.month()-J.month()),H=J.clone().add(ue,h),L=Z-H<0,j=J.clone().add(ue+(L?-1:1),h);return+(-(ue+(Z-H)/(L?H-j:j-H))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:h,y:g,w:d,d:c,D:S,h:l,m:s,s:a,ms:o,Q:p}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},R="en",O={};O[R]=b;var m="$isDayjsObject",k=function(X){return X instanceof G||!(!X||!X[m])},D=function X(J,Z,ue){var H;if(!J)return R;if(typeof J=="string"){var L=J.toLowerCase();O[L]&&(H=L),Z&&(O[L]=Z,H=L);var j=J.split("-");if(!H&&j.length>1)return X(j[0])}else{var te=J.name;O[te]=J,H=te}return!ue&&H&&(R=H),H||!ue&&R},V=function(X,J){if(k(X))return X.clone();var Z=typeof J=="object"?J:{};return Z.date=X,Z.args=arguments,new G(Z)},F=A;F.l=D,F.i=k,F.w=function(X,J){return V(X,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var G=(function(){function X(Z){this.$L=D(Z.locale,null,!0),this.parse(Z),this.$x=this.$x||Z.x||{},this[m]=!0}var J=X.prototype;return J.parse=function(Z){this.$d=(function(ue){var H=ue.date,L=ue.utc;if(H===null)return new Date(NaN);if(F.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var j=H.match(_);if(j){var te=j[2]-1||0,ee=(j[7]||"0").substring(0,3);return L?new Date(Date.UTC(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,ee)):new Date(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,ee)}}return new Date(H)})(Z),this.init()},J.init=function(){var Z=this.$d;this.$y=Z.getFullYear(),this.$M=Z.getMonth(),this.$D=Z.getDate(),this.$W=Z.getDay(),this.$H=Z.getHours(),this.$m=Z.getMinutes(),this.$s=Z.getSeconds(),this.$ms=Z.getMilliseconds()},J.$utils=function(){return F},J.isValid=function(){return this.$d.toString()!==E},J.isSame=function(Z,ue){var H=V(Z);return this.startOf(ue)<=H&&H<=this.endOf(ue)},J.isAfter=function(Z,ue){return V(Z)<this.startOf(ue)},J.isBefore=function(Z,ue){return this.endOf(ue)<V(Z)},J.$g=function(Z,ue,H){return F.u(Z)?this[ue]:this.set(H,Z)},J.unix=function(){return Math.floor(this.valueOf()/1e3)},J.valueOf=function(){return this.$d.getTime()},J.startOf=function(Z,ue){var H=this,L=!!F.u(ue)||ue,j=F.p(Z),te=function(q,N){var B=F.w(H.$u?Date.UTC(H.$y,N,q):new Date(H.$y,N,q),H);return L?B:B.endOf(c)},ee=function(q,N){return F.w(H.toDate()[q].apply(H.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(N)),H)},de=this.$W,Se=this.$M,Ae=this.$D,se="set"+(this.$u?"UTC":"");switch(j){case g:return L?te(1,0):te(31,11);case h:return L?te(1,Se):te(0,Se+1);case d:var I=this.$locale().weekStart||0,P=(de<I?de+7:de)-I;return te(L?Ae-P:Ae+(6-P),Se);case c:case S:return ee(se+"Hours",0);case l:return ee(se+"Minutes",1);case s:return ee(se+"Seconds",2);case a:return ee(se+"Milliseconds",3);default:return this.clone()}},J.endOf=function(Z){return this.startOf(Z,!1)},J.$set=function(Z,ue){var H,L=F.p(Z),j="set"+(this.$u?"UTC":""),te=(H={},H[c]=j+"Date",H[S]=j+"Date",H[h]=j+"Month",H[g]=j+"FullYear",H[l]=j+"Hours",H[s]=j+"Minutes",H[a]=j+"Seconds",H[o]=j+"Milliseconds",H)[L],ee=L===c?this.$D+(ue-this.$W):ue;if(L===h||L===g){var de=this.clone().set(S,1);de.$d[te](ee),de.init(),this.$d=de.set(S,Math.min(this.$D,de.daysInMonth())).$d}else te&&this.$d[te](ee);return this.init(),this},J.set=function(Z,ue){return this.clone().$set(Z,ue)},J.get=function(Z){return this[F.p(Z)]()},J.add=function(Z,ue){var H,L=this;Z=Number(Z);var j=F.p(ue),te=function(Se){var Ae=V(L);return F.w(Ae.date(Ae.date()+Math.round(Se*Z)),L)};if(j===h)return this.set(h,this.$M+Z);if(j===g)return this.set(g,this.$y+Z);if(j===c)return te(1);if(j===d)return te(7);var ee=(H={},H[s]=n,H[l]=i,H[a]=r,H)[j]||1,de=this.$d.getTime()+Z*ee;return F.w(de,this)},J.subtract=function(Z,ue){return this.add(-1*Z,ue)},J.format=function(Z){var ue=this,H=this.$locale();if(!this.isValid())return H.invalidDate||E;var L=Z||"YYYY-MM-DDTHH:mm:ssZ",j=F.z(this),te=this.$H,ee=this.$m,de=this.$M,Se=H.weekdays,Ae=H.months,se=H.meridiem,I=function(N,B,re,ce){return N&&(N[B]||N(ue,L))||re[B].slice(0,ce)},P=function(N){return F.s(te%12||12,N,"0")},q=se||function(N,B,re){var ce=N<12?"AM":"PM";return re?ce.toLowerCase():ce};return L.replace(w,(function(N,B){return B||(function(re){switch(re){case"YY":return String(ue.$y).slice(-2);case"YYYY":return F.s(ue.$y,4,"0");case"M":return de+1;case"MM":return F.s(de+1,2,"0");case"MMM":return I(H.monthsShort,de,Ae,3);case"MMMM":return I(Ae,de);case"D":return ue.$D;case"DD":return F.s(ue.$D,2,"0");case"d":return String(ue.$W);case"dd":return I(H.weekdaysMin,ue.$W,Se,2);case"ddd":return I(H.weekdaysShort,ue.$W,Se,3);case"dddd":return Se[ue.$W];case"H":return String(te);case"HH":return F.s(te,2,"0");case"h":return P(1);case"hh":return P(2);case"a":return q(te,ee,!0);case"A":return q(te,ee,!1);case"m":return String(ee);case"mm":return F.s(ee,2,"0");case"s":return String(ue.$s);case"ss":return F.s(ue.$s,2,"0");case"SSS":return F.s(ue.$ms,3,"0");case"Z":return j}return null})(N)||j.replace(":","")}))},J.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},J.diff=function(Z,ue,H){var L,j=this,te=F.p(ue),ee=V(Z),de=(ee.utcOffset()-this.utcOffset())*n,Se=this-ee,Ae=function(){return F.m(j,ee)};switch(te){case g:L=Ae()/12;break;case h:L=Ae();break;case p:L=Ae()/3;break;case d:L=(Se-de)/6048e5;break;case c:L=(Se-de)/864e5;break;case l:L=Se/i;break;case s:L=Se/n;break;case a:L=Se/r;break;default:L=Se}return H?L:F.a(L)},J.daysInMonth=function(){return this.endOf(h).$D},J.$locale=function(){return O[this.$L]},J.locale=function(Z,ue){if(!Z)return this.$L;var H=this.clone(),L=D(Z,ue,!0);return L&&(H.$L=L),H},J.clone=function(){return F.w(this.$d,this)},J.toDate=function(){return new Date(this.valueOf())},J.toJSON=function(){return this.isValid()?this.toISOString():null},J.toISOString=function(){return this.$d.toISOString()},J.toString=function(){return this.$d.toUTCString()},X})(),Y=G.prototype;return V.prototype=Y,[["$ms",o],["$s",a],["$m",s],["$H",l],["$W",c],["$M",h],["$y",g],["$D",S]].forEach((function(X){Y[X[1]]=function(J){return this.$g(J,X[0],X[1])}})),V.extend=function(X,J){return X.$i||(X(J,G,V),X.$i=!0),V},V.locale=D,V.isDayjs=k,V.unix=function(X){return V(1e3*X)},V.en=O[R],V.Ls=O,V.p={},V}))})(dm)),dm.exports}var rEe=tEe();const dr=jn(rEe);var hm={exports:{}},nEe=hm.exports,tG;function iEe(){return tG||(tG=1,(function(e,t){(function(r,n){e.exports=n()})(nEe,(function(){return function(r,n){var i=n.prototype,o=i.format;i.format=function(a){var s=this,l=this.$locale();if(!this.isValid())return o.bind(this)(a);var c=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((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),h==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),h==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return h}}));return o.bind(this)(d)}}}))})(hm)),hm.exports}var aEe=iEe();const oEe=jn(aEe);var pm={exports:{}},sEe=pm.exports,rG;function uEe(){return rG||(rG=1,(function(e,t){(function(r,n){e.exports=n()})(sEe,(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]+/,s={},l=function(E){return(E=+E)+(E>68?1900:2e3)},c=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),b=60*w[1]+(+w[2]||0);return b===0?0:w[0]==="+"?-b:b})(E)}],h=function(E){var _=s[E];return _&&(_.indexOf?_:_.s.concat(_.f))},p=function(E,_){var w,b=s.meridiem;if(b){for(var x=1;x<=24;x+=1)if(E.indexOf(b(x,0,_))>-1){w=x>12;break}}else w=E===(_?"pm":"PM");return w},g={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,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[i,c("day")],Do:[a,function(E){var _=s.ordinal,w=E.match(/\d+/);if(this.day=w[0],_)for(var b=1;b<=31;b+=1)_(b).replace(/\[|\]/g,"")===E&&(this.day=b)}],M:[o,c("month")],MM:[i,c("month")],MMM:[a,function(E){var _=h("months"),w=(h("monthsShort")||_.map((function(b){return b.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+/,c("year")],YY:[i,function(E){this.year=l(E)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function S(E){var _,w;_=E,w=s&&s.formats;for(var b=(E=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(D,V,F){var G=F&&F.toUpperCase();return V||w[F]||r[F]||w[G].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,X,J){return X||J.slice(1)}))}))).match(n),x=b.length,A=0;A<x;A+=1){var R=b[A],O=g[R],m=O&&O[0],k=O&&O[1];b[A]=k?{regex:m,parser:k}:R.replace(/^\[|\]$/g,"")}return function(D){for(var V={},F=0,G=0;F<x;F+=1){var Y=b[F];if(typeof Y=="string")G+=Y.length;else{var X=Y.regex,J=Y.parser,Z=D.slice(G),ue=X.exec(Z)[0];J.call(V,ue),D=D.replace(ue,"")}}return(function(H){var L=H.afternoon;if(L!==void 0){var j=H.hours;L?j<12&&(H.hours+=12):j===12&&(H.hours=0),delete H.afternoon}})(V),V}}return function(E,_,w){w.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(l=E.parseTwoDigitYear);var b=_.prototype,x=b.parse;b.parse=function(A){var R=A.date,O=A.utc,m=A.args;this.$u=O;var k=m[1];if(typeof k=="string"){var D=m[2]===!0,V=m[3]===!0,F=D||V,G=m[2];V&&(G=m[2]),s=this.$locale(),!D&&G&&(s=w.Ls[G]),this.$d=(function(Z,ue,H){try{if(["x","X"].indexOf(ue)>-1)return new Date((ue==="X"?1e3:1)*Z);var L=S(ue)(Z),j=L.year,te=L.month,ee=L.day,de=L.hours,Se=L.minutes,Ae=L.seconds,se=L.milliseconds,I=L.zone,P=new Date,q=ee||(j||te?1:P.getDate()),N=j||P.getFullYear(),B=0;j&&!te||(B=te>0?te-1:P.getMonth());var re=de||0,ce=Se||0,we=Ae||0,_e=se||0;return I?new Date(Date.UTC(N,B,q,re,ce,we,_e+60*I.offset*1e3)):H?new Date(Date.UTC(N,B,q,re,ce,we,_e)):new Date(N,B,q,re,ce,we,_e)}catch{return new Date("")}})(R,k,O),this.init(),G&&G!==!0&&(this.$L=this.locale(G).$L),F&&R!=this.format(k)&&(this.$d=new Date("")),s={}}else if(k instanceof Array)for(var Y=k.length,X=1;X<=Y;X+=1){m[1]=k[X-1];var J=w.apply(this,m);if(J.isValid()){this.$d=J.$d,this.$L=J.$L,this.init();break}X===Y&&(this.$d=new Date(""))}else x.call(this,A)}}}))})(pm)),pm.exports}var lEe=uEe();const Ene=jn(lEe);var vm={exports:{}},cEe=vm.exports,nG;function fEe(){return nG||(nG=1,(function(e,t){(function(r,n){e.exports=n()})(cEe,(function(){var r,n,i=1e3,o=6e4,a=36e5,s=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,d=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,p={years:c,months:d,days:s,hours:a,minutes:o,seconds:i,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof A},S=function(O,m,k){return new A(O,k,m.$l)},E=function(O){return n.p(O)+"s"},_=function(O){return O<0},w=function(O){return _(O)?Math.ceil(O):Math.floor(O)},b=function(O){return Math.abs(O)},x=function(O,m){return O?_(O)?{negative:!0,format:""+b(O)+m}:{negative:!1,format:""+O+m}:{negative:!1,format:""}},A=(function(){function O(k,D,V){var F=this;if(this.$d={},this.$l=V,k===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return S(k*p[E(D)],this);if(typeof k=="number")return this.$ms=k,this.parseFromMilliseconds(),this;if(typeof k=="object")return Object.keys(k).forEach((function(X){F.$d[E(X)]=k[X]})),this.calMilliseconds(),this;if(typeof k=="string"){var G=k.match(h);if(G){var Y=G.slice(2).map((function(X){return X!=null?Number(X):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 m=O.prototype;return m.calMilliseconds=function(){var k=this;this.$ms=Object.keys(this.$d).reduce((function(D,V){return D+(k.$d[V]||0)*p[V]}),0)},m.parseFromMilliseconds=function(){var k=this.$ms;this.$d.years=w(k/c),k%=c,this.$d.months=w(k/d),k%=d,this.$d.days=w(k/s),k%=s,this.$d.hours=w(k/a),k%=a,this.$d.minutes=w(k/o),k%=o,this.$d.seconds=w(k/i),k%=i,this.$d.milliseconds=k},m.toISOString=function(){var k=x(this.$d.years,"Y"),D=x(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var F=x(V,"D"),G=x(this.$d.hours,"H"),Y=x(this.$d.minutes,"M"),X=this.$d.seconds||0;this.$d.milliseconds&&(X+=this.$d.milliseconds/1e3,X=Math.round(1e3*X)/1e3);var J=x(X,"S"),Z=k.negative||D.negative||F.negative||G.negative||Y.negative||J.negative,ue=G.format||Y.format||J.format?"T":"",H=(Z?"-":"")+"P"+k.format+D.format+F.format+ue+G.format+Y.format+J.format;return H==="P"||H==="-P"?"P0D":H},m.toJSON=function(){return this.toISOString()},m.format=function(k){var D=k||"YYYY-MM-DDTHH:mm:ss",V={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return D.replace(l,(function(F,G){return G||String(V[F])}))},m.as=function(k){return this.$ms/p[E(k)]},m.get=function(k){var D=this.$ms,V=E(k);return V==="milliseconds"?D%=1e3:D=V==="weeks"?w(D/p[V]):this.$d[V],D||0},m.add=function(k,D,V){var F;return F=D?k*p[E(D)]:g(k)?k.$ms:S(k,this).$ms,S(this.$ms+F*(V?-1:1),this)},m.subtract=function(k,D){return this.add(k,D,!0)},m.locale=function(k){var D=this.clone();return D.$l=k,D},m.clone=function(){return S(this.$ms,this)},m.humanize=function(k){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!k)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},O})(),R=function(O,m,k){return O.add(m.years()*k,"y").add(m.months()*k,"M").add(m.days()*k,"d").add(m.hours()*k,"h").add(m.minutes()*k,"m").add(m.seconds()*k,"s").add(m.milliseconds()*k,"ms")};return function(O,m,k){r=k,n=k().$utils(),k.duration=function(F,G){var Y=k.locale();return S(F,{$l:Y},G)},k.isDuration=g;var D=m.prototype.add,V=m.prototype.subtract;m.prototype.add=function(F,G){return g(F)?R(this,F,1):D.bind(this)(F,G)},m.prototype.subtract=function(F,G){return g(F)?R(this,F,-1):V.bind(this)(F,G)}}}))})(vm)),vm.exports}var dEe=fEe();const hEe=jn(dEe);var gm={exports:{}},pEe=gm.exports,iG;function vEe(){return iG||(iG=1,(function(e,t){(function(r,n){e.exports=n()})(pEe,(function(){return function(r,n,i){n.prototype.isBetween=function(o,a,s,l){var c=i(o),d=i(a),h=(l=l||"()")[0]==="(",p=l[1]===")";return(h?this.isAfter(c,s):!this.isBefore(c,s))&&(p?this.isBefore(d,s):!this.isAfter(d,s))||(h?this.isBefore(c,s):!this.isAfter(c,s))&&(p?this.isAfter(d,s):!this.isBefore(d,s))}}}))})(gm)),gm.exports}var gEe=vEe();const mEe=jn(gEe);var mm={exports:{}},yEe=mm.exports,aG;function _Ee(){return aG||(aG=1,(function(e,t){(function(r,n){e.exports=n()})(yEe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}}))})(mm)),mm.exports}var SEe=_Ee();const EEe=jn(SEe);var ym={exports:{}},wEe=ym.exports,oG;function bEe(){return oG||(oG=1,(function(e,t){(function(r,n){e.exports=n()})(wEe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}}))})(ym)),ym.exports}var CEe=bEe();const TEe=jn(CEe);var _m={exports:{}},AEe=_m.exports,sG;function REe(){return sG||(sG=1,(function(e,t){(function(r,n){e.exports=n()})(AEe,(function(){return function(r,n,i){var o=n.prototype,a=function(h){return h&&(h.indexOf?h:h.s)},s=function(h,p,g,S,E){var _=h.name?h:h.$locale(),w=a(_[p]),b=a(_[g]),x=w||b.map((function(R){return R.slice(0,S)}));if(!E)return x;var A=_.weekStart;return x.map((function(R,O){return x[(O+(A||0))%7]}))},l=function(){return i.Ls[i.locale()]},c=function(h,p){return h.formats[p]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,E,_){return E||_.slice(1)}))})(h.formats[p.toUpperCase()])},d=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):s(h,"months")},monthsShort:function(p){return p?p.format("MMM"):s(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):s(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):s(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):s(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return c(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 c(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return s(l(),"months")},i.monthsShort=function(){return s(l(),"monthsShort","months",3)},i.weekdays=function(h){return s(l(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return s(l(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return s(l(),"weekdaysMin","weekdays",2,h)}}}))})(_m)),_m.exports}var xEe=REe();const OEe=jn(xEe);var Sm={exports:{}},IEe=Sm.exports,uG;function PEe(){return uG||(uG=1,(function(e,t){(function(r,n){e.exports=n()})(IEe,(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 s(c,d,h,p){return o.fromToBase(c,d,h,p)}i.en.relativeTime=a,o.fromToBase=function(c,d,h,p,g){for(var S,E,_,w=h.$locale().relativeTime||a,b=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=b.length,A=0;A<x;A+=1){var R=b[A];R.d&&(S=p?i(c).diff(h,R.d,!0):h.diff(c,R.d,!0));var O=(r.rounding||Math.round)(Math.abs(S));if(_=S>0,O<=R.r||!R.r){O<=1&&A>0&&(R=b[A-1]);var m=w[R.l];g&&(O=g(""+O)),E=typeof m=="string"?m.replace("%d",O):m(O,d,R.l,_);break}}if(d)return E;var k=_?w.future:w.past;return typeof k=="function"?k(E):k.replace("%s",E)},o.to=function(c,d){return s(c,d,this,!0)},o.from=function(c,d){return s(c,d,this)};var l=function(c){return c.$u?i.utc():i()};o.toNow=function(c){return this.to(l(this),c)},o.fromNow=function(c){return this.from(l(this),c)}}}))})(Sm)),Sm.exports}var kEe=PEe();const DEe=jn(kEe);var Em={exports:{}},LEe=Em.exports,lG;function NEe(){return lG||(lG=1,(function(e,t){(function(r,n){e.exports=n()})(LEe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,o,a){var s,l=function(p,g,S){S===void 0&&(S={});var E=new Date(p),_=(function(w,b){b===void 0&&(b={});var x=b.timeZoneName||"short",A=w+"|"+x,R=n[A];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:x}),n[A]=R),R})(g,S);return _.formatToParts(E)},c=function(p,g){for(var S=l(p,g),E=[],_=0;_<S.length;_+=1){var w=S[_],b=w.type,x=w.value,A=r[b];A>=0&&(E[A]=parseInt(x,10))}var R=E[3],O=R===24?0:R,m=E[0]+"-"+E[1]+"-"+E[2]+" "+O+":"+E[4]+":"+E[5]+":000",k=+p;return(a.utc(m).valueOf()-(k-=k%1e3))/6e4},d=o.prototype;d.tz=function(p,g){p===void 0&&(p=s);var S=this.utcOffset(),E=this.toDate(),_=E.toLocaleString("en-US",{timeZone:p}),w=Math.round((E-new Date(_))/1e3/60),b=a(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-w,!0);if(g){var x=b.utcOffset();b=b.add(S-x,"minute")}return b.$x.$timezone=p,b},d.offsetName=function(p){var g=this.$x.$timezone||a.tz.guess(),S=l(this.valueOf(),g,{timeZoneName:p}).find((function(E){return E.type.toLowerCase()==="timezonename"}));return S&&S.value};var h=d.startOf;d.startOf=function(p,g){if(!this.$x||!this.$x.$timezone)return h.call(this,p,g);var S=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(S,p,g).tz(this.$x.$timezone,!0)},a.tz=function(p,g,S){var E=S&&g,_=S||g||s,w=c(+a(),_);if(typeof p!="string")return a(p).tz(_);var b=(function(O,m,k){var D=O-60*m*1e3,V=c(D,k);if(m===V)return[D,m];var F=c(D-=60*(V-m)*1e3,k);return V===F?[D,V]:[O-60*Math.min(V,F)*1e3,Math.max(V,F)]})(a.utc(p,E).valueOf(),w,_),x=b[0],A=b[1],R=a(x).utcOffset(A);return R.$x.$timezone=_,R},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(p){s=p}}}))})(Em)),Em.exports}var MEe=NEe();const $Ee=jn(MEe);var wm={exports:{}},FEe=wm.exports,cG;function jEe(){return cG||(cG=1,(function(e,t){(function(r,n){e.exports=n()})(FEe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,a,s){var l=a.prototype;s.utc=function(E){var _={date:E,utc:!0,args:arguments};return new a(_)},l.utc=function(E){var _=s(this.toDate(),{locale:this.$L,utc:!0});return E?_.add(this.utcOffset(),r):_},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),c.call(this,E)};var d=l.init;l.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else d.call(this)};var h=l.utcOffset;l.utcOffset=function(E,_){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 O=R.match(n);if(!O)return null;var m=(""+O[0]).match(i)||["-",0,0],k=m[0],D=60*+m[1]+ +m[2];return D===0?0:k==="+"?D:-D})(E),E===null))return this;var b=Math.abs(E)<=16?60*E:E,x=this;if(_)return x.$offset=b,x.$u=E===0,x;if(E!==0){var A=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(b+A,r)).$offset=b,x.$x.$localOffset=A}else x=this.utc();return x};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 g=l.toDate;l.toDate=function(E){return E==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var S=l.diff;l.diff=function(E,_,w){if(E&&this.$u===E.$u)return S.call(this,E,_,w);var b=this.local(),x=s(E).local();return S.call(b,x,_,w)}}}))})(wm)),wm.exports}var UEe=jEe();const qEe=jn(UEe);var bm={exports:{}},VEe=bm.exports,fG;function HEe(){return fG||(fG=1,(function(e,t){(function(r,n){e.exports=n()})(VEe,(function(){return function(r,n){n.prototype.weekday=function(i){var o=this.$locale().weekStart||0,a=this.$W,s=(a<o?a+7:a)-o;return this.$utils().u(i)?s:this.subtract(s,"day").add(i,"day")}}}))})(bm)),bm.exports}var BEe=HEe();const zEe=jn(BEe);let xg;const WEe={"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"}},wne={getCurrentRegion(){return xg},setCurrentRegion(e){xg=e},updateFormatByRegion(e){var r;return xg&&((r=WEe[e])==null?void 0:r[xg])||e}};dr.extend(oEe);dr.extend(Ene);dr.extend(DEe);dr.extend(EEe);dr.extend(mEe);dr.extend(zEe);dr.extend(OEe);dr.extend(TEe);dr.extend(Ene);dr.extend(hEe);dr.extend(qEe);dr.extend($Ee);const GEe=/[\[\]]/g;function KEe(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 xo={add(e,t,r){return dr(e).add(t,r).toDate()},subtract(e,t,r){return dr(e).subtract(t,r).toDate()},format(e,t){return dr(e).format(wne.updateFormatByRegion(t))},formatToISODate(e){return dr(e).format("YYYY-MM-DD")},isValid(e){return dr(e).isValid()},formatIsValid(e,t,r){return dr(e,t,r).isValid()},fromNow(e,t){return dr(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),i=t.getTimezoneOffset()>0,a=Math.abs(t.getTimezoneOffset())/60,s=Math.floor(a),l=Math.floor((a-s)*60);let c=r+s,d=n+l;return i&&(c=r-s,d=n-l),t.setHours(c),t.setMinutes(d),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=dr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=dr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return dr(e).isSame(dr(t),r)},isSameOrBefore(e,t,r){return dr(e).isSameOrBefore(dr(t),r)},isToday(e){return dr().isSame(dr(e),"day")},isBetween(e,t,r){return dr(e).isSameOrAfter(dr(t))&&dr(e).isSameOrBefore(dr(r))},timeSince(e,t,r){const n=dr(e);return dr().diff(n,t,r)},startOf(e,t){return dr(e).startOf(t).toDate()},endOf(e,t){return dr(e).endOf(t).toDate()},getTimezoneOffset(){const e=new Date().getTimezoneOffset();if(e===0)return"00:00:00";const t=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),n=t<10?"0"+t:t.toString(),i=r<10?"0"+r:r.toString(),o=`${n}:${i}:00`;return e<0?o:`-${o}`},weekday(e,t){return dr(e).weekday(t).toDate()},getWeekday(e){return dr(e).weekday()},daysInMonth(e){return dr(e).daysInMonth()},get(e,t){return dr(e).get(t)},set(e,t,r){return dr(e).set(t,r).toDate()},diffBetween(e,t,r){return dr(e).diff(dr(t),r)},getLocalDateOrdinal(e){return dr.localeData().ordinal(e).replace(GEe,"")},parseDateString(e,t){return e?dr(e,t).toDate():dr().toDate()},getDurationISOString(e,t){return dr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return dr.duration(e).asMilliseconds();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertISODuration`);break}},convertDurationByUnit(e,t,r){switch(r){case"hours":return dr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=KEe(e);switch(t){case"milliseconds":return dr.duration(r).asMilliseconds();case"seconds":return dr.duration(r).asSeconds();case"hours":return dr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=dr().day(e).hour(t).minute(r).utc().toDate();return xo.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return dr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return dr(e).utc().toISOString()},formatUtc(e,t){return dr(e).utc().format(t)},formatUtcString(e,t){return dr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return dr.duration(e,t).hours();case"minutes":return dr.duration(e,t).minutes();case"seconds":return dr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return dr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return dr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?dr.utc(e).tz(r).format(t):dr.utc(e).format(t)},getUtcStringByTimezone(e,t){return dr.tz(e,t).utc().toISOString()}};var BO=(e=>(e.ET="Eastern Standard Time",e))(BO||{});const dG={"Eastern Standard Time":{name:"Eastern Time",timezone:"America/New_York",code:"ET"}},YEe={convertToUTCString(e,t=BO.ET){return e?xo.getUtcStringByTimezone(e,dG[t].timezone):""},convertUTCToTimezoneDate(e,t=BO.ET){if(!e||!t)return new Date;const r=new Date(e),n=new Intl.DateTimeFormat("en-US",{timeZone:dG[t].timezone,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(r);return new Date(n)}};let $T=!1,FT=!1,jT=!1,UT=!0,qT=!0;class XEe extends No{get name(){return"LayoutHelper"}shouldHideNav(){return $T}disableNav(){$T=!0}enableNav(){$T=!1}shouldHideHeader(){return FT}disableHeader(){FT=!0}enableHeader(){FT=!1}lockContentWidth(){jT=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){jT=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!jT}shouldShowSearch(){return qT}enableSearch(){qT=!0}disableSearch(){qT=!1}enableLogoClick(){UT=!0}disableLogoClick(){UT=!1}shouldAllowLogoClick(){return UT}}const Zs=new XEe,fn={CONTENT:"content",POPUP:"popup",ALERT:"alert"},Su={DEFAULT_LAYOUT:"DefaultLayout"},ur={DEFAULT:"default:application",DASHBOARD:"dashboard:application",SUBJECTS:"subjects:application",SEARCH:"search:application",VIDEOS:"videos:application",CALENDAR:"calendar:application",SETTINGS:"settings:application",LIVESTREAMS:"livestreams:application"},Ja={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var pu=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(pu||{}),Ci=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(Ci||{});function hG(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const QEe=[Ci.POST,Ci.PUT];function zO(e){const{resource:t,type:r,headers:n,success:i,error:o,always:a}=e,s={url:t,method:r,contentType:"application/json; charset=utf-8"};QEe.includes(r)&&e.data&&(s.data=JSON.stringify(e.data)),n&&(s.headers=n),du.ajax(s).done((l,c,d)=>{i&&i(l,hG(d))}).fail(l=>{o&&o(hG(l))}).always(()=>{a&&a()})}const bne="id";function VT(e,t={}){const{idAttribute:r=bne,namespace:n=""}=t;return`${n}__${e[r]}`}function Cne(e,t,r,n={}){const{idAttribute:i=bne}=n,o={...e};if(r.has(e))return e[i]?VT(e,n):o;if(r.add(e),Object.keys(e).forEach(a=>{const s=e[a];if(s){if(Array.isArray(s)){o[a]=s.map(l=>r3(l,t,r,n));return}if(typeof s=="object"){const l=Cne(s,t,r,n);s[i]?o[a]=VT(s,n):o[a]=l}}}),e[i]){const a=VT(e,n);return t[a]?t[a]={...t[a],...o}:t[a]=o,a}return o}function r3(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>r3(i,t,r,n)):typeof e=="object"?Cne(e,t,r,n):e)}function Tne(e,t){const r={};return{result:r3(e,r,new Set,t),entities:r}}var HT,pG;function ZEe(){if(pG)return HT;pG=1;function e(){this.__data__=[],this.size=0}return HT=e,HT}var BT,vG;function Ane(){if(vG)return BT;vG=1;function e(t,r){return t===r||t!==t&&r!==r}return BT=e,BT}var zT,gG;function v1(){if(gG)return zT;gG=1;var e=Ane();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return zT=t,zT}var WT,mG;function JEe(){if(mG)return WT;mG=1;var e=v1(),t=Array.prototype,r=t.splice;function n(i){var o=this.__data__,a=e(o,i);if(a<0)return!1;var s=o.length-1;return a==s?o.pop():r.call(o,a,1),--this.size,!0}return WT=n,WT}var GT,yG;function ewe(){if(yG)return GT;yG=1;var e=v1();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return GT=t,GT}var KT,_G;function twe(){if(_G)return KT;_G=1;var e=v1();function t(r){return e(this.__data__,r)>-1}return KT=t,KT}var YT,SG;function rwe(){if(SG)return YT;SG=1;var e=v1();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 YT=t,YT}var XT,EG;function g1(){if(EG)return XT;EG=1;var e=ZEe(),t=JEe(),r=ewe(),n=twe(),i=rwe();function o(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,XT=o,XT}var QT,wG;function nwe(){if(wG)return QT;wG=1;var e=g1();function t(){this.__data__=new e,this.size=0}return QT=t,QT}var ZT,bG;function iwe(){if(bG)return ZT;bG=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return ZT=e,ZT}var JT,CG;function awe(){if(CG)return JT;CG=1;function e(t){return this.__data__.get(t)}return JT=e,JT}var eA,TG;function owe(){if(TG)return eA;TG=1;function e(t){return this.__data__.has(t)}return eA=e,eA}var tA,AG;function Rne(){if(AG)return tA;AG=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return tA=e,tA}var rA,RG;function Eu(){if(RG)return rA;RG=1;var e=Rne(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return rA=r,rA}var nA,xG;function m1(){if(xG)return nA;xG=1;var e=Eu(),t=e.Symbol;return nA=t,nA}var iA,OG;function swe(){if(OG)return iA;OG=1;var e=m1(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function o(a){var s=r.call(a,i),l=a[i];try{a[i]=void 0;var c=!0}catch{}var d=n.call(a);return c&&(s?a[i]=l:delete a[i]),d}return iA=o,iA}var aA,IG;function uwe(){if(IG)return aA;IG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return aA=r,aA}var oA,PG;function vv(){if(PG)return oA;PG=1;var e=m1(),t=swe(),r=uwe(),n="[object Null]",i="[object Undefined]",o=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?i:n:o&&o in Object(s)?t(s):r(s)}return oA=a,oA}var sA,kG;function gv(){if(kG)return sA;kG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return sA=e,sA}var uA,DG;function xne(){if(DG)return uA;DG=1;var e=vv(),t=gv(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",o="[object Proxy]";function a(s){if(!t(s))return!1;var l=e(s);return l==n||l==i||l==r||l==o}return uA=a,uA}var lA,LG;function lwe(){if(LG)return lA;LG=1;var e=Eu(),t=e["__core-js_shared__"];return lA=t,lA}var cA,NG;function cwe(){if(NG)return cA;NG=1;var e=lwe(),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 cA=r,cA}var fA,MG;function One(){if(MG)return fA;MG=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 fA=r,fA}var dA,$G;function fwe(){if($G)return dA;$G=1;var e=xne(),t=cwe(),r=gv(),n=One(),i=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,d=RegExp("^"+l.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!r(p)||t(p))return!1;var g=e(p)?d:o;return g.test(n(p))}return dA=h,dA}var hA,FG;function dwe(){if(FG)return hA;FG=1;function e(t,r){return t==null?void 0:t[r]}return hA=e,hA}var pA,jG;function Cf(){if(jG)return pA;jG=1;var e=fwe(),t=dwe();function r(n,i){var o=t(n,i);return e(o)?o:void 0}return pA=r,pA}var vA,UG;function n3(){if(UG)return vA;UG=1;var e=Cf(),t=Eu(),r=e(t,"Map");return vA=r,vA}var gA,qG;function y1(){if(qG)return gA;qG=1;var e=Cf(),t=e(Object,"create");return gA=t,gA}var mA,VG;function hwe(){if(VG)return mA;VG=1;var e=y1();function t(){this.__data__=e?e(null):{},this.size=0}return mA=t,mA}var yA,HG;function pwe(){if(HG)return yA;HG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return yA=e,yA}var _A,BG;function vwe(){if(BG)return _A;BG=1;var e=y1(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(o){var a=this.__data__;if(e){var s=a[o];return s===t?void 0:s}return n.call(a,o)?a[o]:void 0}return _A=i,_A}var SA,zG;function gwe(){if(zG)return SA;zG=1;var e=y1(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var o=this.__data__;return e?o[i]!==void 0:r.call(o,i)}return SA=n,SA}var EA,WG;function mwe(){if(WG)return EA;WG=1;var e=y1(),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 EA=r,EA}var wA,GG;function ywe(){if(GG)return wA;GG=1;var e=hwe(),t=pwe(),r=vwe(),n=gwe(),i=mwe();function o(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,wA=o,wA}var bA,KG;function _we(){if(KG)return bA;KG=1;var e=ywe(),t=g1(),r=n3();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return bA=n,bA}var CA,YG;function Swe(){if(YG)return CA;YG=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return CA=e,CA}var TA,XG;function _1(){if(XG)return TA;XG=1;var e=Swe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return TA=t,TA}var AA,QG;function Ewe(){if(QG)return AA;QG=1;var e=_1();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return AA=t,AA}var RA,ZG;function wwe(){if(ZG)return RA;ZG=1;var e=_1();function t(r){return e(this,r).get(r)}return RA=t,RA}var xA,JG;function bwe(){if(JG)return xA;JG=1;var e=_1();function t(r){return e(this,r).has(r)}return xA=t,xA}var OA,eK;function Cwe(){if(eK)return OA;eK=1;var e=_1();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 OA=t,OA}var IA,tK;function Ine(){if(tK)return IA;tK=1;var e=_we(),t=Ewe(),r=wwe(),n=bwe(),i=Cwe();function o(a){var s=-1,l=a==null?0:a.length;for(this.clear();++s<l;){var c=a[s];this.set(c[0],c[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,IA=o,IA}var PA,rK;function Twe(){if(rK)return PA;rK=1;var e=g1(),t=n3(),r=Ine(),n=200;function i(o,a){var s=this.__data__;if(s instanceof e){var l=s.__data__;if(!t||l.length<n-1)return l.push([o,a]),this.size=++s.size,this;s=this.__data__=new r(l)}return s.set(o,a),this.size=s.size,this}return PA=i,PA}var kA,nK;function Awe(){if(nK)return kA;nK=1;var e=g1(),t=nwe(),r=iwe(),n=awe(),i=owe(),o=Twe();function a(s){var l=this.__data__=new e(s);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,kA=a,kA}var DA,iK;function Rwe(){if(iK)return DA;iK=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 DA=e,DA}var LA,aK;function xwe(){if(aK)return LA;aK=1;var e=Cf(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return LA=t,LA}var NA,oK;function Pne(){if(oK)return NA;oK=1;var e=xwe();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return NA=t,NA}var MA,sK;function kne(){if(sK)return MA;sK=1;var e=Pne(),t=Ane(),r=Object.prototype,n=r.hasOwnProperty;function i(o,a,s){var l=o[a];(!(n.call(o,a)&&t(l,s))||s===void 0&&!(a in o))&&e(o,a,s)}return MA=i,MA}var $A,uK;function S1(){if(uK)return $A;uK=1;var e=kne(),t=Pne();function r(n,i,o,a){var s=!o;o||(o={});for(var l=-1,c=i.length;++l<c;){var d=i[l],h=a?a(o[d],n[d],d,o,n):void 0;h===void 0&&(h=n[d]),s?t(o,d,h):e(o,d,h)}return o}return $A=r,$A}var FA,lK;function Owe(){if(lK)return FA;lK=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return FA=e,FA}var jA,cK;function dh(){if(cK)return jA;cK=1;function e(t){return t!=null&&typeof t=="object"}return jA=e,jA}var UA,fK;function Iwe(){if(fK)return UA;fK=1;var e=vv(),t=dh(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return UA=n,UA}var qA,dK;function Pwe(){if(dK)return qA;dK=1;var e=Iwe(),t=dh(),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 qA=o,qA}var VA,hK;function hh(){if(hK)return VA;hK=1;var e=Array.isArray;return VA=e,VA}var sp={exports:{}},HA,pK;function kwe(){if(pK)return HA;pK=1;function e(){return!1}return HA=e,HA}sp.exports;var vK;function Dne(){return vK||(vK=1,(function(e,t){var r=Eu(),n=kwe(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(sp,sp.exports)),sp.exports}var BA,gK;function Dwe(){if(gK)return BA;gK=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 BA=r,BA}var zA,mK;function Lne(){if(mK)return zA;mK=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return zA=t,zA}var WA,yK;function Lwe(){if(yK)return WA;yK=1;var e=vv(),t=Lne(),r=dh(),n="[object Arguments]",i="[object Array]",o="[object Boolean]",a="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",g="[object Set]",S="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",b="[object Float32Array]",x="[object Float64Array]",A="[object Int8Array]",R="[object Int16Array]",O="[object Int32Array]",m="[object Uint8Array]",k="[object Uint8ClampedArray]",D="[object Uint16Array]",V="[object Uint32Array]",F={};F[b]=F[x]=F[A]=F[R]=F[O]=F[m]=F[k]=F[D]=F[V]=!0,F[n]=F[i]=F[_]=F[o]=F[w]=F[a]=F[s]=F[l]=F[c]=F[d]=F[h]=F[p]=F[g]=F[S]=F[E]=!1;function G(Y){return r(Y)&&t(Y.length)&&!!F[e(Y)]}return WA=G,WA}var GA,_K;function i3(){if(_K)return GA;_K=1;function e(t){return function(r){return t(r)}}return GA=e,GA}var up={exports:{}};up.exports;var SK;function a3(){return SK||(SK=1,(function(e,t){var r=Rne(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,s=(function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}})();e.exports=s})(up,up.exports)),up.exports}var KA,EK;function Nwe(){if(EK)return KA;EK=1;var e=Lwe(),t=i3(),r=a3(),n=r&&r.isTypedArray,i=n?t(n):e;return KA=i,KA}var YA,wK;function Nne(){if(wK)return YA;wK=1;var e=Owe(),t=Pwe(),r=hh(),n=Dne(),i=Dwe(),o=Nwe(),a=Object.prototype,s=a.hasOwnProperty;function l(c,d){var h=r(c),p=!h&&t(c),g=!h&&!p&&n(c),S=!h&&!p&&!g&&o(c),E=h||p||g||S,_=E?e(c.length,String):[],w=_.length;for(var b in c)(d||s.call(c,b))&&!(E&&(b=="length"||g&&(b=="offset"||b=="parent")||S&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,w)))&&_.push(b);return _}return YA=l,YA}var XA,bK;function o3(){if(bK)return XA;bK=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return XA=t,XA}var QA,CK;function Mne(){if(CK)return QA;CK=1;function e(t,r){return function(n){return t(r(n))}}return QA=e,QA}var ZA,TK;function Mwe(){if(TK)return ZA;TK=1;var e=Mne(),t=e(Object.keys,Object);return ZA=t,ZA}var JA,AK;function $we(){if(AK)return JA;AK=1;var e=o3(),t=Mwe(),r=Object.prototype,n=r.hasOwnProperty;function i(o){if(!e(o))return t(o);var a=[];for(var s in Object(o))n.call(o,s)&&s!="constructor"&&a.push(s);return a}return JA=i,JA}var eR,RK;function $ne(){if(RK)return eR;RK=1;var e=xne(),t=Lne();function r(n){return n!=null&&t(n.length)&&!e(n)}return eR=r,eR}var tR,xK;function s3(){if(xK)return tR;xK=1;var e=Nne(),t=$we(),r=$ne();function n(i){return r(i)?e(i):t(i)}return tR=n,tR}var rR,OK;function Fwe(){if(OK)return rR;OK=1;var e=S1(),t=s3();function r(n,i){return n&&e(i,t(i),n)}return rR=r,rR}var nR,IK;function jwe(){if(IK)return nR;IK=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return nR=e,nR}var iR,PK;function Uwe(){if(PK)return iR;PK=1;var e=gv(),t=o3(),r=jwe(),n=Object.prototype,i=n.hasOwnProperty;function o(a){if(!e(a))return r(a);var s=t(a),l=[];for(var c in a)c=="constructor"&&(s||!i.call(a,c))||l.push(c);return l}return iR=o,iR}var aR,kK;function u3(){if(kK)return aR;kK=1;var e=Nne(),t=Uwe(),r=$ne();function n(i){return r(i)?e(i,!0):t(i)}return aR=n,aR}var oR,DK;function qwe(){if(DK)return oR;DK=1;var e=S1(),t=u3();function r(n,i){return n&&e(i,t(i),n)}return oR=r,oR}var lp={exports:{}};lp.exports;var LK;function Vwe(){return LK||(LK=1,(function(e,t){var r=Eu(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var h=c.length,p=s?s(h):new c.constructor(h);return c.copy(p),p}e.exports=l})(lp,lp.exports)),lp.exports}var sR,NK;function Hwe(){if(NK)return sR;NK=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 sR=e,sR}var uR,MK;function Bwe(){if(MK)return uR;MK=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,o=0,a=[];++n<i;){var s=t[n];r(s,n,t)&&(a[o++]=s)}return a}return uR=e,uR}var lR,$K;function Fne(){if($K)return lR;$K=1;function e(){return[]}return lR=e,lR}var cR,FK;function l3(){if(FK)return cR;FK=1;var e=Bwe(),t=Fne(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,o=i?function(a){return a==null?[]:(a=Object(a),e(i(a),function(s){return n.call(a,s)}))}:t;return cR=o,cR}var fR,jK;function zwe(){if(jK)return fR;jK=1;var e=S1(),t=l3();function r(n,i){return e(n,t(n),i)}return fR=r,fR}var dR,UK;function jne(){if(UK)return dR;UK=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 dR=e,dR}var hR,qK;function Une(){if(qK)return hR;qK=1;var e=Mne(),t=e(Object.getPrototypeOf,Object);return hR=t,hR}var pR,VK;function qne(){if(VK)return pR;VK=1;var e=jne(),t=Une(),r=l3(),n=Fne(),i=Object.getOwnPropertySymbols,o=i?function(a){for(var s=[];a;)e(s,r(a)),a=t(a);return s}:n;return pR=o,pR}var vR,HK;function Wwe(){if(HK)return vR;HK=1;var e=S1(),t=qne();function r(n,i){return e(n,t(n),i)}return vR=r,vR}var gR,BK;function Vne(){if(BK)return gR;BK=1;var e=jne(),t=hh();function r(n,i,o){var a=i(n);return t(n)?a:e(a,o(n))}return gR=r,gR}var mR,zK;function Gwe(){if(zK)return mR;zK=1;var e=Vne(),t=l3(),r=s3();function n(i){return e(i,r,t)}return mR=n,mR}var yR,WK;function Kwe(){if(WK)return yR;WK=1;var e=Vne(),t=qne(),r=u3();function n(i){return e(i,r,t)}return yR=n,yR}var _R,GK;function Ywe(){if(GK)return _R;GK=1;var e=Cf(),t=Eu(),r=e(t,"DataView");return _R=r,_R}var SR,KK;function Xwe(){if(KK)return SR;KK=1;var e=Cf(),t=Eu(),r=e(t,"Promise");return SR=r,SR}var ER,YK;function Qwe(){if(YK)return ER;YK=1;var e=Cf(),t=Eu(),r=e(t,"Set");return ER=r,ER}var wR,XK;function Zwe(){if(XK)return wR;XK=1;var e=Cf(),t=Eu(),r=e(t,"WeakMap");return wR=r,wR}var bR,QK;function c3(){if(QK)return bR;QK=1;var e=Ywe(),t=n3(),r=Xwe(),n=Qwe(),i=Zwe(),o=vv(),a=One(),s="[object Map]",l="[object Object]",c="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",g=a(e),S=a(t),E=a(r),_=a(n),w=a(i),b=o;return(e&&b(new e(new ArrayBuffer(1)))!=p||t&&b(new t)!=s||r&&b(r.resolve())!=c||n&&b(new n)!=d||i&&b(new i)!=h)&&(b=function(x){var A=o(x),R=A==l?x.constructor:void 0,O=R?a(R):"";if(O)switch(O){case g:return p;case S:return s;case E:return c;case _:return d;case w:return h}return A}),bR=b,bR}var CR,ZK;function Jwe(){if(ZK)return CR;ZK=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 CR=r,CR}var TR,JK;function ebe(){if(JK)return TR;JK=1;var e=Eu(),t=e.Uint8Array;return TR=t,TR}var AR,eY;function f3(){if(eY)return AR;eY=1;var e=ebe();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return AR=t,AR}var RR,tY;function tbe(){if(tY)return RR;tY=1;var e=f3();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return RR=t,RR}var xR,rY;function rbe(){if(rY)return xR;rY=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return xR=t,xR}var OR,nY;function nbe(){if(nY)return OR;nY=1;var e=m1(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return OR=n,OR}var IR,iY;function ibe(){if(iY)return IR;iY=1;var e=f3();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return IR=t,IR}var PR,aY;function abe(){if(aY)return PR;aY=1;var e=f3(),t=tbe(),r=rbe(),n=nbe(),i=ibe(),o="[object Boolean]",a="[object Date]",s="[object Map]",l="[object Number]",c="[object RegExp]",d="[object Set]",h="[object String]",p="[object Symbol]",g="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",_="[object Float64Array]",w="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",A="[object Uint8Array]",R="[object Uint8ClampedArray]",O="[object Uint16Array]",m="[object Uint32Array]";function k(D,V,F){var G=D.constructor;switch(V){case g:return e(D);case o:case a:return new G(+D);case S:return t(D,F);case E:case _:case w:case b:case x:case A:case R:case O:case m:return i(D,F);case s:return new G;case l:case h:return new G(D);case c:return r(D);case d:return new G;case p:return n(D)}}return PR=k,PR}var kR,oY;function obe(){if(oY)return kR;oY=1;var e=gv(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var o=new n;return n.prototype=void 0,o}})();return kR=r,kR}var DR,sY;function sbe(){if(sY)return DR;sY=1;var e=obe(),t=Une(),r=o3();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return DR=n,DR}var LR,uY;function ube(){if(uY)return LR;uY=1;var e=c3(),t=dh(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return LR=n,LR}var NR,lY;function lbe(){if(lY)return NR;lY=1;var e=ube(),t=i3(),r=a3(),n=r&&r.isMap,i=n?t(n):e;return NR=i,NR}var MR,cY;function cbe(){if(cY)return MR;cY=1;var e=c3(),t=dh(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return MR=n,MR}var $R,fY;function fbe(){if(fY)return $R;fY=1;var e=cbe(),t=i3(),r=a3(),n=r&&r.isSet,i=n?t(n):e;return $R=i,$R}var FR,dY;function dbe(){if(dY)return FR;dY=1;var e=Awe(),t=Rwe(),r=kne(),n=Fwe(),i=qwe(),o=Vwe(),a=Hwe(),s=zwe(),l=Wwe(),c=Gwe(),d=Kwe(),h=c3(),p=Jwe(),g=abe(),S=sbe(),E=hh(),_=Dne(),w=lbe(),b=gv(),x=fbe(),A=s3(),R=u3(),O=1,m=2,k=4,D="[object Arguments]",V="[object Array]",F="[object Boolean]",G="[object Date]",Y="[object Error]",X="[object Function]",J="[object GeneratorFunction]",Z="[object Map]",ue="[object Number]",H="[object Object]",L="[object RegExp]",j="[object Set]",te="[object String]",ee="[object Symbol]",de="[object WeakMap]",Se="[object ArrayBuffer]",Ae="[object DataView]",se="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",q="[object Int16Array]",N="[object Int32Array]",B="[object Uint8Array]",re="[object Uint8ClampedArray]",ce="[object Uint16Array]",we="[object Uint32Array]",_e={};_e[D]=_e[V]=_e[Se]=_e[Ae]=_e[F]=_e[G]=_e[se]=_e[I]=_e[P]=_e[q]=_e[N]=_e[Z]=_e[ue]=_e[H]=_e[L]=_e[j]=_e[te]=_e[ee]=_e[B]=_e[re]=_e[ce]=_e[we]=!0,_e[Y]=_e[X]=_e[de]=!1;function Oe(Te,Ie,$e,ge,be,Ce){var Le,Ve=Ie&O,qe=Ie&m,Ge=Ie&k;if($e&&(Le=be?$e(Te,ge,be,Ce):$e(Te)),Le!==void 0)return Le;if(!b(Te))return Te;var ct=E(Te);if(ct){if(Le=p(Te),!Ve)return a(Te,Le)}else{var jt=h(Te),zt=jt==X||jt==J;if(_(Te))return o(Te,Ve);if(jt==H||jt==D||zt&&!be){if(Le=qe||zt?{}:S(Te),!Ve)return qe?l(Te,i(Le,Te)):s(Te,n(Le,Te))}else{if(!_e[jt])return be?Te:{};Le=g(Te,jt,Ve)}}Ce||(Ce=new e);var Ze=Ce.get(Te);if(Ze)return Ze;Ce.set(Te,Le),x(Te)?Te.forEach(function(st){Le.add(Oe(st,Ie,$e,st,Te,Ce))}):w(Te)&&Te.forEach(function(st,rt){Le.set(rt,Oe(st,Ie,$e,rt,Te,Ce))});var Tt=Ge?qe?d:c:qe?R:A,_t=ct?void 0:Tt(Te);return t(_t||Te,function(st,rt){_t&&(rt=st,st=Te[rt]),r(Le,rt,Oe(st,Ie,$e,rt,Te,Ce))}),Le}return FR=Oe,FR}var jR,hY;function hbe(){if(hY)return jR;hY=1;var e=dbe(),t=1,r=4;function n(i){return e(i,t|r)}return jR=n,jR}var pbe=hbe();const vbe=jn(pbe);var UR,pY;function d3(){if(pY)return UR;pY=1;var e=vv(),t=dh(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return UR=n,UR}var qR,vY;function gbe(){if(vY)return qR;vY=1;var e=hh(),t=d3(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(o,a){if(e(o))return!1;var s=typeof o;return s=="number"||s=="symbol"||s=="boolean"||o==null||t(o)?!0:n.test(o)||!r.test(o)||a!=null&&o in Object(a)}return qR=i,qR}var VR,gY;function mbe(){if(gY)return VR;gY=1;var e=Ine(),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,s=i?i.apply(this,a):a[0],l=o.cache;if(l.has(s))return l.get(s);var c=n.apply(this,a);return o.cache=l.set(s,c)||l,c};return o.cache=new(r.Cache||e),o}return r.Cache=e,VR=r,VR}var HR,mY;function ybe(){if(mY)return HR;mY=1;var e=mbe(),t=500;function r(n){var i=e(n,function(a){return o.size===t&&o.clear(),a}),o=i.cache;return i}return HR=r,HR}var BR,yY;function _be(){if(yY)return BR;yY=1;var e=ybe(),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,s,l,c){o.push(l?c.replace(r,"$1"):s||a)}),o});return BR=n,BR}var zR,_Y;function Sbe(){if(_Y)return zR;_Y=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 zR=e,zR}var WR,SY;function Ebe(){if(SY)return WR;SY=1;var e=m1(),t=Sbe(),r=hh(),n=d3(),i=e?e.prototype:void 0,o=i?i.toString:void 0;function a(s){if(typeof s=="string")return s;if(r(s))return t(s,a)+"";if(n(s))return o?o.call(s):"";var l=s+"";return l=="0"&&1/s==-1/0?"-0":l}return WR=a,WR}var GR,EY;function wbe(){if(EY)return GR;EY=1;var e=Ebe();function t(r){return r==null?"":e(r)}return GR=t,GR}var KR,wY;function bbe(){if(wY)return KR;wY=1;var e=hh(),t=gbe(),r=_be(),n=wbe();function i(o,a){return e(o)?o:t(o,a)?[o]:r(n(o))}return KR=i,KR}var YR,bY;function Cbe(){if(bY)return YR;bY=1;var e=d3();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return YR=t,YR}var XR,CY;function Tbe(){if(CY)return XR;CY=1;var e=bbe(),t=Cbe();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 XR=r,XR}var QR,TY;function Abe(){if(TY)return QR;TY=1;var e=Tbe();function t(r,n,i){var o=r==null?void 0:e(r,n);return o===void 0?i:o}return QR=t,QR}var Rbe=Abe();const xbe=jn(Rbe),oa={isEmpty(e){return Rp(e)},values(e){return rc(e)},keys(e){return Zi(e)},deepClone(e){return vbe(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Is(e)},isEqual(e,t){return ere(e,t)},omit(e,t){return o1(e,t)},pick(e,t){return HP(e,t)},removeEmptyKeys(e){return Object.entries(e).filter(([,t])=>t!=null).reduce((t,[r,n])=>({...t,[r]:n}),{})},flattenObjectToString(e,t="",r=","){return Object.keys(e).sort().map(n=>{const i=t?`${t}.${n}`:n;return typeof e[n]=="object"&&!Array.isArray(e[n])?oa.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return xbe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function Obe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=qm(t[e],t,r,n);return Object.assign(r[e],i),oa.isEmpty(r[e])?(delete r[e],e):oa.omit(r[e],["__modifyCount"])}function qm(e,t,r,n){if(!e)return e;if(typeof e=="string")return Obe(e,t,r,n);if(Array.isArray(e))return e.map(i=>qm(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]=qm(e[o],t,r,n)}),i}return e}function h3(e,t){return qm(e,t,{},new WeakMap)}var me=Mo();const Xt=jn(me);var ZR={exports:{}},JR={};/**
|
|
69
|
+
* @license React
|
|
70
|
+
* use-sync-external-store-shim.production.js
|
|
71
|
+
*
|
|
72
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the MIT license found in the
|
|
75
|
+
* LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/var AY;function Ibe(){if(AY)return JR;AY=1;var e=Mo();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 s(h,p){var g=p(),S=n({inst:{value:g,getSnapshot:p}}),E=S[0].inst,_=S[1];return o(function(){E.value=g,E.getSnapshot=p,l(E)&&_({inst:E})},[h,g,p]),i(function(){return l(E)&&_({inst:E}),h(function(){l(E)&&_({inst:E})})},[h]),a(g),g}function l(h){var p=h.getSnapshot;h=h.value;try{var g=p();return!r(h,g)}catch{return!0}}function c(h,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:s;return JR.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,JR}var RY;function Hne(){return RY||(RY=1,ZR.exports=Ibe()),ZR.exports}Hne();var ex={exports:{}},tx={};/**
|
|
77
|
+
* @license React
|
|
78
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
79
|
+
*
|
|
80
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the MIT license found in the
|
|
83
|
+
* LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/var xY;function Pbe(){if(xY)return tx;xY=1;var e=Mo(),t=Hne();function r(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,o=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return tx.useSyncExternalStoreWithSelector=function(c,d,h,p,g){var S=o(null);if(S.current===null){var E={hasValue:!1,value:null};S.current=E}else E=S.current;S=s(function(){function w(O){if(!b){if(b=!0,x=O,O=p(O),g!==void 0&&E.hasValue){var m=E.value;if(g(m,O))return A=m}return A=O}if(m=A,n(x,O))return m;var k=p(O);return g!==void 0&&g(m,k)?(x=O,m):(x=O,A=k)}var b=!1,x,A,R=h===void 0?null:h;return[function(){return w(d())},R===null?void 0:function(){return w(R())}]},[d,h,p,g]);var _=i(c,S[0],S[1]);return a(function(){E.hasValue=!0,E.value=_},[_]),l(_),_},tx}var OY;function kbe(){return OY||(OY=1,ex.exports=Pbe()),ex.exports}var Dbe=kbe(),rx={exports:{}},_o={},nx={exports:{}},ix={};/**
|
|
85
|
+
* @license React
|
|
86
|
+
* scheduler.production.min.js
|
|
87
|
+
*
|
|
88
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the MIT license found in the
|
|
91
|
+
* LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/var IY;function Lbe(){return IY||(IY=1,(function(e){function t(H,L){var j=H.length;H.push(L);e:for(;0<j;){var te=j-1>>>1,ee=H[te];if(0<i(ee,L))H[te]=L,H[j]=ee,j=te;else break e}}function r(H){return H.length===0?null:H[0]}function n(H){if(H.length===0)return null;var L=H[0],j=H.pop();if(j!==L){H[0]=j;e:for(var te=0,ee=H.length,de=ee>>>1;te<de;){var Se=2*(te+1)-1,Ae=H[Se],se=Se+1,I=H[se];if(0>i(Ae,j))se<ee&&0>i(I,Ae)?(H[te]=I,H[se]=j,te=se):(H[te]=Ae,H[Se]=j,te=Se);else if(se<ee&&0>i(I,j))H[te]=I,H[se]=j,te=se;else break e}}return L}function i(H,L){var j=H.sortIndex-L.sortIndex;return j!==0?j:H.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],d=1,h=null,p=3,g=!1,S=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(H){for(var L=r(c);L!==null;){if(L.callback===null)n(c);else if(L.startTime<=H)n(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=r(c)}}function A(H){if(E=!1,x(H),!S)if(r(l)!==null)S=!0,Z(R);else{var L=r(c);L!==null&&ue(A,L.startTime-H)}}function R(H,L){S=!1,E&&(E=!1,w(k),k=-1),g=!0;var j=p;try{for(x(L),h=r(l);h!==null&&(!(h.expirationTime>L)||H&&!F());){var te=h.callback;if(typeof te=="function"){h.callback=null,p=h.priorityLevel;var ee=te(h.expirationTime<=L);L=e.unstable_now(),typeof ee=="function"?h.callback=ee:h===r(l)&&n(l),x(L)}else n(l);h=r(l)}if(h!==null)var de=!0;else{var Se=r(c);Se!==null&&ue(A,Se.startTime-L),de=!1}return de}finally{h=null,p=j,g=!1}}var O=!1,m=null,k=-1,D=5,V=-1;function F(){return!(e.unstable_now()-V<D)}function G(){if(m!==null){var H=e.unstable_now();V=H;var L=!0;try{L=m(!0,H)}finally{L?Y():(O=!1,m=null)}}else O=!1}var Y;if(typeof b=="function")Y=function(){b(G)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,J=X.port2;X.port1.onmessage=G,Y=function(){J.postMessage(null)}}else Y=function(){_(G,0)};function Z(H){m=H,O||(O=!0,Y())}function ue(H,L){k=_(function(){H(e.unstable_now())},L)}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(H){H.callback=null},e.unstable_continueExecution=function(){S||g||(S=!0,Z(R))},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(H){switch(p){case 1:case 2:case 3:var L=3;break;default:L=p}var j=p;p=L;try{return H()}finally{p=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(H,L){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var j=p;p=H;try{return L()}finally{p=j}},e.unstable_scheduleCallback=function(H,L,j){var te=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?te+j:te):j=te,H){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=j+ee,H={id:d++,callback:L,priorityLevel:H,startTime:j,expirationTime:ee,sortIndex:-1},j>te?(H.sortIndex=j,t(c,H),r(l)===null&&H===r(c)&&(E?(w(k),k=-1):E=!0,ue(A,j-te))):(H.sortIndex=ee,t(l,H),S||g||(S=!0,Z(R))),H},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(H){var L=p;return function(){var j=p;p=L;try{return H.apply(this,arguments)}finally{p=j}}}})(ix)),ix}var PY;function Nbe(){return PY||(PY=1,nx.exports=Lbe()),nx.exports}/**
|
|
93
|
+
* @license React
|
|
94
|
+
* react-dom.production.min.js
|
|
95
|
+
*
|
|
96
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the MIT license found in the
|
|
99
|
+
* LICENSE file in the root directory of this source tree.
|
|
100
|
+
*/var kY;function Mbe(){if(kY)return _o;kY=1;var e=Mo(),t=Nbe();function r(u){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+u,v=1;v<arguments.length;v++)f+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+u+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function o(u,f){a(u,f),a(u+"Capture",f)}function a(u,f){for(i[u]=f,u=0;u<f.length;u++)n.add(f[u])}var s=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function p(u){return l.call(h,u)?!0:l.call(d,u)?!1:c.test(u)?h[u]=!0:(d[u]=!0,!1)}function g(u,f,v,C){if(v!==null&&v.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return C?!1:v!==null?!v.acceptsBooleans:(u=u.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-");default:return!1}}function S(u,f,v,C){if(f===null||typeof f>"u"||g(u,f,v,C))return!0;if(C)return!1;if(v!==null)switch(v.type){case 3:return!f;case 4:return f===!1;case 5:return isNaN(f);case 6:return isNaN(f)||1>f}return!1}function E(u,f,v,C,$,Q,ye){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=C,this.attributeNamespace=$,this.mustUseProperty=v,this.propertyName=u,this.type=f,this.sanitizeURL=Q,this.removeEmptyString=ye}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){_[u]=new E(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var f=u[0];_[f]=new E(f,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){_[u]=new E(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){_[u]=new E(u,2,!1,u,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(u){_[u]=new E(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){_[u]=new E(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){_[u]=new E(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){_[u]=new E(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){_[u]=new E(u,5,!1,u.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function b(u){return u[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(u){var f=u.replace(w,b);_[f]=new E(f,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var f=u.replace(w,b);_[f]=new E(f,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var f=u.replace(w,b);_[f]=new E(f,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){_[u]=new E(u,1,!1,u.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(u){_[u]=new E(u,1,!1,u.toLowerCase(),null,!0,!0)});function x(u,f,v,C){var $=_.hasOwnProperty(f)?_[f]:null;($!==null?$.type!==0:C||!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(S(f,v,$,C)&&(v=null),C||$===null?p(f)&&(v===null?u.removeAttribute(f):u.setAttribute(f,""+v)):$.mustUseProperty?u[$.propertyName]=v===null?$.type===3?!1:"":v:(f=$.attributeName,C=$.attributeNamespace,v===null?u.removeAttribute(f):($=$.type,v=$===3||$===4&&v===!0?"":""+v,C?u.setAttributeNS(C,f,v):u.setAttribute(f,v))))}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),O=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),F=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),H=Symbol.iterator;function L(u){return u===null||typeof u!="object"?null:(u=H&&u[H]||u["@@iterator"],typeof u=="function"?u:null)}var j=Object.assign,te;function ee(u){if(te===void 0)try{throw Error()}catch(v){var f=v.stack.trim().match(/\n( *(at )?)/);te=f&&f[1]||""}return`
|
|
101
|
+
`+te+u}var de=!1;function Se(u,f){if(!u||de)return"";de=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(mt){var C=mt}Reflect.construct(u,[],f)}else{try{f.call()}catch(mt){C=mt}u.call(f.prototype)}else{try{throw Error()}catch(mt){C=mt}u()}}catch(mt){if(mt&&C&&typeof mt.stack=="string"){for(var $=mt.stack.split(`
|
|
102
|
+
`),Q=C.stack.split(`
|
|
103
|
+
`),ye=$.length-1,ke=Q.length-1;1<=ye&&0<=ke&&$[ye]!==Q[ke];)ke--;for(;1<=ye&&0<=ke;ye--,ke--)if($[ye]!==Q[ke]){if(ye!==1||ke!==1)do if(ye--,ke--,0>ke||$[ye]!==Q[ke]){var Be=`
|
|
104
|
+
`+$[ye].replace(" at new "," at ");return u.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",u.displayName)),Be}while(1<=ye&&0<=ke);break}}}finally{de=!1,Error.prepareStackTrace=v}return(u=u?u.displayName||u.name:"")?ee(u):""}function Ae(u){switch(u.tag){case 5:return ee(u.type);case 16:return ee("Lazy");case 13:return ee("Suspense");case 19:return ee("SuspenseList");case 0:case 2:case 15:return u=Se(u.type,!1),u;case 11:return u=Se(u.type.render,!1),u;case 1:return u=Se(u.type,!0),u;default:return""}}function se(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case m:return"Fragment";case O:return"Portal";case D:return"Profiler";case k:return"StrictMode";case Y:return"Suspense";case X:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case F:return(u.displayName||"Context")+".Consumer";case V:return(u._context.displayName||"Context")+".Provider";case G:var f=u.render;return u=u.displayName,u||(u=f.displayName||f.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case J:return f=u.displayName||null,f!==null?f:se(u.type)||"Memo";case Z:f=u._payload,u=u._init;try{return se(u(f))}catch{}}return null}function I(u){var f=u.type;switch(u.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=f.render,u=u.displayName||u.name||"",f.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(f);case 8:return f===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function P(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function q(u){var f=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function N(u){var f=q(u)?"checked":"value",v=Object.getOwnPropertyDescriptor(u.constructor.prototype,f),C=""+u[f];if(!u.hasOwnProperty(f)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var $=v.get,Q=v.set;return Object.defineProperty(u,f,{configurable:!0,get:function(){return $.call(this)},set:function(ye){C=""+ye,Q.call(this,ye)}}),Object.defineProperty(u,f,{enumerable:v.enumerable}),{getValue:function(){return C},setValue:function(ye){C=""+ye},stopTracking:function(){u._valueTracker=null,delete u[f]}}}}function B(u){u._valueTracker||(u._valueTracker=N(u))}function re(u){if(!u)return!1;var f=u._valueTracker;if(!f)return!0;var v=f.getValue(),C="";return u&&(C=q(u)?u.checked?"true":"false":u.value),u=C,u!==v?(f.setValue(u),!0):!1}function ce(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function we(u,f){var v=f.checked;return j({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??u._wrapperState.initialChecked})}function _e(u,f){var v=f.defaultValue==null?"":f.defaultValue,C=f.checked!=null?f.checked:f.defaultChecked;v=P(f.value!=null?f.value:v),u._wrapperState={initialChecked:C,initialValue:v,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function Oe(u,f){f=f.checked,f!=null&&x(u,"checked",f,!1)}function Te(u,f){Oe(u,f);var v=P(f.value),C=f.type;if(v!=null)C==="number"?(v===0&&u.value===""||u.value!=v)&&(u.value=""+v):u.value!==""+v&&(u.value=""+v);else if(C==="submit"||C==="reset"){u.removeAttribute("value");return}f.hasOwnProperty("value")?$e(u,f.type,v):f.hasOwnProperty("defaultValue")&&$e(u,f.type,P(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(u.defaultChecked=!!f.defaultChecked)}function Ie(u,f,v){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var C=f.type;if(!(C!=="submit"&&C!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+u._wrapperState.initialValue,v||f===u.value||(u.value=f),u.defaultValue=f}v=u.name,v!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,v!==""&&(u.name=v)}function $e(u,f,v){(f!=="number"||ce(u.ownerDocument)!==u)&&(v==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+v&&(u.defaultValue=""+v))}var ge=Array.isArray;function be(u,f,v,C){if(u=u.options,f){f={};for(var $=0;$<v.length;$++)f["$"+v[$]]=!0;for(v=0;v<u.length;v++)$=f.hasOwnProperty("$"+u[v].value),u[v].selected!==$&&(u[v].selected=$),$&&C&&(u[v].defaultSelected=!0)}else{for(v=""+P(v),f=null,$=0;$<u.length;$++){if(u[$].value===v){u[$].selected=!0,C&&(u[$].defaultSelected=!0);return}f!==null||u[$].disabled||(f=u[$])}f!==null&&(f.selected=!0)}}function Ce(u,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return j({},f,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function Le(u,f){var v=f.value;if(v==null){if(v=f.children,f=f.defaultValue,v!=null){if(f!=null)throw Error(r(92));if(ge(v)){if(1<v.length)throw Error(r(93));v=v[0]}f=v}f==null&&(f=""),v=f}u._wrapperState={initialValue:P(v)}}function Ve(u,f){var v=P(f.value),C=P(f.defaultValue);v!=null&&(v=""+v,v!==u.value&&(u.value=v),f.defaultValue==null&&u.defaultValue!==v&&(u.defaultValue=v)),C!=null&&(u.defaultValue=""+C)}function qe(u){var f=u.textContent;f===u._wrapperState.initialValue&&f!==""&&f!==null&&(u.value=f)}function Ge(u){switch(u){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ct(u,f){return u==null||u==="http://www.w3.org/1999/xhtml"?Ge(f):u==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var jt,zt=(function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,v,C,$){MSApp.execUnsafeLocalFunction(function(){return u(f,v,C,$)})}:u})(function(u,f){if(u.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in u)u.innerHTML=f;else{for(jt=jt||document.createElement("div"),jt.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=jt.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;f.firstChild;)u.appendChild(f.firstChild)}});function Ze(u,f){if(f){var v=u.firstChild;if(v&&v===u.lastChild&&v.nodeType===3){v.nodeValue=f;return}}u.textContent=f}var Tt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_t=["Webkit","ms","Moz","O"];Object.keys(Tt).forEach(function(u){_t.forEach(function(f){f=f+u.charAt(0).toUpperCase()+u.substring(1),Tt[f]=Tt[u]})});function st(u,f,v){return f==null||typeof f=="boolean"||f===""?"":v||typeof f!="number"||f===0||Tt.hasOwnProperty(u)&&Tt[u]?(""+f).trim():f+"px"}function rt(u,f){u=u.style;for(var v in f)if(f.hasOwnProperty(v)){var C=v.indexOf("--")===0,$=st(v,f[v],C);v==="float"&&(v="cssFloat"),C?u.setProperty(v,$):u[v]=$}}var dt=j({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 Gt(u,f){if(f){if(dt[u]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,u));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function Mt(u,f){if(u.indexOf("-")===-1)return typeof f.is=="string";switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Re=null;function Je(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var ut=null,wt=null,Nt=null;function nr(u){if(u=Rh(u)){if(typeof ut!="function")throw Error(r(280));var f=u.stateNode;f&&(f=Dv(f),ut(u.stateNode,u.type,f))}}function yr(u){wt?Nt?Nt.push(u):Nt=[u]:wt=u}function ir(){if(wt){var u=wt,f=Nt;if(Nt=wt=null,nr(u),f)for(u=0;u<f.length;u++)nr(f[u])}}function wr(u,f){return u(f)}function Ur(){}var Wr=!1;function Un(u,f,v){if(Wr)return u(f,v);Wr=!0;try{return wr(u,f,v)}finally{Wr=!1,(wt!==null||Nt!==null)&&(Ur(),ir())}}function qn(u,f){var v=u.stateNode;if(v===null)return null;var C=Dv(v);if(C===null)return null;v=C[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(C=!C.disabled)||(u=u.type,C=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!C;break e;default:u=!1}if(u)return null;if(v&&typeof v!="function")throw Error(r(231,f,typeof v));return v}var Kn=!1;if(s)try{var En={};Object.defineProperty(En,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{Kn=!1}function ti(u,f,v,C,$,Q,ye,ke,Be){var mt=Array.prototype.slice.call(arguments,3);try{f.apply(v,mt)}catch($t){this.onError($t)}}var si=!1,Si=null,di=!1,$i=null,qi={onError:function(u){si=!0,Si=u}};function xn(u,f,v,C,$,Q,ye,ke,Be){si=!1,Si=null,ti.apply(qi,arguments)}function ri(u,f,v,C,$,Q,ye,ke,Be){if(xn.apply(this,arguments),si){if(si){var mt=Si;si=!1,Si=null}else throw Error(r(198));di||(di=!0,$i=mt)}}function xi(u){var f=u,v=u;if(u.alternate)for(;f.return;)f=f.return;else{u=f;do f=u,(f.flags&4098)!==0&&(v=f.return),u=f.return;while(u)}return f.tag===3?v:null}function Ei(u){if(u.tag===13){var f=u.memoizedState;if(f===null&&(u=u.alternate,u!==null&&(f=u.memoizedState)),f!==null)return f.dehydrated}return null}function ot(u){if(xi(u)!==u)throw Error(r(188))}function Dt(u){var f=u.alternate;if(!f){if(f=xi(u),f===null)throw Error(r(188));return f!==u?null:u}for(var v=u,C=f;;){var $=v.return;if($===null)break;var Q=$.alternate;if(Q===null){if(C=$.return,C!==null){v=C;continue}break}if($.child===Q.child){for(Q=$.child;Q;){if(Q===v)return ot($),u;if(Q===C)return ot($),f;Q=Q.sibling}throw Error(r(188))}if(v.return!==C.return)v=$,C=Q;else{for(var ye=!1,ke=$.child;ke;){if(ke===v){ye=!0,v=$,C=Q;break}if(ke===C){ye=!0,C=$,v=Q;break}ke=ke.sibling}if(!ye){for(ke=Q.child;ke;){if(ke===v){ye=!0,v=Q,C=$;break}if(ke===C){ye=!0,C=Q,v=$;break}ke=ke.sibling}if(!ye)throw Error(r(189))}}if(v.alternate!==C)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?u:f}function gt(u){return u=Dt(u),u!==null?et(u):null}function et(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var f=et(u);if(f!==null)return f;u=u.sibling}return null}var fe=t.unstable_scheduleCallback,nt=t.unstable_cancelCallback,ze=t.unstable_shouldYield,Ct=t.unstable_requestPaint,yt=t.unstable_now,Bt=t.unstable_getCurrentPriorityLevel,Yt=t.unstable_ImmediatePriority,bt=t.unstable_UserBlockingPriority,Ar=t.unstable_NormalPriority,Xr=t.unstable_LowPriority,wn=t.unstable_IdlePriority,Lt=null,Qr=null;function Vn(u){if(Qr&&typeof Qr.onCommitFiberRoot=="function")try{Qr.onCommitFiberRoot(Lt,u,void 0,(u.current.flags&128)===128)}catch{}}var Pn=Math.clz32?Math.clz32:Ji,oo=Math.log,ui=Math.LN2;function Ji(u){return u>>>=0,u===0?32:31-(oo(u)/ui|0)|0}var ea=64,$o=4194304;function Ba(u){switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function Pa(u,f){var v=u.pendingLanes;if(v===0)return 0;var C=0,$=u.suspendedLanes,Q=u.pingedLanes,ye=v&268435455;if(ye!==0){var ke=ye&~$;ke!==0?C=Ba(ke):(Q&=ye,Q!==0&&(C=Ba(Q)))}else ye=v&~$,ye!==0?C=Ba(ye):Q!==0&&(C=Ba(Q));if(C===0)return 0;if(f!==0&&f!==C&&(f&$)===0&&($=C&-C,Q=f&-f,$>=Q||$===16&&(Q&4194240)!==0))return f;if((C&4)!==0&&(C|=v&16),f=u.entangledLanes,f!==0)for(u=u.entanglements,f&=C;0<f;)v=31-Pn(f),$=1<<v,C|=u[v],f&=~$;return C}function z(u,f){switch(u){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function oe(u,f){for(var v=u.suspendedLanes,C=u.pingedLanes,$=u.expirationTimes,Q=u.pendingLanes;0<Q;){var ye=31-Pn(Q),ke=1<<ye,Be=$[ye];Be===-1?((ke&v)===0||(ke&C)!==0)&&($[ye]=z(ke,f)):Be<=f&&(u.expiredLanes|=ke),Q&=~ke}}function Ee(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function je(){var u=ea;return ea<<=1,(ea&4194240)===0&&(ea=64),u}function pt(u){for(var f=[],v=0;31>v;v++)f.push(u);return f}function it(u,f,v){u.pendingLanes|=f,f!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,f=31-Pn(f),u[f]=v}function xt(u,f){var v=u.pendingLanes&~f;u.pendingLanes=f,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=f,u.mutableReadLanes&=f,u.entangledLanes&=f,f=u.entanglements;var C=u.eventTimes;for(u=u.expirationTimes;0<v;){var $=31-Pn(v),Q=1<<$;f[$]=0,C[$]=-1,u[$]=-1,v&=~Q}}function Vt(u,f){var v=u.entangledLanes|=f;for(u=u.entanglements;v;){var C=31-Pn(v),$=1<<C;$&f|u[C]&f&&(u[C]|=f),v&=~$}}var Zt=0;function br(u){return u&=-u,1<u?4<u?(u&268435455)!==0?16:536870912:4:1}var Pr,kn,Oi,Ii,ls,Js=!1,cs=[],za=null,hi=null,ka=null,Wa=new Map,ln=new Map,ua=[],Fo="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jo(u,f){switch(u){case"focusin":case"focusout":za=null;break;case"dragenter":case"dragleave":hi=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":Wa.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":ln.delete(f.pointerId)}}function Wi(u,f,v,C,$,Q){return u===null||u.nativeEvent!==Q?(u={blockedOn:f,domEventName:v,eventSystemFlags:C,nativeEvent:Q,targetContainers:[$]},f!==null&&(f=Rh(f),f!==null&&kn(f)),u):(u.eventSystemFlags|=C,f=u.targetContainers,$!==null&&f.indexOf($)===-1&&f.push($),u)}function Ls(u,f,v,C,$){switch(f){case"focusin":return za=Wi(za,u,f,v,C,$),!0;case"dragenter":return hi=Wi(hi,u,f,v,C,$),!0;case"mouseover":return ka=Wi(ka,u,f,v,C,$),!0;case"pointerover":var Q=$.pointerId;return Wa.set(Q,Wi(Wa.get(Q)||null,u,f,v,C,$)),!0;case"gotpointercapture":return Q=$.pointerId,ln.set(Q,Wi(ln.get(Q)||null,u,f,v,C,$)),!0}return!1}function Ga(u){var f=fc(u.target);if(f!==null){var v=xi(f);if(v!==null){if(f=v.tag,f===13){if(f=Ei(v),f!==null){u.blockedOn=f,ls(u.priority,function(){Oi(v)});return}}else if(f===3&&v.stateNode.current.memoizedState.isDehydrated){u.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}u.blockedOn=null}function fs(u){if(u.blockedOn!==null)return!1;for(var f=u.targetContainers;0<f.length;){var v=Ms(u.domEventName,u.eventSystemFlags,f[0],u.nativeEvent);if(v===null){v=u.nativeEvent;var C=new v.constructor(v.type,v);Re=C,v.target.dispatchEvent(C),Re=null}else return f=Rh(v),f!==null&&kn(f),u.blockedOn=v,!1;f.shift()}return!0}function Ns(u,f,v){fs(u)&&v.delete(f)}function Cu(){Js=!1,za!==null&&fs(za)&&(za=null),hi!==null&&fs(hi)&&(hi=null),ka!==null&&fs(ka)&&(ka=null),Wa.forEach(Ns),ln.forEach(Ns)}function Ka(u,f){u.blockedOn===f&&(u.blockedOn=null,Js||(Js=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Cu)))}function so(u){function f($){return Ka($,u)}if(0<cs.length){Ka(cs[0],u);for(var v=1;v<cs.length;v++){var C=cs[v];C.blockedOn===u&&(C.blockedOn=null)}}for(za!==null&&Ka(za,u),hi!==null&&Ka(hi,u),ka!==null&&Ka(ka,u),Wa.forEach(f),ln.forEach(f),v=0;v<ua.length;v++)C=ua[v],C.blockedOn===u&&(C.blockedOn=null);for(;0<ua.length&&(v=ua[0],v.blockedOn===null);)Ga(v),v.blockedOn===null&&ua.shift()}var Fi=A.ReactCurrentBatchConfig,la=!0;function Tu(u,f,v,C){var $=Zt,Q=Fi.transition;Fi.transition=null;try{Zt=1,qo(u,f,v,C)}finally{Zt=$,Fi.transition=Q}}function Uo(u,f,v,C){var $=Zt,Q=Fi.transition;Fi.transition=null;try{Zt=4,qo(u,f,v,C)}finally{Zt=$,Fi.transition=Q}}function qo(u,f,v,C){if(la){var $=Ms(u,f,v,C);if($===null)z1(u,f,C,ca,v),jo(u,C);else if(Ls($,u,f,v,C))C.stopPropagation();else if(jo(u,C),f&4&&-1<Fo.indexOf(u)){for(;$!==null;){var Q=Rh($);if(Q!==null&&Pr(Q),Q=Ms(u,f,v,C),Q===null&&z1(u,f,C,ca,v),Q===$)break;$=Q}$!==null&&C.stopPropagation()}else z1(u,f,C,null,v)}}var ca=null;function Ms(u,f,v,C){if(ca=null,u=Je(C),u=fc(u),u!==null)if(f=xi(u),f===null)u=null;else if(v=f.tag,v===13){if(u=Ei(f),u!==null)return u;u=null}else if(v===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;u=null}else f!==u&&(u=null);return ca=u,null}function Au(u){switch(u){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Bt()){case Yt:return 1;case bt:return 4;case Ar:case Xr:return 16;case wn:return 536870912;default:return 16}default:return 16}}var Pi=null,fa=null,uo=null;function Vo(){if(uo)return uo;var u,f=fa,v=f.length,C,$="value"in Pi?Pi.value:Pi.textContent,Q=$.length;for(u=0;u<v&&f[u]===$[u];u++);var ye=v-u;for(C=1;C<=ye&&f[v-C]===$[Q-C];C++);return uo=$.slice(u,1<C?1-C:void 0)}function lo(u){var f=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&f===13&&(u=13)):u=f,u===10&&(u=13),32<=u||u===13?u:0}function co(){return!0}function y(){return!1}function T(u){function f(v,C,$,Q,ye){this._reactName=v,this._targetInst=$,this.type=C,this.nativeEvent=Q,this.target=ye,this.currentTarget=null;for(var ke in u)u.hasOwnProperty(ke)&&(v=u[ke],this[ke]=v?v(Q):Q[ke]);return this.isDefaultPrevented=(Q.defaultPrevented!=null?Q.defaultPrevented:Q.returnValue===!1)?co:y,this.isPropagationStopped=y,this}return j(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=co)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=co)},persist:function(){},isPersistent:co}),f}var M={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},K=T(M),ie=j({},M,{view:0,detail:0}),le=T(ie),he,Fe,De,Ke=j({},ie,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ot,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==De&&(De&&u.type==="mousemove"?(he=u.screenX-De.screenX,Fe=u.screenY-De.screenY):Fe=he=0,De=u),he)},movementY:function(u){return"movementY"in u?u.movementY:Fe}}),Et=T(Ke),Rt=j({},Ke,{dataTransfer:0}),ft=T(Rt),Ft=j({},ie,{relatedTarget:0}),Rr=T(Ft),en=j({},M,{animationName:0,elapsedTime:0,pseudoElement:0}),qr=T(en),Yn=j({},M,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),li=T(Yn),W=j({},M,{data:0}),ae=T(W),ve={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ne={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Qe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tt(u){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(u):(u=Qe[u])?!!f[u]:!1}function Ot(){return tt}var Ht=j({},ie,{key:function(u){if(u.key){var f=ve[u.key]||u.key;if(f!=="Unidentified")return f}return u.type==="keypress"?(u=lo(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?Ne[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ot,charCode:function(u){return u.type==="keypress"?lo(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?lo(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),gr=T(Ht),Vr=j({},Ke,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xr=T(Vr),On=j({},ie,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ot}),ni=T(On),Dn=j({},M,{propertyName:0,elapsedTime:0,pseudoElement:0}),lc=T(Dn),Ya=j({},Ke,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),ne=T(Ya),pe=[9,13,27,32],Pe=s&&"CompositionEvent"in window,Me=null;s&&"documentMode"in document&&(Me=document.documentMode);var He=s&&"TextEvent"in window&&!Me,Ye=s&&(!Pe||Me&&8<Me&&11>=Me),At=" ",Kt=!1;function Hr(u,f){switch(u){case"keyup":return pe.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mr(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Xn=!1;function pi(u,f){switch(u){case"compositionend":return Mr(f);case"keypress":return f.which!==32?null:(Kt=!0,At);case"textInput":return u=f.data,u===At&&Kt?null:u;default:return null}}function hl(u,f){if(Xn)return u==="compositionend"||!Pe&&Hr(u,f)?(u=Vo(),uo=fa=Pi=null,Xn=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ye&&f.locale!=="ko"?null:f.data;default:return null}}var Ho={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _h(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f==="input"?!!Ho[u.type]:f==="textarea"}function pl(u,f,v,C){yr(C),f=Iv(f,"onChange"),0<f.length&&(v=new K("onChange","change",null,v,C),u.push({event:v,listeners:f}))}var eu=null,tu=null;function Sh(u){bk(u,0)}function Lf(u){var f=qf(u);if(re(f))return u}function Nf(u,f){if(u==="change")return f}var Mf=!1;if(s){var cc;if(s){var Eh="oninput"in document;if(!Eh){var $f=document.createElement("div");$f.setAttribute("oninput","return;"),Eh=typeof $f.oninput=="function"}cc=Eh}else cc=!1;Mf=cc&&(!document.documentMode||9<document.documentMode)}function wh(){eu&&(eu.detachEvent("onpropertychange",xe),tu=eu=null)}function xe(u){if(u.propertyName==="value"&&Lf(tu)){var f=[];pl(f,tu,u,Je(u)),Un(Sh,f)}}function We(u,f,v){u==="focusin"?(wh(),eu=f,tu=v,eu.attachEvent("onpropertychange",xe)):u==="focusout"&&wh()}function ht(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return Lf(tu)}function St(u,f){if(u==="click")return Lf(f)}function Pt(u,f){if(u==="input"||u==="change")return Lf(f)}function Jt(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var tr=typeof Object.is=="function"?Object.is:Jt;function cr(u,f){if(tr(u,f))return!0;if(typeof u!="object"||u===null||typeof f!="object"||f===null)return!1;var v=Object.keys(u),C=Object.keys(f);if(v.length!==C.length)return!1;for(C=0;C<v.length;C++){var $=v[C];if(!l.call(f,$)||!tr(u[$],f[$]))return!1}return!0}function sr(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function an(u,f){var v=sr(u);u=0;for(var C;v;){if(v.nodeType===3){if(C=u+v.textContent.length,u<=f&&C>=f)return{node:v,offset:f-u};u=C}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=sr(v)}}function $r(u,f){return u&&f?u===f?!0:u&&u.nodeType===3?!1:f&&f.nodeType===3?$r(u,f.parentNode):"contains"in u?u.contains(f):u.compareDocumentPosition?!!(u.compareDocumentPosition(f)&16):!1:!1}function Br(){for(var u=window,f=ce();f instanceof u.HTMLIFrameElement;){try{var v=typeof f.contentWindow.location.href=="string"}catch{v=!1}if(v)u=f.contentWindow;else break;f=ce(u.document)}return f}function rn(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f&&(f==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||f==="textarea"||u.contentEditable==="true")}function Or(u){var f=Br(),v=u.focusedElem,C=u.selectionRange;if(f!==v&&v&&v.ownerDocument&&$r(v.ownerDocument.documentElement,v)){if(C!==null&&rn(v)){if(f=C.start,u=C.end,u===void 0&&(u=f),"selectionStart"in v)v.selectionStart=f,v.selectionEnd=Math.min(u,v.value.length);else if(u=(f=v.ownerDocument||document)&&f.defaultView||window,u.getSelection){u=u.getSelection();var $=v.textContent.length,Q=Math.min(C.start,$);C=C.end===void 0?Q:Math.min(C.end,$),!u.extend&&Q>C&&($=C,C=Q,Q=$),$=an(v,Q);var ye=an(v,C);$&&ye&&(u.rangeCount!==1||u.anchorNode!==$.node||u.anchorOffset!==$.offset||u.focusNode!==ye.node||u.focusOffset!==ye.offset)&&(f=f.createRange(),f.setStart($.node,$.offset),u.removeAllRanges(),Q>C?(u.addRange(f),u.extend(ye.node,ye.offset)):(f.setEnd(ye.node,ye.offset),u.addRange(f)))}}for(f=[],u=v;u=u.parentNode;)u.nodeType===1&&f.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<f.length;v++)u=f[v],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var Qn=s&&"documentMode"in document&&11>=document.documentMode,Vi=null,Gi=null,da=null,fo=!1;function Ru(u,f,v){var C=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;fo||Vi==null||Vi!==ce(C)||(C=Vi,"selectionStart"in C&&rn(C)?C={start:C.selectionStart,end:C.selectionEnd}:(C=(C.ownerDocument&&C.ownerDocument.defaultView||window).getSelection(),C={anchorNode:C.anchorNode,anchorOffset:C.anchorOffset,focusNode:C.focusNode,focusOffset:C.focusOffset}),da&&cr(da,C)||(da=C,C=Iv(Gi,"onSelect"),0<C.length&&(f=new K("onSelect","select",null,f,v),u.push({event:f,listeners:C}),f.target=Vi)))}function Ki(u,f){var v={};return v[u.toLowerCase()]=f.toLowerCase(),v["Webkit"+u]="webkit"+f,v["Moz"+u]="moz"+f,v}var Ff={animationend:Ki("Animation","AnimationEnd"),animationiteration:Ki("Animation","AnimationIteration"),animationstart:Ki("Animation","AnimationStart"),transitionend:Ki("Transition","TransitionEnd")},q1={},vk={};s&&(vk=document.createElement("div").style,"AnimationEvent"in window||(delete Ff.animationend.animation,delete Ff.animationiteration.animation,delete Ff.animationstart.animation),"TransitionEvent"in window||delete Ff.transitionend.transition);function xv(u){if(q1[u])return q1[u];if(!Ff[u])return u;var f=Ff[u],v;for(v in f)if(f.hasOwnProperty(v)&&v in vk)return q1[u]=f[v];return u}var gk=xv("animationend"),mk=xv("animationiteration"),yk=xv("animationstart"),_k=xv("transitionend"),Sk=new Map,Ek="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 vl(u,f){Sk.set(u,f),o(f,[u])}for(var V1=0;V1<Ek.length;V1++){var H1=Ek[V1],ise=H1.toLowerCase(),ase=H1[0].toUpperCase()+H1.slice(1);vl(ise,"on"+ase)}vl(gk,"onAnimationEnd"),vl(mk,"onAnimationIteration"),vl(yk,"onAnimationStart"),vl("dblclick","onDoubleClick"),vl("focusin","onFocus"),vl("focusout","onBlur"),vl(_k,"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 bh="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(" "),ose=new Set("cancel close invalid load scroll toggle".split(" ").concat(bh));function wk(u,f,v){var C=u.type||"unknown-event";u.currentTarget=v,ri(C,f,void 0,u),u.currentTarget=null}function bk(u,f){f=(f&4)!==0;for(var v=0;v<u.length;v++){var C=u[v],$=C.event;C=C.listeners;e:{var Q=void 0;if(f)for(var ye=C.length-1;0<=ye;ye--){var ke=C[ye],Be=ke.instance,mt=ke.currentTarget;if(ke=ke.listener,Be!==Q&&$.isPropagationStopped())break e;wk($,ke,mt),Q=Be}else for(ye=0;ye<C.length;ye++){if(ke=C[ye],Be=ke.instance,mt=ke.currentTarget,ke=ke.listener,Be!==Q&&$.isPropagationStopped())break e;wk($,ke,mt),Q=Be}}}if(di)throw u=$i,di=!1,$i=null,u}function vi(u,f){var v=f[Q1];v===void 0&&(v=f[Q1]=new Set);var C=u+"__bubble";v.has(C)||(Ck(f,u,2,!1),v.add(C))}function B1(u,f,v){var C=0;f&&(C|=4),Ck(v,u,C,f)}var Ov="_reactListening"+Math.random().toString(36).slice(2);function Ch(u){if(!u[Ov]){u[Ov]=!0,n.forEach(function(v){v!=="selectionchange"&&(ose.has(v)||B1(v,!1,u),B1(v,!0,u))});var f=u.nodeType===9?u:u.ownerDocument;f===null||f[Ov]||(f[Ov]=!0,B1("selectionchange",!1,f))}}function Ck(u,f,v,C){switch(Au(f)){case 1:var $=Tu;break;case 4:$=Uo;break;default:$=qo}v=$.bind(null,f,v,u),$=void 0,!Kn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||($=!0),C?$!==void 0?u.addEventListener(f,v,{capture:!0,passive:$}):u.addEventListener(f,v,!0):$!==void 0?u.addEventListener(f,v,{passive:$}):u.addEventListener(f,v,!1)}function z1(u,f,v,C,$){var Q=C;if((f&1)===0&&(f&2)===0&&C!==null)e:for(;;){if(C===null)return;var ye=C.tag;if(ye===3||ye===4){var ke=C.stateNode.containerInfo;if(ke===$||ke.nodeType===8&&ke.parentNode===$)break;if(ye===4)for(ye=C.return;ye!==null;){var Be=ye.tag;if((Be===3||Be===4)&&(Be=ye.stateNode.containerInfo,Be===$||Be.nodeType===8&&Be.parentNode===$))return;ye=ye.return}for(;ke!==null;){if(ye=fc(ke),ye===null)return;if(Be=ye.tag,Be===5||Be===6){C=Q=ye;continue e}ke=ke.parentNode}}C=C.return}Un(function(){var mt=Q,$t=Je(v),or=[];e:{var kt=Sk.get(u);if(kt!==void 0){var lr=K,rr=u;switch(u){case"keypress":if(lo(v)===0)break e;case"keydown":case"keyup":lr=gr;break;case"focusin":rr="focus",lr=Rr;break;case"focusout":rr="blur",lr=Rr;break;case"beforeblur":case"afterblur":lr=Rr;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":lr=Et;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":lr=ft;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":lr=ni;break;case gk:case mk:case yk:lr=qr;break;case _k:lr=lc;break;case"scroll":lr=le;break;case"wheel":lr=ne;break;case"copy":case"cut":case"paste":lr=li;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":lr=xr}var Zr=(f&4)!==0,Hi=!Zr&&u==="scroll",lt=Zr?kt!==null?kt+"Capture":null:kt;Zr=[];for(var Xe=mt,vt;Xe!==null;){vt=Xe;var Qt=vt.stateNode;if(vt.tag===5&&Qt!==null&&(vt=Qt,lt!==null&&(Qt=qn(Xe,lt),Qt!=null&&Zr.push(Th(Xe,Qt,vt)))),Hi)break;Xe=Xe.return}0<Zr.length&&(kt=new lr(kt,rr,null,v,$t),or.push({event:kt,listeners:Zr}))}}if((f&7)===0){e:{if(kt=u==="mouseover"||u==="pointerover",lr=u==="mouseout"||u==="pointerout",kt&&v!==Re&&(rr=v.relatedTarget||v.fromElement)&&(fc(rr)||rr[Ou]))break e;if((lr||kt)&&(kt=$t.window===$t?$t:(kt=$t.ownerDocument)?kt.defaultView||kt.parentWindow:window,lr?(rr=v.relatedTarget||v.toElement,lr=mt,rr=rr?fc(rr):null,rr!==null&&(Hi=xi(rr),rr!==Hi||rr.tag!==5&&rr.tag!==6)&&(rr=null)):(lr=null,rr=mt),lr!==rr)){if(Zr=Et,Qt="onMouseLeave",lt="onMouseEnter",Xe="mouse",(u==="pointerout"||u==="pointerover")&&(Zr=xr,Qt="onPointerLeave",lt="onPointerEnter",Xe="pointer"),Hi=lr==null?kt:qf(lr),vt=rr==null?kt:qf(rr),kt=new Zr(Qt,Xe+"leave",lr,v,$t),kt.target=Hi,kt.relatedTarget=vt,Qt=null,fc($t)===mt&&(Zr=new Zr(lt,Xe+"enter",rr,v,$t),Zr.target=vt,Zr.relatedTarget=Hi,Qt=Zr),Hi=Qt,lr&&rr)t:{for(Zr=lr,lt=rr,Xe=0,vt=Zr;vt;vt=jf(vt))Xe++;for(vt=0,Qt=lt;Qt;Qt=jf(Qt))vt++;for(;0<Xe-vt;)Zr=jf(Zr),Xe--;for(;0<vt-Xe;)lt=jf(lt),vt--;for(;Xe--;){if(Zr===lt||lt!==null&&Zr===lt.alternate)break t;Zr=jf(Zr),lt=jf(lt)}Zr=null}else Zr=null;lr!==null&&Tk(or,kt,lr,Zr,!1),rr!==null&&Hi!==null&&Tk(or,Hi,rr,Zr,!0)}}e:{if(kt=mt?qf(mt):window,lr=kt.nodeName&&kt.nodeName.toLowerCase(),lr==="select"||lr==="input"&&kt.type==="file")var hr=Nf;else if(_h(kt))if(Mf)hr=Pt;else{hr=ht;var Lr=We}else(lr=kt.nodeName)&&lr.toLowerCase()==="input"&&(kt.type==="checkbox"||kt.type==="radio")&&(hr=St);if(hr&&(hr=hr(u,mt))){pl(or,hr,v,$t);break e}Lr&&Lr(u,kt,mt),u==="focusout"&&(Lr=kt._wrapperState)&&Lr.controlled&&kt.type==="number"&&$e(kt,"number",kt.value)}switch(Lr=mt?qf(mt):window,u){case"focusin":(_h(Lr)||Lr.contentEditable==="true")&&(Vi=Lr,Gi=mt,da=null);break;case"focusout":da=Gi=Vi=null;break;case"mousedown":fo=!0;break;case"contextmenu":case"mouseup":case"dragend":fo=!1,Ru(or,v,$t);break;case"selectionchange":if(Qn)break;case"keydown":case"keyup":Ru(or,v,$t)}var Nr;if(Pe)e:{switch(u){case"compositionstart":var zr="onCompositionStart";break e;case"compositionend":zr="onCompositionEnd";break e;case"compositionupdate":zr="onCompositionUpdate";break e}zr=void 0}else Xn?Hr(u,v)&&(zr="onCompositionEnd"):u==="keydown"&&v.keyCode===229&&(zr="onCompositionStart");zr&&(Ye&&v.locale!=="ko"&&(Xn||zr!=="onCompositionStart"?zr==="onCompositionEnd"&&Xn&&(Nr=Vo()):(Pi=$t,fa="value"in Pi?Pi.value:Pi.textContent,Xn=!0)),Lr=Iv(mt,zr),0<Lr.length&&(zr=new ae(zr,u,null,v,$t),or.push({event:zr,listeners:Lr}),Nr?zr.data=Nr:(Nr=Mr(v),Nr!==null&&(zr.data=Nr)))),(Nr=He?pi(u,v):hl(u,v))&&(mt=Iv(mt,"onBeforeInput"),0<mt.length&&($t=new ae("onBeforeInput","beforeinput",null,v,$t),or.push({event:$t,listeners:mt}),$t.data=Nr))}bk(or,f)})}function Th(u,f,v){return{instance:u,listener:f,currentTarget:v}}function Iv(u,f){for(var v=f+"Capture",C=[];u!==null;){var $=u,Q=$.stateNode;$.tag===5&&Q!==null&&($=Q,Q=qn(u,v),Q!=null&&C.unshift(Th(u,Q,$)),Q=qn(u,f),Q!=null&&C.push(Th(u,Q,$))),u=u.return}return C}function jf(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function Tk(u,f,v,C,$){for(var Q=f._reactName,ye=[];v!==null&&v!==C;){var ke=v,Be=ke.alternate,mt=ke.stateNode;if(Be!==null&&Be===C)break;ke.tag===5&&mt!==null&&(ke=mt,$?(Be=qn(v,Q),Be!=null&&ye.unshift(Th(v,Be,ke))):$||(Be=qn(v,Q),Be!=null&&ye.push(Th(v,Be,ke)))),v=v.return}ye.length!==0&&u.push({event:f,listeners:ye})}var sse=/\r\n?/g,use=/\u0000|\uFFFD/g;function Ak(u){return(typeof u=="string"?u:""+u).replace(sse,`
|
|
105
|
+
`).replace(use,"")}function Pv(u,f,v){if(f=Ak(f),Ak(u)!==f&&v)throw Error(r(425))}function kv(){}var W1=null,G1=null;function K1(u,f){return u==="textarea"||u==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var Y1=typeof setTimeout=="function"?setTimeout:void 0,lse=typeof clearTimeout=="function"?clearTimeout:void 0,Rk=typeof Promise=="function"?Promise:void 0,cse=typeof queueMicrotask=="function"?queueMicrotask:typeof Rk<"u"?function(u){return Rk.resolve(null).then(u).catch(fse)}:Y1;function fse(u){setTimeout(function(){throw u})}function X1(u,f){var v=f,C=0;do{var $=v.nextSibling;if(u.removeChild(v),$&&$.nodeType===8)if(v=$.data,v==="/$"){if(C===0){u.removeChild($),so(f);return}C--}else v!=="$"&&v!=="$?"&&v!=="$!"||C++;v=$}while(v);so(f)}function xu(u){for(;u!=null;u=u.nextSibling){var f=u.nodeType;if(f===1||f===3)break;if(f===8){if(f=u.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return u}function xk(u){u=u.previousSibling;for(var f=0;u;){if(u.nodeType===8){var v=u.data;if(v==="$"||v==="$!"||v==="$?"){if(f===0)return u;f--}else v==="/$"&&f++}u=u.previousSibling}return null}var Uf=Math.random().toString(36).slice(2),ru="__reactFiber$"+Uf,Ah="__reactProps$"+Uf,Ou="__reactContainer$"+Uf,Q1="__reactEvents$"+Uf,dse="__reactListeners$"+Uf,hse="__reactHandles$"+Uf;function fc(u){var f=u[ru];if(f)return f;for(var v=u.parentNode;v;){if(f=v[Ou]||v[ru]){if(v=f.alternate,f.child!==null||v!==null&&v.child!==null)for(u=xk(u);u!==null;){if(v=u[ru])return v;u=xk(u)}return f}u=v,v=u.parentNode}return null}function Rh(u){return u=u[ru]||u[Ou],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function qf(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(r(33))}function Dv(u){return u[Ah]||null}var Z1=[],Vf=-1;function gl(u){return{current:u}}function gi(u){0>Vf||(u.current=Z1[Vf],Z1[Vf]=null,Vf--)}function ci(u,f){Vf++,Z1[Vf]=u.current,u.current=f}var ml={},Da=gl(ml),ho=gl(!1),dc=ml;function Hf(u,f){var v=u.type.contextTypes;if(!v)return ml;var C=u.stateNode;if(C&&C.__reactInternalMemoizedUnmaskedChildContext===f)return C.__reactInternalMemoizedMaskedChildContext;var $={},Q;for(Q in v)$[Q]=f[Q];return C&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=f,u.__reactInternalMemoizedMaskedChildContext=$),$}function po(u){return u=u.childContextTypes,u!=null}function Lv(){gi(ho),gi(Da)}function Ok(u,f,v){if(Da.current!==ml)throw Error(r(168));ci(Da,f),ci(ho,v)}function Ik(u,f,v){var C=u.stateNode;if(f=f.childContextTypes,typeof C.getChildContext!="function")return v;C=C.getChildContext();for(var $ in C)if(!($ in f))throw Error(r(108,I(u)||"Unknown",$));return j({},v,C)}function Nv(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||ml,dc=Da.current,ci(Da,u),ci(ho,ho.current),!0}function Pk(u,f,v){var C=u.stateNode;if(!C)throw Error(r(169));v?(u=Ik(u,f,dc),C.__reactInternalMemoizedMergedChildContext=u,gi(ho),gi(Da),ci(Da,u)):gi(ho),ci(ho,v)}var Iu=null,Mv=!1,J1=!1;function kk(u){Iu===null?Iu=[u]:Iu.push(u)}function pse(u){Mv=!0,kk(u)}function yl(){if(!J1&&Iu!==null){J1=!0;var u=0,f=Zt;try{var v=Iu;for(Zt=1;u<v.length;u++){var C=v[u];do C=C(!0);while(C!==null)}Iu=null,Mv=!1}catch($){throw Iu!==null&&(Iu=Iu.slice(u+1)),fe(Yt,yl),$}finally{Zt=f,J1=!1}}return null}var vse=A.ReactCurrentBatchConfig;function $s(u,f){if(u&&u.defaultProps){f=j({},f),u=u.defaultProps;for(var v in u)f[v]===void 0&&(f[v]=u[v]);return f}return f}var $v=gl(null),Fv=null,Bf=null,e0=null;function t0(){e0=Bf=Fv=null}function r0(u){var f=$v.current;gi($v),u._currentValue=f}function n0(u,f,v){for(;u!==null;){var C=u.alternate;if((u.childLanes&f)!==f?(u.childLanes|=f,C!==null&&(C.childLanes|=f)):C!==null&&(C.childLanes&f)!==f&&(C.childLanes|=f),u===v)break;u=u.return}}function zf(u,f){Fv=u,e0=Bf=null,u=u.dependencies,u!==null&&u.firstContext!==null&&((u.lanes&f)!==0&&(go=!0),u.firstContext=null)}function ds(u){var f=u._currentValue;if(e0!==u)if(u={context:u,memoizedValue:f,next:null},Bf===null){if(Fv===null)throw Error(r(308));Bf=u,Fv.dependencies={lanes:0,firstContext:u}}else Bf=Bf.next=u;return f}var Fs=null,_l=!1;function i0(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dk(u,f){u=u.updateQueue,f.updateQueue===u&&(f.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function Pu(u,f){return{eventTime:u,lane:f,tag:0,payload:null,callback:null,next:null}}function Sl(u,f){var v=u.updateQueue;v!==null&&(v=v.shared,K4(u)?(u=v.interleaved,u===null?(f.next=f,Fs===null?Fs=[v]:Fs.push(v)):(f.next=u.next,u.next=f),v.interleaved=f):(u=v.pending,u===null?f.next=f:(f.next=u.next,u.next=f),v.pending=f))}function jv(u,f,v){if(f=f.updateQueue,f!==null&&(f=f.shared,(v&4194240)!==0)){var C=f.lanes;C&=u.pendingLanes,v|=C,f.lanes=v,Vt(u,v)}}function Lk(u,f){var v=u.updateQueue,C=u.alternate;if(C!==null&&(C=C.updateQueue,v===C)){var $=null,Q=null;if(v=v.firstBaseUpdate,v!==null){do{var ye={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};Q===null?$=Q=ye:Q=Q.next=ye,v=v.next}while(v!==null);Q===null?$=Q=f:Q=Q.next=f}else $=Q=f;v={baseState:C.baseState,firstBaseUpdate:$,lastBaseUpdate:Q,shared:C.shared,effects:C.effects},u.updateQueue=v;return}u=v.lastBaseUpdate,u===null?v.firstBaseUpdate=f:u.next=f,v.lastBaseUpdate=f}function Uv(u,f,v,C){var $=u.updateQueue;_l=!1;var Q=$.firstBaseUpdate,ye=$.lastBaseUpdate,ke=$.shared.pending;if(ke!==null){$.shared.pending=null;var Be=ke,mt=Be.next;Be.next=null,ye===null?Q=mt:ye.next=mt,ye=Be;var $t=u.alternate;$t!==null&&($t=$t.updateQueue,ke=$t.lastBaseUpdate,ke!==ye&&(ke===null?$t.firstBaseUpdate=mt:ke.next=mt,$t.lastBaseUpdate=Be))}if(Q!==null){var or=$.baseState;ye=0,$t=mt=Be=null,ke=Q;do{var kt=ke.lane,lr=ke.eventTime;if((C&kt)===kt){$t!==null&&($t=$t.next={eventTime:lr,lane:0,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null});e:{var rr=u,Zr=ke;switch(kt=f,lr=v,Zr.tag){case 1:if(rr=Zr.payload,typeof rr=="function"){or=rr.call(lr,or,kt);break e}or=rr;break e;case 3:rr.flags=rr.flags&-65537|128;case 0:if(rr=Zr.payload,kt=typeof rr=="function"?rr.call(lr,or,kt):rr,kt==null)break e;or=j({},or,kt);break e;case 2:_l=!0}}ke.callback!==null&&ke.lane!==0&&(u.flags|=64,kt=$.effects,kt===null?$.effects=[ke]:kt.push(ke))}else lr={eventTime:lr,lane:kt,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null},$t===null?(mt=$t=lr,Be=or):$t=$t.next=lr,ye|=kt;if(ke=ke.next,ke===null){if(ke=$.shared.pending,ke===null)break;kt=ke,ke=kt.next,kt.next=null,$.lastBaseUpdate=kt,$.shared.pending=null}}while(!0);if($t===null&&(Be=or),$.baseState=Be,$.firstBaseUpdate=mt,$.lastBaseUpdate=$t,f=$.shared.interleaved,f!==null){$=f;do ye|=$.lane,$=$.next;while($!==f)}else Q===null&&($.shared.lanes=0);mc|=ye,u.lanes=ye,u.memoizedState=or}}function Nk(u,f,v){if(u=f.effects,f.effects=null,u!==null)for(f=0;f<u.length;f++){var C=u[f],$=C.callback;if($!==null){if(C.callback=null,C=v,typeof $!="function")throw Error(r(191,$));$.call(C)}}}var Mk=new e.Component().refs;function a0(u,f,v,C){f=u.memoizedState,v=v(C,f),v=v==null?f:j({},f,v),u.memoizedState=v,u.lanes===0&&(u.updateQueue.baseState=v)}var qv={isMounted:function(u){return(u=u._reactInternals)?xi(u)===u:!1},enqueueSetState:function(u,f,v){u=u._reactInternals;var C=Qa(),$=Cl(u),Q=Pu(C,$);Q.payload=f,v!=null&&(Q.callback=v),Sl(u,Q),f=ms(u,$,C),f!==null&&jv(f,u,$)},enqueueReplaceState:function(u,f,v){u=u._reactInternals;var C=Qa(),$=Cl(u),Q=Pu(C,$);Q.tag=1,Q.payload=f,v!=null&&(Q.callback=v),Sl(u,Q),f=ms(u,$,C),f!==null&&jv(f,u,$)},enqueueForceUpdate:function(u,f){u=u._reactInternals;var v=Qa(),C=Cl(u),$=Pu(v,C);$.tag=2,f!=null&&($.callback=f),Sl(u,$),f=ms(u,C,v),f!==null&&jv(f,u,C)}};function $k(u,f,v,C,$,Q,ye){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(C,Q,ye):f.prototype&&f.prototype.isPureReactComponent?!cr(v,C)||!cr($,Q):!0}function Fk(u,f,v){var C=!1,$=ml,Q=f.contextType;return typeof Q=="object"&&Q!==null?Q=ds(Q):($=po(f)?dc:Da.current,C=f.contextTypes,Q=(C=C!=null)?Hf(u,$):ml),f=new f(v,Q),u.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=qv,u.stateNode=f,f._reactInternals=u,C&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=$,u.__reactInternalMemoizedMaskedChildContext=Q),f}function jk(u,f,v,C){u=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(v,C),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(v,C),f.state!==u&&qv.enqueueReplaceState(f,f.state,null)}function o0(u,f,v,C){var $=u.stateNode;$.props=v,$.state=u.memoizedState,$.refs=Mk,i0(u);var Q=f.contextType;typeof Q=="object"&&Q!==null?$.context=ds(Q):(Q=po(f)?dc:Da.current,$.context=Hf(u,Q)),$.state=u.memoizedState,Q=f.getDerivedStateFromProps,typeof Q=="function"&&(a0(u,f,Q,v),$.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof $.getSnapshotBeforeUpdate=="function"||typeof $.UNSAFE_componentWillMount!="function"&&typeof $.componentWillMount!="function"||(f=$.state,typeof $.componentWillMount=="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount=="function"&&$.UNSAFE_componentWillMount(),f!==$.state&&qv.enqueueReplaceState($,$.state,null),Uv(u,v,$,C),$.state=u.memoizedState),typeof $.componentDidMount=="function"&&(u.flags|=4194308)}var Wf=[],Gf=0,Vv=null,Hv=0,hs=[],ps=0,hc=null,ku=1,Du="";function pc(u,f){Wf[Gf++]=Hv,Wf[Gf++]=Vv,Vv=u,Hv=f}function Uk(u,f,v){hs[ps++]=ku,hs[ps++]=Du,hs[ps++]=hc,hc=u;var C=ku;u=Du;var $=32-Pn(C)-1;C&=~(1<<$),v+=1;var Q=32-Pn(f)+$;if(30<Q){var ye=$-$%5;Q=(C&(1<<ye)-1).toString(32),C>>=ye,$-=ye,ku=1<<32-Pn(f)+$|v<<$|C,Du=Q+u}else ku=1<<Q|v<<$|C,Du=u}function s0(u){u.return!==null&&(pc(u,1),Uk(u,1,0))}function u0(u){for(;u===Vv;)Vv=Wf[--Gf],Wf[Gf]=null,Hv=Wf[--Gf],Wf[Gf]=null;for(;u===hc;)hc=hs[--ps],hs[ps]=null,Du=hs[--ps],hs[ps]=null,ku=hs[--ps],hs[ps]=null}var Bo=null,vo=null,wi=!1,js=null;function qk(u,f){var v=ys(5,null,null,0);v.elementType="DELETED",v.stateNode=f,v.return=u,f=u.deletions,f===null?(u.deletions=[v],u.flags|=16):f.push(v)}function Vk(u,f){switch(u.tag){case 5:var v=u.type;return f=f.nodeType!==1||v.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(u.stateNode=f,Bo=u,vo=xu(f.firstChild),!0):!1;case 6:return f=u.pendingProps===""||f.nodeType!==3?null:f,f!==null?(u.stateNode=f,Bo=u,vo=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(v=hc!==null?{id:ku,overflow:Du}:null,u.memoizedState={dehydrated:f,treeContext:v,retryLane:1073741824},v=ys(18,null,null,0),v.stateNode=f,v.return=u,u.child=v,Bo=u,vo=null,!0):!1;default:return!1}}function l0(u){return(u.mode&1)!==0&&(u.flags&128)===0}function c0(u){if(wi){var f=vo;if(f){var v=f;if(!Vk(u,f)){if(l0(u))throw Error(r(418));f=xu(v.nextSibling);var C=Bo;f&&Vk(u,f)?qk(C,v):(u.flags=u.flags&-4097|2,wi=!1,Bo=u)}}else{if(l0(u))throw Error(r(418));u.flags=u.flags&-4097|2,wi=!1,Bo=u}}}function Hk(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;Bo=u}function xh(u){if(u!==Bo)return!1;if(!wi)return Hk(u),wi=!0,!1;var f;if((f=u.tag!==3)&&!(f=u.tag!==5)&&(f=u.type,f=f!=="head"&&f!=="body"&&!K1(u.type,u.memoizedProps)),f&&(f=vo)){if(l0(u)){for(u=vo;u;)u=xu(u.nextSibling);throw Error(r(418))}for(;f;)qk(u,f),f=xu(f.nextSibling)}if(Hk(u),u.tag===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));e:{for(u=u.nextSibling,f=0;u;){if(u.nodeType===8){var v=u.data;if(v==="/$"){if(f===0){vo=xu(u.nextSibling);break e}f--}else v!=="$"&&v!=="$!"&&v!=="$?"||f++}u=u.nextSibling}vo=null}}else vo=Bo?xu(u.stateNode.nextSibling):null;return!0}function Kf(){vo=Bo=null,wi=!1}function f0(u){js===null?js=[u]:js.push(u)}function Oh(u,f,v){if(u=v.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var C=v.stateNode}if(!C)throw Error(r(147,u));var $=C,Q=""+u;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===Q?f.ref:(f=function(ye){var ke=$.refs;ke===Mk&&(ke=$.refs={}),ye===null?delete ke[Q]:ke[Q]=ye},f._stringRef=Q,f)}if(typeof u!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,u))}return u}function Bv(u,f){throw u=Object.prototype.toString.call(f),Error(r(31,u==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":u))}function Bk(u){var f=u._init;return f(u._payload)}function zk(u){function f(lt,Xe){if(u){var vt=lt.deletions;vt===null?(lt.deletions=[Xe],lt.flags|=16):vt.push(Xe)}}function v(lt,Xe){if(!u)return null;for(;Xe!==null;)f(lt,Xe),Xe=Xe.sibling;return null}function C(lt,Xe){for(lt=new Map;Xe!==null;)Xe.key!==null?lt.set(Xe.key,Xe):lt.set(Xe.index,Xe),Xe=Xe.sibling;return lt}function $(lt,Xe){return lt=Al(lt,Xe),lt.index=0,lt.sibling=null,lt}function Q(lt,Xe,vt){return lt.index=vt,u?(vt=lt.alternate,vt!==null?(vt=vt.index,vt<Xe?(lt.flags|=2,Xe):vt):(lt.flags|=2,Xe)):(lt.flags|=1048576,Xe)}function ye(lt){return u&<.alternate===null&&(lt.flags|=2),lt}function ke(lt,Xe,vt,Qt){return Xe===null||Xe.tag!==6?(Xe=W0(vt,lt.mode,Qt),Xe.return=lt,Xe):(Xe=$(Xe,vt),Xe.return=lt,Xe)}function Be(lt,Xe,vt,Qt){var hr=vt.type;return hr===m?$t(lt,Xe,vt.props.children,Qt,vt.key):Xe!==null&&(Xe.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===Z&&Bk(hr)===Xe.type)?(Qt=$(Xe,vt.props),Qt.ref=Oh(lt,Xe,vt),Qt.return=lt,Qt):(Qt=fg(vt.type,vt.key,vt.props,null,lt.mode,Qt),Qt.ref=Oh(lt,Xe,vt),Qt.return=lt,Qt)}function mt(lt,Xe,vt,Qt){return Xe===null||Xe.tag!==4||Xe.stateNode.containerInfo!==vt.containerInfo||Xe.stateNode.implementation!==vt.implementation?(Xe=G0(vt,lt.mode,Qt),Xe.return=lt,Xe):(Xe=$(Xe,vt.children||[]),Xe.return=lt,Xe)}function $t(lt,Xe,vt,Qt,hr){return Xe===null||Xe.tag!==7?(Xe=Ec(vt,lt.mode,Qt,hr),Xe.return=lt,Xe):(Xe=$(Xe,vt),Xe.return=lt,Xe)}function or(lt,Xe,vt){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Xe=W0(""+Xe,lt.mode,vt),Xe.return=lt,Xe;if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case R:return vt=fg(Xe.type,Xe.key,Xe.props,null,lt.mode,vt),vt.ref=Oh(lt,null,Xe),vt.return=lt,vt;case O:return Xe=G0(Xe,lt.mode,vt),Xe.return=lt,Xe;case Z:var Qt=Xe._init;return or(lt,Qt(Xe._payload),vt)}if(ge(Xe)||L(Xe))return Xe=Ec(Xe,lt.mode,vt,null),Xe.return=lt,Xe;Bv(lt,Xe)}return null}function kt(lt,Xe,vt,Qt){var hr=Xe!==null?Xe.key:null;if(typeof vt=="string"&&vt!==""||typeof vt=="number")return hr!==null?null:ke(lt,Xe,""+vt,Qt);if(typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case R:return vt.key===hr?Be(lt,Xe,vt,Qt):null;case O:return vt.key===hr?mt(lt,Xe,vt,Qt):null;case Z:return hr=vt._init,kt(lt,Xe,hr(vt._payload),Qt)}if(ge(vt)||L(vt))return hr!==null?null:$t(lt,Xe,vt,Qt,null);Bv(lt,vt)}return null}function lr(lt,Xe,vt,Qt,hr){if(typeof Qt=="string"&&Qt!==""||typeof Qt=="number")return lt=lt.get(vt)||null,ke(Xe,lt,""+Qt,hr);if(typeof Qt=="object"&&Qt!==null){switch(Qt.$$typeof){case R:return lt=lt.get(Qt.key===null?vt:Qt.key)||null,Be(Xe,lt,Qt,hr);case O:return lt=lt.get(Qt.key===null?vt:Qt.key)||null,mt(Xe,lt,Qt,hr);case Z:var Lr=Qt._init;return lr(lt,Xe,vt,Lr(Qt._payload),hr)}if(ge(Qt)||L(Qt))return lt=lt.get(vt)||null,$t(Xe,lt,Qt,hr,null);Bv(Xe,Qt)}return null}function rr(lt,Xe,vt,Qt){for(var hr=null,Lr=null,Nr=Xe,zr=Xe=0,pa=null;Nr!==null&&zr<vt.length;zr++){Nr.index>zr?(pa=Nr,Nr=null):pa=Nr.sibling;var Tn=kt(lt,Nr,vt[zr],Qt);if(Tn===null){Nr===null&&(Nr=pa);break}u&&Nr&&Tn.alternate===null&&f(lt,Nr),Xe=Q(Tn,Xe,zr),Lr===null?hr=Tn:Lr.sibling=Tn,Lr=Tn,Nr=pa}if(zr===vt.length)return v(lt,Nr),wi&&pc(lt,zr),hr;if(Nr===null){for(;zr<vt.length;zr++)Nr=or(lt,vt[zr],Qt),Nr!==null&&(Xe=Q(Nr,Xe,zr),Lr===null?hr=Nr:Lr.sibling=Nr,Lr=Nr);return wi&&pc(lt,zr),hr}for(Nr=C(lt,Nr);zr<vt.length;zr++)pa=lr(Nr,lt,zr,vt[zr],Qt),pa!==null&&(u&&pa.alternate!==null&&Nr.delete(pa.key===null?zr:pa.key),Xe=Q(pa,Xe,zr),Lr===null?hr=pa:Lr.sibling=pa,Lr=pa);return u&&Nr.forEach(function(Rl){return f(lt,Rl)}),wi&&pc(lt,zr),hr}function Zr(lt,Xe,vt,Qt){var hr=L(vt);if(typeof hr!="function")throw Error(r(150));if(vt=hr.call(vt),vt==null)throw Error(r(151));for(var Lr=hr=null,Nr=Xe,zr=Xe=0,pa=null,Tn=vt.next();Nr!==null&&!Tn.done;zr++,Tn=vt.next()){Nr.index>zr?(pa=Nr,Nr=null):pa=Nr.sibling;var Rl=kt(lt,Nr,Tn.value,Qt);if(Rl===null){Nr===null&&(Nr=pa);break}u&&Nr&&Rl.alternate===null&&f(lt,Nr),Xe=Q(Rl,Xe,zr),Lr===null?hr=Rl:Lr.sibling=Rl,Lr=Rl,Nr=pa}if(Tn.done)return v(lt,Nr),wi&&pc(lt,zr),hr;if(Nr===null){for(;!Tn.done;zr++,Tn=vt.next())Tn=or(lt,Tn.value,Qt),Tn!==null&&(Xe=Q(Tn,Xe,zr),Lr===null?hr=Tn:Lr.sibling=Tn,Lr=Tn);return wi&&pc(lt,zr),hr}for(Nr=C(lt,Nr);!Tn.done;zr++,Tn=vt.next())Tn=lr(Nr,lt,zr,Tn.value,Qt),Tn!==null&&(u&&Tn.alternate!==null&&Nr.delete(Tn.key===null?zr:Tn.key),Xe=Q(Tn,Xe,zr),Lr===null?hr=Tn:Lr.sibling=Tn,Lr=Tn);return u&&Nr.forEach(function(Gse){return f(lt,Gse)}),wi&&pc(lt,zr),hr}function Hi(lt,Xe,vt,Qt){if(typeof vt=="object"&&vt!==null&&vt.type===m&&vt.key===null&&(vt=vt.props.children),typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case R:e:{for(var hr=vt.key,Lr=Xe;Lr!==null;){if(Lr.key===hr){if(hr=vt.type,hr===m){if(Lr.tag===7){v(lt,Lr.sibling),Xe=$(Lr,vt.props.children),Xe.return=lt,lt=Xe;break e}}else if(Lr.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===Z&&Bk(hr)===Lr.type){v(lt,Lr.sibling),Xe=$(Lr,vt.props),Xe.ref=Oh(lt,Lr,vt),Xe.return=lt,lt=Xe;break e}v(lt,Lr);break}else f(lt,Lr);Lr=Lr.sibling}vt.type===m?(Xe=Ec(vt.props.children,lt.mode,Qt,vt.key),Xe.return=lt,lt=Xe):(Qt=fg(vt.type,vt.key,vt.props,null,lt.mode,Qt),Qt.ref=Oh(lt,Xe,vt),Qt.return=lt,lt=Qt)}return ye(lt);case O:e:{for(Lr=vt.key;Xe!==null;){if(Xe.key===Lr)if(Xe.tag===4&&Xe.stateNode.containerInfo===vt.containerInfo&&Xe.stateNode.implementation===vt.implementation){v(lt,Xe.sibling),Xe=$(Xe,vt.children||[]),Xe.return=lt,lt=Xe;break e}else{v(lt,Xe);break}else f(lt,Xe);Xe=Xe.sibling}Xe=G0(vt,lt.mode,Qt),Xe.return=lt,lt=Xe}return ye(lt);case Z:return Lr=vt._init,Hi(lt,Xe,Lr(vt._payload),Qt)}if(ge(vt))return rr(lt,Xe,vt,Qt);if(L(vt))return Zr(lt,Xe,vt,Qt);Bv(lt,vt)}return typeof vt=="string"&&vt!==""||typeof vt=="number"?(vt=""+vt,Xe!==null&&Xe.tag===6?(v(lt,Xe.sibling),Xe=$(Xe,vt),Xe.return=lt,lt=Xe):(v(lt,Xe),Xe=W0(vt,lt.mode,Qt),Xe.return=lt,lt=Xe),ye(lt)):v(lt,Xe)}return Hi}var Yf=zk(!0),Wk=zk(!1),Ih={},nu=gl(Ih),Ph=gl(Ih),kh=gl(Ih);function vc(u){if(u===Ih)throw Error(r(174));return u}function d0(u,f){switch(ci(kh,f),ci(Ph,u),ci(nu,Ih),u=f.nodeType,u){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:ct(null,"");break;default:u=u===8?f.parentNode:f,f=u.namespaceURI||null,u=u.tagName,f=ct(f,u)}gi(nu),ci(nu,f)}function Xf(){gi(nu),gi(Ph),gi(kh)}function Gk(u){vc(kh.current);var f=vc(nu.current),v=ct(f,u.type);f!==v&&(ci(Ph,u),ci(nu,v))}function h0(u){Ph.current===u&&(gi(nu),gi(Ph))}var ki=gl(0);function zv(u){for(var f=u;f!==null;){if(f.tag===13){var v=f.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&128)!==0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var p0=[];function v0(){for(var u=0;u<p0.length;u++)p0[u]._workInProgressVersionPrimary=null;p0.length=0}var Wv=A.ReactCurrentDispatcher,g0=A.ReactCurrentBatchConfig,gc=0,Di=null,ta=null,ha=null,Gv=!1,Dh=!1,Lh=0,gse=0;function La(){throw Error(r(321))}function m0(u,f){if(f===null)return!1;for(var v=0;v<f.length&&v<u.length;v++)if(!tr(u[v],f[v]))return!1;return!0}function y0(u,f,v,C,$,Q){if(gc=Q,Di=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Wv.current=u===null||u.memoizedState===null?Sse:Ese,u=v(C,$),Dh){Q=0;do{if(Dh=!1,Lh=0,25<=Q)throw Error(r(301));Q+=1,ha=ta=null,f.updateQueue=null,Wv.current=wse,u=v(C,$)}while(Dh)}if(Wv.current=Xv,f=ta!==null&&ta.next!==null,gc=0,ha=ta=Di=null,Gv=!1,f)throw Error(r(300));return u}function _0(){var u=Lh!==0;return Lh=0,u}function iu(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ha===null?Di.memoizedState=ha=u:ha=ha.next=u,ha}function vs(){if(ta===null){var u=Di.alternate;u=u!==null?u.memoizedState:null}else u=ta.next;var f=ha===null?Di.memoizedState:ha.next;if(f!==null)ha=f,ta=u;else{if(u===null)throw Error(r(310));ta=u,u={memoizedState:ta.memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},ha===null?Di.memoizedState=ha=u:ha=ha.next=u}return ha}function Nh(u,f){return typeof f=="function"?f(u):f}function S0(u){var f=vs(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var C=ta,$=C.baseQueue,Q=v.pending;if(Q!==null){if($!==null){var ye=$.next;$.next=Q.next,Q.next=ye}C.baseQueue=$=Q,v.pending=null}if($!==null){Q=$.next,C=C.baseState;var ke=ye=null,Be=null,mt=Q;do{var $t=mt.lane;if((gc&$t)===$t)Be!==null&&(Be=Be.next={lane:0,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null}),C=mt.hasEagerState?mt.eagerState:u(C,mt.action);else{var or={lane:$t,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null};Be===null?(ke=Be=or,ye=C):Be=Be.next=or,Di.lanes|=$t,mc|=$t}mt=mt.next}while(mt!==null&&mt!==Q);Be===null?ye=C:Be.next=ke,tr(C,f.memoizedState)||(go=!0),f.memoizedState=C,f.baseState=ye,f.baseQueue=Be,v.lastRenderedState=C}if(u=v.interleaved,u!==null){$=u;do Q=$.lane,Di.lanes|=Q,mc|=Q,$=$.next;while($!==u)}else $===null&&(v.lanes=0);return[f.memoizedState,v.dispatch]}function E0(u){var f=vs(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var C=v.dispatch,$=v.pending,Q=f.memoizedState;if($!==null){v.pending=null;var ye=$=$.next;do Q=u(Q,ye.action),ye=ye.next;while(ye!==$);tr(Q,f.memoizedState)||(go=!0),f.memoizedState=Q,f.baseQueue===null&&(f.baseState=Q),v.lastRenderedState=Q}return[Q,C]}function Kk(){}function Yk(u,f){var v=Di,C=vs(),$=f(),Q=!tr(C.memoizedState,$);if(Q&&(C.memoizedState=$,go=!0),C=C.queue,w0(Zk.bind(null,v,C,u),[u]),C.getSnapshot!==f||Q||ha!==null&&ha.memoizedState.tag&1){if(v.flags|=2048,Mh(9,Qk.bind(null,v,C,$,f),void 0,null),ra===null)throw Error(r(349));(gc&30)!==0||Xk(v,f,$)}return $}function Xk(u,f,v){u.flags|=16384,u={getSnapshot:f,value:v},f=Di.updateQueue,f===null?(f={lastEffect:null,stores:null},Di.updateQueue=f,f.stores=[u]):(v=f.stores,v===null?f.stores=[u]:v.push(u))}function Qk(u,f,v,C){f.value=v,f.getSnapshot=C,Jk(f)&&ms(u,1,-1)}function Zk(u,f,v){return v(function(){Jk(f)&&ms(u,1,-1)})}function Jk(u){var f=u.getSnapshot;u=u.value;try{var v=f();return!tr(u,v)}catch{return!0}}function e4(u){var f=iu();return typeof u=="function"&&(u=u()),f.memoizedState=f.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Nh,lastRenderedState:u},f.queue=u,u=u.dispatch=_se.bind(null,Di,u),[f.memoizedState,u]}function Mh(u,f,v,C){return u={tag:u,create:f,destroy:v,deps:C,next:null},f=Di.updateQueue,f===null?(f={lastEffect:null,stores:null},Di.updateQueue=f,f.lastEffect=u.next=u):(v=f.lastEffect,v===null?f.lastEffect=u.next=u:(C=v.next,v.next=u,u.next=C,f.lastEffect=u)),u}function t4(){return vs().memoizedState}function Kv(u,f,v,C){var $=iu();Di.flags|=u,$.memoizedState=Mh(1|f,v,void 0,C===void 0?null:C)}function Yv(u,f,v,C){var $=vs();C=C===void 0?null:C;var Q=void 0;if(ta!==null){var ye=ta.memoizedState;if(Q=ye.destroy,C!==null&&m0(C,ye.deps)){$.memoizedState=Mh(f,v,Q,C);return}}Di.flags|=u,$.memoizedState=Mh(1|f,v,Q,C)}function r4(u,f){return Kv(8390656,8,u,f)}function w0(u,f){return Yv(2048,8,u,f)}function n4(u,f){return Yv(4,2,u,f)}function i4(u,f){return Yv(4,4,u,f)}function a4(u,f){if(typeof f=="function")return u=u(),f(u),function(){f(null)};if(f!=null)return u=u(),f.current=u,function(){f.current=null}}function o4(u,f,v){return v=v!=null?v.concat([u]):null,Yv(4,4,a4.bind(null,f,u),v)}function b0(){}function s4(u,f){var v=vs();f=f===void 0?null:f;var C=v.memoizedState;return C!==null&&f!==null&&m0(f,C[1])?C[0]:(v.memoizedState=[u,f],u)}function u4(u,f){var v=vs();f=f===void 0?null:f;var C=v.memoizedState;return C!==null&&f!==null&&m0(f,C[1])?C[0]:(u=u(),v.memoizedState=[u,f],u)}function l4(u,f,v){return(gc&21)===0?(u.baseState&&(u.baseState=!1,go=!0),u.memoizedState=v):(tr(v,f)||(v=je(),Di.lanes|=v,mc|=v,u.baseState=!0),f)}function mse(u,f){var v=Zt;Zt=v!==0&&4>v?v:4,u(!0);var C=g0.transition;g0.transition={};try{u(!1),f()}finally{Zt=v,g0.transition=C}}function c4(){return vs().memoizedState}function yse(u,f,v){var C=Cl(u);v={lane:C,action:v,hasEagerState:!1,eagerState:null,next:null},f4(u)?d4(f,v):(h4(u,f,v),v=Qa(),u=ms(u,C,v),u!==null&&p4(u,f,C))}function _se(u,f,v){var C=Cl(u),$={lane:C,action:v,hasEagerState:!1,eagerState:null,next:null};if(f4(u))d4(f,$);else{h4(u,f,$);var Q=u.alternate;if(u.lanes===0&&(Q===null||Q.lanes===0)&&(Q=f.lastRenderedReducer,Q!==null))try{var ye=f.lastRenderedState,ke=Q(ye,v);if($.hasEagerState=!0,$.eagerState=ke,tr(ke,ye))return}catch{}finally{}v=Qa(),u=ms(u,C,v),u!==null&&p4(u,f,C)}}function f4(u){var f=u.alternate;return u===Di||f!==null&&f===Di}function d4(u,f){Dh=Gv=!0;var v=u.pending;v===null?f.next=f:(f.next=v.next,v.next=f),u.pending=f}function h4(u,f,v){K4(u)?(u=f.interleaved,u===null?(v.next=v,Fs===null?Fs=[f]:Fs.push(f)):(v.next=u.next,u.next=v),f.interleaved=v):(u=f.pending,u===null?v.next=v:(v.next=u.next,u.next=v),f.pending=v)}function p4(u,f,v){if((v&4194240)!==0){var C=f.lanes;C&=u.pendingLanes,v|=C,f.lanes=v,Vt(u,v)}}var Xv={readContext:ds,useCallback:La,useContext:La,useEffect:La,useImperativeHandle:La,useInsertionEffect:La,useLayoutEffect:La,useMemo:La,useReducer:La,useRef:La,useState:La,useDebugValue:La,useDeferredValue:La,useTransition:La,useMutableSource:La,useSyncExternalStore:La,useId:La,unstable_isNewReconciler:!1},Sse={readContext:ds,useCallback:function(u,f){return iu().memoizedState=[u,f===void 0?null:f],u},useContext:ds,useEffect:r4,useImperativeHandle:function(u,f,v){return v=v!=null?v.concat([u]):null,Kv(4194308,4,a4.bind(null,f,u),v)},useLayoutEffect:function(u,f){return Kv(4194308,4,u,f)},useInsertionEffect:function(u,f){return Kv(4,2,u,f)},useMemo:function(u,f){var v=iu();return f=f===void 0?null:f,u=u(),v.memoizedState=[u,f],u},useReducer:function(u,f,v){var C=iu();return f=v!==void 0?v(f):f,C.memoizedState=C.baseState=f,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:f},C.queue=u,u=u.dispatch=yse.bind(null,Di,u),[C.memoizedState,u]},useRef:function(u){var f=iu();return u={current:u},f.memoizedState=u},useState:e4,useDebugValue:b0,useDeferredValue:function(u){return iu().memoizedState=u},useTransition:function(){var u=e4(!1),f=u[0];return u=mse.bind(null,u[1]),iu().memoizedState=u,[f,u]},useMutableSource:function(){},useSyncExternalStore:function(u,f,v){var C=Di,$=iu();if(wi){if(v===void 0)throw Error(r(407));v=v()}else{if(v=f(),ra===null)throw Error(r(349));(gc&30)!==0||Xk(C,f,v)}$.memoizedState=v;var Q={value:v,getSnapshot:f};return $.queue=Q,r4(Zk.bind(null,C,Q,u),[u]),C.flags|=2048,Mh(9,Qk.bind(null,C,Q,v,f),void 0,null),v},useId:function(){var u=iu(),f=ra.identifierPrefix;if(wi){var v=Du,C=ku;v=(C&~(1<<32-Pn(C)-1)).toString(32)+v,f=":"+f+"R"+v,v=Lh++,0<v&&(f+="H"+v.toString(32)),f+=":"}else v=gse++,f=":"+f+"r"+v.toString(32)+":";return u.memoizedState=f},unstable_isNewReconciler:!1},Ese={readContext:ds,useCallback:s4,useContext:ds,useEffect:w0,useImperativeHandle:o4,useInsertionEffect:n4,useLayoutEffect:i4,useMemo:u4,useReducer:S0,useRef:t4,useState:function(){return S0(Nh)},useDebugValue:b0,useDeferredValue:function(u){var f=vs();return l4(f,ta.memoizedState,u)},useTransition:function(){var u=S0(Nh)[0],f=vs().memoizedState;return[u,f]},useMutableSource:Kk,useSyncExternalStore:Yk,useId:c4,unstable_isNewReconciler:!1},wse={readContext:ds,useCallback:s4,useContext:ds,useEffect:w0,useImperativeHandle:o4,useInsertionEffect:n4,useLayoutEffect:i4,useMemo:u4,useReducer:E0,useRef:t4,useState:function(){return E0(Nh)},useDebugValue:b0,useDeferredValue:function(u){var f=vs();return ta===null?f.memoizedState=u:l4(f,ta.memoizedState,u)},useTransition:function(){var u=E0(Nh)[0],f=vs().memoizedState;return[u,f]},useMutableSource:Kk,useSyncExternalStore:Yk,useId:c4,unstable_isNewReconciler:!1};function C0(u,f){try{var v="",C=f;do v+=Ae(C),C=C.return;while(C);var $=v}catch(Q){$=`
|
|
106
|
+
Error generating stack: `+Q.message+`
|
|
107
|
+
`+Q.stack}return{value:u,source:f,stack:$}}function T0(u,f){try{console.error(f.value)}catch(v){setTimeout(function(){throw v})}}var bse=typeof WeakMap=="function"?WeakMap:Map;function v4(u,f,v){v=Pu(-1,v),v.tag=3,v.payload={element:null};var C=f.value;return v.callback=function(){ig||(ig=!0,F0=C),T0(u,f)},v}function g4(u,f,v){v=Pu(-1,v),v.tag=3;var C=u.type.getDerivedStateFromError;if(typeof C=="function"){var $=f.value;v.payload=function(){return C($)},v.callback=function(){T0(u,f)}}var Q=u.stateNode;return Q!==null&&typeof Q.componentDidCatch=="function"&&(v.callback=function(){T0(u,f),typeof C!="function"&&(wl===null?wl=new Set([this]):wl.add(this));var ye=f.stack;this.componentDidCatch(f.value,{componentStack:ye!==null?ye:""})}),v}function m4(u,f,v){var C=u.pingCache;if(C===null){C=u.pingCache=new bse;var $=new Set;C.set(f,$)}else $=C.get(f),$===void 0&&($=new Set,C.set(f,$));$.has(v)||($.add(v),u=Mse.bind(null,u,f,v),f.then(u,u))}function y4(u){do{var f;if((f=u.tag===13)&&(f=u.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return u;u=u.return}while(u!==null);return null}function _4(u,f,v,C,$){return(u.mode&1)===0?(u===f?u.flags|=65536:(u.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(f=Pu(-1,1),f.tag=2,Sl(v,f))),v.lanes|=1),u):(u.flags|=65536,u.lanes=$,u)}var S4,A0,E4,w4;S4=function(u,f){for(var v=f.child;v!==null;){if(v.tag===5||v.tag===6)u.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===f)break;for(;v.sibling===null;){if(v.return===null||v.return===f)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},A0=function(){},E4=function(u,f,v,C){var $=u.memoizedProps;if($!==C){u=f.stateNode,vc(nu.current);var Q=null;switch(v){case"input":$=we(u,$),C=we(u,C),Q=[];break;case"select":$=j({},$,{value:void 0}),C=j({},C,{value:void 0}),Q=[];break;case"textarea":$=Ce(u,$),C=Ce(u,C),Q=[];break;default:typeof $.onClick!="function"&&typeof C.onClick=="function"&&(u.onclick=kv)}Gt(v,C);var ye;v=null;for(mt in $)if(!C.hasOwnProperty(mt)&&$.hasOwnProperty(mt)&&$[mt]!=null)if(mt==="style"){var ke=$[mt];for(ye in ke)ke.hasOwnProperty(ye)&&(v||(v={}),v[ye]="")}else mt!=="dangerouslySetInnerHTML"&&mt!=="children"&&mt!=="suppressContentEditableWarning"&&mt!=="suppressHydrationWarning"&&mt!=="autoFocus"&&(i.hasOwnProperty(mt)?Q||(Q=[]):(Q=Q||[]).push(mt,null));for(mt in C){var Be=C[mt];if(ke=$!=null?$[mt]:void 0,C.hasOwnProperty(mt)&&Be!==ke&&(Be!=null||ke!=null))if(mt==="style")if(ke){for(ye in ke)!ke.hasOwnProperty(ye)||Be&&Be.hasOwnProperty(ye)||(v||(v={}),v[ye]="");for(ye in Be)Be.hasOwnProperty(ye)&&ke[ye]!==Be[ye]&&(v||(v={}),v[ye]=Be[ye])}else v||(Q||(Q=[]),Q.push(mt,v)),v=Be;else mt==="dangerouslySetInnerHTML"?(Be=Be?Be.__html:void 0,ke=ke?ke.__html:void 0,Be!=null&&ke!==Be&&(Q=Q||[]).push(mt,Be)):mt==="children"?typeof Be!="string"&&typeof Be!="number"||(Q=Q||[]).push(mt,""+Be):mt!=="suppressContentEditableWarning"&&mt!=="suppressHydrationWarning"&&(i.hasOwnProperty(mt)?(Be!=null&&mt==="onScroll"&&vi("scroll",u),Q||ke===Be||(Q=[])):(Q=Q||[]).push(mt,Be))}v&&(Q=Q||[]).push("style",v);var mt=Q;(f.updateQueue=mt)&&(f.flags|=4)}},w4=function(u,f,v,C){v!==C&&(f.flags|=4)};function $h(u,f){if(!wi)switch(u.tailMode){case"hidden":f=u.tail;for(var v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?u.tail=null:v.sibling=null;break;case"collapsed":v=u.tail;for(var C=null;v!==null;)v.alternate!==null&&(C=v),v=v.sibling;C===null?f||u.tail===null?u.tail=null:u.tail.sibling=null:C.sibling=null}}function Na(u){var f=u.alternate!==null&&u.alternate.child===u.child,v=0,C=0;if(f)for(var $=u.child;$!==null;)v|=$.lanes|$.childLanes,C|=$.subtreeFlags&14680064,C|=$.flags&14680064,$.return=u,$=$.sibling;else for($=u.child;$!==null;)v|=$.lanes|$.childLanes,C|=$.subtreeFlags,C|=$.flags,$.return=u,$=$.sibling;return u.subtreeFlags|=C,u.childLanes=v,f}function Cse(u,f,v){var C=f.pendingProps;switch(u0(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Na(f),null;case 1:return po(f.type)&&Lv(),Na(f),null;case 3:return C=f.stateNode,Xf(),gi(ho),gi(Da),v0(),C.pendingContext&&(C.context=C.pendingContext,C.pendingContext=null),(u===null||u.child===null)&&(xh(f)?f.flags|=4:u===null||u.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,js!==null&&(q0(js),js=null))),A0(u,f),Na(f),null;case 5:h0(f);var $=vc(kh.current);if(v=f.type,u!==null&&f.stateNode!=null)E4(u,f,v,C,$),u.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!C){if(f.stateNode===null)throw Error(r(166));return Na(f),null}if(u=vc(nu.current),xh(f)){C=f.stateNode,v=f.type;var Q=f.memoizedProps;switch(C[ru]=f,C[Ah]=Q,u=(f.mode&1)!==0,v){case"dialog":vi("cancel",C),vi("close",C);break;case"iframe":case"object":case"embed":vi("load",C);break;case"video":case"audio":for($=0;$<bh.length;$++)vi(bh[$],C);break;case"source":vi("error",C);break;case"img":case"image":case"link":vi("error",C),vi("load",C);break;case"details":vi("toggle",C);break;case"input":_e(C,Q),vi("invalid",C);break;case"select":C._wrapperState={wasMultiple:!!Q.multiple},vi("invalid",C);break;case"textarea":Le(C,Q),vi("invalid",C)}Gt(v,Q),$=null;for(var ye in Q)if(Q.hasOwnProperty(ye)){var ke=Q[ye];ye==="children"?typeof ke=="string"?C.textContent!==ke&&(Q.suppressHydrationWarning!==!0&&Pv(C.textContent,ke,u),$=["children",ke]):typeof ke=="number"&&C.textContent!==""+ke&&(Q.suppressHydrationWarning!==!0&&Pv(C.textContent,ke,u),$=["children",""+ke]):i.hasOwnProperty(ye)&&ke!=null&&ye==="onScroll"&&vi("scroll",C)}switch(v){case"input":B(C),Ie(C,Q,!0);break;case"textarea":B(C),qe(C);break;case"select":case"option":break;default:typeof Q.onClick=="function"&&(C.onclick=kv)}C=$,f.updateQueue=C,C!==null&&(f.flags|=4)}else{ye=$.nodeType===9?$:$.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=Ge(v)),u==="http://www.w3.org/1999/xhtml"?v==="script"?(u=ye.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof C.is=="string"?u=ye.createElement(v,{is:C.is}):(u=ye.createElement(v),v==="select"&&(ye=u,C.multiple?ye.multiple=!0:C.size&&(ye.size=C.size))):u=ye.createElementNS(u,v),u[ru]=f,u[Ah]=C,S4(u,f,!1,!1),f.stateNode=u;e:{switch(ye=Mt(v,C),v){case"dialog":vi("cancel",u),vi("close",u),$=C;break;case"iframe":case"object":case"embed":vi("load",u),$=C;break;case"video":case"audio":for($=0;$<bh.length;$++)vi(bh[$],u);$=C;break;case"source":vi("error",u),$=C;break;case"img":case"image":case"link":vi("error",u),vi("load",u),$=C;break;case"details":vi("toggle",u),$=C;break;case"input":_e(u,C),$=we(u,C),vi("invalid",u);break;case"option":$=C;break;case"select":u._wrapperState={wasMultiple:!!C.multiple},$=j({},C,{value:void 0}),vi("invalid",u);break;case"textarea":Le(u,C),$=Ce(u,C),vi("invalid",u);break;default:$=C}Gt(v,$),ke=$;for(Q in ke)if(ke.hasOwnProperty(Q)){var Be=ke[Q];Q==="style"?rt(u,Be):Q==="dangerouslySetInnerHTML"?(Be=Be?Be.__html:void 0,Be!=null&&zt(u,Be)):Q==="children"?typeof Be=="string"?(v!=="textarea"||Be!=="")&&Ze(u,Be):typeof Be=="number"&&Ze(u,""+Be):Q!=="suppressContentEditableWarning"&&Q!=="suppressHydrationWarning"&&Q!=="autoFocus"&&(i.hasOwnProperty(Q)?Be!=null&&Q==="onScroll"&&vi("scroll",u):Be!=null&&x(u,Q,Be,ye))}switch(v){case"input":B(u),Ie(u,C,!1);break;case"textarea":B(u),qe(u);break;case"option":C.value!=null&&u.setAttribute("value",""+P(C.value));break;case"select":u.multiple=!!C.multiple,Q=C.value,Q!=null?be(u,!!C.multiple,Q,!1):C.defaultValue!=null&&be(u,!!C.multiple,C.defaultValue,!0);break;default:typeof $.onClick=="function"&&(u.onclick=kv)}switch(v){case"button":case"input":case"select":case"textarea":C=!!C.autoFocus;break e;case"img":C=!0;break e;default:C=!1}}C&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return Na(f),null;case 6:if(u&&f.stateNode!=null)w4(u,f,u.memoizedProps,C);else{if(typeof C!="string"&&f.stateNode===null)throw Error(r(166));if(v=vc(kh.current),vc(nu.current),xh(f)){if(C=f.stateNode,v=f.memoizedProps,C[ru]=f,(Q=C.nodeValue!==v)&&(u=Bo,u!==null))switch(u.tag){case 3:Pv(C.nodeValue,v,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&Pv(C.nodeValue,v,(u.mode&1)!==0)}Q&&(f.flags|=4)}else C=(v.nodeType===9?v:v.ownerDocument).createTextNode(C),C[ru]=f,f.stateNode=C}return Na(f),null;case 13:if(gi(ki),C=f.memoizedState,wi&&vo!==null&&(f.mode&1)!==0&&(f.flags&128)===0){for(C=vo;C;)C=xu(C.nextSibling);return Kf(),f.flags|=98560,f}if(C!==null&&C.dehydrated!==null){if(C=xh(f),u===null){if(!C)throw Error(r(318));if(C=f.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(r(317));C[ru]=f}else Kf(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;return Na(f),null}return js!==null&&(q0(js),js=null),(f.flags&128)!==0?(f.lanes=v,f):(C=C!==null,v=!1,u===null?xh(f):v=u.memoizedState!==null,C!==v&&C&&(f.child.flags|=8192,(f.mode&1)!==0&&(u===null||(ki.current&1)!==0?na===0&&(na=3):B0())),f.updateQueue!==null&&(f.flags|=4),Na(f),null);case 4:return Xf(),A0(u,f),u===null&&Ch(f.stateNode.containerInfo),Na(f),null;case 10:return r0(f.type._context),Na(f),null;case 17:return po(f.type)&&Lv(),Na(f),null;case 19:if(gi(ki),Q=f.memoizedState,Q===null)return Na(f),null;if(C=(f.flags&128)!==0,ye=Q.rendering,ye===null)if(C)$h(Q,!1);else{if(na!==0||u!==null&&(u.flags&128)!==0)for(u=f.child;u!==null;){if(ye=zv(u),ye!==null){for(f.flags|=128,$h(Q,!1),C=ye.updateQueue,C!==null&&(f.updateQueue=C,f.flags|=4),f.subtreeFlags=0,C=v,v=f.child;v!==null;)Q=v,u=C,Q.flags&=14680066,ye=Q.alternate,ye===null?(Q.childLanes=0,Q.lanes=u,Q.child=null,Q.subtreeFlags=0,Q.memoizedProps=null,Q.memoizedState=null,Q.updateQueue=null,Q.dependencies=null,Q.stateNode=null):(Q.childLanes=ye.childLanes,Q.lanes=ye.lanes,Q.child=ye.child,Q.subtreeFlags=0,Q.deletions=null,Q.memoizedProps=ye.memoizedProps,Q.memoizedState=ye.memoizedState,Q.updateQueue=ye.updateQueue,Q.type=ye.type,u=ye.dependencies,Q.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),v=v.sibling;return ci(ki,ki.current&1|2),f.child}u=u.sibling}Q.tail!==null&&yt()>Jf&&(f.flags|=128,C=!0,$h(Q,!1),f.lanes=4194304)}else{if(!C)if(u=zv(ye),u!==null){if(f.flags|=128,C=!0,v=u.updateQueue,v!==null&&(f.updateQueue=v,f.flags|=4),$h(Q,!0),Q.tail===null&&Q.tailMode==="hidden"&&!ye.alternate&&!wi)return Na(f),null}else 2*yt()-Q.renderingStartTime>Jf&&v!==1073741824&&(f.flags|=128,C=!0,$h(Q,!1),f.lanes=4194304);Q.isBackwards?(ye.sibling=f.child,f.child=ye):(v=Q.last,v!==null?v.sibling=ye:f.child=ye,Q.last=ye)}return Q.tail!==null?(f=Q.tail,Q.rendering=f,Q.tail=f.sibling,Q.renderingStartTime=yt(),f.sibling=null,v=ki.current,ci(ki,C?v&1|2:v&1),f):(Na(f),null);case 22:case 23:return H0(),C=f.memoizedState!==null,u!==null&&u.memoizedState!==null!==C&&(f.flags|=8192),C&&(f.mode&1)!==0?(zo&1073741824)!==0&&(Na(f),f.subtreeFlags&6&&(f.flags|=8192)):Na(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}var Tse=A.ReactCurrentOwner,go=!1;function Xa(u,f,v,C){f.child=u===null?Wk(f,null,v,C):Yf(f,u.child,v,C)}function b4(u,f,v,C,$){v=v.render;var Q=f.ref;return zf(f,$),C=y0(u,f,v,C,Q,$),v=_0(),u!==null&&!go?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~$,Lu(u,f,$)):(wi&&v&&s0(f),f.flags|=1,Xa(u,f,C,$),f.child)}function C4(u,f,v,C,$){if(u===null){var Q=v.type;return typeof Q=="function"&&!z0(Q)&&Q.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(f.tag=15,f.type=Q,T4(u,f,Q,C,$)):(u=fg(v.type,null,C,f,f.mode,$),u.ref=f.ref,u.return=f,f.child=u)}if(Q=u.child,(u.lanes&$)===0){var ye=Q.memoizedProps;if(v=v.compare,v=v!==null?v:cr,v(ye,C)&&u.ref===f.ref)return Lu(u,f,$)}return f.flags|=1,u=Al(Q,C),u.ref=f.ref,u.return=f,f.child=u}function T4(u,f,v,C,$){if(u!==null){var Q=u.memoizedProps;if(cr(Q,C)&&u.ref===f.ref)if(go=!1,f.pendingProps=C=Q,(u.lanes&$)!==0)(u.flags&131072)!==0&&(go=!0);else return f.lanes=u.lanes,Lu(u,f,$)}return R0(u,f,v,C,$)}function A4(u,f,v){var C=f.pendingProps,$=C.children,Q=u!==null?u.memoizedState:null;if(C.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},ci(Zf,zo),zo|=v;else if((v&1073741824)!==0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},C=Q!==null?Q.baseLanes:v,ci(Zf,zo),zo|=C;else return u=Q!==null?Q.baseLanes|v:v,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:u,cachePool:null,transitions:null},f.updateQueue=null,ci(Zf,zo),zo|=u,null;else Q!==null?(C=Q.baseLanes|v,f.memoizedState=null):C=v,ci(Zf,zo),zo|=C;return Xa(u,f,$,v),f.child}function R4(u,f){var v=f.ref;(u===null&&v!==null||u!==null&&u.ref!==v)&&(f.flags|=512,f.flags|=2097152)}function R0(u,f,v,C,$){var Q=po(v)?dc:Da.current;return Q=Hf(f,Q),zf(f,$),v=y0(u,f,v,C,Q,$),C=_0(),u!==null&&!go?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~$,Lu(u,f,$)):(wi&&C&&s0(f),f.flags|=1,Xa(u,f,v,$),f.child)}function x4(u,f,v,C,$){if(po(v)){var Q=!0;Nv(f)}else Q=!1;if(zf(f,$),f.stateNode===null)u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),Fk(f,v,C),o0(f,v,C,$),C=!0;else if(u===null){var ye=f.stateNode,ke=f.memoizedProps;ye.props=ke;var Be=ye.context,mt=v.contextType;typeof mt=="object"&&mt!==null?mt=ds(mt):(mt=po(v)?dc:Da.current,mt=Hf(f,mt));var $t=v.getDerivedStateFromProps,or=typeof $t=="function"||typeof ye.getSnapshotBeforeUpdate=="function";or||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(ke!==C||Be!==mt)&&jk(f,ye,C,mt),_l=!1;var kt=f.memoizedState;ye.state=kt,Uv(f,C,ye,$),Be=f.memoizedState,ke!==C||kt!==Be||ho.current||_l?(typeof $t=="function"&&(a0(f,v,$t,C),Be=f.memoizedState),(ke=_l||$k(f,v,ke,C,kt,Be,mt))?(or||typeof ye.UNSAFE_componentWillMount!="function"&&typeof ye.componentWillMount!="function"||(typeof ye.componentWillMount=="function"&&ye.componentWillMount(),typeof ye.UNSAFE_componentWillMount=="function"&&ye.UNSAFE_componentWillMount()),typeof ye.componentDidMount=="function"&&(f.flags|=4194308)):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=C,f.memoizedState=Be),ye.props=C,ye.state=Be,ye.context=mt,C=ke):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),C=!1)}else{ye=f.stateNode,Dk(u,f),ke=f.memoizedProps,mt=f.type===f.elementType?ke:$s(f.type,ke),ye.props=mt,or=f.pendingProps,kt=ye.context,Be=v.contextType,typeof Be=="object"&&Be!==null?Be=ds(Be):(Be=po(v)?dc:Da.current,Be=Hf(f,Be));var lr=v.getDerivedStateFromProps;($t=typeof lr=="function"||typeof ye.getSnapshotBeforeUpdate=="function")||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(ke!==or||kt!==Be)&&jk(f,ye,C,Be),_l=!1,kt=f.memoizedState,ye.state=kt,Uv(f,C,ye,$);var rr=f.memoizedState;ke!==or||kt!==rr||ho.current||_l?(typeof lr=="function"&&(a0(f,v,lr,C),rr=f.memoizedState),(mt=_l||$k(f,v,mt,C,kt,rr,Be)||!1)?($t||typeof ye.UNSAFE_componentWillUpdate!="function"&&typeof ye.componentWillUpdate!="function"||(typeof ye.componentWillUpdate=="function"&&ye.componentWillUpdate(C,rr,Be),typeof ye.UNSAFE_componentWillUpdate=="function"&&ye.UNSAFE_componentWillUpdate(C,rr,Be)),typeof ye.componentDidUpdate=="function"&&(f.flags|=4),typeof ye.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof ye.componentDidUpdate!="function"||ke===u.memoizedProps&&kt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||ke===u.memoizedProps&&kt===u.memoizedState||(f.flags|=1024),f.memoizedProps=C,f.memoizedState=rr),ye.props=C,ye.state=rr,ye.context=Be,C=mt):(typeof ye.componentDidUpdate!="function"||ke===u.memoizedProps&&kt===u.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||ke===u.memoizedProps&&kt===u.memoizedState||(f.flags|=1024),C=!1)}return x0(u,f,v,C,Q,$)}function x0(u,f,v,C,$,Q){R4(u,f);var ye=(f.flags&128)!==0;if(!C&&!ye)return $&&Pk(f,v,!1),Lu(u,f,Q);C=f.stateNode,Tse.current=f;var ke=ye&&typeof v.getDerivedStateFromError!="function"?null:C.render();return f.flags|=1,u!==null&&ye?(f.child=Yf(f,u.child,null,Q),f.child=Yf(f,null,ke,Q)):Xa(u,f,ke,Q),f.memoizedState=C.state,$&&Pk(f,v,!0),f.child}function O4(u){var f=u.stateNode;f.pendingContext?Ok(u,f.pendingContext,f.pendingContext!==f.context):f.context&&Ok(u,f.context,!1),d0(u,f.containerInfo)}function I4(u,f,v,C,$){return Kf(),f0($),f.flags|=256,Xa(u,f,v,C),f.child}var Qv={dehydrated:null,treeContext:null,retryLane:0};function Zv(u){return{baseLanes:u,cachePool:null,transitions:null}}function P4(u,f){return{baseLanes:u.baseLanes|f,cachePool:null,transitions:u.transitions}}function k4(u,f,v){var C=f.pendingProps,$=ki.current,Q=!1,ye=(f.flags&128)!==0,ke;if((ke=ye)||(ke=u!==null&&u.memoizedState===null?!1:($&2)!==0),ke?(Q=!0,f.flags&=-129):(u===null||u.memoizedState!==null)&&($|=1),ci(ki,$&1),u===null)return c0(f),u=f.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?((f.mode&1)===0?f.lanes=1:u.data==="$!"?f.lanes=8:f.lanes=1073741824,null):($=C.children,u=C.fallback,Q?(C=f.mode,Q=f.child,$={mode:"hidden",children:$},(C&1)===0&&Q!==null?(Q.childLanes=0,Q.pendingProps=$):Q=dg($,C,0,null),u=Ec(u,C,v,null),Q.return=f,u.return=f,Q.sibling=u,f.child=Q,f.child.memoizedState=Zv(v),f.memoizedState=Qv,u):O0(f,$));if($=u.memoizedState,$!==null){if(ke=$.dehydrated,ke!==null){if(ye)return f.flags&256?(f.flags&=-257,Jv(u,f,v,Error(r(422)))):f.memoizedState!==null?(f.child=u.child,f.flags|=128,null):(Q=C.fallback,$=f.mode,C=dg({mode:"visible",children:C.children},$,0,null),Q=Ec(Q,$,v,null),Q.flags|=2,C.return=f,Q.return=f,C.sibling=Q,f.child=C,(f.mode&1)!==0&&Yf(f,u.child,null,v),f.child.memoizedState=Zv(v),f.memoizedState=Qv,Q);if((f.mode&1)===0)f=Jv(u,f,v,null);else if(ke.data==="$!")f=Jv(u,f,v,Error(r(419)));else if(C=(v&u.childLanes)!==0,go||C){if(C=ra,C!==null){switch(v&-v){case 4:Q=2;break;case 16:Q=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:Q=32;break;case 536870912:Q=268435456;break;default:Q=0}C=(Q&(C.suspendedLanes|v))!==0?0:Q,C!==0&&C!==$.retryLane&&($.retryLane=C,ms(u,C,-1))}B0(),f=Jv(u,f,v,Error(r(421)))}else ke.data==="$?"?(f.flags|=128,f.child=u.child,f=$se.bind(null,u),ke._reactRetry=f,f=null):(v=$.treeContext,vo=xu(ke.nextSibling),Bo=f,wi=!0,js=null,v!==null&&(hs[ps++]=ku,hs[ps++]=Du,hs[ps++]=hc,ku=v.id,Du=v.overflow,hc=f),f=O0(f,f.pendingProps.children),f.flags|=4096);return f}return Q?(C=L4(u,f,C.children,C.fallback,v),Q=f.child,$=u.child.memoizedState,Q.memoizedState=$===null?Zv(v):P4($,v),Q.childLanes=u.childLanes&~v,f.memoizedState=Qv,C):(v=D4(u,f,C.children,v),f.memoizedState=null,v)}return Q?(C=L4(u,f,C.children,C.fallback,v),Q=f.child,$=u.child.memoizedState,Q.memoizedState=$===null?Zv(v):P4($,v),Q.childLanes=u.childLanes&~v,f.memoizedState=Qv,C):(v=D4(u,f,C.children,v),f.memoizedState=null,v)}function O0(u,f){return f=dg({mode:"visible",children:f},u.mode,0,null),f.return=u,u.child=f}function D4(u,f,v,C){var $=u.child;return u=$.sibling,v=Al($,{mode:"visible",children:v}),(f.mode&1)===0&&(v.lanes=C),v.return=f,v.sibling=null,u!==null&&(C=f.deletions,C===null?(f.deletions=[u],f.flags|=16):C.push(u)),f.child=v}function L4(u,f,v,C,$){var Q=f.mode;u=u.child;var ye=u.sibling,ke={mode:"hidden",children:v};return(Q&1)===0&&f.child!==u?(v=f.child,v.childLanes=0,v.pendingProps=ke,f.deletions=null):(v=Al(u,ke),v.subtreeFlags=u.subtreeFlags&14680064),ye!==null?C=Al(ye,C):(C=Ec(C,Q,$,null),C.flags|=2),C.return=f,v.return=f,v.sibling=C,f.child=v,C}function Jv(u,f,v,C){return C!==null&&f0(C),Yf(f,u.child,null,v),u=O0(f,f.pendingProps.children),u.flags|=2,f.memoizedState=null,u}function N4(u,f,v){u.lanes|=f;var C=u.alternate;C!==null&&(C.lanes|=f),n0(u.return,f,v)}function I0(u,f,v,C,$){var Q=u.memoizedState;Q===null?u.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:C,tail:v,tailMode:$}:(Q.isBackwards=f,Q.rendering=null,Q.renderingStartTime=0,Q.last=C,Q.tail=v,Q.tailMode=$)}function M4(u,f,v){var C=f.pendingProps,$=C.revealOrder,Q=C.tail;if(Xa(u,f,C.children,v),C=ki.current,(C&2)!==0)C=C&1|2,f.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=f.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&N4(u,v,f);else if(u.tag===19)N4(u,v,f);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===f)break e;for(;u.sibling===null;){if(u.return===null||u.return===f)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}C&=1}if(ci(ki,C),(f.mode&1)===0)f.memoizedState=null;else switch($){case"forwards":for(v=f.child,$=null;v!==null;)u=v.alternate,u!==null&&zv(u)===null&&($=v),v=v.sibling;v=$,v===null?($=f.child,f.child=null):($=v.sibling,v.sibling=null),I0(f,!1,$,v,Q);break;case"backwards":for(v=null,$=f.child,f.child=null;$!==null;){if(u=$.alternate,u!==null&&zv(u)===null){f.child=$;break}u=$.sibling,$.sibling=v,v=$,$=u}I0(f,!0,v,null,Q);break;case"together":I0(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function Lu(u,f,v){if(u!==null&&(f.dependencies=u.dependencies),mc|=f.lanes,(v&f.childLanes)===0)return null;if(u!==null&&f.child!==u.child)throw Error(r(153));if(f.child!==null){for(u=f.child,v=Al(u,u.pendingProps),f.child=v,v.return=f;u.sibling!==null;)u=u.sibling,v=v.sibling=Al(u,u.pendingProps),v.return=f;v.sibling=null}return f.child}function Ase(u,f,v){switch(f.tag){case 3:O4(f),Kf();break;case 5:Gk(f);break;case 1:po(f.type)&&Nv(f);break;case 4:d0(f,f.stateNode.containerInfo);break;case 10:var C=f.type._context,$=f.memoizedProps.value;ci($v,C._currentValue),C._currentValue=$;break;case 13:if(C=f.memoizedState,C!==null)return C.dehydrated!==null?(ci(ki,ki.current&1),f.flags|=128,null):(v&f.child.childLanes)!==0?k4(u,f,v):(ci(ki,ki.current&1),u=Lu(u,f,v),u!==null?u.sibling:null);ci(ki,ki.current&1);break;case 19:if(C=(v&f.childLanes)!==0,(u.flags&128)!==0){if(C)return M4(u,f,v);f.flags|=128}if($=f.memoizedState,$!==null&&($.rendering=null,$.tail=null,$.lastEffect=null),ci(ki,ki.current),C)break;return null;case 22:case 23:return f.lanes=0,A4(u,f,v)}return Lu(u,f,v)}function Rse(u,f){switch(u0(f),f.tag){case 1:return po(f.type)&&Lv(),u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 3:return Xf(),gi(ho),gi(Da),v0(),u=f.flags,(u&65536)!==0&&(u&128)===0?(f.flags=u&-65537|128,f):null;case 5:return h0(f),null;case 13:if(gi(ki),u=f.memoizedState,u!==null&&u.dehydrated!==null){if(f.alternate===null)throw Error(r(340));Kf()}return u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 19:return gi(ki),null;case 4:return Xf(),null;case 10:return r0(f.type._context),null;case 22:case 23:return H0(),null;case 24:return null;default:return null}}var eg=!1,Ma=!1,xse=typeof WeakSet=="function"?WeakSet:Set,fr=null;function Qf(u,f){var v=u.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(C){ji(u,f,C)}else v.current=null}function P0(u,f,v){try{v()}catch(C){ji(u,f,C)}}var $4=!1;function Ose(u,f){if(W1=la,u=Br(),rn(u)){if("selectionStart"in u)var v={start:u.selectionStart,end:u.selectionEnd};else e:{v=(v=u.ownerDocument)&&v.defaultView||window;var C=v.getSelection&&v.getSelection();if(C&&C.rangeCount!==0){v=C.anchorNode;var $=C.anchorOffset,Q=C.focusNode;C=C.focusOffset;try{v.nodeType,Q.nodeType}catch{v=null;break e}var ye=0,ke=-1,Be=-1,mt=0,$t=0,or=u,kt=null;t:for(;;){for(var lr;or!==v||$!==0&&or.nodeType!==3||(ke=ye+$),or!==Q||C!==0&&or.nodeType!==3||(Be=ye+C),or.nodeType===3&&(ye+=or.nodeValue.length),(lr=or.firstChild)!==null;)kt=or,or=lr;for(;;){if(or===u)break t;if(kt===v&&++mt===$&&(ke=ye),kt===Q&&++$t===C&&(Be=ye),(lr=or.nextSibling)!==null)break;or=kt,kt=or.parentNode}or=lr}v=ke===-1||Be===-1?null:{start:ke,end:Be}}else v=null}v=v||{start:0,end:0}}else v=null;for(G1={focusedElem:u,selectionRange:v},la=!1,fr=f;fr!==null;)if(f=fr,u=f.child,(f.subtreeFlags&1028)!==0&&u!==null)u.return=f,fr=u;else for(;fr!==null;){f=fr;try{var rr=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(rr!==null){var Zr=rr.memoizedProps,Hi=rr.memoizedState,lt=f.stateNode,Xe=lt.getSnapshotBeforeUpdate(f.elementType===f.type?Zr:$s(f.type,Zr),Hi);lt.__reactInternalSnapshotBeforeUpdate=Xe}break;case 3:var vt=f.stateNode.containerInfo;if(vt.nodeType===1)vt.textContent="";else if(vt.nodeType===9){var Qt=vt.body;Qt!=null&&(Qt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(hr){ji(f,f.return,hr)}if(u=f.sibling,u!==null){u.return=f.return,fr=u;break}fr=f.return}return rr=$4,$4=!1,rr}function Fh(u,f,v){var C=f.updateQueue;if(C=C!==null?C.lastEffect:null,C!==null){var $=C=C.next;do{if(($.tag&u)===u){var Q=$.destroy;$.destroy=void 0,Q!==void 0&&P0(f,v,Q)}$=$.next}while($!==C)}}function tg(u,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var v=f=f.next;do{if((v.tag&u)===u){var C=v.create;v.destroy=C()}v=v.next}while(v!==f)}}function k0(u){var f=u.ref;if(f!==null){var v=u.stateNode;switch(u.tag){case 5:u=v;break;default:u=v}typeof f=="function"?f(u):f.current=u}}function F4(u){var f=u.alternate;f!==null&&(u.alternate=null,F4(f)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(f=u.stateNode,f!==null&&(delete f[ru],delete f[Ah],delete f[Q1],delete f[dse],delete f[hse])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function j4(u){return u.tag===5||u.tag===3||u.tag===4}function U4(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||j4(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function D0(u,f,v){var C=u.tag;if(C===5||C===6)u=u.stateNode,f?v.nodeType===8?v.parentNode.insertBefore(u,f):v.insertBefore(u,f):(v.nodeType===8?(f=v.parentNode,f.insertBefore(u,v)):(f=v,f.appendChild(u)),v=v._reactRootContainer,v!=null||f.onclick!==null||(f.onclick=kv));else if(C!==4&&(u=u.child,u!==null))for(D0(u,f,v),u=u.sibling;u!==null;)D0(u,f,v),u=u.sibling}function L0(u,f,v){var C=u.tag;if(C===5||C===6)u=u.stateNode,f?v.insertBefore(u,f):v.appendChild(u);else if(C!==4&&(u=u.child,u!==null))for(L0(u,f,v),u=u.sibling;u!==null;)L0(u,f,v),u=u.sibling}var ma=null,Us=!1;function El(u,f,v){for(v=v.child;v!==null;)q4(u,f,v),v=v.sibling}function q4(u,f,v){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(Lt,v)}catch{}switch(v.tag){case 5:Ma||Qf(v,f);case 6:var C=ma,$=Us;ma=null,El(u,f,v),ma=C,Us=$,ma!==null&&(Us?(u=ma,v=v.stateNode,u.nodeType===8?u.parentNode.removeChild(v):u.removeChild(v)):ma.removeChild(v.stateNode));break;case 18:ma!==null&&(Us?(u=ma,v=v.stateNode,u.nodeType===8?X1(u.parentNode,v):u.nodeType===1&&X1(u,v),so(u)):X1(ma,v.stateNode));break;case 4:C=ma,$=Us,ma=v.stateNode.containerInfo,Us=!0,El(u,f,v),ma=C,Us=$;break;case 0:case 11:case 14:case 15:if(!Ma&&(C=v.updateQueue,C!==null&&(C=C.lastEffect,C!==null))){$=C=C.next;do{var Q=$,ye=Q.destroy;Q=Q.tag,ye!==void 0&&((Q&2)!==0||(Q&4)!==0)&&P0(v,f,ye),$=$.next}while($!==C)}El(u,f,v);break;case 1:if(!Ma&&(Qf(v,f),C=v.stateNode,typeof C.componentWillUnmount=="function"))try{C.props=v.memoizedProps,C.state=v.memoizedState,C.componentWillUnmount()}catch(ke){ji(v,f,ke)}El(u,f,v);break;case 21:El(u,f,v);break;case 22:v.mode&1?(Ma=(C=Ma)||v.memoizedState!==null,El(u,f,v),Ma=C):El(u,f,v);break;default:El(u,f,v)}}function V4(u){var f=u.updateQueue;if(f!==null){u.updateQueue=null;var v=u.stateNode;v===null&&(v=u.stateNode=new xse),f.forEach(function(C){var $=Fse.bind(null,u,C);v.has(C)||(v.add(C),C.then($,$))})}}function qs(u,f){var v=f.deletions;if(v!==null)for(var C=0;C<v.length;C++){var $=v[C];try{var Q=u,ye=f,ke=ye;e:for(;ke!==null;){switch(ke.tag){case 5:ma=ke.stateNode,Us=!1;break e;case 3:ma=ke.stateNode.containerInfo,Us=!0;break e;case 4:ma=ke.stateNode.containerInfo,Us=!0;break e}ke=ke.return}if(ma===null)throw Error(r(160));q4(Q,ye,$),ma=null,Us=!1;var Be=$.alternate;Be!==null&&(Be.return=null),$.return=null}catch(mt){ji($,f,mt)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)H4(f,u),f=f.sibling}function H4(u,f){var v=u.alternate,C=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(qs(f,u),au(u),C&4){try{Fh(3,u,u.return),tg(3,u)}catch(rr){ji(u,u.return,rr)}try{Fh(5,u,u.return)}catch(rr){ji(u,u.return,rr)}}break;case 1:qs(f,u),au(u),C&512&&v!==null&&Qf(v,v.return);break;case 5:if(qs(f,u),au(u),C&512&&v!==null&&Qf(v,v.return),u.flags&32){var $=u.stateNode;try{Ze($,"")}catch(rr){ji(u,u.return,rr)}}if(C&4&&($=u.stateNode,$!=null)){var Q=u.memoizedProps,ye=v!==null?v.memoizedProps:Q,ke=u.type,Be=u.updateQueue;if(u.updateQueue=null,Be!==null)try{ke==="input"&&Q.type==="radio"&&Q.name!=null&&Oe($,Q),Mt(ke,ye);var mt=Mt(ke,Q);for(ye=0;ye<Be.length;ye+=2){var $t=Be[ye],or=Be[ye+1];$t==="style"?rt($,or):$t==="dangerouslySetInnerHTML"?zt($,or):$t==="children"?Ze($,or):x($,$t,or,mt)}switch(ke){case"input":Te($,Q);break;case"textarea":Ve($,Q);break;case"select":var kt=$._wrapperState.wasMultiple;$._wrapperState.wasMultiple=!!Q.multiple;var lr=Q.value;lr!=null?be($,!!Q.multiple,lr,!1):kt!==!!Q.multiple&&(Q.defaultValue!=null?be($,!!Q.multiple,Q.defaultValue,!0):be($,!!Q.multiple,Q.multiple?[]:"",!1))}$[Ah]=Q}catch(rr){ji(u,u.return,rr)}}break;case 6:if(qs(f,u),au(u),C&4){if(u.stateNode===null)throw Error(r(162));mt=u.stateNode,$t=u.memoizedProps;try{mt.nodeValue=$t}catch(rr){ji(u,u.return,rr)}}break;case 3:if(qs(f,u),au(u),C&4&&v!==null&&v.memoizedState.isDehydrated)try{so(f.containerInfo)}catch(rr){ji(u,u.return,rr)}break;case 4:qs(f,u),au(u);break;case 13:qs(f,u),au(u),mt=u.child,mt.flags&8192&&mt.memoizedState!==null&&(mt.alternate===null||mt.alternate.memoizedState===null)&&($0=yt()),C&4&&V4(u);break;case 22:if(mt=v!==null&&v.memoizedState!==null,u.mode&1?(Ma=($t=Ma)||mt,qs(f,u),Ma=$t):qs(f,u),au(u),C&8192){$t=u.memoizedState!==null;e:for(or=null,kt=u;;){if(kt.tag===5){if(or===null){or=kt;try{$=kt.stateNode,$t?(Q=$.style,typeof Q.setProperty=="function"?Q.setProperty("display","none","important"):Q.display="none"):(ke=kt.stateNode,Be=kt.memoizedProps.style,ye=Be!=null&&Be.hasOwnProperty("display")?Be.display:null,ke.style.display=st("display",ye))}catch(rr){ji(u,u.return,rr)}}}else if(kt.tag===6){if(or===null)try{kt.stateNode.nodeValue=$t?"":kt.memoizedProps}catch(rr){ji(u,u.return,rr)}}else if((kt.tag!==22&&kt.tag!==23||kt.memoizedState===null||kt===u)&&kt.child!==null){kt.child.return=kt,kt=kt.child;continue}if(kt===u)break e;for(;kt.sibling===null;){if(kt.return===null||kt.return===u)break e;or===kt&&(or=null),kt=kt.return}or===kt&&(or=null),kt.sibling.return=kt.return,kt=kt.sibling}if($t&&!mt&&(u.mode&1)!==0)for(fr=u,u=u.child;u!==null;){for(mt=fr=u;fr!==null;){switch($t=fr,or=$t.child,$t.tag){case 0:case 11:case 14:case 15:Fh(4,$t,$t.return);break;case 1:if(Qf($t,$t.return),Q=$t.stateNode,typeof Q.componentWillUnmount=="function"){kt=$t,lr=$t.return;try{$=kt,Q.props=$.memoizedProps,Q.state=$.memoizedState,Q.componentWillUnmount()}catch(rr){ji(kt,lr,rr)}}break;case 5:Qf($t,$t.return);break;case 22:if($t.memoizedState!==null){W4(mt);continue}}or!==null?(or.return=$t,fr=or):W4(mt)}u=u.sibling}}break;case 19:qs(f,u),au(u),C&4&&V4(u);break;case 21:break;default:qs(f,u),au(u)}}function au(u){var f=u.flags;if(f&2){try{e:{for(var v=u.return;v!==null;){if(j4(v)){var C=v;break e}v=v.return}throw Error(r(160))}switch(C.tag){case 5:var $=C.stateNode;C.flags&32&&(Ze($,""),C.flags&=-33);var Q=U4(u);L0(u,Q,$);break;case 3:case 4:var ye=C.stateNode.containerInfo,ke=U4(u);D0(u,ke,ye);break;default:throw Error(r(161))}}catch(Be){ji(u,u.return,Be)}u.flags&=-3}f&4096&&(u.flags&=-4097)}function Ise(u,f,v){fr=u,B4(u)}function B4(u,f,v){for(var C=(u.mode&1)!==0;fr!==null;){var $=fr,Q=$.child;if($.tag===22&&C){var ye=$.memoizedState!==null||eg;if(!ye){var ke=$.alternate,Be=ke!==null&&ke.memoizedState!==null||Ma;ke=eg;var mt=Ma;if(eg=ye,(Ma=Be)&&!mt)for(fr=$;fr!==null;)ye=fr,Be=ye.child,ye.tag===22&&ye.memoizedState!==null?G4($):Be!==null?(Be.return=ye,fr=Be):G4($);for(;Q!==null;)fr=Q,B4(Q),Q=Q.sibling;fr=$,eg=ke,Ma=mt}z4(u)}else($.subtreeFlags&8772)!==0&&Q!==null?(Q.return=$,fr=Q):z4(u)}}function z4(u){for(;fr!==null;){var f=fr;if((f.flags&8772)!==0){var v=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:Ma||tg(5,f);break;case 1:var C=f.stateNode;if(f.flags&4&&!Ma)if(v===null)C.componentDidMount();else{var $=f.elementType===f.type?v.memoizedProps:$s(f.type,v.memoizedProps);C.componentDidUpdate($,v.memoizedState,C.__reactInternalSnapshotBeforeUpdate)}var Q=f.updateQueue;Q!==null&&Nk(f,Q,C);break;case 3:var ye=f.updateQueue;if(ye!==null){if(v=null,f.child!==null)switch(f.child.tag){case 5:v=f.child.stateNode;break;case 1:v=f.child.stateNode}Nk(f,ye,v)}break;case 5:var ke=f.stateNode;if(v===null&&f.flags&4){v=ke;var Be=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":Be.autoFocus&&v.focus();break;case"img":Be.src&&(v.src=Be.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var mt=f.alternate;if(mt!==null){var $t=mt.memoizedState;if($t!==null){var or=$t.dehydrated;or!==null&&so(or)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}Ma||f.flags&512&&k0(f)}catch(kt){ji(f,f.return,kt)}}if(f===u){fr=null;break}if(v=f.sibling,v!==null){v.return=f.return,fr=v;break}fr=f.return}}function W4(u){for(;fr!==null;){var f=fr;if(f===u){fr=null;break}var v=f.sibling;if(v!==null){v.return=f.return,fr=v;break}fr=f.return}}function G4(u){for(;fr!==null;){var f=fr;try{switch(f.tag){case 0:case 11:case 15:var v=f.return;try{tg(4,f)}catch(Be){ji(f,v,Be)}break;case 1:var C=f.stateNode;if(typeof C.componentDidMount=="function"){var $=f.return;try{C.componentDidMount()}catch(Be){ji(f,$,Be)}}var Q=f.return;try{k0(f)}catch(Be){ji(f,Q,Be)}break;case 5:var ye=f.return;try{k0(f)}catch(Be){ji(f,ye,Be)}}}catch(Be){ji(f,f.return,Be)}if(f===u){fr=null;break}var ke=f.sibling;if(ke!==null){ke.return=f.return,fr=ke;break}fr=f.return}}var Pse=Math.ceil,rg=A.ReactCurrentDispatcher,N0=A.ReactCurrentOwner,gs=A.ReactCurrentBatchConfig,bn=0,ra=null,Yi=null,ya=0,zo=0,Zf=gl(0),na=0,jh=null,mc=0,ng=0,M0=0,Uh=null,mo=null,$0=0,Jf=1/0,Nu=null,ig=!1,F0=null,wl=null,ag=!1,bl=null,og=0,qh=0,j0=null,sg=-1,ug=0;function Qa(){return(bn&6)!==0?yt():sg!==-1?sg:sg=yt()}function Cl(u){return(u.mode&1)===0?1:(bn&2)!==0&&ya!==0?ya&-ya:vse.transition!==null?(ug===0&&(ug=je()),ug):(u=Zt,u!==0||(u=window.event,u=u===void 0?16:Au(u.type)),u)}function ms(u,f,v){if(50<qh)throw qh=0,j0=null,Error(r(185));var C=lg(u,f);return C===null?null:(it(C,f,v),((bn&2)===0||C!==ra)&&(C===ra&&((bn&2)===0&&(ng|=f),na===4&&Tl(C,ya)),yo(C,v),f===1&&bn===0&&(u.mode&1)===0&&(Jf=yt()+500,Mv&&yl())),C)}function lg(u,f){u.lanes|=f;var v=u.alternate;for(v!==null&&(v.lanes|=f),v=u,u=u.return;u!==null;)u.childLanes|=f,v=u.alternate,v!==null&&(v.childLanes|=f),v=u,u=u.return;return v.tag===3?v.stateNode:null}function K4(u){return(ra!==null||Fs!==null)&&(u.mode&1)!==0&&(bn&2)===0}function yo(u,f){var v=u.callbackNode;oe(u,f);var C=Pa(u,u===ra?ya:0);if(C===0)v!==null&&nt(v),u.callbackNode=null,u.callbackPriority=0;else if(f=C&-C,u.callbackPriority!==f){if(v!=null&&nt(v),f===1)u.tag===0?pse(X4.bind(null,u)):kk(X4.bind(null,u)),cse(function(){bn===0&&yl()}),v=null;else{switch(br(C)){case 1:v=Yt;break;case 4:v=bt;break;case 16:v=Ar;break;case 536870912:v=wn;break;default:v=Ar}v=iD(v,Y4.bind(null,u))}u.callbackPriority=f,u.callbackNode=v}}function Y4(u,f){if(sg=-1,ug=0,(bn&6)!==0)throw Error(r(327));var v=u.callbackNode;if(ed()&&u.callbackNode!==v)return null;var C=Pa(u,u===ra?ya:0);if(C===0)return null;if((C&30)!==0||(C&u.expiredLanes)!==0||f)f=cg(u,C);else{f=C;var $=bn;bn|=2;var Q=Z4();(ra!==u||ya!==f)&&(Nu=null,Jf=yt()+500,_c(u,f));do try{Lse();break}catch(ke){Q4(u,ke)}while(!0);t0(),rg.current=Q,bn=$,Yi!==null?f=0:(ra=null,ya=0,f=na)}if(f!==0){if(f===2&&($=Ee(u),$!==0&&(C=$,f=U0(u,$))),f===1)throw v=jh,_c(u,0),Tl(u,C),yo(u,yt()),v;if(f===6)Tl(u,C);else{if($=u.current.alternate,(C&30)===0&&!kse($)&&(f=cg(u,C),f===2&&(Q=Ee(u),Q!==0&&(C=Q,f=U0(u,Q))),f===1))throw v=jh,_c(u,0),Tl(u,C),yo(u,yt()),v;switch(u.finishedWork=$,u.finishedLanes=C,f){case 0:case 1:throw Error(r(345));case 2:Sc(u,mo,Nu);break;case 3:if(Tl(u,C),(C&130023424)===C&&(f=$0+500-yt(),10<f)){if(Pa(u,0)!==0)break;if($=u.suspendedLanes,($&C)!==C){Qa(),u.pingedLanes|=u.suspendedLanes&$;break}u.timeoutHandle=Y1(Sc.bind(null,u,mo,Nu),f);break}Sc(u,mo,Nu);break;case 4:if(Tl(u,C),(C&4194240)===C)break;for(f=u.eventTimes,$=-1;0<C;){var ye=31-Pn(C);Q=1<<ye,ye=f[ye],ye>$&&($=ye),C&=~Q}if(C=$,C=yt()-C,C=(120>C?120:480>C?480:1080>C?1080:1920>C?1920:3e3>C?3e3:4320>C?4320:1960*Pse(C/1960))-C,10<C){u.timeoutHandle=Y1(Sc.bind(null,u,mo,Nu),C);break}Sc(u,mo,Nu);break;case 5:Sc(u,mo,Nu);break;default:throw Error(r(329))}}}return yo(u,yt()),u.callbackNode===v?Y4.bind(null,u):null}function U0(u,f){var v=Uh;return u.current.memoizedState.isDehydrated&&(_c(u,f).flags|=256),u=cg(u,f),u!==2&&(f=mo,mo=v,f!==null&&q0(f)),u}function q0(u){mo===null?mo=u:mo.push.apply(mo,u)}function kse(u){for(var f=u;;){if(f.flags&16384){var v=f.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var C=0;C<v.length;C++){var $=v[C],Q=$.getSnapshot;$=$.value;try{if(!tr(Q(),$))return!1}catch{return!1}}}if(v=f.child,f.subtreeFlags&16384&&v!==null)v.return=f,f=v;else{if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function Tl(u,f){for(f&=~M0,f&=~ng,u.suspendedLanes|=f,u.pingedLanes&=~f,u=u.expirationTimes;0<f;){var v=31-Pn(f),C=1<<v;u[v]=-1,f&=~C}}function X4(u){if((bn&6)!==0)throw Error(r(327));ed();var f=Pa(u,0);if((f&1)===0)return yo(u,yt()),null;var v=cg(u,f);if(u.tag!==0&&v===2){var C=Ee(u);C!==0&&(f=C,v=U0(u,C))}if(v===1)throw v=jh,_c(u,0),Tl(u,f),yo(u,yt()),v;if(v===6)throw Error(r(345));return u.finishedWork=u.current.alternate,u.finishedLanes=f,Sc(u,mo,Nu),yo(u,yt()),null}function V0(u,f){var v=bn;bn|=1;try{return u(f)}finally{bn=v,bn===0&&(Jf=yt()+500,Mv&&yl())}}function yc(u){bl!==null&&bl.tag===0&&(bn&6)===0&&ed();var f=bn;bn|=1;var v=gs.transition,C=Zt;try{if(gs.transition=null,Zt=1,u)return u()}finally{Zt=C,gs.transition=v,bn=f,(bn&6)===0&&yl()}}function H0(){zo=Zf.current,gi(Zf)}function _c(u,f){u.finishedWork=null,u.finishedLanes=0;var v=u.timeoutHandle;if(v!==-1&&(u.timeoutHandle=-1,lse(v)),Yi!==null)for(v=Yi.return;v!==null;){var C=v;switch(u0(C),C.tag){case 1:C=C.type.childContextTypes,C!=null&&Lv();break;case 3:Xf(),gi(ho),gi(Da),v0();break;case 5:h0(C);break;case 4:Xf();break;case 13:gi(ki);break;case 19:gi(ki);break;case 10:r0(C.type._context);break;case 22:case 23:H0()}v=v.return}if(ra=u,Yi=u=Al(u.current,null),ya=zo=f,na=0,jh=null,M0=ng=mc=0,mo=Uh=null,Fs!==null){for(f=0;f<Fs.length;f++)if(v=Fs[f],C=v.interleaved,C!==null){v.interleaved=null;var $=C.next,Q=v.pending;if(Q!==null){var ye=Q.next;Q.next=$,C.next=ye}v.pending=C}Fs=null}return u}function Q4(u,f){do{var v=Yi;try{if(t0(),Wv.current=Xv,Gv){for(var C=Di.memoizedState;C!==null;){var $=C.queue;$!==null&&($.pending=null),C=C.next}Gv=!1}if(gc=0,ha=ta=Di=null,Dh=!1,Lh=0,N0.current=null,v===null||v.return===null){na=1,jh=f,Yi=null;break}e:{var Q=u,ye=v.return,ke=v,Be=f;if(f=ya,ke.flags|=32768,Be!==null&&typeof Be=="object"&&typeof Be.then=="function"){var mt=Be,$t=ke,or=$t.tag;if(($t.mode&1)===0&&(or===0||or===11||or===15)){var kt=$t.alternate;kt?($t.updateQueue=kt.updateQueue,$t.memoizedState=kt.memoizedState,$t.lanes=kt.lanes):($t.updateQueue=null,$t.memoizedState=null)}var lr=y4(ye);if(lr!==null){lr.flags&=-257,_4(lr,ye,ke,Q,f),lr.mode&1&&m4(Q,mt,f),f=lr,Be=mt;var rr=f.updateQueue;if(rr===null){var Zr=new Set;Zr.add(Be),f.updateQueue=Zr}else rr.add(Be);break e}else{if((f&1)===0){m4(Q,mt,f),B0();break e}Be=Error(r(426))}}else if(wi&&ke.mode&1){var Hi=y4(ye);if(Hi!==null){(Hi.flags&65536)===0&&(Hi.flags|=256),_4(Hi,ye,ke,Q,f),f0(Be);break e}}Q=Be,na!==4&&(na=2),Uh===null?Uh=[Q]:Uh.push(Q),Be=C0(Be,ke),ke=ye;do{switch(ke.tag){case 3:ke.flags|=65536,f&=-f,ke.lanes|=f;var lt=v4(ke,Be,f);Lk(ke,lt);break e;case 1:Q=Be;var Xe=ke.type,vt=ke.stateNode;if((ke.flags&128)===0&&(typeof Xe.getDerivedStateFromError=="function"||vt!==null&&typeof vt.componentDidCatch=="function"&&(wl===null||!wl.has(vt)))){ke.flags|=65536,f&=-f,ke.lanes|=f;var Qt=g4(ke,Q,f);Lk(ke,Qt);break e}}ke=ke.return}while(ke!==null)}eD(v)}catch(hr){f=hr,Yi===v&&v!==null&&(Yi=v=v.return);continue}break}while(!0)}function Z4(){var u=rg.current;return rg.current=Xv,u===null?Xv:u}function B0(){(na===0||na===3||na===2)&&(na=4),ra===null||(mc&268435455)===0&&(ng&268435455)===0||Tl(ra,ya)}function cg(u,f){var v=bn;bn|=2;var C=Z4();(ra!==u||ya!==f)&&(Nu=null,_c(u,f));do try{Dse();break}catch($){Q4(u,$)}while(!0);if(t0(),bn=v,rg.current=C,Yi!==null)throw Error(r(261));return ra=null,ya=0,na}function Dse(){for(;Yi!==null;)J4(Yi)}function Lse(){for(;Yi!==null&&!ze();)J4(Yi)}function J4(u){var f=nD(u.alternate,u,zo);u.memoizedProps=u.pendingProps,f===null?eD(u):Yi=f,N0.current=null}function eD(u){var f=u;do{var v=f.alternate;if(u=f.return,(f.flags&32768)===0){if(v=Cse(v,f,zo),v!==null){Yi=v;return}}else{if(v=Rse(v,f),v!==null){v.flags&=32767,Yi=v;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{na=6,Yi=null;return}}if(f=f.sibling,f!==null){Yi=f;return}Yi=f=u}while(f!==null);na===0&&(na=5)}function Sc(u,f,v){var C=Zt,$=gs.transition;try{gs.transition=null,Zt=1,Nse(u,f,v,C)}finally{gs.transition=$,Zt=C}return null}function Nse(u,f,v,C){do ed();while(bl!==null);if((bn&6)!==0)throw Error(r(327));v=u.finishedWork;var $=u.finishedLanes;if(v===null)return null;if(u.finishedWork=null,u.finishedLanes=0,v===u.current)throw Error(r(177));u.callbackNode=null,u.callbackPriority=0;var Q=v.lanes|v.childLanes;if(xt(u,Q),u===ra&&(Yi=ra=null,ya=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||ag||(ag=!0,iD(Ar,function(){return ed(),null})),Q=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||Q){Q=gs.transition,gs.transition=null;var ye=Zt;Zt=1;var ke=bn;bn|=4,N0.current=null,Ose(u,v),H4(v,u),Or(G1),la=!!W1,G1=W1=null,u.current=v,Ise(v),Ct(),bn=ke,Zt=ye,gs.transition=Q}else u.current=v;if(ag&&(ag=!1,bl=u,og=$),Q=u.pendingLanes,Q===0&&(wl=null),Vn(v.stateNode),yo(u,yt()),f!==null)for(C=u.onRecoverableError,v=0;v<f.length;v++)C(f[v]);if(ig)throw ig=!1,u=F0,F0=null,u;return(og&1)!==0&&u.tag!==0&&ed(),Q=u.pendingLanes,(Q&1)!==0?u===j0?qh++:(qh=0,j0=u):qh=0,yl(),null}function ed(){if(bl!==null){var u=br(og),f=gs.transition,v=Zt;try{if(gs.transition=null,Zt=16>u?16:u,bl===null)var C=!1;else{if(u=bl,bl=null,og=0,(bn&6)!==0)throw Error(r(331));var $=bn;for(bn|=4,fr=u.current;fr!==null;){var Q=fr,ye=Q.child;if((fr.flags&16)!==0){var ke=Q.deletions;if(ke!==null){for(var Be=0;Be<ke.length;Be++){var mt=ke[Be];for(fr=mt;fr!==null;){var $t=fr;switch($t.tag){case 0:case 11:case 15:Fh(8,$t,Q)}var or=$t.child;if(or!==null)or.return=$t,fr=or;else for(;fr!==null;){$t=fr;var kt=$t.sibling,lr=$t.return;if(F4($t),$t===mt){fr=null;break}if(kt!==null){kt.return=lr,fr=kt;break}fr=lr}}}var rr=Q.alternate;if(rr!==null){var Zr=rr.child;if(Zr!==null){rr.child=null;do{var Hi=Zr.sibling;Zr.sibling=null,Zr=Hi}while(Zr!==null)}}fr=Q}}if((Q.subtreeFlags&2064)!==0&&ye!==null)ye.return=Q,fr=ye;else e:for(;fr!==null;){if(Q=fr,(Q.flags&2048)!==0)switch(Q.tag){case 0:case 11:case 15:Fh(9,Q,Q.return)}var lt=Q.sibling;if(lt!==null){lt.return=Q.return,fr=lt;break e}fr=Q.return}}var Xe=u.current;for(fr=Xe;fr!==null;){ye=fr;var vt=ye.child;if((ye.subtreeFlags&2064)!==0&&vt!==null)vt.return=ye,fr=vt;else e:for(ye=Xe;fr!==null;){if(ke=fr,(ke.flags&2048)!==0)try{switch(ke.tag){case 0:case 11:case 15:tg(9,ke)}}catch(hr){ji(ke,ke.return,hr)}if(ke===ye){fr=null;break e}var Qt=ke.sibling;if(Qt!==null){Qt.return=ke.return,fr=Qt;break e}fr=ke.return}}if(bn=$,yl(),Qr&&typeof Qr.onPostCommitFiberRoot=="function")try{Qr.onPostCommitFiberRoot(Lt,u)}catch{}C=!0}return C}finally{Zt=v,gs.transition=f}}return!1}function tD(u,f,v){f=C0(v,f),f=v4(u,f,1),Sl(u,f),f=Qa(),u=lg(u,1),u!==null&&(it(u,1,f),yo(u,f))}function ji(u,f,v){if(u.tag===3)tD(u,u,v);else for(;f!==null;){if(f.tag===3){tD(f,u,v);break}else if(f.tag===1){var C=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof C.componentDidCatch=="function"&&(wl===null||!wl.has(C))){u=C0(v,u),u=g4(f,u,1),Sl(f,u),u=Qa(),f=lg(f,1),f!==null&&(it(f,1,u),yo(f,u));break}}f=f.return}}function Mse(u,f,v){var C=u.pingCache;C!==null&&C.delete(f),f=Qa(),u.pingedLanes|=u.suspendedLanes&v,ra===u&&(ya&v)===v&&(na===4||na===3&&(ya&130023424)===ya&&500>yt()-$0?_c(u,0):M0|=v),yo(u,f)}function rD(u,f){f===0&&((u.mode&1)===0?f=1:(f=$o,$o<<=1,($o&130023424)===0&&($o=4194304)));var v=Qa();u=lg(u,f),u!==null&&(it(u,f,v),yo(u,v))}function $se(u){var f=u.memoizedState,v=0;f!==null&&(v=f.retryLane),rD(u,v)}function Fse(u,f){var v=0;switch(u.tag){case 13:var C=u.stateNode,$=u.memoizedState;$!==null&&(v=$.retryLane);break;case 19:C=u.stateNode;break;default:throw Error(r(314))}C!==null&&C.delete(f),rD(u,v)}var nD;nD=function(u,f,v){if(u!==null)if(u.memoizedProps!==f.pendingProps||ho.current)go=!0;else{if((u.lanes&v)===0&&(f.flags&128)===0)return go=!1,Ase(u,f,v);go=(u.flags&131072)!==0}else go=!1,wi&&(f.flags&1048576)!==0&&Uk(f,Hv,f.index);switch(f.lanes=0,f.tag){case 2:var C=f.type;u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps;var $=Hf(f,Da.current);zf(f,v),$=y0(null,f,C,u,$,v);var Q=_0();return f.flags|=1,typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,po(C)?(Q=!0,Nv(f)):Q=!1,f.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,i0(f),$.updater=qv,f.stateNode=$,$._reactInternals=f,o0(f,C,u,v),f=x0(null,f,C,!0,Q,v)):(f.tag=0,wi&&Q&&s0(f),Xa(null,f,$,v),f=f.child),f;case 16:C=f.elementType;e:{switch(u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),u=f.pendingProps,$=C._init,C=$(C._payload),f.type=C,$=f.tag=Use(C),u=$s(C,u),$){case 0:f=R0(null,f,C,u,v);break e;case 1:f=x4(null,f,C,u,v);break e;case 11:f=b4(null,f,C,u,v);break e;case 14:f=C4(null,f,C,$s(C.type,u),v);break e}throw Error(r(306,C,""))}return f;case 0:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),R0(u,f,C,$,v);case 1:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),x4(u,f,C,$,v);case 3:e:{if(O4(f),u===null)throw Error(r(387));C=f.pendingProps,Q=f.memoizedState,$=Q.element,Dk(u,f),Uv(f,C,null,v);var ye=f.memoizedState;if(C=ye.element,Q.isDehydrated)if(Q={element:C,isDehydrated:!1,cache:ye.cache,pendingSuspenseBoundaries:ye.pendingSuspenseBoundaries,transitions:ye.transitions},f.updateQueue.baseState=Q,f.memoizedState=Q,f.flags&256){$=Error(r(423)),f=I4(u,f,C,v,$);break e}else if(C!==$){$=Error(r(424)),f=I4(u,f,C,v,$);break e}else for(vo=xu(f.stateNode.containerInfo.firstChild),Bo=f,wi=!0,js=null,v=Wk(f,null,C,v),f.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Kf(),C===$){f=Lu(u,f,v);break e}Xa(u,f,C,v)}f=f.child}return f;case 5:return Gk(f),u===null&&c0(f),C=f.type,$=f.pendingProps,Q=u!==null?u.memoizedProps:null,ye=$.children,K1(C,$)?ye=null:Q!==null&&K1(C,Q)&&(f.flags|=32),R4(u,f),Xa(u,f,ye,v),f.child;case 6:return u===null&&c0(f),null;case 13:return k4(u,f,v);case 4:return d0(f,f.stateNode.containerInfo),C=f.pendingProps,u===null?f.child=Yf(f,null,C,v):Xa(u,f,C,v),f.child;case 11:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),b4(u,f,C,$,v);case 7:return Xa(u,f,f.pendingProps,v),f.child;case 8:return Xa(u,f,f.pendingProps.children,v),f.child;case 12:return Xa(u,f,f.pendingProps.children,v),f.child;case 10:e:{if(C=f.type._context,$=f.pendingProps,Q=f.memoizedProps,ye=$.value,ci($v,C._currentValue),C._currentValue=ye,Q!==null)if(tr(Q.value,ye)){if(Q.children===$.children&&!ho.current){f=Lu(u,f,v);break e}}else for(Q=f.child,Q!==null&&(Q.return=f);Q!==null;){var ke=Q.dependencies;if(ke!==null){ye=Q.child;for(var Be=ke.firstContext;Be!==null;){if(Be.context===C){if(Q.tag===1){Be=Pu(-1,v&-v),Be.tag=2;var mt=Q.updateQueue;if(mt!==null){mt=mt.shared;var $t=mt.pending;$t===null?Be.next=Be:(Be.next=$t.next,$t.next=Be),mt.pending=Be}}Q.lanes|=v,Be=Q.alternate,Be!==null&&(Be.lanes|=v),n0(Q.return,v,f),ke.lanes|=v;break}Be=Be.next}}else if(Q.tag===10)ye=Q.type===f.type?null:Q.child;else if(Q.tag===18){if(ye=Q.return,ye===null)throw Error(r(341));ye.lanes|=v,ke=ye.alternate,ke!==null&&(ke.lanes|=v),n0(ye,v,f),ye=Q.sibling}else ye=Q.child;if(ye!==null)ye.return=Q;else for(ye=Q;ye!==null;){if(ye===f){ye=null;break}if(Q=ye.sibling,Q!==null){Q.return=ye.return,ye=Q;break}ye=ye.return}Q=ye}Xa(u,f,$.children,v),f=f.child}return f;case 9:return $=f.type,C=f.pendingProps.children,zf(f,v),$=ds($),C=C($),f.flags|=1,Xa(u,f,C,v),f.child;case 14:return C=f.type,$=$s(C,f.pendingProps),$=$s(C.type,$),C4(u,f,C,$,v);case 15:return T4(u,f,f.type,f.pendingProps,v);case 17:return C=f.type,$=f.pendingProps,$=f.elementType===C?$:$s(C,$),u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,po(C)?(u=!0,Nv(f)):u=!1,zf(f,v),Fk(f,C,$),o0(f,C,$,v),x0(null,f,C,!0,u,v);case 19:return M4(u,f,v);case 22:return A4(u,f,v)}throw Error(r(156,f.tag))};function iD(u,f){return fe(u,f)}function jse(u,f,v,C){this.tag=u,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=C,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ys(u,f,v,C){return new jse(u,f,v,C)}function z0(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Use(u){if(typeof u=="function")return z0(u)?1:0;if(u!=null){if(u=u.$$typeof,u===G)return 11;if(u===J)return 14}return 2}function Al(u,f){var v=u.alternate;return v===null?(v=ys(u.tag,f,u.key,u.mode),v.elementType=u.elementType,v.type=u.type,v.stateNode=u.stateNode,v.alternate=u,u.alternate=v):(v.pendingProps=f,v.type=u.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=u.flags&14680064,v.childLanes=u.childLanes,v.lanes=u.lanes,v.child=u.child,v.memoizedProps=u.memoizedProps,v.memoizedState=u.memoizedState,v.updateQueue=u.updateQueue,f=u.dependencies,v.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},v.sibling=u.sibling,v.index=u.index,v.ref=u.ref,v}function fg(u,f,v,C,$,Q){var ye=2;if(C=u,typeof u=="function")z0(u)&&(ye=1);else if(typeof u=="string")ye=5;else e:switch(u){case m:return Ec(v.children,$,Q,f);case k:ye=8,$|=8;break;case D:return u=ys(12,v,f,$|2),u.elementType=D,u.lanes=Q,u;case Y:return u=ys(13,v,f,$),u.elementType=Y,u.lanes=Q,u;case X:return u=ys(19,v,f,$),u.elementType=X,u.lanes=Q,u;case ue:return dg(v,$,Q,f);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case V:ye=10;break e;case F:ye=9;break e;case G:ye=11;break e;case J:ye=14;break e;case Z:ye=16,C=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return f=ys(ye,v,f,$),f.elementType=u,f.type=C,f.lanes=Q,f}function Ec(u,f,v,C){return u=ys(7,u,C,f),u.lanes=v,u}function dg(u,f,v,C){return u=ys(22,u,C,f),u.elementType=ue,u.lanes=v,u.stateNode={},u}function W0(u,f,v){return u=ys(6,u,null,f),u.lanes=v,u}function G0(u,f,v){return f=ys(4,u.children!==null?u.children:[],u.key,f),f.lanes=v,f.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},f}function qse(u,f,v,C,$){this.tag=f,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=C,this.onRecoverableError=$,this.mutableSourceEagerHydrationData=null}function K0(u,f,v,C,$,Q,ye,ke,Be){return u=new qse(u,f,v,ke,Be),f===1?(f=1,Q===!0&&(f|=8)):f=0,Q=ys(3,null,null,f),u.current=Q,Q.stateNode=u,Q.memoizedState={element:C,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},i0(Q),u}function Vse(u,f,v){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:C==null?null:""+C,children:u,containerInfo:f,implementation:v}}function aD(u){if(!u)return ml;u=u._reactInternals;e:{if(xi(u)!==u||u.tag!==1)throw Error(r(170));var f=u;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(po(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(u.tag===1){var v=u.type;if(po(v))return Ik(u,v,f)}return f}function oD(u,f,v,C,$,Q,ye,ke,Be){return u=K0(v,C,!0,u,$,Q,ye,ke,Be),u.context=aD(null),v=u.current,C=Qa(),$=Cl(v),Q=Pu(C,$),Q.callback=f??null,Sl(v,Q),u.current.lanes=$,it(u,$,C),yo(u,C),u}function hg(u,f,v,C){var $=f.current,Q=Qa(),ye=Cl($);return v=aD(v),f.context===null?f.context=v:f.pendingContext=v,f=Pu(Q,ye),f.payload={element:u},C=C===void 0?null:C,C!==null&&(f.callback=C),Sl($,f),u=ms($,ye,Q),u!==null&&jv(u,$,ye),ye}function pg(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function sD(u,f){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var v=u.retryLane;u.retryLane=v!==0&&v<f?v:f}}function Y0(u,f){sD(u,f),(u=u.alternate)&&sD(u,f)}function Hse(){return null}var uD=typeof reportError=="function"?reportError:function(u){console.error(u)};function X0(u){this._internalRoot=u}vg.prototype.render=X0.prototype.render=function(u){var f=this._internalRoot;if(f===null)throw Error(r(409));hg(u,f,null,null)},vg.prototype.unmount=X0.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var f=u.containerInfo;yc(function(){hg(null,u,null,null)}),f[Ou]=null}};function vg(u){this._internalRoot=u}vg.prototype.unstable_scheduleHydration=function(u){if(u){var f=Ii();u={blockedOn:null,target:u,priority:f};for(var v=0;v<ua.length&&f!==0&&f<ua[v].priority;v++);ua.splice(v,0,u),v===0&&Ga(u)}};function Q0(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function gg(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function lD(){}function Bse(u,f,v,C,$){if($){if(typeof C=="function"){var Q=C;C=function(){var mt=pg(ye);Q.call(mt)}}var ye=oD(f,C,u,0,null,!1,!1,"",lD);return u._reactRootContainer=ye,u[Ou]=ye.current,Ch(u.nodeType===8?u.parentNode:u),yc(),ye}for(;$=u.lastChild;)u.removeChild($);if(typeof C=="function"){var ke=C;C=function(){var mt=pg(Be);ke.call(mt)}}var Be=K0(u,0,!1,null,null,!1,!1,"",lD);return u._reactRootContainer=Be,u[Ou]=Be.current,Ch(u.nodeType===8?u.parentNode:u),yc(function(){hg(f,Be,v,C)}),Be}function mg(u,f,v,C,$){var Q=v._reactRootContainer;if(Q){var ye=Q;if(typeof $=="function"){var ke=$;$=function(){var Be=pg(ye);ke.call(Be)}}hg(f,ye,u,$)}else ye=Bse(v,f,u,$,C);return pg(ye)}Pr=function(u){switch(u.tag){case 3:var f=u.stateNode;if(f.current.memoizedState.isDehydrated){var v=Ba(f.pendingLanes);v!==0&&(Vt(f,v|1),yo(f,yt()),(bn&6)===0&&(Jf=yt()+500,yl()))}break;case 13:var C=Qa();yc(function(){return ms(u,1,C)}),Y0(u,1)}},kn=function(u){if(u.tag===13){var f=Qa();ms(u,134217728,f),Y0(u,134217728)}},Oi=function(u){if(u.tag===13){var f=Qa(),v=Cl(u);ms(u,v,f),Y0(u,v)}},Ii=function(){return Zt},ls=function(u,f){var v=Zt;try{return Zt=u,f()}finally{Zt=v}},ut=function(u,f,v){switch(f){case"input":if(Te(u,v),f=v.name,v.type==="radio"&&f!=null){for(v=u;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<v.length;f++){var C=v[f];if(C!==u&&C.form===u.form){var $=Dv(C);if(!$)throw Error(r(90));re(C),Te(C,$)}}}break;case"textarea":Ve(u,v);break;case"select":f=v.value,f!=null&&be(u,!!v.multiple,f,!1)}},wr=V0,Ur=yc;var zse={usingClientEntryPoint:!1,Events:[Rh,qf,Dv,yr,ir,V0]},Vh={findFiberByHostInstance:fc,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},Wse={bundleType:Vh.bundleType,version:Vh.version,rendererPackageName:Vh.rendererPackageName,rendererConfig:Vh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=gt(u),u===null?null:u.stateNode},findFiberByHostInstance:Vh.findFiberByHostInstance||Hse,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yg.isDisabled&&yg.supportsFiber)try{Lt=yg.inject(Wse),Qr=yg}catch{}}return _o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zse,_o.createPortal=function(u,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Q0(f))throw Error(r(200));return Vse(u,f,null,v)},_o.createRoot=function(u,f){if(!Q0(u))throw Error(r(299));var v=!1,C="",$=uD;return f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(C=f.identifierPrefix),f.onRecoverableError!==void 0&&($=f.onRecoverableError)),f=K0(u,1,!1,null,null,v,!1,C,$),u[Ou]=f.current,Ch(u.nodeType===8?u.parentNode:u),new X0(f)},_o.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var f=u._reactInternals;if(f===void 0)throw typeof u.render=="function"?Error(r(188)):(u=Object.keys(u).join(","),Error(r(268,u)));return u=gt(f),u=u===null?null:u.stateNode,u},_o.flushSync=function(u){return yc(u)},_o.hydrate=function(u,f,v){if(!gg(f))throw Error(r(200));return mg(null,u,f,!0,v)},_o.hydrateRoot=function(u,f,v){if(!Q0(u))throw Error(r(405));var C=v!=null&&v.hydratedSources||null,$=!1,Q="",ye=uD;if(v!=null&&(v.unstable_strictMode===!0&&($=!0),v.identifierPrefix!==void 0&&(Q=v.identifierPrefix),v.onRecoverableError!==void 0&&(ye=v.onRecoverableError)),f=oD(f,null,u,1,v??null,$,!1,Q,ye),u[Ou]=f.current,Ch(u),C)for(u=0;u<C.length;u++)v=C[u],$=v._getVersion,$=$(v._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[v,$]:f.mutableSourceEagerHydrationData.push(v,$);return new vg(f)},_o.render=function(u,f,v){if(!gg(f))throw Error(r(200));return mg(null,u,f,!1,v)},_o.unmountComponentAtNode=function(u){if(!gg(u))throw Error(r(40));return u._reactRootContainer?(yc(function(){mg(null,null,u,!1,function(){u._reactRootContainer=null,u[Ou]=null})}),!0):!1},_o.unstable_batchedUpdates=V0,_o.unstable_renderSubtreeIntoContainer=function(u,f,v,C){if(!gg(v))throw Error(r(200));if(u==null||u._reactInternals===void 0)throw Error(r(38));return mg(u,f,v,!1,C)},_o.version="18.1.0-next-22edb9f77-20220426",_o}var DY;function Bne(){if(DY)return rx.exports;DY=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(),rx.exports=Mbe(),rx.exports}var p3=Bne();const jc=jn(p3);function $be(e){e()}let zne=$be;const Fbe=e=>zne=e,jbe=()=>zne,Wl=Xt.createContext(null);function Wne(){return me.useContext(Wl)}const Ube=()=>{throw new Error("uSES not initialized!")};let Gne=Ube;const qbe=e=>{Gne=e},Vbe=(e,t)=>e===t;function Hbe(e=Wl){const t=e===Wl?Wne:()=>me.useContext(e);return function(n,i=Vbe){const{store:o,subscription:a,getServerState:s}=t(),l=Gne(a.addNestedSub,o.getState,s||o.getState,n,i);return me.useDebugValue(l),l}}const Kne=Hbe();function Pp(){return Pp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pp.apply(null,arguments)}function E1(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 ax={exports:{}},Ln={};/** @license React v16.13.1
|
|
108
|
+
* react-is.production.min.js
|
|
109
|
+
*
|
|
110
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
111
|
+
*
|
|
112
|
+
* This source code is licensed under the MIT license found in the
|
|
113
|
+
* LICENSE file in the root directory of this source tree.
|
|
114
|
+
*/var LY;function Bbe(){if(LY)return Ln;LY=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,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function x(R){if(typeof R=="object"&&R!==null){var O=R.$$typeof;switch(O){case t:switch(R=R.type,R){case l:case c:case n:case o:case i:case h:return R;default:switch(R=R&&R.$$typeof,R){case s:case d:case S:case g:case a:return R;default:return O}}case r:return O}}}function A(R){return x(R)===c}return Ln.AsyncMode=l,Ln.ConcurrentMode=c,Ln.ContextConsumer=s,Ln.ContextProvider=a,Ln.Element=t,Ln.ForwardRef=d,Ln.Fragment=n,Ln.Lazy=S,Ln.Memo=g,Ln.Portal=r,Ln.Profiler=o,Ln.StrictMode=i,Ln.Suspense=h,Ln.isAsyncMode=function(R){return A(R)||x(R)===l},Ln.isConcurrentMode=A,Ln.isContextConsumer=function(R){return x(R)===s},Ln.isContextProvider=function(R){return x(R)===a},Ln.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},Ln.isForwardRef=function(R){return x(R)===d},Ln.isFragment=function(R){return x(R)===n},Ln.isLazy=function(R){return x(R)===S},Ln.isMemo=function(R){return x(R)===g},Ln.isPortal=function(R){return x(R)===r},Ln.isProfiler=function(R){return x(R)===o},Ln.isStrictMode=function(R){return x(R)===i},Ln.isSuspense=function(R){return x(R)===h},Ln.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===c||R===o||R===i||R===h||R===p||typeof R=="object"&&R!==null&&(R.$$typeof===S||R.$$typeof===g||R.$$typeof===a||R.$$typeof===s||R.$$typeof===d||R.$$typeof===_||R.$$typeof===w||R.$$typeof===b||R.$$typeof===E)},Ln.typeOf=x,Ln}var NY;function zbe(){return NY||(NY=1,ax.exports=Bbe()),ax.exports}var ox,MY;function Wbe(){if(MY)return ox;MY=1;var e=zbe(),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 s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function g(S,E,_){if(typeof E!="string"){if(p){var w=h(E);w&&w!==p&&g(S,w,_)}var b=l(E);c&&(b=b.concat(c(E)));for(var x=a(S),A=a(E),R=0;R<b.length;++R){var O=b[R];if(!r[O]&&!(_&&_[O])&&!(A&&A[O])&&!(x&&x[O])){var m=d(E,O);try{s(S,O,m)}catch{}}}}return S}return ox=g,ox}var Gbe=Wbe();const Kbe=jn(Gbe);var sx={exports:{}},Nn={};/**
|
|
115
|
+
* @license React
|
|
116
|
+
* react-is.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 $Y;function Ybe(){if($Y)return Nn;$Y=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"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=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 c:case d:return _;default:switch(_=_&&_.$$typeof,_){case s:case a:case l:case p:case h:case o:return _;default:return w}}case t:return w}}}return Nn.ContextConsumer=a,Nn.ContextProvider=o,Nn.Element=e,Nn.ForwardRef=l,Nn.Fragment=r,Nn.Lazy=p,Nn.Memo=h,Nn.Portal=t,Nn.Profiler=i,Nn.StrictMode=n,Nn.Suspense=c,Nn.SuspenseList=d,Nn.isAsyncMode=function(){return!1},Nn.isConcurrentMode=function(){return!1},Nn.isContextConsumer=function(_){return E(_)===a},Nn.isContextProvider=function(_){return E(_)===o},Nn.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===e},Nn.isForwardRef=function(_){return E(_)===l},Nn.isFragment=function(_){return E(_)===r},Nn.isLazy=function(_){return E(_)===p},Nn.isMemo=function(_){return E(_)===h},Nn.isPortal=function(_){return E(_)===t},Nn.isProfiler=function(_){return E(_)===i},Nn.isStrictMode=function(_){return E(_)===n},Nn.isSuspense=function(_){return E(_)===c},Nn.isSuspenseList=function(_){return E(_)===d},Nn.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===r||_===i||_===n||_===c||_===d||_===g||typeof _=="object"&&_!==null&&(_.$$typeof===p||_.$$typeof===h||_.$$typeof===o||_.$$typeof===a||_.$$typeof===l||_.$$typeof===S||_.getModuleId!==void 0)},Nn.typeOf=E,Nn}var FY;function Xbe(){return FY||(FY=1,sx.exports=Ybe()),sx.exports}Xbe();function Qbe(){const e=jbe();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 jY={notify(){},get:()=>[]};function Zbe(e,t){let r,n=jY;function i(h){return l(),n.subscribe(h)}function o(){n.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return!!r}function l(){r||(r=e.subscribe(a),n=Qbe())}function c(){r&&(r(),r=void 0,n.clear(),n=jY)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:()=>n};return d}const Jbe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",eCe=Jbe?me.useLayoutEffect:me.useEffect;function Yne({store:e,context:t,children:r,serverState:n}){const i=me.useMemo(()=>{const s=Zbe(e);return{store:e,subscription:s,getServerState:n?()=>n:void 0}},[e,n]),o=me.useMemo(()=>e.getState(),[e]);eCe(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Wl;return Xt.createElement(a.Provider,{value:i},r)}function Xne(e=Wl){const t=e===Wl?Wne:()=>me.useContext(e);return function(){const{store:n}=t();return n}}const tCe=Xne();function rCe(e=Wl){const t=e===Wl?tCe:Xne(e);return function(){return t().dispatch}}const mv=rCe();qbe(Dbe.useSyncExternalStoreWithSelector);Fbe(p3.unstable_batchedUpdates);var Vm="NOT_FOUND";function nCe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Vm},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function iCe(e,t){var r=[];function n(s){var l=r.findIndex(function(d){return t(s,d.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Vm}function i(s,l){n(s)===Vm&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function o(){return r}function a(){r=[]}return{get:n,put:i,getEntries:o,clear:a}}var aCe=function(t,r){return t===r};function oCe(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 sCe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?aCe:n,o=r.maxSize,a=o===void 0?1:o,s=r.resultEqualityCheck,l=oCe(i),c=a===1?nCe(l):iCe(a,l);function d(){var h=c.get(arguments);if(h===Vm){if(h=e.apply(null,arguments),s){var p=c.getEntries(),g=p.find(function(S){return s(S.value,h)});g&&(h=g.value)}c.put(arguments,h)}return h}return d.clearCache=function(){return c.clear()},d}function uCe(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 lCe(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,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=0,d,h={memoizeOptions:void 0},p=s.pop();if(typeof p=="object"&&(h=p,p=s.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var g=h,S=g.memoizeOptions,E=S===void 0?r:S,_=Array.isArray(E)?E:[E],w=uCe(s),b=e.apply(void 0,[function(){return c++,p.apply(null,arguments)}].concat(_)),x=e(function(){for(var R=[],O=w.length,m=0;m<O;m++)R.push(w[m].apply(null,arguments));return d=b.apply(null,R),d});return Object.assign(x,{resultFunc:p,memoizedResultFunc:b,dependencies:w,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),x};return i}const v3={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(o=>{const a=new RegExp(o,"i"),s=Object.keys(e.resources).filter(l=>a.test(l));i.push(...s)}),r&&(i=i.filter(o=>o!==r)),i.reduce((o,a)=>(o[a]=!0,o),{})},updateState(e,t,r){const n=e.getState(),i=v3.getMatchingKeyMap(n.flightData,t.keys),o={...Object.keys(n.flightData.resources).filter(s=>i[s]).reduce((s,l)=>{const c=n.flightData.resources[l];let d=c.response;return c.request.normalize&&(d=h3(c.response,n.flightData.entities)),s[l]=d,s},{})},a=t.updateData(o,r);Object.keys(a).forEach(s=>{const l=n.flightData.resources[s],c=a[s];let d={result:c,entities:{}};l.request.normalize&&(d=Tne(c,l.request.normalizeOptions)),e.dispatch({type:Ja.UPDATE,result:d.result,entities:d.entities,request:l.request})})}};function cCe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const UY={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:YP.Ok,getResponseHeader:()=>""})}else o.errorResponse&&n(o.errorResponse());i()}},cCe(t))}},fCe={isPublicRequest(e){return e.publicUrl!==void 0}},dCe=1e3,hCe=12,qY=18;function ux(e){const t=+e;return isNaN(t)||!t?0:t}const kp={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*dCe;return e<kp.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=hCe&&t<qY?"afternoon":t>=qY?"evening":"morning"},convertDurationToSeconds(e,t,r){return ux(e)*60*60+ux(t)*60+ux(r)}};class Qne{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===pu.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?kp.isExpired(this.requestTime,this.cacheDuration(this.data)):kp.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===pu.Fetching}get hasError(){return this.status===pu.Error}}function pCe(e,t){var n,i;if(!oa.isEqual(e.resource,t.resource)||!e.resource||!t.resource||((n=e.resource.entityIds)==null?void 0:n.length)!==((i=t.resource.entityIds)==null?void 0:i.length))return!1;for(const 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 vCe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return lCe(sCe,pCe)(t,n=>w1(e,n.resource,n.entities).response)}function w1(e,t,r){if(!e||!t)return{resource:t,response:gCe()};let n=t.response;t.request.normalize!==!1&&(n=h3(t.response,r));const i=new Qne({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function gCe(){return new Qne({status:pu.None})}function Zne(e,t){return w1(t,e.flightData.resources[t],e.flightData.entities).response}function Jne(e){return t=>{t&&ph(e,t)}}function mCe(e){return t=>{if(t)return eie(e,t)}}function ph(e,t){e({type:Ja.API_REQUEST,request:t})}function eie(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)},ph(e,t)})}function g3(e,t){var a,s,l,c;const r=e.getState(),n=t==null?void 0:t.key,i=w1(n,r.flightData.resources[n],r.flightData.entities),o=i.response;if(t&&o.shouldFetch){ph(e.dispatch,t);return}if(o.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,g3(e,t))});return}o.hasError?((a=t.error)==null||a.call(t,{status:o.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(s=t.always)==null||s.call(t)):((l=t.success)==null||l.call(t,o.data),(c=t.always)==null||c.call(t))}function A8e(){const e=mv();return Jne(e)}function R8e(){const e=mv();return mCe(e)}function yCe(e){const t=me.useMemo(()=>vCe(e),[e]);return Kne(r=>t(r))}function Qi(e){const t=mv(),r=yCe(e&&e.key),n=Jne(t);return me.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function ia(e,t){return new Promise((r,n)=>{const i=t.success,o=t.error;t.success=a=>{i==null||i(a),r(a)},t.error=a=>{o==null||o(a),n(a)},g3(e,t)})}async function Uu(e,t){const r=e.getState(),{response:n}=w1(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?ia(e,t):(n.shouldFetch&&ph(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function _Ce(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,o=Object.freeze({key:null,url:null,type:Ci.GET,normalize:!0,formatData:a=>a,cacheDuration:i});return function(s){return l=>c=>{if(c.type!==Ja.API_REQUEST){l(c);return}const d=s.getState(),{success:h,error:p,always:g,formatData:S,...E}=Object.assign({},o,c.request),_=d.flightData.resources[E.key];if(l(c),_&&_.status===pu.Fetching)return;if(E.bootstrapName&&n&&n[c.request.bootstrapName]){x(n[c.request.bootstrapName]),R(),delete n[c.request.bootstrapName];return}const w={resource:E.url,type:E.type,data:E.data,success:x,error:A,always:R};if(typeof r!="function"){b(w);return}r(w,E).then(b);return;function b(O){if(UY.isSimulated(E)){UY.simulateFetchData(O,E);return}t(O)}function x(O,m){const k=S(O);let D={result:k,entities:{}};E.normalize&&(D=Tne(k,E.normalizeOptions)),s.dispatch({type:Ja.API_RESPONSE,result:D.result,entities:D.entities,request:E,timestamp:kp.currentTimestamp(),xhr:m});let V=D.result;if(E.normalize){const F={...d.flightData.entities,...D.entities};V=h3(D.result,F)}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(G=>{v3.updateState(s,G,V)}),E.invalidationKeys&&s.dispatch({type:Ja.INVALIDATE,keys:E.invalidationKeys,request:E}),h&&h(V)}function A(O){s.dispatch({type:Ja.API_ERROR,errorResponse:O.responseJSON,request:c.request,timestamp:kp.currentTimestamp(),xhr:O}),E.invalidationKeys&&s.dispatch({type:Ja.INVALIDATE,keys:E.invalidationKeys,request:E}),p&&p(O)}function R(){g&&g()}}}}function tie(e,t){const r={...e};return Object.keys(t).forEach(n=>{if(!e[n]){r[n]={...t[n],__modifyCount:0};return}const i={...e[n],...t[n]};oa.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function SCe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:pu.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function ECe(e,t){var r;return{entities:tie(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:pu.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 wCe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:pu.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function bCe(e,t){var n;const r=v3.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:pu.None}),i},{})}}}function CCe(e=rie,t){return{entities:tie(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 rie={resources:{},entities:{}};function TCe(e=rie,t){switch(t.type){case Ja.API_REQUEST:return SCe(e,t);case Ja.API_RESPONSE:return ECe(e,t);case Ja.API_ERROR:return wCe(e,t);case Ja.INVALIDATE:return bCe(e,t);case Ja.UPDATE:return CCe(e,t)}return e}const Bn={first(e){return vp(e)},firstFew(e,t){return vp(e,t)},last(e){return $m(e)},lastFew(e,t){return $m(e,t)},max(e,t){return VP(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 i1(e,t)},findWhere(e,t){return Rre(e,t)},where(e,t){return Ore(e,t)},groupBy(e,t){return Lre(e,t)},countBy(e,t){return Nre(e,t)},flatten(e,t){return $re(e,t)},intersection(...e){return jre(...e)},addOrRemove(e,t){const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),e},addOrRemoveImmutable(e,t){const r=e.indexOf(t),n=oa.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return Dre(e,t)},chunk(e,t){return qre(e,t)},uniq(e,t){return Ip(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,oa.isObject(n)?{[n[t]]:n}:{[t]:n}),{})},findIndexById(e,t){return e.findIndex(r=>r.id===t.id)},removeItem(e,t){const r=this.findIndex(e,t);return r===-1?e:this.removeItemFromIndex(e,r)},removeItemFromIndex(e,t){return[...e.slice(0,t),...e.slice(t+1)]},findMatchedIdIndex(e,t){return e.findIndex(r=>{var n;return((n=r.id)==null?void 0:n.toString())===t.toString()})},shuffle(e){return kre(e)}};var Ul=(e=>(e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1",e))(Ul||{}),Ws=(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))(Ws||{}),Za=(e=>(e.ManagePublicPresentation="presentation.public.manage",e.ManageDiscoverPreferences="discover.preferences.manage",e.ViewPlaylistsLanding="playlists.landing.view",e.ViewMyVideosLanding="myvideos.landing.view",e.ViewMyFavouritesLanding="myfavourites.landing.view",e.ViewWatchHistoryLanding="watchhistory.landing.view",e.ViewMySharesLanding="myshares.landing.view",e.WatchVideos="video.watch",e.UseVideoActions="video.actions",e.UseSeriesActions="series.actions",e.ViewVideoResourceItems="video.resourceitems.view",e.ViewNotifications="notifications.view",e.ViewTrendingTopics="classifications.trending.view",e.FollowComingSoonTopics="classifications.comingsoon.follow",e))(Za||{}),Ro=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(Ro||{});const Ks={config(e,t){return{url:"/api/config",key:"config",bootstrapName:"config",success:e,error:t}},version(e,t){return{url:"/api/version",key:"version",bootstrapName:"version",normalize:!1,success:e,error:t}},geoLocation(){return{url:"/api/geolocation",key:"geolocation",normalize:!1,bootstrapName:"geolocation"}}},ACe=/\/$/,va={urlBuilder(e,t){const n=Object.entries(t).map(([i,o])=>i&&Array.isArray(o)?o.map(s=>`${i}=${encodeURIComponent(s)}`).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(ACe,"")}},Hm={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"},x8e={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"},VY={domainLibraries(e,t,r,n){return{url:va.urlBuilder("/api/domain/v2/me/libraries",{type:e,maxCategoryDepth:0}),key:`libraries:${e.sort().join(":")}`,formatData:i=>i.map(o=>o.data),success:t,error:r,always:n}},libraryRequestLibraries(){return{url:"{gateway}/v1/library-requests/libraries",key:"libraries"}},librariesWithCategories(){return{url:va.urlBuilder("/api/domain/v2/me/libraries",{type:["sharedLibrary","customLibrary","unpublishedCustomLibrary"],maxCategoryDepth:5}),key:"libraries:with:categories",normalize:!1}},librariesWithOwnerLogos(e,t,r,n){return e.sort(),{url:va.urlBuilder("/api/domain/v2/objects",{query:Hm.LIBRARY_COLLECTION,id:e}),key:`libraries:owner:logo:${e.join(",")}`,success:t,error:r,always:n}},library(e,t,r,n){return{url:va.urlBuilder(`{gateway}/v1/objects/${e}`,{query:Hm.LIBRARY}),key:`library:${e}`,success:t,error:r,always:n}},exchange(e){return{url:va.urlBuilder(`{gateway}/v1/objects/${e}`,{query:"categorytree"}),key:"exchange"}},streamableLearning(){return{url:"{gateway}/v1/streamable-learning-library",key:"streamable:learning"}},librarySubscribers(e,t){const r={};return t&&(r.cursor=t),{url:va.urlBuilder(`{gateway}/v1/library-requests/libraries/${e}/subscribers`,r),key:`library:subscribers:${e}:${t}`}},libraryOwner(e){return{url:`{gateway}/v1/library-requests/libraries/${e}/subscribers?ownerOnly=true`,key:`library:owner:${e}`,formatData:t=>Bn.first(t.data)}},updateSubscriberPermissions(e,t,r,n,i){return{url:`{gateway}/v1/libraries/${e}/library-request-permissions`,key:`update:subscriber:permissions:${e}:${t}`,type:Ci.PUT,data:{customerId:t,granted:r},invalidationKeys:[`library:owner:${e}`,`library:subscribers:${e}`],success:n,error:i}},removeSubscriber(e,t,r,n){return{url:`{gateway}/v1/objects/${e}/subscribedcustomers?memberId=${t}`,key:`revoke:subscription:${e}:${t}`,type:Ci.DELETE,invalidationKeys:[`library:subscribers:${e}`],success:r,error:n}},folder(e,t,r,n){return{url:`{gateway}/v1/objects/${e}?query=banner,libraries`,key:`library:folder:${e}`,success:t,error:r,always:n}},videoFolders(e){return{url:`{gateway}/v1/objects/${e}/categories?query=libraries`,key:`video:folders:${e}`}},folderParentTree(e,t,r,n){return{url:`/api/domain/v2/categories/${e}/parent-tree?includeAll=false`,key:`folder:parent:tree${e}`,success:t,error:r,always:n}},childFolders(e,t,r,n,i){let o=`{gateway}/v1/objects/${e}/categories?query={limit:100}thumbnail`,a=`child:folders:${e}`;return t&&(o+=`&cursor=${t}`,a+=`:${t}`),{url:o,key:a,formatData:s=>{const l=s.data.sort((c,d)=>c.name.toLowerCase().localeCompare(d.name.toLowerCase()));return{...s,data:l}},success:r,error:n,always:i}},addToLibrary(e,t){const r=["folder","videos",e.metadata.destinationCategoryId,t].filter(n=>!!n).join(":");return{url:"{gateway}/v1/library-requests",key:`add:${e.objectId}:to:${e.destinationLibraryId}:${e.metadata.destinationCategoryId}`,type:Ci.POST,data:e,invalidationKeys:r}},libraries(){return{url:"{gateway}/v1/users/me/libraries",key:"objects:libraries"}},libraryExport(e){return{url:"{gateway}/v1/libraries/export",key:"library:export",type:Ci.POST,data:e}},libraryExportV2(e){return{url:"{gateway}/v2/libraries/export",key:"library:export:v2",type:Ci.POST,data:e}}},zc={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},m3={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:zc.PRODUCTS}}},oi={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:zc.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:va.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:Ci.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:zc.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:zc.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:Ci.PUT,data:{customerId:t,users:[{userId:e,jobTitle:r}]},updateState:{keys:`users:${e}`,updateData:n=>{const i=n[`users:${e}`];return{...n,[`users:${e}`]:{...i,userProfile:{...i.userProfile,metadata:{...i.userProfile.metadata||{},jobTitle:r}}}}}}}},getById(e,t){const r=Bn.uniq(e);return r.sort(),{url:`{gateway}/v1/objects?query=${`avatar&${r.map(i=>`id=${i}`).join("&")}`}`,key:`users:by:id:${r.join(",")}`,error:t}}},nie={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService",BrazeClient:"BrazeClientService"},RCe=5,xCe=3;let OCe=class extends No{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return nie.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(_n.SHELL,An.ROUTE,this.setContext),this.listenTo(_n.SHELL,An.ROUTE,this.updateRouteHistory)}setContext(t){var r;Fn.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=RCe&&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;Fn.getHref(t)&&(Fn.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=xCe&&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 Gl=new OCe,Cr={Default:{LOG_OUT:"log:out",CHALLENGE:"challenge",CONTACT_US:"contact:us",CONTACT_US_POPUP:"contact:us:popup",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Dashboard:{HOME:"index",DASHBOARD_WIDGET:"dashboard:widget",COMPANY_DASHBOARD:"company:dashboard",CONTENT_PARTNERS:"content:partners"},Subjects:{CLASSIFICATION:"classification",CLASSIFICATION_ALL:"classification:all",CLASSIFICATION_TOPICS:"classification:topics"},Search:{HOME:"index"},Videos:{PLAY_VIDEO:"play:video",PREVIEW_PDF:"preview:pdf",SIGN_IN_POPUP:"sign:in:popup",CLASSROOM_GUIDE:"classroom:guide",RESOURCE_GUIDANCE:"resource:guidance"},Calendar:{CALENDAR:"calendar",CALENDAR_MONTH:"calendar:month",SPECIAL_EVENT_LIST:"special:event:list"},Settings:{HOME:"index",PROFILE_DETAILS:"profile:details",ACCOUNT:"account"},Livestreams:{LIVESTREAM:"livestream"}},ICe="streamableShared.noAccess",lx=_r.encloseNamespace(ICe);class PCe extends pv{constructor(t,r){super("Current user's school does not have access to Streamable Learning"),this.config=t,this.allowCta=r}get name(){return"NoAccessError"}get heading(){return lx("heading")}get description(){return lx("body",{liteUrl:this.config.liteUrl,escapeText:!0})}get cta(){return this.allowCta?{text:lx("requestAccess"),className:"btn btn-dark",appLink:{application:ur.DEFAULT,action:Cr.Default.CONTACT_US_POPUP}}:!1}get injectDescriptionHtml(){return!0}}const HY="streamableShared.accountSetup";class kCe extends pv{constructor(t){super("Current user's account is not setup correctly for Streamable Learning"),this.config=t}get name(){return"AccountSetupError"}get heading(){return _r.getPhrase(HY,"heading")}get description(){return _r.getPhrase(HY,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}var iie=(e=>(e.Subject="Subject",e.Curriculum="Curriculum",e.StreamableLearning="StreamableLearning",e))(iie||{});const DCe={streamablePresentation(){return{url:va.urlBuilder("/api/subjects/presentations/available",{type:iie.StreamableLearning}),key:"streamable:learning:presentations",bootstrapName:"availablePresentations",formatData:e=>e[0],normalizeOptions:{namespace:"internal:presentation"}}}},LCe=[{application:ur.DEFAULT,action:Cr.Default.ERROR},{application:ur.DEFAULT,action:Cr.Default.DEV_ERROR},{application:ur.DEFAULT,action:Cr.Default.CHALLENGE},{application:ur.DEFAULT,action:Cr.Default.LOG_OUT},{application:ur.DEFAULT,action:Cr.Default.CONTACT_US_POPUP}],NCe=LCe.reduce((e,t)=>(e[aie(t)]=!0,e),{});function aie(e){return e.application+e.action}function BY(e,t){Gl._forcePushContext(e),Zs.disableNav(),Wo.routingEnded(),vr.throw(t??new Jc)}async function oc(e,t){const{appLink:r,shell:n}=e;try{const i=await Uu(n.store,oi.currentUser());if(!i.isAuthenticated){t(e);return}const o=Uu(n.store,m3.userProducts()),a=Uu(n.store,DCe.streamablePresentation()),s=Uu(n.store,VY.libraries()),l=Uu(n.store,VY.streamableLearning()),c=await o,d=await a,h=await s,p=await l,g=c.find(_=>_.id===Ro.StreamableLearning),S=h.find(_=>_.id.toString()===p.objectId.toString())&&!!d;if(g&&S){t(e);return}if(NCe[aie(e.appLink)]){Zs.disableNav(),t(e);return}const E=await Uu(n.store,Ks.config());if(!g){const b=!(await Uu(n.store,oi.permissions()))[Ws.StudentExperience]&&i.instanceRegion===Ul.US;BY(r,new PCe(E,b));return}BY(r,new kCe(E))}catch{t(e)}}const MCe=[{application:ur.DEFAULT,action:Cr.Default.INDEX},{application:ur.DEFAULT,action:Cr.Default.ERROR},{application:ur.DEFAULT,action:Cr.Default.NOT_FOUND},{application:ur.DEFAULT,action:Cr.Default.DEV_ERROR},{application:ur.DEFAULT,action:Cr.Default.DIALOG_ERROR},{application:ur.DEFAULT,action:Cr.Default.CONTACT_US},{application:ur.DEFAULT,action:Cr.Default.CONTACT_US_POPUP},{application:ur.DASHBOARD,action:Cr.Dashboard.HOME},{application:ur.DASHBOARD,action:Cr.Dashboard.DASHBOARD_WIDGET},{application:ur.DASHBOARD,action:Cr.Dashboard.CONTENT_PARTNERS},{application:ur.DASHBOARD,action:Cr.Dashboard.COMPANY_DASHBOARD},{application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION},{application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION_ALL},{application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION_TOPICS},{application:ur.SEARCH,action:Cr.Search.HOME},{application:ur.VIDEOS,action:Cr.Videos.PLAY_VIDEO},{application:ur.VIDEOS,action:Cr.Videos.SIGN_IN_POPUP},{application:ur.CALENDAR,action:Cr.Calendar.CALENDAR},{application:ur.CALENDAR,action:Cr.Calendar.CALENDAR_MONTH},{application:ur.CALENDAR,action:Cr.Calendar.SPECIAL_EVENT_LIST},{application:ur.LIVESTREAMS,action:Cr.Livestreams.LIVESTREAM}],$Ce=(e,t)=>(e[oie(t)]=!0,e),FCe=MCe.reduce($Ce,{});function oie(e){return e.application+e.action}function jCe(e){Gl._forcePushContext(e),Zs.disableNav(),Wo.routingEnded(),vr.throw(new Jc)}async function sc(e,t){try{const r=await Uu(e.shell.store,oi.currentUser());if(FCe[oie(e.appLink)]||r!=null&&r.isAuthenticated){t(e);return}Wo.routingEnded(),Fn.trigger({application:ur.DEFAULT,action:Cr.Default.CHALLENGE},{replace:!0})}catch{jCe(e.appLink)}}const y3={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:y3.getMemoryStorage()},getMemoryStorage(){const e=new Map;return{setItem(t,r){e.set(t,r)},getItem(t){return e.get(t)},removeItem(t){e.delete(t)},clear(){e.clear()},get length(){return e.size},key(t){return Array.from(e.values())[t]}}}};var Gs=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Gs||{});class _3{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=y3.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 UCe extends _3{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class qCe extends _3{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class VCe extends _3{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const ja=UCe.Instance,Md=qCe.Instance,zY=VCe.Instance,WY="public:origin";async function Tf(e,t){var o;const r=Md.get(WY),n=(o=e.appLink.params)==null?void 0:o.origin;if(r||!n){t(e);return}const i=await Uu(e.shell.store,oi.currentUser());if(i!=null&&i.isAuthenticated){t(e);return}Md.set(WY,n),t(e)}class HCe extends ic{get channelName(){return ur.CALENDAR}get appRoutes(){return{calendar:"calendar","calendar/:month":"calendarMonth"}}get appLinks(){return["specialEventList"]}get filters(){return[oc,sc,Tf]}}class BCe extends ac{get name(){return"Calendar"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.CALENDAR}static get router(){return HCe}async calendar(t){const{CalendarView:r,sanitizeCalendarViewParams:n}=await zn(async()=>{const{CalendarView:i,sanitizeCalendarViewParams:o}=await import("./BeHz9c4V.chunk.js");return{CalendarView:i,sanitizeCalendarViewParams:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53]));this.layout.showChildView(fn.CONTENT,U.jsx(r,{month:xo.format(YEe.convertUTCToTimezoneDate(new Date().toISOString()),"MMMM-YYYY"),queryParams:n(t)}))}async calendarMonth(t,r){const n=r.year||new Date().getFullYear(),{CalendarView:i,sanitizeCalendarViewParams:o}=await zn(async()=>{const{CalendarView:a,sanitizeCalendarViewParams:s}=await import("./BeHz9c4V.chunk.js");return{CalendarView:a,sanitizeCalendarViewParams:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53]));this.layout.showChildView(fn.CONTENT,U.jsx(i,{month:`${t}-${n}`,queryParams:o(r)}))}async specialEventList(t){const{SpecialEventListView:r}=await zn(async()=>{const{SpecialEventListView:n}=await import("./DwhG2uva.chunk.js");return{SpecialEventListView:n}},__vite__mapDeps([54,14,15,2,3,4,5,16,6,7,8,17,9,18,19,20,21,22,55]));this.layout.showChildView(fn.POPUP,U.jsx(r,{from:t.from,to:t.to,date:t.date,closePopup:()=>this.layout.closePopup()}))}}class zCe extends ic{get channelName(){return ur.DASHBOARD}get appRoutes(){return{"(/)":"index","discover/:id(/:name)(/)":"dashboardWidget","partners(/)":"contentPartners","partners/:id(/:name)(/)":"companyDashboard"}}get filters(){return[oc,sc,Tf]}}class WCe extends ac{get name(){return"Dashboard Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.DASHBOARD}static get router(){return zCe}async index(t){const{DashboardView:r,sanitizeDashboardViewParams:n}=await zn(async()=>{const{DashboardView:i,sanitizeDashboardViewParams:o}=await import("./D84-WY3k.chunk.js");return{DashboardView:i,sanitizeDashboardViewParams:o}},__vite__mapDeps([56,39,40,41,19,29,42,43,3,44,45,46,47,48,57,58,33,28,20,30,34,11,10,12,6,7,8,59,16,17,60,61,62,63,64,65,66,67,68,69,70,71,9,72,73,74,75,76,77,78,79,80,81,82,83,51,84,85,86,87,15,88,89,35,90,91,32,36,37,92,93,94,1,2,4,5,13,50,26,27,31,95,96,97,98,49,52]));this.layout.showChildView(fn.CONTENT,U.jsx(r,{queryParams:n(t)}))}async dashboardWidget(t){const{DashboardWidgetView:r}=await zn(async()=>{const{DashboardWidgetView:n}=await import("./CtM_cXum.chunk.js");return{DashboardWidgetView:n}},__vite__mapDeps([99,81,82,83,19,43,3,44,51,84,41,29,42,45,46,85,20,61,62,86,16,6,7,8,17,70,65,71,87,15,88,89,35,73,90,49,96,28,30,97,100,101]));this.layout.showChildView(fn.CONTENT,U.jsx(r,{widgetId:t}))}async companyDashboard(t,r,n){const i=typeof r=="string"?n:r,{CompanyDashboardView:o,sanitizeDashboardParams:a}=await zn(async()=>{const{CompanyDashboardView:s,sanitizeDashboardParams:l}=await import("./Zbze2j9b.chunk.js");return{CompanyDashboardView:s,sanitizeDashboardParams:l}},__vite__mapDeps([102,15,94,29,103,36,57,58,33,28,20,30,34,11,10,12,6,7,8,59,45,16,17,60,61,19,62,63,64,65,66,67,68,69,70,46,71,9,72,73,74,75,76,77,78,79,80,81,82,83,43,3,44,51,84,41,42,85,86,87,88,89,35,90,91,32,37,92,93,1,2,4,5,13,50,26,27,31,95,96,97,98,104,105,106,107,108,109,49,110,52]));this.layout.showChildView(fn.CONTENT,U.jsx(o,{companyId:t,queryParams:a(i)}))}async contentPartners(){const{ContentPartnersView:t}=await zn(async()=>{const{ContentPartnersView:r}=await import("./C2uxO8e2.chunk.js");return{ContentPartnersView:r}},__vite__mapDeps([111,39,40,41,19,29,42,43,3,44,45,46,47,48,70,65,71,112,7,113,114,115,116,117,110,52,118]));this.layout.showChildView(fn.CONTENT,U.jsx(t,{}))}}const cx="shared.notFoundError";class sie extends pv{constructor(){super(_r.getPhrase(cx,"title"))}get name(){return"NotFoundError"}get heading(){return _r.getPhrase(cx,"heading")}get description(){return _r.getPhrase(cx,"description")}}class GCe extends ic{get channelName(){return ur.DEFAULT}get appRoutes(){return{"contact-us(/)":"contactUs","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","challenge(/)":"challenge"}}get appLinks(){return["devError","dialogError","error","notFound","contactUsPopup","giveFeedback"]}get filters(){return[oc,sc,Tf]}}class KCe extends ac{get name(){return"Default Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.DEFAULT}static get router(){return GCe}giveFeedback(){zn(async()=>{const{GiveFeedbackView:t}=await import("./CYlwi5iC.chunk.js");return{GiveFeedbackView:t}},__vite__mapDeps([119,49,50,51,76,77,78,79,120,68,69,46,30,94,121])).then(({GiveFeedbackView:t})=>{this.layout.showChildView(fn.POPUP,U.jsx(t,{product:Ro.StreamableLearning,closePopup:()=>this.layout.closePopup()}))})}catchAllRoutes(){vr.throw(new sie)}notFound(){const t=jr.Radio.channel("error:view").request("current:error");zn(async()=>{const{NotFoundView:r}=await import("./CvPDjx7y.chunk.js");return{NotFoundView:r}},[]).then(({NotFoundView:r})=>{this.layout.showChildView(fn.CONTENT,U.jsx(r,{error:t}))})}error(){const t=jr.Radio.channel("error:view").request("current:error");zn(async()=>{const{ErrorView:r}=await Promise.resolve().then(()=>b5e);return{ErrorView:r}},void 0).then(({ErrorView:r})=>{this.layout.showChildView(fn.CONTENT,U.jsx(r,{error:t}))})}dialogError(){const t=jr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t;zn(async()=>{const{DialogView:n}=await import("./CQZOieOF.chunk.js");return{DialogView:n}},[]).then(({DialogView:n})=>{this.layout.showChildView(fn.POPUP,U.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const t=jr.Radio.channel("error:view").request("current:error");zn(async()=>{const{DevErrorView:r}=await import("./DhB-Uugx.chunk.js");return{DevErrorView:r}},[]).then(({DevErrorView:r})=>{this.layout.showChildView(fn.CONTENT,U.jsx(r,{error:t}))})}async contactUs(){const{ContactUsView:t}=await zn(async()=>{const{ContactUsView:r}=await import("./DOCam-GK.chunk.js");return{ContactUsView:r}},__vite__mapDeps([122,123,82,124,120,125,52,76,77,78,79,126]));this.layout.showChildView(fn.CONTENT,U.jsx(t,{fromPageLoad:!0,closePopup:()=>this.layout.closePopup()}))}async contactUsPopup(){const{ContactUsView:t}=await zn(async()=>{const{ContactUsView:r}=await import("./DOCam-GK.chunk.js");return{ContactUsView:r}},__vite__mapDeps([122,123,82,124,120,125,52,76,77,78,79,126]));this.layout.showChildView(fn.POPUP,U.jsx(t,{fromPageLoad:!1,closePopup:()=>this.layout.closePopup()}))}}class YCe extends ic{get channelName(){return ur.LIVESTREAMS}get appRoutes(){return{"livestreams/:id(/:slug)(/)":"livestream"}}get appLinks(){return[]}get filters(){return[oc,sc,Tf]}}class XCe extends ac{get name(){return"Livestreams Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.VIDEOS}static get router(){return YCe}async livestream(t){const r=Gl.fromPageLoad(),{LivestreamView:n}=await zn(async()=>{const{LivestreamView:i}=await import("./Bsa3zcW0.chunk.js");return{LivestreamView:i}},__vite__mapDeps([127,123,82,124,120,125,15,16,6,7,8,17,65,18,19,23,21,3,20,128,115,52,76,77,78,79,129]));this.layout.showChildView(r?fn.CONTENT:fn.POPUP,U.jsx(n,{id:t,fromPageLoad:r,closePopup:()=>this.layout.closePopup()}))}}class QCe extends ic{get channelName(){return ur.SEARCH}get appRoutes(){return{"search(/)":"index"}}get filters(){return[oc,sc,Tf]}}class ZCe extends ac{get name(){return"Search Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.SEARCH}static get router(){return QCe}async index(t){const{SearchResultsView:r}=await zn(async()=>{const{SearchResultsView:n}=await import("./xxo027lm.chunk.js");return{SearchResultsView:n}},__vite__mapDeps([130,83,19,43,3,44,51,84,67,68,69,70,65,46,71,30,9,72,81,82,41,29,42,45,85,20,61,62,86,16,6,7,8,17,87,15,88,89,35,73,90,80,91,25,26,27,28,31,32,33,34,11,10,12,36,37,38,112,113,114,100,49,50,115,116,117,131]));this.layout.showChildView(fn.CONTENT,U.jsx(r,{queryParams:t}))}}class JCe extends ic{get channelName(){return ur.SETTINGS}get appRoutes(){return{"settings(/)":"index","settings/profile(/)":"profileDetails","settings/account(/)":"account"}}get appLinks(){return["createLtiPlatform","deleteLtiPlatform","renameLocalCache","deleteLocalCache","updateLocalCache","approveAllVideos","turnOffContentReview"]}get filters(){return[oc,sc]}}class eTe extends ac{get name(){return"Settings Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.SETTINGS}static get router(){return JCe}async index(){const{SettingsView:t}=await zn(async()=>{const{SettingsView:r}=await import("./XxrnElSv.chunk.js");return{SettingsView:r}},__vite__mapDeps([132,133,134]));this.layout.showChildView(fn.CONTENT,U.jsx(t,{}))}async profileDetails(){const{ProfileDetailsView:t}=await zn(async()=>{const{ProfileDetailsView:r}=await import("./BQQ9SPei.chunk.js");return{ProfileDetailsView:r}},__vite__mapDeps([135,107,75,76,77,78,79,136,109,10,36,133,137]));this.layout.showChildView(fn.CONTENT,U.jsx(t,{}))}async account(){const{AccountSettingsView:t}=await zn(async()=>{const{AccountSettingsView:r}=await import("./BbjveACT.chunk.js");return{AccountSettingsView:r}},__vite__mapDeps([138,75,76,77,78,79,87,136,109,10,36,133,139]));this.layout.showChildView(fn.CONTENT,U.jsx(t,{}))}}const Og={CONTENT:"content",ALERT:"alert"};class tTe extends ic{get channelName(){return ur.SUBJECTS}get appRoutes(){return{"topics(/)":"classificationAll","topics/:id/topics":"classificationTopics","topics/:id(/:slug)(/)":"classification"}}get filters(){return[oc,sc,Tf]}}class rTe extends ac{get name(){return"Subject Application"}static get router(){return tTe}get channelName(){return ur.SUBJECTS}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:Og.ALERT}}}async classificationAll(){const{StreamableClassificationsView:t}=await zn(async()=>{const{StreamableClassificationsView:r}=await import("./BHmtLW9C.chunk.js");return{StreamableClassificationsView:r}},__vite__mapDeps([140,106,2,3,4,66,33,28,20,29,30,34,67,68,69,70,65,46,71,9,72,73,74,88,89,10,6,7,8,107,108,109,36,32,11,12,35,37,50,51,141]));this.layout.showChildView(Og.CONTENT,U.jsx(t,{}))}async classificationTopics(t){const{StreamableClassificationsView:r}=await zn(async()=>{const{StreamableClassificationsView:n}=await import("./BHmtLW9C.chunk.js");return{StreamableClassificationsView:n}},__vite__mapDeps([140,106,2,3,4,66,33,28,20,29,30,34,67,68,69,70,65,46,71,9,72,73,74,88,89,10,6,7,8,107,108,109,36,32,11,12,35,37,50,51,141]));this.layout.showChildView(Og.CONTENT,U.jsx(r,{id:t}))}async classification(t,r,n){const i=typeof r=="string"?n:r||{},{StreamableClassificationView:o,sanitizeStreamableClassificationParams:a}=await zn(async()=>{const{StreamableClassificationView:s,sanitizeStreamableClassificationParams:l}=await import("./BktU87GA.chunk.js");return{StreamableClassificationView:s,sanitizeStreamableClassificationParams:l}},__vite__mapDeps([142,28,20,29,30,94,82,24,96,81,83,19,43,3,44,51,84,41,42,45,46,85,61,62,86,16,6,7,8,17,70,65,71,87,15,88,89,35,73,90,97,106,2,4,66,33,34,67,68,69,9,72,74,10,107,108,57,58,11,12,59,60,63,64,75,76,77,78,79,80,91,32,36,37,92,93,1,5,13,50,26,27,31,95,98,109,103,104,105,40,47,49,128,115,100,52,143,144]));this.layout.showChildView(Og.CONTENT,U.jsx(o,{id:t,queryParams:a(i)},t))}}function nTe(e){return e?oa.pick(e,["t","startTime","endTime","context","contextId","playNext","mtv","tocId"]):{}}const uie={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",CALENDAR:{NO_EVENTS:"/images/empty-states/calendar/empty-event.png",INVALID_DATE:"/images/empty-states/calendar/empty-event.png"},Topics:{TOPIC:"/images/empty-states/topics/topics-v2.png"}},General:{LOST_MESSAGE_BOTTLE:"/images/general/lost-message-bottle.png",EMAIL_SENT:"/images/general/email-sent.png"},Settings:{MY_ACCOUNT:"/images/settings/my-account-v2.png"},Fallbacks:{RESOURCE_THUMBNAIL:"/images/fallbacks/resource-thumbnail.png",RESOURCE_PREVIEW:"/images/fallbacks/resource-preview-v2.png"},StreamableLearning:{LOGO:"/images/streamable-learning/logo.png"}};class iTe extends ic{get channelName(){return ur.VIDEOS}get appRoutes(){return{"videos/:id(/:slug)(/)":"playVideo"}}get appLinks(){return["previewPdf","signInPopup","classroomGuide","resourceGuidance"]}get filters(){return[oc,sc,Tf]}}class aTe extends ac{get name(){return"Videos Application"}get layoutOptions(){return{name:Su.DEFAULT_LAYOUT,options:{showNav:!Zs.shouldHideNav(),alertRegion:fn.ALERT}}}get channelName(){return ur.VIDEOS}static get router(){return iTe}async playVideo(t,r,n={}){const i=(typeof r=="string"?n:r)||{},{PlayView:o}=await zn(async()=>{const{PlayView:a}=await import("./D1EE4AEz.chunk.js");return{PlayView:a}},__vite__mapDeps([145,51,83,19,43,3,44,84,49,115,128,85,20,61,62,86,52,27,28,29,30,31,42,15,58,33,34,11,10,12,6,7,8,59,45,16,17,60,63,64,104,146,77,113,21,95,147,92,93,143,50,117,148]));this.layout.showChildView(fn.CONTENT,U.jsx(o,{id:t,params:nTe(i)}))}async previewPdf(t,r){const{PreviewPdfView:n}=await zn(async()=>{const{PreviewPdfView:i}=await import("./B8XJmK96.chunk.js");return{PreviewPdfView:i}},__vite__mapDeps([149,146,78,88,89,11,10,12,45,83,19,43,3,44,51,84,63,95,150]));this.layout.showChildView(fn.POPUP,U.jsx(n,{id:t,videoId:r.videoId,errorImageUrl:uie.Fallbacks.RESOURCE_PREVIEW,closePopup:()=>this.layout.closePopup(),showBackButton:r.showBackButton}))}async signInPopup(){const{SignInPopupView:t}=await zn(async()=>{const{SignInPopupView:r}=await import("./Dj66TI5y.chunk.js");return{SignInPopupView:r}},__vite__mapDeps([151,152]));this.layout.showChildView(fn.POPUP,U.jsx(t,{closePopup:()=>this.layout.closePopup()}))}classroomGuide(t){zn(async()=>{const{VideoGuidanceClassroomGuideView:r}=await import("./DCcI7sWt.chunk.js");return{VideoGuidanceClassroomGuideView:r}},__vite__mapDeps([153,147,92,93,84,19,51,143,50])).then(({VideoGuidanceClassroomGuideView:r})=>{this.layout.showChildView(fn.POPUP,U.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))})}resourceGuidance(t){zn(async()=>{const{VideoGuidanceResourcesView:r}=await import("./DgEqkZy0.chunk.js");return{VideoGuidanceResourcesView:r}},__vite__mapDeps([154,112,7,113,114,61,19,62,30,59,45,16,6,8,17,60,63,84,51,155])).then(({VideoGuidanceResourcesView:r})=>{this.layout.showChildView(fn.POPUP,U.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))})}}async function oTe(e,t){try{e.registerApplication(KCe).registerApplication(WCe).registerApplication(rTe).registerApplication(ZCe).registerApplication(aTe).registerApplication(BCe).registerApplication(eTe).registerApplication(XCe),t(e)}catch{vr.throw(new Jc)}}var Ko=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Ko||{}),lie=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(lie||{});class sTe extends No{constructor(t){super(t)}initialize(){this.alertCollection=new c1,this.listenTo(_n.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return dv.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=jr.Radio.channel(_n.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=Co({},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=Co({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new Ju(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?Vu(()=>this.createAlert(Co({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?Vu((r,n)=>this.createAlert(Co({},this.options.defaultSuccessAlert,{message:n})),this):Vu(()=>this.createAlert(Co({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?Vu(()=>this.createAlert(Co({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?Vu(r=>this.createAlert(Co({},this.options.defaultErrorAlert,{message:r.message})),this):Vu(()=>this.createAlert(Co({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return pre("alert_")}}class uTe extends No{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return"InstanceManager"}static get Instance(){return this.instance||(this.instance=new this)}registerDataService(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t({dataProvider:this.getInstance(r.dataProvider),cache:this.getInstance(r.cache),bootstrapData:r.bootstrapData,defaultErrorHandler:r.defaultErrorHandler,alertService:r.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():vr.throw(new Cn(`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]=()=>un(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(t){const r=t.name;return this.singletonInstances[r]=t,this}getInstance(t,r){return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||vr.throw(new Cn(`${t} was not registered with ${this.name}`)),this.referenceCounts[t]++,r&&this.listenTo(r,"destroy",()=>this.releaseInstance(t)),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}releaseInstance(t){if(this.instances[t])return window.setTimeout(()=>{this.referenceCounts[t]--,this.referenceCounts[t]<1&&(this.destructors[t](),delete this.instances[t])},0),this}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new Cn(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new Cn(`A class with the name: ${r} has already been registered with ${this.name}`))}}const eo=uTe.Instance;class Af extends l1{constructor(t){super(t),this.dialogOptions||vr.throw(new Cn("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const Ig="shared.chunkLoadError",lTe=/\/([^\s/]+\.css)/,cTe=/\/([^\s/]+\.js)/;class GY extends Af{constructor(t,r,n){super(_r.getPhrase(Ig,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:_r.getPhrase(Ig,"heading",{product:this.product}),text:_r.getPhrase(Ig,"body"),buttons:[{text:_r.getPhrase(Ig,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Mn.Reload()}}function fTe(e,t){window.addEventListener("error",r=>{var s,l;const n=((s=r==null?void 0:r.target)==null?void 0:s.src)||((l=r==null?void 0:r.target)==null?void 0:l.href);if(!n)return;const i=c=>(c==null?void 0:c[1])??"Unknown Chunk",o=n.match(cTe);if(o&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new GY(e,i(o),t));return}const a=n.match(lTe);if(a&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new GY(e,i(a),t));return}},!0)}class cie extends l1{get name(){return"AlertError"}}const WO={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"},dTe={VIDEO_START_TIME_CUTOFF:10,MINIMUM_GLANCE_HEIGHT:368,PRODUCT_NAME:"Streamable Learning"};function hTe(e){eo.getInstance(dv.ALERT).createAlert({heading:WO.Fail,type:Ko.Fail,message:e.message})}function pTe(e){jr.Radio.channel("error:view").replyOnce("current:error",()=>e),Fn.trigger({application:ur.DEFAULT,action:Cr.Default.NOT_FOUND})}function KY(e){jr.Radio.channel("error:view").replyOnce("current:error",()=>e),Fn.trigger({application:ur.DEFAULT,action:Cr.Default.ERROR})}function vTe(e){jr.Radio.channel("error:view").replyOnce("current:error",()=>e),Fn.trigger({application:ur.DEFAULT,action:Cr.Default.DIALOG_ERROR})}function gTe(e,t){e.registerErrorHandler(pv,KY).registerErrorHandler(Af,vTe).registerErrorHandler(cie,hTe).registerErrorHandler(sie,pTe).registerErrorHandler(Jc,KY),fTe("dark",dTe.PRODUCT_NAME),t(e)}var Pg={},YY;function mTe(){if(YY)return Pg;YY=1;var e=Bne();return Pg.createRoot=e.createRoot,Pg.hydrateRoot=e.hydrateRoot,Pg}var S3=mTe();class yTe extends z_e{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return Xt&&Xt.isValidElement(t)}showChildView(t,r,n){if(this.isReactComponent(r)){this.showChildReactComponent(t,r),this.isReactComponentRendered[t]=!0;return}this.isReactComponentRendered[t]&&this.unmountRoot(t),super.showChildView(t,r,n),this.isReactComponentRendered[t]=!1}showChildReactComponent(t,r){if(this.isAttached()){this.renderChildReactComponent(t,r);return}this.listenToOnce(this,"attach",()=>this.renderChildReactComponent(t,r))}renderChildReactComponent(t,r){const n=this.getRegion(t),i=this.$el.find(n.el);!i||!i.length||(n.trigger("before:show"),this.regionRoots[t]||(this.regionRoots[t]=S3.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 U.jsx(Yne,{store:this.options.store,children:t})}}var fx={exports:{}},dx,XY;function _Te(){if(XY)return dx;XY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dx=e,dx}var hx,QY;function STe(){if(QY)return hx;QY=1;var e=_Te();function t(){}function r(){}return r.resetWarningCache=t,hx=function(){function n(a,s,l,c,d,h){if(h!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function i(){return n}var 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},hx}var ZY;function Rf(){return ZY||(ZY=1,fx.exports=STe()()),fx.exports}var ETe=Rf();const Yr=jn(ETe);var px,JY;function wTe(){if(JY)return px;JY=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 s,l,c;if(Array.isArray(o)){if(s=o.length,s!=a.length)return!1;for(l=s;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(s=o.length,s!=a.length)return!1;for(l=s;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(c=Object.keys(o),s=c.length,s!==Object.keys(a).length)return!1;for(l=s;l--!==0;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(e&&o instanceof Element)return!1;for(l=s;l--!==0;)if(!((c[l]==="_owner"||c[l]==="__v"||c[l]==="__o")&&o.$$typeof)&&!i(o[c[l]],a[c[l]]))return!1;return!0}return o!==o&&a!==a}return px=function(a,s){try{return i(a,s)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},px}var bTe=wTe();const CTe=jn(bTe);var vx,eX;function TTe(){if(eX)return vx;eX=1;var e=function(t,r,n,i,o,a,s,l){if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,o,a,s,l],h=0;c=new Error(r.replace(/%s/g,function(){return d[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};return vx=e,vx}var ATe=TTe();const tX=jn(ATe);var gx,rX;function RTe(){return rX||(rX=1,gx=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),s=Object.keys(r);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),c=0;c<a.length;c++){var d=a[c];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}),gx}var xTe=RTe();const OTe=jn(xTe);function Bi(){return Bi=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},Bi.apply(this,arguments)}function E3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,GO(e,t)}function GO(e,t){return GO=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},GO(e,t)}function nX(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 Fr={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},ITe={rel:["amphtml","canonical","alternate"]},PTe={type:["application/ld+json"]},kTe={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"]},iX=Object.keys(Fr).map(function(e){return Fr[e]}),Bm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},DTe=Object.keys(Bm).reduce(function(e,t){return e[Bm[t]]=t,e},{}),Ad=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},LTe=function(e){var t=Ad(e,Fr.TITLE),r=Ad(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Ad(e,"defaultTitle");return t||n||void 0},NTe=function(e){return Ad(e,"onChangeClientState")||function(){}},mx=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Bi({},r,n)},{})},MTe=function(e,t){return t.filter(function(r){return r[Fr.BASE]!==void 0}).map(function(r){return r[Fr.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},[])},Kh=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,g=Object.keys(h),S=0;S<g.length;S+=1){var E=g[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 s=Object.keys(a),l=0;l<s.length;l+=1){var c=s[l],d=Bi({},n[c],a[c]);n[c]=d}return i},[]).reverse()},$Te=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},fie=function(e){return Array.isArray(e)?e.join(""):e},yx=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,o){for(var a=Object.keys(i),s=0;s<a.length;s+=1)if(o[a[s]]&&o[a[s]].includes(i[a[s]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},aX=function(e,t){var r;return Bi({},e,((r={})[t]=void 0,r))},FTe=[Fr.NOSCRIPT,Fr.SCRIPT,Fr.STYLE],_x=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},oX=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},"")},sX=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Bm[n]||n]=e[n],r},t)},Cm=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 s=Bm[a]||a;s==="innerHTML"||s==="cssText"?o.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:o[s]=r[a]}),Xt.createElement(e,o)})},_s=function(e,t,r){switch(e){case Fr.TITLE:return{toComponent:function(){return i=t.titleAttributes,(o={key:n=t.title})["data-rh"]=!0,a=sX(i,o),[Xt.createElement(Fr.TITLE,a,n)];var n,i,o,a},toString:function(){return(function(n,i,o,a){var s=oX(o),l=fie(i);return s?"<"+n+' data-rh="true" '+s+">"+_x(l,a)+"</"+n+">":"<"+n+' data-rh="true">'+_x(l,a)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return sX(t)},toString:function(){return oX(t)}};default:return{toComponent:function(){return Cm(e,t)},toString:function(){return(function(n,i,o){return i.reduce(function(a,s){var l=Object.keys(s).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,p){var g=s[p]===void 0?p:p+'="'+_x(s[p],o)+'"';return h?h+" "+g:g},""),c=s.innerHTML||s.cssText||"",d=FTe.indexOf(n)===-1;return a+"<"+n+' data-rh="true" '+l+(d?"/>":">"+c+"</"+n+">")},"")})(e,t,r)}}}},KO=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,l=s===void 0?"":s,c=e.titleAttributes,d=e.linkTags,h=e.metaTags,p=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var S=(function(E){var _=E.linkTags,w=E.scriptTags,b=E.encode,x=yx(E.metaTags,kTe),A=yx(_,ITe),R=yx(w,PTe);return{priorityMethods:{toComponent:function(){return[].concat(Cm(Fr.META,x.priority),Cm(Fr.LINK,A.priority),Cm(Fr.SCRIPT,R.priority))},toString:function(){return _s(Fr.META,x.priority,b)+" "+_s(Fr.LINK,A.priority,b)+" "+_s(Fr.SCRIPT,R.priority,b)}},metaTags:x.default,linkTags:A.default,scriptTags:R.default}})(e);g=S.priorityMethods,d=S.linkTags,h=S.metaTags,p=S.scriptTags}return{priority:g,base:_s(Fr.BASE,t,n),bodyAttributes:_s("bodyAttributes",r,n),htmlAttributes:_s("htmlAttributes",i,n),link:_s(Fr.LINK,d,n),meta:_s(Fr.META,h,n),noscript:_s(Fr.NOSCRIPT,o,n),script:_s(Fr.SCRIPT,p,n),style:_s(Fr.STYLE,a,n),title:_s(Fr.TITLE,{title:l,titleAttributes:c},n)}},kg=[],YO=function(e,t){var r=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){r.context.helmet=n},helmetInstances:{get:function(){return r.canUseDOM?kg:r.instances},add:function(n){(r.canUseDOM?kg:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?kg:r.instances).indexOf(n);(r.canUseDOM?kg:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=KO({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},die=Xt.createContext({}),jTe=Yr.shape({setHelmet:Yr.func,helmetInstances:Yr.shape({get:Yr.func,add:Yr.func,remove:Yr.func})}),UTe=typeof document<"u",wd=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new YO(n.props.context,t.canUseDOM),n}return E3(t,e),t.prototype.render=function(){return Xt.createElement(die.Provider,{value:this.helmetData.value},this.props.children)},t})(me.Component);wd.canUseDOM=UTe,wd.propTypes={context:Yr.shape({helmet:Yr.shape()}),children:Yr.node.isRequired},wd.defaultProps={context:{}},wd.displayName="HelmetProvider";var id=function(e,t){var r,n=document.head||document.querySelector(Fr.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach(function(s){var l=document.createElement(e);for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(c==="innerHTML"?l.innerHTML=s.innerHTML:c==="cssText"?l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText)):l.setAttribute(c,s[c]===void 0?"":s[c]));l.setAttribute("data-rh","true"),o.some(function(d,h){return r=h,l.isEqualNode(d)})?o.splice(r,1):a.push(l)}),o.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return n.appendChild(s)}),{oldTags:o,newTags:a}},Sx=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),s=0;s<a.length;s+=1){var l=a[s],c=t[l]||"";r.getAttribute(l)!==c&&r.setAttribute(l,c),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(","))}},uX=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;Sx(Fr.BODY,e.bodyAttributes),Sx(Fr.HTML,n),(function(E,_){E!==void 0&&document.title!==E&&(document.title=fie(E)),Sx(Fr.TITLE,_)})(d,h);var p={baseTag:id(Fr.BASE,r),linkTags:id(Fr.LINK,i),metaTags:id(Fr.META,o),noscriptTags:id(Fr.NOSCRIPT,a),scriptTags:id(Fr.SCRIPT,l),styleTags:id(Fr.STYLE,c)},g={},S={};Object.keys(p).forEach(function(E){var _=p[E],w=_.newTags,b=_.oldTags;w.length&&(g[E]=w),b.length&&(S[E]=p[E].oldTags)}),t&&t(),s(e,g,S)},Yh=null,zm=(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}E3(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!OTe(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,s=null,l=(n=o.helmetInstances.get().map(function(c){var d=Bi({},c.props);return delete d.context,d}),{baseTag:MTe(["href"],n),bodyAttributes:mx("bodyAttributes",n),defer:Ad(n,"defer"),encode:Ad(n,"encodeSpecialCharacters"),htmlAttributes:mx("htmlAttributes",n),linkTags:Kh(Fr.LINK,["rel","href"],n),metaTags:Kh(Fr.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Kh(Fr.NOSCRIPT,["innerHTML"],n),onChangeClientState:NTe(n),scriptTags:Kh(Fr.SCRIPT,["src","innerHTML"],n),styleTags:Kh(Fr.STYLE,["cssText"],n),title:LTe(n),titleAttributes:mx("titleAttributes",n),prioritizeSeoTags:$Te(n,"prioritizeSeoTags")});wd.canUseDOM?(i=l,Yh&&cancelAnimationFrame(Yh),i.defer?Yh=requestAnimationFrame(function(){uX(i,function(){Yh=null})}):(uX(i),Yh=null)):KO&&(s=KO(l)),a(s)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(me.Component);zm.propTypes={context:jTe.isRequired},zm.displayName="HelmetDispatcher";var qTe=["children"],VTe=["children"],Tm=(function(e){function t(){return e.apply(this,arguments)||this}E3(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!CTe(aX(this.props,"helmetData"),aX(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case Fr.SCRIPT:case Fr.NOSCRIPT:return{innerHTML:i};case Fr.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 Bi({},a,((i={})[o.type]=[].concat(a[o.type]||[],[Bi({},n.newChildProps,this.mapNestedChildrenToProps(o,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,o,a=n.child,s=n.newProps,l=n.newChildProps,c=n.nestedChildren;switch(a.type){case Fr.TITLE:return Bi({},s,((i={})[a.type]=c,i.titleAttributes=Bi({},l),i));case Fr.BODY:return Bi({},s,{bodyAttributes:Bi({},l)});case Fr.HTML:return Bi({},s,{htmlAttributes:Bi({},l)});default:return Bi({},s,((o={})[a.type]=Bi({},l),o))}},r.mapArrayTypeChildrenToProps=function(n,i){var o=Bi({},i);return Object.keys(n).forEach(function(a){var s;o=Bi({},o,((s={})[a]=n[a],s))}),o},r.warnOnInvalidChildren=function(n,i){return tX(iX.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 "+iX.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),tX(!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 Xt.Children.forEach(n,function(s){if(s&&s.props){var l=s.props,c=l.children,d=nX(l,qTe),h=Object.keys(d).reduce(function(g,S){return g[DTe[S]||S]=d[S],g},{}),p=s.type;switch(typeof p=="symbol"?p=p.toString():o.warnOnInvalidChildren(s,c),p){case Fr.FRAGMENT:i=o.mapChildrenToProps(c,i);break;case Fr.LINK:case Fr.META:case Fr.NOSCRIPT:case Fr.SCRIPT:case Fr.STYLE:a=o.flattenArrayTypeChildren({child:s,arrayTypeChildren:a,newChildProps:h,nestedChildren:c});break;default:i=o.mapObjectTypeChildren({child:s,newProps:i,newChildProps:h,nestedChildren:c})}}}),this.mapArrayTypeChildrenToProps(a,i)},r.render=function(){var n=this.props,i=n.children,o=nX(n,VTe),a=Bi({},o),s=o.helmetData;return i&&(a=this.mapChildrenToProps(i,a)),!s||s instanceof YO||(s=new YO(s.context,s.instances)),s?Xt.createElement(zm,Bi({},a,{context:s.value,helmetData:void 0})):Xt.createElement(die.Consumer,null,function(l){return Xt.createElement(zm,Bi({},a,{context:l}))})},t})(me.Component);Tm.propTypes={base:Yr.object,bodyAttributes:Yr.object,children:Yr.oneOfType([Yr.arrayOf(Yr.node),Yr.node]),defaultTitle:Yr.string,defer:Yr.bool,encodeSpecialCharacters:Yr.bool,htmlAttributes:Yr.object,link:Yr.arrayOf(Yr.object),meta:Yr.arrayOf(Yr.object),noscript:Yr.arrayOf(Yr.object),onChangeClientState:Yr.func,script:Yr.arrayOf(Yr.object),style:Yr.arrayOf(Yr.object),title:Yr.string,titleAttributes:Yr.object,titleTemplate:Yr.string,prioritizeSeoTags:Yr.bool,helmetData:Yr.object},Tm.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Tm.displayName="Helmet";const hie=Xt.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function lX(e,t){return!oa.isEqual(e,t)}function HTe(){return Xt.useContext(hie)}const BTe=e=>{const[t,r]=Xt.useState({}),[n,i]=Xt.useState({}),[o,a]=Xt.useState(null),{title:s,description:l,canonicalLink:c,jsonLd:d,allowIndexing:h,hrefLang:p,preload:g}=t;function S(b){lX(t,n)&&i(t),r(b)}function E(){r(n)}function _(b){return lX(b,t)}function w(b){a(b)}return U.jsx(hie.Provider,{value:{setPageMetadata:S,revertPageMetadata:E,hasPageMetadataChanged:_,setFaq:w,hasProvider:!0},children:U.jsxs(wd,{children:[U.jsxs(Tm,{children:[s&&U.jsx("title",{children:s}),l&&U.jsx("meta",{name:"description",content:l}),c&&U.jsx("link",{rel:"canonical",href:c}),d&&U.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),o&&U.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)}),!h&&U.jsx("meta",{name:"robots",content:"noindex"}),p&&(p==null?void 0:p.map((b,x)=>U.jsx("link",{rel:"alternate",hrefLang:b.hrefLang,href:b.canonicalLink},x))),g&&(g==null?void 0:g.map((b,x)=>{const A={};return b.crossorigin&&(A.crossOrigin="true"),b.media&&(A.media=b.media),b.type&&(A.type=b.type),U.jsx("link",{rel:"preload",href:b.href,as:b.as,...A},`preload-${x}`)}))]}),e.children]})})};class Ex extends Xt.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(vr.throw(new this.props.throwError(t.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){const{error:t}=this.state;if(t&&this.props.renderError){const r=this.props.renderError;return U.jsx(r,{})}return t||!this.props.children?U.jsx(U.Fragment,{}):this.props.children}}var pie=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),w3="html",b3="svg",zTe="http://www.w3.org/2000/svg",WTe=function(e,t){if(t===w3)return e instanceof HTMLElement;if(t===b3)return e instanceof SVGElement;throw new Error('Unrecognized element type "'+t+'" for validateElementType.')},vie=function(e,t){var r={},n,i,o;if(e===w3)o=document.createElement("div");else if(e===b3)o=document.createElementNS(zTe,"g");else throw new Error('Invalid element type "'+e+'" for createPortalNode: must be "html" or "svg".');if(t&&typeof t=="object")for(var a=0,s=Object.entries(t.attributes);a<s.length;a++){var l=s[a],c=l[0],d=l[1];o.setAttribute(c,d)}var h={element:o,elementType:e,setPortalProps:function(p){r=p},getInitialPortalProps:function(){return r},mount:function(p,g){if(g!==i){if(h.unmount(),p!==n&&!WTe(p,e))throw new Error('Invalid element type for portal: "'+e+'" portalNodes must be used with '+e+" elements, but OutPortal is within <"+p.tagName+">.");p.replaceChild(h.element,g),n=p,i=g}},unmount:function(p){p&&p!==i||n&&i&&(n.replaceChild(i,h.element),n=void 0,i=void 0)}};return h},GTe=(function(e){pie(t,e);function t(r){var n=e.call(this,r)||this;return n.addPropsChannel=function(){Object.assign(n.props.node,{setPortalProps:function(i){n.setState({nodeProps:i})}})},n.state={nodeProps:n.props.node.getInitialPortalProps()},n}return t.prototype.componentDidMount=function(){this.addPropsChannel()},t.prototype.componentDidUpdate=function(){this.addPropsChannel()},t.prototype.render=function(){var r=this,n=this.props,i=n.children,o=n.node;return p3.createPortal(me.Children.map(i,function(a){return me.isValidElement(a)?me.cloneElement(a,r.state.nodeProps):a}),o.element)},t})(me.PureComponent),KTe=(function(e){pie(t,e);function t(r){var n=e.call(this,r)||this;return n.placeholderNode=me.createRef(),n.passPropsThroughPortal(),n}return t.prototype.passPropsThroughPortal=function(){var r=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(r)},t.prototype.componentDidMount=function(){var r=this.props.node;this.currentPortalNode=r;var n=this.placeholderNode.current,i=n.parentNode;r.mount(i,n),this.passPropsThroughPortal()},t.prototype.componentDidUpdate=function(){var r=this.props.node;this.currentPortalNode&&r!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=r);var n=this.placeholderNode.current,i=n.parentNode;r.mount(i,n),this.passPropsThroughPortal()},t.prototype.componentWillUnmount=function(){var r=this.props.node;r.unmount(this.placeholderNode.current),r.setPortalProps({})},t.prototype.render=function(){return me.createElement("div",{ref:this.placeholderNode})},t})(me.PureComponent),YTe=vie.bind(null,w3);vie.bind(null,b3);const gie=Xt.createContext({}),XTe=e=>{const[t,r]=Xt.useState(null);return U.jsxs(gie.Provider,{value:{setPreviewContentNode:r},children:[t&&U.jsx(KTe,{node:t}),e.children]})},Ai={debounce(e,t,r){return _re(e,t,r)},throttle(e,t,r){return yre(e,t,r)},isFunction(e){return un(e)},useIdentity(){return n1},memoize(e,t){return gre(e,t)}},QTe=()=>{const e=Xt.useRef(!0);return Xt.useEffect(()=>()=>{e.current=!1},[]),e},ZTe=275,cX=5,JTe={className:"",delay:0,style:null},eAe={screenX:0,screenY:0};function mie(e,t){var r;e.current&&(t.className&&((r=e.current.classList)==null||r.add(t.className)),t.style&&Object.keys(t.style).forEach(n=>{e.current.style[n]=t.style[n]}))}function yie(e,t){var r;e.current&&(t.className&&((r=e.current.classList)==null||r.remove(t.className)),t.style&&Object.keys(t.style).forEach(n=>{e.current.style[n]=null}))}function tAe(e,t){return Math.abs(e.screenX-t.screenX)>cX||Math.abs(e.screenY-t.screenY)>cX}function _ie(e=JTe){const t=QTe(),[r,n]=me.useState(e),[i,o]=me.useState(!1),a=me.useRef(null);me.useEffect(()=>{oa.isEqual(e,r)||n(e)},[e]);const s=Ai.throttle(()=>{mie(a,r),t.current&&o(!0)},r.delay,{leading:!1}),l=()=>{Ai.isFunction(s.cancel)&&s.cancel(),yie(a,r),t.current&&o(!1)};return me.useLayoutEffect(()=>{const c=a.current;if(c)return c.addEventListener("mouseenter",s),c.addEventListener("mouseleave",l),()=>{c.removeEventListener("mouseenter",s),c.removeEventListener("mouseleave",l)}},[a.current,r]),[a,i]}function rAe(e){const[t,r]=me.useState(e),n=me.useRef({...eAe}),i=me.useRef(!1),o=me.useRef(0),a=me.useRef(null),[s,l]=me.useState(!1);me.useEffect(()=>{oa.isEqual(e,t)||r(e)},[e]);function c(){o.current&&(window.clearTimeout(o.current),o.current=0)}function d(S,E){o.current||(o.current=window.setTimeout(S,E))}function h(){i.current=!0}function p(S){if(!i.current)return;const E={...n.current};n.current.screenX=S.screenX,n.current.screenY=S.screenY,tAe(E,S)&&c(),d(()=>{mie(a,t),l(!0)},t.delay||ZTe)}function g(){c(),yie(a,t),i.current=!1,l(!1)}return me.useLayoutEffect(()=>{if(!a.current)return;const S=Ai.throttle(p,25,{leading:!1});return a.current.addEventListener("mouseenter",h),a.current.addEventListener("mousemove",S),a.current.addEventListener("mouseleave",g),()=>{a.current&&(a.current.removeEventListener("mouseenter",h),a.current.removeEventListener("mousemove",S),a.current.removeEventListener("mouseleave",g))}},[a.current,t]),[a,s]}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||{}),dn=(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))(dn||{}),aa=(e=>(e.TopNav="top_nav",e.LeftNav="left_nav",e.Footer="footer",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.ExpandableVideoThumbnail="expandable_video_thumbnail",e.VideoItemPreview="video_item_preview",e.InteractiveItemPreview="interactive_item_preview",e.ClipItemPreview="clip_item_preview",e.VideoDetails="video_details",e.InteractiveDetails="interactive_details",e.ClipDetails="clip_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditInteractiveVideoDetails="edit_interactive_video_details",e.EditClipDetails="edit_clip_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.PreviewVideoResources="preview_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.LibraryRequestDetails="staff_request_details",e.Libraries="libraries",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.SeriesListItem="series_list_item",e.SeriesWithVideos="series_with_videos",e.PlaylistWithVideos="playlist_with_videos",e.Dropdown="dropdown",e.ViewCurriculumLinks="view_curriculum_links",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.FeaturedSeriesSearchResult="featured_series_search_result",e.ExchangeSearchGroupItem="exchange_search_group_item",e.StaffManager="staff_manager",e.StaffManagerListItem="staff_manager_list_item",e.StudentManager="student_manager",e.ViewStudentVideos="view_student_videos",e.StudentManagerListItem="student_manager_list_item",e.EditUser="edit_user",e.UserAuditLog="user_audit_log",e.BulkUserActionsWizard="bulk_user_actions_wizard",e.BulkUserUploadWizard="bulk_user_upload_wizard",e.Classroom="classroom",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.ManageClassroomTeachers="manage_classroom_teachers",e.ManageClassroomTeacherListItem="manage_classroom_teachers_list_item",e.ArchivedClassrooms="archived_classrooms",e.PreviewInteractive="preview_interactive",e.PreviewSharedInteractive="preview_shared_interactive",e.PreviewInteractiveQuestions="preview_interactive_questions",e.EditInteractive="edit_interactive",e.EditInteractiveDetails="edit_interactive_details",e.PlaySharedInteractive="play_shared_interactive",e.PlayInteractive="play_interactive",e.InteractiveListItem="interactive_list_item",e.DeleteInteractive="delete_interactive",e.NewInteractive="new_interactive",e.CopyInteractive="copy_interactive",e.UnpublishInteractive="unpublish_interactive",e.ShareInteractive="share_interactive",e.PlayPage="play_page",e.Player="player",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.CreateClipPlayer="create_clip_player",e.PlayClip="play_clip",e.PlaySharedClip="play_shared_clip",e.ClipListItem="clip_list_item",e.ContentUpdatesBanner="content_updates_banner",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.NotificationSettings="notification_settings",e.TopicsOnboarding="topics_onboarding",e.MyUploads="my_uploads",e.MyVideos="my_videos",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.ClassificationHero="classification_hero",e.ClassificationFooter="classification_footer",e.Classification="classification",e.PresentationClassifications="presentation_classifications",e.Dashboard="dashboard",e.DiscoverFooter="discover_footer",e.ProductBanner="product_banner",e.UserOptions="user_options",e.MagicTabs="magic_tabs",e.Settings="settings",e.StudentFeed="student_feed",e.MyShares="my_shares",e.SharedByMe="shared_by_me",e.SharedWithMe="shared_with_me",e.Insights="insights",e.Error="error_view",e.UpgradeForm="upgrade_form",e.ClassroomGuide="classroom_guide",e.TeachingResources="teaching_resources",e.ResourcesGuidancePopup="resources_guidance_popup",e.InteractivesGuidancePopup="interactives_guidance_popup",e.CurriculumGuidancePopup="curriculum_guidance_popup",e.TopVideos="top_videos",e.VideoViewsList="video_views_list",e.VideoOverview="video_overview",e.LiteUpgradeFeedbackPopup="lite_upgrade_feedback_popup",e.LiteUpgradeBanner="lite_upgrade_banner",e.LiteUpgradeOnboarding="lite_upgrade_onboarding",e.GiveFeedbackPopup="give_feedback_popup",e.LibraryRequestSettings="library_request_settings",e.OpenInAppPrompt="open_in_app_prompt",e.UseAppButton="use_app_button",e.Launchpad="launchpad",e.EditableSubjectPreferencesWidget="editable_subject_preferences_widget",e.ThumbnailHeroMediaWidget="thumbnail_hero_media_widget",e.ThumbnailFixedListMediaLargeWidget="thumbnail_fixed_list_media_large",e.FilterSlidingPillListSmallWidget="filter_sliding_pill_list_small",e.CircleLogoSlidingListWidget="circle_logo_sliding_list_widget",e.HeroBannerSmallWidget="hero_banner_small",e.EventIconSlidingListWidget="event_icon_sliding_list_widget",e.OnboardingStepsWidget="onboarding_steps_widget",e.FaqQuestionWidget="faq_question_widget",e.FaqQuestionAccordionWidget="faq_question_accordion_widget",e.SubjectStatsWidgetItem="subject_stats_widget_item",e.AuthorReviewerWidget="author_reviewer_widget",e.ThumbnailFixedListMediaSmallWidget="thumbnail_fixed_list_media_small_widget",e.ThumbnailFixedListFolderSmallWidget="thumbnail_fixed_list_folder_small_widget",e.ThumbnailVerticalListWidget="thumbnail_vertical_list_widget",e.ThumbnailFixedListSmallWidget="thumbnail_fixed_list_small_widget",e.PosterFixedListLargeWidget="poster_fixed_list_large_widget",e.CurriculumResourcesAccordionWidget="curriculum_resources_accordion_widget",e.SearchCurriculumCodeWidget="search_curriculum_code_widget",e.ExchangeLinksWidget="exchange_links_widget",e.TableOfContents="table_of_contents",e.SignUpPopup="sign_up_popup",e.SignUpPage="sign_up_page",e.TrialBanner="trial_banner",e.InviteColleaguePopup="invite_colleague_popup",e.AuthProspectSelect="auth_prospect_select",e.WelcomePopup="welcome_popup",e.WatchHistoryLanding="watch_history_landing",e.MyFavouritesLanding="my_favourites_landing",e.MyVideoLanding="my_videos_landing",e.PlaylistsLanding="playlists_landing",e.MySharesLanding="myshares_landing",e.NotificationsDropdown="notifications_dropdown",e.CalendarNav="calendar_nav",e.CalendarDay="calendar_day",e.CalendarPopup="calendar_popup",e.RegionMap="region_map",e.OnboardingWelcomeVideoScreen="onboarding_welcome_video_screen",e.OnboardingSelectRoleScreen="onboarding_select_role_screen",e.OnboardingUsageIntentionScreen="onboarding_usage_intention_screen",e.OnboardingSchoolLevelScreen="onboarding_school_level_screen",e.OnboardingSelectCurriculumScreen="onboarding_select_curriculum_screen",e.OnboardingSubjectsScreen="onboarding_subjects_screen",e.OnboardingSelectVideosScreen="onboarding_select_videos_screen",e.OnboardingCreatePlaylistScreen="onboarding_create_playlist_screen",e.OnboardingSubjectsSummaryScreen="onboarding_subjects_summary_screen",e.ProductTips="product_tips",e.LivestreamBookingForm="booking_form",e.DateRangeFilter="date_range_selector",e.AudienceFilter="audience_filter",e.AssignFlowView="assign_flow_view",e.Global="global",e))(aa||{}),Oo=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Oo||{}),nAe=(e=>(e.Subject="Subject",e.Curriculum="Curriculum",e))(nAe||{}),XO=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(XO||{}),Sie=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(Sie||{}),iAe=(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))(iAe||{}),aAe=(e=>(e.Embedded="embedded",e))(aAe||{}),Wc=(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))(Wc||{}),oAe=(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))(oAe||{}),QO=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(QO||{}),sAe=(e=>(e.Image="image",e.User="user",e.Playlist="playlist",e.Link="link",e.Avatar="avatar",e.Clip="clip",e.Interactive="interactive",e.Classroom="classroom",e.Customer="customer",e))(sAe||{}),uAe=(e=>(e.ViewVideo="view_video",e.Close="close",e))(uAe||{}),lAe=(e=>(e.On="on",e.Off="off",e))(lAe||{}),Gu=(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))(Gu||{}),cAe=(e=>(e.ComeBackLater="come_back_later",e.Back="back",e.Next="next",e.Complete="complete",e.ReplayVideo="replay_video",e.SkipVideo="skip_video",e.PlayVideo="play_video",e.PauseVideo="pause_video",e.FinishVideo="finish_video",e.SelectPresentation="select_presentation",e.SelectCurriculum="select_curriculum",e.SelectSubject="select_subject",e.SelectAllSubjects="select_all_subjects",e.SelectVideo="select_video",e.SelectAllVideos="select_all_videos",e.DeselectAllVideos="deselect_all_videos",e.SelectOption="select_option",e.SelectJobTitle="select_job_title",e.PhoneNumber="phone_number",e.OtherInformation="other_information",e.PlaylistName="playlist_name",e.DismissWidget="dismiss_widget",e.ContactSales="contact_sales",e.FinishPersonalising="finish_personalising",e.UpdateSchoolLevel="update_school_level",e.UpdateCurriculum="update_curriculum",e.UpdateSubjects="update_subjects",e))(cAe||{}),fAe=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(fAe||{}),dAe=(e=>(e.Popup="popup",e.FullPage="full_page",e))(dAe||{}),hAe=(e=>(e.Calendar="calendar",e.List="list",e))(hAe||{}),pAe=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(pAe||{}),ZO=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(ZO||{}),Dl=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Dl||{}),Eie=(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))(Eie||{}),wie=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(wie||{}),b1=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(b1||{});const vAe=5;class gAe extends No{constructor(){super(...arguments),this.contextHistory=[]}get name(){return b1.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(_n.SHELL,An.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=vAe&&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 mAe=new gAe;var Rd=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(Rd||{});const bie={ANALYTICS:"global:analytics"},yAe=Eie.V2;class _Ae{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||yAe}isType(t){return t===this.type}enrich(t,r){this.validateKey(t),this[t]=r}get(t){if(t&&this[t])return this[t]}validateKey(t){(t==="type"||t==="data")&&vr.throw(new Cn(`${t} is not a valid key`)),this[t]&&vr.throw(new Cn(`Event already contains an enrichment named ${t}`))}}const SAe={log(e,t,r,n){jr.Radio.channel(bie.ANALYTICS).trigger(Rd.Inlet,new _Ae(e,t,r,n))}};function EAe(){const{appLink:e}=mAe.getCurrentContext();return Is(e)||vr.throw(new Cn("Applink does not exist. Check current context.")),CAe(e.application)}function Dg(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new Cn("location must be set.")),r||vr.throw(new Cn("entity must be set.")),{productArea:e.productArea??EAe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function wAe(e){return!!(ec(e)&&LO(e,t=>Is(t))||Is(e))}function bAe(){return Mn.GetCurrentPath()+Mn.GetCurrentQueryString()}function CAe(e){return e.replace(":","-")}const Ti={logUserAction(e,t){if(!wAe(e)||!Is(t))return;const{userAction:r,action:n,eventVersion:i}=Ti.buildUserActionEvent(t);SAe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),Co({},e,...t)},buildActionContext(e={}){return Dg(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=Dg(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return bAe()},buildSearchEvent(e,t){return{data:{query:e},action:Dg({entity:dn.Video,location:aa.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Dl.Series&&(n=dn.Series),r===Dl.Folder&&(n=dn.Folder),r===Dl.Tags&&(n=dn.Tag),r===Dl.Video&&(n=dn.Video),r===Dl.Clip&&(n=dn.Clip),r===Dl.Interactive&&(n=dn.Interactive),r===Dl.Subjects&&(n=dn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:Dg({entity:n,location:aa.SearchBar})}},mapInteractionType(e){switch(e){case ZO.DragDrop:return QO.DragDrop;case ZO.FileSelect:return QO.FileSelect;default:return}}};function TAe(e,t,r){const[n,i]=Xt.useState(e),o=Xt.useRef(e?new Date:null);Xt.useEffect(()=>{if(!(!t||!r)&&!(!r.entity||!t.location))if(e)n||i(!0),o.current=new Date,Ti.logUserAction(t,{...r,actionType:It.Hover});else{if(!n)return;const a=new Date().getTime()-o.current.getTime();o.current=null,Ti.logUserAction({...t,timeHoveredInMilliseconds:a,timeHoveredInSeconds:a/1e3},{...r,actionType:It.Unhover})}},[e])}const Lg=8,AAe=1.2,RAe=(e,t,r,n=AAe)=>{const{x:i,y:o,width:a,height:s}=e,l=document.getElementById("content-width-reference");if(!l)return{};let c,d=t||a*n,h=t?t*(s/a):s*n,p=t?d/a:n;c=i-(d-a)/2,d<r&&(c=c-(r-d)/2,d=r,p=d/a,h=s*p);const g=o-(h-s)/2+window.scrollY;let S=c,E="center";return c-l.offsetLeft<Lg&&(S=i-Lg/2,E="8px"),l.offsetWidth+l.offsetLeft-(c+d)<Lg&&(S=t?i+a-t:i-a*(p-1)+Lg,E="calc(100% - 8px)"),{left:S,top:g,height:h,width:d,transformOrigin:E,position:"absolute",originalWidth:a,originalHeight:s}},xAe="_positionWrapper_gkmg7_1",OAe="_animationWrapper_gkmg7_4",fX={positionWrapper:xAe,animationWrapper:OAe};function Cie(e){var k,D;const{hoverableComponent:t,componentProps:r,minHoverWidth:n,fixedHoverWidth:i,hoverScale:o}=e,{setPreviewContentNode:a}=Xt.useContext(gie);a===void 0&&vr.throw(new Cn("Please use VideoPreviewContext inside a VideoPreviewContextProvider"));const s=Xt.useMemo(()=>YTe(),[]),[l,c]=rAe({delay:100}),[d,h]=_ie(),[p,g]=Xt.useState(!1),S=Xt.useRef(null),E=Xt.useRef(!1),_=c||h;TAe(_,e.analyticsData,e.analyticsOptions),Xt.useEffect(()=>{E.current!==_&&(a(_||p?s:null),E.current=_)},[_]);const{x:w,y:b,width:x,height:A}=((D=(k=S.current)==null?void 0:k.getBoundingClientRect)==null?void 0:D.call(k))||{},R=Xt.useMemo(()=>RAe({x:w,y:b,width:x,height:A},i,n,o),[w,b,x,A,o]),O=R?R.originalWidth/R.width:1,m=t;return U.jsxs("div",{ref:S,children:[U.jsx("div",{ref:l,children:U.jsx(m,{isHovering:!1,...r})}),(_||p)&&U.jsx(GTe,{node:s,children:U.jsx("div",{className:`${fX.positionWrapper} ${fX.animationWrapper}`,style:{"--scale":O,...R},ref:d,children:U.jsx(m,{isHovering:!0,hoverPositionConfig:R,cleanPortalNode:()=>a(null),...r})})})]})}Cie.ReferenceContainer=e=>U.jsx("div",{id:"content-width-reference",className:"flex-grow-1",children:e.children});function IAe(e){return document.querySelector(`.${e}`)}const PAe=Xt.createContext(null);function kAe(e){const[t,r]=Xt.useState();return Xt.useEffect(()=>{r(IAe(e.containerClassName))},[]),U.jsx(PAe.Provider,{value:{container:t},children:e.children})}function xc(e){const[t,r]=me.useState(window.matchMedia(e).matches);return me.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 Tie=Xt.createContext({}),DAe=e=>{const t=xc("(max-width: 575.98px)"),r=xc("(min-width: 576px) and (max-width: 767.98px)"),n=xc("(min-width: 768px) and (max-width: 991.98px)"),i=xc("(min-width: 992px) and (max-width: 1199.98px)"),o=xc("(min-width: 1200px) and (max-width: 1439.98px)"),a=xc("(min-width: 1440px)"),s=Xt.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:o,xxl:a}),[t,r,n,i,o,a]);return U.jsx(Tie.Provider,{value:s,children:e.children})},wx="shared.unspecifiedDialogError";class LAe extends Af{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:_r.getPhrase(wx,"title"),text:_r.getPhrase(wx,"body"),buttons:[{text:_r.getPhrase(wx,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const Ku={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},cp={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service",BRAZE:"braze:client:service"};var bx={exports:{}};/*!
|
|
123
|
+
Copyright (c) 2018 Jed Watson.
|
|
124
|
+
Licensed under the MIT License (MIT), see
|
|
125
|
+
http://jedwatson.github.io/classnames
|
|
126
|
+
*/var dX;function NAe(){return dX||(dX=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(o=i(o,n(s)))}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 s in o)t.call(o,s)&&o[s]&&(a=i(a,s));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})()})(bx)),bx.exports}var MAe=NAe();const on=jn(MAe);function hX(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function $Ae(e){var t=FAe(e,"string");return typeof t=="symbol"?t:String(t)}function FAe(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 Aie(e,t,r){var n=me.useRef(e!==void 0),i=me.useState(t),o=i[0],a=i[1],s=e!==void 0,l=n.current;return n.current=s,!s&&l&&o!==t&&a(t),[s?e:o,me.useCallback(function(c){for(var d=arguments.length,h=new Array(d>1?d-1:0),p=1;p<d;p++)h[p-1]=arguments[p];r&&r.apply(void 0,[c].concat(h)),a(c)},[r])]}function jAe(e,t){return Object.keys(t).reduce(function(r,n){var i,o=r,a=o[hX(n)],s=o[n],l=E1(o,[hX(n),n].map($Ae)),c=t[n],d=Aie(s,a,e[c]),h=d[0],p=d[1];return Pp({},l,(i={},i[n]=h,i[c]=p,i))},e)}function JO(e,t){return JO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},JO(e,t)}function C3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,JO(e,t)}const UAe=["xxl","xl","lg","md","sm","xs"],qAe="xs",yv=me.createContext({prefixes:{},breakpoints:UAe,minBreakpoint:qAe}),{Consumer:I8e,Provider:P8e}=yv;function Sn(e,t){const{prefixes:r}=me.useContext(yv);return e||r[t]||t}function VAe(){const{breakpoints:e}=me.useContext(yv);return e}function HAe(){const{minBreakpoint:e}=me.useContext(yv);return e}function C1(){const{dir:e}=me.useContext(yv);return e==="rtl"}function vh(e){return e&&e.ownerDocument||document}function BAe(e){var t=vh(e);return t&&t.defaultView||window}function zAe(e,t){return BAe(e).getComputedStyle(e,t)}var WAe=/([A-Z])/g;function GAe(e){return e.replace(WAe,"-$1").toLowerCase()}var KAe=/^ms-/;function Ng(e){return GAe(e).replace(KAe,"-ms-")}var YAe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function XAe(e){return!!(e&&YAe.test(e))}function Gc(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ng(t))||zAe(e).getPropertyValue(Ng(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(Ng(i)):XAe(i)?n+=i+"("+o+") ":r+=Ng(i)+": "+o+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}const pX={disabled:!1},Wm=Xt.createContext(null);var Rie=function(t){return t.scrollTop},fp="unmounted",Oc="exited",Nl="entering",Nc="entered",eI="exiting",wu=(function(e){C3(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,s=a&&!a.isMounting?n.enter:n.appear,l;return o.appearStatus=null,n.in?s?(l=Oc,o.appearStatus=Nl):l=Nc:n.unmountOnExit||n.mountOnEnter?l=fp:l=Oc,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===fp?{status:Oc}: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!==Nl&&a!==Nc&&(o=Nl):(a===Nl||a===Nc)&&(o=eI)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Nl){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:jc.findDOMNode(this);a&&Rie(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Oc&&this.setState({status:fp})},r.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[jc.findDOMNode(this),s],c=l[0],d=l[1],h=this.getTimeouts(),p=s?h.appear:h.enter;if(!i&&!a||pX.disabled){this.safeSetState({status:Nc},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Nl},function(){o.props.onEntering(c,d),o.onTransitionEnd(p,function(){o.safeSetState({status:Nc},function(){o.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:jc.findDOMNode(this);if(!o||pX.disabled){this.safeSetState({status:Oc},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:eI},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Oc},function(){i.props.onExited(s)})})})},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(s){a&&(a=!1,o.nextCallback=null,i(s))},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:jc.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===fp)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 s=E1(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Xt.createElement(Wm.Provider,{value:null},typeof a=="function"?a(i,s):Xt.cloneElement(Xt.Children.only(a),s))},t})(Xt.Component);wu.contextType=Wm;wu.propTypes={};function ad(){}wu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ad,onEntering:ad,onEntered:ad,onExit:ad,onExiting:ad,onExited:ad};wu.UNMOUNTED=fp;wu.EXITED=Oc;wu.ENTERING=Nl;wu.ENTERED=Nc;wu.EXITING=eI;function xie(e){return e.code==="Escape"||e.keyCode===27}function QAe(){const e=me.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function _v(e){if(!e||typeof e=="function")return null;const{major:t}=QAe();return t>=19?e.props.ref:e.ref}const gh=!!(typeof window<"u"&&window.document&&window.document.createElement);var tI=!1,rI=!1;try{var Cx={get passive(){return tI=!0},get once(){return rI=tI=!0}};gh&&(window.addEventListener("test",Cx,Cx),window.removeEventListener("test",Cx,!0))}catch{}function T3(e,t,r,n){if(n&&typeof n!="boolean"&&!rI){var i=n.once,o=n.capture,a=r;!rI&&i&&(a=r.__once||function s(l){this.removeEventListener(t,s,o),r.call(this,l)},r.__once=a),e.addEventListener(t,a,tI?n:o)}e.addEventListener(t,r,n)}function nI(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function Yu(e,t,r,n){return T3(e,t,r,n),function(){nI(e,t,r,n)}}function ZAe(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 JAe(e){var t=Gc(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function eRe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||ZAe(e,"transitionend",!0)},t+r),o=Yu(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),o()}}function Oie(e,t,r,n){r==null&&(r=JAe(e)||0);var i=eRe(e,r,n),o=Yu(e,"transitionend",t);return function(){i(),o()}}function vX(e,t){const r=Gc(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function tRe(e,t){const r=vX(e,"transitionDuration"),n=vX(e,"transitionDelay"),i=Oie(e,o=>{o.target===e&&(i(),t(o))},r+n)}function rRe(e){e.offsetHeight}const gX=e=>!e||typeof e=="function"?e:t=>{e.current=t};function nRe(e,t){const r=gX(e),n=gX(t);return i=>{r&&r(i),n&&n(i)}}function mh(e,t){return me.useMemo(()=>nRe(e,t),[e,t])}function Gm(e){return e&&"setState"in e?jc.findDOMNode(e):e??null}const iRe=Xt.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:o,addEndListener:a,children:s,childRef:l,...c},d)=>{const h=me.useRef(null),p=mh(h,l),g=O=>{p(Gm(O))},S=O=>m=>{O&&h.current&&O(h.current,m)},E=me.useCallback(S(e),[e]),_=me.useCallback(S(t),[t]),w=me.useCallback(S(r),[r]),b=me.useCallback(S(n),[n]),x=me.useCallback(S(i),[i]),A=me.useCallback(S(o),[o]),R=me.useCallback(S(a),[a]);return U.jsx(wu,{ref:d,...c,onEnter:E,onEntered:w,onEntering:_,onExit:b,onExited:A,onExiting:x,addEndListener:R,nodeRef:h,children:typeof s=="function"?(O,m)=>s(O,{...m,ref:g}):Xt.cloneElement(s,{ref:g})})});function aRe(e){const t=me.useRef(e);return me.useEffect(()=>{t.current=e},[e]),t}function Dp(e){const t=aRe(e);return me.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const oRe=(e=>me.forwardRef((t,r)=>U.jsx("div",{...t,ref:r,className:on(t.className,e)})));function iI(){return me.useState(null)}function sRe(e){const t=me.useRef(e);return me.useEffect(()=>{t.current=e},[e]),t}function Fa(e){const t=sRe(e);return me.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function uRe(e,t,r,n=!1){const i=Fa(r);me.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,i,n),()=>o.removeEventListener(t,i,n)},[e])}function Iie(){const e=me.useRef(!0),t=me.useRef(()=>e.current);return me.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Pie(e){const t=me.useRef(null);return me.useEffect(()=>{t.current=e}),t.current}const lRe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",cRe=typeof document<"u",mX=cRe||lRe?me.useLayoutEffect:me.useEffect,fRe=["as","disabled"];function dRe(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(e){return!e||e.trim()==="#"}function A3({tagName:e,disabled:t,href:r,target:n,rel:i,role:o,onClick:a,tabIndex:s=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},c];const d=p=>{if((t||e==="a"&&hRe(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:s,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},c]}const kie=me.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=dRe(e,fRe);const[o,{tagName:a}]=A3(Object.assign({tagName:r,disabled:n},i));return U.jsx(a,Object.assign({},i,o,{ref:t}))});kie.displayName="Button";const pRe=["onKeyDown"];function vRe(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 gRe(e){return!e||e.trim()==="#"}const Die=me.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=vRe(e,pRe);const[i]=A3(Object.assign({tagName:"a"},n)),o=Fa(a=>{i.onKeyDown(a),r==null||r(a)});return gRe(n.href)||n.role==="button"?U.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:o})):U.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});Die.displayName="Anchor";const mRe={[Nl]:"show",[Nc]:"show"},Lp=me.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=me.useCallback((l,c)=>{rRe(l),n==null||n(l,c)},[n]);return U.jsx(iRe,{ref:o,addEndListener:tRe,...a,onEnter:s,childRef:_v(t),children:(l,c)=>me.cloneElement(t,{...c,className:on("fade",e,t.props.className,mRe[l],r[l])})})});Lp.displayName="Fade";const yRe={"aria-label":Yr.string,onClick:Yr.func,variant:Yr.oneOf(["white"])},R3=me.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>U.jsx("button",{ref:i,type:"button",className:on("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));R3.displayName="CloseButton";R3.propTypes=yRe;const T1=me.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:o=!1,className:a,...s},l)=>{const c=Sn(t,"btn"),[d,{tagName:h}]=A3({tagName:e,disabled:o,...s}),p=h;return U.jsx(p,{...d,...s,ref:l,disabled:o,className:on(a,c,i&&"active",r&&`${c}-${r}`,n&&`${c}-${n}`,s.href&&o&&"disabled")})});T1.displayName="Button";const Lie=me.forwardRef(({bsPrefix:e,size:t,vertical:r=!1,className:n,role:i="group",as:o="div",...a},s)=>{const l=Sn(e,"btn-group");let c=l;return r&&(c=`${l}-vertical`),U.jsx(o,{...a,ref:s,role:i,className:on(n,c,t&&`${l}-${t}`)})});Lie.displayName="ButtonGroup";function _Re(){const e=me.useRef(!0),t=me.useRef(()=>e.current);return me.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function SRe(e){const t=me.useRef(e);return t.current=e,t}function Nie(e){const t=SRe(e);me.useEffect(()=>()=>t.current(),[])}const aI=2**31-1;function Mie(e,t,r){const n=r-Date.now();e.current=n<=aI?setTimeout(t,n):setTimeout(()=>Mie(e,t,r),aI)}function ERe(){const e=_Re(),t=me.useRef();return Nie(()=>clearTimeout(t.current)),me.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,o=0){e()&&(r(),o<=aI?t.current=setTimeout(i,o):Mie(t,i,Date.now()+o))}return{set:n,clear:r,handleRef:t}},[])}function wRe(e,t){return me.Children.toArray(e).some(r=>me.isValidElement(r)&&r.type===t)}function bRe({as:e,bsPrefix:t,className:r,...n}){t=Sn(t,"col");const i=VAe(),o=HAe(),a=[],s=[];return i.forEach(l=>{const c=n[l];delete n[l];let d,h,p;typeof c=="object"&&c!=null?{span:d,offset:h,order:p}=c:d=c;const g=l!==o?`-${l}`:"";d&&a.push(d===!0?`${t}${g}`:`${t}${g}-${d}`),p!=null&&s.push(`order${g}-${p}`),h!=null&&s.push(`offset${g}-${h}`)}),[{...n,className:on(r,...a,...s)},{as:e,bsPrefix:t,spans:a}]}const $ie=me.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:o,spans:a}]=bRe(e);return U.jsx(i,{...n,ref:t,className:on(r,!a.length&&o)})});$ie.displayName="Col";var CRe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Ml(e,t){return CRe(e.querySelectorAll(t))}function TRe(e,t,r){const n=me.useRef(e!==void 0),[i,o]=me.useState(t),a=e!==void 0,s=n.current;return n.current=a,!a&&s&&i!==t&&o(t),[a?e:i,me.useCallback((...l)=>{const[c,...d]=l;let h=r==null?void 0:r(c,...d);return o(c),h},[r])]}function ARe(){const[,e]=me.useReducer(t=>t+1,0);return e}const A1=me.createContext(null);var yX=Object.prototype.hasOwnProperty;function _X(e,t,r){for(r of e.keys())if(gp(r,t))return r}function gp(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--&&gp(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=_X(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=_X(t,i),!i)||!gp(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(yX.call(e,r)&&++n&&!yX.call(t,r)||!(r in t)||!gp(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function RRe(e){const t=Iie();return[e[0],me.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const xRe=tv({defaultModifiers:[EP,Qy,Yy,Xy,wP,SP,bP,gP]}),ORe=["enabled","placement","strategy","modifiers"];function IRe(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 PRe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},kRe={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)}}},DRe=[];function Fie(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:o="absolute",modifiers:a=DRe}=r,s=IRe(r,ORe);const l=me.useRef(a),c=me.useRef(),d=me.useCallback(()=>{var _;(_=c.current)==null||_.update()},[]),h=me.useCallback(()=>{var _;(_=c.current)==null||_.forceUpdate()},[]),[p,g]=RRe(me.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),S=me.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:_})=>{const w={},b={};Object.keys(_.elements).forEach(x=>{w[x]=_.styles[x],b[x]=_.attributes[x]}),g({state:_,styles:w,attributes:b,update:d,forceUpdate:h,placement:_.placement})}}),[d,h,g]),E=me.useMemo(()=>(gp(l.current,a)||(l.current=a),l.current),[a]);return me.useEffect(()=>{!c.current||!n||c.current.setOptions({placement:i,strategy:o,modifiers:[...E,S,PRe]})},[o,i,S,n,E]),me.useEffect(()=>{if(!(!n||e==null||t==null))return c.current=xRe(e,t,Object.assign({},s,{placement:i,strategy:o,modifiers:[...E,kRe,S]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,g(_=>Object.assign({},_,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),p}function Np(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var LRe=cne();const NRe=jn(LRe),SX=()=>{};function MRe(e){return e.button===0}function $Re(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Am=e=>e&&("current"in e?e.current:e),EX={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function jie(e,t=SX,{disabled:r,clickTrigger:n="click"}={}){const i=me.useRef(!1),o=me.useRef(!1),a=me.useCallback(c=>{const d=Am(e);NRe(!!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||$Re(c)||!MRe(c)||!!Np(d,c.target)||o.current,o.current=!1},[e]),s=Fa(c=>{const d=Am(e);d&&Np(d,c.target)?o.current=!0:o.current=!1}),l=Fa(c=>{i.current||t(c)});me.useEffect(()=>{var c,d;if(r||e==null)return;const h=vh(Am(e)),p=h.defaultView||window;let g=(c=p.event)!=null?c:(d=p.parent)==null?void 0:d.event,S=null;EX[n]&&(S=Yu(h,EX[n],s,!0));const E=Yu(h,n,a,!0),_=Yu(h,n,b=>{if(b===g){g=void 0;return}l(b)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(b=>Yu(b,"mousemove",SX))),()=>{S==null||S(),E(),_(),w.forEach(b=>b())}},[e,r,n,a,s,l])}function FRe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function jRe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Uie({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:o,containerPadding:a,arrowElement:s,popperConfig:l={}}){var c,d,h,p,g;const S=FRe(l.modifiers);return Object.assign({},l,{placement:r,enabled:e,strategy:o?"fixed":l.strategy,modifiers:jRe(Object.assign({},S,{eventListeners:{enabled:t,options:(c=S.eventListeners)==null?void 0:c.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:!!s,options:Object.assign({},(g=S.arrow)==null?void 0:g.options,{element:s})}),flip:Object.assign({enabled:!!n},S.flip)}))})}const URe=["children","usePopper"];function qRe(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 VRe=()=>{};function qie(e={}){const t=me.useContext(A1),[r,n]=iI(),i=me.useRef(!1),{flip:o,offset:a,rootCloseEvent:s,fixed:l=!1,placement:c,popperConfig:d={},enableEventListeners:h=!0,usePopper:p=!!t}=e,g=(t==null?void 0:t.show)==null?!!e.show:t.show;g&&!i.current&&(i.current=!0);const S=O=>{t==null||t.toggle(!1,O)},{placement:E,setMenu:_,menuElement:w,toggleElement:b}=t||{},x=Fie(b,w,Uie({placement:c||E||"bottom-start",enabled:p,enableEvents:h??g,offset:a,flip:o,fixed:l,arrowElement:r,popperConfig:d})),A=Object.assign({ref:_||VRe,"aria-labelledby":b==null?void 0:b.id},x.attributes.popper,{style:x.styles.popper}),R={show:g,placement:E,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:p?x:null,arrowProps:p?Object.assign({ref:n},x.attributes.arrow,{style:x.styles.arrow}):{}};return jie(w,S,{clickTrigger:s,disabled:!g}),[A,R]}function Vie(e){let{children:t,usePopper:r=!0}=e,n=qRe(e,URe);const[i,o]=qie(Object.assign({},n,{usePopper:r}));return U.jsx(U.Fragment,{children:t(i,o)})}Vie.displayName="DropdownMenu";const Hie={prefix:String(Math.round(Math.random()*1e10)),current:0},Bie=Xt.createContext(Hie),HRe=Xt.createContext(!1);let Tx=new WeakMap;function BRe(e=!1){let t=me.useContext(Bie),r=me.useRef(null);if(r.current===null&&!e){var n,i;let o=(i=Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let a=Tx.get(o);a==null?Tx.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==a.state&&(t.current=a.id,Tx.delete(o))}r.current=++t.current}return r.current}function zRe(e){let t=me.useContext(Bie),r=BRe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function WRe(e){let t=Xt.useId(),[r]=me.useState(QRe()),n=r?"react-aria":`react-aria${Hie.prefix}`;return e||`${n}-${t}`}const GRe=typeof Xt.useId=="function"?WRe:zRe;function KRe(){return!1}function YRe(){return!0}function XRe(e){return()=>{}}function QRe(){return typeof Xt.useSyncExternalStore=="function"?Xt.useSyncExternalStore(XRe,KRe,YRe):me.useContext(HRe)}const zie=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},wX=()=>{};function Wie(){const e=GRe(),{show:t=!1,toggle:r=wX,setToggle:n,menuElement:i}=me.useContext(A1)||{},o=me.useCallback(s=>{r(!t,s)},[t,r]),a={id:e,ref:n||wX,onClick:o,"aria-expanded":!!t};return i&&zie(i)&&(a["aria-haspopup"]=!0),[a,{show:t,toggle:r}]}function Gie({children:e}){const[t,r]=Wie();return U.jsx(U.Fragment,{children:e(t,r)})}Gie.displayName="DropdownToggle";const oI=me.createContext(null),bX=(e,t=null)=>e!=null?String(e):t||null,Kie=me.createContext(null);Kie.displayName="NavContext";const ZRe="data-rr-ui-";function x3(e){return`${ZRe}${e}`}const JRe=["eventKey","disabled","onClick","active","as"];function exe(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 Yie({key:e,href:t,active:r,disabled:n,onClick:i}){const o=me.useContext(oI),a=me.useContext(Kie),{activeKey:s}=a||{},l=bX(e,t),c=r==null&&e!=null?bX(s)===l:r;return[{onClick:Fa(h=>{n||(i==null||i(h),o&&!h.isPropagationStopped()&&o(l,h))}),"aria-disabled":n||void 0,"aria-selected":c,[x3("dropdown-item")]:""},{isActive:c}]}const Xie=me.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:o,as:a=kie}=e,s=exe(e,JRe);const[l]=Yie({key:r,href:s.href,disabled:n,onClick:i,active:o});return U.jsx(a,Object.assign({},s,{ref:t},l))});Xie.displayName="DropdownItem";const Qie=me.createContext(gh?window:void 0);Qie.Provider;function R1(){return me.useContext(Qie)}function CX(){const e=ARe(),t=me.useRef(null),r=me.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function Sv({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${x3("dropdown-item")}]`,focusFirstItemOnShow:o,placement:a="bottom-start",children:s}){const l=R1(),[c,d]=TRe(t,e,n),[h,p]=CX(),g=h.current,[S,E]=CX(),_=S.current,w=Pie(c),b=me.useRef(null),x=me.useRef(!1),A=me.useContext(oI),R=me.useCallback((F,G,Y=G==null?void 0:G.type)=>{d(F,{originalEvent:G,source:Y})},[d]),O=Fa((F,G)=>{r==null||r(F,G),R(!1,G,"select"),G.isPropagationStopped()||A==null||A(F,G)}),m=me.useMemo(()=>({toggle:R,placement:a,show:c,menuElement:g,toggleElement:_,setMenu:p,setToggle:E}),[R,a,c,g,_,p,E]);g&&w&&!c&&(x.current=g.contains(g.ownerDocument.activeElement));const k=Fa(()=>{_&&_.focus&&_.focus()}),D=Fa(()=>{const F=b.current;let G=o;if(G==null&&(G=h.current&&zie(h.current)?"keyboard":!1),G===!1||G==="keyboard"&&!/^key.+$/.test(F))return;const Y=Ml(h.current,i)[0];Y&&Y.focus&&Y.focus()});me.useEffect(()=>{c?D():x.current&&(x.current=!1,k())},[c,x,k,D]),me.useEffect(()=>{b.current=null});const V=(F,G)=>{if(!h.current)return null;const Y=Ml(h.current,i);let X=Y.indexOf(F)+G;return X=Math.max(0,Math.min(X,Y.length)),Y[X]};return uRe(me.useCallback(()=>l.document,[l]),"keydown",F=>{var G,Y;const{key:X}=F,J=F.target,Z=(G=h.current)==null?void 0:G.contains(J),ue=(Y=S.current)==null?void 0:Y.contains(J);if(/input|textarea/i.test(J.tagName)&&(X===" "||X!=="Escape"&&Z||X==="Escape"&&J.type==="search")||!Z&&!ue||X==="Tab"&&(!h.current||!c))return;b.current=F.type;const L={originalEvent:F,source:F.type};switch(X){case"ArrowUp":{const j=V(J,-1);j&&j.focus&&j.focus(),F.preventDefault();return}case"ArrowDown":if(F.preventDefault(),!c)d(!0,L);else{const j=V(J,1);j&&j.focus&&j.focus()}return;case"Tab":T3(J.ownerDocument,"keyup",j=>{var te;(j.key==="Tab"&&!j.target||!((te=h.current)!=null&&te.contains(j.target)))&&d(!1,L)},{once:!0});break;case"Escape":X==="Escape"&&(F.preventDefault(),F.stopPropagation()),d(!1,L);break}}),U.jsx(oI.Provider,{value:O,children:U.jsx(A1.Provider,{value:m,children:s})})}Sv.displayName="Dropdown";Sv.Menu=Vie;Sv.Toggle=Gie;Sv.Item=Xie;const O3=me.createContext({});O3.displayName="DropdownContext";const Zie=me.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},o)=>(t=Sn(t,"dropdown-divider"),U.jsx(r,{ref:o,className:on(e,t),role:n,...i})));Zie.displayName="DropdownDivider";const Jie=me.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},o)=>(t=Sn(t,"dropdown-header"),U.jsx(r,{ref:o,className:on(e,t),role:n,...i})));Jie.displayName="DropdownHeader";const eae=me.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:o,as:a=Die,...s},l)=>{const c=Sn(e,"dropdown-item"),[d,h]=Yie({key:r,href:s.href,disabled:n,onClick:i,active:o});return U.jsx(a,{...s,...d,ref:l,className:on(t,c,h.isActive&&"active",n&&"disabled")})});eae.displayName="DropdownItem";const tae=me.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=Sn(t,"dropdown-item-text"),U.jsx(r,{ref:i,className:on(e,t),...n})));tae.displayName="DropdownItemText";const txe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",rxe=typeof document<"u",rae=rxe||txe?me.useLayoutEffect:me.useEffect,I3=me.createContext(null);I3.displayName="InputGroupContext";const nae=me.createContext(null);nae.displayName="NavbarContext";function iae(e,t){return e}function aae(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",s=r?"right-start":"left-start",l=r?"right-end":"left-end",c=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?a:o;return t==="up"?h=e?i:n:t==="end"?h=e?d:c:t==="start"?h=e?l:s:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const oae=me.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:o,renderOnMount:a,as:s="div",popperConfig:l,variant:c,...d},h)=>{let p=!1;const g=me.useContext(nae),S=Sn(e,"dropdown-menu"),{align:E,drop:_,isRTL:w}=me.useContext(O3);r=r||E;const b=me.useContext(I3),x=[];if(r)if(typeof r=="object"){const F=Object.keys(r);if(F.length){const G=F[0],Y=r[G];p=Y==="start",x.push(`${S}-${G}-${Y}`)}}else r==="end"&&(p=!0);const A=aae(p,_,w),[R,{hasShown:O,popper:m,show:k,toggle:D}]=qie({flip:i,rootCloseEvent:n,show:o,usePopper:!g&&x.length===0,offset:[0,2],popperConfig:l,placement:A});if(R.ref=mh(iae(h),R.ref),rae(()=>{k&&(m==null||m.update())},[k]),!O&&!a&&!b)return null;typeof s!="string"&&(R.show=k,R.close=()=>D==null?void 0:D(!1),R.align=r);let V=d.style;return m!=null&&m.placement&&(V={...d.style,...R.style},d["x-placement"]=m.placement),U.jsx(s,{...d,...R,style:V,...(x.length||g)&&{"data-bs-popper":"static"},className:on(t,S,k&&"show",p&&`${S}-end`,c&&`${S}-${c}`,...x)})});oae.displayName="DropdownMenu";const sae=me.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=T1,...o},a)=>{const s=Sn(e,"dropdown-toggle"),l=me.useContext(A1);n!==void 0&&(o.bsPrefix=n);const[c]=Wie();return c.ref=mh(c.ref,iae(a)),U.jsx(i,{className:on(r,s,t&&`${s}-split`,(l==null?void 0:l.show)&&"show"),...c,...o})});sae.displayName="DropdownToggle";const uae=me.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:o,align:a="start",onSelect:s,onToggle:l,focusFirstItemOnShow:c,as:d="div",navbar:h,autoClose:p=!0,...g}=jAe(e,{show:"onToggle"}),S=me.useContext(I3),E=Sn(r,"dropdown"),_=C1(),w=m=>p===!1?m==="click":p==="inside"?m!=="rootClose":p==="outside"?m!=="select":!0,b=Dp((m,k)=>{var D;!((D=k.originalEvent)==null||(D=D.target)==null)&&D.classList.contains("dropdown-toggle")&&k.source==="mousedown"||(k.originalEvent.currentTarget===document&&(k.source!=="keydown"||k.originalEvent.key==="Escape")&&(k.source="rootClose"),w(k.source)&&(l==null||l(m,k)))}),A=aae(a==="end",n,_),R=me.useMemo(()=>({align:a,drop:n,isRTL:_}),[a,n,_]),O={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return U.jsx(O3.Provider,{value:R,children:U.jsx(Sv,{placement:A,show:i,onSelect:s,onToggle:b,focusFirstItemOnShow:c,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:S?g.children:U.jsx(d,{...g,ref:t,className:on(o,i&&"show",O[n])})})})});uae.displayName="Dropdown";const bo=Object.assign(uae,{Toggle:sae,Menu:oae,Item:eae,ItemText:tae,Divider:Zie,Header:Jie}),nxe={type:Yr.string,tooltip:Yr.bool,as:Yr.elementType},x1=me.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},o)=>U.jsx(e,{...i,ref:o,className:on(t,`${r}-${n?"tooltip":"feedback"}`)}));x1.displayName="Feedback";x1.propTypes=nxe;const rl=me.createContext({}),P3=me.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:o=!1,as:a="input",...s},l)=>{const{controlId:c}=me.useContext(rl);return t=Sn(t,"form-check-input"),U.jsx(a,{...s,ref:l,type:n,id:e||c,className:on(r,t,i&&"is-valid",o&&"is-invalid")})});P3.displayName="FormCheckInput";const Km=me.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:o}=me.useContext(rl);return e=Sn(e,"form-check-label"),U.jsx("label",{...n,ref:i,htmlFor:r||o,className:on(t,e)})});Km.displayName="FormCheckLabel";const lae=me.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:o=!1,isValid:a=!1,isInvalid:s=!1,feedbackTooltip:l=!1,feedback:c,feedbackType:d,className:h,style:p,title:g="",type:S="checkbox",label:E,children:_,as:w="input",...b},x)=>{t=Sn(t,"form-check"),r=Sn(r,"form-switch");const{controlId:A}=me.useContext(rl),R=me.useMemo(()=>({controlId:e||A}),[A,e]),O=!_&&E!=null&&E!==!1||wRe(_,Km),m=U.jsx(P3,{...b,type:S==="switch"?"checkbox":S,ref:x,isValid:a,isInvalid:s,disabled:o,as:w});return U.jsx(rl.Provider,{value:R,children:U.jsx("div",{style:p,className:on(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,S==="switch"&&r),children:_||U.jsxs(U.Fragment,{children:[m,O&&U.jsx(Km,{title:g,children:E}),c&&U.jsx(x1,{type:d,tooltip:l,children:c})]})})})});lae.displayName="FormCheck";const Ym=Object.assign(lae,{Input:P3,Label:Km}),cae=me.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:o,isValid:a=!1,isInvalid:s=!1,plaintext:l,readOnly:c,as:d="input",...h},p)=>{const{controlId:g}=me.useContext(rl);return e=Sn(e,"form-control"),U.jsx(d,{...h,type:t,size:n,ref:p,readOnly:c,id:i||g,className:on(o,l?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,a&&"is-valid",s&&"is-invalid")})});cae.displayName="FormControl";const ixe=Object.assign(cae,{Feedback:x1}),fae=me.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Sn(t,"form-floating"),U.jsx(r,{ref:i,className:on(e,t),...n})));fae.displayName="FormFloating";const k3=me.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=me.useMemo(()=>({controlId:e}),[e]);return U.jsx(rl.Provider,{value:i,children:U.jsx(t,{...r,ref:n})})});k3.displayName="FormGroup";const dae=me.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:o,...a},s)=>{const{controlId:l}=me.useContext(rl);t=Sn(t,"form-label");let c="col-form-label";typeof r=="string"&&(c=`${c} ${c}-${r}`);const d=on(i,t,n&&"visually-hidden",r&&c);return o=o||l,r?U.jsx($ie,{ref:s,as:"label",className:d,htmlFor:o,...a}):U.jsx(e,{ref:s,className:d,htmlFor:o,...a})});dae.displayName="FormLabel";const hae=me.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:o}=me.useContext(rl);return e=Sn(e,"form-range"),U.jsx("input",{...n,type:"range",ref:i,className:on(t,e),id:r||o})});hae.displayName="FormRange";const pae=me.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:o=!1,id:a,...s},l)=>{const{controlId:c}=me.useContext(rl);return e=Sn(e,"form-select"),U.jsx("select",{...s,size:r,ref:l,className:on(n,e,t&&`${e}-${t}`,i&&"is-valid",o&&"is-invalid"),id:a||c})});pae.displayName="FormSelect";const vae=me.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},o)=>(e=Sn(e,"form-text"),U.jsx(r,{...i,ref:o,className:on(t,e,n&&"text-muted")})));vae.displayName="FormText";const gae=me.forwardRef((e,t)=>U.jsx(Ym,{...e,ref:t,type:"switch"}));gae.displayName="Switch";const axe=Object.assign(gae,{Input:Ym.Input,Label:Ym.Label}),mae=me.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...o},a)=>(e=Sn(e,"form-floating"),U.jsxs(k3,{ref:a,className:on(t,e),controlId:n,...o,children:[r,U.jsx("label",{htmlFor:n,children:i})]})));mae.displayName="FloatingLabel";const oxe={_ref:Yr.any,validated:Yr.bool,as:Yr.elementType},D3=me.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>U.jsx(r,{...n,ref:i,className:on(e,t&&"was-validated")}));D3.displayName="Form";D3.propTypes=oxe;const $d=Object.assign(D3,{Group:k3,Control:ixe,Floating:fae,Check:Ym,Switch:axe,Label:dae,Text:vae,Range:hae,Select:pae,FloatingLabel:mae}),TX=e=>!e||typeof e=="function"?e:t=>{e.current=t};function sxe(e,t){const r=TX(e),n=TX(t);return i=>{r&&r(i),n&&n(i)}}function O1(e,t){return me.useMemo(()=>sxe(e,t),[e,t])}var Mg;function AX(e){if((!Mg&&Mg!==0||e)&&gh){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Mg=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Mg}function uxe(){return me.useState(null)}function Ax(e){e===void 0&&(e=vh());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function lxe(e){const t=me.useRef(e);return t.current=e,t}function cxe(e){const t=lxe(e);me.useEffect(()=>()=>t.current(),[])}function fxe(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const RX=x3("modal-open");class L3{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return fxe(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(Gc(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(RX,""),Gc(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(RX),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 Rx=(e,t)=>gh?e==null?(t||vh()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function sI(e,t){const r=R1(),[n,i]=me.useState(()=>Rx(e,r==null?void 0:r.document));if(!n){const o=Rx(e);o&&i(o)}return me.useEffect(()=>{},[t,n]),me.useEffect(()=>{const o=Rx(e);o!==n&&i(o)},[e,n]),n}function dxe({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const o=me.useRef(null),a=me.useRef(t),s=Fa(r);me.useEffect(()=>{t?a.current=!0:s(o.current)},[t,s]);const l=O1(o,_v(e)),c=me.cloneElement(e,{ref:l});return t?c:i||!a.current&&n?null:c}const hxe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function pxe(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 vxe(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:o,onExited:a,addEndListener:s,children:l}=e,c=pxe(e,hxe);const d=me.useRef(null),h=O1(d,_v(l)),p=A=>R=>{A&&d.current&&A(d.current,R)},g=me.useCallback(p(t),[t]),S=me.useCallback(p(r),[r]),E=me.useCallback(p(n),[n]),_=me.useCallback(p(i),[i]),w=me.useCallback(p(o),[o]),b=me.useCallback(p(a),[a]),x=me.useCallback(p(s),[s]);return Object.assign({},c,{nodeRef:d},t&&{onEnter:g},r&&{onEntering:S},n&&{onEntered:E},i&&{onExit:_},o&&{onExiting:w},a&&{onExited:b},s&&{addEndListener:x},{children:typeof l=="function"?(A,R)=>l(A,Object.assign({},R,{ref:h})):me.cloneElement(l,{ref:h})})}const gxe=["component"];function mxe(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 yxe=me.forwardRef((e,t)=>{let{component:r}=e,n=mxe(e,gxe);const i=vxe(n);return U.jsx(r,Object.assign({ref:t},i))});function _xe({in:e,onTransition:t}){const r=me.useRef(null),n=me.useRef(!0),i=Fa(t);return mX(()=>{if(!r.current)return;let o=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>o}),()=>{o=!0}},[e,i]),mX(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function Sxe({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[o,a]=me.useState(!t);t&&o&&a(!1);const s=_xe({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?n==null||n(c.element,c.initial):(a(!0),r==null||r(c.element)))};Promise.resolve(i(c)).then(d,h=>{throw c.in||a(!0),h})}}),l=O1(s,_v(e));return o&&!t?null:me.cloneElement(e,{ref:l})}function uI(e,t,r){return e?U.jsx(yxe,Object.assign({},r,{component:e})):t?U.jsx(Sxe,Object.assign({},r,{transition:t})):U.jsx(dxe,Object.assign({},r))}const Exe=["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 wxe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}let xx;function bxe(e){return xx||(xx=new L3({ownerDocument:e==null?void 0:e.document})),xx}function Cxe(e){const t=R1(),r=e||bxe(t),n=me.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:me.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:me.useCallback(i=>{n.current.backdrop=i},[])})}const yae=me.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:o,children:a,backdrop:s=!0,keyboard:l=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:h,runTransition:p,backdropTransition:g,runBackdropTransition:S,autoFocus:E=!0,enforceFocus:_=!0,restoreFocus:w=!0,restoreFocusOptions:b,renderDialog:x,renderBackdrop:A=_e=>U.jsx("div",Object.assign({},_e)),manager:R,container:O,onShow:m,onHide:k=()=>{},onExit:D,onExited:V,onExiting:F,onEnter:G,onEntering:Y,onEntered:X}=e,J=wxe(e,Exe);const Z=R1(),ue=sI(O),H=Cxe(R),L=Iie(),j=Pie(r),[te,ee]=me.useState(!r),de=me.useRef(null);me.useImperativeHandle(t,()=>H,[H]),gh&&!j&&r&&(de.current=Ax(Z==null?void 0:Z.document)),r&&te&&ee(!1);const Se=Fa(()=>{if(H.add(),N.current=Yu(document,"keydown",P),q.current=Yu(document,"focus",()=>setTimeout(se),!0),m&&m(),E){var _e,Oe;const Te=Ax((_e=(Oe=H.dialog)==null?void 0:Oe.ownerDocument)!=null?_e:Z==null?void 0:Z.document);H.dialog&&Te&&!Np(H.dialog,Te)&&(de.current=Te,H.dialog.focus())}}),Ae=Fa(()=>{if(H.remove(),N.current==null||N.current(),q.current==null||q.current(),w){var _e;(_e=de.current)==null||_e.focus==null||_e.focus(b),de.current=null}});me.useEffect(()=>{!r||!ue||Se()},[r,ue,Se]),me.useEffect(()=>{te&&Ae()},[te,Ae]),cxe(()=>{Ae()});const se=Fa(()=>{if(!_||!L()||!H.isTopModal())return;const _e=Ax(Z==null?void 0:Z.document);H.dialog&&_e&&!Np(H.dialog,_e)&&H.dialog.focus()}),I=Fa(_e=>{_e.target===_e.currentTarget&&(c==null||c(_e),s===!0&&k())}),P=Fa(_e=>{l&&xie(_e)&&H.isTopModal()&&(d==null||d(_e),_e.defaultPrevented||k())}),q=me.useRef(),N=me.useRef(),B=(..._e)=>{ee(!0),V==null||V(..._e)};if(!ue)return null;const re=Object.assign({role:n,ref:H.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},J,{style:o,className:i,tabIndex:-1});let ce=x?x(re):U.jsx("div",Object.assign({},re,{children:me.cloneElement(a,{role:"document"})}));ce=uI(h,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:D,onExiting:F,onExited:B,onEnter:G,onEntering:Y,onEntered:X,children:ce});let we=null;return s&&(we=A({ref:H.setBackdropRef,onClick:I}),we=uI(g,S,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:we})),U.jsx(U.Fragment,{children:jc.createPortal(U.jsxs(U.Fragment,{children:[we,ce]}),ue)})});yae.displayName="Modal";const Txe=Object.assign(yae,{Manager:L3});function lI(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function _ae(e,t){e.classList?e.classList.add(t):lI(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function xX(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Sae(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=xX(e.className,t):e.setAttribute("class",xX(e.className&&e.className.baseVal||"",t))}const od={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Axe extends L3{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Gc(r,{[t]:`${parseFloat(Gc(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Gc(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(_ae(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ml(r,od.FIXED_CONTENT).forEach(o=>this.adjustAndStore(n,o,t.scrollBarWidth)),Ml(r,od.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Ml(r,od.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();Sae(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ml(r,od.FIXED_CONTENT).forEach(o=>this.restore(n,o)),Ml(r,od.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Ml(r,od.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ox;function Rxe(e){return Ox||(Ox=new Axe(e)),Ox}const Eae=me.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Sn(t,"modal-body"),U.jsx(r,{ref:i,className:on(e,t),...n})));Eae.displayName="ModalBody";const wae=me.createContext({onHide(){}}),N3=me.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:o,children:a,scrollable:s,...l},c)=>{e=Sn(e,"modal");const d=`${e}-dialog`,h=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return U.jsx("div",{...l,ref:c,className:on(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,s&&`${d}-scrollable`,o&&h),children:U.jsx("div",{className:on(`${e}-content`,r),children:a})})});N3.displayName="ModalDialog";const bae=me.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Sn(t,"modal-footer"),U.jsx(r,{ref:i,className:on(e,t),...n})));bae.displayName="ModalFooter";const xxe=me.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...o},a)=>{const s=me.useContext(wae),l=Dp(()=>{s==null||s.onHide(),n==null||n()});return U.jsxs("div",{ref:a,...o,children:[i,r&&U.jsx(R3,{"aria-label":e,variant:t,onClick:l})]})}),Cae=me.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},o)=>(e=Sn(e,"modal-header"),U.jsx(xxe,{ref:o,...i,className:on(t,e),closeLabel:r,closeButton:n})));Cae.displayName="ModalHeader";const Oxe=oRe("h4"),Tae=me.forwardRef(({className:e,bsPrefix:t,as:r=Oxe,...n},i)=>(t=Sn(t,"modal-title"),U.jsx(r,{ref:i,className:on(e,t),...n})));Tae.displayName="ModalTitle";function Ixe(e){return U.jsx(Lp,{...e,timeout:null})}function Pxe(e){return U.jsx(Lp,{...e,timeout:null})}const Aae=me.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:o,dialogAs:a=N3,"data-bs-theme":s,"aria-labelledby":l,"aria-describedby":c,"aria-label":d,show:h=!1,animation:p=!0,backdrop:g=!0,keyboard:S=!0,onEscapeKeyDown:E,onShow:_,onHide:w,container:b,autoFocus:x=!0,enforceFocus:A=!0,restoreFocus:R=!0,restoreFocusOptions:O,onEntered:m,onExit:k,onExiting:D,onEnter:V,onEntering:F,onExited:G,backdropClassName:Y,manager:X,...J},Z)=>{const[ue,H]=me.useState({}),[L,j]=me.useState(!1),te=me.useRef(!1),ee=me.useRef(!1),de=me.useRef(null),[Se,Ae]=uxe(),se=mh(Z,Ae),I=Dp(w),P=C1();e=Sn(e,"modal");const q=me.useMemo(()=>({onHide:I}),[I]);function N(){return X||Rxe({isRTL:P})}function B(Ge){if(!gh)return;const ct=N().getScrollbarWidth()>0,jt=Ge.scrollHeight>vh(Ge).documentElement.clientHeight;H({paddingRight:ct&&!jt?AX():void 0,paddingLeft:!ct&&jt?AX():void 0})}const re=Dp(()=>{Se&&B(Se.dialog)});Nie(()=>{nI(window,"resize",re),de.current==null||de.current()});const ce=()=>{te.current=!0},we=Ge=>{te.current&&Se&&Ge.target===Se.dialog&&(ee.current=!0),te.current=!1},_e=()=>{j(!0),de.current=Oie(Se.dialog,()=>{j(!1)})},Oe=Ge=>{Ge.target===Ge.currentTarget&&_e()},Te=Ge=>{if(g==="static"){Oe(Ge);return}if(ee.current||Ge.target!==Ge.currentTarget){ee.current=!1;return}w==null||w()},Ie=Ge=>{S?E==null||E(Ge):(Ge.preventDefault(),g==="static"&&_e())},$e=(Ge,ct)=>{Ge&&B(Ge),V==null||V(Ge,ct)},ge=Ge=>{de.current==null||de.current(),k==null||k(Ge)},be=(Ge,ct)=>{F==null||F(Ge,ct),T3(window,"resize",re)},Ce=Ge=>{Ge&&(Ge.style.display=""),G==null||G(Ge),nI(window,"resize",re)},Le=me.useCallback(Ge=>U.jsx("div",{...Ge,className:on(`${e}-backdrop`,Y,!p&&"show")}),[p,Y,e]),Ve={...r,...ue};Ve.display="block";const qe=Ge=>U.jsx("div",{role:"dialog",...Ge,style:Ve,className:on(t,e,L&&`${e}-static`,!p&&"show"),onClick:g?Te:void 0,onMouseUp:we,"data-bs-theme":s,"aria-label":d,"aria-labelledby":l,"aria-describedby":c,children:U.jsx(a,{...J,onMouseDown:ce,className:n,contentClassName:i,children:o})});return U.jsx(wae.Provider,{value:q,children:U.jsx(Txe,{show:h,ref:se,backdrop:g,container:b,keyboard:!0,autoFocus:x,enforceFocus:A,restoreFocus:R,restoreFocusOptions:O,onEscapeKeyDown:Ie,onShow:_,onHide:w,onEnter:$e,onEntering:be,onEntered:m,onExit:ge,onExiting:D,onExited:Ce,manager:N(),transition:p?Ixe:void 0,backdropTransition:p?Pxe:void 0,renderBackdrop:Le,renderDialog:qe})})});Aae.displayName="Modal";const $g=Object.assign(Aae,{Body:Eae,Header:Cae,Title:Tae,Footer:bae,Dialog:N3,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),kxe=()=>{};function Dxe(e,t,{disabled:r,clickTrigger:n}={}){const i=t||kxe;jie(e,i,{disabled:r,clickTrigger:n});const o=Fa(a=>{xie(a)&&i(a)});me.useEffect(()=>{if(r||e==null)return;const a=vh(Am(e));let s=(a.defaultView||window).event;const l=Yu(a,"keyup",c=>{if(c===s){s=void 0;return}o(c)});return()=>{l()}},[e,r,o])}const Rae=me.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:o,popperConfig:a={},transition:s,runTransition:l}=e,[c,d]=iI(),[h,p]=iI(),g=O1(d,t),S=sI(e.container),E=sI(e.target),[_,w]=me.useState(!e.show),b=Fie(E,c,Uie({placement:i,enableEvents:!!e.show,containerPadding:o||5,flip:r,offset:n,arrowElement:h,popperConfig:a}));e.show&&_&&w(!1);const x=(...F)=>{w(!0),e.onExited&&e.onExited(...F)},A=e.show||!_;if(Dxe(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!A)return null;const{onExit:R,onExiting:O,onEnter:m,onEntering:k,onEntered:D}=e;let V=e.children(Object.assign({},b.attributes.popper,{style:b.styles.popper,ref:g}),{popper:b,placement:i,show:!!e.show,arrowProps:Object.assign({},b.attributes.arrow,{style:b.styles.arrow,ref:p})});return V=uI(s,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:V,onExit:R,onExiting:O,onExited:x,onEnter:m,onEntering:k,onEntered:D}),S?jc.createPortal(V,S):null});Rae.displayName="Overlay";const xae=me.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Sn(t,"popover-header"),U.jsx(r,{ref:i,className:on(e,t),...n})));xae.displayName="PopoverHeader";const M3=me.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=Sn(t,"popover-body"),U.jsx(r,{ref:i,className:on(e,t),...n})));M3.displayName="PopoverBody";function Oae(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Iae(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const Lxe=me.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:o,arrowProps:a,hasDoneInitialMeasure:s,popper:l,show:c,...d},h)=>{const p=Sn(e,"popover"),g=C1(),[S]=(t==null?void 0:t.split("-"))||[],E=Oae(S,g);let _=n;return c&&!s&&(_={...n,...Iae(l==null?void 0:l.strategy)}),U.jsxs("div",{ref:h,role:"tooltip",style:_,"x-placement":S,className:on(r,p,S&&`bs-popover-${E}`),...d,children:[U.jsx("div",{className:"popover-arrow",...a}),o?U.jsx(M3,{children:i}):i]})}),Nxe=Object.assign(Lxe,{Header:xae,Body:M3,POPPER_OFFSET:[0,8]}),Pae=me.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:o,hasDoneInitialMeasure:a,popper:s,show:l,...c},d)=>{e=Sn(e,"tooltip");const h=C1(),[p]=(t==null?void 0:t.split("-"))||[],g=Oae(p,h);let S=n;return l&&!a&&(S={...n,...Iae(s==null?void 0:s.strategy)}),U.jsxs("div",{ref:d,style:S,role:"tooltip","x-placement":p,className:on(r,e,`bs-tooltip-${g}`),...c,children:[U.jsx("div",{className:"tooltip-arrow",...o}),U.jsx("div",{className:`${e}-inner`,children:i})]})});Pae.displayName="Tooltip";const Xm=Object.assign(Pae,{TOOLTIP_OFFSET:[0,6]});function Mxe(e){const t=me.useRef(null),r=Sn(void 0,"popover"),n=Sn(void 0,"tooltip"),i=me.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(lI(t.current,r))return Nxe.POPPER_OFFSET;if(lI(t.current,n))return Xm.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function $xe(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(Gm(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(Gm(i)))}const kae=me.forwardRef(({children:e,transition:t=Lp,popperConfig:r={},rootClose:n=!1,placement:i="top",show:o=!1,...a},s)=>{const l=me.useRef({}),[c,d]=me.useState(null),[h,p]=Mxe(a.offset),g=mh(s,h),S=t===!0?Lp:t||void 0,E=Dp(_=>{d(_),r==null||r.onFirstUpdate==null||r.onFirstUpdate(_)});return rae(()=>{c&&a.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[c,a.target]),me.useEffect(()=>{o||d(null)},[o]),U.jsx(Rae,{...a,ref:g,popperConfig:{...r,modifiers:p.concat(r.modifiers||[]),onFirstUpdate:E},transition:S,rootClose:n,placement:i,show:o,children:(_,{arrowProps:w,popper:b,show:x})=>{var A;$xe(_,w);const R=b==null?void 0:b.placement,O=Object.assign(l.current,{state:b==null?void 0:b.state,scheduleUpdate:b==null?void 0:b.update,placement:R,outOfBoundaries:(b==null||(A=b.state)==null||(A=A.modifiersData.hide)==null?void 0:A.isReferenceHidden)||!1,strategy:r.strategy}),m=!!c;return typeof e=="function"?e({..._,placement:R,show:x,...!t&&x&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:m}):me.cloneElement(e,{..._,placement:R,arrowProps:w,popper:O,hasDoneInitialMeasure:m,className:on(e.props.className,!t&&x&&"show"),style:{...e.props.style,..._.style}})}})});kae.displayName="Overlay";function Fxe(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function OX(e,t,r){const[n]=t,i=n.currentTarget,o=n.relatedTarget||n.nativeEvent[r];(!o||o!==i)&&!Np(i,o)&&e(...t)}Yr.oneOf(["click","hover","focus"]);const cI=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:o=!1,onToggle:a,delay:s,placement:l,flip:c=l&&l.indexOf("auto")!==-1,...d})=>{const h=me.useRef(null),p=mh(h,_v(r)),g=ERe(),S=me.useRef(""),[E,_]=Aie(i,o,a),w=Fxe(s),{onFocus:b,onBlur:x,onClick:A}=typeof r!="function"?me.Children.only(r).props:{},R=J=>{p(Gm(J))},O=me.useCallback(()=>{if(g.clear(),S.current="show",!w.show){_(!0);return}g.set(()=>{S.current==="show"&&_(!0)},w.show)},[w.show,_,g]),m=me.useCallback(()=>{if(g.clear(),S.current="hide",!w.hide){_(!1);return}g.set(()=>{S.current==="hide"&&_(!1)},w.hide)},[w.hide,_,g]),k=me.useCallback((...J)=>{O(),b==null||b(...J)},[O,b]),D=me.useCallback((...J)=>{m(),x==null||x(...J)},[m,x]),V=me.useCallback((...J)=>{_(!E),A==null||A(...J)},[A,_,E]),F=me.useCallback((...J)=>{OX(O,J,"fromElement")},[O]),G=me.useCallback((...J)=>{OX(m,J,"toElement")},[m]),Y=e==null?[]:[].concat(e),X={ref:R};return Y.indexOf("click")!==-1&&(X.onClick=V),Y.indexOf("focus")!==-1&&(X.onFocus=k,X.onBlur=D),Y.indexOf("hover")!==-1&&(X.onMouseOver=F,X.onMouseOut=G),U.jsxs(U.Fragment,{children:[typeof r=="function"?r(X):me.cloneElement(r,X),U.jsx(kae,{...d,show:E,onHide:m,flip:c,placement:l,popperConfig:n,target:h.current,children:t})]})},Ev=me.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:o,...a},s)=>{e=Sn(e,"spinner");const l=`${e}-${r}`;return U.jsx(i,{ref:s,...a,className:on(o,l,n&&`${l}-${n}`,t&&`text-${t}`)})});Ev.displayName="Spinner";const Fd=Xt.forwardRef((e,t)=>{function r(i){if(e.onKeyDown)return e.onKeyDown(i);if(i.key===" "&&i.preventDefault(),i.key==="Enter"||i.key===" "){if(e.disabled||!e.onClick)return;n(i)}}function n(...i){if(!(e.disabled||!e.onClick))return e.onClick(...i)}return U.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})}),jxe="_appLink_1d1n3_1",Uxe={appLink:jxe},Yo=me.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:o,children:a,disabled:s,tag:l="a",preventFocus:c}=e;if(!r)return U.jsx("div",{ref:t,className:`${Uxe.appLink} ${i||""}`,style:o,children:a});const d=Fn.getHref(r,n)||void 0,p={onClick:g=>{var E;const S=g.metaKey||g.ctrlKey;S||g.preventDefault(),!s&&((E=e.onClick)==null||E.call(e,g),e.analyticsData&&e.analyticsOptions&&Ti.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!S&&(e.openInNewTab?Mn.PageLoad(d,!0):e.forcePageLoad?Mn.PageLoad(d):Fn.trigger(r,n)))},...l==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:o,disabled:s,tabIndex:c?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return l==="button"||!d?U.jsx(Fd,{...p,children:a}):U.jsx(l,{...p,children:a})}),Dae={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}};function qxe(e){const t=me.useMemo(()=>`${e.type}-${Dae.getRandomInt()}`,[]);return e.title?e.spanHack?U.jsx(cI,{placement:e.placement,overlay:U.jsx(Xm,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:U.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):U.jsx(cI,{placement:e.placement,overlay:U.jsx(Xm,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:U.jsx(me.Fragment,{children:e.children},t)}):U.jsx(U.Fragment,{children:e.children})}function Vxe(e){const[t,r]=me.useState();return me.useEffect(()=>{const n=document.createElement("div");S3.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),U.jsx(cI,{placement:"top",overlay:U.jsx(Xm,{id:e.id,children:U.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:U.jsx("div",{children:e.children})})}el.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function el(e){return e.type==="text"?U.jsx(qxe,{...e,type:"text"}):e.type==="markup"?U.jsx(Vxe,{...e,type:"markup"}):U.jsx(U.Fragment,{})}var Ol={},bc={};/**
|
|
127
|
+
* @license React
|
|
128
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
129
|
+
*
|
|
130
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the MIT license found in the
|
|
133
|
+
* LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/var IX;function Hxe(){if(IX)return bc;IX=1;var e=Mo();function t(z){for(var oe="https://reactjs.org/docs/error-decoder.html?invariant="+z,Ee=1;Ee<arguments.length;Ee++)oe+="&args[]="+encodeURIComponent(arguments[Ee]);return"Minified React error #"+z+"; visit "+oe+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(z,oe){return r&&(r=!1,oe[0]!=="<"&&z.push("<!-- -->")),oe==="<!-- -->"?r=!0:z.push(oe)}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={},s={};function l(z){return i.call(s,z)?!0:i.call(a,z)?!1:o.test(z)?s[z]=!0:(a[z]=!0,!1)}function c(z,oe,Ee,je,pt,it,xt){this.acceptsBooleans=oe===2||oe===3||oe===4,this.attributeName=je,this.attributeNamespace=pt,this.mustUseProperty=Ee,this.propertyName=z,this.type=oe,this.sanitizeURL=it,this.removeEmptyString=xt}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(z){d[z]=new c(z,0,!1,z,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(z){var oe=z[0];d[oe]=new c(oe,1,!1,z[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(z){d[z]=new c(z,2,!1,z.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(z){d[z]=new c(z,2,!1,z,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(z){d[z]=new c(z,3,!1,z.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(z){d[z]=new c(z,3,!0,z,null,!1,!1)}),["capture","download"].forEach(function(z){d[z]=new c(z,4,!1,z,null,!1,!1)}),["cols","rows","size","span"].forEach(function(z){d[z]=new c(z,6,!1,z,null,!1,!1)}),["rowSpan","start"].forEach(function(z){d[z]=new c(z,5,!1,z.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function p(z){return z[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(z){var oe=z.replace(h,p);d[oe]=new c(oe,1,!1,z,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(z){var oe=z.replace(h,p);d[oe]=new c(oe,1,!1,z,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(z){var oe=z.replace(h,p);d[oe]=new c(oe,1,!1,z,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(z){d[z]=new c(z,1,!1,z.toLowerCase(),null,!1,!1)}),d.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(z){d[z]=new c(z,1,!1,z.toLowerCase(),null,!0,!0)});var g={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(z){S.forEach(function(oe){oe=oe+z.charAt(0).toUpperCase()+z.substring(1),g[oe]=g[z]})});var E=/["'&<>]/;function _(z){if(typeof z=="boolean"||typeof z=="number")return""+z;z=""+z;var oe=E.exec(z);if(oe){var Ee="",je,pt=0;for(je=oe.index;je<z.length;je++){switch(z.charCodeAt(je)){case 34:oe=""";break;case 38:oe="&";break;case 39:oe="'";break;case 60:oe="<";break;case 62:oe=">";break;default:continue}pt!==je&&(Ee+=z.substring(pt,je)),pt=je+1,Ee+=oe}z=pt!==je?Ee+z.substring(pt,je):Ee}return z}var w=/([A-Z])/g,b=/^ms-/,x=Array.isArray;function A(z,oe){return{insertionMode:z,selectedValue:oe}}function R(z,oe,Ee){switch(oe){case"select":return A(1,Ee.value!=null?Ee.value:Ee.defaultValue);case"svg":return A(2,null);case"math":return A(3,null);case"foreignObject":return A(1,null);case"table":return A(4,null);case"thead":case"tbody":case"tfoot":return A(5,null);case"colgroup":return A(7,null);case"tr":return A(6,null)}return 4<=z.insertionMode||z.insertionMode===0?A(1,null):z}function O(z,oe){oe!==""&&z.push(_(oe),"<!-- -->")}var m=new Map;function k(z,oe,Ee){if(typeof Ee!="object")throw Error(t(62));oe=!0;for(var je in Ee)if(i.call(Ee,je)){var pt=Ee[je];if(pt!=null&&typeof pt!="boolean"&&pt!==""){if(je.indexOf("--")===0){var it=_(je);pt=_((""+pt).trim())}else{it=je;var xt=m.get(it);xt!==void 0||(xt=_(it.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),m.set(it,xt)),it=xt,pt=typeof pt=="number"?pt===0||i.call(g,je)?""+pt:pt+"px":_((""+pt).trim())}oe?(oe=!1,z.push(' style="',it,":",pt)):z.push(";",it,":",pt)}}oe||z.push('"')}function D(z,oe,Ee,je){switch(Ee){case"style":k(z,oe,je);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Ee.length)||Ee[0]!=="o"&&Ee[0]!=="O"||Ee[1]!=="n"&&Ee[1]!=="N"){if(oe=d.hasOwnProperty(Ee)?d[Ee]:null,oe!==null){switch(typeof je){case"function":case"symbol":return;case"boolean":if(!oe.acceptsBooleans)return}switch(Ee=oe.attributeName,oe.type){case 3:je&&z.push(" ",Ee,'=""');break;case 4:je===!0?z.push(" ",Ee,'=""'):je!==!1&&z.push(" ",Ee,'="',_(je),'"');break;case 5:isNaN(je)||z.push(" ",Ee,'="',_(je),'"');break;case 6:!isNaN(je)&&1<=je&&z.push(" ",Ee,'="',_(je),'"');break;default:oe.sanitizeURL&&(je=""+je),z.push(" ",Ee,'="',_(je),'"')}}else if(l(Ee)){switch(typeof je){case"function":case"symbol":return;case"boolean":if(oe=Ee.toLowerCase().slice(0,5),oe!=="data-"&&oe!=="aria-")return}z.push(" ",Ee,'="',_(je),'"')}}}function V(z,oe,Ee){if(oe!=null){if(Ee!=null)throw Error(t(60));if(typeof oe!="object"||!("__html"in oe))throw Error(t(61));oe=oe.__html,oe!=null&&z.push(""+oe)}}function F(z){var oe="";return e.Children.forEach(z,function(Ee){Ee!=null&&(oe+=Ee)}),oe}function G(z,oe,Ee,je){z.push(J(Ee));var pt=Ee=null,it;for(it in oe)if(i.call(oe,it)){var xt=oe[it];if(xt!=null)switch(it){case"children":Ee=xt;break;case"dangerouslySetInnerHTML":pt=xt;break;default:D(z,je,it,xt)}}return z.push(">"),V(z,pt,Ee),typeof Ee=="string"?(z.push(_(Ee)),null):Ee}var Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X=new Map;function J(z){var oe=X.get(z);if(oe===void 0){if(!Y.test(z))throw Error(t(65,z));oe="<"+z,X.set(z,oe)}return oe}function Z(z,oe,Ee,je,pt){switch(oe){case"select":z.push(J("select"));var it=null,xt=null;for(Pr in Ee)if(i.call(Ee,Pr)){var Vt=Ee[Pr];if(Vt!=null)switch(Pr){case"children":it=Vt;break;case"dangerouslySetInnerHTML":xt=Vt;break;case"defaultValue":case"value":break;default:D(z,je,Pr,Vt)}}return z.push(">"),V(z,xt,it),it;case"option":xt=pt.selectedValue,z.push(J("option"));var Zt=Vt=null,br=null,Pr=null;for(it in Ee)if(i.call(Ee,it)&&(oe=Ee[it],oe!=null))switch(it){case"children":Vt=oe;break;case"selected":br=oe;break;case"dangerouslySetInnerHTML":Pr=oe;break;case"value":Zt=oe;default:D(z,je,it,oe)}if(xt!=null)if(Ee=Zt!==null?""+Zt:F(Vt),x(xt)){for(je=0;je<xt.length;je++)if(""+xt[je]===Ee){z.push(' selected=""');break}}else""+xt===Ee&&z.push(' selected=""');else br&&z.push(' selected=""');return z.push(">"),V(z,Pr,Vt),Vt;case"textarea":z.push(J("textarea")),Pr=xt=it=null;for(Vt in Ee)if(i.call(Ee,Vt)&&(Zt=Ee[Vt],Zt!=null))switch(Vt){case"children":Pr=Zt;break;case"value":it=Zt;break;case"defaultValue":xt=Zt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:D(z,je,Vt,Zt)}if(it===null&&xt!==null&&(it=xt),z.push(">"),Pr!=null){if(it!=null)throw Error(t(92));if(x(Pr)&&1<Pr.length)throw Error(t(93));it=""+Pr}return typeof it=="string"&&it[0]===`
|
|
135
|
+
`&&z.push(`
|
|
136
|
+
`),it!==null&&z.push(_(""+it)),null;case"input":z.push(J("input")),Zt=Pr=Vt=it=null;for(xt in Ee)if(i.call(Ee,xt)&&(br=Ee[xt],br!=null))switch(xt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Zt=br;break;case"defaultValue":Vt=br;break;case"checked":Pr=br;break;case"value":it=br;break;default:D(z,je,xt,br)}return Pr!==null?D(z,je,"checked",Pr):Zt!==null&&D(z,je,"checked",Zt),it!==null?D(z,je,"value",it):Vt!==null&&D(z,je,"value",Vt),z.push("/>"),null;case"menuitem":z.push(J("menuitem"));for(var kn in Ee)if(i.call(Ee,kn)&&(it=Ee[kn],it!=null))switch(kn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:D(z,je,kn,it)}return z.push(">"),null;case"listing":case"pre":z.push(J(oe)),xt=it=null;for(Zt in Ee)if(i.call(Ee,Zt)&&(Vt=Ee[Zt],Vt!=null))switch(Zt){case"children":it=Vt;break;case"dangerouslySetInnerHTML":xt=Vt;break;default:D(z,je,Zt,Vt)}if(z.push(">"),xt!=null){if(it!=null)throw Error(t(60));if(typeof xt!="object"||!("__html"in xt))throw Error(t(61));Ee=xt.__html,Ee!=null&&(typeof Ee=="string"&&0<Ee.length&&Ee[0]===`
|
|
137
|
+
`?z.push(`
|
|
138
|
+
`,Ee):z.push(""+Ee))}return typeof it=="string"&&it[0]===`
|
|
139
|
+
`&&z.push(`
|
|
140
|
+
`),it;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":z.push(J(oe));for(var Oi in Ee)if(i.call(Ee,Oi)&&(it=Ee[Oi],it!=null))switch(Oi){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,oe));default:D(z,je,Oi,it)}return z.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return G(z,Ee,oe,je);case"html":return pt.insertionMode===0&&z.push("<!DOCTYPE html>"),G(z,Ee,oe,je);default:if(oe.indexOf("-")===-1&&typeof Ee.is!="string")return G(z,Ee,oe,je);z.push(J(oe)),xt=it=null;for(br in Ee)if(i.call(Ee,br)&&(Vt=Ee[br],Vt!=null))switch(br){case"children":it=Vt;break;case"dangerouslySetInnerHTML":xt=Vt;break;case"style":k(z,je,Vt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(br)&&typeof Vt!="function"&&typeof Vt!="symbol"&&z.push(" ",br,'="',_(Vt),'"')}return z.push(">"),V(z,xt,it),it}}function ue(z,oe,Ee){if(n(z,'<!--$?--><template id="'),Ee===null)throw Error(t(395));return n(z,Ee),n(z,'"></template>')}function H(z,oe,Ee,je){switch(Ee.insertionMode){case 0:case 1:return n(z,'<div hidden id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 2:return n(z,'<svg aria-hidden="true" style="display:none" id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 3:return n(z,'<math aria-hidden="true" style="display:none" id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 4:return n(z,'<table hidden id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 5:return n(z,'<table hidden><tbody id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 6:return n(z,'<table hidden><tr id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');case 7:return n(z,'<table hidden><colgroup id="'),n(z,oe.segmentPrefix),oe=je.toString(16),n(z,oe),n(z,'">');default:throw Error(t(397))}}function L(z,oe){switch(oe.insertionMode){case 0:case 1:return n(z,"</div>");case 2:return n(z,"</svg>");case 3:return n(z,"</math>");case 4:return n(z,"</table>");case 5:return n(z,"</tbody></table>");case 6:return n(z,"</tr></table>");case 7:return n(z,"</colgroup></table>");default:throw Error(t(397))}}function j(z,oe){return oe=oe===void 0?"":oe,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:oe+"P:",segmentPrefix:oe+"S:",boundaryPrefix:oe+"B:",idPrefix:oe,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:z}}var te=Object.assign,ee=Symbol.for("react.element"),de=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),P=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),we=Symbol.for("react.scope"),_e=Symbol.for("react.debug_trace_mode"),Oe=Symbol.for("react.legacy_hidden"),Te=Symbol.for("react.default_value"),Ie=Symbol.iterator;function $e(z){if(z==null)return null;if(typeof z=="function")return z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case Se:return"Fragment";case de:return"Portal";case se:return"Profiler";case Ae:return"StrictMode";case N:return"Suspense";case B:return"SuspenseList"}if(typeof z=="object")switch(z.$$typeof){case P:return(z.displayName||"Context")+".Consumer";case I:return(z._context.displayName||"Context")+".Provider";case q:var oe=z.render;return z=z.displayName,z||(z=oe.displayName||oe.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case re:return oe=z.displayName||null,oe!==null?oe:$e(z.type)||"Memo";case ce:oe=z._payload,z=z._init;try{return $e(z(oe))}catch{}}return null}var ge={};function be(z,oe){if(z=z.contextTypes,!z)return ge;var Ee={},je;for(je in z)Ee[je]=oe[je];return Ee}var Ce=null;function Le(z,oe){if(z!==oe){z.context._currentValue2=z.parentValue,z=z.parent;var Ee=oe.parent;if(z===null){if(Ee!==null)throw Error(t(401))}else{if(Ee===null)throw Error(t(401));Le(z,Ee)}oe.context._currentValue2=oe.value}}function Ve(z){z.context._currentValue2=z.parentValue,z=z.parent,z!==null&&Ve(z)}function qe(z){var oe=z.parent;oe!==null&&qe(oe),z.context._currentValue2=z.value}function Ge(z,oe){if(z.context._currentValue2=z.parentValue,z=z.parent,z===null)throw Error(t(402));z.depth===oe.depth?Le(z,oe):Ge(z,oe)}function ct(z,oe){var Ee=oe.parent;if(Ee===null)throw Error(t(402));z.depth===Ee.depth?Le(z,Ee):ct(z,Ee),oe.context._currentValue2=oe.value}function jt(z){var oe=Ce;oe!==z&&(oe===null?qe(z):z===null?Ve(oe):oe.depth===z.depth?Le(oe,z):oe.depth>z.depth?Ge(oe,z):ct(oe,z),Ce=z)}var zt={isMounted:function(){return!1},enqueueSetState:function(z,oe){z=z._reactInternals,z.queue!==null&&z.queue.push(oe)},enqueueReplaceState:function(z,oe){z=z._reactInternals,z.replace=!0,z.queue=[oe]},enqueueForceUpdate:function(){}};function Ze(z,oe,Ee,je){var pt=z.state!==void 0?z.state:null;z.updater=zt,z.props=Ee,z.state=pt;var it={queue:[],replace:!1};z._reactInternals=it;var xt=oe.contextType;if(z.context=typeof xt=="object"&&xt!==null?xt._currentValue2:je,xt=oe.getDerivedStateFromProps,typeof xt=="function"&&(xt=xt(Ee,pt),pt=xt==null?pt:te({},pt,xt),z.state=pt),typeof oe.getDerivedStateFromProps!="function"&&typeof z.getSnapshotBeforeUpdate!="function"&&(typeof z.UNSAFE_componentWillMount=="function"||typeof z.componentWillMount=="function"))if(oe=z.state,typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount(),oe!==z.state&&zt.enqueueReplaceState(z,z.state,null),it.queue!==null&&0<it.queue.length)if(oe=it.queue,xt=it.replace,it.queue=null,it.replace=!1,xt&&oe.length===1)z.state=oe[0];else{for(it=xt?oe[0]:z.state,pt=!0,xt=xt?1:0;xt<oe.length;xt++){var Vt=oe[xt];Vt=typeof Vt=="function"?Vt.call(z,it,Ee,je):Vt,Vt!=null&&(pt?(pt=!1,it=te({},it,Vt)):te(it,Vt))}z.state=it}else it.queue=null}var Tt={id:1,overflow:""};function _t(z,oe,Ee){var je=z.id;z=z.overflow;var pt=32-st(je)-1;je&=~(1<<pt),Ee+=1;var it=32-st(oe)+pt;if(30<it){var xt=pt-pt%5;return it=(je&(1<<xt)-1).toString(32),je>>=xt,pt-=xt,{id:1<<32-st(oe)+pt|Ee<<pt|je,overflow:it+z}}return{id:1<<it|Ee<<pt|je,overflow:z}}var st=Math.clz32?Math.clz32:Gt,rt=Math.log,dt=Math.LN2;function Gt(z){return z>>>=0,z===0?32:31-(rt(z)/dt|0)|0}function Mt(z,oe){return z===oe&&(z!==0||1/z===1/oe)||z!==z&&oe!==oe}var Re=typeof Object.is=="function"?Object.is:Mt,Je=null,ut=null,wt=null,Nt=null,nr=!1,yr=!1,ir=0,wr=null,Ur=0;function Wr(){if(Je===null)throw Error(t(321));return Je}function Un(){if(0<Ur)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function qn(){return Nt===null?wt===null?(nr=!1,wt=Nt=Un()):(nr=!0,Nt=wt):Nt.next===null?(nr=!1,Nt=Nt.next=Un()):(nr=!0,Nt=Nt.next),Nt}function Kn(){ut=Je=null,yr=!1,wt=null,Ur=0,Nt=wr=null}function En(z,oe){return typeof oe=="function"?oe(z):oe}function ti(z,oe,Ee){if(Je=Wr(),Nt=qn(),nr){var je=Nt.queue;if(oe=je.dispatch,wr!==null&&(Ee=wr.get(je),Ee!==void 0)){wr.delete(je),je=Nt.memoizedState;do je=z(je,Ee.action),Ee=Ee.next;while(Ee!==null);return Nt.memoizedState=je,[je,oe]}return[Nt.memoizedState,oe]}return z=z===En?typeof oe=="function"?oe():oe:Ee!==void 0?Ee(oe):oe,Nt.memoizedState=z,z=Nt.queue={last:null,dispatch:null},z=z.dispatch=Si.bind(null,Je,z),[Nt.memoizedState,z]}function si(z,oe){if(Je=Wr(),Nt=qn(),oe=oe===void 0?null:oe,Nt!==null){var Ee=Nt.memoizedState;if(Ee!==null&&oe!==null){var je=Ee[1];e:if(je===null)je=!1;else{for(var pt=0;pt<je.length&&pt<oe.length;pt++)if(!Re(oe[pt],je[pt])){je=!1;break e}je=!0}if(je)return Ee[0]}}return z=z(),Nt.memoizedState=[z,oe],z}function Si(z,oe,Ee){if(25<=Ur)throw Error(t(301));if(z===Je)if(yr=!0,z={action:Ee,next:null},wr===null&&(wr=new Map),Ee=wr.get(oe),Ee===void 0)wr.set(oe,z);else{for(oe=Ee;oe.next!==null;)oe=oe.next;oe.next=z}}function di(){throw Error(t(394))}function $i(){}var qi={readContext:function(z){return z._currentValue2},useContext:function(z){return Wr(),z._currentValue2},useMemo:si,useReducer:ti,useRef:function(z){Je=Wr(),Nt=qn();var oe=Nt.memoizedState;return oe===null?(z={current:z},Nt.memoizedState=z):oe},useState:function(z){return ti(En,z)},useInsertionEffect:$i,useLayoutEffect:function(){},useCallback:function(z,oe){return si(function(){return z},oe)},useImperativeHandle:$i,useEffect:$i,useDebugValue:$i,useDeferredValue:function(z){return Wr(),z},useTransition:function(){return Wr(),[!1,di]},useId:function(){var z=ut.treeContext,oe=z.overflow;z=z.id,z=(z&~(1<<32-st(z)-1)).toString(32)+oe;var Ee=xn;if(Ee===null)throw Error(t(404));return oe=ir++,z=":"+Ee.idPrefix+"R"+z,0<oe&&(z+="H"+oe.toString(32)),z+":"},useMutableSource:function(z,oe){return Wr(),oe(z._source)},useSyncExternalStore:function(z,oe,Ee){if(Ee===void 0)throw Error(t(407));return Ee()}},xn=null,ri=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function xi(z){console.error(z)}function Ei(){}function ot(z,oe,Ee,je,pt,it,xt,Vt,Zt){var br=[],Pr=new Set;return oe={destination:null,responseState:oe,progressiveChunkSize:je===void 0?12800:je,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Pr,pingedTasks:br,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:pt===void 0?xi:pt,onAllReady:Ei,onShellReady:xt===void 0?Ei:xt,onShellError:Ei,onFatalError:Ei},Ee=gt(oe,0,null,Ee),Ee.parentFlushed=!0,z=Dt(oe,z,null,Ee,Pr,ge,null,Tt),br.push(z),oe}function Dt(z,oe,Ee,je,pt,it,xt,Vt){z.allPendingTasks++,Ee===null?z.pendingRootTasks++:Ee.pendingTasks++;var Zt={node:oe,ping:function(){var br=z.pingedTasks;br.push(Zt),br.length===1&&Qr(z)},blockedBoundary:Ee,blockedSegment:je,abortSet:pt,legacyContext:it,context:xt,treeContext:Vt};return pt.add(Zt),Zt}function gt(z,oe,Ee,je){return{status:0,id:-1,index:oe,parentFlushed:!1,chunks:[],children:[],formatContext:je,boundary:Ee}}function et(z,oe){z=z.onError,z(oe)}function fe(z,oe){var Ee=z.onShellError;Ee(oe),Ee=z.onFatalError,Ee(oe),z.destination!==null?(z.status=2,z.destination.destroy(oe)):(z.status=1,z.fatalError=oe)}function nt(z,oe,Ee,je,pt){for(Je={},ut=oe,ir=0,z=Ee(je,pt);yr;)yr=!1,ir=0,Ur+=1,Nt=null,z=Ee(je,pt);return Kn(),z}function ze(z,oe,Ee,je){var pt=Ee.render(),it=je.childContextTypes;if(it!=null){var xt=oe.legacyContext;if(typeof Ee.getChildContext!="function")je=xt;else{Ee=Ee.getChildContext();for(var Vt in Ee)if(!(Vt in it))throw Error(t(108,$e(je)||"Unknown",Vt));je=te({},xt,Ee)}oe.legacyContext=je,Bt(z,oe,pt),oe.legacyContext=xt}else Bt(z,oe,pt)}function Ct(z,oe){if(z&&z.defaultProps){oe=te({},oe),z=z.defaultProps;for(var Ee in z)oe[Ee]===void 0&&(oe[Ee]=z[Ee]);return oe}return oe}function yt(z,oe,Ee,je,pt){if(typeof Ee=="function")if(Ee.prototype&&Ee.prototype.isReactComponent){pt=be(Ee,oe.legacyContext);var it=Ee.contextType;it=new Ee(je,typeof it=="object"&&it!==null?it._currentValue2:pt),Ze(it,Ee,je,pt),ze(z,oe,it,Ee)}else{it=be(Ee,oe.legacyContext),pt=nt(z,oe,Ee,je,it);var xt=ir!==0;if(typeof pt=="object"&&pt!==null&&typeof pt.render=="function"&&pt.$$typeof===void 0)Ze(pt,Ee,je,it),ze(z,oe,pt,Ee);else if(xt){je=oe.treeContext,oe.treeContext=_t(je,1,0);try{Bt(z,oe,pt)}finally{oe.treeContext=je}}else Bt(z,oe,pt)}else if(typeof Ee=="string")switch(pt=oe.blockedSegment,it=Z(pt.chunks,Ee,je,z.responseState,pt.formatContext),xt=pt.formatContext,pt.formatContext=R(xt,Ee,je),bt(z,oe,it),pt.formatContext=xt,Ee){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:pt.chunks.push("</",Ee,">")}else{switch(Ee){case Oe:case _e:case Ae:case se:case Se:Bt(z,oe,je.children);return;case B:Bt(z,oe,je.children);return;case we:throw Error(t(343));case N:e:{Ee=oe.blockedBoundary,pt=oe.blockedSegment,it=je.fallback,je=je.children,xt=new Set;var Vt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:xt},Zt=gt(z,pt.chunks.length,Vt,pt.formatContext);pt.children.push(Zt);var br=gt(z,0,null,pt.formatContext);br.parentFlushed=!0,oe.blockedBoundary=Vt,oe.blockedSegment=br;try{if(bt(z,oe,je),br.status=1,wn(Vt,br),Vt.pendingTasks===0)break e}catch(Pr){br.status=4,et(z,Pr),Vt.forceClientRender=!0}finally{oe.blockedBoundary=Ee,oe.blockedSegment=pt}oe=Dt(z,it,Ee,Zt,xt,oe.legacyContext,oe.context,oe.treeContext),z.pingedTasks.push(oe)}return}if(typeof Ee=="object"&&Ee!==null)switch(Ee.$$typeof){case q:if(je=nt(z,oe,Ee.render,je,pt),ir!==0){Ee=oe.treeContext,oe.treeContext=_t(Ee,1,0);try{Bt(z,oe,je)}finally{oe.treeContext=Ee}}else Bt(z,oe,je);return;case re:Ee=Ee.type,je=Ct(Ee,je),yt(z,oe,Ee,je,pt);return;case I:if(pt=je.children,Ee=Ee._context,je=je.value,it=Ee._currentValue2,Ee._currentValue2=je,xt=Ce,Ce=je={parent:xt,depth:xt===null?0:xt.depth+1,context:Ee,parentValue:it,value:je},oe.context=je,Bt(z,oe,pt),z=Ce,z===null)throw Error(t(403));je=z.parentValue,z.context._currentValue2=je===Te?z.context._defaultValue:je,z=Ce=z.parent,oe.context=z;return;case P:je=je.children,je=je(Ee._currentValue2),Bt(z,oe,je);return;case ce:pt=Ee._init,Ee=pt(Ee._payload),je=Ct(Ee,je),yt(z,oe,Ee,je,void 0);return}throw Error(t(130,Ee==null?Ee:typeof Ee,""))}}function Bt(z,oe,Ee){if(oe.node=Ee,typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case ee:yt(z,oe,Ee.type,Ee.props,Ee.ref);return;case de:throw Error(t(257));case ce:var je=Ee._init;Ee=je(Ee._payload),Bt(z,oe,Ee);return}if(x(Ee)){Yt(z,oe,Ee);return}if(Ee===null||typeof Ee!="object"?je=null:(je=Ie&&Ee[Ie]||Ee["@@iterator"],je=typeof je=="function"?je:null),je&&(je=je.call(Ee))){if(Ee=je.next(),!Ee.done){var pt=[];do pt.push(Ee.value),Ee=je.next();while(!Ee.done);Yt(z,oe,pt)}return}throw z=Object.prototype.toString.call(Ee),Error(t(31,z==="[object Object]"?"object with keys {"+Object.keys(Ee).join(", ")+"}":z))}typeof Ee=="string"?(oe=oe.blockedSegment.chunks,z.responseState.generateStaticMarkup?oe.push(_(Ee)):O(oe,Ee)):typeof Ee=="number"&&(oe=oe.blockedSegment.chunks,Ee=""+Ee,z.responseState.generateStaticMarkup?oe.push(_(Ee)):O(oe,Ee))}function Yt(z,oe,Ee){for(var je=Ee.length,pt=0;pt<je;pt++){var it=oe.treeContext;oe.treeContext=_t(it,je,pt);try{bt(z,oe,Ee[pt])}finally{oe.treeContext=it}}}function bt(z,oe,Ee){var je=oe.blockedSegment.formatContext,pt=oe.legacyContext,it=oe.context;try{return Bt(z,oe,Ee)}catch(Zt){if(Kn(),typeof Zt=="object"&&Zt!==null&&typeof Zt.then=="function"){Ee=Zt;var xt=oe.blockedSegment,Vt=gt(z,xt.chunks.length,null,xt.formatContext);xt.children.push(Vt),z=Dt(z,oe.node,oe.blockedBoundary,Vt,oe.abortSet,oe.legacyContext,oe.context,oe.treeContext).ping,Ee.then(z,z),oe.blockedSegment.formatContext=je,oe.legacyContext=pt,oe.context=it,jt(it)}else throw oe.blockedSegment.formatContext=je,oe.legacyContext=pt,oe.context=it,jt(it),Zt}}function Ar(z){var oe=z.blockedBoundary;z=z.blockedSegment,z.status=3,Lt(this,oe,z)}function Xr(z){var oe=z.blockedBoundary;z.blockedSegment.status=3,oe===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(oe.pendingTasks--,oe.forceClientRender||(oe.forceClientRender=!0,oe.parentFlushed&&this.clientRenderedBoundaries.push(oe)),oe.fallbackAbortableTasks.forEach(Xr,this),oe.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(z=this.onAllReady,z()))}function wn(z,oe){if(oe.chunks.length===0&&oe.children.length===1&&oe.children[0].boundary===null){var Ee=oe.children[0];Ee.id=oe.id,Ee.parentFlushed=!0,Ee.status===1&&wn(z,Ee)}else z.completedSegments.push(oe)}function Lt(z,oe,Ee){if(oe===null){if(Ee.parentFlushed){if(z.completedRootSegment!==null)throw Error(t(389));z.completedRootSegment=Ee}z.pendingRootTasks--,z.pendingRootTasks===0&&(z.onShellError=Ei,oe=z.onShellReady,oe())}else oe.pendingTasks--,oe.forceClientRender||(oe.pendingTasks===0?(Ee.parentFlushed&&Ee.status===1&&wn(oe,Ee),oe.parentFlushed&&z.completedBoundaries.push(oe),oe.fallbackAbortableTasks.forEach(Ar,z),oe.fallbackAbortableTasks.clear()):Ee.parentFlushed&&Ee.status===1&&(wn(oe,Ee),oe.completedSegments.length===1&&oe.parentFlushed&&z.partialBoundaries.push(oe)));z.allPendingTasks--,z.allPendingTasks===0&&(z=z.onAllReady,z())}function Qr(z){if(z.status!==2){var oe=Ce,Ee=ri.current;ri.current=qi;var je=xn;xn=z.responseState;try{var pt=z.pingedTasks,it;for(it=0;it<pt.length;it++){var xt=pt[it],Vt=z,Zt=xt.blockedSegment;if(Zt.status===0){jt(xt.context);try{Bt(Vt,xt,xt.node),xt.abortSet.delete(xt),Zt.status=1,Lt(Vt,xt.blockedBoundary,Zt)}catch(Ii){if(Kn(),typeof Ii=="object"&&Ii!==null&&typeof Ii.then=="function"){var br=xt.ping;Ii.then(br,br)}else{xt.abortSet.delete(xt),Zt.status=4;var Pr=xt.blockedBoundary,kn=Ii;if(et(Vt,kn),Pr===null?fe(Vt,kn):(Pr.pendingTasks--,Pr.forceClientRender||(Pr.forceClientRender=!0,Pr.parentFlushed&&Vt.clientRenderedBoundaries.push(Pr))),Vt.allPendingTasks--,Vt.allPendingTasks===0){var Oi=Vt.onAllReady;Oi()}}}finally{}}}pt.splice(0,it),z.destination!==null&&ea(z,z.destination)}catch(Ii){et(z,Ii),fe(z,Ii)}finally{xn=je,ri.current=Ee,Ee===qi&&jt(oe)}}}function Vn(z,oe,Ee){switch(Ee.parentFlushed=!0,Ee.status){case 0:var je=Ee.id=z.nextSegmentId++;return z=z.responseState,n(oe,'<template id="'),n(oe,z.placeholderPrefix),z=je.toString(16),n(oe,z),n(oe,'"></template>');case 1:Ee.status=2;var pt=!0;je=Ee.chunks;var it=0;Ee=Ee.children;for(var xt=0;xt<Ee.length;xt++){for(pt=Ee[xt];it<pt.index;it++)n(oe,je[it]);pt=Pn(z,oe,pt)}for(;it<je.length-1;it++)n(oe,je[it]);return it<je.length&&(pt=n(oe,je[it])),pt;default:throw Error(t(390))}}function Pn(z,oe,Ee){var je=Ee.boundary;if(je===null)return Vn(z,oe,Ee);if(je.parentFlushed=!0,je.forceClientRender)return z.responseState.generateStaticMarkup||n(oe,"<!--$!-->"),Vn(z,oe,Ee),z=z.responseState.generateStaticMarkup?!0:n(oe,"<!--/$-->"),z;if(0<je.pendingTasks){je.rootSegmentID=z.nextSegmentId++,0<je.completedSegments.length&&z.partialBoundaries.push(je);var pt=z.responseState,it=pt.nextSuspenseID++;return pt=pt.boundaryPrefix+it.toString(16),je=je.id=pt,ue(oe,z.responseState,je),Vn(z,oe,Ee),n(oe,"<!--/$-->")}if(je.byteSize>z.progressiveChunkSize)return je.rootSegmentID=z.nextSegmentId++,z.completedBoundaries.push(je),ue(oe,z.responseState,je.id),Vn(z,oe,Ee),n(oe,"<!--/$-->");if(z.responseState.generateStaticMarkup||n(oe,"<!--$-->"),Ee=je.completedSegments,Ee.length!==1)throw Error(t(391));return Pn(z,oe,Ee[0]),z=z.responseState.generateStaticMarkup?!0:n(oe,"<!--/$-->"),z}function oo(z,oe,Ee){return H(oe,z.responseState,Ee.formatContext,Ee.id),Pn(z,oe,Ee),L(oe,Ee.formatContext)}function ui(z,oe,Ee){for(var je=Ee.completedSegments,pt=0;pt<je.length;pt++)Ji(z,oe,Ee,je[pt]);if(je.length=0,z=z.responseState,je=Ee.id,Ee=Ee.rootSegmentID,n(oe,z.startInlineScript),z.sentCompleteBoundaryFunction?n(oe,'$RC("'):(z.sentCompleteBoundaryFunction=!0,n(oe,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),je===null)throw Error(t(395));return Ee=Ee.toString(16),n(oe,je),n(oe,'","'),n(oe,z.segmentPrefix),n(oe,Ee),n(oe,'")<\/script>')}function Ji(z,oe,Ee,je){if(je.status===2)return!0;var pt=je.id;if(pt===-1){if((je.id=Ee.rootSegmentID)===-1)throw Error(t(392));return oo(z,oe,je)}return oo(z,oe,je),z=z.responseState,n(oe,z.startInlineScript),z.sentCompleteSegmentFunction?n(oe,'$RS("'):(z.sentCompleteSegmentFunction=!0,n(oe,'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(oe,z.segmentPrefix),pt=pt.toString(16),n(oe,pt),n(oe,'","'),n(oe,z.placeholderPrefix),n(oe,pt),n(oe,'")<\/script>')}function ea(z,oe){try{var Ee=z.completedRootSegment;if(Ee!==null&&z.pendingRootTasks===0){Pn(z,oe,Ee),z.completedRootSegment=null;var je=z.responseState.bootstrapChunks;for(Ee=0;Ee<je.length-1;Ee++)n(oe,je[Ee]);Ee<je.length&&n(oe,je[Ee])}var pt=z.clientRenderedBoundaries,it;for(it=0;it<pt.length;it++){je=oe;var xt=z.responseState,Vt=pt[it].id;if(n(je,xt.startInlineScript),xt.sentClientRenderFunction?n(je,'$RX("'):(xt.sentClientRenderFunction=!0,n(je,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Vt===null)throw Error(t(395));if(n(je,Vt),!n(je,'")<\/script>')){z.destination=null,it++,pt.splice(0,it);return}}pt.splice(0,it);var Zt=z.completedBoundaries;for(it=0;it<Zt.length;it++)if(!ui(z,oe,Zt[it])){z.destination=null,it++,Zt.splice(0,it);return}Zt.splice(0,it);var br=z.partialBoundaries;for(it=0;it<br.length;it++){var Pr=br[it];e:{pt=z,xt=oe;var kn=Pr.completedSegments;for(Vt=0;Vt<kn.length;Vt++)if(!Ji(pt,xt,Pr,kn[Vt])){Vt++,kn.splice(0,Vt);var Oi=!1;break e}kn.splice(0,Vt),Oi=!0}if(!Oi){z.destination=null,it++,br.splice(0,it);return}}br.splice(0,it);var Ii=z.completedBoundaries;for(it=0;it<Ii.length;it++)if(!ui(z,oe,Ii[it])){z.destination=null,it++,Ii.splice(0,it);return}Ii.splice(0,it)}finally{z.allPendingTasks===0&&z.pingedTasks.length===0&&z.clientRenderedBoundaries.length===0&&z.completedBoundaries.length===0&&oe.push(null)}}function $o(z){try{var oe=z.abortableTasks;oe.forEach(Xr,z),oe.clear(),z.destination!==null&&ea(z,z.destination)}catch(Ee){et(z,Ee),fe(z,Ee)}}function Ba(){}function Pa(z,oe,Ee){var je=!1,pt=null,it="",xt={push:function(Zt){return Zt!==null&&(it+=Zt),!0},destroy:function(Zt){je=!0,pt=Zt}},Vt=!1;if(z=ot(z,j(Ee,oe?oe.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ba,void 0,function(){Vt=!0}),Qr(z),$o(z),z.status===1)z.status=2,xt.destroy(z.fatalError);else if(z.status!==2&&z.destination===null){z.destination=xt;try{ea(z,xt)}catch(Zt){et(z,Zt),fe(z,Zt)}}if(je)throw pt;if(!Vt)throw Error(t(426));return it}return bc.renderToNodeStream=function(){throw Error(t(207))},bc.renderToStaticMarkup=function(z,oe){return Pa(z,oe,!0)},bc.renderToStaticNodeStream=function(){throw Error(t(208))},bc.renderToString=function(z,oe){return Pa(z,oe,!1)},bc.version="18.1.0",bc}var Fg={};/**
|
|
141
|
+
* @license React
|
|
142
|
+
* react-dom-server.browser.production.min.js
|
|
143
|
+
*
|
|
144
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
145
|
+
*
|
|
146
|
+
* This source code is licensed under the MIT license found in the
|
|
147
|
+
* LICENSE file in the root directory of this source tree.
|
|
148
|
+
*/var PX;function Bxe(){if(PX)return Fg;PX=1;var e=Mo();function t(W){for(var ae="https://reactjs.org/docs/error-decoder.html?invariant="+W,ve=1;ve<arguments.length;ve++)ae+="&args[]="+encodeURIComponent(arguments[ve]);return"Minified React error #"+W+"; visit "+ae+" 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(W,ae){if(ae.length!==0)if(512<ae.length)0<n&&(W.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),W.enqueue(ae);else{var ve=r.length-n;ve<ae.length&&(ve===0?W.enqueue(r):(r.set(ae.subarray(0,ve),n),W.enqueue(r),ae=ae.subarray(ve)),r=new Uint8Array(512),n=0),r.set(ae,n),n+=ae.length}}function o(W,ae){return i(W,ae),!0}function a(W){r&&0<n&&(W.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var s=new TextEncoder;function l(W){return s.encode(W)}function c(W){return s.encode(W)}function d(W,ae){typeof W.error=="function"?W.error(ae):W.close()}var h=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},S={};function E(W){return h.call(S,W)?!0:h.call(g,W)?!1:p.test(W)?S[W]=!0:(g[W]=!0,!1)}function _(W,ae,ve,Ne,Qe,tt,Ot){this.acceptsBooleans=ae===2||ae===3||ae===4,this.attributeName=Ne,this.attributeNamespace=Qe,this.mustUseProperty=ve,this.propertyName=W,this.type=ae,this.sanitizeURL=tt,this.removeEmptyString=Ot}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(W){w[W]=new _(W,0,!1,W,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(W){var ae=W[0];w[ae]=new _(ae,1,!1,W[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(W){w[W]=new _(W,2,!1,W.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(W){w[W]=new _(W,2,!1,W,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(W){w[W]=new _(W,3,!1,W.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(W){w[W]=new _(W,3,!0,W,null,!1,!1)}),["capture","download"].forEach(function(W){w[W]=new _(W,4,!1,W,null,!1,!1)}),["cols","rows","size","span"].forEach(function(W){w[W]=new _(W,6,!1,W,null,!1,!1)}),["rowSpan","start"].forEach(function(W){w[W]=new _(W,5,!1,W.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(W){return W[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(W){var ae=W.replace(b,x);w[ae]=new _(ae,1,!1,W,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(W){var ae=W.replace(b,x);w[ae]=new _(ae,1,!1,W,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(W){var ae=W.replace(b,x);w[ae]=new _(ae,1,!1,W,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(W){w[W]=new _(W,1,!1,W.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(W){w[W]=new _(W,1,!1,W.toLowerCase(),null,!0,!0)});var A={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(A).forEach(function(W){R.forEach(function(ae){ae=ae+W.charAt(0).toUpperCase()+W.substring(1),A[ae]=A[W]})});var O=/["'&<>]/;function m(W){if(typeof W=="boolean"||typeof W=="number")return""+W;W=""+W;var ae=O.exec(W);if(ae){var ve="",Ne,Qe=0;for(Ne=ae.index;Ne<W.length;Ne++){switch(W.charCodeAt(Ne)){case 34:ae=""";break;case 38:ae="&";break;case 39:ae="'";break;case 60:ae="<";break;case 62:ae=">";break;default:continue}Qe!==Ne&&(ve+=W.substring(Qe,Ne)),Qe=Ne+1,ve+=ae}W=Qe!==Ne?ve+W.substring(Qe,Ne):ve}return W}var k=/([A-Z])/g,D=/^ms-/,V=Array.isArray,F=c("<script>"),G=c("<\/script>"),Y=c('<script src="'),X=c('<script type="module" src="'),J=c('" async=""><\/script>'),Z=/(<\/|<)(s)(cript)/gi;function ue(W,ae,ve,Ne){return""+ae+(ve==="s"?"\\u0073":"\\u0053")+Ne}function H(W,ae,ve,Ne,Qe){W=W===void 0?"":W,ae=ae===void 0?F:c('<script nonce="'+m(ae)+'">');var tt=[];if(ve!==void 0&&tt.push(ae,l((""+ve).replace(Z,ue)),G),Ne!==void 0)for(ve=0;ve<Ne.length;ve++)tt.push(Y,l(m(Ne[ve])),J);if(Qe!==void 0)for(Ne=0;Ne<Qe.length;Ne++)tt.push(X,l(m(Qe[Ne])),J);return{bootstrapChunks:tt,startInlineScript:ae,placeholderPrefix:c(W+"P:"),segmentPrefix:c(W+"S:"),boundaryPrefix:W+"B:",idPrefix:W,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function L(W,ae){return{insertionMode:W,selectedValue:ae}}function j(W){return L(W==="http://www.w3.org/2000/svg"?2:W==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function te(W,ae,ve){switch(ae){case"select":return L(1,ve.value!=null?ve.value:ve.defaultValue);case"svg":return L(2,null);case"math":return L(3,null);case"foreignObject":return L(1,null);case"table":return L(4,null);case"thead":case"tbody":case"tfoot":return L(5,null);case"colgroup":return L(7,null);case"tr":return L(6,null)}return 4<=W.insertionMode||W.insertionMode===0?L(1,null):W}var ee=c("<!-- -->"),de=new Map,Se=c(' style="'),Ae=c(":"),se=c(";");function I(W,ae,ve){if(typeof ve!="object")throw Error(t(62));ae=!0;for(var Ne in ve)if(h.call(ve,Ne)){var Qe=ve[Ne];if(Qe!=null&&typeof Qe!="boolean"&&Qe!==""){if(Ne.indexOf("--")===0){var tt=l(m(Ne));Qe=l(m((""+Qe).trim()))}else{tt=Ne;var Ot=de.get(tt);Ot!==void 0||(Ot=c(m(tt.replace(k,"-$1").toLowerCase().replace(D,"-ms-"))),de.set(tt,Ot)),tt=Ot,Qe=typeof Qe=="number"?Qe===0||h.call(A,Ne)?l(""+Qe):l(Qe+"px"):l(m((""+Qe).trim()))}ae?(ae=!1,W.push(Se,tt,Ae,Qe)):W.push(se,tt,Ae,Qe)}}ae||W.push(N)}var P=c(" "),q=c('="'),N=c('"'),B=c('=""');function re(W,ae,ve,Ne){switch(ve){case"style":I(W,ae,Ne);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<ve.length)||ve[0]!=="o"&&ve[0]!=="O"||ve[1]!=="n"&&ve[1]!=="N"){if(ae=w.hasOwnProperty(ve)?w[ve]:null,ae!==null){switch(typeof Ne){case"function":case"symbol":return;case"boolean":if(!ae.acceptsBooleans)return}switch(ve=l(ae.attributeName),ae.type){case 3:Ne&&W.push(P,ve,B);break;case 4:Ne===!0?W.push(P,ve,B):Ne!==!1&&W.push(P,ve,q,l(m(Ne)),N);break;case 5:isNaN(Ne)||W.push(P,ve,q,l(m(Ne)),N);break;case 6:!isNaN(Ne)&&1<=Ne&&W.push(P,ve,q,l(m(Ne)),N);break;default:ae.sanitizeURL&&(Ne=""+Ne),W.push(P,ve,q,l(m(Ne)),N)}}else if(E(ve)){switch(typeof Ne){case"function":case"symbol":return;case"boolean":if(ae=ve.toLowerCase().slice(0,5),ae!=="data-"&&ae!=="aria-")return}W.push(P,l(ve),q,l(m(Ne)),N)}}}var ce=c(">"),we=c("/>");function _e(W,ae,ve){if(ae!=null){if(ve!=null)throw Error(t(60));if(typeof ae!="object"||!("__html"in ae))throw Error(t(61));ae=ae.__html,ae!=null&&W.push(l(""+ae))}}function Oe(W){var ae="";return e.Children.forEach(W,function(ve){ve!=null&&(ae+=ve)}),ae}var Te=c(' selected=""');function Ie(W,ae,ve,Ne){W.push(Ce(ve));var Qe=ve=null,tt;for(tt in ae)if(h.call(ae,tt)){var Ot=ae[tt];if(Ot!=null)switch(tt){case"children":ve=Ot;break;case"dangerouslySetInnerHTML":Qe=Ot;break;default:re(W,Ne,tt,Ot)}}return W.push(ce),_e(W,Qe,ve),typeof ve=="string"?(W.push(l(m(ve))),null):ve}var $e=c(`
|
|
149
|
+
`),ge=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be=new Map;function Ce(W){var ae=be.get(W);if(ae===void 0){if(!ge.test(W))throw Error(t(65,W));ae=c("<"+W),be.set(W,ae)}return ae}var Le=c("<!DOCTYPE html>");function Ve(W,ae,ve,Ne,Qe){switch(ae){case"select":W.push(Ce("select"));var tt=null,Ot=null;for(xr in ve)if(h.call(ve,xr)){var Ht=ve[xr];if(Ht!=null)switch(xr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;case"defaultValue":case"value":break;default:re(W,Ne,xr,Ht)}}return W.push(ce),_e(W,Ot,tt),tt;case"option":Ot=Qe.selectedValue,W.push(Ce("option"));var gr=Ht=null,Vr=null,xr=null;for(tt in ve)if(h.call(ve,tt)&&(ae=ve[tt],ae!=null))switch(tt){case"children":Ht=ae;break;case"selected":Vr=ae;break;case"dangerouslySetInnerHTML":xr=ae;break;case"value":gr=ae;default:re(W,Ne,tt,ae)}if(Ot!=null)if(ve=gr!==null?""+gr:Oe(Ht),V(Ot)){for(Ne=0;Ne<Ot.length;Ne++)if(""+Ot[Ne]===ve){W.push(Te);break}}else""+Ot===ve&&W.push(Te);else Vr&&W.push(Te);return W.push(ce),_e(W,xr,Ht),Ht;case"textarea":W.push(Ce("textarea")),xr=Ot=tt=null;for(Ht in ve)if(h.call(ve,Ht)&&(gr=ve[Ht],gr!=null))switch(Ht){case"children":xr=gr;break;case"value":tt=gr;break;case"defaultValue":Ot=gr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:re(W,Ne,Ht,gr)}if(tt===null&&Ot!==null&&(tt=Ot),W.push(ce),xr!=null){if(tt!=null)throw Error(t(92));if(V(xr)&&1<xr.length)throw Error(t(93));tt=""+xr}return typeof tt=="string"&&tt[0]===`
|
|
150
|
+
`&&W.push($e),tt!==null&&W.push(l(m(""+tt))),null;case"input":W.push(Ce("input")),gr=xr=Ht=tt=null;for(Ot in ve)if(h.call(ve,Ot)&&(Vr=ve[Ot],Vr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":gr=Vr;break;case"defaultValue":Ht=Vr;break;case"checked":xr=Vr;break;case"value":tt=Vr;break;default:re(W,Ne,Ot,Vr)}return xr!==null?re(W,Ne,"checked",xr):gr!==null&&re(W,Ne,"checked",gr),tt!==null?re(W,Ne,"value",tt):Ht!==null&&re(W,Ne,"value",Ht),W.push(we),null;case"menuitem":W.push(Ce("menuitem"));for(var On in ve)if(h.call(ve,On)&&(tt=ve[On],tt!=null))switch(On){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:re(W,Ne,On,tt)}return W.push(ce),null;case"listing":case"pre":W.push(Ce(ae)),Ot=tt=null;for(gr in ve)if(h.call(ve,gr)&&(Ht=ve[gr],Ht!=null))switch(gr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;default:re(W,Ne,gr,Ht)}if(W.push(ce),Ot!=null){if(tt!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));ve=Ot.__html,ve!=null&&(typeof ve=="string"&&0<ve.length&&ve[0]===`
|
|
151
|
+
`?W.push($e,l(ve)):W.push(l(""+ve)))}return typeof tt=="string"&&tt[0]===`
|
|
152
|
+
`&&W.push($e),tt;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":W.push(Ce(ae));for(var ni in ve)if(h.call(ve,ni)&&(tt=ve[ni],tt!=null))switch(ni){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,ae));default:re(W,Ne,ni,tt)}return W.push(we),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ie(W,ve,ae,Ne);case"html":return Qe.insertionMode===0&&W.push(Le),Ie(W,ve,ae,Ne);default:if(ae.indexOf("-")===-1&&typeof ve.is!="string")return Ie(W,ve,ae,Ne);W.push(Ce(ae)),Ot=tt=null;for(Vr in ve)if(h.call(ve,Vr)&&(Ht=ve[Vr],Ht!=null))switch(Vr){case"children":tt=Ht;break;case"dangerouslySetInnerHTML":Ot=Ht;break;case"style":I(W,Ne,Ht);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(Vr)&&typeof Ht!="function"&&typeof Ht!="symbol"&&W.push(P,l(Vr),q,l(m(Ht)),N)}return W.push(ce),_e(W,Ot,tt),tt}}var qe=c("</"),Ge=c(">"),ct=c('<template id="'),jt=c('"></template>'),zt=c("<!--$-->"),Ze=c('<!--$?--><template id="'),Tt=c('"></template>'),_t=c("<!--$!-->"),st=c("<!--/$-->");function rt(W,ae,ve){if(i(W,Ze),ve===null)throw Error(t(395));return i(W,ve),o(W,Tt)}var dt=c('<div hidden id="'),Gt=c('">'),Mt=c("</div>"),Re=c('<svg aria-hidden="true" style="display:none" id="'),Je=c('">'),ut=c("</svg>"),wt=c('<math aria-hidden="true" style="display:none" id="'),Nt=c('">'),nr=c("</math>"),yr=c('<table hidden id="'),ir=c('">'),wr=c("</table>"),Ur=c('<table hidden><tbody id="'),Wr=c('">'),Un=c("</tbody></table>"),qn=c('<table hidden><tr id="'),Kn=c('">'),En=c("</tr></table>"),ti=c('<table hidden><colgroup id="'),si=c('">'),Si=c("</colgroup></table>");function di(W,ae,ve,Ne){switch(ve.insertionMode){case 0:case 1:return i(W,dt),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,Gt);case 2:return i(W,Re),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,Je);case 3:return i(W,wt),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,Nt);case 4:return i(W,yr),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,ir);case 5:return i(W,Ur),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,Wr);case 6:return i(W,qn),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,Kn);case 7:return i(W,ti),i(W,ae.segmentPrefix),i(W,l(Ne.toString(16))),o(W,si);default:throw Error(t(397))}}function $i(W,ae){switch(ae.insertionMode){case 0:case 1:return o(W,Mt);case 2:return o(W,ut);case 3:return o(W,nr);case 4:return o(W,wr);case 5:return o(W,Un);case 6:return o(W,En);case 7:return o(W,Si);default:throw Error(t(397))}}var qi=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),xn=c('$RS("'),ri=c('","'),xi=c('")<\/script>'),Ei=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ot=c('$RC("'),Dt=c('","'),gt=c('")<\/script>'),et=c('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),fe=c('$RX("'),nt=c('")<\/script>'),ze=Object.assign,Ct=Symbol.for("react.element"),yt=Symbol.for("react.portal"),Bt=Symbol.for("react.fragment"),Yt=Symbol.for("react.strict_mode"),bt=Symbol.for("react.profiler"),Ar=Symbol.for("react.provider"),Xr=Symbol.for("react.context"),wn=Symbol.for("react.forward_ref"),Lt=Symbol.for("react.suspense"),Qr=Symbol.for("react.suspense_list"),Vn=Symbol.for("react.memo"),Pn=Symbol.for("react.lazy"),oo=Symbol.for("react.scope"),ui=Symbol.for("react.debug_trace_mode"),Ji=Symbol.for("react.legacy_hidden"),ea=Symbol.for("react.default_value"),$o=Symbol.iterator;function Ba(W){if(W==null)return null;if(typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case Bt:return"Fragment";case yt:return"Portal";case bt:return"Profiler";case Yt:return"StrictMode";case Lt:return"Suspense";case Qr:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case Xr:return(W.displayName||"Context")+".Consumer";case Ar:return(W._context.displayName||"Context")+".Provider";case wn:var ae=W.render;return W=W.displayName,W||(W=ae.displayName||ae.name||"",W=W!==""?"ForwardRef("+W+")":"ForwardRef"),W;case Vn:return ae=W.displayName||null,ae!==null?ae:Ba(W.type)||"Memo";case Pn:ae=W._payload,W=W._init;try{return Ba(W(ae))}catch{}}return null}var Pa={};function z(W,ae){if(W=W.contextTypes,!W)return Pa;var ve={},Ne;for(Ne in W)ve[Ne]=ae[Ne];return ve}var oe=null;function Ee(W,ae){if(W!==ae){W.context._currentValue=W.parentValue,W=W.parent;var ve=ae.parent;if(W===null){if(ve!==null)throw Error(t(401))}else{if(ve===null)throw Error(t(401));Ee(W,ve)}ae.context._currentValue=ae.value}}function je(W){W.context._currentValue=W.parentValue,W=W.parent,W!==null&&je(W)}function pt(W){var ae=W.parent;ae!==null&&pt(ae),W.context._currentValue=W.value}function it(W,ae){if(W.context._currentValue=W.parentValue,W=W.parent,W===null)throw Error(t(402));W.depth===ae.depth?Ee(W,ae):it(W,ae)}function xt(W,ae){var ve=ae.parent;if(ve===null)throw Error(t(402));W.depth===ve.depth?Ee(W,ve):xt(W,ve),ae.context._currentValue=ae.value}function Vt(W){var ae=oe;ae!==W&&(ae===null?pt(W):W===null?je(ae):ae.depth===W.depth?Ee(ae,W):ae.depth>W.depth?it(ae,W):xt(ae,W),oe=W)}var Zt={isMounted:function(){return!1},enqueueSetState:function(W,ae){W=W._reactInternals,W.queue!==null&&W.queue.push(ae)},enqueueReplaceState:function(W,ae){W=W._reactInternals,W.replace=!0,W.queue=[ae]},enqueueForceUpdate:function(){}};function br(W,ae,ve,Ne){var Qe=W.state!==void 0?W.state:null;W.updater=Zt,W.props=ve,W.state=Qe;var tt={queue:[],replace:!1};W._reactInternals=tt;var Ot=ae.contextType;if(W.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue:Ne,Ot=ae.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(ve,Qe),Qe=Ot==null?Qe:ze({},Qe,Ot),W.state=Qe),typeof ae.getDerivedStateFromProps!="function"&&typeof W.getSnapshotBeforeUpdate!="function"&&(typeof W.UNSAFE_componentWillMount=="function"||typeof W.componentWillMount=="function"))if(ae=W.state,typeof W.componentWillMount=="function"&&W.componentWillMount(),typeof W.UNSAFE_componentWillMount=="function"&&W.UNSAFE_componentWillMount(),ae!==W.state&&Zt.enqueueReplaceState(W,W.state,null),tt.queue!==null&&0<tt.queue.length)if(ae=tt.queue,Ot=tt.replace,tt.queue=null,tt.replace=!1,Ot&&ae.length===1)W.state=ae[0];else{for(tt=Ot?ae[0]:W.state,Qe=!0,Ot=Ot?1:0;Ot<ae.length;Ot++){var Ht=ae[Ot];Ht=typeof Ht=="function"?Ht.call(W,tt,ve,Ne):Ht,Ht!=null&&(Qe?(Qe=!1,tt=ze({},tt,Ht)):ze(tt,Ht))}W.state=tt}else tt.queue=null}var Pr={id:1,overflow:""};function kn(W,ae,ve){var Ne=W.id;W=W.overflow;var Qe=32-Oi(Ne)-1;Ne&=~(1<<Qe),ve+=1;var tt=32-Oi(ae)+Qe;if(30<tt){var Ot=Qe-Qe%5;return tt=(Ne&(1<<Ot)-1).toString(32),Ne>>=Ot,Qe-=Ot,{id:1<<32-Oi(ae)+Qe|ve<<Qe|Ne,overflow:tt+W}}return{id:1<<tt|ve<<Qe|Ne,overflow:W}}var Oi=Math.clz32?Math.clz32:Js,Ii=Math.log,ls=Math.LN2;function Js(W){return W>>>=0,W===0?32:31-(Ii(W)/ls|0)|0}function cs(W,ae){return W===ae&&(W!==0||1/W===1/ae)||W!==W&&ae!==ae}var za=typeof Object.is=="function"?Object.is:cs,hi=null,ka=null,Wa=null,ln=null,ua=!1,Fo=!1,jo=0,Wi=null,Ls=0;function Ga(){if(hi===null)throw Error(t(321));return hi}function fs(){if(0<Ls)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Ns(){return ln===null?Wa===null?(ua=!1,Wa=ln=fs()):(ua=!0,ln=Wa):ln.next===null?(ua=!1,ln=ln.next=fs()):(ua=!0,ln=ln.next),ln}function Cu(){ka=hi=null,Fo=!1,Wa=null,Ls=0,ln=Wi=null}function Ka(W,ae){return typeof ae=="function"?ae(W):ae}function so(W,ae,ve){if(hi=Ga(),ln=Ns(),ua){var Ne=ln.queue;if(ae=Ne.dispatch,Wi!==null&&(ve=Wi.get(Ne),ve!==void 0)){Wi.delete(Ne),Ne=ln.memoizedState;do Ne=W(Ne,ve.action),ve=ve.next;while(ve!==null);return ln.memoizedState=Ne,[Ne,ae]}return[ln.memoizedState,ae]}return W=W===Ka?typeof ae=="function"?ae():ae:ve!==void 0?ve(ae):ae,ln.memoizedState=W,W=ln.queue={last:null,dispatch:null},W=W.dispatch=la.bind(null,hi,W),[ln.memoizedState,W]}function Fi(W,ae){if(hi=Ga(),ln=Ns(),ae=ae===void 0?null:ae,ln!==null){var ve=ln.memoizedState;if(ve!==null&&ae!==null){var Ne=ve[1];e:if(Ne===null)Ne=!1;else{for(var Qe=0;Qe<Ne.length&&Qe<ae.length;Qe++)if(!za(ae[Qe],Ne[Qe])){Ne=!1;break e}Ne=!0}if(Ne)return ve[0]}}return W=W(),ln.memoizedState=[W,ae],W}function la(W,ae,ve){if(25<=Ls)throw Error(t(301));if(W===hi)if(Fo=!0,W={action:ve,next:null},Wi===null&&(Wi=new Map),ve=Wi.get(ae),ve===void 0)Wi.set(ae,W);else{for(ae=ve;ae.next!==null;)ae=ae.next;ae.next=W}}function Tu(){throw Error(t(394))}function Uo(){}var qo={readContext:function(W){return W._currentValue},useContext:function(W){return Ga(),W._currentValue},useMemo:Fi,useReducer:so,useRef:function(W){hi=Ga(),ln=Ns();var ae=ln.memoizedState;return ae===null?(W={current:W},ln.memoizedState=W):ae},useState:function(W){return so(Ka,W)},useInsertionEffect:Uo,useLayoutEffect:function(){},useCallback:function(W,ae){return Fi(function(){return W},ae)},useImperativeHandle:Uo,useEffect:Uo,useDebugValue:Uo,useDeferredValue:function(W){return Ga(),W},useTransition:function(){return Ga(),[!1,Tu]},useId:function(){var W=ka.treeContext,ae=W.overflow;W=W.id,W=(W&~(1<<32-Oi(W)-1)).toString(32)+ae;var ve=ca;if(ve===null)throw Error(t(404));return ae=jo++,W=":"+ve.idPrefix+"R"+W,0<ae&&(W+="H"+ae.toString(32)),W+":"},useMutableSource:function(W,ae){return Ga(),ae(W._source)},useSyncExternalStore:function(W,ae,ve){if(ve===void 0)throw Error(t(407));return ve()}},ca=null,Ms=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Au(W){console.error(W)}function Pi(){}function fa(W,ae,ve,Ne,Qe,tt,Ot,Ht,gr){var Vr=[],xr=new Set;return ae={destination:null,responseState:ae,progressiveChunkSize:Ne===void 0?12800:Ne,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:xr,pingedTasks:Vr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Qe===void 0?Au:Qe,onAllReady:tt===void 0?Pi:tt,onShellReady:Ot===void 0?Pi:Ot,onShellError:Ht===void 0?Pi:Ht,onFatalError:gr===void 0?Pi:gr},ve=Vo(ae,0,null,ve),ve.parentFlushed=!0,W=uo(ae,W,null,ve,xr,Pa,null,Pr),Vr.push(W),ae}function uo(W,ae,ve,Ne,Qe,tt,Ot,Ht){W.allPendingTasks++,ve===null?W.pendingRootTasks++:ve.pendingTasks++;var gr={node:ae,ping:function(){var Vr=W.pingedTasks;Vr.push(gr),Vr.length===1&&Rt(W)},blockedBoundary:ve,blockedSegment:Ne,abortSet:Qe,legacyContext:tt,context:Ot,treeContext:Ht};return Qe.add(gr),gr}function Vo(W,ae,ve,Ne){return{status:0,id:-1,index:ae,parentFlushed:!1,chunks:[],children:[],formatContext:Ne,boundary:ve}}function lo(W,ae){W=W.onError,W(ae)}function co(W,ae){var ve=W.onShellError;ve(ae),ve=W.onFatalError,ve(ae),W.destination!==null?(W.status=2,d(W.destination,ae)):(W.status=1,W.fatalError=ae)}function y(W,ae,ve,Ne,Qe){for(hi={},ka=ae,jo=0,W=ve(Ne,Qe);Fo;)Fo=!1,jo=0,Ls+=1,ln=null,W=ve(Ne,Qe);return Cu(),W}function T(W,ae,ve,Ne){var Qe=ve.render(),tt=Ne.childContextTypes;if(tt!=null){var Ot=ae.legacyContext;if(typeof ve.getChildContext!="function")Ne=Ot;else{ve=ve.getChildContext();for(var Ht in ve)if(!(Ht in tt))throw Error(t(108,Ba(Ne)||"Unknown",Ht));Ne=ze({},Ot,ve)}ae.legacyContext=Ne,ie(W,ae,Qe),ae.legacyContext=Ot}else ie(W,ae,Qe)}function M(W,ae){if(W&&W.defaultProps){ae=ze({},ae),W=W.defaultProps;for(var ve in W)ae[ve]===void 0&&(ae[ve]=W[ve]);return ae}return ae}function K(W,ae,ve,Ne,Qe){if(typeof ve=="function")if(ve.prototype&&ve.prototype.isReactComponent){Qe=z(ve,ae.legacyContext);var tt=ve.contextType;tt=new ve(Ne,typeof tt=="object"&&tt!==null?tt._currentValue:Qe),br(tt,ve,Ne,Qe),T(W,ae,tt,ve)}else{tt=z(ve,ae.legacyContext),Qe=y(W,ae,ve,Ne,tt);var Ot=jo!==0;if(typeof Qe=="object"&&Qe!==null&&typeof Qe.render=="function"&&Qe.$$typeof===void 0)br(Qe,ve,Ne,tt),T(W,ae,Qe,ve);else if(Ot){Ne=ae.treeContext,ae.treeContext=kn(Ne,1,0);try{ie(W,ae,Qe)}finally{ae.treeContext=Ne}}else ie(W,ae,Qe)}else if(typeof ve=="string")switch(Qe=ae.blockedSegment,tt=Ve(Qe.chunks,ve,Ne,W.responseState,Qe.formatContext),Ot=Qe.formatContext,Qe.formatContext=te(Ot,ve,Ne),he(W,ae,tt),Qe.formatContext=Ot,ve){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Qe.chunks.push(qe,l(ve),Ge)}else{switch(ve){case Ji:case ui:case Yt:case bt:case Bt:ie(W,ae,Ne.children);return;case Qr:ie(W,ae,Ne.children);return;case oo:throw Error(t(343));case Lt:e:{ve=ae.blockedBoundary,Qe=ae.blockedSegment,tt=Ne.fallback,Ne=Ne.children,Ot=new Set;var Ht={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},gr=Vo(W,Qe.chunks.length,Ht,Qe.formatContext);Qe.children.push(gr);var Vr=Vo(W,0,null,Qe.formatContext);Vr.parentFlushed=!0,ae.blockedBoundary=Ht,ae.blockedSegment=Vr;try{if(he(W,ae,Ne),Vr.status=1,Ke(Ht,Vr),Ht.pendingTasks===0)break e}catch(xr){Vr.status=4,lo(W,xr),Ht.forceClientRender=!0}finally{ae.blockedBoundary=ve,ae.blockedSegment=Qe}ae=uo(W,tt,ve,gr,Ot,ae.legacyContext,ae.context,ae.treeContext),W.pingedTasks.push(ae)}return}if(typeof ve=="object"&&ve!==null)switch(ve.$$typeof){case wn:if(Ne=y(W,ae,ve.render,Ne,Qe),jo!==0){ve=ae.treeContext,ae.treeContext=kn(ve,1,0);try{ie(W,ae,Ne)}finally{ae.treeContext=ve}}else ie(W,ae,Ne);return;case Vn:ve=ve.type,Ne=M(ve,Ne),K(W,ae,ve,Ne,Qe);return;case Ar:if(Qe=Ne.children,ve=ve._context,Ne=Ne.value,tt=ve._currentValue,ve._currentValue=Ne,Ot=oe,oe=Ne={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:ve,parentValue:tt,value:Ne},ae.context=Ne,ie(W,ae,Qe),W=oe,W===null)throw Error(t(403));Ne=W.parentValue,W.context._currentValue=Ne===ea?W.context._defaultValue:Ne,W=oe=W.parent,ae.context=W;return;case Xr:Ne=Ne.children,Ne=Ne(ve._currentValue),ie(W,ae,Ne);return;case Pn:Qe=ve._init,ve=Qe(ve._payload),Ne=M(ve,Ne),K(W,ae,ve,Ne,void 0);return}throw Error(t(130,ve==null?ve:typeof ve,""))}}function ie(W,ae,ve){if(ae.node=ve,typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case Ct:K(W,ae,ve.type,ve.props,ve.ref);return;case yt:throw Error(t(257));case Pn:var Ne=ve._init;ve=Ne(ve._payload),ie(W,ae,ve);return}if(V(ve)){le(W,ae,ve);return}if(ve===null||typeof ve!="object"?Ne=null:(Ne=$o&&ve[$o]||ve["@@iterator"],Ne=typeof Ne=="function"?Ne:null),Ne&&(Ne=Ne.call(ve))){if(ve=Ne.next(),!ve.done){var Qe=[];do Qe.push(ve.value),ve=Ne.next();while(!ve.done);le(W,ae,Qe)}return}throw ae=Object.prototype.toString.call(ve),Error(t(31,ae==="[object Object]"?"object with keys {"+Object.keys(ve).join(", ")+"}":ae))}typeof ve=="string"?ve!==""&&ae.blockedSegment.chunks.push(l(m(ve)),ee):typeof ve=="number"&&(W=""+ve,W!==""&&ae.blockedSegment.chunks.push(l(m(W)),ee))}function le(W,ae,ve){for(var Ne=ve.length,Qe=0;Qe<Ne;Qe++){var tt=ae.treeContext;ae.treeContext=kn(tt,Ne,Qe);try{he(W,ae,ve[Qe])}finally{ae.treeContext=tt}}}function he(W,ae,ve){var Ne=ae.blockedSegment.formatContext,Qe=ae.legacyContext,tt=ae.context;try{return ie(W,ae,ve)}catch(gr){if(Cu(),typeof gr=="object"&&gr!==null&&typeof gr.then=="function"){ve=gr;var Ot=ae.blockedSegment,Ht=Vo(W,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(Ht),W=uo(W,ae.node,ae.blockedBoundary,Ht,ae.abortSet,ae.legacyContext,ae.context,ae.treeContext).ping,ve.then(W,W),ae.blockedSegment.formatContext=Ne,ae.legacyContext=Qe,ae.context=tt,Vt(tt)}else throw ae.blockedSegment.formatContext=Ne,ae.legacyContext=Qe,ae.context=tt,Vt(tt),gr}}function Fe(W){var ae=W.blockedBoundary;W=W.blockedSegment,W.status=3,Et(this,ae,W)}function De(W){var ae=W.blockedBoundary;W.blockedSegment.status=3,ae===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(ae.pendingTasks--,ae.forceClientRender||(ae.forceClientRender=!0,ae.parentFlushed&&this.clientRenderedBoundaries.push(ae)),ae.fallbackAbortableTasks.forEach(De,this),ae.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(W=this.onAllReady,W()))}function Ke(W,ae){if(ae.chunks.length===0&&ae.children.length===1&&ae.children[0].boundary===null){var ve=ae.children[0];ve.id=ae.id,ve.parentFlushed=!0,ve.status===1&&Ke(W,ve)}else W.completedSegments.push(ae)}function Et(W,ae,ve){if(ae===null){if(ve.parentFlushed){if(W.completedRootSegment!==null)throw Error(t(389));W.completedRootSegment=ve}W.pendingRootTasks--,W.pendingRootTasks===0&&(W.onShellError=Pi,ae=W.onShellReady,ae())}else ae.pendingTasks--,ae.forceClientRender||(ae.pendingTasks===0?(ve.parentFlushed&&ve.status===1&&Ke(ae,ve),ae.parentFlushed&&W.completedBoundaries.push(ae),ae.fallbackAbortableTasks.forEach(Fe,W),ae.fallbackAbortableTasks.clear()):ve.parentFlushed&&ve.status===1&&(Ke(ae,ve),ae.completedSegments.length===1&&ae.parentFlushed&&W.partialBoundaries.push(ae)));W.allPendingTasks--,W.allPendingTasks===0&&(W=W.onAllReady,W())}function Rt(W){if(W.status!==2){var ae=oe,ve=Ms.current;Ms.current=qo;var Ne=ca;ca=W.responseState;try{var Qe=W.pingedTasks,tt;for(tt=0;tt<Qe.length;tt++){var Ot=Qe[tt],Ht=W,gr=Ot.blockedSegment;if(gr.status===0){Vt(Ot.context);try{ie(Ht,Ot,Ot.node),Ot.abortSet.delete(Ot),gr.status=1,Et(Ht,Ot.blockedBoundary,gr)}catch(Dn){if(Cu(),typeof Dn=="object"&&Dn!==null&&typeof Dn.then=="function"){var Vr=Ot.ping;Dn.then(Vr,Vr)}else{Ot.abortSet.delete(Ot),gr.status=4;var xr=Ot.blockedBoundary,On=Dn;if(lo(Ht,On),xr===null?co(Ht,On):(xr.pendingTasks--,xr.forceClientRender||(xr.forceClientRender=!0,xr.parentFlushed&&Ht.clientRenderedBoundaries.push(xr))),Ht.allPendingTasks--,Ht.allPendingTasks===0){var ni=Ht.onAllReady;ni()}}}finally{}}}Qe.splice(0,tt),W.destination!==null&&Yn(W,W.destination)}catch(Dn){lo(W,Dn),co(W,Dn)}finally{ca=Ne,Ms.current=ve,ve===qo&&Vt(ae)}}}function ft(W,ae,ve){switch(ve.parentFlushed=!0,ve.status){case 0:var Ne=ve.id=W.nextSegmentId++;return W=W.responseState,i(ae,ct),i(ae,W.placeholderPrefix),W=l(Ne.toString(16)),i(ae,W),o(ae,jt);case 1:ve.status=2;var Qe=!0;Ne=ve.chunks;var tt=0;ve=ve.children;for(var Ot=0;Ot<ve.length;Ot++){for(Qe=ve[Ot];tt<Qe.index;tt++)i(ae,Ne[tt]);Qe=Ft(W,ae,Qe)}for(;tt<Ne.length-1;tt++)i(ae,Ne[tt]);return tt<Ne.length&&(Qe=o(ae,Ne[tt])),Qe;default:throw Error(t(390))}}function Ft(W,ae,ve){var Ne=ve.boundary;if(Ne===null)return ft(W,ae,ve);if(Ne.parentFlushed=!0,Ne.forceClientRender)o(ae,_t),ft(W,ae,ve);else if(0<Ne.pendingTasks){Ne.rootSegmentID=W.nextSegmentId++,0<Ne.completedSegments.length&&W.partialBoundaries.push(Ne);var Qe=W.responseState,tt=Qe.nextSuspenseID++;Qe=c(Qe.boundaryPrefix+tt.toString(16)),Ne=Ne.id=Qe,rt(ae,W.responseState,Ne),ft(W,ae,ve)}else if(Ne.byteSize>W.progressiveChunkSize)Ne.rootSegmentID=W.nextSegmentId++,W.completedBoundaries.push(Ne),rt(ae,W.responseState,Ne.id),ft(W,ae,ve);else{if(o(ae,zt),ve=Ne.completedSegments,ve.length!==1)throw Error(t(391));Ft(W,ae,ve[0])}return o(ae,st)}function Rr(W,ae,ve){return di(ae,W.responseState,ve.formatContext,ve.id),Ft(W,ae,ve),$i(ae,ve.formatContext)}function en(W,ae,ve){for(var Ne=ve.completedSegments,Qe=0;Qe<Ne.length;Qe++)qr(W,ae,ve,Ne[Qe]);if(Ne.length=0,W=W.responseState,Ne=ve.id,ve=ve.rootSegmentID,i(ae,W.startInlineScript),W.sentCompleteBoundaryFunction?i(ae,ot):(W.sentCompleteBoundaryFunction=!0,i(ae,Ei)),Ne===null)throw Error(t(395));return ve=l(ve.toString(16)),i(ae,Ne),i(ae,Dt),i(ae,W.segmentPrefix),i(ae,ve),o(ae,gt)}function qr(W,ae,ve,Ne){if(Ne.status===2)return!0;var Qe=Ne.id;if(Qe===-1){if((Ne.id=ve.rootSegmentID)===-1)throw Error(t(392));return Rr(W,ae,Ne)}return Rr(W,ae,Ne),W=W.responseState,i(ae,W.startInlineScript),W.sentCompleteSegmentFunction?i(ae,xn):(W.sentCompleteSegmentFunction=!0,i(ae,qi)),i(ae,W.segmentPrefix),Qe=l(Qe.toString(16)),i(ae,Qe),i(ae,ri),i(ae,W.placeholderPrefix),i(ae,Qe),o(ae,xi)}function Yn(W,ae){r=new Uint8Array(512),n=0;try{var ve=W.completedRootSegment;if(ve!==null&&W.pendingRootTasks===0){Ft(W,ae,ve),W.completedRootSegment=null;var Ne=W.responseState.bootstrapChunks;for(ve=0;ve<Ne.length-1;ve++)i(ae,Ne[ve]);ve<Ne.length&&o(ae,Ne[ve])}var Qe=W.clientRenderedBoundaries,tt;for(tt=0;tt<Qe.length;tt++){Ne=ae;var Ot=W.responseState,Ht=Qe[tt].id;if(i(Ne,Ot.startInlineScript),Ot.sentClientRenderFunction?i(Ne,fe):(Ot.sentClientRenderFunction=!0,i(Ne,et)),Ht===null)throw Error(t(395));i(Ne,Ht),o(Ne,nt)}Qe.splice(0,tt);var gr=W.completedBoundaries;for(tt=0;tt<gr.length;tt++)en(W,ae,gr[tt]);gr.splice(0,tt),a(ae),r=new Uint8Array(512),n=0;var Vr=W.partialBoundaries;for(tt=0;tt<Vr.length;tt++){var xr=Vr[tt];e:{Qe=W,Ot=ae;var On=xr.completedSegments;for(Ht=0;Ht<On.length;Ht++)if(!qr(Qe,Ot,xr,On[Ht])){Ht++,On.splice(0,Ht);var ni=!1;break e}On.splice(0,Ht),ni=!0}if(!ni){W.destination=null,tt++,Vr.splice(0,tt);return}}Vr.splice(0,tt);var Dn=W.completedBoundaries;for(tt=0;tt<Dn.length;tt++)en(W,ae,Dn[tt]);Dn.splice(0,tt)}finally{a(ae),W.allPendingTasks===0&&W.pingedTasks.length===0&&W.clientRenderedBoundaries.length===0&&W.completedBoundaries.length===0&&ae.close()}}function li(W){try{var ae=W.abortableTasks;ae.forEach(De,W),ae.clear(),W.destination!==null&&Yn(W,W.destination)}catch(ve){lo(W,ve),co(W,ve)}}return Fg.renderToReadableStream=function(W,ae){return new Promise(function(ve,Ne){var Qe,tt,Ot=new Promise(function(xr,On){tt=xr,Qe=On}),Ht=fa(W,H(ae?ae.identifierPrefix:void 0,ae?ae.nonce:void 0,ae?ae.bootstrapScriptContent:void 0,ae?ae.bootstrapScripts:void 0,ae?ae.bootstrapModules:void 0),j(ae?ae.namespaceURI:void 0),ae?ae.progressiveChunkSize:void 0,ae?ae.onError:void 0,tt,function(){var xr=new ReadableStream({type:"bytes",pull:function(On){if(Ht.status===1)Ht.status=2,d(On,Ht.fatalError);else if(Ht.status!==2&&Ht.destination===null){Ht.destination=On;try{Yn(Ht,On)}catch(ni){lo(Ht,ni),co(Ht,ni)}}},cancel:function(){li(Ht)}});xr.allReady=Ot,ve(xr)},function(xr){Ot.catch(function(){}),Ne(xr)},Qe);if(ae&&ae.signal){var gr=ae.signal,Vr=function(){li(Ht),gr.removeEventListener("abort",Vr)};gr.addEventListener("abort",Vr)}Rt(Ht)})},Fg.version="18.1.0",Fg}var kX;function zxe(){if(kX)return Ol;kX=1;var e,t;return e=Hxe(),t=Bxe(),Ol.version=e.version,Ol.renderToString=e.renderToString,Ol.renderToStaticMarkup=e.renderToStaticMarkup,Ol.renderToNodeStream=e.renderToNodeStream,Ol.renderToStaticNodeStream=e.renderToStaticNodeStream,Ol.renderToReadableStream=t.renderToReadableStream,Ol}var Wxe=zxe();const Gxe={getSvg(e){const t=e;return Wxe.renderToStaticMarkup(U.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},Kxe="d-inline-block svg-container",Yxe="span";var jd=(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))(jd||{});function Jo(e){const{svg:t,className:r=Kxe,tagName:n=Yxe,size:i="std",onClick:o,title:a,tooltipSpanHackClassName:s,tooltipPlacement:l="right",tooltipSpanHack:c=!1,tooltipShow:d}=e,h=n,p={className:`${r} ${i}`,onClick:Ai.isFunction(o)?o:null},g=t;return U.jsx(el,{title:a,placement:l,spanHack:c,spanHackClassName:s,show:d,children:U.jsx(h,{...p,children:U.jsx(g,{...Gxe.getCommonSvgProps()})})})}const Xxe="_iconButton_1no8y_1",Qxe="_iconWithText_1no8y_5",Zxe="_svg_1no8y_9",Jxe="_iconOnly_1no8y_21",eOe="_iconBorder_1no8y_30",Xh={iconButton:Xxe,iconWithText:Qxe,svg:Zxe,iconOnly:Jxe,iconBorder:eOe};function Qm(e){let t=`${e.className} ${Xh.iconButton}`;me.Children.toArray(e.children).length?t+=` ${Xh.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${Xh.iconOnly}`),e.showBorder&&(t+=` ${Xh.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=U.jsx(Jo,{svg:e.svg,className:`svg-container ${Xh.svg}`,size:e.svgSize});function n(o){e.analyticsData&&e.analyticsOptions&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(o)}function i(o){o.preventDefault(),e.analyticsData&&e.analyticsOptions&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(o),Mn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?U.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?U.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):U.jsxs(Yo,{appLink:e.appLink,className:t,onClick:e.onClick,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,role:e.role,children:[r,e.children]})}function tOe(e){const t=e.showSpinner?U.jsx(Ev,{as:"span",animation:"border",role:"status",size:"sm"}):e.children;if(e.tooltip&&e.svg){let n=e.className??"";return e.disabled&&!e.appLink&&(n+=" pointer-events-none"),U.jsx(el,{title:e.tooltip,spanHack:!0,children:U.jsx(Qm,{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 U.jsx(Qm,{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 U.jsx(el,{title:e.tooltip,spanHack:!0,children:U.jsx(Yo,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})});if(e.appLink)return U.jsx(Yo,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});function r(n){e.analyticsData&&e.analyticsOptions&&Ti.logUserAction(e.analyticsData,e.analyticsOptions),Ai.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?U.jsx(el,{title:e.tooltip,spanHack:!0,children:U.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})}):U.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const Lae=(e,t,r,n=[])=>{const i=typeof e=="string"?jr.Radio.channel(e):e;me.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function Nae(e){Xt.useEffect(()=>{e&&t(Fn.getCurrentAppLink(),e)},[e]);function t(n,i){const o=Fn.getHref(n);Ti.logUserAction({title:i,url:o,isAddressable:!!o,isError:n.action==="error",appLink:r(n)},{actionType:It.PageView,entity:dn.Url,location:aa.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((o,a,s)=>(o[`arg${s}`]=a,o),{})}}}function rOe(){return U.jsx("div",{className:"text-center p-5",children:U.jsx(Ev,{as:"div",animation:"border",role:"status"})})}Mae.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Mae(e){var n;Nae(e.title);const t=(i,o)=>{!e.closeOnNavigate||!o.isAppRoute||e.closePopup()};Lae(_n.SHELL,An.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,o)=>U.jsx(tOe,{...i},o)):U.jsx(U.Fragment,{});return U.jsxs($g,{show:!0,onHide:e.closePopup,onEntered:e.onEntered,size:e.size==="md"?null:e.size,contentClassName:e.contentClassName,dialogClassName:e.dialogClassName,centered:e.centered,backdrop:e.backdrop,container:document.getElementById("dialog-region"),restoreFocus:!0,animation:e.animation,children:[!!e.title&&!e.hideTitle&&U.jsxs($g.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[U.jsx($g.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?U.jsx(rOe,{}):U.jsx($g.Body,{className:e.bodyClassName,children:e.children})]})}var Ix,DX;function nOe(){if(DX)return Ix;DX=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 s=e(o),l=e(a),c,d,h;if(s&&l){if(d=o.length,d!=a.length)return!1;for(c=d;c--!==0;)if(!i(o[c],a[c]))return!1;return!0}if(s!=l)return!1;var p=o instanceof Date,g=a instanceof Date;if(p!=g)return!1;if(p&&g)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(c=d;c--!==0;)if(!r.call(a,_[c]))return!1;if(n&&o instanceof Element&&a instanceof Element)return o===a;for(c=d;c--!==0;)if(h=_[c],!(h==="_owner"&&o.$$typeof)&&!i(o[h],a[h]))return!1;return!0}return o!==o&&a!==a}return Ix=function(a,s){try{return i(a,s)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},Ix}var iOe=nOe();const $l=jn(iOe);var aOe=function(t){return oOe(t)&&!sOe(t)};function oOe(e){return!!e&&typeof e=="object"}function sOe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||cOe(e)}var uOe=typeof Symbol=="function"&&Symbol.for,lOe=uOe?Symbol.for("react.element"):60103;function cOe(e){return e.$$typeof===lOe}function fOe(e){return Array.isArray(e)?[]:{}}function Zm(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Mp(fOe(e),e,t):e}function dOe(e,t,r){return e.concat(t).map(function(n){return Zm(n,r)})}function hOe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Zm(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Zm(t[i],r):n[i]=Mp(e[i],t[i],r)}),n}function Mp(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||dOe,r.isMergeableObject=r.isMergeableObject||aOe;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):hOe(e,t,r):Zm(t,r)}Mp.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Mp(n,i,r)},{})};var fI=Mp,$ae=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,pOe=typeof self=="object"&&self&&self.Object===Object&&self,bu=$ae||pOe||Function("return this")(),Kl=bu.Symbol,Fae=Object.prototype,vOe=Fae.hasOwnProperty,gOe=Fae.toString,Qh=Kl?Kl.toStringTag:void 0;function mOe(e){var t=vOe.call(e,Qh),r=e[Qh];try{e[Qh]=void 0;var n=!0}catch{}var i=gOe.call(e);return n&&(t?e[Qh]=r:delete e[Qh]),i}var yOe=Object.prototype,_Oe=yOe.toString;function SOe(e){return _Oe.call(e)}var EOe="[object Null]",wOe="[object Undefined]",LX=Kl?Kl.toStringTag:void 0;function xf(e){return e==null?e===void 0?wOe:EOe:LX&&LX in Object(e)?mOe(e):SOe(e)}function jae(e,t){return function(r){return e(t(r))}}var $3=jae(Object.getPrototypeOf,Object);function Of(e){return e!=null&&typeof e=="object"}var bOe="[object Object]",COe=Function.prototype,TOe=Object.prototype,Uae=COe.toString,AOe=TOe.hasOwnProperty,ROe=Uae.call(Object);function NX(e){if(!Of(e)||xf(e)!=bOe)return!1;var t=$3(e);if(t===null)return!0;var r=AOe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Uae.call(r)==ROe}function xOe(){this.__data__=[],this.size=0}function qae(e,t){return e===t||e!==e&&t!==t}function I1(e,t){for(var r=e.length;r--;)if(qae(e[r][0],t))return r;return-1}var OOe=Array.prototype,IOe=OOe.splice;function POe(e){var t=this.__data__,r=I1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():IOe.call(t,r,1),--this.size,!0}function kOe(e){var t=this.__data__,r=I1(t,e);return r<0?void 0:t[r][1]}function DOe(e){return I1(this.__data__,e)>-1}function LOe(e,t){var r=this.__data__,n=I1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function fl(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])}}fl.prototype.clear=xOe;fl.prototype.delete=POe;fl.prototype.get=kOe;fl.prototype.has=DOe;fl.prototype.set=LOe;function NOe(){this.__data__=new fl,this.size=0}function MOe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function $Oe(e){return this.__data__.get(e)}function FOe(e){return this.__data__.has(e)}function wv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jOe="[object AsyncFunction]",UOe="[object Function]",qOe="[object GeneratorFunction]",VOe="[object Proxy]";function Vae(e){if(!wv(e))return!1;var t=xf(e);return t==UOe||t==qOe||t==jOe||t==VOe}var Px=bu["__core-js_shared__"],MX=(function(){var e=/[^.]+$/.exec(Px&&Px.keys&&Px.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function HOe(e){return!!MX&&MX in e}var BOe=Function.prototype,zOe=BOe.toString;function If(e){if(e!=null){try{return zOe.call(e)}catch{}try{return e+""}catch{}}return""}var WOe=/[\\^$.*+?()[\]{}|]/g,GOe=/^\[object .+?Constructor\]$/,KOe=Function.prototype,YOe=Object.prototype,XOe=KOe.toString,QOe=YOe.hasOwnProperty,ZOe=RegExp("^"+XOe.call(QOe).replace(WOe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function JOe(e){if(!wv(e)||HOe(e))return!1;var t=Vae(e)?ZOe:GOe;return t.test(If(e))}function eIe(e,t){return e==null?void 0:e[t]}function Pf(e,t){var r=eIe(e,t);return JOe(r)?r:void 0}var $p=Pf(bu,"Map"),Fp=Pf(Object,"create");function tIe(){this.__data__=Fp?Fp(null):{},this.size=0}function rIe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nIe="__lodash_hash_undefined__",iIe=Object.prototype,aIe=iIe.hasOwnProperty;function oIe(e){var t=this.__data__;if(Fp){var r=t[e];return r===nIe?void 0:r}return aIe.call(t,e)?t[e]:void 0}var sIe=Object.prototype,uIe=sIe.hasOwnProperty;function lIe(e){var t=this.__data__;return Fp?t[e]!==void 0:uIe.call(t,e)}var cIe="__lodash_hash_undefined__";function fIe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Fp&&t===void 0?cIe:t,this}function ef(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])}}ef.prototype.clear=tIe;ef.prototype.delete=rIe;ef.prototype.get=oIe;ef.prototype.has=lIe;ef.prototype.set=fIe;function dIe(){this.size=0,this.__data__={hash:new ef,map:new($p||fl),string:new ef}}function hIe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function P1(e,t){var r=e.__data__;return hIe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function pIe(e){var t=P1(this,e).delete(e);return this.size-=t?1:0,t}function vIe(e){return P1(this,e).get(e)}function gIe(e){return P1(this,e).has(e)}function mIe(e,t){var r=P1(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function uc(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])}}uc.prototype.clear=dIe;uc.prototype.delete=pIe;uc.prototype.get=vIe;uc.prototype.has=gIe;uc.prototype.set=mIe;var yIe=200;function _Ie(e,t){var r=this.__data__;if(r instanceof fl){var n=r.__data__;if(!$p||n.length<yIe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new uc(n)}return r.set(e,t),this.size=r.size,this}function yh(e){var t=this.__data__=new fl(e);this.size=t.size}yh.prototype.clear=NOe;yh.prototype.delete=MOe;yh.prototype.get=$Oe;yh.prototype.has=FOe;yh.prototype.set=_Ie;function SIe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var $X=(function(){try{var e=Pf(Object,"defineProperty");return e({},"",{}),e}catch{}})();function Hae(e,t,r){t=="__proto__"&&$X?$X(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var EIe=Object.prototype,wIe=EIe.hasOwnProperty;function Bae(e,t,r){var n=e[t];(!(wIe.call(e,t)&&qae(n,r))||r===void 0&&!(t in e))&&Hae(e,t,r)}function k1(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=void 0;l===void 0&&(l=e[s]),i?Hae(r,s,l):Bae(r,s,l)}return r}function bIe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var CIe="[object Arguments]";function FX(e){return Of(e)&&xf(e)==CIe}var zae=Object.prototype,TIe=zae.hasOwnProperty,AIe=zae.propertyIsEnumerable,RIe=FX((function(){return arguments})())?FX:function(e){return Of(e)&&TIe.call(e,"callee")&&!AIe.call(e,"callee")},bv=Array.isArray;function xIe(){return!1}var Wae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,jX=Wae&&typeof module=="object"&&module&&!module.nodeType&&module,OIe=jX&&jX.exports===Wae,UX=OIe?bu.Buffer:void 0,IIe=UX?UX.isBuffer:void 0,Gae=IIe||xIe,PIe=9007199254740991,kIe=/^(?:0|[1-9]\d*)$/;function DIe(e,t){var r=typeof e;return t=t??PIe,!!t&&(r=="number"||r!="symbol"&&kIe.test(e))&&e>-1&&e%1==0&&e<t}var LIe=9007199254740991;function Kae(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LIe}var NIe="[object Arguments]",MIe="[object Array]",$Ie="[object Boolean]",FIe="[object Date]",jIe="[object Error]",UIe="[object Function]",qIe="[object Map]",VIe="[object Number]",HIe="[object Object]",BIe="[object RegExp]",zIe="[object Set]",WIe="[object String]",GIe="[object WeakMap]",KIe="[object ArrayBuffer]",YIe="[object DataView]",XIe="[object Float32Array]",QIe="[object Float64Array]",ZIe="[object Int8Array]",JIe="[object Int16Array]",ePe="[object Int32Array]",tPe="[object Uint8Array]",rPe="[object Uint8ClampedArray]",nPe="[object Uint16Array]",iPe="[object Uint32Array]",mi={};mi[XIe]=mi[QIe]=mi[ZIe]=mi[JIe]=mi[ePe]=mi[tPe]=mi[rPe]=mi[nPe]=mi[iPe]=!0;mi[NIe]=mi[MIe]=mi[KIe]=mi[$Ie]=mi[YIe]=mi[FIe]=mi[jIe]=mi[UIe]=mi[qIe]=mi[VIe]=mi[HIe]=mi[BIe]=mi[zIe]=mi[WIe]=mi[GIe]=!1;function aPe(e){return Of(e)&&Kae(e.length)&&!!mi[xf(e)]}function F3(e){return function(t){return e(t)}}var Yae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mp=Yae&&typeof module=="object"&&module&&!module.nodeType&&module,oPe=mp&&mp.exports===Yae,kx=oPe&&$ae.process,Ud=(function(){try{var e=mp&&mp.require&&mp.require("util").types;return e||kx&&kx.binding&&kx.binding("util")}catch{}})(),qX=Ud&&Ud.isTypedArray,sPe=qX?F3(qX):aPe,uPe=Object.prototype,lPe=uPe.hasOwnProperty;function Xae(e,t){var r=bv(e),n=!r&&RIe(e),i=!r&&!n&&Gae(e),o=!r&&!n&&!i&&sPe(e),a=r||n||i||o,s=a?bIe(e.length,String):[],l=s.length;for(var c in e)(t||lPe.call(e,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||DIe(c,l)))&&s.push(c);return s}var cPe=Object.prototype;function j3(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||cPe;return e===r}var fPe=jae(Object.keys,Object),dPe=Object.prototype,hPe=dPe.hasOwnProperty;function pPe(e){if(!j3(e))return fPe(e);var t=[];for(var r in Object(e))hPe.call(e,r)&&r!="constructor"&&t.push(r);return t}function Qae(e){return e!=null&&Kae(e.length)&&!Vae(e)}function U3(e){return Qae(e)?Xae(e):pPe(e)}function vPe(e,t){return e&&k1(t,U3(t),e)}function gPe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var mPe=Object.prototype,yPe=mPe.hasOwnProperty;function _Pe(e){if(!wv(e))return gPe(e);var t=j3(e),r=[];for(var n in e)n=="constructor"&&(t||!yPe.call(e,n))||r.push(n);return r}function q3(e){return Qae(e)?Xae(e,!0):_Pe(e)}function SPe(e,t){return e&&k1(t,q3(t),e)}var Zae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,VX=Zae&&typeof module=="object"&&module&&!module.nodeType&&module,EPe=VX&&VX.exports===Zae,HX=EPe?bu.Buffer:void 0,BX=HX?HX.allocUnsafe:void 0;function wPe(e,t){if(t)return e.slice();var r=e.length,n=BX?BX(r):new e.constructor(r);return e.copy(n),n}function Jae(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function bPe(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 eoe(){return[]}var CPe=Object.prototype,TPe=CPe.propertyIsEnumerable,zX=Object.getOwnPropertySymbols,V3=zX?function(e){return e==null?[]:(e=Object(e),bPe(zX(e),function(t){return TPe.call(e,t)}))}:eoe;function APe(e,t){return k1(e,V3(e),t)}function toe(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var RPe=Object.getOwnPropertySymbols,roe=RPe?function(e){for(var t=[];e;)toe(t,V3(e)),e=$3(e);return t}:eoe;function xPe(e,t){return k1(e,roe(e),t)}function noe(e,t,r){var n=t(e);return bv(e)?n:toe(n,r(e))}function OPe(e){return noe(e,U3,V3)}function IPe(e){return noe(e,q3,roe)}var dI=Pf(bu,"DataView"),hI=Pf(bu,"Promise"),pI=Pf(bu,"Set"),vI=Pf(bu,"WeakMap"),WX="[object Map]",PPe="[object Object]",GX="[object Promise]",KX="[object Set]",YX="[object WeakMap]",XX="[object DataView]",kPe=If(dI),DPe=If($p),LPe=If(hI),NPe=If(pI),MPe=If(vI),Hu=xf;(dI&&Hu(new dI(new ArrayBuffer(1)))!=XX||$p&&Hu(new $p)!=WX||hI&&Hu(hI.resolve())!=GX||pI&&Hu(new pI)!=KX||vI&&Hu(new vI)!=YX)&&(Hu=function(e){var t=xf(e),r=t==PPe?e.constructor:void 0,n=r?If(r):"";if(n)switch(n){case kPe:return XX;case DPe:return WX;case LPe:return GX;case NPe:return KX;case MPe:return YX}return t});var $Pe=Object.prototype,FPe=$Pe.hasOwnProperty;function jPe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&FPe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var QX=bu.Uint8Array;function H3(e){var t=new e.constructor(e.byteLength);return new QX(t).set(new QX(e)),t}function UPe(e,t){var r=t?H3(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var qPe=/\w*$/;function VPe(e){var t=new e.constructor(e.source,qPe.exec(e));return t.lastIndex=e.lastIndex,t}var ZX=Kl?Kl.prototype:void 0,JX=ZX?ZX.valueOf:void 0;function HPe(e){return JX?Object(JX.call(e)):{}}function BPe(e,t){var r=t?H3(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var zPe="[object Boolean]",WPe="[object Date]",GPe="[object Map]",KPe="[object Number]",YPe="[object RegExp]",XPe="[object Set]",QPe="[object String]",ZPe="[object Symbol]",JPe="[object ArrayBuffer]",e3e="[object DataView]",t3e="[object Float32Array]",r3e="[object Float64Array]",n3e="[object Int8Array]",i3e="[object Int16Array]",a3e="[object Int32Array]",o3e="[object Uint8Array]",s3e="[object Uint8ClampedArray]",u3e="[object Uint16Array]",l3e="[object Uint32Array]";function c3e(e,t,r){var n=e.constructor;switch(t){case JPe:return H3(e);case zPe:case WPe:return new n(+e);case e3e:return UPe(e,r);case t3e:case r3e:case n3e:case i3e:case a3e:case o3e:case s3e:case u3e:case l3e:return BPe(e,r);case GPe:return new n;case KPe:case QPe:return new n(e);case YPe:return VPe(e);case XPe:return new n;case ZPe:return HPe(e)}}var eQ=Object.create,f3e=(function(){function e(){}return function(t){if(!wv(t))return{};if(eQ)return eQ(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function d3e(e){return typeof e.constructor=="function"&&!j3(e)?f3e($3(e)):{}}var h3e="[object Map]";function p3e(e){return Of(e)&&Hu(e)==h3e}var tQ=Ud&&Ud.isMap,v3e=tQ?F3(tQ):p3e,g3e="[object Set]";function m3e(e){return Of(e)&&Hu(e)==g3e}var rQ=Ud&&Ud.isSet,y3e=rQ?F3(rQ):m3e,_3e=1,S3e=2,E3e=4,ioe="[object Arguments]",w3e="[object Array]",b3e="[object Boolean]",C3e="[object Date]",T3e="[object Error]",aoe="[object Function]",A3e="[object GeneratorFunction]",R3e="[object Map]",x3e="[object Number]",ooe="[object Object]",O3e="[object RegExp]",I3e="[object Set]",P3e="[object String]",k3e="[object Symbol]",D3e="[object WeakMap]",L3e="[object ArrayBuffer]",N3e="[object DataView]",M3e="[object Float32Array]",$3e="[object Float64Array]",F3e="[object Int8Array]",j3e="[object Int16Array]",U3e="[object Int32Array]",q3e="[object Uint8Array]",V3e="[object Uint8ClampedArray]",H3e="[object Uint16Array]",B3e="[object Uint32Array]",fi={};fi[ioe]=fi[w3e]=fi[L3e]=fi[N3e]=fi[b3e]=fi[C3e]=fi[M3e]=fi[$3e]=fi[F3e]=fi[j3e]=fi[U3e]=fi[R3e]=fi[x3e]=fi[ooe]=fi[O3e]=fi[I3e]=fi[P3e]=fi[k3e]=fi[q3e]=fi[V3e]=fi[H3e]=fi[B3e]=!0;fi[T3e]=fi[aoe]=fi[D3e]=!1;function yp(e,t,r,n,i,o){var a,s=t&_3e,l=t&S3e,c=t&E3e;if(a!==void 0)return a;if(!wv(e))return e;var d=bv(e);if(d){if(a=jPe(e),!s)return Jae(e,a)}else{var h=Hu(e),p=h==aoe||h==A3e;if(Gae(e))return wPe(e,s);if(h==ooe||h==ioe||p&&!i){if(a=l||p?{}:d3e(e),!s)return l?xPe(e,SPe(a,e)):APe(e,vPe(a,e))}else{if(!fi[h])return i?e:{};a=c3e(e,h,s)}}o||(o=new yh);var g=o.get(e);if(g)return g;o.set(e,a),y3e(e)?e.forEach(function(_){a.add(yp(_,t,r,_,e,o))}):v3e(e)&&e.forEach(function(_,w){a.set(w,yp(_,t,r,w,e,o))});var S=c?l?IPe:OPe:l?q3:U3,E=d?void 0:S(e);return SIe(E||e,function(_,w){E&&(w=_,_=e[w]),Bae(a,w,yp(_,t,r,w,e,o))}),a}var z3e=4;function nQ(e){return yp(e,z3e)}function soe(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 W3e="[object Symbol]";function B3(e){return typeof e=="symbol"||Of(e)&&xf(e)==W3e}var G3e="Expected a function";function z3(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(G3e);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(z3.Cache||uc),r}z3.Cache=uc;var K3e=500;function Y3e(e){var t=z3(e,function(n){return r.size===K3e&&r.clear(),n}),r=t.cache;return t}var X3e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q3e=/\\(\\)?/g,Z3e=Y3e(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(X3e,function(r,n,i,o){t.push(i?o.replace(Q3e,"$1"):n||r)}),t});function J3e(e){if(typeof e=="string"||B3(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var iQ=Kl?Kl.prototype:void 0,aQ=iQ?iQ.toString:void 0;function uoe(e){if(typeof e=="string")return e;if(bv(e))return soe(e,uoe)+"";if(B3(e))return aQ?aQ.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function eke(e){return e==null?"":uoe(e)}function loe(e){return bv(e)?soe(e,J3e):B3(e)?[e]:Jae(Z3e(eke(e)))}var tke=1,rke=4;function nke(e){return yp(e,tke|rke)}function ai(){return ai=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},ai.apply(this,arguments)}function coe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Vl(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 oQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var sQ=function(t){return Array.isArray(t)&&t.length===0},$a=function(t){return typeof t=="function"},D1=function(t){return t!==null&&typeof t=="object"},ike=function(t){return String(Math.floor(Number(t)))===t},Dx=function(t){return Object.prototype.toString.call(t)==="[object String]"},foe=function(t){return me.Children.count(t)===0},Lx=function(t){return D1(t)&&$a(t.then)};function Ni(e,t,r,n){n===void 0&&(n=0);for(var i=loe(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function vu(e,t,r){for(var n=nQ(e),i=n,o=0,a=loe(t);o<a.length-1;o++){var s=a[o],l=Ni(e,a.slice(0,o+1));if(l&&(D1(l)||Array.isArray(l)))i=i[s]=nQ(l);else{var c=a[o+1];i=i[s]=ike(c)&&Number(c)>=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 doe(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],s=e[a];D1(s)?r.get(s)||(r.set(s,!0),n[a]=Array.isArray(s)?[]:{},doe(s,t,r,n[a])):n[a]=t}return n}var Cv=me.createContext(void 0);Cv.displayName="FormikContext";var ake=Cv.Provider,oke=Cv.Consumer;function W3(){var e=me.useContext(Cv);return e}function ske(e,t){switch(t.type){case"SET_VALUES":return ai({},e,{values:t.payload});case"SET_TOUCHED":return ai({},e,{touched:t.payload});case"SET_ERRORS":return $l(e.errors,t.payload)?e:ai({},e,{errors:t.payload});case"SET_STATUS":return ai({},e,{status:t.payload});case"SET_ISSUBMITTING":return ai({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return ai({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return ai({},e,{values:vu(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return ai({},e,{touched:vu(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return ai({},e,{errors:vu(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return ai({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return ai({},e,{touched:doe(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return ai({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return ai({},e,{isSubmitting:!1});default:return e}}var Cc={},jg={};function uke(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,s=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,d=e.onSubmit,h=Vl(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=ai({validateOnChange:r,validateOnBlur:i,validateOnMount:a,onSubmit:d},h),g=me.useRef(p.initialValues),S=me.useRef(p.initialErrors||Cc),E=me.useRef(p.initialTouched||jg),_=me.useRef(p.initialStatus),w=me.useRef(!1),b=me.useRef({});me.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var x=me.useReducer(ske,{values:p.initialValues,errors:p.initialErrors||Cc,touched:p.initialTouched||jg,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),A=x[0],R=x[1],O=me.useCallback(function(ge,be){return new Promise(function(Ce,Le){var Ve=p.validate(ge,be);Ve==null?Ce(Cc):Lx(Ve)?Ve.then(function(qe){Ce(qe||Cc)},function(qe){Le(qe)}):Ce(Ve)})},[p.validate]),m=me.useCallback(function(ge,be){var Ce=p.validationSchema,Le=$a(Ce)?Ce(be):Ce,Ve=be&&Le.validateAt?Le.validateAt(be,ge):cke(ge,Le);return new Promise(function(qe,Ge){Ve.then(function(){qe(Cc)},function(ct){ct.name==="ValidationError"?qe(lke(ct)):Ge(ct)})})},[p.validationSchema]),k=me.useCallback(function(ge,be){return new Promise(function(Ce){return Ce(b.current[ge].validate(be))})},[]),D=me.useCallback(function(ge){var be=Object.keys(b.current).filter(function(Le){return $a(b.current[Le].validate)}),Ce=be.length>0?be.map(function(Le){return k(Le,Ni(ge,Le))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ce).then(function(Le){return Le.reduce(function(Ve,qe,Ge){return qe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||qe&&(Ve=vu(Ve,be[Ge],qe)),Ve},{})})},[k]),V=me.useCallback(function(ge){return Promise.all([D(ge),p.validationSchema?m(ge):{},p.validate?O(ge):{}]).then(function(be){var Ce=be[0],Le=be[1],Ve=be[2],qe=fI.all([Ce,Le,Ve],{arrayMerge:fke});return qe})},[p.validate,p.validationSchema,D,O,m]),F=Ss(function(ge){return ge===void 0&&(ge=A.values),R({type:"SET_ISVALIDATING",payload:!0}),V(ge).then(function(be){return w.current&&(R({type:"SET_ISVALIDATING",payload:!1}),R({type:"SET_ERRORS",payload:be})),be})});me.useEffect(function(){a&&w.current===!0&&$l(g.current,p.initialValues)&&F(g.current)},[a,F]);var G=me.useCallback(function(ge){var be=ge&&ge.values?ge.values:g.current,Ce=ge&&ge.errors?ge.errors:S.current?S.current:p.initialErrors||{},Le=ge&&ge.touched?ge.touched:E.current?E.current:p.initialTouched||{},Ve=ge&&ge.status?ge.status:_.current?_.current:p.initialStatus;g.current=be,S.current=Ce,E.current=Le,_.current=Ve;var qe=function(){R({type:"RESET_FORM",payload:{isSubmitting:!!ge&&!!ge.isSubmitting,errors:Ce,touched:Le,status:Ve,values:be,isValidating:!!ge&&!!ge.isValidating,submitCount:ge&&ge.submitCount&&typeof ge.submitCount=="number"?ge.submitCount:0}})};if(p.onReset){var Ge=p.onReset(A.values,B);Lx(Ge)?Ge.then(qe):qe()}else qe()},[p.initialErrors,p.initialStatus,p.initialTouched]);me.useEffect(function(){w.current===!0&&!$l(g.current,p.initialValues)&&(c&&(g.current=p.initialValues,G()),a&&F(g.current))},[c,p.initialValues,G,a,F]),me.useEffect(function(){c&&w.current===!0&&!$l(S.current,p.initialErrors)&&(S.current=p.initialErrors||Cc,R({type:"SET_ERRORS",payload:p.initialErrors||Cc}))},[c,p.initialErrors]),me.useEffect(function(){c&&w.current===!0&&!$l(E.current,p.initialTouched)&&(E.current=p.initialTouched||jg,R({type:"SET_TOUCHED",payload:p.initialTouched||jg}))},[c,p.initialTouched]),me.useEffect(function(){c&&w.current===!0&&!$l(_.current,p.initialStatus)&&(_.current=p.initialStatus,R({type:"SET_STATUS",payload:p.initialStatus}))},[c,p.initialStatus,p.initialTouched]);var Y=Ss(function(ge){if(b.current[ge]&&$a(b.current[ge].validate)){var be=Ni(A.values,ge),Ce=b.current[ge].validate(be);return Lx(Ce)?(R({type:"SET_ISVALIDATING",payload:!0}),Ce.then(function(Le){return Le}).then(function(Le){R({type:"SET_FIELD_ERROR",payload:{field:ge,value:Le}}),R({type:"SET_ISVALIDATING",payload:!1})})):(R({type:"SET_FIELD_ERROR",payload:{field:ge,value:Ce}}),Promise.resolve(Ce))}else if(p.validationSchema)return R({type:"SET_ISVALIDATING",payload:!0}),m(A.values,ge).then(function(Le){return Le}).then(function(Le){R({type:"SET_FIELD_ERROR",payload:{field:ge,value:Le[ge]}}),R({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),X=me.useCallback(function(ge,be){var Ce=be.validate;b.current[ge]={validate:Ce}},[]),J=me.useCallback(function(ge){delete b.current[ge]},[]),Z=Ss(function(ge,be){R({type:"SET_TOUCHED",payload:ge});var Ce=be===void 0?i:be;return Ce?F(A.values):Promise.resolve()}),ue=me.useCallback(function(ge){R({type:"SET_ERRORS",payload:ge})},[]),H=Ss(function(ge,be){var Ce=$a(ge)?ge(A.values):ge;R({type:"SET_VALUES",payload:Ce});var Le=be===void 0?r:be;return Le?F(Ce):Promise.resolve()}),L=me.useCallback(function(ge,be){R({type:"SET_FIELD_ERROR",payload:{field:ge,value:be}})},[]),j=Ss(function(ge,be,Ce){R({type:"SET_FIELD_VALUE",payload:{field:ge,value:be}});var Le=Ce===void 0?r:Ce;return Le?F(vu(A.values,ge,be)):Promise.resolve()}),te=me.useCallback(function(ge,be){var Ce=be,Le=ge,Ve;if(!Dx(ge)){ge.persist&&ge.persist();var qe=ge.target?ge.target:ge.currentTarget,Ge=qe.type,ct=qe.name,jt=qe.id,zt=qe.value,Ze=qe.checked;qe.outerHTML;var Tt=qe.options,_t=qe.multiple;Ce=be||ct||jt,Le=/number|range/.test(Ge)?(Ve=parseFloat(zt),isNaN(Ve)?"":Ve):/checkbox/.test(Ge)?hke(Ni(A.values,Ce),Ze,zt):Tt&&_t?dke(Tt):zt}Ce&&j(Ce,Le)},[j,A.values]),ee=Ss(function(ge){if(Dx(ge))return function(be){return te(be,ge)};te(ge)}),de=Ss(function(ge,be,Ce){be===void 0&&(be=!0),R({type:"SET_FIELD_TOUCHED",payload:{field:ge,value:be}});var Le=Ce===void 0?i:Ce;return Le?F(A.values):Promise.resolve()}),Se=me.useCallback(function(ge,be){ge.persist&&ge.persist();var Ce=ge.target,Le=Ce.name,Ve=Ce.id;Ce.outerHTML;var qe=be||Le||Ve;de(qe,!0)},[de]),Ae=Ss(function(ge){if(Dx(ge))return function(be){return Se(be,ge)};Se(ge)}),se=me.useCallback(function(ge){$a(ge)?R({type:"SET_FORMIK_STATE",payload:ge}):R({type:"SET_FORMIK_STATE",payload:function(){return ge}})},[]),I=me.useCallback(function(ge){R({type:"SET_STATUS",payload:ge})},[]),P=me.useCallback(function(ge){R({type:"SET_ISSUBMITTING",payload:ge})},[]),q=Ss(function(){return R({type:"SUBMIT_ATTEMPT"}),F().then(function(ge){var be=ge instanceof Error,Ce=!be&&Object.keys(ge).length===0;if(Ce){var Le;try{if(Le=re(),Le===void 0)return}catch(Ve){throw Ve}return Promise.resolve(Le).then(function(Ve){return w.current&&R({type:"SUBMIT_SUCCESS"}),Ve}).catch(function(Ve){if(w.current)throw R({type:"SUBMIT_FAILURE"}),Ve})}else if(w.current&&(R({type:"SUBMIT_FAILURE"}),be))throw ge})}),N=Ss(function(ge){ge&&ge.preventDefault&&$a(ge.preventDefault)&&ge.preventDefault(),ge&&ge.stopPropagation&&$a(ge.stopPropagation)&&ge.stopPropagation(),q().catch(function(be){console.warn("Warning: An unhandled error was caught from submitForm()",be)})}),B={resetForm:G,validateForm:F,validateField:Y,setErrors:ue,setFieldError:L,setFieldTouched:de,setFieldValue:j,setStatus:I,setSubmitting:P,setTouched:Z,setValues:H,setFormikState:se,submitForm:q},re=Ss(function(){return d(A.values,B)}),ce=Ss(function(ge){ge&&ge.preventDefault&&$a(ge.preventDefault)&&ge.preventDefault(),ge&&ge.stopPropagation&&$a(ge.stopPropagation)&&ge.stopPropagation(),G()}),we=me.useCallback(function(ge){return{value:Ni(A.values,ge),error:Ni(A.errors,ge),touched:!!Ni(A.touched,ge),initialValue:Ni(g.current,ge),initialTouched:!!Ni(E.current,ge),initialError:Ni(S.current,ge)}},[A.errors,A.touched,A.values]),_e=me.useCallback(function(ge){return{setValue:function(Ce,Le){return j(ge,Ce,Le)},setTouched:function(Ce,Le){return de(ge,Ce,Le)},setError:function(Ce){return L(ge,Ce)}}},[j,de,L]),Oe=me.useCallback(function(ge){var be=D1(ge),Ce=be?ge.name:ge,Le=Ni(A.values,Ce),Ve={name:Ce,value:Le,onChange:ee,onBlur:Ae};if(be){var qe=ge.type,Ge=ge.value,ct=ge.as,jt=ge.multiple;qe==="checkbox"?Ge===void 0?Ve.checked=!!Le:(Ve.checked=!!(Array.isArray(Le)&&~Le.indexOf(Ge)),Ve.value=Ge):qe==="radio"?(Ve.checked=Le===Ge,Ve.value=Ge):ct==="select"&&jt&&(Ve.value=Ve.value||[],Ve.multiple=!0)}return Ve},[Ae,ee,A.values]),Te=me.useMemo(function(){return!$l(g.current,A.values)},[g.current,A.values]),Ie=me.useMemo(function(){return typeof s<"u"?Te?A.errors&&Object.keys(A.errors).length===0:s!==!1&&$a(s)?s(p):s:A.errors&&Object.keys(A.errors).length===0},[s,Te,A.errors,p]),$e=ai({},A,{initialValues:g.current,initialErrors:S.current,initialTouched:E.current,initialStatus:_.current,handleBlur:Ae,handleChange:ee,handleReset:ce,handleSubmit:N,resetForm:G,setErrors:ue,setFormikState:se,setFieldTouched:de,setFieldValue:j,setFieldError:L,setStatus:I,setSubmitting:P,setTouched:Z,setValues:H,submitForm:q,validateForm:F,validateField:Y,isValid:Ie,dirty:Te,unregisterField:J,registerField:X,getFieldProps:Oe,getFieldMeta:we,getFieldHelpers:_e,validateOnBlur:i,validateOnChange:r,validateOnMount:a});return $e}function k8e(e){var t=uke(e),r=e.component,n=e.children,i=e.render,o=e.innerRef;return me.useImperativeHandle(o,function(){return t}),me.createElement(ake,{value:t},r?me.createElement(r,t):i?i(t):n?$a(n)?n(t):foe(n)?null:me.Children.only(n):null)}function lke(e){var t={};if(e.inner){if(e.inner.length===0)return vu(t,e.path,e.message);for(var i=e.inner,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var 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;Ni(t,a.path)||(t=vu(t,a.path,a.message))}}return t}function cke(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=gI(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function gI(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||NX(i)?gI(i):i!==""?i:void 0}):NX(e[n])?t[n]=gI(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function fke(e,t,r){var n=e.slice();return t.forEach(function(o,a){if(typeof n[a]>"u"){var s=r.clone!==!1,l=s&&r.isMergeableObject(o);n[a]=l?fI(Array.isArray(o)?[]:{},o,r):o}else r.isMergeableObject(o)?n[a]=fI(e[a],o,r):e.indexOf(o)===-1&&n.push(o)}),n}function dke(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function hke(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 pke=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?me.useLayoutEffect:me.useEffect;function Ss(e){var t=me.useRef(e);return pke(function(){t.current=e}),me.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 D8e(e){var t=e.validate,r=e.name,n=e.render,i=e.children,o=e.as,a=e.component,s=Vl(e,["validate","name","render","children","as","component"]),l=W3(),c=Vl(l,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;me.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var p=c.getFieldProps(ai({name:r},s)),g=c.getFieldMeta(r),S={field:p,form:c};if(n)return n(ai({},S,{meta:g}));if($a(i))return i(ai({},S,{meta:g}));if(a){if(typeof a=="string"){var E=s.innerRef,_=Vl(s,["innerRef"]);return me.createElement(a,ai({ref:E},p,_),i)}return me.createElement(a,ai({field:p,form:c},s),i)}var w=o||"input";if(typeof w=="string"){var b=s.innerRef,x=Vl(s,["innerRef"]);return me.createElement(w,ai({ref:b},p,x),i)}return me.createElement(w,ai({},p,s),i)}var vke=me.forwardRef(function(e,t){var r=e.action,n=Vl(e,["action"]),i=r??"#",o=W3(),a=o.handleReset,s=o.handleSubmit;return me.createElement("form",Object.assign({onSubmit:s,ref:t,onReset:a,action:i},n))});vke.displayName="Form";function gke(e){var t=function(i){return me.createElement(oke,null,function(o){return me.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+")",Kbe(t,e)}var mke=function(t,r,n){var i=qd(t),o=i[r];return i.splice(r,1),i.splice(n,0,o),i},yke=function(t,r,n){var i=qd(t),o=i[r];return i[r]=i[n],i[n]=o,i},Nx=function(t,r,n){var i=qd(t);return i.splice(r,0,n),i},_ke=function(t,r,n){var i=qd(t);return i[r]=n,i},qd=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,i){return i>n?i:n},0);return Array.from(ai({},t,{length:r+1}))}else return[]},Ske=(function(e){coe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(o,a,s){var l=i.props,c=l.name,d=l.formik.setFormikState;d(function(h){var p=typeof s=="function"?s:o,g=typeof a=="function"?a:o,S=vu(h.values,c,o(Ni(h.values,c))),E=s?p(Ni(h.errors,c)):void 0,_=a?g(Ni(h.touched,c)):void 0;return sQ(E)&&(E=void 0),sQ(_)&&(_=void 0),ai({},h,{values:S,errors:s?vu(h.errors,c,E):h.errors,touched:a?vu(h.touched,c,_):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(qd(a),[nke(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yke(s,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(s){return mke(s,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(s){return Nx(s,o,a)},function(s){return Nx(s,o,null)},function(s){return Nx(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return _ke(s,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(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[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(oQ(i)),i.pop=i.pop.bind(oQ(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!$l(Ni(i.formik.values,i.name),Ni(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?qd(a):[];return o||(o=s[i]),$a(s.splice)&&s.splice(i,1),s},!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,s=o.render,l=o.children,c=o.name,d=o.formik,h=Vl(d,["validate","validationSchema"]),p=ai({},i,{form:h,name:c});return a?me.createElement(a,p):s?s(p):l?typeof l=="function"?l(p):foe(l)?null:me.Children.only(l):null},t})(me.Component);Ske.defaultProps={validateOnChange:!0};var Eke=(function(e){coe(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return Ni(this.props.formik.errors,this.props.name)!==Ni(i.formik.errors,this.props.name)||Ni(this.props.formik.touched,this.props.name)!==Ni(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,o=i.component,a=i.formik,s=i.render,l=i.children,c=i.name,d=Vl(i,["component","formik","render","children","name"]),h=Ni(a.touched,c),p=Ni(a.errors,c);return h&&p?s?$a(s)?s(p):null:l?$a(l)?l(p):null:o?me.createElement(o,d,p):p:null},t})(me.Component),L8e=gke(Eke);const wke=me.createContext(""),yn=me.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=me.useContext(wke),o=r||i,a=Object.assign({escapeText:!0},n),s=_r.getPhrase(o,t,a);return U.jsx("span",{dangerouslySetInnerHTML:{__html:s}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&oa.isEqual(e.options,t.options));function bke(e){var n;const[t,r]=me.useState(!1);return me.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]),me.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function Cke(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...o}=e,a=me.useRef(null),[{width:s,height:l},c]=me.useState({}),[d,h]=me.useState(t);me.useEffect(()=>{if(!t){c({});return}const g=a.current,S=g.offsetHeight,E=g.offsetWidth;!S||!E||c({width:E,height:S})},[t]),me.useLayoutEffect(()=>{h(t)},[t]);const p={...n};return s&&(p.width=`${s+1}px`),l&&(p.height=`${l+1}px`),U.jsx(T1,{ref:a,disabled:t,style:p,...o,children:d?U.jsxs(U.Fragment,{children:[U.jsx(Ev,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&U.jsx("span",{className:"ps-1",children:i})]}):r})}const Tke={info:"custom-toggle-info"};G3.defaults={floatEnd:!0};function G3(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:o,hideOutline:a,...s}=e;function l(..._){e.disabled||e.onClick(..._)}const c="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=a?"outline-none":"",p=Tke[i]??"",g=o?"float-end":"";let S=t?"on":"";e.disabled&&!r&&(S="");const E=`${c} ${p} ${S} ${d} ${h} ${g}`;return e.tooltipText?U.jsx(el,{title:n,spanHack:!0,children:U.jsx(Fd,{...s,role:"switch","aria-checked":`${t}`,onClick:l,className:E,children:U.jsx("span",{className:"handle"})})}):U.jsx(Fd,{...s,role:"switch","aria-checked":t,onClick:l,className:E,children:U.jsx("span",{className:"handle"})})}const hoe="shared.popup",Kc=e=>U.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 poe(e){return U.jsx(Cke,{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?U.jsx(U.Fragment,{children:e.text}):U.jsx(yn,{namespace:hoe,phrase:e.isNew?"create":"save"})})}function Ake(e){const t=W3(),r=bke(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return U.jsx(poe,{...e,disabled:i(),showSpinner:n})}const Rke=e=>Xt.useContext(Cv)?U.jsx(Ake,{...e}):U.jsx(poe,{...e}),xke=e=>U.jsx(T1,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:U.jsx(yn,{namespace:hoe,phrase:"cancel"})}),Oke=e=>U.jsx($d.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),Ike=e=>U.jsxs("div",{className:"d-flex align-items-center me-auto",children:[U.jsx(G3,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&U.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});Kc.Submit=Rke;Kc.Cancel=xke;Kc.Checkbox=Oke;Kc.Toggle=Ike;const uQ="shared.shared-utils",Pke={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=S3.createRoot(r);function i(){var l;if(Ai.isFunction((l=t.submitButtonProps)==null?void 0:l.onClick)){const c=t.submitButtonProps.onClick();if(c instanceof Promise){c.then(()=>{n.unmount()});return}}n.unmount()}function o(){var l;Ai.isFunction((l=t.cancelButtonProps)==null?void 0:l.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const a={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},s={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{o()}};n.render(U.jsxs(Mae,{title:t.title,closePopup:o,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&U.jsxs(Kc,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&U.jsx(Kc.Cancel,{...s}),t.submitButtonProps&&U.jsx(Kc.Submit,{...a})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:_r.getPhrase(uQ,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:_r.getPhrase(uQ,"cancel")}}},Ug=_r.encloseNamespace("shared.hooks"),kke=()=>{const[e,t]=Xt.useState([]),r=jr.Radio.channel(_n.SHELL);Xt.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]),Xt.useEffect(()=>{function l(){n({id:"upload",title:Ug("navLockTitle"),text:Ug("navLockBody"),allowAppLinks:!0})}const c=jr.Radio.channel(cp.VIDEO_UPLOAD);return c.on(Ku.FILES_ADDED,l),c.on(Ku.UNLOCK_NAV,i),()=>{c.off(Ku.FILES_ADDED,l),c.off(Ku.UNLOCK_NAV,i)}},[]);function n(l={}){e.find(c=>c.id===l.id)||(l.allowAppLinks||r.trigger(An.LOCK_NAV),t([...e,l]))}function i(l){const c=e.filter(d=>d.id!==l);(c.length===0||!c.find(d=>!d.allowAppLinks))&&r.trigger(An.UNLOCK_NAV),t(c)}function o(l){var d;if(!e.length)return;const c=e.find(h=>!h.allowAppLinks);if((d=c.appLinkWhitelist)!=null&&d.find(h=>h.action===l.action&&h.application===l.application)){r.trigger(An.UNLOCK_NAV),window.setTimeout(()=>{Fn.trigger(l),r.trigger(An.LOCK_NAV)},0);return}if(Ai.isFunction(c.renderCustomDialog)){c.renderCustomDialog();return}Pke.render(U.jsx("p",{children:c.text}),{title:c.title,submitButtonProps:{onClick:()=>{c.onConfirmUnlock&&c.onConfirmUnlock(),s(l)},variant:"danger",text:Ug("discard")},cancelButtonProps:{text:Ug("cancel"),variant:"link"}})}function a(l){let c=e.find(d=>d.allowAppLinks);return c||(c=Bn.first(e)),l.returnValue=c.text,c.text}function s(l){r.trigger(An.NAV_UNLOCKED_BY_USER),e.forEach(c=>{c.allowAppLinks||i(c.id)}),window.removeEventListener("beforeunload",a),Fn.trigger(l)}return{lock:n,unlock:i}};function Dke(){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)}me.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function Lke(){const e=Qi(Ks.version());return e.data?U.jsx("footer",{className:"text-center text-secondary my-2",children:U.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):U.jsx(U.Fragment,{})}function Nke(){return Xt.useContext(Tie)}var L1=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(L1||{});function Mke(e){return e?e===Gs.SessionStorage?Md:ja:null}const Tv=(e,t,r)=>{const n=Mke(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const o=mv(),a=Kne(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function s(){return i!=null}const l=(t!==void 0||s())&&a===void 0;Xt.useEffect(()=>{if(l){if(s()){c(i);return}c(t);return}},[]);function c(h,p){n&&d(h,p),o({type:L1.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:p}})}function d(h,p){if(!n)return;const g=n.get(e);if(typeof h=="string"&&p!==void 0){n.set(e,{...g,[h]:p});return}n.set(e,h)}return l?s()?[i,c]:[t,c]:[a??void 0,c]},N1={LOCAL_PERMISSIONS:"local:permissions",AUDIENCE_FILTER:"audience:filter",BULK_USER_ACTIONS:"bulk:user:actions",PRESENTATION_ID:"presentation:id",SHOW_SEARCH_MASK:"show:search:mask"},Av=()=>{const e=Qi(oi.currentUser()),t=Qi(e.hasCompleted&&oi.permissions()),[r]=Tv(N1.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||vr.throw(new Cn("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 K3(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M14.053 14.879a6.28 6.28 0 0 1-3.834 1.294C6.784 16.173 4 13.448 4 10.086S6.784 4 10.219 4c3.434 0 6.218 2.725 6.218 6.086 0 1.59-.622 3.037-1.641 4.12l5.056 4.95a.487.487 0 0 1 0 .699.513.513 0 0 1-.715 0zm1.384-4.793C15.437 7.297 13.121 5 10.22 5S5 7.297 5 10.086s2.316 5.087 5.219 5.087c2.902 0 5.218-2.298 5.218-5.087"})})}function $ke(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M16.657 16.576a1 1 0 0 1 .143-1.024l.076-.094a6.292 6.292 0 1 0-2.12 1.688l.082-.04a1 1 0 0 1 .834-.022l1.473.631zm1.788 1.126c.355.83-.483 1.669-1.313 1.313l-1.848-.792a7.492 7.492 0 1 1 2.524-2.008z"})})}function Fke(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var M1=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(M1||{}),ql=(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))(ql||{}),jke=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))(jke||{}),Uke=(e=>(e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageAPIv2=3]="ImageAPIv2",e))(Uke||{});function qke(e){return U.jsx("svg",{...e,children:U.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 Vke={[ql.Banners]:"banner",[ql.Thumbnails]:"thumbnail"},lQ={[ql.Banners]:"banners",[ql.Thumbnails]:"thumbnails",[ql.TallPosters]:"tallPosters",[ql.Covers]:"covers",[ql.Avatars]:"avatars"},Hke={categoryMapper:e=>`/v1/category-map/${e}`},qu={createUrl(e,t){return qu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?qu._createUrl(e.url,r):qu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return qu._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:i}=e,o=va.safeUrlConcat(r,`${Hke.categoryMapper(Vke[i])}`),a={name:qu.Rfc3986EncodeURIComponent(n),...t};return qu._createUrl(o,a)},_createUrl(e,t){if(!e)return;if(oa.isEmpty(t))return e;const r=du.param(t),n=e.indexOf("?")===-1?"?":"&";let i=e;return i.endsWith("/")&&(i=i.slice(0,-1)),i+`${n}${r}`},legacyCreateThumbnailUrl(e,t){if(!e)return"";let r;if(!e||(e instanceof Ju?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:M1.Small,bgColor:"000",...t};return qu._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){lQ[t]||vr.throw(new Cn(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=va.safeUrlConcat(e,`v2/${lQ[t]}/${r}`);return va.urlBuilder(i,{size:n})}},Bke="_avatar_xiggt_1",zke="_dot_xiggt_11",Mx={avatar:Bke,dot:zke};function Wke(e,t){return t?qu.createUrl(va.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:M1.Small}):""}function voe(e){const t=!e.anonymiseUsers&&e.imageUrl||Wke(e.imageCdnUrl,e.initials);return U.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?U.jsx("div",{className:`${Mx.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:U.jsx(Jo,{svg:qke,size:e.anonymousSvgSize||jd.Large,className:"svg-container w-100 h-100"})}):U.jsx("div",{className:`${Mx.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&U.jsx("div",{className:`${Mx.dot} rounded-circle bg-danger`})]})}function cQ(e){return U.jsx("svg",{...e,children:U.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 $x={"Academic Coach":"teacher","Assistant Head Teacher":"kdm","Consortium Leadership":"kdm","Curriculum Coordinator":"teacher","Curriculum Leader":"teacher","Deputy Head Teacher":"kdm","Deputy Principal":"kdm","Digital Technology Coordinator":"teacher","District Leadership":"kdm","e-Learning/ICT Coordinator":"teacher","Head of Department":"teacher","Head of Faculty":"teacher","Head of Key Stage":"teacher","Head of Subject":"teacher","Head Teacher":"kdm",IT:"kdm","IT/LRC":"kdm","e-Learning Coordinator":"kdm","Instructional Technology Specialist":"teacher","Librarian / Teacher Librarian":"teacher",Principal:"kdm","School Leadership":"kdm","Subject Lead":"teacher",Teacher:"teacher","SSO / SLSO":"teacher","Assistant Principal":"kdm","IT / IT Specialist":"kdm","Learning Support":"teacher","Learning Assistant":"teacher","Educational Assistant (EA)":"teacher","Learning Support Teacher / Resource Teacher":"teacher","Department Head / Manager":"teacher","Curriculum Coordinator / Consultant":"teacher","School Counsellor / Guidance Counsellor":"teacher","Vice-Principal":"kdm",Superintendent:"kdm","Director of Education":"kdm","Business Manager":"kdm",Professor:"kdm",Lecturer:"teacher","Course Coordinator / Administrator":"teacher","Digital Learning Manager":"teacher",Tutor:"teacher","Teaching Fellow":"teacher",Librarian:"teacher",Researcher:"teacher","Learning Technologist":"teacher","Teaching Assistant":"teacher"};var lu=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(lu||{}),yi=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(yi||{}),Eo=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Eo||{});const zs={getInitials(e,t){let r="";return e!=null&&e.length&&(r=e[0]),t!=null&&t.length&&(r+=t[0]),r.toUpperCase()},getInitialsFromFullName(e){const t=(e==null?void 0:e.split(" "))??[];if(!t.length)return"";const r=t[0],n=t.length>1?t[1]:"";return zs.getInitials(r,n)},getFullName(e){return e!=null&&e.name?`${(e==null?void 0:e.name)??""} ${(e==null?void 0:e.surname)??""}`.trim():""},getCommunityName(e){var t;return e!=null&&e.name?`${e.name} ${(t=e.surname)==null?void 0:t.slice(0,1)}`:""},getUserType(e){let t=e.userType;if(typeof t=="number")switch(t){case 0:t=yi.Unknown;break;case 1:t=yi.Staff;break;case 2:t=yi.Learner;break;case 255:t=yi.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=lu.Disabled;break;case 1:t=lu.Active;break;case 2:t=lu.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=lu.Disabled;break;case 1:e=lu.Active;break;case 2:e=lu.Inactive;break}return e},getUserRole(e){var r,n;let t;if("userProfiles"in e&&((n=(r=e.userProfiles)==null?void 0:r.data)!=null&&n[0])&&(t=e.userProfiles.data[0].role),"userProfile"in e&&e.userProfile&&(t=e.userProfile.role),!t)return Eo.User;if(typeof t=="number")switch(t){case 16:t=Eo.Guest;break;case 32:t=Eo.User;break;case 48:t=Eo.Admin;break;case 64:t=Eo.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Eo.User;if(typeof e=="number")switch(e){case 16:return Eo.Guest;case 32:return Eo.User;case 48:return Eo.Admin;case 64:return Eo.SuperAdmin;default:return Eo.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:zs.getFullName(e)},getYearGroup(e){var t,r,n;return(t=e.masterYearGroup)!=null&&t.id?e.masterYearGroup:(n=(r=e.yearGroups)==null?void 0:r.data)!=null&&n.length?Bn.first(e.yearGroups.data):null},hasLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&r.isLegacy):!1},hasNonLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&!r.isLegacy):!1},hasSso(e){return zs.hasLegacySso(e)||zs.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in $x)$x.hasOwnProperty(n)&&(t[n.toLowerCase()]=$x[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?zs.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function fQ(e){return U.jsx("svg",{...e,children:U.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 Gke="_toggle_1f3ot_1",Kke={toggle:Gke},Yke=4,dQ="shared.customerSelectorItem";function Xke(e){var n;function t(i,o=null){o!==e.currentCustomerId&&(Ti.logUserAction({id:e.currentCustomerId,newCustomerId:o},{actionType:It.SwitchCustomer,entity:dn.Customer,location:aa.UserOptions}),Mn.PageLoad(r(o)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?U.jsx(U.Fragment,{}):e.customers.length<=1?U.jsx(U.Fragment,{}):e.customers.length>Yke?U.jsx(bo.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:U.jsxs("div",{className:"d-flex justify-content-between",children:[U.jsx(yn,{namespace:dQ,phrase:"title"}),U.jsx(Jo,{svg:fQ,className:"svg-container text-secondary"})]})}):U.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[U.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${Kke.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[U.jsx(yn,{namespace:dQ,phrase:"title"}),U.jsx(Jo,{svg:fQ,className:"svg-container text-secondary"})]}),U.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,o)=>{const a=i.id===e.currentCustomerId;return U.jsx(bo.Item,{as:"li",onClick:s=>t(s,i.id),disabled:a,children:i.name},o)})})]})}var Ir=(e=>(e.MustCompleteOnboarding="must_complete_onboarding",e.StudentWorkspaceSharing="student_ws_sharing",e.StudentToStudentMessaging="student_to_student_messaging",e.HideResourcesForStudents="hide_resources_for_students",e.LibraryReview="library_review",e.SchoolMessaging="school_messaging",e.LegacyTvNaming="legacy_tv_naming",e.LegacyAlbertCustomer="legacy_albert_customer",e.HideHostedLibraries="hide_hosted_libraries",e.MaxCustomLibraries="max_custom_libraries",e.AutoCaptioning="auto_captioning",e.Topics="subjects",e.NewDashboards="new_dashboards",e.ShareToGoogleClassroom="share_to_google_classroom",e.ShareToMicrosoftTeams="share_to_microsoft_teams",e.DefaultPlaybackQuality="playback_quality_default",e.DefaultLocalCachePlaybackQuality="playback_quality_local_cache_default",e.EnableSubtitlesDefault="playback_subtitles_enabled_default",e.LTI="lti",e.HasNewClassificationView="new_classification_view",e.HasCuratedDiscoverDashboards="has_curated_discover_dashboards",e.HasLiteSearchDropdown="has_lite_search_dropdown",e.HasSpecialEventCalendar="has_special_event_calendar",e.PreviewVideos="preview_videos",e.DomainSettings="domain_settings",e.InviteColleague="invite_colleague",e.ExchangeTvProductOption="exchange_tv_product_option",e.MyVideosFolders="my_videos_folders",e.TvRegion="tv_region",e.ShareOverrideRestrictions="share_override_restrictions",e.HasTopicDirectories="has_topic_directories",e.MessageFrequencyOption="message_frequency",e.HasTopicVideoListFeature="has_topic_video_list_feature",e.HasManageGrouPermissions="has_manage_group_permissions",e.ExperimentalInteractiveQuestions="experimental_interactive_questions",e.PublicInteractiveAttempts="public_interactive_attempts",e.HasClassrooms="has_classrooms",e.HasNewSearch="has_new_search",e.HasPlayPageTranscript="has_play_page_transcript",e.HasShareFlowV2="has_share_flow_v2",e.HasEnabledViviPlayback="has_enabled_vivi_playback",e.HasEnabledViviStudentCasting="has_enabled_vivi_student_casting",e.HasEnabledAppleTvPlayback="has_enabled_apple_tv_playback",e.HasDisplayedPresentationSwitcherProductTip="has_displayed_presentation_switcher_spotlight",e.HasDisplayedTopicsDirectoryTabProductTip="has_displayed_topics_directory_tab_spotlight",e.HasDisplayedGiveFeedbackFormProductTip="has_displayed_give_feedback_form_spotlight",e.HasDisplayedWhatsNewLinkProductTip="has_displayed_whats_new_link_spotlight",e.ShowExchangeSearchResultsUser="show_exchange_search_results_user",e.LiteUpgradeTime="lite_upgrade_time",e.LiteUpgradeTypeCustomer="lite_upgrade_type_customer",e.LiteUpgradeTypeUser="lite_upgrade_type_user",e.HasCompletedUpgradeOnboarding="has_completed_upgrade_onboarding",e.LiteUpgradeFeedback="lite_upgrade_feedback",e.LiteUpgradeComplete="lite_upgrade_complete",e.PolicyEndTime="policy_end_time",e.HasCompletedOnboardingV1="has_completed_onboarding",e.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state",e.HasCompletedOnboardingV2="has_completed_onboarding_v2",e.HasNewOnboarding="has_new_onboarding",e.HasExitedOnboarding="has_exited_onboarding",e.HasCompletedOnboardingStepWelcomeVideo="has_completed_onboarding_step_welcome_video",e.HasCompletedOnboardingStepSelectRole="has_completed_onboarding_step_select_role",e.HasCompletedOnboardingStepUsageIntention="has_completed_onboarding_step_usage_intention",e.HasCompletedOnboardingStepSchoolLevel="has_completed_onboarding_step_school_level",e.HasCompletedOnboardingStepSelectCurriculum="has_completed_onboarding_step_select_curriculum",e.HasCompletedOnboardingStepSubjects="has_completed_onboarding_step_subjects",e.HasCompletedOnboardingStepSelectVideos="has_completed_onboarding_step_select_videos",e.HasCompletedOnboardingStepCreatePlaylist="has_completed_onboarding_step_create_playlist",e.HasCompletedOnboardingStepSubjectsSummary="has_completed_onboarding_step_subjects_summary",e.HasCompletedOnboardingProductTips="has_completed_onboarding_product_tips",e.StudentInteractives="student_interactives",e.ExpandSchoolLibrary="expand_school_library",e.PrimaryProduct="primary_product",e.ImmediateFeedbackInteractives="immediate_feedback_interactives",e.LiteStudentCustomLibraries="lite_student_custom_libraries",e.HasEnabledRostering="has_enabled_rostering",e))(Ir||{});const _p={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?Uc.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):Uc._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?Uc.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):Uc._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),{})}},hQ=[{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 Fx=()=>(vr.throw(new Cn("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const Uc={setPublicFormatSettings(e){e&&(Fx=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:_p.formatSettings,success:t,error:r}},customerSetting(e,t,r){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Bn.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:_p.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:Fx,success:e,error:t,successResponse:()=>hQ}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:Fx,success:e,error:t,successResponse:()=>hQ}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Bn.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:_p.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:Ci.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:Ci.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},Y3=e=>{const t=Qi(oi.currentUser()),r=Qi(t.hasCompleted&&_p.getCustomerSettingsRequest(t.data)),n=Qi(t.hasCompleted&&_p.getUserSettingsRequest(t.data)),i=mv(),o=!!r.hasCompleted&&!!n.hasCompleted,a=E=>{var b,x;if(!o||r.hasError||n.hasError)return null;const _=(b=r.data)==null?void 0:b[E];if(_)return _==null?void 0:_.value;const w=(x=n.data)==null?void 0:x[E];return w?w==null?void 0:w.value:null};function s(E,_,w,b,x){return E==="user"?Uc.updateUserSetting(_,w,b,x):Uc.updateCustomerSetting(_,w,b,x)}const l=(E,_,w,b,x)=>{function A(){Ti.logUserAction({name:_.name,value:_.value},{location:e,entity:dn.UserSetting,actionType:It.Edit}),w==null||w()}ph(i,s(E,_,A,b,x))},c=(E,_)=>new Promise((w,b)=>{l(E,_,w,b)}),d=(E,_,w,b)=>l("user",E,_,w,b),h=(E,_,w,b)=>l("customer",E,_,w,b),p=E=>c("user",E),g=E=>c("customer",E);function S(){var E;return(E=t.data)!=null&&E.isAuthenticated?a(Ir.HasTopicDirectories):!0}return{isLoadingSettings:!o,updateUserSetting:d,updateUserSettingAsync:p,updateCustomerSetting:h,updateCustomerSettingAsync:g,userSettings:n,shareToGoogleClassroom:a(Ir.ShareToGoogleClassroom),shareToMicrosoftTeams:a(Ir.ShareToMicrosoftTeams),hasLti:a(Ir.LTI),defaultPlaybackQuality:a(Ir.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:a(Ir.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:a(Ir.EnableSubtitlesDefault),hasCompletedOnboardingV1:a(Ir.HasCompletedOnboardingV1),hasCompletedOnboardingV2:a(Ir.HasCompletedOnboardingV2),hasOnboardingV2:a(Ir.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:a(Ir.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:a(Ir.HasCompletedOnboardingProductTips),liteUpgradeTime:a(Ir.LiteUpgradeTime),liteUpgradeTypeCustomer:a(Ir.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:a(Ir.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:a(Ir.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:a(Ir.LiteUpgradeFeedback),liteUpgradeComplete:a(Ir.LiteUpgradeComplete),hasNewClassificationView:a(Ir.HasNewClassificationView),hasCuratedDiscoverDashboards:a(Ir.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:a(Ir.HasSpecialEventCalendar),hasLiteSearchDropdown:a(Ir.HasLiteSearchDropdown),policyEndTime:a(Ir.PolicyEndTime),bulkOnboardingPreferencesState:a(Ir.BulkOnboardingPreferencesState),hasOnlineTopics:a(Ir.Topics),hasPreviewVideos:a(Ir.PreviewVideos),domainSettings:a(Ir.DomainSettings),inviteColleague:a(Ir.InviteColleague),myVideosFolders:a(Ir.MyVideosFolders),exchangeTvProductOption:a(Ir.ExchangeTvProductOption),messageFrequencyOption:a(Ir.MessageFrequencyOption),tvRegion:a(Ir.TvRegion),hasEnabledViviStudentCasting:a(Ir.HasEnabledViviStudentCasting),hasEnabledViviPlayback:a(Ir.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:a(Ir.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:a(Ir.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:a(Ir.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:a(Ir.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:a(Ir.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:a(Ir.ShowExchangeSearchResultsUser),shareOverrideRestrictions:a(Ir.ShareOverrideRestrictions),hasTopicDirectories:S(),hasTopicVideoListFeature:a(Ir.HasTopicVideoListFeature),hasManageGroupPermissions:a(Ir.HasManageGrouPermissions),experimentalInteractiveQuestions:a(Ir.ExperimentalInteractiveQuestions),hasClassrooms:a(Ir.HasClassrooms),hasNewSearch:a(Ir.HasNewSearch),hasPlayPageTranscript:a(Ir.HasPlayPageTranscript),hasShareFlowV2:a(Ir.HasShareFlowV2)}},goe=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:o,isLoadingSettings:a}=Y3(null),{hasPermissions:s}=Av(),l=e||t,c=me.useMemo(()=>{if(a||!r)return 0;const S=new Date(r),E=new Date;return Math.max(xo.diffBetween(S,E,"day"),0)+1},[a,r]),[d,h]=Tv("lite:upgrade:feedback:banner",{show:!0},{storage:Gs.LocalStorage}),p=!!l;return{isUpgrading:p&&!i,isLoading:a,daysLeft:c,upgradeType:l,hasCompletedOnboarding:o,feedbackStatus:n,showFeedbackBanner:p&&d.show&&!s(Ws.StudentExperience),showTvGuide:p,dismissFeedbackBanner:()=>h({show:!1})}};class Qke{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new Cn("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===Ro.Online){if(!t.onlineSupportSiteUrl){vr.throw(new Cn("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new Cn("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new Cn("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return va.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===Ro.Primary&&vr.throw(new Cn("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===Ro.Online&&vr.throw(new Cn("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===Ro.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?va.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":va.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const mI=Qke.Instance,Zke="shared.userOptions",pQ=_r.encloseNamespace(Zke);function Jke(e,t,r){const{hasPermissions:n}=Av(),i=goe(),o=Bn.sortBy(t,"order");if(e&&(o.push({label:pQ("helpCentre"),order:0,url:mI.getHybridArticle(null,null),analyticsData:{url:mI.getHybridArticle(null,null)},analyticsOptions:{actionType:It.Click,entity:dn.Url,descriptor:Wc.ExternalLink,location:aa.UserOptions}}),n(Ws.ViewProductBoard)&&!i.isUpgrading&&!r)){const s=va.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");o.push({label:pQ("whatsNew"),order:0,url:s,analyticsData:{url:s},analyticsOptions:{actionType:It.Click,entity:dn.Url,descriptor:Wc.ExternalLink,location:aa.UserOptions}})}const a={main:[],logOut:[]};return o.forEach(s=>{s.section==="logOut"?a.logOut.push(s):a.main.push(s)}),a}function e4e(e,t,r){var c;const n=Qi(oi.currentUser()),i=Qi(((c=n.data)==null?void 0:c.isAuthenticated)&&m3.userProducts()),o=goe();if(t||!i.data||o.isLoading)return;const a=[...i.data],s=Array.isArray(e)?e:[e];o.isUpgrading&&!s.includes(Ro.Online)&&s.push(Ro.Online);let l=a.filter(d=>!s.includes(d.id),"order");return typeof r=="function"&&(l=r(l)),Bn.sortBy(l)}const t4e="_avatarContainer_1z0er_1",r4e="_productLogo_1z0er_5",n4e="_counter_1z0er_9",Jm={avatarContainer:t4e,productLogo:r4e,counter:n4e},i4e="shared.userOptions",Sp=_r.encloseNamespace(i4e);function vQ({item:e}){if(e.appLink)return U.jsxs(bo.Item,{as:Yo,appLink:e.appLink,openInNewTab:e.openInNewTab,onClick:e.onClick,className:"d-flex align-items-center",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:[e.counter>0&&U.jsx("div",{className:`${Jm.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),U.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&U.jsx(Jo,{svg:cQ,className:"svg-container text-secondary"})]})]});if(e.url){let t=function(r){var n;r.preventDefault(),(n=e.onClick)==null||n.call(e),e.analyticsData&&e.analyticsOptions&&Ti.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Mn.PageLoad(e.url,!0)};return U.jsxs(bo.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&&U.jsx("div",{className:`${Jm.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),U.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&U.jsx(Jo,{svg:cQ,className:"svg-container text-secondary"})]})]})}return U.jsx(U.Fragment,{})}const a4e=({appLinks:e,showSignUpForMobile:t})=>U.jsxs(U.Fragment,{children:[U.jsx(Yo,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:It.Click,location:aa.TopNav,entity:dn.Url,descriptor:Gu.SignIn},analyticsData:{},children:Sp("signIn")}),U.jsx(Yo,{appLink:e.signUp,className:Fke("btn btn-dark",!t&&"d-none d-lg-inline-block"),analyticsOptions:{actionType:It.Click,location:aa.TopNav,entity:dn.AppLink,workflowPhase:Oo.Start,descriptor:Gu.SignUp},analyticsData:{},tag:"button",children:Sp(t?"signUpForMobile":"signUp")})]}),o4e=({appLinks:e})=>U.jsx(Yo,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:It.Click,location:aa.TopNav,entity:dn.AppLink,workflowPhase:Oo.Start,descriptor:Gu.SignIn},analyticsData:{},children:Sp("signIn")});function s4e(e){var S,E,_,w,b,x;const[t,r]=me.useState(!1),{hasPermissions:n}=Av(),i=Qi(oi.currentUser()),o=Qi(((S=i.data)==null?void 0:S.id)&&oi.user(i.data.id)),a=Qi(Ks.config()),s=Qi(((E=i.data)==null?void 0:E.isAuthenticated)&&oi.customers(i.data.id)),l=Jke(a.data,e.additionalItems,e.hideWhatsNew),c=n(Ws.GuestExperience),d=e.hideProductList||c,h=e4e(e.productId,d,e.transform);function p(A){r(A),Ti.logUserAction({},{actionType:It.Click,entity:dn.AppLink,location:aa.UserOptions,descriptor:A?Wc.Open:Wc.Close})}function g(A){Ti.logUserAction({id:A.id,name:A.name},{actionType:It.Click,entity:dn.Product,location:aa.UserOptions,descriptor:Wc.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!o.hasCompleted||!a.data?U.jsx(U.Fragment,{}):i.data.isAuthenticated?U.jsxs(bo,{className:"position-relative",onToggle:p,children:[U.jsx(bo.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Jm.avatarContainer} no-caret border-0 p-0`,children:U.jsx(voe,{imageUrl:qu.createUrl(i.data.avatar,{size:M1.Small}),imageCdnUrl:a.data.imageCdnUrl,initials:zs.getInitials(i.data.givenName,i.data.familyName),showDot:l.main.some(A=>A.counter>0)})}),U.jsxs(bo.Menu,{as:"ul",align:"end",children:[U.jsxs(bo.Item,{as:"div",children:[U.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[U.jsx("strong",{children:i.data.displayName})," ",!c&&U.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),U.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!c&&((_=o.data)==null?void 0:_.masterYearGroup)&&U.jsx("p",{className:"m-0 text-secondary",children:o.data.masterYearGroup.name})]}),U.jsx(Xke,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(b=s.data)==null?void 0:b.data}),U.jsx(bo.Divider,{}),l.main.map((A,R)=>U.jsx(vQ,{item:A},R)),U.jsx(bo.Divider,{}),h==null?void 0:h.map((A,R)=>U.jsxs(bo.Item,{as:"a",href:A.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>g(A),children:[U.jsx("img",{src:A.imageUrl,className:`${Jm.productLogo} me-2`}),A.name]},R)),!!(h!=null&&h.length)&&U.jsx(bo.Divider,{}),l.logOut.map((A,R)=>U.jsx(vQ,{item:A},R)),U.jsx(bo.Item,{as:Yo,appLink:e.appLinks.signOut,analyticsData:{id:(x=i.data)==null?void 0:x.id},analyticsOptions:{actionType:It.Click,location:aa.UserOptions,entity:dn.AppLink,descriptor:Gu.SignOut},children:Sp("signOut")})]})]}):e.displaySignUp?U.jsx(a4e,{...e}):U.jsx(o4e,{...e})}const u4e="_logoContainer_1bv0u_1",l4e="_iconLogo_1bv0u_4",gQ={logoContainer:u4e,iconLogo:l4e};function c4e(){return U.jsxs("svg",{width:"208",height:"40",viewBox:"0 0 208 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[U.jsx("path",{d:"M41.4589 24.7134C41.7582 24.1897 42.1964 23.7622 42.7735 23.4309C43.3507 23.0995 44.008 22.9339 44.7455 22.9339C45.5364 22.9339 46.2472 23.1209 46.8778 23.495C47.5083 23.8691 48.0053 24.3981 48.3687 25.0822C48.7321 25.7555 48.9138 26.5411 48.9138 27.4389C48.9138 28.326 48.7321 29.1169 48.3687 29.8116C48.0053 30.5063 47.503 31.0461 46.8617 31.4309C46.2311 31.8156 45.5257 32.008 44.7455 32.008C43.9866 32.008 43.3186 31.8424 42.7415 31.511C42.175 31.1797 41.7475 30.7575 41.4589 30.2445V31.8637H40V20H41.4589V24.7134ZM47.4228 27.4389C47.4228 26.7762 47.2892 26.1991 47.022 25.7074C46.7548 25.2158 46.3914 24.8417 45.9319 24.5852C45.483 24.3287 44.986 24.2004 44.4409 24.2004C43.9065 24.2004 43.4095 24.334 42.9499 24.6012C42.501 24.8577 42.1376 25.2371 41.8597 25.7395C41.5925 26.2311 41.4589 26.8029 41.4589 27.4549C41.4589 28.1176 41.5925 28.7001 41.8597 29.2024C42.1376 29.6941 42.501 30.0735 42.9499 30.3407C43.4095 30.5972 43.9065 30.7255 44.4409 30.7255C44.986 30.7255 45.483 30.5972 45.9319 30.3407C46.3914 30.0735 46.7548 29.6941 47.022 29.2024C47.2892 28.7001 47.4228 28.1122 47.4228 27.4389Z",fill:"white"}),U.jsx("path",{d:"M58.4013 23.0782L53.1107 36H51.6037L53.3352 31.7675L49.7921 23.0782H51.4113L54.1688 30.1964L56.8943 23.0782H58.4013Z",fill:"white"}),U.jsx("path",{d:"M82.5069 29.4482L83.1019 30.0432C82.0255 31.2772 80.4619 31.977 78.8244 31.9576C75.487 31.9576 73.1085 29.3155 73.1085 25.9799C73.1085 22.6442 75.4887 20.0005 78.8244 20.0005C80.3841 19.9792 81.8794 20.6221 82.937 21.7687L82.325 22.3297C81.4236 21.3575 80.1498 20.8168 78.8244 20.8438C75.9495 20.8438 73.9977 23.139 73.9977 25.9799C73.9977 28.8208 75.9495 31.116 78.8244 31.116C80.2383 31.1328 81.587 30.522 82.5069 29.4482Z",fill:"white"}),U.jsx("path",{d:"M84.5811 20.0006H85.3546V31.9389H84.5505L84.5811 20.0006Z",fill:"white"}),U.jsx("path",{d:"M87.5223 21.8027C87.7767 21.8027 88.0061 21.956 88.1034 22.191C88.2008 22.4261 88.147 22.6967 87.9671 22.8766C87.7872 23.0565 87.5166 23.1103 87.2816 23.0129C87.0465 22.9156 86.8932 22.6862 86.8932 22.4318C86.8932 22.0844 87.1749 21.8027 87.5223 21.8027Z",fill:"white"}),U.jsx("path",{d:"M87.1125 24.3647H87.9303V31.9405H87.1125V24.3647Z",fill:"white"}),U.jsx("path",{d:"M95.2732 30.0006L95.8394 30.5362C95.1402 31.4562 94.052 31.9975 92.8965 32C90.756 32 89.197 30.2999 89.197 28.2223C89.197 26.1447 90.756 24.4446 92.8965 24.4446C94.0067 24.4469 95.0576 24.9459 95.7612 25.8047L95.178 26.325C94.6191 25.6407 93.78 25.2468 92.8965 25.2539C91.181 25.2539 90.047 26.6395 90.047 28.2291C90.047 29.8187 91.181 31.2043 92.8965 31.2043C93.8349 31.2033 94.7171 30.7565 95.2732 30.0006Z",fill:"white"}),U.jsx("path",{d:"M97.8217 28.4145V31.9406H97.0175V20.0023H97.8217V28.1204L101.348 24.8867H102.477L98.8111 28.2598L102.834 31.9406H101.642L97.8217 28.4145Z",fill:"white"}),U.jsx("path",{d:"M115.695 22.1836C115.695 22.7056 115.272 23.1288 114.75 23.1288C114.228 23.1288 113.805 22.7056 113.805 22.1836C113.805 21.6615 114.228 21.2383 114.75 21.2383C115.272 21.2383 115.695 21.6615 115.695 22.1836Z",fill:"white"}),U.jsx("path",{d:"M113.805 24.3647H115.693V31.9405H113.805V24.3647Z",fill:"white"}),U.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M124.232 28.8107C124.247 28.5421 124.247 28.2683 124.247 28.1306C124.247 25.9052 122.584 24.3648 120.609 24.3716C118.519 24.3716 116.979 26.048 116.979 28.168C116.979 30.2881 118.672 31.9661 120.869 31.9661C121.922 31.9593 122.942 31.5935 123.759 30.9291L122.844 29.5417C122.299 30.0259 121.591 30.2874 120.862 30.2745C119.718 30.2745 118.97 29.4516 118.834 28.8107H124.232ZM120.602 26.0259C121.807 26.0259 122.385 26.8657 122.416 27.4914H118.834C118.893 26.8504 119.427 26.0259 120.602 26.0259Z",fill:"white"}),U.jsx("path",{d:"M70.0976 25.9629L63.0505 20.0005V31.9269L70.0976 25.9629Z",fill:"white"}),U.jsx("path",{d:"M128.662 31.9014H127.571L124.231 24.3579H126.607L128.164 28.4348L129.816 24.3579H131.229L132.866 28.4348L134.424 24.3579H136.799L133.477 31.9014H132.368L130.524 27.8721L128.662 31.9014Z",fill:"white"}),U.jsx("path",{d:"M108.223 31.961H107.203L101.492 20.0023H104.384L107.686 27.5134L110.76 20.0023H113.635L108.223 31.961Z",fill:"white"}),U.jsx("path",{d:"M43.7774 15.9309C43.0608 15.9309 42.4159 15.8081 41.8426 15.5624C41.2694 15.3065 40.8189 14.9482 40.4914 14.4875C40.1638 14.0269 40 13.4894 40 12.8752H41.8733C41.9143 13.3359 42.0934 13.7147 42.4107 14.0115C42.7383 14.3084 43.1939 14.4568 43.7774 14.4568C44.3813 14.4568 44.8522 14.3135 45.19 14.0269C45.5278 13.73 45.6967 13.3512 45.6967 12.8906C45.6967 12.5323 45.5892 12.2406 45.3743 12.0154C45.1695 11.7901 44.9085 11.6161 44.5912 11.4933C44.2841 11.3704 43.8541 11.2374 43.3013 11.094C42.6052 10.9098 42.0371 10.7255 41.5969 10.5413C41.167 10.3468 40.7985 10.0499 40.4914 9.65067C40.1843 9.25144 40.0307 8.71913 40.0307 8.05374C40.0307 7.43954 40.1843 6.90211 40.4914 6.44146C40.7985 5.98081 41.2284 5.62764 41.7812 5.38196C42.334 5.13628 42.9738 5.01344 43.7006 5.01344C44.7345 5.01344 45.579 5.27447 46.2342 5.79655C46.8996 6.30838 47.2681 7.01471 47.3397 7.91555H45.405C45.3743 7.52655 45.19 7.19386 44.8522 6.91747C44.5144 6.64107 44.0691 6.50288 43.5163 6.50288C43.0147 6.50288 42.6052 6.63084 42.2879 6.88676C41.9706 7.14267 41.8119 7.5112 41.8119 7.99232C41.8119 8.3199 41.9091 8.59117 42.1036 8.80614C42.3084 9.01088 42.5643 9.17466 42.8714 9.2975C43.1785 9.42034 43.5982 9.55342 44.1305 9.69674C44.8369 9.89123 45.4101 10.0857 45.8503 10.2802C46.3007 10.4747 46.6795 10.7767 46.9866 11.1862C47.3039 11.5854 47.4626 12.1228 47.4626 12.7985C47.4626 13.341 47.3141 13.8528 47.0173 14.334C46.7306 14.8151 46.3058 15.2041 45.7428 15.501C45.19 15.7876 44.5349 15.9309 43.7774 15.9309Z",fill:"white"}),U.jsx("path",{d:"M51.5703 8.79079V13.4741C51.5703 13.7914 51.642 14.0218 51.7853 14.1651C51.9388 14.2981 52.1947 14.3647 52.553 14.3647H53.6279V15.8234H52.2459C51.4577 15.8234 50.8537 15.6392 50.434 15.2706C50.0143 14.9021 49.8045 14.3033 49.8045 13.4741V8.79079H48.8064V7.36276H49.8045V5.25912H51.5703V7.36276H53.6279V8.79079H51.5703Z",fill:"white"}),U.jsx("path",{d:"M56.9917 8.59117C57.2476 8.16123 57.5854 7.82853 58.0052 7.59309C58.4351 7.34741 58.9418 7.22457 59.5253 7.22457V9.03647H59.08C58.3942 9.03647 57.8721 9.21049 57.5138 9.55854C57.1657 9.90659 56.9917 10.5106 56.9917 11.3704V15.8234H55.2412V7.36276H56.9917V8.59117Z",fill:"white"}),U.jsx("path",{d:"M68.8887 11.3858C68.8887 11.7031 68.8682 11.9898 68.8273 12.2457H62.3628C62.4139 12.9213 62.6647 13.4639 63.1152 13.8733C63.5656 14.2828 64.1184 14.4875 64.7735 14.4875C65.7153 14.4875 66.3807 14.0934 66.7697 13.3052H68.6583C68.4024 14.0832 67.9367 14.723 67.261 15.2246C66.5956 15.7159 65.7665 15.9616 64.7735 15.9616C63.9648 15.9616 63.238 15.7825 62.5931 15.4242C61.9584 15.0557 61.4568 14.5438 61.0883 13.8887C60.73 13.2233 60.5509 12.4555 60.5509 11.5854C60.5509 10.7153 60.7249 9.95265 61.0729 9.2975C61.4312 8.63212 61.9277 8.12028 62.5624 7.762C63.2073 7.40371 63.9443 7.22457 64.7735 7.22457C65.572 7.22457 66.2834 7.39859 66.9079 7.74664C67.5323 8.09469 68.0186 8.58605 68.3666 9.22073C68.7146 9.84517 68.8887 10.5669 68.8887 11.3858ZM67.0614 10.833C67.0512 10.1881 66.8209 9.67114 66.3704 9.28215C65.92 8.89315 65.3621 8.69866 64.6967 8.69866C64.0928 8.69866 63.5758 8.89315 63.1459 9.28215C62.7159 9.66091 62.46 10.1779 62.3781 10.833H67.0614Z",fill:"white"}),U.jsx("path",{d:"M70.0278 11.5547C70.0278 10.7051 70.2019 9.95265 70.5499 9.2975C70.9082 8.64235 71.3893 8.13564 71.9933 7.77735C72.6075 7.40883 73.2831 7.22457 74.0202 7.22457C74.6855 7.22457 75.2639 7.35765 75.7553 7.6238C76.2569 7.87972 76.6561 8.20218 76.953 8.59117V7.36276H78.7188V15.8234H76.953V14.5643C76.6561 14.9635 76.2518 15.2962 75.7399 15.5624C75.2281 15.8285 74.6446 15.9616 73.9894 15.9616C73.2626 15.9616 72.5973 15.7774 71.9933 15.4088C71.3893 15.0301 70.9082 14.508 70.5499 13.8426C70.2019 13.167 70.0278 12.4044 70.0278 11.5547ZM76.953 11.5854C76.953 11.0019 76.8301 10.4952 76.5844 10.0653C76.349 9.63532 76.0368 9.30774 75.6478 9.08253C75.2588 8.85733 74.8391 8.74472 74.3887 8.74472C73.9383 8.74472 73.5186 8.85733 73.1296 9.08253C72.7406 9.2975 72.4232 9.61996 72.1775 10.0499C71.9421 10.4696 71.8244 10.9712 71.8244 11.5547C71.8244 12.1382 71.9421 12.65 72.1775 13.0902C72.4232 13.5304 72.7406 13.8682 73.1296 14.1036C73.5288 14.3289 73.9485 14.4415 74.3887 14.4415C74.8391 14.4415 75.2588 14.3289 75.6478 14.1036C76.0368 13.8784 76.349 13.5509 76.5844 13.1209C76.8301 12.6807 76.953 12.1689 76.953 11.5854Z",fill:"white"}),U.jsx("path",{d:"M91.2598 7.22457C91.9252 7.22457 92.519 7.36276 93.041 7.63916C93.5733 7.91555 93.9879 8.32502 94.2848 8.86756C94.5919 9.41011 94.7454 10.0653 94.7454 10.833V15.8234H93.0103V11.094C93.0103 10.3365 92.8209 9.75816 92.4422 9.35892C92.0634 8.94946 91.5465 8.74472 90.8913 8.74472C90.2362 8.74472 89.7141 8.94946 89.3251 9.35892C88.9463 9.75816 88.757 10.3365 88.757 11.094V15.8234H87.0218V11.094C87.0218 10.3365 86.8324 9.75816 86.4537 9.35892C86.0749 8.94946 85.558 8.74472 84.9028 8.74472C84.2477 8.74472 83.7256 8.94946 83.3366 9.35892C82.9579 9.75816 82.7685 10.3365 82.7685 11.094V15.8234H81.018V7.36276H82.7685V8.33013C83.0551 7.98209 83.4185 7.71081 83.8587 7.51631C84.2989 7.32182 84.7697 7.22457 85.2713 7.22457C85.947 7.22457 86.5509 7.36788 87.0833 7.65451C87.6156 7.94114 88.025 8.35573 88.3117 8.89827C88.5676 8.38644 88.9668 7.98209 89.5094 7.68522C90.0519 7.37812 90.6354 7.22457 91.2598 7.22457Z",fill:"white"}),U.jsx("path",{d:"M96.3894 11.5547C96.3894 10.7051 96.5634 9.95265 96.9115 9.2975C97.2698 8.64235 97.7509 8.13564 98.3548 7.77735C98.969 7.40883 99.6447 7.22457 100.382 7.22457C101.047 7.22457 101.625 7.35765 102.117 7.6238C102.618 7.87972 103.018 8.20218 103.315 8.59117V7.36276H105.08V15.8234H103.315V14.5643C103.018 14.9635 102.613 15.2962 102.101 15.5624C101.59 15.8285 101.006 15.9616 100.351 15.9616C99.6242 15.9616 98.9588 15.7774 98.3548 15.4088C97.7509 15.0301 97.2698 14.508 96.9115 13.8426C96.5634 13.167 96.3894 12.4044 96.3894 11.5547ZM103.315 11.5854C103.315 11.0019 103.192 10.4952 102.946 10.0653C102.711 9.63532 102.398 9.30774 102.009 9.08253C101.62 8.85733 101.201 8.74472 100.75 8.74472C100.3 8.74472 99.8801 8.85733 99.4911 9.08253C99.1021 9.2975 98.7848 9.61996 98.5391 10.0499C98.3037 10.4696 98.1859 10.9712 98.1859 11.5547C98.1859 12.1382 98.3037 12.65 98.5391 13.0902C98.7848 13.5304 99.1021 13.8682 99.4911 14.1036C99.8904 14.3289 100.31 14.4415 100.75 14.4415C101.201 14.4415 101.62 14.3289 102.009 14.1036C102.398 13.8784 102.711 13.5509 102.946 13.1209C103.192 12.6807 103.315 12.1689 103.315 11.5854Z",fill:"white"}),U.jsx("path",{d:"M109.13 8.62188C109.427 8.21241 109.831 7.87972 110.343 7.6238C110.865 7.35765 111.444 7.22457 112.078 7.22457C112.826 7.22457 113.501 7.40371 114.105 7.762C114.709 8.12028 115.185 8.63212 115.533 9.2975C115.881 9.95265 116.055 10.7051 116.055 11.5547C116.055 12.4044 115.881 13.167 115.533 13.8426C115.185 14.508 114.704 15.0301 114.09 15.4088C113.486 15.7774 112.815 15.9616 112.078 15.9616C111.423 15.9616 110.84 15.8337 110.328 15.5777C109.826 15.3218 109.427 14.9942 109.13 14.595V15.8234H107.38V4.46065H109.13V8.62188ZM114.274 11.5547C114.274 10.9712 114.151 10.4696 113.905 10.0499C113.67 9.61996 113.353 9.2975 112.953 9.08253C112.564 8.85733 112.145 8.74472 111.694 8.74472C111.254 8.74472 110.834 8.85733 110.435 9.08253C110.046 9.30774 109.729 9.63532 109.483 10.0653C109.248 10.4952 109.13 11.0019 109.13 11.5854C109.13 12.1689 109.248 12.6807 109.483 13.1209C109.729 13.5509 110.046 13.8784 110.435 14.1036C110.834 14.3289 111.254 14.4415 111.694 14.4415C112.145 14.4415 112.564 14.3289 112.953 14.1036C113.353 13.8682 113.67 13.5304 113.905 13.0902C114.151 12.65 114.274 12.1382 114.274 11.5547Z",fill:"white"}),U.jsx("path",{d:"M119.537 4.46065V15.8234H117.786V4.46065H119.537Z",fill:"white"}),U.jsx("path",{d:"M129.589 11.3858C129.589 11.7031 129.569 11.9898 129.528 12.2457H123.063C123.115 12.9213 123.365 13.4639 123.816 13.8733C124.266 14.2828 124.819 14.4875 125.474 14.4875C126.416 14.4875 127.081 14.0934 127.47 13.3052H129.359C129.103 14.0832 128.637 14.723 127.962 15.2246C127.296 15.7159 126.467 15.9616 125.474 15.9616C124.665 15.9616 123.939 15.7825 123.294 15.4242C122.659 15.0557 122.157 14.5438 121.789 13.8887C121.431 13.2233 121.251 12.4555 121.251 11.5854C121.251 10.7153 121.425 9.95265 121.774 9.2975C122.132 8.63212 122.628 8.12028 123.263 7.762C123.908 7.40371 124.645 7.22457 125.474 7.22457C126.273 7.22457 126.984 7.39859 127.608 7.74664C128.233 8.09469 128.719 8.58605 129.067 9.22073C129.415 9.84517 129.589 10.5669 129.589 11.3858ZM127.762 10.833C127.752 10.1881 127.521 9.67114 127.071 9.28215C126.621 8.89315 126.063 8.69866 125.397 8.69866C124.793 8.69866 124.276 8.89315 123.846 9.28215C123.417 9.66091 123.161 10.1779 123.079 10.833H127.762Z",fill:"white"}),U.jsx("path",{d:"M137.051 14.4107H140.66V15.8234H135.301V5.15163H137.051V14.4107Z",fill:"white"}),U.jsx("path",{d:"M149.878 11.3858C149.878 11.7031 149.857 11.9898 149.816 12.2457H143.352C143.403 12.9213 143.654 13.4639 144.104 13.8733C144.555 14.2828 145.107 14.4875 145.763 14.4875C146.704 14.4875 147.37 14.0934 147.759 13.3052H149.647C149.392 14.0832 148.926 14.723 148.25 15.2246C147.585 15.7159 146.756 15.9616 145.763 15.9616C144.954 15.9616 144.227 15.7825 143.582 15.4242C142.947 15.0557 142.446 14.5438 142.077 13.8887C141.719 13.2233 141.54 12.4555 141.54 11.5854C141.54 10.7153 141.714 9.95265 142.062 9.2975C142.42 8.63212 142.917 8.12028 143.551 7.762C144.196 7.40371 144.933 7.22457 145.763 7.22457C146.561 7.22457 147.273 7.39859 147.897 7.74664C148.521 8.09469 149.008 8.58605 149.356 9.22073C149.704 9.84517 149.878 10.5669 149.878 11.3858ZM148.051 10.833C148.04 10.1881 147.81 9.67114 147.36 9.28215C146.909 8.89315 146.351 8.69866 145.686 8.69866C145.082 8.69866 144.565 8.89315 144.135 9.28215C143.705 9.66091 143.449 10.1779 143.367 10.833H148.051Z",fill:"white"}),U.jsx("path",{d:"M151.017 11.5547C151.017 10.7051 151.191 9.95265 151.539 9.2975C151.897 8.64235 152.378 8.13564 152.982 7.77735C153.597 7.40883 154.272 7.22457 155.009 7.22457C155.675 7.22457 156.253 7.35765 156.744 7.6238C157.246 7.87972 157.645 8.20218 157.942 8.59117V7.36276H159.708V15.8234H157.942V14.5643C157.645 14.9635 157.241 15.2962 156.729 15.5624C156.217 15.8285 155.634 15.9616 154.979 15.9616C154.252 15.9616 153.586 15.7774 152.982 15.4088C152.378 15.0301 151.897 14.508 151.539 13.8426C151.191 13.167 151.017 12.4044 151.017 11.5547ZM157.942 11.5854C157.942 11.0019 157.819 10.4952 157.574 10.0653C157.338 9.63532 157.026 9.30774 156.637 9.08253C156.248 8.85733 155.828 8.74472 155.378 8.74472C154.927 8.74472 154.508 8.85733 154.119 9.08253C153.73 9.2975 153.412 9.61996 153.167 10.0499C152.931 10.4696 152.813 10.9712 152.813 11.5547C152.813 12.1382 152.931 12.65 153.167 13.0902C153.412 13.5304 153.73 13.8682 154.119 14.1036C154.518 14.3289 154.938 14.4415 155.378 14.4415C155.828 14.4415 156.248 14.3289 156.637 14.1036C157.026 13.8784 157.338 13.5509 157.574 13.1209C157.819 12.6807 157.942 12.1689 157.942 11.5854Z",fill:"white"}),U.jsx("path",{d:"M163.758 8.59117C164.013 8.16123 164.351 7.82853 164.771 7.59309C165.201 7.34741 165.708 7.22457 166.291 7.22457V9.03647H165.846C165.16 9.03647 164.638 9.21049 164.28 9.55854C163.932 9.90659 163.758 10.5106 163.758 11.3704V15.8234H162.007V7.36276H163.758V8.59117Z",fill:"white"}),U.jsx("path",{d:"M172.169 7.22457C172.834 7.22457 173.428 7.36276 173.95 7.63916C174.482 7.91555 174.897 8.32502 175.194 8.86756C175.491 9.41011 175.639 10.0653 175.639 10.833V15.8234H173.904V11.094C173.904 10.3365 173.715 9.75816 173.336 9.35892C172.957 8.94946 172.44 8.74472 171.785 8.74472C171.13 8.74472 170.608 8.94946 170.219 9.35892C169.84 9.75816 169.651 10.3365 169.651 11.094V15.8234H167.9V7.36276H169.651V8.33013C169.937 7.98209 170.301 7.71081 170.741 7.51631C171.191 7.32182 171.667 7.22457 172.169 7.22457Z",fill:"white"}),U.jsx("path",{d:"M178.763 6.24184C178.445 6.24184 178.179 6.13436 177.964 5.91939C177.749 5.70442 177.642 5.43826 177.642 5.12092C177.642 4.80358 177.749 4.53743 177.964 4.32246C178.179 4.10749 178.445 4 178.763 4C179.07 4 179.331 4.10749 179.546 4.32246C179.761 4.53743 179.868 4.80358 179.868 5.12092C179.868 5.43826 179.761 5.70442 179.546 5.91939C179.331 6.13436 179.07 6.24184 178.763 6.24184ZM179.622 7.36276V15.8234H177.872V7.36276H179.622Z",fill:"white"}),U.jsx("path",{d:"M186.189 7.22457C186.855 7.22457 187.449 7.36276 187.971 7.63916C188.503 7.91555 188.918 8.32502 189.214 8.86756C189.511 9.41011 189.66 10.0653 189.66 10.833V15.8234H187.925V11.094C187.925 10.3365 187.735 9.75816 187.356 9.35892C186.978 8.94946 186.461 8.74472 185.806 8.74472C185.15 8.74472 184.628 8.94946 184.239 9.35892C183.861 9.75816 183.671 10.3365 183.671 11.094V15.8234H181.921V7.36276H183.671V8.33013C183.958 7.98209 184.321 7.71081 184.761 7.51631C185.212 7.32182 185.688 7.22457 186.189 7.22457Z",fill:"white"}),U.jsx("path",{d:"M195.301 7.22457C195.956 7.22457 196.535 7.35765 197.036 7.6238C197.548 7.87972 197.948 8.20218 198.234 8.59117V7.36276H200V15.9616C200 16.7396 199.836 17.4306 199.509 18.0345C199.181 18.6488 198.705 19.1299 198.081 19.4779C197.466 19.826 196.729 20 195.869 20C194.723 20 193.771 19.7287 193.013 19.1862C192.256 18.6539 191.826 17.9271 191.724 17.0058H193.459C193.592 17.4459 193.873 17.7991 194.303 18.0653C194.743 18.3417 195.266 18.4798 195.869 18.4798C196.576 18.4798 197.144 18.2649 197.574 17.8349C198.014 17.405 198.234 16.7806 198.234 15.9616V14.5489C197.937 14.9482 197.533 15.286 197.021 15.5624C196.52 15.8285 195.946 15.9616 195.301 15.9616C194.564 15.9616 193.889 15.7774 193.274 15.4088C192.671 15.0301 192.189 14.508 191.831 13.8426C191.483 13.167 191.309 12.4044 191.309 11.5547C191.309 10.7051 191.483 9.95265 191.831 9.2975C192.189 8.64235 192.671 8.13564 193.274 7.77735C193.889 7.40883 194.564 7.22457 195.301 7.22457ZM198.234 11.5854C198.234 11.0019 198.111 10.4952 197.866 10.0653C197.63 9.63532 197.318 9.30774 196.929 9.08253C196.54 8.85733 196.12 8.74472 195.67 8.74472C195.219 8.74472 194.8 8.85733 194.411 9.08253C194.022 9.2975 193.704 9.61996 193.459 10.0499C193.223 10.4696 193.106 10.9712 193.106 11.5547C193.106 12.1382 193.223 12.65 193.459 13.0902C193.704 13.5304 194.022 13.8682 194.411 14.1036C194.81 14.3289 195.23 14.4415 195.67 14.4415C196.12 14.4415 196.54 14.3289 196.929 14.1036C197.318 13.8784 197.63 13.5509 197.866 13.1209C198.111 12.6807 198.234 12.1689 198.234 11.5854Z",fill:"white"}),U.jsx("path",{d:"M16 35.0303C24.301 35.0303 31.0303 28.301 31.0303 20C31.0303 11.699 24.301 4.9697 16 4.9697C7.69899 4.9697 0.969697 11.699 0.969697 20C0.969697 28.301 7.69899 35.0303 16 35.0303Z",fill:"white"}),U.jsx("path",{d:"M32 20C32 11.1634 24.8366 4 16 4C7.16344 4 0 11.1634 0 20C0 28.8366 7.16344 36 16 36C24.8366 36 32 28.8366 32 20ZM31.0303 20C31.0303 28.301 24.301 35.0303 16 35.0303C7.69899 35.0303 0.969697 28.301 0.969697 20C0.969697 11.699 7.69899 4.9697 16 4.9697C24.301 4.9697 31.0303 11.699 31.0303 20Z",fill:"white"}),U.jsx("path",{d:"M31.0303 20C31.0303 21.6065 30.7777 23.154 30.3112 24.6057C30.1657 23.5728 29.8371 22.081 29.0937 20.4396C28.2015 18.4695 25.4 15.6162 23.5084 13.8262C24.7932 14.0466 26.0593 14.331 27.2726 14.7979C28.4437 15.2492 29.5986 15.9265 30.6792 16.7562C30.909 17.8012 31.0303 18.8862 31.0303 20Z",fill:"#ADE1F9"}),U.jsx("path",{d:"M16.736 22.9957C16.2249 22.9307 15.7149 22.8658 15.208 22.7942C11.9545 22.3336 8.69926 21.5409 5.83833 19.9247C3.92495 18.8437 2.495 17.5914 1.47352 16.1283V16.1266C1.49183 16.0585 1.51015 15.9911 1.52881 15.9234C1.76344 15.151 2.79979 12.4584 5.82762 12.6253C6.55158 12.6651 9.33959 12.9985 9.73042 16.2548C9.7591 16.4936 9.78675 16.7327 9.83271 16.9691C10.4402 20.0971 13.9045 21.8377 16.5781 22.9328C16.6306 22.9542 16.6835 22.9746 16.736 22.9957Z",fill:"#E1FAE1"}),U.jsx("path",{d:"M30.6792 16.7562C29.5986 15.9265 28.4437 15.2492 27.2726 14.7979C26.0593 14.331 24.7932 14.0466 23.5084 13.8262C20.6869 13.3413 17.7769 13.1644 15.1554 12.0361C13.788 11.4473 12.47 10.5402 11.847 9.18834C11.2519 7.89835 11.2702 6.78736 11.6794 5.85538C11.7616 5.66808 11.9247 5.52744 12.1224 5.47491C13.3595 5.14559 14.6589 4.9697 16 4.9697C21.3213 4.9697 25.9975 7.73525 28.668 11.9079C29.6045 13.3704 30.2942 15.0066 30.6792 16.7562Z",fill:"#32B3EF"}),U.jsx("path",{d:"M27.7495 29.3734C24.9746 32.847 20.6917 35.0635 15.8922 35.0296C7.6052 34.9716 0.958275 28.2659 0.969678 19.9786C0.971406 18.6475 1.14696 17.3571 1.47352 16.1283C2.495 17.5914 3.92495 18.8437 5.83833 19.9247C8.69926 21.5409 11.9545 22.3336 15.208 22.7942C15.7149 22.8658 16.2249 22.9307 16.736 22.9957C19.2213 23.3109 21.7253 23.6253 23.9542 24.7342C25.6226 25.5643 27.1033 27.0015 27.8407 28.675C27.9427 28.9066 27.9078 29.1754 27.7495 29.3734Z",fill:"#5ABD5E"})]})}function f4e(){return U.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[U.jsx("path",{d:"M20 38.7879C30.3763 38.7879 38.7879 30.3763 38.7879 20C38.7879 9.62374 30.3763 1.21212 20 1.21212C9.62374 1.21212 1.21212 9.62374 1.21212 20C1.21212 30.3763 9.62374 38.7879 20 38.7879Z",fill:"white"}),U.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20ZM38.7879 20C38.7879 30.3763 30.3763 38.7879 20 38.7879C9.62374 38.7879 1.21212 30.3763 1.21212 20C1.21212 9.62374 9.62374 1.21212 20 1.21212C30.3763 1.21212 38.7879 9.62374 38.7879 20Z",fill:"white"}),U.jsx("path",{d:"M38.7879 20C38.7879 22.0082 38.4721 23.9425 37.889 25.7571C37.7071 24.466 37.2963 22.6012 36.3672 20.5494C35.2519 18.0869 31.75 14.5202 29.3855 12.2827C30.9915 12.5583 32.5742 12.9138 34.0908 13.4974C35.5547 14.0615 36.9983 14.9081 38.349 15.9452C38.6362 17.2515 38.7879 18.6078 38.7879 20Z",fill:"#ADE1F9"}),U.jsx("path",{d:"M20.92 23.7446C20.2812 23.6634 19.6436 23.5822 19.0099 23.4928C14.9431 22.917 10.8741 21.9261 7.29792 19.9058C4.90618 18.5547 3.11875 16.9893 1.84189 15.1604V15.1582C1.86479 15.0731 1.88768 14.9889 1.91101 14.9042C2.2043 13.9388 3.49974 10.573 7.28453 10.7817C8.18947 10.8313 11.6745 11.2482 12.163 15.3185C12.1989 15.617 12.2334 15.9159 12.2909 16.2113C13.0503 20.1214 17.3806 22.2971 20.7226 23.666C20.7883 23.6928 20.8544 23.7183 20.92 23.7446Z",fill:"#E1FAE1"}),U.jsx("path",{d:"M38.349 15.9452C36.9983 14.9081 35.5547 14.0615 34.0908 13.4974C32.5742 12.9138 30.9915 12.5583 29.3855 12.2827C25.8586 11.6767 22.2211 11.4555 18.9443 10.0452C17.235 9.30911 15.5875 8.17523 14.8087 6.48543C14.0649 4.87294 14.0878 3.4842 14.5992 2.31922C14.702 2.0851 14.9059 1.9093 15.153 1.84364C16.6994 1.43199 18.3236 1.21212 20 1.21212C26.6517 1.21212 32.4969 4.66906 35.835 9.88491C37.0056 11.7129 37.8678 13.7583 38.349 15.9452Z",fill:"#32B3EF"}),U.jsx("path",{d:"M34.6869 31.7168C31.2183 36.0588 25.8646 38.8293 19.8652 38.787C9.5065 38.7144 1.19784 30.3324 1.2121 19.9732C1.21426 18.3093 1.4337 16.6964 1.84189 15.1604C3.11875 16.9893 4.90618 18.5547 7.29792 19.9058C10.8741 21.9261 14.9431 22.917 19.0099 23.4928C19.6436 23.5822 20.2812 23.6634 20.92 23.7446C24.0267 24.1386 27.1566 24.5316 29.9427 25.9178C32.0282 26.9553 33.8791 28.7518 34.8009 30.8438C34.9283 31.1332 34.8847 31.4693 34.6869 31.7168Z",fill:"#5ABD5E"})]})}function d4e(){return U.jsxs("div",{className:`${gQ.logoContainer} d-flex align-items-center`,children:[U.jsx("div",{className:"d-none d-sm-block h-100",children:U.jsx(c4e,{})}),U.jsx("div",{className:`${gQ.iconLogo} d-block d-sm-none`,children:U.jsx(f4e,{})})]})}const h4e="_banner_1q8e9_1",p4e={banner:h4e},mQ="shared.streamableTrialBanner",v4e=30;function g4e(){const{policyEndTime:e,isLoadingSettings:t}=Y3(null),r=Xt.useMemo(()=>{if(t)return 0;const n=new Date(e),i=new Date;return Math.max(xo.diffBetween(n,i,"day"),0)+1},[t,e]);return t?U.jsx(U.Fragment,{}):U.jsx("div",{className:`bg-light-green d-none d-md-block text-center ${p4e.banner}`,children:U.jsx(U.Fragment,{children:U.jsx("span",{className:"py-3 mb-0 d-inline-block h6",children:r<=v4e?U.jsx(yn,{namespace:mQ,phrase:"endTime",options:{smartCount:r}}):U.jsx(yn,{namespace:mQ,phrase:"endDate",options:{endDate:xo.format(e,"Do MMMM")}})})})})}var moe=(e=>(e.StreamableViewTrialBanner="sl.trial.banner.view",e.ClickViewViewTrialBanner="cv.trial.banner.view",e))(moe||{});function m4e(){var n;const e=Qi(oi.currentUser()),t=Qi(e.hasCompleted&&((n=e.data)==null?void 0:n.isAuthenticated)&&oi.accessPolicy());function r(i){var a,s;return t.data?(((s=(a=t.data)==null?void 0:a.permissions)==null?void 0:s.additional)??[]).includes(i):!1}return{isLoaded:e.hasCompleted&&t.hasCompleted,accessPolicy:t.data,policyHasOption:r}}const y4e=()=>{var i;const e=Qi(oi.currentUser()),t=Qi(((i=e.data)==null?void 0:i.isAuthenticated)&&m3.userProducts()),r=!t.hasCompleted;return{hasProduct:o=>{var a;return r||t.hasError||!((a=t.data)!=null&&a.length)?!1:t.data.some(s=>s.id===o)},products:t,isLoadingProducts:r}};var yI=(e=>(e.Static="Static",e.Timed="Timed",e.Cft="Cft",e))(yI||{});function _4e(){const{hasPermissions:e,isLoaded:t}=Av(),{policyHasOption:r,accessPolicy:n,isLoaded:i}=m4e(),{hasProduct:o}=y4e(),{policyEndTime:a,isLoadingSettings:s,inviteColleague:l}=Y3(null),c=Xt.useMemo(()=>{if(s)return 0;const E=new Date(a),_=new Date;return Math.max(xo.diffBetween(E,_,"day"),0)+1},[s,a]),d=e(Ws.ViewTrialBanner)||r(moe.StreamableViewTrialBanner),h=o(Ro.StreamableLearning)&&!s&&i&&d&&!e(Ws.StudentExperience),p=[yI.Timed,yI.Cft].includes(n==null?void 0:n.type),g=e(Ws.ViewTrialUpgrade),S=l&&e(Ws.ViewInviteColleague);return{showBanner:h,viewTrialDuration:p,viewTrialUpgrade:g,viewInviteColleague:S,daysLeft:c,hasLoaded:!s&&t&&i}}function S4e(){const{showBanner:e,hasLoaded:t,viewTrialDuration:r}=_4e();function n(){return t&&e&&r?"trial":"none"}return n()==="trial"?U.jsx(g4e,{}):U.jsx(U.Fragment,{})}const E4e="streamableShared.header",w4e=_r.encloseNamespace(E4e);function b4e({showNav:e}){const t=Qi(Ks.config()),r=Qi(oi.currentUser());return function(){return!r.hasCompleted||!t.hasCompleted?[]:r.data.isAuthenticated?e?[{label:w4e("settings"),order:10,appLink:{application:ur.SETTINGS,action:Cr.Settings.HOME},analyticsData:{url:Fn.getHref({application:ur.SETTINGS,action:Cr.Settings.HOME})},analyticsOptions:{location:aa.UserOptions,actionType:It.Click,entity:dn.Url}}]:[]:[]}}var jx={},Ux,yQ;function C4e(){if(yQ)return Ux;yQ=1;function e(t,r){if(t===r)return!0;if(!t||!r)return!1;var n=t.length;if(r.length!==n)return!1;for(var i=0;i<n;i++)if(t[i]!==r[i])return!1;return!0}return Ux=e,Ux}var qx={},Vx,_Q;function T4e(){if(_Q)return Vx;_Q=1;var e=(function(){function t(r,n){var i=[],o=!0,a=!1,s=void 0;try{for(var l=r[Symbol.iterator](),c;!(o=(c=l.next()).done)&&(i.push(c.value),!(n&&i.length===n));o=!0);}catch(d){a=!0,s=d}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}return i}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();return Vx=function(t){var r=t.data,n=t.multiSection;function i(c){for(c===null?c=0:c++;c<r.length&&r[c]===0;)c++;return c===r.length?null:c}function o(c){for(c===null?c=r.length-1:c--;c>=0&&r[c]===0;)c--;return c===-1?null:c}function a(c){var d=e(c,2),h=d[0],p=d[1];return n?p===null||p===r[h]-1?(h=i(h),h===null?[null,null]:[h,0]):[h,p+1]:r===0||p===r-1?[null,null]:p===null?[null,0]:[null,p+1]}function s(c){var d=e(c,2),h=d[0],p=d[1];return n?p===null||p===0?(h=o(h),h===null?[null,null]:[h,r[h]-1]):[h,p-1]:r===0||p===0?[null,null]:p===null?[null,r-1]:[null,p-1]}function l(c){return a(c)[1]===null}return{next:a,prev:s,isLast:l}},Vx}var qg={exports:{}},Hx,SQ;function A4e(){if(SQ)return Hx;SQ=1;var e=Object.prototype.propertyIsEnumerable;function t(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function r(n){var i=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n))),i.filter(function(o){return e.call(n,o)})}return Hx=Object.assign||function(n,i){for(var o,a,s=t(n),l=1;l<arguments.length;l++){o=arguments[l],a=r(Object(o));for(var c=0;c<a.length;c++)s[a[c]]=o[a[c]]}return s},Hx}var EQ;function R4e(){return EQ||(EQ=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function l(c,d){var h=[],p=!0,g=!1,S=void 0;try{for(var E=c[Symbol.iterator](),_;!(p=(_=E.next()).done)&&(h.push(_.value),!(d&&h.length===d));p=!0);}catch(w){g=!0,S=w}finally{try{!p&&E.return&&E.return()}finally{if(g)throw S}}return h}return function(c,d){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return l(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function n(l){return l&&l.__esModule?l:{default:l}}function i(l){if(Array.isArray(l)){for(var c=0,d=Array(l.length);c<l.length;c++)d[c]=l[c];return d}else return Array.from(l)}var o=A4e(),a=n(o),s=function(c){return c};t.default=function(l){var c=Array.isArray(l)&&l.length===2?l:[l,null],d=r(c,2),h=d[0],p=d[1];return function(g){for(var S=arguments.length,E=Array(S>1?S-1:0),_=1;_<S;_++)E[_-1]=arguments[_];var w=E.map(function(b){return h[b]}).filter(s);return typeof w[0]=="string"||typeof p=="function"?{key:g,className:p?p.apply(void 0,i(w)):w.join(" ")}:{key:g,style:a.default.apply(void 0,[{}].concat(i(w)))}}},e.exports=t.default})(qg,qg.exports)),qg.exports}var Bx={},zx={},wQ;function X3(){return wQ||(wQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(o){return typeof o}:t=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(n)}function r(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n===i)return!1;var a=Object.keys(n),s=Object.keys(i);if(a.length!==s.length)return!0;var l={},c,d;for(c=0,d=o.length;c<d;c++)l[o[c]]=!0;for(c=0,d=a.length;c<d;c++){var h=a[c],p=n[h],g=i[h];if(p!==g){if(!l[h]||p===null||g===null||t(p)!=="object"||t(g)!=="object")return!0;var S=Object.keys(p),E=Object.keys(g);if(S.length!==E.length)return!0;for(var _=0,w=S.length;_<w;_++){var b=S[_];if(p[b]!==g[b])return!0}}}return!1}})(zx)),zx}var bQ;function x4e(){return bQ||(bQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Mo()),r=i(Rf()),n=i(X3());function i(A){return A&&A.__esModule?A:{default:A}}function o(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return o=function(){return A},A}function a(A){if(A&&A.__esModule)return A;if(A===null||s(A)!=="object"&&typeof A!="function")return{default:A};var R=o();if(R&&R.has(A))return R.get(A);var O={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in A)if(Object.prototype.hasOwnProperty.call(A,k)){var D=m?Object.getOwnPropertyDescriptor(A,k):null;D&&(D.get||D.set)?Object.defineProperty(O,k,D):O[k]=A[k]}return O.default=A,R&&R.set(A,O),O}function s(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(O){return typeof O}:s=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},s(A)}function l(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function c(A,R){for(var O=0;O<R.length;O++){var m=R[O];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(A,m.key,m)}}function d(A,R,O){return R&&c(A.prototype,R),A}function h(A){return function(){var R=E(A),O;if(S()){var m=E(this).constructor;O=Reflect.construct(R,arguments,m)}else O=R.apply(this,arguments);return p(this,O)}}function p(A,R){return R&&(s(R)==="object"||typeof R=="function")?R:g(A)}function g(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function E(A){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},E(A)}function _(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),R&&w(A,R)}function w(A,R){return w=Object.setPrototypeOf||function(m,k){return m.__proto__=k,m},w(A,R)}function b(A,R,O){return R in A?Object.defineProperty(A,R,{value:O,enumerable:!0,configurable:!0,writable:!0}):A[R]=O,A}var x=(function(A){_(O,A);var R=h(O);function O(){return l(this,O),R.apply(this,arguments)}return d(O,[{key:"shouldComponentUpdate",value:function(k){return(0,n.default)(k,this.props)}},{key:"render",value:function(){var k=this.props,D=k.section,V=k.renderSectionTitle,F=k.theme,G=k.sectionKeyPrefix,Y=V(D);return Y?t.default.createElement("div",F("".concat(G,"title"),"sectionTitle"),Y):null}}]),O})(t.Component);e.default=x,b(x,"propTypes",{section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired})})(Bx)),Bx}var Wx={},Gx={},CQ;function O4e(){return CQ||(CQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Mo()),r=i(Rf()),n=i(X3());function i(D){return D&&D.__esModule?D:{default:D}}function o(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return o=function(){return D},D}function a(D){if(D&&D.__esModule)return D;if(D===null||s(D)!=="object"&&typeof D!="function")return{default:D};var V=o();if(V&&V.has(D))return V.get(D);var F={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in D)if(Object.prototype.hasOwnProperty.call(D,Y)){var X=G?Object.getOwnPropertyDescriptor(D,Y):null;X&&(X.get||X.set)?Object.defineProperty(F,Y,X):F[Y]=D[Y]}return F.default=D,V&&V.set(D,F),F}function s(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(F){return typeof F}:s=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},s(D)}function l(){return l=Object.assign||function(D){for(var V=1;V<arguments.length;V++){var F=arguments[V];for(var G in F)Object.prototype.hasOwnProperty.call(F,G)&&(D[G]=F[G])}return D},l.apply(this,arguments)}function c(D,V){var F=Object.keys(D);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(D);V&&(G=G.filter(function(Y){return Object.getOwnPropertyDescriptor(D,Y).enumerable})),F.push.apply(F,G)}return F}function d(D){for(var V=1;V<arguments.length;V++){var F=arguments[V]!=null?arguments[V]:{};V%2?c(Object(F),!0).forEach(function(G){m(D,G,F[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(F)):c(Object(F)).forEach(function(G){Object.defineProperty(D,G,Object.getOwnPropertyDescriptor(F,G))})}return D}function h(D,V){if(D==null)return{};var F=p(D,V),G,Y;if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(D);for(Y=0;Y<X.length;Y++)G=X[Y],!(V.indexOf(G)>=0)&&Object.prototype.propertyIsEnumerable.call(D,G)&&(F[G]=D[G])}return F}function p(D,V){if(D==null)return{};var F={},G=Object.keys(D),Y,X;for(X=0;X<G.length;X++)Y=G[X],!(V.indexOf(Y)>=0)&&(F[Y]=D[Y]);return F}function g(D,V){if(!(D instanceof V))throw new TypeError("Cannot call a class as a function")}function S(D,V){for(var F=0;F<V.length;F++){var G=V[F];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(D,G.key,G)}}function E(D,V,F){return V&&S(D.prototype,V),D}function _(D){return function(){var V=A(D),F;if(x()){var G=A(this).constructor;F=Reflect.construct(V,arguments,G)}else F=V.apply(this,arguments);return w(this,F)}}function w(D,V){return V&&(s(V)==="object"||typeof V=="function")?V:b(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(D){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},A(D)}function R(D,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(V&&V.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),V&&O(D,V)}function O(D,V){return O=Object.setPrototypeOf||function(G,Y){return G.__proto__=Y,G},O(D,V)}function m(D,V,F){return V in D?Object.defineProperty(D,V,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[V]=F,D}var k=(function(D){R(F,D);var V=_(F);function F(){var G;g(this,F);for(var Y=arguments.length,X=new Array(Y),J=0;J<Y;J++)X[J]=arguments[J];return G=V.call.apply(V,[this].concat(X)),m(b(G),"storeItemReference",function(Z){Z!==null&&(G.item=Z)}),m(b(G),"onMouseEnter",function(Z){var ue=G.props,H=ue.sectionIndex,L=ue.itemIndex;G.props.onMouseEnter(Z,{sectionIndex:H,itemIndex:L})}),m(b(G),"onMouseLeave",function(Z){var ue=G.props,H=ue.sectionIndex,L=ue.itemIndex;G.props.onMouseLeave(Z,{sectionIndex:H,itemIndex:L})}),m(b(G),"onMouseDown",function(Z){var ue=G.props,H=ue.sectionIndex,L=ue.itemIndex;G.props.onMouseDown(Z,{sectionIndex:H,itemIndex:L})}),m(b(G),"onClick",function(Z){var ue=G.props,H=ue.sectionIndex,L=ue.itemIndex;G.props.onClick(Z,{sectionIndex:H,itemIndex:L})}),G}return E(F,[{key:"shouldComponentUpdate",value:function(Y){return(0,n.default)(Y,this.props,["renderItemData"])}},{key:"render",value:function(){var Y=this.props,X=Y.isHighlighted,J=Y.item,Z=Y.renderItem,ue=Y.renderItemData,H=h(Y,["isHighlighted","item","renderItem","renderItemData"]);return delete H.sectionIndex,delete H.itemIndex,typeof H.onMouseEnter=="function"&&(H.onMouseEnter=this.onMouseEnter),typeof H.onMouseLeave=="function"&&(H.onMouseLeave=this.onMouseLeave),typeof H.onMouseDown=="function"&&(H.onMouseDown=this.onMouseDown),typeof H.onClick=="function"&&(H.onClick=this.onClick),t.default.createElement("li",l({role:"option"},H,{ref:this.storeItemReference}),Z(J,d({isHighlighted:X},ue)))}}]),F})(t.Component);e.default=k,m(k,"propTypes",{sectionIndex:r.default.number,isHighlighted:r.default.bool.isRequired,itemIndex:r.default.number.isRequired,item:r.default.any.isRequired,renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onMouseDown:r.default.func,onClick:r.default.func})})(Gx)),Gx}var TQ;function I4e(){return TQ||(TQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(Mo()),r=o(Rf()),n=o(O4e()),i=o(X3());function o(k){return k&&k.__esModule?k:{default:k}}function a(){if(typeof WeakMap!="function")return null;var k=new WeakMap;return a=function(){return k},k}function s(k){if(k&&k.__esModule)return k;if(k===null||l(k)!=="object"&&typeof k!="function")return{default:k};var D=a();if(D&&D.has(k))return D.get(k);var V={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in k)if(Object.prototype.hasOwnProperty.call(k,G)){var Y=F?Object.getOwnPropertyDescriptor(k,G):null;Y&&(Y.get||Y.set)?Object.defineProperty(V,G,Y):V[G]=k[G]}return V.default=k,D&&D.set(k,V),V}function l(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(V){return typeof V}:l=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},l(k)}function c(){return c=Object.assign||function(k){for(var D=1;D<arguments.length;D++){var V=arguments[D];for(var F in V)Object.prototype.hasOwnProperty.call(V,F)&&(k[F]=V[F])}return k},c.apply(this,arguments)}function d(k,D){var V=Object.keys(k);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(k);D&&(F=F.filter(function(G){return Object.getOwnPropertyDescriptor(k,G).enumerable})),V.push.apply(V,F)}return V}function h(k){for(var D=1;D<arguments.length;D++){var V=arguments[D]!=null?arguments[D]:{};D%2?d(Object(V),!0).forEach(function(F){O(k,F,V[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(V)):d(Object(V)).forEach(function(F){Object.defineProperty(k,F,Object.getOwnPropertyDescriptor(V,F))})}return k}function p(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function g(k,D){for(var V=0;V<D.length;V++){var F=D[V];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(k,F.key,F)}}function S(k,D,V){return D&&g(k.prototype,D),k}function E(k){return function(){var D=x(k),V;if(b()){var F=x(this).constructor;V=Reflect.construct(D,arguments,F)}else V=D.apply(this,arguments);return _(this,V)}}function _(k,D){return D&&(l(D)==="object"||typeof D=="function")?D:w(k)}function w(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(k){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(V){return V.__proto__||Object.getPrototypeOf(V)},x(k)}function A(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),D&&R(k,D)}function R(k,D){return R=Object.setPrototypeOf||function(F,G){return F.__proto__=G,F},R(k,D)}function O(k,D,V){return D in k?Object.defineProperty(k,D,{value:V,enumerable:!0,configurable:!0,writable:!0}):k[D]=V,k}var m=(function(k){A(V,k);var D=E(V);function V(){var F;p(this,V);for(var G=arguments.length,Y=new Array(G),X=0;X<G;X++)Y[X]=arguments[X];return F=D.call.apply(D,[this].concat(Y)),O(w(F),"storeHighlightedItemReference",function(J){F.props.onHighlightedItemChange(J===null?null:J.item)}),F}return S(V,[{key:"shouldComponentUpdate",value:function(G){return(0,i.default)(G,this.props,["itemProps"])}},{key:"render",value:function(){var G=this,Y=this.props,X=Y.items,J=Y.itemProps,Z=Y.renderItem,ue=Y.renderItemData,H=Y.sectionIndex,L=Y.highlightedItemIndex,j=Y.getItemId,te=Y.theme,ee=Y.keyPrefix,de=H===null?ee:"".concat(ee,"section-").concat(H,"-"),Se=typeof J=="function";return t.default.createElement("ul",c({role:"listbox"},te("".concat(de,"items-list"),"itemsList")),X.map(function(Ae,se){var I=se===0,P=se===L,q="".concat(de,"item-").concat(se),N=Se?J({sectionIndex:H,itemIndex:se}):J,B=h({id:j(H,se),"aria-selected":P},te(q,"item",I&&"itemFirst",P&&"itemHighlighted"),{},N);return P&&(B.ref=G.storeHighlightedItemReference),t.default.createElement(n.default,c({},B,{sectionIndex:H,isHighlighted:P,itemIndex:se,item:Ae,renderItem:Z,renderItemData:ue}))}))}}]),V})(t.Component);e.default=m,O(m,"propTypes",{items:r.default.array.isRequired,itemProps:r.default.oneOfType([r.default.object,r.default.func]),renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,sectionIndex:r.default.number,highlightedItemIndex:r.default.number,onHighlightedItemChange:r.default.func.isRequired,getItemId:r.default.func.isRequired,theme:r.default.func.isRequired,keyPrefix:r.default.string.isRequired}),O(m,"defaultProps",{sectionIndex:null})})(Wx)),Wx}var AQ;function P4e(){return AQ||(AQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(Mo()),r=s(Rf()),n=s(T4e()),i=s(R4e()),o=s(x4e()),a=s(I4e());function s(L){return L&&L.__esModule?L:{default:L}}function l(){if(typeof WeakMap!="function")return null;var L=new WeakMap;return l=function(){return L},L}function c(L){if(L&&L.__esModule)return L;if(L===null||b(L)!=="object"&&typeof L!="function")return{default:L};var j=l();if(j&&j.has(L))return j.get(L);var te={},ee=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var de in L)if(Object.prototype.hasOwnProperty.call(L,de)){var Se=ee?Object.getOwnPropertyDescriptor(L,de):null;Se&&(Se.get||Se.set)?Object.defineProperty(te,de,Se):te[de]=L[de]}return te.default=L,j&&j.set(L,te),te}function d(L,j){var te=Object.keys(L);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(L);j&&(ee=ee.filter(function(de){return Object.getOwnPropertyDescriptor(L,de).enumerable})),te.push.apply(te,ee)}return te}function h(L){for(var j=1;j<arguments.length;j++){var te=arguments[j]!=null?arguments[j]:{};j%2?d(Object(te),!0).forEach(function(ee){Y(L,ee,te[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(te)):d(Object(te)).forEach(function(ee){Object.defineProperty(L,ee,Object.getOwnPropertyDescriptor(te,ee))})}return L}function p(L,j){return w(L)||_(L,j)||S(L,j)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
153
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(L,j){if(L){if(typeof L=="string")return E(L,j);var te=Object.prototype.toString.call(L).slice(8,-1);if(te==="Object"&&L.constructor&&(te=L.constructor.name),te==="Map"||te==="Set")return Array.from(te);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return E(L,j)}}function E(L,j){(j==null||j>L.length)&&(j=L.length);for(var te=0,ee=new Array(j);te<j;te++)ee[te]=L[te];return ee}function _(L,j){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(L)))){var te=[],ee=!0,de=!1,Se=void 0;try{for(var Ae=L[Symbol.iterator](),se;!(ee=(se=Ae.next()).done)&&(te.push(se.value),!(j&&te.length===j));ee=!0);}catch(I){de=!0,Se=I}finally{try{!ee&&Ae.return!=null&&Ae.return()}finally{if(de)throw Se}}return te}}function w(L){if(Array.isArray(L))return L}function b(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(te){return typeof te}:b=function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te},b(L)}function x(L,j){if(!(L instanceof j))throw new TypeError("Cannot call a class as a function")}function A(L,j){for(var te=0;te<j.length;te++){var ee=j[te];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(L,ee.key,ee)}}function R(L,j,te){return j&&A(L.prototype,j),L}function O(L){return function(){var j=V(L),te;if(D()){var ee=V(this).constructor;te=Reflect.construct(j,arguments,ee)}else te=j.apply(this,arguments);return m(this,te)}}function m(L,j){return j&&(b(j)==="object"||typeof j=="function")?j:k(L)}function k(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function D(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(L){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(te){return te.__proto__||Object.getPrototypeOf(te)},V(L)}function F(L,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(j&&j.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),j&&G(L,j)}function G(L,j){return G=Object.setPrototypeOf||function(ee,de){return ee.__proto__=de,ee},G(L,j)}function Y(L,j,te){return j in L?Object.defineProperty(L,j,{value:te,enumerable:!0,configurable:!0,writable:!0}):L[j]=te,L}var X={},J=function(j){return t.default.createElement("input",j)},Z=function(j){var te=j.containerProps,ee=j.children;return t.default.createElement("div",te,ee)},ue={container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"},H=(function(L){F(te,L);var j=O(te);function te(ee){var de;return x(this,te),de=j.call(this,ee),Y(k(de),"storeInputReference",function(Se){Se!==null&&(de.input=Se);var Ae=de.props.inputProps.ref;Ae&&(typeof Ae=="function"?Ae(Se):b(Ae)==="object"&&Object.prototype.hasOwnProperty.call(Ae,"current")&&(Ae.current=Se))}),Y(k(de),"storeItemsContainerReference",function(Se){Se!==null&&(de.itemsContainer=Se)}),Y(k(de),"onHighlightedItemChange",function(Se){de.highlightedItem=Se}),Y(k(de),"getItemId",function(Se,Ae){if(Ae===null)return null;var se=de.props.id,I=Se===null?"":"section-".concat(Se);return"react-autowhatever-".concat(se,"-").concat(I,"-item-").concat(Ae)}),Y(k(de),"onFocus",function(Se){var Ae=de.props.inputProps;de.setState({isInputFocused:!0}),Ae.onFocus&&Ae.onFocus(Se)}),Y(k(de),"onBlur",function(Se){var Ae=de.props.inputProps;de.setState({isInputFocused:!1}),Ae.onBlur&&Ae.onBlur(Se)}),Y(k(de),"onKeyDown",function(Se){var Ae=de.props,se=Ae.inputProps,I=Ae.highlightedSectionIndex,P=Ae.highlightedItemIndex,q=Se.keyCode;switch(q){case 40:case 38:{var N=q===40?"next":"prev",B=de.sectionIterator[N]([I,P]),re=p(B,2),ce=re[0],we=re[1];se.onKeyDown(Se,{newHighlightedSectionIndex:ce,newHighlightedItemIndex:we});break}default:se.onKeyDown(Se,{highlightedSectionIndex:I,highlightedItemIndex:P})}}),de.highlightedItem=null,de.state={isInputFocused:!1},de.setSectionsItems(ee),de.setSectionIterator(ee),de.setTheme(ee),de}return R(te,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(de){de.items!==this.props.items&&this.setSectionsItems(de),(de.items!==this.props.items||de.multiSection!==this.props.multiSection)&&this.setSectionIterator(de),de.theme!==this.props.theme&&this.setTheme(de)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(de){de.multiSection&&(this.sectionsItems=de.items.map(function(Se){return de.getSectionItems(Se)}),this.sectionsLengths=this.sectionsItems.map(function(Se){return Se.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(Se){return Se===0}))}},{key:"setSectionIterator",value:function(de){this.sectionIterator=(0,n.default)({multiSection:de.multiSection,data:de.multiSection?this.sectionsLengths:de.items.length})}},{key:"setTheme",value:function(de){this.theme=(0,i.default)(de.theme)}},{key:"renderSections",value:function(){var de=this;if(this.allSectionsAreEmpty)return null;var Se=this.theme,Ae=this.props,se=Ae.id,I=Ae.items,P=Ae.renderItem,q=Ae.renderItemData,N=Ae.renderSectionTitle,B=Ae.highlightedSectionIndex,re=Ae.highlightedItemIndex,ce=Ae.itemProps;return I.map(function(we,_e){var Oe="react-autowhatever-".concat(se,"-"),Te="".concat(Oe,"section-").concat(_e,"-"),Ie=_e===0;return t.default.createElement("div",Se("".concat(Te,"container"),"sectionContainer",Ie&&"sectionContainerFirst"),t.default.createElement(o.default,{section:we,renderSectionTitle:N,theme:Se,sectionKeyPrefix:Te}),t.default.createElement(a.default,{items:de.sectionsItems[_e],itemProps:ce,renderItem:P,renderItemData:q,sectionIndex:_e,highlightedItemIndex:B===_e?re:null,onHighlightedItemChange:de.onHighlightedItemChange,getItemId:de.getItemId,theme:Se,keyPrefix:Oe,ref:de.storeItemsListReference}))})}},{key:"renderItems",value:function(){var de=this.props.items;if(de.length===0)return null;var Se=this.theme,Ae=this.props,se=Ae.id,I=Ae.renderItem,P=Ae.renderItemData,q=Ae.highlightedSectionIndex,N=Ae.highlightedItemIndex,B=Ae.itemProps;return t.default.createElement(a.default,{items:de,itemProps:B,renderItem:I,renderItemData:P,highlightedItemIndex:q===null?N:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:Se,keyPrefix:"react-autowhatever-".concat(se,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var de=this.highlightedItem;if(de){var Se=this.itemsContainer,Ae=de.offsetParent===Se?de.offsetTop:de.offsetTop-Se.offsetTop,se=Se.scrollTop;Ae<se?se=Ae:Ae+de.offsetHeight>se+Se.offsetHeight&&(se=Ae+de.offsetHeight-Se.offsetHeight),se!==Se.scrollTop&&(Se.scrollTop=se)}}},{key:"render",value:function(){var de=this.theme,Se=this.props,Ae=Se.id,se=Se.multiSection,I=Se.renderInputComponent,P=Se.renderItemsContainer,q=Se.highlightedSectionIndex,N=Se.highlightedItemIndex,B=this.state.isInputFocused,re=se?this.renderSections():this.renderItems(),ce=re!==null,we=this.getItemId(q,N),_e="react-autowhatever-".concat(Ae),Oe=h({role:"combobox","aria-haspopup":"listbox","aria-owns":_e,"aria-expanded":ce},de("react-autowhatever-".concat(Ae,"-container"),"container",ce&&"containerOpen"),{},this.props.containerProps),Te=I(h({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":_e,"aria-activedescendant":we},de("react-autowhatever-".concat(Ae,"-input"),"input",ce&&"inputOpen",B&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),Ie=P({containerProps:h({id:_e,role:"listbox"},de("react-autowhatever-".concat(Ae,"-items-container"),"itemsContainer",ce&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:re});return t.default.createElement("div",Oe,Te,Ie)}}]),te})(t.Component);e.default=H,Y(H,"propTypes",{id:r.default.string,multiSection:r.default.bool,renderInputComponent:r.default.func,renderItemsContainer:r.default.func,items:r.default.array.isRequired,renderItem:r.default.func,renderItemData:r.default.object,renderSectionTitle:r.default.func,getSectionItems:r.default.func,containerProps:r.default.object,inputProps:r.default.object,itemProps:r.default.oneOfType([r.default.object,r.default.func]),highlightedSectionIndex:r.default.number,highlightedItemIndex:r.default.number,theme:r.default.oneOfType([r.default.object,r.default.array])}),Y(H,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:J,renderItemsContainer:Z,renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:X,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:X,inputProps:X,itemProps:X,highlightedSectionIndex:null,highlightedItemIndex:null,theme:ue})})(qx)),qx}var Tc={},RQ;function k4e(){if(RQ)return Tc;RQ=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.mapToAutowhateverTheme=Tc.defaultTheme=void 0;var e={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};Tc.defaultTheme=e;var t=function(n){var i={};for(var o in n)switch(o){case"suggestionsContainer":i.itemsContainer=n[o];break;case"suggestionsContainerOpen":i.itemsContainerOpen=n[o];break;case"suggestion":i.item=n[o];break;case"suggestionFirst":i.itemFirst=n[o];break;case"suggestionHighlighted":i.itemHighlighted=n[o];break;case"suggestionsList":i.itemsList=n[o];break;default:i[o]=n[o]}return i};return Tc.mapToAutowhateverTheme=t,Tc}var xQ;function D4e(){return xQ||(xQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(Mo()),r=a(Rf()),n=a(C4e()),i=a(P4e()),o=k4e();function a(H){return H&&H.__esModule?H:{default:H}}function s(){if(typeof WeakMap!="function")return null;var H=new WeakMap;return s=function(){return H},H}function l(H){if(H&&H.__esModule)return H;if(H===null||c(H)!=="object"&&typeof H!="function")return{default:H};var L=s();if(L&&L.has(H))return L.get(H);var j={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in H)if(Object.prototype.hasOwnProperty.call(H,ee)){var de=te?Object.getOwnPropertyDescriptor(H,ee):null;de&&(de.get||de.set)?Object.defineProperty(j,ee,de):j[ee]=H[ee]}return j.default=H,L&&L.set(H,j),j}function c(H){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(j){return typeof j}:c=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},c(H)}function d(H,L){var j=Object.keys(H);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(H);L&&(te=te.filter(function(ee){return Object.getOwnPropertyDescriptor(H,ee).enumerable})),j.push.apply(j,te)}return j}function h(H){for(var L=1;L<arguments.length;L++){var j=arguments[L]!=null?arguments[L]:{};L%2?d(Object(j),!0).forEach(function(te){O(H,te,j[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(j)):d(Object(j)).forEach(function(te){Object.defineProperty(H,te,Object.getOwnPropertyDescriptor(j,te))})}return H}function p(H,L){if(!(H instanceof L))throw new TypeError("Cannot call a class as a function")}function g(H,L){for(var j=0;j<L.length;j++){var te=L[j];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(H,te.key,te)}}function S(H,L,j){return L&&g(H.prototype,L),H}function E(H){return function(){var L=x(H),j;if(b()){var te=x(this).constructor;j=Reflect.construct(L,arguments,te)}else j=L.apply(this,arguments);return _(this,j)}}function _(H,L){return L&&(c(L)==="object"||typeof L=="function")?L:w(H)}function w(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(H){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},x(H)}function A(H,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(L&&L.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),L&&R(H,L)}function R(H,L){return R=Object.setPrototypeOf||function(te,ee){return te.__proto__=ee,te},R(H,L)}function O(H,L,j){return L in H?Object.defineProperty(H,L,{value:j,enumerable:!0,configurable:!0,writable:!0}):H[L]=j,H}var m=function(){return!0},k=function(L){return L.trim().length>0},D=function(L){var j=L.containerProps,te=L.children;return t.default.createElement("div",j,te)},V="suggestions-revealed",F="suggestions-updated",G="suggestion-selected",Y="input-focused",X="input-changed",J="input-blurred",Z="escape-pressed",ue=(function(H){A(j,H);var L=E(j);function j(te){var ee,de=te.alwaysRenderSuggestions;return p(this,j),ee=L.call(this),O(w(ee),"onDocumentMouseDown",function(Se){ee.justClickedOnSuggestionsContainer=!1;for(var Ae=Se.detail&&Se.detail.target||Se.target;Ae!==null&&Ae!==document;){if(Ae.getAttribute&&Ae.getAttribute("data-suggestion-index")!==null)return;if(Ae===ee.suggestionsContainer){ee.justClickedOnSuggestionsContainer=!0;return}Ae=Ae.parentNode}}),O(w(ee),"storeAutowhateverRef",function(Se){Se!==null&&(ee.autowhatever=Se)}),O(w(ee),"onSuggestionMouseEnter",function(Se,Ae){var se=Ae.sectionIndex,I=Ae.itemIndex;ee.updateHighlightedSuggestion(se,I),Se.target===ee.pressedSuggestion&&(ee.justSelectedSuggestion=!0),ee.justMouseEntered=!0,setTimeout(function(){ee.justMouseEntered=!1})}),O(w(ee),"highlightFirstSuggestion",function(){ee.updateHighlightedSuggestion(ee.props.multiSection?0:null,0)}),O(w(ee),"onDocumentMouseUp",function(){ee.pressedSuggestion&&!ee.justSelectedSuggestion&&ee.input.focus(),ee.pressedSuggestion=null}),O(w(ee),"onSuggestionMouseDown",function(Se){ee.justSelectedSuggestion||(ee.justSelectedSuggestion=!0,ee.pressedSuggestion=Se.target)}),O(w(ee),"onSuggestionsClearRequested",function(){var Se=ee.props.onSuggestionsClearRequested;Se&&Se()}),O(w(ee),"onSuggestionSelected",function(Se,Ae){var se=ee.props,I=se.alwaysRenderSuggestions,P=se.onSuggestionSelected,q=se.onSuggestionsFetchRequested;P&&P(Se,Ae);var N=ee.props.shouldKeepSuggestionsOnSelect(Ae.suggestion);I||N?q({value:Ae.suggestionValue,reason:G}):ee.onSuggestionsClearRequested(),ee.resetHighlightedSuggestion()}),O(w(ee),"onSuggestionClick",function(Se){var Ae=ee.props,se=Ae.alwaysRenderSuggestions,I=Ae.focusInputOnSuggestionClick,P=ee.getSuggestionIndices(ee.findSuggestionElement(Se.target)),q=P.sectionIndex,N=P.suggestionIndex,B=ee.getSuggestion(q,N),re=ee.props.getSuggestionValue(B);ee.maybeCallOnChange(Se,re,"click"),ee.onSuggestionSelected(Se,{suggestion:B,suggestionValue:re,suggestionIndex:N,sectionIndex:q,method:"click"});var ce=ee.props.shouldKeepSuggestionsOnSelect(B);se||ce||ee.closeSuggestions(),I===!0?ee.input.focus():ee.onBlur(),setTimeout(function(){ee.justSelectedSuggestion=!1})}),O(w(ee),"onBlur",function(){var Se=ee.props,Ae=Se.inputProps,se=Se.shouldRenderSuggestions,I=Ae.value,P=Ae.onBlur,q=ee.getHighlightedSuggestion(),N=se(I,J);ee.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!N}),P&&P(ee.blurEvent,{highlightedSuggestion:q})}),O(w(ee),"onSuggestionMouseLeave",function(Se){ee.resetHighlightedSuggestion(!1),ee.justSelectedSuggestion&&Se.target===ee.pressedSuggestion&&(ee.justSelectedSuggestion=!1)}),O(w(ee),"onSuggestionTouchStart",function(){ee.justSelectedSuggestion=!0}),O(w(ee),"onSuggestionTouchMove",function(){ee.justSelectedSuggestion=!1,ee.pressedSuggestion=null,ee.input.focus()}),O(w(ee),"itemProps",function(Se){var Ae=Se.sectionIndex,se=Se.itemIndex;return{"data-section-index":Ae,"data-suggestion-index":se,onMouseEnter:ee.onSuggestionMouseEnter,onMouseLeave:ee.onSuggestionMouseLeave,onMouseDown:ee.onSuggestionMouseDown,onTouchStart:ee.onSuggestionTouchStart,onTouchMove:ee.onSuggestionTouchMove,onClick:ee.onSuggestionClick}}),O(w(ee),"renderSuggestionsContainer",function(Se){var Ae=Se.containerProps,se=Se.children,I=ee.props.renderSuggestionsContainer;return I({containerProps:Ae,children:se,query:ee.getQuery()})}),ee.state={isFocused:!1,isCollapsed:!de,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},ee.justPressedUpDown=!1,ee.justMouseEntered=!1,ee.pressedSuggestion=null,ee}return S(j,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(ee){var de=this.state.highlightedSuggestionIndex===0&&this.props.highlightFirstSuggestion&&!ee.highlightFirstSuggestion;(0,n.default)(ee.suggestions,this.props.suggestions)?ee.highlightFirstSuggestion&&ee.suggestions.length>0&&this.justPressedUpDown===!1&&this.justMouseEntered===!1?this.highlightFirstSuggestion():de&&this.resetHighlightedSuggestion():this.willRenderSuggestions(ee,F)?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),de&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(ee,de){var Se=this.props,Ae=Se.suggestions,se=Se.onSuggestionHighlighted,I=Se.highlightFirstSuggestion;if(!(0,n.default)(Ae,ee.suggestions)&&Ae.length>0&&I){this.highlightFirstSuggestion();return}if(se){var P=this.getHighlightedSuggestion(),q=de.highlightedSuggestion;P!=q&&se({suggestion:P})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(ee,de,Se){var Ae=this;this.setState(function(se){var I=se.valueBeforeUpDown;return de===null?I=null:I===null&&typeof Se<"u"&&(I=Se),{highlightedSectionIndex:ee,highlightedSuggestionIndex:de,highlightedSuggestion:de===null?null:Ae.getSuggestion(ee,de),valueBeforeUpDown:I}})}},{key:"resetHighlightedSuggestion",value:function(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setState(function(de){var Se=de.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:ee?null:Se}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(ee,de){var Se=this.props,Ae=Se.suggestions,se=Se.multiSection,I=Se.getSectionSuggestions;return se?I(Ae[ee])[de]:Ae[de]}},{key:"getHighlightedSuggestion",value:function(){var ee=this.state,de=ee.highlightedSectionIndex,Se=ee.highlightedSuggestionIndex;return Se===null?null:this.getSuggestion(de,Se)}},{key:"getSuggestionValueByIndex",value:function(ee,de){var Se=this.props.getSuggestionValue;return Se(this.getSuggestion(ee,de))}},{key:"getSuggestionIndices",value:function(ee){var de=ee.getAttribute("data-section-index"),Se=ee.getAttribute("data-suggestion-index");return{sectionIndex:typeof de=="string"?parseInt(de,10):null,suggestionIndex:parseInt(Se,10)}}},{key:"findSuggestionElement",value:function(ee){var de=ee;do{if(de.getAttribute&&de.getAttribute("data-suggestion-index")!==null)return de;de=de.parentNode}while(de!==null);throw console.error("Clicked element:",ee),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(ee,de,Se){var Ae=this.props.inputProps,se=Ae.value,I=Ae.onChange;de!==se&&I(ee,{newValue:de,method:Se})}},{key:"willRenderSuggestions",value:function(ee,de){var Se=ee.suggestions,Ae=ee.inputProps,se=ee.shouldRenderSuggestions,I=Ae.value;return Se.length>0&&se(I,de)}},{key:"getQuery",value:function(){var ee=this.props.inputProps,de=ee.value,Se=this.state.valueBeforeUpDown;return(Se===null?de:Se).trim()}},{key:"render",value:function(){var ee=this,de=this.props,Se=de.suggestions,Ae=de.renderInputComponent,se=de.onSuggestionsFetchRequested,I=de.renderSuggestion,P=de.inputProps,q=de.multiSection,N=de.renderSectionTitle,B=de.id,re=de.getSectionSuggestions,ce=de.theme,we=de.getSuggestionValue,_e=de.alwaysRenderSuggestions,Oe=de.highlightFirstSuggestion,Te=de.containerProps,Ie=this.state,$e=Ie.isFocused,ge=Ie.isCollapsed,be=Ie.highlightedSectionIndex,Ce=Ie.highlightedSuggestionIndex,Le=Ie.valueBeforeUpDown,Ve=_e?m:this.props.shouldRenderSuggestions,qe=P.value,Ge=P.onFocus,ct=P.onKeyDown,jt=this.willRenderSuggestions(this.props,"render"),zt=_e||$e&&!ge&&jt,Ze=zt?Se:[],Tt=h({},P,{onFocus:function(rt){if(!ee.justSelectedSuggestion&&!ee.justClickedOnSuggestionsContainer){var dt=Ve(qe,Y);ee.setState({isFocused:!0,isCollapsed:!dt}),Ge&&Ge(rt),dt&&se({value:qe,reason:Y})}},onBlur:function(rt){if(ee.justClickedOnSuggestionsContainer){ee.input.focus();return}ee.blurEvent=rt,ee.justSelectedSuggestion||(ee.onBlur(),ee.onSuggestionsClearRequested())},onChange:function(rt){var dt=rt.target.value,Gt=Ve(dt,X);ee.maybeCallOnChange(rt,dt,"type"),ee.suggestionsContainer&&(ee.suggestionsContainer.scrollTop=0),ee.setState(h({},Oe?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!Gt})),Gt?se({value:dt,reason:X}):ee.onSuggestionsClearRequested()},onKeyDown:function(rt,dt){var Gt=rt.keyCode;switch(Gt){case 40:case 38:if(ge)Ve(qe,V)&&(se({value:qe,reason:V}),ee.revealSuggestions(),rt.preventDefault());else if(Se.length>0){var Mt=dt.newHighlightedSectionIndex,Re=dt.newHighlightedItemIndex,Je;Re===null?Je=Le===null?qe:Le:Je=ee.getSuggestionValueByIndex(Mt,Re),ee.updateHighlightedSuggestion(Mt,Re,qe),ee.maybeCallOnChange(rt,Je,Gt===40?"down":"up"),rt.preventDefault()}ee.justPressedUpDown=!0,setTimeout(function(){ee.justPressedUpDown=!1});break;case 13:{if(rt.keyCode===229)break;var ut=ee.getHighlightedSuggestion();if(zt&&!_e&&ee.closeSuggestions(),ut!=null){rt.preventDefault();var wt=we(ut);ee.maybeCallOnChange(rt,wt,"enter"),ee.onSuggestionSelected(rt,{suggestion:ut,suggestionValue:wt,suggestionIndex:Ce,sectionIndex:be,method:"enter"}),ee.justSelectedSuggestion=!0,setTimeout(function(){ee.justSelectedSuggestion=!1})}break}case 27:{zt&&rt.preventDefault();var Nt=zt&&!_e;if(Le===null){if(!Nt){var nr="";ee.maybeCallOnChange(rt,nr,"escape"),Ve(nr,Z)?se({value:nr,reason:Z}):ee.onSuggestionsClearRequested()}}else ee.maybeCallOnChange(rt,Le,"escape");Nt?(ee.onSuggestionsClearRequested(),ee.closeSuggestions()):ee.resetHighlightedSuggestion();break}}ct&&ct(rt)}}),_t={query:this.getQuery()};return t.default.createElement(i.default,{multiSection:q,items:Ze,renderInputComponent:Ae,renderItemsContainer:this.renderSuggestionsContainer,renderItem:I,renderItemData:_t,renderSectionTitle:N,getSectionItems:re,highlightedSectionIndex:be,highlightedItemIndex:Ce,containerProps:Te,inputProps:Tt,itemProps:this.itemProps,theme:(0,o.mapToAutowhateverTheme)(ce),id:B,ref:this.storeAutowhateverRef})}}]),j})(t.Component);e.default=ue,O(ue,"propTypes",{suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(L,j){var te=L[j];if(typeof te!="function")throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(L,j){var te=L[j];if(L.alwaysRenderSuggestions===!1&&typeof te!="function")throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:r.default.func,onSuggestionSelected:r.default.func,onSuggestionHighlighted:r.default.func,renderInputComponent:r.default.func,renderSuggestionsContainer:r.default.func,getSuggestionValue:r.default.func.isRequired,renderSuggestion:r.default.func.isRequired,inputProps:function(L,j){var te=L[j];if(!te)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(te,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(te,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(L,j){var te=L[j];if(L.multiSection===!0&&typeof te!="function")throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(L,j){var te=L[j];if(L.multiSection===!0&&typeof te!="function")throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:r.default.bool,highlightFirstSuggestion:r.default.bool,theme:r.default.object,id:r.default.string,containerProps:r.default.object}),O(ue,"defaultProps",{renderSuggestionsContainer:D,shouldRenderSuggestions:k,alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:o.defaultTheme,id:"1",containerProps:{}})})(jx)),jx}var Kx,OQ;function L4e(){return OQ||(OQ=1,Kx=D4e().default),Kx}var N4e=L4e();const M4e=jn(N4e);var Yx={},Xx={},Zh={exports:{}},Ic={exports:{}},$4e=Ic.exports,IQ;function F4e(){return IQ||(IQ=1,(function(){var e,t,r,n,i,o;typeof performance<"u"&&performance!==null&&performance.now?Ic.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Ic.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var a;return a=t(),a[0]*1e9+a[1]},n=e(),o=process.uptime()*1e9,i=n-o):Date.now?(Ic.exports=function(){return Date.now()-r},r=Date.now()):(Ic.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call($4e)),Ic.exports}var PQ;function j4e(){if(PQ)return Zh.exports;PQ=1;for(var e=F4e(),t=typeof window>"u"?globalThis:window,r=["moz","webkit"],n="AnimationFrame",i=t["request"+n],o=t["cancel"+n]||t["cancelRequest"+n],a=0;!i&&a<r.length;a++)i=t[r[a]+"Request"+n],o=t[r[a]+"Cancel"+n]||t[r[a]+"CancelRequest"+n];if(!i||!o){var s=0,l=0,c=[],d=1e3/60;i=function(h){if(c.length===0){var p=e(),g=Math.max(0,d-(p-s));s=g+p,setTimeout(function(){var S=c.slice(0);c.length=0;for(var E=0;E<S.length;E++)if(!S[E].cancelled)try{S[E].callback(s)}catch(_){setTimeout(function(){throw _},0)}},Math.round(g))}return c.push({handle:++l,callback:h,cancelled:!1}),l},o=function(h){for(var p=0;p<c.length;p++)c[p].handle===h&&(c[p].cancelled=!0)}}return Zh.exports=function(h){return i.call(t,h)},Zh.exports.cancel=function(){o.apply(t,arguments)},Zh.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=i,h.cancelAnimationFrame=o},Zh.exports}var Jh={exports:{}},Qx,kQ;function U4e(){if(kQ)return Qx;kQ=1;var e=null,t=["Webkit","Moz","O","ms"];return Qx=function(n){e||(e=document.createElement("div"));var i=e.style;if(n in i)return n;for(var o=n.charAt(0).toUpperCase()+n.slice(1),a=t.length;a>=0;a--){var s=t[a]+o;if(s in i)return s}return!1},Qx}var Zx,DQ;function q4e(){if(DQ)return Zx;DQ=1,Zx=n;var e=/\s/,t=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function n(l){return e.test(l)?l.toLowerCase():t.test(l)?(o(l)||l).toLowerCase():r.test(l)?s(l).toLowerCase():l.toLowerCase()}var i=/[\W_]+(.|$)/g;function o(l){return l.replace(i,function(c,d){return d?" "+d:""})}var a=/(.)([A-Z]+)/g;function s(l){return l.replace(a,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return Zx}var Jx,LQ;function V4e(){if(LQ)return Jx;LQ=1;var e=q4e();Jx=t;function t(r){return e(r).replace(/[\W_]+(.|$)/g,function(n,i){return i?" "+i:""}).trim()}return Jx}var eO,NQ;function H4e(){if(NQ)return eO;NQ=1;var e=V4e();eO=t;function t(r){return e(r).replace(/\s(\w)/g,function(n,i){return i.toUpperCase()})}return eO}var tO,MQ;function B4e(){if(MQ)return tO;MQ=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return tO=function(t,r){return typeof r=="number"&&!e[t]?r+"px":r},tO}var $Q;function yoe(){if($Q)return Jh.exports;$Q=1;var e=U4e(),t=H4e(),r={float:"cssFloat"},n=B4e();function i(l,c,d){var h=r[c];if(typeof h>"u"&&(h=a(c)),h){if(d===void 0)return l.style[h];l.style[h]=n(h,d)}}function o(l,c){for(var d in c)c.hasOwnProperty(d)&&i(l,d,c[d])}function a(l){var c=t(l),d=e(c);return r[c]=r[l]=r[d]=d,d}function s(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:o(arguments[0],arguments[1]):i(arguments[0],arguments[1],arguments[2])}return Jh.exports=s,Jh.exports.set=s,Jh.exports.get=function(l,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=i(l,h||""),d},{}):i(l,c||"")},Jh.exports}var rO={},FQ;function z4e(){return FQ||(FQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(rO)),rO}var nO={},jQ;function W4e(){return jQ||(jQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=yoe(),r=n(t);function n(a){return a&&a.__esModule?a:{default:a}}var i=!1;function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(a&&i!==!1)return i;if(typeof document<"u"){var s=document.createElement("div");(0,r.default)(s,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(s),i=s.offsetWidth-s.clientWidth,document.body.removeChild(s)}else i=0;return i||0}})(nO)),nO}var iO={},UQ;function G4e(){return UQ||(UQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(iO)),iO}var aO={},qQ;function K4e(){return qQ||(qQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientWidth,i=getComputedStyle(r),o=i.paddingLeft,a=i.paddingRight;return n-parseFloat(o)-parseFloat(a)}})(aO)),aO}var oO={},VQ;function Y4e(){return VQ||(VQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientHeight,i=getComputedStyle(r),o=i.paddingTop,a=i.paddingBottom;return n-parseFloat(o)-parseFloat(a)}})(oO)),oO}var So={},HQ;function X4e(){return HQ||(HQ=1,Object.defineProperty(So,"__esModule",{value:!0}),So.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},So.containerStyleAutoHeight={height:"auto"},So.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},So.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},So.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},So.trackHorizontalStyleDefault={position:"absolute",height:6},So.trackVerticalStyleDefault={position:"absolute",width:6},So.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},So.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},So.disableSelectStyle={userSelect:"none"},So.disableSelectStyleReset={userSelect:""}),So}var Il={},BQ;function Q4e(){if(BQ)return Il;BQ=1,Object.defineProperty(Il,"__esModule",{value:!0});var e=Object.assign||function(d){for(var h=1;h<arguments.length;h++){var p=arguments[h];for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&(d[g]=p[g])}return d};Il.renderViewDefault=o,Il.renderTrackHorizontalDefault=a,Il.renderTrackVerticalDefault=s,Il.renderThumbHorizontalDefault=l,Il.renderThumbVerticalDefault=c;var t=Mo(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,h){var p={};for(var g in d)h.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(d,g)&&(p[g]=d[g]);return p}function o(d){return r.default.createElement("div",d)}function a(d){var h=d.style,p=i(d,["style"]),g=e({},h,{right:2,bottom:2,left:2,borderRadius:3});return r.default.createElement("div",e({style:g},p))}function s(d){var h=d.style,p=i(d,["style"]),g=e({},h,{right:2,bottom:2,top:2,borderRadius:3});return r.default.createElement("div",e({style:g},p))}function l(d){var h=d.style,p=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},p))}function c(d){var h=d.style,p=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},p))}return Il}var zQ;function Z4e(){return zQ||(zQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(G){for(var Y=1;Y<arguments.length;Y++){var X=arguments[Y];for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(G[J]=X[J])}return G},r=(function(){function G(Y,X){for(var J=0;J<X.length;J++){var Z=X[J];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(Y,Z.key,Z)}}return function(Y,X,J){return X&&G(Y.prototype,X),J&&G(Y,J),Y}})(),n=j4e(),i=O(n),o=yoe(),a=O(o),s=Mo(),l=Rf(),c=O(l),d=z4e(),h=O(d),p=W4e(),g=O(p),S=G4e(),E=O(S),_=K4e(),w=O(_),b=Y4e(),x=O(b),A=X4e(),R=Q4e();function O(G){return G&&G.__esModule?G:{default:G}}function m(G,Y){var X={};for(var J in G)Y.indexOf(J)>=0||Object.prototype.hasOwnProperty.call(G,J)&&(X[J]=G[J]);return X}function k(G,Y){if(!(G instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(G,Y){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:G}function V(G,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);G.prototype=Object.create(Y&&Y.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(G,Y):G.__proto__=Y)}var F=(function(G){V(Y,G);function Y(X){var J;k(this,Y);for(var Z=arguments.length,ue=Array(Z>1?Z-1:0),H=1;H<Z;H++)ue[H-1]=arguments[H];var L=D(this,(J=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(J,[this,X].concat(ue)));return L.getScrollLeft=L.getScrollLeft.bind(L),L.getScrollTop=L.getScrollTop.bind(L),L.getScrollWidth=L.getScrollWidth.bind(L),L.getScrollHeight=L.getScrollHeight.bind(L),L.getClientWidth=L.getClientWidth.bind(L),L.getClientHeight=L.getClientHeight.bind(L),L.getValues=L.getValues.bind(L),L.getThumbHorizontalWidth=L.getThumbHorizontalWidth.bind(L),L.getThumbVerticalHeight=L.getThumbVerticalHeight.bind(L),L.getScrollLeftForOffset=L.getScrollLeftForOffset.bind(L),L.getScrollTopForOffset=L.getScrollTopForOffset.bind(L),L.scrollLeft=L.scrollLeft.bind(L),L.scrollTop=L.scrollTop.bind(L),L.scrollToLeft=L.scrollToLeft.bind(L),L.scrollToTop=L.scrollToTop.bind(L),L.scrollToRight=L.scrollToRight.bind(L),L.scrollToBottom=L.scrollToBottom.bind(L),L.handleTrackMouseEnter=L.handleTrackMouseEnter.bind(L),L.handleTrackMouseLeave=L.handleTrackMouseLeave.bind(L),L.handleHorizontalTrackMouseDown=L.handleHorizontalTrackMouseDown.bind(L),L.handleVerticalTrackMouseDown=L.handleVerticalTrackMouseDown.bind(L),L.handleHorizontalThumbMouseDown=L.handleHorizontalThumbMouseDown.bind(L),L.handleVerticalThumbMouseDown=L.handleVerticalThumbMouseDown.bind(L),L.handleWindowResize=L.handleWindowResize.bind(L),L.handleScroll=L.handleScroll.bind(L),L.handleDrag=L.handleDrag.bind(L),L.handleDragEnd=L.handleDragEnd.bind(L),L.state={didMountUniversal:!1},L}return r(Y,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var J=this.props.universal;J&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var J=this.view||{},Z=J.scrollLeft,ue=Z===void 0?0:Z,H=J.scrollTop,L=H===void 0?0:H,j=J.scrollWidth,te=j===void 0?0:j,ee=J.scrollHeight,de=ee===void 0?0:ee,Se=J.clientWidth,Ae=Se===void 0?0:Se,se=J.clientHeight,I=se===void 0?0:se;return{left:ue/(te-Ae)||0,top:L/(de-I)||0,scrollLeft:ue,scrollTop:L,scrollWidth:te,scrollHeight:de,clientWidth:Ae,clientHeight:I}}},{key:"getThumbHorizontalWidth",value:function(){var J=this.props,Z=J.thumbSize,ue=J.thumbMinSize,H=this.view,L=H.scrollWidth,j=H.clientWidth,te=(0,w.default)(this.trackHorizontal),ee=Math.ceil(j/L*te);return te<=ee?0:Z||Math.max(ee,ue)}},{key:"getThumbVerticalHeight",value:function(){var J=this.props,Z=J.thumbSize,ue=J.thumbMinSize,H=this.view,L=H.scrollHeight,j=H.clientHeight,te=(0,x.default)(this.trackVertical),ee=Math.ceil(j/L*te);return te<=ee?0:Z||Math.max(ee,ue)}},{key:"getScrollLeftForOffset",value:function(J){var Z=this.view,ue=Z.scrollWidth,H=Z.clientWidth,L=(0,w.default)(this.trackHorizontal),j=this.getThumbHorizontalWidth();return J/(L-j)*(ue-H)}},{key:"getScrollTopForOffset",value:function(J){var Z=this.view,ue=Z.scrollHeight,H=Z.clientHeight,L=(0,x.default)(this.trackVertical),j=this.getThumbVerticalHeight();return J/(L-j)*(ue-H)}},{key:"scrollLeft",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=J)}},{key:"scrollTop",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=J)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var J=this.view,Z=this.trackHorizontal,ue=this.trackVertical,H=this.thumbHorizontal,L=this.thumbVertical;J.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(Z.addEventListener("mouseenter",this.handleTrackMouseEnter),Z.addEventListener("mouseleave",this.handleTrackMouseLeave),Z.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),ue.addEventListener("mouseenter",this.handleTrackMouseEnter),ue.addEventListener("mouseleave",this.handleTrackMouseLeave),ue.addEventListener("mousedown",this.handleVerticalTrackMouseDown),H.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),L.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var J=this.view,Z=this.trackHorizontal,ue=this.trackVertical,H=this.thumbHorizontal,L=this.thumbVertical;J.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(Z.removeEventListener("mouseenter",this.handleTrackMouseEnter),Z.removeEventListener("mouseleave",this.handleTrackMouseLeave),Z.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),ue.removeEventListener("mouseenter",this.handleTrackMouseEnter),ue.removeEventListener("mouseleave",this.handleTrackMouseLeave),ue.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),H.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),L.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(J){var Z=this,ue=this.props,H=ue.onScroll,L=ue.onScrollFrame;H&&H(J),this.update(function(j){var te=j.scrollLeft,ee=j.scrollTop;Z.viewScrollLeft=te,Z.viewScrollTop=ee,L&&L(j)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var J=this.props.onScrollStart;J&&J(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var J=this.props.autoHide;J&&this.showTracks()}},{key:"handleScrollStop",value:function(){var J=this.props.onScrollStop;J&&J(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var J=this.props.autoHide;J&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(J){J.preventDefault();var Z=J.target,ue=J.clientX,H=Z.getBoundingClientRect(),L=H.left,j=this.getThumbHorizontalWidth(),te=Math.abs(L-ue)-j/2;this.view.scrollLeft=this.getScrollLeftForOffset(te)}},{key:"handleVerticalTrackMouseDown",value:function(J){J.preventDefault();var Z=J.target,ue=J.clientY,H=Z.getBoundingClientRect(),L=H.top,j=this.getThumbVerticalHeight(),te=Math.abs(L-ue)-j/2;this.view.scrollTop=this.getScrollTopForOffset(te)}},{key:"handleHorizontalThumbMouseDown",value:function(J){J.preventDefault(),this.handleDragStart(J);var Z=J.target,ue=J.clientX,H=Z.offsetWidth,L=Z.getBoundingClientRect(),j=L.left;this.prevPageX=H-(ue-j)}},{key:"handleVerticalThumbMouseDown",value:function(J){J.preventDefault(),this.handleDragStart(J);var Z=J.target,ue=J.clientY,H=Z.offsetHeight,L=Z.getBoundingClientRect(),j=L.top;this.prevPageY=H-(ue-j)}},{key:"setupDragging",value:function(){(0,a.default)(document.body,A.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=E.default}},{key:"teardownDragging",value:function(){(0,a.default)(document.body,A.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(J){this.dragging=!0,J.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(J){if(this.prevPageX){var Z=J.clientX,ue=this.trackHorizontal.getBoundingClientRect(),H=ue.left,L=this.getThumbHorizontalWidth(),j=L-this.prevPageX,te=-H+Z-j;this.view.scrollLeft=this.getScrollLeftForOffset(te)}if(this.prevPageY){var ee=J.clientY,de=this.trackVertical.getBoundingClientRect(),Se=de.top,Ae=this.getThumbVerticalHeight(),se=Ae-this.prevPageY,I=-Se+ee-se;this.view.scrollTop=this.getScrollTopForOffset(I)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var J=this.props.autoHide;J&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var J=this.props.autoHide;J&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var J=this.props.autoHide;J&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,a.default)(this.trackHorizontal,{opacity:1}),(0,a.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var J=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var Z=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,a.default)(J.trackHorizontal,{opacity:0}),(0,a.default)(J.trackVertical,{opacity:0})},Z)}}},{key:"detectScrolling",value:function(){var J=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){J.lastViewScrollLeft===J.viewScrollLeft&&J.lastViewScrollTop===J.viewScrollTop&&(clearInterval(J.detectScrollingInterval),J.scrolling=!1,J.handleScrollStop()),J.lastViewScrollLeft=J.viewScrollLeft,J.lastViewScrollTop=J.viewScrollTop},100))}},{key:"raf",value:function(J){var Z=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)(function(){Z.requestFrame=void 0,J()})}},{key:"update",value:function(J){var Z=this;this.raf(function(){return Z._update(J)})}},{key:"_update",value:function(J){var Z=this.props,ue=Z.onUpdate,H=Z.hideTracksWhenNotNeeded,L=this.getValues();if((0,g.default)()){var j=L.scrollLeft,te=L.clientWidth,ee=L.scrollWidth,de=(0,w.default)(this.trackHorizontal),Se=this.getThumbHorizontalWidth(),Ae=j/(ee-te)*(de-Se),se={width:Se,transform:"translateX("+Ae+"px)"},I=L.scrollTop,P=L.clientHeight,q=L.scrollHeight,N=(0,x.default)(this.trackVertical),B=this.getThumbVerticalHeight(),re=I/(q-P)*(N-B),ce={height:B,transform:"translateY("+re+"px)"};if(H){var we={visibility:ee>te?"visible":"hidden"},_e={visibility:q>P?"visible":"hidden"};(0,a.default)(this.trackHorizontal,we),(0,a.default)(this.trackVertical,_e)}(0,a.default)(this.thumbHorizontal,se),(0,a.default)(this.thumbVertical,ce)}ue&&ue(L),typeof J=="function"&&J(L)}},{key:"render",value:function(){var J=this,Z=(0,g.default)(),ue=this.props;ue.onScroll,ue.onScrollFrame,ue.onScrollStart,ue.onScrollStop,ue.onUpdate;var H=ue.renderView,L=ue.renderTrackHorizontal,j=ue.renderTrackVertical,te=ue.renderThumbHorizontal,ee=ue.renderThumbVertical,de=ue.tagName;ue.hideTracksWhenNotNeeded;var Se=ue.autoHide;ue.autoHideTimeout;var Ae=ue.autoHideDuration;ue.thumbSize,ue.thumbMinSize;var se=ue.universal,I=ue.autoHeight,P=ue.autoHeightMin,q=ue.autoHeightMax,N=ue.style,B=ue.children,re=m(ue,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),ce=this.state.didMountUniversal,we=t({},A.containerStyleDefault,I&&t({},A.containerStyleAutoHeight,{minHeight:P,maxHeight:q}),N),_e=t({},A.viewStyleDefault,{marginRight:Z?-Z:0,marginBottom:Z?-Z:0},I&&t({},A.viewStyleAutoHeight,{minHeight:(0,h.default)(P)?"calc("+P+" + "+Z+"px)":P+Z,maxHeight:(0,h.default)(q)?"calc("+q+" + "+Z+"px)":q+Z}),I&&se&&!ce&&{minHeight:P,maxHeight:q},se&&!ce&&A.viewStyleUniversalInitial),Oe={transition:"opacity "+Ae+"ms",opacity:0},Te=t({},A.trackHorizontalStyleDefault,Se&&Oe,(!Z||se&&!ce)&&{display:"none"}),Ie=t({},A.trackVerticalStyleDefault,Se&&Oe,(!Z||se&&!ce)&&{display:"none"});return(0,s.createElement)(de,t({},re,{style:we,ref:function(ge){J.container=ge}}),[(0,s.cloneElement)(H({style:_e}),{key:"view",ref:function(ge){J.view=ge}},B),(0,s.cloneElement)(L({style:Te}),{key:"trackHorizontal",ref:function(ge){J.trackHorizontal=ge}},(0,s.cloneElement)(te({style:A.thumbHorizontalStyleDefault}),{ref:function(ge){J.thumbHorizontal=ge}})),(0,s.cloneElement)(j({style:Ie}),{key:"trackVertical",ref:function(ge){J.trackVertical=ge}},(0,s.cloneElement)(ee({style:A.thumbVerticalStyleDefault}),{ref:function(ge){J.thumbVertical=ge}}))])}}]),Y})(s.Component);e.default=F,F.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},F.defaultProps={renderView:R.renderViewDefault,renderTrackHorizontal:R.renderTrackHorizontalDefault,renderTrackVertical:R.renderTrackVerticalDefault,renderThumbHorizontal:R.renderThumbHorizontalDefault,renderThumbVertical:R.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})(Xx)),Xx}var WQ;function J4e(){return WQ||(WQ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=Z4e(),r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default,e.Scrollbars=r.default})(Yx)),Yx}var eDe=J4e();const tDe=jn(eDe);function _oe(e){return U.jsx("svg",{...e,children:U.jsx("path",{d:"m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z",fill:"currentColor"})})}const rDe="_inputWithoutHighlight_1gh2d_1",nDe="_suggestionsContainerOpen_1gh2d_5",iDe="_sectionContainer_1gh2d_12",aDe="_suggestionHighlighted_1gh2d_15",oDe="_clearButton_1gh2d_18",sDe="_inputWithLeftIcon_1gh2d_21",uDe="_inputWithRightIcon_1gh2d_24",lDe="_inputWithTwoRightIcons_1gh2d_27",cDe="_iconContainer_1gh2d_30",fDe="_leftIconContainer_1gh2d_35",dDe="_rightIconContainer_1gh2d_38",Go={inputWithoutHighlight:rDe,suggestionsContainerOpen:nDe,sectionContainer:iDe,suggestionHighlighted:aDe,clearButton:oDe,inputWithLeftIcon:sDe,inputWithRightIcon:uDe,inputWithTwoRightIcons:lDe,iconContainer:cDe,leftIconContainer:fDe,rightIconContainer:dDe};function hDe(e,t,r,n,i){let o="form-control text-truncate";return r||(o+=` ${Go.inputWithoutHighlight}`),e==="left"&&(o+=` ${Go.inputWithLeftIcon}`),(e==="right"&&!t||e==="left"&&t||t)&&(o+=` ${Go.inputWithRightIcon}`),e==="right"&&t&&(o+=` ${Go.inputWithTwoRightIcons}`),i==="lg"&&(o+=" form-control-lg"),i==="sm"&&(o+=" form-control-sm"),n&&(o+=` ${n}`),o}function GQ(e){const t="d-inline-block svg-container";return Ai.isFunction(e)?t+" cursor-pointer":t}function pDe(e){const{onClickSearchIcon:t,searchIconPlacement:r,showClearInputIcon:n,onClickClearInput:i,highlightOnFocus:o,className:a,formSize:s,...l}=e,c=()=>U.jsx("div",{className:"d-inline-block",children:U.jsx(Jo,{svg:K3,size:jd.Standard,onClick:t,className:GQ(t)})}),d=()=>U.jsx("button",{className:`d-inline-block text-secondary ${Go.clearButton}`,onMouseUp:i,children:U.jsx(Jo,{svg:_oe,size:jd.Standard,className:GQ(i)})});return U.jsxs("div",{className:`position-relative ${Go.inputContainer}`,children:[r==="left"&&U.jsx("div",{className:`${Go.iconContainer} ${Go.leftIconContainer}`,children:U.jsx(c,{})}),U.jsx("input",{className:hDe(r,n,o,a,s),...l}),(r==="right"||!!n)&&U.jsxs("div",{className:`${Go.iconContainer} ${Go.rightIconContainer}`,children:[!!n&&U.jsx(d,{}),r==="right"&&U.jsx(c,{})]})]})}var Soe=(e=>(e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)",e))(Soe||{});const ey={isNumber(e){return ey.isType(e,"number")},isString(e){return ey.isType(e,"string")},isType(e,t){return typeof e===t}};function xd(e,t){return{recent:t,local:e,remote:[],generic:[]}}function Q3(e,t){return oa.isObject(e)&&e.hasOwnProperty(t)&&ey.isString(e[t])}function vDe(e,t,r,n){const i=e.trim().toLowerCase();return i.length<n?[]:t.filter(o=>!Q3(o,r)||!ey.isString(o[r])?!1:o[r].trim().toLowerCase().includes(i))}function gDe(e,t,r,n,i,o){const a=Ai.isFunction(e)&&e(t);if(a){if(o){zO({resource:a,type:Ci.POST,success:r,error:n,headers:i,data:o(t)});return}zO({resource:a,type:Ci.GET,success:r,error:n,headers:i})}}function md(e,t){e({...xd([],[]),generic:[{type:t,generic:!0}]})}function KQ(e,t,r){const n=Ai.isFunction(t.formatRemoteSuggestions)?t.formatRemoteSuggestions(e):e;if(!n.length&&t.getEmptyStateComponent){md(r,"empty");return}r(i=>({...i,remote:n,generic:[]}))}function sO(e,t,r){return({value:n,reason:i})=>{var a;if((((a=e.allowableSuggestionFetchRequestedReasons)==null?void 0:a.includes(i))??!0)&&(n.length||r(),!(n.length<e.activationLength))){if(e.local){const s=Ai.isFunction(e.getLocalSuggestions)?e.getLocalSuggestions(n,e.local):vDe(n,e.local,e.valueKey,e.activationLength);if(!s.length&&e.getEmptyStateComponent){md(t,"empty");return}t(l=>({...l,local:s,generic:[]}))}if(typeof e.handleFetchSuggestions=="function"){e.replacePreviousRemoteSuggestions?t(s=>({...xd([],[]),remote:s.remote})):md(t,"loading"),e.handleFetchSuggestions(n,s=>KQ(s,e,t),()=>md(t,"errored"));return}e.getRemoteUrl&&(e.replacePreviousRemoteSuggestions?t(s=>({...xd([],[]),remote:s.remote})):md(t,"loading"),gDe(e.getRemoteUrl,n,s=>KQ(s,e,t),()=>{md(t,"errored")},e.requestHeaders,e.getRemotePostBody))}}}function mDe(e,t){return Q3(t,e)?t[e]:""}function yDe(e,t){return Q3(t,e)?U.jsx(U.Fragment,{children:t[e]}):U.jsx(U.Fragment,{})}function _De(e){function t(r){r.stopPropagation()}return U.jsx("div",{className:`d-flex justify-content-center cursor-default ${e??""}`,onClick:t,children:U.jsx(Ev,{as:"span",animation:"border",role:"status"})})}function SDe(e,t,r,n,i,o){const a=p=>{const g=e[p];return g?g.map(S=>({...S,suggestionType:p})):[]},s=a("recent"),l=a("local"),c=a("remote"),d=a("generic");if(d.length)return[{data:d,suggestionType:"generic"}];if(Ai.isFunction(n))return n([...l,...c,...s]);const h=[];return l!=null&&l.length&&h.push({title:t,data:lO(l,uO("local",i)),suggestionType:"local"}),c!=null&&c.length&&h.push({title:t,data:lO(c,uO("remote",i)),suggestionType:"remote"}),s!=null&&s.length&&h.push({title:r,data:lO(s,uO("recent",i)),suggestionType:"recent"}),typeof o=="function"?o(h):h}function uO(e,t){return typeof t=="number"||typeof t=="boolean"?t:t[e]||!1}function lO(e,t){return typeof t=="boolean"||e.length<=t?e:e.slice(0,t)}function EDe(e){return e.data}function wDe(e,t){if(e.title)return U.jsx("div",{className:`pb-1 ${t??""}`,children:U.jsx("strong",{children:e.title})})}function bDe(e){return{container:"position-relative",suggestionsContainerOpen:`bg-white py-1 border rounded ${Go.suggestionsContainerOpen}`,suggestionsList:"list-unstyled m-0",suggestion:`${e?"":"cursor-pointer"} py-1 px-2`,suggestionHighlighted:e?"":Go.suggestionHighlighted,sectionContainer:`border-bottom py-1 ${Go.sectionContainer}`}}function CDe(e,t){const r=typeof e=="function"?e(t):e,n=bDe(t);return Object.assign(n,r)}function TDe(e,t,r,n,i){me.useEffect(()=>{!e||e.current||(e.current={resetQuery:t,setQuery:r,focusInput:n,blurInput:i})},[e==null?void 0:e.current])}function ADe(e){const[t,r]=Tv("lite:search:bar:focus",{focus:!1});return me.useEffect(()=>{!t.focus||!(e!=null&&e.current)||(e.current.focus(),r({focus:!1}))},[t.focus]),{focusSearchBar:()=>r({focus:!0}),shouldFocus:t.focus}}const YQ="shared.searchBar",Mu=Ai.isFunction;function RDe(e){return e.renderAsForm?U.jsx("form",{onSubmit:e.onSubmit,children:e.children}):U.jsx("div",{className:"w-100",children:e.children})}Eoe.defaultProps={valueKey:"name",activationLength:3,suggestionLimit:5,recentSearches:[],initialLocalSuggestions:[],searchIconPlacement:"right",renderAsForm:!0,onSuggestionDependencies:[],shouldUpdateQueryOnSelection:!0,focusInputOnSuggestionClick:!0,resetQueryOnEscape:!0};function Eoe(e){const t=xd(e.initialLocalSuggestions,e.recentSearches),[r,n]=me.useState(e.initialQuery||""),[i,o]=me.useState(t),a=me.useMemo(()=>SDe(i,e.suggestionsHeading,e.recentSearchHeading||_r.getPhrase(YQ,"recentSearchesHeading"),e.getSections,e.suggestionLimit,e.transformSections),[i]);me.useEffect(()=>{oa.isEqual(t,i)||r&&r.length>=(e==null?void 0:e.activationLength)||o(t)},[t]),me.useEffect(()=>{typeof e.onSuggestionUpdated=="function"&&e.onSuggestionUpdated(a)},[a]);const s=me.useRef(null),l=me.useRef(!1);ADe(s);const[c,d]=me.useState(e.initialQuery||""),[h,p]=me.useState("none"),g=xc(Soe.XS);me.useEffect(()=>{!e.resetSuggestionsOnNoActivation||!r||r.length>=e.activationLength||S()},[r]),me.useEffect(()=>{if(r.length)return;const Z=xd(e.initialLocalSuggestions,e.recentSearches);o(Z)},[e.initialLocalSuggestions,e.recentSearches]),me.useEffect(()=>{const Z=e.initialQuery||"";r!==Z&&(n(Z),d(Z))},[e.initialQuery]),me.useEffect(()=>{!s.current||!e.autoFocusInput||s.current.focus()},[e.autoFocusInput]);const S=()=>{const Z=xd(e.initialLocalSuggestions,e.recentSearches);o(Z)},E=()=>{n(""),d("")},_=()=>{var Z;(Z=s.current)==null||Z.focus()},w=()=>{var Z;(Z=s.current)==null||Z.blur()};TDe(e.controlsRef,E,n,_,w);const b=(Z,{newValue:ue,method:H})=>{H==="type"&&d(ue),!(H==="escape"&&(p("none"),!(e!=null&&e.resetQueryOnEscape)))&&(["up","down"].includes(H)||(n(ue),Mu(e.onQueryChange)&&e.onQueryChange(ue)))},x=()=>{p("none")},A=Z=>{Z.preventDefault(),Mu(e.onSubmit)&&e.onSubmit(r,s.current),e.clearQueryOnSelect&&E()},R=Z=>{if(Z.key==="Backspace"&&e.onBackspace&&!r){e.onBackspace();return}if(Z.key==="ArrowUp"||Z.key==="ArrowDown"){l.current=!0;return}},O=()=>{E(),e.resetSuggestionsOnClear&&S(),Mu(e.onClickClearInput)&&e.onClickClearInput()},m=({suggestion:Z})=>{if(h==="none"&&!Z)return;l.current&&e.onArrowKeyUpOrDown&&(l.current=!1,e.onArrowKeyUpOrDown()),p(Z?"suggestion":"custom")};function k(Z){return Mu(e.shouldUpdateQueryOnSelection)?e.shouldUpdateQueryOnSelection(Z):e.shouldUpdateQueryOnSelection}const D=me.useMemo(()=>e.debounceTime?Ai.debounce(sO(e,o,S),e.debounceTime):sO(e,o,S),[e.debounceTime,...e.onSuggestionDependencies]);function V(Z){return Mu(e.renderSectionTitle)?e.renderSectionTitle(Z,e.sectionTitleClassName):wDe(Z,e.sectionTitleClassName)}function F(){return Mu(e.renderSuggestionsOnInputFocus)?e.renderSuggestionsOnInputFocus(r):e.renderSuggestionsOnInputFocus}function G(){e.onBlur&&e.onBlur(r)}function Y(){e.onFocus&&e.onFocus(r)}function X(Z){Z!==null&&!s.current&&(s.current=Z.input)}function J(){return typeof e.alwaysRenderSuggestions=="boolean"?e.alwaysRenderSuggestions:e.alwaysRenderSuggestionsWhenFocused&&r.length>=e.activationLength?document.activeElement===s.current:!1}return U.jsx(RDe,{onSubmit:A,renderAsForm:!!e.renderAsForm,children:U.jsx(M4e,{ref:X,suggestions:a,onSuggestionsFetchRequested:D,onSuggestionHighlighted:m,onSuggestionsClearRequested:()=>{J()||S()},onSuggestionSelected:(Z,{suggestion:ue})=>{ue.generic||(e.clearQueryOnSelect&&E(),e.onSuggestionSelected(ue,s.current,Z))},getSuggestionValue:Z=>k(Z)?mDe(e.valueKey,Z):r,renderSuggestion:(Z,ue)=>{if(Z.generic){if(Z.type==="empty")return r.length>=e.activationLength&&Mu(e.getEmptyStateComponent)?e.getEmptyStateComponent(r):U.jsx(U.Fragment,{});if(Z.type==="errored"&&Mu(e.getErrorStateComponent)){const H=sO(e,o,S),L=()=>H({value:r,reason:"input-changed"});return e.getErrorStateComponent(L)}if(Z.type==="loading")return _De(e.loadingComponentClassName)}return Mu(e.getSuggestionComponent)?e.getSuggestionComponent(Z,ue):yDe(e.valueKey,Z)},renderSuggestionsContainer:Z=>{const{ref:ue,...H}=Z.containerProps;if(!e.customScrollbarProps){const L={suggestions:i,query:r,isDropdownOpen:!!Z.children};return U.jsxs("div",{ref:ue,...H,onMouseOut:x,children:[Z.children,e.getCreateComponent&&e.getCreateComponent({userInput:c,isActive:h==="custom",resetQuery:E,resetSuggestions:S,...L}),e.getFooterComponent&&e.getFooterComponent(L)]})}return U.jsx(tDe,{ref:ue,...e.customScrollbarProps,...H,children:Z.children})},alwaysRenderSuggestions:J(),focusInputOnSuggestionClick:!g&&e.focusInputOnSuggestionClick,inputProps:{id:e.id,name:e.id,"aria-errormessage":`${e.id}Error`,"aria-label":e.label,placeholder:e.placeholder||_r.getPhrase(YQ,"placeholder"),value:r,onChange:b,onKeyDown:R,autoFocus:!!e.autoFocusInput,highlightOnFocus:e.highlightInputOnFocus,onClickSearchIcon:!!e.submitOnClickSearchIcon&&A,searchIconPlacement:e.searchIconPlacement,showClearInputIcon:!!e.showClearInputIcon&&!!r.length,onClickClearInput:O,formSize:e.size,onBlur:G,onFocus:Y,disabled:e.disabled},renderInputComponent:pDe,theme:CDe(e.theme,!!i.generic.length),multiSection:!0,renderSectionTitle:V,getSectionSuggestions:EDe,...e.renderSuggestionsOnInputFocus?{shouldRenderSuggestions:F}:{}})})}const woe=(e,t)=>{const[r,n]=Xt.useState(e);return Xt.useEffect(()=>{const i=setTimeout(()=>n(e),t);return()=>clearTimeout(i)},[e,t]),r};function xDe(e,t=[]){function r(){e()}Xt.useEffect(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[...t])}function ODe(e){const{query:t,indices:r,analyticsOptions:n,onLog:i,shouldLog:o=!0}=e,a=woe(t,5e3),[s,l]=Xt.useState({[t]:!1});function c(h,p){if(o){if(!h){l({"":!0});return}s[h]||(l({[h]:!0}),Ti.logUserAction({query:h,indices:r},Ti.mergeOptions(n,[{actionType:It.Search,workflowPhase:Oo.Complete},p])),typeof i=="function"&&i())}}function d(h,p){const g=h.name;s[g]||(l({[g]:!0}),Ti.logUserAction(h,Ti.mergeOptions(n,[{actionType:It.Search,workflowPhase:Oo.Complete},p])))}return Xt.useEffect(()=>c(a),[a]),xDe(()=>c(t),[t,s]),{log:c,logTrendingTopic:d}}const Fl={FILTER_PARAM_PREFIX:"filters.",MAX_CHECKBOXES_PER_COLUMN:10};function kf(e){return U.jsx("label",{htmlFor:e.id,className:"mb-0",children:U.jsx("h3",{className:"h6 mb-2",children:e.title})})}jp.defaultProps={checked:!1,label:"",className:""};function jp(e){const{isLabelEllipsis:t}=e,r=me.useRef(null);return me.useEffect(()=>{if(r.current){if(e.checked){r.current.indeterminate&&(r.current.indeterminate=!1);return}if(e.indeterminate&&!r.current.indeterminate){r.current.indeterminate=!0;return}!e.indeterminate&&r.current.indeterminate&&(r.current.indeterminate=!1)}},[r.current,e.indeterminate,e.checked]),U.jsxs("div",{className:`form-check pe-2 ${e.className}`,children:[U.jsx("input",{ref:r,type:"checkbox",className:`${e.inputClassName} form-check-input`,id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-checked":e.checked,"aria-label":e.ariaLabel}),e.label&&U.jsx("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id,children:U.jsx("span",{className:`${t?"clamp-1":""}`,children:e.label})})]})}function boe(e){const t=e.draftState.selection;function r(i,o){if(o){let s=-1;t.find((c,d)=>{s>-1||c.id.toString()===i.id.toString()&&(s=d)});const l=[...t.slice(0,s),...t.slice(s+1)];e.setDraftState({active:!!l.length,selection:l});return}const a=[...t];a.push(i),e.setDraftState({active:!!a.length,selection:a})}const n=e.options.map(i=>{const o=e.filter.disabled||i.disabled,a=!!e.draftState.selection.find(l=>l.id.toString()===i.id.toString()),s=Array.isArray(i.id)?i.id.join("_"):i.id;return U.jsx("li",{className:`my-1 ${e.displayOptionsIn2Columns?"col-md-6 col-12":""}`,children:U.jsx(jp,{label:i.name,name:s,id:s,onChange:()=>r(i,a),checked:!o&&a,isLabelEllipsis:e.displayOptionsIn2Columns,disabled:o})},s)});return U.jsx("ul",{className:`list-unstyled ${e.displayOptionsIn2Columns?"d-flex flex-wrap":""}`,children:n})}function IDe(e){const t=Ea.displayTwoColumns(e.filter);return U.jsxs(U.Fragment,{children:[U.jsx(kf,{title:e.filter.name}),U.jsx($d,{className:"mb-3",children:U.jsx(boe,{displayOptionsIn2Columns:t,options:e.filter.options,filter:e.filter,draftState:e.draftState,setDraftState:e.setDraftState})})]})}function PDe(e){var r;const t=[];for(const n of e.filter.options){const i=e.filter.disabled||n.disabled,o=(r=e.draftState.selection)==null?void 0:r.find(d=>(d==null?void 0:d.id)===n.id),a=n.secondLayerOptions??[],s=kDe(o,a),l=!s&&!!o;t.push(U.jsx(jp,{label:n.name,name:n.id,id:n.id,indeterminate:s,onChange:()=>e.onToggleItem(n,l||s),checked:!i&&l,className:"my-1",disabled:i},n.id)),Ea.hasManyFilterOptions(a)&&t.push(...a.map(d=>{var g;const h=i||d.disabled,p=!!((g=o==null?void 0:o.secondLayerSelection)!=null&&g.find(S=>S.id===d.id));return U.jsx(jp,{label:d.name,name:d.id,id:d.id,onChange:()=>e.onToggleChildItem(d,p,n),checked:!h&&p,className:"my-1 ms-3",disabled:h},d.id)}))}return U.jsx(U.Fragment,{children:t})}function kDe(e,t){var i,o;const r=((i=e==null?void 0:e.secondLayerSelection)==null?void 0:i.length)>0,n=((o=e==null?void 0:e.secondLayerSelection)==null?void 0:o.length)===t.length;return r&&!n}function DDe(e){var t;for(const r of e.filter.options){const n=e.filter.disabled||r.disabled,i=(t=e.draftState.selection)==null?void 0:t.find(s=>(s==null?void 0:s.id)===r.id),a=(r.secondLayerOptions??[]).map(s=>{var d;const l=n||s.disabled,c=!!((d=i==null?void 0:i.secondLayerSelection)!=null&&d.find(h=>h.id===s.id));return U.jsx(jp,{label:s.name,name:s.id,id:s.id,onChange:()=>e.onToggleChildItem(s,c,r),checked:!l&&c,className:"my-1",disabled:l},s.id)});return U.jsx(U.Fragment,{children:a})}}function LDe(e){const t=e.filter.options;function r(i,o){var c;const{selection:a}=e.draftState,s=a.findIndex(d=>d.id===i.id);if(!o){const d=(c=t==null?void 0:t.find(p=>p.id===i.id).secondLayerOptions)==null?void 0:c.filter(p=>!p.disabled),h={...i,secondLayerSelection:d};if(a.length===0||s===-1){const p=[...a,h];e.setDraftState({active:!0,selection:p});return}if(s!==-1){const p=a.map(g=>g.id===i.id?h:g);e.setDraftState({active:!!p.length,selection:p});return}}const l=Bn.removeItemFromIndex(a,a.findIndex(d=>d.id===i.id));e.setDraftState({active:!!l.length,selection:l})}function n(i,o,a){var d;const{selection:s}=e.draftState,l=s.findIndex(h=>h.id===a.id);if(!o){const h=[...((d=s[l])==null?void 0:d.secondLayerSelection)??[],i];if(s.length===0||l===-1){const p={...a,secondLayerSelection:h},g=[...s,p];e.setDraftState({active:!!g.length,selection:g});return}if(l!==-1){const p=s.map(g=>g.id===a.id?{...g,secondLayerSelection:h}:g);e.setDraftState({active:!!p.length,selection:p});return}}let c=s.map(h=>{if(h.id===a.id){const p=Bn.removeItem(h.secondLayerSelection,i);return{...a,secondLayerSelection:p}}return h});c[l].secondLayerSelection.length===0&&(c=Bn.removeItem(c,a)),e.setDraftState({active:!!c.length,selection:c})}return U.jsxs(U.Fragment,{children:[U.jsx(kf,{title:e.filter.name}),U.jsx($d,{className:"mb-3",children:Ea.hasManyFilterOptions(t)?U.jsx(PDe,{onToggleItem:r,onToggleChildItem:n,...e}):U.jsx(DDe,{onToggleChildItem:n,...e})})]})}function NDe(e){const t=e.draftState.active;function r(){e.setDraftState({active:!t})}return U.jsxs(U.Fragment,{children:[U.jsx(kf,{id:e.filter.id,title:e.filter.name}),U.jsxs("div",{className:"d-flex align-items-start justify-content-between",children:[U.jsx("p",{className:"d-inline-block w-75",children:e.filter.description}),U.jsx(G3,{id:e.filter.id,disabled:e.filter.disabled,onClick:r,on:t})]})]})}function MDe(e){function t(r){e.setDraftState({active:!r.default,selection:[r]})}return U.jsx(U.Fragment,{children:e.filter.options.map(r=>U.jsx(bo.Item,{onClick:()=>t(r),disabled:e.filter.disabled||r.disabled,children:r.name},r.id))})}const $De="_radioFilter_fxy7p_1",FDe={radioFilter:$De};function jDe(e){function t(r){e.setDraftState({active:!r.default,selection:[r]})}return U.jsxs(U.Fragment,{children:[U.jsx(kf,{title:e.filter.name}),U.jsx($d,{children:U.jsx("ul",{className:`${e.isOnMoreFilters?"d-flex flex-wrap":""} list-unstyled`,children:e.filter.options.map(r=>{var o;const n=e.filter.disabled||r.disabled,i=((o=Bn.first(e.draftState.selection))==null?void 0:o.id.toString())===r.id.toString();return U.jsx("li",{className:`${e.isOnMoreFilters?"w-50":""}`,children:U.jsx($d.Check,{type:"radio",label:r.name,name:r.id,id:r.id,value:r.id,onChange:()=>t(r),checked:!n&&i,className:`${FDe.radioFilter}`,disabled:n})},r.id)})})})]})}function UDe(e){const[t,r]=_ie({delay:1});if(Xt.useEffect(()=>{e.onHover(r?e.rating:null)},[r]),!e.rating.code)return U.jsx(U.Fragment,{});const n=U.jsx(Fd,{ref:t,className:e.getButtonClasses(e.rating,e.isActive,r),onClick:e.onClick,disabled:e.disabled,children:e.rating.code});return e.disabled?n:U.jsx(el,{title:e.rating.name,spanHack:!0,children:n})}Coe.defaultProps={selections:[]};function Coe(e){const[t,r]=Xt.useState([]);function n(s){return e.ratings.filter(l=>l.code&&l.value<=s.value)}function i(s){e.onSelectRange(n(s))}function o(s){if(!s||e.isDisabled(s)){r([]);return}}function a(s){return t.length?!!t.find(l=>l.id===s.id):!!e.selections.find(l=>l.id===s.id)}return U.jsx("div",{children:U.jsx(Lie,{as:"ul",className:"list-unstyled mb-0",children:e.ratings.map(s=>{var l;return U.jsx("li",{children:U.jsx(UDe,{rating:s,onClick:()=>i(s),onHover:o,isActive:a(s),disabled:e.disabled||((l=e.isDisabled)==null?void 0:l.call(e,s)),getButtonClasses:e.getButtonClasses})},s.id)})})})}const qDe="_firstButton_tcosn_1",VDe="_lastButton_tcosn_6",XQ={firstButton:qDe,lastButton:VDe};function HDe(e){const t=e.filter.options;function r(a){e.setDraftState({active:!!a.length,selection:a})}const n=t.filter(a=>a.code),[i]=n,o=n[n.length-1];return U.jsxs(U.Fragment,{children:[U.jsx(kf,{title:e.filter.name}),U.jsx("div",{className:"mb-2",children:U.jsx(Coe,{ratings:t,selections:e.draftState.selection,onSelectRange:r,disabled:e.filter.disabled,isDisabled:a=>a.disabled,getButtonClasses:(a,s,l)=>{let c="btn border text-nowrap";return s||l?c+=" btn-dark":c+=" btn-outline-dark",l&&(c+=" active"),n.length===1?c+=" rounded":i.id===a.id?c+=" "+XQ.firstButton:o.id===a.id?c+=" "+XQ.lastButton:c+=" rounded-0",c}})})]})}const Vg=["video","clip","interactive"],ep=["playlist","series","clip","classification","interactive","video","company","category"],Hg=["user"],BDe=["sort","classification","presentation","audience","yearGroup","moviesAndTv","type","rating","interactives","clips","classroom","hasResources","hasSubtitles","productionYear","isHd","producedByClickView","duration","tagOrClassification","status","isAdmin","bulkActionType","userType","filter","channel","dateBroadcast","categoryId","hasInteractives","jobStatus","source","customerStatus","specialEventType","customerType"],zDe={type:!0},WDe=BDe.reduce((e,t)=>({...e,[t]:!zDe[t]}),{});var Fu=(e=>(e.MyVideos="my-videos",e.School="school",e.ExchangeArchive="exchange-archive",e.ClickView="clickview",e))(Fu||{}),GDe=(e=>(e.Video="video",e.Series="series",e.Playlist="playlist",e.Classification="classification",e.Clip="clip",e.Interactive="interactive",e.Company="company",e.Category="category",e))(GDe||{}),ju=(e=>(e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive",e))(ju||{});const KDe="sharedSearch.utils",Bg=_r.encloseNamespace(KDe),tp=`${Fl.FILTER_PARAM_PREFIX}library`;function YDe(e){return e.reduce((t,r)=>({...t,[r.type]:!0}),{})}const XDe={getOptions(e){const{libraries:t,isLearner:r,isGuest:n,hasCustomLibraries:i}=e,o=[],a=YDe(t);return a[ju.Workspace]&&!n&&o.push({id:Fu.MyVideos,name:Bg("myVideos")}),a[ju.CustomLibrary]&&(!r||i)&&o.push({id:Fu.School,name:Bg("schoolVideos")}),a[ju.Exchange]&&o.push({id:Fu.ExchangeArchive,name:Bg("exchangeArchiveVideos")}),a[ju.HostedLibrary]&&o.push({id:Fu.ClickView,name:Bg("clickViewVideos")}),o},getBackendParamValue(e,t){return(Array.isArray(e)?e:[e]).reduce((n,i)=>t.reduce((o,a)=>{const s=o[tp]||[];return i===Fu.MyVideos&&a.type===ju.Workspace?{...o,[tp]:[...s,a.id.toString()]}:i===Fu.School&&a.type===ju.CustomLibrary?{...o,[tp]:[...s,a.id.toString()]}:i===Fu.ExchangeArchive&&a.type===ju.Exchange?{...o,[tp]:[...s,a.id.toString()]}:i===Fu.ClickView&&a.type===ju.HostedLibrary?{...o,[tp]:[...s,a.id.toString()]}:o},n),{})}},QDe={MULTI_PRESENTATION_THRESHOLD:2};var Toe=(e=>(e.CLICKVIEW_CURATED="is_clickview_curated",e.MOVIES_AND_TV="is_movies_and_tv",e.STREAMABLE_CURATED="is_streamable_learning_curated",e))(Toe||{}),Pc=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Active=1]="Active",e[e.Prospect=2]="Prospect",e[e.LostCustomer=3]="LostCustomer",e[e.Disabled=4]="Disabled",e[e.Other=5]="Other",e))(Pc||{}),kc=(e=>(e.Unclassified="Unclassified",e.Active="Active",e.Prospect="Prospect",e.LostCustomer="LostCustomer",e.Disabled="Disabled",e.Other="Other",e))(kc||{}),Es=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Primary=1]="Primary",e[e.Secondary=2]="Secondary",e[e.K12=3]="K12",e[e.Tertiary=4]="Tertiary",e[e.NonEducational=5]="NonEducational",e[e.Partners=6]="Partners",e[e.Internal=7]="Internal",e[e.Other=8]="Other",e[e.ClickView=254]="ClickView",e[e.System=255]="System",e))(Es||{}),ws=(e=>(e.Unclassified="Unclassified",e.Primary="Primary",e.Secondary="Secondary",e.K12="K12",e.Tertiary="Tertiary",e.NonEducational="NonEducational",e.Partners="Partners",e.Internal="Internal",e.Other="Other",e.ClickView="ClickView",e.System="System",e))(ws||{}),Hn=(e=>(e.Holiday="Holiday",e.SportingEvent="SportingEvent",e.Observance="Observance",e.NaturalDisaster="NaturalDisaster",e.HistoricalEvent="HistoricalEvent",e.BreakingNews="BreakingNews",e.Informal="Informal",e.ReligiousEvent="ReligiousEvent",e.Livestream="Livestream",e.Other="Other",e))(Hn||{}),ZDe=(e=>(e[e.Classification=0]="Classification",e[e.Livestream=1]="Livestream",e))(ZDe||{});const $u={[Hn.BreakingNews]:"Breaking news",[Hn.HistoricalEvent]:"Historical event",[Hn.Holiday]:"Holiday",[Hn.Informal]:"Informal",[Hn.Livestream]:"Livestream",[Hn.NaturalDisaster]:"Natural disaster",[Hn.Observance]:"Observance",[Hn.ReligiousEvent]:"Religious event",[Hn.SportingEvent]:"Sporting event",[Hn.Other]:"Other"};function dl(e){return U.jsx("div",{className:"alert text-dark bg-light-blue px-2 rounded-3",children:e.children})}const zg="userManager.bulkUserActivationActionInfo";function JDe(e){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:zg,phrase:"deactivate"})}),U.jsx("p",{children:U.jsx(yn,{namespace:zg,phrase:e.userType===yi.Learner?"deactivateInfoStudent":"deactivateInfoStaff"})}),U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:zg,phrase:"reactivate"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:zg,phrase:e.userType===yi.Learner?"reactivateInfoStudent":"reactivateInfoStaff"})})]})}const QQ="userManager.bulkUserActivationEmailActionInfo";function e2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:QQ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:QQ,phrase:"info"})})]})}const ZQ="userManager.addToClassroomActionInfo";function t2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:ZQ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:ZQ,phrase:"info"})})]})}const JQ="userManager.changeYearGroupActionInfo";function r2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:JQ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:JQ,phrase:"info"})})]})}const eZ="userManager.bulkUserDeleteActionInfo";function n2e(e){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:eZ,phrase:"delete"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:eZ,phrase:e.userType===yi.Learner?"infoStudent":"infoStaff"})})]})}const tZ="userManager.bulkUserRemoveActionInfo";function i2e(e){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:tZ,phrase:"remove"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:tZ,phrase:e.userType===yi.Learner?"infoStudent":"infoStaff"})})]})}const rZ="userManager.bulkUserResetEmailActionInfo";function a2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:rZ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:rZ,phrase:"info"})})]})}const nZ="userManager.bulkResetPasswordActionInfo";function o2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:nZ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:nZ,phrase:"info"})})]})}const iZ="userManager.bulkUserYearGroupRolloverActionInfo";function s2e(){return U.jsxs(dl,{children:[U.jsx("h4",{className:"h5",children:U.jsx(yn,{namespace:iZ,phrase:"heading"})}),U.jsx("p",{className:"mb-0",children:U.jsx(yn,{namespace:iZ,phrase:"info"})})]})}function u2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9m4.244 5.578a.77.77 0 0 0-1.058.068l-4.722 5.18-1.684-1.615a.77.77 0 0 0-1.06 0 .7.7 0 0 0 0 1.018l2.25 2.16a.77.77 0 0 0 1.094-.035l5.25-5.76a.7.7 0 0 0-.07-1.016"})})}const l2e="_badge_1yp84_1",c2e="_pending_1yp84_5",f2e="_active_1yp84_8",d2e="_name_1yp84_11",h2e="_username_1yp84_14",p2e="_avatarContainer_1yp84_26",v2e="_verifiedEmail_1yp84_31",cu={badge:l2e,pending:c2e,active:f2e,name:d2e,username:h2e,avatarContainer:p2e,verifiedEmail:v2e},sd="userManager.userList";function g2e(e){var t,r,n,i,o;return U.jsxs(U.Fragment,{children:[zs.getUserStatusFromValue(((t=e.user)==null?void 0:t.status)??e.status)===lu.Disabled&&U.jsx("div",{className:`text-white px-1 ${cu.badge} bg-danger ${e.className??""}`,children:U.jsx(yn,{namespace:sd,phrase:"deactivated"})}),zs.getUserStatusFromValue(((r=e.user)==null?void 0:r.status)??e.status)===lu.Inactive&&U.jsx("div",{className:`text-white px-1 ${cu.badge} ${cu.pending} ${e.className??""}`,children:U.jsx(el,{title:_r.getPhrase(sd,"pendingTooltip"),spanHack:!0,children:U.jsx(yn,{namespace:sd,phrase:"pending"})})}),e.showActiveBadge&&zs.getUserStatusFromValue(((n=e.user)==null?void 0:n.status)??e.status)===lu.Active&&U.jsx("div",{className:`text-white px-1 ${cu.badge} ${cu.active} ${e.className??""}`,children:U.jsx(el,{title:_r.getPhrase(sd,"active"),spanHack:!0,children:U.jsx(yn,{namespace:sd,phrase:"active"})})}),((i=e.user)==null?void 0:i.id.toString())===((o=e.currentUser)==null?void 0:o.id.toString())&&U.jsx("div",{className:`text-white px-1 ${cu.badge} bg-blue ${e.className??""}`,children:U.jsx(yn,{namespace:sd,phrase:"thatsYou"})})]})}const cO="userManager.userList";function m2e(e){var n;const{user:t,currentUser:r}=e;return U.jsxs("div",{className:`d-flex flex-column justify-content-center me-auto w-100 ${e.wrapperClassName}`,children:[U.jsxs("div",{className:"pb-1 d-flex align-items-center",children:[U.jsxs("div",{className:`d-flex ${cu.name}`,children:[t.name?U.jsxs("h2",{className:"h5 m-0 me-1 d-inline-block align-middle text-truncate",title:`${t.name} ${t.surname||""}`,children:[t.name," ",t.surname||""]}):U.jsx("span",{className:"fst-italic text-muted me-2",children:U.jsx(yn,{namespace:cO,phrase:"noName"})}),t.username&&U.jsxs(U.Fragment,{children:["(",U.jsx("p",{title:t.username,className:`m-0 d-inline-block align-middle text-truncate ${cu.username}`,children:t.username}),")"]})]}),U.jsx(g2e,{user:t,currentUser:r,className:"ms-2"})]}),U.jsxs("div",{className:"d-flex",children:[!!((n=t.metadata)!=null&&n.isEmailVerified)&&U.jsx(Jo,{className:`svg-container text-secondary ms-n1 ${cu.verifiedEmail}`,svg:u2e,title:_r.getPhrase(cO,"emailVerified"),tooltipSpanHack:!0,tooltipPlacement:"top"}),U.jsx("p",{className:"text-truncate mb-0 overflow-visible",children:t.email?t.email:U.jsx("span",{className:"fst-italic",children:U.jsx(yn,{namespace:cO,phrase:"noEmail"})})})]})]})}const aZ="userManager.userList";function y2e(e){var t,r,n,i,o,a,s,l,c,d,h;if(e.userType===yi.Learner)return(r=(t=e.user)==null?void 0:t.masterYearGroup)!=null&&r.name?(n=e.user)==null?void 0:n.masterYearGroup.name:(a=(o=(i=e.user)==null?void 0:i.yearGroups)==null?void 0:o.data)!=null&&a.length?Bn.first((s=e.user)==null?void 0:s.yearGroups.data).name:null;if(e.userType===yi.Staff)return((c=(l=e.user)==null?void 0:l.userProfile)==null?void 0:c.role)===Eo.Admin?_r.getPhrase(aZ,"admin"):((h=(d=e.user)==null?void 0:d.userProfile)==null?void 0:h.role)===Eo.SuperAdmin?_r.getPhrase(aZ,e.countryCode==="US"?"superAdminUs":"superAdmin"):null}function _2e(e){const t=e.badgeText||y2e(e);return t?U.jsx("div",{className:"rounded-pill border border-dark bg-white px-2 me-3 d-inline-block",children:t}):U.jsx(U.Fragment,{})}function S2e(e){var t;return U.jsx("div",{className:`${cu.avatarContainer} mx-2`,children:U.jsx(voe,{imageUrl:(t=e.user.avatar)==null?void 0:t.url,imageCdnUrl:e.imageCdnUrl,initials:zs.getInitials(e.user.name,e.user.surname)})})}function E2e(e){return U.jsxs("li",{className:"d-flex align-items-center p-2",children:[U.jsx(S2e,{user:e.user,imageCdnUrl:e.imageCdnUrl}),U.jsx(m2e,{user:e.user,currentUser:e.currentUser}),U.jsx(_2e,{userType:e.userType,user:e.user}),U.jsx("p",{className:"mb-0 mx-2 text-danger",children:e.errorMessage})]})}var _I=(e=>(e.Online="online",e.Primary="primary",e.Curator="curator",e))(_I||{});const w2e=Xt.createContext({});var yd=(e=>(e[e.Unknown=0]="Unknown",e[e.Staff=1]="Staff",e[e.Learner=2]="Learner",e[e.MasterVideo=3]="MasterVideo",e[e.Rostering=8]="Rostering",e[e.MarketingProfile=16]="MarketingProfile",e))(yd||{}),Vs=(e=>(e.YearGroupRollover="year-group-rollover",e.ChangeYearGroup="change-year-group",e.DeleteUser="delete-user",e.RemoveUser="remove-user",e.DeactivateUser="deactivate-user",e.ActivateUser="activate-user",e.AddToClassroom="add-to-classroom",e.ResetPassword="reset-password",e.SendResetPasswordEmail="send-reset-password-email",e.SendAccountActivationEmail="send-account-activation-email",e.CreateUser="create-user",e.AddToAudience="add-to-audience",e.AddToBackboneClassification="add-to-backbone-classification",e.AddToBackboneAudience="add-to-backbone-audience",e.AddToClassification="add-to-classification",e.AddToSeries="add-to-series",e.AddToDirector="add-to-director",e.AddToDistributor="add-to-distributor",e.AddToProductionCompany="add-to-production-company",e.AddToProducer="add-to-producer",e.SetProductionYear="set-production-year",e.AddToLibrary="add-to-library",e.AddToCurationTag="add-to-curation-tag",e.AddToSkillTag="add-to-skill-tag",e.AddToPedagogyTag="add-to-pedagogy-tag",e.AddToNormalTag="add-to-normal-tag",e.AddToHiddenTag="add-to-hidden-tag",e.AddResourceAndLink="add-resource-and-link",e.Rostering="rostering",e.MarketingProfile="marketing-profile",e))(Vs||{}),Hs=(e=>(e[e.NoAction=1]="NoAction",e[e.Succeed=1]="Succeed",e[e.Unknown=10]="Unknown",e[e.CustomerNotFound=100]="CustomerNotFound",e[e.UserNotFound=101]="UserNotFound",e[e.EmailNotVerified=131]="EmailNotVerified",e[e.UserDisabled=133]="UserDisabled",e[e.InvalidYearGroup=200]="InvalidYearGroup",e[e.MissingYearGroup=201]="MissingYearGroup",e[e.NewYearGroupNotSet=202]="NewYearGroupNotSet",e[e.ObjectNotFoundInBackboneClassification=300]="ObjectNotFoundInBackboneClassification",e[e.ObjectNotFoundInBackboneAudience=301]="ObjectNotFoundInBackboneAudience",e))(Hs||{}),Jr=(e=>(e[e.RolloverYearGroup=1]="RolloverYearGroup",e[e.DeactivateUser=2]="DeactivateUser",e[e.ChangeYearGroup=3]="ChangeYearGroup",e[e.DeleteUser=4]="DeleteUser",e[e.CreateUser=5]="CreateUser",e[e.ResetPassword=6]="ResetPassword",e[e.AddUsersClassroom=7]="AddUsersClassroom",e[e.SendAccountReminderEmail=8]="SendAccountReminderEmail",e[e.ActivateUser=9]="ActivateUser",e[e.AddToBackboneClassification=10]="AddToBackboneClassification",e[e.AddToClassification=11]="AddToClassification",e[e.AddToBackboneAudience=12]="AddToBackboneAudience",e[e.AddToAudience=13]="AddToAudience",e[e.AddVideosSeries=14]="AddVideosSeries",e[e.AddVideosDistributor=15]="AddVideosDistributor",e[e.AddVideosProductionCompany=16]="AddVideosProductionCompany",e[e.AddVideosProducer=17]="AddVideosProducer",e[e.AddVideosDirector=18]="AddVideosDirector",e[e.AddVideosLibrary=19]="AddVideosLibrary",e[e.AddVideosResourceAndLinks=21]="AddVideosResourceAndLinks",e[e.AddVideosTag=22]="AddVideosTag",e[e.SendAccountActivationEmail=23]="SendAccountActivationEmail",e[e.RemoveUser=24]="RemoveUser",e[e.Rostering=25]="Rostering",e[e.MarketingProfile=26]="MarketingProfile",e[e.SetProductionYear=28]="SetProductionYear",e))(Jr||{}),Aoe=(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))(Aoe||{});function b2e(e){const t=eo.getInstance(e);return me.useEffect(()=>()=>{eo.releaseInstance(e)}),t}function N8e(e){let t=null;return t=eo.getInstance(e),me.useEffect(()=>()=>{eo.releaseInstance(e)}),t}function C2e(e){return b2e(e)}function T2e(){const e=C2e(dv.ALERT);return{success(t){e.success(t)()},error(t){e.error(t)()},warning(t){e.createAlert({type:Ko.Warning,heading:lie.Warning,message:t})},info(t,r){e.createAlert({heading:t,message:r,type:Ko.Info})}}}function oZ(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.5 7A1.5 1.5 0 0 1 11 5.5h2A1.5 1.5 0 0 1 14.5 7h4a.5.5 0 0 1 0 1h-1.14q0 .045-.005.09l-.909 10a1 1 0 0 1-.996.91h-6.9a1 1 0 0 1-.996-.91l-.91-10A1 1 0 0 1 6.64 8H5.5a.5.5 0 0 1 0-1h4m4 0a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5zm2.971 1H7.53l.853 9.545A.5.5 0 0 0 8.88 18h6.24a.5.5 0 0 0 .498-.456zm-7.43 2.537a.499.499 0 1 1 .994-.077l.424 5.503a.498.498 0 1 1-.994.077zM11.5 10.5a.5.5 0 0 1 1 0V16a.5.5 0 0 1-1 0zm2.962-.5c-.26 0-.477.2-.497.46l-.424 5.503a.499.499 0 1 0 .994.077l.424-5.503a.5.5 0 0 0-.497-.537",clipRule:"evenodd"})})}function A2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M16.367 7.964c.821-.63 1.453-1.642 1.453-2.78a.486.486 0 0 0-.477-.493h-2.482c-1.264 0-2.367.535-2.933 1.61A4.1 4.1 0 0 0 10.6 4.734a4.16 4.16 0 0 0-1.903-.732c-.263-.02-.689.284-.707.556-.02.272.375.607.637.626.106.01 2.35.231 2.814 2.92-.561-.124-.927-.449-2.3-.449-2.143 0-4.054 1.713-4.054 5.037 0 3.438 2.726 7.31 4.53 7.31 1.73 0 1.63-.506 2.384-.506.758 0 .65.505 2.384.505 1.805 0 4.53-3.868 4.53-7.309 0-2.563-1.114-4.105-2.547-4.727zm-1.506-2.187 1.86-.098c-.222 1.125-1.192 1.65-2.336 1.777l-1.761.198c.221-1.126 1.087-1.816 2.237-1.877m1.69 11.277c-.83 1.286-1.718 1.76-2.167 1.76-.842 0-1.107-.13-1.363-.257-.235-.116-.502-.248-1.02-.248-.519 0-.786.132-1.022.248-.256.127-.52.257-1.363.257-1 0-3.378-2.903-3.378-6.123 0-2.99 1.472-3.852 2.901-3.852 1.367 0 1.491.364 2.384.476.001.314.23.511.477.511.248 0 .478-.198.477-.51.9-.114 1.012-.477 2.384-.477 1.43 0 2.901.863 2.901 3.852 0 1.384-.315 2.974-1.211 4.363"})})}function sZ(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M4 6.462C4 6.207 4.21 6 4.47 6h15.06c.26 0 .47.207.47.462v10.892a.653.653 0 0 1-.659.646H4.66A.653.653 0 0 1 4 17.354zm1.723.461 5.967 5.12a.48.48 0 0 0 .62 0l5.967-5.12zm13.336.556-6.13 5.26a1.43 1.43 0 0 1-1.859 0l-6.129-5.26v9.598H19.06z"})})}function R2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M4.007 5.007A1.73 1.73 0 0 1 5.23 4.5h3.077a1.73 1.73 0 0 1 1.384.692l1.327 1.77h7.75a1.73 1.73 0 0 1 1.731 1.73v8.616a1.73 1.73 0 0 1-1.73 1.73H5.23a1.73 1.73 0 0 1-1.73-1.73V6.23c0-.46.182-.9.507-1.224M5.23 5.5a.73.73 0 0 0-.731.73V9.5h15v-.808a.73.73 0 0 0-.73-.73h-8a.5.5 0 0 1-.4-.2l-1.478-1.97a.73.73 0 0 0-.584-.292zm14.269 5h-15v6.808a.73.73 0 0 0 .73.73h13.54a.73.73 0 0 0 .73-.73z"})})}function x2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",d:"M16.863 20c-.662 0-1.21-.567-1.21-1.252s.548-1.252 1.21-1.252c.663 0 1.21.567 1.21 1.252S17.527 20 16.864 20m0-1.441a.183.183 0 0 0-.182.189c0 .118.068.189.182.189.115 0 .183-.071.183-.19a.183.183 0 0 0-.183-.188m0-.118a.516.516 0 0 1-.502-.52v-6.19L11.75 9.158a.53.53 0 0 1-.205-.71c.137-.26.456-.354.685-.212l4.886 2.717a.57.57 0 0 1 .274.473v6.496a.52.52 0 0 1-.526.52m-4.908-4.205a.8.8 0 0 1-.229-.048L2.296 9.51A.55.55 0 0 1 2 9.014c0-.212.114-.401.297-.472l9.52-4.489a.47.47 0 0 1 .434 0l9.452 4.489a.55.55 0 0 1 .297.472.49.49 0 0 1-.297.473l-9.52 4.701a.8.8 0 0 1-.228.048m-8.22-5.198 8.22 4.087 8.288-4.087-8.22-3.898zm8.151 8.41c-4.749 0-6.644-2.905-6.712-3.047a.7.7 0 0 1-.092-.284V10.81c0-.283.229-.52.503-.52s.502.237.502.52v3.142c.388.496 2.077 2.434 5.776 2.434 3.653 0 5.548-1.938 6.005-2.457v-2.93c0-.284.228-.52.502-.52s.502.236.502.52v3.118a.6.6 0 0 1-.091.307c-.046.142-2.192 3.024-6.895 3.024"})})}function O2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.527 12.013a2.507 2.507 0 1 0 0-5.013 2.507 2.507 0 0 0 0 5.013m0-1.002a1.504 1.504 0 1 1 0-3.008 1.504 1.504 0 0 1 0 3.008m-7.269 1.323a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512m0-3.51a1.253 1.253 0 1 1 0 2.508 1.253 1.253 0 0 1 0-2.507M4.18 15.35c1.552-2.633 4.699-2.595 6.592-1.46a.502.502 0 0 1-.516.86c-1.588-.952-4.035-.888-5.212 1.11a.25.25 0 0 0 .01.285c.068.098.202.18.372.18h4.587a.501.501 0 1 1 0 1.004H5.426c-.496 0-.938-.242-1.195-.612a1.25 1.25 0 0 1-.051-1.367m9.045-2.03a6 6 0 0 1 2.302-.504c2.344 0 3.865 1.4 4.398 2.859.164.448.044.884-.225 1.19-.26.293-.653.464-1.064.464h-6.217a1.46 1.46 0 0 1-1.068-.457 1.22 1.22 0 0 1-.288-1.172c.351-1.254 1.265-1.978 2.162-2.38m.41.915c-.724.325-1.361.859-1.607 1.736q-.034.119.058.22c.07.075.191.135.333.135h6.217c.142 0 .254-.06.313-.126.048-.055.06-.11.035-.18-.397-1.084-1.556-2.2-3.457-2.2-.386 0-1.16.087-1.892.415",clipRule:"evenodd"})})}function I2e(e){return U.jsx("svg",{...e,children:U.jsx("path",{d:'M12.335 4C14.7258 4.00011 16.6631 5.90392 16.6631 8.26074C16.6629 9.95954 15.6586 11.3904 13.877 12.2334L15.2314 13.5742C15.4776 13.8297 15.4899 14.2192 15.2373 14.4619L13.7734 15.8994L14.7773 16.8828C15.0235 17.1318 15.0366 17.5149 14.7842 17.7705L12.7822 19.7441C12.523 19.9933 12.153 19.9618 11.8809 19.7383L10.8252 18.8252C10.6373 18.6591 10.5723 18.4158 10.5723 18.2051V12.1758C8.99791 11.4924 8.00018 9.97233 8 8.26074C8 5.89108 9.9246 4 12.335 4ZM12.335 5.02832C10.5078 5.02832 9.03711 6.47232 9.03711 8.26074C9.03732 9.79975 10.0929 11.096 11.6152 11.4346V18.0264L12.335 18.7285L13.7471 17.3174L12.8271 16.4229V15.3633L14.2012 14.0283L12.9307 12.7695V11.4795C14.5568 11.0963 15.6199 9.78709 15.6201 8.26074C15.6201 6.47238 14.1556 5.02843 12.335 5.02832ZM12.3496 5.875C13.125 5.875 13.7559 6.50584 13.7559 7.28125C13.7559 8.05666 13.125 8.6875 12.3496 8.6875C11.5744 8.68728 10.9434 8.05652 10.9434 7.28125C10.9434 6.50598 11.5744 5.87522 12.3496 5.875ZM12.3496 6.8125C12.0913 6.81272 11.8809 7.02291 11.8809 7.28125C11.8809 7.53959 12.0913 7.74978 12.3496 7.75C12.6081 7.75 12.8184 7.53972 12.8184 7.28125C12.8184 7.02278 12.6081 6.8125 12.3496 6.8125Z" fill="#313543'})})}const mr=_r.encloseNamespace("userManager.utils");Jr.ActivateUser,Jr.AddUsersClassroom,Jr.ChangeYearGroup,Jr.DeactivateUser,Jr.DeleteUser,Jr.ResetPassword,Jr.RolloverYearGroup,Jr.SendAccountReminderEmail,Jr.CreateUser,Jr.SendAccountActivationEmail,Jr.RemoveUser;const bs={getSteps(e,t,r,n){var a,s;const i=[{id:"select-action",text:mr("choose"),appLink:r==null?void 0:r.bulkActionsSelectAction},{id:"action-details",text:mr("details"),appLink:(a=r==null?void 0:r.bulkActionsActionDetails)==null?void 0:a[n],disabled:!((s=r==null?void 0:r.bulkActionsActionDetails)!=null&&s[n])},{id:"confirmation",text:mr("confirmation")},{id:"status",text:mr("status")}],o={id:"review-accounts",text:mr(e===yi.Learner?"reviewStudents":"reviewStaff"),subText:mr(e===yi.Learner?"reviewSubTextStudents":"reviewSubTextStaff",{smartCount:t}),appLink:r==null?void 0:r.bulkActionsReviewAccounts};return typeof t!="number"&&delete o.subText,i.unshift(o),i},getActionOptions({userType:e,allowYearGroupRollover:t,countsByStatus:r,client:n,products:i,yearGroups:o,hasClassroomsFeature:a}){const s=[];s.push({order:40,id:"activation",icon:R2e,name:mr("deactivateReactivate"),infoComponent:()=>U.jsx(JDe,{userType:e})});const l=!(r!=null&&r.Disabled)&&!(r!=null&&r.Inactive);return(n!==_I.Primary||(i==null?void 0:i.includes(Ro.Online)))&&s.push({order:50,id:"delete",icon:oZ,name:mr("delete"),infoComponent:()=>U.jsx(n2e,{userType:e}),disabled:l,tooltip:l?mr("deleteDisabledTooltip"):""}),n!==_I.Online&&!(i!=null&&i.includes(Ro.Online))&&s.push({order:50,id:"removeFromSchool",icon:oZ,name:mr("removeFromSchool"),infoComponent:()=>U.jsx(i2e,{userType:e}),disabled:l,tooltip:l?mr("removeFromSchoolDisabledTooltip"):""}),e===yi.Learner&&((o==null?void 0:o.length)>1&&s.push({order:20,id:"changeYearGroup",icon:O2e,name:mr("changeYearGroup"),infoComponent:()=>U.jsx(r2e,{})}),s.push({order:30,id:"resetPassword",icon:I2e,name:mr("resetPassword"),infoComponent:()=>U.jsx(o2e,{})}),s.push({order:35,id:"activationEmail",icon:sZ,name:mr("activationEmail"),infoComponent:()=>U.jsx(e2e,{})}),a&&s.push({order:60,id:"addToClassroom",icon:A2e,name:mr("addToClassroom"),infoComponent:()=>U.jsx(t2e,{})}),(o==null?void 0:o.length)>1&&s.push({order:70,id:"yearGroupRollover",icon:x2e,name:mr("yearGroupRollover"),infoComponent:()=>U.jsx(s2e,{}),disabled:!(t!=null&&t.canRollover),tooltip:L2e(t)})),e===yi.Staff&&s.push({order:60,id:"resetEmail",icon:sZ,name:mr("resetEmail"),infoComponent:()=>U.jsx(a2e,{})}),s.sort((h,p)=>h.order-p.order)},mapSubActionToDisplayName(e){switch(e){case"yearGroupRollover":return mr("yearGroupRolloverDisplayName");case"changeYearGroup":return mr("changeYearGroupDisplayName");case"deactivate":return mr("deactivateDisplayName");case"reactivate":return mr("reactivateDisplayName");case"delete":return mr("deleteDisplayName");case"addToClassroom":return mr("addToClassroomDisplayName");case"resetPassword":return mr("resetPasswordDisplayName");case"resetEmail":return mr("resetEmailDisplayName");case"activationEmail":return mr("activationEmailDisplayName");case"removeFromSchool":return mr("removeFromSchoolDisplayName");default:return""}},getWizardAppLinks(e){const t=Object.keys(e.bulkActionsActionDetails).map(i=>e.bulkActionsActionDetails[i]),r=Object.keys(e.bulkActionsConfirmation).map(i=>e.bulkActionsConfirmation[i]),n=Object.keys(e.bulkActionsStatus).map(i=>e.bulkActionsStatus[i]);return[e.bulkActionsReviewAccounts,e.bulkActionsSelectAction,...t,...r,...n]},getErrorListItem(e,t,r){const n=this.getUserErrorMessage(e.errorCode);return U.jsx(E2e,{user:e,userType:e.userType,imageCdnUrl:t,errorMessage:n,currentUser:r})},getUserErrorMessage(e){switch(e){case Hs.NoAction:case Hs.Succeed:return"";case Hs.InvalidYearGroup:return mr("invalidYearGroupError");case Hs.MissingYearGroup:return mr("missingYearGroupError");case Hs.NewYearGroupNotSet:return mr("yearGroupUpdateError");case Hs.EmailNotVerified:return mr("emailNotVerifiedError");case Hs.UserDisabled:return mr("userDeactivatedError");case Hs.Unknown:case Hs.CustomerNotFound:case Hs.UserNotFound:default:return mr("genericUnexpectedError",{errorCode:e})}},getCreateJobRequestData(e,t,r,n){switch(e.subAction){case"yearGroupRollover":return{name:Vs.YearGroupRollover,type:Jr.RolloverYearGroup,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:P2e(e,t)};case"changeYearGroup":return{name:Vs.ChangeYearGroup,type:Jr.ChangeYearGroup,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:k2e(e)};case"delete":return{name:Vs.DeleteUser,type:Jr.DeleteUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"removeFromSchool":return{name:Vs.RemoveUser,type:Jr.RemoveUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"deactivate":return{name:Vs.DeactivateUser,type:Jr.DeactivateUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:M2e(e,n)};case"reactivate":return{name:Vs.ActivateUser,type:Jr.ActivateUser,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"addToClassroom":return{name:Vs.AddToClassroom,type:Jr.AddUsersClassroom,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:N2e(e)};case"resetPassword":return{name:Vs.ResetPassword,type:Jr.ResetPassword,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:D2e(e)};case"resetEmail":return{name:Vs.SendResetPasswordEmail,type:Jr.SendAccountReminderEmail,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};case"activationEmail":return{name:Vs.SendAccountActivationEmail,type:Jr.SendAccountActivationEmail,dataType:bs.mapUserTypeToDataType(r),customerId:t,metadata:Bu(e)};default:vr.throw(new Cn(`No handler for type ${e.subAction} in BulkUserActionsHelper.getCreateJobRequestData`))}return null},useSetWizardConfirmationCallback(e){const{setOnClickConfirm:t}=Xt.useContext(w2e),[r]=Tv(N1.BULK_USER_ACTIONS);Xt.useEffect(()=>{t(()=>e)},[r==null?void 0:r.subAction])},useCreateJobErrorAlert(){const e=T2e();return()=>{e.error(mr("failedToCreateJob"))}},mapDataTypeToUserType(e){switch(e){case yd.Staff:return yi.Staff;case yd.Learner:return yi.Learner;default:return yi.Unknown}},mapUserTypeToDataType(e){switch(e){case yi.Learner:return yd.Learner;case yi.Staff:return yd.Staff;case yi.Unknown:return yd.Unknown}},getActionTypeFilterOptions(){return[{id:Jr.ActivateUser,name:mr("activate")},{id:Jr.DeactivateUser,name:mr("deactivate")},{id:Jr.DeleteUser,name:mr("deleteUser")},{id:Jr.RolloverYearGroup,name:mr("yearGroupRollover")},{id:Jr.ChangeYearGroup,name:mr("changeYearGroup")},{id:Jr.CreateUser,name:mr("createUser")},{id:Jr.ResetPassword,name:mr("resetPassword")},{id:Jr.SendAccountReminderEmail,name:mr("resetEmail")},{id:Jr.AddUsersClassroom,name:mr("addToClassroom")},{id:Jr.SendAccountActivationEmail,name:mr("activationEmail")},{id:Jr.RemoveUser,name:mr("removeFromSchool")}]},getUserTypeFilterOptions(){return[{id:yi.Staff,name:mr("staff")},{id:yi.Learner,name:mr("students")}]},mapSubActionToVerb(e){return e==="delete"?"Delete":e==="removeFromSchool"?"Remove":e==="resetEmail"||e==="activationEmail"?"Email":e==="addToClassroom"?"Add":"Update"},mapJobTypeToName(e){switch(e){case Jr.ActivateUser:return mr("activate");case Jr.AddUsersClassroom:return mr("addToClassroom");case Jr.ChangeYearGroup:return mr("changeYearGroup");case Jr.DeactivateUser:return mr("deactivate");case Jr.DeleteUser:return mr("delete");case Jr.ResetPassword:return mr("resetPassword");case Jr.RolloverYearGroup:return mr("yearGroupRollover");case Jr.SendAccountReminderEmail:return mr("sendAccountReminderEmail");case Jr.CreateUser:return mr("bulkUpload");case Jr.SendAccountActivationEmail:return mr("sendAccountActivationEmail");case Jr.RemoveUser:return mr("removeUser");default:return mr("unknown")}},hasFilterOrQuery(e){return!!(e.query||e.isAdmin||e.status||e.yearGroup)}};function Bu(e){return{batchObjectIds:[...e.userIdMap.keys()],fullBatchObjects:void 0}}function P2e(e,t){return{fullBatchObjects:{source:"UserApi",ownerId:t,objectType:Aoe.User,query:`{userType:${yi.Learner}}`},finalYearGroupId:e.yearGroup.id}}function k2e(e){const t=Bu(e);return t.newYearGroupId=e.yearGroup.id,t}function D2e(e){const t=Bu(e);return t.newPassword=e.password,t.changeOnNextLogin=e.changeOnNextLogin,t}function L2e(e){if(e.canRollover)return"";switch(e.reason){case"select-all-students":return mr("selectAllStudents");case"cooldown":return mr("rolloverCooldown",{date:xo.format(e.lastRolloverDate,"DD/MM/YYYY")})}}function N2e(e){const t=Bu(e);return t.classroomIds=[e.classroom.id],t}function M2e(e,t){var n;const r=Bu(e);return t!=null&&t.id&&(r.batchObjectIds=((n=r.batchObjectIds)==null?void 0:n.filter(i=>i.toString()!==t.id.toString()))??[]),r}const $2e="search.durationFilter";function F2e(e){let t="";switch(e.id){case"bite-sized":t="rangeBiteSized";break;case"short":t="rangeShort";break;case"medium":t="rangeMedium";break;case"long":t="rangeLong";break}return _r.getPhrase($2e,t)}function j2e(e){return U.jsxs("li",{className:"d-flex flex-fill flex-column align-items-center mb-2 mb-md-0 mx-1",children:[U.jsx("button",{onClick:()=>e.onClick(e.option),className:`btn w-100 text-center btn-${e.active?"dark":"outline-dark"} mb-1`,disabled:e.disabled,children:e.option.name}),U.jsx("span",{children:F2e(e.option)})]})}function U2e(e){const t=Bn.first(e.draftState.selection);function r(n){if((t==null?void 0:t.id)===n.id){e.setDraftState({active:!1,selection:[]});return}e.setDraftState({active:!0,selection:[n]})}return U.jsxs(U.Fragment,{children:[U.jsx(kf,{title:e.filter.name}),U.jsx("ul",{className:"d-flex list-unstyled flex-column flex-md-row mx-n1 mb-2",children:e.filter.options.map(n=>U.jsx(j2e,{option:n,onClick:r,active:(t==null?void 0:t.id)===n.id,disabled:e.filter.disabled||n.disabled},n.id))})]})}const q2e=me.createContext(null);function M8e(e,t){switch(t.type){case"update":return t.payload;default:return e}}const V2e="_icon_bcwaq_1",H2e="_activeIcon_bcwaq_5",B2e="_text_bcwaq_11",z2e="_floatingIcon_bcwaq_14",W2e="_active_bcwaq_5",ud={icon:V2e,activeIcon:H2e,text:B2e,floatingIcon:z2e,default:"_default_bcwaq_18",active:W2e},G2e="search.moviesAndTvFilter";function K2e(e){const t=e.filter,{state:r}=Xt.useContext(q2e),n=r[t.id],i=n==null?void 0:n.active,[o,a]=Xt.useState(!1),s=Xt.useRef(o);Xt.useEffect(()=>{i!==s.current&&(s.current=i),o!==s.current&&a(s.current)},[i]);function l(c){Ea.applyFilter([t],n,{[e.filter.id]:c},r.appLink)}return U.jsxs(Fd,{onClick:()=>{a(!i),l({active:!i})},className:`mx-1 btn ${i?"btn-dark":"btn-outline-dark"} position-relative fw-semibold d-flex align-items-center flex-shrink-0`,children:[U.jsx("img",{src:e.iconUrl,className:`${ud.icon} position-absolute ${i?ud.activeIcon:""}`}),U.jsx("div",{className:ud.text,children:U.jsx(yn,{namespace:G2e,phrase:"title"})}),U.jsx("img",{src:e.extraIconUrl,className:`position-absolute ${ud.floatingIcon} ${o?ud.active:ud.default}`})]})}function Y2e(e){const t={};for(const r of e.filter.options)r.group&&(t[r.group]||(t[r.group]=[]),t[r.group].push(r));return U.jsx($d,{className:"mb-3",children:Object.entries(t).map(([r,n])=>U.jsxs("ul",{className:"list-unstyled",children:[U.jsx(kf,{title:r}),U.jsx(boe,{filter:e.filter,options:n,draftState:e.draftState,setDraftState:e.setDraftState,displayOptionsIn2Columns:!1})]},r))})}const X2e={deriveInitialClassificationFilterStateFromQueryParams(e,t){var r;return((r=e==null?void 0:e.options)==null?void 0:r.filter(n=>n.id.split(":").every(o=>t.find(s=>s.toString()===o.toString()))))??[]}},Q2e="sharedSearch.utils",Wg=_r.encloseNamespace(Q2e),Roe={getOptions(){return[{id:"bite-sized",name:Wg("durationBiteSized")},{id:"short",name:Wg("durationShort")},{id:"medium",name:Wg("durationMedium")},{id:"long",name:Wg("durationLong")}]},getBackendParamValue(e){switch(e){case"bite-sized":return"...179999";case"short":return"180000...299999";case"medium":return"300000...899999";case"long":return"900000..."}}},Z2e={deriveInitialPresentationFilterStateFromQueryParams:(e,t,r)=>EI(e,t).map(n=>{const i=r.audience;if(!(i!=null&&i.length))return n;const o=EI(n.secondLayerOptions,i);return{...n,secondLayerSelection:o}}).filter(n=>{var i;return!!((i=n.secondLayerSelection)!=null&&i.length)})},J2e="sharedSearch.utils",Gg=_r.encloseNamespace(J2e),xoe={getOptions(){return[{id:"any-year",name:Gg("anyYear"),default:!0},{id:"this-year",name:Gg("thisYear")},{id:"last-3-years",name:Gg("last3Years")},{id:"last-5-years",name:Gg("last5Years")}]},getBackendParamValue(e){const t=new Date().getFullYear();switch(e){case"any-year":return"";case"this-year":return`${t}...`;case"last-3-years":return`${t-3}...`;case"last-5-years":return`${t-5}...`}}},SI={deriveInitialRatingFilterStateFromQueryParams(e,t){if(Array.isArray(e))return e;const r=t.options,n=uZ(e,r);if(!n.length)return[];const i=Bn.last(n);return r.filter(o=>o.value>0&&o.value<=i.value)},getFrontendParamValue(e){if(!(e!=null&&e.length))return"";const t=Bn.first(e),r=Bn.last(e);return e.length===1?t.code:`${t.code}-to-${r.code}`},getBackendParamValue(e,t){const r=uZ(e,t);return r.length?r.length===1?`0...${Bn.first(r).value}`:`0...${Bn.last(r).value}`:void 0},getStudentMaxRating(e,t){var n;const r=Bn.findWhere(e,{value:(n=t.masterYearGroup)==null?void 0:n.value});return r==null?void 0:r.rating}};function uZ(e,t){const n=e.split("-to-").map(i=>t.find(o=>o.code===i));return n.every(i=>!!i)?n:[]}const eLe="sharedSearch.utils",Cs={"featured-result":1,"topic-list":8,company:8,"playlist-with-videos":1,"series-with-videos":1,"series-thumbnail":1,"playlist-thumbnail":1,"video-item":1,"companies-and-topics":16},tLe="curriculumCode",$8e={flattenResults(e){return e?e.results?{...e,results:Bn.flatten(e.results)}:{...e,results:[]}:null},getContextualSearchQueryParams(e){if(!e||!e.get("filterParam"))return{};const t=e.get("filterParam"),r=e.get("filterValue");return{[t]:r}},mapMaxScoreToSearchResults(e,t){return e.map(r=>t?{...r,_maxScore:t}:r)},groupResults(e,t,r,n,i){var c,d;if(!(e!=null&&e.length)&&!((c=t==null?void 0:t.results)!=null&&c.length)&&!((d=r==null?void 0:r.results)!=null&&d.length))return[];const[o,...a]=e,s=i.xs||i.sm,l=rLe(o,t,r,n,s);return a!=null&&a.length?nLe(a,l,s):l}};function Ooe(e,t){var r;if(e._index==="video"||e._index==="interactive"||e._index==="clip")return"video-item";if(e._index==="series")return(r=e.tallPoster)!=null&&r.id&&!t?"series-with-videos":"series-thumbnail";if(e._index==="classification")return"topic-list";if(e._index==="playlist")return t?"playlist-thumbnail":"playlist-with-videos"}function rLe(e,t,r,n,i){var c,d,h;const o=i?"playlist-thumbnail":"playlist-with-videos",a=i?"series-thumbnail":"series-with-videos",s=[{type:"companies-and-topics",items:[...((c=r==null?void 0:r.results)==null?void 0:c.slice(0,Cs.company))??[],...((d=t==null?void 0:t.results)==null?void 0:d.slice(0,Cs["topic-list"]))??[]]},{type:"featured-result",items:oa.isEmpty(n)?[]:[n]},{type:"video-item",items:[]},{type:"video-item",items:[]},{type:"video-item",items:[]},{type:o,items:[]},{type:a,items:[]},{heading:_r.getPhrase(eLe,"relatedTopics"),type:"topic-list",items:((h=t==null?void 0:t.results)==null?void 0:h.slice(Cs["topic-list"],Cs["topic-list"]*2))??[]}];let l=!1;return e==null||e.forEach(p=>{const g=Ooe(p,i);if(p._featured&&!l&&p._index==="video"){l=!0;return}if(s[2].items.length<Cs["video-item"]&&g==="video-item"){s[2].items.push(p);return}if(s[3].items.length<Cs["video-item"]&&g==="video-item"){s[3].items.push(p);return}if(s[4].items.length<Cs["video-item"]&&g==="video-item"){s[4].items.push(p);return}if(s[5].items.length<Cs[o]&&g===o){s[5].items.push(p);return}if(s[6].items.length<Cs[a]&&g===a){s[6].items.push(p);return}const S=s[s.length-1];if((S==null?void 0:S.type)===g){const E=Cs[g];S.items.length>=E?s.push({type:g,items:[p]}):S.items.push(p)}else s.push({type:g,items:[p]})}),s.filter(p=>{var g;return(g=p.items)==null?void 0:g.length})}function nLe(e,t,r){return e&&e.forEach(n=>{const i=t[t.length-1];let o=!0;n.forEach(a=>{const s=Ooe(a,r);if(o&&i.type===s)i.items.length>=Cs[s]?(o=!1,t.push({type:s,items:[a]})):i.items.push(a);else{const l=t[t.length-1];(l==null?void 0:l.type)===s?l.items.length>=Cs[s]?t.push({type:s,items:[a]}):l.items.push(a):t.push({type:s,items:[a]})}})}),t}const ar=_r.encloseNamespace("sharedSearch.utils"),iLe={classification:!0,categoryId:!0,channel:!0},lZ={series:!0,video:!0,playlist:!0,classification:!0,clip:!0,interactive:!0,company:!0,category:!0},fO={SortBy:(e,t)=>({id:"sort",name:ar("newest"),type:"dropdown",options:e,compatibleIndices:[...ep,...Hg],labelPrefix:t}),Presentation:(e,t)=>({id:"presentation",secondaryId:"audience",name:ar("schoolLevels"),type:"nested-checkbox",options:aLe(e),compatibleIndices:t?["playlist","series","clip","interactive","video","company","category"]:ep}),Topics:e=>({compatibleIndices:["playlist","series","clip","classification","interactive","video"],options:e,type:"checkbox",name:ar("topicsFilter"),id:"classification"}),Source:e=>({id:"source",type:"checkbox",name:ar("sources"),options:e,compatibleIndices:["video","clip","interactive","category"]}),MoviesAndTv:(e,t)=>({id:"moviesAndTv",name:ar("moviesAndTv"),type:"button",compatibleIndices:["video","series","clip","interactive","classification","playlist","company"],customComponent:r=>U.jsx(K2e,{...r,filter:r.filter,iconUrl:e,extraIconUrl:t})}),YearGroup:e=>({id:"yearGroup",name:ar("yearGroup"),type:"checkbox",options:e,compatibleIndices:Hg}),ObjectTypes:(e=[],t=!1)=>({id:"type",name:ar("types"),type:t?"grouped-checkbox":"checkbox",options:Ea.getObjectTypeOptions(e,t),disableOptions:Ea.getIsObjectTypeOptionDisabled,compatibleIndices:ep}),Rating:(e,t)=>({id:"rating",name:ar("rating"),type:"rating",options:e&&t?e.filter(r=>r.value<=t.value):e,compatibleIndices:["video","series"]}),Interactives:()=>({id:"interactives",name:ar("interactives"),type:"switch",description:ar("interactivesDescription"),compatibleIndices:["video","clip"]}),Clips:()=>({id:"clips",name:ar("clips"),type:"switch",description:ar("clipsDescription"),compatibleIndices:["video"]}),HasResources:()=>({id:"hasResources",name:ar("resources"),type:"switch",description:ar("resourcesDescription"),compatibleIndices:["video","clip"]}),HasSubtitles:()=>({id:"hasSubtitles",name:ar("subtitles"),type:"switch",description:ar("subtitlesDescription"),compatibleIndices:Vg}),ProductionYear:()=>({id:"productionYear",name:ar("productionYear"),type:"radio",options:xoe.getOptions(),compatibleIndices:[...Vg,"series"]}),IsHD:()=>({id:"isHd",name:ar("isHd"),type:"switch",description:ar("isHdDescription"),compatibleIndices:Vg}),IsClickViewContent:()=>({id:"producedByClickView",name:ar("producedByClickView"),type:"switch",description:ar("producedByClickViewDescription"),compatibleIndices:ep}),Duration:()=>({id:"duration",name:ar("duration"),type:"radio",customComponent:U2e,options:Roe.getOptions(),compatibleIndices:Vg}),TagOrClassification:e=>({id:"tagOrClassification",type:"tag",options:e&&e.map(t=>({id:t,name:t})),compatibleIndices:ep}),Status:e=>({id:"status",name:ar("status"),type:"checkbox",compatibleIndices:[...Hg,"customer"],options:e||Ea.getStatusOptions()}),JobStatus:()=>({id:"jobStatus",name:ar("status"),type:"checkbox",compatibleIndices:[],options:Ea.getJobStatusOptions()}),IsAdmin:(e,t)=>{const r=!!(e!=null&&e.organisation),i=ar(r?t==="US"?"isAdminDescriptionOrgUs":"isAdminDescriptionOrg":"isAdminDescription");return{id:"isAdmin",name:ar("isAdmin"),type:"switch",compatibleIndices:Hg,description:i}},BulkActionType:()=>({id:"bulkActionType",name:ar("actionType"),type:"checkbox",options:bs.getActionTypeFilterOptions(),compatibleIndices:[]}),UserType:()=>({id:"userType",name:ar("users"),type:"checkbox",options:bs.getUserTypeFilterOptions(),compatibleIndices:[]}),TvFields:()=>({id:"filter",name:ar("tvFields"),type:"radio",options:Ea.getTvFieldsOptions(),compatibleIndices:[]}),TvChannel:e=>({id:"channel",name:ar("tvChannel"),type:"checkbox",options:Ea.getTvChannelOptions(e),compatibleIndices:[]}),TvDateBroadcast:()=>({id:"dateBroadcast",name:ar("tvDateBroadcast"),type:"radio",options:Ea.getTvDateBroadcastOptions(),compatibleIndices:[]}),Categories:e=>({id:"categoryId",name:ar("categories"),type:"checkbox",options:Ea.getCategoriesOptions(e),compatibleIndices:[]}),CustomerStatus:()=>({id:"customerStatus",name:ar("customerStatus"),type:"radio",options:Ea.getCustomerStatusOptions(),compatibleIndices:[]}),SpecialEventTypes:()=>({id:"specialEventType",type:"checkbox",name:"Event Type",compatibleIndices:[],options:Ea.getSpecialEventTypeOptions()}),CustomerType:()=>({id:"customerType",name:ar("customerType"),type:"radio",options:Ea.getCustomerTypeOptions(),compatibleIndices:[]})};function aLe(e){return e?e.map(t=>({...t,id:t.id.toString(),secondLayerOptions:t.audiences.map(r=>({...r,id:r.id.toString()}))})):[]}const Ea={displayTwoLayers(e){return!(e.type!=="nested-checkbox"||!this.hasManyFilterOptions(e.options)||e.options.every(t=>!this.hasManyFilterOptions(t==null?void 0:t.secondLayerOptions)))},hasManyFilterOptions(e){return e.length>=QDe.MULTI_PRESENTATION_THRESHOLD},displayTwoColumns(e){var t;return iLe[e.id]&&((t=e.options)==null?void 0:t.length)>=Fl.MAX_CHECKBOXES_PER_COLUMN},showPresentationFilter(e){var t,r;return(t=e.options)!=null&&t.length?e.options.length>1||((r=Bn.first(e.options).secondLayerOptions)==null?void 0:r.length)>1:!1},getMoreFilters(e){return{id:"moreFilters",name:ar("moreFilters"),type:"more-filters",filters:e}},mapTypeToComponent(e){switch(e){case"switch":return t=>U.jsx(NDe,{...t},t.id);case"checkbox":return t=>U.jsx(IDe,{...t},t.id);case"nested-checkbox":return t=>U.jsx(LDe,{...t},t.id);case"grouped-checkbox":return t=>U.jsx(Y2e,{...t},t.id);case"radio":return t=>U.jsx(jDe,{...t},t.id);case"rating":return t=>U.jsx(HDe,{...t},t.id);case"dropdown":return t=>U.jsx(MDe,{...t},t.id);default:return()=>U.jsx(U.Fragment,{})}},deriveInitialStateFromQuery(e={},t=null,r=null,n){var s,l,c,d,h,p,g,S;const i={sort:{active:!!e.sort,selection:bi(e,t,"sort")},classification:{active:!!e.classification,selection:bi(e,t,"classification")},presentation:{active:!!e.presentation,selection:bi(e,t,"presentation")},type:{active:!!e.type,selection:bi(e,t,"type")},specialEventType:{active:!!e.specialEventType,selection:bi(e,t,"specialEventType")},rating:{active:!!e.rating,selection:bi(e,t,"rating")},interactives:{active:((s=e.interactives)==null?void 0:s.toString())==="true"},clips:{active:((l=e.clips)==null?void 0:l.toString())==="true"},yearGroup:{active:!!e.yearGroup,selection:bi(e,t,"yearGroup")},moviesAndTv:{active:((c=e.moviesAndTv)==null?void 0:c.toString())==="true"},classroom:{active:!!e.classroom,selection:bi(e,t,"classroom")},audience:{active:!!e.audience,selection:bi(e,t,"audience")},hasResources:{active:((d=e.hasResources)==null?void 0:d.toString())==="true"},hasSubtitles:{active:((h=e.hasSubtitles)==null?void 0:h.toString())==="true"},productionYear:{active:!!e.productionYear,selection:bi(e,r==null?void 0:r.filters,"productionYear")},isHd:{active:((p=e.isHd)==null?void 0:p.toString())==="true"},producedByClickView:{active:((g=e.producedByClickView)==null?void 0:g.toString())==="true"},duration:{active:e.duration,selection:bi(e,r==null?void 0:r.filters,"duration")},tagOrClassification:{active:!!e.tagOrClassification,selection:bi(e,t,"tagOrClassification")},status:{active:!!e.status,selection:bi(e,t,"status")},jobStatus:{active:!!e.jobStatus,selection:bi(e,t,"jobStatus")},isAdmin:{active:((S=e.isAdmin)==null?void 0:S.toString())==="true"},bulkActionType:{active:!!e.bulkActionType,selection:bi(e,t,"bulkActionType")},userType:{active:!!e.userType,selection:bi(e,t,"userType")},filter:{active:!!e.filter,selection:bi(e,t,"filter")},channel:{active:!!e.channel,selection:bi(e,t,"channel")},dateBroadcast:{active:!!e.dateBroadcast,selection:bi(e,t,"dateBroadcast")},categoryId:{active:!!e.categoryId,selection:bi(e,t,"categoryId")},hasInteractives:{active:!!e.hasInteractives,selection:bi(e,t,"hasInteractives")},source:{active:!!e.source,selection:bi(e,t,"source")},customerStatus:{active:!!e.customerStatus,selection:bi(e,t,"customerStatus")},customerType:{active:!!e.customerType,selection:bi(e,t,"customerType")}},o=(E,_)=>{var b;const w=i[_.id];return w.active&&"selection"in w&&!((b=w.selection)!=null&&b.length)&&(w.active=!1),E[_.id]=i[_.id],E},a=t.reduce(o,{});return r!=null&&r.filters&&(a.moreFilters=r.filters.reduce(o,{})),a.appLink=n,a},hasActiveFilters(e){const t=Object.keys(e);return t.length?!!t.filter(n=>!(n==="query"||n==="cursor"||n==="page"||n===tLe||Array.isArray(e[n])&&!e[n].length)).length:!1},getLabel(e,t){var r,n;if(!((r=t==null?void 0:t.selection)!=null&&r.length))return e.name;if(e.type==="dropdown")return Bn.first(t.selection).name;if(e.type==="radio"){const i=Bn.first(t.selection);return!i||i.default?e.name:i.name}if(e.type==="nested-checkbox"||e.type==="checkbox"||e.type==="grouped-checkbox"){if(e.options.find(o=>o.default&&t.selection.find(a=>a.id===o.id)))return e.name;if(e.secondaryId){const o=(n=t.selection)==null?void 0:n.reduce((a,s)=>{var d,h;const l=e.options,c=l.findIndex(p=>p.id===s.id);return((d=l[c].secondLayerOptions)==null?void 0:d.length)===0?a+1:a+(((h=s.secondLayerSelection)==null?void 0:h.length)??0)},0);return`${e.name} - ${o}`}return`${e.name} - ${t.selection.length}`}if(e.type==="rating"){if(!t.selection.length)return e.name;const i=Bn.first(t.selection),o=Bn.last(t.selection);return t.selection.length===1?`${e.name}: ${i.code}`:`${e.name}: ${i.code} to ${o.code}`}},buildFrontendFilterParams(e,t){const r={...e};return t.forEach(n=>{var l,c;if(!(n!=null&&n.filter))return;const{id:i,type:o}=n.filter,{active:a,selection:s}=n.state;switch(o){case"switch":r[i]=a?"true":"";break;case"radio":case"dropdown":const d=((l=n.state.selection)==null?void 0:l.length)===1&&((c=Bn.first(n.state.selection))==null?void 0:c.default);r[i]=n.state.selection.length&&!d?Bn.first(n.state.selection).id:"";break;case"nested-checkbox":r[i]=a?s.map(g=>g.id):null;const{secondaryId:h}=n.filter;h&&(r[h]=[].concat(...s.map(g=>g.secondLayerSelection.map(S=>S.id))));break;case"checkbox":case"grouped-checkbox":if(!a){r[i]=null;break}const p=[];for(const g of s){const S=g.id.toString().split(":");if(S.length>1)for(const E of S)p.push(E);else p.push(g.id)}r[i]=p;break;case"tag":r[i]=a?s.map(g=>g.id):null;break;case"rating":r[i]=a?SI.getFrontendParamValue(s):null;break;case"button":r[i]=a?"true":"";break}r[i]||delete r[i]}),oa.omit(r,["cursor"])},buildBackendFilterParams(e,t=[],r,n,i){const o=n?{"filters.presentation":r,isLearner:n}:{};return Object.keys(e).reduce((a,s)=>{const l=e[s];return Array.isArray(l)&&!l.length||!l||!WDe[s]?a:s==="rating"?(a[`${Fl.FILTER_PARAM_PREFIX}${s}`]=SI.getBackendParamValue(l,t),a):s==="productionYear"?(a[`${Fl.FILTER_PARAM_PREFIX}${s}`]=xoe.getBackendParamValue(l),a):s==="duration"?(a[`${Fl.FILTER_PARAM_PREFIX}${s}`]=Roe.getBackendParamValue(l),a):s==="moviesAndTv"?(a[`${Fl.FILTER_PARAM_PREFIX}curationTag`]=Toe.MOVIES_AND_TV,a):s==="source"?{...a,...XDe.getBackendParamValue(l,i)}:(a[`${Fl.FILTER_PARAM_PREFIX}${s}`]=l,a)},o)},getAppliedIndices(e={},t=!1){const{type:r}=e,n=["category"];function i(a){return(t||!n.includes(a))&&lZ[a]}if(r){if(!Array.isArray(r))return[r].filter(i);if(r.length)return r.filter(i)}const o=[];return t&&o.push(...n),e.source?["video","clip","interactive",...o]:["series","video","playlist","classification","clip","interactive","company",...o]},applyFilter(e,t,r,n){if(oa.isEqual(t,r))return;const o=Object.keys(r).map(s=>{var h,p;const l=e.find(g=>g.id===s),c=r[s],d=((h=c.selection)==null?void 0:h.length)===1&&((p=Bn.first(c.selection))==null?void 0:p.default);return{filter:l,state:{active:c.active&&!d,selection:c.selection}}}),a=Mn.GetQuery();Fn.trigger({...n,params:Ea.buildFrontendFilterParams(a,o)},{replace:!0})},mixinDisabledFields(e,t,r,n){let i=[...r,...(n==null?void 0:n.filters)??[]];i=oLe(e,i,t),i=sLe(e,i);const o={mainFilters:i.filter(a=>r.find(s=>s.id===a.id))};return n!=null&&n.filters&&(o.moreFilters={...n,filters:i.filter(a=>n.filters.find(s=>s.id===a.id))}),o},logFilterEvent(e,t,r,n,i){var a;const o=[];e==null||e.forEach(s=>{const l=r[s.id];l.active&&o.push({type:s.id,selection:l.selection})}),(a=t==null?void 0:t.filters)==null||a.forEach(s=>{const l=r.moreFilters[s.id];l.active&&o.push({type:s.id,selection:l.selection})}),o.length||(i.descriptor=Sie.Reset),Ti.logUserAction({query:n??"",filters:o},Ti.mergeOptions(i,{workflowPhase:Oo.Complete,actionType:It.Filter}))},getObjectTypeOptions(e=[],t){return t?[{id:"video",name:ar("videos"),group:ar("videoTypes")},{id:"interactive",name:ar("interactives"),group:ar("videoTypes")},{id:"clip",name:ar("clips"),group:ar("videoTypes")},{id:"classification",name:ar("topics"),group:ar("collections")},{id:"series",name:ar("series"),group:ar("collections")},{id:"playlist",name:ar("playlists"),group:ar("collections")},{id:"category",name:ar("category"),group:ar("collections")}].filter(r=>!e.find(n=>n===r.id)):[{id:"classification",name:ar("topics")},{id:"playlist",name:ar("playlists")},{id:"series",name:ar("series")},{id:"video",name:ar("videos")},{id:"clip",name:ar("clips")},{id:"interactive",name:ar("interactives")}].filter(r=>!e.find(n=>n===r.id))},getIsObjectTypeOptionDisabled(e,t,r){return e.map(n=>{let i=!1;return t.forEach(o=>{var s;if(i)return;const a=r[o.id]||r.moreFilters[o.id];!(a!=null&&a.active)||!((s=o.compatibleIndices)!=null&&s.length)||o.compatibleIndices.find(l=>n.id===l)||(i=!0)}),{...n,disabled:i}})},getNameSortOptions(){return[{id:"newest",name:ar("newest")},{id:"oldest",name:ar("oldest")},{id:"first-name-atoz",name:ar("firstNameAToZ")},{id:"first-name-ztoa",name:ar("firstNameZToA")},{id:"surname-atoz",name:ar("surnameAToZ")},{id:"surname-ztoa",name:ar("surnameZToA")}]},getYearGroupOptions(e){return e!=null&&e.length?e.map(t=>({id:t.value.toString(),name:t.name})):[]},getStatusOptions(){return[{id:"active",name:ar("active")},{id:"deactivated",name:ar("deactivated")},{id:"pending",name:ar("pending")}]},getJobStatusOptions(){return[{id:"completed",name:ar("completed")},{id:"failed",name:ar("errored")},{id:"inProgress",name:ar("inProgress")}]},getTvFieldsOptions(){return[{id:"0",name:ar("allFields"),default:!0},{id:"1",name:ar("titleDescriptionField")},{id:"2",name:ar("captionsField")}]},getTvChannelOptions(e){return e!=null&&e.length?e.map(t=>({id:t.name,name:t.name})):[]},getTvDateBroadcastOptions(){return[{id:"any-time",name:ar("anyTime"),default:!0},{id:"yesterday",name:ar("yesterday")},{id:"last-week",name:ar("lastWeek")},{id:"last-2-weeks",name:ar("last2Weeks")}]},getCustomerStatusOptions(){return[{id:Pc.Unclassified.toString(),name:kc.Unclassified},{id:Pc.Active.toString(),name:kc.Active},{id:Pc.Prospect.toString(),name:kc.Prospect},{id:Pc.LostCustomer.toString(),name:kc.LostCustomer},{id:Pc.Disabled.toString(),name:kc.Disabled},{id:Pc.Other.toString(),name:kc.Other}]},getCustomerTypeOptions(){return[{id:Es.Unclassified.toString(),name:ws.Unclassified},{id:Es.Primary.toString(),name:ws.Primary},{id:Es.Secondary.toString(),name:ws.Secondary},{id:Es.K12.toString(),name:ws.K12},{id:Es.Tertiary.toString(),name:ws.Tertiary},{id:Es.NonEducational.toString(),name:ws.NonEducational},{id:Es.Partners.toString(),name:ws.Partners},{id:Es.Internal.toString(),name:ws.Internal},{id:Es.Other.toString(),name:ws.Other},{id:Es.ClickView.toString(),name:ws.ClickView},{id:Es.System.toString(),name:ws.System}]},getCategoriesOptions(e){return e!=null&&e.length?e.map(t=>({id:t.data.id,name:t.data.name})):[]},getSpecialEventTypeOptions(){return[{id:Hn.BreakingNews,name:$u[Hn.BreakingNews]},{id:Hn.SportingEvent,name:$u[Hn.SportingEvent]},{id:Hn.Observance,name:$u[Hn.Observance]},{id:Hn.NaturalDisaster,name:$u[Hn.NaturalDisaster]},{id:Hn.HistoricalEvent,name:$u[Hn.HistoricalEvent]},{id:Hn.Holiday,name:$u[Hn.Holiday]},{id:Hn.Informal,name:$u[Hn.Informal]},{id:Hn.ReligiousEvent,name:$u[Hn.ReligiousEvent]},{id:Hn.Other,name:$u[Hn.Other]}]}};function bi(e,t=[],r){var o;const n=t.find(a=>a.id===r);if(!n)return[];if(!e[r])return((o=n.options)==null?void 0:o.filter(a=>a.default))??[];if(r==="rating")return SI.deriveInitialRatingFilterStateFromQueryParams(e[r],n);let i=e[r];return Array.isArray(i)||(i=[i]),r==="classification"?X2e.deriveInitialClassificationFilterStateFromQueryParams(n,i):r==="presentation"?Z2e.deriveInitialPresentationFilterStateFromQueryParams(n.options,i,e):EI(n.options,i)}function EI(e,t){return Array.isArray(t)||(t=[t]),(e==null?void 0:e.filter(r=>t.find(n=>n.toString()===r.id.toString())))??[]}function oLe(e,t,r){const n=r.reduce((i,o)=>(i[o]=!0,i),{});return t.map(i=>{var s;if(!((s=i.compatibleIndices)!=null&&s.length))return i;if(!i.compatibleIndices.find(l=>n[l]))return{...i,disabled:!0};const o=Object.keys(e).filter(l=>{const c=e[l];return"active"in c?c.active:!1});let a=!1;return o.forEach(l=>{var h;if(a)return;const c=t.find(p=>p.id===l);if(!((h=c.compatibleIndices)!=null&&h.length))return;const d=c.compatibleIndices.reduce((p,g)=>(p[g]=!0,p),{});i.compatibleIndices.find(p=>d[p])||(a=!0)}),{...i,disabled:a}})}function sLe(e,t){return t.map(r=>{if(!Ai.isFunction(r.disableOptions))return r;const n=r.disableOptions(r.options,t,e);return{...r,options:n}})}const dO={classification:(e,t)=>({application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION,args:[e==null?void 0:e.id,jl.slugify(e==null?void 0:e.name)],params:t||{}}),classificationDirectory:e=>({application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION_TOPICS,params:e||{}}),videoType:e=>({application:ur.VIDEOS,action:Cr.Videos.PLAY_VIDEO,args:[e.id,jl.slugify(e.name)]}),allTopics:()=>({application:ur.SUBJECTS,action:Cr.Subjects.CLASSIFICATION_ALL}),widgetVideoList:(e,t)=>({application:ur.DASHBOARD,action:Cr.Dashboard.DASHBOARD_WIDGET,args:[e,jl.slugify(t)]}),company:e=>({application:ur.DASHBOARD,action:Cr.Dashboard.COMPANY_DASHBOARD,args:[e.id,jl.slugify(e.name)]}),discover:()=>({application:ur.DASHBOARD,action:Cr.Dashboard.HOME}),calendar:()=>({application:ur.CALENDAR,action:Cr.Calendar.CALENDAR}),calendarMonth:(e,t)=>{const r={application:ur.CALENDAR,action:Cr.Calendar.CALENDAR_MONTH,args:[e.toLowerCase()]};return t&&(r.params={year:t}),r},livestream:e=>({application:ur.LIVESTREAMS,action:Cr.Livestreams.LIVESTREAM,args:[e==null?void 0:e.id,jl.slugify(e==null?void 0:e.name)]}),search:(e,t)=>({application:ur.SEARCH,action:Cr.Search.HOME,params:{...t,query:e}}),resource:(e,t)=>({application:ur.VIDEOS,action:Cr.Videos.PREVIEW_PDF,args:[e.id],params:{videoId:t}}),tag:e=>({application:ur.SEARCH,action:Cr.Search.HOME,params:{tagOrClassification:e.name}})},wo={getAppLinks(){return{getVideoAppLink:dO.videoType,getPlaylistAppLink:()=>null,getSeriesAppLink:()=>null,getCompanyAppLink:dO.company,getClassificationAppLink:dO.classification,getCollectionActions:()=>[],getPreviewQuestionsAppLink:()=>null}},isSearchAppLink(e){return e.application===ur.SEARCH&&e.action===Cr.Search.HOME},useReferrerAppLink(){const e={application:ur.DASHBOARD,action:Cr.Dashboard.HOME},[t,r]=me.useState(e),n=Gl.getCurrentRoute();return me.useEffect(()=>{wo.isSearchAppLink(n.appLink)||r(n.appLink)},[n.appLink.application,n.appLink.action]),t},triggerAppLink(e,t={},r){let n={};t=r?oa.omit(t,["query"]):{},e&&(n.query=jl.removeExtraSpace(e)),Object.keys(t).length&&(n={...n,...t}),Fn.trigger({application:ur.SEARCH,action:Cr.Search.HOME,params:n},{replace:r})},getInitialQuery(){var t;const e=Gl.getCurrentRoute().appLink;return wo.isSearchAppLink(e)?((t=e.params)==null?void 0:t.query)??"":""},isValidSearch(e,t){var o,a,s;if(e!=null&&e.trim())return!0;if(!wo.isSearchAppLink(t))return!1;const r=(o=t==null?void 0:t.params)==null?void 0:o.tagOrClassification,n=(a=t==null?void 0:t.params)==null?void 0:a.rating,i=(s=t==null?void 0:t.params)==null?void 0:s.moviesAndTv;return Array.isArray(r)?!!r.length:!!(r!=null&&r.length)||!!(n!=null&&n.length)||!!(i!=null&&i.length)},getQuery(e){return e.query?e.query:e.tagOrClassification?(Array.isArray(e.tagOrClassification)?e.tagOrClassification:[e.tagOrClassification]).join(" "):""},getFilters(e,t){var o,a;if(!e.hasDataLoaded||!t.hasCompleted)return null;const{schoolLevels:r,availableTopics:n}=e;return{mainFilters:[fO.Topics((o=n.data)==null?void 0:o.topics.map(s=>({name:s.name,id:s.topicIds.join(":")}))),fO.Presentation((a=r.data)==null?void 0:a.schoolLevels),fO.TagOrClassification(t.data)].filter(Boolean)}},getAppliedIndices(e={}){const{type:t}=e;if(t){if(!Array.isArray(t))return[t];if(t.length)return t}return["video"]},getBackendFilters(e){if(!e.hasDataLoaded)return null;const{queryParams:t,currentPresentationId:r,streamableLibraryId:n}=e,i=Ea.buildBackendFilterParams(t,null,[r],!1,[]);n&&(i[`${Fl.FILTER_PARAM_PREFIX}library`]=[n]);const o=wo.getAppliedIndices(e.queryParams).filter(a=>a!=="classification"&&a!=="company");return{queryParams:t,backendFilters:i,appliedIndices:o}}},uLe="_container_nptlg_1",lLe="_searchBar_nptlg_6",cZ={container:uLe,searchBar:lLe},cLe="search.streamableSearchBar",fLe=_r.encloseNamespace(cLe),dLe=200;function hLe(e){var _;const t=Xt.useMemo(wo.getInitialQuery,[]),[r,n]=Xt.useState(t),[i,o]=Xt.useState(!1),[a,s]=Tv(N1.SHOW_SEARCH_MASK,!1),l=woe(r,e.queryDebounceTime),c=Gl.getCurrentRoute(),d=c.appLink,h=wo.isSearchAppLink(d),p=Xt.useRef(null),g=wo.useReferrerAppLink(),{log:S}=ODe({query:r,indices:wo.getAppliedIndices(d.params),analyticsOptions:{actionType:It.Search,entity:dn.SearchResults,location:aa.SearchBar}});function E(){s(!0),window.setTimeout(()=>{s(!1),Fn.trigger(g,{replace:!0})},dLe)}return Xt.useEffect(()=>{if(!(!h&&!r)){if(i){window.setTimeout(()=>o(!1),0);return}!h&&r&&!a&&s(!0)}},[r==null?void 0:r.trim(),i]),Xt.useEffect(()=>{wo.isValidSearch(r,d)||!h||E()},[(_=d.params)==null?void 0:_.tagOrClassification]),Xt.useEffect(()=>{const w={...d.params};l.trim()&&(w!=null&&w.tagOrClassification)&&!c.pageLoad&&delete w.tagOrClassification;const b=wo.isValidSearch(r,d);if(!b&&h)return E();b&&(Ti.logUserAction({query:r,indices:wo.getAppliedIndices(d.params)},{actionType:It.InstantSearch,entity:dn.SearchResults,location:aa.SearchBar,workflowPhase:Oo.Complete}),wo.triggerAppLink(r,w,h))},[l]),Lae(jr.Radio.channel(_n.SHELL),An.URL_CHANGE,w=>{var b,x,A;w||(w=Gl.getCurrentRoute().appLink),r&&!wo.isSearchAppLink(w)&&(o(!0),n(""),(x=(b=p.current)==null?void 0:b.resetQuery)==null||x.call(b)),wo.isSearchAppLink(w)&&((A=w.params)==null?void 0:A.query)!==!r&&n(w.params.query??"")},[r,n]),U.jsxs("form",{className:`${cZ.searchBar} form-control ps-1 pe-0 d-flex align-items-center border-0`,onSubmit:w=>w.preventDefault(),children:[U.jsx(Jo,{svg:K3}),U.jsx("div",{className:"w-100 d-flex align-items-center ps-1",children:U.jsx(Eoe,{renderAsForm:!1,onQueryChange:n,placeholder:fLe("placeholder"),onSuggestionSelected:null,searchIconPlacement:!1,initialQuery:t,autoFocusInput:e.autoFocus,theme:{container:cZ.container,input:"p-0 border-0 h-100"},onBlur:w=>w&&S(w),controlsRef:p})}),e.showCloseButton&&U.jsx(Qm,{svg:_oe,onClick:e.onClickClose,className:"btn btn-link"})]})}const pLe="_nav_qrvb9_1",vLe="_headerLeft_qrvb9_10",gLe="_searchBarContainer_qrvb9_13",mLe="_searchBarPadding_qrvb9_21",yLe="_searchBarWrapper_qrvb9_30",_Le="_actionButtons_qrvb9_55",ld={nav:pLe,headerLeft:vLe,searchBarContainer:gLe,searchBarPadding:mLe,searchBarWrapper:yLe,actionButtons:_Le},fZ="streamableShared.header",SLe=300,ELe=600,dZ={application:ur.DASHBOARD,action:Cr.Dashboard.HOME},wLe={application:ur.DEFAULT,action:Cr.Default.CONTACT_US_POPUP};function bLe({showNav:e}){var _,w,b;const[t,r]=Xt.useState(!1),n=Qi(Ks.config()),i=Qi(oi.currentUser()),{hasPermissions:o,isLoaded:a}=Av(),s=Nke(),l=b4e({showNav:e}),c=s.sm||s.xs,d=(c||s.md)&&!t;Xt.useEffect(()=>{!s.sm&&!s.xs&&!s.md&&t&&r(!1)},[s,t]);const h=(_=i.data)!=null&&_.isAuthenticated?SLe:ELe,p=Fn.getHref(Fn.getCurrentAppLink()),g=p!=="/"?{redirectUrl:p}:{},S=e&&((w=i.data)==null?void 0:w.isAuthenticated)&&a&&!o(Ws.StudentExperience);function E(){var A;return!(!e||(A=i.data)!=null&&A.isAuthenticated||Fn.getCurrentAppLink().action===Cr.Default.CONTACT_US)}return U.jsxs(U.Fragment,{children:[U.jsx(S4e,{}),U.jsx("nav",{className:`navbar navbar-expanded ps-4 w-100 ${ld.nav}`,children:U.jsxs("div",{className:"container-fluid",children:[!t&&U.jsx("div",{className:`d-flex align-items-center justify-content-start ${ld.headerLeft}`,children:U.jsx(Yo,{appLink:dZ,className:"navbar-brand py-0",analyticsData:{url:Fn.getHref(dZ)},analyticsOptions:{actionType:It.Click,entity:dn.Url,location:aa.TopNav,descriptor:Wc.ClickViewLogo},children:U.jsx(d4e,{})})}),e&&U.jsxs(U.Fragment,{children:[U.jsx("div",{className:`ms-auto me-3 ${d?"d-flex":"d-none"} align-items-center gap-3`,children:U.jsx(Fd,{onClick:()=>r(!0),className:"text-white",children:U.jsx(Jo,{svg:K3,size:jd.Large})})}),U.jsx("div",{className:`${ld.searchBarContainer} ${t?"px-4":""} ${d?"d-none":"d-block"}`,children:U.jsx("div",{className:`container ${ld.searchBarPadding} ${t?"px-0 mw-100":""}`,children:i.data&&U.jsx("div",{className:ld.searchBarWrapper,children:U.jsx(hLe,{recentSearchKey:`recent:search:${((b=i.data)==null?void 0:b.id)??"public"}`,queryDebounceTime:h,showCloseButton:t,onClickClose:()=>r(!1),autoFocus:t})})})})]}),!t&&U.jsxs("div",{className:`d-flex align-items-center justify-content-end gap-3 me-4 ${ld.actionButtons}`,children:[S&&U.jsxs(Yo,{appLink:{application:ur.DEFAULT,action:Cr.Default.GIVE_FEEDBACK},className:`btn ${c?"p-0 border-0 text-white":"btn-outline-dark"}`,children:[c&&U.jsx(Jo,{svg:$ke,size:jd.Large}),!c&&U.jsx(yn,{namespace:fZ,phrase:"giveFeedback"})]}),E()&&U.jsx(Yo,{appLink:wLe,className:"text-white",children:U.jsx(yn,{namespace:fZ,phrase:"contactUsLink"})}),!!n.data&&U.jsx(s4e,{productId:Ro.StreamableLearning,additionalItems:l(),appLinks:{signOut:{application:ur.DEFAULT,action:Cr.Default.LOG_OUT,params:g},signIn:{application:ur.DEFAULT,action:Cr.Default.CHALLENGE,params:g}}})]})]})})]})}function CLe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!Ai.isFunction(e.onClick)&&!e.disabled)return U.jsx(Yo,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(Ai.isFunction(e.onClick)&&e.onClick(),e.appLink&&Fn.trigger(e.appLink),Ti.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?U.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):U.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return U.jsx(Qm,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const TLe="_image_12gb5_1",ALe="_small_12gb5_6",hZ={image:TLe,small:ALe};Ioe.defaultProps={size:"medium"};function Ioe(e){return U.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${hZ.image} ${e.size==="small"?hZ.small:""} ${e.className??""}`})}fu.defaultProps={className:"pt-5"};function fu(e){return U.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}fu.Image=e=>U.jsx(Ioe,{...e});fu.Cta=e=>U.jsx(CLe,{...e});fu.Heading=e=>U.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});fu.Info=e=>e.injectHtml?U.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):U.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});const hO={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var Dc=(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))(Dc||{});function RLe(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 Poe={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=Mn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Fn.getCurrentAppLink(),n=RLe(r.params,e.allowedParams);let i=Fn.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),va.safeUrlConcat(t,i)}};function Z3(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Df=Z3();function koe(e){Df=e}const Ep={exec:()=>null};function Wn(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(to.caret,"$1"),r=r.replace(i,a),n},getRegex:()=>new RegExp(r,t)};return n}const to={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")},xLe=/^(?:[ \t]*(?:\n|$))+/,OLe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ILe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Rv=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,PLe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Doe=/(?:[*+-]|\d{1,9}[.)])/,Loe=Wn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Doe).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(),J3=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,kLe=/^[^\n]+/,ek=/(?!\s*\])(?:\\.|[^\[\]\\])+/,DLe=Wn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ek).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),LLe=Wn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Doe).getRegex(),$1="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",tk=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,NLe=Wn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",tk).replace("tag",$1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Noe=Wn(J3).replace("hr",Rv).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$1).getRegex(),MLe=Wn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Noe).getRegex(),rk={blockquote:MLe,code:OLe,def:DLe,fences:ILe,heading:PLe,hr:Rv,html:NLe,lheading:Loe,list:LLe,newline:xLe,paragraph:Noe,table:Ep,text:kLe},pZ=Wn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rv).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$1).getRegex(),$Le={...rk,table:pZ,paragraph:Wn(J3).replace("hr",Rv).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",pZ).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",$1).getRegex()},FLe={...rk,html:Wn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",tk).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:Ep,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Wn(J3).replace("hr",Rv).replace("heading",` *#{1,6} *[^
|
|
154
|
+
]`).replace("lheading",Loe).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},jLe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ULe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Moe=/^( {2,}|\\)\n(?!\s*$)/,qLe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,F1=/[\p{P}\p{S}]/u,nk=/[\s\p{P}\p{S}]/u,$oe=/[^\s\p{P}\p{S}]/u,VLe=Wn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,nk).getRegex(),Foe=/(?!~)[\p{P}\p{S}]/u,HLe=/(?!~)[\s\p{P}\p{S}]/u,BLe=/(?:[^\s\p{P}\p{S}]|~)/u,zLe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,joe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,WLe=Wn(joe,"u").replace(/punct/g,F1).getRegex(),GLe=Wn(joe,"u").replace(/punct/g,Foe).getRegex(),Uoe="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",KLe=Wn(Uoe,"gu").replace(/notPunctSpace/g,$oe).replace(/punctSpace/g,nk).replace(/punct/g,F1).getRegex(),YLe=Wn(Uoe,"gu").replace(/notPunctSpace/g,BLe).replace(/punctSpace/g,HLe).replace(/punct/g,Foe).getRegex(),XLe=Wn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$oe).replace(/punctSpace/g,nk).replace(/punct/g,F1).getRegex(),QLe=Wn(/\\(punct)/,"gu").replace(/punct/g,F1).getRegex(),ZLe=Wn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),JLe=Wn(tk).replace("(?:-->|$)","-->").getRegex(),e5e=Wn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",JLe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ty=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,t5e=Wn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ty).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),qoe=Wn(/^!?\[(label)\]\[(ref)\]/).replace("label",ty).replace("ref",ek).getRegex(),Voe=Wn(/^!?\[(ref)\](?:\[\])?/).replace("ref",ek).getRegex(),r5e=Wn("reflink|nolink(?!\\()","g").replace("reflink",qoe).replace("nolink",Voe).getRegex(),ik={_backpedal:Ep,anyPunctuation:QLe,autolink:ZLe,blockSkip:zLe,br:Moe,code:ULe,del:Ep,emStrongLDelim:WLe,emStrongRDelimAst:KLe,emStrongRDelimUnd:XLe,escape:jLe,link:t5e,nolink:Voe,punctuation:VLe,reflink:qoe,reflinkSearch:r5e,tag:e5e,text:qLe,url:Ep},n5e={...ik,link:Wn(/^!?\[(label)\]\((.*?)\)/).replace("label",ty).getRegex(),reflink:Wn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ty).getRegex()},wI={...ik,emStrongRDelimAst:YLe,emStrongLDelim:GLe,url:Wn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},i5e={...wI,br:Wn(Moe).replace("{2,}","*").getRegex(),text:Wn(wI.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Kg={normal:rk,gfm:$Le,pedantic:FLe},rp={normal:ik,gfm:wI,breaks:i5e,pedantic:n5e},a5e={"&":"&","<":"<",">":">",'"':""","'":"'"},vZ=e=>a5e[e];function uu(e,t){if(t){if(to.escapeTest.test(e))return e.replace(to.escapeReplace,vZ)}else if(to.escapeTestNoEncode.test(e))return e.replace(to.escapeReplaceNoEncode,vZ);return e}function gZ(e){try{e=encodeURI(e).replace(to.percentDecode,"%")}catch{return null}return e}function mZ(e,t){var o;const r=e.replace(to.findPipe,(a,s,l)=>{let c=!1,d=s;for(;--d>=0&&l[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(to.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(to.slashPipe,"|");return n}function np(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 o5e(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 yZ(e,t,r,n,i){const o=t.href,a=t.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const l={type:"link",raw:r,href:o,title:a,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}return{type:"image",raw:r,href:o,title:a,text:s}}function s5e(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
|
|
155
|
+
`).map(o=>{const a=o.match(r.other.beginningSpace);if(a===null)return o;const[s]=a;return s.length>=i.length?o.slice(i.length):o}).join(`
|
|
156
|
+
`)}class ry{constructor(t){ii(this,"options");ii(this,"rules");ii(this,"lexer");this.options=t||Df}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:np(n,`
|
|
157
|
+
`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=s5e(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=np(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:np(r[0],`
|
|
158
|
+
`)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=np(r[0],`
|
|
159
|
+
`).split(`
|
|
160
|
+
`),i="",o="";const a=[];for(;n.length>0;){let s=!1;const l=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))l.push(n[c]),s=!0;else if(!s)l.push(n[c]);else break;n=n.slice(c);const d=l.join(`
|
|
161
|
+
`),h=d.replace(this.rules.other.blockquoteSetextReplace,`
|
|
162
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
|
|
163
|
+
${d}`:d,o=o?`${o}
|
|
164
|
+
${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 g=a.at(-1);if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const S=g,E=S.raw+`
|
|
165
|
+
`+n.join(`
|
|
166
|
+
`),_=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((g==null?void 0:g.type)==="list"){const S=g,E=S.raw+`
|
|
167
|
+
`+n.join(`
|
|
168
|
+
`),_=this.list(E);a[a.length-1]=_,i=i.substring(0,i.length-g.raw.length)+_.raw,o=o.substring(0,o.length-S.raw.length)+_.raw,n=E.substring(a.at(-1).raw.length).split(`
|
|
169
|
+
`);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 s=!1;for(;t;){let c=!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(`
|
|
170
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),g=t.split(`
|
|
171
|
+
`,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(g)&&(d+=g+`
|
|
172
|
+
`,t=t.substring(g.length+1),c=!0),!c){const b=this.rules.other.nextBulletRegex(E),x=this.rules.other.hrRegex(E),A=this.rules.other.fencesBeginRegex(E),R=this.rules.other.headingBeginRegex(E),O=this.rules.other.htmlBeginRegex(E);for(;t;){const m=t.split(`
|
|
173
|
+
`,1)[0];let k;if(g=m,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),k=g):k=g.replace(this.rules.other.tabCharGlobal," "),A.test(g)||R.test(g)||O.test(g)||b.test(g)||x.test(g))break;if(k.search(this.rules.other.nonSpaceChar)>=E||!g.trim())h+=`
|
|
174
|
+
`+k.slice(E);else{if(S||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||A.test(p)||R.test(p)||x.test(p))break;h+=`
|
|
175
|
+
`+g}!S&&!g.trim()&&(S=!0),d+=m+`
|
|
176
|
+
`,t=t.substring(m.length+1),p=k.slice(E)}}o.loose||(s?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(s=!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 c=0;c<o.items.length;c++)if(this.lexer.state.top=!1,o.items[c].tokens=this.lexer.blockTokens(o.items[c].text,[]),!o.loose){const d=o.items[c].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 c=0;c<o.items.length;c++)o.items[c].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 s;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=mZ(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(s=r[3])!=null&&s.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
177
|
+
`):[],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(mZ(l,a.header.length).map((c,d)=>({text:c,tokens:this.lexer.inline(c),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)===`
|
|
178
|
+
`?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=np(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{const a=o5e(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)),yZ(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 yZ(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 s,l,c=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(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(l=[...s].length,i[3]||i[4]){c+=l;continue}else if((i[5]||i[6])&&a%3&&!((a+l)%3)){d+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+d);const p=[...i[0]][0].length,g=t.slice(0,a+i.index+p+l);if(Math.min(a,l)%2){const E=g.slice(1,-1);return{type:"em",raw:g,text:E,tokens:this.lexer.inlineTokens(E)}}const S=g.slice(2,-2);return{type:"strong",raw:g,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),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 Ts{constructor(t){ii(this,"tokens");ii(this,"options");ii(this,"state");ii(this,"tokenizer");ii(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Df,this.options.tokenizer=this.options.tokenizer||new ry,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:to,block:Kg.normal,inline:rp.normal};this.options.pedantic?(r.block=Kg.pedantic,r.inline=rp.pedantic):this.options.gfm&&(r.block=Kg.gfm,this.options.breaks?r.inline=rp.breaks:r.inline=rp.gfm),this.tokenizer.rules=r}static get rules(){return{block:Kg,inline:rp}}static lex(t,r){return new Ts(r).lex(t)}static lexInline(t,r){return new Ts(r).inlineTokens(t)}lex(t){t=t.replace(to.carriageReturn,`
|
|
179
|
+
`),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(to.tabCharGlobal," ").replace(to.spaceLine,""));t;){let s;if((o=(i=this.options.extensions)==null?void 0:i.block)!=null&&o.some(c=>(s=c.call({lexer:this},t,r))?(t=t.substring(s.raw.length),r.push(s),!0):!1))continue;if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length);const c=r.at(-1);s.raw.length===1&&c!==void 0?c.raw+=`
|
|
180
|
+
`:r.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
181
|
+
`+s.raw,c.text+=`
|
|
182
|
+
`+s.text,this.inlineQueue.at(-1).src=c.text):r.push(s);continue}if(s=this.tokenizer.fences(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.heading(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.hr(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.blockquote(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.list(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.html(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.def(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
183
|
+
`+s.raw,c.text+=`
|
|
184
|
+
`+s.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.lheading(t)){t=t.substring(s.raw.length),r.push(s);continue}let l=t;if((a=this.options.extensions)!=null&&a.startBlock){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(p=>{h=p.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(l=t.substring(0,c+1))}if(this.state.top&&(s=this.tokenizer.paragraph(l))){const c=r.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
|
|
185
|
+
`+s.raw,c.text+=`
|
|
186
|
+
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(s),n=l.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
187
|
+
`+s.raw,c.text+=`
|
|
188
|
+
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(s);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var s,l,c;let n=t,i=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,a="";for(;t;){o||(a=""),o=!1;let d;if((l=(s=this.options.extensions)==null?void 0:s.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((c=this.options.extensions)!=null&&c.startInline){let p=1/0;const g=t.slice(1);let S;this.options.extensions.startInline.forEach(E=>{S=E.call({lexer:this},g),typeof S=="number"&&S>=0&&(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 ny{constructor(t){ii(this,"options");ii(this,"parser");this.options=t||Df}space(t){return""}code({text:t,lang:r,escaped:n}){var a;const i=(a=(r||"").match(to.notSpaceStart))==null?void 0:a[0],o=t.replace(to.endingNewline,"")+`
|
|
189
|
+
`;return i?'<pre><code class="language-'+uu(i)+'">'+(n?o:uu(o,!0))+`</code></pre>
|
|
190
|
+
`:"<pre><code>"+(n?o:uu(o,!0))+`</code></pre>
|
|
191
|
+
`}blockquote({tokens:t}){return`<blockquote>
|
|
192
|
+
${this.parser.parse(t)}</blockquote>
|
|
193
|
+
`}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
|
|
194
|
+
`}hr(t){return`<hr>
|
|
195
|
+
`}list(t){const r=t.ordered,n=t.start;let i="";for(let s=0;s<t.items.length;s++){const l=t.items[s];i+=this.listitem(l)}const o=r?"ol":"ul",a=r&&n!==1?' start="'+n+'"':"";return"<"+o+a+`>
|
|
196
|
+
`+i+"</"+o+`>
|
|
197
|
+
`}listitem(t){var n;let r="";if(t.task){const i=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=i+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=i+" "+uu(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):r+=i+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
|
|
198
|
+
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
199
|
+
`}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 s=0;s<a.length;s++)n+=this.tablecell(a[s]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
|
|
200
|
+
<thead>
|
|
201
|
+
`+r+`</thead>
|
|
202
|
+
`+i+`</table>
|
|
203
|
+
`}tablerow({text:t}){return`<tr>
|
|
204
|
+
${t}</tr>
|
|
205
|
+
`}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
|
|
206
|
+
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${uu(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){const i=this.parser.parseInline(n),o=gZ(t);if(o===null)return i;t=o;let a='<a href="'+t+'"';return r&&(a+=' title="'+uu(r)+'"'),a+=">"+i+"</a>",a}image({href:t,title:r,text:n}){const i=gZ(t);if(i===null)return uu(n);t=i;let o=`<img src="${t}" alt="${n}"`;return r&&(o+=` title="${uu(r)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:uu(t.text)}}class ak{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class As{constructor(t){ii(this,"options");ii(this,"renderer");ii(this,"textRenderer");this.options=t||Df,this.options.renderer=this.options.renderer||new ny,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ak}static parse(t,r){return new As(r).parse(t)}static parseInline(t,r){return new As(r).parseInline(t)}parse(t,r=!0){var i,o;let n="";for(let a=0;a<t.length;a++){const s=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[s.type]){const c=s,d=this.options.extensions.renderers[c.type].call({parser:this},c);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type)){n+=d||"";continue}}const l=s;switch(l.type){case"space":{n+=this.renderer.space(l);continue}case"hr":{n+=this.renderer.hr(l);continue}case"heading":{n+=this.renderer.heading(l);continue}case"code":{n+=this.renderer.code(l);continue}case"table":{n+=this.renderer.table(l);continue}case"blockquote":{n+=this.renderer.blockquote(l);continue}case"list":{n+=this.renderer.list(l);continue}case"html":{n+=this.renderer.html(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let c=l,d=this.renderer.text(c);for(;a+1<t.length&&t[a+1].type==="text";)c=t[++a],d+=`
|
|
207
|
+
`+this.renderer.text(c);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,r=this.renderer){var i,o;let n="";for(let a=0;a<t.length;a++){const s=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[s.type]){const c=this.options.extensions.renderers[s.type].call({parser:this},s);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=c||"";continue}}const l=s;switch(l.type){case"escape":{n+=r.text(l);break}case"html":{n+=r.html(l);break}case"link":{n+=r.link(l);break}case"image":{n+=r.image(l);break}case"strong":{n+=r.strong(l);break}case"em":{n+=r.em(l);break}case"codespan":{n+=r.codespan(l);break}case"br":{n+=r.br(l);break}case"del":{n+=r.del(l);break}case"text":{n+=r.text(l);break}default:{const c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class wp{constructor(t){ii(this,"options");ii(this,"block");this.options=t||Df}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ts.lex:Ts.lexInline}provideParser(){return this.block?As.parse:As.parseInline}}ii(wp,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Hoe{constructor(...t){ii(this,"defaults",Z3());ii(this,"options",this.setOptions);ii(this,"parse",this.parseMarkdown(!0));ii(this,"parseInline",this.parseMarkdown(!1));ii(this,"Parser",As);ii(this,"Renderer",ny);ii(this,"TextRenderer",ak);ii(this,"Lexer",Ts);ii(this,"Tokenizer",ry);ii(this,"Hooks",wp);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 s=a;for(const l of s.header)n=n.concat(this.walkTokens(l.tokens,r));for(const l of s.rows)for(const c of l)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{const s=a;n=n.concat(this.walkTokens(s.items,r));break}default:{const s=a;(o=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&o[s.type]?this.defaults.extensions.childTokens[s.type].forEach(l=>{const c=s[l].flat(1/0);n=n.concat(this.walkTokens(c,r))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,r)))}}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(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(...s){let l=o.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),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 ny(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 s=a,l=n.renderer[s],c=o[s];o[s]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=c.apply(o,d)),h||""}}i.renderer=o}if(n.tokenizer){const o=this.defaults.tokenizer||new ry(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 s=a,l=n.tokenizer[s],c=o[s];o[s]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=c.apply(o,d)),h}}i.tokenizer=o}if(n.hooks){const o=this.defaults.hooks||new wp;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 s=a,l=n.hooks[s],c=o[s];wp.passThroughHooks.has(a)?o[s]=d=>{if(this.defaults.async)return Promise.resolve(l.call(o,d)).then(p=>c.call(o,p));const h=l.call(o,d);return c.call(o,h)}:o[s]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=c.apply(o,d)),h}}i.hooks=o}if(n.walkTokens){const o=this.defaults.walkTokens,a=n.walkTokens;i.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),o&&(l=l.concat(o.call(this,s))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ts.lex(t,r??this.defaults)}parser(t,r){return As.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const o={...i},a={...this.defaults,...o},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&o.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=t);const l=a.hooks?a.hooks.provideLexer():t?Ts.lex:Ts.lexInline,c=a.hooks?a.hooks.provideParser():t?As.parse:As.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=>c(d,a)).then(d=>a.hooks?a.hooks.postprocess(d):d).catch(s);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=c(d,a);return a.hooks&&(h=a.hooks.postprocess(h)),h}catch(d){return s(d)}}}onError(t,r){return n=>{if(n.message+=`
|
|
208
|
+
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+uu(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const tf=new Hoe;function Jn(e,t){return tf.parse(e,t)}Jn.options=Jn.setOptions=function(e){return tf.setOptions(e),Jn.defaults=tf.defaults,koe(Jn.defaults),Jn};Jn.getDefaults=Z3;Jn.defaults=Df;Jn.use=function(...e){return tf.use(...e),Jn.defaults=tf.defaults,koe(Jn.defaults),Jn};Jn.walkTokens=function(e,t){return tf.walkTokens(e,t)};Jn.parseInline=tf.parseInline;Jn.Parser=As;Jn.parser=As.parse;Jn.Renderer=ny;Jn.TextRenderer=ak;Jn.Lexer=Ts;Jn.lexer=Ts.lex;Jn.Tokenizer=ry;Jn.Hooks=wp;Jn.parse=Jn;Jn.options;Jn.setOptions;Jn.use;Jn.walkTokens;Jn.parseInline;As.parse;Ts.lex;const u5e="_container_1hbtl_1",l5e={container:u5e},_Z="markdown-link",bI=new Hoe;let ip;const SZ=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,c5e=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;bI.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(SZ))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(SZ);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>ip?ip.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(c5e);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>ip?ip.renderToString(e.text,{displayMode:e.displayMode}):e.text},{start:e=>e.indexOf("^"),name:"superscript",level:"inline",tokenizer:e=>{const t=e.match(/^\^([^\^]+?)\^/);if(t)return{type:"superscript",raw:t[0],text:t[1]}},renderer:e=>`<sup>${e.text}</sup>`},{name:"subscript",level:"inline",start:e=>e.indexOf("~"),tokenizer:e=>{const t=e.match(/^\~([^\~]+?)\~/);if(t)return{type:"subscript",raw:t[0],text:t[1]}},renderer:e=>`<sub>${e.text}</sub>`}],walkTokens:async e=>{if(e.type==="inlineKatex"||e.type==="blockKatex"){const{katex:t}=await zn(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([156,157]));ip=t}}});const Boe={isLink(e){return e.classList.contains(_Z)},async parse(e,t){if(!e)return"";const r=await bI.parse(e,{renderer:Boe.getRenderer(t)});return HO.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return HO.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new bI.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 ${_Z}" ${i}>${n}</a>`},t},getContainerClass(){return l5e.container}},f5e="shared.shared-utils",iy=_r.encloseNamespace(f5e),d5e=70,pO=160,h5e=/^(.*)\s/,EZ="pageTitle",wZ="pageDescription",vO="YYYY-MM-DD",cd={AU:"au",ENGLAND:"gb",US:"us"},p5e={[cd.AU]:Dc.AU,[cd.ENGLAND]:Dc.UK,[cd.US]:Dc.US,[Dc.AU]:cd.AU,[Dc.UK]:cd.ENGLAND,[Dc.US]:cd.US};function bZ(e){return e?e.substring(0,e.length-3)+"...":""}function v5e(e,t){return e?e.substring(0,t):""}function g5e(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(h5e);return o?o[1]:i}function Pl({title:e,phraseContext:t,product:r}){var o;if(!e)return"";if(!t)return iy(EZ,{title:e,product:r});const n=((o=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:o.length)??0,i=d5e-n;return e.length>=i?iy(EZ,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function kl({title:e,description:t,phraseContext:r}){var l,c;const n=bZ(v5e(t||e,pO));if(!r)return iy(wZ,{description:n});const i=((l=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:l.length)??0,o=pO-i;if((e==null?void 0:e.length)>=o)return iy(wZ,{description:n});const a=((c=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:c.length)??0,s=bZ(g5e(t,pO,a));return r.phraseHandler(r.descriptionPhrase,{title:e,description:s})}function m5e(e,t){return(e==null?void 0:e.reduce((r,n)=>{var o,a;const i=(o=p5e[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 y5e(e,t){const r=e!=null&&e.datePublished?xo.format(e==null?void 0:e.datePublished,vO):xo.format(e==null?void 0:e.dateCreated,vO),n=t!=null&&t.dateModified?xo.format(t==null?void 0:t.dateModified,vO):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:Poe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function _5e(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:xo.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${hO.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${hO.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${hO.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:m5e(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function S5e(e,t){const r=[];for(const i of e){const o=await Boe.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 su="ClickView";const zoe={setProduct(e){su=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:o,hrefLang:a,product:s,preload:l}=e;return{title:Pl({title:t,phraseContext:i,product:s||su}),description:kl({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:s}=e;return{title:Pl({title:t==null?void 0:t.name,phraseContext:n,product:s||su}),description:kl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:_5e(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:Pl({title:t==null?void 0:t.name,phraseContext:n,product:o||su}),description:kl({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:Pl({title:t==null?void 0:t.name,phraseContext:n,product:o||su}),description:kl({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:Pl({title:t==null?void 0:t.name,phraseContext:n,product:o||su}),description:kl({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:Pl({title:t==null?void 0:t.name,phraseContext:n,product:o||su}),description:kl({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:s}=e;function l(){var d,h,p,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(g=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:g.title} | ${s||su}`:Pl({title:t==null?void 0:t.name,phraseContext:i,product:s||su})}function c(){var d,h,p,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(g=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:g.description:kl({title:t==null?void 0:t.name,phraseContext:i})}return{title:l(),description:c(),canonicalLink:n,allowIndexing:o,jsonLd:r&&y5e(t,r),hrefLang:a,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:o,product:a}=e;return{title:Pl({title:t==null?void 0:t.name,phraseContext:n,product:a||su}),description:kl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:o,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await S5e(e,t)}};function E5e(e){let t=e;t._helperUsed||(t=zoe.getDefaultMetadata(t)),Nae(t.title);const r=HTe();if(!r.hasProvider)throw vr.throw(new Cn("PageMetadataContext must exist in your application to use this hook"));me.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const CZ="default.error",w5e=33;function Woe(){const[e]=me.useState(Dae.getRandomInt(w5e)+1);return uie.ErrorViews.SMALL.replace("{number}",e.toString())}function Goe({error:e}){var r,n,i;E5e({title:(e==null?void 0:e.heading)||_r.getPhrase(CZ,"defaultPageTitle")});const t=Woe();return e?U.jsxs(fu,{children:[U.jsx(fu.Image,{src:t}),U.jsx(fu.Heading,{children:e.heading}),!!e.description&&U.jsx(fu.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&U.jsx(fu.Cta,{text:((r=e.cta)==null?void 0:r.text)??_r.getPhrase(CZ,"discoverVideos"),className:(n=e.cta)!=null&&n.className?e.cta.className:`info-link ${e.description?"mt-n2":""}`,appLink:((i=e.cta)==null?void 0:i.appLink)??{application:ur.DASHBOARD,action:Cr.Dashboard.HOME}})]}):U.jsx(U.Fragment,{})}const b5e=Object.freeze(Object.defineProperty({__proto__:null,ErrorView:Goe,useErrorImage:Woe},Symbol.toStringTag,{value:"Module"})),C5e="_content_sjrnn_1",T5e="_container_sjrnn_6",A5e="_fixedBottomRightContainer_sjrnn_13",Yg={content:C5e,container:T5e,fixedBottomRightContainer:A5e},Koe="banner-portal-container",R5e=e=>(kke(),Dke(),me.useEffect(()=>{document.body.style.overflowY="scroll"},[]),U.jsx(Ex,{renderError:()=>Goe({error:new Jc}),children:U.jsxs("div",{className:Yg.lockedWidth,children:[U.jsx(bLe,{showNav:e.showNav}),U.jsx("main",{className:Yg.content,children:U.jsxs(Cie.ReferenceContainer,{children:[U.jsx("div",{className:`container-fluid ${Koe}`}),U.jsx("div",{className:`container ${Yg.container}`,children:U.jsx(Ex,{throwError:Jc,children:e.contentChild})})]})}),U.jsx(Lke,{}),U.jsx(Ex,{throwError:LAe,children:e.popupChild}),U.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&U.jsx("div",{className:Yg.fixedBottomRightContainer,children:e.alertChild})})]})}));function x5e(e){return U.jsx(Yne,{store:e.store,children:U.jsx(BTe,{children:U.jsx(DAe,{children:U.jsx(XTe,{children:U.jsx(kAe,{containerClassName:Koe,children:U.jsx(R5e,{...e})})})})})})}class O5e extends yTe{constructor(t){super(t),this.childComponents={},this.preventScrollTop=!1}initialize(){this.listenTo(_n.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'</div><div id="dialog-region"></div><div class="layout-region position-relative">'}static getCacheKey(){return`${Su.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[fn.CONTENT],popupChild:this.childComponents[fn.POPUP],alertChild:this.childComponents[fn.ALERT],store:this.options.store,showNav:this.options.showNav}}unsetRegion(t){delete this.childComponents[t],this.renderLayout()}closePopup(){this.unsetRegion(fn.POPUP)}showChildView(t,r,n={}){this.childComponents[t]=r,t===fn.CONTENT&&(!this.preventScrollTop&&!n.preventScrollTop&&du(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const t={...this.getChildComponents()};super.showChildView("layout",U.jsx(x5e,{...t}))}}function I5e(e,t){e.registerLayout(Su.DEFAULT_LAYOUT,O5e),t(e)}function P5e(e,t,r){f1.setUpVariables({isDevelopment:!1}),r(e,t)}var ay=(e=>(e.Fifo="FifoMemoryCache",e))(ay||{}),oy=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(oy||{});class k5e extends No{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),pp(this,"name")||vr.throw(new Cn("Must provide a name when extending BaseDataService")),pp(this,"channelName")||vr.throw(new Cn(`Must provide a channelName for ${pp(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),s=this.cache.get(i);if(s&&s.openRequest){const l=d=>{un(n)&&this.stopListening(this.getChannel(),a,n),un(r)&&r(d)},c=()=>{un(r)&&this.stopListening(this.getChannel(),o,r),un(n)&&n()};this.listenToOnce(this.getChannel(),o,l),this.listenToOnce(this.getChannel(),a,c);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:o,formatData:a,expiryTime:s,successHandler:l,errorHandler:c,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:p,requestEvent:g,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 b=this.cache.get(i);let x;b&&(x=b.data);const A=b&&b.openRequest,R=this.isExpired(i,s);if(A){const O=k=>{un(n)&&this.stopListening(this.getChannel(),E,n),un(r)&&r(k)},m=()=>{un(r)&&this.stopListening(this.getChannel(),p,r),un(n)&&n()};this.listenToOnce(_,p,O),this.listenToOnce(_,E,m)}if((!this.cache.has(i)||R)&&(_.trigger(g),this.listenToResponse({eventPrefix:i,formatData:a,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:l,errorHandler:c,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(o,{channel:this.getTransportChannel(),successEvent:S,errorEvent:E})),x&&un(r)&&!R&&r(x),x)return x}create(t){const{eventPrefix:r,resource:n,data:i,formatData:o,callback:a,errorCallback:s,invalidationKeys:l,successHandler:c,errorHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:g,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:s,successHandler:c,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:_,successEvent:g,errorEvent:S})}update(t){const{data:r,callback:n,errorCallback:i,resource:o,formatData:a,eventPrefix:s,invalidationKeys:l,errorHandler:c,successHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:g,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),_=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:s,formatData:a,invalidationKeys:l,callback:n,errorCallback:i,successHandler:d,errorHandler:c,invalidateFlight:h}),this.dataProvider.update(o,r,{channel:_,successEvent:g,errorEvent:S})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:o,invalidationKeys:a,successHandler:s,errorHandler:l,invalidateFlight:c}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),p=this.getTransportChannel(),g={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:a,callback:i,errorCallback:o,cacheOptions:g,successHandler:s,errorHandler:l,invalidateFlight:c}),this.dataProvider.delete(n,{channel:p,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:o,successHandler:a,errorHandler:s,invalidationKeys:l,cacheOptions:c={},invalidateFlight:d}=t,{syncEvent:h,successEvent:p,errorEvent:g,successAlertEvent:S,errorAlertEvent:E}=this.getEventNames(r),_=this.getChannel(),w=this.getTransportChannel(),b=this.getAlertChannel();if(un(i)&&this.listenToOnce(_,h,i),un(o)&&this.listenToOnce(_,g,o),this.stopListening(b,S),this.stopListening(b,E),un(a)&&this.listenToOnce(b,S,a),un(s)&&this.listenToOnce(b,E,s),!un(s)&&s!==!1&&un(this.defaultErrorHandler)&&this.listenToOnce(b,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const x=(R,...O)=>{this.stopListening(_,g,o),b.trigger(S,R,...O);const m=c.noCache?this.formatData(R,n):this.cacheData(r,R,n);c.clearCacheKey&&this.cache.remove(r),_.trigger(h,m),l&&l.length&&this.cache.invalidate(l,k=>_.trigger(`${k}:invalidate`),d)},A=(...R)=>{this.stopListening(_,h,i);const O=this.dataProvider.parseError(...R);b.trigger(E,O),_.trigger(g,O),!c.noCache&&this.cacheData(r,null,null)};this.listenTo(w,p,x),this.listenTo(w,g,A)}cacheData(t,r,n,i={}){const{openRequest:o=!1}=i;let{timestamp:a}=i;a||(a=this.currentTimestamp());const s=this.processPagination(r),l=this.formatData(r,n);return this.cache.set(t,{data:l,timestamp:a,cursors:s,openRequest:o}),l}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!km(r.offset)&&!km(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return un(r)?r(t):t}chain(){const t=[],r=(o,a)=>{un(o)&&o(a)},n=(o,a)=>{const s=()=>{const l=o.callback;o.callback=c=>{r(l,c),r(t.shift())},this[a](o)};return t.push(s),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 jr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return jr.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),s={};if(o&&o<i&&(s.next=o.toString()),Cd(a)&&(s.previous=a.toString()),!Rp(s))return s}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Cd(r)&&r>0&&r<n&&r+1,o=Cd(r)&&r>1&&r-1,a={};if(i&&i<=n&&(a.next=i.toString()),o&&(a.previous=o.toString()),!Rp(a))return a}}class D5e extends No{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 Fz&&t.set(n,{silent:!0}),t instanceof Ju&&!(t instanceof Fz)&&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,s=this.mergeData(r,n),l=o?new o(s):new Ju(s);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 Ju&&(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]),at.each(i.persistProps,o=>{this.listenTo(r,`change:${o}`,at.partial(this.setLocalData,t,at,at,n))}))}mergeData(t,r){if(!r)return t;if(at.isObject(t)&&at.isObject(r))return at.extend(t,r);vr.throw(new Cn("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Gs.LocalStorage:return ja;case Gs.SessionStorage:return Md}}}const Yoe=D5e.Instance;var ok=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(ok||{});class L5e extends Af{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:_r.getPhrase(this.lang,"heading"),text:_r.getPhrase(this.lang,"body"),buttons:[{text:_r.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:_r.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const N5e=["pdf"],M5e=["doc","docx","dotx","dot","rtf","docm","odt"],$5e=["csv","txt"],F5e=["xlsx"],TZ=["jpg","jpeg","png","bmp","gif"],AZ=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],j5e=["zip"],U5e=["ppt","pps","pptx"],q5e=["srt"],Xg={VIDEO:`.${AZ.join(",.")}`,MIXED_MEDIA:`.${TZ.join(",.")},${AZ.join(",.")}`,RESOURCES:`.${[...M5e,...F5e,...U5e,...N5e,...$5e,...TZ,...j5e].join(",.")}`,SUBTITLES:`.${q5e.join(",.")}`},V5e={requestUpload(e,t){const r=e.name.split("."),n=t===ok.Permanent?null:xo.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:Ci.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 s=a(111);i.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}}),1223:(function(i,o,a){var s=a(5112),l=a(30),c=a(3070),d=s("unscopables"),h=Array.prototype;h[d]==null&&c.f(h,d,{configurable:!0,value:l(null)}),i.exports=function(p){h[d][p]=!0}}),1530:(function(i,o,a){var s=a(8710).charAt;i.exports=function(l,c,d){return c+(d?s(l,c).length:1)}}),5787:(function(i){i.exports=function(o,a,s){if(!(o instanceof a))throw TypeError("Incorrect "+(s?s+" ":"")+"invocation");return o}}),9670:(function(i,o,a){var s=a(111);i.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}}),4019:(function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(i,o,a){var s=a(4019),l=a(9781),c=a(7854),d=a(111),h=a(6656),p=a(648),g=a(8880),S=a(1320),E=a(3070).f,_=a(9518),w=a(7674),b=a(5112),x=a(9711),A=c.Int8Array,R=A&&A.prototype,O=c.Uint8ClampedArray,m=O&&O.prototype,k=A&&_(A),D=R&&_(R),V=Object.prototype,F=V.isPrototypeOf,G=b("toStringTag"),Y=x("TYPED_ARRAY_TAG"),X=s&&!!w&&p(c.opera)!=="Opera",J=!1,Z,ue={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},L=function(se){if(!d(se))return!1;var I=p(se);return I==="DataView"||h(ue,I)||h(H,I)},j=function(Ae){if(!d(Ae))return!1;var se=p(Ae);return h(ue,se)||h(H,se)},te=function(Ae){if(j(Ae))return Ae;throw TypeError("Target is not a typed array")},ee=function(Ae){if(w){if(F.call(k,Ae))return Ae}else for(var se in ue)if(h(ue,Z)){var I=c[se];if(I&&(Ae===I||F.call(I,Ae)))return Ae}throw TypeError("Target is not a typed array constructor")},de=function(Ae,se,I){if(l){if(I)for(var P in ue){var q=c[P];q&&h(q.prototype,Ae)&&delete q.prototype[Ae]}(!D[Ae]||I)&&S(D,Ae,I?se:X&&R[Ae]||se)}},Se=function(Ae,se,I){var P,q;if(l){if(w){if(I)for(P in ue)q=c[P],q&&h(q,Ae)&&delete q[Ae];if(!k[Ae]||I)try{return S(k,Ae,I?se:X&&A[Ae]||se)}catch{}else return}for(P in ue)q=c[P],q&&(!q[Ae]||I)&&S(q,Ae,se)}};for(Z in ue)c[Z]||(X=!1);if((!X||typeof k!="function"||k===Function.prototype)&&(k=function(){throw TypeError("Incorrect invocation")},X))for(Z in ue)c[Z]&&w(c[Z],k);if((!X||!D||D===V)&&(D=k.prototype,X))for(Z in ue)c[Z]&&w(c[Z].prototype,D);if(X&&_(m)!==D&&w(m,D),l&&!h(D,G)){J=!0,E(D,G,{get:function(){return d(this)?this[Y]:void 0}});for(Z in ue)c[Z]&&g(c[Z],Y,Z)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:J&&Y,aTypedArray:te,aTypedArrayConstructor:ee,exportTypedArrayMethod:de,exportTypedArrayStaticMethod:Se,isView:L,isTypedArray:j,TypedArray:k,TypedArrayPrototype:D}}),3331:(function(i,o,a){var s=a(7854),l=a(9781),c=a(4019),d=a(8880),h=a(2248),p=a(7293),g=a(5787),S=a(9958),E=a(7466),_=a(7067),w=a(1179),b=a(9518),x=a(7674),A=a(8006).f,R=a(3070).f,O=a(1285),m=a(8003),k=a(9909),D=k.get,V=k.set,F="ArrayBuffer",G="DataView",Y="prototype",X="Wrong length",J="Wrong index",Z=s[F],ue=Z,H=s[G],L=H&&H[Y],j=Object.prototype,te=s.RangeError,ee=w.pack,de=w.unpack,Se=function($e){return[$e&255]},Ae=function($e){return[$e&255,$e>>8&255]},se=function($e){return[$e&255,$e>>8&255,$e>>16&255,$e>>24&255]},I=function($e){return $e[3]<<24|$e[2]<<16|$e[1]<<8|$e[0]},P=function($e){return ee($e,23,4)},q=function($e){return ee($e,52,8)},N=function($e,ge){R($e[Y],ge,{get:function(){return D(this)[ge]}})},B=function($e,ge,be,Ce){var Le=_(be),Ve=D($e);if(Le+ge>Ve.byteLength)throw te(J);var qe=D(Ve.buffer).bytes,Ge=Le+Ve.byteOffset,ct=qe.slice(Ge,Ge+ge);return Ce?ct:ct.reverse()},re=function($e,ge,be,Ce,Le,Ve){var qe=_(be),Ge=D($e);if(qe+ge>Ge.byteLength)throw te(J);for(var ct=D(Ge.buffer).bytes,jt=qe+Ge.byteOffset,zt=Ce(+Le),Ze=0;Ze<ge;Ze++)ct[jt+Ze]=zt[Ve?Ze:ge-Ze-1]};if(!c)ue=function(ge){g(this,ue,F);var be=_(ge);V(this,{bytes:O.call(new Array(be),0),byteLength:be}),l||(this.byteLength=be)},H=function(ge,be,Ce){g(this,H,G),g(ge,ue,G);var Le=D(ge).byteLength,Ve=S(be);if(Ve<0||Ve>Le)throw te("Wrong offset");if(Ce=Ce===void 0?Le-Ve:E(Ce),Ve+Ce>Le)throw te(X);V(this,{buffer:ge,byteLength:Ce,byteOffset:Ve}),l||(this.buffer=ge,this.byteLength=Ce,this.byteOffset=Ve)},l&&(N(ue,"byteLength"),N(H,"buffer"),N(H,"byteLength"),N(H,"byteOffset")),h(H[Y],{getInt8:function(ge){return B(this,1,ge)[0]<<24>>24},getUint8:function(ge){return B(this,1,ge)[0]},getInt16:function(ge){var be=B(this,2,ge,arguments.length>1?arguments[1]:void 0);return(be[1]<<8|be[0])<<16>>16},getUint16:function(ge){var be=B(this,2,ge,arguments.length>1?arguments[1]:void 0);return be[1]<<8|be[0]},getInt32:function(ge){return I(B(this,4,ge,arguments.length>1?arguments[1]:void 0))},getUint32:function(ge){return I(B(this,4,ge,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(ge){return de(B(this,4,ge,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(ge){return de(B(this,8,ge,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(ge,be){re(this,1,ge,Se,be)},setUint8:function(ge,be){re(this,1,ge,Se,be)},setInt16:function(ge,be){re(this,2,ge,Ae,be,arguments.length>2?arguments[2]:void 0)},setUint16:function(ge,be){re(this,2,ge,Ae,be,arguments.length>2?arguments[2]:void 0)},setInt32:function(ge,be){re(this,4,ge,se,be,arguments.length>2?arguments[2]:void 0)},setUint32:function(ge,be){re(this,4,ge,se,be,arguments.length>2?arguments[2]:void 0)},setFloat32:function(ge,be){re(this,4,ge,P,be,arguments.length>2?arguments[2]:void 0)},setFloat64:function(ge,be){re(this,8,ge,q,be,arguments.length>2?arguments[2]:void 0)}});else{if(!p(function(){Z(1)})||!p(function(){new Z(-1)})||p(function(){return new Z,new Z(1.5),new Z(NaN),Z.name!=F})){ue=function(ge){return g(this,ue),new Z(_(ge))};for(var ce=ue[Y]=Z[Y],we=A(Z),_e=0,Oe;we.length>_e;)(Oe=we[_e++])in ue||d(ue,Oe,Z[Oe]);ce.constructor=ue}x&&b(L)!==j&&x(L,j);var Te=new H(new ue(2)),Ie=L.setInt8;Te.setInt8(0,2147483648),Te.setInt8(1,2147483649),(Te.getInt8(0)||!Te.getInt8(1))&&h(L,{setInt8:function(ge,be){Ie.call(this,ge,be<<24>>24)},setUint8:function(ge,be){Ie.call(this,ge,be<<24>>24)}},{unsafe:!0})}m(ue,F),m(H,G),i.exports={ArrayBuffer:ue,DataView:H}}),1048:(function(i,o,a){var s=a(7908),l=a(1400),c=a(7466),d=Math.min;i.exports=[].copyWithin||function(p,g){var S=s(this),E=c(S.length),_=l(p,E),w=l(g,E),b=arguments.length>2?arguments[2]:void 0,x=d((b===void 0?E:l(b,E))-w,E-_),A=1;for(w<_&&_<w+x&&(A=-1,w+=x-1,_+=x-1);x-- >0;)w in S?S[_]=S[w]:delete S[_],_+=A,w+=A;return S}}),1285:(function(i,o,a){var s=a(7908),l=a(1400),c=a(7466);i.exports=function(h){for(var p=s(this),g=c(p.length),S=arguments.length,E=l(S>1?arguments[1]:void 0,g),_=S>2?arguments[2]:void 0,w=_===void 0?g:l(_,g);w>E;)p[E++]=h;return p}}),8533:(function(i,o,a){var s=a(2092).forEach,l=a(9341),c=l("forEach");i.exports=c?[].forEach:function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}}),8457:(function(i,o,a){var s=a(9974),l=a(7908),c=a(3411),d=a(7659),h=a(7466),p=a(6135),g=a(1246);i.exports=function(E){var _=l(E),w=typeof this=="function"?this:Array,b=arguments.length,x=b>1?arguments[1]:void 0,A=x!==void 0,R=g(_),O=0,m,k,D,V,F,G;if(A&&(x=s(x,b>2?arguments[2]:void 0,2)),R!=null&&!(w==Array&&d(R)))for(V=R.call(_),F=V.next,k=new w;!(D=F.call(V)).done;O++)G=A?c(V,x,[D.value,O],!0):D.value,p(k,O,G);else for(m=h(_.length),k=new w(m);m>O;O++)G=A?x(_[O],O):_[O],p(k,O,G);return k.length=O,k}}),1318:(function(i,o,a){var s=a(5656),l=a(7466),c=a(1400),d=function(h){return function(p,g,S){var E=s(p),_=l(E.length),w=c(S,_),b;if(h&&g!=g){for(;_>w;)if(b=E[w++],b!=b)return!0}else for(;_>w;w++)if((h||w in E)&&E[w]===g)return h||w||0;return!h&&-1}};i.exports={includes:d(!0),indexOf:d(!1)}}),2092:(function(i,o,a){var s=a(9974),l=a(8361),c=a(7908),d=a(7466),h=a(5417),p=[].push,g=function(S){var E=S==1,_=S==2,w=S==3,b=S==4,x=S==6,A=S==7,R=S==5||x;return function(O,m,k,D){for(var V=c(O),F=l(V),G=s(m,k,3),Y=d(F.length),X=0,J=D||h,Z=E?J(O,Y):_||A?J(O,0):void 0,ue,H;Y>X;X++)if((R||X in F)&&(ue=F[X],H=G(ue,X,V),S))if(E)Z[X]=H;else if(H)switch(S){case 3:return!0;case 5:return ue;case 6:return X;case 2:p.call(Z,ue)}else switch(S){case 4:return!1;case 7:p.call(Z,ue)}return x?-1:w||b?b:Z}};i.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterOut:g(7)}}),6583:(function(i,o,a){var s=a(5656),l=a(9958),c=a(7466),d=a(9341),h=Math.min,p=[].lastIndexOf,g=!!p&&1/[1].lastIndexOf(1,-0)<0,S=d("lastIndexOf"),E=g||!S;i.exports=E?function(w){if(g)return p.apply(this,arguments)||0;var b=s(this),x=c(b.length),A=x-1;for(arguments.length>1&&(A=h(A,l(arguments[1]))),A<0&&(A=x+A);A>=0;A--)if(A in b&&b[A]===w)return A||0;return-1}:p}),1194:(function(i,o,a){var s=a(7293),l=a(5112),c=a(7392),d=l("species");i.exports=function(h){return c>=51||!s(function(){var p=[],g=p.constructor={};return g[d]=function(){return{foo:1}},p[h](Boolean).foo!==1})}}),9341:(function(i,o,a){var s=a(7293);i.exports=function(l,c){var d=[][l];return!!d&&s(function(){d.call(null,c||function(){throw 1},1)})}}),3671:(function(i,o,a){var s=a(3099),l=a(7908),c=a(8361),d=a(7466),h=function(p){return function(g,S,E,_){s(S);var w=l(g),b=c(w),x=d(w.length),A=p?x-1:0,R=p?-1:1;if(E<2)for(;;){if(A in b){_=b[A],A+=R;break}if(A+=R,p?A<0:x<=A)throw TypeError("Reduce of empty array with no initial value")}for(;p?A>=0:x>A;A+=R)A in b&&(_=S(_,b[A],A,w));return _}};i.exports={left:h(!1),right:h(!0)}}),5417:(function(i,o,a){var s=a(111),l=a(3157),c=a(5112),d=c("species");i.exports=function(h,p){var g;return l(h)&&(g=h.constructor,typeof g=="function"&&(g===Array||l(g.prototype))?g=void 0:s(g)&&(g=g[d],g===null&&(g=void 0))),new(g===void 0?Array:g)(p===0?0:p)}}),3411:(function(i,o,a){var s=a(9670),l=a(9212);i.exports=function(c,d,h,p){try{return p?d(s(h)[0],h[1]):d(h)}catch(g){throw l(c),g}}}),7072:(function(i,o,a){var s=a(5112),l=s("iterator"),c=!1;try{var d=0,h={next:function(){return{done:!!d++}},return:function(){c=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}i.exports=function(p,g){if(!g&&!c)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 s=a(1694),l=a(4326),c=a(5112),d=c("toStringTag"),h=l((function(){return arguments})())=="Arguments",p=function(g,S){try{return g[S]}catch{}};i.exports=s?l:function(g){var S,E,_;return g===void 0?"Undefined":g===null?"Null":typeof(E=p(S=Object(g),d))=="string"?E:h?l(S):(_=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":_}}),9920:(function(i,o,a){var s=a(6656),l=a(3887),c=a(1236),d=a(3070);i.exports=function(h,p){for(var g=l(p),S=d.f,E=c.f,_=0;_<g.length;_++){var w=g[_];s(h,w)||S(h,w,E(p,w))}}}),8544:(function(i,o,a){var s=a(7293);i.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})}),4994:(function(i,o,a){var s=a(3383).IteratorPrototype,l=a(30),c=a(9114),d=a(8003),h=a(7497),p=function(){return this};i.exports=function(g,S,E){var _=S+" Iterator";return g.prototype=l(s,{next:c(1,E)}),d(g,_,!1,!0),h[_]=p,g}}),8880:(function(i,o,a){var s=a(9781),l=a(3070),c=a(9114);i.exports=s?function(d,h,p){return l.f(d,h,c(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 s=a(7593),l=a(3070),c=a(9114);i.exports=function(d,h,p){var g=s(h);g in d?l.f(d,g,c(0,p)):d[g]=p}}),654:(function(i,o,a){var s=a(2109),l=a(4994),c=a(9518),d=a(7674),h=a(8003),p=a(8880),g=a(1320),S=a(5112),E=a(1913),_=a(7497),w=a(3383),b=w.IteratorPrototype,x=w.BUGGY_SAFARI_ITERATORS,A=S("iterator"),R="keys",O="values",m="entries",k=function(){return this};i.exports=function(D,V,F,G,Y,X,J){l(F,V,G);var Z=function(se){if(se===Y&&te)return te;if(!x&&se in L)return L[se];switch(se){case R:return function(){return new F(this,se)};case O:return function(){return new F(this,se)};case m:return function(){return new F(this,se)}}return function(){return new F(this)}},ue=V+" Iterator",H=!1,L=D.prototype,j=L[A]||L["@@iterator"]||Y&&L[Y],te=!x&&j||Z(Y),ee=V=="Array"&&L.entries||j,de,Se,Ae;if(ee&&(de=c(ee.call(new D)),b!==Object.prototype&&de.next&&(!E&&c(de)!==b&&(d?d(de,b):typeof de[A]!="function"&&p(de,A,k)),h(de,ue,!0,!0),E&&(_[ue]=k))),Y==O&&j&&j.name!==O&&(H=!0,te=function(){return j.call(this)}),(!E||J)&&L[A]!==te&&p(L,A,te),_[V]=te,Y)if(Se={values:Z(O),keys:X?te:Z(R),entries:Z(m)},J)for(Ae in Se)(x||H||!(Ae in L))&&g(L,Ae,Se[Ae]);else s({target:V,proto:!0,forced:x||H},Se);return Se}}),9781:(function(i,o,a){var s=a(7293);i.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(i,o,a){var s=a(7854),l=a(111),c=s.document,d=l(c)&&l(c.createElement);i.exports=function(h){return d?c.createElement(h):{}}}),8324:(function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(i,o,a){var s=a(5005);i.exports=s("navigator","userAgent")||""}),7392:(function(i,o,a){var s=a(7854),l=a(8113),c=s.process,d=c&&c.versions,h=d&&d.v8,p,g;h?(p=h.split("."),g=p[0]+p[1]):l&&(p=l.match(/Edge\/(\d+)/),(!p||p[1]>=74)&&(p=l.match(/Chrome\/(\d+)/),p&&(g=p[1]))),i.exports=g&&+g}),748:(function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(i,o,a){var s=a(7854),l=a(1236).f,c=a(8880),d=a(1320),h=a(3505),p=a(9920),g=a(4705);i.exports=function(S,E){var _=S.target,w=S.global,b=S.stat,x,A,R,O,m,k;if(w?A=s:b?A=s[_]||h(_,{}):A=(s[_]||{}).prototype,A)for(R in E){if(m=E[R],S.noTargetGet?(k=l(A,R),O=k&&k.value):O=A[R],x=g(w?R:_+(b?".":"#")+R,S.forced),!x&&O!==void 0){if(typeof m==typeof O)continue;p(m,O)}(S.sham||O&&O.sham)&&c(m,"sham",!0),d(A,R,m,S)}}}),7293:(function(i){i.exports=function(o){try{return!!o()}catch{return!0}}}),7007:(function(i,o,a){a(4916);var s=a(1320),l=a(7293),c=a(5112),d=a(2261),h=a(8880),p=c("species"),g=!l(function(){var b=/./;return b.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(b,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),E=c("replace"),_=(function(){return/./[E]?/./[E]("a","$0")==="":!1})(),w=!l(function(){var b=/(?:)/,x=b.exec;b.exec=function(){return x.apply(this,arguments)};var A="ab".split(b);return A.length!==2||A[0]!=="a"||A[1]!=="b"});i.exports=function(b,x,A,R){var O=c(b),m=!l(function(){var Y={};return Y[O]=function(){return 7},""[b](Y)!=7}),k=m&&!l(function(){var Y=!1,X=/a/;return b==="split"&&(X={},X.constructor={},X.constructor[p]=function(){return X},X.flags="",X[O]=/./[O]),X.exec=function(){return Y=!0,null},X[O](""),!Y});if(!m||!k||b==="replace"&&!(g&&S&&!_)||b==="split"&&!w){var D=/./[O],V=A(O,""[b],function(Y,X,J,Z,ue){return X.exec===d?m&&!ue?{done:!0,value:D.call(X,J,Z)}:{done:!0,value:Y.call(J,X,Z)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),F=V[0],G=V[1];s(String.prototype,b,F),s(RegExp.prototype,O,x==2?function(Y,X){return G.call(Y,this,X)}:function(Y){return G.call(Y,this)})}R&&h(RegExp.prototype[O],"sham",!0)}}),9974:(function(i,o,a){var s=a(3099);i.exports=function(l,c,d){if(s(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(h){return l.call(c,h)};case 2:return function(h,p){return l.call(c,h,p)};case 3:return function(h,p,g){return l.call(c,h,p,g)}}return function(){return l.apply(c,arguments)}}}),5005:(function(i,o,a){var s=a(857),l=a(7854),c=function(d){return typeof d=="function"?d:void 0};i.exports=function(d,h){return arguments.length<2?c(s[d])||c(l[d]):s[d]&&s[d][h]||l[d]&&l[d][h]}}),1246:(function(i,o,a){var s=a(648),l=a(7497),c=a(5112),d=c("iterator");i.exports=function(h){if(h!=null)return h[d]||h["@@iterator"]||l[s(h)]}}),8554:(function(i,o,a){var s=a(9670),l=a(1246);i.exports=function(c){var d=l(c);if(typeof d!="function")throw TypeError(String(c)+" is not iterable");return s(d.call(c))}}),647:(function(i,o,a){var s=a(7908),l=Math.floor,c="".replace,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i.exports=function(p,g,S,E,_,w){var b=S+p.length,x=E.length,A=h;return _!==void 0&&(_=s(_),A=d),c.call(w,A,function(R,O){var m;switch(O.charAt(0)){case"$":return"$";case"&":return p;case"`":return g.slice(0,S);case"'":return g.slice(b);case"<":m=_[O.slice(1,-1)];break;default:var k=+O;if(k===0)return R;if(k>x){var D=l(k/10);return D===0?R:D<=x?E[D-1]===void 0?O.charAt(1):E[D-1]+O.charAt(1):R}m=E[k-1]}return m===void 0?"":m})}}),7854:(function(i,o,a){var s=function(l){return l&&l.Math==Math&&l};i.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof a.g=="object"&&a.g)||(function(){return this})()||Function("return this")()}),6656:(function(i){var o={}.hasOwnProperty;i.exports=function(a,s){return o.call(a,s)}}),3501:(function(i){i.exports={}}),490:(function(i,o,a){var s=a(5005);i.exports=s("document","documentElement")}),4664:(function(i,o,a){var s=a(9781),l=a(7293),c=a(317);i.exports=!s&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(i){var o=Math.abs,a=Math.pow,s=Math.floor,l=Math.log,c=Math.LN2,d=function(p,g,S){var E=new Array(S),_=S*8-g-1,w=(1<<_)-1,b=w>>1,x=g===23?a(2,-24)-a(2,-77):0,A=p<0||p===0&&1/p<0?1:0,R=0,O,m,k;for(p=o(p),p!=p||p===1/0?(m=p!=p?1:0,O=w):(O=s(l(p)/c),p*(k=a(2,-O))<1&&(O--,k*=2),O+b>=1?p+=x/k:p+=x*a(2,1-b),p*k>=2&&(O++,k/=2),O+b>=w?(m=0,O=w):O+b>=1?(m=(p*k-1)*a(2,g),O=O+b):(m=p*a(2,b-1)*a(2,g),O=0));g>=8;E[R++]=m&255,m/=256,g-=8);for(O=O<<g|m,_+=g;_>0;E[R++]=O&255,O/=256,_-=8);return E[--R]|=A*128,E},h=function(p,g){var S=p.length,E=S*8-g-1,_=(1<<E)-1,w=_>>1,b=E-7,x=S-1,A=p[x--],R=A&127,O;for(A>>=7;b>0;R=R*256+p[x],x--,b-=8);for(O=R&(1<<-b)-1,R>>=-b,b+=g;b>0;O=O*256+p[x],x--,b-=8);if(R===0)R=1-w;else{if(R===_)return O?NaN:A?-1/0:1/0;O=O+a(2,g),R=R-w}return(A?-1:1)*O*a(2,R-g)};i.exports={pack:d,unpack:h}}),8361:(function(i,o,a){var s=a(7293),l=a(4326),c="".split;i.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object}),9587:(function(i,o,a){var s=a(111),l=a(7674);i.exports=function(c,d,h){var p,g;return l&&typeof(p=d.constructor)=="function"&&p!==h&&s(g=p.prototype)&&g!==h.prototype&&l(c,g),c}}),2788:(function(i,o,a){var s=a(5465),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(c){return l.call(c)}),i.exports=s.inspectSource}),9909:(function(i,o,a){var s=a(8536),l=a(7854),c=a(111),d=a(8880),h=a(6656),p=a(5465),g=a(6200),S=a(3501),E=l.WeakMap,_,w,b,x=function(V){return b(V)?w(V):_(V,{})},A=function(V){return function(F){var G;if(!c(F)||(G=w(F)).type!==V)throw TypeError("Incompatible receiver, "+V+" required");return G}};if(s){var R=p.state||(p.state=new E),O=R.get,m=R.has,k=R.set;_=function(V,F){return F.facade=V,k.call(R,V,F),F},w=function(V){return O.call(R,V)||{}},b=function(V){return m.call(R,V)}}else{var D=g("state");S[D]=!0,_=function(V,F){return F.facade=V,d(V,D,F),F},w=function(V){return h(V,D)?V[D]:{}},b=function(V){return h(V,D)}}i.exports={set:_,get:w,has:b,enforce:x,getterFor:A}}),7659:(function(i,o,a){var s=a(5112),l=a(7497),c=s("iterator"),d=Array.prototype;i.exports=function(h){return h!==void 0&&(l.Array===h||d[c]===h)}}),3157:(function(i,o,a){var s=a(4326);i.exports=Array.isArray||function(c){return s(c)=="Array"}}),4705:(function(i,o,a){var s=a(7293),l=/#|\.prototype\./,c=function(S,E){var _=h[d(S)];return _==g?!0:_==p?!1:typeof E=="function"?s(E):!!E},d=c.normalize=function(S){return String(S).replace(l,".").toLowerCase()},h=c.data={},p=c.NATIVE="N",g=c.POLYFILL="P";i.exports=c}),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 s=a(111),l=a(4326),c=a(5112),d=c("match");i.exports=function(h){var p;return s(h)&&((p=h[d])!==void 0?!!p:l(h)=="RegExp")}}),9212:(function(i,o,a){var s=a(9670);i.exports=function(l){var c=l.return;if(c!==void 0)return s(c.call(l)).value}}),3383:(function(i,o,a){var s=a(7293),l=a(9518),c=a(8880),d=a(6656),h=a(5112),p=a(1913),g=h("iterator"),S=!1,E=function(){return this},_,w,b;[].keys&&(b=[].keys(),"next"in b?(w=l(l(b)),w!==Object.prototype&&(_=w)):S=!0);var x=_==null||s(function(){var A={};return _[g].call(A)!==A});x&&(_={}),(!p||x)&&!d(_,g)&&c(_,g,E),i.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(i){i.exports={}}),133:(function(i,o,a){var s=a(7293);i.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})}),590:(function(i,o,a){var s=a(7293),l=a(5112),c=a(1913),d=l("iterator");i.exports=!s(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),p=h.searchParams,g="";return h.pathname="c%20d",p.forEach(function(S,E){p.delete("b"),g+=E+S}),c&&!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"||g!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(i,o,a){var s=a(7854),l=a(2788),c=s.WeakMap;i.exports=typeof c=="function"&&/native code/.test(l(c))}),1574:(function(i,o,a){var s=a(9781),l=a(7293),c=a(1956),d=a(5181),h=a(5296),p=a(7908),g=a(8361),S=Object.assign,E=Object.defineProperty;i.exports=!S||l(function(){if(s&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},w={},b=Symbol(),x="abcdefghijklmnopqrst";return _[b]=7,x.split("").forEach(function(A){w[A]=A}),S({},_)[b]!=7||c(S({},w)).join("")!=x})?function(w,b){for(var x=p(w),A=arguments.length,R=1,O=d.f,m=h.f;A>R;)for(var k=g(arguments[R++]),D=O?c(k).concat(O(k)):c(k),V=D.length,F=0,G;V>F;)G=D[F++],(!s||m.call(k,G))&&(x[G]=k[G]);return x}:S}),30:(function(i,o,a){var s=a(9670),l=a(6048),c=a(748),d=a(3501),h=a(490),p=a(317),g=a(6200),S=">",E="<",_="prototype",w="script",b=g("IE_PROTO"),x=function(){},A=function(D){return E+w+S+D+E+"/"+w+S},R=function(D){D.write(A("")),D.close();var V=D.parentWindow.Object;return D=null,V},O=function(){var D=p("iframe"),V="java"+w+":",F;return D.style.display="none",h.appendChild(D),D.src=String(V),F=D.contentWindow.document,F.open(),F.write(A("document.F=Object")),F.close(),F.F},m,k=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}k=m?R(m):O();for(var D=c.length;D--;)delete k[_][c[D]];return k()};d[b]=!0,i.exports=Object.create||function(V,F){var G;return V!==null?(x[_]=s(V),G=new x,x[_]=null,G[b]=V):G=k(),F===void 0?G:l(G,F)}}),6048:(function(i,o,a){var s=a(9781),l=a(3070),c=a(9670),d=a(1956);i.exports=s?Object.defineProperties:function(p,g){c(p);for(var S=d(g),E=S.length,_=0,w;E>_;)l.f(p,w=S[_++],g[w]);return p}}),3070:(function(i,o,a){var s=a(9781),l=a(4664),c=a(9670),d=a(7593),h=Object.defineProperty;o.f=s?h:function(g,S,E){if(c(g),S=d(S,!0),c(E),l)try{return h(g,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(g[S]=E.value),g}}),1236:(function(i,o,a){var s=a(9781),l=a(5296),c=a(9114),d=a(5656),h=a(7593),p=a(6656),g=a(4664),S=Object.getOwnPropertyDescriptor;o.f=s?S:function(_,w){if(_=d(_),w=h(w,!0),g)try{return S(_,w)}catch{}if(p(_,w))return c(!l.f.call(_,w),_[w])}}),8006:(function(i,o,a){var s=a(6324),l=a(748),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(h){return s(h,c)}}),5181:(function(i,o){o.f=Object.getOwnPropertySymbols}),9518:(function(i,o,a){var s=a(6656),l=a(7908),c=a(6200),d=a(8544),h=c("IE_PROTO"),p=Object.prototype;i.exports=d?Object.getPrototypeOf:function(g){return g=l(g),s(g,h)?g[h]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?p:null}}),6324:(function(i,o,a){var s=a(6656),l=a(5656),c=a(1318).indexOf,d=a(3501);i.exports=function(h,p){var g=l(h),S=0,E=[],_;for(_ in g)!s(d,_)&&s(g,_)&&E.push(_);for(;p.length>S;)s(g,_=p[S++])&&(~c(E,_)||E.push(_));return E}}),1956:(function(i,o,a){var s=a(6324),l=a(748);i.exports=Object.keys||function(d){return s(d,l)}}),5296:(function(i,o){var a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!a.call({1:2},1);o.f=l?function(d){var h=s(this,d);return!!h&&h.enumerable}:a}),7674:(function(i,o,a){var s=a(9670),l=a(6077);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var c=!1,d={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(d,[]),c=d instanceof Array}catch{}return function(g,S){return s(g),l(S),c?h.call(g,S):g.__proto__=S,g}})():void 0)}),288:(function(i,o,a){var s=a(1694),l=a(648);i.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}}),3887:(function(i,o,a){var s=a(5005),l=a(8006),c=a(5181),d=a(9670);i.exports=s("Reflect","ownKeys")||function(p){var g=l.f(d(p)),S=c.f;return S?g.concat(S(p)):g}}),857:(function(i,o,a){var s=a(7854);i.exports=s}),2248:(function(i,o,a){var s=a(1320);i.exports=function(l,c,d){for(var h in c)s(l,h,c[h],d);return l}}),1320:(function(i,o,a){var s=a(7854),l=a(8880),c=a(6656),d=a(3505),h=a(2788),p=a(9909),g=p.get,S=p.enforce,E=String(String).split("String");(i.exports=function(_,w,b,x){var A=x?!!x.unsafe:!1,R=x?!!x.enumerable:!1,O=x?!!x.noTargetGet:!1,m;if(typeof b=="function"&&(typeof w=="string"&&!c(b,"name")&&l(b,"name",w),m=S(b),m.source||(m.source=E.join(typeof w=="string"?w:""))),_===s){R?_[w]=b:d(w,b);return}else A?!O&&_[w]&&(R=!0):delete _[w];R?_[w]=b:l(_,w,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||h(this)})}),7651:(function(i,o,a){var s=a(4326),l=a(2261);i.exports=function(c,d){var h=c.exec;if(typeof h=="function"){var p=h.call(c,d);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(s(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}}),2261:(function(i,o,a){var s=a(7066),l=a(2999),c=RegExp.prototype.exec,d=String.prototype.replace,h=c,p=(function(){var _=/a/,w=/b*/g;return c.call(_,"a"),c.call(w,"a"),_.lastIndex!==0||w.lastIndex!==0})(),g=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=p||S||g;E&&(h=function(w){var b=this,x,A,R,O,m=g&&b.sticky,k=s.call(b),D=b.source,V=0,F=w;return m&&(k=k.replace("y",""),k.indexOf("g")===-1&&(k+="g"),F=String(w).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&w[b.lastIndex-1]!==`
|
|
209
|
+
`)&&(D="(?: "+D+")",F=" "+F,V++),A=new RegExp("^(?:"+D+")",k)),S&&(A=new RegExp("^"+D+"$(?!\\s)",k)),p&&(x=b.lastIndex),R=c.call(m?A:b,F),m?R?(R.input=R.input.slice(V),R[0]=R[0].slice(V),R.index=b.lastIndex,b.lastIndex+=R[0].length):b.lastIndex=0:p&&R&&(b.lastIndex=b.global?R.index+R[0].length:x),S&&R&&R.length>1&&d.call(R[0],A,function(){for(O=1;O<arguments.length-2;O++)arguments[O]===void 0&&(R[O]=void 0)}),R}),i.exports=h}),7066:(function(i,o,a){var s=a(9670);i.exports=function(){var l=s(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}}),2999:(function(i,o,a){var s=a(7293);function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=s(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=s(function(){var c=l("^r","gy");return c.lastIndex=2,c.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 s=a(7854),l=a(8880);i.exports=function(c,d){try{l(s,c,d)}catch{s[c]=d}return d}}),6340:(function(i,o,a){var s=a(5005),l=a(3070),c=a(5112),d=a(9781),h=c("species");i.exports=function(p){var g=s(p),S=l.f;d&&g&&!g[h]&&S(g,h,{configurable:!0,get:function(){return this}})}}),8003:(function(i,o,a){var s=a(3070).f,l=a(6656),c=a(5112),d=c("toStringTag");i.exports=function(h,p,g){h&&!l(h=g?h:h.prototype,d)&&s(h,d,{configurable:!0,value:p})}}),6200:(function(i,o,a){var s=a(2309),l=a(9711),c=s("keys");i.exports=function(d){return c[d]||(c[d]=l(d))}}),5465:(function(i,o,a){var s=a(7854),l=a(3505),c="__core-js_shared__",d=s[c]||l(c,{});i.exports=d}),2309:(function(i,o,a){var s=a(1913),l=a(5465);(i.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.9.0",mode:s?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(i,o,a){var s=a(9670),l=a(3099),c=a(5112),d=c("species");i.exports=function(h,p){var g=s(h).constructor,S;return g===void 0||(S=s(g)[d])==null?p:l(S)}}),8710:(function(i,o,a){var s=a(9958),l=a(4488),c=function(d){return function(h,p){var g=String(l(h)),S=s(p),E=g.length,_,w;return S<0||S>=E?d?"":void 0:(_=g.charCodeAt(S),_<55296||_>56319||S+1===E||(w=g.charCodeAt(S+1))<56320||w>57343?d?g.charAt(S):_:d?g.slice(S,S+2):(_-55296<<10)+(w-56320)+65536)}};i.exports={codeAt:c(!1),charAt:c(!0)}}),3197:(function(i){var o=2147483647,a=36,s=1,l=26,c=38,d=700,h=72,p=128,g="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",w=a-s,b=Math.floor,x=String.fromCharCode,A=function(k){for(var D=[],V=0,F=k.length;V<F;){var G=k.charCodeAt(V++);if(G>=55296&&G<=56319&&V<F){var Y=k.charCodeAt(V++);(Y&64512)==56320?D.push(((G&1023)<<10)+(Y&1023)+65536):(D.push(G),V--)}else D.push(G)}return D},R=function(k){return k+22+75*(k<26)},O=function(k,D,V){var F=0;for(k=V?b(k/d):k>>1,k+=b(k/D);k>w*l>>1;F+=a)k=b(k/w);return b(F+(w+1)*k/(k+c))},m=function(k){var D=[];k=A(k);var V=k.length,F=p,G=0,Y=h,X,J;for(X=0;X<k.length;X++)J=k[X],J<128&&D.push(x(J));var Z=D.length,ue=Z;for(Z&&D.push(g);ue<V;){var H=o;for(X=0;X<k.length;X++)J=k[X],J>=F&&J<H&&(H=J);var L=ue+1;if(H-F>b((o-G)/L))throw RangeError(_);for(G+=(H-F)*L,F=H,X=0;X<k.length;X++){if(J=k[X],J<F&&++G>o)throw RangeError(_);if(J==F){for(var j=G,te=a;;te+=a){var ee=te<=Y?s:te>=Y+l?l:te-Y;if(j<ee)break;var de=j-ee,Se=a-ee;D.push(x(R(ee+de%Se))),j=b(de/Se)}D.push(x(R(j))),Y=O(G,L,ue==Z),G=0,++ue}}++G,++F}return D.join("")};i.exports=function(k){var D=[],V=k.toLowerCase().replace(E,".").split("."),F,G;for(F=0;F<V.length;F++)G=V[F],D.push(S.test(G)?"xn--"+m(G):G);return D.join(".")}}),6091:(function(i,o,a){var s=a(7293),l=a(1361),c="
";i.exports=function(d){return s(function(){return!!l[d]()||c[d]()!=c||l[d].name!==d})}}),3111:(function(i,o,a){var s=a(4488),l=a(1361),c="["+l+"]",d=RegExp("^"+c+c+"*"),h=RegExp(c+c+"*$"),p=function(g){return function(S){var E=String(s(S));return g&1&&(E=E.replace(d,"")),g&2&&(E=E.replace(h,"")),E}};i.exports={start:p(1),end:p(2),trim:p(3)}}),1400:(function(i,o,a){var s=a(9958),l=Math.max,c=Math.min;i.exports=function(d,h){var p=s(d);return p<0?l(p+h,0):c(p,h)}}),7067:(function(i,o,a){var s=a(9958),l=a(7466);i.exports=function(c){if(c===void 0)return 0;var d=s(c),h=l(d);if(d!==h)throw RangeError("Wrong length or index");return h}}),5656:(function(i,o,a){var s=a(8361),l=a(4488);i.exports=function(c){return s(l(c))}}),9958:(function(i){var o=Math.ceil,a=Math.floor;i.exports=function(s){return isNaN(s=+s)?0:(s>0?a:o)(s)}}),7466:(function(i,o,a){var s=a(9958),l=Math.min;i.exports=function(c){return c>0?l(s(c),9007199254740991):0}}),7908:(function(i,o,a){var s=a(4488);i.exports=function(l){return Object(s(l))}}),4590:(function(i,o,a){var s=a(3002);i.exports=function(l,c){var d=s(l);if(d%c)throw RangeError("Wrong offset");return d}}),3002:(function(i,o,a){var s=a(9958);i.exports=function(l){var c=s(l);if(c<0)throw RangeError("The argument can't be less than 0");return c}}),7593:(function(i,o,a){var s=a(111);i.exports=function(l,c){if(!s(l))return l;var d,h;if(c&&typeof(d=l.toString)=="function"&&!s(h=d.call(l))||typeof(d=l.valueOf)=="function"&&!s(h=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!s(h=d.call(l)))return h;throw TypeError("Can't convert object to primitive value")}}),1694:(function(i,o,a){var s=a(5112),l=s("toStringTag"),c={};c[l]="z",i.exports=String(c)==="[object z]"}),9843:(function(i,o,a){var s=a(2109),l=a(7854),c=a(9781),d=a(3832),h=a(260),p=a(3331),g=a(5787),S=a(9114),E=a(8880),_=a(7466),w=a(7067),b=a(4590),x=a(7593),A=a(6656),R=a(648),O=a(111),m=a(30),k=a(7674),D=a(8006).f,V=a(7321),F=a(2092).forEach,G=a(6340),Y=a(3070),X=a(1236),J=a(9909),Z=a(9587),ue=J.get,H=J.set,L=Y.f,j=X.f,te=Math.round,ee=l.RangeError,de=p.ArrayBuffer,Se=p.DataView,Ae=h.NATIVE_ARRAY_BUFFER_VIEWS,se=h.TYPED_ARRAY_TAG,I=h.TypedArray,P=h.TypedArrayPrototype,q=h.aTypedArrayConstructor,N=h.isTypedArray,B="BYTES_PER_ELEMENT",re="Wrong length",ce=function($e,ge){for(var be=0,Ce=ge.length,Le=new(q($e))(Ce);Ce>be;)Le[be]=ge[be++];return Le},we=function($e,ge){L($e,ge,{get:function(){return ue(this)[ge]}})},_e=function($e){var ge;return $e instanceof de||(ge=R($e))=="ArrayBuffer"||ge=="SharedArrayBuffer"},Oe=function($e,ge){return N($e)&&typeof ge!="symbol"&&ge in $e&&String(+ge)==String(ge)},Te=function(ge,be){return Oe(ge,be=x(be,!0))?S(2,ge[be]):j(ge,be)},Ie=function(ge,be,Ce){return Oe(ge,be=x(be,!0))&&O(Ce)&&A(Ce,"value")&&!A(Ce,"get")&&!A(Ce,"set")&&!Ce.configurable&&(!A(Ce,"writable")||Ce.writable)&&(!A(Ce,"enumerable")||Ce.enumerable)?(ge[be]=Ce.value,ge):L(ge,be,Ce)};c?(Ae||(X.f=Te,Y.f=Ie,we(P,"buffer"),we(P,"byteOffset"),we(P,"byteLength"),we(P,"length")),s({target:"Object",stat:!0,forced:!Ae},{getOwnPropertyDescriptor:Te,defineProperty:Ie}),i.exports=function($e,ge,be){var Ce=$e.match(/\d+$/)[0]/8,Le=$e+(be?"Clamped":"")+"Array",Ve="get"+$e,qe="set"+$e,Ge=l[Le],ct=Ge,jt=ct&&ct.prototype,zt={},Ze=function(st,rt){var dt=ue(st);return dt.view[Ve](rt*Ce+dt.byteOffset,!0)},Tt=function(st,rt,dt){var Gt=ue(st);be&&(dt=(dt=te(dt))<0?0:dt>255?255:dt&255),Gt.view[qe](rt*Ce+Gt.byteOffset,dt,!0)},_t=function(st,rt){L(st,rt,{get:function(){return Ze(this,rt)},set:function(dt){return Tt(this,rt,dt)},enumerable:!0})};Ae?d&&(ct=ge(function(st,rt,dt,Gt){return g(st,ct,Le),Z((function(){return O(rt)?_e(rt)?Gt!==void 0?new Ge(rt,b(dt,Ce),Gt):dt!==void 0?new Ge(rt,b(dt,Ce)):new Ge(rt):N(rt)?ce(ct,rt):V.call(ct,rt):new Ge(w(rt))})(),st,ct)}),k&&k(ct,I),F(D(Ge),function(st){st in ct||E(ct,st,Ge[st])}),ct.prototype=jt):(ct=ge(function(st,rt,dt,Gt){g(st,ct,Le);var Mt=0,Re=0,Je,ut,wt;if(!O(rt))wt=w(rt),ut=wt*Ce,Je=new de(ut);else if(_e(rt)){Je=rt,Re=b(dt,Ce);var Nt=rt.byteLength;if(Gt===void 0){if(Nt%Ce||(ut=Nt-Re,ut<0))throw ee(re)}else if(ut=_(Gt)*Ce,ut+Re>Nt)throw ee(re);wt=ut/Ce}else return N(rt)?ce(ct,rt):V.call(ct,rt);for(H(st,{buffer:Je,byteOffset:Re,byteLength:ut,length:wt,view:new Se(Je)});Mt<wt;)_t(st,Mt++)}),k&&k(ct,I),jt=ct.prototype=m(P)),jt.constructor!==ct&&E(jt,"constructor",ct),se&&E(jt,se,Le),zt[Le]=ct,s({global:!0,forced:ct!=Ge,sham:!Ae},zt),B in ct||E(ct,B,Ce),B in jt||E(jt,B,Ce),G(Le)}):i.exports=function(){}}),3832:(function(i,o,a){var s=a(7854),l=a(7293),c=a(7072),d=a(260).NATIVE_ARRAY_BUFFER_VIEWS,h=s.ArrayBuffer,p=s.Int8Array;i.exports=!d||!l(function(){p(1)})||!l(function(){new p(-1)})||!c(function(g){new p,new p(null),new p(1.5),new p(g)},!0)||l(function(){return new p(new h(2),1,void 0).length!==1})}),3074:(function(i,o,a){var s=a(260).aTypedArrayConstructor,l=a(6707);i.exports=function(c,d){for(var h=l(c,c.constructor),p=0,g=d.length,S=new(s(h))(g);g>p;)S[p]=d[p++];return S}}),7321:(function(i,o,a){var s=a(7908),l=a(7466),c=a(1246),d=a(7659),h=a(9974),p=a(260).aTypedArrayConstructor;i.exports=function(S){var E=s(S),_=arguments.length,w=_>1?arguments[1]:void 0,b=w!==void 0,x=c(E),A,R,O,m,k,D;if(x!=null&&!d(x))for(k=x.call(E),D=k.next,E=[];!(m=D.call(k)).done;)E.push(m.value);for(b&&_>2&&(w=h(w,arguments[2],2)),R=l(E.length),O=new(p(this))(R),A=0;R>A;A++)O[A]=b?w(E[A],A):E[A];return O}}),9711:(function(i){var o=0,a=Math.random();i.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++o+a).toString(36)}}),3307:(function(i,o,a){var s=a(133);i.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(i,o,a){var s=a(7854),l=a(2309),c=a(6656),d=a(9711),h=a(133),p=a(3307),g=l("wks"),S=s.Symbol,E=p?S:S&&S.withoutSetter||d;i.exports=function(_){return c(g,_)||(h&&c(S,_)?g[_]=S[_]:g[_]=E("Symbol."+_)),g[_]}}),1361:(function(i){i.exports=`
|
|
210
|
+
\v\f\r \u2028\u2029\uFEFF`}),8264:(function(i,o,a){var s=a(2109),l=a(7854),c=a(3331),d=a(6340),h="ArrayBuffer",p=c[h],g=l[h];s({global:!0,forced:g!==p},{ArrayBuffer:p}),d(h)}),2222:(function(i,o,a){var s=a(2109),l=a(7293),c=a(3157),d=a(111),h=a(7908),p=a(7466),g=a(6135),S=a(5417),E=a(1194),_=a(5112),w=a(7392),b=_("isConcatSpreadable"),x=9007199254740991,A="Maximum allowed index exceeded",R=w>=51||!l(function(){var D=[];return D[b]=!1,D.concat()[0]!==D}),O=E("concat"),m=function(D){if(!d(D))return!1;var V=D[b];return V!==void 0?!!V:c(D)},k=!R||!O;s({target:"Array",proto:!0,forced:k},{concat:function(V){var F=h(this),G=S(F,0),Y=0,X,J,Z,ue,H;for(X=-1,Z=arguments.length;X<Z;X++)if(H=X===-1?F:arguments[X],m(H)){if(ue=p(H.length),Y+ue>x)throw TypeError(A);for(J=0;J<ue;J++,Y++)J in H&&g(G,Y,H[J])}else{if(Y>=x)throw TypeError(A);g(G,Y++,H)}return G.length=Y,G}})}),7327:(function(i,o,a){var s=a(2109),l=a(2092).filter,c=a(1194),d=c("filter");s({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 s=a(2109),l=a(1318).indexOf,c=a(9341),d=[].indexOf,h=!!d&&1/[1].indexOf(1,-0)<0,p=c("indexOf");s({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 s=a(5656),l=a(1223),c=a(7497),d=a(9909),h=a(654),p="Array Iterator",g=d.set,S=d.getterFor(p);i.exports=h(Array,"Array",function(E,_){g(this,{type:p,target:s(E),index:0,kind:_})},function(){var E=S(this),_=E.target,w=E.kind,b=E.index++;return!_||b>=_.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:b,done:!1}:w=="values"?{value:_[b],done:!1}:{value:[b,_[b]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")}),1249:(function(i,o,a){var s=a(2109),l=a(2092).map,c=a(1194),d=c("map");s({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 s=a(2109),l=a(111),c=a(3157),d=a(1400),h=a(7466),p=a(5656),g=a(6135),S=a(5112),E=a(1194),_=E("slice"),w=S("species"),b=[].slice,x=Math.max;s({target:"Array",proto:!0,forced:!_},{slice:function(R,O){var m=p(this),k=h(m.length),D=d(R,k),V=d(O===void 0?k:O,k),F,G,Y;if(c(m)&&(F=m.constructor,typeof F=="function"&&(F===Array||c(F.prototype))?F=void 0:l(F)&&(F=F[w],F===null&&(F=void 0)),F===Array||F===void 0))return b.call(m,D,V);for(G=new(F===void 0?Array:F)(x(V-D,0)),Y=0;D<V;D++,Y++)D in m&&g(G,Y,m[D]);return G.length=Y,G}})}),561:(function(i,o,a){var s=a(2109),l=a(1400),c=a(9958),d=a(7466),h=a(7908),p=a(5417),g=a(6135),S=a(1194),E=S("splice"),_=Math.max,w=Math.min,b=9007199254740991,x="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!E},{splice:function(R,O){var m=h(this),k=d(m.length),D=l(R,k),V=arguments.length,F,G,Y,X,J,Z;if(V===0?F=G=0:V===1?(F=0,G=k-D):(F=V-2,G=w(_(c(O),0),k-D)),k+F-G>b)throw TypeError(x);for(Y=p(m,G),X=0;X<G;X++)J=D+X,J in m&&g(Y,X,m[J]);if(Y.length=G,F<G){for(X=D;X<k-G;X++)J=X+G,Z=X+F,J in m?m[Z]=m[J]:delete m[Z];for(X=k;X>k-G+F;X--)delete m[X-1]}else if(F>G)for(X=k-G;X>D;X--)J=X+G-1,Z=X+F-1,J in m?m[Z]=m[J]:delete m[Z];for(X=0;X<F;X++)m[X+D]=arguments[X+2];return m.length=k-G+F,Y}})}),8309:(function(i,o,a){var s=a(9781),l=a(3070).f,c=Function.prototype,d=c.toString,h=/^\s*function ([^ (]*)/,p="name";s&&!(p in c)&&l(c,p,{configurable:!0,get:function(){try{return d.call(this).match(h)[1]}catch{return""}}})}),489:(function(i,o,a){var s=a(2109),l=a(7293),c=a(7908),d=a(9518),h=a(8544),p=l(function(){d(1)});s({target:"Object",stat:!0,forced:p,sham:!h},{getPrototypeOf:function(S){return d(c(S))}})}),1539:(function(i,o,a){var s=a(1694),l=a(1320),c=a(288);s||l(Object.prototype,"toString",c,{unsafe:!0})}),4916:(function(i,o,a){var s=a(2109),l=a(2261);s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})}),9714:(function(i,o,a){var s=a(1320),l=a(9670),c=a(7293),d=a(7066),h="toString",p=RegExp.prototype,g=p[h],S=c(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),E=g.name!=h;(S||E)&&s(RegExp.prototype,h,function(){var w=l(this),b=String(w.source),x=w.flags,A=String(x===void 0&&w instanceof RegExp&&!("flags"in p)?d.call(w):x);return"/"+b+"/"+A},{unsafe:!0})}),8783:(function(i,o,a){var s=a(8710).charAt,l=a(9909),c=a(654),d="String Iterator",h=l.set,p=l.getterFor(d);c(String,"String",function(g){h(this,{type:d,string:String(g),index:0})},function(){var S=p(this),E=S.string,_=S.index,w;return _>=E.length?{value:void 0,done:!0}:(w=s(E,_),S.index+=w.length,{value:w,done:!1})})}),4723:(function(i,o,a){var s=a(7007),l=a(9670),c=a(7466),d=a(4488),h=a(1530),p=a(7651);s("match",1,function(g,S,E){return[function(w){var b=d(this),x=w==null?void 0:w[g];return x!==void 0?x.call(w,b):new RegExp(w)[g](String(b))},function(_){var w=E(S,_,this);if(w.done)return w.value;var b=l(_),x=String(this);if(!b.global)return p(b,x);var A=b.unicode;b.lastIndex=0;for(var R=[],O=0,m;(m=p(b,x))!==null;){var k=String(m[0]);R[O]=k,k===""&&(b.lastIndex=h(x,c(b.lastIndex),A)),O++}return O===0?null:R}]})}),5306:(function(i,o,a){var s=a(7007),l=a(9670),c=a(7466),d=a(9958),h=a(4488),p=a(1530),g=a(647),S=a(7651),E=Math.max,_=Math.min,w=function(b){return b===void 0?b:String(b)};s("replace",2,function(b,x,A,R){var O=R.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=R.REPLACE_KEEPS_$0,k=O?"$":"$0";return[function(V,F){var G=h(this),Y=V==null?void 0:V[b];return Y!==void 0?Y.call(V,G,F):x.call(String(G),V,F)},function(D,V){if(!O&&m||typeof V=="string"&&V.indexOf(k)===-1){var F=A(x,D,this,V);if(F.done)return F.value}var G=l(D),Y=String(this),X=typeof V=="function";X||(V=String(V));var J=G.global;if(J){var Z=G.unicode;G.lastIndex=0}for(var ue=[];;){var H=S(G,Y);if(H===null||(ue.push(H),!J))break;var L=String(H[0]);L===""&&(G.lastIndex=p(Y,c(G.lastIndex),Z))}for(var j="",te=0,ee=0;ee<ue.length;ee++){H=ue[ee];for(var de=String(H[0]),Se=E(_(d(H.index),Y.length),0),Ae=[],se=1;se<H.length;se++)Ae.push(w(H[se]));var I=H.groups;if(X){var P=[de].concat(Ae,Se,Y);I!==void 0&&P.push(I);var q=String(V.apply(void 0,P))}else q=g(de,Y,Se,Ae,I,V);Se>=te&&(j+=Y.slice(te,Se)+q,te=Se+de.length)}return j+Y.slice(te)}]})}),3123:(function(i,o,a){var s=a(7007),l=a(7850),c=a(9670),d=a(4488),h=a(6707),p=a(1530),g=a(7466),S=a(7651),E=a(2261),_=a(7293),w=[].push,b=Math.min,x=4294967295,A=!_(function(){return!RegExp(x,"y")});s("split",2,function(R,O,m){var k;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?k=function(D,V){var F=String(d(this)),G=V===void 0?x:V>>>0;if(G===0)return[];if(D===void 0)return[F];if(!l(D))return O.call(F,D,G);for(var Y=[],X=(D.ignoreCase?"i":"")+(D.multiline?"m":"")+(D.unicode?"u":"")+(D.sticky?"y":""),J=0,Z=new RegExp(D.source,X+"g"),ue,H,L;(ue=E.call(Z,F))&&(H=Z.lastIndex,!(H>J&&(Y.push(F.slice(J,ue.index)),ue.length>1&&ue.index<F.length&&w.apply(Y,ue.slice(1)),L=ue[0].length,J=H,Y.length>=G)));)Z.lastIndex===ue.index&&Z.lastIndex++;return J===F.length?(L||!Z.test(""))&&Y.push(""):Y.push(F.slice(J)),Y.length>G?Y.slice(0,G):Y}:"0".split(void 0,0).length?k=function(D,V){return D===void 0&&V===0?[]:O.call(this,D,V)}:k=O,[function(V,F){var G=d(this),Y=V==null?void 0:V[R];return Y!==void 0?Y.call(V,G,F):k.call(String(G),V,F)},function(D,V){var F=m(k,D,this,V,k!==O);if(F.done)return F.value;var G=c(D),Y=String(this),X=h(G,RegExp),J=G.unicode,Z=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(A?"y":"g"),ue=new X(A?G:"^(?:"+G.source+")",Z),H=V===void 0?x:V>>>0;if(H===0)return[];if(Y.length===0)return S(ue,Y)===null?[Y]:[];for(var L=0,j=0,te=[];j<Y.length;){ue.lastIndex=A?j:0;var ee=S(ue,A?Y:Y.slice(j)),de;if(ee===null||(de=b(g(ue.lastIndex+(A?0:j)),Y.length))===L)j=p(Y,j,J);else{if(te.push(Y.slice(L,j)),te.length===H)return te;for(var Se=1;Se<=ee.length-1;Se++)if(te.push(ee[Se]),te.length===H)return te;j=L=de}}return te.push(Y.slice(L)),te}]},!A)}),3210:(function(i,o,a){var s=a(2109),l=a(3111).trim,c=a(6091);s({target:"String",proto:!0,forced:c("trim")},{trim:function(){return l(this)}})}),2990:(function(i,o,a){var s=a(260),l=a(1048),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("copyWithin",function(p,g){return l.call(c(this),p,g,arguments.length>2?arguments[2]:void 0)})}),8927:(function(i,o,a){var s=a(260),l=a(2092).every,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("every",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),3105:(function(i,o,a){var s=a(260),l=a(1285),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("fill",function(p){return l.apply(c(this),arguments)})}),5035:(function(i,o,a){var s=a(260),l=a(2092).filter,c=a(3074),d=s.aTypedArray,h=s.exportTypedArrayMethod;h("filter",function(g){var S=l(d(this),g,arguments.length>1?arguments[1]:void 0);return c(this,S)})}),7174:(function(i,o,a){var s=a(260),l=a(2092).findIndex,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("findIndex",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),4345:(function(i,o,a){var s=a(260),l=a(2092).find,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("find",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),2846:(function(i,o,a){var s=a(260),l=a(2092).forEach,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("forEach",function(p){l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),4731:(function(i,o,a){var s=a(260),l=a(1318).includes,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("includes",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),7209:(function(i,o,a){var s=a(260),l=a(1318).indexOf,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("indexOf",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),6319:(function(i,o,a){var s=a(7854),l=a(260),c=a(6992),d=a(5112),h=d("iterator"),p=s.Uint8Array,g=c.values,S=c.keys,E=c.entries,_=l.aTypedArray,w=l.exportTypedArrayMethod,b=p&&p.prototype[h],x=!!b&&(b.name=="values"||b.name==null),A=function(){return g.call(_(this))};w("entries",function(){return E.call(_(this))}),w("keys",function(){return S.call(_(this))}),w("values",A,!x),w(h,A,!x)}),8867:(function(i,o,a){var s=a(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=[].join;c("join",function(p){return d.apply(l(this),arguments)})}),7789:(function(i,o,a){var s=a(260),l=a(6583),c=s.aTypedArray,d=s.exportTypedArrayMethod;d("lastIndexOf",function(p){return l.apply(c(this),arguments)})}),3739:(function(i,o,a){var s=a(260),l=a(2092).map,c=a(6707),d=s.aTypedArray,h=s.aTypedArrayConstructor,p=s.exportTypedArrayMethod;p("map",function(S){return l(d(this),S,arguments.length>1?arguments[1]:void 0,function(E,_){return new(h(c(E,E.constructor)))(_)})})}),4483:(function(i,o,a){var s=a(260),l=a(3671).right,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("reduceRight",function(p){return l(c(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(i,o,a){var s=a(260),l=a(3671).left,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("reduce",function(p){return l(c(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(i,o,a){var s=a(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=Math.floor;c("reverse",function(){for(var p=this,g=l(p).length,S=d(g/2),E=0,_;E<S;)_=p[E],p[E++]=p[--g],p[g]=_;return p})}),3462:(function(i,o,a){var s=a(260),l=a(7466),c=a(4590),d=a(7908),h=a(7293),p=s.aTypedArray,g=s.exportTypedArrayMethod,S=h(function(){new Int8Array(1).set({})});g("set",function(_){p(this);var w=c(arguments.length>1?arguments[1]:void 0,1),b=this.length,x=d(_),A=l(x.length),R=0;if(A+w>b)throw RangeError("Wrong length");for(;R<A;)this[w+R]=x[R++]},S)}),678:(function(i,o,a){var s=a(260),l=a(6707),c=a(7293),d=s.aTypedArray,h=s.aTypedArrayConstructor,p=s.exportTypedArrayMethod,g=[].slice,S=c(function(){new Int8Array(1).slice()});p("slice",function(_,w){for(var b=g.call(d(this),_,w),x=l(this,this.constructor),A=0,R=b.length,O=new(h(x))(R);R>A;)O[A]=b[A++];return O},S)}),7462:(function(i,o,a){var s=a(260),l=a(2092).some,c=s.aTypedArray,d=s.exportTypedArrayMethod;d("some",function(p){return l(c(this),p,arguments.length>1?arguments[1]:void 0)})}),3824:(function(i,o,a){var s=a(260),l=s.aTypedArray,c=s.exportTypedArrayMethod,d=[].sort;c("sort",function(p){return d.call(l(this),p)})}),5021:(function(i,o,a){var s=a(260),l=a(7466),c=a(1400),d=a(6707),h=s.aTypedArray,p=s.exportTypedArrayMethod;p("subarray",function(S,E){var _=h(this),w=_.length,b=c(S,w);return new(d(_,_.constructor))(_.buffer,_.byteOffset+b*_.BYTES_PER_ELEMENT,l((E===void 0?w:c(E,w))-b))})}),2974:(function(i,o,a){var s=a(7854),l=a(260),c=a(7293),d=s.Int8Array,h=l.aTypedArray,p=l.exportTypedArrayMethod,g=[].toLocaleString,S=[].slice,E=!!d&&c(function(){g.call(new d(1))}),_=c(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!c(function(){d.prototype.toLocaleString.call([1,2])});p("toLocaleString",function(){return g.apply(E?S.call(h(this)):h(this),arguments)},_)}),5016:(function(i,o,a){var s=a(260).exportTypedArrayMethod,l=a(7293),c=a(7854),d=c.Uint8Array,h=d&&d.prototype||{},p=[].toString,g=[].join;l(function(){p.call({})})&&(p=function(){return g.call(this)});var S=h.toString!=p;s("toString",p,S)}),2472:(function(i,o,a){var s=a(9843);s("Uint8",function(l){return function(d,h,p){return l(this,d,h,p)}})}),4747:(function(i,o,a){var s=a(7854),l=a(8324),c=a(8533),d=a(8880);for(var h in l){var p=s[h],g=p&&p.prototype;if(g&&g.forEach!==c)try{d(g,"forEach",c)}catch{g.forEach=c}}}),3948:(function(i,o,a){var s=a(7854),l=a(8324),c=a(6992),d=a(8880),h=a(5112),p=h("iterator"),g=h("toStringTag"),S=c.values;for(var E in l){var _=s[E],w=_&&_.prototype;if(w){if(w[p]!==S)try{d(w,p,S)}catch{w[p]=S}if(w[g]||d(w,g,E),l[E]){for(var b in c)if(w[b]!==c[b])try{d(w,b,c[b])}catch{w[b]=c[b]}}}}}),1637:(function(i,o,a){a(6992);var s=a(2109),l=a(5005),c=a(590),d=a(1320),h=a(2248),p=a(8003),g=a(4994),S=a(9909),E=a(5787),_=a(6656),w=a(9974),b=a(648),x=a(9670),A=a(111),R=a(30),O=a(9114),m=a(8554),k=a(1246),D=a(5112),V=l("fetch"),F=l("Headers"),G=D("iterator"),Y="URLSearchParams",X=Y+"Iterator",J=S.set,Z=S.getterFor(Y),ue=S.getterFor(X),H=/\+/g,L=Array(4),j=function(ce){return L[ce-1]||(L[ce-1]=RegExp("((?:%[\\da-f]{2}){"+ce+"})","gi"))},te=function(ce){try{return decodeURIComponent(ce)}catch{return ce}},ee=function(ce){var we=ce.replace(H," "),_e=4;try{return decodeURIComponent(we)}catch{for(;_e;)we=we.replace(j(_e--),te);return we}},de=/[!'()~]|%20/g,Se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ae=function(ce){return Se[ce]},se=function(ce){return encodeURIComponent(ce).replace(de,Ae)},I=function(ce,we){if(we)for(var _e=we.split("&"),Oe=0,Te,Ie;Oe<_e.length;)Te=_e[Oe++],Te.length&&(Ie=Te.split("="),ce.push({key:ee(Ie.shift()),value:ee(Ie.join("="))}))},P=function(ce){this.entries.length=0,I(this.entries,ce)},q=function(ce,we){if(ce<we)throw TypeError("Not enough arguments")},N=g(function(we,_e){J(this,{type:X,iterator:m(Z(we).entries),kind:_e})},"Iterator",function(){var we=ue(this),_e=we.kind,Oe=we.iterator.next(),Te=Oe.value;return Oe.done||(Oe.value=_e==="keys"?Te.key:_e==="values"?Te.value:[Te.key,Te.value]),Oe}),B=function(){E(this,B,Y);var we=arguments.length>0?arguments[0]:void 0,_e=this,Oe=[],Te,Ie,$e,ge,be,Ce,Le,Ve,qe;if(J(_e,{type:Y,entries:Oe,updateURL:function(){},updateSearchParams:P}),we!==void 0)if(A(we))if(Te=k(we),typeof Te=="function")for(Ie=Te.call(we),$e=Ie.next;!(ge=$e.call(Ie)).done;){if(be=m(x(ge.value)),Ce=be.next,(Le=Ce.call(be)).done||(Ve=Ce.call(be)).done||!Ce.call(be).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Le.value+"",value:Ve.value+""})}else for(qe in we)_(we,qe)&&Oe.push({key:qe,value:we[qe]+""});else I(Oe,typeof we=="string"?we.charAt(0)==="?"?we.slice(1):we:we+"")},re=B.prototype;h(re,{append:function(we,_e){q(arguments.length,2);var Oe=Z(this);Oe.entries.push({key:we+"",value:_e+""}),Oe.updateURL()},delete:function(ce){q(arguments.length,1);for(var we=Z(this),_e=we.entries,Oe=ce+"",Te=0;Te<_e.length;)_e[Te].key===Oe?_e.splice(Te,1):Te++;we.updateURL()},get:function(we){q(arguments.length,1);for(var _e=Z(this).entries,Oe=we+"",Te=0;Te<_e.length;Te++)if(_e[Te].key===Oe)return _e[Te].value;return null},getAll:function(we){q(arguments.length,1);for(var _e=Z(this).entries,Oe=we+"",Te=[],Ie=0;Ie<_e.length;Ie++)_e[Ie].key===Oe&&Te.push(_e[Ie].value);return Te},has:function(we){q(arguments.length,1);for(var _e=Z(this).entries,Oe=we+"",Te=0;Te<_e.length;)if(_e[Te++].key===Oe)return!0;return!1},set:function(we,_e){q(arguments.length,1);for(var Oe=Z(this),Te=Oe.entries,Ie=!1,$e=we+"",ge=_e+"",be=0,Ce;be<Te.length;be++)Ce=Te[be],Ce.key===$e&&(Ie?Te.splice(be--,1):(Ie=!0,Ce.value=ge));Ie||Te.push({key:$e,value:ge}),Oe.updateURL()},sort:function(){var we=Z(this),_e=we.entries,Oe=_e.slice(),Te,Ie,$e;for(_e.length=0,$e=0;$e<Oe.length;$e++){for(Te=Oe[$e],Ie=0;Ie<$e;Ie++)if(_e[Ie].key>Te.key){_e.splice(Ie,0,Te);break}Ie===$e&&_e.push(Te)}we.updateURL()},forEach:function(we){for(var _e=Z(this).entries,Oe=w(we,arguments.length>1?arguments[1]:void 0,3),Te=0,Ie;Te<_e.length;)Ie=_e[Te++],Oe(Ie.value,Ie.key,this)},keys:function(){return new N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),d(re,G,re.entries),d(re,"toString",function(){for(var we=Z(this).entries,_e=[],Oe=0,Te;Oe<we.length;)Te=we[Oe++],_e.push(se(Te.key)+"="+se(Te.value));return _e.join("&")},{enumerable:!0}),p(B,Y),s({global:!0,forced:!c},{URLSearchParams:B}),!c&&typeof V=="function"&&typeof F=="function"&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(we){var _e=[we],Oe,Te,Ie;return arguments.length>1&&(Oe=arguments[1],A(Oe)&&(Te=Oe.body,b(Te)===Y&&(Ie=Oe.headers?new F(Oe.headers):new F,Ie.has("content-type")||Ie.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=R(Oe,{body:O(0,String(Te)),headers:O(0,Ie)}))),_e.push(Oe)),V.apply(this,_e)}}),i.exports={URLSearchParams:B,getState:Z}}),285:(function(i,o,a){a(8783);var s=a(2109),l=a(9781),c=a(590),d=a(7854),h=a(6048),p=a(1320),g=a(5787),S=a(6656),E=a(1574),_=a(8457),w=a(8710).codeAt,b=a(3197),x=a(8003),A=a(1637),R=a(9909),O=d.URL,m=A.URLSearchParams,k=A.getState,D=R.set,V=R.getterFor("URL"),F=Math.floor,G=Math.pow,Y="Invalid authority",X="Invalid scheme",J="Invalid host",Z="Invalid port",ue=/[A-Za-z]/,H=/[\d+-.A-Za-z]/,L=/\d/,j=/^(0x|0X)/,te=/^[0-7]+$/,ee=/^\d+$/,de=/^[\dA-Fa-f]+$/,Se=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ae=/[\u0000\t\u000A\u000D #/:?@[\\]]/,se=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,I=/[\t\u000A\u000D]/g,P,q=function(fe,nt){var ze,Ct,yt;if(nt.charAt(0)=="["){if(nt.charAt(nt.length-1)!="]"||(ze=B(nt.slice(1,-1)),!ze))return J;fe.host=ze}else if(ge(fe)){if(nt=b(nt),Se.test(nt)||(ze=N(nt),ze===null))return J;fe.host=ze}else{if(Ae.test(nt))return J;for(ze="",Ct=_(nt),yt=0;yt<Ct.length;yt++)ze+=Ie(Ct[yt],we);fe.host=ze}},N=function(fe){var nt=fe.split("."),ze,Ct,yt,Bt,Yt,bt,Ar;if(nt.length&&nt[nt.length-1]==""&&nt.pop(),ze=nt.length,ze>4)return fe;for(Ct=[],yt=0;yt<ze;yt++){if(Bt=nt[yt],Bt=="")return fe;if(Yt=10,Bt.length>1&&Bt.charAt(0)=="0"&&(Yt=j.test(Bt)?16:8,Bt=Bt.slice(Yt==8?1:2)),Bt==="")bt=0;else{if(!(Yt==10?ee:Yt==8?te:de).test(Bt))return fe;bt=parseInt(Bt,Yt)}Ct.push(bt)}for(yt=0;yt<ze;yt++)if(bt=Ct[yt],yt==ze-1){if(bt>=G(256,5-ze))return null}else if(bt>255)return null;for(Ar=Ct.pop(),yt=0;yt<Ct.length;yt++)Ar+=Ct[yt]*G(256,3-yt);return Ar},B=function(fe){var nt=[0,0,0,0,0,0,0,0],ze=0,Ct=null,yt=0,Bt,Yt,bt,Ar,Xr,wn,Lt,Qr=function(){return fe.charAt(yt)};if(Qr()==":"){if(fe.charAt(1)!=":")return;yt+=2,ze++,Ct=ze}for(;Qr();){if(ze==8)return;if(Qr()==":"){if(Ct!==null)return;yt++,ze++,Ct=ze;continue}for(Bt=Yt=0;Yt<4&&de.test(Qr());)Bt=Bt*16+parseInt(Qr(),16),yt++,Yt++;if(Qr()=="."){if(Yt==0||(yt-=Yt,ze>6))return;for(bt=0;Qr();){if(Ar=null,bt>0)if(Qr()=="."&&bt<4)yt++;else return;if(!L.test(Qr()))return;for(;L.test(Qr());){if(Xr=parseInt(Qr(),10),Ar===null)Ar=Xr;else{if(Ar==0)return;Ar=Ar*10+Xr}if(Ar>255)return;yt++}nt[ze]=nt[ze]*256+Ar,bt++,(bt==2||bt==4)&&ze++}if(bt!=4)return;break}else if(Qr()==":"){if(yt++,!Qr())return}else if(Qr())return;nt[ze++]=Bt}if(Ct!==null)for(wn=ze-Ct,ze=7;ze!=0&&wn>0;)Lt=nt[ze],nt[ze--]=nt[Ct+wn-1],nt[Ct+--wn]=Lt;else if(ze!=8)return;return nt},re=function(fe){for(var nt=null,ze=1,Ct=null,yt=0,Bt=0;Bt<8;Bt++)fe[Bt]!==0?(yt>ze&&(nt=Ct,ze=yt),Ct=null,yt=0):(Ct===null&&(Ct=Bt),++yt);return yt>ze&&(nt=Ct,ze=yt),nt},ce=function(fe){var nt,ze,Ct,yt;if(typeof fe=="number"){for(nt=[],ze=0;ze<4;ze++)nt.unshift(fe%256),fe=F(fe/256);return nt.join(".")}else if(typeof fe=="object"){for(nt="",Ct=re(fe),ze=0;ze<8;ze++)yt&&fe[ze]===0||(yt&&(yt=!1),Ct===ze?(nt+=ze?":":"::",yt=!0):(nt+=fe[ze].toString(16),ze<7&&(nt+=":")));return"["+nt+"]"}return fe},we={},_e=E({},we,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=E({},_e,{"#":1,"?":1,"{":1,"}":1}),Te=E({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ie=function(fe,nt){var ze=w(fe,0);return ze>32&&ze<127&&!S(nt,fe)?fe:encodeURIComponent(fe)},$e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(fe){return S($e,fe.scheme)},be=function(fe){return fe.username!=""||fe.password!=""},Ce=function(fe){return!fe.host||fe.cannotBeABaseURL||fe.scheme=="file"},Le=function(fe,nt){var ze;return fe.length==2&&ue.test(fe.charAt(0))&&((ze=fe.charAt(1))==":"||!nt&&ze=="|")},Ve=function(fe){var nt;return fe.length>1&&Le(fe.slice(0,2))&&(fe.length==2||(nt=fe.charAt(2))==="/"||nt==="\\"||nt==="?"||nt==="#")},qe=function(fe){var nt=fe.path,ze=nt.length;ze&&(fe.scheme!="file"||ze!=1||!Le(nt[0],!0))&&nt.pop()},Ge=function(fe){return fe==="."||fe.toLowerCase()==="%2e"},ct=function(fe){return fe=fe.toLowerCase(),fe===".."||fe==="%2e."||fe===".%2e"||fe==="%2e%2e"},jt={},zt={},Ze={},Tt={},_t={},st={},rt={},dt={},Gt={},Mt={},Re={},Je={},ut={},wt={},Nt={},nr={},yr={},ir={},wr={},Ur={},Wr={},Un=function(fe,nt,ze,Ct){var yt=ze||jt,Bt=0,Yt="",bt=!1,Ar=!1,Xr=!1,wn,Lt,Qr,Vn;for(ze||(fe.scheme="",fe.username="",fe.password="",fe.host=null,fe.port=null,fe.path=[],fe.query=null,fe.fragment=null,fe.cannotBeABaseURL=!1,nt=nt.replace(se,"")),nt=nt.replace(I,""),wn=_(nt);Bt<=wn.length;){switch(Lt=wn[Bt],yt){case jt:if(Lt&&ue.test(Lt))Yt+=Lt.toLowerCase(),yt=zt;else{if(ze)return X;yt=Ze;continue}break;case zt:if(Lt&&(H.test(Lt)||Lt=="+"||Lt=="-"||Lt=="."))Yt+=Lt.toLowerCase();else if(Lt==":"){if(ze&&(ge(fe)!=S($e,Yt)||Yt=="file"&&(be(fe)||fe.port!==null)||fe.scheme=="file"&&!fe.host))return;if(fe.scheme=Yt,ze){ge(fe)&&$e[fe.scheme]==fe.port&&(fe.port=null);return}Yt="",fe.scheme=="file"?yt=wt:ge(fe)&&Ct&&Ct.scheme==fe.scheme?yt=Tt:ge(fe)?yt=dt:wn[Bt+1]=="/"?(yt=_t,Bt++):(fe.cannotBeABaseURL=!0,fe.path.push(""),yt=wr)}else{if(ze)return X;Yt="",yt=Ze,Bt=0;continue}break;case Ze:if(!Ct||Ct.cannotBeABaseURL&&Lt!="#")return X;if(Ct.cannotBeABaseURL&&Lt=="#"){fe.scheme=Ct.scheme,fe.path=Ct.path.slice(),fe.query=Ct.query,fe.fragment="",fe.cannotBeABaseURL=!0,yt=Wr;break}yt=Ct.scheme=="file"?wt:st;continue;case Tt:if(Lt=="/"&&wn[Bt+1]=="/")yt=Gt,Bt++;else{yt=st;continue}break;case _t:if(Lt=="/"){yt=Mt;break}else{yt=ir;continue}case st:if(fe.scheme=Ct.scheme,Lt==P)fe.username=Ct.username,fe.password=Ct.password,fe.host=Ct.host,fe.port=Ct.port,fe.path=Ct.path.slice(),fe.query=Ct.query;else if(Lt=="/"||Lt=="\\"&&ge(fe))yt=rt;else if(Lt=="?")fe.username=Ct.username,fe.password=Ct.password,fe.host=Ct.host,fe.port=Ct.port,fe.path=Ct.path.slice(),fe.query="",yt=Ur;else if(Lt=="#")fe.username=Ct.username,fe.password=Ct.password,fe.host=Ct.host,fe.port=Ct.port,fe.path=Ct.path.slice(),fe.query=Ct.query,fe.fragment="",yt=Wr;else{fe.username=Ct.username,fe.password=Ct.password,fe.host=Ct.host,fe.port=Ct.port,fe.path=Ct.path.slice(),fe.path.pop(),yt=ir;continue}break;case rt:if(ge(fe)&&(Lt=="/"||Lt=="\\"))yt=Gt;else if(Lt=="/")yt=Mt;else{fe.username=Ct.username,fe.password=Ct.password,fe.host=Ct.host,fe.port=Ct.port,yt=ir;continue}break;case dt:if(yt=Gt,Lt!="/"||Yt.charAt(Bt+1)!="/")continue;Bt++;break;case Gt:if(Lt!="/"&&Lt!="\\"){yt=Mt;continue}break;case Mt:if(Lt=="@"){bt&&(Yt="%40"+Yt),bt=!0,Qr=_(Yt);for(var Pn=0;Pn<Qr.length;Pn++){var oo=Qr[Pn];if(oo==":"&&!Xr){Xr=!0;continue}var ui=Ie(oo,Te);Xr?fe.password+=ui:fe.username+=ui}Yt=""}else if(Lt==P||Lt=="/"||Lt=="?"||Lt=="#"||Lt=="\\"&&ge(fe)){if(bt&&Yt=="")return Y;Bt-=_(Yt).length+1,Yt="",yt=Re}else Yt+=Lt;break;case Re:case Je:if(ze&&fe.scheme=="file"){yt=nr;continue}else if(Lt==":"&&!Ar){if(Yt=="")return J;if(Vn=q(fe,Yt),Vn)return Vn;if(Yt="",yt=ut,ze==Je)return}else if(Lt==P||Lt=="/"||Lt=="?"||Lt=="#"||Lt=="\\"&&ge(fe)){if(ge(fe)&&Yt=="")return J;if(ze&&Yt==""&&(be(fe)||fe.port!==null))return;if(Vn=q(fe,Yt),Vn)return Vn;if(Yt="",yt=yr,ze)return;continue}else Lt=="["?Ar=!0:Lt=="]"&&(Ar=!1),Yt+=Lt;break;case ut:if(L.test(Lt))Yt+=Lt;else if(Lt==P||Lt=="/"||Lt=="?"||Lt=="#"||Lt=="\\"&&ge(fe)||ze){if(Yt!=""){var Ji=parseInt(Yt,10);if(Ji>65535)return Z;fe.port=ge(fe)&&Ji===$e[fe.scheme]?null:Ji,Yt=""}if(ze)return;yt=yr;continue}else return Z;break;case wt:if(fe.scheme="file",Lt=="/"||Lt=="\\")yt=Nt;else if(Ct&&Ct.scheme=="file")if(Lt==P)fe.host=Ct.host,fe.path=Ct.path.slice(),fe.query=Ct.query;else if(Lt=="?")fe.host=Ct.host,fe.path=Ct.path.slice(),fe.query="",yt=Ur;else if(Lt=="#")fe.host=Ct.host,fe.path=Ct.path.slice(),fe.query=Ct.query,fe.fragment="",yt=Wr;else{Ve(wn.slice(Bt).join(""))||(fe.host=Ct.host,fe.path=Ct.path.slice(),qe(fe)),yt=ir;continue}else{yt=ir;continue}break;case Nt:if(Lt=="/"||Lt=="\\"){yt=nr;break}Ct&&Ct.scheme=="file"&&!Ve(wn.slice(Bt).join(""))&&(Le(Ct.path[0],!0)?fe.path.push(Ct.path[0]):fe.host=Ct.host),yt=ir;continue;case nr:if(Lt==P||Lt=="/"||Lt=="\\"||Lt=="?"||Lt=="#"){if(!ze&&Le(Yt))yt=ir;else if(Yt==""){if(fe.host="",ze)return;yt=yr}else{if(Vn=q(fe,Yt),Vn)return Vn;if(fe.host=="localhost"&&(fe.host=""),ze)return;Yt="",yt=yr}continue}else Yt+=Lt;break;case yr:if(ge(fe)){if(yt=ir,Lt!="/"&&Lt!="\\")continue}else if(!ze&&Lt=="?")fe.query="",yt=Ur;else if(!ze&&Lt=="#")fe.fragment="",yt=Wr;else if(Lt!=P&&(yt=ir,Lt!="/"))continue;break;case ir:if(Lt==P||Lt=="/"||Lt=="\\"&&ge(fe)||!ze&&(Lt=="?"||Lt=="#")){if(ct(Yt)?(qe(fe),Lt!="/"&&!(Lt=="\\"&&ge(fe))&&fe.path.push("")):Ge(Yt)?Lt!="/"&&!(Lt=="\\"&&ge(fe))&&fe.path.push(""):(fe.scheme=="file"&&!fe.path.length&&Le(Yt)&&(fe.host&&(fe.host=""),Yt=Yt.charAt(0)+":"),fe.path.push(Yt)),Yt="",fe.scheme=="file"&&(Lt==P||Lt=="?"||Lt=="#"))for(;fe.path.length>1&&fe.path[0]==="";)fe.path.shift();Lt=="?"?(fe.query="",yt=Ur):Lt=="#"&&(fe.fragment="",yt=Wr)}else Yt+=Ie(Lt,Oe);break;case wr:Lt=="?"?(fe.query="",yt=Ur):Lt=="#"?(fe.fragment="",yt=Wr):Lt!=P&&(fe.path[0]+=Ie(Lt,we));break;case Ur:!ze&&Lt=="#"?(fe.fragment="",yt=Wr):Lt!=P&&(Lt=="'"&&ge(fe)?fe.query+="%27":Lt=="#"?fe.query+="%23":fe.query+=Ie(Lt,we));break;case Wr:Lt!=P&&(fe.fragment+=Ie(Lt,_e));break}Bt++}},qn=function(nt){var ze=g(this,qn,"URL"),Ct=arguments.length>1?arguments[1]:void 0,yt=String(nt),Bt=D(ze,{type:"URL"}),Yt,bt;if(Ct!==void 0){if(Ct instanceof qn)Yt=V(Ct);else if(bt=Un(Yt={},String(Ct)),bt)throw TypeError(bt)}if(bt=Un(Bt,yt,null,Yt),bt)throw TypeError(bt);var Ar=Bt.searchParams=new m,Xr=k(Ar);Xr.updateSearchParams(Bt.query),Xr.updateURL=function(){Bt.query=String(Ar)||null},l||(ze.href=En.call(ze),ze.origin=ti.call(ze),ze.protocol=si.call(ze),ze.username=Si.call(ze),ze.password=di.call(ze),ze.host=$i.call(ze),ze.hostname=qi.call(ze),ze.port=xn.call(ze),ze.pathname=ri.call(ze),ze.search=xi.call(ze),ze.searchParams=Ei.call(ze),ze.hash=ot.call(ze))},Kn=qn.prototype,En=function(){var fe=V(this),nt=fe.scheme,ze=fe.username,Ct=fe.password,yt=fe.host,Bt=fe.port,Yt=fe.path,bt=fe.query,Ar=fe.fragment,Xr=nt+":";return yt!==null?(Xr+="//",be(fe)&&(Xr+=ze+(Ct?":"+Ct:"")+"@"),Xr+=ce(yt),Bt!==null&&(Xr+=":"+Bt)):nt=="file"&&(Xr+="//"),Xr+=fe.cannotBeABaseURL?Yt[0]:Yt.length?"/"+Yt.join("/"):"",bt!==null&&(Xr+="?"+bt),Ar!==null&&(Xr+="#"+Ar),Xr},ti=function(){var fe=V(this),nt=fe.scheme,ze=fe.port;if(nt=="blob")try{return new URL(nt.path[0]).origin}catch{return"null"}return nt=="file"||!ge(fe)?"null":nt+"://"+ce(fe.host)+(ze!==null?":"+ze:"")},si=function(){return V(this).scheme+":"},Si=function(){return V(this).username},di=function(){return V(this).password},$i=function(){var fe=V(this),nt=fe.host,ze=fe.port;return nt===null?"":ze===null?ce(nt):ce(nt)+":"+ze},qi=function(){var fe=V(this).host;return fe===null?"":ce(fe)},xn=function(){var fe=V(this).port;return fe===null?"":String(fe)},ri=function(){var fe=V(this),nt=fe.path;return fe.cannotBeABaseURL?nt[0]:nt.length?"/"+nt.join("/"):""},xi=function(){var fe=V(this).query;return fe?"?"+fe:""},Ei=function(){return V(this).searchParams},ot=function(){var fe=V(this).fragment;return fe?"#"+fe:""},Dt=function(fe,nt){return{get:fe,set:nt,configurable:!0,enumerable:!0}};if(l&&h(Kn,{href:Dt(En,function(fe){var nt=V(this),ze=String(fe),Ct=Un(nt,ze);if(Ct)throw TypeError(Ct);k(nt.searchParams).updateSearchParams(nt.query)}),origin:Dt(ti),protocol:Dt(si,function(fe){var nt=V(this);Un(nt,String(fe)+":",jt)}),username:Dt(Si,function(fe){var nt=V(this),ze=_(String(fe));if(!Ce(nt)){nt.username="";for(var Ct=0;Ct<ze.length;Ct++)nt.username+=Ie(ze[Ct],Te)}}),password:Dt(di,function(fe){var nt=V(this),ze=_(String(fe));if(!Ce(nt)){nt.password="";for(var Ct=0;Ct<ze.length;Ct++)nt.password+=Ie(ze[Ct],Te)}}),host:Dt($i,function(fe){var nt=V(this);nt.cannotBeABaseURL||Un(nt,String(fe),Re)}),hostname:Dt(qi,function(fe){var nt=V(this);nt.cannotBeABaseURL||Un(nt,String(fe),Je)}),port:Dt(xn,function(fe){var nt=V(this);Ce(nt)||(fe=String(fe),fe==""?nt.port=null:Un(nt,fe,ut))}),pathname:Dt(ri,function(fe){var nt=V(this);nt.cannotBeABaseURL||(nt.path=[],Un(nt,fe+"",yr))}),search:Dt(xi,function(fe){var nt=V(this);fe=String(fe),fe==""?nt.query=null:(fe.charAt(0)=="?"&&(fe=fe.slice(1)),nt.query="",Un(nt,fe,Ur)),k(nt.searchParams).updateSearchParams(nt.query)}),searchParams:Dt(Ei),hash:Dt(ot,function(fe){var nt=V(this);if(fe=String(fe),fe==""){nt.fragment=null;return}fe.charAt(0)=="#"&&(fe=fe.slice(1)),nt.fragment="",Un(nt,fe,Wr)})}),p(Kn,"toJSON",function(){return En.call(this)},{enumerable:!0}),p(Kn,"toString",function(){return En.call(this)},{enumerable:!0}),O){var gt=O.createObjectURL,et=O.revokeObjectURL;gt&&p(qn,"createObjectURL",function(nt){return gt.apply(O,arguments)}),et&&p(qn,"revokeObjectURL",function(nt){return et.apply(O,arguments)})}x(qn,"URL"),s({global:!0,forced:!c,sham:!l},{URL:qn})})},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 Z},default:function(){return Ae}}),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(se,I){var P;if(typeof Symbol>"u"||se[Symbol.iterator]==null){if(Array.isArray(se)||(P=o(se))||se&&typeof se.length=="number"){P&&(se=P);var q=0,N=function(){};return{s:N,n:function(){return q>=se.length?{done:!0}:{done:!1,value:se[q++]}},e:function(_e){throw _e},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
211
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,re=!1,ce;return{s:function(){P=se[Symbol.iterator]()},n:function(){var _e=P.next();return B=_e.done,_e},e:function(_e){re=!0,ce=_e},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(re)throw ce}}}}function o(se,I){if(se){if(typeof se=="string")return a(se,I);var P=Object.prototype.toString.call(se).slice(8,-1);if(P==="Object"&&se.constructor&&(P=se.constructor.name),P==="Map"||P==="Set")return Array.from(se);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return a(se,I)}}function a(se,I){(I==null||I>se.length)&&(I=se.length);for(var P=0,q=new Array(I);P<I;P++)q[P]=se[P];return q}function s(se,I){if(!(se instanceof I))throw new TypeError("Cannot call a class as a function")}function l(se,I){for(var P=0;P<I.length;P++){var q=I[P];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(se,q.key,q)}}function c(se,I,P){return I&&l(se.prototype,I),se}var d=(function(){function se(){s(this,se)}return c(se,[{key:"on",value:(function(P,q){return this._callbacks=this._callbacks||{},this._callbacks[P]||(this._callbacks[P]=[]),this._callbacks[P].push(q),this})},{key:"emit",value:function(P){this._callbacks=this._callbacks||{};for(var q=this._callbacks[P],N=arguments.length,B=new Array(N>1?N-1:0),re=1;re<N;re++)B[re-1]=arguments[re];if(q){var ce=i(q),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.apply(this,B)}}catch(Oe){ce.e(Oe)}finally{ce.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+P,{args:B})),this}},{key:"makeEvent",value:function(P,q){var N={bubbles:!0,cancelable:!0,detail:q};if(typeof window.CustomEvent=="function")return new CustomEvent(P,N);var B=document.createEvent("CustomEvent");return B.initCustomEvent(P,N.bubbles,N.cancelable,N.detail),B}},{key:"off",value:function(P,q){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var N=this._callbacks[P];if(!N)return this;if(arguments.length===1)return delete this._callbacks[P],this;for(var B=0;B<N.length;B++){var re=N[B];if(re===q){N.splice(B,1);break}}return this}}]),se})(),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 g(se,I){var P;if(typeof Symbol>"u"||se[Symbol.iterator]==null){if(Array.isArray(se)||(P=S(se))||se&&typeof se.length=="number"){P&&(se=P);var q=0,N=function(){};return{s:N,n:function(){return q>=se.length?{done:!0}:{done:!1,value:se[q++]}},e:function(_e){throw _e},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
212
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,re=!1,ce;return{s:function(){P=se[Symbol.iterator]()},n:function(){var _e=P.next();return B=_e.done,_e},e:function(_e){re=!0,ce=_e},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(re)throw ce}}}}function S(se,I){if(se){if(typeof se=="string")return E(se,I);var P=Object.prototype.toString.call(se).slice(8,-1);if(P==="Object"&&se.constructor&&(P=se.constructor.name),P==="Map"||P==="Set")return Array.from(se);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(se,I)}}function E(se,I){(I==null||I>se.length)&&(I=se.length);for(var P=0,q=new Array(I);P<I;P++)q[P]=se[P];return q}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(I,P,q){if(q)return{dzuuid:q.file.upload.uuid,dzchunkindex:q.index,dztotalfilesize:q.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:q.file.upload.totalChunkCount,dzchunkbyteoffset:q.index*this.options.chunkSize}},accept:function(I,P){return P()},chunksUploaded:function(I,P){P()},fallback:function(){var I;this.element.className="".concat(this.element.className," dz-browser-not-supported");var P=g(this.element.getElementsByTagName("div")),q;try{for(P.s();!(q=P.n()).done;){var N=q.value;if(/(^| )dz-message($| )/.test(N.className)){I=N,N.className="dz-message";break}}}catch(re){P.e(re)}finally{P.f()}I||(I=Z.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(I));var B=I.getElementsByTagName("span")[0];return B&&(B.textContent!=null?B.textContent=this.options.dictFallbackMessage:B.innerText!=null&&(B.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(I,P,q,N){var B={srcX:0,srcY:0,srcWidth:I.width,srcHeight:I.height},re=I.width/I.height;P==null&&q==null?(P=B.srcWidth,q=B.srcHeight):P==null?P=q*re:q==null&&(q=P/re),P=Math.min(P,B.srcWidth),q=Math.min(q,B.srcHeight);var ce=P/q;if(B.srcWidth>P||B.srcHeight>q)if(N==="crop")re>ce?(B.srcHeight=I.height,B.srcWidth=B.srcHeight*ce):(B.srcWidth=I.width,B.srcHeight=B.srcWidth/ce);else if(N==="contain")re>ce?q=P/re:P=q*re;else throw new Error("Unknown resizeMethod '".concat(N,"'"));return B.srcX=(I.width-B.srcWidth)/2,B.srcY=(I.height-B.srcHeight)/2,B.trgWidth=P,B.trgHeight=q,B},transformFile:function(I,P){return(this.options.resizeWidth||this.options.resizeHeight)&&I.type.match(/image.*/)?this.resizeImage(I,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,P):P(I)},previewTemplate:p,drop:function(I){return this.element.classList.remove("dz-drag-hover")},dragstart:function(I){},dragend:function(I){return this.element.classList.remove("dz-drag-hover")},dragenter:function(I){return this.element.classList.add("dz-drag-hover")},dragover:function(I){return this.element.classList.add("dz-drag-hover")},dragleave:function(I){return this.element.classList.remove("dz-drag-hover")},paste:function(I){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(I){var P=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){I.previewElement=Z.createElement(this.options.previewTemplate.trim()),I.previewTemplate=I.previewElement,this.previewsContainer.appendChild(I.previewElement);var q=g(I.previewElement.querySelectorAll("[data-dz-name]")),N;try{for(q.s();!(N=q.n()).done;){var B=N.value;B.textContent=I.name}}catch(Ie){q.e(Ie)}finally{q.f()}var re=g(I.previewElement.querySelectorAll("[data-dz-size]")),ce;try{for(re.s();!(ce=re.n()).done;)B=ce.value,B.innerHTML=this.filesize(I.size)}catch(Ie){re.e(Ie)}finally{re.f()}this.options.addRemoveLinks&&(I._removeLink=Z.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),I.previewElement.appendChild(I._removeLink));var we=function($e){return $e.preventDefault(),$e.stopPropagation(),I.status===Z.UPLOADING?Z.confirm(P.options.dictCancelUploadConfirmation,function(){return P.removeFile(I)}):P.options.dictRemoveFileConfirmation?Z.confirm(P.options.dictRemoveFileConfirmation,function(){return P.removeFile(I)}):P.removeFile(I)},_e=g(I.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(_e.s();!(Oe=_e.n()).done;){var Te=Oe.value;Te.addEventListener("click",we)}}catch(Ie){_e.e(Ie)}finally{_e.f()}}},removedfile:function(I){return I.previewElement!=null&&I.previewElement.parentNode!=null&&I.previewElement.parentNode.removeChild(I.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(I,P){if(I.previewElement){I.previewElement.classList.remove("dz-file-preview");var q=g(I.previewElement.querySelectorAll("[data-dz-thumbnail]")),N;try{for(q.s();!(N=q.n()).done;){var B=N.value;B.alt=I.name,B.src=P}}catch(re){q.e(re)}finally{q.f()}return setTimeout(function(){return I.previewElement.classList.add("dz-image-preview")},1)}},error:function(I,P){if(I.previewElement){I.previewElement.classList.add("dz-error"),typeof P!="string"&&P.error&&(P=P.error);var q=g(I.previewElement.querySelectorAll("[data-dz-errormessage]")),N;try{for(q.s();!(N=q.n()).done;){var B=N.value;B.textContent=P}}catch(re){q.e(re)}finally{q.f()}}},errormultiple:function(){},processing:function(I){if(I.previewElement&&(I.previewElement.classList.add("dz-processing"),I._removeLink))return I._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(I,P,q){if(I.previewElement){var N=g(I.previewElement.querySelectorAll("[data-dz-uploadprogress]")),B;try{for(N.s();!(B=N.n()).done;){var re=B.value;re.nodeName==="PROGRESS"?re.value=P:re.style.width="".concat(P,"%")}}catch(ce){N.e(ce)}finally{N.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(I){if(I.previewElement)return I.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(I){return this.emit("error",I,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(I){if(I._removeLink&&(I._removeLink.innerHTML=this.options.dictRemoveFile),I.previewElement)return I.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},w=_;function b(se){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(P){return typeof P}:b=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},b(se)}function x(se,I){var P;if(typeof Symbol>"u"||se[Symbol.iterator]==null){if(Array.isArray(se)||(P=A(se))||se&&typeof se.length=="number"){P&&(se=P);var q=0,N=function(){};return{s:N,n:function(){return q>=se.length?{done:!0}:{done:!1,value:se[q++]}},e:function(_e){throw _e},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
213
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,re=!1,ce;return{s:function(){P=se[Symbol.iterator]()},n:function(){var _e=P.next();return B=_e.done,_e},e:function(_e){re=!0,ce=_e},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(re)throw ce}}}}function A(se,I){if(se){if(typeof se=="string")return R(se,I);var P=Object.prototype.toString.call(se).slice(8,-1);if(P==="Object"&&se.constructor&&(P=se.constructor.name),P==="Map"||P==="Set")return Array.from(se);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return R(se,I)}}function R(se,I){(I==null||I>se.length)&&(I=se.length);for(var P=0,q=new Array(I);P<I;P++)q[P]=se[P];return q}function O(se,I){if(!(se instanceof I))throw new TypeError("Cannot call a class as a function")}function m(se,I){for(var P=0;P<I.length;P++){var q=I[P];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(se,q.key,q)}}function k(se,I,P){return I&&m(se.prototype,I),P&&m(se,P),se}function D(se,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(I&&I.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),I&&V(se,I)}function V(se,I){return V=Object.setPrototypeOf||function(q,N){return q.__proto__=N,q},V(se,I)}function F(se){var I=X();return function(){var q=J(se),N;if(I){var B=J(this).constructor;N=Reflect.construct(q,arguments,B)}else N=q.apply(this,arguments);return G(this,N)}}function G(se,I){return I&&(b(I)==="object"||typeof I=="function")?I:Y(se)}function Y(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function J(se){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},J(se)}var Z=(function(se){D(P,se);var I=F(P);function P(q,N){var B;O(this,P),B=I.call(this);var re,ce;if(B.element=q,B.version=P.version,B.clickableElements=[],B.listeners=[],B.files=[],typeof B.element=="string"&&(B.element=document.querySelector(B.element)),!B.element||B.element.nodeType==null)throw new Error("Invalid dropzone element.");if(B.element.dropzone)throw new Error("Dropzone already attached.");P.instances.push(Y(B)),B.element.dropzone=Y(B);var we=(ce=P.optionsForElement(B.element))!=null?ce:{};if(B.options=P.extend({},w,we,N??{}),B.options.previewTemplate=B.options.previewTemplate.replace(/\n*/g,""),B.options.forceFallback||!P.isBrowserSupported())return G(B,B.options.fallback.call(Y(B)));if(B.options.url==null&&(B.options.url=B.element.getAttribute("action")),!B.options.url)throw new Error("No URL provided.");if(B.options.acceptedFiles&&B.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(B.options.uploadMultiple&&B.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return B.options.acceptedMimeTypes&&(B.options.acceptedFiles=B.options.acceptedMimeTypes,delete B.options.acceptedMimeTypes),B.options.renameFilename!=null&&(B.options.renameFile=function(_e){return B.options.renameFilename.call(Y(B),_e.name,_e)}),typeof B.options.method=="string"&&(B.options.method=B.options.method.toUpperCase()),(re=B.getExistingFallback())&&re.parentNode&&re.parentNode.removeChild(re),B.options.previewsContainer!==!1&&(B.options.previewsContainer?B.previewsContainer=P.getElement(B.options.previewsContainer,"previewsContainer"):B.previewsContainer=B.element),B.options.clickable&&(B.options.clickable===!0?B.clickableElements=[B.element]:B.clickableElements=P.getElements(B.options.clickable,"clickable")),B.init(),B}return k(P,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(N){return N.accepted}).map(function(N){return N})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(N){return!N.accepted}).map(function(N){return N})}},{key:"getFilesWithStatus",value:function(N){return this.files.filter(function(B){return B.status===N}).map(function(B){return B})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(P.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(P.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(P.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(N){return N.status===P.UPLOADING||N.status===P.QUEUED}).map(function(N){return N})}},{key:"init",value:function(){var N=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(P.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var B=function Te(){N.hiddenFileInput&&N.hiddenFileInput.parentNode.removeChild(N.hiddenFileInput),N.hiddenFileInput=document.createElement("input"),N.hiddenFileInput.setAttribute("type","file"),(N.options.maxFiles===null||N.options.maxFiles>1)&&N.hiddenFileInput.setAttribute("multiple","multiple"),N.hiddenFileInput.className="dz-hidden-input",N.options.acceptedFiles!==null&&N.hiddenFileInput.setAttribute("accept",N.options.acceptedFiles),N.options.capture!==null&&N.hiddenFileInput.setAttribute("capture",N.options.capture),N.hiddenFileInput.setAttribute("tabindex","-1"),N.hiddenFileInput.style.visibility="hidden",N.hiddenFileInput.style.position="absolute",N.hiddenFileInput.style.top="0",N.hiddenFileInput.style.left="0",N.hiddenFileInput.style.height="0",N.hiddenFileInput.style.width="0",P.getElement(N.options.hiddenInputContainer,"hiddenInputContainer").appendChild(N.hiddenFileInput),N.hiddenFileInput.addEventListener("change",function(){var Ie=N.hiddenFileInput.files;if(Ie.length){var $e=x(Ie),ge;try{for($e.s();!(ge=$e.n()).done;){var be=ge.value;N.addFile(be)}}catch(Ce){$e.e(Ce)}finally{$e.f()}}N.emit("addedfiles",Ie),Te()})};B()}this.URL=window.URL!==null?window.URL:window.webkitURL;var re=x(this.events),ce;try{for(re.s();!(ce=re.n()).done;){var we=ce.value;this.on(we,this.options[we])}}catch(Te){re.e(Te)}finally{re.f()}this.on("uploadprogress",function(){return N.updateTotalUploadProgress()}),this.on("removedfile",function(){return N.updateTotalUploadProgress()}),this.on("canceled",function(Te){return N.emit("complete",Te)}),this.on("complete",function(Te){if(N.getAddedFiles().length===0&&N.getUploadingFiles().length===0&&N.getQueuedFiles().length===0)return setTimeout(function(){return N.emit("queuecomplete")},0)});var _e=function(Ie){if(Ie.dataTransfer.types){for(var $e=0;$e<Ie.dataTransfer.types.length;$e++)if(Ie.dataTransfer.types[$e]==="Files")return!0}return!1},Oe=function(Ie){if(_e(Ie))return Ie.stopPropagation(),Ie.preventDefault?Ie.preventDefault():Ie.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Ie){return N.emit("dragstart",Ie)},dragenter:function(Ie){return Oe(Ie),N.emit("dragenter",Ie)},dragover:function(Ie){var $e;try{$e=Ie.dataTransfer.effectAllowed}catch{}return Ie.dataTransfer.dropEffect=$e==="move"||$e==="linkMove"?"move":"copy",Oe(Ie),N.emit("dragover",Ie)},dragleave:function(Ie){return N.emit("dragleave",Ie)},drop:function(Ie){return Oe(Ie),N.drop(Ie)},dragend:function(Ie){return N.emit("dragend",Ie)}}}],this.clickableElements.forEach(function(Te){return N.listeners.push({element:Te,events:{click:function($e){return(Te!==N.element||$e.target===N.element||P.elementInside($e.target,N.element.querySelector(".dz-message")))&&N.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,P.instances.splice(P.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var N,B=0,re=0,ce=this.getActiveFiles();if(ce.length){var we=x(this.getActiveFiles()),_e;try{for(we.s();!(_e=we.n()).done;){var Oe=_e.value;B+=Oe.upload.bytesSent,re+=Oe.upload.total}}catch(Te){we.e(Te)}finally{we.f()}N=100*B/re}else N=100;return this.emit("totaluploadprogress",N,re,B)}},{key:"_getParamName",value:function(N){return typeof this.options.paramName=="function"?this.options.paramName(N):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(N,"]"):"")}},{key:"_renameFile",value:function(N){return typeof this.options.renameFile!="function"?N.name:this.options.renameFile(N)}},{key:"getFallbackForm",value:function(){var N,B;if(N=this.getExistingFallback())return N;var re='<div class="dz-fallback">';this.options.dictFallbackText&&(re+="<p>".concat(this.options.dictFallbackText,"</p>")),re+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var ce=P.createElement(re);return this.element.tagName!=="FORM"?(B=P.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),B.appendChild(ce)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),B??ce}},{key:"getExistingFallback",value:function(){for(var N=function(Oe){var Te=x(Oe),Ie;try{for(Te.s();!(Ie=Te.n()).done;){var $e=Ie.value;if(/(^| )fallback($| )/.test($e.className))return $e}}catch(ge){Te.e(ge)}finally{Te.f()}},B=0,re=["div","form"];B<re.length;B++){var ce=re[B],we;if(we=N(this.element.getElementsByTagName(ce)))return we}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(N){return(function(){var B=[];for(var re in N.events){var ce=N.events[re];B.push(N.element.addEventListener(re,ce,!1))}return B})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(N){return(function(){var B=[];for(var re in N.events){var ce=N.events[re];B.push(N.element.removeEventListener(re,ce,!1))}return B})()})}},{key:"disable",value:function(){var N=this;return this.clickableElements.forEach(function(B){return B.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(B){return N.cancelUpload(B)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(N){return N.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(N){var B=0,re="b";if(N>0){for(var ce=["tb","gb","mb","kb","b"],we=0;we<ce.length;we++){var _e=ce[we],Oe=Math.pow(this.options.filesizeBase,4-we)/10;if(N>=Oe){B=N/Math.pow(this.options.filesizeBase,4-we),re=_e;break}}B=Math.round(10*B)/10}return"<strong>".concat(B,"</strong> ").concat(this.options.dictFileSizeUnits[re])}},{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(N){if(N.dataTransfer){this.emit("drop",N);for(var B=[],re=0;re<N.dataTransfer.files.length;re++)B[re]=N.dataTransfer.files[re];if(B.length){var ce=N.dataTransfer.items;ce&&ce.length&&ce[0].webkitGetAsEntry!=null?this._addFilesFromItems(ce):this.handleFiles(B)}this.emit("addedfiles",B)}}},{key:"paste",value:function(N){if(de(N!=null?N.clipboardData:void 0,function(re){return re.items})!=null){this.emit("paste",N);var B=N.clipboardData.items;if(B.length)return this._addFilesFromItems(B)}}},{key:"handleFiles",value:function(N){var B=x(N),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value;this.addFile(ce)}}catch(we){B.e(we)}finally{B.f()}}},{key:"_addFilesFromItems",value:function(N){var B=this;return(function(){var re=[],ce=x(N),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value,Oe;_e.webkitGetAsEntry!=null&&(Oe=_e.webkitGetAsEntry())?Oe.isFile?re.push(B.addFile(_e.getAsFile())):Oe.isDirectory?re.push(B._addFilesFromDirectory(Oe,Oe.name)):re.push(void 0):_e.getAsFile!=null&&(_e.kind==null||_e.kind==="file")?re.push(B.addFile(_e.getAsFile())):re.push(void 0)}}catch(Te){ce.e(Te)}finally{ce.f()}return re})()}},{key:"_addFilesFromDirectory",value:function(N,B){var re=this,ce=N.createReader(),we=function(Te){return Se(console,"log",function(Ie){return Ie.log(Te)})},_e=function Oe(){return ce.readEntries(function(Te){if(Te.length>0){var Ie=x(Te),$e;try{for(Ie.s();!($e=Ie.n()).done;){var ge=$e.value;ge.isFile?ge.file(function(be){if(!(re.options.ignoreHiddenFiles&&be.name.substring(0,1)==="."))return be.fullPath="".concat(B,"/").concat(be.name),re.addFile(be)}):ge.isDirectory&&re._addFilesFromDirectory(ge,"".concat(B,"/").concat(ge.name))}}catch(be){Ie.e(be)}finally{Ie.f()}Oe()}return null},we)};return _e()}},{key:"accept",value:function(N,B){this.options.maxFilesize&&N.size>this.options.maxFilesize*1024*1024?B(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(N.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):P.isValidFile(N,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(B(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",N)):this.options.accept.call(this,N,B):B(this.options.dictInvalidFileType)}},{key:"addFile",value:function(N){var B=this;N.upload={uuid:P.uuidv4(),progress:0,total:N.size,bytesSent:0,filename:this._renameFile(N)},this.files.push(N),N.status=P.ADDED,this.emit("addedfile",N),this._enqueueThumbnail(N),this.accept(N,function(re){re?(N.accepted=!1,B._errorProcessing([N],re)):(N.accepted=!0,B.options.autoQueue&&B.enqueueFile(N)),B._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(N){var B=x(N),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value;this.enqueueFile(ce)}}catch(we){B.e(we)}finally{B.f()}return null}},{key:"enqueueFile",value:function(N){var B=this;if(N.status===P.ADDED&&N.accepted===!0){if(N.status=P.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return B.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(N){var B=this;if(this.options.createImageThumbnails&&N.type.match(/image.*/)&&N.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(N),setTimeout(function(){return B._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var N=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var B=this._thumbnailQueue.shift();return this.createThumbnail(B,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(re){return N.emit("thumbnail",B,re),N._processingThumbnail=!1,N._processThumbnailQueue()})}}},{key:"removeFile",value:function(N){if(N.status===P.UPLOADING&&this.cancelUpload(N),this.files=ue(this.files,N),this.emit("removedfile",N),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(N){N==null&&(N=!1);var B=x(this.files.slice()),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value;(ce.status!==P.UPLOADING||N)&&this.removeFile(ce)}}catch(we){B.e(we)}finally{B.f()}return null}},{key:"resizeImage",value:function(N,B,re,ce,we){var _e=this;return this.createThumbnail(N,B,re,ce,!0,function(Oe,Te){if(Te==null)return we(N);var Ie=_e.options.resizeMimeType;Ie==null&&(Ie=N.type);var $e=Te.toDataURL(Ie,_e.options.resizeQuality);return(Ie==="image/jpeg"||Ie==="image/jpg")&&($e=te.restore(N.dataURL,$e)),we(P.dataURItoBlob($e))})}},{key:"createThumbnail",value:function(N,B,re,ce,we,_e){var Oe=this,Te=new FileReader;Te.onload=function(){if(N.dataURL=Te.result,N.type==="image/svg+xml"){_e!=null&&_e(Te.result);return}Oe.createThumbnailFromUrl(N,B,re,ce,we,_e)},Te.readAsDataURL(N)}},{key:"displayExistingFile",value:function(N,B,re,ce){var we=this,_e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",N),this.emit("complete",N),!_e)this.emit("thumbnail",N,B),re&&re();else{var Oe=function(Ie){we.emit("thumbnail",N,Ie),re&&re()};N.dataURL=B,this.createThumbnailFromUrl(N,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,ce)}}},{key:"createThumbnailFromUrl",value:function(N,B,re,ce,we,_e,Oe){var Te=this,Ie=document.createElement("img");return Oe&&(Ie.crossOrigin=Oe),we=getComputedStyle(document.body).imageOrientation=="from-image"?!1:we,Ie.onload=function(){var $e=function(be){return be(1)};return typeof EXIF<"u"&&EXIF!==null&&we&&($e=function(be){return EXIF.getData(Ie,function(){return be(EXIF.getTag(this,"Orientation"))})}),$e(function(ge){N.width=Ie.width,N.height=Ie.height;var be=Te.options.resize.call(Te,N,B,re,ce),Ce=document.createElement("canvas"),Le=Ce.getContext("2d");switch(Ce.width=be.trgWidth,Ce.height=be.trgHeight,ge>4&&(Ce.width=be.trgHeight,Ce.height=be.trgWidth),ge){case 2:Le.translate(Ce.width,0),Le.scale(-1,1);break;case 3:Le.translate(Ce.width,Ce.height),Le.rotate(Math.PI);break;case 4:Le.translate(0,Ce.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,-Ce.width);break;case 7:Le.rotate(.5*Math.PI),Le.translate(Ce.height,-Ce.width),Le.scale(-1,1);break;case 8:Le.rotate(-.5*Math.PI),Le.translate(-Ce.height,0);break}j(Le,Ie,be.srcX!=null?be.srcX:0,be.srcY!=null?be.srcY:0,be.srcWidth,be.srcHeight,be.trgX!=null?be.trgX:0,be.trgY!=null?be.trgY:0,be.trgWidth,be.trgHeight);var Ve=Ce.toDataURL("image/png");if(_e!=null)return _e(Ve,Ce)})},_e!=null&&(Ie.onerror=_e),Ie.src=N.dataURL}},{key:"processQueue",value:function(){var N=this.options.parallelUploads,B=this.getUploadingFiles().length,re=B;if(!(B>=N)){var ce=this.getQueuedFiles();if(ce.length>0){if(this.options.uploadMultiple)return this.processFiles(ce.slice(0,N-B));for(;re<N;){if(!ce.length)return;this.processFile(ce.shift()),re++}}}}},{key:"processFile",value:function(N){return this.processFiles([N])}},{key:"processFiles",value:function(N){var B=x(N),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value;ce.processing=!0,ce.status=P.UPLOADING,this.emit("processing",ce)}}catch(we){B.e(we)}finally{B.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",N),this.uploadFiles(N)}},{key:"_getFilesWithXhr",value:function(N){return this.files.filter(function(B){return B.xhr===N}).map(function(B){return B})}},{key:"cancelUpload",value:function(N){if(N.status===P.UPLOADING){var B=this._getFilesWithXhr(N.xhr),re=x(B),ce;try{for(re.s();!(ce=re.n()).done;){var we=ce.value;we.status=P.CANCELED}}catch(Ie){re.e(Ie)}finally{re.f()}typeof N.xhr<"u"&&N.xhr.abort();var _e=x(B),Oe;try{for(_e.s();!(Oe=_e.n()).done;){var Te=Oe.value;this.emit("canceled",Te)}}catch(Ie){_e.e(Ie)}finally{_e.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",B)}else(N.status===P.ADDED||N.status===P.QUEUED)&&(N.status=P.CANCELED,this.emit("canceled",N),this.options.uploadMultiple&&this.emit("canceledmultiple",[N]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(N){if(typeof N=="function"){for(var B=arguments.length,re=new Array(B>1?B-1:0),ce=1;ce<B;ce++)re[ce-1]=arguments[ce];return N.apply(this,re)}return N}},{key:"uploadFile",value:function(N){return this.uploadFiles([N])}},{key:"uploadFiles",value:function(N){var B=this;this._transformFiles(N,function(re){if(B.options.chunking){var ce=re[0];N[0].upload.chunked=B.options.chunking&&(B.options.forceChunking||ce.size>B.options.chunkSize),N[0].upload.totalChunkCount=Math.ceil(ce.size/B.options.chunkSize)}if(N[0].upload.chunked){var we=N[0],_e=re[0];we.upload.chunks=[];var Oe=function(){for(var be=0;we.upload.chunks[be]!==void 0;)be++;if(!(be>=we.upload.totalChunkCount)){var Ce=be*B.options.chunkSize,Le=Math.min(Ce+B.options.chunkSize,_e.size),Ve={name:B._getParamName(0),data:_e.webkitSlice?_e.webkitSlice(Ce,Le):_e.slice(Ce,Le),filename:we.upload.filename,chunkIndex:be};we.upload.chunks[be]={file:we,index:be,dataBlock:Ve,status:P.UPLOADING,progress:0,retries:0},B._uploadData(N,[Ve])}};if(we.upload.finishedChunkUpload=function(ge,be){var Ce=!0;ge.status=P.SUCCESS,ge.dataBlock=null,ge.xhr=null;for(var Le=0;Le<we.upload.totalChunkCount;Le++){if(we.upload.chunks[Le]===void 0)return Oe();we.upload.chunks[Le].status!==P.SUCCESS&&(Ce=!1)}Ce&&B.options.chunksUploaded(we,function(){B._finished(N,be,null)})},B.options.parallelChunkUploads)for(var Te=0;Te<we.upload.totalChunkCount;Te++)Oe();else Oe()}else{for(var Ie=[],$e=0;$e<N.length;$e++)Ie[$e]={name:B._getParamName($e),data:re[$e],filename:N[$e].upload.filename};B._uploadData(N,Ie)}})}},{key:"_getChunk",value:function(N,B){for(var re=0;re<N.upload.totalChunkCount;re++)if(N.upload.chunks[re]!==void 0&&N.upload.chunks[re].xhr===B)return N.upload.chunks[re]}},{key:"_uploadData",value:function(N,B){var re=this,ce=new XMLHttpRequest,we=x(N),_e;try{for(we.s();!(_e=we.n()).done;){var Oe=_e.value;Oe.xhr=ce}}catch(rt){we.e(rt)}finally{we.f()}N[0].upload.chunked&&(N[0].upload.chunks[B[0].chunkIndex].xhr=ce);var Te=this.resolveOption(this.options.method,N),Ie=this.resolveOption(this.options.url,N);ce.open(Te,Ie,!0);var $e=this.resolveOption(this.options.timeout,N);$e&&(ce.timeout=this.resolveOption(this.options.timeout,N)),ce.withCredentials=!!this.options.withCredentials,ce.onload=function(rt){re._finishedUploading(N,ce,rt)},ce.ontimeout=function(){re._handleUploadError(N,ce,"Request timedout after ".concat(re.options.timeout/1e3," seconds"))},ce.onerror=function(){re._handleUploadError(N,ce)};var ge=ce.upload!=null?ce.upload:ce;ge.onprogress=function(rt){return re._updateFilesUploadProgress(N,ce,rt)};var be={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&P.extend(be,this.options.headers);for(var Ce in be){var Le=be[Ce];Le&&ce.setRequestHeader(Ce,Le)}var Ve=new FormData;if(this.options.params){var qe=this.options.params;typeof qe=="function"&&(qe=qe.call(this,N,ce,N[0].upload.chunked?this._getChunk(N[0],ce):null));for(var Ge in qe){var ct=qe[Ge];if(Array.isArray(ct))for(var jt=0;jt<ct.length;jt++)Ve.append(Ge,ct[jt]);else Ve.append(Ge,ct)}}var zt=x(N),Ze;try{for(zt.s();!(Ze=zt.n()).done;){var Tt=Ze.value;this.emit("sending",Tt,ce,Ve)}}catch(rt){zt.e(rt)}finally{zt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",N,ce,Ve),this._addFormElementData(Ve);for(var _t=0;_t<B.length;_t++){var st=B[_t];Ve.append(st.name,st.data,st.filename)}this.submitRequest(ce,Ve,N)}},{key:"_transformFiles",value:function(N,B){for(var re=this,ce=[],we=0,_e=function(Ie){re.options.transformFile.call(re,N[Ie],function($e){ce[Ie]=$e,++we===N.length&&B(ce)})},Oe=0;Oe<N.length;Oe++)_e(Oe)}},{key:"_addFormElementData",value:function(N){if(this.element.tagName==="FORM"){var B=x(this.element.querySelectorAll("input, textarea, select, button")),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value,we=ce.getAttribute("name"),_e=ce.getAttribute("type");if(_e&&(_e=_e.toLowerCase()),!(typeof we>"u"||we===null))if(ce.tagName==="SELECT"&&ce.hasAttribute("multiple")){var Oe=x(ce.options,!0),Te;try{for(Oe.s();!(Te=Oe.n()).done;){var Ie=Te.value;Ie.selected&&N.append(we,Ie.value)}}catch($e){Oe.e($e)}finally{Oe.f()}}else(!_e||_e!=="checkbox"&&_e!=="radio"||ce.checked)&&N.append(we,ce.value)}}catch($e){B.e($e)}finally{B.f()}}}},{key:"_updateFilesUploadProgress",value:function(N,B,re){if(N[0].upload.chunked){var Oe=N[0],Te=this._getChunk(Oe,B);re?(Te.progress=100*re.loaded/re.total,Te.total=re.total,Te.bytesSent=re.loaded):(Te.progress=100,Te.bytesSent=Te.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var Ie=0;Ie<Oe.upload.totalChunkCount;Ie++)Oe.upload.chunks[Ie]&&typeof Oe.upload.chunks[Ie].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[Ie].progress,Oe.upload.total+=Oe.upload.chunks[Ie].total,Oe.upload.bytesSent+=Oe.upload.chunks[Ie].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var ce=x(N),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.upload.total&&_e.upload.bytesSent&&_e.upload.bytesSent==_e.upload.total||(re?(_e.upload.progress=100*re.loaded/re.total,_e.upload.total=re.total,_e.upload.bytesSent=re.loaded):(_e.upload.progress=100,_e.upload.bytesSent=_e.upload.total),this.emit("uploadprogress",_e,_e.upload.progress,_e.upload.bytesSent))}}catch($e){ce.e($e)}finally{ce.f()}}}},{key:"_finishedUploading",value:function(N,B,re){var ce;if(N[0].status!==P.CANCELED&&B.readyState===4){if(B.responseType!=="arraybuffer"&&B.responseType!=="blob"&&(ce=B.responseText,B.getResponseHeader("content-type")&&~B.getResponseHeader("content-type").indexOf("application/json")))try{ce=JSON.parse(ce)}catch(we){re=we,ce="Invalid JSON response from server."}this._updateFilesUploadProgress(N,B),200<=B.status&&B.status<300?N[0].upload.chunked?N[0].upload.finishedChunkUpload(this._getChunk(N[0],B),ce):this._finished(N,ce,re):this._handleUploadError(N,B,ce)}}},{key:"_handleUploadError",value:function(N,B,re){if(N[0].status!==P.CANCELED){if(N[0].upload.chunked&&this.options.retryChunks){var ce=this._getChunk(N[0],B);if(ce.retries++<this.options.retryChunksLimit){this._uploadData(N,[ce.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(N,re||this.options.dictResponseError.replace("{{statusCode}}",B.status),B)}}},{key:"submitRequest",value:function(N,B,re){if(N.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}N.send(B)}},{key:"_finished",value:function(N,B,re){var ce=x(N),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.status=P.SUCCESS,this.emit("success",_e,B,re),this.emit("complete",_e)}}catch(Oe){ce.e(Oe)}finally{ce.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",N,B,re),this.emit("completemultiple",N)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(N,B,re){var ce=x(N),we;try{for(ce.s();!(we=ce.n()).done;){var _e=we.value;_e.status=P.ERROR,this.emit("error",_e,B,re),this.emit("complete",_e)}}catch(Oe){ce.e(Oe)}finally{ce.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",N,B,re),this.emit("completemultiple",N)),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(N){for(var B=arguments.length,re=new Array(B>1?B-1:0),ce=1;ce<B;ce++)re[ce-1]=arguments[ce];for(var we=0,_e=re;we<_e.length;we++){var Oe=_e[we];for(var Te in Oe){var Ie=Oe[Te];N[Te]=Ie}}return N}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(N){var B=Math.random()*16|0,re=N==="x"?B:B&3|8;return re.toString(16)})}}]),P})(d);Z.initClass(),Z.version="5.9.3",Z.options={},Z.optionsForElement=function(se){if(se.getAttribute("id"))return Z.options[H(se.getAttribute("id"))]},Z.instances=[],Z.forElement=function(se){if(typeof se=="string"&&(se=document.querySelector(se)),(se!=null?se.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 se.dropzone},Z.autoDiscover=!0,Z.discover=function(){var se;if(document.querySelectorAll)se=document.querySelectorAll(".dropzone");else{se=[];var I=function(q){return(function(){var N=[],B=x(q),re;try{for(B.s();!(re=B.n()).done;){var ce=re.value;/(^| )dropzone($| )/.test(ce.className)?N.push(se.push(ce)):N.push(void 0)}}catch(we){B.e(we)}finally{B.f()}return N})()};I(document.getElementsByTagName("div")),I(document.getElementsByTagName("form"))}return(function(){var P=[],q=x(se),N;try{for(q.s();!(N=q.n()).done;){var B=N.value;Z.optionsForElement(B)!==!1?P.push(new Z(B)):P.push(void 0)}}catch(re){q.e(re)}finally{q.f()}return P})()},Z.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],Z.isBrowserSupported=function(){var se=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))se=!1;else{Z.blacklistedBrowsers!==void 0&&(Z.blockedBrowsers=Z.blacklistedBrowsers);var I=x(Z.blockedBrowsers),P;try{for(I.s();!(P=I.n()).done;){var q=P.value;if(q.test(navigator.userAgent)){se=!1;continue}}}catch(N){I.e(N)}finally{I.f()}}else se=!1;return se},Z.dataURItoBlob=function(se){for(var I=atob(se.split(",")[1]),P=se.split(",")[0].split(":")[1].split(";")[0],q=new ArrayBuffer(I.length),N=new Uint8Array(q),B=0,re=I.length,ce=0<=re;ce?B<=re:B>=re;ce?B++:B--)N[B]=I.charCodeAt(B);return new Blob([q],{type:P})};var ue=function(I,P){return I.filter(function(q){return q!==P}).map(function(q){return q})},H=function(I){return I.replace(/[\-_](\w)/g,function(P){return P.charAt(1).toUpperCase()})};Z.createElement=function(se){var I=document.createElement("div");return I.innerHTML=se,I.childNodes[0]},Z.elementInside=function(se,I){if(se===I)return!0;for(;se=se.parentNode;)if(se===I)return!0;return!1},Z.getElement=function(se,I){var P;if(typeof se=="string"?P=document.querySelector(se):se.nodeType!=null&&(P=se),P==null)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector or a plain HTML element."));return P},Z.getElements=function(se,I){var P,q;if(se instanceof Array){q=[];try{var N=x(se,!0),B;try{for(N.s();!(B=N.n()).done;)P=B.value,q.push(this.getElement(P,I))}catch(we){N.e(we)}finally{N.f()}}catch{q=null}}else if(typeof se=="string"){q=[];var re=x(document.querySelectorAll(se)),ce;try{for(re.s();!(ce=re.n()).done;)P=ce.value,q.push(P)}catch(we){re.e(we)}finally{re.f()}}else se.nodeType!=null&&(q=[se]);if(q==null||!q.length)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return q},Z.confirm=function(se,I,P){if(window.confirm(se))return I();if(P!=null)return P()},Z.isValidFile=function(se,I){if(!I)return!0;I=I.split(",");var P=se.type,q=P.replace(/\/.*$/,""),N=x(I),B;try{for(N.s();!(B=N.n()).done;){var re=B.value;if(re=re.trim(),re.charAt(0)==="."){if(se.name.toLowerCase().indexOf(re.toLowerCase(),se.name.length-re.length)!==-1)return!0}else if(/\/\*$/.test(re)){if(q===re.replace(/\/.*$/,""))return!0}else if(P===re)return!0}}catch(ce){N.e(ce)}finally{N.f()}return!1},typeof du<"u"&&du!==null&&(du.fn.dropzone=function(se){return this.each(function(){return new Z(this,se)})}),Z.ADDED="added",Z.QUEUED="queued",Z.ACCEPTED=Z.QUEUED,Z.UPLOADING="uploading",Z.PROCESSING=Z.UPLOADING,Z.CANCELED="canceled",Z.ERROR="error",Z.SUCCESS="success";var L=function(I){I.naturalWidth;var P=I.naturalHeight,q=document.createElement("canvas");q.width=1,q.height=P;var N=q.getContext("2d");N.drawImage(I,0,0);for(var B=N.getImageData(1,0,1,P),re=B.data,ce=0,we=P,_e=P;_e>ce;){var Oe=re[(_e-1)*4+3];Oe===0?we=_e:ce=_e,_e=we+ce>>1}var Te=_e/P;return Te===0?1:Te},j=function(I,P,q,N,B,re,ce,we,_e,Oe){var Te=L(P);return I.drawImage(P,q,N,B,re,ce,we,_e,Oe/Te)},te=(function(){function se(){O(this,se)}return k(se,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(P){for(var q="",N=void 0,B=void 0,re="",ce=void 0,we=void 0,_e=void 0,Oe="",Te=0;N=P[Te++],B=P[Te++],re=P[Te++],ce=N>>2,we=(N&3)<<4|B>>4,_e=(B&15)<<2|re>>6,Oe=re&63,isNaN(B)?_e=Oe=64:isNaN(re)&&(Oe=64),q=q+this.KEY_STR.charAt(ce)+this.KEY_STR.charAt(we)+this.KEY_STR.charAt(_e)+this.KEY_STR.charAt(Oe),N=B=re="",ce=we=_e=Oe="",Te<P.length;);return q}},{key:"restore",value:function(P,q){if(!P.match("data:image/jpeg;base64,"))return q;var N=this.decode64(P.replace("data:image/jpeg;base64,","")),B=this.slice2Segments(N),re=this.exifManipulation(q,B);return"data:image/jpeg;base64,".concat(this.encode64(re))}},{key:"exifManipulation",value:function(P,q){var N=this.getExifArray(q),B=this.insertExif(P,N),re=new Uint8Array(B);return re}},{key:"getExifArray",value:function(P){for(var q=void 0,N=0;N<P.length;){if(q=P[N],q[0]===255&q[1]===225)return q;N++}return[]}},{key:"insertExif",value:function(P,q){var N=P.replace("data:image/jpeg;base64,",""),B=this.decode64(N),re=B.indexOf(255,3),ce=B.slice(0,re),we=B.slice(re),_e=ce;return _e=_e.concat(q),_e=_e.concat(we),_e}},{key:"slice2Segments",value:function(P){for(var q=0,N=[];;){var B;if(P[q]===255&P[q+1]===218)break;if(P[q]===255&P[q+1]===216)q+=2;else{B=P[q+2]*256+P[q+3];var re=q+B+2,ce=P.slice(q,re);N.push(ce),q=re}if(q>P.length)break}return N}},{key:"decode64",value:function(P){var q=void 0,N=void 0,B="",re=void 0,ce=void 0,we=void 0,_e="",Oe=0,Te=[],Ie=/[^A-Za-z0-9\+\/\=]/g;for(Ie.exec(P)&&console.warn(`There were invalid base64 characters in the input text.
|
|
214
|
+
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
|
|
215
|
+
Expect errors in decoding.`),P=P.replace(/[^A-Za-z0-9\+\/\=]/g,"");re=this.KEY_STR.indexOf(P.charAt(Oe++)),ce=this.KEY_STR.indexOf(P.charAt(Oe++)),we=this.KEY_STR.indexOf(P.charAt(Oe++)),_e=this.KEY_STR.indexOf(P.charAt(Oe++)),q=re<<2|ce>>4,N=(ce&15)<<4|we>>2,B=(we&3)<<6|_e,Te.push(q),we!==64&&Te.push(N),_e!==64&&Te.push(B),q=N=B="",re=ce=we=_e="",Oe<P.length;);return Te}}]),se})();te.initClass();var ee=function(I,P){var q=!1,N=!0,B=I.document,re=B.documentElement,ce=B.addEventListener?"addEventListener":"attachEvent",we=B.addEventListener?"removeEventListener":"detachEvent",_e=B.addEventListener?"":"on",Oe=function Ie($e){if(!($e.type==="readystatechange"&&B.readyState!=="complete")&&(($e.type==="load"?I:B)[we](_e+$e.type,Ie,!1),!q&&(q=!0)))return P.call(I,$e.type||$e)},Te=function Ie(){try{re.doScroll("left")}catch{setTimeout(Ie,50);return}return Oe("poll")};if(B.readyState!=="complete"){if(B.createEventObject&&re.doScroll){try{N=!I.frameElement}catch{}N&&Te()}return B[ce](_e+"DOMContentLoaded",Oe,!1),B[ce](_e+"readystatechange",Oe,!1),I[ce](_e+"load",Oe,!1)}};Z._autoDiscoverFunction=function(){if(Z.autoDiscover)return Z.discover()},ee(window,Z._autoDiscoverFunction);function de(se,I){return typeof se<"u"&&se!==null?I(se):void 0}function Se(se,I,P){if(typeof se<"u"&&se!==null&&typeof se[I]=="function")return P(se,I)}window.Dropzone=Z;var Ae=Z})(),n})()});const H5e=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Qg="upload.internetConnectivityError";class B5e extends Af{constructor(){super(_r.getPhrase(Qg,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:_r.getPhrase(Qg,"heading"),text:_r.getPhrase(Qg,"body"),buttons:[{text:_r.getPhrase(Qg,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Zg="upload.slowInternetError";class z5e extends Af{constructor(){super(_r.getPhrase(Zg,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:_r.getPhrase(Zg,"heading"),text:_r.getPhrase(Zg,"body"),buttons:[{text:_r.getPhrase(Zg,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const W5e=[];class RZ extends No{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=jr.Radio.channel(t.channelName),i=this;this.dropzone=new H5e(document.createElement("div"),{url:(o=>{const a=o[0],{ingestUrl:s}=a.cvUpload;return s}),chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",timeout:18e4,init:function(){r&&(Ca(W5e,o=>{this.on(o,(...a)=>{const s=a[0]instanceof File?a[0].name:a[0];console.info(o,s,a)})}),this.on("uploadprogress",(o,a,s)=>{const l=s/o.size*100;n.trigger("progress",i.getId(o),l,s)}),this.on("success",o=>{const a=o.upload.chunks,s=$m(a);let l=s.xhr;l||(l=s.file.xhr);const c=JSON.parse(l.response);o.cvUpload.fileId=c.id,n.trigger(Ku.UPLOAD_SUCCESS,o,c)}),this.on("error",(o,a,s)=>{if(s&&s.status===0){vr.throw(new B5e);return}o.status!=="canceled"&&vr.throw(new cie(_r.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&&vr.throw(new z5e),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",o=>window.clearTimeout(i.slowInternetTimeout[o.path])))},params:(o,a,s)=>{if(s)return{chunk_index:s.index,upload_length:s.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return(void 0)(t,r)}}class G5e extends k5e{constructor(){super({dataProvider:eo.getInstance(oy.Ajax),cache:eo.getInstance(ay.Fifo),alertService:eo.getInstance(dv.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();Ca(r,s=>{this.incrementingUploadId++,a.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(s,n),callback:l=>{i(s,l)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),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(){eo.releaseInstance(oy.Ajax).releaseInstance(ay.Fifo)}}const K5e={0:Xg.VIDEO,1:Xg.RESOURCES,2:Xg.SUBTITLES,3:Xg.MIXED_MEDIA},Y5e={0:cp.VIDEO_UPLOAD,1:cp.RESOURCE_UPLOAD,2:cp.SUBTITLE_UPLOAD,3:cp.MIXED_MEDIA_UPLOAD},X5e=1024*1024*4,Q5e=1024*1024*1024*50;class Z5e extends No{initialize(){this.uploadDataService=new G5e,this.progressViewModel=Yoe.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return Y5e[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=X5e;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new RZ({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:Q5e,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,Ku.UPLOAD_SUCCESS,this.onSuccess)}onProgress(t,r,n){const i=this.collection.get(t);i&&(i.set({progress:r>100?100:r,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection?this.collection:(this.collection=new c1,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(s=>{t+=s.get("totalUploaded")||0,r+=s.get("file").size||0});const i=t/r*100,o=i>=100,a=()=>{this.progressViewModel.set({progress:o?100:i,done:o})};if(!o){a();return}window.setTimeout(a,2e3)}isValidFile(t){return RZ.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(NO(t,n=>!this.isValidFile(n))){vr.throw(new L5e(_r.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 s=await eie(this.options.store.dispatch,V5e.requestUpload(a,this.fileLifestyle));"minChunkSize"in s&&"maxChunkSize"in s&&this.initUploader(s.minChunkSize,s.maxChunkSize),a.cvUpload={uploadId:s.uploadId,ingestUrl:s.uploadUrl},this.uploader.addFile(a);let l=a.name;this.uploadType===0&&(l=l.replace(/\.[^/.]+$/,""));const c=this.uploader.getId(a);i.add({id:c,file:a,name:l,...this.getAdditionalFileInfo(a,s)},{at:i.length-1})}r&&Ti.logUserAction({uploadCount:t.length},r),jr.Radio.channel(this.channelName).trigger(Ku.FILES_ADDED,t,n)}addFile(t,r){this.addFiles([t],r)}cancelUpload(t){const r=this.getCollection(),n=r.get(t);if(!n)return;const i=n.get("file");this.uploader.removeFile(i),r.remove(n),this.uploadDataService.cancelUpload(i.cvUpload.uploadId,i.cvUpload.ingestUrl,()=>{Ti.logUserAction(n.toJSON(),{entity:dn.Video,actionType:It.Upload,workflowPhase:Oo.Discard,descriptor:XO.Single,location:aa.MyUploads}),jr.Radio.channel(this.channelName).trigger(Ku.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),Ti.logUserAction({id:t.cvUpload.uploadId},{entity:dn.Video,actionType:It.Upload,workflowPhase:Oo.Complete,descriptor:XO.Single,location:aa.VideoUpload}),jr.Radio.channel(this.channelName).trigger(Ku.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ca(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return K5e[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class J5e extends Z5e{get uploadType(){return 3}get name(){return nie.MixedMediaUpload}get fileLifestyle(){return ok.Temporary}}var eNe=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return _ae(t,n)})},gO=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Sae(t,n)})},sk=(function(e){C3(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(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(s,l)},n.onEntering=function(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1],p=h?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(s,l)},n.onEntered=function(s,l){var c=n.resolveArguments(s,l),d=c[0],h=c[1],p=h?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(s,l)},n.onExit=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(s)},n.onExiting=function(s){var l=n.resolveArguments(s),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(s)},n.onExited=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(s)},n.resolveArguments=function(s,l){return n.props.nodeRef?[n.props.nodeRef.current,s]:[s,l]},n.getClassNames=function(s){var l=n.props.classNames,c=typeof l=="string",d=c&&l?l+"-":"",h=c?""+d+s:l[s],p=c?h+"-active":l[s+"Active"],g=c?h+"-done":l[s+"Done"];return{baseClassName:h,activeClassName:p,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(i,o,a){var s=this.getClassNames(o)[a+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;o==="appear"&&a==="done"&&c&&(s+=" "+c),a==="active"&&i&&Rie(i),s&&(this.appliedClasses[o][a]=s,eNe(i,s))},r.removeClasses=function(i,o){var a=this.appliedClasses[o],s=a.base,l=a.active,c=a.done;this.appliedClasses[o]={},s&&gO(i,s),l&&gO(i,l),c&&gO(i,c)},r.render=function(){var i=this.props;i.classNames;var o=E1(i,["classNames"]);return Xt.createElement(wu,Pp({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(Xt.Component);sk.defaultProps={classNames:""};sk.propTypes={};function tNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uk(e,t){var r=function(o){return t&&me.isValidElement(o)?t(o):o},n=Object.create(null);return e&&me.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function rNe(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,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<i.length;a++)s[i[a]]=r(i[a]);return s}function qc(e,t,r){return r[t]!=null?r[t]:e.props[t]}function nNe(e,t){return uk(e.children,function(r){return me.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:qc(r,"appear",e),enter:qc(r,"enter",e),exit:qc(r,"exit",e)})})}function iNe(e,t,r){var n=uk(e.children),i=rNe(t,n);return Object.keys(i).forEach(function(o){var a=i[o];if(me.isValidElement(a)){var s=o in t,l=o in n,c=t[o],d=me.isValidElement(c)&&!c.props.in;l&&(!s||d)?i[o]=me.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:qc(a,"exit",e),enter:qc(a,"enter",e)}):!l&&s&&!d?i[o]=me.cloneElement(a,{in:!1}):l&&s&&me.isValidElement(c)&&(i[o]=me.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:qc(a,"exit",e),enter:qc(a,"enter",e)}))}}),i}var aNe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},oNe={component:"div",childFactory:function(t){return t}},lk=(function(e){C3(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=o.handleExited.bind(tNe(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,s=o.handleExited,l=o.firstRender;return{children:l?nNe(i,s):iNe(i,a,s),firstRender:!1}},r.handleExited=function(i,o){var a=uk(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(s){var l=Pp({},s.children);return delete l[i.key],{children:l}}))},r.render=function(){var i=this.props,o=i.component,a=i.childFactory,s=E1(i,["component","childFactory"]),l=this.state.contextValue,c=aNe(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,o===null?Xt.createElement(Wm.Provider,{value:l},c):Xt.createElement(Wm.Provider,{value:l},Xt.createElement(o,s,c))},t})(Xt.Component);lk.propTypes={};lk.defaultProps=oNe;function sNe(e){return U.jsx("svg",{...e,children:U.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 uNe(e){return U.jsx("svg",{...e,children:U.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 lNe(e){return U.jsx("svg",{...e,children:U.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 cNe(e){return U.jsx("svg",{...e,children:U.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 fNe="_alertItem_i5y1z_1",dNe="_alertBox_i5y1z_11",hNe="_alertList_i5y1z_11",pNe="_icon_i5y1z_28",vNe="_alertContent_i5y1z_32",gNe="_heading_i5y1z_40",Vc={alertItem:fNe,alertBox:dNe,alertList:hNe,icon:pNe,alertContent:vNe,heading:gNe};function mNe(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:o,heading:a,appLink:s,appLinkText:l,appLinkClassName:c="",extLink:d,extLinkText:h,extLinkClassName:p}=t;return U.jsxs(U.Fragment,{children:[U.jsx("div",{className:`d-inline-block ${Vc.icon}`,children:U.jsx(Jo,{svg:r,className:`svg-container ${n}`})}),U.jsxs("div",{role:t.type===Ko.Fail?"alert":"status",className:`ps-2 d-inline-block ${Vc.alertContent}`,children:[U.jsx("p",{className:`p-0 m-0 pb-1 ${Vc.heading}`,children:a}),U.jsx("p",{className:`p-0 text-break clamp-4 ${Vc.message}`,dangerouslySetInnerHTML:{__html:o}}),!!s&&U.jsx(Yo,{className:c,appLink:s,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:l}})}),!!d&&h&&U.jsx("a",{href:d,className:p,target:"_blank",children:h})]}),U.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const yNe=e=>{switch(e.type){case Ko.Success:return sNe;case Ko.Fail:case Ko.Warning:return cNe;case Ko.Pending:return lNe;case Ko.Info:default:return uNe}},_Ne=e=>e.type===Ko.Pending?"text-info":`text-${e.type}`;Xoe.defaultProps={timeout:3e3};function Xoe({alert:e,closeAlert:t,timeout:r}){const[n,i]=me.useState(!0),o=me.useRef(null);return me.useEffect(()=>{if(!n){clearTimeout(o.current);return}o.current=window.setTimeout(t,r)},[n]),U.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Vc.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:U.jsx(mNe,{alert:e,svg:yNe(e),svgClassName:_Ne(e),closeAlert:t})})}function SNe({alerts:e,removeAlert:t}){return U.jsx("div",{className:Vc.alertBox,children:U.jsx(lk,{component:"ul",className:`${Vc.alertList} list-unstyled`,children:e&&e.map((r,n)=>U.jsx(sk,{timeout:200,classNames:"alert",children:U.jsx(Xoe,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}const ENe={[Ul.US]:"en-us"};var pr=(e=>(e.AU="au",e.NZ="nz",e.UK="uk",e.US="us",e.CA="ca",e))(pr||{}),Ao=(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))(Ao||{});const wNe=["uk","gb","gg","im","je","ie"],xZ={au:pr.AU,nz:pr.NZ,us:pr.US,uk:pr.UK,ca:pr.CA,gb:pr.UK,gg:pr.UK,im:pr.UK,je:pr.UK,ie:pr.UK,al:pr.UK,ad:pr.UK,am:pr.UK,at:pr.UK,az:pr.UK,by:pr.UK,be:pr.UK,ba:pr.UK,bg:pr.UK,hr:pr.UK,cy:pr.UK,cz:pr.UK,dk:pr.UK,ee:pr.UK,fi:pr.UK,fr:pr.UK,de:pr.UK,ge:pr.UK,gr:pr.UK,hu:pr.UK,is:pr.UK,it:pr.UK,lv:pr.UK,li:pr.UK,lt:pr.UK,lu:pr.UK,mt:pr.UK,md:pr.UK,mc:pr.UK,me:pr.UK,nl:pr.UK,mk:pr.UK,no:pr.UK,pl:pr.UK,pt:pr.UK,ro:pr.UK,ru:pr.UK,sm:pr.UK,rs:pr.UK,sk:pr.UK,si:pr.UK,es:pr.UK,se:pr.UK,ch:pr.UK,tr:pr.UK,ua:pr.UK,va:pr.UK},bNe={au:Ao.CvApSoutheast1,uk:Ao.CvEuWest1,us:Ao.CvNaWest1,nz:Ao.CvApSoutheast2,ca:Ao.CvNaWest1},CNe={au:Ul.AU,uk:Ul.UK,us:Ul.US,nz:Ul.NZ,ca:Ul.US},Ll={getRegionName(e){const t=Ll.getCountryCode(e);return bNe[t]},getInstanceRegion(e){const t=Ll.getCountryCode(e);return CNe[t]},getCountryCode(e){const t=xZ[e==null?void 0:e.toLowerCase()];return t||pr.US},isCountryCodeUK(e){return wNe.includes(e.toLowerCase())},isCountryCodeAU(e){return(e==null?void 0:e.toLowerCase())===pr.AU},isCountryCodeUS(e){return(e==null?void 0:e.toLowerCase())===pr.US},isCountryCodeNZ(e){return(e==null?void 0:e.toLowerCase())===pr.NZ},isSupportedCountryCode(e){return Object.keys(xZ).includes(e==null?void 0:e.toLowerCase())},getLocalizedLocalityPlaceholderPhrase(e){if(e){if(Ll.isCountryCodeUK(e))return"E.g. CR0 3RL or 36 Factory Lane";if(Ll.isCountryCodeAU(e)||Ll.isCountryCodeNZ(e))return"E.g. 2212 or Revesby";if(Ll.isCountryCodeUS(e))return"E.g. 95826 or Sacramento"}},getLocalizedLocalityPlaceholderText(e){if(!e)return;const t=Ll.getLocalizedLocalityPlaceholderPhrase(e);if(t)return t}},TNe={getInstanceRegion(e,t){return e.instanceRegion?e.instanceRegion:Ll.getInstanceRegion(t==null?void 0:t.countryCode)},BRAZE_CLIENT_SOURCE:"cv_product_braze_client_service"},ANe={shouldInitialize(e){return!!e.isAuthenticated}};async function RNe(e){const t=ia(e.store,Ks.config()),r=ia(e.store,Ks.version());return{currentUser:await ia(e.store,oi.currentUser()),config:await t,version:await r}}const OZ={countryCode:pr.US};async function xNe(e,t){try{const{currentUser:r,config:n,version:i}=await RNe(e);wne.setCurrentRegion(ENe[r.instanceRegion]);const o={maxAlerts:3,defaultSuccessAlert:{heading:WO.Success,type:Ko.Success},defaultErrorAlert:{heading:WO.Fail,type:Ko.Fail},alertViewCtor:SNe};eo.registerSingleton(new sTe(o)).registerInstance(J5e,{store:e.store}),await a(),t(e);async function a(){const{BrazeClientService:s}=await zn(async()=>{const{BrazeClientService:d}=await import("./CICkmQW6.chunk.js");return{BrazeClientService:d}},__vite__mapDeps([158,123])),l=TNe.getInstanceRegion(r,OZ),c={client:{productName:"streamable.web",version:i,apiKey:n.braze[l].apiKey,baseUrl:n.braze[l].url,shouldInitialize:ANe.shouldInitialize(r),geoLocation:OZ},context:{user:r},eventOptions:{logAttributionData:!0,logUtmParameters:!0}};eo.registerInstance(s,c)}}catch{vr.throw(new Jc)}}function ONe(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 _d;typeof self<"u"?_d=self:typeof window<"u"?_d=window:typeof globalThis<"u"?_d=globalThis:typeof module<"u"?_d=module:_d=Function("return this")();var IZ=ONe(_d),mO=function(){return Math.random().toString(36).substring(7).split("").join(".")},bp={INIT:"@@redux/INIT"+mO(),REPLACE:"@@redux/REPLACE"+mO(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+mO()}};function INe(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 Qoe(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(Qoe)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=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 c(),s.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,c();var b=s.indexOf(E);s.splice(b,1)}}}function p(E){if(!INe(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=s,w=0;w<_.length;w++){var b=_[w];b()}return E}function g(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");i=E,p({type:bp.REPLACE})}function S(){var E,_=h;return E={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function x(){b.next&&b.next(d())}x();var A=_(x);return{unsubscribe:A}}},E[IZ]=function(){return this},E}return p({type:bp.INIT}),n={dispatch:p,subscribe:h,getState:d,replaceReducer:g},n[IZ]=S,n}function PNe(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 kNe(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:bp.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:bp.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+bp.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 DNe(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{kNe(r)}catch(s){a=s}return function(l,c){if(l===void 0&&(l={}),a)throw a;for(var d=!1,h={},p=0;p<o.length;p++){var g=o[p],S=r[g],E=l[g],_=S(E,c);if(typeof _>"u"){var w=PNe(g,c);throw new Error(w)}h[g]=_,d=d||_!==E}return d?h:l}}function LNe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PZ(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 NNe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PZ(r,!0).forEach(function(n){LNe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PZ(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function MNe(){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 $Ne(){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)}},s=t.map(function(l){return l(a)});return o=MNe.apply(void 0,s)(i.dispatch),NNe({},i,{dispatch:o})}}}function FNe(e){const{authenticationError:t}=e;return function(){return n=>i=>{var a;const o=i;if(i.type===Ja.API_ERROR&&t&&((a=o==null?void 0:o.xhr)==null?void 0:a.status)===YP.Unauthorized)return vr.throw(new t("dark"));if(i.type!==Ja.API_RESPONSE){n(i);return}n(i)}}}function jNe(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 UNe(e={},t){switch(t.type){case L1.UPDATE:return jNe(e,t)}return e}const qNe={STANDARD:600},Jg="shared.authentication";class VNe extends Af{constructor(t){super(_r.getPhrase(Jg,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:_r.getPhrase(Jg,"heading"),text:_r.getPhrase(Jg,"body"),buttons:[{text:_r.getPhrase(Jg,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Mn.Reload()}}class HNe extends VNe{onDone(){Mn.PageLoad(`/login?returnUrl=${encodeURIComponent(Mn.GetCurrentUrl())}`)}}async function BNe(e,t,r){const n=Zne(r.getState(),oi.currentUser().key).data;return n?{...e,resource:fCe.isPublicRequest(t)&&!n.isAuthenticated?t.publicUrl:t.url}:e}const Od={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var o,a,s,l;const r=Zne(e.getState(),zc.TOKEN),n=Od.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){ph(e.dispatch,t);return}if(r.isFetching){let c=!1;const d=e.subscribe(()=>{d(),!c&&(c=!0,Od.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)):((s=t.success)==null||s.call(t,r.data),(l=t.always)==null||l.call(t))},async getTokenAsync(e){const t=Zoe.getToken();return t||new Promise((r,n)=>{const i=a=>r(a),o=a=>n(a);Od.getToken(e,oi.token(i,o))})}},zNe=Xi.Router.prototype._routeToRegExp("share/embed/:id(/)"),WNe=Xi.Router.prototype._routeToRegExp("videos/embed/:id(/)"),Zoe={applyToken(e){const t=Gl.getCurrentRoute().appLink,r=Fn.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}});Mn.PageLoad(r)},getToken(){const e=Xi.history.getFragment(Mn.GetCurrentPath()),t=zNe.test(e),r=WNe.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 Od.hasTokenExpired(a)?null:a}};function GNe(){const e=Zoe.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Od.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const sy={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},kZ={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function KNe(e){return async function(r,n){const i=Object.keys(kZ).find(a=>r.resource.startsWith(a));if(!i)return n(r);function o(a,s){const l=a[kZ[i]],c={...r,resource:sy.safeUrlConcat(l,r.resource.split(`${i}/`)[1])};s!=null&&s.value&&(c.headers={...c.headers??{},authorization:`Bearer ${s.value}`}),n(c)}try{const a=await ia(e,Ks.config());if(!(await ia(e,oi.currentUser())).isAuthenticated){o(a);return}const l=await Od.getTokenAsync(e);o(a,l)}catch{n(r)}}}const DZ=/\(([^()]*)\)/g;function YNe(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function XNe(e,t){function r(n){return function(o){const a=t[o];if(typeof a=="string"){n.useAsync(YNe(o,a));return}a&&n.useAsync(a)}}return function(i,o){var p;const a=new Td,s=new Td,l={resource:i.resource,store:e},c={resource:null,store:e},d=(p=i.data)==null?void 0:p.ogql;if(decodeURIComponent(i.resource).replace(DZ,r(a)),d){const g=JSON.stringify(i.data.ogql);c.resource=g,g.replace(DZ,r(s))}a.goAsync(l,g=>{s.goAsync(c,S=>{o({...i,resource:g.resource,data:d?{...i.data,ogql:JSON.parse(S.resource)}:i.data})})})}}function QNe(e,t){return function(n){const i=new Td;i.useAsync(KNe(e.store)),i.useAsync(XNe(e.store,t)),i.useAsync(GNe()),i.goAsync(n,o=>{zO(o)})}}function ZNe(e,t){return async function(n,i){if(!(t!=null&&t.length))return n;try{let o=n;for(const a of t)o=await a(o,i,e.store);return o}catch{return n}}}const JNe=[Ir.DefaultPlaybackQuality,Ir.DefaultLocalCachePlaybackQuality,Ir.EnableSubtitlesDefault,Ir.PolicyEndTime];function eMe(e){return function(r,n){const i=JNe.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const tMe=[Ir.HasCompletedOnboardingV1];function rMe(e){return function(r,n){const i=tMe.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const nMe="thumbnail,_rating,series,season,productionCompanies[logo]",iMe="subtitles{limit:1}";function aMe(e){return function(r,n){g3(r.store,oi.currentUser(i=>{let o=`${nMe}`;i.isAuthenticated&&(o+=`,favouritedby{id:${i.id}}`),o+=","+iMe;const a=r.resource.replace(e,o);n({...r,resource:a})},()=>n(r)))}}const oMe={[Hm.VIDEO_COLLECTION]:aMe(Hm.VIDEO_COLLECTION),"(customerSettings)":eMe("(customerSettings)"),"(userSettings)":rMe("(userSettings)")};async function sMe(e,t){const r=DNe({flightData:TCe,viewModelData:UNe}),n=_Ce({fetchData:QNe(e,oMe),getFetchDataOptions:ZNe(e,[BNe]),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:qNe.STANDARD}),i=FNe({authenticationError:HNe});async function o(s){e.registerStore(s),t(e),delete window.bootstrapData}const a=Qoe(r,$Ne(n,i));await o(a)}const uMe="application:options";class lMe extends No{constructor(t){super(),this.clients={},this.enrichers={},Yoe.get(uMe).set(t??{})}get name(){return b1.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(bie.ANALYTICS,Rd.Inlet,this.onEvent)}registerClient(t,r){return this.validateConstructor(t),this.clients[t.prototype.name]=t.prototype.name,this.transport.subscribe(new t(r)),this}registerEnricher(t,r){this.validateConstructor(t);const n=new t(r);return this.enrichers[n.name]=n,this.registerMiddleware(Vu(n.enrich,n)),this}hasEnricher(t){return!!this.enrichers[t.prototype.name]}onEvent(t){this.executeMiddleware(t,r=>{this.transport.publish(r)})}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new Cn(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>Ai.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new Cn(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new Cn(`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 Joe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function LZ(e,t,r,n){let i,o,a;const s=t||[0],l=(r=r||0)>>>3,c=n===-1?3:0;for(i=0;i<e.length;i+=1)a=i+l,o=a>>>2,s.length<=o&&s.push(0),s[o]|=e[i]<<8*(c+n*(a%4));return{value:s,binLen:8*e.length+r}}function yO(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,i,o){return(function(a,s,l,c){let d,h,p,g;if(a.length%2!=0)throw new Error("String of HEX type must be in byte increments");const S=s||[0],E=(l=l||0)>>>3,_=c===-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(g=(d>>>1)+E,p=g>>>2;S.length<=p;)S.push(0);S[p]|=h<<8*(_+c*(g%4))}return{value:S,binLen:4*a.length+l}})(n,i,o,r)};case"TEXT":return function(n,i,o){return(function(a,s,l,c,d){let h,p,g,S,E,_,w,b,x=0;const A=l||[0],R=(c=c||0)>>>3;if(s==="UTF8")for(w=d===-1?3:0,g=0;g<a.length;g+=1)for(h=a.charCodeAt(g),p=[],128>h?p.push(h):2048>h?(p.push(192|h>>>6),p.push(128|63&h)):55296>h||57344<=h?p.push(224|h>>>12,128|h>>>6&63,128|63&h):(g+=1,h=65536+((1023&h)<<10|1023&a.charCodeAt(g)),p.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),S=0;S<p.length;S+=1){for(_=x+R,E=_>>>2;A.length<=E;)A.push(0);A[E]|=p[S]<<8*(w+d*(_%4)),x+=1}else for(w=d===-1?2:0,b=s==="UTF16LE"&&d!==1||s!=="UTF16LE"&&d===1,g=0;g<a.length;g+=1){for(h=a.charCodeAt(g),b===!0&&(S=255&h,h=S<<8|h>>>8),_=x+R,E=_>>>2;A.length<=E;)A.push(0);A[E]|=h<<8*(w+d*(_%4)),x+=2}return{value:A,binLen:8*x+c}})(n,t,i,o,r)};case"B64":return function(n,i,o){return(function(a,s,l,c){let d,h,p,g,S,E,_,w=0;const b=s||[0],x=(l=l||0)>>>3,A=c===-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),g=0,p=0;p<S.length;p+=1)d=Joe.indexOf(S.charAt(p)),g|=d<<18-6*p;for(p=0;p<S.length-1;p+=1){for(_=w+x,E=_>>>2;b.length<=E;)b.push(0);b[E]|=(g>>>16-8*p&255)<<8*(A+c*(_%4)),w+=1}}return{value:b,binLen:8*w+l}})(n,i,o,r)};case"BYTES":return function(n,i,o){return(function(a,s,l,c){let d,h,p,g;const S=s||[0],E=(l=l||0)>>>3,_=c===-1?3:0;for(h=0;h<a.length;h+=1)d=a.charCodeAt(h),g=h+E,p=g>>>2,S.length<=p&&S.push(0),S[p]|=d<<8*(_+c*(g%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,s,l,c){return LZ(new Uint8Array(a),s,l,c)})(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 LZ(n,i,o,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function NZ(e,t,r,n){switch(e){case"HEX":return function(i){return(function(o,a,s,l){let c,d,h="";const p=a/8,g=s===-1?3:0;for(c=0;c<p;c+=1)d=o[c>>>2]>>>8*(g+s*(c%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return l.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(o,a,s,l){let c,d,h,p,g,S="";const E=a/8,_=s===-1?3:0;for(c=0;c<E;c+=3)for(p=c+1<E?o[c+1>>>2]:0,g=c+2<E?o[c+2>>>2]:0,h=(o[c>>>2]>>>8*(_+s*(c%4))&255)<<16|(p>>>8*(_+s*((c+1)%4))&255)<<8|g>>>8*(_+s*((c+2)%4))&255,d=0;d<4;d+=1)S+=8*c+6*d<=a?Joe.charAt(h>>>6*(3-d)&63):l.b64Pad;return S})(i,t,r,n)};case"BYTES":return function(i){return(function(o,a,s){let l,c,d="";const h=a/8,p=s===-1?3:0;for(l=0;l<h;l+=1)c=o[l>>>2]>>>8*(p+s*(l%4))&255,d+=String.fromCharCode(c);return d})(i,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(i){return(function(o,a,s){let l;const c=a/8,d=new ArrayBuffer(c),h=new Uint8Array(d),p=s===-1?3:0;for(l=0;l<c;l+=1)h[l]=o[l>>>2]>>>8*(p+s*(l%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(o,a,s){let l;const c=a/8,d=s===-1?3:0,h=new Uint8Array(c);for(l=0;l<c;l+=1)h[l]=o[l>>>2]>>>8*(d+s*(l%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function MZ(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 fd(e,t){return e<<t|e>>>32-t}function $Z(e,t,r){return e^t^r}function cMe(e,t,r){return e&t^e&r^t&r}function ap(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function em(e,t,r,n,i){const 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 fMe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function ese(e,t){let r,n,i,o,a,s,l;const c=[];for(r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],l=0;l<80;l+=1)c[l]=l<16?e[l]:fd(c[l-3]^c[l-8]^c[l-14]^c[l-16],1),s=l<20?em(fd(r,5),(d=n)&i^~d&o,a,1518500249,c[l]):l<40?em(fd(r,5),$Z(n,i,o),a,1859775393,c[l]):l<60?em(fd(r,5),cMe(n,i,o),a,2400959708,c[l]):em(fd(r,5),$Z(n,i,o),a,3395469782,c[l]),a=o,o=i,i=fd(n,30),n=r,r=s;var d;return t[0]=ap(r,t[0]),t[1]=ap(n,t[1]),t[2]=ap(i,t[2]),t[3]=ap(o,t[3]),t[4]=ap(a,t[4]),t}function dMe(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=ese(e.slice(i,i+16),n);return n}class hMe 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,s=o.value,l=a>>>5;for(r=0;r<l;r+=i)n+this.U<=a&&(this.F=this.m(s.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=s.slice(n>>>5),this.h=a%this.U,this.u=!0}getHash(t,r){let n,i,o=this.g;const a=MZ(r);if(this.B){if(a.outputLen===-1)throw new Error("Output length must be specified in options");o=a.outputLen}const s=NZ(t,o,this.v,a);if(this.A&&this.Y)return s(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 s(i)}setHMACKey(t,r,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const i=yO(r,(n||{}).encoding||"UTF8",this.v);this.M(i(t))}M(t){const r=this.U>>>3,n=r/4-1;let i;if(this.numRounds!==1)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(r<t.binLen/8&&(t.value=this.H(t.value,t.binLen,0,this.I(this.s),this.g));t.value.length<=n;)t.value.push(0);for(i=0;i<=n;i+=1)this.p[i]=909522486^t.value[i],this.R[i]=1549556828^t.value[i];this.F=this.m(this.p,this.F),this.l=this.U,this.A=!0}getHMAC(t,r){const n=MZ(r);return NZ(t,this.g,this.v,n)(this.N())}N(){let t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const r=this.H(this.o.slice(),this.h,this.l,this.C(this.F),this.g);return t=this.m(this.R,this.I(this.s)),t=this.H(r,this.g,this.U,t,this.g),t}}{constructor(t,r,n){if(t!=="SHA-1")throw new Error("Chosen SHA variant is not supported");super(t,r,n);const i=n||{};this.L=!0,this.Y=this.N,this.v=-1,this.T=yO(this.t,this.i,this.v),this.m=ese,this.C=function(o){return o.slice()},this.I=fMe,this.H=dMe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(o,a,s,l){const c=o+" must include a value and format";if(!a)throw new Error(c);if(a.value===void 0||!a.format)throw new Error(c);return yO(a.format,a.encoding||"UTF8",s)(a.value)})("hmacKey",i.hmacKey,this.v))}}const pMe={systemName:Ao.CvApSoutheast1},vMe={systemName:Ao.CvApSoutheast2},gMe={systemName:Ao.CvEuWest1},mMe={systemName:Ao.CvNaWest1},yMe={CvApSoutheast1:pMe,CvApSoutheast2:vMe,CvEuWest1:gMe,CvNaWest1:mMe},FZ="r",j1="cv:r",U1="cv:r:e",tm="referrer",jZ="cv:originalReferrer",CI=28800,UZ=["internalReferrer"],ck={getDecodedAttributionData(){const e=ja.cacheGet(j1);if(e&&Object.keys(e).length>0)return e;const t=qZ();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=ja.cacheGet(U1);return e!=null&&e.length?e:qZ().encoded},getProfileId(){const e=ck.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function qZ(){const e=ja.cacheGet(j1),t=ja.cacheGet(U1);return fk(e)?{encoded:t,decoded:e}:_Me()}function _Me(){ja.cacheRemove(j1),ja.cacheRemove(U1);const e=EMe(),t=wMe(e);if(t)return VZ(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:SMe()},n=bMe(r);return VZ(n,r),{decoded:r,encoded:n}}function fk(e){return!e||typeof e!="object"||Object.keys(e).length<UZ.length?!1:UZ.every(t=>typeof e[t]=="string")}function SMe(){const e=ja.cacheGet(jZ);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(tm)&&r.get(tm);r.has(tm)&&r.get(tm)&&(t=n)}return t&&ja.cacheSet(jZ,t,CI),t}function EMe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(FZ))return e.get(FZ)}function wMe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!fk(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 bMe(e){if(fk(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function VZ(e,t){try{ja.cacheSet(j1,t,CI),ja.cacheSet(U1,e,CI)}catch{console.error("Could not store attribution data in session storage")}}const HZ=3,CMe=5e3,TMe=6,_O={};class AMe{constructor(t){this.key=t.toString()}getCount(){return _O[this.key]||0}increment(){_O[this.key]=this.getCount()+1}reset(){delete _O[this.key]}shouldBreak(){return this.getCount()>=TMe}}class RMe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,CMe*Math.pow(2,this.attempt))),this.attempt++}}async function xMe(e,t){const r=new RMe,n=new AMe(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<=HZ;o++)try{return await i()}catch(a){if(o>=HZ||n.shouldBreak())throw a;n.increment(),await r.wait()}}var rm,OMe=new Uint8Array(16);function IMe(){if(!rm&&(rm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!rm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rm(OMe)}const PMe=/^(?:[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 dk(e){return typeof e=="string"&&PMe.test(e)}var _a=[];for(var SO=0;SO<256;++SO)_a.push((SO+256).toString(16).substr(1));function kMe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(_a[e[t+0]]+_a[e[t+1]]+_a[e[t+2]]+_a[e[t+3]]+"-"+_a[e[t+4]]+_a[e[t+5]]+"-"+_a[e[t+6]]+_a[e[t+7]]+"-"+_a[e[t+8]]+_a[e[t+9]]+"-"+_a[e[t+10]]+_a[e[t+11]]+_a[e[t+12]]+_a[e[t+13]]+_a[e[t+14]]+_a[e[t+15]]).toLowerCase();if(!dk(r))throw TypeError("Stringified UUID is invalid");return r}function DMe(e,t,r){e=e||{};var n=e.random||(e.rng||IMe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,kMe(n)}function LMe(e){if(!dk(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const BZ="cv:session:",zZ="cv:window:",NMe=new Date(864e13).getTime(),WZ=18e5,MMe=4;function tse(e){if(e===Gs.LocalStorage)return ja.isAvailable()?ja:zY;if(e===Gs.SessionStorage)return Md.isAvailable()?Md:zY}function GZ(e){return e===!1?NMe:new Date().getTime()+e}function $Me(){return DMe()}function FMe(e){return e?new Date().getTime()>e:!1}function jMe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!dk(e.id)||LMe(e.id)!==MMe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function KZ(e,t,r){const n=tse(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function YZ(e,t,r,n){const i=tse(r),o=e+(t||"0"),a=i.get(o);if(!jMe(a)||FMe(a==null?void 0:a.ttl)){const l={id:$Me(),ttl:GZ(n)};return i.set(o,l),l.id}const s={id:a.id,ttl:GZ(n)};return i.set(o,s),a.id}let EO=!1;const XZ={getClientSessionData(e){const t=YZ(BZ,e,Gs.LocalStorage,WZ),r=YZ(zZ,e,Gs.SessionStorage,EO?!1:WZ);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){KZ(BZ,e,Gs.LocalStorage),KZ(zZ,e,Gs.SessionStorage)},lockWindowSession(){EO=!0},unlockWindowSession(){EO=!1}},Hc={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},sn={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},zu="Unknown";function dd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=zu),{name:e,version:i}}function Ac(e,t,r){if(!t)return{name:e,version:zu};const n=t.exec(r),i=n&&n.length?n[0].trim():zu;return{name:e,version:i}}function UMe(e,t){const r={name:e,version:null};return sn.win2000.test(t)&&(r.version="2000"),sn.winXP.test(t)&&(r.version="XP"),sn.winVista.test(t)&&(r.version="Vista"),sn.win7.test(t)&&(r.version="7"),sn.win8.test(t)&&(r.version="8"),sn.win81.test(t)&&(r.version="8.1"),sn.win10.test(t)&&(r.version="10"),r.version||(r.version=zu),r}const QZ={getDeviceType(){const e=window.navigator.userAgent;return sn.mobileDevice.test(e)?sn.iphone.test(e)?"iPhone":sn.ipad.test(e)?"iPad":sn.android.test(e)?"Android":sn.blackberry.test(e)?"Blackberry":sn.windowsPhone.test(e)?"Windows Phone":zu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return sn.android.test(e)?Ac("Android",sn.androidVersion,e):sn.iphone.test(e)||sn.ipad.test(e)?Ac("iOS",sn.iosVersion,e):sn.linux.test(e)?Ac("Linux",null,e):sn.unix.test(e)?Ac("Unix",null,e):sn.mac.test(e)?Ac("Macintosh",sn.osxVersion,e):sn.windows.test(e)?UMe("Windows",e):sn.blackberry.test(e)?Ac("BlackBerry",sn.blackberryVersion,e):sn.windowsPhone.test(e)?Ac("Windows Phone",sn.windowsPhoneVersion,e):{name:zu,version:zu}},getBrowser(){const e=window.navigator.userAgent;return sn.chrome.test(e)?dd("Chrome",sn.generalVersion,e):sn.firefox.test(e)?dd("Firefox",sn.generalVersion,e):sn.safari.test(e)?dd("Safari",sn.generalVersion,e):sn.ie.test(e)?dd("Internet Explorer",sn.ieVersion,e):sn.edge.test(e)?dd("Edge",sn.edgeVersion,e):sn.opera.test(e)?dd("Opera",sn.operaVersion,e):{name:zu,version:zu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},qMe=28800,ZZ="cv:utmparams",TI=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],VMe=TI.reduce((e,[t])=>({...e,[t]:t}),{}),hk={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 TI.forEach(r),JZ(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{VMe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),JZ(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=hk.getUtmParameters();return t?(TI.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function JZ(e){if(Object.keys(e).length)return ja.cacheSet(ZZ,e,qMe),e;const t=ja.cacheGet(ZZ);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const HMe="2.3.0",BMe={version:HMe},zMe="zXJL9nOHxzDlMUDjiP41",eJ="unknown";class WMe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=hk.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=ck.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(!Hc.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Hc.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=sy.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(o=sy.safeUrlConcat(o,"/bulk"));try{const a=await xMe(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 hMe("SHA-1","TEXT",{hmacKey:{value:zMe,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 Ao.CvEuWest1:return t.cvEuWest1;case Ao.CvApSoutheast2:return t.cvApSoutheast2;case Ao.CvNaWest1:return t.cvNaWest1;case Ao.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Hc.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 s={user:i,action:r,platform:n,product:a,session:o};this.utmParameters&&(s.utm=this.utmParameters);const l=this.extractData(t),c=Object.keys(s).map(h=>h.toLowerCase()),d=Object.keys(l).map(h=>h.toLowerCase());return c.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...s,...l}}extractData(t){return Hc.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())||eJ,userGroup:(o.userGroup??wie.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{...XZ.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),XZ.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:QZ.getBrowser(),os:QZ.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:BMe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(yMe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):eJ}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const ly=class ly extends No{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===ly.type}};ly.type="BaseAnalyticsClient";let uy=ly;class GMe extends uy{get name(){return"DebuggerClient"}shouldLog(){return f1.isDevelopment}log(t){const r=sre(t);for(const n in t){const i=r[n];(i instanceof Ju||i instanceof c1)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}var Lc=(e=>(e.PageView="cv_page_view",e.Click="cv_click",e.FormSubmission="cv_form_submission",e))(Lc||{});const KMe={needsConsent(e){return!(typeof e>"u"||!e.isRequired||e.hasConsent)}},YMe="cookie:consent:accepted";class Sa extends uy{constructor(t){super(t)}get name(){return"GoogleAnalyticsClient"}initialize(t){if(this.setup(),t.logUtmParameters&&(this.utmParameters=hk.getUtmParameters()),t.logAttributionData&&(this.attributionData=ck.getDecodedAttributionData()),!KMe.needsConsent(t.consent)){this.updateGAConsent("granted");return}this.listenTo(_n.SHELL,YMe,this.onConsent)}onConsent(t){t!=null&&t.analytics&&this.updateGAConsent("granted")}updateGAConsent(t){if(!this.ready){console.error("gtag is not ready");return}window.gtag("consent","update",{ad_user_data:t,ad_personalization:t,ad_storage:t,analytics_storage:t})}setup(){if(typeof window.gtag!="function"){this.ready=!1;return}this.ready=!0}shouldLog(t){if(!this.ready||!Array.isArray(window.dataLayer))return!1;const r=Sa.eventWhitelist[t.type];return typeof r=="function"?r(t):!1}log(t){const{eventName:r,eventData:n}=this.getEventData(t)??{};r&&this.logEvent(r,n)}logEvent(t,r={}){var n,i;this.ready&&(this.utmParameters&&(r.utm=this.utmParameters),(n=this.attributionData)!=null&&n.internalReferrer&&(r.internalReferrer=this.attributionData.internalReferrer),(i=this.attributionData)!=null&&i.originalReferrer&&(r.originalReferrer=this.attributionData.originalReferrer),window.gtag("event",t,r||{}))}getEventData(t){if(t.isType(It.PageView))return Sa.getPageViewData(t);if(t.isType(It.Click))return Sa.getClickData(t);if(t.isType(It.Create))return Sa.getCreateEventData(t)}static getCreateEventData(t){if(Sa.isTrialCreatedEvent(t))return{eventName:Lc.FormSubmission,eventData:{event_category:"sign_up",event_label:"created"}};if(Sa.isTrialRequestedEvent(t))return{eventName:Lc.FormSubmission,eventData:{event_category:"sign_up",event_label:"trial_requested"}};if(Sa.isTrialCustomerEvent(t))return{eventName:Lc.FormSubmission,eventData:{event_category:"sign_up",event_label:"customer"}};if(Sa.isTrialExistingEvent(t))return{eventName:Lc.FormSubmission,eventData:{event_category:"sign_up",event_label:"existing_trial"}}}static getPageViewData(t){var r;if(!(!("url"in t.data)||!t.data.url))return{eventName:Lc.PageView,eventData:{url:(r=t.data)==null?void 0:r.url}}}static getClickData(t){var r,n,i,o,a,s;if(((r=t.actionContext)==null?void 0:r.entity)!==dn.Url)return{eventName:Lc.Click,eventData:{entity:(n=t.actionContext)==null?void 0:n.entity,context:((i=t.actionContext)==null?void 0:i.descriptor)||((o=t.actionContext)==null?void 0:o.location),id:(a=t.data)==null?void 0:a.id,value:(s=t.data)==null?void 0:s.name}}}static get eventWhitelist(){return{[It.PageView]:Sa.isPageViewEvent,[It.Click]:Sa.isClickEvent,[It.Create]:Sa.isCreateEvent}}static isPageViewEvent(t){return"url"in t.data}static isClickEvent(t){return t.type===It.Click}static isCreateEvent(t){return t.type!==It.Create?!1:Sa.isTrialCreatedEvent(t)||Sa.isTrialRequestedEvent(t)||Sa.isTrialCustomerEvent(t)||Sa.isTrialExistingEvent(t)}static isTrialCreatedEvent(t){return!(t.type!==It.Create||t.actionContext.descriptor!==Gu.TrialCreated||t.actionContext.workflowPhase!==Oo.Complete)}static isTrialRequestedEvent(t){if(t.type!==It.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==dn.SignUp||n!==Gu.TrialRequested||t.actionContext.workflowPhase!==Oo.Complete)}static isTrialCustomerEvent(t){if(t.type!==It.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==dn.SignUp||n!==Gu.DeadEnd||!("trialStatus"in t.data)||t.data.trialStatus!=="not-required")}static isTrialExistingEvent(t){if(t.type!==It.Create)return!1;const{entity:r,descriptor:n}=t.actionContext;return!(r!==dn.SignUp||n!==Gu.DeadEnd||!("trialStatus"in t.data)||t.data.trialStatus!=="active")}}const tJ="cv:profileId";class XMe{get name(){return b1.ProfileApiClient}constructor(t){this.options=t,this.storage=y3.getStorage(),this.masterId="",this.bindFunctions(),this.options.attributedProfileId&&(this.profileRequest=this.getSetAttributedProfileId())}bindFunctions(){this.createOrUpdate=this.createOrUpdate.bind(this),this.getProfileId=this.getProfileId.bind(this)}getSetAttributedProfileId(){return this.storage.setItem(this.getProfileIdKey(this.masterId),this.options.attributedProfileId),Promise.resolve(this.options.attributedProfileId)}async createOrUpdate(t,r){var n,i;try{const o=this.buildRequest(t,r);this.profileRequest=this.fetchProfileId(o),await this.profileRequest}catch(o){(i=(n=this.options).onError)==null||i.call(n,o)}}async fetchProfileId(t){const r={"Content-Type":"application/json"},n=sy.safeUrlConcat(this.options.hostUrl||window.location.origin,this.options.path||"/v1/profiles"),i=await fetch(n,{method:"POST",headers:r,mode:"cors",body:JSON.stringify(t)});return await this.handleResponse(i)}async getProfileId(){try{return await this.profileRequest}catch{return}}getStoredProfileId(){return this.storage.getItem(this.getProfileIdKey(this.masterId))}getProfileIdKey(t=""){return t?`${tJ}:${t}`:tJ}buildRequest(t,r={}){const n={...r,countryCode:t==null?void 0:t.countryCode,crmId:t==null?void 0:t.crmId,email:t==null?void 0:t.email,firstName:t==null?void 0:t.firstName,lastName:t==null?void 0:t.lastName,masterId:t==null?void 0:t.masterId,phone:t==null?void 0:t.phone},i={};for(const a in n){let s=n[a];s!==void 0&&s!==null&&(s=s.toString().trim(),s&&(i[a]=s))}return t.masterId&&(this.masterId=t.masterId),{id:this.getStoredProfileId(),instanceRegion:this.options.instanceRegion,properties:i}}async handleResponse(t){if(!t.ok)throw new Error(`ProfileApiClient failed to log properties. Status: ${t.status} ${t.statusText}`);const r=await t.json();return this.masterId&&this.storage.removeItem(this.getProfileIdKey()),this.storage.setItem(this.getProfileIdKey(this.masterId),r.id),r.id}}const nn={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/(^(?!.*Edge).*Chrome)|(CriOS)/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},Wu="Unknown";function hd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Wu),{browser:e,version:i}}function Rc(e,t,r){if(!t)return{os:e,version:Wu};const n=t.exec(r),i=n&&n.length?n[0].trim():Wu;return{os:e,version:i}}function QMe(e,t){const r={os:e};return nn.win2000.test(t)&&(r.version="2000"),nn.winXP.test(t)&&(r.version="XP"),nn.winVista.test(t)&&(r.version="Vista"),nn.win7.test(t)&&(r.version="7"),nn.win8.test(t)&&(r.version="8"),nn.win81.test(t)&&(r.version="8.1"),nn.win10.test(t)&&(r.version="10"),r.version||(r.version=Wu),r}const Cp={getDeviceType(){const e=window.navigator.userAgent;return nn.mobileDevice.test(e)?nn.iphone.test(e)?"iPhone":nn.ipad.test(e)?"iPad":nn.android.test(e)?"Android":nn.blackberry.test(e)?"Blackberry":nn.windowsPhone.test(e)?"Windows Phone":Wu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return nn.android.test(e)?Rc("Android",nn.androidVersion,e):nn.iphone.test(e)||nn.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Rc("iOS",nn.iosVersion,e):nn.linux.test(e)?Rc("Linux",null,e):nn.unix.test(e)?Rc("Unix",null,e):nn.mac.test(e)?Rc("Macintosh",nn.osxVersion,e):nn.windows.test(e)?QMe("Windows",e):nn.blackberry.test(e)?Rc("BlackBerry",nn.blackberryVersion,e):nn.windowsPhone.test(e)?Rc("Windows Phone",nn.windowsPhoneVersion,e):{os:Wu,version:Wu}},getBrowser(){const e=window.navigator.userAgent;return nn.chrome.test(e)?hd("Chrome",nn.generalVersion,e):nn.firefox.test(e)?hd("Firefox",nn.generalVersion,e):nn.safari.test(e)?hd("Safari",nn.generalVersion,e):nn.ie.test(e)?hd("Internet Explorer",nn.ieVersion,e):nn.edge.test(e)?hd("Edge",nn.edgeVersion,e):nn.opera.test(e)?hd("Opera",nn.operaVersion,e):{browser:Wu,version:Wu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return Cp.isTouchScreen()?nn.tablet.test(navigator.userAgent)||nn.mobile.test(navigator.userAgent):!1},isAndroid(){return Cp.getOperatingSystem().os==="Android"},isIOS(){return Cp.getOperatingSystem().os==="iOS"}},cy=class cy extends No{enrich(t,r){}isType(t){return t===cy.type}};cy.type="BaseAnalyticsEnricher";let AI=cy;class ZMe extends AI{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 xo.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Mn.GetCurrentReferrer(),requestUrl:Mn.GetCurrentUrl()}}getClientInfo(){const t=Cp.getOperatingSystem(),r=Cp.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 JMe extends Ef{}class e8e extends JMe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(Rd.Outlet,t)}subscribe(t){const r=t,n=i=>{Ai.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};un(r.listenTo)?r.listenTo(this.getChannel(),Rd.Outlet,n):this.listenTo(this.getChannel(),Rd.Outlet,n)}}const Li={passthrough(e){return e}},Er={allow:()=>!0,restrict:()=>!1},t8e={getShareData(e){var s,l,c,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(s=e.video)!=null&&s.id&&(a.video={id:e.video.id}),(l=e.clip)!=null&&l.id&&(a.clip={id:e.clip.id},(c=e.clip.video)!=null&&c.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}},Sd={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===dn.Video)return Sd.formatVideoUpload(e,t);if(r===dn.Resource||r===dn.Subtitle)return Sd.formatResourceUpload(e);if(r===dn.Banner||r===dn.Thumbnail||r===dn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Oo.Start)return Sd.getStartVideoUploadData(e);if(r===Oo.Discard)return Sd.getDiscardVideoUploadData(e);if(r===Oo.Complete)return Sd.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,s={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:o};return r.progress&&(s.progress=r.progress.toFixed(2)),a&&(s.uploadId=a.uploadId),s};return Array.isArray(e)?e.map(r=>t(r)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{const{fileName:r,libraryId:n,folderId:i,autoCaption: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 Hc.isObject(e.metadata)&&(n.type=e.metadata.type),n}},r8e={[It.Navigate]:Er.restrict,[It.Click]:Er.allow,[It.Search]:Er.allow,[It.InstantSearch]:Er.allow,[It.Play]:Er.allow,[It.Stream]:Er.allow,[It.WebPlayerStream]:Er.allow,[It.StreamProgress]:Er.allow,[It.Rename]:Er.allow,[It.Move]:Er.allow,[It.Create]:Er.allow,[It.Delete]:Er.allow,[It.Associate]:Er.allow,[It.Dissociate]:Er.allow,[It.Filter]:Er.allow,[It.Sort]:Er.allow,[It.Approve]:Er.allow,[It.Reject]:Er.allow,[It.Disable]:Er.allow,[It.Upload]:Er.allow,[It.Download]:Er.allow,[It.SetAccess]:Er.allow,[It.AddToLocalCache]:Er.restrict,[It.Share]:Er.allow,[It.Unshare]:Er.allow,[It.Edit]:Er.allow,[It.Suggest]:Er.allow,[It.Favourite]:Er.allow,[It.WorkspaceAdd]:Er.allow,[It.ResolveWarning]:Er.allow,[It.DismissWarning]:Er.allow,[It.EditAssoc]:Er.allow,[It.Follow]:Er.allow,[It.Print]:Er.allow,[It.Copy]:Er.allow,[It.Activate]:Er.allow,[It.VerifyEmail]:Er.allow,[It.ChangePassword]:Er.allow,[It.Export]:Er.allow,[It.SendEmail]:Er.allow,[It.Publish]:Er.allow,[It.Submit]:Er.allow,[It.Complete]:Er.allow,[It.Archive]:Er.allow,[It.Promote]:Er.allow,[It.Demote]:Er.allow,[It.BulkAction]:Er.allow,[It.Remove]:Er.allow,[It.Dismiss]:Er.allow,[It.Open]:Er.allow,[It.Hide]:Er.allow,[It.PageView]:Er.allow,[It.Select]:Er.allow,[It.SwitchCustomer]:Er.allow,[It.Focus]:Er.allow,[It.Blur]:Er.allow,[It.Hover]:Er.allow,[It.Unhover]:Er.allow},n8e={[It.Search]:Li.passthrough,[It.InstantSearch]:Li.passthrough,[It.Play]:Li.passthrough,[It.Stream]:Li.passthrough,[It.StreamProgress]:Li.passthrough,[It.Click]:Li.passthrough,[It.Filter]:Li.passthrough,[It.Sort]:Li.passthrough,[It.SetAccess]:Li.passthrough,[It.Approve]:Li.passthrough,[It.Reject]:Li.passthrough,[It.Create]:Li.passthrough,[It.Delete]:Li.passthrough,[It.Rename]:Li.passthrough,[It.Move]:Li.passthrough,[It.Edit]:Li.passthrough,[It.Share]:t8e.getShareData,[It.Disable]:Li.passthrough,[It.Suggest]:Li.passthrough,[It.Upload]:Sd.getUploadData,[It.ResolveWarning]:Li.passthrough,[It.DismissWarning]:Li.passthrough,[It.Follow]:Li.passthrough,[It.Print]:Li.passthrough,[It.Copy]:Li.passthrough},rJ={[It.Search]:()=>"search",[It.InstantSearch]:()=>"search",[It.Filter]:()=>"filter",[It.Stream]:()=>dn.Video},nJ={user:"target_user",product:"target_product"},i8e={[It.StreamProgress]:!0,[It.WebPlayerStream]:!0},iJ={shouldLog(e){return!!r8e[e.type](e)},formatData(e){const t=n8e[e.type],r=Hc.isFunction(t)?t(e.data,e):e.data;if(i8e[e.type])return r;let n=e.actionContext.entity;return Hc.isFunction(rJ[e.type])&&(n=rJ[e.type](e)),nJ[n]&&(n=nJ[n]),{[n]:r}}},rse={customer(e,t,r,n){return{url:va.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:Ci.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},a8e="staff";async function o8e(e){try{return await ia(e.store,oi.accessPolicy())}catch{return null}}const nse={async getUser(e){const t=await ia(e.store,oi.currentUser());if(!t.isAuthenticated)return null;const r=ia(e.store,rse.customer(t.customerId)),n=ia(e.store,oi.user(t.id)),i=o8e(e);return nse.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var o;const i=zs.getUserType(t);return{id:e==null?void 0:e.id,countryCode:e==null?void 0:e.countryCode,contentRegion:e==null?void 0:e.contentRegion,instanceRegion:e==null?void 0:e.instanceRegion,customerId:e==null?void 0:e.customerId,customerGuid:r==null?void 0:r.customerGuid,customerName:e==null?void 0:e.customerName,crmId:r==null?void 0:r.crmId,role:e==null?void 0:e.role,sessionId:e==null?void 0:e.sessionId,userGroup:i,yearGroup:i===yi.Staff?a8e:(o=t==null?void 0:t.masterYearGroup)==null?void 0:o.name,accessPolicy:n==null?void 0:n.id}}},s8e={logError(e,...t){var r;Ai.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&Ai.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}},u8e={shouldRegisterGoogleAnalyticsClient(e,t){return!(!(e!=null&&e.googleAnalyticsProjectId)||Poe.isBot()||!t||t[Ws.StudentExperience])}},l8e={isRequired:!1,hasConsent:!1,consentKey:"analytics"};async function c8e(e,t){const[r,n,i]=await Promise.all([ia(e.store,oi.currentUser()),ia(e.store,Ks.config()),ia(e.store,oi.permissions())]);let o=null;r.isAuthenticated&&(o=await ia(e.store,rse.customer(r.customerId)));const a=ia(e.store,Ks.version()),s=new lMe({user:r,config:n}),l=f8e({instanceRegion:n.instanceRegion,currentUser:r,customer:o});eo.registerSingleton(s),eo.registerSingleton(l),s.registerTransport(e8e),s.registerClient(GMe);const c=await a;s.registerClient(WMe,{productName:"streamablelearning.web",productVersion:c,regionName:n.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>nse.getUser(e),shouldLog:iJ.shouldLog,formatData:iJ.formatData,logError:s8e.logError,logUtmParameters:!0,logAttributionData:!0,getProfileId:l.getProfileId}),s.registerEnricher(ZMe,{productName:"Streamable Learning",productVersion:c}),u8e.shouldRegisterGoogleAnalyticsClient(n,i)&&s.registerClient(Sa,{projectId:n.googleAnalyticsProjectId,logUtmParameters:!0,logAttributionData:!0,consent:l8e}),t(e)}function f8e(e){const{instanceRegion:t,currentUser:r,customer:n}=e,i=new XMe({path:"/api/profile/v1/profiles",instanceRegion:t});let o={};return e.currentUser.isAuthenticated&&n&&(o={countryCode:r.countryCode,crmId:n.crmId,email:r.email,firstName:r.givenName,lastName:r.familyName,masterId:r.id}),i.createOrUpdate(o),i}async function d8e(e,t){try{const r=await ia(e.store,Ks.config());mI.initialize({product:Ro.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const aJ={locale(){return{url:"/api/locale",key:"locale",bootstrapName:zc.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:zc.PHRASES}}};async function h8e(e,t){let r;try{r=ia(e.store,aJ.phrases());const n=ia(e.store,aJ.locale());_r.setConfig({locale:await n,phrases:await r}),zoe.setProduct("Streamable Learning")}catch(n){console.error(n)}finally{t(e)}}const p8e={setLocalPermissions(e,t){e.dispatch({type:L1.UPDATE,payload:{viewModelKey:N1.LOCAL_PERMISSIONS,dataOrKey:t}})}};async function v8e(e,t){try{const r=await ia(e.store,oi.currentUser()),n=g8e(r);p8e.setLocalPermissions(e.store,n)}catch(r){console.error(r)}finally{t(e)}}function g8e(e){const t=e==null?void 0:e.isAuthenticated;return{[Za.ManagePublicPresentation]:!t,[Za.ManageDiscoverPreferences]:t,[Za.ViewPlaylistsLanding]:!t,[Za.ViewMyVideosLanding]:!t,[Za.ViewMyFavouritesLanding]:!t,[Za.ViewWatchHistoryLanding]:!t,[Za.WatchVideos]:t,[Za.UseVideoActions]:t,[Za.UseSeriesActions]:t,[Za.ViewNotifications]:t,[Za.ViewTrendingTopics]:t,[Za.FollowComingSoonTopics]:t,[Za.ViewVideoResourceItems]:t,[Za.ViewMySharesLanding]:t}}var Mc=(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))(Mc||{});const m8e={type:Mc.Unknown,message:"",code:0},y8e={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 _8e extends Ef{constructor(t){super(t),du.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 oy.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=Ci.GET);const o=at.defaults(i,{forceHttps:!1}),a={url:t,method:n,type:n};r&&(a.data=n===Ci.POST||n===Ci.PUT?JSON.stringify(r):r),o.forceHttps&&(a.url=this.makeHttps(a.url)),o.traditional&&(a.traditional=o.traditional);const s=du.ajax(a);return at.keys(this.successMiddleware).length&&s.done(at.values(this.successMiddleware)),at.keys(this.errorMiddleware).length&&s.fail(at.values(this.errorMiddleware)),s}create(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,Ci.POST).done((s,l,c)=>i.trigger(o,s,l,c)).fail((s,l,c)=>i.trigger(a,s,l,c))}read(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,Ci.GET).done((a,s,l)=>{n.trigger(i,a,s,l)}).fail((a,s,l)=>{n.trigger(o,a,s,l)})}update(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,Ci.PUT).done((s,l,c)=>i.trigger(o,s,l,c)).fail((s,l,c)=>i.trigger(a,s,l,c))}delete(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,Ci.DELETE).done((a,s,l)=>n.trigger(i,a,s,l)).fail((a,s,l)=>n.trigger(o,a,s,l))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=m8e;switch(n.code=t.status,n.message=y8e.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Mc.BadRequest;break;case 401:n.type=Mc.Unauthorized;break;case 403:n.type=Mc.Forbidden;break;case 404:n.type=Mc.NotFound;break;case 500:n.type=Mc.InternalServer;break}return n}}function S8e(e,t){eo.registerSingleton(new _8e({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}class E8e extends No{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return ay.Fifo}removeCacheKey(t){this.cachedkeys=MO(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new Cn("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=Ure(this.cachedkeys,this.cachedkeys);let o=[];Ca(t,a=>{i[a]&&o.push(a);const s=new RegExp(a,"i"),l=Zc(i,c=>s.test(c));o.push(...l)}),o.length&&(o=Ip(o),Ca(o,a=>{delete this.cache[a],un(r)&&r(a)}),this.cachedkeys=MO(this.cachedkeys,...o)),!(!this.store||!n)&&this.store.dispatch({type:Ja.INVALIDATE,keys:t})}}function w8e(e,t){eo.registerInstance(E8e,{size:100}),t(e)}function b8e(e,t){Uc.setPublicFormatSettings(()=>[]),t(e)}const pk=new K_e({region:"#app",layoutService:new W_e({})});pk.addInitializationStep(b8e).addInitializationStep(I5e).addInitializationStep(w8e).addInitializationStep(S8e).addInitializationStep(sMe).addInitializationStep(h8e).addInitializationStep(v8e).addInitializationStep(xNe).addInitializationStep(c8e).addInitializationStep(gTe).addInitializationStep(oTe).addInitializationStep(d8e);pk.addStartUpStep(P5e);pk.start();export{Ks as $,ck as A,No as B,hAe as C,xo as D,fu as E,M1 as F,Mae as G,Cie as H,Qm as I,eDe as J,tOe as K,wke as L,Ti as M,dG as N,oa as O,Ws as P,YEe as Q,Xt as R,nie as S,yn as T,hk as U,uie as V,Cr as W,ur as X,el as Y,ZDe as Z,N1 as _,cp as a,b2e as a$,dO as a0,vr as a1,sie as a2,T2e as a3,A8e as a4,Ci as a5,va as a6,Af as a7,s8e as a8,Xg as a9,vke as aA,R8e as aB,rse as aC,oi as aD,C2e as aE,Ro as aF,Lae as aG,jr as aH,m3 as aI,Oo as aJ,Mn as aK,Ku as aL,Goe as aM,Sn as aN,oRe as aO,on as aP,Die as aQ,jAe as aR,Lp as aS,Dp as aT,R3 as aU,Cke as aV,Gl as aW,f4e as aX,u2e as aY,WY as aZ,dAe as a_,Eo as aa,pr as ab,_ie as ac,Fd as ad,Kc as ae,Ul as af,jn as ag,me as ah,Yr as ai,R2e as aj,_oe as ak,oZ as al,sZ as am,Aoe as an,zs as ao,A2e as ap,O2e as aq,Ai as ar,yi as as,voe as at,Fke as au,woe as av,K3 as aw,Eoe as ax,yDe as ay,vDe as az,TNe as b,jp as b$,b1 as b0,N8e as b1,Ll as b2,Dae as b3,ja as b4,Gu as b5,Wc as b6,$ie as b7,Fu as b8,fAe as b9,iRe as bA,_v as bB,tRe as bC,Gc as bD,rRe as bE,Nc as bF,Nl as bG,eI as bH,Oc as bI,mI as bJ,G3 as bK,T1 as bL,lAe as bM,rAe as bN,cQ as bO,Cn as bP,Y3 as bQ,cAe as bR,QTe as bS,Boe as bT,HTe as bU,wne as bV,ENe as bW,p3 as bX,Cp as bY,KTe as bZ,x2e as b_,ql as ba,Hm as bb,Fl as bc,$8e as bd,Ea as be,wo as bf,VY as bg,yCe as bh,q2e as bi,bo as bj,tLe as bk,M8e as bl,jO as bm,S3 as bn,mv as bo,ph as bp,sAe as bq,lu as br,fO as bs,xc as bt,Soe as bu,W3 as bv,Uke as bw,jke as bx,Za as by,pv as bz,_r as c,vee as c$,ju as c0,_n as c1,bke as c2,$d as c3,Ni as c4,uNe as c5,L8e as c6,D8e as c7,k8e as c8,bbe as c9,wbe as cA,PAe as cB,QDe as cC,VAe as cD,HAe as cE,l1 as cF,Jc as cG,Jn as cH,zO as cI,ey as cJ,Pp as cK,Eie as cL,XZ as cM,WMe as cN,iJ as cO,aAe as cP,JO as cQ,C3 as cR,tNe as cS,iAe as cT,jue as cU,rpe as cV,kue as cW,wy as cX,$ce as cY,cfe as cZ,hfe as c_,Pwe as ca,hh as cb,Dwe as cc,Lne as cd,Cbe as ce,dbe as cf,vv as cg,dh as ch,Sbe as ci,s3 as cj,m1 as ck,Hwe as cl,c3 as cm,$ne as cn,Ine as co,ebe as cp,Ane as cq,Gwe as cr,Awe as cs,Dne as ct,Nwe as cu,gv as cv,Abe as cw,gbe as cx,Tbe as cy,Pne as cz,Yo as d,Qhe as d0,npe as d1,Yue as d2,Mle as d3,rP as d4,Cde as d5,Ide as d6,HO as d7,oAe as d8,pAe as d9,tDe as da,Ao as db,YP as dc,Kne as dd,Zne as de,hO as df,Cd as dg,Co as dh,_p as di,Toe as dj,Ir as dk,GDe as dl,E1 as dm,rOe as dn,T8e as dp,uAe as dq,nAe as dr,x8e as ds,sy as dt,jl as e,Ev as f,Bn as g,aa as h,dn as i,U as j,It as k,Jo as l,jd as m,Fn as n,Qi as o,Tv as p,Gs as q,Av as r,DCe as s,iie as t,Nke as u,E5e as v,zoe as w,dTe as x,BO as y,qu as z};
|
|
216
|
+
//# sourceMappingURL=app-C56EnOMP.js.map
|