@clickview/exchange 0.47.1-dev.3 → 0.48.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/1068-exchange-b5eaf8af44.chunk.css +35 -0
- package/dist/css/1127-exchange-0eab318199.chunk.css +40 -0
- package/dist/css/1226-exchange-217b44f8b4.chunk.css +57 -0
- package/dist/css/1861-exchange-f3ff7e4f0d.chunk.css +85 -0
- package/dist/css/2494-exchange-02d7a0249c.chunk.css +2 -0
- package/dist/css/2538-exchange-4cbfe56ba3.chunk.css +1 -0
- package/dist/css/3291-exchange-3a8e198338.chunk.css +11 -0
- package/dist/css/3858-exchange-06944bdfa4.chunk.css +1 -0
- package/dist/css/4075-exchange-6d2304419c.chunk.css +5 -0
- package/dist/css/5027-exchange-2284222ca6.chunk.css +25 -0
- package/dist/css/6298-exchange-78ece5c7c5.chunk.css +37 -0
- package/dist/css/6332-exchange-2a22bfa655.chunk.css +1 -0
- package/dist/css/6356-exchange-8c5b220bf6.chunk.css +1 -0
- package/dist/css/7095-exchange-4cbfe56ba3.chunk.css +1 -0
- package/dist/css/7759-exchange-23bb5dd175.chunk.css +8 -0
- package/dist/css/8294-exchange-c797263ac2.chunk.css +1 -0
- package/dist/css/8589-exchange-71b6bc18f9.chunk.css +11 -0
- package/dist/css/8866-exchange-e80e6c6649.chunk.css +10 -0
- package/dist/css/9212-exchange-d71527fc65.chunk.css +1 -0
- package/dist/css/9611-exchange-cbf2bb5621.chunk.css +5 -0
- package/dist/css/9958-exchange-1387f35e92.chunk.css +14 -0
- package/dist/css/lite-exchange-306a09841f.css +15 -0
- package/dist/languages/en.json +1 -0
- package/dist/scripts/1068-0b00683666-exchange.chunk.js +1 -0
- package/dist/scripts/1127-356b23351e-exchange.chunk.js +1 -0
- package/dist/scripts/1136-4d8336cfdf-exchange.chunk.js +2 -0
- package/dist/scripts/1136-4d8336cfdf-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/1226-a4c0643661-exchange.chunk.js +1 -0
- package/dist/scripts/1861-dbceb13d3f-exchange.chunk.js +2 -0
- package/dist/scripts/1861-dbceb13d3f-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/2087-bbc1fd721f-exchange.chunk.js +1 -0
- package/dist/scripts/2117-5d867c698d-exchange.chunk.js +1 -0
- package/dist/scripts/2127-71bf57d74b-exchange.chunk.js +1 -0
- package/dist/scripts/2494-98cce57764-exchange.chunk.js +2 -0
- package/dist/scripts/2494-98cce57764-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/2507-1911a9bdb2-exchange.chunk.js +1 -0
- package/dist/scripts/2538-997edb9433-exchange.chunk.js +2 -0
- package/dist/scripts/2538-997edb9433-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/2648-4197959943-exchange.chunk.js +1 -0
- package/dist/scripts/2877-eee7fe484e-exchange.chunk.js +1 -0
- package/dist/scripts/3291-f9ccc2ea28-exchange.chunk.js +1 -0
- package/dist/scripts/3858-cd9d38c31c-exchange.chunk.js +1 -0
- package/dist/scripts/4075-6624f96fc6-exchange.chunk.js +1 -0
- package/dist/scripts/4299-36e5929cc6-exchange.chunk.js +1 -0
- package/dist/scripts/4312-7d095d2f30-exchange.chunk.js +1 -0
- package/dist/scripts/442-47e3927b49-exchange.chunk.js +1 -0
- package/dist/scripts/455-ceeb969c54-exchange.chunk.js +1 -0
- package/dist/scripts/4558-057650ef22-exchange.chunk.js +1 -0
- package/dist/scripts/5027-357264982b-exchange.chunk.js +1 -0
- package/dist/scripts/5173-9cde8f68d3-exchange.chunk.js +1 -0
- package/dist/scripts/5267-443f3cdd59-exchange.chunk.js +1 -0
- package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +1 -0
- package/dist/scripts/6156-2bf99d5991-exchange.chunk.js +1 -0
- package/dist/scripts/6298-1c7a0ba516-exchange.chunk.js +1 -0
- package/dist/scripts/6332-9d2d42e2f9-exchange.chunk.js +1 -0
- package/dist/scripts/6356-dd8ff70cbb-exchange.chunk.js +1 -0
- package/dist/scripts/6725-25d1542dec-exchange.chunk.js +1 -0
- package/dist/scripts/6831-30fa3e741e-exchange.chunk.js +1 -0
- package/dist/scripts/7095-bbe1bfbe2f-exchange.chunk.js +2 -0
- package/dist/scripts/7095-bbe1bfbe2f-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7170-cc2ea0de18-exchange.chunk.js +1 -0
- package/dist/scripts/7759-2740213eb8-exchange.chunk.js +1 -0
- package/dist/scripts/7782-36924dba92-exchange.chunk.js +1 -0
- package/dist/scripts/7925-978cf5d7fb-exchange.chunk.js +1 -0
- package/dist/scripts/851-d89fb94a66-exchange.chunk.js +2 -0
- package/dist/scripts/851-d89fb94a66-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/8536-dc903c2f54-exchange.chunk.js +1 -0
- package/dist/scripts/8589-912ab9f055-exchange.chunk.js +1 -0
- package/dist/scripts/8619-e5f595a594-exchange.chunk.js +1 -0
- package/dist/scripts/8866-0993e6b43a-exchange.chunk.js +1 -0
- package/dist/scripts/8937-727d080ed9-exchange.chunk.js +1 -0
- package/dist/scripts/9212-e8bde56a84-exchange.chunk.js +1 -0
- package/dist/scripts/9414-85c7657c8f-exchange.chunk.js +2 -0
- package/dist/scripts/9414-85c7657c8f-exchange.chunk.js.LICENSE.txt +60 -0
- package/dist/scripts/9566-0625fb0cbe-exchange.chunk.js +1 -0
- package/dist/scripts/9611-6fe32ccc83-exchange.chunk.js +1 -0
- package/dist/scripts/9866-2d10067a4e-exchange.chunk.js +1 -0
- package/dist/scripts/9899-2b571c961b-exchange.chunk.js +1 -0
- package/dist/scripts/9958-7f8f5ae2c6-exchange.chunk.js +2 -0
- package/dist/scripts/9958-7f8f5ae2c6-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/bundle-be81211eaf.min.js +2 -0
- package/dist/scripts/bundle-be81211eaf.min.js.LICENSE.txt +108 -0
- package/package.json +4 -7
- package/typings/utils/imports.d.ts +1 -1
- 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/css/B57G3PZD.chunk.css +0 -1
- package/dist/css/BBV1d-ZI.chunk.css +0 -1
- package/dist/css/BDOTXlob.chunk.css +0 -1
- package/dist/css/BIeUeS4h.chunk.css +0 -1
- package/dist/css/BPdg7JW4.chunk.css +0 -1
- package/dist/css/BiRz4h1c.chunk.css +0 -1
- package/dist/css/Bt3pBBLn.chunk.css +0 -1
- package/dist/css/Bz8F9buU.chunk.css +0 -1
- package/dist/css/C2R4QydJ.chunk.css +0 -1
- package/dist/css/C7XoyEPr.chunk.css +0 -1
- package/dist/css/CAdv9Saa.chunk.css +0 -1
- package/dist/css/CC5F5C8O.chunk.css +0 -1
- package/dist/css/CCsCPLDG.chunk.css +0 -1
- package/dist/css/CD1qrI1T.chunk.css +0 -1
- package/dist/css/CDiJwtuL.chunk.css +0 -1
- package/dist/css/CM-cscAF.chunk.css +0 -1
- package/dist/css/CY0yvCW4.chunk.css +0 -1
- package/dist/css/Ci6HCTb5.chunk.css +0 -1
- package/dist/css/CifDVjr-.chunk.css +0 -1
- package/dist/css/CphXVlxY.chunk.css +0 -1
- package/dist/css/CrSv-tYo.chunk.css +0 -1
- package/dist/css/DD13UQOa.chunk.css +0 -1
- package/dist/css/DGyCCqtO.chunk.css +0 -1
- package/dist/css/DI4l_5OJ.chunk.css +0 -1
- package/dist/css/DL_jCfRl.chunk.css +0 -1
- package/dist/css/DRlDmMhN.chunk.css +0 -1
- package/dist/css/Dkh6sNpi.chunk.css +0 -1
- package/dist/css/DlOtoSz0.chunk.css +0 -1
- package/dist/css/DnhNnDZN.chunk.css +0 -1
- package/dist/css/EnQ3abug.chunk.css +0 -1
- package/dist/css/O777zV0C.chunk.css +0 -1
- package/dist/css/fs02hBfZ.chunk.css +0 -1
- package/dist/css/jbMisi9r.chunk.css +0 -1
- package/dist/css/w4TLT4f5.chunk.css +0 -1
- package/dist/en.json +0 -1
- package/dist/scripts/-QmfGLIN.chunk.js +0 -2
- package/dist/scripts/-QmfGLIN.chunk.js.map +0 -1
- package/dist/scripts/6FhUNBfx.chunk.js +0 -2
- package/dist/scripts/6FhUNBfx.chunk.js.map +0 -1
- package/dist/scripts/9o-MqpsS.chunk.js +0 -2
- package/dist/scripts/9o-MqpsS.chunk.js.map +0 -1
- package/dist/scripts/B2HNVRLF.chunk.js +0 -2
- package/dist/scripts/B2HNVRLF.chunk.js.map +0 -1
- package/dist/scripts/B2yKZtpc.chunk.js +0 -6
- package/dist/scripts/B2yKZtpc.chunk.js.map +0 -1
- package/dist/scripts/B4NQ482n.chunk.js +0 -2
- package/dist/scripts/B4NQ482n.chunk.js.map +0 -1
- package/dist/scripts/B4kbE-AG.chunk.js +0 -2
- package/dist/scripts/B4kbE-AG.chunk.js.map +0 -1
- package/dist/scripts/B668bf5B.chunk.js +0 -2
- package/dist/scripts/B668bf5B.chunk.js.map +0 -1
- package/dist/scripts/BFoo6g4H.chunk.js +0 -2
- package/dist/scripts/BFoo6g4H.chunk.js.map +0 -1
- package/dist/scripts/BHWbXJt3.chunk.js +0 -2
- package/dist/scripts/BHWbXJt3.chunk.js.map +0 -1
- package/dist/scripts/BHdp6IzC.chunk.js +0 -2
- package/dist/scripts/BHdp6IzC.chunk.js.map +0 -1
- package/dist/scripts/BPlgKoUH.chunk.js +0 -2
- package/dist/scripts/BPlgKoUH.chunk.js.map +0 -1
- package/dist/scripts/BU7zesZa.chunk.js +0 -2
- package/dist/scripts/BU7zesZa.chunk.js.map +0 -1
- package/dist/scripts/BbAy6p0a.chunk.js +0 -2
- package/dist/scripts/BbAy6p0a.chunk.js.map +0 -1
- package/dist/scripts/Bd43MH9s.chunk.js +0 -2
- package/dist/scripts/Bd43MH9s.chunk.js.map +0 -1
- package/dist/scripts/BdoDNby6.chunk.js +0 -2
- package/dist/scripts/BdoDNby6.chunk.js.map +0 -1
- package/dist/scripts/BfpVRvba.chunk.js +0 -2
- package/dist/scripts/BfpVRvba.chunk.js.map +0 -1
- package/dist/scripts/BgY8Fu63.chunk.js +0 -2
- package/dist/scripts/BgY8Fu63.chunk.js.map +0 -1
- package/dist/scripts/BhzF8k3V.chunk.js +0 -2
- package/dist/scripts/BhzF8k3V.chunk.js.map +0 -1
- package/dist/scripts/BjlH_9a_.chunk.js +0 -2
- package/dist/scripts/BjlH_9a_.chunk.js.map +0 -1
- package/dist/scripts/BklWIeq0.chunk.js +0 -2
- package/dist/scripts/BklWIeq0.chunk.js.map +0 -1
- package/dist/scripts/BlDVEZsX.chunk.js +0 -2
- package/dist/scripts/BlDVEZsX.chunk.js.map +0 -1
- package/dist/scripts/BoNPAqR7.chunk.js +0 -2
- package/dist/scripts/BoNPAqR7.chunk.js.map +0 -1
- package/dist/scripts/Bod85SYB.chunk.js +0 -2
- package/dist/scripts/Bod85SYB.chunk.js.map +0 -1
- package/dist/scripts/Bp6Xb1zN.chunk.js +0 -2
- package/dist/scripts/Bp6Xb1zN.chunk.js.map +0 -1
- package/dist/scripts/Bx7TgL0C.chunk.js +0 -2
- package/dist/scripts/Bx7TgL0C.chunk.js.map +0 -1
- package/dist/scripts/C142tn-B.chunk.js +0 -2
- package/dist/scripts/C142tn-B.chunk.js.map +0 -1
- package/dist/scripts/C48ktK5n.chunk.js +0 -2
- package/dist/scripts/C48ktK5n.chunk.js.map +0 -1
- package/dist/scripts/C7F2pzz_.chunk.js +0 -2
- package/dist/scripts/C7F2pzz_.chunk.js.map +0 -1
- package/dist/scripts/CEf5yj2s.chunk.js +0 -2
- package/dist/scripts/CEf5yj2s.chunk.js.map +0 -1
- package/dist/scripts/CJ3oIQlG.chunk.js +0 -2
- package/dist/scripts/CJ3oIQlG.chunk.js.map +0 -1
- package/dist/scripts/CMmQbESn.chunk.js +0 -2
- package/dist/scripts/CMmQbESn.chunk.js.map +0 -1
- package/dist/scripts/CNicqYgW.chunk.js +0 -2
- package/dist/scripts/CNicqYgW.chunk.js.map +0 -1
- package/dist/scripts/CPvfK9ev.chunk.js +0 -2
- package/dist/scripts/CPvfK9ev.chunk.js.map +0 -1
- package/dist/scripts/CRROHAqo.chunk.js +0 -2
- package/dist/scripts/CRROHAqo.chunk.js.map +0 -1
- package/dist/scripts/CSqMWPmN.chunk.js +0 -15
- package/dist/scripts/CSqMWPmN.chunk.js.map +0 -1
- package/dist/scripts/CTcJ39n0.chunk.js +0 -2
- package/dist/scripts/CTcJ39n0.chunk.js.map +0 -1
- package/dist/scripts/CY_ZEi17.chunk.js +0 -2
- package/dist/scripts/CY_ZEi17.chunk.js.map +0 -1
- package/dist/scripts/CbSUH7Rz.chunk.js +0 -2
- package/dist/scripts/CbSUH7Rz.chunk.js.map +0 -1
- package/dist/scripts/CljRBNOX.chunk.js +0 -2
- package/dist/scripts/CljRBNOX.chunk.js.map +0 -1
- package/dist/scripts/Cmu1J2M7.chunk.js +0 -262
- package/dist/scripts/Cmu1J2M7.chunk.js.map +0 -1
- package/dist/scripts/CoCmlowG.chunk.js +0 -2
- package/dist/scripts/CoCmlowG.chunk.js.map +0 -1
- package/dist/scripts/CoRP6nOB.chunk.js +0 -50
- package/dist/scripts/CoRP6nOB.chunk.js.map +0 -1
- package/dist/scripts/CoksuIov.chunk.js +0 -2
- package/dist/scripts/CoksuIov.chunk.js.map +0 -1
- package/dist/scripts/CqaVyU15.chunk.js +0 -2
- package/dist/scripts/CqaVyU15.chunk.js.map +0 -1
- package/dist/scripts/Cu-wofRC.chunk.js +0 -2
- package/dist/scripts/Cu-wofRC.chunk.js.map +0 -1
- package/dist/scripts/CyXdP5dX.chunk.js +0 -2
- package/dist/scripts/CyXdP5dX.chunk.js.map +0 -1
- package/dist/scripts/CyjoA2ph.chunk.js +0 -2
- package/dist/scripts/CyjoA2ph.chunk.js.map +0 -1
- package/dist/scripts/D-worYR1.chunk.js +0 -2
- package/dist/scripts/D-worYR1.chunk.js.map +0 -1
- package/dist/scripts/D3oBEMC4.chunk.js +0 -2
- package/dist/scripts/D3oBEMC4.chunk.js.map +0 -1
- package/dist/scripts/D4oCPyUC.chunk.js +0 -2
- package/dist/scripts/D4oCPyUC.chunk.js.map +0 -1
- package/dist/scripts/D7WqZb79.chunk.js +0 -2
- package/dist/scripts/D7WqZb79.chunk.js.map +0 -1
- package/dist/scripts/D8Fb_Kn2.chunk.js +0 -2
- package/dist/scripts/D8Fb_Kn2.chunk.js.map +0 -1
- package/dist/scripts/DBQcPvhE.chunk.js +0 -362
- package/dist/scripts/DBQcPvhE.chunk.js.map +0 -1
- package/dist/scripts/DCGqs8ge.chunk.js +0 -2
- package/dist/scripts/DCGqs8ge.chunk.js.map +0 -1
- package/dist/scripts/DEmNtjut.chunk.js +0 -5
- package/dist/scripts/DEmNtjut.chunk.js.map +0 -1
- package/dist/scripts/DGoATT2r.chunk.js +0 -2
- package/dist/scripts/DGoATT2r.chunk.js.map +0 -1
- package/dist/scripts/DHEsU9tx.chunk.js +0 -2
- package/dist/scripts/DHEsU9tx.chunk.js.map +0 -1
- package/dist/scripts/DJZy0Onv.chunk.js +0 -2
- package/dist/scripts/DJZy0Onv.chunk.js.map +0 -1
- package/dist/scripts/DML3iinY.chunk.js +0 -2
- package/dist/scripts/DML3iinY.chunk.js.map +0 -1
- package/dist/scripts/DMM-ZwkR.chunk.js +0 -2
- package/dist/scripts/DMM-ZwkR.chunk.js.map +0 -1
- package/dist/scripts/DNaYQ0UN.chunk.js +0 -2
- package/dist/scripts/DNaYQ0UN.chunk.js.map +0 -1
- package/dist/scripts/DOLtnwZR.chunk.js +0 -2
- package/dist/scripts/DOLtnwZR.chunk.js.map +0 -1
- package/dist/scripts/DSljAm9x.chunk.js +0 -2
- package/dist/scripts/DSljAm9x.chunk.js.map +0 -1
- package/dist/scripts/DTFETpC1.chunk.js +0 -8
- package/dist/scripts/DTFETpC1.chunk.js.map +0 -1
- package/dist/scripts/DUHNiExb.chunk.js +0 -2
- package/dist/scripts/DUHNiExb.chunk.js.map +0 -1
- package/dist/scripts/DUeG7GBo.chunk.js +0 -2
- package/dist/scripts/DUeG7GBo.chunk.js.map +0 -1
- package/dist/scripts/DVAvC_9o.chunk.js +0 -2
- package/dist/scripts/DVAvC_9o.chunk.js.map +0 -1
- package/dist/scripts/DWdE-Ugg.chunk.js +0 -2
- package/dist/scripts/DWdE-Ugg.chunk.js.map +0 -1
- package/dist/scripts/DY6LRP1V.chunk.js +0 -2
- package/dist/scripts/DY6LRP1V.chunk.js.map +0 -1
- package/dist/scripts/DZNkb9vM.chunk.js +0 -2
- package/dist/scripts/DZNkb9vM.chunk.js.map +0 -1
- package/dist/scripts/Dbn7vKGF.chunk.js +0 -2
- package/dist/scripts/Dbn7vKGF.chunk.js.map +0 -1
- package/dist/scripts/Dd3UU4H5.chunk.js +0 -2
- package/dist/scripts/Dd3UU4H5.chunk.js.map +0 -1
- package/dist/scripts/De4UpC2g.chunk.js +0 -2
- package/dist/scripts/De4UpC2g.chunk.js.map +0 -1
- package/dist/scripts/DnK4C90o.chunk.js +0 -2
- package/dist/scripts/DnK4C90o.chunk.js.map +0 -1
- package/dist/scripts/DntTu0XK.chunk.js +0 -2
- package/dist/scripts/DntTu0XK.chunk.js.map +0 -1
- package/dist/scripts/DoZ1A_qG.chunk.js +0 -2
- package/dist/scripts/DoZ1A_qG.chunk.js.map +0 -1
- package/dist/scripts/DtnntJxI.chunk.js +0 -2
- package/dist/scripts/DtnntJxI.chunk.js.map +0 -1
- package/dist/scripts/Dvkaq1WU.chunk.js +0 -2
- package/dist/scripts/Dvkaq1WU.chunk.js.map +0 -1
- package/dist/scripts/DxYxjVpd.chunk.js +0 -3
- package/dist/scripts/DxYxjVpd.chunk.js.map +0 -1
- package/dist/scripts/DyDPUyS7.chunk.js +0 -2
- package/dist/scripts/DyDPUyS7.chunk.js.map +0 -1
- package/dist/scripts/FoPqmw-u.chunk.js +0 -2
- package/dist/scripts/FoPqmw-u.chunk.js.map +0 -1
- package/dist/scripts/JjH0M1sw.chunk.js +0 -2
- package/dist/scripts/JjH0M1sw.chunk.js.map +0 -1
- package/dist/scripts/Kj832An8.chunk.js +0 -2
- package/dist/scripts/Kj832An8.chunk.js.map +0 -1
- package/dist/scripts/QfCSKVqV.chunk.js +0 -2
- package/dist/scripts/QfCSKVqV.chunk.js.map +0 -1
- package/dist/scripts/VKh9EG4H.chunk.js +0 -2
- package/dist/scripts/VKh9EG4H.chunk.js.map +0 -1
- package/dist/scripts/W7C_DF7E.chunk.js +0 -2
- package/dist/scripts/W7C_DF7E.chunk.js.map +0 -1
- package/dist/scripts/ZgtgvdxM.chunk.js +0 -2
- package/dist/scripts/ZgtgvdxM.chunk.js.map +0 -1
- package/dist/scripts/_sYSSSUN.chunk.js +0 -2
- package/dist/scripts/_sYSSSUN.chunk.js.map +0 -1
- package/dist/scripts/app-CSgTTsBh.js +0 -215
- package/dist/scripts/app-CSgTTsBh.js.map +0 -1
- package/dist/scripts/b7w0ESDo.chunk.js +0 -2
- package/dist/scripts/b7w0ESDo.chunk.js.map +0 -1
- package/dist/scripts/e4J39NdV.chunk.js +0 -2
- package/dist/scripts/e4J39NdV.chunk.js.map +0 -1
- package/dist/scripts/gmJLp4bX.chunk.js +0 -2
- package/dist/scripts/gmJLp4bX.chunk.js.map +0 -1
- package/dist/scripts/h4x3qWQ8.chunk.js +0 -2
- package/dist/scripts/h4x3qWQ8.chunk.js.map +0 -1
- package/dist/scripts/hrQgoDjt.chunk.js +0 -2
- package/dist/scripts/hrQgoDjt.chunk.js.map +0 -1
- package/dist/scripts/llc4Kymn.chunk.js +0 -2
- package/dist/scripts/llc4Kymn.chunk.js.map +0 -1
- package/dist/scripts/pkzD5BEm.chunk.js +0 -2
- package/dist/scripts/pkzD5BEm.chunk.js.map +0 -1
- package/dist/scripts/uM6EBrIh.chunk.js +0 -2
- package/dist/scripts/uM6EBrIh.chunk.js.map +0 -1
- package/dist/scripts/vtfUwDER.chunk.js +0 -2
- package/dist/scripts/vtfUwDER.chunk.js.map +0 -1
- package/vite.config.ts +0 -6
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css","scripts/DTFETpC1.chunk.js","scripts/hrQgoDjt.chunk.js","scripts/pkzD5BEm.chunk.js","scripts/DGoATT2r.chunk.js","scripts/B2yKZtpc.chunk.js","scripts/BfpVRvba.chunk.js","css/CY0yvCW4.chunk.css","scripts/CJ3oIQlG.chunk.js","scripts/DVAvC_9o.chunk.js","scripts/CyXdP5dX.chunk.js","scripts/BklWIeq0.chunk.js","scripts/DHEsU9tx.chunk.js","scripts/DJZy0Onv.chunk.js","css/jbMisi9r.chunk.css","scripts/CbSUH7Rz.chunk.js","scripts/DZNkb9vM.chunk.js","scripts/6FhUNBfx.chunk.js","scripts/_sYSSSUN.chunk.js","scripts/B668bf5B.chunk.js","css/CifDVjr-.chunk.css","scripts/W7C_DF7E.chunk.js","scripts/Bd43MH9s.chunk.js","scripts/C142tn-B.chunk.js","css/C2R4QydJ.chunk.css","scripts/gmJLp4bX.chunk.js","css/BPdg7JW4.chunk.css","scripts/DY6LRP1V.chunk.js","scripts/DOLtnwZR.chunk.js","scripts/CMmQbESn.chunk.js","css/CC5F5C8O.chunk.css","css/CCsCPLDG.chunk.css","scripts/b7w0ESDo.chunk.js","css/C7XoyEPr.chunk.css","css/BIeUeS4h.chunk.css","scripts/C48ktK5n.chunk.js","scripts/B4NQ482n.chunk.js","scripts/-QmfGLIN.chunk.js","scripts/BHWbXJt3.chunk.js","css/DL_jCfRl.chunk.css","scripts/CPvfK9ev.chunk.js","scripts/CSqMWPmN.chunk.js","scripts/CY_ZEi17.chunk.js","scripts/BlDVEZsX.chunk.js","scripts/CljRBNOX.chunk.js","css/BiRz4h1c.chunk.css","css/DlOtoSz0.chunk.css","scripts/DtnntJxI.chunk.js","scripts/BU7zesZa.chunk.js","scripts/D4oCPyUC.chunk.js","scripts/DUeG7GBo.chunk.js","scripts/CoRP6nOB.chunk.js","scripts/Cu-wofRC.chunk.js","scripts/Bod85SYB.chunk.js","css/CrSv-tYo.chunk.css","scripts/DMM-ZwkR.chunk.js","scripts/Bx7TgL0C.chunk.js","scripts/h4x3qWQ8.chunk.js","scripts/CTcJ39n0.chunk.js","scripts/DEmNtjut.chunk.js","css/DI4l_5OJ.chunk.css","scripts/Kj832An8.chunk.js","css/O777zV0C.chunk.css","scripts/BhzF8k3V.chunk.js","scripts/Bp6Xb1zN.chunk.js","scripts/CqaVyU15.chunk.js","scripts/Dvkaq1WU.chunk.js","scripts/DxYxjVpd.chunk.js","scripts/BdoDNby6.chunk.js","css/DD13UQOa.chunk.css","scripts/Dbn7vKGF.chunk.js","scripts/DWdE-Ugg.chunk.js","css/CphXVlxY.chunk.css","scripts/QfCSKVqV.chunk.js","css/CM-cscAF.chunk.css","scripts/VKh9EG4H.chunk.js","scripts/DCGqs8ge.chunk.js","scripts/D-worYR1.chunk.js","scripts/DBQcPvhE.chunk.js","scripts/9o-MqpsS.chunk.js","scripts/BjlH_9a_.chunk.js","css/DnhNnDZN.chunk.css","scripts/BgY8Fu63.chunk.js","css/BDOTXlob.chunk.css","scripts/ZgtgvdxM.chunk.js","scripts/e4J39NdV.chunk.js","css/EnQ3abug.chunk.css","css/Bz8F9buU.chunk.css","scripts/DoZ1A_qG.chunk.js","scripts/CNicqYgW.chunk.js","scripts/BFoo6g4H.chunk.js","scripts/DNaYQ0UN.chunk.js","scripts/JjH0M1sw.chunk.js","scripts/D8Fb_Kn2.chunk.js","scripts/vtfUwDER.chunk.js","css/BBV1d-ZI.chunk.css","scripts/uM6EBrIh.chunk.js","scripts/BoNPAqR7.chunk.js","scripts/DML3iinY.chunk.js","scripts/D7WqZb79.chunk.js","scripts/DSljAm9x.chunk.js","scripts/BbAy6p0a.chunk.js","css/Ci6HCTb5.chunk.css","scripts/CRROHAqo.chunk.js","scripts/C7F2pzz_.chunk.js","css/w4TLT4f5.chunk.css","scripts/B2HNVRLF.chunk.js","scripts/DnK4C90o.chunk.js","css/B57G3PZD.chunk.css","css/DRlDmMhN.chunk.css","scripts/DntTu0XK.chunk.js","css/Bt3pBBLn.chunk.css","scripts/FoPqmw-u.chunk.js","scripts/DUHNiExb.chunk.js","css/DGyCCqtO.chunk.css","scripts/D3oBEMC4.chunk.js","scripts/CEf5yj2s.chunk.js","css/fs02hBfZ.chunk.css","scripts/BHdp6IzC.chunk.js","scripts/CyjoA2ph.chunk.js","css/CDiJwtuL.chunk.css","scripts/De4UpC2g.chunk.js","css/Dkh6sNpi.chunk.css","scripts/B4kbE-AG.chunk.js","scripts/DyDPUyS7.chunk.js","scripts/llc4Kymn.chunk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Oie=Object.defineProperty;var Iie=(e,t,r)=>t in e?Oie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Sn=(e,t,r)=>Iie(e,typeof t!="symbol"?t+"":t,r);function Hn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cLe(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 k_={exports:{}},sD;function Pie(){return sD||(sD=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(K,te,z){return Object.defineProperty(K,te,{value:z,enumerable:!0,configurable:!0,writable:!0}),K[te]}try{d({},"")}catch{d=function(te,z,ce){return te[z]=ce}}function h(K,te,z,ce){var Se=te&&te.prototype instanceof T?te:T,Le=Object.create(Se.prototype),Be=new ie(ce||[]);return Le._invoke=B(K,z,Be),Le}r.wrap=h;function p(K,te,z){try{return{type:"normal",arg:K.call(te,z)}}catch(ce){return{type:"throw",arg:ce}}}var m="suspendedStart",S="suspendedYield",E="executing",_="completed",w={};function T(){}function C(){}function x(){}var R={};d(R,u,function(){return this});var P=Object.getPrototypeOf,y=P&&P(P(ne([])));y&&y!==n&&i.call(y,u)&&(R=y);var N=x.prototype=T.prototype=Object.create(R);C.prototype=x,d(N,"constructor",x),d(x,"constructor",C),C.displayName=d(x,f,"GeneratorFunction");function $(K){["next","throw","return"].forEach(function(te){d(K,te,function(z){return this._invoke(te,z)})})}r.isGeneratorFunction=function(K){var te=typeof K=="function"&&K.constructor;return te?te===C||(te.displayName||te.name)==="GeneratorFunction":!1},r.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,x):(K.__proto__=x,d(K,f,"GeneratorFunction")),K.prototype=Object.create(N),K},r.awrap=function(K){return{__await:K}};function H(K,te){function z(Le,Be,Xe,oe){var O=p(K[Le],K,Be);if(O.type==="throw")oe(O.arg);else{var I=O.arg,M=I.value;return M&&typeof M=="object"&&i.call(M,"__await")?te.resolve(M.__await).then(function(k){z("next",k,Xe,oe)},function(k){z("throw",k,Xe,oe)}):te.resolve(M).then(function(k){I.value=k,Xe(I)},function(k){return z("throw",k,Xe,oe)})}}var ce;function Se(Le,Be){function Xe(){return new te(function(oe,O){z(Le,Be,oe,O)})}return ce=ce?ce.then(Xe,Xe):Xe()}this._invoke=Se}$(H.prototype),d(H.prototype,l,function(){return this}),r.AsyncIterator=H,r.async=function(K,te,z,ce,Se){Se===void 0&&(Se=Promise);var Le=new H(h(K,te,z,ce),Se);return r.isGeneratorFunction(te)?Le:Le.next().then(function(Be){return Be.done?Be.value:Le.next()})};function B(K,te,z){var ce=m;return function(Le,Be){if(ce===E)throw new Error("Generator is already running");if(ce===_){if(Le==="throw")throw Be;return pe()}for(z.method=Le,z.arg=Be;;){var Xe=z.delegate;if(Xe){var oe=W(Xe,z);if(oe){if(oe===w)continue;return oe}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(ce===m)throw ce=_,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);ce=E;var O=p(K,te,z);if(O.type==="normal"){if(ce=z.done?_:S,O.arg===w)continue;return{value:O.arg,done:z.done}}else O.type==="throw"&&(ce=_,z.method="throw",z.arg=O.arg)}}}function W(K,te){var z=K.iterator[te.method];if(z===o){if(te.delegate=null,te.method==="throw"){if(K.iterator.return&&(te.method="return",te.arg=o,W(K,te),te.method==="throw"))return w;te.method="throw",te.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var ce=p(z,K.iterator,te.arg);if(ce.type==="throw")return te.method="throw",te.arg=ce.arg,te.delegate=null,w;var Se=ce.arg;if(!Se)return te.method="throw",te.arg=new TypeError("iterator result is not an object"),te.delegate=null,w;if(Se.done)te[K.resultName]=Se.value,te.next=K.nextLoc,te.method!=="return"&&(te.method="next",te.arg=o);else return Se;return te.delegate=null,w}$(N),d(N,f,"Generator"),d(N,u,function(){return this}),d(N,"toString",function(){return"[object Generator]"});function X(K){var te={tryLoc:K[0]};1 in K&&(te.catchLoc=K[1]),2 in K&&(te.finallyLoc=K[2],te.afterLoc=K[3]),this.tryEntries.push(te)}function J(K){var te=K.completion||{};te.type="normal",delete te.arg,K.completion=te}function ie(K){this.tryEntries=[{tryLoc:"root"}],K.forEach(X,this),this.reset(!0)}r.keys=function(K){var te=[];for(var z in K)te.push(z);return te.reverse(),function ce(){for(;te.length;){var Se=te.pop();if(Se in K)return ce.value=Se,ce.done=!1,ce}return ce.done=!0,ce}};function ne(K){if(K){var te=K[u];if(te)return te.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var z=-1,ce=function Se(){for(;++z<K.length;)if(i.call(K,z))return Se.value=K[z],Se.done=!1,Se;return Se.value=o,Se.done=!0,Se};return ce.next=ce}}return{next:pe}}r.values=ne;function pe(){return{value:o,done:!0}}return ie.prototype={constructor:ie,reset:function(K){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(J),!K)for(var te in this)te.charAt(0)==="t"&&i.call(this,te)&&!isNaN(+te.slice(1))&&(this[te]=o)},stop:function(){this.done=!0;var K=this.tryEntries[0],te=K.completion;if(te.type==="throw")throw te.arg;return this.rval},dispatchException:function(K){if(this.done)throw K;var te=this;function z(oe,O){return Le.type="throw",Le.arg=K,te.next=oe,O&&(te.method="next",te.arg=o),!!O}for(var ce=this.tryEntries.length-1;ce>=0;--ce){var Se=this.tryEntries[ce],Le=Se.completion;if(Se.tryLoc==="root")return z("end");if(Se.tryLoc<=this.prev){var Be=i.call(Se,"catchLoc"),Xe=i.call(Se,"finallyLoc");if(Be&&Xe){if(this.prev<Se.catchLoc)return z(Se.catchLoc,!0);if(this.prev<Se.finallyLoc)return z(Se.finallyLoc)}else if(Be){if(this.prev<Se.catchLoc)return z(Se.catchLoc,!0)}else if(Xe){if(this.prev<Se.finallyLoc)return z(Se.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(K,te){for(var z=this.tryEntries.length-1;z>=0;--z){var ce=this.tryEntries[z];if(ce.tryLoc<=this.prev&&i.call(ce,"finallyLoc")&&this.prev<ce.finallyLoc){var Se=ce;break}}Se&&(K==="break"||K==="continue")&&Se.tryLoc<=te&&te<=Se.finallyLoc&&(Se=null);var Le=Se?Se.completion:{};return Le.type=K,Le.arg=te,Se?(this.method="next",this.next=Se.finallyLoc,w):this.complete(Le)},complete:function(K,te){if(K.type==="throw")throw K.arg;return K.type==="break"||K.type==="continue"?this.next=K.arg:K.type==="return"?(this.rval=this.arg=K.arg,this.method="return",this.next="end"):K.type==="normal"&&te&&(this.next=te),w},finish:function(K){for(var te=this.tryEntries.length-1;te>=0;--te){var z=this.tryEntries[te];if(z.finallyLoc===K)return this.complete(z.completion,z.afterLoc),J(z),w}},catch:function(K){for(var te=this.tryEntries.length-1;te>=0;--te){var z=this.tryEntries[te];if(z.tryLoc===K){var ce=z.completion;if(ce.type==="throw"){var Se=ce.arg;J(z)}return Se}}throw new Error("illegal catch attempt")},delegateYield:function(K,te,z){return this.delegate={iterator:ne(K),resultName:te,nextLoc:z},this.method==="next"&&(this.arg=o),w}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(k_)),k_.exports}Pie();var uD={},lD={},Ud,cD;function Zt(){if(cD)return Ud;cD=1;var e=function(t){return t&&t.Math===Math&&t};return Ud=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof Ud=="object"&&Ud)||(function(){return this})()||Function("return this")(),Ud}var D_={},L_,fD;function qt(){return fD||(fD=1,L_=function(e){try{return!!e()}catch{return!0}}),L_}var N_,dD;function Rr(){if(dD)return N_;dD=1;var e=qt();return N_=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),N_}var M_,hD;function Lh(){if(hD)return M_;hD=1;var e=qt();return M_=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),M_}var $_,pD;function pr(){if(pD)return $_;pD=1;var e=Lh(),t=Function.prototype.call;return $_=e?t.bind(t):function(){return t.apply(t,arguments)},$_}var F_={},vD;function Hg(){if(vD)return F_;vD=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return F_.f=r?function(i){var o=t(this,i);return!!o&&o.enumerable}:e,F_}var j_,gD;function Co(){return gD||(gD=1,j_=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),j_}var U_,mD;function zt(){if(mD)return U_;mD=1;var e=Lh(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return U_=e?n:function(i){return function(){return r.apply(i,arguments)}},U_}var q_,yD;function wa(){if(yD)return q_;yD=1;var e=zt(),t=e({}.toString),r=e("".slice);return q_=function(n){return r(t(n),8,-1)},q_}var B_,_D;function jf(){if(_D)return B_;_D=1;var e=zt(),t=qt(),r=wa(),n=Object,i=e("".split);return B_=t(function(){return!n("z").propertyIsEnumerable(0)})?function(o){return r(o)==="String"?i(o,""):n(o)}:n,B_}var V_,ED;function _u(){return ED||(ED=1,V_=function(e){return e==null}),V_}var H_,SD;function fi(){if(SD)return H_;SD=1;var e=_u(),t=TypeError;return H_=function(r){if(e(r))throw new t("Can't call method on "+r);return r},H_}var z_,wD;function Ji(){if(wD)return z_;wD=1;var e=jf(),t=fi();return z_=function(r){return e(t(r))},z_}var W_,bD;function ln(){if(bD)return W_;bD=1;var e=typeof document=="object"&&document.all;return W_=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},W_}var G_,TD;function qr(){if(TD)return G_;TD=1;var e=ln();return G_=function(t){return typeof t=="object"?t!==null:e(t)},G_}var K_,AD;function on(){if(AD)return K_;AD=1;var e=Zt(),t=ln(),r=function(n){return t(n)?n:void 0};return K_=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},K_}var Y_,RD;function Ua(){if(RD)return Y_;RD=1;var e=zt();return Y_=e({}.isPrototypeOf),Y_}var X_,xD;function Us(){if(xD)return X_;xD=1;var e=Zt(),t=e.navigator,r=t&&t.userAgent;return X_=r?String(r):"",X_}var Q_,CD;function qs(){if(CD)return Q_;CD=1;var e=Zt(),t=Us(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,o=i&&i.v8,a,u;return o&&(a=o.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&t&&(a=t.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=t.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),Q_=u,Q_}var J_,OD;function Uf(){if(OD)return J_;OD=1;var e=qs(),t=qt(),r=Zt(),n=r.String;return J_=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),J_}var Z_,ID;function oX(){if(ID)return Z_;ID=1;var e=Uf();return Z_=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Z_}var eE,PD;function sc(){if(PD)return eE;PD=1;var e=on(),t=ln(),r=Ua(),n=oX(),i=Object;return eE=n?function(o){return typeof o=="symbol"}:function(o){var a=e("Symbol");return t(a)&&r(a.prototype,i(o))},eE}var tE,kD;function uc(){if(kD)return tE;kD=1;var e=String;return tE=function(t){try{return e(t)}catch{return"Object"}},tE}var rE,DD;function sn(){if(DD)return rE;DD=1;var e=ln(),t=uc(),r=TypeError;return rE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},rE}var nE,LD;function oa(){if(LD)return nE;LD=1;var e=sn(),t=_u();return nE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},nE}var iE,ND;function sX(){if(ND)return iE;ND=1;var e=pr(),t=ln(),r=qr(),n=TypeError;return iE=function(i,o){var a,u;if(o==="string"&&t(a=i.toString)&&!r(u=e(a,i))||t(a=i.valueOf)&&!r(u=e(a,i))||o!=="string"&&t(a=i.toString)&&!r(u=e(a,i)))return u;throw new n("Can't convert object to primitive value")},iE}var aE={exports:{}},oE,MD;function bn(){return MD||(MD=1,oE=!1),oE}var sE,$D;function IC(){if($D)return sE;$D=1;var e=Zt(),t=Object.defineProperty;return sE=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},sE}var FD;function zg(){if(FD)return aE.exports;FD=1;var e=bn(),t=Zt(),r=IC(),n="__core-js_shared__",i=aE.exports=t[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.45.1",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"}),aE.exports}var uE,jD;function qf(){if(jD)return uE;jD=1;var e=zg();return uE=function(t,r){return e[t]||(e[t]=r||{})},uE}var lE,UD;function yn(){if(UD)return lE;UD=1;var e=fi(),t=Object;return lE=function(r){return t(e(r))},lE}var cE,qD;function un(){if(qD)return cE;qD=1;var e=zt(),t=yn(),r=e({}.hasOwnProperty);return cE=Object.hasOwn||function(i,o){return r(t(i),o)},cE}var fE,BD;function Bf(){if(BD)return fE;BD=1;var e=zt(),t=0,r=Math.random(),n=e(1.1.toString);return fE=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},fE}var dE,VD;function Br(){if(VD)return dE;VD=1;var e=Zt(),t=qf(),r=un(),n=Bf(),i=Uf(),o=oX(),a=e.Symbol,u=t("wks"),l=o?a.for||a:a&&a.withoutSetter||n;return dE=function(f){return r(u,f)||(u[f]=i&&r(a,f)?a[f]:l("Symbol."+f)),u[f]},dE}var hE,HD;function Wg(){if(HD)return hE;HD=1;var e=pr(),t=qr(),r=sc(),n=oa(),i=sX(),o=Br(),a=TypeError,u=o("toPrimitive");return hE=function(l,f){if(!t(l)||r(l))return l;var d=n(l,u),h;if(d){if(f===void 0&&(f="default"),h=e(d,l,f),!t(h)||r(h))return h;throw new a("Can't convert object to primitive value")}return f===void 0&&(f="number"),i(l,f)},hE}var pE,zD;function ul(){if(zD)return pE;zD=1;var e=Wg(),t=sc();return pE=function(r){var n=e(r,"string");return t(n)?n:n+""},pE}var vE,WD;function Gg(){if(WD)return vE;WD=1;var e=Zt(),t=qr(),r=e.document,n=t(r)&&t(r.createElement);return vE=function(i){return n?r.createElement(i):{}},vE}var gE,GD;function uX(){if(GD)return gE;GD=1;var e=Rr(),t=qt(),r=Gg();return gE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),gE}var KD;function sa(){if(KD)return D_;KD=1;var e=Rr(),t=pr(),r=Hg(),n=Co(),i=Ji(),o=ul(),a=un(),u=uX(),l=Object.getOwnPropertyDescriptor;return D_.f=e?l:function(d,h){if(d=i(d),h=o(h),u)try{return l(d,h)}catch{}if(a(d,h))return n(!t(r.f,d,h),d[h])},D_}var mE={},yE,YD;function lX(){if(YD)return yE;YD=1;var e=Rr(),t=qt();return yE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),yE}var _E,XD;function yr(){if(XD)return _E;XD=1;var e=qr(),t=String,r=TypeError;return _E=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},_E}var QD;function si(){if(QD)return mE;QD=1;var e=Rr(),t=uX(),r=lX(),n=yr(),i=ul(),o=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l="enumerable",f="configurable",d="writable";return mE.f=e?r?function(p,m,S){if(n(p),m=i(m),n(S),typeof p=="function"&&m==="prototype"&&"value"in S&&d in S&&!S[d]){var E=u(p,m);E&&E[d]&&(p[m]=S.value,S={configurable:f in S?S[f]:E[f],enumerable:l in S?S[l]:E[l],writable:!1})}return a(p,m,S)}:a:function(p,m,S){if(n(p),m=i(m),n(S),t)try{return a(p,m,S)}catch{}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(p[m]=S.value),p},mE}var EE,JD;function ua(){if(JD)return EE;JD=1;var e=Rr(),t=si(),r=Co();return EE=e?function(n,i,o){return t.f(n,i,r(1,o))}:function(n,i,o){return n[i]=o,n},EE}var SE={exports:{}},wE,ZD;function Vf(){if(ZD)return wE;ZD=1;var e=Rr(),t=un(),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 wE={EXISTS:i,PROPER:o,CONFIGURABLE:a},wE}var bE,eL;function PC(){if(eL)return bE;eL=1;var e=zt(),t=ln(),r=zg(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),bE=r.inspectSource,bE}var TE,tL;function cX(){if(tL)return TE;tL=1;var e=Zt(),t=ln(),r=e.WeakMap;return TE=t(r)&&/native code/.test(String(r)),TE}var AE,rL;function Kg(){if(rL)return AE;rL=1;var e=qf(),t=Bf(),r=e("keys");return AE=function(n){return r[n]||(r[n]=t(n))},AE}var RE,nL;function Nh(){return nL||(nL=1,RE={}),RE}var xE,iL;function Ei(){if(iL)return xE;iL=1;var e=cX(),t=Zt(),r=qr(),n=ua(),i=un(),o=zg(),a=Kg(),u=Nh(),l="Object already initialized",f=t.TypeError,d=t.WeakMap,h,p,m,S=function(T){return m(T)?p(T):h(T,{})},E=function(T){return function(C){var x;if(!r(C)||(x=p(C)).type!==T)throw new f("Incompatible receiver, "+T+" required");return x}};if(e||o.state){var _=o.state||(o.state=new d);_.get=_.get,_.has=_.has,_.set=_.set,h=function(T,C){if(_.has(T))throw new f(l);return C.facade=T,_.set(T,C),C},p=function(T){return _.get(T)||{}},m=function(T){return _.has(T)}}else{var w=a("state");u[w]=!0,h=function(T,C){if(i(T,w))throw new f(l);return C.facade=T,n(T,w,C),C},p=function(T){return i(T,w)?T[w]:{}},m=function(T){return i(T,w)}}return xE={set:h,get:p,has:m,enforce:S,getterFor:E},xE}var aL;function kC(){if(aL)return SE.exports;aL=1;var e=zt(),t=qt(),r=ln(),n=un(),i=Rr(),o=Vf().CONFIGURABLE,a=PC(),u=Ei(),l=u.enforce,f=u.get,d=String,h=Object.defineProperty,p=e("".slice),m=e("".replace),S=e([].join),E=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),_=String(String).split("String"),w=SE.exports=function(T,C,x){p(d(C),0,7)==="Symbol("&&(C="["+m(d(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(C="get "+C),x&&x.setter&&(C="set "+C),(!n(T,"name")||o&&T.name!==C)&&(i?h(T,"name",{value:C,configurable:!0}):T.name=C),E&&x&&n(x,"arity")&&T.length!==x.arity&&h(T,"length",{value:x.arity});try{x&&n(x,"constructor")&&x.constructor?i&&h(T,"prototype",{writable:!1}):T.prototype&&(T.prototype=void 0)}catch{}var R=l(T);return n(R,"source")||(R.source=S(_,typeof C=="string"?C:"")),T};return Function.prototype.toString=w(function(){return r(this)&&f(this).source||a(this)},"toString"),SE.exports}var CE,oL;function $n(){if(oL)return CE;oL=1;var e=ln(),t=si(),r=kC(),n=IC();return CE=function(i,o,a,u){u||(u={});var l=u.enumerable,f=u.name!==void 0?u.name:o;if(e(a)&&r(a,f,u),u.global)l?i[o]=a:n(o,a);else{try{u.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=a:t.f(i,o,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return i},CE}var OE={},IE,sL;function fX(){if(sL)return IE;sL=1;var e=Math.ceil,t=Math.floor;return IE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},IE}var PE,uL;function Ai(){if(uL)return PE;uL=1;var e=fX();return PE=function(t){var r=+t;return r!==r||r===0?0:e(r)},PE}var kE,lL;function Eu(){if(lL)return kE;lL=1;var e=Ai(),t=Math.max,r=Math.min;return kE=function(n,i){var o=e(n);return o<0?t(o+i,0):r(o,i)},kE}var DE,cL;function Oo(){if(cL)return DE;cL=1;var e=Ai(),t=Math.min;return DE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},DE}var LE,fL;function zn(){if(fL)return LE;fL=1;var e=Oo();return LE=function(t){return e(t.length)},LE}var NE,dL;function Mh(){if(dL)return NE;dL=1;var e=Ji(),t=Eu(),r=zn(),n=function(i){return function(o,a,u){var l=e(o),f=r(l);if(f===0)return!i&&-1;var d=t(u,f),h;if(i&&a!==a){for(;f>d;)if(h=l[d++],h!==h)return!0}else for(;f>d;d++)if((i||d in l)&&l[d]===a)return i||d||0;return!i&&-1}};return NE={includes:n(!0),indexOf:n(!1)},NE}var ME,hL;function dX(){if(hL)return ME;hL=1;var e=zt(),t=un(),r=Ji(),n=Mh().indexOf,i=Nh(),o=e([].push);return ME=function(a,u){var l=r(a),f=0,d=[],h;for(h in l)!t(i,h)&&t(l,h)&&o(d,h);for(;u.length>f;)t(l,h=u[f++])&&(~n(d,h)||o(d,h));return d},ME}var $E,pL;function DC(){return pL||(pL=1,$E=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),$E}var vL;function lc(){if(vL)return OE;vL=1;var e=dX(),t=DC(),r=t.concat("length","prototype");return OE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},OE}var FE={},gL;function Yg(){return gL||(gL=1,FE.f=Object.getOwnPropertySymbols),FE}var jE,mL;function LC(){if(mL)return jE;mL=1;var e=on(),t=zt(),r=lc(),n=Yg(),i=yr(),o=t([].concat);return jE=e("Reflect","ownKeys")||function(u){var l=r.f(i(u)),f=n.f;return f?o(l,f(u)):l},jE}var UE,yL;function Hf(){if(yL)return UE;yL=1;var e=un(),t=LC(),r=sa(),n=si();return UE=function(i,o,a){for(var u=t(o),l=n.f,f=r.f,d=0;d<u.length;d++){var h=u[d];!e(i,h)&&!(a&&e(a,h))&&l(i,h,f(o,h))}},UE}var qE,_L;function $h(){if(_L)return qE;_L=1;var e=qt(),t=ln(),r=/#|\.prototype\./,n=function(l,f){var d=o[i(l)];return d===u?!0:d===a?!1:t(f)?e(f):!!f},i=n.normalize=function(l){return String(l).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";return qE=n,qE}var BE,EL;function $e(){if(EL)return BE;EL=1;var e=Zt(),t=sa().f,r=ua(),n=$n(),i=IC(),o=Hf(),a=$h();return BE=function(u,l){var f=u.target,d=u.global,h=u.stat,p,m,S,E,_,w;if(d?m=e:h?m=e[f]||i(f,{}):m=e[f]&&e[f].prototype,m)for(S in l){if(_=l[S],u.dontCallGetSet?(w=t(m,S),E=w&&w.value):E=m[S],p=a(d?S:f+(h?".":"#")+S,u.forced),!p&&E!==void 0){if(typeof _==typeof E)continue;o(_,E)}(u.sham||E&&E.sham)&&r(_,"sham",!0),n(m,S,_,u)}},BE}var VE,SL;function NC(){if(SL)return VE;SL=1;var e=Br(),t=e("toStringTag"),r={};return r[t]="z",VE=String(r)==="[object z]",VE}var HE,wL;function Io(){if(wL)return HE;wL=1;var e=NC(),t=ln(),r=wa(),n=Br(),i=n("toStringTag"),o=Object,a=r((function(){return arguments})())==="Arguments",u=function(l,f){try{return l[f]}catch{}};return HE=e?r:function(l){var f,d,h;return l===void 0?"Undefined":l===null?"Null":typeof(d=u(f=o(l),i))=="string"?d:a?r(f):(h=r(f))==="Object"&&t(f.callee)?"Arguments":h},HE}var zE,bL;function Yr(){if(bL)return zE;bL=1;var e=Io(),t=String;return zE=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},zE}var WE={},GE,TL;function Fh(){if(TL)return GE;TL=1;var e=dX(),t=DC();return GE=Object.keys||function(n){return e(n,t)},GE}var AL;function MC(){if(AL)return WE;AL=1;var e=Rr(),t=lX(),r=si(),n=yr(),i=Ji(),o=Fh();return WE.f=e&&!t?Object.defineProperties:function(u,l){n(u);for(var f=i(l),d=o(l),h=d.length,p=0,m;h>p;)r.f(u,m=d[p++],f[m]);return u},WE}var KE,RL;function hX(){if(RL)return KE;RL=1;var e=on();return KE=e("document","documentElement"),KE}var YE,xL;function la(){if(xL)return YE;xL=1;var e=yr(),t=MC(),r=DC(),n=Nh(),i=hX(),o=Gg(),a=Kg(),u=">",l="<",f="prototype",d="script",h=a("IE_PROTO"),p=function(){},m=function(T){return l+d+u+T+l+"/"+d+u},S=function(T){T.write(m("")),T.close();var C=T.parentWindow.Object;return T=null,C},E=function(){var T=o("iframe"),C="java"+d+":",x;return T.style.display="none",i.appendChild(T),T.src=String(C),x=T.contentWindow.document,x.open(),x.write(m("document.F=Object")),x.close(),x.F},_,w=function(){try{_=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&_?S(_):E():S(_);for(var T=r.length;T--;)delete w[f][r[T]];return w()};return n[h]=!0,YE=Object.create||function(C,x){var R;return C!==null?(p[f]=e(C),R=new p,p[f]=null,R[h]=C):R=w(),x===void 0?R:t.f(R,x)},YE}var XE={},QE,CL;function rs(){if(CL)return QE;CL=1;var e=zt();return QE=e([].slice),QE}var OL;function $C(){if(OL)return XE;OL=1;var e=wa(),t=Ji(),r=lc().f,n=rs(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(a){try{return r(a)}catch{return n(i)}};return XE.f=function(u){return i&&e(u)==="Window"?o(u):r(t(u))},XE}var JE,IL;function Pi(){if(IL)return JE;IL=1;var e=kC(),t=si();return JE=function(r,n,i){return i.get&&e(i.get,n,{getter:!0}),i.set&&e(i.set,n,{setter:!0}),t.f(r,n,i)},JE}var ZE={},PL;function pX(){if(PL)return ZE;PL=1;var e=Br();return ZE.f=e,ZE}var eS,kL;function Xg(){if(kL)return eS;kL=1;var e=Zt();return eS=e,eS}var tS,DL;function ba(){if(DL)return tS;DL=1;var e=Xg(),t=un(),r=pX(),n=si().f;return tS=function(i){var o=e.Symbol||(e.Symbol={});t(o,i)||n(o,i,{value:r.f(i)})},tS}var rS,LL;function vX(){if(LL)return rS;LL=1;var e=pr(),t=on(),r=Br(),n=$n();return rS=function(){var i=t("Symbol"),o=i&&i.prototype,a=o&&o.valueOf,u=r("toPrimitive");o&&!o[u]&&n(o,u,function(l){return e(a,this)},{arity:1})},rS}var nS,NL;function oo(){if(NL)return nS;NL=1;var e=si().f,t=un(),r=Br(),n=r("toStringTag");return nS=function(i,o,a){i&&!a&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:o})},nS}var iS,ML;function cc(){if(ML)return iS;ML=1;var e=wa(),t=zt();return iS=function(r){if(e(r)==="Function")return t(r)},iS}var aS,$L;function Po(){if($L)return aS;$L=1;var e=cc(),t=sn(),r=Lh(),n=e(e.bind);return aS=function(i,o){return t(i),o===void 0?i:r?n(i,o):function(){return i.apply(o,arguments)}},aS}var oS,FL;function ll(){if(FL)return oS;FL=1;var e=wa();return oS=Array.isArray||function(r){return e(r)==="Array"},oS}var sS,jL;function fc(){if(jL)return sS;jL=1;var e=zt(),t=qt(),r=ln(),n=Io(),i=on(),o=PC(),a=function(){},u=i("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=e(l.exec),d=!l.test(a),h=function(S){if(!r(S))return!1;try{return u(a,[],S),!0}catch{return!1}},p=function(S){if(!r(S))return!1;switch(n(S)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(l,o(S))}catch{return!0}};return p.sham=!0,sS=!u||t(function(){var m;return h(h.call)||!h(Object)||!h(function(){m=!0})||m})?p:h,sS}var uS,UL;function kie(){if(UL)return uS;UL=1;var e=ll(),t=fc(),r=qr(),n=Br(),i=n("species"),o=Array;return uS=function(a){var u;return e(a)&&(u=a.constructor,t(u)&&(u===o||e(u.prototype))?u=void 0:r(u)&&(u=u[i],u===null&&(u=void 0))),u===void 0?o:u},uS}var lS,qL;function jh(){if(qL)return lS;qL=1;var e=kie();return lS=function(t,r){return new(e(t))(r===0?0:r)},lS}var cS,BL;function ca(){if(BL)return cS;BL=1;var e=Po(),t=zt(),r=jf(),n=yn(),i=zn(),o=jh(),a=t([].push),u=function(l){var f=l===1,d=l===2,h=l===3,p=l===4,m=l===6,S=l===7,E=l===5||m;return function(_,w,T,C){for(var x=n(_),R=r(x),P=i(R),y=e(w,T),N=0,$=C||o,H=f?$(_,P):d||S?$(_,0):void 0,B,W;P>N;N++)if((E||N in R)&&(B=R[N],W=y(B,N,x),l))if(f)H[N]=W;else if(W)switch(l){case 3:return!0;case 5:return B;case 6:return N;case 2:a(H,B)}else switch(l){case 4:return!1;case 7:a(H,B)}return m?-1:h||p?p:H}};return cS={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)},cS}var VL;function Die(){if(VL)return lD;VL=1;var e=$e(),t=Zt(),r=pr(),n=zt(),i=bn(),o=Rr(),a=Uf(),u=qt(),l=un(),f=Ua(),d=yr(),h=Ji(),p=ul(),m=Yr(),S=Co(),E=la(),_=Fh(),w=lc(),T=$C(),C=Yg(),x=sa(),R=si(),P=MC(),y=Hg(),N=$n(),$=Pi(),H=qf(),B=Kg(),W=Nh(),X=Bf(),J=Br(),ie=pX(),ne=ba(),pe=vX(),K=oo(),te=Ei(),z=ca().forEach,ce=B("hidden"),Se="Symbol",Le="prototype",Be=te.set,Xe=te.getterFor(Se),oe=Object[Le],O=t.Symbol,I=O&&O[Le],M=t.RangeError,k=t.TypeError,U=t.QObject,Y=x.f,ae=R.f,Ee=T.f,me=y.f,Ce=n([].push),be=H("symbols"),Ie=H("op-symbols"),Fe=H("wks"),ve=!U||!U[Le]||!U[Le].findChild,_e=function(Rt,Et,st){var ft=Y(oe,Et);ft&&delete oe[Et],ae(Rt,Et,st),ft&&Rt!==oe&&ae(oe,Et,ft)},we=o&&u(function(){return E(ae({},"a",{get:function(){return ae(this,"a",{value:7}).a}})).a!==7})?_e:ae,ke=function(Rt,Et){var st=be[Rt]=E(I);return Be(st,{type:Se,tag:Rt,description:Et}),o||(st.description=Et),st},qe=function(Et,st,ft){Et===oe&&qe(Ie,st,ft),d(Et);var mt=p(st);return d(ft),l(be,mt)?(ft.enumerable?(l(Et,ce)&&Et[ce][mt]&&(Et[ce][mt]=!1),ft=E(ft,{enumerable:S(0,!1)})):(l(Et,ce)||ae(Et,ce,S(1,E(null))),Et[ce][mt]=!0),we(Et,mt,ft)):ae(Et,mt,ft)},Ue=function(Et,st){d(Et);var ft=h(st),mt=_(ft).concat(et(ft));return z(mt,function(Qt){(!o||r(ct,ft,Qt))&&qe(Et,Qt,ft[Qt])}),Et},We=function(Et,st){return st===void 0?E(Et):Ue(E(Et),st)},ct=function(Et){var st=p(Et),ft=r(me,this,st);return this===oe&&l(be,st)&&!l(Ie,st)?!1:ft||!l(this,st)||!l(be,st)||l(this,ce)&&this[ce][st]?ft:!0},jt=function(Et,st){var ft=h(Et),mt=p(st);if(!(ft===oe&&l(be,mt)&&!l(Ie,mt))){var Qt=Y(ft,mt);return Qt&&l(be,mt)&&!(l(ft,ce)&&ft[ce][mt])&&(Qt.enumerable=!0),Qt}},Gt=function(Et){var st=Ee(h(Et)),ft=[];return z(st,function(mt){!l(be,mt)&&!l(W,mt)&&Ce(ft,mt)}),ft},et=function(Rt){var Et=Rt===oe,st=Ee(Et?Ie:h(Rt)),ft=[];return z(st,function(mt){l(be,mt)&&(!Et||l(oe,mt))&&Ce(ft,be[mt])}),ft};return a||(O=function(){if(f(I,this))throw new k("Symbol is not a constructor");var Et=!arguments.length||arguments[0]===void 0?void 0:m(arguments[0]),st=X(Et),ft=function(mt){var Qt=this===void 0?t:this;Qt===oe&&r(ft,Ie,mt),l(Qt,ce)&&l(Qt[ce],st)&&(Qt[ce][st]=!1);var Nt=S(1,mt);try{we(Qt,st,Nt)}catch(Ae){if(!(Ae instanceof M))throw Ae;_e(Qt,st,Nt)}};return o&&ve&&we(oe,st,{configurable:!0,set:ft}),ke(st,Et)},I=O[Le],N(I,"toString",function(){return Xe(this).tag}),N(O,"withoutSetter",function(Rt){return ke(X(Rt),Rt)}),y.f=ct,R.f=qe,P.f=Ue,x.f=jt,w.f=T.f=Gt,C.f=et,ie.f=function(Rt){return ke(J(Rt),Rt)},o&&($(I,"description",{configurable:!0,get:function(){return Xe(this).description}}),i||N(oe,"propertyIsEnumerable",ct,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!a,sham:!a},{Symbol:O}),z(_(Fe),function(Rt){ne(Rt)}),e({target:Se,stat:!0,forced:!a},{useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),e({target:"Object",stat:!0,forced:!a,sham:!o},{create:We,defineProperty:qe,defineProperties:Ue,getOwnPropertyDescriptor:jt}),e({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Gt}),pe(),K(O,Se),W[ce]=!0,lD}var HL={},fS,zL;function gX(){if(zL)return fS;zL=1;var e=Uf();return fS=e&&!!Symbol.for&&!!Symbol.keyFor,fS}var WL;function Lie(){if(WL)return HL;WL=1;var e=$e(),t=on(),r=un(),n=Yr(),i=qf(),o=gX(),a=i("string-to-symbol-registry"),u=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!o},{for:function(l){var f=n(l);if(r(a,f))return a[f];var d=t("Symbol")(f);return a[f]=d,u[d]=f,d}}),HL}var GL={},KL;function Nie(){if(KL)return GL;KL=1;var e=$e(),t=un(),r=sc(),n=uc(),i=qf(),o=gX(),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]}}),GL}var YL={},dS,XL;function ko(){if(XL)return dS;XL=1;var e=Lh(),t=Function.prototype,r=t.apply,n=t.call;return dS=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),dS}var hS,QL;function Mie(){if(QL)return hS;QL=1;var e=zt(),t=ll(),r=ln(),n=wa(),i=Yr(),o=e([].push);return hS=function(a){if(r(a))return a;if(t(a)){for(var u=a.length,l=[],f=0;f<u;f++){var d=a[f];typeof d=="string"?o(l,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&o(l,i(d))}var h=l.length,p=!0;return function(m,S){if(p)return p=!1,S;if(t(this))return S;for(var E=0;E<h;E++)if(l[E]===m)return S}}},hS}var JL;function mX(){if(JL)return YL;JL=1;var e=$e(),t=on(),r=ko(),n=pr(),i=zt(),o=qt(),a=ln(),u=sc(),l=rs(),f=Mie(),d=Uf(),h=String,p=t("JSON","stringify"),m=i(/./.exec),S=i("".charAt),E=i("".charCodeAt),_=i("".replace),w=i(1.1.toString),T=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,R=!d||o(function(){var $=t("Symbol")("stringify detection");return p([$])!=="[null]"||p({a:$})!=="{}"||p(Object($))!=="{}"}),P=o(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),y=function($,H){var B=l(arguments),W=f(H);if(!(!a(W)&&($===void 0||u($))))return B[1]=function(X,J){if(a(W)&&(J=n(W,this,h(X),J)),!u(J))return J},r(p,null,B)},N=function($,H,B){var W=S(B,H-1),X=S(B,H+1);return m(C,$)&&!m(x,X)||m(x,$)&&!m(C,W)?"\\u"+w(E($,0),16):$};return p&&e({target:"JSON",stat:!0,arity:3,forced:R||P},{stringify:function(H,B,W){var X=l(arguments),J=r(R?y:p,null,X);return P&&typeof J=="string"?_(J,T,N):J}}),YL}var ZL={},eN;function $ie(){if(eN)return ZL;eN=1;var e=$e(),t=Uf(),r=qt(),n=Yg(),i=yn(),o=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:o},{getOwnPropertySymbols:function(u){var l=n.f;return l?l(i(u)):[]}}),ZL}var tN;function Fie(){return tN||(tN=1,Die(),Lie(),Nie(),mX(),$ie()),uD}var rN={},nN;function jie(){if(nN)return rN;nN=1;var e=$e(),t=Rr(),r=Zt(),n=zt(),i=un(),o=ln(),a=Ua(),u=Yr(),l=Pi(),f=Hf(),d=r.Symbol,h=d&&d.prototype;if(t&&o(d)&&(!("description"in h)||d().description!==void 0)){var p={},m=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),P=a(h,this)?new d(R):R===void 0?d():d(R);return R===""&&(p[P]=!0),P};f(m,d),m.prototype=h,h.constructor=m;var S=String(d("description detection"))==="Symbol(description detection)",E=n(h.valueOf),_=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,T=n("".replace),C=n("".slice);l(h,"description",{configurable:!0,get:function(){var R=E(this);if(i(p,R))return"";var P=_(R),y=S?C(P,7,-1):T(P,w,"$1");return y===""?void 0:y}}),e({global:!0,constructor:!0,forced:!0},{Symbol:m})}return rN}var iN={},aN;function Uie(){if(aN)return iN;aN=1;var e=Zt(),t=ba(),r=si().f,n=sa().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 iN}var oN={},sN;function qie(){if(sN)return oN;sN=1;var e=ba();return e("asyncIterator"),oN}var uN={},lN;function Bie(){if(lN)return uN;lN=1;var e=Zt(),t=ba(),r=si().f,n=sa().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 uN}var cN={},fN;function Vie(){if(fN)return cN;fN=1;var e=ba();return e("hasInstance"),cN}var dN={},hN;function Hie(){if(hN)return dN;hN=1;var e=ba();return e("isConcatSpreadable"),dN}var pN={},vN;function zie(){if(vN)return pN;vN=1;var e=ba();return e("iterator"),pN}var gN={},mN;function Wie(){if(mN)return gN;mN=1;var e=ba();return e("match"),gN}var yN={},_N;function Gie(){if(_N)return yN;_N=1;var e=ba();return e("matchAll"),yN}var EN={},SN;function Kie(){if(SN)return EN;SN=1;var e=ba();return e("replace"),EN}var wN={},bN;function Yie(){if(bN)return wN;bN=1;var e=ba();return e("search"),wN}var TN={},AN;function Xie(){if(AN)return TN;AN=1;var e=ba();return e("species"),TN}var RN={},xN;function Qie(){if(xN)return RN;xN=1;var e=ba();return e("split"),RN}var CN={},ON;function Jie(){if(ON)return CN;ON=1;var e=ba(),t=vX();return e("toPrimitive"),t(),CN}var IN={},PN;function Zie(){if(PN)return IN;PN=1;var e=on(),t=ba(),r=oo();return t("toStringTag"),r(e("Symbol"),"Symbol"),IN}var kN={},DN;function eae(){if(DN)return kN;DN=1;var e=ba();return e("unscopables"),kN}var LN={},pS,NN;function Qg(){if(NN)return pS;NN=1;var e=zt(),t=sn();return pS=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},pS}var vS,MN;function yX(){if(MN)return vS;MN=1;var e=qr();return vS=function(t){return e(t)||t===null},vS}var gS,$N;function _X(){if($N)return gS;$N=1;var e=yX(),t=String,r=TypeError;return gS=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},gS}var mS,FN;function _s(){if(FN)return mS;FN=1;var e=Qg(),t=qr(),r=fi(),n=_X();return mS=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,o={},a;try{a=e(Object.prototype,"__proto__","set"),a(o,[]),i=o instanceof Array}catch{}return function(l,f){return r(l),n(f),t(l)&&(i?a(l,f):l.__proto__=f),l}})():void 0),mS}var yS,jN;function EX(){if(jN)return yS;jN=1;var e=si().f;return yS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},yS}var _S,UN;function dc(){if(UN)return _S;UN=1;var e=ln(),t=qr(),r=_s();return _S=function(n,i,o){var a,u;return r&&e(a=i.constructor)&&a!==o&&t(u=a.prototype)&&u!==o.prototype&&r(n,u),n},_S}var ES,qN;function zf(){if(qN)return ES;qN=1;var e=Yr();return ES=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},ES}var SS,BN;function SX(){if(BN)return SS;BN=1;var e=qr(),t=ua();return SS=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},SS}var wS,VN;function FC(){if(VN)return wS;VN=1;var e=zt(),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 wS=function(a,u){if(o&&typeof a=="string"&&!t.prepareStackTrace)for(;u--;)a=r(a,i,"");return a},wS}var bS,HN;function wX(){if(HN)return bS;HN=1;var e=qt(),t=Co();return bS=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),bS}var TS,zN;function jC(){if(zN)return TS;zN=1;var e=ua(),t=FC(),r=wX(),n=Error.captureStackTrace;return TS=function(i,o,a,u){r&&(n?n(i,o):e(i,"stack",t(a,u)))},TS}var AS,WN;function bX(){if(WN)return AS;WN=1;var e=on(),t=un(),r=ua(),n=Ua(),i=_s(),o=Hf(),a=EX(),u=dc(),l=zf(),f=SX(),d=jC(),h=Rr(),p=bn();return AS=function(m,S,E,_){var w="stackTraceLimit",T=_?2:1,C=m.split("."),x=C[C.length-1],R=e.apply(null,C);if(R){var P=R.prototype;if(!p&&t(P,"cause")&&delete P.cause,!E)return R;var y=e("Error"),N=S(function($,H){var B=l(_?H:$,void 0),W=_?new R($):new R;return B!==void 0&&r(W,"message",B),d(W,N,W.stack,2),this&&n(P,this)&&u(W,this,N),arguments.length>T&&f(W,arguments[T]),W});if(N.prototype=P,x!=="Error"?i?i(N,y):o(N,y,{name:!0}):h&&w in R&&(a(N,R,w),a(N,R,"prepareStackTrace")),o(N,R),!p)try{P.name!==x&&r(P,"name",x),P.constructor=N}catch{}return N}},AS}var GN;function tae(){if(GN)return LN;GN=1;var e=$e(),t=Zt(),r=ko(),n=bX(),i="WebAssembly",o=t[i],a=new Error("e",{cause:7}).cause!==7,u=function(f,d){var h={};h[f]=n(f,d,a),e({global:!0,constructor:!0,arity:1,forced:a},h)},l=function(f,d){if(o&&o[f]){var h={};h[f]=n(i+"."+f,d,a),e({target:i,stat:!0,constructor:!0,arity:1,forced:a},h)}};return u("Error",function(f){return function(h){return r(f,this,arguments)}}),u("EvalError",function(f){return function(h){return r(f,this,arguments)}}),u("RangeError",function(f){return function(h){return r(f,this,arguments)}}),u("ReferenceError",function(f){return function(h){return r(f,this,arguments)}}),u("SyntaxError",function(f){return function(h){return r(f,this,arguments)}}),u("TypeError",function(f){return function(h){return r(f,this,arguments)}}),u("URIError",function(f){return function(h){return r(f,this,arguments)}}),l("CompileError",function(f){return function(h){return r(f,this,arguments)}}),l("LinkError",function(f){return function(h){return r(f,this,arguments)}}),l("RuntimeError",function(f){return function(h){return r(f,this,arguments)}}),LN}var KN={},YN;function rae(){if(YN)return KN;YN=1;var e=$e(),t=on(),r=qr(),n=Io(),i=qt(),o="Error",a="DOMException",u=Object.setPrototypeOf||{}.__proto__,l=t(a),f=Error,d=f.isError,h=!d||!u||i(function(){return l&&!d(new l(a))||!d(new f(o,{cause:function(){}}))||d(t("Object","create")(f.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(m){if(!r(m))return!1;var S=n(m);return S===o||S===a}}),KN}var XN={},RS,QN;function TX(){if(QN)return RS;QN=1;var e=Rr(),t=qt(),r=yr(),n=zf(),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 RS=o?function(){var u=r(this),l=n(u.name,"Error"),f=n(u.message);return l?f?l+": "+f:l:f}:i,RS}var JN;function nae(){if(JN)return XN;JN=1;var e=$n(),t=TX(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),XN}var ZN={},eM={},xS,tM;function UC(){if(tM)return xS;tM=1;var e=qt();return xS=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),xS}var CS,rM;function qa(){if(rM)return CS;rM=1;var e=un(),t=ln(),r=yn(),n=Kg(),i=UC(),o=n("IE_PROTO"),a=Object,u=a.prototype;return CS=i?a.getPrototypeOf:function(l){var f=r(l);if(e(f,o))return f[o];var d=f.constructor;return t(d)&&f instanceof d?d.prototype:f instanceof a?u:null},CS}var OS,nM;function Uh(){return nM||(nM=1,OS={}),OS}var IS,iM;function qC(){if(iM)return IS;iM=1;var e=Br(),t=Uh(),r=e("iterator"),n=Array.prototype;return IS=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},IS}var PS,aM;function hc(){if(aM)return PS;aM=1;var e=Io(),t=oa(),r=_u(),n=Uh(),i=Br(),o=i("iterator");return PS=function(a){if(!r(a))return t(a,o)||t(a,"@@iterator")||n[e(a)]},PS}var kS,oM;function Wf(){if(oM)return kS;oM=1;var e=pr(),t=sn(),r=yr(),n=uc(),i=hc(),o=TypeError;return kS=function(a,u){var l=arguments.length<2?i(a):u;if(t(l))return r(e(l,a));throw new o(n(a)+" is not iterable")},kS}var DS,sM;function fa(){if(sM)return DS;sM=1;var e=pr(),t=yr(),r=oa();return DS=function(n,i,o){var a,u;t(n);try{if(a=r(n,"return"),!a){if(i==="throw")throw o;return o}a=e(a,n)}catch(l){u=!0,a=l}if(i==="throw")throw o;if(u)throw a;return t(a),o},DS}var LS,uM;function Hi(){if(uM)return LS;uM=1;var e=Po(),t=pr(),r=yr(),n=uc(),i=qC(),o=zn(),a=Ua(),u=Wf(),l=hc(),f=fa(),d=TypeError,h=function(m,S){this.stopped=m,this.result=S},p=h.prototype;return LS=function(m,S,E){var _=E&&E.that,w=!!(E&&E.AS_ENTRIES),T=!!(E&&E.IS_RECORD),C=!!(E&&E.IS_ITERATOR),x=!!(E&&E.INTERRUPTED),R=e(S,_),P,y,N,$,H,B,W,X=function(ie){return P&&f(P,"normal"),new h(!0,ie)},J=function(ie){return w?(r(ie),x?R(ie[0],ie[1],X):R(ie[0],ie[1])):x?R(ie,X):R(ie)};if(T)P=m.iterator;else if(C)P=m;else{if(y=l(m),!y)throw new d(n(m)+" is not iterable");if(i(y)){for(N=0,$=o(m);$>N;N++)if(H=J(m[N]),H&&a(p,H))return H;return new h(!1)}P=u(m,y)}for(B=T?m.next:P.next;!(W=t(B,P)).done;){try{H=J(W.value)}catch(ie){f(P,"throw",ie)}if(typeof H=="object"&&H&&a(p,H))return H}return new h(!1)},LS}var lM;function iae(){if(lM)return eM;lM=1;var e=$e(),t=Ua(),r=qa(),n=_s(),i=Hf(),o=la(),a=ua(),u=Co(),l=SX(),f=jC(),d=Hi(),h=zf(),p=Br(),m=p("toStringTag"),S=Error,E=[].push,_=function(C,x){var R=t(w,this),P;n?P=n(new S,R?r(this):w):(P=R?this:o(w),a(P,m,"Error")),x!==void 0&&a(P,"message",h(x)),f(P,_,P.stack,1),arguments.length>2&&l(P,arguments[2]);var y=[];return d(C,E,{that:y}),a(P,"errors",y),P};n?n(_,S):i(_,S,{name:!0});var w=_.prototype=o(S.prototype,{constructor:u(1,_),message:u(1,""),name:u(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:_}),eM}var cM;function aae(){return cM||(cM=1,iae()),ZN}var fM={},dM;function oae(){if(dM)return fM;dM=1;var e=$e(),t=on(),r=ko(),n=qt(),i=bX(),o="AggregateError",a=t(o),u=!n(function(){return a([1]).errors[0]!==1})&&n(function(){return a([1],o,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:i(o,function(l){return function(d,h){return r(l,this,arguments)}},u,!0)}),fM}var hM={},pM;function sae(){if(pM)return hM;pM=1;var e=$e(),t=Zt(),r=Ua(),n=qa(),i=_s(),o=Hf(),a=la(),u=ua(),l=Co(),f=jC(),d=zf(),h=Br(),p=qt(),m=bn(),S=t.SuppressedError,E=h("toStringTag"),_=Error,w=!!S&&S.length!==3,T=!!S&&p(function(){return new S(1,2,3,{cause:4}).cause===4}),C=w||T,x=function(y,N,$){var H=r(R,this),B;return i?B=C&&(!H||n(this)===R)?new S:i(new _,H?n(this):R):(B=H?this:a(R),u(B,E,"Error")),$!==void 0&&u(B,"message",d($)),f(B,x,B.stack,1),u(B,"error",y),u(B,"suppressed",N),B};i?i(x,_):o(x,_,{name:!0});var R=x.prototype=C?S.prototype:a(_.prototype,{constructor:l(1,x),message:l(1,""),name:l(1,"SuppressedError")});return C&&!m&&(R.constructor=x),e({global:!0,constructor:!0,arity:3,forced:C},{SuppressedError:x}),hM}var vM={},NS,gM;function so(){if(gM)return NS;gM=1;var e=Br(),t=la(),r=si().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),NS=function(o){i[n][o]=!0},NS}var mM;function uae(){if(mM)return vM;mM=1;var e=$e(),t=yn(),r=zn(),n=Ai(),i=so();return e({target:"Array",proto:!0},{at:function(a){var u=t(this),l=r(u),f=n(a),d=f>=0?f:l+f;return d<0||d>=l?void 0:u[d]}}),i("at"),vM}var yM={},MS,_M;function pc(){if(_M)return MS;_M=1;var e=TypeError,t=9007199254740991;return MS=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},MS}var $S,EM;function Su(){if(EM)return $S;EM=1;var e=Rr(),t=si(),r=Co();return $S=function(n,i,o){e?t.f(n,i,r(0,o)):n[i]=o},$S}var FS,SM;function qh(){if(SM)return FS;SM=1;var e=qt(),t=Br(),r=qs(),n=t("species");return FS=function(i){return r>=51||!e(function(){var o=[],a=o.constructor={};return a[n]=function(){return{foo:1}},o[i](Boolean).foo!==1})},FS}var wM;function lae(){if(wM)return yM;wM=1;var e=$e(),t=qt(),r=ll(),n=qr(),i=yn(),o=zn(),a=pc(),u=Su(),l=jh(),f=qh(),d=Br(),h=qs(),p=d("isConcatSpreadable"),m=h>=51||!t(function(){var _=[];return _[p]=!1,_.concat()[0]!==_}),S=function(_){if(!n(_))return!1;var w=_[p];return w!==void 0?!!w:r(_)},E=!m||!f("concat");return e({target:"Array",proto:!0,arity:1,forced:E},{concat:function(w){var T=i(this),C=l(T,0),x=0,R,P,y,N,$;for(R=-1,y=arguments.length;R<y;R++)if($=R===-1?T:arguments[R],S($))for(N=o($),a(x+N),P=0;P<N;P++,x++)P in $&&u(C,x,$[P]);else a(x+1),u(C,x++,$);return C.length=x,C}}),yM}var bM={},jS,TM;function Jg(){if(TM)return jS;TM=1;var e=uc(),t=TypeError;return jS=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},jS}var US,AM;function AX(){if(AM)return US;AM=1;var e=yn(),t=Eu(),r=zn(),n=Jg(),i=Math.min;return US=[].copyWithin||function(a,u){var l=e(this),f=r(l),d=t(a,f),h=t(u,f),p=arguments.length>2?arguments[2]:void 0,m=i((p===void 0?f:t(p,f))-h,f-d),S=1;for(h<d&&d<h+m&&(S=-1,h+=m-1,d+=m-1);m-- >0;)h in l?l[d]=l[h]:n(l,d),d+=S,h+=S;return l},US}var RM;function cae(){if(RM)return bM;RM=1;var e=$e(),t=AX(),r=so();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),bM}var xM={},qS,CM;function wu(){if(CM)return qS;CM=1;var e=qt();return qS=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},qS}var OM;function fae(){if(OM)return xM;OM=1;var e=$e(),t=ca().every,r=wu(),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)}}),xM}var IM={},BS,PM;function BC(){if(PM)return BS;PM=1;var e=yn(),t=Eu(),r=zn();return BS=function(i){for(var o=e(this),a=r(o),u=arguments.length,l=t(u>1?arguments[1]:void 0,a),f=u>2?arguments[2]:void 0,d=f===void 0?a:t(f,a);d>l;)o[l++]=i;return o},BS}var kM;function dae(){if(kM)return IM;kM=1;var e=$e(),t=BC(),r=so();return e({target:"Array",proto:!0},{fill:t}),r("fill"),IM}var DM={},LM;function hae(){if(LM)return DM;LM=1;var e=$e(),t=ca().filter,r=qh(),n=r("filter");return e({target:"Array",proto:!0,forced:!n},{filter:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),DM}var NM={},MM;function pae(){if(MM)return NM;MM=1;var e=$e(),t=ca().find,r=so(),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),NM}var $M={},FM;function vae(){if(FM)return $M;FM=1;var e=$e(),t=ca().findIndex,r=so(),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),$M}var jM={},VS,UM;function Zg(){if(UM)return VS;UM=1;var e=Po(),t=jf(),r=yn(),n=zn(),i=function(o){var a=o===1;return function(u,l,f){for(var d=r(u),h=t(d),p=n(h),m=e(l,f),S,E;p-- >0;)if(S=h[p],E=m(S,p,d),E)switch(o){case 0:return S;case 1:return p}return a?-1:void 0}};return VS={findLast:i(0),findLastIndex:i(1)},VS}var qM;function gae(){if(qM)return jM;qM=1;var e=$e(),t=Zg().findLast,r=so();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),jM}var BM={},VM;function mae(){if(VM)return BM;VM=1;var e=$e(),t=Zg().findLastIndex,r=so();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),BM}var HM={},HS,zM;function RX(){if(zM)return HS;zM=1;var e=ll(),t=zn(),r=pc(),n=Po(),i=function(o,a,u,l,f,d,h,p){for(var m=f,S=0,E=h?n(h,p):!1,_,w;S<l;)S in u&&(_=E?E(u[S],S,a):u[S],d>0&&e(_)?(w=t(_),m=i(o,a,_,w,m,d-1)-1):(r(m+1),o[m]=_),m++),S++;return m};return HS=i,HS}var WM;function yae(){if(WM)return HM;WM=1;var e=$e(),t=RX(),r=yn(),n=zn(),i=Ai(),o=jh();return e({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,l=r(this),f=n(l),d=o(l,0);return d.length=t(d,l,l,f,0,u===void 0?1:i(u)),d}}),HM}var GM={},KM;function _ae(){if(KM)return GM;KM=1;var e=$e(),t=RX(),r=sn(),n=yn(),i=zn(),o=jh();return e({target:"Array",proto:!0},{flatMap:function(u){var l=n(this),f=i(l),d;return r(u),d=o(l,0),d.length=t(d,l,l,f,0,1,u,arguments.length>1?arguments[1]:void 0),d}}),GM}var YM={},zS,XM;function xX(){if(XM)return zS;XM=1;var e=ca().forEach,t=wu(),r=t("forEach");return zS=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},zS}var QM;function Eae(){if(QM)return YM;QM=1;var e=$e(),t=xX();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),YM}var JM={},WS,ZM;function VC(){if(ZM)return WS;ZM=1;var e=yr(),t=fa();return WS=function(r,n,i,o){try{return o?n(e(i)[0],i[1]):n(i)}catch(a){t(r,"throw",a)}},WS}var GS,e$;function CX(){if(e$)return GS;e$=1;var e=Po(),t=pr(),r=yn(),n=VC(),i=qC(),o=fc(),a=zn(),u=Su(),l=Wf(),f=hc(),d=Array;return GS=function(p){var m=r(p),S=o(this),E=arguments.length,_=E>1?arguments[1]:void 0,w=_!==void 0;w&&(_=e(_,E>2?arguments[2]:void 0));var T=f(m),C=0,x,R,P,y,N,$;if(T&&!(this===d&&i(T)))for(R=S?new this:[],y=l(m,T),N=y.next;!(P=t(N,y)).done;C++)$=w?n(y,_,[P.value,C],!0):P.value,u(R,C,$);else for(x=a(m),R=S?new this(x):d(x);x>C;C++)$=w?_(m[C],C):m[C],u(R,C,$);return R.length=C,R},GS}var KS,t$;function em(){if(t$)return KS;t$=1;var e=Br(),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 KS=function(o,a){try{if(!a&&!r)return!1}catch{return!1}var u=!1;try{var l={};l[t]=function(){return{next:function(){return{done:u=!0}}}},o(l)}catch{}return u},KS}var r$;function Sae(){if(r$)return JM;r$=1;var e=$e(),t=CX(),r=em(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),JM}var n$={},i$;function wae(){if(i$)return n$;i$=1;var e=$e(),t=Mh().includes,r=qt(),n=so(),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"),n$}var a$={},o$;function bae(){if(o$)return a$;o$=1;var e=$e(),t=cc(),r=Mh().indexOf,n=wu(),i=t([].indexOf),o=!!i&&1/i([1],1,-0)<0,a=o||!n("indexOf");return e({target:"Array",proto:!0,forced:a},{indexOf:function(l){var f=arguments.length>1?arguments[1]:void 0;return o?i(this,l,f)||0:r(this,l,f)}}),a$}var s$={},u$;function Tae(){if(u$)return s$;u$=1;var e=$e(),t=ll();return e({target:"Array",stat:!0},{isArray:t}),s$}var YS,l$;function Gf(){if(l$)return YS;l$=1;var e=qt(),t=ln(),r=qr(),n=la(),i=qa(),o=$n(),a=Br(),u=bn(),l=a("iterator"),f=!1,d,h,p;[].keys&&(p=[].keys(),"next"in p?(h=i(i(p)),h!==Object.prototype&&(d=h)):f=!0);var m=!r(d)||e(function(){var S={};return d[l].call(S)!==S});return m?d={}:u&&(d=n(d)),t(d[l])||o(d,l,function(){return this}),YS={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f},YS}var XS,c$;function HC(){if(c$)return XS;c$=1;var e=Gf().IteratorPrototype,t=la(),r=Co(),n=oo(),i=Uh(),o=function(){return this};return XS=function(a,u,l,f){var d=u+" Iterator";return a.prototype=t(e,{next:r(+!f,l)}),n(a,d,!1,!0),i[d]=o,a},XS}var QS,f$;function zC(){if(f$)return QS;f$=1;var e=$e(),t=pr(),r=bn(),n=Vf(),i=ln(),o=HC(),a=qa(),u=_s(),l=oo(),f=ua(),d=$n(),h=Br(),p=Uh(),m=Gf(),S=n.PROPER,E=n.CONFIGURABLE,_=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,T=h("iterator"),C="keys",x="values",R="entries",P=function(){return this};return QS=function(y,N,$,H,B,W,X){o($,N,H);var J=function(Be){if(Be===B&&te)return te;if(!w&&Be&&Be in pe)return pe[Be];switch(Be){case C:return function(){return new $(this,Be)};case x:return function(){return new $(this,Be)};case R:return function(){return new $(this,Be)}}return function(){return new $(this)}},ie=N+" Iterator",ne=!1,pe=y.prototype,K=pe[T]||pe["@@iterator"]||B&&pe[B],te=!w&&K||J(B),z=N==="Array"&&pe.entries||K,ce,Se,Le;if(z&&(ce=a(z.call(new y)),ce!==Object.prototype&&ce.next&&(!r&&a(ce)!==_&&(u?u(ce,_):i(ce[T])||d(ce,T,P)),l(ce,ie,!0,!0),r&&(p[ie]=P))),S&&B===x&&K&&K.name!==x&&(!r&&E?f(pe,"name",x):(ne=!0,te=function(){return t(K,this)})),B)if(Se={values:J(x),keys:W?te:J(C),entries:J(R)},X)for(Le in Se)(w||ne||!(Le in pe))&&d(pe,Le,Se[Le]);else e({target:N,proto:!0,forced:w||ne},Se);return(!r||X)&&pe[T]!==te&&d(pe,T,te,{name:B}),p[N]=te,Se},QS}var JS,d$;function vc(){return d$||(d$=1,JS=function(e,t){return{value:e,done:t}}),JS}var ZS,h$;function tm(){if(h$)return ZS;h$=1;var e=Ji(),t=so(),r=Uh(),n=Ei(),i=si().f,o=zC(),a=vc(),u=bn(),l=Rr(),f="Array Iterator",d=n.set,h=n.getterFor(f);ZS=o(Array,"Array",function(m,S){d(this,{type:f,target:e(m),index:0,kind:S})},function(){var m=h(this),S=m.target,E=m.index++;if(!S||E>=S.length)return m.target=null,a(void 0,!0);switch(m.kind){case"keys":return a(E,!1);case"values":return a(S[E],!1)}return a([E,S[E]],!1)},"values");var p=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!u&&l&&p.name!=="values")try{i(p,"name",{value:"values"})}catch{}return ZS}var p$={},v$;function Aae(){if(v$)return p$;v$=1;var e=$e(),t=zt(),r=jf(),n=Ji(),i=wu(),o=t([].join),a=r!==Object,u=a||!i("join",",");return e({target:"Array",proto:!0,forced:u},{join:function(f){return o(n(this),f===void 0?",":f)}}),p$}var g$={},e0,m$;function OX(){if(m$)return e0;m$=1;var e=ko(),t=Ji(),r=Ai(),n=zn(),i=wu(),o=Math.min,a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0,l=i("lastIndexOf"),f=u||!l;return e0=f?function(h){if(u)return e(a,this,arguments)||0;var p=t(this),m=n(p);if(m===0)return-1;var S=m-1;for(arguments.length>1&&(S=o(S,r(arguments[1]))),S<0&&(S=m+S);S>=0;S--)if(S in p&&p[S]===h)return S||0;return-1}:a,e0}var y$;function Rae(){if(y$)return g$;y$=1;var e=$e(),t=OX();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),g$}var _$={},E$;function xae(){if(E$)return _$;E$=1;var e=$e(),t=ca().map,r=qh(),n=r("map");return e({target:"Array",proto:!0,forced:!n},{map:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),_$}var S$={},w$;function Cae(){if(w$)return S$;w$=1;var e=$e(),t=qt(),r=fc(),n=Su(),i=Array,o=t(function(){function a(){}return!(i.of.call(a)instanceof a)});return e({target:"Array",stat:!0,forced:o},{of:function(){for(var u=0,l=arguments.length,f=new(r(this)?this:i)(l);l>u;)n(f,u,arguments[u++]);return f.length=l,f}}),S$}var b$={},t0,T$;function WC(){if(T$)return t0;T$=1;var e=Rr(),t=ll(),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 t0=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},t0}var A$;function Oae(){if(A$)return b$;A$=1;var e=$e(),t=yn(),r=zn(),n=WC(),i=pc(),o=qt(),a=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(f){return f instanceof TypeError}},l=a||!u();return e({target:"Array",proto:!0,arity:1,forced:l},{push:function(d){var h=t(this),p=r(h),m=arguments.length;i(p+m);for(var S=0;S<m;S++)h[p]=arguments[S],p++;return n(h,p),p}}),b$}var R$={},r0,x$;function rm(){if(x$)return r0;x$=1;var e=sn(),t=yn(),r=jf(),n=zn(),i=TypeError,o="Reduce of empty array with no initial value",a=function(u){return function(l,f,d,h){var p=t(l),m=r(p),S=n(p);if(e(f),S===0&&d<2)throw new i(o);var E=u?S-1:0,_=u?-1:1;if(d<2)for(;;){if(E in m){h=m[E],E+=_;break}if(E+=_,u?E<0:S<=E)throw new i(o)}for(;u?E>=0:S>E;E+=_)E in m&&(h=f(h,m[E],E,p));return h}};return r0={left:a(!1),right:a(!0)},r0}var n0,C$;function nm(){if(C$)return n0;C$=1;var e=Zt(),t=Us(),r=wa(),n=function(i){return t.slice(0,i.length)===i};return n0=(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"})(),n0}var i0,O$;function Kf(){if(O$)return i0;O$=1;var e=nm();return i0=e==="NODE",i0}var I$;function Iae(){if(I$)return R$;I$=1;var e=$e(),t=rm().left,r=wu(),n=qs(),i=Kf(),o=!i&&n>79&&n<83,a=o||!r("reduce");return e({target:"Array",proto:!0,forced:a},{reduce:function(l){var f=arguments.length;return t(this,l,f,f>1?arguments[1]:void 0)}}),R$}var P$={},k$;function Pae(){if(k$)return P$;k$=1;var e=$e(),t=rm().right,r=wu(),n=qs(),i=Kf(),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)}}),P$}var D$={},L$;function kae(){if(L$)return D$;L$=1;var e=$e(),t=zt(),r=ll(),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)}}),D$}var N$={},M$;function Dae(){if(M$)return N$;M$=1;var e=$e(),t=ll(),r=fc(),n=qr(),i=Eu(),o=zn(),a=Ji(),u=Su(),l=Br(),f=qh(),d=rs(),h=f("slice"),p=l("species"),m=Array,S=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(_,w){var T=a(this),C=o(T),x=i(_,C),R=i(w===void 0?C:w,C),P,y,N;if(t(T)&&(P=T.constructor,r(P)&&(P===m||t(P.prototype))?P=void 0:n(P)&&(P=P[p],P===null&&(P=void 0)),P===m||P===void 0))return d(T,x,R);for(y=new(P===void 0?m:P)(S(R-x,0)),N=0;x<R;x++,N++)x in T&&u(y,N,T[x]);return y.length=N,y}}),N$}var $$={},F$;function Lae(){if(F$)return $$;F$=1;var e=$e(),t=ca().some,r=wu(),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)}}),$$}var j$={},a0,U$;function GC(){if(U$)return a0;U$=1;var e=rs(),t=Math.floor,r=function(n,i){var o=n.length;if(o<8)for(var a=1,u,l;a<o;){for(l=a,u=n[a];l&&i(n[l-1],u)>0;)n[l]=n[--l];l!==a++&&(n[l]=u)}else for(var f=t(o/2),d=r(e(n,0,f),i),h=r(e(n,f),i),p=d.length,m=h.length,S=0,E=0;S<p||E<m;)n[S+E]=S<p&&E<m?i(d[S],h[E])<=0?d[S++]:h[E++]:S<p?d[S++]:h[E++];return n};return a0=r,a0}var o0,q$;function IX(){if(q$)return o0;q$=1;var e=Us(),t=e.match(/firefox\/(\d+)/i);return o0=!!t&&+t[1],o0}var s0,B$;function PX(){if(B$)return s0;B$=1;var e=Us();return s0=/MSIE|Trident/.test(e),s0}var u0,V$;function KC(){if(V$)return u0;V$=1;var e=Us(),t=e.match(/AppleWebKit\/(\d+)\./);return u0=!!t&&+t[1],u0}var H$;function Nae(){if(H$)return j$;H$=1;var e=$e(),t=zt(),r=sn(),n=yn(),i=zn(),o=Jg(),a=Yr(),u=qt(),l=GC(),f=wu(),d=IX(),h=PX(),p=qs(),m=KC(),S=[],E=t(S.sort),_=t(S.push),w=u(function(){S.sort(void 0)}),T=u(function(){S.sort(null)}),C=f("sort"),x=!u(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(m)return m<603;var y="",N,$,H,B;for(N=65;N<76;N++){switch($=String.fromCharCode(N),N){case 66:case 69:case 70:case 72:H=3;break;case 68:case 71:H=4;break;default:H=2}for(B=0;B<47;B++)S.push({k:$+B,v:H})}for(S.sort(function(W,X){return X.v-W.v}),B=0;B<S.length;B++)$=S[B].k.charAt(0),y.charAt(y.length-1)!==$&&(y+=$);return y!=="DGBEFHACIJK"}}),R=w||!T||!C||!x,P=function(y){return function(N,$){return $===void 0?-1:N===void 0?1:y!==void 0?+y(N,$)||0:a(N)>a($)?1:-1}};return e({target:"Array",proto:!0,forced:R},{sort:function(N){N!==void 0&&r(N);var $=n(this);if(x)return N===void 0?E($):E($,N);var H=[],B=i($),W,X;for(X=0;X<B;X++)X in $&&_(H,$[X]);for(l(H,P(N)),W=i(H),X=0;X<W;)$[X]=H[X++];for(;X<B;)o($,X++);return $}}),j$}var z$={},l0,W$;function Yf(){if(W$)return l0;W$=1;var e=on(),t=Pi(),r=Br(),n=Rr(),i=r("species");return l0=function(o){var a=e(o);n&&a&&!a[i]&&t(a,i,{configurable:!0,get:function(){return this}})},l0}var G$;function Mae(){if(G$)return z$;G$=1;var e=Yf();return e("Array"),z$}var K$={},Y$;function $ae(){if(Y$)return K$;Y$=1;var e=$e(),t=yn(),r=Eu(),n=Ai(),i=zn(),o=WC(),a=pc(),u=jh(),l=Su(),f=Jg(),d=qh(),h=d("splice"),p=Math.max,m=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(E,_){var w=t(this),T=i(w),C=r(E,T),x=arguments.length,R,P,y,N,$,H;for(x===0?R=P=0:x===1?(R=0,P=T-C):(R=x-2,P=m(p(n(_),0),T-C)),a(T+R-P),y=u(w,P),N=0;N<P;N++)$=C+N,$ in w&&l(y,N,w[$]);if(y.length=P,R<P){for(N=C;N<T-P;N++)$=N+P,H=N+R,$ in w?w[H]=w[$]:f(w,H);for(N=T;N>T-P+R;N--)f(w,N-1)}else if(R>P)for(N=T-P;N>C;N--)$=N+P-1,H=N+R-1,$ in w?w[H]=w[$]:f(w,H);for(N=0;N<R;N++)w[N+C]=arguments[N+2];return o(w,T-P+R),y}}),K$}var X$={},c0,Q$;function kX(){if(Q$)return c0;Q$=1;var e=zn();return c0=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},c0}var J$;function Fae(){if(J$)return X$;J$=1;var e=$e(),t=kX(),r=Ji(),n=so(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),X$}var Z$={},f0,eF;function Bh(){if(eF)return f0;eF=1;var e=zn();return f0=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},f0}var d0,tF;function DX(){if(tF)return d0;tF=1;var e=Zt();return d0=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},d0}var rF;function jae(){if(rF)return Z$;rF=1;var e=$e(),t=zt(),r=sn(),n=Ji(),i=Bh(),o=DX(),a=so(),u=Array,l=t(o("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),p=i(u,h);return l(p,d)}}),a("toSorted"),Z$}var nF={},iF;function Uae(){if(iF)return nF;iF=1;var e=$e(),t=so(),r=pc(),n=zn(),i=Eu(),o=Ji(),a=Ai(),u=Array,l=Math.max,f=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,p){var m=o(this),S=n(m),E=i(h,S),_=arguments.length,w=0,T,C,x,R;for(_===0?T=C=0:_===1?(T=0,C=S-E):(T=_-2,C=f(l(a(p),0),S-E)),x=r(S+T-C),R=u(x);w<E;w++)R[w]=m[w];for(;w<E+T;w++)R[w]=arguments[w-E+2];for(;w<x;w++)R[w]=m[w+C-T];return R}}),t("toSpliced"),nF}var aF={},oF;function qae(){if(oF)return aF;oF=1;var e=so();return e("flat"),aF}var sF={},uF;function Bae(){if(uF)return sF;uF=1;var e=so();return e("flatMap"),sF}var lF={},cF;function Vae(){if(cF)return lF;cF=1;var e=$e(),t=yn(),r=zn(),n=WC(),i=Jg(),o=pc(),a=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(f){return f instanceof TypeError}},l=a||!u();return e({target:"Array",proto:!0,arity:1,forced:l},{unshift:function(d){var h=t(this),p=r(h),m=arguments.length;if(m){o(p+m);for(var S=p;S--;){var E=S+m;S in h?h[E]=h[S]:i(h,E)}for(var _=0;_<m;_++)h[_]=arguments[_]}return n(h,p+m)}}),lF}var fF={},h0,dF;function LX(){if(dF)return h0;dF=1;var e=zn(),t=Ai(),r=RangeError;return h0=function(n,i,o,a){var u=e(n),l=t(o),f=l<0?u+l:l;if(f>=u||f<0)throw new r("Incorrect index");for(var d=new i(u),h=0;h<u;h++)d[h]=h===f?a:n[h];return d},h0}var hF;function Hae(){if(hF)return fF;hF=1;var e=$e(),t=LX(),r=Ji(),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)}}),fF}var pF={},p0,vF;function im(){return vF||(vF=1,p0=typeof ArrayBuffer<"u"&&typeof DataView<"u"),p0}var v0,gF;function bu(){if(gF)return v0;gF=1;var e=$n();return v0=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},v0}var g0,mF;function Do(){if(mF)return g0;mF=1;var e=Ua(),t=TypeError;return g0=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},g0}var m0,yF;function am(){if(yF)return m0;yF=1;var e=Ai(),t=Oo(),r=RangeError;return m0=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},m0}var y0,_F;function YC(){return _F||(_F=1,y0=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),y0}var _0,EF;function NX(){if(EF)return _0;EF=1;var e=2220446049250313e-31,t=1/e;return _0=function(r){return r+t-t},_0}var E0,SF;function MX(){if(SF)return E0;SF=1;var e=YC(),t=NX(),r=Math.abs,n=2220446049250313e-31;return E0=function(i,o,a,u){var l=+i,f=r(l),d=e(l);if(f<u)return d*t(f/u/o)*u*o;var h=(1+o/n)*f,p=h-(h-f);return p>a||p!==p?d*(1/0):d*p},E0}var S0,wF;function $X(){if(wF)return S0;wF=1;var e=MX(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return S0=Math.fround||function(o){return e(o,t,r,n)},S0}var w0,bF;function zae(){if(bF)return w0;bF=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,o=Math.LN2,a=function(l,f,d){var h=e(d),p=d*8-f-1,m=(1<<p)-1,S=m>>1,E=f===23?r(2,-24)-r(2,-77):0,_=l<0||l===0&&1/l<0?1:0,w=0,T,C,x;for(l=t(l),l!==l||l===1/0?(C=l!==l?1:0,T=m):(T=n(i(l)/o),x=r(2,-T),l*x<1&&(T--,x*=2),T+S>=1?l+=E/x:l+=E*r(2,1-S),l*x>=2&&(T++,x/=2),T+S>=m?(C=0,T=m):T+S>=1?(C=(l*x-1)*r(2,f),T+=S):(C=l*r(2,S-1)*r(2,f),T=0));f>=8;)h[w++]=C&255,C/=256,f-=8;for(T=T<<f|C,p+=f;p>0;)h[w++]=T&255,T/=256,p-=8;return h[w-1]|=_*128,h},u=function(l,f){var d=l.length,h=d*8-f-1,p=(1<<h)-1,m=p>>1,S=h-7,E=d-1,_=l[E--],w=_&127,T;for(_>>=7;S>0;)w=w*256+l[E--],S-=8;for(T=w&(1<<-S)-1,w>>=-S,S+=f;S>0;)T=T*256+l[E--],S-=8;if(w===0)w=1-m;else{if(w===p)return T?NaN:_?-1/0:1/0;T+=r(2,f),w-=m}return(_?-1:1)*T*r(2,w-f)};return w0={pack:a,unpack:u},w0}var b0,TF;function om(){if(TF)return b0;TF=1;var e=Zt(),t=zt(),r=Rr(),n=im(),i=Vf(),o=ua(),a=Pi(),u=bu(),l=qt(),f=Do(),d=Ai(),h=Oo(),p=am(),m=$X(),S=zae(),E=qa(),_=_s(),w=BC(),T=rs(),C=dc(),x=Hf(),R=oo(),P=Ei(),y=i.PROPER,N=i.CONFIGURABLE,$="ArrayBuffer",H="DataView",B="prototype",W="Wrong length",X="Wrong index",J=P.getterFor($),ie=P.getterFor(H),ne=P.set,pe=e[$],K=pe,te=K&&K[B],z=e[H],ce=z&&z[B],Se=Object.prototype,Le=e.Array,Be=e.RangeError,Xe=t(w),oe=t([].reverse),O=S.pack,I=S.unpack,M=function(_e){return[_e&255]},k=function(_e){return[_e&255,_e>>8&255]},U=function(_e){return[_e&255,_e>>8&255,_e>>16&255,_e>>24&255]},Y=function(_e){return _e[3]<<24|_e[2]<<16|_e[1]<<8|_e[0]},ae=function(_e){return O(m(_e),23,4)},Ee=function(_e){return O(_e,52,8)},me=function(_e,we,ke){a(_e[B],we,{configurable:!0,get:function(){return ke(this)[we]}})},Ce=function(_e,we,ke,qe){var Ue=ie(_e),We=p(ke),ct=!!qe;if(We+we>Ue.byteLength)throw new Be(X);var jt=Ue.bytes,Gt=We+Ue.byteOffset,et=T(jt,Gt,Gt+we);return ct?et:oe(et)},be=function(_e,we,ke,qe,Ue,We){var ct=ie(_e),jt=p(ke),Gt=qe(+Ue),et=!!We;if(jt+we>ct.byteLength)throw new Be(X);for(var Rt=ct.bytes,Et=jt+ct.byteOffset,st=0;st<we;st++)Rt[Et+st]=Gt[et?st:we-st-1]};if(!n)K=function(we){f(this,te);var ke=p(we);ne(this,{type:$,bytes:Xe(Le(ke),0),byteLength:ke}),r||(this.byteLength=ke,this.detached=!1)},te=K[B],z=function(we,ke,qe){f(this,ce),f(we,te);var Ue=J(we),We=Ue.byteLength,ct=d(ke);if(ct<0||ct>We)throw new Be("Wrong offset");if(qe=qe===void 0?We-ct:h(qe),ct+qe>We)throw new Be(W);ne(this,{type:H,buffer:we,byteLength:qe,byteOffset:ct,bytes:Ue.bytes}),r||(this.buffer=we,this.byteLength=qe,this.byteOffset=ct)},ce=z[B],r&&(me(K,"byteLength",J),me(z,"buffer",ie),me(z,"byteLength",ie),me(z,"byteOffset",ie)),u(ce,{getInt8:function(we){return Ce(this,1,we)[0]<<24>>24},getUint8:function(we){return Ce(this,1,we)[0]},getInt16:function(we){var ke=Ce(this,2,we,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16},getUint16:function(we){var ke=Ce(this,2,we,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]},getInt32:function(we){return Y(Ce(this,4,we,arguments.length>1?arguments[1]:!1))},getUint32:function(we){return Y(Ce(this,4,we,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(we){return I(Ce(this,4,we,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(we){return I(Ce(this,8,we,arguments.length>1?arguments[1]:!1),52)},setInt8:function(we,ke){be(this,1,we,M,ke)},setUint8:function(we,ke){be(this,1,we,M,ke)},setInt16:function(we,ke){be(this,2,we,k,ke,arguments.length>2?arguments[2]:!1)},setUint16:function(we,ke){be(this,2,we,k,ke,arguments.length>2?arguments[2]:!1)},setInt32:function(we,ke){be(this,4,we,U,ke,arguments.length>2?arguments[2]:!1)},setUint32:function(we,ke){be(this,4,we,U,ke,arguments.length>2?arguments[2]:!1)},setFloat32:function(we,ke){be(this,4,we,ae,ke,arguments.length>2?arguments[2]:!1)},setFloat64:function(we,ke){be(this,8,we,Ee,ke,arguments.length>2?arguments[2]:!1)}});else{var Ie=y&&pe.name!==$;!l(function(){pe(1)})||!l(function(){new pe(-1)})||l(function(){return new pe,new pe(1.5),new pe(NaN),pe.length!==1||Ie&&!N})?(K=function(we){return f(this,te),C(new pe(p(we)),this,K)},K[B]=te,te.constructor=K,x(K,pe)):Ie&&N&&o(pe,"name",$),_&&E(ce)!==Se&&_(ce,Se);var Fe=new z(new K(2)),ve=t(ce.setInt8);Fe.setInt8(0,2147483648),Fe.setInt8(1,2147483649),(Fe.getInt8(0)||!Fe.getInt8(1))&&u(ce,{setInt8:function(we,ke){ve(this,we,ke<<24>>24)},setUint8:function(we,ke){ve(this,we,ke<<24>>24)}},{unsafe:!0})}return R(K,$),R(z,H),b0={ArrayBuffer:K,DataView:z},b0}var AF;function Wae(){if(AF)return pF;AF=1;var e=$e(),t=Zt(),r=om(),n=Yf(),i="ArrayBuffer",o=r[i],a=t[i];return e({global:!0,constructor:!0,forced:a!==o},{ArrayBuffer:o}),n(i),pF}var RF={},T0,xF;function cn(){if(xF)return T0;xF=1;var e=im(),t=Rr(),r=Zt(),n=ln(),i=qr(),o=un(),a=Io(),u=uc(),l=ua(),f=$n(),d=Pi(),h=Ua(),p=qa(),m=_s(),S=Br(),E=Bf(),_=Ei(),w=_.enforce,T=_.get,C=r.Int8Array,x=C&&C.prototype,R=r.Uint8ClampedArray,P=R&&R.prototype,y=C&&p(C),N=x&&p(x),$=Object.prototype,H=r.TypeError,B=S("toStringTag"),W=E("TYPED_ARRAY_TAG"),X="TypedArrayConstructor",J=e&&!!m&&a(r.opera)!=="Opera",ie=!1,ne,pe,K,te={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},ce=function(M){if(!i(M))return!1;var k=a(M);return k==="DataView"||o(te,k)||o(z,k)},Se=function(I){var M=p(I);if(i(M)){var k=T(M);return k&&o(k,X)?k[X]:Se(M)}},Le=function(I){if(!i(I))return!1;var M=a(I);return o(te,M)||o(z,M)},Be=function(I){if(Le(I))return I;throw new H("Target is not a typed array")},Xe=function(I){if(n(I)&&(!m||h(y,I)))return I;throw new H(u(I)+" is not a typed array constructor")},oe=function(I,M,k,U){if(t){if(k)for(var Y in te){var ae=r[Y];if(ae&&o(ae.prototype,I))try{delete ae.prototype[I]}catch{try{ae.prototype[I]=M}catch{}}}(!N[I]||k)&&f(N,I,k?M:J&&x[I]||M,U)}},O=function(I,M,k){var U,Y;if(t){if(m){if(k){for(U in te)if(Y=r[U],Y&&o(Y,I))try{delete Y[I]}catch{}}if(!y[I]||k)try{return f(y,I,k?M:J&&y[I]||M)}catch{}else return}for(U in te)Y=r[U],Y&&(!Y[I]||k)&&f(Y,I,M)}};for(ne in te)pe=r[ne],K=pe&&pe.prototype,K?w(K)[X]=pe:J=!1;for(ne in z)pe=r[ne],K=pe&&pe.prototype,K&&(w(K)[X]=pe);if((!J||!n(y)||y===Function.prototype)&&(y=function(){throw new H("Incorrect invocation")},J))for(ne in te)r[ne]&&m(r[ne],y);if((!J||!N||N===$)&&(N=y.prototype,J))for(ne in te)r[ne]&&m(r[ne].prototype,N);if(J&&p(P)!==N&&m(P,N),t&&!o(N,B)){ie=!0,d(N,B,{configurable:!0,get:function(){return i(this)?this[W]:void 0}});for(ne in te)r[ne]&&l(r[ne],W,ne)}return T0={NATIVE_ARRAY_BUFFER_VIEWS:J,TYPED_ARRAY_TAG:ie&&W,aTypedArray:Be,aTypedArrayConstructor:Xe,exportTypedArrayMethod:oe,exportTypedArrayStaticMethod:O,getTypedArrayConstructor:Se,isView:ce,isTypedArray:Le,TypedArray:y,TypedArrayPrototype:N},T0}var CF;function Gae(){if(CF)return RF;CF=1;var e=$e(),t=cn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),RF}var OF={},IF;function Kae(){if(IF)return OF;IF=1;var e=$e(),t=cc(),r=qt(),n=om(),i=yr(),o=Eu(),a=Oo(),u=n.ArrayBuffer,l=n.DataView,f=l.prototype,d=t(u.prototype.slice),h=t(f.getUint8),p=t(f.setUint8),m=r(function(){return!new u(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:m},{slice:function(E,_){if(d&&_===void 0)return d(i(this),E);for(var w=i(this).byteLength,T=o(E,w),C=o(_===void 0?w:_,w),x=new u(a(C-T)),R=new l(this),P=new l(x),y=0;T<C;)p(P,y++,h(R,T++));return x}}),OF}var PF={},kF={},DF;function Yae(){if(DF)return kF;DF=1;var e=$e(),t=om(),r=im();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),kF}var LF;function Xae(){return LF||(LF=1,Yae()),PF}var NF={},MF;function Qae(){if(MF)return NF;MF=1;var e=$e(),t=zt(),r=Math.pow,n=31,i=1023,o=r(2,-24),a=.0009765625,u=function(f){var d=f>>>15,h=f>>>10&n,p=f&i;return h===n?p===0?d===0?1/0:-1/0:NaN:h===0?p*(d===0?o:-o):r(2,h-15)*(d===0?1+p*a:-1-p*a)},l=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return u(l(this,d,arguments.length>1?arguments[1]:!1))}}),NF}var $F={},A0,FF;function Jae(){if(FF)return A0;FF=1;var e=Io(),t=TypeError;return A0=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},A0}var R0,jF;function FX(){if(jF)return R0;jF=1;var e=Math.log,t=Math.LN2;return R0=Math.log2||function(n){return e(n)/t},R0}var UF;function Zae(){if(UF)return $F;UF=1;var e=$e(),t=zt(),r=Jae(),n=am(),i=FX(),o=NX(),a=Math.pow,u=65520,l=61005353927612305e-21,f=16777216,d=1024,h=function(m){if(m!==m)return 32256;if(m===0)return(1/m===-1/0)<<15;var S=m<0;if(S&&(m=-m),m>=u)return S<<15|31744;if(m<l)return S<<15|o(m*f);var E=i(m)|0;if(E===-15)return S<<15|d;var _=o((m*a(2,-E)-1)*d);return _===d?S<<15|E+16<<10:S<<15|E+15<<10|_},p=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(S,E){p(r(this),n(S),h(+E),arguments.length>2?arguments[2]:!1)}}),$F}var qF={},x0,BF;function jX(){if(BF)return x0;BF=1;var e=Zt(),t=Qg(),r=wa(),n=e.ArrayBuffer,i=e.TypeError;return x0=n&&t(n.prototype,"byteLength","get")||function(o){if(r(o)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return o.byteLength},x0}var C0,VF;function UX(){if(VF)return C0;VF=1;var e=Zt(),t=im(),r=jX(),n=e.DataView;return C0=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},C0}var HF;function eoe(){if(HF)return qF;HF=1;var e=Rr(),t=Pi(),r=UX(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),qF}var zF={},O0,WF;function Vh(){if(WF)return O0;WF=1;var e=UX(),t=TypeError;return O0=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},O0}var I0,GF;function qX(){if(GF)return I0;GF=1;var e=Zt(),t=Kf();return I0=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},I0}var P0,KF;function XC(){if(KF)return P0;KF=1;var e=Zt(),t=qt(),r=qs(),n=nm(),i=e.structuredClone;return P0=!!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}),P0}var k0,YF;function BX(){if(YF)return k0;YF=1;var e=Zt(),t=qX(),r=XC(),n=e.structuredClone,i=e.ArrayBuffer,o=e.MessageChannel,a=!1,u,l,f,d;if(r)a=function(h){n(h,{transfer:[h]})};else if(i)try{o||(u=t("worker_threads"),u&&(o=u.MessageChannel)),o&&(l=new o,f=new i(2),d=function(h){l.port1.postMessage(null,[h])},f.byteLength===2&&(d(f),f.byteLength===0&&(a=d)))}catch{}return k0=a,k0}var D0,XF;function VX(){if(XF)return D0;XF=1;var e=Zt(),t=zt(),r=Qg(),n=am(),i=Vh(),o=jX(),a=BX(),u=XC(),l=e.structuredClone,f=e.ArrayBuffer,d=e.DataView,h=Math.min,p=f.prototype,m=d.prototype,S=t(p.slice),E=r(p,"resizable","get"),_=r(p,"maxByteLength","get"),w=t(m.getInt8),T=t(m.setInt8);return D0=(u||a)&&function(C,x,R){var P=o(C),y=x===void 0?P:n(x),N=!E||!E(C),$;if(i(C),u&&(C=l(C,{transfer:[C]}),P===y&&(R||N)))return C;if(P>=y&&(!R||N))$=S(C,0,y);else{var H=R&&!N&&_?{maxByteLength:_(C)}:void 0;$=new f(y,H);for(var B=new d(C),W=new d($),X=h(y,P),J=0;J<X;J++)T(W,J,w(B,J))}return u||a(C),$},D0}var QF;function toe(){if(QF)return zF;QF=1;var e=$e(),t=VX();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),zF}var JF={},ZF;function roe(){if(ZF)return JF;ZF=1;var e=$e(),t=VX();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),JF}var ej={},tj;function noe(){if(tj)return ej;tj=1;var e=$e(),t=zt(),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}}),ej}var rj={},nj;function ioe(){if(nj)return rj;nj=1;var e=$e(),t=zt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),rj}var ij={},aj;function aoe(){if(aj)return ij;aj=1;var e=$e(),t=zt(),r=Ai(),n=Date.prototype,i=t(n.getTime),o=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(u){i(this);var l=r(u),f=l>=0&&l<=99?l+1900:l;return o(this,f)}}),ij}var oj={},sj;function ooe(){if(sj)return oj;sj=1;var e=$e();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),oj}var uj={},L0,lj;function sm(){if(lj)return L0;lj=1;var e=Ai(),t=Yr(),r=fi(),n=RangeError;return L0=function(o){var a=t(r(this)),u="",l=e(o);if(l<0||l===1/0)throw new n("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(a+=a))l&1&&(u+=a);return u},L0}var N0,cj;function um(){if(cj)return N0;cj=1;var e=zt(),t=Oo(),r=Yr(),n=sm(),i=fi(),o=e(n),a=e("".slice),u=Math.ceil,l=function(f){return function(d,h,p){var m=r(i(d)),S=t(h),E=m.length,_=p===void 0?" ":r(p),w,T;return S<=E||_===""?m:(w=S-E,T=o(_,u(w/_.length)),T.length>w&&(T=a(T,0,w)),f?m+T:T+m)}};return N0={start:l(!1),end:l(!0)},N0}var M0,fj;function soe(){if(fj)return M0;fj=1;var e=zt(),t=qt(),r=um().start,n=RangeError,i=isFinite,o=Math.abs,a=Date.prototype,u=a.toISOString,l=e(a.getTime),f=e(a.getUTCDate),d=e(a.getUTCFullYear),h=e(a.getUTCHours),p=e(a.getUTCMilliseconds),m=e(a.getUTCMinutes),S=e(a.getUTCMonth),E=e(a.getUTCSeconds);return M0=t(function(){return u.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){u.call(new Date(NaN))})?function(){if(!i(l(this)))throw new n("Invalid time value");var w=this,T=d(w),C=p(w),x=T<0?"-":T>9999?"+":"";return x+r(o(T),x?6:4,0)+"-"+r(S(w)+1,2,0)+"-"+r(f(w),2,0)+"T"+r(h(w),2,0)+":"+r(m(w),2,0)+":"+r(E(w),2,0)+"."+r(C,3,0)+"Z"}:u,M0}var dj;function uoe(){if(dj)return uj;dj=1;var e=$e(),t=soe();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),uj}var hj={},pj;function loe(){if(pj)return hj;pj=1;var e=$e(),t=qt(),r=yn(),n=Wg(),i=t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return e({target:"Date",proto:!0,arity:1,forced:i},{toJSON:function(a){var u=r(this),l=n(u,"number");return typeof l=="number"&&!isFinite(l)?null:u.toISOString()}}),hj}var vj={},$0,gj;function coe(){if(gj)return $0;gj=1;var e=yr(),t=sX(),r=TypeError;return $0=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},$0}var mj;function foe(){if(mj)return vj;mj=1;var e=un(),t=$n(),r=coe(),n=Br(),i=n("toPrimitive"),o=Date.prototype;return e(o,i)||t(o,i,r),vj}var yj={},_j;function doe(){if(_j)return yj;_j=1;var e=zt(),t=$n(),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}),yj}var Ej={},F0,Sj;function HX(){if(Sj)return F0;Sj=1;var e=on(),t=pr(),r=zt(),n=Po(),i=yr(),o=sn(),a=_u(),u=oa(),l=Br(),f=l("asyncDispose"),d=l("dispose"),h=r([].push),p=function(S,E){if(E==="async-dispose"){var _=u(S,f);return _!==void 0||(_=u(S,d),_===void 0)?_:function(){var w=this,T=e("Promise");return new T(function(C){t(_,w),C(void 0)})}}return u(S,d)},m=function(S,E,_){return arguments.length<3&&!a(S)&&(_=o(p(i(S),E))),_===void 0?function(){}:n(_,S)};return F0=function(S,E,_,w){var T;if(arguments.length<4){if(a(E)&&_==="sync-dispose")return;T=m(E,_)}else T=m(void 0,_,w);h(S.stack,T)},F0}var wj;function hoe(){if(wj)return Ej;wj=1;var e=$e(),t=Rr(),r=on(),n=sn(),i=Do(),o=$n(),a=bu(),u=Pi(),l=Br(),f=Ei(),d=HX(),h=r("SuppressedError"),p=ReferenceError,m=l("dispose"),S=l("toStringTag"),E="DisposableStack",_=f.set,w=f.getterFor(E),T="sync-dispose",C="disposed",x="pending",R=function(N){var $=w(N);if($.state===C)throw new p(E+" already disposed");return $},P=function(){_(i(this,y),{type:E,state:x,stack:[]}),t||(this.disposed=!1)},y=P.prototype;return a(y,{dispose:function(){var $=w(this);if($.state!==C){$.state=C,t||(this.disposed=!0);for(var H=$.stack,B=H.length,W=!1,X;B;){var J=H[--B];H[B]=null;try{J()}catch(ie){W?X=new h(ie,X):(W=!0,X=ie)}}if($.stack=null,W)throw X}},use:function($){return d(R(this),$,T),$},adopt:function($,H){var B=R(this);return n(H),d(B,void 0,T,function(){H($)}),$},defer:function($){var H=R(this);n($),d(H,void 0,T,$)},move:function(){var $=R(this),H=new P;return w(H).stack=$.stack,$.stack=[],$.state=C,t||(this.disposed=!0),H}}),t&&u(y,"disposed",{configurable:!0,get:function(){return w(this).state===C}}),o(y,m,y.dispose,{name:"dispose"}),o(y,S,E,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:P}),Ej}var bj={},Tj;function poe(){if(Tj)return bj;Tj=1;var e=$e(),t=zt(),r=Yr(),n=t("".charAt),i=t("".charCodeAt),o=t(/./.exec),a=t(1.1.toString),u=t("".toUpperCase),l=/[\w*+\-./@]/,f=function(d,h){for(var p=a(d,16);p.length<h;)p="0"+p;return p};return e({global:!0},{escape:function(h){for(var p=r(h),m="",S=p.length,E=0,_,w;E<S;)_=n(p,E++),o(l,_)?m+=_:(w=i(_,0),w<256?m+="%"+f(w,2):m+="%u"+u(f(w,4)));return m}}),bj}var Aj={},j0,Rj;function zX(){if(Rj)return j0;Rj=1;var e=zt(),t=sn(),r=qr(),n=un(),i=rs(),o=Lh(),a=Function,u=e([].concat),l=e([].join),f={},d=function(h,p,m){if(!n(f,p)){for(var S=[],E=0;E<p;E++)S[E]="a["+E+"]";f[p]=a("C,a","return new C("+l(S,",")+")")}return f[p](h,m)};return j0=o?a.bind:function(p){var m=t(this),S=m.prototype,E=i(arguments,1),_=function(){var T=u(E,i(arguments));return this instanceof _?d(m,T.length,T):m.apply(p,T)};return r(S)&&(_.prototype=S),_},j0}var xj;function voe(){if(xj)return Aj;xj=1;var e=$e(),t=zX();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),Aj}var Cj={},Oj;function goe(){if(Oj)return Cj;Oj=1;var e=ln(),t=qr(),r=si(),n=Ua(),i=Br(),o=kC(),a=i("hasInstance"),u=Function.prototype;return a in u||r.f(u,a,{value:o(function(l){if(!e(this)||!t(l))return!1;var f=this.prototype;return t(f)?n(f,l):l instanceof this},a)}),Cj}var Ij={},Pj;function moe(){if(Pj)return Ij;Pj=1;var e=Rr(),t=Vf().EXISTS,r=zt(),n=Pi(),i=Function.prototype,o=r(i.toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=r(a.exec),l="name";return e&&!t&&n(i,l,{configurable:!0,get:function(){try{return u(a,o(this))[1]}catch{return""}}}),Ij}var kj={},Dj;function yoe(){if(Dj)return kj;Dj=1;var e=$e(),t=Zt();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),kj}var Lj={},Nj;function _oe(){if(Nj)return Lj;Nj=1;var e=$e(),t=Zt(),r=Do(),n=yr(),i=ln(),o=qa(),a=Pi(),u=Su(),l=qt(),f=un(),d=Br(),h=Gf().IteratorPrototype,p=Rr(),m=bn(),S="constructor",E="Iterator",_=d("toStringTag"),w=TypeError,T=t[E],C=m||!i(T)||T.prototype!==h||!l(function(){T({})}),x=function(){if(r(this,h),o(this)===h)throw new w("Abstract class Iterator not directly constructable")},R=function(P,y){p?a(h,P,{configurable:!0,get:function(){return y},set:function(N){if(n(this),this===h)throw new w("You can't redefine this property");f(this,P)?this[P]=N:u(this,P,N)}}):h[P]=y};return f(h,_)||R(_,E),(C||!f(h,S)||h[S]===Object)&&R(S,x),x.prototype=h,e({global:!0,constructor:!0,forced:C},{Iterator:x}),Lj}var Mj={},$j;function Eoe(){if($j)return Mj;$j=1;var e=pr(),t=$n(),r=oa(),n=un(),i=Br(),o=Gf().IteratorPrototype,a=i("dispose");return n(o,a)||t(o,a,function(){var u=r(this,"return");u&&e(u,this)}),Mj}var Fj={},U0,jj;function Ta(){return jj||(jj=1,U0=function(e){return{iterator:e,next:e.next,done:!1}}),U0}var q0,Uj;function WX(){if(Uj)return q0;Uj=1;var e=RangeError;return q0=function(t){if(t===t)return t;throw new e("NaN is not allowed")},q0}var B0,qj;function QC(){if(qj)return B0;qj=1;var e=Ai(),t=RangeError;return B0=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},B0}var V0,Bj;function Soe(){if(Bj)return V0;Bj=1;var e=fa();return V0=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},V0}var H0,Vj;function Xf(){if(Vj)return H0;Vj=1;var e=pr(),t=la(),r=ua(),n=bu(),i=Br(),o=Ei(),a=oa(),u=Gf().IteratorPrototype,l=vc(),f=fa(),d=Soe(),h=i("toStringTag"),p="IteratorHelper",m="WrapForValidIterator",S="normal",E="throw",_=o.set,w=function(x){var R=o.getterFor(x?m:p);return n(t(u),{next:function(){var y=R(this);if(x)return y.nextHandler();if(y.done)return l(void 0,!0);try{var N=y.nextHandler();return y.returnHandlerResult?N:l(N,y.done)}catch($){throw y.done=!0,$}},return:function(){var P=R(this),y=P.iterator;if(P.done=!0,x){var N=a(y,"return");return N?e(N,y):l(void 0,!0)}if(P.inner)try{f(P.inner.iterator,S)}catch($){return f(y,E,$)}if(P.openIters)try{d(P.openIters,S)}catch($){return f(y,E,$)}return y&&f(y,S),l(void 0,!0)}})},T=w(!0),C=w(!1);return r(C,h,"Iterator Helper"),H0=function(x,R,P){var y=function($,H){H?(H.iterator=$.iterator,H.next=$.next):H=$,H.type=R?m:p,H.returnHandlerResult=!!P,H.nextHandler=x,H.counter=0,H.done=!1,_(this,H)};return y.prototype=R?T:C,y},H0}var z0,Hj;function lm(){return Hj||(Hj=1,z0=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),z0}var W0,zj;function Bs(){if(zj)return W0;zj=1;var e=Zt();return W0=function(t,r){var n=e.Iterator,i=n&&n.prototype,o=i&&i[t],a=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(u){u instanceof r||(a=!1)}if(!a)return o},W0}var Wj;function woe(){if(Wj)return Fj;Wj=1;var e=$e(),t=pr(),r=yr(),n=Ta(),i=WX(),o=QC(),a=fa(),u=Xf(),l=lm(),f=Bs(),d=bn(),h=!d&&!l("drop",0),p=!d&&!h&&f("drop",RangeError),m=d||h||p,S=u(function(){for(var E=this.iterator,_=this.next,w,T;this.remaining;)if(this.remaining--,w=r(t(_,E)),T=this.done=!!w.done,T)return;if(w=r(t(_,E)),T=this.done=!!w.done,!T)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:m},{drop:function(_){r(this);var w;try{w=o(i(+_))}catch(T){a(this,"throw",T)}return p?t(p,this,w):new S(n(this),{remaining:w})}}),Fj}var Gj={},Kj;function boe(){if(Kj)return Gj;Kj=1;var e=$e(),t=pr(),r=Hi(),n=sn(),i=yr(),o=Ta(),a=fa(),u=Bs(),l=u("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{every:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return!r(h,function(m,S){if(!d(m,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),Gj}var Yj={},Xj;function Toe(){if(Xj)return Yj;Xj=1;var e=$e(),t=pr(),r=sn(),n=yr(),i=Ta(),o=Xf(),a=VC(),u=bn(),l=fa(),f=lm(),d=Bs(),h=!u&&!f("filter",function(){}),p=!u&&!h&&d("filter",TypeError),m=u||h||p,S=o(function(){for(var E=this.iterator,_=this.predicate,w=this.next,T,C,x;;){if(T=n(t(w,E)),C=this.done=!!T.done,C)return;if(x=T.value,a(E,_,[x,this.counter++],!0))return x}});return e({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(_){n(this);try{r(_)}catch(w){l(this,"throw",w)}return p?t(p,this,_):new S(i(this),{predicate:_})}}),Yj}var Qj={},Jj;function Aoe(){if(Jj)return Qj;Jj=1;var e=$e(),t=pr(),r=Hi(),n=sn(),i=yr(),o=Ta(),a=fa(),u=Bs(),l=u("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(m,S){if(d(m,p++))return S(m)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),Qj}var Zj={},G0,eU;function GX(){if(eU)return G0;eU=1;var e=pr(),t=yr(),r=Ta(),n=hc();return G0=function(i,o){(!o||typeof i!="string")&&t(i);var a=n(i);return r(t(a!==void 0?e(a,i):i))},G0}var tU;function Roe(){if(tU)return Zj;tU=1;var e=$e(),t=pr(),r=sn(),n=yr(),i=Ta(),o=GX(),a=Xf(),u=fa(),l=bn(),f=lm(),d=Bs(),h=!l&&!f("flatMap",function(){}),p=!l&&!h&&d("flatMap",TypeError),m=l||h||p,S=a(function(){for(var E=this.iterator,_=this.mapper,w,T;;){if(T=this.inner)try{if(w=n(t(T.next,T.iterator)),!w.done)return w.value;this.inner=null}catch(C){u(E,"throw",C)}if(w=n(t(this.next,E)),this.done=!!w.done)return;try{this.inner=o(_(w.value,this.counter++),!1)}catch(C){u(E,"throw",C)}}});return e({target:"Iterator",proto:!0,real:!0,forced:m},{flatMap:function(_){n(this);try{r(_)}catch(w){u(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_,inner:null})}}),Zj}var rU={},nU;function xoe(){if(nU)return rU;nU=1;var e=$e(),t=pr(),r=Hi(),n=sn(),i=yr(),o=Ta(),a=fa(),u=Bs(),l=u("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;r(h,function(m){d(m,p++)},{IS_RECORD:!0})}}),rU}var iU={},aU;function Coe(){if(aU)return iU;aU=1;var e=$e(),t=pr(),r=yn(),n=Ua(),i=Gf().IteratorPrototype,o=Xf(),a=GX(),u=bn(),l=u||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),f=o(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:l},{from:function(h){var p=a(typeof h=="string"?r(h):h,!0);return n(i,p.iterator)?p.iterator:new f(p)}}),iU}var oU={},sU;function Ooe(){if(sU)return oU;sU=1;var e=$e(),t=pr(),r=sn(),n=yr(),i=Ta(),o=Xf(),a=VC(),u=fa(),l=lm(),f=Bs(),d=bn(),h=!d&&!l("map",function(){}),p=!d&&!h&&f("map",TypeError),m=d||h||p,S=o(function(){var E=this.iterator,_=n(t(this.next,E)),w=this.done=!!_.done;if(!w)return a(E,this.mapper,[_.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(_){n(this);try{r(_)}catch(w){u(this,"throw",w)}return p?t(p,this,_):new S(i(this),{mapper:_})}}),oU}var uU={},lU;function Ioe(){if(lU)return uU;lU=1;var e=$e(),t=Hi(),r=sn(),n=yr(),i=Ta(),o=fa(),a=Bs(),u=ko(),l=qt(),f=TypeError,d=l(function(){[].keys().reduce(function(){},void 0)}),h=!d&&a("reduce",f);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(m){n(this);try{r(m)}catch(T){o(this,"throw",T)}var S=arguments.length<2,E=S?void 0:arguments[1];if(h)return u(h,this,S?[m]:[m,E]);var _=i(this),w=0;if(t(_,function(T){S?(S=!1,E=T):E=m(E,T,w),w++},{IS_RECORD:!0}),S)throw new f("Reduce of empty iterator with no initial value");return E}}),uU}var cU={},fU;function Poe(){if(fU)return cU;fU=1;var e=$e(),t=pr(),r=Hi(),n=sn(),i=yr(),o=Ta(),a=fa(),u=Bs(),l=u("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(d){i(this);try{n(d)}catch(m){a(this,"throw",m)}if(l)return t(l,this,d);var h=o(this),p=0;return r(h,function(m,S){if(d(m,p++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),cU}var dU={},hU;function koe(){if(hU)return dU;hU=1;var e=$e(),t=pr(),r=yr(),n=Ta(),i=WX(),o=QC(),a=Xf(),u=fa(),l=Bs(),f=bn(),d=!f&&l("take",RangeError),h=a(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var m=r(t(this.next,p)),S=this.done=!!m.done;if(!S)return m.value});return e({target:"Iterator",proto:!0,real:!0,forced:f||d},{take:function(m){r(this);var S;try{S=o(i(+m))}catch(E){u(this,"throw",E)}return d?t(d,this,S):new h(n(this),{remaining:S})}}),dU}var pU={},vU;function Doe(){if(vU)return pU;vU=1;var e=$e(),t=yr(),r=Hi(),n=Ta(),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}}),pU}var gU={},mU;function Loe(){if(mU)return gU;mU=1;var e=Zt(),t=oo();return t(e.JSON,"JSON",!0),gU}var yU={},_U={},K0={exports:{}},Y0,EU;function JC(){if(EU)return Y0;EU=1;var e=qt();return Y0=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Y0}var X0,SU;function ZC(){if(SU)return X0;SU=1;var e=qt(),t=qr(),r=wa(),n=JC(),i=Object.isExtensible,o=e(function(){});return X0=o||n?function(u){return!t(u)||n&&r(u)==="ArrayBuffer"?!1:i?i(u):!0}:i,X0}var Q0,wU;function Qf(){if(wU)return Q0;wU=1;var e=qt();return Q0=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),Q0}var bU;function gc(){if(bU)return K0.exports;bU=1;var e=$e(),t=zt(),r=Nh(),n=qr(),i=un(),o=si().f,a=lc(),u=$C(),l=ZC(),f=Bf(),d=Qf(),h=!1,p=f("meta"),m=0,S=function(x){o(x,p,{value:{objectID:"O"+m++,weakData:{}}})},E=function(x,R){if(!n(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!i(x,p)){if(!l(x))return"F";if(!R)return"E";S(x)}return x[p].objectID},_=function(x,R){if(!i(x,p)){if(!l(x))return!0;if(!R)return!1;S(x)}return x[p].weakData},w=function(x){return d&&h&&l(x)&&!i(x,p)&&S(x),x},T=function(){C.enable=function(){},h=!0;var x=a.f,R=t([].splice),P={};P[p]=1,x(P).length&&(a.f=function(y){for(var N=x(y),$=0,H=N.length;$<H;$++)if(N[$]===p){R(N,$,1);break}return N},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},C=K0.exports={enable:T,fastKey:E,getWeakData:_,onFreeze:w};return r[p]=!0,K0.exports}var J0,TU;function cm(){if(TU)return J0;TU=1;var e=$e(),t=Zt(),r=zt(),n=$h(),i=$n(),o=gc(),a=Hi(),u=Do(),l=ln(),f=_u(),d=qr(),h=qt(),p=em(),m=oo(),S=dc();return J0=function(E,_,w){var T=E.indexOf("Map")!==-1,C=E.indexOf("Weak")!==-1,x=T?"set":"add",R=t[E],P=R&&R.prototype,y=R,N={},$=function(ne){var pe=r(P[ne]);i(P,ne,ne==="add"?function(te){return pe(this,te===0?0:te),this}:ne==="delete"?function(K){return C&&!d(K)?!1:pe(this,K===0?0:K)}:ne==="get"?function(te){return C&&!d(te)?void 0:pe(this,te===0?0:te)}:ne==="has"?function(te){return C&&!d(te)?!1:pe(this,te===0?0:te)}:function(te,z){return pe(this,te===0?0:te,z),this})},H=n(E,!l(R)||!(C||P.forEach&&!h(function(){new R().entries().next()})));if(H)y=w.getConstructor(_,E,T,x),o.enable();else if(n(E,!0)){var B=new y,W=B[x](C?{}:-0,1)!==B,X=h(function(){B.has(1)}),J=p(function(ne){new R(ne)}),ie=!C&&h(function(){for(var ne=new R,pe=5;pe--;)ne[x](pe,pe);return!ne.has(-0)});J||(y=_(function(ne,pe){u(ne,P);var K=S(new R,ne,y);return f(pe)||a(pe,K[x],{that:K,AS_ENTRIES:T}),K}),y.prototype=P,P.constructor=y),(X||ie)&&($("delete"),$("has"),T&&$("get")),(ie||W)&&$(x),C&&P.clear&&delete P.clear}return N[E]=y,e({global:!0,constructor:!0,forced:y!==R},N),m(y,E),C||w.setStrong(y,E,T),y},J0}var Z0,AU;function KX(){if(AU)return Z0;AU=1;var e=la(),t=Pi(),r=bu(),n=Po(),i=Do(),o=_u(),a=Hi(),u=zC(),l=vc(),f=Yf(),d=Rr(),h=gc().fastKey,p=Ei(),m=p.set,S=p.getterFor;return Z0={getConstructor:function(E,_,w,T){var C=E(function(N,$){i(N,x),m(N,{type:_,index:e(null),first:null,last:null,size:0}),d||(N.size=0),o($)||a($,N[T],{that:N,AS_ENTRIES:w})}),x=C.prototype,R=S(_),P=function(N,$,H){var B=R(N),W=y(N,$),X,J;return W?W.value=H:(B.last=W={index:J=h($,!0),key:$,value:H,previous:X=B.last,next:null,removed:!1},B.first||(B.first=W),X&&(X.next=W),d?B.size++:N.size++,J!=="F"&&(B.index[J]=W)),N},y=function(N,$){var H=R(N),B=h($),W;if(B!=="F")return H.index[B];for(W=H.first;W;W=W.next)if(W.key===$)return W};return r(x,{clear:function(){for(var $=this,H=R($),B=H.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=null),B=B.next;H.first=H.last=null,H.index=e(null),d?H.size=0:$.size=0},delete:function(N){var $=this,H=R($),B=y($,N);if(B){var W=B.next,X=B.previous;delete H.index[B.index],B.removed=!0,X&&(X.next=W),W&&(W.previous=X),H.first===B&&(H.first=W),H.last===B&&(H.last=X),d?H.size--:$.size--}return!!B},forEach:function($){for(var H=R(this),B=n($,arguments.length>1?arguments[1]:void 0),W;W=W?W.next:H.first;)for(B(W.value,W.key,this);W&&W.removed;)W=W.previous},has:function($){return!!y(this,$)}}),r(x,w?{get:function($){var H=y(this,$);return H&&H.value},set:function($,H){return P(this,$===0?0:$,H)}}:{add:function($){return P(this,$=$===0?0:$,$)}}),d&&t(x,"size",{configurable:!0,get:function(){return R(this).size}}),C},setStrong:function(E,_,w){var T=_+" Iterator",C=S(_),x=S(T);u(E,_,function(R,P){m(this,{type:T,target:R,state:C(R),kind:P,last:null})},function(){for(var R=x(this),P=R.kind,y=R.last;y&&y.removed;)y=y.previous;return!R.target||!(R.last=y=y?y.next:R.state.first)?(R.target=null,l(void 0,!0)):l(P==="keys"?y.key:P==="values"?y.value:[y.key,y.value],!1)},w?"entries":"values",!w,!0),f(_)}},Z0}var RU;function Noe(){if(RU)return _U;RU=1;var e=cm(),t=KX();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),_U}var xU;function Moe(){return xU||(xU=1,Noe()),yU}var CU={},ew,OU;function YX(){if(OU)return ew;OU=1;var e=zt(),t=Map.prototype;return ew={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},ew}var IU;function $oe(){if(IU)return CU;IU=1;var e=$e(),t=zt(),r=sn(),n=fi(),i=Hi(),o=YX(),a=bn(),u=qt(),l=o.Map,f=o.has,d=o.get,h=o.set,p=t([].push),m=a||u(function(){return l.groupBy("ab",function(S){return S}).get("a").length!==1});return e({target:"Map",stat:!0,forced:a||m},{groupBy:function(E,_){n(E),r(_);var w=new l,T=0;return i(E,function(C){var x=_(C,T++);f(w,x)?p(d(w,x),C):h(w,x,[C])}),w}}),CU}var PU={},tw,kU;function XX(){if(kU)return tw;kU=1;var e=Math.log;return tw=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},tw}var DU;function Foe(){if(DU)return PU;DU=1;var e=$e(),t=XX(),r=Math.acosh,n=Math.log,i=Math.sqrt,o=Math.LN2,a=!r||Math.floor(r(Number.MAX_VALUE))!==710||r(1/0)!==1/0;return e({target:"Math",stat:!0,forced:a},{acosh:function(l){var f=+l;return f<1?NaN:f>9490626562425156e-8?n(f)+o:t(f-1+i(f-1)*i(f+1))}}),PU}var LU={},NU;function joe(){if(NU)return LU;NU=1;var e=$e(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(a){var u=+a;return!isFinite(u)||u===0?u:u<0?-i(-u):r(u+n(u*u+1))}var o=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:o},{asinh:i}),LU}var MU={},$U;function Uoe(){if($U)return MU;$U=1;var e=$e(),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}}),MU}var FU={},jU;function qoe(){if(jU)return FU;jU=1;var e=$e(),t=YC(),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)}}),FU}var UU={},qU;function Boe(){if(qU)return UU;qU=1;var e=$e(),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}}),UU}var BU={},rw,VU;function fm(){if(VU)return rw;VU=1;var e=Math.expm1,t=Math.exp;return rw=!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,rw}var HU;function Voe(){if(HU)return BU;HU=1;var e=$e(),t=fm(),r=Math.cosh,n=Math.abs,i=Math.E,o=!r||r(710)===1/0;return e({target:"Math",stat:!0,forced:o},{cosh:function(u){var l=t(n(u)-1)+1;return(l+1/(l*i*i))*(i/2)}}),BU}var zU={},WU;function Hoe(){if(WU)return zU;WU=1;var e=$e(),t=fm();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),zU}var GU={},KU;function zoe(){if(KU)return GU;KU=1;var e=$e(),t=$X();return e({target:"Math",stat:!0},{fround:t}),GU}var YU={},XU;function Woe(){if(XU)return YU;XU=1;var e=$e(),t=MX(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(a){return t(a,r,n,i)}}),YU}var QU={},JU;function Goe(){if(JU)return QU;JU=1;var e=$e(),t=Math.hypot,r=Math.abs,n=Math.sqrt,i=!!t&&t(1/0,NaN)!==1/0;return e({target:"Math",stat:!0,arity:2,forced:i},{hypot:function(a,u){for(var l=0,f=0,d=arguments.length,h=0,p,m;f<d;)p=r(arguments[f++]),h<p?(m=h/p,l=l*m*m+1,h=p):p>0?(m=p/h,l+=m*m):l+=p;return h===1/0?1/0:h*n(l)}}),QU}var ZU={},e3;function Koe(){if(e3)return ZU;e3=1;var e=$e(),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 u=65535,l=+o,f=+a,d=u&l,h=u&f;return 0|d*h+((u&l>>>16)*h+d*(u&f>>>16)<<16>>>0)}}),ZU}var t3={},nw,r3;function QX(){if(r3)return nw;r3=1;var e=Math.log,t=Math.LOG10E;return nw=Math.log10||function(n){return e(n)*t},nw}var n3;function Yoe(){if(n3)return t3;n3=1;var e=$e(),t=QX();return e({target:"Math",stat:!0},{log10:t}),t3}var i3={},a3;function Xoe(){if(a3)return i3;a3=1;var e=$e(),t=XX();return e({target:"Math",stat:!0},{log1p:t}),i3}var o3={},s3;function Qoe(){if(s3)return o3;s3=1;var e=$e(),t=FX();return e({target:"Math",stat:!0},{log2:t}),o3}var u3={},l3;function Joe(){if(l3)return u3;l3=1;var e=$e(),t=YC();return e({target:"Math",stat:!0},{sign:t}),u3}var c3={},f3;function Zoe(){if(f3)return c3;f3=1;var e=$e(),t=qt(),r=fm(),n=Math.abs,i=Math.exp,o=Math.E,a=t(function(){return Math.sinh(-2e-17)!==-2e-17});return e({target:"Math",stat:!0,forced:a},{sinh:function(l){var f=+l;return n(f)<1?(r(f)-r(-f))/2:(i(f-1)-i(-f-1))*(o/2)}}),c3}var d3={},h3;function ese(){if(h3)return d3;h3=1;var e=$e(),t=zt(),r=Hi(),n=RangeError,i=TypeError,o=1/0,a=NaN,u=Math.abs,l=Math.pow,f=t([].push),d=l(2,1023),h=l(2,53)-1,p=Number.MAX_VALUE,m=l(2,971),S={},E={},_={},w={},T={},C=function(x,R){var P=x+R,y=R-(P-x);return{hi:P,lo:y}};return e({target:"Math",stat:!0},{sumPrecise:function(R){var P=[],y=0,N=w;switch(r(R,function(Le){if(++y>=h)throw new n("Maximum allowed index exceeded");if(typeof Le!="number")throw new i("Value is not a number");N!==S&&(Le!==Le?N=S:Le===o?N=N===E?S:_:Le===-o?N=N===_?S:E:(Le!==0||1/Le===o)&&(N===w||N===T)&&(N=T,f(P,Le)))}),N){case S:return a;case E:return-o;case _:return o;case w:return-0}for(var $=[],H=0,B,W,X,J,ie,ne,pe=0;pe<P.length;pe++){B=P[pe];for(var K=0,te=0;te<$.length;te++){if(W=$[te],u(B)<u(W)&&(ne=B,B=W,W=ne),X=C(B,W),J=X.hi,ie=X.lo,u(J)===o){var z=J===o?1:-1;H+=z,B=B-z*d-z*d,u(B)<u(W)&&(ne=B,B=W,W=ne),X=C(B,W),J=X.hi,ie=X.lo}ie!==0&&($[K++]=ie),B=J}$.length=K,B!==0&&f($,B)}var ce=$.length-1;if(J=0,ie=0,H!==0){var Se=ce>=0?$[ce]:0;if(ce--,u(H)>1||H>0&&Se>0||H<0&&Se<0)return H>0?o:-o;if(X=C(H*d,Se/2),J=X.hi,ie=X.lo,ie*=2,u(2*J)===o)return J>0?J===d&&ie===-(m/2)&&ce>=0&&$[ce]<0?p:o:J===-d&&ie===m/2&&ce>=0&&$[ce]>0?-p:-o;ie!==0&&($[++ce]=ie,ie=0),J*=2}for(;ce>=0&&(X=C(J,$[ce--]),J=X.hi,ie=X.lo,ie===0););return ce>=0&&(ie<0&&$[ce]<0||ie>0&&$[ce]>0)&&(W=ie*2,B=J+W,W===B-J&&(J=B)),J}}),d3}var p3={},v3;function tse(){if(v3)return p3;v3=1;var e=$e(),t=fm(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var o=+i,a=t(o),u=t(-o);return a===1/0?1:u===1/0?-1:(a-u)/(r(o)+r(-o))}}),p3}var g3={},m3;function rse(){if(m3)return g3;m3=1;var e=oo();return e(Math,"Math",!0),g3}var y3={},_3;function nse(){if(_3)return y3;_3=1;var e=$e(),t=fX();return e({target:"Math",stat:!0},{trunc:t}),y3}var E3={},iw,S3;function dm(){if(S3)return iw;S3=1;var e=zt();return iw=e(1.1.valueOf),iw}var aw,w3;function Hh(){return w3||(w3=1,aw=`
|
|
3
|
-
\v\f\r \u2028\u2029\uFEFF`),aw}var ow,b3;function Jf(){if(b3)return ow;b3=1;var e=zt(),t=fi(),r=Yr(),n=Hh(),i=e("".replace),o=RegExp("^["+n+"]+"),a=RegExp("(^|[^"+n+"])["+n+"]+$"),u=function(l){return function(f){var d=r(t(f));return l&1&&(d=i(d,o,"")),l&2&&(d=i(d,a,"$1")),d}};return ow={start:u(1),end:u(2),trim:u(3)},ow}var T3;function ise(){if(T3)return E3;T3=1;var e=$e(),t=bn(),r=Rr(),n=Zt(),i=Xg(),o=zt(),a=$h(),u=un(),l=dc(),f=Ua(),d=sc(),h=Wg(),p=qt(),m=lc().f,S=sa().f,E=si().f,_=dm(),w=Jf().trim,T="Number",C=n[T],x=i[T],R=C.prototype,P=n.TypeError,y=o("".slice),N=o("".charCodeAt),$=function(ie){var ne=h(ie,"number");return typeof ne=="bigint"?ne:H(ne)},H=function(ie){var ne=h(ie,"number"),pe,K,te,z,ce,Se,Le,Be;if(d(ne))throw new P("Cannot convert a Symbol value to a number");if(typeof ne=="string"&&ne.length>2){if(ne=w(ne),pe=N(ne,0),pe===43||pe===45){if(K=N(ne,2),K===88||K===120)return NaN}else if(pe===48){switch(N(ne,1)){case 66:case 98:te=2,z=49;break;case 79:case 111:te=8,z=55;break;default:return+ne}for(ce=y(ne,2),Se=ce.length,Le=0;Le<Se;Le++)if(Be=N(ce,Le),Be<48||Be>z)return NaN;return parseInt(ce,te)}}return+ne},B=a(T,!C(" 0o1")||!C("0b1")||C("+0x1")),W=function(ie){return f(R,ie)&&p(function(){_(ie)})},X=function(ne){var pe=arguments.length<1?0:C($(ne));return W(this)?l(Object(pe),this,X):pe};X.prototype=R,B&&!t&&(R.constructor=X),e({global:!0,constructor:!0,wrap:!0,forced:B},{Number:X});var J=function(ie,ne){for(var pe=r?m(ne):"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(","),K=0,te;pe.length>K;K++)u(ne,te=pe[K])&&!u(ie,te)&&E(ie,te,S(ne,te))};return t&&x&&J(i[T],x),(B||t)&&J(i[T],C),E3}var A3={},R3;function ase(){if(R3)return A3;R3=1;var e=$e();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),A3}var x3={},sw,C3;function ose(){if(C3)return sw;C3=1;var e=Zt(),t=e.isFinite;return sw=Number.isFinite||function(n){return typeof n=="number"&&t(n)},sw}var O3;function sse(){if(O3)return x3;O3=1;var e=$e(),t=ose();return e({target:"Number",stat:!0},{isFinite:t}),x3}var I3={},uw,P3;function eO(){if(P3)return uw;P3=1;var e=qr(),t=Math.floor;return uw=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},uw}var k3;function use(){if(k3)return I3;k3=1;var e=$e(),t=eO();return e({target:"Number",stat:!0},{isInteger:t}),I3}var D3={},L3;function lse(){if(L3)return D3;L3=1;var e=$e();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),D3}var N3={},M3;function cse(){if(M3)return N3;M3=1;var e=$e(),t=eO(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),N3}var $3={},F3;function fse(){if(F3)return $3;F3=1;var e=$e();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),$3}var j3={},U3;function dse(){if(U3)return j3;U3=1;var e=$e();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),j3}var q3={},lw,B3;function JX(){if(B3)return lw;B3=1;var e=Zt(),t=qt(),r=zt(),n=Yr(),i=Jf().trim,o=Hh(),a=r("".charAt),u=e.parseFloat,l=e.Symbol,f=l&&l.iterator,d=1/u(o+"-0")!==-1/0||f&&!t(function(){u(Object(f))});return lw=d?function(p){var m=i(n(p)),S=u(m);return S===0&&a(m,0)==="-"?-0:S}:u,lw}var V3;function hse(){if(V3)return q3;V3=1;var e=$e(),t=JX();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),q3}var H3={},cw,z3;function ZX(){if(z3)return cw;z3=1;var e=Zt(),t=qt(),r=zt(),n=Yr(),i=Jf().trim,o=Hh(),a=e.parseInt,u=e.Symbol,l=u&&u.iterator,f=/^[+-]?0x/i,d=r(f.exec),h=a(o+"08")!==8||a(o+"0x16")!==22||l&&!t(function(){a(Object(l))});return cw=h?function(m,S){var E=i(n(m));return a(E,S>>>0||(d(f,E)?16:10))}:a,cw}var W3;function pse(){if(W3)return H3;W3=1;var e=$e(),t=ZX();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),H3}var G3={},K3;function vse(){if(K3)return G3;K3=1;var e=$e(),t=zt(),r=Ai(),n=dm(),i=sm(),o=QX(),a=qt(),u=RangeError,l=String,f=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,m=Math.round,S=t(1.1.toExponential),E=t(i),_=t("".slice),w=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",T=function(){return a(function(){S(1,1/0)})&&a(function(){S(1,-1/0)})},C=function(){return!a(function(){S(1/0,1/0),S(NaN,1/0)})},x=!w||!T()||!C();return e({target:"Number",proto:!0,forced:x},{toExponential:function(P){var y=n(this);if(P===void 0)return S(y);var N=r(P);if(!f(y))return String(y);if(N<0||N>20)throw new u("Incorrect fraction digits");if(w)return S(y,N);var $="",H,B,W,X;if(y<0&&($="-",y=-y),y===0)B=0,H=E("0",N+1);else{var J=o(y);B=h(J);var ie=p(10,B-N),ne=m(y/ie);2*y>=(2*ne+1)*ie&&(ne+=1),ne>=p(10,N+1)&&(ne/=10,B+=1),H=l(ne)}return N!==0&&(H=_(H,0,1)+"."+_(H,1)),B===0?(W="+",X="0"):(W=B>0?"+":"-",X=l(d(B))),H+="e"+W+X,$+H}}),G3}var Y3={},X3;function gse(){if(X3)return Y3;X3=1;var e=$e(),t=zt(),r=Ai(),n=dm(),i=sm(),o=qt(),a=RangeError,u=String,l=Math.floor,f=t(i),d=t("".slice),h=t(1.1.toFixed),p=function(T,C,x){return C===0?x:C%2===1?p(T,C-1,x*T):p(T*T,C/2,x)},m=function(T){for(var C=0,x=T;x>=4096;)C+=12,x/=4096;for(;x>=2;)C+=1,x/=2;return C},S=function(T,C,x){for(var R=-1,P=x;++R<6;)P+=C*T[R],T[R]=P%1e7,P=l(P/1e7)},E=function(T,C){for(var x=6,R=0;--x>=0;)R+=T[x],T[x]=l(R/C),R=R%C*1e7},_=function(T){for(var C=6,x="";--C>=0;)if(x!==""||C===0||T[C]!==0){var R=u(T[C]);x=x===""?R:x+f("0",7-R.length)+R}return x},w=o(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){h({})});return e({target:"Number",proto:!0,forced:w},{toFixed:function(C){var x=n(this),R=r(C),P=[0,0,0,0,0,0],y="",N="0",$,H,B,W;if(R<0||R>20)throw new a("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return u(x);if(x<0&&(y="-",x=-x),x>1e-21)if($=m(x*p(2,69,1))-69,H=$<0?x*p(2,-$,1):x/p(2,$,1),H*=4503599627370496,$=52-$,$>0){for(S(P,0,H),B=R;B>=7;)S(P,1e7,0),B-=7;for(S(P,p(10,B,1),0),B=$-1;B>=23;)E(P,1<<23),B-=23;E(P,1<<B),S(P,1,1),E(P,2),N=_(P)}else S(P,0,H),S(P,1<<-$,0),N=_(P)+f("0",R);return R>0?(W=N.length,N=y+(W<=R?"0."+f("0",R-W)+N:d(N,0,W-R)+"."+d(N,W-R))):N=y+N,N}}),Y3}var Q3={},J3;function mse(){if(J3)return Q3;J3=1;var e=$e(),t=zt(),r=qt(),n=dm(),i=t(1.1.toPrecision),o=r(function(){return i(1,void 0)!=="1"})||!r(function(){i({})});return e({target:"Number",proto:!0,forced:o},{toPrecision:function(u){return u===void 0?i(n(this)):i(n(this),u)}}),Q3}var Z3={},fw,eq;function eQ(){if(eq)return fw;eq=1;var e=Rr(),t=zt(),r=pr(),n=qt(),i=Fh(),o=Yg(),a=Hg(),u=yn(),l=jf(),f=Object.assign,d=Object.defineProperty,h=t([].concat);return fw=!f||n(function(){if(e&&f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var p={},m={},S=Symbol("assign detection"),E="abcdefghijklmnopqrst";return p[S]=7,E.split("").forEach(function(_){m[_]=_}),f({},p)[S]!==7||i(f({},m)).join("")!==E})?function(m,S){for(var E=u(m),_=arguments.length,w=1,T=o.f,C=a.f;_>w;)for(var x=l(arguments[w++]),R=T?h(i(x),T(x)):i(x),P=R.length,y=0,N;P>y;)N=R[y++],(!e||r(C,x,N))&&(E[N]=x[N]);return E}:f,fw}var tq;function yse(){if(tq)return Z3;tq=1;var e=$e(),t=eQ();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),Z3}var rq={},nq;function _se(){if(nq)return rq;nq=1;var e=$e(),t=Rr(),r=la();return e({target:"Object",stat:!0,sham:!t},{create:r}),rq}var iq={},dw,aq;function hm(){if(aq)return dw;aq=1;var e=bn(),t=Zt(),r=qt(),n=KC();return dw=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),dw}var oq;function Ese(){if(oq)return iq;oq=1;var e=$e(),t=Rr(),r=hm(),n=sn(),i=yn(),o=si();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(u,l){o.f(i(this),u,{get:n(l),enumerable:!0,configurable:!0})}}),iq}var sq={},uq;function Sse(){if(uq)return sq;uq=1;var e=$e(),t=Rr(),r=MC().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),sq}var lq={},cq;function wse(){if(cq)return lq;cq=1;var e=$e(),t=Rr(),r=si().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),lq}var fq={},dq;function bse(){if(dq)return fq;dq=1;var e=$e(),t=Rr(),r=hm(),n=sn(),i=yn(),o=si();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(u,l){o.f(i(this),u,{set:n(l),enumerable:!0,configurable:!0})}}),fq}var hq={},hw,pq;function tQ(){if(pq)return hw;pq=1;var e=Rr(),t=qt(),r=zt(),n=qa(),i=Fh(),o=Ji(),a=Hg().f,u=r(a),l=r([].push),f=e&&t(function(){var h=Object.create(null);return h[2]=2,!u(h,2)}),d=function(h){return function(p){for(var m=o(p),S=i(m),E=f&&n(m)===null,_=S.length,w=0,T=[],C;_>w;)C=S[w++],(!e||(E?C in m:u(m,C)))&&l(T,h?[C,m[C]]:m[C]);return T}};return hw={entries:d(!0),values:d(!1)},hw}var vq;function Tse(){if(vq)return hq;vq=1;var e=$e(),t=tQ().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),hq}var gq={},mq;function Ase(){if(mq)return gq;mq=1;var e=$e(),t=Qf(),r=qt(),n=qr(),i=gc().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}}),gq}var yq={},_q;function Rse(){if(_q)return yq;_q=1;var e=$e(),t=Hi(),r=Su();return e({target:"Object",stat:!0},{fromEntries:function(i){var o={};return t(i,function(a,u){r(o,a,u)},{AS_ENTRIES:!0}),o}}),yq}var Eq={},Sq;function xse(){if(Sq)return Eq;Sq=1;var e=$e(),t=qt(),r=Ji(),n=sa().f,i=Rr(),o=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getOwnPropertyDescriptor:function(u,l){return n(r(u),l)}}),Eq}var wq={},bq;function Cse(){if(bq)return wq;bq=1;var e=$e(),t=Rr(),r=LC(),n=Ji(),i=sa(),o=Su();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(u){for(var l=n(u),f=i.f,d=r(l),h={},p=0,m,S;d.length>p;)S=f(l,m=d[p++]),S!==void 0&&o(h,m,S);return h}}),wq}var Tq={},Aq;function Ose(){if(Aq)return Tq;Aq=1;var e=$e(),t=qt(),r=$C().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),Tq}var Rq={},xq;function Ise(){if(xq)return Rq;xq=1;var e=$e(),t=qt(),r=yn(),n=qa(),i=UC(),o=t(function(){n(1)});return e({target:"Object",stat:!0,forced:o,sham:!i},{getPrototypeOf:function(u){return n(r(u))}}),Rq}var Cq={},Oq;function Pse(){if(Oq)return Cq;Oq=1;var e=$e(),t=on(),r=zt(),n=sn(),i=fi(),o=ul(),a=Hi(),u=qt(),l=Object.groupBy,f=t("Object","create"),d=r([].push),h=!l||u(function(){return l("ab",function(p){return p}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(m,S){i(m),n(S);var E=f(null),_=0;return a(m,function(w){var T=o(S(w,_++));T in E?d(E[T],w):E[T]=[w]}),E}}),Cq}var Iq={},Pq;function kse(){if(Pq)return Iq;Pq=1;var e=$e(),t=un();return e({target:"Object",stat:!0},{hasOwn:t}),Iq}var kq={},pw,Dq;function rQ(){return Dq||(Dq=1,pw=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),pw}var Lq;function Dse(){if(Lq)return kq;Lq=1;var e=$e(),t=rQ();return e({target:"Object",stat:!0},{is:t}),kq}var Nq={},Mq;function Lse(){if(Mq)return Nq;Mq=1;var e=$e(),t=ZC();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),Nq}var $q={},Fq;function Nse(){if(Fq)return $q;Fq=1;var e=$e(),t=qt(),r=qr(),n=wa(),i=JC(),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}}),$q}var jq={},Uq;function Mse(){if(Uq)return jq;Uq=1;var e=$e(),t=qt(),r=qr(),n=wa(),i=JC(),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}}),jq}var qq={},Bq;function $se(){if(Bq)return qq;Bq=1;var e=$e(),t=yn(),r=Fh(),n=qt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(a){return r(t(a))}}),qq}var Vq={},Hq;function Fse(){if(Hq)return Vq;Hq=1;var e=$e(),t=Rr(),r=hm(),n=yn(),i=ul(),o=qa(),a=sa().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(l){var f=n(this),d=i(l),h;do if(h=a(f,d))return h.get;while(f=o(f))}}),Vq}var zq={},Wq;function jse(){if(Wq)return zq;Wq=1;var e=$e(),t=Rr(),r=hm(),n=yn(),i=ul(),o=qa(),a=sa().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(l){var f=n(this),d=i(l),h;do if(h=a(f,d))return h.set;while(f=o(f))}}),zq}var Gq={},Kq;function Use(){if(Kq)return Gq;Kq=1;var e=$e(),t=qr(),r=gc().onFreeze,n=Qf(),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}}),Gq}var Yq={},Xq;function qse(){if(Xq)return Yq;Xq=1;var e=Rr(),t=Pi(),r=qr(),n=yX(),i=yn(),o=fi(),a=Object.getPrototypeOf,u=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(e&&a&&u&&!(f in l))try{t(l,f,{configurable:!0,get:function(){return a(i(this))},set:function(h){var p=o(this);n(h)&&r(p)&&u(p,h)}})}catch{}return Yq}var Qq={},Jq;function Bse(){if(Jq)return Qq;Jq=1;var e=$e(),t=qr(),r=gc().onFreeze,n=Qf(),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}}),Qq}var Zq={},eB;function Vse(){if(eB)return Zq;eB=1;var e=$e(),t=_s();return e({target:"Object",stat:!0},{setPrototypeOf:t}),Zq}var tB={},vw,rB;function Hse(){if(rB)return vw;rB=1;var e=NC(),t=Io();return vw=e?{}.toString:function(){return"[object "+t(this)+"]"},vw}var nB;function zse(){if(nB)return tB;nB=1;var e=NC(),t=$n(),r=Hse();return e||t(Object.prototype,"toString",r,{unsafe:!0}),tB}var iB={},aB;function Wse(){if(aB)return iB;aB=1;var e=$e(),t=tQ().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),iB}var oB={},sB;function Gse(){if(sB)return oB;sB=1;var e=$e(),t=JX();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),oB}var uB={},lB;function Kse(){if(lB)return uB;lB=1;var e=$e(),t=ZX();return e({global:!0,forced:parseInt!==t},{parseInt:t}),uB}var cB={},fB={},gw,dB;function tO(){if(dB)return gw;dB=1;var e=fc(),t=uc(),r=TypeError;return gw=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},gw}var mw,hB;function pm(){if(hB)return mw;hB=1;var e=yr(),t=tO(),r=_u(),n=Br(),i=n("species");return mw=function(o,a){var u=e(o).constructor,l;return u===void 0||r(l=e(u)[i])?a:t(l)},mw}var yw,pB;function ns(){if(pB)return yw;pB=1;var e=TypeError;return yw=function(t,r){if(t<r)throw new e("Not enough arguments");return t},yw}var _w,vB;function nQ(){if(vB)return _w;vB=1;var e=Us();return _w=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),_w}var Ew,gB;function vm(){if(gB)return Ew;gB=1;var e=Zt(),t=ko(),r=Po(),n=ln(),i=un(),o=qt(),a=hX(),u=rs(),l=Gg(),f=ns(),d=nQ(),h=Kf(),p=e.setImmediate,m=e.clearImmediate,S=e.process,E=e.Dispatch,_=e.Function,w=e.MessageChannel,T=e.String,C=0,x={},R="onreadystatechange",P,y,N,$;o(function(){P=e.location});var H=function(J){if(i(x,J)){var ie=x[J];delete x[J],ie()}},B=function(J){return function(){H(J)}},W=function(J){H(J.data)},X=function(J){e.postMessage(T(J),P.protocol+"//"+P.host)};return(!p||!m)&&(p=function(ie){f(arguments.length,1);var ne=n(ie)?ie:_(ie),pe=u(arguments,1);return x[++C]=function(){t(ne,void 0,pe)},y(C),C},m=function(ie){delete x[ie]},h?y=function(J){S.nextTick(B(J))}:E&&E.now?y=function(J){E.now(B(J))}:w&&!d?(N=new w,$=N.port2,N.port1.onmessage=W,y=r($.postMessage,$)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&P&&P.protocol!=="file:"&&!o(X)?(y=X,e.addEventListener("message",W,!1)):R in l("script")?y=function(J){a.appendChild(l("script"))[R]=function(){a.removeChild(this),H(J)}}:y=function(J){setTimeout(B(J),0)}),Ew={set:p,clear:m},Ew}var Sw,mB;function iQ(){if(mB)return Sw;mB=1;var e=Zt(),t=Rr(),r=Object.getOwnPropertyDescriptor;return Sw=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},Sw}var ww,yB;function aQ(){if(yB)return ww;yB=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}}},ww=e,ww}var bw,_B;function Yse(){if(_B)return bw;_B=1;var e=Us();return bw=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",bw}var Tw,EB;function Xse(){if(EB)return Tw;EB=1;var e=Us();return Tw=/web0s(?!.*chrome)/i.test(e),Tw}var Aw,SB;function oQ(){if(SB)return Aw;SB=1;var e=Zt(),t=iQ(),r=Po(),n=vm().set,i=aQ(),o=nQ(),a=Yse(),u=Xse(),l=Kf(),f=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,p=e.Promise,m=t("queueMicrotask"),S,E,_,w,T;if(!m){var C=new i,x=function(){var R,P;for(l&&(R=h.domain)&&R.exit();P=C.get();)try{P()}catch(y){throw C.head&&S(),y}R&&R.enter()};!o&&!l&&!u&&f&&d?(E=!0,_=d.createTextNode(""),new f(x).observe(_,{characterData:!0}),S=function(){_.data=E=!E}):!a&&p&&p.resolve?(w=p.resolve(void 0),w.constructor=p,T=r(w.then,w),S=function(){T(x)}):l?S=function(){h.nextTick(x)}:(n=r(n,e),S=function(){n(x)}),m=function(R){C.head||S(),C.add(R)}}return Aw=m,Aw}var Rw,wB;function Qse(){return wB||(wB=1,Rw=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Rw}var xw,bB;function Zf(){return bB||(bB=1,xw=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),xw}var Cw,TB;function ed(){if(TB)return Cw;TB=1;var e=Zt();return Cw=e.Promise,Cw}var Ow,AB;function zh(){if(AB)return Ow;AB=1;var e=Zt(),t=ed(),r=ln(),n=$h(),i=PC(),o=Br(),a=nm(),u=bn(),l=qs(),f=t&&t.prototype,d=o("species"),h=!1,p=r(e.PromiseRejectionEvent),m=n("Promise",function(){var S=i(t),E=S!==String(t);if(!E&&l===66||u&&!(f.catch&&f.finally))return!0;if(!l||l<51||!/native code/.test(S)){var _=new t(function(C){C(1)}),w=function(C){C(function(){},function(){})},T=_.constructor={};if(T[d]=w,h=_.then(function(){})instanceof w,!h)return!0}return!E&&(a==="BROWSER"||a==="DENO")&&!p});return Ow={CONSTRUCTOR:m,REJECTION_EVENT:p,SUBCLASSING:h},Ow}var Iw={},RB;function Tu(){if(RB)return Iw;RB=1;var e=sn(),t=TypeError,r=function(n){var i,o;this.promise=new n(function(a,u){if(i!==void 0||o!==void 0)throw new t("Bad Promise constructor");i=a,o=u}),this.resolve=e(i),this.reject=e(o)};return Iw.f=function(n){return new r(n)},Iw}var xB;function Jse(){if(xB)return fB;xB=1;var e=$e(),t=bn(),r=Kf(),n=Zt(),i=Xg(),o=pr(),a=$n(),u=_s(),l=oo(),f=Yf(),d=sn(),h=ln(),p=qr(),m=Do(),S=pm(),E=vm().set,_=oQ(),w=Qse(),T=Zf(),C=aQ(),x=Ei(),R=ed(),P=zh(),y=Tu(),N="Promise",$=P.CONSTRUCTOR,H=P.REJECTION_EVENT,B=P.SUBCLASSING,W=x.getterFor(N),X=x.set,J=R&&R.prototype,ie=R,ne=J,pe=n.TypeError,K=n.document,te=n.process,z=y.f,ce=z,Se=!!(K&&K.createEvent&&n.dispatchEvent),Le="unhandledrejection",Be="rejectionhandled",Xe=0,oe=1,O=2,I=1,M=2,k,U,Y,ae,Ee=function(qe){var Ue;return p(qe)&&h(Ue=qe.then)?Ue:!1},me=function(qe,Ue){var We=Ue.value,ct=Ue.state===oe,jt=ct?qe.ok:qe.fail,Gt=qe.resolve,et=qe.reject,Rt=qe.domain,Et,st,ft;try{jt?(ct||(Ue.rejection===M&&ve(Ue),Ue.rejection=I),jt===!0?Et=We:(Rt&&Rt.enter(),Et=jt(We),Rt&&(Rt.exit(),ft=!0)),Et===qe.promise?et(new pe("Promise-chain cycle")):(st=Ee(Et))?o(st,Et,Gt,et):Gt(Et)):et(We)}catch(mt){Rt&&!ft&&Rt.exit(),et(mt)}},Ce=function(qe,Ue){qe.notified||(qe.notified=!0,_(function(){for(var We=qe.reactions,ct;ct=We.get();)me(ct,qe);qe.notified=!1,Ue&&!qe.rejection&&Ie(qe)}))},be=function(qe,Ue,We){var ct,jt;Se?(ct=K.createEvent("Event"),ct.promise=Ue,ct.reason=We,ct.initEvent(qe,!1,!0),n.dispatchEvent(ct)):ct={promise:Ue,reason:We},!H&&(jt=n["on"+qe])?jt(ct):qe===Le&&w("Unhandled promise rejection",We)},Ie=function(qe){o(E,n,function(){var Ue=qe.facade,We=qe.value,ct=Fe(qe),jt;if(ct&&(jt=T(function(){r?te.emit("unhandledRejection",We,Ue):be(Le,Ue,We)}),qe.rejection=r||Fe(qe)?M:I,jt.error))throw jt.value})},Fe=function(qe){return qe.rejection!==I&&!qe.parent},ve=function(qe){o(E,n,function(){var Ue=qe.facade;r?te.emit("rejectionHandled",Ue):be(Be,Ue,qe.value)})},_e=function(qe,Ue,We){return function(ct){qe(Ue,ct,We)}},we=function(qe,Ue,We){qe.done||(qe.done=!0,We&&(qe=We),qe.value=Ue,qe.state=O,Ce(qe,!0))},ke=function(qe,Ue,We){if(!qe.done){qe.done=!0,We&&(qe=We);try{if(qe.facade===Ue)throw new pe("Promise can't be resolved itself");var ct=Ee(Ue);ct?_(function(){var jt={done:!1};try{o(ct,Ue,_e(ke,jt,qe),_e(we,jt,qe))}catch(Gt){we(jt,Gt,qe)}}):(qe.value=Ue,qe.state=oe,Ce(qe,!1))}catch(jt){we({done:!1},jt,qe)}}};if($&&(ie=function(Ue){m(this,ne),d(Ue),o(k,this);var We=W(this);try{Ue(_e(ke,We),_e(we,We))}catch(ct){we(We,ct)}},ne=ie.prototype,k=function(Ue){X(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:Xe,value:null})},k.prototype=a(ne,"then",function(Ue,We){var ct=W(this),jt=z(S(this,ie));return ct.parent=!0,jt.ok=h(Ue)?Ue:!0,jt.fail=h(We)&&We,jt.domain=r?te.domain:void 0,ct.state===Xe?ct.reactions.add(jt):_(function(){me(jt,ct)}),jt.promise}),U=function(){var qe=new k,Ue=W(qe);this.promise=qe,this.resolve=_e(ke,Ue),this.reject=_e(we,Ue)},y.f=z=function(qe){return qe===ie||qe===Y?new U(qe):ce(qe)},!t&&h(R)&&J!==Object.prototype)){ae=J.then,B||a(J,"then",function(Ue,We){var ct=this;return new ie(function(jt,Gt){o(ae,ct,jt,Gt)}).then(Ue,We)},{unsafe:!0});try{delete J.constructor}catch{}u&&u(J,ne)}return e({global:!0,constructor:!0,wrap:!0,forced:$},{Promise:ie}),Y=i.Promise,l(ie,N,!1,!0),f(N),fB}var CB={},Pw,OB;function gm(){if(OB)return Pw;OB=1;var e=ed(),t=em(),r=zh().CONSTRUCTOR;return Pw=r||!t(function(n){e.all(n).then(void 0,function(){})}),Pw}var IB;function Zse(){if(IB)return CB;IB=1;var e=$e(),t=pr(),r=sn(),n=Tu(),i=Zf(),o=Hi(),a=gm();return e({target:"Promise",stat:!0,forced:a},{all:function(l){var f=this,d=n.f(f),h=d.resolve,p=d.reject,m=i(function(){var S=r(f.resolve),E=[],_=0,w=1;o(l,function(T){var C=_++,x=!1;w++,t(S,f,T).then(function(R){x||(x=!0,E[C]=R,--w||h(E))},p)}),--w||h(E)});return m.error&&p(m.value),d.promise}}),CB}var PB={},kB;function eue(){if(kB)return PB;kB=1;var e=$e(),t=bn(),r=zh().CONSTRUCTOR,n=ed(),i=on(),o=ln(),a=$n(),u=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(f){return this.then(void 0,f)}}),!t&&o(n)){var l=i("Promise").prototype.catch;u.catch!==l&&a(u,"catch",l,{unsafe:!0})}return PB}var DB={},LB;function tue(){if(LB)return DB;LB=1;var e=$e(),t=pr(),r=sn(),n=Tu(),i=Zf(),o=Hi(),a=gm();return e({target:"Promise",stat:!0,forced:a},{race:function(l){var f=this,d=n.f(f),h=d.reject,p=i(function(){var m=r(f.resolve);o(l,function(S){t(m,f,S).then(d.resolve,h)})});return p.error&&h(p.value),d.promise}}),DB}var NB={},MB;function rue(){if(MB)return NB;MB=1;var e=$e(),t=Tu(),r=zh().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}}),NB}var $B={},kw,FB;function sQ(){if(FB)return kw;FB=1;var e=yr(),t=qr(),r=Tu();return kw=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},kw}var jB;function nue(){if(jB)return $B;jB=1;var e=$e(),t=on(),r=bn(),n=ed(),i=zh().CONSTRUCTOR,o=sQ(),a=t("Promise"),u=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(f){return o(u&&this===a?n:this,f)}}),$B}var UB;function iue(){return UB||(UB=1,Jse(),Zse(),eue(),tue(),rue(),nue()),cB}var qB={},BB;function aue(){if(BB)return qB;BB=1;var e=$e(),t=pr(),r=sn(),n=Tu(),i=Zf(),o=Hi(),a=gm();return e({target:"Promise",stat:!0,forced:a},{allSettled:function(l){var f=this,d=n.f(f),h=d.resolve,p=d.reject,m=i(function(){var S=r(f.resolve),E=[],_=0,w=1;o(l,function(T){var C=_++,x=!1;w++,t(S,f,T).then(function(R){x||(x=!0,E[C]={status:"fulfilled",value:R},--w||h(E))},function(R){x||(x=!0,E[C]={status:"rejected",reason:R},--w||h(E))})}),--w||h(E)});return m.error&&p(m.value),d.promise}}),qB}var VB={},HB;function oue(){if(HB)return VB;HB=1;var e=$e(),t=pr(),r=sn(),n=on(),i=Tu(),o=Zf(),a=Hi(),u=gm(),l="No one promise resolved";return e({target:"Promise",stat:!0,forced:u},{any:function(d){var h=this,p=n("AggregateError"),m=i.f(h),S=m.resolve,E=m.reject,_=o(function(){var w=r(h.resolve),T=[],C=0,x=1,R=!1;a(d,function(P){var y=C++,N=!1;x++,t(w,h,P).then(function($){N||R||(R=!0,S($))},function($){N||R||(N=!0,T[y]=$,--x||E(new p(T,l)))})}),--x||E(new p(T,l))});return _.error&&E(_.value),m.promise}}),VB}var zB={},WB;function sue(){if(WB)return zB;WB=1;var e=$e(),t=bn(),r=ed(),n=qt(),i=on(),o=ln(),a=pm(),u=sQ(),l=$n(),f=r&&r.prototype,d=!!r&&n(function(){f.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(p){var m=a(this,i("Promise")),S=o(p);return this.then(S?function(E){return u(m,p()).then(function(){return E})}:p,S?function(E){return u(m,p()).then(function(){throw E})}:p)}}),!t&&o(r)){var h=i("Promise").prototype.finally;f.finally!==h&&l(f,"finally",h,{unsafe:!0})}return zB}var GB={},KB;function uue(){if(KB)return GB;KB=1;var e=$e(),t=Zt(),r=ko(),n=rs(),i=Tu(),o=sn(),a=Zf(),u=t.Promise,l=!1,f=!u||!u.try||a(function(){u.try(function(d){l=d===8},8)}).error||!l;return e({target:"Promise",stat:!0,forced:f},{try:function(d){var h=arguments.length>1?n(arguments,1):[],p=i.f(this),m=a(function(){return r(o(d),void 0,h)});return(m.error?p.reject:p.resolve)(m.value),p.promise}}),GB}var YB={},XB;function lue(){if(XB)return YB;XB=1;var e=$e(),t=Tu();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),YB}var QB={},Dw,JB;function uQ(){if(JB)return Dw;JB=1;var e=Zt(),t=zg(),r=ln(),n=la(),i=qa(),o=$n(),a=Br(),u=bn(),l="USE_FUNCTION_CONSTRUCTOR",f=a("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,p,m;if(h)p=h;else if(r(d))p=d.prototype;else if(t[l]||e[l])try{m=i(i(i(Function("return async function*(){}()")()))),i(m)===Object.prototype&&(p=m)}catch{}return p?u&&(p=n(p)):p={},r(p[f])||o(p,f,function(){return this}),Dw=p,Dw}var Lw,ZB;function lQ(){if(ZB)return Lw;ZB=1;var e=pr(),t=yr(),r=la(),n=oa(),i=bu(),o=Ei(),a=fa(),u=on(),l=uQ(),f=vc(),d=u("Promise"),h="AsyncFromSyncIterator",p=o.set,m=o.getterFor(h),S=function(_,w,T,C,x){var R=_.done;d.resolve(_.value).then(function(P){w(f(P,R))},function(P){if(!R&&x)try{a(C,"throw",P)}catch(y){P=y}T(P)})},E=function(w){w.type=h,p(this,w)};return E.prototype=i(r(l),{next:function(){var w=m(this);return new d(function(T,C){var x=t(e(w.next,w.iterator));S(x,T,C,w.iterator,!0)})},return:function(){var _=m(this).iterator;return new d(function(w,T){var C=n(_,"return");if(C===void 0)return w(f(void 0,!0));var x=t(e(C,_));S(x,w,T,_)})}}),Lw=E,Lw}var Nw,e6;function cue(){if(e6)return Nw;e6=1;var e=pr(),t=lQ(),r=yr(),n=Wf(),i=Ta(),o=oa(),a=Br(),u=a("asyncIterator");return Nw=function(l,f){var d=arguments.length<2?o(l,u):f;return d?r(e(d,l)):new t(i(n(l)))},Nw}var Mw,t6;function fue(){if(t6)return Mw;t6=1;var e=pr(),t=on(),r=oa();return Mw=function(n,i,o,a){try{var u=r(n,"return");if(u)return t("Promise").resolve(e(u,n)).then(function(){i(o)},function(l){a(l)})}catch(l){return a(l)}i(o)},Mw}var $w,r6;function due(){if(r6)return $w;r6=1;var e=pr(),t=sn(),r=yr(),n=qr(),i=pc(),o=on(),a=Ta(),u=fue(),l=function(f){var d=f===0,h=f===1,p=f===2,m=f===3;return function(S,E,_){r(S);var w=E!==void 0;(w||!d)&&t(E);var T=a(S),C=o("Promise"),x=T.iterator,R=T.next,P=0;return new C(function(y,N){var $=function(B){u(x,N,B,N)},H=function(){try{if(w)try{i(P)}catch(B){$(B)}C.resolve(r(e(R,x))).then(function(B){try{if(r(B).done)d?(_.length=P,y(_)):y(m?!1:p||void 0);else{var W=B.value;try{if(w){var X=E(W,P),J=function(ie){if(h)H();else if(p)ie?H():u(x,y,!1,N);else if(d)try{_[P++]=ie,H()}catch(ne){$(ne)}else ie?u(x,y,m||W,N):H()};n(X)?C.resolve(X).then(J,$):J(X)}else _[P++]=W,H()}catch(ie){$(ie)}}}catch(ie){N(ie)}},N)}catch(B){N(B)}};H()})}};return $w={toArray:l(0),forEach:l(1),every:l(2),some:l(3),find:l(4)},$w}var Fw,n6;function hue(){if(n6)return Fw;n6=1;var e=Po(),t=zt(),r=yn(),n=fc(),i=cue(),o=Wf(),a=Ta(),u=hc(),l=oa(),f=on(),d=DX(),h=Br(),p=lQ(),m=due().toArray,S=h("asyncIterator"),E=t(d("Array","values")),_=t(E([]).next),w=function(){return new T(this)},T=function(C){this.iterator=E(C)};return T.prototype.next=function(){return _(this.iterator)},Fw=function(x){var R=this,P=arguments.length,y=P>1?arguments[1]:void 0,N=P>2?arguments[2]:void 0;return new(f("Promise"))(function($){var H=r(x);y!==void 0&&(y=e(y,N));var B=l(H,S),W=B?void 0:u(H)||w,X=n(R)?new R:[],J=B?i(H,B):new p(a(o(H,W)));$(m(J,y,X))})},Fw}var i6;function pue(){if(i6)return QB;i6=1;var e=$e(),t=hue(),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}),QB}var a6={},o6;function vue(){if(o6)return a6;o6=1;var e=$e(),t=Rr(),r=on(),n=sn(),i=Do(),o=$n(),a=bu(),u=Pi(),l=Br(),f=Ei(),d=HX(),h=qs(),p=r("Promise"),m=r("SuppressedError"),S=ReferenceError,E=l("asyncDispose"),_=l("toStringTag"),w="AsyncDisposableStack",T=f.set,C=f.getterFor(w),x="async-dispose",R="disposed",P="pending",y=function(B){var W=C(B);if(W.state===R)throw new S(w+" already disposed");return W},N=function(){T(i(this,$),{type:w,state:P,stack:[]}),t||(this.disposed=!1)},$=N.prototype;a($,{disposeAsync:function(){var W=this;return new p(function(X,J){var ie=C(W);if(ie.state===R)return X(void 0);ie.state=R,t||(W.disposed=!0);var ne=ie.stack,pe=ne.length,K=!1,te,z=function(Se){K?te=new m(Se,te):(K=!0,te=Se),ce()},ce=function(){if(pe){var Se=ne[--pe];ne[pe]=null;try{p.resolve(Se()).then(ce,z)}catch(Le){z(Le)}}else ie.stack=null,K?J(te):X(void 0)};ce()})},use:function(W){return d(y(this),W,x),W},adopt:function(W,X){var J=y(this);return n(X),d(J,void 0,x,function(){return X(W)}),W},defer:function(W){var X=y(this);n(W),d(X,void 0,x,W)},move:function(){var W=y(this),X=new N;return C(X).stack=W.stack,W.stack=[],W.state=R,t||(this.disposed=!0),X}}),t&&u($,"disposed",{configurable:!0,get:function(){return C(this).state===R}}),o($,E,$.disposeAsync,{name:"disposeAsync"}),o($,_,w,{nonWritable:!0});var H=h&&h<136;return e({global:!0,constructor:!0,forced:H},{AsyncDisposableStack:N}),a6}var s6={},u6;function gue(){if(u6)return s6;u6=1;var e=pr(),t=$n(),r=on(),n=oa(),i=un(),o=Br(),a=uQ(),u=o("asyncDispose"),l=r("Promise");return i(a,u)||t(a,u,function(){var f=this;return new l(function(d,h){var p=n(f,"return");p?l.resolve(e(p,f)).then(function(){d(void 0)},h):d(void 0)})}),s6}var l6={},c6;function mue(){if(c6)return l6;c6=1;var e=$e(),t=ko(),r=sn(),n=yr(),i=qt(),o=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:o},{apply:function(u,l,f){return t(r(u),l,n(f))}}),l6}var f6={},d6;function yue(){if(d6)return f6;d6=1;var e=$e(),t=on(),r=ko(),n=zX(),i=tO(),o=yr(),a=qr(),u=la(),l=qt(),f=t("Reflect","construct"),d=Object.prototype,h=[].push,p=l(function(){function E(){}return!(f(function(){},[],E)instanceof E)}),m=!l(function(){f(function(){})}),S=p||m;return e({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(_,w){i(_),o(w);var T=arguments.length<3?_:i(arguments[2]);if(m&&!p)return f(_,w,T);if(_===T){switch(w.length){case 0:return new _;case 1:return new _(w[0]);case 2:return new _(w[0],w[1]);case 3:return new _(w[0],w[1],w[2]);case 4:return new _(w[0],w[1],w[2],w[3])}var C=[null];return r(h,C,w),new(r(n,_,C))}var x=T.prototype,R=u(a(x)?x:d),P=r(_,R,w);return a(P)?P:R}}),f6}var h6={},p6;function _ue(){if(p6)return h6;p6=1;var e=$e(),t=Rr(),r=yr(),n=ul(),i=si(),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,f,d){r(l);var h=n(f);r(d);try{return i.f(l,h,d),!0}catch{return!1}}}),h6}var v6={},g6;function Eue(){if(g6)return v6;g6=1;var e=$e(),t=yr(),r=sa().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]}}),v6}var m6={},jw,y6;function cQ(){if(y6)return jw;y6=1;var e=un();return jw=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},jw}var _6;function Sue(){if(_6)return m6;_6=1;var e=$e(),t=pr(),r=qr(),n=yr(),i=cQ(),o=sa(),a=qa();function u(l,f){var d=arguments.length<3?l:arguments[2],h,p;if(n(l)===d)return l[f];if(h=o.f(l,f),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(p=a(l)))return u(p,f,d)}return e({target:"Reflect",stat:!0},{get:u}),m6}var E6={},S6;function wue(){if(S6)return E6;S6=1;var e=$e(),t=Rr(),r=yr(),n=sa();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(o,a){return n.f(r(o),a)}}),E6}var w6={},b6;function bue(){if(b6)return w6;b6=1;var e=$e(),t=yr(),r=qa(),n=UC();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(o){return r(t(o))}}),w6}var T6={},A6;function Tue(){if(A6)return T6;A6=1;var e=$e();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),T6}var R6={},x6;function Aue(){if(x6)return R6;x6=1;var e=$e(),t=yr(),r=ZC();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),R6}var C6={},O6;function Rue(){if(O6)return C6;O6=1;var e=$e(),t=LC();return e({target:"Reflect",stat:!0},{ownKeys:t}),C6}var I6={},P6;function xue(){if(P6)return I6;P6=1;var e=$e(),t=on(),r=yr(),n=Qf();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}}}),I6}var k6={},D6;function Cue(){if(D6)return k6;D6=1;var e=$e(),t=pr(),r=yr(),n=qr(),i=cQ(),o=qt(),a=si(),u=sa(),l=qa(),f=Co();function d(p,m,S){var E=arguments.length<4?p:arguments[3],_=u.f(r(p),m),w,T,C;if(!_){if(n(T=l(p)))return d(T,m,S,E);_=f(0)}if(i(_)){if(_.writable===!1||!n(E))return!1;if(w=u.f(E,m)){if(w.get||w.set||w.writable===!1)return!1;w.value=S,a.f(E,m,w)}else a.f(E,m,f(0,S))}else{if(C=_.set,C===void 0)return!1;t(C,E,S)}return!0}var h=o(function(){var p=function(){},m=a.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,m)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),k6}var L6={},N6;function Oue(){if(N6)return L6;N6=1;var e=$e(),t=yr(),r=_X(),n=_s();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(o,a){t(o),r(a);try{return n(o,a),!0}catch{return!1}}}),L6}var M6={},$6;function Iue(){if($6)return M6;$6=1;var e=$e(),t=Zt(),r=oo();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),M6}var F6={},Uw,j6;function mm(){if(j6)return Uw;j6=1;var e=qr(),t=wa(),r=Br(),n=r("match");return Uw=function(i){var o;return e(i)&&((o=i[n])!==void 0?!!o:t(i)==="RegExp")},Uw}var qw,U6;function fQ(){if(U6)return qw;U6=1;var e=Zt(),t=qt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var o={},a="",u=i?"dgimsy":"gimsy",l=function(p,m){Object.defineProperty(o,p,{get:function(){return a+=m,!0}})},f={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(f.hasIndices="d");for(var d in f)l(d,f[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(o);return h!==u||a!==u});return qw={correct:n},qw}var Bw,q6;function rO(){if(q6)return Bw;q6=1;var e=yr();return Bw=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},Bw}var Vw,B6;function mc(){if(B6)return Vw;B6=1;var e=pr(),t=un(),r=Ua(),n=fQ(),i=rO(),o=RegExp.prototype;return Vw=n.correct?function(a){return a.flags}:function(a){return!n.correct&&r(o,a)&&!t(a,"flags")?e(i,a):a.flags},Vw}var Hw,V6;function ym(){if(V6)return Hw;V6=1;var e=qt(),t=Zt(),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 Hw={BROKEN_CARET:o,MISSED_STICKY:i,UNSUPPORTED_Y:n},Hw}var zw,H6;function nO(){if(H6)return zw;H6=1;var e=qt(),t=Zt(),r=t.RegExp;return zw=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
|
|
4
|
-
`)&&n.flags==="s")}),zw}var Ww,z6;function dQ(){if(z6)return Ww;z6=1;var e=qt(),t=Zt(),r=t.RegExp;return Ww=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),Ww}var W6;function Pue(){if(W6)return F6;W6=1;var e=Rr(),t=Zt(),r=zt(),n=$h(),i=dc(),o=ua(),a=la(),u=lc().f,l=Ua(),f=mm(),d=Yr(),h=mc(),p=ym(),m=EX(),S=$n(),E=qt(),_=un(),w=Ei().enforce,T=Yf(),C=Br(),x=nO(),R=dQ(),P=C("match"),y=t.RegExp,N=y.prototype,$=t.SyntaxError,H=r(N.exec),B=r("".charAt),W=r("".replace),X=r("".indexOf),J=r("".slice),ie=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ne=/a/g,pe=/a/g,K=new y(ne)!==ne,te=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,ce=e&&(!K||te||x||R||E(function(){return pe[P]=!1,y(ne)!==ne||y(pe)===pe||String(y(ne,"i"))!=="/a/i"})),Se=function(O){for(var I=O.length,M=0,k="",U=!1,Y;M<=I;M++){if(Y=B(O,M),Y==="\\"){k+=Y+B(O,++M);continue}!U&&Y==="."?k+="[\\s\\S]":(Y==="["?U=!0:Y==="]"&&(U=!1),k+=Y)}return k},Le=function(O){for(var I=O.length,M=0,k="",U=[],Y=a(null),ae=!1,Ee=!1,me=0,Ce="",be;M<=I;M++){if(be=B(O,M),be==="\\")be+=B(O,++M);else if(be==="]")ae=!1;else if(!ae)switch(!0){case be==="[":ae=!0;break;case be==="(":if(k+=be,J(O,M+1,M+3)==="?:")continue;H(ie,J(O,M+1))&&(M+=2,Ee=!0),me++;continue;case(be===">"&&Ee):if(Ce===""||_(Y,Ce))throw new $("Invalid capture group name");Y[Ce]=!0,U[U.length]=[Ce,me],Ee=!1,Ce="";continue}Ee?Ce+=be:k+=be}return[k,U]};if(n("RegExp",ce)){for(var Be=function(I,M){var k=l(N,this),U=f(I),Y=M===void 0,ae=[],Ee=I,me,Ce,be,Ie,Fe,ve;if(!k&&U&&Y&&I.constructor===Be)return I;if((U||l(N,I))&&(I=I.source,Y&&(M=h(Ee))),I=I===void 0?"":d(I),M=M===void 0?"":d(M),Ee=I,x&&"dotAll"in ne&&(Ce=!!M&&X(M,"s")>-1,Ce&&(M=W(M,/s/g,""))),me=M,te&&"sticky"in ne&&(be=!!M&&X(M,"y")>-1,be&&z&&(M=W(M,/y/g,""))),R&&(Ie=Le(I),I=Ie[0],ae=Ie[1]),Fe=i(y(I,M),k?this:N,Be),(Ce||be||ae.length)&&(ve=w(Fe),Ce&&(ve.dotAll=!0,ve.raw=Be(Se(I),me)),be&&(ve.sticky=!0),ae.length&&(ve.groups=ae)),I!==Ee)try{o(Fe,"source",Ee===""?"(?:)":Ee)}catch{}return Fe},Xe=u(y),oe=0;Xe.length>oe;)m(Be,y,Xe[oe++]);N.constructor=Be,Be.prototype=N,S(t,"RegExp",Be,{constructor:!0})}return T("RegExp"),F6}var G6={},Gw,K6;function _m(){if(K6)return Gw;K6=1;var e=TypeError;return Gw=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},Gw}var Y6;function kue(){if(Y6)return G6;Y6=1;var e=$e(),t=zt(),r=_m(),n=un(),i=um().start,o=Hh(),a=Array,u=RegExp.escape,l=t("".charAt),f=t("".charCodeAt),d=t(1.1.toString),h=t([].join),p=/^[0-9a-z]/i,m=/^[$()*+./?[\\\]^{|}]/,S=RegExp("^[!\"#%&',\\-:;<=>@`~"+o+"]"),E=t(p.exec),_={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(C){var x=d(f(C,0),16);return x.length<3?"\\x"+i(x,2,"0"):"\\u"+i(x,4,"0")},T=!u||u("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:T},{escape:function(x){r(x);for(var R=x.length,P=a(R),y=0;y<R;y++){var N=l(x,y);if(y===0&&E(p,N))P[y]=w(N);else if(n(_,N))P[y]="\\"+_[N];else if(E(m,N))P[y]="\\"+N;else if(E(S,N))P[y]=w(N);else{var $=f(N,0);($&63488)!==55296?P[y]=N:$>=56320||y+1>=R||(f(x,y+1)&64512)!==56320?P[y]=w(N):(P[y]=N,P[++y]=l(x,y))}}return h(P,"")}}),G6}var X6={},Q6;function Due(){if(Q6)return X6;Q6=1;var e=Rr(),t=nO(),r=wa(),n=Pi(),i=Ei().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")}}}),X6}var J6={},Kw,Z6;function iO(){if(Z6)return Kw;Z6=1;var e=pr(),t=zt(),r=Yr(),n=rO(),i=ym(),o=qf(),a=la(),u=Ei().get,l=nO(),f=dQ(),d=o("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,m=t("".charAt),S=t("".indexOf),E=t("".replace),_=t("".slice),w=(function(){var R=/a/,P=/b*/g;return e(h,R,"a"),e(h,P,"a"),R.lastIndex!==0||P.lastIndex!==0})(),T=i.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,x=w||C||T||l||f;return x&&(p=function(P){var y=this,N=u(y),$=r(P),H=N.raw,B,W,X,J,ie,ne,pe;if(H)return H.lastIndex=y.lastIndex,B=e(p,H,$),y.lastIndex=H.lastIndex,B;var K=N.groups,te=T&&y.sticky,z=e(n,y),ce=y.source,Se=0,Le=$;if(te&&(z=E(z,"y",""),S(z,"g")===-1&&(z+="g"),Le=_($,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&m($,y.lastIndex-1)!==`
|
|
5
|
-
`)&&(ce="(?: "+ce+")",Le=" "+Le,Se++),W=new RegExp("^(?:"+ce+")",z)),C&&(W=new RegExp("^"+ce+"$(?!\\s)",z)),w&&(X=y.lastIndex),J=e(h,te?W:y,Le),te?J?(J.input=_(J.input,Se),J[0]=_(J[0],Se),J.index=y.lastIndex,y.lastIndex+=J[0].length):y.lastIndex=0:w&&J&&(y.lastIndex=y.global?J.index+J[0].length:X),C&&J&&J.length>1&&e(d,J[0],W,function(){for(ie=1;ie<arguments.length-2;ie++)arguments[ie]===void 0&&(J[ie]=void 0)}),J&&K)for(J.groups=ne=a(null),ie=0;ie<K.length;ie++)pe=K[ie],ne[pe[0]]=J[pe[1]];return J}),Kw=p,Kw}var e4;function aO(){if(e4)return J6;e4=1;var e=$e(),t=iO();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),J6}var t4={},r4;function Lue(){if(r4)return t4;r4=1;var e=Rr(),t=Pi(),r=fQ(),n=rO();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),t4}var n4={},i4;function Nue(){if(i4)return n4;i4=1;var e=Rr(),t=ym().MISSED_STICKY,r=wa(),n=Pi(),i=Ei().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")}}}),n4}var a4={},o4;function Mue(){if(o4)return a4;o4=1,aO();var e=$e(),t=pr(),r=ln(),n=yr(),i=Yr(),o=(function(){var u=!1,l=/[ac]/;return l.exec=function(){return u=!0,/./.exec.apply(this,arguments)},l.test("abc")===!0&&u})(),a=/./.test;return e({target:"RegExp",proto:!0,forced:!o},{test:function(u){var l=n(this),f=i(u),d=l.exec;if(!r(d))return t(a,l,f);var h=t(d,l,f);return h===null?!1:(n(h),!0)}}),a4}var s4={},u4;function $ue(){if(u4)return s4;u4=1;var e=Vf().PROPER,t=$n(),r=yr(),n=Yr(),i=qt(),o=mc(),a="toString",u=RegExp.prototype,l=u[a],f=i(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&l.name!==a;return(f||d)&&t(u,a,function(){var p=r(this),m=n(p.source),S=n(o(p));return"/"+m+"/"+S},{unsafe:!0}),s4}var l4={},c4={},f4;function Fue(){if(f4)return c4;f4=1;var e=cm(),t=KX();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),c4}var d4;function jue(){return d4||(d4=1,Fue()),l4}var h4={},Yw,p4;function Es(){if(p4)return Yw;p4=1;var e=zt(),t=Set.prototype;return Yw={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},Yw}var Xw,v4;function yc(){if(v4)return Xw;v4=1;var e=Es().has;return Xw=function(t){return e(t),t},Xw}var Qw,g4;function _c(){if(g4)return Qw;g4=1;var e=pr();return Qw=function(t,r,n){for(var i=n?t:t.iterator,o=t.next,a,u;!(a=e(o,i)).done;)if(u=r(a.value),u!==void 0)return u},Qw}var Jw,m4;function td(){if(m4)return Jw;m4=1;var e=zt(),t=_c(),r=Es(),n=r.Set,i=r.proto,o=e(i.forEach),a=e(i.keys),u=a(new n).next;return Jw=function(l,f,d){return d?t({iterator:a(l),next:u},f):o(l,f)},Jw}var Zw,y4;function oO(){if(y4)return Zw;y4=1;var e=Es(),t=td(),r=e.Set,n=e.add;return Zw=function(i){var o=new r;return t(i,function(a){n(o,a)}),o},Zw}var e1,_4;function Wh(){if(_4)return e1;_4=1;var e=Qg(),t=Es();return e1=e(t.proto,"size","get")||function(r){return r.size},e1}var t1,E4;function Ec(){if(E4)return t1;E4=1;var e=sn(),t=yr(),r=pr(),n=Ai(),i=Ta(),o="Invalid size",a=RangeError,u=TypeError,l=Math.max,f=function(d,h){this.set=d,this.size=l(h,0),this.has=e(d.has),this.keys=e(d.keys)};return f.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},t1=function(d){t(d);var h=+d.size;if(h!==h)throw new u(o);var p=n(h);if(p<0)throw new a(o);return new f(d,p)},t1}var r1,S4;function Uue(){if(S4)return r1;S4=1;var e=yc(),t=Es(),r=oO(),n=Wh(),i=Ec(),o=td(),a=_c(),u=t.has,l=t.remove;return r1=function(d){var h=e(this),p=i(d),m=r(h);return n(h)<=p.size?o(h,function(S){p.includes(S)&&l(m,S)}):a(p.getIterator(),function(S){u(m,S)&&l(m,S)}),m},r1}var n1,w4;function Sc(){if(w4)return n1;w4=1;var e=on(),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 n1=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}},n1}var b4;function que(){if(b4)return h4;b4=1;var e=$e(),t=Uue(),r=qt(),n=Sc(),i=!n("difference",function(a){return a.size===0}),o=i||r(function(){var a={size:1,has:function(){return!0},keys:function(){var l=0;return{next:function(){var f=l++>1;return u.has(1)&&u.clear(),{done:f,value:2}}}}},u=new Set([1,2,3,4]);return u.difference(a).size!==3});return e({target:"Set",proto:!0,real:!0,forced:o},{difference:t}),h4}var T4={},i1,A4;function Bue(){if(A4)return i1;A4=1;var e=yc(),t=Es(),r=Wh(),n=Ec(),i=td(),o=_c(),a=t.Set,u=t.add,l=t.has;return i1=function(d){var h=e(this),p=n(d),m=new a;return r(h)>p.size?o(p.getIterator(),function(S){l(h,S)&&u(m,S)}):i(h,function(S){p.includes(S)&&u(m,S)}),m},i1}var R4;function Vue(){if(R4)return T4;R4=1;var e=$e(),t=qt(),r=Bue(),n=Sc(),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}),T4}var x4={},a1,C4;function Hue(){if(C4)return a1;C4=1;var e=yc(),t=Es().has,r=Wh(),n=Ec(),i=td(),o=_c(),a=fa();return a1=function(l){var f=e(this),d=n(l);if(r(f)<=d.size)return i(f,function(p){if(d.includes(p))return!1},!0)!==!1;var h=d.getIterator();return o(h,function(p){if(t(f,p))return a(h,"normal",!1)})!==!1},a1}var O4;function zue(){if(O4)return x4;O4=1;var e=$e(),t=Hue(),r=Sc(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),x4}var I4={},o1,P4;function Wue(){if(P4)return o1;P4=1;var e=yc(),t=Wh(),r=td(),n=Ec();return o1=function(o){var a=e(this),u=n(o);return t(a)>u.size?!1:r(a,function(l){if(!u.includes(l))return!1},!0)!==!1},o1}var k4;function Gue(){if(k4)return I4;k4=1;var e=$e(),t=Wue(),r=Sc(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),I4}var D4={},s1,L4;function Kue(){if(L4)return s1;L4=1;var e=yc(),t=Es().has,r=Wh(),n=Ec(),i=_c(),o=fa();return s1=function(u){var l=e(this),f=n(u);if(r(l)<f.size)return!1;var d=f.getIterator();return i(d,function(h){if(!t(l,h))return o(d,"normal",!1)})!==!1},s1}var N4;function Yue(){if(N4)return D4;N4=1;var e=$e(),t=Kue(),r=Sc(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),D4}var M4={},u1,$4;function Xue(){if($4)return u1;$4=1;var e=yc(),t=Es(),r=oO(),n=Ec(),i=_c(),o=t.add,a=t.has,u=t.remove;return u1=function(f){var d=e(this),h=n(f).getIterator(),p=r(d);return i(h,function(m){a(d,m)?u(p,m):o(p,m)}),p},u1}var l1,F4;function hQ(){return F4||(F4=1,l1=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}}),l1}var j4;function Que(){if(j4)return M4;j4=1;var e=$e(),t=Xue(),r=hQ(),n=Sc(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),M4}var U4={},c1,q4;function Jue(){if(q4)return c1;q4=1;var e=yc(),t=Es().add,r=oO(),n=Ec(),i=_c();return c1=function(a){var u=e(this),l=n(a).getIterator(),f=r(u);return i(l,function(d){t(f,d)}),f},c1}var B4;function Zue(){if(B4)return U4;B4=1;var e=$e(),t=Jue(),r=hQ(),n=Sc(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),U4}var V4={},H4;function ele(){if(H4)return V4;H4=1;var e=$e(),t=zt(),r=fi(),n=Ai(),i=Yr(),o=qt(),a=t("".charAt),u=o(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:u},{at:function(f){var d=i(r(this)),h=d.length,p=n(f),m=p>=0?p:h+p;return m<0||m>=h?void 0:a(d,m)}}),V4}var z4={},f1,W4;function Em(){if(W4)return f1;W4=1;var e=zt(),t=Ai(),r=Yr(),n=fi(),i=e("".charAt),o=e("".charCodeAt),a=e("".slice),u=function(l){return function(f,d){var h=r(n(f)),p=t(d),m=h.length,S,E;return p<0||p>=m?l?"":void 0:(S=o(h,p),S<55296||S>56319||p+1===m||(E=o(h,p+1))<56320||E>57343?l?i(h,p):S:l?a(h,p,p+2):(S-55296<<10)+(E-56320)+65536)}};return f1={codeAt:u(!1),charAt:u(!0)},f1}var G4;function tle(){if(G4)return z4;G4=1;var e=$e(),t=Em().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),z4}var K4={},d1,Y4;function sO(){if(Y4)return d1;Y4=1;var e=mm(),t=TypeError;return d1=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},d1}var h1,X4;function uO(){if(X4)return h1;X4=1;var e=Br(),t=e("match");return h1=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},h1}var Q4;function rle(){if(Q4)return K4;Q4=1;var e=$e(),t=cc(),r=sa().f,n=Oo(),i=Yr(),o=sO(),a=fi(),u=uO(),l=bn(),f=t("".slice),d=Math.min,h=u("endsWith"),p=!l&&!h&&!!(function(){var m=r(String.prototype,"endsWith");return m&&!m.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{endsWith:function(S){var E=i(a(this));o(S);var _=arguments.length>1?arguments[1]:void 0,w=E.length,T=_===void 0?w:d(n(_),w),C=i(S);return f(E,T-C.length,T)===C}}),K4}var J4={},Z4;function pQ(){if(Z4)return J4;Z4=1;var e=$e(),t=zt(),r=Eu(),n=RangeError,i=String.fromCharCode,o=String.fromCodePoint,a=t([].join),u=!!o&&o.length!==1;return e({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(f){for(var d=[],h=arguments.length,p=0,m;h>p;){if(m=+arguments[p++],r(m,1114111)!==m)throw new n(m+" is not a valid code point");d[p]=m<65536?i(m):i(((m-=65536)>>10)+55296,m%1024+56320)}return a(d,"")}}),J4}var e2={},t2;function nle(){if(t2)return e2;t2=1;var e=$e(),t=zt(),r=sO(),n=fi(),i=Yr(),o=uO(),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)}}),e2}var r2={},n2;function ile(){if(n2)return r2;n2=1;var e=$e(),t=zt(),r=fi(),n=Yr(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var a=n(r(this)),u=a.length,l=0;l<u;l++){var f=i(a,l);if((f&63488)===55296&&(f>=56320||++l>=u||(i(a,l)&64512)!==56320))return!1}return!0}}),r2}var i2={},a2;function vQ(){if(a2)return i2;a2=1;var e=Em().charAt,t=Yr(),r=Ei(),n=zC(),i=vc(),o="String Iterator",a=r.set,u=r.getterFor(o);return n(String,"String",function(l){a(this,{type:o,string:t(l),index:0})},function(){var f=u(this),d=f.string,h=f.index,p;return h>=d.length?i(void 0,!0):(p=e(d,h),f.index+=p.length,i(p,!1))}),i2}var o2={},p1,s2;function Sm(){if(s2)return p1;s2=1,aO();var e=pr(),t=$n(),r=iO(),n=qt(),i=Br(),o=ua(),a=i("species"),u=RegExp.prototype;return p1=function(l,f,d,h){var p=i(l),m=!n(function(){var w={};return w[p]=function(){return 7},""[l](w)!==7}),S=m&&!n(function(){var w=!1,T=/a/;return l==="split"&&(T={},T.constructor={},T.constructor[a]=function(){return T},T.flags="",T[p]=/./[p]),T.exec=function(){return w=!0,null},T[p](""),!w});if(!m||!S||d){var E=/./[p],_=f(p,""[l],function(w,T,C,x,R){var P=T.exec;return P===r||P===u.exec?m&&!R?{done:!0,value:e(E,T,C,x)}:{done:!0,value:e(w,C,T,x)}:{done:!1}});t(String.prototype,l,_[0]),t(u,p,_[1])}h&&o(u[p],"sham",!0)},p1}var v1,u2;function wm(){if(u2)return v1;u2=1;var e=Em().charAt;return v1=function(t,r,n){return r+(n?e(t,r).length:1)},v1}var g1,l2;function Gh(){if(l2)return g1;l2=1;var e=pr(),t=yr(),r=ln(),n=wa(),i=iO(),o=TypeError;return g1=function(a,u){var l=a.exec;if(r(l)){var f=e(l,a,u);return f!==null&&t(f),f}if(n(a)==="RegExp")return e(i,a,u);throw new o("RegExp#exec called on incompatible receiver")},g1}var c2;function ale(){if(c2)return o2;c2=1;var e=pr(),t=zt(),r=Sm(),n=yr(),i=qr(),o=Oo(),a=Yr(),u=fi(),l=oa(),f=wm(),d=mc(),h=Gh(),p=t("".indexOf);return r("match",function(m,S,E){return[function(w){var T=u(this),C=i(w)?l(w,m):void 0;return C?e(C,w,T):new RegExp(w)[m](a(T))},function(_){var w=n(this),T=a(_),C=E(S,w,T);if(C.done)return C.value;var x=a(d(w));if(p(x,"g")===-1)return h(w,T);var R=p(x,"u")!==-1;w.lastIndex=0;for(var P=[],y=0,N;(N=h(w,T))!==null;){var $=a(N[0]);P[y]=$,$===""&&(w.lastIndex=f(T,o(w.lastIndex),R)),y++}return y===0?null:P}]}),o2}var f2={},d2;function ole(){if(d2)return f2;d2=1;var e=$e(),t=pr(),r=cc(),n=HC(),i=vc(),o=fi(),a=Oo(),u=Yr(),l=yr(),f=qr(),d=wa(),h=mm(),p=mc(),m=oa(),S=$n(),E=qt(),_=Br(),w=pm(),T=wm(),C=Gh(),x=Ei(),R=bn(),P=_("matchAll"),y="RegExp String",N=y+" Iterator",$=x.set,H=x.getterFor(N),B=RegExp.prototype,W=TypeError,X=r("".indexOf),J=r("".matchAll),ie=!!J&&!E(function(){J("a",/./)}),ne=n(function(te,z,ce,Se){$(this,{type:N,regexp:te,string:z,global:ce,unicode:Se,done:!1})},y,function(){var te=H(this);if(te.done)return i(void 0,!0);var z=te.regexp,ce=te.string,Se=C(z,ce);return Se===null?(te.done=!0,i(void 0,!0)):te.global?(u(Se[0])===""&&(z.lastIndex=T(ce,a(z.lastIndex),te.unicode)),i(Se,!1)):(te.done=!0,i(Se,!1))}),pe=function(K){var te=l(this),z=u(K),ce=w(te,RegExp),Se=u(p(te)),Le,Be,Xe;return Le=new ce(ce===RegExp?te.source:te,Se),Be=!!~X(Se,"g"),Xe=!!~X(Se,"u"),Le.lastIndex=a(te.lastIndex),new ne(Le,z,Be,Xe)};return e({target:"String",proto:!0,forced:ie},{matchAll:function(te){var z=o(this),ce,Se,Le,Be;if(f(te)){if(h(te)&&(ce=u(o(p(te))),!~X(ce,"g")))throw new W("`.matchAll` does not allow non-global regexes");if(ie)return J(z,te);if(Le=m(te,P),Le===void 0&&R&&d(te)==="RegExp"&&(Le=pe),Le)return t(Le,te,z)}else if(ie)return J(z,te);return Se=u(z),Be=new RegExp(te,"g"),R?t(pe,Be,Se):Be[P](Se)}}),R||P in B||S(B,P,pe),f2}var h2={},m1,p2;function gQ(){if(p2)return m1;p2=1;var e=Us();return m1=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),m1}var v2;function sle(){if(v2)return h2;v2=1;var e=$e(),t=um().end,r=gQ();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),h2}var g2={},m2;function ule(){if(m2)return g2;m2=1;var e=$e(),t=um().start,r=gQ();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),g2}var y2={},_2;function lle(){if(_2)return y2;_2=1;var e=$e(),t=zt(),r=Ji(),n=yn(),i=Yr(),o=zn(),a=t([].push),u=t([].join);return e({target:"String",stat:!0},{raw:function(f){var d=r(n(f).raw),h=o(d);if(!h)return"";for(var p=arguments.length,m=[],S=0;;){if(a(m,i(d[S++])),S===h)return u(m,"");S<p&&a(m,i(arguments[S]))}}}),y2}var E2={},S2;function cle(){if(S2)return E2;S2=1;var e=$e(),t=sm();return e({target:"String",proto:!0},{repeat:t}),E2}var w2={},y1,b2;function mQ(){if(b2)return y1;b2=1;var e=zt(),t=yn(),r=Math.floor,n=e("".charAt),i=e("".replace),o=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;return y1=function(l,f,d,h,p,m){var S=d+l.length,E=h.length,_=u;return p!==void 0&&(p=t(p),_=a),i(m,_,function(w,T){var C;switch(n(T,0)){case"$":return"$";case"&":return l;case"`":return o(f,0,d);case"'":return o(f,S);case"<":C=p[o(T,1,-1)];break;default:var x=+T;if(x===0)return w;if(x>E){var R=r(x/10);return R===0?w:R<=E?h[R-1]===void 0?n(T,1):h[R-1]+n(T,1):w}C=h[x-1]}return C===void 0?"":C})},y1}var T2;function fle(){if(T2)return w2;T2=1;var e=ko(),t=pr(),r=zt(),n=Sm(),i=qt(),o=yr(),a=ln(),u=qr(),l=Ai(),f=Oo(),d=Yr(),h=fi(),p=wm(),m=oa(),S=mQ(),E=mc(),_=Gh(),w=Br(),T=w("replace"),C=Math.max,x=Math.min,R=r([].concat),P=r([].push),y=r("".indexOf),N=r("".slice),$=function(X){return X===void 0?X:String(X)},H=(function(){return"a".replace(/./,"$0")==="$0"})(),B=(function(){return/./[T]?/./[T]("a","$0")==="":!1})(),W=!i(function(){var X=/./;return X.exec=function(){var J=[];return J.groups={a:"7"},J},"".replace(X,"$<a>")!=="7"});return n("replace",function(X,J,ie){var ne=B?"$":"$0";return[function(K,te){var z=h(this),ce=u(K)?m(K,T):void 0;return ce?t(ce,K,z,te):t(J,d(z),K,te)},function(pe,K){var te=o(this),z=d(pe);if(typeof K=="string"&&y(K,ne)===-1&&y(K,"$<")===-1){var ce=ie(J,te,z,K);if(ce.done)return ce.value}var Se=a(K);Se||(K=d(K));var Le=d(E(te)),Be=y(Le,"g")!==-1,Xe;Be&&(Xe=y(Le,"u")!==-1,te.lastIndex=0);for(var oe=[],O;O=_(te,z),!(O===null||(P(oe,O),!Be));){var I=d(O[0]);I===""&&(te.lastIndex=p(z,f(te.lastIndex),Xe))}for(var M="",k=0,U=0;U<oe.length;U++){O=oe[U];for(var Y=d(O[0]),ae=C(x(l(O.index),z.length),0),Ee=[],me,Ce=1;Ce<O.length;Ce++)P(Ee,$(O[Ce]));var be=O.groups;if(Se){var Ie=R([Y],Ee,ae,z);be!==void 0&&P(Ie,be),me=d(e(K,void 0,Ie))}else me=S(Y,z,ae,Ee,be,K);ae>=k&&(M+=N(z,k,ae)+me,k=ae+Y.length)}return M+N(z,k)}]},!W||!H||B),w2}var A2={},R2;function dle(){if(R2)return A2;R2=1;var e=$e(),t=pr(),r=zt(),n=fi(),i=ln(),o=qr(),a=mm(),u=Yr(),l=oa(),f=mc(),d=mQ(),h=Br(),p=bn(),m=h("replace"),S=TypeError,E=r("".indexOf),_=r("".replace),w=r("".slice),T=Math.max;return e({target:"String",proto:!0},{replaceAll:function(x,R){var P=n(this),y,N,$,H,B,W,X,J,ie,ne,pe=0,K="";if(o(x)){if(y=a(x),y&&(N=u(n(f(x))),!~E(N,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if($=l(x,m),$)return t($,x,P,R);if(p&&y)return _(u(P),x,R)}for(H=u(P),B=u(x),W=i(R),W||(R=u(R)),X=B.length,J=T(1,X),ie=E(H,B);ie!==-1;)ne=W?u(R(B,ie,H)):d(B,H,ie,[],void 0,R),K+=w(H,pe,ie)+ne,pe=ie+X,ie=ie+J>H.length?-1:E(H,B,ie+J);return pe<H.length&&(K+=w(H,pe)),K}}),A2}var x2={},C2;function hle(){if(C2)return x2;C2=1;var e=pr(),t=Sm(),r=yr(),n=qr(),i=fi(),o=rQ(),a=Yr(),u=oa(),l=Gh();return t("search",function(f,d,h){return[function(m){var S=i(this),E=n(m)?u(m,f):void 0;return E?e(E,m,S):new RegExp(m)[f](a(S))},function(p){var m=r(this),S=a(p),E=h(d,m,S);if(E.done)return E.value;var _=m.lastIndex;o(_,0)||(m.lastIndex=0);var w=l(m,S);return o(m.lastIndex,_)||(m.lastIndex=_),w===null?-1:w.index}]}),x2}var O2={},I2;function ple(){if(I2)return O2;I2=1;var e=pr(),t=zt(),r=Sm(),n=yr(),i=qr(),o=fi(),a=pm(),u=wm(),l=Oo(),f=Yr(),d=oa(),h=Gh(),p=ym(),m=qt(),S=p.UNSUPPORTED_Y,E=4294967295,_=Math.min,w=t([].push),T=t("".slice),C=!m(function(){var R=/(?:)/,P=R.exec;R.exec=function(){return P.apply(this,arguments)};var y="ab".split(R);return y.length!==2||y[0]!=="a"||y[1]!=="b"}),x="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(R,P,y){var N="0".split(void 0,0).length?function($,H){return $===void 0&&H===0?[]:e(P,this,$,H)}:P;return[function(H,B){var W=o(this),X=i(H)?d(H,R):void 0;return X?e(X,H,W,B):e(N,f(W),H,B)},function($,H){var B=n(this),W=f($);if(!x){var X=y(N,B,W,H,N!==P);if(X.done)return X.value}var J=a(B,RegExp),ie=B.unicode,ne=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(S?"g":"y"),pe=new J(S?"^(?:"+B.source+")":B,ne),K=H===void 0?E:H>>>0;if(K===0)return[];if(W.length===0)return h(pe,W)===null?[W]:[];for(var te=0,z=0,ce=[];z<W.length;){pe.lastIndex=S?0:z;var Se=h(pe,S?T(W,z):W),Le;if(Se===null||(Le=_(l(pe.lastIndex+(S?z:0)),W.length))===te)z=u(W,z,ie);else{if(w(ce,T(W,te,z)),ce.length===K)return ce;for(var Be=1;Be<=Se.length-1;Be++)if(w(ce,Se[Be]),ce.length===K)return ce;z=te=Le}}return w(ce,T(W,te)),ce}]},x||!C,S),O2}var P2={},k2;function vle(){if(k2)return P2;k2=1;var e=$e(),t=cc(),r=sa().f,n=Oo(),i=Yr(),o=sO(),a=fi(),u=uO(),l=bn(),f=t("".slice),d=Math.min,h=u("startsWith"),p=!l&&!h&&!!(function(){var m=r(String.prototype,"startsWith");return m&&!m.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{startsWith:function(S){var E=i(a(this));o(S);var _=n(d(arguments.length>1?arguments[1]:void 0,E.length)),w=i(S);return f(E,_,_+w.length)===w}}),P2}var D2={},L2;function gle(){if(L2)return D2;L2=1;var e=$e(),t=zt(),r=fi(),n=Ai(),i=Yr(),o=t("".slice),a=Math.max,u=Math.min,l=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:l},{substr:function(d,h){var p=i(r(this)),m=p.length,S=n(d),E,_;return S===1/0&&(S=0),S<0&&(S=a(m+S,0)),E=h===void 0?m:n(h),E<=0||E===1/0?"":(_=u(S+E,m),S>=_?"":o(p,S,_))}}),D2}var N2={},M2;function mle(){if(M2)return N2;M2=1;var e=$e(),t=pr(),r=zt(),n=fi(),i=Yr(),o=qt(),a=Array,u=r("".charAt),l=r("".charCodeAt),f=r([].join),d="".toWellFormed,h="�",p=d&&o(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:p},{toWellFormed:function(){var S=i(n(this));if(p)return t(d,S);for(var E=S.length,_=a(E),w=0;w<E;w++){var T=l(S,w);(T&63488)!==55296?_[w]=u(S,w):T>=56320||w+1>=E||(l(S,w+1)&64512)!==56320?_[w]=h:(_[w]=u(S,w),_[++w]=u(S,w))}return f(_,"")}}),N2}var $2={},_1,F2;function lO(){if(F2)return _1;F2=1;var e=Vf().PROPER,t=qt(),r=Hh(),n="
";return _1=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},_1}var j2;function yle(){if(j2)return $2;j2=1;var e=$e(),t=Jf().trim,r=lO();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),$2}var U2={},q2={},E1,B2;function yQ(){if(B2)return E1;B2=1;var e=Jf().end,t=lO();return E1=t("trimEnd")?function(){return e(this)}:"".trimEnd,E1}var V2;function _le(){if(V2)return q2;V2=1;var e=$e(),t=yQ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),q2}var H2;function Ele(){if(H2)return U2;H2=1,_le();var e=$e(),t=yQ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),U2}var z2={},W2={},S1,G2;function _Q(){if(G2)return S1;G2=1;var e=Jf().start,t=lO();return S1=t("trimStart")?function(){return e(this)}:"".trimStart,S1}var K2;function Sle(){if(K2)return W2;K2=1;var e=$e(),t=_Q();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),W2}var Y2;function wle(){if(Y2)return z2;Y2=1,Sle();var e=$e(),t=_Q();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),z2}var X2={},w1,Q2;function Lo(){if(Q2)return w1;Q2=1;var e=zt(),t=fi(),r=Yr(),n=/"/g,i=e("".replace);return w1=function(o,a,u,l){var f=r(t(o)),d="<"+a;return u!==""&&(d+=" "+u+'="'+i(r(l),n,""")+'"'),d+">"+f+"</"+a+">"},w1}var b1,J2;function No(){if(J2)return b1;J2=1;var e=qt();return b1=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},b1}var Z2;function ble(){if(Z2)return X2;Z2=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),X2}var eV={},tV;function Tle(){if(tV)return eV;tV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),eV}var rV={},nV;function Ale(){if(nV)return rV;nV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),rV}var iV={},aV;function Rle(){if(aV)return iV;aV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),iV}var oV={},sV;function xle(){if(sV)return oV;sV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),oV}var uV={},lV;function Cle(){if(lV)return uV;lV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),uV}var cV={},fV;function Ole(){if(fV)return cV;fV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),cV}var dV={},hV;function Ile(){if(hV)return dV;hV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),dV}var pV={},vV;function Ple(){if(vV)return pV;vV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),pV}var gV={},mV;function kle(){if(mV)return gV;mV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),gV}var yV={},_V;function Dle(){if(_V)return yV;_V=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),yV}var EV={},SV;function Lle(){if(SV)return EV;SV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),EV}var wV={},bV;function Nle(){if(bV)return wV;bV=1;var e=$e(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),wV}var TV={},cv={exports:{}},T1,AV;function cO(){if(AV)return T1;AV=1;var e=Zt(),t=qt(),r=em(),n=cn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,o=e.Int8Array;return T1=!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}),T1}var A1,RV;function EQ(){if(RV)return A1;RV=1;var e=QC(),t=RangeError;return A1=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},A1}var R1,xV;function Mle(){if(xV)return R1;xV=1;var e=Math.round;return R1=function(t){var r=e(t);return r<0?0:r>255?255:r&255},R1}var x1,CV;function SQ(){if(CV)return x1;CV=1;var e=Io();return x1=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},x1}var C1,OV;function fO(){if(OV)return C1;OV=1;var e=Wg(),t=TypeError;return C1=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},C1}var O1,IV;function wQ(){if(IV)return O1;IV=1;var e=Po(),t=pr(),r=tO(),n=yn(),i=zn(),o=Wf(),a=hc(),u=qC(),l=SQ(),f=cn().aTypedArrayConstructor,d=fO();return O1=function(p){var m=r(this),S=n(p),E=arguments.length,_=E>1?arguments[1]:void 0,w=_!==void 0,T=a(S),C,x,R,P,y,N,$,H;if(T&&!u(T))for($=o(S,T),H=$.next,S=[];!(N=t(H,$)).done;)S.push(N.value);for(w&&E>2&&(_=e(_,arguments[2])),x=i(S),R=new(f(m))(x),P=l(R),C=0;x>C;C++)y=w?_(S[C],C):S[C],R[C]=P?d(y):+y;return R},O1}var PV;function Au(){if(PV)return cv.exports;PV=1;var e=$e(),t=Zt(),r=pr(),n=Rr(),i=cO(),o=cn(),a=om(),u=Do(),l=Co(),f=ua(),d=eO(),h=Oo(),p=am(),m=EQ(),S=Mle(),E=ul(),_=un(),w=Io(),T=qr(),C=sc(),x=la(),R=Ua(),P=_s(),y=lc().f,N=wQ(),$=ca().forEach,H=Yf(),B=Pi(),W=si(),X=sa(),J=Bh(),ie=Ei(),ne=dc(),pe=ie.get,K=ie.set,te=ie.enforce,z=W.f,ce=X.f,Se=t.RangeError,Le=a.ArrayBuffer,Be=Le.prototype,Xe=a.DataView,oe=o.NATIVE_ARRAY_BUFFER_VIEWS,O=o.TYPED_ARRAY_TAG,I=o.TypedArray,M=o.TypedArrayPrototype,k=o.isTypedArray,U="BYTES_PER_ELEMENT",Y="Wrong length",ae=function(Ie,Fe){B(Ie,Fe,{configurable:!0,get:function(){return pe(this)[Fe]}})},Ee=function(Ie){var Fe;return R(Be,Ie)||(Fe=w(Ie))==="ArrayBuffer"||Fe==="SharedArrayBuffer"},me=function(Ie,Fe){return k(Ie)&&!C(Fe)&&Fe in Ie&&d(+Fe)&&Fe>=0},Ce=function(Fe,ve){return ve=E(ve),me(Fe,ve)?l(2,Fe[ve]):ce(Fe,ve)},be=function(Fe,ve,_e){return ve=E(ve),me(Fe,ve)&&T(_e)&&_(_e,"value")&&!_(_e,"get")&&!_(_e,"set")&&!_e.configurable&&(!_(_e,"writable")||_e.writable)&&(!_(_e,"enumerable")||_e.enumerable)?(Fe[ve]=_e.value,Fe):z(Fe,ve,_e)};return n?(oe||(X.f=Ce,W.f=be,ae(M,"buffer"),ae(M,"byteOffset"),ae(M,"byteLength"),ae(M,"length")),e({target:"Object",stat:!0,forced:!oe},{getOwnPropertyDescriptor:Ce,defineProperty:be}),cv.exports=function(Ie,Fe,ve){var _e=Ie.match(/\d+/)[0]/8,we=Ie+(ve?"Clamped":"")+"Array",ke="get"+Ie,qe="set"+Ie,Ue=t[we],We=Ue,ct=We&&We.prototype,jt={},Gt=function(st,ft){var mt=pe(st);return mt.view[ke](ft*_e+mt.byteOffset,!0)},et=function(st,ft,mt){var Qt=pe(st);Qt.view[qe](ft*_e+Qt.byteOffset,ve?S(mt):mt,!0)},Rt=function(st,ft){z(st,ft,{get:function(){return Gt(this,ft)},set:function(mt){return et(this,ft,mt)},enumerable:!0})};oe?i&&(We=Fe(function(st,ft,mt,Qt){return u(st,ct),ne((function(){return T(ft)?Ee(ft)?Qt!==void 0?new Ue(ft,m(mt,_e),Qt):mt!==void 0?new Ue(ft,m(mt,_e)):new Ue(ft):k(ft)?J(We,ft):r(N,We,ft):new Ue(p(ft))})(),st,We)}),P&&P(We,I),$(y(Ue),function(st){st in We||f(We,st,Ue[st])}),We.prototype=ct):(We=Fe(function(st,ft,mt,Qt){u(st,ct);var Nt=0,Ae=0,tt,lt,Tt;if(!T(ft))Tt=p(ft),lt=Tt*_e,tt=new Le(lt);else if(Ee(ft)){tt=ft,Ae=m(mt,_e);var Lt=ft.byteLength;if(Qt===void 0){if(Lt%_e)throw new Se(Y);if(lt=Lt-Ae,lt<0)throw new Se(Y)}else if(lt=h(Qt)*_e,lt+Ae>Lt)throw new Se(Y);Tt=lt/_e}else return k(ft)?J(We,ft):r(N,We,ft);for(K(st,{buffer:tt,byteOffset:Ae,byteLength:lt,length:Tt,view:new Xe(tt)});Nt<Tt;)Rt(st,Nt++)}),P&&P(We,I),ct=We.prototype=x(M)),ct.constructor!==We&&f(ct,"constructor",We),te(ct).TypedArrayConstructor=We,O&&f(ct,O,we);var Et=We!==Ue;jt[we]=We,e({global:!0,constructor:!0,forced:Et,sham:!oe},jt),U in We||f(We,U,_e),U in ct||f(ct,U,_e),H(we)}):cv.exports=function(){},cv.exports}var kV;function $le(){if(kV)return TV;kV=1;var e=Au();return e("Float32",function(t){return function(n,i,o){return t(this,n,i,o)}}),TV}var DV={},LV;function Fle(){if(LV)return DV;LV=1;var e=Au();return e("Float64",function(t){return function(n,i,o){return t(this,n,i,o)}}),DV}var NV={},MV;function jle(){if(MV)return NV;MV=1;var e=Au();return e("Int8",function(t){return function(n,i,o){return t(this,n,i,o)}}),NV}var $V={},FV;function Ule(){if(FV)return $V;FV=1;var e=Au();return e("Int16",function(t){return function(n,i,o){return t(this,n,i,o)}}),$V}var jV={},UV;function qle(){if(UV)return jV;UV=1;var e=Au();return e("Int32",function(t){return function(n,i,o){return t(this,n,i,o)}}),jV}var qV={},BV;function Ble(){if(BV)return qV;BV=1;var e=Au();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}}),qV}var VV={},HV;function Vle(){if(HV)return VV;HV=1;var e=Au();return e("Uint8",function(t){return function(n,i,o){return t(this,n,i,o)}},!0),VV}var zV={},WV;function Hle(){if(WV)return zV;WV=1;var e=Au();return e("Uint16",function(t){return function(n,i,o){return t(this,n,i,o)}}),zV}var GV={},KV;function zle(){if(KV)return GV;KV=1;var e=Au();return e("Uint32",function(t){return function(n,i,o){return t(this,n,i,o)}}),GV}var YV={},XV;function Wle(){if(XV)return YV;XV=1;var e=cn(),t=zn(),r=Ai(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(a){var u=n(this),l=t(u),f=r(a),d=f>=0?f:l+f;return d<0||d>=l?void 0:u[d]}),YV}var QV={},JV;function Gle(){if(JV)return QV;JV=1;var e=zt(),t=cn(),r=AX(),n=e(r),i=t.aTypedArray,o=t.exportTypedArrayMethod;return o("copyWithin",function(u,l){return n(i(this),u,l,arguments.length>2?arguments[2]:void 0)}),QV}var ZV={},e8;function Kle(){if(e8)return ZV;e8=1;var e=cn(),t=ca().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),ZV}var t8={},r8;function Yle(){if(r8)return t8;r8=1;var e=cn(),t=BC(),r=fO(),n=Io(),i=pr(),o=zt(),a=qt(),u=e.aTypedArray,l=e.exportTypedArrayMethod,f=o("".slice),d=a(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return l("fill",function(p){var m=arguments.length;u(this);var S=f(n(this),0,3)==="Big"?r(p):+p;return i(t,this,S,m>1?arguments[1]:void 0,m>2?arguments[2]:void 0)},d),t8}var n8={},I1,i8;function Xle(){if(i8)return I1;i8=1;var e=Bh(),t=cn().getTypedArrayConstructor;return I1=function(r,n){return e(t(r),n)},I1}var a8;function Qle(){if(a8)return n8;a8=1;var e=cn(),t=ca().filter,r=Xle(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(a){var u=t(n(this),a,arguments.length>1?arguments[1]:void 0);return r(this,u)}),n8}var o8={},s8;function Jle(){if(s8)return o8;s8=1;var e=cn(),t=ca().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),o8}var u8={},l8;function Zle(){if(l8)return u8;l8=1;var e=cn(),t=ca().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),u8}var c8={},f8;function ece(){if(f8)return c8;f8=1;var e=cn(),t=Zg().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),c8}var d8={},h8;function tce(){if(h8)return d8;h8=1;var e=cn(),t=Zg().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),d8}var p8={},v8;function rce(){if(v8)return p8;v8=1;var e=cn(),t=ca().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(o){t(r(this),o,arguments.length>1?arguments[1]:void 0)}),p8}var g8={},m8;function nce(){if(m8)return g8;m8=1;var e=cO(),t=cn().exportTypedArrayStaticMethod,r=wQ();return t("from",r,e),g8}var y8={},_8;function ice(){if(_8)return y8;_8=1;var e=cn(),t=Mh().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),y8}var E8={},S8;function ace(){if(S8)return E8;S8=1;var e=cn(),t=Mh().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),E8}var w8={},b8;function oce(){if(b8)return w8;b8=1;var e=Zt(),t=qt(),r=zt(),n=cn(),i=tm(),o=Br(),a=o("iterator"),u=e.Uint8Array,l=r(i.values),f=r(i.keys),d=r(i.entries),h=n.aTypedArray,p=n.exportTypedArrayMethod,m=u&&u.prototype,S=!t(function(){m[a].call([1])}),E=!!m&&m.values&&m[a]===m.values&&m.values.name==="values",_=function(){return l(h(this))};return p("entries",function(){return d(h(this))},S),p("keys",function(){return f(h(this))},S),p("values",_,S||!E,{name:"values"}),p(a,_,S||!E,{name:"values"}),w8}var T8={},A8;function sce(){if(A8)return T8;A8=1;var e=cn(),t=zt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(a){return i(r(this),a)}),T8}var R8={},x8;function uce(){if(x8)return R8;x8=1;var e=cn(),t=ko(),r=OX(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(a){var u=arguments.length;return t(r,n(this),u>1?[a,arguments[1]]:[a])}),R8}var C8={},O8;function lce(){if(O8)return C8;O8=1;var e=cn(),t=ca().map,r=e.aTypedArray,n=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;return i("map",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0,function(u,l){return new(n(u))(l)})}),C8}var I8={},P8;function cce(){if(P8)return I8;P8=1;var e=cn(),t=cO(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var o=0,a=arguments.length,u=new(r(this))(a);a>o;)u[o]=arguments[o++];return u},t),I8}var k8={},D8;function fce(){if(D8)return k8;D8=1;var e=cn(),t=rm().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)}),k8}var L8={},N8;function dce(){if(N8)return L8;N8=1;var e=cn(),t=rm().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)}),L8}var M8={},$8;function hce(){if($8)return M8;$8=1;var e=cn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var o=this,a=t(o).length,u=n(a/2),l=0,f;l<u;)f=o[l],o[l++]=o[--a],o[a]=f;return o}),M8}var F8={},j8;function pce(){if(j8)return F8;j8=1;var e=Zt(),t=pr(),r=cn(),n=zn(),i=EQ(),o=yn(),a=qt(),u=e.RangeError,l=e.Int8Array,f=l&&l.prototype,d=f&&f.set,h=r.aTypedArray,p=r.exportTypedArrayMethod,m=!a(function(){var E=new Uint8ClampedArray(2);return t(d,E,{length:1,0:3},1),E[1]!==3}),S=m&&r.NATIVE_ARRAY_BUFFER_VIEWS&&a(function(){var E=new l(2);return E.set(1),E.set("2",1),E[0]!==0||E[1]!==2});return p("set",function(_){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),T=o(_);if(m)return t(d,this,T,w);var C=this.length,x=n(T),R=0;if(x+w>C)throw new u("Wrong length");for(;R<x;)this[w+R]=T[R++]},!m||S),F8}var U8={},q8;function vce(){if(q8)return U8;q8=1;var e=cn(),t=qt(),r=rs(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,a=t(function(){new Int8Array(1).slice()});return o("slice",function(l,f){for(var d=r(n(this),l,f),h=i(this),p=0,m=d.length,S=new h(m);m>p;)S[p]=d[p++];return S},a),U8}var B8={},V8;function gce(){if(V8)return B8;V8=1;var e=cn(),t=ca().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0)}),B8}var H8={},z8;function mce(){if(z8)return H8;z8=1;var e=Zt(),t=cc(),r=qt(),n=sn(),i=GC(),o=cn(),a=IX(),u=PX(),l=qs(),f=KC(),d=o.aTypedArray,h=o.exportTypedArrayMethod,p=e.Uint16Array,m=p&&t(p.prototype.sort),S=!!m&&!(r(function(){m(new p(2),null)})&&r(function(){m(new p(2),{})})),E=!!m&&!r(function(){if(l)return l<74;if(a)return a<67;if(u)return!0;if(f)return f<602;var w=new p(516),T=Array(516),C,x;for(C=0;C<516;C++)x=C%4,w[C]=515-C,T[C]=C-2*x+3;for(m(w,function(R,P){return(R/4|0)-(P/4|0)}),C=0;C<516;C++)if(w[C]!==T[C])return!0}),_=function(w){return function(T,C){return w!==void 0?+w(T,C)||0:C!==C?-1:T!==T?1:T===0&&C===0?1/T>0&&1/C<0?1:-1:T>C}};return h("sort",function(T){return T!==void 0&&n(T),E?m(this,T):i(d(this),_(T))},!E||S),H8}var W8={},G8;function yce(){if(G8)return W8;G8=1;var e=cn(),t=Oo(),r=Eu(),n=e.aTypedArray,i=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod;return o("subarray",function(u,l){var f=n(this),d=f.length,h=r(u,d),p=i(f);return new p(f.buffer,f.byteOffset+h*f.BYTES_PER_ELEMENT,t((l===void 0?d:r(l,d))-h))}),W8}var K8={},Y8;function _ce(){if(Y8)return K8;Y8=1;var e=Zt(),t=ko(),r=cn(),n=qt(),i=rs(),o=e.Int8Array,a=r.aTypedArray,u=r.exportTypedArrayMethod,l=[].toLocaleString,f=!!o&&n(function(){l.call(new o(1))}),d=n(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!n(function(){o.prototype.toLocaleString.call([1,2])});return u("toLocaleString",function(){return t(l,f?i(a(this)):a(this),i(arguments))},d),K8}var X8={},Q8;function Ece(){if(Q8)return X8;Q8=1;var e=kX(),t=cn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),X8}var J8={},Z8;function Sce(){if(Z8)return J8;Z8=1;var e=cn(),t=zt(),r=sn(),n=Bh(),i=e.aTypedArray,o=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,u=t(e.TypedArrayPrototype.sort);return a("toSorted",function(f){f!==void 0&&r(f);var d=i(this),h=n(o(d),d);return u(h,f)}),J8}var e5={},t5;function wce(){if(t5)return e5;t5=1;var e=cn().exportTypedArrayMethod,t=qt(),r=Zt(),n=zt(),i=r.Uint8Array,o=i&&i.prototype||{},a=[].toString,u=n([].join);t(function(){a.call({})})&&(a=function(){return u(this)});var l=o.toString!==a;return e("toString",a,l),e5}var r5={},n5;function bce(){if(n5)return r5;n5=1;var e=LX(),t=cn(),r=SQ(),n=Ai(),i=fO(),o=t.aTypedArray,a=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,l=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),f=l&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return u("with",function(d,h){var p=o(this),m=n(d),S=r(p)?i(h):+h;return e(p,a(p),m,S)},!l||f),r5}var i5={},P1,a5;function bQ(){if(a5)return P1;a5=1;var e=qr(),t=String,r=TypeError;return P1=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},P1}var k1,o5;function bm(){if(o5)return k1;o5=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 k1={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},k1}var D1,s5;function TQ(){if(s5)return D1;s5=1;var e=TypeError;return D1=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},D1}var L1,u5;function AQ(){if(u5)return L1;u5=1;var e=Zt(),t=zt(),r=bQ(),n=_m(),i=un(),o=bm(),a=TQ(),u=Vh(),l=o.c2i,f=o.c2iUrl,d=e.SyntaxError,h=e.TypeError,p=t("".charAt),m=function(_,w){for(var T=_.length;w<T;w++){var C=p(_,w);if(C!==" "&&C!==" "&&C!==`
|
|
6
|
-
`&&C!=="\f"&&C!=="\r")break}return w},S=function(_,w,T){var C=_.length;C<4&&(_+=C===2?"AA":"A");var x=(w[p(_,0)]<<18)+(w[p(_,1)]<<12)+(w[p(_,2)]<<6)+w[p(_,3)],R=[x>>16&255,x>>8&255,x&255];if(C===2){if(T&&R[1]!==0)throw new d("Extra bits");return[R[0]]}if(C===3){if(T&&R[2]!==0)throw new d("Extra bits");return[R[0],R[1]]}return R},E=function(_,w,T){for(var C=w.length,x=0;x<C;x++)_[T+x]=w[x];return T+C};return L1=function(_,w,T,C){n(_),r(w);var x=a(w)==="base64"?l:f,R=w?w.lastChunkHandling:void 0;if(R===void 0&&(R="loose"),R!=="loose"&&R!=="strict"&&R!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");T&&u(T.buffer);var P=_.length,y=T||[],N=0,$=0,H="",B=0;if(C)for(;;){if(B=m(_,B),B===P){if(H.length>0){if(R==="stop-before-partial")break;if(R==="loose"){if(H.length===1)throw new d("Malformed padding: exactly one additional character");N=E(y,S(H,x,!1),N)}else throw new d("Missing padding")}$=P;break}var W=p(_,B);if(++B,W==="="){if(H.length<2)throw new d("Padding is too early");if(B=m(_,B),H.length===2){if(B===P){if(R==="stop-before-partial")break;throw new d("Malformed padding: only one =")}p(_,B)==="="&&(++B,B=m(_,B))}if(B<P)throw new d("Unexpected character after padding");N=E(y,S(H,x,R==="strict"),N),$=P;break}if(!i(x,W))throw new d("Unexpected character");var X=C-N;if(X===1&&H.length===2||X===2&&H.length===3||(H+=W,H.length===4&&(N=E(y,S(H,x,!1),N),H="",$=B,N===C)))break}return{bytes:y,read:$,written:N}},L1}var l5;function Tce(){if(l5)return i5;l5=1;var e=$e(),t=Zt(),r=Bh(),n=AQ(),i=t.Uint8Array,o=!i||!i.fromBase64||!(function(){try{i.fromBase64("a");return}catch{}try{i.fromBase64("",null)}catch{return!0}})();return i&&e({target:"Uint8Array",stat:!0,forced:o},{fromBase64:function(u){var l=n(u,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,l.bytes)}}),i5}var c5={},N1,f5;function RQ(){if(f5)return N1;f5=1;var e=Zt(),t=zt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,o=Math.min,a=/[^\da-f]/i,u=t(a.exec),l=t("".slice);return N1=function(f,d){var h=f.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var p=d?o(d.length,h/2):h/2,m=d||new r(p),S=0,E=0;E<p;){var _=l(f,S,S+=2);if(u(a,_))throw new n("String should only contain hex characters");m[E++]=i(_,16)}return{bytes:m,read:S}},N1}var d5;function Ace(){if(d5)return c5;d5=1;var e=$e(),t=Zt(),r=_m(),n=RQ();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(o){return n(r(o)).bytes}}),c5}var h5={},M1,p5;function Tm(){if(p5)return M1;p5=1;var e=Io(),t=TypeError;return M1=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},M1}var v5;function Rce(){if(v5)return h5;v5=1;var e=$e(),t=Zt(),r=AQ(),n=Tm(),i=t.Uint8Array,o=!i||!i.prototype.setFromBase64||!(function(){var a=new i([255,255,255,255,255]);try{a.setFromBase64("",null);return}catch{}try{a.setFromBase64("a");return}catch{}try{a.setFromBase64("MjYyZg===")}catch{return a[0]===50&&a[1]===54&&a[2]===50&&a[3]===255&&a[4]===255}})();return i&&e({target:"Uint8Array",proto:!0,forced:o},{setFromBase64:function(u){n(this);var l=r(u,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}}),h5}var g5={},m5;function xce(){if(m5)return g5;m5=1;var e=$e(),t=Zt(),r=_m(),n=Tm(),i=Vh(),o=RQ();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(u){n(this),r(u),i(this.buffer);var l=o(u,this).read;return{read:l,written:l/2}}}),g5}var y5={},_5;function Cce(){if(_5)return y5;_5=1;var e=$e(),t=Zt(),r=zt(),n=bQ(),i=Tm(),o=Vh(),a=bm(),u=TQ(),l=a.i2c,f=a.i2cUrl,d=r("".charAt),h=t.Uint8Array,p=!h||!h.prototype.toBase64||!(function(){try{var m=new h;m.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:p},{toBase64:function(){var S=i(this),E=arguments.length?n(arguments[0]):void 0,_=u(E)==="base64"?l:f,w=!!E&&!!E.omitPadding;o(this.buffer);for(var T="",C=0,x=S.length,R,P=function(y){return d(_,R>>6*y&63)};C+2<x;C+=3)R=(S[C]<<16)+(S[C+1]<<8)+S[C+2],T+=P(3)+P(2)+P(1)+P(0);return C+2===x?(R=(S[C]<<16)+(S[C+1]<<8),T+=P(3)+P(2)+P(1)+(w?"":"=")):C+1===x&&(R=S[C]<<16,T+=P(3)+P(2)+(w?"":"==")),T}}),y5}var E5={},S5;function Oce(){if(S5)return E5;S5=1;var e=$e(),t=Zt(),r=zt(),n=Tm(),i=Vh(),o=r(1.1.toString),a=t.Uint8Array,u=!a||!a.prototype.toHex||!(function(){try{var l=new a([255,255,255,255,255,255,255,255]);return l.toHex()==="ffffffffffffffff"}catch{return!1}})();return a&&e({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){n(this),i(this.buffer);for(var f="",d=0,h=this.length;d<h;d++){var p=o(this[d],16);f+=p.length===1?"0"+p:p}return f}}),E5}var w5={},b5;function Ice(){if(b5)return w5;b5=1;var e=$e(),t=zt(),r=Yr(),n=String.fromCharCode,i=t("".charAt),o=t(/./.exec),a=t("".slice),u=/^[\da-f]{2}$/i,l=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),p="",m=h.length,S=0,E,_;S<m;){if(E=i(h,S++),E==="%"){if(i(h,S)==="u"){if(_=a(h,S+1,S+5),o(l,_)){p+=n(parseInt(_,16)),S+=5;continue}}else if(_=a(h,S,S+2),o(u,_)){p+=n(parseInt(_,16)),S+=2;continue}}p+=E}return p}}),w5}var T5={},A5={},$1,R5;function xQ(){if(R5)return $1;R5=1;var e=zt(),t=bu(),r=gc().getWeakData,n=Do(),i=yr(),o=_u(),a=qr(),u=Hi(),l=ca(),f=un(),d=Ei(),h=d.set,p=d.getterFor,m=l.find,S=l.findIndex,E=e([].splice),_=0,w=function(x){return x.frozen||(x.frozen=new T)},T=function(){this.entries=[]},C=function(x,R){return m(x.entries,function(P){return P[0]===R})};return T.prototype={get:function(x){var R=C(this,x);if(R)return R[1]},has:function(x){return!!C(this,x)},set:function(x,R){var P=C(this,x);P?P[1]=R:this.entries.push([x,R])},delete:function(x){var R=S(this.entries,function(P){return P[0]===x});return~R&&E(this.entries,R,1),!!~R}},$1={getConstructor:function(x,R,P,y){var N=x(function(W,X){n(W,$),h(W,{type:R,id:_++,frozen:null}),o(X)||u(X,W[y],{that:W,AS_ENTRIES:P})}),$=N.prototype,H=p(R),B=function(W,X,J){var ie=H(W),ne=r(i(X),!0);return ne===!0?w(ie).set(X,J):ne[ie.id]=J,W};return t($,{delete:function(W){var X=H(this);if(!a(W))return!1;var J=r(W);return J===!0?w(X).delete(W):J&&f(J,X.id)&&delete J[X.id]},has:function(X){var J=H(this);if(!a(X))return!1;var ie=r(X);return ie===!0?w(J).has(X):ie&&f(ie,J.id)}}),t($,P?{get:function(X){var J=H(this);if(a(X)){var ie=r(X);if(ie===!0)return w(J).get(X);if(ie)return ie[J.id]}},set:function(X,J){return B(this,X,J)}}:{add:function(X){return B(this,X,!0)}}),N}},$1}var x5;function Pce(){if(x5)return A5;x5=1;var e=Qf(),t=Zt(),r=zt(),n=bu(),i=gc(),o=cm(),a=xQ(),u=qr(),l=Ei().enforce,f=qt(),d=cX(),h=Object,p=Array.isArray,m=h.isExtensible,S=h.isFrozen,E=h.isSealed,_=h.freeze,w=h.seal,T=!t.ActiveXObject&&"ActiveXObject"in t,C,x=function(W){return function(){return W(this,arguments.length?arguments[0]:void 0)}},R=o("WeakMap",x,a),P=R.prototype,y=r(P.set),N=function(){return e&&f(function(){var W=_([]);return y(new R,W,1),!S(W)})};if(d)if(T){C=a.getConstructor(x,"WeakMap",!0),i.enable();var $=r(P.delete),H=r(P.has),B=r(P.get);n(P,{delete:function(W){if(u(W)&&!m(W)){var X=l(this);return X.frozen||(X.frozen=new C),$(this,W)||X.frozen.delete(W)}return $(this,W)},has:function(X){if(u(X)&&!m(X)){var J=l(this);return J.frozen||(J.frozen=new C),H(this,X)||J.frozen.has(X)}return H(this,X)},get:function(X){if(u(X)&&!m(X)){var J=l(this);return J.frozen||(J.frozen=new C),H(this,X)?B(this,X):J.frozen.get(X)}return B(this,X)},set:function(X,J){if(u(X)&&!m(X)){var ie=l(this);ie.frozen||(ie.frozen=new C),H(this,X)?y(this,X,J):ie.frozen.set(X,J)}else y(this,X,J);return this}})}else N()&&n(P,{set:function(X,J){var ie;return p(X)&&(S(X)?ie=_:E(X)&&(ie=w)),y(this,X,J),ie&&ie(X),this}});return A5}var C5;function kce(){return C5||(C5=1,Pce()),T5}var O5={},I5={},P5;function Dce(){if(P5)return I5;P5=1;var e=cm(),t=xQ();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),I5}var k5;function Lce(){return k5||(k5=1,Dce()),O5}var D5={},L5;function Nce(){if(L5)return D5;L5=1;var e=$e(),t=Zt(),r=on(),n=zt(),i=pr(),o=qt(),a=Yr(),u=ns(),l=bm().c2i,f=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=r("atob"),m=String.fromCharCode,S=n("".charAt),E=n("".replace),_=n(f.exec),w=!!p&&!o(function(){return p("aGk=")!=="hi"}),T=w&&o(function(){return p(" ")!==""}),C=w&&!o(function(){p("a")}),x=w&&!o(function(){p()}),R=w&&p.length!==1,P=!w||T||C||x||R;return e({global:!0,bind:!0,enumerable:!0,forced:P},{atob:function(N){if(u(arguments.length,1),w&&!T&&!C)return i(p,t,N);var $=E(a(N),d,""),H="",B=0,W=0,X,J,ie;if($.length%4===0&&($=E($,h,"")),X=$.length,X%4===1||_(f,$))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;B<X;)J=S($,B++),ie=W%4?ie*64+l[J]:l[J],W++%4&&(H+=m(255&ie>>(-2*W&6)));return H}}),D5}var N5={},M5;function Mce(){if(M5)return N5;M5=1;var e=$e(),t=Zt(),r=on(),n=zt(),i=pr(),o=qt(),a=Yr(),u=ns(),l=bm().i2c,f=r("btoa"),d=n("".charAt),h=n("".charCodeAt),p=!!f&&!o(function(){return f("hi")!=="aGk="}),m=p&&!o(function(){f()}),S=p&&o(function(){return f(null)!=="bnVsbA=="}),E=p&&f.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!p||m||S||E},{btoa:function(w){if(u(arguments.length,1),p)return i(f,t,a(w));for(var T=a(w),C="",x=0,R=l,P,y;d(T,x)||(R="=",x%1);){if(y=h(T,x+=3/4),y>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");P=P<<8|y,C+=d(R,63&P>>8-x%1*8)}return C}}),N5}var $5={},F1,F5;function CQ(){return F5||(F5=1,F1={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}),F1}var j1,j5;function OQ(){if(j5)return j1;j5=1;var e=Gg(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return j1=r===Object.prototype?void 0:r,j1}var U5;function $ce(){if(U5)return $5;U5=1;var e=Zt(),t=CQ(),r=OQ(),n=xX(),i=ua(),o=function(u){if(u&&u.forEach!==n)try{i(u,"forEach",n)}catch{u.forEach=n}};for(var a in t)t[a]&&o(e[a]&&e[a].prototype);return o(r),$5}var q5={},B5;function Fce(){if(B5)return q5;B5=1;var e=Zt(),t=CQ(),r=OQ(),n=tm(),i=ua(),o=oo(),a=Br(),u=a("iterator"),l=n.values,f=function(h,p){if(h){if(h[u]!==l)try{i(h,u,l)}catch{h[u]=l}if(o(h,p,!0),t[p]){for(var m in n)if(h[m]!==n[m])try{i(h,m,n[m])}catch{h[m]=n[m]}}}};for(var d in t)f(e[d]&&e[d].prototype,d);return f(r,"DOMTokenList"),q5}var V5={},U1,H5;function IQ(){return H5||(H5=1,U1={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}}),U1}var z5;function jce(){if(z5)return V5;z5=1;var e=$e(),t=on(),r=qX(),n=qt(),i=la(),o=Co(),a=si().f,u=$n(),l=Pi(),f=un(),d=Do(),h=yr(),p=TX(),m=zf(),S=IQ(),E=FC(),_=Ei(),w=Rr(),T=bn(),C="DOMException",x="DATA_CLONE_ERR",R=t("Error"),P=t(C)||(function(){try{var I=t("MessageChannel")||r("worker_threads").MessageChannel;new I().port1.postMessage(new WeakMap)}catch(M){if(M.name===x&&M.code===25)return M.constructor}})(),y=P&&P.prototype,N=R.prototype,$=_.set,H=_.getterFor(C),B="stack"in new R(C),W=function(I){return f(S,I)&&S[I].m?S[I].c:0},X=function(){d(this,J);var M=arguments.length,k=m(M<1?void 0:arguments[0]),U=m(M<2?void 0:arguments[1],"Error"),Y=W(U);if($(this,{type:C,name:U,message:k,code:Y}),w||(this.name=U,this.message=k,this.code=Y),B){var ae=new R(k);ae.name=C,a(this,"stack",o(1,E(ae.stack,1)))}},J=X.prototype=i(N),ie=function(I){return{enumerable:!0,configurable:!0,get:I}},ne=function(I){return ie(function(){return H(this)[I]})};w&&(l(J,"code",ne("code")),l(J,"message",ne("message")),l(J,"name",ne("name"))),a(J,"constructor",o(1,X));var pe=n(function(){return!(new P instanceof R)}),K=pe||n(function(){return N.toString!==p||String(new P(1,2))!=="2: 1"}),te=pe||n(function(){return new P(1,"DataCloneError").code!==25}),z=pe||P[x]!==25||y[x]!==25,ce=T?K||te||z:pe;e({global:!0,constructor:!0,forced:ce},{DOMException:ce?X:P});var Se=t(C),Le=Se.prototype;K&&(T||P===Se)&&u(Le,"toString",p),te&&w&&P===Se&&l(Le,"code",ie(function(){return W(h(this).name)}));for(var Be in S)if(f(S,Be)){var Xe=S[Be],oe=Xe.s,O=o(6,Xe.c);f(Se,oe)||a(Se,oe,O),f(Le,oe)||a(Le,oe,O)}return V5}var W5={},G5;function Uce(){if(G5)return W5;G5=1;var e=$e(),t=Zt(),r=on(),n=Co(),i=si().f,o=un(),a=Do(),u=dc(),l=zf(),f=IQ(),d=FC(),h=Rr(),p=bn(),m="DOMException",S=r("Error"),E=r(m),_=function(){a(this,w);var X=arguments.length,J=l(X<1?void 0:arguments[0]),ie=l(X<2?void 0:arguments[1],"Error"),ne=new E(J,ie),pe=new S(J);return pe.name=m,i(ne,"stack",n(1,d(pe.stack,1))),u(ne,this,_),ne},w=_.prototype=E.prototype,T="stack"in new S(m),C="stack"in new E(1,2),x=E&&h&&Object.getOwnPropertyDescriptor(t,m),R=!!x&&!(x.writable&&x.configurable),P=T&&!R&&!C;e({global:!0,constructor:!0,forced:p||P},{DOMException:P?_:E});var y=r(m),N=y.prototype;if(N.constructor!==y){p||i(N,"constructor",n(1,y));for(var $ in f)if(o(f,$)){var H=f[$],B=H.s;o(y,B)||i(y,B,n(6,H.c))}}return W5}var K5={},Y5;function qce(){if(Y5)return K5;Y5=1;var e=on(),t=oo(),r="DOMException";return t(e(r),r),K5}var X5={},Q5={},J5;function Bce(){if(J5)return Q5;J5=1;var e=$e(),t=Zt(),r=vm().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),Q5}var Z5={},q1,eH;function dO(){if(eH)return q1;eH=1;var e=Zt(),t=ko(),r=ln(),n=nm(),i=Us(),o=rs(),a=ns(),u=e.Function,l=/MSIE .\./.test(i)||n==="BUN"&&(function(){var f=e.Bun.version.split(".");return f.length<3||f[0]==="0"&&(f[1]<3||f[1]==="3"&&f[2]==="0")})();return q1=function(f,d){var h=d?2:1;return l?function(p,m){var S=a(arguments.length,1)>h,E=r(p)?p:u(p),_=S?o(arguments,h):[],w=S?function(){t(E,this,_)}:E;return d?f(w,m):f(w)}:f},q1}var tH;function Vce(){if(tH)return Z5;tH=1;var e=$e(),t=Zt(),r=vm().set,n=dO(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),Z5}var rH;function Hce(){return rH||(rH=1,Bce(),Vce()),X5}var nH={},iH;function zce(){if(iH)return nH;iH=1;var e=$e(),t=Zt(),r=oQ(),n=sn(),i=ns(),o=qt(),a=Rr(),u=o(function(){return a&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:u},{queueMicrotask:function(f){i(arguments.length,1),r(n(f))}}),nH}var aH={},oH;function Wce(){if(oH)return aH;oH=1;var e=$e(),t=Zt(),r=Pi(),n=Rr(),i=TypeError,o=Object.defineProperty,a=t.self!==t;try{if(n){var u=Object.getOwnPropertyDescriptor(t,"self");(a||!u||!u.get||!u.enumerable)&&r(t,"self",{get:function(){return t},set:function(f){if(this!==t)throw new i("Illegal invocation");o(t,"self",{value:f,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:a},{self:t})}catch{}return aH}var sH={},uH;function Gce(){if(uH)return sH;uH=1;var e=bn(),t=$e(),r=Zt(),n=on(),i=zt(),o=qt(),a=Bf(),u=ln(),l=fc(),f=_u(),d=qr(),h=sc(),p=Hi(),m=yr(),S=Io(),E=un(),_=Su(),w=ua(),T=zn(),C=ns(),x=mc(),R=YX(),P=Es(),y=td(),N=BX(),$=wX(),H=XC(),B=r.Object,W=r.Array,X=r.Date,J=r.Error,ie=r.TypeError,ne=r.PerformanceMark,pe=n("DOMException"),K=R.Map,te=R.has,z=R.get,ce=R.set,Se=P.Set,Le=P.add,Be=P.has,Xe=n("Object","keys"),oe=i([].push),O=i((!0).valueOf),I=i(1.1.valueOf),M=i("".valueOf),k=i(X.prototype.getTime),U=a("structuredClone"),Y="DataCloneError",ae="Transferring",Ee=function(et){return!o(function(){var Rt=new r.Set([7]),Et=et(Rt),st=et(B(7));return Et===Rt||!Et.has(7)||!d(st)||+st!=7})&&et},me=function(et,Rt){return!o(function(){var Et=new Rt,st=et({a:Et,b:Et});return!(st&&st.a===st.b&&st.a instanceof Rt&&st.a.stack===Et.stack)})},Ce=function(et){return!o(function(){var Rt=et(new r.AggregateError([1],U,{cause:3}));return Rt.name!=="AggregateError"||Rt.errors[0]!==1||Rt.message!==U||Rt.cause!==3})},be=r.structuredClone,Ie=e||!me(be,J)||!me(be,pe)||!Ce(be),Fe=!be&&Ee(function(et){return new ne(U,{detail:et}).detail}),ve=Ee(be)||Fe,_e=function(et){throw new pe("Uncloneable type: "+et,Y)},we=function(et,Rt){throw new pe((Rt||"Cloning")+" of "+et+" cannot be properly polyfilled in this engine",Y)},ke=function(et,Rt){return ve||we(Rt),ve(et)},qe=function(){var et;try{et=new r.DataTransfer}catch{try{et=new r.ClipboardEvent("").clipboardData}catch{}}return et&&et.items&&et.files?et:null},Ue=function(et,Rt,Et){if(te(Rt,et))return z(Rt,et);var st=Et||S(et),ft,mt,Qt,Nt,Ae,tt;if(st==="SharedArrayBuffer")ve?ft=ve(et):ft=et;else{var lt=r.DataView;!lt&&!u(et.slice)&&we("ArrayBuffer");try{if(u(et.slice)&&!et.resizable)ft=et.slice(0);else for(mt=et.byteLength,Qt=("maxByteLength"in et)?{maxByteLength:et.maxByteLength}:void 0,ft=new ArrayBuffer(mt,Qt),Nt=new lt(et),Ae=new lt(ft),tt=0;tt<mt;tt++)Ae.setUint8(tt,Nt.getUint8(tt))}catch{throw new pe("ArrayBuffer is detached",Y)}}return ce(Rt,et,ft),ft},We=function(et,Rt,Et,st,ft){var mt=r[Rt];return d(mt)||we(Rt),new mt(Ue(et.buffer,ft),Et,st)},ct=function(et,Rt){if(h(et)&&_e("Symbol"),!d(et))return et;if(Rt){if(te(Rt,et))return z(Rt,et)}else Rt=new K;var Et=S(et),st,ft,mt,Qt,Nt,Ae,tt,lt;switch(Et){case"Array":mt=W(T(et));break;case"Object":mt={};break;case"Map":mt=new K;break;case"Set":mt=new Se;break;case"RegExp":mt=new RegExp(et.source,x(et));break;case"Error":switch(ft=et.name,ft){case"AggregateError":mt=new(n(ft))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":mt=new(n(ft));break;case"CompileError":case"LinkError":case"RuntimeError":mt=new(n("WebAssembly",ft));break;default:mt=new J}break;case"DOMException":mt=new pe(et.message,et.name);break;case"ArrayBuffer":case"SharedArrayBuffer":mt=Ue(et,Rt,Et);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":Ae=Et==="DataView"?et.byteLength:et.length,mt=We(et,Et,et.byteOffset,Ae,Rt);break;case"DOMQuad":try{mt=new DOMQuad(ct(et.p1,Rt),ct(et.p2,Rt),ct(et.p3,Rt),ct(et.p4,Rt))}catch{mt=ke(et,Et)}break;case"File":if(ve)try{mt=ve(et),S(mt)!==Et&&(mt=void 0)}catch{}if(!mt)try{mt=new File([et],et.name,et)}catch{}mt||we(Et);break;case"FileList":if(Qt=qe(),Qt){for(Nt=0,Ae=T(et);Nt<Ae;Nt++)Qt.items.add(ct(et[Nt],Rt));mt=Qt.files}else mt=ke(et,Et);break;case"ImageData":try{mt=new ImageData(ct(et.data,Rt),et.width,et.height,{colorSpace:et.colorSpace})}catch{mt=ke(et,Et)}break;default:if(ve)mt=ve(et);else switch(Et){case"BigInt":mt=B(et.valueOf());break;case"Boolean":mt=B(O(et));break;case"Number":mt=B(I(et));break;case"String":mt=B(M(et));break;case"Date":mt=new X(k(et));break;case"Blob":try{mt=et.slice(0,et.size,et.type)}catch{we(Et)}break;case"DOMPoint":case"DOMPointReadOnly":st=r[Et];try{mt=st.fromPoint?st.fromPoint(et):new st(et.x,et.y,et.z,et.w)}catch{we(Et)}break;case"DOMRect":case"DOMRectReadOnly":st=r[Et];try{mt=st.fromRect?st.fromRect(et):new st(et.x,et.y,et.width,et.height)}catch{we(Et)}break;case"DOMMatrix":case"DOMMatrixReadOnly":st=r[Et];try{mt=st.fromMatrix?st.fromMatrix(et):new st(et)}catch{we(Et)}break;case"AudioData":case"VideoFrame":u(et.clone)||we(Et);try{mt=et.clone()}catch{_e(Et)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":we(Et);default:_e(Et)}}switch(ce(Rt,et,mt),Et){case"Array":case"Object":for(tt=Xe(et),Nt=0,Ae=T(tt);Nt<Ae;Nt++)lt=tt[Nt],_(mt,lt,ct(et[lt],Rt));break;case"Map":et.forEach(function(Tt,Lt){ce(mt,ct(Lt,Rt),ct(Tt,Rt))});break;case"Set":et.forEach(function(Tt){Le(mt,ct(Tt,Rt))});break;case"Error":w(mt,"message",ct(et.message,Rt)),E(et,"cause")&&w(mt,"cause",ct(et.cause,Rt)),ft==="AggregateError"?mt.errors=ct(et.errors,Rt):ft==="SuppressedError"&&(mt.error=ct(et.error,Rt),mt.suppressed=ct(et.suppressed,Rt));case"DOMException":$&&w(mt,"stack",ct(et.stack,Rt))}return mt},jt=function(et,Rt){if(!d(et))throw new ie("Transfer option cannot be converted to a sequence");var Et=[];p(et,function(Lt){oe(Et,m(Lt))});for(var st=0,ft=T(Et),mt=new Se,Qt,Nt,Ae,tt,lt,Tt;st<ft;){if(Qt=Et[st++],Nt=S(Qt),Nt==="ArrayBuffer"?Be(mt,Qt):te(Rt,Qt))throw new pe("Duplicate transferable",Y);if(Nt==="ArrayBuffer"){Le(mt,Qt);continue}if(H)tt=be(Qt,{transfer:[Qt]});else switch(Nt){case"ImageBitmap":Ae=r.OffscreenCanvas,l(Ae)||we(Nt,ae);try{lt=new Ae(Qt.width,Qt.height),Tt=lt.getContext("bitmaprenderer"),Tt.transferFromImageBitmap(Qt),tt=lt.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!u(Qt.clone)||!u(Qt.close))&&we(Nt,ae);try{tt=Qt.clone(),Qt.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":we(Nt,ae)}if(tt===void 0)throw new pe("This object cannot be transferred: "+Nt,Y);ce(Rt,Qt,tt)}return mt},Gt=function(et){y(et,function(Rt){H?ve(Rt,{transfer:[Rt]}):u(Rt.transfer)?Rt.transfer():N?N(Rt):we("ArrayBuffer",ae)})};return t({global:!0,enumerable:!0,sham:!H,forced:Ie},{structuredClone:function(Rt){var Et=C(arguments.length,1)>1&&!f(arguments[1])?m(arguments[1]):void 0,st=Et?Et.transfer:void 0,ft,mt;st!==void 0&&(ft=new K,mt=jt(st,ft));var Qt=ct(Rt,ft);return mt&&Gt(mt),Qt}}),sH}var lH={},cH={},fH;function Kce(){if(fH)return cH;fH=1;var e=$e(),t=Zt(),r=dO(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),cH}var dH={},hH;function Yce(){if(hH)return dH;hH=1;var e=$e(),t=Zt(),r=dO(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),dH}var pH;function Xce(){return pH||(pH=1,Kce(),Yce()),lH}var vH={},gH={},B1,mH;function Am(){if(mH)return B1;mH=1;var e=qt(),t=Br(),r=Rr(),n=bn(),i=t("iterator");return B1=!e(function(){var o=new URL("b?a=1&b=2&c=3","https://a"),a=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),l="";return o.pathname="c%20d",a.forEach(function(f,d){a.delete("b"),l+=d+f}),u.delete("a",2),u.delete("b",void 0),n&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!a.size&&(n||!r)||!a.sort||o.href!=="https://a/c%20d?a=1&c=3"||a.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!a[i]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||l!=="a1c3"||new URL("https://x",void 0).host!=="x"}),B1}var V1,yH;function Qce(){if(yH)return V1;yH=1;var e=zt(),t=2147483647,r=36,n=1,i=26,o=38,a=700,u=72,l=128,f="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",m=r-n,S=RangeError,E=e(h.exec),_=Math.floor,w=String.fromCharCode,T=e("".charCodeAt),C=e([].join),x=e([].push),R=e("".replace),P=e("".split),y=e("".toLowerCase),N=function(W){for(var X=[],J=0,ie=W.length;J<ie;){var ne=T(W,J++);if(ne>=55296&&ne<=56319&&J<ie){var pe=T(W,J++);(pe&64512)===56320?x(X,((ne&1023)<<10)+(pe&1023)+65536):(x(X,ne),J--)}else x(X,ne)}return X},$=function(W){return W+22+75*(W<26)},H=function(W,X,J){var ie=0;for(W=J?_(W/a):W>>1,W+=_(W/X);W>m*i>>1;)W=_(W/m),ie+=r;return _(ie+(m+1)*W/(W+o))},B=function(W){var X=[];W=N(W);var J=W.length,ie=l,ne=0,pe=u,K,te;for(K=0;K<W.length;K++)te=W[K],te<128&&x(X,w(te));var z=X.length,ce=z;for(z&&x(X,f);ce<J;){var Se=t;for(K=0;K<W.length;K++)te=W[K],te>=ie&&te<Se&&(Se=te);var Le=ce+1;if(Se-ie>_((t-ne)/Le))throw new S(p);for(ne+=(Se-ie)*Le,ie=Se,K=0;K<W.length;K++){if(te=W[K],te<ie&&++ne>t)throw new S(p);if(te===ie){for(var Be=ne,Xe=r;;){var oe=Xe<=pe?n:Xe>=pe+i?i:Xe-pe;if(Be<oe)break;var O=Be-oe,I=r-oe;x(X,w($(oe+O%I))),Be=_(O/I),Xe+=r}x(X,w($(Be))),pe=H(ne,Le,ce===z),ne=0,ce++}}ne++,ie++}return C(X,"")};return V1=function(W){var X=[],J=P(R(y(W),h,"."),"."),ie,ne;for(ie=0;ie<J.length;ie++)ne=J[ie],x(X,E(d,ne)?"xn--"+B(ne):ne);return C(X,".")},V1}var H1,_H;function PQ(){if(_H)return H1;_H=1,tm(),pQ();var e=$e(),t=Zt(),r=iQ(),n=on(),i=pr(),o=zt(),a=Rr(),u=Am(),l=$n(),f=Pi(),d=bu(),h=oo(),p=HC(),m=Ei(),S=Do(),E=ln(),_=un(),w=Po(),T=Io(),C=yr(),x=qr(),R=Yr(),P=la(),y=Co(),N=Wf(),$=hc(),H=vc(),B=ns(),W=Br(),X=GC(),J=W("iterator"),ie="URLSearchParams",ne=ie+"Iterator",pe=m.set,K=m.getterFor(ie),te=m.getterFor(ne),z=r("fetch"),ce=r("Request"),Se=r("Headers"),Le=ce&&ce.prototype,Be=Se&&Se.prototype,Xe=t.TypeError,oe=t.encodeURIComponent,O=String.fromCharCode,I=n("String","fromCodePoint"),M=parseInt,k=o("".charAt),U=o([].join),Y=o([].push),ae=o("".replace),Ee=o([].shift),me=o([].splice),Ce=o("".split),be=o("".slice),Ie=o(/./.exec),Fe=/\+/g,ve="�",_e=/^[0-9a-f]+$/i,we=function(Ae,tt){var lt=be(Ae,tt,tt+2);return Ie(_e,lt)?M(lt,16):NaN},ke=function(Ae){for(var tt=0,lt=128;lt>0&&(Ae<)!==0;lt>>=1)tt++;return tt},qe=function(Ae){var tt=null;switch(Ae.length){case 1:tt=Ae[0];break;case 2:tt=(Ae[0]&31)<<6|Ae[1]&63;break;case 3:tt=(Ae[0]&15)<<12|(Ae[1]&63)<<6|Ae[2]&63;break;case 4:tt=(Ae[0]&7)<<18|(Ae[1]&63)<<12|(Ae[2]&63)<<6|Ae[3]&63;break}return tt>1114111?null:tt},Ue=function(Ae){Ae=ae(Ae,Fe," ");for(var tt=Ae.length,lt="",Tt=0;Tt<tt;){var Lt=k(Ae,Tt);if(Lt==="%"){if(k(Ae,Tt+1)==="%"||Tt+3>tt){lt+="%",Tt++;continue}var ar=we(Ae,Tt+1);if(ar!==ar){lt+=Lt,Tt++;continue}Tt+=2;var dr=ke(ar);if(dr===0)Lt=O(ar);else{if(dr===1||dr>4){lt+=ve,Tt++;continue}for(var rr=[ar],gr=1;gr<dr&&(Tt++,!(Tt+3>tt||k(Ae,Tt)!=="%"));){var Dr=we(Ae,Tt+1);if(Dr!==Dr){Tt+=3;break}if(Dr>191||Dr<128)break;Y(rr,Dr),Tt+=2,gr++}if(rr.length!==dr){lt+=ve;continue}var Ur=qe(rr);Ur===null?lt+=ve:Lt=I(Ur)}}lt+=Lt,Tt++}return lt},We=/[!'()~]|%20/g,ct={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},jt=function(Ae){return ct[Ae]},Gt=function(Ae){return ae(oe(Ae),We,jt)},et=p(function(tt,lt){pe(this,{type:ne,target:K(tt).entries,index:0,kind:lt})},ie,function(){var tt=te(this),lt=tt.target,Tt=tt.index++;if(!lt||Tt>=lt.length)return tt.target=null,H(void 0,!0);var Lt=lt[Tt];switch(tt.kind){case"keys":return H(Lt.key,!1);case"values":return H(Lt.value,!1)}return H([Lt.key,Lt.value],!1)},!0),Rt=function(Ae){this.entries=[],this.url=null,Ae!==void 0&&(x(Ae)?this.parseObject(Ae):this.parseQuery(typeof Ae=="string"?k(Ae,0)==="?"?be(Ae,1):Ae:R(Ae)))};Rt.prototype={type:ie,bindURL:function(Ae){this.url=Ae,this.update()},parseObject:function(Ae){var tt=this.entries,lt=$(Ae),Tt,Lt,ar,dr,rr,gr,Dr;if(lt)for(Tt=N(Ae,lt),Lt=Tt.next;!(ar=i(Lt,Tt)).done;){if(dr=N(C(ar.value)),rr=dr.next,(gr=i(rr,dr)).done||(Dr=i(rr,dr)).done||!i(rr,dr).done)throw new Xe("Expected sequence with length 2");Y(tt,{key:R(gr.value),value:R(Dr.value)})}else for(var Ur in Ae)_(Ae,Ur)&&Y(tt,{key:Ur,value:R(Ae[Ur])})},parseQuery:function(Ae){if(Ae)for(var tt=this.entries,lt=Ce(Ae,"&"),Tt=0,Lt,ar;Tt<lt.length;)Lt=lt[Tt++],Lt.length&&(ar=Ce(Lt,"="),Y(tt,{key:Ue(Ee(ar)),value:Ue(U(ar,"="))}))},serialize:function(){for(var Ae=this.entries,tt=[],lt=0,Tt;lt<Ae.length;)Tt=Ae[lt++],Y(tt,Gt(Tt.key)+"="+Gt(Tt.value));return U(tt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Et=function(){S(this,st);var tt=arguments.length>0?arguments[0]:void 0,lt=pe(this,new Rt(tt));a||(this.size=lt.entries.length)},st=Et.prototype;if(d(st,{append:function(tt,lt){var Tt=K(this);B(arguments.length,2),Y(Tt.entries,{key:R(tt),value:R(lt)}),a||this.length++,Tt.updateURL()},delete:function(Ae){for(var tt=K(this),lt=B(arguments.length,1),Tt=tt.entries,Lt=R(Ae),ar=lt<2?void 0:arguments[1],dr=ar===void 0?ar:R(ar),rr=0;rr<Tt.length;){var gr=Tt[rr];if(gr.key===Lt&&(dr===void 0||gr.value===dr)){if(me(Tt,rr,1),dr!==void 0)break}else rr++}a||(this.size=Tt.length),tt.updateURL()},get:function(tt){var lt=K(this).entries;B(arguments.length,1);for(var Tt=R(tt),Lt=0;Lt<lt.length;Lt++)if(lt[Lt].key===Tt)return lt[Lt].value;return null},getAll:function(tt){var lt=K(this).entries;B(arguments.length,1);for(var Tt=R(tt),Lt=[],ar=0;ar<lt.length;ar++)lt[ar].key===Tt&&Y(Lt,lt[ar].value);return Lt},has:function(tt){for(var lt=K(this).entries,Tt=B(arguments.length,1),Lt=R(tt),ar=Tt<2?void 0:arguments[1],dr=ar===void 0?ar:R(ar),rr=0;rr<lt.length;){var gr=lt[rr++];if(gr.key===Lt&&(dr===void 0||gr.value===dr))return!0}return!1},set:function(tt,lt){var Tt=K(this);B(arguments.length,1);for(var Lt=Tt.entries,ar=!1,dr=R(tt),rr=R(lt),gr=0,Dr;gr<Lt.length;gr++)Dr=Lt[gr],Dr.key===dr&&(ar?me(Lt,gr--,1):(ar=!0,Dr.value=rr));ar||Y(Lt,{key:dr,value:rr}),a||(this.size=Lt.length),Tt.updateURL()},sort:function(){var tt=K(this);X(tt.entries,function(lt,Tt){return lt.key>Tt.key?1:-1}),tt.updateURL()},forEach:function(tt){for(var lt=K(this).entries,Tt=w(tt,arguments.length>1?arguments[1]:void 0),Lt=0,ar;Lt<lt.length;)ar=lt[Lt++],Tt(ar.value,ar.key,this)},keys:function(){return new et(this,"keys")},values:function(){return new et(this,"values")},entries:function(){return new et(this,"entries")}},{enumerable:!0}),l(st,J,st.entries,{name:"entries"}),l(st,"toString",function(){return K(this).serialize()},{enumerable:!0}),a&&f(st,"size",{get:function(){return K(this).entries.length},configurable:!0,enumerable:!0}),h(Et,ie),e({global:!0,constructor:!0,forced:!u},{URLSearchParams:Et}),!u&&E(Se)){var ft=o(Be.has),mt=o(Be.set),Qt=function(Ae){if(x(Ae)){var tt=Ae.body,lt;if(T(tt)===ie)return lt=Ae.headers?new Se(Ae.headers):new Se,ft(lt,"content-type")||mt(lt,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),P(Ae,{body:y(0,R(tt)),headers:y(0,lt)})}return Ae};if(E(z)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(tt){return z(tt,arguments.length>1?Qt(arguments[1]):{})}}),E(ce)){var Nt=function(tt){return S(this,Le),new ce(tt,arguments.length>1?Qt(arguments[1]):{})};Le.constructor=Nt,Nt.prototype=Le,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Nt})}}return H1={URLSearchParams:Et,getState:K},H1}var EH;function Jce(){if(EH)return gH;EH=1,vQ();var e=$e(),t=Rr(),r=Am(),n=Zt(),i=Po(),o=zt(),a=$n(),u=Pi(),l=Do(),f=un(),d=eQ(),h=CX(),p=rs(),m=Em().codeAt,S=Qce(),E=Yr(),_=oo(),w=ns(),T=PQ(),C=Ei(),x=C.set,R=C.getterFor("URL"),P=T.URLSearchParams,y=T.getState,N=n.URL,$=n.TypeError,H=n.parseInt,B=Math.floor,W=Math.pow,X=o("".charAt),J=o(/./.exec),ie=o([].join),ne=o(1.1.toString),pe=o([].pop),K=o([].push),te=o("".replace),z=o([].shift),ce=o("".split),Se=o("".slice),Le=o("".toLowerCase),Be=o([].unshift),Xe="Invalid authority",oe="Invalid scheme",O="Invalid host",I="Invalid port",M=/[a-z]/i,k=/[\d+-.a-z]/i,U=/\d/,Y=/^0x/i,ae=/^[0-7]+$/,Ee=/^\d+$/,me=/^[\da-f]+$/i,Ce=/[\0\t\n\r #%/:<>?@[\\\]^|]/,be=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ie=/^[\u0000-\u0020]+/,Fe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ve=/[\t\n\r]/g,_e,we=function(at){var kt=ce(at,"."),vt,Je,se,rt,He,bt,yt;if(kt.length&&kt[kt.length-1]===""&&kt.length--,vt=kt.length,vt>4)return at;for(Je=[],se=0;se<vt;se++){if(rt=kt[se],rt==="")return at;if(He=10,rt.length>1&&X(rt,0)==="0"&&(He=J(Y,rt)?16:8,rt=Se(rt,He===8?1:2)),rt==="")bt=0;else{if(!J(He===10?Ee:He===8?ae:me,rt))return at;bt=H(rt,He)}K(Je,bt)}for(se=0;se<vt;se++)if(bt=Je[se],se===vt-1){if(bt>=W(256,5-vt))return null}else if(bt>255)return null;for(yt=pe(Je),se=0;se<Je.length;se++)yt+=Je[se]*W(256,3-se);return yt},ke=function(at){var kt=[0,0,0,0,0,0,0,0],vt=0,Je=null,se=0,rt,He,bt,yt,Ht,Kt,wt,_r=function(){return X(at,se)};if(_r()===":"){if(X(at,1)!==":")return;se+=2,vt++,Je=vt}for(;_r();){if(vt===8)return;if(_r()===":"){if(Je!==null)return;se++,vt++,Je=vt;continue}for(rt=He=0;He<4&&J(me,_r());)rt=rt*16+H(_r(),16),se++,He++;if(_r()==="."){if(He===0||(se-=He,vt>6))return;for(bt=0;_r();){if(yt=null,bt>0)if(_r()==="."&&bt<4)se++;else return;if(!J(U,_r()))return;for(;J(U,_r());){if(Ht=H(_r(),10),yt===null)yt=Ht;else{if(yt===0)return;yt=yt*10+Ht}if(yt>255)return;se++}kt[vt]=kt[vt]*256+yt,bt++,(bt===2||bt===4)&&vt++}if(bt!==4)return;break}else if(_r()===":"){if(se++,!_r())return}else if(_r())return;kt[vt++]=rt}if(Je!==null)for(Kt=vt-Je,vt=7;vt!==0&&Kt>0;)wt=kt[vt],kt[vt--]=kt[Je+Kt-1],kt[Je+--Kt]=wt;else if(vt!==8)return;return kt},qe=function(at){for(var kt=null,vt=1,Je=null,se=0,rt=0;rt<8;rt++)at[rt]!==0?(se>vt&&(kt=Je,vt=se),Je=null,se=0):(Je===null&&(Je=rt),++se);return se>vt?Je:kt},Ue=function(at){var kt,vt,Je,se;if(typeof at=="number"){for(kt=[],vt=0;vt<4;vt++)Be(kt,at%256),at=B(at/256);return ie(kt,".")}if(typeof at=="object"){for(kt="",Je=qe(at),vt=0;vt<8;vt++)se&&at[vt]===0||(se&&(se=!1),Je===vt?(kt+=vt?":":"::",se=!0):(kt+=ne(at[vt],16),vt<7&&(kt+=":")));return"["+kt+"]"}return at},We={},ct=d({},We,{" ":1,'"':1,"<":1,">":1,"`":1}),jt=d({},ct,{"#":1,"?":1,"{":1,"}":1}),Gt=d({},jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),et=function(at,kt){var vt=m(at,0);return vt>32&&vt<127&&!f(kt,at)?at:encodeURIComponent(at)},Rt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Et=function(at,kt){var vt;return at.length===2&&J(M,X(at,0))&&((vt=X(at,1))===":"||!kt&&vt==="|")},st=function(at){var kt;return at.length>1&&Et(Se(at,0,2))&&(at.length===2||(kt=X(at,2))==="/"||kt==="\\"||kt==="?"||kt==="#")},ft=function(at){return at==="."||Le(at)==="%2e"},mt=function(at){return at=Le(at),at===".."||at==="%2e."||at===".%2e"||at==="%2e%2e"},Qt={},Nt={},Ae={},tt={},lt={},Tt={},Lt={},ar={},dr={},rr={},gr={},Dr={},Ur={},Pn={},kn={},Fn={},fn={},Wn={},Xn={},ui={},ti={},Si=function(at,kt,vt){var Je=E(at),se,rt,He;if(kt){if(rt=this.parse(Je),rt)throw new $(rt);this.searchParams=null}else{if(vt!==void 0&&(se=new Si(vt,!0)),rt=this.parse(Je,null,se),rt)throw new $(rt);He=y(new P),He.bindURL(this),this.searchParams=He}};Si.prototype={type:"URL",parse:function(at,kt,vt){var Je=this,se=kt||Qt,rt=0,He="",bt=!1,yt=!1,Ht=!1,Kt,wt,_r,Hr;for(at=E(at),kt||(Je.scheme="",Je.username="",Je.password="",Je.host=null,Je.port=null,Je.path=[],Je.query=null,Je.fragment=null,Je.cannotBeABaseURL=!1,at=te(at,Ie,""),at=te(at,Fe,"$1")),at=te(at,ve,""),Kt=h(at);rt<=Kt.length;){switch(wt=Kt[rt],se){case Qt:if(wt&&J(M,wt))He+=Le(wt),se=Nt;else{if(kt)return oe;se=Ae;continue}break;case Nt:if(wt&&(J(k,wt)||wt==="+"||wt==="-"||wt==="."))He+=Le(wt);else if(wt===":"){if(kt&&(Je.isSpecial()!==f(Rt,He)||He==="file"&&(Je.includesCredentials()||Je.port!==null)||Je.scheme==="file"&&!Je.host))return;if(Je.scheme=He,kt){Je.isSpecial()&&Rt[Je.scheme]===Je.port&&(Je.port=null);return}He="",Je.scheme==="file"?se=Pn:Je.isSpecial()&&vt&&vt.scheme===Je.scheme?se=tt:Je.isSpecial()?se=ar:Kt[rt+1]==="/"?(se=lt,rt++):(Je.cannotBeABaseURL=!0,K(Je.path,""),se=Xn)}else{if(kt)return oe;He="",se=Ae,rt=0;continue}break;case Ae:if(!vt||vt.cannotBeABaseURL&&wt!=="#")return oe;if(vt.cannotBeABaseURL&&wt==="#"){Je.scheme=vt.scheme,Je.path=p(vt.path),Je.query=vt.query,Je.fragment="",Je.cannotBeABaseURL=!0,se=ti;break}se=vt.scheme==="file"?Pn:Tt;continue;case tt:if(wt==="/"&&Kt[rt+1]==="/")se=dr,rt++;else{se=Tt;continue}break;case lt:if(wt==="/"){se=rr;break}else{se=Wn;continue}case Tt:if(Je.scheme=vt.scheme,wt===_e)Je.username=vt.username,Je.password=vt.password,Je.host=vt.host,Je.port=vt.port,Je.path=p(vt.path),Je.query=vt.query;else if(wt==="/"||wt==="\\"&&Je.isSpecial())se=Lt;else if(wt==="?")Je.username=vt.username,Je.password=vt.password,Je.host=vt.host,Je.port=vt.port,Je.path=p(vt.path),Je.query="",se=ui;else if(wt==="#")Je.username=vt.username,Je.password=vt.password,Je.host=vt.host,Je.port=vt.port,Je.path=p(vt.path),Je.query=vt.query,Je.fragment="",se=ti;else{Je.username=vt.username,Je.password=vt.password,Je.host=vt.host,Je.port=vt.port,Je.path=p(vt.path),Je.path.length--,se=Wn;continue}break;case Lt:if(Je.isSpecial()&&(wt==="/"||wt==="\\"))se=dr;else if(wt==="/")se=rr;else{Je.username=vt.username,Je.password=vt.password,Je.host=vt.host,Je.port=vt.port,se=Wn;continue}break;case ar:if(se=dr,wt!=="/"||X(He,rt+1)!=="/")continue;rt++;break;case dr:if(wt!=="/"&&wt!=="\\"){se=rr;continue}break;case rr:if(wt==="@"){bt&&(He="%40"+He),bt=!0,_r=h(He);for(var dn=0;dn<_r.length;dn++){var Dt=_r[dn];if(Dt===":"&&!Ht){Ht=!0;continue}var zr=et(Dt,Gt);Ht?Je.password+=zr:Je.username+=zr}He=""}else if(wt===_e||wt==="/"||wt==="?"||wt==="#"||wt==="\\"&&Je.isSpecial()){if(bt&&He==="")return Xe;rt-=h(He).length+1,He="",se=gr}else He+=wt;break;case gr:case Dr:if(kt&&Je.scheme==="file"){se=Fn;continue}else if(wt===":"&&!yt){if(He==="")return O;if(Hr=Je.parseHost(He),Hr)return Hr;if(He="",se=Ur,kt===Dr)return}else if(wt===_e||wt==="/"||wt==="?"||wt==="#"||wt==="\\"&&Je.isSpecial()){if(Je.isSpecial()&&He==="")return O;if(kt&&He===""&&(Je.includesCredentials()||Je.port!==null))return;if(Hr=Je.parseHost(He),Hr)return Hr;if(He="",se=fn,kt)return;continue}else wt==="["?yt=!0:wt==="]"&&(yt=!1),He+=wt;break;case Ur:if(J(U,wt))He+=wt;else if(wt===_e||wt==="/"||wt==="?"||wt==="#"||wt==="\\"&&Je.isSpecial()||kt){if(He!==""){var Dn=H(He,10);if(Dn>65535)return I;Je.port=Je.isSpecial()&&Dn===Rt[Je.scheme]?null:Dn,He=""}if(kt)return;se=fn;continue}else return I;break;case Pn:if(Je.scheme="file",wt==="/"||wt==="\\")se=kn;else if(vt&&vt.scheme==="file")switch(wt){case _e:Je.host=vt.host,Je.path=p(vt.path),Je.query=vt.query;break;case"?":Je.host=vt.host,Je.path=p(vt.path),Je.query="",se=ui;break;case"#":Je.host=vt.host,Je.path=p(vt.path),Je.query=vt.query,Je.fragment="",se=ti;break;default:st(ie(p(Kt,rt),""))||(Je.host=vt.host,Je.path=p(vt.path),Je.shortenPath()),se=Wn;continue}else{se=Wn;continue}break;case kn:if(wt==="/"||wt==="\\"){se=Fn;break}vt&&vt.scheme==="file"&&!st(ie(p(Kt,rt),""))&&(Et(vt.path[0],!0)?K(Je.path,vt.path[0]):Je.host=vt.host),se=Wn;continue;case Fn:if(wt===_e||wt==="/"||wt==="\\"||wt==="?"||wt==="#"){if(!kt&&Et(He))se=Wn;else if(He===""){if(Je.host="",kt)return;se=fn}else{if(Hr=Je.parseHost(He),Hr)return Hr;if(Je.host==="localhost"&&(Je.host=""),kt)return;He="",se=fn}continue}else He+=wt;break;case fn:if(Je.isSpecial()){if(se=Wn,wt!=="/"&&wt!=="\\")continue}else if(!kt&&wt==="?")Je.query="",se=ui;else if(!kt&&wt==="#")Je.fragment="",se=ti;else if(wt!==_e&&(se=Wn,wt!=="/"))continue;break;case Wn:if(wt===_e||wt==="/"||wt==="\\"&&Je.isSpecial()||!kt&&(wt==="?"||wt==="#")){if(mt(He)?(Je.shortenPath(),wt!=="/"&&!(wt==="\\"&&Je.isSpecial())&&K(Je.path,"")):ft(He)?wt!=="/"&&!(wt==="\\"&&Je.isSpecial())&&K(Je.path,""):(Je.scheme==="file"&&!Je.path.length&&Et(He)&&(Je.host&&(Je.host=""),He=X(He,0)+":"),K(Je.path,He)),He="",Je.scheme==="file"&&(wt===_e||wt==="?"||wt==="#"))for(;Je.path.length>1&&Je.path[0]==="";)z(Je.path);wt==="?"?(Je.query="",se=ui):wt==="#"&&(Je.fragment="",se=ti)}else He+=et(wt,jt);break;case Xn:wt==="?"?(Je.query="",se=ui):wt==="#"?(Je.fragment="",se=ti):wt!==_e&&(Je.path[0]+=et(wt,We));break;case ui:!kt&&wt==="#"?(Je.fragment="",se=ti):wt!==_e&&(wt==="'"&&Je.isSpecial()?Je.query+="%27":wt==="#"?Je.query+="%23":Je.query+=et(wt,We));break;case ti:wt!==_e&&(Je.fragment+=et(wt,ct));break}rt++}},parseHost:function(at){var kt,vt,Je;if(X(at,0)==="["){if(X(at,at.length-1)!=="]"||(kt=ke(Se(at,1,-1)),!kt))return O;this.host=kt}else if(this.isSpecial()){if(at=S(at),J(Ce,at)||(kt=we(at),kt===null))return O;this.host=kt}else{if(J(be,at))return O;for(kt="",vt=h(at),Je=0;Je<vt.length;Je++)kt+=et(vt[Je],We);this.host=kt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return f(Rt,this.scheme)},shortenPath:function(){var at=this.path,kt=at.length;kt&&(this.scheme!=="file"||kt!==1||!Et(at[0],!0))&&at.length--},serialize:function(){var at=this,kt=at.scheme,vt=at.username,Je=at.password,se=at.host,rt=at.port,He=at.path,bt=at.query,yt=at.fragment,Ht=kt+":";return se!==null?(Ht+="//",at.includesCredentials()&&(Ht+=vt+(Je?":"+Je:"")+"@"),Ht+=Ue(se),rt!==null&&(Ht+=":"+rt)):kt==="file"&&(Ht+="//"),Ht+=at.cannotBeABaseURL?He[0]:He.length?"/"+ie(He,"/"):"",bt!==null&&(Ht+="?"+bt),yt!==null&&(Ht+="#"+yt),Ht},setHref:function(at){var kt=this.parse(at);if(kt)throw new $(kt);this.searchParams.update()},getOrigin:function(){var at=this.scheme,kt=this.port;if(at==="blob")try{return new Ri(at.path[0]).origin}catch{return"null"}return at==="file"||!this.isSpecial()?"null":at+"://"+Ue(this.host)+(kt!==null?":"+kt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(at){this.parse(E(at)+":",Qt)},getUsername:function(){return this.username},setUsername:function(at){var kt=h(E(at));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<kt.length;vt++)this.username+=et(kt[vt],Gt)}},getPassword:function(){return this.password},setPassword:function(at){var kt=h(E(at));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<kt.length;vt++)this.password+=et(kt[vt],Gt)}},getHost:function(){var at=this.host,kt=this.port;return at===null?"":kt===null?Ue(at):Ue(at)+":"+kt},setHost:function(at){this.cannotBeABaseURL||this.parse(at,gr)},getHostname:function(){var at=this.host;return at===null?"":Ue(at)},setHostname:function(at){this.cannotBeABaseURL||this.parse(at,Dr)},getPort:function(){var at=this.port;return at===null?"":E(at)},setPort:function(at){this.cannotHaveUsernamePasswordPort()||(at=E(at),at===""?this.port=null:this.parse(at,Ur))},getPathname:function(){var at=this.path;return this.cannotBeABaseURL?at[0]:at.length?"/"+ie(at,"/"):""},setPathname:function(at){this.cannotBeABaseURL||(this.path=[],this.parse(at,fn))},getSearch:function(){var at=this.query;return at?"?"+at:""},setSearch:function(at){at=E(at),at===""?this.query=null:(X(at,0)==="?"&&(at=Se(at,1)),this.query="",this.parse(at,ui)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var at=this.fragment;return at?"#"+at:""},setHash:function(at){if(at=E(at),at===""){this.fragment=null;return}X(at,0)==="#"&&(at=Se(at,1)),this.fragment="",this.parse(at,ti)},update:function(){this.query=this.searchParams.serialize()||null}};var Ri=function(kt){var vt=l(this,_n),Je=w(arguments.length,1)>1?arguments[1]:void 0,se=x(vt,new Si(kt,!1,Je));t||(vt.href=se.serialize(),vt.origin=se.getOrigin(),vt.protocol=se.getProtocol(),vt.username=se.getUsername(),vt.password=se.getPassword(),vt.host=se.getHost(),vt.hostname=se.getHostname(),vt.port=se.getPort(),vt.pathname=se.getPathname(),vt.search=se.getSearch(),vt.searchParams=se.getSearchParams(),vt.hash=se.getHash())},_n=Ri.prototype,Gn=function(at,kt){return{get:function(){return R(this)[at]()},set:kt&&function(vt){return R(this)[kt](vt)},configurable:!0,enumerable:!0}};if(t&&(u(_n,"href",Gn("serialize","setHref")),u(_n,"origin",Gn("getOrigin")),u(_n,"protocol",Gn("getProtocol","setProtocol")),u(_n,"username",Gn("getUsername","setUsername")),u(_n,"password",Gn("getPassword","setPassword")),u(_n,"host",Gn("getHost","setHost")),u(_n,"hostname",Gn("getHostname","setHostname")),u(_n,"port",Gn("getPort","setPort")),u(_n,"pathname",Gn("getPathname","setPathname")),u(_n,"search",Gn("getSearch","setSearch")),u(_n,"searchParams",Gn("getSearchParams")),u(_n,"hash",Gn("getHash","setHash"))),a(_n,"toJSON",function(){return R(this).serialize()},{enumerable:!0}),a(_n,"toString",function(){return R(this).serialize()},{enumerable:!0}),N){var di=N.createObjectURL,li=N.revokeObjectURL;di&&a(Ri,"createObjectURL",i(di,N)),li&&a(Ri,"revokeObjectURL",i(li,N))}return _(Ri,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:Ri}),gH}var SH;function Zce(){return SH||(SH=1,Jce()),vH}var wH={},bH;function efe(){if(bH)return wH;bH=1;var e=$e(),t=on(),r=qt(),n=ns(),i=Yr(),o=Am(),a=t("URL"),u=o&&r(function(){a.canParse()}),l=r(function(){return a.canParse.length!==1});return e({target:"URL",stat:!0,forced:!u||l},{canParse:function(d){var h=n(arguments.length,1),p=i(d),m=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new a(p,m)}catch{return!1}}}),wH}var TH={},AH;function tfe(){if(AH)return TH;AH=1;var e=$e(),t=on(),r=ns(),n=Yr(),i=Am(),o=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(u){var l=r(arguments.length,1),f=n(u),d=l<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new o(f,d)}catch{return null}}}),TH}var RH={},xH;function rfe(){if(xH)return RH;xH=1;var e=$e(),t=pr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),RH}var CH={},OH;function nfe(){return OH||(OH=1,PQ()),CH}var IH={},PH;function ife(){if(PH)return IH;PH=1;var e=$n(),t=zt(),r=Yr(),n=ns(),i=URLSearchParams,o=i.prototype,a=t(o.append),u=t(o.delete),l=t(o.forEach),f=t([].push),d=new i("a=1&a=2&b=3");return d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&e(o,"delete",function(h){var p=arguments.length,m=p<2?void 0:arguments[1];if(p&&m===void 0)return u(this,h);var S=[];l(this,function(P,y){f(S,{key:y,value:P})}),n(p,1);for(var E=r(h),_=r(m),w=0,T=0,C=!1,x=S.length,R;w<x;)R=S[w++],C||R.key===E?(C=!0,u(this,R.key)):T++;for(;T<x;)R=S[T++],R.key===E&&R.value===_||a(this,R.key,R.value)},{enumerable:!0,unsafe:!0}),IH}var kH={},DH;function afe(){if(DH)return kH;DH=1;var e=$n(),t=zt(),r=Yr(),n=ns(),i=URLSearchParams,o=i.prototype,a=t(o.getAll),u=t(o.has),l=new i("a=1");return(l.has("a",2)||!l.has("a",void 0))&&e(o,"has",function(d){var h=arguments.length,p=h<2?void 0:arguments[1];if(h&&p===void 0)return u(this,d);var m=a(this,d);n(h,1);for(var S=r(p),E=0;E<m.length;)if(m[E++]===S)return!0;return!1},{enumerable:!0,unsafe:!0}),kH}var LH={},NH;function ofe(){if(NH)return LH;NH=1;var e=Rr(),t=zt(),r=Pi(),n=URLSearchParams.prototype,i=t(n.forEach);return e&&!("size"in n)&&r(n,"size",{get:function(){var a=0;return i(this,function(){a++}),a},configurable:!0,enumerable:!0}),LH}var z1,MH;function sfe(){return MH||(MH=1,Fie(),jie(),Uie(),qie(),Bie(),Vie(),Hie(),zie(),Wie(),Gie(),Kie(),Yie(),Xie(),Qie(),Jie(),Zie(),eae(),tae(),rae(),nae(),aae(),oae(),sae(),uae(),lae(),cae(),fae(),dae(),hae(),pae(),vae(),gae(),mae(),yae(),_ae(),Eae(),Sae(),wae(),bae(),Tae(),tm(),Aae(),Rae(),xae(),Cae(),Oae(),Iae(),Pae(),kae(),Dae(),Lae(),Nae(),Mae(),$ae(),Fae(),jae(),Uae(),qae(),Bae(),Vae(),Hae(),Wae(),Gae(),Kae(),Xae(),Qae(),Zae(),eoe(),toe(),roe(),noe(),ioe(),aoe(),ooe(),uoe(),loe(),foe(),doe(),hoe(),poe(),voe(),goe(),moe(),yoe(),_oe(),Eoe(),woe(),boe(),Toe(),Aoe(),Roe(),xoe(),Coe(),Ooe(),Ioe(),Poe(),koe(),Doe(),mX(),Loe(),Moe(),$oe(),Foe(),joe(),Uoe(),qoe(),Boe(),Voe(),Hoe(),zoe(),Woe(),Goe(),Koe(),Yoe(),Xoe(),Qoe(),Joe(),Zoe(),ese(),tse(),rse(),nse(),ise(),ase(),sse(),use(),lse(),cse(),fse(),dse(),hse(),pse(),vse(),gse(),mse(),yse(),_se(),Ese(),Sse(),wse(),bse(),Tse(),Ase(),Rse(),xse(),Cse(),Ose(),Ise(),Pse(),kse(),Dse(),Lse(),Nse(),Mse(),$se(),Fse(),jse(),Use(),qse(),Bse(),Vse(),zse(),Wse(),Gse(),Kse(),iue(),aue(),oue(),sue(),uue(),lue(),pue(),vue(),gue(),mue(),yue(),_ue(),Eue(),Sue(),wue(),bue(),Tue(),Aue(),Rue(),xue(),Cue(),Oue(),Iue(),Pue(),kue(),Due(),aO(),Lue(),Nue(),Mue(),$ue(),jue(),que(),Vue(),zue(),Gue(),Yue(),Que(),Zue(),ele(),tle(),rle(),pQ(),nle(),ile(),vQ(),ale(),ole(),sle(),ule(),lle(),cle(),fle(),dle(),hle(),ple(),vle(),gle(),mle(),yle(),Ele(),wle(),ble(),Tle(),Ale(),Rle(),xle(),Cle(),Ole(),Ile(),Ple(),kle(),Dle(),Lle(),Nle(),$le(),Fle(),jle(),Ule(),qle(),Ble(),Vle(),Hle(),zle(),Wle(),Gle(),Kle(),Yle(),Qle(),Jle(),Zle(),ece(),tce(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),pce(),vce(),gce(),mce(),yce(),_ce(),Ece(),Sce(),wce(),bce(),Tce(),Ace(),Rce(),xce(),Cce(),Oce(),Ice(),kce(),Lce(),Nce(),Mce(),$ce(),Fce(),jce(),Uce(),qce(),Hce(),zce(),Wce(),Gce(),Xce(),Zce(),efe(),tfe(),rfe(),nfe(),ife(),afe(),ofe(),z1=Xg()),z1}sfe();var Uv={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 ufe=Uv.exports,$H;function kQ(){return $H||($H=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:ufe,function(t,r){var n=[],i=Object.getPrototypeOf,o=n.slice,a=n.flat?function(g){return n.flat.call(g)}:function(g){return n.concat.apply([],g)},u=n.push,l=n.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,m=p.call(Object),S={},E=function(A){return typeof A=="function"&&typeof A.nodeType!="number"&&typeof A.item!="function"},_=function(A){return A!=null&&A===A.window},w=t.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function C(g,A,D){D=D||w;var q,Q,re=D.createElement("script");if(re.text=g,A)for(q in T)Q=A[q]||A.getAttribute&&A.getAttribute(q),Q&&re.setAttribute(q,Q);D.head.appendChild(re).parentNode.removeChild(re)}function x(g){return g==null?g+"":typeof g=="object"||typeof g=="function"?f[d.call(g)]||"object":typeof g}var R="3.7.1",P=/HTML$/i,y=function(g,A){return new y.fn.init(g,A)};y.fn=y.prototype={jquery:R,constructor:y,length:0,toArray:function(){return o.call(this)},get:function(g){return g==null?o.call(this):g<0?this[g+this.length]:this[g]},pushStack:function(g){var A=y.merge(this.constructor(),g);return A.prevObject=this,A},each:function(g){return y.each(this,g)},map:function(g){return this.pushStack(y.map(this,function(A,D){return g.call(A,D,A)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(y.grep(this,function(g,A){return(A+1)%2}))},odd:function(){return this.pushStack(y.grep(this,function(g,A){return A%2}))},eq:function(g){var A=this.length,D=+g+(g<0?A:0);return this.pushStack(D>=0&&D<A?[this[D]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},y.extend=y.fn.extend=function(){var g,A,D,q,Q,re,ue=arguments[0]||{},Ne=1,Oe=arguments.length,Ge=!1;for(typeof ue=="boolean"&&(Ge=ue,ue=arguments[Ne]||{},Ne++),typeof ue!="object"&&!E(ue)&&(ue={}),Ne===Oe&&(ue=this,Ne--);Ne<Oe;Ne++)if((g=arguments[Ne])!=null)for(A in g)q=g[A],!(A==="__proto__"||ue===q)&&(Ge&&q&&(y.isPlainObject(q)||(Q=Array.isArray(q)))?(D=ue[A],Q&&!Array.isArray(D)?re=[]:!Q&&!y.isPlainObject(D)?re={}:re=D,Q=!1,ue[A]=y.extend(Ge,re,q)):q!==void 0&&(ue[A]=q));return ue},y.extend({expando:"jQuery"+(R+Math.random()).replace(/\D/g,""),isReady:!0,error:function(g){throw new Error(g)},noop:function(){},isPlainObject:function(g){var A,D;return!g||d.call(g)!=="[object Object]"?!1:(A=i(g),A?(D=h.call(A,"constructor")&&A.constructor,typeof D=="function"&&p.call(D)===m):!0)},isEmptyObject:function(g){var A;for(A in g)return!1;return!0},globalEval:function(g,A,D){C(g,{nonce:A&&A.nonce},D)},each:function(g,A){var D,q=0;if(N(g))for(D=g.length;q<D&&A.call(g[q],q,g[q])!==!1;q++);else for(q in g)if(A.call(g[q],q,g[q])===!1)break;return g},text:function(g){var A,D="",q=0,Q=g.nodeType;if(!Q)for(;A=g[q++];)D+=y.text(A);return Q===1||Q===11?g.textContent:Q===9?g.documentElement.textContent:Q===3||Q===4?g.nodeValue:D},makeArray:function(g,A){var D=A||[];return g!=null&&(N(Object(g))?y.merge(D,typeof g=="string"?[g]:g):u.call(D,g)),D},inArray:function(g,A,D){return A==null?-1:l.call(A,g,D)},isXMLDoc:function(g){var A=g&&g.namespaceURI,D=g&&(g.ownerDocument||g).documentElement;return!P.test(A||D&&D.nodeName||"HTML")},merge:function(g,A){for(var D=+A.length,q=0,Q=g.length;q<D;q++)g[Q++]=A[q];return g.length=Q,g},grep:function(g,A,D){for(var q,Q=[],re=0,ue=g.length,Ne=!D;re<ue;re++)q=!A(g[re],re),q!==Ne&&Q.push(g[re]);return Q},map:function(g,A,D){var q,Q,re=0,ue=[];if(N(g))for(q=g.length;re<q;re++)Q=A(g[re],re,D),Q!=null&&ue.push(Q);else for(re in g)Q=A(g[re],re,D),Q!=null&&ue.push(Q);return a(ue)},guid:1,support:S}),typeof Symbol=="function"&&(y.fn[Symbol.iterator]=n[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(g,A){f["[object "+A+"]"]=A.toLowerCase()});function N(g){var A=!!g&&"length"in g&&g.length,D=x(g);return E(g)||_(g)?!1:D==="array"||A===0||typeof A=="number"&&A>0&&A-1 in g}function $(g,A){return g.nodeName&&g.nodeName.toLowerCase()===A.toLowerCase()}var H=n.pop,B=n.sort,W=n.splice,X="[\\x20\\t\\r\\n\\f]",J=new RegExp("^"+X+"+|((?:^|[^\\\\])(?:\\\\.)*)"+X+"+$","g");y.contains=function(g,A){var D=A&&A.parentNode;return g===D||!!(D&&D.nodeType===1&&(g.contains?g.contains(D):g.compareDocumentPosition&&g.compareDocumentPosition(D)&16))};var ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ne(g,A){return A?g==="\0"?"�":g.slice(0,-1)+"\\"+g.charCodeAt(g.length-1).toString(16)+" ":"\\"+g}y.escapeSelector=function(g){return(g+"").replace(ie,ne)};var pe=w,K=u;(function(){var g,A,D,q,Q,re=K,ue,Ne,Oe,Ge,St,xt=y.expando,ut=0,$t=0,Er=Ke(),Kr=Ke(),Lr=Ke(),jn=Ke(),Jn=function(Te,ze){return Te===ze&&(Q=!0),0},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Z="(?:\\\\[\\da-fA-F]{1,6}"+X+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",fe="\\["+X+"*("+Z+")(?:"+X+"*([*^$|!~]?=)"+X+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Z+"))|)"+X+"*\\]",Pe=":("+Z+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+fe+")*)|.*)\\)|)",Qe=new RegExp(X+"+","g"),Ze=new RegExp("^"+X+"*,"+X+"*"),Ot=new RegExp("^"+X+"*([>+~]|"+X+")"+X+"*"),Vt=new RegExp(X+"|>"),fr=new RegExp(Pe),Mr=new RegExp("^"+Z+"$"),Sr={ID:new RegExp("^#("+Z+")"),CLASS:new RegExp("^\\.("+Z+")"),TAG:new RegExp("^("+Z+"|[*])"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+Pe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+X+"*(even|odd|(([+-]|)(\\d*)n|)"+X+"*(?:([+-]|)"+X+"*(\\d+)|))"+X+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+X+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+X+"*((?:-\\d)?\\d*)"+X+"*\\)|)(?=[^-]|$)","i")},En=/^(?:input|select|textarea|button)$/i,Kn=/^h\d$/i,Rn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yl=/[+~]/,Pa=new RegExp("\\\\[\\da-fA-F]{1,6}"+X+"?|\\\\([^\\r\\n\\f])","g"),G=function(Te,ze){var dt="0x"+Te.slice(1)-65536;return ze||(dt<0?String.fromCharCode(dt+65536):String.fromCharCode(dt>>10|55296,dt&1023|56320))},le=function(){mo()},Re=Ts(function(Te){return Te.disabled===!0&&$(Te,"fieldset")},{dir:"parentNode",next:"legend"});function De(){try{return ue.activeElement}catch{}}try{re.apply(n=o.call(pe.childNodes),pe.childNodes),n[pe.childNodes.length].nodeType}catch{re={apply:function(ze,dt){K.apply(ze,o.call(dt))},call:function(ze){K.apply(ze,o.call(arguments,1))}}}function je(Te,ze,dt,_t){var It,Jt,er,sr,ir,Jr,Ir,Fr=ze&&ze.ownerDocument,Xr=ze?ze.nodeType:9;if(dt=dt||[],typeof Te!="string"||!Te||Xr!==1&&Xr!==9&&Xr!==11)return dt;if(!_t&&(mo(ze),ze=ze||ue,Oe)){if(Xr!==11&&(ir=Rn.exec(Te)))if(It=ir[1]){if(Xr===9)if(er=ze.getElementById(It)){if(er.id===It)return re.call(dt,er),dt}else return dt;else if(Fr&&(er=Fr.getElementById(It))&&je.contains(ze,er)&&er.id===It)return re.call(dt,er),dt}else{if(ir[2])return re.apply(dt,ze.getElementsByTagName(Te)),dt;if((It=ir[3])&&ze.getElementsByClassName)return re.apply(dt,ze.getElementsByClassName(It)),dt}if(!jn[Te+" "]&&(!Ge||!Ge.test(Te))){if(Ir=Te,Fr=ze,Xr===1&&(Vt.test(Te)||Ot.test(Te))){for(Fr=yl.test(Te)&&Cu(ze.parentNode)||ze,(Fr!=ze||!S.scope)&&((sr=ze.getAttribute("id"))?sr=y.escapeSelector(sr):ze.setAttribute("id",sr=xt)),Jr=Ou(Te),Jt=Jr.length;Jt--;)Jr[Jt]=(sr?"#"+sr:":scope")+" "+bs(Jr[Jt]);Ir=Jr.join(",")}try{return re.apply(dt,Fr.querySelectorAll(Ir)),dt}catch{jn(Te,!0)}finally{sr===xt&&ze.removeAttribute("id")}}}return _d(Te.replace(J,"$1"),ze,dt,_t)}function Ke(){var Te=[];function ze(dt,_t){return Te.push(dt+" ")>A.cacheLength&&delete ze[Te.shift()],ze[dt+" "]=_t}return ze}function At(Te){return Te[xt]=!0,Te}function Wt(Te){var ze=ue.createElement("fieldset");try{return!!Te(ze)}catch{return!1}finally{ze.parentNode&&ze.parentNode.removeChild(ze),ze=null}}function $r(Te){return function(ze){return $(ze,"input")&&ze.type===Te}}function Or(Te){return function(ze){return($(ze,"input")||$(ze,"button"))&&ze.type===Te}}function Un(Te){return function(ze){return"form"in ze?ze.parentNode&&ze.disabled===!1?"label"in ze?"label"in ze.parentNode?ze.parentNode.disabled===Te:ze.disabled===Te:ze.isDisabled===Te||ze.isDisabled!==!Te&&Re(ze)===Te:ze.disabled===Te:"label"in ze?ze.disabled===Te:!1}}function ni(Te){return At(function(ze){return ze=+ze,At(function(dt,_t){for(var It,Jt=Te([],dt.length,ze),er=Jt.length;er--;)dt[It=Jt[er]]&&(dt[It]=!(_t[It]=dt[It]))})})}function Cu(Te){return Te&&typeof Te.getElementsByTagName<"u"&&Te}function mo(Te){var ze,dt=Te?Te.ownerDocument||Te:pe;return dt==ue||dt.nodeType!==9||!dt.documentElement||(ue=dt,Ne=ue.documentElement,Oe=!y.isXMLDoc(ue),St=Ne.matches||Ne.webkitMatchesSelector||Ne.msMatchesSelector,Ne.msMatchesSelector&&pe!=ue&&(ze=ue.defaultView)&&ze.top!==ze&&ze.addEventListener("unload",le),S.getById=Wt(function(_t){return Ne.appendChild(_t).id=y.expando,!ue.getElementsByName||!ue.getElementsByName(y.expando).length}),S.disconnectedMatch=Wt(function(_t){return St.call(_t,"*")}),S.scope=Wt(function(){return ue.querySelectorAll(":scope")}),S.cssHas=Wt(function(){try{return ue.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(A.filter.ID=function(_t){var It=_t.replace(Pa,G);return function(Jt){return Jt.getAttribute("id")===It}},A.find.ID=function(_t,It){if(typeof It.getElementById<"u"&&Oe){var Jt=It.getElementById(_t);return Jt?[Jt]:[]}}):(A.filter.ID=function(_t){var It=_t.replace(Pa,G);return function(Jt){var er=typeof Jt.getAttributeNode<"u"&&Jt.getAttributeNode("id");return er&&er.value===It}},A.find.ID=function(_t,It){if(typeof It.getElementById<"u"&&Oe){var Jt,er,sr,ir=It.getElementById(_t);if(ir){if(Jt=ir.getAttributeNode("id"),Jt&&Jt.value===_t)return[ir];for(sr=It.getElementsByName(_t),er=0;ir=sr[er++];)if(Jt=ir.getAttributeNode("id"),Jt&&Jt.value===_t)return[ir]}return[]}}),A.find.TAG=function(_t,It){return typeof It.getElementsByTagName<"u"?It.getElementsByTagName(_t):It.querySelectorAll(_t)},A.find.CLASS=function(_t,It){if(typeof It.getElementsByClassName<"u"&&Oe)return It.getElementsByClassName(_t)},Ge=[],Wt(function(_t){var It;Ne.appendChild(_t).innerHTML="<a id='"+xt+"' href='' disabled='disabled'></a><select id='"+xt+"-\r\\' disabled='disabled'><option selected=''></option></select>",_t.querySelectorAll("[selected]").length||Ge.push("\\["+X+"*(?:value|"+j+")"),_t.querySelectorAll("[id~="+xt+"-]").length||Ge.push("~="),_t.querySelectorAll("a#"+xt+"+*").length||Ge.push(".#.+[+~]"),_t.querySelectorAll(":checked").length||Ge.push(":checked"),It=ue.createElement("input"),It.setAttribute("type","hidden"),_t.appendChild(It).setAttribute("name","D"),Ne.appendChild(_t).disabled=!0,_t.querySelectorAll(":disabled").length!==2&&Ge.push(":enabled",":disabled"),It=ue.createElement("input"),It.setAttribute("name",""),_t.appendChild(It),_t.querySelectorAll("[name='']").length||Ge.push("\\["+X+"*name"+X+"*="+X+`*(?:''|"")`)}),S.cssHas||Ge.push(":has"),Ge=Ge.length&&new RegExp(Ge.join("|")),Jn=function(_t,It){if(_t===It)return Q=!0,0;var Jt=!_t.compareDocumentPosition-!It.compareDocumentPosition;return Jt||(Jt=(_t.ownerDocument||_t)==(It.ownerDocument||It)?_t.compareDocumentPosition(It):1,Jt&1||!S.sortDetached&&It.compareDocumentPosition(_t)===Jt?_t===ue||_t.ownerDocument==pe&&je.contains(pe,_t)?-1:It===ue||It.ownerDocument==pe&&je.contains(pe,It)?1:q?l.call(q,_t)-l.call(q,It):0:Jt&4?-1:1)}),ue}je.matches=function(Te,ze){return je(Te,null,null,ze)},je.matchesSelector=function(Te,ze){if(mo(Te),Oe&&!jn[ze+" "]&&(!Ge||!Ge.test(ze)))try{var dt=St.call(Te,ze);if(dt||S.disconnectedMatch||Te.document&&Te.document.nodeType!==11)return dt}catch{jn(ze,!0)}return je(ze,ue,null,[Te]).length>0},je.contains=function(Te,ze){return(Te.ownerDocument||Te)!=ue&&mo(Te),y.contains(Te,ze)},je.attr=function(Te,ze){(Te.ownerDocument||Te)!=ue&&mo(Te);var dt=A.attrHandle[ze.toLowerCase()],_t=dt&&h.call(A.attrHandle,ze.toLowerCase())?dt(Te,ze,!Oe):void 0;return _t!==void 0?_t:Te.getAttribute(ze)},je.error=function(Te){throw new Error("Syntax error, unrecognized expression: "+Te)},y.uniqueSort=function(Te){var ze,dt=[],_t=0,It=0;if(Q=!S.sortStable,q=!S.sortStable&&o.call(Te,0),B.call(Te,Jn),Q){for(;ze=Te[It++];)ze===Te[It]&&(_t=dt.push(It));for(;_t--;)W.call(Te,dt[_t],1)}return q=null,Te},y.fn.uniqueSort=function(){return this.pushStack(y.uniqueSort(o.apply(this)))},A=y.expr={cacheLength:50,createPseudo:At,match:Sr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Te){return Te[1]=Te[1].replace(Pa,G),Te[3]=(Te[3]||Te[4]||Te[5]||"").replace(Pa,G),Te[2]==="~="&&(Te[3]=" "+Te[3]+" "),Te.slice(0,4)},CHILD:function(Te){return Te[1]=Te[1].toLowerCase(),Te[1].slice(0,3)==="nth"?(Te[3]||je.error(Te[0]),Te[4]=+(Te[4]?Te[5]+(Te[6]||1):2*(Te[3]==="even"||Te[3]==="odd")),Te[5]=+(Te[7]+Te[8]||Te[3]==="odd")):Te[3]&&je.error(Te[0]),Te},PSEUDO:function(Te){var ze,dt=!Te[6]&&Te[2];return Sr.CHILD.test(Te[0])?null:(Te[3]?Te[2]=Te[4]||Te[5]||"":dt&&fr.test(dt)&&(ze=Ou(dt,!0))&&(ze=dt.indexOf(")",dt.length-ze)-dt.length)&&(Te[0]=Te[0].slice(0,ze),Te[2]=dt.slice(0,ze)),Te.slice(0,3))}},filter:{TAG:function(Te){var ze=Te.replace(Pa,G).toLowerCase();return Te==="*"?function(){return!0}:function(dt){return $(dt,ze)}},CLASS:function(Te){var ze=Er[Te+" "];return ze||(ze=new RegExp("(^|"+X+")"+Te+"("+X+"|$)"))&&Er(Te,function(dt){return ze.test(typeof dt.className=="string"&&dt.className||typeof dt.getAttribute<"u"&&dt.getAttribute("class")||"")})},ATTR:function(Te,ze,dt){return function(_t){var It=je.attr(_t,Te);return It==null?ze==="!=":ze?(It+="",ze==="="?It===dt:ze==="!="?It!==dt:ze==="^="?dt&&It.indexOf(dt)===0:ze==="*="?dt&&It.indexOf(dt)>-1:ze==="$="?dt&&It.slice(-dt.length)===dt:ze==="~="?(" "+It.replace(Qe," ")+" ").indexOf(dt)>-1:ze==="|="?It===dt||It.slice(0,dt.length+1)===dt+"-":!1):!0}},CHILD:function(Te,ze,dt,_t,It){var Jt=Te.slice(0,3)!=="nth",er=Te.slice(-4)!=="last",sr=ze==="of-type";return _t===1&&It===0?(function(ir){return!!ir.parentNode}):function(ir,Jr,Ir){var Fr,Xr,wr,qn,xi,Di=Jt!==er?"nextSibling":"previousSibling",Yi=ir.parentNode,Ga=sr&&ir.nodeName.toLowerCase(),Ys=!Ir&&!sr,Li=!1;if(Yi){if(Jt){for(;Di;){for(wr=ir;wr=wr[Di];)if(sr?$(wr,Ga):wr.nodeType===1)return!1;xi=Di=Te==="only"&&!xi&&"nextSibling"}return!0}if(xi=[er?Yi.firstChild:Yi.lastChild],er&&Ys){for(Xr=Yi[xt]||(Yi[xt]={}),Fr=Xr[Te]||[],qn=Fr[0]===ut&&Fr[1],Li=qn&&Fr[2],wr=qn&&Yi.childNodes[qn];wr=++qn&&wr&&wr[Di]||(Li=qn=0)||xi.pop();)if(wr.nodeType===1&&++Li&&wr===ir){Xr[Te]=[ut,qn,Li];break}}else if(Ys&&(Xr=ir[xt]||(ir[xt]={}),Fr=Xr[Te]||[],qn=Fr[0]===ut&&Fr[1],Li=qn),Li===!1)for(;(wr=++qn&&wr&&wr[Di]||(Li=qn=0)||xi.pop())&&!((sr?$(wr,Ga):wr.nodeType===1)&&++Li&&(Ys&&(Xr=wr[xt]||(wr[xt]={}),Xr[Te]=[ut,Li]),wr===ir)););return Li-=It,Li===_t||Li%_t===0&&Li/_t>=0}}},PSEUDO:function(Te,ze){var dt,_t=A.pseudos[Te]||A.setFilters[Te.toLowerCase()]||je.error("unsupported pseudo: "+Te);return _t[xt]?_t(ze):_t.length>1?(dt=[Te,Te,"",ze],A.setFilters.hasOwnProperty(Te.toLowerCase())?At(function(It,Jt){for(var er,sr=_t(It,ze),ir=sr.length;ir--;)er=l.call(It,sr[ir]),It[er]=!(Jt[er]=sr[ir])}):function(It){return _t(It,0,dt)}):_t}},pseudos:{not:At(function(Te){var ze=[],dt=[],_t=jc(Te.replace(J,"$1"));return _t[xt]?At(function(It,Jt,er,sr){for(var ir,Jr=_t(It,null,sr,[]),Ir=It.length;Ir--;)(ir=Jr[Ir])&&(It[Ir]=!(Jt[Ir]=ir))}):function(It,Jt,er){return ze[0]=It,_t(ze,null,er,dt),ze[0]=null,!dt.pop()}}),has:At(function(Te){return function(ze){return je(Te,ze).length>0}}),contains:At(function(Te){return Te=Te.replace(Pa,G),function(ze){return(ze.textContent||y.text(ze)).indexOf(Te)>-1}}),lang:At(function(Te){return Mr.test(Te||"")||je.error("unsupported lang: "+Te),Te=Te.replace(Pa,G).toLowerCase(),function(ze){var dt;do if(dt=Oe?ze.lang:ze.getAttribute("xml:lang")||ze.getAttribute("lang"))return dt=dt.toLowerCase(),dt===Te||dt.indexOf(Te+"-")===0;while((ze=ze.parentNode)&&ze.nodeType===1);return!1}}),target:function(Te){var ze=t.location&&t.location.hash;return ze&&ze.slice(1)===Te.id},root:function(Te){return Te===Ne},focus:function(Te){return Te===De()&&ue.hasFocus()&&!!(Te.type||Te.href||~Te.tabIndex)},enabled:Un(!1),disabled:Un(!0),checked:function(Te){return $(Te,"input")&&!!Te.checked||$(Te,"option")&&!!Te.selected},selected:function(Te){return Te.parentNode&&Te.parentNode.selectedIndex,Te.selected===!0},empty:function(Te){for(Te=Te.firstChild;Te;Te=Te.nextSibling)if(Te.nodeType<6)return!1;return!0},parent:function(Te){return!A.pseudos.empty(Te)},header:function(Te){return Kn.test(Te.nodeName)},input:function(Te){return En.test(Te.nodeName)},button:function(Te){return $(Te,"input")&&Te.type==="button"||$(Te,"button")},text:function(Te){var ze;return $(Te,"input")&&Te.type==="text"&&((ze=Te.getAttribute("type"))==null||ze.toLowerCase()==="text")},first:ni(function(){return[0]}),last:ni(function(Te,ze){return[ze-1]}),eq:ni(function(Te,ze,dt){return[dt<0?dt+ze:dt]}),even:ni(function(Te,ze){for(var dt=0;dt<ze;dt+=2)Te.push(dt);return Te}),odd:ni(function(Te,ze){for(var dt=1;dt<ze;dt+=2)Te.push(dt);return Te}),lt:ni(function(Te,ze,dt){var _t;for(dt<0?_t=dt+ze:dt>ze?_t=ze:_t=dt;--_t>=0;)Te.push(_t);return Te}),gt:ni(function(Te,ze,dt){for(var _t=dt<0?dt+ze:dt;++_t<ze;)Te.push(_t);return Te})}},A.pseudos.nth=A.pseudos.eq;for(g in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[g]=$r(g);for(g in{submit:!0,reset:!0})A.pseudos[g]=Or(g);function gd(){}gd.prototype=A.filters=A.pseudos,A.setFilters=new gd;function Ou(Te,ze){var dt,_t,It,Jt,er,sr,ir,Jr=Kr[Te+" "];if(Jr)return ze?0:Jr.slice(0);for(er=Te,sr=[],ir=A.preFilter;er;){(!dt||(_t=Ze.exec(er)))&&(_t&&(er=er.slice(_t[0].length)||er),sr.push(It=[])),dt=!1,(_t=Ot.exec(er))&&(dt=_t.shift(),It.push({value:dt,type:_t[0].replace(J," ")}),er=er.slice(dt.length));for(Jt in A.filter)(_t=Sr[Jt].exec(er))&&(!ir[Jt]||(_t=ir[Jt](_t)))&&(dt=_t.shift(),It.push({value:dt,type:Jt,matches:_t}),er=er.slice(dt.length));if(!dt)break}return ze?er.length:er?je.error(Te):Kr(Te,sr).slice(0)}function bs(Te){for(var ze=0,dt=Te.length,_t="";ze<dt;ze++)_t+=Te[ze].value;return _t}function Ts(Te,ze,dt){var _t=ze.dir,It=ze.next,Jt=It||_t,er=dt&&Jt==="parentNode",sr=$t++;return ze.first?(function(ir,Jr,Ir){for(;ir=ir[_t];)if(ir.nodeType===1||er)return Te(ir,Jr,Ir);return!1}):(function(ir,Jr,Ir){var Fr,Xr,wr=[ut,sr];if(Ir){for(;ir=ir[_t];)if((ir.nodeType===1||er)&&Te(ir,Jr,Ir))return!0}else for(;ir=ir[_t];)if(ir.nodeType===1||er)if(Xr=ir[xt]||(ir[xt]={}),It&&$(ir,It))ir=ir[_t]||ir;else{if((Fr=Xr[Jt])&&Fr[0]===ut&&Fr[1]===sr)return wr[2]=Fr[2];if(Xr[Jt]=wr,wr[2]=Te(ir,Jr,Ir))return!0}return!1})}function md(Te){return Te.length>1?function(ze,dt,_t){for(var It=Te.length;It--;)if(!Te[It](ze,dt,_t))return!1;return!0}:Te[0]}function Mc(Te,ze,dt){for(var _t=0,It=ze.length;_t<It;_t++)je(Te,ze[_t],dt);return dt}function $c(Te,ze,dt,_t,It){for(var Jt,er=[],sr=0,ir=Te.length,Jr=ze!=null;sr<ir;sr++)(Jt=Te[sr])&&(!dt||dt(Jt,_t,It))&&(er.push(Jt),Jr&&ze.push(sr));return er}function Fc(Te,ze,dt,_t,It,Jt){return _t&&!_t[xt]&&(_t=Fc(_t)),It&&!It[xt]&&(It=Fc(It,Jt)),At(function(er,sr,ir,Jr){var Ir,Fr,Xr,wr,qn=[],xi=[],Di=sr.length,Yi=er||Mc(ze||"*",ir.nodeType?[ir]:ir,[]),Ga=Te&&(er||!ze)?$c(Yi,qn,Te,ir,Jr):Yi;if(dt?(wr=It||(er?Te:Di||_t)?[]:sr,dt(Ga,wr,ir,Jr)):wr=Ga,_t)for(Ir=$c(wr,xi),_t(Ir,[],ir,Jr),Fr=Ir.length;Fr--;)(Xr=Ir[Fr])&&(wr[xi[Fr]]=!(Ga[xi[Fr]]=Xr));if(er){if(It||Te){if(It){for(Ir=[],Fr=wr.length;Fr--;)(Xr=wr[Fr])&&Ir.push(Ga[Fr]=Xr);It(null,wr=[],Ir,Jr)}for(Fr=wr.length;Fr--;)(Xr=wr[Fr])&&(Ir=It?l.call(er,Xr):qn[Fr])>-1&&(er[Ir]=!(sr[Ir]=Xr))}}else wr=$c(wr===sr?wr.splice(Di,wr.length):wr),It?It(null,sr,wr,Jr):re.apply(sr,wr)})}function _l(Te){for(var ze,dt,_t,It=Te.length,Jt=A.relative[Te[0].type],er=Jt||A.relative[" "],sr=Jt?1:0,ir=Ts(function(Fr){return Fr===ze},er,!0),Jr=Ts(function(Fr){return l.call(ze,Fr)>-1},er,!0),Ir=[function(Fr,Xr,wr){var qn=!Jt&&(wr||Xr!=D)||((ze=Xr).nodeType?ir(Fr,Xr,wr):Jr(Fr,Xr,wr));return ze=null,qn}];sr<It;sr++)if(dt=A.relative[Te[sr].type])Ir=[Ts(md(Ir),dt)];else{if(dt=A.filter[Te[sr].type].apply(null,Te[sr].matches),dt[xt]){for(_t=++sr;_t<It&&!A.relative[Te[_t].type];_t++);return Fc(sr>1&&md(Ir),sr>1&&bs(Te.slice(0,sr-1).concat({value:Te[sr-2].type===" "?"*":""})).replace(J,"$1"),dt,sr<_t&&_l(Te.slice(sr,_t)),_t<It&&_l(Te=Te.slice(_t)),_t<It&&bs(Te))}Ir.push(dt)}return md(Ir)}function yd(Te,ze){var dt=ze.length>0,_t=Te.length>0,It=function(Jt,er,sr,ir,Jr){var Ir,Fr,Xr,wr=0,qn="0",xi=Jt&&[],Di=[],Yi=D,Ga=Jt||_t&&A.find.TAG("*",Jr),Ys=ut+=Yi==null?1:Math.random()||.1,Li=Ga.length;for(Jr&&(D=er==ue||er||Jr);qn!==Li&&(Ir=Ga[qn])!=null;qn++){if(_t&&Ir){for(Fr=0,!er&&Ir.ownerDocument!=ue&&(mo(Ir),sr=!Oe);Xr=Te[Fr++];)if(Xr(Ir,er||ue,sr)){re.call(ir,Ir);break}Jr&&(ut=Ys)}dt&&((Ir=!Xr&&Ir)&&wr--,Jt&&xi.push(Ir))}if(wr+=qn,dt&&qn!==wr){for(Fr=0;Xr=ze[Fr++];)Xr(xi,Di,er,sr);if(Jt){if(wr>0)for(;qn--;)xi[qn]||Di[qn]||(Di[qn]=H.call(ir));Di=$c(Di)}re.apply(ir,Di),Jr&&!Jt&&Di.length>0&&wr+ze.length>1&&y.uniqueSort(ir)}return Jr&&(ut=Ys,D=Yi),xi};return dt?At(It):It}function jc(Te,ze){var dt,_t=[],It=[],Jt=Lr[Te+" "];if(!Jt){for(ze||(ze=Ou(Te)),dt=ze.length;dt--;)Jt=_l(ze[dt]),Jt[xt]?_t.push(Jt):It.push(Jt);Jt=Lr(Te,yd(It,_t)),Jt.selector=Te}return Jt}function _d(Te,ze,dt,_t){var It,Jt,er,sr,ir,Jr=typeof Te=="function"&&Te,Ir=!_t&&Ou(Te=Jr.selector||Te);if(dt=dt||[],Ir.length===1){if(Jt=Ir[0]=Ir[0].slice(0),Jt.length>2&&(er=Jt[0]).type==="ID"&&ze.nodeType===9&&Oe&&A.relative[Jt[1].type]){if(ze=(A.find.ID(er.matches[0].replace(Pa,G),ze)||[])[0],ze)Jr&&(ze=ze.parentNode);else return dt;Te=Te.slice(Jt.shift().value.length)}for(It=Sr.needsContext.test(Te)?0:Jt.length;It--&&(er=Jt[It],!A.relative[sr=er.type]);)if((ir=A.find[sr])&&(_t=ir(er.matches[0].replace(Pa,G),yl.test(Jt[0].type)&&Cu(ze.parentNode)||ze))){if(Jt.splice(It,1),Te=_t.length&&bs(Jt),!Te)return re.apply(dt,_t),dt;break}}return(Jr||jc(Te,Ir))(_t,ze,!Oe,dt,!ze||yl.test(Te)&&Cu(ze.parentNode)||ze),dt}S.sortStable=xt.split("").sort(Jn).join("")===xt,mo(),S.sortDetached=Wt(function(Te){return Te.compareDocumentPosition(ue.createElement("fieldset"))&1}),y.find=je,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,je.compile=jc,je.select=_d,je.setDocument=mo,je.tokenize=Ou,je.escape=y.escapeSelector,je.getText=y.text,je.isXML=y.isXMLDoc,je.selectors=y.expr,je.support=y.support,je.uniqueSort=y.uniqueSort})();var te=function(g,A,D){for(var q=[],Q=D!==void 0;(g=g[A])&&g.nodeType!==9;)if(g.nodeType===1){if(Q&&y(g).is(D))break;q.push(g)}return q},z=function(g,A){for(var D=[];g;g=g.nextSibling)g.nodeType===1&&g!==A&&D.push(g);return D},ce=y.expr.match.needsContext,Se=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Le(g,A,D){return E(A)?y.grep(g,function(q,Q){return!!A.call(q,Q,q)!==D}):A.nodeType?y.grep(g,function(q){return q===A!==D}):typeof A!="string"?y.grep(g,function(q){return l.call(A,q)>-1!==D}):y.filter(A,g,D)}y.filter=function(g,A,D){var q=A[0];return D&&(g=":not("+g+")"),A.length===1&&q.nodeType===1?y.find.matchesSelector(q,g)?[q]:[]:y.find.matches(g,y.grep(A,function(Q){return Q.nodeType===1}))},y.fn.extend({find:function(g){var A,D,q=this.length,Q=this;if(typeof g!="string")return this.pushStack(y(g).filter(function(){for(A=0;A<q;A++)if(y.contains(Q[A],this))return!0}));for(D=this.pushStack([]),A=0;A<q;A++)y.find(g,Q[A],D);return q>1?y.uniqueSort(D):D},filter:function(g){return this.pushStack(Le(this,g||[],!1))},not:function(g){return this.pushStack(Le(this,g||[],!0))},is:function(g){return!!Le(this,typeof g=="string"&&ce.test(g)?y(g):g||[],!1).length}});var Be,Xe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,oe=y.fn.init=function(g,A,D){var q,Q;if(!g)return this;if(D=D||Be,typeof g=="string")if(g[0]==="<"&&g[g.length-1]===">"&&g.length>=3?q=[null,g,null]:q=Xe.exec(g),q&&(q[1]||!A))if(q[1]){if(A=A instanceof y?A[0]:A,y.merge(this,y.parseHTML(q[1],A&&A.nodeType?A.ownerDocument||A:w,!0)),Se.test(q[1])&&y.isPlainObject(A))for(q in A)E(this[q])?this[q](A[q]):this.attr(q,A[q]);return this}else return Q=w.getElementById(q[2]),Q&&(this[0]=Q,this.length=1),this;else return!A||A.jquery?(A||D).find(g):this.constructor(A).find(g);else{if(g.nodeType)return this[0]=g,this.length=1,this;if(E(g))return D.ready!==void 0?D.ready(g):g(y)}return y.makeArray(g,this)};oe.prototype=y.fn,Be=y(w);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};y.fn.extend({has:function(g){var A=y(g,this),D=A.length;return this.filter(function(){for(var q=0;q<D;q++)if(y.contains(this,A[q]))return!0})},closest:function(g,A){var D,q=0,Q=this.length,re=[],ue=typeof g!="string"&&y(g);if(!ce.test(g)){for(;q<Q;q++)for(D=this[q];D&&D!==A;D=D.parentNode)if(D.nodeType<11&&(ue?ue.index(D)>-1:D.nodeType===1&&y.find.matchesSelector(D,g))){re.push(D);break}}return this.pushStack(re.length>1?y.uniqueSort(re):re)},index:function(g){return g?typeof g=="string"?l.call(y(g),this[0]):l.call(this,g.jquery?g[0]:g):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(g,A){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(g,A))))},addBack:function(g){return this.add(g==null?this.prevObject:this.prevObject.filter(g))}});function M(g,A){for(;(g=g[A])&&g.nodeType!==1;);return g}y.each({parent:function(g){var A=g.parentNode;return A&&A.nodeType!==11?A:null},parents:function(g){return te(g,"parentNode")},parentsUntil:function(g,A,D){return te(g,"parentNode",D)},next:function(g){return M(g,"nextSibling")},prev:function(g){return M(g,"previousSibling")},nextAll:function(g){return te(g,"nextSibling")},prevAll:function(g){return te(g,"previousSibling")},nextUntil:function(g,A,D){return te(g,"nextSibling",D)},prevUntil:function(g,A,D){return te(g,"previousSibling",D)},siblings:function(g){return z((g.parentNode||{}).firstChild,g)},children:function(g){return z(g.firstChild)},contents:function(g){return g.contentDocument!=null&&i(g.contentDocument)?g.contentDocument:($(g,"template")&&(g=g.content||g),y.merge([],g.childNodes))}},function(g,A){y.fn[g]=function(D,q){var Q=y.map(this,A,D);return g.slice(-5)!=="Until"&&(q=D),q&&typeof q=="string"&&(Q=y.filter(q,Q)),this.length>1&&(I[g]||y.uniqueSort(Q),O.test(g)&&Q.reverse()),this.pushStack(Q)}});var k=/[^\x20\t\r\n\f]+/g;function U(g){var A={};return y.each(g.match(k)||[],function(D,q){A[q]=!0}),A}y.Callbacks=function(g){g=typeof g=="string"?U(g):y.extend({},g);var A,D,q,Q,re=[],ue=[],Ne=-1,Oe=function(){for(Q=Q||g.once,q=A=!0;ue.length;Ne=-1)for(D=ue.shift();++Ne<re.length;)re[Ne].apply(D[0],D[1])===!1&&g.stopOnFalse&&(Ne=re.length,D=!1);g.memory||(D=!1),A=!1,Q&&(D?re=[]:re="")},Ge={add:function(){return re&&(D&&!A&&(Ne=re.length-1,ue.push(D)),(function St(xt){y.each(xt,function(ut,$t){E($t)?(!g.unique||!Ge.has($t))&&re.push($t):$t&&$t.length&&x($t)!=="string"&&St($t)})})(arguments),D&&!A&&Oe()),this},remove:function(){return y.each(arguments,function(St,xt){for(var ut;(ut=y.inArray(xt,re,ut))>-1;)re.splice(ut,1),ut<=Ne&&Ne--}),this},has:function(St){return St?y.inArray(St,re)>-1:re.length>0},empty:function(){return re&&(re=[]),this},disable:function(){return Q=ue=[],re=D="",this},disabled:function(){return!re},lock:function(){return Q=ue=[],!D&&!A&&(re=D=""),this},locked:function(){return!!Q},fireWith:function(St,xt){return Q||(xt=xt||[],xt=[St,xt.slice?xt.slice():xt],ue.push(xt),A||Oe()),this},fire:function(){return Ge.fireWith(this,arguments),this},fired:function(){return!!q}};return Ge};function Y(g){return g}function ae(g){throw g}function Ee(g,A,D,q){var Q;try{g&&E(Q=g.promise)?Q.call(g).done(A).fail(D):g&&E(Q=g.then)?Q.call(g,A,D):A.apply(void 0,[g].slice(q))}catch(re){D.apply(void 0,[re])}}y.extend({Deferred:function(g){var A=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.Callbacks("once memory"),1,"rejected"]],D="pending",q={state:function(){return D},always:function(){return Q.done(arguments).fail(arguments),this},catch:function(re){return q.then(null,re)},pipe:function(){var re=arguments;return y.Deferred(function(ue){y.each(A,function(Ne,Oe){var Ge=E(re[Oe[4]])&&re[Oe[4]];Q[Oe[1]](function(){var St=Ge&&Ge.apply(this,arguments);St&&E(St.promise)?St.promise().progress(ue.notify).done(ue.resolve).fail(ue.reject):ue[Oe[0]+"With"](this,Ge?[St]:arguments)})}),re=null}).promise()},then:function(re,ue,Ne){var Oe=0;function Ge(St,xt,ut,$t){return function(){var Er=this,Kr=arguments,Lr=function(){var Jn,j;if(!(St<Oe)){if(Jn=ut.apply(Er,Kr),Jn===xt.promise())throw new TypeError("Thenable self-resolution");j=Jn&&(typeof Jn=="object"||typeof Jn=="function")&&Jn.then,E(j)?$t?j.call(Jn,Ge(Oe,xt,Y,$t),Ge(Oe,xt,ae,$t)):(Oe++,j.call(Jn,Ge(Oe,xt,Y,$t),Ge(Oe,xt,ae,$t),Ge(Oe,xt,Y,xt.notifyWith))):(ut!==Y&&(Er=void 0,Kr=[Jn]),($t||xt.resolveWith)(Er,Kr))}},jn=$t?Lr:function(){try{Lr()}catch(Jn){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(Jn,jn.error),St+1>=Oe&&(ut!==ae&&(Er=void 0,Kr=[Jn]),xt.rejectWith(Er,Kr))}};St?jn():(y.Deferred.getErrorHook?jn.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(jn.error=y.Deferred.getStackHook()),t.setTimeout(jn))}}return y.Deferred(function(St){A[0][3].add(Ge(0,St,E(Ne)?Ne:Y,St.notifyWith)),A[1][3].add(Ge(0,St,E(re)?re:Y)),A[2][3].add(Ge(0,St,E(ue)?ue:ae))}).promise()},promise:function(re){return re!=null?y.extend(re,q):q}},Q={};return y.each(A,function(re,ue){var Ne=ue[2],Oe=ue[5];q[ue[1]]=Ne.add,Oe&&Ne.add(function(){D=Oe},A[3-re][2].disable,A[3-re][3].disable,A[0][2].lock,A[0][3].lock),Ne.add(ue[3].fire),Q[ue[0]]=function(){return Q[ue[0]+"With"](this===Q?void 0:this,arguments),this},Q[ue[0]+"With"]=Ne.fireWith}),q.promise(Q),g&&g.call(Q,Q),Q},when:function(g){var A=arguments.length,D=A,q=Array(D),Q=o.call(arguments),re=y.Deferred(),ue=function(Ne){return function(Oe){q[Ne]=this,Q[Ne]=arguments.length>1?o.call(arguments):Oe,--A||re.resolveWith(q,Q)}};if(A<=1&&(Ee(g,re.done(ue(D)).resolve,re.reject,!A),re.state()==="pending"||E(Q[D]&&Q[D].then)))return re.then();for(;D--;)Ee(Q[D],ue(D),re.reject);return re.promise()}});var me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(g,A){t.console&&t.console.warn&&g&&me.test(g.name)&&t.console.warn("jQuery.Deferred exception: "+g.message,g.stack,A)},y.readyException=function(g){t.setTimeout(function(){throw g})};var Ce=y.Deferred();y.fn.ready=function(g){return Ce.then(g).catch(function(A){y.readyException(A)}),this},y.extend({isReady:!1,readyWait:1,ready:function(g){(g===!0?--y.readyWait:y.isReady)||(y.isReady=!0,!(g!==!0&&--y.readyWait>0)&&Ce.resolveWith(w,[y]))}}),y.ready.then=Ce.then;function be(){w.removeEventListener("DOMContentLoaded",be),t.removeEventListener("load",be),y.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(y.ready):(w.addEventListener("DOMContentLoaded",be),t.addEventListener("load",be));var Ie=function(g,A,D,q,Q,re,ue){var Ne=0,Oe=g.length,Ge=D==null;if(x(D)==="object"){Q=!0;for(Ne in D)Ie(g,A,Ne,D[Ne],!0,re,ue)}else if(q!==void 0&&(Q=!0,E(q)||(ue=!0),Ge&&(ue?(A.call(g,q),A=null):(Ge=A,A=function(St,xt,ut){return Ge.call(y(St),ut)})),A))for(;Ne<Oe;Ne++)A(g[Ne],D,ue?q:q.call(g[Ne],Ne,A(g[Ne],D)));return Q?g:Ge?A.call(g):Oe?A(g[0],D):re},Fe=/^-ms-/,ve=/-([a-z])/g;function _e(g,A){return A.toUpperCase()}function we(g){return g.replace(Fe,"ms-").replace(ve,_e)}var ke=function(g){return g.nodeType===1||g.nodeType===9||!+g.nodeType};function qe(){this.expando=y.expando+qe.uid++}qe.uid=1,qe.prototype={cache:function(g){var A=g[this.expando];return A||(A={},ke(g)&&(g.nodeType?g[this.expando]=A:Object.defineProperty(g,this.expando,{value:A,configurable:!0}))),A},set:function(g,A,D){var q,Q=this.cache(g);if(typeof A=="string")Q[we(A)]=D;else for(q in A)Q[we(q)]=A[q];return Q},get:function(g,A){return A===void 0?this.cache(g):g[this.expando]&&g[this.expando][we(A)]},access:function(g,A,D){return A===void 0||A&&typeof A=="string"&&D===void 0?this.get(g,A):(this.set(g,A,D),D!==void 0?D:A)},remove:function(g,A){var D,q=g[this.expando];if(q!==void 0){if(A!==void 0)for(Array.isArray(A)?A=A.map(we):(A=we(A),A=A in q?[A]:A.match(k)||[]),D=A.length;D--;)delete q[A[D]];(A===void 0||y.isEmptyObject(q))&&(g.nodeType?g[this.expando]=void 0:delete g[this.expando])}},hasData:function(g){var A=g[this.expando];return A!==void 0&&!y.isEmptyObject(A)}};var Ue=new qe,We=new qe,ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jt=/[A-Z]/g;function Gt(g){return g==="true"?!0:g==="false"?!1:g==="null"?null:g===+g+""?+g:ct.test(g)?JSON.parse(g):g}function et(g,A,D){var q;if(D===void 0&&g.nodeType===1)if(q="data-"+A.replace(jt,"-$&").toLowerCase(),D=g.getAttribute(q),typeof D=="string"){try{D=Gt(D)}catch{}We.set(g,A,D)}else D=void 0;return D}y.extend({hasData:function(g){return We.hasData(g)||Ue.hasData(g)},data:function(g,A,D){return We.access(g,A,D)},removeData:function(g,A){We.remove(g,A)},_data:function(g,A,D){return Ue.access(g,A,D)},_removeData:function(g,A){Ue.remove(g,A)}}),y.fn.extend({data:function(g,A){var D,q,Q,re=this[0],ue=re&&re.attributes;if(g===void 0){if(this.length&&(Q=We.get(re),re.nodeType===1&&!Ue.get(re,"hasDataAttrs"))){for(D=ue.length;D--;)ue[D]&&(q=ue[D].name,q.indexOf("data-")===0&&(q=we(q.slice(5)),et(re,q,Q[q])));Ue.set(re,"hasDataAttrs",!0)}return Q}return typeof g=="object"?this.each(function(){We.set(this,g)}):Ie(this,function(Ne){var Oe;if(re&&Ne===void 0)return Oe=We.get(re,g),Oe!==void 0||(Oe=et(re,g),Oe!==void 0)?Oe:void 0;this.each(function(){We.set(this,g,Ne)})},null,A,arguments.length>1,null,!0)},removeData:function(g){return this.each(function(){We.remove(this,g)})}}),y.extend({queue:function(g,A,D){var q;if(g)return A=(A||"fx")+"queue",q=Ue.get(g,A),D&&(!q||Array.isArray(D)?q=Ue.access(g,A,y.makeArray(D)):q.push(D)),q||[]},dequeue:function(g,A){A=A||"fx";var D=y.queue(g,A),q=D.length,Q=D.shift(),re=y._queueHooks(g,A),ue=function(){y.dequeue(g,A)};Q==="inprogress"&&(Q=D.shift(),q--),Q&&(A==="fx"&&D.unshift("inprogress"),delete re.stop,Q.call(g,ue,re)),!q&&re&&re.empty.fire()},_queueHooks:function(g,A){var D=A+"queueHooks";return Ue.get(g,D)||Ue.access(g,D,{empty:y.Callbacks("once memory").add(function(){Ue.remove(g,[A+"queue",D])})})}}),y.fn.extend({queue:function(g,A){var D=2;return typeof g!="string"&&(A=g,g="fx",D--),arguments.length<D?y.queue(this[0],g):A===void 0?this:this.each(function(){var q=y.queue(this,g,A);y._queueHooks(this,g),g==="fx"&&q[0]!=="inprogress"&&y.dequeue(this,g)})},dequeue:function(g){return this.each(function(){y.dequeue(this,g)})},clearQueue:function(g){return this.queue(g||"fx",[])},promise:function(g,A){var D,q=1,Q=y.Deferred(),re=this,ue=this.length,Ne=function(){--q||Q.resolveWith(re,[re])};for(typeof g!="string"&&(A=g,g=void 0),g=g||"fx";ue--;)D=Ue.get(re[ue],g+"queueHooks"),D&&D.empty&&(q++,D.empty.add(Ne));return Ne(),Q.promise(A)}});var Rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Et=new RegExp("^(?:([+-])=|)("+Rt+")([a-z%]*)$","i"),st=["Top","Right","Bottom","Left"],ft=w.documentElement,mt=function(g){return y.contains(g.ownerDocument,g)},Qt={composed:!0};ft.getRootNode&&(mt=function(g){return y.contains(g.ownerDocument,g)||g.getRootNode(Qt)===g.ownerDocument});var Nt=function(g,A){return g=A||g,g.style.display==="none"||g.style.display===""&&mt(g)&&y.css(g,"display")==="none"};function Ae(g,A,D,q){var Q,re,ue=20,Ne=q?function(){return q.cur()}:function(){return y.css(g,A,"")},Oe=Ne(),Ge=D&&D[3]||(y.cssNumber[A]?"":"px"),St=g.nodeType&&(y.cssNumber[A]||Ge!=="px"&&+Oe)&&Et.exec(y.css(g,A));if(St&&St[3]!==Ge){for(Oe=Oe/2,Ge=Ge||St[3],St=+Oe||1;ue--;)y.style(g,A,St+Ge),(1-re)*(1-(re=Ne()/Oe||.5))<=0&&(ue=0),St=St/re;St=St*2,y.style(g,A,St+Ge),D=D||[]}return D&&(St=+St||+Oe||0,Q=D[1]?St+(D[1]+1)*D[2]:+D[2],q&&(q.unit=Ge,q.start=St,q.end=Q)),Q}var tt={};function lt(g){var A,D=g.ownerDocument,q=g.nodeName,Q=tt[q];return Q||(A=D.body.appendChild(D.createElement(q)),Q=y.css(A,"display"),A.parentNode.removeChild(A),Q==="none"&&(Q="block"),tt[q]=Q,Q)}function Tt(g,A){for(var D,q,Q=[],re=0,ue=g.length;re<ue;re++)q=g[re],q.style&&(D=q.style.display,A?(D==="none"&&(Q[re]=Ue.get(q,"display")||null,Q[re]||(q.style.display="")),q.style.display===""&&Nt(q)&&(Q[re]=lt(q))):D!=="none"&&(Q[re]="none",Ue.set(q,"display",D)));for(re=0;re<ue;re++)Q[re]!=null&&(g[re].style.display=Q[re]);return g}y.fn.extend({show:function(){return Tt(this,!0)},hide:function(){return Tt(this)},toggle:function(g){return typeof g=="boolean"?g?this.show():this.hide():this.each(function(){Nt(this)?y(this).show():y(this).hide()})}});var Lt=/^(?:checkbox|radio)$/i,ar=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,dr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var g=w.createDocumentFragment(),A=g.appendChild(w.createElement("div")),D=w.createElement("input");D.setAttribute("type","radio"),D.setAttribute("checked","checked"),D.setAttribute("name","t"),A.appendChild(D),S.checkClone=A.cloneNode(!0).cloneNode(!0).lastChild.checked,A.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!A.cloneNode(!0).lastChild.defaultValue,A.innerHTML="<option></option>",S.option=!!A.lastChild})();var rr={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,"",""]};rr.tbody=rr.tfoot=rr.colgroup=rr.caption=rr.thead,rr.th=rr.td,S.option||(rr.optgroup=rr.option=[1,"<select multiple='multiple'>","</select>"]);function gr(g,A){var D;return typeof g.getElementsByTagName<"u"?D=g.getElementsByTagName(A||"*"):typeof g.querySelectorAll<"u"?D=g.querySelectorAll(A||"*"):D=[],A===void 0||A&&$(g,A)?y.merge([g],D):D}function Dr(g,A){for(var D=0,q=g.length;D<q;D++)Ue.set(g[D],"globalEval",!A||Ue.get(A[D],"globalEval"))}var Ur=/<|&#?\w+;/;function Pn(g,A,D,q,Q){for(var re,ue,Ne,Oe,Ge,St,xt=A.createDocumentFragment(),ut=[],$t=0,Er=g.length;$t<Er;$t++)if(re=g[$t],re||re===0)if(x(re)==="object")y.merge(ut,re.nodeType?[re]:re);else if(!Ur.test(re))ut.push(A.createTextNode(re));else{for(ue=ue||xt.appendChild(A.createElement("div")),Ne=(ar.exec(re)||["",""])[1].toLowerCase(),Oe=rr[Ne]||rr._default,ue.innerHTML=Oe[1]+y.htmlPrefilter(re)+Oe[2],St=Oe[0];St--;)ue=ue.lastChild;y.merge(ut,ue.childNodes),ue=xt.firstChild,ue.textContent=""}for(xt.textContent="",$t=0;re=ut[$t++];){if(q&&y.inArray(re,q)>-1){Q&&Q.push(re);continue}if(Ge=mt(re),ue=gr(xt.appendChild(re),"script"),Ge&&Dr(ue),D)for(St=0;re=ue[St++];)dr.test(re.type||"")&&D.push(re)}return xt}var kn=/^([^.]*)(?:\.(.+)|)/;function Fn(){return!0}function fn(){return!1}function Wn(g,A,D,q,Q,re){var ue,Ne;if(typeof A=="object"){typeof D!="string"&&(q=q||D,D=void 0);for(Ne in A)Wn(g,Ne,D,q,A[Ne],re);return g}if(q==null&&Q==null?(Q=D,q=D=void 0):Q==null&&(typeof D=="string"?(Q=q,q=void 0):(Q=q,q=D,D=void 0)),Q===!1)Q=fn;else if(!Q)return g;return re===1&&(ue=Q,Q=function(Oe){return y().off(Oe),ue.apply(this,arguments)},Q.guid=ue.guid||(ue.guid=y.guid++)),g.each(function(){y.event.add(this,A,Q,q,D)})}y.event={global:{},add:function(g,A,D,q,Q){var re,ue,Ne,Oe,Ge,St,xt,ut,$t,Er,Kr,Lr=Ue.get(g);if(ke(g))for(D.handler&&(re=D,D=re.handler,Q=re.selector),Q&&y.find.matchesSelector(ft,Q),D.guid||(D.guid=y.guid++),(Oe=Lr.events)||(Oe=Lr.events=Object.create(null)),(ue=Lr.handle)||(ue=Lr.handle=function(jn){return typeof y<"u"&&y.event.triggered!==jn.type?y.event.dispatch.apply(g,arguments):void 0}),A=(A||"").match(k)||[""],Ge=A.length;Ge--;)Ne=kn.exec(A[Ge])||[],$t=Kr=Ne[1],Er=(Ne[2]||"").split(".").sort(),$t&&(xt=y.event.special[$t]||{},$t=(Q?xt.delegateType:xt.bindType)||$t,xt=y.event.special[$t]||{},St=y.extend({type:$t,origType:Kr,data:q,handler:D,guid:D.guid,selector:Q,needsContext:Q&&y.expr.match.needsContext.test(Q),namespace:Er.join(".")},re),(ut=Oe[$t])||(ut=Oe[$t]=[],ut.delegateCount=0,(!xt.setup||xt.setup.call(g,q,Er,ue)===!1)&&g.addEventListener&&g.addEventListener($t,ue)),xt.add&&(xt.add.call(g,St),St.handler.guid||(St.handler.guid=D.guid)),Q?ut.splice(ut.delegateCount++,0,St):ut.push(St),y.event.global[$t]=!0)},remove:function(g,A,D,q,Q){var re,ue,Ne,Oe,Ge,St,xt,ut,$t,Er,Kr,Lr=Ue.hasData(g)&&Ue.get(g);if(!(!Lr||!(Oe=Lr.events))){for(A=(A||"").match(k)||[""],Ge=A.length;Ge--;){if(Ne=kn.exec(A[Ge])||[],$t=Kr=Ne[1],Er=(Ne[2]||"").split(".").sort(),!$t){for($t in Oe)y.event.remove(g,$t+A[Ge],D,q,!0);continue}for(xt=y.event.special[$t]||{},$t=(q?xt.delegateType:xt.bindType)||$t,ut=Oe[$t]||[],Ne=Ne[2]&&new RegExp("(^|\\.)"+Er.join("\\.(?:.*\\.|)")+"(\\.|$)"),ue=re=ut.length;re--;)St=ut[re],(Q||Kr===St.origType)&&(!D||D.guid===St.guid)&&(!Ne||Ne.test(St.namespace))&&(!q||q===St.selector||q==="**"&&St.selector)&&(ut.splice(re,1),St.selector&&ut.delegateCount--,xt.remove&&xt.remove.call(g,St));ue&&!ut.length&&((!xt.teardown||xt.teardown.call(g,Er,Lr.handle)===!1)&&y.removeEvent(g,$t,Lr.handle),delete Oe[$t])}y.isEmptyObject(Oe)&&Ue.remove(g,"handle events")}},dispatch:function(g){var A,D,q,Q,re,ue,Ne=new Array(arguments.length),Oe=y.event.fix(g),Ge=(Ue.get(this,"events")||Object.create(null))[Oe.type]||[],St=y.event.special[Oe.type]||{};for(Ne[0]=Oe,A=1;A<arguments.length;A++)Ne[A]=arguments[A];if(Oe.delegateTarget=this,!(St.preDispatch&&St.preDispatch.call(this,Oe)===!1)){for(ue=y.event.handlers.call(this,Oe,Ge),A=0;(Q=ue[A++])&&!Oe.isPropagationStopped();)for(Oe.currentTarget=Q.elem,D=0;(re=Q.handlers[D++])&&!Oe.isImmediatePropagationStopped();)(!Oe.rnamespace||re.namespace===!1||Oe.rnamespace.test(re.namespace))&&(Oe.handleObj=re,Oe.data=re.data,q=((y.event.special[re.origType]||{}).handle||re.handler).apply(Q.elem,Ne),q!==void 0&&(Oe.result=q)===!1&&(Oe.preventDefault(),Oe.stopPropagation()));return St.postDispatch&&St.postDispatch.call(this,Oe),Oe.result}},handlers:function(g,A){var D,q,Q,re,ue,Ne=[],Oe=A.delegateCount,Ge=g.target;if(Oe&&Ge.nodeType&&!(g.type==="click"&&g.button>=1)){for(;Ge!==this;Ge=Ge.parentNode||this)if(Ge.nodeType===1&&!(g.type==="click"&&Ge.disabled===!0)){for(re=[],ue={},D=0;D<Oe;D++)q=A[D],Q=q.selector+" ",ue[Q]===void 0&&(ue[Q]=q.needsContext?y(Q,this).index(Ge)>-1:y.find(Q,this,null,[Ge]).length),ue[Q]&&re.push(q);re.length&&Ne.push({elem:Ge,handlers:re})}}return Ge=this,Oe<A.length&&Ne.push({elem:Ge,handlers:A.slice(Oe)}),Ne},addProp:function(g,A){Object.defineProperty(y.Event.prototype,g,{enumerable:!0,configurable:!0,get:E(A)?function(){if(this.originalEvent)return A(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[g]},set:function(D){Object.defineProperty(this,g,{enumerable:!0,configurable:!0,writable:!0,value:D})}})},fix:function(g){return g[y.expando]?g:new y.Event(g)},special:{load:{noBubble:!0},click:{setup:function(g){var A=this||g;return Lt.test(A.type)&&A.click&&$(A,"input")&&Xn(A,"click",!0),!1},trigger:function(g){var A=this||g;return Lt.test(A.type)&&A.click&&$(A,"input")&&Xn(A,"click"),!0},_default:function(g){var A=g.target;return Lt.test(A.type)&&A.click&&$(A,"input")&&Ue.get(A,"click")||$(A,"a")}},beforeunload:{postDispatch:function(g){g.result!==void 0&&g.originalEvent&&(g.originalEvent.returnValue=g.result)}}}};function Xn(g,A,D){if(!D){Ue.get(g,A)===void 0&&y.event.add(g,A,Fn);return}Ue.set(g,A,!1),y.event.add(g,A,{namespace:!1,handler:function(q){var Q,re=Ue.get(this,A);if(q.isTrigger&1&&this[A]){if(re)(y.event.special[A]||{}).delegateType&&q.stopPropagation();else if(re=o.call(arguments),Ue.set(this,A,re),this[A](),Q=Ue.get(this,A),Ue.set(this,A,!1),re!==Q)return q.stopImmediatePropagation(),q.preventDefault(),Q}else re&&(Ue.set(this,A,y.event.trigger(re[0],re.slice(1),this)),q.stopPropagation(),q.isImmediatePropagationStopped=Fn)}})}y.removeEvent=function(g,A,D){g.removeEventListener&&g.removeEventListener(A,D)},y.Event=function(g,A){if(!(this instanceof y.Event))return new y.Event(g,A);g&&g.type?(this.originalEvent=g,this.type=g.type,this.isDefaultPrevented=g.defaultPrevented||g.defaultPrevented===void 0&&g.returnValue===!1?Fn:fn,this.target=g.target&&g.target.nodeType===3?g.target.parentNode:g.target,this.currentTarget=g.currentTarget,this.relatedTarget=g.relatedTarget):this.type=g,A&&y.extend(this,A),this.timeStamp=g&&g.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:fn,isPropagationStopped:fn,isImmediatePropagationStopped:fn,isSimulated:!1,preventDefault:function(){var g=this.originalEvent;this.isDefaultPrevented=Fn,g&&!this.isSimulated&&g.preventDefault()},stopPropagation:function(){var g=this.originalEvent;this.isPropagationStopped=Fn,g&&!this.isSimulated&&g.stopPropagation()},stopImmediatePropagation:function(){var g=this.originalEvent;this.isImmediatePropagationStopped=Fn,g&&!this.isSimulated&&g.stopImmediatePropagation(),this.stopPropagation()}},y.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},y.event.addProp),y.each({focus:"focusin",blur:"focusout"},function(g,A){function D(q){if(w.documentMode){var Q=Ue.get(this,"handle"),re=y.event.fix(q);re.type=q.type==="focusin"?"focus":"blur",re.isSimulated=!0,Q(q),re.target===re.currentTarget&&Q(re)}else y.event.simulate(A,q.target,y.event.fix(q))}y.event.special[g]={setup:function(){var q;if(Xn(this,g,!0),w.documentMode)q=Ue.get(this,A),q||this.addEventListener(A,D),Ue.set(this,A,(q||0)+1);else return!1},trigger:function(){return Xn(this,g),!0},teardown:function(){var q;if(w.documentMode)q=Ue.get(this,A)-1,q?Ue.set(this,A,q):(this.removeEventListener(A,D),Ue.remove(this,A));else return!1},_default:function(q){return Ue.get(q.target,g)},delegateType:A},y.event.special[A]={setup:function(){var q=this.ownerDocument||this.document||this,Q=w.documentMode?this:q,re=Ue.get(Q,A);re||(w.documentMode?this.addEventListener(A,D):q.addEventListener(g,D,!0)),Ue.set(Q,A,(re||0)+1)},teardown:function(){var q=this.ownerDocument||this.document||this,Q=w.documentMode?this:q,re=Ue.get(Q,A)-1;re?Ue.set(Q,A,re):(w.documentMode?this.removeEventListener(A,D):q.removeEventListener(g,D,!0),Ue.remove(Q,A))}}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(g,A){y.event.special[g]={delegateType:A,bindType:A,handle:function(D){var q,Q=this,re=D.relatedTarget,ue=D.handleObj;return(!re||re!==Q&&!y.contains(Q,re))&&(D.type=ue.origType,q=ue.handler.apply(this,arguments),D.type=A),q}}}),y.fn.extend({on:function(g,A,D,q){return Wn(this,g,A,D,q)},one:function(g,A,D,q){return Wn(this,g,A,D,q,1)},off:function(g,A,D){var q,Q;if(g&&g.preventDefault&&g.handleObj)return q=g.handleObj,y(g.delegateTarget).off(q.namespace?q.origType+"."+q.namespace:q.origType,q.selector,q.handler),this;if(typeof g=="object"){for(Q in g)this.off(Q,A,g[Q]);return this}return(A===!1||typeof A=="function")&&(D=A,A=void 0),D===!1&&(D=fn),this.each(function(){y.event.remove(this,g,D,A)})}});var ui=/<script|<style|<link/i,ti=/checked\s*(?:[^=]|=\s*.checked.)/i,Si=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ri(g,A){return $(g,"table")&&$(A.nodeType!==11?A:A.firstChild,"tr")&&y(g).children("tbody")[0]||g}function _n(g){return g.type=(g.getAttribute("type")!==null)+"/"+g.type,g}function Gn(g){return(g.type||"").slice(0,5)==="true/"?g.type=g.type.slice(5):g.removeAttribute("type"),g}function di(g,A){var D,q,Q,re,ue,Ne,Oe;if(A.nodeType===1){if(Ue.hasData(g)&&(re=Ue.get(g),Oe=re.events,Oe)){Ue.remove(A,"handle events");for(Q in Oe)for(D=0,q=Oe[Q].length;D<q;D++)y.event.add(A,Q,Oe[Q][D])}We.hasData(g)&&(ue=We.access(g),Ne=y.extend({},ue),We.set(A,Ne))}}function li(g,A){var D=A.nodeName.toLowerCase();D==="input"&&Lt.test(g.type)?A.checked=g.checked:(D==="input"||D==="textarea")&&(A.defaultValue=g.defaultValue)}function at(g,A,D,q){A=a(A);var Q,re,ue,Ne,Oe,Ge,St=0,xt=g.length,ut=xt-1,$t=A[0],Er=E($t);if(Er||xt>1&&typeof $t=="string"&&!S.checkClone&&ti.test($t))return g.each(function(Kr){var Lr=g.eq(Kr);Er&&(A[0]=$t.call(this,Kr,Lr.html())),at(Lr,A,D,q)});if(xt&&(Q=Pn(A,g[0].ownerDocument,!1,g,q),re=Q.firstChild,Q.childNodes.length===1&&(Q=re),re||q)){for(ue=y.map(gr(Q,"script"),_n),Ne=ue.length;St<xt;St++)Oe=Q,St!==ut&&(Oe=y.clone(Oe,!0,!0),Ne&&y.merge(ue,gr(Oe,"script"))),D.call(g[St],Oe,St);if(Ne)for(Ge=ue[ue.length-1].ownerDocument,y.map(ue,Gn),St=0;St<Ne;St++)Oe=ue[St],dr.test(Oe.type||"")&&!Ue.access(Oe,"globalEval")&&y.contains(Ge,Oe)&&(Oe.src&&(Oe.type||"").toLowerCase()!=="module"?y._evalUrl&&!Oe.noModule&&y._evalUrl(Oe.src,{nonce:Oe.nonce||Oe.getAttribute("nonce")},Ge):C(Oe.textContent.replace(Si,""),Oe,Ge))}return g}function kt(g,A,D){for(var q,Q=A?y.filter(A,g):g,re=0;(q=Q[re])!=null;re++)!D&&q.nodeType===1&&y.cleanData(gr(q)),q.parentNode&&(D&&mt(q)&&Dr(gr(q,"script")),q.parentNode.removeChild(q));return g}y.extend({htmlPrefilter:function(g){return g},clone:function(g,A,D){var q,Q,re,ue,Ne=g.cloneNode(!0),Oe=mt(g);if(!S.noCloneChecked&&(g.nodeType===1||g.nodeType===11)&&!y.isXMLDoc(g))for(ue=gr(Ne),re=gr(g),q=0,Q=re.length;q<Q;q++)li(re[q],ue[q]);if(A)if(D)for(re=re||gr(g),ue=ue||gr(Ne),q=0,Q=re.length;q<Q;q++)di(re[q],ue[q]);else di(g,Ne);return ue=gr(Ne,"script"),ue.length>0&&Dr(ue,!Oe&&gr(g,"script")),Ne},cleanData:function(g){for(var A,D,q,Q=y.event.special,re=0;(D=g[re])!==void 0;re++)if(ke(D)){if(A=D[Ue.expando]){if(A.events)for(q in A.events)Q[q]?y.event.remove(D,q):y.removeEvent(D,q,A.handle);D[Ue.expando]=void 0}D[We.expando]&&(D[We.expando]=void 0)}}}),y.fn.extend({detach:function(g){return kt(this,g,!0)},remove:function(g){return kt(this,g)},text:function(g){return Ie(this,function(A){return A===void 0?y.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=A)})},null,g,arguments.length)},append:function(){return at(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=Ri(this,g);A.appendChild(g)}})},prepend:function(){return at(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=Ri(this,g);A.insertBefore(g,A.firstChild)}})},before:function(){return at(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this)})},after:function(){return at(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this.nextSibling)})},empty:function(){for(var g,A=0;(g=this[A])!=null;A++)g.nodeType===1&&(y.cleanData(gr(g,!1)),g.textContent="");return this},clone:function(g,A){return g=g??!1,A=A??g,this.map(function(){return y.clone(this,g,A)})},html:function(g){return Ie(this,function(A){var D=this[0]||{},q=0,Q=this.length;if(A===void 0&&D.nodeType===1)return D.innerHTML;if(typeof A=="string"&&!ui.test(A)&&!rr[(ar.exec(A)||["",""])[1].toLowerCase()]){A=y.htmlPrefilter(A);try{for(;q<Q;q++)D=this[q]||{},D.nodeType===1&&(y.cleanData(gr(D,!1)),D.innerHTML=A);D=0}catch{}}D&&this.empty().append(A)},null,g,arguments.length)},replaceWith:function(){var g=[];return at(this,arguments,function(A){var D=this.parentNode;y.inArray(this,g)<0&&(y.cleanData(gr(this)),D&&D.replaceChild(A,this))},g)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(g,A){y.fn[g]=function(D){for(var q,Q=[],re=y(D),ue=re.length-1,Ne=0;Ne<=ue;Ne++)q=Ne===ue?this:this.clone(!0),y(re[Ne])[A](q),u.apply(Q,q.get());return this.pushStack(Q)}});var vt=new RegExp("^("+Rt+")(?!px)[a-z%]+$","i"),Je=/^--/,se=function(g){var A=g.ownerDocument.defaultView;return(!A||!A.opener)&&(A=t),A.getComputedStyle(g)},rt=function(g,A,D){var q,Q,re={};for(Q in A)re[Q]=g.style[Q],g.style[Q]=A[Q];q=D.call(g);for(Q in A)g.style[Q]=re[Q];return q},He=new RegExp(st.join("|"),"i");(function(){function g(){if(Ge){Oe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ge.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ft.appendChild(Oe).appendChild(Ge);var St=t.getComputedStyle(Ge);D=St.top!=="1%",Ne=A(St.marginLeft)===12,Ge.style.right="60%",re=A(St.right)===36,q=A(St.width)===36,Ge.style.position="absolute",Q=A(Ge.offsetWidth/3)===12,ft.removeChild(Oe),Ge=null}}function A(St){return Math.round(parseFloat(St))}var D,q,Q,re,ue,Ne,Oe=w.createElement("div"),Ge=w.createElement("div");Ge.style&&(Ge.style.backgroundClip="content-box",Ge.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=Ge.style.backgroundClip==="content-box",y.extend(S,{boxSizingReliable:function(){return g(),q},pixelBoxStyles:function(){return g(),re},pixelPosition:function(){return g(),D},reliableMarginLeft:function(){return g(),Ne},scrollboxSize:function(){return g(),Q},reliableTrDimensions:function(){var St,xt,ut,$t;return ue==null&&(St=w.createElement("table"),xt=w.createElement("tr"),ut=w.createElement("div"),St.style.cssText="position:absolute;left:-11111px;border-collapse:separate",xt.style.cssText="box-sizing:content-box;border:1px solid",xt.style.height="1px",ut.style.height="9px",ut.style.display="block",ft.appendChild(St).appendChild(xt).appendChild(ut),$t=t.getComputedStyle(xt),ue=parseInt($t.height,10)+parseInt($t.borderTopWidth,10)+parseInt($t.borderBottomWidth,10)===xt.offsetHeight,ft.removeChild(St)),ue}}))})();function bt(g,A,D){var q,Q,re,ue,Ne=Je.test(A),Oe=g.style;return D=D||se(g),D&&(ue=D.getPropertyValue(A)||D[A],Ne&&ue&&(ue=ue.replace(J,"$1")||void 0),ue===""&&!mt(g)&&(ue=y.style(g,A)),!S.pixelBoxStyles()&&vt.test(ue)&&He.test(A)&&(q=Oe.width,Q=Oe.minWidth,re=Oe.maxWidth,Oe.minWidth=Oe.maxWidth=Oe.width=ue,ue=D.width,Oe.width=q,Oe.minWidth=Q,Oe.maxWidth=re)),ue!==void 0?ue+"":ue}function yt(g,A){return{get:function(){if(g()){delete this.get;return}return(this.get=A).apply(this,arguments)}}}var Ht=["Webkit","Moz","ms"],Kt=w.createElement("div").style,wt={};function _r(g){for(var A=g[0].toUpperCase()+g.slice(1),D=Ht.length;D--;)if(g=Ht[D]+A,g in Kt)return g}function Hr(g){var A=y.cssProps[g]||wt[g];return A||(g in Kt?g:wt[g]=_r(g)||g)}var dn=/^(none|table(?!-c[ea]).+)/,Dt={position:"absolute",visibility:"hidden",display:"block"},zr={letterSpacing:"0",fontWeight:"400"};function Dn(g,A,D){var q=Et.exec(A);return q?Math.max(0,q[2]-(D||0))+(q[3]||"px"):A}function Tn(g,A,D,q,Q,re){var ue=A==="width"?1:0,Ne=0,Oe=0,Ge=0;if(D===(q?"border":"content"))return 0;for(;ue<4;ue+=2)D==="margin"&&(Ge+=y.css(g,D+st[ue],!0,Q)),q?(D==="content"&&(Oe-=y.css(g,"padding"+st[ue],!0,Q)),D!=="margin"&&(Oe-=y.css(g,"border"+st[ue]+"Width",!0,Q))):(Oe+=y.css(g,"padding"+st[ue],!0,Q),D!=="padding"?Oe+=y.css(g,"border"+st[ue]+"Width",!0,Q):Ne+=y.css(g,"border"+st[ue]+"Width",!0,Q));return!q&&re>=0&&(Oe+=Math.max(0,Math.ceil(g["offset"+A[0].toUpperCase()+A.slice(1)]-re-Oe-Ne-.5))||0),Oe+Ge}function Ba(g,A,D){var q=se(g),Q=!S.boxSizingReliable()||D,re=Q&&y.css(g,"boxSizing",!1,q)==="border-box",ue=re,Ne=bt(g,A,q),Oe="offset"+A[0].toUpperCase()+A.slice(1);if(vt.test(Ne)){if(!D)return Ne;Ne="auto"}return(!S.boxSizingReliable()&&re||!S.reliableTrDimensions()&&$(g,"tr")||Ne==="auto"||!parseFloat(Ne)&&y.css(g,"display",!1,q)==="inline")&&g.getClientRects().length&&(re=y.css(g,"boxSizing",!1,q)==="border-box",ue=Oe in g,ue&&(Ne=g[Oe])),Ne=parseFloat(Ne)||0,Ne+Tn(g,A,D||(re?"border":"content"),ue,q,Ne)+"px"}y.extend({cssHooks:{opacity:{get:function(g,A){if(A){var D=bt(g,"opacity");return D===""?"1":D}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(g,A,D,q){if(!(!g||g.nodeType===3||g.nodeType===8||!g.style)){var Q,re,ue,Ne=we(A),Oe=Je.test(A),Ge=g.style;if(Oe||(A=Hr(Ne)),ue=y.cssHooks[A]||y.cssHooks[Ne],D!==void 0){if(re=typeof D,re==="string"&&(Q=Et.exec(D))&&Q[1]&&(D=Ae(g,A,Q),re="number"),D==null||D!==D)return;re==="number"&&!Oe&&(D+=Q&&Q[3]||(y.cssNumber[Ne]?"":"px")),!S.clearCloneStyle&&D===""&&A.indexOf("background")===0&&(Ge[A]="inherit"),(!ue||!("set"in ue)||(D=ue.set(g,D,q))!==void 0)&&(Oe?Ge.setProperty(A,D):Ge[A]=D)}else return ue&&"get"in ue&&(Q=ue.get(g,!1,q))!==void 0?Q:Ge[A]}},css:function(g,A,D,q){var Q,re,ue,Ne=we(A),Oe=Je.test(A);return Oe||(A=Hr(Ne)),ue=y.cssHooks[A]||y.cssHooks[Ne],ue&&"get"in ue&&(Q=ue.get(g,!0,D)),Q===void 0&&(Q=bt(g,A,q)),Q==="normal"&&A in zr&&(Q=zr[A]),D===""||D?(re=parseFloat(Q),D===!0||isFinite(re)?re||0:Q):Q}}),y.each(["height","width"],function(g,A){y.cssHooks[A]={get:function(D,q,Q){if(q)return dn.test(y.css(D,"display"))&&(!D.getClientRects().length||!D.getBoundingClientRect().width)?rt(D,Dt,function(){return Ba(D,A,Q)}):Ba(D,A,Q)},set:function(D,q,Q){var re,ue=se(D),Ne=!S.scrollboxSize()&&ue.position==="absolute",Oe=Ne||Q,Ge=Oe&&y.css(D,"boxSizing",!1,ue)==="border-box",St=Q?Tn(D,A,Q,Ge,ue):0;return Ge&&Ne&&(St-=Math.ceil(D["offset"+A[0].toUpperCase()+A.slice(1)]-parseFloat(ue[A])-Tn(D,A,"border",!1,ue)-.5)),St&&(re=Et.exec(q))&&(re[3]||"px")!=="px"&&(D.style[A]=q,q=y.css(D,A)),Dn(D,q,St)}}}),y.cssHooks.marginLeft=yt(S.reliableMarginLeft,function(g,A){if(A)return(parseFloat(bt(g,"marginLeft"))||g.getBoundingClientRect().left-rt(g,{marginLeft:0},function(){return g.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function(g,A){y.cssHooks[g+A]={expand:function(D){for(var q=0,Q={},re=typeof D=="string"?D.split(" "):[D];q<4;q++)Q[g+st[q]+A]=re[q]||re[q-2]||re[0];return Q}},g!=="margin"&&(y.cssHooks[g+A].set=Dn)}),y.fn.extend({css:function(g,A){return Ie(this,function(D,q,Q){var re,ue,Ne={},Oe=0;if(Array.isArray(q)){for(re=se(D),ue=q.length;Oe<ue;Oe++)Ne[q[Oe]]=y.css(D,q[Oe],!1,re);return Ne}return Q!==void 0?y.style(D,q,Q):y.css(D,q)},g,A,arguments.length>1)}});function Qn(g,A,D,q,Q){return new Qn.prototype.init(g,A,D,q,Q)}y.Tween=Qn,Qn.prototype={constructor:Qn,init:function(g,A,D,q,Q,re){this.elem=g,this.prop=D,this.easing=Q||y.easing._default,this.options=A,this.start=this.now=this.cur(),this.end=q,this.unit=re||(y.cssNumber[D]?"":"px")},cur:function(){var g=Qn.propHooks[this.prop];return g&&g.get?g.get(this):Qn.propHooks._default.get(this)},run:function(g){var A,D=Qn.propHooks[this.prop];return this.options.duration?this.pos=A=y.easing[this.easing](g,this.options.duration*g,0,1,this.options.duration):this.pos=A=g,this.now=(this.end-this.start)*A+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),D&&D.set?D.set(this):Qn.propHooks._default.set(this),this}},Qn.prototype.init.prototype=Qn.prototype,Qn.propHooks={_default:{get:function(g){var A;return g.elem.nodeType!==1||g.elem[g.prop]!=null&&g.elem.style[g.prop]==null?g.elem[g.prop]:(A=y.css(g.elem,g.prop,""),!A||A==="auto"?0:A)},set:function(g){y.fx.step[g.prop]?y.fx.step[g.prop](g):g.elem.nodeType===1&&(y.cssHooks[g.prop]||g.elem.style[Hr(g.prop)]!=null)?y.style(g.elem,g.prop,g.now+g.unit):g.elem[g.prop]=g.now}}},Qn.propHooks.scrollTop=Qn.propHooks.scrollLeft={set:function(g){g.elem.nodeType&&g.elem.parentNode&&(g.elem[g.prop]=g.now)}},y.easing={linear:function(g){return g},swing:function(g){return .5-Math.cos(g*Math.PI)/2},_default:"swing"},y.fx=Qn.prototype.init,y.fx.step={};var Fi,ji,co=/^(?:toggle|show|hide)$/,Ra=/queueHooks$/;function da(){ji&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(da):t.setTimeout(da,y.fx.interval),y.fx.tick())}function F(){return t.setTimeout(function(){Fi=void 0}),Fi=Date.now()}function ee(g,A){var D,q=0,Q={height:g};for(A=A?1:0;q<4;q+=2-A)D=st[q],Q["margin"+D]=Q["padding"+D]=g;return A&&(Q.opacity=Q.width=g),Q}function ge(g,A,D){for(var q,Q=(nt.tweeners[A]||[]).concat(nt.tweeners["*"]),re=0,ue=Q.length;re<ue;re++)if(q=Q[re].call(D,A,g))return q}function Me(g,A,D){var q,Q,re,ue,Ne,Oe,Ge,St,xt="width"in A||"height"in A,ut=this,$t={},Er=g.style,Kr=g.nodeType&&Nt(g),Lr=Ue.get(g,"fxshow");D.queue||(ue=y._queueHooks(g,"fx"),ue.unqueued==null&&(ue.unqueued=0,Ne=ue.empty.fire,ue.empty.fire=function(){ue.unqueued||Ne()}),ue.unqueued++,ut.always(function(){ut.always(function(){ue.unqueued--,y.queue(g,"fx").length||ue.empty.fire()})}));for(q in A)if(Q=A[q],co.test(Q)){if(delete A[q],re=re||Q==="toggle",Q===(Kr?"hide":"show"))if(Q==="show"&&Lr&&Lr[q]!==void 0)Kr=!0;else continue;$t[q]=Lr&&Lr[q]||y.style(g,q)}if(Oe=!y.isEmptyObject(A),!(!Oe&&y.isEmptyObject($t))){xt&&g.nodeType===1&&(D.overflow=[Er.overflow,Er.overflowX,Er.overflowY],Ge=Lr&&Lr.display,Ge==null&&(Ge=Ue.get(g,"display")),St=y.css(g,"display"),St==="none"&&(Ge?St=Ge:(Tt([g],!0),Ge=g.style.display||Ge,St=y.css(g,"display"),Tt([g]))),(St==="inline"||St==="inline-block"&&Ge!=null)&&y.css(g,"float")==="none"&&(Oe||(ut.done(function(){Er.display=Ge}),Ge==null&&(St=Er.display,Ge=St==="none"?"":St)),Er.display="inline-block")),D.overflow&&(Er.overflow="hidden",ut.always(function(){Er.overflow=D.overflow[0],Er.overflowX=D.overflow[1],Er.overflowY=D.overflow[2]})),Oe=!1;for(q in $t)Oe||(Lr?"hidden"in Lr&&(Kr=Lr.hidden):Lr=Ue.access(g,"fxshow",{display:Ge}),re&&(Lr.hidden=!Kr),Kr&&Tt([g],!0),ut.done(function(){Kr||Tt([g]),Ue.remove(g,"fxshow");for(q in $t)y.style(g,q,$t[q])})),Oe=ge(Kr?Lr[q]:0,q,ut),q in Lr||(Lr[q]=Oe.start,Kr&&(Oe.end=Oe.start,Oe.start=0))}}function ht(g,A){var D,q,Q,re,ue;for(D in g)if(q=we(D),Q=A[q],re=g[D],Array.isArray(re)&&(Q=re[1],re=g[D]=re[0]),D!==q&&(g[q]=re,delete g[D]),ue=y.cssHooks[q],ue&&"expand"in ue){re=ue.expand(re),delete g[q];for(D in re)D in g||(g[D]=re[D],A[D]=Q)}else A[q]=Q}function nt(g,A,D){var q,Q,re=0,ue=nt.prefilters.length,Ne=y.Deferred().always(function(){delete Oe.elem}),Oe=function(){if(Q)return!1;for(var xt=Fi||F(),ut=Math.max(0,Ge.startTime+Ge.duration-xt),$t=ut/Ge.duration||0,Er=1-$t,Kr=0,Lr=Ge.tweens.length;Kr<Lr;Kr++)Ge.tweens[Kr].run(Er);return Ne.notifyWith(g,[Ge,Er,ut]),Er<1&&Lr?ut:(Lr||Ne.notifyWith(g,[Ge,1,0]),Ne.resolveWith(g,[Ge]),!1)},Ge=Ne.promise({elem:g,props:y.extend({},A),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},D),originalProperties:A,originalOptions:D,startTime:Fi||F(),duration:D.duration,tweens:[],createTween:function(xt,ut){var $t=y.Tween(g,Ge.opts,xt,ut,Ge.opts.specialEasing[xt]||Ge.opts.easing);return Ge.tweens.push($t),$t},stop:function(xt){var ut=0,$t=xt?Ge.tweens.length:0;if(Q)return this;for(Q=!0;ut<$t;ut++)Ge.tweens[ut].run(1);return xt?(Ne.notifyWith(g,[Ge,1,0]),Ne.resolveWith(g,[Ge,xt])):Ne.rejectWith(g,[Ge,xt]),this}}),St=Ge.props;for(ht(St,Ge.opts.specialEasing);re<ue;re++)if(q=nt.prefilters[re].call(Ge,g,St,Ge.opts),q)return E(q.stop)&&(y._queueHooks(Ge.elem,Ge.opts.queue).stop=q.stop.bind(q)),q;return y.map(St,ge,Ge),E(Ge.opts.start)&&Ge.opts.start.call(g,Ge),Ge.progress(Ge.opts.progress).done(Ge.opts.done,Ge.opts.complete).fail(Ge.opts.fail).always(Ge.opts.always),y.fx.timer(y.extend(Oe,{elem:g,anim:Ge,queue:Ge.opts.queue})),Ge}y.Animation=y.extend(nt,{tweeners:{"*":[function(g,A){var D=this.createTween(g,A);return Ae(D.elem,g,Et.exec(A),D),D}]},tweener:function(g,A){E(g)?(A=g,g=["*"]):g=g.match(k);for(var D,q=0,Q=g.length;q<Q;q++)D=g[q],nt.tweeners[D]=nt.tweeners[D]||[],nt.tweeners[D].unshift(A)},prefilters:[Me],prefilter:function(g,A){A?nt.prefilters.unshift(g):nt.prefilters.push(g)}}),y.speed=function(g,A,D){var q=g&&typeof g=="object"?y.extend({},g):{complete:D||!D&&A||E(g)&&g,duration:g,easing:D&&A||A&&!E(A)&&A};return y.fx.off?q.duration=0:typeof q.duration!="number"&&(q.duration in y.fx.speeds?q.duration=y.fx.speeds[q.duration]:q.duration=y.fx.speeds._default),(q.queue==null||q.queue===!0)&&(q.queue="fx"),q.old=q.complete,q.complete=function(){E(q.old)&&q.old.call(this),q.queue&&y.dequeue(this,q.queue)},q},y.fn.extend({fadeTo:function(g,A,D,q){return this.filter(Nt).css("opacity",0).show().end().animate({opacity:A},g,D,q)},animate:function(g,A,D,q){var Q=y.isEmptyObject(g),re=y.speed(A,D,q),ue=function(){var Ne=nt(this,y.extend({},g),re);(Q||Ue.get(this,"finish"))&&Ne.stop(!0)};return ue.finish=ue,Q||re.queue===!1?this.each(ue):this.queue(re.queue,ue)},stop:function(g,A,D){var q=function(Q){var re=Q.stop;delete Q.stop,re(D)};return typeof g!="string"&&(D=A,A=g,g=void 0),A&&this.queue(g||"fx",[]),this.each(function(){var Q=!0,re=g!=null&&g+"queueHooks",ue=y.timers,Ne=Ue.get(this);if(re)Ne[re]&&Ne[re].stop&&q(Ne[re]);else for(re in Ne)Ne[re]&&Ne[re].stop&&Ra.test(re)&&q(Ne[re]);for(re=ue.length;re--;)ue[re].elem===this&&(g==null||ue[re].queue===g)&&(ue[re].anim.stop(D),Q=!1,ue.splice(re,1));(Q||!D)&&y.dequeue(this,g)})},finish:function(g){return g!==!1&&(g=g||"fx"),this.each(function(){var A,D=Ue.get(this),q=D[g+"queue"],Q=D[g+"queueHooks"],re=y.timers,ue=q?q.length:0;for(D.finish=!0,y.queue(this,g,[]),Q&&Q.stop&&Q.stop.call(this,!0),A=re.length;A--;)re[A].elem===this&&re[A].queue===g&&(re[A].anim.stop(!0),re.splice(A,1));for(A=0;A<ue;A++)q[A]&&q[A].finish&&q[A].finish.call(this);delete D.finish})}}),y.each(["toggle","show","hide"],function(g,A){var D=y.fn[A];y.fn[A]=function(q,Q,re){return q==null||typeof q=="boolean"?D.apply(this,arguments):this.animate(ee(A,!0),q,Q,re)}}),y.each({slideDown:ee("show"),slideUp:ee("hide"),slideToggle:ee("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(g,A){y.fn[g]=function(D,q,Q){return this.animate(A,D,q,Q)}}),y.timers=[],y.fx.tick=function(){var g,A=0,D=y.timers;for(Fi=Date.now();A<D.length;A++)g=D[A],!g()&&D[A]===g&&D.splice(A--,1);D.length||y.fx.stop(),Fi=void 0},y.fx.timer=function(g){y.timers.push(g),y.fx.start()},y.fx.interval=13,y.fx.start=function(){ji||(ji=!0,da())},y.fx.stop=function(){ji=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(g,A){return g=y.fx&&y.fx.speeds[g]||g,A=A||"fx",this.queue(A,function(D,q){var Q=t.setTimeout(D,g);q.stop=function(){t.clearTimeout(Q)}})},(function(){var g=w.createElement("input"),A=w.createElement("select"),D=A.appendChild(w.createElement("option"));g.type="checkbox",S.checkOn=g.value!=="",S.optSelected=D.selected,g=w.createElement("input"),g.value="t",g.type="radio",S.radioValue=g.value==="t"})();var Ct,Bt=y.expr.attrHandle;y.fn.extend({attr:function(g,A){return Ie(this,y.attr,g,A,arguments.length>1)},removeAttr:function(g){return this.each(function(){y.removeAttr(this,g)})}}),y.extend({attr:function(g,A,D){var q,Q,re=g.nodeType;if(!(re===3||re===8||re===2)){if(typeof g.getAttribute>"u")return y.prop(g,A,D);if((re!==1||!y.isXMLDoc(g))&&(Q=y.attrHooks[A.toLowerCase()]||(y.expr.match.bool.test(A)?Ct:void 0)),D!==void 0){if(D===null){y.removeAttr(g,A);return}return Q&&"set"in Q&&(q=Q.set(g,D,A))!==void 0?q:(g.setAttribute(A,D+""),D)}return Q&&"get"in Q&&(q=Q.get(g,A))!==null?q:(q=y.find.attr(g,A),q??void 0)}},attrHooks:{type:{set:function(g,A){if(!S.radioValue&&A==="radio"&&$(g,"input")){var D=g.value;return g.setAttribute("type",A),D&&(g.value=D),A}}}},removeAttr:function(g,A){var D,q=0,Q=A&&A.match(k);if(Q&&g.nodeType===1)for(;D=Q[q++];)g.removeAttribute(D)}}),Ct={set:function(g,A,D){return A===!1?y.removeAttr(g,D):g.setAttribute(D,D),D}},y.each(y.expr.match.bool.source.match(/\w+/g),function(g,A){var D=Bt[A]||y.find.attr;Bt[A]=function(q,Q,re){var ue,Ne,Oe=Q.toLowerCase();return re||(Ne=Bt[Oe],Bt[Oe]=ue,ue=D(q,Q,re)!=null?Oe:null,Bt[Oe]=Ne),ue}});var Xt=/^(?:input|select|textarea|button)$/i,mr=/^(?:a|area)$/i;y.fn.extend({prop:function(g,A){return Ie(this,y.prop,g,A,arguments.length>1)},removeProp:function(g){return this.each(function(){delete this[y.propFix[g]||g]})}}),y.extend({prop:function(g,A,D){var q,Q,re=g.nodeType;if(!(re===3||re===8||re===2))return(re!==1||!y.isXMLDoc(g))&&(A=y.propFix[A]||A,Q=y.propHooks[A]),D!==void 0?Q&&"set"in Q&&(q=Q.set(g,D,A))!==void 0?q:g[A]=D:Q&&"get"in Q&&(q=Q.get(g,A))!==null?q:g[A]},propHooks:{tabIndex:{get:function(g){var A=y.find.attr(g,"tabindex");return A?parseInt(A,10):Xt.test(g.nodeName)||mr.test(g.nodeName)&&g.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(y.propHooks.selected={get:function(g){var A=g.parentNode;return A&&A.parentNode&&A.parentNode.selectedIndex,null},set:function(g){var A=g.parentNode;A&&(A.selectedIndex,A.parentNode&&A.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});function Tr(g){var A=g.match(k)||[];return A.join(" ")}function An(g){return g.getAttribute&&g.getAttribute("class")||""}function hi(g){return Array.isArray(g)?g:typeof g=="string"?g.match(k)||[]:[]}y.fn.extend({addClass:function(g){var A,D,q,Q,re,ue;return E(g)?this.each(function(Ne){y(this).addClass(g.call(this,Ne,An(this)))}):(A=hi(g),A.length?this.each(function(){if(q=An(this),D=this.nodeType===1&&" "+Tr(q)+" ",D){for(re=0;re<A.length;re++)Q=A[re],D.indexOf(" "+Q+" ")<0&&(D+=Q+" ");ue=Tr(D),q!==ue&&this.setAttribute("class",ue)}}):this)},removeClass:function(g){var A,D,q,Q,re,ue;return E(g)?this.each(function(Ne){y(this).removeClass(g.call(this,Ne,An(this)))}):arguments.length?(A=hi(g),A.length?this.each(function(){if(q=An(this),D=this.nodeType===1&&" "+Tr(q)+" ",D){for(re=0;re<A.length;re++)for(Q=A[re];D.indexOf(" "+Q+" ")>-1;)D=D.replace(" "+Q+" "," ");ue=Tr(D),q!==ue&&this.setAttribute("class",ue)}}):this):this.attr("class","")},toggleClass:function(g,A){var D,q,Q,re,ue=typeof g,Ne=ue==="string"||Array.isArray(g);return E(g)?this.each(function(Oe){y(this).toggleClass(g.call(this,Oe,An(this),A),A)}):typeof A=="boolean"&&Ne?A?this.addClass(g):this.removeClass(g):(D=hi(g),this.each(function(){if(Ne)for(re=y(this),Q=0;Q<D.length;Q++)q=D[Q],re.hasClass(q)?re.removeClass(q):re.addClass(q);else(g===void 0||ue==="boolean")&&(q=An(this),q&&Ue.set(this,"__className__",q),this.setAttribute&&this.setAttribute("class",q||g===!1?"":Ue.get(this,"__className__")||""))}))},hasClass:function(g){var A,D,q=0;for(A=" "+g+" ";D=this[q++];)if(D.nodeType===1&&(" "+Tr(An(D))+" ").indexOf(A)>-1)return!0;return!1}});var pi=/\r/g;y.fn.extend({val:function(g){var A,D,q,Q=this[0];return arguments.length?(q=E(g),this.each(function(re){var ue;this.nodeType===1&&(q?ue=g.call(this,re,y(this).val()):ue=g,ue==null?ue="":typeof ue=="number"?ue+="":Array.isArray(ue)&&(ue=y.map(ue,function(Ne){return Ne==null?"":Ne+""})),A=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()],(!A||!("set"in A)||A.set(this,ue,"value")===void 0)&&(this.value=ue))})):Q?(A=y.valHooks[Q.type]||y.valHooks[Q.nodeName.toLowerCase()],A&&"get"in A&&(D=A.get(Q,"value"))!==void 0?D:(D=Q.value,typeof D=="string"?D.replace(pi,""):D??"")):void 0}}),y.extend({valHooks:{option:{get:function(g){var A=y.find.attr(g,"value");return A??Tr(y.text(g))}},select:{get:function(g){var A,D,q,Q=g.options,re=g.selectedIndex,ue=g.type==="select-one",Ne=ue?null:[],Oe=ue?re+1:Q.length;for(re<0?q=Oe:q=ue?re:0;q<Oe;q++)if(D=Q[q],(D.selected||q===re)&&!D.disabled&&(!D.parentNode.disabled||!$(D.parentNode,"optgroup"))){if(A=y(D).val(),ue)return A;Ne.push(A)}return Ne},set:function(g,A){for(var D,q,Q=g.options,re=y.makeArray(A),ue=Q.length;ue--;)q=Q[ue],(q.selected=y.inArray(y.valHooks.option.get(q),re)>-1)&&(D=!0);return D||(g.selectedIndex=-1),re}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(g,A){if(Array.isArray(A))return g.checked=y.inArray(y(g).val(),A)>-1}},S.checkOn||(y.valHooks[this].get=function(g){return g.getAttribute("value")===null?"on":g.value})});var $o=t.location,ws={guid:Date.now()},Fo=/\?/;y.parseXML=function(g){var A,D;if(!g||typeof g!="string")return null;try{A=new t.DOMParser().parseFromString(g,"text/xml")}catch{}return D=A&&A.getElementsByTagName("parsererror")[0],(!A||D)&&y.error("Invalid XML: "+(D?y.map(D.childNodes,function(q){return q.textContent}).join(`
|
|
16
|
-
`):g)),A};var xa=/^(?:focusinfocus|focusoutblur)$/,ri=function(g){g.stopPropagation()};y.extend(y.event,{trigger:function(g,A,D,q){var Q,re,ue,Ne,Oe,Ge,St,xt,ut=[D||w],$t=h.call(g,"type")?g.type:g,Er=h.call(g,"namespace")?g.namespace.split("."):[];if(re=xt=ue=D=D||w,!(D.nodeType===3||D.nodeType===8)&&!xa.test($t+y.event.triggered)&&($t.indexOf(".")>-1&&(Er=$t.split("."),$t=Er.shift(),Er.sort()),Oe=$t.indexOf(":")<0&&"on"+$t,g=g[y.expando]?g:new y.Event($t,typeof g=="object"&&g),g.isTrigger=q?2:3,g.namespace=Er.join("."),g.rnamespace=g.namespace?new RegExp("(^|\\.)"+Er.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,g.result=void 0,g.target||(g.target=D),A=A==null?[g]:y.makeArray(A,[g]),St=y.event.special[$t]||{},!(!q&&St.trigger&&St.trigger.apply(D,A)===!1))){if(!q&&!St.noBubble&&!_(D)){for(Ne=St.delegateType||$t,xa.test(Ne+$t)||(re=re.parentNode);re;re=re.parentNode)ut.push(re),ue=re;ue===(D.ownerDocument||w)&&ut.push(ue.defaultView||ue.parentWindow||t)}for(Q=0;(re=ut[Q++])&&!g.isPropagationStopped();)xt=re,g.type=Q>1?Ne:St.bindType||$t,Ge=(Ue.get(re,"events")||Object.create(null))[g.type]&&Ue.get(re,"handle"),Ge&&Ge.apply(re,A),Ge=Oe&&re[Oe],Ge&&Ge.apply&&ke(re)&&(g.result=Ge.apply(re,A),g.result===!1&&g.preventDefault());return g.type=$t,!q&&!g.isDefaultPrevented()&&(!St._default||St._default.apply(ut.pop(),A)===!1)&&ke(D)&&Oe&&E(D[$t])&&!_(D)&&(ue=D[Oe],ue&&(D[Oe]=null),y.event.triggered=$t,g.isPropagationStopped()&&xt.addEventListener($t,ri),D[$t](),g.isPropagationStopped()&&xt.removeEventListener($t,ri),y.event.triggered=void 0,ue&&(D[Oe]=ue)),g.result}},simulate:function(g,A,D){var q=y.extend(new y.Event,D,{type:g,isSimulated:!0});y.event.trigger(q,null,A)}}),y.fn.extend({trigger:function(g,A){return this.each(function(){y.event.trigger(g,A,this)})},triggerHandler:function(g,A){var D=this[0];if(D)return y.event.trigger(g,A,D,!0)}});var ha=/\[\]$/,Ca=/\r?\n/g,nn=/^(?:submit|button|image|reset|file)$/i,zi=/^(?:input|select|textarea|keygen)/i;function fo(g,A,D,q){var Q;if(Array.isArray(A))y.each(A,function(re,ue){D||ha.test(g)?q(g,ue):fo(g+"["+(typeof ue=="object"&&ue!=null?re:"")+"]",ue,D,q)});else if(!D&&x(A)==="object")for(Q in A)fo(g+"["+Q+"]",A[Q],D,q);else q(g,A)}y.param=function(g,A){var D,q=[],Q=function(re,ue){var Ne=E(ue)?ue():ue;q[q.length]=encodeURIComponent(re)+"="+encodeURIComponent(Ne??"")};if(g==null)return"";if(Array.isArray(g)||g.jquery&&!y.isPlainObject(g))y.each(g,function(){Q(this.name,this.value)});else for(D in g)fo(D,g[D],A,Q);return q.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var g=y.prop(this,"elements");return g?y.makeArray(g):this}).filter(function(){var g=this.type;return this.name&&!y(this).is(":disabled")&&zi.test(this.nodeName)&&!nn.test(g)&&(this.checked||!Lt.test(g))}).map(function(g,A){var D=y(this).val();return D==null?null:Array.isArray(D)?y.map(D,function(q){return{name:A.name,value:q.replace(Ca,`\r
|
|
17
|
-
`)}}):{name:A.name,value:D.replace(Ca,`\r
|
|
18
|
-
`)}}).get()}});var ho=/%20/g,ki=/#.*$/,as=/([?&])_=[^&]*/,Oa=/^(.*?):[ \t]*([^\r\n]*)$/mg,jo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,os=/^(?:GET|HEAD)$/,Ws=/^\/\//,Ia={},Va={},wi="*/".concat("*"),Wi=w.createElement("a");Wi.href=$o.href;function Gs(g){return function(A,D){typeof A!="string"&&(D=A,A="*");var q,Q=0,re=A.toLowerCase().match(k)||[];if(E(D))for(;q=re[Q++];)q[0]==="+"?(q=q.slice(1)||"*",(g[q]=g[q]||[]).unshift(D)):(g[q]=g[q]||[]).push(D)}}function po(g,A,D,q){var Q={},re=g===Va;function ue(Ne){var Oe;return Q[Ne]=!0,y.each(g[Ne]||[],function(Ge,St){var xt=St(A,D,q);if(typeof xt=="string"&&!re&&!Q[xt])return A.dataTypes.unshift(xt),ue(xt),!1;if(re)return!(Oe=xt)}),Oe}return ue(A.dataTypes[0])||!Q["*"]&&ue("*")}function vo(g,A){var D,q,Q=y.ajaxSettings.flatOptions||{};for(D in A)A[D]!==void 0&&((Q[D]?g:q||(q={}))[D]=A[D]);return q&&y.extend(!0,g,q),g}function Gi(g,A,D){for(var q,Q,re,ue,Ne=g.contents,Oe=g.dataTypes;Oe[0]==="*";)Oe.shift(),q===void 0&&(q=g.mimeType||A.getResponseHeader("Content-Type"));if(q){for(Q in Ne)if(Ne[Q]&&Ne[Q].test(q)){Oe.unshift(Q);break}}if(Oe[0]in D)re=Oe[0];else{for(Q in D){if(!Oe[0]||g.converters[Q+" "+Oe[0]]){re=Q;break}ue||(ue=Q)}re=re||ue}if(re)return re!==Oe[0]&&Oe.unshift(re),D[re]}function ss(g,A,D,q){var Q,re,ue,Ne,Oe,Ge={},St=g.dataTypes.slice();if(St[1])for(ue in g.converters)Ge[ue.toLowerCase()]=g.converters[ue];for(re=St.shift();re;)if(g.responseFields[re]&&(D[g.responseFields[re]]=A),!Oe&&q&&g.dataFilter&&(A=g.dataFilter(A,g.dataType)),Oe=re,re=St.shift(),re){if(re==="*")re=Oe;else if(Oe!=="*"&&Oe!==re){if(ue=Ge[Oe+" "+re]||Ge["* "+re],!ue){for(Q in Ge)if(Ne=Q.split(" "),Ne[1]===re&&(ue=Ge[Oe+" "+Ne[0]]||Ge["* "+Ne[0]],ue)){ue===!0?ue=Ge[Q]:Ge[Q]!==!0&&(re=Ne[0],St.unshift(Ne[1]));break}}if(ue!==!0)if(ue&&g.throws)A=ue(A);else try{A=ue(A)}catch(xt){return{state:"parsererror",error:ue?xt:"No conversion from "+Oe+" to "+re}}}}return{state:"success",data:A}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:$o.href,type:"GET",isLocal:jo.test($o.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(g,A){return A?vo(vo(g,y.ajaxSettings),A):vo(y.ajaxSettings,g)},ajaxPrefilter:Gs(Ia),ajaxTransport:Gs(Va),ajax:function(g,A){typeof g=="object"&&(A=g,g=void 0),A=A||{};var D,q,Q,re,ue,Ne,Oe,Ge,St,xt,ut=y.ajaxSetup({},A),$t=ut.context||ut,Er=ut.context&&($t.nodeType||$t.jquery)?y($t):y.event,Kr=y.Deferred(),Lr=y.Callbacks("once memory"),jn=ut.statusCode||{},Jn={},j={},Z="canceled",fe={readyState:0,getResponseHeader:function(Qe){var Ze;if(Oe){if(!re)for(re={};Ze=Oa.exec(Q);)re[Ze[1].toLowerCase()+" "]=(re[Ze[1].toLowerCase()+" "]||[]).concat(Ze[2]);Ze=re[Qe.toLowerCase()+" "]}return Ze==null?null:Ze.join(", ")},getAllResponseHeaders:function(){return Oe?Q:null},setRequestHeader:function(Qe,Ze){return Oe==null&&(Qe=j[Qe.toLowerCase()]=j[Qe.toLowerCase()]||Qe,Jn[Qe]=Ze),this},overrideMimeType:function(Qe){return Oe==null&&(ut.mimeType=Qe),this},statusCode:function(Qe){var Ze;if(Qe)if(Oe)fe.always(Qe[fe.status]);else for(Ze in Qe)jn[Ze]=[jn[Ze],Qe[Ze]];return this},abort:function(Qe){var Ze=Qe||Z;return D&&D.abort(Ze),Pe(0,Ze),this}};if(Kr.promise(fe),ut.url=((g||ut.url||$o.href)+"").replace(Ws,$o.protocol+"//"),ut.type=A.method||A.type||ut.method||ut.type,ut.dataTypes=(ut.dataType||"*").toLowerCase().match(k)||[""],ut.crossDomain==null){Ne=w.createElement("a");try{Ne.href=ut.url,Ne.href=Ne.href,ut.crossDomain=Wi.protocol+"//"+Wi.host!=Ne.protocol+"//"+Ne.host}catch{ut.crossDomain=!0}}if(ut.data&&ut.processData&&typeof ut.data!="string"&&(ut.data=y.param(ut.data,ut.traditional)),po(Ia,ut,A,fe),Oe)return fe;Ge=y.event&&ut.global,Ge&&y.active++===0&&y.event.trigger("ajaxStart"),ut.type=ut.type.toUpperCase(),ut.hasContent=!os.test(ut.type),q=ut.url.replace(ki,""),ut.hasContent?ut.data&&ut.processData&&(ut.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ut.data=ut.data.replace(ho,"+")):(xt=ut.url.slice(q.length),ut.data&&(ut.processData||typeof ut.data=="string")&&(q+=(Fo.test(q)?"&":"?")+ut.data,delete ut.data),ut.cache===!1&&(q=q.replace(as,"$1"),xt=(Fo.test(q)?"&":"?")+"_="+ws.guid+++xt),ut.url=q+xt),ut.ifModified&&(y.lastModified[q]&&fe.setRequestHeader("If-Modified-Since",y.lastModified[q]),y.etag[q]&&fe.setRequestHeader("If-None-Match",y.etag[q])),(ut.data&&ut.hasContent&&ut.contentType!==!1||A.contentType)&&fe.setRequestHeader("Content-Type",ut.contentType),fe.setRequestHeader("Accept",ut.dataTypes[0]&&ut.accepts[ut.dataTypes[0]]?ut.accepts[ut.dataTypes[0]]+(ut.dataTypes[0]!=="*"?", "+wi+"; q=0.01":""):ut.accepts["*"]);for(St in ut.headers)fe.setRequestHeader(St,ut.headers[St]);if(ut.beforeSend&&(ut.beforeSend.call($t,fe,ut)===!1||Oe))return fe.abort();if(Z="abort",Lr.add(ut.complete),fe.done(ut.success),fe.fail(ut.error),D=po(Va,ut,A,fe),!D)Pe(-1,"No Transport");else{if(fe.readyState=1,Ge&&Er.trigger("ajaxSend",[fe,ut]),Oe)return fe;ut.async&&ut.timeout>0&&(ue=t.setTimeout(function(){fe.abort("timeout")},ut.timeout));try{Oe=!1,D.send(Jn,Pe)}catch(Qe){if(Oe)throw Qe;Pe(-1,Qe)}}function Pe(Qe,Ze,Ot,Vt){var fr,Mr,Sr,En,Kn,Rn=Ze;Oe||(Oe=!0,ue&&t.clearTimeout(ue),D=void 0,Q=Vt||"",fe.readyState=Qe>0?4:0,fr=Qe>=200&&Qe<300||Qe===304,Ot&&(En=Gi(ut,fe,Ot)),!fr&&y.inArray("script",ut.dataTypes)>-1&&y.inArray("json",ut.dataTypes)<0&&(ut.converters["text script"]=function(){}),En=ss(ut,En,fe,fr),fr?(ut.ifModified&&(Kn=fe.getResponseHeader("Last-Modified"),Kn&&(y.lastModified[q]=Kn),Kn=fe.getResponseHeader("etag"),Kn&&(y.etag[q]=Kn)),Qe===204||ut.type==="HEAD"?Rn="nocontent":Qe===304?Rn="notmodified":(Rn=En.state,Mr=En.data,Sr=En.error,fr=!Sr)):(Sr=Rn,(Qe||!Rn)&&(Rn="error",Qe<0&&(Qe=0))),fe.status=Qe,fe.statusText=(Ze||Rn)+"",fr?Kr.resolveWith($t,[Mr,Rn,fe]):Kr.rejectWith($t,[fe,Rn,Sr]),fe.statusCode(jn),jn=void 0,Ge&&Er.trigger(fr?"ajaxSuccess":"ajaxError",[fe,ut,fr?Mr:Sr]),Lr.fireWith($t,[fe,Rn]),Ge&&(Er.trigger("ajaxComplete",[fe,ut]),--y.active||y.event.trigger("ajaxStop")))}return fe},getJSON:function(g,A,D){return y.get(g,A,D,"json")},getScript:function(g,A){return y.get(g,void 0,A,"script")}}),y.each(["get","post"],function(g,A){y[A]=function(D,q,Q,re){return E(q)&&(re=re||Q,Q=q,q=void 0),y.ajax(y.extend({url:D,type:A,dataType:re,data:q,success:Q},y.isPlainObject(D)&&D))}}),y.ajaxPrefilter(function(g){var A;for(A in g.headers)A.toLowerCase()==="content-type"&&(g.contentType=g.headers[A]||"")}),y._evalUrl=function(g,A,D){return y.ajax({url:g,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(q){y.globalEval(q,A,D)}})},y.fn.extend({wrapAll:function(g){var A;return this[0]&&(E(g)&&(g=g.call(this[0])),A=y(g,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&A.insertBefore(this[0]),A.map(function(){for(var D=this;D.firstElementChild;)D=D.firstElementChild;return D}).append(this)),this},wrapInner:function(g){return E(g)?this.each(function(A){y(this).wrapInner(g.call(this,A))}):this.each(function(){var A=y(this),D=A.contents();D.length?D.wrapAll(g):A.append(g)})},wrap:function(g){var A=E(g);return this.each(function(D){y(this).wrapAll(A?g.call(this,D):g)})},unwrap:function(g){return this.parent(g).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function(g){return!y.expr.pseudos.visible(g)},y.expr.pseudos.visible=function(g){return!!(g.offsetWidth||g.offsetHeight||g.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ks={0:200,1223:204},vi=y.ajaxSettings.xhr();S.cors=!!vi&&"withCredentials"in vi,S.ajax=vi=!!vi,y.ajaxTransport(function(g){var A,D;if(S.cors||vi&&!g.crossDomain)return{send:function(q,Q){var re,ue=g.xhr();if(ue.open(g.type,g.url,g.async,g.username,g.password),g.xhrFields)for(re in g.xhrFields)ue[re]=g.xhrFields[re];g.mimeType&&ue.overrideMimeType&&ue.overrideMimeType(g.mimeType),!g.crossDomain&&!q["X-Requested-With"]&&(q["X-Requested-With"]="XMLHttpRequest");for(re in q)ue.setRequestHeader(re,q[re]);A=function(Ne){return function(){A&&(A=D=ue.onload=ue.onerror=ue.onabort=ue.ontimeout=ue.onreadystatechange=null,Ne==="abort"?ue.abort():Ne==="error"?typeof ue.status!="number"?Q(0,"error"):Q(ue.status,ue.statusText):Q(Ks[ue.status]||ue.status,ue.statusText,(ue.responseType||"text")!=="text"||typeof ue.responseText!="string"?{binary:ue.response}:{text:ue.responseText},ue.getAllResponseHeaders()))}},ue.onload=A(),D=ue.onerror=ue.ontimeout=A("error"),ue.onabort!==void 0?ue.onabort=D:ue.onreadystatechange=function(){ue.readyState===4&&t.setTimeout(function(){A&&D()})},A=A("abort");try{ue.send(g.hasContent&&g.data||null)}catch(Ne){if(A)throw Ne}},abort:function(){A&&A()}}}),y.ajaxPrefilter(function(g){g.crossDomain&&(g.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(g){return y.globalEval(g),g}}}),y.ajaxPrefilter("script",function(g){g.cache===void 0&&(g.cache=!1),g.crossDomain&&(g.type="GET")}),y.ajaxTransport("script",function(g){if(g.crossDomain||g.scriptAttrs){var A,D;return{send:function(q,Q){A=y("<script>").attr(g.scriptAttrs||{}).prop({charset:g.scriptCharset,src:g.url}).on("load error",D=function(re){A.remove(),D=null,re&&Q(re.type==="error"?404:200,re.type)}),w.head.appendChild(A[0])},abort:function(){D&&D()}}}});var Ki=[],Ha=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var g=Ki.pop()||y.expando+"_"+ws.guid++;return this[g]=!0,g}}),y.ajaxPrefilter("json jsonp",function(g,A,D){var q,Q,re,ue=g.jsonp!==!1&&(Ha.test(g.url)?"url":typeof g.data=="string"&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Ha.test(g.data)&&"data");if(ue||g.dataTypes[0]==="jsonp")return q=g.jsonpCallback=E(g.jsonpCallback)?g.jsonpCallback():g.jsonpCallback,ue?g[ue]=g[ue].replace(Ha,"$1"+q):g.jsonp!==!1&&(g.url+=(Fo.test(g.url)?"&":"?")+g.jsonp+"="+q),g.converters["script json"]=function(){return re||y.error(q+" was not called"),re[0]},g.dataTypes[0]="json",Q=t[q],t[q]=function(){re=arguments},D.always(function(){Q===void 0?y(t).removeProp(q):t[q]=Q,g[q]&&(g.jsonpCallback=A.jsonpCallback,Ki.push(q)),re&&E(Q)&&Q(re[0]),re=Q=void 0}),"script"}),S.createHTMLDocument=(function(){var g=w.implementation.createHTMLDocument("").body;return g.innerHTML="<form></form><form></form>",g.childNodes.length===2})(),y.parseHTML=function(g,A,D){if(typeof g!="string")return[];typeof A=="boolean"&&(D=A,A=!1);var q,Q,re;return A||(S.createHTMLDocument?(A=w.implementation.createHTMLDocument(""),q=A.createElement("base"),q.href=w.location.href,A.head.appendChild(q)):A=w),Q=Se.exec(g),re=!D&&[],Q?[A.createElement(Q[1])]:(Q=Pn([g],A,re),re&&re.length&&y(re).remove(),y.merge([],Q.childNodes))},y.fn.load=function(g,A,D){var q,Q,re,ue=this,Ne=g.indexOf(" ");return Ne>-1&&(q=Tr(g.slice(Ne)),g=g.slice(0,Ne)),E(A)?(D=A,A=void 0):A&&typeof A=="object"&&(Q="POST"),ue.length>0&&y.ajax({url:g,type:Q||"GET",dataType:"html",data:A}).done(function(Oe){re=arguments,ue.html(q?y("<div>").append(y.parseHTML(Oe)).find(q):Oe)}).always(D&&function(Oe,Ge){ue.each(function(){D.apply(this,re||[Oe.responseText,Ge,Oe])})}),this},y.expr.pseudos.animated=function(g){return y.grep(y.timers,function(A){return g===A.elem}).length},y.offset={setOffset:function(g,A,D){var q,Q,re,ue,Ne,Oe,Ge,St=y.css(g,"position"),xt=y(g),ut={};St==="static"&&(g.style.position="relative"),Ne=xt.offset(),re=y.css(g,"top"),Oe=y.css(g,"left"),Ge=(St==="absolute"||St==="fixed")&&(re+Oe).indexOf("auto")>-1,Ge?(q=xt.position(),ue=q.top,Q=q.left):(ue=parseFloat(re)||0,Q=parseFloat(Oe)||0),E(A)&&(A=A.call(g,D,y.extend({},Ne))),A.top!=null&&(ut.top=A.top-Ne.top+ue),A.left!=null&&(ut.left=A.left-Ne.left+Q),"using"in A?A.using.call(g,ut):xt.css(ut)}},y.fn.extend({offset:function(g){if(arguments.length)return g===void 0?this:this.each(function(Q){y.offset.setOffset(this,g,Q)});var A,D,q=this[0];if(q)return q.getClientRects().length?(A=q.getBoundingClientRect(),D=q.ownerDocument.defaultView,{top:A.top+D.pageYOffset,left:A.left+D.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var g,A,D,q=this[0],Q={top:0,left:0};if(y.css(q,"position")==="fixed")A=q.getBoundingClientRect();else{for(A=this.offset(),D=q.ownerDocument,g=q.offsetParent||D.documentElement;g&&(g===D.body||g===D.documentElement)&&y.css(g,"position")==="static";)g=g.parentNode;g&&g!==q&&g.nodeType===1&&(Q=y(g).offset(),Q.top+=y.css(g,"borderTopWidth",!0),Q.left+=y.css(g,"borderLeftWidth",!0))}return{top:A.top-Q.top-y.css(q,"marginTop",!0),left:A.left-Q.left-y.css(q,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var g=this.offsetParent;g&&y.css(g,"position")==="static";)g=g.offsetParent;return g||ft})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(g,A){var D=A==="pageYOffset";y.fn[g]=function(q){return Ie(this,function(Q,re,ue){var Ne;if(_(Q)?Ne=Q:Q.nodeType===9&&(Ne=Q.defaultView),ue===void 0)return Ne?Ne[A]:Q[re];Ne?Ne.scrollTo(D?Ne.pageXOffset:ue,D?ue:Ne.pageYOffset):Q[re]=ue},g,q,arguments.length)}}),y.each(["top","left"],function(g,A){y.cssHooks[A]=yt(S.pixelPosition,function(D,q){if(q)return q=bt(D,A),vt.test(q)?y(D).position()[A]+"px":q})}),y.each({Height:"height",Width:"width"},function(g,A){y.each({padding:"inner"+g,content:A,"":"outer"+g},function(D,q){y.fn[q]=function(Q,re){var ue=arguments.length&&(D||typeof Q!="boolean"),Ne=D||(Q===!0||re===!0?"margin":"border");return Ie(this,function(Oe,Ge,St){var xt;return _(Oe)?q.indexOf("outer")===0?Oe["inner"+g]:Oe.document.documentElement["client"+g]:Oe.nodeType===9?(xt=Oe.documentElement,Math.max(Oe.body["scroll"+g],xt["scroll"+g],Oe.body["offset"+g],xt["offset"+g],xt["client"+g])):St===void 0?y.css(Oe,Ge,Ne):y.style(Oe,Ge,St,Ne)},A,ue?Q:void 0,ue)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(g,A){y.fn[A]=function(D){return this.on(A,D)}}),y.fn.extend({bind:function(g,A,D){return this.on(g,null,A,D)},unbind:function(g,A){return this.off(g,null,A)},delegate:function(g,A,D,q){return this.on(A,g,D,q)},undelegate:function(g,A,D){return arguments.length===1?this.off(g,"**"):this.off(A,g||"**",D)},hover:function(g,A){return this.on("mouseenter",g).on("mouseleave",A||g)}}),y.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(g,A){y.fn[A]=function(D,q){return arguments.length>0?this.on(A,null,D,q):this.trigger(A)}});var go=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function(g,A){var D,q,Q;if(typeof A=="string"&&(D=g[A],A=g,g=D),!!E(g))return q=o.call(arguments,2),Q=function(){return g.apply(A||this,q.concat(o.call(arguments)))},Q.guid=g.guid=g.guid||y.guid++,Q},y.holdReady=function(g){g?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=$,y.isFunction=E,y.isWindow=_,y.camelCase=we,y.type=x,y.now=Date.now,y.isNumeric=function(g){var A=y.type(g);return(A==="number"||A==="string")&&!isNaN(g-parseFloat(g))},y.trim=function(g){return g==null?"":(g+"").replace(go,"$1")};var za=t.jQuery,Wa=t.$;return y.noConflict=function(g){return t.$===y&&(t.$=Wa),g&&t.jQuery===y&&(t.jQuery=za),y},typeof r>"u"&&(t.jQuery=t.$=y),y})})(Uv)),Uv.exports}var lfe=kQ();const Ls=Hn(lfe);var Ma="top",bo="bottom",To="right",$a="left",Rm="auto",rd=[Ma,bo,To,$a],ec="start",If="end",DQ="clippingParents",hO="viewport",vf="popper",LQ="reference",xx=rd.reduce(function(e,t){return e.concat([t+"-"+ec,t+"-"+If])},[]),pO=[].concat(rd,[Rm]).reduce(function(e,t){return e.concat([t,t+"-"+ec,t+"-"+If])},[]),NQ="beforeRead",MQ="read",$Q="afterRead",FQ="beforeMain",jQ="main",UQ="afterMain",qQ="beforeWrite",BQ="write",VQ="afterWrite",HQ=[NQ,MQ,$Q,FQ,jQ,UQ,qQ,BQ,VQ];function Fs(e){return e?(e.nodeName||"").toLowerCase():null}function Ao(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tc(e){var t=Ao(e).Element;return e instanceof t||e instanceof Element}function Jo(e){var t=Ao(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vO(e){if(typeof ShadowRoot>"u")return!1;var t=Ao(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cfe(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];!Jo(o)||!Fs(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var u=i[a];u===!1?o.removeAttribute(a):o.setAttribute(a,u===!0?"":u)}))})}function ffe(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=a.reduce(function(l,f){return l[f]="",l},{});!Jo(i)||!Fs(i)||(Object.assign(i.style,u),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const gO={name:"applyStyles",enabled:!0,phase:"write",fn:cfe,effect:ffe,requires:["computeStyles"]};function Ns(e){return e.split("-")[0]}var Yl=Math.max,cg=Math.min,Pf=Math.round;function Cx(){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 zQ(){return!/^((?!chrome|android).)*safari/i.test(Cx())}function kf(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Jo(e)&&(i=e.offsetWidth>0&&Pf(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Pf(n.height)/e.offsetHeight||1);var a=tc(e)?Ao(e):window,u=a.visualViewport,l=!zQ()&&r,f=(n.left+(l&&u?u.offsetLeft:0))/i,d=(n.top+(l&&u?u.offsetTop:0))/o,h=n.width/i,p=n.height/o;return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function mO(e){var t=kf(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 WQ(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&vO(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function mu(e){return Ao(e).getComputedStyle(e)}function dfe(e){return["table","td","th"].indexOf(Fs(e))>=0}function cl(e){return((tc(e)?e.ownerDocument:e.document)||window.document).documentElement}function xm(e){return Fs(e)==="html"?e:e.assignedSlot||e.parentNode||(vO(e)?e.host:null)||cl(e)}function FH(e){return!Jo(e)||mu(e).position==="fixed"?null:e.offsetParent}function hfe(e){var t=/firefox/i.test(Cx()),r=/Trident/i.test(Cx());if(r&&Jo(e)){var n=mu(e);if(n.position==="fixed")return null}var i=xm(e);for(vO(i)&&(i=i.host);Jo(i)&&["html","body"].indexOf(Fs(i))<0;){var o=mu(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 Kh(e){for(var t=Ao(e),r=FH(e);r&&dfe(r)&&mu(r).position==="static";)r=FH(r);return r&&(Fs(r)==="html"||Fs(r)==="body"&&mu(r).position==="static")?t:r||hfe(e)||t}function yO(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ah(e,t,r){return Yl(e,cg(t,r))}function pfe(e,t,r){var n=ah(e,t,r);return n>r?r:n}function GQ(){return{top:0,right:0,bottom:0,left:0}}function KQ(e){return Object.assign({},GQ(),e)}function YQ(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var vfe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,KQ(typeof t!="number"?t:YQ(t,rd))};function gfe(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,u=Ns(r.placement),l=yO(u),f=[$a,To].indexOf(u)>=0,d=f?"height":"width";if(!(!o||!a)){var h=vfe(i.padding,r),p=mO(o),m=l==="y"?Ma:$a,S=l==="y"?bo:To,E=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],_=a[l]-r.rects.reference[l],w=Kh(o),T=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,C=E/2-_/2,x=h[m],R=T-p[d]-h[S],P=T/2-p[d]/2+C,y=ah(x,P,R),N=l;r.modifiersData[n]=(t={},t[N]=y,t.centerOffset=y-P,t)}}function mfe(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)||WQ(t.elements.popper,i)&&(t.elements.arrow=i))}const _O={name:"arrow",enabled:!0,phase:"main",fn:gfe,effect:mfe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Df(e){return e.split("-")[1]}var yfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _fe(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Pf(r*i)/i||0,y:Pf(n*i)/i||0}}function jH(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,u=e.position,l=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=a.x,m=p===void 0?0:p,S=a.y,E=S===void 0?0:S,_=typeof d=="function"?d({x:m,y:E}):{x:m,y:E};m=_.x,E=_.y;var w=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),C=$a,x=Ma,R=window;if(f){var P=Kh(r),y="clientHeight",N="clientWidth";if(P===Ao(r)&&(P=cl(r),mu(P).position!=="static"&&u==="absolute"&&(y="scrollHeight",N="scrollWidth")),P=P,i===Ma||(i===$a||i===To)&&o===If){x=bo;var $=h&&P===R&&R.visualViewport?R.visualViewport.height:P[y];E-=$-n.height,E*=l?1:-1}if(i===$a||(i===Ma||i===bo)&&o===If){C=To;var H=h&&P===R&&R.visualViewport?R.visualViewport.width:P[N];m-=H-n.width,m*=l?1:-1}}var B=Object.assign({position:u},f&&yfe),W=d===!0?_fe({x:m,y:E},Ao(r)):{x:m,y:E};if(m=W.x,E=W.y,l){var X;return Object.assign({},B,(X={},X[x]=T?"0":"",X[C]=w?"0":"",X.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+E+"px)":"translate3d("+m+"px, "+E+"px, 0)",X))}return Object.assign({},B,(t={},t[x]=T?E+"px":"",t[C]=w?m+"px":"",t.transform="",t))}function Efe(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,u=r.roundOffsets,l=u===void 0?!0:u,f={placement:Ns(t.placement),variation:Df(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,jH(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jH(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Cm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Efe,data:{}};var fv={passive:!0};function Sfe(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,u=a===void 0?!0:a,l=Ao(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(d){d.addEventListener("scroll",r.update,fv)}),u&&l.addEventListener("resize",r.update,fv),function(){o&&f.forEach(function(d){d.removeEventListener("scroll",r.update,fv)}),u&&l.removeEventListener("resize",r.update,fv)}}const Om={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Sfe,data:{}};var wfe={left:"right",right:"left",bottom:"top",top:"bottom"};function qv(e){return e.replace(/left|right|bottom|top/g,function(t){return wfe[t]})}var bfe={start:"end",end:"start"};function UH(e){return e.replace(/start|end/g,function(t){return bfe[t]})}function EO(e){var t=Ao(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function SO(e){return kf(cl(e)).left+EO(e).scrollLeft}function Tfe(e,t){var r=Ao(e),n=cl(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,u=0,l=0;if(i){o=i.width,a=i.height;var f=zQ();(f||!f&&t==="fixed")&&(u=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:u+SO(e),y:l}}function Afe(e){var t,r=cl(e),n=EO(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Yl(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Yl(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+SO(e),l=-n.scrollTop;return mu(i||r).direction==="rtl"&&(u+=Yl(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:l}}function wO(e){var t=mu(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function XQ(e){return["html","body","#document"].indexOf(Fs(e))>=0?e.ownerDocument.body:Jo(e)&&wO(e)?e:XQ(xm(e))}function oh(e,t){var r;t===void 0&&(t=[]);var n=XQ(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ao(n),a=i?[o].concat(o.visualViewport||[],wO(n)?n:[]):n,u=t.concat(a);return i?u:u.concat(oh(xm(a)))}function Ox(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Rfe(e,t){var r=kf(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 qH(e,t,r){return t===hO?Ox(Tfe(e,r)):tc(t)?Rfe(t,r):Ox(Afe(cl(e)))}function xfe(e){var t=oh(xm(e)),r=["absolute","fixed"].indexOf(mu(e).position)>=0,n=r&&Jo(e)?Kh(e):e;return tc(n)?t.filter(function(i){return tc(i)&&WQ(i,n)&&Fs(i)!=="body"}):[]}function Cfe(e,t,r,n){var i=t==="clippingParents"?xfe(e):[].concat(t),o=[].concat(i,[r]),a=o[0],u=o.reduce(function(l,f){var d=qH(e,f,n);return l.top=Yl(d.top,l.top),l.right=cg(d.right,l.right),l.bottom=cg(d.bottom,l.bottom),l.left=Yl(d.left,l.left),l},qH(e,a,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function QQ(e){var t=e.reference,r=e.element,n=e.placement,i=n?Ns(n):null,o=n?Df(n):null,a=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,l;switch(i){case Ma:l={x:a,y:t.y-r.height};break;case bo:l={x:a,y:t.y+t.height};break;case To:l={x:t.x+t.width,y:u};break;case $a:l={x:t.x-r.width,y:u};break;default:l={x:t.x,y:t.y}}var f=i?yO(i):null;if(f!=null){var d=f==="y"?"height":"width";switch(o){case ec:l[f]=l[f]-(t[d]/2-r[d]/2);break;case If:l[f]=l[f]+(t[d]/2-r[d]/2);break}}return l}function Lf(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,u=r.boundary,l=u===void 0?DQ:u,f=r.rootBoundary,d=f===void 0?hO:f,h=r.elementContext,p=h===void 0?vf:h,m=r.altBoundary,S=m===void 0?!1:m,E=r.padding,_=E===void 0?0:E,w=KQ(typeof _!="number"?_:YQ(_,rd)),T=p===vf?LQ:vf,C=e.rects.popper,x=e.elements[S?T:p],R=Cfe(tc(x)?x:x.contextElement||cl(e.elements.popper),l,d,a),P=kf(e.elements.reference),y=QQ({reference:P,element:C,placement:i}),N=Ox(Object.assign({},C,y)),$=p===vf?N:P,H={top:R.top-$.top+w.top,bottom:$.bottom-R.bottom+w.bottom,left:R.left-$.left+w.left,right:$.right-R.right+w.right},B=e.modifiersData.offset;if(p===vf&&B){var W=B[i];Object.keys(H).forEach(function(X){var J=[To,bo].indexOf(X)>=0?1:-1,ie=[Ma,bo].indexOf(X)>=0?"y":"x";H[X]+=W[ie]*J})}return H}function Ofe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,u=r.flipVariations,l=r.allowedAutoPlacements,f=l===void 0?pO:l,d=Df(n),h=d?u?xx:xx.filter(function(S){return Df(S)===d}):rd,p=h.filter(function(S){return f.indexOf(S)>=0});p.length===0&&(p=h);var m=p.reduce(function(S,E){return S[E]=Lf(e,{placement:E,boundary:i,rootBoundary:o,padding:a})[Ns(E)],S},{});return Object.keys(m).sort(function(S,E){return m[S]-m[E]})}function Ife(e){if(Ns(e)===Rm)return[];var t=qv(e);return[UH(e),t,UH(t)]}function Pfe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,u=a===void 0?!0:a,l=r.fallbackPlacements,f=r.padding,d=r.boundary,h=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,S=m===void 0?!0:m,E=r.allowedAutoPlacements,_=t.options.placement,w=Ns(_),T=w===_,C=l||(T||!S?[qv(_)]:Ife(_)),x=[_].concat(C).reduce(function(Be,Xe){return Be.concat(Ns(Xe)===Rm?Ofe(t,{placement:Xe,boundary:d,rootBoundary:h,padding:f,flipVariations:S,allowedAutoPlacements:E}):Xe)},[]),R=t.rects.reference,P=t.rects.popper,y=new Map,N=!0,$=x[0],H=0;H<x.length;H++){var B=x[H],W=Ns(B),X=Df(B)===ec,J=[Ma,bo].indexOf(W)>=0,ie=J?"width":"height",ne=Lf(t,{placement:B,boundary:d,rootBoundary:h,altBoundary:p,padding:f}),pe=J?X?To:$a:X?bo:Ma;R[ie]>P[ie]&&(pe=qv(pe));var K=qv(pe),te=[];if(o&&te.push(ne[W]<=0),u&&te.push(ne[pe]<=0,ne[K]<=0),te.every(function(Be){return Be})){$=B,N=!1;break}y.set(B,te)}if(N)for(var z=S?3:1,ce=function(Xe){var oe=x.find(function(O){var I=y.get(O);if(I)return I.slice(0,Xe).every(function(M){return M})});if(oe)return $=oe,"break"},Se=z;Se>0;Se--){var Le=ce(Se);if(Le==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const bO={name:"flip",enabled:!0,phase:"main",fn:Pfe,requiresIfExists:["offset"],data:{_skip:!1}};function BH(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 VH(e){return[Ma,To,bo,$a].some(function(t){return e[t]>=0})}function kfe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Lf(t,{elementContext:"reference"}),u=Lf(t,{altBoundary:!0}),l=BH(a,n),f=BH(u,i,o),d=VH(l),h=VH(f);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const TO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:kfe};function Dfe(e,t,r){var n=Ns(e),i=[$a,Ma].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],u=o[1];return a=a||0,u=(u||0)*i,[$a,To].indexOf(n)>=0?{x:u,y:a}:{x:a,y:u}}function Lfe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=pO.reduce(function(d,h){return d[h]=Dfe(h,t.rects,o),d},{}),u=a[t.placement],l=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=a}const AO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Lfe};function Nfe(e){var t=e.state,r=e.name;t.modifiersData[r]=QQ({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Im={name:"popperOffsets",enabled:!0,phase:"read",fn:Nfe,data:{}};function Mfe(e){return e==="x"?"y":"x"}function $fe(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,u=a===void 0?!1:a,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.padding,p=r.tether,m=p===void 0?!0:p,S=r.tetherOffset,E=S===void 0?0:S,_=Lf(t,{boundary:l,rootBoundary:f,padding:h,altBoundary:d}),w=Ns(t.placement),T=Df(t.placement),C=!T,x=yO(w),R=Mfe(x),P=t.modifiersData.popperOffsets,y=t.rects.reference,N=t.rects.popper,$=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,H=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(P){if(o){var X,J=x==="y"?Ma:$a,ie=x==="y"?bo:To,ne=x==="y"?"height":"width",pe=P[x],K=pe+_[J],te=pe-_[ie],z=m?-N[ne]/2:0,ce=T===ec?y[ne]:N[ne],Se=T===ec?-N[ne]:-y[ne],Le=t.elements.arrow,Be=m&&Le?mO(Le):{width:0,height:0},Xe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:GQ(),oe=Xe[J],O=Xe[ie],I=ah(0,y[ne],Be[ne]),M=C?y[ne]/2-z-I-oe-H.mainAxis:ce-I-oe-H.mainAxis,k=C?-y[ne]/2+z+I+O+H.mainAxis:Se+I+O+H.mainAxis,U=t.elements.arrow&&Kh(t.elements.arrow),Y=U?x==="y"?U.clientTop||0:U.clientLeft||0:0,ae=(X=B==null?void 0:B[x])!=null?X:0,Ee=pe+M-ae-Y,me=pe+k-ae,Ce=ah(m?cg(K,Ee):K,pe,m?Yl(te,me):te);P[x]=Ce,W[x]=Ce-pe}if(u){var be,Ie=x==="x"?Ma:$a,Fe=x==="x"?bo:To,ve=P[R],_e=R==="y"?"height":"width",we=ve+_[Ie],ke=ve-_[Fe],qe=[Ma,$a].indexOf(w)!==-1,Ue=(be=B==null?void 0:B[R])!=null?be:0,We=qe?we:ve-y[_e]-N[_e]-Ue+H.altAxis,ct=qe?ve+y[_e]+N[_e]-Ue-H.altAxis:ke,jt=m&&qe?pfe(We,ve,ct):ah(m?We:we,ve,m?ct:ke);P[R]=jt,W[R]=jt-ve}t.modifiersData[n]=W}}const RO={name:"preventOverflow",enabled:!0,phase:"main",fn:$fe,requiresIfExists:["offset"]};function Ffe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jfe(e){return e===Ao(e)||!Jo(e)?EO(e):Ffe(e)}function Ufe(e){var t=e.getBoundingClientRect(),r=Pf(t.width)/e.offsetWidth||1,n=Pf(t.height)/e.offsetHeight||1;return r!==1||n!==1}function qfe(e,t,r){r===void 0&&(r=!1);var n=Jo(t),i=Jo(t)&&Ufe(t),o=cl(t),a=kf(e,i,r),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Fs(t)!=="body"||wO(o))&&(u=jfe(t)),Jo(t)?(l=kf(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=SO(o))),{x:a.left+u.scrollLeft-l.x,y:a.top+u.scrollTop-l.y,width:a.width,height:a.height}}function Bfe(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(u){if(!r.has(u)){var l=t.get(u);l&&i(l)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function Vfe(e){var t=Bfe(e);return HQ.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Hfe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function zfe(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 HH={placement:"bottom",modifiers:[],strategy:"absolute"};function zH(){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 Yh(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?HH:i;return function(u,l,f){f===void 0&&(f=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},HH,o),modifiersData:{},elements:{reference:u,popper:l},attributes:{},styles:{}},h=[],p=!1,m={state:d,setOptions:function(w){var T=typeof w=="function"?w(d.options):w;E(),d.options=Object.assign({},o,d.options,T),d.scrollParents={reference:tc(u)?oh(u):u.contextElement?oh(u.contextElement):[],popper:oh(l)};var C=Vfe(zfe([].concat(n,d.options.modifiers)));return d.orderedModifiers=C.filter(function(x){return x.enabled}),S(),m.update()},forceUpdate:function(){if(!p){var w=d.elements,T=w.reference,C=w.popper;if(zH(T,C)){d.rects={reference:qfe(T,Kh(C),d.options.strategy==="fixed"),popper:mO(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(H){return d.modifiersData[H.name]=Object.assign({},H.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var R=d.orderedModifiers[x],P=R.fn,y=R.options,N=y===void 0?{}:y,$=R.name;typeof P=="function"&&(d=P({state:d,options:N,name:$,instance:m})||d)}}}},update:Hfe(function(){return new Promise(function(_){m.forceUpdate(),_(d)})}),destroy:function(){E(),p=!0}};if(!zH(u,l))return m;m.setOptions(f).then(function(_){!p&&f.onFirstUpdate&&f.onFirstUpdate(_)});function S(){d.orderedModifiers.forEach(function(_){var w=_.name,T=_.options,C=T===void 0?{}:T,x=_.effect;if(typeof x=="function"){var R=x({state:d,name:w,instance:m,options:C}),P=function(){};h.push(R||P)}})}function E(){h.forEach(function(_){return _()}),h=[]}return m}}var Wfe=Yh(),Gfe=[Om,Im,Cm,gO],Kfe=Yh({defaultModifiers:Gfe}),Yfe=[Om,Im,Cm,gO,AO,bO,RO,_O,TO],xO=Yh({defaultModifiers:Yfe});const JQ=Object.freeze(Object.defineProperty({__proto__:null,afterMain:UQ,afterRead:$Q,afterWrite:VQ,applyStyles:gO,arrow:_O,auto:Rm,basePlacements:rd,beforeMain:FQ,beforeRead:NQ,beforeWrite:qQ,bottom:bo,clippingParents:DQ,computeStyles:Cm,createPopper:xO,createPopperBase:Wfe,createPopperLite:Kfe,detectOverflow:Lf,end:If,eventListeners:Om,flip:bO,hide:TO,left:$a,main:jQ,modifierPhases:HQ,offset:AO,placements:pO,popper:vf,popperGenerator:Yh,popperOffsets:Im,preventOverflow:RO,read:MQ,reference:LQ,right:To,start:ec,top:Ma,variationPlacements:xx,viewport:hO,write:BQ},Symbol.toStringTag,{value:"Module"})),Vu=new Map,W1={set(e,t,r){Vu.has(e)||Vu.set(e,new Map);const n=Vu.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 Vu.has(e)&&Vu.get(e).get(t)||null},remove(e,t){if(!Vu.has(e))return;const r=Vu.get(e);r.delete(t),r.size===0&&Vu.delete(e)}},Xfe=1e6,Qfe=1e3,Ix="transitionend",ZQ=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),Jfe=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Zfe=e=>{do e+=Math.floor(Math.random()*Xfe);while(document.getElementById(e));return e},ede=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))*Qfe)},eJ=e=>{e.dispatchEvent(new Event(Ix))},hu=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),tl=e=>hu(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ZQ(e)):null,nd=e=>{if(!hu(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},rl=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",tJ=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?tJ(e.parentNode):null},fg=()=>{},Xh=e=>{e.offsetHeight},rJ=()=>Ls&&!document.body.hasAttribute("data-bs-no-jquery")?Ls:null,G1=[],tde=e=>{document.readyState==="loading"?(G1.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of G1)t()}),G1.push(e)):e()},Zo=()=>document.documentElement.dir==="rtl",is=e=>{tde(()=>{const t=rJ();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)}})},ro=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,nJ=(e,t,r=!0)=>{if(!r){ro(e);return}const i=ede(t)+5;let o=!1;const a=({target:u})=>{u===t&&(o=!0,t.removeEventListener(Ix,a),ro(e))};t.addEventListener(Ix,a),setTimeout(()=>{o||eJ(t)},i)},CO=(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))])},rde=/[^.]*(?=\..*)\.|.*/,nde=/\..*/,ide=/::\d+$/,K1={};let WH=1;const iJ={mouseenter:"mouseover",mouseleave:"mouseout"},ade=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 aJ(e,t){return t&&`${t}::${WH++}`||e.uidEvent||WH++}function oJ(e){const t=aJ(e);return e.uidEvent=t,K1[t]=K1[t]||{},K1[t]}function ode(e,t){return function r(n){return OO(n,{delegateTarget:e}),r.oneOff&&Ut.off(e,n.type,t),t.apply(e,[n])}}function sde(e,t,r){return function n(i){const o=e.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(const u of o)if(u===a)return OO(i,{delegateTarget:a}),n.oneOff&&Ut.off(e,i.type,t,r),r.apply(a,[i])}}function sJ(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function uJ(e,t,r){const n=typeof t=="string",i=n?r:t||r;let o=lJ(e);return ade.has(o)||(o=e),[n,i,o]}function GH(e,t,r,n,i){if(typeof t!="string"||!e)return;let[o,a,u]=uJ(t,r,n);t in iJ&&(a=(S=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return S.call(this,E)})(a));const l=oJ(e),f=l[u]||(l[u]={}),d=sJ(f,a,o?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=aJ(a,t.replace(rde,"")),p=o?sde(e,r,a):ode(e,a);p.delegationSelector=o?r:null,p.callable=a,p.oneOff=i,p.uidEvent=h,f[h]=p,e.addEventListener(u,p,o)}function Px(e,t,r,n,i){const o=sJ(t[r],n,i);o&&(e.removeEventListener(r,o,!!i),delete t[r][o.uidEvent])}function ude(e,t,r,n){const i=t[r]||{};for(const[o,a]of Object.entries(i))o.includes(n)&&Px(e,t,r,a.callable,a.delegationSelector)}function lJ(e){return e=e.replace(nde,""),iJ[e]||e}const Ut={on(e,t,r,n){GH(e,t,r,n,!1)},one(e,t,r,n){GH(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,o,a]=uJ(t,r,n),u=a!==t,l=oJ(e),f=l[a]||{},d=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(f).length)return;Px(e,l,a,o,i?r:null);return}if(d)for(const h of Object.keys(l))ude(e,l,h,t.slice(1));for(const[h,p]of Object.entries(f)){const m=h.replace(ide,"");(!u||t.includes(m))&&Px(e,l,a,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=rJ(),i=lJ(t),o=t!==i;let a=null,u=!0,l=!0,f=!1;o&&n&&(a=n.Event(t,r),n(e).trigger(a),u=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented());const d=OO(new Event(t,{bubbles:u,cancelable:!0}),r);return f&&d.preventDefault(),l&&e.dispatchEvent(d),d.defaultPrevented&&a&&a.preventDefault(),d}};function OO(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 KH(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 Y1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const pu={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${Y1(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Y1(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]=KH(e.dataset[n])}return t},getDataAttribute(e,t){return KH(e.getAttribute(`data-bs-${Y1(t)}`))}};class Qh{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=hu(r)?pu.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...hu(r)?pu.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=hu(o)?"element":Jfe(o);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${i}".`)}}}const lde="5.3.2";class Ss extends Qh{constructor(t,r){super(),t=tl(t),t&&(this._element=t,this._config=this._getConfig(r),W1.set(this._element,this.constructor.DATA_KEY,this))}dispose(){W1.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){nJ(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return W1.get(tl(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return lde}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 X1=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!=="#"?ZQ(r.trim()):null}return t},Ar={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=>!rl(r)&&nd(r))},getSelectorFromElement(e){const t=X1(e);return t&&Ar.findOne(t)?t:null},getElementFromSelector(e){const t=X1(e);return t?Ar.findOne(t):null},getMultipleElementsFromSelector(e){const t=X1(e);return t?Ar.find(t):[]}},Pm=(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(),rl(this))return;const o=Ar.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(o)[t]()})},cde="alert",fde="bs.alert",cJ=`.${fde}`,dde=`close${cJ}`,hde=`closed${cJ}`,pde="fade",vde="show";let fJ=class dJ extends Ss{static get NAME(){return cde}close(){if(Ut.trigger(this._element,dde).defaultPrevented)return;this._element.classList.remove(vde);const r=this._element.classList.contains(pde);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ut.trigger(this._element,hde),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=dJ.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)}})}};Pm(fJ,"close");is(fJ);const gde="button",mde="bs.button",yde=`.${mde}`,_de=".data-api",Ede="active",YH='[data-bs-toggle="button"]',Sde=`click${yde}${_de}`;let hJ=class pJ extends Ss{static get NAME(){return gde}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ede))}static jQueryInterface(t){return this.each(function(){const r=pJ.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Ut.on(document,Sde,YH,e=>{e.preventDefault();const t=e.target.closest(YH);hJ.getOrCreateInstance(t).toggle()});is(hJ);const wde="swipe",id=".bs.swipe",bde=`touchstart${id}`,Tde=`touchmove${id}`,Ade=`touchend${id}`,Rde=`pointerdown${id}`,xde=`pointerup${id}`,Cde="touch",Ode="pen",Ide="pointer-event",Pde=40,kde={endCallback:null,leftCallback:null,rightCallback:null},Dde={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class dg extends Qh{constructor(t,r){super(),this._element=t,!(!t||!dg.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return kde}static get DefaultType(){return Dde}static get NAME(){return wde}dispose(){Ut.off(this._element,id)}_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(),ro(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<=Pde)return;const r=t/this._deltaX;this._deltaX=0,r&&ro(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ut.on(this._element,Rde,t=>this._start(t)),Ut.on(this._element,xde,t=>this._end(t)),this._element.classList.add(Ide)):(Ut.on(this._element,bde,t=>this._start(t)),Ut.on(this._element,Tde,t=>this._move(t)),Ut.on(this._element,Ade,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ode||t.pointerType===Cde)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Lde="carousel",Nde="bs.carousel",fl=`.${Nde}`,vJ=".data-api",Mde="ArrowLeft",$de="ArrowRight",Fde=500,qd="next",nf="prev",gf="left",Bv="right",jde=`slide${fl}`,Q1=`slid${fl}`,Ude=`keydown${fl}`,qde=`mouseenter${fl}`,Bde=`mouseleave${fl}`,Vde=`dragstart${fl}`,Hde=`load${fl}${vJ}`,zde=`click${fl}${vJ}`,gJ="carousel",dv="active",Wde="slide",Gde="carousel-item-end",Kde="carousel-item-start",Yde="carousel-item-next",Xde="carousel-item-prev",mJ=".active",yJ=".carousel-item",Qde=mJ+yJ,Jde=".carousel-item img",Zde=".carousel-indicators",ehe="[data-bs-slide], [data-bs-slide-to]",the='[data-bs-ride="carousel"]',rhe={[Mde]:Bv,[$de]:gf},nhe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ihe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Jh extends Ss{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ar.findOne(Zde,this._element),this._addEventListeners(),this._config.ride===gJ&&this.cycle()}static get Default(){return nhe}static get DefaultType(){return ihe}static get NAME(){return Lde}next(){this._slide(qd)}nextWhenVisible(){!document.hidden&&nd(this._element)&&this.next()}prev(){this._slide(nf)}pause(){this._isSliding&&eJ(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,Q1,()=>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,Q1,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?qd:nf;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,Ude,t=>this._keydown(t)),this._config.pause==="hover"&&(Ut.on(this._element,qde,()=>this.pause()),Ut.on(this._element,Bde,()=>this._maybeEnableCycle())),this._config.touch&&dg.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Ar.find(Jde,this._element))Ut.on(n,Vde,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(gf)),rightCallback:()=>this._slide(this._directionToOrder(Bv)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Fde+this._config.interval))}};this._swipeHelper=new dg(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=rhe[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=Ar.findOne(mJ,this._indicatorsElement);r.classList.remove(dv),r.removeAttribute("aria-current");const n=Ar.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(dv),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===qd,o=r||CO(this._getItems(),n,i,this._config.wrap);if(o===n)return;const a=this._getItemIndex(o),u=m=>Ut.trigger(this._element,m,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:a});if(u(jde).defaultPrevented||!n||!o)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=o;const d=i?Kde:Gde,h=i?Yde:Xde;o.classList.add(h),Xh(o),n.classList.add(d),o.classList.add(d);const p=()=>{o.classList.remove(d,h),o.classList.add(dv),n.classList.remove(dv,h,d),this._isSliding=!1,u(Q1)};this._queueCallback(p,n,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(Wde)}_getActive(){return Ar.findOne(Qde,this._element)}_getItems(){return Ar.find(yJ,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Zo()?t===gf?nf:qd:t===gf?qd:nf}_orderToDirection(t){return Zo()?t===nf?gf:Bv:t===nf?Bv:gf}static jQueryInterface(t){return this.each(function(){const r=Jh.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,zde,ehe,function(e){const t=Ar.getElementFromSelector(this);if(!t||!t.classList.contains(gJ))return;e.preventDefault();const r=Jh.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(pu.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ut.on(window,Hde,()=>{const e=Ar.find(the);for(const t of e)Jh.getOrCreateInstance(t)});is(Jh);const ahe="collapse",ohe="bs.collapse",Zh=`.${ohe}`,she=".data-api",uhe=`show${Zh}`,lhe=`shown${Zh}`,che=`hide${Zh}`,fhe=`hidden${Zh}`,dhe=`click${Zh}${she}`,J1="show",Ef="collapse",hv="collapsing",hhe="collapsed",phe=`:scope .${Ef} .${Ef}`,vhe="collapse-horizontal",ghe="width",mhe="height",yhe=".collapse.show, .collapse.collapsing",kx='[data-bs-toggle="collapse"]',_he={parent:null,toggle:!0},Ehe={parent:"(null|element)",toggle:"boolean"};class yh extends Ss{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Ar.find(kx);for(const i of n){const o=Ar.getSelectorFromElement(i),a=Ar.find(o).filter(u=>u===this._element);o!==null&&a.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return _he}static get DefaultType(){return Ehe}static get NAME(){return ahe}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(yhe).filter(u=>u!==this._element).map(u=>yh.getOrCreateInstance(u,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ut.trigger(this._element,uhe).defaultPrevented)return;for(const u of t)u.hide();const n=this._getDimension();this._element.classList.remove(Ef),this._element.classList.add(hv),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(hv),this._element.classList.add(Ef,J1),this._element.style[n]="",Ut.trigger(this._element,lhe)},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,che).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Xh(this._element),this._element.classList.add(hv),this._element.classList.remove(Ef,J1);for(const i of this._triggerArray){const o=Ar.getElementFromSelector(i);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(hv),this._element.classList.add(Ef),Ut.trigger(this._element,fhe)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(J1)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tl(t.parent),t}_getDimension(){return this._element.classList.contains(vhe)?ghe:mhe}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(kx);for(const r of t){const n=Ar.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Ar.find(phe,this._config.parent);return Ar.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(hhe,!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=yh.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ut.on(document,dhe,kx,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Ar.getMultipleElementsFromSelector(this))yh.getOrCreateInstance(t,{toggle:!1}).toggle()});is(yh);const XH="dropdown",She="bs.dropdown",wc=`.${She}`,IO=".data-api",whe="Escape",QH="Tab",bhe="ArrowUp",JH="ArrowDown",The=2,Ahe=`hide${wc}`,Rhe=`hidden${wc}`,xhe=`show${wc}`,Che=`shown${wc}`,_J=`click${wc}${IO}`,EJ=`keydown${wc}${IO}`,Ohe=`keyup${wc}${IO}`,mf="show",Ihe="dropup",Phe="dropend",khe="dropstart",Dhe="dropup-center",Lhe="dropdown-center",Bl='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Nhe=`${Bl}.${mf}`,Vv=".dropdown-menu",Mhe=".navbar",$he=".navbar-nav",Fhe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",jhe=Zo()?"top-end":"top-start",Uhe=Zo()?"top-start":"top-end",qhe=Zo()?"bottom-end":"bottom-start",Bhe=Zo()?"bottom-start":"bottom-end",Vhe=Zo()?"left-start":"right-start",Hhe=Zo()?"right-start":"left-start",zhe="top",Whe="bottom",Ghe={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Khe={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let ad=class Hv extends Ss{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Ar.next(this._element,Vv)[0]||Ar.prev(this._element,Vv)[0]||Ar.findOne(Vv,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ghe}static get DefaultType(){return Khe}static get NAME(){return XH}toggle(){return this._isShown()?this.hide():this.show()}show(){if(rl(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ut.trigger(this._element,xhe,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest($he))for(const n of[].concat(...document.body.children))Ut.on(n,"mouseover",fg);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(mf),this._element.classList.add(mf),Ut.trigger(this._element,Che,t)}}hide(){if(rl(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,Ahe,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ut.off(n,"mouseover",fg);this._popper&&this._popper.destroy(),this._menu.classList.remove(mf),this._element.classList.remove(mf),this._element.setAttribute("aria-expanded","false"),pu.removeDataAttribute(this._menu,"popper"),Ut.trigger(this._element,Rhe,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!hu(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${XH.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof JQ>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:hu(this._config.reference)?t=tl(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=xO(t,this._menu,r)}_isShown(){return this._menu.classList.contains(mf)}_getPlacement(){const t=this._parent;if(t.classList.contains(Phe))return Vhe;if(t.classList.contains(khe))return Hhe;if(t.classList.contains(Dhe))return zhe;if(t.classList.contains(Lhe))return Whe;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ihe)?r?Uhe:jhe:r?Bhe:qhe}_detectNavbar(){return this._element.closest(Mhe)!==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")&&(pu.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...ro(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Ar.find(Fhe,this._menu).filter(i=>nd(i));n.length&&CO(n,r,t===JH,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Hv.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===The||t.type==="keyup"&&t.key!==QH)return;const r=Ar.find(Nhe);for(const n of r){const i=Hv.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===QH||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const u={relatedTarget:i._element};t.type==="click"&&(u.clickEvent=t),i._completeHide(u)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===whe,i=[bhe,JH].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const o=this.matches(Bl)?this:Ar.prev(this,Bl)[0]||Ar.next(this,Bl)[0]||Ar.findOne(Bl,t.delegateTarget.parentNode),a=Hv.getOrCreateInstance(o);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),o.focus())}};Ut.on(document,EJ,Bl,ad.dataApiKeydownHandler);Ut.on(document,EJ,Vv,ad.dataApiKeydownHandler);Ut.on(document,_J,ad.clearMenus);Ut.on(document,Ohe,ad.clearMenus);Ut.on(document,_J,Bl,function(e){e.preventDefault(),ad.getOrCreateInstance(this).toggle()});is(ad);const SJ="backdrop",Yhe="fade",ZH="show",ez=`mousedown.bs.${SJ}`,Xhe={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qhe={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wJ extends Qh{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Xhe}static get DefaultType(){return Qhe}static get NAME(){return SJ}show(t){if(!this._config.isVisible){ro(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Xh(r),r.classList.add(ZH),this._emulateAnimation(()=>{ro(t)})}hide(t){if(!this._config.isVisible){ro(t);return}this._getElement().classList.remove(ZH),this._emulateAnimation(()=>{this.dispose(),ro(t)})}dispose(){this._isAppended&&(Ut.off(this._element,ez),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(Yhe),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tl(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ut.on(t,ez,()=>{ro(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){nJ(t,this._getElement(),this._config.isAnimated)}}const Jhe="focustrap",Zhe="bs.focustrap",hg=`.${Zhe}`,epe=`focusin${hg}`,tpe=`keydown.tab${hg}`,rpe="Tab",npe="forward",tz="backward",ipe={autofocus:!0,trapElement:null},ape={autofocus:"boolean",trapElement:"element"};class bJ extends Qh{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ipe}static get DefaultType(){return ape}static get NAME(){return Jhe}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ut.off(document,hg),Ut.on(document,epe,t=>this._handleFocusin(t)),Ut.on(document,tpe,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ut.off(document,hg))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Ar.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===tz?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===rpe&&(this._lastTabNavDirection=t.shiftKey?tz:npe)}}const rz=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",nz=".sticky-top",pv="padding-right",iz="margin-right";class Dx{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,pv,r=>r+t),this._setElementAttributes(rz,pv,r=>r+t),this._setElementAttributes(nz,iz,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pv),this._resetElementAttributes(rz,pv),this._resetElementAttributes(nz,iz)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const i=this.getWidth(),o=a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+i)return;this._saveInitialAttribute(a,r);const u=window.getComputedStyle(a).getPropertyValue(r);a.style.setProperty(r,`${n(Number.parseFloat(u))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&pu.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const o=pu.getDataAttribute(i,r);if(o===null){i.style.removeProperty(r);return}pu.removeDataAttribute(i,r),i.style.setProperty(r,o)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(hu(t)){r(t);return}for(const n of Ar.find(t,this._element))r(n)}}const ope="modal",spe="bs.modal",es=`.${spe}`,upe=".data-api",lpe="Escape",cpe=`hide${es}`,fpe=`hidePrevented${es}`,TJ=`hidden${es}`,AJ=`show${es}`,dpe=`shown${es}`,hpe=`resize${es}`,ppe=`click.dismiss${es}`,vpe=`mousedown.dismiss${es}`,gpe=`keydown.dismiss${es}`,mpe=`click${es}${upe}`,az="modal-open",ype="fade",oz="show",Z1="modal-static",_pe=".modal.show",Epe=".modal-dialog",Spe=".modal-body",wpe='[data-bs-toggle="modal"]',bpe={backdrop:!0,focus:!0,keyboard:!0},Tpe={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let pg=class RJ extends Ss{constructor(t,r){super(t,r),this._dialog=Ar.findOne(Epe,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Dx,this._addEventListeners()}static get Default(){return bpe}static get DefaultType(){return Tpe}static get NAME(){return ope}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ut.trigger(this._element,AJ,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(az),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ut.trigger(this._element,cpe).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(oz),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ut.off(window,es),Ut.off(this._dialog,es),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wJ({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new bJ({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=Ar.findOne(Spe,this._dialog);r&&(r.scrollTop=0),Xh(this._element),this._element.classList.add(oz);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ut.trigger(this._element,dpe,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ut.on(this._element,gpe,t=>{if(t.key===lpe){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ut.on(window,hpe,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ut.on(this._element,vpe,t=>{Ut.one(this._element,ppe,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(az),this._resetAdjustments(),this._scrollBar.reset(),Ut.trigger(this._element,TJ)})}_isAnimated(){return this._element.classList.contains(ype)}_triggerBackdropTransition(){if(Ut.trigger(this._element,fpe).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Z1)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Z1),this._queueCallback(()=>{this._element.classList.remove(Z1),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=Zo()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=Zo()?"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=RJ.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,mpe,wpe,function(e){const t=Ar.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ut.one(t,AJ,i=>{i.defaultPrevented||Ut.one(t,TJ,()=>{nd(this)&&this.focus()})});const r=Ar.findOne(_pe);r&&pg.getInstance(r).hide(),pg.getOrCreateInstance(t).toggle(this)});Pm(pg);is(pg);const Ape="offcanvas",Rpe="bs.offcanvas",Ru=`.${Rpe}`,xJ=".data-api",xpe=`load${Ru}${xJ}`,Cpe="Escape",sz="show",uz="showing",lz="hiding",Ope="offcanvas-backdrop",CJ=".offcanvas.show",Ipe=`show${Ru}`,Ppe=`shown${Ru}`,kpe=`hide${Ru}`,cz=`hidePrevented${Ru}`,OJ=`hidden${Ru}`,Dpe=`resize${Ru}`,Lpe=`click${Ru}${xJ}`,Npe=`keydown.dismiss${Ru}`,Mpe='[data-bs-toggle="offcanvas"]',$pe={backdrop:!0,keyboard:!0,scroll:!1},Fpe={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nl extends Ss{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $pe}static get DefaultType(){return Fpe}static get NAME(){return Ape}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ut.trigger(this._element,Ipe,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Dx().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(uz);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(sz),this._element.classList.remove(uz),Ut.trigger(this._element,Ppe,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ut.trigger(this._element,kpe).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(lz),this._backdrop.hide();const r=()=>{this._element.classList.remove(sz,lz),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Dx().reset(),Ut.trigger(this._element,OJ)};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,cz);return}this.hide()},r=!!this._config.backdrop;return new wJ({className:Ope,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new bJ({trapElement:this._element})}_addEventListeners(){Ut.on(this._element,Npe,t=>{if(t.key===Cpe){if(this._config.keyboard){this.hide();return}Ut.trigger(this._element,cz)}})}static jQueryInterface(t){return this.each(function(){const r=nl.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,Lpe,Mpe,function(e){const t=Ar.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rl(this))return;Ut.one(t,OJ,()=>{nd(this)&&this.focus()});const r=Ar.findOne(CJ);r&&r!==t&&nl.getInstance(r).hide(),nl.getOrCreateInstance(t).toggle(this)});Ut.on(window,xpe,()=>{for(const e of Ar.find(CJ))nl.getOrCreateInstance(e).show()});Ut.on(window,Dpe,()=>{for(const e of Ar.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&nl.getOrCreateInstance(e).hide()});Pm(nl);is(nl);const jpe=/^aria-[\w-]*$/i,IJ={"*":["class","dir","id","lang","role",jpe],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:[]},Upe=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qpe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Bpe=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?Upe.has(r)?!!qpe.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function Vpe(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const i=new window.DOMParser().parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const a of o){const u=a.nodeName.toLowerCase();if(!Object.keys(t).includes(u)){a.remove();continue}const l=[].concat(...a.attributes),f=[].concat(t["*"]||[],t[u]||[]);for(const d of l)Bpe(d,f)||a.removeAttribute(d.nodeName)}return i.body.innerHTML}const Hpe="TemplateFactory",zpe={allowList:IJ,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Wpe={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Gpe={entry:"(string|element|function|null)",selector:"(string|element)"};class Kpe extends Qh{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return zpe}static get DefaultType(){return Wpe}static get NAME(){return Hpe}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},Gpe)}_setContent(t,r,n){const i=Ar.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(hu(r)){this._putElementInTemplate(tl(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?Vpe(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return ro(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const Ype="tooltip",Xpe=new Set(["sanitize","allowList","sanitizeFn"]),eb="fade",Qpe="modal",vv="show",Jpe=".tooltip-inner",fz=`.${Qpe}`,dz="hide.bs.modal",Bd="hover",tb="focus",Zpe="click",eve="manual",tve="hide",rve="hidden",nve="show",ive="shown",ave="inserted",ove="click",sve="focusin",uve="focusout",lve="mouseenter",cve="mouseleave",fve={AUTO:"auto",TOP:"top",RIGHT:Zo()?"left":"right",BOTTOM:"bottom",LEFT:Zo()?"right":"left"},dve={allowList:IJ,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"},hve={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 km=class PJ extends Ss{constructor(t,r){if(typeof JQ>"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 dve}static get DefaultType(){return hve}static get NAME(){return Ype}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(fz),dz,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(nve)),n=(tJ(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(ave))),this._popper=this._createPopper(i),i.classList.add(vv),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))Ut.on(u,"mouseover",fg);const a=()=>{Ut.trigger(this._element,this.constructor.eventName(ive)),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(tve)).defaultPrevented)return;if(this._getTipElement().classList.remove(vv),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Ut.off(i,"mouseover",fg);this._activeTrigger[Zpe]=!1,this._activeTrigger[tb]=!1,this._activeTrigger[Bd]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ut.trigger(this._element,this.constructor.eventName(rve)))};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(eb,vv),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Zfe(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(eb),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Kpe({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Jpe]: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(eb)}_isShown(){return this.tip&&this.tip.classList.contains(vv)}_createPopper(t){const r=ro(this._config.placement,[this,t,this._element]),n=fve[r.toUpperCase()];return xO(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 ro(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,...ro(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(ove),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==eve){const n=r===Bd?this.constructor.eventName(lve):this.constructor.eventName(sve),i=r===Bd?this.constructor.eventName(cve):this.constructor.eventName(uve);Ut.on(this._element,n,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusin"?tb:Bd]=!0,a._enter()}),Ut.on(this._element,i,this._config.selector,o=>{const a=this._initializeOnDelegatedTarget(o);a._activeTrigger[o.type==="focusout"?tb:Bd]=a._element.contains(o.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ut.on(this._element.closest(fz),dz,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=pu.getDataAttributes(this._element);for(const n of Object.keys(r))Xpe.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:tl(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=PJ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};is(km);const pve="popover",vve=".popover-header",gve=".popover-body",mve={...km.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"},yve={...km.DefaultType,content:"(null|string|element|function)"};let _ve=class kJ extends km{static get Default(){return mve}static get DefaultType(){return yve}static get NAME(){return pve}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[vve]:this._getTitle(),[gve]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=kJ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};is(_ve);const Eve="scrollspy",Sve="bs.scrollspy",PO=`.${Sve}`,wve=".data-api",bve=`activate${PO}`,hz=`click${PO}`,Tve=`load${PO}${wve}`,Ave="dropdown-item",af="active",Rve='[data-bs-spy="scroll"]',rb="[href]",xve=".nav, .list-group",pz=".nav-link",Cve=".nav-item",Ove=".list-group-item",Ive=`${pz}, ${Cve} > ${pz}, ${Ove}`,Pve=".dropdown",kve=".dropdown-toggle",Dve={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Lve={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Dm extends Ss{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 Dve}static get DefaultType(){return Lve}static get NAME(){return Eve}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=tl(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,hz),Ut.on(this._config.target,hz,rb,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,i=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=a=>this._targetLinks.get(`#${a.target.id}`),n=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(r(a))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(a));continue}const u=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&u){if(n(a),!i)return;continue}!o&&!u&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Ar.find(rb,this._config.target);for(const r of t){if(!r.hash||rl(r))continue;const n=Ar.findOne(decodeURI(r.hash),this._element);nd(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(af),this._activateParents(t),Ut.trigger(this._element,bve,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Ave)){Ar.findOne(kve,t.closest(Pve)).classList.add(af);return}for(const r of Ar.parents(t,xve))for(const n of Ar.prev(r,Ive))n.classList.add(af)}_clearActiveClass(t){t.classList.remove(af);const r=Ar.find(`${rb}.${af}`,t);for(const n of r)n.classList.remove(af)}static jQueryInterface(t){return this.each(function(){const r=Dm.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,Tve,()=>{for(const e of Ar.find(Rve))Dm.getOrCreateInstance(e)});is(Dm);const Nve="tab",Mve="bs.tab",bc=`.${Mve}`,$ve=`hide${bc}`,Fve=`hidden${bc}`,jve=`show${bc}`,Uve=`shown${bc}`,qve=`click${bc}`,Bve=`keydown${bc}`,Vve=`load${bc}`,Hve="ArrowLeft",vz="ArrowRight",zve="ArrowUp",gz="ArrowDown",nb="Home",mz="End",Vl="active",yz="fade",ib="show",Wve="dropdown",DJ=".dropdown-toggle",Gve=".dropdown-menu",ab=`:not(${DJ})`,Kve='.list-group, .nav, [role="tablist"]',Yve=".nav-item, .list-group-item",Xve=`.nav-link${ab}, .list-group-item${ab}, [role="tab"]${ab}`,LJ='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ob=`${Xve}, ${LJ}`,Qve=`.${Vl}[data-bs-toggle="tab"], .${Vl}[data-bs-toggle="pill"], .${Vl}[data-bs-toggle="list"]`;class Nf extends Ss{constructor(t){super(t),this._parent=this._element.closest(Kve),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ut.on(this._element,Bve,r=>this._keydown(r)))}static get NAME(){return Nve}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ut.trigger(r,$ve,{relatedTarget:t}):null;Ut.trigger(t,jve,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Vl),this._activate(Ar.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ib);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ut.trigger(t,Uve,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(yz))}_deactivate(t,r){if(!t)return;t.classList.remove(Vl),t.blur(),this._deactivate(Ar.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ib);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ut.trigger(t,Fve,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(yz))}_keydown(t){if(![Hve,vz,zve,gz,nb,mz].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!rl(i));let n;if([nb,mz].includes(t.key))n=r[t.key===nb?0:r.length-1];else{const i=[vz,gz].includes(t.key);n=CO(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Nf.getOrCreateInstance(n).show())}_getChildren(){return Ar.find(ob,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=Ar.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(Wve))return;const i=(o,a)=>{const u=Ar.findOne(o,n);u&&u.classList.toggle(a,r)};i(DJ,Vl),i(Gve,ib),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Vl)}_getInnerElement(t){return t.matches(ob)?t:Ar.findOne(ob,t)}_getOuterElement(t){return t.closest(Yve)||t}static jQueryInterface(t){return this.each(function(){const r=Nf.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,qve,LJ,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!rl(this)&&Nf.getOrCreateInstance(this).show()});Ut.on(window,Vve,()=>{for(const e of Ar.find(Qve))Nf.getOrCreateInstance(e)});is(Nf);const Jve="toast",Zve="bs.toast",dl=`.${Zve}`,ege=`mouseover${dl}`,tge=`mouseout${dl}`,rge=`focusin${dl}`,nge=`focusout${dl}`,ige=`hide${dl}`,age=`hidden${dl}`,oge=`show${dl}`,sge=`shown${dl}`,uge="fade",_z="hide",gv="show",mv="showing",lge={animation:"boolean",autohide:"boolean",delay:"number"},cge={animation:!0,autohide:!0,delay:5e3};class Lm extends Ss{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cge}static get DefaultType(){return lge}static get NAME(){return Jve}show(){if(Ut.trigger(this._element,oge).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(uge);const r=()=>{this._element.classList.remove(mv),Ut.trigger(this._element,sge),this._maybeScheduleHide()};this._element.classList.remove(_z),Xh(this._element),this._element.classList.add(gv,mv),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ut.trigger(this._element,ige).defaultPrevented)return;const r=()=>{this._element.classList.add(_z),this._element.classList.remove(mv,gv),Ut.trigger(this._element,age)};this._element.classList.add(mv),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gv),super.dispose()}isShown(){return this._element.classList.contains(gv)}_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,ege,t=>this._onInteraction(t,!0)),Ut.on(this._element,tge,t=>this._onInteraction(t,!1)),Ut.on(this._element,rge,t=>this._onInteraction(t,!0)),Ut.on(this._element,nge,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=Lm.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Pm(Lm);is(Lm);var zv={exports:{}},Wv={exports:{}},fge=Wv.exports,Ez;function NJ(){return Ez||(Ez=1,(function(e,t){(function(r,n){e.exports=n()})(fge,(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,u=i.push,l=i.slice,f=o.toString,d=o.hasOwnProperty,h=typeof ArrayBuffer<"u",p=typeof DataView<"u",m=Array.isArray,S=Object.keys,E=Object.create,_=h&&ArrayBuffer.isView,w=isNaN,T=isFinite,C=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=Math.pow(2,53)-1;function P(G,le){return le=le==null?G.length-1:+le,function(){for(var Re=Math.max(arguments.length-le,0),De=Array(Re),je=0;je<Re;je++)De[je]=arguments[je+le];switch(le){case 0:return G.call(this,De);case 1:return G.call(this,arguments[0],De);case 2:return G.call(this,arguments[0],arguments[1],De)}var Ke=Array(le+1);for(je=0;je<le;je++)Ke[je]=arguments[je];return Ke[le]=De,G.apply(this,Ke)}}function y(G){var le=typeof G;return le==="function"||le==="object"&&!!G}function N(G){return G===null}function $(G){return G===void 0}function H(G){return G===!0||G===!1||f.call(G)==="[object Boolean]"}function B(G){return!!(G&&G.nodeType===1)}function W(G){var le="[object "+G+"]";return function(Re){return f.call(Re)===le}}var X=W("String"),J=W("Number"),ie=W("Date"),ne=W("RegExp"),pe=W("Error"),K=W("Symbol"),te=W("ArrayBuffer"),z=W("Function"),ce=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof ce!="function"&&(z=function(G){return typeof G=="function"||!1});var Se=z,Le=W("Object"),Be=p&&(!/\[native code\]/.test(String(DataView))||Le(new DataView(new ArrayBuffer(8)))),Xe=typeof Map<"u"&&Le(new Map),oe=W("DataView");function O(G){return G!=null&&Se(G.getInt8)&&te(G.buffer)}var I=Be?O:oe,M=m||W("Array");function k(G,le){return G!=null&&d.call(G,le)}var U=W("Arguments");(function(){U(arguments)||(U=function(G){return k(G,"callee")})})();var Y=U;function ae(G){return!K(G)&&T(G)&&!isNaN(parseFloat(G))}function Ee(G){return J(G)&&w(G)}function me(G){return function(){return G}}function Ce(G){return function(le){var Re=G(le);return typeof Re=="number"&&Re>=0&&Re<=R}}function be(G){return function(le){return le==null?void 0:le[G]}}var Ie=be("byteLength"),Fe=Ce(Ie),ve=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function _e(G){return _?_(G)&&!I(G):Fe(G)&&ve.test(f.call(G))}var we=h?_e:me(!1),ke=be("length");function qe(G){for(var le={},Re=G.length,De=0;De<Re;++De)le[G[De]]=!0;return{contains:function(je){return le[je]===!0},push:function(je){return le[je]=!0,G.push(je)}}}function Ue(G,le){le=qe(le);var Re=x.length,De=G.constructor,je=Se(De)&&De.prototype||o,Ke="constructor";for(k(G,Ke)&&!le.contains(Ke)&&le.push(Ke);Re--;)Ke=x[Re],Ke in G&&G[Ke]!==je[Ke]&&!le.contains(Ke)&&le.push(Ke)}function We(G){if(!y(G))return[];if(S)return S(G);var le=[];for(var Re in G)k(G,Re)&&le.push(Re);return C&&Ue(G,le),le}function ct(G){if(G==null)return!0;var le=ke(G);return typeof le=="number"&&(M(G)||X(G)||Y(G))?le===0:ke(We(G))===0}function jt(G,le){var Re=We(le),De=Re.length;if(G==null)return!De;for(var je=Object(G),Ke=0;Ke<De;Ke++){var At=Re[Ke];if(le[At]!==je[At]||!(At in je))return!1}return!0}function Gt(G){if(G instanceof Gt)return G;if(!(this instanceof Gt))return new Gt(G);this._wrapped=G}Gt.VERSION=r,Gt.prototype.value=function(){return this._wrapped},Gt.prototype.valueOf=Gt.prototype.toJSON=Gt.prototype.value,Gt.prototype.toString=function(){return String(this._wrapped)};function et(G){return new Uint8Array(G.buffer||G,G.byteOffset||0,Ie(G))}var Rt="[object DataView]";function Et(G,le,Re,De){if(G===le)return G!==0||1/G===1/le;if(G==null||le==null)return!1;if(G!==G)return le!==le;var je=typeof G;return je!=="function"&&je!=="object"&&typeof le!="object"?!1:st(G,le,Re,De)}function st(G,le,Re,De){G instanceof Gt&&(G=G._wrapped),le instanceof Gt&&(le=le._wrapped);var je=f.call(G);if(je!==f.call(le))return!1;if(Be&&je=="[object Object]"&&I(G)){if(!I(le))return!1;je=Rt}switch(je){case"[object RegExp]":case"[object String]":return""+G==""+le;case"[object Number]":return+G!=+G?+le!=+le:+G==0?1/+G===1/le:+G==+le;case"[object Date]":case"[object Boolean]":return+G==+le;case"[object Symbol]":return a.valueOf.call(G)===a.valueOf.call(le);case"[object ArrayBuffer]":case Rt:return st(et(G),et(le),Re,De)}var Ke=je==="[object Array]";if(!Ke&&we(G)){var At=Ie(G);if(At!==Ie(le))return!1;if(G.buffer===le.buffer&&G.byteOffset===le.byteOffset)return!0;Ke=!0}if(!Ke){if(typeof G!="object"||typeof le!="object")return!1;var Wt=G.constructor,$r=le.constructor;if(Wt!==$r&&!(Se(Wt)&&Wt instanceof Wt&&Se($r)&&$r instanceof $r)&&"constructor"in G&&"constructor"in le)return!1}Re=Re||[],De=De||[];for(var Or=Re.length;Or--;)if(Re[Or]===G)return De[Or]===le;if(Re.push(G),De.push(le),Ke){if(Or=G.length,Or!==le.length)return!1;for(;Or--;)if(!Et(G[Or],le[Or],Re,De))return!1}else{var Un=We(G),ni;if(Or=Un.length,We(le).length!==Or)return!1;for(;Or--;)if(ni=Un[Or],!(k(le,ni)&&Et(G[ni],le[ni],Re,De)))return!1}return Re.pop(),De.pop(),!0}function ft(G,le){return Et(G,le)}function mt(G){if(!y(G))return[];var le=[];for(var Re in G)le.push(Re);return C&&Ue(G,le),le}function Qt(G){var le=ke(G);return function(Re){if(Re==null)return!1;var De=mt(Re);if(ke(De))return!1;for(var je=0;je<le;je++)if(!Se(Re[G[je]]))return!1;return G!==Lt||!Se(Re[Nt])}}var Nt="forEach",Ae="has",tt=["clear","delete"],lt=["get",Ae,"set"],Tt=tt.concat(Nt,lt),Lt=tt.concat(lt),ar=["add"].concat(tt,Nt,Ae),dr=Xe?Qt(Tt):W("Map"),rr=Xe?Qt(Lt):W("WeakMap"),gr=Xe?Qt(ar):W("Set"),Dr=W("WeakSet");function Ur(G){for(var le=We(G),Re=le.length,De=Array(Re),je=0;je<Re;je++)De[je]=G[le[je]];return De}function Pn(G){for(var le=We(G),Re=le.length,De=Array(Re),je=0;je<Re;je++)De[je]=[le[je],G[le[je]]];return De}function kn(G){for(var le={},Re=We(G),De=0,je=Re.length;De<je;De++)le[G[Re[De]]]=Re[De];return le}function Fn(G){var le=[];for(var Re in G)Se(G[Re])&&le.push(Re);return le.sort()}function fn(G,le){return function(Re){var De=arguments.length;if(le&&(Re=Object(Re)),De<2||Re==null)return Re;for(var je=1;je<De;je++)for(var Ke=arguments[je],At=G(Ke),Wt=At.length,$r=0;$r<Wt;$r++){var Or=At[$r];(!le||Re[Or]===void 0)&&(Re[Or]=Ke[Or])}return Re}}var Wn=fn(mt),Xn=fn(We),ui=fn(mt,!0);function ti(){return function(){}}function Si(G){if(!y(G))return{};if(E)return E(G);var le=ti();le.prototype=G;var Re=new le;return le.prototype=null,Re}function Ri(G,le){var Re=Si(G);return le&&Xn(Re,le),Re}function _n(G){return y(G)?M(G)?G.slice():Wn({},G):G}function Gn(G,le){return le(G),G}function di(G){return M(G)?G:[G]}Gt.toPath=di;function li(G){return Gt.toPath(G)}function at(G,le){for(var Re=le.length,De=0;De<Re;De++){if(G==null)return;G=G[le[De]]}return Re?G:void 0}function kt(G,le,Re){var De=at(G,li(le));return $(De)?Re:De}function vt(G,le){le=li(le);for(var Re=le.length,De=0;De<Re;De++){var je=le[De];if(!k(G,je))return!1;G=G[je]}return!!Re}function Je(G){return G}function se(G){return G=Xn({},G),function(le){return jt(le,G)}}function rt(G){return G=li(G),function(le){return at(le,G)}}function He(G,le,Re){if(le===void 0)return G;switch(Re??3){case 1:return function(De){return G.call(le,De)};case 3:return function(De,je,Ke){return G.call(le,De,je,Ke)};case 4:return function(De,je,Ke,At){return G.call(le,De,je,Ke,At)}}return function(){return G.apply(le,arguments)}}function bt(G,le,Re){return G==null?Je:Se(G)?He(G,le,Re):y(G)&&!M(G)?se(G):rt(G)}function yt(G,le){return bt(G,le,1/0)}Gt.iteratee=yt;function Ht(G,le,Re){return Gt.iteratee!==yt?Gt.iteratee(G,le):bt(G,le,Re)}function Kt(G,le,Re){le=Ht(le,Re);for(var De=We(G),je=De.length,Ke={},At=0;At<je;At++){var Wt=De[At];Ke[Wt]=le(G[Wt],Wt,G)}return Ke}function wt(){}function _r(G){return G==null?wt:function(le){return kt(G,le)}}function Hr(G,le,Re){var De=Array(Math.max(0,G));le=He(le,Re,1);for(var je=0;je<G;je++)De[je]=le(je);return De}function dn(G,le){return le==null&&(le=G,G=0),G+Math.floor(Math.random()*(le-G+1))}var Dt=Date.now||function(){return new Date().getTime()};function zr(G){var le=function(Ke){return G[Ke]},Re="(?:"+We(G).join("|")+")",De=RegExp(Re),je=RegExp(Re,"g");return function(Ke){return Ke=Ke==null?"":""+Ke,De.test(Ke)?Ke.replace(je,le):Ke}}var Dn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Tn=zr(Dn),Ba=kn(Dn),Qn=zr(Ba),Fi=Gt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ji=/(.)^/,co={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ra=/\\|'|\r|\n|\u2028|\u2029/g;function da(G){return"\\"+co[G]}var F=/^\s*(\w|\$)+\s*$/;function ee(G,le,Re){!le&&Re&&(le=Re),le=ui({},le,Gt.templateSettings);var De=RegExp([(le.escape||ji).source,(le.interpolate||ji).source,(le.evaluate||ji).source].join("|")+"|$","g"),je=0,Ke="__p+='";G.replace(De,function(Or,Un,ni,Cu,mo){return Ke+=G.slice(je,mo).replace(Ra,da),je=mo+Or.length,Un?Ke+=`'+
|
|
19
|
-
((__t=(`+Un+`))==null?'':_.escape(__t))+
|
|
20
|
-
'`:ni?Ke+=`'+
|
|
21
|
-
((__t=(`+ni+`))==null?'':__t)+
|
|
22
|
-
'`:Cu&&(Ke+=`';
|
|
23
|
-
`+Cu+`
|
|
24
|
-
__p+='`),Or}),Ke+=`';
|
|
25
|
-
`;var At=le.variable;if(At){if(!F.test(At))throw new Error("variable is not a bare identifier: "+At)}else Ke=`with(obj||{}){
|
|
26
|
-
`+Ke+`}
|
|
27
|
-
`,At="obj";Ke=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
28
|
-
`+Ke+`return __p;
|
|
29
|
-
`;var Wt;try{Wt=new Function(At,"_",Ke)}catch(Or){throw Or.source=Ke,Or}var $r=function(Or){return Wt.call(this,Or,Gt)};return $r.source="function("+At+`){
|
|
30
|
-
`+Ke+"}",$r}function ge(G,le,Re){le=li(le);var De=le.length;if(!De)return Se(Re)?Re.call(G):Re;for(var je=0;je<De;je++){var Ke=G==null?void 0:G[le[je]];Ke===void 0&&(Ke=Re,je=De),G=Se(Ke)?Ke.call(G):Ke}return G}var Me=0;function ht(G){var le=++Me+"";return G?G+le:le}function nt(G){var le=Gt(G);return le._chain=!0,le}function Ct(G,le,Re,De,je){if(!(De instanceof le))return G.apply(Re,je);var Ke=Si(G.prototype),At=G.apply(Ke,je);return y(At)?At:Ke}var Bt=P(function(G,le){var Re=Bt.placeholder,De=function(){for(var je=0,Ke=le.length,At=Array(Ke),Wt=0;Wt<Ke;Wt++)At[Wt]=le[Wt]===Re?arguments[je++]:le[Wt];for(;je<arguments.length;)At.push(arguments[je++]);return Ct(G,De,this,this,At)};return De});Bt.placeholder=Gt;var Xt=P(function(G,le,Re){if(!Se(G))throw new TypeError("Bind must be called on a function");var De=P(function(je){return Ct(G,De,le,this,Re.concat(je))});return De}),mr=Ce(ke);function Tr(G,le,Re,De){if(De=De||[],!le&&le!==0)le=1/0;else if(le<=0)return De.concat(G);for(var je=De.length,Ke=0,At=ke(G);Ke<At;Ke++){var Wt=G[Ke];if(mr(Wt)&&(M(Wt)||Y(Wt)))if(le>1)Tr(Wt,le-1,Re,De),je=De.length;else for(var $r=0,Or=Wt.length;$r<Or;)De[je++]=Wt[$r++];else Re||(De[je++]=Wt)}return De}var An=P(function(G,le){le=Tr(le,!1,!1);var Re=le.length;if(Re<1)throw new Error("bindAll must be passed function names");for(;Re--;){var De=le[Re];G[De]=Xt(G[De],G)}return G});function hi(G,le){var Re=function(De){var je=Re.cache,Ke=""+(le?le.apply(this,arguments):De);return k(je,Ke)||(je[Ke]=G.apply(this,arguments)),je[Ke]};return Re.cache={},Re}var pi=P(function(G,le,Re){return setTimeout(function(){return G.apply(null,Re)},le)}),$o=Bt(pi,Gt,1);function ws(G,le,Re){var De,je,Ke,At,Wt=0;Re||(Re={});var $r=function(){Wt=Re.leading===!1?0:Dt(),De=null,At=G.apply(je,Ke),De||(je=Ke=null)},Or=function(){var Un=Dt();!Wt&&Re.leading===!1&&(Wt=Un);var ni=le-(Un-Wt);return je=this,Ke=arguments,ni<=0||ni>le?(De&&(clearTimeout(De),De=null),Wt=Un,At=G.apply(je,Ke),De||(je=Ke=null)):!De&&Re.trailing!==!1&&(De=setTimeout($r,ni)),At};return Or.cancel=function(){clearTimeout(De),Wt=0,De=je=Ke=null},Or}function Fo(G,le,Re){var De,je,Ke,At,Wt,$r=function(){var Un=Dt()-je;le>Un?De=setTimeout($r,le-Un):(De=null,Re||(At=G.apply(Wt,Ke)),De||(Ke=Wt=null))},Or=P(function(Un){return Wt=this,Ke=Un,je=Dt(),De||(De=setTimeout($r,le),Re&&(At=G.apply(Wt,Ke))),At});return Or.cancel=function(){clearTimeout(De),De=Ke=Wt=null},Or}function xa(G,le){return Bt(le,G)}function ri(G){return function(){return!G.apply(this,arguments)}}function ha(){var G=arguments,le=G.length-1;return function(){for(var Re=le,De=G[le].apply(this,arguments);Re--;)De=G[Re].call(this,De);return De}}function Ca(G,le){return function(){if(--G<1)return le.apply(this,arguments)}}function nn(G,le){var Re;return function(){return--G>0&&(Re=le.apply(this,arguments)),G<=1&&(le=null),Re}}var zi=Bt(nn,2);function fo(G,le,Re){le=Ht(le,Re);for(var De=We(G),je,Ke=0,At=De.length;Ke<At;Ke++)if(je=De[Ke],le(G[je],je,G))return je}function ho(G){return function(le,Re,De){Re=Ht(Re,De);for(var je=ke(le),Ke=G>0?0:je-1;Ke>=0&&Ke<je;Ke+=G)if(Re(le[Ke],Ke,le))return Ke;return-1}}var ki=ho(1),as=ho(-1);function Oa(G,le,Re,De){Re=Ht(Re,De,1);for(var je=Re(le),Ke=0,At=ke(G);Ke<At;){var Wt=Math.floor((Ke+At)/2);Re(G[Wt])<je?Ke=Wt+1:At=Wt}return Ke}function jo(G,le,Re){return function(De,je,Ke){var At=0,Wt=ke(De);if(typeof Ke=="number")G>0?At=Ke>=0?Ke:Math.max(Ke+Wt,At):Wt=Ke>=0?Math.min(Ke+1,Wt):Ke+Wt+1;else if(Re&&Ke&&Wt)return Ke=Re(De,je),De[Ke]===je?Ke:-1;if(je!==je)return Ke=le(l.call(De,At,Wt),Ee),Ke>=0?Ke+At:-1;for(Ke=G>0?At:Wt-1;Ke>=0&&Ke<Wt;Ke+=G)if(De[Ke]===je)return Ke;return-1}}var os=jo(1,ki,Oa),Ws=jo(-1,as);function Ia(G,le,Re){var De=mr(G)?ki:fo,je=De(G,le,Re);if(je!==void 0&&je!==-1)return G[je]}function Va(G,le){return Ia(G,se(le))}function wi(G,le,Re){le=He(le,Re);var De,je;if(mr(G))for(De=0,je=G.length;De<je;De++)le(G[De],De,G);else{var Ke=We(G);for(De=0,je=Ke.length;De<je;De++)le(G[Ke[De]],Ke[De],G)}return G}function Wi(G,le,Re){le=Ht(le,Re);for(var De=!mr(G)&&We(G),je=(De||G).length,Ke=Array(je),At=0;At<je;At++){var Wt=De?De[At]:At;Ke[At]=le(G[Wt],Wt,G)}return Ke}function Gs(G){var le=function(Re,De,je,Ke){var At=!mr(Re)&&We(Re),Wt=(At||Re).length,$r=G>0?0:Wt-1;for(Ke||(je=Re[At?At[$r]:$r],$r+=G);$r>=0&&$r<Wt;$r+=G){var Or=At?At[$r]:$r;je=De(je,Re[Or],Or,Re)}return je};return function(Re,De,je,Ke){var At=arguments.length>=3;return le(Re,He(De,Ke,4),je,At)}}var po=Gs(1),vo=Gs(-1);function Gi(G,le,Re){var De=[];return le=Ht(le,Re),wi(G,function(je,Ke,At){le(je,Ke,At)&&De.push(je)}),De}function ss(G,le,Re){return Gi(G,ri(Ht(le)),Re)}function Ks(G,le,Re){le=Ht(le,Re);for(var De=!mr(G)&&We(G),je=(De||G).length,Ke=0;Ke<je;Ke++){var At=De?De[Ke]:Ke;if(!le(G[At],At,G))return!1}return!0}function vi(G,le,Re){le=Ht(le,Re);for(var De=!mr(G)&&We(G),je=(De||G).length,Ke=0;Ke<je;Ke++){var At=De?De[Ke]:Ke;if(le(G[At],At,G))return!0}return!1}function Ki(G,le,Re,De){return mr(G)||(G=Ur(G)),(typeof Re!="number"||De)&&(Re=0),os(G,le,Re)>=0}var Ha=P(function(G,le,Re){var De,je;return Se(le)?je=le:(le=li(le),De=le.slice(0,-1),le=le[le.length-1]),Wi(G,function(Ke){var At=je;if(!At){if(De&&De.length&&(Ke=at(Ke,De)),Ke==null)return;At=Ke[le]}return At==null?At:At.apply(Ke,Re)})});function go(G,le){return Wi(G,rt(le))}function za(G,le){return Gi(G,se(le))}function Wa(G,le,Re){var De=-1/0,je=-1/0,Ke,At;if(le==null||typeof le=="number"&&typeof G[0]!="object"&&G!=null){G=mr(G)?G:Ur(G);for(var Wt=0,$r=G.length;Wt<$r;Wt++)Ke=G[Wt],Ke!=null&&Ke>De&&(De=Ke)}else le=Ht(le,Re),wi(G,function(Or,Un,ni){At=le(Or,Un,ni),(At>je||At===-1/0&&De===-1/0)&&(De=Or,je=At)});return De}function g(G,le,Re){var De=1/0,je=1/0,Ke,At;if(le==null||typeof le=="number"&&typeof G[0]!="object"&&G!=null){G=mr(G)?G:Ur(G);for(var Wt=0,$r=G.length;Wt<$r;Wt++)Ke=G[Wt],Ke!=null&&Ke<De&&(De=Ke)}else le=Ht(le,Re),wi(G,function(Or,Un,ni){At=le(Or,Un,ni),(At<je||At===1/0&&De===1/0)&&(De=Or,je=At)});return De}var A=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function D(G){return G?M(G)?l.call(G):X(G)?G.match(A):mr(G)?Wi(G,Je):Ur(G):[]}function q(G,le,Re){if(le==null||Re)return mr(G)||(G=Ur(G)),G[dn(G.length-1)];var De=D(G),je=ke(De);le=Math.max(Math.min(le,je),0);for(var Ke=je-1,At=0;At<le;At++){var Wt=dn(At,Ke),$r=De[At];De[At]=De[Wt],De[Wt]=$r}return De.slice(0,le)}function Q(G){return q(G,1/0)}function re(G,le,Re){var De=0;return le=Ht(le,Re),go(Wi(G,function(je,Ke,At){return{value:je,index:De++,criteria:le(je,Ke,At)}}).sort(function(je,Ke){var At=je.criteria,Wt=Ke.criteria;if(At!==Wt){if(At>Wt||At===void 0)return 1;if(At<Wt||Wt===void 0)return-1}return je.index-Ke.index}),"value")}function ue(G,le){return function(Re,De,je){var Ke=le?[[],[]]:{};return De=Ht(De,je),wi(Re,function(At,Wt){var $r=De(At,Wt,Re);G(Ke,At,$r)}),Ke}}var Ne=ue(function(G,le,Re){k(G,Re)?G[Re].push(le):G[Re]=[le]}),Oe=ue(function(G,le,Re){G[Re]=le}),Ge=ue(function(G,le,Re){k(G,Re)?G[Re]++:G[Re]=1}),St=ue(function(G,le,Re){G[Re?0:1].push(le)},!0);function xt(G){return G==null?0:mr(G)?G.length:We(G).length}function ut(G,le,Re){return le in Re}var $t=P(function(G,le){var Re={},De=le[0];if(G==null)return Re;Se(De)?(le.length>1&&(De=He(De,le[1])),le=mt(G)):(De=ut,le=Tr(le,!1,!1),G=Object(G));for(var je=0,Ke=le.length;je<Ke;je++){var At=le[je],Wt=G[At];De(Wt,At,G)&&(Re[At]=Wt)}return Re}),Er=P(function(G,le){var Re=le[0],De;return Se(Re)?(Re=ri(Re),le.length>1&&(De=le[1])):(le=Wi(Tr(le,!1,!1),String),Re=function(je,Ke){return!Ki(le,Ke)}),$t(G,Re,De)});function Kr(G,le,Re){return l.call(G,0,Math.max(0,G.length-(le==null||Re?1:le)))}function Lr(G,le,Re){return G==null||G.length<1?le==null||Re?void 0:[]:le==null||Re?G[0]:Kr(G,G.length-le)}function jn(G,le,Re){return l.call(G,le==null||Re?1:le)}function Jn(G,le,Re){return G==null||G.length<1?le==null||Re?void 0:[]:le==null||Re?G[G.length-1]:jn(G,Math.max(0,G.length-le))}function j(G){return Gi(G,Boolean)}function Z(G,le){return Tr(G,le,!1)}var fe=P(function(G,le){return le=Tr(le,!0,!0),Gi(G,function(Re){return!Ki(le,Re)})}),Pe=P(function(G,le){return fe(G,le)});function Qe(G,le,Re,De){H(le)||(De=Re,Re=le,le=!1),Re!=null&&(Re=Ht(Re,De));for(var je=[],Ke=[],At=0,Wt=ke(G);At<Wt;At++){var $r=G[At],Or=Re?Re($r,At,G):$r;le&&!Re?((!At||Ke!==Or)&&je.push($r),Ke=Or):Re?Ki(Ke,Or)||(Ke.push(Or),je.push($r)):Ki(je,$r)||je.push($r)}return je}var Ze=P(function(G){return Qe(Tr(G,!0,!0))});function Ot(G){for(var le=[],Re=arguments.length,De=0,je=ke(G);De<je;De++){var Ke=G[De];if(!Ki(le,Ke)){var At;for(At=1;At<Re&&Ki(arguments[At],Ke);At++);At===Re&&le.push(Ke)}}return le}function Vt(G){for(var le=G&&Wa(G,ke).length||0,Re=Array(le),De=0;De<le;De++)Re[De]=go(G,De);return Re}var fr=P(Vt);function Mr(G,le){for(var Re={},De=0,je=ke(G);De<je;De++)le?Re[G[De]]=le[De]:Re[G[De][0]]=G[De][1];return Re}function Sr(G,le,Re){le==null&&(le=G||0,G=0),Re||(Re=le<G?-1:1);for(var De=Math.max(Math.ceil((le-G)/Re),0),je=Array(De),Ke=0;Ke<De;Ke++,G+=Re)je[Ke]=G;return je}function En(G,le){if(le==null||le<1)return[];for(var Re=[],De=0,je=G.length;De<je;)Re.push(l.call(G,De,De+=le));return Re}function Kn(G,le){return G._chain?Gt(le).chain():le}function Rn(G){return wi(Fn(G),function(le){var Re=Gt[le]=G[le];Gt.prototype[le]=function(){var De=[this._wrapped];return u.apply(De,arguments),Kn(this,Re.apply(Gt,De))}}),Gt}wi(["pop","push","reverse","shift","sort","splice","unshift"],function(G){var le=i[G];Gt.prototype[G]=function(){var Re=this._wrapped;return Re!=null&&(le.apply(Re,arguments),(G==="shift"||G==="splice")&&Re.length===0&&delete Re[0]),Kn(this,Re)}}),wi(["concat","join","slice"],function(G){var le=i[G];Gt.prototype[G]=function(){var Re=this._wrapped;return Re!=null&&(Re=le.apply(Re,arguments)),Kn(this,Re)}});var yl={__proto__:null,VERSION:r,restArguments:P,isObject:y,isNull:N,isUndefined:$,isBoolean:H,isElement:B,isString:X,isNumber:J,isDate:ie,isRegExp:ne,isError:pe,isSymbol:K,isArrayBuffer:te,isDataView:I,isArray:M,isFunction:Se,isArguments:Y,isFinite:ae,isNaN:Ee,isTypedArray:we,isEmpty:ct,isMatch:jt,isEqual:ft,isMap:dr,isWeakMap:rr,isSet:gr,isWeakSet:Dr,keys:We,allKeys:mt,values:Ur,pairs:Pn,invert:kn,functions:Fn,methods:Fn,extend:Wn,extendOwn:Xn,assign:Xn,defaults:ui,create:Ri,clone:_n,tap:Gn,get:kt,has:vt,mapObject:Kt,identity:Je,constant:me,noop:wt,toPath:di,property:rt,propertyOf:_r,matcher:se,matches:se,times:Hr,random:dn,now:Dt,escape:Tn,unescape:Qn,templateSettings:Fi,template:ee,result:ge,uniqueId:ht,chain:nt,iteratee:yt,partial:Bt,bind:Xt,bindAll:An,memoize:hi,delay:pi,defer:$o,throttle:ws,debounce:Fo,wrap:xa,negate:ri,compose:ha,after:Ca,before:nn,once:zi,findKey:fo,findIndex:ki,findLastIndex:as,sortedIndex:Oa,indexOf:os,lastIndexOf:Ws,find:Ia,detect:Ia,findWhere:Va,each:wi,forEach:wi,map:Wi,collect:Wi,reduce:po,foldl:po,inject:po,reduceRight:vo,foldr:vo,filter:Gi,select:Gi,reject:ss,every:Ks,all:Ks,some:vi,any:vi,contains:Ki,includes:Ki,include:Ki,invoke:Ha,pluck:go,where:za,max:Wa,min:g,shuffle:Q,sample:q,sortBy:re,groupBy:Ne,indexBy:Oe,countBy:Ge,partition:St,toArray:D,size:xt,pick:$t,omit:Er,first:Lr,head:Lr,take:Lr,initial:Kr,last:Jn,rest:jn,tail:jn,drop:jn,compact:j,flatten:Z,without:Pe,uniq:Qe,unique:Qe,union:Ze,intersection:Ot,difference:fe,unzip:Vt,transpose:Vt,zip:fr,object:Mr,range:Sr,chunk:En,mixin:Rn,default:Gt},Pa=Rn(yl);return Pa._=Pa,Pa}))})(Wv)),Wv.exports}var sb={},Sz;function MJ(){return Sz||(Sz=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=NJ(),i;try{i=kQ()}catch{}t(r,e,n,i)}})(function(t,r,n,i){var o=t.Backbone,a=Array.prototype.slice;r.VERSION="1.3.3",r.$=i,r.noConflict=function(){return t.Backbone=o,this},r.emulateHTTP=!1,r.emulateJSON=!1;var u=function(O,I,M){switch(O){case 1:return function(){return n[I](this[M])};case 2:return function(k){return n[I](this[M],k)};case 3:return function(k,U){return n[I](this[M],f(k,this),U)};case 4:return function(k,U,Y){return n[I](this[M],f(k,this),U,Y)};default:return function(){var k=a.call(arguments);return k.unshift(this[M]),n[I].apply(n,k)}}},l=function(O,I,M){n.each(I,function(k,U){n[U]&&(O.prototype[U]=u(k,U,M))})},f=function(O,I){return n.isFunction(O)?O:n.isObject(O)&&!I._isModel(O)?d(O):n.isString(O)?function(M){return M.get(O)}:O},d=function(O){var I=n.matches(O);return function(M){return I(M.attributes)}},h=r.Events={},p=/\s+/,m=function(O,I,M,k,U){var Y=0,ae;if(M&&typeof M=="object")for(k!==void 0&&("context"in U)&&U.context===void 0&&(U.context=k),ae=n.keys(M);Y<ae.length;Y++)I=m(O,I,ae[Y],M[ae[Y]],U);else if(M&&p.test(M))for(ae=M.split(p);Y<ae.length;Y++)I=O(I,ae[Y],k,U);else I=O(I,M,k,U);return I};h.on=function(O,I,M){return S(this,O,I,M)};var S=function(O,I,M,k,U){if(O._events=m(E,O._events||{},I,M,{context:k,ctx:O,listening:U}),U){var Y=O._listeners||(O._listeners={});Y[U.id]=U}return O};h.listenTo=function(O,I,M){if(!O)return this;var k=O._listenId||(O._listenId=n.uniqueId("l")),U=this._listeningTo||(this._listeningTo={}),Y=U[k];if(!Y){var ae=this._listenId||(this._listenId=n.uniqueId("l"));Y=U[k]={obj:O,objId:k,id:ae,listeningTo:U,count:0}}return S(O,I,M,this,Y),this};var E=function(O,I,M,k){if(M){var U=O[I]||(O[I]=[]),Y=k.context,ae=k.ctx,Ee=k.listening;Ee&&Ee.count++,U.push({callback:M,context:Y,ctx:Y||ae,listening:Ee})}return O};h.off=function(O,I,M){return this._events?(this._events=m(_,this._events,O,I,{context:M,listeners:this._listeners}),this):this},h.stopListening=function(O,I,M){var k=this._listeningTo;if(!k)return this;for(var U=O?[O._listenId]:n.keys(k),Y=0;Y<U.length;Y++){var ae=k[U[Y]];if(!ae)break;ae.obj.off(I,M,this)}return this};var _=function(O,I,M,k){if(O){var U=0,Y,ae=k.context,Ee=k.listeners;if(!I&&!M&&!ae){for(var me=n.keys(Ee);U<me.length;U++)Y=Ee[me[U]],delete Ee[Y.id],delete Y.listeningTo[Y.objId];return}for(var Ce=I?[I]:n.keys(O);U<Ce.length;U++){I=Ce[U];var be=O[I];if(!be)break;for(var Ie=[],Fe=0;Fe<be.length;Fe++){var ve=be[Fe];M&&M!==ve.callback&&M!==ve.callback._callback||ae&&ae!==ve.context?Ie.push(ve):(Y=ve.listening,Y&&--Y.count===0&&(delete Ee[Y.id],delete Y.listeningTo[Y.objId]))}Ie.length?O[I]=Ie:delete O[I]}return O}};h.once=function(O,I,M){var k=m(w,{},O,I,n.bind(this.off,this));return typeof O=="string"&&M==null&&(I=void 0),this.on(k,I,M)},h.listenToOnce=function(O,I,M){var k=m(w,{},I,M,n.bind(this.stopListening,this,O));return this.listenTo(O,k)};var w=function(O,I,M,k){if(M){var U=O[I]=n.once(function(){k(I,U),M.apply(this,arguments)});U._callback=M}return O};h.trigger=function(O){if(!this._events)return this;for(var I=Math.max(0,arguments.length-1),M=Array(I),k=0;k<I;k++)M[k]=arguments[k+1];return m(T,this._events,O,void 0,M),this};var T=function(O,I,M,k){if(O){var U=O[I],Y=O.all;U&&Y&&(Y=Y.slice()),U&&C(U,k),Y&&C(Y,[I].concat(k))}return O},C=function(O,I){var M,k=-1,U=O.length,Y=I[0],ae=I[1],Ee=I[2];switch(I.length){case 0:for(;++k<U;)(M=O[k]).callback.call(M.ctx);return;case 1:for(;++k<U;)(M=O[k]).callback.call(M.ctx,Y);return;case 2:for(;++k<U;)(M=O[k]).callback.call(M.ctx,Y,ae);return;case 3:for(;++k<U;)(M=O[k]).callback.call(M.ctx,Y,ae,Ee);return;default:for(;++k<U;)(M=O[k]).callback.apply(M.ctx,I);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var x=r.Model=function(O,I){var M=O||{};I||(I={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},I.collection&&(this.collection=I.collection),I.parse&&(M=this.parse(M,I)||{});var k=n.result(this,"defaults");M=n.defaults(n.extend({},k,M),k),this.set(M,I),this.changed={},this.initialize.apply(this,arguments)};n.extend(x.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(O){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(O){return this.attributes[O]},escape:function(O){return n.escape(this.get(O))},has:function(O){return this.get(O)!=null},matches:function(O){return!!n.iteratee(O,this)(this.attributes)},set:function(O,I,M){if(O==null)return this;var k;if(typeof O=="object"?(k=O,M=I):(k={})[O]=I,M||(M={}),!this._validate(k,M))return!1;var U=M.unset,Y=M.silent,ae=[],Ee=this._changing;this._changing=!0,Ee||(this._previousAttributes=n.clone(this.attributes),this.changed={});var me=this.attributes,Ce=this.changed,be=this._previousAttributes;for(var Ie in k)I=k[Ie],n.isEqual(me[Ie],I)||ae.push(Ie),n.isEqual(be[Ie],I)?delete Ce[Ie]:Ce[Ie]=I,U?delete me[Ie]:me[Ie]=I;if(this.idAttribute in k&&(this.id=this.get(this.idAttribute)),!Y){ae.length&&(this._pending=M);for(var Fe=0;Fe<ae.length;Fe++)this.trigger("change:"+ae[Fe],this,me[ae[Fe]],M)}if(Ee)return this;if(!Y)for(;this._pending;)M=this._pending,this._pending=!1,this.trigger("change",this,M);return this._pending=!1,this._changing=!1,this},unset:function(O,I){return this.set(O,void 0,n.extend({},I,{unset:!0}))},clear:function(O){var I={};for(var M in this.attributes)I[M]=void 0;return this.set(I,n.extend({},O,{unset:!0}))},hasChanged:function(O){return O==null?!n.isEmpty(this.changed):n.has(this.changed,O)},changedAttributes:function(O){if(!O)return this.hasChanged()?n.clone(this.changed):!1;var I=this._changing?this._previousAttributes:this.attributes,M={};for(var k in O){var U=O[k];n.isEqual(I[k],U)||(M[k]=U)}return n.size(M)?M:!1},previous:function(O){return O==null||!this._previousAttributes?null:this._previousAttributes[O]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(O){O=n.extend({parse:!0},O);var I=this,M=O.success;return O.success=function(k){var U=O.parse?I.parse(k,O):k;if(!I.set(U,O))return!1;M&&M.call(O.context,I,k,O),I.trigger("sync",I,k,O)},oe(this,O),this.sync("read",this,O)},save:function(O,I,M){var k;O==null||typeof O=="object"?(k=O,M=I):(k={})[O]=I,M=n.extend({validate:!0,parse:!0},M);var U=M.wait;if(k&&!U){if(!this.set(k,M))return!1}else if(!this._validate(k,M))return!1;var Y=this,ae=M.success,Ee=this.attributes;M.success=function(be){Y.attributes=Ee;var Ie=M.parse?Y.parse(be,M):be;if(U&&(Ie=n.extend({},k,Ie)),Ie&&!Y.set(Ie,M))return!1;ae&&ae.call(M.context,Y,be,M),Y.trigger("sync",Y,be,M)},oe(this,M),k&&U&&(this.attributes=n.extend({},Ee,k));var me=this.isNew()?"create":M.patch?"patch":"update";me==="patch"&&!M.attrs&&(M.attrs=k);var Ce=this.sync(me,this,M);return this.attributes=Ee,Ce},destroy:function(O){O=O?n.clone(O):{};var I=this,M=O.success,k=O.wait,U=function(){I.stopListening(),I.trigger("destroy",I,I.collection,O)};O.success=function(ae){k&&U(),M&&M.call(O.context,I,ae,O),I.isNew()||I.trigger("sync",I,ae,O)};var Y=!1;return this.isNew()?n.defer(O.success):(oe(this,O),Y=this.sync("delete",this,O)),k||U(),Y},url:function(){var O=n.result(this,"urlRoot")||n.result(this.collection,"url")||Xe();if(this.isNew())return O;var I=this.get(this.idAttribute);return O.replace(/[^\/]$/,"$&/")+encodeURIComponent(I)},parse:function(O,I){return O},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(O){return this._validate({},n.extend({},O,{validate:!0}))},_validate:function(O,I){if(!I.validate||!this.validate)return!0;O=n.extend({},this.attributes,O);var M=this.validationError=this.validate(O,I)||null;return M?(this.trigger("invalid",this,M,n.extend(I,{validationError:M})),!1):!0}});var R={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};l(x,R,"attributes");var P=r.Collection=function(O,I){I||(I={}),I.model&&(this.model=I.model),I.comparator!==void 0&&(this.comparator=I.comparator),this._reset(),this.initialize.apply(this,arguments),O&&this.reset(O,n.extend({silent:!0},I))},y={add:!0,remove:!0,merge:!0},N={add:!0,remove:!1},$=function(O,I,M){M=Math.min(Math.max(M,0),O.length);var k=Array(O.length-M),U=I.length,Y;for(Y=0;Y<k.length;Y++)k[Y]=O[Y+M];for(Y=0;Y<U;Y++)O[Y+M]=I[Y];for(Y=0;Y<k.length;Y++)O[Y+U+M]=k[Y]};n.extend(P.prototype,h,{model:x,initialize:function(){},toJSON:function(O){return this.map(function(I){return I.toJSON(O)})},sync:function(){return r.sync.apply(this,arguments)},add:function(O,I){return this.set(O,n.extend({merge:!1},I,N))},remove:function(O,I){I=n.extend({},I);var M=!n.isArray(O);O=M?[O]:O.slice();var k=this._removeModels(O,I);return!I.silent&&k.length&&(I.changes={added:[],merged:[],removed:k},this.trigger("update",this,I)),M?k[0]:k},set:function(O,I){if(O!=null){I=n.extend({},y,I),I.parse&&!this._isModel(O)&&(O=this.parse(O,I)||[]);var M=!n.isArray(O);O=M?[O]:O.slice();var k=I.at;k!=null&&(k=+k),k>this.length&&(k=this.length),k<0&&(k+=this.length+1);var U=[],Y=[],ae=[],Ee=[],me={},Ce=I.add,be=I.merge,Ie=I.remove,Fe=!1,ve=this.comparator&&k==null&&I.sort!==!1,_e=n.isString(this.comparator)?this.comparator:null,we,ke;for(ke=0;ke<O.length;ke++){we=O[ke];var qe=this.get(we);if(qe){if(be&&we!==qe){var Ue=this._isModel(we)?we.attributes:we;I.parse&&(Ue=qe.parse(Ue,I)),qe.set(Ue,I),ae.push(qe),ve&&!Fe&&(Fe=qe.hasChanged(_e))}me[qe.cid]||(me[qe.cid]=!0,U.push(qe)),O[ke]=qe}else Ce&&(we=O[ke]=this._prepareModel(we,I),we&&(Y.push(we),this._addReference(we,I),me[we.cid]=!0,U.push(we)))}if(Ie){for(ke=0;ke<this.length;ke++)we=this.models[ke],me[we.cid]||Ee.push(we);Ee.length&&this._removeModels(Ee,I)}var We=!1,ct=!ve&&Ce&&Ie;if(U.length&&ct?(We=this.length!==U.length||n.some(this.models,function(jt,Gt){return jt!==U[Gt]}),this.models.length=0,$(this.models,U,0),this.length=this.models.length):Y.length&&(ve&&(Fe=!0),$(this.models,Y,k??this.length),this.length=this.models.length),Fe&&this.sort({silent:!0}),!I.silent){for(ke=0;ke<Y.length;ke++)k!=null&&(I.index=k+ke),we=Y[ke],we.trigger("add",we,this,I);(Fe||We)&&this.trigger("sort",this,I),(Y.length||Ee.length||ae.length)&&(I.changes={added:Y,removed:Ee,merged:ae},this.trigger("update",this,I))}return M?O[0]:O}},reset:function(O,I){I=I?n.clone(I):{};for(var M=0;M<this.models.length;M++)this._removeReference(this.models[M],I);return I.previousModels=this.models,this._reset(),O=this.add(O,n.extend({silent:!0},I)),I.silent||this.trigger("reset",this,I),O},push:function(O,I){return this.add(O,n.extend({at:this.length},I))},pop:function(O){var I=this.at(this.length-1);return this.remove(I,O)},unshift:function(O,I){return this.add(O,n.extend({at:0},I))},shift:function(O){var I=this.at(0);return this.remove(I,O)},slice:function(){return a.apply(this.models,arguments)},get:function(O){if(O!=null)return this._byId[O]||this._byId[this.modelId(O.attributes||O)]||O.cid&&this._byId[O.cid]},has:function(O){return this.get(O)!=null},at:function(O){return O<0&&(O+=this.length),this.models[O]},where:function(O,I){return this[I?"find":"filter"](O)},findWhere:function(O){return this.where(O,!0)},sort:function(O){var I=this.comparator;if(!I)throw new Error("Cannot sort a set without a comparator");O||(O={});var M=I.length;return n.isFunction(I)&&(I=n.bind(I,this)),M===1||n.isString(I)?this.models=this.sortBy(I):this.models.sort(I),O.silent||this.trigger("sort",this,O),this},pluck:function(O){return this.map(O+"")},fetch:function(O){O=n.extend({parse:!0},O);var I=O.success,M=this;return O.success=function(k){var U=O.reset?"reset":"set";M[U](k,O),I&&I.call(O.context,M,k,O),M.trigger("sync",M,k,O)},oe(this,O),this.sync("read",this,O)},create:function(O,I){I=I?n.clone(I):{};var M=I.wait;if(O=this._prepareModel(O,I),!O)return!1;M||this.add(O,I);var k=this,U=I.success;return I.success=function(Y,ae,Ee){M&&k.add(Y,Ee),U&&U.call(Ee.context,Y,ae,Ee)},O.save(null,I),O},parse:function(O,I){return O},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(O){return O[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(O,I){if(this._isModel(O))return O.collection||(O.collection=this),O;I=I?n.clone(I):{},I.collection=this;var M=new this.model(O,I);return M.validationError?(this.trigger("invalid",this,M.validationError,I),!1):M},_removeModels:function(O,I){for(var M=[],k=0;k<O.length;k++){var U=this.get(O[k]);if(U){var Y=this.indexOf(U);this.models.splice(Y,1),this.length--,delete this._byId[U.cid];var ae=this.modelId(U.attributes);ae!=null&&delete this._byId[ae],I.silent||(I.index=Y,U.trigger("remove",U,this,I)),M.push(U),this._removeReference(U,I)}}return M},_isModel:function(O){return O instanceof x},_addReference:function(O,I){this._byId[O.cid]=O;var M=this.modelId(O.attributes);M!=null&&(this._byId[M]=O),O.on("all",this._onModelEvent,this)},_removeReference:function(O,I){delete this._byId[O.cid];var M=this.modelId(O.attributes);M!=null&&delete this._byId[M],this===O.collection&&delete O.collection,O.off("all",this._onModelEvent,this)},_onModelEvent:function(O,I,M,k){if(I){if((O==="add"||O==="remove")&&M!==this)return;if(O==="destroy"&&this.remove(I,k),O==="change"){var U=this.modelId(I.previousAttributes()),Y=this.modelId(I.attributes);U!==Y&&(U!=null&&delete this._byId[U],Y!=null&&(this._byId[Y]=I))}}this.trigger.apply(this,arguments)}});var H={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};l(P,H,"models");var B=r.View=function(O){this.cid=n.uniqueId("view"),n.extend(this,n.pick(O,X)),this._ensureElement(),this.initialize.apply(this,arguments)},W=/^(\S+)\s*(.*)$/,X=["model","collection","el","id","attributes","className","tagName","events"];n.extend(B.prototype,h,{tagName:"div",$:function(O){return this.$el.find(O)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(O){return this.undelegateEvents(),this._setElement(O),this.delegateEvents(),this},_setElement:function(O){this.$el=O instanceof r.$?O:r.$(O),this.el=this.$el[0]},delegateEvents:function(O){if(O||(O=n.result(this,"events")),!O)return this;this.undelegateEvents();for(var I in O){var M=O[I];if(n.isFunction(M)||(M=this[M]),!!M){var k=I.match(W);this.delegate(k[1],k[2],n.bind(M,this))}}return this},delegate:function(O,I,M){return this.$el.on(O+".delegateEvents"+this.cid,I,M),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(O,I,M){return this.$el.off(O+".delegateEvents"+this.cid,I,M),this},_createElement:function(O){return document.createElement(O)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var O=n.extend({},n.result(this,"attributes"));this.id&&(O.id=n.result(this,"id")),this.className&&(O.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(O)}},_setAttributes:function(O){this.$el.attr(O)}}),r.sync=function(O,I,M){var k=J[O];n.defaults(M||(M={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var U={type:k,dataType:"json"};if(M.url||(U.url=n.result(I,"url")||Xe()),M.data==null&&I&&(O==="create"||O==="update"||O==="patch")&&(U.contentType="application/json",U.data=JSON.stringify(M.attrs||I.toJSON(M))),M.emulateJSON&&(U.contentType="application/x-www-form-urlencoded",U.data=U.data?{model:U.data}:{}),M.emulateHTTP&&(k==="PUT"||k==="DELETE"||k==="PATCH")){U.type="POST",M.emulateJSON&&(U.data._method=k);var Y=M.beforeSend;M.beforeSend=function(me){if(me.setRequestHeader("X-HTTP-Method-Override",k),Y)return Y.apply(this,arguments)}}U.type!=="GET"&&!M.emulateJSON&&(U.processData=!1);var ae=M.error;M.error=function(me,Ce,be){M.textStatus=Ce,M.errorThrown=be,ae&&ae.call(M.context,me,Ce,be)};var Ee=M.xhr=r.ajax(n.extend(U,M));return I.trigger("request",I,Ee,M),Ee};var J={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var ie=r.Router=function(O){O||(O={}),O.routes&&(this.routes=O.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},ne=/\((.*?)\)/g,pe=/(\(\?)?:\w+/g,K=/\*\w+/g,te=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(ie.prototype,h,{initialize:function(){},route:function(O,I,M){n.isRegExp(O)||(O=this._routeToRegExp(O)),n.isFunction(I)&&(M=I,I=""),M||(M=this[I]);var k=this;return r.history.route(O,function(U){var Y=k._extractParameters(O,U);k.execute(M,Y,I)!==!1&&(k.trigger.apply(k,["route:"+I].concat(Y)),k.trigger("route",I,Y),r.history.trigger("route",k,I,Y))}),this},execute:function(O,I,M){O&&O.apply(this,I)},navigate:function(O,I){return r.history.navigate(O,I),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var O,I=n.keys(this.routes);(O=I.pop())!=null;)this.route(O,this.routes[O])}},_routeToRegExp:function(O){return O=O.replace(te,"\\$&").replace(ne,"(?:$1)?").replace(pe,function(I,M){return M?I:"([^/?]+)"}).replace(K,"([^?]*?)"),new RegExp("^"+O+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(O,I){var M=O.exec(I).slice(1);return n.map(M,function(k,U){return U===M.length-1?k||null:k?decodeURIComponent(k):null})}});var z=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},ce=/^[#\/]|\s+$/g,Se=/^\/+|\/+$/g,Le=/#.*$/;z.started=!1,n.extend(z.prototype,h,{interval:50,atRoot:function(){var O=this.location.pathname.replace(/[^\/]$/,"$&/");return O===this.root&&!this.getSearch()},matchRoot:function(){var O=this.decodeFragment(this.location.pathname),I=O.slice(0,this.root.length-1)+"/";return I===this.root},decodeFragment:function(O){return decodeURI(O.replace(/%25/g,"%2525"))},getSearch:function(){var O=this.location.href.replace(/#.*/,"").match(/\?.+/);return O?O[0]:""},getHash:function(O){var I=(O||this).location.href.match(/#(.*)$/);return I?I[1]:""},getPath:function(){var O=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return O.charAt(0)==="/"?O.slice(1):O},getFragment:function(O){return O==null&&(this._usePushState||!this._wantsHashChange?O=this.getPath():O=this.getHash()),O.replace(ce,"")},start:function(O){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=n.extend({root:"/"},this.options,O),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(Se,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var I=this.root.slice(0,-1)||"/";return this.location.replace(I+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var M=document.body,k=M.insertBefore(this.iframe,M.firstChild).contentWindow;k.document.open(),k.document.close(),k.location.hash="#"+this.fragment}var U=window.addEventListener||function(Y,ae){return attachEvent("on"+Y,ae)};if(this._usePushState?U("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?U("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var O=window.removeEventListener||function(I,M){return detachEvent("on"+I,M)};this._usePushState?O("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&O("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(O,I){this.handlers.unshift({route:O,callback:I})},checkUrl:function(O){var I=this.getFragment();if(I===this.fragment&&this.iframe&&(I=this.getHash(this.iframe.contentWindow)),I===this.fragment)return!1;this.iframe&&this.navigate(I),this.loadUrl()},loadUrl:function(O){return this.matchRoot()?(O=this.fragment=this.getFragment(O),n.some(this.handlers,function(I){if(I.route.test(O))return I.callback(O),!0})):!1},navigate:function(O,I){if(!z.started)return!1;(!I||I===!0)&&(I={trigger:!!I}),O=this.getFragment(O||"");var M=this.root;(O===""||O.charAt(0)==="?")&&(M=M.slice(0,-1)||"/");var k=M+O;if(O=this.decodeFragment(O.replace(Le,"")),this.fragment!==O){if(this.fragment=O,this._usePushState)this.history[I.replace?"replaceState":"pushState"]({},document.title,k);else if(this._wantsHashChange){if(this._updateHash(this.location,O,I.replace),this.iframe&&O!==this.getHash(this.iframe.contentWindow)){var U=this.iframe.contentWindow;I.replace||(U.document.open(),U.document.close()),this._updateHash(U.location,O,I.replace)}}else return this.location.assign(k);if(I.trigger)return this.loadUrl(O)}},_updateHash:function(O,I,M){if(M){var k=O.href.replace(/(javascript:|#).*$/,"");O.replace(k+"#"+I)}else O.hash="#"+I}}),r.history=new z;var Be=function(O,I){var M=this,k;return O&&n.has(O,"constructor")?k=O.constructor:k=function(){return M.apply(this,arguments)},n.extend(k,M,I),k.prototype=n.create(M.prototype,O),k.prototype.constructor=k,k.__super__=M.prototype,k};x.extend=P.extend=ie.extend=B.extend=z.extend=Be;var Xe=function(){throw new Error('A "url" property or function must be specified')},oe=function(O,I){var M=I.error;I.error=function(k){M&&M.call(I.context,O,k,I),O.trigger("error",O,k,I)}};return r})})(sb)),sb}var dge=zv.exports,wz;function hge(){return wz||(wz=1,(function(e,t){(function(r,n){e.exports=n(NJ(),MJ())})(dge,function(r,n){r="default"in r?r.default:r,n="default"in n?n.default:n;var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol?"symbol":typeof _},o=n.Radio,a=n.Radio={};a.VERSION="2.0.0",a.noConflict=function(){return n.Radio=o,this},a.DEBUG=!1,a._debugText=function(_,w,T){return _+(T?" on the "+T+" channel":"")+': "'+w+'"'},a.debugLog=function(_,w,T){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(_,w,T))};var u=/\s+/;a._eventsApi=function(_,w,T,C){if(!T)return!1;var x={};if((typeof T>"u"?"undefined":i(T))==="object"){for(var R in T){var P=_[w].apply(_,[R,T[R]].concat(C));u.test(R)?r.extend(x,P):x[R]=P}return x}if(u.test(T)){for(var y=T.split(u),N=0,$=y.length;N<$;N++)x[y[N]]=_[w].apply(_,[y[N]].concat(C));return x}return!1},a._callHandler=function(_,w,T){var C=T[0],x=T[1],R=T[2];switch(T.length){case 0:return _.call(w);case 1:return _.call(w,C);case 2:return _.call(w,C,x);case 3:return _.call(w,C,x,R);default:return _.apply(w,T)}};function l(_,w,T,C){var x=_[w];if((!T||T===x.callback||T===x.callback._callback)&&(!C||C===x.context))return delete _[w],!0}function f(_,w,T,C){_||(_={});for(var x=w?[w]:r.keys(_),R=!1,P=0,y=x.length;P<y;P++)w=x[P],_[w]&&l(_,w,T,C)&&(R=!0);return R}var d={};function h(_){return d[_]||(d[_]=r.bind(a.log,a,_))}r.extend(a,{log:function(w,T){if(!(typeof console>"u")){var C=r.toArray(arguments).slice(2);console.log("["+w+'] "'+T+'"',C)}},tuneIn:function(w){var T=a.channel(w);return T._tunedIn=!0,T.on("all",h(w)),this},tuneOut:function(w){var T=a.channel(w);return T._tunedIn=!1,T.off("all",h(w)),delete d[w],this}});function p(_){return r.isFunction(_)?_:function(){return _}}a.Requests={request:function(w){var T=r.toArray(arguments).slice(1),C=a._eventsApi(this,"request",w,T);if(C)return C;var x=this.channelName,R=this._requests;if(x&&this._tunedIn&&a.log.apply(this,[x,w].concat(T)),R&&(R[w]||R.default)){var P=R[w]||R.default;return T=R[w]?T:arguments,a._callHandler(P.callback,P.context,T)}else a.debugLog("An unhandled request was fired",w,x)},reply:function(w,T,C){return a._eventsApi(this,"reply",w,[T,C])?this:(this._requests||(this._requests={}),this._requests[w]&&a.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:p(T),context:C||this},this)},replyOnce:function(w,T,C){if(a._eventsApi(this,"replyOnce",w,[T,C]))return this;var x=this,R=r.once(function(){return x.stopReplying(w),p(T).apply(this,arguments)});return this.reply(w,R,C)},stopReplying:function(w,T,C){return a._eventsApi(this,"stopReplying",w)?this:(!w&&!T&&!C?delete this._requests:f(this._requests,w,T,C)||a.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},a._channels={},a.channel=function(_){if(!_)throw new Error("You must provide a name for the channel.");return a._channels[_]?a._channels[_]:a._channels[_]=new a.Channel(_)},a.Channel=function(_){this.channelName=_},r.extend(a.Channel.prototype,n.Events,a.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var m,S,E=[n.Events,a.Requests];return r.each(E,function(_){r.each(_,function(w,T){a[T]=function(C){return S=r.toArray(arguments).slice(1),m=this.channel(C),m[T].apply(m,S)}})}),a.reset=function(_){var w=_?[this._channels[_]]:this._channels;r.each(w,function(T){T.reset()})},a})})(zv)),zv.exports}var pge=hge();const bz=Hn(pge);var Nr=MJ();const Mi=Hn(Nr);var $J="1.13.7",Tz=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},Nm=Array.prototype,kO=Object.prototype,Az=typeof Symbol<"u"?Symbol.prototype:null,vge=Nm.push,ep=Nm.slice,_h=kO.toString,gge=kO.hasOwnProperty,FJ=typeof ArrayBuffer<"u",mge=typeof DataView<"u",yge=Array.isArray,Rz=Object.keys,xz=Object.create,Cz=FJ&&ArrayBuffer.isView,_ge=isNaN,Ege=isFinite,jJ=!{toString:null}.propertyIsEnumerable("toString"),Oz=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Sge=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 ts(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function wge(e){return e===null}function vg(e){return e===void 0}function UJ(e){return e===!0||e===!1||_h.call(e)==="[object Boolean]"}function bge(e){return!!(e&&e.nodeType===1)}function Aa(e){var t="[object "+e+"]";return function(r){return _h.call(r)===t}}var DO=Aa("String"),Tf=Aa("Number"),Tge=Aa("Date"),Age=Aa("RegExp"),Rge=Aa("Error"),qJ=Aa("Symbol"),BJ=Aa("ArrayBuffer"),VJ=Aa("Function"),xge=Tz.document&&Tz.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof xge!="function"&&(VJ=function(e){return typeof e=="function"||!1});var en=VJ,HJ=Aa("Object"),zJ=mge&&(!/\[native code\]/.test(String(DataView))||HJ(new DataView(new ArrayBuffer(8)))),LO=typeof Map<"u"&&HJ(new Map),Cge=Aa("DataView");function Oge(e){return e!=null&&en(e.getInt8)&&BJ(e.buffer)}var gg=zJ?Oge:Cge,hl=yge||Aa("Array");function pl(e,t){return e!=null&&gge.call(e,t)}var Lx=Aa("Arguments");(function(){Lx(arguments)||(Lx=function(e){return pl(e,"callee")})})();var NO=Lx;function Ige(e){return!qJ(e)&&Ege(e)&&!isNaN(parseFloat(e))}function WJ(e){return Tf(e)&&_ge(e)}function GJ(e){return function(){return e}}function KJ(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=Sge}}function YJ(e){return function(t){return t==null?void 0:t[e]}}var mg=YJ("byteLength"),Pge=KJ(mg),kge=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Dge(e){return Cz?Cz(e)&&!gg(e):Pge(e)&&kge.test(_h.call(e))}var XJ=FJ?Dge:GJ(!1),ao=YJ("length");function Lge(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 QJ(e,t){t=Lge(t);var r=Oz.length,n=e.constructor,i=en(n)&&n.prototype||kO,o="constructor";for(pl(e,o)&&!t.contains(o)&&t.push(o);r--;)o=Oz[r],o in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}function $i(e){if(!ts(e))return[];if(Rz)return Rz(e);var t=[];for(var r in e)pl(e,r)&&t.push(r);return jJ&&QJ(e,t),t}function Eh(e){if(e==null)return!0;var t=ao(e);return typeof t=="number"&&(hl(e)||DO(e)||NO(e))?t===0:ao($i(e))===0}function JJ(e,t){var r=$i(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 In(e){if(e instanceof In)return e;if(!(this instanceof In))return new In(e);this._wrapped=e}In.VERSION=$J;In.prototype.value=function(){return this._wrapped};In.prototype.valueOf=In.prototype.toJSON=In.prototype.value;In.prototype.toString=function(){return String(this._wrapped)};function Iz(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,mg(e))}var Pz="[object DataView]";function Nx(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:ZJ(e,t,r,n)}function ZJ(e,t,r,n){e instanceof In&&(e=e._wrapped),t instanceof In&&(t=t._wrapped);var i=_h.call(e);if(i!==_h.call(t))return!1;if(zJ&&i=="[object Object]"&&gg(e)){if(!gg(t))return!1;i=Pz}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 Az.valueOf.call(e)===Az.valueOf.call(t);case"[object ArrayBuffer]":case Pz:return ZJ(Iz(e),Iz(t),r,n)}var o=i==="[object Array]";if(!o&&XJ(e)){var a=mg(e);if(a!==mg(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;o=!0}if(!o){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(en(u)&&u instanceof u&&en(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var f=r.length;f--;)if(r[f]===e)return n[f]===t;if(r.push(e),n.push(t),o){if(f=e.length,f!==t.length)return!1;for(;f--;)if(!Nx(e[f],t[f],r,n))return!1}else{var d=$i(e),h;if(f=d.length,$i(t).length!==f)return!1;for(;f--;)if(h=d[f],!(pl(t,h)&&Nx(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function eZ(e,t){return Nx(e,t)}function tp(e){if(!ts(e))return[];var t=[];for(var r in e)t.push(r);return jJ&&QJ(e,t),t}function MO(e){var t=ao(e);return function(r){if(r==null)return!1;var n=tp(r);if(ao(n))return!1;for(var i=0;i<t;i++)if(!en(r[e[i]]))return!1;return e!==nZ||!en(r[$O])}}var $O="forEach",tZ="has",FO=["clear","delete"],rZ=["get",tZ,"set"],Nge=FO.concat($O,rZ),nZ=FO.concat(rZ),Mge=["add"].concat(FO,$O,tZ),$ge=LO?MO(Nge):Aa("Map"),Fge=LO?MO(nZ):Aa("WeakMap"),jge=LO?MO(Mge):Aa("Set"),Uge=Aa("WeakSet");function vl(e){for(var t=$i(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function qge(e){for(var t=$i(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function iZ(e){for(var t={},r=$i(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function Mx(e){var t=[];for(var r in e)en(e[r])&&t.push(r);return t.sort()}function jO(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||r==null)return r;for(var i=1;i<n;i++)for(var o=arguments[i],a=e(o),u=a.length,l=0;l<u;l++){var f=a[l];(!t||r[f]===void 0)&&(r[f]=o[f])}return r}}var to=jO(tp),yg=jO($i),aZ=jO(tp,!0);function Bge(){return function(){}}function oZ(e){if(!ts(e))return{};if(xz)return xz(e);var t=Bge();t.prototype=e;var r=new t;return t.prototype=null,r}function Vge(e,t){var r=oZ(e);return t&&yg(r,t),r}function sZ(e){return ts(e)?hl(e)?e.slice():to({},e):e}function Hge(e,t){return t(e),e}function uZ(e){return hl(e)?e:[e]}In.toPath=uZ;function rp(e){return In.toPath(e)}function UO(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 lZ(e,t,r){var n=UO(e,rp(t));return vg(n)?r:n}function _g(e,t){t=rp(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!pl(e,i))return!1;e=e[i]}return!!r}function Mm(e){return e}function Sh(e){return e=yg({},e),function(t){return JJ(t,e)}}function qO(e){return e=rp(e),function(t){return UO(t,e)}}function np(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 cZ(e,t,r){return e==null?Mm:en(e)?np(e,t,r):ts(e)&&!hl(e)?Sh(e):qO(e)}function BO(e,t){return cZ(e,t,1/0)}In.iteratee=BO;function uo(e,t,r){return In.iteratee!==BO?In.iteratee(e,t):cZ(e,t,r)}function zge(e,t,r){t=uo(t,r);for(var n=$i(e),i=n.length,o={},a=0;a<i;a++){var u=n[a];o[u]=t(e[u],u,e)}return o}function fZ(){}function Wge(e){return e==null?fZ:function(t){return lZ(e,t)}}function Gge(e,t,r){var n=Array(Math.max(0,e));t=np(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function $x(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var wh=Date.now||function(){return new Date().getTime()};function dZ(e){var t=function(o){return e[o]},r="(?:"+$i(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 hZ={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Kge=dZ(hZ),Yge=iZ(hZ),Xge=dZ(Yge),Qge=In.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ub=/(.)^/,Jge={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Zge=/\\|'|\r|\n|\u2028|\u2029/g;function eme(e){return"\\"+Jge[e]}var tme=/^\s*(\w|\$)+\s*$/;function rme(e,t,r){!t&&r&&(t=r),t=aZ({},t,In.templateSettings);var n=RegExp([(t.escape||ub).source,(t.interpolate||ub).source,(t.evaluate||ub).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(n,function(f,d,h,p,m){return o+=e.slice(i,m).replace(Zge,eme),i=m+f.length,d?o+=`'+
|
|
31
|
-
((__t=(`+d+`))==null?'':_.escape(__t))+
|
|
32
|
-
'`:h?o+=`'+
|
|
33
|
-
((__t=(`+h+`))==null?'':__t)+
|
|
34
|
-
'`:p&&(o+=`';
|
|
35
|
-
`+p+`
|
|
36
|
-
__p+='`),f}),o+=`';
|
|
37
|
-
`;var a=t.variable;if(a){if(!tme.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 u;try{u=new Function(a,"_",o)}catch(f){throw f.source=o,f}var l=function(f){return u.call(this,f,In)};return l.source="function("+a+`){
|
|
42
|
-
`+o+"}",l}function sh(e,t,r){t=rp(t);var n=t.length;if(!n)return en(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=en(o)?o.call(e):o}return e}var nme=0;function pZ(e){var t=++nme+"";return e?e+t:t}function ime(e){var t=In(e);return t._chain=!0,t}function vZ(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var o=oZ(e.prototype),a=e.apply(o,i);return ts(a)?a:o}var od=io(function(e,t){var r=od.placeholder,n=function(){for(var i=0,o=t.length,a=Array(o),u=0;u<o;u++)a[u]=t[u]===r?arguments[i++]:t[u];for(;i<arguments.length;)a.push(arguments[i++]);return vZ(e,n,this,this,a)};return n});od.placeholder=In;var au=io(function(e,t,r){if(!en(e))throw new TypeError("Bind must be called on a function");var n=io(function(i){return vZ(e,n,t,this,r.concat(i))});return n}),Mo=KJ(ao);function Tc(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=ao(e);o<a;o++){var u=e[o];if(Mo(u)&&(hl(u)||NO(u)))if(t>1)Tc(u,t-1,r,n),i=n.length;else for(var l=0,f=u.length;l<f;)n[i++]=u[l++];else r||(n[i++]=u)}return n}var ame=io(function(e,t){t=Tc(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]=au(e[n],e)}return e});function gZ(e,t){var r=function(n){var i=r.cache,o=""+(t?t.apply(this,arguments):n);return pl(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return r.cache={},r}var mZ=io(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),ome=od(mZ,In,1);function yZ(e,t,r){var n,i,o,a,u=0;r||(r={});var l=function(){u=r.leading===!1?0:wh(),n=null,a=e.apply(i,o),n||(i=o=null)},f=function(){var d=wh();!u&&r.leading===!1&&(u=d);var h=t-(d-u);return i=this,o=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),u=d,a=e.apply(i,o),n||(i=o=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,h)),a};return f.cancel=function(){clearTimeout(n),u=0,n=i=o=null},f}function _Z(e,t,r){var n,i,o,a,u,l=function(){var d=wh()-i;t>d?n=setTimeout(l,t-d):(n=null,r||(a=e.apply(u,o)),n||(o=u=null))},f=io(function(d){return u=this,o=d,i=wh(),n||(n=setTimeout(l,t),r&&(a=e.apply(u,o))),a});return f.cancel=function(){clearTimeout(n),n=o=u=null},f}function sme(e,t){return od(t,e)}function VO(e){return function(){return!e.apply(this,arguments)}}function ume(){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 lme(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function EZ(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var cme=od(EZ,2);function SZ(e,t,r){t=uo(t,r);for(var n=$i(e),i,o=0,a=n.length;o<a;o++)if(i=n[o],t(e[i],i,e))return i}function wZ(e){return function(t,r,n){r=uo(r,n);for(var i=ao(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(r(t[o],o,t))return o;return-1}}var $m=wZ(1),bZ=wZ(-1);function TZ(e,t,r,n){r=uo(r,n,1);for(var i=r(t),o=0,a=ao(e);o<a;){var u=Math.floor((o+a)/2);r(e[u])<i?o=u+1:a=u}return o}function AZ(e,t,r){return function(n,i,o){var a=0,u=ao(n);if(typeof o=="number")e>0?a=o>=0?o:Math.max(o+u,a):u=o>=0?Math.min(o+1,u):o+u+1;else if(r&&o&&u)return o=r(n,i),n[o]===i?o:-1;if(i!==i)return o=t(ep.call(n,a,u),WJ),o>=0?o+a:-1;for(o=e>0?a:u-1;o>=0&&o<u;o+=e)if(n[o]===i)return o;return-1}}var RZ=AZ(1,$m,TZ),fme=AZ(-1,bZ);function Fx(e,t,r){var n=Mo(e)?$m:SZ,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function xZ(e,t){return Fx(e,Sh(t))}function aa(e,t,r){t=np(t,r);var n,i;if(Mo(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var o=$i(e);for(n=0,i=o.length;n<i;n++)t(e[o[n]],o[n],e)}return e}function rc(e,t,r){t=uo(t,r);for(var n=!Mo(e)&&$i(e),i=(n||e).length,o=Array(i),a=0;a<i;a++){var u=n?n[a]:a;o[a]=t(e[u],u,e)}return o}function CZ(e){var t=function(r,n,i,o){var a=!Mo(r)&&$i(r),u=(a||r).length,l=e>0?0:u-1;for(o||(i=r[a?a[l]:l],l+=e);l>=0&&l<u;l+=e){var f=a?a[l]:l;i=n(i,r[f],f,r)}return i};return function(r,n,i,o){var a=arguments.length>=3;return t(r,np(n,o,4),i,a)}}var Gv=CZ(1),kz=CZ(-1);function nc(e,t,r){var n=[];return t=uo(t,r),aa(e,function(i,o,a){t(i,o,a)&&n.push(i)}),n}function dme(e,t,r){return nc(e,VO(uo(t)),r)}function jx(e,t,r){t=uo(t,r);for(var n=!Mo(e)&&$i(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 Ux(e,t,r){t=uo(t,r);for(var n=!Mo(e)&&$i(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 vu(e,t,r,n){return Mo(e)||(e=vl(e)),(typeof r!="number"||n)&&(r=0),RZ(e,t,r)>=0}var hme=io(function(e,t,r){var n,i;return en(t)?i=t:(t=rp(t),n=t.slice(0,-1),t=t[t.length-1]),rc(e,function(o){var a=i;if(!a){if(n&&n.length&&(o=UO(o,n)),o==null)return;a=o[t]}return a==null?a:a.apply(o,r)})});function HO(e,t){return rc(e,qO(t))}function OZ(e,t){return nc(e,Sh(t))}function zO(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=Mo(e)?e:vl(e);for(var u=0,l=e.length;u<l;u++)o=e[u],o!=null&&o>n&&(n=o)}else t=uo(t,r),aa(e,function(f,d,h){a=t(f,d,h),(a>i||a===-1/0&&n===-1/0)&&(n=f,i=a)});return n}function pme(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=Mo(e)?e:vl(e);for(var u=0,l=e.length;u<l;u++)o=e[u],o!=null&&o<n&&(n=o)}else t=uo(t,r),aa(e,function(f,d,h){a=t(f,d,h),(a<i||a===1/0&&n===1/0)&&(n=f,i=a)});return n}var vme=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function IZ(e){return e?hl(e)?ep.call(e):DO(e)?e.match(vme):Mo(e)?rc(e,Mm):vl(e):[]}function PZ(e,t,r){if(t==null||r)return Mo(e)||(e=vl(e)),e[$x(e.length-1)];var n=IZ(e),i=ao(n);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var u=$x(a,o),l=n[a];n[a]=n[u],n[u]=l}return n.slice(0,t)}function kZ(e){return PZ(e,1/0)}function DZ(e,t,r){var n=0;return t=uo(t,r),HO(rc(e,function(i,o,a){return{value:i,index:n++,criteria:t(i,o,a)}}).sort(function(i,o){var a=i.criteria,u=o.criteria;if(a!==u){if(a>u||a===void 0)return 1;if(a<u||u===void 0)return-1}return i.index-o.index}),"value")}function Fm(e,t){return function(r,n,i){var o=t?[[],[]]:{};return n=uo(n,i),aa(r,function(a,u){var l=n(a,u,r);e(o,a,l)}),o}}var LZ=Fm(function(e,t,r){pl(e,r)?e[r].push(t):e[r]=[t]}),gme=Fm(function(e,t,r){e[r]=t}),NZ=Fm(function(e,t,r){pl(e,r)?e[r]++:e[r]=1}),mme=Fm(function(e,t,r){e[r?0:1].push(t)},!0);function yme(e){return e==null?0:Mo(e)?e.length:$i(e).length}function _me(e,t,r){return t in r}var WO=io(function(e,t){var r={},n=t[0];if(e==null)return r;en(n)?(t.length>1&&(n=np(n,t[1])),t=tp(e)):(n=_me,t=Tc(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],u=e[a];n(u,a,e)&&(r[a]=u)}return r}),jm=io(function(e,t){var r=t[0],n;return en(r)?(r=VO(r),t.length>1&&(n=t[1])):(t=rc(Tc(t,!1,!1),String),r=function(i,o){return!vu(t,o)}),WO(e,r,n)});function MZ(e,t,r){return ep.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function uh(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:MZ(e,e.length-t)}function Kv(e,t,r){return ep.call(e,t==null||r?1:t)}function Eg(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Kv(e,Math.max(0,e.length-t))}function Eme(e){return nc(e,Boolean)}function $Z(e,t){return Tc(e,t,!1)}var FZ=io(function(e,t){return t=Tc(t,!0,!0),nc(e,function(r){return!vu(t,r)})}),qx=io(function(e,t){return FZ(e,t)});function bh(e,t,r,n){UJ(t)||(n=r,r=t,t=!1),r!=null&&(r=uo(r,n));for(var i=[],o=[],a=0,u=ao(e);a<u;a++){var l=e[a],f=r?r(l,a,e):l;t&&!r?((!a||o!==f)&&i.push(l),o=f):r?vu(o,f)||(o.push(f),i.push(l)):vu(i,l)||i.push(l)}return i}var Sme=io(function(e){return bh(Tc(e,!0,!0))});function jZ(e){for(var t=[],r=arguments.length,n=0,i=ao(e);n<i;n++){var o=e[n];if(!vu(t,o)){var a;for(a=1;a<r&&vu(arguments[a],o);a++);a===r&&t.push(o)}}return t}function Bx(e){for(var t=e&&zO(e,ao).length||0,r=Array(t),n=0;n<t;n++)r[n]=HO(e,n);return r}var wme=io(Bx);function UZ(e,t){for(var r={},n=0,i=ao(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function bme(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 qZ(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(ep.call(e,n,n+=t));return r}function GO(e,t){return e._chain?In(t).chain():t}function BZ(e){return aa(Mx(e),function(t){var r=In[t]=e[t];In.prototype[t]=function(){var n=[this._wrapped];return vge.apply(n,arguments),GO(this,r.apply(In,n))}}),In}aa(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=Nm[e];In.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),GO(this,r)}});aa(["concat","join","slice"],function(e){var t=Nm[e];In.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),GO(this,r)}});var Tme={__proto__:null,VERSION:$J,restArguments:io,isObject:ts,isNull:wge,isUndefined:vg,isBoolean:UJ,isElement:bge,isString:DO,isNumber:Tf,isDate:Tge,isRegExp:Age,isError:Rge,isSymbol:qJ,isArrayBuffer:BJ,isDataView:gg,isArray:hl,isFunction:en,isArguments:NO,isFinite:Ige,isNaN:WJ,isTypedArray:XJ,isEmpty:Eh,isMatch:JJ,isEqual:eZ,isMap:$ge,isWeakMap:Fge,isSet:jge,isWeakSet:Uge,keys:$i,allKeys:tp,values:vl,pairs:qge,invert:iZ,functions:Mx,methods:Mx,extend:to,extendOwn:yg,assign:yg,defaults:aZ,create:Vge,clone:sZ,tap:Hge,get:lZ,has:_g,mapObject:zge,identity:Mm,constant:GJ,noop:fZ,toPath:uZ,property:qO,propertyOf:Wge,matcher:Sh,matches:Sh,times:Gge,random:$x,now:wh,escape:Kge,unescape:Xge,templateSettings:Qge,template:rme,result:sh,uniqueId:pZ,chain:ime,iteratee:BO,partial:od,bind:au,bindAll:ame,memoize:gZ,delay:mZ,defer:ome,throttle:yZ,debounce:_Z,wrap:sme,negate:VO,compose:ume,after:lme,before:EZ,once:cme,findKey:SZ,findIndex:$m,findLastIndex:bZ,sortedIndex:TZ,indexOf:RZ,lastIndexOf:fme,find:Fx,detect:Fx,findWhere:xZ,each:aa,forEach:aa,map:rc,collect:rc,reduce:Gv,foldl:Gv,inject:Gv,reduceRight:kz,foldr:kz,filter:nc,select:nc,reject:dme,every:jx,all:jx,some:Ux,any:Ux,contains:vu,includes:vu,include:vu,invoke:hme,pluck:HO,where:OZ,max:zO,min:pme,shuffle:kZ,sample:PZ,sortBy:DZ,groupBy:LZ,indexBy:gme,countBy:NZ,partition:mme,toArray:IZ,size:yme,pick:WO,omit:jm,first:uh,head:uh,take:uh,initial:MZ,last:Eg,rest:Kv,tail:Kv,drop:Kv,compact:Eme,flatten:$Z,without:qx,uniq:bh,unique:bh,union:Sme,intersection:jZ,difference:FZ,unzip:Bx,transpose:Bx,zip:wme,object:UZ,range:bme,chunk:qZ,mixin:BZ,default:In},it=BZ(Tme);it._=it;const pn={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},mn={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"},Ame=/\/+$/g,Rme=Nr.history.getFragment.bind(Nr.history);to(Nr.history,{getFragment(e){return Rme(e).replace(Ame,"")}});const Nn={GetQuery(){return Nn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Nn.GetQuery();let r=Nn.SerializeQueryParams(to(t,e));r&&(r=`?${r}`),Nn.UpdateUrl(`${Nn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Ti.buildRoute(e,t);Nr.history.navigate(n,r),Nr.Radio.channel(pn.SHELL).trigger(mn.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?Gv(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(){Nr.History.started&&Nr.history.stop(),Nr.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;vs.hasActiveRoute()?Nr.Radio.channel(pn.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}},xme=/((\(\?)?:\w+)|(\*\w+)/,Cme=/[\(\)]/g,Ome=/\(\/\)/g,Ime=/\/$/,Pme=/\([^)]*\)/g,vs={routingStarted(){Nr.Radio.channel(pn.SHELL).trigger(mn.ROUTING_START)},routingEnded(){if(!vs.hasActiveRoute())return;Nr.Radio.channel(pn.SHELL).trigger(mn.ROUTING_END)},hasActiveRoute(){return Nr.Radio.channel(pn.SHELL).request(mn.HAS_ACTIVE_ROUTE)}},Dz=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;Nr.Radio.channel(r).trigger(n,e,t)},Ti={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:o}=e,a=Nr.Radio.channel(pn.SHELL),u={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},l=a.request(mn.ROUTE_LOOKUP,`${r}:${n}`,i,o,u);return l===!1?"":`/${l}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(aa(n,a=>{e=e.replace(xme,a||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(Pme,"")),e=e.replace(Ome,""),e=e.replace(Cme,""),e=e.replace(Ime,""),!i)return e;const o=Nn.SerializeQueryParams(i);return o.length?`${e}?${o}`:e},trigger(e,t){if(!e)return;if(!vs.hasActiveRoute()){Dz(e,t);return}Nr.Radio.channel(pn.SHELL).once("routing:end",()=>{Dz(e,t)})},getCurrentAppLink(){return Nr.Radio.channel(pn.SHELL).request(mn.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=Nn.SerializeQueryParams((e==null?void 0:e.params)??{}),a=Nn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&o!==a)}};var kme="4.1.3",ip=Mi.Model.extend,KO=function(t){var r=this;if(t)return it.reduce(t,function(n,i,o){return it.isFunction(i)||(i=r[i]),i&&(n[o]=i),n},{})},Lz=["description","fileName","lineNumber","name","message","number","url"],na=ip.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(kme,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);it.extend(this,it.pick(r,Lz),it.pick(t,Lz)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,na)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function VZ(e,t){if(!it.isObject(t))throw new na({message:"Bindings must be an object.",url:"common.html#bindevents"});return KO.call(e,t)}function Dme(e,t){return!e||!t?this:(this.listenTo(e,VZ(this,t)),this)}function Lme(e,t){return e?t?(this.stopListening(e,VZ(this,t)),this):(this.stopListening(e),this):this}function HZ(e,t){if(!it.isObject(t))throw new na({message:"Bindings must be an object.",url:"common.html#bindrequests"});return KO.call(e,t)}function Nme(e,t){return!e||!t?this:(e.reply(HZ(this,t),this),this)}function Mme(e,t){return e?t?(e.stopReplying(HZ(this,t),this),this):(e.stopReplying(null,null,this),this):this}var zZ=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},$me=function(t,r){var n=this;t&&it.each(r,function(i){var o=t[i];o!==void 0&&(n[i]=o)})};function Um(e,t,r){e._getImmediateChildren&&it.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function WZ(e){return!e._isAttached}function Fme(e){return WZ(e)?(e._isAttached=!0,!0):!1}function jme(e){return e._isAttached}function Ume(e){return e._isAttached=!1,!0}function GZ(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function KZ(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function qme(){Um(this,"before:attach",WZ)}function Bme(){Um(this,"attach",Fme),GZ(this)}function Vme(){Um(this,"before:detach",jme),KZ(this)}function Hme(){Um(this,"detach",Ume)}function zme(){KZ(this)}function Wme(){GZ(this)}function Sg(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":qme,attach:Bme,"before:detach":Vme,detach:Hme,"before:render":zme,render:Wme}))}var Gme=/(^|:)(\w)/gi,lb={};function Kme(e,t,r){return r.toUpperCase()}var Yme=function(t){return lb[t]||(lb[t]="on"+t.replace(Gme,Kme)),lb[t]};function Xme(e){var t=Yme(e),r=zZ.call(this,t),n;return it.isFunction(r)&&(n=r.apply(this,it.drop(arguments))),this.trigger.apply(this,arguments),n}var sd={normalizeMethods:KO,_setOptions:function(t,r){this.options=it.extend({},it.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:$me,getOption:zZ,bindEvents:Dme,unbindEvents:Lme,bindRequests:Nme,unbindRequests:Mme,triggerMethod:Xme};it.extend(sd,Mi.Events);var YZ={_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)}},XZ={_initRadio:function(){var t=it.result(this,"channelName");if(t){if(!bz)throw new na({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=bz.channel(t),n=it.result(this,"radioEvents");this.bindEvents(r,n);var i=it.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}},Qme=["channelName","radioEvents","radioRequests"],Ac=function(t){this._setOptions(t,Qme),this.cid=it.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Ac.extend=ip;it.extend(Ac.prototype,sd,YZ,XZ,{cidPrefix:"mno",initialize:function(){}});var hs=it.invokeMap||it.invoke;function Jme(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(it.isFunction(e))return{BehaviorClass:e,options:{}};throw new na({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 QZ(e,t,r){return it.reduce(t,function(n,i){var o=Jme(i),a=o.BehaviorClass,u=o.options,l=new a(u,e);return n.push(l),QZ(e,it.result(l,"behaviors"),n)},r)}var Zme={_initBehaviors:function(){this._behaviors=QZ(this,it.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=hs(this._behaviors,"_getTriggers");return it.reduce(t,function(r,n){return it.extend(r,n)},{})},_getBehaviorEvents:function(){var t=hs(this._behaviors,"_getEvents");return it.reduce(t,function(r,n){return it.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){hs(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){hs(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){hs(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){hs(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=it.without(this._behaviors,t))},_bindBehaviorUIElements:function(){hs(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){hs(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){hs(this._behaviors,"triggerMethod",t,r,n)}},JZ={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=it.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=it.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}},eye={_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=it.result(this,"templateContext");return r?t?it.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 it.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)}},tye=/^(\S+)\s*(.*)$/,ZZ=function(t,r){var n=t.match(tye);return"".concat(n[1],".").concat(r," ").concat(n[2])},rye={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function Vx(e){return!!rye[e]}function nye(e,t){it.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;Vx("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return Vx("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(o){n&&o.preventDefault(),i&&o.stopPropagation();for(var a=arguments.length,u=new Array(a>1?a-1:0),l=1;l<a;l++)u[l-1]=arguments[l];e.triggerMethod.apply(e,[r,e,o].concat(u))}}var eee={_getViewTriggers:function(t,r){var n=this;return it.reduce(r,function(i,o,a){return a=ZZ(a,"trig".concat(n.cid)),i[a]=nye(t,o),i},{})}},iye=function(t,r){return it.reduce(t,function(n,i,o){var a=wg(o,r);return n[a]=i,n},{})},aye=/@ui\.[a-zA-Z-_$0-9]*/g,wg=function(t,r){return t.replace(aye,function(n){return r[n.slice(4)]})},oye=function(t,r,n){return it.each(t,function(i,o){if(it.isString(i))t[o]=wg(i,r);else if(i){var a=i[n];it.isString(a)&&(i[n]=wg(a,r))}}),t},tee={normalizeUIKeys:function(t){var r=this._getUIBindings();return iye(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return wg(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return oye(t,n,r)},_getUIBindings:function(){var t=it.result(this,"_uiBindings");return t||it.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=it.result(this,"_uiBindings");this._ui={},it.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(it.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 Pl(e){return e instanceof Mi.$?e:Mi.$(e)}function YO(e){return this.prototype.Dom=it.extend({},this.prototype.Dom,e),this}var ree={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Pl(t)},findEl:function(t,r){return Pl(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]:Pl(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]:Pl(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?Pl(t):i,a=n._$contents,u=a===void 0?Pl(r):a;o.append(u)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pl(t);r.contents().detach()}},XO={Dom:ree,_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=it.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Mi.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(it.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(it.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(it.result(this,"childViewEvents")),this._childViewTriggers=it.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=Vx("childViewEventPrefix")?"childview":!1,r=it.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))}};it.extend(XO,Zme,sd,JZ,eye,eee,tee);function nee(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function iee(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 Vd="RegionError",sye=["allowMissingEl","parentEl","replaceElement"],Rc=function(t){this._setOptions(t,sye),this.cid=it.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Mi.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Rc.extend=ip;Rc.setDomApi=YO;it.extend(Rc.prototype,sd,{Dom:ree,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 na({name:Vd,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,nee(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new na({name:Vd,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){Sg(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"?!!it.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(it.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!it.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new na({name:Vd,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 na({name:Vd,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 na({name:Vd,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Mi.View)return t;var r=this._getViewOptions(t);return new QO(r)},_getViewOptions:function(t){if(it.isFunction(t))return{template:t};if(it.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=it.result(this,"parentEl");return r&&it.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||iee(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 aee(e,t){if(e instanceof Rc)return e;if(it.isString(e))return cb(t,{el:e});if(it.isFunction(e))return cb(t,{regionClass:e});if(it.isObject(e))return cb(t,e);throw new na({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function cb(e,t){var r=it.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var uye={regionClass:Rc,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(it.result(this,"regions"))},_reInitRegions:function(){hs(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!it.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=it.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:it.partial(it.result,this,"el")};return it.reduce(t,function(i,o,a){return i[a]=aee(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 it.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 hs(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return it.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 oee(e){return this.prototype._renderHtml=e,this}var lye=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function cye(e,t){return t.currentView&&e.push(t.currentView),e}var QO=Mi.View.extend({constructor:function(t){this._setOptions(t,lye),Sg(this),this._initBehaviors(),this._initRegions(),Mi.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Mi.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 it.reduce(this._regions,cye,[])}},{setRenderer:oee,setDomApi:YO});it.extend(QO.prototype,XO,uye);var bg=function(){this._init()},fye=["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"];it.each(fye,function(e){bg.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return it[e].apply(it,[this._views].concat(r))}});function dye(e,t){return t.model&&t.model.get(e)}it.extend(bg.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=it.partial(dye,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=it.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={},it.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 of="CollectionViewError",hye=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],pye=Mi.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,hye),Sg(this),this._initChildViewStorage(),this._initBehaviors(),Mi.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new bg,this.children=new bg},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Rc({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 it.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 it.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 na({name:of,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new na({name:of,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 Mi.View||t===Mi.View)return t;if(it.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return it.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=it.extend({model:t},n);return new r(i)},_setupChildView:function(t){Sg(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Mi.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=it.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new na({name:of,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=[];it.each(this._children._views,function(a,u,l){(r.call(t,a,u,l)?i:o).push(a)}),this._detachChildren(o),this.children._set(i,!0),this.triggerMethod("filter",this,i,o)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if(it.isFunction(t))return t;if(it.isObject(t)){var r=it.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(it.isString(t))return function(n){return n.model&&n.model.get(t)};throw new na({name:of,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){it.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 it.each(t,function(i){nee(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:[],it.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),it.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 it.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new na({name:of,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 na({name:of,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(it.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){it.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;iee(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:YO,setRenderer:oee});it.extend(pye.prototype,XO);var vye=["collectionEvents","events","modelEvents","triggers","ui"],see=function(t,r){this.view=r,this._setOptions(t,vye),this.cid=it.uniqueId(this.cidPrefix),this.ui=it.extend({},it.result(this,"ui"),it.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};see.extend=ip;it.extend(see.prototype,sd,JZ,eee,tee,{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(it.result(this,"events"));return it.reduce(r,function(n,i,o){return it.isFunction(i)||(i=t[i]),i&&(o=ZZ(o,t.cid),n[o]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(it.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var gye=["channelName","radioEvents","radioRequests","region","regionClass"],qm=function(t){this._setOptions(t,gye),this.cid=it.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};qm.extend=ip;it.extend(qm.prototype,sd,YZ,XZ,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Rc,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=aee(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 JO=(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))(JO||{}),Hx=(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))(Hx||{});class uee extends Error{constructor(t){super(t)}}class Bm extends uee{get name(){return"SilentError"}}class ia extends Error{get name(){return"CoreError"}}const hr={throw(e){if(Nr.Radio.channel(pn.SHELL).trigger(mn.ERROR,e),!(e instanceof Bm))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===Hx.ClientError||t===Hx.ServerError}};function gl(e,t,r,n){let i=e;return typeof e=="string"&&(i=Nr.Radio.channel(e)),n.call(this,i,t,r)}class mye extends qm{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),it.result(this,"name")||hr.throw(new ia("BaseApplication must define a name")),it.result(this,"channelName")||hr.throw(new ia("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),mn.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||hr.throw(new ia(`Global channel ${n} does not exist`)),Nr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=it.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(it.extend(this.layoutOptions,{options:t})),this.layout||hr.throw(new ia(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||hr.throw(new ia("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,i=this.layout.getRegion("alert");if(!i){hr.throw(new ia("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=it.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return gl.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 yye=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],_ye=["appRoutes","controller"],lee=Mi.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,_ye),Mi.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(it.isFunction(this.onRoute)){var n=it.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=it.keys(r).reverse();return it.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,it.bind(i,t))}});it.extend(lee.prototype,it.pick(Ac.prototype,yye));class Af{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 Eye=/([A-Z])/g,Sye=/(^|:)(\w)/gi;class ZO extends lee{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Af,r=this.options.shell.routeMiddleware,n=this.appRoutes;return it.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},o=>i(o.appRoutes))})}_processAppRoutes(t){super.processAppRoutes.call(this,this.controller,t),this._appRoutes=t}_buildRouteLookup(){const t=this.appRoutes??{},r=this._appRoutes??{},n=Object.entries(t).reduce((o,[a,u])=>({...o,[u]:a}),{}),i=Object.entries(r).reduce((o,[a,u])=>({...o,[u]:a}),{});this._routeLookup={baseRoutes:{...this.appRoutes,...n},modifiedRoutes:{...this._appRoutes,...i}}}async start(){const t=await this._initRoutes();this._processAppRoutes(t),this._buildRouteLookup(),this.bindDisposal(),this.processInternalRoutes(),this.processExternalRoutes(),this.processAppLinks()}_processOnRoute(t,r){if(it.isFunction(this.onRoute)){const n=it.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(pn.SHELL,mn.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Af;return it.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,i,o)=>{const u={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:o,currentRoute:r,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,u),f=this.toMethodName(l.action),d=this._routeLookup.modifiedRoutes[f];return Ti.buildRoute(d??r,l,o)})}processInternalRoutes(){it.each(it.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)&&hr.throw(new ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a={appLink:i,appLinkOptions:o,currentRoute:t,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,a),l=this.toMethodName(u.action),f=this._routeLookup.modifiedRoutes[l];this.executeRoute(u,{isAppRoute:!0,route:f??t},d=>{const h=it.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Nn.UpdateUrl(f??t,d,o)})})})}triggerNavLocked(t,r){t.trigger(mn.NAV_IS_LOCKED,r),vs.routingEnded()}processExternalRoutes(){this.externalRoutes&&it.each(it.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)&&hr.throw(new ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const a=Nr.Radio.channel(pn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(a,i);return}Nn.PageLoad(Ti.getHref(i))})})}processAppLinks(){this.appLinks&&it.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&hr.throw(new ia("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),vs.routingStarted();const i=Nr.Radio.channel(pn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(i,t);return}const o={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},a=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,o),u=this.toMethodName(a.action),l=new Af;it.each(this.filters,f=>l.useAsync(f)),l.goAsync({appLink:a,shell:this.options.shell},()=>{i.trigger(mn.ROUTE,a,r),this.createApp();const f=this.controller;if(it.isFunction(f[u])||(vs.routingEnded(),hr.throw(new ia(`${u} does not exist on the ${it.result(f,"name")}.`))),f.triggerMethod("before:action",t)===!1){f.triggerMethod("action:cancelled"),vs.routingEnded();return}f.triggerMethod("load:layout");const d={appLink:a,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);f[u].apply(f,[...h.args||[],h.params||{}]),it.isFunction(n)&&n(a),vs.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:Nn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(o,{isAppRoute:!0,route:r},()=>{Nn.UpdateQuery(it.extend(this.controller.getAndClearDefaultQueryParams(),o.params))})})}toEventName(t){return t.replace(Eye,":$1").toLowerCase()}toMethodName(t){const r=t.replace(Sye,(n,i,o)=>o.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(vs.routingEnded(),hr.throw(new ia("Invalid AppLink")))}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class Vm extends Nr.Collection{listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class wn extends uee{get name(){return"DevError"}}class wye{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 Hm=wye.Instance;function bye(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const Tye=["model","collection","el","id","attributes","className","tagName","events"];Nr.View.prototype.constructor=function(e){this.cid=it.uniqueId("view");const t=Tye.filter(r=>{var n;return!((n=bye(this,r))!=null&&n.get)});it.extend(this,it.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const bf=class bf extends QO{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=it.extend({},it.result(this,"defaults"),t)}_setAttributes(t){Hm.isDevelopment&&it.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),it.result(this,"name")||hr.throw(new ia(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){bf.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",it.result(this,"className"))}serializeData(){const t=super.serializeData(),r=it.result(this,"viewOptions"),n=it.extend({},t,{options:r});return bf.ViewDataExtensions.length?it.extend(n,...it.map(bf.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(),it.each(it.keys(t),r=>{let n=r;const i=t[r],o=Ti.getHref(i);n==="[this]"&&(n=null);const a=n?this.$el.find(r):this.$el;!a.is("a")&&!a.is("button")||(o&&o!=="/"&&a.attr("href",o),this.delegate(`click.appLinks${this.cid}`,n,function(u){u.preventDefault(),Ti.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=it.some(t.regions,(r=>it.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){Nr.Radio.channel(pn.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return gl.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(){}};bf.ViewDataExtensions=[];let zx=bf;class Aye extends zx{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=it.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return it.each(r,o=>{const a=this.requiredResources[o];if(a.beforeOnBeforeRender!==t)return;const u=a.dataServiceName;this.resourceInstances[u]||(this.resourceInstances[u]=a.getInstance(this)),this.boundListeners[`${u}:${a.eventName}`]||(this.listenTo(this.resourceInstances[u].channelName,a.eventName,this.render),this.boundListeners[`${u}:${a.eventName}`]=!0),n[o]=a.getData(this.resourceInstances[u]),i=i&&!!n[o]}),i}setTitle(){!it.isString(this.title)&&this.title!==!1&&hr.throw(new wn(`Must define a title for ${this.name}.`)),Nr.Radio.channel(pn.SHELL).trigger("set:page:title",this.title)}}class Rye extends Aye{constructor(t){super(t)}static getCacheKey(t){hr.throw(new wn(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class gu extends Nr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=to({},i,t[n]);return}r[n]=t[n]}}addValidation(t){this.mixin({validation:t})}validate(t,r){super.validate.call(this,t,r)}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class Nz extends gu{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)_g(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||!en(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(!en(i))return r;if(n.unset)return o&&delete o.parent,delete this[t],o;if(o)return o instanceof gu&&o.set(r,n),o instanceof Vm&&o.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),o;const a=r instanceof gu?r:new i(r,{parse:!0});return a.parent=this,this[t]=a,a}toJSON(...t){const r=super.toJSON.apply(this,t);return aa(this.associations,(n,i)=>{_g(r,i)&&en(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return jm(super.toJSON.apply(this,t),$i(this.associations))}}class lo extends Ac{constructor(t){super(t),this.name||hr.throw(new ia("Your service must be named."))}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class xye extends Ac{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]||hr.throw(new ia(`${r} was not registered as a template.`));const i=this.layouts[r].getCacheKey(n);return this.currentLayoutCacheKey===i&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",n),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=i,this.currentLayout=new this.layouts[r](n),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}checkRequiredRegions(t){aa(this.requiredRegions,r=>{_g(sh(t.prototype,"regions"),r)||hr.throw(new ia(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class Cye{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class Oye extends qm{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(pn.SHELL,mn.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(pn.SHELL,mn.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(pn.SHELL,mn.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(pn.SHELL,mn.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(pn.SHELL,mn.ROUTE,r=>this.shellState.currentAppLink=r);const t=Nr.Radio.channel(pn.SHELL);t.reply(mn.HAS_ACTIVE_ROUTE,it.bind(this.hasActiveRoute,this)),t.reply(mn.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{vs.routingEnded()})}bindErrorListener(){const t=Nr.Radio.channel(pn.SHELL);this.listenTo(t,mn.ERROR,this.handleError)}bindRouteLookup(){Nr.Radio.channel(pn.SHELL).reply(mn.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 Cye(t,r)),this}getGlobalRadioChannels(){return pn}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=it.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(),Nn.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||hr.throw(new ia("An error must have a name in order to register a handler for it.")),it.any(this.errorHandlers,n=>n.errorType===t)&&hr.throw(new ia(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=it.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 gl.call(this,t[0],t[1],t[2],super.listenTo)}}const La={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Ms=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Ms||{}),ra=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(ra||{});function Mz(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const Iye=[ra.POST,ra.PUT];function Pye(e){const{resource:t,type:r,headers:n,success:i,error:o,always:a}=e,u={url:t,method:r,contentType:"application/json; charset=utf-8"};Iye.includes(r)&&e.data&&(u.data=JSON.stringify(e.data)),n&&(u.headers=n),Ls.ajax(u).done((l,f,d)=>{i&&i(l,Mz(d))}).fail(l=>{o&&o(Mz(l))}).always(()=>{a&&a()})}const cee="id";function fb(e,t={}){const{idAttribute:r=cee,namespace:n=""}=t;return`${n}__${e[r]}`}function fee(e,t,r,n={}){const{idAttribute:i=cee}=n,o={...e};if(r.has(e))return e[i]?fb(e,n):o;if(r.add(e),Object.keys(e).forEach(a=>{const u=e[a];if(u){if(Array.isArray(u)){o[a]=u.map(l=>eI(l,t,r,n));return}if(typeof u=="object"){const l=fee(u,t,r,n);u[i]?o[a]=fb(u,n):o[a]=l}}}),e[i]){const a=fb(e,n);return t[a]?t[a]={...t[a],...o}:t[a]=o,a}return o}function eI(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>eI(i,t,r,n)):typeof e=="object"?fee(e,t,r,n):e)}function dee(e,t){const r={};return{result:eI(e,r,new Set,t),entities:r}}var db,$z;function kye(){if($z)return db;$z=1;function e(){this.__data__=[],this.size=0}return db=e,db}var hb,Fz;function hee(){if(Fz)return hb;Fz=1;function e(t,r){return t===r||t!==t&&r!==r}return hb=e,hb}var pb,jz;function zm(){if(jz)return pb;jz=1;var e=hee();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return pb=t,pb}var vb,Uz;function Dye(){if(Uz)return vb;Uz=1;var e=zm(),t=Array.prototype,r=t.splice;function n(i){var o=this.__data__,a=e(o,i);if(a<0)return!1;var u=o.length-1;return a==u?o.pop():r.call(o,a,1),--this.size,!0}return vb=n,vb}var gb,qz;function Lye(){if(qz)return gb;qz=1;var e=zm();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return gb=t,gb}var mb,Bz;function Nye(){if(Bz)return mb;Bz=1;var e=zm();function t(r){return e(this.__data__,r)>-1}return mb=t,mb}var yb,Vz;function Mye(){if(Vz)return yb;Vz=1;var e=zm();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 yb=t,yb}var _b,Hz;function Wm(){if(Hz)return _b;Hz=1;var e=kye(),t=Dye(),r=Lye(),n=Nye(),i=Mye();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,_b=o,_b}var Eb,zz;function $ye(){if(zz)return Eb;zz=1;var e=Wm();function t(){this.__data__=new e,this.size=0}return Eb=t,Eb}var Sb,Wz;function Fye(){if(Wz)return Sb;Wz=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Sb=e,Sb}var wb,Gz;function jye(){if(Gz)return wb;Gz=1;function e(t){return this.__data__.get(t)}return wb=e,wb}var bb,Kz;function Uye(){if(Kz)return bb;Kz=1;function e(t){return this.__data__.has(t)}return bb=e,bb}var Tb,Yz;function pee(){if(Yz)return Tb;Yz=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return Tb=e,Tb}var Ab,Xz;function Vs(){if(Xz)return Ab;Xz=1;var e=pee(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Ab=r,Ab}var Rb,Qz;function Gm(){if(Qz)return Rb;Qz=1;var e=Vs(),t=e.Symbol;return Rb=t,Rb}var xb,Jz;function qye(){if(Jz)return xb;Jz=1;var e=Gm(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function o(a){var u=r.call(a,i),l=a[i];try{a[i]=void 0;var f=!0}catch{}var d=n.call(a);return f&&(u?a[i]=l:delete a[i]),d}return xb=o,xb}var Cb,Zz;function Bye(){if(Zz)return Cb;Zz=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Cb=r,Cb}var Ob,e7;function ap(){if(e7)return Ob;e7=1;var e=Gm(),t=qye(),r=Bye(),n="[object Null]",i="[object Undefined]",o=e?e.toStringTag:void 0;function a(u){return u==null?u===void 0?i:n:o&&o in Object(u)?t(u):r(u)}return Ob=a,Ob}var Ib,t7;function op(){if(t7)return Ib;t7=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Ib=e,Ib}var Pb,r7;function vee(){if(r7)return Pb;r7=1;var e=ap(),t=op(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",o="[object Proxy]";function a(u){if(!t(u))return!1;var l=e(u);return l==n||l==i||l==r||l==o}return Pb=a,Pb}var kb,n7;function Vye(){if(n7)return kb;n7=1;var e=Vs(),t=e["__core-js_shared__"];return kb=t,kb}var Db,i7;function Hye(){if(i7)return Db;i7=1;var e=Vye(),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 Db=r,Db}var Lb,a7;function gee(){if(a7)return Lb;a7=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 Lb=r,Lb}var Nb,o7;function zye(){if(o7)return Nb;o7=1;var e=vee(),t=Hye(),r=op(),n=gee(),i=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!r(p)||t(p))return!1;var m=e(p)?d:o;return m.test(n(p))}return Nb=h,Nb}var Mb,s7;function Wye(){if(s7)return Mb;s7=1;function e(t,r){return t==null?void 0:t[r]}return Mb=e,Mb}var $b,u7;function xc(){if(u7)return $b;u7=1;var e=zye(),t=Wye();function r(n,i){var o=t(n,i);return e(o)?o:void 0}return $b=r,$b}var Fb,l7;function tI(){if(l7)return Fb;l7=1;var e=xc(),t=Vs(),r=e(t,"Map");return Fb=r,Fb}var jb,c7;function Km(){if(c7)return jb;c7=1;var e=xc(),t=e(Object,"create");return jb=t,jb}var Ub,f7;function Gye(){if(f7)return Ub;f7=1;var e=Km();function t(){this.__data__=e?e(null):{},this.size=0}return Ub=t,Ub}var qb,d7;function Kye(){if(d7)return qb;d7=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return qb=e,qb}var Bb,h7;function Yye(){if(h7)return Bb;h7=1;var e=Km(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(o){var a=this.__data__;if(e){var u=a[o];return u===t?void 0:u}return n.call(a,o)?a[o]:void 0}return Bb=i,Bb}var Vb,p7;function Xye(){if(p7)return Vb;p7=1;var e=Km(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var o=this.__data__;return e?o[i]!==void 0:r.call(o,i)}return Vb=n,Vb}var Hb,v7;function Qye(){if(v7)return Hb;v7=1;var e=Km(),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 Hb=r,Hb}var zb,g7;function Jye(){if(g7)return zb;g7=1;var e=Gye(),t=Kye(),r=Yye(),n=Xye(),i=Qye();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,zb=o,zb}var Wb,m7;function Zye(){if(m7)return Wb;m7=1;var e=Jye(),t=Wm(),r=tI();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Wb=n,Wb}var Gb,y7;function e_e(){if(y7)return Gb;y7=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Gb=e,Gb}var Kb,_7;function Ym(){if(_7)return Kb;_7=1;var e=e_e();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Kb=t,Kb}var Yb,E7;function t_e(){if(E7)return Yb;E7=1;var e=Ym();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Yb=t,Yb}var Xb,S7;function r_e(){if(S7)return Xb;S7=1;var e=Ym();function t(r){return e(this,r).get(r)}return Xb=t,Xb}var Qb,w7;function n_e(){if(w7)return Qb;w7=1;var e=Ym();function t(r){return e(this,r).has(r)}return Qb=t,Qb}var Jb,b7;function i_e(){if(b7)return Jb;b7=1;var e=Ym();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 Jb=t,Jb}var Zb,T7;function mee(){if(T7)return Zb;T7=1;var e=Zye(),t=t_e(),r=r_e(),n=n_e(),i=i_e();function o(a){var u=-1,l=a==null?0:a.length;for(this.clear();++u<l;){var f=a[u];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,Zb=o,Zb}var eT,A7;function a_e(){if(A7)return eT;A7=1;var e=Wm(),t=tI(),r=mee(),n=200;function i(o,a){var u=this.__data__;if(u instanceof e){var l=u.__data__;if(!t||l.length<n-1)return l.push([o,a]),this.size=++u.size,this;u=this.__data__=new r(l)}return u.set(o,a),this.size=u.size,this}return eT=i,eT}var tT,R7;function o_e(){if(R7)return tT;R7=1;var e=Wm(),t=$ye(),r=Fye(),n=jye(),i=Uye(),o=a_e();function a(u){var l=this.__data__=new e(u);this.size=l.size}return a.prototype.clear=t,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=i,a.prototype.set=o,tT=a,tT}var rT,x7;function s_e(){if(x7)return rT;x7=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 rT=e,rT}var nT,C7;function u_e(){if(C7)return nT;C7=1;var e=xc(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return nT=t,nT}var iT,O7;function yee(){if(O7)return iT;O7=1;var e=u_e();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return iT=t,iT}var aT,I7;function _ee(){if(I7)return aT;I7=1;var e=yee(),t=hee(),r=Object.prototype,n=r.hasOwnProperty;function i(o,a,u){var l=o[a];(!(n.call(o,a)&&t(l,u))||u===void 0&&!(a in o))&&e(o,a,u)}return aT=i,aT}var oT,P7;function Xm(){if(P7)return oT;P7=1;var e=_ee(),t=yee();function r(n,i,o,a){var u=!o;o||(o={});for(var l=-1,f=i.length;++l<f;){var d=i[l],h=a?a(o[d],n[d],d,o,n):void 0;h===void 0&&(h=n[d]),u?t(o,d,h):e(o,d,h)}return o}return oT=r,oT}var sT,k7;function l_e(){if(k7)return sT;k7=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return sT=e,sT}var uT,D7;function ud(){if(D7)return uT;D7=1;function e(t){return t!=null&&typeof t=="object"}return uT=e,uT}var lT,L7;function c_e(){if(L7)return lT;L7=1;var e=ap(),t=ud(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return lT=n,lT}var cT,N7;function f_e(){if(N7)return cT;N7=1;var e=c_e(),t=ud(),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 cT=o,cT}var fT,M7;function ld(){if(M7)return fT;M7=1;var e=Array.isArray;return fT=e,fT}var Zd={exports:{}},dT,$7;function d_e(){if($7)return dT;$7=1;function e(){return!1}return dT=e,dT}Zd.exports;var F7;function Eee(){return F7||(F7=1,(function(e,t){var r=Vs(),n=d_e(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,u=a?r.Buffer:void 0,l=u?u.isBuffer:void 0,f=l||n;e.exports=f})(Zd,Zd.exports)),Zd.exports}var hT,j7;function h_e(){if(j7)return hT;j7=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 hT=r,hT}var pT,U7;function See(){if(U7)return pT;U7=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return pT=t,pT}var vT,q7;function p_e(){if(q7)return vT;q7=1;var e=ap(),t=See(),r=ud(),n="[object Arguments]",i="[object Array]",o="[object Boolean]",a="[object Date]",u="[object Error]",l="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",m="[object Set]",S="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",T="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",R="[object Int16Array]",P="[object Int32Array]",y="[object Uint8Array]",N="[object Uint8ClampedArray]",$="[object Uint16Array]",H="[object Uint32Array]",B={};B[T]=B[C]=B[x]=B[R]=B[P]=B[y]=B[N]=B[$]=B[H]=!0,B[n]=B[i]=B[_]=B[o]=B[w]=B[a]=B[u]=B[l]=B[f]=B[d]=B[h]=B[p]=B[m]=B[S]=B[E]=!1;function W(X){return r(X)&&t(X.length)&&!!B[e(X)]}return vT=W,vT}var gT,B7;function rI(){if(B7)return gT;B7=1;function e(t){return function(r){return t(r)}}return gT=e,gT}var eh={exports:{}};eh.exports;var V7;function nI(){return V7||(V7=1,(function(e,t){var r=pee(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,u=(function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}})();e.exports=u})(eh,eh.exports)),eh.exports}var mT,H7;function v_e(){if(H7)return mT;H7=1;var e=p_e(),t=rI(),r=nI(),n=r&&r.isTypedArray,i=n?t(n):e;return mT=i,mT}var yT,z7;function wee(){if(z7)return yT;z7=1;var e=l_e(),t=f_e(),r=ld(),n=Eee(),i=h_e(),o=v_e(),a=Object.prototype,u=a.hasOwnProperty;function l(f,d){var h=r(f),p=!h&&t(f),m=!h&&!p&&n(f),S=!h&&!p&&!m&&o(f),E=h||p||m||S,_=E?e(f.length,String):[],w=_.length;for(var T in f)(d||u.call(f,T))&&!(E&&(T=="length"||m&&(T=="offset"||T=="parent")||S&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||i(T,w)))&&_.push(T);return _}return yT=l,yT}var _T,W7;function iI(){if(W7)return _T;W7=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return _T=t,_T}var ET,G7;function bee(){if(G7)return ET;G7=1;function e(t,r){return function(n){return t(r(n))}}return ET=e,ET}var ST,K7;function g_e(){if(K7)return ST;K7=1;var e=bee(),t=e(Object.keys,Object);return ST=t,ST}var wT,Y7;function m_e(){if(Y7)return wT;Y7=1;var e=iI(),t=g_e(),r=Object.prototype,n=r.hasOwnProperty;function i(o){if(!e(o))return t(o);var a=[];for(var u in Object(o))n.call(o,u)&&u!="constructor"&&a.push(u);return a}return wT=i,wT}var bT,X7;function Tee(){if(X7)return bT;X7=1;var e=vee(),t=See();function r(n){return n!=null&&t(n.length)&&!e(n)}return bT=r,bT}var TT,Q7;function aI(){if(Q7)return TT;Q7=1;var e=wee(),t=m_e(),r=Tee();function n(i){return r(i)?e(i):t(i)}return TT=n,TT}var AT,J7;function y_e(){if(J7)return AT;J7=1;var e=Xm(),t=aI();function r(n,i){return n&&e(i,t(i),n)}return AT=r,AT}var RT,Z7;function __e(){if(Z7)return RT;Z7=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return RT=e,RT}var xT,e9;function E_e(){if(e9)return xT;e9=1;var e=op(),t=iI(),r=__e(),n=Object.prototype,i=n.hasOwnProperty;function o(a){if(!e(a))return r(a);var u=t(a),l=[];for(var f in a)f=="constructor"&&(u||!i.call(a,f))||l.push(f);return l}return xT=o,xT}var CT,t9;function oI(){if(t9)return CT;t9=1;var e=wee(),t=E_e(),r=Tee();function n(i){return r(i)?e(i,!0):t(i)}return CT=n,CT}var OT,r9;function S_e(){if(r9)return OT;r9=1;var e=Xm(),t=oI();function r(n,i){return n&&e(i,t(i),n)}return OT=r,OT}var th={exports:{}};th.exports;var n9;function w_e(){return n9||(n9=1,(function(e,t){var r=Vs(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;function l(f,d){if(d)return f.slice();var h=f.length,p=u?u(h):new f.constructor(h);return f.copy(p),p}e.exports=l})(th,th.exports)),th.exports}var IT,i9;function b_e(){if(i9)return IT;i9=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 IT=e,IT}var PT,a9;function T_e(){if(a9)return PT;a9=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,o=0,a=[];++n<i;){var u=t[n];r(u,n,t)&&(a[o++]=u)}return a}return PT=e,PT}var kT,o9;function Aee(){if(o9)return kT;o9=1;function e(){return[]}return kT=e,kT}var DT,s9;function sI(){if(s9)return DT;s9=1;var e=T_e(),t=Aee(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,o=i?function(a){return a==null?[]:(a=Object(a),e(i(a),function(u){return n.call(a,u)}))}:t;return DT=o,DT}var LT,u9;function A_e(){if(u9)return LT;u9=1;var e=Xm(),t=sI();function r(n,i){return e(n,t(n),i)}return LT=r,LT}var NT,l9;function Ree(){if(l9)return NT;l9=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 NT=e,NT}var MT,c9;function xee(){if(c9)return MT;c9=1;var e=bee(),t=e(Object.getPrototypeOf,Object);return MT=t,MT}var $T,f9;function Cee(){if(f9)return $T;f9=1;var e=Ree(),t=xee(),r=sI(),n=Aee(),i=Object.getOwnPropertySymbols,o=i?function(a){for(var u=[];a;)e(u,r(a)),a=t(a);return u}:n;return $T=o,$T}var FT,d9;function R_e(){if(d9)return FT;d9=1;var e=Xm(),t=Cee();function r(n,i){return e(n,t(n),i)}return FT=r,FT}var jT,h9;function Oee(){if(h9)return jT;h9=1;var e=Ree(),t=ld();function r(n,i,o){var a=i(n);return t(n)?a:e(a,o(n))}return jT=r,jT}var UT,p9;function x_e(){if(p9)return UT;p9=1;var e=Oee(),t=sI(),r=aI();function n(i){return e(i,r,t)}return UT=n,UT}var qT,v9;function C_e(){if(v9)return qT;v9=1;var e=Oee(),t=Cee(),r=oI();function n(i){return e(i,r,t)}return qT=n,qT}var BT,g9;function O_e(){if(g9)return BT;g9=1;var e=xc(),t=Vs(),r=e(t,"DataView");return BT=r,BT}var VT,m9;function I_e(){if(m9)return VT;m9=1;var e=xc(),t=Vs(),r=e(t,"Promise");return VT=r,VT}var HT,y9;function P_e(){if(y9)return HT;y9=1;var e=xc(),t=Vs(),r=e(t,"Set");return HT=r,HT}var zT,_9;function k_e(){if(_9)return zT;_9=1;var e=xc(),t=Vs(),r=e(t,"WeakMap");return zT=r,zT}var WT,E9;function uI(){if(E9)return WT;E9=1;var e=O_e(),t=tI(),r=I_e(),n=P_e(),i=k_e(),o=ap(),a=gee(),u="[object Map]",l="[object Object]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",m=a(e),S=a(t),E=a(r),_=a(n),w=a(i),T=o;return(e&&T(new e(new ArrayBuffer(1)))!=p||t&&T(new t)!=u||r&&T(r.resolve())!=f||n&&T(new n)!=d||i&&T(new i)!=h)&&(T=function(C){var x=o(C),R=x==l?C.constructor:void 0,P=R?a(R):"";if(P)switch(P){case m:return p;case S:return u;case E:return f;case _:return d;case w:return h}return x}),WT=T,WT}var GT,S9;function D_e(){if(S9)return GT;S9=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 GT=r,GT}var KT,w9;function L_e(){if(w9)return KT;w9=1;var e=Vs(),t=e.Uint8Array;return KT=t,KT}var YT,b9;function lI(){if(b9)return YT;b9=1;var e=L_e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return YT=t,YT}var XT,T9;function N_e(){if(T9)return XT;T9=1;var e=lI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return XT=t,XT}var QT,A9;function M_e(){if(A9)return QT;A9=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return QT=t,QT}var JT,R9;function $_e(){if(R9)return JT;R9=1;var e=Gm(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return JT=n,JT}var ZT,x9;function F_e(){if(x9)return ZT;x9=1;var e=lI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return ZT=t,ZT}var eA,C9;function j_e(){if(C9)return eA;C9=1;var e=lI(),t=N_e(),r=M_e(),n=$_e(),i=F_e(),o="[object Boolean]",a="[object Date]",u="[object Map]",l="[object Number]",f="[object RegExp]",d="[object Set]",h="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",_="[object Float64Array]",w="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",x="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",y="[object Uint32Array]";function N($,H,B){var W=$.constructor;switch(H){case m:return e($);case o:case a:return new W(+$);case S:return t($,B);case E:case _:case w:case T:case C:case x:case R:case P:case y:return i($,B);case u:return new W;case l:case h:return new W($);case f:return r($);case d:return new W;case p:return n($)}}return eA=N,eA}var tA,O9;function U_e(){if(O9)return tA;O9=1;var e=op(),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 tA=r,tA}var rA,I9;function q_e(){if(I9)return rA;I9=1;var e=U_e(),t=xee(),r=iI();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return rA=n,rA}var nA,P9;function B_e(){if(P9)return nA;P9=1;var e=uI(),t=ud(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return nA=n,nA}var iA,k9;function V_e(){if(k9)return iA;k9=1;var e=B_e(),t=rI(),r=nI(),n=r&&r.isMap,i=n?t(n):e;return iA=i,iA}var aA,D9;function H_e(){if(D9)return aA;D9=1;var e=uI(),t=ud(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return aA=n,aA}var oA,L9;function z_e(){if(L9)return oA;L9=1;var e=H_e(),t=rI(),r=nI(),n=r&&r.isSet,i=n?t(n):e;return oA=i,oA}var sA,N9;function W_e(){if(N9)return sA;N9=1;var e=o_e(),t=s_e(),r=_ee(),n=y_e(),i=S_e(),o=w_e(),a=b_e(),u=A_e(),l=R_e(),f=x_e(),d=C_e(),h=uI(),p=D_e(),m=j_e(),S=q_e(),E=ld(),_=Eee(),w=V_e(),T=op(),C=z_e(),x=aI(),R=oI(),P=1,y=2,N=4,$="[object Arguments]",H="[object Array]",B="[object Boolean]",W="[object Date]",X="[object Error]",J="[object Function]",ie="[object GeneratorFunction]",ne="[object Map]",pe="[object Number]",K="[object Object]",te="[object RegExp]",z="[object Set]",ce="[object String]",Se="[object Symbol]",Le="[object WeakMap]",Be="[object ArrayBuffer]",Xe="[object DataView]",oe="[object Float32Array]",O="[object Float64Array]",I="[object Int8Array]",M="[object Int16Array]",k="[object Int32Array]",U="[object Uint8Array]",Y="[object Uint8ClampedArray]",ae="[object Uint16Array]",Ee="[object Uint32Array]",me={};me[$]=me[H]=me[Be]=me[Xe]=me[B]=me[W]=me[oe]=me[O]=me[I]=me[M]=me[k]=me[ne]=me[pe]=me[K]=me[te]=me[z]=me[ce]=me[Se]=me[U]=me[Y]=me[ae]=me[Ee]=!0,me[X]=me[J]=me[Le]=!1;function Ce(be,Ie,Fe,ve,_e,we){var ke,qe=Ie&P,Ue=Ie&y,We=Ie&N;if(Fe&&(ke=_e?Fe(be,ve,_e,we):Fe(be)),ke!==void 0)return ke;if(!T(be))return be;var ct=E(be);if(ct){if(ke=p(be),!qe)return a(be,ke)}else{var jt=h(be),Gt=jt==J||jt==ie;if(_(be))return o(be,qe);if(jt==K||jt==$||Gt&&!_e){if(ke=Ue||Gt?{}:S(be),!qe)return Ue?l(be,i(ke,be)):u(be,n(ke,be))}else{if(!me[jt])return _e?be:{};ke=m(be,jt,qe)}}we||(we=new e);var et=we.get(be);if(et)return et;we.set(be,ke),C(be)?be.forEach(function(st){ke.add(Ce(st,Ie,Fe,st,be,we))}):w(be)&&be.forEach(function(st,ft){ke.set(ft,Ce(st,Ie,Fe,ft,be,we))});var Rt=We?Ue?d:f:Ue?R:x,Et=ct?void 0:Rt(be);return t(Et||be,function(st,ft){Et&&(ft=st,st=be[ft]),r(ke,ft,Ce(st,Ie,Fe,ft,be,we))}),ke}return sA=Ce,sA}var uA,M9;function G_e(){if(M9)return uA;M9=1;var e=W_e(),t=1,r=4;function n(i){return e(i,t|r)}return uA=n,uA}var K_e=G_e();const Y_e=Hn(K_e);var lA,$9;function cI(){if($9)return lA;$9=1;var e=ap(),t=ud(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return lA=n,lA}var cA,F9;function X_e(){if(F9)return cA;F9=1;var e=ld(),t=cI(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(o,a){if(e(o))return!1;var u=typeof o;return u=="number"||u=="symbol"||u=="boolean"||o==null||t(o)?!0:n.test(o)||!r.test(o)||a!=null&&o in Object(a)}return cA=i,cA}var fA,j9;function Q_e(){if(j9)return fA;j9=1;var e=mee(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var o=function(){var a=arguments,u=i?i.apply(this,a):a[0],l=o.cache;if(l.has(u))return l.get(u);var f=n.apply(this,a);return o.cache=l.set(u,f)||l,f};return o.cache=new(r.Cache||e),o}return r.Cache=e,fA=r,fA}var dA,U9;function J_e(){if(U9)return dA;U9=1;var e=Q_e(),t=500;function r(n){var i=e(n,function(a){return o.size===t&&o.clear(),a}),o=i.cache;return i}return dA=r,dA}var hA,q9;function Z_e(){if(q9)return hA;q9=1;var e=J_e(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var o=[];return i.charCodeAt(0)===46&&o.push(""),i.replace(t,function(a,u,l,f){o.push(l?f.replace(r,"$1"):u||a)}),o});return hA=n,hA}var pA,B9;function eEe(){if(B9)return pA;B9=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 pA=e,pA}var vA,V9;function tEe(){if(V9)return vA;V9=1;var e=Gm(),t=eEe(),r=ld(),n=cI(),i=e?e.prototype:void 0,o=i?i.toString:void 0;function a(u){if(typeof u=="string")return u;if(r(u))return t(u,a)+"";if(n(u))return o?o.call(u):"";var l=u+"";return l=="0"&&1/u==-1/0?"-0":l}return vA=a,vA}var gA,H9;function rEe(){if(H9)return gA;H9=1;var e=tEe();function t(r){return r==null?"":e(r)}return gA=t,gA}var mA,z9;function nEe(){if(z9)return mA;z9=1;var e=ld(),t=X_e(),r=Z_e(),n=rEe();function i(o,a){return e(o)?o:t(o,a)?[o]:r(n(o))}return mA=i,mA}var yA,W9;function iEe(){if(W9)return yA;W9=1;var e=cI();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return yA=t,yA}var _A,G9;function aEe(){if(G9)return _A;G9=1;var e=nEe(),t=iEe();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 _A=r,_A}var EA,K9;function oEe(){if(K9)return EA;K9=1;var e=aEe();function t(r,n,i){var o=r==null?void 0:e(r,n);return o===void 0?i:o}return EA=t,EA}var sEe=oEe();const uEe=Hn(sEe),js={isEmpty(e){return Eh(e)},values(e){return vl(e)},keys(e){return $i(e)},deepClone(e){return Y_e(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return ts(e)},isEqual(e,t){return eZ(e,t)},omit(e,t){return jm(e,t)},pick(e,t){return WO(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])?js.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return uEe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function lEe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=Tg(t[e],t,r,n);return Object.assign(r[e],i),js.isEmpty(r[e])?(delete r[e],e):js.omit(r[e],["__modifyCount"])}function Tg(e,t,r,n){if(!e)return e;if(typeof e=="string")return lEe(e,t,r,n);if(Array.isArray(e))return e.map(i=>Tg(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]=Tg(e[o],t,r,n)}),i}return e}function fI(e,t){return Tg(e,t,{},new WeakMap)}var SA={exports:{}},an={},Y9;function cEe(){if(Y9)return an;Y9=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"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function p(z){return z===null||typeof z!="object"?null:(z=h&&z[h]||z["@@iterator"],typeof z=="function"?z:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function _(z,ce,Se){this.props=z,this.context=ce,this.refs=E,this.updater=Se||m}_.prototype.isReactComponent={},_.prototype.setState=function(z,ce){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,ce,"setState")},_.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function w(){}w.prototype=_.prototype;function T(z,ce,Se){this.props=z,this.context=ce,this.refs=E,this.updater=Se||m}var C=T.prototype=new w;C.constructor=T,S(C,_.prototype),C.isPureReactComponent=!0;var x=Array.isArray,R=Object.prototype.hasOwnProperty,P={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function N(z,ce,Se){var Le,Be={},Xe=null,oe=null;if(ce!=null)for(Le in ce.ref!==void 0&&(oe=ce.ref),ce.key!==void 0&&(Xe=""+ce.key),ce)R.call(ce,Le)&&!y.hasOwnProperty(Le)&&(Be[Le]=ce[Le]);var O=arguments.length-2;if(O===1)Be.children=Se;else if(1<O){for(var I=Array(O),M=0;M<O;M++)I[M]=arguments[M+2];Be.children=I}if(z&&z.defaultProps)for(Le in O=z.defaultProps,O)Be[Le]===void 0&&(Be[Le]=O[Le]);return{$$typeof:e,type:z,key:Xe,ref:oe,props:Be,_owner:P.current}}function $(z,ce){return{$$typeof:e,type:z.type,key:ce,ref:z.ref,props:z.props,_owner:z._owner}}function H(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function B(z){var ce={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(Se){return ce[Se]})}var W=/\/+/g;function X(z,ce){return typeof z=="object"&&z!==null&&z.key!=null?B(""+z.key):ce.toString(36)}function J(z,ce,Se,Le,Be){var Xe=typeof z;(Xe==="undefined"||Xe==="boolean")&&(z=null);var oe=!1;if(z===null)oe=!0;else switch(Xe){case"string":case"number":oe=!0;break;case"object":switch(z.$$typeof){case e:case t:oe=!0}}if(oe)return oe=z,Be=Be(oe),z=Le===""?"."+X(oe,0):Le,x(Be)?(Se="",z!=null&&(Se=z.replace(W,"$&/")+"/"),J(Be,ce,Se,"",function(M){return M})):Be!=null&&(H(Be)&&(Be=$(Be,Se+(!Be.key||oe&&oe.key===Be.key?"":(""+Be.key).replace(W,"$&/")+"/")+z)),ce.push(Be)),1;if(oe=0,Le=Le===""?".":Le+":",x(z))for(var O=0;O<z.length;O++){Xe=z[O];var I=Le+X(Xe,O);oe+=J(Xe,ce,Se,I,Be)}else if(I=p(z),typeof I=="function")for(z=I.call(z),O=0;!(Xe=z.next()).done;)Xe=Xe.value,I=Le+X(Xe,O++),oe+=J(Xe,ce,Se,I,Be);else if(Xe==="object")throw ce=String(z),Error("Objects are not valid as a React child (found: "+(ce==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":ce)+"). If you meant to render a collection of children, use an array instead.");return oe}function ie(z,ce,Se){if(z==null)return z;var Le=[],Be=0;return J(z,Le,"","",function(Xe){return ce.call(Se,Xe,Be++)}),Le}function ne(z){if(z._status===-1){var ce=z._result;ce=ce(),ce.then(function(Se){(z._status===0||z._status===-1)&&(z._status=1,z._result=Se)},function(Se){(z._status===0||z._status===-1)&&(z._status=2,z._result=Se)}),z._status===-1&&(z._status=0,z._result=ce)}if(z._status===1)return z._result.default;throw z._result}var pe={current:null},K={transition:null},te={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:K,ReactCurrentOwner:P};return an.Children={map:ie,forEach:function(z,ce,Se){ie(z,function(){ce.apply(this,arguments)},Se)},count:function(z){var ce=0;return ie(z,function(){ce++}),ce},toArray:function(z){return ie(z,function(ce){return ce})||[]},only:function(z){if(!H(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},an.Component=_,an.Fragment=r,an.Profiler=i,an.PureComponent=T,an.StrictMode=n,an.Suspense=l,an.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,an.cloneElement=function(z,ce,Se){if(z==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+z+".");var Le=S({},z.props),Be=z.key,Xe=z.ref,oe=z._owner;if(ce!=null){if(ce.ref!==void 0&&(Xe=ce.ref,oe=P.current),ce.key!==void 0&&(Be=""+ce.key),z.type&&z.type.defaultProps)var O=z.type.defaultProps;for(I in ce)R.call(ce,I)&&!y.hasOwnProperty(I)&&(Le[I]=ce[I]===void 0&&O!==void 0?O[I]:ce[I])}var I=arguments.length-2;if(I===1)Le.children=Se;else if(1<I){O=Array(I);for(var M=0;M<I;M++)O[M]=arguments[M+2];Le.children=O}return{$$typeof:e,type:z.type,key:Be,ref:Xe,props:Le,_owner:oe}},an.createContext=function(z){return z={$$typeof:a,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},z.Provider={$$typeof:o,_context:z},z.Consumer=z},an.createElement=N,an.createFactory=function(z){var ce=N.bind(null,z);return ce.type=z,ce},an.createRef=function(){return{current:null}},an.forwardRef=function(z){return{$$typeof:u,render:z}},an.isValidElement=H,an.lazy=function(z){return{$$typeof:d,_payload:{_status:-1,_result:z},_init:ne}},an.memo=function(z,ce){return{$$typeof:f,type:z,compare:ce===void 0?null:ce}},an.startTransition=function(z){var ce=K.transition;K.transition={};try{z()}finally{K.transition=ce}},an.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},an.useCallback=function(z,ce){return pe.current.useCallback(z,ce)},an.useContext=function(z){return pe.current.useContext(z)},an.useDebugValue=function(){},an.useDeferredValue=function(z){return pe.current.useDeferredValue(z)},an.useEffect=function(z,ce){return pe.current.useEffect(z,ce)},an.useId=function(){return pe.current.useId()},an.useImperativeHandle=function(z,ce,Se){return pe.current.useImperativeHandle(z,ce,Se)},an.useInsertionEffect=function(z,ce){return pe.current.useInsertionEffect(z,ce)},an.useLayoutEffect=function(z,ce){return pe.current.useLayoutEffect(z,ce)},an.useMemo=function(z,ce){return pe.current.useMemo(z,ce)},an.useReducer=function(z,ce,Se){return pe.current.useReducer(z,ce,Se)},an.useRef=function(z){return pe.current.useRef(z)},an.useState=function(z){return pe.current.useState(z)},an.useSyncExternalStore=function(z,ce,Se){return pe.current.useSyncExternalStore(z,ce,Se)},an.useTransition=function(){return pe.current.useTransition()},an.version="18.1.0",an}var X9;function Cc(){return X9||(X9=1,SA.exports=cEe()),SA.exports}var ye=Cc();const kr=Hn(ye);var wA={exports:{}},bA={};/**
|
|
61
|
-
* @license React
|
|
62
|
-
* use-sync-external-store-shim.production.js
|
|
63
|
-
*
|
|
64
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the MIT license found in the
|
|
67
|
-
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/var Q9;function fEe(){if(Q9)return bA;Q9=1;var e=Cc();function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function u(h,p){var m=p(),S=n({inst:{value:m,getSnapshot:p}}),E=S[0].inst,_=S[1];return o(function(){E.value=m,E.getSnapshot=p,l(E)&&_({inst:E})},[h,m,p]),i(function(){return l(E)&&_({inst:E}),h(function(){l(E)&&_({inst:E})})},[h]),a(m),m}function l(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!r(h,m)}catch{return!0}}function f(h,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return bA.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,bA}var J9;function Iee(){return J9||(J9=1,wA.exports=fEe()),wA.exports}Iee();var TA={exports:{}},AA={};/**
|
|
69
|
-
* @license React
|
|
70
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
71
|
-
*
|
|
72
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
73
|
-
*
|
|
74
|
-
* This source code is licensed under the MIT license found in the
|
|
75
|
-
* LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/var Z9;function dEe(){if(Z9)return AA;Z9=1;var e=Cc(),t=Iee();function r(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,o=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return AA.useSyncExternalStoreWithSelector=function(f,d,h,p,m){var S=o(null);if(S.current===null){var E={hasValue:!1,value:null};S.current=E}else E=S.current;S=u(function(){function w(P){if(!T){if(T=!0,C=P,P=p(P),m!==void 0&&E.hasValue){var y=E.value;if(m(y,P))return x=y}return x=P}if(y=x,n(C,P))return y;var N=p(P);return m!==void 0&&m(y,N)?(C=P,y):(C=P,x=N)}var T=!1,C,x,R=h===void 0?null:h;return[function(){return w(d())},R===null?void 0:function(){return w(R())}]},[d,h,p,m]);var _=i(f,S[0],S[1]);return a(function(){E.hasValue=!0,E.value=_},[_]),l(_),_},AA}var eW;function hEe(){return eW||(eW=1,TA.exports=dEe()),TA.exports}var pEe=hEe(),RA={exports:{}},eo={},xA={exports:{}},CA={};/**
|
|
77
|
-
* @license React
|
|
78
|
-
* scheduler.production.min.js
|
|
79
|
-
*
|
|
80
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
81
|
-
*
|
|
82
|
-
* This source code is licensed under the MIT license found in the
|
|
83
|
-
* LICENSE file in the root directory of this source tree.
|
|
84
|
-
*/var tW;function vEe(){return tW||(tW=1,(function(e){function t(K,te){var z=K.length;K.push(te);e:for(;0<z;){var ce=z-1>>>1,Se=K[ce];if(0<i(Se,te))K[ce]=te,K[z]=Se,z=ce;else break e}}function r(K){return K.length===0?null:K[0]}function n(K){if(K.length===0)return null;var te=K[0],z=K.pop();if(z!==te){K[0]=z;e:for(var ce=0,Se=K.length,Le=Se>>>1;ce<Le;){var Be=2*(ce+1)-1,Xe=K[Be],oe=Be+1,O=K[oe];if(0>i(Xe,z))oe<Se&&0>i(O,Xe)?(K[ce]=O,K[oe]=z,ce=oe):(K[ce]=Xe,K[Be]=z,ce=Be);else if(oe<Se&&0>i(O,z))K[ce]=O,K[oe]=z,ce=oe;else break e}}return te}function i(K,te){var z=K.sortIndex-te.sortIndex;return z!==0?z:K.id-te.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],f=[],d=1,h=null,p=3,m=!1,S=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(K){for(var te=r(f);te!==null;){if(te.callback===null)n(f);else if(te.startTime<=K)n(f),te.sortIndex=te.expirationTime,t(l,te);else break;te=r(f)}}function x(K){if(E=!1,C(K),!S)if(r(l)!==null)S=!0,ne(R);else{var te=r(f);te!==null&&pe(x,te.startTime-K)}}function R(K,te){S=!1,E&&(E=!1,w(N),N=-1),m=!0;var z=p;try{for(C(te),h=r(l);h!==null&&(!(h.expirationTime>te)||K&&!B());){var ce=h.callback;if(typeof ce=="function"){h.callback=null,p=h.priorityLevel;var Se=ce(h.expirationTime<=te);te=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===r(l)&&n(l),C(te)}else n(l);h=r(l)}if(h!==null)var Le=!0;else{var Be=r(f);Be!==null&&pe(x,Be.startTime-te),Le=!1}return Le}finally{h=null,p=z,m=!1}}var P=!1,y=null,N=-1,$=5,H=-1;function B(){return!(e.unstable_now()-H<$)}function W(){if(y!==null){var K=e.unstable_now();H=K;var te=!0;try{te=y(!0,K)}finally{te?X():(P=!1,y=null)}}else P=!1}var X;if(typeof T=="function")X=function(){T(W)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,ie=J.port2;J.port1.onmessage=W,X=function(){ie.postMessage(null)}}else X=function(){_(W,0)};function ne(K){y=K,P||(P=!0,X())}function pe(K,te){N=_(function(){K(e.unstable_now())},te)}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(K){K.callback=null},e.unstable_continueExecution=function(){S||m||(S=!0,ne(R))},e.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<K?Math.floor(1e3/K):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(K){switch(p){case 1:case 2:case 3:var te=3;break;default:te=p}var z=p;p=te;try{return K()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(K,te){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var z=p;p=K;try{return te()}finally{p=z}},e.unstable_scheduleCallback=function(K,te,z){var ce=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?ce+z:ce):z=ce,K){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=z+Se,K={id:d++,callback:te,priorityLevel:K,startTime:z,expirationTime:Se,sortIndex:-1},z>ce?(K.sortIndex=z,t(f,K),r(l)===null&&K===r(f)&&(E?(w(N),N=-1):E=!0,pe(x,z-ce))):(K.sortIndex=Se,t(l,K),S||m||(S=!0,ne(R))),K},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(K){var te=p;return function(){var z=p;p=te;try{return K.apply(this,arguments)}finally{p=z}}}})(CA)),CA}var rW;function gEe(){return rW||(rW=1,xA.exports=vEe()),xA.exports}/**
|
|
85
|
-
* @license React
|
|
86
|
-
* react-dom.production.min.js
|
|
87
|
-
*
|
|
88
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the MIT license found in the
|
|
91
|
-
* LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/var nW;function mEe(){if(nW)return eo;nW=1;var e=Cc(),t=gEe();function r(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,v=1;v<arguments.length;v++)c+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+s+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function o(s,c){a(s,c),a(s+"Capture",c)}function a(s,c){for(i[s]=c,s=0;s<c.length;s++)n.add(c[s])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function p(s){return l.call(h,s)?!0:l.call(d,s)?!1:f.test(s)?h[s]=!0:(d[s]=!0,!1)}function m(s,c,v,b){if(v!==null&&v.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return b?!1:v!==null?!v.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function S(s,c,v,b){if(c===null||typeof c>"u"||m(s,c,v,b))return!0;if(b)return!1;if(v!==null)switch(v.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function E(s,c,v,b,L,V,he){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=b,this.attributeNamespace=L,this.mustUseProperty=v,this.propertyName=s,this.type=c,this.sanitizeURL=V,this.removeEmptyString=he}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){_[s]=new E(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];_[c]=new E(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){_[s]=new E(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){_[s]=new E(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){_[s]=new E(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){_[s]=new E(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){_[s]=new E(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){_[s]=new E(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){_[s]=new E(s,5,!1,s.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function T(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(w,T);_[c]=new E(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){_[s]=new E(s,1,!1,s.toLowerCase(),null,!1,!1)}),_.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){_[s]=new E(s,1,!1,s.toLowerCase(),null,!0,!0)});function C(s,c,v,b){var L=_.hasOwnProperty(c)?_[c]:null;(L!==null?L.type!==0:b||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(S(c,v,L,b)&&(v=null),b||L===null?p(c)&&(v===null?s.removeAttribute(c):s.setAttribute(c,""+v)):L.mustUseProperty?s[L.propertyName]=v===null?L.type===3?!1:"":v:(c=L.attributeName,b=L.attributeNamespace,v===null?s.removeAttribute(c):(L=L.type,v=L===3||L===4&&v===!0?"":""+v,b?s.setAttributeNS(b,c,v):s.setAttribute(c,v))))}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),P=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),B=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),K=Symbol.iterator;function te(s){return s===null||typeof s!="object"?null:(s=K&&s[K]||s["@@iterator"],typeof s=="function"?s:null)}var z=Object.assign,ce;function Se(s){if(ce===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);ce=c&&c[1]||""}return`
|
|
93
|
-
`+ce+s}var Le=!1;function Be(s,c){if(!s||Le)return"";Le=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(gt){var b=gt}Reflect.construct(s,[],c)}else{try{c.call()}catch(gt){b=gt}s.call(c.prototype)}else{try{throw Error()}catch(gt){b=gt}s()}}catch(gt){if(gt&&b&&typeof gt.stack=="string"){for(var L=gt.stack.split(`
|
|
94
|
-
`),V=b.stack.split(`
|
|
95
|
-
`),he=L.length-1,xe=V.length-1;1<=he&&0<=xe&&L[he]!==V[xe];)xe--;for(;1<=he&&0<=xe;he--,xe--)if(L[he]!==V[xe]){if(he!==1||xe!==1)do if(he--,xe--,0>xe||L[he]!==V[xe]){var Ve=`
|
|
96
|
-
`+L[he].replace(" at new "," at ");return s.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",s.displayName)),Ve}while(1<=he&&0<=xe);break}}}finally{Le=!1,Error.prepareStackTrace=v}return(s=s?s.displayName||s.name:"")?Se(s):""}function Xe(s){switch(s.tag){case 5:return Se(s.type);case 16:return Se("Lazy");case 13:return Se("Suspense");case 19:return Se("SuspenseList");case 0:case 2:case 15:return s=Be(s.type,!1),s;case 11:return s=Be(s.type.render,!1),s;case 1:return s=Be(s.type,!0),s;default:return""}}function oe(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case y:return"Fragment";case P:return"Portal";case $:return"Profiler";case N:return"StrictMode";case X:return"Suspense";case J:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case B:return(s.displayName||"Context")+".Consumer";case H:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ie:return c=s.displayName||null,c!==null?c:oe(s.type)||"Memo";case ne:c=s._payload,s=s._init;try{return oe(s(c))}catch{}}return null}function O(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oe(c);case 8:return c===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function I(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function M(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function k(s){var c=M(s)?"checked":"value",v=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),b=""+s[c];if(!s.hasOwnProperty(c)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var L=v.get,V=v.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return L.call(this)},set:function(he){b=""+he,V.call(this,he)}}),Object.defineProperty(s,c,{enumerable:v.enumerable}),{getValue:function(){return b},setValue:function(he){b=""+he},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function U(s){s._valueTracker||(s._valueTracker=k(s))}function Y(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var v=c.getValue(),b="";return s&&(b=M(s)?s.checked?"true":"false":s.value),s=b,s!==v?(c.setValue(s),!0):!1}function ae(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Ee(s,c){var v=c.checked;return z({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??s._wrapperState.initialChecked})}function me(s,c){var v=c.defaultValue==null?"":c.defaultValue,b=c.checked!=null?c.checked:c.defaultChecked;v=I(c.value!=null?c.value:v),s._wrapperState={initialChecked:b,initialValue:v,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Ce(s,c){c=c.checked,c!=null&&C(s,"checked",c,!1)}function be(s,c){Ce(s,c);var v=I(c.value),b=c.type;if(v!=null)b==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=""+v):s.value!==""+v&&(s.value=""+v);else if(b==="submit"||b==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?Fe(s,c.type,v):c.hasOwnProperty("defaultValue")&&Fe(s,c.type,I(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function Ie(s,c,v){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var b=c.type;if(!(b!=="submit"&&b!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,v||c===s.value||(s.value=c),s.defaultValue=c}v=s.name,v!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,v!==""&&(s.name=v)}function Fe(s,c,v){(c!=="number"||ae(s.ownerDocument)!==s)&&(v==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+v&&(s.defaultValue=""+v))}var ve=Array.isArray;function _e(s,c,v,b){if(s=s.options,c){c={};for(var L=0;L<v.length;L++)c["$"+v[L]]=!0;for(v=0;v<s.length;v++)L=c.hasOwnProperty("$"+s[v].value),s[v].selected!==L&&(s[v].selected=L),L&&b&&(s[v].defaultSelected=!0)}else{for(v=""+I(v),c=null,L=0;L<s.length;L++){if(s[L].value===v){s[L].selected=!0,b&&(s[L].defaultSelected=!0);return}c!==null||s[L].disabled||(c=s[L])}c!==null&&(c.selected=!0)}}function we(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(r(91));return z({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function ke(s,c){var v=c.value;if(v==null){if(v=c.children,c=c.defaultValue,v!=null){if(c!=null)throw Error(r(92));if(ve(v)){if(1<v.length)throw Error(r(93));v=v[0]}c=v}c==null&&(c=""),v=c}s._wrapperState={initialValue:I(v)}}function qe(s,c){var v=I(c.value),b=I(c.defaultValue);v!=null&&(v=""+v,v!==s.value&&(s.value=v),c.defaultValue==null&&s.defaultValue!==v&&(s.defaultValue=v)),b!=null&&(s.defaultValue=""+b)}function Ue(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function We(s){switch(s){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ct(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?We(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var jt,Gt=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,v,b,L){MSApp.execUnsafeLocalFunction(function(){return s(c,v,b,L)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(jt=jt||document.createElement("div"),jt.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=jt.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function et(s,c){if(c){var v=s.firstChild;if(v&&v===s.lastChild&&v.nodeType===3){v.nodeValue=c;return}}s.textContent=c}var Rt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Et=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(s){Et.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Rt[c]=Rt[s]})});function st(s,c,v){return c==null||typeof c=="boolean"||c===""?"":v||typeof c!="number"||c===0||Rt.hasOwnProperty(s)&&Rt[s]?(""+c).trim():c+"px"}function ft(s,c){s=s.style;for(var v in c)if(c.hasOwnProperty(v)){var b=v.indexOf("--")===0,L=st(v,c[v],b);v==="float"&&(v="cssFloat"),b?s.setProperty(v,L):s[v]=L}}var mt=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Qt(s,c){if(c){if(mt[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(r(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(r(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(c.style!=null&&typeof c.style!="object")throw Error(r(62))}}function Nt(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ae=null;function tt(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var lt=null,Tt=null,Lt=null;function ar(s){if(s=Td(s)){if(typeof lt!="function")throw Error(r(280));var c=s.stateNode;c&&(c=Tp(c),lt(s.stateNode,s.type,c))}}function dr(s){Tt?Lt?Lt.push(s):Lt=[s]:Tt=s}function rr(){if(Tt){var s=Tt,c=Lt;if(Lt=Tt=null,ar(s),c)for(s=0;s<c.length;s++)ar(c[s])}}function gr(s,c){return s(c)}function Dr(){}var Ur=!1;function Pn(s,c,v){if(Ur)return s(c,v);Ur=!0;try{return gr(s,c,v)}finally{Ur=!1,(Tt!==null||Lt!==null)&&(Dr(),rr())}}function kn(s,c){var v=s.stateNode;if(v===null)return null;var b=Tp(v);if(b===null)return null;v=b[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(b=!b.disabled)||(s=s.type,b=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!b;break e;default:s=!1}if(s)return null;if(v&&typeof v!="function")throw Error(r(231,c,typeof v));return v}var Fn=!1;if(u)try{var fn={};Object.defineProperty(fn,"passive",{get:function(){Fn=!0}}),window.addEventListener("test",fn,fn),window.removeEventListener("test",fn,fn)}catch{Fn=!1}function Wn(s,c,v,b,L,V,he,xe,Ve){var gt=Array.prototype.slice.call(arguments,3);try{c.apply(v,gt)}catch(Mt){this.onError(Mt)}}var Xn=!1,ui=null,ti=!1,Si=null,Ri={onError:function(s){Xn=!0,ui=s}};function _n(s,c,v,b,L,V,he,xe,Ve){Xn=!1,ui=null,Wn.apply(Ri,arguments)}function Gn(s,c,v,b,L,V,he,xe,Ve){if(_n.apply(this,arguments),Xn){if(Xn){var gt=ui;Xn=!1,ui=null}else throw Error(r(198));ti||(ti=!0,Si=gt)}}function di(s){var c=s,v=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(v=c.return),s=c.return;while(s)}return c.tag===3?v:null}function li(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function at(s){if(di(s)!==s)throw Error(r(188))}function kt(s){var c=s.alternate;if(!c){if(c=di(s),c===null)throw Error(r(188));return c!==s?null:s}for(var v=s,b=c;;){var L=v.return;if(L===null)break;var V=L.alternate;if(V===null){if(b=L.return,b!==null){v=b;continue}break}if(L.child===V.child){for(V=L.child;V;){if(V===v)return at(L),s;if(V===b)return at(L),c;V=V.sibling}throw Error(r(188))}if(v.return!==b.return)v=L,b=V;else{for(var he=!1,xe=L.child;xe;){if(xe===v){he=!0,v=L,b=V;break}if(xe===b){he=!0,b=L,v=V;break}xe=xe.sibling}if(!he){for(xe=V.child;xe;){if(xe===v){he=!0,v=V,b=L;break}if(xe===b){he=!0,b=V,v=L;break}xe=xe.sibling}if(!he)throw Error(r(189))}}if(v.alternate!==b)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?s:c}function vt(s){return s=kt(s),s!==null?Je(s):null}function Je(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Je(s);if(c!==null)return c;s=s.sibling}return null}var se=t.unstable_scheduleCallback,rt=t.unstable_cancelCallback,He=t.unstable_shouldYield,bt=t.unstable_requestPaint,yt=t.unstable_now,Ht=t.unstable_getCurrentPriorityLevel,Kt=t.unstable_ImmediatePriority,wt=t.unstable_UserBlockingPriority,_r=t.unstable_NormalPriority,Hr=t.unstable_LowPriority,dn=t.unstable_IdlePriority,Dt=null,zr=null;function Dn(s){if(zr&&typeof zr.onCommitFiberRoot=="function")try{zr.onCommitFiberRoot(Dt,s,void 0,(s.current.flags&128)===128)}catch{}}var Tn=Math.clz32?Math.clz32:Fi,Ba=Math.log,Qn=Math.LN2;function Fi(s){return s>>>=0,s===0?32:31-(Ba(s)/Qn|0)|0}var ji=64,co=4194304;function Ra(s){switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function da(s,c){var v=s.pendingLanes;if(v===0)return 0;var b=0,L=s.suspendedLanes,V=s.pingedLanes,he=v&268435455;if(he!==0){var xe=he&~L;xe!==0?b=Ra(xe):(V&=he,V!==0&&(b=Ra(V)))}else he=v&~L,he!==0?b=Ra(he):V!==0&&(b=Ra(V));if(b===0)return 0;if(c!==0&&c!==b&&(c&L)===0&&(L=b&-b,V=c&-c,L>=V||L===16&&(V&4194240)!==0))return c;if((b&4)!==0&&(b|=v&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=b;0<c;)v=31-Tn(c),L=1<<v,b|=s[v],c&=~L;return b}function F(s,c){switch(s){case 1:case 2:case 4:return c+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ee(s,c){for(var v=s.suspendedLanes,b=s.pingedLanes,L=s.expirationTimes,V=s.pendingLanes;0<V;){var he=31-Tn(V),xe=1<<he,Ve=L[he];Ve===-1?((xe&v)===0||(xe&b)!==0)&&(L[he]=F(xe,c)):Ve<=c&&(s.expiredLanes|=xe),V&=~xe}}function ge(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function Me(){var s=ji;return ji<<=1,(ji&4194240)===0&&(ji=64),s}function ht(s){for(var c=[],v=0;31>v;v++)c.push(s);return c}function nt(s,c,v){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-Tn(c),s[c]=v}function Ct(s,c){var v=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var b=s.eventTimes;for(s=s.expirationTimes;0<v;){var L=31-Tn(v),V=1<<L;c[L]=0,b[L]=-1,s[L]=-1,v&=~V}}function Bt(s,c){var v=s.entangledLanes|=c;for(s=s.entanglements;v;){var b=31-Tn(v),L=1<<b;L&c|s[b]&c&&(s[b]|=c),v&=~L}}var Xt=0;function mr(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var Tr,An,hi,pi,$o,ws=!1,Fo=[],xa=null,ri=null,ha=null,Ca=new Map,nn=new Map,zi=[],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 ho(s,c){switch(s){case"focusin":case"focusout":xa=null;break;case"dragenter":case"dragleave":ri=null;break;case"mouseover":case"mouseout":ha=null;break;case"pointerover":case"pointerout":Ca.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":nn.delete(c.pointerId)}}function ki(s,c,v,b,L,V){return s===null||s.nativeEvent!==V?(s={blockedOn:c,domEventName:v,eventSystemFlags:b,nativeEvent:V,targetContainers:[L]},c!==null&&(c=Td(c),c!==null&&An(c)),s):(s.eventSystemFlags|=b,c=s.targetContainers,L!==null&&c.indexOf(L)===-1&&c.push(L),s)}function as(s,c,v,b,L){switch(c){case"focusin":return xa=ki(xa,s,c,v,b,L),!0;case"dragenter":return ri=ki(ri,s,c,v,b,L),!0;case"mouseover":return ha=ki(ha,s,c,v,b,L),!0;case"pointerover":var V=L.pointerId;return Ca.set(V,ki(Ca.get(V)||null,s,c,v,b,L)),!0;case"gotpointercapture":return V=L.pointerId,nn.set(V,ki(nn.get(V)||null,s,c,v,b,L)),!0}return!1}function Oa(s){var c=El(s.target);if(c!==null){var v=di(c);if(v!==null){if(c=v.tag,c===13){if(c=li(v),c!==null){s.blockedOn=c,$o(s.priority,function(){hi(v)});return}}else if(c===3&&v.stateNode.current.memoizedState.isDehydrated){s.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}s.blockedOn=null}function jo(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var v=ss(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(v===null){v=s.nativeEvent;var b=new v.constructor(v.type,v);Ae=b,v.target.dispatchEvent(b),Ae=null}else return c=Td(v),c!==null&&An(c),s.blockedOn=v,!1;c.shift()}return!0}function os(s,c,v){jo(s)&&v.delete(c)}function Ws(){ws=!1,xa!==null&&jo(xa)&&(xa=null),ri!==null&&jo(ri)&&(ri=null),ha!==null&&jo(ha)&&(ha=null),Ca.forEach(os),nn.forEach(os)}function Ia(s,c){s.blockedOn===c&&(s.blockedOn=null,ws||(ws=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ws)))}function Va(s){function c(L){return Ia(L,s)}if(0<Fo.length){Ia(Fo[0],s);for(var v=1;v<Fo.length;v++){var b=Fo[v];b.blockedOn===s&&(b.blockedOn=null)}}for(xa!==null&&Ia(xa,s),ri!==null&&Ia(ri,s),ha!==null&&Ia(ha,s),Ca.forEach(c),nn.forEach(c),v=0;v<zi.length;v++)b=zi[v],b.blockedOn===s&&(b.blockedOn=null);for(;0<zi.length&&(v=zi[0],v.blockedOn===null);)Oa(v),v.blockedOn===null&&zi.shift()}var wi=x.ReactCurrentBatchConfig,Wi=!0;function Gs(s,c,v,b){var L=Xt,V=wi.transition;wi.transition=null;try{Xt=1,vo(s,c,v,b)}finally{Xt=L,wi.transition=V}}function po(s,c,v,b){var L=Xt,V=wi.transition;wi.transition=null;try{Xt=4,vo(s,c,v,b)}finally{Xt=L,wi.transition=V}}function vo(s,c,v,b){if(Wi){var L=ss(s,c,v,b);if(L===null)Ay(s,c,b,Gi,v),ho(s,b);else if(as(L,s,c,v,b))b.stopPropagation();else if(ho(s,b),c&4&&-1<fo.indexOf(s)){for(;L!==null;){var V=Td(L);if(V!==null&&Tr(V),V=ss(s,c,v,b),V===null&&Ay(s,c,b,Gi,v),V===L)break;L=V}L!==null&&b.stopPropagation()}else Ay(s,c,b,null,v)}}var Gi=null;function ss(s,c,v,b){if(Gi=null,s=tt(b),s=El(s),s!==null)if(c=di(s),c===null)s=null;else if(v=c.tag,v===13){if(s=li(c),s!==null)return s;s=null}else if(v===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Gi=s,null}function Ks(s){switch(s){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ht()){case Kt:return 1;case wt:return 4;case _r:case Hr:return 16;case dn:return 536870912;default:return 16}default:return 16}}var vi=null,Ki=null,Ha=null;function go(){if(Ha)return Ha;var s,c=Ki,v=c.length,b,L="value"in vi?vi.value:vi.textContent,V=L.length;for(s=0;s<v&&c[s]===L[s];s++);var he=v-s;for(b=1;b<=he&&c[v-b]===L[V-b];b++);return Ha=L.slice(s,1<b?1-b:void 0)}function za(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Wa(){return!0}function g(){return!1}function A(s){function c(v,b,L,V,he){this._reactName=v,this._targetInst=L,this.type=b,this.nativeEvent=V,this.target=he,this.currentTarget=null;for(var xe in s)s.hasOwnProperty(xe)&&(v=s[xe],this[xe]=v?v(V):V[xe]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?Wa:g,this.isPropagationStopped=g,this}return z(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=Wa)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=Wa)},persist:function(){},isPersistent:Wa}),c}var D={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},q=A(D),Q=z({},D,{view:0,detail:0}),re=A(Q),ue,Ne,Oe,Ge=z({},Q,{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(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Oe&&(Oe&&s.type==="mousemove"?(ue=s.screenX-Oe.screenX,Ne=s.screenY-Oe.screenY):Ne=ue=0,Oe=s),ue)},movementY:function(s){return"movementY"in s?s.movementY:Ne}}),St=A(Ge),xt=z({},Ge,{dataTransfer:0}),ut=A(xt),$t=z({},Q,{relatedTarget:0}),Er=A($t),Kr=z({},D,{animationName:0,elapsedTime:0,pseudoElement:0}),Lr=A(Kr),jn=z({},D,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Jn=A(jn),j=z({},D,{data:0}),Z=A(j),fe={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pe={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 Ze(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=Qe[s])?!!c[s]:!1}function Ot(){return Ze}var Vt=z({},Q,{key:function(s){if(s.key){var c=fe[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=za(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Pe[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ot,charCode:function(s){return s.type==="keypress"?za(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?za(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),fr=A(Vt),Mr=z({},Ge,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sr=A(Mr),En=z({},Q,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ot}),Kn=A(En),Rn=z({},D,{propertyName:0,elapsedTime:0,pseudoElement:0}),yl=A(Rn),Pa=z({},Ge,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),G=A(Pa),le=[9,13,27,32],Re=u&&"CompositionEvent"in window,De=null;u&&"documentMode"in document&&(De=document.documentMode);var je=u&&"TextEvent"in window&&!De,Ke=u&&(!Re||De&&8<De&&11>=De),At=" ",Wt=!1;function $r(s,c){switch(s){case"keyup":return le.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Or(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Un=!1;function ni(s,c){switch(s){case"compositionend":return Or(c);case"keypress":return c.which!==32?null:(Wt=!0,At);case"textInput":return s=c.data,s===At&&Wt?null:s;default:return null}}function Cu(s,c){if(Un)return s==="compositionend"||!Re&&$r(s,c)?(s=go(),Ha=Ki=vi=null,Un=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return Ke&&c.locale!=="ko"?null:c.data;default:return null}}var mo={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 gd(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!mo[s.type]:c==="textarea"}function Ou(s,c,v,b){dr(b),c=Sp(c,"onChange"),0<c.length&&(v=new q("onChange","change",null,v,b),s.push({event:v,listeners:c}))}var bs=null,Ts=null;function md(s){EP(s,0)}function Mc(s){var c=Vc(s);if(Y(c))return s}function $c(s,c){if(s==="change")return c}var Fc=!1;if(u){var _l;if(u){var yd="oninput"in document;if(!yd){var jc=document.createElement("div");jc.setAttribute("oninput","return;"),yd=typeof jc.oninput=="function"}_l=yd}else _l=!1;Fc=_l&&(!document.documentMode||9<document.documentMode)}function _d(){bs&&(bs.detachEvent("onpropertychange",Te),Ts=bs=null)}function Te(s){if(s.propertyName==="value"&&Mc(Ts)){var c=[];Ou(c,Ts,s,tt(s)),Pn(md,c)}}function ze(s,c,v){s==="focusin"?(_d(),bs=c,Ts=v,bs.attachEvent("onpropertychange",Te)):s==="focusout"&&_d()}function dt(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Mc(Ts)}function _t(s,c){if(s==="click")return Mc(c)}function It(s,c){if(s==="input"||s==="change")return Mc(c)}function Jt(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var er=typeof Object.is=="function"?Object.is:Jt;function sr(s,c){if(er(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var v=Object.keys(s),b=Object.keys(c);if(v.length!==b.length)return!1;for(b=0;b<v.length;b++){var L=v[b];if(!l.call(c,L)||!er(s[L],c[L]))return!1}return!0}function ir(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Jr(s,c){var v=ir(s);s=0;for(var b;v;){if(v.nodeType===3){if(b=s+v.textContent.length,s<=c&&b>=c)return{node:v,offset:c-s};s=b}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=ir(v)}}function Ir(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?Ir(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function Fr(){for(var s=window,c=ae();c instanceof s.HTMLIFrameElement;){try{var v=typeof c.contentWindow.location.href=="string"}catch{v=!1}if(v)s=c.contentWindow;else break;c=ae(s.document)}return c}function Xr(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function wr(s){var c=Fr(),v=s.focusedElem,b=s.selectionRange;if(c!==v&&v&&v.ownerDocument&&Ir(v.ownerDocument.documentElement,v)){if(b!==null&&Xr(v)){if(c=b.start,s=b.end,s===void 0&&(s=c),"selectionStart"in v)v.selectionStart=c,v.selectionEnd=Math.min(s,v.value.length);else if(s=(c=v.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var L=v.textContent.length,V=Math.min(b.start,L);b=b.end===void 0?V:Math.min(b.end,L),!s.extend&&V>b&&(L=b,b=V,V=L),L=Jr(v,V);var he=Jr(v,b);L&&he&&(s.rangeCount!==1||s.anchorNode!==L.node||s.anchorOffset!==L.offset||s.focusNode!==he.node||s.focusOffset!==he.offset)&&(c=c.createRange(),c.setStart(L.node,L.offset),s.removeAllRanges(),V>b?(s.addRange(c),s.extend(he.node,he.offset)):(c.setEnd(he.node,he.offset),s.addRange(c)))}}for(c=[],s=v;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<c.length;v++)s=c[v],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var qn=u&&"documentMode"in document&&11>=document.documentMode,xi=null,Di=null,Yi=null,Ga=!1;function Ys(s,c,v){var b=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;Ga||xi==null||xi!==ae(b)||(b=xi,"selectionStart"in b&&Xr(b)?b={start:b.selectionStart,end:b.selectionEnd}:(b=(b.ownerDocument&&b.ownerDocument.defaultView||window).getSelection(),b={anchorNode:b.anchorNode,anchorOffset:b.anchorOffset,focusNode:b.focusNode,focusOffset:b.focusOffset}),Yi&&sr(Yi,b)||(Yi=b,b=Sp(Di,"onSelect"),0<b.length&&(c=new q("onSelect","select",null,c,v),s.push({event:c,listeners:b}),c.target=xi)))}function Li(s,c){var v={};return v[s.toLowerCase()]=c.toLowerCase(),v["Webkit"+s]="webkit"+c,v["Moz"+s]="moz"+c,v}var Uc={animationend:Li("Animation","AnimationEnd"),animationiteration:Li("Animation","AnimationIteration"),animationstart:Li("Animation","AnimationStart"),transitionend:Li("Transition","TransitionEnd")},Sy={},dP={};u&&(dP=document.createElement("div").style,"AnimationEvent"in window||(delete Uc.animationend.animation,delete Uc.animationiteration.animation,delete Uc.animationstart.animation),"TransitionEvent"in window||delete Uc.transitionend.transition);function _p(s){if(Sy[s])return Sy[s];if(!Uc[s])return s;var c=Uc[s],v;for(v in c)if(c.hasOwnProperty(v)&&v in dP)return Sy[s]=c[v];return s}var hP=_p("animationend"),pP=_p("animationiteration"),vP=_p("animationstart"),gP=_p("transitionend"),mP=new Map,yP="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 Iu(s,c){mP.set(s,c),o(c,[s])}for(var wy=0;wy<yP.length;wy++){var by=yP[wy],jne=by.toLowerCase(),Une=by[0].toUpperCase()+by.slice(1);Iu(jne,"on"+Une)}Iu(hP,"onAnimationEnd"),Iu(pP,"onAnimationIteration"),Iu(vP,"onAnimationStart"),Iu("dblclick","onDoubleClick"),Iu("focusin","onFocus"),Iu("focusout","onBlur"),Iu(gP,"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 Ed="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(" "),qne=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ed));function _P(s,c,v){var b=s.type||"unknown-event";s.currentTarget=v,Gn(b,c,void 0,s),s.currentTarget=null}function EP(s,c){c=(c&4)!==0;for(var v=0;v<s.length;v++){var b=s[v],L=b.event;b=b.listeners;e:{var V=void 0;if(c)for(var he=b.length-1;0<=he;he--){var xe=b[he],Ve=xe.instance,gt=xe.currentTarget;if(xe=xe.listener,Ve!==V&&L.isPropagationStopped())break e;_P(L,xe,gt),V=Ve}else for(he=0;he<b.length;he++){if(xe=b[he],Ve=xe.instance,gt=xe.currentTarget,xe=xe.listener,Ve!==V&&L.isPropagationStopped())break e;_P(L,xe,gt),V=Ve}}}if(ti)throw s=Si,ti=!1,Si=null,s}function ii(s,c){var v=c[Py];v===void 0&&(v=c[Py]=new Set);var b=s+"__bubble";v.has(b)||(SP(c,s,2,!1),v.add(b))}function Ty(s,c,v){var b=0;c&&(b|=4),SP(v,s,b,c)}var Ep="_reactListening"+Math.random().toString(36).slice(2);function Sd(s){if(!s[Ep]){s[Ep]=!0,n.forEach(function(v){v!=="selectionchange"&&(qne.has(v)||Ty(v,!1,s),Ty(v,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[Ep]||(c[Ep]=!0,Ty("selectionchange",!1,c))}}function SP(s,c,v,b){switch(Ks(c)){case 1:var L=Gs;break;case 4:L=po;break;default:L=vo}v=L.bind(null,c,v,s),L=void 0,!Fn||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(L=!0),b?L!==void 0?s.addEventListener(c,v,{capture:!0,passive:L}):s.addEventListener(c,v,!0):L!==void 0?s.addEventListener(c,v,{passive:L}):s.addEventListener(c,v,!1)}function Ay(s,c,v,b,L){var V=b;if((c&1)===0&&(c&2)===0&&b!==null)e:for(;;){if(b===null)return;var he=b.tag;if(he===3||he===4){var xe=b.stateNode.containerInfo;if(xe===L||xe.nodeType===8&&xe.parentNode===L)break;if(he===4)for(he=b.return;he!==null;){var Ve=he.tag;if((Ve===3||Ve===4)&&(Ve=he.stateNode.containerInfo,Ve===L||Ve.nodeType===8&&Ve.parentNode===L))return;he=he.return}for(;xe!==null;){if(he=El(xe),he===null)return;if(Ve=he.tag,Ve===5||Ve===6){b=V=he;continue e}xe=xe.parentNode}}b=b.return}Pn(function(){var gt=V,Mt=tt(v),nr=[];e:{var Pt=mP.get(s);if(Pt!==void 0){var or=q,tr=s;switch(s){case"keypress":if(za(v)===0)break e;case"keydown":case"keyup":or=fr;break;case"focusin":tr="focus",or=Er;break;case"focusout":tr="blur",or=Er;break;case"beforeblur":case"afterblur":or=Er;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":or=St;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":or=ut;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":or=Kn;break;case hP:case pP:case vP:or=Lr;break;case gP:or=yl;break;case"scroll":or=re;break;case"wheel":or=G;break;case"copy":case"cut":case"paste":or=Jn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":or=Sr}var Wr=(c&4)!==0,Ci=!Wr&&s==="scroll",ot=Wr?Pt!==null?Pt+"Capture":null:Pt;Wr=[];for(var Ye=gt,pt;Ye!==null;){pt=Ye;var Yt=pt.stateNode;if(pt.tag===5&&Yt!==null&&(pt=Yt,ot!==null&&(Yt=kn(Ye,ot),Yt!=null&&Wr.push(wd(Ye,Yt,pt)))),Ci)break;Ye=Ye.return}0<Wr.length&&(Pt=new or(Pt,tr,null,v,Mt),nr.push({event:Pt,listeners:Wr}))}}if((c&7)===0){e:{if(Pt=s==="mouseover"||s==="pointerover",or=s==="mouseout"||s==="pointerout",Pt&&v!==Ae&&(tr=v.relatedTarget||v.fromElement)&&(El(tr)||tr[Qs]))break e;if((or||Pt)&&(Pt=Mt.window===Mt?Mt:(Pt=Mt.ownerDocument)?Pt.defaultView||Pt.parentWindow:window,or?(tr=v.relatedTarget||v.toElement,or=gt,tr=tr?El(tr):null,tr!==null&&(Ci=di(tr),tr!==Ci||tr.tag!==5&&tr.tag!==6)&&(tr=null)):(or=null,tr=gt),or!==tr)){if(Wr=St,Yt="onMouseLeave",ot="onMouseEnter",Ye="mouse",(s==="pointerout"||s==="pointerover")&&(Wr=Sr,Yt="onPointerLeave",ot="onPointerEnter",Ye="pointer"),Ci=or==null?Pt:Vc(or),pt=tr==null?Pt:Vc(tr),Pt=new Wr(Yt,Ye+"leave",or,v,Mt),Pt.target=Ci,Pt.relatedTarget=pt,Yt=null,El(Mt)===gt&&(Wr=new Wr(ot,Ye+"enter",tr,v,Mt),Wr.target=pt,Wr.relatedTarget=Ci,Yt=Wr),Ci=Yt,or&&tr)t:{for(Wr=or,ot=tr,Ye=0,pt=Wr;pt;pt=qc(pt))Ye++;for(pt=0,Yt=ot;Yt;Yt=qc(Yt))pt++;for(;0<Ye-pt;)Wr=qc(Wr),Ye--;for(;0<pt-Ye;)ot=qc(ot),pt--;for(;Ye--;){if(Wr===ot||ot!==null&&Wr===ot.alternate)break t;Wr=qc(Wr),ot=qc(ot)}Wr=null}else Wr=null;or!==null&&wP(nr,Pt,or,Wr,!1),tr!==null&&Ci!==null&&wP(nr,Ci,tr,Wr,!0)}}e:{if(Pt=gt?Vc(gt):window,or=Pt.nodeName&&Pt.nodeName.toLowerCase(),or==="select"||or==="input"&&Pt.type==="file")var cr=$c;else if(gd(Pt))if(Fc)cr=It;else{cr=dt;var xr=ze}else(or=Pt.nodeName)&&or.toLowerCase()==="input"&&(Pt.type==="checkbox"||Pt.type==="radio")&&(cr=_t);if(cr&&(cr=cr(s,gt))){Ou(nr,cr,v,Mt);break e}xr&&xr(s,Pt,gt),s==="focusout"&&(xr=Pt._wrapperState)&&xr.controlled&&Pt.type==="number"&&Fe(Pt,"number",Pt.value)}switch(xr=gt?Vc(gt):window,s){case"focusin":(gd(xr)||xr.contentEditable==="true")&&(xi=xr,Di=gt,Yi=null);break;case"focusout":Yi=Di=xi=null;break;case"mousedown":Ga=!0;break;case"contextmenu":case"mouseup":case"dragend":Ga=!1,Ys(nr,v,Mt);break;case"selectionchange":if(qn)break;case"keydown":case"keyup":Ys(nr,v,Mt)}var Cr;if(Re)e:{switch(s){case"compositionstart":var jr="onCompositionStart";break e;case"compositionend":jr="onCompositionEnd";break e;case"compositionupdate":jr="onCompositionUpdate";break e}jr=void 0}else Un?$r(s,v)&&(jr="onCompositionEnd"):s==="keydown"&&v.keyCode===229&&(jr="onCompositionStart");jr&&(Ke&&v.locale!=="ko"&&(Un||jr!=="onCompositionStart"?jr==="onCompositionEnd"&&Un&&(Cr=go()):(vi=Mt,Ki="value"in vi?vi.value:vi.textContent,Un=!0)),xr=Sp(gt,jr),0<xr.length&&(jr=new Z(jr,s,null,v,Mt),nr.push({event:jr,listeners:xr}),Cr?jr.data=Cr:(Cr=Or(v),Cr!==null&&(jr.data=Cr)))),(Cr=je?ni(s,v):Cu(s,v))&&(gt=Sp(gt,"onBeforeInput"),0<gt.length&&(Mt=new Z("onBeforeInput","beforeinput",null,v,Mt),nr.push({event:Mt,listeners:gt}),Mt.data=Cr))}EP(nr,c)})}function wd(s,c,v){return{instance:s,listener:c,currentTarget:v}}function Sp(s,c){for(var v=c+"Capture",b=[];s!==null;){var L=s,V=L.stateNode;L.tag===5&&V!==null&&(L=V,V=kn(s,v),V!=null&&b.unshift(wd(s,V,L)),V=kn(s,c),V!=null&&b.push(wd(s,V,L))),s=s.return}return b}function qc(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function wP(s,c,v,b,L){for(var V=c._reactName,he=[];v!==null&&v!==b;){var xe=v,Ve=xe.alternate,gt=xe.stateNode;if(Ve!==null&&Ve===b)break;xe.tag===5&>!==null&&(xe=gt,L?(Ve=kn(v,V),Ve!=null&&he.unshift(wd(v,Ve,xe))):L||(Ve=kn(v,V),Ve!=null&&he.push(wd(v,Ve,xe)))),v=v.return}he.length!==0&&s.push({event:c,listeners:he})}var Bne=/\r\n?/g,Vne=/\u0000|\uFFFD/g;function bP(s){return(typeof s=="string"?s:""+s).replace(Bne,`
|
|
97
|
-
`).replace(Vne,"")}function wp(s,c,v){if(c=bP(c),bP(s)!==c&&v)throw Error(r(425))}function bp(){}var Ry=null,xy=null;function Cy(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Oy=typeof setTimeout=="function"?setTimeout:void 0,Hne=typeof clearTimeout=="function"?clearTimeout:void 0,TP=typeof Promise=="function"?Promise:void 0,zne=typeof queueMicrotask=="function"?queueMicrotask:typeof TP<"u"?function(s){return TP.resolve(null).then(s).catch(Wne)}:Oy;function Wne(s){setTimeout(function(){throw s})}function Iy(s,c){var v=c,b=0;do{var L=v.nextSibling;if(s.removeChild(v),L&&L.nodeType===8)if(v=L.data,v==="/$"){if(b===0){s.removeChild(L),Va(c);return}b--}else v!=="$"&&v!=="$?"&&v!=="$!"||b++;v=L}while(v);Va(c)}function Xs(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function AP(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="$"||v==="$!"||v==="$?"){if(c===0)return s;c--}else v==="/$"&&c++}s=s.previousSibling}return null}var Bc=Math.random().toString(36).slice(2),As="__reactFiber$"+Bc,bd="__reactProps$"+Bc,Qs="__reactContainer$"+Bc,Py="__reactEvents$"+Bc,Gne="__reactListeners$"+Bc,Kne="__reactHandles$"+Bc;function El(s){var c=s[As];if(c)return c;for(var v=s.parentNode;v;){if(c=v[Qs]||v[As]){if(v=c.alternate,c.child!==null||v!==null&&v.child!==null)for(s=AP(s);s!==null;){if(v=s[As])return v;s=AP(s)}return c}s=v,v=s.parentNode}return null}function Td(s){return s=s[As]||s[Qs],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Vc(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(r(33))}function Tp(s){return s[bd]||null}var ky=[],Hc=-1;function Pu(s){return{current:s}}function ai(s){0>Hc||(s.current=ky[Hc],ky[Hc]=null,Hc--)}function Zn(s,c){Hc++,ky[Hc]=s.current,s.current=c}var ku={},pa=Pu(ku),Ka=Pu(!1),Sl=ku;function zc(s,c){var v=s.type.contextTypes;if(!v)return ku;var b=s.stateNode;if(b&&b.__reactInternalMemoizedUnmaskedChildContext===c)return b.__reactInternalMemoizedMaskedChildContext;var L={},V;for(V in v)L[V]=c[V];return b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=L),L}function Ya(s){return s=s.childContextTypes,s!=null}function Ap(){ai(Ka),ai(pa)}function RP(s,c,v){if(pa.current!==ku)throw Error(r(168));Zn(pa,c),Zn(Ka,v)}function xP(s,c,v){var b=s.stateNode;if(c=c.childContextTypes,typeof b.getChildContext!="function")return v;b=b.getChildContext();for(var L in b)if(!(L in c))throw Error(r(108,O(s)||"Unknown",L));return z({},v,b)}function Rp(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ku,Sl=pa.current,Zn(pa,s),Zn(Ka,Ka.current),!0}function CP(s,c,v){var b=s.stateNode;if(!b)throw Error(r(169));v?(s=xP(s,c,Sl),b.__reactInternalMemoizedMergedChildContext=s,ai(Ka),ai(pa),Zn(pa,s)):ai(Ka),Zn(Ka,v)}var Js=null,xp=!1,Dy=!1;function OP(s){Js===null?Js=[s]:Js.push(s)}function Yne(s){xp=!0,OP(s)}function Du(){if(!Dy&&Js!==null){Dy=!0;var s=0,c=Xt;try{var v=Js;for(Xt=1;s<v.length;s++){var b=v[s];do b=b(!0);while(b!==null)}Js=null,xp=!1}catch(L){throw Js!==null&&(Js=Js.slice(s+1)),se(Kt,Du),L}finally{Xt=c,Dy=!1}}return null}var Xne=x.ReactCurrentBatchConfig;function us(s,c){if(s&&s.defaultProps){c=z({},c),s=s.defaultProps;for(var v in s)c[v]===void 0&&(c[v]=s[v]);return c}return c}var Cp=Pu(null),Op=null,Wc=null,Ly=null;function Ny(){Ly=Wc=Op=null}function My(s){var c=Cp.current;ai(Cp),s._currentValue=c}function $y(s,c,v){for(;s!==null;){var b=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,b!==null&&(b.childLanes|=c)):b!==null&&(b.childLanes&c)!==c&&(b.childLanes|=c),s===v)break;s=s.return}}function Gc(s,c){Op=s,Ly=Wc=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(Qa=!0),s.firstContext=null)}function Uo(s){var c=s._currentValue;if(Ly!==s)if(s={context:s,memoizedValue:c,next:null},Wc===null){if(Op===null)throw Error(r(308));Wc=s,Op.dependencies={lanes:0,firstContext:s}}else Wc=Wc.next=s;return c}var ls=null,Lu=!1;function Fy(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function IP(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Zs(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function Nu(s,c){var v=s.updateQueue;v!==null&&(v=v.shared,zk(s)?(s=v.interleaved,s===null?(c.next=c,ls===null?ls=[v]:ls.push(v)):(c.next=s.next,s.next=c),v.interleaved=c):(s=v.pending,s===null?c.next=c:(c.next=s.next,s.next=c),v.pending=c))}function Ip(s,c,v){if(c=c.updateQueue,c!==null&&(c=c.shared,(v&4194240)!==0)){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,Bt(s,v)}}function PP(s,c){var v=s.updateQueue,b=s.alternate;if(b!==null&&(b=b.updateQueue,v===b)){var L=null,V=null;if(v=v.firstBaseUpdate,v!==null){do{var he={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};V===null?L=V=he:V=V.next=he,v=v.next}while(v!==null);V===null?L=V=c:V=V.next=c}else L=V=c;v={baseState:b.baseState,firstBaseUpdate:L,lastBaseUpdate:V,shared:b.shared,effects:b.effects},s.updateQueue=v;return}s=v.lastBaseUpdate,s===null?v.firstBaseUpdate=c:s.next=c,v.lastBaseUpdate=c}function Pp(s,c,v,b){var L=s.updateQueue;Lu=!1;var V=L.firstBaseUpdate,he=L.lastBaseUpdate,xe=L.shared.pending;if(xe!==null){L.shared.pending=null;var Ve=xe,gt=Ve.next;Ve.next=null,he===null?V=gt:he.next=gt,he=Ve;var Mt=s.alternate;Mt!==null&&(Mt=Mt.updateQueue,xe=Mt.lastBaseUpdate,xe!==he&&(xe===null?Mt.firstBaseUpdate=gt:xe.next=gt,Mt.lastBaseUpdate=Ve))}if(V!==null){var nr=L.baseState;he=0,Mt=gt=Ve=null,xe=V;do{var Pt=xe.lane,or=xe.eventTime;if((b&Pt)===Pt){Mt!==null&&(Mt=Mt.next={eventTime:or,lane:0,tag:xe.tag,payload:xe.payload,callback:xe.callback,next:null});e:{var tr=s,Wr=xe;switch(Pt=c,or=v,Wr.tag){case 1:if(tr=Wr.payload,typeof tr=="function"){nr=tr.call(or,nr,Pt);break e}nr=tr;break e;case 3:tr.flags=tr.flags&-65537|128;case 0:if(tr=Wr.payload,Pt=typeof tr=="function"?tr.call(or,nr,Pt):tr,Pt==null)break e;nr=z({},nr,Pt);break e;case 2:Lu=!0}}xe.callback!==null&&xe.lane!==0&&(s.flags|=64,Pt=L.effects,Pt===null?L.effects=[xe]:Pt.push(xe))}else or={eventTime:or,lane:Pt,tag:xe.tag,payload:xe.payload,callback:xe.callback,next:null},Mt===null?(gt=Mt=or,Ve=nr):Mt=Mt.next=or,he|=Pt;if(xe=xe.next,xe===null){if(xe=L.shared.pending,xe===null)break;Pt=xe,xe=Pt.next,Pt.next=null,L.lastBaseUpdate=Pt,L.shared.pending=null}}while(!0);if(Mt===null&&(Ve=nr),L.baseState=Ve,L.firstBaseUpdate=gt,L.lastBaseUpdate=Mt,c=L.shared.interleaved,c!==null){L=c;do he|=L.lane,L=L.next;while(L!==c)}else V===null&&(L.shared.lanes=0);Rl|=he,s.lanes=he,s.memoizedState=nr}}function kP(s,c,v){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var b=s[c],L=b.callback;if(L!==null){if(b.callback=null,b=v,typeof L!="function")throw Error(r(191,L));L.call(b)}}}var DP=new e.Component().refs;function jy(s,c,v,b){c=s.memoizedState,v=v(b,c),v=v==null?c:z({},c,v),s.memoizedState=v,s.lanes===0&&(s.updateQueue.baseState=v)}var kp={isMounted:function(s){return(s=s._reactInternals)?di(s)===s:!1},enqueueSetState:function(s,c,v){s=s._reactInternals;var b=Da(),L=ju(s),V=Zs(b,L);V.payload=c,v!=null&&(V.callback=v),Nu(s,V),c=zo(s,L,b),c!==null&&Ip(c,s,L)},enqueueReplaceState:function(s,c,v){s=s._reactInternals;var b=Da(),L=ju(s),V=Zs(b,L);V.tag=1,V.payload=c,v!=null&&(V.callback=v),Nu(s,V),c=zo(s,L,b),c!==null&&Ip(c,s,L)},enqueueForceUpdate:function(s,c){s=s._reactInternals;var v=Da(),b=ju(s),L=Zs(v,b);L.tag=2,c!=null&&(L.callback=c),Nu(s,L),c=zo(s,b,v),c!==null&&Ip(c,s,b)}};function LP(s,c,v,b,L,V,he){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(b,V,he):c.prototype&&c.prototype.isPureReactComponent?!sr(v,b)||!sr(L,V):!0}function NP(s,c,v){var b=!1,L=ku,V=c.contextType;return typeof V=="object"&&V!==null?V=Uo(V):(L=Ya(c)?Sl:pa.current,b=c.contextTypes,V=(b=b!=null)?zc(s,L):ku),c=new c(v,V),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=kp,s.stateNode=c,c._reactInternals=s,b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=L,s.__reactInternalMemoizedMaskedChildContext=V),c}function MP(s,c,v,b){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(v,b),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(v,b),c.state!==s&&kp.enqueueReplaceState(c,c.state,null)}function Uy(s,c,v,b){var L=s.stateNode;L.props=v,L.state=s.memoizedState,L.refs=DP,Fy(s);var V=c.contextType;typeof V=="object"&&V!==null?L.context=Uo(V):(V=Ya(c)?Sl:pa.current,L.context=zc(s,V)),L.state=s.memoizedState,V=c.getDerivedStateFromProps,typeof V=="function"&&(jy(s,c,V,v),L.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(c=L.state,typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount(),c!==L.state&&kp.enqueueReplaceState(L,L.state,null),Pp(s,v,L,b),L.state=s.memoizedState),typeof L.componentDidMount=="function"&&(s.flags|=4194308)}var Kc=[],Yc=0,Dp=null,Lp=0,qo=[],Bo=0,wl=null,eu=1,tu="";function bl(s,c){Kc[Yc++]=Lp,Kc[Yc++]=Dp,Dp=s,Lp=c}function $P(s,c,v){qo[Bo++]=eu,qo[Bo++]=tu,qo[Bo++]=wl,wl=s;var b=eu;s=tu;var L=32-Tn(b)-1;b&=~(1<<L),v+=1;var V=32-Tn(c)+L;if(30<V){var he=L-L%5;V=(b&(1<<he)-1).toString(32),b>>=he,L-=he,eu=1<<32-Tn(c)+L|v<<L|b,tu=V+s}else eu=1<<V|v<<L|b,tu=s}function qy(s){s.return!==null&&(bl(s,1),$P(s,1,0))}function By(s){for(;s===Dp;)Dp=Kc[--Yc],Kc[Yc]=null,Lp=Kc[--Yc],Kc[Yc]=null;for(;s===wl;)wl=qo[--Bo],qo[Bo]=null,tu=qo[--Bo],qo[Bo]=null,eu=qo[--Bo],qo[Bo]=null}var yo=null,Xa=null,ci=!1,cs=null;function FP(s,c){var v=Wo(5,null,null,0);v.elementType="DELETED",v.stateNode=c,v.return=s,c=s.deletions,c===null?(s.deletions=[v],s.flags|=16):c.push(v)}function jP(s,c){switch(s.tag){case 5:var v=s.type;return c=c.nodeType!==1||v.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,yo=s,Xa=Xs(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,yo=s,Xa=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(v=wl!==null?{id:eu,overflow:tu}:null,s.memoizedState={dehydrated:c,treeContext:v,retryLane:1073741824},v=Wo(18,null,null,0),v.stateNode=c,v.return=s,s.child=v,yo=s,Xa=null,!0):!1;default:return!1}}function Vy(s){return(s.mode&1)!==0&&(s.flags&128)===0}function Hy(s){if(ci){var c=Xa;if(c){var v=c;if(!jP(s,c)){if(Vy(s))throw Error(r(418));c=Xs(v.nextSibling);var b=yo;c&&jP(s,c)?FP(b,v):(s.flags=s.flags&-4097|2,ci=!1,yo=s)}}else{if(Vy(s))throw Error(r(418));s.flags=s.flags&-4097|2,ci=!1,yo=s}}}function UP(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;yo=s}function Ad(s){if(s!==yo)return!1;if(!ci)return UP(s),ci=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!Cy(s.type,s.memoizedProps)),c&&(c=Xa)){if(Vy(s)){for(s=Xa;s;)s=Xs(s.nextSibling);throw Error(r(418))}for(;c;)FP(s,c),c=Xs(c.nextSibling)}if(UP(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="/$"){if(c===0){Xa=Xs(s.nextSibling);break e}c--}else v!=="$"&&v!=="$!"&&v!=="$?"||c++}s=s.nextSibling}Xa=null}}else Xa=yo?Xs(s.stateNode.nextSibling):null;return!0}function Xc(){Xa=yo=null,ci=!1}function zy(s){cs===null?cs=[s]:cs.push(s)}function Rd(s,c,v){if(s=v.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var b=v.stateNode}if(!b)throw Error(r(147,s));var L=b,V=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===V?c.ref:(c=function(he){var xe=L.refs;xe===DP&&(xe=L.refs={}),he===null?delete xe[V]:xe[V]=he},c._stringRef=V,c)}if(typeof s!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,s))}return s}function Np(s,c){throw s=Object.prototype.toString.call(c),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function qP(s){var c=s._init;return c(s._payload)}function BP(s){function c(ot,Ye){if(s){var pt=ot.deletions;pt===null?(ot.deletions=[Ye],ot.flags|=16):pt.push(Ye)}}function v(ot,Ye){if(!s)return null;for(;Ye!==null;)c(ot,Ye),Ye=Ye.sibling;return null}function b(ot,Ye){for(ot=new Map;Ye!==null;)Ye.key!==null?ot.set(Ye.key,Ye):ot.set(Ye.index,Ye),Ye=Ye.sibling;return ot}function L(ot,Ye){return ot=qu(ot,Ye),ot.index=0,ot.sibling=null,ot}function V(ot,Ye,pt){return ot.index=pt,s?(pt=ot.alternate,pt!==null?(pt=pt.index,pt<Ye?(ot.flags|=2,Ye):pt):(ot.flags|=2,Ye)):(ot.flags|=1048576,Ye)}function he(ot){return s&&ot.alternate===null&&(ot.flags|=2),ot}function xe(ot,Ye,pt,Yt){return Ye===null||Ye.tag!==6?(Ye=R_(pt,ot.mode,Yt),Ye.return=ot,Ye):(Ye=L(Ye,pt),Ye.return=ot,Ye)}function Ve(ot,Ye,pt,Yt){var cr=pt.type;return cr===y?Mt(ot,Ye,pt.props.children,Yt,pt.key):Ye!==null&&(Ye.elementType===cr||typeof cr=="object"&&cr!==null&&cr.$$typeof===ne&&qP(cr)===Ye.type)?(Yt=L(Ye,pt.props),Yt.ref=Rd(ot,Ye,pt),Yt.return=ot,Yt):(Yt=rv(pt.type,pt.key,pt.props,null,ot.mode,Yt),Yt.ref=Rd(ot,Ye,pt),Yt.return=ot,Yt)}function gt(ot,Ye,pt,Yt){return Ye===null||Ye.tag!==4||Ye.stateNode.containerInfo!==pt.containerInfo||Ye.stateNode.implementation!==pt.implementation?(Ye=x_(pt,ot.mode,Yt),Ye.return=ot,Ye):(Ye=L(Ye,pt.children||[]),Ye.return=ot,Ye)}function Mt(ot,Ye,pt,Yt,cr){return Ye===null||Ye.tag!==7?(Ye=Il(pt,ot.mode,Yt,cr),Ye.return=ot,Ye):(Ye=L(Ye,pt),Ye.return=ot,Ye)}function nr(ot,Ye,pt){if(typeof Ye=="string"&&Ye!==""||typeof Ye=="number")return Ye=R_(""+Ye,ot.mode,pt),Ye.return=ot,Ye;if(typeof Ye=="object"&&Ye!==null){switch(Ye.$$typeof){case R:return pt=rv(Ye.type,Ye.key,Ye.props,null,ot.mode,pt),pt.ref=Rd(ot,null,Ye),pt.return=ot,pt;case P:return Ye=x_(Ye,ot.mode,pt),Ye.return=ot,Ye;case ne:var Yt=Ye._init;return nr(ot,Yt(Ye._payload),pt)}if(ve(Ye)||te(Ye))return Ye=Il(Ye,ot.mode,pt,null),Ye.return=ot,Ye;Np(ot,Ye)}return null}function Pt(ot,Ye,pt,Yt){var cr=Ye!==null?Ye.key:null;if(typeof pt=="string"&&pt!==""||typeof pt=="number")return cr!==null?null:xe(ot,Ye,""+pt,Yt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case R:return pt.key===cr?Ve(ot,Ye,pt,Yt):null;case P:return pt.key===cr?gt(ot,Ye,pt,Yt):null;case ne:return cr=pt._init,Pt(ot,Ye,cr(pt._payload),Yt)}if(ve(pt)||te(pt))return cr!==null?null:Mt(ot,Ye,pt,Yt,null);Np(ot,pt)}return null}function or(ot,Ye,pt,Yt,cr){if(typeof Yt=="string"&&Yt!==""||typeof Yt=="number")return ot=ot.get(pt)||null,xe(Ye,ot,""+Yt,cr);if(typeof Yt=="object"&&Yt!==null){switch(Yt.$$typeof){case R:return ot=ot.get(Yt.key===null?pt:Yt.key)||null,Ve(Ye,ot,Yt,cr);case P:return ot=ot.get(Yt.key===null?pt:Yt.key)||null,gt(Ye,ot,Yt,cr);case ne:var xr=Yt._init;return or(ot,Ye,pt,xr(Yt._payload),cr)}if(ve(Yt)||te(Yt))return ot=ot.get(pt)||null,Mt(Ye,ot,Yt,cr,null);Np(Ye,Yt)}return null}function tr(ot,Ye,pt,Yt){for(var cr=null,xr=null,Cr=Ye,jr=Ye=0,Qi=null;Cr!==null&&jr<pt.length;jr++){Cr.index>jr?(Qi=Cr,Cr=null):Qi=Cr.sibling;var gn=Pt(ot,Cr,pt[jr],Yt);if(gn===null){Cr===null&&(Cr=Qi);break}s&&Cr&&gn.alternate===null&&c(ot,Cr),Ye=V(gn,Ye,jr),xr===null?cr=gn:xr.sibling=gn,xr=gn,Cr=Qi}if(jr===pt.length)return v(ot,Cr),ci&&bl(ot,jr),cr;if(Cr===null){for(;jr<pt.length;jr++)Cr=nr(ot,pt[jr],Yt),Cr!==null&&(Ye=V(Cr,Ye,jr),xr===null?cr=Cr:xr.sibling=Cr,xr=Cr);return ci&&bl(ot,jr),cr}for(Cr=b(ot,Cr);jr<pt.length;jr++)Qi=or(Cr,ot,jr,pt[jr],Yt),Qi!==null&&(s&&Qi.alternate!==null&&Cr.delete(Qi.key===null?jr:Qi.key),Ye=V(Qi,Ye,jr),xr===null?cr=Qi:xr.sibling=Qi,xr=Qi);return s&&Cr.forEach(function(Bu){return c(ot,Bu)}),ci&&bl(ot,jr),cr}function Wr(ot,Ye,pt,Yt){var cr=te(pt);if(typeof cr!="function")throw Error(r(150));if(pt=cr.call(pt),pt==null)throw Error(r(151));for(var xr=cr=null,Cr=Ye,jr=Ye=0,Qi=null,gn=pt.next();Cr!==null&&!gn.done;jr++,gn=pt.next()){Cr.index>jr?(Qi=Cr,Cr=null):Qi=Cr.sibling;var Bu=Pt(ot,Cr,gn.value,Yt);if(Bu===null){Cr===null&&(Cr=Qi);break}s&&Cr&&Bu.alternate===null&&c(ot,Cr),Ye=V(Bu,Ye,jr),xr===null?cr=Bu:xr.sibling=Bu,xr=Bu,Cr=Qi}if(gn.done)return v(ot,Cr),ci&&bl(ot,jr),cr;if(Cr===null){for(;!gn.done;jr++,gn=pt.next())gn=nr(ot,gn.value,Yt),gn!==null&&(Ye=V(gn,Ye,jr),xr===null?cr=gn:xr.sibling=gn,xr=gn);return ci&&bl(ot,jr),cr}for(Cr=b(ot,Cr);!gn.done;jr++,gn=pt.next())gn=or(Cr,ot,jr,gn.value,Yt),gn!==null&&(s&&gn.alternate!==null&&Cr.delete(gn.key===null?jr:gn.key),Ye=V(gn,Ye,jr),xr===null?cr=gn:xr.sibling=gn,xr=gn);return s&&Cr.forEach(function(Cie){return c(ot,Cie)}),ci&&bl(ot,jr),cr}function Ci(ot,Ye,pt,Yt){if(typeof pt=="object"&&pt!==null&&pt.type===y&&pt.key===null&&(pt=pt.props.children),typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case R:e:{for(var cr=pt.key,xr=Ye;xr!==null;){if(xr.key===cr){if(cr=pt.type,cr===y){if(xr.tag===7){v(ot,xr.sibling),Ye=L(xr,pt.props.children),Ye.return=ot,ot=Ye;break e}}else if(xr.elementType===cr||typeof cr=="object"&&cr!==null&&cr.$$typeof===ne&&qP(cr)===xr.type){v(ot,xr.sibling),Ye=L(xr,pt.props),Ye.ref=Rd(ot,xr,pt),Ye.return=ot,ot=Ye;break e}v(ot,xr);break}else c(ot,xr);xr=xr.sibling}pt.type===y?(Ye=Il(pt.props.children,ot.mode,Yt,pt.key),Ye.return=ot,ot=Ye):(Yt=rv(pt.type,pt.key,pt.props,null,ot.mode,Yt),Yt.ref=Rd(ot,Ye,pt),Yt.return=ot,ot=Yt)}return he(ot);case P:e:{for(xr=pt.key;Ye!==null;){if(Ye.key===xr)if(Ye.tag===4&&Ye.stateNode.containerInfo===pt.containerInfo&&Ye.stateNode.implementation===pt.implementation){v(ot,Ye.sibling),Ye=L(Ye,pt.children||[]),Ye.return=ot,ot=Ye;break e}else{v(ot,Ye);break}else c(ot,Ye);Ye=Ye.sibling}Ye=x_(pt,ot.mode,Yt),Ye.return=ot,ot=Ye}return he(ot);case ne:return xr=pt._init,Ci(ot,Ye,xr(pt._payload),Yt)}if(ve(pt))return tr(ot,Ye,pt,Yt);if(te(pt))return Wr(ot,Ye,pt,Yt);Np(ot,pt)}return typeof pt=="string"&&pt!==""||typeof pt=="number"?(pt=""+pt,Ye!==null&&Ye.tag===6?(v(ot,Ye.sibling),Ye=L(Ye,pt),Ye.return=ot,ot=Ye):(v(ot,Ye),Ye=R_(pt,ot.mode,Yt),Ye.return=ot,ot=Ye),he(ot)):v(ot,Ye)}return Ci}var Qc=BP(!0),VP=BP(!1),xd={},Rs=Pu(xd),Cd=Pu(xd),Od=Pu(xd);function Tl(s){if(s===xd)throw Error(r(174));return s}function Wy(s,c){switch(Zn(Od,c),Zn(Cd,s),Zn(Rs,xd),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:ct(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=ct(c,s)}ai(Rs),Zn(Rs,c)}function Jc(){ai(Rs),ai(Cd),ai(Od)}function HP(s){Tl(Od.current);var c=Tl(Rs.current),v=ct(c,s.type);c!==v&&(Zn(Cd,s),Zn(Rs,v))}function Gy(s){Cd.current===s&&(ai(Rs),ai(Cd))}var gi=Pu(0);function Mp(s){for(var c=s;c!==null;){if(c.tag===13){var v=c.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var Ky=[];function Yy(){for(var s=0;s<Ky.length;s++)Ky[s]._workInProgressVersionPrimary=null;Ky.length=0}var $p=x.ReactCurrentDispatcher,Xy=x.ReactCurrentBatchConfig,Al=0,mi=null,Ui=null,Xi=null,Fp=!1,Id=!1,Pd=0,Qne=0;function va(){throw Error(r(321))}function Qy(s,c){if(c===null)return!1;for(var v=0;v<c.length&&v<s.length;v++)if(!er(s[v],c[v]))return!1;return!0}function Jy(s,c,v,b,L,V){if(Al=V,mi=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,$p.current=s===null||s.memoizedState===null?tie:rie,s=v(b,L),Id){V=0;do{if(Id=!1,Pd=0,25<=V)throw Error(r(301));V+=1,Xi=Ui=null,c.updateQueue=null,$p.current=nie,s=v(b,L)}while(Id)}if($p.current=qp,c=Ui!==null&&Ui.next!==null,Al=0,Xi=Ui=mi=null,Fp=!1,c)throw Error(r(300));return s}function Zy(){var s=Pd!==0;return Pd=0,s}function xs(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xi===null?mi.memoizedState=Xi=s:Xi=Xi.next=s,Xi}function Vo(){if(Ui===null){var s=mi.alternate;s=s!==null?s.memoizedState:null}else s=Ui.next;var c=Xi===null?mi.memoizedState:Xi.next;if(c!==null)Xi=c,Ui=s;else{if(s===null)throw Error(r(310));Ui=s,s={memoizedState:Ui.memoizedState,baseState:Ui.baseState,baseQueue:Ui.baseQueue,queue:Ui.queue,next:null},Xi===null?mi.memoizedState=Xi=s:Xi=Xi.next=s}return Xi}function kd(s,c){return typeof c=="function"?c(s):c}function e_(s){var c=Vo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=Ui,L=b.baseQueue,V=v.pending;if(V!==null){if(L!==null){var he=L.next;L.next=V.next,V.next=he}b.baseQueue=L=V,v.pending=null}if(L!==null){V=L.next,b=b.baseState;var xe=he=null,Ve=null,gt=V;do{var Mt=gt.lane;if((Al&Mt)===Mt)Ve!==null&&(Ve=Ve.next={lane:0,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null}),b=gt.hasEagerState?gt.eagerState:s(b,gt.action);else{var nr={lane:Mt,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null};Ve===null?(xe=Ve=nr,he=b):Ve=Ve.next=nr,mi.lanes|=Mt,Rl|=Mt}gt=gt.next}while(gt!==null&>!==V);Ve===null?he=b:Ve.next=xe,er(b,c.memoizedState)||(Qa=!0),c.memoizedState=b,c.baseState=he,c.baseQueue=Ve,v.lastRenderedState=b}if(s=v.interleaved,s!==null){L=s;do V=L.lane,mi.lanes|=V,Rl|=V,L=L.next;while(L!==s)}else L===null&&(v.lanes=0);return[c.memoizedState,v.dispatch]}function t_(s){var c=Vo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=v.dispatch,L=v.pending,V=c.memoizedState;if(L!==null){v.pending=null;var he=L=L.next;do V=s(V,he.action),he=he.next;while(he!==L);er(V,c.memoizedState)||(Qa=!0),c.memoizedState=V,c.baseQueue===null&&(c.baseState=V),v.lastRenderedState=V}return[V,b]}function zP(){}function WP(s,c){var v=mi,b=Vo(),L=c(),V=!er(b.memoizedState,L);if(V&&(b.memoizedState=L,Qa=!0),b=b.queue,r_(YP.bind(null,v,b,s),[s]),b.getSnapshot!==c||V||Xi!==null&&Xi.memoizedState.tag&1){if(v.flags|=2048,Dd(9,KP.bind(null,v,b,L,c),void 0,null),qi===null)throw Error(r(349));(Al&30)!==0||GP(v,c,L)}return L}function GP(s,c,v){s.flags|=16384,s={getSnapshot:c,value:v},c=mi.updateQueue,c===null?(c={lastEffect:null,stores:null},mi.updateQueue=c,c.stores=[s]):(v=c.stores,v===null?c.stores=[s]:v.push(s))}function KP(s,c,v,b){c.value=v,c.getSnapshot=b,XP(c)&&zo(s,1,-1)}function YP(s,c,v){return v(function(){XP(c)&&zo(s,1,-1)})}function XP(s){var c=s.getSnapshot;s=s.value;try{var v=c();return!er(s,v)}catch{return!0}}function QP(s){var c=xs();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kd,lastRenderedState:s},c.queue=s,s=s.dispatch=eie.bind(null,mi,s),[c.memoizedState,s]}function Dd(s,c,v,b){return s={tag:s,create:c,destroy:v,deps:b,next:null},c=mi.updateQueue,c===null?(c={lastEffect:null,stores:null},mi.updateQueue=c,c.lastEffect=s.next=s):(v=c.lastEffect,v===null?c.lastEffect=s.next=s:(b=v.next,v.next=s,s.next=b,c.lastEffect=s)),s}function JP(){return Vo().memoizedState}function jp(s,c,v,b){var L=xs();mi.flags|=s,L.memoizedState=Dd(1|c,v,void 0,b===void 0?null:b)}function Up(s,c,v,b){var L=Vo();b=b===void 0?null:b;var V=void 0;if(Ui!==null){var he=Ui.memoizedState;if(V=he.destroy,b!==null&&Qy(b,he.deps)){L.memoizedState=Dd(c,v,V,b);return}}mi.flags|=s,L.memoizedState=Dd(1|c,v,V,b)}function ZP(s,c){return jp(8390656,8,s,c)}function r_(s,c){return Up(2048,8,s,c)}function ek(s,c){return Up(4,2,s,c)}function tk(s,c){return Up(4,4,s,c)}function rk(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function nk(s,c,v){return v=v!=null?v.concat([s]):null,Up(4,4,rk.bind(null,c,s),v)}function n_(){}function ik(s,c){var v=Vo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&Qy(c,b[1])?b[0]:(v.memoizedState=[s,c],s)}function ak(s,c){var v=Vo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&Qy(c,b[1])?b[0]:(s=s(),v.memoizedState=[s,c],s)}function ok(s,c,v){return(Al&21)===0?(s.baseState&&(s.baseState=!1,Qa=!0),s.memoizedState=v):(er(v,c)||(v=Me(),mi.lanes|=v,Rl|=v,s.baseState=!0),c)}function Jne(s,c){var v=Xt;Xt=v!==0&&4>v?v:4,s(!0);var b=Xy.transition;Xy.transition={};try{s(!1),c()}finally{Xt=v,Xy.transition=b}}function sk(){return Vo().memoizedState}function Zne(s,c,v){var b=ju(s);v={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null},uk(s)?lk(c,v):(ck(s,c,v),v=Da(),s=zo(s,b,v),s!==null&&fk(s,c,b))}function eie(s,c,v){var b=ju(s),L={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null};if(uk(s))lk(c,L);else{ck(s,c,L);var V=s.alternate;if(s.lanes===0&&(V===null||V.lanes===0)&&(V=c.lastRenderedReducer,V!==null))try{var he=c.lastRenderedState,xe=V(he,v);if(L.hasEagerState=!0,L.eagerState=xe,er(xe,he))return}catch{}finally{}v=Da(),s=zo(s,b,v),s!==null&&fk(s,c,b)}}function uk(s){var c=s.alternate;return s===mi||c!==null&&c===mi}function lk(s,c){Id=Fp=!0;var v=s.pending;v===null?c.next=c:(c.next=v.next,v.next=c),s.pending=c}function ck(s,c,v){zk(s)?(s=c.interleaved,s===null?(v.next=v,ls===null?ls=[c]:ls.push(c)):(v.next=s.next,s.next=v),c.interleaved=v):(s=c.pending,s===null?v.next=v:(v.next=s.next,s.next=v),c.pending=v)}function fk(s,c,v){if((v&4194240)!==0){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,Bt(s,v)}}var qp={readContext:Uo,useCallback:va,useContext:va,useEffect:va,useImperativeHandle:va,useInsertionEffect:va,useLayoutEffect:va,useMemo:va,useReducer:va,useRef:va,useState:va,useDebugValue:va,useDeferredValue:va,useTransition:va,useMutableSource:va,useSyncExternalStore:va,useId:va,unstable_isNewReconciler:!1},tie={readContext:Uo,useCallback:function(s,c){return xs().memoizedState=[s,c===void 0?null:c],s},useContext:Uo,useEffect:ZP,useImperativeHandle:function(s,c,v){return v=v!=null?v.concat([s]):null,jp(4194308,4,rk.bind(null,c,s),v)},useLayoutEffect:function(s,c){return jp(4194308,4,s,c)},useInsertionEffect:function(s,c){return jp(4,2,s,c)},useMemo:function(s,c){var v=xs();return c=c===void 0?null:c,s=s(),v.memoizedState=[s,c],s},useReducer:function(s,c,v){var b=xs();return c=v!==void 0?v(c):c,b.memoizedState=b.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},b.queue=s,s=s.dispatch=Zne.bind(null,mi,s),[b.memoizedState,s]},useRef:function(s){var c=xs();return s={current:s},c.memoizedState=s},useState:QP,useDebugValue:n_,useDeferredValue:function(s){return xs().memoizedState=s},useTransition:function(){var s=QP(!1),c=s[0];return s=Jne.bind(null,s[1]),xs().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,v){var b=mi,L=xs();if(ci){if(v===void 0)throw Error(r(407));v=v()}else{if(v=c(),qi===null)throw Error(r(349));(Al&30)!==0||GP(b,c,v)}L.memoizedState=v;var V={value:v,getSnapshot:c};return L.queue=V,ZP(YP.bind(null,b,V,s),[s]),b.flags|=2048,Dd(9,KP.bind(null,b,V,v,c),void 0,null),v},useId:function(){var s=xs(),c=qi.identifierPrefix;if(ci){var v=tu,b=eu;v=(b&~(1<<32-Tn(b)-1)).toString(32)+v,c=":"+c+"R"+v,v=Pd++,0<v&&(c+="H"+v.toString(32)),c+=":"}else v=Qne++,c=":"+c+"r"+v.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},rie={readContext:Uo,useCallback:ik,useContext:Uo,useEffect:r_,useImperativeHandle:nk,useInsertionEffect:ek,useLayoutEffect:tk,useMemo:ak,useReducer:e_,useRef:JP,useState:function(){return e_(kd)},useDebugValue:n_,useDeferredValue:function(s){var c=Vo();return ok(c,Ui.memoizedState,s)},useTransition:function(){var s=e_(kd)[0],c=Vo().memoizedState;return[s,c]},useMutableSource:zP,useSyncExternalStore:WP,useId:sk,unstable_isNewReconciler:!1},nie={readContext:Uo,useCallback:ik,useContext:Uo,useEffect:r_,useImperativeHandle:nk,useInsertionEffect:ek,useLayoutEffect:tk,useMemo:ak,useReducer:t_,useRef:JP,useState:function(){return t_(kd)},useDebugValue:n_,useDeferredValue:function(s){var c=Vo();return Ui===null?c.memoizedState=s:ok(c,Ui.memoizedState,s)},useTransition:function(){var s=t_(kd)[0],c=Vo().memoizedState;return[s,c]},useMutableSource:zP,useSyncExternalStore:WP,useId:sk,unstable_isNewReconciler:!1};function i_(s,c){try{var v="",b=c;do v+=Xe(b),b=b.return;while(b);var L=v}catch(V){L=`
|
|
98
|
-
Error generating stack: `+V.message+`
|
|
99
|
-
`+V.stack}return{value:s,source:c,stack:L}}function a_(s,c){try{console.error(c.value)}catch(v){setTimeout(function(){throw v})}}var iie=typeof WeakMap=="function"?WeakMap:Map;function dk(s,c,v){v=Zs(-1,v),v.tag=3,v.payload={element:null};var b=c.value;return v.callback=function(){Yp||(Yp=!0,y_=b),a_(s,c)},v}function hk(s,c,v){v=Zs(-1,v),v.tag=3;var b=s.type.getDerivedStateFromError;if(typeof b=="function"){var L=c.value;v.payload=function(){return b(L)},v.callback=function(){a_(s,c)}}var V=s.stateNode;return V!==null&&typeof V.componentDidCatch=="function"&&(v.callback=function(){a_(s,c),typeof b!="function"&&($u===null?$u=new Set([this]):$u.add(this));var he=c.stack;this.componentDidCatch(c.value,{componentStack:he!==null?he:""})}),v}function pk(s,c,v){var b=s.pingCache;if(b===null){b=s.pingCache=new iie;var L=new Set;b.set(c,L)}else L=b.get(c),L===void 0&&(L=new Set,b.set(c,L));L.has(v)||(L.add(v),s=mie.bind(null,s,c,v),c.then(s,s))}function vk(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function gk(s,c,v,b,L){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(c=Zs(-1,1),c.tag=2,Nu(v,c))),v.lanes|=1),s):(s.flags|=65536,s.lanes=L,s)}var mk,o_,yk,_k;mk=function(s,c){for(var v=c.child;v!==null;){if(v.tag===5||v.tag===6)s.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===c)break;for(;v.sibling===null;){if(v.return===null||v.return===c)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},o_=function(){},yk=function(s,c,v,b){var L=s.memoizedProps;if(L!==b){s=c.stateNode,Tl(Rs.current);var V=null;switch(v){case"input":L=Ee(s,L),b=Ee(s,b),V=[];break;case"select":L=z({},L,{value:void 0}),b=z({},b,{value:void 0}),V=[];break;case"textarea":L=we(s,L),b=we(s,b),V=[];break;default:typeof L.onClick!="function"&&typeof b.onClick=="function"&&(s.onclick=bp)}Qt(v,b);var he;v=null;for(gt in L)if(!b.hasOwnProperty(gt)&&L.hasOwnProperty(gt)&&L[gt]!=null)if(gt==="style"){var xe=L[gt];for(he in xe)xe.hasOwnProperty(he)&&(v||(v={}),v[he]="")}else gt!=="dangerouslySetInnerHTML"&>!=="children"&>!=="suppressContentEditableWarning"&>!=="suppressHydrationWarning"&>!=="autoFocus"&&(i.hasOwnProperty(gt)?V||(V=[]):(V=V||[]).push(gt,null));for(gt in b){var Ve=b[gt];if(xe=L!=null?L[gt]:void 0,b.hasOwnProperty(gt)&&Ve!==xe&&(Ve!=null||xe!=null))if(gt==="style")if(xe){for(he in xe)!xe.hasOwnProperty(he)||Ve&&Ve.hasOwnProperty(he)||(v||(v={}),v[he]="");for(he in Ve)Ve.hasOwnProperty(he)&&xe[he]!==Ve[he]&&(v||(v={}),v[he]=Ve[he])}else v||(V||(V=[]),V.push(gt,v)),v=Ve;else gt==="dangerouslySetInnerHTML"?(Ve=Ve?Ve.__html:void 0,xe=xe?xe.__html:void 0,Ve!=null&&xe!==Ve&&(V=V||[]).push(gt,Ve)):gt==="children"?typeof Ve!="string"&&typeof Ve!="number"||(V=V||[]).push(gt,""+Ve):gt!=="suppressContentEditableWarning"&>!=="suppressHydrationWarning"&&(i.hasOwnProperty(gt)?(Ve!=null&>==="onScroll"&&ii("scroll",s),V||xe===Ve||(V=[])):(V=V||[]).push(gt,Ve))}v&&(V=V||[]).push("style",v);var gt=V;(c.updateQueue=gt)&&(c.flags|=4)}},_k=function(s,c,v,b){v!==b&&(c.flags|=4)};function Ld(s,c){if(!ci)switch(s.tailMode){case"hidden":c=s.tail;for(var v=null;c!==null;)c.alternate!==null&&(v=c),c=c.sibling;v===null?s.tail=null:v.sibling=null;break;case"collapsed":v=s.tail;for(var b=null;v!==null;)v.alternate!==null&&(b=v),v=v.sibling;b===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:b.sibling=null}}function ga(s){var c=s.alternate!==null&&s.alternate.child===s.child,v=0,b=0;if(c)for(var L=s.child;L!==null;)v|=L.lanes|L.childLanes,b|=L.subtreeFlags&14680064,b|=L.flags&14680064,L.return=s,L=L.sibling;else for(L=s.child;L!==null;)v|=L.lanes|L.childLanes,b|=L.subtreeFlags,b|=L.flags,L.return=s,L=L.sibling;return s.subtreeFlags|=b,s.childLanes=v,c}function aie(s,c,v){var b=c.pendingProps;switch(By(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ga(c),null;case 1:return Ya(c.type)&&Ap(),ga(c),null;case 3:return b=c.stateNode,Jc(),ai(Ka),ai(pa),Yy(),b.pendingContext&&(b.context=b.pendingContext,b.pendingContext=null),(s===null||s.child===null)&&(Ad(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,cs!==null&&(S_(cs),cs=null))),o_(s,c),ga(c),null;case 5:Gy(c);var L=Tl(Od.current);if(v=c.type,s!==null&&c.stateNode!=null)yk(s,c,v,b,L),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!b){if(c.stateNode===null)throw Error(r(166));return ga(c),null}if(s=Tl(Rs.current),Ad(c)){b=c.stateNode,v=c.type;var V=c.memoizedProps;switch(b[As]=c,b[bd]=V,s=(c.mode&1)!==0,v){case"dialog":ii("cancel",b),ii("close",b);break;case"iframe":case"object":case"embed":ii("load",b);break;case"video":case"audio":for(L=0;L<Ed.length;L++)ii(Ed[L],b);break;case"source":ii("error",b);break;case"img":case"image":case"link":ii("error",b),ii("load",b);break;case"details":ii("toggle",b);break;case"input":me(b,V),ii("invalid",b);break;case"select":b._wrapperState={wasMultiple:!!V.multiple},ii("invalid",b);break;case"textarea":ke(b,V),ii("invalid",b)}Qt(v,V),L=null;for(var he in V)if(V.hasOwnProperty(he)){var xe=V[he];he==="children"?typeof xe=="string"?b.textContent!==xe&&(V.suppressHydrationWarning!==!0&&wp(b.textContent,xe,s),L=["children",xe]):typeof xe=="number"&&b.textContent!==""+xe&&(V.suppressHydrationWarning!==!0&&wp(b.textContent,xe,s),L=["children",""+xe]):i.hasOwnProperty(he)&&xe!=null&&he==="onScroll"&&ii("scroll",b)}switch(v){case"input":U(b),Ie(b,V,!0);break;case"textarea":U(b),Ue(b);break;case"select":case"option":break;default:typeof V.onClick=="function"&&(b.onclick=bp)}b=L,c.updateQueue=b,b!==null&&(c.flags|=4)}else{he=L.nodeType===9?L:L.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=We(v)),s==="http://www.w3.org/1999/xhtml"?v==="script"?(s=he.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof b.is=="string"?s=he.createElement(v,{is:b.is}):(s=he.createElement(v),v==="select"&&(he=s,b.multiple?he.multiple=!0:b.size&&(he.size=b.size))):s=he.createElementNS(s,v),s[As]=c,s[bd]=b,mk(s,c,!1,!1),c.stateNode=s;e:{switch(he=Nt(v,b),v){case"dialog":ii("cancel",s),ii("close",s),L=b;break;case"iframe":case"object":case"embed":ii("load",s),L=b;break;case"video":case"audio":for(L=0;L<Ed.length;L++)ii(Ed[L],s);L=b;break;case"source":ii("error",s),L=b;break;case"img":case"image":case"link":ii("error",s),ii("load",s),L=b;break;case"details":ii("toggle",s),L=b;break;case"input":me(s,b),L=Ee(s,b),ii("invalid",s);break;case"option":L=b;break;case"select":s._wrapperState={wasMultiple:!!b.multiple},L=z({},b,{value:void 0}),ii("invalid",s);break;case"textarea":ke(s,b),L=we(s,b),ii("invalid",s);break;default:L=b}Qt(v,L),xe=L;for(V in xe)if(xe.hasOwnProperty(V)){var Ve=xe[V];V==="style"?ft(s,Ve):V==="dangerouslySetInnerHTML"?(Ve=Ve?Ve.__html:void 0,Ve!=null&&Gt(s,Ve)):V==="children"?typeof Ve=="string"?(v!=="textarea"||Ve!=="")&&et(s,Ve):typeof Ve=="number"&&et(s,""+Ve):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(i.hasOwnProperty(V)?Ve!=null&&V==="onScroll"&&ii("scroll",s):Ve!=null&&C(s,V,Ve,he))}switch(v){case"input":U(s),Ie(s,b,!1);break;case"textarea":U(s),Ue(s);break;case"option":b.value!=null&&s.setAttribute("value",""+I(b.value));break;case"select":s.multiple=!!b.multiple,V=b.value,V!=null?_e(s,!!b.multiple,V,!1):b.defaultValue!=null&&_e(s,!!b.multiple,b.defaultValue,!0);break;default:typeof L.onClick=="function"&&(s.onclick=bp)}switch(v){case"button":case"input":case"select":case"textarea":b=!!b.autoFocus;break e;case"img":b=!0;break e;default:b=!1}}b&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return ga(c),null;case 6:if(s&&c.stateNode!=null)_k(s,c,s.memoizedProps,b);else{if(typeof b!="string"&&c.stateNode===null)throw Error(r(166));if(v=Tl(Od.current),Tl(Rs.current),Ad(c)){if(b=c.stateNode,v=c.memoizedProps,b[As]=c,(V=b.nodeValue!==v)&&(s=yo,s!==null))switch(s.tag){case 3:wp(b.nodeValue,v,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&wp(b.nodeValue,v,(s.mode&1)!==0)}V&&(c.flags|=4)}else b=(v.nodeType===9?v:v.ownerDocument).createTextNode(b),b[As]=c,c.stateNode=b}return ga(c),null;case 13:if(ai(gi),b=c.memoizedState,ci&&Xa!==null&&(c.mode&1)!==0&&(c.flags&128)===0){for(b=Xa;b;)b=Xs(b.nextSibling);return Xc(),c.flags|=98560,c}if(b!==null&&b.dehydrated!==null){if(b=Ad(c),s===null){if(!b)throw Error(r(318));if(b=c.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[As]=c}else Xc(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;return ga(c),null}return cs!==null&&(S_(cs),cs=null),(c.flags&128)!==0?(c.lanes=v,c):(b=b!==null,v=!1,s===null?Ad(c):v=s.memoizedState!==null,b!==v&&b&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(gi.current&1)!==0?Bi===0&&(Bi=3):T_())),c.updateQueue!==null&&(c.flags|=4),ga(c),null);case 4:return Jc(),o_(s,c),s===null&&Sd(c.stateNode.containerInfo),ga(c),null;case 10:return My(c.type._context),ga(c),null;case 17:return Ya(c.type)&&Ap(),ga(c),null;case 19:if(ai(gi),V=c.memoizedState,V===null)return ga(c),null;if(b=(c.flags&128)!==0,he=V.rendering,he===null)if(b)Ld(V,!1);else{if(Bi!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(he=Mp(s),he!==null){for(c.flags|=128,Ld(V,!1),b=he.updateQueue,b!==null&&(c.updateQueue=b,c.flags|=4),c.subtreeFlags=0,b=v,v=c.child;v!==null;)V=v,s=b,V.flags&=14680066,he=V.alternate,he===null?(V.childLanes=0,V.lanes=s,V.child=null,V.subtreeFlags=0,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null,V.stateNode=null):(V.childLanes=he.childLanes,V.lanes=he.lanes,V.child=he.child,V.subtreeFlags=0,V.deletions=null,V.memoizedProps=he.memoizedProps,V.memoizedState=he.memoizedState,V.updateQueue=he.updateQueue,V.type=he.type,s=he.dependencies,V.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),v=v.sibling;return Zn(gi,gi.current&1|2),c.child}s=s.sibling}V.tail!==null&&yt()>tf&&(c.flags|=128,b=!0,Ld(V,!1),c.lanes=4194304)}else{if(!b)if(s=Mp(he),s!==null){if(c.flags|=128,b=!0,v=s.updateQueue,v!==null&&(c.updateQueue=v,c.flags|=4),Ld(V,!0),V.tail===null&&V.tailMode==="hidden"&&!he.alternate&&!ci)return ga(c),null}else 2*yt()-V.renderingStartTime>tf&&v!==1073741824&&(c.flags|=128,b=!0,Ld(V,!1),c.lanes=4194304);V.isBackwards?(he.sibling=c.child,c.child=he):(v=V.last,v!==null?v.sibling=he:c.child=he,V.last=he)}return V.tail!==null?(c=V.tail,V.rendering=c,V.tail=c.sibling,V.renderingStartTime=yt(),c.sibling=null,v=gi.current,Zn(gi,b?v&1|2:v&1),c):(ga(c),null);case 22:case 23:return b_(),b=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==b&&(c.flags|=8192),b&&(c.mode&1)!==0?(_o&1073741824)!==0&&(ga(c),c.subtreeFlags&6&&(c.flags|=8192)):ga(c),null;case 24:return null;case 25:return null}throw Error(r(156,c.tag))}var oie=x.ReactCurrentOwner,Qa=!1;function ka(s,c,v,b){c.child=s===null?VP(c,null,v,b):Qc(c,s.child,v,b)}function Ek(s,c,v,b,L){v=v.render;var V=c.ref;return Gc(c,L),b=Jy(s,c,v,b,V,L),v=Zy(),s!==null&&!Qa?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~L,ru(s,c,L)):(ci&&v&&qy(c),c.flags|=1,ka(s,c,b,L),c.child)}function Sk(s,c,v,b,L){if(s===null){var V=v.type;return typeof V=="function"&&!A_(V)&&V.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(c.tag=15,c.type=V,wk(s,c,V,b,L)):(s=rv(v.type,null,b,c,c.mode,L),s.ref=c.ref,s.return=c,c.child=s)}if(V=s.child,(s.lanes&L)===0){var he=V.memoizedProps;if(v=v.compare,v=v!==null?v:sr,v(he,b)&&s.ref===c.ref)return ru(s,c,L)}return c.flags|=1,s=qu(V,b),s.ref=c.ref,s.return=c,c.child=s}function wk(s,c,v,b,L){if(s!==null){var V=s.memoizedProps;if(sr(V,b)&&s.ref===c.ref)if(Qa=!1,c.pendingProps=b=V,(s.lanes&L)!==0)(s.flags&131072)!==0&&(Qa=!0);else return c.lanes=s.lanes,ru(s,c,L)}return s_(s,c,v,b,L)}function bk(s,c,v){var b=c.pendingProps,L=b.children,V=s!==null?s.memoizedState:null;if(b.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zn(ef,_o),_o|=v;else if((v&1073741824)!==0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},b=V!==null?V.baseLanes:v,Zn(ef,_o),_o|=b;else return s=V!==null?V.baseLanes|v:v,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Zn(ef,_o),_o|=s,null;else V!==null?(b=V.baseLanes|v,c.memoizedState=null):b=v,Zn(ef,_o),_o|=b;return ka(s,c,L,v),c.child}function Tk(s,c){var v=c.ref;(s===null&&v!==null||s!==null&&s.ref!==v)&&(c.flags|=512,c.flags|=2097152)}function s_(s,c,v,b,L){var V=Ya(v)?Sl:pa.current;return V=zc(c,V),Gc(c,L),v=Jy(s,c,v,b,V,L),b=Zy(),s!==null&&!Qa?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~L,ru(s,c,L)):(ci&&b&&qy(c),c.flags|=1,ka(s,c,v,L),c.child)}function Ak(s,c,v,b,L){if(Ya(v)){var V=!0;Rp(c)}else V=!1;if(Gc(c,L),c.stateNode===null)s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),NP(c,v,b),Uy(c,v,b,L),b=!0;else if(s===null){var he=c.stateNode,xe=c.memoizedProps;he.props=xe;var Ve=he.context,gt=v.contextType;typeof gt=="object"&>!==null?gt=Uo(gt):(gt=Ya(v)?Sl:pa.current,gt=zc(c,gt));var Mt=v.getDerivedStateFromProps,nr=typeof Mt=="function"||typeof he.getSnapshotBeforeUpdate=="function";nr||typeof he.UNSAFE_componentWillReceiveProps!="function"&&typeof he.componentWillReceiveProps!="function"||(xe!==b||Ve!==gt)&&MP(c,he,b,gt),Lu=!1;var Pt=c.memoizedState;he.state=Pt,Pp(c,b,he,L),Ve=c.memoizedState,xe!==b||Pt!==Ve||Ka.current||Lu?(typeof Mt=="function"&&(jy(c,v,Mt,b),Ve=c.memoizedState),(xe=Lu||LP(c,v,xe,b,Pt,Ve,gt))?(nr||typeof he.UNSAFE_componentWillMount!="function"&&typeof he.componentWillMount!="function"||(typeof he.componentWillMount=="function"&&he.componentWillMount(),typeof he.UNSAFE_componentWillMount=="function"&&he.UNSAFE_componentWillMount()),typeof he.componentDidMount=="function"&&(c.flags|=4194308)):(typeof he.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=b,c.memoizedState=Ve),he.props=b,he.state=Ve,he.context=gt,b=xe):(typeof he.componentDidMount=="function"&&(c.flags|=4194308),b=!1)}else{he=c.stateNode,IP(s,c),xe=c.memoizedProps,gt=c.type===c.elementType?xe:us(c.type,xe),he.props=gt,nr=c.pendingProps,Pt=he.context,Ve=v.contextType,typeof Ve=="object"&&Ve!==null?Ve=Uo(Ve):(Ve=Ya(v)?Sl:pa.current,Ve=zc(c,Ve));var or=v.getDerivedStateFromProps;(Mt=typeof or=="function"||typeof he.getSnapshotBeforeUpdate=="function")||typeof he.UNSAFE_componentWillReceiveProps!="function"&&typeof he.componentWillReceiveProps!="function"||(xe!==nr||Pt!==Ve)&&MP(c,he,b,Ve),Lu=!1,Pt=c.memoizedState,he.state=Pt,Pp(c,b,he,L);var tr=c.memoizedState;xe!==nr||Pt!==tr||Ka.current||Lu?(typeof or=="function"&&(jy(c,v,or,b),tr=c.memoizedState),(gt=Lu||LP(c,v,gt,b,Pt,tr,Ve)||!1)?(Mt||typeof he.UNSAFE_componentWillUpdate!="function"&&typeof he.componentWillUpdate!="function"||(typeof he.componentWillUpdate=="function"&&he.componentWillUpdate(b,tr,Ve),typeof he.UNSAFE_componentWillUpdate=="function"&&he.UNSAFE_componentWillUpdate(b,tr,Ve)),typeof he.componentDidUpdate=="function"&&(c.flags|=4),typeof he.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof he.componentDidUpdate!="function"||xe===s.memoizedProps&&Pt===s.memoizedState||(c.flags|=4),typeof he.getSnapshotBeforeUpdate!="function"||xe===s.memoizedProps&&Pt===s.memoizedState||(c.flags|=1024),c.memoizedProps=b,c.memoizedState=tr),he.props=b,he.state=tr,he.context=Ve,b=gt):(typeof he.componentDidUpdate!="function"||xe===s.memoizedProps&&Pt===s.memoizedState||(c.flags|=4),typeof he.getSnapshotBeforeUpdate!="function"||xe===s.memoizedProps&&Pt===s.memoizedState||(c.flags|=1024),b=!1)}return u_(s,c,v,b,V,L)}function u_(s,c,v,b,L,V){Tk(s,c);var he=(c.flags&128)!==0;if(!b&&!he)return L&&CP(c,v,!1),ru(s,c,V);b=c.stateNode,oie.current=c;var xe=he&&typeof v.getDerivedStateFromError!="function"?null:b.render();return c.flags|=1,s!==null&&he?(c.child=Qc(c,s.child,null,V),c.child=Qc(c,null,xe,V)):ka(s,c,xe,V),c.memoizedState=b.state,L&&CP(c,v,!0),c.child}function Rk(s){var c=s.stateNode;c.pendingContext?RP(s,c.pendingContext,c.pendingContext!==c.context):c.context&&RP(s,c.context,!1),Wy(s,c.containerInfo)}function xk(s,c,v,b,L){return Xc(),zy(L),c.flags|=256,ka(s,c,v,b),c.child}var Bp={dehydrated:null,treeContext:null,retryLane:0};function Vp(s){return{baseLanes:s,cachePool:null,transitions:null}}function Ck(s,c){return{baseLanes:s.baseLanes|c,cachePool:null,transitions:s.transitions}}function Ok(s,c,v){var b=c.pendingProps,L=gi.current,V=!1,he=(c.flags&128)!==0,xe;if((xe=he)||(xe=s!==null&&s.memoizedState===null?!1:(L&2)!==0),xe?(V=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(L|=1),Zn(gi,L&1),s===null)return Hy(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(L=b.children,s=b.fallback,V?(b=c.mode,V=c.child,L={mode:"hidden",children:L},(b&1)===0&&V!==null?(V.childLanes=0,V.pendingProps=L):V=nv(L,b,0,null),s=Il(s,b,v,null),V.return=c,s.return=c,V.sibling=s,c.child=V,c.child.memoizedState=Vp(v),c.memoizedState=Bp,s):l_(c,L));if(L=s.memoizedState,L!==null){if(xe=L.dehydrated,xe!==null){if(he)return c.flags&256?(c.flags&=-257,Hp(s,c,v,Error(r(422)))):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(V=b.fallback,L=c.mode,b=nv({mode:"visible",children:b.children},L,0,null),V=Il(V,L,v,null),V.flags|=2,b.return=c,V.return=c,b.sibling=V,c.child=b,(c.mode&1)!==0&&Qc(c,s.child,null,v),c.child.memoizedState=Vp(v),c.memoizedState=Bp,V);if((c.mode&1)===0)c=Hp(s,c,v,null);else if(xe.data==="$!")c=Hp(s,c,v,Error(r(419)));else if(b=(v&s.childLanes)!==0,Qa||b){if(b=qi,b!==null){switch(v&-v){case 4:V=2;break;case 16:V=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:V=32;break;case 536870912:V=268435456;break;default:V=0}b=(V&(b.suspendedLanes|v))!==0?0:V,b!==0&&b!==L.retryLane&&(L.retryLane=b,zo(s,b,-1))}T_(),c=Hp(s,c,v,Error(r(421)))}else xe.data==="$?"?(c.flags|=128,c.child=s.child,c=yie.bind(null,s),xe._reactRetry=c,c=null):(v=L.treeContext,Xa=Xs(xe.nextSibling),yo=c,ci=!0,cs=null,v!==null&&(qo[Bo++]=eu,qo[Bo++]=tu,qo[Bo++]=wl,eu=v.id,tu=v.overflow,wl=c),c=l_(c,c.pendingProps.children),c.flags|=4096);return c}return V?(b=Pk(s,c,b.children,b.fallback,v),V=c.child,L=s.child.memoizedState,V.memoizedState=L===null?Vp(v):Ck(L,v),V.childLanes=s.childLanes&~v,c.memoizedState=Bp,b):(v=Ik(s,c,b.children,v),c.memoizedState=null,v)}return V?(b=Pk(s,c,b.children,b.fallback,v),V=c.child,L=s.child.memoizedState,V.memoizedState=L===null?Vp(v):Ck(L,v),V.childLanes=s.childLanes&~v,c.memoizedState=Bp,b):(v=Ik(s,c,b.children,v),c.memoizedState=null,v)}function l_(s,c){return c=nv({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Ik(s,c,v,b){var L=s.child;return s=L.sibling,v=qu(L,{mode:"visible",children:v}),(c.mode&1)===0&&(v.lanes=b),v.return=c,v.sibling=null,s!==null&&(b=c.deletions,b===null?(c.deletions=[s],c.flags|=16):b.push(s)),c.child=v}function Pk(s,c,v,b,L){var V=c.mode;s=s.child;var he=s.sibling,xe={mode:"hidden",children:v};return(V&1)===0&&c.child!==s?(v=c.child,v.childLanes=0,v.pendingProps=xe,c.deletions=null):(v=qu(s,xe),v.subtreeFlags=s.subtreeFlags&14680064),he!==null?b=qu(he,b):(b=Il(b,V,L,null),b.flags|=2),b.return=c,v.return=c,v.sibling=b,c.child=v,b}function Hp(s,c,v,b){return b!==null&&zy(b),Qc(c,s.child,null,v),s=l_(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function kk(s,c,v){s.lanes|=c;var b=s.alternate;b!==null&&(b.lanes|=c),$y(s.return,c,v)}function c_(s,c,v,b,L){var V=s.memoizedState;V===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:b,tail:v,tailMode:L}:(V.isBackwards=c,V.rendering=null,V.renderingStartTime=0,V.last=b,V.tail=v,V.tailMode=L)}function Dk(s,c,v){var b=c.pendingProps,L=b.revealOrder,V=b.tail;if(ka(s,c,b.children,v),b=gi.current,(b&2)!==0)b=b&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&kk(s,v,c);else if(s.tag===19)kk(s,v,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}b&=1}if(Zn(gi,b),(c.mode&1)===0)c.memoizedState=null;else switch(L){case"forwards":for(v=c.child,L=null;v!==null;)s=v.alternate,s!==null&&Mp(s)===null&&(L=v),v=v.sibling;v=L,v===null?(L=c.child,c.child=null):(L=v.sibling,v.sibling=null),c_(c,!1,L,v,V);break;case"backwards":for(v=null,L=c.child,c.child=null;L!==null;){if(s=L.alternate,s!==null&&Mp(s)===null){c.child=L;break}s=L.sibling,L.sibling=v,v=L,L=s}c_(c,!0,v,null,V);break;case"together":c_(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function ru(s,c,v){if(s!==null&&(c.dependencies=s.dependencies),Rl|=c.lanes,(v&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(r(153));if(c.child!==null){for(s=c.child,v=qu(s,s.pendingProps),c.child=v,v.return=c;s.sibling!==null;)s=s.sibling,v=v.sibling=qu(s,s.pendingProps),v.return=c;v.sibling=null}return c.child}function sie(s,c,v){switch(c.tag){case 3:Rk(c),Xc();break;case 5:HP(c);break;case 1:Ya(c.type)&&Rp(c);break;case 4:Wy(c,c.stateNode.containerInfo);break;case 10:var b=c.type._context,L=c.memoizedProps.value;Zn(Cp,b._currentValue),b._currentValue=L;break;case 13:if(b=c.memoizedState,b!==null)return b.dehydrated!==null?(Zn(gi,gi.current&1),c.flags|=128,null):(v&c.child.childLanes)!==0?Ok(s,c,v):(Zn(gi,gi.current&1),s=ru(s,c,v),s!==null?s.sibling:null);Zn(gi,gi.current&1);break;case 19:if(b=(v&c.childLanes)!==0,(s.flags&128)!==0){if(b)return Dk(s,c,v);c.flags|=128}if(L=c.memoizedState,L!==null&&(L.rendering=null,L.tail=null,L.lastEffect=null),Zn(gi,gi.current),b)break;return null;case 22:case 23:return c.lanes=0,bk(s,c,v)}return ru(s,c,v)}function uie(s,c){switch(By(c),c.tag){case 1:return Ya(c.type)&&Ap(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Jc(),ai(Ka),ai(pa),Yy(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return Gy(c),null;case 13:if(ai(gi),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(r(340));Xc()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return ai(gi),null;case 4:return Jc(),null;case 10:return My(c.type._context),null;case 22:case 23:return b_(),null;case 24:return null;default:return null}}var zp=!1,ma=!1,lie=typeof WeakSet=="function"?WeakSet:Set,ur=null;function Zc(s,c){var v=s.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(b){bi(s,c,b)}else v.current=null}function f_(s,c,v){try{v()}catch(b){bi(s,c,b)}}var Lk=!1;function cie(s,c){if(Ry=Wi,s=Fr(),Xr(s)){if("selectionStart"in s)var v={start:s.selectionStart,end:s.selectionEnd};else e:{v=(v=s.ownerDocument)&&v.defaultView||window;var b=v.getSelection&&v.getSelection();if(b&&b.rangeCount!==0){v=b.anchorNode;var L=b.anchorOffset,V=b.focusNode;b=b.focusOffset;try{v.nodeType,V.nodeType}catch{v=null;break e}var he=0,xe=-1,Ve=-1,gt=0,Mt=0,nr=s,Pt=null;t:for(;;){for(var or;nr!==v||L!==0&&nr.nodeType!==3||(xe=he+L),nr!==V||b!==0&&nr.nodeType!==3||(Ve=he+b),nr.nodeType===3&&(he+=nr.nodeValue.length),(or=nr.firstChild)!==null;)Pt=nr,nr=or;for(;;){if(nr===s)break t;if(Pt===v&&++gt===L&&(xe=he),Pt===V&&++Mt===b&&(Ve=he),(or=nr.nextSibling)!==null)break;nr=Pt,Pt=nr.parentNode}nr=or}v=xe===-1||Ve===-1?null:{start:xe,end:Ve}}else v=null}v=v||{start:0,end:0}}else v=null;for(xy={focusedElem:s,selectionRange:v},Wi=!1,ur=c;ur!==null;)if(c=ur,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,ur=s;else for(;ur!==null;){c=ur;try{var tr=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(tr!==null){var Wr=tr.memoizedProps,Ci=tr.memoizedState,ot=c.stateNode,Ye=ot.getSnapshotBeforeUpdate(c.elementType===c.type?Wr:us(c.type,Wr),Ci);ot.__reactInternalSnapshotBeforeUpdate=Ye}break;case 3:var pt=c.stateNode.containerInfo;if(pt.nodeType===1)pt.textContent="";else if(pt.nodeType===9){var Yt=pt.body;Yt!=null&&(Yt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(cr){bi(c,c.return,cr)}if(s=c.sibling,s!==null){s.return=c.return,ur=s;break}ur=c.return}return tr=Lk,Lk=!1,tr}function Nd(s,c,v){var b=c.updateQueue;if(b=b!==null?b.lastEffect:null,b!==null){var L=b=b.next;do{if((L.tag&s)===s){var V=L.destroy;L.destroy=void 0,V!==void 0&&f_(c,v,V)}L=L.next}while(L!==b)}}function Wp(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var v=c=c.next;do{if((v.tag&s)===s){var b=v.create;v.destroy=b()}v=v.next}while(v!==c)}}function d_(s){var c=s.ref;if(c!==null){var v=s.stateNode;switch(s.tag){case 5:s=v;break;default:s=v}typeof c=="function"?c(s):c.current=s}}function Nk(s){var c=s.alternate;c!==null&&(s.alternate=null,Nk(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[As],delete c[bd],delete c[Py],delete c[Gne],delete c[Kne])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function Mk(s){return s.tag===5||s.tag===3||s.tag===4}function $k(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||Mk(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function h_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.nodeType===8?v.parentNode.insertBefore(s,c):v.insertBefore(s,c):(v.nodeType===8?(c=v.parentNode,c.insertBefore(s,v)):(c=v,c.appendChild(s)),v=v._reactRootContainer,v!=null||c.onclick!==null||(c.onclick=bp));else if(b!==4&&(s=s.child,s!==null))for(h_(s,c,v),s=s.sibling;s!==null;)h_(s,c,v),s=s.sibling}function p_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.insertBefore(s,c):v.appendChild(s);else if(b!==4&&(s=s.child,s!==null))for(p_(s,c,v),s=s.sibling;s!==null;)p_(s,c,v),s=s.sibling}var Zi=null,fs=!1;function Mu(s,c,v){for(v=v.child;v!==null;)Fk(s,c,v),v=v.sibling}function Fk(s,c,v){if(zr&&typeof zr.onCommitFiberUnmount=="function")try{zr.onCommitFiberUnmount(Dt,v)}catch{}switch(v.tag){case 5:ma||Zc(v,c);case 6:var b=Zi,L=fs;Zi=null,Mu(s,c,v),Zi=b,fs=L,Zi!==null&&(fs?(s=Zi,v=v.stateNode,s.nodeType===8?s.parentNode.removeChild(v):s.removeChild(v)):Zi.removeChild(v.stateNode));break;case 18:Zi!==null&&(fs?(s=Zi,v=v.stateNode,s.nodeType===8?Iy(s.parentNode,v):s.nodeType===1&&Iy(s,v),Va(s)):Iy(Zi,v.stateNode));break;case 4:b=Zi,L=fs,Zi=v.stateNode.containerInfo,fs=!0,Mu(s,c,v),Zi=b,fs=L;break;case 0:case 11:case 14:case 15:if(!ma&&(b=v.updateQueue,b!==null&&(b=b.lastEffect,b!==null))){L=b=b.next;do{var V=L,he=V.destroy;V=V.tag,he!==void 0&&((V&2)!==0||(V&4)!==0)&&f_(v,c,he),L=L.next}while(L!==b)}Mu(s,c,v);break;case 1:if(!ma&&(Zc(v,c),b=v.stateNode,typeof b.componentWillUnmount=="function"))try{b.props=v.memoizedProps,b.state=v.memoizedState,b.componentWillUnmount()}catch(xe){bi(v,c,xe)}Mu(s,c,v);break;case 21:Mu(s,c,v);break;case 22:v.mode&1?(ma=(b=ma)||v.memoizedState!==null,Mu(s,c,v),ma=b):Mu(s,c,v);break;default:Mu(s,c,v)}}function jk(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var v=s.stateNode;v===null&&(v=s.stateNode=new lie),c.forEach(function(b){var L=_ie.bind(null,s,b);v.has(b)||(v.add(b),b.then(L,L))})}}function ds(s,c){var v=c.deletions;if(v!==null)for(var b=0;b<v.length;b++){var L=v[b];try{var V=s,he=c,xe=he;e:for(;xe!==null;){switch(xe.tag){case 5:Zi=xe.stateNode,fs=!1;break e;case 3:Zi=xe.stateNode.containerInfo,fs=!0;break e;case 4:Zi=xe.stateNode.containerInfo,fs=!0;break e}xe=xe.return}if(Zi===null)throw Error(r(160));Fk(V,he,L),Zi=null,fs=!1;var Ve=L.alternate;Ve!==null&&(Ve.return=null),L.return=null}catch(gt){bi(L,c,gt)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)Uk(c,s),c=c.sibling}function Uk(s,c){var v=s.alternate,b=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(ds(c,s),Cs(s),b&4){try{Nd(3,s,s.return),Wp(3,s)}catch(tr){bi(s,s.return,tr)}try{Nd(5,s,s.return)}catch(tr){bi(s,s.return,tr)}}break;case 1:ds(c,s),Cs(s),b&512&&v!==null&&Zc(v,v.return);break;case 5:if(ds(c,s),Cs(s),b&512&&v!==null&&Zc(v,v.return),s.flags&32){var L=s.stateNode;try{et(L,"")}catch(tr){bi(s,s.return,tr)}}if(b&4&&(L=s.stateNode,L!=null)){var V=s.memoizedProps,he=v!==null?v.memoizedProps:V,xe=s.type,Ve=s.updateQueue;if(s.updateQueue=null,Ve!==null)try{xe==="input"&&V.type==="radio"&&V.name!=null&&Ce(L,V),Nt(xe,he);var gt=Nt(xe,V);for(he=0;he<Ve.length;he+=2){var Mt=Ve[he],nr=Ve[he+1];Mt==="style"?ft(L,nr):Mt==="dangerouslySetInnerHTML"?Gt(L,nr):Mt==="children"?et(L,nr):C(L,Mt,nr,gt)}switch(xe){case"input":be(L,V);break;case"textarea":qe(L,V);break;case"select":var Pt=L._wrapperState.wasMultiple;L._wrapperState.wasMultiple=!!V.multiple;var or=V.value;or!=null?_e(L,!!V.multiple,or,!1):Pt!==!!V.multiple&&(V.defaultValue!=null?_e(L,!!V.multiple,V.defaultValue,!0):_e(L,!!V.multiple,V.multiple?[]:"",!1))}L[bd]=V}catch(tr){bi(s,s.return,tr)}}break;case 6:if(ds(c,s),Cs(s),b&4){if(s.stateNode===null)throw Error(r(162));gt=s.stateNode,Mt=s.memoizedProps;try{gt.nodeValue=Mt}catch(tr){bi(s,s.return,tr)}}break;case 3:if(ds(c,s),Cs(s),b&4&&v!==null&&v.memoizedState.isDehydrated)try{Va(c.containerInfo)}catch(tr){bi(s,s.return,tr)}break;case 4:ds(c,s),Cs(s);break;case 13:ds(c,s),Cs(s),gt=s.child,gt.flags&8192&>.memoizedState!==null&&(gt.alternate===null||gt.alternate.memoizedState===null)&&(m_=yt()),b&4&&jk(s);break;case 22:if(gt=v!==null&&v.memoizedState!==null,s.mode&1?(ma=(Mt=ma)||gt,ds(c,s),ma=Mt):ds(c,s),Cs(s),b&8192){Mt=s.memoizedState!==null;e:for(nr=null,Pt=s;;){if(Pt.tag===5){if(nr===null){nr=Pt;try{L=Pt.stateNode,Mt?(V=L.style,typeof V.setProperty=="function"?V.setProperty("display","none","important"):V.display="none"):(xe=Pt.stateNode,Ve=Pt.memoizedProps.style,he=Ve!=null&&Ve.hasOwnProperty("display")?Ve.display:null,xe.style.display=st("display",he))}catch(tr){bi(s,s.return,tr)}}}else if(Pt.tag===6){if(nr===null)try{Pt.stateNode.nodeValue=Mt?"":Pt.memoizedProps}catch(tr){bi(s,s.return,tr)}}else if((Pt.tag!==22&&Pt.tag!==23||Pt.memoizedState===null||Pt===s)&&Pt.child!==null){Pt.child.return=Pt,Pt=Pt.child;continue}if(Pt===s)break e;for(;Pt.sibling===null;){if(Pt.return===null||Pt.return===s)break e;nr===Pt&&(nr=null),Pt=Pt.return}nr===Pt&&(nr=null),Pt.sibling.return=Pt.return,Pt=Pt.sibling}if(Mt&&!gt&&(s.mode&1)!==0)for(ur=s,s=s.child;s!==null;){for(gt=ur=s;ur!==null;){switch(Mt=ur,nr=Mt.child,Mt.tag){case 0:case 11:case 14:case 15:Nd(4,Mt,Mt.return);break;case 1:if(Zc(Mt,Mt.return),V=Mt.stateNode,typeof V.componentWillUnmount=="function"){Pt=Mt,or=Mt.return;try{L=Pt,V.props=L.memoizedProps,V.state=L.memoizedState,V.componentWillUnmount()}catch(tr){bi(Pt,or,tr)}}break;case 5:Zc(Mt,Mt.return);break;case 22:if(Mt.memoizedState!==null){Vk(gt);continue}}nr!==null?(nr.return=Mt,ur=nr):Vk(gt)}s=s.sibling}}break;case 19:ds(c,s),Cs(s),b&4&&jk(s);break;case 21:break;default:ds(c,s),Cs(s)}}function Cs(s){var c=s.flags;if(c&2){try{e:{for(var v=s.return;v!==null;){if(Mk(v)){var b=v;break e}v=v.return}throw Error(r(160))}switch(b.tag){case 5:var L=b.stateNode;b.flags&32&&(et(L,""),b.flags&=-33);var V=$k(s);p_(s,V,L);break;case 3:case 4:var he=b.stateNode.containerInfo,xe=$k(s);h_(s,xe,he);break;default:throw Error(r(161))}}catch(Ve){bi(s,s.return,Ve)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function fie(s,c,v){ur=s,qk(s)}function qk(s,c,v){for(var b=(s.mode&1)!==0;ur!==null;){var L=ur,V=L.child;if(L.tag===22&&b){var he=L.memoizedState!==null||zp;if(!he){var xe=L.alternate,Ve=xe!==null&&xe.memoizedState!==null||ma;xe=zp;var gt=ma;if(zp=he,(ma=Ve)&&!gt)for(ur=L;ur!==null;)he=ur,Ve=he.child,he.tag===22&&he.memoizedState!==null?Hk(L):Ve!==null?(Ve.return=he,ur=Ve):Hk(L);for(;V!==null;)ur=V,qk(V),V=V.sibling;ur=L,zp=xe,ma=gt}Bk(s)}else(L.subtreeFlags&8772)!==0&&V!==null?(V.return=L,ur=V):Bk(s)}}function Bk(s){for(;ur!==null;){var c=ur;if((c.flags&8772)!==0){var v=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:ma||Wp(5,c);break;case 1:var b=c.stateNode;if(c.flags&4&&!ma)if(v===null)b.componentDidMount();else{var L=c.elementType===c.type?v.memoizedProps:us(c.type,v.memoizedProps);b.componentDidUpdate(L,v.memoizedState,b.__reactInternalSnapshotBeforeUpdate)}var V=c.updateQueue;V!==null&&kP(c,V,b);break;case 3:var he=c.updateQueue;if(he!==null){if(v=null,c.child!==null)switch(c.child.tag){case 5:v=c.child.stateNode;break;case 1:v=c.child.stateNode}kP(c,he,v)}break;case 5:var xe=c.stateNode;if(v===null&&c.flags&4){v=xe;var Ve=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Ve.autoFocus&&v.focus();break;case"img":Ve.src&&(v.src=Ve.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var gt=c.alternate;if(gt!==null){var Mt=gt.memoizedState;if(Mt!==null){var nr=Mt.dehydrated;nr!==null&&Va(nr)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}ma||c.flags&512&&d_(c)}catch(Pt){bi(c,c.return,Pt)}}if(c===s){ur=null;break}if(v=c.sibling,v!==null){v.return=c.return,ur=v;break}ur=c.return}}function Vk(s){for(;ur!==null;){var c=ur;if(c===s){ur=null;break}var v=c.sibling;if(v!==null){v.return=c.return,ur=v;break}ur=c.return}}function Hk(s){for(;ur!==null;){var c=ur;try{switch(c.tag){case 0:case 11:case 15:var v=c.return;try{Wp(4,c)}catch(Ve){bi(c,v,Ve)}break;case 1:var b=c.stateNode;if(typeof b.componentDidMount=="function"){var L=c.return;try{b.componentDidMount()}catch(Ve){bi(c,L,Ve)}}var V=c.return;try{d_(c)}catch(Ve){bi(c,V,Ve)}break;case 5:var he=c.return;try{d_(c)}catch(Ve){bi(c,he,Ve)}}}catch(Ve){bi(c,c.return,Ve)}if(c===s){ur=null;break}var xe=c.sibling;if(xe!==null){xe.return=c.return,ur=xe;break}ur=c.return}}var die=Math.ceil,Gp=x.ReactCurrentDispatcher,v_=x.ReactCurrentOwner,Ho=x.ReactCurrentBatchConfig,hn=0,qi=null,Ni=null,ea=0,_o=0,ef=Pu(0),Bi=0,Md=null,Rl=0,Kp=0,g_=0,$d=null,Ja=null,m_=0,tf=1/0,nu=null,Yp=!1,y_=null,$u=null,Xp=!1,Fu=null,Qp=0,Fd=0,__=null,Jp=-1,Zp=0;function Da(){return(hn&6)!==0?yt():Jp!==-1?Jp:Jp=yt()}function ju(s){return(s.mode&1)===0?1:(hn&2)!==0&&ea!==0?ea&-ea:Xne.transition!==null?(Zp===0&&(Zp=Me()),Zp):(s=Xt,s!==0||(s=window.event,s=s===void 0?16:Ks(s.type)),s)}function zo(s,c,v){if(50<Fd)throw Fd=0,__=null,Error(r(185));var b=ev(s,c);return b===null?null:(nt(b,c,v),((hn&2)===0||b!==qi)&&(b===qi&&((hn&2)===0&&(Kp|=c),Bi===4&&Uu(b,ea)),Za(b,v),c===1&&hn===0&&(s.mode&1)===0&&(tf=yt()+500,xp&&Du())),b)}function ev(s,c){s.lanes|=c;var v=s.alternate;for(v!==null&&(v.lanes|=c),v=s,s=s.return;s!==null;)s.childLanes|=c,v=s.alternate,v!==null&&(v.childLanes|=c),v=s,s=s.return;return v.tag===3?v.stateNode:null}function zk(s){return(qi!==null||ls!==null)&&(s.mode&1)!==0&&(hn&2)===0}function Za(s,c){var v=s.callbackNode;ee(s,c);var b=da(s,s===qi?ea:0);if(b===0)v!==null&&rt(v),s.callbackNode=null,s.callbackPriority=0;else if(c=b&-b,s.callbackPriority!==c){if(v!=null&&rt(v),c===1)s.tag===0?Yne(Gk.bind(null,s)):OP(Gk.bind(null,s)),zne(function(){hn===0&&Du()}),v=null;else{switch(mr(b)){case 1:v=Kt;break;case 4:v=wt;break;case 16:v=_r;break;case 536870912:v=dn;break;default:v=_r}v=tD(v,Wk.bind(null,s))}s.callbackPriority=c,s.callbackNode=v}}function Wk(s,c){if(Jp=-1,Zp=0,(hn&6)!==0)throw Error(r(327));var v=s.callbackNode;if(rf()&&s.callbackNode!==v)return null;var b=da(s,s===qi?ea:0);if(b===0)return null;if((b&30)!==0||(b&s.expiredLanes)!==0||c)c=tv(s,b);else{c=b;var L=hn;hn|=2;var V=Yk();(qi!==s||ea!==c)&&(nu=null,tf=yt()+500,Cl(s,c));do try{vie();break}catch(xe){Kk(s,xe)}while(!0);Ny(),Gp.current=V,hn=L,Ni!==null?c=0:(qi=null,ea=0,c=Bi)}if(c!==0){if(c===2&&(L=ge(s),L!==0&&(b=L,c=E_(s,L))),c===1)throw v=Md,Cl(s,0),Uu(s,b),Za(s,yt()),v;if(c===6)Uu(s,b);else{if(L=s.current.alternate,(b&30)===0&&!hie(L)&&(c=tv(s,b),c===2&&(V=ge(s),V!==0&&(b=V,c=E_(s,V))),c===1))throw v=Md,Cl(s,0),Uu(s,b),Za(s,yt()),v;switch(s.finishedWork=L,s.finishedLanes=b,c){case 0:case 1:throw Error(r(345));case 2:Ol(s,Ja,nu);break;case 3:if(Uu(s,b),(b&130023424)===b&&(c=m_+500-yt(),10<c)){if(da(s,0)!==0)break;if(L=s.suspendedLanes,(L&b)!==b){Da(),s.pingedLanes|=s.suspendedLanes&L;break}s.timeoutHandle=Oy(Ol.bind(null,s,Ja,nu),c);break}Ol(s,Ja,nu);break;case 4:if(Uu(s,b),(b&4194240)===b)break;for(c=s.eventTimes,L=-1;0<b;){var he=31-Tn(b);V=1<<he,he=c[he],he>L&&(L=he),b&=~V}if(b=L,b=yt()-b,b=(120>b?120:480>b?480:1080>b?1080:1920>b?1920:3e3>b?3e3:4320>b?4320:1960*die(b/1960))-b,10<b){s.timeoutHandle=Oy(Ol.bind(null,s,Ja,nu),b);break}Ol(s,Ja,nu);break;case 5:Ol(s,Ja,nu);break;default:throw Error(r(329))}}}return Za(s,yt()),s.callbackNode===v?Wk.bind(null,s):null}function E_(s,c){var v=$d;return s.current.memoizedState.isDehydrated&&(Cl(s,c).flags|=256),s=tv(s,c),s!==2&&(c=Ja,Ja=v,c!==null&&S_(c)),s}function S_(s){Ja===null?Ja=s:Ja.push.apply(Ja,s)}function hie(s){for(var c=s;;){if(c.flags&16384){var v=c.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var b=0;b<v.length;b++){var L=v[b],V=L.getSnapshot;L=L.value;try{if(!er(V(),L))return!1}catch{return!1}}}if(v=c.child,c.subtreeFlags&16384&&v!==null)v.return=c,c=v;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function Uu(s,c){for(c&=~g_,c&=~Kp,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var v=31-Tn(c),b=1<<v;s[v]=-1,c&=~b}}function Gk(s){if((hn&6)!==0)throw Error(r(327));rf();var c=da(s,0);if((c&1)===0)return Za(s,yt()),null;var v=tv(s,c);if(s.tag!==0&&v===2){var b=ge(s);b!==0&&(c=b,v=E_(s,b))}if(v===1)throw v=Md,Cl(s,0),Uu(s,c),Za(s,yt()),v;if(v===6)throw Error(r(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,Ol(s,Ja,nu),Za(s,yt()),null}function w_(s,c){var v=hn;hn|=1;try{return s(c)}finally{hn=v,hn===0&&(tf=yt()+500,xp&&Du())}}function xl(s){Fu!==null&&Fu.tag===0&&(hn&6)===0&&rf();var c=hn;hn|=1;var v=Ho.transition,b=Xt;try{if(Ho.transition=null,Xt=1,s)return s()}finally{Xt=b,Ho.transition=v,hn=c,(hn&6)===0&&Du()}}function b_(){_o=ef.current,ai(ef)}function Cl(s,c){s.finishedWork=null,s.finishedLanes=0;var v=s.timeoutHandle;if(v!==-1&&(s.timeoutHandle=-1,Hne(v)),Ni!==null)for(v=Ni.return;v!==null;){var b=v;switch(By(b),b.tag){case 1:b=b.type.childContextTypes,b!=null&&Ap();break;case 3:Jc(),ai(Ka),ai(pa),Yy();break;case 5:Gy(b);break;case 4:Jc();break;case 13:ai(gi);break;case 19:ai(gi);break;case 10:My(b.type._context);break;case 22:case 23:b_()}v=v.return}if(qi=s,Ni=s=qu(s.current,null),ea=_o=c,Bi=0,Md=null,g_=Kp=Rl=0,Ja=$d=null,ls!==null){for(c=0;c<ls.length;c++)if(v=ls[c],b=v.interleaved,b!==null){v.interleaved=null;var L=b.next,V=v.pending;if(V!==null){var he=V.next;V.next=L,b.next=he}v.pending=b}ls=null}return s}function Kk(s,c){do{var v=Ni;try{if(Ny(),$p.current=qp,Fp){for(var b=mi.memoizedState;b!==null;){var L=b.queue;L!==null&&(L.pending=null),b=b.next}Fp=!1}if(Al=0,Xi=Ui=mi=null,Id=!1,Pd=0,v_.current=null,v===null||v.return===null){Bi=1,Md=c,Ni=null;break}e:{var V=s,he=v.return,xe=v,Ve=c;if(c=ea,xe.flags|=32768,Ve!==null&&typeof Ve=="object"&&typeof Ve.then=="function"){var gt=Ve,Mt=xe,nr=Mt.tag;if((Mt.mode&1)===0&&(nr===0||nr===11||nr===15)){var Pt=Mt.alternate;Pt?(Mt.updateQueue=Pt.updateQueue,Mt.memoizedState=Pt.memoizedState,Mt.lanes=Pt.lanes):(Mt.updateQueue=null,Mt.memoizedState=null)}var or=vk(he);if(or!==null){or.flags&=-257,gk(or,he,xe,V,c),or.mode&1&&pk(V,gt,c),c=or,Ve=gt;var tr=c.updateQueue;if(tr===null){var Wr=new Set;Wr.add(Ve),c.updateQueue=Wr}else tr.add(Ve);break e}else{if((c&1)===0){pk(V,gt,c),T_();break e}Ve=Error(r(426))}}else if(ci&&xe.mode&1){var Ci=vk(he);if(Ci!==null){(Ci.flags&65536)===0&&(Ci.flags|=256),gk(Ci,he,xe,V,c),zy(Ve);break e}}V=Ve,Bi!==4&&(Bi=2),$d===null?$d=[V]:$d.push(V),Ve=i_(Ve,xe),xe=he;do{switch(xe.tag){case 3:xe.flags|=65536,c&=-c,xe.lanes|=c;var ot=dk(xe,Ve,c);PP(xe,ot);break e;case 1:V=Ve;var Ye=xe.type,pt=xe.stateNode;if((xe.flags&128)===0&&(typeof Ye.getDerivedStateFromError=="function"||pt!==null&&typeof pt.componentDidCatch=="function"&&($u===null||!$u.has(pt)))){xe.flags|=65536,c&=-c,xe.lanes|=c;var Yt=hk(xe,V,c);PP(xe,Yt);break e}}xe=xe.return}while(xe!==null)}Qk(v)}catch(cr){c=cr,Ni===v&&v!==null&&(Ni=v=v.return);continue}break}while(!0)}function Yk(){var s=Gp.current;return Gp.current=qp,s===null?qp:s}function T_(){(Bi===0||Bi===3||Bi===2)&&(Bi=4),qi===null||(Rl&268435455)===0&&(Kp&268435455)===0||Uu(qi,ea)}function tv(s,c){var v=hn;hn|=2;var b=Yk();(qi!==s||ea!==c)&&(nu=null,Cl(s,c));do try{pie();break}catch(L){Kk(s,L)}while(!0);if(Ny(),hn=v,Gp.current=b,Ni!==null)throw Error(r(261));return qi=null,ea=0,Bi}function pie(){for(;Ni!==null;)Xk(Ni)}function vie(){for(;Ni!==null&&!He();)Xk(Ni)}function Xk(s){var c=eD(s.alternate,s,_o);s.memoizedProps=s.pendingProps,c===null?Qk(s):Ni=c,v_.current=null}function Qk(s){var c=s;do{var v=c.alternate;if(s=c.return,(c.flags&32768)===0){if(v=aie(v,c,_o),v!==null){Ni=v;return}}else{if(v=uie(v,c),v!==null){v.flags&=32767,Ni=v;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{Bi=6,Ni=null;return}}if(c=c.sibling,c!==null){Ni=c;return}Ni=c=s}while(c!==null);Bi===0&&(Bi=5)}function Ol(s,c,v){var b=Xt,L=Ho.transition;try{Ho.transition=null,Xt=1,gie(s,c,v,b)}finally{Ho.transition=L,Xt=b}return null}function gie(s,c,v,b){do rf();while(Fu!==null);if((hn&6)!==0)throw Error(r(327));v=s.finishedWork;var L=s.finishedLanes;if(v===null)return null;if(s.finishedWork=null,s.finishedLanes=0,v===s.current)throw Error(r(177));s.callbackNode=null,s.callbackPriority=0;var V=v.lanes|v.childLanes;if(Ct(s,V),s===qi&&(Ni=qi=null,ea=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||Xp||(Xp=!0,tD(_r,function(){return rf(),null})),V=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||V){V=Ho.transition,Ho.transition=null;var he=Xt;Xt=1;var xe=hn;hn|=4,v_.current=null,cie(s,v),Uk(v,s),wr(xy),Wi=!!Ry,xy=Ry=null,s.current=v,fie(v),bt(),hn=xe,Xt=he,Ho.transition=V}else s.current=v;if(Xp&&(Xp=!1,Fu=s,Qp=L),V=s.pendingLanes,V===0&&($u=null),Dn(v.stateNode),Za(s,yt()),c!==null)for(b=s.onRecoverableError,v=0;v<c.length;v++)b(c[v]);if(Yp)throw Yp=!1,s=y_,y_=null,s;return(Qp&1)!==0&&s.tag!==0&&rf(),V=s.pendingLanes,(V&1)!==0?s===__?Fd++:(Fd=0,__=s):Fd=0,Du(),null}function rf(){if(Fu!==null){var s=mr(Qp),c=Ho.transition,v=Xt;try{if(Ho.transition=null,Xt=16>s?16:s,Fu===null)var b=!1;else{if(s=Fu,Fu=null,Qp=0,(hn&6)!==0)throw Error(r(331));var L=hn;for(hn|=4,ur=s.current;ur!==null;){var V=ur,he=V.child;if((ur.flags&16)!==0){var xe=V.deletions;if(xe!==null){for(var Ve=0;Ve<xe.length;Ve++){var gt=xe[Ve];for(ur=gt;ur!==null;){var Mt=ur;switch(Mt.tag){case 0:case 11:case 15:Nd(8,Mt,V)}var nr=Mt.child;if(nr!==null)nr.return=Mt,ur=nr;else for(;ur!==null;){Mt=ur;var Pt=Mt.sibling,or=Mt.return;if(Nk(Mt),Mt===gt){ur=null;break}if(Pt!==null){Pt.return=or,ur=Pt;break}ur=or}}}var tr=V.alternate;if(tr!==null){var Wr=tr.child;if(Wr!==null){tr.child=null;do{var Ci=Wr.sibling;Wr.sibling=null,Wr=Ci}while(Wr!==null)}}ur=V}}if((V.subtreeFlags&2064)!==0&&he!==null)he.return=V,ur=he;else e:for(;ur!==null;){if(V=ur,(V.flags&2048)!==0)switch(V.tag){case 0:case 11:case 15:Nd(9,V,V.return)}var ot=V.sibling;if(ot!==null){ot.return=V.return,ur=ot;break e}ur=V.return}}var Ye=s.current;for(ur=Ye;ur!==null;){he=ur;var pt=he.child;if((he.subtreeFlags&2064)!==0&&pt!==null)pt.return=he,ur=pt;else e:for(he=Ye;ur!==null;){if(xe=ur,(xe.flags&2048)!==0)try{switch(xe.tag){case 0:case 11:case 15:Wp(9,xe)}}catch(cr){bi(xe,xe.return,cr)}if(xe===he){ur=null;break e}var Yt=xe.sibling;if(Yt!==null){Yt.return=xe.return,ur=Yt;break e}ur=xe.return}}if(hn=L,Du(),zr&&typeof zr.onPostCommitFiberRoot=="function")try{zr.onPostCommitFiberRoot(Dt,s)}catch{}b=!0}return b}finally{Xt=v,Ho.transition=c}}return!1}function Jk(s,c,v){c=i_(v,c),c=dk(s,c,1),Nu(s,c),c=Da(),s=ev(s,1),s!==null&&(nt(s,1,c),Za(s,c))}function bi(s,c,v){if(s.tag===3)Jk(s,s,v);else for(;c!==null;){if(c.tag===3){Jk(c,s,v);break}else if(c.tag===1){var b=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof b.componentDidCatch=="function"&&($u===null||!$u.has(b))){s=i_(v,s),s=hk(c,s,1),Nu(c,s),s=Da(),c=ev(c,1),c!==null&&(nt(c,1,s),Za(c,s));break}}c=c.return}}function mie(s,c,v){var b=s.pingCache;b!==null&&b.delete(c),c=Da(),s.pingedLanes|=s.suspendedLanes&v,qi===s&&(ea&v)===v&&(Bi===4||Bi===3&&(ea&130023424)===ea&&500>yt()-m_?Cl(s,0):g_|=v),Za(s,c)}function Zk(s,c){c===0&&((s.mode&1)===0?c=1:(c=co,co<<=1,(co&130023424)===0&&(co=4194304)));var v=Da();s=ev(s,c),s!==null&&(nt(s,c,v),Za(s,v))}function yie(s){var c=s.memoizedState,v=0;c!==null&&(v=c.retryLane),Zk(s,v)}function _ie(s,c){var v=0;switch(s.tag){case 13:var b=s.stateNode,L=s.memoizedState;L!==null&&(v=L.retryLane);break;case 19:b=s.stateNode;break;default:throw Error(r(314))}b!==null&&b.delete(c),Zk(s,v)}var eD;eD=function(s,c,v){if(s!==null)if(s.memoizedProps!==c.pendingProps||Ka.current)Qa=!0;else{if((s.lanes&v)===0&&(c.flags&128)===0)return Qa=!1,sie(s,c,v);Qa=(s.flags&131072)!==0}else Qa=!1,ci&&(c.flags&1048576)!==0&&$P(c,Lp,c.index);switch(c.lanes=0,c.tag){case 2:var b=c.type;s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps;var L=zc(c,pa.current);Gc(c,v),L=Jy(null,c,b,s,L,v);var V=Zy();return c.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Ya(b)?(V=!0,Rp(c)):V=!1,c.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,Fy(c),L.updater=kp,c.stateNode=L,L._reactInternals=c,Uy(c,b,s,v),c=u_(null,c,b,!0,V,v)):(c.tag=0,ci&&V&&qy(c),ka(null,c,L,v),c=c.child),c;case 16:b=c.elementType;e:{switch(s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps,L=b._init,b=L(b._payload),c.type=b,L=c.tag=Sie(b),s=us(b,s),L){case 0:c=s_(null,c,b,s,v);break e;case 1:c=Ak(null,c,b,s,v);break e;case 11:c=Ek(null,c,b,s,v);break e;case 14:c=Sk(null,c,b,us(b.type,s),v);break e}throw Error(r(306,b,""))}return c;case 0:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:us(b,L),s_(s,c,b,L,v);case 1:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:us(b,L),Ak(s,c,b,L,v);case 3:e:{if(Rk(c),s===null)throw Error(r(387));b=c.pendingProps,V=c.memoizedState,L=V.element,IP(s,c),Pp(c,b,null,v);var he=c.memoizedState;if(b=he.element,V.isDehydrated)if(V={element:b,isDehydrated:!1,cache:he.cache,pendingSuspenseBoundaries:he.pendingSuspenseBoundaries,transitions:he.transitions},c.updateQueue.baseState=V,c.memoizedState=V,c.flags&256){L=Error(r(423)),c=xk(s,c,b,v,L);break e}else if(b!==L){L=Error(r(424)),c=xk(s,c,b,v,L);break e}else for(Xa=Xs(c.stateNode.containerInfo.firstChild),yo=c,ci=!0,cs=null,v=VP(c,null,b,v),c.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Xc(),b===L){c=ru(s,c,v);break e}ka(s,c,b,v)}c=c.child}return c;case 5:return HP(c),s===null&&Hy(c),b=c.type,L=c.pendingProps,V=s!==null?s.memoizedProps:null,he=L.children,Cy(b,L)?he=null:V!==null&&Cy(b,V)&&(c.flags|=32),Tk(s,c),ka(s,c,he,v),c.child;case 6:return s===null&&Hy(c),null;case 13:return Ok(s,c,v);case 4:return Wy(c,c.stateNode.containerInfo),b=c.pendingProps,s===null?c.child=Qc(c,null,b,v):ka(s,c,b,v),c.child;case 11:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:us(b,L),Ek(s,c,b,L,v);case 7:return ka(s,c,c.pendingProps,v),c.child;case 8:return ka(s,c,c.pendingProps.children,v),c.child;case 12:return ka(s,c,c.pendingProps.children,v),c.child;case 10:e:{if(b=c.type._context,L=c.pendingProps,V=c.memoizedProps,he=L.value,Zn(Cp,b._currentValue),b._currentValue=he,V!==null)if(er(V.value,he)){if(V.children===L.children&&!Ka.current){c=ru(s,c,v);break e}}else for(V=c.child,V!==null&&(V.return=c);V!==null;){var xe=V.dependencies;if(xe!==null){he=V.child;for(var Ve=xe.firstContext;Ve!==null;){if(Ve.context===b){if(V.tag===1){Ve=Zs(-1,v&-v),Ve.tag=2;var gt=V.updateQueue;if(gt!==null){gt=gt.shared;var Mt=gt.pending;Mt===null?Ve.next=Ve:(Ve.next=Mt.next,Mt.next=Ve),gt.pending=Ve}}V.lanes|=v,Ve=V.alternate,Ve!==null&&(Ve.lanes|=v),$y(V.return,v,c),xe.lanes|=v;break}Ve=Ve.next}}else if(V.tag===10)he=V.type===c.type?null:V.child;else if(V.tag===18){if(he=V.return,he===null)throw Error(r(341));he.lanes|=v,xe=he.alternate,xe!==null&&(xe.lanes|=v),$y(he,v,c),he=V.sibling}else he=V.child;if(he!==null)he.return=V;else for(he=V;he!==null;){if(he===c){he=null;break}if(V=he.sibling,V!==null){V.return=he.return,he=V;break}he=he.return}V=he}ka(s,c,L.children,v),c=c.child}return c;case 9:return L=c.type,b=c.pendingProps.children,Gc(c,v),L=Uo(L),b=b(L),c.flags|=1,ka(s,c,b,v),c.child;case 14:return b=c.type,L=us(b,c.pendingProps),L=us(b.type,L),Sk(s,c,b,L,v);case 15:return wk(s,c,c.type,c.pendingProps,v);case 17:return b=c.type,L=c.pendingProps,L=c.elementType===b?L:us(b,L),s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),c.tag=1,Ya(b)?(s=!0,Rp(c)):s=!1,Gc(c,v),NP(c,b,L),Uy(c,b,L,v),u_(null,c,b,!0,s,v);case 19:return Dk(s,c,v);case 22:return bk(s,c,v)}throw Error(r(156,c.tag))};function tD(s,c){return se(s,c)}function Eie(s,c,v,b){this.tag=s,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=b,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wo(s,c,v,b){return new Eie(s,c,v,b)}function A_(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Sie(s){if(typeof s=="function")return A_(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===ie)return 14}return 2}function qu(s,c){var v=s.alternate;return v===null?(v=Wo(s.tag,c,s.key,s.mode),v.elementType=s.elementType,v.type=s.type,v.stateNode=s.stateNode,v.alternate=s,s.alternate=v):(v.pendingProps=c,v.type=s.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=s.flags&14680064,v.childLanes=s.childLanes,v.lanes=s.lanes,v.child=s.child,v.memoizedProps=s.memoizedProps,v.memoizedState=s.memoizedState,v.updateQueue=s.updateQueue,c=s.dependencies,v.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},v.sibling=s.sibling,v.index=s.index,v.ref=s.ref,v}function rv(s,c,v,b,L,V){var he=2;if(b=s,typeof s=="function")A_(s)&&(he=1);else if(typeof s=="string")he=5;else e:switch(s){case y:return Il(v.children,L,V,c);case N:he=8,L|=8;break;case $:return s=Wo(12,v,c,L|2),s.elementType=$,s.lanes=V,s;case X:return s=Wo(13,v,c,L),s.elementType=X,s.lanes=V,s;case J:return s=Wo(19,v,c,L),s.elementType=J,s.lanes=V,s;case pe:return nv(v,L,V,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case H:he=10;break e;case B:he=9;break e;case W:he=11;break e;case ie:he=14;break e;case ne:he=16,b=null;break e}throw Error(r(130,s==null?s:typeof s,""))}return c=Wo(he,v,c,L),c.elementType=s,c.type=b,c.lanes=V,c}function Il(s,c,v,b){return s=Wo(7,s,b,c),s.lanes=v,s}function nv(s,c,v,b){return s=Wo(22,s,b,c),s.elementType=pe,s.lanes=v,s.stateNode={},s}function R_(s,c,v){return s=Wo(6,s,null,c),s.lanes=v,s}function x_(s,c,v){return c=Wo(4,s.children!==null?s.children:[],s.key,c),c.lanes=v,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function wie(s,c,v,b,L){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=b,this.onRecoverableError=L,this.mutableSourceEagerHydrationData=null}function C_(s,c,v,b,L,V,he,xe,Ve){return s=new wie(s,c,v,xe,Ve),c===1?(c=1,V===!0&&(c|=8)):c=0,V=Wo(3,null,null,c),s.current=V,V.stateNode=s,V.memoizedState={element:b,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fy(V),s}function bie(s,c,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:P,key:b==null?null:""+b,children:s,containerInfo:c,implementation:v}}function rD(s){if(!s)return ku;s=s._reactInternals;e:{if(di(s)!==s||s.tag!==1)throw Error(r(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Ya(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(r(171))}if(s.tag===1){var v=s.type;if(Ya(v))return xP(s,v,c)}return c}function nD(s,c,v,b,L,V,he,xe,Ve){return s=C_(v,b,!0,s,L,V,he,xe,Ve),s.context=rD(null),v=s.current,b=Da(),L=ju(v),V=Zs(b,L),V.callback=c??null,Nu(v,V),s.current.lanes=L,nt(s,L,b),Za(s,b),s}function iv(s,c,v,b){var L=c.current,V=Da(),he=ju(L);return v=rD(v),c.context===null?c.context=v:c.pendingContext=v,c=Zs(V,he),c.payload={element:s},b=b===void 0?null:b,b!==null&&(c.callback=b),Nu(L,c),s=zo(L,he,V),s!==null&&Ip(s,L,he),he}function av(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function iD(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var v=s.retryLane;s.retryLane=v!==0&&v<c?v:c}}function O_(s,c){iD(s,c),(s=s.alternate)&&iD(s,c)}function Tie(){return null}var aD=typeof reportError=="function"?reportError:function(s){console.error(s)};function I_(s){this._internalRoot=s}ov.prototype.render=I_.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(r(409));iv(s,c,null,null)},ov.prototype.unmount=I_.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;xl(function(){iv(null,s,null,null)}),c[Qs]=null}};function ov(s){this._internalRoot=s}ov.prototype.unstable_scheduleHydration=function(s){if(s){var c=pi();s={blockedOn:null,target:s,priority:c};for(var v=0;v<zi.length&&c!==0&&c<zi[v].priority;v++);zi.splice(v,0,s),v===0&&Oa(s)}};function P_(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function sv(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function oD(){}function Aie(s,c,v,b,L){if(L){if(typeof b=="function"){var V=b;b=function(){var gt=av(he);V.call(gt)}}var he=nD(c,b,s,0,null,!1,!1,"",oD);return s._reactRootContainer=he,s[Qs]=he.current,Sd(s.nodeType===8?s.parentNode:s),xl(),he}for(;L=s.lastChild;)s.removeChild(L);if(typeof b=="function"){var xe=b;b=function(){var gt=av(Ve);xe.call(gt)}}var Ve=C_(s,0,!1,null,null,!1,!1,"",oD);return s._reactRootContainer=Ve,s[Qs]=Ve.current,Sd(s.nodeType===8?s.parentNode:s),xl(function(){iv(c,Ve,v,b)}),Ve}function uv(s,c,v,b,L){var V=v._reactRootContainer;if(V){var he=V;if(typeof L=="function"){var xe=L;L=function(){var Ve=av(he);xe.call(Ve)}}iv(c,he,s,L)}else he=Aie(v,c,s,L,b);return av(he)}Tr=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var v=Ra(c.pendingLanes);v!==0&&(Bt(c,v|1),Za(c,yt()),(hn&6)===0&&(tf=yt()+500,Du()))}break;case 13:var b=Da();xl(function(){return zo(s,1,b)}),O_(s,1)}},An=function(s){if(s.tag===13){var c=Da();zo(s,134217728,c),O_(s,134217728)}},hi=function(s){if(s.tag===13){var c=Da(),v=ju(s);zo(s,v,c),O_(s,v)}},pi=function(){return Xt},$o=function(s,c){var v=Xt;try{return Xt=s,c()}finally{Xt=v}},lt=function(s,c,v){switch(c){case"input":if(be(s,v),c=v.name,v.type==="radio"&&c!=null){for(v=s;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<v.length;c++){var b=v[c];if(b!==s&&b.form===s.form){var L=Tp(b);if(!L)throw Error(r(90));Y(b),be(b,L)}}}break;case"textarea":qe(s,v);break;case"select":c=v.value,c!=null&&_e(s,!!v.multiple,c,!1)}},gr=w_,Dr=xl;var Rie={usingClientEntryPoint:!1,Events:[Td,Vc,Tp,dr,rr,w_]},jd={findFiberByHostInstance:El,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},xie={bundleType:jd.bundleType,version:jd.version,rendererPackageName:jd.rendererPackageName,rendererConfig:jd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=vt(s),s===null?null:s.stateNode},findFiberByHostInstance:jd.findFiberByHostInstance||Tie,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 lv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lv.isDisabled&&lv.supportsFiber)try{Dt=lv.inject(xie),zr=lv}catch{}}return eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rie,eo.createPortal=function(s,c){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!P_(c))throw Error(r(200));return bie(s,c,null,v)},eo.createRoot=function(s,c){if(!P_(s))throw Error(r(299));var v=!1,b="",L=aD;return c!=null&&(c.unstable_strictMode===!0&&(v=!0),c.identifierPrefix!==void 0&&(b=c.identifierPrefix),c.onRecoverableError!==void 0&&(L=c.onRecoverableError)),c=C_(s,1,!1,null,null,v,!1,b,L),s[Qs]=c.current,Sd(s.nodeType===8?s.parentNode:s),new I_(c)},eo.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(r(188)):(s=Object.keys(s).join(","),Error(r(268,s)));return s=vt(c),s=s===null?null:s.stateNode,s},eo.flushSync=function(s){return xl(s)},eo.hydrate=function(s,c,v){if(!sv(c))throw Error(r(200));return uv(null,s,c,!0,v)},eo.hydrateRoot=function(s,c,v){if(!P_(s))throw Error(r(405));var b=v!=null&&v.hydratedSources||null,L=!1,V="",he=aD;if(v!=null&&(v.unstable_strictMode===!0&&(L=!0),v.identifierPrefix!==void 0&&(V=v.identifierPrefix),v.onRecoverableError!==void 0&&(he=v.onRecoverableError)),c=nD(c,null,s,1,v??null,L,!1,V,he),s[Qs]=c.current,Sd(s),b)for(s=0;s<b.length;s++)v=b[s],L=v._getVersion,L=L(v._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[v,L]:c.mutableSourceEagerHydrationData.push(v,L);return new ov(c)},eo.render=function(s,c,v){if(!sv(c))throw Error(r(200));return uv(null,s,c,!1,v)},eo.unmountComponentAtNode=function(s){if(!sv(s))throw Error(r(40));return s._reactRootContainer?(xl(function(){uv(null,null,s,!1,function(){s._reactRootContainer=null,s[Qs]=null})}),!0):!1},eo.unstable_batchedUpdates=w_,eo.unstable_renderSubtreeIntoContainer=function(s,c,v,b){if(!sv(v))throw Error(r(200));if(s==null||s._reactInternals===void 0)throw Error(r(38));return uv(s,c,v,!1,b)},eo.version="18.1.0-next-22edb9f77-20220426",eo}var iW;function Pee(){if(iW)return RA.exports;iW=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(),RA.exports=mEe(),RA.exports}var kee=Pee();const Hl=Hn(kee);function yEe(e){e()}let Dee=yEe;const _Ee=e=>Dee=e,EEe=()=>Dee,il=kr.createContext(null);function Lee(){return ye.useContext(il)}const SEe=()=>{throw new Error("uSES not initialized!")};let Nee=SEe;const wEe=e=>{Nee=e},bEe=(e,t)=>e===t;function TEe(e=il){const t=e===il?Lee:()=>ye.useContext(e);return function(n,i=bEe){const{store:o,subscription:a,getServerState:u}=t(),l=Nee(a.addNestedSub,o.getState,u||o.getState,n,i);return ye.useDebugValue(l),l}}const Mee=TEe();function Th(){return Th=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},Th.apply(null,arguments)}function Qm(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 OA={exports:{}},xn={};/** @license React v16.13.1
|
|
100
|
-
* react-is.production.min.js
|
|
101
|
-
*
|
|
102
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
103
|
-
*
|
|
104
|
-
* This source code is licensed under the MIT license found in the
|
|
105
|
-
* LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/var aW;function AEe(){if(aW)return xn;aW=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function C(R){if(typeof R=="object"&&R!==null){var P=R.$$typeof;switch(P){case t:switch(R=R.type,R){case l:case f:case n:case o:case i:case h:return R;default:switch(R=R&&R.$$typeof,R){case u:case d:case S:case m:case a:return R;default:return P}}case r:return P}}}function x(R){return C(R)===f}return xn.AsyncMode=l,xn.ConcurrentMode=f,xn.ContextConsumer=u,xn.ContextProvider=a,xn.Element=t,xn.ForwardRef=d,xn.Fragment=n,xn.Lazy=S,xn.Memo=m,xn.Portal=r,xn.Profiler=o,xn.StrictMode=i,xn.Suspense=h,xn.isAsyncMode=function(R){return x(R)||C(R)===l},xn.isConcurrentMode=x,xn.isContextConsumer=function(R){return C(R)===u},xn.isContextProvider=function(R){return C(R)===a},xn.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},xn.isForwardRef=function(R){return C(R)===d},xn.isFragment=function(R){return C(R)===n},xn.isLazy=function(R){return C(R)===S},xn.isMemo=function(R){return C(R)===m},xn.isPortal=function(R){return C(R)===r},xn.isProfiler=function(R){return C(R)===o},xn.isStrictMode=function(R){return C(R)===i},xn.isSuspense=function(R){return C(R)===h},xn.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===f||R===o||R===i||R===h||R===p||typeof R=="object"&&R!==null&&(R.$$typeof===S||R.$$typeof===m||R.$$typeof===a||R.$$typeof===u||R.$$typeof===d||R.$$typeof===_||R.$$typeof===w||R.$$typeof===T||R.$$typeof===E)},xn.typeOf=C,xn}var oW;function REe(){return oW||(oW=1,OA.exports=AEe()),OA.exports}var IA,sW;function xEe(){if(sW)return IA;sW=1;var e=REe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function a(S){return e.isMemo(S)?i:o[S.$$typeof]||t}var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function m(S,E,_){if(typeof E!="string"){if(p){var w=h(E);w&&w!==p&&m(S,w,_)}var T=l(E);f&&(T=T.concat(f(E)));for(var C=a(S),x=a(E),R=0;R<T.length;++R){var P=T[R];if(!r[P]&&!(_&&_[P])&&!(x&&x[P])&&!(C&&C[P])){var y=d(E,P);try{u(S,P,y)}catch{}}}}return S}return IA=m,IA}var CEe=xEe();const OEe=Hn(CEe);var PA={exports:{}},Cn={};/**
|
|
107
|
-
* @license React
|
|
108
|
-
* react-is.production.min.js
|
|
109
|
-
*
|
|
110
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
111
|
-
*
|
|
112
|
-
* This source code is licensed under the MIT license found in the
|
|
113
|
-
* LICENSE file in the root directory of this source tree.
|
|
114
|
-
*/var uW;function IEe(){if(uW)return Cn;uW=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function E(_){if(typeof _=="object"&&_!==null){var w=_.$$typeof;switch(w){case e:switch(_=_.type,_){case r:case i:case n:case f:case d:return _;default:switch(_=_&&_.$$typeof,_){case u:case a:case l:case p:case h:case o:return _;default:return w}}case t:return w}}}return Cn.ContextConsumer=a,Cn.ContextProvider=o,Cn.Element=e,Cn.ForwardRef=l,Cn.Fragment=r,Cn.Lazy=p,Cn.Memo=h,Cn.Portal=t,Cn.Profiler=i,Cn.StrictMode=n,Cn.Suspense=f,Cn.SuspenseList=d,Cn.isAsyncMode=function(){return!1},Cn.isConcurrentMode=function(){return!1},Cn.isContextConsumer=function(_){return E(_)===a},Cn.isContextProvider=function(_){return E(_)===o},Cn.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===e},Cn.isForwardRef=function(_){return E(_)===l},Cn.isFragment=function(_){return E(_)===r},Cn.isLazy=function(_){return E(_)===p},Cn.isMemo=function(_){return E(_)===h},Cn.isPortal=function(_){return E(_)===t},Cn.isProfiler=function(_){return E(_)===i},Cn.isStrictMode=function(_){return E(_)===n},Cn.isSuspense=function(_){return E(_)===f},Cn.isSuspenseList=function(_){return E(_)===d},Cn.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===r||_===i||_===n||_===f||_===d||_===m||typeof _=="object"&&_!==null&&(_.$$typeof===p||_.$$typeof===h||_.$$typeof===o||_.$$typeof===a||_.$$typeof===l||_.$$typeof===S||_.getModuleId!==void 0)},Cn.typeOf=E,Cn}var lW;function PEe(){return lW||(lW=1,PA.exports=IEe()),PA.exports}PEe();function kEe(){const e=EEe();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 cW={notify(){},get:()=>[]};function DEe(e,t){let r,n=cW;function i(h){return l(),n.subscribe(h)}function o(){n.notify()}function a(){d.onStateChange&&d.onStateChange()}function u(){return!!r}function l(){r||(r=e.subscribe(a),n=kEe())}function f(){r&&(r(),r=void 0,n.clear(),n=cW)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:u,trySubscribe:l,tryUnsubscribe:f,getListeners:()=>n};return d}const LEe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",NEe=LEe?ye.useLayoutEffect:ye.useEffect;function $ee({store:e,context:t,children:r,serverState:n}){const i=ye.useMemo(()=>{const u=DEe(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0}},[e,n]),o=ye.useMemo(()=>e.getState(),[e]);NEe(()=>{const{subscription:u}=i;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[i,o]);const a=t||il;return kr.createElement(a.Provider,{value:i},r)}function Fee(e=il){const t=e===il?Lee:()=>ye.useContext(e);return function(){const{store:n}=t();return n}}const jee=Fee();function MEe(e=il){const t=e===il?jee:Fee(e);return function(){return t().dispatch}}const sp=MEe();wEe(pEe.useSyncExternalStoreWithSelector);_Ee(kee.unstable_batchedUpdates);var Ag="NOT_FOUND";function $Ee(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Ag},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function FEe(e,t){var r=[];function n(u){var l=r.findIndex(function(d){return t(u,d.key)});if(l>-1){var f=r[l];return l>0&&(r.splice(l,1),r.unshift(f)),f.value}return Ag}function i(u,l){n(u)===Ag&&(r.unshift({key:u,value:l}),r.length>e&&r.pop())}function o(){return r}function a(){r=[]}return{get:n,put:i,getEntries:o,clear:a}}var jEe=function(t,r){return t===r};function UEe(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 qEe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?jEe:n,o=r.maxSize,a=o===void 0?1:o,u=r.resultEqualityCheck,l=UEe(i),f=a===1?$Ee(l):FEe(a,l);function d(){var h=f.get(arguments);if(h===Ag){if(h=e.apply(null,arguments),u){var p=f.getEntries(),m=p.find(function(S){return u(S.value,h)});m&&(h=m.value)}f.put(arguments,h)}return h}return d.clearCache=function(){return f.clear()},d}function BEe(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 VEe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=function(){for(var a=arguments.length,u=new Array(a),l=0;l<a;l++)u[l]=arguments[l];var f=0,d,h={memoizeOptions:void 0},p=u.pop();if(typeof p=="object"&&(h=p,p=u.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var m=h,S=m.memoizeOptions,E=S===void 0?r:S,_=Array.isArray(E)?E:[E],w=BEe(u),T=e.apply(void 0,[function(){return f++,p.apply(null,arguments)}].concat(_)),C=e(function(){for(var R=[],P=w.length,y=0;y<P;y++)R.push(w[y].apply(null,arguments));return d=T.apply(null,R),d});return Object.assign(C,{resultFunc:p,memoizedResultFunc:T,dependencies:w,lastResult:function(){return d},recomputations:function(){return f},resetRecomputations:function(){return f=0}}),C};return i}const dI={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(o=>{const a=new RegExp(o,"i"),u=Object.keys(e.resources).filter(l=>a.test(l));i.push(...u)}),r&&(i=i.filter(o=>o!==r)),i.reduce((o,a)=>(o[a]=!0,o),{})},updateState(e,t,r){const n=e.getState(),i=dI.getMatchingKeyMap(n.flightData,t.keys),o={...Object.keys(n.flightData.resources).filter(u=>i[u]).reduce((u,l)=>{const f=n.flightData.resources[l];let d=f.response;return f.request.normalize&&(d=fI(f.response,n.flightData.entities)),u[l]=d,u},{})},a=t.updateData(o,r);Object.keys(a).forEach(u=>{const l=n.flightData.resources[u],f=a[u];let d={result:f,entities:{}};l.request.normalize&&(d=dee(f,l.request.normalizeOptions)),e.dispatch({type:La.UPDATE,result:d.result,entities:d.entities,request:l.request})})}};function HEe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const fW={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:JO.Ok,getResponseHeader:()=>""})}else o.errorResponse&&n(o.errorResponse());i()}},HEe(t))}},zEe=1e3,WEe=12,dW=18;function kA(e){const t=+e;return isNaN(t)||!t?0:t}const Ah={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*zEe;return e<Ah.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=WEe&&t<dW?"afternoon":t>=dW?"evening":"morning"},convertDurationToSeconds(e,t,r){return kA(e)*60*60+kA(t)*60+kA(r)}};class Uee{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===Ms.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Ah.isExpired(this.requestTime,this.cacheDuration(this.data)):Ah.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Ms.Fetching}get hasError(){return this.status===Ms.Error}}function GEe(e,t){var n,i;if(!js.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 KEe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return VEe(qEe,GEe)(t,n=>Jm(e,n.resource,n.entities).response)}function Jm(e,t,r){if(!e||!t)return{resource:t,response:YEe()};let n=t.response;t.request.normalize!==!1&&(n=fI(t.response,r));const i=new Uee({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function YEe(){return new Uee({status:Ms.None})}function qee(e,t){return Jm(t,e.flightData.resources[t],e.flightData.entities).response}function Bee(e){return t=>{t&&cd(e,t)}}function XEe(e){return t=>{if(t)return Vee(e,t)}}function cd(e,t){e({type:La.API_REQUEST,request:t})}function Vee(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)},cd(e,t)})}function hI(e,t){var a,u,l,f;const r=e.getState(),n=t==null?void 0:t.key,i=Jm(n,r.flightData.resources[n],r.flightData.entities),o=i.response;if(t&&o.shouldFetch){cd(e.dispatch,t);return}if(o.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,hI(e,t))});return}o.hasError?((a=t.error)==null||a.call(t,{status:o.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(u=t.always)==null||u.call(t)):((l=t.success)==null||l.call(t,o.data),(f=t.always)==null||f.call(t))}function fLe(){const e=sp();return Bee(e)}function dLe(){const e=sp();return XEe(e)}function QEe(e){const t=ye.useMemo(()=>KEe(e),[e]);return Mee(r=>t(r))}function hLe(){const e=jee();return t=>qee(e.getState(),t)}function Ea(e){const t=sp(),r=QEe(e&&e.key),n=Bee(t);return ye.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function no(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)},hI(e,t)})}async function hW(e,t){const r=e.getState(),{response:n}=Jm(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?no(e,t):(n.shouldFetch&&cd(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function JEe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,o=Object.freeze({key:null,url:null,type:ra.GET,normalize:!0,formatData:a=>a,cacheDuration:i});return function(u){return l=>f=>{if(f.type!==La.API_REQUEST){l(f);return}const d=u.getState(),{success:h,error:p,always:m,formatData:S,...E}=Object.assign({},o,f.request),_=d.flightData.resources[E.key];if(l(f),_&&_.status===Ms.Fetching)return;if(E.bootstrapName&&n&&n[f.request.bootstrapName]){C(n[f.request.bootstrapName]),R(),delete n[f.request.bootstrapName];return}const w={resource:E.url,type:E.type,data:E.data,success:C,error:x,always:R};if(typeof r!="function"){T(w);return}r(w,E).then(T);return;function T(P){if(fW.isSimulated(E)){fW.simulateFetchData(P,E);return}t(P)}function C(P,y){const N=S(P);let $={result:N,entities:{}};E.normalize&&($=dee(N,E.normalizeOptions)),u.dispatch({type:La.API_RESPONSE,result:$.result,entities:$.entities,request:E,timestamp:Ah.currentTimestamp(),xhr:y});let H=$.result;if(E.normalize){const B={...d.flightData.entities,...$.entities};H=fI($.result,B)}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(W=>{dI.updateState(u,W,H)}),E.invalidationKeys&&u.dispatch({type:La.INVALIDATE,keys:E.invalidationKeys,request:E}),h&&h(H)}function x(P){u.dispatch({type:La.API_ERROR,errorResponse:P.responseJSON,request:f.request,timestamp:Ah.currentTimestamp(),xhr:P}),E.invalidationKeys&&u.dispatch({type:La.INVALIDATE,keys:E.invalidationKeys,request:E}),p&&p(P)}function R(){m&&m()}}}}function Hee(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]};js.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function ZEe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function eSe(e,t){var r;return{entities:Hee(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.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 tSe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function rSe(e,t){var n;const r=dI.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:Ms.None}),i},{})}}}function nSe(e=zee,t){return{entities:Hee(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 zee={resources:{},entities:{}};function iSe(e=zee,t){switch(t.type){case La.API_REQUEST:return ZEe(e,t);case La.API_RESPONSE:return eSe(e,t);case La.API_ERROR:return tSe(e,t);case La.INVALIDATE:return rSe(e,t);case La.UPDATE:return nSe(e,t)}return e}const ic={first(e){return uh(e)},firstFew(e,t){return uh(e,t)},last(e){return Eg(e)},lastFew(e,t){return Eg(e,t)},max(e,t){return zO(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 $m(e,t)},findWhere(e,t){return xZ(e,t)},where(e,t){return OZ(e,t)},groupBy(e,t){return LZ(e,t)},countBy(e,t){return NZ(e,t)},flatten(e,t){return $Z(e,t)},intersection(...e){return jZ(...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=js.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return DZ(e,t)},chunk(e,t){return qZ(e,t)},uniq(e,t){return bh(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,js.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 kZ(e)}};var br=(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))(br||{}),DA,pW;function aSe(){if(pW)return DA;pW=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(T){T!==n&&(t=null)}else t=null;var i=/^\s*class\b/,o=function(C){try{var x=e.call(C);return i.test(x)}catch{return!1}},a=function(C){try{return o(C)?!1:(e.call(C),!0)}catch{return!1}},u=Object.prototype.toString,l="[object Object]",f="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",m="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var w=document.all;u.call(w)===u.call(document.all)&&(_=function(C){if((E||!C)&&(typeof C>"u"||typeof C=="object"))try{var x=u.call(C);return(x===h||x===p||x===m||x===l)&&C("")==null}catch{}return!1})}return DA=t?function(C){if(_(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;try{t(C,null,r)}catch(x){if(x!==n)return!1}return!o(C)&&a(C)}:function(C){if(_(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;if(S)return a(C);if(o(C))return!1;var x=u.call(C);return x!==f&&x!==d&&!/^\[object HTML/.test(x)?!1:a(C)},DA}var LA,vW;function oSe(){if(vW)return LA;vW=1;var e=aSe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(l,f,d){for(var h=0,p=l.length;h<p;h++)r.call(l,h)&&(d==null?f(l[h],h,l):f.call(d,l[h],h,l))},i=function(l,f,d){for(var h=0,p=l.length;h<p;h++)d==null?f(l.charAt(h),h,l):f.call(d,l.charAt(h),h,l)},o=function(l,f,d){for(var h in l)r.call(l,h)&&(d==null?f(l[h],h,l):f.call(d,l[h],h,l))};function a(u){return t.call(u)==="[object Array]"}return LA=function(l,f,d){if(!e(f))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),a(l)?n(l,f,h):typeof l=="string"?i(l,f,h):o(l,f,h)},LA}var NA,gW;function Wee(){if(gW)return NA;gW=1;var e=function(){};return NA=e,NA}var MA,mW;function sSe(){if(mW)return MA;mW=1;var e={}.hasOwnProperty,t=Function.prototype.call;return MA=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},MA}var $A={exports:{}},FA,yW;function Gee(){return yW||(yW=1,FA=Object),FA}var jA,_W;function uSe(){return _W||(_W=1,jA=Error),jA}var UA,EW;function lSe(){return EW||(EW=1,UA=EvalError),UA}var qA,SW;function cSe(){return SW||(SW=1,qA=RangeError),qA}var BA,wW;function fSe(){return wW||(wW=1,BA=ReferenceError),BA}var VA,bW;function Kee(){return bW||(bW=1,VA=SyntaxError),VA}var HA,TW;function fd(){return TW||(TW=1,HA=TypeError),HA}var zA,AW;function dSe(){return AW||(AW=1,zA=URIError),zA}var WA,RW;function hSe(){return RW||(RW=1,WA=Math.abs),WA}var GA,xW;function pSe(){return xW||(xW=1,GA=Math.floor),GA}var KA,CW;function vSe(){return CW||(CW=1,KA=Math.max),KA}var YA,OW;function gSe(){return OW||(OW=1,YA=Math.min),YA}var XA,IW;function mSe(){return IW||(IW=1,XA=Math.pow),XA}var QA,PW;function ySe(){return PW||(PW=1,QA=Math.round),QA}var JA,kW;function _Se(){return kW||(kW=1,JA=Number.isNaN||function(t){return t!==t}),JA}var ZA,DW;function ESe(){if(DW)return ZA;DW=1;var e=_Se();return ZA=function(r){return e(r)||r===0?r:r<0?-1:1},ZA}var eR,LW;function SSe(){return LW||(LW=1,eR=Object.getOwnPropertyDescriptor),eR}var tR,NW;function Zm(){if(NW)return tR;NW=1;var e=SSe();if(e)try{e([],"length")}catch{e=null}return tR=e,tR}var rR,MW;function ey(){if(MW)return rR;MW=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return rR=e,rR}var nR,$W;function wSe(){return $W||($W=1,nR=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),nR}var iR,FW;function bSe(){if(FW)return iR;FW=1;var e=typeof Symbol<"u"&&Symbol,t=wSe();return iR=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},iR}var aR,jW;function Yee(){return jW||(jW=1,aR=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),aR}var oR,UW;function Xee(){if(UW)return oR;UW=1;var e=Gee();return oR=e.getPrototypeOf||null,oR}var sR,qW;function TSe(){if(qW)return sR;qW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,f){for(var d=[],h=0;h<l.length;h+=1)d[h]=l[h];for(var p=0;p<f.length;p+=1)d[p+l.length]=f[p];return d},o=function(l,f){for(var d=[],h=f,p=0;h<l.length;h+=1,p+=1)d[p]=l[h];return d},a=function(u,l){for(var f="",d=0;d<u.length;d+=1)f+=u[d],d+1<u.length&&(f+=l);return f};return sR=function(l){var f=this;if(typeof f!="function"||t.apply(f)!==n)throw new TypeError(e+f);for(var d=o(arguments,1),h,p=function(){if(this instanceof h){var w=f.apply(this,i(d,arguments));return Object(w)===w?w:this}return f.apply(l,i(d,arguments))},m=r(0,f.length-d.length),S=[],E=0;E<m;E++)S[E]="$"+E;if(h=Function("binder","return function ("+a(S,",")+"){ return binder.apply(this,arguments); }")(p),f.prototype){var _=function(){};_.prototype=f.prototype,h.prototype=new _,_.prototype=null}return h},sR}var uR,BW;function up(){if(BW)return uR;BW=1;var e=TSe();return uR=Function.prototype.bind||e,uR}var lR,VW;function pI(){return VW||(VW=1,lR=Function.prototype.call),lR}var cR,HW;function vI(){return HW||(HW=1,cR=Function.prototype.apply),cR}var fR,zW;function ASe(){return zW||(zW=1,fR=typeof Reflect<"u"&&Reflect&&Reflect.apply),fR}var dR,WW;function Qee(){if(WW)return dR;WW=1;var e=up(),t=vI(),r=pI(),n=ASe();return dR=n||e.call(r,t),dR}var hR,GW;function gI(){if(GW)return hR;GW=1;var e=up(),t=fd(),r=pI(),n=Qee();return hR=function(o){if(o.length<1||typeof o[0]!="function")throw new t("a function is required");return n(e,r,o)},hR}var pR,KW;function RSe(){if(KW)return pR;KW=1;var e=gI(),t=Zm(),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 pR=n&&typeof n.get=="function"?e([n.get]):typeof o=="function"?function(u){return o(u==null?u:i(u))}:!1,pR}var vR,YW;function xSe(){if(YW)return vR;YW=1;var e=Yee(),t=Xee(),r=RSe();return vR=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,vR}var gR,XW;function CSe(){if(XW)return gR;XW=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=up();return gR=r.call(e,t),gR}var mR,QW;function mI(){if(QW)return mR;QW=1;var e,t=Gee(),r=uSe(),n=lSe(),i=cSe(),o=fSe(),a=Kee(),u=fd(),l=dSe(),f=hSe(),d=pSe(),h=vSe(),p=gSe(),m=mSe(),S=ySe(),E=ESe(),_=Function,w=function(M){try{return _('"use strict"; return ('+M+").constructor;")()}catch{}},T=Zm(),C=ey(),x=function(){throw new u},R=T?(function(){try{return arguments.callee,x}catch{try{return T(arguments,"callee").get}catch{return x}}})():x,P=bSe()(),y=xSe(),N=Xee(),$=Yee(),H=vI(),B=pI(),W={},X=typeof Uint8Array>"u"||!y?e:y(Uint8Array),J={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":P&&y?y([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&y?y(y([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!y?e:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!y?e:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&y?y(""[Symbol.iterator]()):e,"%Symbol%":P?Symbol:e,"%SyntaxError%":a,"%ThrowTypeError%":R,"%TypedArray%":X,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":H,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":N,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":m,"%Math.round%":S,"%Math.sign%":E,"%Reflect.getPrototypeOf%":$};if(y)try{null.error}catch(M){var ie=y(y(M));J["%Error.prototype%"]=ie}var ne=function M(k){var U;if(k==="%AsyncFunction%")U=w("async function () {}");else if(k==="%GeneratorFunction%")U=w("function* () {}");else if(k==="%AsyncGeneratorFunction%")U=w("async function* () {}");else if(k==="%AsyncGenerator%"){var Y=M("%AsyncGeneratorFunction%");Y&&(U=Y.prototype)}else if(k==="%AsyncIteratorPrototype%"){var ae=M("%AsyncGenerator%");ae&&y&&(U=y(ae.prototype))}return J[k]=U,U},pe={__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"]},K=up(),te=CSe(),z=K.call(B,Array.prototype.concat),ce=K.call(H,Array.prototype.splice),Se=K.call(B,String.prototype.replace),Le=K.call(B,String.prototype.slice),Be=K.call(B,RegExp.prototype.exec),Xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,oe=/\\(\\)?/g,O=function(k){var U=Le(k,0,1),Y=Le(k,-1);if(U==="%"&&Y!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(Y==="%"&&U!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var ae=[];return Se(k,Xe,function(Ee,me,Ce,be){ae[ae.length]=Ce?Se(be,oe,"$1"):me||Ee}),ae},I=function(k,U){var Y=k,ae;if(te(pe,Y)&&(ae=pe[Y],Y="%"+ae[0]+"%"),te(J,Y)){var Ee=J[Y];if(Ee===W&&(Ee=ne(Y)),typeof Ee>"u"&&!U)throw new u("intrinsic "+k+" exists, but is not available. Please file an issue!");return{alias:ae,name:Y,value:Ee}}throw new a("intrinsic "+k+" does not exist!")};return mR=function(k,U){if(typeof k!="string"||k.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new u('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,k)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Y=O(k),ae=Y.length>0?Y[0]:"",Ee=I("%"+ae+"%",U),me=Ee.name,Ce=Ee.value,be=!1,Ie=Ee.alias;Ie&&(ae=Ie[0],ce(Y,z([0,1],Ie)));for(var Fe=1,ve=!0;Fe<Y.length;Fe+=1){var _e=Y[Fe],we=Le(_e,0,1),ke=Le(_e,-1);if((we==='"'||we==="'"||we==="`"||ke==='"'||ke==="'"||ke==="`")&&we!==ke)throw new a("property names with quotes must have matching quotes");if((_e==="constructor"||!ve)&&(be=!0),ae+="."+_e,me="%"+ae+"%",te(J,me))Ce=J[me];else if(Ce!=null){if(!(_e in Ce)){if(!U)throw new u("base intrinsic for "+k+" exists, but the property is not available.");return}if(T&&Fe+1>=Y.length){var qe=T(Ce,_e);ve=!!qe,ve&&"get"in qe&&!("originalValue"in qe.get)?Ce=qe.get:Ce=Ce[_e]}else ve=te(Ce,_e),Ce=Ce[_e];ve&&!be&&(J[me]=Ce)}}return Ce},mR}var yR,JW;function yI(){if(JW)return yR;JW=1;var e=ey(),t=Kee(),r=fd(),n=Zm();return yR=function(o,a,u){if(!o||typeof o!="object"&&typeof o!="function")throw new r("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,p=!!n&&n(o,a);if(e)e(o,a,{configurable:d===null&&p?p.configurable:!d,enumerable:l===null&&p?p.enumerable:!l,value:u,writable:f===null&&p?p.writable:!f});else if(h||!l&&!f&&!d)o[a]=u;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},yR}var _R,ZW;function _I(){if(ZW)return _R;ZW=1;var e=ey(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},_R=t,_R}var ER,eG;function OSe(){if(eG)return ER;eG=1;var e=mI(),t=yI(),r=_I()(),n=Zm(),i=fd(),o=e("%Math.floor%");return ER=function(u,l){if(typeof u!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new i("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in u&&n){var p=n(u,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(h=!1)}return(d||h||!f)&&(r?t(u,"length",l,!0,!0):t(u,"length",l)),u},ER}var SR,tG;function ISe(){if(tG)return SR;tG=1;var e=up(),t=vI(),r=Qee();return SR=function(){return r(e,t,arguments)},SR}var rG;function PSe(){return rG||(rG=1,(function(e){var t=OSe(),r=ey(),n=gI(),i=ISe();e.exports=function(a){var u=n(arguments),l=a.length-(arguments.length-1);return t(u,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})($A)),$A.exports}var wR,nG;function Jee(){if(nG)return wR;nG=1;var e=Object.prototype.toString;return wR=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},wR}var bR,iG;function kSe(){if(iG)return bR;iG=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Jee(),i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var m=p.constructor;return m&&m.prototype===p},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=(function(){if(typeof window>"u")return!1;for(var p in window)try{if(!f["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1})(),h=function(p){if(typeof window>"u"||!d)return l(p);try{return l(p)}catch{return!1}};e=function(m){var S=m!==null&&typeof m=="object",E=r.call(m)==="[object Function]",_=n(m),w=S&&r.call(m)==="[object String]",T=[];if(!S&&!E&&!_)throw new TypeError("Object.keys called on a non-object");var C=a&&E;if(w&&m.length>0&&!t.call(m,0))for(var x=0;x<m.length;++x)T.push(String(x));if(_&&m.length>0)for(var R=0;R<m.length;++R)T.push(String(R));else for(var P in m)!(C&&P==="prototype")&&t.call(m,P)&&T.push(String(P));if(o)for(var y=h(m),N=0;N<u.length;++N)!(y&&u[N]==="constructor")&&t.call(m,u[N])&&T.push(u[N]);return T}}return bR=e,bR}var TR,aG;function DSe(){if(aG)return TR;aG=1;var e=Array.prototype.slice,t=Jee(),r=Object.keys,n=r?function(a){return r(a)}:kSe(),i=Object.keys;return n.shim=function(){if(Object.keys){var a=(function(){var u=Object.keys(arguments);return u&&u.length===arguments.length})(1,2);a||(Object.keys=function(l){return t(l)?i(e.call(l)):i(l)})}else Object.keys=n;return Object.keys||n},TR=n,TR}var AR,oG;function LSe(){if(oG)return AR;oG=1;var e=DSe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=yI(),o=function(f){return typeof f=="function"&&r.call(f)==="[object Function]"},a=_I()(),u=function(f,d,h,p){if(d in f){if(p===!0){if(f[d]===h)return}else if(!o(p)||!p())return}a?i(f,d,h,!0):i(f,d,h)},l=function(f,d){var h=arguments.length>2?arguments[2]:{},p=e(d);t&&(p=n.call(p,Object.getOwnPropertySymbols(d)));for(var m=0;m<p.length;m+=1)u(f,p[m],d[p[m]],h[p[m]])};return l.supportsDescriptors=!!a,AR=l,AR}var RR,sG;function Zee(){if(sG)return RR;sG=1;var e=fd();return RR=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},RR}var xR,uG;function NSe(){if(uG)return xR;uG=1;var e=mI(),t=e("%String%"),r=fd();return xR=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},xR}var CR,lG;function MSe(){if(lG)return CR;lG=1;var e=mI(),t=gI(),r=t([e("%String.prototype.indexOf%")]);return CR=function(i,o){var a=e(i,!!o);return typeof a=="function"&&r(i,".prototype.")>-1?t([a]):a},CR}var OR,cG;function ete(){if(cG)return OR;cG=1;var e=Zee(),t=NSe(),r=MSe(),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 OR=function(){var l=t(e(this));return n(n(l,o,""),a,"")},OR}var IR,fG;function tte(){if(fG)return IR;fG=1;var e=ete(),t="",r="";return IR=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},IR}var PR,dG;function $Se(){if(dG)return PR;dG=1;var e=_I()(),t=yI(),r=tte();return PR=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},PR}var kR,hG;function FSe(){if(hG)return kR;hG=1;var e=PSe(),t=LSe(),r=Zee(),n=ete(),i=tte(),o=$Se(),a=e(i()),u=function(f){return r(f),a(f)};return t(u,{getPolyfill:i,implementation:n,shim:o}),kR=u,kR}var DR,pG;function jSe(){if(pG)return DR;pG=1;var e=oSe(),t=Wee(),r=sSe(),n=FSe(),i=function(P){t(!1,P)},o=String.prototype.replace,a=String.prototype.split,u="||||",l=function(R){var P=R%10;return R!==11&&P===1?0:2<=P&&P<=4&&!(R>=12&&R<=14)?1:2},f={arabic:function(R){if(R<3)return R;var P=R%100;return P>=3&&P<=10?3:P>=11?4:5},bosnian_serbian:l,chinese:function(){return 0},croatian:l,french:function(R){return R>1?1:0},german:function(R){return R!==1?1:0},russian:l,lithuanian:function(R){return R%10===1&&R%100!==11?0:R%10>=2&&R%10<=9&&(R%100<11||R%100>19)?1:2},czech:function(R){return R===1?0:R>=2&&R<=4?1:2},polish:function(R){if(R===1)return 0;var P=R%10;return 2<=P&&P<=4&&(R%100<10||R%100>=20)?1:2},icelandic:function(R){return R%10!==1||R%100===11?1:0},slovenian:function(R){var P=R%100;return P===1?0:P===2?1:P===3||P===4?2:3}},d={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function h(R){var P={};return e(R,function(y,N){e(y,function($){P[$]=N})}),P}function p(R){var P=h(d);return P[R]||P[a.call(R,/-/,1)[0]]||P.en}function m(R,P){return f[p(R)](P)}function S(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(R){var P=R&&R.prefix||"%{",y=R&&R.suffix||"}";if(P===u||y===u)throw new RangeError('"'+u+'" token is reserved for pluralization');return new RegExp(S(P)+"(.*?)"+S(y),"g")}var _=/\$/g,w="$$",T=/%\{(.*?)\}/g;function C(R,P,y,N){if(typeof R!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(P==null)return R;var $=R,H=N||T,B=typeof P=="number"?{smart_count:P}:P;if(B.smart_count!=null&&$){var W=a.call($,u);$=n(W[m(y||"en",B.smart_count)]||W[0])}return $=o.call($,H,function(X,J){return!r(B,J)||B[J]==null?X:o.call(B[J],_,w)}),$}function x(R){var P=R||{};this.phrases={},this.extend(P.phrases||{}),this.currentLocale=P.locale||"en";var y=P.allowMissing?C:null;this.onMissingKey=typeof P.onMissingKey=="function"?P.onMissingKey:y,this.warn=P.warn||i,this.tokenRegex=E(P.interpolation)}return x.prototype.locale=function(R){return R&&(this.currentLocale=R),this.currentLocale},x.prototype.extend=function(R,P){e(R,function(y,N){var $=P?P+"."+N:N;typeof y=="object"?this.extend(y,$):this.phrases[$]=y},this)},x.prototype.unset=function(R,P){typeof R=="string"?delete this.phrases[R]:e(R,function(y,N){var $=P?P+"."+N:N;typeof y=="object"?this.unset(y,$):delete this.phrases[$]},this)},x.prototype.clear=function(){this.phrases={}},x.prototype.replace=function(R){this.clear(),this.extend(R)},x.prototype.t=function(R,P){var y,N,$=P??{};if(typeof this.phrases[R]=="string")y=this.phrases[R];else if(typeof $._=="string")y=$._;else if(this.onMissingKey){var H=this.onMissingKey;N=H(R,$,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+R+'"'),N=R;return typeof y=="string"&&(N=C(y,$,this.currentLocale,this.tokenRegex)),N},x.prototype.has=function(R){return r(this.phrases,R)},x.transformPhrase=function(P,y,N){return C(P,y,N)},DR=x,DR}var USe=jSe();const qSe=Hn(USe),ty={ALERT:"AlertService",LANGUAGE:"LanguageService"};var lp=Object.freeze||function(e){return e},vG=lp(["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"]),gG=lp(["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"]),mG=lp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),yG=lp(["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"]),_G=lp(["#text"]),ry=Object.freeze||function(e){return e},EG=ry(["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"]),LR=ry(["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"]),SG=ry(["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"]),yv=ry(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),BSe=Object.hasOwnProperty,wG=Object.setPrototypeOf,VSe=typeof Reflect<"u"&&Reflect,Wx=VSe.apply;Wx||(Wx=function(t,r,n){return t.apply(r,n)});function Bn(e,t){wG&&wG(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 NR(e){var t={},r=void 0;for(r in e)Wx(BSe,e,[r])&&(t[r]=e[r]);return t}var Oc=Object.seal||function(e){return e},HSe=Oc(/\{\{[\s\S]*|[\s\S]*\}\}/gm),zSe=Oc(/<%[\s\S]*|[\s\S]*%>/gm),WSe=Oc(/^data-[\-\w.\u00B7-\uFFFF]/),GSe=Oc(/^aria-[\-\w]+$/),KSe=Oc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),YSe=Oc(/^(?:\w+script|data):/i),XSe=Oc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),rh=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 Os(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,Gx=QSe.apply,JSe=Array.prototype.slice,bG=Object.freeze,ZSe=function(){return typeof window>"u"?null:window};Gx||(Gx=function(t,r,n){return t.apply(r,n)});var e0e=function(t,r){if((typeof t>"u"?"undefined":rh(t))!=="object"||typeof t.createPolicy!="function")return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(u){return u}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function rte(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ZSe(),t=function(Ae){return rte(Ae)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,i=!1,o=e.document,a=e.DocumentFragment,u=e.HTMLTemplateElement,l=e.Node,f=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,p=e.Text,m=e.Comment,S=e.DOMParser,E=e.TrustedTypes;if(typeof u=="function"){var _=o.createElement("template");_.content&&_.content.ownerDocument&&(o=_.content.ownerDocument)}var w=e0e(E,r),T=w?w.createHTML(""):"",C=o,x=C.implementation,R=C.createNodeIterator,P=C.getElementsByTagName,y=C.createDocumentFragment,N=r.importNode,$={};t.isSupported=x&&typeof x.createHTMLDocument<"u"&&o.documentMode!==9;var H=HSe,B=zSe,W=WSe,X=GSe,J=YSe,ie=XSe,ne=KSe,pe=null,K=Bn({},[].concat(Os(vG),Os(gG),Os(mG),Os(yG),Os(_G))),te=null,z=Bn({},[].concat(Os(EG),Os(LR),Os(SG),Os(yv))),ce=null,Se=null,Le=!0,Be=!0,Xe=!1,oe=!1,O=!1,I=!1,M=!1,k=!1,U=!1,Y=!1,ae=!1,Ee=!1,me=!0,Ce=!0,be=!1,Ie={},Fe=Bn({},["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"]),ve=Bn({},["audio","video","img","source","image"]),_e=null,we=Bn({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),ke=null,qe=o.createElement("form"),Ue=function(Ae){ke&&ke===Ae||((!Ae||(typeof Ae>"u"?"undefined":rh(Ae))!=="object")&&(Ae={}),pe="ALLOWED_TAGS"in Ae?Bn({},Ae.ALLOWED_TAGS):K,te="ALLOWED_ATTR"in Ae?Bn({},Ae.ALLOWED_ATTR):z,_e="ADD_URI_SAFE_ATTR"in Ae?Bn(NR(we),Ae.ADD_URI_SAFE_ATTR):we,ce="FORBID_TAGS"in Ae?Bn({},Ae.FORBID_TAGS):{},Se="FORBID_ATTR"in Ae?Bn({},Ae.FORBID_ATTR):{},Ie="USE_PROFILES"in Ae?Ae.USE_PROFILES:!1,Le=Ae.ALLOW_ARIA_ATTR!==!1,Be=Ae.ALLOW_DATA_ATTR!==!1,Xe=Ae.ALLOW_UNKNOWN_PROTOCOLS||!1,oe=Ae.SAFE_FOR_JQUERY||!1,O=Ae.SAFE_FOR_TEMPLATES||!1,I=Ae.WHOLE_DOCUMENT||!1,U=Ae.RETURN_DOM||!1,Y=Ae.RETURN_DOM_FRAGMENT||!1,ae=Ae.RETURN_DOM_IMPORT||!1,Ee=Ae.RETURN_TRUSTED_TYPE||!1,k=Ae.FORCE_BODY||!1,me=Ae.SANITIZE_DOM!==!1,Ce=Ae.KEEP_CONTENT!==!1,be=Ae.IN_PLACE||!1,ne=Ae.ALLOWED_URI_REGEXP||ne,O&&(Be=!1),Y&&(U=!0),Ie&&(pe=Bn({},[].concat(Os(_G))),te=[],Ie.html===!0&&(Bn(pe,vG),Bn(te,EG)),Ie.svg===!0&&(Bn(pe,gG),Bn(te,LR),Bn(te,yv)),Ie.svgFilters===!0&&(Bn(pe,mG),Bn(te,LR),Bn(te,yv)),Ie.mathMl===!0&&(Bn(pe,yG),Bn(te,SG),Bn(te,yv))),Ae.ADD_TAGS&&(pe===K&&(pe=NR(pe)),Bn(pe,Ae.ADD_TAGS)),Ae.ADD_ATTR&&(te===z&&(te=NR(te)),Bn(te,Ae.ADD_ATTR)),Ae.ADD_URI_SAFE_ATTR&&Bn(_e,Ae.ADD_URI_SAFE_ATTR),Ce&&(pe["#text"]=!0),I&&Bn(pe,["html","head","body"]),pe.table&&(Bn(pe,["tbody"]),delete ce.tbody),bG&&bG(Ae),ke=Ae)},We=function(Ae){t.removed.push({element:Ae});try{Ae.parentNode.removeChild(Ae)}catch{Ae.outerHTML=T}},ct=function(Ae,tt){try{t.removed.push({attribute:tt.getAttributeNode(Ae),from:tt})}catch{t.removed.push({attribute:null,from:tt})}tt.removeAttribute(Ae)},jt=function(Ae){var tt=void 0,lt=void 0;if(k)Ae="<remove></remove>"+Ae;else{var Tt=Ae.match(/^[\s]+/);lt=Tt&&Tt[0],lt&&(Ae=Ae.slice(lt.length))}if(n)try{tt=new S().parseFromString(Ae,"text/html")}catch{}if(i&&Bn(ce,["title"]),!tt||!tt.documentElement){tt=x.createHTMLDocument("");var Lt=tt,ar=Lt.body;ar.parentNode.removeChild(ar.parentNode.firstElementChild),ar.outerHTML=w?w.createHTML(Ae):Ae}return Ae&<&&tt.body.insertBefore(o.createTextNode(lt),tt.body.childNodes[0]||null),P.call(tt,I?"html":"body")[0]};t.isSupported&&((function(){try{var Nt=jt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Nt.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var Nt=jt("<x/><title></title><img>");/<\/title/.test(Nt.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Gt=function(Ae){return R.call(Ae.ownerDocument||Ae,Ae,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,function(){return f.FILTER_ACCEPT},!1)},et=function(Ae){return Ae instanceof p||Ae instanceof m?!1:typeof Ae.nodeName!="string"||typeof Ae.textContent!="string"||typeof Ae.removeChild!="function"||!(Ae.attributes instanceof h)||typeof Ae.removeAttribute!="function"||typeof Ae.setAttribute!="function"||typeof Ae.namespaceURI!="string"},Rt=function(Ae){return(typeof l>"u"?"undefined":rh(l))==="object"?Ae instanceof l:Ae&&(typeof Ae>"u"?"undefined":rh(Ae))==="object"&&typeof Ae.nodeType=="number"&&typeof Ae.nodeName=="string"},Et=function(Ae,tt,lt){$[Ae]&&$[Ae].forEach(function(Tt){Tt.call(t,tt,lt,ke)})},st=function(Ae){var tt=void 0;if(Et("beforeSanitizeElements",Ae,null),et(Ae))return We(Ae),!0;var lt=Ae.nodeName.toLowerCase();if(Et("uponSanitizeElement",Ae,{tagName:lt,allowedTags:pe}),(lt==="svg"||lt==="math")&&Ae.querySelectorAll("p, br").length!==0)return We(Ae),!0;if(!pe[lt]||ce[lt]){if(Ce&&!Fe[lt]&&typeof Ae.insertAdjacentHTML=="function")try{var Tt=Ae.innerHTML;Ae.insertAdjacentHTML("AfterEnd",w?w.createHTML(Tt):Tt)}catch{}return We(Ae),!0}return lt==="noscript"&&/<\/noscript/i.test(Ae.innerHTML)||lt==="noembed"&&/<\/noembed/i.test(Ae.innerHTML)?(We(Ae),!0):(oe&&!Ae.firstElementChild&&(!Ae.content||!Ae.content.firstElementChild)&&/</g.test(Ae.textContent)&&(t.removed.push({element:Ae.cloneNode()}),Ae.innerHTML?Ae.innerHTML=Ae.innerHTML.replace(/</g,"<"):Ae.innerHTML=Ae.textContent.replace(/</g,"<")),O&&Ae.nodeType===3&&(tt=Ae.textContent,tt=tt.replace(H," "),tt=tt.replace(B," "),Ae.textContent!==tt&&(t.removed.push({element:Ae.cloneNode()}),Ae.textContent=tt)),Et("afterSanitizeElements",Ae,null),!1)},ft=function(Ae,tt,lt){if(me&&(tt==="id"||tt==="name")&&(lt in o||lt in qe))return!1;if(!(Be&&W.test(tt))){if(!(Le&&X.test(tt))){if(!te[tt]||Se[tt])return!1;if(!_e[tt]){if(!ne.test(lt.replace(ie,""))){if(!((tt==="src"||tt==="xlink:href"||tt==="href")&&Ae!=="script"&<.indexOf("data:")===0&&ve[Ae])){if(!(Xe&&!J.test(lt.replace(ie,"")))){if(lt)return!1}}}}}}return!0},mt=function(Ae){var tt=void 0,lt=void 0,Tt=void 0,Lt=void 0,ar=void 0;Et("beforeSanitizeAttributes",Ae,null);var dr=Ae.attributes;if(dr){var rr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:te};for(ar=dr.length;ar--;){tt=dr[ar];var gr=tt,Dr=gr.name,Ur=gr.namespaceURI;if(lt=tt.value.trim(),Tt=Dr.toLowerCase(),rr.attrName=Tt,rr.attrValue=lt,rr.keepAttr=!0,Et("uponSanitizeAttribute",Ae,rr),lt=rr.attrValue,Tt==="name"&&Ae.nodeName==="IMG"&&dr.id)Lt=dr.id,dr=Gx(JSe,dr,[]),ct("id",Ae),ct(Dr,Ae),dr.indexOf(Lt)>ar&&Ae.setAttribute("id",Lt.value);else{if(Ae.nodeName==="INPUT"&&Tt==="type"&<==="file"&&rr.keepAttr&&(te[Tt]||!Se[Tt]))continue;Dr==="id"&&Ae.setAttribute(Dr,""),ct(Dr,Ae)}if(rr.keepAttr){if(/svg|math/i.test(Ae.namespaceURI)&&new RegExp("</("+Object.keys(Fe).join("|")+")","i").test(lt)){ct(Dr,Ae);continue}O&&(lt=lt.replace(H," "),lt=lt.replace(B," "));var Pn=Ae.nodeName.toLowerCase();if(ft(Pn,Tt,lt))try{Ur?Ae.setAttributeNS(Ur,Dr,lt):Ae.setAttribute(Dr,lt),t.removed.pop()}catch{}}}Et("afterSanitizeAttributes",Ae,null)}},Qt=function Nt(Ae){var tt=void 0,lt=Gt(Ae);for(Et("beforeSanitizeShadowDOM",Ae,null);tt=lt.nextNode();)Et("uponSanitizeShadowNode",tt,null),!st(tt)&&(tt.content instanceof a&&Nt(tt.content),mt(tt));Et("afterSanitizeShadowDOM",Ae,null)};return t.sanitize=function(Nt,Ae){var tt=void 0,lt=void 0,Tt=void 0,Lt=void 0,ar=void 0;if(Nt||(Nt="<!-->"),typeof Nt!="string"&&!Rt(Nt)){if(typeof Nt.toString!="function")throw new TypeError("toString is not a function");if(Nt=Nt.toString(),typeof Nt!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(rh(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Nt=="string")return e.toStaticHTML(Nt);if(Rt(Nt))return e.toStaticHTML(Nt.outerHTML)}return Nt}if(M||Ue(Ae),t.removed=[],!be)if(Nt instanceof l)tt=jt("<!-->"),lt=tt.ownerDocument.importNode(Nt,!0),lt.nodeType===1&<.nodeName==="BODY"||lt.nodeName==="HTML"?tt=lt:tt.appendChild(lt);else{if(!U&&!O&&!I&&Ee&&Nt.indexOf("<")===-1)return w?w.createHTML(Nt):Nt;if(tt=jt(Nt),!tt)return U?null:T}tt&&k&&We(tt.firstChild);for(var dr=Gt(be?Nt:tt);Tt=dr.nextNode();)Tt.nodeType===3&&Tt===Lt||st(Tt)||(Tt.content instanceof a&&Qt(Tt.content),mt(Tt),Lt=Tt);if(Lt=null,be)return Nt;if(U){if(Y)for(ar=y.call(tt.ownerDocument);tt.firstChild;)ar.appendChild(tt.firstChild);else ar=tt;return ae&&(ar=N.call(r,ar,!0)),ar}var rr=I?tt.outerHTML:tt.innerHTML;return O&&(rr=rr.replace(H," "),rr=rr.replace(B," ")),w&&Ee?w.createHTML(rr):rr},t.setConfig=function(Nt){Ue(Nt),M=!0},t.clearConfig=function(){ke=null,M=!1},t.isValidAttribute=function(Nt,Ae,tt){ke||Ue({});var lt=Nt.toLowerCase(),Tt=Ae.toLowerCase();return ft(lt,Tt,tt)},t.addHook=function(Nt,Ae){typeof Ae=="function"&&($[Nt]=$[Nt]||[],$[Nt].push(Ae))},t.removeHook=function(Nt){$[Nt]&&$[Nt].pop()},t.removeHooks=function(Nt){$[Nt]&&($[Nt]=[])},t.removeAllHooks=function(){$={}},t}var Kx=rte();const t0e=/&/g,r0e=/[\W]+/g,n0e=/\s+/g,TG={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(t0e,"and").replace(r0e," ").trim().replace(n0e,"-").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?Kx.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class i0e extends lo{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return ty.LANGUAGE}setConfig(t){this.polyglot=new qSe({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||hr.throw(new wn("LanguageService config must be set.")),!this.polyglot.has(i)){if(!Hm.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}hr.throw(new wn(`No phrase set for ${i} in language config.`))}if(!n||Eh(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const o=jm(n,"smartCount","escapeText"),a={};for(const d in o){let h=TG.sanitize(o[d]);n.escapeText&&(h=TG.escapeExpression(h)),a[d]=h}Tf(n.smartCount)&&(a.smart_count=n.smartCount);const u=`${i}:${vl({...a}).join(":")}`,l=this.cache[u];if(l)return l;const f=this.polyglot.t(i,a);return this.cache[u]=f,f}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const Gr=i0e.Instance;class ny extends Bm{get name(){return"ErrorPageError"}}const MR="shared.unspecifiedError";class Mf extends ny{constructor(){super(Gr.getPhrase(MR,"title"))}get name(){return"UnspecifiedError"}get heading(){return Gr.getPhrase(MR,"heading")}get description(){return Gr.getPhrase(MR,"description")}get cta(){return!1}}const lh={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?zl.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):zl._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?zl.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):zl._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),{})}},AG=[{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 $R=()=>(hr.throw(new wn("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const zl={setPublicFormatSettings(e){e&&($R=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:lh.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=>ic.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:lh.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$R,success:e,error:t,successResponse:()=>AG}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:$R,success:e,error:t,successResponse:()=>AG}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>ic.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:lh.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:ra.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:ra.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},a0e="modulepreload",o0e=function(e){return"/"+e},RG={},Ln=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),u=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(l=>{if(l=o0e(l),l in RG)return;RG[l]=!0;const f=l.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":a0e,f||(h.as="script"),h.crossOrigin="",h.href=l,u&&h.setAttribute("nonce",u),document.head.appendChild(h),f)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=a,window.dispatchEvent(u),!u.defaultPrevented)throw a}return i.then(a=>{for(const u of a||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};var FR={exports:{}},Hd={};/**
|
|
115
|
-
* @license React
|
|
116
|
-
* react-jsx-runtime.production.min.js
|
|
117
|
-
*
|
|
118
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the MIT license found in the
|
|
121
|
-
* LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/var xG;function s0e(){if(xG)return Hd;xG=1;var e=Cc(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(u,l,f){var d,h={},p=null,m=null;f!==void 0&&(p=""+f),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(d in l)n.call(l,d)&&!o.hasOwnProperty(d)&&(h[d]=l[d]);if(u&&u.defaultProps)for(d in l=u.defaultProps,l)h[d]===void 0&&(h[d]=l[d]);return{$$typeof:t,type:u,key:p,ref:m,props:h,_owner:i.current}}return Hd.Fragment=r,Hd.jsx=a,Hd.jsxs=a,Hd}var CG;function u0e(){return CG||(CG=1,FR.exports=s0e()),FR.exports}var de=u0e();class EI extends mye{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],o=a=>Nr.Radio.channel(pn.ALERT).trigger("remove:alert",a);this.layout.showChildView(this.layoutOptions.options.alertRegion,de.jsx(r,{alerts:i,removeAlert:o}))}}var So=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(So||{});const jR="shared.notFoundError";class nte extends ny{constructor(){super(Gr.getPhrase(jR,"title"))}get name(){return"NotFoundError"}get heading(){return Gr.getPhrase(jR,"heading")}get description(){return Gr.getPhrase(jR,"description")}}const rn={CONTENT:"content",POPUP:"popup",ALERT:"alert",HIDDEN:"hidden"},cp={DEFAULT_LAYOUT:"DefaultLayout"},Ii={DEFAULT:"default:application",EXCHANGE:"exchange:application",TV:"tv:application"},ite={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}},Ro={debounce(e,t,r){return _Z(e,t,r)},throttle(e,t,r){return yZ(e,t,r)},isFunction(e){return en(e)},useIdentity(){return Mm},memoize(e,t){return gZ(e,t)}};var Ft=(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))(Ft||{}),On=(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))(On||{}),Sa=(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))(Sa||{}),Zu=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Zu||{}),Yx=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(Yx||{}),l0e=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(l0e||{}),c0e=(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))(c0e||{}),f0e=(e=>(e.Embedded="embedded",e))(f0e||{}),Xl=(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))(Xl||{}),d0e=(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))(d0e||{}),Xx=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(Xx||{}),h0e=(e=>(e.On="on",e.Off="off",e))(h0e||{}),Rh=(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))(Rh||{}),p0e=(e=>(e.RequestProgram="tv_request_program",e.AdFreeRequest="tv_ad_free_request",e.AddAdFreeVideo="tv_add_ad_free_video",e.AddFullVideo="tv_add_full_video",e.RegionSelect="tv_region_select",e))(p0e||{}),v0e=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(v0e||{}),g0e=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(g0e||{}),Qx=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(Qx||{}),Gu=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Gu||{}),ate=(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))(ate||{}),ote=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(ote||{}),SI=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(SI||{});const m0e=5;let y0e=class extends lo{constructor(){super(...arguments),this.contextHistory=[]}get name(){return SI.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(pn.SHELL,mn.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=m0e&&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 ste=new y0e;var Rf=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(Rf||{});const ute={ANALYTICS:"global:analytics"},_0e=ate.V2;class E0e{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||_0e}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")&&hr.throw(new wn(`${t} is not a valid key`)),this[t]&&hr.throw(new wn(`Event already contains an enrichment named ${t}`))}}const S0e={log(e,t,r,n){Nr.Radio.channel(ute.ANALYTICS).trigger(Rf.Inlet,new E0e(e,t,r,n))}};function w0e(){const{appLink:e}=ste.getCurrentContext();return ts(e)||hr.throw(new wn("Applink does not exist. Check current context.")),A0e(e.application)}function _v(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||hr.throw(new wn("location must be set.")),r||hr.throw(new wn("entity must be set.")),{productArea:e.productArea??w0e(),location:t,entity:r,descriptor:i,workflowPhase:n}}function b0e(e){return!!(hl(e)&&jx(e,t=>ts(t))||ts(e))}function T0e(){return Nn.GetCurrentPath()+Nn.GetCurrentQueryString()}function A0e(e){return e.replace(":","-")}const Fa={logUserAction(e,t){if(!b0e(e)||!ts(t))return;const{userAction:r,action:n,eventVersion:i}=Fa.buildUserActionEvent(t);S0e.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),to({},e,...t)},buildActionContext(e={}){return _v(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=_v(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return T0e()},buildSearchEvent(e,t){return{data:{query:e},action:_v({entity:On.Video,location:Sa.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Gu.Series&&(n=On.Series),r===Gu.Folder&&(n=On.Folder),r===Gu.Tags&&(n=On.Tag),r===Gu.Video&&(n=On.Video),r===Gu.Clip&&(n=On.Clip),r===Gu.Interactive&&(n=On.Interactive),r===Gu.Subjects&&(n=On.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:_v({entity:n,location:Sa.SearchBar})}},mapInteractionType(e){switch(e){case Qx.DragDrop:return Xx.DragDrop;case Qx.FileSelect:return Xx.FileSelect;default:return}}},Jx=kr.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 de.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})}),R0e="_appLink_1d1n3_1",x0e={appLink:R0e},xo=ye.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:o,children:a,disabled:u,tag:l="a",preventFocus:f}=e;if(!r)return de.jsx("div",{ref:t,className:`${x0e.appLink} ${i||""}`,style:o,children:a});const d=Ti.getHref(r,n)||void 0,p={onClick:m=>{var E;const S=m.metaKey||m.ctrlKey;S||m.preventDefault(),!u&&((E=e.onClick)==null||E.call(e,m),e.analyticsData&&e.analyticsOptions&&Fa.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!S&&(e.openInNewTab?Nn.PageLoad(d,!0):e.forcePageLoad?Nn.PageLoad(d):Ti.trigger(r,n)))},...l==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:o,disabled:u,tabIndex:f?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return l==="button"||!d?de.jsx(Jx,{...p,children:a}):de.jsx(l,{...p,children:a})});var UR={exports:{}};/*!
|
|
123
|
-
Copyright (c) 2018 Jed Watson.
|
|
124
|
-
Licensed under the MIT License (MIT), see
|
|
125
|
-
http://jedwatson.github.io/classnames
|
|
126
|
-
*/var OG;function C0e(){return OG||(OG=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",a=0;a<arguments.length;a++){var u=arguments[a];u&&(o=i(o,n(u)))}return o}function n(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return r.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var u in o)t.call(o,u)&&o[u]&&(a=i(a,u));return a}function i(o,a){return a?o?o+" "+a:o+a:o}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(UR)),UR.exports}var O0e=C0e();const tn=Hn(O0e);var qR,IG;function I0e(){if(IG)return qR;IG=1;var e=function(t,r,n,i,o,a,u,l){if(!t){var f;if(r===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,o,a,u,l],h=0;f=new Error(r.replace(/%s/g,function(){return d[h++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return qR=e,qR}var P0e=I0e();const PG=Hn(P0e);function kG(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function k0e(e){var t=D0e(e,"string");return typeof t=="symbol"?t:String(t)}function D0e(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 lte(e,t,r){var n=ye.useRef(e!==void 0),i=ye.useState(t),o=i[0],a=i[1],u=e!==void 0,l=n.current;return n.current=u,!u&&l&&o!==t&&a(t),[u?e:o,ye.useCallback(function(f){for(var d=arguments.length,h=new Array(d>1?d-1:0),p=1;p<d;p++)h[p-1]=arguments[p];r&&r.apply(void 0,[f].concat(h)),a(f)},[r])]}function L0e(e,t){return Object.keys(t).reduce(function(r,n){var i,o=r,a=o[kG(n)],u=o[n],l=Qm(o,[kG(n),n].map(k0e)),f=t[n],d=lte(u,a,e[f]),h=d[0],p=d[1];return Th({},l,(i={},i[n]=h,i[f]=p,i))},e)}function Zx(e,t){return Zx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Zx(e,t)}function wI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zx(e,t)}const N0e=["xxl","xl","lg","md","sm","xs"],M0e="xs",fp=ye.createContext({prefixes:{},breakpoints:N0e,minBreakpoint:M0e}),{Consumer:vLe,Provider:gLe}=fp;function vn(e,t){const{prefixes:r}=ye.useContext(fp);return e||r[t]||t}function $0e(){const{breakpoints:e}=ye.useContext(fp);return e}function F0e(){const{minBreakpoint:e}=ye.useContext(fp);return e}function iy(){const{dir:e}=ye.useContext(fp);return e==="rtl"}function dd(e){return e&&e.ownerDocument||document}function j0e(e){var t=dd(e);return t&&t.defaultView||window}function U0e(e,t){return j0e(e).getComputedStyle(e,t)}var q0e=/([A-Z])/g;function B0e(e){return e.replace(q0e,"-$1").toLowerCase()}var V0e=/^ms-/;function Ev(e){return B0e(e).replace(V0e,"-ms-")}var H0e=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function z0e(e){return!!(e&&H0e.test(e))}function Ql(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ev(t))||U0e(e).getPropertyValue(Ev(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(Ev(i)):z0e(i)?n+=i+"("+o+") ":r+=Ev(i)+": "+o+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var BR={exports:{}},VR,DG;function W0e(){if(DG)return VR;DG=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return VR=e,VR}var HR,LG;function G0e(){if(LG)return HR;LG=1;var e=W0e();function t(){}function r(){}return r.resetWarningCache=t,HR=function(){function n(a,u,l,f,d,h){if(h!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function i(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},HR}var NG;function K0e(){return NG||(NG=1,BR.exports=G0e()()),BR.exports}var Y0e=K0e();const Vr=Hn(Y0e),MG={disabled:!1},Rg=kr.createContext(null);var cte=function(t){return t.scrollTop},nh="unmounted",Ml="exited",Ku="entering",jl="entered",eC="exiting",Hs=(function(e){wI(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,u=a&&!a.isMounting?n.enter:n.appear,l;return o.appearStatus=null,n.in?u?(l=Ml,o.appearStatus=Ku):l=jl:n.unmountOnExit||n.mountOnEnter?l=nh:l=Ml,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===nh?{status:Ml}: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!==Ku&&a!==jl&&(o=Ku):(a===Ku||a===jl)&&(o=eC)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,u;return o=a=u=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:u}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Ku){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Hl.findDOMNode(this);a&&cte(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ml&&this.setState({status:nh})},r.performEnter=function(i){var o=this,a=this.props.enter,u=this.context?this.context.isMounting:i,l=this.props.nodeRef?[u]:[Hl.findDOMNode(this),u],f=l[0],d=l[1],h=this.getTimeouts(),p=u?h.appear:h.enter;if(!i&&!a||MG.disabled){this.safeSetState({status:jl},function(){o.props.onEntered(f)});return}this.props.onEnter(f,d),this.safeSetState({status:Ku},function(){o.props.onEntering(f,d),o.onTransitionEnd(p,function(){o.safeSetState({status:jl},function(){o.props.onEntered(f,d)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:Hl.findDOMNode(this);if(!o||MG.disabled){this.safeSetState({status:Ml},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:eC},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Ml},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},r.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,o.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Hl.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],f=l[0],d=l[1];this.props.addEndListener(f,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===nh)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var u=Qm(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return kr.createElement(Rg.Provider,{value:null},typeof a=="function"?a(i,u):kr.cloneElement(kr.Children.only(a),u))},t})(kr.Component);Hs.contextType=Rg;Hs.propTypes={};function sf(){}Hs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sf,onEntering:sf,onEntered:sf,onExit:sf,onExiting:sf,onExited:sf};Hs.UNMOUNTED=nh;Hs.EXITED=Ml;Hs.ENTERING=Ku;Hs.ENTERED=jl;Hs.EXITING=eC;function fte(e){return e.code==="Escape"||e.keyCode===27}function X0e(){const e=ye.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function dp(e){if(!e||typeof e=="function")return null;const{major:t}=X0e();return t>=19?e.props.ref:e.ref}const hd=!!(typeof window<"u"&&window.document&&window.document.createElement);var tC=!1,rC=!1;try{var zR={get passive(){return tC=!0},get once(){return rC=tC=!0}};hd&&(window.addEventListener("test",zR,zR),window.removeEventListener("test",zR,!0))}catch{}function bI(e,t,r,n){if(n&&typeof n!="boolean"&&!rC){var i=n.once,o=n.capture,a=r;!rC&&i&&(a=r.__once||function u(l){this.removeEventListener(t,u,o),r.call(this,l)},r.__once=a),e.addEventListener(t,a,tC?n:o)}e.addEventListener(t,r,n)}function nC(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 lu(e,t,r,n){return bI(e,t,r,n),function(){nC(e,t,r,n)}}function Q0e(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 J0e(e){var t=Ql(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Z0e(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||Q0e(e,"transitionend",!0)},t+r),o=lu(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),o()}}function dte(e,t,r,n){r==null&&(r=J0e(e)||0);var i=Z0e(e,r,n),o=lu(e,"transitionend",t);return function(){i(),o()}}function $G(e,t){const r=Ql(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function ewe(e,t){const r=$G(e,"transitionDuration"),n=$G(e,"transitionDelay"),i=dte(e,o=>{o.target===e&&(i(),t(o))},r+n)}function twe(e){e.offsetHeight}const FG=e=>!e||typeof e=="function"?e:t=>{e.current=t};function rwe(e,t){const r=FG(e),n=FG(t);return i=>{r&&r(i),n&&n(i)}}function pd(e,t){return ye.useMemo(()=>rwe(e,t),[e,t])}function xg(e){return e&&"setState"in e?Hl.findDOMNode(e):e??null}const nwe=kr.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:o,addEndListener:a,children:u,childRef:l,...f},d)=>{const h=ye.useRef(null),p=pd(h,l),m=P=>{p(xg(P))},S=P=>y=>{P&&h.current&&P(h.current,y)},E=ye.useCallback(S(e),[e]),_=ye.useCallback(S(t),[t]),w=ye.useCallback(S(r),[r]),T=ye.useCallback(S(n),[n]),C=ye.useCallback(S(i),[i]),x=ye.useCallback(S(o),[o]),R=ye.useCallback(S(a),[a]);return de.jsx(Hs,{ref:d,...f,onEnter:E,onEntered:w,onEntering:_,onExit:T,onExited:x,onExiting:C,addEndListener:R,nodeRef:h,children:typeof u=="function"?(P,y)=>u(P,{...y,ref:m}):kr.cloneElement(u,{ref:m})})});function iwe(e){const t=ye.useRef(e);return ye.useEffect(()=>{t.current=e},[e]),t}function xh(e){const t=iwe(e);return ye.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const awe=(e=>ye.forwardRef((t,r)=>de.jsx("div",{...t,ref:r,className:tn(t.className,e)})));function iC(){return ye.useState(null)}function owe(e){const t=ye.useRef(e);return ye.useEffect(()=>{t.current=e},[e]),t}function _a(e){const t=owe(e);return ye.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function swe(e,t,r,n=!1){const i=_a(r);ye.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,i,n),()=>o.removeEventListener(t,i,n)},[e])}function hte(){const e=ye.useRef(!0),t=ye.useRef(()=>e.current);return ye.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function pte(e){const t=ye.useRef(null);return ye.useEffect(()=>{t.current=e}),t.current}const uwe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",lwe=typeof document<"u",jG=lwe||uwe?ye.useLayoutEffect:ye.useEffect,cwe=["as","disabled"];function fwe(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 dwe(e){return!e||e.trim()==="#"}function TI({tagName:e,disabled:t,href:r,target:n,rel:i,role:o,onClick:a,tabIndex:u=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const f={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},f];const d=p=>{if((t||e==="a"&&dwe(r))&&p.preventDefault(),t){p.stopPropagation();return}a==null||a(p)},h=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:o??"button",disabled:void 0,tabIndex:t?void 0:u,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},f]}const vte=ye.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=fwe(e,cwe);const[o,{tagName:a}]=TI(Object.assign({tagName:r,disabled:n},i));return de.jsx(a,Object.assign({},i,o,{ref:t}))});vte.displayName="Button";const hwe=["onKeyDown"];function pwe(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 vwe(e){return!e||e.trim()==="#"}const gte=ye.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=pwe(e,hwe);const[i]=TI(Object.assign({tagName:"a"},n)),o=_a(a=>{i.onKeyDown(a),r==null||r(a)});return vwe(n.href)||n.role==="button"?de.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:o})):de.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});gte.displayName="Anchor";const gwe={[Ku]:"show",[jl]:"show"},Ch=ye.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=ye.useCallback((l,f)=>{twe(l),n==null||n(l,f)},[n]);return de.jsx(nwe,{ref:o,addEndListener:ewe,...a,onEnter:u,childRef:dp(t),children:(l,f)=>ye.cloneElement(t,{...f,className:tn("fade",e,t.props.className,gwe[l],r[l])})})});Ch.displayName="Fade";const mwe={"aria-label":Vr.string,onClick:Vr.func,variant:Vr.oneOf(["white"])},AI=ye.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>de.jsx("button",{ref:i,type:"button",className:tn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));AI.displayName="CloseButton";AI.propTypes=mwe;const ay=ye.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:o=!1,className:a,...u},l)=>{const f=vn(t,"btn"),[d,{tagName:h}]=TI({tagName:e,disabled:o,...u}),p=h;return de.jsx(p,{...d,...u,ref:l,disabled:o,className:tn(a,f,i&&"active",r&&`${f}-${r}`,n&&`${f}-${n}`,u.href&&o&&"disabled")})});ay.displayName="Button";function ywe(){const e=ye.useRef(!0),t=ye.useRef(()=>e.current);return ye.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function _we(e){const t=ye.useRef(e);return t.current=e,t}function mte(e){const t=_we(e);ye.useEffect(()=>()=>t.current(),[])}const aC=2**31-1;function yte(e,t,r){const n=r-Date.now();e.current=n<=aC?setTimeout(t,n):setTimeout(()=>yte(e,t,r),aC)}function Ewe(){const e=ywe(),t=ye.useRef();return mte(()=>clearTimeout(t.current)),ye.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,o=0){e()&&(r(),o<=aC?t.current=setTimeout(i,o):yte(t,i,Date.now()+o))}return{set:n,clear:r,handleRef:t}},[])}function Swe(e,t){return ye.Children.toArray(e).some(r=>ye.isValidElement(r)&&r.type===t)}function wwe({as:e,bsPrefix:t,className:r,...n}){t=vn(t,"col");const i=$0e(),o=F0e(),a=[],u=[];return i.forEach(l=>{const f=n[l];delete n[l];let d,h,p;typeof f=="object"&&f!=null?{span:d,offset:h,order:p}=f:d=f;const m=l!==o?`-${l}`:"";d&&a.push(d===!0?`${t}${m}`:`${t}${m}-${d}`),p!=null&&u.push(`order${m}-${p}`),h!=null&&u.push(`offset${m}-${h}`)}),[{...n,className:tn(r,...a,...u)},{as:e,bsPrefix:t,spans:a}]}const _te=ye.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:o,spans:a}]=wwe(e);return de.jsx(i,{...n,ref:t,className:tn(r,!a.length&&o)})});_te.displayName="Col";var bwe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Yu(e,t){return bwe(e.querySelectorAll(t))}function Twe(e,t,r){const n=ye.useRef(e!==void 0),[i,o]=ye.useState(t),a=e!==void 0,u=n.current;return n.current=a,!a&&u&&i!==t&&o(t),[a?e:i,ye.useCallback((...l)=>{const[f,...d]=l;let h=r==null?void 0:r(f,...d);return o(f),h},[r])]}function Awe(){const[,e]=ye.useReducer(t=>t+1,0);return e}const oy=ye.createContext(null);var UG=Object.prototype.hasOwnProperty;function qG(e,t,r){for(r of e.keys())if(ch(r,t))return r}function ch(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--&&ch(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=qG(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=qG(t,i),!i)||!ch(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(UG.call(e,r)&&++n&&!UG.call(t,r)||!(r in t)||!ch(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Rwe(e){const t=hte();return[e[0],ye.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const xwe=Yh({defaultModifiers:[TO,Im,Cm,Om,AO,bO,RO,_O]}),Cwe=["enabled","placement","strategy","modifiers"];function Owe(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 Iwe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Pwe={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)}}},kwe=[];function Ete(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:o="absolute",modifiers:a=kwe}=r,u=Owe(r,Cwe);const l=ye.useRef(a),f=ye.useRef(),d=ye.useCallback(()=>{var _;(_=f.current)==null||_.update()},[]),h=ye.useCallback(()=>{var _;(_=f.current)==null||_.forceUpdate()},[]),[p,m]=Rwe(ye.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),S=ye.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:_})=>{const w={},T={};Object.keys(_.elements).forEach(C=>{w[C]=_.styles[C],T[C]=_.attributes[C]}),m({state:_,styles:w,attributes:T,update:d,forceUpdate:h,placement:_.placement})}}),[d,h,m]),E=ye.useMemo(()=>(ch(l.current,a)||(l.current=a),l.current),[a]);return ye.useEffect(()=>{!f.current||!n||f.current.setOptions({placement:i,strategy:o,modifiers:[...E,S,Iwe]})},[o,i,S,n,E]),ye.useEffect(()=>{if(!(!n||e==null||t==null))return f.current=xwe(e,t,Object.assign({},u,{placement:i,strategy:o,modifiers:[...E,Pwe,S]})),()=>{f.current!=null&&(f.current.destroy(),f.current=void 0,m(_=>Object.assign({},_,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),p}function Oh(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var Dwe=Wee();const Lwe=Hn(Dwe),BG=()=>{};function Nwe(e){return e.button===0}function Mwe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Yv=e=>e&&("current"in e?e.current:e),VG={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Ste(e,t=BG,{disabled:r,clickTrigger:n="click"}={}){const i=ye.useRef(!1),o=ye.useRef(!1),a=ye.useCallback(f=>{const d=Yv(e);Lwe(!!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||Mwe(f)||!Nwe(f)||!!Oh(d,f.target)||o.current,o.current=!1},[e]),u=_a(f=>{const d=Yv(e);d&&Oh(d,f.target)?o.current=!0:o.current=!1}),l=_a(f=>{i.current||t(f)});ye.useEffect(()=>{var f,d;if(r||e==null)return;const h=dd(Yv(e)),p=h.defaultView||window;let m=(f=p.event)!=null?f:(d=p.parent)==null?void 0:d.event,S=null;VG[n]&&(S=lu(h,VG[n],u,!0));const E=lu(h,n,a,!0),_=lu(h,n,T=>{if(T===m){m=void 0;return}l(T)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(T=>lu(T,"mousemove",BG))),()=>{S==null||S(),E(),_(),w.forEach(T=>T())}},[e,r,n,a,u,l])}function $we(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Fwe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function wte({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:o,containerPadding:a,arrowElement:u,popperConfig:l={}}){var f,d,h,p,m;const S=$we(l.modifiers);return Object.assign({},l,{placement:r,enabled:e,strategy:o?"fixed":l.strategy,modifiers:Fwe(Object.assign({},S,{eventListeners:{enabled:t,options:(f=S.eventListeners)==null?void 0:f.options},preventOverflow:Object.assign({},S.preventOverflow,{options:a?Object.assign({padding:a},(d=S.preventOverflow)==null?void 0:d.options):(h=S.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(p=S.offset)==null?void 0:p.options)},arrow:Object.assign({},S.arrow,{enabled:!!u,options:Object.assign({},(m=S.arrow)==null?void 0:m.options,{element:u})}),flip:Object.assign({enabled:!!n},S.flip)}))})}const jwe=["children","usePopper"];function Uwe(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 qwe=()=>{};function bte(e={}){const t=ye.useContext(oy),[r,n]=iC(),i=ye.useRef(!1),{flip:o,offset:a,rootCloseEvent:u,fixed:l=!1,placement:f,popperConfig:d={},enableEventListeners:h=!0,usePopper:p=!!t}=e,m=(t==null?void 0:t.show)==null?!!e.show:t.show;m&&!i.current&&(i.current=!0);const S=P=>{t==null||t.toggle(!1,P)},{placement:E,setMenu:_,menuElement:w,toggleElement:T}=t||{},C=Ete(T,w,wte({placement:f||E||"bottom-start",enabled:p,enableEvents:h??m,offset:a,flip:o,fixed:l,arrowElement:r,popperConfig:d})),x=Object.assign({ref:_||qwe,"aria-labelledby":T==null?void 0:T.id},C.attributes.popper,{style:C.styles.popper}),R={show:m,placement:E,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:p?C:null,arrowProps:p?Object.assign({ref:n},C.attributes.arrow,{style:C.styles.arrow}):{}};return Ste(w,S,{clickTrigger:u,disabled:!m}),[x,R]}function Tte(e){let{children:t,usePopper:r=!0}=e,n=Uwe(e,jwe);const[i,o]=bte(Object.assign({},n,{usePopper:r}));return de.jsx(de.Fragment,{children:t(i,o)})}Tte.displayName="DropdownMenu";const Ate={prefix:String(Math.round(Math.random()*1e10)),current:0},Rte=kr.createContext(Ate),Bwe=kr.createContext(!1);let WR=new WeakMap;function Vwe(e=!1){let t=ye.useContext(Rte),r=ye.useRef(null);if(r.current===null&&!e){var n,i;let o=(i=kr.__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=WR.get(o);a==null?WR.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==a.state&&(t.current=a.id,WR.delete(o))}r.current=++t.current}return r.current}function Hwe(e){let t=ye.useContext(Rte),r=Vwe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function zwe(e){let t=kr.useId(),[r]=ye.useState(Xwe()),n=r?"react-aria":`react-aria${Ate.prefix}`;return e||`${n}-${t}`}const Wwe=typeof kr.useId=="function"?zwe:Hwe;function Gwe(){return!1}function Kwe(){return!0}function Ywe(e){return()=>{}}function Xwe(){return typeof kr.useSyncExternalStore=="function"?kr.useSyncExternalStore(Ywe,Gwe,Kwe):ye.useContext(Bwe)}const xte=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},HG=()=>{};function Cte(){const e=Wwe(),{show:t=!1,toggle:r=HG,setToggle:n,menuElement:i}=ye.useContext(oy)||{},o=ye.useCallback(u=>{r(!t,u)},[t,r]),a={id:e,ref:n||HG,onClick:o,"aria-expanded":!!t};return i&&xte(i)&&(a["aria-haspopup"]=!0),[a,{show:t,toggle:r}]}function Ote({children:e}){const[t,r]=Cte();return de.jsx(de.Fragment,{children:e(t,r)})}Ote.displayName="DropdownToggle";const oC=ye.createContext(null),zG=(e,t=null)=>e!=null?String(e):t||null,Ite=ye.createContext(null);Ite.displayName="NavContext";const Qwe="data-rr-ui-";function RI(e){return`${Qwe}${e}`}const Jwe=["eventKey","disabled","onClick","active","as"];function Zwe(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 Pte({key:e,href:t,active:r,disabled:n,onClick:i}){const o=ye.useContext(oC),a=ye.useContext(Ite),{activeKey:u}=a||{},l=zG(e,t),f=r==null&&e!=null?zG(u)===l:r;return[{onClick:_a(h=>{n||(i==null||i(h),o&&!h.isPropagationStopped()&&o(l,h))}),"aria-disabled":n||void 0,"aria-selected":f,[RI("dropdown-item")]:""},{isActive:f}]}const kte=ye.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:o,as:a=vte}=e,u=Zwe(e,Jwe);const[l]=Pte({key:r,href:u.href,disabled:n,onClick:i,active:o});return de.jsx(a,Object.assign({},u,{ref:t},l))});kte.displayName="DropdownItem";const Dte=ye.createContext(hd?window:void 0);Dte.Provider;function sy(){return ye.useContext(Dte)}function WG(){const e=Awe(),t=ye.useRef(null),r=ye.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function hp({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${RI("dropdown-item")}]`,focusFirstItemOnShow:o,placement:a="bottom-start",children:u}){const l=sy(),[f,d]=Twe(t,e,n),[h,p]=WG(),m=h.current,[S,E]=WG(),_=S.current,w=pte(f),T=ye.useRef(null),C=ye.useRef(!1),x=ye.useContext(oC),R=ye.useCallback((B,W,X=W==null?void 0:W.type)=>{d(B,{originalEvent:W,source:X})},[d]),P=_a((B,W)=>{r==null||r(B,W),R(!1,W,"select"),W.isPropagationStopped()||x==null||x(B,W)}),y=ye.useMemo(()=>({toggle:R,placement:a,show:f,menuElement:m,toggleElement:_,setMenu:p,setToggle:E}),[R,a,f,m,_,p,E]);m&&w&&!f&&(C.current=m.contains(m.ownerDocument.activeElement));const N=_a(()=>{_&&_.focus&&_.focus()}),$=_a(()=>{const B=T.current;let W=o;if(W==null&&(W=h.current&&xte(h.current)?"keyboard":!1),W===!1||W==="keyboard"&&!/^key.+$/.test(B))return;const X=Yu(h.current,i)[0];X&&X.focus&&X.focus()});ye.useEffect(()=>{f?$():C.current&&(C.current=!1,N())},[f,C,N,$]),ye.useEffect(()=>{T.current=null});const H=(B,W)=>{if(!h.current)return null;const X=Yu(h.current,i);let J=X.indexOf(B)+W;return J=Math.max(0,Math.min(J,X.length)),X[J]};return swe(ye.useCallback(()=>l.document,[l]),"keydown",B=>{var W,X;const{key:J}=B,ie=B.target,ne=(W=h.current)==null?void 0:W.contains(ie),pe=(X=S.current)==null?void 0:X.contains(ie);if(/input|textarea/i.test(ie.tagName)&&(J===" "||J!=="Escape"&&ne||J==="Escape"&&ie.type==="search")||!ne&&!pe||J==="Tab"&&(!h.current||!f))return;T.current=B.type;const te={originalEvent:B,source:B.type};switch(J){case"ArrowUp":{const z=H(ie,-1);z&&z.focus&&z.focus(),B.preventDefault();return}case"ArrowDown":if(B.preventDefault(),!f)d(!0,te);else{const z=H(ie,1);z&&z.focus&&z.focus()}return;case"Tab":bI(ie.ownerDocument,"keyup",z=>{var ce;(z.key==="Tab"&&!z.target||!((ce=h.current)!=null&&ce.contains(z.target)))&&d(!1,te)},{once:!0});break;case"Escape":J==="Escape"&&(B.preventDefault(),B.stopPropagation()),d(!1,te);break}}),de.jsx(oC.Provider,{value:P,children:de.jsx(oy.Provider,{value:y,children:u})})}hp.displayName="Dropdown";hp.Menu=Tte;hp.Toggle=Ote;hp.Item=kte;const xI=ye.createContext({});xI.displayName="DropdownContext";const Lte=ye.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},o)=>(t=vn(t,"dropdown-divider"),de.jsx(r,{ref:o,className:tn(e,t),role:n,...i})));Lte.displayName="DropdownDivider";const Nte=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},o)=>(t=vn(t,"dropdown-header"),de.jsx(r,{ref:o,className:tn(e,t),role:n,...i})));Nte.displayName="DropdownHeader";const Mte=ye.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:o,as:a=gte,...u},l)=>{const f=vn(e,"dropdown-item"),[d,h]=Pte({key:r,href:u.href,disabled:n,onClick:i,active:o});return de.jsx(a,{...u,...d,ref:l,className:tn(t,f,h.isActive&&"active",n&&"disabled")})});Mte.displayName="DropdownItem";const $te=ye.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=vn(t,"dropdown-item-text"),de.jsx(r,{ref:i,className:tn(e,t),...n})));$te.displayName="DropdownItemText";const e1e=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",t1e=typeof document<"u",Fte=t1e||e1e?ye.useLayoutEffect:ye.useEffect,CI=ye.createContext(null);CI.displayName="InputGroupContext";const jte=ye.createContext(null);jte.displayName="NavbarContext";function Ute(e,t){return e}function qte(e,t,r){const n=r?"top-end":"top-start",i=r?"top-start":"top-end",o=r?"bottom-end":"bottom-start",a=r?"bottom-start":"bottom-end",u=r?"right-start":"left-start",l=r?"right-end":"left-end",f=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?a:o;return t==="up"?h=e?i:n:t==="end"?h=e?d:f:t==="start"?h=e?l:u:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const Bte=ye.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:o,renderOnMount:a,as:u="div",popperConfig:l,variant:f,...d},h)=>{let p=!1;const m=ye.useContext(jte),S=vn(e,"dropdown-menu"),{align:E,drop:_,isRTL:w}=ye.useContext(xI);r=r||E;const T=ye.useContext(CI),C=[];if(r)if(typeof r=="object"){const B=Object.keys(r);if(B.length){const W=B[0],X=r[W];p=X==="start",C.push(`${S}-${W}-${X}`)}}else r==="end"&&(p=!0);const x=qte(p,_,w),[R,{hasShown:P,popper:y,show:N,toggle:$}]=bte({flip:i,rootCloseEvent:n,show:o,usePopper:!m&&C.length===0,offset:[0,2],popperConfig:l,placement:x});if(R.ref=pd(Ute(h),R.ref),Fte(()=>{N&&(y==null||y.update())},[N]),!P&&!a&&!T)return null;typeof u!="string"&&(R.show=N,R.close=()=>$==null?void 0:$(!1),R.align=r);let H=d.style;return y!=null&&y.placement&&(H={...d.style,...R.style},d["x-placement"]=y.placement),de.jsx(u,{...d,...R,style:H,...(C.length||m)&&{"data-bs-popper":"static"},className:tn(t,S,N&&"show",p&&`${S}-end`,f&&`${S}-${f}`,...C)})});Bte.displayName="DropdownMenu";const Vte=ye.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=ay,...o},a)=>{const u=vn(e,"dropdown-toggle"),l=ye.useContext(oy);n!==void 0&&(o.bsPrefix=n);const[f]=Cte();return f.ref=pd(f.ref,Ute(a)),de.jsx(i,{className:tn(r,u,t&&`${u}-split`,(l==null?void 0:l.show)&&"show"),...f,...o})});Vte.displayName="DropdownToggle";const Hte=ye.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:o,align:a="start",onSelect:u,onToggle:l,focusFirstItemOnShow:f,as:d="div",navbar:h,autoClose:p=!0,...m}=L0e(e,{show:"onToggle"}),S=ye.useContext(CI),E=vn(r,"dropdown"),_=iy(),w=y=>p===!1?y==="click":p==="inside"?y!=="rootClose":p==="outside"?y!=="select":!0,T=xh((y,N)=>{var $;!(($=N.originalEvent)==null||($=$.target)==null)&&$.classList.contains("dropdown-toggle")&&N.source==="mousedown"||(N.originalEvent.currentTarget===document&&(N.source!=="keydown"||N.originalEvent.key==="Escape")&&(N.source="rootClose"),w(N.source)&&(l==null||l(y,N)))}),x=qte(a==="end",n,_),R=ye.useMemo(()=>({align:a,drop:n,isRTL:_}),[a,n,_]),P={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return de.jsx(xI.Provider,{value:R,children:de.jsx(hp,{placement:x,show:i,onSelect:u,onToggle:T,focusFirstItemOnShow:f,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:S?m.children:de.jsx(d,{...m,ref:t,className:tn(o,i&&"show",P[n])})})})});Hte.displayName="Dropdown";const Eo=Object.assign(Hte,{Toggle:Vte,Menu:Bte,Item:Mte,ItemText:$te,Divider:Lte,Header:Nte}),r1e={type:Vr.string,tooltip:Vr.bool,as:Vr.elementType},uy=ye.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},o)=>de.jsx(e,{...i,ref:o,className:tn(t,`${r}-${n?"tooltip":"feedback"}`)}));uy.displayName="Feedback";uy.propTypes=r1e;const yu=ye.createContext({}),OI=ye.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:o=!1,as:a="input",...u},l)=>{const{controlId:f}=ye.useContext(yu);return t=vn(t,"form-check-input"),de.jsx(a,{...u,ref:l,type:n,id:e||f,className:tn(r,t,i&&"is-valid",o&&"is-invalid")})});OI.displayName="FormCheckInput";const Cg=ye.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:o}=ye.useContext(yu);return e=vn(e,"form-check-label"),de.jsx("label",{...n,ref:i,htmlFor:r||o,className:tn(t,e)})});Cg.displayName="FormCheckLabel";const zte=ye.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:o=!1,isValid:a=!1,isInvalid:u=!1,feedbackTooltip:l=!1,feedback:f,feedbackType:d,className:h,style:p,title:m="",type:S="checkbox",label:E,children:_,as:w="input",...T},C)=>{t=vn(t,"form-check"),r=vn(r,"form-switch");const{controlId:x}=ye.useContext(yu),R=ye.useMemo(()=>({controlId:e||x}),[x,e]),P=!_&&E!=null&&E!==!1||Swe(_,Cg),y=de.jsx(OI,{...T,type:S==="switch"?"checkbox":S,ref:C,isValid:a,isInvalid:u,disabled:o,as:w});return de.jsx(yu.Provider,{value:R,children:de.jsx("div",{style:p,className:tn(h,P&&t,n&&`${t}-inline`,i&&`${t}-reverse`,S==="switch"&&r),children:_||de.jsxs(de.Fragment,{children:[y,P&&de.jsx(Cg,{title:m,children:E}),f&&de.jsx(uy,{type:d,tooltip:l,children:f})]})})})});zte.displayName="FormCheck";const Og=Object.assign(zte,{Input:OI,Label:Cg}),Wte=ye.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:o,isValid:a=!1,isInvalid:u=!1,plaintext:l,readOnly:f,as:d="input",...h},p)=>{const{controlId:m}=ye.useContext(yu);return e=vn(e,"form-control"),de.jsx(d,{...h,type:t,size:n,ref:p,readOnly:f,id:i||m,className:tn(o,l?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,a&&"is-valid",u&&"is-invalid")})});Wte.displayName="FormControl";const n1e=Object.assign(Wte,{Feedback:uy}),Gte=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=vn(t,"form-floating"),de.jsx(r,{ref:i,className:tn(e,t),...n})));Gte.displayName="FormFloating";const II=ye.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=ye.useMemo(()=>({controlId:e}),[e]);return de.jsx(yu.Provider,{value:i,children:de.jsx(t,{...r,ref:n})})});II.displayName="FormGroup";const Kte=ye.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:o,...a},u)=>{const{controlId:l}=ye.useContext(yu);t=vn(t,"form-label");let f="col-form-label";typeof r=="string"&&(f=`${f} ${f}-${r}`);const d=tn(i,t,n&&"visually-hidden",r&&f);return o=o||l,r?de.jsx(_te,{ref:u,as:"label",className:d,htmlFor:o,...a}):de.jsx(e,{ref:u,className:d,htmlFor:o,...a})});Kte.displayName="FormLabel";const Yte=ye.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:o}=ye.useContext(yu);return e=vn(e,"form-range"),de.jsx("input",{...n,type:"range",ref:i,className:tn(t,e),id:r||o})});Yte.displayName="FormRange";const Xte=ye.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:o=!1,id:a,...u},l)=>{const{controlId:f}=ye.useContext(yu);return e=vn(e,"form-select"),de.jsx("select",{...u,size:r,ref:l,className:tn(n,e,t&&`${e}-${t}`,i&&"is-valid",o&&"is-invalid"),id:a||f})});Xte.displayName="FormSelect";const Qte=ye.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},o)=>(e=vn(e,"form-text"),de.jsx(r,{...i,ref:o,className:tn(t,e,n&&"text-muted")})));Qte.displayName="FormText";const Jte=ye.forwardRef((e,t)=>de.jsx(Og,{...e,ref:t,type:"switch"}));Jte.displayName="Switch";const i1e=Object.assign(Jte,{Input:Og.Input,Label:Og.Label}),Zte=ye.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...o},a)=>(e=vn(e,"form-floating"),de.jsxs(II,{ref:a,className:tn(t,e),controlId:n,...o,children:[r,de.jsx("label",{htmlFor:n,children:i})]})));Zte.displayName="FloatingLabel";const a1e={_ref:Vr.any,validated:Vr.bool,as:Vr.elementType},PI=ye.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>de.jsx(r,{...n,ref:i,className:tn(e,t&&"was-validated")}));PI.displayName="Form";PI.propTypes=a1e;const o1e=Object.assign(PI,{Group:II,Control:n1e,Floating:Gte,Check:Og,Switch:i1e,Label:Kte,Text:Qte,Range:Yte,Select:Xte,FloatingLabel:Zte}),GG=e=>!e||typeof e=="function"?e:t=>{e.current=t};function s1e(e,t){const r=GG(e),n=GG(t);return i=>{r&&r(i),n&&n(i)}}function ly(e,t){return ye.useMemo(()=>s1e(e,t),[e,t])}var Sv;function KG(e){if((!Sv&&Sv!==0||e)&&hd){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),Sv=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Sv}function u1e(){return ye.useState(null)}function GR(e){e===void 0&&(e=dd());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function l1e(e){const t=ye.useRef(e);return t.current=e,t}function c1e(e){const t=l1e(e);ye.useEffect(()=>()=>t.current(),[])}function f1e(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const YG=RI("modal-open");class kI{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return f1e(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(Ql(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(YG,""),Ql(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(YG),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 KR=(e,t)=>hd?e==null?(t||dd()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function sC(e,t){const r=sy(),[n,i]=ye.useState(()=>KR(e,r==null?void 0:r.document));if(!n){const o=KR(e);o&&i(o)}return ye.useEffect(()=>{},[t,n]),ye.useEffect(()=>{const o=KR(e);o!==n&&i(o)},[e,n]),n}function d1e({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const o=ye.useRef(null),a=ye.useRef(t),u=_a(r);ye.useEffect(()=>{t?a.current=!0:u(o.current)},[t,u]);const l=ly(o,dp(e)),f=ye.cloneElement(e,{ref:l});return t?f:i||!a.current&&n?null:f}const h1e=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function p1e(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 v1e(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:o,onExited:a,addEndListener:u,children:l}=e,f=p1e(e,h1e);const d=ye.useRef(null),h=ly(d,dp(l)),p=x=>R=>{x&&d.current&&x(d.current,R)},m=ye.useCallback(p(t),[t]),S=ye.useCallback(p(r),[r]),E=ye.useCallback(p(n),[n]),_=ye.useCallback(p(i),[i]),w=ye.useCallback(p(o),[o]),T=ye.useCallback(p(a),[a]),C=ye.useCallback(p(u),[u]);return Object.assign({},f,{nodeRef:d},t&&{onEnter:m},r&&{onEntering:S},n&&{onEntered:E},i&&{onExit:_},o&&{onExiting:w},a&&{onExited:T},u&&{addEndListener:C},{children:typeof l=="function"?(x,R)=>l(x,Object.assign({},R,{ref:h})):ye.cloneElement(l,{ref:h})})}const g1e=["component"];function m1e(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 y1e=ye.forwardRef((e,t)=>{let{component:r}=e,n=m1e(e,g1e);const i=v1e(n);return de.jsx(r,Object.assign({ref:t},i))});function _1e({in:e,onTransition:t}){const r=ye.useRef(null),n=ye.useRef(!0),i=_a(t);return jG(()=>{if(!r.current)return;let o=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>o}),()=>{o=!0}},[e,i]),jG(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function E1e({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[o,a]=ye.useState(!t);t&&o&&a(!1);const u=_1e({in:!!t,onTransition:f=>{const d=()=>{f.isStale()||(f.in?n==null||n(f.element,f.initial):(a(!0),r==null||r(f.element)))};Promise.resolve(i(f)).then(d,h=>{throw f.in||a(!0),h})}}),l=ly(u,dp(e));return o&&!t?null:ye.cloneElement(e,{ref:l})}function uC(e,t,r){return e?de.jsx(y1e,Object.assign({},r,{component:e})):t?de.jsx(E1e,Object.assign({},r,{transition:t})):de.jsx(d1e,Object.assign({},r))}const S1e=["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 w1e(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 YR;function b1e(e){return YR||(YR=new kI({ownerDocument:e==null?void 0:e.document})),YR}function T1e(e){const t=sy(),r=e||b1e(t),n=ye.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:ye.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:ye.useCallback(i=>{n.current.backdrop=i},[])})}const ere=ye.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:o,children:a,backdrop:u=!0,keyboard:l=!0,onBackdropClick:f,onEscapeKeyDown:d,transition:h,runTransition:p,backdropTransition:m,runBackdropTransition:S,autoFocus:E=!0,enforceFocus:_=!0,restoreFocus:w=!0,restoreFocusOptions:T,renderDialog:C,renderBackdrop:x=me=>de.jsx("div",Object.assign({},me)),manager:R,container:P,onShow:y,onHide:N=()=>{},onExit:$,onExited:H,onExiting:B,onEnter:W,onEntering:X,onEntered:J}=e,ie=w1e(e,S1e);const ne=sy(),pe=sC(P),K=T1e(R),te=hte(),z=pte(r),[ce,Se]=ye.useState(!r),Le=ye.useRef(null);ye.useImperativeHandle(t,()=>K,[K]),hd&&!z&&r&&(Le.current=GR(ne==null?void 0:ne.document)),r&&ce&&Se(!1);const Be=_a(()=>{if(K.add(),k.current=lu(document,"keydown",I),M.current=lu(document,"focus",()=>setTimeout(oe),!0),y&&y(),E){var me,Ce;const be=GR((me=(Ce=K.dialog)==null?void 0:Ce.ownerDocument)!=null?me:ne==null?void 0:ne.document);K.dialog&&be&&!Oh(K.dialog,be)&&(Le.current=be,K.dialog.focus())}}),Xe=_a(()=>{if(K.remove(),k.current==null||k.current(),M.current==null||M.current(),w){var me;(me=Le.current)==null||me.focus==null||me.focus(T),Le.current=null}});ye.useEffect(()=>{!r||!pe||Be()},[r,pe,Be]),ye.useEffect(()=>{ce&&Xe()},[ce,Xe]),c1e(()=>{Xe()});const oe=_a(()=>{if(!_||!te()||!K.isTopModal())return;const me=GR(ne==null?void 0:ne.document);K.dialog&&me&&!Oh(K.dialog,me)&&K.dialog.focus()}),O=_a(me=>{me.target===me.currentTarget&&(f==null||f(me),u===!0&&N())}),I=_a(me=>{l&&fte(me)&&K.isTopModal()&&(d==null||d(me),me.defaultPrevented||N())}),M=ye.useRef(),k=ye.useRef(),U=(...me)=>{Se(!0),H==null||H(...me)};if(!pe)return null;const Y=Object.assign({role:n,ref:K.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},ie,{style:o,className:i,tabIndex:-1});let ae=C?C(Y):de.jsx("div",Object.assign({},Y,{children:ye.cloneElement(a,{role:"document"})}));ae=uC(h,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:$,onExiting:B,onExited:U,onEnter:W,onEntering:X,onEntered:J,children:ae});let Ee=null;return u&&(Ee=x({ref:K.setBackdropRef,onClick:O}),Ee=uC(m,S,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Ee})),de.jsx(de.Fragment,{children:Hl.createPortal(de.jsxs(de.Fragment,{children:[Ee,ae]}),pe)})});ere.displayName="Modal";const A1e=Object.assign(ere,{Manager:kI});function lC(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function tre(e,t){e.classList?e.classList.add(t):lC(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function XG(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function rre(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=XG(e.className,t):e.setAttribute("class",XG(e.className&&e.className.baseVal||"",t))}const uf={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class R1e extends kI{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Ql(r,{[t]:`${parseFloat(Ql(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Ql(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(tre(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Yu(r,uf.FIXED_CONTENT).forEach(o=>this.adjustAndStore(n,o,t.scrollBarWidth)),Yu(r,uf.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Yu(r,uf.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();rre(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Yu(r,uf.FIXED_CONTENT).forEach(o=>this.restore(n,o)),Yu(r,uf.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Yu(r,uf.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let XR;function x1e(e){return XR||(XR=new R1e(e)),XR}const nre=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=vn(t,"modal-body"),de.jsx(r,{ref:i,className:tn(e,t),...n})));nre.displayName="ModalBody";const ire=ye.createContext({onHide(){}}),DI=ye.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:o,children:a,scrollable:u,...l},f)=>{e=vn(e,"modal");const d=`${e}-dialog`,h=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return de.jsx("div",{...l,ref:f,className:tn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,u&&`${d}-scrollable`,o&&h),children:de.jsx("div",{className:tn(`${e}-content`,r),children:a})})});DI.displayName="ModalDialog";const are=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=vn(t,"modal-footer"),de.jsx(r,{ref:i,className:tn(e,t),...n})));are.displayName="ModalFooter";const C1e=ye.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...o},a)=>{const u=ye.useContext(ire),l=xh(()=>{u==null||u.onHide(),n==null||n()});return de.jsxs("div",{ref:a,...o,children:[i,r&&de.jsx(AI,{"aria-label":e,variant:t,onClick:l})]})}),ore=ye.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},o)=>(e=vn(e,"modal-header"),de.jsx(C1e,{ref:o,...i,className:tn(t,e),closeLabel:r,closeButton:n})));ore.displayName="ModalHeader";const O1e=awe("h4"),sre=ye.forwardRef(({className:e,bsPrefix:t,as:r=O1e,...n},i)=>(t=vn(t,"modal-title"),de.jsx(r,{ref:i,className:tn(e,t),...n})));sre.displayName="ModalTitle";function I1e(e){return de.jsx(Ch,{...e,timeout:null})}function P1e(e){return de.jsx(Ch,{...e,timeout:null})}const ure=ye.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:o,dialogAs:a=DI,"data-bs-theme":u,"aria-labelledby":l,"aria-describedby":f,"aria-label":d,show:h=!1,animation:p=!0,backdrop:m=!0,keyboard:S=!0,onEscapeKeyDown:E,onShow:_,onHide:w,container:T,autoFocus:C=!0,enforceFocus:x=!0,restoreFocus:R=!0,restoreFocusOptions:P,onEntered:y,onExit:N,onExiting:$,onEnter:H,onEntering:B,onExited:W,backdropClassName:X,manager:J,...ie},ne)=>{const[pe,K]=ye.useState({}),[te,z]=ye.useState(!1),ce=ye.useRef(!1),Se=ye.useRef(!1),Le=ye.useRef(null),[Be,Xe]=u1e(),oe=pd(ne,Xe),O=xh(w),I=iy();e=vn(e,"modal");const M=ye.useMemo(()=>({onHide:O}),[O]);function k(){return J||x1e({isRTL:I})}function U(We){if(!hd)return;const ct=k().getScrollbarWidth()>0,jt=We.scrollHeight>dd(We).documentElement.clientHeight;K({paddingRight:ct&&!jt?KG():void 0,paddingLeft:!ct&&jt?KG():void 0})}const Y=xh(()=>{Be&&U(Be.dialog)});mte(()=>{nC(window,"resize",Y),Le.current==null||Le.current()});const ae=()=>{ce.current=!0},Ee=We=>{ce.current&&Be&&We.target===Be.dialog&&(Se.current=!0),ce.current=!1},me=()=>{z(!0),Le.current=dte(Be.dialog,()=>{z(!1)})},Ce=We=>{We.target===We.currentTarget&&me()},be=We=>{if(m==="static"){Ce(We);return}if(Se.current||We.target!==We.currentTarget){Se.current=!1;return}w==null||w()},Ie=We=>{S?E==null||E(We):(We.preventDefault(),m==="static"&&me())},Fe=(We,ct)=>{We&&U(We),H==null||H(We,ct)},ve=We=>{Le.current==null||Le.current(),N==null||N(We)},_e=(We,ct)=>{B==null||B(We,ct),bI(window,"resize",Y)},we=We=>{We&&(We.style.display=""),W==null||W(We),nC(window,"resize",Y)},ke=ye.useCallback(We=>de.jsx("div",{...We,className:tn(`${e}-backdrop`,X,!p&&"show")}),[p,X,e]),qe={...r,...pe};qe.display="block";const Ue=We=>de.jsx("div",{role:"dialog",...We,style:qe,className:tn(t,e,te&&`${e}-static`,!p&&"show"),onClick:m?be:void 0,onMouseUp:Ee,"data-bs-theme":u,"aria-label":d,"aria-labelledby":l,"aria-describedby":f,children:de.jsx(a,{...ie,onMouseDown:ae,className:n,contentClassName:i,children:o})});return de.jsx(ire.Provider,{value:M,children:de.jsx(A1e,{show:h,ref:oe,backdrop:m,container:T,keyboard:!0,autoFocus:C,enforceFocus:x,restoreFocus:R,restoreFocusOptions:P,onEscapeKeyDown:Ie,onShow:_,onHide:w,onEnter:Fe,onEntering:_e,onEntered:y,onExit:ve,onExiting:$,onExited:we,manager:k(),transition:p?I1e:void 0,backdropTransition:p?P1e:void 0,renderBackdrop:ke,renderDialog:Ue})})});ure.displayName="Modal";const wv=Object.assign(ure,{Body:nre,Header:ore,Title:sre,Footer:are,Dialog:DI,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),k1e=()=>{};function D1e(e,t,{disabled:r,clickTrigger:n}={}){const i=t||k1e;Ste(e,i,{disabled:r,clickTrigger:n});const o=_a(a=>{fte(a)&&i(a)});ye.useEffect(()=>{if(r||e==null)return;const a=dd(Yv(e));let u=(a.defaultView||window).event;const l=lu(a,"keyup",f=>{if(f===u){u=void 0;return}o(f)});return()=>{l()}},[e,r,o])}const lre=ye.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:o,popperConfig:a={},transition:u,runTransition:l}=e,[f,d]=iC(),[h,p]=iC(),m=ly(d,t),S=sC(e.container),E=sC(e.target),[_,w]=ye.useState(!e.show),T=Ete(E,f,wte({placement:i,enableEvents:!!e.show,containerPadding:o||5,flip:r,offset:n,arrowElement:h,popperConfig:a}));e.show&&_&&w(!1);const C=(...B)=>{w(!0),e.onExited&&e.onExited(...B)},x=e.show||!_;if(D1e(f,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!x)return null;const{onExit:R,onExiting:P,onEnter:y,onEntering:N,onEntered:$}=e;let H=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:m}),{popper:T,placement:i,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:p})});return H=uC(u,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:H,onExit:R,onExiting:P,onExited:C,onEnter:y,onEntering:N,onEntered:$}),S?Hl.createPortal(H,S):null});lre.displayName="Overlay";const cre=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=vn(t,"popover-header"),de.jsx(r,{ref:i,className:tn(e,t),...n})));cre.displayName="PopoverHeader";const LI=ye.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=vn(t,"popover-body"),de.jsx(r,{ref:i,className:tn(e,t),...n})));LI.displayName="PopoverBody";function fre(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function dre(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const L1e=ye.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:o,arrowProps:a,hasDoneInitialMeasure:u,popper:l,show:f,...d},h)=>{const p=vn(e,"popover"),m=iy(),[S]=(t==null?void 0:t.split("-"))||[],E=fre(S,m);let _=n;return f&&!u&&(_={...n,...dre(l==null?void 0:l.strategy)}),de.jsxs("div",{ref:h,role:"tooltip",style:_,"x-placement":S,className:tn(r,p,S&&`bs-popover-${E}`),...d,children:[de.jsx("div",{className:"popover-arrow",...a}),o?de.jsx(LI,{children:i}):i]})}),N1e=Object.assign(L1e,{Header:cre,Body:LI,POPPER_OFFSET:[0,8]}),hre=ye.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:o,hasDoneInitialMeasure:a,popper:u,show:l,...f},d)=>{e=vn(e,"tooltip");const h=iy(),[p]=(t==null?void 0:t.split("-"))||[],m=fre(p,h);let S=n;return l&&!a&&(S={...n,...dre(u==null?void 0:u.strategy)}),de.jsxs("div",{ref:d,style:S,role:"tooltip","x-placement":p,className:tn(r,e,`bs-tooltip-${m}`),...f,children:[de.jsx("div",{className:"tooltip-arrow",...o}),de.jsx("div",{className:`${e}-inner`,children:i})]})});hre.displayName="Tooltip";const Ig=Object.assign(hre,{TOOLTIP_OFFSET:[0,6]});function M1e(e){const t=ye.useRef(null),r=vn(void 0,"popover"),n=vn(void 0,"tooltip"),i=ye.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(lC(t.current,r))return N1e.POPPER_OFFSET;if(lC(t.current,n))return Ig.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function $1e(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(xg(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(xg(i)))}const pre=ye.forwardRef(({children:e,transition:t=Ch,popperConfig:r={},rootClose:n=!1,placement:i="top",show:o=!1,...a},u)=>{const l=ye.useRef({}),[f,d]=ye.useState(null),[h,p]=M1e(a.offset),m=pd(u,h),S=t===!0?Ch:t||void 0,E=xh(_=>{d(_),r==null||r.onFirstUpdate==null||r.onFirstUpdate(_)});return Fte(()=>{f&&a.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[f,a.target]),ye.useEffect(()=>{o||d(null)},[o]),de.jsx(lre,{...a,ref:m,popperConfig:{...r,modifiers:p.concat(r.modifiers||[]),onFirstUpdate:E},transition:S,rootClose:n,placement:i,show:o,children:(_,{arrowProps:w,popper:T,show:C})=>{var x;$1e(_,w);const R=T==null?void 0:T.placement,P=Object.assign(l.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:R,outOfBoundaries:(T==null||(x=T.state)==null||(x=x.modifiersData.hide)==null?void 0:x.isReferenceHidden)||!1,strategy:r.strategy}),y=!!f;return typeof e=="function"?e({..._,placement:R,show:C,...!t&&C&&{className:"show"},popper:P,arrowProps:w,hasDoneInitialMeasure:y}):ye.cloneElement(e,{..._,placement:R,arrowProps:w,popper:P,hasDoneInitialMeasure:y,className:tn(e.props.className,!t&&C&&"show"),style:{...e.props.style,..._.style}})}})});pre.displayName="Overlay";function F1e(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function QG(e,t,r){const[n]=t,i=n.currentTarget,o=n.relatedTarget||n.nativeEvent[r];(!o||o!==i)&&!Oh(i,o)&&e(...t)}Vr.oneOf(["click","hover","focus"]);const cC=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:o=!1,onToggle:a,delay:u,placement:l,flip:f=l&&l.indexOf("auto")!==-1,...d})=>{const h=ye.useRef(null),p=pd(h,dp(r)),m=Ewe(),S=ye.useRef(""),[E,_]=lte(i,o,a),w=F1e(u),{onFocus:T,onBlur:C,onClick:x}=typeof r!="function"?ye.Children.only(r).props:{},R=ie=>{p(xg(ie))},P=ye.useCallback(()=>{if(m.clear(),S.current="show",!w.show){_(!0);return}m.set(()=>{S.current==="show"&&_(!0)},w.show)},[w.show,_,m]),y=ye.useCallback(()=>{if(m.clear(),S.current="hide",!w.hide){_(!1);return}m.set(()=>{S.current==="hide"&&_(!1)},w.hide)},[w.hide,_,m]),N=ye.useCallback((...ie)=>{P(),T==null||T(...ie)},[P,T]),$=ye.useCallback((...ie)=>{y(),C==null||C(...ie)},[y,C]),H=ye.useCallback((...ie)=>{_(!E),x==null||x(...ie)},[x,_,E]),B=ye.useCallback((...ie)=>{QG(P,ie,"fromElement")},[P]),W=ye.useCallback((...ie)=>{QG(y,ie,"toElement")},[y]),X=e==null?[]:[].concat(e),J={ref:R};return X.indexOf("click")!==-1&&(J.onClick=H),X.indexOf("focus")!==-1&&(J.onFocus=N,J.onBlur=$),X.indexOf("hover")!==-1&&(J.onMouseOver=B,J.onMouseOut=W),de.jsxs(de.Fragment,{children:[typeof r=="function"?r(J):ye.cloneElement(r,J),de.jsx(pre,{...d,show:E,onHide:y,flip:f,placement:l,popperConfig:n,target:h.current,children:t})]})},cy=ye.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:o,...a},u)=>{e=vn(e,"spinner");const l=`${e}-${r}`;return de.jsx(i,{ref:u,...a,className:tn(o,l,n&&`${l}-${n}`,t&&`text-${t}`)})});cy.displayName="Spinner";var bv={},JG;function j1e(){if(JG)return bv;JG=1;var e=Pee();return bv.createRoot=e.createRoot,bv.hydrateRoot=e.hydrateRoot,bv}var NI=j1e();function U1e(e){const t=ye.useMemo(()=>`${e.type}-${ite.getRandomInt()}`,[]);return e.title?e.spanHack?de.jsx(cC,{placement:e.placement,overlay:de.jsx(Ig,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:de.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):de.jsx(cC,{placement:e.placement,overlay:de.jsx(Ig,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:de.jsx(ye.Fragment,{children:e.children},t)}):de.jsx(de.Fragment,{children:e.children})}function q1e(e){const[t,r]=ye.useState();return ye.useEffect(()=>{const n=document.createElement("div");NI.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),de.jsx(cC,{placement:"top",overlay:de.jsx(Ig,{id:e.id,children:de.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:de.jsx("div",{children:e.children})})}xf.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function xf(e){return e.type==="text"?de.jsx(U1e,{...e,type:"text"}):e.type==="markup"?de.jsx(q1e,{...e,type:"markup"}):de.jsx(de.Fragment,{})}var Hu={},kl={};/**
|
|
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 ZG;function B1e(){if(ZG)return kl;ZG=1;var e=Cc();function t(F){for(var ee="https://reactjs.org/docs/error-decoder.html?invariant="+F,ge=1;ge<arguments.length;ge++)ee+="&args[]="+encodeURIComponent(arguments[ge]);return"Minified React error #"+F+"; visit "+ee+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(F,ee){return r&&(r=!1,ee[0]!=="<"&&F.push("<!-- -->")),ee==="<!-- -->"?r=!0:F.push(ee)}var i=Object.prototype.hasOwnProperty,o=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},u={};function l(F){return i.call(u,F)?!0:i.call(a,F)?!1:o.test(F)?u[F]=!0:(a[F]=!0,!1)}function f(F,ee,ge,Me,ht,nt,Ct){this.acceptsBooleans=ee===2||ee===3||ee===4,this.attributeName=Me,this.attributeNamespace=ht,this.mustUseProperty=ge,this.propertyName=F,this.type=ee,this.sanitizeURL=nt,this.removeEmptyString=Ct}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(F){d[F]=new f(F,0,!1,F,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(F){var ee=F[0];d[ee]=new f(ee,1,!1,F[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(F){d[F]=new f(F,2,!1,F.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(F){d[F]=new f(F,2,!1,F,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(F){d[F]=new f(F,3,!1,F.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(F){d[F]=new f(F,3,!0,F,null,!1,!1)}),["capture","download"].forEach(function(F){d[F]=new f(F,4,!1,F,null,!1,!1)}),["cols","rows","size","span"].forEach(function(F){d[F]=new f(F,6,!1,F,null,!1,!1)}),["rowSpan","start"].forEach(function(F){d[F]=new f(F,5,!1,F.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function p(F){return F[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(F){var ee=F.replace(h,p);d[ee]=new f(ee,1,!1,F,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(F){var ee=F.replace(h,p);d[ee]=new f(ee,1,!1,F,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(F){var ee=F.replace(h,p);d[ee]=new f(ee,1,!1,F,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(F){d[F]=new f(F,1,!1,F.toLowerCase(),null,!1,!1)}),d.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(F){d[F]=new f(F,1,!1,F.toLowerCase(),null,!0,!0)});var m={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(m).forEach(function(F){S.forEach(function(ee){ee=ee+F.charAt(0).toUpperCase()+F.substring(1),m[ee]=m[F]})});var E=/["'&<>]/;function _(F){if(typeof F=="boolean"||typeof F=="number")return""+F;F=""+F;var ee=E.exec(F);if(ee){var ge="",Me,ht=0;for(Me=ee.index;Me<F.length;Me++){switch(F.charCodeAt(Me)){case 34:ee=""";break;case 38:ee="&";break;case 39:ee="'";break;case 60:ee="<";break;case 62:ee=">";break;default:continue}ht!==Me&&(ge+=F.substring(ht,Me)),ht=Me+1,ge+=ee}F=ht!==Me?ge+F.substring(ht,Me):ge}return F}var w=/([A-Z])/g,T=/^ms-/,C=Array.isArray;function x(F,ee){return{insertionMode:F,selectedValue:ee}}function R(F,ee,ge){switch(ee){case"select":return x(1,ge.value!=null?ge.value:ge.defaultValue);case"svg":return x(2,null);case"math":return x(3,null);case"foreignObject":return x(1,null);case"table":return x(4,null);case"thead":case"tbody":case"tfoot":return x(5,null);case"colgroup":return x(7,null);case"tr":return x(6,null)}return 4<=F.insertionMode||F.insertionMode===0?x(1,null):F}function P(F,ee){ee!==""&&F.push(_(ee),"<!-- -->")}var y=new Map;function N(F,ee,ge){if(typeof ge!="object")throw Error(t(62));ee=!0;for(var Me in ge)if(i.call(ge,Me)){var ht=ge[Me];if(ht!=null&&typeof ht!="boolean"&&ht!==""){if(Me.indexOf("--")===0){var nt=_(Me);ht=_((""+ht).trim())}else{nt=Me;var Ct=y.get(nt);Ct!==void 0||(Ct=_(nt.replace(w,"-$1").toLowerCase().replace(T,"-ms-")),y.set(nt,Ct)),nt=Ct,ht=typeof ht=="number"?ht===0||i.call(m,Me)?""+ht:ht+"px":_((""+ht).trim())}ee?(ee=!1,F.push(' style="',nt,":",ht)):F.push(";",nt,":",ht)}}ee||F.push('"')}function $(F,ee,ge,Me){switch(ge){case"style":N(F,ee,Me);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<ge.length)||ge[0]!=="o"&&ge[0]!=="O"||ge[1]!=="n"&&ge[1]!=="N"){if(ee=d.hasOwnProperty(ge)?d[ge]:null,ee!==null){switch(typeof Me){case"function":case"symbol":return;case"boolean":if(!ee.acceptsBooleans)return}switch(ge=ee.attributeName,ee.type){case 3:Me&&F.push(" ",ge,'=""');break;case 4:Me===!0?F.push(" ",ge,'=""'):Me!==!1&&F.push(" ",ge,'="',_(Me),'"');break;case 5:isNaN(Me)||F.push(" ",ge,'="',_(Me),'"');break;case 6:!isNaN(Me)&&1<=Me&&F.push(" ",ge,'="',_(Me),'"');break;default:ee.sanitizeURL&&(Me=""+Me),F.push(" ",ge,'="',_(Me),'"')}}else if(l(ge)){switch(typeof Me){case"function":case"symbol":return;case"boolean":if(ee=ge.toLowerCase().slice(0,5),ee!=="data-"&&ee!=="aria-")return}F.push(" ",ge,'="',_(Me),'"')}}}function H(F,ee,ge){if(ee!=null){if(ge!=null)throw Error(t(60));if(typeof ee!="object"||!("__html"in ee))throw Error(t(61));ee=ee.__html,ee!=null&&F.push(""+ee)}}function B(F){var ee="";return e.Children.forEach(F,function(ge){ge!=null&&(ee+=ge)}),ee}function W(F,ee,ge,Me){F.push(ie(ge));var ht=ge=null,nt;for(nt in ee)if(i.call(ee,nt)){var Ct=ee[nt];if(Ct!=null)switch(nt){case"children":ge=Ct;break;case"dangerouslySetInnerHTML":ht=Ct;break;default:$(F,Me,nt,Ct)}}return F.push(">"),H(F,ht,ge),typeof ge=="string"?(F.push(_(ge)),null):ge}var X=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J=new Map;function ie(F){var ee=J.get(F);if(ee===void 0){if(!X.test(F))throw Error(t(65,F));ee="<"+F,J.set(F,ee)}return ee}function ne(F,ee,ge,Me,ht){switch(ee){case"select":F.push(ie("select"));var nt=null,Ct=null;for(Tr in ge)if(i.call(ge,Tr)){var Bt=ge[Tr];if(Bt!=null)switch(Tr){case"children":nt=Bt;break;case"dangerouslySetInnerHTML":Ct=Bt;break;case"defaultValue":case"value":break;default:$(F,Me,Tr,Bt)}}return F.push(">"),H(F,Ct,nt),nt;case"option":Ct=ht.selectedValue,F.push(ie("option"));var Xt=Bt=null,mr=null,Tr=null;for(nt in ge)if(i.call(ge,nt)&&(ee=ge[nt],ee!=null))switch(nt){case"children":Bt=ee;break;case"selected":mr=ee;break;case"dangerouslySetInnerHTML":Tr=ee;break;case"value":Xt=ee;default:$(F,Me,nt,ee)}if(Ct!=null)if(ge=Xt!==null?""+Xt:B(Bt),C(Ct)){for(Me=0;Me<Ct.length;Me++)if(""+Ct[Me]===ge){F.push(' selected=""');break}}else""+Ct===ge&&F.push(' selected=""');else mr&&F.push(' selected=""');return F.push(">"),H(F,Tr,Bt),Bt;case"textarea":F.push(ie("textarea")),Tr=Ct=nt=null;for(Bt in ge)if(i.call(ge,Bt)&&(Xt=ge[Bt],Xt!=null))switch(Bt){case"children":Tr=Xt;break;case"value":nt=Xt;break;case"defaultValue":Ct=Xt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:$(F,Me,Bt,Xt)}if(nt===null&&Ct!==null&&(nt=Ct),F.push(">"),Tr!=null){if(nt!=null)throw Error(t(92));if(C(Tr)&&1<Tr.length)throw Error(t(93));nt=""+Tr}return typeof nt=="string"&&nt[0]===`
|
|
135
|
-
`&&F.push(`
|
|
136
|
-
`),nt!==null&&F.push(_(""+nt)),null;case"input":F.push(ie("input")),Xt=Tr=Bt=nt=null;for(Ct in ge)if(i.call(ge,Ct)&&(mr=ge[Ct],mr!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Xt=mr;break;case"defaultValue":Bt=mr;break;case"checked":Tr=mr;break;case"value":nt=mr;break;default:$(F,Me,Ct,mr)}return Tr!==null?$(F,Me,"checked",Tr):Xt!==null&&$(F,Me,"checked",Xt),nt!==null?$(F,Me,"value",nt):Bt!==null&&$(F,Me,"value",Bt),F.push("/>"),null;case"menuitem":F.push(ie("menuitem"));for(var An in ge)if(i.call(ge,An)&&(nt=ge[An],nt!=null))switch(An){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:$(F,Me,An,nt)}return F.push(">"),null;case"listing":case"pre":F.push(ie(ee)),Ct=nt=null;for(Xt in ge)if(i.call(ge,Xt)&&(Bt=ge[Xt],Bt!=null))switch(Xt){case"children":nt=Bt;break;case"dangerouslySetInnerHTML":Ct=Bt;break;default:$(F,Me,Xt,Bt)}if(F.push(">"),Ct!=null){if(nt!=null)throw Error(t(60));if(typeof Ct!="object"||!("__html"in Ct))throw Error(t(61));ge=Ct.__html,ge!=null&&(typeof ge=="string"&&0<ge.length&&ge[0]===`
|
|
137
|
-
`?F.push(`
|
|
138
|
-
`,ge):F.push(""+ge))}return typeof nt=="string"&&nt[0]===`
|
|
139
|
-
`&&F.push(`
|
|
140
|
-
`),nt;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":F.push(ie(ee));for(var hi in ge)if(i.call(ge,hi)&&(nt=ge[hi],nt!=null))switch(hi){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,ee));default:$(F,Me,hi,nt)}return F.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return W(F,ge,ee,Me);case"html":return ht.insertionMode===0&&F.push("<!DOCTYPE html>"),W(F,ge,ee,Me);default:if(ee.indexOf("-")===-1&&typeof ge.is!="string")return W(F,ge,ee,Me);F.push(ie(ee)),Ct=nt=null;for(mr in ge)if(i.call(ge,mr)&&(Bt=ge[mr],Bt!=null))switch(mr){case"children":nt=Bt;break;case"dangerouslySetInnerHTML":Ct=Bt;break;case"style":N(F,Me,Bt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(mr)&&typeof Bt!="function"&&typeof Bt!="symbol"&&F.push(" ",mr,'="',_(Bt),'"')}return F.push(">"),H(F,Ct,nt),nt}}function pe(F,ee,ge){if(n(F,'<!--$?--><template id="'),ge===null)throw Error(t(395));return n(F,ge),n(F,'"></template>')}function K(F,ee,ge,Me){switch(ge.insertionMode){case 0:case 1:return n(F,'<div hidden id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 2:return n(F,'<svg aria-hidden="true" style="display:none" id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 3:return n(F,'<math aria-hidden="true" style="display:none" id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 4:return n(F,'<table hidden id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 5:return n(F,'<table hidden><tbody id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 6:return n(F,'<table hidden><tr id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');case 7:return n(F,'<table hidden><colgroup id="'),n(F,ee.segmentPrefix),ee=Me.toString(16),n(F,ee),n(F,'">');default:throw Error(t(397))}}function te(F,ee){switch(ee.insertionMode){case 0:case 1:return n(F,"</div>");case 2:return n(F,"</svg>");case 3:return n(F,"</math>");case 4:return n(F,"</table>");case 5:return n(F,"</tbody></table>");case 6:return n(F,"</tr></table>");case 7:return n(F,"</colgroup></table>");default:throw Error(t(397))}}function z(F,ee){return ee=ee===void 0?"":ee,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:ee+"P:",segmentPrefix:ee+"S:",boundaryPrefix:ee+"B:",idPrefix:ee,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:F}}var ce=Object.assign,Se=Symbol.for("react.element"),Le=Symbol.for("react.portal"),Be=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),I=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),Ee=Symbol.for("react.scope"),me=Symbol.for("react.debug_trace_mode"),Ce=Symbol.for("react.legacy_hidden"),be=Symbol.for("react.default_value"),Ie=Symbol.iterator;function Fe(F){if(F==null)return null;if(typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case Be:return"Fragment";case Le:return"Portal";case oe:return"Profiler";case Xe:return"StrictMode";case k:return"Suspense";case U:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case I:return(F.displayName||"Context")+".Consumer";case O:return(F._context.displayName||"Context")+".Provider";case M:var ee=F.render;return F=F.displayName,F||(F=ee.displayName||ee.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case Y:return ee=F.displayName||null,ee!==null?ee:Fe(F.type)||"Memo";case ae:ee=F._payload,F=F._init;try{return Fe(F(ee))}catch{}}return null}var ve={};function _e(F,ee){if(F=F.contextTypes,!F)return ve;var ge={},Me;for(Me in F)ge[Me]=ee[Me];return ge}var we=null;function ke(F,ee){if(F!==ee){F.context._currentValue2=F.parentValue,F=F.parent;var ge=ee.parent;if(F===null){if(ge!==null)throw Error(t(401))}else{if(ge===null)throw Error(t(401));ke(F,ge)}ee.context._currentValue2=ee.value}}function qe(F){F.context._currentValue2=F.parentValue,F=F.parent,F!==null&&qe(F)}function Ue(F){var ee=F.parent;ee!==null&&Ue(ee),F.context._currentValue2=F.value}function We(F,ee){if(F.context._currentValue2=F.parentValue,F=F.parent,F===null)throw Error(t(402));F.depth===ee.depth?ke(F,ee):We(F,ee)}function ct(F,ee){var ge=ee.parent;if(ge===null)throw Error(t(402));F.depth===ge.depth?ke(F,ge):ct(F,ge),ee.context._currentValue2=ee.value}function jt(F){var ee=we;ee!==F&&(ee===null?Ue(F):F===null?qe(ee):ee.depth===F.depth?ke(ee,F):ee.depth>F.depth?We(ee,F):ct(ee,F),we=F)}var Gt={isMounted:function(){return!1},enqueueSetState:function(F,ee){F=F._reactInternals,F.queue!==null&&F.queue.push(ee)},enqueueReplaceState:function(F,ee){F=F._reactInternals,F.replace=!0,F.queue=[ee]},enqueueForceUpdate:function(){}};function et(F,ee,ge,Me){var ht=F.state!==void 0?F.state:null;F.updater=Gt,F.props=ge,F.state=ht;var nt={queue:[],replace:!1};F._reactInternals=nt;var Ct=ee.contextType;if(F.context=typeof Ct=="object"&&Ct!==null?Ct._currentValue2:Me,Ct=ee.getDerivedStateFromProps,typeof Ct=="function"&&(Ct=Ct(ge,ht),ht=Ct==null?ht:ce({},ht,Ct),F.state=ht),typeof ee.getDerivedStateFromProps!="function"&&typeof F.getSnapshotBeforeUpdate!="function"&&(typeof F.UNSAFE_componentWillMount=="function"||typeof F.componentWillMount=="function"))if(ee=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),ee!==F.state&&Gt.enqueueReplaceState(F,F.state,null),nt.queue!==null&&0<nt.queue.length)if(ee=nt.queue,Ct=nt.replace,nt.queue=null,nt.replace=!1,Ct&&ee.length===1)F.state=ee[0];else{for(nt=Ct?ee[0]:F.state,ht=!0,Ct=Ct?1:0;Ct<ee.length;Ct++){var Bt=ee[Ct];Bt=typeof Bt=="function"?Bt.call(F,nt,ge,Me):Bt,Bt!=null&&(ht?(ht=!1,nt=ce({},nt,Bt)):ce(nt,Bt))}F.state=nt}else nt.queue=null}var Rt={id:1,overflow:""};function Et(F,ee,ge){var Me=F.id;F=F.overflow;var ht=32-st(Me)-1;Me&=~(1<<ht),ge+=1;var nt=32-st(ee)+ht;if(30<nt){var Ct=ht-ht%5;return nt=(Me&(1<<Ct)-1).toString(32),Me>>=Ct,ht-=Ct,{id:1<<32-st(ee)+ht|ge<<ht|Me,overflow:nt+F}}return{id:1<<nt|ge<<ht|Me,overflow:F}}var st=Math.clz32?Math.clz32:Qt,ft=Math.log,mt=Math.LN2;function Qt(F){return F>>>=0,F===0?32:31-(ft(F)/mt|0)|0}function Nt(F,ee){return F===ee&&(F!==0||1/F===1/ee)||F!==F&&ee!==ee}var Ae=typeof Object.is=="function"?Object.is:Nt,tt=null,lt=null,Tt=null,Lt=null,ar=!1,dr=!1,rr=0,gr=null,Dr=0;function Ur(){if(tt===null)throw Error(t(321));return tt}function Pn(){if(0<Dr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function kn(){return Lt===null?Tt===null?(ar=!1,Tt=Lt=Pn()):(ar=!0,Lt=Tt):Lt.next===null?(ar=!1,Lt=Lt.next=Pn()):(ar=!0,Lt=Lt.next),Lt}function Fn(){lt=tt=null,dr=!1,Tt=null,Dr=0,Lt=gr=null}function fn(F,ee){return typeof ee=="function"?ee(F):ee}function Wn(F,ee,ge){if(tt=Ur(),Lt=kn(),ar){var Me=Lt.queue;if(ee=Me.dispatch,gr!==null&&(ge=gr.get(Me),ge!==void 0)){gr.delete(Me),Me=Lt.memoizedState;do Me=F(Me,ge.action),ge=ge.next;while(ge!==null);return Lt.memoizedState=Me,[Me,ee]}return[Lt.memoizedState,ee]}return F=F===fn?typeof ee=="function"?ee():ee:ge!==void 0?ge(ee):ee,Lt.memoizedState=F,F=Lt.queue={last:null,dispatch:null},F=F.dispatch=ui.bind(null,tt,F),[Lt.memoizedState,F]}function Xn(F,ee){if(tt=Ur(),Lt=kn(),ee=ee===void 0?null:ee,Lt!==null){var ge=Lt.memoizedState;if(ge!==null&&ee!==null){var Me=ge[1];e:if(Me===null)Me=!1;else{for(var ht=0;ht<Me.length&&ht<ee.length;ht++)if(!Ae(ee[ht],Me[ht])){Me=!1;break e}Me=!0}if(Me)return ge[0]}}return F=F(),Lt.memoizedState=[F,ee],F}function ui(F,ee,ge){if(25<=Dr)throw Error(t(301));if(F===tt)if(dr=!0,F={action:ge,next:null},gr===null&&(gr=new Map),ge=gr.get(ee),ge===void 0)gr.set(ee,F);else{for(ee=ge;ee.next!==null;)ee=ee.next;ee.next=F}}function ti(){throw Error(t(394))}function Si(){}var Ri={readContext:function(F){return F._currentValue2},useContext:function(F){return Ur(),F._currentValue2},useMemo:Xn,useReducer:Wn,useRef:function(F){tt=Ur(),Lt=kn();var ee=Lt.memoizedState;return ee===null?(F={current:F},Lt.memoizedState=F):ee},useState:function(F){return Wn(fn,F)},useInsertionEffect:Si,useLayoutEffect:function(){},useCallback:function(F,ee){return Xn(function(){return F},ee)},useImperativeHandle:Si,useEffect:Si,useDebugValue:Si,useDeferredValue:function(F){return Ur(),F},useTransition:function(){return Ur(),[!1,ti]},useId:function(){var F=lt.treeContext,ee=F.overflow;F=F.id,F=(F&~(1<<32-st(F)-1)).toString(32)+ee;var ge=_n;if(ge===null)throw Error(t(404));return ee=rr++,F=":"+ge.idPrefix+"R"+F,0<ee&&(F+="H"+ee.toString(32)),F+":"},useMutableSource:function(F,ee){return Ur(),ee(F._source)},useSyncExternalStore:function(F,ee,ge){if(ge===void 0)throw Error(t(407));return ge()}},_n=null,Gn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function di(F){console.error(F)}function li(){}function at(F,ee,ge,Me,ht,nt,Ct,Bt,Xt){var mr=[],Tr=new Set;return ee={destination:null,responseState:ee,progressiveChunkSize:Me===void 0?12800:Me,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Tr,pingedTasks:mr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ht===void 0?di:ht,onAllReady:li,onShellReady:Ct===void 0?li:Ct,onShellError:li,onFatalError:li},ge=vt(ee,0,null,ge),ge.parentFlushed=!0,F=kt(ee,F,null,ge,Tr,ve,null,Rt),mr.push(F),ee}function kt(F,ee,ge,Me,ht,nt,Ct,Bt){F.allPendingTasks++,ge===null?F.pendingRootTasks++:ge.pendingTasks++;var Xt={node:ee,ping:function(){var mr=F.pingedTasks;mr.push(Xt),mr.length===1&&zr(F)},blockedBoundary:ge,blockedSegment:Me,abortSet:ht,legacyContext:nt,context:Ct,treeContext:Bt};return ht.add(Xt),Xt}function vt(F,ee,ge,Me){return{status:0,id:-1,index:ee,parentFlushed:!1,chunks:[],children:[],formatContext:Me,boundary:ge}}function Je(F,ee){F=F.onError,F(ee)}function se(F,ee){var ge=F.onShellError;ge(ee),ge=F.onFatalError,ge(ee),F.destination!==null?(F.status=2,F.destination.destroy(ee)):(F.status=1,F.fatalError=ee)}function rt(F,ee,ge,Me,ht){for(tt={},lt=ee,rr=0,F=ge(Me,ht);dr;)dr=!1,rr=0,Dr+=1,Lt=null,F=ge(Me,ht);return Fn(),F}function He(F,ee,ge,Me){var ht=ge.render(),nt=Me.childContextTypes;if(nt!=null){var Ct=ee.legacyContext;if(typeof ge.getChildContext!="function")Me=Ct;else{ge=ge.getChildContext();for(var Bt in ge)if(!(Bt in nt))throw Error(t(108,Fe(Me)||"Unknown",Bt));Me=ce({},Ct,ge)}ee.legacyContext=Me,Ht(F,ee,ht),ee.legacyContext=Ct}else Ht(F,ee,ht)}function bt(F,ee){if(F&&F.defaultProps){ee=ce({},ee),F=F.defaultProps;for(var ge in F)ee[ge]===void 0&&(ee[ge]=F[ge]);return ee}return ee}function yt(F,ee,ge,Me,ht){if(typeof ge=="function")if(ge.prototype&&ge.prototype.isReactComponent){ht=_e(ge,ee.legacyContext);var nt=ge.contextType;nt=new ge(Me,typeof nt=="object"&&nt!==null?nt._currentValue2:ht),et(nt,ge,Me,ht),He(F,ee,nt,ge)}else{nt=_e(ge,ee.legacyContext),ht=rt(F,ee,ge,Me,nt);var Ct=rr!==0;if(typeof ht=="object"&&ht!==null&&typeof ht.render=="function"&&ht.$$typeof===void 0)et(ht,ge,Me,nt),He(F,ee,ht,ge);else if(Ct){Me=ee.treeContext,ee.treeContext=Et(Me,1,0);try{Ht(F,ee,ht)}finally{ee.treeContext=Me}}else Ht(F,ee,ht)}else if(typeof ge=="string")switch(ht=ee.blockedSegment,nt=ne(ht.chunks,ge,Me,F.responseState,ht.formatContext),Ct=ht.formatContext,ht.formatContext=R(Ct,ge,Me),wt(F,ee,nt),ht.formatContext=Ct,ge){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ht.chunks.push("</",ge,">")}else{switch(ge){case Ce:case me:case Xe:case oe:case Be:Ht(F,ee,Me.children);return;case U:Ht(F,ee,Me.children);return;case Ee:throw Error(t(343));case k:e:{ge=ee.blockedBoundary,ht=ee.blockedSegment,nt=Me.fallback,Me=Me.children,Ct=new Set;var Bt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ct},Xt=vt(F,ht.chunks.length,Bt,ht.formatContext);ht.children.push(Xt);var mr=vt(F,0,null,ht.formatContext);mr.parentFlushed=!0,ee.blockedBoundary=Bt,ee.blockedSegment=mr;try{if(wt(F,ee,Me),mr.status=1,dn(Bt,mr),Bt.pendingTasks===0)break e}catch(Tr){mr.status=4,Je(F,Tr),Bt.forceClientRender=!0}finally{ee.blockedBoundary=ge,ee.blockedSegment=ht}ee=kt(F,nt,ge,Xt,Ct,ee.legacyContext,ee.context,ee.treeContext),F.pingedTasks.push(ee)}return}if(typeof ge=="object"&&ge!==null)switch(ge.$$typeof){case M:if(Me=rt(F,ee,ge.render,Me,ht),rr!==0){ge=ee.treeContext,ee.treeContext=Et(ge,1,0);try{Ht(F,ee,Me)}finally{ee.treeContext=ge}}else Ht(F,ee,Me);return;case Y:ge=ge.type,Me=bt(ge,Me),yt(F,ee,ge,Me,ht);return;case O:if(ht=Me.children,ge=ge._context,Me=Me.value,nt=ge._currentValue2,ge._currentValue2=Me,Ct=we,we=Me={parent:Ct,depth:Ct===null?0:Ct.depth+1,context:ge,parentValue:nt,value:Me},ee.context=Me,Ht(F,ee,ht),F=we,F===null)throw Error(t(403));Me=F.parentValue,F.context._currentValue2=Me===be?F.context._defaultValue:Me,F=we=F.parent,ee.context=F;return;case I:Me=Me.children,Me=Me(ge._currentValue2),Ht(F,ee,Me);return;case ae:ht=ge._init,ge=ht(ge._payload),Me=bt(ge,Me),yt(F,ee,ge,Me,void 0);return}throw Error(t(130,ge==null?ge:typeof ge,""))}}function Ht(F,ee,ge){if(ee.node=ge,typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case Se:yt(F,ee,ge.type,ge.props,ge.ref);return;case Le:throw Error(t(257));case ae:var Me=ge._init;ge=Me(ge._payload),Ht(F,ee,ge);return}if(C(ge)){Kt(F,ee,ge);return}if(ge===null||typeof ge!="object"?Me=null:(Me=Ie&&ge[Ie]||ge["@@iterator"],Me=typeof Me=="function"?Me:null),Me&&(Me=Me.call(ge))){if(ge=Me.next(),!ge.done){var ht=[];do ht.push(ge.value),ge=Me.next();while(!ge.done);Kt(F,ee,ht)}return}throw F=Object.prototype.toString.call(ge),Error(t(31,F==="[object Object]"?"object with keys {"+Object.keys(ge).join(", ")+"}":F))}typeof ge=="string"?(ee=ee.blockedSegment.chunks,F.responseState.generateStaticMarkup?ee.push(_(ge)):P(ee,ge)):typeof ge=="number"&&(ee=ee.blockedSegment.chunks,ge=""+ge,F.responseState.generateStaticMarkup?ee.push(_(ge)):P(ee,ge))}function Kt(F,ee,ge){for(var Me=ge.length,ht=0;ht<Me;ht++){var nt=ee.treeContext;ee.treeContext=Et(nt,Me,ht);try{wt(F,ee,ge[ht])}finally{ee.treeContext=nt}}}function wt(F,ee,ge){var Me=ee.blockedSegment.formatContext,ht=ee.legacyContext,nt=ee.context;try{return Ht(F,ee,ge)}catch(Xt){if(Fn(),typeof Xt=="object"&&Xt!==null&&typeof Xt.then=="function"){ge=Xt;var Ct=ee.blockedSegment,Bt=vt(F,Ct.chunks.length,null,Ct.formatContext);Ct.children.push(Bt),F=kt(F,ee.node,ee.blockedBoundary,Bt,ee.abortSet,ee.legacyContext,ee.context,ee.treeContext).ping,ge.then(F,F),ee.blockedSegment.formatContext=Me,ee.legacyContext=ht,ee.context=nt,jt(nt)}else throw ee.blockedSegment.formatContext=Me,ee.legacyContext=ht,ee.context=nt,jt(nt),Xt}}function _r(F){var ee=F.blockedBoundary;F=F.blockedSegment,F.status=3,Dt(this,ee,F)}function Hr(F){var ee=F.blockedBoundary;F.blockedSegment.status=3,ee===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,ee.parentFlushed&&this.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(Hr,this),ee.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(F=this.onAllReady,F()))}function dn(F,ee){if(ee.chunks.length===0&&ee.children.length===1&&ee.children[0].boundary===null){var ge=ee.children[0];ge.id=ee.id,ge.parentFlushed=!0,ge.status===1&&dn(F,ge)}else F.completedSegments.push(ee)}function Dt(F,ee,ge){if(ee===null){if(ge.parentFlushed){if(F.completedRootSegment!==null)throw Error(t(389));F.completedRootSegment=ge}F.pendingRootTasks--,F.pendingRootTasks===0&&(F.onShellError=li,ee=F.onShellReady,ee())}else ee.pendingTasks--,ee.forceClientRender||(ee.pendingTasks===0?(ge.parentFlushed&&ge.status===1&&dn(ee,ge),ee.parentFlushed&&F.completedBoundaries.push(ee),ee.fallbackAbortableTasks.forEach(_r,F),ee.fallbackAbortableTasks.clear()):ge.parentFlushed&&ge.status===1&&(dn(ee,ge),ee.completedSegments.length===1&&ee.parentFlushed&&F.partialBoundaries.push(ee)));F.allPendingTasks--,F.allPendingTasks===0&&(F=F.onAllReady,F())}function zr(F){if(F.status!==2){var ee=we,ge=Gn.current;Gn.current=Ri;var Me=_n;_n=F.responseState;try{var ht=F.pingedTasks,nt;for(nt=0;nt<ht.length;nt++){var Ct=ht[nt],Bt=F,Xt=Ct.blockedSegment;if(Xt.status===0){jt(Ct.context);try{Ht(Bt,Ct,Ct.node),Ct.abortSet.delete(Ct),Xt.status=1,Dt(Bt,Ct.blockedBoundary,Xt)}catch(pi){if(Fn(),typeof pi=="object"&&pi!==null&&typeof pi.then=="function"){var mr=Ct.ping;pi.then(mr,mr)}else{Ct.abortSet.delete(Ct),Xt.status=4;var Tr=Ct.blockedBoundary,An=pi;if(Je(Bt,An),Tr===null?se(Bt,An):(Tr.pendingTasks--,Tr.forceClientRender||(Tr.forceClientRender=!0,Tr.parentFlushed&&Bt.clientRenderedBoundaries.push(Tr))),Bt.allPendingTasks--,Bt.allPendingTasks===0){var hi=Bt.onAllReady;hi()}}}finally{}}}ht.splice(0,nt),F.destination!==null&&ji(F,F.destination)}catch(pi){Je(F,pi),se(F,pi)}finally{_n=Me,Gn.current=ge,ge===Ri&&jt(ee)}}}function Dn(F,ee,ge){switch(ge.parentFlushed=!0,ge.status){case 0:var Me=ge.id=F.nextSegmentId++;return F=F.responseState,n(ee,'<template id="'),n(ee,F.placeholderPrefix),F=Me.toString(16),n(ee,F),n(ee,'"></template>');case 1:ge.status=2;var ht=!0;Me=ge.chunks;var nt=0;ge=ge.children;for(var Ct=0;Ct<ge.length;Ct++){for(ht=ge[Ct];nt<ht.index;nt++)n(ee,Me[nt]);ht=Tn(F,ee,ht)}for(;nt<Me.length-1;nt++)n(ee,Me[nt]);return nt<Me.length&&(ht=n(ee,Me[nt])),ht;default:throw Error(t(390))}}function Tn(F,ee,ge){var Me=ge.boundary;if(Me===null)return Dn(F,ee,ge);if(Me.parentFlushed=!0,Me.forceClientRender)return F.responseState.generateStaticMarkup||n(ee,"<!--$!-->"),Dn(F,ee,ge),F=F.responseState.generateStaticMarkup?!0:n(ee,"<!--/$-->"),F;if(0<Me.pendingTasks){Me.rootSegmentID=F.nextSegmentId++,0<Me.completedSegments.length&&F.partialBoundaries.push(Me);var ht=F.responseState,nt=ht.nextSuspenseID++;return ht=ht.boundaryPrefix+nt.toString(16),Me=Me.id=ht,pe(ee,F.responseState,Me),Dn(F,ee,ge),n(ee,"<!--/$-->")}if(Me.byteSize>F.progressiveChunkSize)return Me.rootSegmentID=F.nextSegmentId++,F.completedBoundaries.push(Me),pe(ee,F.responseState,Me.id),Dn(F,ee,ge),n(ee,"<!--/$-->");if(F.responseState.generateStaticMarkup||n(ee,"<!--$-->"),ge=Me.completedSegments,ge.length!==1)throw Error(t(391));return Tn(F,ee,ge[0]),F=F.responseState.generateStaticMarkup?!0:n(ee,"<!--/$-->"),F}function Ba(F,ee,ge){return K(ee,F.responseState,ge.formatContext,ge.id),Tn(F,ee,ge),te(ee,ge.formatContext)}function Qn(F,ee,ge){for(var Me=ge.completedSegments,ht=0;ht<Me.length;ht++)Fi(F,ee,ge,Me[ht]);if(Me.length=0,F=F.responseState,Me=ge.id,ge=ge.rootSegmentID,n(ee,F.startInlineScript),F.sentCompleteBoundaryFunction?n(ee,'$RC("'):(F.sentCompleteBoundaryFunction=!0,n(ee,'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("')),Me===null)throw Error(t(395));return ge=ge.toString(16),n(ee,Me),n(ee,'","'),n(ee,F.segmentPrefix),n(ee,ge),n(ee,'")<\/script>')}function Fi(F,ee,ge,Me){if(Me.status===2)return!0;var ht=Me.id;if(ht===-1){if((Me.id=ge.rootSegmentID)===-1)throw Error(t(392));return Ba(F,ee,Me)}return Ba(F,ee,Me),F=F.responseState,n(ee,F.startInlineScript),F.sentCompleteSegmentFunction?n(ee,'$RS("'):(F.sentCompleteSegmentFunction=!0,n(ee,'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(ee,F.segmentPrefix),ht=ht.toString(16),n(ee,ht),n(ee,'","'),n(ee,F.placeholderPrefix),n(ee,ht),n(ee,'")<\/script>')}function ji(F,ee){try{var ge=F.completedRootSegment;if(ge!==null&&F.pendingRootTasks===0){Tn(F,ee,ge),F.completedRootSegment=null;var Me=F.responseState.bootstrapChunks;for(ge=0;ge<Me.length-1;ge++)n(ee,Me[ge]);ge<Me.length&&n(ee,Me[ge])}var ht=F.clientRenderedBoundaries,nt;for(nt=0;nt<ht.length;nt++){Me=ee;var Ct=F.responseState,Bt=ht[nt].id;if(n(Me,Ct.startInlineScript),Ct.sentClientRenderFunction?n(Me,'$RX("'):(Ct.sentClientRenderFunction=!0,n(Me,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Bt===null)throw Error(t(395));if(n(Me,Bt),!n(Me,'")<\/script>')){F.destination=null,nt++,ht.splice(0,nt);return}}ht.splice(0,nt);var Xt=F.completedBoundaries;for(nt=0;nt<Xt.length;nt++)if(!Qn(F,ee,Xt[nt])){F.destination=null,nt++,Xt.splice(0,nt);return}Xt.splice(0,nt);var mr=F.partialBoundaries;for(nt=0;nt<mr.length;nt++){var Tr=mr[nt];e:{ht=F,Ct=ee;var An=Tr.completedSegments;for(Bt=0;Bt<An.length;Bt++)if(!Fi(ht,Ct,Tr,An[Bt])){Bt++,An.splice(0,Bt);var hi=!1;break e}An.splice(0,Bt),hi=!0}if(!hi){F.destination=null,nt++,mr.splice(0,nt);return}}mr.splice(0,nt);var pi=F.completedBoundaries;for(nt=0;nt<pi.length;nt++)if(!Qn(F,ee,pi[nt])){F.destination=null,nt++,pi.splice(0,nt);return}pi.splice(0,nt)}finally{F.allPendingTasks===0&&F.pingedTasks.length===0&&F.clientRenderedBoundaries.length===0&&F.completedBoundaries.length===0&&ee.push(null)}}function co(F){try{var ee=F.abortableTasks;ee.forEach(Hr,F),ee.clear(),F.destination!==null&&ji(F,F.destination)}catch(ge){Je(F,ge),se(F,ge)}}function Ra(){}function da(F,ee,ge){var Me=!1,ht=null,nt="",Ct={push:function(Xt){return Xt!==null&&(nt+=Xt),!0},destroy:function(Xt){Me=!0,ht=Xt}},Bt=!1;if(F=at(F,z(ge,ee?ee.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ra,void 0,function(){Bt=!0}),zr(F),co(F),F.status===1)F.status=2,Ct.destroy(F.fatalError);else if(F.status!==2&&F.destination===null){F.destination=Ct;try{ji(F,Ct)}catch(Xt){Je(F,Xt),se(F,Xt)}}if(Me)throw ht;if(!Bt)throw Error(t(426));return nt}return kl.renderToNodeStream=function(){throw Error(t(207))},kl.renderToStaticMarkup=function(F,ee){return da(F,ee,!0)},kl.renderToStaticNodeStream=function(){throw Error(t(208))},kl.renderToString=function(F,ee){return da(F,ee,!1)},kl.version="18.1.0",kl}var Tv={};/**
|
|
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 eK;function V1e(){if(eK)return Tv;eK=1;var e=Cc();function t(j){for(var Z="https://reactjs.org/docs/error-decoder.html?invariant="+j,fe=1;fe<arguments.length;fe++)Z+="&args[]="+encodeURIComponent(arguments[fe]);return"Minified React error #"+j+"; visit "+Z+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,n=0;function i(j,Z){if(Z.length!==0)if(512<Z.length)0<n&&(j.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),j.enqueue(Z);else{var fe=r.length-n;fe<Z.length&&(fe===0?j.enqueue(r):(r.set(Z.subarray(0,fe),n),j.enqueue(r),Z=Z.subarray(fe)),r=new Uint8Array(512),n=0),r.set(Z,n),n+=Z.length}}function o(j,Z){return i(j,Z),!0}function a(j){r&&0<n&&(j.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var u=new TextEncoder;function l(j){return u.encode(j)}function f(j){return u.encode(j)}function d(j,Z){typeof j.error=="function"?j.error(Z):j.close()}var h=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},S={};function E(j){return h.call(S,j)?!0:h.call(m,j)?!1:p.test(j)?S[j]=!0:(m[j]=!0,!1)}function _(j,Z,fe,Pe,Qe,Ze,Ot){this.acceptsBooleans=Z===2||Z===3||Z===4,this.attributeName=Pe,this.attributeNamespace=Qe,this.mustUseProperty=fe,this.propertyName=j,this.type=Z,this.sanitizeURL=Ze,this.removeEmptyString=Ot}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(j){w[j]=new _(j,0,!1,j,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(j){var Z=j[0];w[Z]=new _(Z,1,!1,j[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(j){w[j]=new _(j,2,!1,j.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(j){w[j]=new _(j,2,!1,j,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(j){w[j]=new _(j,3,!1,j.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(j){w[j]=new _(j,3,!0,j,null,!1,!1)}),["capture","download"].forEach(function(j){w[j]=new _(j,4,!1,j,null,!1,!1)}),["cols","rows","size","span"].forEach(function(j){w[j]=new _(j,6,!1,j,null,!1,!1)}),["rowSpan","start"].forEach(function(j){w[j]=new _(j,5,!1,j.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function C(j){return j[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(j){var Z=j.replace(T,C);w[Z]=new _(Z,1,!1,j,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(j){var Z=j.replace(T,C);w[Z]=new _(Z,1,!1,j,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(j){var Z=j.replace(T,C);w[Z]=new _(Z,1,!1,j,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(j){w[j]=new _(j,1,!1,j.toLowerCase(),null,!1,!1)}),w.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(j){w[j]=new _(j,1,!1,j.toLowerCase(),null,!0,!0)});var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},R=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(j){R.forEach(function(Z){Z=Z+j.charAt(0).toUpperCase()+j.substring(1),x[Z]=x[j]})});var P=/["'&<>]/;function y(j){if(typeof j=="boolean"||typeof j=="number")return""+j;j=""+j;var Z=P.exec(j);if(Z){var fe="",Pe,Qe=0;for(Pe=Z.index;Pe<j.length;Pe++){switch(j.charCodeAt(Pe)){case 34:Z=""";break;case 38:Z="&";break;case 39:Z="'";break;case 60:Z="<";break;case 62:Z=">";break;default:continue}Qe!==Pe&&(fe+=j.substring(Qe,Pe)),Qe=Pe+1,fe+=Z}j=Qe!==Pe?fe+j.substring(Qe,Pe):fe}return j}var N=/([A-Z])/g,$=/^ms-/,H=Array.isArray,B=f("<script>"),W=f("<\/script>"),X=f('<script src="'),J=f('<script type="module" src="'),ie=f('" async=""><\/script>'),ne=/(<\/|<)(s)(cript)/gi;function pe(j,Z,fe,Pe){return""+Z+(fe==="s"?"\\u0073":"\\u0053")+Pe}function K(j,Z,fe,Pe,Qe){j=j===void 0?"":j,Z=Z===void 0?B:f('<script nonce="'+y(Z)+'">');var Ze=[];if(fe!==void 0&&Ze.push(Z,l((""+fe).replace(ne,pe)),W),Pe!==void 0)for(fe=0;fe<Pe.length;fe++)Ze.push(X,l(y(Pe[fe])),ie);if(Qe!==void 0)for(Pe=0;Pe<Qe.length;Pe++)Ze.push(J,l(y(Qe[Pe])),ie);return{bootstrapChunks:Ze,startInlineScript:Z,placeholderPrefix:f(j+"P:"),segmentPrefix:f(j+"S:"),boundaryPrefix:j+"B:",idPrefix:j,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function te(j,Z){return{insertionMode:j,selectedValue:Z}}function z(j){return te(j==="http://www.w3.org/2000/svg"?2:j==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ce(j,Z,fe){switch(Z){case"select":return te(1,fe.value!=null?fe.value:fe.defaultValue);case"svg":return te(2,null);case"math":return te(3,null);case"foreignObject":return te(1,null);case"table":return te(4,null);case"thead":case"tbody":case"tfoot":return te(5,null);case"colgroup":return te(7,null);case"tr":return te(6,null)}return 4<=j.insertionMode||j.insertionMode===0?te(1,null):j}var Se=f("<!-- -->"),Le=new Map,Be=f(' style="'),Xe=f(":"),oe=f(";");function O(j,Z,fe){if(typeof fe!="object")throw Error(t(62));Z=!0;for(var Pe in fe)if(h.call(fe,Pe)){var Qe=fe[Pe];if(Qe!=null&&typeof Qe!="boolean"&&Qe!==""){if(Pe.indexOf("--")===0){var Ze=l(y(Pe));Qe=l(y((""+Qe).trim()))}else{Ze=Pe;var Ot=Le.get(Ze);Ot!==void 0||(Ot=f(y(Ze.replace(N,"-$1").toLowerCase().replace($,"-ms-"))),Le.set(Ze,Ot)),Ze=Ot,Qe=typeof Qe=="number"?Qe===0||h.call(x,Pe)?l(""+Qe):l(Qe+"px"):l(y((""+Qe).trim()))}Z?(Z=!1,j.push(Be,Ze,Xe,Qe)):j.push(oe,Ze,Xe,Qe)}}Z||j.push(k)}var I=f(" "),M=f('="'),k=f('"'),U=f('=""');function Y(j,Z,fe,Pe){switch(fe){case"style":O(j,Z,Pe);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<fe.length)||fe[0]!=="o"&&fe[0]!=="O"||fe[1]!=="n"&&fe[1]!=="N"){if(Z=w.hasOwnProperty(fe)?w[fe]:null,Z!==null){switch(typeof Pe){case"function":case"symbol":return;case"boolean":if(!Z.acceptsBooleans)return}switch(fe=l(Z.attributeName),Z.type){case 3:Pe&&j.push(I,fe,U);break;case 4:Pe===!0?j.push(I,fe,U):Pe!==!1&&j.push(I,fe,M,l(y(Pe)),k);break;case 5:isNaN(Pe)||j.push(I,fe,M,l(y(Pe)),k);break;case 6:!isNaN(Pe)&&1<=Pe&&j.push(I,fe,M,l(y(Pe)),k);break;default:Z.sanitizeURL&&(Pe=""+Pe),j.push(I,fe,M,l(y(Pe)),k)}}else if(E(fe)){switch(typeof Pe){case"function":case"symbol":return;case"boolean":if(Z=fe.toLowerCase().slice(0,5),Z!=="data-"&&Z!=="aria-")return}j.push(I,l(fe),M,l(y(Pe)),k)}}}var ae=f(">"),Ee=f("/>");function me(j,Z,fe){if(Z!=null){if(fe!=null)throw Error(t(60));if(typeof Z!="object"||!("__html"in Z))throw Error(t(61));Z=Z.__html,Z!=null&&j.push(l(""+Z))}}function Ce(j){var Z="";return e.Children.forEach(j,function(fe){fe!=null&&(Z+=fe)}),Z}var be=f(' selected=""');function Ie(j,Z,fe,Pe){j.push(we(fe));var Qe=fe=null,Ze;for(Ze in Z)if(h.call(Z,Ze)){var Ot=Z[Ze];if(Ot!=null)switch(Ze){case"children":fe=Ot;break;case"dangerouslySetInnerHTML":Qe=Ot;break;default:Y(j,Pe,Ze,Ot)}}return j.push(ae),me(j,Qe,fe),typeof fe=="string"?(j.push(l(y(fe))),null):fe}var Fe=f(`
|
|
149
|
-
`),ve=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_e=new Map;function we(j){var Z=_e.get(j);if(Z===void 0){if(!ve.test(j))throw Error(t(65,j));Z=f("<"+j),_e.set(j,Z)}return Z}var ke=f("<!DOCTYPE html>");function qe(j,Z,fe,Pe,Qe){switch(Z){case"select":j.push(we("select"));var Ze=null,Ot=null;for(Sr in fe)if(h.call(fe,Sr)){var Vt=fe[Sr];if(Vt!=null)switch(Sr){case"children":Ze=Vt;break;case"dangerouslySetInnerHTML":Ot=Vt;break;case"defaultValue":case"value":break;default:Y(j,Pe,Sr,Vt)}}return j.push(ae),me(j,Ot,Ze),Ze;case"option":Ot=Qe.selectedValue,j.push(we("option"));var fr=Vt=null,Mr=null,Sr=null;for(Ze in fe)if(h.call(fe,Ze)&&(Z=fe[Ze],Z!=null))switch(Ze){case"children":Vt=Z;break;case"selected":Mr=Z;break;case"dangerouslySetInnerHTML":Sr=Z;break;case"value":fr=Z;default:Y(j,Pe,Ze,Z)}if(Ot!=null)if(fe=fr!==null?""+fr:Ce(Vt),H(Ot)){for(Pe=0;Pe<Ot.length;Pe++)if(""+Ot[Pe]===fe){j.push(be);break}}else""+Ot===fe&&j.push(be);else Mr&&j.push(be);return j.push(ae),me(j,Sr,Vt),Vt;case"textarea":j.push(we("textarea")),Sr=Ot=Ze=null;for(Vt in fe)if(h.call(fe,Vt)&&(fr=fe[Vt],fr!=null))switch(Vt){case"children":Sr=fr;break;case"value":Ze=fr;break;case"defaultValue":Ot=fr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Y(j,Pe,Vt,fr)}if(Ze===null&&Ot!==null&&(Ze=Ot),j.push(ae),Sr!=null){if(Ze!=null)throw Error(t(92));if(H(Sr)&&1<Sr.length)throw Error(t(93));Ze=""+Sr}return typeof Ze=="string"&&Ze[0]===`
|
|
150
|
-
`&&j.push(Fe),Ze!==null&&j.push(l(y(""+Ze))),null;case"input":j.push(we("input")),fr=Sr=Vt=Ze=null;for(Ot in fe)if(h.call(fe,Ot)&&(Mr=fe[Ot],Mr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":fr=Mr;break;case"defaultValue":Vt=Mr;break;case"checked":Sr=Mr;break;case"value":Ze=Mr;break;default:Y(j,Pe,Ot,Mr)}return Sr!==null?Y(j,Pe,"checked",Sr):fr!==null&&Y(j,Pe,"checked",fr),Ze!==null?Y(j,Pe,"value",Ze):Vt!==null&&Y(j,Pe,"value",Vt),j.push(Ee),null;case"menuitem":j.push(we("menuitem"));for(var En in fe)if(h.call(fe,En)&&(Ze=fe[En],Ze!=null))switch(En){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Y(j,Pe,En,Ze)}return j.push(ae),null;case"listing":case"pre":j.push(we(Z)),Ot=Ze=null;for(fr in fe)if(h.call(fe,fr)&&(Vt=fe[fr],Vt!=null))switch(fr){case"children":Ze=Vt;break;case"dangerouslySetInnerHTML":Ot=Vt;break;default:Y(j,Pe,fr,Vt)}if(j.push(ae),Ot!=null){if(Ze!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));fe=Ot.__html,fe!=null&&(typeof fe=="string"&&0<fe.length&&fe[0]===`
|
|
151
|
-
`?j.push(Fe,l(fe)):j.push(l(""+fe)))}return typeof Ze=="string"&&Ze[0]===`
|
|
152
|
-
`&&j.push(Fe),Ze;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":j.push(we(Z));for(var Kn in fe)if(h.call(fe,Kn)&&(Ze=fe[Kn],Ze!=null))switch(Kn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,Z));default:Y(j,Pe,Kn,Ze)}return j.push(Ee),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(j,fe,Z,Pe);case"html":return Qe.insertionMode===0&&j.push(ke),Ie(j,fe,Z,Pe);default:if(Z.indexOf("-")===-1&&typeof fe.is!="string")return Ie(j,fe,Z,Pe);j.push(we(Z)),Ot=Ze=null;for(Mr in fe)if(h.call(fe,Mr)&&(Vt=fe[Mr],Vt!=null))switch(Mr){case"children":Ze=Vt;break;case"dangerouslySetInnerHTML":Ot=Vt;break;case"style":O(j,Pe,Vt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(Mr)&&typeof Vt!="function"&&typeof Vt!="symbol"&&j.push(I,l(Mr),M,l(y(Vt)),k)}return j.push(ae),me(j,Ot,Ze),Ze}}var Ue=f("</"),We=f(">"),ct=f('<template id="'),jt=f('"></template>'),Gt=f("<!--$-->"),et=f('<!--$?--><template id="'),Rt=f('"></template>'),Et=f("<!--$!-->"),st=f("<!--/$-->");function ft(j,Z,fe){if(i(j,et),fe===null)throw Error(t(395));return i(j,fe),o(j,Rt)}var mt=f('<div hidden id="'),Qt=f('">'),Nt=f("</div>"),Ae=f('<svg aria-hidden="true" style="display:none" id="'),tt=f('">'),lt=f("</svg>"),Tt=f('<math aria-hidden="true" style="display:none" id="'),Lt=f('">'),ar=f("</math>"),dr=f('<table hidden id="'),rr=f('">'),gr=f("</table>"),Dr=f('<table hidden><tbody id="'),Ur=f('">'),Pn=f("</tbody></table>"),kn=f('<table hidden><tr id="'),Fn=f('">'),fn=f("</tr></table>"),Wn=f('<table hidden><colgroup id="'),Xn=f('">'),ui=f("</colgroup></table>");function ti(j,Z,fe,Pe){switch(fe.insertionMode){case 0:case 1:return i(j,mt),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,Qt);case 2:return i(j,Ae),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,tt);case 3:return i(j,Tt),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,Lt);case 4:return i(j,dr),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,rr);case 5:return i(j,Dr),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,Ur);case 6:return i(j,kn),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,Fn);case 7:return i(j,Wn),i(j,Z.segmentPrefix),i(j,l(Pe.toString(16))),o(j,Xn);default:throw Error(t(397))}}function Si(j,Z){switch(Z.insertionMode){case 0:case 1:return o(j,Nt);case 2:return o(j,lt);case 3:return o(j,ar);case 4:return o(j,gr);case 5:return o(j,Pn);case 6:return o(j,fn);case 7:return o(j,ui);default:throw Error(t(397))}}var Ri=f('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),_n=f('$RS("'),Gn=f('","'),di=f('")<\/script>'),li=f('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),at=f('$RC("'),kt=f('","'),vt=f('")<\/script>'),Je=f('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),se=f('$RX("'),rt=f('")<\/script>'),He=Object.assign,bt=Symbol.for("react.element"),yt=Symbol.for("react.portal"),Ht=Symbol.for("react.fragment"),Kt=Symbol.for("react.strict_mode"),wt=Symbol.for("react.profiler"),_r=Symbol.for("react.provider"),Hr=Symbol.for("react.context"),dn=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),zr=Symbol.for("react.suspense_list"),Dn=Symbol.for("react.memo"),Tn=Symbol.for("react.lazy"),Ba=Symbol.for("react.scope"),Qn=Symbol.for("react.debug_trace_mode"),Fi=Symbol.for("react.legacy_hidden"),ji=Symbol.for("react.default_value"),co=Symbol.iterator;function Ra(j){if(j==null)return null;if(typeof j=="function")return j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case Ht:return"Fragment";case yt:return"Portal";case wt:return"Profiler";case Kt:return"StrictMode";case Dt:return"Suspense";case zr:return"SuspenseList"}if(typeof j=="object")switch(j.$$typeof){case Hr:return(j.displayName||"Context")+".Consumer";case _r:return(j._context.displayName||"Context")+".Provider";case dn:var Z=j.render;return j=j.displayName,j||(j=Z.displayName||Z.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case Dn:return Z=j.displayName||null,Z!==null?Z:Ra(j.type)||"Memo";case Tn:Z=j._payload,j=j._init;try{return Ra(j(Z))}catch{}}return null}var da={};function F(j,Z){if(j=j.contextTypes,!j)return da;var fe={},Pe;for(Pe in j)fe[Pe]=Z[Pe];return fe}var ee=null;function ge(j,Z){if(j!==Z){j.context._currentValue=j.parentValue,j=j.parent;var fe=Z.parent;if(j===null){if(fe!==null)throw Error(t(401))}else{if(fe===null)throw Error(t(401));ge(j,fe)}Z.context._currentValue=Z.value}}function Me(j){j.context._currentValue=j.parentValue,j=j.parent,j!==null&&Me(j)}function ht(j){var Z=j.parent;Z!==null&&ht(Z),j.context._currentValue=j.value}function nt(j,Z){if(j.context._currentValue=j.parentValue,j=j.parent,j===null)throw Error(t(402));j.depth===Z.depth?ge(j,Z):nt(j,Z)}function Ct(j,Z){var fe=Z.parent;if(fe===null)throw Error(t(402));j.depth===fe.depth?ge(j,fe):Ct(j,fe),Z.context._currentValue=Z.value}function Bt(j){var Z=ee;Z!==j&&(Z===null?ht(j):j===null?Me(Z):Z.depth===j.depth?ge(Z,j):Z.depth>j.depth?nt(Z,j):Ct(Z,j),ee=j)}var Xt={isMounted:function(){return!1},enqueueSetState:function(j,Z){j=j._reactInternals,j.queue!==null&&j.queue.push(Z)},enqueueReplaceState:function(j,Z){j=j._reactInternals,j.replace=!0,j.queue=[Z]},enqueueForceUpdate:function(){}};function mr(j,Z,fe,Pe){var Qe=j.state!==void 0?j.state:null;j.updater=Xt,j.props=fe,j.state=Qe;var Ze={queue:[],replace:!1};j._reactInternals=Ze;var Ot=Z.contextType;if(j.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue:Pe,Ot=Z.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(fe,Qe),Qe=Ot==null?Qe:He({},Qe,Ot),j.state=Qe),typeof Z.getDerivedStateFromProps!="function"&&typeof j.getSnapshotBeforeUpdate!="function"&&(typeof j.UNSAFE_componentWillMount=="function"||typeof j.componentWillMount=="function"))if(Z=j.state,typeof j.componentWillMount=="function"&&j.componentWillMount(),typeof j.UNSAFE_componentWillMount=="function"&&j.UNSAFE_componentWillMount(),Z!==j.state&&Xt.enqueueReplaceState(j,j.state,null),Ze.queue!==null&&0<Ze.queue.length)if(Z=Ze.queue,Ot=Ze.replace,Ze.queue=null,Ze.replace=!1,Ot&&Z.length===1)j.state=Z[0];else{for(Ze=Ot?Z[0]:j.state,Qe=!0,Ot=Ot?1:0;Ot<Z.length;Ot++){var Vt=Z[Ot];Vt=typeof Vt=="function"?Vt.call(j,Ze,fe,Pe):Vt,Vt!=null&&(Qe?(Qe=!1,Ze=He({},Ze,Vt)):He(Ze,Vt))}j.state=Ze}else Ze.queue=null}var Tr={id:1,overflow:""};function An(j,Z,fe){var Pe=j.id;j=j.overflow;var Qe=32-hi(Pe)-1;Pe&=~(1<<Qe),fe+=1;var Ze=32-hi(Z)+Qe;if(30<Ze){var Ot=Qe-Qe%5;return Ze=(Pe&(1<<Ot)-1).toString(32),Pe>>=Ot,Qe-=Ot,{id:1<<32-hi(Z)+Qe|fe<<Qe|Pe,overflow:Ze+j}}return{id:1<<Ze|fe<<Qe|Pe,overflow:j}}var hi=Math.clz32?Math.clz32:ws,pi=Math.log,$o=Math.LN2;function ws(j){return j>>>=0,j===0?32:31-(pi(j)/$o|0)|0}function Fo(j,Z){return j===Z&&(j!==0||1/j===1/Z)||j!==j&&Z!==Z}var xa=typeof Object.is=="function"?Object.is:Fo,ri=null,ha=null,Ca=null,nn=null,zi=!1,fo=!1,ho=0,ki=null,as=0;function Oa(){if(ri===null)throw Error(t(321));return ri}function jo(){if(0<as)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function os(){return nn===null?Ca===null?(zi=!1,Ca=nn=jo()):(zi=!0,nn=Ca):nn.next===null?(zi=!1,nn=nn.next=jo()):(zi=!0,nn=nn.next),nn}function Ws(){ha=ri=null,fo=!1,Ca=null,as=0,nn=ki=null}function Ia(j,Z){return typeof Z=="function"?Z(j):Z}function Va(j,Z,fe){if(ri=Oa(),nn=os(),zi){var Pe=nn.queue;if(Z=Pe.dispatch,ki!==null&&(fe=ki.get(Pe),fe!==void 0)){ki.delete(Pe),Pe=nn.memoizedState;do Pe=j(Pe,fe.action),fe=fe.next;while(fe!==null);return nn.memoizedState=Pe,[Pe,Z]}return[nn.memoizedState,Z]}return j=j===Ia?typeof Z=="function"?Z():Z:fe!==void 0?fe(Z):Z,nn.memoizedState=j,j=nn.queue={last:null,dispatch:null},j=j.dispatch=Wi.bind(null,ri,j),[nn.memoizedState,j]}function wi(j,Z){if(ri=Oa(),nn=os(),Z=Z===void 0?null:Z,nn!==null){var fe=nn.memoizedState;if(fe!==null&&Z!==null){var Pe=fe[1];e:if(Pe===null)Pe=!1;else{for(var Qe=0;Qe<Pe.length&&Qe<Z.length;Qe++)if(!xa(Z[Qe],Pe[Qe])){Pe=!1;break e}Pe=!0}if(Pe)return fe[0]}}return j=j(),nn.memoizedState=[j,Z],j}function Wi(j,Z,fe){if(25<=as)throw Error(t(301));if(j===ri)if(fo=!0,j={action:fe,next:null},ki===null&&(ki=new Map),fe=ki.get(Z),fe===void 0)ki.set(Z,j);else{for(Z=fe;Z.next!==null;)Z=Z.next;Z.next=j}}function Gs(){throw Error(t(394))}function po(){}var vo={readContext:function(j){return j._currentValue},useContext:function(j){return Oa(),j._currentValue},useMemo:wi,useReducer:Va,useRef:function(j){ri=Oa(),nn=os();var Z=nn.memoizedState;return Z===null?(j={current:j},nn.memoizedState=j):Z},useState:function(j){return Va(Ia,j)},useInsertionEffect:po,useLayoutEffect:function(){},useCallback:function(j,Z){return wi(function(){return j},Z)},useImperativeHandle:po,useEffect:po,useDebugValue:po,useDeferredValue:function(j){return Oa(),j},useTransition:function(){return Oa(),[!1,Gs]},useId:function(){var j=ha.treeContext,Z=j.overflow;j=j.id,j=(j&~(1<<32-hi(j)-1)).toString(32)+Z;var fe=Gi;if(fe===null)throw Error(t(404));return Z=ho++,j=":"+fe.idPrefix+"R"+j,0<Z&&(j+="H"+Z.toString(32)),j+":"},useMutableSource:function(j,Z){return Oa(),Z(j._source)},useSyncExternalStore:function(j,Z,fe){if(fe===void 0)throw Error(t(407));return fe()}},Gi=null,ss=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ks(j){console.error(j)}function vi(){}function Ki(j,Z,fe,Pe,Qe,Ze,Ot,Vt,fr){var Mr=[],Sr=new Set;return Z={destination:null,responseState:Z,progressiveChunkSize:Pe===void 0?12800:Pe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Sr,pingedTasks:Mr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Qe===void 0?Ks:Qe,onAllReady:Ze===void 0?vi:Ze,onShellReady:Ot===void 0?vi:Ot,onShellError:Vt===void 0?vi:Vt,onFatalError:fr===void 0?vi:fr},fe=go(Z,0,null,fe),fe.parentFlushed=!0,j=Ha(Z,j,null,fe,Sr,da,null,Tr),Mr.push(j),Z}function Ha(j,Z,fe,Pe,Qe,Ze,Ot,Vt){j.allPendingTasks++,fe===null?j.pendingRootTasks++:fe.pendingTasks++;var fr={node:Z,ping:function(){var Mr=j.pingedTasks;Mr.push(fr),Mr.length===1&&xt(j)},blockedBoundary:fe,blockedSegment:Pe,abortSet:Qe,legacyContext:Ze,context:Ot,treeContext:Vt};return Qe.add(fr),fr}function go(j,Z,fe,Pe){return{status:0,id:-1,index:Z,parentFlushed:!1,chunks:[],children:[],formatContext:Pe,boundary:fe}}function za(j,Z){j=j.onError,j(Z)}function Wa(j,Z){var fe=j.onShellError;fe(Z),fe=j.onFatalError,fe(Z),j.destination!==null?(j.status=2,d(j.destination,Z)):(j.status=1,j.fatalError=Z)}function g(j,Z,fe,Pe,Qe){for(ri={},ha=Z,ho=0,j=fe(Pe,Qe);fo;)fo=!1,ho=0,as+=1,nn=null,j=fe(Pe,Qe);return Ws(),j}function A(j,Z,fe,Pe){var Qe=fe.render(),Ze=Pe.childContextTypes;if(Ze!=null){var Ot=Z.legacyContext;if(typeof fe.getChildContext!="function")Pe=Ot;else{fe=fe.getChildContext();for(var Vt in fe)if(!(Vt in Ze))throw Error(t(108,Ra(Pe)||"Unknown",Vt));Pe=He({},Ot,fe)}Z.legacyContext=Pe,Q(j,Z,Qe),Z.legacyContext=Ot}else Q(j,Z,Qe)}function D(j,Z){if(j&&j.defaultProps){Z=He({},Z),j=j.defaultProps;for(var fe in j)Z[fe]===void 0&&(Z[fe]=j[fe]);return Z}return Z}function q(j,Z,fe,Pe,Qe){if(typeof fe=="function")if(fe.prototype&&fe.prototype.isReactComponent){Qe=F(fe,Z.legacyContext);var Ze=fe.contextType;Ze=new fe(Pe,typeof Ze=="object"&&Ze!==null?Ze._currentValue:Qe),mr(Ze,fe,Pe,Qe),A(j,Z,Ze,fe)}else{Ze=F(fe,Z.legacyContext),Qe=g(j,Z,fe,Pe,Ze);var Ot=ho!==0;if(typeof Qe=="object"&&Qe!==null&&typeof Qe.render=="function"&&Qe.$$typeof===void 0)mr(Qe,fe,Pe,Ze),A(j,Z,Qe,fe);else if(Ot){Pe=Z.treeContext,Z.treeContext=An(Pe,1,0);try{Q(j,Z,Qe)}finally{Z.treeContext=Pe}}else Q(j,Z,Qe)}else if(typeof fe=="string")switch(Qe=Z.blockedSegment,Ze=qe(Qe.chunks,fe,Pe,j.responseState,Qe.formatContext),Ot=Qe.formatContext,Qe.formatContext=ce(Ot,fe,Pe),ue(j,Z,Ze),Qe.formatContext=Ot,fe){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(Ue,l(fe),We)}else{switch(fe){case Fi:case Qn:case Kt:case wt:case Ht:Q(j,Z,Pe.children);return;case zr:Q(j,Z,Pe.children);return;case Ba:throw Error(t(343));case Dt:e:{fe=Z.blockedBoundary,Qe=Z.blockedSegment,Ze=Pe.fallback,Pe=Pe.children,Ot=new Set;var Vt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},fr=go(j,Qe.chunks.length,Vt,Qe.formatContext);Qe.children.push(fr);var Mr=go(j,0,null,Qe.formatContext);Mr.parentFlushed=!0,Z.blockedBoundary=Vt,Z.blockedSegment=Mr;try{if(ue(j,Z,Pe),Mr.status=1,Ge(Vt,Mr),Vt.pendingTasks===0)break e}catch(Sr){Mr.status=4,za(j,Sr),Vt.forceClientRender=!0}finally{Z.blockedBoundary=fe,Z.blockedSegment=Qe}Z=Ha(j,Ze,fe,fr,Ot,Z.legacyContext,Z.context,Z.treeContext),j.pingedTasks.push(Z)}return}if(typeof fe=="object"&&fe!==null)switch(fe.$$typeof){case dn:if(Pe=g(j,Z,fe.render,Pe,Qe),ho!==0){fe=Z.treeContext,Z.treeContext=An(fe,1,0);try{Q(j,Z,Pe)}finally{Z.treeContext=fe}}else Q(j,Z,Pe);return;case Dn:fe=fe.type,Pe=D(fe,Pe),q(j,Z,fe,Pe,Qe);return;case _r:if(Qe=Pe.children,fe=fe._context,Pe=Pe.value,Ze=fe._currentValue,fe._currentValue=Pe,Ot=ee,ee=Pe={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:fe,parentValue:Ze,value:Pe},Z.context=Pe,Q(j,Z,Qe),j=ee,j===null)throw Error(t(403));Pe=j.parentValue,j.context._currentValue=Pe===ji?j.context._defaultValue:Pe,j=ee=j.parent,Z.context=j;return;case Hr:Pe=Pe.children,Pe=Pe(fe._currentValue),Q(j,Z,Pe);return;case Tn:Qe=fe._init,fe=Qe(fe._payload),Pe=D(fe,Pe),q(j,Z,fe,Pe,void 0);return}throw Error(t(130,fe==null?fe:typeof fe,""))}}function Q(j,Z,fe){if(Z.node=fe,typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case bt:q(j,Z,fe.type,fe.props,fe.ref);return;case yt:throw Error(t(257));case Tn:var Pe=fe._init;fe=Pe(fe._payload),Q(j,Z,fe);return}if(H(fe)){re(j,Z,fe);return}if(fe===null||typeof fe!="object"?Pe=null:(Pe=co&&fe[co]||fe["@@iterator"],Pe=typeof Pe=="function"?Pe:null),Pe&&(Pe=Pe.call(fe))){if(fe=Pe.next(),!fe.done){var Qe=[];do Qe.push(fe.value),fe=Pe.next();while(!fe.done);re(j,Z,Qe)}return}throw Z=Object.prototype.toString.call(fe),Error(t(31,Z==="[object Object]"?"object with keys {"+Object.keys(fe).join(", ")+"}":Z))}typeof fe=="string"?fe!==""&&Z.blockedSegment.chunks.push(l(y(fe)),Se):typeof fe=="number"&&(j=""+fe,j!==""&&Z.blockedSegment.chunks.push(l(y(j)),Se))}function re(j,Z,fe){for(var Pe=fe.length,Qe=0;Qe<Pe;Qe++){var Ze=Z.treeContext;Z.treeContext=An(Ze,Pe,Qe);try{ue(j,Z,fe[Qe])}finally{Z.treeContext=Ze}}}function ue(j,Z,fe){var Pe=Z.blockedSegment.formatContext,Qe=Z.legacyContext,Ze=Z.context;try{return Q(j,Z,fe)}catch(fr){if(Ws(),typeof fr=="object"&&fr!==null&&typeof fr.then=="function"){fe=fr;var Ot=Z.blockedSegment,Vt=go(j,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(Vt),j=Ha(j,Z.node,Z.blockedBoundary,Vt,Z.abortSet,Z.legacyContext,Z.context,Z.treeContext).ping,fe.then(j,j),Z.blockedSegment.formatContext=Pe,Z.legacyContext=Qe,Z.context=Ze,Bt(Ze)}else throw Z.blockedSegment.formatContext=Pe,Z.legacyContext=Qe,Z.context=Ze,Bt(Ze),fr}}function Ne(j){var Z=j.blockedBoundary;j=j.blockedSegment,j.status=3,St(this,Z,j)}function Oe(j){var Z=j.blockedBoundary;j.blockedSegment.status=3,Z===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,Z.parentFlushed&&this.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(Oe,this),Z.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(j=this.onAllReady,j()))}function Ge(j,Z){if(Z.chunks.length===0&&Z.children.length===1&&Z.children[0].boundary===null){var fe=Z.children[0];fe.id=Z.id,fe.parentFlushed=!0,fe.status===1&&Ge(j,fe)}else j.completedSegments.push(Z)}function St(j,Z,fe){if(Z===null){if(fe.parentFlushed){if(j.completedRootSegment!==null)throw Error(t(389));j.completedRootSegment=fe}j.pendingRootTasks--,j.pendingRootTasks===0&&(j.onShellError=vi,Z=j.onShellReady,Z())}else Z.pendingTasks--,Z.forceClientRender||(Z.pendingTasks===0?(fe.parentFlushed&&fe.status===1&&Ge(Z,fe),Z.parentFlushed&&j.completedBoundaries.push(Z),Z.fallbackAbortableTasks.forEach(Ne,j),Z.fallbackAbortableTasks.clear()):fe.parentFlushed&&fe.status===1&&(Ge(Z,fe),Z.completedSegments.length===1&&Z.parentFlushed&&j.partialBoundaries.push(Z)));j.allPendingTasks--,j.allPendingTasks===0&&(j=j.onAllReady,j())}function xt(j){if(j.status!==2){var Z=ee,fe=ss.current;ss.current=vo;var Pe=Gi;Gi=j.responseState;try{var Qe=j.pingedTasks,Ze;for(Ze=0;Ze<Qe.length;Ze++){var Ot=Qe[Ze],Vt=j,fr=Ot.blockedSegment;if(fr.status===0){Bt(Ot.context);try{Q(Vt,Ot,Ot.node),Ot.abortSet.delete(Ot),fr.status=1,St(Vt,Ot.blockedBoundary,fr)}catch(Rn){if(Ws(),typeof Rn=="object"&&Rn!==null&&typeof Rn.then=="function"){var Mr=Ot.ping;Rn.then(Mr,Mr)}else{Ot.abortSet.delete(Ot),fr.status=4;var Sr=Ot.blockedBoundary,En=Rn;if(za(Vt,En),Sr===null?Wa(Vt,En):(Sr.pendingTasks--,Sr.forceClientRender||(Sr.forceClientRender=!0,Sr.parentFlushed&&Vt.clientRenderedBoundaries.push(Sr))),Vt.allPendingTasks--,Vt.allPendingTasks===0){var Kn=Vt.onAllReady;Kn()}}}finally{}}}Qe.splice(0,Ze),j.destination!==null&&jn(j,j.destination)}catch(Rn){za(j,Rn),Wa(j,Rn)}finally{Gi=Pe,ss.current=fe,fe===vo&&Bt(Z)}}}function ut(j,Z,fe){switch(fe.parentFlushed=!0,fe.status){case 0:var Pe=fe.id=j.nextSegmentId++;return j=j.responseState,i(Z,ct),i(Z,j.placeholderPrefix),j=l(Pe.toString(16)),i(Z,j),o(Z,jt);case 1:fe.status=2;var Qe=!0;Pe=fe.chunks;var Ze=0;fe=fe.children;for(var Ot=0;Ot<fe.length;Ot++){for(Qe=fe[Ot];Ze<Qe.index;Ze++)i(Z,Pe[Ze]);Qe=$t(j,Z,Qe)}for(;Ze<Pe.length-1;Ze++)i(Z,Pe[Ze]);return Ze<Pe.length&&(Qe=o(Z,Pe[Ze])),Qe;default:throw Error(t(390))}}function $t(j,Z,fe){var Pe=fe.boundary;if(Pe===null)return ut(j,Z,fe);if(Pe.parentFlushed=!0,Pe.forceClientRender)o(Z,Et),ut(j,Z,fe);else if(0<Pe.pendingTasks){Pe.rootSegmentID=j.nextSegmentId++,0<Pe.completedSegments.length&&j.partialBoundaries.push(Pe);var Qe=j.responseState,Ze=Qe.nextSuspenseID++;Qe=f(Qe.boundaryPrefix+Ze.toString(16)),Pe=Pe.id=Qe,ft(Z,j.responseState,Pe),ut(j,Z,fe)}else if(Pe.byteSize>j.progressiveChunkSize)Pe.rootSegmentID=j.nextSegmentId++,j.completedBoundaries.push(Pe),ft(Z,j.responseState,Pe.id),ut(j,Z,fe);else{if(o(Z,Gt),fe=Pe.completedSegments,fe.length!==1)throw Error(t(391));$t(j,Z,fe[0])}return o(Z,st)}function Er(j,Z,fe){return ti(Z,j.responseState,fe.formatContext,fe.id),$t(j,Z,fe),Si(Z,fe.formatContext)}function Kr(j,Z,fe){for(var Pe=fe.completedSegments,Qe=0;Qe<Pe.length;Qe++)Lr(j,Z,fe,Pe[Qe]);if(Pe.length=0,j=j.responseState,Pe=fe.id,fe=fe.rootSegmentID,i(Z,j.startInlineScript),j.sentCompleteBoundaryFunction?i(Z,at):(j.sentCompleteBoundaryFunction=!0,i(Z,li)),Pe===null)throw Error(t(395));return fe=l(fe.toString(16)),i(Z,Pe),i(Z,kt),i(Z,j.segmentPrefix),i(Z,fe),o(Z,vt)}function Lr(j,Z,fe,Pe){if(Pe.status===2)return!0;var Qe=Pe.id;if(Qe===-1){if((Pe.id=fe.rootSegmentID)===-1)throw Error(t(392));return Er(j,Z,Pe)}return Er(j,Z,Pe),j=j.responseState,i(Z,j.startInlineScript),j.sentCompleteSegmentFunction?i(Z,_n):(j.sentCompleteSegmentFunction=!0,i(Z,Ri)),i(Z,j.segmentPrefix),Qe=l(Qe.toString(16)),i(Z,Qe),i(Z,Gn),i(Z,j.placeholderPrefix),i(Z,Qe),o(Z,di)}function jn(j,Z){r=new Uint8Array(512),n=0;try{var fe=j.completedRootSegment;if(fe!==null&&j.pendingRootTasks===0){$t(j,Z,fe),j.completedRootSegment=null;var Pe=j.responseState.bootstrapChunks;for(fe=0;fe<Pe.length-1;fe++)i(Z,Pe[fe]);fe<Pe.length&&o(Z,Pe[fe])}var Qe=j.clientRenderedBoundaries,Ze;for(Ze=0;Ze<Qe.length;Ze++){Pe=Z;var Ot=j.responseState,Vt=Qe[Ze].id;if(i(Pe,Ot.startInlineScript),Ot.sentClientRenderFunction?i(Pe,se):(Ot.sentClientRenderFunction=!0,i(Pe,Je)),Vt===null)throw Error(t(395));i(Pe,Vt),o(Pe,rt)}Qe.splice(0,Ze);var fr=j.completedBoundaries;for(Ze=0;Ze<fr.length;Ze++)Kr(j,Z,fr[Ze]);fr.splice(0,Ze),a(Z),r=new Uint8Array(512),n=0;var Mr=j.partialBoundaries;for(Ze=0;Ze<Mr.length;Ze++){var Sr=Mr[Ze];e:{Qe=j,Ot=Z;var En=Sr.completedSegments;for(Vt=0;Vt<En.length;Vt++)if(!Lr(Qe,Ot,Sr,En[Vt])){Vt++,En.splice(0,Vt);var Kn=!1;break e}En.splice(0,Vt),Kn=!0}if(!Kn){j.destination=null,Ze++,Mr.splice(0,Ze);return}}Mr.splice(0,Ze);var Rn=j.completedBoundaries;for(Ze=0;Ze<Rn.length;Ze++)Kr(j,Z,Rn[Ze]);Rn.splice(0,Ze)}finally{a(Z),j.allPendingTasks===0&&j.pingedTasks.length===0&&j.clientRenderedBoundaries.length===0&&j.completedBoundaries.length===0&&Z.close()}}function Jn(j){try{var Z=j.abortableTasks;Z.forEach(Oe,j),Z.clear(),j.destination!==null&&jn(j,j.destination)}catch(fe){za(j,fe),Wa(j,fe)}}return Tv.renderToReadableStream=function(j,Z){return new Promise(function(fe,Pe){var Qe,Ze,Ot=new Promise(function(Sr,En){Ze=Sr,Qe=En}),Vt=Ki(j,K(Z?Z.identifierPrefix:void 0,Z?Z.nonce:void 0,Z?Z.bootstrapScriptContent:void 0,Z?Z.bootstrapScripts:void 0,Z?Z.bootstrapModules:void 0),z(Z?Z.namespaceURI:void 0),Z?Z.progressiveChunkSize:void 0,Z?Z.onError:void 0,Ze,function(){var Sr=new ReadableStream({type:"bytes",pull:function(En){if(Vt.status===1)Vt.status=2,d(En,Vt.fatalError);else if(Vt.status!==2&&Vt.destination===null){Vt.destination=En;try{jn(Vt,En)}catch(Kn){za(Vt,Kn),Wa(Vt,Kn)}}},cancel:function(){Jn(Vt)}});Sr.allReady=Ot,fe(Sr)},function(Sr){Ot.catch(function(){}),Pe(Sr)},Qe);if(Z&&Z.signal){var fr=Z.signal,Mr=function(){Jn(Vt),fr.removeEventListener("abort",Mr)};fr.addEventListener("abort",Mr)}xt(Vt)})},Tv.version="18.1.0",Tv}var tK;function H1e(){if(tK)return Hu;tK=1;var e,t;return e=B1e(),t=V1e(),Hu.version=e.version,Hu.renderToString=e.renderToString,Hu.renderToStaticMarkup=e.renderToStaticMarkup,Hu.renderToNodeStream=e.renderToNodeStream,Hu.renderToStaticNodeStream=e.renderToStaticNodeStream,Hu.renderToReadableStream=t.renderToReadableStream,Hu}var z1e=H1e();const W1e={getSvg(e){const t=e;return z1e.renderToStaticMarkup(de.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},G1e="d-inline-block svg-container",K1e="span";var vre=(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))(vre||{});function al(e){const{svg:t,className:r=G1e,tagName:n=K1e,size:i="std",onClick:o,title:a,tooltipSpanHackClassName:u,tooltipPlacement:l="right",tooltipSpanHack:f=!1,tooltipShow:d}=e,h=n,p={className:`${r} ${i}`,onClick:Ro.isFunction(o)?o:null},m=t;return de.jsx(xf,{title:a,placement:l,spanHack:f,spanHackClassName:u,show:d,children:de.jsx(h,{...p,children:de.jsx(m,{...W1e.getCommonSvgProps()})})})}const Y1e="_iconButton_1no8y_1",X1e="_iconWithText_1no8y_5",Q1e="_svg_1no8y_9",J1e="_iconOnly_1no8y_21",Z1e="_iconBorder_1no8y_30",zd={iconButton:Y1e,iconWithText:X1e,svg:Q1e,iconOnly:J1e,iconBorder:Z1e};function fC(e){let t=`${e.className} ${zd.iconButton}`;ye.Children.toArray(e.children).length?t+=` ${zd.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${zd.iconOnly}`),e.showBorder&&(t+=` ${zd.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=de.jsx(al,{svg:e.svg,className:`svg-container ${zd.svg}`,size:e.svgSize});function n(o){e.analyticsData&&e.analyticsOptions&&Fa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(o)}function i(o){o.preventDefault(),e.analyticsData&&e.analyticsOptions&&Fa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(o),Nn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?de.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?de.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):de.jsxs(xo,{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 ebe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!Ro.isFunction(e.onClick)&&!e.disabled)return de.jsx(xo,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(Ro.isFunction(e.onClick)&&e.onClick(),e.appLink&&Ti.trigger(e.appLink),Fa.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?de.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):de.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return de.jsx(fC,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const tbe="_image_12gb5_1",rbe="_small_12gb5_6",rK={image:tbe,small:rbe};gre.defaultProps={size:"medium"};function gre(e){return de.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${rK.image} ${e.size==="small"?rK.small:""} ${e.className??""}`})}ks.defaultProps={className:"pt-5"};function ks(e){return de.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}ks.Image=e=>de.jsx(gre,{...e});ks.Cta=e=>de.jsx(ebe,{...e});ks.Heading=e=>de.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});ks.Info=e=>e.injectHtml?de.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):de.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});var QR,nK;function nbe(){if(nK)return QR;nK=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){if(o.constructor!==a.constructor)return!1;var u,l,f;if(Array.isArray(o)){if(u=o.length,u!=a.length)return!1;for(l=u;l--!==0;)if(!i(o[l],a[l]))return!1;return!0}var d;if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(d=o.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;for(d=o.entries();!(l=d.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(d=o.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if(u=o.length,u!=a.length)return!1;for(l=u;l--!==0;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof a.valueOf=="function")return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof a.toString=="function")return o.toString()===a.toString();if(f=Object.keys(o),u=f.length,u!==Object.keys(a).length)return!1;for(l=u;l--!==0;)if(!Object.prototype.hasOwnProperty.call(a,f[l]))return!1;if(e&&o instanceof Element)return!1;for(l=u;l--!==0;)if(!((f[l]==="_owner"||f[l]==="__v"||f[l]==="__o")&&o.$$typeof)&&!i(o[f[l]],a[f[l]]))return!1;return!0}return o!==o&&a!==a}return QR=function(a,u){try{return i(a,u)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},QR}var ibe=nbe();const abe=Hn(ibe);var JR,iK;function obe(){return iK||(iK=1,JR=function(t,r,n,i){var o=n?n.call(i,t,r):void 0;if(o!==void 0)return!!o;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var a=Object.keys(t),u=Object.keys(r);if(a.length!==u.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),f=0;f<a.length;f++){var d=a[f];if(!l(d))return!1;var h=t[d],p=r[d];if(o=n?n.call(i,h,p,d):void 0,o===!1||o===void 0&&h!==p)return!1}return!0}),JR}var sbe=obe();const ube=Hn(sbe);function Oi(){return Oi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oi.apply(this,arguments)}function MI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dC(e,t)}function dC(e,t){return dC=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},dC(e,t)}function aK(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 Pr={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},lbe={rel:["amphtml","canonical","alternate"]},cbe={type:["application/ld+json"]},fbe={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"]},oK=Object.keys(Pr).map(function(e){return Pr[e]}),Pg={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},dbe=Object.keys(Pg).reduce(function(e,t){return e[Pg[t]]=t,e},{}),Cf=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},hbe=function(e){var t=Cf(e,Pr.TITLE),r=Cf(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Cf(e,"defaultTitle");return t||n||void 0},pbe=function(e){return Cf(e,"onChangeClientState")||function(){}},ZR=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Oi({},r,n)},{})},vbe=function(e,t){return t.filter(function(r){return r[Pr.BASE]!==void 0}).map(function(r){return r[Pr.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},[])},Wd=function(e,t,r){var n={};return r.filter(function(i){return!!Array.isArray(i[e])||(i[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof i[e]+'"'),!1)}).map(function(i){return i[e]}).reverse().reduce(function(i,o){var a={};o.filter(function(h){for(var p,m=Object.keys(h),S=0;S<m.length;S+=1){var E=m[S],_=E.toLowerCase();t.indexOf(_)===-1||p==="rel"&&h[p].toLowerCase()==="canonical"||_==="rel"&&h[_].toLowerCase()==="stylesheet"||(p=_),t.indexOf(E)===-1||E!=="innerHTML"&&E!=="cssText"&&E!=="itemprop"||(p=E)}if(!p||!h[p])return!1;var w=h[p].toLowerCase();return n[p]||(n[p]={}),a[p]||(a[p]={}),!n[p][w]&&(a[p][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var u=Object.keys(a),l=0;l<u.length;l+=1){var f=u[l],d=Oi({},n[f],a[f]);n[f]=d}return i},[]).reverse()},gbe=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},mre=function(e){return Array.isArray(e)?e.join(""):e},ex=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,o){for(var a=Object.keys(i),u=0;u<a.length;u+=1)if(o[a[u]]&&o[a[u]].includes(i[a[u]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},sK=function(e,t){var r;return Oi({},e,((r={})[t]=void 0,r))},mbe=[Pr.NOSCRIPT,Pr.SCRIPT,Pr.STYLE],tx=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,"'")},uK=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},"")},lK=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Pg[n]||n]=e[n],r},t)},Xv=function(e,t){return t.map(function(r,n){var i,o=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(a){var u=Pg[a]||a;u==="innerHTML"||u==="cssText"?o.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:o[u]=r[a]}),kr.createElement(e,o)})},Go=function(e,t,r){switch(e){case Pr.TITLE:return{toComponent:function(){return i=t.titleAttributes,(o={key:n=t.title})["data-rh"]=!0,a=lK(i,o),[kr.createElement(Pr.TITLE,a,n)];var n,i,o,a},toString:function(){return(function(n,i,o,a){var u=uK(o),l=mre(i);return u?"<"+n+' data-rh="true" '+u+">"+tx(l,a)+"</"+n+">":"<"+n+' data-rh="true">'+tx(l,a)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return lK(t)},toString:function(){return uK(t)}};default:return{toComponent:function(){return Xv(e,t)},toString:function(){return(function(n,i,o){return i.reduce(function(a,u){var l=Object.keys(u).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,p){var m=u[p]===void 0?p:p+'="'+tx(u[p],o)+'"';return h?h+" "+m:m},""),f=u.innerHTML||u.cssText||"",d=mbe.indexOf(n)===-1;return a+"<"+n+' data-rh="true" '+l+(d?"/>":">"+f+"</"+n+">")},"")})(e,t,r)}}}},hC=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,u=e.title,l=u===void 0?"":u,f=e.titleAttributes,d=e.linkTags,h=e.metaTags,p=e.scriptTags,m={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var S=(function(E){var _=E.linkTags,w=E.scriptTags,T=E.encode,C=ex(E.metaTags,fbe),x=ex(_,lbe),R=ex(w,cbe);return{priorityMethods:{toComponent:function(){return[].concat(Xv(Pr.META,C.priority),Xv(Pr.LINK,x.priority),Xv(Pr.SCRIPT,R.priority))},toString:function(){return Go(Pr.META,C.priority,T)+" "+Go(Pr.LINK,x.priority,T)+" "+Go(Pr.SCRIPT,R.priority,T)}},metaTags:C.default,linkTags:x.default,scriptTags:R.default}})(e);m=S.priorityMethods,d=S.linkTags,h=S.metaTags,p=S.scriptTags}return{priority:m,base:Go(Pr.BASE,t,n),bodyAttributes:Go("bodyAttributes",r,n),htmlAttributes:Go("htmlAttributes",i,n),link:Go(Pr.LINK,d,n),meta:Go(Pr.META,h,n),noscript:Go(Pr.NOSCRIPT,o,n),script:Go(Pr.SCRIPT,p,n),style:Go(Pr.STYLE,a,n),title:Go(Pr.TITLE,{title:l,titleAttributes:f},n)}},Av=[],pC=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?Av:r.instances},add:function(n){(r.canUseDOM?Av:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?Av:r.instances).indexOf(n);(r.canUseDOM?Av:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=hC({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},yre=kr.createContext({}),ybe=Vr.shape({setHelmet:Vr.func,helmetInstances:Vr.shape({get:Vr.func,add:Vr.func,remove:Vr.func})}),_be=typeof document<"u",Sf=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new pC(n.props.context,t.canUseDOM),n}return MI(t,e),t.prototype.render=function(){return kr.createElement(yre.Provider,{value:this.helmetData.value},this.props.children)},t})(ye.Component);Sf.canUseDOM=_be,Sf.propTypes={context:Vr.shape({helmet:Vr.shape()}),children:Vr.node.isRequired},Sf.defaultProps={context:{}},Sf.displayName="HelmetProvider";var lf=function(e,t){var r,n=document.head||document.querySelector(Pr.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach(function(u){var l=document.createElement(e);for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&(f==="innerHTML"?l.innerHTML=u.innerHTML:f==="cssText"?l.styleSheet?l.styleSheet.cssText=u.cssText:l.appendChild(document.createTextNode(u.cssText)):l.setAttribute(f,u[f]===void 0?"":u[f]));l.setAttribute("data-rh","true"),o.some(function(d,h){return r=h,l.isEqualNode(d)})?o.splice(r,1):a.push(l)}),o.forEach(function(u){return u.parentNode.removeChild(u)}),a.forEach(function(u){return n.appendChild(u)}),{oldTags:o,newTags:a}},rx=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(t),u=0;u<a.length;u+=1){var l=a[u],f=t[l]||"";r.getAttribute(l)!==f&&r.setAttribute(l,f),i.indexOf(l)===-1&&i.push(l);var d=o.indexOf(l);d!==-1&&o.splice(d,1)}for(var h=o.length-1;h>=0;h-=1)r.removeAttribute(o[h]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},cK=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,u=e.onChangeClientState,l=e.scriptTags,f=e.styleTags,d=e.title,h=e.titleAttributes;rx(Pr.BODY,e.bodyAttributes),rx(Pr.HTML,n),(function(E,_){E!==void 0&&document.title!==E&&(document.title=mre(E)),rx(Pr.TITLE,_)})(d,h);var p={baseTag:lf(Pr.BASE,r),linkTags:lf(Pr.LINK,i),metaTags:lf(Pr.META,o),noscriptTags:lf(Pr.NOSCRIPT,a),scriptTags:lf(Pr.SCRIPT,l),styleTags:lf(Pr.STYLE,f)},m={},S={};Object.keys(p).forEach(function(E){var _=p[E],w=_.newTags,T=_.oldTags;w.length&&(m[E]=w),T.length&&(S[E]=p[E].oldTags)}),t&&t(),u(e,m,S)},Gd=null,kg=(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}MI(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!ube(n,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var n,i,o=this.props.context,a=o.setHelmet,u=null,l=(n=o.helmetInstances.get().map(function(f){var d=Oi({},f.props);return delete d.context,d}),{baseTag:vbe(["href"],n),bodyAttributes:ZR("bodyAttributes",n),defer:Cf(n,"defer"),encode:Cf(n,"encodeSpecialCharacters"),htmlAttributes:ZR("htmlAttributes",n),linkTags:Wd(Pr.LINK,["rel","href"],n),metaTags:Wd(Pr.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Wd(Pr.NOSCRIPT,["innerHTML"],n),onChangeClientState:pbe(n),scriptTags:Wd(Pr.SCRIPT,["src","innerHTML"],n),styleTags:Wd(Pr.STYLE,["cssText"],n),title:hbe(n),titleAttributes:ZR("titleAttributes",n),prioritizeSeoTags:gbe(n,"prioritizeSeoTags")});Sf.canUseDOM?(i=l,Gd&&cancelAnimationFrame(Gd),i.defer?Gd=requestAnimationFrame(function(){cK(i,function(){Gd=null})}):(cK(i),Gd=null)):hC&&(u=hC(l)),a(u)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(ye.Component);kg.propTypes={context:ybe.isRequired},kg.displayName="HelmetDispatcher";var Ebe=["children"],Sbe=["children"],Qv=(function(e){function t(){return e.apply(this,arguments)||this}MI(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!abe(sK(this.props,"helmetData"),sK(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case Pr.SCRIPT:case Pr.NOSCRIPT:return{innerHTML:i};case Pr.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 Oi({},a,((i={})[o.type]=[].concat(a[o.type]||[],[Oi({},n.newChildProps,this.mapNestedChildrenToProps(o,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,o,a=n.child,u=n.newProps,l=n.newChildProps,f=n.nestedChildren;switch(a.type){case Pr.TITLE:return Oi({},u,((i={})[a.type]=f,i.titleAttributes=Oi({},l),i));case Pr.BODY:return Oi({},u,{bodyAttributes:Oi({},l)});case Pr.HTML:return Oi({},u,{htmlAttributes:Oi({},l)});default:return Oi({},u,((o={})[a.type]=Oi({},l),o))}},r.mapArrayTypeChildrenToProps=function(n,i){var o=Oi({},i);return Object.keys(n).forEach(function(a){var u;o=Oi({},o,((u={})[a]=n[a],u))}),o},r.warnOnInvalidChildren=function(n,i){return PG(oK.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 "+oK.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),PG(!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 kr.Children.forEach(n,function(u){if(u&&u.props){var l=u.props,f=l.children,d=aK(l,Ebe),h=Object.keys(d).reduce(function(m,S){return m[dbe[S]||S]=d[S],m},{}),p=u.type;switch(typeof p=="symbol"?p=p.toString():o.warnOnInvalidChildren(u,f),p){case Pr.FRAGMENT:i=o.mapChildrenToProps(f,i);break;case Pr.LINK:case Pr.META:case Pr.NOSCRIPT:case Pr.SCRIPT:case Pr.STYLE:a=o.flattenArrayTypeChildren({child:u,arrayTypeChildren:a,newChildProps:h,nestedChildren:f});break;default:i=o.mapObjectTypeChildren({child:u,newProps:i,newChildProps:h,nestedChildren:f})}}}),this.mapArrayTypeChildrenToProps(a,i)},r.render=function(){var n=this.props,i=n.children,o=aK(n,Sbe),a=Oi({},o),u=o.helmetData;return i&&(a=this.mapChildrenToProps(i,a)),!u||u instanceof pC||(u=new pC(u.context,u.instances)),u?kr.createElement(kg,Oi({},a,{context:u.value,helmetData:void 0})):kr.createElement(yre.Consumer,null,function(l){return kr.createElement(kg,Oi({},a,{context:l}))})},t})(ye.Component);Qv.propTypes={base:Vr.object,bodyAttributes:Vr.object,children:Vr.oneOfType([Vr.arrayOf(Vr.node),Vr.node]),defaultTitle:Vr.string,defer:Vr.bool,encodeSpecialCharacters:Vr.bool,htmlAttributes:Vr.object,link:Vr.arrayOf(Vr.object),meta:Vr.arrayOf(Vr.object),noscript:Vr.arrayOf(Vr.object),onChangeClientState:Vr.func,script:Vr.arrayOf(Vr.object),style:Vr.arrayOf(Vr.object),title:Vr.string,titleAttributes:Vr.object,titleTemplate:Vr.string,prioritizeSeoTags:Vr.bool,helmetData:Vr.object},Qv.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Qv.displayName="Helmet";const _re=kr.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function fK(e,t){return!js.isEqual(e,t)}function wbe(){return kr.useContext(_re)}const bbe=e=>{const[t,r]=kr.useState({}),[n,i]=kr.useState({}),[o,a]=kr.useState(null),{title:u,description:l,canonicalLink:f,jsonLd:d,allowIndexing:h,hrefLang:p,preload:m}=t;function S(T){fK(t,n)&&i(t),r(T)}function E(){r(n)}function _(T){return fK(T,t)}function w(T){a(T)}return de.jsx(_re.Provider,{value:{setPageMetadata:S,revertPageMetadata:E,hasPageMetadataChanged:_,setFaq:w,hasProvider:!0},children:de.jsxs(Sf,{children:[de.jsxs(Qv,{children:[u&&de.jsx("title",{children:u}),l&&de.jsx("meta",{name:"description",content:l}),f&&de.jsx("link",{rel:"canonical",href:f}),d&&de.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),o&&de.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)}),!h&&de.jsx("meta",{name:"robots",content:"noindex"}),p&&(p==null?void 0:p.map((T,C)=>de.jsx("link",{rel:"alternate",hrefLang:T.hrefLang,href:T.canonicalLink},C))),m&&(m==null?void 0:m.map((T,C)=>{const x={};return T.crossorigin&&(x.crossOrigin="true"),T.media&&(x.media=T.media),T.type&&(x.type=T.type),de.jsx("link",{rel:"preload",href:T.href,as:T.as,...x},`preload-${C}`)}))]}),e.children]})})};function Ere(e){kr.useEffect(()=>{e&&t(Ti.getCurrentAppLink(),e)},[e]);function t(n,i){const o=Ti.getHref(n);Fa.logUserAction({title:i,url:o,isAddressable:!!o,isError:n.action==="error",appLink:r(n)},{actionType:Ft.PageView,entity:On.Url,location:Sa.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((o,a,u)=>(o[`arg${u}`]=a,o),{})}}}var Jv={exports:{}},Tbe=Jv.exports,dK;function Abe(){return dK||(dK=1,(function(e,t){(function(r,n){e.exports=n()})(Tbe,(function(){var r=1e3,n=6e4,i=36e5,o="millisecond",a="second",u="minute",l="hour",f="day",d="week",h="month",p="quarter",m="year",S="date",E="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(J){var ie=["th","st","nd","rd"],ne=J%100;return"["+J+(ie[(ne-20)%10]||ie[ne]||ie[0])+"]"}},C=function(J,ie,ne){var pe=String(J);return!pe||pe.length>=ie?J:""+Array(ie+1-pe.length).join(ne)+J},x={s:C,z:function(J){var ie=-J.utcOffset(),ne=Math.abs(ie),pe=Math.floor(ne/60),K=ne%60;return(ie<=0?"+":"-")+C(pe,2,"0")+":"+C(K,2,"0")},m:function J(ie,ne){if(ie.date()<ne.date())return-J(ne,ie);var pe=12*(ne.year()-ie.year())+(ne.month()-ie.month()),K=ie.clone().add(pe,h),te=ne-K<0,z=ie.clone().add(pe+(te?-1:1),h);return+(-(pe+(ne-K)/(te?K-z:z-K))||0)},a:function(J){return J<0?Math.ceil(J)||0:Math.floor(J)},p:function(J){return{M:h,y:m,w:d,d:f,D:S,h:l,m:u,s:a,ms:o,Q:p}[J]||String(J||"").toLowerCase().replace(/s$/,"")},u:function(J){return J===void 0}},R="en",P={};P[R]=T;var y="$isDayjsObject",N=function(J){return J instanceof W||!(!J||!J[y])},$=function J(ie,ne,pe){var K;if(!ie)return R;if(typeof ie=="string"){var te=ie.toLowerCase();P[te]&&(K=te),ne&&(P[te]=ne,K=te);var z=ie.split("-");if(!K&&z.length>1)return J(z[0])}else{var ce=ie.name;P[ce]=ie,K=ce}return!pe&&K&&(R=K),K||!pe&&R},H=function(J,ie){if(N(J))return J.clone();var ne=typeof ie=="object"?ie:{};return ne.date=J,ne.args=arguments,new W(ne)},B=x;B.l=$,B.i=N,B.w=function(J,ie){return H(J,{locale:ie.$L,utc:ie.$u,x:ie.$x,$offset:ie.$offset})};var W=(function(){function J(ne){this.$L=$(ne.locale,null,!0),this.parse(ne),this.$x=this.$x||ne.x||{},this[y]=!0}var ie=J.prototype;return ie.parse=function(ne){this.$d=(function(pe){var K=pe.date,te=pe.utc;if(K===null)return new Date(NaN);if(B.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var z=K.match(_);if(z){var ce=z[2]-1||0,Se=(z[7]||"0").substring(0,3);return te?new Date(Date.UTC(z[1],ce,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Se)):new Date(z[1],ce,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Se)}}return new Date(K)})(ne),this.init()},ie.init=function(){var ne=this.$d;this.$y=ne.getFullYear(),this.$M=ne.getMonth(),this.$D=ne.getDate(),this.$W=ne.getDay(),this.$H=ne.getHours(),this.$m=ne.getMinutes(),this.$s=ne.getSeconds(),this.$ms=ne.getMilliseconds()},ie.$utils=function(){return B},ie.isValid=function(){return this.$d.toString()!==E},ie.isSame=function(ne,pe){var K=H(ne);return this.startOf(pe)<=K&&K<=this.endOf(pe)},ie.isAfter=function(ne,pe){return H(ne)<this.startOf(pe)},ie.isBefore=function(ne,pe){return this.endOf(pe)<H(ne)},ie.$g=function(ne,pe,K){return B.u(ne)?this[pe]:this.set(K,ne)},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this.$d.getTime()},ie.startOf=function(ne,pe){var K=this,te=!!B.u(pe)||pe,z=B.p(ne),ce=function(M,k){var U=B.w(K.$u?Date.UTC(K.$y,k,M):new Date(K.$y,k,M),K);return te?U:U.endOf(f)},Se=function(M,k){return B.w(K.toDate()[M].apply(K.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(k)),K)},Le=this.$W,Be=this.$M,Xe=this.$D,oe="set"+(this.$u?"UTC":"");switch(z){case m:return te?ce(1,0):ce(31,11);case h:return te?ce(1,Be):ce(0,Be+1);case d:var O=this.$locale().weekStart||0,I=(Le<O?Le+7:Le)-O;return ce(te?Xe-I:Xe+(6-I),Be);case f:case S:return Se(oe+"Hours",0);case l:return Se(oe+"Minutes",1);case u:return Se(oe+"Seconds",2);case a:return Se(oe+"Milliseconds",3);default:return this.clone()}},ie.endOf=function(ne){return this.startOf(ne,!1)},ie.$set=function(ne,pe){var K,te=B.p(ne),z="set"+(this.$u?"UTC":""),ce=(K={},K[f]=z+"Date",K[S]=z+"Date",K[h]=z+"Month",K[m]=z+"FullYear",K[l]=z+"Hours",K[u]=z+"Minutes",K[a]=z+"Seconds",K[o]=z+"Milliseconds",K)[te],Se=te===f?this.$D+(pe-this.$W):pe;if(te===h||te===m){var Le=this.clone().set(S,1);Le.$d[ce](Se),Le.init(),this.$d=Le.set(S,Math.min(this.$D,Le.daysInMonth())).$d}else ce&&this.$d[ce](Se);return this.init(),this},ie.set=function(ne,pe){return this.clone().$set(ne,pe)},ie.get=function(ne){return this[B.p(ne)]()},ie.add=function(ne,pe){var K,te=this;ne=Number(ne);var z=B.p(pe),ce=function(Be){var Xe=H(te);return B.w(Xe.date(Xe.date()+Math.round(Be*ne)),te)};if(z===h)return this.set(h,this.$M+ne);if(z===m)return this.set(m,this.$y+ne);if(z===f)return ce(1);if(z===d)return ce(7);var Se=(K={},K[u]=n,K[l]=i,K[a]=r,K)[z]||1,Le=this.$d.getTime()+ne*Se;return B.w(Le,this)},ie.subtract=function(ne,pe){return this.add(-1*ne,pe)},ie.format=function(ne){var pe=this,K=this.$locale();if(!this.isValid())return K.invalidDate||E;var te=ne||"YYYY-MM-DDTHH:mm:ssZ",z=B.z(this),ce=this.$H,Se=this.$m,Le=this.$M,Be=K.weekdays,Xe=K.months,oe=K.meridiem,O=function(k,U,Y,ae){return k&&(k[U]||k(pe,te))||Y[U].slice(0,ae)},I=function(k){return B.s(ce%12||12,k,"0")},M=oe||function(k,U,Y){var ae=k<12?"AM":"PM";return Y?ae.toLowerCase():ae};return te.replace(w,(function(k,U){return U||(function(Y){switch(Y){case"YY":return String(pe.$y).slice(-2);case"YYYY":return B.s(pe.$y,4,"0");case"M":return Le+1;case"MM":return B.s(Le+1,2,"0");case"MMM":return O(K.monthsShort,Le,Xe,3);case"MMMM":return O(Xe,Le);case"D":return pe.$D;case"DD":return B.s(pe.$D,2,"0");case"d":return String(pe.$W);case"dd":return O(K.weekdaysMin,pe.$W,Be,2);case"ddd":return O(K.weekdaysShort,pe.$W,Be,3);case"dddd":return Be[pe.$W];case"H":return String(ce);case"HH":return B.s(ce,2,"0");case"h":return I(1);case"hh":return I(2);case"a":return M(ce,Se,!0);case"A":return M(ce,Se,!1);case"m":return String(Se);case"mm":return B.s(Se,2,"0");case"s":return String(pe.$s);case"ss":return B.s(pe.$s,2,"0");case"SSS":return B.s(pe.$ms,3,"0");case"Z":return z}return null})(k)||z.replace(":","")}))},ie.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ie.diff=function(ne,pe,K){var te,z=this,ce=B.p(pe),Se=H(ne),Le=(Se.utcOffset()-this.utcOffset())*n,Be=this-Se,Xe=function(){return B.m(z,Se)};switch(ce){case m:te=Xe()/12;break;case h:te=Xe();break;case p:te=Xe()/3;break;case d:te=(Be-Le)/6048e5;break;case f:te=(Be-Le)/864e5;break;case l:te=Be/i;break;case u:te=Be/n;break;case a:te=Be/r;break;default:te=Be}return K?te:B.a(te)},ie.daysInMonth=function(){return this.endOf(h).$D},ie.$locale=function(){return P[this.$L]},ie.locale=function(ne,pe){if(!ne)return this.$L;var K=this.clone(),te=$(ne,pe,!0);return te&&(K.$L=te),K},ie.clone=function(){return B.w(this.$d,this)},ie.toDate=function(){return new Date(this.valueOf())},ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toISOString=function(){return this.$d.toISOString()},ie.toString=function(){return this.$d.toUTCString()},J})(),X=W.prototype;return H.prototype=X,[["$ms",o],["$s",a],["$m",u],["$H",l],["$W",f],["$M",h],["$y",m],["$D",S]].forEach((function(J){X[J[1]]=function(ie){return this.$g(ie,J[0],J[1])}})),H.extend=function(J,ie){return J.$i||(J(ie,W,H),J.$i=!0),H},H.locale=$,H.isDayjs=N,H.unix=function(J){return H(1e3*J)},H.en=P[R],H.Ls=P,H.p={},H}))})(Jv)),Jv.exports}var Rbe=Abe();const lr=Hn(Rbe);var Zv={exports:{}},xbe=Zv.exports,hK;function Cbe(){return hK||(hK=1,(function(e,t){(function(r,n){e.exports=n()})(xbe,(function(){return function(r,n){var i=n.prototype,o=i.format;i.format=function(a){var u=this,l=this.$locale();if(!this.isValid())return o.bind(this)(a);var f=this.$utils(),d=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(h){switch(h){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return l.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return l.ordinal(u.week(),"W");case"w":case"ww":return f.s(u.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(u.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.s(String(u.$H===0?24:u.$H),h==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return h}}));return o.bind(this)(d)}}}))})(Zv)),Zv.exports}var Obe=Cbe();const Ibe=Hn(Obe);var eg={exports:{}},Pbe=eg.exports,pK;function kbe(){return pK||(pK=1,(function(e,t){(function(r,n){e.exports=n()})(Pbe,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,u={},l=function(E){return(E=+E)+(E>68?1900:2e3)},f=function(E){return function(_){this[E]=+_}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=(function(_){if(!_||_==="Z")return 0;var w=_.match(/([+-]|\d\d)/g),T=60*w[1]+(+w[2]||0);return T===0?0:w[0]==="+"?-T:T})(E)}],h=function(E){var _=u[E];return _&&(_.indexOf?_:_.s.concat(_.f))},p=function(E,_){var w,T=u.meridiem;if(T){for(var C=1;C<=24;C+=1)if(E.indexOf(T(C,0,_))>-1){w=C>12;break}}else w=E===(_?"pm":"PM");return w},m={A:[a,function(E){this.afternoon=p(E,!1)}],a:[a,function(E){this.afternoon=p(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[i,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[o,f("seconds")],ss:[o,f("seconds")],m:[o,f("minutes")],mm:[o,f("minutes")],H:[o,f("hours")],h:[o,f("hours")],HH:[o,f("hours")],hh:[o,f("hours")],D:[o,f("day")],DD:[i,f("day")],Do:[a,function(E){var _=u.ordinal,w=E.match(/\d+/);if(this.day=w[0],_)for(var T=1;T<=31;T+=1)_(T).replace(/\[|\]/g,"")===E&&(this.day=T)}],M:[o,f("month")],MM:[i,f("month")],MMM:[a,function(E){var _=h("months"),w=(h("monthsShort")||_.map((function(T){return T.slice(0,3)}))).indexOf(E)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[a,function(E){var _=h("months").indexOf(E)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,f("year")],YY:[i,function(E){this.year=l(E)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function S(E){var _,w;_=E,w=u&&u.formats;for(var T=(E=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,H,B){var W=B&&B.toUpperCase();return H||w[B]||r[B]||w[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(X,J,ie){return J||ie.slice(1)}))}))).match(n),C=T.length,x=0;x<C;x+=1){var R=T[x],P=m[R],y=P&&P[0],N=P&&P[1];T[x]=N?{regex:y,parser:N}:R.replace(/^\[|\]$/g,"")}return function($){for(var H={},B=0,W=0;B<C;B+=1){var X=T[B];if(typeof X=="string")W+=X.length;else{var J=X.regex,ie=X.parser,ne=$.slice(W),pe=J.exec(ne)[0];ie.call(H,pe),$=$.replace(pe,"")}}return(function(K){var te=K.afternoon;if(te!==void 0){var z=K.hours;te?z<12&&(K.hours+=12):z===12&&(K.hours=0),delete K.afternoon}})(H),H}}return function(E,_,w){w.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(l=E.parseTwoDigitYear);var T=_.prototype,C=T.parse;T.parse=function(x){var R=x.date,P=x.utc,y=x.args;this.$u=P;var N=y[1];if(typeof N=="string"){var $=y[2]===!0,H=y[3]===!0,B=$||H,W=y[2];H&&(W=y[2]),u=this.$locale(),!$&&W&&(u=w.Ls[W]),this.$d=(function(ne,pe,K){try{if(["x","X"].indexOf(pe)>-1)return new Date((pe==="X"?1e3:1)*ne);var te=S(pe)(ne),z=te.year,ce=te.month,Se=te.day,Le=te.hours,Be=te.minutes,Xe=te.seconds,oe=te.milliseconds,O=te.zone,I=new Date,M=Se||(z||ce?1:I.getDate()),k=z||I.getFullYear(),U=0;z&&!ce||(U=ce>0?ce-1:I.getMonth());var Y=Le||0,ae=Be||0,Ee=Xe||0,me=oe||0;return O?new Date(Date.UTC(k,U,M,Y,ae,Ee,me+60*O.offset*1e3)):K?new Date(Date.UTC(k,U,M,Y,ae,Ee,me)):new Date(k,U,M,Y,ae,Ee,me)}catch{return new Date("")}})(R,N,P),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),B&&R!=this.format(N)&&(this.$d=new Date("")),u={}}else if(N instanceof Array)for(var X=N.length,J=1;J<=X;J+=1){y[1]=N[J-1];var ie=w.apply(this,y);if(ie.isValid()){this.$d=ie.$d,this.$L=ie.$L,this.init();break}J===X&&(this.$d=new Date(""))}else C.call(this,x)}}}))})(eg)),eg.exports}var Dbe=kbe();const Sre=Hn(Dbe);var tg={exports:{}},Lbe=tg.exports,vK;function Nbe(){return vK||(vK=1,(function(e,t){(function(r,n){e.exports=n()})(Lbe,(function(){var r,n,i=1e3,o=6e4,a=36e5,u=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=31536e6,d=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,p={years:f,months:d,days:u,hours:a,minutes:o,seconds:i,milliseconds:1,weeks:6048e5},m=function(P){return P instanceof x},S=function(P,y,N){return new x(P,N,y.$l)},E=function(P){return n.p(P)+"s"},_=function(P){return P<0},w=function(P){return _(P)?Math.ceil(P):Math.floor(P)},T=function(P){return Math.abs(P)},C=function(P,y){return P?_(P)?{negative:!0,format:""+T(P)+y}:{negative:!1,format:""+P+y}:{negative:!1,format:""}},x=(function(){function P(N,$,H){var B=this;if(this.$d={},this.$l=H,N===void 0&&(this.$ms=0,this.parseFromMilliseconds()),$)return S(N*p[E($)],this);if(typeof N=="number")return this.$ms=N,this.parseFromMilliseconds(),this;if(typeof N=="object")return Object.keys(N).forEach((function(J){B.$d[E(J)]=N[J]})),this.calMilliseconds(),this;if(typeof N=="string"){var W=N.match(h);if(W){var X=W.slice(2).map((function(J){return J!=null?Number(J):0}));return this.$d.years=X[0],this.$d.months=X[1],this.$d.weeks=X[2],this.$d.days=X[3],this.$d.hours=X[4],this.$d.minutes=X[5],this.$d.seconds=X[6],this.calMilliseconds(),this}}return this}var y=P.prototype;return y.calMilliseconds=function(){var N=this;this.$ms=Object.keys(this.$d).reduce((function($,H){return $+(N.$d[H]||0)*p[H]}),0)},y.parseFromMilliseconds=function(){var N=this.$ms;this.$d.years=w(N/f),N%=f,this.$d.months=w(N/d),N%=d,this.$d.days=w(N/u),N%=u,this.$d.hours=w(N/a),N%=a,this.$d.minutes=w(N/o),N%=o,this.$d.seconds=w(N/i),N%=i,this.$d.milliseconds=N},y.toISOString=function(){var N=C(this.$d.years,"Y"),$=C(this.$d.months,"M"),H=+this.$d.days||0;this.$d.weeks&&(H+=7*this.$d.weeks);var B=C(H,"D"),W=C(this.$d.hours,"H"),X=C(this.$d.minutes,"M"),J=this.$d.seconds||0;this.$d.milliseconds&&(J+=this.$d.milliseconds/1e3,J=Math.round(1e3*J)/1e3);var ie=C(J,"S"),ne=N.negative||$.negative||B.negative||W.negative||X.negative||ie.negative,pe=W.format||X.format||ie.format?"T":"",K=(ne?"-":"")+"P"+N.format+$.format+B.format+pe+W.format+X.format+ie.format;return K==="P"||K==="-P"?"P0D":K},y.toJSON=function(){return this.toISOString()},y.format=function(N){var $=N||"YYYY-MM-DDTHH:mm:ss",H={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return $.replace(l,(function(B,W){return W||String(H[B])}))},y.as=function(N){return this.$ms/p[E(N)]},y.get=function(N){var $=this.$ms,H=E(N);return H==="milliseconds"?$%=1e3:$=H==="weeks"?w($/p[H]):this.$d[H],$||0},y.add=function(N,$,H){var B;return B=$?N*p[E($)]:m(N)?N.$ms:S(N,this).$ms,S(this.$ms+B*(H?-1:1),this)},y.subtract=function(N,$){return this.add(N,$,!0)},y.locale=function(N){var $=this.clone();return $.$l=N,$},y.clone=function(){return S(this.$ms,this)},y.humanize=function(N){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!N)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},P})(),R=function(P,y,N){return P.add(y.years()*N,"y").add(y.months()*N,"M").add(y.days()*N,"d").add(y.hours()*N,"h").add(y.minutes()*N,"m").add(y.seconds()*N,"s").add(y.milliseconds()*N,"ms")};return function(P,y,N){r=N,n=N().$utils(),N.duration=function(B,W){var X=N.locale();return S(B,{$l:X},W)},N.isDuration=m;var $=y.prototype.add,H=y.prototype.subtract;y.prototype.add=function(B,W){return m(B)?R(this,B,1):$.bind(this)(B,W)},y.prototype.subtract=function(B,W){return m(B)?R(this,B,-1):H.bind(this)(B,W)}}}))})(tg)),tg.exports}var Mbe=Nbe();const $be=Hn(Mbe);var rg={exports:{}},Fbe=rg.exports,gK;function jbe(){return gK||(gK=1,(function(e,t){(function(r,n){e.exports=n()})(Fbe,(function(){return function(r,n,i){n.prototype.isBetween=function(o,a,u,l){var f=i(o),d=i(a),h=(l=l||"()")[0]==="(",p=l[1]===")";return(h?this.isAfter(f,u):!this.isBefore(f,u))&&(p?this.isBefore(d,u):!this.isAfter(d,u))||(h?this.isBefore(f,u):!this.isAfter(f,u))&&(p?this.isAfter(d,u):!this.isBefore(d,u))}}}))})(rg)),rg.exports}var Ube=jbe();const qbe=Hn(Ube);var ng={exports:{}},Bbe=ng.exports,mK;function Vbe(){return mK||(mK=1,(function(e,t){(function(r,n){e.exports=n()})(Bbe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}}))})(ng)),ng.exports}var Hbe=Vbe();const zbe=Hn(Hbe);var ig={exports:{}},Wbe=ig.exports,yK;function Gbe(){return yK||(yK=1,(function(e,t){(function(r,n){e.exports=n()})(Wbe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}}))})(ig)),ig.exports}var Kbe=Gbe();const Ybe=Hn(Kbe);var ag={exports:{}},Xbe=ag.exports,_K;function Qbe(){return _K||(_K=1,(function(e,t){(function(r,n){e.exports=n()})(Xbe,(function(){return function(r,n,i){var o=n.prototype,a=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,p,m,S,E){var _=h.name?h:h.$locale(),w=a(_[p]),T=a(_[m]),C=w||T.map((function(R){return R.slice(0,S)}));if(!E)return C;var x=_.weekStart;return C.map((function(R,P){return C[(P+(x||0))%7]}))},l=function(){return i.Ls[i.locale()]},f=function(h,p){return h.formats[p]||(function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,E,_){return E||_.slice(1)}))})(h.formats[p.toUpperCase()])},d=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):u(h,"months")},monthsShort:function(p){return p?p.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):u(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return f(h.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=l();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(p){return f(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return u(l(),"months")},i.monthsShort=function(){return u(l(),"monthsShort","months",3)},i.weekdays=function(h){return u(l(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return u(l(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return u(l(),"weekdaysMin","weekdays",2,h)}}}))})(ag)),ag.exports}var Jbe=Qbe();const Zbe=Hn(Jbe);var og={exports:{}},eTe=og.exports,EK;function tTe(){return EK||(EK=1,(function(e,t){(function(r,n){e.exports=n()})(eTe,(function(){return function(r,n,i){r=r||{};var o=n.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(f,d,h,p){return o.fromToBase(f,d,h,p)}i.en.relativeTime=a,o.fromToBase=function(f,d,h,p,m){for(var S,E,_,w=h.$locale().relativeTime||a,T=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],C=T.length,x=0;x<C;x+=1){var R=T[x];R.d&&(S=p?i(f).diff(h,R.d,!0):h.diff(f,R.d,!0));var P=(r.rounding||Math.round)(Math.abs(S));if(_=S>0,P<=R.r||!R.r){P<=1&&x>0&&(R=T[x-1]);var y=w[R.l];m&&(P=m(""+P)),E=typeof y=="string"?y.replace("%d",P):y(P,d,R.l,_);break}}if(d)return E;var N=_?w.future:w.past;return typeof N=="function"?N(E):N.replace("%s",E)},o.to=function(f,d){return u(f,d,this,!0)},o.from=function(f,d){return u(f,d,this)};var l=function(f){return f.$u?i.utc():i()};o.toNow=function(f){return this.to(l(this),f)},o.fromNow=function(f){return this.from(l(this),f)}}}))})(og)),og.exports}var rTe=tTe();const nTe=Hn(rTe);var sg={exports:{}},iTe=sg.exports,SK;function aTe(){return SK||(SK=1,(function(e,t){(function(r,n){e.exports=n()})(iTe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,o,a){var u,l=function(p,m,S){S===void 0&&(S={});var E=new Date(p),_=(function(w,T){T===void 0&&(T={});var C=T.timeZoneName||"short",x=w+"|"+C,R=n[x];return R||(R=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:C}),n[x]=R),R})(m,S);return _.formatToParts(E)},f=function(p,m){for(var S=l(p,m),E=[],_=0;_<S.length;_+=1){var w=S[_],T=w.type,C=w.value,x=r[T];x>=0&&(E[x]=parseInt(C,10))}var R=E[3],P=R===24?0:R,y=E[0]+"-"+E[1]+"-"+E[2]+" "+P+":"+E[4]+":"+E[5]+":000",N=+p;return(a.utc(y).valueOf()-(N-=N%1e3))/6e4},d=o.prototype;d.tz=function(p,m){p===void 0&&(p=u);var S=this.utcOffset(),E=this.toDate(),_=E.toLocaleString("en-US",{timeZone:p}),w=Math.round((E-new Date(_))/1e3/60),T=a(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-w,!0);if(m){var C=T.utcOffset();T=T.add(S-C,"minute")}return T.$x.$timezone=p,T},d.offsetName=function(p){var m=this.$x.$timezone||a.tz.guess(),S=l(this.valueOf(),m,{timeZoneName:p}).find((function(E){return E.type.toLowerCase()==="timezonename"}));return S&&S.value};var h=d.startOf;d.startOf=function(p,m){if(!this.$x||!this.$x.$timezone)return h.call(this,p,m);var S=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(S,p,m).tz(this.$x.$timezone,!0)},a.tz=function(p,m,S){var E=S&&m,_=S||m||u,w=f(+a(),_);if(typeof p!="string")return a(p).tz(_);var T=(function(P,y,N){var $=P-60*y*1e3,H=f($,N);if(y===H)return[$,y];var B=f($-=60*(H-y)*1e3,N);return H===B?[$,H]:[P-60*Math.min(H,B)*1e3,Math.max(H,B)]})(a.utc(p,E).valueOf(),w,_),C=T[0],x=T[1],R=a(C).utcOffset(x);return R.$x.$timezone=_,R},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(p){u=p}}}))})(sg)),sg.exports}var oTe=aTe();const sTe=Hn(oTe);var ug={exports:{}},uTe=ug.exports,wK;function lTe(){return wK||(wK=1,(function(e,t){(function(r,n){e.exports=n()})(uTe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,a,u){var l=a.prototype;u.utc=function(E){var _={date:E,utc:!0,args:arguments};return new a(_)},l.utc=function(E){var _=u(this.toDate(),{locale:this.$L,utc:!0});return E?_.add(this.utcOffset(),r):_},l.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var f=l.parse;l.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),f.call(this,E)};var d=l.init;l.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else d.call(this)};var h=l.utcOffset;l.utcOffset=function(E,_){var w=this.$utils().u;if(w(E))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof E=="string"&&(E=(function(R){R===void 0&&(R="");var P=R.match(n);if(!P)return null;var y=(""+P[0]).match(i)||["-",0,0],N=y[0],$=60*+y[1]+ +y[2];return $===0?0:N==="+"?$:-$})(E),E===null))return this;var T=Math.abs(E)<=16?60*E:E,C=this;if(_)return C.$offset=T,C.$u=E===0,C;if(E!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(C=this.local().add(T+x,r)).$offset=T,C.$x.$localOffset=x}else C=this.utc();return C};var p=l.format;l.format=function(E){var _=E||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,_)},l.valueOf=function(){var E=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*E},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var m=l.toDate;l.toDate=function(E){return E==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var S=l.diff;l.diff=function(E,_,w){if(E&&this.$u===E.$u)return S.call(this,E,_,w);var T=this.local(),C=u(E).local();return S.call(T,C,_,w)}}}))})(ug)),ug.exports}var cTe=lTe();const fTe=Hn(cTe);var lg={exports:{}},dTe=lg.exports,bK;function hTe(){return bK||(bK=1,(function(e,t){(function(r,n){e.exports=n()})(dTe,(function(){return function(r,n){n.prototype.weekday=function(i){var o=this.$locale().weekStart||0,a=this.$W,u=(a<o?a+7:a)-o;return this.$utils().u(i)?u:this.subtract(u,"day").add(i,"day")}}}))})(lg)),lg.exports}var pTe=hTe();const vTe=Hn(pTe);let Rv;const gTe={"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"}},mTe={getCurrentRegion(){return Rv},setCurrentRegion(e){Rv=e},updateFormatByRegion(e){var r;return Rv&&((r=gTe[e])==null?void 0:r[Rv])||e}};lr.extend(Ibe);lr.extend(Sre);lr.extend(nTe);lr.extend(zbe);lr.extend(qbe);lr.extend(vTe);lr.extend(Zbe);lr.extend(Ybe);lr.extend(Sre);lr.extend($be);lr.extend(fTe);lr.extend(sTe);const yTe=/[\[\]]/g;function _Te(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 el={add(e,t,r){return lr(e).add(t,r).toDate()},subtract(e,t,r){return lr(e).subtract(t,r).toDate()},format(e,t){return lr(e).format(mTe.updateFormatByRegion(t))},formatToISODate(e){return lr(e).format("YYYY-MM-DD")},isValid(e){return lr(e).isValid()},formatIsValid(e,t,r){return lr(e,t,r).isValid()},fromNow(e,t){return lr(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),i=t.getTimezoneOffset()>0,a=Math.abs(t.getTimezoneOffset())/60,u=Math.floor(a),l=Math.floor((a-u)*60);let f=r+u,d=n+l;return i&&(f=r-u,d=n-l),t.setHours(f),t.setMinutes(d),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=lr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=lr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return lr(e).isSame(lr(t),r)},isSameOrBefore(e,t,r){return lr(e).isSameOrBefore(lr(t),r)},isToday(e){return lr().isSame(lr(e),"day")},isBetween(e,t,r){return lr(e).isSameOrAfter(lr(t))&&lr(e).isSameOrBefore(lr(r))},timeSince(e,t,r){const n=lr(e);return lr().diff(n,t,r)},startOf(e,t){return lr(e).startOf(t).toDate()},endOf(e,t){return lr(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 lr(e).weekday(t).toDate()},getWeekday(e){return lr(e).weekday()},daysInMonth(e){return lr(e).daysInMonth()},get(e,t){return lr(e).get(t)},set(e,t,r){return lr(e).set(t,r).toDate()},diffBetween(e,t,r){return lr(e).diff(lr(t),r)},getLocalDateOrdinal(e){return lr.localeData().ordinal(e).replace(yTe,"")},parseDateString(e,t){return e?lr(e,t).toDate():lr().toDate()},getDurationISOString(e,t){return lr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return lr.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 lr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=_Te(e);switch(t){case"milliseconds":return lr.duration(r).asMilliseconds();case"seconds":return lr.duration(r).asSeconds();case"hours":return lr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=lr().day(e).hour(t).minute(r).utc().toDate();return el.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return lr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return lr(e).utc().toISOString()},formatUtc(e,t){return lr(e).utc().format(t)},formatUtcString(e,t){return lr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return lr.duration(e,t).hours();case"minutes":return lr.duration(e,t).minutes();case"seconds":return lr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return lr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return lr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?lr.utc(e).tz(r).format(t):lr.utc(e).format(t)},getUtcStringByTimezone(e,t){return lr.tz(e,t).utc().toISOString()}},nx={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var $l=(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))($l||{});const ETe=/\/$/,ys={urlBuilder(e,t){const n=Object.entries(t).map(([i,o])=>i&&Array.isArray(o)?o.map(u=>`${i}=${encodeURIComponent(u)}`).join("&"):i&&o!==void 0&&o!==null?`${i}=${encodeURIComponent(o)}`:"").reduce((i,o)=>o?i?`${i}&${o}`:o:i,"");return n?`${e}?${n}`:e},buildFilter(e){const t=[];if(e.limit&&t.push(`limit:${e.limit}`),e.cursor&&t.push(`page:${e.cursor}`),e.before&&t.push(`dateCreated:...${e.before}`),!!t.length)return t.join(",")},makeHttps(e){return typeof e!="string"||e.indexOf("http://")===-1||(e=e.replace("http://","https://")),e},safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r},removeTrailingSlash(e){if(typeof e=="string")return e.replace(ETe,"")}};function STe(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 wTe={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=Nn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Ti.getCurrentAppLink(),n=STe(r.params,e.allowedParams);let i=Ti.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),ys.safeUrlConcat(t,i)}};function $I(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Ic=$I();function wre(e){Ic=e}const fh={exec:()=>null};function Mn(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(Na.caret,"$1"),r=r.replace(i,a),n},getRegex:()=>new RegExp(r,t)};return n}const Na={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")},bTe=/^(?:[ \t]*(?:\n|$))+/,TTe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ATe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,pp=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,RTe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bre=/(?:[*+-]|\d{1,9}[.)])/,Tre=Mn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bre).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(),FI=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,xTe=/^[^\n]+/,jI=/(?!\s*\])(?:\\.|[^\[\]\\])+/,CTe=Mn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",jI).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),OTe=Mn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bre).getRegex(),fy="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",UI=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ITe=Mn("^ {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",UI).replace("tag",fy).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Are=Mn(FI).replace("hr",pp).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",fy).getRegex(),PTe=Mn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Are).getRegex(),qI={blockquote:PTe,code:TTe,def:CTe,fences:ATe,heading:RTe,hr:pp,html:ITe,lheading:Tre,list:OTe,newline:bTe,paragraph:Are,table:fh,text:xTe},TK=Mn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",pp).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",fy).getRegex(),kTe={...qI,table:TK,paragraph:Mn(FI).replace("hr",pp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",TK).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",fy).getRegex()},DTe={...qI,html:Mn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",UI).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:fh,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Mn(FI).replace("hr",pp).replace("heading",` *#{1,6} *[^
|
|
153
|
-
]`).replace("lheading",Tre).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},LTe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,NTe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Rre=/^( {2,}|\\)\n(?!\s*$)/,MTe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,dy=/[\p{P}\p{S}]/u,BI=/[\s\p{P}\p{S}]/u,xre=/[^\s\p{P}\p{S}]/u,$Te=Mn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,BI).getRegex(),Cre=/(?!~)[\p{P}\p{S}]/u,FTe=/(?!~)[\s\p{P}\p{S}]/u,jTe=/(?:[^\s\p{P}\p{S}]|~)/u,UTe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Ore=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qTe=Mn(Ore,"u").replace(/punct/g,dy).getRegex(),BTe=Mn(Ore,"u").replace(/punct/g,Cre).getRegex(),Ire="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",VTe=Mn(Ire,"gu").replace(/notPunctSpace/g,xre).replace(/punctSpace/g,BI).replace(/punct/g,dy).getRegex(),HTe=Mn(Ire,"gu").replace(/notPunctSpace/g,jTe).replace(/punctSpace/g,FTe).replace(/punct/g,Cre).getRegex(),zTe=Mn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,xre).replace(/punctSpace/g,BI).replace(/punct/g,dy).getRegex(),WTe=Mn(/\\(punct)/,"gu").replace(/punct/g,dy).getRegex(),GTe=Mn(/^<(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(),KTe=Mn(UI).replace("(?:-->|$)","-->").getRegex(),YTe=Mn("^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",KTe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Dg=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,XTe=Mn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Dg).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Pre=Mn(/^!?\[(label)\]\[(ref)\]/).replace("label",Dg).replace("ref",jI).getRegex(),kre=Mn(/^!?\[(ref)\](?:\[\])?/).replace("ref",jI).getRegex(),QTe=Mn("reflink|nolink(?!\\()","g").replace("reflink",Pre).replace("nolink",kre).getRegex(),VI={_backpedal:fh,anyPunctuation:WTe,autolink:GTe,blockSkip:UTe,br:Rre,code:NTe,del:fh,emStrongLDelim:qTe,emStrongRDelimAst:VTe,emStrongRDelimUnd:zTe,escape:LTe,link:XTe,nolink:kre,punctuation:$Te,reflink:Pre,reflinkSearch:QTe,tag:YTe,text:MTe,url:fh},JTe={...VI,link:Mn(/^!?\[(label)\]\((.*?)\)/).replace("label",Dg).getRegex(),reflink:Mn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dg).getRegex()},vC={...VI,emStrongRDelimAst:HTe,emStrongLDelim:BTe,url:Mn(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},ZTe={...vC,br:Mn(Rre).replace("{2,}","*").getRegex(),text:Mn(vC.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},xv={normal:qI,gfm:kTe,pedantic:DTe},Kd={normal:VI,gfm:vC,breaks:ZTe,pedantic:JTe},eAe={"&":"&","<":"<",">":">",'"':""","'":"'"},AK=e=>eAe[e];function Ps(e,t){if(t){if(Na.escapeTest.test(e))return e.replace(Na.escapeReplace,AK)}else if(Na.escapeTestNoEncode.test(e))return e.replace(Na.escapeReplaceNoEncode,AK);return e}function RK(e){try{e=encodeURI(e).replace(Na.percentDecode,"%")}catch{return null}return e}function xK(e,t){var o;const r=e.replace(Na.findPipe,(a,u,l)=>{let f=!1,d=u;for(;--d>=0&&l[d]==="\\";)f=!f;return f?"|":" |"}),n=r.split(Na.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(Na.slashPipe,"|");return n}function Yd(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 tAe(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 CK(e,t,r,n,i){const o=t.href,a=t.title||null,u=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const l={type:"link",raw:r,href:o,title:a,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,l}return{type:"image",raw:r,href:o,title:a,text:u}}function rAe(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
|
|
154
|
-
`).map(o=>{const a=o.match(r.other.beginningSpace);if(a===null)return o;const[u]=a;return u.length>=i.length?o.slice(i.length):o}).join(`
|
|
155
|
-
`)}class Lg{constructor(t){Sn(this,"options");Sn(this,"rules");Sn(this,"lexer");this.options=t||Ic}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:Yd(n,`
|
|
156
|
-
`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=rAe(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=Yd(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:Yd(r[0],`
|
|
157
|
-
`)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=Yd(r[0],`
|
|
158
|
-
`).split(`
|
|
159
|
-
`),i="",o="";const a=[];for(;n.length>0;){let u=!1;const l=[];let f;for(f=0;f<n.length;f++)if(this.rules.other.blockquoteStart.test(n[f]))l.push(n[f]),u=!0;else if(!u)l.push(n[f]);else break;n=n.slice(f);const d=l.join(`
|
|
160
|
-
`),h=d.replace(this.rules.other.blockquoteSetextReplace,`
|
|
161
|
-
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
|
|
162
|
-
${d}`:d,o=o?`${o}
|
|
163
|
-
${h}`:h;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,a,!0),this.lexer.state.top=p,n.length===0)break;const m=a.at(-1);if((m==null?void 0:m.type)==="code")break;if((m==null?void 0:m.type)==="blockquote"){const S=m,E=S.raw+`
|
|
164
|
-
`+n.join(`
|
|
165
|
-
`),_=this.blockquote(E);a[a.length-1]=_,i=i.substring(0,i.length-S.raw.length)+_.raw,o=o.substring(0,o.length-S.text.length)+_.text;break}else if((m==null?void 0:m.type)==="list"){const S=m,E=S.raw+`
|
|
166
|
-
`+n.join(`
|
|
167
|
-
`),_=this.list(E);a[a.length-1]=_,i=i.substring(0,i.length-m.raw.length)+_.raw,o=o.substring(0,o.length-S.raw.length)+_.raw,n=E.substring(a.at(-1).raw.length).split(`
|
|
168
|
-
`);continue}}return{type:"blockquote",raw:i,tokens:a,text:o}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,o={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const a=this.rules.other.listItemRegex(n);let u=!1;for(;t;){let f=!1,d="",h="";if(!(r=a.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let p=r[2].split(`
|
|
169
|
-
`,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),m=t.split(`
|
|
170
|
-
`,1)[0],S=!p.trim(),E=0;if(this.options.pedantic?(E=2,h=p.trimStart()):S?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,h=p.slice(E),E+=r[1].length),S&&this.rules.other.blankLine.test(m)&&(d+=m+`
|
|
171
|
-
`,t=t.substring(m.length+1),f=!0),!f){const T=this.rules.other.nextBulletRegex(E),C=this.rules.other.hrRegex(E),x=this.rules.other.fencesBeginRegex(E),R=this.rules.other.headingBeginRegex(E),P=this.rules.other.htmlBeginRegex(E);for(;t;){const y=t.split(`
|
|
172
|
-
`,1)[0];let N;if(m=y,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),N=m):N=m.replace(this.rules.other.tabCharGlobal," "),x.test(m)||R.test(m)||P.test(m)||T.test(m)||C.test(m))break;if(N.search(this.rules.other.nonSpaceChar)>=E||!m.trim())h+=`
|
|
173
|
-
`+N.slice(E);else{if(S||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||x.test(p)||R.test(p)||C.test(p))break;h+=`
|
|
174
|
-
`+m}!S&&!m.trim()&&(S=!0),d+=y+`
|
|
175
|
-
`,t=t.substring(y.length+1),p=N.slice(E)}}o.loose||(u?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(u=!0));let _=null,w;this.options.gfm&&(_=this.rules.other.listIsTask.exec(h),_&&(w=_[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!_,checked:w,loose:!1,text:h,tokens:[]}),o.raw+=d}const l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let f=0;f<o.items.length;f++)if(this.lexer.state.top=!1,o.items[f].tokens=this.lexer.blockTokens(o.items[f].text,[]),!o.loose){const d=o.items[f].tokens.filter(p=>p.type==="space"),h=d.length>0&&d.some(p=>this.rules.other.anyLine.test(p.raw));o.loose=h}if(o.loose)for(let f=0;f<o.items.length;f++)o.items[f].loose=!0;return o}}html(t){const r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){const r=this.rules.block.def.exec(t);if(r){const n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:o}}}table(t){var u;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=xK(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(u=r[3])!=null&&u.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
176
|
-
`):[],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(xK(l,a.header.length).map((f,d)=>({text:f,tokens:this.lexer.inline(f),header:!1,align:a.align[d]})));return a}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const n=r[1].charAt(r[1].length-1)===`
|
|
177
|
-
`?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=Yd(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{const a=tAe(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)),CK(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 CK(n,o,n[0],this.lexer,this.rules)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const a=[...i[0]].length-1;let u,l,f=a,d=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,r=r.slice(-1*t.length+a);(i=h.exec(r))!=null;){if(u=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!u)continue;if(l=[...u].length,i[3]||i[4]){f+=l;continue}else if((i[5]||i[6])&&a%3&&!((a+l)%3)){d+=l;continue}if(f-=l,f>0)continue;l=Math.min(l,l+f+d);const p=[...i[0]][0].length,m=t.slice(0,a+i.index+p+l);if(Math.min(a,l)%2){const E=m.slice(1,-1);return{type:"em",raw:m,text:E,tokens:this.lexer.inlineTokens(E)}}const S=m.slice(2,-2);return{type:"strong",raw:m,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),o=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&o&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let i,o;if(r[2]==="@")i=r[0],o="mailto:"+i;else{let a;do a=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(a!==r[0]);i=r[0],r[1]==="www."?o="http://"+r[0]:o=r[0]}return{type:"link",raw:r[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){const n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}}class Xo{constructor(t){Sn(this,"tokens");Sn(this,"options");Sn(this,"state");Sn(this,"tokenizer");Sn(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Ic,this.options.tokenizer=this.options.tokenizer||new Lg,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:Na,block:xv.normal,inline:Kd.normal};this.options.pedantic?(r.block=xv.pedantic,r.inline=Kd.pedantic):this.options.gfm&&(r.block=xv.gfm,this.options.breaks?r.inline=Kd.breaks:r.inline=Kd.gfm),this.tokenizer.rules=r}static get rules(){return{block:xv,inline:Kd}}static lex(t,r){return new Xo(r).lex(t)}static lexInline(t,r){return new Xo(r).inlineTokens(t)}lex(t){t=t.replace(Na.carriageReturn,`
|
|
178
|
-
`),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(Na.tabCharGlobal," ").replace(Na.spaceLine,""));t;){let u;if((o=(i=this.options.extensions)==null?void 0:i.block)!=null&&o.some(f=>(u=f.call({lexer:this},t,r))?(t=t.substring(u.raw.length),r.push(u),!0):!1))continue;if(u=this.tokenizer.space(t)){t=t.substring(u.raw.length);const f=r.at(-1);u.raw.length===1&&f!==void 0?f.raw+=`
|
|
179
|
-
`:r.push(u);continue}if(u=this.tokenizer.code(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
|
|
180
|
-
`+u.raw,f.text+=`
|
|
181
|
-
`+u.text,this.inlineQueue.at(-1).src=f.text):r.push(u);continue}if(u=this.tokenizer.fences(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.heading(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.hr(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.blockquote(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.list(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.html(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.def(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
|
|
182
|
-
`+u.raw,f.text+=`
|
|
183
|
-
`+u.raw,this.inlineQueue.at(-1).src=f.text):this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title});continue}if(u=this.tokenizer.table(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.lheading(t)){t=t.substring(u.raw.length),r.push(u);continue}let l=t;if((a=this.options.extensions)!=null&&a.startBlock){let f=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(p=>{h=p.call({lexer:this},d),typeof h=="number"&&h>=0&&(f=Math.min(f,h))}),f<1/0&&f>=0&&(l=t.substring(0,f+1))}if(this.state.top&&(u=this.tokenizer.paragraph(l))){const f=r.at(-1);n&&(f==null?void 0:f.type)==="paragraph"?(f.raw+=`
|
|
184
|
-
`+u.raw,f.text+=`
|
|
185
|
-
`+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(u),n=l.length!==t.length,t=t.substring(u.raw.length);continue}if(u=this.tokenizer.text(t)){t=t.substring(u.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=`
|
|
186
|
-
`+u.raw,f.text+=`
|
|
187
|
-
`+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(u);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var u,l,f;let n=t,i=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,a="";for(;t;){o||(a=""),o=!1;let d;if((l=(u=this.options.extensions)==null?void 0:u.inline)!=null&&l.some(p=>(d=p.call({lexer:this},t,r))?(t=t.substring(d.raw.length),r.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const p=r.at(-1);d.type==="text"&&(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):r.push(d);continue}if(d=this.tokenizer.emStrong(t,n,a)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),r.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),r.push(d);continue}let h=t;if((f=this.options.extensions)!=null&&f.startInline){let p=1/0;const m=t.slice(1);let S;this.options.extensions.startInline.forEach(E=>{S=E.call({lexer:this},m),typeof S=="number"&&S>=0&&(p=Math.min(p,S))}),p<1/0&&p>=0&&(h=t.substring(0,p+1))}if(d=this.tokenizer.inlineText(h)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(a=d.raw.slice(-1)),o=!0;const p=r.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):r.push(d);continue}if(t){const p="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return r}}class Ng{constructor(t){Sn(this,"options");Sn(this,"parser");this.options=t||Ic}space(t){return""}code({text:t,lang:r,escaped:n}){var a;const i=(a=(r||"").match(Na.notSpaceStart))==null?void 0:a[0],o=t.replace(Na.endingNewline,"")+`
|
|
188
|
-
`;return i?'<pre><code class="language-'+Ps(i)+'">'+(n?o:Ps(o,!0))+`</code></pre>
|
|
189
|
-
`:"<pre><code>"+(n?o:Ps(o,!0))+`</code></pre>
|
|
190
|
-
`}blockquote({tokens:t}){return`<blockquote>
|
|
191
|
-
${this.parser.parse(t)}</blockquote>
|
|
192
|
-
`}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
|
|
193
|
-
`}hr(t){return`<hr>
|
|
194
|
-
`}list(t){const r=t.ordered,n=t.start;let i="";for(let u=0;u<t.items.length;u++){const l=t.items[u];i+=this.listitem(l)}const o=r?"ol":"ul",a=r&&n!==1?' start="'+n+'"':"";return"<"+o+a+`>
|
|
195
|
-
`+i+"</"+o+`>
|
|
196
|
-
`}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+" "+Ps(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>
|
|
197
|
-
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
198
|
-
`}table(t){let r="",n="";for(let o=0;o<t.header.length;o++)n+=this.tablecell(t.header[o]);r+=this.tablerow({text:n});let i="";for(let o=0;o<t.rows.length;o++){const a=t.rows[o];n="";for(let u=0;u<a.length;u++)n+=this.tablecell(a[u]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
|
|
199
|
-
<thead>
|
|
200
|
-
`+r+`</thead>
|
|
201
|
-
`+i+`</table>
|
|
202
|
-
`}tablerow({text:t}){return`<tr>
|
|
203
|
-
${t}</tr>
|
|
204
|
-
`}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
|
|
205
|
-
`}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>${Ps(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=RK(t);if(o===null)return i;t=o;let a='<a href="'+t+'"';return r&&(a+=' title="'+Ps(r)+'"'),a+=">"+i+"</a>",a}image({href:t,title:r,text:n}){const i=RK(t);if(i===null)return Ps(n);t=i;let o=`<img src="${t}" alt="${n}"`;return r&&(o+=` title="${Ps(r)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:Ps(t.text)}}class HI{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 Qo{constructor(t){Sn(this,"options");Sn(this,"renderer");Sn(this,"textRenderer");this.options=t||Ic,this.options.renderer=this.options.renderer||new Ng,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new HI}static parse(t,r){return new Qo(r).parse(t)}static parseInline(t,r){return new Qo(r).parseInline(t)}parse(t,r=!0){var i,o;let n="";for(let a=0;a<t.length;a++){const u=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[u.type]){const f=u,d=this.options.extensions.renderers[f.type].call({parser:this},f);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type)){n+=d||"";continue}}const l=u;switch(l.type){case"space":{n+=this.renderer.space(l);continue}case"hr":{n+=this.renderer.hr(l);continue}case"heading":{n+=this.renderer.heading(l);continue}case"code":{n+=this.renderer.code(l);continue}case"table":{n+=this.renderer.table(l);continue}case"blockquote":{n+=this.renderer.blockquote(l);continue}case"list":{n+=this.renderer.list(l);continue}case"html":{n+=this.renderer.html(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let f=l,d=this.renderer.text(f);for(;a+1<t.length&&t[a+1].type==="text";)f=t[++a],d+=`
|
|
206
|
-
`+this.renderer.text(f);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const f='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}parseInline(t,r=this.renderer){var i,o;let n="";for(let a=0;a<t.length;a++){const u=t[a];if((o=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&o[u.type]){const f=this.options.extensions.renderers[u.type].call({parser:this},u);if(f!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)){n+=f||"";continue}}const l=u;switch(l.type){case"escape":{n+=r.text(l);break}case"html":{n+=r.html(l);break}case"link":{n+=r.link(l);break}case"image":{n+=r.image(l);break}case"strong":{n+=r.strong(l);break}case"em":{n+=r.em(l);break}case"codespan":{n+=r.codespan(l);break}case"br":{n+=r.br(l);break}case"del":{n+=r.del(l);break}case"text":{n+=r.text(l);break}default:{const f='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}}class dh{constructor(t){Sn(this,"options");Sn(this,"block");this.options=t||Ic}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Xo.lex:Xo.lexInline}provideParser(){return this.block?Qo.parse:Qo.parseInline}}Sn(dh,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Dre{constructor(...t){Sn(this,"defaults",$I());Sn(this,"options",this.setOptions);Sn(this,"parse",this.parseMarkdown(!0));Sn(this,"parseInline",this.parseMarkdown(!1));Sn(this,"Parser",Qo);Sn(this,"Renderer",Ng);Sn(this,"TextRenderer",HI);Sn(this,"Lexer",Xo);Sn(this,"Tokenizer",Lg);Sn(this,"Hooks",dh);this.use(...t)}walkTokens(t,r){var i,o;let n=[];for(const a of t)switch(n=n.concat(r.call(this,a)),a.type){case"table":{const u=a;for(const l of u.header)n=n.concat(this.walkTokens(l.tokens,r));for(const l of u.rows)for(const f of l)n=n.concat(this.walkTokens(f.tokens,r));break}case"list":{const u=a;n=n.concat(this.walkTokens(u.items,r));break}default:{const u=a;(o=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&o[u.type]?this.defaults.extensions.childTokens[u.type].forEach(l=>{const f=u[l].flat(1/0);n=n.concat(this.walkTokens(f,r))}):u.tokens&&(n=n.concat(this.walkTokens(u.tokens,r)))}}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const a=r.renderers[o.name];a?r.renderers[o.name]=function(...u){let l=o.renderer.apply(this,u);return l===!1&&(l=a.apply(this,u)),l}:r.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const a=r[o.level];a?a.unshift(o.tokenizer):r[o.level]=[o.tokenizer],o.start&&(o.level==="block"?r.startBlock?r.startBlock.push(o.start):r.startBlock=[o.start]:o.level==="inline"&&(r.startInline?r.startInline.push(o.start):r.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(r.childTokens[o.name]=o.childTokens)}),i.extensions=r),n.renderer){const o=this.defaults.renderer||new Ng(this.defaults);for(const a in n.renderer){if(!(a in o))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;const u=a,l=n.renderer[u],f=o[u];o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h||""}}i.renderer=o}if(n.tokenizer){const o=this.defaults.tokenizer||new Lg(this.defaults);for(const a in n.tokenizer){if(!(a in o))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;const u=a,l=n.tokenizer[u],f=o[u];o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h}}i.tokenizer=o}if(n.hooks){const o=this.defaults.hooks||new dh;for(const a in n.hooks){if(!(a in o))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;const u=a,l=n.hooks[u],f=o[u];dh.passThroughHooks.has(a)?o[u]=d=>{if(this.defaults.async)return Promise.resolve(l.call(o,d)).then(p=>f.call(o,p));const h=l.call(o,d);return f.call(o,h)}:o[u]=(...d)=>{let h=l.apply(o,d);return h===!1&&(h=f.apply(o,d)),h}}i.hooks=o}if(n.walkTokens){const o=this.defaults.walkTokens,a=n.walkTokens;i.walkTokens=function(u){let l=[];return l.push(a.call(this,u)),o&&(l=l.concat(o.call(this,u))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Xo.lex(t,r??this.defaults)}parser(t,r){return Qo.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const o={...i},a={...this.defaults,...o},u=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&o.async===!1)return u(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return u(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=t);const l=a.hooks?a.hooks.provideLexer():t?Xo.lex:Xo.lexInline,f=a.hooks?a.hooks.provideParser():t?Qo.parse:Qo.parseInline;if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then(d=>l(d,a)).then(d=>a.hooks?a.hooks.processAllTokens(d):d).then(d=>a.walkTokens?Promise.all(this.walkTokens(d,a.walkTokens)).then(()=>d):d).then(d=>f(d,a)).then(d=>a.hooks?a.hooks.postprocess(d):d).catch(u);try{a.hooks&&(n=a.hooks.preprocess(n));let d=l(n,a);a.hooks&&(d=a.hooks.processAllTokens(d)),a.walkTokens&&this.walkTokens(d,a.walkTokens);let h=f(d,a);return a.hooks&&(h=a.hooks.postprocess(h)),h}catch(d){return u(d)}}}onError(t,r){return n=>{if(n.message+=`
|
|
207
|
-
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+Ps(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const ac=new Dre;function Vn(e,t){return ac.parse(e,t)}Vn.options=Vn.setOptions=function(e){return ac.setOptions(e),Vn.defaults=ac.defaults,wre(Vn.defaults),Vn};Vn.getDefaults=$I;Vn.defaults=Ic;Vn.use=function(...e){return ac.use(...e),Vn.defaults=ac.defaults,wre(Vn.defaults),Vn};Vn.walkTokens=function(e,t){return ac.walkTokens(e,t)};Vn.parseInline=ac.parseInline;Vn.Parser=Qo;Vn.parser=Qo.parse;Vn.Renderer=Ng;Vn.TextRenderer=HI;Vn.Lexer=Xo;Vn.lexer=Xo.lex;Vn.Tokenizer=Lg;Vn.Hooks=dh;Vn.parse=Vn;Vn.options;Vn.setOptions;Vn.use;Vn.walkTokens;Vn.parseInline;Qo.parse;Xo.lex;const nAe="_container_1hbtl_1",iAe={container:nAe},OK="markdown-link",gC=new Dre;let Xd;const IK=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,aAe=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;gC.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(IK))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(IK);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Xd?Xd.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(aAe);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Xd?Xd.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 Ln(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([0,1]));Xd=t}}});const Lre={isLink(e){return e.classList.contains(OK)},async parse(e,t){if(!e)return"";const r=await gC.parse(e,{renderer:Lre.getRenderer(t)});return Kx.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return Kx.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new gC.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 ${OK}" ${i}>${n}</a>`},t},getContainerClass(){return iAe.container}},oAe="shared.shared-utils",Mg=Gr.encloseNamespace(oAe),sAe=70,ix=160,uAe=/^(.*)\s/,PK="pageTitle",kK="pageDescription",ax="YYYY-MM-DD",cf={AU:"au",ENGLAND:"gb",US:"us"},lAe={[cf.AU]:$l.AU,[cf.ENGLAND]:$l.UK,[cf.US]:$l.US,[$l.AU]:cf.AU,[$l.UK]:cf.ENGLAND,[$l.US]:cf.US};function DK(e){return e?e.substring(0,e.length-3)+"...":""}function cAe(e,t){return e?e.substring(0,t):""}function fAe(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(uAe);return o?o[1]:i}function zu({title:e,phraseContext:t,product:r}){var o;if(!e)return"";if(!t)return Mg(PK,{title:e,product:r});const n=((o=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:o.length)??0,i=sAe-n;return e.length>=i?Mg(PK,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Wu({title:e,description:t,phraseContext:r}){var l,f;const n=DK(cAe(t||e,ix));if(!r)return Mg(kK,{description:n});const i=((l=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:l.length)??0,o=ix-i;if((e==null?void 0:e.length)>=o)return Mg(kK,{description:n});const a=((f=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:f.length)??0,u=DK(fAe(t,ix,a));return r.phraseHandler(r.descriptionPhrase,{title:e,description:u})}function dAe(e,t){return(e==null?void 0:e.reduce((r,n)=>{var o,a;const i=(o=lAe[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 hAe(e,t){const r=e!=null&&e.datePublished?el.format(e==null?void 0:e.datePublished,ax):el.format(e==null?void 0:e.dateCreated,ax),n=t!=null&&t.dateModified?el.format(t==null?void 0:t.dateModified,ax):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:wTe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function pAe(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:el.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${nx.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${nx.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${nx.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:dAe(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function vAe(e,t){const r=[];for(const i of e){const o=await Lre.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 Is="ClickView";const gAe={setProduct(e){Is=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:o,hrefLang:a,product:u,preload:l}=e;return{title:zu({title:t,phraseContext:i,product:u||Is}),description:Wu({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:o,hrefLang:a,preload:l,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:o,regionAlternatives:a,product:u}=e;return{title:zu({title:t==null?void 0:t.name,phraseContext:n,product:u||Is}),description:Wu({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:pAe(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:zu({title:t==null?void 0:t.name,phraseContext:n,product:o||Is}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:o||Is}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:o||Is}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:o||Is}),description:Wu({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getClassificationMetadata(e){const{content:{classification:t,dashboard:r},canonicalLink:n,phraseContext:i,allowIndexing:o,hrefLang:a,product:u}=e;function l(){var d,h,p,m;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(m=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:m.title} | ${u||Is}`:zu({title:t==null?void 0:t.name,phraseContext:i,product:u||Is})}function f(){var d,h,p,m;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(m=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:m.description:Wu({title:t==null?void 0:t.name,phraseContext:i})}return{title:l(),description:f(),canonicalLink:n,allowIndexing:o,jsonLd:r&&hAe(t,r),hrefLang:a,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:o,product:a}=e;return{title:zu({title:t==null?void 0:t.name,phraseContext:n,product:a||Is}),description:Wu({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:o,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await vAe(e,t)}};function mAe(e){let t=e;t._helperUsed||(t=gAe.getDefaultMetadata(t)),Ere(t.title);const r=wbe();if(!r.hasProvider)throw hr.throw(new wn("PageMetadataContext must exist in your application to use this hook"));ye.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const wo={Default:{LOG_OUT:"log:out",LOG_IN:"log:in",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Exchange:{INDEX:"index",FOLDER:"folder",MOST_RECENT:"most:recent",SERIES:"series",SEARCH:"search",PREVIEW:"preview",ADD:"add",SUGGEST_EDIT:"suggest:edit",DOWNLOAD_VIDEO:"download:video",ADD_TO_LIBRARY:"add:to:library"},Tv:{INDEX:"index",CHANNELS:"channels",CHANNEL:"channel",PROGRAMS:"programs",SEARCH:"search",PREVIEW:"preview",ADD:"add",AD_FREE_REQUEST:"ad:free:request",BROADCAST_CONTENT:"broadcast:content",ALREADY_ADDED:"already:added",REQUEST_PROGRAM:"request:program",RADIO_DOWNLOAD:"radio:download",TV_GUIDE:"tv:guide"}},yAe={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",FOLDER:"/images/empty-states/empty-folder-v2.png"},General:{ANNOUNCEMENT_FRAMED:"/images/general/announcement-framed-v2.png",MOUNTAINS_FRAMED:"/images/general/mountains-framed-v2.png",CONFETTI:"/images/general/confetti-v2.png",PAPER_PLANE:"/images/general/paper-plane-v2.png"},ProgramLogos:{FOXTEL:"/images/logos/foxtel.png",BBC:"/images/logos/bbc.png"}},LK="default.error",_Ae=33;function Nre({error:e}){var n,i;mAe({title:(e==null?void 0:e.heading)||Gr.getPhrase(LK,"defaultPageTitle")});const[t]=ye.useState(ite.getRandomInt(_Ae)+1),r=yAe.ErrorViews.SMALL.replace("{number}",t.toString());return e?de.jsxs(ks,{children:[de.jsx(ks.Image,{src:r}),de.jsx(ks.Heading,{children:e.heading}),!!e.description&&de.jsx(ks.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&de.jsx(ks.Cta,{text:((n=e.cta)==null?void 0:n.text)??Gr.getPhrase(LK,"discoverVideos"),className:`info-link ${e.description?"mt-n2":""}`,appLink:((i=e.cta)==null?void 0:i.appLink)??{application:Ii.EXCHANGE,action:wo.Exchange.INDEX}})]}):de.jsx(de.Fragment,{})}class EAe extends ZO{get channelName(){return Ii.DEFAULT}get appRoutes(){return{"(/)":"index","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","login(/)":"logIn"}}get appLinks(){return["devError","dialogError","error","notFound","giveFeedback"]}}class SAe extends EI{get name(){return"Default Application"}get layoutOptions(){return{name:cp.DEFAULT_LAYOUT,options:{alertRegion:rn.ALERT}}}get channelName(){return Ii.DEFAULT}static get router(){return EAe}async index(){const{RedirectView:t}=await Ln(async()=>{const{RedirectView:r}=await import("./CoksuIov.chunk.js");return{RedirectView:r}},[]);this.layout.showChildView(rn.CONTENT,de.jsx(t,{}))}catchAllRoutes(){hr.throw(new nte)}notFound(){const t=Nr.Radio.channel("error:view").request("current:error");Ln(async()=>{const{NotFoundView:r}=await import("./Dd3UU4H5.chunk.js");return{NotFoundView:r}},[]).then(({NotFoundView:r})=>{this.layout.showChildView(rn.CONTENT,de.jsx(r,{error:t}))})}error(){const t=Nr.Radio.channel("error:view").request("current:error");this.layout.showChildView(rn.CONTENT,de.jsx(Nre,{error:t}))}dialogError(){const t=Nr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t;Ln(async()=>{const{DialogView:n}=await import("./BPlgKoUH.chunk.js");return{DialogView:n}},[]).then(({DialogView:n})=>{this.layout.showChildView(rn.POPUP,de.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const t=Nr.Radio.channel("error:view").request("current:error");Ln(async()=>{const{DevErrorView:r}=await import("./CoCmlowG.chunk.js");return{DevErrorView:r}},[]).then(({DevErrorView:r})=>{this.layout.showChildView(rn.CONTENT,de.jsx(r,{error:t}))})}giveFeedback(){Ln(async()=>{const{GiveFeedbackView:t}=await import("./DTFETpC1.chunk.js");return{GiveFeedbackView:t}},__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])).then(({GiveFeedbackView:t})=>{this.layout.showChildView(rn.POPUP,de.jsx(t,{product:So.Exchange,closePopup:()=>this.layout.closePopup()}))})}}var Mre=(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))(Mre||{});const $re={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},wAe=5,bAe=3;class TAe extends lo{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return $re.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(pn.SHELL,mn.ROUTE,this.setContext),this.listenTo(pn.SHELL,mn.ROUTE,this.updateRouteHistory)}setContext(t){var r;Ti.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=wAe&&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;Ti.getHref(t)&&(Ti.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=bAe&&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 zI=new TAe,Fre={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:Fre.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 ms=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(ms||{});class WI{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=Fre.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 AAe extends WI{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class RAe extends WI{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class xAe extends WI{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const Vi=AAe.Instance,$g=RAe.Instance,NK=xAe.Instance;var ps=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(ps||{});const CAe=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,OAe=ps.RecentlyAdded,MK={getValidSortTypeFromParam(e){return Object.values(ps).includes(e)?e:ps.Newest},getOrSetSortType(e,t,r,n){const i=CAe(e,n);return(t||!Vi.cacheExists(i))&&Vi.cacheSet(i,t||r||OAe),t||(t=Vi.cacheGet(i)),t},getVideoSortParam(e){switch(e){case ps.AtoZ:return"orderby:name";case ps.ZtoA:return"orderbydesc:name";case ps.Newest:return"orderbydesc:datecreated";case ps.Oldest:return"orderby:datecreated";case ps.RecentlyAdded:return"orderbydesc:timestamp";case ps.Series:return"orderby:seriessort";case ps.ProductionYear:return"orderbydesc:productionyear";default:return}}},ol={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"}}},Jl={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},GI={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:Jl.PRODUCTS}}};let ox=!1,sx=!1,ux=!1,lx=!0,cx=!0;class IAe extends lo{get name(){return"LayoutHelper"}shouldHideNav(){return ox}disableNav(){ox=!0}enableNav(){ox=!1}shouldHideHeader(){return sx}disableHeader(){sx=!0}enableHeader(){sx=!1}lockContentWidth(){ux=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){ux=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!ux}shouldShowSearch(){return cx}enableSearch(){cx=!0}disableSearch(){cx=!1}enableLogoClick(){lx=!0}disableLogoClick(){lx=!1}shouldAllowLogoClick(){return lx}}const jre=new IAe,$K="exchangeShared.noAccess";class PAe extends ny{constructor(r){super("Current user's school does not have access to Exchange");Sn(this,"config");this.config=r}get name(){return"NoAccessError"}get heading(){return Gr.getPhrase($K,"heading")}get description(){return Gr.getPhrase($K,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}const kAe=[{application:Ii.DEFAULT,action:wo.Default.ERROR},{application:Ii.DEFAULT,action:wo.Default.DEV_ERROR},{application:Ii.DEFAULT,action:wo.Default.LOG_IN},{application:Ii.DEFAULT,action:wo.Default.LOG_OUT}],DAe=kAe.reduce((e,t)=>(e[Ure(t)]=!0,e),{});function Ure(e){return e.application+e.action}function FK(e,t){zI._forcePushContext(e),jre.disableNav(),vs.routingEnded(),hr.throw(t??new Mf)}async function qre(e,t){const{appLink:r,shell:n}=e;try{if((await hW(n.store,GI.userProducts())).find(a=>a.id===So.Exchange)){t(e);return}if(DAe[Ure(e.appLink)]){jre.disableNav(),t(e);return}const o=await hW(n.store,ol.config());FK(r,new PAe(o))}catch{FK(r)}}class LAe extends ZO{get channelName(){return Ii.EXCHANGE}get appRoutes(){return{"exchange(/)":"index","exchange/folders/:id(/:slug)":"folder","exchange/series/:id(/:slug)":"series","exchange/search(/)":"search","exchange/most-recent(/)":"mostRecent","exchange/videos/:id(/)":"preview"}}get appLinks(){return["add","suggestEdit","downloadVideo","addToLibrary"]}get filters(){return[qre]}}class jK extends EI{get name(){return"Exchange Application"}get layoutOptions(){return{name:cp.DEFAULT_LAYOUT,options:{alertRegion:rn.ALERT}}}get channelName(){return Ii.EXCHANGE}static get router(){return LAe}async index(){const{ExchangeView:t}=await Ln(async()=>{const{ExchangeView:r}=await import("./W7C_DF7E.chunk.js");return{ExchangeView:r}},__vite__mapDeps([22,23,24,25,26,27,28,29,30,31,32,33,13,34,35,36,37,38,39,18,40,41,42,43,44,45,46,47,48,49,4,50]));this.layout.showChildView(rn.CONTENT,de.jsx(t,{}))}async folder(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,o=i&&MK.getValidSortTypeFromParam(i),{ExchangeFolderView:a}=await Ln(async()=>{const{ExchangeFolderView:u}=await import("./DUeG7GBo.chunk.js");return{ExchangeFolderView:u}},__vite__mapDeps([51,26,27,23,24,25,28,29,30,31,32,33,13,34,35,52,50,36,53,54,19,55,56,57,44,45,46,4,58,43,59,3,60,61,5,12,62,63,38,64,37,39,18,40,41,42,47,48,49,65,66]));this.layout.showChildView(rn.CONTENT,de.jsx(a,{folderId:t,sort:o}))}async series(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,o=i&&MK.getValidSortTypeFromParam(i),{ExchangeSeriesView:a}=await Ln(async()=>{const{ExchangeSeriesView:u}=await import("./Dvkaq1WU.chunk.js");return{ExchangeSeriesView:u}},__vite__mapDeps([67,65,19,66,53,33,13,34,30,31,54,29,32,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,60,61,5,12,26,27,62,63,38,37,48,49,64]));this.layout.showChildView(rn.CONTENT,de.jsx(a,{seriesId:t,sort:o}))}async search(t){const{ExchangeSearchResultsView:r}=await Ln(async()=>{const{ExchangeSearchResultsView:n}=await import("./DxYxjVpd.chunk.js");return{ExchangeSearchResultsView:n}},__vite__mapDeps([68,29,30,31,32,57,44,45,46,4,58,14,15,33,13,34,16,69,62,9,43,70,52,50,36,28,53,54,19,55,56,59,3,60,61,5,12,26,27,63,71,72,10,49,66,73,39,18,40,64,74,48,38,75]));this.layout.showChildView(rn.CONTENT,de.jsx(r,{queryParams:t||{}}))}async mostRecent(){const{ExchangeMostRecentView:t}=await Ln(async()=>{const{ExchangeMostRecentView:r}=await import("./VKh9EG4H.chunk.js");return{ExchangeMostRecentView:r}},__vite__mapDeps([76,53,33,13,34,30,31,54,29,32,19,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,60,61,5,12,26,27,62,63,38,39,18,40,41,42,47,48,49,64]));this.layout.showChildView(rn.CONTENT,de.jsx(t,{}))}async preview(t,r){const{pageLoad:n}=zI.getCurrentRoute();n&&this.index();const{ExchangePreviewView:i}=await Ln(async()=>{const{ExchangePreviewView:o}=await import("./DCGqs8ge.chunk.js");return{ExchangePreviewView:o}},__vite__mapDeps([77,56,58,44,4,78,79,7,17,60,57,45,46,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,64,89]));this.layout.showChildView(rn.POPUP,de.jsx(i,{videoId:t,currentTime:r,closePopup:()=>this.layout.closePopup()}))}async add(t){const{ExchangeAddView:r}=await Ln(async()=>{const{ExchangeAddView:n}=await import("./CNicqYgW.chunk.js");return{ExchangeAddView:n}},__vite__mapDeps([90,56,58,44,4,3,48,49,89]));this.layout.showChildView(rn.POPUP,de.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(t){const{ExchangeSuggestEditView:r}=await Ln(async()=>{const{ExchangeSuggestEditView:n}=await import("./BFoo6g4H.chunk.js");return{ExchangeSuggestEditView:n}},__vite__mapDeps([91,56,92,6,7,8,11,72,74,58,44,4,3,93,48,49,89]));this.layout.showChildView(rn.POPUP,de.jsx(r,{videoId:t,closePopup:()=>this.layout.closePopup()}))}downloadVideo(t){Ln(async()=>{const{DownloadVideoView:r}=await import("./D8Fb_Kn2.chunk.js");return{DownloadVideoView:r}},__vite__mapDeps([94,80])).then(({DownloadVideoView:r})=>{this.layout.showChildView(rn.HIDDEN,de.jsx(r,{id:t}))})}addToLibrary(t){Ln(async()=>{const{AddToLibraryView:r}=await import("./vtfUwDER.chunk.js");return{AddToLibraryView:r}},__vite__mapDeps([95,17,6,7,8,26,27,24,25,62,36,58,44,4,3,93,57,45,46,96])).then(({AddToLibraryView:r})=>{this.layout.showChildView(rn.POPUP,de.jsx(r,{id:t,typeId:Mre.Video,closePopup:()=>this.layout.closePopup()}))})}}class NAe extends ZO{get channelName(){return Ii.TV}get appRoutes(){return{"tv(/)":"index","tv/:region/channels(/)":"channels","tv/:region/channels/:channelId(/)":"channel","tv/:region/programs(/)":"programs","tv/:region/search(/)":"search","tv/:region/guide":"tvGuide"}}get appLinks(){return["preview","add","adFreeRequest","broadcastContent","alreadyAdded","requestProgram","radioDownload"]}get filters(){return[qre]}}class UK extends EI{get name(){return"Tv Application"}get layoutOptions(){return{name:cp.DEFAULT_LAYOUT,options:{alertRegion:rn.ALERT}}}get channelName(){return Ii.TV}static get router(){return NAe}async index(){const{TvHomeView:t}=await Ln(async()=>{const{TvHomeView:r}=await import("./uM6EBrIh.chunk.js");return{TvHomeView:r}},__vite__mapDeps([97,98,37,38,99]));this.layout.showChildView(rn.CONTENT,de.jsx(t,{}))}async channels(t){const{TvChannelsView:r}=await Ln(async()=>{const{TvChannelsView:n}=await import("./D7WqZb79.chunk.js");return{TvChannelsView:n}},__vite__mapDeps([100,37,38,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,105,9,106]));this.layout.showChildView(rn.CONTENT,de.jsx(r,{region:t}))}async channel(t,r,n){const{TvChannelView:i}=await Ln(async()=>{const{TvChannelView:o}=await import("./B2HNVRLF.chunk.js");return{TvChannelView:o}},__vite__mapDeps([107,38,37,108,24,25,109,30,31,81,82,85,86,87,101,99,42,43,44,45,46,13,47,102,54,18,103,104,98,110]));this.layout.showChildView(rn.CONTENT,de.jsx(i,{region:t,channelId:r,selectedRegion:n.region}))}async programs(t,r){const{TvProgramsView:n}=await Ln(async()=>{const{TvProgramsView:i}=await import("./DntTu0XK.chunk.js");return{TvProgramsView:i}},__vite__mapDeps([111,38,37,108,24,25,109,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,30,31,85,87,112]));this.layout.showChildView(rn.CONTENT,de.jsx(n,{region:t,startsWith:r.startsWith}))}async search(t,r){const{TvSearchResultsView:n}=await Ln(async()=>{const{TvSearchResultsView:i}=await import("./FoPqmw-u.chunk.js");return{TvSearchResultsView:i}},__vite__mapDeps([113,71,53,33,13,34,30,31,54,29,32,19,55,5,72,69,62,9,43,44,45,46,16,70,3,10,49,66,73,38,37,102,18,103,99,114,59,104,98,26,27,81,82,83,84,85,86,87,115]));this.layout.showChildView(rn.CONTENT,de.jsx(n,{region:t,queryParams:r}))}async preview(t,r,n){const{TvPreviewView:i}=await Ln(async()=>{const{TvPreviewView:o}=await import("./D3oBEMC4.chunk.js");return{TvPreviewView:o}},__vite__mapDeps([116,78,79,7,17,60,57,44,45,46,4,58,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,99,114,104,38]));this.layout.showChildView(rn.POPUP,de.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(t,r,n){const{TvAddView:i}=await Ln(async()=>{const{TvAddView:o}=await import("./CEf5yj2s.chunk.js");return{TvAddView:o}},__vite__mapDeps([117,78,99,3,118]));this.layout.showChildView(rn.POPUP,de.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(t,r){const{TvAdFreeRequestView:n}=await Ln(async()=>{const{TvAdFreeRequestView:i}=await import("./BHdp6IzC.chunk.js");return{TvAdFreeRequestView:i}},__vite__mapDeps([119,78,99,104,38]));this.layout.showChildView(rn.POPUP,de.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(t){const{TvBroadcastContentView:r}=await Ln(async()=>{const{TvBroadcastContentView:n}=await import("./CyjoA2ph.chunk.js");return{TvBroadcastContentView:n}},__vite__mapDeps([120,99,86,121]));this.layout.showChildView(rn.POPUP,de.jsx(r,{region:t,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(t){const{TvAlreadyAddedView:r}=await Ln(async()=>{const{TvAlreadyAddedView:n}=await import("./De4UpC2g.chunk.js");return{TvAlreadyAddedView:n}},__vite__mapDeps([122,123]));this.layout.showChildView(rn.POPUP,de.jsx(r,{params:t,closePopup:()=>this.layout.closePopup()}))}async requestProgram(t,r){const{TvRequestProgramView:n}=await Ln(async()=>{const{TvRequestProgramView:i}=await import("./B4kbE-AG.chunk.js");return{TvRequestProgramView:i}},__vite__mapDeps([124,6,7,8,9,3,93,99,105,92]));this.layout.showChildView(rn.POPUP,de.jsx(n,{region:t,instanceRegion:r,closePopup:()=>this.layout.closePopup()}))}async radioDownload(t,r){const{TvRadioDownloadView:n}=await Ln(async()=>{const{TvRadioDownloadView:i}=await import("./DyDPUyS7.chunk.js");return{TvRadioDownloadView:i}},__vite__mapDeps([125,85,86,87,99]));this.layout.showChildView(rn.POPUP,de.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async tvGuide(t){const{TvGuideView:r}=await Ln(async()=>{const{TvGuideView:n}=await import("./llc4Kymn.chunk.js");return{TvGuideView:n}},__vite__mapDeps([126,101,86,99,42,43,44,45,46,13,47,102,54,18,103,98,37,38]));this.layout.showChildView(rn.CONTENT,de.jsx(r,{region:t}))}}async function MAe(e,t){var r;try{const i=(r=(await no(e.store,zl.customerSettings()))[br.ExchangeTvProductOption])==null?void 0:r.value;switch(e.registerApplication(SAe),i){case"exchange":{e.registerApplication(jK),t(e);return}case"tv":{e.registerApplication(UK),t(e);return}case"exchange_and_tv":{e.registerApplication(jK).registerApplication(UK),t(e);return}}}catch{hr.throw(new Mf)}}var gs=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(gs||{}),$Ae=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))($Ae||{});class FAe extends lo{constructor(t){super(t)}initialize(){this.alertCollection=new Vm,this.listenTo(pn.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return ty.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=Nr.Radio.channel(pn.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=to({},r,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",r)}removeAlert(t){this.alertCollection.remove(t),this.showAlerts()}createAlert(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=to({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new gu(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?au(()=>this.createAlert(to({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?au((r,n)=>this.createAlert(to({},this.options.defaultSuccessAlert,{message:n})),this):au(()=>this.createAlert(to({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?au(()=>this.createAlert(to({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?au(r=>this.createAlert(to({},this.options.defaultErrorAlert,{message:r.message})),this):au(()=>this.createAlert(to({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return pZ("alert_")}}class jAe extends lo{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():hr.throw(new wn(`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]=()=>en(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]||hr.throw(new wn(`${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||hr.throw(new wn(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&hr.throw(new wn(`A class with the name: ${r} has already been registered with ${this.name}`))}}const cu=jAe.Instance;class Pc extends Bm{constructor(t){super(t),this.dialogOptions||hr.throw(new wn("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const Cv="shared.chunkLoadError",UAe=/\/([^\s/]+\.css)/,qAe=/\/([^\s/]+\.js)/;class qK extends Pc{constructor(t,r,n){super(Gr.getPhrase(Cv,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:Gr.getPhrase(Cv,"heading",{product:this.product}),text:Gr.getPhrase(Cv,"body"),buttons:[{text:Gr.getPhrase(Cv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Nn.Reload()}}function BAe(e,t){window.addEventListener("error",r=>{var u,l;const n=((u=r==null?void 0:r.target)==null?void 0:u.src)||((l=r==null?void 0:r.target)==null?void 0:l.href);if(!n)return;const i=f=>(f==null?void 0:f[1])??"Unknown Chunk",o=n.match(qAe);if(o&&n.includes("/scripts/")&&n.includes(".chunk.js")){hr.throw(new qK(e,i(o),t));return}const a=n.match(UAe);if(a&&n.includes("/css/")&&n.includes(".chunk.css")){hr.throw(new qK(e,i(a),t));return}},!0)}class Bre extends Bm{get name(){return"AlertError"}}const mC={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"};function VAe(e){cu.getInstance(ty.ALERT).createAlert({heading:mC.Fail,type:gs.Fail,message:e.message})}function HAe(e){Nr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ti.trigger({application:Ii.DEFAULT,action:wo.Default.NOT_FOUND})}function BK(e){Nr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ti.trigger({application:Ii.DEFAULT,action:wo.Default.ERROR})}function zAe(e){Nr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ti.trigger({application:Ii.DEFAULT,action:wo.Default.DIALOG_ERROR})}function WAe(e,t){e.registerErrorHandler(ny,BK).registerErrorHandler(Pc,zAe).registerErrorHandler(Bre,VAe).registerErrorHandler(nte,HAe).registerErrorHandler(Mf,BK),BAe("dark"),t(e)}class GAe extends Rye{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return kr&&kr.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]=NI.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 de.jsx($ee,{store:this.options.store,children:t})}}class fx extends kr.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&&(hr.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 de.jsx(r,{})}return t||!this.props.children?de.jsx(de.Fragment,{}):this.props.children}}function KAe(e){return document.querySelector(`.${e}`)}const YAe=kr.createContext(null);function XAe(e){const[t,r]=kr.useState();return kr.useEffect(()=>{r(KAe(e.containerClassName))},[]),de.jsx(YAe.Provider,{value:{container:t},children:e.children})}function ff(e){const[t,r]=ye.useState(window.matchMedia(e).matches);return ye.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 QAe=kr.createContext({}),JAe=e=>{const t=ff("(max-width: 575.98px)"),r=ff("(min-width: 576px) and (max-width: 767.98px)"),n=ff("(min-width: 768px) and (max-width: 991.98px)"),i=ff("(min-width: 992px) and (max-width: 1199.98px)"),o=ff("(min-width: 1200px) and (max-width: 1439.98px)"),a=ff("(min-width: 1440px)"),u=kr.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:o,xxl:a}),[t,r,n,i,o,a]);return de.jsx(QAe.Provider,{value:u,children:e.children})},dx="shared.unspecifiedDialogError";class ZAe extends Pc{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:Gr.getPhrase(dx,"title"),text:Gr.getPhrase(dx,"body"),buttons:[{text:Gr.getPhrase(dx,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const fu={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},ih={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"};function eRe(e){const t=e.showSpinner?de.jsx(cy,{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"),de.jsx(xf,{title:e.tooltip,spanHack:!0,children:de.jsx(fC,{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 de.jsx(fC,{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 de.jsx(xf,{title:e.tooltip,spanHack:!0,children:de.jsx(xo,{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 de.jsx(xo,{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&&Fa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?de.jsx(xf,{title:e.tooltip,spanHack:!0,children:de.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})}):de.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const tRe=(e,t,r,n=[])=>{const i=typeof e=="string"?Nr.Radio.channel(e):e;ye.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function rRe(){return de.jsx("div",{className:"text-center p-5",children:de.jsx(cy,{as:"div",animation:"border",role:"status"})})}Vre.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Vre(e){var n;Ere(e.title);const t=(i,o)=>{!e.closeOnNavigate||!o.isAppRoute||e.closePopup()};tRe(pn.SHELL,mn.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,o)=>de.jsx(eRe,{...i},o)):de.jsx(de.Fragment,{});return de.jsxs(wv,{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&&de.jsxs(wv.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[de.jsx(wv.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?de.jsx(rRe,{}):de.jsx(wv.Body,{className:e.bodyClassName,children:e.children})]})}var hx,VK;function nRe(){if(VK)return hx;VK=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){var u=e(o),l=e(a),f,d,h;if(u&&l){if(d=o.length,d!=a.length)return!1;for(f=d;f--!==0;)if(!i(o[f],a[f]))return!1;return!0}if(u!=l)return!1;var p=o instanceof Date,m=a instanceof Date;if(p!=m)return!1;if(p&&m)return o.getTime()==a.getTime();var S=o instanceof RegExp,E=a instanceof RegExp;if(S!=E)return!1;if(S&&E)return o.toString()==a.toString();var _=t(o);if(d=_.length,d!==t(a).length)return!1;for(f=d;f--!==0;)if(!r.call(a,_[f]))return!1;if(n&&o instanceof Element&&a instanceof Element)return o===a;for(f=d;f--!==0;)if(h=_[f],!(h==="_owner"&&o.$$typeof)&&!i(o[h],a[h]))return!1;return!0}return o!==o&&a!==a}return hx=function(a,u){try{return i(a,u)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},hx}var iRe=nRe();const Xu=Hn(iRe);var aRe=function(t){return oRe(t)&&!sRe(t)};function oRe(e){return!!e&&typeof e=="object"}function sRe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||cRe(e)}var uRe=typeof Symbol=="function"&&Symbol.for,lRe=uRe?Symbol.for("react.element"):60103;function cRe(e){return e.$$typeof===lRe}function fRe(e){return Array.isArray(e)?[]:{}}function Fg(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ih(fRe(e),e,t):e}function dRe(e,t,r){return e.concat(t).map(function(n){return Fg(n,r)})}function hRe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Fg(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Fg(t[i],r):n[i]=Ih(e[i],t[i],r)}),n}function Ih(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||dRe,r.isMergeableObject=r.isMergeableObject||aRe;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):hRe(e,t,r):Fg(t,r)}Ih.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ih(n,i,r)},{})};var yC=Ih,Hre=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,pRe=typeof self=="object"&&self&&self.Object===Object&&self,zs=Hre||pRe||Function("return this")(),sl=zs.Symbol,zre=Object.prototype,vRe=zre.hasOwnProperty,gRe=zre.toString,Qd=sl?sl.toStringTag:void 0;function mRe(e){var t=vRe.call(e,Qd),r=e[Qd];try{e[Qd]=void 0;var n=!0}catch{}var i=gRe.call(e);return n&&(t?e[Qd]=r:delete e[Qd]),i}var yRe=Object.prototype,_Re=yRe.toString;function ERe(e){return _Re.call(e)}var SRe="[object Null]",wRe="[object Undefined]",HK=sl?sl.toStringTag:void 0;function kc(e){return e==null?e===void 0?wRe:SRe:HK&&HK in Object(e)?mRe(e):ERe(e)}function Wre(e,t){return function(r){return e(t(r))}}var KI=Wre(Object.getPrototypeOf,Object);function Dc(e){return e!=null&&typeof e=="object"}var bRe="[object Object]",TRe=Function.prototype,ARe=Object.prototype,Gre=TRe.toString,RRe=ARe.hasOwnProperty,xRe=Gre.call(Object);function zK(e){if(!Dc(e)||kc(e)!=bRe)return!1;var t=KI(e);if(t===null)return!0;var r=RRe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Gre.call(r)==xRe}function CRe(){this.__data__=[],this.size=0}function Kre(e,t){return e===t||e!==e&&t!==t}function hy(e,t){for(var r=e.length;r--;)if(Kre(e[r][0],t))return r;return-1}var ORe=Array.prototype,IRe=ORe.splice;function PRe(e){var t=this.__data__,r=hy(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():IRe.call(t,r,1),--this.size,!0}function kRe(e){var t=this.__data__,r=hy(t,e);return r<0?void 0:t[r][1]}function DRe(e){return hy(this.__data__,e)>-1}function LRe(e,t){var r=this.__data__,n=hy(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function xu(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])}}xu.prototype.clear=CRe;xu.prototype.delete=PRe;xu.prototype.get=kRe;xu.prototype.has=DRe;xu.prototype.set=LRe;function NRe(){this.__data__=new xu,this.size=0}function MRe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function $Re(e){return this.__data__.get(e)}function FRe(e){return this.__data__.has(e)}function vp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jRe="[object AsyncFunction]",URe="[object Function]",qRe="[object GeneratorFunction]",BRe="[object Proxy]";function Yre(e){if(!vp(e))return!1;var t=kc(e);return t==URe||t==qRe||t==jRe||t==BRe}var px=zs["__core-js_shared__"],WK=(function(){var e=/[^.]+$/.exec(px&&px.keys&&px.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function VRe(e){return!!WK&&WK in e}var HRe=Function.prototype,zRe=HRe.toString;function Lc(e){if(e!=null){try{return zRe.call(e)}catch{}try{return e+""}catch{}}return""}var WRe=/[\\^$.*+?()[\]{}|]/g,GRe=/^\[object .+?Constructor\]$/,KRe=Function.prototype,YRe=Object.prototype,XRe=KRe.toString,QRe=YRe.hasOwnProperty,JRe=RegExp("^"+XRe.call(QRe).replace(WRe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ZRe(e){if(!vp(e)||VRe(e))return!1;var t=Yre(e)?JRe:GRe;return t.test(Lc(e))}function exe(e,t){return e==null?void 0:e[t]}function Nc(e,t){var r=exe(e,t);return ZRe(r)?r:void 0}var Ph=Nc(zs,"Map"),kh=Nc(Object,"create");function txe(){this.__data__=kh?kh(null):{},this.size=0}function rxe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nxe="__lodash_hash_undefined__",ixe=Object.prototype,axe=ixe.hasOwnProperty;function oxe(e){var t=this.__data__;if(kh){var r=t[e];return r===nxe?void 0:r}return axe.call(t,e)?t[e]:void 0}var sxe=Object.prototype,uxe=sxe.hasOwnProperty;function lxe(e){var t=this.__data__;return kh?t[e]!==void 0:uxe.call(t,e)}var cxe="__lodash_hash_undefined__";function fxe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=kh&&t===void 0?cxe:t,this}function oc(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])}}oc.prototype.clear=txe;oc.prototype.delete=rxe;oc.prototype.get=oxe;oc.prototype.has=lxe;oc.prototype.set=fxe;function dxe(){this.size=0,this.__data__={hash:new oc,map:new(Ph||xu),string:new oc}}function hxe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function py(e,t){var r=e.__data__;return hxe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function pxe(e){var t=py(this,e).delete(e);return this.size-=t?1:0,t}function vxe(e){return py(this,e).get(e)}function gxe(e){return py(this,e).has(e)}function mxe(e,t){var r=py(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function ml(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])}}ml.prototype.clear=dxe;ml.prototype.delete=pxe;ml.prototype.get=vxe;ml.prototype.has=gxe;ml.prototype.set=mxe;var yxe=200;function _xe(e,t){var r=this.__data__;if(r instanceof xu){var n=r.__data__;if(!Ph||n.length<yxe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ml(n)}return r.set(e,t),this.size=r.size,this}function vd(e){var t=this.__data__=new xu(e);this.size=t.size}vd.prototype.clear=NRe;vd.prototype.delete=MRe;vd.prototype.get=$Re;vd.prototype.has=FRe;vd.prototype.set=_xe;function Exe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var GK=(function(){try{var e=Nc(Object,"defineProperty");return e({},"",{}),e}catch{}})();function Xre(e,t,r){t=="__proto__"&&GK?GK(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Sxe=Object.prototype,wxe=Sxe.hasOwnProperty;function Qre(e,t,r){var n=e[t];(!(wxe.call(e,t)&&Kre(n,r))||r===void 0&&!(t in e))&&Xre(e,t,r)}function vy(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var u=t[o],l=void 0;l===void 0&&(l=e[u]),i?Xre(r,u,l):Qre(r,u,l)}return r}function bxe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Txe="[object Arguments]";function KK(e){return Dc(e)&&kc(e)==Txe}var Jre=Object.prototype,Axe=Jre.hasOwnProperty,Rxe=Jre.propertyIsEnumerable,xxe=KK((function(){return arguments})())?KK:function(e){return Dc(e)&&Axe.call(e,"callee")&&!Rxe.call(e,"callee")},gp=Array.isArray;function Cxe(){return!1}var Zre=typeof exports=="object"&&exports&&!exports.nodeType&&exports,YK=Zre&&typeof module=="object"&&module&&!module.nodeType&&module,Oxe=YK&&YK.exports===Zre,XK=Oxe?zs.Buffer:void 0,Ixe=XK?XK.isBuffer:void 0,ene=Ixe||Cxe,Pxe=9007199254740991,kxe=/^(?:0|[1-9]\d*)$/;function Dxe(e,t){var r=typeof e;return t=t??Pxe,!!t&&(r=="number"||r!="symbol"&&kxe.test(e))&&e>-1&&e%1==0&&e<t}var Lxe=9007199254740991;function tne(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Lxe}var Nxe="[object Arguments]",Mxe="[object Array]",$xe="[object Boolean]",Fxe="[object Date]",jxe="[object Error]",Uxe="[object Function]",qxe="[object Map]",Bxe="[object Number]",Vxe="[object Object]",Hxe="[object RegExp]",zxe="[object Set]",Wxe="[object String]",Gxe="[object WeakMap]",Kxe="[object ArrayBuffer]",Yxe="[object DataView]",Xxe="[object Float32Array]",Qxe="[object Float64Array]",Jxe="[object Int8Array]",Zxe="[object Int16Array]",eCe="[object Int32Array]",tCe="[object Uint8Array]",rCe="[object Uint8ClampedArray]",nCe="[object Uint16Array]",iCe="[object Uint32Array]",oi={};oi[Xxe]=oi[Qxe]=oi[Jxe]=oi[Zxe]=oi[eCe]=oi[tCe]=oi[rCe]=oi[nCe]=oi[iCe]=!0;oi[Nxe]=oi[Mxe]=oi[Kxe]=oi[$xe]=oi[Yxe]=oi[Fxe]=oi[jxe]=oi[Uxe]=oi[qxe]=oi[Bxe]=oi[Vxe]=oi[Hxe]=oi[zxe]=oi[Wxe]=oi[Gxe]=!1;function aCe(e){return Dc(e)&&tne(e.length)&&!!oi[kc(e)]}function YI(e){return function(t){return e(t)}}var rne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hh=rne&&typeof module=="object"&&module&&!module.nodeType&&module,oCe=hh&&hh.exports===rne,vx=oCe&&Hre.process,$f=(function(){try{var e=hh&&hh.require&&hh.require("util").types;return e||vx&&vx.binding&&vx.binding("util")}catch{}})(),QK=$f&&$f.isTypedArray,sCe=QK?YI(QK):aCe,uCe=Object.prototype,lCe=uCe.hasOwnProperty;function nne(e,t){var r=gp(e),n=!r&&xxe(e),i=!r&&!n&&ene(e),o=!r&&!n&&!i&&sCe(e),a=r||n||i||o,u=a?bxe(e.length,String):[],l=u.length;for(var f in e)(t||lCe.call(e,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||o&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Dxe(f,l)))&&u.push(f);return u}var cCe=Object.prototype;function XI(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||cCe;return e===r}var fCe=Wre(Object.keys,Object),dCe=Object.prototype,hCe=dCe.hasOwnProperty;function pCe(e){if(!XI(e))return fCe(e);var t=[];for(var r in Object(e))hCe.call(e,r)&&r!="constructor"&&t.push(r);return t}function ine(e){return e!=null&&tne(e.length)&&!Yre(e)}function QI(e){return ine(e)?nne(e):pCe(e)}function vCe(e,t){return e&&vy(t,QI(t),e)}function gCe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var mCe=Object.prototype,yCe=mCe.hasOwnProperty;function _Ce(e){if(!vp(e))return gCe(e);var t=XI(e),r=[];for(var n in e)n=="constructor"&&(t||!yCe.call(e,n))||r.push(n);return r}function JI(e){return ine(e)?nne(e,!0):_Ce(e)}function ECe(e,t){return e&&vy(t,JI(t),e)}var ane=typeof exports=="object"&&exports&&!exports.nodeType&&exports,JK=ane&&typeof module=="object"&&module&&!module.nodeType&&module,SCe=JK&&JK.exports===ane,ZK=SCe?zs.Buffer:void 0,eY=ZK?ZK.allocUnsafe:void 0;function wCe(e,t){if(t)return e.slice();var r=e.length,n=eY?eY(r):new e.constructor(r);return e.copy(n),n}function one(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function bCe(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 sne(){return[]}var TCe=Object.prototype,ACe=TCe.propertyIsEnumerable,tY=Object.getOwnPropertySymbols,ZI=tY?function(e){return e==null?[]:(e=Object(e),bCe(tY(e),function(t){return ACe.call(e,t)}))}:sne;function RCe(e,t){return vy(e,ZI(e),t)}function une(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var xCe=Object.getOwnPropertySymbols,lne=xCe?function(e){for(var t=[];e;)une(t,ZI(e)),e=KI(e);return t}:sne;function CCe(e,t){return vy(e,lne(e),t)}function cne(e,t,r){var n=t(e);return gp(e)?n:une(n,r(e))}function OCe(e){return cne(e,QI,ZI)}function ICe(e){return cne(e,JI,lne)}var _C=Nc(zs,"DataView"),EC=Nc(zs,"Promise"),SC=Nc(zs,"Set"),wC=Nc(zs,"WeakMap"),rY="[object Map]",PCe="[object Object]",nY="[object Promise]",iY="[object Set]",aY="[object WeakMap]",oY="[object DataView]",kCe=Lc(_C),DCe=Lc(Ph),LCe=Lc(EC),NCe=Lc(SC),MCe=Lc(wC),ou=kc;(_C&&ou(new _C(new ArrayBuffer(1)))!=oY||Ph&&ou(new Ph)!=rY||EC&&ou(EC.resolve())!=nY||SC&&ou(new SC)!=iY||wC&&ou(new wC)!=aY)&&(ou=function(e){var t=kc(e),r=t==PCe?e.constructor:void 0,n=r?Lc(r):"";if(n)switch(n){case kCe:return oY;case DCe:return rY;case LCe:return nY;case NCe:return iY;case MCe:return aY}return t});var $Ce=Object.prototype,FCe=$Ce.hasOwnProperty;function jCe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&FCe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var sY=zs.Uint8Array;function eP(e){var t=new e.constructor(e.byteLength);return new sY(t).set(new sY(e)),t}function UCe(e,t){var r=t?eP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var qCe=/\w*$/;function BCe(e){var t=new e.constructor(e.source,qCe.exec(e));return t.lastIndex=e.lastIndex,t}var uY=sl?sl.prototype:void 0,lY=uY?uY.valueOf:void 0;function VCe(e){return lY?Object(lY.call(e)):{}}function HCe(e,t){var r=t?eP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var zCe="[object Boolean]",WCe="[object Date]",GCe="[object Map]",KCe="[object Number]",YCe="[object RegExp]",XCe="[object Set]",QCe="[object String]",JCe="[object Symbol]",ZCe="[object ArrayBuffer]",eOe="[object DataView]",tOe="[object Float32Array]",rOe="[object Float64Array]",nOe="[object Int8Array]",iOe="[object Int16Array]",aOe="[object Int32Array]",oOe="[object Uint8Array]",sOe="[object Uint8ClampedArray]",uOe="[object Uint16Array]",lOe="[object Uint32Array]";function cOe(e,t,r){var n=e.constructor;switch(t){case ZCe:return eP(e);case zCe:case WCe:return new n(+e);case eOe:return UCe(e,r);case tOe:case rOe:case nOe:case iOe:case aOe:case oOe:case sOe:case uOe:case lOe:return HCe(e,r);case GCe:return new n;case KCe:case QCe:return new n(e);case YCe:return BCe(e);case XCe:return new n;case JCe:return VCe(e)}}var cY=Object.create,fOe=(function(){function e(){}return function(t){if(!vp(t))return{};if(cY)return cY(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function dOe(e){return typeof e.constructor=="function"&&!XI(e)?fOe(KI(e)):{}}var hOe="[object Map]";function pOe(e){return Dc(e)&&ou(e)==hOe}var fY=$f&&$f.isMap,vOe=fY?YI(fY):pOe,gOe="[object Set]";function mOe(e){return Dc(e)&&ou(e)==gOe}var dY=$f&&$f.isSet,yOe=dY?YI(dY):mOe,_Oe=1,EOe=2,SOe=4,fne="[object Arguments]",wOe="[object Array]",bOe="[object Boolean]",TOe="[object Date]",AOe="[object Error]",dne="[object Function]",ROe="[object GeneratorFunction]",xOe="[object Map]",COe="[object Number]",hne="[object Object]",OOe="[object RegExp]",IOe="[object Set]",POe="[object String]",kOe="[object Symbol]",DOe="[object WeakMap]",LOe="[object ArrayBuffer]",NOe="[object DataView]",MOe="[object Float32Array]",$Oe="[object Float64Array]",FOe="[object Int8Array]",jOe="[object Int16Array]",UOe="[object Int32Array]",qOe="[object Uint8Array]",BOe="[object Uint8ClampedArray]",VOe="[object Uint16Array]",HOe="[object Uint32Array]",ei={};ei[fne]=ei[wOe]=ei[LOe]=ei[NOe]=ei[bOe]=ei[TOe]=ei[MOe]=ei[$Oe]=ei[FOe]=ei[jOe]=ei[UOe]=ei[xOe]=ei[COe]=ei[hne]=ei[OOe]=ei[IOe]=ei[POe]=ei[kOe]=ei[qOe]=ei[BOe]=ei[VOe]=ei[HOe]=!0;ei[AOe]=ei[dne]=ei[DOe]=!1;function ph(e,t,r,n,i,o){var a,u=t&_Oe,l=t&EOe,f=t&SOe;if(a!==void 0)return a;if(!vp(e))return e;var d=gp(e);if(d){if(a=jCe(e),!u)return one(e,a)}else{var h=ou(e),p=h==dne||h==ROe;if(ene(e))return wCe(e,u);if(h==hne||h==fne||p&&!i){if(a=l||p?{}:dOe(e),!u)return l?CCe(e,ECe(a,e)):RCe(e,vCe(a,e))}else{if(!ei[h])return i?e:{};a=cOe(e,h,u)}}o||(o=new vd);var m=o.get(e);if(m)return m;o.set(e,a),yOe(e)?e.forEach(function(_){a.add(ph(_,t,r,_,e,o))}):vOe(e)&&e.forEach(function(_,w){a.set(w,ph(_,t,r,w,e,o))});var S=f?l?ICe:OCe:l?JI:QI,E=d?void 0:S(e);return Exe(E||e,function(_,w){E&&(w=_,_=e[w]),Qre(a,w,ph(_,t,r,w,e,o))}),a}var zOe=4;function hY(e){return ph(e,zOe)}function pne(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 WOe="[object Symbol]";function tP(e){return typeof e=="symbol"||Dc(e)&&kc(e)==WOe}var GOe="Expected a function";function rP(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(GOe);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(rP.Cache||ml),r}rP.Cache=ml;var KOe=500;function YOe(e){var t=rP(e,function(n){return r.size===KOe&&r.clear(),n}),r=t.cache;return t}var XOe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,QOe=/\\(\\)?/g,JOe=YOe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(XOe,function(r,n,i,o){t.push(i?o.replace(QOe,"$1"):n||r)}),t});function ZOe(e){if(typeof e=="string"||tP(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var pY=sl?sl.prototype:void 0,vY=pY?pY.toString:void 0;function vne(e){if(typeof e=="string")return e;if(gp(e))return pne(e,vne)+"";if(tP(e))return vY?vY.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function eIe(e){return e==null?"":vne(e)}function gne(e){return gp(e)?pne(e,ZOe):tP(e)?[e]:one(JOe(eIe(e)))}var tIe=1,rIe=4;function nIe(e){return ph(e,tIe|rIe)}function Yn(){return Yn=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},Yn.apply(this,arguments)}function mne(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ju(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 gY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var mY=function(t){return Array.isArray(t)&&t.length===0},ya=function(t){return typeof t=="function"},gy=function(t){return t!==null&&typeof t=="object"},iIe=function(t){return String(Math.floor(Number(t)))===t},gx=function(t){return Object.prototype.toString.call(t)==="[object String]"},yne=function(t){return ye.Children.count(t)===0},mx=function(t){return gy(t)&&ya(t.then)};function _i(e,t,r,n){n===void 0&&(n=0);for(var i=gne(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function $s(e,t,r){for(var n=hY(e),i=n,o=0,a=gne(t);o<a.length-1;o++){var u=a[o],l=_i(e,a.slice(0,o+1));if(l&&(gy(l)||Array.isArray(l)))i=i[u]=hY(l);else{var f=a[o+1];i=i[u]=iIe(f)&&Number(f)>=0?[]:{}}}return(o===0?e:i)[a[o]]===r?e:(r===void 0?delete i[a[o]]:i[a[o]]=r,o===0&&r===void 0&&delete n[a[o]],n)}function _ne(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var i=0,o=Object.keys(e);i<o.length;i++){var a=o[i],u=e[a];gy(u)?r.get(u)||(r.set(u,!0),n[a]=Array.isArray(u)?[]:{},_ne(u,t,r,n[a])):n[a]=t}return n}var mp=ye.createContext(void 0);mp.displayName="FormikContext";var aIe=mp.Provider,oIe=mp.Consumer;function nP(){var e=ye.useContext(mp);return e}function sIe(e,t){switch(t.type){case"SET_VALUES":return Yn({},e,{values:t.payload});case"SET_TOUCHED":return Yn({},e,{touched:t.payload});case"SET_ERRORS":return Xu(e.errors,t.payload)?e:Yn({},e,{errors:t.payload});case"SET_STATUS":return Yn({},e,{status:t.payload});case"SET_ISSUBMITTING":return Yn({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Yn({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Yn({},e,{values:$s(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Yn({},e,{touched:$s(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Yn({},e,{errors:$s(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Yn({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Yn({},e,{touched:_ne(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Yn({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Yn({},e,{isSubmitting:!1});default:return e}}var Dl={},Ov={};function uIe(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,i=n===void 0?!0:n,o=e.validateOnMount,a=o===void 0?!1:o,u=e.isInitialValid,l=e.enableReinitialize,f=l===void 0?!1:l,d=e.onSubmit,h=Ju(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Yn({validateOnChange:r,validateOnBlur:i,validateOnMount:a,onSubmit:d},h),m=ye.useRef(p.initialValues),S=ye.useRef(p.initialErrors||Dl),E=ye.useRef(p.initialTouched||Ov),_=ye.useRef(p.initialStatus),w=ye.useRef(!1),T=ye.useRef({});ye.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var C=ye.useReducer(sIe,{values:p.initialValues,errors:p.initialErrors||Dl,touched:p.initialTouched||Ov,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),x=C[0],R=C[1],P=ye.useCallback(function(ve,_e){return new Promise(function(we,ke){var qe=p.validate(ve,_e);qe==null?we(Dl):mx(qe)?qe.then(function(Ue){we(Ue||Dl)},function(Ue){ke(Ue)}):we(qe)})},[p.validate]),y=ye.useCallback(function(ve,_e){var we=p.validationSchema,ke=ya(we)?we(_e):we,qe=_e&&ke.validateAt?ke.validateAt(_e,ve):cIe(ve,ke);return new Promise(function(Ue,We){qe.then(function(){Ue(Dl)},function(ct){ct.name==="ValidationError"?Ue(lIe(ct)):We(ct)})})},[p.validationSchema]),N=ye.useCallback(function(ve,_e){return new Promise(function(we){return we(T.current[ve].validate(_e))})},[]),$=ye.useCallback(function(ve){var _e=Object.keys(T.current).filter(function(ke){return ya(T.current[ke].validate)}),we=_e.length>0?_e.map(function(ke){return N(ke,_i(ve,ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(we).then(function(ke){return ke.reduce(function(qe,Ue,We){return Ue==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ue&&(qe=$s(qe,_e[We],Ue)),qe},{})})},[N]),H=ye.useCallback(function(ve){return Promise.all([$(ve),p.validationSchema?y(ve):{},p.validate?P(ve):{}]).then(function(_e){var we=_e[0],ke=_e[1],qe=_e[2],Ue=yC.all([we,ke,qe],{arrayMerge:fIe});return Ue})},[p.validate,p.validationSchema,$,P,y]),B=Ko(function(ve){return ve===void 0&&(ve=x.values),R({type:"SET_ISVALIDATING",payload:!0}),H(ve).then(function(_e){return w.current&&(R({type:"SET_ISVALIDATING",payload:!1}),R({type:"SET_ERRORS",payload:_e})),_e})});ye.useEffect(function(){a&&w.current===!0&&Xu(m.current,p.initialValues)&&B(m.current)},[a,B]);var W=ye.useCallback(function(ve){var _e=ve&&ve.values?ve.values:m.current,we=ve&&ve.errors?ve.errors:S.current?S.current:p.initialErrors||{},ke=ve&&ve.touched?ve.touched:E.current?E.current:p.initialTouched||{},qe=ve&&ve.status?ve.status:_.current?_.current:p.initialStatus;m.current=_e,S.current=we,E.current=ke,_.current=qe;var Ue=function(){R({type:"RESET_FORM",payload:{isSubmitting:!!ve&&!!ve.isSubmitting,errors:we,touched:ke,status:qe,values:_e,isValidating:!!ve&&!!ve.isValidating,submitCount:ve&&ve.submitCount&&typeof ve.submitCount=="number"?ve.submitCount:0}})};if(p.onReset){var We=p.onReset(x.values,U);mx(We)?We.then(Ue):Ue()}else Ue()},[p.initialErrors,p.initialStatus,p.initialTouched]);ye.useEffect(function(){w.current===!0&&!Xu(m.current,p.initialValues)&&(f&&(m.current=p.initialValues,W()),a&&B(m.current))},[f,p.initialValues,W,a,B]),ye.useEffect(function(){f&&w.current===!0&&!Xu(S.current,p.initialErrors)&&(S.current=p.initialErrors||Dl,R({type:"SET_ERRORS",payload:p.initialErrors||Dl}))},[f,p.initialErrors]),ye.useEffect(function(){f&&w.current===!0&&!Xu(E.current,p.initialTouched)&&(E.current=p.initialTouched||Ov,R({type:"SET_TOUCHED",payload:p.initialTouched||Ov}))},[f,p.initialTouched]),ye.useEffect(function(){f&&w.current===!0&&!Xu(_.current,p.initialStatus)&&(_.current=p.initialStatus,R({type:"SET_STATUS",payload:p.initialStatus}))},[f,p.initialStatus,p.initialTouched]);var X=Ko(function(ve){if(T.current[ve]&&ya(T.current[ve].validate)){var _e=_i(x.values,ve),we=T.current[ve].validate(_e);return mx(we)?(R({type:"SET_ISVALIDATING",payload:!0}),we.then(function(ke){return ke}).then(function(ke){R({type:"SET_FIELD_ERROR",payload:{field:ve,value:ke}}),R({type:"SET_ISVALIDATING",payload:!1})})):(R({type:"SET_FIELD_ERROR",payload:{field:ve,value:we}}),Promise.resolve(we))}else if(p.validationSchema)return R({type:"SET_ISVALIDATING",payload:!0}),y(x.values,ve).then(function(ke){return ke}).then(function(ke){R({type:"SET_FIELD_ERROR",payload:{field:ve,value:ke[ve]}}),R({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),J=ye.useCallback(function(ve,_e){var we=_e.validate;T.current[ve]={validate:we}},[]),ie=ye.useCallback(function(ve){delete T.current[ve]},[]),ne=Ko(function(ve,_e){R({type:"SET_TOUCHED",payload:ve});var we=_e===void 0?i:_e;return we?B(x.values):Promise.resolve()}),pe=ye.useCallback(function(ve){R({type:"SET_ERRORS",payload:ve})},[]),K=Ko(function(ve,_e){var we=ya(ve)?ve(x.values):ve;R({type:"SET_VALUES",payload:we});var ke=_e===void 0?r:_e;return ke?B(we):Promise.resolve()}),te=ye.useCallback(function(ve,_e){R({type:"SET_FIELD_ERROR",payload:{field:ve,value:_e}})},[]),z=Ko(function(ve,_e,we){R({type:"SET_FIELD_VALUE",payload:{field:ve,value:_e}});var ke=we===void 0?r:we;return ke?B($s(x.values,ve,_e)):Promise.resolve()}),ce=ye.useCallback(function(ve,_e){var we=_e,ke=ve,qe;if(!gx(ve)){ve.persist&&ve.persist();var Ue=ve.target?ve.target:ve.currentTarget,We=Ue.type,ct=Ue.name,jt=Ue.id,Gt=Ue.value,et=Ue.checked;Ue.outerHTML;var Rt=Ue.options,Et=Ue.multiple;we=_e||ct||jt,ke=/number|range/.test(We)?(qe=parseFloat(Gt),isNaN(qe)?"":qe):/checkbox/.test(We)?hIe(_i(x.values,we),et,Gt):Rt&&Et?dIe(Rt):Gt}we&&z(we,ke)},[z,x.values]),Se=Ko(function(ve){if(gx(ve))return function(_e){return ce(_e,ve)};ce(ve)}),Le=Ko(function(ve,_e,we){_e===void 0&&(_e=!0),R({type:"SET_FIELD_TOUCHED",payload:{field:ve,value:_e}});var ke=we===void 0?i:we;return ke?B(x.values):Promise.resolve()}),Be=ye.useCallback(function(ve,_e){ve.persist&&ve.persist();var we=ve.target,ke=we.name,qe=we.id;we.outerHTML;var Ue=_e||ke||qe;Le(Ue,!0)},[Le]),Xe=Ko(function(ve){if(gx(ve))return function(_e){return Be(_e,ve)};Be(ve)}),oe=ye.useCallback(function(ve){ya(ve)?R({type:"SET_FORMIK_STATE",payload:ve}):R({type:"SET_FORMIK_STATE",payload:function(){return ve}})},[]),O=ye.useCallback(function(ve){R({type:"SET_STATUS",payload:ve})},[]),I=ye.useCallback(function(ve){R({type:"SET_ISSUBMITTING",payload:ve})},[]),M=Ko(function(){return R({type:"SUBMIT_ATTEMPT"}),B().then(function(ve){var _e=ve instanceof Error,we=!_e&&Object.keys(ve).length===0;if(we){var ke;try{if(ke=Y(),ke===void 0)return}catch(qe){throw qe}return Promise.resolve(ke).then(function(qe){return w.current&&R({type:"SUBMIT_SUCCESS"}),qe}).catch(function(qe){if(w.current)throw R({type:"SUBMIT_FAILURE"}),qe})}else if(w.current&&(R({type:"SUBMIT_FAILURE"}),_e))throw ve})}),k=Ko(function(ve){ve&&ve.preventDefault&&ya(ve.preventDefault)&&ve.preventDefault(),ve&&ve.stopPropagation&&ya(ve.stopPropagation)&&ve.stopPropagation(),M().catch(function(_e){console.warn("Warning: An unhandled error was caught from submitForm()",_e)})}),U={resetForm:W,validateForm:B,validateField:X,setErrors:pe,setFieldError:te,setFieldTouched:Le,setFieldValue:z,setStatus:O,setSubmitting:I,setTouched:ne,setValues:K,setFormikState:oe,submitForm:M},Y=Ko(function(){return d(x.values,U)}),ae=Ko(function(ve){ve&&ve.preventDefault&&ya(ve.preventDefault)&&ve.preventDefault(),ve&&ve.stopPropagation&&ya(ve.stopPropagation)&&ve.stopPropagation(),W()}),Ee=ye.useCallback(function(ve){return{value:_i(x.values,ve),error:_i(x.errors,ve),touched:!!_i(x.touched,ve),initialValue:_i(m.current,ve),initialTouched:!!_i(E.current,ve),initialError:_i(S.current,ve)}},[x.errors,x.touched,x.values]),me=ye.useCallback(function(ve){return{setValue:function(we,ke){return z(ve,we,ke)},setTouched:function(we,ke){return Le(ve,we,ke)},setError:function(we){return te(ve,we)}}},[z,Le,te]),Ce=ye.useCallback(function(ve){var _e=gy(ve),we=_e?ve.name:ve,ke=_i(x.values,we),qe={name:we,value:ke,onChange:Se,onBlur:Xe};if(_e){var Ue=ve.type,We=ve.value,ct=ve.as,jt=ve.multiple;Ue==="checkbox"?We===void 0?qe.checked=!!ke:(qe.checked=!!(Array.isArray(ke)&&~ke.indexOf(We)),qe.value=We):Ue==="radio"?(qe.checked=ke===We,qe.value=We):ct==="select"&&jt&&(qe.value=qe.value||[],qe.multiple=!0)}return qe},[Xe,Se,x.values]),be=ye.useMemo(function(){return!Xu(m.current,x.values)},[m.current,x.values]),Ie=ye.useMemo(function(){return typeof u<"u"?be?x.errors&&Object.keys(x.errors).length===0:u!==!1&&ya(u)?u(p):u:x.errors&&Object.keys(x.errors).length===0},[u,be,x.errors,p]),Fe=Yn({},x,{initialValues:m.current,initialErrors:S.current,initialTouched:E.current,initialStatus:_.current,handleBlur:Xe,handleChange:Se,handleReset:ae,handleSubmit:k,resetForm:W,setErrors:pe,setFormikState:oe,setFieldTouched:Le,setFieldValue:z,setFieldError:te,setStatus:O,setSubmitting:I,setTouched:ne,setValues:K,submitForm:M,validateForm:B,validateField:X,isValid:Ie,dirty:be,unregisterField:ie,registerField:J,getFieldProps:Ce,getFieldMeta:Ee,getFieldHelpers:me,validateOnBlur:i,validateOnChange:r,validateOnMount:a});return Fe}function mLe(e){var t=uIe(e),r=e.component,n=e.children,i=e.render,o=e.innerRef;return ye.useImperativeHandle(o,function(){return t}),ye.createElement(aIe,{value:t},r?ye.createElement(r,t):i?i(t):n?ya(n)?n(t):yne(n)?null:ye.Children.only(n):null)}function lIe(e){var t={};if(e.inner){if(e.inner.length===0)return $s(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;_i(t,a.path)||(t=$s(t,a.path,a.message))}}return t}function cIe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=bC(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function bC(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||zK(i)?bC(i):i!==""?i:void 0}):zK(e[n])?t[n]=bC(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function fIe(e,t,r){var n=e.slice();return t.forEach(function(o,a){if(typeof n[a]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(o);n[a]=l?yC(Array.isArray(o)?[]:{},o,r):o}else r.isMergeableObject(o)?n[a]=yC(e[a],o,r):e.indexOf(o)===-1&&n.push(o)}),n}function dIe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function hIe(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 pIe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ye.useLayoutEffect:ye.useEffect;function Ko(e){var t=ye.useRef(e);return pIe(function(){t.current=e}),ye.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 yLe(e){var t=e.validate,r=e.name,n=e.render,i=e.children,o=e.as,a=e.component,u=Ju(e,["validate","name","render","children","as","component"]),l=nP(),f=Ju(l,["validate","validationSchema"]),d=f.registerField,h=f.unregisterField;ye.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var p=f.getFieldProps(Yn({name:r},u)),m=f.getFieldMeta(r),S={field:p,form:f};if(n)return n(Yn({},S,{meta:m}));if(ya(i))return i(Yn({},S,{meta:m}));if(a){if(typeof a=="string"){var E=u.innerRef,_=Ju(u,["innerRef"]);return ye.createElement(a,Yn({ref:E},p,_),i)}return ye.createElement(a,Yn({field:p,form:f},u),i)}var w=o||"input";if(typeof w=="string"){var T=u.innerRef,C=Ju(u,["innerRef"]);return ye.createElement(w,Yn({ref:T},p,C),i)}return ye.createElement(w,Yn({},p,u),i)}var vIe=ye.forwardRef(function(e,t){var r=e.action,n=Ju(e,["action"]),i=r??"#",o=nP(),a=o.handleReset,u=o.handleSubmit;return ye.createElement("form",Object.assign({onSubmit:u,ref:t,onReset:a,action:i},n))});vIe.displayName="Form";function gIe(e){var t=function(i){return ye.createElement(oIe,null,function(o){return ye.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+")",OEe(t,e)}var mIe=function(t,r,n){var i=Ff(t),o=i[r];return i.splice(r,1),i.splice(n,0,o),i},yIe=function(t,r,n){var i=Ff(t),o=i[r];return i[r]=i[n],i[n]=o,i},yx=function(t,r,n){var i=Ff(t);return i.splice(r,0,n),i},_Ie=function(t,r,n){var i=Ff(t);return i[r]=n,i},Ff=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(Yn({},t,{length:r+1}))}else return[]},EIe=(function(e){mne(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(o,a,u){var l=i.props,f=l.name,d=l.formik.setFormikState;d(function(h){var p=typeof u=="function"?u:o,m=typeof a=="function"?a:o,S=$s(h.values,f,o(_i(h.values,f))),E=u?p(_i(h.errors,f)):void 0,_=a?m(_i(h.touched,f)):void 0;return mY(E)&&(E=void 0),mY(_)&&(_=void 0),Yn({},h,{values:S,errors:u?$s(h.errors,f,E):h.errors,touched:a?$s(h.touched,f,_):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(Ff(a),[nIe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(u){return yIe(u,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(u){return mIe(u,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(u){return yx(u,o,a)},function(u){return yx(u,o,null)},function(u){return yx(u,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(u){return _Ie(u,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(u){var l=u?[o].concat(u):[o];return a<0&&(a=l.length),l},function(u){var l=u?[null].concat(u):[null];return a<0&&(a=l.length),l},function(u){var l=u?[null].concat(u):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(gY(i)),i.pop=i.pop.bind(gY(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Xu(_i(i.formik.values,i.name),_i(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var o;return this.updateArrayField(function(a){var u=a?Ff(a):[];return o||(o=u[i]),ya(u.splice)&&u.splice(i,1),u},!0,!0),o},r.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},r.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,u=o.render,l=o.children,f=o.name,d=o.formik,h=Ju(d,["validate","validationSchema"]),p=Yn({},i,{form:h,name:f});return a?ye.createElement(a,p):u?u(p):l?typeof l=="function"?l(p):yne(l)?null:ye.Children.only(l):null},t})(ye.Component);EIe.defaultProps={validateOnChange:!0};var SIe=(function(e){mne(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return _i(this.props.formik.errors,this.props.name)!==_i(i.formik.errors,this.props.name)||_i(this.props.formik.touched,this.props.name)!==_i(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,o=i.component,a=i.formik,u=i.render,l=i.children,f=i.name,d=Ju(i,["component","formik","render","children","name"]),h=_i(a.touched,f),p=_i(a.errors,f);return h&&p?u?ya(u)?u(p):null:l?ya(l)?l(p):null:o?ye.createElement(o,d,p):p:null},t})(ye.Component),_Le=gIe(SIe);const wIe=ye.createContext(""),Dh=ye.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=ye.useContext(wIe),o=r||i,a=Object.assign({escapeText:!0},n),u=Gr.getPhrase(o,t,a);return de.jsx("span",{dangerouslySetInnerHTML:{__html:u}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&js.isEqual(e.options,t.options));function bIe(e){var n;const[t,r]=ye.useState(!1);return ye.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]),ye.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function TIe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...o}=e,a=ye.useRef(null),[{width:u,height:l},f]=ye.useState({}),[d,h]=ye.useState(t);ye.useEffect(()=>{if(!t){f({});return}const m=a.current,S=m.offsetHeight,E=m.offsetWidth;!S||!E||f({width:E,height:S})},[t]),ye.useLayoutEffect(()=>{h(t)},[t]);const p={...n};return u&&(p.width=`${u+1}px`),l&&(p.height=`${l+1}px`),de.jsx(ay,{ref:a,disabled:t,style:p,...o,children:d?de.jsxs(de.Fragment,{children:[de.jsx(cy,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&de.jsx("span",{className:"ps-1",children:i})]}):r})}const AIe={info:"custom-toggle-info"};Ene.defaults={floatEnd:!0};function Ene(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:o,hideOutline:a,...u}=e;function l(..._){e.disabled||e.onClick(..._)}const f="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=a?"outline-none":"",p=AIe[i]??"",m=o?"float-end":"";let S=t?"on":"";e.disabled&&!r&&(S="");const E=`${f} ${p} ${S} ${d} ${h} ${m}`;return e.tooltipText?de.jsx(xf,{title:n,spanHack:!0,children:de.jsx(Jx,{...u,role:"switch","aria-checked":`${t}`,onClick:l,className:E,children:de.jsx("span",{className:"handle"})})}):de.jsx(Jx,{...u,role:"switch","aria-checked":t,onClick:l,className:E,children:de.jsx("span",{className:"handle"})})}const Sne="shared.popup",Zl=e=>de.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 wne(e){return de.jsx(TIe,{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?de.jsx(de.Fragment,{children:e.text}):de.jsx(Dh,{namespace:Sne,phrase:e.isNew?"create":"save"})})}function RIe(e){const t=nP(),r=bIe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return de.jsx(wne,{...e,disabled:i(),showSpinner:n})}const xIe=e=>kr.useContext(mp)?de.jsx(RIe,{...e}):de.jsx(wne,{...e}),CIe=e=>de.jsx(ay,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:de.jsx(Dh,{namespace:Sne,phrase:"cancel"})}),OIe=e=>de.jsx(o1e.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),IIe=e=>de.jsxs("div",{className:"d-flex align-items-center me-auto",children:[de.jsx(Ene,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&de.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});Zl.Submit=xIe;Zl.Cancel=CIe;Zl.Checkbox=OIe;Zl.Toggle=IIe;const yY="shared.shared-utils",PIe={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=NI.createRoot(r);function i(){var l;if(Ro.isFunction((l=t.submitButtonProps)==null?void 0:l.onClick)){const f=t.submitButtonProps.onClick();if(f instanceof Promise){f.then(()=>{n.unmount()});return}}n.unmount()}function o(){var l;Ro.isFunction((l=t.cancelButtonProps)==null?void 0:l.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const a={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},u={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{o()}};n.render(de.jsxs(Vre,{title:t.title,closePopup:o,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&de.jsxs(Zl,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&de.jsx(Zl.Cancel,{...u}),t.submitButtonProps&&de.jsx(Zl.Submit,{...a})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:Gr.getPhrase(yY,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:Gr.getPhrase(yY,"cancel")}}},Iv=Gr.encloseNamespace("shared.hooks"),kIe=()=>{const[e,t]=kr.useState([]),r=Nr.Radio.channel(pn.SHELL);kr.useEffect(()=>(e.find(l=>!l.allowAppLinks)&&r.on(mn.NAV_IS_LOCKED,o),e.length&&window.addEventListener("beforeunload",a),()=>{r.off(mn.NAV_IS_LOCKED,o),window.removeEventListener("beforeunload",a)}),[e]),kr.useEffect(()=>{function l(){n({id:"upload",title:Iv("navLockTitle"),text:Iv("navLockBody"),allowAppLinks:!0})}const f=Nr.Radio.channel(ih.VIDEO_UPLOAD);return f.on(fu.FILES_ADDED,l),f.on(fu.UNLOCK_NAV,i),()=>{f.off(fu.FILES_ADDED,l),f.off(fu.UNLOCK_NAV,i)}},[]);function n(l={}){e.find(f=>f.id===l.id)||(l.allowAppLinks||r.trigger(mn.LOCK_NAV),t([...e,l]))}function i(l){const f=e.filter(d=>d.id!==l);(f.length===0||!f.find(d=>!d.allowAppLinks))&&r.trigger(mn.UNLOCK_NAV),t(f)}function o(l){var d;if(!e.length)return;const f=e.find(h=>!h.allowAppLinks);if((d=f.appLinkWhitelist)!=null&&d.find(h=>h.action===l.action&&h.application===l.application)){r.trigger(mn.UNLOCK_NAV),window.setTimeout(()=>{Ti.trigger(l),r.trigger(mn.LOCK_NAV)},0);return}if(Ro.isFunction(f.renderCustomDialog)){f.renderCustomDialog();return}PIe.render(de.jsx("p",{children:f.text}),{title:f.title,submitButtonProps:{onClick:()=>{f.onConfirmUnlock&&f.onConfirmUnlock(),u(l)},variant:"danger",text:Iv("discard")},cancelButtonProps:{text:Iv("cancel"),variant:"link"}})}function a(l){let f=e.find(d=>d.allowAppLinks);return f||(f=ic.first(e)),l.returnValue=f.text,f.text}function u(l){r.trigger(mn.NAV_UNLOCKED_BY_USER),e.forEach(f=>{f.allowAppLinks||i(f.id)}),window.removeEventListener("beforeunload",a),Ti.trigger(l)}return{lock:n,unlock:i}};function DIe(){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)}ye.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function LIe(){const e=Ea(ol.version());return e.data?de.jsx("footer",{className:"text-center text-secondary my-2",children:de.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):de.jsx(de.Fragment,{})}function NIe(){return de.jsx("svg",{viewBox:"0 0 434 71",children:de.jsxs("g",{children:[de.jsx("path",{fill:"#000000",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),de.jsx("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})]})})}function ELe(){return de.jsx("svg",{viewBox:"0 0 41 70",children:de.jsx("g",{children:de.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const ja={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:Jl.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:ys.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:ra.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:Jl.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:Jl.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:ra.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=ic.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}}},bne=e=>{const t=Ea(ja.currentUser()),r=Ea(t.hasCompleted&&lh.getCustomerSettingsRequest(t.data)),n=Ea(t.hasCompleted&&lh.getUserSettingsRequest(t.data)),i=sp(),o=!!r.hasCompleted&&!!n.hasCompleted,a=E=>{var T,C;if(!o||r.hasError||n.hasError)return null;const _=(T=r.data)==null?void 0:T[E];if(_)return _==null?void 0:_.value;const w=(C=n.data)==null?void 0:C[E];return w?w==null?void 0:w.value:null};function u(E,_,w,T,C){return E==="user"?zl.updateUserSetting(_,w,T,C):zl.updateCustomerSetting(_,w,T,C)}const l=(E,_,w,T,C)=>{function x(){Fa.logUserAction({name:_.name,value:_.value},{location:e,entity:On.UserSetting,actionType:Ft.Edit}),w==null||w()}cd(i,u(E,_,x,T,C))},f=(E,_)=>new Promise((w,T)=>{l(E,_,w,T)}),d=(E,_,w,T)=>l("user",E,_,w,T),h=(E,_,w,T)=>l("customer",E,_,w,T),p=E=>f("user",E),m=E=>f("customer",E);function S(){var E;return(E=t.data)!=null&&E.isAuthenticated?a(br.HasTopicDirectories):!0}return{isLoadingSettings:!o,updateUserSetting:d,updateUserSettingAsync:p,updateCustomerSetting:h,updateCustomerSettingAsync:m,userSettings:n,shareToGoogleClassroom:a(br.ShareToGoogleClassroom),shareToMicrosoftTeams:a(br.ShareToMicrosoftTeams),hasLti:a(br.LTI),defaultPlaybackQuality:a(br.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:a(br.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:a(br.EnableSubtitlesDefault),hasCompletedOnboardingV1:a(br.HasCompletedOnboardingV1),hasCompletedOnboardingV2:a(br.HasCompletedOnboardingV2),hasOnboardingV2:a(br.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:a(br.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:a(br.HasCompletedOnboardingProductTips),liteUpgradeTime:a(br.LiteUpgradeTime),liteUpgradeTypeCustomer:a(br.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:a(br.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:a(br.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:a(br.LiteUpgradeFeedback),liteUpgradeComplete:a(br.LiteUpgradeComplete),hasNewClassificationView:a(br.HasNewClassificationView),hasCuratedDiscoverDashboards:a(br.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:a(br.HasSpecialEventCalendar),hasLiteSearchDropdown:a(br.HasLiteSearchDropdown),policyEndTime:a(br.PolicyEndTime),bulkOnboardingPreferencesState:a(br.BulkOnboardingPreferencesState),hasOnlineTopics:a(br.Topics),hasPreviewVideos:a(br.PreviewVideos),domainSettings:a(br.DomainSettings),inviteColleague:a(br.InviteColleague),myVideosFolders:a(br.MyVideosFolders),exchangeTvProductOption:a(br.ExchangeTvProductOption),messageFrequencyOption:a(br.MessageFrequencyOption),tvRegion:a(br.TvRegion),hasEnabledViviStudentCasting:a(br.HasEnabledViviStudentCasting),hasEnabledViviPlayback:a(br.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:a(br.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:a(br.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:a(br.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:a(br.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:a(br.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:a(br.ShowExchangeSearchResultsUser),shareOverrideRestrictions:a(br.ShareOverrideRestrictions),hasTopicDirectories:S(),hasTopicVideoListFeature:a(br.HasTopicVideoListFeature),hasManageGroupPermissions:a(br.HasManageGrouPermissions),experimentalInteractiveQuestions:a(br.ExperimentalInteractiveQuestions),hasClassrooms:a(br.HasClassrooms),hasNewSearch:a(br.HasNewSearch),hasPlayPageTranscript:a(br.HasPlayPageTranscript),hasShareFlowV2:a(br.HasShareFlowV2)}};function MIe(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var my=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(my||{}),Qu=(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))(Qu||{}),$Ie=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))($Ie||{});function FIe(e){return de.jsx("svg",{...e,children:de.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 jIe={[Qu.Banners]:"banner",[Qu.Thumbnails]:"thumbnail"},_Y={[Qu.Banners]:"banners",[Qu.Thumbnails]:"thumbnails",[Qu.TallPosters]:"tallPosters",[Qu.Covers]:"covers",[Qu.Avatars]:"avatars"},UIe={categoryMapper:e=>`/v1/category-map/${e}`},iu={createUrl(e,t){return iu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?iu._createUrl(e.url,r):iu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return iu._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=ys.safeUrlConcat(r,`${UIe.categoryMapper(jIe[i])}`),a={name:iu.Rfc3986EncodeURIComponent(n),...t};return iu._createUrl(o,a)},_createUrl(e,t){if(!e)return;if(js.isEmpty(t))return e;const r=Ls.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 gu?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:my.Small,bgColor:"000",...t};return iu._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){_Y[t]||hr.throw(new wn(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=ys.safeUrlConcat(e,`v2/${_Y[t]}/${r}`);return ys.urlBuilder(i,{size:n})}},qIe="_avatar_xiggt_1",BIe="_dot_xiggt_11",_x={avatar:qIe,dot:BIe};function VIe(e,t){return t?iu.createUrl(ys.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:my.Small}):""}function HIe(e){const t=!e.anonymiseUsers&&e.imageUrl||VIe(e.imageCdnUrl,e.initials);return de.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?de.jsx("div",{className:`${_x.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:de.jsx(al,{svg:FIe,size:e.anonymousSvgSize||vre.Large,className:"svg-container w-100 h-100"})}):de.jsx("div",{className:`${_x.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&de.jsx("div",{className:`${_x.dot} rounded-circle bg-danger`})]})}var yp=(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))(yp||{}),iP=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(iP||{});function zIe(e){return e?e===ms.SessionStorage?$g:Vi:null}const Tne=(e,t,r)=>{const n=zIe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const o=sp(),a=Mee(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function u(){return i!=null}const l=(t!==void 0||u())&&a===void 0;kr.useEffect(()=>{if(l){if(u()){f(i);return}f(t);return}},[]);function f(h,p){n&&d(h,p),o({type:iP.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:p}})}function d(h,p){if(!n)return;const m=n.get(e);if(typeof h=="string"&&p!==void 0){n.set(e,{...m,[h]:p});return}n.set(e,h)}return l?u()?[i,f]:[t,f]:[a??void 0,f]},WIe={LOCAL_PERMISSIONS:"local:permissions",BULK_USER_ACTIONS:"bulk:user:actions"},yy=()=>{const e=Ea(ja.currentUser()),t=Ea(e.hasCompleted&&ja.permissions()),[r]=Tne(WIe.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||hr.throw(new wn("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 EY(e){return de.jsx("svg",{...e,children:de.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 Ex={"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 Fl=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Fl||{}),wf=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(wf||{}),Yo=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Yo||{});const Ul={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 Ul.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=wf.Unknown;break;case 1:t=wf.Staff;break;case 2:t=wf.Learner;break;case 255:t=wf.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Fl.Disabled;break;case 1:t=Fl.Active;break;case 2:t=Fl.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Fl.Disabled;break;case 1:e=Fl.Active;break;case 2:e=Fl.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 Yo.User;if(typeof t=="number")switch(t){case 16:t=Yo.Guest;break;case 32:t=Yo.User;break;case 48:t=Yo.Admin;break;case 64:t=Yo.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Yo.User;if(typeof e=="number")switch(e){case 16:return Yo.Guest;case 32:return Yo.User;case 48:return Yo.Admin;case 64:return Yo.SuperAdmin;default:return Yo.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Ul.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?ic.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 Ul.hasLegacySso(e)||Ul.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in Ex)Ex.hasOwnProperty(n)&&(t[n.toLowerCase()]=Ex[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Ul.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function SY(e){return de.jsx("svg",{...e,children:de.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 GIe="_toggle_1f3ot_1",KIe={toggle:GIe},YIe=4,wY="shared.customerSelectorItem";function XIe(e){var n;function t(i,o=null){o!==e.currentCustomerId&&(Fa.logUserAction({id:e.currentCustomerId,newCustomerId:o},{actionType:Ft.SwitchCustomer,entity:On.Customer,location:Sa.UserOptions}),Nn.PageLoad(r(o)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?de.jsx(de.Fragment,{}):e.customers.length<=1?de.jsx(de.Fragment,{}):e.customers.length>YIe?de.jsx(Eo.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:de.jsxs("div",{className:"d-flex justify-content-between",children:[de.jsx(Dh,{namespace:wY,phrase:"title"}),de.jsx(al,{svg:SY,className:"svg-container text-secondary"})]})}):de.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[de.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${KIe.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[de.jsx(Dh,{namespace:wY,phrase:"title"}),de.jsx(al,{svg:SY,className:"svg-container text-secondary"})]}),de.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,o)=>{const a=i.id===e.currentCustomerId;return de.jsx(Eo.Item,{as:"li",onClick:u=>t(u,i.id),disabled:a,children:i.name},o)})})]})}const Ane=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:o,isLoadingSettings:a}=bne(null),{hasPermissions:u}=yy(),l=e||t,f=ye.useMemo(()=>{if(a||!r)return 0;const S=new Date(r),E=new Date;return Math.max(el.diffBetween(S,E,"day"),0)+1},[a,r]),[d,h]=Tne("lite:upgrade:feedback:banner",{show:!0},{storage:ms.LocalStorage}),p=!!l;return{isUpgrading:p&&!i,isLoading:a,daysLeft:f,upgradeType:l,hasCompletedOnboarding:o,feedbackStatus:n,showFeedbackBanner:p&&d.show&&!u(yp.StudentExperience),showTvGuide:p,dismissFeedbackBanner:()=>h({show:!1})}};class QIe{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){hr.throw(new wn("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===So.Online){if(!t.onlineSupportSiteUrl){hr.throw(new wn("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){hr.throw(new wn("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(hr.throw(new wn("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return ys.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===So.Primary&&hr.throw(new wn("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===So.Online&&hr.throw(new wn("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===So.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?ys.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":ys.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const TC=QIe.Instance,JIe="shared.userOptions",bY=Gr.encloseNamespace(JIe);function ZIe(e,t,r){const{hasPermissions:n}=yy(),i=Ane(),o=ic.sortBy(t,"order");if(e&&(o.push({label:bY("helpCentre"),order:0,url:TC.getHybridArticle(null,null),analyticsData:{url:TC.getHybridArticle(null,null)},analyticsOptions:{actionType:Ft.Click,entity:On.Url,descriptor:Xl.ExternalLink,location:Sa.UserOptions}}),n(yp.ViewProductBoard)&&!i.isUpgrading&&!r)){const u=ys.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");o.push({label:bY("whatsNew"),order:0,url:u,analyticsData:{url:u},analyticsOptions:{actionType:Ft.Click,entity:On.Url,descriptor:Xl.ExternalLink,location:Sa.UserOptions}})}const a={main:[],logOut:[]};return o.forEach(u=>{u.section==="logOut"?a.logOut.push(u):a.main.push(u)}),a}function ePe(e,t,r){var f;const n=Ea(ja.currentUser()),i=Ea(((f=n.data)==null?void 0:f.isAuthenticated)&&GI.userProducts()),o=Ane();if(t||!i.data||o.isLoading)return;const a=[...i.data],u=Array.isArray(e)?e:[e];o.isUpgrading&&!u.includes(So.Online)&&u.push(So.Online);let l=a.filter(d=>!u.includes(d.id),"order");return typeof r=="function"&&(l=r(l)),ic.sortBy(l)}const tPe="_avatarContainer_1z0er_1",rPe="_productLogo_1z0er_5",nPe="_counter_1z0er_9",jg={avatarContainer:tPe,productLogo:rPe,counter:nPe},iPe="shared.userOptions",vh=Gr.encloseNamespace(iPe);function TY({item:e}){if(e.appLink)return de.jsxs(Eo.Item,{as:xo,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&&de.jsx("div",{className:`${jg.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),de.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&de.jsx(al,{svg:EY,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&&Fa.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Nn.PageLoad(e.url,!0)};return de.jsxs(Eo.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&&de.jsx("div",{className:`${jg.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),de.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&de.jsx(al,{svg:EY,className:"svg-container text-secondary"})]})]})}return de.jsx(de.Fragment,{})}const aPe=({appLinks:e,showSignUpForMobile:t})=>de.jsxs(de.Fragment,{children:[de.jsx(xo,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:Ft.Click,location:Sa.TopNav,entity:On.Url,descriptor:Rh.SignIn},analyticsData:{},children:vh("signIn")}),de.jsx(xo,{appLink:e.signUp,className:MIe("btn btn-dark",!t&&"d-none d-lg-inline-block"),analyticsOptions:{actionType:Ft.Click,location:Sa.TopNav,entity:On.AppLink,workflowPhase:Zu.Start,descriptor:Rh.SignUp},analyticsData:{},tag:"button",children:vh(t?"signUpForMobile":"signUp")})]}),oPe=({appLinks:e})=>de.jsx(xo,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:Ft.Click,location:Sa.TopNav,entity:On.AppLink,workflowPhase:Zu.Start,descriptor:Rh.SignIn},analyticsData:{},children:vh("signIn")});function sPe(e){var S,E,_,w,T,C;const[t,r]=ye.useState(!1),{hasPermissions:n}=yy(),i=Ea(ja.currentUser()),o=Ea(((S=i.data)==null?void 0:S.id)&&ja.user(i.data.id)),a=Ea(ol.config()),u=Ea(((E=i.data)==null?void 0:E.isAuthenticated)&&ja.customers(i.data.id)),l=ZIe(a.data,e.additionalItems,e.hideWhatsNew),f=n(yp.GuestExperience),d=e.hideProductList||f,h=ePe(e.productId,d,e.transform);function p(x){r(x),Fa.logUserAction({},{actionType:Ft.Click,entity:On.AppLink,location:Sa.UserOptions,descriptor:x?Xl.Open:Xl.Close})}function m(x){Fa.logUserAction({id:x.id,name:x.name},{actionType:Ft.Click,entity:On.Product,location:Sa.UserOptions,descriptor:Xl.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!o.hasCompleted||!a.data?de.jsx(de.Fragment,{}):i.data.isAuthenticated?de.jsxs(Eo,{className:"position-relative",onToggle:p,children:[de.jsx(Eo.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${jg.avatarContainer} no-caret border-0 p-0`,children:de.jsx(HIe,{imageUrl:iu.createUrl(i.data.avatar,{size:my.Small}),imageCdnUrl:a.data.imageCdnUrl,initials:Ul.getInitials(i.data.givenName,i.data.familyName),showDot:l.main.some(x=>x.counter>0)})}),de.jsxs(Eo.Menu,{as:"ul",align:"end",children:[de.jsxs(Eo.Item,{as:"div",children:[de.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[de.jsx("strong",{children:i.data.displayName})," ",!f&&de.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),de.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!f&&((_=o.data)==null?void 0:_.masterYearGroup)&&de.jsx("p",{className:"m-0 text-secondary",children:o.data.masterYearGroup.name})]}),de.jsx(XIe,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(T=u.data)==null?void 0:T.data}),de.jsx(Eo.Divider,{}),l.main.map((x,R)=>de.jsx(TY,{item:x},R)),de.jsx(Eo.Divider,{}),h==null?void 0:h.map((x,R)=>de.jsxs(Eo.Item,{as:"a",href:x.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>m(x),children:[de.jsx("img",{src:x.imageUrl,className:`${jg.productLogo} me-2`}),x.name]},R)),!!(h!=null&&h.length)&&de.jsx(Eo.Divider,{}),l.logOut.map((x,R)=>de.jsx(TY,{item:x},R)),de.jsx(Eo.Item,{as:xo,appLink:e.appLinks.signOut,analyticsData:{id:(C=i.data)==null?void 0:C.id},analyticsOptions:{actionType:Ft.Click,location:Sa.UserOptions,entity:On.AppLink,descriptor:Rh.SignOut},children:vh("signOut")})]})]}):e.displaySignUp?de.jsx(aPe,{...e}):de.jsx(oPe,{...e})}function uPe(e){return de.jsx("svg",{...e,children:de.jsx("path",{fill:"currentColor",d:"M4.794 4c-.67 0-1.207.541-1.207 1.21v13.58c0 .669.538 1.21 1.207 1.21h14.499c.67 0 1.207-.541 1.207-1.21V5.21c0-.669-.538-1.21-1.207-1.21zm-.207 1.21c0-.12.093-.21.207-.21h14.499c.114 0 .207.09.207.21v13.58c0 .12-.093.21-.207.21h-.82c.09-.212.126-.451.09-.696l-.977-6.73a1.3 1.3 0 0 0-1.474-1.099l-.791.115a1.3 1.3 0 0 0-.628.273A1.3 1.3 0 0 0 13.4 9.7h-1.6c-.302 0-.58.103-.8.275a1.3 1.3 0 0 0-.8-.275H8.6A1.3 1.3 0 0 0 7.3 11v7.6q0 .21.063.4H4.794a.207.207 0 0 1-.207-.21zM14.7 15.36l.499 3.433q.015.107.047.207h-.609a1.3 1.3 0 0 0 .063-.4zM8.3 11a.3.3 0 0 1 .3-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3H8.6a.3.3 0 0 1-.3-.3zm3.5-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3h-1.6a.3.3 0 0 1-.3-.3V11a.3.3 0 0 1 .3-.3m3.41 1.22a.3.3 0 0 1 .254-.34l.792-.115a.3.3 0 0 1 .34.254l.978 6.729a.3.3 0 0 1-.254.34l-.792.115a.3.3 0 0 1-.34-.254z"})})}function lPe(e){return de.jsx("svg",{...e,children:de.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.893 7.5H5.6A1.6 1.6 0 0 0 4 9.1v9.3A1.6 1.6 0 0 0 5.6 20h12.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-5.096l2.733-2.535a.55.55 0 0 0 0-.816.657.657 0 0 0-.88 0l-3.059 2.837L9.04 4.15a.657.657 0 0 0-.88 0 .55.55 0 0 0 0 .816zM5.6 8.7h12.8c.22 0 .4.18.4.4v9.3a.4.4 0 0 1-.4.4H5.6a.4.4 0 0 1-.4-.4V9.1c0-.22.18-.4.4-.4m11.407 3.413a.6.6 0 0 1-.24.814l-4.4 2.4a.6.6 0 0 1-.887-.527v-1.39l-3.513 1.917a.6.6 0 1 1-.574-1.054l4.4-2.4a.6.6 0 0 1 .887.527v1.39l3.513-1.917a.6.6 0 0 1 .814.24",clipRule:"evenodd"})})}const cPe="_navItem_7o62g_5",fPe="_active_7o62g_18",dPe="_svg_7o62g_21",hPe="_background_7o62g_24",pPe="_backgroundExchange_7o62g_33",vPe="_backgroundTv_7o62g_37",gPe="_iconContainer_7o62g_42",mPe="_text_7o62g_57",yPe="_exchange_7o62g_66",_Pe="_clickviewTv_7o62g_72",Ds={navItem:cPe,active:fPe,svg:dPe,background:hPe,backgroundExchange:pPe,backgroundTv:vPe,iconContainer:gPe,text:mPe,exchange:yPe,clickviewTv:_Pe};function EPe(e){return e==="exchange"?Ds.backgroundExchange:e==="tv"?Ds.backgroundTv:""}function AY(e){const{appLink:t,typeClass:r,active:n,text:i,svg:o}=e;return de.jsxs(xo,{appLink:t,className:`${Ds.navItem} ${r} ${n?Ds.active:""}`,children:[de.jsx("div",{className:Ds.iconContainer,children:de.jsx(al,{svg:o,className:Ds.svg})}),de.jsx("div",{className:Ds.text,children:i})]})}function SPe(e){return de.jsxs("div",{className:"position-relative",children:[de.jsx("div",{className:`${Ds.background} ${EPe(e.activeApp)}`}),de.jsx(AY,{appLink:{application:Ii.EXCHANGE,action:wo.Exchange.INDEX},typeClass:Ds.exchange,active:e.activeApp==="exchange",text:"Exchange Archive",svg:uPe}),de.jsx(AY,{appLink:{application:Ii.TV,action:wo.Tv.INDEX},typeClass:Ds.clickviewTv,active:e.activeApp==="tv",text:"ClickView TV",svg:lPe})]})}var Rne=(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))(Rne||{}),wPe=(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))(wPe||{});const xne={customer(e,t,r,n){return{url:ys.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:ra.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},bPe="_nav_fxrnb_1",TPe="_logo_fxrnb_11",APe="_navIconContainer_fxrnb_23",Pv={nav:bPe,logo:TPe,navIconContainer:APe},RPe="exchange.header",RY={application:Ii.DEFAULT,action:wo.Default.INDEX};function xPe(e){var d,h,p;const t=Ea(ol.config()),r=Ea(GI.userProducts()),n=Ea(ja.currentUser()),o=((h=Ea(!!((d=n.data)!=null&&d.isAuthenticated)&&xne.customer(n.data.customerId)).data)==null?void 0:h.customerType)===Rne.Tertiary,{exchangeTvProductOption:a}=bne(null),{hasPermissions:u}=yy(),l=(p=r.data)==null?void 0:p.find(m=>m.id===So.Exchange);function f(m){return o&&!u(yp.ViewCustomerAnalytics)?m.filter(S=>S.id!==So.Analytics):m}return de.jsx("nav",{className:`navbar navbar-expanded ps-3 w-100 ${Pv.nav}`,children:de.jsxs("div",{className:"container-fluid",children:[de.jsx("div",{className:`d-flex align-items-center justify-content-start ${Pv.headerLeft}`,children:de.jsx(xo,{appLink:RY,className:`navbar-brand text-hide align-top ${Pv.logo} d-inline-block'`,analyticsData:{url:Ti.getHref(RY)},analyticsOptions:{actionType:Ft.Click,entity:On.Url,location:Sa.TopNav,descriptor:Xl.ClickViewLogo},children:de.jsx(NIe,{})})}),l&&a==="exchange_and_tv"&&de.jsx("div",{className:`${Pv.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:de.jsx(SPe,{activeApp:e.activeApp})}),de.jsxs("div",{className:"d-flex align-items-center justify-content-end",children:[de.jsx(xo,{appLink:{application:Ii.DEFAULT,action:wo.Default.GIVE_FEEDBACK},className:"btn btn-outline-dark me-3",children:de.jsx(Dh,{namespace:RPe,phrase:"giveFeedback"})}),!!t.data&&de.jsx("div",{className:"me-3",children:de.jsx(sPe,{productId:So.Exchange,appLinks:{signOut:{application:Ii.DEFAULT,action:wo.Default.LOG_OUT}},transform:f})})]})]})})}const CPe="_content_ulv6h_1",OPe="_container_ulv6h_6",IPe="_fixedBottomRightContainer_ulv6h_13",PPe="_lockedWidth_ulv6h_19",kv={content:CPe,container:OPe,fixedBottomRightContainer:IPe,lockedWidth:PPe},Cne="banner-portal-container",kPe=e=>(kIe(),DIe(),ye.useEffect(()=>{document.body.style.overflowY="scroll"},[]),de.jsx(fx,{renderError:()=>Nre({error:new Mf}),children:de.jsxs("div",{className:kv.lockedWidth,children:[de.jsx(xPe,{activeApp:e.activeApp}),de.jsxs("div",{className:kv.content,children:[de.jsx("div",{className:`container-fluid ${Cne}`}),de.jsxs("div",{className:`container px-3 ${kv.container}`,children:[de.jsx(fx,{throwError:Mf,children:e.contentChild}),de.jsx(LIe,{})]})]}),de.jsx(fx,{throwError:ZAe,children:e.popupChild}),de.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&de.jsx("div",{className:kv.fixedBottomRightContainer,children:e.alertChild})}),de.jsx("div",{style:{display:"none"},children:e.hiddenChild})]})}));function DPe(e){return de.jsx($ee,{store:e.store,children:de.jsx(bbe,{children:de.jsx(JAe,{children:de.jsx(XAe,{containerClassName:Cne,children:de.jsx(kPe,{...e})})})})})}class LPe extends GAe{constructor(r){super(r);Sn(this,"childComponents",{});Sn(this,"preventScrollTop",!1);Sn(this,"activeApp")}initialize(){var n,i;this.listenTo(pn.SHELL,mn.ROUTE,this.onRouteChange),this.listenTo(pn.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0);const r=(i=(n=ste.getCurrentContext())==null?void 0:n.appLink)==null?void 0:i.application;this.setActiveApp(r)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region position-relative"></div>'}static getCacheKey(){return`${cp.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[rn.CONTENT],popupChild:this.childComponents[rn.POPUP],alertChild:this.childComponents[rn.ALERT],hiddenChild:this.childComponents[rn.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(r){delete this.childComponents[r],this.renderLayout()}closePopup(){this.unsetRegion(rn.POPUP)}showChildView(r,n,i={}){this.childComponents[r]=n,r===rn.CONTENT&&(!this.preventScrollTop&&!i.preventScrollTop&&Ls(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const r={...this.getChildComponents()};super.showChildView("layout",de.jsx(DPe,{...r}))}setActiveApp(r){if(r===Ii.EXCHANGE){this.activeApp="exchange";return}if(r===Ii.TV){this.activeApp="tv";return}this.activeApp=null}onRouteChange(r,n){n.isAppRoute&&this.setActiveApp(r.application)}}function NPe(e,t){e.registerLayout(cp.DEFAULT_LAYOUT,LPe),t(e)}function MPe(e,t,r){Hm.setUpVariables({isDevelopment:!1}),r(e,t)}var Ug=(e=>(e.Fifo="FifoMemoryCache",e))(Ug||{}),qg=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(qg||{});class $Pe extends lo{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),sh(this,"name")||hr.throw(new wn("Must provide a name when extending BaseDataService")),sh(this,"channelName")||hr.throw(new wn(`Must provide a channelName for ${sh(this,"name")}`));const r=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(t,r)}getCursors(t){const r=this.cache.get(t);return r?r.cursors:{next:"",previous:""}}clearCacheAndGet(t){const{callback:r,errorCallback:n,eventPrefix:i}=t,{syncEvent:o,errorEvent:a}=this.getEventNames(i),u=this.cache.get(i);if(u&&u.openRequest){const l=d=>{en(n)&&this.stopListening(this.getChannel(),a,n),en(r)&&r(d)},f=()=>{en(r)&&this.stopListening(this.getChannel(),o,r),en(n)&&n()};this.listenToOnce(this.getChannel(),o,l),this.listenToOnce(this.getChannel(),a,f);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:o,formatData:a,expiryTime:u,successHandler:l,errorHandler:f,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:p,requestEvent:m,successEvent:S,errorEvent:E}=this.getEventNames(i),_=this.getChannel(),w=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[d]&&(this.cacheData(i,this.bootstrapData[d],a,{openRequest:!1,timestamp:w}),delete this.bootstrapData[d]);const T=this.cache.get(i);let C;T&&(C=T.data);const x=T&&T.openRequest,R=this.isExpired(i,u);if(x){const P=N=>{en(n)&&this.stopListening(this.getChannel(),E,n),en(r)&&r(N)},y=()=>{en(r)&&this.stopListening(this.getChannel(),p,r),en(n)&&n()};this.listenToOnce(_,p,P),this.listenToOnce(_,E,y)}if((!this.cache.has(i)||R)&&(_.trigger(m),this.listenToResponse({eventPrefix:i,formatData:a,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:l,errorHandler:f,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(o,{channel:this.getTransportChannel(),successEvent:S,errorEvent:E})),C&&en(r)&&!R&&r(C),C)return C}create(t){const{eventPrefix:r,resource:n,data:i,formatData:o,callback:a,errorCallback:u,invalidationKeys:l,successHandler:f,errorHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:m,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),_=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:r,formatData:o,invalidationKeys:l,callback:a,errorCallback:u,successHandler:f,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:_,successEvent:m,errorEvent:S})}update(t){const{data:r,callback:n,errorCallback:i,resource:o,formatData:a,eventPrefix:u,invalidationKeys:l,errorHandler:f,successHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:m,errorEvent:S}=this.getEventNames(t.eventPrefix),E=this.getChannel(),_=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:u,formatData:a,invalidationKeys:l,callback:n,errorCallback:i,successHandler:d,errorHandler:f,invalidateFlight:h}),this.dataProvider.update(o,r,{channel:_,successEvent:m,errorEvent:S})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:o,invalidationKeys:a,successHandler:u,errorHandler:l,invalidateFlight:f}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),p=this.getTransportChannel(),m={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:a,callback:i,errorCallback:o,cacheOptions:m,successHandler:u,errorHandler:l,invalidateFlight:f}),this.dataProvider.delete(n,{channel:p,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:o,successHandler:a,errorHandler:u,invalidationKeys:l,cacheOptions:f={},invalidateFlight:d}=t,{syncEvent:h,successEvent:p,errorEvent:m,successAlertEvent:S,errorAlertEvent:E}=this.getEventNames(r),_=this.getChannel(),w=this.getTransportChannel(),T=this.getAlertChannel();if(en(i)&&this.listenToOnce(_,h,i),en(o)&&this.listenToOnce(_,m,o),this.stopListening(T,S),this.stopListening(T,E),en(a)&&this.listenToOnce(T,S,a),en(u)&&this.listenToOnce(T,E,u),!en(u)&&u!==!1&&en(this.defaultErrorHandler)&&this.listenToOnce(T,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const C=(R,...P)=>{this.stopListening(_,m,o),T.trigger(S,R,...P);const y=f.noCache?this.formatData(R,n):this.cacheData(r,R,n);f.clearCacheKey&&this.cache.remove(r),_.trigger(h,y),l&&l.length&&this.cache.invalidate(l,N=>_.trigger(`${N}:invalidate`),d)},x=(...R)=>{this.stopListening(_,h,i);const P=this.dataProvider.parseError(...R);T.trigger(E,P),_.trigger(m,P),!f.noCache&&this.cacheData(r,null,null)};this.listenTo(w,p,C),this.listenTo(w,m,x)}cacheData(t,r,n,i={}){const{openRequest:o=!1}=i;let{timestamp:a}=i;a||(a=this.currentTimestamp());const u=this.processPagination(r),l=this.formatData(r,n);return this.cache.set(t,{data:l,timestamp:a,cursors:u,openRequest:o}),l}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!vg(r.offset)&&!vg(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return en(r)?r(t):t}chain(){const t=[],r=(o,a)=>{en(o)&&o(a)},n=(o,a)=>{const u=()=>{const l=o.callback;o.callback=f=>{r(l,f),r(t.shift())},this[a](o)};return t.push(u),i},i={func(o){return t.push(()=>{o(t.shift()||(()=>{}))}),i},get(o){return n(o,"get")},create(o){return n(o,"create")},update(o){return n(o,"update")},delete(o){return n(o,"delete")},run(){r(t.shift())}};return i}invalidateCache(t,r=!1){!t||!t.length||this.cache.invalidate(t,n=>this.getChannel().trigger(`${n}:invalidate`),r)}currentTimestamp(){return new Date().valueOf()}isExpired(t,r){if(!r)return!1;const n=this.cache.get(t);if(!n||!n.timestamp)return!0;const i=1e3,o=n.timestamp,a=r*i;return o<this.currentTimestamp()-a}getEventNames(t){return{syncEvent:`${t}:sync`,requestEvent:`${t}:request`,successEvent:`${t}:success`,errorEvent:`${t}:error`,successAlertEvent:`${t}:success:alert`,errorAlertEvent:`${t}:error:alert`}}getTransportChannel(){return Nr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return Nr.Radio.channel(`${this.channelName}:alert`)}setRequestSignature(t){this.dataRequestSignatures[t]=t}hasRequestSignature(t){return!!this.dataRequestSignatures[t]}convertOffsetPaginationToCursors(t){const{offset:r,pageSize:n,totalItems:i}=t,o=i>0&&r<i&&r+n,a=i>0&&r>0&&Math.max(r-n,0),u={};if(o&&o<i&&(u.next=o.toString()),Tf(a)&&(u.previous=a.toString()),!Eh(u))return u}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Tf(r)&&r>0&&r<n&&r+1,o=Tf(r)&&r>1&&r-1,a={};if(i&&i<=n&&(a.next=i.toString()),o&&(a.previous=o.toString()),!Eh(a))return a}}class FPe extends lo{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 Nz&&t.set(n,{silent:!0}),t instanceof gu&&!(t instanceof Nz)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:i=!1}=n,o=this.viewObjects[t];if(o&&i)return this.updateViewModel(o,r);if(o)return o;const a=this.getLocalData(t,n);return this.set(t,r,a,n)}set(t,r={},n,i){const{ctor:o,storage:a}=i,u=this.mergeData(r,n),l=o?new o(u):new gu(u);return this.viewObjects[t]=l,a&&!n?(this.setLocalData(t,l,null,i),this.setupChangeListeners(t,l,i)):a&&n&&this.setupChangeListeners(t,l,i),l}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,i){const{storage:o}=i;if(!o||o&&!o.persistProps)return;typeof o.persistProps=="string"&&(o.persistProps=[o.persistProps]);let a;r instanceof gu&&(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]),it.each(i.persistProps,o=>{this.listenTo(r,`change:${o}`,it.partial(this.setLocalData,t,it,it,n))}))}mergeData(t,r){if(!r)return t;if(it.isObject(t)&&it.isObject(r))return it.extend(t,r);hr.throw(new wn("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case ms.LocalStorage:return Vi;case ms.SessionStorage:return $g}}}const One=FPe.Instance;var aP=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(aP||{});class jPe extends Pc{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:Gr.getPhrase(this.lang,"heading"),text:Gr.getPhrase(this.lang,"body"),buttons:[{text:Gr.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:Gr.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const UPe=["pdf"],qPe=["doc","docx","dotx","dot","rtf","docm","odt"],BPe=["csv","txt"],VPe=["xlsx"],xY=["jpg","jpeg","png","bmp","gif"],CY=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],HPe=["zip"],zPe=["ppt","pps","pptx"],WPe=["srt"],Dv={VIDEO:`.${CY.join(",.")}`,MIXED_MEDIA:`.${xY.join(",.")},${CY.join(",.")}`,RESOURCES:`.${[...qPe,...VPe,...zPe,...UPe,...BPe,...xY,...HPe].join(",.")}`,SUBTITLES:`.${WPe.join(",.")}`},GPe={requestUpload(e,t){const r=e.name.split("."),n=t===aP.Permanent?null:el.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:ra.POST,data:i}}};(function(t,r){if(typeof exports=="object"&&typeof module=="object")module.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n=r();for(var i in n)(typeof exports=="object"?exports:t)[i]=n[i]}})(self,function(){return(function(){var e={3099:(function(i){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}}),6077:(function(i,o,a){var u=a(111);i.exports=function(l){if(!u(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}}),1223:(function(i,o,a){var u=a(5112),l=a(30),f=a(3070),d=u("unscopables"),h=Array.prototype;h[d]==null&&f.f(h,d,{configurable:!0,value:l(null)}),i.exports=function(p){h[d][p]=!0}}),1530:(function(i,o,a){var u=a(8710).charAt;i.exports=function(l,f,d){return f+(d?u(l,f).length:1)}}),5787:(function(i){i.exports=function(o,a,u){if(!(o instanceof a))throw TypeError("Incorrect "+(u?u+" ":"")+"invocation");return o}}),9670:(function(i,o,a){var u=a(111);i.exports=function(l){if(!u(l))throw TypeError(String(l)+" is not an object");return l}}),4019:(function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(i,o,a){var u=a(4019),l=a(9781),f=a(7854),d=a(111),h=a(6656),p=a(648),m=a(8880),S=a(1320),E=a(3070).f,_=a(9518),w=a(7674),T=a(5112),C=a(9711),x=f.Int8Array,R=x&&x.prototype,P=f.Uint8ClampedArray,y=P&&P.prototype,N=x&&_(x),$=R&&_(R),H=Object.prototype,B=H.isPrototypeOf,W=T("toStringTag"),X=C("TYPED_ARRAY_TAG"),J=u&&!!w&&p(f.opera)!=="Opera",ie=!1,ne,pe={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},K={BigInt64Array:8,BigUint64Array:8},te=function(oe){if(!d(oe))return!1;var O=p(oe);return O==="DataView"||h(pe,O)||h(K,O)},z=function(Xe){if(!d(Xe))return!1;var oe=p(Xe);return h(pe,oe)||h(K,oe)},ce=function(Xe){if(z(Xe))return Xe;throw TypeError("Target is not a typed array")},Se=function(Xe){if(w){if(B.call(N,Xe))return Xe}else for(var oe in pe)if(h(pe,ne)){var O=f[oe];if(O&&(Xe===O||B.call(O,Xe)))return Xe}throw TypeError("Target is not a typed array constructor")},Le=function(Xe,oe,O){if(l){if(O)for(var I in pe){var M=f[I];M&&h(M.prototype,Xe)&&delete M.prototype[Xe]}(!$[Xe]||O)&&S($,Xe,O?oe:J&&R[Xe]||oe)}},Be=function(Xe,oe,O){var I,M;if(l){if(w){if(O)for(I in pe)M=f[I],M&&h(M,Xe)&&delete M[Xe];if(!N[Xe]||O)try{return S(N,Xe,O?oe:J&&x[Xe]||oe)}catch{}else return}for(I in pe)M=f[I],M&&(!M[Xe]||O)&&S(M,Xe,oe)}};for(ne in pe)f[ne]||(J=!1);if((!J||typeof N!="function"||N===Function.prototype)&&(N=function(){throw TypeError("Incorrect invocation")},J))for(ne in pe)f[ne]&&w(f[ne],N);if((!J||!$||$===H)&&($=N.prototype,J))for(ne in pe)f[ne]&&w(f[ne].prototype,$);if(J&&_(y)!==$&&w(y,$),l&&!h($,W)){ie=!0,E($,W,{get:function(){return d(this)?this[X]:void 0}});for(ne in pe)f[ne]&&m(f[ne],X,ne)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:J,TYPED_ARRAY_TAG:ie&&X,aTypedArray:ce,aTypedArrayConstructor:Se,exportTypedArrayMethod:Le,exportTypedArrayStaticMethod:Be,isView:te,isTypedArray:z,TypedArray:N,TypedArrayPrototype:$}}),3331:(function(i,o,a){var u=a(7854),l=a(9781),f=a(4019),d=a(8880),h=a(2248),p=a(7293),m=a(5787),S=a(9958),E=a(7466),_=a(7067),w=a(1179),T=a(9518),C=a(7674),x=a(8006).f,R=a(3070).f,P=a(1285),y=a(8003),N=a(9909),$=N.get,H=N.set,B="ArrayBuffer",W="DataView",X="prototype",J="Wrong length",ie="Wrong index",ne=u[B],pe=ne,K=u[W],te=K&&K[X],z=Object.prototype,ce=u.RangeError,Se=w.pack,Le=w.unpack,Be=function(Fe){return[Fe&255]},Xe=function(Fe){return[Fe&255,Fe>>8&255]},oe=function(Fe){return[Fe&255,Fe>>8&255,Fe>>16&255,Fe>>24&255]},O=function(Fe){return Fe[3]<<24|Fe[2]<<16|Fe[1]<<8|Fe[0]},I=function(Fe){return Se(Fe,23,4)},M=function(Fe){return Se(Fe,52,8)},k=function(Fe,ve){R(Fe[X],ve,{get:function(){return $(this)[ve]}})},U=function(Fe,ve,_e,we){var ke=_(_e),qe=$(Fe);if(ke+ve>qe.byteLength)throw ce(ie);var Ue=$(qe.buffer).bytes,We=ke+qe.byteOffset,ct=Ue.slice(We,We+ve);return we?ct:ct.reverse()},Y=function(Fe,ve,_e,we,ke,qe){var Ue=_(_e),We=$(Fe);if(Ue+ve>We.byteLength)throw ce(ie);for(var ct=$(We.buffer).bytes,jt=Ue+We.byteOffset,Gt=we(+ke),et=0;et<ve;et++)ct[jt+et]=Gt[qe?et:ve-et-1]};if(!f)pe=function(ve){m(this,pe,B);var _e=_(ve);H(this,{bytes:P.call(new Array(_e),0),byteLength:_e}),l||(this.byteLength=_e)},K=function(ve,_e,we){m(this,K,W),m(ve,pe,W);var ke=$(ve).byteLength,qe=S(_e);if(qe<0||qe>ke)throw ce("Wrong offset");if(we=we===void 0?ke-qe:E(we),qe+we>ke)throw ce(J);H(this,{buffer:ve,byteLength:we,byteOffset:qe}),l||(this.buffer=ve,this.byteLength=we,this.byteOffset=qe)},l&&(k(pe,"byteLength"),k(K,"buffer"),k(K,"byteLength"),k(K,"byteOffset")),h(K[X],{getInt8:function(ve){return U(this,1,ve)[0]<<24>>24},getUint8:function(ve){return U(this,1,ve)[0]},getInt16:function(ve){var _e=U(this,2,ve,arguments.length>1?arguments[1]:void 0);return(_e[1]<<8|_e[0])<<16>>16},getUint16:function(ve){var _e=U(this,2,ve,arguments.length>1?arguments[1]:void 0);return _e[1]<<8|_e[0]},getInt32:function(ve){return O(U(this,4,ve,arguments.length>1?arguments[1]:void 0))},getUint32:function(ve){return O(U(this,4,ve,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(ve){return Le(U(this,4,ve,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(ve){return Le(U(this,8,ve,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(ve,_e){Y(this,1,ve,Be,_e)},setUint8:function(ve,_e){Y(this,1,ve,Be,_e)},setInt16:function(ve,_e){Y(this,2,ve,Xe,_e,arguments.length>2?arguments[2]:void 0)},setUint16:function(ve,_e){Y(this,2,ve,Xe,_e,arguments.length>2?arguments[2]:void 0)},setInt32:function(ve,_e){Y(this,4,ve,oe,_e,arguments.length>2?arguments[2]:void 0)},setUint32:function(ve,_e){Y(this,4,ve,oe,_e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(ve,_e){Y(this,4,ve,I,_e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(ve,_e){Y(this,8,ve,M,_e,arguments.length>2?arguments[2]:void 0)}});else{if(!p(function(){ne(1)})||!p(function(){new ne(-1)})||p(function(){return new ne,new ne(1.5),new ne(NaN),ne.name!=B})){pe=function(ve){return m(this,pe),new ne(_(ve))};for(var ae=pe[X]=ne[X],Ee=x(ne),me=0,Ce;Ee.length>me;)(Ce=Ee[me++])in pe||d(pe,Ce,ne[Ce]);ae.constructor=pe}C&&T(te)!==z&&C(te,z);var be=new K(new pe(2)),Ie=te.setInt8;be.setInt8(0,2147483648),be.setInt8(1,2147483649),(be.getInt8(0)||!be.getInt8(1))&&h(te,{setInt8:function(ve,_e){Ie.call(this,ve,_e<<24>>24)},setUint8:function(ve,_e){Ie.call(this,ve,_e<<24>>24)}},{unsafe:!0})}y(pe,B),y(K,W),i.exports={ArrayBuffer:pe,DataView:K}}),1048:(function(i,o,a){var u=a(7908),l=a(1400),f=a(7466),d=Math.min;i.exports=[].copyWithin||function(p,m){var S=u(this),E=f(S.length),_=l(p,E),w=l(m,E),T=arguments.length>2?arguments[2]:void 0,C=d((T===void 0?E:l(T,E))-w,E-_),x=1;for(w<_&&_<w+C&&(x=-1,w+=C-1,_+=C-1);C-- >0;)w in S?S[_]=S[w]:delete S[_],_+=x,w+=x;return S}}),1285:(function(i,o,a){var u=a(7908),l=a(1400),f=a(7466);i.exports=function(h){for(var p=u(this),m=f(p.length),S=arguments.length,E=l(S>1?arguments[1]:void 0,m),_=S>2?arguments[2]:void 0,w=_===void 0?m:l(_,m);w>E;)p[E++]=h;return p}}),8533:(function(i,o,a){var u=a(2092).forEach,l=a(9341),f=l("forEach");i.exports=f?[].forEach:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}}),8457:(function(i,o,a){var u=a(9974),l=a(7908),f=a(3411),d=a(7659),h=a(7466),p=a(6135),m=a(1246);i.exports=function(E){var _=l(E),w=typeof this=="function"?this:Array,T=arguments.length,C=T>1?arguments[1]:void 0,x=C!==void 0,R=m(_),P=0,y,N,$,H,B,W;if(x&&(C=u(C,T>2?arguments[2]:void 0,2)),R!=null&&!(w==Array&&d(R)))for(H=R.call(_),B=H.next,N=new w;!($=B.call(H)).done;P++)W=x?f(H,C,[$.value,P],!0):$.value,p(N,P,W);else for(y=h(_.length),N=new w(y);y>P;P++)W=x?C(_[P],P):_[P],p(N,P,W);return N.length=P,N}}),1318:(function(i,o,a){var u=a(5656),l=a(7466),f=a(1400),d=function(h){return function(p,m,S){var E=u(p),_=l(E.length),w=f(S,_),T;if(h&&m!=m){for(;_>w;)if(T=E[w++],T!=T)return!0}else for(;_>w;w++)if((h||w in E)&&E[w]===m)return h||w||0;return!h&&-1}};i.exports={includes:d(!0),indexOf:d(!1)}}),2092:(function(i,o,a){var u=a(9974),l=a(8361),f=a(7908),d=a(7466),h=a(5417),p=[].push,m=function(S){var E=S==1,_=S==2,w=S==3,T=S==4,C=S==6,x=S==7,R=S==5||C;return function(P,y,N,$){for(var H=f(P),B=l(H),W=u(y,N,3),X=d(B.length),J=0,ie=$||h,ne=E?ie(P,X):_||x?ie(P,0):void 0,pe,K;X>J;J++)if((R||J in B)&&(pe=B[J],K=W(pe,J,H),S))if(E)ne[J]=K;else if(K)switch(S){case 3:return!0;case 5:return pe;case 6:return J;case 2:p.call(ne,pe)}else switch(S){case 4:return!1;case 7:p.call(ne,pe)}return C?-1:w||T?T:ne}};i.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterOut:m(7)}}),6583:(function(i,o,a){var u=a(5656),l=a(9958),f=a(7466),d=a(9341),h=Math.min,p=[].lastIndexOf,m=!!p&&1/[1].lastIndexOf(1,-0)<0,S=d("lastIndexOf"),E=m||!S;i.exports=E?function(w){if(m)return p.apply(this,arguments)||0;var T=u(this),C=f(T.length),x=C-1;for(arguments.length>1&&(x=h(x,l(arguments[1]))),x<0&&(x=C+x);x>=0;x--)if(x in T&&T[x]===w)return x||0;return-1}:p}),1194:(function(i,o,a){var u=a(7293),l=a(5112),f=a(7392),d=l("species");i.exports=function(h){return f>=51||!u(function(){var p=[],m=p.constructor={};return m[d]=function(){return{foo:1}},p[h](Boolean).foo!==1})}}),9341:(function(i,o,a){var u=a(7293);i.exports=function(l,f){var d=[][l];return!!d&&u(function(){d.call(null,f||function(){throw 1},1)})}}),3671:(function(i,o,a){var u=a(3099),l=a(7908),f=a(8361),d=a(7466),h=function(p){return function(m,S,E,_){u(S);var w=l(m),T=f(w),C=d(w.length),x=p?C-1:0,R=p?-1:1;if(E<2)for(;;){if(x in T){_=T[x],x+=R;break}if(x+=R,p?x<0:C<=x)throw TypeError("Reduce of empty array with no initial value")}for(;p?x>=0:C>x;x+=R)x in T&&(_=S(_,T[x],x,w));return _}};i.exports={left:h(!1),right:h(!0)}}),5417:(function(i,o,a){var u=a(111),l=a(3157),f=a(5112),d=f("species");i.exports=function(h,p){var m;return l(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||l(m.prototype))?m=void 0:u(m)&&(m=m[d],m===null&&(m=void 0))),new(m===void 0?Array:m)(p===0?0:p)}}),3411:(function(i,o,a){var u=a(9670),l=a(9212);i.exports=function(f,d,h,p){try{return p?d(u(h)[0],h[1]):d(h)}catch(m){throw l(f),m}}}),7072:(function(i,o,a){var u=a(5112),l=u("iterator"),f=!1;try{var d=0,h={next:function(){return{done:!!d++}},return:function(){f=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}i.exports=function(p,m){if(!m&&!f)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},p(E)}catch{}return S}}),4326:(function(i){var o={}.toString;i.exports=function(a){return o.call(a).slice(8,-1)}}),648:(function(i,o,a){var u=a(1694),l=a(4326),f=a(5112),d=f("toStringTag"),h=l((function(){return arguments})())=="Arguments",p=function(m,S){try{return m[S]}catch{}};i.exports=u?l:function(m){var S,E,_;return m===void 0?"Undefined":m===null?"Null":typeof(E=p(S=Object(m),d))=="string"?E:h?l(S):(_=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":_}}),9920:(function(i,o,a){var u=a(6656),l=a(3887),f=a(1236),d=a(3070);i.exports=function(h,p){for(var m=l(p),S=d.f,E=f.f,_=0;_<m.length;_++){var w=m[_];u(h,w)||S(h,w,E(p,w))}}}),8544:(function(i,o,a){var u=a(7293);i.exports=!u(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})}),4994:(function(i,o,a){var u=a(3383).IteratorPrototype,l=a(30),f=a(9114),d=a(8003),h=a(7497),p=function(){return this};i.exports=function(m,S,E){var _=S+" Iterator";return m.prototype=l(u,{next:f(1,E)}),d(m,_,!1,!0),h[_]=p,m}}),8880:(function(i,o,a){var u=a(9781),l=a(3070),f=a(9114);i.exports=u?function(d,h,p){return l.f(d,h,f(1,p))}:function(d,h,p){return d[h]=p,d}}),9114:(function(i){i.exports=function(o,a){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:a}}}),6135:(function(i,o,a){var u=a(7593),l=a(3070),f=a(9114);i.exports=function(d,h,p){var m=u(h);m in d?l.f(d,m,f(0,p)):d[m]=p}}),654:(function(i,o,a){var u=a(2109),l=a(4994),f=a(9518),d=a(7674),h=a(8003),p=a(8880),m=a(1320),S=a(5112),E=a(1913),_=a(7497),w=a(3383),T=w.IteratorPrototype,C=w.BUGGY_SAFARI_ITERATORS,x=S("iterator"),R="keys",P="values",y="entries",N=function(){return this};i.exports=function($,H,B,W,X,J,ie){l(B,H,W);var ne=function(oe){if(oe===X&&ce)return ce;if(!C&&oe in te)return te[oe];switch(oe){case R:return function(){return new B(this,oe)};case P:return function(){return new B(this,oe)};case y:return function(){return new B(this,oe)}}return function(){return new B(this)}},pe=H+" Iterator",K=!1,te=$.prototype,z=te[x]||te["@@iterator"]||X&&te[X],ce=!C&&z||ne(X),Se=H=="Array"&&te.entries||z,Le,Be,Xe;if(Se&&(Le=f(Se.call(new $)),T!==Object.prototype&&Le.next&&(!E&&f(Le)!==T&&(d?d(Le,T):typeof Le[x]!="function"&&p(Le,x,N)),h(Le,pe,!0,!0),E&&(_[pe]=N))),X==P&&z&&z.name!==P&&(K=!0,ce=function(){return z.call(this)}),(!E||ie)&&te[x]!==ce&&p(te,x,ce),_[H]=ce,X)if(Be={values:ne(P),keys:J?ce:ne(R),entries:ne(y)},ie)for(Xe in Be)(C||K||!(Xe in te))&&m(te,Xe,Be[Xe]);else u({target:H,proto:!0,forced:C||K},Be);return Be}}),9781:(function(i,o,a){var u=a(7293);i.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(i,o,a){var u=a(7854),l=a(111),f=u.document,d=l(f)&&l(f.createElement);i.exports=function(h){return d?f.createElement(h):{}}}),8324:(function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(i,o,a){var u=a(5005);i.exports=u("navigator","userAgent")||""}),7392:(function(i,o,a){var u=a(7854),l=a(8113),f=u.process,d=f&&f.versions,h=d&&d.v8,p,m;h?(p=h.split("."),m=p[0]+p[1]):l&&(p=l.match(/Edge\/(\d+)/),(!p||p[1]>=74)&&(p=l.match(/Chrome\/(\d+)/),p&&(m=p[1]))),i.exports=m&&+m}),748:(function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(i,o,a){var u=a(7854),l=a(1236).f,f=a(8880),d=a(1320),h=a(3505),p=a(9920),m=a(4705);i.exports=function(S,E){var _=S.target,w=S.global,T=S.stat,C,x,R,P,y,N;if(w?x=u:T?x=u[_]||h(_,{}):x=(u[_]||{}).prototype,x)for(R in E){if(y=E[R],S.noTargetGet?(N=l(x,R),P=N&&N.value):P=x[R],C=m(w?R:_+(T?".":"#")+R,S.forced),!C&&P!==void 0){if(typeof y==typeof P)continue;p(y,P)}(S.sham||P&&P.sham)&&f(y,"sham",!0),d(x,R,y,S)}}}),7293:(function(i){i.exports=function(o){try{return!!o()}catch{return!0}}}),7007:(function(i,o,a){a(4916);var u=a(1320),l=a(7293),f=a(5112),d=a(2261),h=a(8880),p=f("species"),m=!l(function(){var T=/./;return T.exec=function(){var C=[];return C.groups={a:"7"},C},"".replace(T,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),E=f("replace"),_=(function(){return/./[E]?/./[E]("a","$0")==="":!1})(),w=!l(function(){var T=/(?:)/,C=T.exec;T.exec=function(){return C.apply(this,arguments)};var x="ab".split(T);return x.length!==2||x[0]!=="a"||x[1]!=="b"});i.exports=function(T,C,x,R){var P=f(T),y=!l(function(){var X={};return X[P]=function(){return 7},""[T](X)!=7}),N=y&&!l(function(){var X=!1,J=/a/;return T==="split"&&(J={},J.constructor={},J.constructor[p]=function(){return J},J.flags="",J[P]=/./[P]),J.exec=function(){return X=!0,null},J[P](""),!X});if(!y||!N||T==="replace"&&!(m&&S&&!_)||T==="split"&&!w){var $=/./[P],H=x(P,""[T],function(X,J,ie,ne,pe){return J.exec===d?y&&!pe?{done:!0,value:$.call(J,ie,ne)}:{done:!0,value:X.call(ie,J,ne)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),B=H[0],W=H[1];u(String.prototype,T,B),u(RegExp.prototype,P,C==2?function(X,J){return W.call(X,this,J)}:function(X){return W.call(X,this)})}R&&h(RegExp.prototype[P],"sham",!0)}}),9974:(function(i,o,a){var u=a(3099);i.exports=function(l,f,d){if(u(l),f===void 0)return l;switch(d){case 0:return function(){return l.call(f)};case 1:return function(h){return l.call(f,h)};case 2:return function(h,p){return l.call(f,h,p)};case 3:return function(h,p,m){return l.call(f,h,p,m)}}return function(){return l.apply(f,arguments)}}}),5005:(function(i,o,a){var u=a(857),l=a(7854),f=function(d){return typeof d=="function"?d:void 0};i.exports=function(d,h){return arguments.length<2?f(u[d])||f(l[d]):u[d]&&u[d][h]||l[d]&&l[d][h]}}),1246:(function(i,o,a){var u=a(648),l=a(7497),f=a(5112),d=f("iterator");i.exports=function(h){if(h!=null)return h[d]||h["@@iterator"]||l[u(h)]}}),8554:(function(i,o,a){var u=a(9670),l=a(1246);i.exports=function(f){var d=l(f);if(typeof d!="function")throw TypeError(String(f)+" is not iterable");return u(d.call(f))}}),647:(function(i,o,a){var u=a(7908),l=Math.floor,f="".replace,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i.exports=function(p,m,S,E,_,w){var T=S+p.length,C=E.length,x=h;return _!==void 0&&(_=u(_),x=d),f.call(w,x,function(R,P){var y;switch(P.charAt(0)){case"$":return"$";case"&":return p;case"`":return m.slice(0,S);case"'":return m.slice(T);case"<":y=_[P.slice(1,-1)];break;default:var N=+P;if(N===0)return R;if(N>C){var $=l(N/10);return $===0?R:$<=C?E[$-1]===void 0?P.charAt(1):E[$-1]+P.charAt(1):R}y=E[N-1]}return y===void 0?"":y})}}),7854:(function(i,o,a){var u=function(l){return l&&l.Math==Math&&l};i.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a.g=="object"&&a.g)||(function(){return this})()||Function("return this")()}),6656:(function(i){var o={}.hasOwnProperty;i.exports=function(a,u){return o.call(a,u)}}),3501:(function(i){i.exports={}}),490:(function(i,o,a){var u=a(5005);i.exports=u("document","documentElement")}),4664:(function(i,o,a){var u=a(9781),l=a(7293),f=a(317);i.exports=!u&&!l(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(i){var o=Math.abs,a=Math.pow,u=Math.floor,l=Math.log,f=Math.LN2,d=function(p,m,S){var E=new Array(S),_=S*8-m-1,w=(1<<_)-1,T=w>>1,C=m===23?a(2,-24)-a(2,-77):0,x=p<0||p===0&&1/p<0?1:0,R=0,P,y,N;for(p=o(p),p!=p||p===1/0?(y=p!=p?1:0,P=w):(P=u(l(p)/f),p*(N=a(2,-P))<1&&(P--,N*=2),P+T>=1?p+=C/N:p+=C*a(2,1-T),p*N>=2&&(P++,N/=2),P+T>=w?(y=0,P=w):P+T>=1?(y=(p*N-1)*a(2,m),P=P+T):(y=p*a(2,T-1)*a(2,m),P=0));m>=8;E[R++]=y&255,y/=256,m-=8);for(P=P<<m|y,_+=m;_>0;E[R++]=P&255,P/=256,_-=8);return E[--R]|=x*128,E},h=function(p,m){var S=p.length,E=S*8-m-1,_=(1<<E)-1,w=_>>1,T=E-7,C=S-1,x=p[C--],R=x&127,P;for(x>>=7;T>0;R=R*256+p[C],C--,T-=8);for(P=R&(1<<-T)-1,R>>=-T,T+=m;T>0;P=P*256+p[C],C--,T-=8);if(R===0)R=1-w;else{if(R===_)return P?NaN:x?-1/0:1/0;P=P+a(2,m),R=R-w}return(x?-1:1)*P*a(2,R-m)};i.exports={pack:d,unpack:h}}),8361:(function(i,o,a){var u=a(7293),l=a(4326),f="".split;i.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?f.call(d,""):Object(d)}:Object}),9587:(function(i,o,a){var u=a(111),l=a(7674);i.exports=function(f,d,h){var p,m;return l&&typeof(p=d.constructor)=="function"&&p!==h&&u(m=p.prototype)&&m!==h.prototype&&l(f,m),f}}),2788:(function(i,o,a){var u=a(5465),l=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(f){return l.call(f)}),i.exports=u.inspectSource}),9909:(function(i,o,a){var u=a(8536),l=a(7854),f=a(111),d=a(8880),h=a(6656),p=a(5465),m=a(6200),S=a(3501),E=l.WeakMap,_,w,T,C=function(H){return T(H)?w(H):_(H,{})},x=function(H){return function(B){var W;if(!f(B)||(W=w(B)).type!==H)throw TypeError("Incompatible receiver, "+H+" required");return W}};if(u){var R=p.state||(p.state=new E),P=R.get,y=R.has,N=R.set;_=function(H,B){return B.facade=H,N.call(R,H,B),B},w=function(H){return P.call(R,H)||{}},T=function(H){return y.call(R,H)}}else{var $=m("state");S[$]=!0,_=function(H,B){return B.facade=H,d(H,$,B),B},w=function(H){return h(H,$)?H[$]:{}},T=function(H){return h(H,$)}}i.exports={set:_,get:w,has:T,enforce:C,getterFor:x}}),7659:(function(i,o,a){var u=a(5112),l=a(7497),f=u("iterator"),d=Array.prototype;i.exports=function(h){return h!==void 0&&(l.Array===h||d[f]===h)}}),3157:(function(i,o,a){var u=a(4326);i.exports=Array.isArray||function(f){return u(f)=="Array"}}),4705:(function(i,o,a){var u=a(7293),l=/#|\.prototype\./,f=function(S,E){var _=h[d(S)];return _==m?!0:_==p?!1:typeof E=="function"?u(E):!!E},d=f.normalize=function(S){return String(S).replace(l,".").toLowerCase()},h=f.data={},p=f.NATIVE="N",m=f.POLYFILL="P";i.exports=f}),111:(function(i){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}}),1913:(function(i){i.exports=!1}),7850:(function(i,o,a){var u=a(111),l=a(4326),f=a(5112),d=f("match");i.exports=function(h){var p;return u(h)&&((p=h[d])!==void 0?!!p:l(h)=="RegExp")}}),9212:(function(i,o,a){var u=a(9670);i.exports=function(l){var f=l.return;if(f!==void 0)return u(f.call(l)).value}}),3383:(function(i,o,a){var u=a(7293),l=a(9518),f=a(8880),d=a(6656),h=a(5112),p=a(1913),m=h("iterator"),S=!1,E=function(){return this},_,w,T;[].keys&&(T=[].keys(),"next"in T?(w=l(l(T)),w!==Object.prototype&&(_=w)):S=!0);var C=_==null||u(function(){var x={};return _[m].call(x)!==x});C&&(_={}),(!p||C)&&!d(_,m)&&f(_,m,E),i.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(i){i.exports={}}),133:(function(i,o,a){var u=a(7293);i.exports=!!Object.getOwnPropertySymbols&&!u(function(){return!String(Symbol())})}),590:(function(i,o,a){var u=a(7293),l=a(5112),f=a(1913),d=l("iterator");i.exports=!u(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),p=h.searchParams,m="";return h.pathname="c%20d",p.forEach(function(S,E){p.delete("b"),m+=E+S}),f&&!h.toJSON||!p.sort||h.href!=="http://a/c%20d?a=1&c=3"||p.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!p[d]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||m!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(i,o,a){var u=a(7854),l=a(2788),f=u.WeakMap;i.exports=typeof f=="function"&&/native code/.test(l(f))}),1574:(function(i,o,a){var u=a(9781),l=a(7293),f=a(1956),d=a(5181),h=a(5296),p=a(7908),m=a(8361),S=Object.assign,E=Object.defineProperty;i.exports=!S||l(function(){if(u&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},w={},T=Symbol(),C="abcdefghijklmnopqrst";return _[T]=7,C.split("").forEach(function(x){w[x]=x}),S({},_)[T]!=7||f(S({},w)).join("")!=C})?function(w,T){for(var C=p(w),x=arguments.length,R=1,P=d.f,y=h.f;x>R;)for(var N=m(arguments[R++]),$=P?f(N).concat(P(N)):f(N),H=$.length,B=0,W;H>B;)W=$[B++],(!u||y.call(N,W))&&(C[W]=N[W]);return C}:S}),30:(function(i,o,a){var u=a(9670),l=a(6048),f=a(748),d=a(3501),h=a(490),p=a(317),m=a(6200),S=">",E="<",_="prototype",w="script",T=m("IE_PROTO"),C=function(){},x=function($){return E+w+S+$+E+"/"+w+S},R=function($){$.write(x("")),$.close();var H=$.parentWindow.Object;return $=null,H},P=function(){var $=p("iframe"),H="java"+w+":",B;return $.style.display="none",h.appendChild($),$.src=String(H),B=$.contentWindow.document,B.open(),B.write(x("document.F=Object")),B.close(),B.F},y,N=function(){try{y=document.domain&&new ActiveXObject("htmlfile")}catch{}N=y?R(y):P();for(var $=f.length;$--;)delete N[_][f[$]];return N()};d[T]=!0,i.exports=Object.create||function(H,B){var W;return H!==null?(C[_]=u(H),W=new C,C[_]=null,W[T]=H):W=N(),B===void 0?W:l(W,B)}}),6048:(function(i,o,a){var u=a(9781),l=a(3070),f=a(9670),d=a(1956);i.exports=u?Object.defineProperties:function(p,m){f(p);for(var S=d(m),E=S.length,_=0,w;E>_;)l.f(p,w=S[_++],m[w]);return p}}),3070:(function(i,o,a){var u=a(9781),l=a(4664),f=a(9670),d=a(7593),h=Object.defineProperty;o.f=u?h:function(m,S,E){if(f(m),S=d(S,!0),f(E),l)try{return h(m,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(m[S]=E.value),m}}),1236:(function(i,o,a){var u=a(9781),l=a(5296),f=a(9114),d=a(5656),h=a(7593),p=a(6656),m=a(4664),S=Object.getOwnPropertyDescriptor;o.f=u?S:function(_,w){if(_=d(_),w=h(w,!0),m)try{return S(_,w)}catch{}if(p(_,w))return f(!l.f.call(_,w),_[w])}}),8006:(function(i,o,a){var u=a(6324),l=a(748),f=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(h){return u(h,f)}}),5181:(function(i,o){o.f=Object.getOwnPropertySymbols}),9518:(function(i,o,a){var u=a(6656),l=a(7908),f=a(6200),d=a(8544),h=f("IE_PROTO"),p=Object.prototype;i.exports=d?Object.getPrototypeOf:function(m){return m=l(m),u(m,h)?m[h]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?p:null}}),6324:(function(i,o,a){var u=a(6656),l=a(5656),f=a(1318).indexOf,d=a(3501);i.exports=function(h,p){var m=l(h),S=0,E=[],_;for(_ in m)!u(d,_)&&u(m,_)&&E.push(_);for(;p.length>S;)u(m,_=p[S++])&&(~f(E,_)||E.push(_));return E}}),1956:(function(i,o,a){var u=a(6324),l=a(748);i.exports=Object.keys||function(d){return u(d,l)}}),5296:(function(i,o){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l=u&&!a.call({1:2},1);o.f=l?function(d){var h=u(this,d);return!!h&&h.enumerable}:a}),7674:(function(i,o,a){var u=a(9670),l=a(6077);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var f=!1,d={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(d,[]),f=d instanceof Array}catch{}return function(m,S){return u(m),l(S),f?h.call(m,S):m.__proto__=S,m}})():void 0)}),288:(function(i,o,a){var u=a(1694),l=a(648);i.exports=u?{}.toString:function(){return"[object "+l(this)+"]"}}),3887:(function(i,o,a){var u=a(5005),l=a(8006),f=a(5181),d=a(9670);i.exports=u("Reflect","ownKeys")||function(p){var m=l.f(d(p)),S=f.f;return S?m.concat(S(p)):m}}),857:(function(i,o,a){var u=a(7854);i.exports=u}),2248:(function(i,o,a){var u=a(1320);i.exports=function(l,f,d){for(var h in f)u(l,h,f[h],d);return l}}),1320:(function(i,o,a){var u=a(7854),l=a(8880),f=a(6656),d=a(3505),h=a(2788),p=a(9909),m=p.get,S=p.enforce,E=String(String).split("String");(i.exports=function(_,w,T,C){var x=C?!!C.unsafe:!1,R=C?!!C.enumerable:!1,P=C?!!C.noTargetGet:!1,y;if(typeof T=="function"&&(typeof w=="string"&&!f(T,"name")&&l(T,"name",w),y=S(T),y.source||(y.source=E.join(typeof w=="string"?w:""))),_===u){R?_[w]=T:d(w,T);return}else x?!P&&_[w]&&(R=!0):delete _[w];R?_[w]=T:l(_,w,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||h(this)})}),7651:(function(i,o,a){var u=a(4326),l=a(2261);i.exports=function(f,d){var h=f.exec;if(typeof h=="function"){var p=h.call(f,d);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(u(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(f,d)}}),2261:(function(i,o,a){var u=a(7066),l=a(2999),f=RegExp.prototype.exec,d=String.prototype.replace,h=f,p=(function(){var _=/a/,w=/b*/g;return f.call(_,"a"),f.call(w,"a"),_.lastIndex!==0||w.lastIndex!==0})(),m=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=p||S||m;E&&(h=function(w){var T=this,C,x,R,P,y=m&&T.sticky,N=u.call(T),$=T.source,H=0,B=w;return y&&(N=N.replace("y",""),N.indexOf("g")===-1&&(N+="g"),B=String(w).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&w[T.lastIndex-1]!==`
|
|
208
|
-
`)&&($="(?: "+$+")",B=" "+B,H++),x=new RegExp("^(?:"+$+")",N)),S&&(x=new RegExp("^"+$+"$(?!\\s)",N)),p&&(C=T.lastIndex),R=f.call(y?x:T,B),y?R?(R.input=R.input.slice(H),R[0]=R[0].slice(H),R.index=T.lastIndex,T.lastIndex+=R[0].length):T.lastIndex=0:p&&R&&(T.lastIndex=T.global?R.index+R[0].length:C),S&&R&&R.length>1&&d.call(R[0],x,function(){for(P=1;P<arguments.length-2;P++)arguments[P]===void 0&&(R[P]=void 0)}),R}),i.exports=h}),7066:(function(i,o,a){var u=a(9670);i.exports=function(){var l=u(this),f="";return l.global&&(f+="g"),l.ignoreCase&&(f+="i"),l.multiline&&(f+="m"),l.dotAll&&(f+="s"),l.unicode&&(f+="u"),l.sticky&&(f+="y"),f}}),2999:(function(i,o,a){var u=a(7293);function l(f,d){return RegExp(f,d)}o.UNSUPPORTED_Y=u(function(){var f=l("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),o.BROKEN_CARET=u(function(){var f=l("^r","gy");return f.lastIndex=2,f.exec("str")!=null})}),4488:(function(i){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}}),3505:(function(i,o,a){var u=a(7854),l=a(8880);i.exports=function(f,d){try{l(u,f,d)}catch{u[f]=d}return d}}),6340:(function(i,o,a){var u=a(5005),l=a(3070),f=a(5112),d=a(9781),h=f("species");i.exports=function(p){var m=u(p),S=l.f;d&&m&&!m[h]&&S(m,h,{configurable:!0,get:function(){return this}})}}),8003:(function(i,o,a){var u=a(3070).f,l=a(6656),f=a(5112),d=f("toStringTag");i.exports=function(h,p,m){h&&!l(h=m?h:h.prototype,d)&&u(h,d,{configurable:!0,value:p})}}),6200:(function(i,o,a){var u=a(2309),l=a(9711),f=u("keys");i.exports=function(d){return f[d]||(f[d]=l(d))}}),5465:(function(i,o,a){var u=a(7854),l=a(3505),f="__core-js_shared__",d=u[f]||l(f,{});i.exports=d}),2309:(function(i,o,a){var u=a(1913),l=a(5465);(i.exports=function(f,d){return l[f]||(l[f]=d!==void 0?d:{})})("versions",[]).push({version:"3.9.0",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(i,o,a){var u=a(9670),l=a(3099),f=a(5112),d=f("species");i.exports=function(h,p){var m=u(h).constructor,S;return m===void 0||(S=u(m)[d])==null?p:l(S)}}),8710:(function(i,o,a){var u=a(9958),l=a(4488),f=function(d){return function(h,p){var m=String(l(h)),S=u(p),E=m.length,_,w;return S<0||S>=E?d?"":void 0:(_=m.charCodeAt(S),_<55296||_>56319||S+1===E||(w=m.charCodeAt(S+1))<56320||w>57343?d?m.charAt(S):_:d?m.slice(S,S+2):(_-55296<<10)+(w-56320)+65536)}};i.exports={codeAt:f(!1),charAt:f(!0)}}),3197:(function(i){var o=2147483647,a=36,u=1,l=26,f=38,d=700,h=72,p=128,m="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",w=a-u,T=Math.floor,C=String.fromCharCode,x=function(N){for(var $=[],H=0,B=N.length;H<B;){var W=N.charCodeAt(H++);if(W>=55296&&W<=56319&&H<B){var X=N.charCodeAt(H++);(X&64512)==56320?$.push(((W&1023)<<10)+(X&1023)+65536):($.push(W),H--)}else $.push(W)}return $},R=function(N){return N+22+75*(N<26)},P=function(N,$,H){var B=0;for(N=H?T(N/d):N>>1,N+=T(N/$);N>w*l>>1;B+=a)N=T(N/w);return T(B+(w+1)*N/(N+f))},y=function(N){var $=[];N=x(N);var H=N.length,B=p,W=0,X=h,J,ie;for(J=0;J<N.length;J++)ie=N[J],ie<128&&$.push(C(ie));var ne=$.length,pe=ne;for(ne&&$.push(m);pe<H;){var K=o;for(J=0;J<N.length;J++)ie=N[J],ie>=B&&ie<K&&(K=ie);var te=pe+1;if(K-B>T((o-W)/te))throw RangeError(_);for(W+=(K-B)*te,B=K,J=0;J<N.length;J++){if(ie=N[J],ie<B&&++W>o)throw RangeError(_);if(ie==B){for(var z=W,ce=a;;ce+=a){var Se=ce<=X?u:ce>=X+l?l:ce-X;if(z<Se)break;var Le=z-Se,Be=a-Se;$.push(C(R(Se+Le%Be))),z=T(Le/Be)}$.push(C(R(z))),X=P(W,te,pe==ne),W=0,++pe}}++W,++B}return $.join("")};i.exports=function(N){var $=[],H=N.toLowerCase().replace(E,".").split("."),B,W;for(B=0;B<H.length;B++)W=H[B],$.push(S.test(W)?"xn--"+y(W):W);return $.join(".")}}),6091:(function(i,o,a){var u=a(7293),l=a(1361),f="
";i.exports=function(d){return u(function(){return!!l[d]()||f[d]()!=f||l[d].name!==d})}}),3111:(function(i,o,a){var u=a(4488),l=a(1361),f="["+l+"]",d=RegExp("^"+f+f+"*"),h=RegExp(f+f+"*$"),p=function(m){return function(S){var E=String(u(S));return m&1&&(E=E.replace(d,"")),m&2&&(E=E.replace(h,"")),E}};i.exports={start:p(1),end:p(2),trim:p(3)}}),1400:(function(i,o,a){var u=a(9958),l=Math.max,f=Math.min;i.exports=function(d,h){var p=u(d);return p<0?l(p+h,0):f(p,h)}}),7067:(function(i,o,a){var u=a(9958),l=a(7466);i.exports=function(f){if(f===void 0)return 0;var d=u(f),h=l(d);if(d!==h)throw RangeError("Wrong length or index");return h}}),5656:(function(i,o,a){var u=a(8361),l=a(4488);i.exports=function(f){return u(l(f))}}),9958:(function(i){var o=Math.ceil,a=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?a:o)(u)}}),7466:(function(i,o,a){var u=a(9958),l=Math.min;i.exports=function(f){return f>0?l(u(f),9007199254740991):0}}),7908:(function(i,o,a){var u=a(4488);i.exports=function(l){return Object(u(l))}}),4590:(function(i,o,a){var u=a(3002);i.exports=function(l,f){var d=u(l);if(d%f)throw RangeError("Wrong offset");return d}}),3002:(function(i,o,a){var u=a(9958);i.exports=function(l){var f=u(l);if(f<0)throw RangeError("The argument can't be less than 0");return f}}),7593:(function(i,o,a){var u=a(111);i.exports=function(l,f){if(!u(l))return l;var d,h;if(f&&typeof(d=l.toString)=="function"&&!u(h=d.call(l))||typeof(d=l.valueOf)=="function"&&!u(h=d.call(l))||!f&&typeof(d=l.toString)=="function"&&!u(h=d.call(l)))return h;throw TypeError("Can't convert object to primitive value")}}),1694:(function(i,o,a){var u=a(5112),l=u("toStringTag"),f={};f[l]="z",i.exports=String(f)==="[object z]"}),9843:(function(i,o,a){var u=a(2109),l=a(7854),f=a(9781),d=a(3832),h=a(260),p=a(3331),m=a(5787),S=a(9114),E=a(8880),_=a(7466),w=a(7067),T=a(4590),C=a(7593),x=a(6656),R=a(648),P=a(111),y=a(30),N=a(7674),$=a(8006).f,H=a(7321),B=a(2092).forEach,W=a(6340),X=a(3070),J=a(1236),ie=a(9909),ne=a(9587),pe=ie.get,K=ie.set,te=X.f,z=J.f,ce=Math.round,Se=l.RangeError,Le=p.ArrayBuffer,Be=p.DataView,Xe=h.NATIVE_ARRAY_BUFFER_VIEWS,oe=h.TYPED_ARRAY_TAG,O=h.TypedArray,I=h.TypedArrayPrototype,M=h.aTypedArrayConstructor,k=h.isTypedArray,U="BYTES_PER_ELEMENT",Y="Wrong length",ae=function(Fe,ve){for(var _e=0,we=ve.length,ke=new(M(Fe))(we);we>_e;)ke[_e]=ve[_e++];return ke},Ee=function(Fe,ve){te(Fe,ve,{get:function(){return pe(this)[ve]}})},me=function(Fe){var ve;return Fe instanceof Le||(ve=R(Fe))=="ArrayBuffer"||ve=="SharedArrayBuffer"},Ce=function(Fe,ve){return k(Fe)&&typeof ve!="symbol"&&ve in Fe&&String(+ve)==String(ve)},be=function(ve,_e){return Ce(ve,_e=C(_e,!0))?S(2,ve[_e]):z(ve,_e)},Ie=function(ve,_e,we){return Ce(ve,_e=C(_e,!0))&&P(we)&&x(we,"value")&&!x(we,"get")&&!x(we,"set")&&!we.configurable&&(!x(we,"writable")||we.writable)&&(!x(we,"enumerable")||we.enumerable)?(ve[_e]=we.value,ve):te(ve,_e,we)};f?(Xe||(J.f=be,X.f=Ie,Ee(I,"buffer"),Ee(I,"byteOffset"),Ee(I,"byteLength"),Ee(I,"length")),u({target:"Object",stat:!0,forced:!Xe},{getOwnPropertyDescriptor:be,defineProperty:Ie}),i.exports=function(Fe,ve,_e){var we=Fe.match(/\d+$/)[0]/8,ke=Fe+(_e?"Clamped":"")+"Array",qe="get"+Fe,Ue="set"+Fe,We=l[ke],ct=We,jt=ct&&ct.prototype,Gt={},et=function(st,ft){var mt=pe(st);return mt.view[qe](ft*we+mt.byteOffset,!0)},Rt=function(st,ft,mt){var Qt=pe(st);_e&&(mt=(mt=ce(mt))<0?0:mt>255?255:mt&255),Qt.view[Ue](ft*we+Qt.byteOffset,mt,!0)},Et=function(st,ft){te(st,ft,{get:function(){return et(this,ft)},set:function(mt){return Rt(this,ft,mt)},enumerable:!0})};Xe?d&&(ct=ve(function(st,ft,mt,Qt){return m(st,ct,ke),ne((function(){return P(ft)?me(ft)?Qt!==void 0?new We(ft,T(mt,we),Qt):mt!==void 0?new We(ft,T(mt,we)):new We(ft):k(ft)?ae(ct,ft):H.call(ct,ft):new We(w(ft))})(),st,ct)}),N&&N(ct,O),B($(We),function(st){st in ct||E(ct,st,We[st])}),ct.prototype=jt):(ct=ve(function(st,ft,mt,Qt){m(st,ct,ke);var Nt=0,Ae=0,tt,lt,Tt;if(!P(ft))Tt=w(ft),lt=Tt*we,tt=new Le(lt);else if(me(ft)){tt=ft,Ae=T(mt,we);var Lt=ft.byteLength;if(Qt===void 0){if(Lt%we||(lt=Lt-Ae,lt<0))throw Se(Y)}else if(lt=_(Qt)*we,lt+Ae>Lt)throw Se(Y);Tt=lt/we}else return k(ft)?ae(ct,ft):H.call(ct,ft);for(K(st,{buffer:tt,byteOffset:Ae,byteLength:lt,length:Tt,view:new Be(tt)});Nt<Tt;)Et(st,Nt++)}),N&&N(ct,O),jt=ct.prototype=y(I)),jt.constructor!==ct&&E(jt,"constructor",ct),oe&&E(jt,oe,ke),Gt[ke]=ct,u({global:!0,forced:ct!=We,sham:!Xe},Gt),U in ct||E(ct,U,we),U in jt||E(jt,U,we),W(ke)}):i.exports=function(){}}),3832:(function(i,o,a){var u=a(7854),l=a(7293),f=a(7072),d=a(260).NATIVE_ARRAY_BUFFER_VIEWS,h=u.ArrayBuffer,p=u.Int8Array;i.exports=!d||!l(function(){p(1)})||!l(function(){new p(-1)})||!f(function(m){new p,new p(null),new p(1.5),new p(m)},!0)||l(function(){return new p(new h(2),1,void 0).length!==1})}),3074:(function(i,o,a){var u=a(260).aTypedArrayConstructor,l=a(6707);i.exports=function(f,d){for(var h=l(f,f.constructor),p=0,m=d.length,S=new(u(h))(m);m>p;)S[p]=d[p++];return S}}),7321:(function(i,o,a){var u=a(7908),l=a(7466),f=a(1246),d=a(7659),h=a(9974),p=a(260).aTypedArrayConstructor;i.exports=function(S){var E=u(S),_=arguments.length,w=_>1?arguments[1]:void 0,T=w!==void 0,C=f(E),x,R,P,y,N,$;if(C!=null&&!d(C))for(N=C.call(E),$=N.next,E=[];!(y=$.call(N)).done;)E.push(y.value);for(T&&_>2&&(w=h(w,arguments[2],2)),R=l(E.length),P=new(p(this))(R),x=0;R>x;x++)P[x]=T?w(E[x],x):E[x];return P}}),9711:(function(i){var o=0,a=Math.random();i.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++o+a).toString(36)}}),3307:(function(i,o,a){var u=a(133);i.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(i,o,a){var u=a(7854),l=a(2309),f=a(6656),d=a(9711),h=a(133),p=a(3307),m=l("wks"),S=u.Symbol,E=p?S:S&&S.withoutSetter||d;i.exports=function(_){return f(m,_)||(h&&f(S,_)?m[_]=S[_]:m[_]=E("Symbol."+_)),m[_]}}),1361:(function(i){i.exports=`
|
|
209
|
-
\v\f\r \u2028\u2029\uFEFF`}),8264:(function(i,o,a){var u=a(2109),l=a(7854),f=a(3331),d=a(6340),h="ArrayBuffer",p=f[h],m=l[h];u({global:!0,forced:m!==p},{ArrayBuffer:p}),d(h)}),2222:(function(i,o,a){var u=a(2109),l=a(7293),f=a(3157),d=a(111),h=a(7908),p=a(7466),m=a(6135),S=a(5417),E=a(1194),_=a(5112),w=a(7392),T=_("isConcatSpreadable"),C=9007199254740991,x="Maximum allowed index exceeded",R=w>=51||!l(function(){var $=[];return $[T]=!1,$.concat()[0]!==$}),P=E("concat"),y=function($){if(!d($))return!1;var H=$[T];return H!==void 0?!!H:f($)},N=!R||!P;u({target:"Array",proto:!0,forced:N},{concat:function(H){var B=h(this),W=S(B,0),X=0,J,ie,ne,pe,K;for(J=-1,ne=arguments.length;J<ne;J++)if(K=J===-1?B:arguments[J],y(K)){if(pe=p(K.length),X+pe>C)throw TypeError(x);for(ie=0;ie<pe;ie++,X++)ie in K&&m(W,X,K[ie])}else{if(X>=C)throw TypeError(x);m(W,X++,K)}return W.length=X,W}})}),7327:(function(i,o,a){var u=a(2109),l=a(2092).filter,f=a(1194),d=f("filter");u({target:"Array",proto:!0,forced:!d},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(i,o,a){var u=a(2109),l=a(1318).indexOf,f=a(9341),d=[].indexOf,h=!!d&&1/[1].indexOf(1,-0)<0,p=f("indexOf");u({target:"Array",proto:!0,forced:h||!p},{indexOf:function(S){return h?d.apply(this,arguments)||0:l(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(i,o,a){var u=a(5656),l=a(1223),f=a(7497),d=a(9909),h=a(654),p="Array Iterator",m=d.set,S=d.getterFor(p);i.exports=h(Array,"Array",function(E,_){m(this,{type:p,target:u(E),index:0,kind:_})},function(){var E=S(this),_=E.target,w=E.kind,T=E.index++;return!_||T>=_.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:T,done:!1}:w=="values"?{value:_[T],done:!1}:{value:[T,_[T]],done:!1}},"values"),f.Arguments=f.Array,l("keys"),l("values"),l("entries")}),1249:(function(i,o,a){var u=a(2109),l=a(2092).map,f=a(1194),d=f("map");u({target:"Array",proto:!0,forced:!d},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(i,o,a){var u=a(2109),l=a(111),f=a(3157),d=a(1400),h=a(7466),p=a(5656),m=a(6135),S=a(5112),E=a(1194),_=E("slice"),w=S("species"),T=[].slice,C=Math.max;u({target:"Array",proto:!0,forced:!_},{slice:function(R,P){var y=p(this),N=h(y.length),$=d(R,N),H=d(P===void 0?N:P,N),B,W,X;if(f(y)&&(B=y.constructor,typeof B=="function"&&(B===Array||f(B.prototype))?B=void 0:l(B)&&(B=B[w],B===null&&(B=void 0)),B===Array||B===void 0))return T.call(y,$,H);for(W=new(B===void 0?Array:B)(C(H-$,0)),X=0;$<H;$++,X++)$ in y&&m(W,X,y[$]);return W.length=X,W}})}),561:(function(i,o,a){var u=a(2109),l=a(1400),f=a(9958),d=a(7466),h=a(7908),p=a(5417),m=a(6135),S=a(1194),E=S("splice"),_=Math.max,w=Math.min,T=9007199254740991,C="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!E},{splice:function(R,P){var y=h(this),N=d(y.length),$=l(R,N),H=arguments.length,B,W,X,J,ie,ne;if(H===0?B=W=0:H===1?(B=0,W=N-$):(B=H-2,W=w(_(f(P),0),N-$)),N+B-W>T)throw TypeError(C);for(X=p(y,W),J=0;J<W;J++)ie=$+J,ie in y&&m(X,J,y[ie]);if(X.length=W,B<W){for(J=$;J<N-W;J++)ie=J+W,ne=J+B,ie in y?y[ne]=y[ie]:delete y[ne];for(J=N;J>N-W+B;J--)delete y[J-1]}else if(B>W)for(J=N-W;J>$;J--)ie=J+W-1,ne=J+B-1,ie in y?y[ne]=y[ie]:delete y[ne];for(J=0;J<B;J++)y[J+$]=arguments[J+2];return y.length=N-W+B,X}})}),8309:(function(i,o,a){var u=a(9781),l=a(3070).f,f=Function.prototype,d=f.toString,h=/^\s*function ([^ (]*)/,p="name";u&&!(p in f)&&l(f,p,{configurable:!0,get:function(){try{return d.call(this).match(h)[1]}catch{return""}}})}),489:(function(i,o,a){var u=a(2109),l=a(7293),f=a(7908),d=a(9518),h=a(8544),p=l(function(){d(1)});u({target:"Object",stat:!0,forced:p,sham:!h},{getPrototypeOf:function(S){return d(f(S))}})}),1539:(function(i,o,a){var u=a(1694),l=a(1320),f=a(288);u||l(Object.prototype,"toString",f,{unsafe:!0})}),4916:(function(i,o,a){var u=a(2109),l=a(2261);u({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})}),9714:(function(i,o,a){var u=a(1320),l=a(9670),f=a(7293),d=a(7066),h="toString",p=RegExp.prototype,m=p[h],S=f(function(){return m.call({source:"a",flags:"b"})!="/a/b"}),E=m.name!=h;(S||E)&&u(RegExp.prototype,h,function(){var w=l(this),T=String(w.source),C=w.flags,x=String(C===void 0&&w instanceof RegExp&&!("flags"in p)?d.call(w):C);return"/"+T+"/"+x},{unsafe:!0})}),8783:(function(i,o,a){var u=a(8710).charAt,l=a(9909),f=a(654),d="String Iterator",h=l.set,p=l.getterFor(d);f(String,"String",function(m){h(this,{type:d,string:String(m),index:0})},function(){var S=p(this),E=S.string,_=S.index,w;return _>=E.length?{value:void 0,done:!0}:(w=u(E,_),S.index+=w.length,{value:w,done:!1})})}),4723:(function(i,o,a){var u=a(7007),l=a(9670),f=a(7466),d=a(4488),h=a(1530),p=a(7651);u("match",1,function(m,S,E){return[function(w){var T=d(this),C=w==null?void 0:w[m];return C!==void 0?C.call(w,T):new RegExp(w)[m](String(T))},function(_){var w=E(S,_,this);if(w.done)return w.value;var T=l(_),C=String(this);if(!T.global)return p(T,C);var x=T.unicode;T.lastIndex=0;for(var R=[],P=0,y;(y=p(T,C))!==null;){var N=String(y[0]);R[P]=N,N===""&&(T.lastIndex=h(C,f(T.lastIndex),x)),P++}return P===0?null:R}]})}),5306:(function(i,o,a){var u=a(7007),l=a(9670),f=a(7466),d=a(9958),h=a(4488),p=a(1530),m=a(647),S=a(7651),E=Math.max,_=Math.min,w=function(T){return T===void 0?T:String(T)};u("replace",2,function(T,C,x,R){var P=R.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=R.REPLACE_KEEPS_$0,N=P?"$":"$0";return[function(H,B){var W=h(this),X=H==null?void 0:H[T];return X!==void 0?X.call(H,W,B):C.call(String(W),H,B)},function($,H){if(!P&&y||typeof H=="string"&&H.indexOf(N)===-1){var B=x(C,$,this,H);if(B.done)return B.value}var W=l($),X=String(this),J=typeof H=="function";J||(H=String(H));var ie=W.global;if(ie){var ne=W.unicode;W.lastIndex=0}for(var pe=[];;){var K=S(W,X);if(K===null||(pe.push(K),!ie))break;var te=String(K[0]);te===""&&(W.lastIndex=p(X,f(W.lastIndex),ne))}for(var z="",ce=0,Se=0;Se<pe.length;Se++){K=pe[Se];for(var Le=String(K[0]),Be=E(_(d(K.index),X.length),0),Xe=[],oe=1;oe<K.length;oe++)Xe.push(w(K[oe]));var O=K.groups;if(J){var I=[Le].concat(Xe,Be,X);O!==void 0&&I.push(O);var M=String(H.apply(void 0,I))}else M=m(Le,X,Be,Xe,O,H);Be>=ce&&(z+=X.slice(ce,Be)+M,ce=Be+Le.length)}return z+X.slice(ce)}]})}),3123:(function(i,o,a){var u=a(7007),l=a(7850),f=a(9670),d=a(4488),h=a(6707),p=a(1530),m=a(7466),S=a(7651),E=a(2261),_=a(7293),w=[].push,T=Math.min,C=4294967295,x=!_(function(){return!RegExp(C,"y")});u("split",2,function(R,P,y){var N;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?N=function($,H){var B=String(d(this)),W=H===void 0?C:H>>>0;if(W===0)return[];if($===void 0)return[B];if(!l($))return P.call(B,$,W);for(var X=[],J=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),ie=0,ne=new RegExp($.source,J+"g"),pe,K,te;(pe=E.call(ne,B))&&(K=ne.lastIndex,!(K>ie&&(X.push(B.slice(ie,pe.index)),pe.length>1&&pe.index<B.length&&w.apply(X,pe.slice(1)),te=pe[0].length,ie=K,X.length>=W)));)ne.lastIndex===pe.index&&ne.lastIndex++;return ie===B.length?(te||!ne.test(""))&&X.push(""):X.push(B.slice(ie)),X.length>W?X.slice(0,W):X}:"0".split(void 0,0).length?N=function($,H){return $===void 0&&H===0?[]:P.call(this,$,H)}:N=P,[function(H,B){var W=d(this),X=H==null?void 0:H[R];return X!==void 0?X.call(H,W,B):N.call(String(W),H,B)},function($,H){var B=y(N,$,this,H,N!==P);if(B.done)return B.value;var W=f($),X=String(this),J=h(W,RegExp),ie=W.unicode,ne=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(x?"y":"g"),pe=new J(x?W:"^(?:"+W.source+")",ne),K=H===void 0?C:H>>>0;if(K===0)return[];if(X.length===0)return S(pe,X)===null?[X]:[];for(var te=0,z=0,ce=[];z<X.length;){pe.lastIndex=x?z:0;var Se=S(pe,x?X:X.slice(z)),Le;if(Se===null||(Le=T(m(pe.lastIndex+(x?0:z)),X.length))===te)z=p(X,z,ie);else{if(ce.push(X.slice(te,z)),ce.length===K)return ce;for(var Be=1;Be<=Se.length-1;Be++)if(ce.push(Se[Be]),ce.length===K)return ce;z=te=Le}}return ce.push(X.slice(te)),ce}]},!x)}),3210:(function(i,o,a){var u=a(2109),l=a(3111).trim,f=a(6091);u({target:"String",proto:!0,forced:f("trim")},{trim:function(){return l(this)}})}),2990:(function(i,o,a){var u=a(260),l=a(1048),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("copyWithin",function(p,m){return l.call(f(this),p,m,arguments.length>2?arguments[2]:void 0)})}),8927:(function(i,o,a){var u=a(260),l=a(2092).every,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("every",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),3105:(function(i,o,a){var u=a(260),l=a(1285),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("fill",function(p){return l.apply(f(this),arguments)})}),5035:(function(i,o,a){var u=a(260),l=a(2092).filter,f=a(3074),d=u.aTypedArray,h=u.exportTypedArrayMethod;h("filter",function(m){var S=l(d(this),m,arguments.length>1?arguments[1]:void 0);return f(this,S)})}),7174:(function(i,o,a){var u=a(260),l=a(2092).findIndex,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("findIndex",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),4345:(function(i,o,a){var u=a(260),l=a(2092).find,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("find",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),2846:(function(i,o,a){var u=a(260),l=a(2092).forEach,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("forEach",function(p){l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),4731:(function(i,o,a){var u=a(260),l=a(1318).includes,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("includes",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),7209:(function(i,o,a){var u=a(260),l=a(1318).indexOf,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("indexOf",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),6319:(function(i,o,a){var u=a(7854),l=a(260),f=a(6992),d=a(5112),h=d("iterator"),p=u.Uint8Array,m=f.values,S=f.keys,E=f.entries,_=l.aTypedArray,w=l.exportTypedArrayMethod,T=p&&p.prototype[h],C=!!T&&(T.name=="values"||T.name==null),x=function(){return m.call(_(this))};w("entries",function(){return E.call(_(this))}),w("keys",function(){return S.call(_(this))}),w("values",x,!C),w(h,x,!C)}),8867:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=[].join;f("join",function(p){return d.apply(l(this),arguments)})}),7789:(function(i,o,a){var u=a(260),l=a(6583),f=u.aTypedArray,d=u.exportTypedArrayMethod;d("lastIndexOf",function(p){return l.apply(f(this),arguments)})}),3739:(function(i,o,a){var u=a(260),l=a(2092).map,f=a(6707),d=u.aTypedArray,h=u.aTypedArrayConstructor,p=u.exportTypedArrayMethod;p("map",function(S){return l(d(this),S,arguments.length>1?arguments[1]:void 0,function(E,_){return new(h(f(E,E.constructor)))(_)})})}),4483:(function(i,o,a){var u=a(260),l=a(3671).right,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("reduceRight",function(p){return l(f(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(i,o,a){var u=a(260),l=a(3671).left,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("reduce",function(p){return l(f(this),p,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=Math.floor;f("reverse",function(){for(var p=this,m=l(p).length,S=d(m/2),E=0,_;E<S;)_=p[E],p[E++]=p[--m],p[m]=_;return p})}),3462:(function(i,o,a){var u=a(260),l=a(7466),f=a(4590),d=a(7908),h=a(7293),p=u.aTypedArray,m=u.exportTypedArrayMethod,S=h(function(){new Int8Array(1).set({})});m("set",function(_){p(this);var w=f(arguments.length>1?arguments[1]:void 0,1),T=this.length,C=d(_),x=l(C.length),R=0;if(x+w>T)throw RangeError("Wrong length");for(;R<x;)this[w+R]=C[R++]},S)}),678:(function(i,o,a){var u=a(260),l=a(6707),f=a(7293),d=u.aTypedArray,h=u.aTypedArrayConstructor,p=u.exportTypedArrayMethod,m=[].slice,S=f(function(){new Int8Array(1).slice()});p("slice",function(_,w){for(var T=m.call(d(this),_,w),C=l(this,this.constructor),x=0,R=T.length,P=new(h(C))(R);R>x;)P[x]=T[x++];return P},S)}),7462:(function(i,o,a){var u=a(260),l=a(2092).some,f=u.aTypedArray,d=u.exportTypedArrayMethod;d("some",function(p){return l(f(this),p,arguments.length>1?arguments[1]:void 0)})}),3824:(function(i,o,a){var u=a(260),l=u.aTypedArray,f=u.exportTypedArrayMethod,d=[].sort;f("sort",function(p){return d.call(l(this),p)})}),5021:(function(i,o,a){var u=a(260),l=a(7466),f=a(1400),d=a(6707),h=u.aTypedArray,p=u.exportTypedArrayMethod;p("subarray",function(S,E){var _=h(this),w=_.length,T=f(S,w);return new(d(_,_.constructor))(_.buffer,_.byteOffset+T*_.BYTES_PER_ELEMENT,l((E===void 0?w:f(E,w))-T))})}),2974:(function(i,o,a){var u=a(7854),l=a(260),f=a(7293),d=u.Int8Array,h=l.aTypedArray,p=l.exportTypedArrayMethod,m=[].toLocaleString,S=[].slice,E=!!d&&f(function(){m.call(new d(1))}),_=f(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!f(function(){d.prototype.toLocaleString.call([1,2])});p("toLocaleString",function(){return m.apply(E?S.call(h(this)):h(this),arguments)},_)}),5016:(function(i,o,a){var u=a(260).exportTypedArrayMethod,l=a(7293),f=a(7854),d=f.Uint8Array,h=d&&d.prototype||{},p=[].toString,m=[].join;l(function(){p.call({})})&&(p=function(){return m.call(this)});var S=h.toString!=p;u("toString",p,S)}),2472:(function(i,o,a){var u=a(9843);u("Uint8",function(l){return function(d,h,p){return l(this,d,h,p)}})}),4747:(function(i,o,a){var u=a(7854),l=a(8324),f=a(8533),d=a(8880);for(var h in l){var p=u[h],m=p&&p.prototype;if(m&&m.forEach!==f)try{d(m,"forEach",f)}catch{m.forEach=f}}}),3948:(function(i,o,a){var u=a(7854),l=a(8324),f=a(6992),d=a(8880),h=a(5112),p=h("iterator"),m=h("toStringTag"),S=f.values;for(var E in l){var _=u[E],w=_&&_.prototype;if(w){if(w[p]!==S)try{d(w,p,S)}catch{w[p]=S}if(w[m]||d(w,m,E),l[E]){for(var T in f)if(w[T]!==f[T])try{d(w,T,f[T])}catch{w[T]=f[T]}}}}}),1637:(function(i,o,a){a(6992);var u=a(2109),l=a(5005),f=a(590),d=a(1320),h=a(2248),p=a(8003),m=a(4994),S=a(9909),E=a(5787),_=a(6656),w=a(9974),T=a(648),C=a(9670),x=a(111),R=a(30),P=a(9114),y=a(8554),N=a(1246),$=a(5112),H=l("fetch"),B=l("Headers"),W=$("iterator"),X="URLSearchParams",J=X+"Iterator",ie=S.set,ne=S.getterFor(X),pe=S.getterFor(J),K=/\+/g,te=Array(4),z=function(ae){return te[ae-1]||(te[ae-1]=RegExp("((?:%[\\da-f]{2}){"+ae+"})","gi"))},ce=function(ae){try{return decodeURIComponent(ae)}catch{return ae}},Se=function(ae){var Ee=ae.replace(K," "),me=4;try{return decodeURIComponent(Ee)}catch{for(;me;)Ee=Ee.replace(z(me--),ce);return Ee}},Le=/[!'()~]|%20/g,Be={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Xe=function(ae){return Be[ae]},oe=function(ae){return encodeURIComponent(ae).replace(Le,Xe)},O=function(ae,Ee){if(Ee)for(var me=Ee.split("&"),Ce=0,be,Ie;Ce<me.length;)be=me[Ce++],be.length&&(Ie=be.split("="),ae.push({key:Se(Ie.shift()),value:Se(Ie.join("="))}))},I=function(ae){this.entries.length=0,O(this.entries,ae)},M=function(ae,Ee){if(ae<Ee)throw TypeError("Not enough arguments")},k=m(function(Ee,me){ie(this,{type:J,iterator:y(ne(Ee).entries),kind:me})},"Iterator",function(){var Ee=pe(this),me=Ee.kind,Ce=Ee.iterator.next(),be=Ce.value;return Ce.done||(Ce.value=me==="keys"?be.key:me==="values"?be.value:[be.key,be.value]),Ce}),U=function(){E(this,U,X);var Ee=arguments.length>0?arguments[0]:void 0,me=this,Ce=[],be,Ie,Fe,ve,_e,we,ke,qe,Ue;if(ie(me,{type:X,entries:Ce,updateURL:function(){},updateSearchParams:I}),Ee!==void 0)if(x(Ee))if(be=N(Ee),typeof be=="function")for(Ie=be.call(Ee),Fe=Ie.next;!(ve=Fe.call(Ie)).done;){if(_e=y(C(ve.value)),we=_e.next,(ke=we.call(_e)).done||(qe=we.call(_e)).done||!we.call(_e).done)throw TypeError("Expected sequence with length 2");Ce.push({key:ke.value+"",value:qe.value+""})}else for(Ue in Ee)_(Ee,Ue)&&Ce.push({key:Ue,value:Ee[Ue]+""});else O(Ce,typeof Ee=="string"?Ee.charAt(0)==="?"?Ee.slice(1):Ee:Ee+"")},Y=U.prototype;h(Y,{append:function(Ee,me){M(arguments.length,2);var Ce=ne(this);Ce.entries.push({key:Ee+"",value:me+""}),Ce.updateURL()},delete:function(ae){M(arguments.length,1);for(var Ee=ne(this),me=Ee.entries,Ce=ae+"",be=0;be<me.length;)me[be].key===Ce?me.splice(be,1):be++;Ee.updateURL()},get:function(Ee){M(arguments.length,1);for(var me=ne(this).entries,Ce=Ee+"",be=0;be<me.length;be++)if(me[be].key===Ce)return me[be].value;return null},getAll:function(Ee){M(arguments.length,1);for(var me=ne(this).entries,Ce=Ee+"",be=[],Ie=0;Ie<me.length;Ie++)me[Ie].key===Ce&&be.push(me[Ie].value);return be},has:function(Ee){M(arguments.length,1);for(var me=ne(this).entries,Ce=Ee+"",be=0;be<me.length;)if(me[be++].key===Ce)return!0;return!1},set:function(Ee,me){M(arguments.length,1);for(var Ce=ne(this),be=Ce.entries,Ie=!1,Fe=Ee+"",ve=me+"",_e=0,we;_e<be.length;_e++)we=be[_e],we.key===Fe&&(Ie?be.splice(_e--,1):(Ie=!0,we.value=ve));Ie||be.push({key:Fe,value:ve}),Ce.updateURL()},sort:function(){var Ee=ne(this),me=Ee.entries,Ce=me.slice(),be,Ie,Fe;for(me.length=0,Fe=0;Fe<Ce.length;Fe++){for(be=Ce[Fe],Ie=0;Ie<Fe;Ie++)if(me[Ie].key>be.key){me.splice(Ie,0,be);break}Ie===Fe&&me.push(be)}Ee.updateURL()},forEach:function(Ee){for(var me=ne(this).entries,Ce=w(Ee,arguments.length>1?arguments[1]:void 0,3),be=0,Ie;be<me.length;)Ie=me[be++],Ce(Ie.value,Ie.key,this)},keys:function(){return new k(this,"keys")},values:function(){return new k(this,"values")},entries:function(){return new k(this,"entries")}},{enumerable:!0}),d(Y,W,Y.entries),d(Y,"toString",function(){for(var Ee=ne(this).entries,me=[],Ce=0,be;Ce<Ee.length;)be=Ee[Ce++],me.push(oe(be.key)+"="+oe(be.value));return me.join("&")},{enumerable:!0}),p(U,X),u({global:!0,forced:!f},{URLSearchParams:U}),!f&&typeof H=="function"&&typeof B=="function"&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(Ee){var me=[Ee],Ce,be,Ie;return arguments.length>1&&(Ce=arguments[1],x(Ce)&&(be=Ce.body,T(be)===X&&(Ie=Ce.headers?new B(Ce.headers):new B,Ie.has("content-type")||Ie.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Ce=R(Ce,{body:P(0,String(be)),headers:P(0,Ie)}))),me.push(Ce)),H.apply(this,me)}}),i.exports={URLSearchParams:U,getState:ne}}),285:(function(i,o,a){a(8783);var u=a(2109),l=a(9781),f=a(590),d=a(7854),h=a(6048),p=a(1320),m=a(5787),S=a(6656),E=a(1574),_=a(8457),w=a(8710).codeAt,T=a(3197),C=a(8003),x=a(1637),R=a(9909),P=d.URL,y=x.URLSearchParams,N=x.getState,$=R.set,H=R.getterFor("URL"),B=Math.floor,W=Math.pow,X="Invalid authority",J="Invalid scheme",ie="Invalid host",ne="Invalid port",pe=/[A-Za-z]/,K=/[\d+-.A-Za-z]/,te=/\d/,z=/^(0x|0X)/,ce=/^[0-7]+$/,Se=/^\d+$/,Le=/^[\dA-Fa-f]+$/,Be=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Xe=/[\u0000\t\u000A\u000D #/:?@[\\]]/,oe=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,O=/[\t\u000A\u000D]/g,I,M=function(se,rt){var He,bt,yt;if(rt.charAt(0)=="["){if(rt.charAt(rt.length-1)!="]"||(He=U(rt.slice(1,-1)),!He))return ie;se.host=He}else if(ve(se)){if(rt=T(rt),Be.test(rt)||(He=k(rt),He===null))return ie;se.host=He}else{if(Xe.test(rt))return ie;for(He="",bt=_(rt),yt=0;yt<bt.length;yt++)He+=Ie(bt[yt],Ee);se.host=He}},k=function(se){var rt=se.split("."),He,bt,yt,Ht,Kt,wt,_r;if(rt.length&&rt[rt.length-1]==""&&rt.pop(),He=rt.length,He>4)return se;for(bt=[],yt=0;yt<He;yt++){if(Ht=rt[yt],Ht=="")return se;if(Kt=10,Ht.length>1&&Ht.charAt(0)=="0"&&(Kt=z.test(Ht)?16:8,Ht=Ht.slice(Kt==8?1:2)),Ht==="")wt=0;else{if(!(Kt==10?Se:Kt==8?ce:Le).test(Ht))return se;wt=parseInt(Ht,Kt)}bt.push(wt)}for(yt=0;yt<He;yt++)if(wt=bt[yt],yt==He-1){if(wt>=W(256,5-He))return null}else if(wt>255)return null;for(_r=bt.pop(),yt=0;yt<bt.length;yt++)_r+=bt[yt]*W(256,3-yt);return _r},U=function(se){var rt=[0,0,0,0,0,0,0,0],He=0,bt=null,yt=0,Ht,Kt,wt,_r,Hr,dn,Dt,zr=function(){return se.charAt(yt)};if(zr()==":"){if(se.charAt(1)!=":")return;yt+=2,He++,bt=He}for(;zr();){if(He==8)return;if(zr()==":"){if(bt!==null)return;yt++,He++,bt=He;continue}for(Ht=Kt=0;Kt<4&&Le.test(zr());)Ht=Ht*16+parseInt(zr(),16),yt++,Kt++;if(zr()=="."){if(Kt==0||(yt-=Kt,He>6))return;for(wt=0;zr();){if(_r=null,wt>0)if(zr()=="."&&wt<4)yt++;else return;if(!te.test(zr()))return;for(;te.test(zr());){if(Hr=parseInt(zr(),10),_r===null)_r=Hr;else{if(_r==0)return;_r=_r*10+Hr}if(_r>255)return;yt++}rt[He]=rt[He]*256+_r,wt++,(wt==2||wt==4)&&He++}if(wt!=4)return;break}else if(zr()==":"){if(yt++,!zr())return}else if(zr())return;rt[He++]=Ht}if(bt!==null)for(dn=He-bt,He=7;He!=0&&dn>0;)Dt=rt[He],rt[He--]=rt[bt+dn-1],rt[bt+--dn]=Dt;else if(He!=8)return;return rt},Y=function(se){for(var rt=null,He=1,bt=null,yt=0,Ht=0;Ht<8;Ht++)se[Ht]!==0?(yt>He&&(rt=bt,He=yt),bt=null,yt=0):(bt===null&&(bt=Ht),++yt);return yt>He&&(rt=bt,He=yt),rt},ae=function(se){var rt,He,bt,yt;if(typeof se=="number"){for(rt=[],He=0;He<4;He++)rt.unshift(se%256),se=B(se/256);return rt.join(".")}else if(typeof se=="object"){for(rt="",bt=Y(se),He=0;He<8;He++)yt&&se[He]===0||(yt&&(yt=!1),bt===He?(rt+=He?":":"::",yt=!0):(rt+=se[He].toString(16),He<7&&(rt+=":")));return"["+rt+"]"}return se},Ee={},me=E({},Ee,{" ":1,'"':1,"<":1,">":1,"`":1}),Ce=E({},me,{"#":1,"?":1,"{":1,"}":1}),be=E({},Ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ie=function(se,rt){var He=w(se,0);return He>32&&He<127&&!S(rt,se)?se:encodeURIComponent(se)},Fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ve=function(se){return S(Fe,se.scheme)},_e=function(se){return se.username!=""||se.password!=""},we=function(se){return!se.host||se.cannotBeABaseURL||se.scheme=="file"},ke=function(se,rt){var He;return se.length==2&&pe.test(se.charAt(0))&&((He=se.charAt(1))==":"||!rt&&He=="|")},qe=function(se){var rt;return se.length>1&&ke(se.slice(0,2))&&(se.length==2||(rt=se.charAt(2))==="/"||rt==="\\"||rt==="?"||rt==="#")},Ue=function(se){var rt=se.path,He=rt.length;He&&(se.scheme!="file"||He!=1||!ke(rt[0],!0))&&rt.pop()},We=function(se){return se==="."||se.toLowerCase()==="%2e"},ct=function(se){return se=se.toLowerCase(),se===".."||se==="%2e."||se===".%2e"||se==="%2e%2e"},jt={},Gt={},et={},Rt={},Et={},st={},ft={},mt={},Qt={},Nt={},Ae={},tt={},lt={},Tt={},Lt={},ar={},dr={},rr={},gr={},Dr={},Ur={},Pn=function(se,rt,He,bt){var yt=He||jt,Ht=0,Kt="",wt=!1,_r=!1,Hr=!1,dn,Dt,zr,Dn;for(He||(se.scheme="",se.username="",se.password="",se.host=null,se.port=null,se.path=[],se.query=null,se.fragment=null,se.cannotBeABaseURL=!1,rt=rt.replace(oe,"")),rt=rt.replace(O,""),dn=_(rt);Ht<=dn.length;){switch(Dt=dn[Ht],yt){case jt:if(Dt&&pe.test(Dt))Kt+=Dt.toLowerCase(),yt=Gt;else{if(He)return J;yt=et;continue}break;case Gt:if(Dt&&(K.test(Dt)||Dt=="+"||Dt=="-"||Dt=="."))Kt+=Dt.toLowerCase();else if(Dt==":"){if(He&&(ve(se)!=S(Fe,Kt)||Kt=="file"&&(_e(se)||se.port!==null)||se.scheme=="file"&&!se.host))return;if(se.scheme=Kt,He){ve(se)&&Fe[se.scheme]==se.port&&(se.port=null);return}Kt="",se.scheme=="file"?yt=Tt:ve(se)&&bt&&bt.scheme==se.scheme?yt=Rt:ve(se)?yt=mt:dn[Ht+1]=="/"?(yt=Et,Ht++):(se.cannotBeABaseURL=!0,se.path.push(""),yt=gr)}else{if(He)return J;Kt="",yt=et,Ht=0;continue}break;case et:if(!bt||bt.cannotBeABaseURL&&Dt!="#")return J;if(bt.cannotBeABaseURL&&Dt=="#"){se.scheme=bt.scheme,se.path=bt.path.slice(),se.query=bt.query,se.fragment="",se.cannotBeABaseURL=!0,yt=Ur;break}yt=bt.scheme=="file"?Tt:st;continue;case Rt:if(Dt=="/"&&dn[Ht+1]=="/")yt=Qt,Ht++;else{yt=st;continue}break;case Et:if(Dt=="/"){yt=Nt;break}else{yt=rr;continue}case st:if(se.scheme=bt.scheme,Dt==I)se.username=bt.username,se.password=bt.password,se.host=bt.host,se.port=bt.port,se.path=bt.path.slice(),se.query=bt.query;else if(Dt=="/"||Dt=="\\"&&ve(se))yt=ft;else if(Dt=="?")se.username=bt.username,se.password=bt.password,se.host=bt.host,se.port=bt.port,se.path=bt.path.slice(),se.query="",yt=Dr;else if(Dt=="#")se.username=bt.username,se.password=bt.password,se.host=bt.host,se.port=bt.port,se.path=bt.path.slice(),se.query=bt.query,se.fragment="",yt=Ur;else{se.username=bt.username,se.password=bt.password,se.host=bt.host,se.port=bt.port,se.path=bt.path.slice(),se.path.pop(),yt=rr;continue}break;case ft:if(ve(se)&&(Dt=="/"||Dt=="\\"))yt=Qt;else if(Dt=="/")yt=Nt;else{se.username=bt.username,se.password=bt.password,se.host=bt.host,se.port=bt.port,yt=rr;continue}break;case mt:if(yt=Qt,Dt!="/"||Kt.charAt(Ht+1)!="/")continue;Ht++;break;case Qt:if(Dt!="/"&&Dt!="\\"){yt=Nt;continue}break;case Nt:if(Dt=="@"){wt&&(Kt="%40"+Kt),wt=!0,zr=_(Kt);for(var Tn=0;Tn<zr.length;Tn++){var Ba=zr[Tn];if(Ba==":"&&!Hr){Hr=!0;continue}var Qn=Ie(Ba,be);Hr?se.password+=Qn:se.username+=Qn}Kt=""}else if(Dt==I||Dt=="/"||Dt=="?"||Dt=="#"||Dt=="\\"&&ve(se)){if(wt&&Kt=="")return X;Ht-=_(Kt).length+1,Kt="",yt=Ae}else Kt+=Dt;break;case Ae:case tt:if(He&&se.scheme=="file"){yt=ar;continue}else if(Dt==":"&&!_r){if(Kt=="")return ie;if(Dn=M(se,Kt),Dn)return Dn;if(Kt="",yt=lt,He==tt)return}else if(Dt==I||Dt=="/"||Dt=="?"||Dt=="#"||Dt=="\\"&&ve(se)){if(ve(se)&&Kt=="")return ie;if(He&&Kt==""&&(_e(se)||se.port!==null))return;if(Dn=M(se,Kt),Dn)return Dn;if(Kt="",yt=dr,He)return;continue}else Dt=="["?_r=!0:Dt=="]"&&(_r=!1),Kt+=Dt;break;case lt:if(te.test(Dt))Kt+=Dt;else if(Dt==I||Dt=="/"||Dt=="?"||Dt=="#"||Dt=="\\"&&ve(se)||He){if(Kt!=""){var Fi=parseInt(Kt,10);if(Fi>65535)return ne;se.port=ve(se)&&Fi===Fe[se.scheme]?null:Fi,Kt=""}if(He)return;yt=dr;continue}else return ne;break;case Tt:if(se.scheme="file",Dt=="/"||Dt=="\\")yt=Lt;else if(bt&&bt.scheme=="file")if(Dt==I)se.host=bt.host,se.path=bt.path.slice(),se.query=bt.query;else if(Dt=="?")se.host=bt.host,se.path=bt.path.slice(),se.query="",yt=Dr;else if(Dt=="#")se.host=bt.host,se.path=bt.path.slice(),se.query=bt.query,se.fragment="",yt=Ur;else{qe(dn.slice(Ht).join(""))||(se.host=bt.host,se.path=bt.path.slice(),Ue(se)),yt=rr;continue}else{yt=rr;continue}break;case Lt:if(Dt=="/"||Dt=="\\"){yt=ar;break}bt&&bt.scheme=="file"&&!qe(dn.slice(Ht).join(""))&&(ke(bt.path[0],!0)?se.path.push(bt.path[0]):se.host=bt.host),yt=rr;continue;case ar:if(Dt==I||Dt=="/"||Dt=="\\"||Dt=="?"||Dt=="#"){if(!He&&ke(Kt))yt=rr;else if(Kt==""){if(se.host="",He)return;yt=dr}else{if(Dn=M(se,Kt),Dn)return Dn;if(se.host=="localhost"&&(se.host=""),He)return;Kt="",yt=dr}continue}else Kt+=Dt;break;case dr:if(ve(se)){if(yt=rr,Dt!="/"&&Dt!="\\")continue}else if(!He&&Dt=="?")se.query="",yt=Dr;else if(!He&&Dt=="#")se.fragment="",yt=Ur;else if(Dt!=I&&(yt=rr,Dt!="/"))continue;break;case rr:if(Dt==I||Dt=="/"||Dt=="\\"&&ve(se)||!He&&(Dt=="?"||Dt=="#")){if(ct(Kt)?(Ue(se),Dt!="/"&&!(Dt=="\\"&&ve(se))&&se.path.push("")):We(Kt)?Dt!="/"&&!(Dt=="\\"&&ve(se))&&se.path.push(""):(se.scheme=="file"&&!se.path.length&&ke(Kt)&&(se.host&&(se.host=""),Kt=Kt.charAt(0)+":"),se.path.push(Kt)),Kt="",se.scheme=="file"&&(Dt==I||Dt=="?"||Dt=="#"))for(;se.path.length>1&&se.path[0]==="";)se.path.shift();Dt=="?"?(se.query="",yt=Dr):Dt=="#"&&(se.fragment="",yt=Ur)}else Kt+=Ie(Dt,Ce);break;case gr:Dt=="?"?(se.query="",yt=Dr):Dt=="#"?(se.fragment="",yt=Ur):Dt!=I&&(se.path[0]+=Ie(Dt,Ee));break;case Dr:!He&&Dt=="#"?(se.fragment="",yt=Ur):Dt!=I&&(Dt=="'"&&ve(se)?se.query+="%27":Dt=="#"?se.query+="%23":se.query+=Ie(Dt,Ee));break;case Ur:Dt!=I&&(se.fragment+=Ie(Dt,me));break}Ht++}},kn=function(rt){var He=m(this,kn,"URL"),bt=arguments.length>1?arguments[1]:void 0,yt=String(rt),Ht=$(He,{type:"URL"}),Kt,wt;if(bt!==void 0){if(bt instanceof kn)Kt=H(bt);else if(wt=Pn(Kt={},String(bt)),wt)throw TypeError(wt)}if(wt=Pn(Ht,yt,null,Kt),wt)throw TypeError(wt);var _r=Ht.searchParams=new y,Hr=N(_r);Hr.updateSearchParams(Ht.query),Hr.updateURL=function(){Ht.query=String(_r)||null},l||(He.href=fn.call(He),He.origin=Wn.call(He),He.protocol=Xn.call(He),He.username=ui.call(He),He.password=ti.call(He),He.host=Si.call(He),He.hostname=Ri.call(He),He.port=_n.call(He),He.pathname=Gn.call(He),He.search=di.call(He),He.searchParams=li.call(He),He.hash=at.call(He))},Fn=kn.prototype,fn=function(){var se=H(this),rt=se.scheme,He=se.username,bt=se.password,yt=se.host,Ht=se.port,Kt=se.path,wt=se.query,_r=se.fragment,Hr=rt+":";return yt!==null?(Hr+="//",_e(se)&&(Hr+=He+(bt?":"+bt:"")+"@"),Hr+=ae(yt),Ht!==null&&(Hr+=":"+Ht)):rt=="file"&&(Hr+="//"),Hr+=se.cannotBeABaseURL?Kt[0]:Kt.length?"/"+Kt.join("/"):"",wt!==null&&(Hr+="?"+wt),_r!==null&&(Hr+="#"+_r),Hr},Wn=function(){var se=H(this),rt=se.scheme,He=se.port;if(rt=="blob")try{return new URL(rt.path[0]).origin}catch{return"null"}return rt=="file"||!ve(se)?"null":rt+"://"+ae(se.host)+(He!==null?":"+He:"")},Xn=function(){return H(this).scheme+":"},ui=function(){return H(this).username},ti=function(){return H(this).password},Si=function(){var se=H(this),rt=se.host,He=se.port;return rt===null?"":He===null?ae(rt):ae(rt)+":"+He},Ri=function(){var se=H(this).host;return se===null?"":ae(se)},_n=function(){var se=H(this).port;return se===null?"":String(se)},Gn=function(){var se=H(this),rt=se.path;return se.cannotBeABaseURL?rt[0]:rt.length?"/"+rt.join("/"):""},di=function(){var se=H(this).query;return se?"?"+se:""},li=function(){return H(this).searchParams},at=function(){var se=H(this).fragment;return se?"#"+se:""},kt=function(se,rt){return{get:se,set:rt,configurable:!0,enumerable:!0}};if(l&&h(Fn,{href:kt(fn,function(se){var rt=H(this),He=String(se),bt=Pn(rt,He);if(bt)throw TypeError(bt);N(rt.searchParams).updateSearchParams(rt.query)}),origin:kt(Wn),protocol:kt(Xn,function(se){var rt=H(this);Pn(rt,String(se)+":",jt)}),username:kt(ui,function(se){var rt=H(this),He=_(String(se));if(!we(rt)){rt.username="";for(var bt=0;bt<He.length;bt++)rt.username+=Ie(He[bt],be)}}),password:kt(ti,function(se){var rt=H(this),He=_(String(se));if(!we(rt)){rt.password="";for(var bt=0;bt<He.length;bt++)rt.password+=Ie(He[bt],be)}}),host:kt(Si,function(se){var rt=H(this);rt.cannotBeABaseURL||Pn(rt,String(se),Ae)}),hostname:kt(Ri,function(se){var rt=H(this);rt.cannotBeABaseURL||Pn(rt,String(se),tt)}),port:kt(_n,function(se){var rt=H(this);we(rt)||(se=String(se),se==""?rt.port=null:Pn(rt,se,lt))}),pathname:kt(Gn,function(se){var rt=H(this);rt.cannotBeABaseURL||(rt.path=[],Pn(rt,se+"",dr))}),search:kt(di,function(se){var rt=H(this);se=String(se),se==""?rt.query=null:(se.charAt(0)=="?"&&(se=se.slice(1)),rt.query="",Pn(rt,se,Dr)),N(rt.searchParams).updateSearchParams(rt.query)}),searchParams:kt(li),hash:kt(at,function(se){var rt=H(this);if(se=String(se),se==""){rt.fragment=null;return}se.charAt(0)=="#"&&(se=se.slice(1)),rt.fragment="",Pn(rt,se,Ur)})}),p(Fn,"toJSON",function(){return fn.call(this)},{enumerable:!0}),p(Fn,"toString",function(){return fn.call(this)},{enumerable:!0}),P){var vt=P.createObjectURL,Je=P.revokeObjectURL;vt&&p(kn,"createObjectURL",function(rt){return vt.apply(P,arguments)}),Je&&p(kn,"revokeObjectURL",function(rt){return Je.apply(P,arguments)})}C(kn,"URL"),u({global:!0,forced:!f,sham:!l},{URL:kn})})},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 ne},default:function(){return Xe}}),r(2222),r(7327),r(2772),r(6992),r(1249),r(7042),r(561),r(8264),r(8309),r(489),r(1539),r(4916),r(9714),r(8783),r(4723),r(5306),r(3123),r(3210),r(2472),r(2990),r(8927),r(3105),r(5035),r(4345),r(7174),r(2846),r(4731),r(7209),r(6319),r(8867),r(7789),r(3739),r(9368),r(4483),r(2056),r(3462),r(678),r(7462),r(3824),r(5021),r(2974),r(5016),r(4747),r(3948),r(285);function i(oe,O){var I;if(typeof Symbol>"u"||oe[Symbol.iterator]==null){if(Array.isArray(oe)||(I=o(oe))||oe&&typeof oe.length=="number"){I&&(oe=I);var M=0,k=function(){};return{s:k,n:function(){return M>=oe.length?{done:!0}:{done:!1,value:oe[M++]}},e:function(me){throw me},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
210
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,Y=!1,ae;return{s:function(){I=oe[Symbol.iterator]()},n:function(){var me=I.next();return U=me.done,me},e:function(me){Y=!0,ae=me},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(Y)throw ae}}}}function o(oe,O){if(oe){if(typeof oe=="string")return a(oe,O);var I=Object.prototype.toString.call(oe).slice(8,-1);if(I==="Object"&&oe.constructor&&(I=oe.constructor.name),I==="Map"||I==="Set")return Array.from(oe);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return a(oe,O)}}function a(oe,O){(O==null||O>oe.length)&&(O=oe.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=oe[I];return M}function u(oe,O){if(!(oe instanceof O))throw new TypeError("Cannot call a class as a function")}function l(oe,O){for(var I=0;I<O.length;I++){var M=O[I];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(oe,M.key,M)}}function f(oe,O,I){return O&&l(oe.prototype,O),oe}var d=(function(){function oe(){u(this,oe)}return f(oe,[{key:"on",value:(function(I,M){return this._callbacks=this._callbacks||{},this._callbacks[I]||(this._callbacks[I]=[]),this._callbacks[I].push(M),this})},{key:"emit",value:function(I){this._callbacks=this._callbacks||{};for(var M=this._callbacks[I],k=arguments.length,U=new Array(k>1?k-1:0),Y=1;Y<k;Y++)U[Y-1]=arguments[Y];if(M){var ae=i(M),Ee;try{for(ae.s();!(Ee=ae.n()).done;){var me=Ee.value;me.apply(this,U)}}catch(Ce){ae.e(Ce)}finally{ae.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+I,{args:U})),this}},{key:"makeEvent",value:function(I,M){var k={bubbles:!0,cancelable:!0,detail:M};if(typeof window.CustomEvent=="function")return new CustomEvent(I,k);var U=document.createEvent("CustomEvent");return U.initCustomEvent(I,k.bubbles,k.cancelable,k.detail),U}},{key:"off",value:function(I,M){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var k=this._callbacks[I];if(!k)return this;if(arguments.length===1)return delete this._callbacks[I],this;for(var U=0;U<k.length;U++){var Y=k[U];if(Y===M){k.splice(U,1);break}}return this}}]),oe})(),h='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',p=h;function m(oe,O){var I;if(typeof Symbol>"u"||oe[Symbol.iterator]==null){if(Array.isArray(oe)||(I=S(oe))||oe&&typeof oe.length=="number"){I&&(oe=I);var M=0,k=function(){};return{s:k,n:function(){return M>=oe.length?{done:!0}:{done:!1,value:oe[M++]}},e:function(me){throw me},f:k}}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 U=!0,Y=!1,ae;return{s:function(){I=oe[Symbol.iterator]()},n:function(){var me=I.next();return U=me.done,me},e:function(me){Y=!0,ae=me},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(Y)throw ae}}}}function S(oe,O){if(oe){if(typeof oe=="string")return E(oe,O);var I=Object.prototype.toString.call(oe).slice(8,-1);if(I==="Object"&&oe.constructor&&(I=oe.constructor.name),I==="Map"||I==="Set")return Array.from(oe);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return E(oe,O)}}function E(oe,O){(O==null||O>oe.length)&&(O=oe.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=oe[I];return M}var _={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(O,I,M){if(M)return{dzuuid:M.file.upload.uuid,dzchunkindex:M.index,dztotalfilesize:M.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:M.file.upload.totalChunkCount,dzchunkbyteoffset:M.index*this.options.chunkSize}},accept:function(O,I){return I()},chunksUploaded:function(O,I){I()},fallback:function(){var O;this.element.className="".concat(this.element.className," dz-browser-not-supported");var I=m(this.element.getElementsByTagName("div")),M;try{for(I.s();!(M=I.n()).done;){var k=M.value;if(/(^| )dz-message($| )/.test(k.className)){O=k,k.className="dz-message";break}}}catch(Y){I.e(Y)}finally{I.f()}O||(O=ne.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(O));var U=O.getElementsByTagName("span")[0];return U&&(U.textContent!=null?U.textContent=this.options.dictFallbackMessage:U.innerText!=null&&(U.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(O,I,M,k){var U={srcX:0,srcY:0,srcWidth:O.width,srcHeight:O.height},Y=O.width/O.height;I==null&&M==null?(I=U.srcWidth,M=U.srcHeight):I==null?I=M*Y:M==null&&(M=I/Y),I=Math.min(I,U.srcWidth),M=Math.min(M,U.srcHeight);var ae=I/M;if(U.srcWidth>I||U.srcHeight>M)if(k==="crop")Y>ae?(U.srcHeight=O.height,U.srcWidth=U.srcHeight*ae):(U.srcWidth=O.width,U.srcHeight=U.srcWidth/ae);else if(k==="contain")Y>ae?M=I/Y:I=M*Y;else throw new Error("Unknown resizeMethod '".concat(k,"'"));return U.srcX=(O.width-U.srcWidth)/2,U.srcY=(O.height-U.srcHeight)/2,U.trgWidth=I,U.trgHeight=M,U},transformFile:function(O,I){return(this.options.resizeWidth||this.options.resizeHeight)&&O.type.match(/image.*/)?this.resizeImage(O,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,I):I(O)},previewTemplate:p,drop:function(O){return this.element.classList.remove("dz-drag-hover")},dragstart:function(O){},dragend:function(O){return this.element.classList.remove("dz-drag-hover")},dragenter:function(O){return this.element.classList.add("dz-drag-hover")},dragover:function(O){return this.element.classList.add("dz-drag-hover")},dragleave:function(O){return this.element.classList.remove("dz-drag-hover")},paste:function(O){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(O){var I=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){O.previewElement=ne.createElement(this.options.previewTemplate.trim()),O.previewTemplate=O.previewElement,this.previewsContainer.appendChild(O.previewElement);var M=m(O.previewElement.querySelectorAll("[data-dz-name]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.textContent=O.name}}catch(Ie){M.e(Ie)}finally{M.f()}var Y=m(O.previewElement.querySelectorAll("[data-dz-size]")),ae;try{for(Y.s();!(ae=Y.n()).done;)U=ae.value,U.innerHTML=this.filesize(O.size)}catch(Ie){Y.e(Ie)}finally{Y.f()}this.options.addRemoveLinks&&(O._removeLink=ne.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),O.previewElement.appendChild(O._removeLink));var Ee=function(Fe){return Fe.preventDefault(),Fe.stopPropagation(),O.status===ne.UPLOADING?ne.confirm(I.options.dictCancelUploadConfirmation,function(){return I.removeFile(O)}):I.options.dictRemoveFileConfirmation?ne.confirm(I.options.dictRemoveFileConfirmation,function(){return I.removeFile(O)}):I.removeFile(O)},me=m(O.previewElement.querySelectorAll("[data-dz-remove]")),Ce;try{for(me.s();!(Ce=me.n()).done;){var be=Ce.value;be.addEventListener("click",Ee)}}catch(Ie){me.e(Ie)}finally{me.f()}}},removedfile:function(O){return O.previewElement!=null&&O.previewElement.parentNode!=null&&O.previewElement.parentNode.removeChild(O.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(O,I){if(O.previewElement){O.previewElement.classList.remove("dz-file-preview");var M=m(O.previewElement.querySelectorAll("[data-dz-thumbnail]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.alt=O.name,U.src=I}}catch(Y){M.e(Y)}finally{M.f()}return setTimeout(function(){return O.previewElement.classList.add("dz-image-preview")},1)}},error:function(O,I){if(O.previewElement){O.previewElement.classList.add("dz-error"),typeof I!="string"&&I.error&&(I=I.error);var M=m(O.previewElement.querySelectorAll("[data-dz-errormessage]")),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;U.textContent=I}}catch(Y){M.e(Y)}finally{M.f()}}},errormultiple:function(){},processing:function(O){if(O.previewElement&&(O.previewElement.classList.add("dz-processing"),O._removeLink))return O._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(O,I,M){if(O.previewElement){var k=m(O.previewElement.querySelectorAll("[data-dz-uploadprogress]")),U;try{for(k.s();!(U=k.n()).done;){var Y=U.value;Y.nodeName==="PROGRESS"?Y.value=I:Y.style.width="".concat(I,"%")}}catch(ae){k.e(ae)}finally{k.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(O){if(O.previewElement)return O.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(O){return this.emit("error",O,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(O){if(O._removeLink&&(O._removeLink.innerHTML=this.options.dictRemoveFile),O.previewElement)return O.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},w=_;function T(oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(I){return typeof I}:T=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},T(oe)}function C(oe,O){var I;if(typeof Symbol>"u"||oe[Symbol.iterator]==null){if(Array.isArray(oe)||(I=x(oe))||oe&&typeof oe.length=="number"){I&&(oe=I);var M=0,k=function(){};return{s:k,n:function(){return M>=oe.length?{done:!0}:{done:!1,value:oe[M++]}},e:function(me){throw me},f:k}}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 U=!0,Y=!1,ae;return{s:function(){I=oe[Symbol.iterator]()},n:function(){var me=I.next();return U=me.done,me},e:function(me){Y=!0,ae=me},f:function(){try{!U&&I.return!=null&&I.return()}finally{if(Y)throw ae}}}}function x(oe,O){if(oe){if(typeof oe=="string")return R(oe,O);var I=Object.prototype.toString.call(oe).slice(8,-1);if(I==="Object"&&oe.constructor&&(I=oe.constructor.name),I==="Map"||I==="Set")return Array.from(oe);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return R(oe,O)}}function R(oe,O){(O==null||O>oe.length)&&(O=oe.length);for(var I=0,M=new Array(O);I<O;I++)M[I]=oe[I];return M}function P(oe,O){if(!(oe instanceof O))throw new TypeError("Cannot call a class as a function")}function y(oe,O){for(var I=0;I<O.length;I++){var M=O[I];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(oe,M.key,M)}}function N(oe,O,I){return O&&y(oe.prototype,O),I&&y(oe,I),oe}function $(oe,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(O&&O.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),O&&H(oe,O)}function H(oe,O){return H=Object.setPrototypeOf||function(M,k){return M.__proto__=k,M},H(oe,O)}function B(oe){var O=J();return function(){var M=ie(oe),k;if(O){var U=ie(this).constructor;k=Reflect.construct(M,arguments,U)}else k=M.apply(this,arguments);return W(this,k)}}function W(oe,O){return O&&(T(O)==="object"||typeof O=="function")?O:X(oe)}function X(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function J(){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 ie(oe){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},ie(oe)}var ne=(function(oe){$(I,oe);var O=B(I);function I(M,k){var U;P(this,I),U=O.call(this);var Y,ae;if(U.element=M,U.version=I.version,U.clickableElements=[],U.listeners=[],U.files=[],typeof U.element=="string"&&(U.element=document.querySelector(U.element)),!U.element||U.element.nodeType==null)throw new Error("Invalid dropzone element.");if(U.element.dropzone)throw new Error("Dropzone already attached.");I.instances.push(X(U)),U.element.dropzone=X(U);var Ee=(ae=I.optionsForElement(U.element))!=null?ae:{};if(U.options=I.extend({},w,Ee,k??{}),U.options.previewTemplate=U.options.previewTemplate.replace(/\n*/g,""),U.options.forceFallback||!I.isBrowserSupported())return W(U,U.options.fallback.call(X(U)));if(U.options.url==null&&(U.options.url=U.element.getAttribute("action")),!U.options.url)throw new Error("No URL provided.");if(U.options.acceptedFiles&&U.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(U.options.uploadMultiple&&U.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return U.options.acceptedMimeTypes&&(U.options.acceptedFiles=U.options.acceptedMimeTypes,delete U.options.acceptedMimeTypes),U.options.renameFilename!=null&&(U.options.renameFile=function(me){return U.options.renameFilename.call(X(U),me.name,me)}),typeof U.options.method=="string"&&(U.options.method=U.options.method.toUpperCase()),(Y=U.getExistingFallback())&&Y.parentNode&&Y.parentNode.removeChild(Y),U.options.previewsContainer!==!1&&(U.options.previewsContainer?U.previewsContainer=I.getElement(U.options.previewsContainer,"previewsContainer"):U.previewsContainer=U.element),U.options.clickable&&(U.options.clickable===!0?U.clickableElements=[U.element]:U.clickableElements=I.getElements(U.options.clickable,"clickable")),U.init(),U}return N(I,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(k){return k.accepted}).map(function(k){return k})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(k){return!k.accepted}).map(function(k){return k})}},{key:"getFilesWithStatus",value:function(k){return this.files.filter(function(U){return U.status===k}).map(function(U){return U})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(I.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(I.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(I.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(k){return k.status===I.UPLOADING||k.status===I.QUEUED}).map(function(k){return k})}},{key:"init",value:function(){var k=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(I.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var U=function be(){k.hiddenFileInput&&k.hiddenFileInput.parentNode.removeChild(k.hiddenFileInput),k.hiddenFileInput=document.createElement("input"),k.hiddenFileInput.setAttribute("type","file"),(k.options.maxFiles===null||k.options.maxFiles>1)&&k.hiddenFileInput.setAttribute("multiple","multiple"),k.hiddenFileInput.className="dz-hidden-input",k.options.acceptedFiles!==null&&k.hiddenFileInput.setAttribute("accept",k.options.acceptedFiles),k.options.capture!==null&&k.hiddenFileInput.setAttribute("capture",k.options.capture),k.hiddenFileInput.setAttribute("tabindex","-1"),k.hiddenFileInput.style.visibility="hidden",k.hiddenFileInput.style.position="absolute",k.hiddenFileInput.style.top="0",k.hiddenFileInput.style.left="0",k.hiddenFileInput.style.height="0",k.hiddenFileInput.style.width="0",I.getElement(k.options.hiddenInputContainer,"hiddenInputContainer").appendChild(k.hiddenFileInput),k.hiddenFileInput.addEventListener("change",function(){var Ie=k.hiddenFileInput.files;if(Ie.length){var Fe=C(Ie),ve;try{for(Fe.s();!(ve=Fe.n()).done;){var _e=ve.value;k.addFile(_e)}}catch(we){Fe.e(we)}finally{Fe.f()}}k.emit("addedfiles",Ie),be()})};U()}this.URL=window.URL!==null?window.URL:window.webkitURL;var Y=C(this.events),ae;try{for(Y.s();!(ae=Y.n()).done;){var Ee=ae.value;this.on(Ee,this.options[Ee])}}catch(be){Y.e(be)}finally{Y.f()}this.on("uploadprogress",function(){return k.updateTotalUploadProgress()}),this.on("removedfile",function(){return k.updateTotalUploadProgress()}),this.on("canceled",function(be){return k.emit("complete",be)}),this.on("complete",function(be){if(k.getAddedFiles().length===0&&k.getUploadingFiles().length===0&&k.getQueuedFiles().length===0)return setTimeout(function(){return k.emit("queuecomplete")},0)});var me=function(Ie){if(Ie.dataTransfer.types){for(var Fe=0;Fe<Ie.dataTransfer.types.length;Fe++)if(Ie.dataTransfer.types[Fe]==="Files")return!0}return!1},Ce=function(Ie){if(me(Ie))return Ie.stopPropagation(),Ie.preventDefault?Ie.preventDefault():Ie.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Ie){return k.emit("dragstart",Ie)},dragenter:function(Ie){return Ce(Ie),k.emit("dragenter",Ie)},dragover:function(Ie){var Fe;try{Fe=Ie.dataTransfer.effectAllowed}catch{}return Ie.dataTransfer.dropEffect=Fe==="move"||Fe==="linkMove"?"move":"copy",Ce(Ie),k.emit("dragover",Ie)},dragleave:function(Ie){return k.emit("dragleave",Ie)},drop:function(Ie){return Ce(Ie),k.drop(Ie)},dragend:function(Ie){return k.emit("dragend",Ie)}}}],this.clickableElements.forEach(function(be){return k.listeners.push({element:be,events:{click:function(Fe){return(be!==k.element||Fe.target===k.element||I.elementInside(Fe.target,k.element.querySelector(".dz-message")))&&k.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,I.instances.splice(I.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var k,U=0,Y=0,ae=this.getActiveFiles();if(ae.length){var Ee=C(this.getActiveFiles()),me;try{for(Ee.s();!(me=Ee.n()).done;){var Ce=me.value;U+=Ce.upload.bytesSent,Y+=Ce.upload.total}}catch(be){Ee.e(be)}finally{Ee.f()}k=100*U/Y}else k=100;return this.emit("totaluploadprogress",k,Y,U)}},{key:"_getParamName",value:function(k){return typeof this.options.paramName=="function"?this.options.paramName(k):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(k,"]"):"")}},{key:"_renameFile",value:function(k){return typeof this.options.renameFile!="function"?k.name:this.options.renameFile(k)}},{key:"getFallbackForm",value:function(){var k,U;if(k=this.getExistingFallback())return k;var Y='<div class="dz-fallback">';this.options.dictFallbackText&&(Y+="<p>".concat(this.options.dictFallbackText,"</p>")),Y+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var ae=I.createElement(Y);return this.element.tagName!=="FORM"?(U=I.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),U.appendChild(ae)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),U??ae}},{key:"getExistingFallback",value:function(){for(var k=function(Ce){var be=C(Ce),Ie;try{for(be.s();!(Ie=be.n()).done;){var Fe=Ie.value;if(/(^| )fallback($| )/.test(Fe.className))return Fe}}catch(ve){be.e(ve)}finally{be.f()}},U=0,Y=["div","form"];U<Y.length;U++){var ae=Y[U],Ee;if(Ee=k(this.element.getElementsByTagName(ae)))return Ee}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(k){return(function(){var U=[];for(var Y in k.events){var ae=k.events[Y];U.push(k.element.addEventListener(Y,ae,!1))}return U})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(k){return(function(){var U=[];for(var Y in k.events){var ae=k.events[Y];U.push(k.element.removeEventListener(Y,ae,!1))}return U})()})}},{key:"disable",value:function(){var k=this;return this.clickableElements.forEach(function(U){return U.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(U){return k.cancelUpload(U)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(k){return k.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(k){var U=0,Y="b";if(k>0){for(var ae=["tb","gb","mb","kb","b"],Ee=0;Ee<ae.length;Ee++){var me=ae[Ee],Ce=Math.pow(this.options.filesizeBase,4-Ee)/10;if(k>=Ce){U=k/Math.pow(this.options.filesizeBase,4-Ee),Y=me;break}}U=Math.round(10*U)/10}return"<strong>".concat(U,"</strong> ").concat(this.options.dictFileSizeUnits[Y])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(k){if(k.dataTransfer){this.emit("drop",k);for(var U=[],Y=0;Y<k.dataTransfer.files.length;Y++)U[Y]=k.dataTransfer.files[Y];if(U.length){var ae=k.dataTransfer.items;ae&&ae.length&&ae[0].webkitGetAsEntry!=null?this._addFilesFromItems(ae):this.handleFiles(U)}this.emit("addedfiles",U)}}},{key:"paste",value:function(k){if(Le(k!=null?k.clipboardData:void 0,function(Y){return Y.items})!=null){this.emit("paste",k);var U=k.clipboardData.items;if(U.length)return this._addFilesFromItems(U)}}},{key:"handleFiles",value:function(k){var U=C(k),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value;this.addFile(ae)}}catch(Ee){U.e(Ee)}finally{U.f()}}},{key:"_addFilesFromItems",value:function(k){var U=this;return(function(){var Y=[],ae=C(k),Ee;try{for(ae.s();!(Ee=ae.n()).done;){var me=Ee.value,Ce;me.webkitGetAsEntry!=null&&(Ce=me.webkitGetAsEntry())?Ce.isFile?Y.push(U.addFile(me.getAsFile())):Ce.isDirectory?Y.push(U._addFilesFromDirectory(Ce,Ce.name)):Y.push(void 0):me.getAsFile!=null&&(me.kind==null||me.kind==="file")?Y.push(U.addFile(me.getAsFile())):Y.push(void 0)}}catch(be){ae.e(be)}finally{ae.f()}return Y})()}},{key:"_addFilesFromDirectory",value:function(k,U){var Y=this,ae=k.createReader(),Ee=function(be){return Be(console,"log",function(Ie){return Ie.log(be)})},me=function Ce(){return ae.readEntries(function(be){if(be.length>0){var Ie=C(be),Fe;try{for(Ie.s();!(Fe=Ie.n()).done;){var ve=Fe.value;ve.isFile?ve.file(function(_e){if(!(Y.options.ignoreHiddenFiles&&_e.name.substring(0,1)==="."))return _e.fullPath="".concat(U,"/").concat(_e.name),Y.addFile(_e)}):ve.isDirectory&&Y._addFilesFromDirectory(ve,"".concat(U,"/").concat(ve.name))}}catch(_e){Ie.e(_e)}finally{Ie.f()}Ce()}return null},Ee)};return me()}},{key:"accept",value:function(k,U){this.options.maxFilesize&&k.size>this.options.maxFilesize*1024*1024?U(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(k.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):I.isValidFile(k,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(U(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",k)):this.options.accept.call(this,k,U):U(this.options.dictInvalidFileType)}},{key:"addFile",value:function(k){var U=this;k.upload={uuid:I.uuidv4(),progress:0,total:k.size,bytesSent:0,filename:this._renameFile(k)},this.files.push(k),k.status=I.ADDED,this.emit("addedfile",k),this._enqueueThumbnail(k),this.accept(k,function(Y){Y?(k.accepted=!1,U._errorProcessing([k],Y)):(k.accepted=!0,U.options.autoQueue&&U.enqueueFile(k)),U._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(k){var U=C(k),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value;this.enqueueFile(ae)}}catch(Ee){U.e(Ee)}finally{U.f()}return null}},{key:"enqueueFile",value:function(k){var U=this;if(k.status===I.ADDED&&k.accepted===!0){if(k.status=I.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return U.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(k){var U=this;if(this.options.createImageThumbnails&&k.type.match(/image.*/)&&k.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(k),setTimeout(function(){return U._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var k=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var U=this._thumbnailQueue.shift();return this.createThumbnail(U,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(Y){return k.emit("thumbnail",U,Y),k._processingThumbnail=!1,k._processThumbnailQueue()})}}},{key:"removeFile",value:function(k){if(k.status===I.UPLOADING&&this.cancelUpload(k),this.files=pe(this.files,k),this.emit("removedfile",k),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(k){k==null&&(k=!1);var U=C(this.files.slice()),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value;(ae.status!==I.UPLOADING||k)&&this.removeFile(ae)}}catch(Ee){U.e(Ee)}finally{U.f()}return null}},{key:"resizeImage",value:function(k,U,Y,ae,Ee){var me=this;return this.createThumbnail(k,U,Y,ae,!0,function(Ce,be){if(be==null)return Ee(k);var Ie=me.options.resizeMimeType;Ie==null&&(Ie=k.type);var Fe=be.toDataURL(Ie,me.options.resizeQuality);return(Ie==="image/jpeg"||Ie==="image/jpg")&&(Fe=ce.restore(k.dataURL,Fe)),Ee(I.dataURItoBlob(Fe))})}},{key:"createThumbnail",value:function(k,U,Y,ae,Ee,me){var Ce=this,be=new FileReader;be.onload=function(){if(k.dataURL=be.result,k.type==="image/svg+xml"){me!=null&&me(be.result);return}Ce.createThumbnailFromUrl(k,U,Y,ae,Ee,me)},be.readAsDataURL(k)}},{key:"displayExistingFile",value:function(k,U,Y,ae){var Ee=this,me=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",k),this.emit("complete",k),!me)this.emit("thumbnail",k,U),Y&&Y();else{var Ce=function(Ie){Ee.emit("thumbnail",k,Ie),Y&&Y()};k.dataURL=U,this.createThumbnailFromUrl(k,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Ce,ae)}}},{key:"createThumbnailFromUrl",value:function(k,U,Y,ae,Ee,me,Ce){var be=this,Ie=document.createElement("img");return Ce&&(Ie.crossOrigin=Ce),Ee=getComputedStyle(document.body).imageOrientation=="from-image"?!1:Ee,Ie.onload=function(){var Fe=function(_e){return _e(1)};return typeof EXIF<"u"&&EXIF!==null&&Ee&&(Fe=function(_e){return EXIF.getData(Ie,function(){return _e(EXIF.getTag(this,"Orientation"))})}),Fe(function(ve){k.width=Ie.width,k.height=Ie.height;var _e=be.options.resize.call(be,k,U,Y,ae),we=document.createElement("canvas"),ke=we.getContext("2d");switch(we.width=_e.trgWidth,we.height=_e.trgHeight,ve>4&&(we.width=_e.trgHeight,we.height=_e.trgWidth),ve){case 2:ke.translate(we.width,0),ke.scale(-1,1);break;case 3:ke.translate(we.width,we.height),ke.rotate(Math.PI);break;case 4:ke.translate(0,we.height),ke.scale(1,-1);break;case 5:ke.rotate(.5*Math.PI),ke.scale(1,-1);break;case 6:ke.rotate(.5*Math.PI),ke.translate(0,-we.width);break;case 7:ke.rotate(.5*Math.PI),ke.translate(we.height,-we.width),ke.scale(-1,1);break;case 8:ke.rotate(-.5*Math.PI),ke.translate(-we.height,0);break}z(ke,Ie,_e.srcX!=null?_e.srcX:0,_e.srcY!=null?_e.srcY:0,_e.srcWidth,_e.srcHeight,_e.trgX!=null?_e.trgX:0,_e.trgY!=null?_e.trgY:0,_e.trgWidth,_e.trgHeight);var qe=we.toDataURL("image/png");if(me!=null)return me(qe,we)})},me!=null&&(Ie.onerror=me),Ie.src=k.dataURL}},{key:"processQueue",value:function(){var k=this.options.parallelUploads,U=this.getUploadingFiles().length,Y=U;if(!(U>=k)){var ae=this.getQueuedFiles();if(ae.length>0){if(this.options.uploadMultiple)return this.processFiles(ae.slice(0,k-U));for(;Y<k;){if(!ae.length)return;this.processFile(ae.shift()),Y++}}}}},{key:"processFile",value:function(k){return this.processFiles([k])}},{key:"processFiles",value:function(k){var U=C(k),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value;ae.processing=!0,ae.status=I.UPLOADING,this.emit("processing",ae)}}catch(Ee){U.e(Ee)}finally{U.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",k),this.uploadFiles(k)}},{key:"_getFilesWithXhr",value:function(k){return this.files.filter(function(U){return U.xhr===k}).map(function(U){return U})}},{key:"cancelUpload",value:function(k){if(k.status===I.UPLOADING){var U=this._getFilesWithXhr(k.xhr),Y=C(U),ae;try{for(Y.s();!(ae=Y.n()).done;){var Ee=ae.value;Ee.status=I.CANCELED}}catch(Ie){Y.e(Ie)}finally{Y.f()}typeof k.xhr<"u"&&k.xhr.abort();var me=C(U),Ce;try{for(me.s();!(Ce=me.n()).done;){var be=Ce.value;this.emit("canceled",be)}}catch(Ie){me.e(Ie)}finally{me.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",U)}else(k.status===I.ADDED||k.status===I.QUEUED)&&(k.status=I.CANCELED,this.emit("canceled",k),this.options.uploadMultiple&&this.emit("canceledmultiple",[k]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(k){if(typeof k=="function"){for(var U=arguments.length,Y=new Array(U>1?U-1:0),ae=1;ae<U;ae++)Y[ae-1]=arguments[ae];return k.apply(this,Y)}return k}},{key:"uploadFile",value:function(k){return this.uploadFiles([k])}},{key:"uploadFiles",value:function(k){var U=this;this._transformFiles(k,function(Y){if(U.options.chunking){var ae=Y[0];k[0].upload.chunked=U.options.chunking&&(U.options.forceChunking||ae.size>U.options.chunkSize),k[0].upload.totalChunkCount=Math.ceil(ae.size/U.options.chunkSize)}if(k[0].upload.chunked){var Ee=k[0],me=Y[0];Ee.upload.chunks=[];var Ce=function(){for(var _e=0;Ee.upload.chunks[_e]!==void 0;)_e++;if(!(_e>=Ee.upload.totalChunkCount)){var we=_e*U.options.chunkSize,ke=Math.min(we+U.options.chunkSize,me.size),qe={name:U._getParamName(0),data:me.webkitSlice?me.webkitSlice(we,ke):me.slice(we,ke),filename:Ee.upload.filename,chunkIndex:_e};Ee.upload.chunks[_e]={file:Ee,index:_e,dataBlock:qe,status:I.UPLOADING,progress:0,retries:0},U._uploadData(k,[qe])}};if(Ee.upload.finishedChunkUpload=function(ve,_e){var we=!0;ve.status=I.SUCCESS,ve.dataBlock=null,ve.xhr=null;for(var ke=0;ke<Ee.upload.totalChunkCount;ke++){if(Ee.upload.chunks[ke]===void 0)return Ce();Ee.upload.chunks[ke].status!==I.SUCCESS&&(we=!1)}we&&U.options.chunksUploaded(Ee,function(){U._finished(k,_e,null)})},U.options.parallelChunkUploads)for(var be=0;be<Ee.upload.totalChunkCount;be++)Ce();else Ce()}else{for(var Ie=[],Fe=0;Fe<k.length;Fe++)Ie[Fe]={name:U._getParamName(Fe),data:Y[Fe],filename:k[Fe].upload.filename};U._uploadData(k,Ie)}})}},{key:"_getChunk",value:function(k,U){for(var Y=0;Y<k.upload.totalChunkCount;Y++)if(k.upload.chunks[Y]!==void 0&&k.upload.chunks[Y].xhr===U)return k.upload.chunks[Y]}},{key:"_uploadData",value:function(k,U){var Y=this,ae=new XMLHttpRequest,Ee=C(k),me;try{for(Ee.s();!(me=Ee.n()).done;){var Ce=me.value;Ce.xhr=ae}}catch(ft){Ee.e(ft)}finally{Ee.f()}k[0].upload.chunked&&(k[0].upload.chunks[U[0].chunkIndex].xhr=ae);var be=this.resolveOption(this.options.method,k),Ie=this.resolveOption(this.options.url,k);ae.open(be,Ie,!0);var Fe=this.resolveOption(this.options.timeout,k);Fe&&(ae.timeout=this.resolveOption(this.options.timeout,k)),ae.withCredentials=!!this.options.withCredentials,ae.onload=function(ft){Y._finishedUploading(k,ae,ft)},ae.ontimeout=function(){Y._handleUploadError(k,ae,"Request timedout after ".concat(Y.options.timeout/1e3," seconds"))},ae.onerror=function(){Y._handleUploadError(k,ae)};var ve=ae.upload!=null?ae.upload:ae;ve.onprogress=function(ft){return Y._updateFilesUploadProgress(k,ae,ft)};var _e={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&I.extend(_e,this.options.headers);for(var we in _e){var ke=_e[we];ke&&ae.setRequestHeader(we,ke)}var qe=new FormData;if(this.options.params){var Ue=this.options.params;typeof Ue=="function"&&(Ue=Ue.call(this,k,ae,k[0].upload.chunked?this._getChunk(k[0],ae):null));for(var We in Ue){var ct=Ue[We];if(Array.isArray(ct))for(var jt=0;jt<ct.length;jt++)qe.append(We,ct[jt]);else qe.append(We,ct)}}var Gt=C(k),et;try{for(Gt.s();!(et=Gt.n()).done;){var Rt=et.value;this.emit("sending",Rt,ae,qe)}}catch(ft){Gt.e(ft)}finally{Gt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",k,ae,qe),this._addFormElementData(qe);for(var Et=0;Et<U.length;Et++){var st=U[Et];qe.append(st.name,st.data,st.filename)}this.submitRequest(ae,qe,k)}},{key:"_transformFiles",value:function(k,U){for(var Y=this,ae=[],Ee=0,me=function(Ie){Y.options.transformFile.call(Y,k[Ie],function(Fe){ae[Ie]=Fe,++Ee===k.length&&U(ae)})},Ce=0;Ce<k.length;Ce++)me(Ce)}},{key:"_addFormElementData",value:function(k){if(this.element.tagName==="FORM"){var U=C(this.element.querySelectorAll("input, textarea, select, button")),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value,Ee=ae.getAttribute("name"),me=ae.getAttribute("type");if(me&&(me=me.toLowerCase()),!(typeof Ee>"u"||Ee===null))if(ae.tagName==="SELECT"&&ae.hasAttribute("multiple")){var Ce=C(ae.options,!0),be;try{for(Ce.s();!(be=Ce.n()).done;){var Ie=be.value;Ie.selected&&k.append(Ee,Ie.value)}}catch(Fe){Ce.e(Fe)}finally{Ce.f()}}else(!me||me!=="checkbox"&&me!=="radio"||ae.checked)&&k.append(Ee,ae.value)}}catch(Fe){U.e(Fe)}finally{U.f()}}}},{key:"_updateFilesUploadProgress",value:function(k,U,Y){if(k[0].upload.chunked){var Ce=k[0],be=this._getChunk(Ce,U);Y?(be.progress=100*Y.loaded/Y.total,be.total=Y.total,be.bytesSent=Y.loaded):(be.progress=100,be.bytesSent=be.total),Ce.upload.progress=0,Ce.upload.total=0,Ce.upload.bytesSent=0;for(var Ie=0;Ie<Ce.upload.totalChunkCount;Ie++)Ce.upload.chunks[Ie]&&typeof Ce.upload.chunks[Ie].progress<"u"&&(Ce.upload.progress+=Ce.upload.chunks[Ie].progress,Ce.upload.total+=Ce.upload.chunks[Ie].total,Ce.upload.bytesSent+=Ce.upload.chunks[Ie].bytesSent);Ce.upload.progress=Ce.upload.progress/Ce.upload.totalChunkCount,this.emit("uploadprogress",Ce,Ce.upload.progress,Ce.upload.bytesSent)}else{var ae=C(k),Ee;try{for(ae.s();!(Ee=ae.n()).done;){var me=Ee.value;me.upload.total&&me.upload.bytesSent&&me.upload.bytesSent==me.upload.total||(Y?(me.upload.progress=100*Y.loaded/Y.total,me.upload.total=Y.total,me.upload.bytesSent=Y.loaded):(me.upload.progress=100,me.upload.bytesSent=me.upload.total),this.emit("uploadprogress",me,me.upload.progress,me.upload.bytesSent))}}catch(Fe){ae.e(Fe)}finally{ae.f()}}}},{key:"_finishedUploading",value:function(k,U,Y){var ae;if(k[0].status!==I.CANCELED&&U.readyState===4){if(U.responseType!=="arraybuffer"&&U.responseType!=="blob"&&(ae=U.responseText,U.getResponseHeader("content-type")&&~U.getResponseHeader("content-type").indexOf("application/json")))try{ae=JSON.parse(ae)}catch(Ee){Y=Ee,ae="Invalid JSON response from server."}this._updateFilesUploadProgress(k,U),200<=U.status&&U.status<300?k[0].upload.chunked?k[0].upload.finishedChunkUpload(this._getChunk(k[0],U),ae):this._finished(k,ae,Y):this._handleUploadError(k,U,ae)}}},{key:"_handleUploadError",value:function(k,U,Y){if(k[0].status!==I.CANCELED){if(k[0].upload.chunked&&this.options.retryChunks){var ae=this._getChunk(k[0],U);if(ae.retries++<this.options.retryChunksLimit){this._uploadData(k,[ae.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(k,Y||this.options.dictResponseError.replace("{{statusCode}}",U.status),U)}}},{key:"submitRequest",value:function(k,U,Y){if(k.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}k.send(U)}},{key:"_finished",value:function(k,U,Y){var ae=C(k),Ee;try{for(ae.s();!(Ee=ae.n()).done;){var me=Ee.value;me.status=I.SUCCESS,this.emit("success",me,U,Y),this.emit("complete",me)}}catch(Ce){ae.e(Ce)}finally{ae.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",k,U,Y),this.emit("completemultiple",k)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(k,U,Y){var ae=C(k),Ee;try{for(ae.s();!(Ee=ae.n()).done;){var me=Ee.value;me.status=I.ERROR,this.emit("error",me,U,Y),this.emit("complete",me)}}catch(Ce){ae.e(Ce)}finally{ae.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",k,U,Y),this.emit("completemultiple",k)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=d,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(k){for(var U=arguments.length,Y=new Array(U>1?U-1:0),ae=1;ae<U;ae++)Y[ae-1]=arguments[ae];for(var Ee=0,me=Y;Ee<me.length;Ee++){var Ce=me[Ee];for(var be in Ce){var Ie=Ce[be];k[be]=Ie}}return k}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(k){var U=Math.random()*16|0,Y=k==="x"?U:U&3|8;return Y.toString(16)})}}]),I})(d);ne.initClass(),ne.version="5.9.3",ne.options={},ne.optionsForElement=function(oe){if(oe.getAttribute("id"))return ne.options[K(oe.getAttribute("id"))]},ne.instances=[],ne.forElement=function(oe){if(typeof oe=="string"&&(oe=document.querySelector(oe)),(oe!=null?oe.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 oe.dropzone},ne.autoDiscover=!0,ne.discover=function(){var oe;if(document.querySelectorAll)oe=document.querySelectorAll(".dropzone");else{oe=[];var O=function(M){return(function(){var k=[],U=C(M),Y;try{for(U.s();!(Y=U.n()).done;){var ae=Y.value;/(^| )dropzone($| )/.test(ae.className)?k.push(oe.push(ae)):k.push(void 0)}}catch(Ee){U.e(Ee)}finally{U.f()}return k})()};O(document.getElementsByTagName("div")),O(document.getElementsByTagName("form"))}return(function(){var I=[],M=C(oe),k;try{for(M.s();!(k=M.n()).done;){var U=k.value;ne.optionsForElement(U)!==!1?I.push(new ne(U)):I.push(void 0)}}catch(Y){M.e(Y)}finally{M.f()}return I})()},ne.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],ne.isBrowserSupported=function(){var oe=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))oe=!1;else{ne.blacklistedBrowsers!==void 0&&(ne.blockedBrowsers=ne.blacklistedBrowsers);var O=C(ne.blockedBrowsers),I;try{for(O.s();!(I=O.n()).done;){var M=I.value;if(M.test(navigator.userAgent)){oe=!1;continue}}}catch(k){O.e(k)}finally{O.f()}}else oe=!1;return oe},ne.dataURItoBlob=function(oe){for(var O=atob(oe.split(",")[1]),I=oe.split(",")[0].split(":")[1].split(";")[0],M=new ArrayBuffer(O.length),k=new Uint8Array(M),U=0,Y=O.length,ae=0<=Y;ae?U<=Y:U>=Y;ae?U++:U--)k[U]=O.charCodeAt(U);return new Blob([M],{type:I})};var pe=function(O,I){return O.filter(function(M){return M!==I}).map(function(M){return M})},K=function(O){return O.replace(/[\-_](\w)/g,function(I){return I.charAt(1).toUpperCase()})};ne.createElement=function(oe){var O=document.createElement("div");return O.innerHTML=oe,O.childNodes[0]},ne.elementInside=function(oe,O){if(oe===O)return!0;for(;oe=oe.parentNode;)if(oe===O)return!0;return!1},ne.getElement=function(oe,O){var I;if(typeof oe=="string"?I=document.querySelector(oe):oe.nodeType!=null&&(I=oe),I==null)throw new Error("Invalid `".concat(O,"` option provided. Please provide a CSS selector or a plain HTML element."));return I},ne.getElements=function(oe,O){var I,M;if(oe instanceof Array){M=[];try{var k=C(oe,!0),U;try{for(k.s();!(U=k.n()).done;)I=U.value,M.push(this.getElement(I,O))}catch(Ee){k.e(Ee)}finally{k.f()}}catch{M=null}}else if(typeof oe=="string"){M=[];var Y=C(document.querySelectorAll(oe)),ae;try{for(Y.s();!(ae=Y.n()).done;)I=ae.value,M.push(I)}catch(Ee){Y.e(Ee)}finally{Y.f()}}else oe.nodeType!=null&&(M=[oe]);if(M==null||!M.length)throw new Error("Invalid `".concat(O,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return M},ne.confirm=function(oe,O,I){if(window.confirm(oe))return O();if(I!=null)return I()},ne.isValidFile=function(oe,O){if(!O)return!0;O=O.split(",");var I=oe.type,M=I.replace(/\/.*$/,""),k=C(O),U;try{for(k.s();!(U=k.n()).done;){var Y=U.value;if(Y=Y.trim(),Y.charAt(0)==="."){if(oe.name.toLowerCase().indexOf(Y.toLowerCase(),oe.name.length-Y.length)!==-1)return!0}else if(/\/\*$/.test(Y)){if(M===Y.replace(/\/.*$/,""))return!0}else if(I===Y)return!0}}catch(ae){k.e(ae)}finally{k.f()}return!1},typeof Ls<"u"&&Ls!==null&&(Ls.fn.dropzone=function(oe){return this.each(function(){return new ne(this,oe)})}),ne.ADDED="added",ne.QUEUED="queued",ne.ACCEPTED=ne.QUEUED,ne.UPLOADING="uploading",ne.PROCESSING=ne.UPLOADING,ne.CANCELED="canceled",ne.ERROR="error",ne.SUCCESS="success";var te=function(O){O.naturalWidth;var I=O.naturalHeight,M=document.createElement("canvas");M.width=1,M.height=I;var k=M.getContext("2d");k.drawImage(O,0,0);for(var U=k.getImageData(1,0,1,I),Y=U.data,ae=0,Ee=I,me=I;me>ae;){var Ce=Y[(me-1)*4+3];Ce===0?Ee=me:ae=me,me=Ee+ae>>1}var be=me/I;return be===0?1:be},z=function(O,I,M,k,U,Y,ae,Ee,me,Ce){var be=te(I);return O.drawImage(I,M,k,U,Y,ae,Ee,me,Ce/be)},ce=(function(){function oe(){P(this,oe)}return N(oe,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(I){for(var M="",k=void 0,U=void 0,Y="",ae=void 0,Ee=void 0,me=void 0,Ce="",be=0;k=I[be++],U=I[be++],Y=I[be++],ae=k>>2,Ee=(k&3)<<4|U>>4,me=(U&15)<<2|Y>>6,Ce=Y&63,isNaN(U)?me=Ce=64:isNaN(Y)&&(Ce=64),M=M+this.KEY_STR.charAt(ae)+this.KEY_STR.charAt(Ee)+this.KEY_STR.charAt(me)+this.KEY_STR.charAt(Ce),k=U=Y="",ae=Ee=me=Ce="",be<I.length;);return M}},{key:"restore",value:function(I,M){if(!I.match("data:image/jpeg;base64,"))return M;var k=this.decode64(I.replace("data:image/jpeg;base64,","")),U=this.slice2Segments(k),Y=this.exifManipulation(M,U);return"data:image/jpeg;base64,".concat(this.encode64(Y))}},{key:"exifManipulation",value:function(I,M){var k=this.getExifArray(M),U=this.insertExif(I,k),Y=new Uint8Array(U);return Y}},{key:"getExifArray",value:function(I){for(var M=void 0,k=0;k<I.length;){if(M=I[k],M[0]===255&M[1]===225)return M;k++}return[]}},{key:"insertExif",value:function(I,M){var k=I.replace("data:image/jpeg;base64,",""),U=this.decode64(k),Y=U.indexOf(255,3),ae=U.slice(0,Y),Ee=U.slice(Y),me=ae;return me=me.concat(M),me=me.concat(Ee),me}},{key:"slice2Segments",value:function(I){for(var M=0,k=[];;){var U;if(I[M]===255&I[M+1]===218)break;if(I[M]===255&I[M+1]===216)M+=2;else{U=I[M+2]*256+I[M+3];var Y=M+U+2,ae=I.slice(M,Y);k.push(ae),M=Y}if(M>I.length)break}return k}},{key:"decode64",value:function(I){var M=void 0,k=void 0,U="",Y=void 0,ae=void 0,Ee=void 0,me="",Ce=0,be=[],Ie=/[^A-Za-z0-9\+\/\=]/g;for(Ie.exec(I)&&console.warn(`There were invalid base64 characters in the input text.
|
|
213
|
-
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
|
|
214
|
-
Expect errors in decoding.`),I=I.replace(/[^A-Za-z0-9\+\/\=]/g,"");Y=this.KEY_STR.indexOf(I.charAt(Ce++)),ae=this.KEY_STR.indexOf(I.charAt(Ce++)),Ee=this.KEY_STR.indexOf(I.charAt(Ce++)),me=this.KEY_STR.indexOf(I.charAt(Ce++)),M=Y<<2|ae>>4,k=(ae&15)<<4|Ee>>2,U=(Ee&3)<<6|me,be.push(M),Ee!==64&&be.push(k),me!==64&&be.push(U),M=k=U="",Y=ae=Ee=me="",Ce<I.length;);return be}}]),oe})();ce.initClass();var Se=function(O,I){var M=!1,k=!0,U=O.document,Y=U.documentElement,ae=U.addEventListener?"addEventListener":"attachEvent",Ee=U.addEventListener?"removeEventListener":"detachEvent",me=U.addEventListener?"":"on",Ce=function Ie(Fe){if(!(Fe.type==="readystatechange"&&U.readyState!=="complete")&&((Fe.type==="load"?O:U)[Ee](me+Fe.type,Ie,!1),!M&&(M=!0)))return I.call(O,Fe.type||Fe)},be=function Ie(){try{Y.doScroll("left")}catch{setTimeout(Ie,50);return}return Ce("poll")};if(U.readyState!=="complete"){if(U.createEventObject&&Y.doScroll){try{k=!O.frameElement}catch{}k&&be()}return U[ae](me+"DOMContentLoaded",Ce,!1),U[ae](me+"readystatechange",Ce,!1),O[ae](me+"load",Ce,!1)}};ne._autoDiscoverFunction=function(){if(ne.autoDiscover)return ne.discover()},Se(window,ne._autoDiscoverFunction);function Le(oe,O){return typeof oe<"u"&&oe!==null?O(oe):void 0}function Be(oe,O,I){if(typeof oe<"u"&&oe!==null&&typeof oe[O]=="function")return I(oe,O)}window.Dropzone=ne;var Xe=ne})(),n})()});const KPe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Lv="upload.internetConnectivityError";class YPe extends Pc{constructor(){super(Gr.getPhrase(Lv,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:Gr.getPhrase(Lv,"heading"),text:Gr.getPhrase(Lv,"body"),buttons:[{text:Gr.getPhrase(Lv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Nv="upload.slowInternetError";class XPe extends Pc{constructor(){super(Gr.getPhrase(Nv,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:Gr.getPhrase(Nv,"heading"),text:Gr.getPhrase(Nv,"body"),buttons:[{text:Gr.getPhrase(Nv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const QPe=[];class OY extends lo{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=Nr.Radio.channel(t.channelName),i=this;this.dropzone=new KPe(document.createElement("div"),{url:(o=>{const a=o[0],{ingestUrl:u}=a.cvUpload;return u}),chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",timeout:18e4,init:function(){r&&(aa(QPe,o=>{this.on(o,(...a)=>{const u=a[0]instanceof File?a[0].name:a[0];console.info(o,u,a)})}),this.on("uploadprogress",(o,a,u)=>{const l=u/o.size*100;n.trigger("progress",i.getId(o),l,u)}),this.on("success",o=>{const a=o.upload.chunks,u=Eg(a);let l=u.xhr;l||(l=u.file.xhr);const f=JSON.parse(l.response);o.cvUpload.fileId=f.id,n.trigger(fu.UPLOAD_SUCCESS,o,f)}),this.on("error",(o,a,u)=>{if(u&&u.status===0){hr.throw(new YPe);return}o.status!=="canceled"&&hr.throw(new Bre(Gr.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&&hr.throw(new XPe),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",o=>window.clearTimeout(i.slowInternetTimeout[o.path])))},params:(o,a,u)=>{if(u)return{chunk_index:u.index,upload_length:u.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return(void 0)(t,r)}}class JPe extends $Pe{constructor(){super({dataProvider:cu.getInstance(qg.Ajax),cache:cu.getInstance(Ug.Fifo),alertService:cu.getInstance(ty.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();aa(r,u=>{this.incrementingUploadId++,a.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(u,n),callback:l=>{i(u,l)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),a.func(()=>{o()}).run()}cancelUpload(t,r,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:r},callback:n})}getFileUploadRequest(t,r){const n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:r}}onDestroy(){cu.releaseInstance(qg.Ajax).releaseInstance(Ug.Fifo)}}const ZPe={0:Dv.VIDEO,1:Dv.RESOURCES,2:Dv.SUBTITLES,3:Dv.MIXED_MEDIA},eke={0:ih.VIDEO_UPLOAD,1:ih.RESOURCE_UPLOAD,2:ih.SUBTITLE_UPLOAD,3:ih.MIXED_MEDIA_UPLOAD},tke=1024*1024*4,rke=1024*1024*1024*50;class nke extends lo{initialize(){this.uploadDataService=new JPe,this.progressViewModel=One.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return eke[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=tke;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new OY({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:rke,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,fu.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 Vm,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(u=>{t+=u.get("totalUploaded")||0,r+=u.get("file").size||0});const i=t/r*100,o=i>=100,a=()=>{this.progressViewModel.set({progress:o?100:i,done:o})};if(!o){a();return}window.setTimeout(a,2e3)}isValidFile(t){return OY.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(Ux(t,n=>!this.isValidFile(n))){hr.throw(new jPe(Gr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}async requestUploads(t,r){const n=this.isUploading(),i=this.getCollection();for(const a of t){const u=await Vee(this.options.store.dispatch,GPe.requestUpload(a,this.fileLifestyle));"minChunkSize"in u&&"maxChunkSize"in u&&this.initUploader(u.minChunkSize,u.maxChunkSize),a.cvUpload={uploadId:u.uploadId,ingestUrl:u.uploadUrl},this.uploader.addFile(a);let l=a.name;this.uploadType===0&&(l=l.replace(/\.[^/.]+$/,""));const f=this.uploader.getId(a);i.add({id:f,file:a,name:l,...this.getAdditionalFileInfo(a,u)},{at:i.length-1})}r&&Fa.logUserAction({uploadCount:t.length},r),Nr.Radio.channel(this.channelName).trigger(fu.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,()=>{Fa.logUserAction(n.toJSON(),{entity:On.Video,actionType:Ft.Upload,workflowPhase:Zu.Discard,descriptor:Yx.Single,location:Sa.MyUploads}),Nr.Radio.channel(this.channelName).trigger(fu.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),Fa.logUserAction({id:t.cvUpload.uploadId},{entity:On.Video,actionType:Ft.Upload,workflowPhase:Zu.Complete,descriptor:Yx.Single,location:Sa.VideoUpload}),Nr.Radio.channel(this.channelName).trigger(fu.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));aa(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return ZPe[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class ike extends nke{get uploadType(){return 3}get name(){return $re.MixedMediaUpload}get fileLifestyle(){return aP.Temporary}}var ake=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return tre(t,n)})},Sx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return rre(t,n)})},oP=(function(e){wI(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1],p=h?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var f=n.resolveArguments(u,l),d=f[0],h=f[1],p=h?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"appear"),n.removeClasses(f,"enter"),n.addClass(f,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),f=l[0];n.addClass(f,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"exit"),n.addClass(f,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,f=typeof l=="string",d=f&&l?l+"-":"",h=f?""+d+u:l[u],p=f?h+"-active":l[u+"Active"],m=f?h+"-done":l[u+"Done"];return{baseClassName:h,activeClassName:p,doneClassName:m}},n}var r=t.prototype;return r.addClass=function(i,o,a){var u=this.getClassNames(o)[a+"ClassName"],l=this.getClassNames("enter"),f=l.doneClassName;o==="appear"&&a==="done"&&f&&(u+=" "+f),a==="active"&&i&&cte(i),u&&(this.appliedClasses[o][a]=u,ake(i,u))},r.removeClasses=function(i,o){var a=this.appliedClasses[o],u=a.base,l=a.active,f=a.done;this.appliedClasses[o]={},u&&Sx(i,u),l&&Sx(i,l),f&&Sx(i,f)},r.render=function(){var i=this.props;i.classNames;var o=Qm(i,["classNames"]);return kr.createElement(Hs,Th({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(kr.Component);oP.defaultProps={classNames:""};oP.propTypes={};function oke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t){var r=function(o){return t&&ye.isValidElement(o)?t(o):o},n=Object.create(null);return e&&ye.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function ske(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),i=[];for(var o in e)o in t?i.length&&(n[o]=i,i=[]):i.push(o);var a,u={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var f=n[l][a];u[n[l][a]]=r(f)}u[l]=r(l)}for(a=0;a<i.length;a++)u[i[a]]=r(i[a]);return u}function Wl(e,t,r){return r[t]!=null?r[t]:e.props[t]}function uke(e,t){return sP(e.children,function(r){return ye.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Wl(r,"appear",e),enter:Wl(r,"enter",e),exit:Wl(r,"exit",e)})})}function lke(e,t,r){var n=sP(e.children),i=ske(t,n);return Object.keys(i).forEach(function(o){var a=i[o];if(ye.isValidElement(a)){var u=o in t,l=o in n,f=t[o],d=ye.isValidElement(f)&&!f.props.in;l&&(!u||d)?i[o]=ye.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:Wl(a,"exit",e),enter:Wl(a,"enter",e)}):!l&&u&&!d?i[o]=ye.cloneElement(a,{in:!1}):l&&u&&ye.isValidElement(f)&&(i[o]=ye.cloneElement(a,{onExited:r.bind(null,a),in:f.props.in,exit:Wl(a,"exit",e),enter:Wl(a,"enter",e)}))}}),i}var cke=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},fke={component:"div",childFactory:function(t){return t}},uP=(function(e){wI(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=o.handleExited.bind(oke(o));return o.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},o}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,o){var a=o.children,u=o.handleExited,l=o.firstRender;return{children:l?uke(i,u):lke(i,a,u),firstRender:!1}},r.handleExited=function(i,o){var a=sP(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(u){var l=Th({},u.children);return delete l[i.key],{children:l}}))},r.render=function(){var i=this.props,o=i.component,a=i.childFactory,u=Qm(i,["component","childFactory"]),l=this.state.contextValue,f=cke(this.state.children).map(a);return delete u.appear,delete u.enter,delete u.exit,o===null?kr.createElement(Rg.Provider,{value:l},f):kr.createElement(Rg.Provider,{value:l},kr.createElement(o,u,f))},t})(kr.Component);uP.propTypes={};uP.defaultProps=fke;function dke(e){return de.jsx("svg",{...e,children:de.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 hke(e){return de.jsx("svg",{...e,children:de.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 pke(e){return de.jsx("svg",{...e,children:de.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 vke(e){return de.jsx("svg",{...e,children:de.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 gke="_alertItem_i5y1z_1",mke="_alertBox_i5y1z_11",yke="_alertList_i5y1z_11",_ke="_icon_i5y1z_28",Eke="_alertContent_i5y1z_32",Ske="_heading_i5y1z_40",Gl={alertItem:gke,alertBox:mke,alertList:yke,icon:_ke,alertContent:Eke,heading:Ske};function wke(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:o,heading:a,appLink:u,appLinkText:l,appLinkClassName:f="",extLink:d,extLinkText:h,extLinkClassName:p}=t;return de.jsxs(de.Fragment,{children:[de.jsx("div",{className:`d-inline-block ${Gl.icon}`,children:de.jsx(al,{svg:r,className:`svg-container ${n}`})}),de.jsxs("div",{role:t.type===gs.Fail?"alert":"status",className:`ps-2 d-inline-block ${Gl.alertContent}`,children:[de.jsx("p",{className:`p-0 m-0 pb-1 ${Gl.heading}`,children:a}),de.jsx("p",{className:`p-0 text-break clamp-4 ${Gl.message}`,dangerouslySetInnerHTML:{__html:o}}),!!u&&de.jsx(xo,{className:f,appLink:u,children:de.jsx("span",{dangerouslySetInnerHTML:{__html:l}})}),!!d&&h&&de.jsx("a",{href:d,className:p,target:"_blank",children:h})]}),de.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const bke=e=>{switch(e.type){case gs.Success:return dke;case gs.Fail:case gs.Warning:return vke;case gs.Pending:return pke;case gs.Info:default:return hke}},Tke=e=>e.type===gs.Pending?"text-info":`text-${e.type}`;Ine.defaultProps={timeout:3e3};function Ine({alert:e,closeAlert:t,timeout:r}){const[n,i]=ye.useState(!0),o=ye.useRef(null);return ye.useEffect(()=>{if(!n){clearTimeout(o.current);return}o.current=window.setTimeout(t,r)},[n]),de.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Gl.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:de.jsx(wke,{alert:e,svg:bke(e),svgClassName:Tke(e),closeAlert:t})})}function Ake({alerts:e,removeAlert:t}){return de.jsx("div",{className:Gl.alertBox,children:de.jsx(uP,{component:"ul",className:`${Gl.alertList} list-unstyled`,children:e&&e.map((r,n)=>de.jsx(oP,{timeout:200,classNames:"alert",children:de.jsx(Ine,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}async function Rke(e,t){try{const r={maxAlerts:3,defaultSuccessAlert:{heading:mC.Success,type:gs.Success},defaultErrorAlert:{heading:mC.Fail,type:gs.Fail},alertViewCtor:Ake};cu.registerSingleton(new FAe(r)).registerInstance(ike,{store:e.store}),t(e)}catch{hr.throw(new Mf)}}function xke(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 yf;typeof self<"u"?yf=self:typeof window<"u"?yf=window:typeof globalThis<"u"?yf=globalThis:typeof module<"u"?yf=module:yf=Function("return this")();var IY=xke(yf),wx=function(){return Math.random().toString(36).substring(7).split("").join(".")},gh={INIT:"@@redux/INIT"+wx(),REPLACE:"@@redux/REPLACE"+wx(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wx()}};function Cke(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 Pne(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(Pne)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],u=a,l=!1;function f(){u===a&&(u=a.slice())}function d(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function h(E){if(typeof E!="function")throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var _=!0;return f(),u.push(E),function(){if(_){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");_=!1,f();var T=u.indexOf(E);u.splice(T,1)}}}function p(E){if(!Cke(E))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof E.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,E)}finally{l=!1}for(var _=a=u,w=0;w<_.length;w++){var T=_[w];T()}return E}function m(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");i=E,p({type:gh.REPLACE})}function S(){var E,_=h;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new TypeError("Expected the observer to be an object.");function C(){T.next&&T.next(d())}C();var x=_(C);return{unsubscribe:x}}},E[IY]=function(){return this},E}return p({type:gh.INIT}),n={dispatch:p,subscribe:h,getState:d,replaceReducer:m},n[IY]=S,n}function Oke(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 Ike(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:gh.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:gh.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+gh.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 Pke(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{Ike(r)}catch(u){a=u}return function(l,f){if(l===void 0&&(l={}),a)throw a;for(var d=!1,h={},p=0;p<o.length;p++){var m=o[p],S=r[m],E=l[m],_=S(E,f);if(typeof _>"u"){var w=Oke(m,f);throw new Error(w)}h[m]=_,d=d||_!==E}return d?h:l}}function kke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PY(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 Dke(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PY(r,!0).forEach(function(n){kke(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PY(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Lke(){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 Nke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},u=t.map(function(l){return l(a)});return o=Lke.apply(void 0,u)(i.dispatch),Dke({},i,{dispatch:o})}}}function Mke(e){const{authenticationError:t}=e;return function(){return n=>i=>{var a;const o=i;if(i.type===La.API_ERROR&&t&&((a=o==null?void 0:o.xhr)==null?void 0:a.status)===JO.Unauthorized)return hr.throw(new t("dark"));if(i.type!==La.API_RESPONSE){n(i);return}n(i)}}}function $ke(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 Fke(e={},t){switch(t.type){case iP.UPDATE:return $ke(e,t)}return e}const jke={STANDARD:600},Mv="shared.authentication";class Uke extends Pc{constructor(t){super(Gr.getPhrase(Mv,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:Gr.getPhrase(Mv,"heading"),text:Gr.getPhrase(Mv,"body"),buttons:[{text:Gr.getPhrase(Mv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Nn.Reload()}}class qke extends Uke{onDone(){Nn.PageLoad(`/login?returnUrl=${encodeURIComponent(Nn.GetCurrentUrl())}`)}}const Of={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var o,a,u,l;const r=qee(e.getState(),Jl.TOKEN),n=Of.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){cd(e.dispatch,t);return}if(r.isFetching){let f=!1;const d=e.subscribe(()=>{d(),!f&&(f=!0,Of.getToken(e,t))});return}r.hasError?((o=t.error)==null||o.call(t,{status:r.statusCode,getResponseHeader:null}),(a=t.always)==null||a.call(t)):((u=t.success)==null||u.call(t,r.data),(l=t.always)==null||l.call(t))},async getTokenAsync(e){const t=kne.getToken();return t||new Promise((r,n)=>{const i=a=>r(a),o=a=>n(a);Of.getToken(e,ja.token(i,o))})}},Bke=Mi.Router.prototype._routeToRegExp("share/embed/:id(/)"),Vke=Mi.Router.prototype._routeToRegExp("videos/embed/:id(/)"),kne={applyToken(e){const t=zI.getCurrentRoute().appLink,r=Ti.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}});Nn.PageLoad(r)},getToken(){const e=Mi.history.getFragment(Nn.GetCurrentPath()),t=Bke.test(e),r=Vke.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 Of.hasTokenExpired(a)?null:a}};function Hke(){const e=kne.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Of.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const AC={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},kY={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function zke(e){return async function(r,n){const i=Object.keys(kY).find(a=>r.resource.startsWith(a));if(!i)return n(r);function o(a,u){const l=a[kY[i]],f={...r,resource:AC.safeUrlConcat(l,r.resource.split(`${i}/`)[1])};u!=null&&u.value&&(f.headers={...f.headers??{},authorization:`Bearer ${u.value}`}),n(f)}try{const a=await no(e,ol.config());if(!(await no(e,ja.currentUser())).isAuthenticated){o(a);return}const l=await Of.getTokenAsync(e);o(a,l)}catch{n(r)}}}const DY=/\(([^()]*)\)/g;function Wke(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function Gke(e,t){function r(n){return function(o){const a=t[o];if(typeof a=="string"){n.useAsync(Wke(o,a));return}a&&n.useAsync(a)}}return function(i,o){var p;const a=new Af,u=new Af,l={resource:i.resource,store:e},f={resource:null,store:e},d=(p=i.data)==null?void 0:p.ogql;if(decodeURIComponent(i.resource).replace(DY,r(a)),d){const m=JSON.stringify(i.data.ogql);f.resource=m,m.replace(DY,r(u))}a.goAsync(l,m=>{u.goAsync(f,S=>{o({...i,resource:m.resource,data:d?{...i.data,ogql:JSON.parse(S.resource)}:i.data})})})}}function Kke(e,t){return function(n){const i=new Af;i.useAsync(zke(e.store)),i.useAsync(Gke(e.store,t)),i.useAsync(Hke()),i.goAsync(n,o=>{Pye(o)})}}const LY={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"},SLe={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,_rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,_rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"},Yke=[br.ExchangeTvProductOption,br.TvRegion,br.LiteUpgradeTypeCustomer];function Xke(e){return function(r,n){const i=Yke.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const Qke=[br.HasCompletedOnboardingV1];function Jke(e){return function(r,n){const i=Qke.map(a=>`type=${a}`).join("&"),o=r.resource.replace(e,i);n({...r,resource:o})}}const Zke="thumbnail,_rating,series,season,subtitles{limit:1}";function eDe(e){return function(r,n){hI(r.store,ja.currentUser(i=>{let o=`${Zke}`;i.isAuthenticated&&(o+=`,favouritedby{id:${i.id}}`);const a=r.resource.replace(e,o);n({...r,resource:a})},()=>n(r)))}}const tDe={[LY.VIDEO_COLLECTION]:eDe(LY.VIDEO_COLLECTION),"(customerSettings)":Xke("(customerSettings)"),"(userSettings)":Jke("(userSettings)")};async function rDe(e,t){const r=Pke({flightData:iSe,viewModelData:Fke}),n=JEe({fetchData:Kke(e,tDe),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:jke.STANDARD}),i=Mke({authenticationError:qke});async function o(u){e.registerStore(u),t(e),delete window.bootstrapData}const a=Pne(r,Nke(n,i));await o(a)}const nDe="application:options";class iDe extends lo{constructor(t){super(),this.clients={},this.enrichers={},One.get(nDe).set(t??{})}get name(){return SI.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(ute.ANALYTICS,Rf.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(au(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||hr.throw(new wn(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>Ro.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&hr.throw(new wn(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&hr.throw(new wn(`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 Dne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function NY(e,t,r,n){let i,o,a;const u=t||[0],l=(r=r||0)>>>3,f=n===-1?3:0;for(i=0;i<e.length;i+=1)a=i+l,o=a>>>2,u.length<=o&&u.push(0),u[o]|=e[i]<<8*(f+n*(a%4));return{value:u,binLen:8*e.length+r}}function bx(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,i,o){return(function(a,u,l,f){let d,h,p,m;if(a.length%2!=0)throw new Error("String of HEX type must be in byte increments");const S=u||[0],E=(l=l||0)>>>3,_=f===-1?3:0;for(d=0;d<a.length;d+=2){if(h=parseInt(a.substr(d,2),16),isNaN(h))throw new Error("String of HEX type contains invalid characters");for(m=(d>>>1)+E,p=m>>>2;S.length<=p;)S.push(0);S[p]|=h<<8*(_+f*(m%4))}return{value:S,binLen:4*a.length+l}})(n,i,o,r)};case"TEXT":return function(n,i,o){return(function(a,u,l,f,d){let h,p,m,S,E,_,w,T,C=0;const x=l||[0],R=(f=f||0)>>>3;if(u==="UTF8")for(w=d===-1?3:0,m=0;m<a.length;m+=1)for(h=a.charCodeAt(m),p=[],128>h?p.push(h):2048>h?(p.push(192|h>>>6),p.push(128|63&h)):55296>h||57344<=h?p.push(224|h>>>12,128|h>>>6&63,128|63&h):(m+=1,h=65536+((1023&h)<<10|1023&a.charCodeAt(m)),p.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),S=0;S<p.length;S+=1){for(_=C+R,E=_>>>2;x.length<=E;)x.push(0);x[E]|=p[S]<<8*(w+d*(_%4)),C+=1}else for(w=d===-1?2:0,T=u==="UTF16LE"&&d!==1||u!=="UTF16LE"&&d===1,m=0;m<a.length;m+=1){for(h=a.charCodeAt(m),T===!0&&(S=255&h,h=S<<8|h>>>8),_=C+R,E=_>>>2;x.length<=E;)x.push(0);x[E]|=h<<8*(w+d*(_%4)),C+=2}return{value:x,binLen:8*C+f}})(n,t,i,o,r)};case"B64":return function(n,i,o){return(function(a,u,l,f){let d,h,p,m,S,E,_,w=0;const T=u||[0],C=(l=l||0)>>>3,x=f===-1?3:0,R=a.indexOf("=");if(a.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(a=a.replace(/=/g,""),R!==-1&&R<a.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<a.length;h+=4){for(S=a.substr(h,4),m=0,p=0;p<S.length;p+=1)d=Dne.indexOf(S.charAt(p)),m|=d<<18-6*p;for(p=0;p<S.length-1;p+=1){for(_=w+C,E=_>>>2;T.length<=E;)T.push(0);T[E]|=(m>>>16-8*p&255)<<8*(x+f*(_%4)),w+=1}}return{value:T,binLen:8*w+l}})(n,i,o,r)};case"BYTES":return function(n,i,o){return(function(a,u,l,f){let d,h,p,m;const S=u||[0],E=(l=l||0)>>>3,_=f===-1?3:0;for(h=0;h<a.length;h+=1)d=a.charCodeAt(h),m=h+E,p=m>>>2,S.length<=p&&S.push(0),S[p]|=d<<8*(_+f*(m%4));return{value:S,binLen:8*a.length+l}})(n,i,o,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,i,o){return(function(a,u,l,f){return NY(new Uint8Array(a),u,l,f)})(n,i,o,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,i,o){return NY(n,i,o,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function MY(e,t,r,n){switch(e){case"HEX":return function(i){return(function(o,a,u,l){let f,d,h="";const p=a/8,m=u===-1?3:0;for(f=0;f<p;f+=1)d=o[f>>>2]>>>8*(m+u*(f%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return l.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(o,a,u,l){let f,d,h,p,m,S="";const E=a/8,_=u===-1?3:0;for(f=0;f<E;f+=3)for(p=f+1<E?o[f+1>>>2]:0,m=f+2<E?o[f+2>>>2]:0,h=(o[f>>>2]>>>8*(_+u*(f%4))&255)<<16|(p>>>8*(_+u*((f+1)%4))&255)<<8|m>>>8*(_+u*((f+2)%4))&255,d=0;d<4;d+=1)S+=8*f+6*d<=a?Dne.charAt(h>>>6*(3-d)&63):l.b64Pad;return S})(i,t,r,n)};case"BYTES":return function(i){return(function(o,a,u){let l,f,d="";const h=a/8,p=u===-1?3:0;for(l=0;l<h;l+=1)f=o[l>>>2]>>>8*(p+u*(l%4))&255,d+=String.fromCharCode(f);return d})(i,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(i){return(function(o,a,u){let l;const f=a/8,d=new ArrayBuffer(f),h=new Uint8Array(d),p=u===-1?3:0;for(l=0;l<f;l+=1)h[l]=o[l>>>2]>>>8*(p+u*(l%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(o,a,u){let l;const f=a/8,d=u===-1?3:0,h=new Uint8Array(f);for(l=0;l<f;l+=1)h[l]=o[l>>>2]>>>8*(d+u*(l%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function $Y(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 df(e,t){return e<<t|e>>>32-t}function FY(e,t,r){return e^t^r}function aDe(e,t,r){return e&t^e&r^t&r}function Jd(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function $v(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 oDe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Lne(e,t){let r,n,i,o,a,u,l;const f=[];for(r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],l=0;l<80;l+=1)f[l]=l<16?e[l]:df(f[l-3]^f[l-8]^f[l-14]^f[l-16],1),u=l<20?$v(df(r,5),(d=n)&i^~d&o,a,1518500249,f[l]):l<40?$v(df(r,5),FY(n,i,o),a,1859775393,f[l]):l<60?$v(df(r,5),aDe(n,i,o),a,2400959708,f[l]):$v(df(r,5),FY(n,i,o),a,3395469782,f[l]),a=o,o=i,i=df(n,30),n=r,r=u;var d;return t[0]=Jd(r,t[0]),t[1]=Jd(n,t[1]),t[2]=Jd(i,t[2]),t[3]=Jd(o,t[3]),t[4]=Jd(a,t[4]),t}function sDe(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=Lne(e.slice(i,i+16),n);return n}class uDe extends class{constructor(t,r,n){const i=n||{};if(this.t=r,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=t,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(t){let r,n=0;const i=this.U>>>5,o=this.T(t,this.o,this.h),a=o.binLen,u=o.value,l=a>>>5;for(r=0;r<l;r+=i)n+this.U<=a&&(this.F=this.m(u.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=u.slice(n>>>5),this.h=a%this.U,this.u=!0}getHash(t,r){let n,i,o=this.g;const a=$Y(r);if(this.B){if(a.outputLen===-1)throw new Error("Output length must be specified in options");o=a.outputLen}const u=MY(t,o,this.v,a);if(this.A&&this.Y)return u(this.Y(a));for(i=this.H(this.o.slice(),this.h,this.l,this.C(this.F),o),n=1;n<this.numRounds;n+=1)this.B&&o%32!=0&&(i[i.length-1]&=16777215>>>24-o%32),i=this.H(i,o,0,this.I(this.s),o);return u(i)}setHMACKey(t,r,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const i=bx(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=$Y(r);return MY(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=bx(this.t,this.i,this.v),this.m=Lne,this.C=function(o){return o.slice()},this.I=oDe,this.H=sDe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(o,a,u,l){const f=o+" must include a value and format";if(!a)throw new Error(f);if(a.value===void 0||!a.format)throw new Error(f);return bx(a.format,a.encoding||"UTF8",u)(a.value)})("hmacKey",i.hmacKey,this.v))}}var du=(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))(du||{});const lDe={systemName:du.CvApSoutheast1},cDe={systemName:du.CvApSoutheast2},fDe={systemName:du.CvEuWest1},dDe={systemName:du.CvNaWest1},hDe={CvApSoutheast1:lDe,CvApSoutheast2:cDe,CvEuWest1:fDe,CvNaWest1:dDe},jY="r",_y="cv:r",Ey="cv:r:e",Fv="referrer",UY="cv:originalReferrer",RC=28800,qY=["internalReferrer"],Nne={getDecodedAttributionData(){const e=Vi.cacheGet(_y);if(e&&Object.keys(e).length>0)return e;const t=BY();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=Vi.cacheGet(Ey);return e!=null&&e.length?e:BY().encoded},getProfileId(){const e=Nne.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function BY(){const e=Vi.cacheGet(_y),t=Vi.cacheGet(Ey);return lP(e)?{encoded:t,decoded:e}:pDe()}function pDe(){Vi.cacheRemove(_y),Vi.cacheRemove(Ey);const e=gDe(),t=mDe(e);if(t)return VY(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:vDe()},n=yDe(r);return VY(n,r),{decoded:r,encoded:n}}function lP(e){return!e||typeof e!="object"||Object.keys(e).length<qY.length?!1:qY.every(t=>typeof e[t]=="string")}function vDe(){const e=Vi.cacheGet(UY);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(Fv)&&r.get(Fv);r.has(Fv)&&r.get(Fv)&&(t=n)}return t&&Vi.cacheSet(UY,t,RC),t}function gDe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(jY))return e.get(jY)}function mDe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!lP(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 yDe(e){if(lP(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function VY(e,t){try{Vi.cacheSet(_y,t,RC),Vi.cacheSet(Ey,e,RC)}catch{console.error("Could not store attribution data in session storage")}}const HY=3,_De=5e3,EDe=6,Tx={};class SDe{constructor(t){this.key=t.toString()}getCount(){return Tx[this.key]||0}increment(){Tx[this.key]=this.getCount()+1}reset(){delete Tx[this.key]}shouldBreak(){return this.getCount()>=EDe}}class wDe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,_De*Math.pow(2,this.attempt))),this.attempt++}}async function bDe(e,t){const r=new wDe,n=new SDe(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<=HY;o++)try{return await i()}catch(a){if(o>=HY||n.shouldBreak())throw a;n.increment(),await r.wait()}}var jv,TDe=new Uint8Array(16);function ADe(){if(!jv&&(jv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!jv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jv(TDe)}const RDe=/^(?:[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 cP(e){return typeof e=="string"&&RDe.test(e)}var ta=[];for(var Ax=0;Ax<256;++Ax)ta.push((Ax+256).toString(16).substr(1));function xDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(ta[e[t+0]]+ta[e[t+1]]+ta[e[t+2]]+ta[e[t+3]]+"-"+ta[e[t+4]]+ta[e[t+5]]+"-"+ta[e[t+6]]+ta[e[t+7]]+"-"+ta[e[t+8]]+ta[e[t+9]]+"-"+ta[e[t+10]]+ta[e[t+11]]+ta[e[t+12]]+ta[e[t+13]]+ta[e[t+14]]+ta[e[t+15]]).toLowerCase();if(!cP(r))throw TypeError("Stringified UUID is invalid");return r}function CDe(e,t,r){e=e||{};var n=e.random||(e.rng||ADe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,xDe(n)}function ODe(e){if(!cP(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const zY="cv:session:",WY="cv:window:",IDe=new Date(864e13).getTime(),GY=18e5,PDe=4;function Mne(e){if(e===ms.LocalStorage)return Vi.isAvailable()?Vi:NK;if(e===ms.SessionStorage)return $g.isAvailable()?$g:NK}function KY(e){return e===!1?IDe:new Date().getTime()+e}function kDe(){return CDe()}function DDe(e){return e?new Date().getTime()>e:!1}function LDe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!cP(e.id)||ODe(e.id)!==PDe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function YY(e,t,r){const n=Mne(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function XY(e,t,r,n){const i=Mne(r),o=e+(t||"0"),a=i.get(o);if(!LDe(a)||DDe(a==null?void 0:a.ttl)){const l={id:kDe(),ttl:KY(n)};return i.set(o,l),l.id}const u={id:a.id,ttl:KY(n)};return i.set(o,u),a.id}let Rx=!1;const QY={getClientSessionData(e){const t=XY(zY,e,ms.LocalStorage,GY),r=XY(WY,e,ms.SessionStorage,Rx?!1:GY);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){YY(zY,e,ms.LocalStorage),YY(WY,e,ms.SessionStorage)},lockWindowSession(){Rx=!0},unlockWindowSession(){Rx=!1}},Kl={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},Zr={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},su="Unknown";function hf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=su),{name:e,version:i}}function Ll(e,t,r){if(!t)return{name:e,version:su};const n=t.exec(r),i=n&&n.length?n[0].trim():su;return{name:e,version:i}}function NDe(e,t){const r={name:e,version:null};return Zr.win2000.test(t)&&(r.version="2000"),Zr.winXP.test(t)&&(r.version="XP"),Zr.winVista.test(t)&&(r.version="Vista"),Zr.win7.test(t)&&(r.version="7"),Zr.win8.test(t)&&(r.version="8"),Zr.win81.test(t)&&(r.version="8.1"),Zr.win10.test(t)&&(r.version="10"),r.version||(r.version=su),r}const JY={getDeviceType(){const e=window.navigator.userAgent;return Zr.mobileDevice.test(e)?Zr.iphone.test(e)?"iPhone":Zr.ipad.test(e)?"iPad":Zr.android.test(e)?"Android":Zr.blackberry.test(e)?"Blackberry":Zr.windowsPhone.test(e)?"Windows Phone":su:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return Zr.android.test(e)?Ll("Android",Zr.androidVersion,e):Zr.iphone.test(e)||Zr.ipad.test(e)?Ll("iOS",Zr.iosVersion,e):Zr.linux.test(e)?Ll("Linux",null,e):Zr.unix.test(e)?Ll("Unix",null,e):Zr.mac.test(e)?Ll("Macintosh",Zr.osxVersion,e):Zr.windows.test(e)?NDe("Windows",e):Zr.blackberry.test(e)?Ll("BlackBerry",Zr.blackberryVersion,e):Zr.windowsPhone.test(e)?Ll("Windows Phone",Zr.windowsPhoneVersion,e):{name:su,version:su}},getBrowser(){const e=window.navigator.userAgent;return Zr.chrome.test(e)?hf("Chrome",Zr.generalVersion,e):Zr.firefox.test(e)?hf("Firefox",Zr.generalVersion,e):Zr.safari.test(e)?hf("Safari",Zr.generalVersion,e):Zr.ie.test(e)?hf("Internet Explorer",Zr.ieVersion,e):Zr.edge.test(e)?hf("Edge",Zr.edgeVersion,e):Zr.opera.test(e)?hf("Opera",Zr.operaVersion,e):{name:su,version:su}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},MDe=28800,ZY="cv:utmparams",xC=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],$De=xC.reduce((e,[t])=>({...e,[t]:t}),{}),$ne={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 xC.forEach(r),eX(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{$De[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),eX(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=$ne.getUtmParameters();return t?(xC.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function eX(e){if(Object.keys(e).length)return Vi.cacheSet(ZY,e,MDe),e;const t=Vi.cacheGet(ZY);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const FDe="2.3.0",jDe={version:FDe},UDe="zXJL9nOHxzDlMUDjiP41",tX="unknown";class qDe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=$ne.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=Nne.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(!Kl.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Kl.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=AC.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(o=AC.safeUrlConcat(o,"/bulk"));try{const a=await bDe(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 uDe("SHA-1","TEXT",{hmacKey:{value:UDe,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 du.CvEuWest1:return t.cvEuWest1;case du.CvApSoutheast2:return t.cvApSoutheast2;case du.CvNaWest1:return t.cvNaWest1;case du.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Kl.isObject(t.actionContext)||this.logError(new Error("Event actionContext is required."),!0),t.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}async formatData(t){return{type:t.type,data:await this.getEventData(t),metadata:this.getEventMetadata(t)}}async getEventData(t){const r=t.actionContext,n=this.getPlatformMetadata(),i=await this.getUserData(),o=await this.getSessionData(),a={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(a.variant=this.options.productVariant);const u={user:i,action:r,platform:n,product:a,session:o};this.utmParameters&&(u.utm=this.utmParameters);const l=this.extractData(t),f=Object.keys(u).map(h=>h.toLowerCase()),d=Object.keys(l).map(h=>h.toLowerCase());return f.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...u,...l}}extractData(t){return Kl.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())||tX,userGroup:(o.userGroup??ote.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{...QY.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),QY.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:JY.getBrowser(),os:JY.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:jDe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(hDe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):tX}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Bg=class Bg extends lo{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Bg.type}};Bg.type="BaseAnalyticsClient";let CC=Bg;class BDe extends CC{get name(){return"DebuggerClient"}shouldLog(){return Hm.isDevelopment}log(t){const r=sZ(t);for(const n in t){const i=r[n];(i instanceof gu||i instanceof Vm)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const Qr={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)/},uu="Unknown";function pf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=uu),{browser:e,version:i}}function Nl(e,t,r){if(!t)return{os:e,version:uu};const n=t.exec(r),i=n&&n.length?n[0].trim():uu;return{os:e,version:i}}function VDe(e,t){const r={os:e};return Qr.win2000.test(t)&&(r.version="2000"),Qr.winXP.test(t)&&(r.version="XP"),Qr.winVista.test(t)&&(r.version="Vista"),Qr.win7.test(t)&&(r.version="7"),Qr.win8.test(t)&&(r.version="8"),Qr.win81.test(t)&&(r.version="8.1"),Qr.win10.test(t)&&(r.version="10"),r.version||(r.version=uu),r}const mh={getDeviceType(){const e=window.navigator.userAgent;return Qr.mobileDevice.test(e)?Qr.iphone.test(e)?"iPhone":Qr.ipad.test(e)?"iPad":Qr.android.test(e)?"Android":Qr.blackberry.test(e)?"Blackberry":Qr.windowsPhone.test(e)?"Windows Phone":uu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return Qr.android.test(e)?Nl("Android",Qr.androidVersion,e):Qr.iphone.test(e)||Qr.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Nl("iOS",Qr.iosVersion,e):Qr.linux.test(e)?Nl("Linux",null,e):Qr.unix.test(e)?Nl("Unix",null,e):Qr.mac.test(e)?Nl("Macintosh",Qr.osxVersion,e):Qr.windows.test(e)?VDe("Windows",e):Qr.blackberry.test(e)?Nl("BlackBerry",Qr.blackberryVersion,e):Qr.windowsPhone.test(e)?Nl("Windows Phone",Qr.windowsPhoneVersion,e):{os:uu,version:uu}},getBrowser(){const e=window.navigator.userAgent;return Qr.chrome.test(e)?pf("Chrome",Qr.generalVersion,e):Qr.firefox.test(e)?pf("Firefox",Qr.generalVersion,e):Qr.safari.test(e)?pf("Safari",Qr.generalVersion,e):Qr.ie.test(e)?pf("Internet Explorer",Qr.ieVersion,e):Qr.edge.test(e)?pf("Edge",Qr.edgeVersion,e):Qr.opera.test(e)?pf("Opera",Qr.operaVersion,e):{browser:uu,version:uu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return mh.isTouchScreen()?Qr.tablet.test(navigator.userAgent)||Qr.mobile.test(navigator.userAgent):!1},isAndroid(){return mh.getOperatingSystem().os==="Android"},isIOS(){return mh.getOperatingSystem().os==="iOS"}},Vg=class Vg extends lo{enrich(t,r){}isType(t){return t===Vg.type}};Vg.type="BaseAnalyticsEnricher";let OC=Vg;class HDe extends OC{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 el.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Nn.GetCurrentReferrer(),requestUrl:Nn.GetCurrentUrl()}}getClientInfo(){const t=mh.getOperatingSystem(),r=mh.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 zDe extends Ac{}class WDe extends zDe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(Rf.Outlet,t)}subscribe(t){const r=t,n=i=>{Ro.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};en(r.listenTo)?r.listenTo(this.getChannel(),Rf.Outlet,n):this.listenTo(this.getChannel(),Rf.Outlet,n)}}const yi={passthrough(e){return e}},vr={allow:()=>!0,restrict:()=>!1},GDe={getShareData(e){var u,l,f,d;const{id:t,search:r,pagePositionIndex:n,shareId:i,shareType:o}=e,a={id:t,search:r,pagePositionIndex:n,shareId:i,shareType:o};return(u=e.video)!=null&&u.id&&(a.video={id:e.video.id}),(l=e.clip)!=null&&l.id&&(a.clip={id:e.clip.id},(f=e.clip.video)!=null&&f.id&&(a.video={id:(d=e.clip.video)==null?void 0:d.id})),e.shareCount!==void 0&&(a.shareCount=e.shareCount),e.embedDetails&&(a.embedDetails=a.embedDetails),a}},_f={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===On.Video)return _f.formatVideoUpload(e,t);if(r===On.Resource||r===On.Subtitle)return _f.formatResourceUpload(e);if(r===On.Banner||r===On.Thumbnail||r===On.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Zu.Start)return _f.getStartVideoUploadData(e);if(r===Zu.Discard)return _f.getDiscardVideoUploadData(e);if(r===Zu.Complete)return _f.getCompleteUploadData(e)},getStartVideoUploadData(e){return!e||!e.length?[]:(e instanceof FileList&&(e=Array.from(e)),e.map(t=>({fileName:t.name,size:t.size,type:t.type,count:e.length})))},getDiscardVideoUploadData(e){const t=r=>{const{type:n,name:i,status:o,cvUpload:a}=r.file,u={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:o};return r.progress&&(u.progress=r.progress.toFixed(2)),a&&(u.uploadId=a.uploadId),u};return Array.isArray(e)?e.map(r=>t(r)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{const{fileName:r,libraryId:n,folderId:i,autoCaption:o}=t;return{fileName:r,libraryId:n,folderId:i,autoCaption:o,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Kl.isObject(e.metadata)&&(n.type=e.metadata.type),n}},KDe={[Ft.Navigate]:vr.restrict,[Ft.Click]:vr.allow,[Ft.Search]:vr.allow,[Ft.InstantSearch]:vr.allow,[Ft.Play]:vr.allow,[Ft.Stream]:vr.allow,[Ft.WebPlayerStream]:vr.allow,[Ft.StreamProgress]:vr.allow,[Ft.Rename]:vr.allow,[Ft.Move]:vr.allow,[Ft.Create]:vr.allow,[Ft.Delete]:vr.allow,[Ft.Associate]:vr.allow,[Ft.Dissociate]:vr.allow,[Ft.Filter]:vr.allow,[Ft.Sort]:vr.allow,[Ft.Approve]:vr.allow,[Ft.Reject]:vr.allow,[Ft.Disable]:vr.allow,[Ft.Upload]:vr.allow,[Ft.Download]:vr.allow,[Ft.SetAccess]:vr.allow,[Ft.AddToLocalCache]:vr.restrict,[Ft.Share]:vr.allow,[Ft.Unshare]:vr.allow,[Ft.Edit]:vr.allow,[Ft.Suggest]:vr.allow,[Ft.Favourite]:vr.allow,[Ft.WorkspaceAdd]:vr.allow,[Ft.ResolveWarning]:vr.allow,[Ft.DismissWarning]:vr.allow,[Ft.EditAssoc]:vr.allow,[Ft.Follow]:vr.allow,[Ft.Print]:vr.allow,[Ft.Copy]:vr.allow,[Ft.Activate]:vr.allow,[Ft.VerifyEmail]:vr.allow,[Ft.ChangePassword]:vr.allow,[Ft.Export]:vr.allow,[Ft.SendEmail]:vr.allow,[Ft.Publish]:vr.allow,[Ft.Submit]:vr.allow,[Ft.Complete]:vr.allow,[Ft.Archive]:vr.allow,[Ft.Promote]:vr.allow,[Ft.Demote]:vr.allow,[Ft.BulkAction]:vr.allow,[Ft.Remove]:vr.allow,[Ft.Dismiss]:vr.allow,[Ft.Open]:vr.allow,[Ft.Hide]:vr.allow,[Ft.PageView]:vr.allow,[Ft.Select]:vr.allow,[Ft.SwitchCustomer]:vr.allow,[Ft.Focus]:vr.allow,[Ft.Blur]:vr.allow,[Ft.Hover]:vr.allow,[Ft.Unhover]:vr.allow},YDe={[Ft.Search]:yi.passthrough,[Ft.InstantSearch]:yi.passthrough,[Ft.Play]:yi.passthrough,[Ft.Stream]:yi.passthrough,[Ft.StreamProgress]:yi.passthrough,[Ft.Click]:yi.passthrough,[Ft.Filter]:yi.passthrough,[Ft.Sort]:yi.passthrough,[Ft.SetAccess]:yi.passthrough,[Ft.Approve]:yi.passthrough,[Ft.Reject]:yi.passthrough,[Ft.Create]:yi.passthrough,[Ft.Delete]:yi.passthrough,[Ft.Rename]:yi.passthrough,[Ft.Move]:yi.passthrough,[Ft.Edit]:yi.passthrough,[Ft.Share]:GDe.getShareData,[Ft.Disable]:yi.passthrough,[Ft.Suggest]:yi.passthrough,[Ft.Upload]:_f.getUploadData,[Ft.ResolveWarning]:yi.passthrough,[Ft.DismissWarning]:yi.passthrough,[Ft.Follow]:yi.passthrough,[Ft.Print]:yi.passthrough,[Ft.Copy]:yi.passthrough},rX={[Ft.Search]:()=>"search",[Ft.InstantSearch]:()=>"search",[Ft.Filter]:()=>"filter",[Ft.Stream]:()=>On.Video},nX={user:"target_user",product:"target_product"},XDe={[Ft.StreamProgress]:!0,[Ft.WebPlayerStream]:!0},iX={shouldLog(e){return!!KDe[e.type](e)},formatData(e){const t=YDe[e.type],r=Kl.isFunction(t)?t(e.data,e):e.data;if(XDe[e.type])return r;let n=e.actionContext.entity;return Kl.isFunction(rX[e.type])&&(n=rX[e.type](e)),nX[n]&&(n=nX[n]),{[n]:r}}},QDe="staff";async function JDe(e){try{return await no(e.store,ja.accessPolicy())}catch{return null}}const Fne={async getUser(e){const t=await no(e.store,ja.currentUser());if(!t.isAuthenticated)return null;const r=no(e.store,xne.customer(t.customerId)),n=no(e.store,ja.user(t.id)),i=JDe(e);return Fne.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var o;const i=Ul.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===wf.Staff?QDe:(o=t==null?void 0:t.masterYearGroup)==null?void 0:o.name,accessPolicy:n==null?void 0:n.id}}},ZDe={logError(e,...t){var r;Ro.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&Ro.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function eLe(e,t){const[r,n]=await Promise.all([no(e.store,ja.currentUser()),no(e.store,ol.config())]),i=no(e.store,ol.version()),o=new iDe({user:r,config:n});cu.registerSingleton(o),o.registerTransport(WDe),o.registerClient(BDe);const a=await i;o.registerClient(qDe,{productName:"exchange.web",productVersion:a,regionName:r.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>Fne.getUser(e),shouldLog:iX.shouldLog,formatData:iX.formatData,logError:ZDe.logError,logUtmParameters:!0}),o.registerEnricher(HDe,{productName:"ClickView Exchange",productVersion:a}),t(e)}async function tLe(e,t){try{const r=await no(e.store,ol.config());TC.initialize({product:So.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const aX={locale(){return{url:"/api/locale",key:"locale",bootstrapName:Jl.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:Jl.PHRASES}}};async function rLe(e,t){let r;try{r=no(e.store,aX.phrases());const n=no(e.store,aX.locale());Gr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}class nLe extends lo{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return Ug.Fifo}removeCacheKey(t){this.cachedkeys=qx(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&hr.throw(new wn("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=UZ(this.cachedkeys,this.cachedkeys);let o=[];aa(t,a=>{i[a]&&o.push(a);const u=new RegExp(a,"i"),l=nc(i,f=>u.test(f));o.push(...l)}),o.length&&(o=bh(o),aa(o,a=>{delete this.cache[a],en(r)&&r(a)}),this.cachedkeys=qx(this.cachedkeys,...o)),!(!this.store||!n)&&this.store.dispatch({type:La.INVALIDATE,keys:t})}}function iLe(e,t){cu.registerInstance(nLe,{size:100}),t(e)}var ql=(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))(ql||{});const aLe={type:ql.Unknown,message:"",code:0},oLe={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 sLe extends Ac{constructor(t){super(t),Ls.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 qg.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=ra.GET);const o=it.defaults(i,{forceHttps:!1}),a={url:t,method:n,type:n};r&&(a.data=n===ra.POST||n===ra.PUT?JSON.stringify(r):r),o.forceHttps&&(a.url=this.makeHttps(a.url)),o.traditional&&(a.traditional=o.traditional);const u=Ls.ajax(a);return it.keys(this.successMiddleware).length&&u.done(it.values(this.successMiddleware)),it.keys(this.errorMiddleware).length&&u.fail(it.values(this.errorMiddleware)),u}create(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,ra.POST).done((u,l,f)=>i.trigger(o,u,l,f)).fail((u,l,f)=>i.trigger(a,u,l,f))}read(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,ra.GET).done((a,u,l)=>{n.trigger(i,a,u,l)}).fail((a,u,l)=>{n.trigger(o,a,u,l)})}update(t,r,n){const{channel:i,successEvent:o,errorEvent:a}=n;this.base(t,r,ra.PUT).done((u,l,f)=>i.trigger(o,u,l,f)).fail((u,l,f)=>i.trigger(a,u,l,f))}delete(t,r){const{channel:n,successEvent:i,errorEvent:o}=r;this.base(t,null,ra.DELETE).done((a,u,l)=>n.trigger(i,a,u,l)).fail((a,u,l)=>n.trigger(o,a,u,l))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=aLe;switch(n.code=t.status,n.message=oLe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=ql.BadRequest;break;case 401:n.type=ql.Unauthorized;break;case 403:n.type=ql.Forbidden;break;case 404:n.type=ql.NotFound;break;case 500:n.type=ql.InternalServer;break}return n}}function uLe(e,t){cu.registerSingleton(new sLe({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}const fP=new Oye({region:"#app",layoutService:new xye({})});fP.addInitializationStep(NPe).addInitializationStep(iLe).addInitializationStep(uLe).addInitializationStep(rDe).addInitializationStep(rLe).addInitializationStep(Rke).addInitializationStep(eLe).addInitializationStep(WAe).addInitializationStep(MAe).addInitializationStep(tLe);fP.addStartUpStep(MPe);fP.start();export{vIe as $,Ti as A,al as B,AI as C,Pc as D,Nre as E,Ro as F,Ul as G,ra as H,xf as I,cy as J,wf as K,Gr as L,Mre as M,HIe as N,vre as O,Vre as P,MIe as Q,kr as R,LY as S,TG as T,ys as U,Cc as V,K0e as W,js as X,Tne as Y,Pye as Z,ff as _,wo as a,Hx as a$,dLe as a0,Ea as a1,xne as a2,ja as a3,So as a4,tRe as a5,Nr as a6,ih as a7,GI as a8,Fa as a9,ol as aA,ay as aB,mh as aC,wn as aD,hLe as aE,d0e as aF,AC as aG,EY as aH,nP as aI,o1e as aJ,uEe as aK,zI as aL,pn as aM,$l as aN,gs as aO,p0e as aP,Ane as aQ,JO as aR,Ene as aS,Eo as aT,Fl as aU,WIe as aV,wPe as aW,Rne as aX,l0e as aY,$0e as aZ,F0e as a_,Zu as aa,Sa as ab,On as ac,Ft as ad,Nn as ae,$re as af,fu as ag,fLe as ah,wIe as ai,ks as aj,yAe as ak,MK as al,ps as am,my as an,xo as ao,Qu as ap,Vi as aq,iu as ar,ite as as,Xl as at,_te as au,v0e as av,ELe as aw,$Ie as ax,el as ay,QEe as az,Ii as b,Tee as b$,Mee as b0,qee as b1,cLe as b2,Th as b3,ate as b4,QY as b5,qDe as b6,iX as b7,f0e as b8,Zx as b9,nx as bA,pre as bB,to as bC,lh as bD,br as bE,QAe as bF,eRe as bG,mC as bH,ZAe as bI,TC as bJ,bIe as bK,TIe as bL,mLe as bM,nEe as bN,f_e as bO,ld as bP,h_e as bQ,See as bR,iEe as bS,W_e as bT,ap as bU,ud as bV,eEe as bW,aI as bX,Gm as bY,b_e as bZ,uI as b_,wI as ba,oke as bb,c0e as bc,h0e as bd,Eae as be,$ce as bf,hae as bg,tm as bh,yse as bi,zse as bj,Kse as bk,vQ as bl,kce as bm,Fce as bn,Iae as bo,moe as bp,aO as bq,ale as br,fle as bs,Bm as bt,Kx as bu,kee as bv,g0e as bw,fC as bx,NI as by,du as bz,ic as c,mee as c0,L_e as c1,hee as c2,x_e as c3,o_e as c4,Eee as c5,v_e as c6,op as c7,oEe as c8,X_e as c9,aEe as ca,yee as cb,rEe as cc,_i as cd,hke as ce,_Le as cf,yLe as cg,cu as ch,$Ae as ci,ty as cj,ms as ck,Tf as cl,ny as cm,Mf as cn,nte as co,vn as d,awe as e,tn as f,gte as g,L0e as h,Ch as i,de as j,xh as k,mAe as l,SLe as m,yy as n,yp as o,ZDe as p,hr as q,ye as r,Dv as s,Yo as t,bne as u,Jx as v,Zl as w,Hn as x,Vr as y,Dh as z};
|
|
215
|
-
//# sourceMappingURL=app-CSgTTsBh.js.map
|